- Fix crash on a watchpoint update on an inferior stop.
- Fix the s390x part of the hardware watchpoints after a fork.
This commit is contained in:
parent
ad4fdd5fb5
commit
2234aa8fd6
3 changed files with 15 additions and 11 deletions
|
|
@ -18,6 +18,10 @@
|
|||
|
||||
Port to gdb-6.7.50.20080227.
|
||||
|
||||
2008-06-01 Jan Kratochvil <jan.kratochvil@redhat.com>
|
||||
|
||||
Fix crash on a watchpoint update on an inferior stop.
|
||||
|
||||
Index: gdb-6.8/gdb/dwarf2read.c
|
||||
===================================================================
|
||||
--- gdb-6.8.orig/gdb/dwarf2read.c 2008-04-19 21:38:32.000000000 +0200
|
||||
|
|
@ -1023,15 +1027,6 @@ Index: gdb-6.8/gdb/breakpoint.c
|
|||
===================================================================
|
||||
--- gdb-6.8.orig/gdb/breakpoint.c 2008-04-19 21:38:33.000000000 +0200
|
||||
+++ gdb-6.8/gdb/breakpoint.c 2008-04-19 21:38:33.000000000 +0200
|
||||
@@ -973,7 +973,7 @@ update_watchpoint (struct breakpoint *b,
|
||||
}
|
||||
|
||||
/* Look at each value on the value chain. */
|
||||
- for (v = val_chain; v; v = next)
|
||||
+ for (v = val_chain; v; v = value_next (v))
|
||||
{
|
||||
/* If it's a memory location, and GDB actually needed
|
||||
its contents to evaluate the expression, then we
|
||||
@@ -3946,7 +3946,8 @@ describe_other_breakpoints (CORE_ADDR pc
|
||||
printf_filtered (" (thread %d)", b->thread);
|
||||
printf_filtered ("%s%s ",
|
||||
|
|
|
|||
Loading…
Reference in a new issue