Tom de Vries
ddc003b7de
[gdb/testsuite] Fix py-autoloaded-pretty-printers-in-newobjfile-event.exp for remote target
...
With test-case gdb.python/py-autoloaded-pretty-printers-in-newobjfile-event.exp
and target board remote-gdbserver-on-localhost, I run into:
...
FAIL: $exp: runto: run to main
...
I can easily fix this using "gdb_load_shlib $binfile_lib", but then run into:
...
(gdb) print all_good^M
$1 = false^M
(gdb) FAIL: $exp: print all_good
info pretty-printer^M
...
Sysroot is set to "target:", so gdb downloads the shared library from the target
(Using $so as shorthand for
libpy-autoloaded-pretty-printers-in-newobjfile-event.so):
...
Reading /home/remote-target/$so from remote target...^M
...
and internally refers to it as "target:/home/remote-target/$so".
In load_auto_scripts_for_objfile, gdb gives up trying to auto-load scripts
for $so once it checks for is_target_filename.
Fix this by declaring auto-load unsupported if sysroot starts with "target:".
Tested on x86_64-linux.
2023-03-10 16:34:04 +01:00
..
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-02-09 19:38:52 +01:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-03-10 16:34:04 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-02-28 15:50:23 +01:00
2023-02-28 15:50:23 +01:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-03-10 16:34:04 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:32 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-02-27 13:28:32 -05:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 10:09:44 +01:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-02-27 13:28:32 -05:00
2023-01-26 18:28:32 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-02-27 13:28:32 -05:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 10:09:44 +01:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:32 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-22 14:27:49 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-02-27 15:46:31 -07:00
2023-02-27 15:46:31 -07:00
2023-02-27 15:46:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-25 09:02:11 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:32 -07:00
2023-02-27 13:28:32 -05:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:32 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:31 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-03-01 13:44:04 +01:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-02-27 13:28:32 -05:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:32 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-02-27 13:28:32 -05:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:32 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:32 -07:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 10:09:44 +01:00
2023-01-01 17:01:16 +04:00
2023-01-19 13:44:13 +01:00
2023-01-19 13:44:13 +01:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-02-15 20:56:52 +00:00
2023-02-10 23:49:19 +00:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-26 18:28:32 -07:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-01 17:01:16 +04:00
2023-01-13 13:18:58 -07:00
2023-01-01 17:01:16 +04:00
2023-02-13 14:50:46 +00:00
2023-02-13 14:50:37 +00:00
2023-01-13 13:18:58 -07:00
2023-01-13 13:18:58 -07:00
2023-02-27 13:28:32 -05:00