diff options
author | Ken Raeburn <raeburn@cygnus> | 1994-12-31 00:08:40 +0000 |
---|---|---|
committer | Ken Raeburn <raeburn@cygnus> | 1994-12-31 00:08:40 +0000 |
commit | cd3b81bd4cda2f9e04cca02ea6539be322a46986 (patch) | |
tree | 3ec294699834a687853664c804eb37fc98da8ab1 /gdb/remote-st.c | |
parent | e12533e3e9b498fdd0702d5c1719eaf0bf05e5a6 (diff) | |
download | gdb-cd3b81bd4cda2f9e04cca02ea6539be322a46986.zip gdb-cd3b81bd4cda2f9e04cca02ea6539be322a46986.tar.gz gdb-cd3b81bd4cda2f9e04cca02ea6539be322a46986.tar.bz2 |
Handle .space directive with non-constant operand:
* read.c (s_space): Rewrite to handle general expressions. Generate rs_space
frags for non-constant values.
* write.c (cvt_frag_to_fill): Treat rs_align_code and rs_space like rs_align
and rs_org. Verify that fr_offset is non-negative, and force frag type to
rs_fill only after assertion checks.
(relax_segment): Treat rs_align_code like rs_align. Treat rs_space like rs_org
in the first switch; in the second, force the operand to a constant, and use it
for the growth size.
Diffstat (limited to 'gdb/remote-st.c')
0 files changed, 0 insertions, 0 deletions