1 2000-03-10 Daniel Berlin <dan@cgsoftware.com>
2 Fix C++ overloading, add support for seeing through references.
4 * defs.h (STREQ_IW): add STREQ_IW, like STREQ, except it's
7 * valops.c (find_overload_match): Handle STABS overloading for
9 (find_overload_match): Look in right place for function arguments
11 (find_overload_match): Rather than giving up when we have >1
12 perfect match, just choose one, especially since the
13 recommendation GDB gives ("disambiguate it by specifying function
14 signature"), is basically impossible.
15 (check_field_in): STREQ->STREQ_IW
16 (search_struct_field): STREQ->STREQ_IW
17 (find_method_list): STREQ->STREQ_IW
19 * gdbtypes.c (rank_one_type): Add ability to see through
21 (rank_one_type): strcmp->strcmp_iw, because the whitespace could
23 (rank_function): Rank function properly (was doing it wrong
24 before, comparing the wrong parts of the arrays)
25 (rank_one_type): Change #if 0 to #ifdef DEBUG_OLOAD.
27 * gdbtypes.h: Add REFERENCE_CONVERSION_BADNESS for "badness"
28 associated with converting a non-reference to a reference.
31 Fri Mar 10 11:44:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
33 * MAINTAINERS: Devolve responsibility for domain maintenance.
35 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
37 * minsyms.c (prim_record_minimal_symbol_and_info): Add comment.
39 2000-02-25 Scott Bambrough <scottb@netwinder.org>
41 * gdb.base/long_long.exp: Correct test suite failure when printing
42 a long long value as a double on ARM platforms.
44 Thu Mar 9 14:21:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
46 * MAINTAINERS (Core): Anthony Green is the Java - including
47 testsuite - maintainer. Reformat testsuite and language support
50 2000-03-08 Mark Kettenis <kettenis@gnu.org>
52 * i386-tdep.c (i386_linux_saved_pc_after_call): New function.
53 * config/i386/tm-linux.h (SAVED_PC_AFTER_CALL): Define to call
54 i386_linux_saved_pc_after_call.
56 2000-03-06 Jim Blandy <jimb@redhat.com>
58 From Tom Tromey <tromey@cygnus.com> and Keith Seitz <?>:
60 * minsyms.c: #include <ctype.h>, for msymbol_hash_iw.
61 (compact_minimal_symbols): Added `objfile' argument.
62 Put symbols in the objfile's hash table.
63 (install_minimal_symbols): Put symbols in the objfile's demangled
65 (lookup_minimal_symbol): Use hash table to find symbol in
67 (msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): New
69 (prim_record_minimal_symbol_and_info): Initialize the
70 hash link fields of the new minimal symbol.
71 * symtab.h (struct minimal_symbol): New fields `hash_next',
72 `demangled_hash_next'.
73 (msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): Declare.
74 * objfiles.h (MINIMAL_SYMBOL_HASH_SIZE): New define.
75 (struct objfile): New fields `msymbol_hash',
76 `msymbol_demangled_hash'.
78 2000-03-06 Jim Blandy <jimb@redhat.com>
80 * solib.c (first_link_map_member): Doc fix.
82 2000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
84 From Eli Zaretskii <eliz@is.elta.co.il>:
86 * event-loop.c (poll_timers): Don't compare delta.tv_sec with
87 zero, since time_t might be unsigned.
89 2000-03-06 Mark Kettenis <kettenis@gnu.org>
91 * i386-linux-nat.c (supply_fpregset): Mask off the reserved bits
93 (convert_to_fpregset): Don't touch the reserved bits in *FPREGSETP.
95 2000-03-05 Mark Kettenis <kettenis@gnu.org>
97 Allow GDB to run on Linux 2.0 again.
98 * config.in: Add HAVE_PTRACE_GETREGS.
99 * configure.in: Check if <sys/ptrace.h> defines PTRACE_GETREGS.
100 * configure: Regenerated.
101 * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER,
102 CANNOT_STORE_REGISTER): New defines.
103 * i386-linux-nat.c (have_ptrace_getregs): New variable.
104 (PTRACE_XFER_TYPE, CANNOT_FETCH_REGISTER, fetch_register,
105 old_fetch_inferior_registers, CANNOT_STORE_REGISTER,
106 store_register, old_store_inferior_registers): Copied over from
107 `inptrace.c' as a temporary measure.
108 (fetch_regs, store_regs, fetch_fpregs, store_fpregs):
109 Conditionalize on HAVE_PTRACE_GETREGS. Define stubs if
110 HAVE_PTRACE_GETREGS isn't defined.
111 (fetch_regs): Reset `have_ptrace_getregs' if ptrace call fails
113 (fetch_inferior_registers, store_inferior_registers): Fall back on
114 the method use in `infptrace.c' (by calling
115 old_fetch_inferior_registers and old_store_inferior_registers) if
116 `have_ptrace_getregs' isn't set.
118 2000-03-05 Mark Kettenis <kettenis@gnu.org>
120 * i386-linux-nat.c: Use elf_gregset_t and elf_fpregset_t instead
121 of gregset_t and fpregset_t. Those are the only names that are
122 guaranteed to specify the right types for all supported Linux
124 Various doc fixes and gratitious local variable renames, all in an
125 attempt to stress similarities between the code and unify the
126 terminology used. Use ISO-C all over.
127 (regmap): Remove trailing comma.
128 (FPREG_ADDR): Renamed from FPREGSET_T_FPREG_ADDR.
129 (convert_to_gregset): Make static. Remove GDB_REGS argument. It
130 is unnecessary and wasn't used anyway. All callers changed.
131 (convert_to_fpregset, convert_to_xfpregset): Likewise.
132 (fetch_regs, store_regs): Remove unused variable `regno'.
133 (fill_fpregs): If REGNO is not -1, only update the specified
135 (fetch_core_registers): Renamed from
136 i386_linux_fetch_core_registers. There is no need for a unique
137 name since the function is static anyway.
138 (linux_elf_core_fns): Renamed from i386_linux_nat_core_functions
139 since it is more descriptive.
141 Sun Mar 5 19:40:27 2000 Andrew Cagney <cagney@b1.cygnus.com>
143 * MAINTAINERS (readline/): Expand to include host maintainers.
145 2000-03-04 Mark Kettenis <kettenis@gnu.org>
147 Fix support for Linux/i386 signal trampolines. The old approach
148 didn't work for Linux 2.2 and beyond, and didn't work with recent
149 versions of the GNU C library.
150 * i386-tdep.c (LINUX_RT_SIGTRAMP_INSN0, LINUX_RT_SIGTRAMP_OFFSET0,
151 LINUX_RT_SIGTRAMP_INSN1, LINUX_RT_SIGTRAMP_OFFSET1): New defines.
152 (linux_rt_sigtramp_code): New variable.
153 (LINUX_RT_SIGTRAMP_LEN): New define.
154 (i386_linux_rt_sigtramp_start): New function. Detect start of
155 signal trampolines for RT signals.
156 (i386_linux_sigtramp): Removed.
157 (i386_linux_in_sigtramp): New function.
158 (i386_linux_sigcontext_addr): New function. Recognize the names
159 of the signal tranmpolines used by recent versions of the GNU C
160 library, and add support for RT signals.
161 (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET): New
162 defines. Moved here from config/i386/tm-linux.h.
163 (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp):
164 Reimplement in terms of i386_linux_sigcontext_addr.
165 * config/i386/tm-linux.h (LINUX_SIGCONTEXT_SIZE): Removed.
166 (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET):
167 Moved to i386-tdep.c.
168 (IN_SIGTRAMP): Redefine to call i386_linux_in_sigtramp.
170 Sat Mar 4 19:38:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
172 By: Sat Mar 4 04:08:58 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
173 * Makefile.in (all-gdbtk): Fix $srcdir to ${srcdir}.
175 Sat Mar 4 17:23:06 2000 Andrew Cagney <cagney@b1.cygnus.com>
177 * MAINTAINERS: Frank Ch. Eigler and Andrew Cagney co-ordinate the
180 Sat Mar 4 16:19:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
182 * MAINTAINERS: Add Michael Snyder and Peter Schauer to list of
183 ``Blanket Write Privs'' maintainers.
185 Sat Mar 4 15:58:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
187 From Sun 20 Feb 2000 Robert Lipe <robertl@sco.com>:
188 * language.c (longest_local_hex_string_custom): Don't compile
189 'long long' section if host doesn't have 'long long'.
191 Sat Mar 4 15:45:38 2000 Andrew Cagney <cagney@b1.cygnus.com>
193 * language.c (longest_raw_hex_string): Comment out. Appears
196 Sat Mar 4 13:02:09 2000 Andrew Cagney <cagney@b1.cygnus.com>
198 * utils.c (mcalloc), defs.h (mcalloc): Keep consistent with
199 "mmalloc.h" which means using PTRs.
200 (init_malloc, msavestring, mstrsave): Convert to PTR free ISO-C.
202 Sat Mar 4 11:49:21 2000 Andrew Cagney <cagney@b1.cygnus.com>
204 * defs.h (store_address, store_unsigned_integer, store_address):
205 Replace PTR with void* in delcaration.
206 * findvar.c (extract_signed_integer, extract_unsigned_integer,
207 extract_long_unsigned_integer, extract_address,
208 store_signed_integer, store_unsigned_integer, store_address):
209 Convert definition to ISO-C. Replace PTR with void*.
211 Sat Mar 4 10:57:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
213 * defs.h (make_cleanup_func): Document as deprecated.
214 (make_cleanup_ftype): New typedef. Make signature consistent with
215 other function typedefs. Document as not be used out side of
216 make_cleanup code. Use in make_cleanup declarations.
217 (null_cleanup): Replace PTR with void*.
219 * utils.c (make_cleanup, make_final_cleanup, make_run_cleanup,
220 make_exec_cleanup, make_exec_error_cleanup, make_my_cleanup,
221 null_cleanup): Change K&R definition to ISO-C using void* and
223 (discard_my_cleanups): Don't cast argument to free.
225 2000-03-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
227 * defs.h (struct continuation_arg): Change type of field 'data'
230 * event-loop.h: Eliminate uses of PTR, use 'void *' instead.
232 * event-top.c: Ditto.
234 Fri Mar 3 15:39:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
236 * Makefile.in (CONFIG_CLEAN, CONFIG_ALL, LN_S): Defined by
238 (SUBDIR_MI_CLEAN, SUBDIR_GDBTK_CLEAN, SUBDIR_MI_ALL,
239 SUBDIR_GDBTK_ALL): Define.
240 (all-gdbtk, clean-gdbtk): New targets.
241 (all): Add CONFIG_ALL as dependency.
242 (clean): Add CONFIG_CLEAN as dependency.
244 * configure.in (CONFIG_ALL, CONFIG_CLEAN): Define.
245 (LN_S): Define. Delete GDBtk's link code.
247 Fri Mar 3 13:12:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
249 * configure.in (ENABLE_GDBTK): Delete variable.
250 (enable-gdbtk): Only enable gdbtk when there is a GDBTK directory.
251 * Makefile.in: Update.
252 * configure: Regenerate
254 2000-03-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
256 * config/alpha/alpha-linux.mh: Remove core-regset.o fron the
259 2000-03-02 Mark Kettenis <kettenis@gnu.org>
261 * config/i386/tm-i386aix.h (NUM_FPREGS, NUM_REGS, REGISTER_BYTES):
262 Override definitions to include the normal FPU registers.
263 (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
264 REGISTER_CONVERT_TO_RAW): Removed. The default definitions are
266 (i387_to_double, double_to_i387): Remove prototypes.
268 2000-03-02 Kevin Buettner <kevinb@redhat.com>
270 * findvar.c (extract_floating, store_floating): Use target
271 floating point type sizes rather host sizes to determine
272 which conversion needs to be done.
274 2000-03-02 Nick Duffek <nsd@cygnus.com>
276 * uw-thread.c: Apply GNU conventions to comment formatting.
277 (deactivate_uw_thread): Call remove_thread_event_breakpoints().
278 (uw_thread_mourn_inferior): Move remove_thread_event_breakpoints()
279 call to deactivate_uw_thread().
281 Thu Mar 2 09:04:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
283 * MAINTAINERS: Daniel Berlin is C++ maintainer.
285 Thu Mar 2 08:55:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
287 * MAINTAINERS: Mark Kettenis is the x86 architcture maintainer and
288 a joint GNU/Linux/x86 maintainer. Nick Duffeck and Robert Lipe
289 share SCO/Unixware. Nick Duffek and Peter Schauer share
292 Wed Mar 1 22:12:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
294 From Wed 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>:
295 * remote-sim.c (gdbsim_close): Call generic_mourn_inferior.
296 * remote-rdi.c (arm_rdi_close): Ditto.
298 Wed Mar 1 19:31:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
300 * CONTRIBUTE (configure.in): Note that patches to configure are
303 2000-03-01 Mark Kettenis <kettenis@gnu.org>
305 * MAINTAINERS: Correct my own mail address.
307 Wed Mar 1 11:26:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
309 * MAINTAINERS: Document people with paperwork pending.
311 Wed Mar 1 00:49:06 2000 Andrew Cagney <cagney@b1.cygnus.com>
313 From 2000-02-28 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
314 Make NEW_PROC_ABI interface functional on Solaris x86.
315 * sol-thread.c (ps_lgetLDT): Rewrite to use new
316 procfs_find_LDT_entry function from procfs.c, mostly copied from
318 * inferior.h, procfs.c (procfs_get_pid_fd): Removed, no longer
321 Wed Mar 1 00:34:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
323 From 2000-02-26 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
324 * config/i386/tm-i386sol2.h (MERGEPID): Define.
326 Wed Mar 1 00:06:19 2000 Andrew Cagney <cagney@b1.cygnus.com>
328 From 1999-08-13 J.T. Conklin <jtc@redback.com>:
329 * config/i386/tm-i386.h (FRAME_INIT_SAVED_REGS): Replace
330 FRAME_FIND_SAVED_REGS.
331 (i386_frame_init_saved_regs): Replace i386_frame_find_saved_regs.
332 * i386-tdep.c (i386_frame_init_saved_regs, i386_pop_frame):
335 Tue Feb 29 23:56:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
337 From 2000-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
338 * objfiles.c (open_mapped_file): Fix obsolete references to `mapped'
341 Tue Feb 29 18:47:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
343 From 2000-02-23 Eli Zaretskii <eliz@is.elta.co.il>:
344 * config/i386/nm-go32.h (FLOAT_INFO): Remove macro definition.
345 (top level): Add prototypes for go32_* functions.
346 * config/i386/tm-go32.h (I386_DJGPP_TARGET): Define.
347 (FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC):
348 Override definitions from tm-i386.h.
349 (REGISTER_VIRTUAL_TYPE): Remove macro definition.
350 * i386-tdep.c (i386_extract_return_value)
351 [I386_AIX_TARGET || I386_GNULINUX_TARGET]: Add I386_DJGPP_TARGET
352 to the list of targets which return FP values in FP registers.
354 * i386-tdep.c (i386_extract_return_value): Add FIXME recommending
355 that this function be re-implemented using multi-arch.
357 Tue Feb 29 18:40:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
359 From 2000-02-23 Eli Zaretskii <eliz@is.elta.co.il>:
360 * utils.c [__GO32__]: Include pc.h, for prototypes of ScreenCols
362 * ser-go32.c: Include string.h, for prototype of strncasecmp.
363 (dpmi_regs, dpmi_sregs): Remove unused variables.
364 (dos_flush_input): Return a value, to prevent compiler warning.
365 * expprint.c (dump_prefix_expression): Use %ld in format and cast
366 sizeof(union exp_element) to long, to prevent GCC from complaining
367 about format/argument mismatch.
368 (dump_postfix_expression): Likewise.
370 Tue Feb 29 18:09:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
372 * arm-tdep.c: Include <ctype.h>.
374 Tue Feb 29 17:33:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
376 From Wed, 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>:
377 * stack.c (backtrace_command_1), infrun.c (normal_stop): Check
378 that the target's stack was valid.
380 Tue Feb 29 15:14:56 2000 Andrew Cagney <cagney@b1.cygnus.com>
382 From 2000-02-22 Stephane Carrez <stcarrez@worldnet.fr>:
383 * dwarf2read.c (read_address): Read 16-bits addresses.
385 2000-02-28 Scott Bambrough <scottb@netwinder.org>
387 * arm-linux-nat.c (fetch_nw_fpe_*):
388 Renamed to fetch_nwfpe_* to use the same naming convention
389 as in the Linux kernel. Modified prototype to get rid of
391 (store_nw_fpe_*): Renamed to store_nwfpe_* to use the same
392 naming convention as in the Linux kernel. Fixed calls to
394 (store_fpregs): Fixed calls to store_nwfpe_*. Removed
397 Mon Feb 28 18:24:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
399 * MAINTAINERS: Transfer d30v maintainership to David Taylor.
401 2000-02-28 Christopher Faylor <cgf@cygnus.com>
403 * win32-nat.c: Remove unneeded header.
406 Mon Feb 28 13:34:54 2000 Andrew Cagney <cagney@b1.cygnus.com>
408 * wince.c: Include "gdb_wait.h" and not "wait.h".
410 Mon Feb 28 10:58:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
412 * MAINTAINERS: Mention mmalloc. Expand Host/Native and
413 Target/Architecture maintainers descriptions.
415 2000-02-26 Mark Kettenis <kettenis@gnu.org>
417 * gnu-nat.c: Include "gdbthread.h". Include <hurd.h>.
418 Reorder headers a bit. Overall cleanup and minor reformatting.
419 (MIG_SERVER_DIED): Remove define.
420 (proc_update_sc): Add braces to silence compiler warning.
421 (proc_steal_exc_port): Initialize err to zero.
422 (make_proc): Add braces to silence compiler warning.
423 (inf_validate_task_sc): Add cast to silence compiler warning.
424 (inf_set_traced): Reorganize a bit to silence compiler warning.
425 (inf_validate_procs): Use mach_msg_type_number_t for all thread
426 numbers and add braces to silence compiler warning.
427 (gnu_wait): Add prototypes for server functions and add braces to
428 silence compiler warnings.
429 (S_exception_raise_request): Pass subcode to inf_debug call.
430 (gnu_write_inferior): Remove unused variable `protection_changed'.
431 (gnu_xfer_memory): Remove unused variable `result'.
432 (set_sig_thread_cmd): Remove unused varible `tid'.
433 (set_signals_cmd): Remve unused variable `trace'.
434 (add_task_commands): Provide complete prototype. Reformat help
435 strings a bit to make sure the first line is a full sentence.
436 Call info_port_rights_cmd instead of info_send_rights_cmd for the
437 "info port-rights" command.
438 (add_thread_commands): Provide complete prototype. Make static.
439 Reformat help strings a bit to make sure the first line is a full
441 (_initialize_gnu_nat): Provide complete prototype.
443 2000-02-26 Mark Kettenis <kettenis@gnu.org>
445 Make cross-compilation for the Hurd more friendly.
446 From Jeff Bailey <jbailey@gnu.org>:
447 * configure.in: Use AC_CHECK_TOOL to find MiG.
448 * Makefile.in (MIG): New variable.
449 * config/i386/i386gnu.mh (MIG): Remove.
450 * configure: Regenerated.
452 2000-02-26 Kevin Buettner <kevinb@redhat.com>
454 * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add
455 comment explaining motivation behind this function and why
456 the generic facilities won't work for this platform.
457 * rs6000-tdep.c (skip_prologue): Always test to make sure
458 that an instruction is read successfully from the target's
459 memory. Introduce notion of instructions which may appear in
460 the prologue, but may not end the prologue. Added explicit
461 check for nop instruction. Use memset() to zero the frame
462 data instead of assignment from a statically allocated,
463 uninitialized structure.
465 Sat Feb 26 17:15:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
467 * MAINTAINERS: Chris Faylor is responsible for all MS Windows
468 systems. Note that Jim Blandy as maintainer for ``tracing
471 2000-02-25 Fernando Nasser <fnasser@cygnus.com>
473 From: Thomas Zenker <thz@Lennartz-electronic.DE>
474 * rdi-share/hsys.c: to compile under 4.4BSD derived systems (FreeBSD,
475 NetBSD...) sys_errlist should not be declared in hsys.c.
476 NEED_SYSERRLIST is set already by configure, so we can use it.
477 * rdi-share/unixcomm.c: 4.4BSD derived systems define BSD, but are
478 posix compliant and we should not work with the old compatibility
479 stuff. Because of that I undef BSD in case of FBSD etc and include
480 sys/ioctl to get the flags.
481 * rdi-share/unixcomm.c: If the TIOCEXCL flags exists set serial line
484 2000-02-24 Kevin Buettner <kevinb@redhat.com>
486 * ppc-linux-tdep.c (ppc_sysv_abi_push_arguments): Put address
487 of return structure in r3 if necessary.
488 (ppc_linux_memory_remove_breakpoints): New function.
489 * rs6000-tdep.c (skip_prologue): Make sure that the cases
490 for storing either cr or lr to the stack only handle those
491 cases. (I.e, don't let these cases match 0x00000000 which is
492 found found in the shared library trampoline prior to the
493 loading of the shared library.)
494 * config/powerpc/tm-linux.h (ppc_linux_memory_remove_breakpoint):
496 (MEMORY_REMOVE_BREAKPOINT): Define.
498 Wed Feb 23 23:27:48 2000 Andrew Cagney <cagney@behemoth.cygnus.com>
500 * hppah-nat.c: Include "gdb_wait.h" instead of <wait.h>.
502 Thu Feb 24 18:42:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
504 * configure.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Set to
505 $(SUBDIR_*_INSTALL) when so configured.
506 * configure: Regenerate.
508 * Makefile.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Define using
510 (install-only): Add dependency on $(CONFIG_INSTALL). Delete code
512 (uninstall): Add dependency on $(CONFIG_UNINSTALL).
513 (SUBDIR_MI_INSTALL, SUBDIR_MI_UNINSTALL, SUBDIR_GDBTK_UNINSTALL,
514 SUBDIR_GDBTK_INSTALL): Define.
515 (install-gdbtk): New target.
517 Thu Feb 24 18:19:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
519 * configure.in (SUBDIR_MI_CFLAGS): Fix typo, wrong brace.
520 * configure: Regenerate.
522 2000-02-24 Christopher Faylor <cgf@cygnus.com>
524 * configure.tgt: Add arm, mips, sh wince targets.
525 * config/arm/tm-wince.h: New file.
526 * config/arm/wince.mt: New file.
527 * config/sh/tm-wince.h: New file.
528 * config/sh/wince.mt: New file.
529 * config/mips/tm-wince.h: New file.
530 * config/mips/wince.mt: New file.
532 * wince-stub.c: New file.
533 * wince-stub.h: New file.
534 * sh-tdep.c: Use correct register names for Windows CE.
536 Wed Feb 23 19:01:45 EST 2000 Nicholas Duffek <nsd@cygnus.com>
538 * top.c (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Update comments.
539 (error_return, quit_return): Merge into catch_return pointer.
540 (return_to_top_level): Update comment. Longjmp to *catch_errors,
541 and communicate reason to catch_errors via setjmp return value.
542 (catch_errors): Always catch both quit and error, and if a catch
543 wasn't requested by caller, throw it to the next catch_error.
544 Replace dual longjmp buffer memcpy with single pointer change.
545 Add FIXME for possibly adding new interface to tell caller what
546 event was caught. Add extensive comments.
547 * defs.h (enum return_reason): Reserve 0 for use as initial
548 setjmp() return value.
549 (RETURN_MASK): New public macro to generate RETURN_MASK_* from
551 (RETURN_MASK_QUIT, RETURN_MASK_ERROR): Define using RETURN_MASK.
553 2000-02-23 Fernando Nasser <fnasser@cygnus.com>
555 * infcmd.c (run_stack_dummy): Do not pop frame on random signal.
556 * valops.c (_initialize_valops): Add command "set unwindonsignal".
557 (hand_function_call): Test for unwind_on_signal and act accordingly.
559 Wed Feb 23 12:58:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
561 * gdbarch.sh (dis_asm_read_memory): Change LEN to unsigned long.
562 Match ../include/dis-asm.h change.
563 * gdbarch.h: Regenerate.
564 * corefile.c (dis_asm_read_memory): Update.
566 Mon Feb 21 13:57:27 2000 Andrew Cagney <cagney@b1.cygnus.com>
568 * configure.in (CONFIG_INITS): Fix typo, was CONFIG_INIT.
569 (ENABLE_CFLAGS): Move initialization to start of file.
570 (enable-gdbmi): Add new configure option --enable-gdbmi. When
571 selected and an ${srcdir}/mi directory is present enable MI
574 * configure: Regenerate.
576 * Makefile.in (SUBDIR_MI_OBS, SUBDIR_MI_SRCS, SUBDIR_MI_DEPS,
577 SUBDIR_MI_INITS, SUBDIR_MI_LDFLAGS, SUBDIR_MI_CFLAGS): New macros.
578 (CONFIG_OBS, CONFIG_SRCS, CONFIG_DEPS, CONFIG_INITS,
579 CONFIG_LDFLAGS): New macros. Initialized by autoconf via
581 (INTERNAL_LDFLAGS, CDEPS, LINTFILES, DEPFILES, SOURCES,
582 INIT_FILES): Use $(CONFIG_...) instead of @CONFIG...@.
584 * mi: New directory. MI interface to GDB.
586 * defs.h (interpreter_p): Declare when UI_OUT.
587 * top.c (gdb_init): When interpreter_p, check that the interpreter
588 was recognized by one of the linked in interpreters.
589 * main.c (interpreter_p): Define.
590 (captured_main): When UI_OUT, check for ``-i <interpreter>'' option.
591 * event-top.c (display_gdb_prompt): When interpreter_p, assume
592 interpreter displays prompt.
594 * breakpoint.c (print_it_typical, watchpoint_check,
595 print_one_breakpoint, mention): When MI include additional
596 target status information.
597 * infrun.c (print_stop_reason, normal_stop): Ditto.
599 2000-02-22 Jim Blandy <jimb@redhat.com>
601 * gdbarch.sh: Make the `default' field really default to zero, as
604 Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.
605 * valops.c (COERCE_FLOAT_TO_DOUBLE): Rework definition to be
607 (default_coerce_float_to_double, standard_coerce_float_to_double):
609 (value_arg_coerce): Adjust for new definition.
610 * value.h (default_coerce_float_to_double,
611 standard_coerce_float_to_double): New declarations for the above.
612 * gdbarch.sh (coerce_float_to_double): New entry, replacing macro.
613 * gdbarch.c, gdbarch.h: Regenerated.
614 * tm-alpha.h, tm-fr30.h, tm-m32r.h, tm-mips.h, tm-hppa.h,
615 tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change
617 * mips-tdep.c (mips_coerce_float_to_double): Supply our own custom
619 (mips_gdbarch_init): Install that as our coerce_float_to_double
622 2000-02-22 Kevin Buettner <kevinb@redhat.com>
624 * ppc-linux-nat.c (supply_gregset, supply_fpregset): Add return
626 * ppc-linux-tdep.c (ppc_linux_at_sigtramp_return_path): Add
629 * ppc-linux-tdep.c (ppc_linux_frame_saved_pc): Handle case
630 where the next frame is a signal handler caller.
632 * config/powerpc/tm-linux.h (PUSH_ARGUMENTS): Remove extraneous
634 (tm-linux.h): Include.
635 (tm-sysv4.h): Don't include (directly). config/tm-linux.h will
636 include this file for us.
637 (REALTIME_LO, REALTIME_HI): Don't define. These are defined by
638 config/tm-linux.h for us.
639 (SOFUN_ADDRESS_MAYBE_MISSING): Define.
641 2000-02-21 Kevin Buettner <kevinb@redhat.com>
643 * Makefile.in (ppc-linux-nat.c, ppc-linux-tdep.c): New files.
644 (ppc-linux-nat.o, ppc-linux-tdep.o): Add dependencies.
645 * configure.tgt (powerpc-*-linux*): Separate from powerpc-*-eabi
648 * ppc-linux-nat.c, ppc-linux-tdep.c, config/powerpc/linux.mt,
649 config/powerpc/nm-linux.h, config/powerpc/tm-linux.h: New files.
650 * config/powerpc/xm-linux.h: Substantially revised for native
652 * config/powerpc/linux.mh (NAT_FILE): Redefine to be nm-linux.h.
653 (NATDEPFILES): Update list to reflect the fact that we can
656 * rs6000-tdep.c, config/rs6000/tm-rs6000.h
657 (rs6000_frameless_function_invocation, rs6000_frame_saved_pc):
658 Renamed; The former names were lacking the rs6000_ prefix.
659 * rs6000-tdep.c (rs6000_frame_saved_pc): Call FRAME_CHAIN
660 instead of rs6000_frame_chain.
661 (rs6000_frame_chain): Call FRAMELESS_FUNCTION_INVOCATION instead
662 of rs6000_frameless_function_invocation.
664 2000-02-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
666 From Philippe De Muyter <phdm@macqel.be>
668 * event-loop.c (handle_file_event): In case of poll, enable
669 printing of informational message if an error/exception is
670 detected on the file descriptor.
672 2000-02-21 Jim Kingdon <kingdon@redhat.com>
674 * MAINTAINERS (Misc): Clarify that yes, anyone can edit web pages.
676 Mon Feb 21 12:50:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
678 * buildsym.c: Include "language.h" and "expression.h" for
679 longest_local_hex_string_custom.
681 Mon Feb 21 11:17:18 2000 Andrew Cagney <cagney@b1.cygnus.com>
683 * gdbarch.sh: Include <gdb_wait.h> instead of <wait.h>.
684 * gdbarch.c: Already updated by Wed Feb 9 18:59:16 2000 Andrew
685 Cagney <cagney@b1.cygnus.com>.
687 Mon Feb 21 11:03:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
689 * MAINTAINERS: Update: IA-64 - Kevin Buettner; ARM - Fernando
690 nasser, Jim Ingham and Scott Bambrough; GNU/Linux ARM - Scott
691 Bambrough; event loop - Elena Zannoni; SDS and RDI/APD protocol -
692 to Fernando Nasser and Jim Ingham; KOD - Fernando Nasser; MI -
693 Andrew Cagney, Elena Zannoni and Fernando Nasser; Web pages - Jim
695 * MAINTAINERS: Add Nick Clifton to write after approval list.
697 Mon Feb 21 10:30:39 2000 Andrew Cagney <cagney@b1.cygnus.com>
699 * MAINTAINERS: Add note on multiple maintainers.
701 2000-02-19 Philippe De Muyter <phdm@macqel.be>
703 * cli-out.c (cli_table_header): Type of parameter `alignment' is
704 `enum ui_align', not `int'.
705 (cli_field_string, cli_field_skip): Likewise.
707 2000-02-18 Jim Blandy <jimb@redhat.com>
709 From Jimmy Guo <guo@cup.hp.com>:
710 * buildsym.h (add_free_pendings): Declare.
711 * buildsym.c (add_free_pendings): New function.
712 (make_blockvector): 32x64 fix using longest_local_hex_string().
713 (start_subfile): initialize variable 'subfile'.
715 2000-02-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
717 * remote.c (remote_async_detach): Use target_mourn_inferior(), to
718 make sure that all is cleaned up after we disconnect from the
720 (remote_detach): Ditto.
722 2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
724 From Rodney Brown <RodneyBrown@pmsc.com>
725 * ui-out.c (ui_out_set_flags): Fix typo, removing warning and
726 potentially harming mistake.
728 2000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
730 * arm-tdep.c: Use header file instead of extern declarations for
731 the {get,set}_arm_regname* functions.
733 2000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
735 * configure.in: Replaces obsolete gdbtk-variable.c with
737 * configure: Regenerate.
738 * Makefile.in: Remove obsolete/extraneous references to
741 2000-02-16 Mark Kettenis <kettenis@gnu.org>
743 * target.c (do_target_signal_to_host): Do not use REALTIME_LO in
744 the conversion of the signal number. TARGET_SIGNAL_REALTIME_33 is
745 33 by definition, whereas REALTIME_LO might be 32 on systems that
746 have SIG32 such as Linux. Make sure that the signal number
747 returned is within the range specified by REALTIME_LO and
750 2000-02-16 Mark Kettenis <kettenis@gnu.org>
752 * configure: Regenerated.
754 2000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
756 * arm-tdep.c (set_disassembly_flavor, arm_othernames,
757 _initialize_arm_tdep): Allows the user to choose between any of
758 the flavors available for the disassembly to be used in the "info
759 reg" command and elsewhere in gdb. It prevents having to maintain
760 this information in two places by using the data kept in the
763 2000-02-09 Mark Kettenis <kettenis@gnu.org>
765 * configure.in: Check for lwpid_t, psaddr_t, prgregset_t and
766 prfpregset_t in <sys/procfs.h>.
767 * config.in: Add HAVE_LWPID_T, HAVE_PSADDR_T, HAVE_PRGREGSET_T,
769 * gdb_proc_service.h: Only provide typedefs for lwpid_t, psaddr_t,
770 prgregset_t and prfpregset_t if they are not already present.
772 Wed Feb 16 19:00:02 2000 Andrew Cagney <cagney@b1.cygnus.com>
774 From 2000-01-26 Rodney Brown <RodneyBrown@pmsc.com>:
775 * procfs.c: Define MERGEPID if not defined. For osf4.0e.
777 2000-02-15 Jason Molenda (jsm@bugshack.cygnus.com)
779 * Makefile.in (diststuff): Run 'diststuff' in doc/ subdir, not
782 2000-02-15 Kevin Buettner <kevinb@redhat.com>
785 * rs6000-tdep.c (rs6000_fix_call_dummy): Set TOC register
786 to correct value for generic dummy frames. When using
787 generic dummy frames, don't attempt to write TOC value or
788 function to call into the call dummy.
789 (rs6000_push_arguments): Adapt USE_GENERIC_DUMMY_FRAMES
790 code to also handle the PowerOpen ABI.
791 (ppc_push_return_address): Enable for all ports.
792 * config/powerpc/tm-ppc-aix.h (USE_GENERIC_DUMMY_FRAMES,
793 PUSH_DUMMY_FRAME, PUSH_RETURN_ADDRESS, GET_SAVED_REGISTER,
794 CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LOCATION,
795 CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET): Override defaults
796 provided by generic RS6000 definitions so that call dummies
797 are implemented using generic dummy frames instead.
799 * rs6000-nat.c (store_inferior_registers): Call exec_one_dummy_insn()
800 prior to changing the stack pointer via ptrace(). Also, ignore
801 attempts to store to undefined registers that are less than
804 * rs6000-tdep.c (DUMMY_FRAME_SIZE): Change size of the dummy
805 frame from 436 to 448 to account for alignment padding.
806 (rs6000_push_arguments): Obtain actual register size instead
807 of assuming the register is 4 bytes long. [There's still
808 more work to be done to totally remove the 4 byte assumption,
809 however.] Make sure the stack is 16 byte aligned as required
810 by the PowerOpen ABI. Also, make sure that small structures
811 passed in registers are properly aligned within the register.
813 2000-02-15 Jesper Skov <jskov@cygnus.co.uk>
815 Patch applied by Kevin Buettner <kevinb@redhat.com>
817 * rs6000-tdep.c (skip_prologue): skip copying of argument
818 registers to local variable registers.
820 2000-02-14 Jim Kingdon <kingdon@redhat.com>
822 * elfread.c (elf_symtab_read): Revert changes by Amit S. Kale. A
823 sym->section->index number is not a SECT_OFF_* code.
825 Tue Feb 15 12:07:30 2000 Andrew Cagney <cagney@b1.cygnus.com>
827 * MAINTAINERS (write after approval): Add H.J. Lu.
829 2000-02-14 Nick Clifton <nickc@cygnus.com>
831 * sh-tdep.c: Remove extraneous code.
833 2000-02-14 Amit S. Kale <akale@veritas.com>
835 * elfread.c (elf_symtab_read): Move the use of sym to after where
837 Checked in by Jim Kingdon <kingdon@redhat.com>
839 Mon Feb 14 15:39:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
841 * MAINTAINERS: Make Nick Duffek the UnixWare threads maintainer.
843 Mon Feb 14 15:20:26 2000 Andrew Cagney <cagney@b1.cygnus.com>
845 From 1999-11-24 Jason Merrill <jason@casey.cygnus.com>:
846 * dwarf2read.c: (die_is_declaration): New fn.
847 (read_structure_scope): Use it.
849 * dwarf2read.c: (die_is_declaration): Convert to ISO-C.
851 2000-02-10 J.T. Conklin <jtc@redback.com>
853 * config/i386/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o
854 * configure.tgt (i[3456]86-*-netbsd*): add gdbserver to
856 * gdbserver/low-nbsd.c: New file.
858 * gdbserver/Makefile.in: convert to autoconf.
859 * gdbserver/configure.in: likewise.
860 * gdbserver/configure: generate.
862 Sun Feb 13 11:21:00 2000 Andrew Cagney <cagney@b1.cygnus.com>
864 * CONTRIBUTE: New file. How to contribute to GDB.
866 Sun Feb 13 10:34:48 2000 Andrew Cagney <cagney@b1.cygnus.com>
868 * MAINTAINERS: Add Eli Zaretskii to djgpp maintiners. Add Kevin
869 Buettner to powerpc maintainers. Make Kevin Buettner the
870 GNU/LINUX PPC native maintainer. Add J.T. Conklin, Jim Kingdon
871 and Jason Molenda to write after aproval list.
873 Sun Feb 13 10:18:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
875 * MAINTAINERS: Reformat. Separate into check-in categories.
877 Sat Feb 12 01:08:21 EST 2000 Nicholas Duffek <nsd@cygnus.com>
879 * uw-thread.c: Remove __FUNCTION__ GNUism.
881 2000-01-17 Amit S. Kale <akale@veritas.com>
883 * elfread.c (elf_symtab_read): Use offset for the section in which a
884 symbol resides, instead of .text section for calculating address of a
886 Checked in by Jim Kingdon <kingdon@redhat.com>
888 2000-02-10 Mark Kettenis <kettenis@gnu.org>
890 * gnu-nat.c: Remove hackery to include <bits/waitflags.h>. It is
891 no longer necessary now we have gdb_wait.h.
893 2000-02-09 Mark Kettenis <kettenis@gnu.org>
895 * gnu-nat.c (proc_string): Make global.
896 (do_mach_notify_dead_name): Suppress dead name notifications if we
897 know that the task is dead.
899 1999-12-13 Mark Kettenis <kettenis@gnu.org>
901 * gnu-nat.c (inf_validate_task_sc): Get task info via proc server
902 instead of directly from the kernel. Add some hackery to make
903 sure that the info isn't influenced by suspension of the task in
904 the proc server itself.
906 2000-02-10 Jim Kingdon <kingdon@redhat.com>
908 * defs.h (MERGEPID): Added. Patch submitted by Andrew Hobson and
909 approved by Michael Snyder.
911 2000-02-09 Mark Kettenis <kettenis@gnu.org>
913 * linux-thread.c: Include defs.h before gdb_wait.h.
915 Wed Feb 9 18:59:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
917 * Makefile.in (wait_h): Delete macro. Update all dependencies
918 specifying gdb_wait.h instead.
920 * ser-unix.c, ser-pipe.c, remote.c, remote-udi.c, remote-sds.c,
921 remote-os9k.c, remote-es.c, remote-rdp.c, remote-vx960.c,
922 remote-vx.c, remote-st.c, remote-nindy.c, remote-mm.c,
923 convex-xdep.c, convex-tdep.c, target.c, win32-nat.c, standalone.c,
924 remote-vxmips.c, remote-vxsparc.c, remote-vx68.c, remote-vx29k.c,
925 remote-sim.c, remote-rdi.c, remote-mips.c, remote-eb.c,
926 remote-e7000.c, remote-bug.c, remote-array.c, remote-adapt.c,
927 ppc-bdm.c, ocd.c, monitor.c, m3-nat.c, linux-thread.c,
928 infttrace.c, lin-thread.c, infptrace.c, gnu-nat.c, gdbarch.c,
929 fork-child.c, command.c: Include "gdb_wait.h" instead of <wait.h>
931 * nindy-share/nindy.c, nindy-share/Onindy.c: Ditto.
933 * gdb_wait.h: New file. Based on ../include/wait.h. Include
934 <sys/wait.h> or <wait.h> and then define any missing WIF macros.
936 Wed Feb 9 01:14:54 2000 Andrew Cagney <cagney@amy.cygnus.com>
938 * config/d10v/tm-d10v.h (NO_EXTRA_ALIGNMENT_NEEDED): Define.
939 * config/d10v/tm-d10v.h (STACK_ALIGN): Define.
940 (d10v_stack_align): Declare.
941 * d10v-tdep.c (d10v_stack_align): Define.
943 1999-08-23 J.T. Conklin <jtc@redback.com>
945 * top.c (remote_timeout): Change default to 2. Add comment
946 explaining history of changes to the default value.
947 * remote.c (_initialize_remote): Remove code that adds set/
948 show remotetimeout, as that's also done in top.c
950 1999-10-18 J.T. Conklin <jtc@redback.com>
952 * m32r-stub.c, sparcl-stub.c, sparclet-stub.c (handle_exception):
953 Return E01 instead of P01 when 'P' command fails.
955 2000-02-05 J.T. Conklin <jtc@redback.com>
957 * remote.c (putpkt_binary): Handle NAK from target stub.
959 2000-02-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
961 * configure.in: Remove the addition of sol-thread.c to the
962 CONFIG_INITS list. This caused problems with init.c, because
963 sol-thread.c would be grepped twice for _initialize_* functions.
965 * Makefile.in: Add FIXME for init.c.
967 2000-02-07 Jim Kingdon <kingdon@redhat.com>
969 Clean up compiler warnings:
970 * bcache.h, bcache.c, c-valprint.c, coffread.c, stabsread.c,
971 stack.c, valprint.c: Change variables to unsigned.
972 * bcache.c: Rearrange to avoid warnings about variables not being set.
973 * c-lang.c, ch-lang.c, f-lang.c, m2-lang.c: Include valprint.h
974 rather than declaring print_max and repeat_count_threashold
975 ourselves (incorrectly).
976 * valprint.h: Do declare repeat_count_threashold.
977 * ch-exp.c: Use default case for internal error.
978 * findvar.c: Don't omit argument type.
979 * symtab.c: Remove unused variable.
981 2000-02-04 Jim Blandy <jimb@redhat.com>
983 * c-typeprint.c (remove_qualifiers): New function.
984 (c_type_print_base): Use it to remove qualifiers from C++
985 qualified names, not strrchr.
987 * c-typeprint.c (c_type_print_base): Recognize type conversion
988 operators by calling is_type_conversion_operator.
989 (is_type_conversion_operator): New function.
991 2000-02-04 Nick Clifton <nickc@cygnus.com>
993 * config/arm/tm-arm.h (LOWEST_PC): Define.
995 2000-02-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
997 * infrun.c (resume): Make just one call to target_resume(), instead
998 of four: set up correct parameters in all the cases ahead of time,
999 and do call at the end.
1001 2000-02-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1003 * config/powerpc/tm-ppc-eabi.h: Define
1004 SOFUN_ADDRESS_MAYBE_MISSING.
1006 2000-02-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
1008 * arm-tdep.c (arm_pc_is_thumb_dummy): Account for large dummy
1011 Fri Feb 4 22:42:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
1013 * Makefile.in (INIT_FILES): Append CONFIG_INITS
1014 * configure.in (CONFIG_INIT): Initialize.
1015 (links): Link srcdir/gdbtk/library to gdbtcl2.
1016 * gdbtcl2: Moved to gdbtk/library.
1017 ChangeLog-gdbtk, gdbtk-cmds.c, gdbtk-hooks.c, gdbtk-variable.c,
1018 gdbtk-varobj.c, gdbtk-wrapper.c, gdbtk-wrapper.h, gdbtk.c,
1019 gdbtk.h: Moved to gdbtk/generic.
1021 2000-02-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1023 * printcmd.c (build_address_symbolic): New function. Returns all
1024 the parts that are necessary to print an address in a symbolic
1026 (print_address_symbolic): Split into a printing part and an
1027 information building part, build_address_symbolic().
1029 * defs.h (build_address_symbolic): Export.
1031 2000-02-03 Jim Blandy <jimb@redhat.com>
1033 * dwarf2read.c (decode_locdesc): Add support for the DW_OP_bregx
1036 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
1038 * arm-tdep.c (arm_push_arguments): Fix passing of floating point
1039 arguments on dummy frames.
1041 2000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
1043 * arm-tdep.c (arm_pc_is_thumb_dummy): Account for large dummy frames.
1044 (arm_pop_frame): Account fr dummy frames (as opposed to real ones).
1046 2000-02-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1048 * remote.c (getpkt_sane): New function. It is the old getpkt(),
1049 which now returns a timeout indication.
1050 (getpkt): New function. Wrapper for getpkt_sane(), so that return
1051 value can still be ignored.
1053 Tue Feb 1 18:47:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
1055 * top.c (print_gdb_version): Print ``UI_OUT'' when configured with
1058 Tue Feb 1 00:17:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
1060 * ui-file.c, ui-file.h: Rename gdb-file.h, gdb-file.c. Rename
1061 ``struct gdb_file'' to ``struct ui_file''. Delete typedef
1064 * Makefile.in: Update.
1066 * ax-gdb.c, ax-general.c, ax.h, buildsym.c, c-lang.c, c-lang.h,
1067 c-typeprint.c, c-valprint.c, ch-lang.c, ch-lang.h, ch-typeprint.c,
1068 ch-valprint.c, command.c, command.h, convex-tdep.c, corefile.c,
1069 cp-valprint.c, d10v-tdep.c, d30v-tdep.c, defs.h, expprint.c,
1070 expression.h, f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c,
1071 frame.h, gdb-events.sh, gdb-file.c, gdb-file.h, gdbcmd.h,
1072 gdbtypes.h, hppa-tdep.c, jv-lang.c, jv-lang.h, jv-typeprint.c,
1073 jv-valprint.c, language.c, language.h, m2-lang.c, m2-lang.h,
1074 m2-typeprint.c, m2-valprint.c, m3-nat.c, main.c, monitor.c,
1075 printcmd.c, pyr-tdep.c, remote-mips.c, remote-sim.c, remote-udi.c,
1076 remote.c, scm-lang.c, scm-lang.h, scm-valprint.c, ser-e7kpc.c,
1077 ser-go32.c, ser-mac.c, ser-ocd.c, ser-unix.c, ser-unix.h,
1078 serial.c, serial.h, stack.c, symfile.c, symmisc.c, tahoe-tdep.c,
1079 target.c, target.h, top.c, top.h, typeprint.c, typeprint.h,
1080 utils.c, v850ice.c, valprint.c, valprint.h, value.h,
1081 config/pa/tm-hppa.h: Update.
1082 * cli-out.c, cli-out.h, ui-out.c, ui-out.h, varobj.c: Update.
1084 2000-01-31 Jason Molenda (jsm@bugshack.cygnus.com)
1086 * config/alpha/alpha-osf2.mh, config/alpha/alpha-osf3.mh,
1087 config/i386/i386dgux.mh, config/i386/i386sol2.mh,
1088 config/i386/i386v4.mh, config/i386/i386v42mp.mh,
1089 config/i386/ncr3000.mh, config/m68k/m68kv4.mh,
1090 config/m88k/delta88v4.mh, config/mips/irix4.mh,
1091 config/mips/irix5.mh, config/mips/mipsv4.mh,
1092 config/powerpc/solaris.mh (NATDEPFILES): Change references to
1093 proc_api.o, proc_events.o, proc_flags.o, and proc_why.o to
1094 proc-api.o, proc-events.o, proc-flags.o, and proc-why.o.
1096 Mon Jan 31 17:14:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
1098 * top.c (fputs_unfiltered_hook): Moved to tui/tui-file.c.
1100 * main.c (captured_main): Only use the legacy tui_file code when
1101 linking in older code such as the TUI.
1103 * gdb-file.h, gdb-file.c: New files.
1104 * utils.c, defs.h (struct gdb_file, gdb_file_new, gdb_file_delete,
1105 null_file_isatty, null_file_rewind, null_file_put,
1106 null_file_flush, null_file_write, null_file_fputs,
1107 null_file_delete, gdb_file_data, gdb_flush, gdb_file_isatty,
1108 gdb_file_rewind, gdb_file_put, gdb_file_write, fputs_unfiltered,
1109 set_gdb_file_flush, set_gdb_file_isatty, set_gdb_file_rewind,
1110 set_gdb_file_put, set_gdb_file_write, set_gdb_file_fputs,
1111 set_gdb_file_data, struct accumulated_gdb_file,
1112 do_gdb_file_xstrdup, gdb_file_xstrdup, struct mem_file):
1113 mem_file_new, mem_file_delete, mem_fileopen, mem_file_rewind,
1114 mem_file_put, mem_file_write, struct stdio_file): stdio_file_new,
1115 stdio_file_delete, stdio_file_flush, stdio_file_write,
1116 stdio_file_fputs, stdio_file_isatty, stdio_fileopen, gdb_fopen):
1117 Moved to gdb-file.h and gdb-file.c.
1118 * utils.c (enum streamtype, struct tui_stream, tui_file_new,
1119 tui_file_delete, tui_fileopen, tui_sfileopen, tui_file_isatty,
1120 tui_file_rewind, tui_file_put, tui_file_fputs,
1121 tui_file_get_strbuf, tui_file_adjust_strbuf, tui_file_flush,
1122 fputs_unfiltered_hook):
1123 Moved to tui/tui-file.c and tui/tui-file.h.
1125 * Makefile.in (COMMON_OBS): Add gdb-file.o, tui-file.o.
1126 (tui-file.o, gdb-file.o): Add dependencies.
1127 (corefile.o, main.o, utils.o, simmisc.o): Update dependencies.
1128 * main.c: #include tui/tui-file.h.
1130 2000-01-28 Fred Fish <fnf@cygnus.com>
1132 * findvar.c (value_from_register): Special case handling of D10V
1133 pointer values fetched from registers.
1135 2000-01-28 Fernando Nasser <fnasser@totem.to.cygnus.com>
1137 * arm-tdep.c (thumb_skip_prologue, thumb_scan_prologue): Add
1138 support for new style thumb prologues.
1140 2000-01-28 Nick Clifton <nickc@redhat.com>
1142 * arm-tdep.c: Remove extraneous dash at start of strings
1143 introduced in previous delta.
1145 2000-01-27 Nick Clifton <nickc@redhat.com>
1147 * arm-tdep.c: Replace uses of arm_toggle_renames() with
1148 parse_arm_disassembler_option().
1150 2000-01-27 Jim Blandy <jimb@cygnus.com>
1152 * symtab.c (decode_line_1): Don't let commas that are within
1153 quotes or parenthesis terminate the line spec. Don't use pp when
1154 removing the final double quote of a double-quoted string. Don't
1155 forget to skip the opening double quote. I have no clue whether
1156 this change is correct; probably we've just moved this function
1157 from one buggy place to another buggy place, and never came within
1158 an outhouse whiff of correctness.
1159 (find_toplevel_char): New function.
1161 2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
1163 * arm-tdep.c (arm_push_arguments): Set the thumb mode bit when
1164 passing the pointer to a thumb function as an argument.
1166 2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
1168 * remote-rdi.c (arm_rdi_mourn_inferior): Make sure breakpoints
1169 are reinserted for another run.
1171 2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
1173 * cli-out.c (cli_filed_string): Test for NULL string.
1175 2000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
1177 * infcmd.c (run_stack_dummy): Account for a random signal stopping
1178 the inferior as well as breakpoints being hit while performing an
1179 inferior function call.
1180 * valops.c (hand_function_call): Ditto.
1182 2000-01-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1184 From Mark Kettenis <kettenis@gnu.org>
1186 * config/i386/tm-i386gnu.h (THREAD_STATE_FLAVOR): Define to
1187 i386_REGS_SEGS_STATE.
1188 (HAVE_I387_REGS): Define.
1189 (FLOAT_INFO): Remove.
1190 * i386gnu-nat.c: Almost completely rewritten to use new i386
1191 register layout and `float info' implementation.
1192 * gnu-nat.c (inf_update_procs, proc_get_state, proc_string):
1193 Move prototypes from here.
1194 * gnu-nat.h: To here.
1196 2000-01-24 Kevin Buettner <kevinb@redhat.com>
1198 * utils.c (get_field, put_field): Fix buffer underruns and
1199 overruns. Also, handle case where total_len is not evenly
1201 (getfield): Make sure zeroing of unwanted bits occurs even
1202 when bit field to extract does not straddle two or more
1205 2000-01-23 Christopher Faylor <cgf@cygnus.com>
1207 * defs.h: Add gdb_thread_select declaration.
1209 2000-01-23 Kevin Buettner <kevinb@redhat.com>
1211 * linux-thread.c (_initialize_linuxthreads): Make sure that
1212 linuxthreads_block_mask does not block SIGCHLD.
1214 2000-01-20 Fernando Nasser <fnasser@totem.to.cygnus.com>
1216 * rdi-share/devsw.c (openLogFile): On cygwin, set the log mode to
1217 text so that new lines work properly.
1219 2000-01-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1221 * proc-utils.h: New file. Export functions from proc-*.c.
1223 * proc_api.c: Rename to:
1224 * proc-api.c: New file. Add include of proc-utils.h.
1226 * proc_events.c: Rename to:
1227 * proc-events.c: New file.
1229 * proc_flags.c: Rename to:
1230 * proc-flags.c: New file.
1232 * proc_why.c: Rename to:
1233 * proc-why.c: New file. Add include of proc-utils.h.
1235 * procfs.c: Add includes of gdbthread.h, sys/wait.h, signal.h,
1236 ctype.h, proc-utils.h.
1237 (find_procinfo_or_die): Add braces to avoid ambiguous else clause.
1238 (open_procinfo_files): Conditionalize local variable tmp, to avoid
1240 (proc_iterate_over_mappings): Conditionalize local vars mapfd and
1242 (procfs_wait): Adjust format in some printf_filetered calls to
1243 avoid compiler warnings.
1244 (make_signal_thread_runnable): Ifdef 0. The calls to this function
1245 are also ifdef'd 0 .
1246 (procfs_resume): Add parentheses around '&&' operation.
1247 (procfs_set_exec_trap): Remove unused variable.
1248 (info_proc_cmd): Add braces to avoid ambiguous else clause.
1250 * Makefile.in (procfs.o, proc-api.o, proc-events.o, proc-flags.o,
1251 proc-why.o): Update dependencies.
1253 * config/sparc/sun4sol2.mh (NATDEPFILES): Change proc_*.o files to
1256 2000-01-17 Jason Molenda (jsm@bugshack.cygnus.com)
1258 * configure.in (NEW_PROC_API): Fix Unixware-matching regexp.
1259 Fix from Robert Lipe <robertl@sco.com>.
1260 * configure: Regenerated.
1262 2000-01-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1264 * stack.c (print_frame_info_base): Break up into the frame info
1265 (location) printing part and the rest (source line printing).
1266 (print_frame): New function. Take care of printing the location
1270 * infrun.c (normal_stop): Use enum values rather than integers for the
1271 source_flag to be passed to show_and_print_stack_frame().
1274 * frame.h (print_what): New enum for 'source' argument to
1275 print_frame_info_base(). Use this instead of obscure numbers.
1278 Sun Jan 16 17:58:00 2000 David Taylor <taylor@texas.cygnus.com>
1280 * event-top.c (stdin_event_handler): call quit_command rather than
1281 exit -- run cleanups, give target code a chance to say goodbye to
1282 the target. Fixes bug where the inferior processes were left
1283 around on Solaris (and probably elsewhere) by the testsuite.
1285 2000-01-14 Mark Salter <msalter@cygnus.com>
1287 * v850-tdep.c (v850_target_architecture_hook): Setup correct
1288 machine id for disassembly.
1290 2000-01-13 Jim Blandy <jimb@cygnus.com>
1292 * i386-linux-nat.c (fill_gregset): Pass the correct arguments to
1293 convert_to_regset, when regno indicates a specific register.
1295 Thu Jan 13 23:34:17 EST 2000 Nicholas Duffek <nsd@cygnus.com>
1297 * uw-thread.c: Document libthread.so debugging interface. Minor
1298 comment and formatting tweaks.
1299 (DEBUG): #define as 0 instead of 1.
1300 (CALL_BASE): Include function name in error msg.
1301 (libthread_stub): Adjust inferior_pid after thread exit.
1302 (uw_thread_create_inferior): Deactivate uw_thread_ops before
1303 asking procfs_ops to create inferior.
1304 (libthread_init): Don't return nonlocally on error.
1306 2000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
1308 * rdi-share/ardi.c (negotiate_params): Fix initialization of static
1311 2000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
1313 * remote-rdi.c (arm_rdi_open): Call arm-rdi-close() to make sure
1314 both sides are on the same state.
1316 2000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
1318 * rdi-share/serdrv.c (find_baud_rate): Fix entries for 57600 and
1319 115200 (minor syntax mistake).
1321 2000-01-12 Jim Blandy <jimb@cygnus.com>
1323 * config/sparc/tm-sun4sol2.h (MERGEPID): Provide a definition for
1324 this here, to go along with the definitions of PIDGET and TIDGET.
1326 2000-01-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1328 * thread.c (do_captured_thread_select): New function. Switch
1329 current thread, safely from within catch_errors().
1330 (gdb_thread_select): New function. Switch threads safely.
1331 (thread_command): Use gdb_thread_select().
1333 (do_captured_list_thread_ids): New function.
1334 (gdb_list_thread_ids): New function.
1336 * defs.h (gdb_thread_select, gdb_list_thread_ids): Export.
1338 2000-01-11 Christopher Faylor <cgf@cygnus.com>
1340 * configure.in: Avoid linking -limagehlp unless it's a native build.
1341 * configure: Regenerate.
1342 * thread.cc (add_thread): Clear private data pointer here or suffer
1343 strange behavior when it is checked for NULL later.
1345 2000-01-09 Christopher Faylor <cgf@cygnus.com>
1347 * win32nat.c (handle_exceptions): Handle various arithmetic exceptions.
1348 * configure.in: Add an additional library to cygwin link.
1349 * configure: Regenerate.
1351 Patch from Egor Duda <deo@logos-m.ru>:
1352 * coffread.c (coff_symfile_read): Reinstate ability to recognize "pe"
1355 2000-01-07 Michael Snyder <msnyder@cleaver.cygnus.com>
1357 * uw-thread.c: New file to support UnixWare user-mode threads:
1358 contributed by Nickolas Duffek <nsd@cygnus.com>.
1359 * target.h (struct target_ops): New vector, to_extra_thread_info,
1360 allows back-ends to give extra details in info thread display.
1361 (target_extra_thread_info): define new macro.
1362 (target_find_new_threads): simplify macro. Cleanup comments.
1363 * target.c (to_extra_thread_info): default and inherit new vector.
1364 (cleanup_target): eliminate PARAMS, break up long lines,
1365 provide default definition for to_extra_thread_info, and
1366 to_find_new_threads. Default to_thread_alive and to_query
1367 to return_zero, not target_ignore (they each return int not void).
1368 (debug_to_find_new_threads): new debug entry.
1369 (setup_target_debug): add debug_to_find_new_threads.
1370 * gdbthread.h: export struct thread_info, find_thread_pid, and
1371 iterate_over_threads. Add comments. Eliminate PARAMS. Update
1372 copyright. Add new private data pointer for use by target back-ends.
1373 * thread.c (struct thread_info): move definition to gdbthread.h.
1374 (find_thread_pid): new exported function for thread lookup.
1375 (iterate_over_threads): new exported function for applying
1376 arbitrary operations to threads. Update copyright to 2000.
1377 (info_threads_command): use new target_extra_thread_info vector
1378 to display extra information about each thread (if implemented).
1379 * config/i386/tm-i386v42mp.h: remove obsolete #defines for procfs.
1380 Add defines for PIDGET, etc.
1381 * config/i386/tm-i386sol2.h: ditto.
1382 * config/sparc/tm-sun4sol2.h: ditto.
1383 * config/i386/i386v42mp.mh: add uw-thread.o to NATDEPFILES.
1384 * testsuite/gdb.threads/pthreads.exp: Try to link with -lthread
1385 if -lpthread and -lpthreads fail.
1387 * procfs.c: (PIDGET, TIDGET, MERGEPID): change default to no-op.
1388 (proc_flags): combine flags that UnixWare splits into two locations.
1389 (proc_modify_flag): add support for PR_KLC (kill on last close).
1390 (proc_[un]set_kill_on_last_close): new functions.
1392 2000-01-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1394 * infrun.c (normal_stop): Print out thread id when we stop.
1396 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
1398 * remote.c (remote_open_1): Fix message so it does not imply a
1399 specific syntax for serial ports, as it is OS dependent.
1400 (remote_async_open_1): Ibid.
1401 (init_remote_ops): Ibid.
1403 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
1405 * rdi-share/serdrv.c (SerialOpen): Use speed from "-b" argument or
1406 "set remotebaud" command (if set) when no speed is specified on
1407 the "target rdi" command.
1409 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
1411 * rdi-share/serdrv.c (find_baud_rate): Add entries for 57600 and
1413 (baud_options[]): Ibid.
1415 2000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
1417 * rdi-share/unixcomm.c: Fix SERIAL_PREFIX so it matches the prefix
1418 used by each operating system.
1420 2000-01-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1422 * breakpoint.c (until_break_command): Add an argument for the
1423 continuation, the beginning of the cleanups set up by this
1425 (until_break_command_continuation): Do cleanups until the one
1426 passed in as argument instead of doing all of them.
1428 * infcmd.c (finish_command_continuation): Expect a new argument,
1429 which indicates up to where to do cleanups. Update calls to
1430 do_exec_cleanups to use this marker, instead of ALL_CLEANUPS.
1431 (finish_command): Add another argument for the continuation: the
1432 starting cleanup for this command.
1434 2000-01-05 Fernando Nasser <fnasser@totem.to.cygnus.com>
1436 From Grant Edwards <grante@visi.com> (original patch from Thomas
1438 * rdi-share/ardi.c: Allow interruption of interruptible
1439 targets with a <CNTL-C>.
1441 2000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
1443 * rdi-share/etherdrv.c (fetch_ports): Send extra words on request
1444 to control port to accommodate some versions of Angel.
1446 2000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
1448 * rdi-share/devsw.c (dumpPacket): Fix source of channel information.
1449 Add interpretation for C Support Library packets.
1451 2000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
1453 * rdi-share/devsw.c (DevSW_Close): Remove const from argument that
1454 is now being modified.
1455 * rdi-share/devsw.h: Adjust declaration of the above funtion.
1457 For older changes see ChangeLog-99
1463 version-control: never