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