1 Tue Feb 10 17:50:37 1998 Keith Seitz <keiths@onions.cygnus.com>
3 * tracepoint.c (tracepoint_operation): Call the modify_tracepoint_hook
5 Remove static declaration of free_actions.
7 * tracepoint.h: Add declaration of free_actions.
9 Tue Feb 10 12:17:13 1998 Fred Fish <fnf@cygnus.com>
11 * symtab.c (decode_line_1): Revert change that mistakenly
12 removed assignment of sals[0].pc field.
14 Mon Feb 10 12:37:47 1998 Philippe De Muyter <phdm@macqel.be>
16 * m68k/tm-delta68.h (EXTRACT_RETURN_VALUE): Type argument for
17 `REGISTER_CONVERT_TO_VIRTUAL is `TYPE', not
18 `REGISTER_VIRTUAL_TYPE (FP0_REGNUM)';
19 (STORE_RETURN_VALUE): Ditto, and offset for `write_register_bytes'
20 is `REGISTER_BYTE (FP0_REGNUM)', not `FP0_REGNUM'.
21 (FRAME_NUM_ARGS): New macro.
22 * m68k/tm-news.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Ditto.
23 * delta68-nat.c (clear_insn_cache): New function, forgotten in previous
26 Mon Feb 9 11:10:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
28 * d10v-tdep.c: Replace references to IMEM_ADDR and DMEM_ADDR with
29 D10V_MAKE_[DI]ADDR and D10V_CONVERT_[ID]ADDR_TO_RAW macros.
31 * config/d10v/tm-d10v.h (IMEM_START): Move to 0x01......
32 (DMEM_START): Move to 0x00......
33 (STACK_START): Move to 0x00..7ffe.
34 (D10V_MAKE_IADDR, D10V_MAKE_DADDR): Translate unconditionally.
36 * d10v-tdep.c (d10v_xlate_addr): Delete function.
38 Mon Feb 9 15:10:21 1998 Fred Fish <fnf@cygnus.com>
40 * symtab.c (fixup_psymbol_section): Move forward declaration to
41 top of file with other such decls. Make it a static function.
42 * symtab.h: Minor formatting tweaks.
44 Mon Feb 9 13:14:12 1998 Stan Shebs <shebs@andros.cygnus.com>
46 * config/a29k-udi.mt, config/i960/vxworks960.mt (REMOTE_OBS):
48 * config/i960/tm-i960.h (BREAKPOINT): Define.
50 Mon Feb 9 15:35:38 1998 Ian Lance Taylor <ian@cygnus.com>
52 * Makefile.in (init.c): Ignore errors when making init.c. Seems
53 necessary to work around bug in Solaris make.
55 Sun Feb 6 02:44:28 1997 Philippe De Muyter <phdm@macqel.be>
57 * m68k/tm-delta68.h (CPLUS_MARKER): Macro deleted.
58 (EXTRACT_STRUCT_VALUE_ADDRESS): Macro defined.
59 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Macros modified
60 because floating-point values return via %fp0.
61 (CLEAR_INSN_CACHE): New macro.
62 * m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL): Macro fixed
64 (REGISTER_CONVERT_TO_RAW): Ditto.
65 * infptrace.c (child_xfer_memory): If CLEAR_INSN_CACHE is defined,
66 call it after having written in child process's memory.
67 * inflow.c (PROCESS_GROUP_TYPE): Macro defined if HAVE_TERMIO.
68 (gdb_has_a_terminal, terminal_ours_1): Functions fixed for HAVE_TERMIO.
70 Fri Feb 6 16:17:30 1998 Jeffrey A Law (law@cygnus.com)
72 * config/mips/tm-mips64.h (TARGET_LONG_BIT): Allow final target to
74 (TARGET_LONG_LONG_BIT): Likewise.
75 (TARGET_PTR_BIT): Likewise.
77 * config/mips/tm-r5900.h (TARGET_PTR_BIT): Define to 32 bits.
81 Fri Feb 6 14:33:34 1998 Doug Evans <devans@canuck.cygnus.com>
83 * configure.tgt (mips64r5900*-sky-elf*): Replaces txvu-elf.
84 * config/mips/txvu.mt (SIM): txvu -> mips.
87 Fri Feb 6 17:42:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
89 * config/d10v/tm-d10v.h (D10V_CONVERT_IADDR_TO_RAW,
90 D10V_CONVERT_DADDR_TO_RAW): Define.
92 * d10v-tdep.c (d10v_push_arguments): Re-write. Pass arguments in
93 registers, regardless of their size, when they fit.
95 Thu Feb 5 13:16:36 1998 Andrew Cagney <cagney@b1.cygnus.com>
97 * d10v-tdep.c (d10v_extract_return_value): For function pointers
98 translate address to IMAP area.
100 * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Delete dummy from
102 (POP_FRAME): Point at generic_pop_current_frame.
104 * d10v-tdep.c (d10v_pop_frame): Delete code handling dummy frames,
106 (d10v_push_return_address): New function.
107 (d10v_pop_dummy_frame): Delete.
108 (d10v_fix_call_dummy): Delete.
109 (d10v_call_dummy_address): Delete.
111 * d10v-tdep.c (d10v_init_extra_frame_info): Clear dummy and
114 * d10v-tdep.c (d10v_push_arguments): Keep stack word aligned.
116 * config/d10v/tm-d10v.h (EXTRACT_STRUCT_VALUE_ADDRESS): Extract
117 address of structure from first ARG1_REGNUM.
119 * d10v-tdep.c (d10v_push_arguments): Force 4 byte args into
120 even-odd register pair. Store 1 and 2 byte args in registers.
122 * valops.c (value_fetch_lazy): Ensure that a D10V function pointer
123 is fetched in the correct byte order.
124 (value_at): Ditto. Also ensure data pointers are mapped to data
127 * config/d10v/tm-d10v.h (D10V_DADDR_P, D10V_IADDR_P):
129 * d10v-tdep.c: Replace 2 with REGISTER_RAW_SIZE.
130 (d10v_pop_frame): Replace R13 with LR_REGNUM.
131 (d10v_push_arguments): Replace R2 with ARG1_REGNUM.
132 (d10v_push_arguments): Replace 6 with ARGN_REGNUM.
133 (d10v_extract_return_value): Access return value with RET1_REGNUM.
135 * config/d10v/tm-d10v.h (ARG1_REGNUM, ARGN_REGNUM, RET1_REGNUM):
137 (STORE_RETURN_VALUE): Specify return register using RET1_REGNUM.
138 (STORE_STRUCT_RETURN): Specify ARG1_REGNUM as the struct ptr
141 Thu Feb 5 13:16:36 1998 Andrew Cagney <cagney@b1.cygnus.com>
143 * blockframe.c (generic_pop_dummy_frame): Flush the frame, no
146 * blockframe.c (generic_pop_current_frame), frames.h: New
149 Thu Feb 5 17:18:16 1998 Andrew Cagney <cagney@b1.cygnus.com>
151 * remote-sim.c (gdbsim_create_inferior): clear_proceed_status
152 before /re/starting the simulator.
154 Thu Feb 5 15:55:31 1998 C. M. Heard (heard@vvnet.com)
156 * top.c (do_nothing): Remove signal handler after signal is caught.
158 Thu Feb 5 11:57:06 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
160 * tracepoint.c (tracepoint_operation): call free_actions instead
161 of free. (free_actions): eliminate some memory leaks for actions.
162 (validate_actionline): pass string arg by reference, so we can
163 change the pointer. Change all memrange collection arguments to
164 canonical form (literal address and size), to enforce early
165 evaluation. Accept UNOP_MEMVAL (assembly variables) for
166 trace collection. (parse_and_eval_memrange): accept expressions
167 for the address and size fields of a memrange (and evaluate
168 them immediately). (several places): use -1 instead of zero
169 to distinguish an absolute memrange from a register-relative one.
170 (encode_actions): add handling for UNOP_MEMVAL (assembly variable).
172 Wed Feb 4 17:40:21 1998 Jason Molenda (crash@bugshack.cygnus.com)
174 * Makefile.in (SFILES): add tracepoint.c.
175 (LINTFILES): add @CONFIG_SRCS@.
177 * configure.in (CONFIG_SRCS): Mirror use of CONFIG_OBS.
178 * configure: Regenerated.
180 Tue Feb 3 16:12:32 1998 Gordon W. Ross (gwr@mc.com)
182 * infptrace.c (child_resume): Don't try to step if
183 NO_SINGLE_STEP is defined.
185 Mon Feb 2 19:06:13 1998 Jason Molenda (crash@bugshack.cygnus.com)
187 * Makefile.in (VERSION): Bump to 4.16.2.
189 Mon Feb 2 17:18:25 1998 Richard Henderson <rth@cygnus.com>
191 * alpha-nat.c (fetch_aout_core_registers): Rename from
192 fetch_core_registers.
193 (fetch_elf_core_registers): New function.
194 (supply_gregset): Use ALPHA_REGSET_BASE.
195 (supply_fpregset): Likewise.
196 (fill_fpregset): Likewise.
197 (alpha_aout_core_fns): Rename from alpha_core_fns.
198 (alpha_elf_core_fns): New.
199 * config/alpha/alpha-linux.mh (NATDEPFILES): solib.o not osfsolib.o.
201 * config/alpha/nm-linux.h (SVR4_SHARED_LIBS): Define if ELF.
202 (TARGET_ELF64): Likewise.
203 (ALPHA_REGSET_BASE): New.
204 * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): New.
205 * config/alpha/tm-alphalinux.h: Include tm-sysv4.h.
207 * solib.c (elf_locate_base): Add TARGET_ELF64 support.
208 (info_sharedlibary_command): Likewise.
210 * configure.host: Match alpha*.
211 * configure.tgt: Likewise.
213 Fri Jan 30 15:11:38 1998 David Taylor <taylor@texas.cygnus.com>
215 Changes by <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
216 * infrun.c (IN_SOLIB_DYNSYM_RESOLVE_CODE): new macro for detecting
217 whether we are in the dynamic symbol resolution code
218 (wait_for_inferior): invoke it.
219 * solib.c (in_svr4_dynsym_resolve_code): new function
220 (enable_break): record start and end of the dynamic linker
221 text and plt sections for use in in_svr4_dynsym_resolve_code.
222 * solib.h (IN_SOLIB_DYNSYM_RESOLVE_CODE): add svr4 definition;
223 (in_svr4_dynsym_resolve_code): declare it.
224 * config/nm-gnu.h (solib.h): move inclusion to after definition
226 * config/nm-sysv4.h (solib.h): ditto.
227 * config/i386/nm-i386sco5.h (solib.h): ditto.
228 * config/i386/nm-linux.h (solib.h): ditto.
229 * config/mips/nm-irix5.h (IN_SOLIB_DYNSYM_RESOLVE_CODE): undefine.
231 Thu Jan 29 19:39:31 1998 Stan Shebs <shebs@andros.cygnus.com>
233 * coffread.c (coff_symtab_read) [SEM]: Remove code, macro can
235 * dbxread.c (process_one_symbol) [BLOCK_ADDRESS_ABSOLUTE]:
236 Remove, no longer needed.
237 * hppa-tdep.c (N_SET_MAGIC): Remove, no longer used.
238 * config/pa/xm-hppab.h (SEEK_SET, SEEK_CUR, SEEK_END): Ditto.
239 * config/mips/tm-mipsm3.h (NUMERIC_REG_NAMES): Ditto.
240 * config/mips/mipsm3.mt (TDEPFILES): Remove mipsread.o.
242 Wed Jan 28 14:46:52 1998 Stan Shebs <shebs@andros.cygnus.com>
244 Suggested by Chris Walter <walter@budoe.bu.edu>:
245 * dwarfread.c (set_cu_language): Recognize Fortran.
246 * dwarf2read.c (set_cu_language): Ditto.
247 (read_array_type): Fix language test.
249 Wed Jan 28 12:51:08 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
251 * blockframe.c (generic_frame_chain_valid): A frame pointer may
252 be valid if it is equal to the frame pointer of its caller (ie.
253 not necessarily strictly INNER_THAN). Allows frameless functions.
255 Wed Jan 28 11:23:25 1998 Mark Alexander <marka@cygnus.com>
257 * monitor.c (monitor_vsprintf): New function to handle
258 printing of large addresses using %A format specifier.
259 (monitor_printf_noecho, monitor_printf): Use monitor_vsprintf
261 * dve3900-rom.c (_initialize_r3900_rom): Use %A instead of %Lx
264 Tue Jan 27 16:14:23 1998 Jason Molenda (crash@bugshack.cygnus.com)
266 * configure.in (CONFIG_LDFLAGS): Only add -export-dynamic
269 Mon Jan 26 19:07:46 1998 Jason Molenda (crash@bugshack.cygnus.com)
271 * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset):
272 Add closing parenthesis. From HJ Lu.
274 Mon Jan 26 17:54:45 1998 Mark Alexander <marka@cygnus.com>
276 * dve3900-rom.c: Improve performance by using memory commands
277 that print less fluff. Minor cosmetic changes.
278 Eliminate compiler warnings.
280 Sat Jan 24 23:44:43 1998 Martin M. Hunt <hunt@cygnus.com>
282 * breakpoint.c (enable_breakpoint): Preserve breakpoint
283 disposition when enabling a breakpoint.
285 * symtab.c (find_pc_sect_line): If no symbol information
286 is found, return correct pc anyway.
288 Fri Jan 23 17:26:22 1998 Stan Shebs <shebs@andros.cygnus.com>
290 * configure.host (i[3456]86-*-osf1mk*, mips-*-mach3*,
291 ns32k-*-mach3*): Fix file names.
292 (i[3456]86-*-os9k, m88*-*-mach3*, w65-*-*): Remove config
293 recognition, no source files for these.
294 * configure.tgt (powerpc-*-aix4*): Remove config, now identical
296 * config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: Remove files,
299 Fri Jan 23 16:49:41 1998 Mark Alexander <marka@cygnus.com>
301 * monitor.c (monitor_write, monitor_readchar): New functions.
302 * monitor.h (monitor_write, monitor_readchar): Declare.
303 * dve3900-rom.c: Add support for fast loading on ethernet connections.
305 Fri Jan 23 07:47:06 1998 Fred Fish <fnf@cygnus.com>
307 * config/d10v/tm-d10v.h (CALL_DUMMY): Define as "{ 0 }".
308 (TARGET_READ_FP): Define to d10v_read_fp rather than d10v_read_sp.
309 (TARGET_WRITE_FP): Define to d10v_write_fp rather than d10v_write_sp.
310 (d10v_write_fp, d10v_read_fp): Add prototypes.
311 * symtab.c (decode_line_1): Remove assignment of sals[0].pc field.
312 * symfile.c (simple_overlay_update, simple_overlay_update_1):
313 Ignore the size of overlay sections. This check is redundant anyway.
314 * printcmd.c (print_frame_args): Ditto.
315 * valops.c (value_fetch_lazy): Ditto.
316 * values.c (unpack_long): Ditto.
317 * d10v-tdep.c (d10v_frame_chain, d10v_frame_find_saved_regs,
318 d10v_init_extra_frame_info): Fix some minor bugs so the finish command
320 (show_regs): Change num1 and num2 types from "long long" to "LONGEST".
321 (d10v_read_fp, d10v_write_fp): New functions.
322 (d10v_push_arguments): Remove unneeded assigns to "val" and "contents".
323 (d10v_push_arguments): Fix for pointers and structs.
324 (d10v_extract_return_value): Fix for pointers and chars.
326 Tue Jan 20 18:53:18 1998 Stan Shebs <shebs@andros.cygnus.com>
328 * configure.tgt (i386-*-mach*, m88*-*-mach3*): Remove config
329 recognition, no source files for these (note that the i386 Mach
330 config is for pre-Mach 3).
331 (mips*-*-mach3*, ns32k-*-mach3*): Fix file names.
332 * config/mips/mipsel64.mt: Remove, never referenced.
334 Mon Jan 19 14:01:28 1998 Stan Shebs <shebs@andros.cygnus.com>
336 * top.c (print_gdb_version): Restore to original message.
338 Mon Jan 19 13:34:40 1998 Ian Lance Taylor <ian@cygnus.com>
340 From cgf@bbc.com (Chris Faylor):
341 * win32-nat.c (child_mourn_inferior): Call ContinueDebugEvent to
343 (child_kill_inferior): Respond to all debug events as the child is
346 * Makefile.in (all): Change gdb dependency to gdb$(EXEEXT).
347 (uninstall): Add $(EXEEXT) to file name to remove.
348 (gdb$(EXEEXT)): Rename target from plain gdb.
349 (gdb1$(EXEEXT)): Rename target from plain gdb1.
350 (clean, mostlyclean): Add $(EXEEXT) to binary names to remove.
352 1998-01-16 Felix Lee <flee@cygnus.com>
354 * top.c (print_gdb_version): delete stutter.
356 Thu Jan 15 12:29:13 1998 Nick Clifton <nickc@cygnus.com>
358 * remote-rdi.c (arm_rdi_open): Patch from Tony.Thompson@arm.com
359 to prevent spurous error messages on non-ICE targets.
361 start-sanitize-vr4111
362 Thu Jan 15 09:28:52 1998 Gavin Koch <gavin@cygnus.com>
364 * configure.tgt: Create the vr4111 as a copy of the vr4100.
367 Wed Jan 14 19:27:02 1998 Stan Shebs <shebs@andros.cygnus.com>
369 * config/mips/{r3900.mt,r3900l.mt,tm-r3900.h,tm-r3900l.h}:
370 Remove, no longer used.
373 Wed Jan 14 18:11:26 1998 Michael Meissner <meissner@cygnus.com>
375 Patch from Jim Wilson.
376 * d30v-tdep.c (d30v_frame_find_saved_regs_offsets): Properly
377 declare void function before use.
379 * config/d30v/tm-d30v.h (CALL_DUMMY): Initialize as { 0 }, not {}.
382 Tue Jan 13 16:38:48 1998 Fred Fish <fnf@cygnus.com>
384 * configure.in (--with-mmalloc): Add new configure arg to use the
385 mmalloc package. Default is to not use it.
386 (START_INFERIOR_TRAPS_EXPECTED): Define to the integer 2, not
388 * acconfig.h (USE_MMALLOC, FORCE_MMCHECK): Add #undef.
389 * configure: Regenerated.
390 * config.in: Regenerated.
391 * Makefile.in (MMALLOC_DIR, MMALLOC_SRC): Remove.
392 (MMALLOC): Set using configure.
393 (MMALLOC_CFLAGS): Set using configure.
395 * config/i386/tm-linux.h (sys_quotactl): Define to 1 rather
396 than just defining it.
397 * mpw-make.sed: Undefine USE_MMALLOC rather than defining NO_MMALLOC.
398 * utils.c (NO_MMALLOC): Use USE_MMALLOC instead.
402 * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Remove.
403 * config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Remove.
404 * config/i386/cygwin32.mh (MMALLOC_CFLAGS): Remove.
405 * config/alpha/alpha-osf3.mh (MMALLOC_CFLAGS): Remove.
406 * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Remove.
407 * gdbserver/Makefile.in (MMALLOC_*): Remove.
408 * config/rs6000/rs6000.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
409 * config/rs6000/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
410 * config/powerpc/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
411 * config/powerpc/aix.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
412 * config/ns32k/ns32km3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
413 * config/mips/mipsm3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
414 * config/mips/decstation.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
415 * config/m88k/cxux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
416 * config/i386/xm-windows.h (NO_MMALLOC, NO_MMCHECK): Remove.
417 * config/i386/i386mk.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
418 * config/i386/i386m3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
419 * config/i386/i386gnu.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
420 * config/alpha/alpha-osf1.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
421 * config/alpha/alpha-linux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
423 Mon Jan 12 11:46:51 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
425 * config/m68k/tm-m68k.h (REGISTER_VIRTUAL_TYPE): make A0 thru A7
426 default to void pointer type (so that their default radix is hex).
428 * symtab.c: move rbreak_command from no_class to class_breakpoint
429 so it will be listed under "help breakpoints".
431 Sat Jan 10 14:58:04 1998 Stan Shebs <shebs@andros.cygnus.com>
433 * rdi-share/hostchan.c: Remove gettimeofday declaration.
435 Thu Jan 8 11:03:59 1998 Nick Clifton <nickc@cygnus.com>
437 * remote-rdp.c: Applied patches submitted by Tony.Thompson@arm.com
438 to implement the Angel remote debugging interface.
440 * Makefile.in: Add build rules for remote-rdi.c and
441 rdi-share/libangsd.a.
443 * configure.tgt: Updated from source on branch.
444 * config/arm/tm-arm.h: Updated from source on branch.
445 * arm-tdep.c: Updated from source on branch.
447 * rdi-share: New directory, RDI library contributed by ARM.
449 Mon Jan 5 20:21:59 1998 Mark Alexander <marka@cygnus.com>
451 * monitor.h (MO_PRINT_PROGRAM_OUTPUT): Define.
452 * monitor.c (monitor_wait): Echo program output.
453 * dve3900-rom.c (_initialize_r3900_rom): Remove MO_HANDLE_NL flag,
454 add MO_PRINT_PROGRAM_OUTPUT flag.
456 Mon Jan 5 18:21:11 1998 David Taylor <taylor@texas.cygnus.com>
458 * top.h (HAVE_SIGSETJMP): define SIGJMP_BUF, SIGSETJMP, and
459 SIGLONGJMP appropriately based on whether HAVE_SIGSETJMP is
461 * top.c (return_to_top_level, catch_errors): use the new macros
462 * main.c (SET_TOP_LEVEL): ditto.
463 * config/xm-sysv4.h (HAVE_SIGSETJMP): Define.
465 Fri Jan 2 18:48:58 1998 Mark Alexander <marka@cygnus.com>
467 * configure.in: Double up brackets in shell case pattern.
469 Fri Jan 2 17:06:05 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
471 * tracepoint.c (finish_tfind_command): improved algorithm for
472 deciding when we've "stepped" into a new stack frame.
473 (map_args_over_tracepoints): loop over tracepoint list "safely",
474 since list elements may be deleted during loop.
475 (read_actions): add actions to history list.
477 For older changes see ChangeLog-97
483 version-control: never