com[davidm]!marky
271f706944
dwarf: fix local & remote table lookup
...
(Logical change 1.256)
2004-08-24 08:19:00 +00:00
homeip.net!davidm
642607dbaa
Cast register indices of type unw_word_t to (unsigned int) before
...
printing them. Avoids compiler-warning for 64-bit targets.
(apply_reg_state): Handle the special case where the stack-pointer
plays the role of the CFA and the stack-pointer hasn't
been saved. This is based on a patch by Max Asbock.
(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
9ac7a860d1
(parse_cie): Clarify the comment about the default FDE-encoding a bit.
...
(Logical change 1.253)
2004-08-20 11:23:15 +00:00
homeip.net!davidm
077322d414
Drop DWARF-parsing debug prints from level 16 to 15.
...
(parse_cie): Pick correct default for FDE-encoding, not just DW_EH_PE_omit.
(Logical change 1.248)
2004-08-19 12:26:11 +00:00
homeip.net!davidm
aae368ace2
Drop DWARF-parsing debug prints from level 16 to 15.
...
(Logical change 1.248)
2004-08-19 12:26:11 +00:00
homeip.net!davidm
e9045e3cca
Add include of dwarf_i.h now that we need dwarf_reads32().
...
Drop DWARF-parsing debug prints from level 16 to 15.
(struct table_entry): Change member types from unw_word_t to int32_t. The members
need to be of a signed type and forcing them to 32 bits makes the type
work for both 32-bit and 64-bit executables (up to 4GB of text-size).
(callback): Only allow search tables which have 32-bit members.
Fix initialization of di->u.rti.table_len to express table-length as a count
of unw_word_t, as it's defined to be (we get lucky here: even with 32-bit
members, each table-entry contains two members so we're guaranteed that the
table has a size that is an integer-multiple of unw_word_t even on 64-bit
platforms).
(lookup): Change type of "rel_ip" from unw_word_t to int32_t. Simplify the
code a bit.
(remote_read): Delete.
(remote_lookup): Use dwarf_reads32() instead of remote_read() to read out table
members. Simplify code a bit.
(Logical change 1.248)
2004-08-19 12:26:11 +00:00
homeip.net!davidm
02d4112138
Rename: src/dwarf/global-dwarf.c -> src/dwarf/global.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
08d29fd0ab
Rename: src/dwarf/global-dwarf.c -> src/dwarf/global.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
16213e9846
Rename: src/dwarf/Gstep-dwarf.c -> src/dwarf/Gstep.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
6037c78f41
Rename: src/dwarf/Gstep-dwarf.c -> src/dwarf/Gstep.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
e3066cb69a
Rename: src/dwarf/Gpe-dwarf.c -> src/dwarf/Gpe.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
fa5c508536
Rename: src/dwarf/Gpe-dwarf.c -> src/dwarf/Gpe.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
9636cfef38
Rename: src/dwarf/Gparser-dwarf.c -> src/dwarf/Gparser.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
88160e0f66
Rename: src/dwarf/Gparser-dwarf.c -> src/dwarf/Gparser.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
91c9e6a384
Rename: src/dwarf/Gfde-dwarf.c -> src/dwarf/Gfde.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
32f3a1e58f
Rename: src/dwarf/Gfde-dwarf.c -> src/dwarf/Gfde.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
c7d65772a7
Rename: src/dwarf/Gexpr-dwarf.c -> src/dwarf/Gexpr.c
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b79f7d1424
Rename: src/dwarf/Gexpr-dwarf.c -> src/dwarf/Gexpr.c
...
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
b29905fdc9
Regenerate.
...
}(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
7e7c187712
Regenerate.
...
2004/08/17 16:33:56+02:00 homeip.net!davidm
Rename: src/dwarf/Lstep-dwarf.c -> src/dwarf/Lstep.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
a26c1196b8
Regenerate.
...
2004/08/17 16:33:56+02:00 homeip.net!davidm
Rename: src/dwarf/Lpe-dwarf.c -> src/dwarf/Lpe.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
9084efe60a
Regenerate.
...
2004/08/17 16:33:56+02:00 homeip.net!davidm
Rename: src/dwarf/Lparser-dwarf.c -> src/dwarf/Lparser.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
65c3977dbd
Regenerate.
...
2004/08/17 16:33:56+02:00 homeip.net!davidm
Rename: src/dwarf/Lfde-dwarf.c -> src/dwarf/Lfde.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
c7957fa943
Regenerate.
...
2004/08/17 16:33:56+02:00 homeip.net!davidm
Rename: src/dwarf/Lexpr-dwarf.c -> src/dwarf/Lexpr.c
(Logical change 1.241)
2004-08-17 15:34:28 +00:00
homeip.net!davidm
3f9d2e9c5c
Initial revision
2004-08-17 15:34:28 +00:00
mostang.com!davidm
8241bb15a8
(struct table_entry): Move declrataion outside of !UNW_REMOTE_ONLY
...
bracket so the file compiles for UNW_REMOTE_ONLY, too.
(Logical change 1.224)
2004-05-05 01:54:53 +00:00
mostang.com!davidm
8fd300ae66
(fetch_proc_info): Call tdep_find_proc_info() instead of
...
dwarf_find_proc_info() so that the remote-case works, too.
(Logical change 1.224)
2004-05-05 01:54:53 +00:00
mostang.com!davidm
d3fad3af12
(dwarf_find_proc_info): Mask signal-delivery during dl_iterate_phdr().
...
(Logical change 1.203)
2004-04-01 08:09:28 +00:00
hp.com!davidm
3351beeb0b
Include "dwarf_i.h" instead of "dwarf.h".
...
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
21595821bf
(dwarf_search_unwind_table): Declare as PROTECTED, not HIDDEN.
...
(Logical change 1.162)
2004-01-30 00:01:24 +00:00
hp.com!davidm
eb51b4294a
(Logical change 1.145)
2003-12-20 11:43:08 +00:00
hp.com!davidm
0bbb2fab68
Initial revision
2003-12-20 11:38:49 +00:00