gas/
[deliverable/binutils-gdb.git] / gdb / amd64-sol2-tdep.c
index 6b3b5d77c59aef04dd619c47d31ff7070984901c..0cf5e83b469bdba3e132346b6af9e87d83ca7b4f 100644 (file)
@@ -1,6 +1,6 @@
 /* Target-dependent code for AMD64 Solaris.
 
-   Copyright (C) 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009
+   Copyright (C) 2001, 2002, 2003, 2004, 2006, 2007, 2008, 2009, 2010
    Free Software Foundation, Inc.
 
    Contributed by Joseph Myers, CodeSourcery, LLC.
@@ -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);
 }
 \f
 
This page took 0.058042 seconds and 4 git commands to generate.