[PATCH 1/2] gdb/testsuite: Move helper function into lib/dwarf.exp

Andrew Burgess andrew.burgess@embecosm.com
Tue Apr 14 11:18:14 GMT 2020


* Tom Tromey <tom@tromey.com> [2020-04-06 14:18:28 -0600]:

> >>>>> "Andrew" == Andrew Burgess <andrew.burgess@embecosm.com> writes:
> 
> Andrew> gdb/testsuite/ChangeLog:
> 
> Andrew> 	* gdb.dwarf2/dw2-inline-many-frames.exp (get_func_info): Delete.
> Andrew> 	* gdb.dwarf2/dw2-inline-small-func.exp: Pass options to
> Andrew> 	get_func_info.
> Andrew> 	(get_func_info): Delete.
> Andrew> 	* gdb.dwarf2/dw2-is-stmt-2.exp (get_func_info): Delete.
> Andrew> 	* gdb.dwarf2/dw2-is-stmt.exp (get_func_info): Delete.
> Andrew> 	* lib/dwarf.exp (get_func_info): New function.
> 
> Thanks for doing this.  I didn't realize this function was copied so
> many times, or I would have merged them myself.  Looks good.

Thanks for reviewing this.

I've gone ahead and pushed this patch as it is a nice clean up
independent of the second patch, which is still under discussion.

Thanks,
Andrew



More information about the Gdb-patches mailing list