From e7f14399406655a939752a3ac88cca917342c1b7 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Fri, 14 Nov 1997 20:02:46 +0000 Subject: [PATCH] * jv-exp.y (copy_exp, insert_exp): Avoid ANSI prototypes. --- gdb/ChangeLog | 17 +++++++++++++++++ gdb/jv-exp.y | 9 ++++++--- 2 files changed, 23 insertions(+), 3 deletions(-) diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 0d7bec66ec..a41b04cd16 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,20 @@ +Fri Nov 14 13:04:34 1997 Jeffrey A Law (law@cygnus.com) + + * jv-exp.y (copy_exp, insert_exp): Avoid ANSI prototypes. + +Thu Nov 13 09:47:35 1997 Michael Meissner + + * d30v-tdep.c (d30v_print_flags): Function to print the d30v flags + in a human readable format. + (print_flags_command): Command wrapper to call d30v_print_flags. + (d30v_do_registers_info): When printing out all of the registers, + print out the flag values in a human readable fashion. + (_initialize_d30v_tdep): Add info flags command to print the + flags. + + * config/d30v/tm-d30v.h (PSW_*): Add macros for each of the PSW + bits that are defined. + Mon Nov 10 15:13:13 1997 Ian Lance Taylor * valprint.c (print_longest): The b, h, w, and g format specifiers diff --git a/gdb/jv-exp.y b/gdb/jv-exp.y index 852b4d09e2..828a557e4f 100644 --- a/gdb/jv-exp.y +++ b/gdb/jv-exp.y @@ -1406,7 +1406,9 @@ push_expression_name (name) into a freshly malloc'ed struct expression. Its language_defn is set to null. */ static struct expression * -copy_exp (struct expression *expr, int endpos) +copy_exp (expr, endpos) + struct expression *expr; + int endpos; { int len = length_of_subexp (expr, endpos); struct expression *new @@ -1420,8 +1422,9 @@ copy_exp (struct expression *expr, int endpos) /* Insert the expression NEW into the current expression (expout) at POS. */ static void -insert_exp (int pos, - struct expression *new) +insert_exp (pos, new) + int pos; + struct expression *new; { int newlen = new->nelts;