]> Git Repo - binutils.git/blame - gdb/ChangeLog
* i386-tdep.c (i386_frame_find_saved_regs): Handle zero return
[binutils.git] / gdb / ChangeLog
CommitLineData
958866c5
PS
1Sat Dec 14 09:52:30 1996 Peter Schauer ([email protected])
2
3 * i386-tdep.c (i386_frame_find_saved_regs): Handle zero return
4 from get_pc_function_start gracefully.
5
a46d92a7
PS
6Sat Dec 14 00:43:57 1996 Peter Schauer ([email protected])
7
8 * c-exp.y (qualified_name): Replace explicit check for valid
9 destructor name with call to destructor_name_p.
10
11 * c-lang.h, c-typeprint.c (cp_type_print_method_args): Removed,
12 no longer needed.
13
14 * c-typeprint.c (c_type_print_varspec_prefix, c_type_print_base):
15 Replace remaining fprintf_unfiltered calls with their filtered variant.
16 (c_type_print_base): Do not print return type for destructors from
17 template classes.
18 Replace cp_type_print_method_args with cplus_demangle call to get
19 consistent type output for stubbed and unstubbed methods.
20
21 * cp-valprint.c (cp_print_class_method): Replace
22 cp_type_print_method_args with cplus_demangle call to get consistent
23 type output for stubbed and unstubbed methods.
24
25 * gdbtypes.c, gdbtypes.h (get_destructor_fn_field): New function
26 to find the destructor field indices for a type.
27
28 * gdbtypes.h (struct type): Clarify comments for vptr_basetype
29 and arg_types fields.
30 (struct fn_field): Remove args field, no longer used.
31
32 * symtab.c (decode_line_1), valops.c (value_struct_elt,
33 check_field_in): Use get_destructor_fn_field to find the destructor
34 field indices instead of assuming that the compiler passes the member
35 function fields in a specific order.
36
37 * symtab.c (find_methods): Pass NULL instead of SYMBOL_BLOCK_VALUE
38 to lookup_symbol.
39 (list_symbol): Replace cp_type_print_method_args with cplus_demangle
40 call in zapped out code and explain why this code is zapped out.
41
1e4a0d02
MM
42Thu Dec 12 13:29:14 1996 Michael Meissner <[email protected]>
43
44 * config/powerpc/ppc{,le}-sim.mt (SIM): Add the simulator common
45 library ../sim/common/libcommon.a.
46
47Wed Dec 11 18:51:35 1996 Mark Alexander <[email protected]>
48
49 * gdbtk.c (gdb_loc): Correct truncation of PC on 64-bit MIPS.
50
eb28c55a
DE
51Wed Dec 11 11:15:08 1996 Doug Evans <[email protected]>
52
53 * monitor.c (monitor_load): Add support for load address argument.
54 * dsrec.c: #include <time.h>.
55 (load_srec): New argument load_offset. Print download stats.
56 * srec.h (load_srec): Update prototype.
57 * sh3-rom.c (sh3_load): Update call to load_srec.
58
4da0f856
GN
59Mon Dec 9 17:34:05 1996 Geoffrey Noer <[email protected]>
60
61 * config/mn10300/tm-mn10300.h: more small register fixes
62 * mn10300-tdep.c: filled in from another target
63
15f13cd0
DE
64Mon Dec 9 17:12:19 1996 Doug Evans <[email protected]>
65
66 * monitor.c (monitor_insert_breakpoint): Handle bi-endian machines.
67
9d78e1af
MA
68Mon Dec 9 15:58:51 1996 Mark Alexander <[email protected]>
69
70 * config/mips/tm-mips.h: Get rid of call-dummy code.
71 Minor changes to make pre-ANSI compilers happy.
72 * mips-tdep.c: Minor changes to make pre-ANSI compilers happy.
73 (mips_push_arguments): Rewrite to partially support EABI.
74 (mips_pc_in_call_dummy): New function.
75 * infcmd.c: Include symfile.h to get prototype of entry_point_address,
76 which fixes 64-bit sign extension bug on MIPS.
77
ddc2888e
GN
78Mon Dec 9 00:14:49 1996 Geoffrey Noer <[email protected]>
79
80 * config/mn10300/tm-mn10300.h: fix register names
81 * mn10300-tdep.c: new skeleton tdep for mn10300
82
163a75af
DE
83Sun Dec 8 18:02:57 1996 Doug Evans <[email protected]>
84
85 * remote-sim.h: Update some comments.
86 * remote-sim.c (gdb_os_error): New function.
87 (init_callbacks): Fix initializing of gdb_callback. Add gdb_os_error.
88 (gdb_os_printf_filtered): Use gdb_stdout, not stdout.
89
1d275068
PS
90Sun Dec 8 00:36:31 1996 Peter Schauer ([email protected])
91
92 * irix5-nat.c (supply_gregset, fill_gregset): Handle gregsets
93 from O32 and N32 ABI.
94 (xfer_link_map_member): Work around problem with alignments
95 in struct obj when compiling GDB under N32 ABI.
96
48712b30
SS
97start-sanitize-d10v
98Thu Dec 5 23:30:44 1996 Stan Shebs <[email protected]>
99
100 * d10v-tdep.c: Add support for examination and interpretation
101 of instruction trace buffer.
102 (trace, untrace, info trace, tdisassemble): New commands.
103
104end-sanitize-d10v
d0e51077
DE
105Thu Dec 5 14:06:23 1996 Doug Evans <[email protected]>
106
107 * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER): Undef.
108 (TARGET_BYTE_ORDER_SELECTABLE): Define.
109 (BREAKPOINT): Undef.
110 ({BIG,LITTLE}_BREAKPOINT): Define.
cf869869 111 (TM_PRINT_INSN_MACH): Redefine for sparclet.
d0e51077 112
6823374b
GN
113Wed Dec 4 16:34:05 1996 Geoffrey Noer <[email protected]>
114
48712b30 115 * config/mn10300/mn10300.mt, config/mn10300/tm-mn10300.h: New.
6823374b
GN
116
117Tue Dec 3 13:02:08 1996 Fred Fish <[email protected]>
118
119 * infptrace.c (store_inferior_registers): Move some common code out
120 to store_register, like fetch_inferior_registers & fetch_register.
121 (store_register): New function, from store_inferior_registers.
122 (fetch_inferior_registers, fetch_register): Minor code tweaks to
123 make {fetch,store}_inferior_registers and {fetch,store}_register
124 routines as similar in structure as possible.
125 (fetch_inferior_registers, store_inferior_registers): Eliminate
126 local variable numregs and just use ARCH_NUM_REGS directly.
127
e47d1a4e
MS
128Tue Dec 3 11:38:14 1996 Michael Snyder <[email protected]>
129
130 * blockframe.c: add macro USE_GENERIC_DUMMY_FRAMES to enable/disable
131 code for generic call_dummy frames.
132 * config/h8300/tm-h8300.h: turn on USE_GENERIC_DUMMY_FRAMES
133start-sanitize-m32r
48712b30 134 * config/m32r/tm-m32r.h: Ditto.
e47d1a4e 135end-sanitize-m32r
48712b30 136 * config/sh/tm-sh.h: Ditto.
e47d1a4e 137start-sanitize-v850
48712b30 138 * config/v850/tm-v850.h: Ditto.
e47d1a4e
MS
139end-sanitize-v850
140
94cff946
PS
141Sun Dec 1 00:41:47 1996 Peter Schauer ([email protected])
142
143 * vax-tdep.c (vax_print_insn, print_insn_arg): Use info functions
144 for printing. From Valeriy Ushakov <[email protected]>.
145
e47d1a4e
MS
146Sun Dec 1 00:40:46 1996 Geoffrey Noer <[email protected]>
147
48712b30 148 * configure.tgt: Add new mn10300 entry.
e47d1a4e 149
0db3fe94
PS
150Sun Dec 1 00:18:59 1996 Peter Schauer ([email protected])
151
152 Add support for Irix 6.2 native O32 and N32 ABI.
153
154 * config.in, configure.in, configure: Check for <objlist.h>.
155 * configure.tgt: Handle mips*-sgi-irix6* like irix5 for now.
156
157 * cp-valprint.c (cp_print_value_fields): Use SYMBOL_VALUE_ADDRESS
158 instead of SYMBOL_BLOCK_VALUE to get the address of a static member.
159
160 * dwarf2read.c: Turn warnings and recoverable errors into complaints,
161 add new complaints where appropriate.
162 gcc -Wall cleanup.
163 (struct line_head): Change line_base from char to int to avoid
164 problems with compilers whose plain char is represented by an
165 unsigned char.
166 (struct partial_die_info): Add is_declaration field.
167 (dwarf2_tmp_obstack): New obstack for allocating temporary storage
168 used during symbol reading.
169 (cu_header_offset): New variable for resolving relative reference
170 dies.
171 (optimized_out, basereg, islocal, frame_base_reg, frame_base_offset):
172 New interface variables for decode_locdesc.
173 (struct dwarf2_pinfo): New structure for communication between
174 psymtab and symtab reading, passed via pst->read_symtab_private.
175 (dwarf2_has_info, dwarf2_build_psymtabs): Accept objects files
176 without line number sections.
177 (dwarf2_build_psymtabs_hard): Initialize temporary obstack
178 for symbol reading.
179 Allocate and initialize pst->read_symtab_private.
180 Relocate pst->textlow and pst->texthigh with baseaddr.
181 (scan_partial_symbols): Do not add DW_AT_declaration symbols
182 to the partial symbol table.
183 Add file scope enumerator symbols to the partial symbol table.
184 Fix typo in highpc computation.
185 If we didn't find a lowpc, set it to highpc to avoid complaints
186 from `maint check.
187 (add_partial_symbol): Relocate symbol values with baseaddr.
188 Add static DW_TAG_subprogram and DW_TAG_variable symbols to the
189 minimal symbol table.
190 Obtain symbol values for DW_TAG_variable symbols from the location
191 descriptor, skip symbols with missing location desciptors.
192 Skip symbols for aggregate types without children.
193 Handle enumerator symbols.
194 (dwarf2_psymtab_to_symtab): Issue symbol reading message if verbose.
195 (psymtab_to_symtab_1): Set local variables from
196 pst->read_symtab_private, set cu_header_offset and baseaddr.
197 Initialize temporary obstack for symbol reading, initialize
198 buildsym and add a cleanup to really_free_pendings.
199 Relocate highpc with baseaddr when calling end_symtab.
200 If the compilation is from a C file generated by language
201 preprocessors, do not set the symtab language if it was already
202 deduced by start_subfile.
203 Removed verbose sorting symbol table message.
204 (process_die): Handle DW_TAG_ptr_to_member_type and
205 DW_TAG_reference_type.
206 Use read_subroutine_type to get the function type for
207 DW_TAG_subprogram before calling read_func_scope.
208 (read_file_scope): Initialize file name to <unknown>, start_subfile
209 expects a non-NULL name.
210 If we didn't find a lowpc, set it to highpc to avoid complaints
211 from finish_symbol.
212 Relocate lowpc and highpc with baseaddr.
213 Get rid of Irix6.2 native cc compile machine prefix in comp_dir.
214 Zero out ftypes for each new compilation unit (may be different
215 language or different objfile).
216 Accept compilation units without line number information, pass
217 comp_dir to decode_lines.
218 (read_func_scope): Initialize function name to <unknown> to avoid
219 core dumps when DW_AT_name is missing.
220 Relocate lowpc and highpc with baseaddr.
221 Handle DW_AT_frame_base, keep result for DW_OP_fbreg operations.
222 Pass function type to new_symbol.
223 (read_lexical_block_scope): Relocate lowpc and highpc with baseaddr.
224 (read_structure_scope): Set TYPE_TAG_NAME, not TYPE_NAME.
225 Handle DW_TAG_class_type.
226 Copy fields to type_obstack, release temporary storage for fields.
227 Don't add symbol if die is a stub die and has no children.
228 Handle C++ static member fields.
229 (read_enumeration): Set TYPE_TAG_NAME, not TYPE_NAME.
230 Copy fields to type_obstack, release temporary storage for fields.
231 Let new_symbol handle the symbol creation for enumerators
232 instead of handcrafting a symbol.
233 Determine signedness of enum type from enumerators.
234 (dwarf_read_array_type): Handle variable length arrays.
235 Use lookup_pointer_type instead of handcrafting a type.
236 Create array type only if a DW_TAG_subrange_type was found.
237 (read_tag_pointer_type, read_tag_reference_type):
238 Use lookup_pointer_type and lookup_reference_type instead
239 of handcrafting a type.
240 (read_tag_ptr_to_member_type): New function to handle
241 DW_TAG_ptr_to_member_type.
242 (read_subroutine_type): Handle parameter dies.
243 Use lookup_function_type instead of handcrafting a type.
244 (read_typedef): Allocate a TYPE_CODE_TYPEDEF type for the typedef.
245 (read_base_type): If the type has a name, use init_type to create
246 a new type instead of second guessing a fundamental type.
247 (read_comp_unit): Reset die reference table before building
248 a new one.
249 (dwarf2_read_section): Read section contents into psymbol_obstack.
250 (dwarf2_read_abbrevs): Handle unterminated abbreviations
251 for a compile unit gracefully.
252 (read_partial_die): Zero partial die before reading its info.
253 Handle DW_AT_declaration.
254 Fix typo in handling of DW_FORM_block4.
255 (read_full_die): Fix typo in handling of DW_FORM_block4.
256 (read_1_signed_byte, read_2_signed_bytes, read_4_signed_bytes):
257 New routines to get signed values from a buffer.
258 (read_n_bytes, read_string): Allocate storage from the temporary
259 obstack. If the host char size permits it, return pointer
260 to buffer instead of allocating storage.
261 (set_cu_language): Handle DW_LANG_Mips_Assembler.
262 (dwarf_attr): Return NULL if reference die for DW_AT_specification
263 or DW_AT_abstract_origin die is not found.
264 (record_minimal_symbol): Removed, replaced with a direct call to
265 prim_record_minimal_symbol, it now handles saving the string itself.
266 (convert_locdesc): Removed, partial symtab reading now uses
267 decode_locdesc.
268 (dwarf_attr): Use dwarf2_get_ref_die_offset to get the absolute
269 offset for the die reference.
270 (dwarf_decode_lines): Complain if the line section info is missing.
271 Use read_1_signed_byte to extract lh.line_base to avoid
272 problems with compilers whose plain char is represented by an
273 unsigned char.
274 Add cleanups for allocated temporary storage.
275 Start a subfile for the first file in the state machine.
276 Fix off by one problem with dirs.dirs access.
277 Use comp_dir when directory index is 0.
278 Support multiple sequences (from Jason Merrill <[email protected]>).
279 (dwarf2_start_subfile): Try to keep line numbers from identical
280 absolute and relative file names in a common subfile.
281 (new_symbol): Allocate symbol and symbol name on the symbol_obstack.
282 Set SYMBOL_LINE from DW_AT_decl_line if present.
283 Set SYMBOL_TYPE from passed type if not NULL.
284 Change DW_TAG_variable symbol types with missing type entries
285 to a sensible type.
286 Handle optimized_out, offreg and islocal storage classes.
287 Add external symbols with type information whose address isn't
288 known as LOC_UNRESOLVED symbols.
289 Synthesize typedefs for C++ classes, structs, unions and enumerations.
290 Handle DW_TAG_enumerator symbols, complain for unrecognized
291 symbol tags.
292 (die_type): A missing DW_AT_type represents a void type.
293 Use dwarf2_get_ref_die_offset to get the absolute offset for
294 the die reference.
295 (die_containing_type): New function to build type from
296 DW_AT_containing_type attribut.
297 (read_type_die): Handle DW_TAG_ptr_to_member_type.
298 Treat DW_TAG_subprogram like DW_TAG_subroutine_type.
299 (dwarf_base_type): Fix typo with creation of FT_UNSIGNED_SHORT
300 fundamental type.
301 (create_name): Removed, symbol name allocation is now done
302 in new_symbol.
303 (dump_die): Use print_address_numeric to print a CORE_ADDR.
304 (dwarf2_empty_die_ref_table): New function to clear the die
305 reference table.
306 (dwarf2_get_ref_die_offset): New function to get the absolute
307 die offset from a die reference attribute.
308 (decode_locdesc): Complete rewrite using a stack, code mostly
309 borrowed from dwarfread.c:locval.
310 (dwarf_alloc_type): Removed, replaced by direct calls to alloc_type.
311 (dwarf_alloc_block): Allocate block on temporary obstack.
312
313 * elfread.c (elf_symtab_read): When handling Irix dynamic symbols,
314 skip section name symbols and relocate all others.
315 (elf_symfile_read): Build dwarf2 psymtab even if offset is non-zero.
316
317 * irix5-nat.c (fetch_core_registers): Handle core_reg_sect
318 from N32 executables. Call registers_fetched after extracting
319 the registers.
320 (obj_list_variant, struct link_map, LM_OFFSET, LM_ADDR): New
321 definitions to enable support of O32 and N32 format objlists.
322 (struct so_list): New members offset, so_name and lmstart to
323 eliminate dependencies from the objlist format used.
324 (solib_map_sections, symbol_add_stub, solib_add,
325 info_sharedlibrary_command, solib_address, clear_solib): Use
326 so_name and LM_OFFSET.
327 (first_link_map_member): Rewrite to enable support of O32 and N32
328 format objlists.
329 (next_link_map_member, xfer_link_map_member): New functions to
330 support O32 and N32 format objlists.
331 (find_solib): Use first_link_map_member, next_link_map_member and
332 xfer_link_map_member.
333 (solib_create_inferior_hook): Use TARGET_SIGNAL_* instead of
334 host signal numbers.
335
336 * mdebugread.c (parse_partial_symbols, handle_psymbol_enumerators):
337 Pass CORE_ADDR variant to add_psymbol_to_list.
338
339 * mips-tdep.c (heuristic_proc_desc): Stop examining the prologue
340 if we encounter a positive stack adjustment. Handle `move $30,$sp'.
341 Handle `sd reg,offset($sp)' for 32 bit ABIs.
342
343 * symmisc.c (dump_msymbols, print_partial_symbols): Use
344 print_address_numeric to print a SYMBOL_VALUE_ADDRESS.
345 (dump_symtab): Print compilation directory if it is not NULL.
346
347 * valops.c (search_struct_field, value_struct_elt_for_reference):
348 Use SYMBOL_VALUE_ADDRESS instead of SYMBOL_BLOCK_VALUE to get the
349 address of a static member.
350
0f75e2e3
PS
351Thu Nov 28 00:46:24 1996 Peter Schauer ([email protected])
352
353 * vax-tdep.c (vax_print_insn): Made static, modified to take
354 disassemble_info as parameter.
355 (_initialize_vax_tdep): New function to initialize tm_print_insn
356 to vax_print_insn.
357
409f64ae
MS
358Wed Nov 27 11:29:06 1996 Michael Snyder <[email protected]>
359
48712b30
SS
360 * blockframe.c: Remove old-style CALL_DUMMY code.
361 * h8300-tdep.c, config/h8300/tm-h8300.h: Ditto.
409f64ae 362start-sanitize-m32r
48712b30 363 * m32r-tdep.c, config/m32r/tm-m32r.h: Ditto.
409f64ae 364end-sanitize-m32r
48712b30 365 * sh-tdep.c, config/sh/tm-sh.h: Ditto.
409f64ae 366start-sanitize-v850
48712b30 367 * v850-tdep.c, config/v850/tm-v850.h: Ditto.
409f64ae
MS
368end-sanitize-v850
369
dc1b349d
MS
370Wed Nov 27 10:32:14 1996 Michael Snyder <[email protected]>
371
372 * breakpoint.c: DELETE command will not delete CALL_DUMMY breakpoint.
373 * blockframe.c: Add target-independant support for managing
374 CALL_DUMMY frames on the host side.
375 * frame.h: Declarations for generic CALL_DUMMY frame support.
376 * h8300-tdep.c: Add target function calls using generic frame support.
377 * config/h8300/tm-h8300.h: config for generic target function calls.
378start-sanitize-m32r
379 * m32r-tdep.c: Add target function calls using generic frame support.
380 * config/m32r/tm-m32r.h: config for generic target function calls.
381end-sanitize-m32r
382 * sh-tdep.c: Add target function calls using generic frame support.
383 * config/sh/tm-sh.h: config for generic target function calls.
384start-sanitize-v850
385 * v850-tdep.c: Add target function calls using generic frame support.
386 * config/v850/tm-v850.h: config for generic target function calls.
387end-sanitize-v850
388 * valops.c: ADD PUSH_RETURN_ADDRESS so that it doesn't have to be
389 done by PUSH_ARGUMENTS when there's no CALL_DUMMY.
390
96431497
MA
391Tue Nov 26 19:21:35 1996 Mark Alexander <[email protected]>
392
393 * config/mips/tm-mips.h (ADDR_BITS_REMOVE, TARGET_READ_SP): Define.
394 (mips_addr_bits_remove): Declare.
395 * mips-tdep.c (mips_push_dummy_frame): Fix heuristic-fence-post
396 errors when hitting breakpoints during inferior function calls
397 in 64-bit programs.
398 (fix_sign_extension): Make public, rename to mips_addr_bits_remove.
399 * utils.c (paddr_nz, preg_nz): New functions, similar to
400 paddr and preg but don't print leading zeroes.
401 * defs.h (paddr_nz, preg_nz): Declare.
402 * remote-mips.c: Use paddr_nz instead of paddr throughout
403 to reduce packet size.
404 (pmon_end_download): Improve timeout error handling.
405
8b701284
ILT
406Tue Nov 26 17:21:37 1996 Ian Lance Taylor <[email protected]>
407
408 * configure: Rebuild with autoconf 2.12.
409
22ba28a5
FF
410Mon Nov 25 13:17:16 1996 Fred Fish <[email protected]>
411
412 From: Paul Eggert <[email protected]>
413 * remote-bug.c (wait_strings): Avoid creating a trigraph.
414
415start-sanitize-d10v
416Fri Nov 22 15:55:22 1996 Martin M. Hunt <[email protected]>
417
418 * valops.c (value_at, value_fetch_lazy): Put in D10V call
419 to fix up address pointers.
420 * values.c (value_from_longest): Removed previous d10v changes.
421 * config/d10v/tm-d10v.h (TARGET_PTR_BIT): Change to 4 bytes.
422
423end-sanitize-d10v
00b45456
PS
424Fri Nov 22 10:06:19 1996 Peter Schauer ([email protected])
425
426 * config/i386/nm-i386v4.h (LOSING_POLL): Define, needed for
427 Unixware 1.1.2.
428
ee455463
MA
429Thu Nov 21 19:13:58 1996 Mark Alexander <[email protected]>
430
431 * mips-tdep.c: Replace hard-coded constants with MIPS_INSTLEN.
432 (common_breakpoint): Use paddr instead of %x to print 64-bit values.
433 (heuristic_proc_desc): Add tests for 64-bit instructions.
434 (init_extra_frame_info, mips_push_arguments): Recognize additional
435 registers for EABI.
436 * remote-mips.c: Extend DDB target to allow TFTP downloads.
437 * config/mips/tm-mips.h (MIPS_LAST_ARG_REGNUM, MIPS_NUM_ARG_REGS):
438 Define.
439
d716b33d
MH
440Wed Nov 20 19:09:16 1996 Martin M. Hunt <[email protected]>
441
442 * infcmd.c (do_registers_info): Call val_print with the
443 virtual buf instead of the raw buf. Needed for REGISTER_CONVERT
444 to work with non-floating point regs.
445
446start-sanitize-d10v
447 * d10v-tdep.c (d10v_skip_prologue): If we have line debugging
448 information, then the end of the prologue should the first
449 assembly instruction of the first source line.
450
451 * values.c (value_from_longest): Put in D10V call to
452 fix up address pointers.
453
454 * config/d10v/tm-d10v.h (REGISTER_VIRTUAL_SIZE): Modified.
455 (REGISTER_VIRTUAL_TYPE): Modified for PC_REGNUM and SP_REGNUM.
456 (REGISTER_CONVERTIBLE): Make PC and SP convertible.
457 (REGISTER_CONVERT_TO_VIRTUAL): Define.
458 (REGISTER_CONVERT_TO_RAW): Define.
459 (D10V_MAKE_DADDR): Define.
460 (D10V_MAKE_IADDR): Define.
461end-sanitize-d10v
9fb53c4f
GN
462Wed Nov 20 16:15:15 1996 Geoffrey Noer <[email protected]>
463
464 * config/i386/cygwin32.mh: add MMALLOC_CFLAGS = -I$(MMALLOC_SRC)
465 -DMMCHECK_FORCE=1 so memory checks are loaded for cygwin32 gdb
466
4da8b2a5
DE
467Wed Nov 20 00:43:09 1996 Doug Evans <[email protected]>
468
38012297
SS
469 * callback.h: Delete, moved to ../include.
470 * callback.c: Delete, moved to ../sim/common.
4da8b2a5
DE
471 * Makefile.in (SFILES,COMMON_OBJS): Delete callback.[co].
472 (callback.o): Delete rule.
38012297 473 * remote-sim.h: No longer include callback.h.
4da8b2a5
DE
474 (sim_callback_write_stdout): Delete prototype.
475 * remote-sim.c (init_callbacks,end_callbacks): New functions.
476 (gdb_os_write_stdout, gdb_os_printf_filtered): New functions.
477 (gdb_callback, callbacks_initialized): New static globals.
478 (gdbsim_open): Call init_callbacks.
479 (gdbsim_close): Call end_callbacks.
480 (simulator_command): Call init_callbacks.
481
cd6dfa93
DE
482 * config/h8300/h8300.mt (SIM): Change to ../sim/h8300/libsim.a.
483 * config/h8500/h8500.mt (SIM): Change to ../sim/h8500/libsim.a.
484
a5a6e3bd 485start-sanitize-gdbtk
bd45f82f
TT
486Tue Nov 19 09:26:14 1996 Tom Tromey <[email protected]>
487
488 * gdbtk.c (gdbtk_readline): Fix memory leak.
489
a5a6e3bd
TT
490Mon Nov 18 23:43:05 1996 Tom Tromey <[email protected]>
491
492 Fixes for Tcl 7.6 / Tk 4.2:
493 * gdbtk.tcl (apply_filespec): Use tk_getOpenFile.
38012297
SS
494 Remove old fileselect code.
495 * gdbtk.c (Tcl_Alloc): Rename from Tcl_Malloc.
a5a6e3bd
TT
496
497end-sanitize-gdbtk
692a601f
JW
498Mon Nov 18 15:58:05 1996 Jim Wilson <[email protected]>
499
500 * config/mips/tm-mips.h (FIX_CALL_DUMMY): Change unsigned LONGEST
501 to ULONGEST.
502
e172af81
FF
503Fri Nov 15 15:34:18 1996 Fred Fish <[email protected]>
504
505 From Peter Schauer <[email protected]>
506 * procfs.c (wait_fd): Handle EINTR error return from poll
507 by restarting the poll.
508 * defs.h (PIDGET): Define a default version that just
509 returns its argument unchanged.
510 * inflow.c (terminal_init_inferior): Eliminate #ifdef
511 of PIDGET and fold both alternatives into common code.
512 (pass_signal): Use PIDGET for pid passed to kill().
513
9ef5835a
MM
514Thu Nov 14 15:54:20 1996 Michael Meissner <[email protected]>
515
9f7f9710
MM
516 * utils.c (paddr,preg): Use a static variable initialized to 32
517 instead of doing addr>>32 to eliminate a warning produced by GCC
518 on 32-bit systems.
519
38012297 520start-sanitize-d10v
9ef5835a
MM
521 * config/d10v/tm-d10v.h (ULONGEST): Define.
522
38012297 523end-sanitize-d10v
9ef5835a
MM
524Tue Nov 12 12:25:27 1996 Jim Wilson <[email protected]>
525
526 * c-typeprint.c (cp_type_print_method_args): Pass -1 for show in
527 recursive call to type_print.
528
119dfbb7
JW
529Tue Nov 12 12:18:29 1996 Jim Wilson <[email protected]>
530
531 * defs.h (ULONGEST): New macro.
532 * alpha-tdep.c, breakpoint.c, c-exp.y, ch-exp.c, convex-xdep.c,
533 corefile.c, defs.h, f-exp.y, findvar.c, gdbcore.h, m2-exp.y,
534 m88k-tdep.c, printcmd.c, remote-hms.c, remote-mips.c, sparc-tdep.c,
535 valarith.c, valops.c, values.c, config/gould/tm-np1.h,
536 config/mips/tm-mips.h, mswin/prebuilt/gdb/cexptab.c,
537 mswin/prebuilt/gdb/fexptab.c, mswin/prebuilt/gdb/m2exptab.c:
538 Change all occurances of unsigned LONGEST to ULONGEST.
539
540 * configure.host (mips-sgi-irix6): Add.
541
69992fc8
MS
542Tue Nov 12 12:16:40 1996 Michael Snyder <[email protected]>
543
544 * sh-tdep.c: Add functionality for target function calls.
545 * config/sh/tm-sh.h: Add support for target function calls.
546
6f3eea2b
MS
547start-sanitize-m32r
548Tue Nov 12 12:06:58 1996 Michael Snyder <[email protected]>
549
69992fc8
MS
550 * m32r-tdep.c: Add functionality for target function calls.
551 * valops.c: Small change to support target function calls.
552 * config/m32r/tm-m32r.h: Add support for target function calls.
6f3eea2b
MS
553end-sanitize-m32r
554
cad9cd60
GN
555Mon Nov 11 17:15:59 1996 Geoffrey Noer <[email protected]>
556
38012297
SS
557 * defs.h: Modify Nov 11 12:59:00 change so _MSC_VER is checked
558 instead of _WIN32.
559 * win32-nat.c: Fix Nov 11 12:59:00 change (windows.h should
cad9cd60
GN
560 be included instead of windefs.h for compilers other than
561 VC++).
38012297
SS
562 * mswin/windefs.h: Remove ^Ms and change C++ style comments
563 to C style comments.
cad9cd60 564
57821e0c
MA
565Mon Nov 11 14:32:38 1996 Mark Alexander <[email protected]>
566
567 * utils.c (get_cell): Fix off-by-one bug.
568 * mips-tdep.c (get_frame_pointer, fix_sign_extension):
569 New functions to consolidate common code.
570 (mips_frame_chain, init_extra_frame_info): Use new functions
571 to fix problems with backtrace and finish commands on ddb board.
28444bf3
DP
572
573Mon Nov 11 12:59:00 1996 Dawn Perchik <[email protected]>
574
575 * mips-tdep.c, remote-mips.c, values.c, mdebugread.c,
576 config/mips/tm-mips.h: Add/fix bugs for 64-bit mips support.
38012297 577 * defs.h: Cleanup; add prototypes.
28444bf3
DP
578 * corefile.c: Change FIXME #ifdef
579 * win32-nat.c: Include windefs instead of windows.h.
580 * utils.c: Add routines for printing addresses and registers
581 based on type size.
582
074d813d
PS
583Sat Nov 9 01:05:10 1996 Peter Schauer ([email protected])
584
585 * alpha-tdep.c (heuristic_proc_desc): Stop examining the prologue
586 if we encounter a positive stack adjustment.
587 (find_proc_desc): If heuristic_fence_post is non-zero, use
588 heuristic_proc_start to determine the start of a function before
589 calling heuristic_proc_desc.
590
591 * coffread.c (coff_symtab_read): Change minimal symbol types
592 for C_LABEL symbols from mst_* to mst_file_*.
593
594 * config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1.
595
596 * configure.in: Handle error message from sun3 native ld when
597 configuring HLDFLAGS.
598 * configure: Regenerated with autoconf.
599
600 * c-valprint.c (c_value_print): Adjust value address by VALUE_OFFSET.
601 * cp-valprint.c (cp_print_value): Prevent gdb crashes by making sure
602 that the virtual base pointer from an user object still points to
603 accessible memory.
604
605 * dbxread.c (dbx_symfile_init): Initialize sym_stab_info to
606 clear the recently added header_files fields.
607 (dbx_symfile_finish): Free hfiles[i].vector to avoid storage leak.
608
4dc42997
MS
609Fri Nov 8 14:30:23 1996 Michael Snyder <[email protected]>
610
38012297
SS
611 * config/tm-sh.h: Added a missing comma in middle of
612 REGISTER_NAMES list.
4dc42997 613
07997f65
SS
614Fri Nov 8 12:29:51 1996 Stan Shebs <[email protected]>
615
944257d4
SS
616 * monitor.c: Fix some formatting and comments.
617
07997f65
SS
618 * remote-sim.c (simulator_command): Set up callbacks before
619 entering the simulator.
620
81a6f5b2
MH
621start-sanitize-d10v
622Thu Nov 7 15:19:08 1996 Martin M. Hunt <[email protected]>
623
624 * d10v-tdep.c: Fix some problems with inferior function calls.
625 * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Change dummy to be
626 a pointer to the dummy's stack instead of just a flag.
627
628end-sanitize-d10v
e1703d1f
MS
629start-sanitize-m32r
630Tue Nov 5 10:21:02 1996 Michael Snyder <[email protected]>
631
632 * m32r-tdep.c: Improved frame_chain and fn prologue analysis.
633 * config/tm-m32r.h: Add framesize and register to extra_frame_info.
634end-sanitize-m32r
635
7af1bcd6
SG
636Tue Nov 5 10:08:07 1996 Stu Grossman ([email protected])
637
638 * mswin/gdbwin.h: Remove bogus definition of CORE_ADDR.
639 * mswin/srcwin.cpp (CSrcScroll1::CSrcScroll1): Initialize depth
640 to fix divide-by-zero problem with clicking on source window.
641
237fa47e
SG
642Mon Nov 4 00:48:37 1996 Stu Grossman ([email protected])
643
9356d50d 644 * mswin/recordit: Fix problem with absolute paths.
237fa47e
SG
645 * mswin/recordit: Fix problem with relative paths.
646
0f6e2984
SG
647Sun Nov 3 18:06:42 1996 Stu Grossman ([email protected])
648
649 * mswin/{Makefile.in configure configure.in}: New files for
650 configuring wingdb under Unix.
651
73b8e6a9
PS
652Sat Nov 2 03:54:13 1996 Peter Schauer ([email protected])
653
654 * irix5-nat.c, osfsolib.c, solib.c (symbol_add_stub): Handle
655 missing or zero-sized .text sections properly.
656 * mdebugread.c: Handle scRConst and scSUndefined storage classes.
657 * stabsread.c (scan_file_globals): Try to resolve symbols
658 for shared libraries from the minimal symbol table of the main
659 executable first.
660
21260fe1
MH
661start-sanitize-d10v
662Fri Nov 1 13:59:28 1996 Martin M. Hunt <[email protected]>
663
664 * d10v-tdep.c, config/d10v/tm-d10v.h: Major fixes to support
665 inferior function calls and proper stack backtracing on D10V-EVA
666 board.
667
668end-sanitize-d10v
5db7cc25
MM
669Fri Nov 1 10:50:51 1996 Michael Meissner <[email protected]>
670
671 * config/powerpc/linux.mh (NATDEPFILES): Fix up things so that it
672 links.
673 (GDBSERVER_DEPFILES,TERMCAP): Ditto.
674
675 * monitor.c (dev_name,targ_ops): Move static variables before
676 first use, to avoid compiler warnings.
677
70ab088d 678start-sanitize-m32r
8665f3dc
MS
679Thu Oct 31 16:37:17 1996 Michael Snyder <[email protected]>
680
681 * m32r-tdep.c: Improved frame_chain and fn prologue analysis.
682 * configure.tgt: Add entry for m32r target.
683 * monitor.h: Add a flag to tell monitor_store_register to use
684 (val, regno) instead of (regno, val).
685 * monitor.c: Make monitor_store_register honor the above flag.
686 Make monitor_exp ignore DC1/DC3 for m32r.
687 Increase buf size in monitor_dump_regs.
688
70ab088d
MS
689Wed Oct 30 18:14:14 1996 Michael Snyder <[email protected]>
690
691 * m32r-tdep.c, m32r-rom.c: New files.
692 * config/m32r/m32r.mt: New file.
693 * config/m32r/tm-m32r.h: New file.
694end-sanitize-m32r
695
ea5c2d66
GN
696Tue Oct 29 16:56:01 1996 Geoffrey Noer <[email protected]>
697
698 * config/i386/xm-cygwin32.h:
699 * config/powerpc/xm-cygwin32.h:
700 add #define LSEEK_NOT_LINEAR so source lines aren't unexpectedly
70ab088d 701 truncated.
ea5c2d66 702
3f740173
MM
703Tue Oct 29 18:36:43 1996 Michael Meissner <[email protected]>
704
705 * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE):
706 Define.
707
62c0cf24
SS
708Tue Oct 29 14:59:20 1996 Stan Shebs <[email protected]>
709
710 * TODO: Add item suggesting an "info bfd" command.
711
19414cdf
MH
712start-sanitize-d10v
713Tue Oct 29 12:48:04 1996 Martin M. Hunt <[email protected]>
714
715 * d10v-tdep.c: Snapshot that supports D10V-EVA board.
716
717 * config/d10v/tm-d10v.h (REGISTER_NAMES): Add imap0,imap1,dmap.
718 (TARGET_READ_FP,TARGET_WRITE_FP): Define.
719
720end-sanitize-d10v
cb5e6e68
SG
721Mon Oct 28 17:34:24 1996 Stu Grossman ([email protected])
722
723 * mswin/genmakes mswin/recordit: New scripts to generate make
724 files for MSVC.
725
726Sun Oct 27 20:18:04 1996 Mark Alexander <[email protected]>
727
728 * config/mips/{tm-vr5000.h,tm-vr5000el.h,vr5000.mt,vr5000el.mt}:
729 New files.
730 * configure.tgt: Modify cases for vr5000 to use new files.
731
1cb1b16c
PS
732Sat Oct 26 07:15:14 1996 Peter Schauer ([email protected])
733
734 * config/alpha/alpha-osf3.mh (XM_CLIBS): Add -lm for OSF/1-4.0.
735
736 * procfs.c (proc_set_exec_trap): Under Alpha OSF/1-4.0, tracing
737 the entry to the exit system call to detect termination of the
738 inferior stopped working. Trace termination of the inferior via
739 PRFS_STOPTERM instead.
740 (procfs_init_inferior): Do not trace entry to exit system call
741 if PIOCSSPCACT is defined.
742 (procfs_wait): Handle PR_DEAD event, which signals the termination
743 of the inferior if PRFS_STOPTERM is set.
744
745 * mdebugread.c (parse_partial_symbols): Ignore stNil section
746 start address symbols.
747
748 * sparc-tdep.c (get_saved_register): Get saved PC from the
749 frame info if not in innermost frame.
750
751Thu Oct 24 10:51:45 1996 Mark Alexander <[email protected]>
752
753 * dbxread.c (process_one_symbol): Interpret end-of-function
754 markers correctly; this fixes problem on Vr5000 where all
755 functions in a module had the same address.
756 * configure.in, configure.tgt, configure.host, gdbserver/configure.in:
757 Correct for pc-linux-gnu problem in config.guess.
758 * configure: Regenerate.
759
139e2c0f
SG
760Thu Oct 24 10:06:58 1996 Stu Grossman ([email protected])
761
762 * dbxread.c: Don't swap symbols in place, since internal and
763 external forms may have different sizes. Don't assume that an
764 internal_nlist has the same layout as an external_nlist. Create
765 symbol for n_strx element so to hide specifics of nlist from
766 partial-stab.h.
767 * partial-stab.h: Don't reference dbxread symbols directly. Use
768 CUR_SYMBOL_STRX instead.
769 * config/i386/xm-windows.h: Define SIGQUIT and SIGTRAP.
770
771start-sanitize-v850
772 * config/v850/tm-v850.h: Define PS_REGNUM and TARGET_V850 for
773 MSVC builds.
774 * mswin/gdbwin.c (reg_order): Define register order for V850.
775 * mswin/gui.cpp (CGuiApp::InitInstance): Define target name for
776 V850.
777 * mswin/regdoc.h: Define MAXREGS for V850.
778end-sanitize-v850
a638512f
SG
779start-sanitize-v850
780Tue Oct 22 16:28:20 1996 Stu Grossman ([email protected])
781
782 * v850-tdep.c (scan_prologue): Changes to deal with scheduled
783 prologues correctly. First, prologue end is now defined by
784 presence of a branch, jump or call insn. Second, can no longer
785 fix frame offsets because we may not know the offset until after a
786 register has been saved.
787 * (v850_init_extra_frame_info): Fixup frame offsets here because
788 we have all the info at this time.
789 * (v850_frame_chain): Use new calling convention for scan_prologue.
790
791end-sanitize-v850
fcabf676
MH
792start-sanitize-d10v
793Tue Oct 22 10:25:29 1996 Martin M. Hunt <[email protected]>
794
795 * d10v-tdep.c, config/d10v/tm-d10v.h: Changes to allow stack
796 backtraces and inferior function calls.
797
798end-sanitize-d10v
5efcbe36
SS
799Tue Oct 22 10:32:46 1996 Stan Shebs <[email protected]>
800
801 * mpw-make.sed: Update init.c editing to work with Oct 8 change.
802 (@HLDFLAGS@): Always edit out.
803
d8831024
MA
804Mon Oct 21 18:17:08 1996 Mark Alexander <[email protected]>
805
806 * mdebugread.c (parse_partial_symbols): Fix 64-bit
807 sign-extension problems in calculating psymtab addresses.
808 * buildsym.c (end_symtab): Use macro to pop context.
809
53845f94 810start-sanitize-v850
23da411a
SG
811Mon Oct 21 14:40:50 1996 Stu Grossman ([email protected])
812
813 * v850-tdep.c: Cleanup lots of things. Add many comments.
23da411a 814
53845f94
SG
815 * v850-tdep.c (v850_init_extra_frame_info v850_frame_chain): Fix
816 sign bugs with scanning prologues. Get a little smarter about
817 calculating the length of uninteresting instructions.
818
a638512f 819end-sanitize-v850
62dd860e
MS
820Mon Oct 21 14:01:38 1996 Michael Snyder <[email protected]>
821
822 * top.c: Add new commands "set annotate" and "show annotate".
823
972256e7
PS
824Sun Oct 20 04:38:39 1996 Peter Schauer ([email protected])
825
826 * corelow.c (core_close): Clear inferior_pid only if there is
827 an open core_bfd.
828
829 * cp-valprint.c (cp_print_value_fields): Pass correct address
830 to val_print, not 0.
831
832 From Andreas Schwab ([email protected]):
833 * eval.c (evaluate_subexp_standard) [case BINOP_REPEAT]: Chase
834 typedefs before checking for integral type of right operand.
835
91d12e12
MA
836Fri Oct 18 17:26:22 1996 Mark Alexander <[email protected]>
837
838 * mdebugread.c (parse_symbol): Fix crash when malloc has
839 no type info and void type has no associated pointer type.
840
943e243c
SS
841Thu Oct 17 18:18:20 1996 Stan Shebs <[email protected]>
842
843 * configure.host: New file, host configuration mapping.
844 * configure.tgt: New file, target configuration mapping.
845 * configure.in: Remove host and target mapping.
846 * configure: Rebuild.
847
93ed453c
SS
848Wed Oct 16 17:46:03 1996 Stan Shebs <[email protected]>
849
850 * breakpoint.c (must_shift_inst_regs): New global.
851 (bpstat_stop_status): Change #if uses of DECR_PC_AFTER_BREAK into
852 equivalent expression uses.
853 * infrun.c (wait_for_inferior): Ditto.
854
687f4e23
SG
855start-sanitize-v850
856Wed Oct 16 01:53:43 1996 Stu Grossman ([email protected])
857
858 * v850-tdep.c (v850_push_arguments): Use symbolic names for arg
859 registers.
860 * config/v850/tm-v850.h: Change FP to 29. Define arg regs.
861
862end-sanitize-v850
ac954805
SG
863Tue Oct 15 16:30:07 1996 Stu Grossman ([email protected])
864
9bf9a318
SG
865 * Makefile.in (init.c): Don't use -s option with grep. It means
866 something different under Digital Unix.
867
ac954805
SG
868 * buildsym.c (finish_block): Treat LOC_BASEREG_ARG and
869 LOC_LOCAL_ARG as arguments so that GDB will know about function
870 args declared this way. Mostly affects dwarf.
871 * dwarfread.c (decode_die_type): Change default type from int to
872 void. This allows GDB to recognize void functions.
873 * (new_symbol): If AT_PROTOTYPED is present, set a flag in the
874 type structure.
875 * findvar.c (extract_floating store_floating): Clean up comments
876 to reflect reality.
877 * gdbtypes.h: Add TYPE_FLAG_PROTOTYPED so that we can tell if a
878 function has a prototype. Currently, only dwarf supports this.
879 * utils.c (floatformat_from_doublest): Fix logic error with
880 converting from double to float. (It wasn't shifting mant_long if
881 it had a hidden bit.)
882
883start-sanitize-v850
884 * v850-tdep.c: Add support for function calling. Fix some
885 problems with debugging code w/o debug symbols.
886 * config/v850/tm-v850.h: Ditto.
687f4e23 887
ac954805 888end-sanitize-v850
03e2a8c8
ILT
889Tue Oct 15 18:19:42 1996 Ian Lance Taylor <[email protected]>
890
891 * utils.c: Always ensure that size_t is defined. Check
892 HAVE_STDDEF_H rather than __STDC__
893 (xmalloc, xrealloc): Use size_t rather than long.
894
3f3d60c1
MH
895Tue Oct 15 14:24:19 1996 Martin M. Hunt <[email protected]>
896
897 * config/powerpc/tm-ppc-eabi.h: Undefine NO_SINGLE_STEP so targets
898 can use single-step commands.
899
900Sun Oct 13 11:38:25 1996 Peter Schauer ([email protected])
901
902 * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR is non-zero,
903 follow typedefs before checking TYPE_CODE for structures and unions.
904
e5a2ac8b
SG
905Fri Oct 11 15:43:54 1996 Stu Grossman ([email protected])
906
ac954805
SG
907 * frame.h: Move definition of struct frame_saved_regs to before
908 struct frame to make it possible to use frame_saved_regs in
e5a2ac8b
SG
909 EXTRA_FRAME_INFO macro.
910
911start-sanitize-v850
912 * v850-tdep.c config/v850/tm-v850.h: Lotsa new functions and
913 macros to make frame operations (such as backtrace) work.
914
915end-sanitize-v850
693e9bf6
FF
916Fri Oct 11 14:23:50 1996 Fred Fish <[email protected]>
917
918 * dbxread.c (process_one_symbol): Check for null string directly
919 rather than using strcmp against "".
920 * partial-stab.h: Ditto.
921
913a7c4c
MA
922Fri Oct 11 12:18:32 1996 Mark Alexander <[email protected]>
923
924 * gdbserver/{gdbreplay.c,low-linux.c,remote-utils.c,utils.c}:
925 Make it compile on Linux and eliminate some warnings.
926
e96dc1f7
SG
927Thu Oct 10 16:32:08 1996 Stu Grossman ([email protected])
928
929 * Makefile.in (init.c): Fixup final sed script to work around
930 Linux bug with `p' operator.
931
5dad8312
SS
932Wed Oct 9 18:02:48 1996 Stan Shebs <[email protected]>
933
934 * remote-mips.c: Use the correct name everywhere (DDB) for NEC's
935 VR4300 target.
936 (ddb_ops, pmon_ops): Fix the documentation strings.
937
5faa6e1e
SG
938Wed Oct 9 07:42:44 1996 Stu Grossman ([email protected])
939
940 * Makefile.in (init.c): Retro HPUX grep lacks -h option. Strip
941 filenames with sed instead.
942
99283e87
SG
943Tue Oct 8 15:59:44 1996 Stu Grossman ([email protected])
944
945 * defs.h: Remove decls of xmalloc and xrealloc. There is a
946 conflicting definition in libiberty.h.
947
a7f56d5a
FF
948Tue Oct 8 11:47:13 1996 Fred Fish <[email protected]>
949
950 * dbxread.c (dbx_symfile_read): Call free_pending_blocks rather
951 than poking global variable (which is now static).
952 * hpread.c (hpread_build_psymtabs): Ditto.
953 * os9kread.c (os9k_symfile_read): Ditto.
954 * xcoffread.c (xcoff_initial_scan): Ditto.
955
956 * buildsym.h (free_pending_blocks): Declare here.
957 (pending_blocks): Remove declaration of global symbol.
958 (free_pendings): Remove declaration of global symbol.
959 (make_blockvector): Declare here.
960 (record_pending_block): Declare here.
961
962 * dstread.c (make_blockvector): Remove static copy that was old
963 clone of version in buildsym.c.
964 (process_dst_block): Call record_pending_block rather than doing
965 it by hand.
966 (read_dst_symtab): Ditto.
967
968 * buildsym.c (make_blockvector): Make global rather than static,
969 (record_pending_block): New function, code moved from finish_block.
970 (finish_block): Use record_pending_block.
971 (free_pending_blocks): New function.
972 (really_free_pendings): Call free_pending_blocks.
973 (pending_blocks): Make static instead of global.
974 (free_pendings): Make static instead of global.
975
5d394f70
SG
976Tue Oct 8 09:03:22 1996 Stu Grossman ([email protected])
977
8a5c77a1
SG
978 * config/i386/windows.mh config/i386/xm-windows.h:: New config
979 files to support building Wingdb (built under Microsoft build
980 environment).
981
5d394f70
SG
982 * Makefile.in: Add rule for hpux-thread.o (needs special header
983 files).
984 * (SUBDIRS): Remove mswin.
985 * Change procedure for creating init.c. Speeds things up quite a
986 bit.
987 * config.in configure configure.in: Check for select, poll.
988 * Check for OSF header files before including hpux-thread.o.
989 * Don't configure doc or testsuite when building under MSVC.
990 * findvar.c value.h (read_register_pid write_register_pid): Make
991 global. Needed for hppa-tdep.c.
992 * (supply_register): Don't set pid to inferior_pid when supplying
993 registers.
994 * hppa-tdep.c (saved_pc_after_call): frame_saved_pc ->
995 FRAME_SAVED_PC.
996 * (frame_saved_pc): Change name to hppa_frame_saved_pc.
997 * (hppa_pop_frame): Don't use a pid of 0 with target_write_pc.
998 Use write_pc instead, which uses the correct pid.
999 * (target_read_pc target_write_pc): Use read/write_register_pid
1000 instead of read/write_register to preserve the pid passed in.
1001 * inftarg.c (child_can_run): Add flag child_suppress_run to allow
1002 hpux-threads.c to override this as a runnable target.
1003 * config/pa/nm-hppah.h: Define target_new_objfile and
1004 target_pid_to_str.
1005 * config/pa/tm-hppa.h (FRAME_SAVED_PC): Use hppa_frame_saved_pc
1006 instead of frame_saved_pc.
1007 * config/m68k/tm-m68k.h: Define TARGET_M68K for Wingdb.
1008 * config/m68k/tm-monitor.h: Use FRAME_CHAIN_VALID_ALTERNATE, since
1009 we can't easily determine the start file bounds with ELF.
1010 * config/mips/tm-mips.h: Define TARGET_MIPS for Wingdb.
1011 * hpux-thread.c: New file for HPUX/OSF thread support.
1012 * osf-share/{README AT386/cma_thread_io.h HP800/cma_thread_io.h
1013 RIOS/cma_thread_io.h cma_attr.h cma_deb_core.h cma_debug_client.h
1014 cma_errors.h cma_handle.h cma_init.h cma_list.h cma_mutex.h
1015 cma_sched.h cma_semaphore_defs.h cma_sequence.h cma_stack.h
1016 cma_stack_int.h cma_tcb_defs.h cma_util.h}: New files for OSF
1017 thread support.
1018
73369488
FF
1019Sun Oct 6 15:48:09 1996 Fred Fish <[email protected]>
1020
1021 * buildsym.c (finish_block): Change innerblock_anon_complaint to
1022 print the addresses as part of the complaint. Add a complaint for
1023 cases where the block end address is smaller than the block start
1024 address, in case any such conditions slip through our fixup mechanism.
1025 * symmisc.c (dump_symtab): Only print blockvector for primary
1026 symtabs, to avoid massive duplication of output due to secondary
1027 symtabs that point to same blockvector. Also do some minor
1028 formatting tweaks.
1029
7f8da359
PB
1030Mon Oct 7 10:42:32 1996 Per Bothner <[email protected]>
1031
1032 Replace header_files global by per-objfile field.
1033 * gdb-stabs.h (struct dbx_symfile_info): Add fields header_files,
1034 n_header_files, n_allocated_header_files.
1035 * stabsread.h (header_files, n_header_files, n_allocated_header_files):
1036 Replace externs by macros HEADER_FILES, N_HEADER_FILES, and
1037 N_ALLOCATED_HEADER_FILES.
1038 * dbxread.c (dbx_symfile_finish): Free HEADER_FILES.
1039 (free_header_files, init_header-files): Don't free/init headerfiles.
1040 (various functions): Use macros instead of header_files globals.
1041 * stabsread.c (various functions): Likewise.
1042
e61a754e
JM
1043Sun Oct 6 22:43:06 1996 Jason Merrill <[email protected]>
1044
1045 * dwarf2read.c (read_tag_reference_type): New fn.
1046 (read_type_die): Call it.
1047 (dwarf_attr): Also look in the DIEs referred to by specification
1048 or abstract_origin attributes.
1049
5bb23a95
FF
1050Wed Oct 2 22:07:16 1996 Fred Fish <[email protected]>
1051
1052 * inferior.h (IN_SIGTRAMP): Pass pc to SIGTRAMP_START and
1053 SIGTRAMP_END.
1054 * config/i386/tm-i386os9k.h (SIGTRAMP_START, SIGTRAMP_END):
1055 Define with dummy pc arg.
1056 * config/m68k/tm-nbsd.h: Ditto.
1057 * doc/gdbint.texinfo: Document that SIGTRAMP_START and
1058 SIGTRAMP_END are macros that take an single argument.
1059
b51843d8
FF
1060Mon Sep 30 20:02:45 1996 Fred Fish <[email protected]>
1061
1062 * defs.h: Remove define of PRIVATE_XMALLOC.
1063
b51843d8
FF
1064start-sanitize-v850
1065Mon Sep 30 15:39:28 1996 Stu Grossman ([email protected])
1066
1067 * config/v850/tm-v850.h: Use distinct register for PC, not EIPC.
1068
1069end-sanitize-v850
e20c36ba
JL
1070Mon Sep 30 11:16:34 1996 Jeffrey A Law ([email protected])
1071
1072 * top.c (execute_control_command): Free values from while_control
1073 and if_control conditions after evaluation to avoid storage leaks.
1074 From Peter Schauer.
1075
e2810631
SG
1076start-sanitize-v850
1077Fri Sep 27 17:43:06 1996 Stu Grossman ([email protected])
1078
1fa83dcd 1079 * configure configure.in: Recognize v850 target.
e2810631
SG
1080 * v850-tdep.c: New file, NEC V850 target support.
1081 * config/v850/{v850.mt tm-v850.h}: New files for NEC V850 support.
1082
1083end-sanitize-v850
be23e5a4
PS
1084Fri Sep 27 14:48:15 1996 Peter Schauer ([email protected])
1085
1086 * infrun.c (wait_for_inferior): Update current_line and
1087 current_symtab when stepping continues in the middle of a new line.
1088
50140ab2
FF
1089Fri Sep 27 10:25:30 1996 Fred Fish <[email protected]>
1090
1091 * top.c (print_gdb_version): Rewrote to comply with new GNU coding
1092 standards for the --version option.
1093 (print_gnu_advertisement): Remove, now part of print_gdb_version.
1094 (show_version): Remove call to print_gnu_advertisement.
1095 * top.h (print_gnu_advertisement): Remove prototype.
1096 * main.c (print_gdb_help): Move help to static function and
1097 add prototype.
1098 (main): Call print_gdb_help rather than inlining it.
1099 (main): Remove call to print_gnu_advertisement.
1100start-sanitize-gdbtk
1101 * gdbtk.tcl (create_copyright_window): Increase timeout from
1102 15 seconds to 30 seconds.
1103end-sanitize-gdbtk
1104
d266afa9
MM
1105start-sanitize-d10v
1106Fri Sep 27 13:32:53 1996 Michael Meissner <[email protected]>
1107
1108 * config/d10v/tm-d10v.h (TARGET_{INT,PTR}_BIT): Define.
fb0097a0 1109 (TARGET_{,LONG_}DOUBLE_BIT): Ditto.
d266afa9
MM
1110
1111end-sanitize-d10v
54225fd0
MA
1112Thu Sep 26 23:10:26 1996 Mark Alexander <[email protected]>
1113
1114 * configure.in, config/i386/tm-linux.h: Fix configure
1115 problem on older Linux systems that prevented core files
1116 from being recognized.
1117
1118Wed Sep 25 18:31:33 1996 Stan Shebs <[email protected]>
1119
1120 * dbug-rom.c: New file, support for Motorola's dBUG monitor.
1121 * config/m68k/monitor.mt (TDEPFILES): Add it.
1122 * NEWS: Mention it.
1123
1124start-sanitize-d10v
1125Mon Sep 23 16:13:50 1996 Martin M. Hunt <[email protected]>
1126
1127 * config/d10v/tm-d10v.h (SAVED_PC_AFTER_CALL): Fixed.
1128 Now single-steps correctly.
1129 * d10v-tdep.c (d10v_pop_frame): Fixed.
1130
1131end-sanitize-d10v
12ffa10c
SS
1132Fri Sep 20 16:10:58 1996 Stan Shebs <[email protected]>
1133
1134 * config/sh/tm-sh.h (REGISTER_NAMES): Move fp registers to
1135 be consistent with GCC.
1136 (FPUL_REGNUM, etc): Renumber to match list changes.
1137 (ADDR_BITS_REMOVE): Delete.
1138 * sh-tdep.c (sh_reg_names, sh3_reg_names, sh3e_reg_names):
1139 Rearrange to match REGISTER_NAMES.
1140 * sh3-rom.c (sh3_regnames, sh3e_regnames): Ditto.
1141
e05bda9f 1142start-sanitize-d10v
81dc176f
MH
1143Thu Sep 19 16:19:01 1996 Martin M. Hunt <[email protected]>
1144
1145 * d10v-tdep.c: Stack chain should work now.
1146
e05bda9f
MH
1147Tue Sep 17 18:46:57 1996 Martin M. Hunt <[email protected]>
1148
1149 * d10v-tdep.c, config/d10v/tm-d10v.h: Snapshot.
1150
1151end-sanitize-d10v
88907d73
ILT
1152Tue Sep 17 12:20:50 1996 Ian Lance Taylor <[email protected]>
1153
1154 * configure.in: Add cases for MIPS 5000 like MIPS 4300.
1155 * configure: Rebuild.
1156
5b59224e
DP
1157Tue Sep 17 12:09:00 1996 Dawn Perchik <[email protected]>
1158
1159 * ser-e7kpc.c: Added wingdb support for target e7000pc.
1160
1161Tue Sep 17 10:56:52 1996 James G. Smith <[email protected]>
1162
5dad8312 1163 * remote-mips.c (pmon_wait): DDB PMON does not require forced
5b59224e
DP
1164 re-entry back into debug mode.
1165
aeb8f981
JSC
1166Mon Sep 16 14:32:58 1996 James G. Smith <[email protected]>
1167
1168 * remote-mips.c (mips_load): Ensure that the PC is explicitly
5dad8312 1169 loaded after a load to a DDB PMON system.
aeb8f981 1170
1d5eb137
FF
1171Fri Sep 13 12:02:39 1996 Fred Fish <[email protected]>
1172
1173 * Makefile.in (INTERNAL_LDFLAGS): Add @HLDFLAGS@ to list.
1174 (HLDENV): Set to @HLDENV@.
1175 (gdb): Prefix link command line with $(HLDENV).
1176 * configure.in: Add support to test for --enable-shared and
1177 generate appropriate values for HLDFLAGS and HLDENV.
1178 * configure: Regenerated with autoconf.
1179
948a9d92
FF
1180Sun Sep 8 15:26:27 1996 Fred Fish <[email protected]>
1181
1182 * alpha-nat.c (fetch_core_registers): Match Sep 4 gdbcore.h prototype
1183 change for core_read_registers in struct core_fns.
1184 * core-regset.c (fetch_core_registers): Ditto & add prototype.
1185 * core-sol2.c (fetch_core_registers): Ditto & add prototype.
1186 * i386aix-nat.c (fetch_core_registers): Ditto & add prototype.
1187 * i386b-nat.c (fetch_core_registers): Ditto.
1188 * i386mach-nat.c (fetch_core_registers): Ditto & add prototype.
1189 * irix4-nat.c (fetch_core_registers): Ditto.
1190 * irix5-nat.c (fetch_core_registers): Ditto.
1191 * lynx-nat.c (fetch_core_registers): Ditto & add prototype.
1192 * m68knbsd-nat.c (fetch_core_registers): Ditto.
1193 * mips-nat.c (fetch_core_registers): Ditto & add prototype.
1194 * rs6000-nat.c (fetch_core_registers): Ditto.
1195 * sparc-nat.c (fetch_core_registers): Ditto.
1196 * sun3-nat.c (fetch_core_registers): Ditto & add prototype.
1197 * ultra3-nat.c (fetch_core_registers): Ditto & add prototype.
1198
1199 * alpha-nat.c (register_addr): Match Sep 4 gdbcore.h prototype change.
1200 * delta68-nat.c (register_addr): Ditto.
1201 * gdbserver/low-linux.c (register_addr): Ditto.
1202 * gdbserver/low-hppabsd.c (register_addr): Ditto.
1203 * i386m3-nat.c (register_addr): Ditto.
1204 * mips-nat.c (register_addr): Ditto.
1205 * ultra3-nat.c (register_addr): Ditto.
1206
7bd1f0c5
SG
1207Sun Sep 8 15:14:00 1996 Stu Grossman ([email protected])
1208
1209 * blockframe.c (inside_main_func): Cleanup slightly. Move
1210 mainsym def into the block it's used in.
1211 * configure.in configure: Allow NATDEPFILES to be recognized in
1212 .mh files regardless of whitespace.
1213
1214 * cpu32bug-rom.c (cpu32bug_cmds): Change load_response string to
1215 keep downloads from hanging.
1216
1217 * remote-wiggler.c: Add support for flash upgrades.
1218 * (wiggler_error): Fix message format. Add new error code.
1219 * (wiggler_write_byets): Error code is hex. Report errors with
1220 proper routine name.
1221 * (wiggler_read_byets): Report errors with proper routine name.
1222 * (get_packet): Add support for new flash commands.
1223 * (wiggler_load): Call clear_symtab_users() to reset things
1224 properly after download.
1225 * (flash_xfer_memory bdm_update_flash_command): New funxtions to
1226 support flash upgrades for Wiggler.
1227 * (_initialize_remote_wiggler): Add `bdm update-flash' command.
1228
94a42c63
GN
1229Fri Sep 6 13:14:13 1996 Geoffrey Noer <[email protected]>
1230
1231 * ser-tcp.c: don't include netinet/tcp.h if __CYGWIN32__
1232
421fafa2
GN
1233Thu Sep 5 17:05:13 1996 Geoffrey Noer <[email protected]>
1234
1235 * config/i386/cygwin32.mh:
1236 * config/powerpc/cygwin32.mh: build ser-tcp.o for both hosts
1237
9e9358eb
PB
1238Thu Sep 5 12:09:13 1996 Per Bothner <[email protected]>
1239
1240 * value.h (COERCE_REF): Fix previous change.
1241 (COERCE_ENUM): Add a check_typedef (this is the real fix).
1242
947ca025
WM
1243Thu Sep 5 03:28:30 1996 Wilfried Moser (Alcatel) <[email protected]>
1244
1245 * eval.c (evaluate_subexp_standard): In case of OP_ARRAY: make a
1246 better check of array boundaries.
1247
5819f35d
SG
1248Thu Sep 5 01:29:42 1996 Stu Grossman ([email protected])
1249
1250 * configure: Update aclocal.m4 and re-run autoconf to get correct
1251 defs for BFD stuff.
1252 * remote-wiggler.c (wiggler_error): Error codes are hex. Also,
1253 fix default message generation.
1254
0ca4776e
SG
1255Wed Sep 4 17:28:40 1996 Stu Grossman ([email protected])
1256
1257 * Makefile.in: Add mswin to SUBDIRS. Add rules for
1258 mswin/libwingdb.a and remote-wiggler.o.
1259 * breakpoint.c (breakpoint_here_p): Clean up bp enabled test.
1260 * (breakpoint_inserted_here_p): New func, just like
1261 breakpoint_here_p, except it's honest. Honestly.
1262 * breakpoint.h: Proto for above.
1263start-sanitize-gdbtk
1264 * configure configure.in: Add host *windows* to list of hosts
1265 that don't support GDBtk.
1266end-sanitize-gdbtk
1267 * configure configure.in: Add mswin to configdirs if host is
1268 i[3456]86-*-windows.
1269 * core-aout.c (fetch_core_registers register_addr) gdbcore.h:
1270 Change all vars that can contain addresses to type CORE_ADDR.
1271 * findvar.c (supply_register): Allow val to be NULL. This means
1272 that regno is unsupported.
1273 * (read_pc read_pc_pid write_pc write_pc_pid): Make non-pid forms
1274 just call pid forms with inferior_pid so that there's only once
1275 place to hack PC's and such.
1276 * infrun.c (proceed): Don't skip breakpoints if user changed PC.
1277 * remote-wiggler.c: New file. Support for BDM interface from
1278 Macraigor Systems.
1279 * serial.c: Enhance serial logging capability. Add hex and octal
1280 output modes (set remotelogbase {hex|octal|ascii}. Also log
1281 breaks, timeouts, errors, and eofs.
1282 * serial.h: Redefine SERIAL_SEND_BREAK to go through a wrapper
1283 function so that we can log breaks. Don't export serial_logfile
1284 or serial_logfp.
1285 * top.c (execute_command): Don't test for serial_logfp here.
1286 Just call serial_log_comand, and let serial.c sort it out.
1287 * valops.c (value_of_variable): Don't attempt to establish frames
1288 for static and global variables. This makes things work a bit
1289 better if the stack or frame pointer is trashed.
1290 * config/m68k/monitor.mt (TDEPFILES): Add remote-wiggler.o.
1291 * config/m68k/tm-m68k.h: Define STACK_ALIGN. CPU32 can't hack
1292 misaligned stacks during function calls.
1293
10d183a0
ILT
1294Wed Sep 4 13:06:26 1996 Ian Lance Taylor <[email protected]>
1295
1296 * terminal.h: Don't use #elif.
1297
b5865bb2
WM
1298Wed Sep 4 06:49:35 1996 Wilfried Moser (Alcatel) <[email protected]>
1299
1300 * ch-exp.c (parse_tuple_element): Allow (*): for array tuples
1301 if we have a type.
1302
1303 * eval.c (evaluate_subexp_standard): In case of OP_ARRAY:
1304 check number of args against bounds of array to avoid
1305 memory corruption.
1306
1307 * value.h (COERCE_REF): Do a CHECK_TYPEDEF in case we get
1308 a TYPE_CODE_TYPEDEF.
1309
1310Fri Aug 30 15:07:14 1996 James G. Smith <[email protected]>
1311
5dad8312
SS
1312 * remote-mips.c: Provide support for DDBVR4300 target board.
1313 (ddb_open, ddb_ops): Added.
1314 (mips_monitor_type): MON_DDB Added.
b5865bb2
WM
1315 (mips_enter_debug, mips_exit_debug, mips_initialize,
1316 mips_fetch_registers, common_breakpoint, mips_load,
1317 _initialize_remote_mips): Updated.
1318
26c543ea
MM
1319Thu Aug 29 17:00:18 1996 Michael Meissner <[email protected]>
1320
1321 * nlm/configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
1322 * nlm/configure: Regenerate.
1323
1324 * gdbserver/configure.in (i[345]86-*-*): Recognize i686 for
1325 pentium pro.
26c543ea 1326
0cf433d9
ILT
1327Wed Aug 28 13:11:15 1996 Ian Lance Taylor <[email protected]>
1328
1329 * configure.in: If CY_AC_PATH_TCLCONFIG can't find TCL, don't run
1330 CY_AC_LOAD_TCLCONFIG.
1331 * configure: Rebuild.
1332
1333Tue Aug 27 12:40:40 1996 Fred Fish <[email protected]>
1334
1335 * infrun.c (wait_for_inferior): Initialize stop_func_end before calling
1336 find_pc_partial_function.
1337
855f9c58
MM
1338Tue Aug 27 10:17:34 1996 Michael Meissner <[email protected]>
1339
1340 * configure: Regenerate again.
1341
1342Tue Aug 27 04:25:08 1996 Geoffrey Noer <[email protected]>
1343
1344 * configure.in: work around host_alias configure bug.
1345 AC_CANONICAL_HOST is called twice (first by AC_CHECK_TOOL
1346 and second by AC_CANONICAL_SYSTEM). The second clobbers the
1347 previous setting. Circumventing by moving the second check
1348 to before the first.
1349 * configure: regenerated
1350
7b3fa778
MH
1351start-sanitize-d10v
1352Mon Aug 26 18:36:54 1996 Martin M. Hunt <[email protected]>
1353
1354 * config/d10v/d10v.mt: New file.
1355 * config/d10v/tm-d10v.h: New file.
1356 * configure.in: New target D10V.
1357 * d10v-tdep.c: New file.
1358
1359end-sanitize-d10v
94b4f756
FF
1360Sun Aug 25 00:09:47 1996 Fred Fish <[email protected]>
1361
1362 * rs6000-tdep.c: Fix typo in comment.
1363 * valops.c (call_function_by_hand): Set using_gcc to 2
1364 for code compiled without -g, per comment in code.
1365 * config/a29k/tm-a29k.h (STACK_ALIGN): Add comment.
1366 * config/sparc/tm-sparc.h (STACK_ALIGN): Add comment.
1367 * config/sparc/tm-sp64.h (STACK_ALIGN): Add comment.
1368 * config/pyr/tm-pyr.h (STACK_ALIGN): Add comment.
1369 * config/m88k/tm-m88k.h (STACK_ALIGN): Add comment.
1370 * config/pa/tm-hppa.h (PUSH_ARGUMENTS): Enclose args in ()'s.
1371 (STACK_ALIGN): Add comment, move to be with other associated
1372 macros, and document.
1373 * config/mips/tm-mips.h (PUSH_ARGUMENTS): Enclose args in ()'s.
1374 (STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS.
1375 * config/alpha/tm-alpha.h (PUSH_ARGUMENTS): Enclose args in ()'s.
1376 * config/rs6000/tm-rs6000.h (STACK_ALIGN): Remove completely,
1377 handled by PUSH_ARGUMENTS.
1378 (PUSH_ARGUMENTS): Enclose args in ()'s.
1379
1380Fri Aug 23 13:55:05 1996 Peter Schauer ([email protected])
1381
1382 * infrun.c (wait_for_inferior): Try to reenable shared library
1383 breakpoints even if auto_solib_load is not set.
1384
26b3dc44 1385Fri Aug 23 00:44:57 1996 Fred Fish <[email protected]>
fe58c81f
FF
1386
1387 * gdbtk.c (gdbtk_init): Check for a DISPLAY env variable and
1388 gracefully degrade to using command line interface if none is
1389 found.
1390
26b3dc44 1391Wed Aug 21 16:31:27 1996 Fred Fish <[email protected]>
d538f9cf
FF
1392
1393 * valprint.c (print_longest): Test for CC_HAS_LONG_LONG as well as
1394 PRINTF_HAS_LONG_LONG.
1395 * expprint.c (dump_expression): Ditto.
1396 * configure.in: Fix check for long long support in compiler to
1397 use a function body, not a nested function.
1398 * configure: Rebuild with autoconf.
1399
fef1696f
ILT
1400Tue Aug 20 17:59:42 1996 Ian Lance Taylor <[email protected]>
1401
1402 * aclocal.m4: Include ../bfd/aclocal.m4.
1403 * configure.in: Add stdlib.h to AC_CHECK_HEADERS. Call
1404 BFD_NEED_DECLARATION on malloc, realloc, and free.
1405 * acconfig.h: Add NEED_DECLARATION_MALLOC,
1406 NEED_DECLARATION_REALLOC, and NEED_DECLARATION_FREE.
1407 * configure, config.in: Rebuild.
1408 * defs.h: Include <stddef.h> and <stdlib.h> based on HAVE_*_H
1409 rather than __STDC__. Only declare malloc, realloc, and free if
1410 NEED_DECLARATION_* is defined.
1411
26b3dc44 1412Tue Aug 20 15:37:03 1996 Fred Fish <[email protected]>
dbc4eefc
FF
1413
1414 * solib.c (_initialize_solib): Add missing '\' chars at ends of
1415 strings that continue on next line.
1416 (enable_break): Replace "return 0" with setting success to zero
1417 and letting normal return handle the return.
1418
1419Sat Aug 17 14:16:23 1996 Fred Fish <[email protected]>
1420
1421 * mips-tdep.c (mips_push_arguments): Make sure sp and struct_addr
1422 are properly aligned.
1423
2f163bc3
SS
1424Fri Aug 16 17:54:26 1996 Stan Shebs <[email protected]>
1425
1426 * rs6000-tdep.c (rs6000_fix_call_dummy): Add full set of arguments.
1427 * config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Pass all arguments
1428 to function, declare function correctly.
1429
68fc375e
DP
1430Fri Aug 16 17:24:35 1996 Dawn Perchik <[email protected]>
1431
1432 * symtab.h: changed namespace to _namespace for compiling under
1433 MFC v4.0.
1434
b208ff3b
SS
1435Fri Aug 16 13:52:21 1996 Stan Shebs <[email protected]>
1436
1437 * mpw-make.sed: Update for various recent changes, add some
1438 comments.
1439start-sanitize-gm
1440 * mpw-config.in: Fix name of Magic Cap-specific file.
1441end-sanitize-gm
1442
b597998a
MM
1443Fri Aug 16 15:47:36 1996 Michael Meissner <[email protected]>
1444
1445 * config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Cast args to be an
1446 integer for type correctness.
1447
4caa1158
JSC
1448Fri Aug 16 15:15:37 1996 James G. Smith <[email protected]>
1449
1450 * config/mips/{vr4300.mt, vr4300el.mt} (SIM): Add -lm when
1451 simulator is included.
1452
eb17f9d5
FF
1453Thu Aug 15 13:44:13 1996 Fred Fish <[email protected]>
1454
1455 * findvar.c (write_register_pid): Only needed when TARGET_WRITE_PC
1456 is not defined.
1457 (read_register_pid): Only needed when TARGET_READ_PC is not
1458 defined.
1459 * hppa-tdep.c (frame_saved_pc): Remove prototype.
1460 * infptrace.c (udot_info): Prototype when CHILD_XFER_MEMORY is
1461 not defined.
1462 * config/xm-aix4.h (aix_resizewindow): Convert old style decl
1463 to prototype.
1464 * xcoffsolib.c (command.h): Include for needed prototypes.
1465
1466Wed Aug 14 17:54:19 1996 Stu Grossman ([email protected])
1467
1468 * config/i386/cygwin32.mh: Set NAT_FILE to nm-empty.h to make
1469 native work.
1470
26b3dc44 1471Wed Aug 14 02:03:42 1996 Fred Fish <[email protected]>
81a80f32 1472
e5718bee
FF
1473 From Blair MacIntyre <[email protected]>:
1474 * hppa-tdep.c (hppa_fix_call_dummy): Use MSYMBOL_TYPE rather
1475 than SYMBOL_TYPE on msymbols.
1476 * somsolib.c (som_solib_create_inferior_hook): Ditto.
1477
81a80f32
FF
1478 * Makefile.in (init.c): Generate with prototypes.
1479
1480 * config/pa/tm-hppa.h (frame_saved_pc): Add prototype.
1481 * config/rs6000/xm-rs6000.h (aix_resizewindow): Ditto.
1482 * config/rs6000/tm-rs6000.h (frame_initial_stack_address): Ditto.
1483 (pc_load_segment_name): Ditto.
1484 (pop_frame): Ditto.
1485 (extract_return_value): Ditto.
1486 (is_magic_function_pointer): Ditto.
1487 (push_dummy_frame): Ditto.
1488 (fix_call_dummy): Ditto.
1489 (push_arguments): Ditto.
1490 (skip_trampoline_code): Ditto.
1491 (aix_process_linenos): Ditto.
1492
1493 * config/m68k/tm-cisco.h (get_longjmp_target): Add prototype.
1494 * config/m68k/tm-es1800.h: Ditto.
1495 * config/m68k/tm-vx68.h: Ditto.
1496 * config/m68k/tm-sun3.h: Ditto.
1497 * config/m68k/tm-m68kv4.h: Ditto.
1498
857dcde8
FF
1499Tue Aug 13 23:04:36 1996 Fred Fish <[email protected]>
1500
1501 * config/mips/nm-mips.h (get_longjmp_target): Add prototype.
1502 * config/mips/nm-irix3.h (get_longjmp_target): Add prototype.
1503 * remote-mips.c (mips_read_processor_type): Remove prototype.
1504 * mips-tdep.c (gdb_print_insn_mips): Add prototype and make static.
1505 * irix5-nat.c (fetch_core_registers): Add prototype.
1506
c1d58bcd
FF
1507Mon Aug 12 21:23:44 1996 Fred Fish <[email protected]>
1508
1509 * remote-pa.c (boot_board): Add dummy params to make type compatible
1510 for passing to add_com.
1511 * scm-exp.c (scm_lreadr): Ensure svalue is not used uninitialized.
1512 * buildsym.c (compare_line_numbers): Change function to match
1513 prototype and also what qsort expects.
1514
cd21cbc4
MA
1515Mon Aug 12 19:19:00 1996 Mark Alexander <[email protected]>
1516
1517 * remote.c: Make remote_write_size public.
1518 * sh-tdep.c (_initialize_sh_tdep): Set remote_write_size to 300
1519 to prevent packet errors with some versions of CMON.
1520
8501c742
SG
1521Mon Aug 12 16:20:58 1996 Stu Grossman ([email protected])
1522
1523 * defs.h: Define CONST_PTR as blank if compiling with Microsoft
1524 C, else it's `const'.
1525 * c-lang.c c-lang.h ch-lang.c f-lang.c language.c m2-lang.c
1526 scm-lang.c: Microsoft C can't hack const pointers. Use CONST_PTR
1527 macro instead.
1528 * configure configure.in defs.h: Use AC_C_CONST to figure out if
1529 the compiler supports const. Gets rid of some cruft in defs.h.
1530 * dwarf2read.c: <string.h> -> "gdb_string.h"
1531 * remote-sim.c: Add prototypes. Fix call to gdbsim_kill.
1532 * sparcl-tdep.c (download): Add prototypes to write_routine and
1533 start_routine args.
1534
1535 * mswin/gdbwin.c: Don't include both varargs.h AND stdarg.h. Get
1536 rid of varargs.h Include string.h.
1537 * (gdbwin_update gdbwin_fputs regs_changed_f bpt_changed_f
1538 update): Fix prototypes, fix calls.
1539 * (update): Return value for catch_errors.
1540 * (run_execute_command togdb_command_from_tty togdb_command):
1541 Cleanup catching of errors from calls to execute_command. Also,
1542 dup command string to avoid modifying const strings.
1543 * (togdb_breakinfo_i_init togdb_breakinfo_i_next): Use 0 instead
1544 of NULL when see if b->address isn't set.
1545 * (bi_disable_bpt bi_enable_bpt bi_delete_all
1546 bi_delete_breakpoint): Add arg to calls to update.
1547 * (gui_command): Add prototype.
1548 * (mswin_query): Fix prototype.
1549 * (_initialize_gdbwin): Dup string to avoid modifying const.
1550 * (info_path togdb_get_info_path): Remove const from decls cuz
1551 this can't be const (it points at malloc'ed memory).
1552 * (togdb_searchpath): Remove const from path. Dup string to
1553 avoid modifying const strings.
1554 * rindex -> strrchr.
1555 * (gdbwin_list_symbols): Regexp param is const.
1556 * Fix lots of refs to psymtabs to deref correct pointers.
1557 * (togdb_set_breakpoint_sal): Call set_breakpoint_sal with sal,
1558 not &sal.
1559 * mswin/gdbwin.h (togdb_searchpath togdb_get_info_path
1560 toget_set_info_path): Fix prototypes to match reality.
1561 * mswin/gui.cpp: Define _beginthreadex and _endthreadex routines
1562 with proper prototypes.
1563 * mswin/iface.cpp (gdbwin_fputs): Define with correct number of args.
1564 * mswin/ser-win32s.c: Fix defs of min and max.
1565 * mswin/serdll32.c (OpenComm16): Make cbInQueue and cbOutQueue be
1566 USHORT.
1567 * (WriteComm16): Change lpBug from LPVOID to LPCSTR.
1568 * mswin/serdll32.h: Fix prototypes for OpenComm16 and WriteComm16.
1569
82c6139b
SG
1570Sun Aug 11 20:54:16 1996 Stu Grossman ([email protected])
1571
1572 * main.c (main): Make sure command loop is used with cygwin32.
1573 * terminal.h: Allow cygwin32 to use termios.h.
1574
611f046f
TT
1575start-sanitize-gdbtk
1576Fri Aug 9 12:32:53 1996 Tom Tromey <[email protected]>
1577
1578 * Makefile.in (LIB_INSTALL_DIR): New macro.
1579 (TCL): Include @TCL_LD_SEARCH_FLAGS@.
1580
1581end-sanitize-gdbtk
c149559f
JL
1582Fri Aug 9 12:42:49 1996 Jeffrey A Law ([email protected])
1583
1584 * somread.c (som_symtab_read): Handle secondary definition
1585 symbols (aka weak symbols).
bb1847ca
JL
1586
1587 * config/tm-hppa.h (EXTRACT_RETURN_VALUE): Fix thinko in
1588 last change.
1589
e618c70e
SG
1590Thu Aug 8 10:12:36 1996 Stu Grossman ([email protected])
1591
8d42089e
SG
1592 * symfile.c (symfile_bfd_open): Change ifdef from __WIN32__ to
1593 _WIN32.
1594
e618c70e
SG
1595 * somread.c: Rearrange order of includes to fix warnings under
1596 hpux-10.10. Also don't include sys/file.h.
1597
500992b7
SG
1598Wed Aug 7 21:45:52 1996 Stu Grossman ([email protected])
1599
1600 * dbxread.c: Don't include param.h or sys/file.h.
1601 * (dbx_symfile_read): Determine symfile_relocatable from bfd
1602 flags instead of file extension. Also clean up a little bit.
1603
9e77e83d
SG
1604Wed Aug 7 17:18:37 1996 Stu Grossman ([email protected])
1605
1606 * dwarf2read.c dwarfread.c exec.c infcmd.c infrun.c main.c
1607 mdebugread.c os9kread.c source.c top.c utils.c: Don't
1608 include param.h or sys/file.h (or unistd.h in some cases).
1609 * defs.h exec.c inflow.c remote-array.c remote-e7000.c
1610 sparcl-tdep.c terminal.h utils.c: Replace all occurances of
1611 __WIN32__, WINGDB, WIN32, etc... with _WIN32.
1612 * main.c: Remove #ifndef WINGDB around option processing. Fix
1613 bug with passing argc==0 and argv==NULL to getopt.
1614 * (main) Remove calls to access() before source_command. Let
1615 soure_command handle access errors.
1616 * maint.c (maintenance_dump_me): #ifdef out for _WIN32.
1617 * symtab.c (operator_chars): Make this global for wingdb.
1618 * top.c (disconnect): #ifdef out for _WIN32.
1619 * (source_command): If got an error and from_tty, then call print
1620 error, else just return quietly.
1621 * utils.c (fatal_dump_core): Can't kill ourselves under windows.
1622 Just exit.
1623 * (pollquit notice_quit): #ifdef out stuff that doesn't exist
1624 under windows.
1625
0d43c8e7
JL
1626Wed Aug 7 09:59:19 1996 Jeffrey A Law ([email protected])
1627
8d038451
JL
1628 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak for
1629 structures > 4 bytes in size.
1630
0d43c8e7
JL
1631 * valops.c (call_function_by_hand): Handle aligning stacks that
1632 grow up correctly.
1633 * config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Define.
1634 (STACK_ALIGN): Define.
1635 * hppa-tdep.c (hppa_alignof): Don't demand a minumim two byte
1636 alignment on structs/unions.
1637
769d0c90
FF
1638Sun Aug 4 16:22:42 1996 Fred Fish <[email protected]>
1639
1640 * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Define to "int *",
1641 which is the documented type under at least AIX 3 and AIX 4.
1642
6b24a9f6
FF
1643Sat Aug 3 04:02:46 1996 Fred Fish <[email protected]>
1644
1645 * config/alpha/alpha-osf3.mh (XM_FILE): Change from xm-alpha.h to
1646 xm-alphaosf.h.
38eee4a9
FF
1647 (MMALLOC_CFLAGS): Define NO_MMCHECK to not install consistency
1648 checks.
6b24a9f6 1649
047465fd
TT
1650start-sanitize-gdbtk
1651Thu Aug 1 20:35:01 1996 Tom Tromey <[email protected]>
1652
1653 * gdbtk.c (mainWindow): Deleted.
1654 (cleanup_init): Don't destroy main window.
1655 (gdbtk_init): Main window now created by Tk_Init.
1656
1657 * configure.in: Most X checks now handled automatically by Tk.
1658 Use new macros to find Tcl/Tk.
1659 * aclocal.m4: New version for new Tcl/Tk; from Don Libes.
1660 * config.in, configure: Regenerated.
1661
1662 * Makefile.in (TCL, TCL_CFLAGS, TK, TK_CFLAGS, X11_CFLAGS,
1663 X11_LDFLAGS, X11_LIBS): Changed for new Tcl and Tk.
1664
1665end-sanitize-gdbtk
8efb8079
FF
1666Thu Aug 1 10:11:34 1996 Fred Fish <[email protected]>
1667
1668 * config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents in
1669 this, define when contents are included.
1670 (mips_read_processor_type): Add prototype.
1671 * config/mips/xm-mips.h: Remove strdup decl, now in gdb_string.h
1672 * mdebugread.c (ecoff_relocate_efi): Add prototype.
1673 (fixup_sigtramp): Only needed when TM_MIPS_H is defined.
1674
e822a3db
JM
1675start-sanitize-gdbtk
1676Thu Aug 1 16:12:05 1996 Jason Molenda ([email protected])
1677
1678 * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir).
1679
1680end-sanitize-gdbtk
a95d92fa
FF
1681Wed Jul 31 20:21:24 1996 Fred Fish <[email protected]>
1682
1683 * rs6000-nat.c (add_vmap): Return 0 to caller rather than random value.
1684 (vmap_ldinfo): Ensure got_exec_file is not used uninitialized.
1685 (fetch_core_registers): Add prototype.
1686 (vmap_symtab): Ditto.
1687 (objfile_symbol_add): Ditto.
1688 (add_vmap): Ditto.
1689 (vmap_ldinfo): Ditto.
1690 (vmap_exec): Ditto.
1691
cb74cc24
SS
1692Tue Jul 30 17:57:46 1996 Stan Shebs <[email protected]>
1693
1694 * stabsread.c (get_substring): Declare second arg as int.
1695
1696 * remote-es.c: Include gdb_string.h after defs.h.
1697
80f600a4
FF
1698Mon Jul 29 21:13:20 1996 Fred Fish <[email protected]>
1699
368f1e77
FF
1700 * rs6000-tdep.c (push_arguments): Remove unused variable "pc".
1701 (branch_dest): Remove unused variable "offset".
1702 (pop_dummy_frame): Add prototype and make static.
1703 (push_arguments): Guard against using len uninitialized.
1704 (push_arguments): Guard against using arg uninitialized.
1705 (frame_saved_pc): Remove unused variable "frameless".
1706 (free_loadinfo): Ifdef out unused function.
1707
6e0949ae
FF
1708 * xcoffread.c (compare_lte): Change prototype and function to
1709 be correct type for passing to qsort.
1710 (add_stab_to_list): Ifdef out unused function and prototype.
1711 (compare_lte): Add prototype
1712 (arrange_linetable): Ditto.
1713 (record_include_begin): Ditto.
1714 (record_include_end): Ditto.
1715 (process_linenos): Ditto.
1716 (xcoff_next_symbol_text): Ditto.
1717 (scan_xcoff_symtab): Ditto.
1718 (xcoff_initial_scan): Ditto.
1719
80e0e92a
FF
1720 * mips-tdep.c (mips_read_processor_type): Add parens around
1721 bitwise-and operands in comparison; previous expression always
1722 evaluated to 0 because of equality comparison of two constants.
1723
58b4fad2
FF
1724 * rs6000-tdep.c (skip_prologue): Add missing parens around
1725 operands of logical-or so that first operand does not bind
1726 to previous logical-and.
1727
80f600a4
FF
1728 * configure.in: Expand "long long" test to include code that triggers
1729 known problem on HPUX with native compiler.
1730 (configure): Regenerated.
1731
6f359895
JL
1732Mon Jul 29 18:12:27 1996 Jeffrey A Law ([email protected])
1733
1734 * somsolib.c (som_solib_create_inferior_hook): Don't
1735 warn if __d_pid can't be found.
1736
f2bf454e
FF
1737Sun Jul 28 10:46:39 1996 Fred Fish <[email protected]>
1738
1739 * config/mips/tm-mips.h (struct frame_info): Forward decl.
1740 (struct type): Ditto.
1741 (struct value): Ditto.
1742
1743 * config/mips/tm-mips.h (sigtramp_address): Move extern decl
1744 from mips-tdep.c to here.
1745 (sigtramp_end): Ditto.
1746 (fixup_sigtramp): Ditto.
1747
1748 * config/mips/tm-mips.h (init_extra_frame_info): Add prototype.
1749 (mips_frame_chain): Ditto.
1750 (mips_step_skips_delay): Ditto.
1751 (mips_frame_saved_pc): Ditto.
1752 (mips_find_saved_regs): Ditto.
1753 (mips_frame_num_args): Ditto.
1754 (mips_pop_frame): Ditto.
1755 (mips_extract_return_value): Ditto.
1756 (mips_store_return_value): Ditto.
1757 (mips_push_dummy_frame): Ditto.
1758 (mips_push_arguments): Ditto.
1759 (mips_do_registers_info): Ditto.
1760 (ecoff_relocate_efi): Ditto.
1761 (ecoff_relocate_efi): Ditto.
1762 * irix4-nat.c (fetch_core_registers): Add prototype.
1763 * mips-tdep.c (read_next_frame_reg): Add prototype
1764 (heuristic_proc_start): Ditto.
1765 (heuristic_proc_desc): Ditto.
1766 (mips_print_register): Ditto.
1767 * config/mips/nm-irix5.h (procfs_set_watchpoint): Add prototype.
1768 (procfs_stopped_by_watchpoint): Ditto.
1769 * config/mips/nm-irix4.h (procfs_set_watchpoint): Add prototype.
1770 (procfs_stopped_by_watchpoint): Ditto.
1771 * config/alpha/tm-alpha.h (ecoff_relocate_efi): Add prototype.
1772 (struct symbol): Add forward decl for prototype.
1773
1774 * breakpoint.c (internal_breakpoint_number): Only needed if
1775 GET_LONGJMP_TARGET or SOLIB_ADD is defined.
1776
1777 * objfiles.c (ecoff_relocate_efi): Remove prototype.
1778
3f550b59
FF
1779Sat Jul 27 17:47:35 1996 Fred Fish <[email protected]>
1780
1781 * configure.in: Add test for "long long" support.
1782 * configure: Regenerate with autoconf.
1783 * acconfig.h: Add CC_HAS_LONG_LONG
1784 * config.in: Regenerate with autoheader.
1785 * config/mips/tm-mips64.h (FORCE_LONG_LONG): Remove
1786 * config/sparc/tm-sp64.h (CC_HAS_LONG_LONG): Remove.
1787 * config/mips/tm-vr4300el.h (CC_HAS_LONG_LONG): Remove.
1788 * config/mips/tm-vr4300.h (CC_HAS_LONG_LONG): Remove.
1789 * config/mips/xm-irix5.h (CC_HAS_LONG_LONG): Remove
1790 (PRINTF_HAS_LONG_LONG): Remove.
1791 (FORCE_LONG_LONG): Remove.
1792 * config/powerpc/xm-aix.h (UINT_MAX): Undef and use gdb's version.
1793 * config/convex/xm-convex.h (CC_HAS_LONG_LONG): Remove
1794 (PRINTF_HAS_LONG_LONG): Remove.
1795 * config/xm-nbsd.h (CC_HAS_LONG_LONG): Remove.
1796 (PRINTF_HAS_LONG_LONG): Remove.
1797 * config/pa/tm-hppa.h (GET_FIELD): Put parens around
1798 subtraction inside shift. Put parens around subtraction
1799 in operand of bitwise and.
1800 (struct frame_info): Forward declare
1801 if __STDC__ defined.
1802 (frame_saved_regs): Ditto.
1803 (struct value): Ditto.
1804 (struct type): Ditto.
1805 (struct inferior_status): Ditto.
1806 (init_extra_frame_info): Add prototype.
1807 (skip_prologue): Ditto.
1808 (frameless_function_invocation): Ditto.
1809 (frame_chain): Ditto.
1810 (frame_chain_valid): Ditto.
1811 (saved_pc_after_call): Ditto.
1812 (hppa_fix_call_dummy): Ditto.
1813 (hppa_push_arguments): Ditto.
1814 (pa_do_registers_info): Ditto.
1815 (in_solib_call_trampoline): Ditto.
1816 (in_solib_return_trampoline): Ditto.
1817 (push_dummy_frame): Ditto.
1818 * convex-tdep.c (decout): Use print_longest rather than
1819 fprintf_filtered.
1820 * defs.h: Remove use of FORCE_LONG_LONG and __GNUC__ to set
1821 CC_HAS_LONG_LONG.
1822 (INT_MIN): Fix so it works correctly when assigned to a long long.
1823 * valprint.c (longest_to_int): Rewrite to remove dependence
1824 on INT_MIN and INT_MAX.
1825 (print_longest): Rewrite the code that falls back to synthesized
1826 hex output when LONGEST value is not representable as in a long and
1827 printf doesn't support printing long longs.
1828 * ch-valprint.c (chill_val_print): Cast 2nd arg of
1829 chill_print_type_scalar to LONGEST.
1830 chill_print_type_scalar): Make static and add prototype.
1831 * hppa-tdep.c (get_field): Ifdef out unused function.
1832 (set_field): Ditto.
1833 (extract_3): Ditto.
1834 (extract_5_store): Ditto.
1835 (extract_11): Ditto.
1836 (extract_12): Ditto.
1837 (deposit_17): Ditto.
1838 (extract_14): Convert to static and add prototype.
1839 (deposit_14): Ditto.
1840 (extract_21): Ditto.
1841 (deposit_21): Ditto.
1842 (extract_17): Ditto.
1843 (extract_5r_store): Ditto.
1844 (extract_5R_store): Ditto.
1845 (extract_5_load): Ditto.
1846 (find_proc_framesize): Ditto.
1847 (find_dummy_frame_regs): Ditto.
1848 (sign_extend): Ditto.
1849 (find_unwind_entry): Add prototype.
1850 (find_return_regnum): Ditto.
1851 (unwind_command): Ditto.
1852 (find_dummy_frame_regs): Add parens around subtraction in operand
1853 of bitwise-and.
1854 (skip_prologue): Add parens around operands of logical-and inside
1855 operand of logical-or.
1856 (sign_extend): Add parens around operands of subtraction inside
1857 operand of shift.
1858 (low_sign_extend): Ditto.
1859 * top.c (filename_completer): Convert old style decl of
1860 filename_completion_function into prototype.
1861 * f-lang.c (patch_common_entries): Ifdef out unused function.
1862 * stabsread.c (read_cfront_baseclasses): Remove unused local
1863 variable "msg_noterm".
1864 (resolve_cfront_continuation): Remove unused local variable "fip".
1865 (read_type): Remove unused variable xtypenums.
1866 (read_cfront_static_fields): Remove unused variable "i".
1867 (read_cfront_static_fields): Remove unused variable "nfields".
1868 (read_cfront_member_functions): Add missing comment terminator.
1869 (read_cfront_static_fields): Return 1 rather than random value.
1870 (read_cfront_baseclasses): Ditto.
1871 (read_cfront_baseclasses): Ditto.
1872 (read_cfront_baseclasses): Ditto.
1873 * somsolib.c (som_solib_create_inferior_hook): Remove unused
1874 variable "u".
1875 (som_solib_create_inferior_hook): Remove unused variable
1876 shadow_contents.
1877 (language.h): Add for needed prototypes.
1878 (som_solib_sharedlibrary_command): Add prototype.
1879 * hpread.c: (hpread_read_array_type): Add prototype.
1880 * somread.c (hpread_build_pysmtabs): Add prototype.
1881 (hpread_symfile_finish): Ditto.
1882 (hpread_symfile_init): Ditto.
1883 * hppah-nat.c (fetch_register): Convert old style decl
1884 to prototype.
1885 (gdbcore.h): Include for needed prototypes.
1886 (fetch_register): Remove unused variable "mess".
1887 * remote-pa.c (get_offsets): Ifdef out unused function.
1888 (remote_start_remote): Remove unused variable "timeout".
1889 (boot_board): Add prototype.
1890 (reaad_frame): Add prototype.
1891 (getpkt): Remove unused variable "bp".
1892 (remote_kill): Add prototype.
1893 (remote_mourn): Add prototype.
1894 (remote_insert_breakpoint): Add prototype.
1895 (remote_remove_breakpoint): Add prototype.
1896 * valops.c (value_push): Only use if PUSH_ARGUMENTS is not defined.
1897 * infcmd.c (do_registers_info): Only need prototype if
1898 DO_REGISTERS_INFO is not defined.
1899 (breakpoint_auto_delete_contents): Only need if
1900 CALL_DUMMY_BREAKPOINT_OFFSET is defined.
1901
68aadb90
FF
1902Sat Jul 27 08:49:49 1996 Fred Fish <[email protected]>
1903
1904 * xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter.
1905 (END_PSYMTAB): Ditto.
1906 (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set.
1907
caeec767
ILT
1908Fri Jul 26 14:07:37 1996 Ian Lance Taylor <[email protected]>
1909
1910 * printcmd.c (_initialize_printcmd): Initialize
1911 tm_print_insn_info.flavour.
cb74cc24 1912start-sanitize-gdbtk
caeec767 1913 * gdbtk.c (gdb_disassemble): Initialize di.flavour.
cb74cc24 1914end-sanitize-gdbtk
caeec767 1915
b607efe7
FF
1916Thu Jul 25 19:41:31 1996 Fred Fish <[email protected]>
1917
1918 * Makefile.in (scm-valprint.o): Depends upon gdbcore_h.
1919 (arm-tdep.o): Ditto.
1920 (dcache.o): Ditto.
1921 (i386ly-tdep.o): Ditto.
1922 (i960-tdep.o): Ditto.
1923 (m68k-tdep.o): Ditto.
1924 (nindy-tdep.o): Ditto.
1925 (scm-lang.o): Ditto.
1926 (w65-tdep.o): Ditto.
1927 (z8k-tdep.o): Ditto.
1928 (m68k-tdep.o): Depends upon value_h and gdb_string.h
1929 (m2-valprint.o): Depends upon m2-lang.h.
1930 (sparc-tdep.o): Depends upon gdb_string.h
1931 (valprint.o): Depends upon valprint.h
1932
1933 * remote-e7000.c (notice_quit): Remove prototype.
1934 * top.c (initialize_targets): Remove prototype, now in target.h.
1935 * stabsread.c (resolve_cfront_continuation): Remove prototype.
1936 * dbxread.c (resolve_cfront_continuation): Remove prototype.
1937 * symfile.h (set_demangling_style): Remove prototype.
1938 * config/tm-sysv4.h (in_plt_section): Remove prototype, in objfiles.h.
1939 * config/sparc/tm-sparc.h (single_step): Remove extern decl, now in
1940 target.h.
1941 * config/arc/tm-arc.h (one_stepped, single_step): Remove extern decls,
1942 now in target.h.
1943 * ser-unix.c (hardwire_restore): Remove obsolete prototype.
1944 * sparc-tdep.c (single_step): Remove forward decl of isbranch.
1945 * scm-lang.c (find_function_in_inferior): Remove prototype.
1946 (value_allocate_space_in_inferior): Ditto.
1947 * infrun.c (write_pc_pid): Remove prototype, now in inferior.h.
1948 * defs.h (strchr): Remove declarations, they are declared in
1949 gdb_string.h also.
1950 (strrchr): Ditto.
1951 (strstr): Ditto.
1952 (strtok): Ditto.
1953 (strerror): Ditto.
1954 * f-valprint.c (f77_print_array_1): Remove extra arg that was being
1955 passed to f77_print_array_1.
b607efe7
FF
1956 * gdbtypes.c (add_name): Remove unused variables lenstrlen and lenstr.
1957 * scm-exp.c (scm_istr2int): Remove unused variable "j".
1958 (scm_parse): Remove unused variable "str".
1959 * hp300ux-nat.c (store_inferior_register): Remove unused variable
1960 "buf".
1961 (store_inferior_registers): Remove unnecessary decl "registers".
1962 * m68k-tdep.c (m68k_pop_frame): Remove unused variable "fi".
1963 * scm-lang.c (scm_get_field): Remove unused variable "val".
1964 (scm_lookup_name): Remove unused variable "symval".
1965 * objfiles.c (map_to_file): Remove unused local variable "tempfd".
1966 * procfs.c (do_attach, do_detach): Remove unused variable "result".
1967 (last_resume_pid): Remove unused static variable.
1968 * alpha-tdep.c (alpha_linux_sigtramp_offset): Remove unused variable
1969 "res".
1970 * objfiles.c (map_to_address): Remove unused function.
1971 * f-valprint.c (print_max): Remove extraneous extern decl,
1972 in valprint.h.
1973 (calc_f77_array_dims): Remove extraneous prototype, in f-lang.h.
1974 * ch-exp.c (write_lower_upper_value): Remove prototype for
1975 type_lower_upper.
1976
1977 * gdbtypes.c (cfront_mangle_name): #ifdef out unused function.
1978 * ch-exp.c (parse_mode_call): Ditto.
1979 * f-valprint.c (there_is_a_visible_common_named): Ditto.
1980 * f-lang.c (clear_function_list): Ditto.
1981 (get_bf_for_fcn): Ditto.
1982 (clear_bf_list): Ditto.
1983 (add_common_block): Ditto.
1984 (patch_all_commons_by_name): Ditto.
1985 (find_first_common_named): Ditto.
1986 (add_common_entry): Ditto.
1987 (allocate_saved_function_node): Ditto.
1988 (allocate_saved_bf_node): Ditto.
1989 (allocate_common_entry_node): Ditto.
1990 (allocate_saved_f77_common_node): Ditto.
1991
1992 * arm-tdep.c (gdbcore.h): Include for necessary prototypes.
1993 * dcache.c (gdbcore.h): Ditto.
1994 * i386ly-tdep.c (gdbcore.h): Ditto.
1995 * i960-tdep.c (gdbcore.h): Ditto.
1996 * m2-valprint.c (m2-lang.h): Ditto.
1997 * m68k-tdep.c (gdbcore.h): Ditto.
1998 (value.h): Ditto.
1999 (gdb_string.h): Ditto.
2000 * nindy-tdep.c (gdbcore.h): Ditto.
2001 * scm-lang.c (gdbcore.h): Ditto.
2002 * scm-valprint.c (gdbcore.h): Ditto.
2003 * w65-tdep.c (gdbcore.h): Ditto.
2004 * z8k-tdep.c (gdbcore.h): Ditto.
2005 * sparc-tdep.c (gdb_string.h): Include.
2006 * valprint.c (valprint.h): Include.
2007
2008 * config/xm-lynx.h: Remove part of comment about INT_MIN
2009 redefined warnings from defs.h, since INT_MIN define in
2010 defs.h is now protected by #ifndef INT_MIN.
2011 * config/i386/xm-i386bsd.h: Ditto.
2012 * config/m68k/xm-hp300bsd.h: Ditto.
2013 * config/m68k/xm-news.h: Ditto.
2014
2015 * config/pa/xm-hppah.h (INT_MIN): Remove bogus INT_MIN
2016 definition as 0x80000000. The macro in defs.h is better.
2017 * config/i386/xm-i386m3.h (INT_MIN): Ditto.
2018 * config/i386/xm-i386mach.h (INT_MIN): Ditto.
2019 * config/ns32k/xm-ns32km3.h (INT_MIN): Ditto.
2020 * config/pa/xm-hppab.h: Ditto.
2021
2022 * core-aout.c (fetch_core_registers): Add prototype.
2023 * hp300ux-nat.c (fetch_inferior_register): Ditto.
2024 (store_inferior_register_1): Ditto.
2025 (store_inferior_register): Ditto.
2026 * config/m68k/tm-m68k.h (find_saved_regs): Ditto.
2027 *scm-valprint.c (c_val_print): Ditto.
2028 * procfs.c (add_fd): Ditto.
2029 (remove_fd): Ditto.
2030 (wait_fd): Ditto.
2031 (sigcodename): Ditto.
2032 (sigcodedesc): Ditto.
2033 (procfs_kill_inferior): Ditto.
2034 (procfs_xfer_memory): Ditto.
2035 (procfs_store_registers): Ditto.
2036 (create_procinfo): Ditto.
2037 (procfs_init_inferior): Ditto.
2038 (proc_set_exec_trap): Ditto.
2039 (procfs_attach): Ditto.
2040 (procfs_detach): Ditto.
2041 (procfs_prepare_to_store): Ditto.
2042 (procfs_files_info): Ditto.
2043 (procfs_open): Ditto.
2044 (procfs_wait): Ditto.
2045 (procfs_fetch_registers): Ditto.
2046 (procfs_mourn_inferior): Ditto.
2047 (procfs_can_run): Ditto.
2048 (procfs_thread_alive): Ditto.
2049 (procfs_stop): Ditto.
2050 * alpha-nat.c (fetch_core_registers): Ditto.
2051 * config/alpha/tm-alpha.h (alpha_osf_skip_sigtramp_frame): Ditto.
2052 * objfiles.c (ecoff_relocate_efi): Ditto.
2053 * inflow.c (pass_signal): Ditto.
2054 (handle_sigio): Ditto.
2055 * annotate.c (breakpoint_changed): Ditto.
2056 * callback.c (wrap): Ditto.
2057 (fdbad): Ditto.
2058 (fdmap): Ditto.
2059 * utils.c (malloc_botch): Ditto.
2060 (fputs_maybe_filtered): Ditto.
2061 (vfprintf_maybe_filtered): Ditto.
2062 * defs.h (notice_quit): Ditto.
2063 * defs.h (xmalloc, xrealloc): Ditto.
2064 * top.c (stop_sig): Ditto.
2065 (init_signals): Ditto.
2066 (user_defined_command): Ditto.
2067 (source_cleanup_lines): Ditto.
2068 (dont_repeat_command): Ditto.
2069 (serial_log_command): Ditto.
2070 (disconnect): Ditto.
2071 * target.h (initialize_targets): Ditto.
2072 * os9kread.c (read_minimal_symbols): Ditto.
2073 * mdebugread.c (mdebug_psymtab_to_symtab): Ditto.
2074 (fdr_name): Ditto.
2075 (push_parse_stack): Ditto.
2076 (pop_parse_stack): Ditto.
2077 (is_pending_symbol): Ditto.
2078 (add_pending): Ditto.
2079 * serial.c (serial_logchar): Ditto.
2080 (serial_interface_lookup): Ditto.
2081 * serial.h (serial_log_command): Ditto.
2082 * f-valprint.c (info_common_command): Ditto.
2083 * gdbtypes.h (print_type_scalar): Ditto.
2084 * scm-valprint.c (scm_scmlist_print): Ditto.
2085 (scm_ipruk): Ditto.
2086 * scm-lang.c (scm_printstr): Ditto.
2087 (in_eval_c): Ditto.
2088 (evaluate_subexp_scm): Ditto.
2089 * scm-exp.c (scm_read_token): Ditto.
2090 (scm_skip_ws): Ditto.
2091 (scm_lreadparen): Ditto.
2092 * m2-lang.c (emit_char): Ditto.
2093 (m2_printchar): Ditto.
2094 (m2_printstr): Ditto.
2095 (m2_create_fundamental_type): Ditto.
2096 * f-lang.c (emit_char): Ditto.
2097 (f_printchar): Ditto.
2098 (f_printstr): Ditto.
2099 (f_create_fundamental_type): Ditto.
2100 * ch-lang.c (chill_printchar): Ditto.
2101 (chill_printstr): Ditto.
2102 (chill_create_fundamental_type): Ditto.
2103 (value_chill_length): Ditto.
2104 (value_chill_card): Ditto.
2105 (value_chill_max_min): Ditto.
2106 (evaluate_subexp_chill): Ditto.
2107 * ch-exp.c (PEEK_TOKEN): Ditto.
2108 (peek_token_): Ditto.
2109 (forward_token_): Ditto.
2110 (parse_case_label): Ditto.
2111 (parse_opt_untyped_expr): Ditto.
2112 (parse_unary_call): Ditto.
2113 (parse_call): Ditto.
2114 (parse_named_record_element): Ditto.
2115 (parse_tuple_element): Ditto.
2116 (parse_opt_element_list): Ditto.
2117 (parse_tuple): Ditto.
2118 (parse_primval): Ditto.
2119 (parse_operand6): Ditto.
2120 (parse_operand5): Ditto.
2121 (parse_operand4): Ditto.
2122 (parse_operand3): Ditto.
2123 (parse_operand2): Ditto.
2124 (parse_operand1): Ditto.
2125 (parse_operand0): Ditto.
2126 (parse_expr): Ditto.
2127 (parse_then_alternative): Ditto.
2128 (parse_else_alternative): Ditto.
2129 (parse_if_expression): Ditto.
2130 (parse_untyped_expr): Ditto.
2131 (growbuf_by_size): Ditto.
2132 (match_simple_name_string): Ditto.
2133 (decode_integer_value): Ditto.
2134 (decode_integer_literal): Ditto.
2135 (match_float_literal): Ditto.
2136 (match_float_literal): Ditto.
2137 (match_string_literal): Ditto.
2138 (match_character_literal): Ditto.
2139 (match_integer_literal): Ditto.
2140 (match_bitstring_literal): Ditto.
2141 (write_lower_upper_value): Ditto.
2142 * ch-lang.h (type_lower_upper): Ditto.
2143 * c-lang.c (emit_char): Ditto.
2144 * dwarfread.c (free_utypes): Ditto.
2145 * stabsread.h (resolve_cfront_continuation): Ditto.
2146 * stabsread.c (get_substring): Ditto.
2147 (read_one_struct_field): Ditto.
2148 * stabsread.h (process_later): Ditto.
2149 * demangle.c (set_demangling_command): Ditto.
2150 * defs.h (set_demangling_style): Ditto.
2151 * maint.c (maintenance_info_command): Ditto.
2152 (print_section_table): Ditto.
2153 (maintenance_info_sections): Ditto.
2154 (maintenance_print_command): Ditto.
2155 * symtab.h (maintenance_print_statistics): Ditto.
2156 * objfiles.h (in_plt_section): Ditto.
2157 * objfiles.c (add_to_objfile_sections): Ditto.
2158 * bcache.c (hash): Ditto.
2159 (lookup_cache): Ditto.
2160 * exec.c (bfdsec_to_vmap): Ditto.
2161 (ignore): Ditto.
2162 * f-exp.y (growbuf_by_size, match_string_literal): Ditto.
2163 * language.c (unk_lang_printchar): Ditto.
2164 (unk_lang_printstr): Ditto.
2165 (unk_lang_create_fundamental_type): Ditto.
2166 (unk_lang_print_type): Ditto.
2167 (unk_lang_val_print): Ditto.
2168 (unk_lang_value_print): Ditto.
2169 * target.c (update_current_target): Ditto.
2170 (debug_to_open): Ditto.
2171 (debug_to_close): Ditto.
2172 (debug_to_attach): Ditto.
2173 (debug_to_detach): Ditto.
2174 (debug_to_resume): Ditto.
2175 (debug_to_wait): Ditto.
2176 (debug_to_fetch_registers): Ditto.
2177 (debug_to_store_registers): Ditto.
2178 (debug_to_prepare_to_store): Ditto.
2179 (debug_to_xfer_memory): Ditto.
2180 (debug_to_files_info): Ditto.
2181 (debug_to_insert_breakpoint): Ditto.
2182 (debug_to_remove_breakpoint): Ditto.
2183 (debug_to_terminal_init): Ditto.
2184 (debug_to_terminal_inferior): Ditto.
2185 (debug_to_terminal_ours_for_output): Ditto.
2186 (debug_to_terminal_ours): Ditto.
2187 (debug_to_terminal_info): Ditto.
2188 (debug_to_kill): Ditto.
2189 (debug_to_load): Ditto.
2190 (debug_to_lookup_symbol): Ditto.
2191 (debug_to_create_inferior): Ditto.
2192 (debug_to_mourn_inferior): Ditto.
2193 (debug_to_can_run): Ditto.
2194 (debug_to_notice_signals): Ditto.
2195 (debug_to_thread_alive): Ditto.
2196 (debug_to_stop): Ditto.
cb74cc24 2197start-sanitize-gdbtk
b607efe7
FF
2198 * gdbtk.c (null_routine): Ditto.
2199 (gdbtk_flush): Ditto.
2200 (gdbtk_fputs): Ditto.
2201 (gdbtk_query): Ditto.
2202 (gdbtk_readline): Ditto.
2203 (gdbtk_readline_end): Ditto.
2204 (gdb_get_breakpoint_list): Ditto.
2205 (gdb_get_breakpoint_info): Ditto.
2206 (breakpoint_notify): Ditto.
2207 (gdbtk_create_breakpoint): Ditto.
2208 (gdbtk_delete_breakpoint): Ditto.
2209 (gdbtk_modify_breakpoint): Ditto.
2210 (gdb_loc): Ditto.
2211 (gdb_eval): Ditto.
2212 (gdb_sourcelines): Ditto.
2213 (map_arg_registers): Ditto.
2214 (get_register_name): Ditto.
2215 (gdb_regnames): Ditto.
2216 (get_register): Ditto.
2217 (gdb_fetch_registers): Ditto.
2218 (register_changed_p): Ditto.
2219 (gdb_changed_register_list): Ditto.
2220 (gdb_cmd): Ditto.
2221 (call_wrapper): Ditto.
2222 (gdb_listfiles): Ditto.
2223 (gdb_stop): Ditto.
2224 (gdbtk_dis_asm_read_memory): Ditto.
2225 (compare_lines): Ditto.
2226 (gdb_disassemble): Ditto.
2227 (tk_command): Ditto.
2228 (cleanup_init): Ditto.
2229 (gdbtk_interactive): Ditto.
2230 (x_event): Ditto.
2231 (gdbtk_wait): Ditto.
2232 (gdbtk_call_command): Ditto.
2233 (tk_command_loop): Ditto.
2234 (gdbtk_init): Ditto.
cb74cc24 2235end-sanitize-gdbtk
b607efe7
FF
2236 * breakpoint.h (set_breakpoint_sal): Ditto.
2237 * remote-utils.c (usage): Ditto.
2238 * remote.c (set_thread): Ditto.
2239 (remote_thread_alive): Ditto.
2240 (get_offsets): Ditto.
2241 (read_frame): Ditto.
2242 (remote_insert_breakpoint): Ditto.
2243 (remote_remove_breakpoint): Ditto.
2244 * sparc-nat.c (fetch_core_registers): Ditto.
2245 * corelow.c (add_to_thread_list): Ditto.
2246 (ignore): Ditto.
2247 * inftarg.c (proc_wait): Ditto.
2248 * infptrace.c (udot_info): Ditto.
2249 (fetch_register): Ditto.
2250 * ser-unix.c (hardwire_noflush_set_tty_state): Ditto.
2251 (hardwire_print_tty_state): Ditto.
2252 (hardwire_flush_output): Ditto.
2253 (hardwire_flush_input): Ditto.
2254 (hardwire_send_break): Ditto.
2255 (hardwire_setstopbits): Ditto.
2256 * ser-tcp.c (tcp_return_0): Ditto.
2257 (tcp_noflush_set_tty_state): Ditto.
2258 (tcp_print_tty_state): Ditto.
2259 * solib.c (match_main): Ditto.
2260 * gdbtypes.c (print_bit_vector): Ditto.
2261 (print_arg_types): Ditto.
2262 (dump_fn_fieldlists): Ditto.
2263 (print_cplus_stuff): Ditto.
2264 * symfile.h (entry_point_address): Ditto.
2265 * symfile.c (decrement_reading_symtab): Ditto.
2266 * valops.c (value_arg_coerce): Ditto.
2267 * value.h (find_function_in_inferior): Ditto.
2268 (value_allocate_space_in_inferior): Ditto.
2269 * values.c (vb_match): Ditto.
2270 * thread.c (info_thread_command): Ditto.
2271 (restore_current_thread): Ditto.
2272 (thread_apply_all_command): Ditto.
2273 (thread_apply_command): Ditto.
2274 * inferior.h (write_pc_pid): Ditto.
2275 * infrun.c (delete_breakpoint_current_contents): Ditto.
2276 * breakpoint.c (print_it_normal): Ditto.
2277 (watchpoint_check): Ditto.
2278 (print_it_done): Ditto.
2279 (print_it_noop): Ditto.
2280 (maintenance_info_breakpoints): Ditto.
2281 (create_longjmp_breakpoint): Ditto.
2282 (hbreak_command): Ditto.
2283 (thbreak_command): Ditto.
2284 (watch_commnd_1): Ditto.
2285 (rwatch_command): Ditto.
2286 (awatch_command): Ditto.
2287 (do_enable_breakpoint): Ditto.
2288 * ch-valprint.c (chill_val_print_array_elements): Ditto.
2289 * eval.c (evaluate_subexp): Ditto.
2290 (get_label): Ditto.
2291 (evaluate_struct_tuple): Ditto.
2292 * eval.c (init_array_element): Ditto.
2293
2294 * alpha-tdep.c (push_sigtramp_desc): Add prototype and make static.
2295 * breakpoint.c (hw_breakpoint_used_count): Ditto.
2296 (hw_watchpoint_used_count): Ditto.
2297 * findvar.c (write_register_gen): Ditto.
2298 (read_register_pid): Ditto.
2299 * symtab.c (cplusplus_hint): Ditto.
2300 * infcmd.c (breakpoint_auto_delete_contents): Ditto.
2301 * ch-valprint.c (chill_print_type_scalar): Ditto.
2302 * gdbtypes.c (add_name): Ditto.
2303 (add_mangled_type): Ditto.
2304 (cfront_mangle_name): Ditto.
2305 * sparc-tdep.c (isbranch): Ditto.
2306 * inftarg.c (child_stop): Ditto.
2307 * win32-nat.c (child_stop): Ditto.
2308 * mac-nat.c (child_stop): Ditto.
2309 * remote-utils.c (sr_com): Ditto.
2310 * dbxread.c (process_now): Ditto.
2311 * ch-exp.c (require): Ditto.
2312 (check_token): Ditto.
2313 (expect): Ditto.
2314 (parse_mode_call): Ditto.
2315 (parse_mode_or_normal_call): Ditto.
2316 * scm-lang.c (scm_lookup_name): Ditto
2317 * f-lang.c (allocate_saved_bf_node): Ditto.
2318 (allocate_saved_function_node): Ditto.
2319 (allocate_saved_f77_common_node): Ditto.
2320 (allocate_common_entry_node): Ditto.
2321 (add_common_block): Ditto.
2322 (add_common_entry): Ditto.
2323 (find_first_common_named): Ditto.
2324 (patch_common_entries): Ditto.
2325 (patch_all_commons_by_name): Ditto.
2326 (clear_bf_list): Ditto.
2327 (get_bf_for_fcn): Ditto.
2328 (clear_function_list): Ditto.
2329 * scm-exp.c (scm_istr2int): Ditto.
2330 (scm_istring2number): Ditto.
2331 * scm-valprint.c (scm_inferior_print): Ditto.
2332 * f-typeprint.c (print_equivalent_f77_float_type): Ditto.
2333 * f-valprint.c (f77_get_dynamic_length_of_aggregate): Ditto.
2334 (f77_create_arrayprint_offset_tbl): Ditto.
2335 (f77_print_array_1): Ditto.
2336 (f77_print_array): Ditto.
2337 (list_all_visible_commons): Ditto.
2338 (there_is_a_visible_common_named): Ditto.
2339 * mdebugread.c (ecoff_relocate_efi): Ditto.
2340 * callback.c (os_close): Ditto.
2341 (os_get_errno): Ditto.
2342 (os_isatty): Ditto.
2343 (os_lseek): Ditto.
2344 (os_open): Ditto.
2345 (os_read): Ditto.
2346 (os_read_stdin): Ditto.
2347 (os_write): Ditto.
2348 (os_write_stdout): Ditto.
2349 (os_rename): Ditto.
2350 (os_system): Ditto.
2351 (os_time): Ditto.
2352 (os_unlink): Ditto.
2353 (os_shutdown): Ditto.
2354 (os_init): Ditto.
2355 (os_printf_filtered): Ditto.
2356
2357 * scm-lang.h (scm_parse): Change old style decl to prototype.
2358 * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset): Ditto.
2359 * top.c (init_proc): Ditto.
2360 (query_hook): Ditto.
2361 (error_hook): Ditto.
2362 * f-lang.c (c_value_print): Ditto.
2363 * ch-exp.c (parse_expression): Ditto.
2364 (parse_primval): Ditto.
2365 (parse_untyped_expr): Ditto.
2366 (parse_opt_untyped_expr): Ditto.
2367 (ch_lex): Ditto.
2368 * config/sparc/tm-sparc.h (sparc_init_extra_frame_info): Ditto.
2369 (sparc_frame_saved_pc): Ditto.
2370 (sparc_push_dummy_frame): Ditto.
2371 (sparc_pop_frame): Ditto.
2372 * defs.h (fclose): Ditto.
2373 (atof): Ditto.
2374 (error_hook): Ditto.
2375
2376 * arc-tdep.c (single_step): Change arg to type "enum target_signal".
2377 * rs6000-tdep.c (single_step): Ditto.
2378 * sparc-tdep.c (single_step): Ditto.
2379
2380 * breakpoint.c (cleanup_executing_breakpoints): Change unused arg type
2381 to PTR which is what make_cleanup expects.
2382 * utils.c (null_cleanup): Change arg type to PTR.
2383 * defs.h (null_cleanup): Change prototype to match actual function.
2384 * config/sparc/tm-sparc.h (struct frame_info): Move forward decl.
2385 * ch-valprint.c (chill_val_print): Cast 2nd arg of
2386 chill_print_type_scalar to LONGEST.
2387 * infrun.c (wait_for_inferior): Have empty switch case for
2388 BPSTAT_WHAT_CHECK_SHLIBS when SOLIB_ADD is not defined.
2389 (stop_on_solib_events): Only needed if SOLIB_ADD is defined.
2390 * infcmd.c (attach_command): Only need auto_solib_add if SOLIB_ADD
2391 is defined.
2392 * symfile.c (generic_load): Scan long int using a long int spec,
2393 not an int spec.
2394 * infptrace.c (udot_info): Only need local variables if KERNEL_U_SIZE
2395 is defined.
2396 (fetch_register): Only need function if FETCH_INFERIOR_REGISTERS is
2397 not defined.
2398 * inflow.c (handle_sigio): Only need prototype when the actual
2399 function is compiled in.
2400 * valprint.c (longest_to_int): Expand error message to be
2401 separate messages for args larger than largest signed int
2402 and args smaller than smallest signed int.
2403 * valprint.c (print_longest): Fix problems with support for case
2404 where compiler supports type "long long" but the runtime doesn't
2405 support printing them with "%ll".
2406 * scm-valprint.c (scm_scmlist_print, scm_scmval_print): Change
2407 return types to void since we don't actually return anything
2408 meaningful and callees ignore the values anyway.
2409 * procfs.c (modify_inherit_on_fork_flag): Enclose pr_flags in PIOCSET
2410 ifdef.
2411 (modify_run_on_last_close_flag): Ditto.
2412 (wait_fd): Enclose local variables "num_fds" and "i" LOSING_POLL
2413 ifdef
2414 * alpha-tdep.c (push_sigtramp_desc): Return proc_desc rather than
2415 random value.
2416 * infrun.c (wait_for_inferior): Ensure random_signal is not used
2417 uninitialized.
2418 * valops.c (call_function_by_hand): Ensure struct_addr is not used
2419 uninitialized.
2420 * breakpoint.c (watch_command_1): Ensure prev_frame is not used
2421 uninitialized.
2422 * utils.c (vfprintf_maybe_filtered): Change second arg from "char *"
2423 to "const char *".
cb74cc24 2424start-sanitize-gdbtk
b607efe7
FF
2425 * gdbtk.c (gdb_fetch_registers): Cast fourth arg to map_arg_registers
2426 to proper pointer type, from int.
2427 (gdbtk_query): Change first arg to "const char *" from "char *".
cb74cc24 2428end-sanitize-gdbtk
b607efe7
FF
2429 * infptrace.c (udot_info): Add two dummy args so that the type is
2430 correct for passing to add_info.
2431 * f-lang.c (saved_fcn): Move decl to head of file so it can be used
2432 in prototypes.
2433 (saved_bf_symnum): Ditto.
2434 (SAVED_FUNCTION): Ditto.
2435 (SAVED_FUNCTION_PTR): Ditto.
2436 (SAVED_BF): Ditto.
2437 (SAVED_BF_PTR): Ditto.
2438 * ch-exp.c (parse_named_record_element): Build error message in
2439 temporary buffer before passing it to expect, rather than passing
2440 wrong number of args to expect.
2441 * demangle.c (set_demangling_style): Call set_demangling_command with
2442 correct number of arguments.
2443 * inferior.h (terminal_init_inferior_with_pgrp): Change arg type to
2444 int to match actual function.
2445 (os_isatty): Call fdmap with right number of arguments, was missing
2446 the host_callback* arg.
2447 * target.c (cleanup_target): Prototype all functions casts.
2448 * target.h (one_stepped, single_step): Declare here and convert
2449 single_step to prototype.
2450 * infrun.c (one_stepped, single_step): Don't declare externs
2451 here, they have moved to target.h.
2452 * eval.c (init_array_element): Declare previously undeclared
2453 last two args as LONGEST.
2454 * dcache.c (dcache_xfer_memory): Change xfunc decls to prototype form.
cb74cc24
SS
2455start-sanitize-gdbtk
2456 * gdbtk.c (register_changed_p): Remove unused local variable "buf".
2457end-sanitize-gdbtk
b607efe7 2458
dc88c64e
DE
2459Thu Jul 25 16:11:54 1996 Doug Evans <[email protected]>
2460
2461 * dsrec.c (load_srec): Protect ANSI style function parms with PARAMS.
2462
3a179be1
SG
2463Mon Jul 22 18:13:27 1996 Stu Grossman ([email protected])
2464
2465 * Makefile.in (os9kread.o): Remove dependency on partial-stab.h.
2466 * dbxread.c (read_dbx_symtab end_psymtab), partial-stab.h: Don't
2467 use partial_symtab->textlow==0 as a flag, as 0 is a legitimate
2468 text address. Use a seperate flag (textlow_not_set) instead.
2469 This makes stabs in ELF .o files work a lot better.
2470 * mdebugread.c xcoffread.c: Define textlow_not_set for
2471 partial-stab.h.
2472 * stabsread.h (end_psymtab): Add textlow_not_set arg to prototype.
2473
cb74cc24 2474start-sanitize-gdbtk
396bf873
FF
2475Sat Jul 20 17:46:40 1996 Fred Fish <[email protected]>
2476
2477 * gdbtk.tcl (files_command): Reorder the binding tags for
2478 the listbox widget to avoid referencing the listbox after
2479 the containing widget has been destroyed by the action of
2480 a previous binding.
cb74cc24 2481end-sanitize-gdbtk
396bf873 2482
9422fadb
FF
2483Sat Jul 20 10:41:06 1996 Fred Fish <[email protected]>
2484
2485 * dwarf2read.c (struct filenames): Change internal "struct file"
2486 to "struct fileinfo" to avoid conflict with "struct file" in
2487 <sys/file.h> on HPUX and Solaris.
2488
cb74cc24 2489start-sanitize-gdbtk
efd14e45
FF
2490Sat Jul 20 10:09:28 1996 Fred Fish <[email protected]>
2491
2492 * gdbtk.tcl (delete_expr): Unset corresponding element of
2493 expr_update_list when destroying an expression.
2494 (create_expr_window): Initialize expr_num, delete_expr_num,
2495 and expr_update_list here when each new expression window
2496 is created, rather than once at startup.
cb74cc24 2497end-sanitize-gdbtk
efd14e45 2498
fcf05549
SS
2499Fri Jul 19 14:05:57 1996 Stan Shebs <[email protected]>
2500
2501 * dwarf2read.c: New file, DWARF 2 reader originally contributed by
2502 Brent Benson, with additions by Gary Funck and Jerry Kreuscher.
2503 * Makefile.in (COMMON_OBS): Add dwarf2read.o.
2504 (SFILES): Add dwarf2read.c.
2505 (dwarf2read.o): Add build rule.
2506 * symfile.h (dwarf2_has_info, dwarf2_build_psymtabs): Declare
2507 exported functions.
2508 * elfread.c (elf_symfile_read): Call them.
2509 (elf_symtab_read) [HARRIS_TARGET]: Skip some special symbols.
2510
3f17fed8
GN
2511Thu Jul 18 01:22:01 1996 Geoffrey Noer <[email protected]>
2512
2513 * symfile.c (symfile_bfd_open):
2514 * exec.c (exec_file_command): for __GO32__ and __WIN32__ systems,
2515 free the user from having to type the .exe extension.
2516
2531b169
MA
2517Wed Jul 17 06:54:50 1996 Mark Alexander <[email protected]>
2518
2519 * mon960-rom.c: Shorten the mon960_inits string to a single
2520 carriage return; this prevents a hang on connecting immediately
2521 after powerup, when MON960 is attempting autobaud detection.
2522
48b497ed
MA
2523Tue Jul 16 23:47:04 1996 Mark Alexander <[email protected]>
2524
2525 * a29k-tdep.c (get_saved_register): Allow PC to be modified
2526 when innermost frame is selected, but not in outer frames.
2527
76420d46
SG
2528Tue Jul 16 23:37:25 1996 Stu Grossman ([email protected])
2529
2530 * command.c (do_setshow_command): Don't segfault when showing
2531 var_string and var_string_noescape vars that are NULL.
2532
2dcfc9c7
DE
2533Mon Jul 15 16:55:48 1996 Doug Evans <[email protected]>
2534
2535 * win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed to
2536 cygwin32_conv_to_posix_path.
2537 (child_create_inferior): unix_path_to_dos_path renamed to
2538 cygwin32_conv_to_win32_path. Rewrite code to translate PATH.
2539
91550191
SG
2540Mon Jul 15 16:44:05 1996 Stu Grossman ([email protected])
2541
2542 * defs.h printcmd.c: Create global disassemble_info structure
2543 tm_print_insn_info.
cb74cc24 2544start-sanitize-gdbtk
91550191
SG
2545 * gdbtk.c (gdb_disassemble): Setup di.mach from
2546 tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER.
cb74cc24 2547end-sanitize-gdbtk
91550191
SG
2548 * i386-tdep.c (set_assembly_language_command): set
2549 tm_print_insn_info.mach to the appropriate value for 386 or 8086
2550 disassembly.
2551 * printcmd.c (print_insn): Move init of disassembler_info to
2552 _initialize_printcmd. Set endian for disassembler here.
2553 * sparc-tdep.c: Set tm_print_insn_info.mach as appropriate to
2554 select sparc/sparclite.
2555 * config/sparc/{tm-sparc.h tm-sparclite.h}: Get rid of
2556 TM_PRINT_INSN. Set TM_PRINT_INSN_MACH to
2557 bfd_mach_sparc/bfd_mach_sparc_sparclite.
2558
d369b213
FF
2559Fri Jul 12 19:04:32 1996 Fred Fish <[email protected]>
2560
2561 * hpread.c (hpread_lookup_type): Use xmmalloc/xmrealloc rather
2562 than xmalloc/xrealloc.
2563
26b3dc44 2564Fri Jul 12 17:59:47 1996 Fred Fish <[email protected]>
c0e6ae2e
FF
2565
2566 * objfiles.c (map_to_file): Error return from mmalloc_findbase is
2567 a NULL pointer, not a -1.
2568
f33b2c13
SG
2569Fri Jul 12 10:16:24 1996 Stu Grossman ([email protected])
2570
2571 * i386-tdep.c (set_assembly_language_command): New routine to
2572 select between i386 and i8086 instruction sets for disassembly.
2573 New command `set assembly-language {i386 i8086}'.
2574
f3138a7c
MA
2575Thu Jul 11 21:13:21 1996 Mark Alexander <[email protected]>
2576
2577 * monitor.c (monitor_write_memory, monitor_read_memory_single):
2578 Disable use of "long long" memory read/write commands; can't
2579 use them because we hold the values to read/write in an int
2580 variable, and because strtoul fails on values that exceed the
2581 size of a long. This fixes breakpoint problems on MON960.
2582
4853b6d1
FF
2583Thu Jul 11 11:39:31 1996 Fred Fish <[email protected]>
2584
2585 * config/m68k/xm-hp300hpux.h (HAVE_MMAP): Remove definition.
2586 * config/pa/xm-hppah.h (HAVE_MMAP): Ditto.
2587
54109914
FF
2588Wed Jul 10 16:54:41 1996 Fred Fish <[email protected]>
2589
2590 * Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLE
2591 and MMALLOC_CHECK macros, and add comment indicating how host dependent
2592 makefile fragment should modify MMALLOC_CFLAGS to not use mmalloc, or
2593 to use it but to not do heap corruption checking.
2594 * gdbserver/Makefile.in: Ditto.
2595 * utils.c (init_malloc): Replace warning() use with direct call of
2596 fprintf_unfiltered, since current_target has not yet been set and thus
2597 we cannot use warning(). If we try to use mmcheck and it fails,
2598 suggest that this configuration needs NO_MMCHECK or MMCHECK_FORCE
2599 defined. Other small mmalloc related cleanups.
2600 * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1.
2601 * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Set to -DNO_MMCHECK.
2602
2603 * config/sparc/xm-sun4os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
2604 * config/i386/xm-i386v4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
2605 * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
2606 * config/m68k/xm-hp300hpux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
2607 * config/m68k/xm-m68kv4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT);
2608 * config/m68k/xm-sun3os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
2609 * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
2610 * config/sparc/xm-sun4sol2.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
2611 Remove obsolete defines.
2612
2613 * config/alpha/alpha-linux.mh (MMALLOC_DISABLE):
2614 * config/alpha/alpha-osf1.mh (MMALLOC_DISABLE):
2615 * config/rs6000/rs6000.mh (MMALLOC_DISABLE):
2616 * config/rs6000/aix4.mh (MMALLOC_DISABLE):
2617 * config/powerpc/aix4.mh (MMALLOC_DISABLE):
2618 * config/powerpc/aix.mh (MMALLOC_DISABLE):
2619 * config/ns32k/ns32km3.mh (MMALLOC_DISABLE):
2620 * config/mips/mipsm3.mh (MMALLOC_DISABLE):
2621 * config/mips/decstation.mh (MMALLOC_DISABLE):
2622 * config/m88k/cxux.mh (MMALLOC_DISABLE):
2623 * config/i386/i386mk.mh (MMALLOC_DISABLE):
2624 * config/i386/i386m3.mh (MMALLOC_DISABLE):
2625 * config/i386/i386gnu.mh (MMALLOC_DISABLE):
2626 Use MMALLOC_CFLAGS instead.
2627
4679717d
JL
2628Tue Jul 9 22:41:12 1996 Jeffrey A Law ([email protected])
2629
2630 * h8300-tdep.c: Remove some outdated comments.
2631 (h8300_skip_prologue): Rework to be more correct for the H8/300H.
2632 Handle stm.l insns for the H8/S.
2633 (examine_prologue): Likewise.
2634
15aec61c
RJ
2635Tue Jul 9 16:48:55 1996 Raymond Jou <[email protected]>
2636
2637 * ser-mac.c (mac_close): Change a typo SetSetBuf to SerSetBuf.
2638
ee7b308f
MA
2639Mon Jul 08 08:50:39 1996 Mark Alexander <[email protected]>
2640
2641 * mon960-rom.c (mon960_open): Add floating point detection to
2642 prevent hang on non-FPU processors (PR 9775).
2643 (mon960_cmds): Swap setmem.cmdw and setmem.cmdl to fix problem
2644 setting breakpoints and improve loading speed.
2645
ace4b8d7
FF
2646Sun Jul 7 14:57:34 1996 Fred Fish <[email protected]>
2647
2648 * coffread.c (record_minimal_symbol): Don't presave name string
2649 on symbol_obstack before passing to prim_record_minimal_symbol.
2650 It now handles saving the string itself.
2651 * dbxread.c (read_dbx_dynamic_symtab): Ditto.
2652 * mipsread.c (read_alphacoff_dynamic_symtab): Ditto.
2653 * os9kread.c (record_minimal_symbol): Ditto.
2654 * solib.c (solib_add_common_symbols): Ditto.
2655
2656 * coffread.c (coff_symtab_read): Don't presave name string on
2657 symbol_obstack before passing to prim_record_minimal_symbol_and_info.
2658 It now handles saving the string itself.
2659 * dbxread.c (record_minimal_symbol): Ditto.
2660 * elfread.c (record_minimal_symbol_and_info): Ditto.
2661
2662 * dstread.c (record_minimal_symbol): Remove static function that just
2663 called prim_record_minimal_symbol with the same args (after change to
2664 prim_record_minimal_symbol to do it's own name string saves).
2665 * nlmread.c (record_minimal_symbol): Ditto.
2666 * somread.c (record_minimal_symbol): Ditto.
2667
2668 * hpread.c (hpread_read_enum_type): Save symbol name on symbol obstack.
2669 (hpread_read_function_type): Ditto.
2670 (hpread_process_one_debug_symbol): Ditto.
2671 * mdebugread.c (parse_symbol): Ditto.
2672 (new_symbol): Ditto.
2673 * minsyms.c (prim_record_minimal_symbol_and_info): Ditto.
2674
2675 * coffread.c (process_coff_symbol): Use obsavestring to save
2676 SYMBOL_NAME, rather than obstack_copy0.
2677 * dstread.c (create_new_symbol): Ditto
2678 * symfile.c (obconcat): Ditto.
2679 * stabsread.c (patch_block_stabs): Ditto.
2680 * xcoffread.c (SYMNAME_ALLOC): Ditto.
2681
2682 * symfile.c (obsavestring): Update comments
2683 * solib.c (solib_add_common_symbols): Remove local var origname.
2684
89e673a4
SG
2685Wed Jul 3 15:56:08 1996 Stu Grossman ([email protected])
2686
bc859e63
SG
2687 * configure: Re-build with autoconf-2.10.
2688
89e673a4
SG
2689 * sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h,
2690 config/sparc/tm-sparclite.h: Initialize tm_print_insn from
2691 TM_PRINT_INSN, which comes from the tm file.
2692
e74acce4
MA
2693Tue Jul 02 21:41:20 1996 Mark Alexander <[email protected]>
2694
2695 * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c,
2696 os9kread.c: Replace identical sym_offsets functions with
2697 default_symfile_offsets.
2698 * somread.c (som_symfile_offsets): Use new SIZEOF_SECTION_OFFSETS
2699 macro to allocate section_offsets.
2700 * symfile.c (default_symfile_offsets): New function.
2701 * symfile.h: Declare default_symfile_offsets.
2702 * symtab.h: Define SIZEOF_SECTION_OFFSETS macro to
2703 simplify allocation of section_offsets.
2704
89e673a4
SG
2705Tue Jun 11 12:02:55 1996 Stu Grossman ([email protected])
2706
2707 * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure.
2708 * configure configure.in: Only make sol-thread.o for native.
2709 Also, switch to dlopened libthread_db.so.1.
2710 * sol-thread.c: Switch to using dlopen to get the thread_db
2711 library.
2712
2713Thu Jun 13 16:53:25 1996 Stu Grossman ([email protected])
2714
2715 * configure, configure.in: Change test for libthread_db to only
2716 work for configs where build/host/target are the same.
2717
eafdda3d
MM
2718Tue Jul 2 15:04:20 1996 Michael Meissner <[email protected]>
2719
2720 * config/powerpc/{linux.mh,xm-linux.h}: New files, for Linux on
2721 PowerPC.
2722
2723 * configure.in (powerpc-*-linux): Add Linux, System V, and ELF
2724 support.
2725 * configure: Regenerate.
2726
6687c953
SS
2727Mon Jul 1 13:00:43 1996 Stan Shebs <[email protected]>
2728
2729 From Raymond Jou <[email protected]>:
2730 * mpw-make.sed: Add lines to whack out autoconf hook
2731 @CONFIG_LDFLAGS@.
2732
97fd185a 2733Mon Jul 01 11:07:15 1996 Mark Alexander <[email protected]>
012be3ce 2734
97fd185a 2735 * remote-e7000.c (e7000_stop): New function.
012be3ce
DP
2736
2737Fri Jun 28 06:34:19 1996 Dawn Perchik <[email protected]>
2738
6687c953
SS
2739 * configure, configure.in: Add target sparclet.
2740 * monitor.h, monitor.c: Added monitor flags MO_NO_ECHO_ON_SETMEM
2741 (don't expect echo on setmem command), MO_RUN_FIRST_TIME (if
2742 command to start process running on target is different from one
2743 to continue execution), MO_HEX_PREFIX (if addresses from monitor
2744 have a "0x" prefix).
2745 * monitor.c, parse.c, sparc-tdep.c: Don't require strings in the
2746 registers array. This is to allow NULLs to be place holders in
2747 the tm-*.h file so that only minor changes are needed when a new
2748 processor is introduced (eg, one without floating point).
2749 * sparc-tdep.c: Conditionally remove dependancies on floating
2750 point.
2751 * sparclet-rom.c, config/sparc/sparclet.mt,
2752 config/sparc/tm-sparclet.h: New files for target sparclet.
2753 * symfile.c (load_command): Add option for 2nd parameter; a load
2754 offset added to the vma of each section.
012be3ce 2755
265c044a
DP
2756Fri Jun 28 05:39:19 1996 Dawn Perchik <[email protected]>
2757
2758 * main.c (main): Add option "l" for setting remote_timeout.
2759
cb1709ae
DP
2760Fri Jun 28 05:25:18 1996 Dawn Perchik <[email protected]>
2761
6687c953
SS
2762 * remote-e7000.c, remote.c, target.h, top.c: Add set option
2763 "remote_timeout" for setting remote_timeout. Add set option
2764 "use_hard_breakpoints" for setting hardware .vs. memory
2765 breakpoints.
cb1709ae 2766
56a4bf53
DP
2767Fri Jun 28 04:32:18 1996 Dawn Perchik <[email protected]>
2768
2769 * remote-e7000.c (e7000_parse_device): New function.
2770 Add option "tcp_remote" to target command if using
2771 tcp to connect to a remote host which is then connected
2772 via serial port to the e7000 (for exampole, a port master).
2773 (e7000_open): Change to call e7000_parse_device.
2774
f7ce02f4
DP
2775Fri Jun 28 03:47:17 1996 Dawn Perchik <[email protected]>
2776
2777 * monitor.c (monitor_debug): Fix remotedebug buffering.
2778
99afd188
SS
2779Thu Jun 27 18:24:17 1996 Stan Shebs <[email protected]>
2780
2781 * config/i386/cygwin32.mh, config/powerpc/cygwin32.mh
2782 (NATDEPFILES): Add a space.
2783
81508b27
WM
2784Wed Jun 26 06:05:39 1996 Wilfried Moser (Alcatel) <[email protected]>
2785
2786 * gdbtypes.c (create_array_type): If TYPE_LENGTH (result_type)
2787 is zero, set TYPE_FLAG_TARGET_STUB to force reevaluation of the type.
2788
2789 * ch-exp.c (calculate_array_length): Function removed.
2790
ebea0366
MH
2791Tue Jun 25 17:41:06 1996 Martin M. Hunt <[email protected]>
2792
2793 * remote-e7000.c (e7000_read_inferior_memory_large): New function.
2794 (e7000_xfer_inferior_memory): Call it.
2795
a69b7bdc
JM
2796Tue Jun 25 23:14:07 1996 Jason Molenda ([email protected])
2797
2798 * gdb/gdbserver/Makefile.in (docdir): Removed.
2799
5d8b7982
JM
2800Tue Jun 25 22:05:38 1996 Jason Molenda ([email protected])
2801
2802 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
2803 Use autoconf set values.
2804 (docdir): Removed.
2805 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
2806 * nlm/Makefile.in (bindir, libdir, datadir, mandir, infodir,
2807 includedir): Use autoconf set values.
2808 (docdir): Removed.
2809 * nlm/configure.in (AC_PREREQ): autoconf 2.5 or higher.
2810 * nlm/configure: Rebuilt.
2811 * gdb/gdbserver/Makefile.in (datadir): Set to $(prefix)/share.
2812
2813Mon Jun 24 09:56:14 1996 Angela Marie Thomas ([email protected])
2814
2815 * stabsread.c (read_cfront_member_functions): add type
2816
2817Sun Jun 23 23:40:48 1996 Doug Evans <[email protected]>
2818
2819 * win32-nat.c: #include <unistd.h>.
2820 (unix_paths_to_dos_paths, dos_paths_to_unix_paths): Delete.
2821 (child_create_inferior): Convert only env var PATH to win32 style.
2822 (set_pathstyle_dos): Delete.
2823 (_initialize_inftarg): Delete dos-path-style command.
2824
3d9f68c0 2825start-sanitize-gdbtk
ab5c0a12
FF
2826Fri Jun 21 11:04:47 1996 Fred Fish <[email protected]>
2827
2828 * gdbtk.tcl (create_register_windows): Include missing '$'s.
2829 Add global declarations for various reg_format_* variables.
4149b5f4
FF
2830 * gdbtk.tcl (populate_register_window): Make initial window one
2831 line taller to account for new column header line.
ab5c0a12
FF
2832
2833Fri Jun 21 09:46:47 1996 Fred Fish <[email protected]>
3d9f68c0
FF
2834
2835 * gdbtk.c (get_register): Support for printing raw formats.
2836 * gdbtk.tcl: Add hint for using debug_interface.
2837 (center_window, add_breakpoint_frame, delete_breakpoint_frame):
2838 Enclose arg in braces for consistency.
2839 (create_registers_window, populate_reg_window, update_registers):
ab5c0a12
FF
2840 Major rewrite to support displaying multiple formats in the register
2841 window.
3d9f68c0
FF
2842 (init_reg_info): New function.
2843 (recompute_reg_display_list): Reset reg_display_list, start
2844 register display lines at line 2.
2845
2846end-sanitize-gdbtk
1a7b4b7c
DE
2847Thu Jun 20 13:42:23 1996 Doug Evans <[email protected]>
2848
2849 * configure.in: Revise sol-thread.o test.
2850 * configure: Regenerated.
2851
2852 * source.c (find_source_lines): Reassign size to result of read.
2853
b613bfbf 2854start-sanitize-gdbtk
3f8eefba
FF
2855Thu Jun 20 08:18:59 1996 Fred Fish <[email protected]>
2856
2857 * gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to
2858 avoid backing up over prompt. At every input, make sure insert
2859 point is at least after command start, handle control-u to delete
2860 current input line.
2861 (tclsh): Handle backspace to avoid backing up over prompt. Handle
2862 control-u to delete current input line.
2863
b613bfbf
GN
2864Wed Jun 19 17:23:38 1996 Geoffrey Noer <[email protected]>
2865
2866 * configure.in: disable gdbtk for *cygwin32* hosted compiles
2867 * configure: regenerated with autoconf 2.8
2868
2869end-sanitize-gdbtk
b613bfbf
GN
2870Tue Jun 18 16:25:54 1996 Jeffrey A. Law <[email protected]>
2871
2872 * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S.
2873 (h8300_command): Likewise.
2874 (set_machine): Likewise.
2875 (set_machine_hook): Likewise.
2876 (_initialize_h8300m): Likewise.
2877
2878 * config/h8300/tm-h8300.h (h8300smode): Declare.
2879
5499f9a1
JL
2880Sun Jun 16 15:21:51 1996 Jeffrey A. Law <[email protected]>
2881
2882 * somsolib.c (som_solib_create_inferior_hook): Handle tracking
2883 of shl_load calls for hpux10.
2884
2885Thu Jun 13 11:16:10 1996 Tom Tromey <[email protected]>
2886
2887 * config.in: Regenerated.
2888 * acconfig.h (HAVE_THREAD_DB_LIB): Added entry.
2889
2890 * configure: Regenerated.
2891 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
2892 avoid name clashes with SunOS headers.
2893
9d111656
FF
2894Tue Jun 11 19:52:50 1996 Fred Fish <[email protected]>
2895
2896 From Michael Snyder <[email protected]>:
2897 * bcache.c (print_bcache_statistics): Avoid divide-by-zero
2898 exception if one or more objfile has no symbols, such as when
2899 a dynamic library has been stripped.
2900
2901Tue Jun 11 12:02:55 1996 Stu Grossman ([email protected])
2902
2903 * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure.
2904 * configure configure.in: Only make sol-thread.o for native.
2905 Also, switch to dlopened libthread_db.so.1.
2906 * sol-thread.c: Switch to using dlopen to get the thread_db
2907 library.
2908
f023ce5c
FF
2909Mon Jun 10 14:17:19 1996 Fred Fish <[email protected]>
2910
2911 * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h} (MMAP_BASE_ADDRESS):
2912 Change from 0xE0000000 to 0xC0000000.
2913
2914Thu Jun 6 17:10:32 1996 Michael Meissner <[email protected]>
2915
2916 * config/powerpc/xm-solaris.h: Initial version of support for
2917 Solaris on PowerPC.
2918
911026aa
JSC
2919Wed Jun 5 01:52:57 1996 James G. Smith <[email protected]>
2920
2921 * configure.in (configdirs): Force 4100 builds to use 4300 GDB
2922 target.
2923 * configure: Rebuild.
2924
2925 * config/mips/vr4300el.mt (SIM_OBS): Include simulator in
2926 little-endian builds.
2927
093c1a2f
JL
2928Mon Jun 3 11:48:29 1996 Jeffrey A Law ([email protected])
2929
f4c952e4
JL
2930 * inftarg.c (child_thread_alive): Protect declaration with
2931 #ifndef CHILD_THREAD_ALIVE.
2932
093c1a2f
JL
2933 * source.c (find_source_lines): Check the time on the symtab's bfd if
2934 it exists, else check the time on the exec_bfd.
2935
f6decc18
MA
2936Thu May 30 09:43:17 1996 Mark Alexander <[email protected]>
2937
2938 * dsrec.c (make_srec): Fix calculation of address size
2939 to allow addresses less than 0x100.
2940
3db21ca5
WM
2941Thu May 30 04:24:09 1996 Wilfried Moser (Alcatel) <[email protected]>
2942
2943 * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length.
2944
3308a107
GN
2945Tue May 28 16:15:47 1996 Geoffrey Noer <[email protected]>
2946
2947 * remote-mips.c: cannot use EINVAL for breakpoint test since
2948 its value varies for different hosts (e.g. go32's is 19, while
2949 sunos is 22). Changed to hardcoded 22 since that is what the
2950 mips boards return.
2951
e44d1491
TT
2952Tue May 28 11:14:58 1996 Tom Tromey <[email protected]>
2953
2954 * configure: Regenerated.
2955 * aclocal.m4 (CY_AC_PATH_TCLH): Don't use AC_TRY_RUN.
2956 (CY_AC_PATH_TKH): Don't use AC_TRY_RUN.
2957
76420d46
SG
2958Sun May 26 16:56:35 1996 Miles Bader <[email protected]>
2959
2960 * solib.c (solib_absolute_prefix, solib_search_path): New variables.
2961 (_initialize_solib): Add set/show commands for those variables.
2962 (solib_map_sections): Implement searching using them.
2963
9391c997
FF
2964Sun May 26 14:14:49 1996 Fred Fish <[email protected]>
2965
2966 Changes from: David Mosberger-Tang <[email protected]>
2967
2968 * NEWS: Add Alpha Linux as a new native configuration.
2969
2970 * mdebugread.c (parse_symbol): When we find a malloc() symbol with
2971 return type VOID, assume no debugging info is available for that
2972 object file and patch the return value into VOID *. Otherwise,
2973 operations requiring an implicit call to malloc() will fail.
2974
2975 * infrun.c (wait_for_inferior): The criterion to detect entering a
2976 sigtramp handler is now: (a) the current pc is inside a sigtramp
2977 handler, (b) the previous pc is not in a sigtramp handler, and (c)
2978 the current stack pointer is "inner" than the old one. Condition
2979 (c) is new to avoid mistaking a return from a signal handler into
2980 sigtramp as a new sigtramp invocation.
2981
2982 * dcache.c (struct dcache_block): Declare addr as CORE_ADDR. An
2983 int may not be big enough to hold an address.
2984 (dcache_hit): Ditto.
2985 (dcache_peek_byte): Fix indentation.
2986
2987 * configure.in (alpha-*-linux*): Add target.
2988 * configure: Rebuild
2989
2990 * config/alpha/tm-alpha.h (PROC_DESC_IS_DYN_SIGTRAMP): New macro.
2991 (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
2992 (DYNAMIC_SIGTRAMP_OFFSET): Ditto.
2993 (SIGCONTEXT_ADDR): Ditto.
2994 (FRAME_PAST_SIGTRAMP_FRAME): Ditto.
2995
2996 * config/alpha/alpha-linux.mh: New file.
2997 * config/alpha/alpha-linux.mt: Ditto.
2998 * config/alpha/nm-linux.h: Ditto.
2999 * config/alpha/tm-alphalinux.h: Ditto.
3000 * config/alpha/xm-alphalinux.h: Ditto.
3001 * config/alpha/xm-alphaosf.h: Renamed from xm-alpha.h.
3002 * config/alpha/alpha-osf1.mh (XM_FILE): Change from xm-alpha.h to
3003 xm-alphaosf.h.
3004 * config/alpha/alpha-osf2.mh: Ditto.
3005
3006 * blockframe.c (find_pc_partial_function): Pass PC to
3007 SIGTRAMP_START and SIGTRAMP_END macros for the benefit of systems
3008 that detect sigtramp code via designated code sequences (as is the
3009 case for Linux/Alpha, for example).
3010
3011 * config/i386/tm-i386bsd.h: Change SIGTRAMP_START and SIGTRAMP_END
3012 to ignore new PC argument.
3013 * config/m68k/tm-hp300bsd.h: Ditto.
3014 * config/vax/tm-vax.h: Ditto.
3015
3016 * alpha-tdep.c (alpha_linux_sigtramp_offset): New function.
3017 (alpha_osf_skip_sigtramp_frame): Ditto.
3018 (push_sigtramp_desc): Ditto.
3019 (alpha_find_saved_regs): Use SIGCONTEXT_ADDR macro to extract
3020 sigcontext address from frame.
3021 (alpha_saved_pc_after_call): When in sigtramp, use
3022 alpha_frame_saved_pc() instead of read-register().
3023 (after_prologue): When inside a dynamically generated sigtramp
3024 function, there is no prologue, so return address of first
3025 instruction.
3026 (alpha_in_prologue): Fix typo in comment.
3027 (find_proc_desc): Use macro DYNAMIC_SIGTRAMP_OFFSET to determine
3028 whether we're inside a dynamicaly generated sigtramp function. If
3029 so, create and push and appropriate procedure descriptor.
3030 (alpha_frame_chain): Use macro FRAME_PAST_SIGTRAMP_FRAME to obtain
3031 the frame past a sigtramp frame (if the current frame is indeed a
3032 sigtramp function).
3033 (init_extra_frame_info): Don't read next frame register off of
3034 stack-pointer when inside a dynamiccaly generated sigtramp.
3035 (alpha_pop_frame): Also unlink and destroy procedure descriptors
3036 created for dynamically generated sigtramp functions.
3037
3038 * alpha-nat.c: When compiling under Linux, include <asm/reg.h> and
3039 <alpha/ptrace.h> instead of <machine/reg.h>
3040
647e52ea
SG
3041Tue Jul 2 13:58:10 1996 Miles Bader <[email protected]>
3042
3043 * gnu-nat.c (inf_validate_task_sc):
3044 Give terminal to gdb while asking question.
3045 (inf_resume): Don't validate the task suspend-count while execing.
3046
3047Thu Jun 13 11:04:52 1996 Miles Bader <[email protected]>
3048
3049 * gnu-nat.c (inf_validate_task_sc): Query user before clearing any
3050 additional suspend count.
3051 (S_proc_wait_reply, gnu_attach): Don't call inf_validate_task_sc.
3052 (inf_resume): Call inf_validate_task_sc here.
3053 (gnu_resume): Call inf_update_procs to ensure noticing new threads.
3054
3055Fri Jun 7 17:00:43 1996 Miles Bader <[email protected]>
3056
3057 * gnu-nat.c (gnu_create_inferior: attach_to_child): Return PID.
3058
52f74d48
JL
3059Thu May 23 15:13:56 1996 Jeffrey A Law ([email protected])
3060
31778db0
JL
3061 * h8300-tdep.c (IS_PUSH): Refine.
3062 (IS_MOVE_FP, IS_MOV_SP_FP): Accept H8/300H varaints.
3063 (IS_SUB4_SP, IS_SUBL_SP): New macros.
3064 (h8300_skip_prologue): Handle H8/300H prologue code sequences.
3065 (examine_prologue): Handle addresses from 0x010000 to 0xffffff
3066 when in H8/300H mode. Get the return pointer's address correctly
3067 for the H8/300H. Handle H8/300H prolouge code sequences.
3068
52f74d48
JL
3069 * symfile.c (generic_load): Print the starting address
3070 of the file just loaded.
3071
e7600d8e
SS
3072Thu May 23 12:09:52 1996 Stan Shebs <[email protected]>
3073
3074 * mpw-make.sed: Edit @THREAD_DB_OBS@ out of makefile.
3075
3076Tue May 21 11:53:56 1996 Peter Schauer ([email protected])
3077
3078 * breakpoint.c (bpstat_do_actions): Avoid endless recursion
3079 if a `source' command is contained in bs->commands.
3080
3081 * infrun.c (wait_for_inferior): Update step_frame_address when
3082 stepping into a new line.
3083
3084 From [email protected] (Andreas Schwab):
3085 * breakpoint.c (breakpoint_1): Add shlib_disabled case to
3086 bpenables array.
3087
c92f31c6
MA
3088Mon May 20 22:52:00 1996 Mark Alexander <[email protected]>
3089
3090 * dsrec.c (load_srec): Add WAITACK parameter, for machines
3091 like EST visionICE that send back an ACK after each S-record.
3092 * monitor.c (monitor_wait_srec_ack): New function.
3093 (monitor_load): Pass monitor_wait_srec_ack to load_srec
3094 if the monitor's MO_SREC_ACK flag is set.
3095 * monitor.h: Define MO_SREC_ACK flag.
3096 * remote-est.c (est_cmds): Add MO_SREC_ACK flag.
3097 * sh3-rom.c (sh3_load): Accomodate change in load_srec prototype.
3098 * srec.h: Add WAITACK parameter to load_srec prototype.
3099
6a4bfd83
RS
3100Sun May 19 21:22:00 1996 Rob Savoye <rob@chinadoll>
3101
3102 * config/sparc/sparclite.mt: Add the sparc simulator.
3103
41756e56
FF
3104Sun May 19 16:49:37 1996 Fred Fish <[email protected]>
3105
3106 * defs.h (read_command_lines, query_hook): Update prototypes.
3107 (readline_begin_hook, readline_hook, readline_end_hook): Declare.
3108 * breakpoint.c (commands_command): Build message in temporary buffer
3109 and pass that, as well as tty control flag, to read_command_lines.
3110 * top.c (readline_begin_hook, readline_hook, readline_end_hook):
3111 Define here.
3112 (command_loop): Check for non-NULL instream before looping.
3113 (command_line_input): Use readline_hook when appropriate, to get
3114 user input from a GUI window.
3115 (read_next_line): Also build prompt if getting user input from a GUI.
3116 (recurse_read_control_structure): Fix typo in comment.
3117 (read_command_lines): Use passed in prompt and tty flag to decide how
3118 to build message. Use readline_begin_hook when appropriate, to set
3119 up a GUI interaction window. Just return head, whether NULL or not,
3120 after using readline_end_hook to complete GUI interaction.
3121 (define_command, document_command): Build message in a temporary
3122 buffer and pass it to read_command_lines, along with tty flag.
3123
3124start-sanitize-gdbtk
3125 * gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end):
3126 New functions.
3127 (tk_command_loop): Set instream to NULL to enable Tk user interaction.
3128 (gdbtk_init): Set readline_begin_hook, readline_hook,
3129 and readline_end_hook.
3130 * gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline,
3131 gdbtk_tcl_readline_end): New functions.
3132 (tclsh): Pack scroll bar on right side of window, not left.
3133end-sanitize-gdbtk
3134
f0c56658
PS
3135Sat May 18 02:43:58 1996 Peter Schauer ([email protected])
3136
3137 * blockframe.c (frameless_look_for_prologue):
3138 Add FUNCTION_START_OFFSET only if func_start is non-zero.
3139 * minsyms.c (lookup_minimal_symbol_by_pc): Return NULL if
3140 pc is not in a known section.
3141 * stack.c (print_frame_info): Remove check for fi->pc in known
3142 section, now handled by lookup_minimal_symbol_by_pc.
3143
81ae689a
FF
3144start-sanitize-gdbtk
3145Fri May 17 13:54:34 1996 Fred Fish <[email protected]>
3146
3147 * gdbtk.tcl (create_command_window): Change a misspelled "get"
3148 to the intended "cget".
3149 (delete_line): Fix so it deletes the current line at the
3150 insertion cursor.
3151end-sanitize-gdbtk
3152
6a4547c0
SS
3153Fri May 17 13:31:04 1996 Stan Shebs <[email protected]>
3154
3155 * sh-stub.c: New file, was config/sh/stub.c.
3156
b8f3d4c6 3157start-sanitize-gdbtk
26b3dc44 3158Thu May 16 19:20:29 1996 Fred Fish <[email protected]>
5bac2b50
FF
3159
3160 * gdbtk.tcl (gdb_prompt): Set this early on.
3161 (create_command_window): Use gdb_prompt rather than "(gdb) ".
3162 (gdbtk_tcl_preloop): Proc executed just prior to Tk main loop.
3163 (tclsh): If an evaluation window already exists, just bring it
3164 to the front instead of trying to create another.
3165 * gdbtk.c (tk_command_loop): New function.
3166 (gdbtk_init): Call tk_command_loop rather than Tk_MainLoop.
3167
954a4a2a
FF
3168Thu May 16 16:16:35 1996 Fred Fish <[email protected]>
3169
3170 * gdbtk.tcl (evaluate_tcl_command, tclsh): New functions that
3171 implement a tcl evaluation window for gdbtk maintainers to use.
3172
76e641bd
TT
3173Thu May 16 11:42:58 1996 Tom Tromey <[email protected]>
3174
f4e769dc
TT
3175 * gdbtk.tcl (files_command): Correctly insert list of files into
3176 listbox widget.
3177
76e641bd
TT
3178 * gdbtk.tcl (files_command): listbox command no longer accepts
3179 -geometry.
3180
b8f3d4c6
SS
3181Wed May 15 16:04:09 1996 Stan Shebs <[email protected]>
3182
3183 * gdbtk.tcl (create_command_window): If command window's buffer
3184 is disabled, don't execute any of the key bindings.
3185end-sanitize-gdbtk
3186
6bafbdfb
JL
3187Wed May 15 08:25:12 1996 Jeffrey A Law ([email protected])
3188
e7600d8e 3189 * top.c (read_next_line): Fix thinkos. From Donn Seeley.
ecebd693 3190
6bafbdfb
JL
3191 * coffread.c (coff_symtab_read): Handle C_LABEL symbols like
3192 C_STAT symbols.
3193 * h8300-tdep.c (h8300_pop_frame): Reset $sp and $pc correctly.
3194 Flush cached frames just before exiting.
3195 * remote-sim.c (gdbsim_resume): Complain if the program isn't
3196 being run.
3197 * config/h8300/tm-h8300.h (BELIEVE_PCC_PROMOTION): Define.
3198
9b33e492
SG
3199Tue May 14 18:05:16 1996 Stu Grossman ([email protected])
3200
3201 * procfs.c (procfs_thread_alive procfs_stop): Make static.
e7600d8e 3202 (procfs_pid_to_str): New routine to print out thread id's in an
9b33e492
SG
3203 intelligible manner.
3204 * sol-thread.c (sol_thread_fetch_registers): Re-order manner in
b8f3d4c6 3205 which supply_register is called to fix bug with writing
9b33e492
SG
3206 individual regs.
3207 * config/sparc/tm-sun4sol2.h: Define default for
3208 target_pid_to_str in case host lacks libthread_db.
3209
47ef0da5
SG
3210Mon May 13 23:53:30 1996 Stu Grossman ([email protected])
3211
3212 * Makefile.in config.in configure configure.in
3213 config/sparc/nm-sun4sol2.h config/sparc/sun4sol2.mh
3214 config/sparc/tm-sun4sol2.h: Use autoconf to config Solaris thread
3215 and pthread support, since pre-2.5 systems don't come with
3216 libthread_db.so.1.
3217
3218 * procfs.c (info_proc): Use int instead of id_t. Old versions of
e7600d8e 3219 Irix don't seem to define this.
47ef0da5 3220
572977a5
FF
3221start-sanitize-gdbtk
3222Mon May 13 13:43:25 1996 Fred Fish <[email protected]>
3223
3224 * gdbtk.c (tk_command): Catch case where no argument is given
3225 since this will cause the tcl interpreter to dump core.
3226end-sanitize-gdbtk
3227
24ecc17a
JL
3228Mon May 13 17:40:58 1996 Jeffrey A Law ([email protected])
3229
3230 * top.c (execute_control_command, case while_control): Allow
3231 a while command to be interrupted.
3232
a50cedad
SG
3233Mon May 13 16:17:36 1996 Stu Grossman ([email protected])
3234
3235 * sol-thread.c: More cleanup, add comments.
b8f3d4c6 3236 (sol_thread_resume): Prevent people from trying to step
a50cedad 3237 inactive threads.
b8f3d4c6 3238 (sol_thread_wait sol_thread_fetch_registers
a50cedad
SG
3239 sol_thread_store_registers): Remove unnecessary check for
3240 sol_thread_active. These routines won't get called unless threads
3241 are active.
3242
05535e79
SS
3243Mon May 13 11:29:37 1996 Stan Shebs <[email protected]>
3244
3245 SH3-E support from Allan Tajii <[email protected]>:
3246 * sh-tdep.c (sh_reg_names, sh3_reg_names): Add empty names for
3247 float registers.
3248 (sh3e_reg_names): New register name array.
3249 (sh_processor_type_table): Add sh3e processor type.
3250 * config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): Fix test.
3251 (REGISTER_NAMES, NUM_REGS, NUM_REALREGS, etc): Adjust for
3252 full set of registers.
3253 * remote-e7000.c (want_sh3, want_sh3_nopc): New globals.
3254 (e7000_fetch_registers, e7000_wait): Use them.
3255 * sh3-rom.c (sh3_regnames): Add float registers.
3256 (sh3e_cmds, sh3e_ops): New globals.
3257 (sh3e_open): New function.
3258 (_initialize_sh3_rom): Rename from _initialize_sh3, set up
3259 sh3e target vector.
3260
934741a1
SG
3261Fri May 10 15:53:38 1996 Stu Grossman ([email protected])
3262
3263 * sol-thread.c: Cleanup. gcc -Wall fixes. Add prototypes.
3264 Print out messages instead of codes for thread_db errors. Make
3265 access macros for thread and lwp manipulation. Make cleanups to
3266 fixup inferior_pid in case of errors.
3267
31ed312c
FF
3268Thu May 9 19:06:02 1996 Fred Fish <[email protected]>
3269
3270 * aclocal.m4: Remove unused definition of AC_C_CROSS.
3271 * configure.in: Add powerpcle-*-solaris* host and target config
3272 so April 30th change does not get lost next time configure is
3273 rebuilt.
3274
fdfa3315
SG
3275Thu May 9 14:13:08 1996 Stu Grossman ([email protected])
3276
3277 * Makefile.in, breakpoint.c, corelow.c, fork-child.c, inflow.c,
3278 infrun.c, mac-nat.c, procfs.c, remote.c, sol-thread.c, thread.c,
3279 win32-nat.c, config/nm-lynx.h: Rename thread.h to gdbthread.h to
3280 avoid conflict with Solaris /usr/include/thread.h.
3281
7574859f
RS
3282Thu May 9 12:33:32 1996 Rob Savoye <[email protected]>
3283
3284 * abug-rom.c: Config file for the older style ABug monitor that
3285 runs on the mvme13x boards.
3286 * config/m68k/monitor.mt: Add abug support for m68k cross
3287 debugging.
3288
2ae2f078 3289Wed May 8 20:33:24 1996 Fred Fish <[email protected]>
3f37b696 3290
2ae2f078
FF
3291 * infcmd.c (do_registers_info): Always print the raw floating
3292 point value's bytes in big endian order, so the the leftmost bit
3293 is the most significant.
3f37b696
FF
3294 * breakpoint.c (clear_momentary_breakpoints): Remove dead code
3295 that is referenced nowhere else.
3296 (set_breakpoint): Ditto.
3297 (do_enable_breakpoint): Created from enable_once_breakpoint
3298 with a couple of changes.
3299 (enable_breakpoint): Call do_enable_breakpoint with an appropriate
3300 bpdisp enum value to set disposition of breakpoint.
3301 (enable_once_breakpoint): Ditto.
3302 (enable_delete_breakpoint): Ditto.
3303 * breakpoint.h (clear_momentary_breakpoints): Remove prototype.
3304 * symtab.c (find_pc_line): Improve comments.
572977a5 3305start-sanitize-gdbtk
3f37b696 3306 * gdbtk.c: Fix a couple of misspellings.
572977a5 3307end-sanitize-gdbtk
3f37b696
FF
3308 * xcoffread.c: Ditto.
3309
37316b52
SS
3310Tue May 7 18:37:06 1996 Stan Shebs <[email protected]>
3311
3312 * target.c (debug_to_xfer_memory): Insert line breaks when
3313 dumping the memory block.
3314
8fc2b417
SG
3315Mon May 6 13:52:52 1996 Stu Grossman ([email protected])
3316
3317 * fork-child.c (fork_inferior), inferior.h: init_trace_fun now
3318 returns a possibly modified pid.
3319 * inftarg.c (ptrace_him): Now returns pid;
3320 * m3-nat.c (m3_trace_him): Now returns pid;
3321 * infcmd.c (run_command): Minor cleanup.
3322 * infrun.c (wait_for_inferior): Add another check for one_stepped
3323 near where we read the pc to avoid erroneously setting
3324 random_signal for multi-threaded support.
3325 * procfs.c: Add support for Solaris LWPs. Remove def of
3326 LOSING_POLL. Many cleanups... Several workarounds for Solaris
3327 lossage. System call entry and exit are now handled by
3328 dynamically registered handlers.
3329 * (syscallname): Don't barf when handed an unknown syscall
3330 number.
3331 * (info_proc_syscalls): Ditto.
3332 * sol-thread.c: New file. Implements Solaris thread support.
3333 * symfile.c (symbol_file_add): Add call to target_new_objfile to
3334 notify target-dependent code about new symbol tables.
3335 * (clear_symtab_users): Call target_new_objfile to notify it of
3336 the removal of all symbol tables.
3337 * target.c (push_target): Make sure that to_close is non-zero
3338 before calling it.
3339 * target.h (target_new_objfile): Provide default.
3340 * config/alpha/nm-osf2.h: Define LOSING_POLL because this version
3341 of OSF can't hack using poll with /proc.
3342 * config/sparc/nm-sun4sol2.h (target_new_objfile): Define to be
3343 sol-thread-new-objfile.
3344 * config/sparc/sun4sol2.mh: Add sol-thread.o to NATDEFFILES, and
3345 add libthread_db.so.1 to NAT_CLIBS.
3346 * config/sparc/tm-sun4sol2.h: Define PIDGET, TIDGET, and
3347 target_pid_to_str.
3348
3349Sat May 4 02:13:34 1996 N Srin Kumar <[email protected]>
3350
3351 * procfs.c (remove_fd): Fix copy of fds to fill hole left after
3352 removal of the requested fd.
3353
8678180e
MM
3354Mon May 6 07:52:48 1996 Michael Meissner <[email protected]>
3355
3356 * rs6000-tdep.c (_initialize_rs6000_tdep): Don't do XCOFF specific
3357 hooks under ELF.
3358
3359 * config/powerpc/tm-ppc-eabi.h: Define ELF_OBJECT_FORMAT.
3360
9e9cf822
SS
3361start-sanitize-gdbtk
3362Thu May 2 19:17:49 1996 Stan Shebs <[email protected]>
3363
3364 * gdbtk.tcl (debug_interface): New global, use to aid debugging.
3365 (insert_breakpoint_tag, delete_breakpoint_tag): Fix range.
3366 (file_popup_menu): Delete, never used.
3367 (listing_window_popup): Rename from listing_window_button_1,
3368 remove breakpoint toggling code.
3369 (toggle_breakpoint): New procedure.
3370 (create_file_win): Bind popup menu to button 2, toggle breakpoints
3371 with button 1 in breakpoint area, add display of tagged areas if
3372 debugging on.
3373end-sanitize-gdbtk
3374
e51481f9
JL
3375Thu May 2 12:46:14 1996 Jeffrey A Law ([email protected])
3376
9e9cf822 3377 From Peter Schauer:
e51481f9
JL
3378 * breakpoint.h (enum bpdisp): Add del_at_next_stop.
3379 * breakpoint.c (insert_breakpoints, watchpoint_check,
3380 bpstat_stop_status): Avoid bad references to memory freed via
3381 delete_breakpoint on watchpoints going out of scope.
3382 Do not delete these watchpoints, disable them and change their
3383 disposition to del_at_next_stop instead.
3384 (breakpoint_auto_delete): Delete all breakpoints whose disposition
3385 is del_at_next_stop.
3386 (breakpoint_init_inferior): Use switch to avoid reference to
3387 already deleted breakpoint.
3388
062cb0d3
FF
3389Wed May 1 17:29:18 1996 Fred Fish <[email protected]>
3390
9e9cf822 3391 * Makefile.in (rs6000-nat.o): Depend on xcoffsolib.h.
062cb0d3 3392 * config/rs6000/rs6000.mh (NATDEPFILES): Move xcoffread.o ...
9e9cf822 3393 * config/rs6000/rs6000.mt (TDEPFILES): ... to here.
062cb0d3
FF
3394 * xcoffsolib.c (xcoff_relocate_symtab_hook): Define and initialize.
3395 (solib_info): Call xcoff_relocate_symtab via the hook.
3396 (sharedlibrary_command): Ditto.
3397 * xcoffread.c: Remove all FAKING_RS6000 comments and defines.
3398 (xcoff_add_toc_to_loadinfo_hook): Define and initialize here.
3399 (xcoff_init_loadinfo_hook): Define and initialize here.
3400 (scan_xcoff_symtab): Call xcoff_add_toc_to_loadinfo via the hook.
3401 (xcoff_initial_scan): Call xcoff_init_loadinfo via the hook.
3402 * xcoffsolib.h (xcoff_relocate_symtab_hook): Declare extern func.
3403 * rs6000-tdep.c (_initialize_rs6000_tdep): Add initializations
3404 of xcoff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook.
3405 * rs6000-nat.c (_initialize_core_rs6000): Add initialization
3406 of xcoff_relocate_symtab_hook.
3407
fe8d28cf
MM
3408Tue Apr 30 13:22:02 1996 Michael Meissner <[email protected]>
3409
3410 * configure (powerpcle-*-solaris*): Add Solaris support.
3411
3412 * config/powerpc/{solaris.m[ht],tm-solaris.h}: New files for
3413 Solaris support.
aad09779
DP
3414
3415Mon Apr 29 16:17:31 1996 Dawn Perchik <[email protected]>
9e9cf822 3416
aad09779
DP
3417 * c-valprint.c (c_val_print): Fix printing for arrays defined
3418 with 0 length.
3419
5a2934b4
SS
3420Sun Apr 28 15:08:05 1996 Stan Shebs <[email protected]>
3421
fea17b55
SS
3422 Support for bi-endian remote breakpoints.
3423 * remote.c (big_break_insn, little_break_insn): New globals.
3424 (break_insn): Remove.
3425 (remote_insert_breakpoint, remote_remove_breakpoint): Use own
3426 code if REMOTE_BREAKPOINT defined, otherwise call memory
3427 breakpoint functions.
3428 * config/sh/tm-sh.h (REMOTE_BREAKPOINT): Remove.
3429 (BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT): Define.
3430
5a2934b4
SS
3431 * mon960-rom.c (mon960_cmds): Remove forward decl.
3432 (mon960_load): Use current_monitor instead of mon960_cmds.
3433 (mon960_regnames): Remove backslashes from line ends.
3434 (_initialize_mon960): Fix documentation string.
3435
d2c17d4f
FF
3436Sun Apr 28 12:10:35 1996 Fred Fish <[email protected]>
3437
3438 * symfile.h (psymbol_allocation_list): Expand comments which
3439 describe the psymbol allocation list and how each field is
3440 used.
3441
39ce6829
PS
3442Sun Apr 28 03:44:30 1996 Peter Schauer ([email protected])
3443
3444 * breakpoint.c (delete_breakpoint): Fix bpt->val, bpt->exp
3445 storage leaks.
3446 (breakpoint_re_set_one): Fix b->exp, b->val, b->cond storage leaks.
3447
3448 * infcmd.c (run_command), solib.c (locate_base): Check for
3449 target_has_execution in addition to inferior_pid, a core file
3450 from a threaded program is yielding a non-zero inferior_pid.
3451
3452 * sparc-tdep.c (get_saved_register): Handle window registers
3453 in a dummy frame correctly.
3454
6c0643e3
FF
3455Sat Apr 27 20:38:32 1996 Fred Fish <[email protected]>
3456
3457 * Makefile.in (CLIBS): Move $(MMALLOC) past all other libs,
3458 so that anything that wants an allocation function not yet pulled
3459 in, will get it from mmalloc rather than a system library.
3460 * Makefile.in (INSTALLED_LIBS): Reorder to match order of CLIBS,
3461 to avoid surprising results when used.
3462
00d93b6d
DP
3463Sat Apr 27 00:12:05 1996 Dawn Perchik ([email protected])
3464
3465 * stabsread.c: Changes and bug fixes for cfront support.
3466 Fix bug for class data members.
3467 Fix parsing bug when no base classes exist.
3468 Fix memory bug - allocate space for cplusplus specific info.
3469 Add support for static data.
3470 Add prototypes for static functions.
3471 Enhance comments to show what each function expects to parse.
3472 Cleanup code.
3473 * stabsread.c(resolve_cont),dbxread.c(resolve_cont): Rename
3474 function to resolve_cfront_continuation.
3475
7dbb5eed
JL
3476Fri Apr 26 23:58:26 1996 Jeffrey A Law ([email protected])
3477
3478 * infrun.c (wait_for_inferior): Call registers_changed when
6cc17fd5 3479 restarting the inferior to get over a nullified instruction.
7dbb5eed 3480
73e75264 3481Tue Apr 24 12:12:55 1996 Dawn Perchik ([email protected])
7dbb5eed 3482
73e75264
DP
3483 * dbxread.c,stabsread.c,gdbtypes.c,partial-stab.h,valops.c:
3484 Add new support for parsing cfront stabs.
3485
894d8e69
JL
3486Wed Apr 24 00:32:55 1996 Jeffrey A Law ([email protected])
3487
3488 * infrun.c (wait_for_inferior): Move "have_waited" label
3489 outside of #ifdef conditionals. Don't trash the wait status
3490 if we get a signal and the current instruction is nullified.
3491
3492Mon Apr 22 20:17:01 1996 Fred Fish <[email protected]>
3493
9e9cf822 3494 * Makefile.in (VERSION): Bump version number to 4.16.1.
894d8e69
JL
3495 * NEWS: Update for 4.16 release.
3496
178ed338
SS
3497Mon Apr 22 16:32:29 1996 Stan Shebs <[email protected]>
3498
3499 * monitor.h: Clean up comment formatting.
3500 (current_monitor): Remove decl.
3501 (LOADTYPES, LOADPROTOS, INIT_CMD, etc): Remove definitions.
3502 (push_monitor, SREC_SIZE): Remove.
3503 * monitor.c: Expand old macro into current_monitor derefs
3504 everywhere.
3505 * remote-os9k.c (current_monitor): Remove definition.
3506
f9fedc48
MA
3507Mon Apr 22 14:54:45 1996 Mark Alexander <[email protected]>
3508
3509 * corefile.c (specify_exec_file_hook): Allow arbitrary number of
3510 hooks.
3511 (call_extra_exec_file_hooks): New function.
3512 * h8300-tdep.c: Lint; add .h files to provide missing declarations,
3513 remove unused variables.
3514 (set_machine_hook): New function.
3515 (_initialize_h8300m): Initialize it.
3516
102f473b
ILT
3517Fri Apr 19 15:03:49 1996 Ian Lance Taylor <[email protected]>
3518
3519 * remote-mips.c (encoding): Don't specify size, to avoid bug in
3520 SunOS native compiler.
3521
69159fad
SS
3522Thu Apr 18 18:46:57 1996 Stan Shebs <[email protected]>
3523
3524 * monitor.c: Use int rather than LONGEST for values, since
3525 the formatting strings are not prepared to accept long longs.
3526
e1b4f287
DE
3527Wed Apr 17 20:17:27 1996 Doug Evans <[email protected]>
3528
3529 * arm-tdep.c (initialize_arm_tdep): Make apcs32 a `zinteger'.
3530
8eff3c7f
SG
3531Tue Apr 16 17:38:23 1996 Stu Grossman ([email protected])
3532
3533 * corelow.c (add_to_thread_list): Make sure reg_sect is non-null
3534 before de-referencing it. Prevents deref of NULL pointer if core
3535 file lacks .reg section.
3536 * defs.h: Rename floatformat_{to from}_long_double to
3537 floatformat_{to from}_doublest. Get rid of FLOATFORMAT_{TO
3538 FROM}... macros.
3539 * findvar.c (extract_floating store_floating): Change all refs to
3540 FLOATFORMAT_{FROM TO}... to floatformat_{from to}_doublest.
3541 * utils.c: Change floatformat_{to from}_long_double to
3542 floatformat_{to from}_doublest cuz the new routines will use
3543 whatever size (double or long double) is appropriate.
3544 * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
3545 REGISTER_CONVERT_TO_RAW): Change FLOATFORMAT... macros to
3546 floatformat... routine calls.
3547
15b03b57
PB
3548Mon Apr 15 16:34:11 1996 Per Bothner <[email protected]>
3549
3550 * stabsread.c (read_type): Move handling of '@' from type
3551 number handling to handling of types proper (as emitted by gcc!).
3552 For typedefs, allocate the typedef type before reading its
3553 definition, to properly handling recursive types.
3554
c5ee9d00
JL
3555Mon Apr 15 11:19:26 1996 Jeffrey A Law ([email protected])
3556
3557 * ch-exp.c (calculate_array_length): Fix prototype.
3558
449abd89
SG
3559Sat Apr 13 14:21:16 1996 Stu Grossman ([email protected])
3560
3561 * remote-nindy.c (nindy_open): Acquire more target state so that
3562 user can attach to a previously running program.
3563 * (nindy_fetch_registers nindy_store_registers): Get rid of fp
3564 conversion code. That's all handled in {extract store}_floating
3565 now.
3566 * utils.c (floatformat_to_double): Don't bias exponent when
3567 handling zero's, denorms or NaNs.
3568 * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
3569 REGISTER_CONVERT_TO_RAW): Change to using DOUBLST and
3570 FLOATFORMAT_TO/FROM_DOUBLEST macros.
3571 * config/i960/tm-nindy960.h: Undefine
3572 REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, and
3573 REGISTER_CONVERTIBLE. These are no longer necessary now that all
3574 the magic happens in extract/store_floating.
3575
9898b3b7
PS
3576Sat Apr 13 02:58:02 1996 Peter Schauer ([email protected])
3577
3578 * eval.c (evaluate_subexp_standard): Report error when attempting to
3579 evaluate subscripts for types which cannot be subscripted.
3580
3581 * valarith.c (value_x_binop, value_x_unop): Add noside parameter.
3582 Return a zero value with the return type of the member function
3583 if noside is EVAL_AVOID_SIDE_EFFECTS instead of calling the member
3584 function.
3585 * values.h (value_x_binop, value_x_unop): Update prototypes
3586 accordingly.
3587 * eval.c (evaluate_subexp_standard): Update all callers of
3588 value_x_binop, value_x_unop accordingly.
3589
3590 * valarith.c (value_neg, value_complement): Perform ANSI C/C++
3591 integral promotion on operands.
3592
38d715a4
FF
3593Fri Apr 12 13:19:27 1996 Fred Fish <[email protected]>
3594
3595 * README: Update for 4.16 release.
3596 * configure.in (AC_CHECK_FUNCS): Also check for sbrk.
3597 * configure: Regenerate with autoconf.
3598 * config.in: Regenerate with autoheader.
3599 * main.c (main): Only use sbrk() when HAVE_SBRK is defined.
3600 * top.c (command_loop): Ditto.
3601
c6fbd98b
SG
3602Fri Apr 12 09:45:29 1996 Stu Grossman ([email protected])
3603
3604 * defs.h: Define TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT
3605 defaults for bi-endian targets. Replace function pointers for
3606 floatformat routines with macros. No need for these to be runtime
3607 selectable.
3608 * findvar.c: Get rid of floatformat function pointers. Use
3609 macros in extract_floating and store_floating.
3610 * remote-nindy.c (nindy_fetch_registers nindy_store_registers):
3611 Use floatformat macros.
3612
d8efbc66
FF
3613Thu Apr 11 21:28:02 1996 Fred Fish <[email protected]>
3614
3615 From: Miles Bader <[email protected]>
3616 * configure.in (AC_CHECK_HEADERS): check for endian.h.
3617 Use AC_CHECK_TOOL to find AR & RANLIB. Add AC_PROG_AWK.
3618 Add host & target cases for i[345]86-*-gnu*.
3619 * config.in: Regenerate with autoheader.
3620 * configure: Regenerate with autoconf.
3621 * Makefile.in (AR, AWK): Set from corresponding autoconf substs.
3622 (init.c): Don't scan mig-generated files.
3623 * defs.h (endian.h): Include if HAVE_ENDIAN_H defined.
3624 * config/nm-m3.h (ATTACH_NO_WAIT): Define.
3625 * infcmd.c (attach_command): Use "#ifndef ATTACH_NO_WAIT"
3626 rather than "#ifndef MACH".
3627
4eaf7c0a
SS
3628Thu Apr 11 18:49:42 1996 Stan Shebs <[email protected]>
3629
3630 * remote.c (remotewritesize): New GDB variable, controls size
3631 of memory packets sent to the target.
3632
a243a22f
SG
3633Thu Apr 11 13:47:52 1996 Stu Grossman ([email protected])
3634
3635 * dcache.c: Add prototypes. Make many functions static.
3636 * (dcache_peek dcache_fetch dcache_poke): Make dcache_fetch and
3637 dcache_poke call dcache_xfer_memory directly in order to fix
3638 problems with turning off dcache. dcache_peek is now unnecessary,
3639 so it goes away.
3640
3641 * defs.h: Define new macros HOST_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT
3642 and TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT to specify a pointer
3643 to a struct floatformat. This allows for better handling of
3644 targets whose floating point formats differ from the host by more
3645 than just byte order.
3646 * (floatformat_to_long_double floatformat_from_long_double):
3647 Prototypes for new functions in utils.c.
3648 * (floatformat_to_doublest floatformat_from_doublest): Prototypes
3649 for pointers to floating point conversion functions. The actual
3650 function uses either double or long double if the host supports it.
3651 * findvar.c (floatformat_to_doublest floatformat_from_doublest):
3652 Initialize to point at correct function depending on HAVE_LONG_DOUBLE.
3653 * (extract_floating store_floating): Rewrite. Now, if host fp
3654 format is the same as the target, we just do a copy. Otherwise,
3655 we call floatformat_{to from}_doublest.
3656 * remote-nindy.c (nindy_xfer_inferior_memory): Change param
3657 `write' to `should_write'.
3658 * utils.c (floatformat_to_long_double
3659 floatformat_from_long_double): New routines that implement long
3660 double versions of functions in libiberty/floatformat.c.
3661 * config/i960/tm-i960.h (TARGET_LONG_DOUBLE_FORMAT): Define this for
3662 i960 extended real (80 bit) numbers.
3663 * nindy-share/nindy.c (ninMemGet ninMemPut): Return number of bytes
3664 actually read or written.
3665
f046f4c8
WM
3666Wed Apr 10 02:56:06 1996 Wilfried Moser (Alcatel) <[email protected]>
3667
3668 * ch-valprint.c (chill_val_print): Remove call to calculate_array_length.
3669 (calculate_array_length): Move function from here ...
3670
3671 * ch-exp.c (calculate_array_length): ... to here.
3672 (parse_primval): If we have a symbol with an array type
3673 and the length is 0, call calculate_array_length.
3674
a539f6d8
WM
3675Tue Apr 9 01:23:05 1996 Wilfried Moser (Alcatel) <[email protected]>
3676
3677 * eval.c (evaluate_subexp_standard): In case of TYPE_CODE_SET:
3678 Add some checks for powerset compatibility.
3679
3680 * valops.c (value_slice): Use lowbound instead of lowerbound for
3681 call to slice_range_type to get correct bounds.
3682
d8efbc66 3683Mon Apr 8 12:53:56 1996 Fred Fish <[email protected]>
5579919f
FF
3684
3685 * Makefile.in (scm-exp.o, scm-lang.o, scm-valprint.o): Add targets and
3686 dependencies.
3687 * scm-lang.c (gdb_string.h): Include.
3688 * objfiles.c (add_to_objfile_sections): Cast second arg of obstack_grow
3689 call to correct type (char *).
3690 * cp-valprint.c (cp_print_static_field): Ditto.
3691 * somsolib.c (som_solib_create_inferior_hook): Add a declaration
3692 for external find_unwind_entry function (from hppa-tdep.c).
3693 * remote-pa.c (remote_write_bytes, remote_read_bytes): Change
3694 type of second arg to "char *" to be type compatible with
3695 dcache.
3696 (remote_wait): Cast second arg to strtol to correct type.
3697 * hppa-tdep.c (compare_unwind_entries): Change argument types to
3698 "const void *" to be type compatible with qsort, and then
3699 assign to local args prior to use.
3700
75eb5231
JL
3701Mon Apr 8 15:35:52 1996 Jeffrey A Law ([email protected])
3702
3703 * infptrace.c (kill_inferior): Remove call to "kill"; update
3704 comments.
3705
7782ee45
GN
3706Mon Apr 8 14:05:07 1996 Geoffrey Noer <[email protected]>
3707
3708 * remote-e7000.c: don't append :23 to target port if __WIN32__
3709 is defined (it's WinGDB).
3710
ce0787ef
FF
3711Sun Apr 7 22:34:29 1996 Fred Fish <[email protected]>
3712
3713 From: Miles Bader <[email protected]>
3714 * gnu-nat.c, gnu-nat.h, msg.defs, exc_request.defs, i386gnu-nat.c,
3715 msg_reply.defs, notify.defs, process_reply.defs, reply_mig_hack.awk,
3716 config/nm-gnu.h, config/i386/{i386gnu.mh, i386gnu.mt, nm-gnu.h,
3717 m-i386gnu.h, xm-i386gnu.h}: New files for GNU hurd.
3718
3719Sun Apr 7 13:32:41 1996 Fred Fish <[email protected]>
125c17af
FF
3720
3721 * configure.in (case host): Add i386sco5 host.
3722 * configure: Regenerate.
3723
3724 From: Robert Lipe <[email protected]>
3725 Add support for SCO OpenServer 5 (a.k.a. 3.2v5*) This
3726 target is an SVR3.2 with COFF, ELF, and shared libes, but
3727 no /proc.
3728 * config/i386/i386sco5.mh: New file.
3729 * config/i386/nm-i386sco5.h: New file.
3730
a6b65627
FF
3731Sat Apr 6 08:55:22 1996 Fred Fish <[email protected]>
3732
3733 * bcache.c (bcache): When size of chunk to cache is exactly equal to
3734 BCACHE_MAXLENGTH, stash chunk as unique copy.
3735
eae8aa30
FF
3736Sat Apr 6 00:46:26 1996 Fred Fish <[email protected]>
3737
3738 * symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef.
3739 (add_psymbol_to_list): Add an arg for passing CORE_ADDR values and
3740 use it, rather than calling add_psymbol_addr_to_list.
3741 (add_psymbol_addr_to_list): Delete.
3742 (add_psymbol_to_list): Make psymbol static to avoid random data in
3743 gaps due to alignment of structure members.
3744 * symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST,
3745 ADD_PSYMBOL_ADDR_TO_LIST): Remove. Real world tests show no
3746 performance improvements by inlining via complicated macros and
3747 they just make gdb larger and harder to maintain.
3748 * dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST
3749 and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to
3750 add_psymbol_to_list with appropriate long or CORE_ADDR args.
3751 (add_partial_symbol): Ditto.
3752 * partial-stab.h: Ditto.
3753 * os9kread.c (read_os9k_psymtab): Ditto
3754 * mdebugread.c (parse_partial_symbols): Ditto.
3755 (handle_psymbol_enumerators): Ditto.
3756 (demangle.h): Include.
3757 * hpread.c (hpread_build_psymtabs): Ditto.
3758 (hpread_build_psymtabs): Ditto.
3759 (demangle.h): Include
3760
51bea8cf 3761start-sanitize-gdbtk
fda6fadc
SS
3762Fri Apr 5 13:44:40 1996 Stan Shebs <[email protected]>
3763
3764 * gdbtk.c (running_now): New global variable.
3765 (gdb_cmd): Test it before executing any command.
3766 (gdbtk_call_command): Set it when inferior is running.
3767 * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and
3768 disable interaction with command window's text appropriately.
3769
8b3f9ed6
MM
3770Fri Apr 5 13:25:42 1996 Michael Meissner <[email protected]>
3771
3772 * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since
3773 some versions of the kernel don't support it.
51bea8cf 3774end-sanitize-gdbtk
8b3f9ed6 3775
72ae15f6
FF
3776Thu Apr 4 20:16:55 1996 Fred Fish <[email protected]>
3777
3778 * configure.in: Check for setpgid function.
3779 * config.in: Regenerate with autoheader.
3780 * configure: Regenerate with autoconf.
3781 * inflow.c (_initialize_inflow): Only try to use _SC_JOB_CONTROL
3782 if it is actually defined.
3783 (gdb_setpgid): Use HAVE_SETPGID.
3784 * ch-exp.c: Change include of <string.h> to "gdb_string.h".
fda6fadc
SS
3785 * c-exp.y, f-exp.y, m2-exp.y: Ditto.
3786 * c-exp.y, serial.c: Include <ctype.h>.
72ae15f6
FF
3787 * config/m68k/nm-news.h: Add typedef for pid_t which is
3788 apparently missing from <sys/types.h>. Enclose entire
3789 file in NM_NEWS_H ifndef and define when included.
3790 * config/mips/nm-news-mips.h: Ditto.
3791 * config/m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL,
3792 REGISTER_CONVERT_TO_RAW): Change name of temporary variable.
3793
67c1413d
SS
3794Thu Apr 4 19:04:18 1996 Stan Shebs <[email protected]>
3795
72c9954b
SS
3796 * arm-xdep.c: Move native-specific code to here from arm-tdep.c.
3797 * arm-tdep.c (arm_apcs_32): New global.
3798 (arm_addr_bits_remove, arm_saved_pc_after_call,
3799 arm_push_dummy_frame, arm_pop_frame): New functions.
3800 (arm_skip_prologue): Updated version from Richard Earnshaw.
3801 (_initialize_arm_tdep): Add set/show "apcs32".
3802 * config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call
3803 arm_addr_bits_remove.
3804 (SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call.
3805 (frame_find_saved_regs): Declare properly.
3806 (PUSH_DUMMY_FRAME): Call arm_push_dummy_frame.
3807 (POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of
3808 explicit mask.
3809 * config/arm/nm-arm.h: New file.
3810 * config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS):
3811 Move definitions to nm-arm.h.
3812 * config/arm/arm.mh (NAT_FILE): Define.
3813
67c1413d
SS
3814 * symfile.c (generic_load): Initialize data_count properly.
3815
3e3ee48f
FF
3816Thu Apr 4 17:17:53 1996 Fred Fish <[email protected]>
3817
3818 * symmisc.c (print_objfile_statistics): Print memory used by
3819 psymbol cache obstack.
3820
72158e71
SS
3821Thu Apr 4 15:43:07 1996 Stan Shebs <[email protected]>
3822
3823 * symfile.c (report_transfer_performance): New function.
3824 (generic_load): Call it to report transfer rate.
3825 * remote-e7000.c (e7000_load): Ditto.
3826
761e98aa
SS
3827Mon Apr 1 16:31:00 1996 Stan Shebs <[email protected]>
3828
3829 * mpw-make.sed: Change references to config.h to be in objdir,
3830 edit out rules to rebuild config.h.
3831
251b8ab9
FF
3832Mon Apr 1 08:32:23 1996 Fred Fish <[email protected]>
3833
3834 * hppa-tdep.c (hppa_pop_frame): Call clear_proceed_status before
3835 proceeding.
3836
517cb8d7 3837Sun Mar 31 16:15:43 1996 Fred Fish <[email protected]>
771f63d3
FF
3838
3839 * hppah-nat.c (store_inferior_registers, store_inferior_registers,
3840 fetch_register, child_xfer_memory): Use call_ptrace function supplied
3841 by infptrace.c rather than calling ptrace directly.
3842
32b18604
SS
3843Sun Mar 31 15:39:00 1996 Stan Shebs <[email protected]>
3844
3845 * mon960-rom.c: Cleanups and elimination of unused code,
3846 clarify documentation string.
3847 (mon960_serial, mon960_ttyname): Remove.
3848 * config/i960/tm-mon960.h (ADDITIONAL_OPTIONS,
3849 ADDITIONAL_OPTION_CASES, ADDITIONAL_OPTION_HELP): Remove.
3850
07b77f5c
FF
3851Sat Mar 30 11:00:22 1996 Fred Fish <[email protected]>
3852
3853 * configure.in: Check whether printf family supports printing
3854 long doubles or not and define PRINTF_HAS_LONG_DOUBLE if so.
3855 * acconfig.h: Provide default undef for PRINTF_HAS_LONG_DOUBLE.
3856 * configure: Regenerate.
3857 * valprint.c (print_floating): Use PRINTF_HAS_LONG_DOUBLE.
3858 * c-exp.y (parse_number): Use PRINTF_HAS_LONG_DOUBLE.
3859 * configure.in: Fix have_gregset and have_fpregset autoconf
3860 variable names so that they match the pattern required to
3861 cache them.
3862
b52cac6b
FF
3863Fri Mar 29 21:39:56 1996 Fred Fish <[email protected]>
3864
3865 * core-aout.c (fetch_core_registers): Cast core_reg_size to int
3866 before testing against reg_ptr.
3867 * eval.c (evaluate_subexp_standard): Cast type of
3868 TYPE_FN_FIELD_VOFFSET to int.
3869 * findvar.c (extract_signed_integer, extract_unsigned_integer,
3870 extract_long_unsigned_integer): Cast type of sizeof to int.
3871 * values.c (unpack_field_as_long, modify_field): Ditto.
3872 * valops.c (value_assign, call_function_by_hand): Ditto.
3873 * infcmd.c (do_registers_info): Ditto.
fda6fadc 3874 * ser-tcp.c (tcp_open): Ditto.
b52cac6b
FF
3875 * remote.c (putpkt): Ditto.
3876 * dcache.c (dcache_peek): Ditto.
3877 * dcache.c (dcache_poke): Ditto.
3878 * m2-exp.y (yylex): Ditto.
3879 * gnu-regex.c (re_match_2): Ditto.
3880 * f-lang.c (ADD_BF_SYMNUM, saved_bf_list_end, tmp_bf_ptr): Ifdef
3881 out unused macro definition and variables.
3882 * inftarg.c (proc_wait): Move from main.c to here, and make static.
3883 * valprint.c (val_print_string): Change bufsize from int to unsigned.
fda6fadc 3884 * main.c (wait.h): Include.
b52cac6b
FF
3885 * top.c (command_line_input): Remove unused variable "c".
3886 * f-typeprint.c (f_type_print_varspec_prefix): Add missing enum
3887 value TYPE_CODE_TYPEDEF to switch statement.
3888 (f_type_print_varspec_suffix): Add missing enum value
3889 TYPE_CODE_TYPEDEF to switch statement.
3890 * ch-exp.c (parse_primval): Add remaining enumeration values to
3891 switch statement, with no specific action.
3892 (ch_lex): Add LOC_UNRESOLVED in switch statement.
3893 (pushback_token): Ifdef out, since code using it is ifdef'd out.
3894 * stabsread.c (cleanup_undefined_types): Remove unused label
3895 "badtype".
3896 * objfiles.h (print_symbol_bcache_statistics): Add prototype.
3897 * maint.c (objfiles.h): Include.
3898 (maintenance_print_statistics): Remove unused variable "temp".
3899 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove
3900 unused variable "found_file_symbol".
3901 * m2-exp.y (yylex): Add LOC_UNRESOLVED case to switch.
3902 * language.c (lang_bool_type): Use existing function local type
3903 variable rather than create block local variables.
3904 * solib.c (disable_break): Enclose in ifndef SVR4_SHARED_LIBS.
3905 * infptrace.c (wait.h, command.h): Include.
3906 * ser-tcp.c (gdb_string.h): Include
3907 * i386-tdep.c (codestream_seek): Change "place" to CORE_ADDR.
3908 (i386_get_frame_setup): Change "pc" from int to CORE_ADDR.
3909 * command.c (complete_on_enum): Make assignment used as truth value
3910 explictly check against NULL.
3911 (wait.h): Include.
3912 * infrun.c (wait_for_inferior): Ifdef out prologue_pc since code
3913 that uses it is ifdef'd out.
3914 * parser-defs.h: Add prototype for write_dollar_variable.
3915 * infrun.c: Add prototype for write_pc_pid.
3916 * breakpoint.h: Add prototype for re_enable_breakpoints_in_shlibs.
3917 * symmisc.c (bcache.h): Include.
3918 * bcache.h: Add prototype for print_bcache_statistics.
3919 * symfile.c: Include <time.h>.
3920 * printcmd.c (print_scalar_formatted): Change len to unsigned int.
3921 * valarith.c (value_equal): Cast result of TYPE_LENGTH to int.
3922 * valarith.c (value_binop): Change result_len, promoted_len1,
3923 and promoted_len2 to unsigned int.
3924 * valarith.c (value_subscripted_rvalue): Change elt_offs and
3925 elt_size to unsigned int.
3926 * valops.c (value_array): Change typelength to unsigned int.
3927 (destructor_name_p): Change len to unsigned int.
3928 * scm-lang.h (scm_parse): Add prototype for scm_unpack.
3929 * symfile.c (decrement_reading_symtab): Change return type to void.
3930 * valarith.c (value_subscript): Remove unused variable "word".
3931 (value_subscript): Remove unused variable "tint".
3932 * valops.c (auto_abandon): Ifdef out, since code using it is also
3933 ifdef'd out.
3934 * eval.c (init_array_element): Remove unused variable "val".
3935 * Makefile.in (values.o): Depends on scm-lang.h.
3936 (command.o): Depends upon wait_h.
3937 (ser-tcp.o): Depends upon gdb_string.h.
3938 (infptrace.o): Depends upon wait_h and command_h.
3939 (maint.o): Depends on objfiles.h and symfile.h.
3940 * values.c (allocate_repeat_value): Remove unused variable
3941 "element_type".
3942 (scm-lang.h): Include.
3943 * breakpoint.c (create_longjmp_breakpoint): Enclose in
3944 GET_LONGJMP_TARGET define, unused otherwise.
3945 * config/i386/nm-linux.h: Add prototypes for i386_insert_watchpoint,
3946 i386_remove_watchpoint and i386_stopped_by_watchpoint.
3947
078aeca4
DE
3948Thu Mar 28 12:53:19 1996 Doug Evans <[email protected]>
3949
3950 * configure.in (sparc64-*-solaris2*): Delete.
3951 Stick with sparc-*-solaris2*.
3952 * configure: Regenerated.
3953
75225aa2
FF
3954Thu Mar 28 06:51:26 1996 Fred Fish <[email protected]>
3955
3956 * valops.c (value_assign): Make copy of internal variable value
3957 before returning it as a new value, since it is owned by the
3958 internal variable and will be freed along with it.
3959
fa3764e2
JL
3960Wed Mar 27 08:36:17 1996 Jeffrey A Law ([email protected])
3961
3962 * From Peter Schauer.
3963 * breakpoint.c (breakpoint_re_set_one): Keep temporary
3964 breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy
3965 and bp_step_resume in case breakpoint_re_set_one is called due
3966 to a step over a dlopen call.
3967 * infrun.c (wait_for_inferior): Always remove breakpoints from
3968 inferior in BPSTAT_WHAT_CHECK_SHLIBS case.
3969
7e2ff10d
FF
3970Tue Mar 26 13:15:32 1996 Fred Fish <[email protected]>
3971
3972 * config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer
3973 non-prototyped case over prototyped case for C.
3974 * config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE): Ditto.
3975
4cfb23a9
FF
3976Sat Mar 23 17:24:28 1996 Fred Fish <[email protected]>
3977
3978 * os9kread.c (os9k_process_one_symbol): Note nonportable
3979 assumption that an int can hold a char *.
3980
3981 * bcache.h (struct hashlink): Wrap data[] inside union with
3982 double to force longest alignment.
3983 (BCACHE_DATA): New macro to access data[].
3984 (BCACHE_ALIGNMENT): New macro to get offset to data[].
3985 * bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get
3986 address of cached data. Use BCACHE_ALIGNMENT to compute
3987 amount of space to allocate for each hashlink struct.
3988
b9aa6215
FF
3989Sat Mar 23 12:14:02 1996 Fred Fish <[email protected]>
3990
3991 * ch-lang.c (evaluate_subexp_chill): Fix typo.
3992
3993Thu Mar 21 08:27:19 1996 Fred Fish <[email protected]>
3994
3995 * Makefile.in (VERSION): Bump version to 4.15.3
3996
18ea4416
ILT
3997Thu Mar 21 10:56:41 1996 Ian Lance Taylor <[email protected]>
3998
3999 * config.in: Rename from config.h.in.
4000 * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
4001 Change CONFIG_HEADERS test in AC_OUTPUT accordingly.
4002 * configure: Rebuild.
4003 * Makefile.in (stamp-h): Depend upon config.in, not config.h.in.
4004 Set CONFIG_HEADERS to config.h:config.in.
4005
67718369
PS
4006Tue Mar 19 12:47:51 1996 Peter Schauer ([email protected])
4007
4008 * partial-stab.h (case N_ENDM): Finish current partial symbol
4009 table for Solaris 2 cc.
4010
a466b86a
JL
4011Tue Mar 19 10:39:15 1996 Jeffrey A Law ([email protected])
4012
4013 * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the
4014 PC in the registers array. From Peter Schauer.
4015
0ef22be9
FF
4016Mon Mar 18 13:47:09 1996 Fred Fish <[email protected]>
4017
4018 * symfile.c (reread_symbols): Reinitialize bcache struct
4019 members to zero using memset. Also use memset to reinit
4020 global_psymbols and static_psymbols, rather than explicitly
4021 resetting each structure member.
4022
31520669
FF
4023Sat Mar 16 19:47:36 1996 Fred Fish <[email protected]>
4024
4025 * configure.in: Add fragment to create stamp-h.
4026
4027 From Peter Schauer <[email protected]>
4028 * configure.in (AC_CHECK_HEADERS): Check for link.h.
4029 * configure: Regenerate with autoconf.
4030 * config.h.in: Regenerate with autoheader.
4031 * config/i386/nm-linux.h: Include solib.h only if HAVE_LINK_H
4032 is defined.
4033 * solib.c: Exclude most of the code if HAVE_LINK_H is not defined.
4034 * config/i386/linux.mh: Reinstate XM_CLIBS, it is needed for
4035 older a.out based systems.
4036
bfcf3112 4037Sat Mar 16 16:45:43 1996 Fred Fish <[email protected]>
db210d08 4038
bfcf3112 4039 * config.h.in: New file.
db210d08
FF
4040 * acconfig.h: New file, for autoheader.
4041 * configure.in (AC_CONFIG_HEADER): Add, generate config.h.
4042 * configure: Regenerate.
4043 * Makefile.in (defs_h): Add config.h
bfcf3112
FF
4044 (distclean): Remove config.h and stamp-h during distclean.
4045 (config.h, stamp-h): New targets to remake config.h when necessary.
db210d08
FF
4046 * defs.h (config.h): Include before any other includes or defines.
4047 * i386-tdep.c (gdb_string.h): Move include after include of defs.h.
d58ffc6c 4048 * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H.
db210d08 4049
d5fde1c9
FF
4050Sat Mar 16 14:55:27 1996 Fred Fish <[email protected]>
4051
4052 From Peter Schauer <[email protected]>
4053 * Makefile.in (INSTALLED_LIBS): Make sure that @LIBS@ will not
4054 result in an empty line, to work around a bug in native Ultrix 4.4
4055 and OSF/1-3.2C make.
4056
3dedc867
FF
4057Sat Mar 16 13:33:17 1996 Fred Fish <[email protected]>
4058
4059 * configure.in: Add gdbserver to configdirs under linux.
4060 * configure: Regenerate.
4061
f727efb5
C
4062Fri Mar 15 12:06:58 1996 J.T. Conklin <[email protected]>
4063
4064 * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out.
4065 * config/i386/tm-nbsd.h (NUM_REGS): Define.
4066
a404ea25
JL
4067Thu Mar 14 10:31:18 1996 Jeffrey A Law ([email protected])
4068
4069 * solib.c (solib_break_names): Add _r_debug_state for
4070 vanilla SVR4 implementations. From Peter Schauer.
4071
4072Mon Mar 11 14:24:57 1996 Dawn Perchik <[email protected]>
4073
4074 * mon960-rom.c: New file; support mon960 rom monitor on i960.
4075 * monitor.c (monitor_debug): Change remotedebug to buffer strings.
4076 * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before
4077 epecting prompt and echo during open.
4078 * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to
4079 determine if break should be sent as stop command.
4080 * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN.
4081 * i960-tdep.c (mon960_frame_chain_valid): New function for getting
4082 stack frame on mon960.
4083 * Makefile.in: Add mon960 files.
4084 * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960;
4085 added i960-nindy-coff* and i960-nindy-elf* for target nindy.
4086 * configure: Regenerated.
4087 * config/i960/mon960.mt, config/i960/tm-mon960.h: New files;
4088 support mon960 rom monitor on i960.
4089
1ef980b9
SC
4090Mon Mar 11 11:02:47 1996 Steve Chamberlain <[email protected]>
4091
4092 With Michael Snyder:
4093 * i386-tdep.c (skip_trampoline_code): Fix strncmp length.
4094 * win32-nat.c (CHECK, DEBUG*, debug_*): New.
4095 (handle_load_dll): Don't reload symbols.
4096 (handle_exception): Use the DEBUG_* names.
4097 (child_wait): Add DEBUG_* code.
4098 (_initialize_inftarg): Add new commands to set debug_ names.
4099
803a31a3
JL
4100Mon Mar 11 09:19:58 1996 Jeffrey A Law ([email protected])
4101
4102 * From Peter Schauer:
4103 * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE.
4104 (bpstat_stop_status): Likewise.
4105 (remove_solib_event_breakpoints): Likewise.
4106 (clear_momentary_breakpoints): Likewise.
4107 (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint
4108 if we still can't read the memory for that breakpoint.
4109 (mention): Add bp_shlib_event case to keep gcc quiet.
4110
4111Fri Mar 8 12:08:12 1996 Jeffrey A Law ([email protected])
4112
4113 * breakpoint.h (enum enable): New enum shlib_disabled for
4114 shared library breakpoints that have been temporarily disabled.
4115 * breakpoint.c: Handle temporarily disabled shared library
4116 breakpoints like disabled breakpoints in most places.
4117 (insert_breakpoints): Use shlib_disabled to indicate
4118 that an unsettable breakpoint is only temporarily disabled.
4119 (re_enable_breakpoints_in_shlibs): New function.
4120 * corelow.c (solib_add_stub): After adding shared libraries,
4121 try to reenable any temporarily disabled breakpoints.
4122 * infcmd.c (attach_command): Likewise.
4123 * infrun.c (wait_for_inferior): Likewise.
4124
4972c44e
ILT
4125Fri Mar 8 11:41:25 1996 Ian Lance Taylor <[email protected]>
4126
4127 * defs.h (extract_long_unsigned_integer): Declare.
4128 * findvar.c (extract_long_unsigned_integer): New function.
4129 * printcmd.c (print_scalar_formatted): Use it.
4130 * valprint.c (val_print_type_code_int): Likewise.
4131
00dd4fd9
SS
4132Thu Mar 7 17:40:50 1996 Stan Shebs <[email protected]>
4133
4134 * infcmd.c (do_registers_info): Ignore anonymous registers.
4135 * sh-tdep.c (set processor): New command to set specific
4136 processor type.
4137 (sh_reg_names, sh3_reg_names): Arrays of register names for
4138 SH and SH3 processors.
4139 (sh_set_processor_type): New function.
4140 * sh3-rom.c (sh3_open): Call it.
4141 (sh3_regname): Add names of all the bank registers.
4142 (sh3_supply_register): Clean up formatting.
4143 * config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include
4144 bank registers.
4145 (REGISTER_NAMES): Add names of bank registers.
4146 (FP15_REGNUM): Define.
4147 (REGISTER_VIRTUAL_TYPE): Use it.
4148 * monitor.c: Clean up some comments.
4149
43ece84d
C
4150Thu Mar 7 12:09:51 1996 J.T. Conklin <[email protected]>
4151
4152 * i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the
4153 s* and t* symbols too.
4154
5a367b09
JSC
4155Thu Mar 7 15:18:51 1996 James G. Smith <[email protected]>
4156
4157 * symfile.c (generic_load): Avoid division by zero.
4158
653fed07
JL
4159Wed Mar 6 17:57:59 1996 Jeffrey A Law ([email protected])
4160
4161 * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems,
4162 not just those with HANDLE_SVR4_EXEC_EMULATORS.
27b6a1fa 4163
00dd4fd9 4164 From Peter Schauer:
27b6a1fa
JL
4165 * breakpoint.c (internal_breakpoint_number): Move to file scope.
4166 (create_solib_event_breakpoint): Use an internal breakpoint number.
4167
bb901438
WM
4168Wed Mar 6 00:32:44 1996 Wilfried Moser (Alcatel) <[email protected]>
4169
4170 * valarith.c (value_in): Change builtin_type_chill_bool to
4171 LA_BOOL_TYPE.
4172
c105168f
WM
4173Tue Mar 5 23:48:36 1996 Wilfried Moser (Alcatel) <[email protected]>
4174
4175 * ch-exp.c (parse_primval): Handle CARD, MAX, MIN.
4176 (match_string_literal): Handle control sequence.
4177 (match_character_literal): Deto.
4178
4179 * ch-lang.c (chill_printchar): Change formating of nonprintable
4180 characters from C'xx' to ^(num).
4181 (chill_printstr): Deto.
4182 (value_chill_card, value_chill_max_min): New functions to process
4183 Chill's CARD, MAX, MIN.
4184 (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN.
4185
4186 * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN
4187 for Chill's CARD, MAX, MIN.
4188
4189 * valarith.c (value_in): Add processing of TYPE_CODE_RANGE
4190 and change return type from builtin_type_int to
4191 builtin_type_chill_bool.
4192
d009ffd8
SS
4193Tue Mar 5 18:54:04 1996 Stan Shebs <[email protected]>
4194
b4692cbc
SS
4195 * config/nm-nbsd.h (link_object, lo_name, etc): Move to here
4196 from config/nm-nbsd.h.
4197 * config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here
4198 from config/sparc/tm-nbsd.h.
4199
d009ffd8
SS
4200 * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here
4201 instead of in config/m68k/xm-hp300hpux.h.
4202
d554e554
C
4203Tue Mar 5 12:05:35 1996 J.T. Conklin <[email protected]>
4204
4205 * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide
4206 implementation for NetBSD systems.
4207
02e6e53d
PB
4208Mon Mar 4 23:44:16 1996 Per Bothner <[email protected]>
4209
8d67b75a
PB
4210 * valarith.c (binop_user_defined_p): Return 0 for BINOP_CONCAT.
4211 (value_concat): Handle varying strings (add COERCE_VARYING_ARRAY).
4212
02e6e53d
PB
4213 * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT): Error
4214 if "function" is pointer to non-function.
4215
f935141e
SS
4216Mon Mar 4 17:47:03 1996 Stan Shebs <[email protected]>
4217
4218 * top.c (print_gdb_version): Update copyright year.
4219
11be829f
JL
4220Mon Mar 4 14:44:54 1996 Jeffrey A Law ([email protected])
4221
f935141e 4222 From Peter Schauer:
11be829f
JL
4223 * infrun.c (wait_for_inferior): Remove breakpoints and
4224 switch terminal settings before calling SOLIB_ADD.
4225 * solib.c (enable_break, SVR4 variant): Don't map in symbols
4226 for the dynamic linker, the namespace pollution causes real
4227 problems.
4228
4f005fea
JSC
4229Sun Mar 3 17:18:57 1996 James G. Smith <[email protected]>
4230
4231 * remote-mips.c (common_breakpoint): Explicitly terminate the
4232 returned buffer.
4233
cf3c0938
SS
4234Wed Feb 28 22:32:18 1996 Stan Shebs <[email protected]>
4235
4236 From Wilfried Moser <[email protected]>:
4237 * remote.c (remote_detach): Send a command 'D' to the target
4238 when detaching, update the function's comments.
4239
647e52ea
SG
4240Thu Jun 6 16:11:38 1996 Miles Bader <[email protected]>
4241
4242 * gnu-nat.c (thread_cmd_list): New declaration.
4243 (parse_int_arg): New function.
4244
4245Wed Jun 5 17:28:04 1996 Miles Bader <[email protected]>
4246
4247 * gnu-nat.h (struct proc): Add DETACH_SC field.
4248 * gnu-nat.c (make_proc): Set DETACH_SC.
4249 (struct inf): Add DETACH_SC & DEFAULT_THREAD_DETACH_SC fields.
4250 (make_inf): Set DETACH_SC & DEFAULT_THREAD_DETACH_SC fields.
4251 (add_thread_commands): Add set/show for detach-suspend-count.
4252 Add takeover-suspend-count cmd.
4253 (inf_detach): Set suspend counts to the detach SC, not 0.
4254 (set_thread_detach_sc_cmd, show_thread_detach_sc_cmd,
4255 set_task_detach_sc_cmd, show_task_detach_sc_cmd,
4256 set_thread_default_thread_detach_sc_cmd,
4257 show_thread_default_thread_detach_sc_cmd): New functions.
4258 (show_task_cmd): Also show detach-suspend-count values.
4259 (thread_takeover_sc_cmd): New function.
4260
4261Fri May 31 16:49:24 1996 Miles Bader <[email protected]>
4262
4263 * gnu-nat.c (show_thread_run_cmd): Actually print state.
4264
4265Thu May 30 10:47:56 1996 Miles Bader <[email protected]>
4266
4267 * gnu-nat.c (inf_signal): Make unforwardable exceptions an error.
4268
4269Tue May 28 17:06:36 1996 Miles Bader <[email protected]>
4270
4271 * gnu-nat.c (inf_validate_stopped): proc_getprocinfo takes a
4272 pointer to the flags now, not the flags themselves.
4273
4274Mon May 27 13:31:17 1996 Miles Bader <[email protected]>
4275
4276 * gnu-nat.c (gnu_wait): Print debugging msgs for pending execs.
4277 (gnu_create_inferior): Check return from ptrace.
4278
4279Sun May 26 16:56:35 1996 Miles Bader <[email protected]>
4280
4281 * gnu-nat.h (struct proc): Add DEAD field.
4282 * gnu-nat.c (make_proc): Initialize DEAD.
4283 (inf_set_traced, inf_validate_task_sc, inf_validate_procs: Frob it.
4284 (gnu_wait): Only abort for 0 threads if the task isn't dead.
4285
4286Sat May 25 17:06:05 1996 Miles Bader <[email protected]>
4287
4288 * gnu-nat.c (inf_signal): Pass SIGCODE when posting a signal.
4289
4290Wed May 22 18:44:28 1996 Miles Bader <[email protected]>
4291
4292 * gnu-nat.c (S_proc_wait_reply): Add SIGCODE argument.
4293 (inf_set_traced): Only give no-signal-thread error message if
4294 turning *on* tracing.
4295
4296Wed May 15 13:03:16 1996 Miles Bader <[email protected]>
4297
4298 * gnu-nat.c (inf_validate_procs): If INF has no threads, always
4299 set inf->threads_up_to_date to 0.
4300 (inf_signal): Pass in new SIGCODE argument to msg_sig_post_untraced.
4301 (gnu_wait): Pass in new TIMEOUT arg to interrupt_operation.
4302 (proc_update_sc): Cast thread state arg to thread_set_state.
4303 (proc_get_state): Cast thread state arg to thread_get_state.
4304 (inf_validate_task_sc): Cast task_basic_info arg to task_info.
4305 * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Call
4306 inf_update_procs before we lookup the thread.
4307 * config/i386/i386gnu.mh (MH_CFLAGS): New variable.
4308
4309Tue May 7 17:52:33 1996 Miles Bader <[email protected]>
4310
4311 * gnu-nat.c (gnu_kill_inferior): Use inf_set_task to clear the task.
4312
4313Mon May 6 19:06:49 1996 Miles Bader <[email protected]>
4314
4315 * gnu-nat.c (inf_set_traced): Use msg_set_init_int with
4316 INIT_TRACEMASK instead of setting the exec flags.
4317
4318Fri May 3 19:10:57 1996 Miles Bader <[email protected]>
4319
4320 * gnu-nat.c (inf_validate_procs): Don't clear INF->task if we find
4321 the task's died, so others have a chance at it.
4322 (gnu_resume): When single-stepping a single thread, given an error
4323 if there is no such thread. When single-stepping one but running
4324 the others, just given a warning and still run all the threads.
4325 (gnu_wait): If there seem to be no threads, look harder, and
4326 signal an error if there really aren't any.
4327 (gnu_attach): Reset thread numbering to 0.
4328
4329 * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Give
4330 thread name in warning messages.
4331
4332 * gnu-nat.c (active_inf): New function.
4333 (show_sig_thread_cmd, show_stopped_cmd): Use it.
4334 (info_port_rights, info_send_rights_cmd, info_port_sets_cmd,
4335 info_recv_rights_cmd, info_port_rights_cmd, info_port_rights_cmd):
4336 New functions.
4337 (add_task_commands): Add new port-right info commands.
4338
4339Fri Apr 26 20:42:16 1996 Miles Bader <[email protected]>
4340
4341 * gnu-nat.c (gnu_wait): Instead of _hurd_intr_rpc_mach_msg, just
4342 use mach_msg with MACH_RCV_INTERRUPT.
4343 (set_noninvasive_cmd): New function.
4344 (add_task_commands): Add command entry for `set noninvasive'.
4345
4346Mon Mar 4 14:12:02 1996 Miles Bader <[email protected]>
4347
4348 * gnu-nat.c (gnu_read_inferior): Use hurd_safe_memmove, not safe_bcopy.
4349 (safe_bcopy): Function removed.
4350
4351Mon Dec 4 14:18:26 1995 Miles Bader <[email protected]>
4352
4353 * gnu-nat.c (proc_update_sc): Assert only threads can have state.
4354 (make_proc): Initialize state_valid & state_changed fields.
4355
4356Tue Nov 28 17:51:21 1995 Miles Bader <[email protected]>
4357
4358 * reply_mig_hack.awk: New file.
4359
4360Tue Nov 14 14:31:03 1995 Miles Bader <[email protected]>
4361
4362 * breakpoint.c (breakpoint_1): Print breakpoint thread field.
4363
4364 * lynx-nat.c (child_wait): Return TARGET_WAITKIND_SPURIOUS for new
4365 threads.
4366
4367Mon Nov 13 18:30:53 1995 Miles Bader <[email protected]>
4368
4369 * target.c (debug_to_check_threads): New function.
4370
4371 * inflow.c (terminal_init_inferior_with_pgrp): New function.
4372 (terminal_init_inferior): Call terminal_init_inferior_with_pgrp.
4373 * inferior.h (terminal_init_inferior_with_pgrp): New declaration,
4374 but only if PROCESS_GROUP_TYPE is defined.
4375
4376Mon Nov 6 16:42:09 1995 Miles Bader <[email protected]>
4377
4378 * target.c (debug_to_thread_alive): Pass through the return value.
4379
4380Thu Nov 2 18:05:00 1995 Miles Bader <[email protected]>
4381
4382 * target.c (signals, target_signal_from_host, target_signal_to_host):
4383 Add mach exceptions.
4384 * target.h (enum target_signal): Add mach exceptions.
4385
4386Mon Oct 30 16:41:04 1995 Miles Bader <[email protected]>
4387
4388 * gnu-nat.c: New file: gnu native backend.
4389 * i386gnu-nat.c: New file: i386-specific part of gnu native backend.
4390 * gnu-nat.h: New file.
4391 * config/nm-gnu.h: New file.
4392 * config/tm-i386gnu.h: New file.
4393 * config/xm-i386gnu.h: New file.
4394 * config/i386/i386gnu.mh: New file.
4395 * config/i386/i386gnu.mt: New file.
4396
8fe2b2c5
FF
4397Wed Feb 28 15:50:12 1996 Fred Fish <[email protected]>
4398
4399 * Makefile.in (VERSION): Bump version to 4.15.2 to establish
4400 baseline for gdb 4.16 rerelease testing.
4401
a4f39c06
JL
4402Wed Feb 28 13:32:05 1996 Jeffrey A Law ([email protected])
4403
4404 * somsolib.c (som_solib_create_inferior_hook): Before returning
4405 call clear_symtab_users.
4406
4407Tue Feb 27 00:04:46 1996 Stu Grossman ([email protected])
4408
4409 * remote-e7000.c (e7000_open): Delete all breakpoints when
4410 connecting to e7000. Change connect message to allow use of
4411 monitor.exp in test suite.
4412 * (e7000_load): Print transfer rate of download.
4413 * symfile.c (generic_load): Print transfer rate of download.
4414
8fa6fcf8
SS
4415Sun Feb 25 13:58:33 1996 Stan Shebs <[email protected]>
4416
4417 * configure.in (mips*-*-vxworks*): New config.
4418 * configure: Regenerated.
4419
4420 * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files.
4421 * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual):
4422 Remove, never used.
4423
a97a483c
PS
4424Sat Feb 24 12:30:28 1996 Peter Schauer ([email protected])
4425
4426 * partial-stab.h (case N_FUN): Function symbols generated
4427 by SPARCworks cc have a meaningless zero value, do not update
4428 pst->textlow if the function symbol value is zero.
4429
4430 * stabsread.c (define_symbol): Initialize SYMBOL_TYPE field
4431 for function prototype declaration symbols.
4432
b5eccf74
SG
4433Fri Feb 23 22:33:04 1996 Stu Grossman ([email protected])
4434
4435 * remote-e7000.c (e7000_load): New routine to download via the
4436 network.
4437 * (e7000_wait): Don't backup PC when we hit a breakpoint.
4438 Apparantly new sh2 pods get this right...
4439 * (e7000_ops): Add call to e7000_load.
4440
b7f3b6d5
C
4441Thu Feb 22 00:52:42 1996 J.T. Conklin <[email protected]>
4442
4443 * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h},
4444 m68knbsd-nat.c: New files, support for NetBSD/m68k.
4445
4446 * configure.in (m68k-*-netbsd*): New config.
4447 * configure: Regenerated.
4448
517cb8d7 4449Wed Feb 21 19:00:21 1996 Fred Fish <[email protected]>
6a6a552a
FF
4450
4451 * standalone.c (open, _initialize_standalone): Fix obvious typos
4452 reported by Martin Pool <[email protected]>.
4453
13f6c7ea
JL
4454Wed Feb 21 14:24:04 1996 Jeffrey A Law ([email protected])
4455
4456 * solib.c (solib_create_inferior_hook): Fix thinko.
4457
464c6c5f
JL
4458Tue Feb 20 23:59:19 1996 Jeffrey A Law ([email protected])
4459
4460 * solib.c (solib_break_names): Define for Solaris and Linux.
4461 (enable_break): For SVR4 systems, first try to use the debugger
4462 interfaces in the dynamic linker to track shared library events
4463 as they happen, then fall back to BKPT_AT_SYMBOL code. Convert
4464 BKPT_AT_SYMBOL code to use shared library event breakpoints.
4465 (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code,
4466 it no longer needs to restart/wait on the inferior.
4467 * symfile.c (find_lowest_section): No longer static.
4468 * symfile.h (find_lowest_section): Corresponding changes.
4469
517cb8d7 4470Tue Feb 20 18:54:08 1996 Fred Fish <[email protected]>
45c5fa78
FF
4471
4472 * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value.
4473 (value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE.
4474 * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1.
4475 * config/mips/tm-mips.h: Ditto.
4476 * config/pa/tm-hppa.h: Ditto.
4477 * config/rs6000/tm-rs6000.h: Ditto.
4478 * config/sparc/tm-sparc.h: Ditto.
4479
48d27324
C
4480Tue Feb 20 17:32:05 1996 J.T. Conklin <[email protected]>
4481
eb224848
C
4482 * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o.
4483
48d27324
C
4484 * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined.
4485 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
4486 #ifdef'd out definitions --- Causes serious gdb failures on
4487 the i386. Need to investigate further before enabling.
4488
4489 * i386b-nat.c (fetch_inferior_registers, store_inferior_registers,
4490 fetch_core_registers): New functions. These functions are defined
4491 if FETCH_INFERIOR_REGISTERS is set. Registers are fetched/stored
4492 with ptrace PT_GETREGS/PT_SETREGS.
4493
95f6f926
SG
4494Tue Feb 20 16:55:06 1996 Stu Grossman ([email protected])
4495
4496 * findvar.c (extract_floating store_floating): Replace `long
4497 double' with `DOUBLEST'.
4498
cb91ea56
C
4499Mon Feb 19 15:25:51 1996 J.T. Conklin <[email protected]>
4500
4501 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
4502 Define.
4503
9263da6f
JL
4504Mon Feb 19 10:32:05 1996 Jeffrey A Law ([email protected])
4505
4506 * symtab.h (looup_minimal_symbol_solib_trampoline): Declare.
4507
4508 * breakpoint.h (remove_solib_event_breakpoints): Declare.
4509 * breakpoint.c (remove_solib_event_breakpoints): New function.
4510 * somsolib.c (solib_create_inferior_hook): Remove all solib event
4511 breakpoints before inserting any new ones. Use a solib event
4512 breakpoint for the breakpoint at "_start".
4513 Remove extraneous "\n" from calls to warning.
4514
4515 * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes
4516 name array.
4517
0708e99f
FF
4518Mon Feb 19 01:09:32 1996 Doug Evans <[email protected]>
4519
4520 * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LIST
4521 for CORE_ADDR values.
4522 (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values.
4523 * symfile.h (add_psymbol_{,addr}to_list): Add prototypes.
4524
08dc1eeb
PS
4525Sun Feb 18 14:37:13 1996 Peter Schauer ([email protected])
4526
4527 * mipsread.c (mipscoff_symfile_read): Unconditionally add
4528 alpha coff dynamic symbols for all symbol files. Makes skipping
4529 over the trampoline code work when stepping from a function in a
4530 shared library into a function in a different shared library.
4531
1d6afd7f
SG
4532Sun Feb 18 09:27:10 1996 Stu Grossman ([email protected])
4533
4534 * config/sparc/tm-sparc.h: Define PS_FLAG_CARRY. Define
4535 RETURN_VALUE_ON_STACK to return long doubles on the stack.
4536
0708e99f 4537Sat Feb 17 16:33:11 1996 Fred Fish <[email protected]>
176b2bee
FF
4538
4539 * Makefile.in (ch-exp.o): Add dependencies.
4540 (various): Add gdb_string.h to dependencies that need it.
4541
dcb6a7c0
FF
4542Sat Feb 17 08:57:50 1996 Fred Fish <[email protected]>
4543
4544 * symmisc.c (print_symbol_bcache_statistics): Update description for
4545 printing byte cache statistics.
4546
aa220473
SG
4547Thu Feb 16 16:02:03 1996 Stu Grossman ([email protected])
4548
4549 * Add native support for long double data type.
4550 * c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST
4551 to store actual data. Change types of INT and FLOAT tokens to
4552 typed_val_int and typed_val_float respectively. Create new token
4553 DOUBLE_KEYWORD to specify the string `double'. Make production
4554 for FLOAT use type determined by parse_number. Add production for
4555 "long double" data type.
4556 * (parse_number): Use sscanf to parse numbers as float, double or
4557 long double depending upon the type of typed_val_float.dval. Also
4558 allow user to specify `f' or `l' suffix to explicitly specify
4559 float or long double constants. Change typed_val to
4560 typed_val_int.
4561 * (yylex): Change typed_val to typed_val_int. Also, scan for
4562 "double" keyword.
4563 * coffread.c (decode_base_type): Add support for T_LNGDBL basic
4564 type.
4565 * configure, configure.in: Add check for long double support in
4566 the host compiler.
4567 * defs.h: Define DOUBLEST appropriatly depending on whether
4568 HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes
4569 for functions that handle this type.
4570 * expression.h (union exp_element): doubleconst is now type
4571 DOUBLEST.
4572 * m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST.
4573 * findvar.c (extract_floating): Make return value be DOUBLEST.
4574 Also, add support for numbers with size of long double.
4575 * (store_floating): Arg `val' is now type DOUBLEST. Handle all
4576 floating types.
4577 * parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now
4578 DOUBLEST.
4579 * valarith.c (value_binop): Change temp variables v1, v2 and v to
4580 type DOUBLEST. Coerce type of result to long double if either op
4581 was of that type.
4582 * valops.c (value_arg_coerce): If argument type is bigger than
4583 double, coerce to long double.
4584 * (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and
4585 arg type is float and > 8 bytes, then use pointer-to-object
4586 calling conventions.
4587 * valprint.c (print_floating): Arg doub is now type DOUBLEST.
4588 Use appropriate format and precision to print out floating point
4589 values.
4590 * value.h: Fixup prototypes for value_as_double,
4591 value_from_double, and unpack_double to use DOUBLEST.
4592 * values.c (record_latest_value): Remove check for invalid
4593 floats. Allow history to store them so that people may examine
4594 them in hex if they want.
4595 * (value_as_double unpack_double): Change return value to DOUBLEST.
4596 * (value_from_double): Arg `num' is now DOUBLEST.
4597 * (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target
4598 specific) to expect certain types to always be returned on the stack.
4599
2ad5709f
FF
4600Fri Feb 16 14:00:54 1996 Fred Fish <[email protected]>
4601
4602 * bcache.c, bcache.h: New files to implement a byte cache.
4603 * Makefile.in (SFILES): Add bcache.c.
4604 (symtab_h): Add bcache.h.
4605 (HFILES_NO_SRCDIR): add bcache.h
4606 (COMMON_OBJS): Add bcache.o
4607 (bcache.o): New target.
4608 * dbxread.c (start_psymtab): Make global_syms & static_syms
4609 type "partial_symbol **".
4610 * hpread.c (hpread_start_symtab): Ditto.
4611 * os9kread.c (os9k_start_psymtab): Ditto.
4612 * stabsread.h (start_psymtab): Ditto.
4613 * {symfile.c, symfile.h} (start_psymtab_common): Ditto.
4614 * maint.c (maintenance_print_statistics): Call
4615 print_symbol_bcache_statistics.
4616 * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc
4617 and free pointers.
4618 * solib.c (allocate_rt_common_objfile): Ditto.
4619 * symfile.c (reread_symbols): Ditto.
4620 (free_objfile): Free psymbol bcache when objfile is freed.
4621 (objfile_relocate): Use new indirect psymbol pointers.
4622 * objfiles.h (struct objfile): Add psymbol cache.
4623 * symfile.c (compare_psymbols): Now passed pointers to pointers to
4624 psymbols.
4625 (reread_symbols): Free psymbol bcache when freeing other objfile
4626 resources.
4627 (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new
4628 psymbol using the psymbol bcache.
4629 (init_psymbol_list): Psymbol lists now contain pointers rather than
4630 the actual psymbols.
4631 * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically
4632 grown arrays of pointers.
4633 (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol
4634 bcache.
4635 * symmisc.c (print_partial_symbols): Now takes pointer to pointer
4636 to partial symbol.
4637 (print_symbol_bcache_statistics): New function to print per objfile
4638 bcache statistics.
4639 (print_partial_symbol, print_partial_symbols,
4640 maintenance_check_symtabs, extend_psymbol_list):
4641 Account for change to pointer to pointer to partial symbol.
4642 * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2,
4643 make_symbol_completion_list):
4644 Account for change to pointer to pointer to partial symbol.
4645 * symtab.h (bcache.h): Include.
4646 * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms
4647 type "partial_symbol **".
4648
4a1d2ce2
FF
4649Fri Feb 16 10:02:34 1996 Fred Fish <[email protected]>
4650
4651 * dwarfread.c (free_utypes): New function.
4652 (read_file_scope): Call free_utypes as cleanup, rather than just
4653 freeing the utypes pointer.
4654
81afee37
FF
4655Thu Feb 15 21:40:52 1996 Peter Schauer ([email protected])
4656
4657 * demangle.c (is_cplus_marker): New function, checks if a
4658 character is one of the commonly used C++ marker characters.
4659 * defs.h (is_cplus_marker): Add prototype.
4660 * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle),
4661 cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol),
4662 stabsread.c (define_symbol, read_member_functions, read_struct_fields),
4663 symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P),
4664 values.c (vb_match): Use is_cplus_marker instead of comparison
4665 with CPLUS_MARKER.
4666
14b22711
FF
4667Thu Feb 15 18:08:13 1996 Fred Fish <[email protected]>
4668
4669 * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly
4670 delete entirely someday.
4671
884fb64c
SS
4672Thu Feb 15 15:25:34 1996 Stan Shebs <[email protected]>
4673
4674 * mpw-make.sed: Edit out makefile rebuild rule.
4675 (host_alias, target_alias): Comment out instead of deleting.
4676 (@LIBS@): Edit out references.
4677
f1d39876
FF
4678Tue Feb 13 22:56:46 1996 Fred Fish <[email protected]>
4679
4680 * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
4681 Use n_psyms in OBJSTAT, not psyms.
4682
4683Mon Feb 12 15:59:31 1996 Doug Evans <[email protected]>
4684
4685 * configure.in (sparclet-*-aout*): New config.
4686 * configure: Regenerated.
4687
c37c7c6c
FF
4688Mon Feb 12 14:17:52 1996 Fred Fish <[email protected]>
4689
4690 * somsolib.c (som_solib_add): Use xmalloc rather than bare
4691 unchecked call to malloc.
4692 * remote-mips.c (pmon_load_fast): ditto.
4693 * remote-mm.c (mm_open): ditto.
4694 * hpread.c (hpread_lookup_type): ditto.
4695 * remote-adapt.c (adapt_open): ditto.
4696
6405302d
FF
4697Mon Feb 12 13:11:32 1996 Fred Fish <[email protected]>
4698
4699 * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node,
4700 allocate_saved_f77_common_node, allocate_common_entry_node,
4701 add_common_block): Use xmalloc rather than malloc, some of which
4702 were unchecked.
4703 * gnu-regex.c: At same point as other gdb specific changes
4704 #undef malloc and then #define it to xmalloc.
4705 * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than
4706 bare unchecked calls to malloc/realloc.
4707 * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare
4708 unchecked call to malloc.
4709
ff7116e2
SG
4710Wed Feb 7 11:31:26 1996 Stu Grossman ([email protected])
4711
4712 * symtab.c (gdb_mangle_name): Change opname var to be const to
4713 match return val of cplus_mangle_name.
4714 * i960-tdep.c: Change arg types of next_insn to match callers.
4715
b0ee0cf2
FF
4716Wed Feb 7 07:34:24 1996 Fred Fish <[email protected]>
4717
4718 * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. These
4719 apparently aren't needed in any reasonably recent version of
4720 linux.
4721
ec49fc98
PB
4722Tue Feb 6 21:37:03 1996 Per Bothner <[email protected]>
4723
4724 * stabsread.c (read_range_type): If !self-subrange and language
4725 is Chill, assume a true range. If a true_range is a sub_subrange,
4726 use builtin_type_int for index_type.
4727
4728Tue Feb 6 18:38:51 1996 J.T. Conklin <[email protected]>
4729
4730 * nindy-share/nindy.c (say): Use stdarg.h macros when compiling
4731 with an ANSI compiler.
4732
f0b0d915
TT
4733start-sanitize-gdbtk
4734Tue Feb 6 16:31:25 1996 Tom Tromey <[email protected]>
4735
4736 * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so
4737 double-clicking will work again.
4738 (create_asm_win): Put "break" at end of all B1 bindings.
4739 (create_file_win): Lower "sel" tag, don't raise it.
4740 (ensure_line_visible): New proc.
4741 (update_listing, update_assembly): Use it.
4742 (create_copyright_window): Destroy window on Leave event.
4743 (create_command_window): Put "break" at end of all B2 bindings.
4744
4745end-sanitize-gdbtk
263af172
SC
4746Mon Feb 5 18:24:28 1996 Steve Chamberlain <[email protected]>
4747
4748 From [email protected] (Michael Snyder):
4749 * valops.c (value_arg_coerce): Coerce float to double, unless the
4750 function prototype specifies float.
4751
fc71ad23 4752Mon Feb 5 09:51:55 1996 Tom Tromey <[email protected]>
8bdae156 4753
fc71ad23
TT
4754 * language.c (set_language_command): Use languages table when
4755 printing available languages.
4756
4757Sat Feb 3 12:22:05 1996 Fred Fish <[email protected]>
4758
4759 Fix problems reported by Hans Verkuil ([email protected]):
4760 * command.c (add_cmd): Add missing initialization for enums member.
4761 Reorder members to match structure declaration to make it easier to
4762 tell when one is missing.
4763 * exec.c (exec_file_command): Fix problem where filename in malloc'd
4764 memory is referenced after being freed.
8bdae156 4765
255181a9
PS
4766Sat Feb 3 03:26:21 1996 Peter Schauer ([email protected])
4767
4768 * dwarfread.c (read_func_scope): Avoid GDB core dumps if
4769 AT_name tag is missing.
4770
4771 * procfs.c (procfs_stopped_by_watchpoint): Fix logic when
4772 FLTWATCH and FLTKWATCH are defined.
4773
4774 * remote.c (remote_read_bytes): Advance memaddr for transfers,
4775 return number of bytes transferred for partial reads.
4776
4777 * top.c (init_signals): Reset SIGTRAP to SIG_DFL.
4778
454ffae5
SC
4779Fri Feb 2 13:40:50 1996 Steve Chamberlain <[email protected]>
4780
4781 * win32-nat.c (mappings): Add ppc registers.
9a763320 4782 (child_resume): Turn off step for ppc.
454ffae5 4783
3d78f532
SC
4784Thu Feb 1 10:29:31 1996 Steve Chamberlain <[email protected]>
4785
4786 * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h,
4787 xm-cygwin32.h): New.
4788 * config/i386/(*win32*): Becomes *cygwin32*.
4789 * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32.
4790 (powerpcle-*-cygwin32): New.
4791 * configure: Regenerate.
4792 * win32-nat.c (child_create_inferior): Call CreateProcess
4793 with the right program arg.
4794
4ad70253
JL
4795Thu Feb 1 11:01:10 1996 Jeffrey A Law ([email protected])
4796
4797 * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition.
4798
0db5a6fe
FF
4799Wed Jan 31 19:01:28 1996 Fred Fish <[email protected]>
4800
4801 * serial.c: Change fputc/fputs/fprintf to _unfiltered forms.
4802
28bc5ef7
SS
4803Wed Jan 31 18:36:27 1996 Stan Shebs <[email protected]>
4804
97abaf19
SS
4805 * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove.
4806
28bc5ef7
SS
4807 * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used.
4808
97abaf19
SS
4809 * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to
4810 here from config/i386/xm-i386mach.h, fix name.
4811 * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h.
4812 * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to
4813 here from config/i386/xm-ptx4.h.
4814 * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h.
4815 * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h.
4816 * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h.
4817 * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h.
4818 * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h.
4819
28bc5ef7
SS
4820 * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h.
4821 (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h.
4822 * config/sparc/sun4sol2.mh (NAT_FILE): Update.
28bc5ef7 4823
17280c3f
JL
4824Wed Jan 31 17:20:26 1996 Jeffrey A Law ([email protected])
4825
4826 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software
4827 floating point correctly.
4828 (STORE_RETURN_VALUE): Likewise.
4829 * config/pa/tm-pro.h (SOFT_FLOAT): define.
4830
44e9f3b3
FF
4831Wed Jan 31 13:34:52 1996 Fred Fish <[email protected]>
4832
4833 * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
4834 Define to what should be reasonable values. However, apparently
4835 a bug in linux mmap prevents mapped symbol tables from working.
4836
ad1e42be
FF
4837Tue Jan 30 18:26:19 1996 Fred Fish <[email protected]>
4838
4839 * defs.h (errno.h>: Move #include closer to head of file to solve
4840 obscure problem with systems that declare perror with const arg, in
4841 both errno.h and stdio.h, and const is defined away by intervening
4842 local include.
4843
d3ba76fc
FF
4844Tue Jan 30 15:41:10 1996 Fred Fish <[email protected]>
4845
4846 From Jon Reeves <[email protected]>:
4847 * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr.
4848 (mem_fault_routine): Fix misplaced volatile type qualifier in decl.
4849
f6ade5dd
FF
4850Mon Jan 29 19:05:58 1996 Fred Fish <[email protected]>
4851
4852 * Makefile.in (diststuff): Make all-doc; diststuff target does not
4853 exist in doc/Makefile.in.
4854
cdea3fd3
SS
4855Mon Jan 29 18:44:57 1996 Stan Shebs <[email protected]>
4856
4857 * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used.
4858
d221b17e
WM
4859Mon Jan 29 00:10:35 1996 Wilfried Moser (Alcatel) <[email protected]>
4860
cdea3fd3
SS
4861 * ch-valprint.c (calculate_array_length): New function to
4862 determine the length of an array type.
d221b17e
WM
4863 (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an
4864 array type is zero, call calculate_array_length.
4865
cdea3fd3
SS
4866 * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The
4867 values may not be sorted. Scan all entries and set the real lower
4868 and upper bound.
d221b17e 4869
fa9f5840
FF
4870Sun Jan 28 15:50:42 1996 Fred Fish <[email protected]>
4871
4872 * config/xm-linux.h: Move include of solib.h and #define of
4873 SVR4_SHARED_LIBS from here ...
4874 * config/nm-linux.h: ...to here.
4875
4708ac65
FF
4876Sat Jan 27 10:34:05 1996 Fred Fish <[email protected]>
4877
4878 * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h.
4879 Also check for gregset_t and fpregset_t types.
4880 * configure: Regenerate.
4881 * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H
4882 is defined.
4883 (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T
4884 and HAVE_FPREGSET_T are defined. These changes allow systems
4885 like linux that are migrating to /proc support to use a single
4886 configuration for both new and old versions.
4887
4888 * config/i386/linux.mt: Note that this is now for both a.out and
4889 ELF systems.
4890 * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o,
4891 i386v4-nat.o
4892 * config/i386/tm-linux.h (tm-sysv4.h): Include.
4893 * config/i386/xm-linux.h (solib.h): Include
4894 (SVR4_SHARED_LIBS): Define.
4895 * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined.
4896 (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined.
cdea3fd3
SS
4897 (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T
4898 defined.
4708ac65 4899
a77bf669
SS
4900Fri Jan 26 13:48:14 1996 Stan Shebs <[email protected]>
4901
4902 * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used.
4903 * config/i386/xm-sun386.h: Ditto.
4904 * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto.
4905
4906Thu Jan 25 16:05:53 1996 Tom Tromey <[email protected]>
4907
4908 * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@.
4909
a4b4479a
SC
4910Thu Jan 25 09:22:15 1996 Steve Chamberlain <[email protected]>
4911
4912 From Greg McGary <[email protected]>:
4913 * dcache.c (dcache_peek, dcache_poke): Advance addr for
4914 multi-byte I/O.
4915
4133a76e
JL
4916Thu Jan 25 13:08:51 1996 Doug Evans ([email protected])
4917
4918 * infrun.c (normal_stop): Fix test for shared library event.
4919
146ee7db
DE
4920Thu Jan 25 03:26:38 1996 Doug Evans <[email protected]>
4921
4922 * configure.in (sparc64-*-*): Add default host configuration.
4923start-sanitize-gdbtk
4924 (sparc64-*-solaris2* host): Link statically if GCC used.
4925end-sanitize-gdbtk
4926 (sparc64-*-solaris2*): Add target configuration.
b23b4cb5 4927 * configure: Regenerated.
146ee7db
DE
4928 * sparc/sp64sol2.mt: New file.
4929
76336191
DE
4930Wed Jan 24 22:31:37 1996 Doug Evans <[email protected]>
4931
4932 * Makefile.in (RUNTEST): srcdir renamed to rootsrc.
4933
1a57cd09
TT
4934Wed Jan 24 15:42:24 1996 Tom Tromey <[email protected]>
4935
4936 * Makefile.in (lint): Close backquotes.
4937
4938start-sanitize-gdbtk
4939Wed Jan 24 15:28:41 1996 Tom Tromey <[email protected]>
4940
4941 * gdbtk.tcl, gdbtk.c: Updated copyrights.
4942
4943 * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or
4944 greater.
4945 * configure: Rebuilt.
4946
4947end-sanitize-gdbtk
e8f1ad9a
FF
4948Wed Jan 24 13:19:10 1996 Fred Fish <[email protected]>
4949
4950 * NEWS: Make note of new record and replay feature for
4951 remote debug sessions.
4952 * serial.c (gdbcmd.h): Include.
4953 (serial_logfile, serial_logfp, serial_reading, serial_writing):
4954 Define here, for remote debug session logging.
4955 (serial_log_command, serial_logchar, serial_write, serial_readchar):
4956 New functions for remote debug session logging.
4957 (serial_open): Open remote debug session log file when needed.
4958 (serial_close): Close remote debug session log file when needed.
4959 (_initialize_serial): Add set/show commands for name of remote
4960 debug session log file.
4961 * serial.h (serial_readchar): Declare
4962 (SERIAL_READCHAR): Call serial_readchar().
4963 (SERIAL_WRITE): Call serial_write().
4964 (serial_close): Declare as extern.
4965 (serial_logfile, serial_logfp): Declare.
4966 * top.c (execute_command): Declare serial_logfp. Log user command
4967 in remote debug session log if log file is open.
4968 * remote-array.c (array_wait): #ifdef out echo to gdb_stdout.
4969 (array_read_inferior_memory): Rewrite to fix memory overwrite bug.
4970 * remote-array.c (SREC_SIZE): Remove, duplicates define in
4971 monitor.h.
4972 * remote-array.c (hexchars, hex2mem): Remove, unused.
4973 * gdbserver/low-linux.c (store_inferior_registers): Remove
4974 unnecessary extern declaration of registers[].
4975 * gdbserver/Makefile.in (all): Add gdbreplay.
4976 * gdbserver/gdbreplay.c: New file.
4977 * gdbserver/README: Give example of recording a remote
4978 debug session with gdb and then replaying it with gdbreplay.
4979
c6038971
PB
4980Tue Jan 23 18:02:35 1996 Per Bothner <[email protected]>
4981
4982 * stabsread.c (rs6000_builtin_type): Make bool type unsigned.
4983 (read_one_struct_field): Support boolean bitfields.
4984 * c-valprint.c (c_val_print): Print booleans properly.
4985
5a8d8b8d
SS
4986Tue Jan 23 18:54:09 1996 Stan Shebs <[email protected]>
4987
4988 * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):
4989 Remove, never used.
4990 * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o.
4991
ec5f347c
PB
4992Tue Jan 23 14:36:05 1996 Per Bothner <[email protected]>
4993
9293e886
PB
4994 * ch-exp.c (parse_tuple): Error if invalid mode.
4995
533bda77
PB
4996 * value.h (COERCE_ARRAY): Don't coerce enums.
4997 (COERCE_ENUM): Don't COERCE_REF.
4998 (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM).
4999 * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let
5000 value_cast handle it otherwise); do *not* COERCE_ENUM either way.
5001 * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY.
5002 Add COERCE_REF before COERCE_ENUM.
5003 * values.c (value_as_long): Simplify.
5004
5005 * valops.c (value_array): Create internalvar if !c_style_arrays.
5006
ec5f347c
PB
5007 * language.c (lang_bool_type): Add Fortran support.
5008 * eval.c (OP_BOOL): Use LA_BOOL_TYPE.
5009
87273c71
JL
5010Tue Jan 23 13:08:26 1996 Jeffrey A Law ([email protected])
5011
5012 * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup.
5013 All references changed.
5014 * breakpoint.c (bpstat_what): Add shlib_event to the class types.
5015 Update state table. Reformat so that it's still readable.
5016 When we hit the shlib_event breakpoint, set the calss of shlib_event.
5017 (breakpoint_1): Add "shlib events" as a breakpoint type.
5018 Print the shlib_event breakpoint like other breakpoints.
5019 (create_solib_event_breakpoint): New function.
5020 (breakpoint_re_set_one): Handle solib_event breakpoints.
5021 * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type.
5022 (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS
5023 action.
5024 (create_solib_event_breakpoint): Declare.
5025 * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat.
5026 (normal_stop): Inform the user when the inferior stoped due
5027 to a shared library event.
a77bf669 5028 (_initialize_infrun): Add new set/show variable "stop-on-solib-events"
87273c71
JL
5029 to control whether or not gdb continues the inferior or stops it when
5030 a shared library event occurs.
5031 * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function.
5032 * somsolib.c (TODO list): Update.
5033 (som_solib_create_inferior_hook): Arrange for gdb to be notified
5034 when significant shared library events occur.
5035 * hppa-tdep.c (find_unwind_entry): No longer static.
5036
fc941258
DE
5037Tue Jan 23 09:00:48 1996 Doug Evans <[email protected]>
5038
5a8d8b8d
SS
5039 * printcmd.c (print_insn): Pass fprintf_unfiltered to
5040 INIT_DISASSEMBLE_INFO.
5041start-sanitize-gdbtk
5042 * gdbtk.c (gdb_disassemble): Likewise.
5043end-sanitize-gdbtk
fc941258 5044
b3fd4c06
SS
5045Mon Jan 22 16:59:40 1996 Stan Shebs <[email protected]>
5046
5047 * remote.c (remotebreak): New GDB variable.
5048 (remote_break): New global.
5049 (remote_interrupt): Send a break instead of ^C if remote_break.
5050 * NEWS: Describe the new variable.
5051
d2f5fa49
DE
5052Mon Jan 22 16:24:11 1996 Doug Evans <[email protected]>
5053
5054 * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc.
5055
8c038399
FF
5056Fri Jan 19 07:19:38 1996 Fred Fish <[email protected]>
5057
5058 * hp300ux-nat.c (getpagesize): Remove unused function
5059 fetch_core_registers.
5060 (hp300ux_core_fns): Remove, is unused.
5061 (_initialize_core_hp300ux): Remove, is unused.
5062 (gdbcore.h): Remove #include, no longer needed.
5063
a0d76829
JL
5064Fri Jan 19 00:59:53 1996 Jeffrey A Law ([email protected])
5065
5066 * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid
5067 ptrace bug in aix4.1.3 on the rs6000.
5068
b6768627
SS
5069Wed Jan 17 13:22:27 1996 Stan Shebs <[email protected]>
5070
5071 * remote-hms.c (hms_ops): Add value for to_thread_alive.
5072 * remote-nindy.c (nindy_ops): Ditto.
5073 * remote-udi.c (udi_ops): Ditto.
5074
090d784a
JSC
5075Tue Jan 16 18:00:35 1996 James G. Smith <[email protected]>
5076
5077 * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset,
5078 pmon_checkset, pmon_make_fastrec, pmon_check_ack,
5079 pmon_load_fast): New functions. Support for the PMON monitor world.
5080 (common_open): New function to merge support for different monitors.
5081 (mips_open): Use common_open().
5082 (mips_send_command): New function.
5083 (mips_send_packet): Scan out-of-sequence packets.
5084 (mips_enter_debug, mips_exit_debug): New functions.
5085 (pmon_ops): New target definition structure.
5086
4e327047
TT
5087Tue Jan 16 11:22:58 1996 Stu Grossman ([email protected])
5088
5089 * Makefile.in (CLIBS): Add LIBS to allow libraries to be
5090 specified on the make command line (via make LIBS=xxx).
5091start-sanitize-gm
5092 * configure.in (enable-gm): magic.o -> gmagic.o.
5093end-sanitize-gm
5094
5095start-sanitize-gdbtk
5096Mon Jan 15 09:58:41 1996 Tom Tromey <[email protected]>
5097
5098 * gdbtk.tcl (create_expr_window): Many changes to update GUI.
5099 (add_expr): Changes from create_expr_window.
5100 (create_command_window): Set focus.
5101 (delete_expr): Rewrote.
5102 (expr_update_button): New proc.
5103 (add_expr): Put bindings on FocusIn, FocusOut.
5104 Don't allow .file_popup to be torn off.
5105end-sanitize-gdbtk
5106
1aac3d3c
JL
5107Fri Jan 12 21:41:58 1996 Jeffrey A Law ([email protected])
5108
5109 * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
5110 is set but there are no psymtabs.
5111
c84e5000
SC
5112Fri Jan 12 15:56:12 1996 Steve Chamberlain <[email protected]>
5113
5114 * dsrec.c (load_srec): Remove unused variable.
1ef980b9 5115 * monitor.c (monitor_expect): Don't expect a ^C to echo.
c84e5000
SC
5116 * serial.c (serial_open): Add parallel interface.
5117 * sh3-rom.c (parallel, parallel_in_use): New.
5118 (sh3_load): If parallel_in_use, download though the
5119 parallel port.
5120 (sh3_open): Open parallel port if specified.
5121 (sh3_close): New function.
5122 (_inititalize_sh3): Add sh3_close hook and documentation.
5123 * monitor.c (monitor_close): Export.
5124 * monitor.h (monitor_close): Add prototype.
5125
2c441e7f
SS
5126Fri Jan 12 13:11:42 1996 Stan Shebs <[email protected]>
5127
5128 From Wilfried Moser <[email protected]>:
5129 * remote.c (remotetimeout): New GDB variable, use to set the
5130 remote timeout for reading.
5131
4e327047
TT
5132start-sanitize-gdbtk
5133Fri Jan 12 09:36:17 1996 Tom Tromey <[email protected]>
5134
5135 * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons.
5136 (update_listing): Use lassign. Use "see" to scroll. Don't need
5137 screen_top, screen_bot, screen_height.
5138 (update_assembly): Use "see" to scroll.
5139 (textscrollproc): Removed.
5140 (create_file_win): Don't use textscrollproc.
5141 (asmscrollproc): Removed.
5142 (create_asm_window): Don't use asmscrollproc.
5143 (create_asm_win): Ditto.
5144 (screen_height, screen_top, screen_bot): Removed.
5145 (run_editor): New proc.
5146 (build_framework): Use it.
5147 (create_file_win, create_source_window): Don't use textscrollproc.
5148 (create_breakpoints_window): Set -xscrollcommand on canvas.
5149 (not_implemented_yet): Default button is 0.
5150 (delete_char): Don't use tk_textBackspace.
5151 (create_command_window): Allow Tk bindings to fire after deleting
5152 character.
5153 (create_command_window): Make Delete delete left, not right.
5154end-sanitize-gdbtk
5155
517cb8d7 5156Fri Jan 12 07:14:27 1996 Fred Fish <[email protected]>
3730a0ed
FF
5157
5158 * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
5159 to get "struct core_fns" defined.
5160 * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
2c441e7f 5161 Are dependent upon gdbcore_h.
3730a0ed 5162
7ef89313
PB
5163Thu Jan 11 23:13:24 1996 Per Bothner <[email protected]>
5164
5165 * symfile.c (decrement_reading_symtab): New function.
5166 * symfile.c, symtab.h (currently_reading_symtab): New variable.
5167 * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab.
5168 * gdbtypes.c (check_typedef): Don't call lookup_symbol if
5169 currently_reading_symtab (since that could infinitely recurse).
5170
1c486a2b
PB
5171Thu Jan 11 17:21:25 1996 Per Bothner <[email protected]>
5172
34cfa2da
PB
5173 * stabsread.c (read_struct_type): Trivial simplification.
5174
1c486a2b
PB
5175 * stabsread.c (define-symbol): Use invisible references
5176 for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
34cfa2da 5177 * valops.c (call_function_by_hand): Likewise.
1c486a2b
PB
5178 * eval.c (evaluate_subexp_standard): When known, use the formal
5179 parameter type as the expected type when evaluating arg expressions.
5180 * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT).
5181
4e327047
TT
5182start-sanitize-gdbtk
5183Thu Jan 11 10:08:14 1996 Tom Tromey <[email protected]>
5184
5185 * main.c (main): Disable window interface if --help or --version
5186 specified.
5187
5188 * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect.
5189
5190 Changes in sync with expect:
5191 * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and
5192 CY_AC_PATH_TK.
5193 * aclocal.m4: Replaced with version from expect.
5194 * configure: Regenerated.
5195end-sanitize-gdbtk
a1df8e78 5196
a1956677
BK
5197Wed Jan 10 16:08:49 1996 Brendan Kehoe <[email protected]>
5198
5199 * configure.in, configure: Recognize rs6000-*-aix4*.
5200 * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h".
5201 * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h.
5202 * config/rs6000/xm-aix4.h: New file.
5203 * config/xm-aix4.h: New file.
5204
3730a0ed 5205Wed Jan 10 11:25:37 1996 Fred Fish <[email protected]>
0d14c7df
FF
5206
5207 From Wilfried Moser <[email protected]>:
5208 * gdbserver/low-linux.c: New file.
5209 * remote.c (remote_read_bytes): Fix aborts on larger packets.
5210
5211 * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS):
5212 Define.
5213 * stabsread.c (define_symbol): If register value is too large,
5214 tell what it is and what max is.
5215
4e327047
TT
5216start-sanitize-gdbtk
5217Wed Jan 10 09:07:22 1996 Tom Tromey <[email protected]>
5218
5219 * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error,
5220 gdbtk_tcl_flush): Use "see", not "yview".
5221 (gdbtk_tcl_query): Use questhead bitmap.
5222 various: Always wrap condition of 'if' in {...}.
5223 (add_breakpoint_frame): Set -value on radiobuttons.
5224 (lassign): New proc.
5225 (add_breakpoint_frame): Use lassign, not series of assignments.
5226 (decr): Made faster.
5227 (interactive_cmd): Use "see", not "yview".
5228 (not_implemented_yet): Use warning bitmap.
5229 (update_expr): Don't allow $expr to be evalled by Tcl.
5230 (create_expr_window): Don't use "focus".
5231 (delete_char, delete_line): Define globally.
5232 (delete_line, delete_char, create_command_window, update_autocmd,
5233 build_framework, create_asm_win, create_file_win): Use "see", not
5234 "yview".
5235 (create_copyright_window, center_window, bind_widget_after_class):
5236 New procs.
5237 (FSBox,create_command_window, create_autocmd_window): Binding
5238 changes for Tk4.
5239 (textscrollproc): Define globally.
5240 (build_framework): tk_menuBar no longer needed. Keys Prior, Next,
5241 Home, End, Up, and Down are all defined by Tk.
5242 (apply_filespec): Use error bitmap in dialog.
5243 (files_command): Don't use tk_listboxSingleSelect.
5244 (files_command): Don't use "uniq" to remove duplicates from a
5245 list.
5246 (update_assembly): Use lassign.
5247 (create_asm_win): Removed redundant bindings.
5248 (listing_window_button_1, file_popup_menu): Use tk_popup.
5249 (ButtonRelease-1 binding): Just remove tag from window; rest
5250 handled by Tk.
5251
5252 * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting.
5253 (call_wrapper): Use Tcl_Eval, not Tcl_VarEval.
5254 (gdbtk_call_command): Ditto.
5255end-sanitize-gdbtk
5256
60d5a517
JL
5257Tue Jan 9 09:33:53 1996 Jeffrey A Law ([email protected])
5258
5259 * hpread.c (hpread_build_psymtabs): Finish Jan 4th
5260 enum namespace -> enum_namespace change.
5261
d1f5c804
WM
5262Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <[email protected]>
5263
2c441e7f
SS
5264 * ch-exp.c (parse_primval): In case ARRAY, add missing
5265 FORWARD_TOKEN ().
d1f5c804 5266
1f233758
SS
5267Mon Jan 8 13:29:34 1996 Stan Shebs <[email protected]>
5268
5269 * remote-mips.c (mips_receive_header): Recognize \012 instead
5270 of \n, but write \n when program sends a \012.
5271 * ser-mac.c (mac_input_buffer): Increase size of buffer.
5272
ed3b618d
JL
5273Mon Jan 8 12:00:40 1996 Jeffrey A Law ([email protected])
5274
5275 * infptrace.c (initialize_infptrace): Move function out of
5276 #ifdef conditional; put code within the function inside an
5277 #ifdef conditional.
436d4143
JL
5278
5279 * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
5280 arguments. Sorting is now dependent on OBJF_REORDERED. All
5281 callers/references changed.
5282 * dbxread.c (read_ofile_symtab): Correctly determine value for
5283 last_source_start_addr for reordered executables.
5284 (process_one_symbol): Handle N_FUN with no name as an end of
5285 function marker.
5286 * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
5287 is the high text address for a psymtab.
5288 (case N_SO): Likewise.
5289 (case N_FUN): Handle N_FUN with no name as an end of function
5290 marker.
5291 * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
5292 at the same address rather than a random subset of them.
5293 * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
5294 * elfread.c (elf_symfile_init): Similarly.
5295 * somread.c (som_symfile_init): Similarly.
5296 * xcoffread.c (xcoff_symfile_init): Similarly.
5297
5351b2a0
SG
5298Fri Jan 5 17:46:01 1996 Stu Grossman ([email protected])
5299
5300 * stack.c (print_stack_frame print_frame_info) symmisc.c
5301 (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so
5302 that catch_errors doesn't get blindsided by QUIT and lose the
5303 cleanup chain. This fixes a problem where ^C while in a
5304 user-defined command sometimes leaves instream NULL and causes a
5305 segfault in command_loop.
5306
127841e4
BK
5307Fri Jan 5 13:59:16 1996 Brendan Kehoe <[email protected]>
5308
5309 * configure.in, configure: Add `-ldl -lw' for Solaris linking.
5310
6b4fe21d
SC
5311Fri Jan 5 12:02:00 1996 Steve Chamberlain <[email protected]>
5312
5313 * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
5314 config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt:
5315 srec.o renamed to dsrec.o.
5316
0fe1522a
SG
5317Thu Jan 4 16:04:54 1996 Stu Grossman ([email protected])
5318
5319 * breakpoint.c (remove_breakpoint): Change error to warning so
5320 that hardware watchpoint removal problems won't leave breakpoint
5321 traps in the target.
d039321c 5322start-sanitize-gdbtk
0fe1522a 5323 * configure configure.in: Make --enable-gdbtk be the default.
d039321c 5324end-sanitize-gdbtk
0fe1522a
SG
5325 * remote-e7000.c (e7000_insert_breakpoint,
5326 e7000_remove_breakpoint): Use e7000 based breakpoints, not memory
5327 breakpoints.
5328 * (e7000_wait): Adjust PC back by two when we see a breakpoint to
5329 compensate for e7000 maladjustment.
5330 * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug
5331 which prevented hardware watchpoints from working.
5332
517cb8d7 5333Thu Jan 4 10:44:17 1996 Fred Fish <[email protected]>
7531f36e
FF
5334
5335 * infptrace.c (udot_info): New function.
5336 (PT_*): Define each individually if that one is not defined.
7531f36e
FF
5337 * rs6000-nat.c (kernel_u_size): New function
5338 Include <sys/user.h> for "struct user"
7531f36e
FF
5339 * alpha-nat.c (kernel_u_size): New function.
5340 Include <sys/user.h> for "struct user"
7531f36e
FF
5341 * sparc-nat.c (kernel_u_size): New function.
5342 Include <sys/user.h> for "struct user"
7531f36e 5343 * i386b-nat.c (kernel_u_size): New function.
7531f36e 5344 * i386v-nat.c (kernel_u_size): New function.
7531f36e
FF
5345 * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define.
5346 (kernel_u_size): Declare.
7531f36e
FF
5347 * config/i386/nm-linux.h (KERNEL_U_SIZE): Define.
5348 (kernel_u_size): Declare.
7531f36e
FF
5349 * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define.
5350 (kernel_u_size): Declare.
7531f36e
FF
5351 * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define.
5352 (kernel_u_size): Declare.
7531f36e
FF
5353 * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define.
5354 (kernel_u_size): Declare.
7531f36e 5355
1750a5ef
SC
5356Thu Jan 4 11:00:01 1996 steve chamberlain <[email protected]>
5357
5358 * mdebugread.c (mylookup_symbol): enum namespace becomes
5359 enum_namespace type.
5360 * symfile.c (add_psymbol_to_list)
5361 (add_psymbol_addr_to_list): Ditto.
5362 * symtab.c (lookup_partial_symbol): Ditto.
5363 (lookup_symbol): Ditto.
5364 (lookup_block_symbol): Ditto.
5365 * win32-nat.c (handle_load_dll): Use incoming dll base.
5366 (child_wait): Catch DLL load errors.
5367 (create_child_inferior): Translated between paths correctly.
5368
e33aefba
FF
5369Wed Jan 3 23:13:53 1996 Fred Fish <[email protected]>
5370
5371 * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
5372 from NUM_REGS to get number of general registers that we care about.
e33aefba
FF
5373 * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
5374 of number of general regs and number of floating point regs.
e33aefba 5375
e02a2ad9
SC
5376Wed Jan 3 19:49:54 1996 steve chamberlain <[email protected]>
5377
a3b64bf9
SC
5378 * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
5379 (SKIP_TRAMPOLINE_CODE): New.
5380 * config/i386/xm-win32.h (CANT_FORK): Deleted.
5381 (SLASH*) Changed to use unix style slash.
e02a2ad9
SC
5382 * symtab.h (namespace enum): becomes typedef to avoid namespace
5383 collision in C++.
5384 * infcmd.c (path_command): Use empty string if PATH name not set.
5385 * i386-tdep.c (skip_trampoline_code): New function.
5386 * srec.c: Renamed dsrec.c to avoid filename collision.
5387 * Makefile.in: Cope with renaming.
e02a2ad9 5388
ef4d6187 5389Wed Jan 3 13:09:04 1996 Fred Fish <[email protected]>
5eccb7dc 5390
ef4d6187
FF
5391 * symmisc.c (print_objfile_statistics): Print memory use statistics
5392 for objfile psymbol, symbol, and type obstacks.
5eccb7dc 5393
ef4d6187 5394Tue Jan 2 13:41:14 1996 Stan Shebs <[email protected]>
3dcd429f 5395
ef4d6187
FF
5396 * config/mips/nm-irix5.h: Restore.
5397 (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
5398 from Lee Iverson <[email protected]>.
5399 * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
5400 * config/mips/irix[345].mh (MUNCH_DEFINE): Remove.
3dcd429f 5401
ef4d6187 5402For older changes see ChangeLog-95
bd5635a1
RP
5403\f
5404Local Variables:
5405mode: indented-text
5406left-margin: 8
5407fill-column: 74
5408version-control: never
5409End:
This page took 1.451756 seconds and 4 git commands to generate.