On Thu, Jun 12, 2008 at 04:19:35PM +0000, Pierre Habouzit wrote:
> On Thu, Jun 12, 2008 at 04:13:39PM +0000, Daniel Jacobowitz wrote:
> > On Thu, Jun 12, 2008 at 06:11:28PM +0200, Pierre Habouzit wrote:
> > > #0 sms_emi_ack_5X (out=0x1b1dc88, msg=0x7fff637d97e0) at
> > > lib-inet/sms-emi.c:230
> > > #1 0x0000000000404973 in ?? ()
> >
> > > With gdb from etch:
> > > (gdb) bt
> > > #0 sms_emi_ack_5X (out=0x110dc88, msg=0x7fff73230240) at
> > > lib-inet/sms-emi.c:230
> > > #1 0x0000000000404973 in smsc_emi_on_query (we=0x110dbe0,
> > > msg=0x7fff73230240) at simulator/smsc/emi_smsc.c:232
> >
> > Note, same address.
>
> > Is a shared library involved?
>
> No, the symbol is local, visibility hidden.
>
> > Does "list smsc_emi_on_query" do anything?
> lenny:
> (gdb) list smsc_emi_on_query
> 249 {
> [... dumps code ...]
> (gdb) b smsc_emi_on_query
> Breakpoint 1 at 0x404520: file simulator/smsc/emi_smsc.c, line 254.
>
>
> sid:
> (gdb) list smsc_emi_on_query
> No line number known for smsc_emi_on_query.
> (gdb) b smsc_emi_on_query
> Breakpoint 1 at 0x404520
I've rebuilt a sid gdb, and with the gdb in objdir/gdb/gdb it says:
./gdb ~/dev/mmsx/simulator/smsc/smsc
GNU gdb 6.8-debian
[...]
This GDB was configured as "x86_64-linux-gnu"...
Setting up the environment for debugging gdb.
Function "internal_error" not defined.
Make breakpoint pending on future shared library load? (y or [n]) [answered
N; input not from terminal]
Function "info_command" not defined.
Make breakpoint pending on future shared library load? (y or [n]) [answered
N; input not from terminal]
/home/madcoder/debian/tmp/gdb-6.8/objdir/gdb/.gdbinit:8: Error in sourced
command file:
No breakpoint number 0.
(gdb) b smsc_emi_on_query
During symbol reading, DW_AT_name missing from DW_TAG_base_type.
During symbol reading, unsupported tag: 'DW_TAG_const_type'.
Breakpoint 1 at 0x404520
(gdb)
Which I can reproduce doing that on the sid one:
(gdb) set complaints 1
(gdb) b smsc_emi_on_query
During symbol reading, DW_AT_name missing from DW_TAG_base_type.
During symbol reading, unsupported tag: 'DW_TAG_const_type'.
Breakpoint 1 at 0x404520
But not completely from the lenny one:
(gdb) set complaints 1
(gdb) b smsc_emi_on_query
During symbol reading, unsupported tag: 'DW_TAG_const_type'.
Breakpoint 1 at 0x404520: file simulator/smsc/emi_smsc.c, line 254.
Also, the testsuite is still running but I already saw those failures:
Running /home/madcoder/debian/tmp/gdb-6.8/gdb/testsuite/gdb.base/break.exp
...
FAIL: gdb.base/break.exp: breakpoint at start of multi line while
conditional
FAIL: gdb.base/break.exp: breakpoint info
Running
/home/madcoder/debian/tmp/gdb-6.8/gdb/testsuite/gdb.base/corefile.exp ...
FAIL: gdb.base/corefile.exp: accessing mmapped data in core file (mapping
address not found in core file)
Running
/home/madcoder/debian/tmp/gdb-6.8/gdb/testsuite/gdb.base/mips_pro.exp ...
FAIL: gdb.base/mips_pro.exp: running to middle in runto
Running
/home/madcoder/debian/tmp/gdb-6.8/gdb/testsuite/gdb.base/sepdebug.exp ...
FAIL: gdb.base/sepdebug.exp: breakpoint at start of multi line while
conditional
FAIL: gdb.base/sepdebug.exp: breakpoint info
Running /home/madcoder/debian/tmp/gdb-6.8/gdb/testsuite/gdb.cp/annota3.exp
...
FAIL: gdb.cp/annota3.exp: annotate-quit (pattern 1)
--
·O· Pierre Habouzit
··O [EMAIL PROTECTED]
OOO http://www.madism.org
pgpss8cQI6XLc.pgp
Description: PGP signature

