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