diff options
author | Andrew Cagney <cagney@redhat.com> | 2003-01-18 15:55:53 +0000 |
---|---|---|
committer | Andrew Cagney <cagney@redhat.com> | 2003-01-18 15:55:53 +0000 |
commit | a8f2ec5f48af6f669a6bf96dc0dc21583eb8942c (patch) | |
tree | 9fbba25e642431ad057a293803acebd24304da03 /gdb/hpread.c | |
parent | 8a4d187339907aa6ead7102b27e51aebc226d264 (diff) | |
download | gdb-a8f2ec5f48af6f669a6bf96dc0dc21583eb8942c.tar.gz |
2003-01-18 Andrew Cagney <ac131313@redhat.com>
* ada-valprint.c: Eliminate PTR.
* breakpoint.c, corelow.c, cris-tdep.c, dbxread.c: Ditto.
* defs.h, dve3900-rom.c, dwarf2read.c, dwarfread.c: Ditto.
* exec.c, hppa-tdep.c, hpread.c, infcmd.c, mdebugread.c: Ditto.
* objfiles.c, objfiles.h, ocd.c, remote-es.c: Ditto.
* remote-mips.c, remote-sds.c, remote-vx.c: Ditto.
* solib-svr4.c, solib.c, stack.c, symfile.c, symfile.h: Ditto.
* symmisc.c, v850ice.c, xcoffread.c, cli/cli-script.c: Ditto.
Diffstat (limited to 'gdb/hpread.c')
-rw-r--r-- | gdb/hpread.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gdb/hpread.c b/gdb/hpread.c index adcfc450be0..bf532667273 100644 --- a/gdb/hpread.c +++ b/gdb/hpread.c @@ -1664,7 +1664,7 @@ hpread_symfile_init (struct objfile *objfile) asection *vt_section, *slt_section, *lntt_section, *gntt_section; /* Allocate struct to keep track of the symfile */ - objfile->sym_private = (PTR) + objfile->sym_private = xmmalloc (objfile->md, sizeof (struct hpread_symfile_info)); memset (objfile->sym_private, 0, sizeof (struct hpread_symfile_info)); @@ -1959,7 +1959,7 @@ hpread_build_psymtabs (struct objfile *objfile, int mainline) psymtab_include_list = (char **) alloca ((includes_allocated *= 2) * sizeof (char *)); - memcpy ((PTR) psymtab_include_list, (PTR) orig, + memcpy (psymtab_include_list, orig, includes_used * sizeof (char *)); } continue; |