Commit Graph

524 Commits

Author SHA1 Message Date
Ingo Weinhold
6ff2656c03 * We now use libdebug.so, which saves us a couple lines of code.
* Print the debugger message in case the debugged team called debugger(),
  and the description of an occurred exception respectively.
* Properly keep gdb's internal thread list up to date. This fixes the
  problem that an attached debugger always resumed all threads of the
  debugged team.
* A bit of cleanup of the attaching code.

Discovered an ugly bug: When invoking gdb with an executable -- regardless
of whether attaching gdb to a running process or just starting a debugger
session with the executable -- the executable is modified. I tested with
"crashing_app" and in the second debug session gdb fails to read the debug
info from the file and encounters a weird error when closing the file:
"No space left on device." I have the suspicion that this is another bug
in Axel's VM/file cache pet. :-P



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13775 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 23:29:04 +00:00
Ingo Weinhold
a52d8b3391 Made the debug output more robust.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13773 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 23:12:04 +00:00
Ingo Weinhold
0c87981e3b We now also relocate the executable file in the current_sos() hook. Other
implementations (e.g. SVR4) don't do that, but I don't see how it could
work otherwise. Maybe other systems place the executable's code exactly
where specified in the executable and hence noone ever noticed...

Anyway, this makes stack traces (and probably other things that were broken
before) work with an attached gdb.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13762 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 10:48:57 +00:00
Ingo Weinhold
2ee6ee5b8c Added TODO.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13761 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-19 10:40:23 +00:00
Ingo Weinhold
2fd4a0411b Added a boolean "synchronous" parameter to BRoster::Shutdown(). Used in the
Deskbar to initiate the shutdown process asynchronously. Couldn't test it,
because opening the Be menu doesn't work:
***PANIC: BW: Can't find view with ID: 19 !***



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13722 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-17 16:37:11 +00:00
Alexander G.M. Smith
36fa547a10 Updated keyword expansion to use SVN keywords. Also seeing if
svn is working well enough for me to update files from BeOS R5.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13628 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-11 00:11:29 +00:00
Ingo Weinhold
a13df0dc01 Added a "confirm" parameter to BRoster::Shutdown() which causes the registrar
to ask the user to confirm shutting down the system.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13563 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-09 20:23:28 +00:00
Jérôme Duval
f86c9cb7e8 comment out a warning
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13562 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-09 09:55:13 +00:00
Jérôme Duval
b1c123994c Updated to tzcode2005j.tar.gz
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13561 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-08 23:49:29 +00:00
Ingo Weinhold
83291b44d0 Forget to check in this one. Sorry. shutdown should build again now.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13425 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-04 20:39:40 +00:00
Ingo Weinhold
925d069d23 * Added BRoster::ShutDown().
* Adjusted the shutdown command to use BRoster::ShutDown(). Removed
  the alert.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13416 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-07-03 17:04:47 +00:00
