diff options
author | Ian Lance Taylor <ian@airs.com> | 1993-03-22 20:41:20 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1993-03-22 20:41:20 +0000 |
commit | 5f5341a71f2875ebdb3b657784da12de724641c6 (patch) | |
tree | ef35a6f32cacd84673e5e08f605df668691f43ee /gdb/mipsread.c | |
parent | 1a3579dfb18f47a10965a5f3a5d94b266db1bbd3 (diff) | |
download | gdb-5f5341a71f2875ebdb3b657784da12de724641c6.zip gdb-5f5341a71f2875ebdb3b657784da12de724641c6.tar.gz gdb-5f5341a71f2875ebdb3b657784da12de724641c6.tar.bz2 |
* mipsread.c (compare_blocks): Sort blocks with the same start
address by decreasing ending address.
Diffstat (limited to 'gdb/mipsread.c')
-rw-r--r-- | gdb/mipsread.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/mipsread.c b/gdb/mipsread.c index 9b8a240..bd46af7 100644 --- a/gdb/mipsread.c +++ b/gdb/mipsread.c @@ -2853,7 +2853,7 @@ compare_blocks (arg1, arg2) addr_diff = (BLOCK_START ((*b1))) - (BLOCK_START ((*b2))); if (addr_diff == 0) - return (BLOCK_END ((*b1))) - (BLOCK_END ((*b2))); + return (BLOCK_END ((*b2))) - (BLOCK_END ((*b1))); return addr_diff; } |