diff options
author | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-02-04 15:34:24 +0000 |
---|---|---|
committer | mpolacek <mpolacek@138bc75d-0d04-0410-961f-82ee72b054a4> | 2014-02-04 15:34:24 +0000 |
commit | b174be60fadc19449b69a31a7226a265d502bcc0 (patch) | |
tree | ad11dfb0eb609edffe8ea782dab071b16a91d8a4 /gcc/gdbinit.in | |
parent | c8b3134cf936689879e1d02915707417d487c856 (diff) | |
download | gcc-b174be60fadc19449b69a31a7226a265d502bcc0.tar.gz |
* gdbinit.in (pel): Define.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@207474 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gdbinit.in')
-rw-r--r-- | gcc/gdbinit.in | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in index c388f8ac704..25c530aa222 100644 --- a/gcc/gdbinit.in +++ b/gcc/gdbinit.in @@ -190,6 +190,15 @@ document pbm Dump the bitmap that is in $ as a comma-separated list of numbers. end +define pel +output expand_location ($) +echo \n +end + +document pel +Print expanded location of $. +end + # Define some macros helpful to gdb when it is expanding macros. macro define __FILE__ "gdb" macro define __LINE__ 1 |