projects
/
deliverable
/
binutils-gdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Phase 1 of the ptid_t changes.
[deliverable/binutils-gdb.git]
/
gdb
/
hp-psymtab-read.c
diff --git
a/gdb/hp-psymtab-read.c
b/gdb/hp-psymtab-read.c
index e6718d658d93cd892bfcdb7d8a6c280d97e509f6..ad001d300d65b19c4a5f300a1889d8e389d5dd49 100644
(file)
--- a/
gdb/hp-psymtab-read.c
+++ b/
gdb/hp-psymtab-read.c
@@
-1,5
+1,5
@@
/* Read hp debug symbols and convert to internal format, for GDB.
/* Read hp debug symbols and convert to internal format, for GDB.
- Copyright 1993, 1996, 1998, 1999 Free Software Foundation, Inc.
+ Copyright 1993, 1996, 1998, 1999
, 2000
Free Software Foundation, Inc.
This file is part of GDB.
This file is part of GDB.
@@
-70,7
+70,7
@@
static struct partial_symtab *hpread_end_psymtab
#include <stdlib.h>
#include <string.h>
#include <stdlib.h>
#include <string.h>
-/* check for the exist
a
nce of a file, given its full pathname */
+/* check for the exist
e
nce of a file, given its full pathname */
int
file_exists (char *filename)
{
int
file_exists (char *filename)
{
@@
-103,7
+103,7
@@
static char main_string[] = "main";
/* Call PXDB to process our file.
Approach copied from DDE's "dbgk_run_pxdb". Note: we
/* Call PXDB to process our file.
Approach copied from DDE's "dbgk_run_pxdb". Note: we
- don't check for BSD location of pxdb, nor for exist
a
nce
+ don't check for BSD location of pxdb, nor for exist
e
nce
of pxdb itself, etc.
NOTE: uses system function and string functions directly.
of pxdb itself, etc.
NOTE: uses system function and string functions directly.
@@
-118,7
+118,7
@@
hpread_call_pxdb (char *file_name)
if (file_exists (PXDB_SVR4))
{
if (file_exists (PXDB_SVR4))
{
- p = malloc (strlen (PXDB_SVR4) + strlen (file_name) + 2);
+ p =
x
malloc (strlen (PXDB_SVR4) + strlen (file_name) + 2);
strcpy (p, PXDB_SVR4);
strcat (p, " ");
strcat (p, file_name);
strcpy (p, PXDB_SVR4);
strcat (p, " ");
strcat (p, file_name);
@@
-381,7
+381,7
@@
clear_pst_syms (void)
{
pst_syms_count = 0;
pst_syms_size = 0;
{
pst_syms_count = 0;
pst_syms_size = 0;
- free (pst_syms_array);
+
x
free (pst_syms_array);
pst_syms_array = 0;
}
pst_syms_array = 0;
}
@@
-946,7
+946,7
@@
hpread_quick_traverse (struct objfile *objfile, char *gntt_bits,
static_syms);
/* Set up to only enter each class referenced in this module once. */
static_syms);
/* Set up to only enter each class referenced in this module once. */
- class_entered = malloc (B_BYTES (pxdb_header_p->cd_entries));
+ class_entered =
x
malloc (B_BYTES (pxdb_header_p->cd_entries));
B_CLRALL (class_entered, pxdb_header_p->cd_entries);
/* Scan the procedure descriptors for procedures in the current
B_CLRALL (class_entered, pxdb_header_p->cd_entries);
/* Scan the procedure descriptors for procedures in the current
@@
-1025,7
+1025,7
@@
hpread_quick_traverse (struct objfile *objfile, char *gntt_bits,
/* Prepare for the next psymtab. */
global_syms = objfile->global_psymbols.next;
static_syms = objfile->static_psymbols.next;
/* Prepare for the next psymtab. */
global_syms = objfile->global_psymbols.next;
static_syms = objfile->static_psymbols.next;
- free (class_entered);
+
x
free (class_entered);
curr_fd++;
} /* Psymtab for file */
curr_fd++;
} /* Psymtab for file */
@@
-1174,7
+1174,7
@@
hpread_quick_traverse (struct objfile *objfile, char *gntt_bits,
static_syms);
/* Set up to only enter each class referenced in this module once. */
static_syms);
/* Set up to only enter each class referenced in this module once. */
- class_entered = malloc (B_BYTES (pxdb_header_p->cd_entries));
+ class_entered =
x
malloc (B_BYTES (pxdb_header_p->cd_entries));
B_CLRALL (class_entered, pxdb_header_p->cd_entries);
/* Scan the procedure descriptors for procedures in the current
B_CLRALL (class_entered, pxdb_header_p->cd_entries);
/* Scan the procedure descriptors for procedures in the current
@@
-1254,7
+1254,7
@@
hpread_quick_traverse (struct objfile *objfile, char *gntt_bits,
/* Prepare for the next psymtab. */
global_syms = objfile->global_psymbols.next;
static_syms = objfile->static_psymbols.next;
/* Prepare for the next psymtab. */
global_syms = objfile->global_psymbols.next;
static_syms = objfile->static_psymbols.next;
- free (class_entered);
+
x
free (class_entered);
curr_md++;
curr_fd++;
curr_md++;
curr_fd++;
@@
-2104,8
+2104,8
@@
hpread_get_slt (int index, struct objfile *objfile)
/* Get the low address associated with some symbol (typically the start
of a particular source file or module). Since that information is not
/* Get the low address associated with some symbol (typically the start
of a particular source file or module). Since that information is not
- stored as part of the DNTT_TYPE_MODULE or DNTT_TYPE_SRCFILE symbol we
must infer it from
-
the exista
nce of DNTT_TYPE_FUNCTION symbols. */
+ stored as part of the DNTT_TYPE_MODULE or DNTT_TYPE_SRCFILE symbol we
+
must infer it from the existe
nce of DNTT_TYPE_FUNCTION symbols. */
static unsigned long
hpread_get_textlow (int global, int index, struct objfile *objfile,
static unsigned long
hpread_get_textlow (int global, int index, struct objfile *objfile,
This page took
0.025382 seconds
and
4
git commands to generate.