summaryrefslogtreecommitdiff
path: root/gdb/interps.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2005-04-26 05:03:41 +0000
committerAndrew Cagney <cagney@redhat.com>2005-04-26 05:03:41 +0000
commit71fff37b08f261319956b121244752a31940b7d3 (patch)
tree3919050a2c2b657c32f52f83262fb41c2efd6100 /gdb/interps.c
parentc631edf1cc79aa305924c762642b9160cae94e2d (diff)
downloadbinutils-gdb-71fff37b08f261319956b121244752a31940b7d3.tar.gz
2005-04-26 Andrew Cagney <cagney@gnu.org>
Rename 'struct exception' to 'struct gdb_exception'. * wrapper.c: Update. * varobj.c: Update. * tui/tui-interp.c: Update. * remote.c: Update. * mi/mi-main.c: Update. * mi/mi-interp.c: Update. * linux-thread-db.c: Update. * interps.h: Update. * interps.c: Update. * exceptions.h: Update. * exceptions.c: Update. * dwarf2loc.c: Update. * cli/cli-interp.c: Update. * cli/cli-script.c: Update. * breakpoint.c: Update.
Diffstat (limited to 'gdb/interps.c')
-rw-r--r--gdb/interps.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/interps.c b/gdb/interps.c
index 97befa70336..29cfe202b79 100644
--- a/gdb/interps.c
+++ b/gdb/interps.c
@@ -305,7 +305,7 @@ interp_exec_p (struct interp *interp)
return interp->procs->exec_proc != NULL;
}
-struct exception
+struct gdb_exception
interp_exec (struct interp *interp, const char *command_str)
{
if (interp->procs->exec_proc != NULL)
@@ -398,7 +398,7 @@ interpreter_exec_cmd (char *args, int from_tty)
for (i = 1; i < nrules; i++)
{
- struct exception e = interp_exec (interp_to_use, prules[i]);
+ struct gdb_exception e = interp_exec (interp_to_use, prules[i]);
if (e.reason < 0)
{
interp_set (old_interp);