aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff Law <law@redhat.com>1997-11-14 20:02:46 +0000
committerJeff Law <law@redhat.com>1997-11-14 20:02:46 +0000
commite7f14399406655a939752a3ac88cca917342c1b7 (patch)
tree4f59d2ecb7cc8c54333563f8ef34c1e2a0f5fee2
parentf23e93dab0704098167aa45ef45243cc8df2fa42 (diff)
downloadgdb-e7f14399406655a939752a3ac88cca917342c1b7.zip
gdb-e7f14399406655a939752a3ac88cca917342c1b7.tar.gz
gdb-e7f14399406655a939752a3ac88cca917342c1b7.tar.bz2
* jv-exp.y (copy_exp, insert_exp): Avoid ANSI prototypes.
-rw-r--r--gdb/ChangeLog17
-rw-r--r--gdb/jv-exp.y9
2 files changed, 23 insertions, 3 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0d7bec6..a41b04c 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 <meissner@cygnus.com>
+
+ * 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 <ian@cygnus.com>
* 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 852b4d0..828a557 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;