touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #35299
[Bug 151518] Re: gdb cannot break on entry point for statically linked binaries
the upstream link is invalid.
closing this issue; please recheck with gdb in 14.04 LTS and 14.10. Feel
free to re-open the issue if the problem persists.
** Changed in: gdb (Ubuntu)
Status: Triaged => Invalid
** Changed in: gdb
Status: New => Invalid
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to gdb in Ubuntu.
https://bugs.launchpad.net/bugs/151518
Title:
gdb cannot break on entry point for statically linked binaries
Status in GNU Debugger:
Invalid
Status in “gdb” package in Ubuntu:
Invalid
Bug description:
Binary package hint: gdb
See the following transcript:
$ gdb /sbin/ldconfig
GNU gdb 6.6-debian
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 "i486-linux-gnu"...
(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(gdb) info files
Symbols from "/sbin/ldconfig".
Local exec file:
`/sbin/ldconfig', file type elf32-i386.
Entry point: 0x8048110
0x080480d4 - 0x080480f4 is .note.ABI-tag
0x080480f4 - 0x0804810b is .init
0x08048110 - 0x080b84c8 is .text
[...]
0x080d9b68 - 0x080d9b7c is __libc_freeres_ptrs
(gdb) break *0x8048110
Breakpoint 1 at 0x8048110
(gdb) run
Starting program: /sbin/ldconfig
warning: shared library handler failed to enable breakpoint
(no debugging symbols found)
/sbin/ldconfig: Can't create temporary cache file /etc/ld.so.cache~: Permission denied
Program exited with code 01.
(gdb) quit
gdb should break after loading the binary, but before executing any instructions. It doesn't.
I am using feisty with gdb 6.6.dfsg-1ubuntu2 on a Samsung X20 XVM 1730
V laptop (i386 architecture).
To manage notifications about this bug go to:
https://bugs.launchpad.net/gdb/+bug/151518/+subscriptions