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