* gdbinit.in (input_line, input_filename): Define.

From-SVN: r206183
This commit is contained in:
Jason Merrill 2013-12-23 12:51:03 -05:00 committed by Jason Merrill
parent 1f26ac8748
commit 2a0da5ad16
2 changed files with 4 additions and 0 deletions

View File

@ -1,5 +1,7 @@
2013-12-23 Jason Merrill <jason@redhat.com>
* gdbinit.in (input_line, input_filename): Define.
* cgraph.h (struct cgraph_node): Add calls_comdat_local.
(symtab_comdat_local_p, symtab_in_same_comdat_p): New.
* cif-code.def: Add USES_COMDAT_LOCAL.

View File

@ -195,6 +195,8 @@ macro define __FILE__ "gdb"
macro define __LINE__ 1
macro define __FUNCTION__ "gdb"
macro define __null 0
macro define input_line expand_location(input_location).line
macro define input_filename expand_location(input_location).file
# Gracefully handle aborts in functions used from gdb.
set unwindonsignal on