summaryrefslogtreecommitdiff
path: root/gdb/mem-break.c
diff options
context:
space:
mode:
authorKevin Buettner <kevinb@redhat.com>2000-07-30 01:48:28 +0000
committerKevin Buettner <kevinb@redhat.com>2000-07-30 01:48:28 +0000
commitfeb494d76a34e3ccf614ceccd68d6ce7b2f1cbd8 (patch)
treecfa1634e210020e9a0afea2b92c02c6afb77049f /gdb/mem-break.c
parent6d631e9666c66111eadeebf8a41348817e73a590 (diff)
downloadgdb-feb494d76a34e3ccf614ceccd68d6ce7b2f1cbd8.tar.gz
Diffstat (limited to 'gdb/mem-break.c')
-rw-r--r--gdb/mem-break.c20
1 files changed, 5 insertions, 15 deletions
diff --git a/gdb/mem-break.c b/gdb/mem-break.c
index 3f013c26098..881ba2fe739 100644
--- a/gdb/mem-break.c
+++ b/gdb/mem-break.c
@@ -40,9 +40,7 @@
for inserting the breakpoint. */
unsigned char *
-memory_breakpoint_from_pc (pcptr, lenptr)
- CORE_ADDR *pcptr;
- int *lenptr;
+memory_breakpoint_from_pc (CORE_ADDR *pcptr, int *lenptr)
{
/* {BIG_,LITTLE_}BREAKPOINT is the sequence of bytes we insert for a
breakpoint. On some machines, breakpoints are handled by the
@@ -84,9 +82,7 @@ memory_breakpoint_from_pc (pcptr, lenptr)
is accomplished via BREAKPOINT_MAX). */
int
-default_memory_insert_breakpoint (addr, contents_cache)
- CORE_ADDR addr;
- char *contents_cache;
+default_memory_insert_breakpoint (CORE_ADDR addr, char *contents_cache)
{
int val;
unsigned char *bp;
@@ -109,9 +105,7 @@ default_memory_insert_breakpoint (addr, contents_cache)
int
-default_memory_remove_breakpoint (addr, contents_cache)
- CORE_ADDR addr;
- char *contents_cache;
+default_memory_remove_breakpoint (CORE_ADDR addr, char *contents_cache)
{
unsigned char *bp;
int bplen;
@@ -126,17 +120,13 @@ default_memory_remove_breakpoint (addr, contents_cache)
int
-memory_insert_breakpoint (addr, contents_cache)
- CORE_ADDR addr;
- char *contents_cache;
+memory_insert_breakpoint (CORE_ADDR addr, char *contents_cache)
{
return MEMORY_INSERT_BREAKPOINT(addr, contents_cache);
}
int
-memory_remove_breakpoint (addr, contents_cache)
- CORE_ADDR addr;
- char *contents_cache;
+memory_remove_breakpoint (CORE_ADDR addr, char *contents_cache)
{
return MEMORY_REMOVE_BREAKPOINT(addr, contents_cache);
}