OSDN Git Service
(root)
/
pf3gnuchains
/
pf3gnuchains4x.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0efd9cd
)
2007-07-31 Michael Snyder <msnyder@access-company.com>
author
msnyder
<msnyder>
Tue, 31 Jul 2007 22:01:03 +0000
(22:01 +0000)
committer
msnyder
<msnyder>
Tue, 31 Jul 2007 22:01:03 +0000
(22:01 +0000)
* event-top.c (command_line_handler): Add pedantic return.
gdb/ChangeLog
patch
|
blob
|
history
gdb/event-top.c
patch
|
blob
|
history
diff --git
a/gdb/ChangeLog
b/gdb/ChangeLog
index
346f915
..
cedaf0e
100644
(file)
--- a/
gdb/ChangeLog
+++ b/
gdb/ChangeLog
@@
-1,5
+1,7
@@
2007-07-31 Michael Snyder <msnyder@access-company.com>
+ * event-top.c (command_line_handler): Add pedantic return.
+
* f-valprint.c (info_common_command): Bail out to prevent null
pointer deref. Break up a long line.
diff --git
a/gdb/event-top.c
b/gdb/event-top.c
index
eecff5a
..
b9124ec
100644
(file)
--- a/
gdb/event-top.c
+++ b/
gdb/event-top.c
@@
-673,6
+673,7
@@
command_line_handler (char *rl)
{
got_eof = 1;
command_handler (0);
+ return; /* Lint. */
}
if (strlen (rl) + 1 + (p - linebuffer) > linelength)
{