aboutsummaryrefslogtreecommitdiff
path: root/gdb/dummy-frame.c
diff options
context:
space:
mode:
authorSimon Marchi <simon.marchi@polymtl.ca>2022-01-15 23:45:06 -0500
committerSimon Marchi <simon.marchi@polymtl.ca>2022-01-18 11:28:33 -0500
commite53c95d40b128a1e794b27ec8b166ae1445356eb (patch)
tree27ee9e14035d4bc48982bd172ce8cce80436375a /gdb/dummy-frame.c
parentcced7cacecad104fff03e94814a3fca1d304b16f (diff)
downloadfsf-binutils-gdb-e53c95d40b128a1e794b27ec8b166ae1445356eb.zip
fsf-binutils-gdb-e53c95d40b128a1e794b27ec8b166ae1445356eb.tar.gz
fsf-binutils-gdb-e53c95d40b128a1e794b27ec8b166ae1445356eb.tar.bz2
gdb: use ptid_t::to_string instead of target_pid_to_str in debug statements
Same idea as 0fab79556484 ("gdb: use ptid_t::to_string in infrun debug messages"), but throughout GDB. Change-Id: I62ba36eaef29935316d7187b9b13d7b88491acc1
Diffstat (limited to 'gdb/dummy-frame.c')
-rw-r--r--gdb/dummy-frame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/dummy-frame.c b/gdb/dummy-frame.c
index 41c0bde..db7aaac 100644
--- a/gdb/dummy-frame.c
+++ b/gdb/dummy-frame.c
@@ -408,7 +408,7 @@ fprint_dummy_frames (struct ui_file *file)
fprintf_filtered (file, "%s: id=%s, ptid=%s\n",
host_address_to_string (s),
s->id.id.to_string ().c_str (),
- target_pid_to_str (s->id.thread->ptid).c_str ());
+ s->id.thread->ptid.to_string ().c_str ());
}
static void