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