This is the mail archive of the
gdb-cvs@sourceware.org
mailing list for the GDB project.
src/gdb/gdbserver ChangeLog mem-break.c mem-br ...
- From: palves at sourceware dot org
- To: gdb-cvs at sourceware dot org
- Date: 1 Apr 2010 14:26:53 -0000
- Subject: src/gdb/gdbserver ChangeLog mem-break.c mem-br ...
CVSROOT: /cvs/src
Module name: src
Changes by: palves@sourceware.org 2010-04-01 14:26:53
Modified files:
gdb/gdbserver : ChangeLog mem-break.c mem-break.h server.c
Log message:
* mem-break.c (struct raw_breakpoint): New field shlib_disabled.
(set_gdb_breakpoint_at): If GDB is inserting a breakpoint on top
of another, then delete the previous, and validate all
breakpoints.
(validate_inserted_breakpoint): New.
(delete_disabled_breakpoints): New.
(validate_breakpoints): New.
(check_mem_read): Validate breakpoints before trusting their
shadow. Delete disabled breakpoints.
(check_mem_write): Validate breakpoints before trusting they
should be inserted. Delete disabled breakpoints.
* mem-break.h (validate_breakpoints):
* server.c (handle_query): Validate breakpoints when we see a
qSymbol query.
Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/ChangeLog.diff?cvsroot=src&r1=1.347&r2=1.348
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/mem-break.c.diff?cvsroot=src&r1=1.18&r2=1.19
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/mem-break.h.diff?cvsroot=src&r1=1.15&r2=1.16
http://sourceware.org/cgi-bin/cvsweb.cgi/src/gdb/gdbserver/server.c.diff?cvsroot=src&r1=1.110&r2=1.111