summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Elliston <bje@au.ibm.com>2005-04-28 23:45:07 +0000
committerBen Elliston <bje@au.ibm.com>2005-04-28 23:45:07 +0000
commitd36fa64f586af3050ea3aa0dc232bdafdaa7a929 (patch)
tree3479203237c4b78f781898ac6e43c9bf9d9de487
parentd03d416755ef44b304458edb18e975091c7f3971 (diff)
downloadgdb-d36fa64f586af3050ea3aa0dc232bdafdaa7a929.tar.gz
* generic/gdbtk-interp.c (gdbtk_interpreter_exec): Return struct
gdb_exception due to the 2005-04-26 renaming of struct exception. * generic/gdbtk.c (gdbtk_source_start_file): Likewise.
-rw-r--r--gdb/gdbtk/ChangeLog6
-rw-r--r--gdb/gdbtk/generic/gdbtk-interp.c2
-rw-r--r--gdb/gdbtk/generic/gdbtk.c2
3 files changed, 8 insertions, 2 deletions
diff --git a/gdb/gdbtk/ChangeLog b/gdb/gdbtk/ChangeLog
index 8b1d3940bd4..ba082d5b7b7 100644
--- a/gdb/gdbtk/ChangeLog
+++ b/gdb/gdbtk/ChangeLog
@@ -1,3 +1,9 @@
+2005-04-28 Ben Elliston <bje@au.ibm.com>
+
+ * generic/gdbtk-interp.c (gdbtk_interpreter_exec): Return struct
+ gdb_exception due to the 2005-04-26 renaming of struct exception.
+ * generic/gdbtk.c (gdbtk_source_start_file): Likewise.
+
2005-02-25 Keith Seitz <kseitz@sources.redhat.com>
* generic/gdbtk.c (gdbtk_source_start_file): In the _WIN32 case,
diff --git a/gdb/gdbtk/generic/gdbtk-interp.c b/gdb/gdbtk/generic/gdbtk-interp.c
index 0c6cb9ec9e7..0e668352f3a 100644
--- a/gdb/gdbtk/generic/gdbtk-interp.c
+++ b/gdb/gdbtk/generic/gdbtk-interp.c
@@ -113,7 +113,7 @@ gdbtk_interpreter_display_prompt_p (void *data)
return 1;
}
-static struct exception
+static struct gdb_exception
gdbtk_interpreter_exec (void *data, const char *command_str)
{
return exception_none;
diff --git a/gdb/gdbtk/generic/gdbtk.c b/gdb/gdbtk/generic/gdbtk.c
index 8324f74c6bd..778b082c4bd 100644
--- a/gdb/gdbtk/generic/gdbtk.c
+++ b/gdb/gdbtk/generic/gdbtk.c
@@ -635,7 +635,7 @@ gdbtk_find_main";
get to see the failure reason. */
MessageBox (NULL, msg, NULL, MB_OK | MB_ICONERROR | MB_TASKMODAL);
{
- struct exception e;
+ struct gdb_exception e;
e.reason = RETURN_ERROR;
e.error = GENERIC_ERROR;
e.message = msg;