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