[RFA] stack.c: Always set current_source_{symtab,line}
Andrew Cagney
ac131313@ges.redhat.com
Fri Aug 30 12:44:00 GMT 2002
> On Thu, 29 Aug 2002, Elena Zannoni wrote:
>
>
>> Another thought: could a testcase be added, just like the one below?
>
>
> Already in mi-cli.exp on the branch. (I think I submitted it, too, to this
> list.) The method is different, but it demonstrates the failure using
> "list" with the console interpreter.
For MI, the testcase needs to go in at the same time as the fix (this is
stronger then the rest of GDB where it is a ``should''). It's also
important to check that the test actually fails without the fix. That
way we know that the change at least fixed something :-)
enjoy,
Andrew
More information about the Gdb-patches
mailing list