Mon Mar 23 18:10:57 1998 Ulrich Drepper (drepper@cygnus.com)
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 Mon Mar 23 18:10:57 1998 Ulrich Drepper (drepper@cygnus.com)
2
3 * solib.c (solib_create_inferior_hook): Rewrite previous
4 change to check the type of file via BFD.
5
6 Mon Mar 23 13:52:28 1998 Ulrich Drepper (drepper@cygnus.com)
7
8 * breakpoint.c (breakpoint_re_set_one): Treat bp_shlib_events
9 like bp_breakpoints.
10 * solib.c (solib_create_inferior_hook): Relocate section addresses
11 if the alleged start address doesn't agree with the PC.
12
13 start-sanitize-sky
14 Mon Mar 23 13:07:22 1998 Frank Ch. Eigler <fche@cygnus.com>
15
16 * configure.in (sim-gpu2): Added --with-sim-gpu2 as configure
17 option, to allow gdb+sim linking with sky GPU2 library.
18 * configure: Regenerated.
19
20 end-sanitize-sky
21 Sat Mar 21 19:34:49 1998 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
22
23 merged changes from Foundry (list follows by file/author):
24
25 - Tom Tromey <tromey@cygnus.com>
26 * Makefile.in (gdbres.o): New target.
27 (WINDRES): New define.
28 * configure: Rebuilt.
29 * configure.in (WINDRES): Define.
30 (CONFIG_OBS): Include gdbres.o on Windows.
31 * gdbtool.ico: New file.
32 * gdb.rc: New file.
33
34 * ser-unix.c
35 - Keith Seitz <keiths@onions.cygnus.com>
36 (wait_for): Don't reset the timeout_remaining for CYGWIN32,
37 since we now effectively poll the serial port.
38 Don't reset the current_timeout, either, since this member is used
39 by hardwire_readchar to track the timeout and call the ui_loop_hook.
40 (hardwire_readchar): Poll the serial port for Cygwin32. We timeout every
41 second, update the UI, and loop around doing this until we have hit the real
42 timeout or we get data or an error. This will allow the UI to stay active
43 while gdb is "blocked" talking to the target.
44 - Martin M. Hunt <hunt@cygnus.com>
45 (wait_for): Do reset current_timeout
46 because it is only used to keep track of what the
47 current timeout for the scb is.
48
49 * top.c
50 - Martin M. Hunt <hunt@cygnus.com>
51 (quit_confirm): Change exit message again
52 for GUI.
53 (pc_changed_hook): Add prototype.
54 - Tom Tromey <tromey@cygnus.com>
55 (quit_confirm): Added missing `else'.
56 (quit_confirm): Special-case message if init_ui_hook is
57 set.
58
59 * symtab.c
60 - Martin M. Hunt <hunt@cygnus.com>
61 (find_pc_sect_line): If no symbol information
62 is found, return correct pc anyway.
63 (find_methods): Comment out an apparently
64 bogus error message because it messes up Foundry.
65
66 * serial.c
67 - Martin M. Hunt <hunt@cygnus.com>
68 (_initialize_serial): Add a description of
69 "set remotelogbase".
70
71 * findvar.c
72 - Martin M. Hunt <hunt@cygnus.com>
73 (write_register_gen): Add call to
74 pc_changed_hook if the PC is being changed.
75
76 * defs.h
77 - Martin M. Hunt <hunt@cygnus.com>
78 (pc_changed_hook): Define.
79
80 * command.c
81 - Martin M. Hunt <hunt@cygnus.com>
82 (do_setshow_command): If no arguments are supplied,
83 don't dump core, instead print out an error message.
84
85 * breakpoint.c
86 - Martin M. Hunt <hunt@cygnus.com>
87 Make set_raw_breakpoint, set_breakpoint_count,
88 and breakpoint_count non-static so they are accessible from
89 gdbtk.c.
90 (enable_breakpoint): Enable breakpoint
91 with same disposition instead of changing all breakpoints
92 to donttouch.
93
94 * annotate.h
95 - Keith Seitz <keiths@onions.cygnus.com>
96 Add declarations for annotation hooks.
97
98 * annotate.c
99 - Keith Seitz <keiths@onions.cygnus.com>
100 Add hooks: annotate_starting_hook, annotate_stopped_hook,
101 annotate_signalled_hook, annotate_exited_hook.
102 (annotate_starting): If hook exists, call it instead.
103 (annotate_stopped): If hook exists, call it instead.
104 (annotate_exited): If hook exists, call it instead.
105 (annotate_signalled): If hook exists, call it instead.
106
107 Fri Mar 20 14:45:36 1998 Michael Snyder <msnyder@cleaver.cygnus.com>
108
109 * gdbserver/Makefile.in: add dependency on XM_CLIBS.
110 * gdbserver/low-sim.c (registers) force into alignment.
111 (create_inferior): Fix typo on new_argv; add abfd arg to
112 sim_open, sim_create_inferior. Add reg_size arg to
113 sim_fetch_register, sim_store_register. Make simulator
114 take a single-step to get into a known running state.
115 * gdbserver/gdbreplay.c: include fcntl.h for def'n of F_SETFL.
116 * gdbserver/server.c: Add remote_debug variable to control
117 debug output.
118 * gdbserver/server.h: Add prototypes for enable/disable_async_io.
119 * gdbserver/remote-utils.c: add verbose debugging output controlled
120 by "remote_debug" variable. Add call to "disable_async_io()"
121 to avoid being killed by async SIGIO signals.
122 * config/m32r/m32r.mt: define GDBSERVER_(LIBS and DEPFILES),
123 so that gdbserver can be built with the m32r simulator.
124
125 Fri Mar 20 09:04:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
126
127 start-sanitize-r5900
128 * config/mips/tm-r5900.h (REGISTER_VIRTUAL_SIZE): Redefine as
129 expression from REGISTER_VIRTUAL_TYPE.
130 (REGISTER_RAW_SIZE): Ditto.
131 (REGISTER_VIRTUAL_TYPE): Redefine, use explicit size for 32 bit
132 registers.
133
134 end-sanitize-r5900
135 * gdbtypes.h (builtin_type_{,u}int{8,16,32,64}): New gdb builtin
136 types.
137 start-sanitize-r5900
138 (builtin_type_{,u}int128): Ditto.
139 end-sanitize-r5900
140
141 * gdbtypes.c (_initialize_gdbtypes): Initialize new types.
142
143 * mips-tdep.c (do_gp_register_row): Pad register value when GP
144 register is smaller than MIPS_REGSIZE.
145
146 * findvar.c (value_of_register): When raw and virtual register
147 values identical, check that sizes are consistent.
148
149 Thu Mar 19 11:32:15 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
150
151 * minsyms.c (compare_minimal_symbols): If addresses are identical,
152 then compare on names. Sorted list should have symbols with
153 identical addresses AND names adjacent, so dups can be discarded.
154
155 Wed Mar 18 12:50:17 1998 Jeff Law (law@cygnus.com)
156
157 * stabsread.c (define_symbol): Don't look for ',' as a LRS
158 indicator.
159
160 Wed Mar 18 10:34:51 1998 Nick Clifton <nickc@cygnus.com>
161
162 * rdi-share/etherdrv.c: Set sys_errlist[] as char * not const char *.
163
164 Fri Mar 13 15:43:53 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
165
166 * config/mips/xm-mips.h (CC_HAS_LONG_LONG): Undefine for Ultrix
167 when compiling with native cc, the compiler has broken long long
168 support.
169
170 Fri Mar 13 15:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
171
172 * config/m68k/xm-sun3os4.h: Remove malloc declarations, they
173 are handled via autoconf now.
174 * remote.c (remote_ops, extended_remote_ops): Replace static
175 forward declaration by moving the static definition to the top of
176 the file, for old K&R compilers.
177 * tracepoint.c (collect_symbol, trace_start_command):
178 Replace ANSI string concatenation with K&R compatible simple string.
179
180 1998-03-11 Fred Fish <fnf@ninemoons.com>
181
182 * source.c (select_source_symtab): Don't reach error if we have
183 a current_source_symtab from reading in partial symbol table.
184
185 start-sanitize-vr4320
186 Tue Mar 10 16:15:13 1998 Gavin Koch <gavin@cygnus.com>
187
188 * configure.tgt (mips64*vr4320*el-*-elf*) : Removed spurious case.
189
190 end-sanitize-vr4320
191 Fri Mar 6 13:10:27 1998 Fred Fish <fnf@cygnus.com>
192
193 * utils.c (quit): Call SERIAL_DRAIN_OUTPUT rather than
194 SERIAL_FLUSH_OUTPUT.
195 * serial.h (struct serial_ops): Add drain_output, pointer to
196 function that waits for output to drain.
197 (SERIAL_DRAIN_OUTPUT): Macro to wait for output to drain.
198 * ser-unix.c (hardwire_drain_output): New function and prototype.
199
200 * ser-unix.c (hardwire_ops): Add entry for drain_output function.
201 * ser-tcp.c (tcp_ops): Ditto.
202 * ser-ocd.c (ocd_ops): Ditto.
203 * ser-mac.c (mac_ops): Ditto.
204 * ser-go32.c (dos_ops): Ditto.
205 * ser-e7kpc.c (e7000pc_ops): Ditto.
206
207 Thu Mar 5 16:07:41 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
208
209 * sparcl-tdep.c: fix #endif comments
210
211 Thu Mar 5 15:10:35 1998 Jason Molenda (crash@bugshack.cygnus.com)
212
213 * Makefile.in (BISON): Configure substitutes in @YACC@, not @BISON@.
214
215 Thu Mar 5 14:42:41 1998 Keith Seitz <keiths@onions.cygnus.com>
216
217 * ocd.c (ocd_open): If we fail ocd_start_remote, make sure we
218 error () so that we abort out of bdm_ppc_open.
219
220 Wed Mar 4 16:53:52 1998 Martin M. Hunt <hunt@cygnus.com>
221
222 * serial.c (_initialize_serial): Add a description of
223 "set remotelogbase".
224
225 * command.c (do_setshow_command): If no arguments are supplied,
226 don't dump core, instead print out an error message.
227
228 Wed Mar 4 16:50:18 1998 Jason Molenda (crash@bugshack.cygnus.com)
229
230 * gdbtk.c (gdb_listfiles): Fix thinko in last change.
231
232 Wed Mar 4 15:34:49 1998 Jason Molenda (crash@bugshack.cygnus.com)
233
234 * gdbtk.c (gdb_listfiles): Allocate space for 'files' dynamically.
235
236 Wed Mar 4 01:39:08 1998 Ron Unrau <runrau@cygnus.com>
237
238 * elfread.c (elf_symtab_read): merge SYMBOL_IS_SPECIAL into
239 MAKE_MSYMBOL_SPECIAL
240 * config/mips/tm-mips.h: ditto
241
242 Tue Mar 3 17:19:08 1998 John Metzler <jmetzler@cygnus.com>
243
244 * config/mips/tm-vr4xxx.h: implements vr4111 as saparate from 4300
245 * config/mips/vr4xxx.tm: implements vr4111 as separate from 4300
246 * configure.tgt: Recognise mips64vr4111-*-elf as vr4xxx
247 * dwarfread.c (read_tag_pointer_type): Pointer sizes now come from
248 TARGET_PTR_BIT rather from sizeof(char *) on host.
249
250 Tue Mar 3 14:37:02 1998 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
251
252 * alpha-nat.c (fetch_osf_core_registers): Renamed from
253 fetch_aout_core_registers.
254 (alpha_osf_core_fns): Renamed from alpha_aout_core_fns, change
255 flavour to bfd_target_unknown_flavour for OSF core files.
256
257 start-sanitize-vr4320
258 Tue Mar 3 11:12:39 1998 Gavin Koch <gavin@cygnus.com>
259
260 * configure.tgt (mips64*vr4320*el-*-elf*,mips64*vr4320*-*-elf*) :
261 Added.
262
263 end-sanitize-vr4320
264 Mon Mar 2 17:44:13 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
265
266 * breakpoint.c (_initialize_breakpoint): Make "en" an alias
267 for "enable" (so that it doesn't conflict with "end").
268
269 Mon Mar 2 17:04:25 1998 Jason Molenda (crash@bugshack.cygnus.com)
270
271 * Makefile (VERSION): Bump to 4.17.1.
272
273 Mon Mar 2 16:59:15 1998 Jason Molenda (crash@bugshack.cygnus.com)
274
275 * rdi-share/etherdrv.c (sys_errlist): Add correct decl for Linux.
276
277 Mon Mar 2 16:51:44 1998 Jason Molenda (crash@bugshack.cygnus.com)
278
279 * Makefile.in (YYFILES): Remove in maintainer-clean, not distclean.
280
281 Mon Mar 2 16:47:11 1998 Philippe De Muyter <phdm@macqel.be>
282
283 * Makefile.in (distclean): Add `rm $(YYFILES)'.
284
285 Mon Mar 2 16:45:48 1998 Philippe De Muyter <phdm@macqel.be>
286
287 * coffread.c (coff_read_enum_type): Set TYPE_FLAG_UNSIGNED if enum
288 is unsigned.
289
290 Sun Mar 2 15:16:13 1998 Richard Henderson <rth@cygnus.com>
291
292 * configure.host, configure.tgt: Add sparc-linux.
293 * sparc-nat.c: Include <asm/reg.h> not <machine/reg.h> for Linux.
294 * config/sparc/*linux*: New files.
295
296 Mon Mar 2 12:12:41 1998 Anthony Thompson (athompso@cambridge.arm.com)
297
298 * arm-tdep.c (gdb_print_insn_arm): Call print_insn_big_arm
299 if we're big endian; else call print_insn_little_arm.
300
301 Mon Feb 24 11:24:57 1998 Richard Henderson <rth@cygnus.com>
302
303 * Makefile.in (BISON): Don't even pretend to use yacc.
304 (c-exp.tab.o): Use bison -o to use a unique intermediate file.
305 (jv-exp.tab.o, f-exp.tab.o, m2-exp.tab.o): Likewise.
306
307 Tue Feb 24 03:32:59 1998 Andrew Cagney <cagney@b1.cygnus.com>
308
309 * remote-sim.c (gdbsim_fetch_register): Don't abort when the
310 register size is wrong.
311
312 start-sanitize-r5900
313 Tue Feb 24 02:53:41 1998 And<rew Cagney <cagney@b1.cygnus.com>
314
315 * config/mips/tm-r5900.h (REGISTER_VIRTUAL_SIZE,
316 REGISTE_RAW_SIZE): Re-define.
317
318 end-sanitize-r5900
319 Thu Feb 19 16:49:48 1998 John Metzler <jmetzler@cygnus.com>
320
321 * target.c (debug_to_fetch_registers,debug_to_store_registers,
322 debug-to_insert_breakpoint,debug_to_remove_breakpoint): tracing
323 64 bit targets crashed long long printfs.
324
325 Tue Feb 17 16:36:22 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
326
327 * symfile.c (read_target_int_array): rename read_target_long_array
328 and force the sizeof an ovly_table element to sizeof(long),
329 instead of sizeof(int).
330
331 Tue Feb 17 18:05:05 1998 Frank Ch. Eigler <fche@cygnus.com>
332
333 * remote-mips.c (mips_request): Use unsigned long during parsing
334 returned value from monitor, to prevent accidental sign extension.
335
336 Tue Feb 17 14:28:33 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
337
338 * acconfig.h: FORCE_MMCHECK changed to MMCHECK_FORCE.
339 * configure.in: Ditto.
340 * configure: Regenerated.
341
342 Tue Feb 17 14:07:34 1998 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
343
344 * gdbtypes.c (check_typedef): Do not try to resolve the length of
345 a type which has TYPE_FLAG_TARGET_STUB set, if the target type has
346 set TYPE_FLAG_TARGET_STUB as well.
347
348 Tue Feb 17 14:32:18 1998 Andrew Cagney <cagney@b1.cygnus.com>
349
350 * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register):
351 Pass register size to sim_{fetch,store}_register. Check nr of
352 register bytes transfered is correct.
353
354 Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
355
356 * remote-d10v.c (remote_d10v_open): Call push_remote_target
357 instead of open_remote_target.
358
359 * remote.c (remote_xfer_memory): Use REMOTE_TRANSLATE_XFER_ADDRESS
360 to translate addr/size when defined.
361 (open_remote_target): Delete.
362
363 * target.h (open_remote_target): Delete.
364
365 * config/d10v/tm-d10v.h (REMOTE_TRANSLATE_XFER_ADDRESS): Define.
366
367 Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
368
369 * config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Define. True when
370 sizeof type > 1.
371
372 Mon Feb 16 14:05:54 1998 Andrew Cagney <cagney@b1.cygnus.com>
373
374 * config/d10v/tm-d10v.h (USE_STRUCT_CONVENTION): Define. True when
375 sizeof type > 1.
376
377 Sun Feb 15 16:10:50 1998 Ron Unrau <runrau@cygnus.com>
378
379 * parse.c (write_dollar_variable): call new function
380 target_map_name_to_register to allow targets to define their own
381 register name aliases.
382 * infcmd.c (registers_info): use target_map_name_to_register so that
383 "print $reg" and "info reg $reg" use the same register name aliases.
384
385 Fri Feb 13 16:40:30 1998 Stan Shebs <shebs@andros.cygnus.com>
386
387 * config/i386/i386mk.mt (OBJFORMATS): Delete, no longer used.
388 * config/i386/xm-i386mk.h: Fix an include.
389 * config/pyr/tm-pyr.h (PC_INNER_THAN): Remove, never used.
390
391 Thu Feb 12 16:12:07 1998 Frank Ch. Eigler <fche@cygnus.com>
392
393 * remote-mips.c (mips_enter_debug): Sleep before sending CR to
394 monitor.
395 (mips_exit_debug): Accept any whitespace / verbiage before monitor
396 prompt reappears.
397
398 Thu Feb 12 18:25:42 1998 Andrew Cagney <cagney@b1.cygnus.com>
399
400 * d10v-tdep.c (show_regs): Avoid use of %llx when printing 8 byte
401 accumulators.
402
403 Thu Feb 12 17:10:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
404
405 * valops.c (value_at): For d10v, make read pointers with
406 read_target_unsigned_integer, keep addresses unsigned.
407 (value_fetch_lazy): Ditto.
408
409 Thu Feb 12 12:14:02 1998 Andrew Cagney <cagney@b1.cygnus.com>
410
411 * remote-d10v.c: New file. Layer the d10v GDB->remote memory map
412 on top of the remote serial memory transfer functions.
413
414 * config/d10v/d10v.mt (TDEPFILES): Add remote-d10v.o
415
416 * Makefile.in (remote-d10v.o): Add dependencies.
417
418 * remote.c (remote_open_1): Add arg extended_p, engage extended
419 protocol when extended_p.
420 (remote_open, extended_remote_open): Pass !extended_p /
421 extended_p to remote_open_1.
422
423 * remote.c (open_remote_target), target.h: New function.
424
425 Wed Feb 11 08:41:15 1998 Andrew Cagney <cagney@b1.cygnus.com>
426
427 * config/i386/fbsd.mh (XDEPFILES): Add ser-tcp.o.
428
429 Tue Feb 10 17:50:37 1998 Keith Seitz <keiths@onions.cygnus.com>
430
431 * tracepoint.c (tracepoint_operation): Call the modify_tracepoint_hook
432 if it exists.
433 Remove static declaration of free_actions.
434
435 * tracepoint.h: Add declaration of free_actions.
436
437 Tue Feb 10 12:17:13 1998 Fred Fish <fnf@cygnus.com>
438
439 * symtab.c (decode_line_1): Revert change that mistakenly
440 removed assignment of sals[0].pc field.
441
442 Mon Feb 10 12:37:47 1998 Philippe De Muyter <phdm@macqel.be>
443
444 * m68k/tm-delta68.h (EXTRACT_RETURN_VALUE): Type argument for
445 `REGISTER_CONVERT_TO_VIRTUAL is `TYPE', not
446 `REGISTER_VIRTUAL_TYPE (FP0_REGNUM)';
447 (STORE_RETURN_VALUE): Ditto, and offset for `write_register_bytes'
448 is `REGISTER_BYTE (FP0_REGNUM)', not `FP0_REGNUM'.
449 (FRAME_NUM_ARGS): New macro.
450 * m68k/tm-news.h (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Ditto.
451 * delta68-nat.c (clear_insn_cache): New function, forgotten in previous
452 patch.
453
454 Mon Feb 9 11:10:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
455
456 * d10v-tdep.c: Replace references to IMEM_ADDR and DMEM_ADDR with
457 D10V_MAKE_[DI]ADDR and D10V_CONVERT_[ID]ADDR_TO_RAW macros.
458
459 * config/d10v/tm-d10v.h (IMEM_START): Move to 0x01......
460 (DMEM_START): Move to 0x00......
461 (STACK_START): Move to 0x00..7ffe.
462 (D10V_MAKE_IADDR, D10V_MAKE_DADDR): Translate unconditionally.
463
464 * d10v-tdep.c (d10v_xlate_addr): Delete function.
465
466 Mon Feb 9 15:10:21 1998 Fred Fish <fnf@cygnus.com>
467
468 * symtab.c (fixup_psymbol_section): Move forward declaration to
469 top of file with other such decls. Make it a static function.
470 * symtab.h: Minor formatting tweaks.
471
472 Mon Feb 9 13:14:12 1998 Stan Shebs <shebs@andros.cygnus.com>
473
474 * config/a29k-udi.mt, config/i960/vxworks960.mt (REMOTE_OBS):
475 Remove redefinition.
476 * config/i960/tm-i960.h (BREAKPOINT): Define.
477
478 Mon Feb 9 15:35:38 1998 Ian Lance Taylor <ian@cygnus.com>
479
480 * Makefile.in (init.c): Ignore errors when making init.c. Seems
481 necessary to work around bug in Solaris make.
482
483 Sun Feb 6 02:44:28 1997 Philippe De Muyter <phdm@macqel.be>
484
485 * m68k/tm-delta68.h (CPLUS_MARKER): Macro deleted.
486 (EXTRACT_STRUCT_VALUE_ADDRESS): Macro defined.
487 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Macros modified
488 because floating-point values return via %fp0.
489 (CLEAR_INSN_CACHE): New macro.
490 * m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL): Macro fixed
491 to use DOUBLEST.
492 (REGISTER_CONVERT_TO_RAW): Ditto.
493 * infptrace.c (child_xfer_memory): If CLEAR_INSN_CACHE is defined,
494 call it after having written in child process's memory.
495 * inflow.c (PROCESS_GROUP_TYPE): Macro defined if HAVE_TERMIO.
496 (gdb_has_a_terminal, terminal_ours_1): Functions fixed for HAVE_TERMIO.
497
498 Fri Feb 6 16:17:30 1998 Jeffrey A Law (law@cygnus.com)
499
500 * config/mips/tm-mips64.h (TARGET_LONG_BIT): Allow final target to
501 override.
502 (TARGET_LONG_LONG_BIT): Likewise.
503 (TARGET_PTR_BIT): Likewise.
504 start-sanitize-r5900
505 * config/mips/tm-r5900.h (TARGET_PTR_BIT): Define to 32 bits.
506 end-sanitize-r5900
507
508 start-sanitize-sky
509 Fri Feb 6 14:33:34 1998 Doug Evans <devans@canuck.cygnus.com>
510
511 * configure.tgt (mips64r5900*-sky-elf*): Replaces txvu-elf.
512 * config/mips/txvu.mt (SIM): txvu -> mips.
513
514 end-sanitize-sky
515 Fri Feb 6 17:42:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
516
517 * config/d10v/tm-d10v.h (D10V_CONVERT_IADDR_TO_RAW,
518 D10V_CONVERT_DADDR_TO_RAW): Define.
519
520 * d10v-tdep.c (d10v_push_arguments): Re-write. Pass arguments in
521 registers, regardless of their size, when they fit.
522
523 Thu Feb 5 13:16:36 1998 Andrew Cagney <cagney@b1.cygnus.com>
524
525 * d10v-tdep.c (d10v_extract_return_value): For function pointers
526 translate address to IMAP area.
527
528 * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Delete dummy from
529 struct.
530 (POP_FRAME): Point at generic_pop_current_frame.
531
532 * d10v-tdep.c (d10v_pop_frame): Delete code handling dummy frames,
533 handled earlier.
534 (d10v_push_return_address): New function.
535 (d10v_pop_dummy_frame): Delete.
536 (d10v_fix_call_dummy): Delete.
537 (d10v_call_dummy_address): Delete.
538
539 * d10v-tdep.c (d10v_init_extra_frame_info): Clear dummy and
540 frameless.
541
542 * d10v-tdep.c (d10v_push_arguments): Keep stack word aligned.
543
544 * config/d10v/tm-d10v.h (EXTRACT_STRUCT_VALUE_ADDRESS): Extract
545 address of structure from first ARG1_REGNUM.
546
547 * d10v-tdep.c (d10v_push_arguments): Force 4 byte args into
548 even-odd register pair. Store 1 and 2 byte args in registers.
549
550 * valops.c (value_fetch_lazy): Ensure that a D10V function pointer
551 is fetched in the correct byte order.
552 (value_at): Ditto. Also ensure data pointers are mapped to data
553 segment.
554
555 * config/d10v/tm-d10v.h (D10V_DADDR_P, D10V_IADDR_P):
556
557 * d10v-tdep.c: Replace 2 with REGISTER_RAW_SIZE.
558 (d10v_pop_frame): Replace R13 with LR_REGNUM.
559 (d10v_push_arguments): Replace R2 with ARG1_REGNUM.
560 (d10v_push_arguments): Replace 6 with ARGN_REGNUM.
561 (d10v_extract_return_value): Access return value with RET1_REGNUM.
562
563 * config/d10v/tm-d10v.h (ARG1_REGNUM, ARGN_REGNUM, RET1_REGNUM):
564 Define.
565 (STORE_RETURN_VALUE): Specify return register using RET1_REGNUM.
566 (STORE_STRUCT_RETURN): Specify ARG1_REGNUM as the struct ptr
567 location.
568
569 Thu Feb 5 13:16:36 1998 Andrew Cagney <cagney@b1.cygnus.com>
570
571 * blockframe.c (generic_pop_dummy_frame): Flush the frame, no
572 longer valid.
573
574 * blockframe.c (generic_pop_current_frame), frames.h: New
575 function.
576
577 Thu Feb 5 17:18:16 1998 Andrew Cagney <cagney@b1.cygnus.com>
578
579 * remote-sim.c (gdbsim_create_inferior): clear_proceed_status
580 before /re/starting the simulator.
581
582 Thu Feb 5 15:55:31 1998 C. M. Heard (heard@vvnet.com)
583
584 * top.c (do_nothing): Remove signal handler after signal is caught.
585
586 Thu Feb 5 11:57:06 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
587
588 * tracepoint.c (tracepoint_operation): call free_actions instead
589 of free. (free_actions): eliminate some memory leaks for actions.
590 (validate_actionline): pass string arg by reference, so we can
591 change the pointer. Change all memrange collection arguments to
592 canonical form (literal address and size), to enforce early
593 evaluation. Accept UNOP_MEMVAL (assembly variables) for
594 trace collection. (parse_and_eval_memrange): accept expressions
595 for the address and size fields of a memrange (and evaluate
596 them immediately). (several places): use -1 instead of zero
597 to distinguish an absolute memrange from a register-relative one.
598 (encode_actions): add handling for UNOP_MEMVAL (assembly variable).
599
600 Wed Feb 4 17:40:21 1998 Jason Molenda (crash@bugshack.cygnus.com)
601
602 * Makefile.in (SFILES): add tracepoint.c.
603 (LINTFILES): add @CONFIG_SRCS@.
604 (SOURCES): Ditto.
605 * configure.in (CONFIG_SRCS): Mirror use of CONFIG_OBS.
606 * configure: Regenerated.
607
608 Tue Feb 3 16:12:32 1998 Gordon W. Ross (gwr@mc.com)
609
610 * infptrace.c (child_resume): Don't try to step if
611 NO_SINGLE_STEP is defined.
612
613 Mon Feb 2 19:06:13 1998 Jason Molenda (crash@bugshack.cygnus.com)
614
615 * Makefile.in (VERSION): Bump to 4.16.2.
616
617 Mon Feb 2 17:18:25 1998 Richard Henderson <rth@cygnus.com>
618
619 * alpha-nat.c (fetch_aout_core_registers): Rename from
620 fetch_core_registers.
621 (fetch_elf_core_registers): New function.
622 (supply_gregset): Use ALPHA_REGSET_BASE.
623 (supply_fpregset): Likewise.
624 (fill_fpregset): Likewise.
625 (alpha_aout_core_fns): Rename from alpha_core_fns.
626 (alpha_elf_core_fns): New.
627 * config/alpha/alpha-linux.mh (NATDEPFILES): solib.o not osfsolib.o.
628 Disable MMALLOC.
629 * config/alpha/nm-linux.h (SVR4_SHARED_LIBS): Define if ELF.
630 (TARGET_ELF64): Likewise.
631 (ALPHA_REGSET_BASE): New.
632 * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): New.
633 * config/alpha/tm-alphalinux.h: Include tm-sysv4.h.
634
635 * solib.c (elf_locate_base): Add TARGET_ELF64 support.
636 (info_sharedlibary_command): Likewise.
637
638 * configure.host: Match alpha*.
639 * configure.tgt: Likewise.
640
641 Fri Jan 30 15:11:38 1998 David Taylor <taylor@texas.cygnus.com>
642
643 Changes by <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
644 * infrun.c (IN_SOLIB_DYNSYM_RESOLVE_CODE): new macro for detecting
645 whether we are in the dynamic symbol resolution code
646 (wait_for_inferior): invoke it.
647 * solib.c (in_svr4_dynsym_resolve_code): new function
648 (enable_break): record start and end of the dynamic linker
649 text and plt sections for use in in_svr4_dynsym_resolve_code.
650 * solib.h (IN_SOLIB_DYNSYM_RESOLVE_CODE): add svr4 definition;
651 (in_svr4_dynsym_resolve_code): declare it.
652 * config/nm-gnu.h (solib.h): move inclusion to after definition
653 of SVR4_SHARED_LIBS.
654 * config/nm-sysv4.h (solib.h): ditto.
655 * config/i386/nm-i386sco5.h (solib.h): ditto.
656 * config/i386/nm-linux.h (solib.h): ditto.
657 * config/mips/nm-irix5.h (IN_SOLIB_DYNSYM_RESOLVE_CODE): undefine.
658
659 Thu Jan 29 19:39:31 1998 Stan Shebs <shebs@andros.cygnus.com>
660
661 * coffread.c (coff_symtab_read) [SEM]: Remove code, macro can
662 never be defined.
663 * dbxread.c (process_one_symbol) [BLOCK_ADDRESS_ABSOLUTE]:
664 Remove, no longer needed.
665 * hppa-tdep.c (N_SET_MAGIC): Remove, no longer used.
666 * config/pa/xm-hppab.h (SEEK_SET, SEEK_CUR, SEEK_END): Ditto.
667 * config/mips/tm-mipsm3.h (NUMERIC_REG_NAMES): Ditto.
668 * config/mips/mipsm3.mt (TDEPFILES): Remove mipsread.o.
669
670 Wed Jan 28 14:46:52 1998 Stan Shebs <shebs@andros.cygnus.com>
671
672 Suggested by Chris Walter <walter@budoe.bu.edu>:
673 * dwarfread.c (set_cu_language): Recognize Fortran.
674 * dwarf2read.c (set_cu_language): Ditto.
675 (read_array_type): Fix language test.
676
677 Wed Jan 28 12:51:08 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
678
679 * blockframe.c (generic_frame_chain_valid): A frame pointer may
680 be valid if it is equal to the frame pointer of its caller (ie.
681 not necessarily strictly INNER_THAN). Allows frameless functions.
682
683 Wed Jan 28 11:23:25 1998 Mark Alexander <marka@cygnus.com>
684
685 * monitor.c (monitor_vsprintf): New function to handle
686 printing of large addresses using %A format specifier.
687 (monitor_printf_noecho, monitor_printf): Use monitor_vsprintf
688 instead of vsprintf.
689 * dve3900-rom.c (_initialize_r3900_rom): Use %A instead of %Lx
690 to print addresses.
691
692 Tue Jan 27 16:14:23 1998 Jason Molenda (crash@bugshack.cygnus.com)
693
694 * configure.in (CONFIG_LDFLAGS): Only add -export-dynamic
695 when using GNU ld.
696
697 Mon Jan 26 19:07:46 1998 Jason Molenda (crash@bugshack.cygnus.com)
698
699 * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset):
700 Add closing parenthesis. From HJ Lu.
701
702 Mon Jan 26 17:54:45 1998 Mark Alexander <marka@cygnus.com>
703
704 * dve3900-rom.c: Improve performance by using memory commands
705 that print less fluff. Minor cosmetic changes.
706 Eliminate compiler warnings.
707
708 Sat Jan 24 23:44:43 1998 Martin M. Hunt <hunt@cygnus.com>
709
710 * breakpoint.c (enable_breakpoint): Preserve breakpoint
711 disposition when enabling a breakpoint.
712
713 * symtab.c (find_pc_sect_line): If no symbol information
714 is found, return correct pc anyway.
715
716 Fri Jan 23 17:26:22 1998 Stan Shebs <shebs@andros.cygnus.com>
717
718 * configure.host (i[3456]86-*-osf1mk*, mips-*-mach3*,
719 ns32k-*-mach3*): Fix file names.
720 (i[3456]86-*-os9k, m88*-*-mach3*, w65-*-*): Remove config
721 recognition, no source files for these.
722 * configure.tgt (powerpc-*-aix4*): Remove config, now identical
723 to powerpc-*-aix*.
724 * config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: Remove files,
725 no longer needed.
726
727 Fri Jan 23 16:49:41 1998 Mark Alexander <marka@cygnus.com>
728
729 * monitor.c (monitor_write, monitor_readchar): New functions.
730 * monitor.h (monitor_write, monitor_readchar): Declare.
731 * dve3900-rom.c: Add support for fast loading on ethernet connections.
732
733 Fri Jan 23 07:47:06 1998 Fred Fish <fnf@cygnus.com>
734
735 * config/d10v/tm-d10v.h (CALL_DUMMY): Define as "{ 0 }".
736 (TARGET_READ_FP): Define to d10v_read_fp rather than d10v_read_sp.
737 (TARGET_WRITE_FP): Define to d10v_write_fp rather than d10v_write_sp.
738 (d10v_write_fp, d10v_read_fp): Add prototypes.
739 * symtab.c (decode_line_1): Remove assignment of sals[0].pc field.
740 * symfile.c (simple_overlay_update, simple_overlay_update_1):
741 Ignore the size of overlay sections. This check is redundant anyway.
742 * printcmd.c (print_frame_args): Ditto.
743 * valops.c (value_fetch_lazy): Ditto.
744 * values.c (unpack_long): Ditto.
745 * d10v-tdep.c (d10v_frame_chain, d10v_frame_find_saved_regs,
746 d10v_init_extra_frame_info): Fix some minor bugs so the finish command
747 works properly.
748 (show_regs): Change num1 and num2 types from "long long" to "LONGEST".
749 (d10v_read_fp, d10v_write_fp): New functions.
750 (d10v_push_arguments): Remove unneeded assigns to "val" and "contents".
751 (d10v_push_arguments): Fix for pointers and structs.
752 (d10v_extract_return_value): Fix for pointers and chars.
753
754 Tue Jan 20 18:53:18 1998 Stan Shebs <shebs@andros.cygnus.com>
755
756 * configure.tgt (i386-*-mach*, m88*-*-mach3*): Remove config
757 recognition, no source files for these (note that the i386 Mach
758 config is for pre-Mach 3).
759 (mips*-*-mach3*, ns32k-*-mach3*): Fix file names.
760 * config/mips/mipsel64.mt: Remove, never referenced.
761
762 Mon Jan 19 14:01:28 1998 Stan Shebs <shebs@andros.cygnus.com>
763
764 * top.c (print_gdb_version): Restore to original message.
765
766 Mon Jan 19 13:34:40 1998 Ian Lance Taylor <ian@cygnus.com>
767
768 From cgf@bbc.com (Chris Faylor):
769 * win32-nat.c (child_mourn_inferior): Call ContinueDebugEvent to
770 let the child exit.
771 (child_kill_inferior): Respond to all debug events as the child is
772 terminating.
773
774 * Makefile.in (all): Change gdb dependency to gdb$(EXEEXT).
775 (uninstall): Add $(EXEEXT) to file name to remove.
776 (gdb$(EXEEXT)): Rename target from plain gdb.
777 (gdb1$(EXEEXT)): Rename target from plain gdb1.
778 (clean, mostlyclean): Add $(EXEEXT) to binary names to remove.
779
780 1998-01-16 Felix Lee <flee@cygnus.com>
781
782 * top.c (print_gdb_version): delete stutter.
783
784 Thu Jan 15 12:29:13 1998 Nick Clifton <nickc@cygnus.com>
785
786 * remote-rdi.c (arm_rdi_open): Patch from Tony.Thompson@arm.com
787 to prevent spurous error messages on non-ICE targets.
788
789 Wed Jan 14 19:27:02 1998 Stan Shebs <shebs@andros.cygnus.com>
790
791 * config/mips/{r3900.mt,r3900l.mt,tm-r3900.h,tm-r3900l.h}:
792 Remove, no longer used.
793
794 start-sanitize-d30v
795 Wed Jan 14 18:11:26 1998 Michael Meissner <meissner@cygnus.com>
796
797 Patch from Jim Wilson.
798 * d30v-tdep.c (d30v_frame_find_saved_regs_offsets): Properly
799 declare void function before use.
800
801 * config/d30v/tm-d30v.h (CALL_DUMMY): Initialize as { 0 }, not {}.
802
803 end-sanitize-d30v
804 Tue Jan 13 16:38:48 1998 Fred Fish <fnf@cygnus.com>
805
806 * configure.in (--with-mmalloc): Add new configure arg to use the
807 mmalloc package. Default is to not use it.
808 (START_INFERIOR_TRAPS_EXPECTED): Define to the integer 2, not
809 the string "2".
810 * acconfig.h (USE_MMALLOC, FORCE_MMCHECK): Add #undef.
811 * configure: Regenerated.
812 * config.in: Regenerated.
813 * Makefile.in (MMALLOC_DIR, MMALLOC_SRC): Remove.
814 (MMALLOC): Set using configure.
815 (MMALLOC_CFLAGS): Set using configure.
816
817 * config/i386/tm-linux.h (sys_quotactl): Define to 1 rather
818 than just defining it.
819 * mpw-make.sed: Undefine USE_MMALLOC rather than defining NO_MMALLOC.
820 * utils.c (NO_MMALLOC): Use USE_MMALLOC instead.
821 * objfiles.c: ditto.
822 * defs.h: ditto.
823
824 * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Remove.
825 * config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Remove.
826 * config/i386/cygwin32.mh (MMALLOC_CFLAGS): Remove.
827 * config/alpha/alpha-osf3.mh (MMALLOC_CFLAGS): Remove.
828 * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Remove.
829 * gdbserver/Makefile.in (MMALLOC_*): Remove.
830 * config/rs6000/rs6000.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
831 * config/rs6000/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
832 * config/powerpc/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
833 * config/powerpc/aix.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
834 * config/ns32k/ns32km3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
835 * config/mips/mipsm3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
836 * config/mips/decstation.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
837 * config/m88k/cxux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
838 * config/i386/xm-windows.h (NO_MMALLOC, NO_MMCHECK): Remove.
839 * config/i386/i386mk.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
840 * config/i386/i386m3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
841 * config/i386/i386gnu.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
842 * config/alpha/alpha-osf1.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
843 * config/alpha/alpha-linux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
844
845 Mon Jan 12 11:46:51 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
846
847 * config/m68k/tm-m68k.h (REGISTER_VIRTUAL_TYPE): make A0 thru A7
848 default to void pointer type (so that their default radix is hex).
849
850 * symtab.c: move rbreak_command from no_class to class_breakpoint
851 so it will be listed under "help breakpoints".
852
853 Sat Jan 10 14:58:04 1998 Stan Shebs <shebs@andros.cygnus.com>
854
855 * rdi-share/hostchan.c: Remove gettimeofday declaration.
856
857 Thu Jan 8 11:03:59 1998 Nick Clifton <nickc@cygnus.com>
858
859 * remote-rdp.c: Applied patches submitted by Tony.Thompson@arm.com
860 to implement the Angel remote debugging interface.
861
862 * Makefile.in: Add build rules for remote-rdi.c and
863 rdi-share/libangsd.a.
864
865 * configure.tgt: Updated from source on branch.
866 * config/arm/tm-arm.h: Updated from source on branch.
867 * arm-tdep.c: Updated from source on branch.
868
869 * rdi-share: New directory, RDI library contributed by ARM.
870
871 Mon Jan 5 20:21:59 1998 Mark Alexander <marka@cygnus.com>
872
873 * monitor.h (MO_PRINT_PROGRAM_OUTPUT): Define.
874 * monitor.c (monitor_wait): Echo program output.
875 * dve3900-rom.c (_initialize_r3900_rom): Remove MO_HANDLE_NL flag,
876 add MO_PRINT_PROGRAM_OUTPUT flag.
877
878 Mon Jan 5 18:21:11 1998 David Taylor <taylor@texas.cygnus.com>
879
880 * top.h (HAVE_SIGSETJMP): define SIGJMP_BUF, SIGSETJMP, and
881 SIGLONGJMP appropriately based on whether HAVE_SIGSETJMP is
882 defined.
883 * top.c (return_to_top_level, catch_errors): use the new macros
884 * main.c (SET_TOP_LEVEL): ditto.
885 * config/xm-sysv4.h (HAVE_SIGSETJMP): Define.
886
887 Fri Jan 2 18:48:58 1998 Mark Alexander <marka@cygnus.com>
888
889 * configure.in: Double up brackets in shell case pattern.
890
891 Fri Jan 2 17:06:05 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
892
893 * tracepoint.c (finish_tfind_command): improved algorithm for
894 deciding when we've "stepped" into a new stack frame.
895 (map_args_over_tracepoints): loop over tracepoint list "safely",
896 since list elements may be deleted during loop.
897 (read_actions): add actions to history list.
898
899 For older changes see ChangeLog-97
900 \f
901 Local Variables:
902 mode: indented-text
903 left-margin: 8
904 fill-column: 74
905 version-control: never
906 End:
This page took 0.206378 seconds and 5 git commands to generate.