Protoization.
authorKevin Buettner <kevinb@redhat.com>
Thu, 31 Aug 2000 03:19:06 +0000 (03:19 +0000)
committerKevin Buettner <kevinb@redhat.com>
Thu, 31 Aug 2000 03:19:06 +0000 (03:19 +0000)
gdb/ChangeLog
gdb/gnu-nat.c
gdb/hp-psymtab-read.c

index d5f75562600f076f7cd4a7161c29d86093e98429..5a6c02b96fea0cc0b1c719288f6026c90ecdd8f1 100644 (file)
@@ -1,3 +1,8 @@
+2000-08-30  Kevin Buettner  <kevinb@redhat.com>
+
+       * gnu-nat.c (gnu_xfer_memory): Protoize.
+       * hp-psymtab-read.c (scan_procs, hp_quick_traverse): Protoize.
+
 2000-08-30  Kevin Buettner  <kevinb@redhat.com>
 
        * solib.c (solib_extract_address, LM_ADDR, LM_NEXT, LM_NAME,
index ff56ffc8311aa9e6bb3002b507cd0e9fb25b69a0..6ab6abce71d2fdfe0737a49bc916d6156f26c9c9 100644 (file)
@@ -2442,14 +2442,11 @@ out:
 }
 
 \f
-/* Return 0 on failure, number of bytes handled otherwise.  */
+/* Return 0 on failure, number of bytes handled otherwise.  TARGET
+   is ignored. */
 static int
-gnu_xfer_memory (memaddr, myaddr, len, write, target)
-     CORE_ADDR memaddr;
-     char *myaddr;
-     int len;
-     int write;
-     struct target_ops *target;        /* IGNORED */
+gnu_xfer_memory (CORE_ADDR memaddr, char *myaddr, int len, int write,
+                struct target_ops *target)
 {
   task_t task = (current_inferior
                 ? (current_inferior->task
index db68c1fc10fbe714608de34544944c51752a2c56..e6718d658d93cd892bfcdb7d8a6c280d97e509f6 100644 (file)
@@ -488,20 +488,23 @@ find_next_module_isym (int index, quick_module_entry *qMD, int curr_md,
    pointed to by CURR_PD_P, and between code addresses START_ADR and END_ADR.
    Other parameters are explained in comments below. */
 
-/* This used to be inline in hpread_quick_traverse, but now that we do essentially the
-   same thing for two different cases (modules and module-less files), it's better
-   organized in a separate routine, although it does take lots of arguments. pai/1997-10-08 */
+/* This used to be inline in hpread_quick_traverse, but now that we do
+   essentially the same thing for two different cases (modules and
+   module-less files), it's better organized in a separate routine,
+   although it does take lots of arguments.  pai/1997-10-08
+   
+   CURR_PD_P is the pointer to the current proc index. QPD is the
+   procedure quick lookup table.  MAX_PROCS is the number of entries
+   in the proc. table.  START_ADR is the beginning of the code range
+   for the current psymtab.  end_adr is the end of the code range for
+   the current psymtab.  PST is the current psymtab.  VT_bits is
+   a pointer to the strings table of SOM debug space.  OBJFILE is
+   the current object file. */
 
 static int
-scan_procs (curr_pd_p, qPD, max_procs, start_adr, end_adr, pst, vt_bits, objfile)
-     int *curr_pd_p;           /* pointer to current proc index */
-     quick_procedure_entry *qPD;       /* the procedure quick lookup table */
-     int max_procs;            /* number of entries in proc. table */
-     CORE_ADDR start_adr;      /* beginning of code range for current psymtab */
-     CORE_ADDR end_adr;                /* end of code range for current psymtab */
-     struct partial_symtab *pst;       /* current psymtab */
-     char *vt_bits;            /* strings table of SOM debug space */
-     struct objfile *objfile;  /* current object file */
+scan_procs (int *curr_pd_p, quick_procedure_entry *qPD, int max_procs,
+           CORE_ADDR start_adr, CORE_ADDR end_adr, struct partial_symtab *pst,
+           char *vt_bits, struct objfile *objfile)
 {
   union dnttentry *dn_bufp;
   int symbol_count = 0;                /* Total number of symbols in this psymtab */
@@ -623,11 +626,8 @@ scan_procs (curr_pd_p, qPD, max_procs, start_adr, end_adr, pst, vt_bits, objfile
    entry for it, so in such cases we create a psymtab for the file.  */
 
 int
-hpread_quick_traverse (objfile, gntt_bits, vt_bits, pxdb_header_p)
-     struct objfile *objfile;  /* The object file descriptor */
-     char *gntt_bits;          /* GNTT entries, loaded in from the file */
-     char *vt_bits;            /* VT (string) entries ditto. */
-     PXDB_header_ptr pxdb_header_p;    /* Pointer to pxdb header ditto */
+hpread_quick_traverse (struct objfile *objfile, char *gntt_bits,
+                      char *vt_bits, PXDB_header_ptr pxdb_header_p)
 {
   struct partial_symtab *pst;
 
This page took 0.032903 seconds and 4 git commands to generate.