mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2024-11-24 12:39:59 +00:00
2004-01-17 Andrew Cagney <cagney@redhat.com>
* mdebugread.c (compare_blocks): Make addr_diff a LONGEST. * block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK enums.
This commit is contained in:
parent
29182b132f
commit
887432a5a5
@ -1,3 +1,9 @@
|
||||
2004-01-17 Andrew Cagney <cagney@redhat.com>
|
||||
|
||||
* mdebugread.c (compare_blocks): Make addr_diff a LONGEST.
|
||||
* block.h: Make GLOBAL_BLOCK, STATIC_BLOCK, FIRST_LOCAL_BLOOCK
|
||||
enums.
|
||||
|
||||
2004-01-17 Daniel Jacobowitz <drow@mvista.com>
|
||||
|
||||
* remote.c: Update copyright years.
|
||||
|
@ -139,9 +139,7 @@ struct blockvector
|
||||
|
||||
/* Special block numbers */
|
||||
|
||||
#define GLOBAL_BLOCK 0
|
||||
#define STATIC_BLOCK 1
|
||||
#define FIRST_LOCAL_BLOCK 2
|
||||
enum { GLOBAL_BLOCK = 0, STATIC_BLOCK = 1, FIRST_LOCAL_BLOCK = 2 };
|
||||
|
||||
extern struct symbol *block_function (const struct block *);
|
||||
|
||||
|
@ -4509,7 +4509,7 @@ add_line (struct linetable *lt, int lineno, CORE_ADDR adr, int last)
|
||||
static int
|
||||
compare_blocks (const void *arg1, const void *arg2)
|
||||
{
|
||||
int addr_diff;
|
||||
LONGEST addr_diff;
|
||||
struct block **b1 = (struct block **) arg1;
|
||||
struct block **b2 = (struct block **) arg2;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user