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