projects
/
binutils-gdb.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9d62cbd
)
* mipsread.c (parse_symbol): Set startup_file_{start,end} if
author
Jim Kingdon
<jkingdon@engr.sgi.com>
Sat, 20 Apr 1991 03:27:04 +0000
(
03:27
+0000)
committer
Jim Kingdon
<jkingdon@engr.sgi.com>
Sat, 20 Apr 1991 03:27:04 +0000
(
03:27
+0000)
entry_point is in current file.
gdb/mipsread.c
patch
|
blob
|
history
diff --git
a/gdb/mipsread.c
b/gdb/mipsread.c
index e4804acab6a85cdb778662d8caea257244e878a6..1e1202c313703a30bbd5bf7d4e281d735f8f742c 100644
(file)
--- a/
gdb/mipsread.c
+++ b/
gdb/mipsread.c
@@
-1224,6
+1224,11
@@
data: /* Common code for symbols describing data */
BLOCK_END(b_bad) = BLOCK_END(b);
}
}
+ if (entry_point < BLOCK_END(b)
+ && entry_point >= BLOCK_START(b)) {
+ startup_file_start = BLOCK_START(b);
+ startup_file_end = BLOCK_END(b);
+ }
} else if (sh->sc == scText && top_stack->blocktype == stBlock) {
/* End of (code) block. The value of the symbol
is the displacement from the procedure`s start