OSDN Git Service

2007-07-02 Markus Deuling <deuling@de.ibm.com>
authoruweigand <uweigand>
Mon, 2 Jul 2007 18:33:22 +0000 (18:33 +0000)
committeruweigand <uweigand>
Mon, 2 Jul 2007 18:33:22 +0000 (18:33 +0000)
* gdbtk/generic/gdbtk-stack.c (get_frame_name): Remove dead code
(PC_LOAD_SEGMENT).

gdb/gdbtk/ChangeLog
gdb/gdbtk/generic/gdbtk-stack.c

index f66118d..f3edd38 100644 (file)
@@ -1,3 +1,8 @@
+2007-07-02  Markus Deuling  <deuling@de.ibm.com>
+
+       * gdbtk/generic/gdbtk-stack.c (get_frame_name): Remove dead code
+       (PC_LOAD_SEGMENT).
+
 2007-06-27  Keith Seitz  <keiths@redhat.com>
 
        * generic/gdbtk-register.c (Gdbtk_Register_Init): Remove
index a0e3fe2..9f0c815 100644 (file)
@@ -601,16 +601,6 @@ get_frame_name (Tcl_Interp *interp, Tcl_Obj *list, struct frame_info *fi)
                              DMGL_ANSI);
 #endif
       objv[0] = Tcl_NewStringObj (funname != NULL ? funname : "??", -1);
-#ifdef PC_LOAD_SEGMENT
-      /* If we couldn't print out function name but if can figure out what
-         load segment this pc value is from, at least print out some info
-         about its load segment. */
-      if (!funname)
-       {
-         Tcl_AppendStringsToObj (objv[0], " from ", PC_LOAD_SEGMENT (fi->pc),
-                                 (char *) NULL);
-       }
-#endif
 #ifdef PC_SOLIB
       if (!funname)
        {