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: RFA: two Ada tests -vs- debug-file-directory


> I've attached gdb.log for a failing run of the two tests.

Thank you!

For the first test (mi_task_arg.exp), the failure is indeed caused
by the fact that a function in the callstack for which there is normally
no debugging info (and thus no parameters in the backtrace) now has
debug info, and starts showing parameters for that frame. Your fix
prevents that from happening, and is just as good as allowing the
parameters in the output from the -stack-list-arguments command.

For the second testcase, the debugger picks up a wack load of functions
that fit the profile of a function we are trying to break into (Ada
operator "+", for instance). So we end up with more locations than
we expected. The fix you provided is the only reasonable fix in this
case.

So I wouldn't change a thing :).

-- 
Joel


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