Handle '#' flag for printf of pointer types.
authorAndrew Burgess <aburgess@broadcom.com>
Tue, 13 Aug 2013 16:05:23 +0000 (16:05 +0000)
committerAndrew Burgess <aburgess@broadcom.com>
Tue, 13 Aug 2013 16:05:23 +0000 (16:05 +0000)
commit5c30d39a69a4da5d011db4d52c15042561d53ce0
tree63ff0114293b6e4f63159949effead1378668d0e
parent17e1c970ef41149e5eb6b5f908301e6a86a7f528
Handle '#' flag for printf of pointer types.

  http://sourceware.org/ml/gdb-patches/2013-08/msg00340.html

gdb/ChangeLog

* common/format.c (parse_format_string): Don't allow '#' flag for
pointer arguments in format string.

gdb/testsuite/ChangeLog

* gdb.base/printcmds.exp (test_printf): Add test for printf of
pointer with various flags.
gdb/ChangeLog
gdb/common/format.c
gdb/testsuite/ChangeLog
gdb/testsuite/gdb.base/printcmds.exp
This page took 0.026799 seconds and 4 git commands to generate.