aboutsummaryrefslogtreecommitdiff
path: root/gdb/prologue-value.h
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2009-06-17 18:39:13 +0000
committerUlrich Weigand <uweigand@de.ibm.com>2009-06-17 18:39:13 +0000
commit55f960e1d2e58215a0c274e8d30e6036c96a2959 (patch)
treebfba868ab5c23c63103b59225fabbf9c06df9c2e /gdb/prologue-value.h
parent7ccb0be9545330795513b699b8ec1d6770c0e755 (diff)
downloadgdb-55f960e1d2e58215a0c274e8d30e6036c96a2959.zip
gdb-55f960e1d2e58215a0c274e8d30e6036c96a2959.tar.gz
gdb-55f960e1d2e58215a0c274e8d30e6036c96a2959.tar.bz2
* prologue-value.c (make_pv_area): Add ADDR_BIT argument.
Use it instead of address bits of current_gdbarch. * prologue-value.c (make_pv_area): Add ADDR_BIT argument. * arm-tdep.c (thumb_analyze_prologue): Pass address bits to make_pv_area. (arm_scan_prologue): Likewise. * m32c-tdep.c (m32c_analyze_prologue): Likewise. * mep-tdep.c (mep_analyze_prologue): Likewise. * mn10300-tdep.c (mn10300_analyze_prologue): Likewise. * s390-tdep.c (s390_analyze_prologue): Likewise.
Diffstat (limited to 'gdb/prologue-value.h')
-rw-r--r--gdb/prologue-value.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gdb/prologue-value.h b/gdb/prologue-value.h
index 49226f3..efbdfcf 100644
--- a/gdb/prologue-value.h
+++ b/gdb/prologue-value.h
@@ -229,8 +229,11 @@ struct pv_area;
Stores to constant addresses, unknown addresses, or to addresses
relative to registers other than BASE_REG will trash this area; see
- pv_area_store_would_trash. */
-struct pv_area *make_pv_area (int base_reg);
+ pv_area_store_would_trash.
+
+ To check whether a pointer refers to this area, only the low
+ ADDR_BIT bits will be compared. */
+struct pv_area *make_pv_area (int base_reg, int addr_bit);
/* Free AREA. */
void free_pv_area (struct pv_area *area);