2000-03-10 H.J. Lu <hjl@gnu.org>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
09b59ee3
DB
12000-03-10 Daniel Berlin <dan@cgsoftware.com>
2 Fix C++ overloading, add support for seeing through references.
3
4 * defs.h (STREQ_IW): add STREQ_IW, like STREQ, except it's
5 whitespace insensitive
6
7 * valops.c (find_overload_match): Handle STABS overloading for
8 C++.
9 (find_overload_match): Look in right place for function arguments
10 in the debug info.
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
18
19 * gdbtypes.c (rank_one_type): Add ability to see through
20 references.
21 (rank_one_type): strcmp->strcmp_iw, because the whitespace could
22 be different.
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.
26
27 * gdbtypes.h: Add REFERENCE_CONVERSION_BADNESS for "badness"
28 associated with converting a non-reference to a reference.
29
30
36c2118f
AC
31Fri Mar 10 11:44:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
32
33 * MAINTAINERS: Devolve responsibility for domain maintenance.
34
a79dea61
EZ
352000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
36
37 * minsyms.c (prim_record_minimal_symbol_and_info): Add comment.
38
f1a6b754
SB
392000-02-25 Scott Bambrough <scottb@netwinder.org>
40
41 * gdb.base/long_long.exp: Correct test suite failure when printing
42 a long long value as a double on ARM platforms.
43
513d6eba
AC
44Thu Mar 9 14:21:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
45
46 * MAINTAINERS (Core): Anthony Green is the Java - including
09b59ee3
DB
47 testsuite - maintainer. Reformat testsuite and language support
48 sections
513d6eba 49
4cc24188
MK
502000-03-08 Mark Kettenis <kettenis@gnu.org>
51
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.
55
9227b5eb
JB
562000-03-06 Jim Blandy <jimb@redhat.com>
57
58 From Tom Tromey <tromey@cygnus.com> and Keith Seitz <?>:
59
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
64 hash table.
65 (lookup_minimal_symbol): Use hash table to find symbol in
66 objfile.
67 (msymbol_hash_iw, msymbol_hash, add_minsym_to_hash_table): New
68 functions.
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'.
77
ef7904ee
JB
782000-03-06 Jim Blandy <jimb@redhat.com>
79
80 * solib.c (first_link_map_member): Doc fix.
81
2f16bb32
EZ
822000-03-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
83
09b59ee3 84 From Eli Zaretskii <eliz@is.elta.co.il>:
2f16bb32
EZ
85
86 * event-loop.c (poll_timers): Don't compare delta.tv_sec with
87 zero, since time_t might be unsigned.
88
b948cda9
MK
892000-03-06 Mark Kettenis <kettenis@gnu.org>
90
91 * i386-linux-nat.c (supply_fpregset): Mask off the reserved bits
92 in *FPREGSETP.
93 (convert_to_fpregset): Don't touch the reserved bits in *FPREGSETP.
94
9eaaac16
MK
952000-03-05 Mark Kettenis <kettenis@gnu.org>
96
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
112 with EIO.
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.
117
04cd15b6
MK
1182000-03-05 Mark Kettenis <kettenis@gnu.org>
119
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
123 systems out there.
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
134 register.
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.
140
9ec7faef
AC
141Sun Mar 5 19:40:27 2000 Andrew Cagney <cagney@b1.cygnus.com>
142
143 * MAINTAINERS (readline/): Expand to include host maintainers.
144
45a816d9
MK
1452000-03-04 Mark Kettenis <kettenis@gnu.org>
146
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.
09b59ee3 161 (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET): New
45a816d9
MK
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.
09b59ee3
DB
166 (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONTEXT_SP_OFFSET):
167 Moved to i386-tdep.c.
45a816d9
MK
168 (IN_SIGTRAMP): Redefine to call i386_linux_in_sigtramp.
169
109213fc 170Sat Mar 4 19:38:11 2000 Andrew Cagney <cagney@b1.cygnus.com>
b70bc471 171
109213fc 172 By: Sat Mar 4 04:08:58 2000 Alexandre Oliva <oliva@lsd.ic.unicamp.br>
b70bc471
AO
173 * Makefile.in (all-gdbtk): Fix $srcdir to ${srcdir}.
174
7158fd7f
AC
175Sat Mar 4 17:23:06 2000 Andrew Cagney <cagney@b1.cygnus.com>
176
177 * MAINTAINERS: Frank Ch. Eigler and Andrew Cagney co-ordinate the
09b59ee3 178 sim directory.
7158fd7f 179
e7411eaa
AC
180Sat Mar 4 16:19:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
181
182 * MAINTAINERS: Add Michael Snyder and Peter Schauer to list of
09b59ee3 183 ``Blanket Write Privs'' maintainers.
e7411eaa 184
392746e5
AC
185Sat Mar 4 15:58:40 2000 Andrew Cagney <cagney@b1.cygnus.com>
186
9ec7faef 187 From Sun 20 Feb 2000 Robert Lipe <robertl@sco.com>:
392746e5 188 * language.c (longest_local_hex_string_custom): Don't compile
09b59ee3 189 'long long' section if host doesn't have 'long long'.
392746e5 190
7acb79c8
AC
191Sat Mar 4 15:45:38 2000 Andrew Cagney <cagney@b1.cygnus.com>
192
193 * language.c (longest_raw_hex_string): Comment out. Appears
09b59ee3 194 unused.
7acb79c8 195
082faf24
AC
196Sat Mar 4 13:02:09 2000 Andrew Cagney <cagney@b1.cygnus.com>
197
198 * utils.c (mcalloc), defs.h (mcalloc): Keep consistent with
09b59ee3 199 "mmalloc.h" which means using PTRs.
082faf24
AC
200 (init_malloc, msavestring, mstrsave): Convert to PTR free ISO-C.
201
a9ac8f51
AC
202Sat Mar 4 11:49:21 2000 Andrew Cagney <cagney@b1.cygnus.com>
203
204 * defs.h (store_address, store_unsigned_integer, store_address):
09b59ee3 205 Replace PTR with void* in delcaration.
a9ac8f51 206 * findvar.c (extract_signed_integer, extract_unsigned_integer,
09b59ee3
DB
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*.
a9ac8f51 210
e4005526
AC
211Sat Mar 4 10:57:25 2000 Andrew Cagney <cagney@b1.cygnus.com>
212
213 * defs.h (make_cleanup_func): Document as deprecated.
214 (make_cleanup_ftype): New typedef. Make signature consistent with
09b59ee3
DB
215 other function typedefs. Document as not be used out side of
216 make_cleanup code. Use in make_cleanup declarations.
e54a9244 217 (null_cleanup): Replace PTR with void*.
09b59ee3 218
e4005526 219 * utils.c (make_cleanup, make_final_cleanup, make_run_cleanup,
09b59ee3
DB
220 make_exec_cleanup, make_exec_error_cleanup, make_my_cleanup,
221 null_cleanup): Change K&R definition to ISO-C using void* and
222 make_cleanup_fytpe.
e4005526
AC
223 (discard_my_cleanups): Don't cast argument to free.
224
97bb9d91
EZ
2252000-03-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
226
227 * defs.h (struct continuation_arg): Change type of field 'data'
09b59ee3 228 from PTR to void *.
97bb9d91
EZ
229
230 * event-loop.h: Eliminate uses of PTR, use 'void *' instead.
231
232 * event-top.c: Ditto.
233
b3a90332
AC
234Fri Mar 3 15:39:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
235
236 * Makefile.in (CONFIG_CLEAN, CONFIG_ALL, LN_S): Defined by
09b59ee3 237 configure.
b3a90332 238 (SUBDIR_MI_CLEAN, SUBDIR_GDBTK_CLEAN, SUBDIR_MI_ALL,
09b59ee3 239 SUBDIR_GDBTK_ALL): Define.
b3a90332
AC
240 (all-gdbtk, clean-gdbtk): New targets.
241 (all): Add CONFIG_ALL as dependency.
242 (clean): Add CONFIG_CLEAN as dependency.
09b59ee3 243
b3a90332
AC
244 * configure.in (CONFIG_ALL, CONFIG_CLEAN): Define.
245 (LN_S): Define. Delete GDBtk's link code.
246
379d6434
AC
247Fri Mar 3 13:12:34 2000 Andrew Cagney <cagney@b1.cygnus.com>
248
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
253
7b64ac2f
EZ
2542000-03-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
255
256 * config/alpha/alpha-linux.mh: Remove core-regset.o fron the
09b59ee3 257 NATDEPFILES list.
7b64ac2f 258
667620fa
MK
2592000-03-02 Mark Kettenis <kettenis@gnu.org>
260
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
265 fine for AIX/i386.
266 (i387_to_double, double_to_i387): Remove prototypes.
267
3db87ba3
KB
2682000-03-02 Kevin Buettner <kevinb@redhat.com>
269
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.
273
6c7e601e
ND
2742000-03-02 Nick Duffek <nsd@cygnus.com>
275
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().
280
a09e9d09
AC
281Thu Mar 2 09:04:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
282
09b59ee3 283 * MAINTAINERS: Daniel Berlin is C++ maintainer.
a09e9d09 284
ef7b4488
AC
285Thu Mar 2 08:55:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
286
287 * MAINTAINERS: Mark Kettenis is the x86 architcture maintainer and
09b59ee3
DB
288 a joint GNU/Linux/x86 maintainer. Nick Duffeck and Robert Lipe
289 share SCO/Unixware. Nick Duffek and Peter Schauer share
290 Solaris/x86.
a09e9d09 291
75660bc0 292Wed Mar 1 22:12:35 2000 Andrew Cagney <cagney@b1.cygnus.com>
09b59ee3 293
75660bc0
AC
294 From Wed 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>:
295 * remote-sim.c (gdbsim_close): Call generic_mourn_inferior.
09b59ee3 296 * remote-rdi.c (arm_rdi_close): Ditto.
75660bc0 297
15db4a06
AC
298Wed Mar 1 19:31:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
299
300 * CONTRIBUTE (configure.in): Note that patches to configure are
09b59ee3 301 not needed.
15db4a06 302
80582566
MK
3032000-03-01 Mark Kettenis <kettenis@gnu.org>
304
305 * MAINTAINERS: Correct my own mail address.
306
dfe25b3a
AC
307Wed Mar 1 11:26:07 2000 Andrew Cagney <cagney@b1.cygnus.com>
308
309 * MAINTAINERS: Document people with paperwork pending.
310
05e28a7b
AC
311Wed Mar 1 00:49:06 2000 Andrew Cagney <cagney@b1.cygnus.com>
312
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
09b59ee3
DB
316 procfs_find_LDT_entry function from procfs.c, mostly copied from
317 lin-thread.c.
05e28a7b 318 * inferior.h, procfs.c (procfs_get_pid_fd): Removed, no longer
09b59ee3 319 needed.
05e28a7b 320
b241ba8e
AC
321Wed Mar 1 00:34:55 2000 Andrew Cagney <cagney@b1.cygnus.com>
322
323 From 2000-02-26 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>:
324 * config/i386/tm-i386sol2.h (MERGEPID): Define.
325
1211c4e4
AC
326Wed Mar 1 00:06:19 2000 Andrew Cagney <cagney@b1.cygnus.com>
327
328 From 1999-08-13 J.T. Conklin <jtc@redback.com>:
09b59ee3
DB
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):
333 Update.
1211c4e4 334
2fc18c15
AC
335Tue Feb 29 23:56:41 2000 Andrew Cagney <cagney@b1.cygnus.com>
336
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'
339 parameter.
340
02409499
AC
341Tue Feb 29 18:47:58 2000 Andrew Cagney <cagney@b1.cygnus.com>
342
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.
353
354 * i386-tdep.c (i386_extract_return_value): Add FIXME recommending
09b59ee3 355 that this function be re-implemented using multi-arch.
02409499 356
9d271fd8
AC
357Tue Feb 29 18:40:08 2000 Andrew Cagney <cagney@b1.cygnus.com>
358
359 From 2000-02-23 Eli Zaretskii <eliz@is.elta.co.il>:
360 * utils.c [__GO32__]: Include pc.h, for prototypes of ScreenCols
361 and ScreenRows.
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.
369
30f6df08
AC
370Tue Feb 29 18:09:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
371
372 * arm-tdep.c: Include <ctype.h>.
373
d082b2bb
AC
374Tue Feb 29 17:33:49 2000 Andrew Cagney <cagney@b1.cygnus.com>
375
376 From Wed, 23 Feb 2000 Fernando Nasser <fnasser@redhat.com>:
377 * stack.c (backtrace_command_1), infrun.c (normal_stop): Check
09b59ee3 378 that the target's stack was valid.
d082b2bb 379
244106e8
AC
380Tue Feb 29 15:14:56 2000 Andrew Cagney <cagney@b1.cygnus.com>
381
382 From 2000-02-22 Stephane Carrez <stcarrez@worldnet.fr>:
09b59ee3 383 * dwarf2read.c (read_address): Read 16-bits addresses.
244106e8 384
56624b0a
SB
3852000-02-28 Scott Bambrough <scottb@netwinder.org>
386
387 * arm-linux-nat.c (fetch_nw_fpe_*):
09b59ee3 388 Renamed to fetch_nwfpe_* to use the same naming convention
56624b0a
SB
389 as in the Linux kernel. Modified prototype to get rid of
390 unused parameters.
391 (store_nw_fpe_*): Renamed to store_nwfpe_* to use the same
09b59ee3 392 naming convention as in the Linux kernel. Fixed calls to
56624b0a
SB
393 fetch_nwfpe_*.
394 (store_fpregs): Fixed calls to store_nwfpe_*. Removed
09b59ee3 395 unused variable.
56624b0a 396
388c1733
AC
397Mon Feb 28 18:24:32 2000 Andrew Cagney <cagney@b1.cygnus.com>
398
399 * MAINTAINERS: Transfer d30v maintainership to David Taylor.
400
f0d42432
CF
4012000-02-28 Christopher Faylor <cgf@cygnus.com>
402
403 * win32-nat.c: Remove unneeded header.
404 * wince.c: Ditto.
405
c322964e
AC
406Mon Feb 28 13:34:54 2000 Andrew Cagney <cagney@b1.cygnus.com>
407
408 * wince.c: Include "gdb_wait.h" and not "wait.h".
409
8860ff2e
AC
410Mon Feb 28 10:58:45 2000 Andrew Cagney <cagney@b1.cygnus.com>
411
412 * MAINTAINERS: Mention mmalloc. Expand Host/Native and
09b59ee3 413 Target/Architecture maintainers descriptions.
8860ff2e 414
942fd805
MK
4152000-02-26 Mark Kettenis <kettenis@gnu.org>
416
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
440 sentence.
441 (_initialize_gnu_nat): Provide complete prototype.
442
75c6e08a
MK
4432000-02-26 Mark Kettenis <kettenis@gnu.org>
444
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.
451
ddb20c56
KB
4522000-02-26 Kevin Buettner <kevinb@redhat.com>
453
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.
464
2a20d068
AC
465Sat Feb 26 17:15:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
466
467 * MAINTAINERS: Chris Faylor is responsible for all MS Windows
09b59ee3
DB
468 systems. Note that Jim Blandy as maintainer for ``tracing
469 bytecode stuff''
2a20d068 470
608d5915
FN
4712000-02-25 Fernando Nasser <fnasser@cygnus.com>
472
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
482 for exclusive use.
483
482ca3f5
KB
4842000-02-24 Kevin Buettner <kevinb@redhat.com>
485
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):
495 Declare.
496 (MEMORY_REMOVE_BREAKPOINT): Define.
497
a526d713
AC
498Wed Feb 23 23:27:48 2000 Andrew Cagney <cagney@behemoth.cygnus.com>
499
500 * hppah-nat.c: Include "gdb_wait.h" instead of <wait.h>.
501
e56ac5c3
AC
502Thu Feb 24 18:42:15 2000 Andrew Cagney <cagney@b1.cygnus.com>
503
504 * configure.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Set to
09b59ee3 505 $(SUBDIR_*_INSTALL) when so configured.
e56ac5c3 506 * configure: Regenerate.
09b59ee3 507
e56ac5c3 508 * Makefile.in (CONFIG_INSTALL, CONFIG_UNINSTALL): Define using
09b59ee3 509 configure.
e56ac5c3 510 (install-only): Add dependency on $(CONFIG_INSTALL). Delete code
09b59ee3 511 installing GDBtk.
e56ac5c3
AC
512 (uninstall): Add dependency on $(CONFIG_UNINSTALL).
513 (SUBDIR_MI_INSTALL, SUBDIR_MI_UNINSTALL, SUBDIR_GDBTK_UNINSTALL,
09b59ee3 514 SUBDIR_GDBTK_INSTALL): Define.
e56ac5c3
AC
515 (install-gdbtk): New target.
516
b0b1b869
AC
517Thu Feb 24 18:19:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
518
519 * configure.in (SUBDIR_MI_CFLAGS): Fix typo, wrong brace.
520 * configure: Regenerate.
09b59ee3 521
091be84d
CF
5222000-02-24 Christopher Faylor <cgf@cygnus.com>
523
524 * configure.tgt: Add arm, mips, sh wince targets.
525 * config/arm/tm-wince.h: New file.
33ee05bc 526 * config/arm/wince.mt: New file.
091be84d 527 * config/sh/tm-wince.h: New file.
33ee05bc 528 * config/sh/wince.mt: New file.
091be84d 529 * config/mips/tm-wince.h: New file.
33ee05bc 530 * config/mips/wince.mt: New file.
091be84d
CF
531 * wince.c: 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.
535
99eeeb0f
ND
536Wed Feb 23 19:01:45 EST 2000 Nicholas Duffek <nsd@cygnus.com>
537
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
550 enum return_reason.
551 (RETURN_MASK_QUIT, RETURN_MASK_ERROR): Define using RETURN_MASK.
552
242bfc55
FN
5532000-02-23 Fernando Nasser <fnasser@cygnus.com>
554
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.
558
ff844c8d
AC
559Wed Feb 23 12:58:46 2000 Andrew Cagney <cagney@b1.cygnus.com>
560
561 * gdbarch.sh (dis_asm_read_memory): Change LEN to unsigned long.
09b59ee3 562 Match ../include/dis-asm.h change.
ff844c8d
AC
563 * gdbarch.h: Regenerate.
564 * corefile.c (dis_asm_read_memory): Update.
565
fb40c209
AC
566Mon Feb 21 13:57:27 2000 Andrew Cagney <cagney@b1.cygnus.com>
567
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
09b59ee3
DB
571 selected and an ${srcdir}/mi directory is present enable MI
572 interface.
fb40c209
AC
573
574 * configure: Regenerate.
09b59ee3 575
fb40c209 576 * Makefile.in (SUBDIR_MI_OBS, SUBDIR_MI_SRCS, SUBDIR_MI_DEPS,
09b59ee3 577 SUBDIR_MI_INITS, SUBDIR_MI_LDFLAGS, SUBDIR_MI_CFLAGS): New macros.
fb40c209 578 (CONFIG_OBS, CONFIG_SRCS, CONFIG_DEPS, CONFIG_INITS,
09b59ee3
DB
579 CONFIG_LDFLAGS): New macros. Initialized by autoconf via
580 @CONFIG...@.
fb40c209 581 (INTERNAL_LDFLAGS, CDEPS, LINTFILES, DEPFILES, SOURCES,
09b59ee3 582 INIT_FILES): Use $(CONFIG_...) instead of @CONFIG...@.
fb40c209
AC
583
584 * mi: New directory. MI interface to GDB.
585
586 * defs.h (interpreter_p): Declare when UI_OUT.
587 * top.c (gdb_init): When interpreter_p, check that the interpreter
09b59ee3 588 was recognized by one of the linked in interpreters.
fb40c209
AC
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
09b59ee3 592 interpreter displays prompt.
fb40c209
AC
593
594 * breakpoint.c (print_it_typical, watchpoint_check,
09b59ee3 595 print_one_breakpoint, mention): When MI include additional
fb40c209
AC
596 target status information.
597 * infrun.c (print_stop_reason, normal_stop): Ditto.
598
14e0eb3b
JB
5992000-02-22 Jim Blandy <jimb@redhat.com>
600
601 * gdbarch.sh: Make the `default' field really default to zero, as
09b59ee3 602 documented.
14e0eb3b
JB
603
604 Bring COERCE_FLOAT_TO_DOUBLE under gdbarch's control.
605 * valops.c (COERCE_FLOAT_TO_DOUBLE): Rework definition to be
606 more function-like.
607 (default_coerce_float_to_double, standard_coerce_float_to_double):
608 New functions.
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,
09b59ee3
DB
615 tm-rs6000.h, tm-sh.h, tm-sparc.h (COERCE_FLOAT_TO_DOUBLE): Change
616 definitions.
14e0eb3b
JB
617 * mips-tdep.c (mips_coerce_float_to_double): Supply our own custom
618 function here.
619 (mips_gdbarch_init): Install that as our coerce_float_to_double
620 function.
621
50c9bd31
KB
6222000-02-22 Kevin Buettner <kevinb@redhat.com>
623
624 * ppc-linux-nat.c (supply_gregset, supply_fpregset): Add return
625 type.
626 * ppc-linux-tdep.c (ppc_linux_at_sigtramp_return_path): Add
627 forward declaration.
628
629 * ppc-linux-tdep.c (ppc_linux_frame_saved_pc): Handle case
630 where the next frame is a signal handler caller.
631
632 * config/powerpc/tm-linux.h (PUSH_ARGUMENTS): Remove extraneous
633 undef.
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.
640
223b8554
KB
6412000-02-21 Kevin Buettner <kevinb@redhat.com>
642
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
646 and like targets.
647
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
651 port.
8883511e
KB
652 * config/powerpc/linux.mh (NAT_FILE): Redefine to be nm-linux.h.
653 (NATDEPFILES): Update list to reflect the fact that we can
654 now debug natively.
223b8554
KB
655
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.
663
750334d7
EZ
6642000-02-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
665
666 From Philippe De Muyter <phdm@macqel.be>
667
668 * event-loop.c (handle_file_event): In case of poll, enable
09b59ee3
DB
669 printing of informational message if an error/exception is
670 detected on the file descriptor.
750334d7 671
2403ff6f
JK
6722000-02-21 Jim Kingdon <kingdon@redhat.com>
673
674 * MAINTAINERS (Misc): Clarify that yes, anyone can edit web pages.
675
f7cb3ef8
AC
676Mon Feb 21 12:50:57 2000 Andrew Cagney <cagney@b1.cygnus.com>
677
91b9ff21 678 * buildsym.c: Include "language.h" and "expression.h" for
09b59ee3 679 longest_local_hex_string_custom.
f7cb3ef8 680
0596389c
AC
681Mon Feb 21 11:17:18 2000 Andrew Cagney <cagney@b1.cygnus.com>
682
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
09b59ee3 685 Cagney <cagney@b1.cygnus.com>.
0596389c 686
f5bca8e7
AC
687Mon Feb 21 11:03:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
688
689 * MAINTAINERS: Update: IA-64 - Kevin Buettner; ARM - Fernando
09b59ee3
DB
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
694 Kingdon.
f5bca8e7 695 * MAINTAINERS: Add Nick Clifton to write after approval list.
09b59ee3 696
538aae9d
AC
697Mon Feb 21 10:30:39 2000 Andrew Cagney <cagney@b1.cygnus.com>
698
699 * MAINTAINERS: Add note on multiple maintainers.
700
55555bbc
FN
7012000-02-19 Philippe De Muyter <phdm@macqel.be>
702
09b59ee3
DB
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.
55555bbc 706
dea753cd 7072000-02-18 Jim Blandy <jimb@redhat.com>
9a90a845 708
dea753cd 709 From Jimmy Guo <guo@cup.hp.com>:
9a90a845
JB
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'.
714
cca728d0
EZ
7152000-02-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
716
717 * remote.c (remote_async_detach): Use target_mourn_inferior(), to
09b59ee3
DB
718 make sure that all is cleaned up after we disconnect from the
719 target.
cca728d0
EZ
720 (remote_detach): Ditto.
721
e8b09175
FN
7222000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
723
b8d86de3
FN
724 From Rodney Brown <RodneyBrown@pmsc.com>
725 * ui-out.c (ui_out_set_flags): Fix typo, removing warning and
726 potentially harming mistake.
727
41815666
FN
7282000-02-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
729
e8b09175
FN
730 * arm-tdep.c: Use header file instead of extern declarations for
731 the {get,set}_arm_regname* functions.
732
d45b9300
FN
7332000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
734
735 * configure.in: Replaces obsolete gdbtk-variable.c with
736 gdbtk-varobj.c.
737 * configure: Regenerate.
738 * Makefile.in: Remove obsolete/extraneous references to
739 gdbtk-var* files.
740
e95a43ad
MK
7412000-02-16 Mark Kettenis <kettenis@gnu.org>
742
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
748 REALTIME_HI.
749
7433da22
MK
7502000-02-16 Mark Kettenis <kettenis@gnu.org>
751
752 * configure: Regenerated.
753
bc90b915
FN
7542000-02-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
755
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
761 opcodes directory.
762
83d37ec8
MK
7632000-02-09 Mark Kettenis <kettenis@gnu.org>
764
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,
768 HAVE_PRFPREGSET_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.
771
eeefac92
AC
772Wed Feb 16 19:00:02 2000 Andrew Cagney <cagney@b1.cygnus.com>
773
774 From 2000-01-26 Rodney Brown <RodneyBrown@pmsc.com>:
09b59ee3 775 * procfs.c: Define MERGEPID if not defined. For osf4.0e.
eeefac92 776
1a645206
JM
7772000-02-15 Jason Molenda (jsm@bugshack.cygnus.com)
778
779 * Makefile.in (diststuff): Run 'diststuff' in doc/ subdir, not
780 'do-doc'.
781
f6077098
KB
7822000-02-15 Kevin Buettner <kevinb@redhat.com>
783
784 Changes for AIX 4.3:
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.
09b59ee3 789 (rs6000_push_arguments): Adapt USE_GENERIC_DUMMY_FRAMES
f6077098
KB
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,
09b59ee3 793 PUSH_DUMMY_FRAME, PUSH_RETURN_ADDRESS, GET_SAVED_REGISTER,
f6077098
KB
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.
798
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
802 NUM_REGS.
803
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.
812
8132000-02-15 Jesper Skov <jskov@cygnus.co.uk>
814
815 Patch applied by Kevin Buettner <kevinb@redhat.com>
09b59ee3 816
f6077098
KB
817 * rs6000-tdep.c (skip_prologue): skip copying of argument
818 registers to local variable registers.
819
70d5406d
JK
8202000-02-14 Jim Kingdon <kingdon@redhat.com>
821
822 * elfread.c (elf_symtab_read): Revert changes by Amit S. Kale. A
823 sym->section->index number is not a SECT_OFF_* code.
824
168770df
AC
825Tue Feb 15 12:07:30 2000 Andrew Cagney <cagney@b1.cygnus.com>
826
827 * MAINTAINERS (write after approval): Add H.J. Lu.
828
031d1bf1
NC
8292000-02-14 Nick Clifton <nickc@cygnus.com>
830
831 * sh-tdep.c: Remove extraneous code.
832
2bc8a457
JK
8332000-02-14 Amit S. Kale <akale@veritas.com>
834
835 * elfread.c (elf_symtab_read): Move the use of sym to after where
836 it is set.
837 Checked in by Jim Kingdon <kingdon@redhat.com>
838
0c566c2e
AC
839Mon Feb 14 15:39:01 2000 Andrew Cagney <cagney@b1.cygnus.com>
840
841 * MAINTAINERS: Make Nick Duffek the UnixWare threads maintainer.
842
3ca72b44
AC
843Mon Feb 14 15:20:26 2000 Andrew Cagney <cagney@b1.cygnus.com>
844
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.
848
849 * dwarf2read.c: (die_is_declaration): Convert to ISO-C.
850
d6e9fb05
JK
8512000-02-10 J.T. Conklin <jtc@redback.com>
852
853 * config/i386/nbsd.mt (GDBSERVER_DEPFILES): Add low-nbsd.o
854 * configure.tgt (i[3456]86-*-netbsd*): add gdbserver to
09b59ee3 855 configdirs.
d6e9fb05 856 * gdbserver/low-nbsd.c: New file.
09b59ee3 857
d6e9fb05
JK
858 * gdbserver/Makefile.in: convert to autoconf.
859 * gdbserver/configure.in: likewise.
860 * gdbserver/configure: generate.
861
41c8e009
AC
862Sun Feb 13 11:21:00 2000 Andrew Cagney <cagney@b1.cygnus.com>
863
864 * CONTRIBUTE: New file. How to contribute to GDB.
865
15929d05
AC
866Sun Feb 13 10:34:48 2000 Andrew Cagney <cagney@b1.cygnus.com>
867
868 * MAINTAINERS: Add Eli Zaretskii to djgpp maintiners. Add Kevin
09b59ee3
DB
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.
15929d05 872
5185fdd7
AC
873Sun Feb 13 10:18:44 2000 Andrew Cagney <cagney@b1.cygnus.com>
874
875 * MAINTAINERS: Reformat. Separate into check-in categories.
876
f086451a
ND
877Sat Feb 12 01:08:21 EST 2000 Nicholas Duffek <nsd@cygnus.com>
878
879 * uw-thread.c: Remove __FUNCTION__ GNUism.
880
fa292f23
JK
8812000-01-17 Amit S. Kale <akale@veritas.com>
882
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
885 symbol.
886 Checked in by Jim Kingdon <kingdon@redhat.com>
887
e18ef0bd
JK
8882000-02-10 Mark Kettenis <kettenis@gnu.org>
889
890 * gnu-nat.c: Remove hackery to include <bits/waitflags.h>. It is
891 no longer necessary now we have gdb_wait.h.
892
f90b2b1d
JK
8932000-02-09 Mark Kettenis <kettenis@gnu.org>
894
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.
898
8991999-12-13 Mark Kettenis <kettenis@gnu.org>
900
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.
905
09f99d3f
JK
9062000-02-10 Jim Kingdon <kingdon@redhat.com>
907
908 * defs.h (MERGEPID): Added. Patch submitted by Andrew Hobson and
909 approved by Michael Snyder.
910
203051af
AC
9112000-02-09 Mark Kettenis <kettenis@gnu.org>
912
09b59ee3 913 * linux-thread.c: Include defs.h before gdb_wait.h.
203051af 914
03f2053f
AC
915Wed Feb 9 18:59:16 2000 Andrew Cagney <cagney@b1.cygnus.com>
916
917 * Makefile.in (wait_h): Delete macro. Update all dependencies
09b59ee3 918 specifying gdb_wait.h instead.
03f2053f
AC
919
920 * ser-unix.c, ser-pipe.c, remote.c, remote-udi.c, remote-sds.c,
09b59ee3
DB
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>
930 or <sys/wait.h>.
145679a8 931 * nindy-share/nindy.c, nindy-share/Onindy.c: Ditto.
03f2053f
AC
932
933 * gdb_wait.h: New file. Based on ../include/wait.h. Include
09b59ee3 934 <sys/wait.h> or <wait.h> and then define any missing WIF macros.
03f2053f 935
489137c0
AC
936Wed Feb 9 01:14:54 2000 Andrew Cagney <cagney@amy.cygnus.com>
937
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.
942
ce808e91
AC
9431999-08-23 J.T. Conklin <jtc@redback.com>
944
09b59ee3
DB
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
ce808e91 949
e9277ae8
AC
9501999-10-18 J.T. Conklin <jtc@redback.com>
951
09b59ee3
DB
952 * m32r-stub.c, sparcl-stub.c, sparclet-stub.c (handle_exception):
953 Return E01 instead of P01 when 'P' command fails.
e9277ae8 954
1216fa2c
AC
9552000-02-05 J.T. Conklin <jtc@redback.com>
956
957 * remote.c (putpkt_binary): Handle NAK from target stub.
958
f2c4d933
EZ
9592000-02-08 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
960
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.
964 * configure: Ditto.
965 * Makefile.in: Add FIXME for init.c.
966
745b8ca0
JK
9672000-02-07 Jim Kingdon <kingdon@redhat.com>
968
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.
980
4d9ab7f6
JK
9812000-02-04 Jim Blandy <jimb@redhat.com>
982
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.
986
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.
990
dfcd3bfb
JM
9912000-02-04 Nick Clifton <nickc@cygnus.com>
992
993 * config/arm/tm-arm.h (LOWEST_PC): Define.
994
9952000-02-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
996
997 * infrun.c (resume): Make just one call to target_resume(), instead
09b59ee3
DB
998 of four: set up correct parameters in all the cases ahead of time,
999 and do call at the end.
dfcd3bfb
JM
1000
10012000-02-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1002
1003 * config/powerpc/tm-ppc-eabi.h: Define
09b59ee3 1004 SOFUN_ADDRESS_MAYBE_MISSING.
dfcd3bfb
JM
1005
10062000-02-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
1007
1008 * arm-tdep.c (arm_pc_is_thumb_dummy): Account for large dummy
1009 frames (revisited).
1010
1011Fri Feb 4 22:42:36 2000 Andrew Cagney <cagney@b1.cygnus.com>
1012
1013 * Makefile.in (INIT_FILES): Append CONFIG_INITS
1014 * configure.in (CONFIG_INIT): Initialize.
3fc11d3e
JM
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,
09b59ee3
DB
1018 gdbtk-varobj.c, gdbtk-wrapper.c, gdbtk-wrapper.h, gdbtk.c,
1019 gdbtk.h: Moved to gdbtk/generic.
dfcd3bfb
JM
1020
10212000-02-03 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1022
1023 * printcmd.c (build_address_symbolic): New function. Returns all
09b59ee3
DB
1024 the parts that are necessary to print an address in a symbolic
1025 form.
dfcd3bfb 1026 (print_address_symbolic): Split into a printing part and an
09b59ee3 1027 information building part, build_address_symbolic().
dfcd3bfb
JM
1028
1029 * defs.h (build_address_symbolic): Export.
1030
10312000-02-03 Jim Blandy <jimb@redhat.com>
1032
1033 * dwarf2read.c (decode_locdesc): Add support for the DW_OP_bregx
1034 opcode.
1035
8b93c638
JM
10362000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
1037
1038 * arm-tdep.c (arm_push_arguments): Fix passing of floating point
1039 arguments on dummy frames.
1040
10412000-02-02 Fernando Nasser <fnasser@totem.to.cygnus.com>
1042
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).
1045
d9fcf2fb
JM
10462000-02-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1047
1048 * remote.c (getpkt_sane): New function. It is the old getpkt(),
09b59ee3 1049 which now returns a timeout indication.
d9fcf2fb 1050 (getpkt): New function. Wrapper for getpkt_sane(), so that return
09b59ee3 1051 value can still be ignored.
d9fcf2fb 1052
8b93c638
JM
1053Tue Feb 1 18:47:31 2000 Andrew Cagney <cagney@b1.cygnus.com>
1054
1055 * top.c (print_gdb_version): Print ``UI_OUT'' when configured with
09b59ee3 1056 UI_OUT.
8b93c638 1057
d9fcf2fb
JM
1058Tue Feb 1 00:17:12 2000 Andrew Cagney <cagney@b1.cygnus.com>
1059
1060 * ui-file.c, ui-file.h: Rename gdb-file.h, gdb-file.c. Rename
09b59ee3
DB
1061 ``struct gdb_file'' to ``struct ui_file''. Delete typedef
1062 GDB_FILE.
1063
d9fcf2fb
JM
1064 * Makefile.in: Update.
1065
1066 * ax-gdb.c, ax-general.c, ax.h, buildsym.c, c-lang.c, c-lang.h,
09b59ee3
DB
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.
8b93c638 1082 * cli-out.c, cli-out.h, ui-out.c, ui-out.h, varobj.c: Update.
d9fcf2fb 1083
da59e081
JM
10842000-01-31 Jason Molenda (jsm@bugshack.cygnus.com)
1085
a9e0ce2c
JM
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,
da59e081 1092 config/powerpc/solaris.mh (NATDEPFILES): Change references to
a9e0ce2c 1093 proc_api.o, proc_events.o, proc_flags.o, and proc_why.o to
da59e081
JM
1094 proc-api.o, proc-events.o, proc-flags.o, and proc-why.o.
1095
1096Mon Jan 31 17:14:52 2000 Andrew Cagney <cagney@b1.cygnus.com>
1097
1098 * top.c (fputs_unfiltered_hook): Moved to tui/tui-file.c.
1099
1100 * main.c (captured_main): Only use the legacy tui_file code when
09b59ee3 1101 linking in older code such as the TUI.
da59e081
JM
1102
1103 * gdb-file.h, gdb-file.c: New files.
1104 * utils.c, defs.h (struct gdb_file, gdb_file_new, gdb_file_delete,
09b59ee3
DB
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.
da59e081 1118 * utils.c (enum streamtype, struct tui_stream, tui_file_new,
09b59ee3
DB
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,
da59e081 1122 fputs_unfiltered_hook):
09b59ee3
DB
1123 Moved to tui/tui-file.c and tui/tui-file.h.
1124
da59e081
JM
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.
1129
11302000-01-28 Fred Fish <fnf@cygnus.com>
1131
1132 * findvar.c (value_from_register): Special case handling of D10V
1133 pointer values fetched from registers.
1134
11352000-01-28 Fernando Nasser <fnasser@totem.to.cygnus.com>
1136
1137 * arm-tdep.c (thumb_skip_prologue, thumb_scan_prologue): Add
b55cf2e4 1138 support for new style thumb prologues.
da59e081
JM
1139
11402000-01-28 Nick Clifton <nickc@redhat.com>
1141
1142 * arm-tdep.c: Remove extraneous dash at start of strings
1143 introduced in previous delta.
1144
11452000-01-27 Nick Clifton <nickc@redhat.com>
1146
1147 * arm-tdep.c: Replace uses of arm_toggle_renames() with
b55cf2e4 1148 parse_arm_disassembler_option().
da59e081
JM
1149
11502000-01-27 Jim Blandy <jimb@cygnus.com>
1151
1152 * symtab.c (decode_line_1): Don't let commas that are within
09b59ee3
DB
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.
da59e081
JM
1159 (find_toplevel_char): New function.
1160
11612000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
1162
1163 * arm-tdep.c (arm_push_arguments): Set the thumb mode bit when
09b59ee3 1164 passing the pointer to a thumb function as an argument.
da59e081
JM
1165
11662000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
1167
1168 * remote-rdi.c (arm_rdi_mourn_inferior): Make sure breakpoints
1169 are reinserted for another run.
1170
8b93c638
JM
11712000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
1172
1173 * cli-out.c (cli_filed_string): Test for NULL string.
1174
da59e081
JM
11752000-01-27 Fernando Nasser <fnasser@totem.to.cygnus.com>
1176
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.
1181
11822000-01-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1183
1184 From Mark Kettenis <kettenis@gnu.org>
1185
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.
1195
0fda6bd2
JM
11962000-01-24 Kevin Buettner <kevinb@redhat.com>
1197
1198 * utils.c (get_field, put_field): Fix buffer underruns and
1199 overruns. Also, handle case where total_len is not evenly
1200 divisible by 8.
1201 (getfield): Make sure zeroing of unwanted bits occurs even
1202 when bit field to extract does not straddle two or more
1203 bytes.
1204
12052000-01-23 Christopher Faylor <cgf@cygnus.com>
1206
1207 * defs.h: Add gdb_thread_select declaration.
1208
12092000-01-23 Kevin Buettner <kevinb@redhat.com>
1210
1211 * linux-thread.c (_initialize_linuxthreads): Make sure that
1212 linuxthreads_block_mask does not block SIGCHLD.
1213
12142000-01-20 Fernando Nasser <fnasser@totem.to.cygnus.com>
1215
1216 * rdi-share/devsw.c (openLogFile): On cygwin, set the log mode to
1217 text so that new lines work properly.
1218
12192000-01-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1220
1221 * proc-utils.h: New file. Export functions from proc-*.c.
1222
1223 * proc_api.c: Rename to:
1224 * proc-api.c: New file. Add include of proc-utils.h.
1225
1226 * proc_events.c: Rename to:
1227 * proc-events.c: New file.
1228
1229 * proc_flags.c: Rename to:
1230 * proc-flags.c: New file.
1231
1232 * proc_why.c: Rename to:
1233 * proc-why.c: New file. Add include of proc-utils.h.
1234
1235 * procfs.c: Add includes of gdbthread.h, sys/wait.h, signal.h,
09b59ee3 1236 ctype.h, proc-utils.h.
0fda6bd2
JM
1237 (find_procinfo_or_die): Add braces to avoid ambiguous else clause.
1238 (open_procinfo_files): Conditionalize local variable tmp, to avoid
09b59ee3 1239 compiler warnings.
0fda6bd2 1240 (proc_iterate_over_mappings): Conditionalize local vars mapfd and
09b59ee3 1241 pathname.
0fda6bd2 1242 (procfs_wait): Adjust format in some printf_filetered calls to
09b59ee3 1243 avoid compiler warnings.
0fda6bd2 1244 (make_signal_thread_runnable): Ifdef 0. The calls to this function
09b59ee3 1245 are also ifdef'd 0 .
0fda6bd2
JM
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.
1249
1250 * Makefile.in (procfs.o, proc-api.o, proc-events.o, proc-flags.o,
09b59ee3 1251 proc-why.o): Update dependencies.
0fda6bd2
JM
1252
1253 * config/sparc/sun4sol2.mh (NATDEPFILES): Change proc_*.o files to
1254 proc-*.o.
1255
c5394b80
JM
12562000-01-17 Jason Molenda (jsm@bugshack.cygnus.com)
1257
1258 * configure.in (NEW_PROC_API): Fix Unixware-matching regexp.
1259 Fix from Robert Lipe <robertl@sco.com>.
1260 * configure: Regenerated.
1261
12622000-01-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1263
1264 * stack.c (print_frame_info_base): Break up into the frame info
09b59ee3 1265 (location) printing part and the rest (source line printing).
c5394b80 1266 (print_frame): New function. Take care of printing the location
09b59ee3 1267 information.
c5394b80
JM
1268 Update copyright.
1269
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().
09b59ee3
DB
1272 Update copyright.
1273
c5394b80 1274 * frame.h (print_what): New enum for 'source' argument to
09b59ee3 1275 print_frame_info_base(). Use this instead of obscure numbers.
c5394b80 1276 Update copyright.
09b59ee3 1277
c5394b80
JM
1278Sun Jan 16 17:58:00 2000 David Taylor <taylor@texas.cygnus.com>
1279
1280 * event-top.c (stdin_event_handler): call quit_command rather than
09b59ee3
DB
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.
c5394b80
JM
1284
12852000-01-14 Mark Salter <msalter@cygnus.com>
1286
1287 * v850-tdep.c (v850_target_architecture_hook): Setup correct
09b59ee3 1288 machine id for disassembly.
c5394b80 1289
0fda6bd2
JM
12902000-01-13 Jim Blandy <jimb@cygnus.com>
1291
1292 * i386-linux-nat.c (fill_gregset): Pass the correct arguments to
1293 convert_to_regset, when regno indicates a specific register.
1294
c5394b80
JM
1295Thu Jan 13 23:34:17 EST 2000 Nicholas Duffek <nsd@cygnus.com>
1296
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.
1305
13062000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
1307
1308 * rdi-share/ardi.c (negotiate_params): Fix initialization of static
1309 variable.
1310
13112000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
1312
1313 * remote-rdi.c (arm_rdi_open): Call arm-rdi-close() to make sure
1314 both sides are on the same state.
1315
13162000-01-12 Fernando Nasser <fnasser@totem.to.cygnus.com>
1317
1318 * rdi-share/serdrv.c (find_baud_rate): Fix entries for 57600 and
1319 115200 (minor syntax mistake).
1320
13212000-01-12 Jim Blandy <jimb@cygnus.com>
1322
1323 * config/sparc/tm-sun4sol2.h (MERGEPID): Provide a definition for
1324 this here, to go along with the definitions of PIDGET and TIDGET.
1325
13262000-01-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1327
1328 * thread.c (do_captured_thread_select): New function. Switch
09b59ee3 1329 current thread, safely from within catch_errors().
c5394b80
JM
1330 (gdb_thread_select): New function. Switch threads safely.
1331 (thread_command): Use gdb_thread_select().
8b93c638
JM
1332 Include ui-out.h.
1333 (do_captured_list_thread_ids): New function.
1334 (gdb_list_thread_ids): New function.
1335
1336 * defs.h (gdb_thread_select, gdb_list_thread_ids): Export.
c5394b80
JM
1337
13382000-01-11 Christopher Faylor <cgf@cygnus.com>
1339
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.
1344
0d06e24b
JM
13452000-01-09 Christopher Faylor <cgf@cygnus.com>
1346
1347 * win32nat.c (handle_exceptions): Handle various arithmetic exceptions.
1348 * configure.in: Add an additional library to cygwin link.
1349 * configure: Regenerate.
1350
1351 Patch from Egor Duda <deo@logos-m.ru>:
1352 * coffread.c (coff_symfile_read): Reinstate ability to recognize "pe"
1353 type.
1354
13552000-01-07 Michael Snyder <msnyder@cleaver.cygnus.com>
1356
1357 * uw-thread.c: New file to support UnixWare user-mode threads:
aa47baa9 1358 contributed by Nickolas Duffek <nsd@cygnus.com>.
0d06e24b
JM
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.
2b266721 1375 (iterate_over_threads): new exported function for applying
0d06e24b
JM
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.
1386
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.
09b59ee3 1391
8b93c638
JM
13922000-01-07 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1393
1394 * infrun.c (normal_stop): Print out thread id when we stop.
1395
0d06e24b
JM
13962000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
1397
1398 * remote.c (remote_open_1): Fix message so it does not imply a
2b266721 1399 specific syntax for serial ports, as it is OS dependent.
0d06e24b
JM
1400 (remote_async_open_1): Ibid.
1401 (init_remote_ops): Ibid.
1402
14032000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
1404
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.
1408
14092000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
1410
1411 * rdi-share/serdrv.c (find_baud_rate): Add entries for 57600 and
1412 115200.
1413 (baud_options[]): Ibid.
1414
14152000-01-06 Fernando Nasser <fnasser@totem.to.cygnus.com>
1416
1417 * rdi-share/unixcomm.c: Fix SERIAL_PREFIX so it matches the prefix
1418 used by each operating system.
1419
14202000-01-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1421
1422 * breakpoint.c (until_break_command): Add an argument for the
09b59ee3
DB
1423 continuation, the beginning of the cleanups set up by this
1424 command.
0d06e24b 1425 (until_break_command_continuation): Do cleanups until the one
09b59ee3 1426 passed in as argument instead of doing all of them.
0d06e24b
JM
1427
1428 * infcmd.c (finish_command_continuation): Expect a new argument,
09b59ee3
DB
1429 which indicates up to where to do cleanups. Update calls to
1430 do_exec_cleanups to use this marker, instead of ALL_CLEANUPS.
0d06e24b
JM
1431 (finish_command): Add another argument for the continuation: the
1432 starting cleanup for this command.
1433
c3f6f71d 14342000-01-05 Fernando Nasser <fnasser@totem.to.cygnus.com>
ed9a39eb 1435
c3f6f71d
JM
1436 From Grant Edwards <grante@visi.com> (original patch from Thomas
1437 Zenker ):
1438 * rdi-share/ardi.c: Allow interruption of interruptible
1439 targets with a <CNTL-C>.
ed9a39eb 1440
c3f6f71d 14412000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
ed9a39eb 1442
c3f6f71d
JM
1443 * rdi-share/etherdrv.c (fetch_ports): Send extra words on request
1444 to control port to accommodate some versions of Angel.
ed9a39eb 1445
c3f6f71d 14462000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
ed9a39eb 1447
c3f6f71d
JM
1448 * rdi-share/devsw.c (dumpPacket): Fix source of channel information.
1449 Add interpretation for C Support Library packets.
ed9a39eb 1450
c3f6f71d 14512000-01-04 Fernando Nasser <fnasser@totem.to.cygnus.com>
ed9a39eb 1452
c3f6f71d
JM
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.
ed9a39eb 1456
c3f6f71d 1457For older changes see ChangeLog-99
c906108c
SS
1458\f
1459Local Variables:
1460mode: change-log
1461left-margin: 8
1462fill-column: 74
1463version-control: never
1464End:
This page took 0.138095 seconds and 4 git commands to generate.