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] stack.c: Always set current_source_{symtab,line}


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



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