1 Sat Apr 4 10:05:00 1998 Dawn Perchik <dawn@cygnus.com>
2 * mdebugread.c (parse_partial_symbols): If this is an .mdebug
3 section in an ELF file, override a symbol's ECOFF section with its
4 ELF section. Also, fix stabs continuation where a stabs string
5 continues for more than one continuation.
7 Mon Apr 6 09:17:48 1998 Andrew Cagney <cagney@b1.cygnus.com>
9 * mips-tdep.c (mips_push_arguments): Specify dimention of valbuf
10 using MAX_REGISTER_RAW_SIZE.
12 Sat Apr 4 10:05:00 1998 Dawn Perchik <dawn@cygnus.com>
13 * infrun.c: Fix prototype of signals_info to match static funtion.
15 Thu Apr 2 12:47:41 1998 Frank Ch. Eigler <fche@cygnus.com>
16 * sol-thread.c (sol_thread_store_registers): Save & restore new
17 value of single updated register to prevent accidental clobbering.
19 Wed Apr 1 22:01:09 1998 Mark Alexander <marka@cygnus.com>
21 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): Define.
22 * config/sparc/sparclite.mt: Link in the erc32 simulator.
24 Wed Apr 1 16:30:49 1998 Ian Dall <Ian.Dall@dsto.defence.gov.au>
26 * ns32k-tdep.c (flip_bytes, ns32k_localcount,
27 ns32k_get_enter_addr, sign_extend): Restore functions mysteriously
30 * ns32knbsd-nat.c: New (?) file to support fetching and storing
31 registers on NetBSD hosts.
33 * nbsd.mh (NATDEPFILES): put ns32knbsd-nat.o instead of
36 * ns32km3-nat.c (reg_offset): Get order of floating point
37 registers correct. Add extra 32382 register offsets.
38 (REG_ADDRESS): define to point at correct part of thread
39 state. Use calls to "warning" instead of "message".
41 * tm-nbsd.h, tm-ns32km3.h (REGISTER_NAMES, NUM_REGS,
42 REGISTER_BYTES, REGISTER_BYTE): redefine allowing for 32382
45 Wed Apr 1 13:43:07 1998 Philippe De Muyter <phdm@macqel.be>
47 * NEWS: m68k-motorola-sysv host support added.
48 * coffread.c (coff_start_symtab): Accept the filename as an argument,
49 set it here. Callers updated.
51 Wed Apr 1 23:13:23 1998 Andrew Cagney <cagney@b1.cygnus.com>
53 * config/mips/tm-mips.h (REGISTER_VIRTUAL_TYPE): Handle 32 bit SR,
54 FSR and FIR registers.
55 (REGISTER_VIRTUAL_SIZE): Compute using REGISTER_VIRTUAL_TYPE.
56 (REGISTER_RAW_SIZE): Define using REGISTER_VIRTUAL_SIZE.
58 * config/mips/tm-mips64.h: Ditto.
60 Tue Mar 31 21:30:39 1998 Nick Clifton <nickc@cygnus.com>
62 * arm-tdep.c (gdb_print_insn_arm): Attach a fake Thumb symbol
63 vector to the info structure when disassembling thumb
66 * coffread.c (coff_symtab_read, read_one_sym,
67 process_coff_symbol): Support Thumb symbol types.
69 * dbxread.c (process_one_symbol): Call SMASH_TEXT_ADDRESS (if it
70 is defined) for function symbols.
72 Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
74 * d10v-tdep.c (d10v_extract_return_value): Wierd. GCC wants to
75 return odd sized register quantities with only half of the first
78 * config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Use stack when
81 Mon Mar 30 16:42:12 1998 Jason Molenda (crash@bugshack.cygnus.com)
83 * rdi-share/Makefile.am, rdi-share/aclocal.m4,
84 rdi-share/configure: New files.
85 * rdi-share/configure.in: Rewritten to be an autoconf input file.
86 * rdi-share/Makefile.in, rdi-share/configure: Generated by
88 * rdi-share/dbg_hif.h, etherdrv.c, hostchan.c: Use autoconf tests
91 Sun Mar 29 15:17:16 1998 Keith Seitz <keiths@onions.cygnus.com>
93 * tracepoint.c (trace_start_command): Set trace_running_p.
94 (trace_stop_command): Clear trace_running_p.
96 Sat Mar 28 15:19:48 1998 Stan Shebs <shebs@andros.cygnus.com>
98 * NEWS: Update for 4.17 release.
100 Thu Mar 26 22:29:28 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
102 * tracepoint.c (trace_status_command): Recognize a boolean return
103 value from the stub to indicate whether trace experiment is
104 running. Export this value as a global state variable
105 (trace_running_p) for use by the GUI. (from Michael Snyder)
106 (trace_pass_command) added call to modify_tracepoint_hook.
108 * tracepoint.h export trace_running_p
111 Wed Mar 25 11:45:19 1998 Frank Ch. Eigler <fche@cygnus.com>
113 * configure.in (sim-gpu2): Added target type checking to make
114 --with-sim-gpu2 option only valid for sky target.
115 * configure: Regenerated.
118 Tue Mar 24 16:22:40 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk>
120 * Makefile.in: Derive SHELL from configure.
121 * config/d10v/d10v.mt config/d30v/d30v.mt config/m32r/m32r.mt
122 config/mn10200/mn10200.mt config/mn10300/mn10300.mt : Remove -lm
123 from SIM. This prevents dependency checking of -lm (under NT
124 native builds). (It is automatically added by configure if it
126 * doc/configure mswin/configure nlm/configure
127 testsuite/gdb.base/configure testsuite/gdb.c++/configure
128 testsuite/gdb.chill/configure testsuite/gdb.disasm/configure
129 testsuite/gdb.stabs/configure testsuite/gdb.threads/configure:
130 Regenerate with autoconf 2.12.1 to fix shell issues for NT native
133 Mon Mar 23 18:10:57 1998 Ulrich Drepper (drepper@cygnus.com)
135 * solib.c (solib_create_inferior_hook): Rewrite previous
136 change to check the type of file via BFD.
138 Mon Mar 23 13:52:28 1998 Ulrich Drepper (drepper@cygnus.com)
140 * breakpoint.c (breakpoint_re_set_one): Treat bp_shlib_events
142 * solib.c (solib_create_inferior_hook): Relocate section addresses
143 if the alleged start address doesn't agree with the PC.
146 Mon Mar 23 13:07:22 1998 Frank Ch. Eigler <fche@cygnus.com>
148 * configure.in (sim-gpu2): Added --with-sim-gpu2 as configure
149 option, to allow gdb+sim linking with sky GPU2 library.
150 * configure: Regenerated.
153 Sat Mar 21 19:34:49 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
155 merged changes from Foundry (list follows by file/author):
157 - Tom Tromey <tromey@cygnus.com>
158 * Makefile.in (gdbres.o): New target.
159 (WINDRES): New define.
160 * configure: Rebuilt.
161 * configure.in (WINDRES): Define.
162 (CONFIG_OBS): Include gdbres.o on Windows.
163 * gdbtool.ico: New file.
167 - Keith Seitz <keiths@onions.cygnus.com>
168 (wait_for): Don't reset the timeout_remaining for CYGWIN32,
169 since we now effectively poll the serial port.
170 Don't reset the current_timeout, either, since this member is used
171 by hardwire_readchar to track the timeout and call the ui_loop_hook.
172 (hardwire_readchar): Poll the serial port for Cygwin32. We timeout every
173 second, update the UI, and loop around doing this until we have hit the real
174 timeout or we get data or an error. This will allow the UI to stay active
175 while gdb is "blocked" talking to the target.
176 - Martin M. Hunt <hunt@cygnus.com>
177 (wait_for): Do reset current_timeout
178 because it is only used to keep track of what the
179 current timeout for the scb is.
182 - Martin M. Hunt <hunt@cygnus.com>
183 (quit_confirm): Change exit message again
185 (pc_changed_hook): Add prototype.
186 - Tom Tromey <tromey@cygnus.com>
187 (quit_confirm): Added missing `else'.
188 (quit_confirm): Special-case message if init_ui_hook is
192 - Martin M. Hunt <hunt@cygnus.com>
193 (find_pc_sect_line): If no symbol information
194 is found, return correct pc anyway.
195 (find_methods): Comment out an apparently
196 bogus error message because it messes up Foundry.
199 - Martin M. Hunt <hunt@cygnus.com>
200 (_initialize_serial): Add a description of
204 - Martin M. Hunt <hunt@cygnus.com>
205 (write_register_gen): Add call to
206 pc_changed_hook if the PC is being changed.
209 - Martin M. Hunt <hunt@cygnus.com>
210 (pc_changed_hook): Define.
213 - Martin M. Hunt <hunt@cygnus.com>
214 (do_setshow_command): If no arguments are supplied,
215 don't dump core, instead print out an error message.
218 - Martin M. Hunt <hunt@cygnus.com>
219 Make set_raw_breakpoint, set_breakpoint_count,
220 and breakpoint_count non-static so they are accessible from
222 (enable_breakpoint): Enable breakpoint
223 with same disposition instead of changing all breakpoints
227 - Keith Seitz <keiths@onions.cygnus.com>
228 Add declarations for annotation hooks.
231 - Keith Seitz <keiths@onions.cygnus.com>
232 Add hooks: annotate_starting_hook, annotate_stopped_hook,
233 annotate_signalled_hook, annotate_exited_hook.
234 (annotate_starting): If hook exists, call it instead.
235 (annotate_stopped): If hook exists, call it instead.
236 (annotate_exited): If hook exists, call it instead.
237 (annotate_signalled): If hook exists, call it instead.
239 Fri Mar 20 14:45:36 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
241 * gdbserver/Makefile.in: add dependency on XM_CLIBS.
242 * gdbserver/low-sim.c (registers) force into alignment.
243 (create_inferior): Fix typo on new_argv; add abfd arg to
244 sim_open, sim_create_inferior. Add reg_size arg to
245 sim_fetch_register, sim_store_register. Make simulator
246 take a single-step to get into a known running state.
247 * gdbserver/gdbreplay.c: include fcntl.h for def'n of F_SETFL.
248 * gdbserver/server.c: Add remote_debug variable to control
250 * gdbserver/server.h: Add prototypes for enable/disable_async_io.
251 * gdbserver/remote-utils.c: add verbose debugging output controlled
252 by "remote_debug" variable. Add call to "disable_async_io()"
253 to avoid being killed by async SIGIO signals.
254 * config/m32r/m32r.mt: define GDBSERVER_(LIBS and DEPFILES),
255 so that gdbserver can be built with the m32r simulator.
257 Fri Mar 20 09:04:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
260 * config/mips/tm-r5900.h (REGISTER_VIRTUAL_SIZE): Redefine as
261 expression from REGISTER_VIRTUAL_TYPE.
262 (REGISTER_RAW_SIZE): Ditto.
263 (REGISTER_VIRTUAL_TYPE): Redefine, use explicit size for 32 bit
267 * gdbtypes.h (builtin_type_{,u}int{8,16,32,64}): New gdb builtin
270 (builtin_type_{,u}int128): Ditto.
273 * gdbtypes.c (_initialize_gdbtypes): Initialize new types.
275 * mips-tdep.c (do_gp_register_row): Pad register value when GP
276 register is smaller than MIPS_REGSIZE.
278 * findvar.c (value_of_register): When raw and virtual register
279 values identical, check that sizes are consistent.
281 Thu Mar 19 11:32:15 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
283 * minsyms.c (compare_minimal_symbols): If addresses are identical,
284 then compare on names. Sorted list should have symbols with
285 identical addresses AND names adjacent, so dups can be discarded.
287 Wed Mar 18 12:50:17 1998 Jeff Law (law@cygnus.com)
289 * stabsread.c (define_symbol): Don't look for ',' as a LRS
292 Wed Mar 18 10:34:51 1998 Nick Clifton <nickc@cygnus.com>
294 * rdi-share/etherdrv.c: Set sys_errlist[] as char * not const char *.
296 Fri Mar 13 15:43:53 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
298 * config/mips/xm-mips.h (CC_HAS_LONG_LONG): Undefine for Ultrix
299 when compiling with native cc, the compiler has broken long long
302 Fri Mar 13 15:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
304 * config/m68k/xm-sun3os4.h: Remove malloc declarations, they
305 are handled via autoconf now.
306 * remote.c (remote_ops, extended_remote_ops): Replace static
307 forward declaration by moving the static definition to the top of
308 the file, for old K&R compilers.
309 * tracepoint.c (collect_symbol, trace_start_command):
310 Replace ANSI string concatenation with K&R compatible simple string.
312 1998-03-11 Fred Fish <fnf@ninemoons.com>
314 * source.c (select_source_symtab): Don't reach error if we have
315 a current_source_symtab from reading in partial symbol table.
317 start-sanitize-vr4320
318 Tue Mar 10 16:15:13 1998 Gavin Koch <gavin@cygnus.com>
320 * configure.tgt (mips64*vr4320*el-*-elf*) : Removed spurious case.
323 Fri Mar 6 13:10:27 1998 Fred Fish <fnf@cygnus.com>
325 * utils.c (quit): Call SERIAL_DRAIN_OUTPUT rather than
327 * serial.h (struct serial_ops): Add drain_output, pointer to
328 function that waits for output to drain.
329 (SERIAL_DRAIN_OUTPUT): Macro to wait for output to drain.
330 * ser-unix.c (hardwire_drain_output): New function and prototype.
332 * ser-unix.c (hardwire_ops): Add entry for drain_output function.
333 * ser-tcp.c (tcp_ops): Ditto.
334 * ser-ocd.c (ocd_ops): Ditto.
335 * ser-mac.c (mac_ops): Ditto.
336 * ser-go32.c (dos_ops): Ditto.
337 * ser-e7kpc.c (e7000pc_ops): Ditto.
339 Thu Mar 5 16:07:41 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
341 * sparcl-tdep.c: fix #endif comments
343 Thu Mar 5 15:10:35 1998 Jason Molenda (crash@bugshack.cygnus.com)
345 * Makefile.in (BISON): Configure substitutes in @YACC@, not @BISON@.
347 Thu Mar 5 14:42:41 1998 Keith Seitz <keiths@onions.cygnus.com>
349 * ocd.c (ocd_open): If we fail ocd_start_remote, make sure we
350 error () so that we abort out of bdm_ppc_open.
352 Wed Mar 4 16:53:52 1998 Martin M. Hunt <hunt@cygnus.com>
354 * serial.c (_initialize_serial): Add a description of
357 * command.c (do_setshow_command): If no arguments are supplied,
358 don't dump core, instead print out an error message.
360 Wed Mar 4 16:50:18 1998 Jason Molenda (crash@bugshack.cygnus.com)
362 * gdbtk.c (gdb_listfiles): Fix thinko in last change.
364 Wed Mar 4 15:34:49 1998 Jason Molenda (crash@bugshack.cygnus.com)
366 * gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically.
368 Wed Mar 4 01:39:08 1998 Ron Unrau <runrau@cygnus.com>
370 * elfread.c (elf_symtab_read): merge SYMBOL_IS_SPECIAL into
372 * config/mips/tm-mips.h: ditto
374 Tue Mar 3 17:19:08 1998 John Metzler <jmetzler@cygnus.com>
376 * config/mips/tm-vr4xxx.h: implements vr4111 as saparate from 4300
377 * config/mips/vr4xxx.tm: implements vr4111 as separate from 4300
378 * configure.tgt: Recognise mips64vr4111-*-elf as vr4xxx
379 * dwarfread.c (read_tag_pointer_type): Pointer sizes now come from
380 TARGET_PTR_BIT rather from sizeof(char *) on host.
382 Tue Mar 3 14:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
384 * alpha-nat.c (fetch_osf_core_registers): Renamed from
385 fetch_aout_core_registers.
386 (alpha_osf_core_fns): Renamed from alpha_aout_core_fns, change
387 flavour to bfd_target_unknown_flavour for OSF core files.
389 start-sanitize-vr4320
390 Tue Mar 3 11:12:39 1998 Gavin Koch <gavin@cygnus.com>
392 * configure.tgt (mips64*vr4320*el-*-elf*,mips64*vr4320*-*-elf*) :
396 Mon Mar 2 17:44:13 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
398 * breakpoint.c (_initialize_breakpoint): Make "en" an alias
399 for "enable" (so that it doesn't conflict with "end").
401 Mon Mar 2 17:04:25 1998 Jason Molenda (crash@bugshack.cygnus.com)
403 * Makefile (VERSION): Bump to 4.17.1.
405 Mon Mar 2 16:59:15 1998 Jason Molenda (crash@bugshack.cygnus.com)
407 * rdi-share/etherdrv.c (sys_errlist): Add correct decl for Linux.
409 Mon Mar 2 16:51:44 1998 Jason Molenda (crash@bugshack.cygnus.com)
411 * Makefile.in (YYFILES): Remove in maintainer-clean, not distclean.
413 Mon Mar 2 16:47:11 1998 Philippe De Muyter <phdm@macqel.be>
415 * Makefile.in (distclean): Add `rm $(YYFILES)'.
417 Mon Mar 2 16:45:48 1998 Philippe De Muyter <phdm@macqel.be>
419 * coffread.c (coff_read_enum_type): Set TYPE_FLAG_UNSIGNED if enum
422 Sun Mar 2 15:16:13 1998 Richard Henderson <rth@cygnus.com>
424 * configure.host, configure.tgt: Add sparc-linux.
425 * sparc-nat.c: Include <asm/reg.h> not <machine/reg.h> for Linux.
426 * config/sparc/*linux*: New files.
428 Mon Mar 2 12:12:41 1998 Anthony Thompson (athompso@cambridge.arm.com)
430 * arm-tdep.c (gdb_print_insn_arm): Call print_insn_big_arm
431 if we're big endian; else call print_insn_little_arm.
433 Mon Feb 24 11:24:57 1998 Richard Henderson <rth@cygnus.com>
435 * Makefile.in (BISON): Don't even pretend to use yacc.
436 (c-exp.tab.o): Use bison -o to use a unique intermediate file.
437 (jv-exp.tab.o, f-exp.tab.o, m2-exp.tab.o): Likewise.
439 Tue Feb 24 03:32:59 1998 Andrew Cagney <cagney@b1.cygnus.com>
441 * remote-sim.c (gdbsim_fetch_register): Don't abort when the
442 register size is wrong.
445 Tue Feb 24 02:53:41 1998 And<rew Cagney <cagney@b1.cygnus.com>
447 * config/mips/tm-r5900.h (REGISTER_VIRTUAL_SIZE,
448 REGISTE_RAW_SIZE): Re-define.
451 Thu Feb 19 16:49:48 1998 John Metzler <jmetzler@cygnus.com>
453 * target.c (debug_to_fetch_registers,debug_to_store_registers,
454 debug-to_insert_breakpoint,debug_to_remove_breakpoint): tracing
455 64 bit targets crashed long long printfs.
457 Tue Feb 17 16:36:22 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
459 * symfile.c (read_target_int_array): rename read_target_long_array
460 and force the sizeof an ovly_table element to sizeof(long),
461 instead of sizeof(int).
463 Tue Feb 17 18:05:05 1998 Frank Ch. Eigler <fche@cygnus.com>
465 * remote-mips.c (mips_request): Use unsigned long during parsing
466 returned value from monitor, to prevent accidental sign extension.
468 Tue Feb 17 14:28:33 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
470 * acconfig.h: FORCE_MMCHECK changed to MMCHECK_FORCE.
471 * configure.in: Ditto.
472 * configure: Regenerated.
474 Tue Feb 17 14:07:34 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
476 * gdbtypes.c (check_typedef): Do not try to resolve the length of
477 a type which has TYPE_FLAG_TARGET_STUB set, if the target type has
478 set TYPE_FLAG_TARGET_STUB as well.
480 Tue Feb 17 14:32:18 1998 Andrew Cagney <cagney@b1.cygnus.com>
482 * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register):
483 Pass register size to sim_{fetch,store}_register. Check nr of
484 register bytes transfered is correct.
486 Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
488 * remote-d10v.c (remote_d10v_open): Call push_remote_target
489 instead of open_remote_target.
491 * remote.c (remote_xfer_memory): Use REMOTE_TRANSLATE_XFER_ADDRESS
492 to translate addr/size when defined.
493 (open_remote_target): Delete.
495 * target.h (open_remote_target): Delete.
497 * config/d10v/tm-d10v.h (REMOTE_TRANSLATE_XFER_ADDRESS): Define.
499 Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
501 * config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Define. True when
504 Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
506 * config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Define. True when
509 Sun Feb 15 16:10:50 1998 Ron Unrau <runrau@cygnus.com>
511 * parse.c (write_dollar_variable): call new function
512 target_map_name_to_register to allow targets to define their own
513 register name aliases.
514 * infcmd.c (registers_info): use target_map_name_to_register so that
515 "print $reg" and "info reg $reg" use the same register name aliases.
517 Fri Feb 13 16:40:30 1998 Stan Shebs <shebs@andros.cygnus.com>
519 * config/i386/i386mk.mt (OBJFORMATS): Delete, no longer used.
520 * config/i386/xm-i386mk.h: Fix an include.
521 * config/pyr/tm-pyr.h (PC_INNER_THAN): Remove, never used.
523 Thu Feb 12 16:12:07 1998 Frank Ch. Eigler <fche@cygnus.com>
525 * remote-mips.c (mips_enter_debug): Sleep before sending CR to
527 (mips_exit_debug): Accept any whitespace / verbiage before monitor
530 Thu Feb 12 18:25:42 1998 Andrew Cagney <cagney@b1.cygnus.com>
532 * d10v-tdep.c (show_regs): Avoid use of %llx when printing 8 byte
535 Thu Feb 12 17:10:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
537 * valops.c (value_at): For d10v, make read pointers with
538 read_target_unsigned_integer, keep addresses unsigned.
539 (value_fetch_lazy): Ditto.
541 Thu Feb 12 12:14:02 1998 Andrew Cagney <cagney@b1.cygnus.com>
543 * remote-d10v.c: New file. Layer the d10v GDB->remote memory map
544 on top of the remote serial memory transfer functions.
546 * config/d10v/d10v.mt (TDEPFILES): Add remote-d10v.o
548 * Makefile.in (remote-d10v.o): Add dependencies.
550 * remote.c (remote_open_1): Add arg extended_p, engage extended
551 protocol when extended_p.
552 (remote_open, extended_remote_open): Pass !extended_p /
553 extended_p to remote_open_1.
555 * remote.c (open_remote_target), target.h: New function.
557 Wed Feb 11 08:41:15 1998 Andrew Cagney <cagney@b1.cygnus.com>
559 * config/i386/fbsd.mh (XDEPFILES): Add ser-tcp.o.
561 Tue Feb 10 17:50:37 1998 Keith Seitz <keiths@onions.cygnus.com>
563 * tracepoint.c (tracepoint_operation): Call the modify_tracepoint_hook
565 Remove static declaration of free_actions.
567 * tracepoint.h: Add declaration of free_actions.
569 Tue Feb 10 12:17:13 1998 Fred Fish <fnf@cygnus.com>
571 * symtab.c (decode_line_1): Revert change that mistakenly
572 removed assignment of sals[0].pc field.
574 Mon Feb 10 12:37:47 1998 Philippe De Muyter <phdm@macqel.be>
576 * m68k/tm-delta68.h (EXTRACT_RETURN_VALUE): Type argument for
577 `REGISTER_CONVERT_TO_VIRTUAL is `TYPE', not
578 `REGISTER_VIRTUAL_TYPE (FP0_REGNUM)';
579 (STORE_RETURN_VALUE): Ditto, and offset for `write_register_bytes'
580 is `REGISTER_BYTE (FP0_REGNUM)', not `FP0_REGNUM'.
581 (FRAME_NUM_ARGS): New macro.
582 * m68k/tm-news.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Ditto.
583 * delta68-nat.c (clear_insn_cache): New function, forgotten in previous
586 Mon Feb 9 11:10:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
588 * d10v-tdep.c: Replace references to IMEM_ADDR and DMEM_ADDR with
589 D10V_MAKE_[DI]ADDR and D10V_CONVERT_[ID]ADDR_TO_RAW macros.
591 * config/d10v/tm-d10v.h (IMEM_START): Move to 0x01......
592 (DMEM_START): Move to 0x00......
593 (STACK_START): Move to 0x00..7ffe.
594 (D10V_MAKE_IADDR, D10V_MAKE_DADDR): Translate unconditionally.
596 * d10v-tdep.c (d10v_xlate_addr): Delete function.
598 Mon Feb 9 15:10:21 1998 Fred Fish <fnf@cygnus.com>
600 * symtab.c (fixup_psymbol_section): Move forward declaration to
601 top of file with other such decls. Make it a static function.
602 * symtab.h: Minor formatting tweaks.
604 Mon Feb 9 13:14:12 1998 Stan Shebs <shebs@andros.cygnus.com>
606 * config/a29k-udi.mt, config/i960/vxworks960.mt (REMOTE_OBS):
608 * config/i960/tm-i960.h (BREAKPOINT): Define.
610 Mon Feb 9 15:35:38 1998 Ian Lance Taylor <ian@cygnus.com>
612 * Makefile.in (init.c): Ignore errors when making init.c. Seems
613 necessary to work around bug in Solaris make.
615 Sun Feb 6 02:44:28 1997 Philippe De Muyter <phdm@macqel.be>
617 * m68k/tm-delta68.h (CPLUS_MARKER): Macro deleted.
618 (EXTRACT_STRUCT_VALUE_ADDRESS): Macro defined.
619 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Macros modified
620 because floating-point values return via %fp0.
621 (CLEAR_INSN_CACHE): New macro.
622 * m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL): Macro fixed
624 (REGISTER_CONVERT_TO_RAW): Ditto.
625 * infptrace.c (child_xfer_memory): If CLEAR_INSN_CACHE is defined,
626 call it after having written in child process's memory.
627 * inflow.c (PROCESS_GROUP_TYPE): Macro defined if HAVE_TERMIO.
628 (gdb_has_a_terminal, terminal_ours_1): Functions fixed for HAVE_TERMIO.
630 Fri Feb 6 16:17:30 1998 Jeffrey A Law (law@cygnus.com)
632 * config/mips/tm-mips64.h (TARGET_LONG_BIT): Allow final target to
634 (TARGET_LONG_LONG_BIT): Likewise.
635 (TARGET_PTR_BIT): Likewise.
637 * config/mips/tm-r5900.h (TARGET_PTR_BIT): Define to 32 bits.
641 Fri Feb 6 14:33:34 1998 Doug Evans <devans@canuck.cygnus.com>
643 * configure.tgt (mips64r5900*-sky-elf*): Replaces txvu-elf.
644 * config/mips/txvu.mt (SIM): txvu -> mips.
647 Fri Feb 6 17:42:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
649 * config/d10v/tm-d10v.h (D10V_CONVERT_IADDR_TO_RAW,
650 D10V_CONVERT_DADDR_TO_RAW): Define.
652 * d10v-tdep.c (d10v_push_arguments): Re-write. Pass arguments in
653 registers, regardless of their size, when they fit.
655 Thu Feb 5 13:16:36 1998 Andrew Cagney <cagney@b1.cygnus.com>
657 * d10v-tdep.c (d10v_extract_return_value): For function pointers
658 translate address to IMAP area.
660 * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Delete dummy from
662 (POP_FRAME): Point at generic_pop_current_frame.
664 * d10v-tdep.c (d10v_pop_frame): Delete code handling dummy frames,
666 (d10v_push_return_address): New function.
667 (d10v_pop_dummy_frame): Delete.
668 (d10v_fix_call_dummy): Delete.
669 (d10v_call_dummy_address): Delete.
671 * d10v-tdep.c (d10v_init_extra_frame_info): Clear dummy and
674 * d10v-tdep.c (d10v_push_arguments): Keep stack word aligned.
676 * config/d10v/tm-d10v.h (EXTRACT_STRUCT_VALUE_ADDRESS): Extract
677 address of structure from first ARG1_REGNUM.
679 * d10v-tdep.c (d10v_push_arguments): Force 4 byte args into
680 even-odd register pair. Store 1 and 2 byte args in registers.
682 * valops.c (value_fetch_lazy): Ensure that a D10V function pointer
683 is fetched in the correct byte order.
684 (value_at): Ditto. Also ensure data pointers are mapped to data
687 * config/d10v/tm-d10v.h (D10V_DADDR_P, D10V_IADDR_P):
689 * d10v-tdep.c: Replace 2 with REGISTER_RAW_SIZE.
690 (d10v_pop_frame): Replace R13 with LR_REGNUM.
691 (d10v_push_arguments): Replace R2 with ARG1_REGNUM.
692 (d10v_push_arguments): Replace 6 with ARGN_REGNUM.
693 (d10v_extract_return_value): Access return value with RET1_REGNUM.
695 * config/d10v/tm-d10v.h (ARG1_REGNUM, ARGN_REGNUM, RET1_REGNUM):
697 (STORE_RETURN_VALUE): Specify return register using RET1_REGNUM.
698 (STORE_STRUCT_RETURN): Specify ARG1_REGNUM as the struct ptr
701 Thu Feb 5 13:16:36 1998 Andrew Cagney <cagney@b1.cygnus.com>
703 * blockframe.c (generic_pop_dummy_frame): Flush the frame, no
706 * blockframe.c (generic_pop_current_frame), frames.h: New
709 Thu Feb 5 17:18:16 1998 Andrew Cagney <cagney@b1.cygnus.com>
711 * remote-sim.c (gdbsim_create_inferior): clear_proceed_status
712 before /re/starting the simulator.
714 Thu Feb 5 15:55:31 1998 C. M. Heard (heard@vvnet.com)
716 * top.c (do_nothing): Remove signal handler after signal is caught.
718 Thu Feb 5 11:57:06 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
720 * tracepoint.c (tracepoint_operation): call free_actions instead
721 of free. (free_actions): eliminate some memory leaks for actions.
722 (validate_actionline): pass string arg by reference, so we can
723 change the pointer. Change all memrange collection arguments to
724 canonical form (literal address and size), to enforce early
725 evaluation. Accept UNOP_MEMVAL (assembly variables) for
726 trace collection. (parse_and_eval_memrange): accept expressions
727 for the address and size fields of a memrange (and evaluate
728 them immediately). (several places): use -1 instead of zero
729 to distinguish an absolute memrange from a register-relative one.
730 (encode_actions): add handling for UNOP_MEMVAL (assembly variable).
732 Wed Feb 4 17:40:21 1998 Jason Molenda (crash@bugshack.cygnus.com)
734 * Makefile.in (SFILES): add tracepoint.c.
735 (LINTFILES): add @CONFIG_SRCS@.
737 * configure.in (CONFIG_SRCS): Mirror use of CONFIG_OBS.
738 * configure: Regenerated.
740 Tue Feb 3 16:12:32 1998 Gordon W. Ross (gwr@mc.com)
742 * infptrace.c (child_resume): Don't try to step if
743 NO_SINGLE_STEP is defined.
745 Mon Feb 2 19:06:13 1998 Jason Molenda (crash@bugshack.cygnus.com)
747 * Makefile.in (VERSION): Bump to 4.16.2.
749 Mon Feb 2 17:18:25 1998 Richard Henderson <rth@cygnus.com>
751 * alpha-nat.c (fetch_aout_core_registers): Rename from
752 fetch_core_registers.
753 (fetch_elf_core_registers): New function.
754 (supply_gregset): Use ALPHA_REGSET_BASE.
755 (supply_fpregset): Likewise.
756 (fill_fpregset): Likewise.
757 (alpha_aout_core_fns): Rename from alpha_core_fns.
758 (alpha_elf_core_fns): New.
759 * config/alpha/alpha-linux.mh (NATDEPFILES): solib.o not osfsolib.o.
761 * config/alpha/nm-linux.h (SVR4_SHARED_LIBS): Define if ELF.
762 (TARGET_ELF64): Likewise.
763 (ALPHA_REGSET_BASE): New.
764 * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): New.
765 * config/alpha/tm-alphalinux.h: Include tm-sysv4.h.
767 * solib.c (elf_locate_base): Add TARGET_ELF64 support.
768 (info_sharedlibary_command): Likewise.
770 * configure.host: Match alpha*.
771 * configure.tgt: Likewise.
773 Fri Jan 30 15:11:38 1998 David Taylor <taylor@texas.cygnus.com>
775 Changes by <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
776 * infrun.c (IN_SOLIB_DYNSYM_RESOLVE_CODE): new macro for detecting
777 whether we are in the dynamic symbol resolution code
778 (wait_for_inferior): invoke it.
779 * solib.c (in_svr4_dynsym_resolve_code): new function
780 (enable_break): record start and end of the dynamic linker
781 text and plt sections for use in in_svr4_dynsym_resolve_code.
782 * solib.h (IN_SOLIB_DYNSYM_RESOLVE_CODE): add svr4 definition;
783 (in_svr4_dynsym_resolve_code): declare it.
784 * config/nm-gnu.h (solib.h): move inclusion to after definition
786 * config/nm-sysv4.h (solib.h): ditto.
787 * config/i386/nm-i386sco5.h (solib.h): ditto.
788 * config/i386/nm-linux.h (solib.h): ditto.
789 * config/mips/nm-irix5.h (IN_SOLIB_DYNSYM_RESOLVE_CODE): undefine.
791 Thu Jan 29 19:39:31 1998 Stan Shebs <shebs@andros.cygnus.com>
793 * coffread.c (coff_symtab_read) [SEM]: Remove code, macro can
795 * dbxread.c (process_one_symbol) [BLOCK_ADDRESS_ABSOLUTE]:
796 Remove, no longer needed.
797 * hppa-tdep.c (N_SET_MAGIC): Remove, no longer used.
798 * config/pa/xm-hppab.h (SEEK_SET, SEEK_CUR, SEEK_END): Ditto.
799 * config/mips/tm-mipsm3.h (NUMERIC_REG_NAMES): Ditto.
800 * config/mips/mipsm3.mt (TDEPFILES): Remove mipsread.o.
802 Wed Jan 28 14:46:52 1998 Stan Shebs <shebs@andros.cygnus.com>
804 Suggested by Chris Walter <walter@budoe.bu.edu>:
805 * dwarfread.c (set_cu_language): Recognize Fortran.
806 * dwarf2read.c (set_cu_language): Ditto.
807 (read_array_type): Fix language test.
809 Wed Jan 28 12:51:08 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
811 * blockframe.c (generic_frame_chain_valid): A frame pointer may
812 be valid if it is equal to the frame pointer of its caller (ie.
813 not necessarily strictly INNER_THAN). Allows frameless functions.
815 Wed Jan 28 11:23:25 1998 Mark Alexander <marka@cygnus.com>
817 * monitor.c (monitor_vsprintf): New function to handle
818 printing of large addresses using %A format specifier.
819 (monitor_printf_noecho, monitor_printf): Use monitor_vsprintf
821 * dve3900-rom.c (_initialize_r3900_rom): Use %A instead of %Lx
824 Tue Jan 27 16:14:23 1998 Jason Molenda (crash@bugshack.cygnus.com)
826 * configure.in (CONFIG_LDFLAGS): Only add -export-dynamic
829 Mon Jan 26 19:07:46 1998 Jason Molenda (crash@bugshack.cygnus.com)
831 * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset):
832 Add closing parenthesis. From HJ Lu.
834 Mon Jan 26 17:54:45 1998 Mark Alexander <marka@cygnus.com>
836 * dve3900-rom.c: Improve performance by using memory commands
837 that print less fluff. Minor cosmetic changes.
838 Eliminate compiler warnings.
840 Sat Jan 24 23:44:43 1998 Martin M. Hunt <hunt@cygnus.com>
842 * breakpoint.c (enable_breakpoint): Preserve breakpoint
843 disposition when enabling a breakpoint.
845 * symtab.c (find_pc_sect_line): If no symbol information
846 is found, return correct pc anyway.
848 Fri Jan 23 17:26:22 1998 Stan Shebs <shebs@andros.cygnus.com>
850 * configure.host (i[3456]86-*-osf1mk*, mips-*-mach3*,
851 ns32k-*-mach3*): Fix file names.
852 (i[3456]86-*-os9k, m88*-*-mach3*, w65-*-*): Remove config
853 recognition, no source files for these.
854 * configure.tgt (powerpc-*-aix4*): Remove config, now identical
856 * config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: Remove files,
859 Fri Jan 23 16:49:41 1998 Mark Alexander <marka@cygnus.com>
861 * monitor.c (monitor_write, monitor_readchar): New functions.
862 * monitor.h (monitor_write, monitor_readchar): Declare.
863 * dve3900-rom.c: Add support for fast loading on ethernet connections.
865 Fri Jan 23 07:47:06 1998 Fred Fish <fnf@cygnus.com>
867 * config/d10v/tm-d10v.h (CALL_DUMMY): Define as "{ 0 }".
868 (TARGET_READ_FP): Define to d10v_read_fp rather than d10v_read_sp.
869 (TARGET_WRITE_FP): Define to d10v_write_fp rather than d10v_write_sp.
870 (d10v_write_fp, d10v_read_fp): Add prototypes.
871 * symtab.c (decode_line_1): Remove assignment of sals[0].pc field.
872 * symfile.c (simple_overlay_update, simple_overlay_update_1):
873 Ignore the size of overlay sections. This check is redundant anyway.
874 * printcmd.c (print_frame_args): Ditto.
875 * valops.c (value_fetch_lazy): Ditto.
876 * values.c (unpack_long): Ditto.
877 * d10v-tdep.c (d10v_frame_chain, d10v_frame_find_saved_regs,
878 d10v_init_extra_frame_info): Fix some minor bugs so the finish command
880 (show_regs): Change num1 and num2 types from "long long" to "LONGEST".
881 (d10v_read_fp, d10v_write_fp): New functions.
882 (d10v_push_arguments): Remove unneeded assigns to "val" and "contents".
883 (d10v_push_arguments): Fix for pointers and structs.
884 (d10v_extract_return_value): Fix for pointers and chars.
886 Tue Jan 20 18:53:18 1998 Stan Shebs <shebs@andros.cygnus.com>
888 * configure.tgt (i386-*-mach*, m88*-*-mach3*): Remove config
889 recognition, no source files for these (note that the i386 Mach
890 config is for pre-Mach 3).
891 (mips*-*-mach3*, ns32k-*-mach3*): Fix file names.
892 * config/mips/mipsel64.mt: Remove, never referenced.
894 Mon Jan 19 14:01:28 1998 Stan Shebs <shebs@andros.cygnus.com>
896 * top.c (print_gdb_version): Restore to original message.
898 Mon Jan 19 13:34:40 1998 Ian Lance Taylor <ian@cygnus.com>
900 From cgf@bbc.com (Chris Faylor):
901 * win32-nat.c (child_mourn_inferior): Call ContinueDebugEvent to
903 (child_kill_inferior): Respond to all debug events as the child is
906 * Makefile.in (all): Change gdb dependency to gdb$(EXEEXT).
907 (uninstall): Add $(EXEEXT) to file name to remove.
908 (gdb$(EXEEXT)): Rename target from plain gdb.
909 (gdb1$(EXEEXT)): Rename target from plain gdb1.
910 (clean, mostlyclean): Add $(EXEEXT) to binary names to remove.
912 1998-01-16 Felix Lee <flee@cygnus.com>
914 * top.c (print_gdb_version): delete stutter.
916 Thu Jan 15 12:29:13 1998 Nick Clifton <nickc@cygnus.com>
918 * remote-rdi.c (arm_rdi_open): Patch from Tony.Thompson@arm.com
919 to prevent spurous error messages on non-ICE targets.
921 Wed Jan 14 19:27:02 1998 Stan Shebs <shebs@andros.cygnus.com>
923 * config/mips/{r3900.mt,r3900l.mt,tm-r3900.h,tm-r3900l.h}:
924 Remove, no longer used.
927 Wed Jan 14 18:11:26 1998 Michael Meissner <meissner@cygnus.com>
929 Patch from Jim Wilson.
930 * d30v-tdep.c (d30v_frame_find_saved_regs_offsets): Properly
931 declare void function before use.
933 * config/d30v/tm-d30v.h (CALL_DUMMY): Initialize as { 0 }, not {}.
936 Tue Jan 13 16:38:48 1998 Fred Fish <fnf@cygnus.com>
938 * configure.in (--with-mmalloc): Add new configure arg to use the
939 mmalloc package. Default is to not use it.
940 (START_INFERIOR_TRAPS_EXPECTED): Define to the integer 2, not
942 * acconfig.h (USE_MMALLOC, FORCE_MMCHECK): Add #undef.
943 * configure: Regenerated.
944 * config.in: Regenerated.
945 * Makefile.in (MMALLOC_DIR, MMALLOC_SRC): Remove.
946 (MMALLOC): Set using configure.
947 (MMALLOC_CFLAGS): Set using configure.
949 * config/i386/tm-linux.h (sys_quotactl): Define to 1 rather
950 than just defining it.
951 * mpw-make.sed: Undefine USE_MMALLOC rather than defining NO_MMALLOC.
952 * utils.c (NO_MMALLOC): Use USE_MMALLOC instead.
956 * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Remove.
957 * config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Remove.
958 * config/i386/cygwin32.mh (MMALLOC_CFLAGS): Remove.
959 * config/alpha/alpha-osf3.mh (MMALLOC_CFLAGS): Remove.
960 * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Remove.
961 * gdbserver/Makefile.in (MMALLOC_*): Remove.
962 * config/rs6000/rs6000.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
963 * config/rs6000/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
964 * config/powerpc/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
965 * config/powerpc/aix.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
966 * config/ns32k/ns32km3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
967 * config/mips/mipsm3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
968 * config/mips/decstation.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
969 * config/m88k/cxux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
970 * config/i386/xm-windows.h (NO_MMALLOC, NO_MMCHECK): Remove.
971 * config/i386/i386mk.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
972 * config/i386/i386m3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
973 * config/i386/i386gnu.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
974 * config/alpha/alpha-osf1.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
975 * config/alpha/alpha-linux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
977 Mon Jan 12 11:46:51 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
979 * config/m68k/tm-m68k.h (REGISTER_VIRTUAL_TYPE): make A0 thru A7
980 default to void pointer type (so that their default radix is hex).
982 * symtab.c: move rbreak_command from no_class to class_breakpoint
983 so it will be listed under "help breakpoints".
985 Sat Jan 10 14:58:04 1998 Stan Shebs <shebs@andros.cygnus.com>
987 * rdi-share/hostchan.c: Remove gettimeofday declaration.
989 Thu Jan 8 11:03:59 1998 Nick Clifton <nickc@cygnus.com>
991 * remote-rdp.c: Applied patches submitted by Tony.Thompson@arm.com
992 to implement the Angel remote debugging interface.
994 * Makefile.in: Add build rules for remote-rdi.c and
995 rdi-share/libangsd.a.
997 * configure.tgt: Updated from source on branch.
998 * config/arm/tm-arm.h: Updated from source on branch.
999 * arm-tdep.c: Updated from source on branch.
1001 * rdi-share: New directory, RDI library contributed by ARM.
1003 Mon Jan 5 20:21:59 1998 Mark Alexander <marka@cygnus.com>
1005 * monitor.h (MO_PRINT_PROGRAM_OUTPUT): Define.
1006 * monitor.c (monitor_wait): Echo program output.
1007 * dve3900-rom.c (_initialize_r3900_rom): Remove MO_HANDLE_NL flag,
1008 add MO_PRINT_PROGRAM_OUTPUT flag.
1010 Mon Jan 5 18:21:11 1998 David Taylor <taylor@texas.cygnus.com>
1012 * top.h (HAVE_SIGSETJMP): define SIGJMP_BUF, SIGSETJMP, and
1013 SIGLONGJMP appropriately based on whether HAVE_SIGSETJMP is
1015 * top.c (return_to_top_level, catch_errors): use the new macros
1016 * main.c (SET_TOP_LEVEL): ditto.
1017 * config/xm-sysv4.h (HAVE_SIGSETJMP): Define.
1019 Fri Jan 2 18:48:58 1998 Mark Alexander <marka@cygnus.com>
1021 * configure.in: Double up brackets in shell case pattern.
1023 Fri Jan 2 17:06:05 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
1025 * tracepoint.c (finish_tfind_command): improved algorithm for
1026 deciding when we've "stepped" into a new stack frame.
1027 (map_args_over_tracepoints): loop over tracepoint list "safely",
1028 since list elements may be deleted during loop.
1029 (read_actions): add actions to history list.
1031 For older changes see ChangeLog-97
1037 version-control: never