* gdbinit.in (pel): Define.

From-SVN: r207474
This commit is contained in:
Marek Polacek 2014-02-04 15:34:24 +00:00 committed by Marek Polacek
parent 229e56f91e
commit 71e55f045c
2 changed files with 13 additions and 0 deletions

View File

@ -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

View File

@ -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