* symtab.c (find_pc_symtab): some object file formats, notably mips,

have holes in the address ranges of symtabs.  Change this algorythm
  from first hit to tightest fit.

Fixes #2217.
This commit is contained in:
K. Richard Pixley 1993-03-13 00:50:09 +00:00
parent a8172eea3d
commit aa8f32108d

View file

@ -1,5 +1,9 @@
Fri Mar 12 16:23:54 1993 K. Richard Pixley (rich@cygnus.com)
* symtab.c (find_pc_symtab): some object file formats, notably
mips, have holes in the address ranges of symtabs. Change
this algorythm from first hit to tightest fit.
* mips-tdep.c (heuristic_proc_start): if we walk the pc into the
fence post without finding the enclosing function, then print a
warning.