diff options
author | Tom Tromey <tom@tromey.com> | 2024-10-03 16:48:25 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2024-10-08 17:07:37 -0600 |
commit | 57f5c841c33c49583338048d06a4dfd5cefd7e40 (patch) | |
tree | e22ce461b22ff7a31f495ffb82aff0ce4d55c96a /gdb/testsuite/gdb.debuginfod | |
parent | 09ff58c1ad9b5894aa9b7965071d4133ab2202ac (diff) | |
download | gdb-57f5c841c33c49583338048d06a4dfd5cefd7e40.zip gdb-57f5c841c33c49583338048d06a4dfd5cefd7e40.tar.gz gdb-57f5c841c33c49583338048d06a4dfd5cefd7e40.tar.bz2 |
Use ui-out tables for info proc mappings
This changes a few implementations of "info proc mappings" to use
ui-out tables rather than printf.
Note that NetBSD and FreeBSD also use printfs here, but since I can't
test these, I didn't update them.
Approved-By: Andrew Burgess <aburgess@redhat.com>
Diffstat (limited to 'gdb/testsuite/gdb.debuginfod')
-rw-r--r-- | gdb/testsuite/gdb.debuginfod/corefile-mapped-file.exp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/testsuite/gdb.debuginfod/corefile-mapped-file.exp b/gdb/testsuite/gdb.debuginfod/corefile-mapped-file.exp index b5dee22..cf96b41 100644 --- a/gdb/testsuite/gdb.debuginfod/corefile-mapped-file.exp +++ b/gdb/testsuite/gdb.debuginfod/corefile-mapped-file.exp @@ -93,7 +93,7 @@ set ptr_address [get_hexadecimal_valueof "&library_ptr" "unknown"] set ptr_offset "unknown" gdb_test_multiple "info proc mappings" "" { - -re "^\\s+($hex)\\s+($hex)\\s+$hex\\s+($hex)\[^\r\n\]+$library_filename\r\n" { + -re "^($hex)\\s+($hex)\\s+$hex\\s+($hex)\[^\r\n\]+$library_filename\\s*\r\n" { set low_addr $expect_out(1,string) set high_addr $expect_out(2,string) set file_offset $expect_out(3,string) |