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