This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [FYI] Inlining support, rough patch
- From: Daniel Jacobowitz <drow at false dot org>
- To: Jan Kratochvil <jan dot kratochvil at redhat dot com>
- Cc: gdb-patches at sourceware dot org, Mark Kettenis <mark dot kettenis at xs4all dot nl>, Tom Tromey <tromey at redhat dot com>
- Date: Sun, 28 Jun 2009 09:35:07 -0400
- Subject: Re: [FYI] Inlining support, rough patch
- References: <200807172353.m6HNr1nY015884@brahms.sibelius.xs4all.nl> <20080718130308.GA19045@caradoc.them.org> <200807251446.m6PEkfwc027635@brahms.sibelius.xs4all.nl> <20080725174636.GB2433@caradoc.them.org> <m3y6umk447.fsf@fleche.redhat.com> <200903312042.n2VKgIUx003764@brahms.sibelius.xs4all.nl> <20090420154909.GA5386@caradoc.them.org> <20090420155405.GA6072@host0.dyn.jankratochvil.net> <20090627180122.GA6139@caradoc.them.org> <20090628101621.GA31457@host0.dyn.jankratochvil.net>
On Sun, Jun 28, 2009 at 12:16:21PM +0200, Jan Kratochvil wrote:
> <smile>As I did not understand how the testsuites could work before</smile>
> - it is clear it was due to some compiler differences. I should retest the
> changes against FSF GCC first, my only concern was Fedora GCC for that patch.
OK, that makes sense. I should hunt up a Fedora system compiler for
testing.
> ### Here `finish' is at the _next_ line of the call. I would expect rather:
> ### (gdb) finish
> ### Run till exit from #0 func () at finish.c:1
> ### main () at finish.c:4
> ### 3 /* 3 */ func ();
> ### Value returned is $1 = 1
> ### Whether this or that case is shown is also dependent on the current
> ### architecture - currently the behavior differs depending of whether there
> ### is at least one instruction of the same source line after the call
> ### instruction. Next `step' will have to do _nothing_ to the inferior, just
> ### display the next line in GDB.
Thanks for the example. I think this would be a nice change.
--
Daniel Jacobowitz
CodeSourcery