summaryrefslogtreecommitdiffstats
path: root/gdb/utils.c
diff options
context:
space:
mode:
authorStan Shebs <shebs@codesourcery.com>1999-09-09 00:02:17 +0000
committerStan Shebs <shebs@codesourcery.com>1999-09-09 00:02:17 +0000
commitd4f3574e777abfa65c9ba134e582228f3f32a8d6 (patch)
tree408b74c26833555087f04f4ec466afd488af6087 /gdb/utils.c
parent325188ecac3a52d92d359c70f9b730470760e1d7 (diff)
downloadppe42-binutils-d4f3574e777abfa65c9ba134e582228f3f32a8d6.tar.gz
ppe42-binutils-d4f3574e777abfa65c9ba134e582228f3f32a8d6.zip
import gdb-1999-09-08 snapshot
Diffstat (limited to 'gdb/utils.c')
-rw-r--r--gdb/utils.c11
1 files changed, 8 insertions, 3 deletions
diff --git a/gdb/utils.c b/gdb/utils.c
index ccb4489a36..bd42ee2cd3 100644
--- a/gdb/utils.c
+++ b/gdb/utils.c
@@ -996,9 +996,7 @@ print_spaces (n, file)
/* Print a host address. */
void
-gdb_print_address (addr, stream)
- PTR addr;
- GDB_FILE *stream;
+gdb_print_host_address (void *addr, struct gdb_file *stream)
{
/* We could use the %p conversion specifier to fprintf if we had any
@@ -3200,6 +3198,13 @@ get_cell ()
*/
+int
+strlen_paddr (void)
+{
+ return (TARGET_PTR_BIT / 8 * 2);
+}
+
+
/* eliminate warning from compiler on 32-bit systems */
static int thirty_two = 32;
OpenPOWER on IntegriCloud