diff options
author | Marek Polacek <polacek@redhat.com> | 2014-02-04 15:34:24 +0000 |
---|---|---|
committer | Marek Polacek <mpolacek@gcc.gnu.org> | 2014-02-04 15:34:24 +0000 |
commit | 71e55f045cb13d89d797c0468cc52d5f6ba257bc (patch) | |
tree | ad11dfb0eb609edffe8ea782dab071b16a91d8a4 /gcc | |
parent | 229e56f91e19b4b7015139a6cbe5fc77cec2ebe1 (diff) | |
download | gcc-71e55f045cb13d89d797c0468cc52d5f6ba257bc.zip gcc-71e55f045cb13d89d797c0468cc52d5f6ba257bc.tar.gz gcc-71e55f045cb13d89d797c0468cc52d5f6ba257bc.tar.bz2 |
* gdbinit.in (pel): Define.
From-SVN: r207474
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/gdbinit.in | 9 |
2 files changed, 13 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9647593..63ba4a4 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2014-02-04 Marek Polacek <polacek@redhat.com> + + * gdbinit.in (pel): Define. + 2014-02-04 Bernd Edlinger <bernd.edlinger@hotmail.de> * doc/invoke.texi (fstrict-volatile-bitfields): Clarify current diff --git a/gcc/gdbinit.in b/gcc/gdbinit.in index c388f8a..25c530a 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 |