Annual ChangeLog split.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 Fri Jan 31 08:26:39 1997 Mark Alexander <marka@cygnus.com>
2
3 * mips-tdep.c (MIPS16_INSTLEN): Define.
4 (mips_find_saved_regs): Replace hardcoded 2's with MIPS16_INSTLEN.
5 (heuristic_proc_start): Recognize 'entry' pseudo-op as a start
6 of function on MIPS16.
7 (mips32_skip_prologue, mips16_skip_prologue): New helper functions
8 for mips_skip_prologue.
9 (mips_skip_prologue): Recognize both 16- and 32-bit prologues.
10
11 Wed Jan 29 12:45:54 1997 Michael Meissner <meissner@tiktok.cygnus.com>
12
13 * config/powerpc/ppc{,le}-sim.mt (SIM): Remove the library
14 ../sim/common/libcommon.a.
15
16 Tue Jan 28 15:54:13 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
17
18 * blockframe.c: fix a null pointer ref in generic_get_saved_register
19
20 Tue Jan 28 15:39:50 1997 Geoffrey Noer <noer@cygnus.com>
21
22 * mn10200-tdep.c (mn10200_frame_chain): Get basic backtracing
23 working.
24
25 Mon Jan 27 14:31:52 1997 Mark Alexander <marka@cygnus.com>
26
27 First set of changes for mips16:
28 * config/mips/tm-mips.h (MIPS16_BIG_BREAKPOINT,
29 MIPS16_LITTLE_BREAKPOINT, BREAKPOINT_FROM_PC): Define.
30 (ABOUT_TO_RETURN): Call new function mips_about_to_return.
31 (mips_breakpoint_from_pc, mips_about_to_return): Declare.
32 * mem-break.c (memory_breakpoint_from_pc): New function.
33 (memory_insert_breakpoint, memory_remove_breakpoint): Use
34 memory_breakpoint_from_pc to determine breakpoint contents and size.
35 * target.h (memory_breakpoint_from_pc): Declare.
36 * monitor.c (monitor_insert_breakpoint): Use memory_breakpoint_from_pc
37 to determine size of breakpoint instruction.
38 * mips-tdep.c (mips32_decode_reg_save, mips16_decode_reg_save):
39 New helper functions for mips_find_saved_regs.
40 (mips_find_saved_regs): Recognize mips16 prologues.
41 (mips_addr_bits_remove): Strip off upper 32 bits of address
42 when target CPU is 32 bits but CORE_ADDR is 64 bits.
43 (mips_step_skips_delay): No branch delay slot on mips16.
44 (gdb_print_insn_mips): Disassemble mips16 code.
45 (mips_breakpoint_from_pc, mips_about_to_return): New functions.
46
47 Mon Jan 27 10:34:03 1997 Jeffrey A Law (law@cygnus.com)
48
49 * tm-mn10200.h (NUM_REGS): Decrease to 12.
50 (REGISTER_NAMES): Elimination registers not found on the mn10200.
51 (PC_REGNUM, MDR_REGNUM, PSW_REGNUM): Corresponding changes.
52 (LIR_REGNUM, LAR_REGNUM): Delete. They don't exist on the mn10200.
53
54 Sat Jan 25 00:07:59 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
55
56 * dwarf2read.c: Replace integral tag, name and form fields in
57 internal structure definitions with the corresponding enumeration
58 types from dwarf2.h. Add default cases to switches on enumerations
59 where appropriate.
60 Make quoting of string arguments in complaint messages consistent.
61 Check for NULL returns from DW_STRING.
62 (struct partial_die_info): Add sibling and has_type fields, remove
63 unused value field.
64 (DW_*): Move access macro definitions near the definition of the
65 attribute structure.
66 (struct field_info): New structure to pass information about fields
67 and member functions between die processing routines.
68 (dwarf2_build_psymtabs_hard): Set cu_header_offset.
69 (scan_partial_symbols): Do not enter DW_TAG_subprogram dies into
70 the partial symbol table if the DW_AT_*_pc attributes are missing.
71 Add file scope base type definitions to the partial symbol table.
72 Skip over child dies if the die has a sibling attribute.
73 (add_partial_symbol): Enter global variables with type attributes
74 and without location descriptors into the partial symbol table.
75 Store value of DW_TAG_variable dies in the partial symbol table.
76 Do not enter global variables into the minimal symbol table.
77 Add base type definitions to the partial symbol table.
78 (psymtab_to_symtab_1): Use dwarf2_get_pc_bounds to determine highpc.
79 (process_die): Move check for DW_AT_low_pc to read_func_scope.
80 Add a typedef symbol for base type definitions to the symbol table.
81 Ignore DW_TAG_inlined_subroutine tags for now.
82 (read_file_scope): Use dwarf2_get_pc_bounds to determine pc bounds.
83 (read_func_scope, read_lexical_block_scope): Use dwarf2_get_pc_bounds
84 to determine pc bounds, ignore dies with invalid bounds.
85 (dwarf2_get_pc_bounds): New routine to extract and validate the
86 DW_AT_*_pc attributes of a die.
87 (dwarf2_add_field, dwarf2_attach_fields_to_type, skip_member_fn_name,
88 dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type):
89 New functions to handle fields and member functions.
90 (read_structure_scope): Rewritten to use them.
91 (read_array_type): Renamed from dwarf_read_array_type.
92 Default upper array bound to describe an array with unspecified
93 length.
94 Create array types in backwards order, as dwarf2 puts out the array
95 dimensions from left to right.
96 (read_subroutine_type): Handle DW_TAG_unspecified_parameters,
97 DW_AT_artificial and DW_AT_prototyped.
98 (read_base_type): Make an unsigned type for DW_ATE_boolean.
99 Pass objfile to dwarf_base_type.
100 (read_partial_die): Use read_attribute to read in the attributes.
101 Handle DW_AT_sibling and DW_AT_type.
102 Follow references when determining DW_AT_name and DW_AT_external
103 attributes of the die.
104 Validate DW_AT_*_pc attributes.
105 (read_full_die): Use read_attribute to read in the attributes.
106 (read_attribute): New function to read an attribute described
107 by an abbreviated attribute.
108 (new_symbol): Relocate symbol value for DW_TAG_label with baseaddr.
109 Do not set SYMBOL_VALUE_ADDRESS for DW_TAG_subprogram,
110 SYMBOL_BLOCK_VALUE for the symbol will be set later by finish_block.
111 Change symbol class for global variables with a zero valued location
112 descriptor to LOC_UNRESOLVED.
113 Handle DW_AT_const_value attributes for DW_TAG_variable,
114 DW_TAG_formal_parameter and DW_TAG_enumerator.
115 Build a typedef symbol for DW_TAG_base_type.
116 (dwarf2_const_value): New routine to copy a constant value from an
117 attribute to a symbol.
118 (dwarf_base_type): Use passed in objfile, not current_objfile
119 when calling dwarf2_fundamental_type.
120 (dump_die): Use DW_* accessor macros to access values of attributes.
121 (decode_locdesc): Handle DW_OP_plus_uconst.
122
123 Wed Jan 22 01:31:16 1997 Geoffrey Noer <noer@cygnus.com>
124
125 * mn10200-tdep.c: New file.
126 * config/mn10200/tm-mn10200.h: New, REGISTER_SIZE is 24 bits not 32,
127 SP_REGNUM and FP_REGNUM are different, also no lar or lir.
128 * config/mn10200/mn10200.mt: New file.
129 * configure.tgt: add mn10200 entry.
130
131 Tue Jan 21 18:32:23 1997 Stu Grossman (grossman@lisa.cygnus.com)
132
133 * configure.in configure: Check if host has libdl if doing
134 Solaris threads.
135
136 Tue Jan 21 17:03:26 1997 Geoffrey Noer <noer@cygnus.com>
137
138 * mn10300-tdep.c: Wrote/fixed implementations of
139 mn10300_frame_chain, mn10300_init_extra_frame_info,
140 mn10300_frame_saved_pc
141 * config/mn10300/tm-mn10300.h: Redefine INIT_EXTRA_FRAME_INFO
142 and INIT_FRAME_PC macros.
143
144 Tue Jan 21 17:01:20 1997 Stu Grossman (grossman@lisa.cygnus.com)
145
146 * configure.in configure: Check if host has libm. Make sure we
147 are using gcc when using the -export-dynamic option. Fixes a
148 problem with building under Solaris/SunPro cc.
149
150 Mon Jan 20 13:52:13 1997 Mark Alexander <marka@cygnus.com>
151
152 * config/mips/{embed,embed64,embedl,embedl64}.mt:
153 Link in simulator on MIPS embedded targets.
154
155 Sat Jan 18 02:31:29 1997 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
156
157 * blockframe.c (frameless_look_for_prologue): Mark frames
158 with a zero PC as frameless to improve backtraces from core dumps
159 caused by dereferencing a NULL function pointer.
160
161 Thu Jan 16 14:10:41 1997 Geoffrey Noer <noer@cygnus.com>
162
163 * config/mn10300/tm-mn10300.h: fix BREAKPOINT definition.
164
165 Tue Jan 14 16:01:06 1997 Geoffrey Noer <noer@cygnus.com>
166
167 * mn10300-tdep.c: made a lot more generic, ripping out code
168 from copied target (no more mn10300_scan_prologue,
169 init_extra_frame_info, and mn10300_fix_call_dummy calls)
170 * config/mn10300/tm-mn10300.h: undefine INIT_EXTRA_FRAME_INFO
171 and INIT_FRAME_PC macros
172
173 Thu Jan 9 11:44:40 1997 Michael Snyder <msnyder@cleaver.cygnus.com>
174
175 * sparc-tdep.c (sparc_frame_find_saved_regs): Don't use
176 FP_REGISTER_BYTES to compute offsets into the saved frame,
177 since it fails for SPARC targets configured without any
178 FP regs. Instead, use DUMMY_STACK_REG_BUF_SIZE.
179
180 Mon Jan 6 11:15:14 1997 Stu Grossman (grossman@critters.cygnus.com)
181
182 * symtab.c (fixup_symbol_section): Handle NULL symbols without
183 crashing.
184
185 Fri Jan 3 12:08:16 1997 Stu Grossman (grossman@critters.cygnus.com)
186
187 * Makefile.in configure configure.in: Remove ENABLE_CLIBS,
188 ENABLE_OBS, and THREAD_DB_OBS. These are consolidated into LIBS
189 and CONFIG_OBS.
190 * configure configure.in: Clean up test cases around thread support.
191 start-sanitize-v850
192 * configure.tgt (v850-*-*): Include v850ice.o and v850.lib if
193 host is Windows.
194 end-sanitize-v850
195 * c-valprint.c ch-valprint.c cp-valprint.c eval.c expprint.c
196 printcmd.c valops.c value.h values.c: Add bfd_section arg to
197 value_at and value_at_lazy.
198 * coffread.c dbxread.c elfread.c mdebugread.c minsyms.c symtab.h:
199 Add bfd_section arg to prim_record_minimal_symbol_and_info.
200 * corefile.c gdbcore.h printcmd.c valops.c: Use read_memory_section
201 instead of read_memory. It takes a bfd_section arg.
202 * coffread.c dbxread.c elfread.c gdb-stabs.h objfiles.h: Remove
203 unnecessary cast for assignment of struct dbx_symfile_info.
204 Struct objfile now uses a real pointer instead of PTR for this
205 element.
206 * dbxread.c (dbx_symfile_init): Stash bfd section pointers for
207 text, data and bss into dbx_symfile_info.
208 * exec.c (xfer_memory): Handle transfers for user-specified
209 sections.
210 * findvar.c (read_var_value locate_var_value): Copy bfd section
211 from the symbol to the value.
212 * gdb-stabs.h: Add section pointers for text, data and bss
213 sections.
214 * maint.c (translate address command): Add test code for overlay
215 address translation.
216 * printcmd.c (do_examine do_one_display): Now takes a bfd section
217 arg.
218 * (print_formatted x_command): Record current section along with
219 current address for repeated commands.
220 * sparc-nat.c (fetch_inferior_registers): Change
221 target_xfer_memory to target_{read write}_memory to allow changes
222 to target_xfer_memory interface for section info.
223 * symmisc.c (dump_msymbols print_symbol): Print section
224 assocaited with symbol.
225 * symtab.c (fixup_symbol_section): New routine to
226 add section info to symbols returned by lookup_symbol.
227 * symtab.h (struct general_symbol_info): Add bfd section to
228 symbols.
229 * target.c target.h (target_xfer_memory): Add bfd section to
230 args.
231 * (target_read_memory_section): New routine to read data from a
232 specific section.
233 * (target_memory_bfd_section): New global variable to pass bfd
234 section in to targets.
235 * valarith.c (value_add value_addr value_array): Preserve bfd
236 section when computing new value.
237 * value.h (struct value): Add bfd section to values.
238 * values.c (allocate_value value_copy): Initialize/preserve bfd
239 section.
240 * (unpack_double): Clean up _MSC_VER conditionals to remove
241 duplicate code.
242 start-sanitize-v850
243 * v850ice.c: New module to support communication with NEC's
244 PC-based ICE.
245 * config/v850/tm-v850.h (REGISTER_NAMES): Replace sp, gp, fp, and
246 ep names with rxx names. sp and fp are renamed via a different
247 mechanism.
248 end-sanitize-v850
249
250 Fri Jan 3 14:20:05 1997 Geoffrey Noer <noer@cygnus.com>
251
252 * mn10300-tdep.c (mn10300_push_arguments): rewrote,
253 also removed code elsewhere that made use of RP_REGNUM.
254 * config/mn10300/tm-mn10300.h: ripped out RP_REGNUM, V0_REGNUM,
255 ARG0_REGNUM, ARGLAST_REGNUM (all not appropriate for mn10300
256 arch.), redefined SAVED_PC_AFTER_CALL, EXTRACT_RETURN_VALUE,
257 EXTRACT_STRUCT_VALUE_ADDRESS, STORE_RETURN_VALUE.
258
259 For older changes see ChangeLog-96
260 \f
261 Local Variables:
262 mode: indented-text
263 left-margin: 8
264 fill-column: 74
265 version-control: never
266 End:
This page took 0.03567 seconds and 5 git commands to generate.