From 2a0da5ad16b11e37bcd3109d4fc7968568dbfc05 Mon Sep 17 00:00:00 2001 From: Jason Merrill Date: Mon, 23 Dec 2013 12:51:03 -0500 Subject: [PATCH] * gdbinit.in (input_line, input_filename): Define. From-SVN: r206183 --- gcc/ChangeLog | 2 ++ gcc/gdbinit.in | 2 ++ 2 files changed, 4 insertions(+) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index ab6875e977f..1f170a6d56f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2013-12-23 Jason Merrill + * 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. diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in index aa0bf9beda6..79361a5bfd1 100644 --- a/gcc/gdbinit.in +++ b/gcc/gdbinit.in @@ -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