* alpha-tdep.h (gdbarch_tdep): Add vm_min_address member.

* alpha-tdep.c (heuristic_proc_start): Use vm_min_address
from gdbarch_tdep rather than a constant.
(alpha_gdbarch_init): Initialize tdep->vm_min_address to
the default text address for all Alpha Unix ABIs.
(alpha_dump_tdep): Report the value of tdep->vm_min_address.
* config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete.
This commit is contained in:
Jason Thorpe
2002-04-21 17:30:09 +00:00
parent dc129d8238
commit d9b023ccd4
4 changed files with 24 additions and 8 deletions

View File

@ -94,6 +94,8 @@ struct gdbarch_tdep
{
enum alpha_abi alpha_abi; /* OS/ABI of inferior. */
const char *abi_name; /* Name of the above. */
CORE_ADDR vm_min_address; /* used by heuristic_proc_start */
};
#endif /* ALPHA_TDEP_H */