Axel Dörfler
9b030c1d2d Looks like I'm on a run: forgot to commit Jamfile :/
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13357 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-29 23:05:05 +00:00
Axel Dörfler
d2f968ec96 Fixed build of ideinfo, moved it into its own subdirectory.
Minor cleanup.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13349 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-29 15:14:08 +00:00
Jérôme Duval
c2c408999a clean up
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13121 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 17:57:20 +00:00
Axel Dörfler
494301a5aa Minor cleanup, fixed warnings.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13115 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-14 13:27:26 +00:00
Jérôme Duval
c931a5f892 added man docs
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13107 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 23:44:27 +00:00
Jérôme Duval
e283d78ca9 added groups
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13105 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 23:33:44 +00:00
Jérôme Duval
431b9b0e18 Depends => LocalDepends : avoids dependency on files
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 23:00:48 +00:00
Jérôme Duval
2117393a53 commented out non provided tools (could change in the future though)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13085 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-13 09:37:49 +00:00
Jérôme Duval
52c423baef coreutils man documentation
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@13008 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-06-08 10:00:31 +00:00
Marcus Overhagen
77c5f33de1 first iteration, 16bit stereo 44.1kHz wav files only
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12908 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-30 22:15:16 +00:00
Axel Dörfler
96cfeb706a Now prints "<unknown>" as the name of unrecognized file/partitioning systems.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12852 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-26 20:13:33 +00:00
Axel Dörfler
b674940baa No longer shows "<unnamed>" for partitioning systems that have no name.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12851 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-26 19:58:36 +00:00
Stefano Ceccherini
2a7798ca69 Fix unzip's build after byteorder.h removal.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12841 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-26 12:09:17 +00:00
Axel Dörfler
09b83e5cec Removed the obsolete byteorder.h header (it just included ByteOrder.h).
Fixed the remaining references to that header in our repository.
Note, this might break source compatibility - please update your sources :-)
Slightly converted UBS_audio_utils.c to use our style guide while I were at it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12827 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-26 08:12:59 +00:00
Jérôme Duval
c7bc803f52 added chapter file dependency, this chapter file could eventually be generated
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12666 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-15 01:41:54 +00:00
Jérôme Duval
86e9bb7a5f added a coreutils chapter
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12659 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-13 15:46:15 +00:00
Jérôme Duval
57ce68cc52 added man pages from 5.3
added Jamfile for man2doc


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12656 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-13 15:41:51 +00:00
Jérôme Duval
da95c7c14b added rmd160 checksum tool from http://www.nic.com/~cheah/rmd160.tar.gz
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12570 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-04 13:00:00 +00:00
Axel Dörfler
1a802114af Got the Visit() return value wrong: "true" means to abort visiting the
partitions, because the right entry was found - but we always want to
visist all partitions, anyway.
Also, if a partition has not been mounted yet, no mount point will be
printed.
The device string is still missing.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12550 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 02:04:02 +00:00
Axel Dörfler
509676a027 Fixed mountvolume to make it compile and somewhat work (only tested listing volumes yet).
Added it to the build.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12545 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-05-03 00:31:52 +00:00
Stefano Ceccherini
794ca5f2f8 Fixed a small bug. Still I can't unmount anything, though (I always get 'resource busy')
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12515 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-30 05:59:23 +00:00
Axel Dörfler
a38e60f223 Added "-f" option to only show real files.
Some cleanups and minor fixes.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12476 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-26 20:29:30 +00:00
Axel Dörfler
fc26cdb2a8 No longer needed.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12373 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-13 17:14:57 +00:00
Jérôme Duval
20a87f5f9a added uptime
removed sleep as coreutils provides one


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12367 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-13 16:05:03 +00:00
Axel Dörfler
7c71cdd82d Removed the "fixed" configuration - we could have built "less" fine for a couple
of months now. This solves (probably) all those strange problems you might have
experienced using it.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12354 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-13 12:48:34 +00:00
Jérôme Duval
491417146b whoami is provided by coreutils (AFAIK)
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12351 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 18:52:11 +00:00
Axel Dörfler
d67e6bc8a2 Fixed the build of several network apps under R5:
- removed libnetapi.so from $NETWORK_LIBS - it's not used by anyone anyway,
  and it's definitely not necessary to link against it by default.
  Note, this might cause problems in some of the mail add-ons; I haven't
  tested this.
- route/ping/... now also link against $SELECT_UNAME_ETC_LIB

