aboutsummaryrefslogtreecommitdiff
path: root/gdb/cli
diff options
context:
space:
mode:
authorDaniel Jacobowitz <drow@false.org>2006-05-15 15:50:14 +0000
committerDaniel Jacobowitz <drow@false.org>2006-05-15 15:50:14 +0000
commit245c7f487f624e96be56ead109684a7684160eca (patch)
tree27572762d4f9ae53c70781cd776837321ac6b4db /gdb/cli
parentb758e50f4c55af4db5d2ed792f388ed6e56f66dc (diff)
downloadgdb-245c7f487f624e96be56ead109684a7684160eca.zip
gdb-245c7f487f624e96be56ead109684a7684160eca.tar.gz
gdb-245c7f487f624e96be56ead109684a7684160eca.tar.bz2
2006-05-15 Peter O'Gorman <gdb-patches@mlists.thewrittenword.com>
* source.c (get_current_source_symtab_and_line) (set_current_source_symtab_and_line): Use { 0 }. * cli/cli-cmds.c (list_command): Likewise.
Diffstat (limited to 'gdb/cli')
-rw-r--r--gdb/cli/cli-cmds.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/cli/cli-cmds.c b/gdb/cli/cli-cmds.c
index 88b4956..f66abde 100644
--- a/gdb/cli/cli-cmds.c
+++ b/gdb/cli/cli-cmds.c
@@ -667,9 +667,9 @@ static void
list_command (char *arg, int from_tty)
{
struct symtabs_and_lines sals, sals_end;
- struct symtab_and_line sal = { };
- struct symtab_and_line sal_end = { };
- struct symtab_and_line cursal = { };
+ struct symtab_and_line sal = { 0 };
+ struct symtab_and_line sal_end = { 0 };
+ struct symtab_and_line cursal = { 0 };
struct symbol *sym;
char *arg1;
int no_end = 1;