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