From: Nick Roberts <nickrob@snap.net.nz>
To: Eli Zaretskii <eliz@gnu.org>
Cc: susan@smacchia.net, gdb@sourceware.org
Subject: Re: MI: -file-list-exec-source-files
Date: Tue, 06 Jun 2006 08:01:00 -0000 [thread overview]
Message-ID: <17541.13839.981235.675829@kahikatea.snap.net.nz> (raw)
In-Reply-To: <uy7wdbnm3.fsf@gnu.org>
> FWIW, GDB 6.3 doesn't seem to have this problem, AFAICS:
>
> eliz@fencepost:~$ ./gdb-6.3/gdb/gdb --interpreter=mi2 ./mytest
> ~"GNU gdb 6.3\n"
> ~"Copyright 2004 Free Software Foundation, Inc.\n"
> ~"GDB is free software, covered by the GNU General Public License, and you are\n"
> ~"welcome to change it and/or distribute copies of it under certain conditions.\n"
> ~"Type \"show copying\" to see the conditions.\n"
> ~"There is absolutely no warranty for GDB. Type \"show warranty\" for details.\n"
> ~"This GDB was configured as \"i686-pc-linux-gnu\"..."
> ~"Using host libthread_db library \"/lib/tls/libthread_db.so.1\".\n"
> ~"\n"
> (gdb)
> -file-list-exec-source-files
> ^done,files=[{file="crtn.S"},{file="/build/buildd/glibc-2.3.2.ds1/build-tree/i386-libc/csu/crtn.S"},{file="myproc.c",fullname="/home/e/eliz/myproc.c"},{file="mytest.c",fullname="/home/e/eliz/mytest.c"},{file="crti.S"},{file="/build/buildd/glibc-2.3.2.ds1/build-tree/i386-libc/csu/crti.S"},{file="init.c"},{file="start.S"},{file="../sysdeps/i386/elf/start.S"}]
Yes, I see this too:
nickrob/194 src/gdb/gdb mytest
GGNU gdb 6.5.50.20060601-cvs
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 "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) maint info psymtab
{ objfile /home/nickrob/mytest ((struct objfile *) 0x90877f8)
{ psymtab myproc.c ((struct partial_symtab *) 0x9091e9c)
readin no
fullname (null)
text addresses 0x0 -- 0x0
globals (none)
statics (none)
dependencies {
psymtab myproc.c ((struct partial_symtab *) 0x908d820)
}
}
{ psymtab myproc.c ((struct partial_symtab *) 0x908d820)
readin no
fullname (null)
text addresses 0x8048380 -- 0x8048387
globals (* (struct partial_symbol **) 0x9075874 @ 1)
statics (* (struct partial_symbol **) 0x908d8bc @ 1)
dependencies (none)
}
{ psymtab mytest.c ((struct partial_symtab *) 0x908d7c8)
readin no
fullname (null)
text addresses 0x0 -- 0x0
globals (none)
statics (none)
dependencies {
psymtab mytest.c ((struct partial_symtab *) 0x908d76c)
}
}
{ psymtab mytest.c ((struct partial_symtab *) 0x908d76c)
readin no
fullname (null)
text addresses 0x8048360 -- 0x804837f
globals (* (struct partial_symbol **) 0x9075870 @ 1)
statics (* (struct partial_symbol **) 0x908d8b8 @ 1)
dependencies (none)
}
}
nickrob/195 gdb mytest
GNU gdb Red Hat Linux (6.3.0.0-1.122rh)
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 "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".
(gdb) maint info psymtab
{ objfile /home/nickrob/mytest ((struct objfile *) 0x9cffd70)
{ psymtab myproc.c ((struct partial_symtab *) 0x9d05cf8)
readin no
fullname (null)
text addresses 0x8048380 -- 0x8048387
globals (* (struct partial_symbol **) 0x9ceddfc @ 1)
statics (* (struct partial_symbol **) 0x9d05e54 @ 1)
dependencies (none)
}
{ psymtab mytest.c ((struct partial_symtab *) 0x9d05c9c)
readin no
fullname (null)
text addresses 0x8048360 -- 0x804837f
globals (* (struct partial_symbol **) 0x9ceddf8 @ 1)
statics (* (struct partial_symbol **) 0x9d05e50 @ 1)
dependencies (none)
}
}
--
Nick http://www.inet.net.nz/~nickrob
next prev parent reply other threads:[~2006-06-06 8:01 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1149277048.21408.ezmlm@sourceware.org>
2006-06-02 23:31 ` susan
2006-06-03 0:05 ` Jim Blandy
2006-06-03 0:46 ` Susan Macchia
2006-06-03 1:28 ` Nick Roberts
2006-06-03 9:46 ` Eli Zaretskii
2006-06-03 22:26 ` Nick Roberts
2006-06-03 22:35 ` Daniel Jacobowitz
2006-06-04 0:04 ` Nick Roberts
2006-06-04 2:50 ` Daniel Jacobowitz
2006-06-04 3:34 ` Eli Zaretskii
2006-06-06 8:01 ` Nick Roberts [this message]
2006-06-03 1:39 ` Bob Rossi
2006-06-02 0:30 Nick Roberts
2006-06-02 19:37 ` Jim Blandy
2006-06-02 19:38 ` Bob Rossi
2006-06-02 20:24 ` Daniel Jacobowitz
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17541.13839.981235.675829@kahikatea.snap.net.nz \
--to=nickrob@snap.net.nz \
--cc=eliz@gnu.org \
--cc=gdb@sourceware.org \
--cc=susan@smacchia.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox