diff options
author | J.T. Conklin <jtc@redback.com> | 2001-01-24 21:01:02 +0000 |
---|---|---|
committer | J.T. Conklin <jtc@redback.com> | 2001-01-24 21:01:02 +0000 |
commit | 6fa89459e5e871de75275e8abb91ce7d9242610f (patch) | |
tree | c46bc65eb50106ba31b79c48b70fed4f8b00b4ae /gdb/memattr.c | |
parent | 54b46cc752b949688354826b6418582c79f8ac74 (diff) | |
download | gdb-6fa89459e5e871de75275e8abb91ce7d9242610f.tar.gz |
* dcache.c (dcache_write_line): Fix typo.
* memattr.c (delete_mem_region): Replace free() with xfree().
(mem_number): Add explicit type.
* sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
(rw_common): Likewise.
Diffstat (limited to 'gdb/memattr.c')
-rw-r--r-- | gdb/memattr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/memattr.c b/gdb/memattr.c index 5e9e9d5c04e..ba642912926 100644 --- a/gdb/memattr.c +++ b/gdb/memattr.c @@ -28,7 +28,7 @@ const struct mem_attrib default_mem_attrib = }; static struct mem_region *mem_region_chain = NULL; -static mem_number = 0; +static int mem_number = 0; static struct mem_region * create_mem_region (CORE_ADDR lo, CORE_ADDR hi, @@ -71,7 +71,7 @@ create_mem_region (CORE_ADDR lo, CORE_ADDR hi, static void delete_mem_region (struct mem_region *m) { - free (m); + xfree (m); } /* |