summaryrefslogtreecommitdiff
path: root/gdb/testsuite/gdb.gdbtk/browser.exp
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-04-03 17:01:49 +0000
committerAndrew Cagney <cagney@redhat.com>2003-04-03 17:01:49 +0000
commitd53da18ac385b7275bc2687c4ac0790c40b577a0 (patch)
treeca62093db6c0472bdc07f6bbe1b4c80c86d4a989 /gdb/testsuite/gdb.gdbtk/browser.exp
parente6187b42a5ae373ef9108e16ca4ca21ec3a15522 (diff)
downloadgdb-d53da18ac385b7275bc2687c4ac0790c40b577a0.tar.gz
2003-04-03 Andrew Cagney <cagney@redhat.com>
* frame.c (frame_id_eq): Update. Compare function addresses. (get_frame_func): New function. (frame_func_unwind): New function. (legacy_get_prev_frame): Move linking of prev to next to the start of the function. (frame_id_p): Update. (get_frame_id): Return the frame's "id". Do not set "frame". (frame_id_build): Update. (frame_id_inner): Update. (create_sentinel_frame): Do not set the "pc". (select_frame): Use get_frame_pc. (legacy_saved_regs_this_id): Use frame_id_build. (create_new_frame): Set the frame's ID. Store the PC in the sentinel frame's PC unwind cache. (legacy_get_prev_frame): Do not set "pc" or "frame". Instead use frame_pc_unwind, frame_id_build, deprecated_update_frame_pc_hack, and deprecated_update_frame_base_hack. (get_prev_frame): Do not set "pc" or "frame", instead use frame_pc_unwind. (get_frame_pc): Use frame_pc_unwind. (find_frame_sal): Use get_frame_pc. (get_frame_base): Return the frame ID's stack address. (deprecated_update_frame_base_hack): Set the frame ID's stack address. (frame_id_eq, frame_id_p, frame_id_inner, get_frame_id): Add debug print statements. * d10v-tdep.c (d10v_frame_unwind_cache): Use frame_func_unwind. (d10v_frame_this_id): Get the frame's function. (d10v_frame_this_id): Use frame_id_eq. (d10v_unwind_dummy_id): Use frame_id_build. * stack.c (print_frame_info): Use get_frame_pc. * dummy-frame.c (dummy_frame_this_id): Use frame_id_build. Update parameter to find_dummy_frame. * breakpoint.c (print_one_breakpoint): Update. * frame.h (struct frame_id): Rename "base" to "stack_addr", replace "pc" with "func_addr". (frame_id_build): Update parameter names and comment. (struct frame_info): Delete "frame" and "pc" fields. (frame_func_unwind): Declare. (get_frame_func): Declare. (struct frame_info): Add field "func".
Diffstat (limited to 'gdb/testsuite/gdb.gdbtk/browser.exp')
-rw-r--r--gdb/testsuite/gdb.gdbtk/browser.exp41
1 files changed, 0 insertions, 41 deletions
diff --git a/gdb/testsuite/gdb.gdbtk/browser.exp b/gdb/testsuite/gdb.gdbtk/browser.exp
deleted file mode 100644
index 9869bc4ee48..00000000000
--- a/gdb/testsuite/gdb.gdbtk/browser.exp
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1998, 1999, 2001 Red Hat, Inc.
-#
-# This program is free software; you can redistribute it and/or modify it
-# under the terms of the GNU General Public License (GPL) as published by
-# the Free Software Foundation; either version 2 of the License, or (at
-# your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-# GNU General Public License for more details.
-
-load_lib insight-support.exp
-
-if {[gdbtk_initialize_display]} {
- if {$tracelevel} {
- strace $tracelevel
- }
-
- #
- # test browser window
- #
- set prms_id 0
- set bug_id 0
-
- set testfile "stack"
- set binfile ${objdir}/${subdir}/${testfile}
- set r [gdb_compile "${srcdir}/${subdir}/stack1.c ${srcdir}/${subdir}/stack2.c" "${binfile}" executable {debug}]
- if { $r != "" } {
- gdb_suppress_entire_file \
- "Testcase compile failed, so some tests in this file will automatically fail."
- }
-
- # Start with a fresh gdbtk
- gdb_exit
- set results [gdbtk_start [file join $srcdir $subdir browser.test]]
- set results [split $results \n]
-
- # Analyze results
- gdbtk_done $results
-}