aboutsummaryrefslogtreecommitdiff
path: root/gdb/breakpoint.c
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2011-03-31 11:19:54 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2011-03-31 11:19:54 +0000
commit02d20e4a1097a1fa64fe9cbf7a6605abe442e735 (patch)
tree66f2f8f9f783c38483f396cd843089d4c62914c2 /gdb/breakpoint.c
parent083faca904b9186ace2086deb7126a1b15f23f4a (diff)
downloadgdb-02d20e4a1097a1fa64fe9cbf7a6605abe442e735.zip
gdb-02d20e4a1097a1fa64fe9cbf7a6605abe442e735.tar.gz
gdb-02d20e4a1097a1fa64fe9cbf7a6605abe442e735.tar.bz2
* breakpoint.c (addr_string_to_sals): Avoid uninitialized
variable compiler warning.
Diffstat (limited to 'gdb/breakpoint.c')
-rw-r--r--gdb/breakpoint.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/breakpoint.c b/gdb/breakpoint.c
index f07ee10..ed7c1c1 100644
--- a/gdb/breakpoint.c
+++ b/gdb/breakpoint.c
@@ -10584,7 +10584,7 @@ addr_string_to_sals (struct breakpoint *b, char *addr_string, int *found)
{
char *s;
int marker_spec, not_found;
- struct symtabs_and_lines sals;
+ struct symtabs_and_lines sals = {0};
struct gdb_exception e;
s = addr_string;