| OLD | NEW |
| 1 /* Frame unwinder for frames with DWARF Call Frame Information. | 1 /* Frame unwinder for frames with DWARF Call Frame Information. |
| 2 | 2 |
| 3 Copyright (C) 2003-2005, 2007-2012 Free Software Foundation, Inc. | 3 Copyright (C) 2003-2005, 2007-2012 Free Software Foundation, Inc. |
| 4 | 4 |
| 5 Contributed by Mark Kettenis. | 5 Contributed by Mark Kettenis. |
| 6 | 6 |
| 7 This file is part of GDB. | 7 This file is part of GDB. |
| 8 | 8 |
| 9 This program is free software; you can redistribute it and/or modify | 9 This program is free software; you can redistribute it and/or modify |
| 10 it under the terms of the GNU General Public License as published by | 10 it under the terms of the GNU General Public License as published by |
| (...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 61 instructions. */ | 61 instructions. */ |
| 62 ULONGEST code_alignment_factor; | 62 ULONGEST code_alignment_factor; |
| 63 | 63 |
| 64 /* Constants that is factored out of all offset instructions. */ | 64 /* Constants that is factored out of all offset instructions. */ |
| 65 LONGEST data_alignment_factor; | 65 LONGEST data_alignment_factor; |
| 66 | 66 |
| 67 /* Return address column. */ | 67 /* Return address column. */ |
| 68 ULONGEST return_address_register; | 68 ULONGEST return_address_register; |
| 69 | 69 |
| 70 /* Instruction sequence to initialize a register set. */ | 70 /* Instruction sequence to initialize a register set. */ |
| 71 gdb_byte *initial_instructions; | 71 const gdb_byte *initial_instructions; |
| 72 gdb_byte *end; | 72 const gdb_byte *end; |
| 73 | 73 |
| 74 /* Saved augmentation, in case it's needed later. */ | 74 /* Saved augmentation, in case it's needed later. */ |
| 75 char *augmentation; | 75 char *augmentation; |
| 76 | 76 |
| 77 /* Encoding of addresses. */ | 77 /* Encoding of addresses. */ |
| 78 gdb_byte encoding; | 78 gdb_byte encoding; |
| 79 | 79 |
| 80 /* Target address size in bytes. */ | 80 /* Target address size in bytes. */ |
| 81 int addr_size; | 81 int addr_size; |
| 82 | 82 |
| (...skipping 26 matching lines...) Expand all Loading... |
| 109 /* CIE for this FDE. */ | 109 /* CIE for this FDE. */ |
| 110 struct dwarf2_cie *cie; | 110 struct dwarf2_cie *cie; |
| 111 | 111 |
| 112 /* First location associated with this FDE. */ | 112 /* First location associated with this FDE. */ |
| 113 CORE_ADDR initial_location; | 113 CORE_ADDR initial_location; |
| 114 | 114 |
| 115 /* Number of bytes of program instructions described by this FDE. */ | 115 /* Number of bytes of program instructions described by this FDE. */ |
| 116 CORE_ADDR address_range; | 116 CORE_ADDR address_range; |
| 117 | 117 |
| 118 /* Instruction sequence. */ | 118 /* Instruction sequence. */ |
| 119 gdb_byte *instructions; | 119 const gdb_byte *instructions; |
| 120 gdb_byte *end; | 120 const gdb_byte *end; |
| 121 | 121 |
| 122 /* True if this FDE is read from a .eh_frame instead of a .debug_frame | 122 /* True if this FDE is read from a .eh_frame instead of a .debug_frame |
| 123 section. */ | 123 section. */ |
| 124 unsigned char eh_frame_p; | 124 unsigned char eh_frame_p; |
| 125 }; | 125 }; |
| 126 | 126 |
| 127 struct dwarf2_fde_table | 127 struct dwarf2_fde_table |
| 128 { | 128 { |
| 129 int num_entries; | 129 int num_entries; |
| 130 struct dwarf2_fde **entries; | 130 struct dwarf2_fde **entries; |
| (...skipping 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 344 paddress (gdbarch, fs->pc)); | 344 paddress (gdbarch, fs->pc)); |
| 345 } | 345 } |
| 346 | 346 |
| 347 /* Virtual method table for execute_stack_op below. */ | 347 /* Virtual method table for execute_stack_op below. */ |
| 348 | 348 |
| 349 static const struct dwarf_expr_context_funcs dwarf2_frame_ctx_funcs = | 349 static const struct dwarf_expr_context_funcs dwarf2_frame_ctx_funcs = |
| 350 { | 350 { |
| 351 read_reg, | 351 read_reg, |
| 352 read_mem, | 352 read_mem, |
| 353 ctx_no_get_frame_base, | 353 ctx_no_get_frame_base, |
error: old chunk mismatch |
None
| OLD | NEW |