OSDN Git Service
(root)
/
pf3gnuchains
/
sourceware.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c3ac776
)
* remote.c (get_offsets): Only call free_symfile_segment_data if
author
drow
<drow>
Fri, 5 Oct 2007 21:36:00 +0000
(21:36 +0000)
committer
drow
<drow>
Fri, 5 Oct 2007 21:36:00 +0000
(21:36 +0000)
data was allocated.
gdb/ChangeLog
patch
|
blob
|
history
gdb/remote.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index
7659f8e
..
5244f54
100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,8
+1,12
@@
+2007-10-05 Daniel Jacobowitz <dan@codesourcery.com>
+
+ * remote.c (get_offsets): Only call free_symfile_segment_data if
+ data was allocated.
+
2007-10-03 Pierre Muller <muller@ics.u-strasbg.fr>
* objc-exp.y: ARI fix: remove 4 PARAMS.
-
2007-10-03 Daniel Jacobowitz <dan@codesourcery.com>
* NEWS: Use uniform spacing. Correct version number for GDB 6.7
diff --git
a/gdb/remote.c
b/gdb/remote.c
index
23fa18c
..
47e02fd
100644
(file)
--- a/
gdb/remote.c
+++ b/
gdb/remote.c
@@
-2134,7
+2134,8
@@
get_offsets (void)
do_sections = 0;
}
- free_symfile_segment_data (data);
+ if (data)
+ free_symfile_segment_data (data);
if (do_sections)
{