mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-10-15 20:05:46 +08:00
2002-07-03 Martin M. Hunt <hunt@redhat.com>
* event-top.c (command_line_handler): Don't read past beginning of buffer.
This commit is contained in:
@ -1,6 +1,10 @@
|
||||
2002-07-03 Martin M. Hunt <hunt@redhat.com>
|
||||
|
||||
* event-top.c (command_line_handler): Don't read past
|
||||
beginning of buffer.
|
||||
|
||||
2002-07-03 Martin M. Hunt <hunt@redhat.com>
|
||||
|
||||
* varobj.c (struct varobj_root): Change frame from CORE_ADDR to
|
||||
struct frame_id.
|
||||
(varobj_create): Store frame_id for root.
|
||||
|
@ -683,7 +683,7 @@ command_line_handler (char *rl)
|
||||
|
||||
xfree (rl); /* Allocated in readline. */
|
||||
|
||||
if (*(p - 1) == '\\')
|
||||
if (p > linebuffer && *(p - 1) == '\\')
|
||||
{
|
||||
p--; /* Put on top of '\'. */
|
||||
|
||||
|
Reference in New Issue
Block a user