diff options
author | Michael Snyder <msnyder@vmware.com> | 2011-03-05 22:02:47 +0000 |
---|---|---|
committer | Michael Snyder <msnyder@vmware.com> | 2011-03-05 22:02:47 +0000 |
commit | 82ae4854632a42a7d7d74b6cdb8da9be7890976c (patch) | |
tree | ca22e9945a4cd35a3ac60f97bae8de6898050719 | |
parent | e3aa49afd531648e9ec803d3b4f71efbedbc54ee (diff) | |
download | gdb-82ae4854632a42a7d7d74b6cdb8da9be7890976c.zip gdb-82ae4854632a42a7d7d74b6cdb8da9be7890976c.tar.gz gdb-82ae4854632a42a7d7d74b6cdb8da9be7890976c.tar.bz2 |
2011-03-05 Michael Snyder <msnyder@vmware.com>
* dwarf2expr.c (execute_stack_op): Delete superfluous semicolon.
* mdebugread.c (parse_symbol): Ditto.
* parse.c (parse_exp_in_context): Ditto.
* source.c (add_path): Ditto.
* utils.c (gnu_debuglink_crc32): Ditto.
* varobj.c (variable_language): Ditto.
-rw-r--r-- | gdb/ChangeLog | 7 | ||||
-rw-r--r-- | gdb/dwarf2expr.c | 2 | ||||
-rw-r--r-- | gdb/mdebugread.c | 2 | ||||
-rw-r--r-- | gdb/parse.c | 2 | ||||
-rw-r--r-- | gdb/source.c | 2 | ||||
-rw-r--r-- | gdb/utils.c | 2 | ||||
-rw-r--r-- | gdb/varobj.c | 2 |
7 files changed, 13 insertions, 6 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 8336b7f..f8cfb11 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,5 +1,12 @@ 2011-03-05 Michael Snyder <msnyder@vmware.com> + * dwarf2expr.c (execute_stack_op): Delete superfluous semicolon. + * mdebugread.c (parse_symbol): Ditto. + * parse.c (parse_exp_in_context): Ditto. + * source.c (add_path): Ditto. + * utils.c (gnu_debuglink_crc32): Ditto. + * varobj.c (variable_language): Ditto. + * linux-tdep.c (linux_get_siginfo_type): Stop memory leak. 2011-03-04 Michael Snyder <msnyder@vmware.com> diff --git a/gdb/dwarf2expr.c b/gdb/dwarf2expr.c index afe6dde..450a57f 100644 --- a/gdb/dwarf2expr.c +++ b/gdb/dwarf2expr.c @@ -911,7 +911,7 @@ execute_stack_op (struct dwarf_expr_context *ctx, /* Most things push a result value. */ dwarf_expr_push (ctx, result, in_stack_memory); - no_push:; + no_push: } /* To simplify our main caller, if the result is an implicit diff --git a/gdb/mdebugread.c b/gdb/mdebugread.c index 1c65609..d99ad16 100644 --- a/gdb/mdebugread.c +++ b/gdb/mdebugread.c @@ -943,7 +943,7 @@ parse_symbol (SYMR *sh, union aux_ext *ax, char *ext_sh, int bigend, tsym.st); } } - end_of_fields:; + end_of_fields: /* In an stBlock, there is no way to distinguish structs, unions, and enums at this point. This is a bug in the diff --git a/gdb/parse.c b/gdb/parse.c index 856c24d..02a7d89 100644 --- a/gdb/parse.c +++ b/gdb/parse.c @@ -1160,7 +1160,7 @@ parse_exp_in_context (char **stringptr, struct block *block, int comma, expout->nelts = expout_ptr; expout = (struct expression *) xrealloc ((char *) expout, - sizeof (struct expression) + EXP_ELEM_TO_BYTES (expout_ptr));; + sizeof (struct expression) + EXP_ELEM_TO_BYTES (expout_ptr)); /* Convert expression from postfix form as generated by yacc parser, to a prefix form. */ diff --git a/gdb/source.c b/gdb/source.c index a14a802..4eda082 100644 --- a/gdb/source.c +++ b/gdb/source.c @@ -625,7 +625,7 @@ add_path (char *dirname, char **which_path, int parse_separators) old = *which_path; } } - skip_dup:; + skip_dup: } while (arg != NULL); } diff --git a/gdb/utils.c b/gdb/utils.c index 91e6af4..e688d19 100644 --- a/gdb/utils.c +++ b/gdb/utils.c @@ -3733,7 +3733,7 @@ gnu_debuglink_crc32 (unsigned long crc, unsigned char *buf, size_t len) crc = ~crc & 0xffffffff; for (end = buf + len; buf < end; ++buf) crc = crc32_table[(crc ^ *buf) & 0xff] ^ (crc >> 8); - return ~crc & 0xffffffff;; + return ~crc & 0xffffffff; } ULONGEST diff --git a/gdb/varobj.c b/gdb/varobj.c index 08a1af3..12b0b16 100644 --- a/gdb/varobj.c +++ b/gdb/varobj.c @@ -2358,7 +2358,7 @@ variable_language (struct varobj *var) static int number_of_children (struct varobj *var) { - return (*var->root->lang->number_of_children) (var);; + return (*var->root->lang->number_of_children) (var); } /* What is the expression for the root varobj VAR? Returns a malloc'd |