This is the mail archive of the gdb-patches@sources.redhat.com 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: [RFA] Fix incorrect use of "until" command in gdb.arch/gdb1431


On Thursday 26 February 2004 14:04, Andrew Cagney wrote:

Hmm, "How did it ever work"? :-)


From what I could tell, at one time "until" did work like "advance".
There is a pretty long thread about it on the gdb or gdb-patches list,
though I can't seem to find it again with a quick search.

Ah, that would explain it.


The current "finish" behavior is the original "finish" behavior. There was a period (of several years) during which "finish" was broken. I guess the test was written during that period (or with such a broken GDB). "advance" came about because people wanted both the correct and broken behavior ....

Andrew


I guess so, but keep the 1431.c specific test file


OK, I kept a distinct file for this test, but one that is cloned from
the 1291 test to be all assembly instead of mixed C/assembly.  There
is a previously reported gcc bug that causes line numbers to be
botched in the mix C/assembly case, obscuring what we are trying to
test for here.

I committed the following patch.



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