Compute the function length instead of hard coding it
[deliverable/binutils-gdb.git] / gdb / tracepoint.c
index 673fddde5e16805e142b19001168485d403156cf..c5221938e70a82db0184789ee0da0dda14f5b4c9 100644 (file)
@@ -3216,15 +3216,6 @@ set_current_traceframe (int num)
   clear_traceframe_info ();
 }
 
-/* Make the traceframe NUM be the current trace frame, and do nothing
-   more.  */
-
-void
-set_traceframe_number (int num)
-{
-  traceframe_number = num;
-}
-
 /* A cleanup used when switching away and back from tfind mode.  */
 
 struct current_traceframe_cleanup
@@ -3261,12 +3252,6 @@ make_cleanup_restore_current_traceframe (void)
                            restore_current_traceframe_cleanup_dtor);
 }
 
-struct cleanup *
-make_cleanup_restore_traceframe_number (void)
-{
-  return make_cleanup_restore_integer (&traceframe_number);
-}
-
 /* Given a number and address, return an uploaded tracepoint with that
    number, creating if necessary.  */
 
This page took 0.024483 seconds and 4 git commands to generate.