* rs6000-nat.c (vmap_ldinfo): Issue warning instead of error if
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 Sun Apr 26 07:57:21 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
2
3 * rs6000-nat.c (vmap_ldinfo): Issue warning instead of error if
4 fstat on ldinfo_fd fails. Use objfile->obfd instead of vp->bfd
5 to check for reference to the same file.
6
7 * target.c (target_read_string): Handle string transfers at the
8 end of a memory section gracefully.
9
10 Fri Apr 24 17:18:56 1998 Geoffrey Noer <noer@cygnus.com>
11
12 * Makefile.in: enable EXEEXT setting
13
14 start-sanitize-r5900
15 Fri Apr 24 11:25:07 1998 Jeffrey A Law (law@cygnus.com)
16
17 * mips-tdep.c (mips32_decode_reg_save): Handle 128bit wide
18 GPR loads/stores generated on the r5900.
19 (mips_find_saved_regs, mips32_skip_prologue): Likewise.
20 * mips/tm-r5900.h (R5900_128BIT_GPR_HACK): Define.
21 * mips/tm-txvu.h (R5900_128BIT_GPR_HACK): Likewise.
22
23 end-sanitize-r5900
24 Thu Apr 23 16:37:20 1998 Jason Molenda (crash@bugshack.cygnus.com)
25
26 * README: Minor changes for 4.17 release.
27
28 Thu Apr 23 15:44:39 1998 Per Bothner <bothner@cygnus.com>
29
30 * symfile.c (deduce_language_from_filename): .class implies java.
31
32 Thu Apr 23 12:52:21 1998 Philippe De Muyter <phdm@macqel.be>
33
34 * configure.in (strerror): Check if function must be declared.
35 * acconfig.h (NEED_DECLARATION_STRERROR): New define slot.
36 * gdb_string.h (strerror): Function declaration issued if
37 NEED_DECLARATION_STRERROR.
38 * configure, config.in : Files regenerated.
39
40 Thu Apr 23 12:27:43 1998 Philippe De Muyter <phdm@macqel.be>
41
42 * symfile.c (simple_overlay_update_1): Do not prefix array address
43 by `&'.
44 * bcache.h (BCACHE_DATA_ALIGNMENT): Ditto.
45 * tracepoint.c (encode_actions): Ditto.
46 * language.c, complaints.c, utils.c (varargs.h): Do not include that
47 file here, it is already included indirectly by defs.h.
48 * dbxread.c (dbx_symfile_init, process_one_symbol): Cast xmalloc return
49 value to the appropriate pointer type.
50 * utils.c (floatformat_from_doublest): Ditto.
51 * tracepoint.c (read_actions, _initialize_tracepoint): Ditto.
52 (add_memrange): Likewise with xrealloc return value.
53 * stabsread.c (ref_add): Ditto.
54 * coffread.c (coff_symfile_init): Likewise for xmmalloc return value.
55 * elfread.c (elf_symfile_read): Ditto.
56 * os9kread.c (os9k_symfile_init): Ditto.
57
58 Thu Apr 23 00:32:08 1998 Tom Tromey <tromey@cygnus.com>
59
60 * config.in: Rebuilt.
61 * acconfig.h (ENABLE_NLS, HAVE_CATGETS, HAVE_STPCPY, HAVE_GETTEXT,
62 HAVE_LC_MESSAGES): Define.
63
64 Wed Apr 22 21:17:35 1998 Christopher Faylor <cgf@cygnus.com>
65
66 * gdbtk.c (_initialize_gdbtk): add cygwin32 specific code to
67 allow `gdb -nw' to work when specified specified from a windows
68 console-mode command line.
69
70 Wed Apr 22 15:38:56 1998 Tom Tromey <tromey@cygnus.com>
71
72 * configure: Rebuilt.
73 * configure.in: Call CY_GNU_GETTEXT.
74 * Makefile.in (top_builddir): New macro.
75 (INTL): Define to @INTLLIBS@.
76 (INTL_DEPS): New macro.
77 (CDEPS): Reference INTL_DEPS, not INTL.
78
79 start-sanitize-sky
80 Wed Apr 22 13:40:16 1998 Doug Evans <devans@canuck.cygnus.com>
81
82 * txvu-tdep.c (txvu_print_insn): Fix thinko.
83
84 end-sanitize-sky
85 Wed Apr 22 12:58:23 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
86
87 Handle missing shared libraries during the examination of a core
88 dump gracefully.
89 * solib.c (find_solib): Use catch_errors around call to
90 solib_map_sections. Use warning instead of error if reading of
91 the shared library name fails.
92 (solib_map_sections): Change return and argument types to make
93 it callable from catch_errors.
94 (symbol_add_stub): Avoid GDB core dump if solib->abfd is NULL.
95 * irix5-nat.c, osfsolib.c (xfer_link_map_member, solib_map_sections,
96 symbol_add_stub): Ditto.
97
98 Wed Apr 22 14:34:49 1998 Michael Meissner <meissner@cygnus.com>
99
100 * Makefile.in (INTL*): Add support to link in the intl library,
101 and to add -I options to its source and object directories.
102 (INTERNAL_CFLAGS): Ditto.
103 (C{LIBS,DEPS}): Ditto.
104
105 start-sanitize-sky
106 Wed Tue 21 17:29:48 1998 Jim Lemke <jlemke@cygnus.com>
107 * configure.in: Add configure option --with-sim-funit.
108
109 end-sanitize-sky
110 Tue Apr 21 11:20:54 1998 Frank Ch. Eigler <fche@cygnus.com>
111
112 * mips-tdep.c (gdb_print_insn_mips): Disassemble MIPS instructions
113 with subtarget-specific `mach', rather than fixed default.
114 * config/mips/tm-mips.h (TM_PRINT_INSN_MACH): New macro, default
115 disassembly `mach'.
116 start-sanitize-r5900
117 * config/mips/tm-r5900.h (TM_PRINT_INSN_MACH): Override.
118 end-sanitize-r5900
119 start-sanitize-sky
120 * config/mips/tm-txvu.h (TM_PRINT_INSN_MACH): Override.
121 end-sanitize-sky
122
123 Mon Apr 20 15:35:03 1998 Philippe De Muyter <phdm@macqel.be>
124
125 * coffread.c (decode_base_type): Treat a long field with size greater
126 than TARGET_LONG_BIT as long long.
127 * values.c (value_from_longest): Print code value in error message.
128
129 Mon Apr 20 15:32:21 1998 Mark Kettenis <kettenis@phys.uva.nl>
130
131 * gdb/gdb_string.h (strdup): Declare only if not defined as a
132 macro.
133
134 Mon Apr 20 14:18:45 1998 J. Kean Johnston <jkj@sco.com>
135
136 * procfs.c: Added replacement macros for LWP stuff. Fixed support
137 for UnixWare / SVR4.2MP targets and any targets which use
138 multi-file /proc entries. Fixed support for hardware watchpoints.
139 * solib.c: SCO needs some of the same code as SunOS. Change
140 preprocessor conditionals.
141
142 * config/i386/i386sco5.mt: New file.
143 * config/i386/tm-i386sco5.h: New file.
144 * config/i386/i386sco5.mh (NATDEPFILES): add i386v-nat.o.
145 * config/i386/nm-i386v42mp.h
146 (TARGET_HAS_HARDWARE_WATCHPOINTS): define.
147 Add other macros for hardware assisted watchpoints.
148 * config/i386/nm-i386sco5.h: Correct attributions.
149 (TARGET_HAS_HARDWARE_WATCHPOINTS): define.
150 * config/i386/nm-linux.h (target_remote_watchpoint): Pass
151 'type' through to i386_insert_watchpoint.
152
153 Mon Apr 20 14:12:30 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
154
155 * infrun.c (wait_for_inferior): Don't add signalled processes
156 as new threads.
157 * procfs.c (wait_fd): Note if LWP has exited.
158 (procfs_wait): use GETPID to get process ID.
159
160 Sat Apr 18 15:21:04 1998 Stan Cox <scox@cygnus.com>
161
162 * configure.tgt: Added sparc86x support.
163
164 Thu Apr 16 13:13:24 1998 Jason Molenda (crash@bugshack.cygnus.com)
165
166 * rdi-share/etherdrv.c (EthernetWrite): Use strerror to get
167 error string if in an ANSI C-ish environment.
168
169 Wed Apr 15 18:59:48 1998 Mark Alexander <marka@cygnus.com>
170
171 * sparc-tdep.c (SPARC_HAS_FPU): Define.
172 (sparc_extract_return_value): New function, required to handle
173 machines without floating point.
174 (sparc_store_return_value): Ditto.
175 * config/sparc/tm-sparc.h (EXTRACT_RETURN_VALUE): Call
176 sparc_extract_return_value instead of using inline code.
177 (sparc_extract_return_value): Declare.
178 (STORE_RETURN_VALUE): Call sparc_store_return_value instead
179 of using inline code.
180 (sparc_store_return_value): Declare.
181
182 Wed Apr 15 12:19:42 1998 Martin M. Hunt <hunt@cygnus.com>
183
184 * solib.c (enable_break): Only call warning once
185 instead of three times.
186
187 Tue Apr 14 16:52:59 1998 Mark Alexander <marka@cygnus.com>
188
189 * sparc-tdep.c (sparc_extract_struct_value_address): Make it
190 work correctly on little-endian hosts.
191 (sparc_push_arguments): New function.
192 (gdb_print_insn_sparc): New function.
193 (_initialize_sparc_tdep): Make gdb_print_insn_sparc the default
194 disassembler, so that SPARClite-specific instructions will
195 be recognized.
196 * sparcl-tdep.c (readchar): Print debugging information.
197 (debug_serial_write): New function, a replacement for SERIAL_WRITE
198 that prints debugging information.
199 * config/sparc/tm-sparc.h (PUSH_ARGUMENTS): Define.
200 (sparc_push_arguments): Declare.
201
202 Tue Apr 14 15:43:49 1998 John Metzler <jmetzler@cygnus.com>
203
204 * gdbcfgxref (xref_menu): Call new regex and wild card searches
205 Now you can type in a specific triple like mips64-vr4320-elf or
206 somthing like mips*.h
207 (triple_search) wildcardsearch): The new functions
208
209 * configure.tgt: Switch over to use tm-4320.h. Since I switched to
210 MIPS EABI the fixes are no longer backward compatible with 4300.
211 * tm-vr4320.h: Added
212 * vr4320.mt: Added
213
214 Mon Apr 13 16:28:07 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
215
216 * utils.c: (warning) added call to warning_hook
217
218 * source.c: (find_source_lines) modified to call warning in case
219 of source vs. executable time stamp mismatch. Simplified object
220 file check. Initialized mtime to 0.
221
222 * defs.h: added warning_hook prototype
223
224 * top.c: added warning_hook prototype.
225
226 Mon Apr 13 09:54:08 1998 Keith Seitz <keiths@andros.cygnus.com>
227
228 * config/sparc/tm-sun4os4.h (IS_STATIC_TRANSFORM_NAME): Add missing
229 definition.
230
231 Fri Apr 10 22:36:28 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
232
233 Update support for x86 Solaris 2.
234 * config/i386/tm-i386sol2.h, nm-i386sol2.h: New configuration
235 files for x86 Solaris 2.
236 * config/i386/i386sol2.mt, i386sol2.mh: Use them.
237 * config/sparc/tm-sun4sol2.h (PROCFS_GET_CARRY): New macro, extract
238 carry flag from a given regset.
239 (IS_STATIC_TRANSFORM_NAME): New macro, check if a symbol name
240 is a SunPro transformed name.
241 * i386-tdep.c (sunpro_static_transform_name): New function to
242 extract the source name from a SunPro transformed name.
243 * inferior.h (procfs_first_available, procfs_get_pid_fd):
244 Add prototypes.
245 * infrun.c (wait_for_inferior): Handle breakpoint hit in
246 signal handler without intervening stop in sigtramp.
247 * procfs.c (procfs_lwp_creation_handler): Use PROCFS_GET_CARRY
248 instead of direct access to the status register.
249 (procfs_get_pid_fd): New function, returns procfs fd for a given pid.
250 * sol-thread.c (ps_lgetLDT): New function, returns LDT for a given
251 lwpid.
252 (sol_find_new_threads): Handle failed libthread_db initialization
253 gracefully.
254 * stabsread.c (define_symbol): Use IS_STATIC_TRANSFORM_NAME
255 to check for a SunPro transformed symbol name.
256
257 Fri Apr 10 10:35:35 1998 John Metzler <jmetzler@cygnus.com>
258
259 * utils.c (fmthex): A formatting function for hexdumps
260
261 * mips-tdep.c (unpack_mips16): Fixed instruction decoding, lots of
262 bit pattern interpretations. mips_fetch_instruction does not work
263 for 16 bit instructions. Some confusion remains about sign
264 extension in backward branches.
265 (mips32_relative_offset): Sign extension
266 (mips32_next_pc): Major debugging, bit pattern interpretation
267 (print_unpack): debugging printf
268 (fetch_mips_16): new funtion, key on PC low bit, not symbol table
269 (mips16_next_16): Initial major debugging of this function. Lots
270 of bit pattern mistakes.
271 (mips_next_pc): key on low bit of PC, not symbol table.
272 * symfile.c(generic_load) : Added a download verification which
273 reads back the loade code. Download chunk size is now a defined
274 macro. Fixed a bug in which downloading slips into loading one
275 byte at a time. Lower level functions in monitor.c can load long
276 sequences of bytes and make use of these fixups. Referencing
277 bfd-start_address directly was incorrectly getting zero for start.
278
279 Thu Apr 9 19:20:32 1998 Ian Lance Taylor <ian@cygnus.com>
280
281 * mips-tdep.c (do_fp_register_row): Use alloca rather than arrays
282 with dynamic size.
283
284 Wed Apr 8 19:21:42 1998 Jason Molenda (crash@bugshack.cygnus.com)
285
286 * top.c (print_gdb_version): Print 1998 now.
287
288 Wed Apr 8 16:57:22 1998 Philippe De Muyter <phdm@macqel.be>
289
290 * source.c: Remove obsolete decl of strstr().
291
292 Wed Apr 8 16:47:33 1998 Jason Molenda (crash@bugshack.cygnus.com)
293
294 * solib.c (solib_create_inferior_hook): Remove Ulrich Drepper's
295 patch of March 23 1998.
296 * breakpoint.c (breakpoint_re_set_one): Remove Ulrich Drepper's
297 patch of March 23 1998.
298
299 Sat Apr 4 10:05:00 1998 Dawn Perchik <dawn@cygnus.com>
300
301 * mdebugread.c (parse_partial_symbols): If this is an .mdebug
302 section in an ELF file, override a symbol's ECOFF section with its
303 ELF section. Also, fix stabs continuation where a stabs string
304 continues for more than one continuation.
305
306 Mon Apr 6 09:17:48 1998 Andrew Cagney <cagney@b1.cygnus.com>
307
308 * mips-tdep.c (mips_push_arguments): Specify dimention of valbuf
309 using MAX_REGISTER_RAW_SIZE.
310
311 Sat Apr 4 10:05:00 1998 Dawn Perchik <dawn@cygnus.com>
312
313 * infrun.c: Fix prototype of signals_info to match static funtion.
314
315 Thu Apr 2 12:47:41 1998 Frank Ch. Eigler <fche@cygnus.com>
316
317 * sol-thread.c (sol_thread_store_registers): Save & restore new
318 value of single updated register to prevent accidental clobbering.
319
320 Wed Apr 1 22:01:09 1998 Mark Alexander <marka@cygnus.com>
321
322 * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): Define.
323 * config/sparc/sparclite.mt: Link in the erc32 simulator.
324
325 Wed Apr 1 16:30:49 1998 Ian Dall <Ian.Dall@dsto.defence.gov.au>
326
327 * ns32k-tdep.c (flip_bytes, ns32k_localcount,
328 ns32k_get_enter_addr, sign_extend): Restore functions mysteriously
329 deleted.
330
331 * ns32knbsd-nat.c: New (?) file to support fetching and storing
332 registers on NetBSD hosts.
333
334 * nbsd.mh (NATDEPFILES): put ns32knbsd-nat.o instead of
335 ns32k-nat.o
336
337 * ns32km3-nat.c (reg_offset): Get order of floating point
338 registers correct. Add extra 32382 register offsets.
339 (REG_ADDRESS): define to point at correct part of thread
340 state. Use calls to "warning" instead of "message".
341
342 * tm-nbsd.h, tm-ns32km3.h (REGISTER_NAMES, NUM_REGS,
343 REGISTER_BYTES, REGISTER_BYTE): redefine allowing for 32382
344 fpu registers.
345
346 Wed Apr 1 13:43:07 1998 Philippe De Muyter <phdm@macqel.be>
347
348 * NEWS: m68k-motorola-sysv host support added.
349 * coffread.c (coff_start_symtab): Accept the filename as an argument,
350 set it here. Callers updated.
351
352 Wed Apr 1 23:13:23 1998 Andrew Cagney <cagney@b1.cygnus.com>
353
354 * config/mips/tm-mips.h (REGISTER_VIRTUAL_TYPE): Handle 32 bit SR,
355 FSR and FIR registers.
356 (REGISTER_VIRTUAL_SIZE): Compute using REGISTER_VIRTUAL_TYPE.
357 (REGISTER_RAW_SIZE): Define using REGISTER_VIRTUAL_SIZE.
358
359 * config/mips/tm-mips64.h: Ditto.
360
361 Tue Mar 31 21:30:39 1998 Nick Clifton <nickc@cygnus.com>
362
363 * arm-tdep.c (gdb_print_insn_arm): Attach a fake Thumb symbol
364 vector to the info structure when disassembling thumb
365 instructions.
366
367 * coffread.c (coff_symtab_read, read_one_sym,
368 process_coff_symbol): Support Thumb symbol types.
369
370 * dbxread.c (process_one_symbol): Call SMASH_TEXT_ADDRESS (if it
371 is defined) for function symbols.
372
373 Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
374
375 * d10v-tdep.c (d10v_extract_return_value): Wierd. GCC wants to
376 return odd sized register quantities with only half of the first
377 register used!
378
379 * config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Use stack when
380 size > 8.
381
382 Mon Mar 30 16:42:12 1998 Jason Molenda (crash@bugshack.cygnus.com)
383
384 * rdi-share/Makefile.am, rdi-share/aclocal.m4,
385 rdi-share/configure: New files.
386 * rdi-share/configure.in: Rewritten to be an autoconf input file.
387 * rdi-share/Makefile.in, rdi-share/configure: Generated by
388 automake/autoconf.
389 * rdi-share/dbg_hif.h, etherdrv.c, hostchan.c: Use autoconf tests
390 to check environment.
391
392 Sun Mar 29 15:17:16 1998 Keith Seitz <keiths@onions.cygnus.com>
393
394 * tracepoint.c (trace_start_command): Set trace_running_p.
395 (trace_stop_command): Clear trace_running_p.
396
397 Sat Mar 28 15:19:48 1998 Stan Shebs <shebs@andros.cygnus.com>
398
399 * NEWS: Update for 4.17 release.
400
401 Thu Mar 26 22:29:28 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
402
403 * tracepoint.c (trace_status_command): Recognize a boolean return
404 value from the stub to indicate whether trace experiment is
405 running. Export this value as a global state variable
406 (trace_running_p) for use by the GUI. (from Michael Snyder)
407 (trace_pass_command) added call to modify_tracepoint_hook.
408
409 * tracepoint.h export trace_running_p
410
411 start-sanitize-sky
412 Wed Mar 25 11:45:19 1998 Frank Ch. Eigler <fche@cygnus.com>
413
414 * configure.in (sim-gpu2): Added target type checking to make
415 --with-sim-gpu2 option only valid for sky target.
416 * configure: Regenerated.
417 end-sanitize-sky
418
419 Tue Mar 24 16:22:40 1998 Stu Grossman <grossman@bhuna.cygnus.co.uk>
420
421 * Makefile.in: Derive SHELL from configure.
422 * config/d10v/d10v.mt config/d30v/d30v.mt config/m32r/m32r.mt
423 config/mn10200/mn10200.mt config/mn10300/mn10300.mt : Remove -lm
424 from SIM. This prevents dependency checking of -lm (under NT
425 native builds). (It is automatically added by configure if it
426 exists.)
427 * doc/configure mswin/configure nlm/configure
428 testsuite/gdb.base/configure testsuite/gdb.c++/configure
429 testsuite/gdb.chill/configure testsuite/gdb.disasm/configure
430 testsuite/gdb.stabs/configure testsuite/gdb.threads/configure:
431 Regenerate with autoconf 2.12.1 to fix shell issues for NT native
432 builds.
433
434 Mon Mar 23 18:10:57 1998 Ulrich Drepper (drepper@cygnus.com)
435
436 * solib.c (solib_create_inferior_hook): Rewrite previous
437 change to check the type of file via BFD.
438
439 Mon Mar 23 13:52:28 1998 Ulrich Drepper (drepper@cygnus.com)
440
441 * breakpoint.c (breakpoint_re_set_one): Treat bp_shlib_events
442 like bp_breakpoints.
443 * solib.c (solib_create_inferior_hook): Relocate section addresses
444 if the alleged start address doesn't agree with the PC.
445
446 start-sanitize-sky
447 Mon Mar 23 13:07:22 1998 Frank Ch. Eigler <fche@cygnus.com>
448
449 * configure.in (sim-gpu2): Added --with-sim-gpu2 as configure
450 option, to allow gdb+sim linking with sky GPU2 library.
451 * configure: Regenerated.
452
453 end-sanitize-sky
454 Sat Mar 21 19:34:49 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
455
456 merged changes from Foundry (list follows by file/author):
457
458 - Tom Tromey <tromey@cygnus.com>
459 * Makefile.in (gdbres.o): New target.
460 (WINDRES): New define.
461 * configure: Rebuilt.
462 * configure.in (WINDRES): Define.
463 (CONFIG_OBS): Include gdbres.o on Windows.
464 * gdbtool.ico: New file.
465 * gdb.rc: New file.
466
467 * ser-unix.c
468 - Keith Seitz <keiths@onions.cygnus.com>
469 (wait_for): Don't reset the timeout_remaining for CYGWIN32,
470 since we now effectively poll the serial port.
471 Don't reset the current_timeout, either, since this member is used
472 by hardwire_readchar to track the timeout and call the ui_loop_hook.
473 (hardwire_readchar): Poll the serial port for Cygwin32. We timeout every
474 second, update the UI, and loop around doing this until we have hit the real
475 timeout or we get data or an error. This will allow the UI to stay active
476 while gdb is "blocked" talking to the target.
477 - Martin M. Hunt <hunt@cygnus.com>
478 (wait_for): Do reset current_timeout
479 because it is only used to keep track of what the
480 current timeout for the scb is.
481
482 * top.c
483 - Martin M. Hunt <hunt@cygnus.com>
484 (quit_confirm): Change exit message again
485 for GUI.
486 (pc_changed_hook): Add prototype.
487 - Tom Tromey <tromey@cygnus.com>
488 (quit_confirm): Added missing `else'.
489 (quit_confirm): Special-case message if init_ui_hook is
490 set.
491
492 * symtab.c
493 - Martin M. Hunt <hunt@cygnus.com>
494 (find_pc_sect_line): If no symbol information
495 is found, return correct pc anyway.
496 (find_methods): Comment out an apparently
497 bogus error message because it messes up Foundry.
498
499 * serial.c
500 - Martin M. Hunt <hunt@cygnus.com>
501 (_initialize_serial): Add a description of
502 "set remotelogbase".
503
504 * findvar.c
505 - Martin M. Hunt <hunt@cygnus.com>
506 (write_register_gen): Add call to
507 pc_changed_hook if the PC is being changed.
508
509 * defs.h
510 - Martin M. Hunt <hunt@cygnus.com>
511 (pc_changed_hook): Define.
512
513 * command.c
514 - Martin M. Hunt <hunt@cygnus.com>
515 (do_setshow_command): If no arguments are supplied,
516 don't dump core, instead print out an error message.
517
518 * breakpoint.c
519 - Martin M. Hunt <hunt@cygnus.com>
520 Make set_raw_breakpoint, set_breakpoint_count,
521 and breakpoint_count non-static so they are accessible from
522 gdbtk.c.
523 (enable_breakpoint): Enable breakpoint
524 with same disposition instead of changing all breakpoints
525 to donttouch.
526
527 * annotate.h
528 - Keith Seitz <keiths@onions.cygnus.com>
529 Add declarations for annotation hooks.
530
531 * annotate.c
532 - Keith Seitz <keiths@onions.cygnus.com>
533 Add hooks: annotate_starting_hook, annotate_stopped_hook,
534 annotate_signalled_hook, annotate_exited_hook.
535 (annotate_starting): If hook exists, call it instead.
536 (annotate_stopped): If hook exists, call it instead.
537 (annotate_exited): If hook exists, call it instead.
538 (annotate_signalled): If hook exists, call it instead.
539
540 Fri Mar 20 14:45:36 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
541
542 * gdbserver/Makefile.in: add dependency on XM_CLIBS.
543 * gdbserver/low-sim.c (registers) force into alignment.
544 (create_inferior): Fix typo on new_argv; add abfd arg to
545 sim_open, sim_create_inferior. Add reg_size arg to
546 sim_fetch_register, sim_store_register. Make simulator
547 take a single-step to get into a known running state.
548 * gdbserver/gdbreplay.c: include fcntl.h for def'n of F_SETFL.
549 * gdbserver/server.c: Add remote_debug variable to control
550 debug output.
551 * gdbserver/server.h: Add prototypes for enable/disable_async_io.
552 * gdbserver/remote-utils.c: add verbose debugging output controlled
553 by "remote_debug" variable. Add call to "disable_async_io()"
554 to avoid being killed by async SIGIO signals.
555 * config/m32r/m32r.mt: define GDBSERVER_(LIBS and DEPFILES),
556 so that gdbserver can be built with the m32r simulator.
557
558 Fri Mar 20 09:04:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
559
560 start-sanitize-r5900
561 * config/mips/tm-r5900.h (REGISTER_VIRTUAL_SIZE): Redefine as
562 expression from REGISTER_VIRTUAL_TYPE.
563 (REGISTER_RAW_SIZE): Ditto.
564 (REGISTER_VIRTUAL_TYPE): Redefine, use explicit size for 32 bit
565 registers.
566
567 end-sanitize-r5900
568 * gdbtypes.h (builtin_type_{,u}int{8,16,32,64}): New gdb builtin
569 types.
570 start-sanitize-r5900
571 (builtin_type_{,u}int128): Ditto.
572 end-sanitize-r5900
573
574 * gdbtypes.c (_initialize_gdbtypes): Initialize new types.
575
576 * mips-tdep.c (do_gp_register_row): Pad register value when GP
577 register is smaller than MIPS_REGSIZE.
578
579 * findvar.c (value_of_register): When raw and virtual register
580 values identical, check that sizes are consistent.
581
582 Thu Mar 19 11:32:15 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
583
584 * minsyms.c (compare_minimal_symbols): If addresses are identical,
585 then compare on names. Sorted list should have symbols with
586 identical addresses AND names adjacent, so dups can be discarded.
587
588 Wed Mar 18 12:50:17 1998 Jeff Law (law@cygnus.com)
589
590 * stabsread.c (define_symbol): Don't look for ',' as a LRS
591 indicator.
592
593 Wed Mar 18 10:34:51 1998 Nick Clifton <nickc@cygnus.com>
594
595 * rdi-share/etherdrv.c: Set sys_errlist[] as char * not const char *.
596
597 Fri Mar 13 15:43:53 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
598
599 * config/mips/xm-mips.h (CC_HAS_LONG_LONG): Undefine for Ultrix
600 when compiling with native cc, the compiler has broken long long
601 support.
602
603 Fri Mar 13 15:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
604
605 * config/m68k/xm-sun3os4.h: Remove malloc declarations, they
606 are handled via autoconf now.
607 * remote.c (remote_ops, extended_remote_ops): Replace static
608 forward declaration by moving the static definition to the top of
609 the file, for old K&R compilers.
610 * tracepoint.c (collect_symbol, trace_start_command):
611 Replace ANSI string concatenation with K&R compatible simple string.
612
613 1998-03-11 Fred Fish <fnf@ninemoons.com>
614
615 * source.c (select_source_symtab): Don't reach error if we have
616 a current_source_symtab from reading in partial symbol table.
617
618 start-sanitize-vr4320
619 Tue Mar 10 16:15:13 1998 Gavin Koch <gavin@cygnus.com>
620
621 * configure.tgt (mips64*vr4320*el-*-elf*) : Removed spurious case.
622
623 end-sanitize-vr4320
624 Fri Mar 6 13:10:27 1998 Fred Fish <fnf@cygnus.com>
625
626 * utils.c (quit): Call SERIAL_DRAIN_OUTPUT rather than
627 SERIAL_FLUSH_OUTPUT.
628 * serial.h (struct serial_ops): Add drain_output, pointer to
629 function that waits for output to drain.
630 (SERIAL_DRAIN_OUTPUT): Macro to wait for output to drain.
631 * ser-unix.c (hardwire_drain_output): New function and prototype.
632
633 * ser-unix.c (hardwire_ops): Add entry for drain_output function.
634 * ser-tcp.c (tcp_ops): Ditto.
635 * ser-ocd.c (ocd_ops): Ditto.
636 * ser-mac.c (mac_ops): Ditto.
637 * ser-go32.c (dos_ops): Ditto.
638 * ser-e7kpc.c (e7000pc_ops): Ditto.
639
640 Thu Mar 5 16:07:41 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
641
642 * sparcl-tdep.c: fix #endif comments
643
644 Thu Mar 5 15:10:35 1998 Jason Molenda (crash@bugshack.cygnus.com)
645
646 * Makefile.in (BISON): Configure substitutes in @YACC@, not @BISON@.
647
648 Thu Mar 5 14:42:41 1998 Keith Seitz <keiths@onions.cygnus.com>
649
650 * ocd.c (ocd_open): If we fail ocd_start_remote, make sure we
651 error () so that we abort out of bdm_ppc_open.
652
653 Wed Mar 4 16:53:52 1998 Martin M. Hunt <hunt@cygnus.com>
654
655 * serial.c (_initialize_serial): Add a description of
656 "set remotelogbase".
657
658 * command.c (do_setshow_command): If no arguments are supplied,
659 don't dump core, instead print out an error message.
660
661 Wed Mar 4 16:50:18 1998 Jason Molenda (crash@bugshack.cygnus.com)
662
663 * gdbtk.c (gdb_listfiles): Fix thinko in last change.
664
665 Wed Mar 4 15:34:49 1998 Jason Molenda (crash@bugshack.cygnus.com)
666
667 * gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically.
668
669 Wed Mar 4 01:39:08 1998 Ron Unrau <runrau@cygnus.com>
670
671 * elfread.c (elf_symtab_read): merge SYMBOL_IS_SPECIAL into
672 MAKE_MSYMBOL_SPECIAL
673 * config/mips/tm-mips.h: ditto
674
675 Tue Mar 3 17:19:08 1998 John Metzler <jmetzler@cygnus.com>
676
677 * config/mips/tm-vr4xxx.h: implements vr4111 as saparate from 4300
678 * config/mips/vr4xxx.tm: implements vr4111 as separate from 4300
679 * configure.tgt: Recognise mips64vr4111-*-elf as vr4xxx
680 * dwarfread.c (read_tag_pointer_type): Pointer sizes now come from
681 TARGET_PTR_BIT rather from sizeof(char *) on host.
682
683 Tue Mar 3 14:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
684
685 * alpha-nat.c (fetch_osf_core_registers): Renamed from
686 fetch_aout_core_registers.
687 (alpha_osf_core_fns): Renamed from alpha_aout_core_fns, change
688 flavour to bfd_target_unknown_flavour for OSF core files.
689
690 start-sanitize-vr4320
691 Tue Mar 3 11:12:39 1998 Gavin Koch <gavin@cygnus.com>
692
693 * configure.tgt (mips64*vr4320*el-*-elf*,mips64*vr4320*-*-elf*) :
694 Added.
695
696 end-sanitize-vr4320
697 Mon Mar 2 17:44:13 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
698
699 * breakpoint.c (_initialize_breakpoint): Make "en" an alias
700 for "enable" (so that it doesn't conflict with "end").
701
702 Mon Mar 2 17:04:25 1998 Jason Molenda (crash@bugshack.cygnus.com)
703
704 * Makefile (VERSION): Bump to 4.17.1.
705
706 Mon Mar 2 16:59:15 1998 Jason Molenda (crash@bugshack.cygnus.com)
707
708 * rdi-share/etherdrv.c (sys_errlist): Add correct decl for Linux.
709
710 Mon Mar 2 16:51:44 1998 Jason Molenda (crash@bugshack.cygnus.com)
711
712 * Makefile.in (YYFILES): Remove in maintainer-clean, not distclean.
713
714 Mon Mar 2 16:47:11 1998 Philippe De Muyter <phdm@macqel.be>
715
716 * Makefile.in (distclean): Add `rm $(YYFILES)'.
717
718 Mon Mar 2 16:45:48 1998 Philippe De Muyter <phdm@macqel.be>
719
720 * coffread.c (coff_read_enum_type): Set TYPE_FLAG_UNSIGNED if enum
721 is unsigned.
722
723 Sun Mar 2 15:16:13 1998 Richard Henderson <rth@cygnus.com>
724
725 * configure.host, configure.tgt: Add sparc-linux.
726 * sparc-nat.c: Include <asm/reg.h> not <machine/reg.h> for Linux.
727 * config/sparc/*linux*: New files.
728
729 Mon Mar 2 12:12:41 1998 Anthony Thompson (athompso@cambridge.arm.com)
730
731 * arm-tdep.c (gdb_print_insn_arm): Call print_insn_big_arm
732 if we're big endian; else call print_insn_little_arm.
733
734 Mon Feb 24 11:24:57 1998 Richard Henderson <rth@cygnus.com>
735
736 * Makefile.in (BISON): Don't even pretend to use yacc.
737 (c-exp.tab.o): Use bison -o to use a unique intermediate file.
738 (jv-exp.tab.o, f-exp.tab.o, m2-exp.tab.o): Likewise.
739
740 Tue Feb 24 03:32:59 1998 Andrew Cagney <cagney@b1.cygnus.com>
741
742 * remote-sim.c (gdbsim_fetch_register): Don't abort when the
743 register size is wrong.
744
745 start-sanitize-r5900
746 Tue Feb 24 02:53:41 1998 And<rew Cagney <cagney@b1.cygnus.com>
747
748 * config/mips/tm-r5900.h (REGISTER_VIRTUAL_SIZE,
749 REGISTE_RAW_SIZE): Re-define.
750
751 end-sanitize-r5900
752 Thu Feb 19 16:49:48 1998 John Metzler <jmetzler@cygnus.com>
753
754 * target.c (debug_to_fetch_registers,debug_to_store_registers,
755 debug-to_insert_breakpoint,debug_to_remove_breakpoint): tracing
756 64 bit targets crashed long long printfs.
757
758 Tue Feb 17 16:36:22 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
759
760 * symfile.c (read_target_int_array): rename read_target_long_array
761 and force the sizeof an ovly_table element to sizeof(long),
762 instead of sizeof(int).
763
764 Tue Feb 17 18:05:05 1998 Frank Ch. Eigler <fche@cygnus.com>
765
766 * remote-mips.c (mips_request): Use unsigned long during parsing
767 returned value from monitor, to prevent accidental sign extension.
768
769 Tue Feb 17 14:28:33 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
770
771 * acconfig.h: FORCE_MMCHECK changed to MMCHECK_FORCE.
772 * configure.in: Ditto.
773 * configure: Regenerated.
774
775 Tue Feb 17 14:07:34 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
776
777 * gdbtypes.c (check_typedef): Do not try to resolve the length of
778 a type which has TYPE_FLAG_TARGET_STUB set, if the target type has
779 set TYPE_FLAG_TARGET_STUB as well.
780
781 Tue Feb 17 14:32:18 1998 Andrew Cagney <cagney@b1.cygnus.com>
782
783 * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register):
784 Pass register size to sim_{fetch,store}_register. Check nr of
785 register bytes transfered is correct.
786
787 Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
788
789 * remote-d10v.c (remote_d10v_open): Call push_remote_target
790 instead of open_remote_target.
791
792 * remote.c (remote_xfer_memory): Use REMOTE_TRANSLATE_XFER_ADDRESS
793 to translate addr/size when defined.
794 (open_remote_target): Delete.
795
796 * target.h (open_remote_target): Delete.
797
798 * config/d10v/tm-d10v.h (REMOTE_TRANSLATE_XFER_ADDRESS): Define.
799
800 Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
801
802 * config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Define. True when
803 sizeof type > 1.
804
805 Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
806
807 * config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Define. True when
808 sizeof type > 1.
809
810 Sun Feb 15 16:10:50 1998 Ron Unrau <runrau@cygnus.com>
811
812 * parse.c (write_dollar_variable): call new function
813 target_map_name_to_register to allow targets to define their own
814 register name aliases.
815 * infcmd.c (registers_info): use target_map_name_to_register so that
816 "print $reg" and "info reg $reg" use the same register name aliases.
817
818 Fri Feb 13 16:40:30 1998 Stan Shebs <shebs@andros.cygnus.com>
819
820 * config/i386/i386mk.mt (OBJFORMATS): Delete, no longer used.
821 * config/i386/xm-i386mk.h: Fix an include.
822 * config/pyr/tm-pyr.h (PC_INNER_THAN): Remove, never used.
823
824 Thu Feb 12 16:12:07 1998 Frank Ch. Eigler <fche@cygnus.com>
825
826 * remote-mips.c (mips_enter_debug): Sleep before sending CR to
827 monitor.
828 (mips_exit_debug): Accept any whitespace / verbiage before monitor
829 prompt reappears.
830
831 Thu Feb 12 18:25:42 1998 Andrew Cagney <cagney@b1.cygnus.com>
832
833 * d10v-tdep.c (show_regs): Avoid use of %llx when printing 8 byte
834 accumulators.
835
836 Thu Feb 12 17:10:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
837
838 * valops.c (value_at): For d10v, make read pointers with
839 read_target_unsigned_integer, keep addresses unsigned.
840 (value_fetch_lazy): Ditto.
841
842 Thu Feb 12 12:14:02 1998 Andrew Cagney <cagney@b1.cygnus.com>
843
844 * remote-d10v.c: New file. Layer the d10v GDB->remote memory map
845 on top of the remote serial memory transfer functions.
846
847 * config/d10v/d10v.mt (TDEPFILES): Add remote-d10v.o
848
849 * Makefile.in (remote-d10v.o): Add dependencies.
850
851 * remote.c (remote_open_1): Add arg extended_p, engage extended
852 protocol when extended_p.
853 (remote_open, extended_remote_open): Pass !extended_p /
854 extended_p to remote_open_1.
855
856 * remote.c (open_remote_target), target.h: New function.
857
858 Wed Feb 11 08:41:15 1998 Andrew Cagney <cagney@b1.cygnus.com>
859
860 * config/i386/fbsd.mh (XDEPFILES): Add ser-tcp.o.
861
862 Tue Feb 10 17:50:37 1998 Keith Seitz <keiths@onions.cygnus.com>
863
864 * tracepoint.c (tracepoint_operation): Call the modify_tracepoint_hook
865 if it exists.
866 Remove static declaration of free_actions.
867
868 * tracepoint.h: Add declaration of free_actions.
869
870 Tue Feb 10 12:17:13 1998 Fred Fish <fnf@cygnus.com>
871
872 * symtab.c (decode_line_1): Revert change that mistakenly
873 removed assignment of sals[0].pc field.
874
875 Mon Feb 10 12:37:47 1998 Philippe De Muyter <phdm@macqel.be>
876
877 * m68k/tm-delta68.h (EXTRACT_RETURN_VALUE): Type argument for
878 `REGISTER_CONVERT_TO_VIRTUAL is `TYPE', not
879 `REGISTER_VIRTUAL_TYPE (FP0_REGNUM)';
880 (STORE_RETURN_VALUE): Ditto, and offset for `write_register_bytes'
881 is `REGISTER_BYTE (FP0_REGNUM)', not `FP0_REGNUM'.
882 (FRAME_NUM_ARGS): New macro.
883 * m68k/tm-news.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Ditto.
884 * delta68-nat.c (clear_insn_cache): New function, forgotten in previous
885 patch.
886
887 Mon Feb 9 11:10:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
888
889 * d10v-tdep.c: Replace references to IMEM_ADDR and DMEM_ADDR with
890 D10V_MAKE_[DI]ADDR and D10V_CONVERT_[ID]ADDR_TO_RAW macros.
891
892 * config/d10v/tm-d10v.h (IMEM_START): Move to 0x01......
893 (DMEM_START): Move to 0x00......
894 (STACK_START): Move to 0x00..7ffe.
895 (D10V_MAKE_IADDR, D10V_MAKE_DADDR): Translate unconditionally.
896
897 * d10v-tdep.c (d10v_xlate_addr): Delete function.
898
899 Mon Feb 9 15:10:21 1998 Fred Fish <fnf@cygnus.com>
900
901 * symtab.c (fixup_psymbol_section): Move forward declaration to
902 top of file with other such decls. Make it a static function.
903 * symtab.h: Minor formatting tweaks.
904
905 Mon Feb 9 13:14:12 1998 Stan Shebs <shebs@andros.cygnus.com>
906
907 * config/a29k-udi.mt, config/i960/vxworks960.mt (REMOTE_OBS):
908 Remove redefinition.
909 * config/i960/tm-i960.h (BREAKPOINT): Define.
910
911 Mon Feb 9 15:35:38 1998 Ian Lance Taylor <ian@cygnus.com>
912
913 * Makefile.in (init.c): Ignore errors when making init.c. Seems
914 necessary to work around bug in Solaris make.
915
916 Sun Feb 6 02:44:28 1997 Philippe De Muyter <phdm@macqel.be>
917
918 * m68k/tm-delta68.h (CPLUS_MARKER): Macro deleted.
919 (EXTRACT_STRUCT_VALUE_ADDRESS): Macro defined.
920 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Macros modified
921 because floating-point values return via %fp0.
922 (CLEAR_INSN_CACHE): New macro.
923 * m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL): Macro fixed
924 to use DOUBLEST.
925 (REGISTER_CONVERT_TO_RAW): Ditto.
926 * infptrace.c (child_xfer_memory): If CLEAR_INSN_CACHE is defined,
927 call it after having written in child process's memory.
928 * inflow.c (PROCESS_GROUP_TYPE): Macro defined if HAVE_TERMIO.
929 (gdb_has_a_terminal, terminal_ours_1): Functions fixed for HAVE_TERMIO.
930
931 Fri Feb 6 16:17:30 1998 Jeffrey A Law (law@cygnus.com)
932
933 * config/mips/tm-mips64.h (TARGET_LONG_BIT): Allow final target to
934 override.
935 (TARGET_LONG_LONG_BIT): Likewise.
936 (TARGET_PTR_BIT): Likewise.
937 start-sanitize-r5900
938 * config/mips/tm-r5900.h (TARGET_PTR_BIT): Define to 32 bits.
939 end-sanitize-r5900
940
941 start-sanitize-sky
942 Fri Feb 6 14:33:34 1998 Doug Evans <devans@canuck.cygnus.com>
943
944 * configure.tgt (mips64r5900*-sky-elf*): Replaces txvu-elf.
945 * config/mips/txvu.mt (SIM): txvu -> mips.
946
947 end-sanitize-sky
948 Fri Feb 6 17:42:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
949
950 * config/d10v/tm-d10v.h (D10V_CONVERT_IADDR_TO_RAW,
951 D10V_CONVERT_DADDR_TO_RAW): Define.
952
953 * d10v-tdep.c (d10v_push_arguments): Re-write. Pass arguments in
954 registers, regardless of their size, when they fit.
955
956 Thu Feb 5 13:16:36 1998 Andrew Cagney <cagney@b1.cygnus.com>
957
958 * d10v-tdep.c (d10v_extract_return_value): For function pointers
959 translate address to IMAP area.
960
961 * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Delete dummy from
962 struct.
963 (POP_FRAME): Point at generic_pop_current_frame.
964
965 * d10v-tdep.c (d10v_pop_frame): Delete code handling dummy frames,
966 handled earlier.
967 (d10v_push_return_address): New function.
968 (d10v_pop_dummy_frame): Delete.
969 (d10v_fix_call_dummy): Delete.
970 (d10v_call_dummy_address): Delete.
971
972 * d10v-tdep.c (d10v_init_extra_frame_info): Clear dummy and
973 frameless.
974
975 * d10v-tdep.c (d10v_push_arguments): Keep stack word aligned.
976
977 * config/d10v/tm-d10v.h (EXTRACT_STRUCT_VALUE_ADDRESS): Extract
978 address of structure from first ARG1_REGNUM.
979
980 * d10v-tdep.c (d10v_push_arguments): Force 4 byte args into
981 even-odd register pair. Store 1 and 2 byte args in registers.
982
983 * valops.c (value_fetch_lazy): Ensure that a D10V function pointer
984 is fetched in the correct byte order.
985 (value_at): Ditto. Also ensure data pointers are mapped to data
986 segment.
987
988 * config/d10v/tm-d10v.h (D10V_DADDR_P, D10V_IADDR_P):
989
990 * d10v-tdep.c: Replace 2 with REGISTER_RAW_SIZE.
991 (d10v_pop_frame): Replace R13 with LR_REGNUM.
992 (d10v_push_arguments): Replace R2 with ARG1_REGNUM.
993 (d10v_push_arguments): Replace 6 with ARGN_REGNUM.
994 (d10v_extract_return_value): Access return value with RET1_REGNUM.
995
996 * config/d10v/tm-d10v.h (ARG1_REGNUM, ARGN_REGNUM, RET1_REGNUM):
997 Define.
998 (STORE_RETURN_VALUE): Specify return register using RET1_REGNUM.
999 (STORE_STRUCT_RETURN): Specify ARG1_REGNUM as the struct ptr
1000 location.
1001
1002 Thu Feb 5 13:16:36 1998 Andrew Cagney <cagney@b1.cygnus.com>
1003
1004 * blockframe.c (generic_pop_dummy_frame): Flush the frame, no
1005 longer valid.
1006
1007 * blockframe.c (generic_pop_current_frame), frames.h: New
1008 function.
1009
1010 Thu Feb 5 17:18:16 1998 Andrew Cagney <cagney@b1.cygnus.com>
1011
1012 * remote-sim.c (gdbsim_create_inferior): clear_proceed_status
1013 before /re/starting the simulator.
1014
1015 Thu Feb 5 15:55:31 1998 C. M. Heard (heard@vvnet.com)
1016
1017 * top.c (do_nothing): Remove signal handler after signal is caught.
1018
1019 Thu Feb 5 11:57:06 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
1020
1021 * tracepoint.c (tracepoint_operation): call free_actions instead
1022 of free. (free_actions): eliminate some memory leaks for actions.
1023 (validate_actionline): pass string arg by reference, so we can
1024 change the pointer. Change all memrange collection arguments to
1025 canonical form (literal address and size), to enforce early
1026 evaluation. Accept UNOP_MEMVAL (assembly variables) for
1027 trace collection. (parse_and_eval_memrange): accept expressions
1028 for the address and size fields of a memrange (and evaluate
1029 them immediately). (several places): use -1 instead of zero
1030 to distinguish an absolute memrange from a register-relative one.
1031 (encode_actions): add handling for UNOP_MEMVAL (assembly variable).
1032
1033 Wed Feb 4 17:40:21 1998 Jason Molenda (crash@bugshack.cygnus.com)
1034
1035 * Makefile.in (SFILES): add tracepoint.c.
1036 (LINTFILES): add @CONFIG_SRCS@.
1037 (SOURCES): Ditto.
1038 * configure.in (CONFIG_SRCS): Mirror use of CONFIG_OBS.
1039 * configure: Regenerated.
1040
1041 Tue Feb 3 16:12:32 1998 Gordon W. Ross (gwr@mc.com)
1042
1043 * infptrace.c (child_resume): Don't try to step if
1044 NO_SINGLE_STEP is defined.
1045
1046 Mon Feb 2 19:06:13 1998 Jason Molenda (crash@bugshack.cygnus.com)
1047
1048 * Makefile.in (VERSION): Bump to 4.16.2.
1049
1050 Mon Feb 2 17:18:25 1998 Richard Henderson <rth@cygnus.com>
1051
1052 * alpha-nat.c (fetch_aout_core_registers): Rename from
1053 fetch_core_registers.
1054 (fetch_elf_core_registers): New function.
1055 (supply_gregset): Use ALPHA_REGSET_BASE.
1056 (supply_fpregset): Likewise.
1057 (fill_fpregset): Likewise.
1058 (alpha_aout_core_fns): Rename from alpha_core_fns.
1059 (alpha_elf_core_fns): New.
1060 * config/alpha/alpha-linux.mh (NATDEPFILES): solib.o not osfsolib.o.
1061 Disable MMALLOC.
1062 * config/alpha/nm-linux.h (SVR4_SHARED_LIBS): Define if ELF.
1063 (TARGET_ELF64): Likewise.
1064 (ALPHA_REGSET_BASE): New.
1065 * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): New.
1066 * config/alpha/tm-alphalinux.h: Include tm-sysv4.h.
1067
1068 * solib.c (elf_locate_base): Add TARGET_ELF64 support.
1069 (info_sharedlibary_command): Likewise.
1070
1071 * configure.host: Match alpha*.
1072 * configure.tgt: Likewise.
1073
1074 Fri Jan 30 15:11:38 1998 David Taylor <taylor@texas.cygnus.com>
1075
1076 Changes by <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
1077 * infrun.c (IN_SOLIB_DYNSYM_RESOLVE_CODE): new macro for detecting
1078 whether we are in the dynamic symbol resolution code
1079 (wait_for_inferior): invoke it.
1080 * solib.c (in_svr4_dynsym_resolve_code): new function
1081 (enable_break): record start and end of the dynamic linker
1082 text and plt sections for use in in_svr4_dynsym_resolve_code.
1083 * solib.h (IN_SOLIB_DYNSYM_RESOLVE_CODE): add svr4 definition;
1084 (in_svr4_dynsym_resolve_code): declare it.
1085 * config/nm-gnu.h (solib.h): move inclusion to after definition
1086 of SVR4_SHARED_LIBS.
1087 * config/nm-sysv4.h (solib.h): ditto.
1088 * config/i386/nm-i386sco5.h (solib.h): ditto.
1089 * config/i386/nm-linux.h (solib.h): ditto.
1090 * config/mips/nm-irix5.h (IN_SOLIB_DYNSYM_RESOLVE_CODE): undefine.
1091
1092 Thu Jan 29 19:39:31 1998 Stan Shebs <shebs@andros.cygnus.com>
1093
1094 * coffread.c (coff_symtab_read) [SEM]: Remove code, macro can
1095 never be defined.
1096 * dbxread.c (process_one_symbol) [BLOCK_ADDRESS_ABSOLUTE]:
1097 Remove, no longer needed.
1098 * hppa-tdep.c (N_SET_MAGIC): Remove, no longer used.
1099 * config/pa/xm-hppab.h (SEEK_SET, SEEK_CUR, SEEK_END): Ditto.
1100 * config/mips/tm-mipsm3.h (NUMERIC_REG_NAMES): Ditto.
1101 * config/mips/mipsm3.mt (TDEPFILES): Remove mipsread.o.
1102
1103 Wed Jan 28 14:46:52 1998 Stan Shebs <shebs@andros.cygnus.com>
1104
1105 Suggested by Chris Walter <walter@budoe.bu.edu>:
1106 * dwarfread.c (set_cu_language): Recognize Fortran.
1107 * dwarf2read.c (set_cu_language): Ditto.
1108 (read_array_type): Fix language test.
1109
1110 Wed Jan 28 12:51:08 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
1111
1112 * blockframe.c (generic_frame_chain_valid): A frame pointer may
1113 be valid if it is equal to the frame pointer of its caller (ie.
1114 not necessarily strictly INNER_THAN). Allows frameless functions.
1115
1116 Wed Jan 28 11:23:25 1998 Mark Alexander <marka@cygnus.com>
1117
1118 * monitor.c (monitor_vsprintf): New function to handle
1119 printing of large addresses using %A format specifier.
1120 (monitor_printf_noecho, monitor_printf): Use monitor_vsprintf
1121 instead of vsprintf.
1122 * dve3900-rom.c (_initialize_r3900_rom): Use %A instead of %Lx
1123 to print addresses.
1124
1125 Tue Jan 27 16:14:23 1998 Jason Molenda (crash@bugshack.cygnus.com)
1126
1127 * configure.in (CONFIG_LDFLAGS): Only add -export-dynamic
1128 when using GNU ld.
1129
1130 Mon Jan 26 19:07:46 1998 Jason Molenda (crash@bugshack.cygnus.com)
1131
1132 * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset):
1133 Add closing parenthesis. From HJ Lu.
1134
1135 Mon Jan 26 17:54:45 1998 Mark Alexander <marka@cygnus.com>
1136
1137 * dve3900-rom.c: Improve performance by using memory commands
1138 that print less fluff. Minor cosmetic changes.
1139 Eliminate compiler warnings.
1140
1141 Sat Jan 24 23:44:43 1998 Martin M. Hunt <hunt@cygnus.com>
1142
1143 * breakpoint.c (enable_breakpoint): Preserve breakpoint
1144 disposition when enabling a breakpoint.
1145
1146 * symtab.c (find_pc_sect_line): If no symbol information
1147 is found, return correct pc anyway.
1148
1149 Fri Jan 23 17:26:22 1998 Stan Shebs <shebs@andros.cygnus.com>
1150
1151 * configure.host (i[3456]86-*-osf1mk*, mips-*-mach3*,
1152 ns32k-*-mach3*): Fix file names.
1153 (i[3456]86-*-os9k, m88*-*-mach3*, w65-*-*): Remove config
1154 recognition, no source files for these.
1155 * configure.tgt (powerpc-*-aix4*): Remove config, now identical
1156 to powerpc-*-aix*.
1157 * config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: Remove files,
1158 no longer needed.
1159
1160 Fri Jan 23 16:49:41 1998 Mark Alexander <marka@cygnus.com>
1161
1162 * monitor.c (monitor_write, monitor_readchar): New functions.
1163 * monitor.h (monitor_write, monitor_readchar): Declare.
1164 * dve3900-rom.c: Add support for fast loading on ethernet connections.
1165
1166 Fri Jan 23 07:47:06 1998 Fred Fish <fnf@cygnus.com>
1167
1168 * config/d10v/tm-d10v.h (CALL_DUMMY): Define as "{ 0 }".
1169 (TARGET_READ_FP): Define to d10v_read_fp rather than d10v_read_sp.
1170 (TARGET_WRITE_FP): Define to d10v_write_fp rather than d10v_write_sp.
1171 (d10v_write_fp, d10v_read_fp): Add prototypes.
1172 * symtab.c (decode_line_1): Remove assignment of sals[0].pc field.
1173 * symfile.c (simple_overlay_update, simple_overlay_update_1):
1174 Ignore the size of overlay sections. This check is redundant anyway.
1175 * printcmd.c (print_frame_args): Ditto.
1176 * valops.c (value_fetch_lazy): Ditto.
1177 * values.c (unpack_long): Ditto.
1178 * d10v-tdep.c (d10v_frame_chain, d10v_frame_find_saved_regs,
1179 d10v_init_extra_frame_info): Fix some minor bugs so the finish command
1180 works properly.
1181 (show_regs): Change num1 and num2 types from "long long" to "LONGEST".
1182 (d10v_read_fp, d10v_write_fp): New functions.
1183 (d10v_push_arguments): Remove unneeded assigns to "val" and "contents".
1184 (d10v_push_arguments): Fix for pointers and structs.
1185 (d10v_extract_return_value): Fix for pointers and chars.
1186
1187 Tue Jan 20 18:53:18 1998 Stan Shebs <shebs@andros.cygnus.com>
1188
1189 * configure.tgt (i386-*-mach*, m88*-*-mach3*): Remove config
1190 recognition, no source files for these (note that the i386 Mach
1191 config is for pre-Mach 3).
1192 (mips*-*-mach3*, ns32k-*-mach3*): Fix file names.
1193 * config/mips/mipsel64.mt: Remove, never referenced.
1194
1195 Mon Jan 19 14:01:28 1998 Stan Shebs <shebs@andros.cygnus.com>
1196
1197 * top.c (print_gdb_version): Restore to original message.
1198
1199 Mon Jan 19 13:34:40 1998 Ian Lance Taylor <ian@cygnus.com>
1200
1201 From cgf@bbc.com (Chris Faylor):
1202 * win32-nat.c (child_mourn_inferior): Call ContinueDebugEvent to
1203 let the child exit.
1204 (child_kill_inferior): Respond to all debug events as the child is
1205 terminating.
1206
1207 * Makefile.in (all): Change gdb dependency to gdb$(EXEEXT).
1208 (uninstall): Add $(EXEEXT) to file name to remove.
1209 (gdb$(EXEEXT)): Rename target from plain gdb.
1210 (gdb1$(EXEEXT)): Rename target from plain gdb1.
1211 (clean, mostlyclean): Add $(EXEEXT) to binary names to remove.
1212
1213 1998-01-16 Felix Lee <flee@cygnus.com>
1214
1215 * top.c (print_gdb_version): delete stutter.
1216
1217 Thu Jan 15 12:29:13 1998 Nick Clifton <nickc@cygnus.com>
1218
1219 * remote-rdi.c (arm_rdi_open): Patch from Tony.Thompson@arm.com
1220 to prevent spurous error messages on non-ICE targets.
1221
1222 Wed Jan 14 19:27:02 1998 Stan Shebs <shebs@andros.cygnus.com>
1223
1224 * config/mips/{r3900.mt,r3900l.mt,tm-r3900.h,tm-r3900l.h}:
1225 Remove, no longer used.
1226
1227 start-sanitize-d30v
1228 Wed Jan 14 18:11:26 1998 Michael Meissner <meissner@cygnus.com>
1229
1230 Patch from Jim Wilson.
1231 * d30v-tdep.c (d30v_frame_find_saved_regs_offsets): Properly
1232 declare void function before use.
1233
1234 * config/d30v/tm-d30v.h (CALL_DUMMY): Initialize as { 0 }, not {}.
1235
1236 end-sanitize-d30v
1237 Tue Jan 13 16:38:48 1998 Fred Fish <fnf@cygnus.com>
1238
1239 * configure.in (--with-mmalloc): Add new configure arg to use the
1240 mmalloc package. Default is to not use it.
1241 (START_INFERIOR_TRAPS_EXPECTED): Define to the integer 2, not
1242 the string "2".
1243 * acconfig.h (USE_MMALLOC, FORCE_MMCHECK): Add #undef.
1244 * configure: Regenerated.
1245 * config.in: Regenerated.
1246 * Makefile.in (MMALLOC_DIR, MMALLOC_SRC): Remove.
1247 (MMALLOC): Set using configure.
1248 (MMALLOC_CFLAGS): Set using configure.
1249
1250 * config/i386/tm-linux.h (sys_quotactl): Define to 1 rather
1251 than just defining it.
1252 * mpw-make.sed: Undefine USE_MMALLOC rather than defining NO_MMALLOC.
1253 * utils.c (NO_MMALLOC): Use USE_MMALLOC instead.
1254 * objfiles.c: ditto.
1255 * defs.h: ditto.
1256
1257 * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Remove.
1258 * config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Remove.
1259 * config/i386/cygwin32.mh (MMALLOC_CFLAGS): Remove.
1260 * config/alpha/alpha-osf3.mh (MMALLOC_CFLAGS): Remove.
1261 * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Remove.
1262 * gdbserver/Makefile.in (MMALLOC_*): Remove.
1263 * config/rs6000/rs6000.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1264 * config/rs6000/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1265 * config/powerpc/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1266 * config/powerpc/aix.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1267 * config/ns32k/ns32km3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1268 * config/mips/mipsm3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1269 * config/mips/decstation.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1270 * config/m88k/cxux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1271 * config/i386/xm-windows.h (NO_MMALLOC, NO_MMCHECK): Remove.
1272 * config/i386/i386mk.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1273 * config/i386/i386m3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1274 * config/i386/i386gnu.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1275 * config/alpha/alpha-osf1.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1276 * config/alpha/alpha-linux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
1277
1278 Mon Jan 12 11:46:51 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
1279
1280 * config/m68k/tm-m68k.h (REGISTER_VIRTUAL_TYPE): make A0 thru A7
1281 default to void pointer type (so that their default radix is hex).
1282
1283 * symtab.c: move rbreak_command from no_class to class_breakpoint
1284 so it will be listed under "help breakpoints".
1285
1286 Sat Jan 10 14:58:04 1998 Stan Shebs <shebs@andros.cygnus.com>
1287
1288 * rdi-share/hostchan.c: Remove gettimeofday declaration.
1289
1290 Thu Jan 8 11:03:59 1998 Nick Clifton <nickc@cygnus.com>
1291
1292 * remote-rdp.c: Applied patches submitted by Tony.Thompson@arm.com
1293 to implement the Angel remote debugging interface.
1294
1295 * Makefile.in: Add build rules for remote-rdi.c and
1296 rdi-share/libangsd.a.
1297
1298 * configure.tgt: Updated from source on branch.
1299 * config/arm/tm-arm.h: Updated from source on branch.
1300 * arm-tdep.c: Updated from source on branch.
1301
1302 * rdi-share: New directory, RDI library contributed by ARM.
1303
1304 Mon Jan 5 20:21:59 1998 Mark Alexander <marka@cygnus.com>
1305
1306 * monitor.h (MO_PRINT_PROGRAM_OUTPUT): Define.
1307 * monitor.c (monitor_wait): Echo program output.
1308 * dve3900-rom.c (_initialize_r3900_rom): Remove MO_HANDLE_NL flag,
1309 add MO_PRINT_PROGRAM_OUTPUT flag.
1310
1311 Mon Jan 5 18:21:11 1998 David Taylor <taylor@texas.cygnus.com>
1312
1313 * top.h (HAVE_SIGSETJMP): define SIGJMP_BUF, SIGSETJMP, and
1314 SIGLONGJMP appropriately based on whether HAVE_SIGSETJMP is
1315 defined.
1316 * top.c (return_to_top_level, catch_errors): use the new macros
1317 * main.c (SET_TOP_LEVEL): ditto.
1318 * config/xm-sysv4.h (HAVE_SIGSETJMP): Define.
1319
1320 Fri Jan 2 18:48:58 1998 Mark Alexander <marka@cygnus.com>
1321
1322 * configure.in: Double up brackets in shell case pattern.
1323
1324 Fri Jan 2 17:06:05 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
1325
1326 * tracepoint.c (finish_tfind_command): improved algorithm for
1327 deciding when we've "stepped" into a new stack frame.
1328 (map_args_over_tracepoints): loop over tracepoint list "safely",
1329 since list elements may be deleted during loop.
1330 (read_actions): add actions to history list.
1331
1332 For older changes see ChangeLog-97
1333 \f
1334 Local Variables:
1335 mode: indented-text
1336 left-margin: 8
1337 fill-column: 74
1338 version-control: never
1339 End:
This page took 0.05498 seconds and 5 git commands to generate.