Re: Using gdb to step through gdb in os x leopard
site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com On 08 Jul 2009, at 21:42, Aron-Zvi wrote: It works for me with a self-build gdb-908 I still have lying around: Breakpoint 3, main (argc=0, argv=0x0) at gdb.c:31 31 args.argc = argc; (top-gdb) Jonas _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... Either I'm doing something very wrong or there's a bug... I Think I'll try an older version of gdb and see what happens:( firefly:/Data/dev/darwin/10.5/gdb-908/src/gdb jmaebe$ ls -l gdb -rwxr-sr-x 1 jmaebe procmod 3920920 Mar 22 2008 gdb firefly:/Data/dev/darwin/10.5/gdb-908/src/gdb jmaebe$ ./gdb gdb GNU gdb 6.3.50.20050815-cvs (Sat Mar 22 10:18:45 UTC 2008) Copyright 2004 Free Software Foundation, Inc. GDB is free software, covered by the GNU General Public License, and you are welcome to change it and/or distribute copies of it under certain conditions. Type "show copying" to see the conditions. There is absolutely no warranty for GDB. Type "show warranty" for details. This GDB was configured as "--host=i686-apple-darwin9.2.2 -- target="...Reading symbols for shared libraries ........ done Setting up the environment for debugging gdb. During symbol reading, inner block (0x144006-0x1441b4) not inside outer block (0x144006-0x1440a0). Breakpoint 1 at 0x141536: file utils.c, line 932. Breakpoint 2 at 0x8ca4: file cli-cmds.c, line 189. (top-gdb) b main Breakpoint 3 at 0x23e7: file gdb.c, line 31. (top-gdb) r Starting program: /Data/dev/darwin/10.5/gdb-908/src/gdb/gdb Reading symbols for shared libraries +++++++...................... done (this is under Mac OS X 10.5.4 though, haven't updated my laptop in a while) This email sent to site_archiver@lists.apple.com
participants (1)
-
Jonas Maebe