]> Git Repo - binutils.git/blame - gdb/ChangeLog
Document new -m32r command line switch
[binutils.git] / gdb / ChangeLog
CommitLineData
ef7904ee
JB
12000-03-06 Jim Blandy <[email protected]>
2
3 * solib.c (first_link_map_member): Doc fix.
4
2f16bb32
EZ
52000-03-06 Elena Zannoni <[email protected]>
6
7 From Eli Zaretskii <[email protected]>:
8
9 * event-loop.c (poll_timers): Don't compare delta.tv_sec with
10 zero, since time_t might be unsigned.
11
b948cda9
MK
122000-03-06 Mark Kettenis <[email protected]>
13
14 * i386-linux-nat.c (supply_fpregset): Mask off the reserved bits
15 in *FPREGSETP.
16 (convert_to_fpregset): Don't touch the reserved bits in *FPREGSETP.
17
9eaaac16
MK
182000-03-05 Mark Kettenis <[email protected]>
19
20 Allow GDB to run on Linux 2.0 again.
21 * config.in: Add HAVE_PTRACE_GETREGS.
22 * configure.in: Check if <sys/ptrace.h> defines PTRACE_GETREGS.
23 * configure: Regenerated.
24 * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER,
25 CANNOT_STORE_REGISTER): New defines.
26 * i386-linux-nat.c (have_ptrace_getregs): New variable.
27 (PTRACE_XFER_TYPE, CANNOT_FETCH_REGISTER, fetch_register,
28 old_fetch_inferior_registers, CANNOT_STORE_REGISTER,
29 store_register, old_store_inferior_registers): Copied over from
30 `inptrace.c' as a temporary measure.
31 (fetch_regs, store_regs, fetch_fpregs, store_fpregs):
32 Conditionalize on HAVE_PTRACE_GETREGS. Define stubs if
33 HAVE_PTRACE_GETREGS isn't defined.
34 (fetch_regs): Reset `have_ptrace_getregs' if ptrace call fails
35 with EIO.
36 (fetch_inferior_registers, store_inferior_registers): Fall back on
37 the method use in `infptrace.c' (by calling
38 old_fetch_inferior_registers and old_store_inferior_registers) if
39 `have_ptrace_getregs' isn't set.
40
04cd15b6
MK
412000-03-05 Mark Kettenis <[email protected]>
42
43 * i386-linux-nat.c: Use elf_gregset_t and elf_fpregset_t instead
44 of gregset_t and fpregset_t. Those are the only names that are
45 guaranteed to specify the right types for all supported Linux
46 systems out there.
47 Various doc fixes and gratitious local variable renames, all in an
48 attempt to stress similarities between the code and unify the
49 terminology used. Use ISO-C all over.
50 (regmap): Remove trailing comma.
51 (FPREG_ADDR): Renamed from FPREGSET_T_FPREG_ADDR.
52 (convert_to_gregset): Make static. Remove GDB_REGS argument. It
53 is unnecessary and wasn't used anyway. All callers changed.
54 (convert_to_fpregset, convert_to_xfpregset): Likewise.
55 (fetch_regs, store_regs): Remove unused variable `regno'.
56 (fill_fpregs): If REGNO is not -1, only update the specified
57 register.
58 (fetch_core_registers): Renamed from
59 i386_linux_fetch_core_registers. There is no need for a unique
60 name since the function is static anyway.
61 (linux_elf_core_fns): Renamed from i386_linux_nat_core_functions
62 since it is more descriptive.
63
9ec7faef
AC
64Sun Mar 5 19:40:27 2000 Andrew Cagney <[email protected]>
65
66 * MAINTAINERS (readline/): Expand to include host maintainers.
67
45a816d9
MK
682000-03-04 Mark Kettenis <[email protected]>
69
70 Fix support for Linux/i386 signal trampolines. The old approach
71 didn't work for Linux 2.2 and beyond, and didn't work with recent
72 versions of the GNU C library.
73 * i386-tdep.c (LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
74 LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): New defines.
75 (linux_rt_sigtramp_code): New variable.
76 (LINUX_RT_SIGTRAMP_LEN): New define.
77 (i386_linux_rt_sigtramp_start): New function. Detect start of
78 signal trampolines for RT signals.
79 (i386_linux_sigtramp): Removed.
80 (i386_linux_in_sigtramp): New function.
81 (i386_linux_sigcontext_addr): New function. Recognize the names
82 of the signal tranmpolines used by recent versions of the GNU C
83 library, and add support for RT signals.
84 (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET): New
85 defines. Moved here from config/i386/tm-linux.h.
86 (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp):
87 Reimplement in terms of i386_linux_sigcontext_addr.
88 * config/i386/tm-linux.h (LINUX_SIGCONTEXT_SIZE): Removed.
89 (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET):
90 Moved to i386-tdep.c.
91 (IN_SIGTRAMP): Redefine to call i386_linux_in_sigtramp.
92
109213fc 93Sat Mar 4 19:38:11 2000 Andrew Cagney <[email protected]>
b70bc471 94
109213fc 95 By: Sat Mar 4 04:08:58 2000 Alexandre Oliva <[email protected]>
b70bc471
AO
96 * Makefile.in (all-gdbtk): Fix $srcdir to ${srcdir}.
97
7158fd7f
AC
98Sat Mar 4 17:23:06 2000 Andrew Cagney <[email protected]>
99
100 * MAINTAINERS: Frank Ch. Eigler and Andrew Cagney co-ordinate the
101 sim directory.
102
e7411eaa
AC
103Sat Mar 4 16:19:31 2000 Andrew Cagney <[email protected]>
104
105 * MAINTAINERS: Add Michael Snyder and Peter Schauer to list of
106 ``Blanket Write Privs'' maintainers.
107
392746e5
AC
108Sat Mar 4 15:58:40 2000 Andrew Cagney <[email protected]>
109
9ec7faef 110 From Sun 20 Feb 2000 Robert Lipe <[email protected]>:
392746e5
AC
111 * language.c (longest_local_hex_string_custom): Don't compile
112 'long long' section if host doesn't have 'long long'.
113
7acb79c8
AC
114Sat Mar 4 15:45:38 2000 Andrew Cagney <[email protected]>
115
116 * language.c (longest_raw_hex_string): Comment out. Appears
117 unused.
118
082faf24
AC
119Sat Mar 4 13:02:09 2000 Andrew Cagney <[email protected]>
120
121 * utils.c (mcalloc), defs.h (mcalloc): Keep consistent with
122 "mmalloc.h" which means using PTRs.
123 (init_malloc, msavestring, mstrsave): Convert to PTR free ISO-C.
124
a9ac8f51
AC
125Sat Mar 4 11:49:21 2000 Andrew Cagney <[email protected]>
126
127 * defs.h (store_address, store_unsigned_integer, store_address):
128 Replace PTR with void* in delcaration.
129 * findvar.c (extract_signed_integer, extract_unsigned_integer,
130 extract_long_unsigned_integer, extract_address,
131 store_signed_integer, store_unsigned_integer, store_address):
132 Convert definition to ISO-C. Replace PTR with void*.
133
e4005526
AC
134Sat Mar 4 10:57:25 2000 Andrew Cagney <[email protected]>
135
136 * defs.h (make_cleanup_func): Document as deprecated.
137 (make_cleanup_ftype): New typedef. Make signature consistent with
138 other function typedefs. Document as not be used out side of
139 make_cleanup code. Use in make_cleanup declarations.
e54a9244 140 (null_cleanup): Replace PTR with void*.
e4005526
AC
141
142 * utils.c (make_cleanup, make_final_cleanup, make_run_cleanup,
143 make_exec_cleanup, make_exec_error_cleanup, make_my_cleanup,
144 null_cleanup): Change K&R definition to ISO-C using void* and
145 make_cleanup_fytpe.
146 (discard_my_cleanups): Don't cast argument to free.
147
97bb9d91
EZ
1482000-03-03 Elena Zannoni <[email protected]>
149
150 * defs.h (struct continuation_arg): Change type of field 'data'
151 from PTR to void *.
152
153 * event-loop.h: Eliminate uses of PTR, use 'void *' instead.
154
155 * event-top.c: Ditto.
156
b3a90332
AC
157Fri Mar 3 15:39:34 2000 Andrew Cagney <[email protected]>
158
159 * Makefile.in (CONFIG_CLEAN, CONFIG_ALL, LN_S): Defined by
160 configure.
161 (SUBDIR_MI_CLEAN, SUBDIR_GDBTK_CLEAN, SUBDIR_MI_ALL,
162 SUBDIR_GDBTK_ALL): Define.
163 (all-gdbtk, clean-gdbtk): New targets.
164 (all): Add CONFIG_ALL as dependency.
165 (clean): Add CONFIG_CLEAN as dependency.
166
167 * configure.in (CONFIG_ALL, CONFIG_CLEAN): Define.
168 (LN_S): Define. Delete GDBtk's link code.
169
379d6434
AC
170Fri Mar 3 13:12:34 2000 Andrew Cagney <[email protected]>
171
172 * configure.in (ENABLE_GDBTK): Delete variable.
173 (enable-gdbtk): Only enable gdbtk when there is a GDBTK directory.
174 * Makefile.in: Update.
175 * configure: Regenerate
176
7b64ac2f
EZ
1772000-03-02 Elena Zannoni <[email protected]>
178
179 * config/alpha/alpha-linux.mh: Remove core-regset.o fron the
180 NATDEPFILES list.
181
667620fa
MK
1822000-03-02 Mark Kettenis <[email protected]>
183
184 * config/i386/tm-i386aix.h (NUM_FPREGS, NUM_REGS, REGISTER_BYTES):
185 Override definitions to include the normal FPU registers.
186 (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
187 REGISTER_CONVERT_TO_RAW): Removed. The default definitions are
188 fine for AIX/i386.
189 (i387_to_double, double_to_i387): Remove prototypes.
190
3db87ba3
KB
1912000-03-02 Kevin Buettner <[email protected]>
192
193 * findvar.c (extract_floating, store_floating): Use target
194 floating point type sizes rather host sizes to determine
195 which conversion needs to be done.
196
6c7e601e
ND
1972000-03-02 Nick Duffek <[email protected]>
198
199 * uw-thread.c: Apply GNU conventions to comment formatting.
200 (deactivate_uw_thread): Call remove_thread_event_breakpoints().
201 (uw_thread_mourn_inferior): Move remove_thread_event_breakpoints()
202 call to deactivate_uw_thread().
203
a09e9d09
AC
204Thu Mar 2 09:04:46 2000 Andrew Cagney <[email protected]>
205
206 * MAINTAINERS: Daniel Berlin is C++ maintainer.
207
ef7b4488
AC
208Thu Mar 2 08:55:35 2000 Andrew Cagney <[email protected]>
209
210 * MAINTAINERS: Mark Kettenis is the x86 architcture maintainer and
211 a joint GNU/Linux/x86 maintainer. Nick Duffeck and Robert Lipe
212 share SCO/Unixware. Nick Duffek and Peter Schauer share
213 Solaris/x86.
a09e9d09 214
75660bc0
AC
215Wed Mar 1 22:12:35 2000 Andrew Cagney <[email protected]>
216
217 From Wed 23 Feb 2000 Fernando Nasser <[email protected]>:
218 * remote-sim.c (gdbsim_close): Call generic_mourn_inferior.
219 * remote-rdi.c (arm_rdi_close): Ditto.
220
15db4a06
AC
221Wed Mar 1 19:31:32 2000 Andrew Cagney <[email protected]>
222
223 * CONTRIBUTE (configure.in): Note that patches to configure are
224 not needed.
225
80582566
MK
2262000-03-01 Mark Kettenis <[email protected]>
227
228 * MAINTAINERS: Correct my own mail address.
229
dfe25b3a
AC
230Wed Mar 1 11:26:07 2000 Andrew Cagney <[email protected]>
231
232 * MAINTAINERS: Document people with paperwork pending.
233
05e28a7b
AC
234Wed Mar 1 00:49:06 2000 Andrew Cagney <[email protected]>
235
236 From 2000-02-28 Peter Schauer <[email protected]>:
237 Make NEW_PROC_ABI interface functional on Solaris x86.
238 * sol-thread.c (ps_lgetLDT): Rewrite to use new
239 procfs_find_LDT_entry function from procfs.c, mostly copied from
240 lin-thread.c.
241 * inferior.h, procfs.c (procfs_get_pid_fd): Removed, no longer
242 needed.
243
b241ba8e
AC
244Wed Mar 1 00:34:55 2000 Andrew Cagney <[email protected]>
245
246 From 2000-02-26 Peter Schauer <[email protected]>:
247 * config/i386/tm-i386sol2.h (MERGEPID): Define.
248
1211c4e4
AC
249Wed Mar 1 00:06:19 2000 Andrew Cagney <[email protected]>
250
251 From 1999-08-13 J.T. Conklin <[email protected]>:
252 * config/i386/tm-i386.h (FRAME_INIT_SAVED_REGS): Replace
253 FRAME_FIND_SAVED_REGS.
254 (i386_frame_init_saved_regs): Replace i386_frame_find_saved_regs.
255 * i386-tdep.c (i386_frame_init_saved_regs, i386_pop_frame):
256 Update.
257
2fc18c15
AC
258Tue Feb 29 23:56:41 2000 Andrew Cagney <[email protected]>
259
260 From 2000-02-23 Peter Schauer <[email protected]>:
261 * objfiles.c (open_mapped_file): Fix obsolete references to `mapped'
262 parameter.
263
02409499
AC
264Tue Feb 29 18:47:58 2000 Andrew Cagney <[email protected]>
265
266 From 2000-02-23 Eli Zaretskii <[email protected]>:
267 * config/i386/nm-go32.h (FLOAT_INFO): Remove macro definition.
268 (top level): Add prototypes for go32_* functions.
269 * config/i386/tm-go32.h (I386_DJGPP_TARGET): Define.
270 (FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC):
271 Override definitions from tm-i386.h.
272 (REGISTER_VIRTUAL_TYPE): Remove macro definition.
273 * i386-tdep.c (i386_extract_return_value)
274 [I386_AIX_TARGET || I386_GNULINUX_TARGET]: Add I386_DJGPP_TARGET
275 to the list of targets which return FP values in FP registers.
276
277 * i386-tdep.c (i386_extract_return_value): Add FIXME recommending
278 that this function be re-implemented using multi-arch.
279
9d271fd8
AC
280Tue Feb 29 18:40:08 2000 Andrew Cagney <[email protected]>
281
282 From 2000-02-23 Eli Zaretskii <[email protected]>:
283 * utils.c [__GO32__]: Include pc.h, for prototypes of ScreenCols
284 and ScreenRows.
285 * ser-go32.c: Include string.h, for prototype of strncasecmp.
286 (dpmi_regs, dpmi_sregs): Remove unused variables.
287 (dos_flush_input): Return a value, to prevent compiler warning.
288 * expprint.c (dump_prefix_expression): Use %ld in format and cast
289 sizeof(union exp_element) to long, to prevent GCC from complaining
290 about format/argument mismatch.
291 (dump_postfix_expression): Likewise.
292
30f6df08
AC
293Tue Feb 29 18:09:46 2000 Andrew Cagney <[email protected]>
294
295 * arm-tdep.c: Include <ctype.h>.
296
d082b2bb
AC
297Tue Feb 29 17:33:49 2000 Andrew Cagney <[email protected]>
298
299 From Wed, 23 Feb 2000 Fernando Nasser <[email protected]>:
300 * stack.c (backtrace_command_1), infrun.c (normal_stop): Check
301 that the target's stack was valid.
302
244106e8
AC
303Tue Feb 29 15:14:56 2000 Andrew Cagney <[email protected]>
304
305 From 2000-02-22 Stephane Carrez <[email protected]>:
306 * dwarf2read.c (read_address): Read 16-bits addresses.
307
56624b0a
SB
3082000-02-28 Scott Bambrough <[email protected]>
309
310 * arm-linux-nat.c (fetch_nw_fpe_*):
311 Renamed to fetch_nwfpe_* to use the same naming convention
312 as in the Linux kernel. Modified prototype to get rid of
313 unused parameters.
314 (store_nw_fpe_*): Renamed to store_nwfpe_* to use the same
315 naming convention as in the Linux kernel. Fixed calls to
316 fetch_nwfpe_*.
317 (store_fpregs): Fixed calls to store_nwfpe_*. Removed
318 unused variable.
319
388c1733
AC
320Mon Feb 28 18:24:32 2000 Andrew Cagney <[email protected]>
321
322 * MAINTAINERS: Transfer d30v maintainership to David Taylor.
323
f0d42432
CF
3242000-02-28 Christopher Faylor <[email protected]>
325
326 * win32-nat.c: Remove unneeded header.
327 * wince.c: Ditto.
328
c322964e
AC
329Mon Feb 28 13:34:54 2000 Andrew Cagney <[email protected]>
330
331 * wince.c: Include "gdb_wait.h" and not "wait.h".
332
8860ff2e
AC
333Mon Feb 28 10:58:45 2000 Andrew Cagney <[email protected]>
334
335 * MAINTAINERS: Mention mmalloc. Expand Host/Native and
336 Target/Architecture maintainers descriptions.
337
942fd805
MK
3382000-02-26 Mark Kettenis <[email protected]>
339
340 * gnu-nat.c: Include "gdbthread.h". Include <hurd.h>.
341 Reorder headers a bit. Overall cleanup and minor reformatting.
342 (MIG_SERVER_DIED): Remove define.
343 (proc_update_sc): Add braces to silence compiler warning.
344 (proc_steal_exc_port): Initialize err to zero.
345 (make_proc): Add braces to silence compiler warning.
346 (inf_validate_task_sc): Add cast to silence compiler warning.
347 (inf_set_traced): Reorganize a bit to silence compiler warning.
348 (inf_validate_procs): Use mach_msg_type_number_t for all thread
349 numbers and add braces to silence compiler warning.
350 (gnu_wait): Add prototypes for server functions and add braces to
351 silence compiler warnings.
352 (S_exception_raise_request): Pass subcode to inf_debug call.
353 (gnu_write_inferior): Remove unused variable `protection_changed'.
354 (gnu_xfer_memory): Remove unused variable `result'.
355 (set_sig_thread_cmd): Remove unused varible `tid'.
356 (set_signals_cmd): Remve unused variable `trace'.
357 (add_task_commands): Provide complete prototype. Reformat help
358 strings a bit to make sure the first line is a full sentence.
359 Call info_port_rights_cmd instead of info_send_rights_cmd for the
360 "info port-rights" command.
361 (add_thread_commands): Provide complete prototype. Make static.
362 Reformat help strings a bit to make sure the first line is a full
363 sentence.
364 (_initialize_gnu_nat): Provide complete prototype.
365
75c6e08a
MK
3662000-02-26 Mark Kettenis <[email protected]>
367
368 Make cross-compilation for the Hurd more friendly.
369 From Jeff Bailey <[email protected]>:
370 * configure.in: Use AC_CHECK_TOOL to find MiG.
371 * Makefile.in (MIG): New variable.
372 * config/i386/i386gnu.mh (MIG): Remove.
373 * configure: Regenerated.
374
ddb20c56
KB
3752000-02-26 Kevin Buettner <[email protected]>
376
377 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add
378 comment explaining motivation behind this function and why
379 the generic facilities won't work for this platform.
380 * rs6000-tdep.c (skip_prologue): Always test to make sure
381 that an instruction is read successfully from the target's
382 memory. Introduce notion of instructions which may appear in
383 the prologue, but may not end the prologue. Added explicit
384 check for nop instruction. Use memset() to zero the frame
385 data instead of assignment from a statically allocated,
386 uninitialized structure.
387
2a20d068
AC
388Sat Feb 26 17:15:16 2000 Andrew Cagney <[email protected]>
389
390 * MAINTAINERS: Chris Faylor is responsible for all MS Windows
391 systems. Note that Jim Blandy as maintainer for ``tracing
392 bytecode stuff''
393
608d5915
FN
3942000-02-25 Fernando Nasser <[email protected]>
395
396 From: Thomas Zenker <[email protected]>
397 * rdi-share/hsys.c: to compile under 4.4BSD derived systems (FreeBSD,
398 NetBSD...) sys_errlist should not be declared in hsys.c.
399 NEED_SYSERRLIST is set already by configure, so we can use it.
400 * rdi-share/unixcomm.c: 4.4BSD derived systems define BSD, but are
401 posix compliant and we should not work with the old compatibility
402 stuff. Because of that I undef BSD in case of FBSD etc and include
403 sys/ioctl to get the flags.
404 * rdi-share/unixcomm.c: If the TIOCEXCL flags exists set serial line
405 for exclusive use.
406
482ca3f5
KB
4072000-02-24 Kevin Buettner <[email protected]>
408
409 * ppc-linux-tdep.c (ppc_sysv_abi_push_arguments): Put address
410 of return structure in r3 if necessary.
411 (ppc_linux_memory_remove_breakpoints): New function.
412 * rs6000-tdep.c (skip_prologue): Make sure that the cases
413 for storing either cr or lr to the stack only handle those
414 cases. (I.e, don't let these cases match 0x00000000 which is
415 found found in the shared library trampoline prior to the
416 loading of the shared library.)
417 * config/powerpc/tm-linux.h (ppc_linux_memory_remove_breakpoint):
418 Declare.
419 (MEMORY_REMOVE_BREAKPOINT): Define.
420
a526d713
AC
421Wed Feb 23 23:27:48 2000 Andrew Cagney <[email protected]>
422
423 * hppah-nat.c: Include "gdb_wait.h" instead of <wait.h>.
424
e56ac5c3
AC
425Thu Feb 24 18:42:15 2000 Andrew Cagney <[email protected]>
426
427 * configure.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Set to
428 $(SUBDIR_*_INSTALL) when so configured.
429 * configure: Regenerate.
430
431 * Makefile.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Define using
432 configure.
433 (install-only): Add dependency on $(CONFIG_INSTALL). Delete code
434 installing GDBtk.
435 (uninstall): Add dependency on $(CONFIG_UNINSTALL).
436 (SUBDIR_MI_INSTALL, SUBDIR_MI_UNINSTALL, SUBDIR_GDBTK_UNINSTALL,
437 SUBDIR_GDBTK_INSTALL): Define.
438 (install-gdbtk): New target.
439
b0b1b869
AC
440Thu Feb 24 18:19:52 2000 Andrew Cagney <[email protected]>
441
442 * configure.in (SUBDIR_MI_CFLAGS): Fix typo, wrong brace.
443 * configure: Regenerate.
444
091be84d
CF
4452000-02-24 Christopher Faylor <[email protected]>
446
447 * configure.tgt: Add arm, mips, sh wince targets.
448 * config/arm/tm-wince.h: New file.
33ee05bc 449 * config/arm/wince.mt: New file.
091be84d 450 * config/sh/tm-wince.h: New file.
33ee05bc 451 * config/sh/wince.mt: New file.
091be84d 452 * config/mips/tm-wince.h: New file.
33ee05bc 453 * config/mips/wince.mt: New file.
091be84d
CF
454 * wince.c: New file.
455 * wince-stub.c: New file.
456 * wince-stub.h: New file.
457 * sh-tdep.c: Use correct register names for Windows CE.
458
99eeeb0f
ND
459Wed Feb 23 19:01:45 EST 2000 Nicholas Duffek <[email protected]>
460
461 * top.c (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Update comments.
462 (error_return, quit_return): Merge into catch_return pointer.
463 (return_to_top_level): Update comment. Longjmp to *catch_errors,
464 and communicate reason to catch_errors via setjmp return value.
465 (catch_errors): Always catch both quit and error, and if a catch
466 wasn't requested by caller, throw it to the next catch_error.
467 Replace dual longjmp buffer memcpy with single pointer change.
468 Add FIXME for possibly adding new interface to tell caller what
469 event was caught. Add extensive comments.
470 * defs.h (enum return_reason): Reserve 0 for use as initial
471 setjmp() return value.
472 (RETURN_MASK): New public macro to generate RETURN_MASK_* from
473 enum return_reason.
474 (RETURN_MASK_QUIT, RETURN_MASK_ERROR): Define using RETURN_MASK.
475
242bfc55
FN
4762000-02-23 Fernando Nasser <[email protected]>
477
478 * infcmd.c (run_stack_dummy): Do not pop frame on random signal.
479 * valops.c (_initialize_valops): Add command "set unwindonsignal".
480 (hand_function_call): Test for unwind_on_signal and act accordingly.
481
ff844c8d
AC
482Wed Feb 23 12:58:46 2000 Andrew Cagney <[email protected]>
483
484 * gdbarch.sh (dis_asm_read_memory): Change LEN to unsigned long.
485 Match ../include/dis-asm.h change.
486 * gdbarch.h: Regenerate.
487 * corefile.c (dis_asm_read_memory): Update.
488
fb40c209
AC
489Mon Feb 21 13:57:27 2000 Andrew Cagney <[email protected]>
490
491 * configure.in (CONFIG_INITS): Fix typo, was CONFIG_INIT.
492 (ENABLE_CFLAGS): Move initialization to start of file.
493 (enable-gdbmi): Add new configure option --enable-gdbmi. When
494 selected and an ${srcdir}/mi directory is present enable MI
495 interface.
496
497 * configure: Regenerate.
498
499 * Makefile.in (SUBDIR_MI_OBS, SUBDIR_MI_SRCS, SUBDIR_MI_DEPS,
500 SUBDIR_MI_INITS, SUBDIR_MI_LDFLAGS, SUBDIR_MI_CFLAGS): New macros.
501 (CONFIG_OBS, CONFIG_SRCS, CONFIG_DEPS, CONFIG_INITS,
502 CONFIG_LDFLAGS): New macros. Initialized by autoconf via
503 @CONFIG...@.
504 (INTERNAL_LDFLAGS, CDEPS, LINTFILES, DEPFILES, SOURCES,
505 INIT_FILES): Use $(CONFIG_...) instead of @CONFIG...@.
506
507 * mi: New directory. MI interface to GDB.
508
509 * defs.h (interpreter_p): Declare when UI_OUT.
510 * top.c (gdb_init): When interpreter_p, check that the interpreter
511 was recognized by one of the linked in interpreters.
512 * main.c (interpreter_p): Define.
513 (captured_main): When UI_OUT, check for ``-i <interpreter>'' option.
514 * event-top.c (display_gdb_prompt): When interpreter_p, assume
515 interpreter displays prompt.
516
517 * breakpoint.c (print_it_typical, watchpoint_check,
518 print_one_breakpoint, mention): When MI include additional
519 target status information.
520 * infrun.c (print_stop_reason, normal_stop): Ditto.
521
14e0eb3b
JB
5222000-02-22 Jim Blandy <[email protected]>
523
524 * gdbarch.sh: Make the `default' field really default to zero, as
525 documented.
526
527 Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.
528 * valops.c (COERCE_FLOAT_TO_DOUBLE): Rework definition to be
529 more function-like.
530 (default_coerce_float_to_double, standard_coerce_float_to_double):
531 New functions.
532 (value_arg_coerce): Adjust for new definition.
533 * value.h (default_coerce_float_to_double,
534 standard_coerce_float_to_double): New declarations for the above.
535 * gdbarch.sh (coerce_float_to_double): New entry, replacing macro.
536 * gdbarch.c, gdbarch.h: Regenerated.
537 * tm-alpha.h, tm-fr30.h, tm-m32r.h, tm-mips.h, tm-hppa.h,
538 tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change
539 definitions.
540 * mips-tdep.c (mips_coerce_float_to_double): Supply our own custom
541 function here.
542 (mips_gdbarch_init): Install that as our coerce_float_to_double
543 function.
544
50c9bd31
KB
5452000-02-22 Kevin Buettner <[email protected]>
546
547 * ppc-linux-nat.c (supply_gregset, supply_fpregset): Add return
548 type.
549 * ppc-linux-tdep.c (ppc_linux_at_sigtramp_return_path): Add
550 forward declaration.
551
552 * ppc-linux-tdep.c (ppc_linux_frame_saved_pc): Handle case
553 where the next frame is a signal handler caller.
554
555 * config/powerpc/tm-linux.h (PUSH_ARGUMENTS): Remove extraneous
556 undef.
557 (tm-linux.h): Include.
558 (tm-sysv4.h): Don't include (directly). config/tm-linux.h will
559 include this file for us.
560 (REALTIME_LO, REALTIME_HI): Don't define. These are defined by
561 config/tm-linux.h for us.
562 (SOFUN_ADDRESS_MAYBE_MISSING): Define.
563
223b8554
KB
5642000-02-21 Kevin Buettner <[email protected]>
565
566 * Makefile.in (ppc-linux-nat.c, ppc-linux-tdep.c): New files.
567 (ppc-linux-nat.o, ppc-linux-tdep.o): Add dependencies.
568 * configure.tgt (powerpc-*-linux*): Separate from powerpc-*-eabi
569 and like targets.
570
571 * ppc-linux-nat.c, ppc-linux-tdep.c, config/powerpc/linux.mt,
572 config/powerpc/nm-linux.h, config/powerpc/tm-linux.h: New files.
573 * config/powerpc/xm-linux.h: Substantially revised for native
574 port.
8883511e
KB
575 * config/powerpc/linux.mh (NAT_FILE): Redefine to be nm-linux.h.
576 (NATDEPFILES): Update list to reflect the fact that we can
577 now debug natively.
223b8554
KB
578
579 * rs6000-tdep.c, config/rs6000/tm-rs6000.h
580 (rs6000_frameless_function_invocation, rs6000_frame_saved_pc):
581 Renamed; The former names were lacking the rs6000_ prefix.
582 * rs6000-tdep.c (rs6000_frame_saved_pc): Call FRAME_CHAIN
583 instead of rs6000_frame_chain.
584 (rs6000_frame_chain): Call FRAMELESS_FUNCTION_INVOCATION instead
585 of rs6000_frameless_function_invocation.
586
750334d7
EZ
5872000-02-21 Elena Zannoni <[email protected]>
588
589 From Philippe De Muyter <[email protected]>
590
591 * event-loop.c (handle_file_event): In case of poll, enable
592 printing of informational message if an error/exception is
593 detected on the file descriptor.
594
2403ff6f
JK
5952000-02-21 Jim Kingdon <[email protected]>
596
597 * MAINTAINERS (Misc): Clarify that yes, anyone can edit web pages.
598
f7cb3ef8
AC
599Mon Feb 21 12:50:57 2000 Andrew Cagney <[email protected]>
600
91b9ff21 601 * buildsym.c: Include "language.h" and "expression.h" for
f7cb3ef8
AC
602 longest_local_hex_string_custom.
603
0596389c
AC
604Mon Feb 21 11:17:18 2000 Andrew Cagney <[email protected]>
605
606 * gdbarch.sh: Include <gdb_wait.h> instead of <wait.h>.
607 * gdbarch.c: Already updated by Wed Feb 9 18:59:16 2000 Andrew
608 Cagney <[email protected]>.
609
f5bca8e7
AC
610Mon Feb 21 11:03:01 2000 Andrew Cagney <[email protected]>
611
612 * MAINTAINERS: Update: IA-64 - Kevin Buettner; ARM - Fernando
613 nasser, Jim Ingham and Scott Bambrough; GNU/Linux ARM - Scott
614 Bambrough; event loop - Elena Zannoni; SDS and RDI/APD protocol -
615 to Fernando Nasser and Jim Ingham; KOD - Fernando Nasser; MI -
616 Andrew Cagney, Elena Zannoni and Fernando Nasser; Web pages - Jim
617 Kingdon.
618 * MAINTAINERS: Add Nick Clifton to write after approval list.
619
538aae9d
AC
620Mon Feb 21 10:30:39 2000 Andrew Cagney <[email protected]>
621
622 * MAINTAINERS: Add note on multiple maintainers.
623
55555bbc
FN
6242000-02-19 Philippe De Muyter <[email protected]>
625
626 * cli-out.c (cli_table_header): Type of parameter `alignment' is
627 `enum ui_align', not `int'.
628 (cli_field_string, cli_field_skip): Likewise.
629
dea753cd 6302000-02-18 Jim Blandy <[email protected]>
9a90a845 631
dea753cd 632 From Jimmy Guo <[email protected]>:
9a90a845
JB
633 * buildsym.h (add_free_pendings): Declare.
634 * buildsym.c (add_free_pendings): New function.
635 (make_blockvector): 32x64 fix using longest_local_hex_string().
636 (start_subfile): initialize variable 'subfile'.
637
cca728d0
EZ
6382000-02-18 Elena Zannoni <[email protected]>
639
640 * remote.c (remote_async_detach): Use target_mourn_inferior(), to
641 make sure that all is cleaned up after we disconnect from the
642 target.
643 (remote_detach): Ditto.
644
e8b09175
FN
6452000-02-17 Fernando Nasser <[email protected]>
646
b8d86de3
FN
647 From Rodney Brown <[email protected]>
648 * ui-out.c (ui_out_set_flags): Fix typo, removing warning and
649 potentially harming mistake.
650
41815666
FN
6512000-02-17 Fernando Nasser <[email protected]>
652
e8b09175
FN
653 * arm-tdep.c: Use header file instead of extern declarations for
654 the {get,set}_arm_regname* functions.
655
d45b9300
FN
6562000-02-16 Fernando Nasser <[email protected]>
657
658 * configure.in: Replaces obsolete gdbtk-variable.c with
659 gdbtk-varobj.c.
660 * configure: Regenerate.
661 * Makefile.in: Remove obsolete/extraneous references to
662 gdbtk-var* files.
663
e95a43ad
MK
6642000-02-16 Mark Kettenis <[email protected]>
665
666 * target.c (do_target_signal_to_host): Do not use REALTIME_LO in
667 the conversion of the signal number. TARGET_SIGNAL_REALTIME_33 is
668 33 by definition, whereas REALTIME_LO might be 32 on systems that
669 have SIG32 such as Linux. Make sure that the signal number
670 returned is within the range specified by REALTIME_LO and
671 REALTIME_HI.
672
7433da22
MK
6732000-02-16 Mark Kettenis <[email protected]>
674
675 * configure: Regenerated.
676
bc90b915
FN
6772000-02-16 Fernando Nasser <[email protected]>
678
679 * arm-tdep.c (set_disassembly_flavor, arm_othernames,
680 _initialize_arm_tdep): Allows the user to choose between any of
681 the flavors available for the disassembly to be used in the "info
682 reg" command and elsewhere in gdb. It prevents having to maintain
683 this information in two places by using the data kept in the
684 opcodes directory.
685
83d37ec8
MK
6862000-02-09 Mark Kettenis <[email protected]>
687
688 * configure.in: Check for lwpid_t, psaddr_t, prgregset_t and
689 prfpregset_t in <sys/procfs.h>.
690 * config.in: Add HAVE_LWPID_T, HAVE_PSADDR_T, HAVE_PRGREGSET_T,
691 HAVE_PRFPREGSET_T.
692 * gdb_proc_service.h: Only provide typedefs for lwpid_t, psaddr_t,
693 prgregset_t and prfpregset_t if they are not already present.
694
eeefac92
AC
695Wed Feb 16 19:00:02 2000 Andrew Cagney <[email protected]>
696
697 From 2000-01-26 Rodney Brown <[email protected]>:
698 * procfs.c: Define MERGEPID if not defined. For osf4.0e.
699
1a645206
JM
7002000-02-15 Jason Molenda ([email protected])
701
702 * Makefile.in (diststuff): Run 'diststuff' in doc/ subdir, not
703 'do-doc'.
704
f6077098
KB
7052000-02-15 Kevin Buettner <[email protected]>
706
707 Changes for AIX 4.3:
708 * rs6000-tdep.c (rs6000_fix_call_dummy): Set TOC register
709 to correct value for generic dummy frames. When using
710 generic dummy frames, don't attempt to write TOC value or
711 function to call into the call dummy.
712 (rs6000_push_arguments): Adapt USE_GENERIC_DUMMY_FRAMES
713 code to also handle the PowerOpen ABI.
714 (ppc_push_return_address): Enable for all ports.
715 * config/powerpc/tm-ppc-aix.h (USE_GENERIC_DUMMY_FRAMES,
716 PUSH_DUMMY_FRAME, PUSH_RETURN_ADDRESS, GET_SAVED_REGISTER,
717 CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LOCATION,
718 CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET): Override defaults
719 provided by generic RS6000 definitions so that call dummies
720 are implemented using generic dummy frames instead.
721
722 * rs6000-nat.c (store_inferior_registers): Call exec_one_dummy_insn()
723 prior to changing the stack pointer via ptrace(). Also, ignore
724 attempts to store to undefined registers that are less than
725 NUM_REGS.
726
727 * rs6000-tdep.c (DUMMY_FRAME_SIZE): Change size of the dummy
728 frame from 436 to 448 to account for alignment padding.
729 (rs6000_push_arguments): Obtain actual register size instead
730 of assuming the register is 4 bytes long. [There's still
731 more work to be done to totally remove the 4 byte assumption,
732 however.] Make sure the stack is 16 byte aligned as required
733 by the PowerOpen ABI. Also, make sure that small structures
734 passed in registers are properly aligned within the register.
735
7362000-02-15 Jesper Skov <[email protected]>
737
738 Patch applied by Kevin Buettner <[email protected]>
739
740 * rs6000-tdep.c (skip_prologue): skip copying of argument
741 registers to local variable registers.
742
70d5406d
JK
7432000-02-14 Jim Kingdon <[email protected]>
744
745 * elfread.c (elf_symtab_read): Revert changes by Amit S. Kale. A
746 sym->section->index number is not a SECT_OFF_* code.
747
168770df
AC
748Tue Feb 15 12:07:30 2000 Andrew Cagney <[email protected]>
749
750 * MAINTAINERS (write after approval): Add H.J. Lu.
751
031d1bf1
NC
7522000-02-14 Nick Clifton <[email protected]>
753
754 * sh-tdep.c: Remove extraneous code.
755
2bc8a457
JK
7562000-02-14 Amit S. Kale <[email protected]>
757
758 * elfread.c (elf_symtab_read): Move the use of sym to after where
759 it is set.
760 Checked in by Jim Kingdon <[email protected]>
761
0c566c2e
AC
762Mon Feb 14 15:39:01 2000 Andrew Cagney <[email protected]>
763
764 * MAINTAINERS: Make Nick Duffek the UnixWare threads maintainer.
765
3ca72b44
AC
766Mon Feb 14 15:20:26 2000 Andrew Cagney <[email protected]>
767
768 From 1999-11-24 Jason Merrill <[email protected]>:
769 * dwarf2read.c: (die_is_declaration): New fn.
770 (read_structure_scope): Use it.
771
772 * dwarf2read.c: (die_is_declaration): Convert to ISO-C.
773
d6e9fb05
JK
7742000-02-10 J.T. Conklin <[email protected]>
775
776 * config/i386/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o
777 * configure.tgt (i[3456]86-*-netbsd*): add gdbserver to
778 configdirs.
779 * gdbserver/low-nbsd.c: New file.
780
781 * gdbserver/Makefile.in: convert to autoconf.
782 * gdbserver/configure.in: likewise.
783 * gdbserver/configure: generate.
784
41c8e009
AC
785Sun Feb 13 11:21:00 2000 Andrew Cagney <[email protected]>
786
787 * CONTRIBUTE: New file. How to contribute to GDB.
788
15929d05
AC
789Sun Feb 13 10:34:48 2000 Andrew Cagney <[email protected]>
790
791 * MAINTAINERS: Add Eli Zaretskii to djgpp maintiners. Add Kevin
792 Buettner to powerpc maintainers. Make Kevin Buettner the
793 GNU/LINUX PPC native maintainer. Add J.T. Conklin, Jim Kingdon
794 and Jason Molenda to write after aproval list.
795
5185fdd7
AC
796Sun Feb 13 10:18:44 2000 Andrew Cagney <[email protected]>
797
798 * MAINTAINERS: Reformat. Separate into check-in categories.
799
f086451a
ND
800Sat Feb 12 01:08:21 EST 2000 Nicholas Duffek <[email protected]>
801
802 * uw-thread.c: Remove __FUNCTION__ GNUism.
803
fa292f23
JK
8042000-01-17 Amit S. Kale <[email protected]>
805
806 * elfread.c (elf_symtab_read): Use offset for the section in which a
807 symbol resides, instead of .text section for calculating address of a
808 symbol.
809 Checked in by Jim Kingdon <[email protected]>
810
e18ef0bd
JK
8112000-02-10 Mark Kettenis <[email protected]>
812
813 * gnu-nat.c: Remove hackery to include <bits/waitflags.h>. It is
814 no longer necessary now we have gdb_wait.h.
815
f90b2b1d
JK
8162000-02-09 Mark Kettenis <[email protected]>
817
818 * gnu-nat.c (proc_string): Make global.
819 (do_mach_notify_dead_name): Suppress dead name notifications if we
820 know that the task is dead.
821
8221999-12-13 Mark Kettenis <[email protected]>
823
824 * gnu-nat.c (inf_validate_task_sc): Get task info via proc server
825 instead of directly from the kernel. Add some hackery to make
826 sure that the info isn't influenced by suspension of the task in
827 the proc server itself.
828
09f99d3f
JK
8292000-02-10 Jim Kingdon <[email protected]>
830
831 * defs.h (MERGEPID): Added. Patch submitted by Andrew Hobson and
832 approved by Michael Snyder.
833
203051af
AC
8342000-02-09 Mark Kettenis <[email protected]>
835
836 * linux-thread.c: Include defs.h before gdb_wait.h.
837
03f2053f
AC
838Wed Feb 9 18:59:16 2000 Andrew Cagney <[email protected]>
839
840 * Makefile.in (wait_h): Delete macro. Update all dependencies
841 specifying gdb_wait.h instead.
842
843 * ser-unix.c, ser-pipe.c, remote.c, remote-udi.c, remote-sds.c,
844 remote-os9k.c, remote-es.c, remote-rdp.c, remote-vx960.c,
845 remote-vx.c, remote-st.c, remote-nindy.c, remote-mm.c,
846 convex-xdep.c, convex-tdep.c, target.c, win32-nat.c, standalone.c,
847 remote-vxmips.c, remote-vxsparc.c, remote-vx68.c, remote-vx29k.c,
848 remote-sim.c, remote-rdi.c, remote-mips.c, remote-eb.c,
849 remote-e7000.c, remote-bug.c, remote-array.c, remote-adapt.c,
850 ppc-bdm.c, ocd.c, monitor.c, m3-nat.c, linux-thread.c,
851 infttrace.c, lin-thread.c, infptrace.c, gnu-nat.c, gdbarch.c,
852 fork-child.c, command.c: Include "gdb_wait.h" instead of <wait.h>
853 or <sys/wait.h>.
145679a8 854 * nindy-share/nindy.c, nindy-share/Onindy.c: Ditto.
03f2053f
AC
855
856 * gdb_wait.h: New file. Based on ../include/wait.h. Include
857 <sys/wait.h> or <wait.h> and then define any missing WIF macros.
858
489137c0
AC
859Wed Feb 9 01:14:54 2000 Andrew Cagney <[email protected]>
860
861 * config/d10v/tm-d10v.h (NO_EXTRA_ALIGNMENT_NEEDED): Define.
862 * config/d10v/tm-d10v.h (STACK_ALIGN): Define.
863 (d10v_stack_align): Declare.
864 * d10v-tdep.c (d10v_stack_align): Define.
865
ce808e91
AC
8661999-08-23 J.T. Conklin <[email protected]>
867
868 * top.c (remote_timeout): Change default to 2. Add comment
869 explaining history of changes to the default value.
6d05b4a6 870 * remote.c (_initialize_remote): Remove code that adds set/
ce808e91
AC
871 show remotetimeout, as that's also done in top.c
872
e9277ae8
AC
8731999-10-18 J.T. Conklin <[email protected]>
874
875 * m32r-stub.c, sparcl-stub.c, sparclet-stub.c (handle_exception):
876 Return E01 instead of P01 when 'P' command fails.
877
1216fa2c
AC
8782000-02-05 J.T. Conklin <[email protected]>
879
880 * remote.c (putpkt_binary): Handle NAK from target stub.
881
f2c4d933
EZ
8822000-02-08 Elena Zannoni <[email protected]>
883
884 * configure.in: Remove the addition of sol-thread.c to the
885 CONFIG_INITS list. This caused problems with init.c, because
886 sol-thread.c would be grepped twice for _initialize_* functions.
887 * configure: Ditto.
888 * Makefile.in: Add FIXME for init.c.
889
745b8ca0
JK
8902000-02-07 Jim Kingdon <[email protected]>
891
892 Clean up compiler warnings:
893 * bcache.h, bcache.c, c-valprint.c, coffread.c, stabsread.c,
894 stack.c, valprint.c: Change variables to unsigned.
895 * bcache.c: Rearrange to avoid warnings about variables not being set.
896 * c-lang.c, ch-lang.c, f-lang.c, m2-lang.c: Include valprint.h
897 rather than declaring print_max and repeat_count_threashold
898 ourselves (incorrectly).
899 * valprint.h: Do declare repeat_count_threashold.
900 * ch-exp.c: Use default case for internal error.
901 * findvar.c: Don't omit argument type.
902 * symtab.c: Remove unused variable.
903
4d9ab7f6
JK
9042000-02-04 Jim Blandy <[email protected]>
905
906 * c-typeprint.c (remove_qualifiers): New function.
907 (c_type_print_base): Use it to remove qualifiers from C++
908 qualified names, not strrchr.
909
910 * c-typeprint.c (c_type_print_base): Recognize type conversion
911 operators by calling is_type_conversion_operator.
912 (is_type_conversion_operator): New function.
913
dfcd3bfb
JM
9142000-02-04 Nick Clifton <[email protected]>
915
916 * config/arm/tm-arm.h (LOWEST_PC): Define.
917
9182000-02-04 Elena Zannoni <[email protected]>
919
920 * infrun.c (resume): Make just one call to target_resume(), instead
921 of four: set up correct parameters in all the cases ahead of time,
922 and do call at the end.
923
9242000-02-04 Elena Zannoni <[email protected]>
925
926 * config/powerpc/tm-ppc-eabi.h: Define
927 SOFUN_ADDRESS_MAYBE_MISSING.
928
9292000-02-04 Fernando Nasser <[email protected]>
930
931 * arm-tdep.c (arm_pc_is_thumb_dummy): Account for large dummy
932 frames (revisited).
933
934Fri Feb 4 22:42:36 2000 Andrew Cagney <[email protected]>
935
936 * Makefile.in (INIT_FILES): Append CONFIG_INITS
937 * configure.in (CONFIG_INIT): Initialize.
3fc11d3e
JM
938 (links): Link srcdir/gdbtk/library to gdbtcl2.
939 * gdbtcl2: Moved to gdbtk/library.
940 ChangeLog-gdbtk, gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c,
941 gdbtk-varobj.c, gdbtk-wrapper.c, gdbtk-wrapper.h, gdbtk.c,
942 gdbtk.h: Moved to gdbtk/generic.
dfcd3bfb
JM
943
9442000-02-03 Elena Zannoni <[email protected]>
945
946 * printcmd.c (build_address_symbolic): New function. Returns all
947 the parts that are necessary to print an address in a symbolic
948 form.
949 (print_address_symbolic): Split into a printing part and an
950 information building part, build_address_symbolic().
951
952 * defs.h (build_address_symbolic): Export.
953
9542000-02-03 Jim Blandy <[email protected]>
955
956 * dwarf2read.c (decode_locdesc): Add support for the DW_OP_bregx
957 opcode.
958
8b93c638
JM
9592000-02-02 Fernando Nasser <[email protected]>
960
961 * arm-tdep.c (arm_push_arguments): Fix passing of floating point
962 arguments on dummy frames.
963
9642000-02-02 Fernando Nasser <[email protected]>
965
966 * arm-tdep.c (arm_pc_is_thumb_dummy): Account for large dummy frames.
967 (arm_pop_frame): Account fr dummy frames (as opposed to real ones).
968
d9fcf2fb
JM
9692000-02-01 Elena Zannoni <[email protected]>
970
971 * remote.c (getpkt_sane): New function. It is the old getpkt(),
972 which now returns a timeout indication.
973 (getpkt): New function. Wrapper for getpkt_sane(), so that return
974 value can still be ignored.
975
8b93c638
JM
976Tue Feb 1 18:47:31 2000 Andrew Cagney <[email protected]>
977
978 * top.c (print_gdb_version): Print ``UI_OUT'' when configured with
979 UI_OUT.
980
d9fcf2fb
JM
981Tue Feb 1 00:17:12 2000 Andrew Cagney <[email protected]>
982
983 * ui-file.c, ui-file.h: Rename gdb-file.h, gdb-file.c. Rename
984 ``struct gdb_file'' to ``struct ui_file''. Delete typedef
985 GDB_FILE.
986
987 * Makefile.in: Update.
988
989 * ax-gdb.c, ax-general.c, ax.h, buildsym.c, c-lang.c, c-lang.h,
990 c-typeprint.c, c-valprint.c, ch-lang.c, ch-lang.h, ch-typeprint.c,
991 ch-valprint.c, command.c, command.h, convex-tdep.c, corefile.c,
992 cp-valprint.c, d10v-tdep.c, d30v-tdep.c, defs.h, expprint.c,
993 expression.h, f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c,
994 frame.h, gdb-events.sh, gdb-file.c, gdb-file.h, gdbcmd.h,
995 gdbtypes.h, hppa-tdep.c, jv-lang.c, jv-lang.h, jv-typeprint.c,
996 jv-valprint.c, language.c, language.h, m2-lang.c, m2-lang.h,
997 m2-typeprint.c, m2-valprint.c, m3-nat.c, main.c, monitor.c,
998 printcmd.c, pyr-tdep.c, remote-mips.c, remote-sim.c, remote-udi.c,
999 remote.c, scm-lang.c, scm-lang.h, scm-valprint.c, ser-e7kpc.c,
1000 ser-go32.c, ser-mac.c, ser-ocd.c, ser-unix.c, ser-unix.h,
1001 serial.c, serial.h, stack.c, symfile.c, symmisc.c, tahoe-tdep.c,
1002 target.c, target.h, top.c, top.h, typeprint.c, typeprint.h,
1003 utils.c, v850ice.c, valprint.c, valprint.h, value.h,
1004 config/pa/tm-hppa.h: Update.
8b93c638 1005 * cli-out.c, cli-out.h, ui-out.c, ui-out.h, varobj.c: Update.
d9fcf2fb 1006
da59e081
JM
10072000-01-31 Jason Molenda ([email protected])
1008
a9e0ce2c
JM
1009 * config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh,
1010 config/i386/i386dgux.mh, config/i386/i386sol2.mh,
1011 config/i386/i386v4.mh, config/i386/i386v42mp.mh,
1012 config/i386/ncr3000.mh, config/m68k/m68kv4.mh,
1013 config/m88k/delta88v4.mh, config/mips/irix4.mh,
1014 config/mips/irix5.mh, config/mips/mipsv4.mh,
da59e081 1015 config/powerpc/solaris.mh (NATDEPFILES): Change references to
a9e0ce2c 1016 proc_api.o, proc_events.o, proc_flags.o, and proc_why.o to
da59e081
JM
1017 proc-api.o, proc-events.o, proc-flags.o, and proc-why.o.
1018
1019Mon Jan 31 17:14:52 2000 Andrew Cagney <[email protected]>
1020
1021 * top.c (fputs_unfiltered_hook): Moved to tui/tui-file.c.
1022
1023 * main.c (captured_main): Only use the legacy tui_file code when
1024 linking in older code such as the TUI.
1025
1026 * gdb-file.h, gdb-file.c: New files.
1027 * utils.c, defs.h (struct gdb_file, gdb_file_new, gdb_file_delete,
1028 null_file_isatty, null_file_rewind, null_file_put,
1029 null_file_flush, null_file_write, null_file_fputs,
1030 null_file_delete, gdb_file_data, gdb_flush, gdb_file_isatty,
1031 gdb_file_rewind, gdb_file_put, gdb_file_write, fputs_unfiltered,
1032 set_gdb_file_flush, set_gdb_file_isatty, set_gdb_file_rewind,
1033 set_gdb_file_put, set_gdb_file_write, set_gdb_file_fputs,
1034 set_gdb_file_data, struct accumulated_gdb_file,
1035 do_gdb_file_xstrdup, gdb_file_xstrdup, struct mem_file):
1036 mem_file_new, mem_file_delete, mem_fileopen, mem_file_rewind,
1037 mem_file_put, mem_file_write, struct stdio_file): stdio_file_new,
1038 stdio_file_delete, stdio_file_flush, stdio_file_write,
1039 stdio_file_fputs, stdio_file_isatty, stdio_fileopen, gdb_fopen):
1040 Moved to gdb-file.h and gdb-file.c.
1041 * utils.c (enum streamtype, struct tui_stream, tui_file_new,
1042 tui_file_delete, tui_fileopen, tui_sfileopen, tui_file_isatty,
1043 tui_file_rewind, tui_file_put, tui_file_fputs,
1044 tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush,
1045 fputs_unfiltered_hook):
1046 Moved to tui/tui-file.c and tui/tui-file.h.
1047
1048 * Makefile.in (COMMON_OBS): Add gdb-file.o, tui-file.o.
1049 (tui-file.o, gdb-file.o): Add dependencies.
1050 (corefile.o, main.o, utils.o, simmisc.o): Update dependencies.
1051 * main.c: #include tui/tui-file.h.
1052
10532000-01-28 Fred Fish <[email protected]>
1054
1055 * findvar.c (value_from_register): Special case handling of D10V
1056 pointer values fetched from registers.
1057
10582000-01-28 Fernando Nasser <[email protected]>
1059
1060 * arm-tdep.c (thumb_skip_prologue, thumb_scan_prologue): Add
b55cf2e4 1061 support for new style thumb prologues.
da59e081
JM
1062
10632000-01-28 Nick Clifton <[email protected]>
1064
1065 * arm-tdep.c: Remove extraneous dash at start of strings
1066 introduced in previous delta.
1067
10682000-01-27 Nick Clifton <[email protected]>
1069
1070 * arm-tdep.c: Replace uses of arm_toggle_renames() with
b55cf2e4 1071 parse_arm_disassembler_option().
da59e081
JM
1072
10732000-01-27 Jim Blandy <[email protected]>
1074
1075 * symtab.c (decode_line_1): Don't let commas that are within
1076 quotes or parenthesis terminate the line spec. Don't use pp when
1077 removing the final double quote of a double-quoted string. Don't
1078 forget to skip the opening double quote. I have no clue whether
1079 this change is correct; probably we've just moved this function
1080 from one buggy place to another buggy place, and never came within
1081 an outhouse whiff of correctness.
1082 (find_toplevel_char): New function.
1083
10842000-01-27 Fernando Nasser <[email protected]>
1085
1086 * arm-tdep.c (arm_push_arguments): Set the thumb mode bit when
1087 passing the pointer to a thumb function as an argument.
1088
10892000-01-27 Fernando Nasser <[email protected]>
1090
1091 * remote-rdi.c (arm_rdi_mourn_inferior): Make sure breakpoints
1092 are reinserted for another run.
1093
8b93c638
JM
10942000-01-27 Fernando Nasser <[email protected]>
1095
1096 * cli-out.c (cli_filed_string): Test for NULL string.
1097
da59e081
JM
10982000-01-27 Fernando Nasser <[email protected]>
1099
1100 * infcmd.c (run_stack_dummy): Account for a random signal stopping
1101 the inferior as well as breakpoints being hit while performing an
1102 inferior function call.
1103 * valops.c (hand_function_call): Ditto.
1104
11052000-01-27 Elena Zannoni <[email protected]>
1106
1107 From Mark Kettenis <[email protected]>
1108
1109 * config/i386/tm-i386gnu.h (THREAD_STATE_FLAVOR): Define to
1110 i386_REGS_SEGS_STATE.
1111 (HAVE_I387_REGS): Define.
1112 (FLOAT_INFO): Remove.
1113 * i386gnu-nat.c: Almost completely rewritten to use new i386
1114 register layout and `float info' implementation.
1115 * gnu-nat.c (inf_update_procs, proc_get_state, proc_string):
1116 Move prototypes from here.
1117 * gnu-nat.h: To here.
1118
0fda6bd2
JM
11192000-01-24 Kevin Buettner <[email protected]>
1120
1121 * utils.c (get_field, put_field): Fix buffer underruns and
1122 overruns. Also, handle case where total_len is not evenly
1123 divisible by 8.
1124 (getfield): Make sure zeroing of unwanted bits occurs even
1125 when bit field to extract does not straddle two or more
1126 bytes.
1127
11282000-01-23 Christopher Faylor <[email protected]>
1129
1130 * defs.h: Add gdb_thread_select declaration.
1131
11322000-01-23 Kevin Buettner <[email protected]>
1133
1134 * linux-thread.c (_initialize_linuxthreads): Make sure that
1135 linuxthreads_block_mask does not block SIGCHLD.
1136
11372000-01-20 Fernando Nasser <[email protected]>
1138
1139 * rdi-share/devsw.c (openLogFile): On cygwin, set the log mode to
1140 text so that new lines work properly.
1141
11422000-01-18 Elena Zannoni <[email protected]>
1143
1144 * proc-utils.h: New file. Export functions from proc-*.c.
1145
1146 * proc_api.c: Rename to:
1147 * proc-api.c: New file. Add include of proc-utils.h.
1148
1149 * proc_events.c: Rename to:
1150 * proc-events.c: New file.
1151
1152 * proc_flags.c: Rename to:
1153 * proc-flags.c: New file.
1154
1155 * proc_why.c: Rename to:
1156 * proc-why.c: New file. Add include of proc-utils.h.
1157
1158 * procfs.c: Add includes of gdbthread.h, sys/wait.h, signal.h,
1159 ctype.h, proc-utils.h.
1160 (find_procinfo_or_die): Add braces to avoid ambiguous else clause.
1161 (open_procinfo_files): Conditionalize local variable tmp, to avoid
1162 compiler warnings.
1163 (proc_iterate_over_mappings): Conditionalize local vars mapfd and
1164 pathname.
1165 (procfs_wait): Adjust format in some printf_filetered calls to
1166 avoid compiler warnings.
1167 (make_signal_thread_runnable): Ifdef 0. The calls to this function
1168 are also ifdef'd 0 .
1169 (procfs_resume): Add parentheses around '&&' operation.
1170 (procfs_set_exec_trap): Remove unused variable.
1171 (info_proc_cmd): Add braces to avoid ambiguous else clause.
1172
1173 * Makefile.in (procfs.o, proc-api.o, proc-events.o, proc-flags.o,
1174 proc-why.o): Update dependencies.
1175
1176 * config/sparc/sun4sol2.mh (NATDEPFILES): Change proc_*.o files to
1177 proc-*.o.
1178
c5394b80
JM
11792000-01-17 Jason Molenda ([email protected])
1180
1181 * configure.in (NEW_PROC_API): Fix Unixware-matching regexp.
1182 Fix from Robert Lipe <[email protected]>.
1183 * configure: Regenerated.
1184
11852000-01-17 Elena Zannoni <[email protected]>
1186
1187 * stack.c (print_frame_info_base): Break up into the frame info
1188 (location) printing part and the rest (source line printing).
1189 (print_frame): New function. Take care of printing the location
1190 information.
1191 Update copyright.
1192
1193 * infrun.c (normal_stop): Use enum values rather than integers for the
1194 source_flag to be passed to show_and_print_stack_frame().
1195 Update copyright.
1196
1197 * frame.h (print_what): New enum for 'source' argument to
1198 print_frame_info_base(). Use this instead of obscure numbers.
1199 Update copyright.
1200
1201Sun Jan 16 17:58:00 2000 David Taylor <[email protected]>
1202
1203 * event-top.c (stdin_event_handler): call quit_command rather than
1204 exit -- run cleanups, give target code a chance to say goodbye to
1205 the target. Fixes bug where the inferior processes were left
1206 around on Solaris (and probably elsewhere) by the testsuite.
1207
12082000-01-14 Mark Salter <[email protected]>
1209
1210 * v850-tdep.c (v850_target_architecture_hook): Setup correct
1211 machine id for disassembly.
1212
0fda6bd2
JM
12132000-01-13 Jim Blandy <[email protected]>
1214
1215 * i386-linux-nat.c (fill_gregset): Pass the correct arguments to
1216 convert_to_regset, when regno indicates a specific register.
1217
c5394b80
JM
1218Thu Jan 13 23:34:17 EST 2000 Nicholas Duffek <[email protected]>
1219
1220 * uw-thread.c: Document libthread.so debugging interface. Minor
1221 comment and formatting tweaks.
1222 (DEBUG): #define as 0 instead of 1.
1223 (CALL_BASE): Include function name in error msg.
1224 (libthread_stub): Adjust inferior_pid after thread exit.
1225 (uw_thread_create_inferior): Deactivate uw_thread_ops before
1226 asking procfs_ops to create inferior.
1227 (libthread_init): Don't return nonlocally on error.
1228
12292000-01-12 Fernando Nasser <[email protected]>
1230
1231 * rdi-share/ardi.c (negotiate_params): Fix initialization of static
1232 variable.
1233
12342000-01-12 Fernando Nasser <[email protected]>
1235
1236 * remote-rdi.c (arm_rdi_open): Call arm-rdi-close() to make sure
1237 both sides are on the same state.
1238
12392000-01-12 Fernando Nasser <[email protected]>
1240
1241 * rdi-share/serdrv.c (find_baud_rate): Fix entries for 57600 and
1242 115200 (minor syntax mistake).
1243
12442000-01-12 Jim Blandy <[email protected]>
1245
1246 * config/sparc/tm-sun4sol2.h (MERGEPID): Provide a definition for
1247 this here, to go along with the definitions of PIDGET and TIDGET.
1248
12492000-01-12 Elena Zannoni <[email protected]>
1250
1251 * thread.c (do_captured_thread_select): New function. Switch
1252 current thread, safely from within catch_errors().
1253 (gdb_thread_select): New function. Switch threads safely.
1254 (thread_command): Use gdb_thread_select().
8b93c638
JM
1255 Include ui-out.h.
1256 (do_captured_list_thread_ids): New function.
1257 (gdb_list_thread_ids): New function.
1258
1259 * defs.h (gdb_thread_select, gdb_list_thread_ids): Export.
c5394b80
JM
1260
12612000-01-11 Christopher Faylor <[email protected]>
1262
1263 * configure.in: Avoid linking -limagehlp unless it's a native build.
1264 * configure: Regenerate.
1265 * thread.cc (add_thread): Clear private data pointer here or suffer
1266 strange behavior when it is checked for NULL later.
1267
0d06e24b
JM
12682000-01-09 Christopher Faylor <[email protected]>
1269
1270 * win32nat.c (handle_exceptions): Handle various arithmetic exceptions.
1271 * configure.in: Add an additional library to cygwin link.
1272 * configure: Regenerate.
1273
1274 Patch from Egor Duda <[email protected]>:
1275 * coffread.c (coff_symfile_read): Reinstate ability to recognize "pe"
1276 type.
1277
12782000-01-07 Michael Snyder <[email protected]>
1279
1280 * uw-thread.c: New file to support UnixWare user-mode threads:
aa47baa9 1281 contributed by Nickolas Duffek <[email protected]>.
0d06e24b
JM
1282 * target.h (struct target_ops): New vector, to_extra_thread_info,
1283 allows back-ends to give extra details in info thread display.
1284 (target_extra_thread_info): define new macro.
1285 (target_find_new_threads): simplify macro. Cleanup comments.
1286 * target.c (to_extra_thread_info): default and inherit new vector.
1287 (cleanup_target): eliminate PARAMS, break up long lines,
1288 provide default definition for to_extra_thread_info, and
1289 to_find_new_threads. Default to_thread_alive and to_query
1290 to return_zero, not target_ignore (they each return int not void).
1291 (debug_to_find_new_threads): new debug entry.
1292 (setup_target_debug): add debug_to_find_new_threads.
1293 * gdbthread.h: export struct thread_info, find_thread_pid, and
1294 iterate_over_threads. Add comments. Eliminate PARAMS. Update
1295 copyright. Add new private data pointer for use by target back-ends.
1296 * thread.c (struct thread_info): move definition to gdbthread.h.
1297 (find_thread_pid): new exported function for thread lookup.
2b266721 1298 (iterate_over_threads): new exported function for applying
0d06e24b
JM
1299 arbitrary operations to threads. Update copyright to 2000.
1300 (info_threads_command): use new target_extra_thread_info vector
1301 to display extra information about each thread (if implemented).
1302 * config/i386/tm-i386v42mp.h: remove obsolete #defines for procfs.
1303 Add defines for PIDGET, etc.
1304 * config/i386/tm-i386sol2.h: ditto.
1305 * config/sparc/tm-sun4sol2.h: ditto.
1306 * config/i386/i386v42mp.mh: add uw-thread.o to NATDEPFILES.
1307 * testsuite/gdb.threads/pthreads.exp: Try to link with -lthread
1308 if -lpthread and -lpthreads fail.
1309
1310 * procfs.c: (PIDGET, TIDGET, MERGEPID): change default to no-op.
1311 (proc_flags): combine flags that UnixWare splits into two locations.
1312 (proc_modify_flag): add support for PR_KLC (kill on last close).
1313 (proc_[un]set_kill_on_last_close): new functions.
1314
8b93c638
JM
13152000-01-07 Elena Zannoni <[email protected]>
1316
1317 * infrun.c (normal_stop): Print out thread id when we stop.
1318
0d06e24b
JM
13192000-01-06 Fernando Nasser <[email protected]>
1320
1321 * remote.c (remote_open_1): Fix message so it does not imply a
2b266721 1322 specific syntax for serial ports, as it is OS dependent.
0d06e24b
JM
1323 (remote_async_open_1): Ibid.
1324 (init_remote_ops): Ibid.
1325
13262000-01-06 Fernando Nasser <[email protected]>
1327
1328 * rdi-share/serdrv.c (SerialOpen): Use speed from "-b" argument or
1329 "set remotebaud" command (if set) when no speed is specified on
1330 the "target rdi" command.
1331
13322000-01-06 Fernando Nasser <[email protected]>
1333
1334 * rdi-share/serdrv.c (find_baud_rate): Add entries for 57600 and
1335 115200.
1336 (baud_options[]): Ibid.
1337
13382000-01-06 Fernando Nasser <[email protected]>
1339
1340 * rdi-share/unixcomm.c: Fix SERIAL_PREFIX so it matches the prefix
1341 used by each operating system.
1342
13432000-01-06 Elena Zannoni <[email protected]>
1344
1345 * breakpoint.c (until_break_command): Add an argument for the
1346 continuation, the beginning of the cleanups set up by this
1347 command.
1348 (until_break_command_continuation): Do cleanups until the one
1349 passed in as argument instead of doing all of them.
1350
1351 * infcmd.c (finish_command_continuation): Expect a new argument,
1352 which indicates up to where to do cleanups. Update calls to
1353 do_exec_cleanups to use this marker, instead of ALL_CLEANUPS.
1354 (finish_command): Add another argument for the continuation: the
1355 starting cleanup for this command.
1356
c3f6f71d 13572000-01-05 Fernando Nasser <[email protected]>
ed9a39eb 1358
c3f6f71d
JM
1359 From Grant Edwards <[email protected]> (original patch from Thomas
1360 Zenker ):
1361 * rdi-share/ardi.c: Allow interruption of interruptible
1362 targets with a <CNTL-C>.
ed9a39eb 1363
c3f6f71d 13642000-01-04 Fernando Nasser <[email protected]>
ed9a39eb 1365
c3f6f71d
JM
1366 * rdi-share/etherdrv.c (fetch_ports): Send extra words on request
1367 to control port to accommodate some versions of Angel.
ed9a39eb 1368
c3f6f71d 13692000-01-04 Fernando Nasser <[email protected]>
ed9a39eb 1370
c3f6f71d
JM
1371 * rdi-share/devsw.c (dumpPacket): Fix source of channel information.
1372 Add interpretation for C Support Library packets.
ed9a39eb 1373
c3f6f71d 13742000-01-04 Fernando Nasser <[email protected]>
ed9a39eb 1375
c3f6f71d
JM
1376 * rdi-share/devsw.c (DevSW_Close): Remove const from argument that
1377 is now being modified.
1378 * rdi-share/devsw.h: Adjust declaration of the above funtion.
ed9a39eb 1379
c3f6f71d 1380For older changes see ChangeLog-99
c906108c
SS
1381\f
1382Local Variables:
1383mode: change-log
1384left-margin: 8
1385fill-column: 74
1386version-control: never
1387End:
This page took 0.266524 seconds and 4 git commands to generate.