* Does gdb-6.6 support -m64 apps? @ 2007-09-11 19:26 Robert Gries 2007-09-11 19:31 ` Daniel Jacobowitz 2007-09-11 20:12 ` Thiago Jung Bauermann 0 siblings, 2 replies; 8+ messages in thread From: Robert Gries @ 2007-09-11 19:26 UTC (permalink / raw) To: gdb; +Cc: Lou Falek gries@orion-059:/proj/ext3/users/gries/math/gmpbench-0.1$ /proj/ext3/users/gries/math/gdb-6.6/gdb/gdb rsa GNU gdb 6.6 Copyright (C) 2006 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 "powerpc64-unknown-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) r 128 Starting program: /proj/ext3/users/gries/math/gmpbench-0.1/rsa 128 warning: Breakpoint address adjusted from 0x100ab998 to 0x10000180. Program received signal SIGTRAP, Trace/breakpoint trap. 0x100001800002d032 in ?? () ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Does gdb-6.6 support -m64 apps? 2007-09-11 19:26 Does gdb-6.6 support -m64 apps? Robert Gries @ 2007-09-11 19:31 ` Daniel Jacobowitz 2007-09-11 19:35 ` Robert Gries 2007-09-11 20:12 ` Thiago Jung Bauermann 1 sibling, 1 reply; 8+ messages in thread From: Daniel Jacobowitz @ 2007-09-11 19:31 UTC (permalink / raw) To: Robert Gries; +Cc: gdb, Lou Falek It should, but try a CVS snapshot if you're having trouble. -- Daniel Jacobowitz CodeSourcery ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Does gdb-6.6 support -m64 apps? 2007-09-11 19:31 ` Daniel Jacobowitz @ 2007-09-11 19:35 ` Robert Gries 2007-09-11 20:01 ` Daniel Jacobowitz 0 siblings, 1 reply; 8+ messages in thread From: Robert Gries @ 2007-09-11 19:35 UTC (permalink / raw) To: Daniel Jacobowitz; +Cc: gdb, Lou Falek So where do I find a cvs snapshot? Daniel Jacobowitz wrote: >It should, but try a CVS snapshot if you're having trouble. > > > ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Does gdb-6.6 support -m64 apps? 2007-09-11 19:35 ` Robert Gries @ 2007-09-11 20:01 ` Daniel Jacobowitz 0 siblings, 0 replies; 8+ messages in thread From: Daniel Jacobowitz @ 2007-09-11 20:01 UTC (permalink / raw) To: Robert Gries; +Cc: gdb, Lou Falek On Tue, Sep 11, 2007 at 12:33:01PM -0700, Robert Gries wrote: > So where do I find a cvs snapshot? Please see the web site. http://sourceware.org/gdb/current/ -- Daniel Jacobowitz CodeSourcery ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Does gdb-6.6 support -m64 apps? 2007-09-11 19:26 Does gdb-6.6 support -m64 apps? Robert Gries 2007-09-11 19:31 ` Daniel Jacobowitz @ 2007-09-11 20:12 ` Thiago Jung Bauermann 2007-09-11 20:31 ` Robert Gries 2007-09-14 16:50 ` Robert Gries 1 sibling, 2 replies; 8+ messages in thread From: Thiago Jung Bauermann @ 2007-09-11 20:12 UTC (permalink / raw) To: Robert Gries; +Cc: gdb, Lou Falek On Tue, 2007-09-11 at 12:06 -0700, Robert Gries wrote: > gries@orion-059:/proj/ext3/users/gries/math/gmpbench-0.1$ /proj/ext3/users/gries/math/gdb-6.6/gdb/gdb rsa > GNU gdb 6.6 > Copyright (C) 2006 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 "powerpc64-unknown-linux-gnu"... > Using host libthread_db library "/lib/libthread_db.so.1". > (gdb) r 128 > Starting program: /proj/ext3/users/gries/math/gmpbench-0.1/rsa 128 > warning: Breakpoint address adjusted from 0x100ab998 to 0x10000180. > > Program received signal SIGTRAP, Trace/breakpoint trap. > 0x100001800002d032 in ?? () To debug 64 bit programs, your GDB should be compiled with -m64 as well. Is this the case? -- []'s Thiago Jung Bauermann Software Engineer IBM Linux Technology Center ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Does gdb-6.6 support -m64 apps? 2007-09-11 20:12 ` Thiago Jung Bauermann @ 2007-09-11 20:31 ` Robert Gries 2007-09-11 22:07 ` Robert Gries 2007-09-14 16:50 ` Robert Gries 1 sibling, 1 reply; 8+ messages in thread From: Robert Gries @ 2007-09-11 20:31 UTC (permalink / raw) To: Thiago Jung Bauermann Cc: gdb, Lou Falek, Robert Gries, Olof Johansson, Peter Bannon, Puneet Kumar The new release just works, no -m64 needed: gries@orion-059:/proj/ext3/users/gries/math/gmpbench-0.1$ /proj/ext3/users/gries/math/gdb-6.6.50.20070911/gdb/gdb test_rsa GNU gdb 6.6.50.20070911 Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "powerpc64-unknown-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) r Starting program: /proj/ext3/users/gries/math/gmpbench-0.1/test_rsa warning: Breakpoint address adjusted from 0x100b2bf8 to 0x10064b6c. size of n 66 00aa36abce88acfdff55523c7fc4523f90efa00df3774a259f2e62b4c5d99cb5adb300a0285e5301930e0c70fb6876939ce616ce624a11e0086d341ebcaca0a1f500 pq abefeafff53ff53fef0f77adfebcd9fff3a2df393efffffbe7ee6bf0ef5feeaf50 Program received signal SIGABRT, Aborted. 0x1004584c0000d032 in ?? () (gdb) where #0 0x1004584c0000d032 in ?? () #1 0x10016e6800000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) ----- Original Message ----- From: "Thiago Jung Bauermann" <bauerman@br.ibm.com> To: "Robert Gries" <gries@pasemi.com> Cc: gdb@sourceware.org, "Lou Falek" <falek@pasemi.com> Sent: Tuesday, September 11, 2007 1:01:01 PM (GMT-0800) America/Los_Angeles Subject: Re: Does gdb-6.6 support -m64 apps? On Tue, 2007-09-11 at 12:06 -0700, Robert Gries wrote: > gries@orion-059:/proj/ext3/users/gries/math/gmpbench-0.1$ /proj/ext3/users/gries/math/gdb-6.6/gdb/gdb rsa > GNU gdb 6.6 > Copyright (C) 2006 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 "powerpc64-unknown-linux-gnu"... > Using host libthread_db library "/lib/libthread_db.so.1". > (gdb) r 128 > Starting program: /proj/ext3/users/gries/math/gmpbench-0.1/rsa 128 > warning: Breakpoint address adjusted from 0x100ab998 to 0x10000180. > > Program received signal SIGTRAP, Trace/breakpoint trap. > 0x100001800002d032 in ?? () To debug 64 bit programs, your GDB should be compiled with -m64 as well. Is this the case? -- []'s Thiago Jung Bauermann Software Engineer IBM Linux Technology Center ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Does gdb-6.6 support -m64 apps? 2007-09-11 20:31 ` Robert Gries @ 2007-09-11 22:07 ` Robert Gries 0 siblings, 0 replies; 8+ messages in thread From: Robert Gries @ 2007-09-11 22:07 UTC (permalink / raw) To: Robert Gries Cc: gdb, Lou Falek, Robert Gries, Olof Johansson, Peter Bannon, Puneet Kumar, Thiago Jung Bauermann I guess the -m64 is needed, I now get a good trace back: ag5-5:/proj/ext3/users/gries/math/gmpbench-0.1> /proj/ext3/users/gries/math/gdb-6.6.50.20070911/gdb/gdb test_rsa GNU gdb 6.6.50.20070911 Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "powerpc64-unknown-linux-gnu"... Using host libthread_db library "/lib64/libthread_db.so.1". (gdb) r Starting program: /proj/ext3/users/gries/math/gmpbench-0.1/test_rsa warning: Breakpoint address adjusted from 0x100b2ce8 to 0x10064c0c. Program received signal SIGILL, Illegal instruction. 0x000000001000f690 in .__gmp_default_allocate () (gdb) where #0 0x000000001000f690 in .__gmp_default_allocate () #1 0x000000001000f950 in .__gmp_randinit_mt_noseed () #2 0x0000000010000d88 in .__gmp_randinit_mt () #3 0x0000000010000d50 in .__gmp_randinit_default () #4 0x00000000100005e8 in main (argc=<value optimized out>, argv=0xfffffe9ef18) at test_rsa.c:99 (gdb) r The program being debugged has been started already. Start it from the beginning? (y or n) y Starting program: /proj/ext3/users/gries/math/gmpbench-0.1/test_rsa warning: Breakpoint address adjusted from 0x100b2ce8 to 0x10064c0c. Program received signal SIGILL, Illegal instruction. 0x000000001000f690 in .__gmp_default_allocate () (gdb) ----- Original Message ----- From: "Robert Gries" <gries@pasemi.com> To: "Thiago Jung Bauermann" <bauerman@br.ibm.com> Cc: gdb@sourceware.org, "Lou Falek" <falek@pasemi.com>, "Robert Gries" <gries@pasemi.com>, "Olof Johansson" <olof@pasemi.com>, "Peter Bannon" <bannon@pasemi.com>, "Puneet Kumar" <pkumar@postoffice.pasemi.com> Sent: Tuesday, September 11, 2007 1:12:43 PM (GMT-0800) America/Los_Angeles Subject: Re: Does gdb-6.6 support -m64 apps? The new release just works, no -m64 needed: gries@orion-059:/proj/ext3/users/gries/math/gmpbench-0.1$ /proj/ext3/users/gries/math/gdb-6.6.50.20070911/gdb/gdb test_rsa GNU gdb 6.6.50.20070911 Copyright (C) 2007 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "powerpc64-unknown-linux-gnu"... Using host libthread_db library "/lib/libthread_db.so.1". (gdb) r Starting program: /proj/ext3/users/gries/math/gmpbench-0.1/test_rsa warning: Breakpoint address adjusted from 0x100b2bf8 to 0x10064b6c. size of n 66 00aa36abce88acfdff55523c7fc4523f90efa00df3774a259f2e62b4c5d99cb5adb300a0285e5301930e0c70fb6876939ce616ce624a11e0086d341ebcaca0a1f500 pq abefeafff53ff53fef0f77adfebcd9fff3a2df393efffffbe7ee6bf0ef5feeaf50 Program received signal SIGABRT, Aborted. 0x1004584c0000d032 in ?? () (gdb) where #0 0x1004584c0000d032 in ?? () #1 0x10016e6800000000 in ?? () Backtrace stopped: previous frame inner to this frame (corrupt stack?) (gdb) ----- Original Message ----- From: "Thiago Jung Bauermann" <bauerman@br.ibm.com> To: "Robert Gries" <gries@pasemi.com> Cc: gdb@sourceware.org, "Lou Falek" <falek@pasemi.com> Sent: Tuesday, September 11, 2007 1:01:01 PM (GMT-0800) America/Los_Angeles Subject: Re: Does gdb-6.6 support -m64 apps? On Tue, 2007-09-11 at 12:06 -0700, Robert Gries wrote: > gries@orion-059:/proj/ext3/users/gries/math/gmpbench-0.1$ /proj/ext3/users/gries/math/gdb-6.6/gdb/gdb rsa > GNU gdb 6.6 > Copyright (C) 2006 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 "powerpc64-unknown-linux-gnu"... > Using host libthread_db library "/lib/libthread_db.so.1". > (gdb) r 128 > Starting program: /proj/ext3/users/gries/math/gmpbench-0.1/rsa 128 > warning: Breakpoint address adjusted from 0x100ab998 to 0x10000180. > > Program received signal SIGTRAP, Trace/breakpoint trap. > 0x100001800002d032 in ?? () To debug 64 bit programs, your GDB should be compiled with -m64 as well. Is this the case? -- []'s Thiago Jung Bauermann Software Engineer IBM Linux Technology Center ^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Does gdb-6.6 support -m64 apps? 2007-09-11 20:12 ` Thiago Jung Bauermann 2007-09-11 20:31 ` Robert Gries @ 2007-09-14 16:50 ` Robert Gries 1 sibling, 0 replies; 8+ messages in thread From: Robert Gries @ 2007-09-14 16:50 UTC (permalink / raw) To: Thiago Jung Bauermann; +Cc: gdb, Lou Falek, Daniel Jacobowitz I thought I should let you know that it works perfectly on our pa6t parts. Thanks again, gries Thiago Jung Bauermann wrote: >On Tue, 2007-09-11 at 12:06 -0700, Robert Gries wrote: > > >>gries@orion-059:/proj/ext3/users/gries/math/gmpbench-0.1$ /proj/ext3/users/gries/math/gdb-6.6/gdb/gdb rsa >>GNU gdb 6.6 >>Copyright (C) 2006 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 "powerpc64-unknown-linux-gnu"... >>Using host libthread_db library "/lib/libthread_db.so.1". >>(gdb) r 128 >>Starting program: /proj/ext3/users/gries/math/gmpbench-0.1/rsa 128 >>warning: Breakpoint address adjusted from 0x100ab998 to 0x10000180. >> >>Program received signal SIGTRAP, Trace/breakpoint trap. >>0x100001800002d032 in ?? () >> >> > >To debug 64 bit programs, your GDB should be compiled with -m64 as well. >Is this the case? > > ^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2007-09-14 13:17 UTC | newest] Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2007-09-11 19:26 Does gdb-6.6 support -m64 apps? Robert Gries 2007-09-11 19:31 ` Daniel Jacobowitz 2007-09-11 19:35 ` Robert Gries 2007-09-11 20:01 ` Daniel Jacobowitz 2007-09-11 20:12 ` Thiago Jung Bauermann 2007-09-11 20:31 ` Robert Gries 2007-09-11 22:07 ` Robert Gries 2007-09-14 16:50 ` Robert Gries
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox