aboutsummaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.python
diff options
context:
space:
mode:
authorAndrew Burgess <andrew.burgess@embecosm.com>2019-03-21 12:25:47 +0000
committerAndrew Burgess <andrew.burgess@embecosm.com>2019-03-26 18:23:49 +0000
commit18c77628b1e97e412561029ec20195c1ffa61b2d (patch)
tree6c79f1c4d04742d7a5380a3821de691f35647b6a /gdb/testsuite/gdb.python
parent53c973f200e39c4122e0db06a94e3a0079e6de80 (diff)
downloadbinutils-18c77628b1e97e412561029ec20195c1ffa61b2d.zip
binutils-18c77628b1e97e412561029ec20195c1ffa61b2d.tar.gz
binutils-18c77628b1e97e412561029ec20195c1ffa61b2d.tar.bz2
gdb: Avoid trailing whitespace when pretty printing
While writing a new test for 'set print pretty on' I spotted that GDB will sometimes add a trailing whitespace character when pretty printing. This commit removes the trailing whitespace and updates the expected results in one tests where this was an issue. I've added an extra test for 'set print pretty on' as it doesn't seem to have much testing. gdb/ChangeLog: * cp-valprint.c (cp_print_value_fields): Don't print trailing whitespace when pretty printing is on. gdb/testsuite/ChangeLog: * gdb.base/finish-pretty.exp: Update expected results. * gdb.base/pretty-print.c: New file. * gdb.base/pretty-print.exp: New file.
Diffstat (limited to 'gdb/testsuite/gdb.python')
0 files changed, 0 insertions, 0 deletions