diff options
author | Pierre Muller <muller@sourceware.org> | 2002-07-04 12:32:29 +0000 |
---|---|---|
committer | Pierre Muller <muller@sourceware.org> | 2002-07-04 12:32:29 +0000 |
commit | 9b4f1ba7ede77d776fabb9642cbeef5091e38e1d (patch) | |
tree | df7bb7bfc72439b14137ea173ad545260a35fe5d /gdb/config | |
parent | 00f8375eddd0063911d7181574bf1fec7fec491b (diff) | |
download | gdb-9b4f1ba7ede77d776fabb9642cbeef5091e38e1d.zip gdb-9b4f1ba7ede77d776fabb9642cbeef5091e38e1d.tar.gz gdb-9b4f1ba7ede77d776fabb9642cbeef5091e38e1d.tar.bz2 |
2002-07-04 Pierre Muller <muller@ics.u-strasbg.fr>
* i386-nat.c (child_post_startup_inferior): New function
calling i386_cleanup_dregs if
I386_USE_GENERIC_WATCHPOINTS is defined.
* config/i386/nm-i386.h: define CHILD_POST_STARTUP_INFERIOR
conditional to acknowledge that i386-nat.c has its
own child_post_startup_inferior function.
Diffstat (limited to 'gdb/config')
-rw-r--r-- | gdb/config/i386/nm-i386.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/config/i386/nm-i386.h b/gdb/config/i386/nm-i386.h index 500bf7b..eed05a4 100644 --- a/gdb/config/i386/nm-i386.h +++ b/gdb/config/i386/nm-i386.h @@ -115,6 +115,10 @@ extern int i386_remove_hw_breakpoint (CORE_ADDR addr, void *shadow); #define DECR_PC_AFTER_HW_BREAK 0 +/* child_post_startup_inferior used to + reset all debug registers by calling i386_cleanup_dregs (). */ +#define CHILD_POST_STARTUP_INFERIOR + #endif /* I386_USE_GENERIC_WATCHPOINTS */ #endif /* NM_I386_H */ |