diff options
Diffstat (limited to 'gdb/amd64-sol2-tdep.c')
-rw-r--r-- | gdb/amd64-sol2-tdep.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gdb/amd64-sol2-tdep.c b/gdb/amd64-sol2-tdep.c index 6b3b5d77c59..f7f513f5e3a 100644 --- a/gdb/amd64-sol2-tdep.c +++ b/gdb/amd64-sol2-tdep.c @@ -117,6 +117,9 @@ amd64_sol2_init_abi (struct gdbarch_info info, struct gdbarch *gdbarch) /* Solaris encodes the pid of the inferior in regset section names. */ set_gdbarch_core_reg_section_encodes_pid (gdbarch, 1); + + /* How to print LWP PTIDs from core files. */ + set_gdbarch_core_pid_to_str (gdbarch, sol2_core_pid_to_str); } |