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