aboutsummaryrefslogtreecommitdiff
path: root/gdb
diff options
context:
space:
mode:
authorElena Zannoni <ezannoni@kwikemart.cygnus.com>2001-07-17 17:25:14 +0000
committerElena Zannoni <ezannoni@kwikemart.cygnus.com>2001-07-17 17:25:14 +0000
commitd0c8cdfbfd50818b2958a12932fc64c1fdd8f163 (patch)
tree50aa3744686f8a2b3e5802383587c2295501bc04 /gdb
parenta48012103163973812bd1c77f6f357644d029376 (diff)
downloadgdb-d0c8cdfbfd50818b2958a12932fc64c1fdd8f163.zip
gdb-d0c8cdfbfd50818b2958a12932fc64c1fdd8f163.tar.gz
gdb-d0c8cdfbfd50818b2958a12932fc64c1fdd8f163.tar.bz2
2001-07-17 Elena Zannoni <ezannoni@redhat.com>
* top.c (catch_errors): Convert PTR to void * in parameters list. (quit_cover): Ditto.
Diffstat (limited to 'gdb')
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/top.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 7d64d80..be41aa8 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2001-07-17 Elena Zannoni <ezannoni@redhat.com>
+
+ * top.c (catch_errors): Convert PTR to void * in parameters list.
+ (quit_cover): Ditto.
+
2001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
* source.c (find_source_lines): Remove tui test, must be replaced
diff --git a/gdb/top.c b/gdb/top.c
index a749afe..4149719 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -378,7 +378,7 @@ return_to_top_level (enum return_reason reason)
between utils.c and top.c? */
int
-catch_errors (catch_errors_ftype *func, PTR args, char *errstring,
+catch_errors (catch_errors_ftype *func, void * args, char *errstring,
return_mask mask)
{
SIGJMP_BUF *saved_catch;
@@ -512,7 +512,7 @@ catch_command_errors (catch_command_errors_ftype * command,
gdb to use the event loop as the default command loop and we merge
event-top.c into this file, top.c */
/* static */ int
-quit_cover (PTR s)
+quit_cover (void *s)
{
caution = 0; /* Throw caution to the wind -- we're exiting.
This prevents asking the user dumb questions. */