* mipsread.c: Create a .gdbinfo pseudo-symbol for each
authorStu Grossman <grossman@cygnus>
Tue, 7 Apr 1992 06:21:33 +0000 (06:21 +0000)
committerStu Grossman <grossman@cygnus>
Tue, 7 Apr 1992 06:21:33 +0000 (06:21 +0000)
function also when parsing embedded stabs.

gdb/ChangeLog
gdb/mipsread.c

index 0ed395d629079e491356f8e0970589487ec44a2e..8fe16bd67798402926788a463a51eb76fcb8007e 100644 (file)
@@ -5,6 +5,8 @@ Mon Apr  6 17:25:45 1992  Per Bothner  (bothner@cygnus.com)
 
 Mon Apr  6 15:25:03 1992  Stu Grossman  (grossman at cygnus.com)
 
+       * mipsread.c:  Fix more declarations.
+
        * mipsread.c:  Fix many invocations of complain.  Use enum
        type_code where appropriate.
 
index f063e3350f78977e4d957798a36fc95cd4312aac..4a3e45a2e668fbad1dd2e7943e51028075f7a7cb 100644 (file)
@@ -259,7 +259,7 @@ static void
 sort_blocks PARAMS ((struct symtab *));
 
 static int
-compare_blocks PARAMS ((struct block **, struct block **));
+compare_blocks PARAMS ((const void *, const void *));
 
 static struct partial_symtab *
 new_psymtab PARAMS ((char *, struct objfile *));
@@ -2610,10 +2610,12 @@ add_line(lt, lineno, adr, last)
 /* Blocks with a smaller low bound should come first */
 
 static int
-compare_blocks(b1, b2)
-       struct block **b1, **b2;
+compare_blocks(arg1, arg2)
+     const void *arg1, *arg2;
 {
        register int addr_diff;
+       struct block **b1 = (struct block **) arg1;
+       struct block **b2 = (struct block **) arg2;
 
        addr_diff = (BLOCK_START((*b1))) - (BLOCK_START((*b2)));
        if (addr_diff == 0)
This page took 0.028314 seconds and 4 git commands to generate.