D10V memory map changed. Update.
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 Mon Feb 9 11:10:06 1998 Andrew Cagney <cagney@b1.cygnus.com>
2
3 * d10v-tdep.c: Replace references to IMEM_ADDR and DMEM_ADDR with
4 D10V_MAKE_[DI]ADDR and D10V_CONVERT_[ID]ADDR_TO_RAW macros.
5
6 * config/d10v/tm-d10v.h (IMEM_START): Move to 0x01......
7 (DMEM_START): Move to 0x00......
8 (STACK_START): Move to 0x00..7ffe.
9 (D10V_MAKE_IADDR, D10V_MAKE_DADDR): Translate unconditionally.
10
11 * d10v-tdep.c (d10v_xlate_addr): Delete function.
12
13 Mon Feb 9 15:10:21 1998 Fred Fish <fnf@cygnus.com>
14
15 * symtab.c (fixup_psymbol_section): Move forward declaration to
16 top of file with other such decls. Make it a static function.
17 * symtab.h: Minor formatting tweaks.
18
19 Mon Feb 9 13:14:12 1998 Stan Shebs <shebs@andros.cygnus.com>
20
21 * config/a29k-udi.mt, config/i960/vxworks960.mt (REMOTE_OBS):
22 Remove redefinition.
23 * config/i960/tm-i960.h (BREAKPOINT): Define.
24
25 Mon Feb 9 15:35:38 1998 Ian Lance Taylor <ian@cygnus.com>
26
27 * Makefile.in (init.c): Ignore errors when making init.c. Seems
28 necessary to work around bug in Solaris make.
29
30 Sun Jul 6 02:44:28 1997 Philippe De Muyter <phdm@macqel.be>
31
32 * m68k/tm-delta68.h (CPLUS_MARKER): Macro deleted.
33 (EXTRACT_STRUCT_VALUE_ADDRESS): Macro defined.
34 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE): Macros modified
35 because floating-point values return via %fp0.
36 (CLEAR_INSN_CACHE): New macro.
37 * m68k/tm-m68k.h (REGISTER_CONVERT_TO_VIRTUAL): Macro fixed
38 to use DOUBLEST.
39 (REGISTER_CONVERT_TO_RAW): Ditto.
40 * infptrace.c (child_xfer_memory): If CLEAR_INSN_CACHE is defined,
41 call it after having written in child process's memory.
42 * inflow.c (PROCESS_GROUP_TYPE): Macro defined if HAVE_TERMIO.
43 (gdb_has_a_terminal, terminal_ours_1): Functions fixed for HAVE_TERMIO.
44
45 Fri Feb 6 16:17:30 1998 Jeffrey A Law (law@cygnus.com)
46
47 * config/mips/tm-mips64.h (TARGET_LONG_BIT): Allow final target to
48 override.
49 (TARGET_LONG_LONG_BIT): Likewise.
50 (TARGET_PTR_BIT): Likewise.
51 start-sanitize-r5900
52 * config/mips/tm-r5900.h (TARGET_PTR_BIT): Define to 32 bits.
53 end-sanitize-r5900
54
55 start-sanitize-sky
56 Fri Feb 6 14:33:34 1998 Doug Evans <devans@canuck.cygnus.com>
57
58 * configure.tgt (mips64r5900*-sky-elf*): Replaces txvu-elf.
59 * config/mips/txvu.mt (SIM): txvu -> mips.
60
61 end-sanitize-sky
62 Fri Feb 6 17:42:22 1998 Andrew Cagney <cagney@b1.cygnus.com>
63
64 * config/d10v/tm-d10v.h (D10V_CONVERT_IADDR_TO_RAW,
65 D10V_CONVERT_DADDR_TO_RAW): Define.
66
67 * d10v-tdep.c (d10v_push_arguments): Re-write. Pass arguments in
68 registers, regardless of their size, when they fit.
69
70 Thu Feb 5 13:16:36 1998 Andrew Cagney <cagney@b1.cygnus.com>
71
72 * d10v-tdep.c (d10v_extract_return_value): For function pointers
73 translate address to IMAP area.
74
75 * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Delete dummy from
76 struct.
77 (POP_FRAME): Point at generic_pop_current_frame.
78
79 * d10v-tdep.c (d10v_pop_frame): Delete code handling dummy frames,
80 handled earlier.
81 (d10v_push_return_address): New function.
82 (d10v_pop_dummy_frame): Delete.
83 (d10v_fix_call_dummy): Delete.
84 (d10v_call_dummy_address): Delete.
85
86 * d10v-tdep.c (d10v_init_extra_frame_info): Clear dummy and
87 frameless.
88
89 * d10v-tdep.c (d10v_push_arguments): Keep stack word aligned.
90
91 * config/d10v/tm-d10v.h (EXTRACT_STRUCT_VALUE_ADDRESS): Extract
92 address of structure from first ARG1_REGNUM.
93
94 * d10v-tdep.c (d10v_push_arguments): Force 4 byte args into
95 even-odd register pair. Store 1 and 2 byte args in registers.
96
97 * valops.c (value_fetch_lazy): Ensure that a D10V function pointer
98 is fetched in the correct byte order.
99 (value_at): Ditto. Also ensure data pointers are mapped to data
100 segment.
101
102 * config/d10v/tm-d10v.h (D10V_DADDR_P, D10V_IADDR_P):
103
104 * d10v-tdep.c: Replace 2 with REGISTER_RAW_SIZE.
105 (d10v_pop_frame): Replace R13 with LR_REGNUM.
106 (d10v_push_arguments): Replace R2 with ARG1_REGNUM.
107 (d10v_push_arguments): Replace 6 with ARGN_REGNUM.
108 (d10v_extract_return_value): Access return value with RET1_REGNUM.
109
110 * config/d10v/tm-d10v.h (ARG1_REGNUM, ARGN_REGNUM, RET1_REGNUM):
111 Define.
112 (STORE_RETURN_VALUE): Specify return register using RET1_REGNUM.
113 (STORE_STRUCT_RETURN): Specify ARG1_REGNUM as the struct ptr
114 location.
115
116 Thu Feb 5 13:16:36 1998 Andrew Cagney <cagney@b1.cygnus.com>
117
118 * blockframe.c (generic_pop_dummy_frame): Flush the frame, no
119 longer valid.
120
121 * blockframe.c (generic_pop_current_frame), frames.h: New
122 function.
123
124 Thu Feb 5 17:18:16 1998 Andrew Cagney <cagney@b1.cygnus.com>
125
126 * remote-sim.c (gdbsim_create_inferior): clear_proceed_status
127 before /re/starting the simulator.
128
129 Thu Feb 5 15:55:31 1998 C. M. Heard (heard@vvnet.com)
130
131 * top.c (do_nothing): Remove signal handler after signal is caught.
132
133 Thu Feb 5 11:57:06 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
134
135 * tracepoint.c (tracepoint_operation): call free_actions instead
136 of free. (free_actions): eliminate some memory leaks for actions.
137 (validate_actionline): pass string arg by reference, so we can
138 change the pointer. Change all memrange collection arguments to
139 canonical form (literal address and size), to enforce early
140 evaluation. Accept UNOP_MEMVAL (assembly variables) for
141 trace collection. (parse_and_eval_memrange): accept expressions
142 for the address and size fields of a memrange (and evaluate
143 them immediately). (several places): use -1 instead of zero
144 to distinguish an absolute memrange from a register-relative one.
145 (encode_actions): add handling for UNOP_MEMVAL (assembly variable).
146
147 Wed Feb 4 17:40:21 1998 Jason Molenda (crash@bugshack.cygnus.com)
148
149 * Makefile.in (SFILES): add tracepoint.c.
150 (LINTFILES): add @CONFIG_SRCS@.
151 (SOURCES): Ditto.
152 * configure.in (CONFIG_SRCS): Mirror use of CONFIG_OBS.
153 * configure: Regenerated.
154
155 Tue Feb 3 16:12:32 1998 Gordon W. Ross (gwr@mc.com)
156
157 * infptrace.c (child_resume): Don't try to step if
158 NO_SINGLE_STEP is defined.
159
160 Mon Feb 2 19:06:13 1998 Jason Molenda (crash@bugshack.cygnus.com)
161
162 * Makefile.in (VERSION): Bump to 4.16.2.
163
164 Mon Feb 2 17:18:25 1998 Richard Henderson <rth@cygnus.com>
165
166 * alpha-nat.c (fetch_aout_core_registers): Rename from
167 fetch_core_registers.
168 (fetch_elf_core_registers): New function.
169 (supply_gregset): Use ALPHA_REGSET_BASE.
170 (supply_fpregset): Likewise.
171 (fill_fpregset): Likewise.
172 (alpha_aout_core_fns): Rename from alpha_core_fns.
173 (alpha_elf_core_fns): New.
174 * config/alpha/alpha-linux.mh (NATDEPFILES): solib.o not osfsolib.o.
175 Disable MMALLOC.
176 * config/alpha/nm-linux.h (SVR4_SHARED_LIBS): Define if ELF.
177 (TARGET_ELF64): Likewise.
178 (ALPHA_REGSET_BASE): New.
179 * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): New.
180 * config/alpha/tm-alphalinux.h: Include tm-sysv4.h.
181
182 * solib.c (elf_locate_base): Add TARGET_ELF64 support.
183 (info_sharedlibary_command): Likewise.
184
185 * configure.host: Match alpha*.
186 * configure.tgt: Likewise.
187
188 Fri Jan 30 15:11:38 1998 David Taylor <taylor@texas.cygnus.com>
189
190 Changes by <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>
191 * infrun.c (IN_SOLIB_DYNSYM_RESOLVE_CODE): new macro for detecting
192 whether we are in the dynamic symbol resolution code
193 (wait_for_inferior): invoke it.
194 * solib.c (in_svr4_dynsym_resolve_code): new function
195 (enable_break): record start and end of the dynamic linker
196 text and plt sections for use in in_svr4_dynsym_resolve_code.
197 * solib.h (IN_SOLIB_DYNSYM_RESOLVE_CODE): add svr4 definition;
198 (in_svr4_dynsym_resolve_code): declare it.
199 * config/nm-gnu.h (solib.h): move inclusion to after definition
200 of SVR4_SHARED_LIBS.
201 * config/nm-sysv4.h (solib.h): ditto.
202 * config/i386/nm-i386sco5.h (solib.h): ditto.
203 * config/i386/nm-linux.h (solib.h): ditto.
204 * config/mips/nm-irix5.h (IN_SOLIB_DYNSYM_RESOLVE_CODE): undefine.
205
206 Thu Jan 29 19:39:31 1998 Stan Shebs <shebs@andros.cygnus.com>
207
208 * coffread.c (coff_symtab_read) [SEM]: Remove code, macro can
209 never be defined.
210 * dbxread.c (process_one_symbol) [BLOCK_ADDRESS_ABSOLUTE]:
211 Remove, no longer needed.
212 * hppa-tdep.c (N_SET_MAGIC): Remove, no longer used.
213 * config/pa/xm-hppab.h (SEEK_SET, SEEK_CUR, SEEK_END): Ditto.
214 * config/mips/tm-mipsm3.h (NUMERIC_REG_NAMES): Ditto.
215 * config/mips/mipsm3.mt (TDEPFILES): Remove mipsread.o.
216
217 Wed Jan 28 14:46:52 1998 Stan Shebs <shebs@andros.cygnus.com>
218
219 Suggested by Chris Walter <walter@budoe.bu.edu>:
220 * dwarfread.c (set_cu_language): Recognize Fortran.
221 * dwarf2read.c (set_cu_language): Ditto.
222 (read_array_type): Fix language test.
223
224 Wed Jan 28 12:51:08 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
225
226 * blockframe.c (generic_frame_chain_valid): A frame pointer may
227 be valid if it is equal to the frame pointer of its caller (ie.
228 not necessarily strictly INNER_THAN). Allows frameless functions.
229
230 Wed Jan 28 11:23:25 1998 Mark Alexander <marka@cygnus.com>
231
232 * monitor.c (monitor_vsprintf): New function to handle
233 printing of large addresses using %A format specifier.
234 (monitor_printf_noecho, monitor_printf): Use monitor_vsprintf
235 instead of vsprintf.
236 * dve3900-rom.c (_initialize_r3900_rom): Use %A instead of %Lx
237 to print addresses.
238
239 Tue Jan 27 16:14:23 1998 Jason Molenda (crash@bugshack.cygnus.com)
240
241 * configure.in (CONFIG_LDFLAGS): Only add -export-dynamic
242 when using GNU ld.
243
244 Mon Jan 26 19:07:46 1998 Jason Molenda (crash@bugshack.cygnus.com)
245
246 * config/alpha/tm-alphalinux.h (alpha_linux_sigtramp_offset):
247 Add closing parenthesis. From HJ Lu.
248
249 Mon Jan 26 17:54:45 1998 Mark Alexander <marka@cygnus.com>
250
251 * dve3900-rom.c: Improve performance by using memory commands
252 that print less fluff. Minor cosmetic changes.
253 Eliminate compiler warnings.
254
255 Sat Jan 24 23:44:43 1998 Martin M. Hunt <hunt@cygnus.com>
256
257 * breakpoint.c (enable_breakpoint): Preserve breakpoint
258 disposition when enabling a breakpoint.
259
260 * symtab.c (find_pc_sect_line): If no symbol information
261 is found, return correct pc anyway.
262
263 Fri Jan 23 17:26:22 1998 Stan Shebs <shebs@andros.cygnus.com>
264
265 * configure.host (i[3456]86-*-osf1mk*, mips-*-mach3*,
266 ns32k-*-mach3*): Fix file names.
267 (i[3456]86-*-os9k, m88*-*-mach3*, w65-*-*): Remove config
268 recognition, no source files for these.
269 * configure.tgt (powerpc-*-aix4*): Remove config, now identical
270 to powerpc-*-aix*.
271 * config/powerpc/{aix4.mh,aix4.mt,tm-ppc-aix4.h}: Remove files,
272 no longer needed.
273
274 Fri Jan 23 16:49:41 1998 Mark Alexander <marka@cygnus.com>
275
276 * monitor.c (monitor_write, monitor_readchar): New functions.
277 * monitor.h (monitor_write, monitor_readchar): Declare.
278 * dve3900-rom.c: Add support for fast loading on ethernet connections.
279
280 Fri Jan 23 07:47:06 1998 Fred Fish <fnf@cygnus.com>
281
282 * config/d10v/tm-d10v.h (CALL_DUMMY): Define as "{ 0 }".
283 (TARGET_READ_FP): Define to d10v_read_fp rather than d10v_read_sp.
284 (TARGET_WRITE_FP): Define to d10v_write_fp rather than d10v_write_sp.
285 (d10v_write_fp, d10v_read_fp): Add prototypes.
286 * symtab.c (decode_line_1): Remove assignment of sals[0].pc field.
287 * symfile.c (simple_overlay_update, simple_overlay_update_1):
288 Ignore the size of overlay sections. This check is redundant anyway.
289 * printcmd.c (print_frame_args): Ditto.
290 * valops.c (value_fetch_lazy): Ditto.
291 * values.c (unpack_long): Ditto.
292 * d10v-tdep.c (d10v_frame_chain, d10v_frame_find_saved_regs,
293 d10v_init_extra_frame_info): Fix some minor bugs so the finish command
294 works properly.
295 (show_regs): Change num1 and num2 types from "long long" to "LONGEST".
296 (d10v_read_fp, d10v_write_fp): New functions.
297 (d10v_push_arguments): Remove unneeded assigns to "val" and "contents".
298 (d10v_push_arguments): Fix for pointers and structs.
299 (d10v_extract_return_value): Fix for pointers and chars.
300
301 Tue Jan 20 18:53:18 1998 Stan Shebs <shebs@andros.cygnus.com>
302
303 * configure.tgt (i386-*-mach*, m88*-*-mach3*): Remove config
304 recognition, no source files for these (note that the i386 Mach
305 config is for pre-Mach 3).
306 (mips*-*-mach3*, ns32k-*-mach3*): Fix file names.
307 * config/mips/mipsel64.mt: Remove, never referenced.
308
309 Mon Jan 19 14:01:28 1998 Stan Shebs <shebs@andros.cygnus.com>
310
311 * top.c (print_gdb_version): Restore to original message.
312
313 Mon Jan 19 13:34:40 1998 Ian Lance Taylor <ian@cygnus.com>
314
315 From cgf@bbc.com (Chris Faylor):
316 * win32-nat.c (child_mourn_inferior): Call ContinueDebugEvent to
317 let the child exit.
318 (child_kill_inferior): Respond to all debug events as the child is
319 terminating.
320
321 * Makefile.in (all): Change gdb dependency to gdb$(EXEEXT).
322 (uninstall): Add $(EXEEXT) to file name to remove.
323 (gdb$(EXEEXT)): Rename target from plain gdb.
324 (gdb1$(EXEEXT)): Rename target from plain gdb1.
325 (clean, mostlyclean): Add $(EXEEXT) to binary names to remove.
326
327 1998-01-16 Felix Lee <flee@cygnus.com>
328
329 * top.c (print_gdb_version): delete stutter.
330
331 Thu Jan 15 12:29:13 1998 Nick Clifton <nickc@cygnus.com>
332
333 * remote-rdi.c (arm_rdi_open): Patch from Tony.Thompson@arm.com
334 to prevent spurous error messages on non-ICE targets.
335
336 start-sanitize-vr4111
337 Thu Jan 15 09:28:52 1998 Gavin Koch <gavin@cygnus.com>
338
339 * configure.tgt: Create the vr4111 as a copy of the vr4100.
340
341 end-sanitize-vr4111
342 Wed Jan 14 19:27:02 1998 Stan Shebs <shebs@andros.cygnus.com>
343
344 * config/mips/{r3900.mt,r3900l.mt,tm-r3900.h,tm-r3900l.h}:
345 Remove, no longer used.
346
347 start-sanitize-d30v
348 Wed Jan 14 18:11:26 1998 Michael Meissner <meissner@cygnus.com>
349
350 Patch from Jim Wilson.
351 * d30v-tdep.c (d30v_frame_find_saved_regs_offsets): Properly
352 declare void function before use.
353
354 * config/d30v/tm-d30v.h (CALL_DUMMY): Initialize as { 0 }, not {}.
355
356 end-sanitize-d30v
357 Tue Jan 13 16:38:48 1998 Fred Fish <fnf@cygnus.com>
358
359 * configure.in (--with-mmalloc): Add new configure arg to use the
360 mmalloc package. Default is to not use it.
361 (START_INFERIOR_TRAPS_EXPECTED): Define to the integer 2, not
362 the string "2".
363 * acconfig.h (USE_MMALLOC, FORCE_MMCHECK): Add #undef.
364 * configure: Regenerated.
365 * config.in: Regenerated.
366 * Makefile.in (MMALLOC_DIR, MMALLOC_SRC): Remove.
367 (MMALLOC): Set using configure.
368 (MMALLOC_CFLAGS): Set using configure.
369
370 * config/i386/tm-linux.h (sys_quotactl): Define to 1 rather
371 than just defining it.
372 * mpw-make.sed: Undefine USE_MMALLOC rather than defining NO_MMALLOC.
373 * utils.c (NO_MMALLOC): Use USE_MMALLOC instead.
374 * objfiles.c: ditto.
375 * defs.h: ditto.
376
377 * config/sparc/sun4os4.mh (MMALLOC_CFLAGS): Remove.
378 * config/m68k/sun3os4.mh (MMALLOC_CFLAGS): Remove.
379 * config/i386/cygwin32.mh (MMALLOC_CFLAGS): Remove.
380 * config/alpha/alpha-osf3.mh (MMALLOC_CFLAGS): Remove.
381 * config/alpha/alpha-osf2.mh (MMALLOC_CFLAGS): Remove.
382 * gdbserver/Makefile.in (MMALLOC_*): Remove.
383 * config/rs6000/rs6000.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
384 * config/rs6000/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
385 * config/powerpc/aix4.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
386 * config/powerpc/aix.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
387 * config/ns32k/ns32km3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
388 * config/mips/mipsm3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
389 * config/mips/decstation.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
390 * config/m88k/cxux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
391 * config/i386/xm-windows.h (NO_MMALLOC, NO_MMCHECK): Remove.
392 * config/i386/i386mk.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
393 * config/i386/i386m3.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
394 * config/i386/i386gnu.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
395 * config/alpha/alpha-osf1.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
396 * config/alpha/alpha-linux.mh (MMALLOC, MMALLOC_CFLAGS): Remove.
397
398 Mon Jan 12 11:46:51 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
399
400 * config/m68k/tm-m68k.h (REGISTER_VIRTUAL_TYPE): make A0 thru A7
401 default to void pointer type (so that their default radix is hex).
402
403 * symtab.c: move rbreak_command from no_class to class_breakpoint
404 so it will be listed under "help breakpoints".
405
406 Sat Jan 10 14:58:04 1998 Stan Shebs <shebs@andros.cygnus.com>
407
408 * rdi-share/hostchan.c: Remove gettimeofday declaration.
409
410 Thu Jan 8 11:03:59 1998 Nick Clifton <nickc@cygnus.com>
411
412 * remote-rdp.c: Applied patches submitted by Tony.Thompson@arm.com
413 to implement the Angel remote debugging interface.
414
415 * Makefile.in: Add build rules for remote-rdi.c and
416 rdi-share/libangsd.a.
417
418 * configure.tgt: Updated from source on branch.
419 * config/arm/tm-arm.h: Updated from source on branch.
420 * arm-tdep.c: Updated from source on branch.
421
422 * rdi-share: New directory, RDI library contributed by ARM.
423
424 Mon Jan 5 20:21:59 1998 Mark Alexander <marka@cygnus.com>
425
426 * monitor.h (MO_PRINT_PROGRAM_OUTPUT): Define.
427 * monitor.c (monitor_wait): Echo program output.
428 * dve3900-rom.c (_initialize_r3900_rom): Remove MO_HANDLE_NL flag,
429 add MO_PRINT_PROGRAM_OUTPUT flag.
430
431 Mon Jan 5 18:21:11 1998 David Taylor <taylor@texas.cygnus.com>
432
433 * top.h (HAVE_SIGSETJMP): define SIGJMP_BUF, SIGSETJMP, and
434 SIGLONGJMP appropriately based on whether HAVE_SIGSETJMP is
435 defined.
436 * top.c (return_to_top_level, catch_errors): use the new macros
437 * main.c (SET_TOP_LEVEL): ditto.
438 * config/xm-sysv4.h (HAVE_SIGSETJMP): Define.
439
440 Fri Jan 2 18:48:58 1998 Mark Alexander <marka@cygnus.com>
441
442 * configure.in: Double up brackets in shell case pattern.
443
444 Fri Jan 2 17:06:05 1998 Michael Snyder (msnyder@cleaver.cygnus.com)
445
446 * tracepoint.c (finish_tfind_command): improved algorithm for
447 deciding when we've "stepped" into a new stack frame.
448 (map_args_over_tracepoints): loop over tracepoint list "safely",
449 since list elements may be deleted during loop.
450 (read_actions): add actions to history list.
451
452 For older changes see ChangeLog-97
453 \f
454 Local Variables:
455 mode: indented-text
456 left-margin: 8
457 fill-column: 74
458 version-control: never
459 End:
This page took 0.041198 seconds and 4 git commands to generate.