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