makehdimage should now work again under all BeOS platforms.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12325 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-12 04:22:55 +00:00
Jérôme Duval
3a2b5bfc6d * don't rely on fchdir-stub.c anymore to provide fchdir as we support it
* #undef DEBUG in plib/physmem.c to avoid debug code
* comment out #define mktime rpl_mktime, don't know why it wasn't detected
* now links mv, chown, chgrp, rm, chmod, du, mkdir, pwd against libroot.so for fchdir



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12238 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-04 19:33:37 +00:00
Andrew Bachmann
6e061f37b4 document and support both -h and --help for help
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12224 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-03 00:53:23 +00:00
Andrew Bachmann
1f13471244 support -h in addition to --help for help
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12222 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-04-02 22:18:07 +00:00
Jérôme Duval
a39f4c6365 updated version info
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12194 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-31 15:43:58 +00:00
Jérôme Duval
fcb997860b Updated to coreutils-5.3.0, still including previous patches
Removed m4, po directories
UTF8 filenames don't seem to be displayed well with ls in Terminal


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12192 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-31 15:19:03 +00:00
Axel Dörfler
8e6163ac4d Now uses the B_SAFEMODE_SAFE_MODE definition instead of the string directly.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12184 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-31 11:11:17 +00:00
Ingo Weinhold
ebc1161965 Added gdb's bfd and opcodes libraries and gdb itself to the build.
Everything compiles here, but I couldn't test it yet, since Haiku
doesn't seem to boot properly at the moment.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12104 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:59:01 +00:00
Ingo Weinhold
4184510ecb Jamfile for gdb itself.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12103 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:57:43 +00:00
Ingo Weinhold
f1bb97fc23 Added files generated by configure for x86.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12102 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:57:11 +00:00
Ingo Weinhold
8c9f956b79 Jamfile for gdb's opcodes library.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12101 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:55:55 +00:00
Ingo Weinhold
b33773df35 Generated by configure.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12100 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:55:28 +00:00
Ingo Weinhold
25c32f636c Jamfile for gdb's bfd library.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12099 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:54:45 +00:00
Ingo Weinhold
9231a159cf Added files generated by configure for x86.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12098 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-28 15:54:05 +00:00
Ingo Weinhold
4b72d3d8a8 Renamed gawk's libintl.a target to <gawk>libintl.a and placed it in the
objects/ tree, so that it doesn't clash with others (those should be
fixed, too). gdb is (or will be, as soon as I check it in) using this
version, too.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12081 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-27 20:21:53 +00:00
Ingo Weinhold
61b60efc91 Added gdb's libiberty to the build.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12060 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 23:35:57 +00:00
Ingo Weinhold
f0d5a638b1 Added a config.h (generated by configure). We probably have to check this later again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12059 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 23:35:24 +00:00
Axel Dörfler
db32c595a2 Fixed compilation due to the stdbool.h update.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12037 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 15:33:54 +00:00
Ingo Weinhold
0185b89c0d Added gdb's readline to the build. Some day we should put a readline in
src/libs and build a shared library to be used by all programs that
need it (bash, gdb) instead of letting each have its own copy.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12036 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 15:29:43 +00:00
Ingo Weinhold
bc5b3d1208 Added a config.h (generated by configure).
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12035 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 15:27:28 +00:00
Ingo Weinhold
d6ec927ff1 We don't have <sys/file.h>. It wouldn't harm to add it, though.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12033 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 13:06:05 +00:00
Ingo Weinhold
652f8945c1 Include <sys/types.h>. Forgot what, but something was unknown otherwise.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12032 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 13:05:11 +00:00
Ingo Weinhold
90af425ab1 Added Haiku x86 recognition.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12031 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 13:03:43 +00:00
Ingo Weinhold
9dcad89a9b TCP_NODELAY is not defined in Haiku networking headers yet.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12030 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 13:02:55 +00:00
Ingo Weinhold
055b5b93a8 Added constant for the Haiku OS ABI.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12029 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 13:00:26 +00:00
Ingo Weinhold
d92911c6c3 Shared object support for Haiku. Currently only working as part of a native debugger.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12028 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 12:58:22 +00:00
Ingo Weinhold
ffe68e41fb Generic and i386 specific Haiku native and target debugger support.
The target debugger won't work though, since quite a bit of code
would need to be moved from the native support files to those for
the target support. But that's not that important at the moment, since
we're mainly want a native debugger.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12027 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 12:57:07 +00:00
Ingo Weinhold
4292001718 The include files for generic and i386 specific Haiku support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12026 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 12:50:23 +00:00
Ingo Weinhold
36a69705b5 Haiku make support.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12025 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 12:47:48 +00:00
Ingo Weinhold
f4b0b0925d Haiku support for configure.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12024 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 12:46:29 +00:00
Ingo Weinhold
edbfa39b73 Copied gdb 6.3 to the main trunk.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12023 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-26 11:06:23 +00:00
Michael Lotz
b8dcc94ceb The Haiku roster has a different signature. It still does not work, but does not fail either.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12004 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-25 20:33:23 +00:00
Axel Dörfler
0efd929e4d Now always print its name first when issuing error messages.
fclose() is now actually called.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11949 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-22 02:35:55 +00:00
Axel Dörfler
5680579795 Added two output options: -o redirects output to the specified file,
-S will dump over the serial line (kernel debug output).


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11948 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-22 02:20:41 +00:00
Jérôme Duval
41c243b187 renamed key_map.cpp to main.cpp
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11922 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-20 12:54:11 +00:00
Axel Dörfler
98cf460090 Moved bin/ out of apps/, make it build again.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11910 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-19 00:39:42 +00:00
Axel Dörfler
17049c451a Moved bin/ directory out of apps/.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@11909 a95241bf-73f2-0310-859d-f6bbb57e9c96
2005-03-19 00:09:19 +00:00