diff options
author | Richard Henderson <rth@redhat.com> | 2005-09-07 11:41:25 +0000 |
---|---|---|
committer | Richard Henderson <rth@redhat.com> | 2005-09-07 11:41:25 +0000 |
commit | bd0eb99b906bd9e11675cf96a196e4044c39282a (patch) | |
tree | c1570ec872b360e652df9fec5d42c5ac78449de2 /gas/dwarf2dbg.h | |
parent | b8ee1a6e86e6d9a74a59ef3c251183a10e87311e (diff) | |
download | gdb-bd0eb99b906bd9e11675cf96a196e4044c39282a.zip gdb-bd0eb99b906bd9e11675cf96a196e4044c39282a.tar.gz gdb-bd0eb99b906bd9e11675cf96a196e4044c39282a.tar.bz2 |
* dwarf2dbg.c: Include safe-ctype.h.
(DWARF2_LINE_OPCODE_BASE): Bump to 13.
(current): Initialize.
(dwarf2_emit_insn): Clear DWARF2_FLAG_BASIC_BLOCK,
DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN.
(dwarf2_directive_file): Cope with invalid filename.
(dwarf2_directive_loc): Add handling for basic_block, prologue_end,
epilogue_begin, is_stmt, isa.
(emit_inc_line_addr): Move line_delta == 0, addr_delta == 0 special
case down lower.
(process_entries): Handle isa, DWARF2_FLAG_PROLOGUE_END,
and DWARF2_FLAG_EPILOGUE_BEGIN.
(out_debug_line): Emit sizes for DW_LNS_set_prologue_end,
DW_LNS_set_epilogue_begin, DW_LNS_set_isa.
* dwarf2dbg.h (DWARF2_FLAG_IS_STMT): Rename from DWARF2_FLAG_BEGIN_STMT. (DWARF2_FLAG_BASIC_BLOCK): Rename from DWARF2_FLAG_BEGIN_BLOCK.
(DWARF2_FLAG_PROLOGUE_END, DWARF2_FLAG_EPILOGUE_BEGIN): New.
(struct dwarf2_line_info): Add isa member.
* doc/as.texinfo (LNS directives): New node.
Diffstat (limited to 'gas/dwarf2dbg.h')
-rw-r--r-- | gas/dwarf2dbg.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/gas/dwarf2dbg.h b/gas/dwarf2dbg.h index 2fe461e..34c923f 100644 --- a/gas/dwarf2dbg.h +++ b/gas/dwarf2dbg.h @@ -23,13 +23,16 @@ #include "as.h" -#define DWARF2_FLAG_BEGIN_STMT (1 << 0) /* beginning of statement */ -#define DWARF2_FLAG_BEGIN_BLOCK (1 << 1) /* beginning of basic block */ +#define DWARF2_FLAG_IS_STMT (1 << 0) +#define DWARF2_FLAG_BASIC_BLOCK (1 << 1) +#define DWARF2_FLAG_PROLOGUE_END (1 << 2) +#define DWARF2_FLAG_EPILOGUE_BEGIN (1 << 3) struct dwarf2_line_info { unsigned int filenum; unsigned int line; unsigned int column; + unsigned int isa; unsigned int flags; }; |