This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [patch] Fix `return' of long/long-long results with no debuginfo


On Sat, 21 Feb 2009 14:43:44 +0100, Mark Kettenis wrote:
> > It has been proven by the original bugreport even experienced
> > programmers will make a mistake forgetting about the type cast.
> 
> And I' say it again.  You're doing such users a far bigger favour by
> distributing libraries with debug information. than with bloating gdb
> with code to work around issues.

Fedora GDB already has a custom patch to make this more easy:
http://cvs.fedora.redhat.com/viewvc/rpms/gdb/devel/gdb-6.6-buildid-locate.patch?view=co
$ gdb --args sleep 1h
GNU gdb Fedora (6.8-29.fc10)
[...]
This GDB was configured as "x86_64-redhat-linux-gnu"...
(no debugging symbols found)
Missing separate debuginfos, use: debuginfo-install coreutils-6.12-18.fc10.x86_64
(gdb) q
$ gdb -q ./main
(gdb) r
Starting program: /md1/home/lace/src/main 
Program exited normally.
Missing separate debuginfos, use: debuginfo-install glibc-2.9-3.x86_64
(gdb) q

Still you can find in the bugreport(s) people do not do it:
  https://bugzilla.redhat.com/show_bug.cgi?id=365111

Mostly cited reason is that debuginfo files are currently too big, which is
being actively worked on:
  https://fedoraproject.org/wiki/Features/DebugInfoRevamp

The state of the debugging is not perfect but I hope Fedora does the best
effort it can for it instead of turning down patches without even giving
a reason now.


Regards,
Jan


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]