1 Tue Oct 22 10:32:46 1996 Stan Shebs <shebs@andros.cygnus.com>
3 * mpw-make.sed: Update init.c editing to work with Oct 8 change.
4 (@HLDFLAGS@): Always edit out.
6 Mon Oct 21 18:17:08 1996 Mark Alexander <marka@cygnus.com>
8 * mdebugread.c (parse_partial_symbols): Fix 64-bit
9 sign-extension problems in calculating psymtab addresses.
10 * buildsym.c (end_symtab): Use macro to pop context.
12 Mon Oct 21 14:40:50 1996 Stu Grossman (grossman@critters.cygnus.com)
14 * v850-tdep.c: Cleanup lots of things. Add many comments.
16 Mon Oct 21 14:01:38 1996 Michael Snyder <msnyder@cleaver.cygnus.com>
18 * top.c: Add new commands "set annotate" and "show annotate".
20 Sun Oct 20 04:38:39 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
22 * corelow.c (core_close): Clear inferior_pid only if there is
25 * cp-valprint.c (cp_print_value_fields): Pass correct address
28 From Andreas Schwab (schwab@issan.informatik.uni-dortmund.de):
29 * eval.c (evaluate_subexp_standard) [case BINOP_REPEAT]: Chase
30 typedefs before checking for integral type of right operand.
32 Fri Oct 18 17:26:22 1996 Mark Alexander <marka@cygnus.com>
34 * mdebugread.c (parse_symbol): Fix crash when malloc has
35 no type info and void type has no associated pointer type.
37 Thu Oct 17 18:18:20 1996 Stan Shebs <shebs@andros.cygnus.com>
39 * configure.host: New file, host configuration mapping.
40 * configure.tgt: New file, target configuration mapping.
41 * configure.in: Remove host and target mapping.
45 * v850-tdep.c (v850_init_extra_frame_info v850_frame_chain): Fix
46 sign bugs with scanning prologues. Get a little smarter about
47 calculating the length of uninteresting instructions.
50 Wed Oct 16 17:46:03 1996 Stan Shebs <shebs@andros.cygnus.com>
52 * breakpoint.c (must_shift_inst_regs): New global.
53 (bpstat_stop_status): Change #if uses of DECR_PC_AFTER_BREAK into
54 equivalent expression uses.
55 * infrun.c (wait_for_inferior): Ditto.
58 Wed Oct 16 01:53:43 1996 Stu Grossman (grossman@critters.cygnus.com)
60 * v850-tdep.c (v850_push_arguments): Use symbolic names for arg
62 * config/v850/tm-v850.h: Change FP to 29. Define arg regs.
65 Tue Oct 15 16:30:07 1996 Stu Grossman (grossman@critters.cygnus.com)
67 * Makefile.in (init.c): Don't use -s option with grep. It means
68 something different under Digital Unix.
70 * buildsym.c (finish_block): Treat LOC_BASEREG_ARG and
71 LOC_LOCAL_ARG as arguments so that GDB will know about function
72 args declared this way. Mostly affects dwarf.
73 * dwarfread.c (decode_die_type): Change default type from int to
74 void. This allows GDB to recognize void functions.
75 * (new_symbol): If AT_PROTOTYPED is present, set a flag in the
77 * findvar.c (extract_floating store_floating): Clean up comments
79 * gdbtypes.h: Add TYPE_FLAG_PROTOTYPED so that we can tell if a
80 function has a prototype. Currently, only dwarf supports this.
81 * utils.c (floatformat_from_doublest): Fix logic error with
82 converting from double to float. (It wasn't shifting mant_long if
86 * v850-tdep.c: Add support for function calling. Fix some
87 problems with debugging code w/o debug symbols.
88 * config/v850/tm-v850.h: Ditto.
91 Tue Oct 15 18:19:42 1996 Ian Lance Taylor <ian@cygnus.com>
93 * utils.c: Always ensure that size_t is defined. Check
94 HAVE_STDDEF_H rather than __STDC__
95 (xmalloc, xrealloc): Use size_t rather than long.
97 Tue Oct 15 14:24:19 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
99 * config/powerpc/tm-ppc-eabi.h: Undefine NO_SINGLE_STEP so targets
100 can use single-step commands.
102 Sun Oct 13 11:38:25 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
104 * stabsread.c (define_symbol): If REG_STRUCT_HAS_ADDR is non-zero,
105 follow typedefs before checking TYPE_CODE for structures and unions.
107 Fri Oct 11 15:43:54 1996 Stu Grossman (grossman@critters.cygnus.com)
109 * frame.h: Move definition of struct frame_saved_regs to before
110 struct frame to make it possible to use frame_saved_regs in
111 EXTRA_FRAME_INFO macro.
114 * v850-tdep.c config/v850/tm-v850.h: Lotsa new functions and
115 macros to make frame operations (such as backtrace) work.
118 Fri Oct 11 14:23:50 1996 Fred Fish <fnf@cygnus.com>
120 * dbxread.c (process_one_symbol): Check for null string directly
121 rather than using strcmp against "".
122 * partial-stab.h: Ditto.
124 Fri Oct 11 12:18:32 1996 Mark Alexander <marka@cygnus.com>
126 * gdbserver/{gdbreplay.c,low-linux.c,remote-utils.c,utils.c}:
127 Make it compile on Linux and eliminate some warnings.
129 Thu Oct 10 16:32:08 1996 Stu Grossman (grossman@critters.cygnus.com)
131 * Makefile.in (init.c): Fixup final sed script to work around
132 Linux bug with `p' operator.
134 Wed Oct 9 18:02:48 1996 Stan Shebs <shebs@andros.cygnus.com>
136 * remote-mips.c: Use the correct name everywhere (DDB) for NEC's
138 (ddb_ops, pmon_ops): Fix the documentation strings.
140 Wed Oct 9 07:42:44 1996 Stu Grossman (grossman@critters.cygnus.com)
142 * Makefile.in (init.c): Retro HPUX grep lacks -h option. Strip
143 filenames with sed instead.
145 Tue Oct 8 15:59:44 1996 Stu Grossman (grossman@critters.cygnus.com)
147 * defs.h: Remove decls of xmalloc and xrealloc. There is a
148 conflicting definition in libiberty.h.
150 Tue Oct 8 11:47:13 1996 Fred Fish <fnf@cygnus.com>
152 * dbxread.c (dbx_symfile_read): Call free_pending_blocks rather
153 than poking global variable (which is now static).
154 * hpread.c (hpread_build_psymtabs): Ditto.
155 * os9kread.c (os9k_symfile_read): Ditto.
156 * xcoffread.c (xcoff_initial_scan): Ditto.
158 * buildsym.h (free_pending_blocks): Declare here.
159 (pending_blocks): Remove declaration of global symbol.
160 (free_pendings): Remove declaration of global symbol.
161 (make_blockvector): Declare here.
162 (record_pending_block): Declare here.
164 * dstread.c (make_blockvector): Remove static copy that was old
165 clone of version in buildsym.c.
166 (process_dst_block): Call record_pending_block rather than doing
168 (read_dst_symtab): Ditto.
170 * buildsym.c (make_blockvector): Make global rather than static,
171 (record_pending_block): New function, code moved from finish_block.
172 (finish_block): Use record_pending_block.
173 (free_pending_blocks): New function.
174 (really_free_pendings): Call free_pending_blocks.
175 (pending_blocks): Make static instead of global.
176 (free_pendings): Make static instead of global.
178 Tue Oct 8 09:03:22 1996 Stu Grossman (grossman@critters.cygnus.com)
180 * config/i386/windows.mh config/i386/xm-windows.h:: New config
181 files to support building Wingdb (built under Microsoft build
184 * Makefile.in: Add rule for hpux-thread.o (needs special header
186 * (SUBDIRS): Remove mswin.
187 * Change procedure for creating init.c. Speeds things up quite a
189 * config.in configure configure.in: Check for select, poll.
190 * Check for OSF header files before including hpux-thread.o.
191 * Don't configure doc or testsuite when building under MSVC.
192 * findvar.c value.h (read_register_pid write_register_pid): Make
193 global. Needed for hppa-tdep.c.
194 * (supply_register): Don't set pid to inferior_pid when supplying
196 * hppa-tdep.c (saved_pc_after_call): frame_saved_pc ->
198 * (frame_saved_pc): Change name to hppa_frame_saved_pc.
199 * (hppa_pop_frame): Don't use a pid of 0 with target_write_pc.
200 Use write_pc instead, which uses the correct pid.
201 * (target_read_pc target_write_pc): Use read/write_register_pid
202 instead of read/write_register to preserve the pid passed in.
203 * inftarg.c (child_can_run): Add flag child_suppress_run to allow
204 hpux-threads.c to override this as a runnable target.
205 * config/pa/nm-hppah.h: Define target_new_objfile and
207 * config/pa/tm-hppa.h (FRAME_SAVED_PC): Use hppa_frame_saved_pc
208 instead of frame_saved_pc.
209 * config/m68k/tm-m68k.h: Define TARGET_M68K for Wingdb.
210 * config/m68k/tm-monitor.h: Use FRAME_CHAIN_VALID_ALTERNATE, since
211 we can't easily determine the start file bounds with ELF.
212 * config/mips/tm-mips.h: Define TARGET_MIPS for Wingdb.
213 * hpux-thread.c: New file for HPUX/OSF thread support.
214 * osf-share/{README AT386/cma_thread_io.h HP800/cma_thread_io.h
215 RIOS/cma_thread_io.h cma_attr.h cma_deb_core.h cma_debug_client.h
216 cma_errors.h cma_handle.h cma_init.h cma_list.h cma_mutex.h
217 cma_sched.h cma_semaphore_defs.h cma_sequence.h cma_stack.h
218 cma_stack_int.h cma_tcb_defs.h cma_util.h}: New files for OSF
221 Sun Oct 6 15:48:09 1996 Fred Fish <fnf@cygnus.com>
223 * buildsym.c (finish_block): Change innerblock_anon_complaint to
224 print the addresses as part of the complaint. Add a complaint for
225 cases where the block end address is smaller than the block start
226 address, in case any such conditions slip through our fixup mechanism.
227 * symmisc.c (dump_symtab): Only print blockvector for primary
228 symtabs, to avoid massive duplication of output due to secondary
229 symtabs that point to same blockvector. Also do some minor
232 Mon Oct 7 10:42:32 1996 Per Bothner <bothner@deneb.cygnus.com>
234 Replace header_files global by per-objfile field.
235 * gdb-stabs.h (struct dbx_symfile_info): Add fields header_files,
236 n_header_files, n_allocated_header_files.
237 * stabsread.h (header_files, n_header_files, n_allocated_header_files):
238 Replace externs by macros HEADER_FILES, N_HEADER_FILES, and
239 N_ALLOCATED_HEADER_FILES.
240 * dbxread.c (dbx_symfile_finish): Free HEADER_FILES.
241 (free_header_files, init_header-files): Don't free/init headerfiles.
242 (various functions): Use macros instead of header_files globals.
243 * stabsread.c (various functions): Likewise.
245 Sun Oct 6 22:43:06 1996 Jason Merrill <jason@yorick.cygnus.com>
247 * dwarf2read.c (read_tag_reference_type): New fn.
248 (read_type_die): Call it.
249 (dwarf_attr): Also look in the DIEs referred to by specification
250 or abstract_origin attributes.
252 Wed Oct 2 22:07:16 1996 Fred Fish <fnf@cygnus.com>
254 * inferior.h (IN_SIGTRAMP): Pass pc to SIGTRAMP_START and
256 * config/i386/tm-i386os9k.h (SIGTRAMP_START, SIGTRAMP_END):
257 Define with dummy pc arg.
258 * config/m68k/tm-nbsd.h: Ditto.
259 * doc/gdbint.texinfo: Document that SIGTRAMP_START and
260 SIGTRAMP_END are macros that take an single argument.
262 Mon Sep 30 20:02:45 1996 Fred Fish <fnf@cygnus.com>
264 * defs.h: Remove define of PRIVATE_XMALLOC.
267 Mon Sep 30 15:39:28 1996 Stu Grossman (grossman@critters.cygnus.com)
269 * config/v850/tm-v850.h: Use distinct register for PC, not EIPC.
272 Mon Sep 30 11:16:34 1996 Jeffrey A Law (law@cygnus.com)
274 * top.c (execute_control_command): Free values from while_control
275 and if_control conditions after evaluation to avoid storage leaks.
279 Fri Sep 27 17:43:06 1996 Stu Grossman (grossman@critters.cygnus.com)
281 * configure configure.in: Recognize v850 target.
282 * v850-tdep.c: New file, NEC V850 target support.
283 * config/v850/{v850.mt tm-v850.h}: New files for NEC V850 support.
286 Fri Sep 27 14:48:15 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
288 * infrun.c (wait_for_inferior): Update current_line and
289 current_symtab when stepping continues in the middle of a new line.
291 Fri Sep 27 10:25:30 1996 Fred Fish <fnf@cygnus.com>
293 * top.c (print_gdb_version): Rewrote to comply with new GNU coding
294 standards for the --version option.
295 (print_gnu_advertisement): Remove, now part of print_gdb_version.
296 (show_version): Remove call to print_gnu_advertisement.
297 * top.h (print_gnu_advertisement): Remove prototype.
298 * main.c (print_gdb_help): Move help to static function and
300 (main): Call print_gdb_help rather than inlining it.
301 (main): Remove call to print_gnu_advertisement.
303 * gdbtk.tcl (create_copyright_window): Increase timeout from
304 15 seconds to 30 seconds.
308 Fri Sep 27 13:32:53 1996 Michael Meissner <meissner@tiktok.cygnus.com>
310 * config/d10v/tm-d10v.h (TARGET_{INT,PTR}_BIT): Define.
311 (TARGET_{,LONG_}DOUBLE_BIT): Ditto.
314 Thu Sep 26 23:10:26 1996 Mark Alexander <marka@cygnus.com>
316 * configure.in, config/i386/tm-linux.h: Fix configure
317 problem on older Linux systems that prevented core files
318 from being recognized.
320 Wed Sep 25 18:31:33 1996 Stan Shebs <shebs@andros.cygnus.com>
322 * dbug-rom.c: New file, support for Motorola's dBUG monitor.
323 * config/m68k/monitor.mt (TDEPFILES): Add it.
327 Mon Sep 23 16:13:50 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
329 * config/d10v/tm-d10v.h (SAVED_PC_AFTER_CALL): Fixed.
330 Now single-steps correctly.
331 * d10v-tdep.c (d10v_pop_frame): Fixed.
334 Fri Sep 20 16:10:58 1996 Stan Shebs <shebs@andros.cygnus.com>
336 * config/sh/tm-sh.h (REGISTER_NAMES): Move fp registers to
337 be consistent with GCC.
338 (FPUL_REGNUM, etc): Renumber to match list changes.
339 (ADDR_BITS_REMOVE): Delete.
340 * sh-tdep.c (sh_reg_names, sh3_reg_names, sh3e_reg_names):
341 Rearrange to match REGISTER_NAMES.
342 * sh3-rom.c (sh3_regnames, sh3e_regnames): Ditto.
345 Thu Sep 19 16:19:01 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
347 * d10v-tdep.c: Stack chain should work now.
349 Tue Sep 17 18:46:57 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
351 * d10v-tdep.c, config/d10v/tm-d10v.h: Snapshot.
354 Tue Sep 17 12:20:50 1996 Ian Lance Taylor <ian@cygnus.com>
356 * configure.in: Add cases for MIPS 5000 like MIPS 4300.
357 * configure: Rebuild.
359 Tue Sep 17 12:09:00 1996 Dawn Perchik <dawn@critters.cygnus.com>
361 * ser-e7kpc.c: Added wingdb support for target e7000pc.
363 Tue Sep 17 10:56:52 1996 James G. Smith <jsmith@cygnus.co.uk>
365 * remote-mips.c (pmon_wait): DDB PMON does not require forced
366 re-entry back into debug mode.
368 Mon Sep 16 14:32:58 1996 James G. Smith <jsmith@cygnus.co.uk>
370 * remote-mips.c (mips_load): Ensure that the PC is explicitly
371 loaded after a load to a DDB PMON system.
373 Fri Sep 13 12:02:39 1996 Fred Fish <fnf@cygnus.com>
375 * Makefile.in (INTERNAL_LDFLAGS): Add @HLDFLAGS@ to list.
376 (HLDENV): Set to @HLDENV@.
377 (gdb): Prefix link command line with $(HLDENV).
378 * configure.in: Add support to test for --enable-shared and
379 generate appropriate values for HLDFLAGS and HLDENV.
380 * configure: Regenerated with autoconf.
382 Sun Sep 8 15:26:27 1996 Fred Fish <fnf@cygnus.com>
384 * alpha-nat.c (fetch_core_registers): Match Sep 4 gdbcore.h prototype
385 change for core_read_registers in struct core_fns.
386 * core-regset.c (fetch_core_registers): Ditto & add prototype.
387 * core-sol2.c (fetch_core_registers): Ditto & add prototype.
388 * i386aix-nat.c (fetch_core_registers): Ditto & add prototype.
389 * i386b-nat.c (fetch_core_registers): Ditto.
390 * i386mach-nat.c (fetch_core_registers): Ditto & add prototype.
391 * irix4-nat.c (fetch_core_registers): Ditto.
392 * irix5-nat.c (fetch_core_registers): Ditto.
393 * lynx-nat.c (fetch_core_registers): Ditto & add prototype.
394 * m68knbsd-nat.c (fetch_core_registers): Ditto.
395 * mips-nat.c (fetch_core_registers): Ditto & add prototype.
396 * rs6000-nat.c (fetch_core_registers): Ditto.
397 * sparc-nat.c (fetch_core_registers): Ditto.
398 * sun3-nat.c (fetch_core_registers): Ditto & add prototype.
399 * ultra3-nat.c (fetch_core_registers): Ditto & add prototype.
401 * alpha-nat.c (register_addr): Match Sep 4 gdbcore.h prototype change.
402 * delta68-nat.c (register_addr): Ditto.
403 * gdbserver/low-linux.c (register_addr): Ditto.
404 * gdbserver/low-hppabsd.c (register_addr): Ditto.
405 * i386m3-nat.c (register_addr): Ditto.
406 * mips-nat.c (register_addr): Ditto.
407 * ultra3-nat.c (register_addr): Ditto.
409 Sun Sep 8 15:14:00 1996 Stu Grossman (grossman@critters.cygnus.com)
411 * blockframe.c (inside_main_func): Cleanup slightly. Move
412 mainsym def into the block it's used in.
413 * configure.in configure: Allow NATDEPFILES to be recognized in
414 .mh files regardless of whitespace.
416 * cpu32bug-rom.c (cpu32bug_cmds): Change load_response string to
417 keep downloads from hanging.
419 * remote-wiggler.c: Add support for flash upgrades.
420 * (wiggler_error): Fix message format. Add new error code.
421 * (wiggler_write_byets): Error code is hex. Report errors with
423 * (wiggler_read_byets): Report errors with proper routine name.
424 * (get_packet): Add support for new flash commands.
425 * (wiggler_load): Call clear_symtab_users() to reset things
426 properly after download.
427 * (flash_xfer_memory bdm_update_flash_command): New funxtions to
428 support flash upgrades for Wiggler.
429 * (_initialize_remote_wiggler): Add `bdm update-flash' command.
431 Fri Sep 6 13:14:13 1996 Geoffrey Noer <noer@cygnus.com>
433 * ser-tcp.c: don't include netinet/tcp.h if __CYGWIN32__
435 Thu Sep 5 17:05:13 1996 Geoffrey Noer <noer@cygnus.com>
437 * config/i386/cygwin32.mh:
438 * config/powerpc/cygwin32.mh: build ser-tcp.o for both hosts
440 Thu Sep 5 12:09:13 1996 Per Bothner <bothner@deneb.cygnus.com>
442 * value.h (COERCE_REF): Fix previous change.
443 (COERCE_ENUM): Add a check_typedef (this is the real fix).
445 Thu Sep 5 03:28:30 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
447 * eval.c (evaluate_subexp_standard): In case of OP_ARRAY: make a
448 better check of array boundaries.
450 Thu Sep 5 01:29:42 1996 Stu Grossman (grossman@critters.cygnus.com)
452 * configure: Update aclocal.m4 and re-run autoconf to get correct
454 * remote-wiggler.c (wiggler_error): Error codes are hex. Also,
455 fix default message generation.
457 Wed Sep 4 17:28:40 1996 Stu Grossman (grossman@critters.cygnus.com)
459 * Makefile.in: Add mswin to SUBDIRS. Add rules for
460 mswin/libwingdb.a and remote-wiggler.o.
461 * breakpoint.c (breakpoint_here_p): Clean up bp enabled test.
462 * (breakpoint_inserted_here_p): New func, just like
463 breakpoint_here_p, except it's honest. Honestly.
464 * breakpoint.h: Proto for above.
466 * configure configure.in: Add host *windows* to list of hosts
467 that don't support GDBtk.
469 * configure configure.in: Add mswin to configdirs if host is
471 * core-aout.c (fetch_core_registers register_addr) gdbcore.h:
472 Change all vars that can contain addresses to type CORE_ADDR.
473 * findvar.c (supply_register): Allow val to be NULL. This means
474 that regno is unsupported.
475 * (read_pc read_pc_pid write_pc write_pc_pid): Make non-pid forms
476 just call pid forms with inferior_pid so that there's only once
477 place to hack PC's and such.
478 * infrun.c (proceed): Don't skip breakpoints if user changed PC.
479 * remote-wiggler.c: New file. Support for BDM interface from
481 * serial.c: Enhance serial logging capability. Add hex and octal
482 output modes (set remotelogbase {hex|octal|ascii}. Also log
483 breaks, timeouts, errors, and eofs.
484 * serial.h: Redefine SERIAL_SEND_BREAK to go through a wrapper
485 function so that we can log breaks. Don't export serial_logfile
487 * top.c (execute_command): Don't test for serial_logfp here.
488 Just call serial_log_comand, and let serial.c sort it out.
489 * valops.c (value_of_variable): Don't attempt to establish frames
490 for static and global variables. This makes things work a bit
491 better if the stack or frame pointer is trashed.
492 * config/m68k/monitor.mt (TDEPFILES): Add remote-wiggler.o.
493 * config/m68k/tm-m68k.h: Define STACK_ALIGN. CPU32 can't hack
494 misaligned stacks during function calls.
496 Wed Sep 4 13:06:26 1996 Ian Lance Taylor <ian@cygnus.com>
498 * terminal.h: Don't use #elif.
500 Wed Sep 4 06:49:35 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
502 * ch-exp.c (parse_tuple_element): Allow (*): for array tuples
505 * eval.c (evaluate_subexp_standard): In case of OP_ARRAY:
506 check number of args against bounds of array to avoid
509 * value.h (COERCE_REF): Do a CHECK_TYPEDEF in case we get
512 Fri Aug 30 15:07:14 1996 James G. Smith <jsmith@cygnus.co.uk>
514 * remote-mips.c: Provide support for DDBVR4300 target board.
515 (ddb_open, ddb_ops): Added.
516 (mips_monitor_type): MON_DDB Added.
517 (mips_enter_debug, mips_exit_debug, mips_initialize,
518 mips_fetch_registers, common_breakpoint, mips_load,
519 _initialize_remote_mips): Updated.
521 Thu Aug 29 17:00:18 1996 Michael Meissner <meissner@tiktok.cygnus.com>
523 * nlm/configure.in (i[345]86-*-*): Recognize i686 for pentium pro.
524 * nlm/configure: Regenerate.
526 * gdbserver/configure.in (i[345]86-*-*): Recognize i686 for
529 Wed Aug 28 13:11:15 1996 Ian Lance Taylor <ian@cygnus.com>
531 * configure.in: If CY_AC_PATH_TCLCONFIG can't find TCL, don't run
532 CY_AC_LOAD_TCLCONFIG.
533 * configure: Rebuild.
535 Tue Aug 27 12:40:40 1996 Fred Fish <fnf@cygnus.com>
537 * infrun.c (wait_for_inferior): Initialize stop_func_end before calling
538 find_pc_partial_function.
540 Tue Aug 27 10:17:34 1996 Michael Meissner <meissner@tiktok.cygnus.com>
542 * configure: Regenerate again.
544 Tue Aug 27 04:25:08 1996 Geoffrey Noer <noer@cygnus.com>
546 * configure.in: work around host_alias configure bug.
547 AC_CANONICAL_HOST is called twice (first by AC_CHECK_TOOL
548 and second by AC_CANONICAL_SYSTEM). The second clobbers the
549 previous setting. Circumventing by moving the second check
551 * configure: regenerated
554 Mon Aug 26 18:36:54 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
556 * config/d10v/d10v.mt: New file.
557 * config/d10v/tm-d10v.h: New file.
558 * configure.in: New target D10V.
559 * d10v-tdep.c: New file.
562 Sun Aug 25 00:09:47 1996 Fred Fish <fnf@rtl.cygnus.com>
564 * rs6000-tdep.c: Fix typo in comment.
565 * valops.c (call_function_by_hand): Set using_gcc to 2
566 for code compiled without -g, per comment in code.
567 * config/a29k/tm-a29k.h (STACK_ALIGN): Add comment.
568 * config/sparc/tm-sparc.h (STACK_ALIGN): Add comment.
569 * config/sparc/tm-sp64.h (STACK_ALIGN): Add comment.
570 * config/pyr/tm-pyr.h (STACK_ALIGN): Add comment.
571 * config/m88k/tm-m88k.h (STACK_ALIGN): Add comment.
572 * config/pa/tm-hppa.h (PUSH_ARGUMENTS): Enclose args in ()'s.
573 (STACK_ALIGN): Add comment, move to be with other associated
574 macros, and document.
575 * config/mips/tm-mips.h (PUSH_ARGUMENTS): Enclose args in ()'s.
576 (STACK_ALIGN): Remove completely, handled by PUSH_ARGUMENTS.
577 * config/alpha/tm-alpha.h (PUSH_ARGUMENTS): Enclose args in ()'s.
578 * config/rs6000/tm-rs6000.h (STACK_ALIGN): Remove completely,
579 handled by PUSH_ARGUMENTS.
580 (PUSH_ARGUMENTS): Enclose args in ()'s.
582 Fri Aug 23 13:55:05 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
584 * infrun.c (wait_for_inferior): Try to reenable shared library
585 breakpoints even if auto_solib_load is not set.
587 Fri Aug 23 00:44:57 1996 Fred Fish <fnf@cygnus.com>
589 * gdbtk.c (gdbtk_init): Check for a DISPLAY env variable and
590 gracefully degrade to using command line interface if none is
593 Wed Aug 21 16:31:27 1996 Fred Fish <fnf@cygnus.com>
595 * valprint.c (print_longest): Test for CC_HAS_LONG_LONG as well as
596 PRINTF_HAS_LONG_LONG.
597 * expprint.c (dump_expression): Ditto.
598 * configure.in: Fix check for long long support in compiler to
599 use a function body, not a nested function.
600 * configure: Rebuild with autoconf.
602 Tue Aug 20 17:59:42 1996 Ian Lance Taylor <ian@cygnus.com>
604 * aclocal.m4: Include ../bfd/aclocal.m4.
605 * configure.in: Add stdlib.h to AC_CHECK_HEADERS. Call
606 BFD_NEED_DECLARATION on malloc, realloc, and free.
607 * acconfig.h: Add NEED_DECLARATION_MALLOC,
608 NEED_DECLARATION_REALLOC, and NEED_DECLARATION_FREE.
609 * configure, config.in: Rebuild.
610 * defs.h: Include <stddef.h> and <stdlib.h> based on HAVE_*_H
611 rather than __STDC__. Only declare malloc, realloc, and free if
612 NEED_DECLARATION_* is defined.
614 Tue Aug 20 15:37:03 1996 Fred Fish <fnf@cygnus.com>
616 * solib.c (_initialize_solib): Add missing '\' chars at ends of
617 strings that continue on next line.
618 (enable_break): Replace "return 0" with setting success to zero
619 and letting normal return handle the return.
621 Sat Aug 17 14:16:23 1996 Fred Fish <fnf@cygnus.com>
623 * mips-tdep.c (mips_push_arguments): Make sure sp and struct_addr
624 are properly aligned.
626 Fri Aug 16 17:54:26 1996 Stan Shebs <shebs@andros.cygnus.com>
628 * rs6000-tdep.c (rs6000_fix_call_dummy): Add full set of arguments.
629 * config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Pass all arguments
630 to function, declare function correctly.
632 Fri Aug 16 17:24:35 1996 Dawn Perchik <dawn@critters.cygnus.com>
634 * symtab.h: changed namespace to _namespace for compiling under
637 Fri Aug 16 13:52:21 1996 Stan Shebs <shebs@andros.cygnus.com>
639 * mpw-make.sed: Update for various recent changes, add some
642 * mpw-config.in: Fix name of Magic Cap-specific file.
645 Fri Aug 16 15:47:36 1996 Michael Meissner <meissner@tiktok.cygnus.com>
647 * config/rs6000/tm-rs6000.h (FIX_CALL_DUMMY): Cast args to be an
648 integer for type correctness.
650 Fri Aug 16 15:15:37 1996 James G. Smith <jsmith@cygnus.co.uk>
652 * config/mips/{vr4300.mt, vr4300el.mt} (SIM): Add -lm when
653 simulator is included.
655 Thu Aug 15 13:44:13 1996 Fred Fish <fnf@cygnus.com>
657 * findvar.c (write_register_pid): Only needed when TARGET_WRITE_PC
659 (read_register_pid): Only needed when TARGET_READ_PC is not
661 * hppa-tdep.c (frame_saved_pc): Remove prototype.
662 * infptrace.c (udot_info): Prototype when CHILD_XFER_MEMORY is
664 * config/xm-aix4.h (aix_resizewindow): Convert old style decl
666 * xcoffsolib.c (command.h): Include for needed prototypes.
668 Wed Aug 14 17:54:19 1996 Stu Grossman (grossman@critters.cygnus.com)
670 * config/i386/cygwin32.mh: Set NAT_FILE to nm-empty.h to make
673 Wed Aug 14 02:03:42 1996 Fred Fish <fnf@cygnus.com>
675 From Blair MacIntyre <bm@cs.columbia.edu>:
676 * hppa-tdep.c (hppa_fix_call_dummy): Use MSYMBOL_TYPE rather
677 than SYMBOL_TYPE on msymbols.
678 * somsolib.c (som_solib_create_inferior_hook): Ditto.
680 * Makefile.in (init.c): Generate with prototypes.
682 * config/pa/tm-hppa.h (frame_saved_pc): Add prototype.
683 * config/rs6000/xm-rs6000.h (aix_resizewindow): Ditto.
684 * config/rs6000/tm-rs6000.h (frame_initial_stack_address): Ditto.
685 (pc_load_segment_name): Ditto.
687 (extract_return_value): Ditto.
688 (is_magic_function_pointer): Ditto.
689 (push_dummy_frame): Ditto.
690 (fix_call_dummy): Ditto.
691 (push_arguments): Ditto.
692 (skip_trampoline_code): Ditto.
693 (aix_process_linenos): Ditto.
695 * config/m68k/tm-cisco.h (get_longjmp_target): Add prototype.
696 * config/m68k/tm-es1800.h: Ditto.
697 * config/m68k/tm-vx68.h: Ditto.
698 * config/m68k/tm-sun3.h: Ditto.
699 * config/m68k/tm-m68kv4.h: Ditto.
701 Tue Aug 13 23:04:36 1996 Fred Fish <fnf@cygnus.com>
703 * config/mips/nm-mips.h (get_longjmp_target): Add prototype.
704 * config/mips/nm-irix3.h (get_longjmp_target): Add prototype.
705 * remote-mips.c (mips_read_processor_type): Remove prototype.
706 * mips-tdep.c (gdb_print_insn_mips): Add prototype and make static.
707 * irix5-nat.c (fetch_core_registers): Add prototype.
709 Mon Aug 12 21:23:44 1996 Fred Fish <fnf@cygnus.com>
711 * remote-pa.c (boot_board): Add dummy params to make type compatible
712 for passing to add_com.
713 * scm-exp.c (scm_lreadr): Ensure svalue is not used uninitialized.
714 * buildsym.c (compare_line_numbers): Change function to match
715 prototype and also what qsort expects.
717 Mon Aug 12 19:19:00 1996 Mark Alexander <marka@cygnus.com>
719 * remote.c: Make remote_write_size public.
720 * sh-tdep.c (_initialize_sh_tdep): Set remote_write_size to 300
721 to prevent packet errors with some versions of CMON.
723 Mon Aug 12 16:20:58 1996 Stu Grossman (grossman@critters.cygnus.com)
725 * defs.h: Define CONST_PTR as blank if compiling with Microsoft
726 C, else it's `const'.
727 * c-lang.c c-lang.h ch-lang.c f-lang.c language.c m2-lang.c
728 scm-lang.c: Microsoft C can't hack const pointers. Use CONST_PTR
730 * configure configure.in defs.h: Use AC_C_CONST to figure out if
731 the compiler supports const. Gets rid of some cruft in defs.h.
732 * dwarf2read.c: <string.h> -> "gdb_string.h"
733 * remote-sim.c: Add prototypes. Fix call to gdbsim_kill.
734 * sparcl-tdep.c (download): Add prototypes to write_routine and
737 * mswin/gdbwin.c: Don't include both varargs.h AND stdarg.h. Get
738 rid of varargs.h Include string.h.
739 * (gdbwin_update gdbwin_fputs regs_changed_f bpt_changed_f
740 update): Fix prototypes, fix calls.
741 * (update): Return value for catch_errors.
742 * (run_execute_command togdb_command_from_tty togdb_command):
743 Cleanup catching of errors from calls to execute_command. Also,
744 dup command string to avoid modifying const strings.
745 * (togdb_breakinfo_i_init togdb_breakinfo_i_next): Use 0 instead
746 of NULL when see if b->address isn't set.
747 * (bi_disable_bpt bi_enable_bpt bi_delete_all
748 bi_delete_breakpoint): Add arg to calls to update.
749 * (gui_command): Add prototype.
750 * (mswin_query): Fix prototype.
751 * (_initialize_gdbwin): Dup string to avoid modifying const.
752 * (info_path togdb_get_info_path): Remove const from decls cuz
753 this can't be const (it points at malloc'ed memory).
754 * (togdb_searchpath): Remove const from path. Dup string to
755 avoid modifying const strings.
757 * (gdbwin_list_symbols): Regexp param is const.
758 * Fix lots of refs to psymtabs to deref correct pointers.
759 * (togdb_set_breakpoint_sal): Call set_breakpoint_sal with sal,
761 * mswin/gdbwin.h (togdb_searchpath togdb_get_info_path
762 toget_set_info_path): Fix prototypes to match reality.
763 * mswin/gui.cpp: Define _beginthreadex and _endthreadex routines
764 with proper prototypes.
765 * mswin/iface.cpp (gdbwin_fputs): Define with correct number of args.
766 * mswin/ser-win32s.c: Fix defs of min and max.
767 * mswin/serdll32.c (OpenComm16): Make cbInQueue and cbOutQueue be
769 * (WriteComm16): Change lpBug from LPVOID to LPCSTR.
770 * mswin/serdll32.h: Fix prototypes for OpenComm16 and WriteComm16.
772 Sun Aug 11 20:54:16 1996 Stu Grossman (grossman@critters.cygnus.com)
774 * main.c (main): Make sure command loop is used with cygwin32.
775 * terminal.h: Allow cygwin32 to use termios.h.
778 Fri Aug 9 12:32:53 1996 Tom Tromey <tromey@creche.cygnus.com>
780 * Makefile.in (LIB_INSTALL_DIR): New macro.
781 (TCL): Include @TCL_LD_SEARCH_FLAGS@.
784 Fri Aug 9 12:42:49 1996 Jeffrey A Law (law@cygnus.com)
786 * somread.c (som_symtab_read): Handle secondary definition
787 symbols (aka weak symbols).
789 * config/tm-hppa.h (EXTRACT_RETURN_VALUE): Fix thinko in
792 Thu Aug 8 10:12:36 1996 Stu Grossman (grossman@critters.cygnus.com)
794 * symfile.c (symfile_bfd_open): Change ifdef from __WIN32__ to
797 * somread.c: Rearrange order of includes to fix warnings under
798 hpux-10.10. Also don't include sys/file.h.
800 Wed Aug 7 21:45:52 1996 Stu Grossman (grossman@critters.cygnus.com)
802 * dbxread.c: Don't include param.h or sys/file.h.
803 * (dbx_symfile_read): Determine symfile_relocatable from bfd
804 flags instead of file extension. Also clean up a little bit.
806 Wed Aug 7 17:18:37 1996 Stu Grossman (grossman@critters.cygnus.com)
808 * dwarf2read.c dwarfread.c exec.c infcmd.c infrun.c main.c
809 mdebugread.c os9kread.c source.c top.c utils.c: Don't
810 include param.h or sys/file.h (or unistd.h in some cases).
811 * defs.h exec.c inflow.c remote-array.c remote-e7000.c
812 sparcl-tdep.c terminal.h utils.c: Replace all occurances of
813 __WIN32__, WINGDB, WIN32, etc... with _WIN32.
814 * main.c: Remove #ifndef WINGDB around option processing. Fix
815 bug with passing argc==0 and argv==NULL to getopt.
816 * (main) Remove calls to access() before source_command. Let
817 soure_command handle access errors.
818 * maint.c (maintenance_dump_me): #ifdef out for _WIN32.
819 * symtab.c (operator_chars): Make this global for wingdb.
820 * top.c (disconnect): #ifdef out for _WIN32.
821 * (source_command): If got an error and from_tty, then call print
822 error, else just return quietly.
823 * utils.c (fatal_dump_core): Can't kill ourselves under windows.
825 * (pollquit notice_quit): #ifdef out stuff that doesn't exist
828 Wed Aug 7 09:59:19 1996 Jeffrey A Law (law@cygnus.com)
830 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Tweak for
831 structures > 4 bytes in size.
833 * valops.c (call_function_by_hand): Handle aligning stacks that
835 * config/pa/tm-hppa.h (USE_STRUCT_CONVENTION): Define.
836 (STACK_ALIGN): Define.
837 * hppa-tdep.c (hppa_alignof): Don't demand a minumim two byte
838 alignment on structs/unions.
840 Sun Aug 4 16:22:42 1996 Fred Fish <fnf@cygnus.com>
842 * config/powerpc/nm-aix.h (PTRACE_ARG3_TYPE): Define to "int *",
843 which is the documented type under at least AIX 3 and AIX 4.
845 Sat Aug 3 04:02:46 1996 Fred Fish <fnf@cygnus.com>
847 * config/alpha/alpha-osf3.mh (XM_FILE): Change from xm-alpha.h to
849 (MMALLOC_CFLAGS): Define NO_MMCHECK to not install consistency
853 Thu Aug 1 20:35:01 1996 Tom Tromey <tromey@creche.cygnus.com>
855 * gdbtk.c (mainWindow): Deleted.
856 (cleanup_init): Don't destroy main window.
857 (gdbtk_init): Main window now created by Tk_Init.
859 * configure.in: Most X checks now handled automatically by Tk.
860 Use new macros to find Tcl/Tk.
861 * aclocal.m4: New version for new Tcl/Tk; from Don Libes.
862 * config.in, configure: Regenerated.
864 * Makefile.in (TCL, TCL_CFLAGS, TK, TK_CFLAGS, X11_CFLAGS,
865 X11_LDFLAGS, X11_LIBS): Changed for new Tcl and Tk.
868 Thu Aug 1 10:11:34 1996 Fred Fish <fnf@cygnus.com>
870 * config/mips/tm-mips.h (TM_MIPS_H): Enclose file contents in
871 this, define when contents are included.
872 (mips_read_processor_type): Add prototype.
873 * config/mips/xm-mips.h: Remove strdup decl, now in gdb_string.h
874 * mdebugread.c (ecoff_relocate_efi): Add prototype.
875 (fixup_sigtramp): Only needed when TM_MIPS_H is defined.
878 Thu Aug 1 16:12:05 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
880 * Makefile.in (gdbtk.tcl): put in $(datadir), not $(libdir).
883 Wed Jul 31 20:21:24 1996 Fred Fish <fnf@cygnus.com>
885 * rs6000-nat.c (add_vmap): Return 0 to caller rather than random value.
886 (vmap_ldinfo): Ensure got_exec_file is not used uninitialized.
887 (fetch_core_registers): Add prototype.
888 (vmap_symtab): Ditto.
889 (objfile_symbol_add): Ditto.
891 (vmap_ldinfo): Ditto.
894 Tue Jul 30 17:57:46 1996 Stan Shebs <shebs@andros.cygnus.com>
896 * stabsread.c (get_substring): Declare second arg as int.
898 * remote-es.c: Include gdb_string.h after defs.h.
900 Mon Jul 29 21:13:20 1996 Fred Fish <fnf@cygnus.com>
902 * rs6000-tdep.c (push_arguments): Remove unused variable "pc".
903 (branch_dest): Remove unused variable "offset".
904 (pop_dummy_frame): Add prototype and make static.
905 (push_arguments): Guard against using len uninitialized.
906 (push_arguments): Guard against using arg uninitialized.
907 (frame_saved_pc): Remove unused variable "frameless".
908 (free_loadinfo): Ifdef out unused function.
910 * xcoffread.c (compare_lte): Change prototype and function to
911 be correct type for passing to qsort.
912 (add_stab_to_list): Ifdef out unused function and prototype.
913 (compare_lte): Add prototype
914 (arrange_linetable): Ditto.
915 (record_include_begin): Ditto.
916 (record_include_end): Ditto.
917 (process_linenos): Ditto.
918 (xcoff_next_symbol_text): Ditto.
919 (scan_xcoff_symtab): Ditto.
920 (xcoff_initial_scan): Ditto.
922 * mips-tdep.c (mips_read_processor_type): Add parens around
923 bitwise-and operands in comparison; previous expression always
924 evaluated to 0 because of equality comparison of two constants.
926 * rs6000-tdep.c (skip_prologue): Add missing parens around
927 operands of logical-or so that first operand does not bind
928 to previous logical-and.
930 * configure.in: Expand "long long" test to include code that triggers
931 known problem on HPUX with native compiler.
932 (configure): Regenerated.
934 Mon Jul 29 18:12:27 1996 Jeffrey A Law (law@cygnus.com)
936 * somsolib.c (som_solib_create_inferior_hook): Don't
937 warn if __d_pid can't be found.
939 Sun Jul 28 10:46:39 1996 Fred Fish <fnf@cygnus.com>
941 * config/mips/tm-mips.h (struct frame_info): Forward decl.
942 (struct type): Ditto.
943 (struct value): Ditto.
945 * config/mips/tm-mips.h (sigtramp_address): Move extern decl
946 from mips-tdep.c to here.
947 (sigtramp_end): Ditto.
948 (fixup_sigtramp): Ditto.
950 * config/mips/tm-mips.h (init_extra_frame_info): Add prototype.
951 (mips_frame_chain): Ditto.
952 (mips_step_skips_delay): Ditto.
953 (mips_frame_saved_pc): Ditto.
954 (mips_find_saved_regs): Ditto.
955 (mips_frame_num_args): Ditto.
956 (mips_pop_frame): Ditto.
957 (mips_extract_return_value): Ditto.
958 (mips_store_return_value): Ditto.
959 (mips_push_dummy_frame): Ditto.
960 (mips_push_arguments): Ditto.
961 (mips_do_registers_info): Ditto.
962 (ecoff_relocate_efi): Ditto.
963 (ecoff_relocate_efi): Ditto.
964 * irix4-nat.c (fetch_core_registers): Add prototype.
965 * mips-tdep.c (read_next_frame_reg): Add prototype
966 (heuristic_proc_start): Ditto.
967 (heuristic_proc_desc): Ditto.
968 (mips_print_register): Ditto.
969 * config/mips/nm-irix5.h (procfs_set_watchpoint): Add prototype.
970 (procfs_stopped_by_watchpoint): Ditto.
971 * config/mips/nm-irix4.h (procfs_set_watchpoint): Add prototype.
972 (procfs_stopped_by_watchpoint): Ditto.
973 * config/alpha/tm-alpha.h (ecoff_relocate_efi): Add prototype.
974 (struct symbol): Add forward decl for prototype.
976 * breakpoint.c (internal_breakpoint_number): Only needed if
977 GET_LONGJMP_TARGET or SOLIB_ADD is defined.
979 * objfiles.c (ecoff_relocate_efi): Remove prototype.
981 Sat Jul 27 17:47:35 1996 Fred Fish <fnf@cygnus.com>
983 * configure.in: Add test for "long long" support.
984 * configure: Regenerate with autoconf.
985 * acconfig.h: Add CC_HAS_LONG_LONG
986 * config.in: Regenerate with autoheader.
987 * config/mips/tm-mips64.h (FORCE_LONG_LONG): Remove
988 * config/sparc/tm-sp64.h (CC_HAS_LONG_LONG): Remove.
989 * config/mips/tm-vr4300el.h (CC_HAS_LONG_LONG): Remove.
990 * config/mips/tm-vr4300.h (CC_HAS_LONG_LONG): Remove.
991 * config/mips/xm-irix5.h (CC_HAS_LONG_LONG): Remove
992 (PRINTF_HAS_LONG_LONG): Remove.
993 (FORCE_LONG_LONG): Remove.
994 * config/powerpc/xm-aix.h (UINT_MAX): Undef and use gdb's version.
995 * config/convex/xm-convex.h (CC_HAS_LONG_LONG): Remove
996 (PRINTF_HAS_LONG_LONG): Remove.
997 * config/xm-nbsd.h (CC_HAS_LONG_LONG): Remove.
998 (PRINTF_HAS_LONG_LONG): Remove.
999 * config/pa/tm-hppa.h (GET_FIELD): Put parens around
1000 subtraction inside shift. Put parens around subtraction
1001 in operand of bitwise and.
1002 (struct frame_info): Forward declare
1003 if __STDC__ defined.
1004 (frame_saved_regs): Ditto.
1005 (struct value): Ditto.
1006 (struct type): Ditto.
1007 (struct inferior_status): Ditto.
1008 (init_extra_frame_info): Add prototype.
1009 (skip_prologue): Ditto.
1010 (frameless_function_invocation): Ditto.
1011 (frame_chain): Ditto.
1012 (frame_chain_valid): Ditto.
1013 (saved_pc_after_call): Ditto.
1014 (hppa_fix_call_dummy): Ditto.
1015 (hppa_push_arguments): Ditto.
1016 (pa_do_registers_info): Ditto.
1017 (in_solib_call_trampoline): Ditto.
1018 (in_solib_return_trampoline): Ditto.
1019 (push_dummy_frame): Ditto.
1020 * convex-tdep.c (decout): Use print_longest rather than
1022 * defs.h: Remove use of FORCE_LONG_LONG and __GNUC__ to set
1024 (INT_MIN): Fix so it works correctly when assigned to a long long.
1025 * valprint.c (longest_to_int): Rewrite to remove dependence
1026 on INT_MIN and INT_MAX.
1027 (print_longest): Rewrite the code that falls back to synthesized
1028 hex output when LONGEST value is not representable as in a long and
1029 printf doesn't support printing long longs.
1030 * ch-valprint.c (chill_val_print): Cast 2nd arg of
1031 chill_print_type_scalar to LONGEST.
1032 chill_print_type_scalar): Make static and add prototype.
1033 * hppa-tdep.c (get_field): Ifdef out unused function.
1036 (extract_5_store): Ditto.
1037 (extract_11): Ditto.
1038 (extract_12): Ditto.
1039 (deposit_17): Ditto.
1040 (extract_14): Convert to static and add prototype.
1041 (deposit_14): Ditto.
1042 (extract_21): Ditto.
1043 (deposit_21): Ditto.
1044 (extract_17): Ditto.
1045 (extract_5r_store): Ditto.
1046 (extract_5R_store): Ditto.
1047 (extract_5_load): Ditto.
1048 (find_proc_framesize): Ditto.
1049 (find_dummy_frame_regs): Ditto.
1050 (sign_extend): Ditto.
1051 (find_unwind_entry): Add prototype.
1052 (find_return_regnum): Ditto.
1053 (unwind_command): Ditto.
1054 (find_dummy_frame_regs): Add parens around subtraction in operand
1056 (skip_prologue): Add parens around operands of logical-and inside
1057 operand of logical-or.
1058 (sign_extend): Add parens around operands of subtraction inside
1060 (low_sign_extend): Ditto.
1061 * top.c (filename_completer): Convert old style decl of
1062 filename_completion_function into prototype.
1063 * f-lang.c (patch_common_entries): Ifdef out unused function.
1064 * stabsread.c (read_cfront_baseclasses): Remove unused local
1065 variable "msg_noterm".
1066 (resolve_cfront_continuation): Remove unused local variable "fip".
1067 (read_type): Remove unused variable xtypenums.
1068 (read_cfront_static_fields): Remove unused variable "i".
1069 (read_cfront_static_fields): Remove unused variable "nfields".
1070 (read_cfront_member_functions): Add missing comment terminator.
1071 (read_cfront_static_fields): Return 1 rather than random value.
1072 (read_cfront_baseclasses): Ditto.
1073 (read_cfront_baseclasses): Ditto.
1074 (read_cfront_baseclasses): Ditto.
1075 * somsolib.c (som_solib_create_inferior_hook): Remove unused
1077 (som_solib_create_inferior_hook): Remove unused variable
1079 (language.h): Add for needed prototypes.
1080 (som_solib_sharedlibrary_command): Add prototype.
1081 * hpread.c: (hpread_read_array_type): Add prototype.
1082 * somread.c (hpread_build_pysmtabs): Add prototype.
1083 (hpread_symfile_finish): Ditto.
1084 (hpread_symfile_init): Ditto.
1085 * hppah-nat.c (fetch_register): Convert old style decl
1087 (gdbcore.h): Include for needed prototypes.
1088 (fetch_register): Remove unused variable "mess".
1089 * remote-pa.c (get_offsets): Ifdef out unused function.
1090 (remote_start_remote): Remove unused variable "timeout".
1091 (boot_board): Add prototype.
1092 (reaad_frame): Add prototype.
1093 (getpkt): Remove unused variable "bp".
1094 (remote_kill): Add prototype.
1095 (remote_mourn): Add prototype.
1096 (remote_insert_breakpoint): Add prototype.
1097 (remote_remove_breakpoint): Add prototype.
1098 * valops.c (value_push): Only use if PUSH_ARGUMENTS is not defined.
1099 * infcmd.c (do_registers_info): Only need prototype if
1100 DO_REGISTERS_INFO is not defined.
1101 (breakpoint_auto_delete_contents): Only need if
1102 CALL_DUMMY_BREAKPOINT_OFFSET is defined.
1104 Sat Jul 27 08:49:49 1996 Fred Fish <fnf@cygnus.com>
1106 * xcoffread.c (xcoff_end_psymtab): Add textlow_not_set parameter.
1107 (END_PSYMTAB): Ditto.
1108 (scan_xcoff_symtab): Call xcoff_end_psymtab with textlow_not_set.
1110 Fri Jul 26 14:07:37 1996 Ian Lance Taylor <ian@cygnus.com>
1112 * printcmd.c (_initialize_printcmd): Initialize
1113 tm_print_insn_info.flavour.
1114 start-sanitize-gdbtk
1115 * gdbtk.c (gdb_disassemble): Initialize di.flavour.
1118 Thu Jul 25 19:41:31 1996 Fred Fish <fnf@cygnus.com>
1120 * Makefile.in (scm-valprint.o): Depends upon gdbcore_h.
1121 (arm-tdep.o): Ditto.
1123 (i386ly-tdep.o): Ditto.
1124 (i960-tdep.o): Ditto.
1125 (m68k-tdep.o): Ditto.
1126 (nindy-tdep.o): Ditto.
1127 (scm-lang.o): Ditto.
1128 (w65-tdep.o): Ditto.
1129 (z8k-tdep.o): Ditto.
1130 (m68k-tdep.o): Depends upon value_h and gdb_string.h
1131 (m2-valprint.o): Depends upon m2-lang.h.
1132 (sparc-tdep.o): Depends upon gdb_string.h
1133 (valprint.o): Depends upon valprint.h
1135 * remote-e7000.c (notice_quit): Remove prototype.
1136 * top.c (initialize_targets): Remove prototype, now in target.h.
1137 * stabsread.c (resolve_cfront_continuation): Remove prototype.
1138 * dbxread.c (resolve_cfront_continuation): Remove prototype.
1139 * symfile.h (set_demangling_style): Remove prototype.
1140 * config/tm-sysv4.h (in_plt_section): Remove prototype, in objfiles.h.
1141 * config/sparc/tm-sparc.h (single_step): Remove extern decl, now in
1143 * config/arc/tm-arc.h (one_stepped, single_step): Remove extern decls,
1145 * ser-unix.c (hardwire_restore): Remove obsolete prototype.
1146 * sparc-tdep.c (single_step): Remove forward decl of isbranch.
1147 * scm-lang.c (find_function_in_inferior): Remove prototype.
1148 (value_allocate_space_in_inferior): Ditto.
1149 * infrun.c (write_pc_pid): Remove prototype, now in inferior.h.
1150 * defs.h (strchr): Remove declarations, they are declared in
1156 * f-valprint.c (f77_print_array_1): Remove extra arg that was being
1157 passed to f77_print_array_1.
1158 * gdbtypes.c (add_name): Remove unused variables lenstrlen and lenstr.
1159 * scm-exp.c (scm_istr2int): Remove unused variable "j".
1160 (scm_parse): Remove unused variable "str".
1161 * hp300ux-nat.c (store_inferior_register): Remove unused variable
1163 (store_inferior_registers): Remove unnecessary decl "registers".
1164 * m68k-tdep.c (m68k_pop_frame): Remove unused variable "fi".
1165 * scm-lang.c (scm_get_field): Remove unused variable "val".
1166 (scm_lookup_name): Remove unused variable "symval".
1167 * objfiles.c (map_to_file): Remove unused local variable "tempfd".
1168 * procfs.c (do_attach, do_detach): Remove unused variable "result".
1169 (last_resume_pid): Remove unused static variable.
1170 * alpha-tdep.c (alpha_linux_sigtramp_offset): Remove unused variable
1172 * objfiles.c (map_to_address): Remove unused function.
1173 * f-valprint.c (print_max): Remove extraneous extern decl,
1175 (calc_f77_array_dims): Remove extraneous prototype, in f-lang.h.
1176 * ch-exp.c (write_lower_upper_value): Remove prototype for
1179 * gdbtypes.c (cfront_mangle_name): #ifdef out unused function.
1180 * ch-exp.c (parse_mode_call): Ditto.
1181 * f-valprint.c (there_is_a_visible_common_named): Ditto.
1182 * f-lang.c (clear_function_list): Ditto.
1183 (get_bf_for_fcn): Ditto.
1184 (clear_bf_list): Ditto.
1185 (add_common_block): Ditto.
1186 (patch_all_commons_by_name): Ditto.
1187 (find_first_common_named): Ditto.
1188 (add_common_entry): Ditto.
1189 (allocate_saved_function_node): Ditto.
1190 (allocate_saved_bf_node): Ditto.
1191 (allocate_common_entry_node): Ditto.
1192 (allocate_saved_f77_common_node): Ditto.
1194 * arm-tdep.c (gdbcore.h): Include for necessary prototypes.
1195 * dcache.c (gdbcore.h): Ditto.
1196 * i386ly-tdep.c (gdbcore.h): Ditto.
1197 * i960-tdep.c (gdbcore.h): Ditto.
1198 * m2-valprint.c (m2-lang.h): Ditto.
1199 * m68k-tdep.c (gdbcore.h): Ditto.
1201 (gdb_string.h): Ditto.
1202 * nindy-tdep.c (gdbcore.h): Ditto.
1203 * scm-lang.c (gdbcore.h): Ditto.
1204 * scm-valprint.c (gdbcore.h): Ditto.
1205 * w65-tdep.c (gdbcore.h): Ditto.
1206 * z8k-tdep.c (gdbcore.h): Ditto.
1207 * sparc-tdep.c (gdb_string.h): Include.
1208 * valprint.c (valprint.h): Include.
1210 * config/xm-lynx.h: Remove part of comment about INT_MIN
1211 redefined warnings from defs.h, since INT_MIN define in
1212 defs.h is now protected by #ifndef INT_MIN.
1213 * config/i386/xm-i386bsd.h: Ditto.
1214 * config/m68k/xm-hp300bsd.h: Ditto.
1215 * config/m68k/xm-news.h: Ditto.
1217 * config/pa/xm-hppah.h (INT_MIN): Remove bogus INT_MIN
1218 definition as 0x80000000. The macro in defs.h is better.
1219 * config/i386/xm-i386m3.h (INT_MIN): Ditto.
1220 * config/i386/xm-i386mach.h (INT_MIN): Ditto.
1221 * config/ns32k/xm-ns32km3.h (INT_MIN): Ditto.
1222 * config/pa/xm-hppab.h: Ditto.
1224 * core-aout.c (fetch_core_registers): Add prototype.
1225 * hp300ux-nat.c (fetch_inferior_register): Ditto.
1226 (store_inferior_register_1): Ditto.
1227 (store_inferior_register): Ditto.
1228 * config/m68k/tm-m68k.h (find_saved_regs): Ditto.
1229 *scm-valprint.c (c_val_print): Ditto.
1230 * procfs.c (add_fd): Ditto.
1233 (sigcodename): Ditto.
1234 (sigcodedesc): Ditto.
1235 (procfs_kill_inferior): Ditto.
1236 (procfs_xfer_memory): Ditto.
1237 (procfs_store_registers): Ditto.
1238 (create_procinfo): Ditto.
1239 (procfs_init_inferior): Ditto.
1240 (proc_set_exec_trap): Ditto.
1241 (procfs_attach): Ditto.
1242 (procfs_detach): Ditto.
1243 (procfs_prepare_to_store): Ditto.
1244 (procfs_files_info): Ditto.
1245 (procfs_open): Ditto.
1246 (procfs_wait): Ditto.
1247 (procfs_fetch_registers): Ditto.
1248 (procfs_mourn_inferior): Ditto.
1249 (procfs_can_run): Ditto.
1250 (procfs_thread_alive): Ditto.
1251 (procfs_stop): Ditto.
1252 * alpha-nat.c (fetch_core_registers): Ditto.
1253 * config/alpha/tm-alpha.h (alpha_osf_skip_sigtramp_frame): Ditto.
1254 * objfiles.c (ecoff_relocate_efi): Ditto.
1255 * inflow.c (pass_signal): Ditto.
1256 (handle_sigio): Ditto.
1257 * annotate.c (breakpoint_changed): Ditto.
1258 * callback.c (wrap): Ditto.
1261 * utils.c (malloc_botch): Ditto.
1262 (fputs_maybe_filtered): Ditto.
1263 (vfprintf_maybe_filtered): Ditto.
1264 * defs.h (notice_quit): Ditto.
1265 * defs.h (xmalloc, xrealloc): Ditto.
1266 * top.c (stop_sig): Ditto.
1267 (init_signals): Ditto.
1268 (user_defined_command): Ditto.
1269 (source_cleanup_lines): Ditto.
1270 (dont_repeat_command): Ditto.
1271 (serial_log_command): Ditto.
1272 (disconnect): Ditto.
1273 * target.h (initialize_targets): Ditto.
1274 * os9kread.c (read_minimal_symbols): Ditto.
1275 * mdebugread.c (mdebug_psymtab_to_symtab): Ditto.
1277 (push_parse_stack): Ditto.
1278 (pop_parse_stack): Ditto.
1279 (is_pending_symbol): Ditto.
1280 (add_pending): Ditto.
1281 * serial.c (serial_logchar): Ditto.
1282 (serial_interface_lookup): Ditto.
1283 * serial.h (serial_log_command): Ditto.
1284 * f-valprint.c (info_common_command): Ditto.
1285 * gdbtypes.h (print_type_scalar): Ditto.
1286 * scm-valprint.c (scm_scmlist_print): Ditto.
1288 * scm-lang.c (scm_printstr): Ditto.
1290 (evaluate_subexp_scm): Ditto.
1291 * scm-exp.c (scm_read_token): Ditto.
1292 (scm_skip_ws): Ditto.
1293 (scm_lreadparen): Ditto.
1294 * m2-lang.c (emit_char): Ditto.
1295 (m2_printchar): Ditto.
1296 (m2_printstr): Ditto.
1297 (m2_create_fundamental_type): Ditto.
1298 * f-lang.c (emit_char): Ditto.
1299 (f_printchar): Ditto.
1300 (f_printstr): Ditto.
1301 (f_create_fundamental_type): Ditto.
1302 * ch-lang.c (chill_printchar): Ditto.
1303 (chill_printstr): Ditto.
1304 (chill_create_fundamental_type): Ditto.
1305 (value_chill_length): Ditto.
1306 (value_chill_card): Ditto.
1307 (value_chill_max_min): Ditto.
1308 (evaluate_subexp_chill): Ditto.
1309 * ch-exp.c (PEEK_TOKEN): Ditto.
1310 (peek_token_): Ditto.
1311 (forward_token_): Ditto.
1312 (parse_case_label): Ditto.
1313 (parse_opt_untyped_expr): Ditto.
1314 (parse_unary_call): Ditto.
1315 (parse_call): Ditto.
1316 (parse_named_record_element): Ditto.
1317 (parse_tuple_element): Ditto.
1318 (parse_opt_element_list): Ditto.
1319 (parse_tuple): Ditto.
1320 (parse_primval): Ditto.
1321 (parse_operand6): Ditto.
1322 (parse_operand5): Ditto.
1323 (parse_operand4): Ditto.
1324 (parse_operand3): Ditto.
1325 (parse_operand2): Ditto.
1326 (parse_operand1): Ditto.
1327 (parse_operand0): Ditto.
1328 (parse_expr): Ditto.
1329 (parse_then_alternative): Ditto.
1330 (parse_else_alternative): Ditto.
1331 (parse_if_expression): Ditto.
1332 (parse_untyped_expr): Ditto.
1333 (growbuf_by_size): Ditto.
1334 (match_simple_name_string): Ditto.
1335 (decode_integer_value): Ditto.
1336 (decode_integer_literal): Ditto.
1337 (match_float_literal): Ditto.
1338 (match_float_literal): Ditto.
1339 (match_string_literal): Ditto.
1340 (match_character_literal): Ditto.
1341 (match_integer_literal): Ditto.
1342 (match_bitstring_literal): Ditto.
1343 (write_lower_upper_value): Ditto.
1344 * ch-lang.h (type_lower_upper): Ditto.
1345 * c-lang.c (emit_char): Ditto.
1346 * dwarfread.c (free_utypes): Ditto.
1347 * stabsread.h (resolve_cfront_continuation): Ditto.
1348 * stabsread.c (get_substring): Ditto.
1349 (read_one_struct_field): Ditto.
1350 * stabsread.h (process_later): Ditto.
1351 * demangle.c (set_demangling_command): Ditto.
1352 * defs.h (set_demangling_style): Ditto.
1353 * maint.c (maintenance_info_command): Ditto.
1354 (print_section_table): Ditto.
1355 (maintenance_info_sections): Ditto.
1356 (maintenance_print_command): Ditto.
1357 * symtab.h (maintenance_print_statistics): Ditto.
1358 * objfiles.h (in_plt_section): Ditto.
1359 * objfiles.c (add_to_objfile_sections): Ditto.
1360 * bcache.c (hash): Ditto.
1361 (lookup_cache): Ditto.
1362 * exec.c (bfdsec_to_vmap): Ditto.
1364 * f-exp.y (growbuf_by_size, match_string_literal): Ditto.
1365 * language.c (unk_lang_printchar): Ditto.
1366 (unk_lang_printstr): Ditto.
1367 (unk_lang_create_fundamental_type): Ditto.
1368 (unk_lang_print_type): Ditto.
1369 (unk_lang_val_print): Ditto.
1370 (unk_lang_value_print): Ditto.
1371 * target.c (update_current_target): Ditto.
1372 (debug_to_open): Ditto.
1373 (debug_to_close): Ditto.
1374 (debug_to_attach): Ditto.
1375 (debug_to_detach): Ditto.
1376 (debug_to_resume): Ditto.
1377 (debug_to_wait): Ditto.
1378 (debug_to_fetch_registers): Ditto.
1379 (debug_to_store_registers): Ditto.
1380 (debug_to_prepare_to_store): Ditto.
1381 (debug_to_xfer_memory): Ditto.
1382 (debug_to_files_info): Ditto.
1383 (debug_to_insert_breakpoint): Ditto.
1384 (debug_to_remove_breakpoint): Ditto.
1385 (debug_to_terminal_init): Ditto.
1386 (debug_to_terminal_inferior): Ditto.
1387 (debug_to_terminal_ours_for_output): Ditto.
1388 (debug_to_terminal_ours): Ditto.
1389 (debug_to_terminal_info): Ditto.
1390 (debug_to_kill): Ditto.
1391 (debug_to_load): Ditto.
1392 (debug_to_lookup_symbol): Ditto.
1393 (debug_to_create_inferior): Ditto.
1394 (debug_to_mourn_inferior): Ditto.
1395 (debug_to_can_run): Ditto.
1396 (debug_to_notice_signals): Ditto.
1397 (debug_to_thread_alive): Ditto.
1398 (debug_to_stop): Ditto.
1399 start-sanitize-gdbtk
1400 * gdbtk.c (null_routine): Ditto.
1401 (gdbtk_flush): Ditto.
1402 (gdbtk_fputs): Ditto.
1403 (gdbtk_query): Ditto.
1404 (gdbtk_readline): Ditto.
1405 (gdbtk_readline_end): Ditto.
1406 (gdb_get_breakpoint_list): Ditto.
1407 (gdb_get_breakpoint_info): Ditto.
1408 (breakpoint_notify): Ditto.
1409 (gdbtk_create_breakpoint): Ditto.
1410 (gdbtk_delete_breakpoint): Ditto.
1411 (gdbtk_modify_breakpoint): Ditto.
1414 (gdb_sourcelines): Ditto.
1415 (map_arg_registers): Ditto.
1416 (get_register_name): Ditto.
1417 (gdb_regnames): Ditto.
1418 (get_register): Ditto.
1419 (gdb_fetch_registers): Ditto.
1420 (register_changed_p): Ditto.
1421 (gdb_changed_register_list): Ditto.
1423 (call_wrapper): Ditto.
1424 (gdb_listfiles): Ditto.
1426 (gdbtk_dis_asm_read_memory): Ditto.
1427 (compare_lines): Ditto.
1428 (gdb_disassemble): Ditto.
1429 (tk_command): Ditto.
1430 (cleanup_init): Ditto.
1431 (gdbtk_interactive): Ditto.
1433 (gdbtk_wait): Ditto.
1434 (gdbtk_call_command): Ditto.
1435 (tk_command_loop): Ditto.
1436 (gdbtk_init): Ditto.
1438 * breakpoint.h (set_breakpoint_sal): Ditto.
1439 * remote-utils.c (usage): Ditto.
1440 * remote.c (set_thread): Ditto.
1441 (remote_thread_alive): Ditto.
1442 (get_offsets): Ditto.
1443 (read_frame): Ditto.
1444 (remote_insert_breakpoint): Ditto.
1445 (remote_remove_breakpoint): Ditto.
1446 * sparc-nat.c (fetch_core_registers): Ditto.
1447 * corelow.c (add_to_thread_list): Ditto.
1449 * inftarg.c (proc_wait): Ditto.
1450 * infptrace.c (udot_info): Ditto.
1451 (fetch_register): Ditto.
1452 * ser-unix.c (hardwire_noflush_set_tty_state): Ditto.
1453 (hardwire_print_tty_state): Ditto.
1454 (hardwire_flush_output): Ditto.
1455 (hardwire_flush_input): Ditto.
1456 (hardwire_send_break): Ditto.
1457 (hardwire_setstopbits): Ditto.
1458 * ser-tcp.c (tcp_return_0): Ditto.
1459 (tcp_noflush_set_tty_state): Ditto.
1460 (tcp_print_tty_state): Ditto.
1461 * solib.c (match_main): Ditto.
1462 * gdbtypes.c (print_bit_vector): Ditto.
1463 (print_arg_types): Ditto.
1464 (dump_fn_fieldlists): Ditto.
1465 (print_cplus_stuff): Ditto.
1466 * symfile.h (entry_point_address): Ditto.
1467 * symfile.c (decrement_reading_symtab): Ditto.
1468 * valops.c (value_arg_coerce): Ditto.
1469 * value.h (find_function_in_inferior): Ditto.
1470 (value_allocate_space_in_inferior): Ditto.
1471 * values.c (vb_match): Ditto.
1472 * thread.c (info_thread_command): Ditto.
1473 (restore_current_thread): Ditto.
1474 (thread_apply_all_command): Ditto.
1475 (thread_apply_command): Ditto.
1476 * inferior.h (write_pc_pid): Ditto.
1477 * infrun.c (delete_breakpoint_current_contents): Ditto.
1478 * breakpoint.c (print_it_normal): Ditto.
1479 (watchpoint_check): Ditto.
1480 (print_it_done): Ditto.
1481 (print_it_noop): Ditto.
1482 (maintenance_info_breakpoints): Ditto.
1483 (create_longjmp_breakpoint): Ditto.
1484 (hbreak_command): Ditto.
1485 (thbreak_command): Ditto.
1486 (watch_commnd_1): Ditto.
1487 (rwatch_command): Ditto.
1488 (awatch_command): Ditto.
1489 (do_enable_breakpoint): Ditto.
1490 * ch-valprint.c (chill_val_print_array_elements): Ditto.
1491 * eval.c (evaluate_subexp): Ditto.
1493 (evaluate_struct_tuple): Ditto.
1494 * eval.c (init_array_element): Ditto.
1496 * alpha-tdep.c (push_sigtramp_desc): Add prototype and make static.
1497 * breakpoint.c (hw_breakpoint_used_count): Ditto.
1498 (hw_watchpoint_used_count): Ditto.
1499 * findvar.c (write_register_gen): Ditto.
1500 (read_register_pid): Ditto.
1501 * symtab.c (cplusplus_hint): Ditto.
1502 * infcmd.c (breakpoint_auto_delete_contents): Ditto.
1503 * ch-valprint.c (chill_print_type_scalar): Ditto.
1504 * gdbtypes.c (add_name): Ditto.
1505 (add_mangled_type): Ditto.
1506 (cfront_mangle_name): Ditto.
1507 * sparc-tdep.c (isbranch): Ditto.
1508 * inftarg.c (child_stop): Ditto.
1509 * win32-nat.c (child_stop): Ditto.
1510 * mac-nat.c (child_stop): Ditto.
1511 * remote-utils.c (sr_com): Ditto.
1512 * dbxread.c (process_now): Ditto.
1513 * ch-exp.c (require): Ditto.
1514 (check_token): Ditto.
1516 (parse_mode_call): Ditto.
1517 (parse_mode_or_normal_call): Ditto.
1518 * scm-lang.c (scm_lookup_name): Ditto
1519 * f-lang.c (allocate_saved_bf_node): Ditto.
1520 (allocate_saved_function_node): Ditto.
1521 (allocate_saved_f77_common_node): Ditto.
1522 (allocate_common_entry_node): Ditto.
1523 (add_common_block): Ditto.
1524 (add_common_entry): Ditto.
1525 (find_first_common_named): Ditto.
1526 (patch_common_entries): Ditto.
1527 (patch_all_commons_by_name): Ditto.
1528 (clear_bf_list): Ditto.
1529 (get_bf_for_fcn): Ditto.
1530 (clear_function_list): Ditto.
1531 * scm-exp.c (scm_istr2int): Ditto.
1532 (scm_istring2number): Ditto.
1533 * scm-valprint.c (scm_inferior_print): Ditto.
1534 * f-typeprint.c (print_equivalent_f77_float_type): Ditto.
1535 * f-valprint.c (f77_get_dynamic_length_of_aggregate): Ditto.
1536 (f77_create_arrayprint_offset_tbl): Ditto.
1537 (f77_print_array_1): Ditto.
1538 (f77_print_array): Ditto.
1539 (list_all_visible_commons): Ditto.
1540 (there_is_a_visible_common_named): Ditto.
1541 * mdebugread.c (ecoff_relocate_efi): Ditto.
1542 * callback.c (os_close): Ditto.
1543 (os_get_errno): Ditto.
1548 (os_read_stdin): Ditto.
1550 (os_write_stdout): Ditto.
1555 (os_shutdown): Ditto.
1557 (os_printf_filtered): Ditto.
1559 * scm-lang.h (scm_parse): Change old style decl to prototype.
1560 * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset): Ditto.
1561 * top.c (init_proc): Ditto.
1562 (query_hook): Ditto.
1563 (error_hook): Ditto.
1564 * f-lang.c (c_value_print): Ditto.
1565 * ch-exp.c (parse_expression): Ditto.
1566 (parse_primval): Ditto.
1567 (parse_untyped_expr): Ditto.
1568 (parse_opt_untyped_expr): Ditto.
1570 * config/sparc/tm-sparc.h (sparc_init_extra_frame_info): Ditto.
1571 (sparc_frame_saved_pc): Ditto.
1572 (sparc_push_dummy_frame): Ditto.
1573 (sparc_pop_frame): Ditto.
1574 * defs.h (fclose): Ditto.
1576 (error_hook): Ditto.
1578 * arc-tdep.c (single_step): Change arg to type "enum target_signal".
1579 * rs6000-tdep.c (single_step): Ditto.
1580 * sparc-tdep.c (single_step): Ditto.
1582 * breakpoint.c (cleanup_executing_breakpoints): Change unused arg type
1583 to PTR which is what make_cleanup expects.
1584 * utils.c (null_cleanup): Change arg type to PTR.
1585 * defs.h (null_cleanup): Change prototype to match actual function.
1586 * config/sparc/tm-sparc.h (struct frame_info): Move forward decl.
1587 * ch-valprint.c (chill_val_print): Cast 2nd arg of
1588 chill_print_type_scalar to LONGEST.
1589 * infrun.c (wait_for_inferior): Have empty switch case for
1590 BPSTAT_WHAT_CHECK_SHLIBS when SOLIB_ADD is not defined.
1591 (stop_on_solib_events): Only needed if SOLIB_ADD is defined.
1592 * infcmd.c (attach_command): Only need auto_solib_add if SOLIB_ADD
1594 * symfile.c (generic_load): Scan long int using a long int spec,
1596 * infptrace.c (udot_info): Only need local variables if KERNEL_U_SIZE
1598 (fetch_register): Only need function if FETCH_INFERIOR_REGISTERS is
1600 * inflow.c (handle_sigio): Only need prototype when the actual
1601 function is compiled in.
1602 * valprint.c (longest_to_int): Expand error message to be
1603 separate messages for args larger than largest signed int
1604 and args smaller than smallest signed int.
1605 * valprint.c (print_longest): Fix problems with support for case
1606 where compiler supports type "long long" but the runtime doesn't
1607 support printing them with "%ll".
1608 * scm-valprint.c (scm_scmlist_print, scm_scmval_print): Change
1609 return types to void since we don't actually return anything
1610 meaningful and callees ignore the values anyway.
1611 * procfs.c (modify_inherit_on_fork_flag): Enclose pr_flags in PIOCSET
1613 (modify_run_on_last_close_flag): Ditto.
1614 (wait_fd): Enclose local variables "num_fds" and "i" LOSING_POLL
1616 * alpha-tdep.c (push_sigtramp_desc): Return proc_desc rather than
1618 * infrun.c (wait_for_inferior): Ensure random_signal is not used
1620 * valops.c (call_function_by_hand): Ensure struct_addr is not used
1622 * breakpoint.c (watch_command_1): Ensure prev_frame is not used
1624 * utils.c (vfprintf_maybe_filtered): Change second arg from "char *"
1626 start-sanitize-gdbtk
1627 * gdbtk.c (gdb_fetch_registers): Cast fourth arg to map_arg_registers
1628 to proper pointer type, from int.
1629 (gdbtk_query): Change first arg to "const char *" from "char *".
1631 * infptrace.c (udot_info): Add two dummy args so that the type is
1632 correct for passing to add_info.
1633 * f-lang.c (saved_fcn): Move decl to head of file so it can be used
1635 (saved_bf_symnum): Ditto.
1636 (SAVED_FUNCTION): Ditto.
1637 (SAVED_FUNCTION_PTR): Ditto.
1639 (SAVED_BF_PTR): Ditto.
1640 * ch-exp.c (parse_named_record_element): Build error message in
1641 temporary buffer before passing it to expect, rather than passing
1642 wrong number of args to expect.
1643 * demangle.c (set_demangling_style): Call set_demangling_command with
1644 correct number of arguments.
1645 * inferior.h (terminal_init_inferior_with_pgrp): Change arg type to
1646 int to match actual function.
1647 (os_isatty): Call fdmap with right number of arguments, was missing
1648 the host_callback* arg.
1649 * target.c (cleanup_target): Prototype all functions casts.
1650 * target.h (one_stepped, single_step): Declare here and convert
1651 single_step to prototype.
1652 * infrun.c (one_stepped, single_step): Don't declare externs
1653 here, they have moved to target.h.
1654 * eval.c (init_array_element): Declare previously undeclared
1655 last two args as LONGEST.
1656 * dcache.c (dcache_xfer_memory): Change xfunc decls to prototype form.
1657 start-sanitize-gdbtk
1658 * gdbtk.c (register_changed_p): Remove unused local variable "buf".
1661 Thu Jul 25 16:11:54 1996 Doug Evans <dje@canuck.cygnus.com>
1663 * dsrec.c (load_srec): Protect ANSI style function parms with PARAMS.
1665 Mon Jul 22 18:13:27 1996 Stu Grossman (grossman@critters.cygnus.com)
1667 * Makefile.in (os9kread.o): Remove dependency on partial-stab.h.
1668 * dbxread.c (read_dbx_symtab end_psymtab), partial-stab.h: Don't
1669 use partial_symtab->textlow==0 as a flag, as 0 is a legitimate
1670 text address. Use a seperate flag (textlow_not_set) instead.
1671 This makes stabs in ELF .o files work a lot better.
1672 * mdebugread.c xcoffread.c: Define textlow_not_set for
1674 * stabsread.h (end_psymtab): Add textlow_not_set arg to prototype.
1676 start-sanitize-gdbtk
1677 Sat Jul 20 17:46:40 1996 Fred Fish <fnf@cygnus.com>
1679 * gdbtk.tcl (files_command): Reorder the binding tags for
1680 the listbox widget to avoid referencing the listbox after
1681 the containing widget has been destroyed by the action of
1685 Sat Jul 20 10:41:06 1996 Fred Fish <fnf@cygnus.com>
1687 * dwarf2read.c (struct filenames): Change internal "struct file"
1688 to "struct fileinfo" to avoid conflict with "struct file" in
1689 <sys/file.h> on HPUX and Solaris.
1691 start-sanitize-gdbtk
1692 Sat Jul 20 10:09:28 1996 Fred Fish <fnf@cygnus.com>
1694 * gdbtk.tcl (delete_expr): Unset corresponding element of
1695 expr_update_list when destroying an expression.
1696 (create_expr_window): Initialize expr_num, delete_expr_num,
1697 and expr_update_list here when each new expression window
1698 is created, rather than once at startup.
1701 Fri Jul 19 14:05:57 1996 Stan Shebs <shebs@andros.cygnus.com>
1703 * dwarf2read.c: New file, DWARF 2 reader originally contributed by
1704 Brent Benson, with additions by Gary Funck and Jerry Kreuscher.
1705 * Makefile.in (COMMON_OBS): Add dwarf2read.o.
1706 (SFILES): Add dwarf2read.c.
1707 (dwarf2read.o): Add build rule.
1708 * symfile.h (dwarf2_has_info, dwarf2_build_psymtabs): Declare
1710 * elfread.c (elf_symfile_read): Call them.
1711 (elf_symtab_read) [HARRIS_TARGET]: Skip some special symbols.
1713 Thu Jul 18 01:22:01 1996 Geoffrey Noer <noer@cygnus.com>
1715 * symfile.c (symfile_bfd_open):
1716 * exec.c (exec_file_command): for __GO32__ and __WIN32__ systems,
1717 free the user from having to type the .exe extension.
1719 Wed Jul 17 06:54:50 1996 Mark Alexander <marka@cygnus.com>
1721 * mon960-rom.c: Shorten the mon960_inits string to a single
1722 carriage return; this prevents a hang on connecting immediately
1723 after powerup, when MON960 is attempting autobaud detection.
1725 Tue Jul 16 23:47:04 1996 Mark Alexander <marka@cygnus.com>
1727 * a29k-tdep.c (get_saved_register): Allow PC to be modified
1728 when innermost frame is selected, but not in outer frames.
1730 Tue Jul 16 23:37:25 1996 Stu Grossman (grossman@critters.cygnus.com)
1732 * command.c (do_setshow_command): Don't segfault when showing
1733 var_string and var_string_noescape vars that are NULL.
1735 Mon Jul 15 16:55:48 1996 Doug Evans <dje@canuck.cygnus.com>
1737 * win32-nat.c (handle_load_dll): dos_path_to_unix_path renamed to
1738 cygwin32_conv_to_posix_path.
1739 (child_create_inferior): unix_path_to_dos_path renamed to
1740 cygwin32_conv_to_win32_path. Rewrite code to translate PATH.
1742 Mon Jul 15 16:44:05 1996 Stu Grossman (grossman@critters.cygnus.com)
1744 * defs.h printcmd.c: Create global disassemble_info structure
1746 start-sanitize-gdbtk
1747 * gdbtk.c (gdb_disassemble): Setup di.mach from
1748 tm_print_insn_info.mach, and set endian from TARGET_BYTE_ORDER.
1750 * i386-tdep.c (set_assembly_language_command): set
1751 tm_print_insn_info.mach to the appropriate value for 386 or 8086
1753 * printcmd.c (print_insn): Move init of disassembler_info to
1754 _initialize_printcmd. Set endian for disassembler here.
1755 * sparc-tdep.c: Set tm_print_insn_info.mach as appropriate to
1756 select sparc/sparclite.
1757 * config/sparc/{tm-sparc.h tm-sparclite.h}: Get rid of
1758 TM_PRINT_INSN. Set TM_PRINT_INSN_MACH to
1759 bfd_mach_sparc/bfd_mach_sparc_sparclite.
1761 Fri Jul 12 19:04:32 1996 Fred Fish <fnf@cygnus.com>
1763 * hpread.c (hpread_lookup_type): Use xmmalloc/xmrealloc rather
1764 than xmalloc/xrealloc.
1766 Fri Jul 12 17:59:47 1996 Fred Fish <fnf@cygnus.com>
1768 * objfiles.c (map_to_file): Error return from mmalloc_findbase is
1769 a NULL pointer, not a -1.
1771 Fri Jul 12 10:16:24 1996 Stu Grossman (grossman@critters.cygnus.com)
1773 * i386-tdep.c (set_assembly_language_command): New routine to
1774 select between i386 and i8086 instruction sets for disassembly.
1775 New command `set assembly-language {i386 i8086}'.
1777 Thu Jul 11 21:13:21 1996 Mark Alexander <marka@cygnus.com>
1779 * monitor.c (monitor_write_memory, monitor_read_memory_single):
1780 Disable use of "long long" memory read/write commands; can't
1781 use them because we hold the values to read/write in an int
1782 variable, and because strtoul fails on values that exceed the
1783 size of a long. This fixes breakpoint problems on MON960.
1785 Thu Jul 11 11:39:31 1996 Fred Fish <fnf@cygnus.com>
1787 * config/m68k/xm-hp300hpux.h (HAVE_MMAP): Remove definition.
1788 * config/pa/xm-hppah.h (HAVE_MMAP): Ditto.
1790 Wed Jul 10 16:54:41 1996 Fred Fish <fnf@cygnus.com>
1792 * Makefile.in (MMALLOC_CFLAGS): Eliminate intermediate MMALLOC_DISABLE
1793 and MMALLOC_CHECK macros, and add comment indicating how host dependent
1794 makefile fragment should modify MMALLOC_CFLAGS to not use mmalloc, or
1795 to use it but to not do heap corruption checking.
1796 * gdbserver/Makefile.in: Ditto.
1797 * utils.c (init_malloc): Replace warning() use with direct call of
1798 fprintf_unfiltered, since current_target has not yet been set and thus
1799 we cannot use warning(). If we try to use mmcheck and it fails,
1800 suggest that this configuration needs NO_MMCHECK or MMCHECK_FORCE
1801 defined. Other small mmalloc related cleanups.
1802 * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Define MMCHECK_FORCE to 1.
1803 * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Set to -DNO_MMCHECK.
1805 * config/sparc/xm-sun4os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1806 * config/i386/xm-i386v4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1807 * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1808 * config/m68k/xm-hp300hpux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1809 * config/m68k/xm-m68kv4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT);
1810 * config/m68k/xm-sun3os4.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1811 * config/pa/xm-hppah.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1812 * config/sparc/xm-sun4sol2.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
1813 Remove obsolete defines.
1815 * config/alpha/alpha-linux.mh (MMALLOC_DISABLE):
1816 * config/alpha/alpha-osf1.mh (MMALLOC_DISABLE):
1817 * config/rs6000/rs6000.mh (MMALLOC_DISABLE):
1818 * config/rs6000/aix4.mh (MMALLOC_DISABLE):
1819 * config/powerpc/aix4.mh (MMALLOC_DISABLE):
1820 * config/powerpc/aix.mh (MMALLOC_DISABLE):
1821 * config/ns32k/ns32km3.mh (MMALLOC_DISABLE):
1822 * config/mips/mipsm3.mh (MMALLOC_DISABLE):
1823 * config/mips/decstation.mh (MMALLOC_DISABLE):
1824 * config/m88k/cxux.mh (MMALLOC_DISABLE):
1825 * config/i386/i386mk.mh (MMALLOC_DISABLE):
1826 * config/i386/i386m3.mh (MMALLOC_DISABLE):
1827 * config/i386/i386gnu.mh (MMALLOC_DISABLE):
1828 Use MMALLOC_CFLAGS instead.
1830 Tue Jul 9 22:41:12 1996 Jeffrey A Law (law@cygnus.com)
1832 * h8300-tdep.c: Remove some outdated comments.
1833 (h8300_skip_prologue): Rework to be more correct for the H8/300H.
1834 Handle stm.l insns for the H8/S.
1835 (examine_prologue): Likewise.
1837 Tue Jul 9 16:48:55 1996 Raymond Jou <rjou@mexican.cygnus.com>
1839 * ser-mac.c (mac_close): Change a typo SetSetBuf to SerSetBuf.
1841 Mon Jul 08 08:50:39 1996 Mark Alexander <marka@cygnus.com>
1843 * mon960-rom.c (mon960_open): Add floating point detection to
1844 prevent hang on non-FPU processors (PR 9775).
1845 (mon960_cmds): Swap setmem.cmdw and setmem.cmdl to fix problem
1846 setting breakpoints and improve loading speed.
1848 Sun Jul 7 14:57:34 1996 Fred Fish <fnf@cygnus.com>
1850 * coffread.c (record_minimal_symbol): Don't presave name string
1851 on symbol_obstack before passing to prim_record_minimal_symbol.
1852 It now handles saving the string itself.
1853 * dbxread.c (read_dbx_dynamic_symtab): Ditto.
1854 * mipsread.c (read_alphacoff_dynamic_symtab): Ditto.
1855 * os9kread.c (record_minimal_symbol): Ditto.
1856 * solib.c (solib_add_common_symbols): Ditto.
1858 * coffread.c (coff_symtab_read): Don't presave name string on
1859 symbol_obstack before passing to prim_record_minimal_symbol_and_info.
1860 It now handles saving the string itself.
1861 * dbxread.c (record_minimal_symbol): Ditto.
1862 * elfread.c (record_minimal_symbol_and_info): Ditto.
1864 * dstread.c (record_minimal_symbol): Remove static function that just
1865 called prim_record_minimal_symbol with the same args (after change to
1866 prim_record_minimal_symbol to do it's own name string saves).
1867 * nlmread.c (record_minimal_symbol): Ditto.
1868 * somread.c (record_minimal_symbol): Ditto.
1870 * hpread.c (hpread_read_enum_type): Save symbol name on symbol obstack.
1871 (hpread_read_function_type): Ditto.
1872 (hpread_process_one_debug_symbol): Ditto.
1873 * mdebugread.c (parse_symbol): Ditto.
1874 (new_symbol): Ditto.
1875 * minsyms.c (prim_record_minimal_symbol_and_info): Ditto.
1877 * coffread.c (process_coff_symbol): Use obsavestring to save
1878 SYMBOL_NAME, rather than obstack_copy0.
1879 * dstread.c (create_new_symbol): Ditto
1880 * symfile.c (obconcat): Ditto.
1881 * stabsread.c (patch_block_stabs): Ditto.
1882 * xcoffread.c (SYMNAME_ALLOC): Ditto.
1884 * symfile.c (obsavestring): Update comments
1885 * solib.c (solib_add_common_symbols): Remove local var origname.
1887 Wed Jul 3 15:56:08 1996 Stu Grossman (grossman@critters.cygnus.com)
1889 * configure: Re-build with autoconf-2.10.
1891 * sparcl-tdep.c (_initialize_sparc_tdep) config/sparc/tm-sparc.h,
1892 config/sparc/tm-sparclite.h: Initialize tm_print_insn from
1893 TM_PRINT_INSN, which comes from the tm file.
1895 Tue Jul 02 21:41:20 1996 Mark Alexander <marka@cygnus.com>
1897 * coffread.c, dbxread.c, elfread.c, mipsread.c, nlmread.c,
1898 os9kread.c: Replace identical sym_offsets functions with
1899 default_symfile_offsets.
1900 * somread.c (som_symfile_offsets): Use new SIZEOF_SECTION_OFFSETS
1901 macro to allocate section_offsets.
1902 * symfile.c (default_symfile_offsets): New function.
1903 * symfile.h: Declare default_symfile_offsets.
1904 * symtab.h: Define SIZEOF_SECTION_OFFSETS macro to
1905 simplify allocation of section_offsets.
1907 Tue Jun 11 12:02:55 1996 Stu Grossman (grossman@critters.cygnus.com)
1909 * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure.
1910 * configure configure.in: Only make sol-thread.o for native.
1911 Also, switch to dlopened libthread_db.so.1.
1912 * sol-thread.c: Switch to using dlopen to get the thread_db
1915 Thu Jun 13 16:53:25 1996 Stu Grossman (grossman@critters.cygnus.com)
1917 * configure, configure.in: Change test for libthread_db to only
1918 work for configs where build/host/target are the same.
1920 Tue Jul 2 15:04:20 1996 Michael Meissner <meissner@tiktok.cygnus.com>
1922 * config/powerpc/{linux.mh,xm-linux.h}: New files, for Linux on
1925 * configure.in (powerpc-*-linux): Add Linux, System V, and ELF
1927 * configure: Regenerate.
1929 Mon Jul 1 13:00:43 1996 Stan Shebs <shebs@andros.cygnus.com>
1931 From Raymond Jou <rjou@mexican.cygnus.com>:
1932 * mpw-make.sed: Add lines to whack out autoconf hook
1935 Mon Jul 01 11:07:15 1996 Mark Alexander <marka@cygnus.com>
1937 * remote-e7000.c (e7000_stop): New function.
1939 Fri Jun 28 06:34:19 1996 Dawn Perchik <dawn@cygnus.com>
1941 * configure, configure.in: Add target sparclet.
1942 * monitor.h, monitor.c: Added monitor flags MO_NO_ECHO_ON_SETMEM
1943 (don't expect echo on setmem command), MO_RUN_FIRST_TIME (if
1944 command to start process running on target is different from one
1945 to continue execution), MO_HEX_PREFIX (if addresses from monitor
1946 have a "0x" prefix).
1947 * monitor.c, parse.c, sparc-tdep.c: Don't require strings in the
1948 registers array. This is to allow NULLs to be place holders in
1949 the tm-*.h file so that only minor changes are needed when a new
1950 processor is introduced (eg, one without floating point).
1951 * sparc-tdep.c: Conditionally remove dependancies on floating
1953 * sparclet-rom.c, config/sparc/sparclet.mt,
1954 config/sparc/tm-sparclet.h: New files for target sparclet.
1955 * symfile.c (load_command): Add option for 2nd parameter; a load
1956 offset added to the vma of each section.
1958 Fri Jun 28 05:39:19 1996 Dawn Perchik <dawn@cygnus.com>
1960 * main.c (main): Add option "l" for setting remote_timeout.
1962 Fri Jun 28 05:25:18 1996 Dawn Perchik <dawn@cygnus.com>
1964 * remote-e7000.c, remote.c, target.h, top.c: Add set option
1965 "remote_timeout" for setting remote_timeout. Add set option
1966 "use_hard_breakpoints" for setting hardware .vs. memory
1969 Fri Jun 28 04:32:18 1996 Dawn Perchik <dawn@cygnus.com>
1971 * remote-e7000.c (e7000_parse_device): New function.
1972 Add option "tcp_remote" to target command if using
1973 tcp to connect to a remote host which is then connected
1974 via serial port to the e7000 (for exampole, a port master).
1975 (e7000_open): Change to call e7000_parse_device.
1977 Fri Jun 28 03:47:17 1996 Dawn Perchik <dawn@cygnus.com>
1979 * monitor.c (monitor_debug): Fix remotedebug buffering.
1981 Thu Jun 27 18:24:17 1996 Stan Shebs <shebs@andros.cygnus.com>
1983 * config/i386/cygwin32.mh, config/powerpc/cygwin32.mh
1984 (NATDEPFILES): Add a space.
1986 Wed Jun 26 06:05:39 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
1988 * gdbtypes.c (create_array_type): If TYPE_LENGTH (result_type)
1989 is zero, set TYPE_FLAG_TARGET_STUB to force reevaluation of the type.
1991 * ch-exp.c (calculate_array_length): Function removed.
1993 Tue Jun 25 17:41:06 1996 Martin M. Hunt <hunt@pizza.cygnus.com>
1995 * remote-e7000.c (e7000_read_inferior_memory_large): New function.
1996 (e7000_xfer_inferior_memory): Call it.
1998 Tue Jun 25 23:14:07 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
2000 * gdb/gdbserver/Makefile.in (docdir): Removed.
2002 Tue Jun 25 22:05:38 1996 Jason Molenda (crash@godzilla.cygnus.co.jp)
2004 * Makefile.in (bindir, libdir, datadir, mandir, infodir, includedir):
2005 Use autoconf set values.
2007 * configure.in (AC_PREREQ): autoconf 2.5 or higher.
2008 * nlm/Makefile.in (bindir, libdir, datadir, mandir, infodir,
2009 includedir): Use autoconf set values.
2011 * nlm/configure.in (AC_PREREQ): autoconf 2.5 or higher.
2012 * nlm/configure: Rebuilt.
2013 * gdb/gdbserver/Makefile.in (datadir): Set to $(prefix)/share.
2015 Mon Jun 24 09:56:14 1996 Angela Marie Thomas (angela@cygnus.com)
2017 * stabsread.c (read_cfront_member_functions): add type
2019 Sun Jun 23 23:40:48 1996 Doug Evans <dje@canuck.cygnus.com>
2021 * win32-nat.c: #include <unistd.h>.
2022 (unix_paths_to_dos_paths, dos_paths_to_unix_paths): Delete.
2023 (child_create_inferior): Convert only env var PATH to win32 style.
2024 (set_pathstyle_dos): Delete.
2025 (_initialize_inftarg): Delete dos-path-style command.
2027 start-sanitize-gdbtk
2028 Fri Jun 21 11:04:47 1996 Fred Fish <fnf@cygnus.com>
2030 * gdbtk.tcl (create_register_windows): Include missing '$'s.
2031 Add global declarations for various reg_format_* variables.
2032 * gdbtk.tcl (populate_register_window): Make initial window one
2033 line taller to account for new column header line.
2035 Fri Jun 21 09:46:47 1996 Fred Fish <fnf@cygnus.com>
2037 * gdbtk.c (get_register): Support for printing raw formats.
2038 * gdbtk.tcl: Add hint for using debug_interface.
2039 (center_window, add_breakpoint_frame, delete_breakpoint_frame):
2040 Enclose arg in braces for consistency.
2041 (create_registers_window, populate_reg_window, update_registers):
2042 Major rewrite to support displaying multiple formats in the register
2044 (init_reg_info): New function.
2045 (recompute_reg_display_list): Reset reg_display_list, start
2046 register display lines at line 2.
2049 Thu Jun 20 13:42:23 1996 Doug Evans <dje@canuck.cygnus.com>
2051 * configure.in: Revise sol-thread.o test.
2052 * configure: Regenerated.
2054 * source.c (find_source_lines): Reassign size to result of read.
2056 start-sanitize-gdbtk
2057 Thu Jun 20 08:18:59 1996 Fred Fish <fnf@cygnus.com>
2059 * gdbtk.tcl (gdbtk_tcl_readline_begin): Handle backspace to
2060 avoid backing up over prompt. At every input, make sure insert
2061 point is at least after command start, handle control-u to delete
2063 (tclsh): Handle backspace to avoid backing up over prompt. Handle
2064 control-u to delete current input line.
2066 Wed Jun 19 17:23:38 1996 Geoffrey Noer <noer@cygnus.com>
2068 * configure.in: disable gdbtk for *cygwin32* hosted compiles
2069 * configure: regenerated with autoconf 2.8
2072 Tue Jun 18 16:25:54 1996 Jeffrey A. Law <law@rtl.cygnus.com>
2074 * h8300-dep.c (gdb_print_insn_h8300): Handle the H8/S.
2075 (h8300_command): Likewise.
2076 (set_machine): Likewise.
2077 (set_machine_hook): Likewise.
2078 (_initialize_h8300m): Likewise.
2080 * config/h8300/tm-h8300.h (h8300smode): Declare.
2082 Sun Jun 16 15:21:51 1996 Jeffrey A. Law <law@rtl.cygnus.com>
2084 * somsolib.c (som_solib_create_inferior_hook): Handle tracking
2085 of shl_load calls for hpux10.
2087 Thu Jun 13 11:16:10 1996 Tom Tromey <tromey@thepub.cygnus.com>
2089 * config.in: Regenerated.
2090 * acconfig.h (HAVE_THREAD_DB_LIB): Added entry.
2092 * configure: Regenerated.
2093 * aclocal.m4 (CY_AC_PATH_TCLH, CY_AC_PATH_TKH): Use odd names to
2094 avoid name clashes with SunOS headers.
2096 Tue Jun 11 19:52:50 1996 Fred Fish <fnf@cygnus.com>
2098 From Michael Snyder <Michael_Snyder@next.com>:
2099 * bcache.c (print_bcache_statistics): Avoid divide-by-zero
2100 exception if one or more objfile has no symbols, such as when
2101 a dynamic library has been stripped.
2103 Tue Jun 11 12:02:55 1996 Stu Grossman (grossman@critters.cygnus.com)
2105 * Makefile.in (INTERNAL_LDFLAGS): Add in flags from configure.
2106 * configure configure.in: Only make sol-thread.o for native.
2107 Also, switch to dlopened libthread_db.so.1.
2108 * sol-thread.c: Switch to using dlopen to get the thread_db
2111 Mon Jun 10 14:17:19 1996 Fred Fish <fnf@cygnus.com>
2113 * config/sparc/{xm-sun4sol2.h,xm-sun4os4.h} (MMAP_BASE_ADDRESS):
2114 Change from 0xE0000000 to 0xC0000000.
2116 Thu Jun 6 17:10:32 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2118 * config/powerpc/xm-solaris.h: Initial version of support for
2121 Wed Jun 5 01:52:57 1996 James G. Smith <jsmith@cygnus.co.uk>
2123 * configure.in (configdirs): Force 4100 builds to use 4300 GDB
2125 * configure: Rebuild.
2127 * config/mips/vr4300el.mt (SIM_OBS): Include simulator in
2128 little-endian builds.
2130 Mon Jun 3 11:48:29 1996 Jeffrey A Law (law@cygnus.com)
2132 * inftarg.c (child_thread_alive): Protect declaration with
2133 #ifndef CHILD_THREAD_ALIVE.
2135 * source.c (find_source_lines): Check the time on the symtab's bfd if
2136 it exists, else check the time on the exec_bfd.
2138 Thu May 30 09:43:17 1996 Mark Alexander <marka@cygnus.com>
2140 * dsrec.c (make_srec): Fix calculation of address size
2141 to allow addresses less than 0x100.
2143 Thu May 30 04:24:09 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
2145 * ch-exp.c (ch_lex): In case of LOC_TYPEDEF call calculate_array_length.
2147 Tue May 28 16:15:47 1996 Geoffrey Noer <noer@cygnus.com>
2149 * remote-mips.c: cannot use EINVAL for breakpoint test since
2150 its value varies for different hosts (e.g. go32's is 19, while
2151 sunos is 22). Changed to hardcoded 22 since that is what the
2154 Tue May 28 11:14:58 1996 Tom Tromey <tromey@creche.cygnus.com>
2156 * configure: Regenerated.
2157 * aclocal.m4 (CY_AC_PATH_TCLH): Don't use AC_TRY_RUN.
2158 (CY_AC_PATH_TKH): Don't use AC_TRY_RUN.
2160 Sun May 26 16:56:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
2162 * solib.c (solib_absolute_prefix, solib_search_path): New variables.
2163 (_initialize_solib): Add set/show commands for those variables.
2164 (solib_map_sections): Implement searching using them.
2166 Sun May 26 14:14:49 1996 Fred Fish <fnf@cygnus.com>
2168 Changes from: David Mosberger-Tang <davidm@azstarnet.com>
2170 * NEWS: Add Alpha Linux as a new native configuration.
2172 * mdebugread.c (parse_symbol): When we find a malloc() symbol with
2173 return type VOID, assume no debugging info is available for that
2174 object file and patch the return value into VOID *. Otherwise,
2175 operations requiring an implicit call to malloc() will fail.
2177 * infrun.c (wait_for_inferior): The criterion to detect entering a
2178 sigtramp handler is now: (a) the current pc is inside a sigtramp
2179 handler, (b) the previous pc is not in a sigtramp handler, and (c)
2180 the current stack pointer is "inner" than the old one. Condition
2181 (c) is new to avoid mistaking a return from a signal handler into
2182 sigtramp as a new sigtramp invocation.
2184 * dcache.c (struct dcache_block): Declare addr as CORE_ADDR. An
2185 int may not be big enough to hold an address.
2186 (dcache_hit): Ditto.
2187 (dcache_peek_byte): Fix indentation.
2189 * configure.in (alpha-*-linux*): Add target.
2190 * configure: Rebuild
2192 * config/alpha/tm-alpha.h (PROC_DESC_IS_DYN_SIGTRAMP): New macro.
2193 (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto.
2194 (DYNAMIC_SIGTRAMP_OFFSET): Ditto.
2195 (SIGCONTEXT_ADDR): Ditto.
2196 (FRAME_PAST_SIGTRAMP_FRAME): Ditto.
2198 * config/alpha/alpha-linux.mh: New file.
2199 * config/alpha/alpha-linux.mt: Ditto.
2200 * config/alpha/nm-linux.h: Ditto.
2201 * config/alpha/tm-alphalinux.h: Ditto.
2202 * config/alpha/xm-alphalinux.h: Ditto.
2203 * config/alpha/xm-alphaosf.h: Renamed from xm-alpha.h.
2204 * config/alpha/alpha-osf1.mh (XM_FILE): Change from xm-alpha.h to
2206 * config/alpha/alpha-osf2.mh: Ditto.
2208 * blockframe.c (find_pc_partial_function): Pass PC to
2209 SIGTRAMP_START and SIGTRAMP_END macros for the benefit of systems
2210 that detect sigtramp code via designated code sequences (as is the
2211 case for Linux/Alpha, for example).
2213 * config/i386/tm-i386bsd.h: Change SIGTRAMP_START and SIGTRAMP_END
2214 to ignore new PC argument.
2215 * config/m68k/tm-hp300bsd.h: Ditto.
2216 * config/vax/tm-vax.h: Ditto.
2218 * alpha-tdep.c (alpha_linux_sigtramp_offset): New function.
2219 (alpha_osf_skip_sigtramp_frame): Ditto.
2220 (push_sigtramp_desc): Ditto.
2221 (alpha_find_saved_regs): Use SIGCONTEXT_ADDR macro to extract
2222 sigcontext address from frame.
2223 (alpha_saved_pc_after_call): When in sigtramp, use
2224 alpha_frame_saved_pc() instead of read-register().
2225 (after_prologue): When inside a dynamically generated sigtramp
2226 function, there is no prologue, so return address of first
2228 (alpha_in_prologue): Fix typo in comment.
2229 (find_proc_desc): Use macro DYNAMIC_SIGTRAMP_OFFSET to determine
2230 whether we're inside a dynamicaly generated sigtramp function. If
2231 so, create and push and appropriate procedure descriptor.
2232 (alpha_frame_chain): Use macro FRAME_PAST_SIGTRAMP_FRAME to obtain
2233 the frame past a sigtramp frame (if the current frame is indeed a
2235 (init_extra_frame_info): Don't read next frame register off of
2236 stack-pointer when inside a dynamiccaly generated sigtramp.
2237 (alpha_pop_frame): Also unlink and destroy procedure descriptors
2238 created for dynamically generated sigtramp functions.
2240 * alpha-nat.c: When compiling under Linux, include <asm/reg.h> and
2241 <alpha/ptrace.h> instead of <machine/reg.h>
2243 Tue Jul 2 13:58:10 1996 Miles Bader <miles@gnu.ai.mit.edu>
2245 * gnu-nat.c (inf_validate_task_sc):
2246 Give terminal to gdb while asking question.
2247 (inf_resume): Don't validate the task suspend-count while execing.
2249 Thu Jun 13 11:04:52 1996 Miles Bader <miles@gnu.ai.mit.edu>
2251 * gnu-nat.c (inf_validate_task_sc): Query user before clearing any
2252 additional suspend count.
2253 (S_proc_wait_reply, gnu_attach): Don't call inf_validate_task_sc.
2254 (inf_resume): Call inf_validate_task_sc here.
2255 (gnu_resume): Call inf_update_procs to ensure noticing new threads.
2257 Fri Jun 7 17:00:43 1996 Miles Bader <miles@gnu.ai.mit.edu>
2259 * gnu-nat.c (gnu_create_inferior: attach_to_child): Return PID.
2261 Thu May 23 15:13:56 1996 Jeffrey A Law (law@cygnus.com)
2263 * h8300-tdep.c (IS_PUSH): Refine.
2264 (IS_MOVE_FP, IS_MOV_SP_FP): Accept H8/300H varaints.
2265 (IS_SUB4_SP, IS_SUBL_SP): New macros.
2266 (h8300_skip_prologue): Handle H8/300H prologue code sequences.
2267 (examine_prologue): Handle addresses from 0x010000 to 0xffffff
2268 when in H8/300H mode. Get the return pointer's address correctly
2269 for the H8/300H. Handle H8/300H prolouge code sequences.
2271 * symfile.c (generic_load): Print the starting address
2272 of the file just loaded.
2274 Thu May 23 12:09:52 1996 Stan Shebs <shebs@andros.cygnus.com>
2276 * mpw-make.sed: Edit @THREAD_DB_OBS@ out of makefile.
2278 Tue May 21 11:53:56 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2280 * breakpoint.c (bpstat_do_actions): Avoid endless recursion
2281 if a `source' command is contained in bs->commands.
2283 * infrun.c (wait_for_inferior): Update step_frame_address when
2284 stepping into a new line.
2286 From schwab@issan.informatik.uni-dortmund.de (Andreas Schwab):
2287 * breakpoint.c (breakpoint_1): Add shlib_disabled case to
2290 Mon May 20 22:52:00 1996 Mark Alexander <marka@cygnus.com>
2292 * dsrec.c (load_srec): Add WAITACK parameter, for machines
2293 like EST visionICE that send back an ACK after each S-record.
2294 * monitor.c (monitor_wait_srec_ack): New function.
2295 (monitor_load): Pass monitor_wait_srec_ack to load_srec
2296 if the monitor's MO_SREC_ACK flag is set.
2297 * monitor.h: Define MO_SREC_ACK flag.
2298 * remote-est.c (est_cmds): Add MO_SREC_ACK flag.
2299 * sh3-rom.c (sh3_load): Accomodate change in load_srec prototype.
2300 * srec.h: Add WAITACK parameter to load_srec prototype.
2302 Sun May 19 21:22:00 1996 Rob Savoye <rob@chinadoll>
2304 * config/sparc/sparclite.mt: Add the sparc simulator.
2306 Sun May 19 16:49:37 1996 Fred Fish <fnf@cygnus.com>
2308 * defs.h (read_command_lines, query_hook): Update prototypes.
2309 (readline_begin_hook, readline_hook, readline_end_hook): Declare.
2310 * breakpoint.c (commands_command): Build message in temporary buffer
2311 and pass that, as well as tty control flag, to read_command_lines.
2312 * top.c (readline_begin_hook, readline_hook, readline_end_hook):
2314 (command_loop): Check for non-NULL instream before looping.
2315 (command_line_input): Use readline_hook when appropriate, to get
2316 user input from a GUI window.
2317 (read_next_line): Also build prompt if getting user input from a GUI.
2318 (recurse_read_control_structure): Fix typo in comment.
2319 (read_command_lines): Use passed in prompt and tty flag to decide how
2320 to build message. Use readline_begin_hook when appropriate, to set
2321 up a GUI interaction window. Just return head, whether NULL or not,
2322 after using readline_end_hook to complete GUI interaction.
2323 (define_command, document_command): Build message in a temporary
2324 buffer and pass it to read_command_lines, along with tty flag.
2326 start-sanitize-gdbtk
2327 * gdbtk.c (gdbtk_readline_begin, gdbtk_readline, gdbtk_readline_end):
2329 (tk_command_loop): Set instream to NULL to enable Tk user interaction.
2330 (gdbtk_init): Set readline_begin_hook, readline_hook,
2331 and readline_end_hook.
2332 * gdbtk.tcl (gdbtk_tcl_readline_begin, gdbtk_tcl_readline,
2333 gdbtk_tcl_readline_end): New functions.
2334 (tclsh): Pack scroll bar on right side of window, not left.
2337 Sat May 18 02:43:58 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2339 * blockframe.c (frameless_look_for_prologue):
2340 Add FUNCTION_START_OFFSET only if func_start is non-zero.
2341 * minsyms.c (lookup_minimal_symbol_by_pc): Return NULL if
2342 pc is not in a known section.
2343 * stack.c (print_frame_info): Remove check for fi->pc in known
2344 section, now handled by lookup_minimal_symbol_by_pc.
2346 start-sanitize-gdbtk
2347 Fri May 17 13:54:34 1996 Fred Fish <fnf@cygnus.com>
2349 * gdbtk.tcl (create_command_window): Change a misspelled "get"
2350 to the intended "cget".
2351 (delete_line): Fix so it deletes the current line at the
2355 Fri May 17 13:31:04 1996 Stan Shebs <shebs@andros.cygnus.com>
2357 * sh-stub.c: New file, was config/sh/stub.c.
2359 start-sanitize-gdbtk
2360 Thu May 16 19:20:29 1996 Fred Fish <fnf@cygnus.com>
2362 * gdbtk.tcl (gdb_prompt): Set this early on.
2363 (create_command_window): Use gdb_prompt rather than "(gdb) ".
2364 (gdbtk_tcl_preloop): Proc executed just prior to Tk main loop.
2365 (tclsh): If an evaluation window already exists, just bring it
2366 to the front instead of trying to create another.
2367 * gdbtk.c (tk_command_loop): New function.
2368 (gdbtk_init): Call tk_command_loop rather than Tk_MainLoop.
2370 Thu May 16 16:16:35 1996 Fred Fish <fnf@cygnus.com>
2372 * gdbtk.tcl (evaluate_tcl_command, tclsh): New functions that
2373 implement a tcl evaluation window for gdbtk maintainers to use.
2375 Thu May 16 11:42:58 1996 Tom Tromey <tromey@creche.cygnus.com>
2377 * gdbtk.tcl (files_command): Correctly insert list of files into
2380 * gdbtk.tcl (files_command): listbox command no longer accepts
2383 Wed May 15 16:04:09 1996 Stan Shebs <shebs@andros.cygnus.com>
2385 * gdbtk.tcl (create_command_window): If command window's buffer
2386 is disabled, don't execute any of the key bindings.
2389 Wed May 15 08:25:12 1996 Jeffrey A Law (law@cygnus.com)
2391 * top.c (read_next_line): Fix thinkos. From Donn Seeley.
2393 * coffread.c (coff_symtab_read): Handle C_LABEL symbols like
2395 * h8300-tdep.c (h8300_pop_frame): Reset $sp and $pc correctly.
2396 Flush cached frames just before exiting.
2397 * remote-sim.c (gdbsim_resume): Complain if the program isn't
2399 * config/h8300/tm-h8300.h (BELIEVE_PCC_PROMOTION): Define.
2401 Tue May 14 18:05:16 1996 Stu Grossman (grossman@critters.cygnus.com)
2403 * procfs.c (procfs_thread_alive procfs_stop): Make static.
2404 (procfs_pid_to_str): New routine to print out thread id's in an
2405 intelligible manner.
2406 * sol-thread.c (sol_thread_fetch_registers): Re-order manner in
2407 which supply_register is called to fix bug with writing
2409 * config/sparc/tm-sun4sol2.h: Define default for
2410 target_pid_to_str in case host lacks libthread_db.
2412 Mon May 13 23:53:30 1996 Stu Grossman (grossman@critters.cygnus.com)
2414 * Makefile.in config.in configure configure.in
2415 config/sparc/nm-sun4sol2.h config/sparc/sun4sol2.mh
2416 config/sparc/tm-sun4sol2.h: Use autoconf to config Solaris thread
2417 and pthread support, since pre-2.5 systems don't come with
2420 * procfs.c (info_proc): Use int instead of id_t. Old versions of
2421 Irix don't seem to define this.
2423 start-sanitize-gdbtk
2424 Mon May 13 13:43:25 1996 Fred Fish <fnf@cygnus.com>
2426 * gdbtk.c (tk_command): Catch case where no argument is given
2427 since this will cause the tcl interpreter to dump core.
2430 Mon May 13 17:40:58 1996 Jeffrey A Law (law@cygnus.com)
2432 * top.c (execute_control_command, case while_control): Allow
2433 a while command to be interrupted.
2435 Mon May 13 16:17:36 1996 Stu Grossman (grossman@critters.cygnus.com)
2437 * sol-thread.c: More cleanup, add comments.
2438 (sol_thread_resume): Prevent people from trying to step
2440 (sol_thread_wait sol_thread_fetch_registers
2441 sol_thread_store_registers): Remove unnecessary check for
2442 sol_thread_active. These routines won't get called unless threads
2445 Mon May 13 11:29:37 1996 Stan Shebs <shebs@andros.cygnus.com>
2447 SH3-E support from Allan Tajii <atajii@hmsi.com>:
2448 * sh-tdep.c (sh_reg_names, sh3_reg_names): Add empty names for
2450 (sh3e_reg_names): New register name array.
2451 (sh_processor_type_table): Add sh3e processor type.
2452 * config/sh/tm-sh.h (REGISTER_VIRTUAL_TYPE): Fix test.
2453 (REGISTER_NAMES, NUM_REGS, NUM_REALREGS, etc): Adjust for
2454 full set of registers.
2455 * remote-e7000.c (want_sh3, want_sh3_nopc): New globals.
2456 (e7000_fetch_registers, e7000_wait): Use them.
2457 * sh3-rom.c (sh3_regnames): Add float registers.
2458 (sh3e_cmds, sh3e_ops): New globals.
2459 (sh3e_open): New function.
2460 (_initialize_sh3_rom): Rename from _initialize_sh3, set up
2463 Fri May 10 15:53:38 1996 Stu Grossman (grossman@lisa.cygnus.com)
2465 * sol-thread.c: Cleanup. gcc -Wall fixes. Add prototypes.
2466 Print out messages instead of codes for thread_db errors. Make
2467 access macros for thread and lwp manipulation. Make cleanups to
2468 fixup inferior_pid in case of errors.
2470 Thu May 9 19:06:02 1996 Fred Fish <fnf@cygnus.com>
2472 * aclocal.m4: Remove unused definition of AC_C_CROSS.
2473 * configure.in: Add powerpcle-*-solaris* host and target config
2474 so April 30th change does not get lost next time configure is
2477 Thu May 9 14:13:08 1996 Stu Grossman (grossman@critters.cygnus.com)
2479 * Makefile.in, breakpoint.c, corelow.c, fork-child.c, inflow.c,
2480 infrun.c, mac-nat.c, procfs.c, remote.c, sol-thread.c, thread.c,
2481 win32-nat.c, config/nm-lynx.h: Rename thread.h to gdbthread.h to
2482 avoid conflict with Solaris /usr/include/thread.h.
2484 Thu May 9 12:33:32 1996 Rob Savoye <rob@chinadoll.cygnus.com>
2486 * abug-rom.c: Config file for the older style ABug monitor that
2487 runs on the mvme13x boards.
2488 * config/m68k/monitor.mt: Add abug support for m68k cross
2491 Wed May 8 20:33:24 1996 Fred Fish <fnf@cygnus.com>
2493 * infcmd.c (do_registers_info): Always print the raw floating
2494 point value's bytes in big endian order, so the the leftmost bit
2495 is the most significant.
2496 * breakpoint.c (clear_momentary_breakpoints): Remove dead code
2497 that is referenced nowhere else.
2498 (set_breakpoint): Ditto.
2499 (do_enable_breakpoint): Created from enable_once_breakpoint
2500 with a couple of changes.
2501 (enable_breakpoint): Call do_enable_breakpoint with an appropriate
2502 bpdisp enum value to set disposition of breakpoint.
2503 (enable_once_breakpoint): Ditto.
2504 (enable_delete_breakpoint): Ditto.
2505 * breakpoint.h (clear_momentary_breakpoints): Remove prototype.
2506 * symtab.c (find_pc_line): Improve comments.
2507 start-sanitize-gdbtk
2508 * gdbtk.c: Fix a couple of misspellings.
2510 * xcoffread.c: Ditto.
2512 Tue May 7 18:37:06 1996 Stan Shebs <shebs@andros.cygnus.com>
2514 * target.c (debug_to_xfer_memory): Insert line breaks when
2515 dumping the memory block.
2517 Mon May 6 13:52:52 1996 Stu Grossman (grossman@critters.cygnus.com)
2519 * fork-child.c (fork_inferior), inferior.h: init_trace_fun now
2520 returns a possibly modified pid.
2521 * inftarg.c (ptrace_him): Now returns pid;
2522 * m3-nat.c (m3_trace_him): Now returns pid;
2523 * infcmd.c (run_command): Minor cleanup.
2524 * infrun.c (wait_for_inferior): Add another check for one_stepped
2525 near where we read the pc to avoid erroneously setting
2526 random_signal for multi-threaded support.
2527 * procfs.c: Add support for Solaris LWPs. Remove def of
2528 LOSING_POLL. Many cleanups... Several workarounds for Solaris
2529 lossage. System call entry and exit are now handled by
2530 dynamically registered handlers.
2531 * (syscallname): Don't barf when handed an unknown syscall
2533 * (info_proc_syscalls): Ditto.
2534 * sol-thread.c: New file. Implements Solaris thread support.
2535 * symfile.c (symbol_file_add): Add call to target_new_objfile to
2536 notify target-dependent code about new symbol tables.
2537 * (clear_symtab_users): Call target_new_objfile to notify it of
2538 the removal of all symbol tables.
2539 * target.c (push_target): Make sure that to_close is non-zero
2541 * target.h (target_new_objfile): Provide default.
2542 * config/alpha/nm-osf2.h: Define LOSING_POLL because this version
2543 of OSF can't hack using poll with /proc.
2544 * config/sparc/nm-sun4sol2.h (target_new_objfile): Define to be
2545 sol-thread-new-objfile.
2546 * config/sparc/sun4sol2.mh: Add sol-thread.o to NATDEFFILES, and
2547 add libthread_db.so.1 to NAT_CLIBS.
2548 * config/sparc/tm-sun4sol2.h: Define PIDGET, TIDGET, and
2551 Sat May 4 02:13:34 1996 N Srin Kumar <nsrin@wipinfo.soft.net>
2553 * procfs.c (remove_fd): Fix copy of fds to fill hole left after
2554 removal of the requested fd.
2556 Mon May 6 07:52:48 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2558 * rs6000-tdep.c (_initialize_rs6000_tdep): Don't do XCOFF specific
2561 * config/powerpc/tm-ppc-eabi.h: Define ELF_OBJECT_FORMAT.
2563 start-sanitize-gdbtk
2564 Thu May 2 19:17:49 1996 Stan Shebs <shebs@andros.cygnus.com>
2566 * gdbtk.tcl (debug_interface): New global, use to aid debugging.
2567 (insert_breakpoint_tag, delete_breakpoint_tag): Fix range.
2568 (file_popup_menu): Delete, never used.
2569 (listing_window_popup): Rename from listing_window_button_1,
2570 remove breakpoint toggling code.
2571 (toggle_breakpoint): New procedure.
2572 (create_file_win): Bind popup menu to button 2, toggle breakpoints
2573 with button 1 in breakpoint area, add display of tagged areas if
2577 Thu May 2 12:46:14 1996 Jeffrey A Law (law@cygnus.com)
2580 * breakpoint.h (enum bpdisp): Add del_at_next_stop.
2581 * breakpoint.c (insert_breakpoints, watchpoint_check,
2582 bpstat_stop_status): Avoid bad references to memory freed via
2583 delete_breakpoint on watchpoints going out of scope.
2584 Do not delete these watchpoints, disable them and change their
2585 disposition to del_at_next_stop instead.
2586 (breakpoint_auto_delete): Delete all breakpoints whose disposition
2587 is del_at_next_stop.
2588 (breakpoint_init_inferior): Use switch to avoid reference to
2589 already deleted breakpoint.
2591 Wed May 1 17:29:18 1996 Fred Fish <fnf@cygnus.com>
2593 * Makefile.in (rs6000-nat.o): Depend on xcoffsolib.h.
2594 * config/rs6000/rs6000.mh (NATDEPFILES): Move xcoffread.o ...
2595 * config/rs6000/rs6000.mt (TDEPFILES): ... to here.
2596 * xcoffsolib.c (xcoff_relocate_symtab_hook): Define and initialize.
2597 (solib_info): Call xcoff_relocate_symtab via the hook.
2598 (sharedlibrary_command): Ditto.
2599 * xcoffread.c: Remove all FAKING_RS6000 comments and defines.
2600 (xcoff_add_toc_to_loadinfo_hook): Define and initialize here.
2601 (xcoff_init_loadinfo_hook): Define and initialize here.
2602 (scan_xcoff_symtab): Call xcoff_add_toc_to_loadinfo via the hook.
2603 (xcoff_initial_scan): Call xcoff_init_loadinfo via the hook.
2604 * xcoffsolib.h (xcoff_relocate_symtab_hook): Declare extern func.
2605 * rs6000-tdep.c (_initialize_rs6000_tdep): Add initializations
2606 of xcoff_add_toc_to_loadinfo_hook and xcoff_init_loadinfo_hook.
2607 * rs6000-nat.c (_initialize_core_rs6000): Add initialization
2608 of xcoff_relocate_symtab_hook.
2610 Tue Apr 30 13:22:02 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2612 * configure (powerpcle-*-solaris*): Add Solaris support.
2614 * config/powerpc/{solaris.m[ht],tm-solaris.h}: New files for
2617 Mon Apr 29 16:17:31 1996 Dawn Perchik <dawn@cygnus.com>
2619 * c-valprint.c (c_val_print): Fix printing for arrays defined
2622 Sun Apr 28 15:08:05 1996 Stan Shebs <shebs@andros.cygnus.com>
2624 Support for bi-endian remote breakpoints.
2625 * remote.c (big_break_insn, little_break_insn): New globals.
2626 (break_insn): Remove.
2627 (remote_insert_breakpoint, remote_remove_breakpoint): Use own
2628 code if REMOTE_BREAKPOINT defined, otherwise call memory
2629 breakpoint functions.
2630 * config/sh/tm-sh.h (REMOTE_BREAKPOINT): Remove.
2631 (BIG_REMOTE_BREAKPOINT, LITTLE_REMOTE_BREAKPOINT): Define.
2633 * mon960-rom.c (mon960_cmds): Remove forward decl.
2634 (mon960_load): Use current_monitor instead of mon960_cmds.
2635 (mon960_regnames): Remove backslashes from line ends.
2636 (_initialize_mon960): Fix documentation string.
2638 Sun Apr 28 12:10:35 1996 Fred Fish <fnf@cygnus.com>
2640 * symfile.h (psymbol_allocation_list): Expand comments which
2641 describe the psymbol allocation list and how each field is
2644 Sun Apr 28 03:44:30 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2646 * breakpoint.c (delete_breakpoint): Fix bpt->val, bpt->exp
2648 (breakpoint_re_set_one): Fix b->exp, b->val, b->cond storage leaks.
2650 * infcmd.c (run_command), solib.c (locate_base): Check for
2651 target_has_execution in addition to inferior_pid, a core file
2652 from a threaded program is yielding a non-zero inferior_pid.
2654 * sparc-tdep.c (get_saved_register): Handle window registers
2655 in a dummy frame correctly.
2657 Sat Apr 27 20:38:32 1996 Fred Fish <fnf@cygnus.com>
2659 * Makefile.in (CLIBS): Move $(MMALLOC) past all other libs,
2660 so that anything that wants an allocation function not yet pulled
2661 in, will get it from mmalloc rather than a system library.
2662 * Makefile.in (INSTALLED_LIBS): Reorder to match order of CLIBS,
2663 to avoid surprising results when used.
2665 Sat Apr 27 00:12:05 1996 Dawn Perchik (dawn@cygnus.com)
2667 * stabsread.c: Changes and bug fixes for cfront support.
2668 Fix bug for class data members.
2669 Fix parsing bug when no base classes exist.
2670 Fix memory bug - allocate space for cplusplus specific info.
2671 Add support for static data.
2672 Add prototypes for static functions.
2673 Enhance comments to show what each function expects to parse.
2675 * stabsread.c(resolve_cont),dbxread.c(resolve_cont): Rename
2676 function to resolve_cfront_continuation.
2678 Fri Apr 26 23:58:26 1996 Jeffrey A Law (law@cygnus.com)
2680 * infrun.c (wait_for_inferior): Call registers_changed when
2681 restarting the inferior to get over a nullified instruction.
2683 Tue Apr 24 12:12:55 1996 Dawn Perchik (dawn@cygnus.com)
2685 * dbxread.c,stabsread.c,gdbtypes.c,partial-stab.h,valops.c:
2686 Add new support for parsing cfront stabs.
2688 Wed Apr 24 00:32:55 1996 Jeffrey A Law (law@cygnus.com)
2690 * infrun.c (wait_for_inferior): Move "have_waited" label
2691 outside of #ifdef conditionals. Don't trash the wait status
2692 if we get a signal and the current instruction is nullified.
2694 Mon Apr 22 20:17:01 1996 Fred Fish <fnf@cygnus.com>
2696 * Makefile.in (VERSION): Bump version number to 4.16.1.
2697 * NEWS: Update for 4.16 release.
2699 Mon Apr 22 16:32:29 1996 Stan Shebs <shebs@andros.cygnus.com>
2701 * monitor.h: Clean up comment formatting.
2702 (current_monitor): Remove decl.
2703 (LOADTYPES, LOADPROTOS, INIT_CMD, etc): Remove definitions.
2704 (push_monitor, SREC_SIZE): Remove.
2705 * monitor.c: Expand old macro into current_monitor derefs
2707 * remote-os9k.c (current_monitor): Remove definition.
2709 Mon Apr 22 14:54:45 1996 Mark Alexander <marka@superball.cygnus.com>
2711 * corefile.c (specify_exec_file_hook): Allow arbitrary number of
2713 (call_extra_exec_file_hooks): New function.
2714 * h8300-tdep.c: Lint; add .h files to provide missing declarations,
2715 remove unused variables.
2716 (set_machine_hook): New function.
2717 (_initialize_h8300m): Initialize it.
2719 Fri Apr 19 15:03:49 1996 Ian Lance Taylor <ian@cygnus.com>
2721 * remote-mips.c (encoding): Don't specify size, to avoid bug in
2722 SunOS native compiler.
2724 Thu Apr 18 18:46:57 1996 Stan Shebs <shebs@andros.cygnus.com>
2726 * monitor.c: Use int rather than LONGEST for values, since
2727 the formatting strings are not prepared to accept long longs.
2729 Wed Apr 17 20:17:27 1996 Doug Evans <dje@canuck.cygnus.com>
2731 * arm-tdep.c (initialize_arm_tdep): Make apcs32 a `zinteger'.
2733 Tue Apr 16 17:38:23 1996 Stu Grossman (grossman@critters.cygnus.com)
2735 * corelow.c (add_to_thread_list): Make sure reg_sect is non-null
2736 before de-referencing it. Prevents deref of NULL pointer if core
2737 file lacks .reg section.
2738 * defs.h: Rename floatformat_{to from}_long_double to
2739 floatformat_{to from}_doublest. Get rid of FLOATFORMAT_{TO
2741 * findvar.c (extract_floating store_floating): Change all refs to
2742 FLOATFORMAT_{FROM TO}... to floatformat_{from to}_doublest.
2743 * utils.c: Change floatformat_{to from}_long_double to
2744 floatformat_{to from}_doublest cuz the new routines will use
2745 whatever size (double or long double) is appropriate.
2746 * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
2747 REGISTER_CONVERT_TO_RAW): Change FLOATFORMAT... macros to
2748 floatformat... routine calls.
2750 Mon Apr 15 16:34:11 1996 Per Bothner <bothner@kalessin.cygnus.com>
2752 * stabsread.c (read_type): Move handling of '@' from type
2753 number handling to handling of types proper (as emitted by gcc!).
2754 For typedefs, allocate the typedef type before reading its
2755 definition, to properly handling recursive types.
2757 Mon Apr 15 11:19:26 1996 Jeffrey A Law (law@cygnus.com)
2759 * ch-exp.c (calculate_array_length): Fix prototype.
2761 Sat Apr 13 14:21:16 1996 Stu Grossman (grossman@critters.cygnus.com)
2763 * remote-nindy.c (nindy_open): Acquire more target state so that
2764 user can attach to a previously running program.
2765 * (nindy_fetch_registers nindy_store_registers): Get rid of fp
2766 conversion code. That's all handled in {extract store}_floating
2768 * utils.c (floatformat_to_double): Don't bias exponent when
2769 handling zero's, denorms or NaNs.
2770 * config/i960/tm-i960.h (REGISTER_CONVERT_TO_VIRTUAL
2771 REGISTER_CONVERT_TO_RAW): Change to using DOUBLST and
2772 FLOATFORMAT_TO/FROM_DOUBLEST macros.
2773 * config/i960/tm-nindy960.h: Undefine
2774 REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, and
2775 REGISTER_CONVERTIBLE. These are no longer necessary now that all
2776 the magic happens in extract/store_floating.
2778 Sat Apr 13 02:58:02 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
2780 * eval.c (evaluate_subexp_standard): Report error when attempting to
2781 evaluate subscripts for types which cannot be subscripted.
2783 * valarith.c (value_x_binop, value_x_unop): Add noside parameter.
2784 Return a zero value with the return type of the member function
2785 if noside is EVAL_AVOID_SIDE_EFFECTS instead of calling the member
2787 * values.h (value_x_binop, value_x_unop): Update prototypes
2789 * eval.c (evaluate_subexp_standard): Update all callers of
2790 value_x_binop, value_x_unop accordingly.
2792 * valarith.c (value_neg, value_complement): Perform ANSI C/C++
2793 integral promotion on operands.
2795 Fri Apr 12 13:19:27 1996 Fred Fish <fnf@cygnus.com>
2797 * README: Update for 4.16 release.
2798 * configure.in (AC_CHECK_FUNCS): Also check for sbrk.
2799 * configure: Regenerate with autoconf.
2800 * config.in: Regenerate with autoheader.
2801 * main.c (main): Only use sbrk() when HAVE_SBRK is defined.
2802 * top.c (command_loop): Ditto.
2804 Fri Apr 12 09:45:29 1996 Stu Grossman (grossman@critters.cygnus.com)
2806 * defs.h: Define TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT
2807 defaults for bi-endian targets. Replace function pointers for
2808 floatformat routines with macros. No need for these to be runtime
2810 * findvar.c: Get rid of floatformat function pointers. Use
2811 macros in extract_floating and store_floating.
2812 * remote-nindy.c (nindy_fetch_registers nindy_store_registers):
2813 Use floatformat macros.
2815 Thu Apr 11 21:28:02 1996 Fred Fish <fnf@cygnus.com>
2817 From: Miles Bader <miles@gnu.ai.mit.edu>
2818 * configure.in (AC_CHECK_HEADERS): check for endian.h.
2819 Use AC_CHECK_TOOL to find AR & RANLIB. Add AC_PROG_AWK.
2820 Add host & target cases for i[345]86-*-gnu*.
2821 * config.in: Regenerate with autoheader.
2822 * configure: Regenerate with autoconf.
2823 * Makefile.in (AR, AWK): Set from corresponding autoconf substs.
2824 (init.c): Don't scan mig-generated files.
2825 * defs.h (endian.h): Include if HAVE_ENDIAN_H defined.
2826 * config/nm-m3.h (ATTACH_NO_WAIT): Define.
2827 * infcmd.c (attach_command): Use "#ifndef ATTACH_NO_WAIT"
2828 rather than "#ifndef MACH".
2830 Thu Apr 11 18:49:42 1996 Stan Shebs <shebs@andros.cygnus.com>
2832 * remote.c (remotewritesize): New GDB variable, controls size
2833 of memory packets sent to the target.
2835 Thu Apr 11 13:47:52 1996 Stu Grossman (grossman@critters.cygnus.com)
2837 * dcache.c: Add prototypes. Make many functions static.
2838 * (dcache_peek dcache_fetch dcache_poke): Make dcache_fetch and
2839 dcache_poke call dcache_xfer_memory directly in order to fix
2840 problems with turning off dcache. dcache_peek is now unnecessary,
2843 * defs.h: Define new macros HOST_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT
2844 and TARGET_{FLOAT DOUBLE LONG_DOUBLE}_FORMAT to specify a pointer
2845 to a struct floatformat. This allows for better handling of
2846 targets whose floating point formats differ from the host by more
2847 than just byte order.
2848 * (floatformat_to_long_double floatformat_from_long_double):
2849 Prototypes for new functions in utils.c.
2850 * (floatformat_to_doublest floatformat_from_doublest): Prototypes
2851 for pointers to floating point conversion functions. The actual
2852 function uses either double or long double if the host supports it.
2853 * findvar.c (floatformat_to_doublest floatformat_from_doublest):
2854 Initialize to point at correct function depending on HAVE_LONG_DOUBLE.
2855 * (extract_floating store_floating): Rewrite. Now, if host fp
2856 format is the same as the target, we just do a copy. Otherwise,
2857 we call floatformat_{to from}_doublest.
2858 * remote-nindy.c (nindy_xfer_inferior_memory): Change param
2859 `write' to `should_write'.
2860 * utils.c (floatformat_to_long_double
2861 floatformat_from_long_double): New routines that implement long
2862 double versions of functions in libiberty/floatformat.c.
2863 * config/i960/tm-i960.h (TARGET_LONG_DOUBLE_FORMAT): Define this for
2864 i960 extended real (80 bit) numbers.
2865 * nindy-share/nindy.c (ninMemGet ninMemPut): Return number of bytes
2866 actually read or written.
2868 Wed Apr 10 02:56:06 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
2870 * ch-valprint.c (chill_val_print): Remove call to calculate_array_length.
2871 (calculate_array_length): Move function from here ...
2873 * ch-exp.c (calculate_array_length): ... to here.
2874 (parse_primval): If we have a symbol with an array type
2875 and the length is 0, call calculate_array_length.
2877 Tue Apr 9 01:23:05 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
2879 * eval.c (evaluate_subexp_standard): In case of TYPE_CODE_SET:
2880 Add some checks for powerset compatibility.
2882 * valops.c (value_slice): Use lowbound instead of lowerbound for
2883 call to slice_range_type to get correct bounds.
2885 Mon Apr 8 12:53:56 1996 Fred Fish <fnf@cygnus.com>
2887 * Makefile.in (scm-exp.o, scm-lang.o, scm-valprint.o): Add targets and
2889 * scm-lang.c (gdb_string.h): Include.
2890 * objfiles.c (add_to_objfile_sections): Cast second arg of obstack_grow
2891 call to correct type (char *).
2892 * cp-valprint.c (cp_print_static_field): Ditto.
2893 * somsolib.c (som_solib_create_inferior_hook): Add a declaration
2894 for external find_unwind_entry function (from hppa-tdep.c).
2895 * remote-pa.c (remote_write_bytes, remote_read_bytes): Change
2896 type of second arg to "char *" to be type compatible with
2898 (remote_wait): Cast second arg to strtol to correct type.
2899 * hppa-tdep.c (compare_unwind_entries): Change argument types to
2900 "const void *" to be type compatible with qsort, and then
2901 assign to local args prior to use.
2903 Mon Apr 8 15:35:52 1996 Jeffrey A Law (law@cygnus.com)
2905 * infptrace.c (kill_inferior): Remove call to "kill"; update
2908 Mon Apr 8 14:05:07 1996 Geoffrey Noer <noer@cygnus.com>
2910 * remote-e7000.c: don't append :23 to target port if __WIN32__
2911 is defined (it's WinGDB).
2913 Sun Apr 7 22:34:29 1996 Fred Fish <fnf@cygnus.com>
2915 From: Miles Bader <miles@gnu.ai.mit.edu>
2916 * gnu-nat.c, gnu-nat.h, msg.defs, exc_request.defs, i386gnu-nat.c,
2917 msg_reply.defs, notify.defs, process_reply.defs, reply_mig_hack.awk,
2918 config/nm-gnu.h, config/i386/{i386gnu.mh, i386gnu.mt, nm-gnu.h,
2919 m-i386gnu.h, xm-i386gnu.h}: New files for GNU hurd.
2921 Sun Apr 7 13:32:41 1996 Fred Fish <fnf@cygnus.com>
2923 * configure.in (case host): Add i386sco5 host.
2924 * configure: Regenerate.
2926 From: Robert Lipe <robertl@dgii.com>
2927 Add support for SCO OpenServer 5 (a.k.a. 3.2v5*) This
2928 target is an SVR3.2 with COFF, ELF, and shared libes, but
2930 * config/i386/i386sco5.mh: New file.
2931 * config/i386/nm-i386sco5.h: New file.
2933 Sat Apr 6 08:55:22 1996 Fred Fish <fnf@cygnus.com>
2935 * bcache.c (bcache): When size of chunk to cache is exactly equal to
2936 BCACHE_MAXLENGTH, stash chunk as unique copy.
2938 Sat Apr 6 00:46:26 1996 Fred Fish <fnf@cygnus.com>
2940 * symfile.c (INLINE_ADD_PSYMBOL): Remove ifdef.
2941 (add_psymbol_to_list): Add an arg for passing CORE_ADDR values and
2942 use it, rather than calling add_psymbol_addr_to_list.
2943 (add_psymbol_addr_to_list): Delete.
2944 (add_psymbol_to_list): Make psymbol static to avoid random data in
2945 gaps due to alignment of structure members.
2946 * symfile.h (INLINE_ADD_PSYMBOL, ADD_PSYMBOL_TO_LIST,
2947 ADD_PSYMBOL_ADDR_TO_LIST): Remove. Real world tests show no
2948 performance improvements by inlining via complicated macros and
2949 they just make gdb larger and harder to maintain.
2950 * dwarfread.c (add_enum_psymbol): Replace ADD_PSYMBOL_TO_LIST
2951 and/or ADD_PSYMBOL_ADDR_TO_LIST macro(s) with call to
2952 add_psymbol_to_list with appropriate long or CORE_ADDR args.
2953 (add_partial_symbol): Ditto.
2954 * partial-stab.h: Ditto.
2955 * os9kread.c (read_os9k_psymtab): Ditto
2956 * mdebugread.c (parse_partial_symbols): Ditto.
2957 (handle_psymbol_enumerators): Ditto.
2958 (demangle.h): Include.
2959 * hpread.c (hpread_build_psymtabs): Ditto.
2960 (hpread_build_psymtabs): Ditto.
2961 (demangle.h): Include
2963 start-sanitize-gdbtk
2964 Fri Apr 5 13:44:40 1996 Stan Shebs <shebs@andros.cygnus.com>
2966 * gdbtk.c (running_now): New global variable.
2967 (gdb_cmd): Test it before executing any command.
2968 (gdbtk_call_command): Set it when inferior is running.
2969 * gdbtk.tcl (gdbtk_tcl_busy, gdbtk_tcl_idle): Enable and
2970 disable interaction with command window's text appropriately.
2972 Fri Apr 5 13:25:42 1996 Michael Meissner <meissner@tiktok.cygnus.com>
2974 * gdbtk.c (SIOCSPGRP, linux): If on Linux, undef SIOCSPGRP, since
2975 some versions of the kernel don't support it.
2978 Thu Apr 4 20:16:55 1996 Fred Fish <fnf@cygnus.com>
2980 * configure.in: Check for setpgid function.
2981 * config.in: Regenerate with autoheader.
2982 * configure: Regenerate with autoconf.
2983 * inflow.c (_initialize_inflow): Only try to use _SC_JOB_CONTROL
2984 if it is actually defined.
2985 (gdb_setpgid): Use HAVE_SETPGID.
2986 * ch-exp.c: Change include of <string.h> to "gdb_string.h".
2987 * c-exp.y, f-exp.y, m2-exp.y: Ditto.
2988 * c-exp.y, serial.c: Include <ctype.h>.
2989 * config/m68k/nm-news.h: Add typedef for pid_t which is
2990 apparently missing from <sys/types.h>. Enclose entire
2991 file in NM_NEWS_H ifndef and define when included.
2992 * config/mips/nm-news-mips.h: Ditto.
2993 * config/m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL,
2994 REGISTER_CONVERT_TO_RAW): Change name of temporary variable.
2996 Thu Apr 4 19:04:18 1996 Stan Shebs <shebs@andros.cygnus.com>
2998 * arm-xdep.c: Move native-specific code to here from arm-tdep.c.
2999 * arm-tdep.c (arm_apcs_32): New global.
3000 (arm_addr_bits_remove, arm_saved_pc_after_call,
3001 arm_push_dummy_frame, arm_pop_frame): New functions.
3002 (arm_skip_prologue): Updated version from Richard Earnshaw.
3003 (_initialize_arm_tdep): Add set/show "apcs32".
3004 * config/arm/tm-arm.h (ADDR_BITS_REMOVE): Call
3005 arm_addr_bits_remove.
3006 (SAVED_PC_AFTER_CALL): Call arm_saved_pc_after_call.
3007 (frame_find_saved_regs): Declare properly.
3008 (PUSH_DUMMY_FRAME): Call arm_push_dummy_frame.
3009 (POP_FRAME): Call arm_pop_frame, use ADDR_BITS_REMOVE instead of
3011 * config/arm/nm-arm.h: New file.
3012 * config/arm/xm-arm.h (KERNEL_U_ADDR, FETCH_INFERIOR_REGISTERS):
3013 Move definitions to nm-arm.h.
3014 * config/arm/arm.mh (NAT_FILE): Define.
3016 * symfile.c (generic_load): Initialize data_count properly.
3018 Thu Apr 4 17:17:53 1996 Fred Fish <fnf@cygnus.com>
3020 * symmisc.c (print_objfile_statistics): Print memory used by
3021 psymbol cache obstack.
3023 Thu Apr 4 15:43:07 1996 Stan Shebs <shebs@andros.cygnus.com>
3025 * symfile.c (report_transfer_performance): New function.
3026 (generic_load): Call it to report transfer rate.
3027 * remote-e7000.c (e7000_load): Ditto.
3029 Mon Apr 1 16:31:00 1996 Stan Shebs <shebs@andros.cygnus.com>
3031 * mpw-make.sed: Change references to config.h to be in objdir,
3032 edit out rules to rebuild config.h.
3034 Mon Apr 1 08:32:23 1996 Fred Fish <fnf@cygnus.com>
3036 * hppa-tdep.c (hppa_pop_frame): Call clear_proceed_status before
3039 Sun Mar 31 16:15:43 1996 Fred Fish <fnf@cygnus.com>
3041 * hppah-nat.c (store_inferior_registers, store_inferior_registers,
3042 fetch_register, child_xfer_memory): Use call_ptrace function supplied
3043 by infptrace.c rather than calling ptrace directly.
3045 Sun Mar 31 15:39:00 1996 Stan Shebs <shebs@andros.cygnus.com>
3047 * mon960-rom.c: Cleanups and elimination of unused code,
3048 clarify documentation string.
3049 (mon960_serial, mon960_ttyname): Remove.
3050 * config/i960/tm-mon960.h (ADDITIONAL_OPTIONS,
3051 ADDITIONAL_OPTION_CASES, ADDITIONAL_OPTION_HELP): Remove.
3053 Sat Mar 30 11:00:22 1996 Fred Fish <fnf@cygnus.com>
3055 * configure.in: Check whether printf family supports printing
3056 long doubles or not and define PRINTF_HAS_LONG_DOUBLE if so.
3057 * acconfig.h: Provide default undef for PRINTF_HAS_LONG_DOUBLE.
3058 * configure: Regenerate.
3059 * valprint.c (print_floating): Use PRINTF_HAS_LONG_DOUBLE.
3060 * c-exp.y (parse_number): Use PRINTF_HAS_LONG_DOUBLE.
3061 * configure.in: Fix have_gregset and have_fpregset autoconf
3062 variable names so that they match the pattern required to
3065 Fri Mar 29 21:39:56 1996 Fred Fish <fnf@cygnus.com>
3067 * core-aout.c (fetch_core_registers): Cast core_reg_size to int
3068 before testing against reg_ptr.
3069 * eval.c (evaluate_subexp_standard): Cast type of
3070 TYPE_FN_FIELD_VOFFSET to int.
3071 * findvar.c (extract_signed_integer, extract_unsigned_integer,
3072 extract_long_unsigned_integer): Cast type of sizeof to int.
3073 * values.c (unpack_field_as_long, modify_field): Ditto.
3074 * valops.c (value_assign, call_function_by_hand): Ditto.
3075 * infcmd.c (do_registers_info): Ditto.
3076 * ser-tcp.c (tcp_open): Ditto.
3077 * remote.c (putpkt): Ditto.
3078 * dcache.c (dcache_peek): Ditto.
3079 * dcache.c (dcache_poke): Ditto.
3080 * m2-exp.y (yylex): Ditto.
3081 * gnu-regex.c (re_match_2): Ditto.
3082 * f-lang.c (ADD_BF_SYMNUM, saved_bf_list_end, tmp_bf_ptr): Ifdef
3083 out unused macro definition and variables.
3084 * inftarg.c (proc_wait): Move from main.c to here, and make static.
3085 * valprint.c (val_print_string): Change bufsize from int to unsigned.
3086 * main.c (wait.h): Include.
3087 * top.c (command_line_input): Remove unused variable "c".
3088 * f-typeprint.c (f_type_print_varspec_prefix): Add missing enum
3089 value TYPE_CODE_TYPEDEF to switch statement.
3090 (f_type_print_varspec_suffix): Add missing enum value
3091 TYPE_CODE_TYPEDEF to switch statement.
3092 * ch-exp.c (parse_primval): Add remaining enumeration values to
3093 switch statement, with no specific action.
3094 (ch_lex): Add LOC_UNRESOLVED in switch statement.
3095 (pushback_token): Ifdef out, since code using it is ifdef'd out.
3096 * stabsread.c (cleanup_undefined_types): Remove unused label
3098 * objfiles.h (print_symbol_bcache_statistics): Add prototype.
3099 * maint.c (objfiles.h): Include.
3100 (maintenance_print_statistics): Remove unused variable "temp".
3101 * minsyms.c (lookup_minimal_symbol_solib_trampoline): Remove
3102 unused variable "found_file_symbol".
3103 * m2-exp.y (yylex): Add LOC_UNRESOLVED case to switch.
3104 * language.c (lang_bool_type): Use existing function local type
3105 variable rather than create block local variables.
3106 * solib.c (disable_break): Enclose in ifndef SVR4_SHARED_LIBS.
3107 * infptrace.c (wait.h, command.h): Include.
3108 * ser-tcp.c (gdb_string.h): Include
3109 * i386-tdep.c (codestream_seek): Change "place" to CORE_ADDR.
3110 (i386_get_frame_setup): Change "pc" from int to CORE_ADDR.
3111 * command.c (complete_on_enum): Make assignment used as truth value
3112 explictly check against NULL.
3114 * infrun.c (wait_for_inferior): Ifdef out prologue_pc since code
3115 that uses it is ifdef'd out.
3116 * parser-defs.h: Add prototype for write_dollar_variable.
3117 * infrun.c: Add prototype for write_pc_pid.
3118 * breakpoint.h: Add prototype for re_enable_breakpoints_in_shlibs.
3119 * symmisc.c (bcache.h): Include.
3120 * bcache.h: Add prototype for print_bcache_statistics.
3121 * symfile.c: Include <time.h>.
3122 * printcmd.c (print_scalar_formatted): Change len to unsigned int.
3123 * valarith.c (value_equal): Cast result of TYPE_LENGTH to int.
3124 * valarith.c (value_binop): Change result_len, promoted_len1,
3125 and promoted_len2 to unsigned int.
3126 * valarith.c (value_subscripted_rvalue): Change elt_offs and
3127 elt_size to unsigned int.
3128 * valops.c (value_array): Change typelength to unsigned int.
3129 (destructor_name_p): Change len to unsigned int.
3130 * scm-lang.h (scm_parse): Add prototype for scm_unpack.
3131 * symfile.c (decrement_reading_symtab): Change return type to void.
3132 * valarith.c (value_subscript): Remove unused variable "word".
3133 (value_subscript): Remove unused variable "tint".
3134 * valops.c (auto_abandon): Ifdef out, since code using it is also
3136 * eval.c (init_array_element): Remove unused variable "val".
3137 * Makefile.in (values.o): Depends on scm-lang.h.
3138 (command.o): Depends upon wait_h.
3139 (ser-tcp.o): Depends upon gdb_string.h.
3140 (infptrace.o): Depends upon wait_h and command_h.
3141 (maint.o): Depends on objfiles.h and symfile.h.
3142 * values.c (allocate_repeat_value): Remove unused variable
3144 (scm-lang.h): Include.
3145 * breakpoint.c (create_longjmp_breakpoint): Enclose in
3146 GET_LONGJMP_TARGET define, unused otherwise.
3147 * config/i386/nm-linux.h: Add prototypes for i386_insert_watchpoint,
3148 i386_remove_watchpoint and i386_stopped_by_watchpoint.
3150 Thu Mar 28 12:53:19 1996 Doug Evans <dje@canuck.cygnus.com>
3152 * configure.in (sparc64-*-solaris2*): Delete.
3153 Stick with sparc-*-solaris2*.
3154 * configure: Regenerated.
3156 Thu Mar 28 06:51:26 1996 Fred Fish <fnf@cygnus.com>
3158 * valops.c (value_assign): Make copy of internal variable value
3159 before returning it as a new value, since it is owned by the
3160 internal variable and will be freed along with it.
3162 Wed Mar 27 08:36:17 1996 Jeffrey A Law (law@cygnus.com)
3164 * From Peter Schauer.
3165 * breakpoint.c (breakpoint_re_set_one): Keep temporary
3166 breakpoints bp_until, bp_finish, bp_watchpoint_cope, bp_call_dummy
3167 and bp_step_resume in case breakpoint_re_set_one is called due
3168 to a step over a dlopen call.
3169 * infrun.c (wait_for_inferior): Always remove breakpoints from
3170 inferior in BPSTAT_WHAT_CHECK_SHLIBS case.
3172 Tue Mar 26 13:15:32 1996 Fred Fish <fnf@cygnus.com>
3174 * config/mips/tm-mips.h (COERCE_FLOAT_TO_DOUBLE): Only prefer
3175 non-prototyped case over prototyped case for C.
3176 * config/pa/tm-hppa.h (COERCE_FLOAT_TO_DOUBLE): Ditto.
3178 Sat Mar 23 17:24:28 1996 Fred Fish <fnf@cygnus.com>
3180 * os9kread.c (os9k_process_one_symbol): Note nonportable
3181 assumption that an int can hold a char *.
3183 * bcache.h (struct hashlink): Wrap data[] inside union with
3184 double to force longest alignment.
3185 (BCACHE_DATA): New macro to access data[].
3186 (BCACHE_ALIGNMENT): New macro to get offset to data[].
3187 * bcache.c (lookup_cache, bcache): Use BCACHE_DATA to get
3188 address of cached data. Use BCACHE_ALIGNMENT to compute
3189 amount of space to allocate for each hashlink struct.
3191 Sat Mar 23 12:14:02 1996 Fred Fish <fnf@cygnus.com>
3193 * ch-lang.c (evaluate_subexp_chill): Fix typo.
3195 Thu Mar 21 08:27:19 1996 Fred Fish <fnf@cygnus.com>
3197 * Makefile.in (VERSION): Bump version to 4.15.3
3199 Thu Mar 21 10:56:41 1996 Ian Lance Taylor <ian@cygnus.com>
3201 * config.in: Rename from config.h.in.
3202 * configure.in: Call AC_CONFIG_HEADER with config.h:config.in.
3203 Change CONFIG_HEADERS test in AC_OUTPUT accordingly.
3204 * configure: Rebuild.
3205 * Makefile.in (stamp-h): Depend upon config.in, not config.h.in.
3206 Set CONFIG_HEADERS to config.h:config.in.
3208 Tue Mar 19 12:47:51 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3210 * partial-stab.h (case N_ENDM): Finish current partial symbol
3211 table for Solaris 2 cc.
3213 Tue Mar 19 10:39:15 1996 Jeffrey A Law (law@cygnus.com)
3215 * rs6000-nat.c (exec_one_dummy_insn): Don't clobber the
3216 PC in the registers array. From Peter Schauer.
3218 Mon Mar 18 13:47:09 1996 Fred Fish <fnf@cygnus.com>
3220 * symfile.c (reread_symbols): Reinitialize bcache struct
3221 members to zero using memset. Also use memset to reinit
3222 global_psymbols and static_psymbols, rather than explicitly
3223 resetting each structure member.
3225 Sat Mar 16 19:47:36 1996 Fred Fish <fnf@cygnus.com>
3227 * configure.in: Add fragment to create stamp-h.
3229 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
3230 * configure.in (AC_CHECK_HEADERS): Check for link.h.
3231 * configure: Regenerate with autoconf.
3232 * config.h.in: Regenerate with autoheader.
3233 * config/i386/nm-linux.h: Include solib.h only if HAVE_LINK_H
3235 * solib.c: Exclude most of the code if HAVE_LINK_H is not defined.
3236 * config/i386/linux.mh: Reinstate XM_CLIBS, it is needed for
3237 older a.out based systems.
3239 Sat Mar 16 16:45:43 1996 Fred Fish <fnf@cygnus.com>
3241 * config.h.in: New file.
3242 * acconfig.h: New file, for autoheader.
3243 * configure.in (AC_CONFIG_HEADER): Add, generate config.h.
3244 * configure: Regenerate.
3245 * Makefile.in (defs_h): Add config.h
3246 (distclean): Remove config.h and stamp-h during distclean.
3247 (config.h, stamp-h): New targets to remake config.h when necessary.
3248 * defs.h (config.h): Include before any other includes or defines.
3249 * i386-tdep.c (gdb_string.h): Move include after include of defs.h.
3250 * i386v4-nat.c (defs.h): Include before testing HAVE_SYS_PROCFS_H.
3252 Sat Mar 16 14:55:27 1996 Fred Fish <fnf@cygnus.com>
3254 From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
3255 * Makefile.in (INSTALLED_LIBS): Make sure that @LIBS@ will not
3256 result in an empty line, to work around a bug in native Ultrix 4.4
3257 and OSF/1-3.2C make.
3259 Sat Mar 16 13:33:17 1996 Fred Fish <fnf@cygnus.com>
3261 * configure.in: Add gdbserver to configdirs under linux.
3262 * configure: Regenerate.
3264 Fri Mar 15 12:06:58 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3266 * config/i386/nm-nbsd.h (FLOAT_INFO): Comment out.
3267 * config/i386/tm-nbsd.h (NUM_REGS): Define.
3269 Thu Mar 14 10:31:18 1996 Jeffrey A Law (law@cygnus.com)
3271 * solib.c (solib_break_names): Add _r_debug_state for
3272 vanilla SVR4 implementations. From Peter Schauer.
3274 Mon Mar 11 14:24:57 1996 Dawn Perchik <dawn@critters.cygnus.com>
3276 * mon960-rom.c: New file; support mon960 rom monitor on i960.
3277 * monitor.c (monitor_debug): Change remotedebug to buffer strings.
3278 * monitor.c (monitor_open): Add test for flag MO_NO_ECHO_ON_OPEN before
3279 epecting prompt and echo during open.
3280 * monitor.c (monitor_stop): Add test for flag MO_SEND_BREAK_ON_OPEN to
3281 determine if break should be sent as stop command.
3282 * monitor.h: Add flags MO_NO_ECHO_ON_OPEN and MO_SEND_BREAK_ON_OPEN.
3283 * i960-tdep.c (mon960_frame_chain_valid): New function for getting
3284 stack frame on mon960.
3285 * Makefile.in: Add mon960 files.
3286 * configure.in: Changed i960-*-coff* and i960-*-elf* to target mon960;
3287 added i960-nindy-coff* and i960-nindy-elf* for target nindy.
3288 * configure: Regenerated.
3289 * config/i960/mon960.mt, config/i960/tm-mon960.h: New files;
3290 support mon960 rom monitor on i960.
3292 Mon Mar 11 11:02:47 1996 Steve Chamberlain <sac@slash.cygnus.com>
3294 With Michael Snyder:
3295 * i386-tdep.c (skip_trampoline_code): Fix strncmp length.
3296 * win32-nat.c (CHECK, DEBUG*, debug_*): New.
3297 (handle_load_dll): Don't reload symbols.
3298 (handle_exception): Use the DEBUG_* names.
3299 (child_wait): Add DEBUG_* code.
3300 (_initialize_inftarg): Add new commands to set debug_ names.
3302 Mon Mar 11 09:19:58 1996 Jeffrey A Law (law@cygnus.com)
3304 * From Peter Schauer:
3305 * breakpoint.c (insert_breakpoints): Use ALL_BREAKPOINTS_SAFE.
3306 (bpstat_stop_status): Likewise.
3307 (remove_solib_event_breakpoints): Likewise.
3308 (clear_momentary_breakpoints): Likewise.
3309 (re_enable_breakpoints_in_shlibs): Don't reenable a breakpoint
3310 if we still can't read the memory for that breakpoint.
3311 (mention): Add bp_shlib_event case to keep gcc quiet.
3313 Fri Mar 8 12:08:12 1996 Jeffrey A Law (law@cygnus.com)
3315 * breakpoint.h (enum enable): New enum shlib_disabled for
3316 shared library breakpoints that have been temporarily disabled.
3317 * breakpoint.c: Handle temporarily disabled shared library
3318 breakpoints like disabled breakpoints in most places.
3319 (insert_breakpoints): Use shlib_disabled to indicate
3320 that an unsettable breakpoint is only temporarily disabled.
3321 (re_enable_breakpoints_in_shlibs): New function.
3322 * corelow.c (solib_add_stub): After adding shared libraries,
3323 try to reenable any temporarily disabled breakpoints.
3324 * infcmd.c (attach_command): Likewise.
3325 * infrun.c (wait_for_inferior): Likewise.
3327 Fri Mar 8 11:41:25 1996 Ian Lance Taylor <ian@cygnus.com>
3329 * defs.h (extract_long_unsigned_integer): Declare.
3330 * findvar.c (extract_long_unsigned_integer): New function.
3331 * printcmd.c (print_scalar_formatted): Use it.
3332 * valprint.c (val_print_type_code_int): Likewise.
3334 Thu Mar 7 17:40:50 1996 Stan Shebs <shebs@andros.cygnus.com>
3336 * infcmd.c (do_registers_info): Ignore anonymous registers.
3337 * sh-tdep.c (set processor): New command to set specific
3339 (sh_reg_names, sh3_reg_names): Arrays of register names for
3340 SH and SH3 processors.
3341 (sh_set_processor_type): New function.
3342 * sh3-rom.c (sh3_open): Call it.
3343 (sh3_regname): Add names of all the bank registers.
3344 (sh3_supply_register): Clean up formatting.
3345 * config/sh/tm-sh.h (NUM_REGS, NUM_REALREGS): Increase to include
3347 (REGISTER_NAMES): Add names of bank registers.
3348 (FP15_REGNUM): Define.
3349 (REGISTER_VIRTUAL_TYPE): Use it.
3350 * monitor.c: Clean up some comments.
3352 Thu Mar 7 12:09:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3354 * i386b-nat.c: Revert part of Mar 5 change. FreeBSD collapsed the
3355 s* and t* symbols too.
3357 Thu Mar 7 15:18:51 1996 James G. Smith <jsmith@cygnus.co.uk>
3359 * symfile.c (generic_load): Avoid division by zero.
3361 Wed Mar 6 17:57:59 1996 Jeffrey A Law (law@cygnus.com)
3363 * breakpoint.c (bfd_lookup_symbol): Provide for all SVR4 systems,
3364 not just those with HANDLE_SVR4_EXEC_EMULATORS.
3367 * breakpoint.c (internal_breakpoint_number): Move to file scope.
3368 (create_solib_event_breakpoint): Use an internal breakpoint number.
3370 Wed Mar 6 00:32:44 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
3372 * valarith.c (value_in): Change builtin_type_chill_bool to
3375 Tue Mar 5 23:48:36 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
3377 * ch-exp.c (parse_primval): Handle CARD, MAX, MIN.
3378 (match_string_literal): Handle control sequence.
3379 (match_character_literal): Deto.
3381 * ch-lang.c (chill_printchar): Change formating of nonprintable
3382 characters from C'xx' to ^(num).
3383 (chill_printstr): Deto.
3384 (value_chill_card, value_chill_max_min): New functions to process
3385 Chill's CARD, MAX, MIN.
3386 (evaluate_subexp_chill): Process UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN.
3388 * expression.h (exp_opcode): Add UNOP_CARD, UNOP_CHMAX, UNOP_CHMIN
3389 for Chill's CARD, MAX, MIN.
3391 * valarith.c (value_in): Add processing of TYPE_CODE_RANGE
3392 and change return type from builtin_type_int to
3393 builtin_type_chill_bool.
3395 Tue Mar 5 18:54:04 1996 Stan Shebs <shebs@andros.cygnus.com>
3397 * config/nm-nbsd.h (link_object, lo_name, etc): Move to here
3398 from config/nm-nbsd.h.
3399 * config/sparc/nm-nbsd.h (regs, fp_status, etc): Move to here
3400 from config/sparc/tm-nbsd.h.
3402 * config/m68k/nm-hp300hpux.h (FIVE_ARG_PTRACE): Define here
3403 instead of in config/m68k/xm-hp300hpux.h.
3405 Tue Mar 5 12:05:35 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3407 * i386b-nat.c, m68knbsd-nat.c (fetch_core_registers): Provide
3408 implementation for NetBSD systems.
3410 Mon Mar 4 23:44:16 1996 Per Bothner <bothner@kalessin.cygnus.com>
3412 * valarith.c (binop_user_defined_p): Return 0 for BINOP_CONCAT.
3413 (value_concat): Handle varying strings (add COERCE_VARYING_ARRAY).
3415 * ch-lang.c (evaluate_subexp_chill case MULTI_SUBSCRIPT): Error
3416 if "function" is pointer to non-function.
3418 Mon Mar 4 17:47:03 1996 Stan Shebs <shebs@andros.cygnus.com>
3420 * top.c (print_gdb_version): Update copyright year.
3422 Mon Mar 4 14:44:54 1996 Jeffrey A Law (law@cygnus.com)
3425 * infrun.c (wait_for_inferior): Remove breakpoints and
3426 switch terminal settings before calling SOLIB_ADD.
3427 * solib.c (enable_break, SVR4 variant): Don't map in symbols
3428 for the dynamic linker, the namespace pollution causes real
3431 Sun Mar 3 17:18:57 1996 James G. Smith <jsmith@cygnus.co.uk>
3433 * remote-mips.c (common_breakpoint): Explicitly terminate the
3436 Wed Feb 28 22:32:18 1996 Stan Shebs <shebs@andros.cygnus.com>
3438 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
3439 * remote.c (remote_detach): Send a command 'D' to the target
3440 when detaching, update the function's comments.
3442 Thu Jun 6 16:11:38 1996 Miles Bader <miles@gnu.ai.mit.edu>
3444 * gnu-nat.c (thread_cmd_list): New declaration.
3445 (parse_int_arg): New function.
3447 Wed Jun 5 17:28:04 1996 Miles Bader <miles@gnu.ai.mit.edu>
3449 * gnu-nat.h (struct proc): Add DETACH_SC field.
3450 * gnu-nat.c (make_proc): Set DETACH_SC.
3451 (struct inf): Add DETACH_SC & DEFAULT_THREAD_DETACH_SC fields.
3452 (make_inf): Set DETACH_SC & DEFAULT_THREAD_DETACH_SC fields.
3453 (add_thread_commands): Add set/show for detach-suspend-count.
3454 Add takeover-suspend-count cmd.
3455 (inf_detach): Set suspend counts to the detach SC, not 0.
3456 (set_thread_detach_sc_cmd, show_thread_detach_sc_cmd,
3457 set_task_detach_sc_cmd, show_task_detach_sc_cmd,
3458 set_thread_default_thread_detach_sc_cmd,
3459 show_thread_default_thread_detach_sc_cmd): New functions.
3460 (show_task_cmd): Also show detach-suspend-count values.
3461 (thread_takeover_sc_cmd): New function.
3463 Fri May 31 16:49:24 1996 Miles Bader <miles@gnu.ai.mit.edu>
3465 * gnu-nat.c (show_thread_run_cmd): Actually print state.
3467 Thu May 30 10:47:56 1996 Miles Bader <miles@gnu.ai.mit.edu>
3469 * gnu-nat.c (inf_signal): Make unforwardable exceptions an error.
3471 Tue May 28 17:06:36 1996 Miles Bader <miles@gnu.ai.mit.edu>
3473 * gnu-nat.c (inf_validate_stopped): proc_getprocinfo takes a
3474 pointer to the flags now, not the flags themselves.
3476 Mon May 27 13:31:17 1996 Miles Bader <miles@gnu.ai.mit.edu>
3478 * gnu-nat.c (gnu_wait): Print debugging msgs for pending execs.
3479 (gnu_create_inferior): Check return from ptrace.
3481 Sun May 26 16:56:35 1996 Miles Bader <miles@gnu.ai.mit.edu>
3483 * gnu-nat.h (struct proc): Add DEAD field.
3484 * gnu-nat.c (make_proc): Initialize DEAD.
3485 (inf_set_traced, inf_validate_task_sc, inf_validate_procs: Frob it.
3486 (gnu_wait): Only abort for 0 threads if the task isn't dead.
3488 Sat May 25 17:06:05 1996 Miles Bader <miles@gnu.ai.mit.edu>
3490 * gnu-nat.c (inf_signal): Pass SIGCODE when posting a signal.
3492 Wed May 22 18:44:28 1996 Miles Bader <miles@gnu.ai.mit.edu>
3494 * gnu-nat.c (S_proc_wait_reply): Add SIGCODE argument.
3495 (inf_set_traced): Only give no-signal-thread error message if
3496 turning *on* tracing.
3498 Wed May 15 13:03:16 1996 Miles Bader <miles@gnu.ai.mit.edu>
3500 * gnu-nat.c (inf_validate_procs): If INF has no threads, always
3501 set inf->threads_up_to_date to 0.
3502 (inf_signal): Pass in new SIGCODE argument to msg_sig_post_untraced.
3503 (gnu_wait): Pass in new TIMEOUT arg to interrupt_operation.
3504 (proc_update_sc): Cast thread state arg to thread_set_state.
3505 (proc_get_state): Cast thread state arg to thread_get_state.
3506 (inf_validate_task_sc): Cast task_basic_info arg to task_info.
3507 * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Call
3508 inf_update_procs before we lookup the thread.
3509 * config/i386/i386gnu.mh (MH_CFLAGS): New variable.
3511 Tue May 7 17:52:33 1996 Miles Bader <miles@gnu.ai.mit.edu>
3513 * gnu-nat.c (gnu_kill_inferior): Use inf_set_task to clear the task.
3515 Mon May 6 19:06:49 1996 Miles Bader <miles@gnu.ai.mit.edu>
3517 * gnu-nat.c (inf_set_traced): Use msg_set_init_int with
3518 INIT_TRACEMASK instead of setting the exec flags.
3520 Fri May 3 19:10:57 1996 Miles Bader <miles@gnu.ai.mit.edu>
3522 * gnu-nat.c (inf_validate_procs): Don't clear INF->task if we find
3523 the task's died, so others have a chance at it.
3524 (gnu_resume): When single-stepping a single thread, given an error
3525 if there is no such thread. When single-stepping one but running
3526 the others, just given a warning and still run all the threads.
3527 (gnu_wait): If there seem to be no threads, look harder, and
3528 signal an error if there really aren't any.
3529 (gnu_attach): Reset thread numbering to 0.
3531 * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Give
3532 thread name in warning messages.
3534 * gnu-nat.c (active_inf): New function.
3535 (show_sig_thread_cmd, show_stopped_cmd): Use it.
3536 (info_port_rights, info_send_rights_cmd, info_port_sets_cmd,
3537 info_recv_rights_cmd, info_port_rights_cmd, info_port_rights_cmd):
3539 (add_task_commands): Add new port-right info commands.
3541 Fri Apr 26 20:42:16 1996 Miles Bader <miles@gnu.ai.mit.edu>
3543 * gnu-nat.c (gnu_wait): Instead of _hurd_intr_rpc_mach_msg, just
3544 use mach_msg with MACH_RCV_INTERRUPT.
3545 (set_noninvasive_cmd): New function.
3546 (add_task_commands): Add command entry for `set noninvasive'.
3548 Mon Mar 4 14:12:02 1996 Miles Bader <miles@gnu.ai.mit.edu>
3550 * gnu-nat.c (gnu_read_inferior): Use hurd_safe_memmove, not safe_bcopy.
3551 (safe_bcopy): Function removed.
3553 Mon Dec 4 14:18:26 1995 Miles Bader <miles@gnu.ai.mit.edu>
3555 * gnu-nat.c (proc_update_sc): Assert only threads can have state.
3556 (make_proc): Initialize state_valid & state_changed fields.
3558 Tue Nov 28 17:51:21 1995 Miles Bader <miles@gnu.ai.mit.edu>
3560 * reply_mig_hack.awk: New file.
3562 Tue Nov 14 14:31:03 1995 Miles Bader <miles@gnu.ai.mit.edu>
3564 * breakpoint.c (breakpoint_1): Print breakpoint thread field.
3566 * lynx-nat.c (child_wait): Return TARGET_WAITKIND_SPURIOUS for new
3569 Mon Nov 13 18:30:53 1995 Miles Bader <miles@gnu.ai.mit.edu>
3571 * target.c (debug_to_check_threads): New function.
3573 * inflow.c (terminal_init_inferior_with_pgrp): New function.
3574 (terminal_init_inferior): Call terminal_init_inferior_with_pgrp.
3575 * inferior.h (terminal_init_inferior_with_pgrp): New declaration,
3576 but only if PROCESS_GROUP_TYPE is defined.
3578 Mon Nov 6 16:42:09 1995 Miles Bader <miles@gnu.ai.mit.edu>
3580 * target.c (debug_to_thread_alive): Pass through the return value.
3582 Thu Nov 2 18:05:00 1995 Miles Bader <miles@gnu.ai.mit.edu>
3584 * target.c (signals, target_signal_from_host, target_signal_to_host):
3585 Add mach exceptions.
3586 * target.h (enum target_signal): Add mach exceptions.
3588 Mon Oct 30 16:41:04 1995 Miles Bader <miles@gnu.ai.mit.edu>
3590 * gnu-nat.c: New file: gnu native backend.
3591 * i386gnu-nat.c: New file: i386-specific part of gnu native backend.
3592 * gnu-nat.h: New file.
3593 * config/nm-gnu.h: New file.
3594 * config/tm-i386gnu.h: New file.
3595 * config/xm-i386gnu.h: New file.
3596 * config/i386/i386gnu.mh: New file.
3597 * config/i386/i386gnu.mt: New file.
3599 Wed Feb 28 15:50:12 1996 Fred Fish <fnf@cygnus.com>
3601 * Makefile.in (VERSION): Bump version to 4.15.2 to establish
3602 baseline for gdb 4.16 rerelease testing.
3604 Wed Feb 28 13:32:05 1996 Jeffrey A Law (law@cygnus.com)
3606 * somsolib.c (som_solib_create_inferior_hook): Before returning
3607 call clear_symtab_users.
3609 Tue Feb 27 00:04:46 1996 Stu Grossman (grossman@critters.cygnus.com)
3611 * remote-e7000.c (e7000_open): Delete all breakpoints when
3612 connecting to e7000. Change connect message to allow use of
3613 monitor.exp in test suite.
3614 * (e7000_load): Print transfer rate of download.
3615 * symfile.c (generic_load): Print transfer rate of download.
3617 Sun Feb 25 13:58:33 1996 Stan Shebs <shebs@andros.cygnus.com>
3619 * configure.in (mips*-*-vxworks*): New config.
3620 * configure: Regenerated.
3622 * config/mips/vxmips.mt, config/mips/tm-vxmips.h: New files.
3623 * remote-vxmips.c (vx_convert_to_virtual, vx_convert_from_virtual):
3626 Sat Feb 24 12:30:28 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3628 * partial-stab.h (case N_FUN): Function symbols generated
3629 by SPARCworks cc have a meaningless zero value, do not update
3630 pst->textlow if the function symbol value is zero.
3632 * stabsread.c (define_symbol): Initialize SYMBOL_TYPE field
3633 for function prototype declaration symbols.
3635 Fri Feb 23 22:33:04 1996 Stu Grossman (grossman@critters.cygnus.com)
3637 * remote-e7000.c (e7000_load): New routine to download via the
3639 * (e7000_wait): Don't backup PC when we hit a breakpoint.
3640 Apparantly new sh2 pods get this right...
3641 * (e7000_ops): Add call to e7000_load.
3643 Thu Feb 22 00:52:42 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3645 * config/m68k/{nbsd.mh,nbsd.mt,nm-nbsd.h,tm-nbsd.h,xm-nbsd.h},
3646 m68knbsd-nat.c: New files, support for NetBSD/m68k.
3648 * configure.in (m68k-*-netbsd*): New config.
3649 * configure: Regenerated.
3651 Wed Feb 21 19:00:21 1996 Fred Fish <fnf@cygnus.com>
3653 * standalone.c (open, _initialize_standalone): Fix obvious typos
3654 reported by Martin Pool <martin@citr.uq.oz.au>.
3656 Wed Feb 21 14:24:04 1996 Jeffrey A Law (law@cygnus.com)
3658 * solib.c (solib_create_inferior_hook): Fix thinko.
3660 Tue Feb 20 23:59:19 1996 Jeffrey A Law (law@cygnus.com)
3662 * solib.c (solib_break_names): Define for Solaris and Linux.
3663 (enable_break): For SVR4 systems, first try to use the debugger
3664 interfaces in the dynamic linker to track shared library events
3665 as they happen, then fall back to BKPT_AT_SYMBOL code. Convert
3666 BKPT_AT_SYMBOL code to use shared library event breakpoints.
3667 (solib_create_inferior_hook): Simplify BKPT_AT_SYMBOL code,
3668 it no longer needs to restart/wait on the inferior.
3669 * symfile.c (find_lowest_section): No longer static.
3670 * symfile.h (find_lowest_section): Corresponding changes.
3672 Tue Feb 20 18:54:08 1996 Fred Fish <fnf@cygnus.com>
3674 * valops.c (COERCE_FLOAT_TO_DOUBLE): Define default value.
3675 (value_arg_coerce): Use COERCE_FLOAT_TO_DOUBLE.
3676 * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Define to 1.
3677 * config/mips/tm-mips.h: Ditto.
3678 * config/pa/tm-hppa.h: Ditto.
3679 * config/rs6000/tm-rs6000.h: Ditto.
3680 * config/sparc/tm-sparc.h: Ditto.
3682 Tue Feb 20 17:32:05 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3684 * config/{i386,ns32k}/nbsd.mh (NATDEPFILES): Remove core-aout.o.
3686 * config/nm-nbsd.h (FETCH_INFERIOR_REGISTERS): Defined.
3687 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
3688 #ifdef'd out definitions --- Causes serious gdb failures on
3689 the i386. Need to investigate further before enabling.
3691 * i386b-nat.c (fetch_inferior_registers, store_inferior_registers,
3692 fetch_core_registers): New functions. These functions are defined
3693 if FETCH_INFERIOR_REGISTERS is set. Registers are fetched/stored
3694 with ptrace PT_GETREGS/PT_SETREGS.
3696 Tue Feb 20 16:55:06 1996 Stu Grossman (grossman@critters.cygnus.com)
3698 * findvar.c (extract_floating store_floating): Replace `long
3699 double' with `DOUBLEST'.
3701 Mon Feb 19 15:25:51 1996 J.T. Conklin <jtc@rtl.cygnus.com>
3703 * config/xm-nbsd.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG):
3706 Mon Feb 19 10:32:05 1996 Jeffrey A Law (law@cygnus.com)
3708 * symtab.h (looup_minimal_symbol_solib_trampoline): Declare.
3710 * breakpoint.h (remove_solib_event_breakpoints): Declare.
3711 * breakpoint.c (remove_solib_event_breakpoints): New function.
3712 * somsolib.c (solib_create_inferior_hook): Remove all solib event
3713 breakpoints before inserting any new ones. Use a solib event
3714 breakpoint for the breakpoint at "_start".
3715 Remove extraneous "\n" from calls to warning.
3717 * breakpoint.c (breakpoint_1): Add missing "sigtramp" to bptypes
3720 Mon Feb 19 01:09:32 1996 Doug Evans <dje@cygnus.com>
3722 * dwarfread.c (add_partial_symbol): Use ADD_PSYMBOL_ADDR_TO_LIST
3723 for CORE_ADDR values.
3724 (new_symbol): Use SYMBOL_VALUE_ADDRESS for CORE_ADDR values.
3725 * symfile.h (add_psymbol_{,addr}to_list): Add prototypes.
3727 Sun Feb 18 14:37:13 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3729 * mipsread.c (mipscoff_symfile_read): Unconditionally add
3730 alpha coff dynamic symbols for all symbol files. Makes skipping
3731 over the trampoline code work when stepping from a function in a
3732 shared library into a function in a different shared library.
3734 Sun Feb 18 09:27:10 1996 Stu Grossman (grossman@cygnus.com)
3736 * config/sparc/tm-sparc.h: Define PS_FLAG_CARRY. Define
3737 RETURN_VALUE_ON_STACK to return long doubles on the stack.
3739 Sat Feb 17 16:33:11 1996 Fred Fish <fnf@cygnus.com>
3741 * Makefile.in (ch-exp.o): Add dependencies.
3742 (various): Add gdb_string.h to dependencies that need it.
3744 Sat Feb 17 08:57:50 1996 Fred Fish <fnf@cygnus.com>
3746 * symmisc.c (print_symbol_bcache_statistics): Update description for
3747 printing byte cache statistics.
3749 Thu Feb 16 16:02:03 1996 Stu Grossman (grossman@cygnus.com)
3751 * Add native support for long double data type.
3752 * c-exp.y (%union): Change dval to typed_val_float. Use DOUBLEST
3753 to store actual data. Change types of INT and FLOAT tokens to
3754 typed_val_int and typed_val_float respectively. Create new token
3755 DOUBLE_KEYWORD to specify the string `double'. Make production
3756 for FLOAT use type determined by parse_number. Add production for
3757 "long double" data type.
3758 * (parse_number): Use sscanf to parse numbers as float, double or
3759 long double depending upon the type of typed_val_float.dval. Also
3760 allow user to specify `f' or `l' suffix to explicitly specify
3761 float or long double constants. Change typed_val to
3763 * (yylex): Change typed_val to typed_val_int. Also, scan for
3765 * coffread.c (decode_base_type): Add support for T_LNGDBL basic
3767 * configure, configure.in: Add check for long double support in
3769 * defs.h: Define DOUBLEST appropriatly depending on whether
3770 HAVE_LONG_DOUBLE (from autoconf) is defined. Also, fix prototypes
3771 for functions that handle this type.
3772 * expression.h (union exp_element): doubleconst is now type
3774 * m2-exp.y f-exp.y (%union): dval becomes type DOUBLEST.
3775 * findvar.c (extract_floating): Make return value be DOUBLEST.
3776 Also, add support for numbers with size of long double.
3777 * (store_floating): Arg `val' is now type DOUBLEST. Handle all
3779 * parser-defs.h parse.c (write_exp_elt_dblcst): Arg expelt is now
3781 * valarith.c (value_binop): Change temp variables v1, v2 and v to
3782 type DOUBLEST. Coerce type of result to long double if either op
3784 * valops.c (value_arg_coerce): If argument type is bigger than
3785 double, coerce to long double.
3786 * (call_function_by_hand): If REG_STRUCT_HAS_ADDR is defined, and
3787 arg type is float and > 8 bytes, then use pointer-to-object
3788 calling conventions.
3789 * valprint.c (print_floating): Arg doub is now type DOUBLEST.
3790 Use appropriate format and precision to print out floating point
3792 * value.h: Fixup prototypes for value_as_double,
3793 value_from_double, and unpack_double to use DOUBLEST.
3794 * values.c (record_latest_value): Remove check for invalid
3795 floats. Allow history to store them so that people may examine
3796 them in hex if they want.
3797 * (value_as_double unpack_double): Change return value to DOUBLEST.
3798 * (value_from_double): Arg `num' is now DOUBLEST.
3799 * (using_struct_return): Use RETURN_VALUE_ON_STACK macro (target
3800 specific) to expect certain types to always be returned on the stack.
3802 Fri Feb 16 14:00:54 1996 Fred Fish <fnf@cygnus.com>
3804 * bcache.c, bcache.h: New files to implement a byte cache.
3805 * Makefile.in (SFILES): Add bcache.c.
3806 (symtab_h): Add bcache.h.
3807 (HFILES_NO_SRCDIR): add bcache.h
3808 (COMMON_OBJS): Add bcache.o
3809 (bcache.o): New target.
3810 * dbxread.c (start_psymtab): Make global_syms & static_syms
3811 type "partial_symbol **".
3812 * hpread.c (hpread_start_symtab): Ditto.
3813 * os9kread.c (os9k_start_psymtab): Ditto.
3814 * stabsread.h (start_psymtab): Ditto.
3815 * {symfile.c, symfile.h} (start_psymtab_common): Ditto.
3816 * maint.c (maintenance_print_statistics): Call
3817 print_symbol_bcache_statistics.
3818 * objfiles.c (allocate_objfile): Initialize psymbol bcache malloc
3820 * solib.c (allocate_rt_common_objfile): Ditto.
3821 * symfile.c (reread_symbols): Ditto.
3822 (free_objfile): Free psymbol bcache when objfile is freed.
3823 (objfile_relocate): Use new indirect psymbol pointers.
3824 * objfiles.h (struct objfile): Add psymbol cache.
3825 * symfile.c (compare_psymbols): Now passed pointers to pointers to
3827 (reread_symbols): Free psymbol bcache when freeing other objfile
3829 (add_psymbol_to_list, add_psymbol_addr_to_list): Initialize new
3830 psymbol using the psymbol bcache.
3831 (init_psymbol_list): Psymbol lists now contain pointers rather than
3832 the actual psymbols.
3833 * symfile.h (psymbol_allocation_list): Psymbol lists now dynamically
3834 grown arrays of pointers.
3835 (ADD_PSYMBOL_VT_TO_LIST): Initialize new symbol using the psymbol
3837 * symmisc.c (print_partial_symbols): Now takes pointer to pointer
3839 (print_symbol_bcache_statistics): New function to print per objfile
3841 (print_partial_symbol, print_partial_symbols,
3842 maintenance_check_symtabs, extend_psymbol_list):
3843 Account for change to pointer to pointer to partial symbol.
3844 * symtab.c (find_pc_psymbol, lookup_partial_symbol, decode_line_2,
3845 make_symbol_completion_list):
3846 Account for change to pointer to pointer to partial symbol.
3847 * symtab.h (bcache.h): Include.
3848 * xcoffread.c (xcoff_start_psymtab): Make global_syms & static_syms
3849 type "partial_symbol **".
3851 Fri Feb 16 10:02:34 1996 Fred Fish <fnf@cygnus.com>
3853 * dwarfread.c (free_utypes): New function.
3854 (read_file_scope): Call free_utypes as cleanup, rather than just
3855 freeing the utypes pointer.
3857 Thu Feb 15 21:40:52 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3859 * demangle.c (is_cplus_marker): New function, checks if a
3860 character is one of the commonly used C++ marker characters.
3861 * defs.h (is_cplus_marker): Add prototype.
3862 * c-typeprint.c (c_type_print_base), ch-lang.c (chill_demangle),
3863 cp-valprint.c (cp_print_class_method), mdebugread.c (parse_symbol),
3864 stabsread.c (define_symbol, read_member_functions, read_struct_fields),
3865 symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P),
3866 values.c (vb_match): Use is_cplus_marker instead of comparison
3869 Thu Feb 15 18:08:13 1996 Fred Fish <fnf@cygnus.com>
3871 * symfile.h (INLINE_ADD_PSYMBOL): Default this to 0 and possibly
3872 delete entirely someday.
3874 Thu Feb 15 15:25:34 1996 Stan Shebs <shebs@andros.cygnus.com>
3876 * mpw-make.sed: Edit out makefile rebuild rule.
3877 (host_alias, target_alias): Comment out instead of deleting.
3878 (@LIBS@): Edit out references.
3880 Tue Feb 13 22:56:46 1996 Fred Fish <fnf@cygnus.com>
3882 * symfile.c (add_psymbol_to_list, add_psymbol_addr_to_list):
3883 Use n_psyms in OBJSTAT, not psyms.
3885 Mon Feb 12 15:59:31 1996 Doug Evans <dje@charmed.cygnus.com>
3887 * configure.in (sparclet-*-aout*): New config.
3888 * configure: Regenerated.
3890 Mon Feb 12 14:17:52 1996 Fred Fish <fnf@cygnus.com>
3892 * somsolib.c (som_solib_add): Use xmalloc rather than bare
3893 unchecked call to malloc.
3894 * remote-mips.c (pmon_load_fast): ditto.
3895 * remote-mm.c (mm_open): ditto.
3896 * hpread.c (hpread_lookup_type): ditto.
3897 * remote-adapt.c (adapt_open): ditto.
3899 Mon Feb 12 13:11:32 1996 Fred Fish <fnf@cygnus.com>
3901 * f-lang.c (allocate_saved_bf_node, allocate_saved_function_node,
3902 allocate_saved_f77_common_node, allocate_common_entry_node,
3903 add_common_block): Use xmalloc rather than malloc, some of which
3905 * gnu-regex.c: At same point as other gdb specific changes
3906 #undef malloc and then #define it to xmalloc.
3907 * ch-exp.c (growbuf_by_size): Use xmalloc/xrealloc rather than
3908 bare unchecked calls to malloc/realloc.
3909 * stabsread.c (dbx_lookup_type): Use xmalloc rather than bare
3910 unchecked call to malloc.
3912 Wed Feb 7 11:31:26 1996 Stu Grossman (grossman@cygnus.com)
3914 * symtab.c (gdb_mangle_name): Change opname var to be const to
3915 match return val of cplus_mangle_name.
3916 * i960-tdep.c: Change arg types of next_insn to match callers.
3918 Wed Feb 7 07:34:24 1996 Fred Fish <fnf@cygnus.com>
3920 * config/i386/linux.mh (XM_CLIBS, GDBSERVER_LIBS): Remove. These
3921 apparently aren't needed in any reasonably recent version of
3924 Tue Feb 6 21:37:03 1996 Per Bothner <bothner@kalessin.cygnus.com>
3926 * stabsread.c (read_range_type): If !self-subrange and language
3927 is Chill, assume a true range. If a true_range is a sub_subrange,
3928 use builtin_type_int for index_type.
3930 Tue Feb 6 18:38:51 1996 J.T. Conklin <jtc@slave.cygnus.com>
3932 * nindy-share/nindy.c (say): Use stdarg.h macros when compiling
3933 with an ANSI compiler.
3935 start-sanitize-gdbtk
3936 Tue Feb 6 16:31:25 1996 Tom Tromey <tromey@creche.cygnus.com>
3938 * gdbtk.tcl (create_file_win): Eliminate text widget B1 binding so
3939 double-clicking will work again.
3940 (create_asm_win): Put "break" at end of all B1 bindings.
3941 (create_file_win): Lower "sel" tag, don't raise it.
3942 (ensure_line_visible): New proc.
3943 (update_listing, update_assembly): Use it.
3944 (create_copyright_window): Destroy window on Leave event.
3945 (create_command_window): Put "break" at end of all B2 bindings.
3948 Mon Feb 5 18:24:28 1996 Steve Chamberlain <sac@slash.cygnus.com>
3950 From Michael_Snyder@NeXT.COM (Michael Snyder):
3951 * valops.c (value_arg_coerce): Coerce float to double, unless the
3952 function prototype specifies float.
3954 Mon Feb 5 09:51:55 1996 Tom Tromey <tromey@creche.cygnus.com>
3956 * language.c (set_language_command): Use languages table when
3957 printing available languages.
3959 Sat Feb 3 12:22:05 1996 Fred Fish <fnf@cygnus.com>
3961 Fix problems reported by Hans Verkuil (hans@wyst.hobby.nl):
3962 * command.c (add_cmd): Add missing initialization for enums member.
3963 Reorder members to match structure declaration to make it easier to
3964 tell when one is missing.
3965 * exec.c (exec_file_command): Fix problem where filename in malloc'd
3966 memory is referenced after being freed.
3968 Sat Feb 3 03:26:21 1996 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
3970 * dwarfread.c (read_func_scope): Avoid GDB core dumps if
3971 AT_name tag is missing.
3973 * procfs.c (procfs_stopped_by_watchpoint): Fix logic when
3974 FLTWATCH and FLTKWATCH are defined.
3976 * remote.c (remote_read_bytes): Advance memaddr for transfers,
3977 return number of bytes transferred for partial reads.
3979 * top.c (init_signals): Reset SIGTRAP to SIG_DFL.
3981 Fri Feb 2 13:40:50 1996 Steve Chamberlain <sac@slash.cygnus.com>
3983 * win32-nat.c (mappings): Add ppc registers.
3984 (child_resume): Turn off step for ppc.
3986 Thu Feb 1 10:29:31 1996 Steve Chamberlain <sac@slash.cygnus.com>
3988 * config/powerpc/(cygwin32.mh, cygwin32.mt, tm-cygwin32.h,
3989 xm-cygwin32.h): New.
3990 * config/i386/(*win32*): Becomes *cygwin32*.
3991 * configure.in (i[3456]86-*-win32*): Becomes i[3456]86-*-cygwin32.
3992 (powerpcle-*-cygwin32): New.
3993 * configure: Regenerate.
3994 * win32-nat.c (child_create_inferior): Call CreateProcess
3995 with the right program arg.
3997 Thu Feb 1 11:01:10 1996 Jeffrey A Law (law@cygnus.com)
3999 * config/pa/tm-hppa.h (SOFT_FLOAT): Provide a default definition.
4001 Wed Jan 31 19:01:28 1996 Fred Fish <fnf@cygnus.com>
4003 * serial.c: Change fputc/fputs/fprintf to _unfiltered forms.
4005 Wed Jan 31 18:36:27 1996 Stan Shebs <shebs@andros.cygnus.com>
4007 * config/sparc/xm-sun4os4.h (HAVE_TERMIOS): Remove.
4009 * config/sparc/xm-sparc.h (HAVE_WAIT_STRUCT): Remove, never used.
4011 * config/i386/nm-i386mach.h (CHILD_PREPARE_TO_STORE): Move to
4012 here from config/i386/xm-i386mach.h, fix name.
4013 * config/i386/nm-sun386.h: Ditto, from config/i386/xm-sun386.h.
4014 * config/i386/nm-ptx4.h (CHILD_PREPARE_TO_STORE): Move to
4015 here from config/i386/xm-ptx4.h.
4016 * config/i386/nm-ptx4.h: Ditto, from config/i386/xm-ptx.h.
4017 * config/i386/nm-symmetry.h: Ditto, from config/i386/xm-symmetry.h.
4018 * config/m68k/nm-sun3.h: Ditto, from config/m68k/xm-sun3.h.
4019 * config/sparc/nm-nbsd.h: Ditto, from config/sparc/xm-nbsd.h.
4020 * config/sparc/nm-sun4os4: Ditto, from config/sparc/xm-sparc.h.
4022 * config/sparc/nm-sun4sol2.h: New file, renamed from nm-sysv4.h.
4023 (PRSVADDR_BROKEN): Move here from xm-sun4sol2.h.
4024 * config/sparc/sun4sol2.mh (NAT_FILE): Update.
4026 Wed Jan 31 17:20:26 1996 Jeffrey A Law (law@cygnus.com)
4028 * config/pa/tm-hppa.h (EXTRACT_RETURN_VALUE): Handle software
4029 floating point correctly.
4030 (STORE_RETURN_VALUE): Likewise.
4031 * config/pa/tm-pro.h (SOFT_FLOAT): define.
4033 Wed Jan 31 13:34:52 1996 Fred Fish <fnf@cygnus.com>
4035 * config/i386/xm-linux.h (MMAP_BASE_ADDRESS, MMAP_INCREMENT):
4036 Define to what should be reasonable values. However, apparently
4037 a bug in linux mmap prevents mapped symbol tables from working.
4039 Tue Jan 30 18:26:19 1996 Fred Fish <fnf@cygnus.com>
4041 * defs.h (errno.h>: Move #include closer to head of file to solve
4042 obscure problem with systems that declare perror with const arg, in
4043 both errno.h and stdio.h, and const is defined away by intervening
4046 Tue Jan 30 15:41:10 1996 Fred Fish <fnf@cygnus.com>
4048 From Jon Reeves <reeves@zk3.dec.com>:
4049 * i386-stub.c (getpacket): Change fprintf stream from "gdb" to stderr.
4050 (mem_fault_routine): Fix misplaced volatile type qualifier in decl.
4052 Mon Jan 29 19:05:58 1996 Fred Fish <fnf@cygnus.com>
4054 * Makefile.in (diststuff): Make all-doc; diststuff target does not
4055 exist in doc/Makefile.in.
4057 Mon Jan 29 18:44:57 1996 Stan Shebs <shebs@andros.cygnus.com>
4059 * config/m88k/xm-cxux.h (BP_HIT_COUNT): Remove, never used.
4061 Mon Jan 29 00:10:35 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
4063 * ch-valprint.c (calculate_array_length): New function to
4064 determine the length of an array type.
4065 (chill_val_print (case TYPE_CODE_ARRAY)): If the length of an
4066 array type is zero, call calculate_array_length.
4068 * gdbtypes.c (get_discrete_bounds (case TYPE_CODE_ENUM)): The
4069 values may not be sorted. Scan all entries and set the real lower
4072 Sun Jan 28 15:50:42 1996 Fred Fish <fnf@cygnus.com>
4074 * config/xm-linux.h: Move include of solib.h and #define of
4075 SVR4_SHARED_LIBS from here ...
4076 * config/nm-linux.h: ...to here.
4078 Sat Jan 27 10:34:05 1996 Fred Fish <fnf@cygnus.com>
4080 * configure.in (AC_CHECK_HEADERS): Check for sys/procfs.h.
4081 Also check for gregset_t and fpregset_t types.
4082 * configure: Regenerate.
4083 * core-regset.c (sys/procfs.h): Only include if HAVE_SYS_PROCFS_H
4085 (fetch_core_registers): Turn into stub unless both HAVE_GREGSET_T
4086 and HAVE_FPREGSET_T are defined. These changes allow systems
4087 like linux that are migrating to /proc support to use a single
4088 configuration for both new and old versions.
4090 * config/i386/linux.mt: Note that this is now for both a.out and
4092 * config/i386/linux.mh (NATDEPFILES): Add solib.o, core-regset.o,
4094 * config/i386/tm-linux.h (tm-sysv4.h): Include.
4095 * config/i386/xm-linux.h (solib.h): Include
4096 (SVR4_SHARED_LIBS): Define.
4097 * i386v4-nat.c: Only compile if HAVE_SYS_PROCFS_H is defined.
4098 (supply_gregset, fill_gregset): Compile if HAVE_GREGSET_T defined.
4099 (supply_fpregset, fill_fpregset): Compile if HAVE_FPREGSET_T
4102 Fri Jan 26 13:48:14 1996 Stan Shebs <shebs@andros.cygnus.com>
4104 * config/sparc/xm-sparc.h (NEW_SUN_CORE): Remove, never used.
4105 * config/i386/xm-sun386.h: Ditto.
4106 * config/m68k/xm-sun2.h, config/m68k/xm-sun3.h: Ditto.
4108 Thu Jan 25 16:05:53 1996 Tom Tromey <tromey@creche.cygnus.com>
4110 * Makefile.in (INSTALLED_LIBS, CLIBS): Include @LIBS@.
4112 Thu Jan 25 09:22:15 1996 Steve Chamberlain <sac@slash.cygnus.com>
4114 From Greg McGary <gkm@gnu.ai.mit.edu>:
4115 * dcache.c (dcache_peek, dcache_poke): Advance addr for
4118 Thu Jan 25 13:08:51 1996 Doug Evans (dje@cygnus.com)
4120 * infrun.c (normal_stop): Fix test for shared library event.
4122 Thu Jan 25 03:26:38 1996 Doug Evans <dje@charmed.cygnus.com>
4124 * configure.in (sparc64-*-*): Add default host configuration.
4125 start-sanitize-gdbtk
4126 (sparc64-*-solaris2* host): Link statically if GCC used.
4128 (sparc64-*-solaris2*): Add target configuration.
4129 * configure: Regenerated.
4130 * sparc/sp64sol2.mt: New file.
4132 Wed Jan 24 22:31:37 1996 Doug Evans <dje@charmed.cygnus.com>
4134 * Makefile.in (RUNTEST): srcdir renamed to rootsrc.
4136 Wed Jan 24 15:42:24 1996 Tom Tromey <tromey@creche.cygnus.com>
4138 * Makefile.in (lint): Close backquotes.
4140 start-sanitize-gdbtk
4141 Wed Jan 24 15:28:41 1996 Tom Tromey <tromey@creche.cygnus.com>
4143 * gdbtk.tcl, gdbtk.c: Updated copyrights.
4145 * configure.in: Look for -ldl or -ldld when using Tcl 7.5 or
4147 * configure: Rebuilt.
4150 Wed Jan 24 13:19:10 1996 Fred Fish <fnf@cygnus.com>
4152 * NEWS: Make note of new record and replay feature for
4153 remote debug sessions.
4154 * serial.c (gdbcmd.h): Include.
4155 (serial_logfile, serial_logfp, serial_reading, serial_writing):
4156 Define here, for remote debug session logging.
4157 (serial_log_command, serial_logchar, serial_write, serial_readchar):
4158 New functions for remote debug session logging.
4159 (serial_open): Open remote debug session log file when needed.
4160 (serial_close): Close remote debug session log file when needed.
4161 (_initialize_serial): Add set/show commands for name of remote
4162 debug session log file.
4163 * serial.h (serial_readchar): Declare
4164 (SERIAL_READCHAR): Call serial_readchar().
4165 (SERIAL_WRITE): Call serial_write().
4166 (serial_close): Declare as extern.
4167 (serial_logfile, serial_logfp): Declare.
4168 * top.c (execute_command): Declare serial_logfp. Log user command
4169 in remote debug session log if log file is open.
4170 * remote-array.c (array_wait): #ifdef out echo to gdb_stdout.
4171 (array_read_inferior_memory): Rewrite to fix memory overwrite bug.
4172 * remote-array.c (SREC_SIZE): Remove, duplicates define in
4174 * remote-array.c (hexchars, hex2mem): Remove, unused.
4175 * gdbserver/low-linux.c (store_inferior_registers): Remove
4176 unnecessary extern declaration of registers[].
4177 * gdbserver/Makefile.in (all): Add gdbreplay.
4178 * gdbserver/gdbreplay.c: New file.
4179 * gdbserver/README: Give example of recording a remote
4180 debug session with gdb and then replaying it with gdbreplay.
4182 Tue Jan 23 18:02:35 1996 Per Bothner <bothner@kalessin.cygnus.com>
4184 * stabsread.c (rs6000_builtin_type): Make bool type unsigned.
4185 (read_one_struct_field): Support boolean bitfields.
4186 * c-valprint.c (c_val_print): Print booleans properly.
4188 Tue Jan 23 18:54:09 1996 Stan Shebs <shebs@andros.cygnus.com>
4190 * remote-vxsparc.c (vx_convert_to_virtual, vx_convert_from_virtual):
4192 * config/sparc/vxsparc.mt (TDEPFILES): Add remote-vxsparc.o.
4194 Tue Jan 23 14:36:05 1996 Per Bothner <bothner@kalessin.cygnus.com>
4196 * ch-exp.c (parse_tuple): Error if invalid mode.
4198 * value.h (COERCE_ARRAY): Don't coerce enums.
4199 (COERCE_ENUM): Don't COERCE_REF.
4200 (COERCE_NUMBER): New macro (same as COERCE_ARRAY then COERCE_ENUM).
4201 * valops.c (value_assign): Only do COERCE_ARRAY if internalvar (let
4202 value_cast handle it otherwise); do *not* COERCE_ENUM either way.
4203 * valarith.c: Use COERCE_NUMBER instead od COEREC_ARRAY.
4204 Add COERCE_REF before COERCE_ENUM.
4205 * values.c (value_as_long): Simplify.
4207 * valops.c (value_array): Create internalvar if !c_style_arrays.
4209 * language.c (lang_bool_type): Add Fortran support.
4210 * eval.c (OP_BOOL): Use LA_BOOL_TYPE.
4212 Tue Jan 23 13:08:26 1996 Jeffrey A Law (law@cygnus.com)
4214 * symfile.c (auto_solib_add): Renamed from auto_solib_add_at_startup.
4215 All references changed.
4216 * breakpoint.c (bpstat_what): Add shlib_event to the class types.
4217 Update state table. Reformat so that it's still readable.
4218 When we hit the shlib_event breakpoint, set the calss of shlib_event.
4219 (breakpoint_1): Add "shlib events" as a breakpoint type.
4220 Print the shlib_event breakpoint like other breakpoints.
4221 (create_solib_event_breakpoint): New function.
4222 (breakpoint_re_set_one): Handle solib_event breakpoints.
4223 * breakpoint.h (enum bytype): Add bp_shlib_event breakpoint type.
4224 (enum bpstat_what_main_action): Add BPSTAT_WHAT_CHECK_SHLIBS
4226 (create_solib_event_breakpoint): Declare.
4227 * infrun.c (wait_for_inferior): Handle CHECK_SHLIBS bpstat.
4228 (normal_stop): Inform the user when the inferior stoped due
4229 to a shared library event.
4230 (_initialize_infrun): Add new set/show variable "stop-on-solib-events"
4231 to control whether or not gdb continues the inferior or stops it when
4232 a shared library event occurs.
4233 * minsyms.c (lookup_minimal_symbol_solib_trampoline): New function.
4234 * somsolib.c (TODO list): Update.
4235 (som_solib_create_inferior_hook): Arrange for gdb to be notified
4236 when significant shared library events occur.
4237 * hppa-tdep.c (find_unwind_entry): No longer static.
4239 Tue Jan 23 09:00:48 1996 Doug Evans <dje@charmed.cygnus.com>
4241 * printcmd.c (print_insn): Pass fprintf_unfiltered to
4242 INIT_DISASSEMBLE_INFO.
4243 start-sanitize-gdbtk
4244 * gdbtk.c (gdb_disassemble): Likewise.
4247 Mon Jan 22 16:59:40 1996 Stan Shebs <shebs@andros.cygnus.com>
4249 * remote.c (remotebreak): New GDB variable.
4250 (remote_break): New global.
4251 (remote_interrupt): Send a break instead of ^C if remote_break.
4252 * NEWS: Describe the new variable.
4254 Mon Jan 22 16:24:11 1996 Doug Evans <dje@charmed.cygnus.com>
4256 * sparc-tdep.c (_initialize_sparc_tdep): Always use print_insn_sparc.
4258 Fri Jan 19 07:19:38 1996 Fred Fish <fnf@cygnus.com>
4260 * hp300ux-nat.c (getpagesize): Remove unused function
4261 fetch_core_registers.
4262 (hp300ux_core_fns): Remove, is unused.
4263 (_initialize_core_hp300ux): Remove, is unused.
4264 (gdbcore.h): Remove #include, no longer needed.
4266 Fri Jan 19 00:59:53 1996 Jeffrey A Law (law@cygnus.com)
4268 * rs6000-nat.c (exec_one_dummy_insn): Rework to avoid
4269 ptrace bug in aix4.1.3 on the rs6000.
4271 Wed Jan 17 13:22:27 1996 Stan Shebs <shebs@andros.cygnus.com>
4273 * remote-hms.c (hms_ops): Add value for to_thread_alive.
4274 * remote-nindy.c (nindy_ops): Ditto.
4275 * remote-udi.c (udi_ops): Ditto.
4277 Tue Jan 16 18:00:35 1996 James G. Smith <jsmith@cygnus.co.uk>
4279 * remote-mips.c (pmon_opn, pmon_wait, pmon_makeb64, pmon_zeroset,
4280 pmon_checkset, pmon_make_fastrec, pmon_check_ack,
4281 pmon_load_fast): New functions. Support for the PMON monitor world.
4282 (common_open): New function to merge support for different monitors.
4283 (mips_open): Use common_open().
4284 (mips_send_command): New function.
4285 (mips_send_packet): Scan out-of-sequence packets.
4286 (mips_enter_debug, mips_exit_debug): New functions.
4287 (pmon_ops): New target definition structure.
4289 Tue Jan 16 11:22:58 1996 Stu Grossman (grossman@cygnus.com)
4291 * Makefile.in (CLIBS): Add LIBS to allow libraries to be
4292 specified on the make command line (via make LIBS=xxx).
4294 * configure.in (enable-gm): magic.o -> gmagic.o.
4297 start-sanitize-gdbtk
4298 Mon Jan 15 09:58:41 1996 Tom Tromey <tromey@creche.cygnus.com>
4300 * gdbtk.tcl (create_expr_window): Many changes to update GUI.
4301 (add_expr): Changes from create_expr_window.
4302 (create_command_window): Set focus.
4303 (delete_expr): Rewrote.
4304 (expr_update_button): New proc.
4305 (add_expr): Put bindings on FocusIn, FocusOut.
4306 Don't allow .file_popup to be torn off.
4309 Fri Jan 12 21:41:58 1996 Jeffrey A Law (law@cygnus.com)
4311 * symtab.c (find_pc_symtab): Don't lose if OBJF_REORDERED
4312 is set but there are no psymtabs.
4314 Fri Jan 12 15:56:12 1996 Steve Chamberlain <sac@slash.cygnus.com>
4316 * dsrec.c (load_srec): Remove unused variable.
4317 * monitor.c (monitor_expect): Don't expect a ^C to echo.
4318 * serial.c (serial_open): Add parallel interface.
4319 * sh3-rom.c (parallel, parallel_in_use): New.
4320 (sh3_load): If parallel_in_use, download though the
4322 (sh3_open): Open parallel port if specified.
4323 (sh3_close): New function.
4324 (_inititalize_sh3): Add sh3_close hook and documentation.
4325 * monitor.c (monitor_close): Export.
4326 * monitor.h (monitor_close): Add prototype.
4328 Fri Jan 12 13:11:42 1996 Stan Shebs <shebs@andros.cygnus.com>
4330 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
4331 * remote.c (remotetimeout): New GDB variable, use to set the
4332 remote timeout for reading.
4334 start-sanitize-gdbtk
4335 Fri Jan 12 09:36:17 1996 Tom Tromey <tromey@creche.cygnus.com>
4337 * gdbtk.tcl (gdbtk_tcl_query): Swap Yes and No buttons.
4338 (update_listing): Use lassign. Use "see" to scroll. Don't need
4339 screen_top, screen_bot, screen_height.
4340 (update_assembly): Use "see" to scroll.
4341 (textscrollproc): Removed.
4342 (create_file_win): Don't use textscrollproc.
4343 (asmscrollproc): Removed.
4344 (create_asm_window): Don't use asmscrollproc.
4345 (create_asm_win): Ditto.
4346 (screen_height, screen_top, screen_bot): Removed.
4347 (run_editor): New proc.
4348 (build_framework): Use it.
4349 (create_file_win, create_source_window): Don't use textscrollproc.
4350 (create_breakpoints_window): Set -xscrollcommand on canvas.
4351 (not_implemented_yet): Default button is 0.
4352 (delete_char): Don't use tk_textBackspace.
4353 (create_command_window): Allow Tk bindings to fire after deleting
4355 (create_command_window): Make Delete delete left, not right.
4358 Fri Jan 12 07:14:27 1996 Fred Fish <fnf@cygnus.com>
4360 * lynx-nat.c, irix4-nat.c, sparc-nat.c: Include gdbcore.h
4361 to get "struct core_fns" defined.
4362 * Makefile.in (lynx-nat.o, irix4-nat.o, sparc-nat.o):
4363 Are dependent upon gdbcore_h.
4365 Thu Jan 11 23:13:24 1996 Per Bothner <bothner@cygnus.com>
4367 * symfile.c (decrement_reading_symtab): New function.
4368 * symfile.c, symtab.h (currently_reading_symtab): New variable.
4369 * symfile.c (psymtab_to_symtab): Adjust currently_reading_symtab.
4370 * gdbtypes.c (check_typedef): Don't call lookup_symbol if
4371 currently_reading_symtab (since that could infinitely recurse).
4373 Thu Jan 11 17:21:25 1996 Per Bothner <bothner@kalessin.cygnus.com>
4375 * stabsread.c (read_struct_type): Trivial simplification.
4377 * stabsread.c (define-symbol): Use invisible references
4378 for TYPE_CODE_SET and TYPE_CODE_BITSTRING too.
4379 * valops.c (call_function_by_hand): Likewise.
4380 * eval.c (evaluate_subexp_standard): When known, use the formal
4381 parameter type as the expected type when evaluating arg expressions.
4382 * ch-lang.c (evaluate_subexp_chill): Likewise (for MULTI_SUBSCRIPT).
4384 start-sanitize-gdbtk
4385 Thu Jan 11 10:08:14 1996 Tom Tromey <tromey@creche.cygnus.com>
4387 * main.c (main): Disable window interface if --help or --version
4390 * gdbtk.tcl (FSBox): Don't use tk_listboxSingleSelect.
4392 Changes in sync with expect:
4393 * configure.in (ENABLE_GDBTK): Use CY_AC_PATH_TCL and
4395 * aclocal.m4: Replaced with version from expect.
4396 * configure: Regenerated.
4399 Wed Jan 10 16:08:49 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
4401 * configure.in, configure: Recognize rs6000-*-aix4*.
4402 * config/powerpc/xm-aix.h: Reduce to include "xm-aix4.h".
4403 * config/rs6000/aix4.mh (XM_FILE): Point to xm-aix4.h.
4404 * config/rs6000/xm-aix4.h: New file.
4405 * config/xm-aix4.h: New file.
4407 Wed Jan 10 11:25:37 1996 Fred Fish <fnf@cygnus.com>
4409 From Wilfried Moser <wilfried.moser@aut.alcatel.at>:
4410 * gdbserver/low-linux.c: New file.
4411 * remote.c (remote_read_bytes): Fix aborts on larger packets.
4413 * config/i386/linux.mh (GDBSERVER_DEPFILES, GDBSERVER_LIBS):
4415 * stabsread.c (define_symbol): If register value is too large,
4416 tell what it is and what max is.
4418 start-sanitize-gdbtk
4419 Wed Jan 10 09:07:22 1996 Tom Tromey <tromey@creche.cygnus.com>
4421 * gdbtk.tcl (gdbtk_tcl_fputs, gdbtk_tcl_fputs_error,
4422 gdbtk_tcl_flush): Use "see", not "yview".
4423 (gdbtk_tcl_query): Use questhead bitmap.
4424 various: Always wrap condition of 'if' in {...}.
4425 (add_breakpoint_frame): Set -value on radiobuttons.
4426 (lassign): New proc.
4427 (add_breakpoint_frame): Use lassign, not series of assignments.
4428 (decr): Made faster.
4429 (interactive_cmd): Use "see", not "yview".
4430 (not_implemented_yet): Use warning bitmap.
4431 (update_expr): Don't allow $expr to be evalled by Tcl.
4432 (create_expr_window): Don't use "focus".
4433 (delete_char, delete_line): Define globally.
4434 (delete_line, delete_char, create_command_window, update_autocmd,
4435 build_framework, create_asm_win, create_file_win): Use "see", not
4437 (create_copyright_window, center_window, bind_widget_after_class):
4439 (FSBox,create_command_window, create_autocmd_window): Binding
4441 (textscrollproc): Define globally.
4442 (build_framework): tk_menuBar no longer needed. Keys Prior, Next,
4443 Home, End, Up, and Down are all defined by Tk.
4444 (apply_filespec): Use error bitmap in dialog.
4445 (files_command): Don't use tk_listboxSingleSelect.
4446 (files_command): Don't use "uniq" to remove duplicates from a
4448 (update_assembly): Use lassign.
4449 (create_asm_win): Removed redundant bindings.
4450 (listing_window_button_1, file_popup_menu): Use tk_popup.
4451 (ButtonRelease-1 binding): Just remove tag from window; rest
4454 * gdbtk.c (gdbtk_query): Use Tcl_Merge to provide quoting.
4455 (call_wrapper): Use Tcl_Eval, not Tcl_VarEval.
4456 (gdbtk_call_command): Ditto.
4459 Tue Jan 9 09:33:53 1996 Jeffrey A Law (law@cygnus.com)
4461 * hpread.c (hpread_build_psymtabs): Finish Jan 4th
4462 enum namespace -> enum_namespace change.
4464 Tue Jan 9 04:44:47 1996 Wilfried Moser (Alcatel) <moser@rtl.cygnus.com>
4466 * ch-exp.c (parse_primval): In case ARRAY, add missing
4469 Mon Jan 8 13:29:34 1996 Stan Shebs <shebs@andros.cygnus.com>
4471 * remote-mips.c (mips_receive_header): Recognize \012 instead
4472 of \n, but write \n when program sends a \012.
4473 * ser-mac.c (mac_input_buffer): Increase size of buffer.
4475 Mon Jan 8 12:00:40 1996 Jeffrey A Law (law@cygnus.com)
4477 * infptrace.c (initialize_infptrace): Move function out of
4478 #ifdef conditional; put code within the function inside an
4481 * buildsym.c (end_symtab): Remove sort_pending and sort_linevec
4482 arguments. Sorting is now dependent on OBJF_REORDERED. All
4483 callers/references changed.
4484 * dbxread.c (read_ofile_symtab): Correctly determine value for
4485 last_source_start_addr for reordered executables.
4486 (process_one_symbol): Handle N_FUN with no name as an end of
4488 * partial-stab.h (case N_FN, N_TEXT): Don't assume CUR_SYMBOL_VALUE
4489 is the high text address for a psymtab.
4490 (case N_SO): Likewise.
4491 (case N_FUN): Handle N_FUN with no name as an end of function
4493 * minsyms.c (lookup_minimal_symbol_by_pc): Examine all symbols
4494 at the same address rather than a random subset of them.
4495 * coffread.c (coff_symfile_init): Set OBJF_REORDERED.
4496 * elfread.c (elf_symfile_init): Similarly.
4497 * somread.c (som_symfile_init): Similarly.
4498 * xcoffread.c (xcoff_symfile_init): Similarly.
4500 Fri Jan 5 17:46:01 1996 Stu Grossman (grossman@cygnus.com)
4502 * stack.c (print_stack_frame print_frame_info) symmisc.c
4503 (dump_symtab): Change RETURN_MASK_ERROR to RETURN_MASK_ALL so
4504 that catch_errors doesn't get blindsided by QUIT and lose the
4505 cleanup chain. This fixes a problem where ^C while in a
4506 user-defined command sometimes leaves instream NULL and causes a
4507 segfault in command_loop.
4509 Fri Jan 5 13:59:16 1996 Brendan Kehoe <brendan@lisa.cygnus.com>
4511 * configure.in, configure: Add `-ldl -lw' for Solaris linking.
4513 Fri Jan 5 12:02:00 1996 Steve Chamberlain <sac@slash.cygnus.com>
4515 * config/sh/sh.mt, config/powerpc/*.mt, config/pa/hppapro.mt,
4516 config/m68k/monitor.mt, config/h8500/h8500.mt, config/h8300/h8300.mt:
4517 srec.o renamed to dsrec.o.
4519 Thu Jan 4 16:04:54 1996 Stu Grossman (grossman@cygnus.com)
4521 * breakpoint.c (remove_breakpoint): Change error to warning so
4522 that hardware watchpoint removal problems won't leave breakpoint
4523 traps in the target.
4524 start-sanitize-gdbtk
4525 * configure configure.in: Make --enable-gdbtk be the default.
4527 * remote-e7000.c (e7000_insert_breakpoint,
4528 e7000_remove_breakpoint): Use e7000 based breakpoints, not memory
4530 * (e7000_wait): Adjust PC back by two when we see a breakpoint to
4531 compensate for e7000 maladjustment.
4532 * sparcl-tdep.c (sparclite_check_watch_resources): Fix logic bug
4533 which prevented hardware watchpoints from working.
4535 Thu Jan 4 10:44:17 1996 Fred Fish <fnf@cygnus.com>
4537 * infptrace.c (udot_info): New function.
4538 (PT_*): Define each individually if that one is not defined.
4539 * rs6000-nat.c (kernel_u_size): New function
4540 Include <sys/user.h> for "struct user"
4541 * alpha-nat.c (kernel_u_size): New function.
4542 Include <sys/user.h> for "struct user"
4543 * sparc-nat.c (kernel_u_size): New function.
4544 Include <sys/user.h> for "struct user"
4545 * i386b-nat.c (kernel_u_size): New function.
4546 * i386v-nat.c (kernel_u_size): New function.
4547 * config/i386/nm-fbsd.h (KERNEL_U_SIZE): Define.
4548 (kernel_u_size): Declare.
4549 * config/i386/nm-linux.h (KERNEL_U_SIZE): Define.
4550 (kernel_u_size): Declare.
4551 * config/sparc/nm-sun4os4.h (KERNEL_U_SIZE): Define.
4552 (kernel_u_size): Declare.
4553 * config/alpha/nm-osf2.h (KERNEL_U_SIZE): Define.
4554 (kernel_u_size): Declare.
4555 * config/rs6000/nm-rs6000.h (KERNEL_U_SIZE): Define.
4556 (kernel_u_size): Declare.
4558 Thu Jan 4 11:00:01 1996 steve chamberlain <sac@slash.cygnus.com>
4560 * mdebugread.c (mylookup_symbol): enum namespace becomes
4561 enum_namespace type.
4562 * symfile.c (add_psymbol_to_list)
4563 (add_psymbol_addr_to_list): Ditto.
4564 * symtab.c (lookup_partial_symbol): Ditto.
4565 (lookup_symbol): Ditto.
4566 (lookup_block_symbol): Ditto.
4567 * win32-nat.c (handle_load_dll): Use incoming dll base.
4568 (child_wait): Catch DLL load errors.
4569 (create_child_inferior): Translated between paths correctly.
4571 Wed Jan 3 23:13:53 1996 Fred Fish <fnf@cygnus.com>
4573 * i386v4-nat.c (supply_gregset, fill_gregset): Subtract NUM_FREGS
4574 from NUM_REGS to get number of general registers that we care about.
4575 * config/i386/tm-i386.h (REGISTER_BYTES): Define in terms
4576 of number of general regs and number of floating point regs.
4578 Wed Jan 3 19:49:54 1996 steve chamberlain <sac@slash.cygnus.com>
4580 * config/i386/tm-win32.h (IN_SOLIB_CALL_TRAMPOLINE): New.
4581 (SKIP_TRAMPOLINE_CODE): New.
4582 * config/i386/xm-win32.h (CANT_FORK): Deleted.
4583 (SLASH*) Changed to use unix style slash.
4584 * symtab.h (namespace enum): becomes typedef to avoid namespace
4586 * infcmd.c (path_command): Use empty string if PATH name not set.
4587 * i386-tdep.c (skip_trampoline_code): New function.
4588 * srec.c: Renamed dsrec.c to avoid filename collision.
4589 * Makefile.in: Cope with renaming.
4591 Wed Jan 3 13:09:04 1996 Fred Fish <fnf@cygnus.com>
4593 * symmisc.c (print_objfile_statistics): Print memory use statistics
4594 for objfile psymbol, symbol, and type obstacks.
4596 Tue Jan 2 13:41:14 1996 Stan Shebs <shebs@andros.cygnus.com>
4598 * config/mips/nm-irix5.h: Restore.
4599 (TARGET_HAS_HARDWARE_WATCHPOINTS, etc): Define as for Irix 4;
4600 from Lee Iverson <leei@ai.sri.com>.
4601 * config/mips/irix5.mh (NAT_FILE): Use nm-irix5.h.
4602 * config/mips/irix[345].mh (MUNCH_DEFINE): Remove.
4604 For older changes see ChangeLog-95
4610 version-control: never