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