]> Git Repo - binutils.git/blame - gdb/ChangeLog
* config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE): Fix case when
[binutils.git] / gdb / ChangeLog
CommitLineData
25de138b
JL
1Tue Feb 11 12:28:09 1997 Jeffrey A Law ([email protected])
2
527579ee
JL
3 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE): Fix case when
4 extracting a return value from a register pair.
5
25de138b
JL
6 * mn10200-tdep.c (mn10200_push_arguments): Stack only needs to
7 be two byte aligned. Round argument sizes up to two byte boundary.
8 Write out args in two byte hunks.
9 (mn10200_push_return_address): Implement.
10 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE): Abort for
11 structures > 8 bytes (temporary).
12 (STORE_RETURN_VALUE): Likewise.
13 (CALL_DUMMY): No longer undefine.
14 (USE_STRUCT_CONVENTION): Use for args > 8 bytes.
15 (REG_STRUCT_HAS_ADDR): Define.
16
276c2d7d
GRK
17start-sanitize-r5900
18Fri Feb 07 09:04:37 1997 Gavin Koch <[email protected]>
19
20 * configure.tgt: added r5900.
21
22end-sanitize-r5900
7061bb0e
MA
23Mon Feb 10 18:35:55 1997 Mark Alexander <[email protected]>
24
25 * mips-tdep.c (non_heuristic_proc_desc): New function.
26 (find_proc_desc): Move non-heuristic proc search code into separate
27 function.
28 (gdb_print_insn_mips): Use non-heuristic method to find procedure
29 descriptor, to avoid prologue examination when disassembling.
30 * remote-mips.c: Add support for new "lsi" target (LSI MiniRISC
31 aka MicroMeteor board).
32 (mips_exit_debug): Prevent protocol reinitialization if an error
33 occurs while exiting debug mode.
34
efaf2b58
JL
35Mon Feb 10 16:11:57 1997 Jeffrey A Law ([email protected])
36
a698d0d0
JL
37 * mn10200-tdep.c: Remove lots of debugging printfs, update/improve
38 comments, formatting, etc. Plus other minor fixes for problems
39 I found during my first pass over the mn10200 port.
40 (mn10200_analyze_prologue): New function.
41 (mn10200_frame_chain, mn10200_init_extra_frame_info): Use it.
42 * config/mn10200/tm-mn10200.h: Lots of updates/improvements to
43 comments, formatting, etc. Minor fixes for problems I found during
44 my first pass over the mn10200 port.
45 (TARGET_*_BIT): Define appropriately for ints, long longs, doubles and
46 pointers.
47 (REGISTER_VIRTUAL_TYPE): Define as a long.
48 (EXTRACT_RETURN_VALUE): Rework to deal with long ints living
49 in register pairs.
50 (STORE_RETURN_VALUE): Similarly.
51
efaf2b58
JL
52 * blockframe.c (generic_get_saved_regs): Remove unused variable
53 "addr".
54 * breakpoint.c (frame_in_dummy): Move struct breakpoint *b decl
55 inside #ifdef CALL_DUMMY.
56 (watch_command_1): Initialize target_resources_ok.
57 * command.c (do_setshow_command): Provide dummy initialization
58 for "match".
59 * valops.c (find_function_addr): Move function & prototype inside
60 #ifdef CALL_DUMMY.
61 (value_arg_coerce): Similarly.
62 (value_of_variable): Provide dummy initialization of "frame".
63
40dffa42
SG
64Mon Feb 10 13:50:53 1997 Stu Grossman ([email protected])
65
66 * gdbtk.c (call_wrapper): Clear running_now if an error occurs.
67 This fixes PR 11323, where gdbtk stops responding if an error occurs.
68
86fdcdaf
FF
69Mon Feb 10 07:54:26 1997 Fred Fish <[email protected]>
70
71 * xcoffread.c (RECORD_MINIMAL_SYMBOL): Add NULL asection* parameter
72 to prim_record_minimal_symbol_and_info call that was missed in Jan 3
73 change.
74 (scan_xcoff_symtab): Ditto.
75
32dab603
MA
76Sun Feb 09 09:23:26 1997 Mark Alexander <[email protected]>
77
78 * remote-mips.c (common_breakpoint): Prevent 64-bit addresses
79 from being sent to 32-bit targets by masking off upper bits.
80 * mips-tdep.c (heuristic_proc_start): Mask off upper 32 bits
81 of PC on 32-bit targets.
82 (mips16_heuristic_proc_desc): Recognize 'addiu s1,sp,n' as a
83 frame setup instruction.
84 (mips32_heuristic_proc_desc): Fix warning found by gcc -Wall.
85 (mips16_skip_prologue): Recognize 'addiu s1,sp,n' as a valid
86 prologue instruction. Fix warnings and bugs found by gcc -Wall.
87 * buildsym.c (finish_block): Improve handling of overlapping blocks;
88 fixes problem on MIPS16 printing function arguments.
89
e7e98487
PS
90Sat Feb 8 01:14:43 1997 Peter Schauer ([email protected])
91
92 * dwarf2read.c (dwarf2_linkage_name): New function to get
93 the linkage name of a die from DW_AT_MIPS_linkage_name or
94 DW_AT_name.
95 (read_func_scope, dwarf2_add_field, dwarf2_add_member_fn,
96 new_symbol): Use it instead of accessing DW_AT_name.
97 (read_partial_die): Use DW_AT_MIPS_linkage name as name of the
98 partial die if present.
99 (dwarf2_add_member_fn): Make a copy of physname on the type obstack.
100
c301abbd
JL
101Fri Feb 7 10:06:22 1997 Jeffrey A Law ([email protected])
102
103 * blockframe.c (generic_frame_chain_valid): If the new frame
104 is not INNER_THAN the old frame, then it's not valid.
105
7d9e8fac
MA
106Tue Feb 04 09:04:37 1997 Mark Alexander <[email protected]>
107
108 * mips-tdep.c (mips16_get_imm): Fix calculation of extended immediate.
109 (mips16_heuristic_proc_desc): Recognize jal(x) instruction.
110
b348b9fd
MA
111Mon Feb 03 17:57:58 1997 Mark Alexander <[email protected]>
112
113 * mips-tdep.c (mips16_decode_reg_save): Distinguish between
114 sd and sw instructions correctly.
115 (heuristic_proc_start): Add support for MIPS16.
116 (mips16_get_imm, mips16_heuristic_proc_desc,
117 mips32_heuristic_proc_desc): New helper functions for
118 heuristic_proc_desc.
119 (heuristic_proc_desc): Rewrite and reorganize to support MIPS16.
120 (mips_push_arguments): Don't align small arguments in EABI.
121 (mips32_skip_prologue): Attempt to shrink code size a little.
122
fbfa4d54
MS
123start-sanitize-m32r
124Mon Feb 3 11:06:05 1997 Michael Snyder <[email protected]>
125
126 * m32r-stub.c: New -- remote protocol support for M32R cpu.
127 * m32r-rom.c: Several experiments with improved download time.
128 * .Sanitize: Add entry for m32r-stub.c
129end-sanitize-m32r
130
20fa0902
MA
131Fri Jan 31 08:26:39 1997 Mark Alexander <[email protected]>
132
133 * mips-tdep.c (MIPS16_INSTLEN): Define.
134 (mips_find_saved_regs): Replace hardcoded 2's with MIPS16_INSTLEN.
135 (heuristic_proc_start): Recognize 'entry' pseudo-op as a start
136 of function on MIPS16.
137 (mips32_skip_prologue, mips16_skip_prologue): New helper functions
138 for mips_skip_prologue.
139 (mips_skip_prologue): Recognize both 16- and 32-bit prologues.
140
7e2b3363
MM
141Wed Jan 29 12:45:54 1997 Michael Meissner <[email protected]>
142
143 * config/powerpc/ppc{,le}-sim.mt (SIM): Remove the library
144 ../sim/common/libcommon.a.
145
b444216f
MS
146Tue Jan 28 15:54:13 1997 Michael Snyder <[email protected]>
147
148 * blockframe.c: fix a null pointer ref in generic_get_saved_register
149
52c8ecee
GN
150Tue Jan 28 15:39:50 1997 Geoffrey Noer <[email protected]>
151
bb6debca
SS
152 * mn10200-tdep.c (mn10200_frame_chain): Get basic backtracing
153 working.
52c8ecee 154
f9f8c14b
MA
155Mon Jan 27 14:31:52 1997 Mark Alexander <[email protected]>
156
157First set of changes for mips16:
158 * config/mips/tm-mips.h (MIPS16_BIG_BREAKPOINT,
159 MIPS16_LITTLE_BREAKPOINT, BREAKPOINT_FROM_PC): Define.
160 (ABOUT_TO_RETURN): Call new function mips_about_to_return.
161 (mips_breakpoint_from_pc, mips_about_to_return): Declare.
162 * mem-break.c (memory_breakpoint_from_pc): New function.
163 (memory_insert_breakpoint, memory_remove_breakpoint): Use
164 memory_breakpoint_from_pc to determine breakpoint contents and size.
165 * target.h (memory_breakpoint_from_pc): Declare.
166 * monitor.c (monitor_insert_breakpoint): Use memory_breakpoint_from_pc
167 to determine size of breakpoint instruction.
168 * mips-tdep.c (mips32_decode_reg_save, mips16_decode_reg_save):
169 New helper functions for mips_find_saved_regs.
170 (mips_find_saved_regs): Recognize mips16 prologues.
171 (mips_addr_bits_remove): Strip off upper 32 bits of address
172 when target CPU is 32 bits but CORE_ADDR is 64 bits.
173 (mips_step_skips_delay): No branch delay slot on mips16.
174 (gdb_print_insn_mips): Disassemble mips16 code.
175 (mips_breakpoint_from_pc, mips_about_to_return): New functions.
176
ddc846e9
JL
177Mon Jan 27 10:34:03 1997 Jeffrey A Law ([email protected])
178
179 * tm-mn10200.h (NUM_REGS): Decrease to 12.
180 (REGISTER_NAMES): Elimination registers not found on the mn10200.
181 (PC_REGNUM, MDR_REGNUM, PSW_REGNUM): Corresponding changes.
182 (LIR_REGNUM, LAR_REGNUM): Delete. They don't exist on the mn10200.
183
54995373
PS
184Sat Jan 25 00:07:59 1997 Peter Schauer ([email protected])
185
186 * dwarf2read.c: Replace integral tag, name and form fields in
187 internal structure definitions with the corresponding enumeration
188 types from dwarf2.h. Add default cases to switches on enumerations
189 where appropriate.
190 Make quoting of string arguments in complaint messages consistent.
191 Check for NULL returns from DW_STRING.
192 (struct partial_die_info): Add sibling and has_type fields, remove
193 unused value field.
194 (DW_*): Move access macro definitions near the definition of the
195 attribute structure.
196 (struct field_info): New structure to pass information about fields
197 and member functions between die processing routines.
198 (dwarf2_build_psymtabs_hard): Set cu_header_offset.
199 (scan_partial_symbols): Do not enter DW_TAG_subprogram dies into
200 the partial symbol table if the DW_AT_*_pc attributes are missing.
201 Add file scope base type definitions to the partial symbol table.
202 Skip over child dies if the die has a sibling attribute.
203 (add_partial_symbol): Enter global variables with type attributes
204 and without location descriptors into the partial symbol table.
205 Store value of DW_TAG_variable dies in the partial symbol table.
206 Do not enter global variables into the minimal symbol table.
207 Add base type definitions to the partial symbol table.
208 (psymtab_to_symtab_1): Use dwarf2_get_pc_bounds to determine highpc.
209 (process_die): Move check for DW_AT_low_pc to read_func_scope.
210 Add a typedef symbol for base type definitions to the symbol table.
211 Ignore DW_TAG_inlined_subroutine tags for now.
212 (read_file_scope): Use dwarf2_get_pc_bounds to determine pc bounds.
213 (read_func_scope, read_lexical_block_scope): Use dwarf2_get_pc_bounds
214 to determine pc bounds, ignore dies with invalid bounds.
215 (dwarf2_get_pc_bounds): New routine to extract and validate the
216 DW_AT_*_pc attributes of a die.
217 (dwarf2_add_field, dwarf2_attach_fields_to_type, skip_member_fn_name,
218 dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type):
219 New functions to handle fields and member functions.
220 (read_structure_scope): Rewritten to use them.
221 (read_array_type): Renamed from dwarf_read_array_type.
222 Default upper array bound to describe an array with unspecified
223 length.
224 Create array types in backwards order, as dwarf2 puts out the array
225 dimensions from left to right.
226 (read_subroutine_type): Handle DW_TAG_unspecified_parameters,
227 DW_AT_artificial and DW_AT_prototyped.
228 (read_base_type): Make an unsigned type for DW_ATE_boolean.
229 Pass objfile to dwarf_base_type.
230 (read_partial_die): Use read_attribute to read in the attributes.
231 Handle DW_AT_sibling and DW_AT_type.
232 Follow references when determining DW_AT_name and DW_AT_external
233 attributes of the die.
234 Validate DW_AT_*_pc attributes.
235 (read_full_die): Use read_attribute to read in the attributes.
236 (read_attribute): New function to read an attribute described
237 by an abbreviated attribute.
238 (new_symbol): Relocate symbol value for DW_TAG_label with baseaddr.
239 Do not set SYMBOL_VALUE_ADDRESS for DW_TAG_subprogram,
240 SYMBOL_BLOCK_VALUE for the symbol will be set later by finish_block.
241 Change symbol class for global variables with a zero valued location
242 descriptor to LOC_UNRESOLVED.
243 Handle DW_AT_const_value attributes for DW_TAG_variable,
244 DW_TAG_formal_parameter and DW_TAG_enumerator.
245 Build a typedef symbol for DW_TAG_base_type.
246 (dwarf2_const_value): New routine to copy a constant value from an
247 attribute to a symbol.
248 (dwarf_base_type): Use passed in objfile, not current_objfile
249 when calling dwarf2_fundamental_type.
250 (dump_die): Use DW_* accessor macros to access values of attributes.
251 (decode_locdesc): Handle DW_OP_plus_uconst.
252
879b9398
GN
253Wed Jan 22 01:31:16 1997 Geoffrey Noer <[email protected]>
254
bb6debca
SS
255 * mn10200-tdep.c: New file.
256 * config/mn10200/tm-mn10200.h: New, REGISTER_SIZE is 24 bits not 32,
879b9398 257 SP_REGNUM and FP_REGNUM are different, also no lar or lir.
bb6debca
SS
258 * config/mn10200/mn10200.mt: New file.
259 * configure.tgt: add mn10200 entry.
879b9398 260
95b47547
SG
261Tue Jan 21 18:32:23 1997 Stu Grossman ([email protected])
262
263 * configure.in configure: Check if host has libdl if doing
264 Solaris threads.
265
95efddf2
GN
266Tue Jan 21 17:03:26 1997 Geoffrey Noer <[email protected]>
267
bb6debca 268 * mn10300-tdep.c: Wrote/fixed implementations of
95efddf2
GN
269 mn10300_frame_chain, mn10300_init_extra_frame_info,
270 mn10300_frame_saved_pc
bb6debca
SS
271 * config/mn10300/tm-mn10300.h: Redefine INIT_EXTRA_FRAME_INFO
272 and INIT_FRAME_PC macros.
95efddf2 273
ef6c51d1
SG
274Tue Jan 21 17:01:20 1997 Stu Grossman ([email protected])
275
276 * configure.in configure: Check if host has libm. Make sure we
277 are using gcc when using the -export-dynamic option. Fixes a
278 problem with building under Solaris/SunPro cc.
279
f1536ab5
MA
280Mon Jan 20 13:52:13 1997 Mark Alexander <[email protected]>
281
282 * config/mips/{embed,embed64,embedl,embedl64}.mt:
283 Link in simulator on MIPS embedded targets.
284
15cb042b
PS
285Sat Jan 18 02:31:29 1997 Peter Schauer ([email protected])
286
287 * blockframe.c (frameless_look_for_prologue): Mark frames
288 with a zero PC as frameless to improve backtraces from core dumps
289 caused by dereferencing a NULL function pointer.
290
1bb1df85
GN
291Thu Jan 16 14:10:41 1997 Geoffrey Noer <[email protected]>
292
bb6debca 293 * config/mn10300/tm-mn10300.h: fix BREAKPOINT definition.
1bb1df85
GN
294
295Tue Jan 14 16:01:06 1997 Geoffrey Noer <[email protected]>
296
297 * mn10300-tdep.c: made a lot more generic, ripping out code
298 from copied target (no more mn10300_scan_prologue,
299 init_extra_frame_info, and mn10300_fix_call_dummy calls)
300 * config/mn10300/tm-mn10300.h: undefine INIT_EXTRA_FRAME_INFO
301 and INIT_FRAME_PC macros
302
afe56235
MS
303Thu Jan 9 11:44:40 1997 Michael Snyder <[email protected]>
304
305 * sparc-tdep.c (sparc_frame_find_saved_regs): Don't use
306 FP_REGISTER_BYTES to compute offsets into the saved frame,
307 since it fails for SPARC targets configured without any
308 FP regs. Instead, use DUMMY_STACK_REG_BUF_SIZE.
309
34b22c5c
SG
310Mon Jan 6 11:15:14 1997 Stu Grossman ([email protected])
311
312 * symtab.c (fixup_symbol_section): Handle NULL symbols without
313 crashing.
314
6c310da8
SG
315Fri Jan 3 12:08:16 1997 Stu Grossman ([email protected])
316
317 * Makefile.in configure configure.in: Remove ENABLE_CLIBS,
318 ENABLE_OBS, and THREAD_DB_OBS. These are consolidated into LIBS
319 and CONFIG_OBS.
320 * configure configure.in: Clean up test cases around thread support.
321start-sanitize-v850
322 * configure.tgt (v850-*-*): Include v850ice.o and v850.lib if
323 host is Windows.
324end-sanitize-v850
325 * c-valprint.c ch-valprint.c cp-valprint.c eval.c expprint.c
326 printcmd.c valops.c value.h values.c: Add bfd_section arg to
327 value_at and value_at_lazy.
328 * coffread.c dbxread.c elfread.c mdebugread.c minsyms.c symtab.h:
329 Add bfd_section arg to prim_record_minimal_symbol_and_info.
330 * corefile.c gdbcore.h printcmd.c valops.c: Use read_memory_section
331 instead of read_memory. It takes a bfd_section arg.
332 * coffread.c dbxread.c elfread.c gdb-stabs.h objfiles.h: Remove
333 unnecessary cast for assignment of struct dbx_symfile_info.
334 Struct objfile now uses a real pointer instead of PTR for this
335 element.
336 * dbxread.c (dbx_symfile_init): Stash bfd section pointers for
337 text, data and bss into dbx_symfile_info.
338 * exec.c (xfer_memory): Handle transfers for user-specified
339 sections.
340 * findvar.c (read_var_value locate_var_value): Copy bfd section
341 from the symbol to the value.
342 * gdb-stabs.h: Add section pointers for text, data and bss
343 sections.
344 * maint.c (translate address command): Add test code for overlay
345 address translation.
346 * printcmd.c (do_examine do_one_display): Now takes a bfd section
347 arg.
348 * (print_formatted x_command): Record current section along with
349 current address for repeated commands.
350 * sparc-nat.c (fetch_inferior_registers): Change
351 target_xfer_memory to target_{read write}_memory to allow changes
352 to target_xfer_memory interface for section info.
353 * symmisc.c (dump_msymbols print_symbol): Print section
354 assocaited with symbol.
355 * symtab.c (fixup_symbol_section): New routine to
356 add section info to symbols returned by lookup_symbol.
357 * symtab.h (struct general_symbol_info): Add bfd section to
358 symbols.
359 * target.c target.h (target_xfer_memory): Add bfd section to
360 args.
361 * (target_read_memory_section): New routine to read data from a
362 specific section.
363 * (target_memory_bfd_section): New global variable to pass bfd
364 section in to targets.
365 * valarith.c (value_add value_addr value_array): Preserve bfd
366 section when computing new value.
367 * value.h (struct value): Add bfd section to values.
368 * values.c (allocate_value value_copy): Initialize/preserve bfd
369 section.
370 * (unpack_double): Clean up _MSC_VER conditionals to remove
371 duplicate code.
372start-sanitize-v850
373 * v850ice.c: New module to support communication with NEC's
374 PC-based ICE.
375 * config/v850/tm-v850.h (REGISTER_NAMES): Replace sp, gp, fp, and
376 ep names with rxx names. sp and fp are renamed via a different
377 mechanism.
378end-sanitize-v850
379
3de76938
GN
380Fri Jan 3 14:20:05 1997 Geoffrey Noer <[email protected]>
381
bb6debca
SS
382 * mn10300-tdep.c (mn10300_push_arguments): rewrote,
383 also removed code elsewhere that made use of RP_REGNUM.
4efc4045
GN
384 * config/mn10300/tm-mn10300.h: ripped out RP_REGNUM, V0_REGNUM,
385 ARG0_REGNUM, ARGLAST_REGNUM (all not appropriate for mn10300
386 arch.), redefined SAVED_PC_AFTER_CALL, EXTRACT_RETURN_VALUE,
bb6debca 387 EXTRACT_STRUCT_VALUE_ADDRESS, STORE_RETURN_VALUE.
3dcd429f 388
bb6debca 389For older changes see ChangeLog-96
bd5635a1
RP
390\f
391Local Variables:
392mode: indented-text
393left-margin: 8
394fill-column: 74
395version-control: never
396End:
This page took 0.895553 seconds and 4 git commands to generate.