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: [FYI] Inlining support, rough patch


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


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