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