diff options
author | Hui Zhu <teawater@gmail.com> | 2011-07-14 04:46:42 +0000 |
---|---|---|
committer | Hui Zhu <teawater@gmail.com> | 2011-07-14 04:46:42 +0000 |
commit | f652de6f62870f7dec1b866494cbecef8a04b4ed (patch) | |
tree | 85e1457483291b2f9f67661e7afcb6fdc4d73288 /gdb | |
parent | 2dddba2e0ee07fbad397fcbc116734e46baa1f72 (diff) | |
download | gdb-f652de6f62870f7dec1b866494cbecef8a04b4ed.zip gdb-f652de6f62870f7dec1b866494cbecef8a04b4ed.tar.gz gdb-f652de6f62870f7dec1b866494cbecef8a04b4ed.tar.bz2 |
2011-07-14 Hui Zhu <teawater@gmail.com>
* remote.c (remote_get_trace_status): Initialize p.
Diffstat (limited to 'gdb')
-rw-r--r-- | gdb/ChangeLog | 4 | ||||
-rw-r--r-- | gdb/remote.c | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog index 6d2ee2c..b2d01ee 100644 --- a/gdb/ChangeLog +++ b/gdb/ChangeLog @@ -1,3 +1,7 @@ +2011-07-14 Hui Zhu <teawater@gmail.com> + + * remote.c (remote_get_trace_status): Initialize p. + 2011-07-13 Jan Kratochvil <jan.kratochvil@redhat.com> Work around kgdb. diff --git a/gdb/remote.c b/gdb/remote.c index f9059e6..05a3dc8 100644 --- a/gdb/remote.c +++ b/gdb/remote.c @@ -10042,7 +10042,7 @@ remote_trace_start (void) static int remote_get_trace_status (struct trace_status *ts) { - char *p; + char *p = NULL; /* FIXME we need to get register block size some other way. */ extern int trace_regblock_size; volatile struct gdb_exception ex; |