* i386-dis.c (grps): Print l or w suffix, and require mem modrm
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
f9eb4b01
EZ
12001-07-17 Elena Zannoni <ezannoni@redhat.com>
2
3 * Makefile.in (tui-file.o): Update dependencies.
4
d0c8cdfb
EZ
52001-07-17 Elena Zannoni <ezannoni@redhat.com>
6
7 * top.c (catch_errors): Convert PTR to void * in parameters list.
8 (quit_cover): Ditto.
9
063190b6
SC
102001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
11
12 * source.c (find_source_lines): Remove tui test, must be replaced
13 by appropriate warning hook.
14 (print_source_lines): Remove tui hacks, must be replaced by cli.
15 (forward_search_command): Remove tui hacks, can be replaced by
16 appropriate calls to identify_source_line when tui scrolls.
17 (reverse_search_command): Likewise.
18
cf759d3b
ND
192001-07-16 Nick Duffek <nsd@redhat.com>
20
21 * remote.c (init_remote_ops, init_remote_cisco_ops,
22 init_remote_async_ops): Set to_pid_to_str and
23 to_extra_thread_info correctly and in the same order as declared
24 in target.h.
25
0caabb7e
AC
262001-07-16 Andrew Cagney <ac131313@redhat.com>
27
28 * remote.c: Revert below. Included more than intended.
29
943b3971
ND
302001-07-16 Nick Duffek <nsd@redhat.com>
31
32 * remote.c (init_remote_ops, init_remote_cisco_ops,
33 init_remote_async_ops): Set to_pid_to_str and
34 to_extra_thread_info correctly and in the same order as declared
35 in target.h.
36
9ed10b08
ND
372001-07-16 Nick Duffek <nsd@redhat.com>
38
39 * findvar.c (read_var_value): Apply value_as_pointer() to
40 addresses retrieved from the target for LOC_BASEREG and
41 LOC_BASEREG_ARG variables.
42
24be5c34
OF
432001-07-16 Orjan Friberg <orjanf@axis.com>
44
45 * NEWS: New target CRIS.
46
314b6fb7
EZ
472001-07-16 Elena Zannoni <ezannoni@redhat.com>
48
49 * top.c (show_commands): Remove extern decl of history_get, it's
50 already in readline/history.h.
51
210661e7
EZ
522001-07-16 Elena Zannoni <ezannoni@redhat.com>
53
54 * top.c (is_complete_command, init_cmd_lists, init_cli_cmds,
55 execute_user_command, do_setshow_command, get_prompt, init_proc,
56 serial_log_command): Remove extern declarations. Include
57 cli/cli-cmds.h, cli/cli-script.h, cli/cli-setshow.h, serial.h.
58 * gdbcmd.h (execute_user_command): Remove declaration, it's already
59 in cli/cli-script.h.
60 * command.h (do_setshow_command): Remove declaration, it's already
61 in cli/cli-setshow.h.
62 * infrun.c: Include "cli/cli-script.h" for execute_user_command.
63 * Makefile.in (infrun.o): Update dependencies.
64 (top.o): Ditto.
65 * cli/cli-setshow.h: Add comment for do_setshow_command.
66
2584159e
EZ
672001-07-16 Eli Zaretskii <eliz@is.elta.co.il>
68
69 * cli/cli-cmds.c (shell_escape) [GLOBAL_CURDIR]: Condition the
70 call to chdir on this symbol rather than on __DJGPP__.
71 (CANT_FORK) [__MSDOS__]: Move from here...
72 * defs.h (CANT_FORK) [__MSDOS__]: ...to here.
73 (GLOBAL_CURDIR) [__MSDOS__]: Define.
74
cf54db79
OF
752001-07-16 Orjan Friberg <orjanf@axis.com>
76
77 * configure.tgt: Recognise the CRIS architecture.
78 * config/cris/cris.mt: New file for CRIS target.
79 * cris-tdep.c: New file for CRIS target.
80
64cdedad
EZ
812001-07-15 Elena Zannoni <ezannoni@redhat.com>
82
83 * top.c (quit_cover, float_handler): Move definition up before use.
84 (gdb_init): Move to end of file, to avoid calls to not yet defined
85 functions.
86 Delete prototypes.
87
2cd58942
AC
882001-07-14 Andrew Cagney <ac131313@redhat.com>
89
90 * serial.h (SERIAL_ASYNC): Delete.
91 (DEPRECATED_SERIAL_FD): Delete.
92 (SERIAL_DEBUG): Delete.
93 (SERIAL_DEBUG_P): Delete.
94 (SERIAL_DRAIN_OUTPUT): Delete.
95 (SERIAL_FLUSH_OUTPUT): Delete.
96 (SERIAL_FLUSH_INPUT): Delete.
97 (SERIAL_SEND_BREAK): Delete.
98 (SERIAL_RAW): Delete.
99 (SERIAL_GET_TTY_STATE): Delete.
100 (SERIAL_SET_TTY_STATE): Delete.
101 (SERIAL_PRINT_TTY_STATE): Delete.
102 (SERIAL_NOFLUSH_SET_TTY_STATE): Delete.
103 (SERIAL_SETBAUDRATE): Delete.
104 (SERIAL_SETSTOPBITS): Delete.
105 (SERIAL_CAN_ASYNC_P): Delete.
106 (SERIAL_IS_ASYNC_P): Delete.
107 (SERIAL_UN_FDOPEN): Delete.
108 (SERIAL_READCHAR): Delete.
109 (SERIAL_CLOSE): Delete.
110 (SERIAL_FDOPEN): Delete.
111 (SERIAL_OPEN): Delete.
112 * ser-unix.c: Update.
113 * sparclet-rom.c: Update.
114 * remote-bug.c: Update.
115 * dsrec.c: Update.
116 * xmodem.c: Update.
117 * nindy-share/ttyflush.c: Update.
118 * nindy-share/Onindy.c: Update.
119 * utils.c: Update.
120 * serial.c: Update.
121 * remote-nindy.c: Update.
122 * inflow.c: Update.
123 * sparcl-tdep.c: Update.
124 * sh3-rom.c: Update.
125 * remote.c: Update.
126 * remote-utils.c: Update.
127 * remote-st.c: Update.
128 * remote-sds.c: Update.
129 * remote-rdp.c: Update.
130 * remote-os9k.c: Update.
131 * remote-nrom.c: Update.
132 * remote-mips.c: Update.
133 * remote-es.c: Update.
134 * remote-e7000.c: Update.
135 * remote-array.c: Update.
136 * ocd.c: Update.
137 * nindy-share/nindy.c: Update.
138 * monitor.c: Update.
139
ea7c478f
AC
1402001-07-14 Andrew Cagney <ac131313@redhat.com>
141
142 * mn10200-tdep.c: Replace value_ptr with ``struct value *''.
143 * mcore-tdep.c: Ditto.
144 * sparc-tdep.c: Ditto.
145 * sh-tdep.c: Ditto.
146 * rs6000-tdep.c: Ditto.
147 * ppc-linux-tdep.c: Ditto.
148 * m68hc11-tdep.c: Ditto.
149 * ia64-tdep.c: Ditto.
150 * i386-tdep.c: Ditto.
151 * arm-linux-tdep.c: Ditto.
152 * hppa-tdep.c: Ditto.
153 * h8500-tdep.c: Ditto.
154 * fr30-tdep.c: Ditto.
155 * arm-tdep.c: Ditto.
156 * alpha-tdep.c: Ditto.
157 * d30v-tdep.c: Ditto.
158 * d10v-tdep.c: Ditto.
159 * m32r-tdep.c: Ditto.
160 * mips-tdep.c: Ditto.
161 * v850-tdep.c: Ditto.
162
d75b5104
EZ
1632001-07-15 Elena Zannoni <ezannoni@redhat.com>
164
165 * top.c (readline_line_completion_function, noop_completer): Move
166 from here...
167 * completer.c (readline_line_completion_function, noop_completer):
168 ...to here.
169 * gdbcmd.h (readline_line_completion_function, noop_completer):
170 Move declarations from here...
171 * completer.h (readline_line_completion_function, noop_completer):
172 ...to here.
173 * corefile.c: Include completer.h.
174 * source.c: Ditto.
175 * symfile.c: Ditto.
176 * Makefile.in: Update dependencies.
177
150985e3
EZ
1782001-07-15 Eli Zaretskii <eliz@is.elta.co.il>
179
180 * go32-nat.c (go32_create_inferior): Support command lines longer
181 than 126 characters.
182
def90278
SC
1832001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr>
184
185 * NEWS: New target 68HC11/68HC12.
186
37767e42
SC
1872001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr>
188
189 * utils.c (query): Remove tui hacks; tui must use the query_hook.
190 * top.c (command_loop): Remove tui insert_mode hacks; don't call
191 tuiCleanUp because this must be made with atexit by tui.
192 * symfile.c (symbol_file_command): Remove call to TUIDO
193 * stack.c (show_and_print_stack_frame_stub): Remove tui check;
194 not necessary when using the selected frame hooks.
195 (print_stack_frame_stub): Likewise.
196 (print_frame_info_base): Likewise.
197 (print_frame_info): Likewise.
198 (up_silently_command): Likewise.
199 (down_silently_command): Likewise.
200 (show_stack_frame): Likewise for TUIDO.
201 (select_frame): Likewise.
202 (select_and_print_frame): Likewise.
203 (stack_publish_stopped_with_no_frame): Remove.
204 (select_and_maybe_print_frame): Remove.
205 * main.c (captured_main): Remove tui_fileopen and tuiInit; tui
206 must use the initialize ui hook.
207 * infrun.c (normal_stop): Remove call to TUIDO; tui must use the
208 selected frame hooks.
209 * event-top.c (command_handler): Remove tui insert_mode hack.
210 * defs.h: Remove TUIDO; Only include tui.h.
211 * breakpoint.c (mention): Remove calls to TUIDO.
212 (delete_breakpoint): Remove tui hacks; tui must install
213 the breakpoint hooks.
214
0123ceaf
MK
2152001-07-14 Mark Kettenis <kettenis@gnu.org>
216
1fe7ac85
MK
217 * config/i386/xm-linux.h (KERNEL_U_ADDR): Move from here...
218 * config/i386/nm-linux.h: ...to here. Change comments about user
219 area/struct a bit.
220
d0f3ce3c
MK
221 * config/i386/xm-linux.h (HAVE_TERMIOS): Really remove.
222
0123ceaf
MK
223 * Makefile.in (ALLDEPFILES): Add i386bsd-nat.c and i386bsd-tdep.c
224 (i386bsd-tdep.o, i386bsd-nat.o): New targets.
225
4902674b
EZ
2262001-07-13 Elena Zannoni <ezannoni@redhat.com>
227
228 * remote-e7000.c (fetch_regs_from_dump): If register set is null,
229 generate an internal error.
230 (e7000_fetch_registers): Initialize variable 'wanted'.
231 (e7000_wait): Initialize variable 'wanted_nopc'.
232 (e7000_store_register): Fix sprintf compiler warnings.
233 (sub2_from_pc): Ditto.
234 (e7000_open): Close the descriptor, not the name.
235 (e7000_load): Fix compiler warnings.
236 (sub2_from_pc): Ditto.
237 * Makefile.in (remote-e7000.o): Can now compile with -Werror.
238
b7247919
MK
2392001-07-13 Mark Kettenis <kettenis@gnu.org>
240
241 * i386bsd-nat.c: Include <signal.h>, <stddef.h> and
242 <sys/sysctl.h>.
243 (store_inferior_registers): Wrap long line.
244 (i386bsd_dr_get_status): Fix typo in comment.
245 (_initialize_i386bsd_nat): New function. * i386bsd-tdep.c: New
246 file. * config/i386/tm-fbsd.h (IN_SIGTRAMP): New define.
247 (i386bsd_in_sigtramp): New prototype.
248 (SIGTRAMP_START, SIGTRAMP_END): Redefine in terms...
249 (i386bsd_sigtramp_start, i386bsd_sigtramp_end): ...these new
250 (external) variables.
251 (SIGCONTEXT_PC_OFFSET): Removed.
252 (FRAME_SAVED_PC): New define.
253 (i386bsd_frame_saved_pc): New function. * config/i386/fbsd.mt
254 (TDEPFILES): Add i386bsd-tdep.o.
255
d1bacddc
DJ
2562001-07-12 Daniel Jacobowitz <drow@mvista.com>
257
258 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Use ISO C
259 definition.
260
9a973a8f
MK
2612001-07-13 Mark Kettenis <kettenis@gnu.org>
262
263 * lin-lwp.c (lin_lwp_wait): Avoid check for resumed LWPs if there
264 are no registered LWPs yet.
265
6ef7fa21
DJ
2662001-07-12 Daniel Jacobowitz <drow@mvista.com>
267
268 * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER): Call the right
269 function.
270 (CANNOT_STORE_REGISTER): Likewise.
271
75e266ac
KS
2722001-07-12 Keith Seitz <keiths@redhat.com>
273
274 * remote-rdp.c: Include "serial.h"
275
d0608e50
DJ
2762001-07-12 Daniel Jacobowitz <drow@mvista.com>
277
278 * gdbserver/remote-utils.c (remote_open): Set VMIN to 1
279 in HAVE_TERMIO/HAVE_TERMIOS cases.
280
1e4fac59
MK
2812001-07-12 Mark Kettenis <kettenis@gnu.org>
282
de4ca854
MK
283 * lin-lwp.c (stop_wait_callback): Add support for flushing
284 signals. Use that in favour of the old code to get rid of
285 superfluous SIGINTs.
286 (lin_lwp_wait): Use the new support in stop_wait_callback to
287 flush all but one SIGINT.
288
635b0cc1
MK
289 * i386-tdep.c (i386_extract_return_value): Undo 2001-07-11 changes
290 to comment.
291 (i386_store_return_value): Improve comments about storing
292 floating-point return values.
293
1e4fac59
MK
294 * config/arm/xm-linux.h, config/i386/xm-linux.h,
295 config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
296 config/sparc/xm-linux.h, config/ia64/xm-linux.h (HAVE_TERMIOS):
297 Removed. Taken care of by autoconf and terminal.h.
298
49e790b0
DJ
2992001-07-12 Daniel Jacobowitz <drow@mvista.com>
300
301 * mips-tdep.c (mips_type_needs_double_align): New function.
302 (mips_push_arguments): Align o32 structs to even argument
303 registers if necessary.
304
e7df8212
DJ
3052001-07-11 Daniel Jacobowitz <drow@mvista.com>
306
307 * config/djgpp/fnchange.lst: Add entries for
308 mips-linux-nat.c and mips-linux-tdep.c.
309
2b2d558c
MK
3102001-07-12 Mark Kettenis <kettenis@gnu.org>
311
9e158af1
MK
312 * config/powerpc/xm-linux.h: Fix corrupted file.
313
2b2d558c
MK
314 * configure.in: Add check for sigsetjmp.
315 * config/m68k/xm-linux.h (HAVE_SIGSETJMP): Removed.
316 * config/xm-sysv4.h (HAVE_SIGSETJMP): Removed.
317 * configure, config.in: Regenerated.
318
3bbfbb92
EZ
3192001-07-11 Elena Zannoni <ezannoni@redhat.com>
320
321 * config/sh/tm-sh.h (struct gdbarch_tdep): Add
322 FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
323 PR_REGNUM fields.
324
325 * sh-tdep.c (sh_skip_prologue_hard_way): Rename from
326 skip_prologue_hard_way().
327 (skip_prologue_hard_way): Make it a function pointer.
328 (sh_print_register): Use function pointer do_pseudo_register,
329 instead of sh_do_pseudo_register.
330 (sh_do_registers_info): Ditto.
331 (sh_gdbarch_init): Initialize do_pseudo_register.
332 (IS_MOV_TO_R14): Rename from IS_MOV_R14.
333 (skip_prologue_hard_way): Update.
334 (sh_gdbarch_init): Move setting of frame_chain,
335 get_saved_register, init_extra_frame_info, push_arguments,
336 extract_return_value, pop_frame, store_struct_return,
337 extract_struct_value_address, use_struct_convention,
338 init_extra_frame_info to before target specific settings.
339 (sh_gdbarch_init): Initialize new tdep fields
340 FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
341 PR_REGNUM.
342 (sh_push_arguments): Use new gdbarch_tdep fields
343 {ARG0,ARGLAST}_REGNUM.
344 (sh_saved_pc_after_call, sh_nofp_frame_init_saved_regs,
345 sh_init_extra_frame_info, sh_push_return_address,
346 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
347 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update to use
348 gdbarch_tdep->PR_REGNUM.
349 (dr_reg_base_num, fv_reg_base_num): Move to earlier in the file.
350
e64c0717
DJ
3512001-07-11 Daniel Jacobowitz <drow@mvista.com>
352
353 * config/mips/tm-linux.h: Include "tm-linux.h" instead of copying
354 from it. Move definitions of REALTIME_LO and REALTIME_HI above
355 include.
356
6c8e04b5
DJ
3572001-07-11 Daniel Jacobowitz <drow@mvista.com>
358
359 * MAINTAINERS: List myself for MIPS/Linux
360 port.
361
94dfea5d
DJ
3622001-07-11 Daniel Jacobowitz <drow@mvista.com>
363
364 * gdbserver/remote-utils.c (remote_open): Only
365 check for F_SETOWN if we had F_SETFL and FASYNC.
366
f175af98
DJ
3672001-07-11 Daniel Jacobowitz <drow@mvista.com>
368
369 From Michael Fedrowitz <michael.fedrowitz@informatik.uni-ulm.de>:
370
371 * config/m68k/linux.mh: Remove core-regset.o.
372 * m68klinux-nat.c: Fix comment.
373 (supply_gregset): Change argument to elf_gregset_t *.
374 (supply_fpregset): Change argument to elf_fpregset_t *.
375 (fetch_core_registers): New function.
376 (linux_elf_core_fns): Define.
377 (_initialize_m68k_linux_nat): New function.
378
21624696
AC
3792001-07-11 Andrew Cagney <ac131313@redhat.com>
380
381 * configure.tgt: Mark d10v as pure multi-arch.
382 * config/d10v/tm-d10v.h: Delete file.
383 * config/d10v/d10v.mt (TM_FILE): Delete.
384
819cc324
AC
3852001-07-10 Andrew Cagney <ac131313@redhat.com>
386
387 * serial.h (typedef serial_t): Delete. Replace all references to
388 serial_t with `struct serial *'.
389 * serial.c: Update.
390 * nindy-share/ttyflush.c: Update.
391 * nindy-share/ttyflush.c: Update.
392 * nindy-share/Onindy.c: Update.
393 * nindy-share/nindy.c: Update.
394 * remote-rdp.c: Update.
395 * remote-sds.c: Update.
396 * remote-st.c: Update.
397 * remote-nindy.c: Update.
398 * remote-mips.c: Update.
399 * remote-e7000.c: Update.
400 * remote-os9k.c: Update.
401 * remote-nrom.c: Update.
402 * remote-es.c: Update.
403 * remote-array.c: Update.
404 * ocd.c: Update.
405 * mon960-rom.c: Update.
406 * dsrec.c: Update.
407 * inflow.c: Update.
408 * ser-e7kpc.c: Update.
409 * sparclet-rom.c: Update.
410 * srec.h: Update.
411 * ser-tcp.c: Update.
412 * ser-go32.c: Update.
413 * sparcl-tdep.c: Update.
414 * w89k-rom.c: Update.
415 * utils.c: Update.
416 * sh3-rom.c: Update.
417 * remote.c: Update.
418 * ser-pipe.c: Update.
419 * ser-unix.c: Update.
420 * ser-unix.h: Update.
421 * xmodem.c: Update.
422 * xmodem.h: Update.
423
30120c46
AC
4242001-07-11 J.T. Conklin <jtc@redback.com>
425
426 From Greg McGary <greg@mcgary.org>:
cf30a8e1
C
427 * gdbserver/remote-utils.c (remote_open): Set gdbserver as "owner"
428 of SIGIO.
429 (input_interrupt): Don't block on read, in case we got redundant
430 SIGIO. Don't gripe about redundant SIGIO.
431 * gdbserver/low-hppabsd.c (mywait): Use waitpid(). Enable SIGIO
432 handler while waiting.
433 * gdbserver/low-linux.c (mywait): Likewise.
434 * gdbserver/low-nbsd.c (mywait): Likewise.
435 * gdbserver/low-sparc.c (mywait): Likewise.
436
84c6c83c
KS
4372001-07-11 Keith Seitz <keiths@redhat.com>
438
439 * infrun.c (print_stop_reason): Add missing uiout field
440 "reason" for SIGNAL_RECEIVED case.
441
e6da861e
MK
4422001-07-11 Mark Kettenis <kettenis@gnu.org>
443
82de0203
MK
444 * config/alpha/nm-linux.h (TARGET_ELF64, PSIGNAL_IN_SIGNAL_H):
445 Remove unused macro's.
446
e6da861e
MK
447 * config/powerpc/nm-linux.h (NO_SYS_REG_H): Remove, it's no longer
448 used.
449
d8c852a1
EZ
4502001-07-11 Eli Zaretskii <eliz@is.elta.co.il>
451
452 * go32-nat.c (info_dos_cmdlist): New variable.
453 (go32_info_dos_command): New function.
454 (_initialize_go32_nat): Convert all DOS-specific commands into
455 subcommands of "info dos". Suggested by Andrew Cagney
456 <ac131313@redhat.com>.
457
f8d13125
MK
4582001-07-11 Mark Kettenis <kettenis@gnu.org>
459
11d18042
MK
460 * config/nm-linux.h: Fix comments.
461
936742ab
MK
462 * thread-db.c (enable_thread_event_reporting): Correct warning
463 message about getting thread death breakpoint.
464 Reported by John S Kallal <jskallal@home.com>.
465
ccb945b8
MK
466 * i386-tdep.c (i386_extract_return_value): "Fix" comment.
467 (i386_store_return_value): Frob FPU status and tag word to make
468 sure the return value is the only value on the FPU stack.
469
f8d13125
MK
470 * config/tm-linux.h: Do not include <signal.h>. Instead provide
471 reasonable defaults for REALTIME_LO and REALTIME_HI if they're not
472 already defined.
473 * config/nm-linux.h: Include <signal.h>.
474 [__SIGRTMIN] (REALTIME_LO, REALTIME_HI): Define to __SIGRTMIN and
475 (__SIGRTMAX + 1) respectively.
476
56ff796a
AC
4772001-07-10 Andrew Cagney <ac131313@redhat.com>
478
479 * mcore-rom.c: Include "serial.h".
480 * Makefile.in (mcore-rom.o): Depends on "serial.h".
481
899ff3a2
AC
4822001-07-10 Andrew Cagney <ac131313@redhat.com>
483
484 * Makefile.in (remote-bug.o): Depends on serial.h.
485 * remote-bug.c: Include "serial.h".
486 * MAINTAINERS: Mark m88k target as buildable.
487 * TODO: Update.
488
2bf1f4a1
JB
4892001-07-10 Jim Blandy <jimb@redhat.com>
490
75af7f68
JB
491 Clean up the D10V port so that GDB and the target program no
492 longer disagree on how big pointers are.
493 * findvar.c (value_from_register): Remove special case code for D10V.
494 * printcmd.c (print_frame_args): Same.
495 * valops.c (value_at, value_fetch_lazy): Same.
496 * values.c (unpack_long): Same.
497 * gdbarch.sh: Changes to effect the following:
498 * gdbarch.h (GDB_TARGET_IS_D10V, D10V_MAKE_DADDR,
499 gdbarch_d10v_make_daddr_ftype, gdbarch_d10v_make_daddr,
500 set_gdbarch_d10v_make_daddr, D10V_MAKE_IADDR,
501 gdbarch_d10v_make_iaddr_ftype, gdbarch_d10v_make_iaddr,
502 set_gdbarch_d10v_make_iaddr, D10V_DADDR_P,
503 gdbarch_d10v_daddr_p_ftype, gdbarch_d10v_daddr_p,
504 set_gdbarch_d10v_daddr_p, D10V_IADDR_P,
505 gdbarch_d10v_iaddr_p_ftype, gdbarch_d10v_iaddr_p,
506 set_gdbarch_d10v_iaddr_p, D10V_CONVERT_DADDR_TO_RAW,
507 gdbarch_d10v_convert_daddr_to_raw_ftype,
508 gdbarch_d10v_convert_daddr_to_raw,
509 set_gdbarch_d10v_convert_daddr_to_raw, D10V_CONVERT_IADDR_TO_RAW,
510 gdbarch_d10v_convert_iaddr_to_raw_ftype,
511 gdbarch_d10v_convert_iaddr_to_raw,
512 set_gdbarch_d10v_convert_iaddr_to_raw): Delete declarations.
513 * gdbarch.c: Delete the corresponding definitions.
514 (struct gdbarch): Delete members d10v_make_daddr,
515 d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
516 d10v_convert_daddr_to_raw, and d10v_convert_iaddr_to_raw.
517 (startup_gdbarch): Remove initializers for the above.
518 (verify_gdbarch, gdbarch_dump): Don't verify or dump them any
519 more.
520 * d10v-tdep.c (d10v_register_virtual_type): Rather that
521 claiming the stack pointer and PC are 32 bits long (which they
522 aren't), say that the stack pointer is an int16_t, and the
523 program counter is a function pointer. This allows the rest
524 of GDB to make the appropriate conversions between the code
525 pointer format and real addresses.
526 (d10v_register_convertible, d10v_register_convert_to_virtual,
527 d10v_register_convert_to_raw): Delete function; no registers
528 are convertible now, so we use
529 generic_register_convertible_not instead.
530 (d10v_address_to_pointer, d10v_pointer_to_address): New gdbarch
531 methods.
532 (d10v_push_arguments, d10v_extract_return_value): Remove special
533 cases for code and data pointers.
534 (d10v_gdbarch_init): Set gdbarch_ptr_bit to 16, so that GDB and
535 the target agree on how large pointers are. Say that addresses
536 are 32 bits long. Register the address_to_pointer and
537 pointer_to_address conversion functions. Since no registers are
538 convertible now, register generic_register_convertible_not as the
539 gdbarch_register_convertible method instead of
540 d10v_register_convertible. Remove registrations for
541 d10v_register_convert_to_virtual,
542 d10v_register_convert_to_raw, gdbarch_d10v_make_daddr,
543 gdbarch_d10v_make_iaddr, gdbarch_d10v_daddr_p,
544 gdbarch_d10v_iaddr_p, gdbarch_d10v_convert_daddr_to_raw, and
545 gdbarch_d10v_convert_iaddr_to_raw.
546
ef166cf4
JB
547 * printcmd.c (print_scalar_formatted): If we are printing an
548 address, remember that TARGET_ADDR_BIT is not always equal to
549 TARGET_PTR_BIT.
550
2bf1f4a1
JB
551 * valops.c (value_cast): When casting a pointer to an integer,
552 don't convert it to an address.
553
ba3a8523
AC
5542001-07-10 Andrew Cagney <ac131313@redhat.com>
555
556 * remote-utils.h (struct serial): Declare as opaque. Remove
557 include of "serial.h".
558 * Makefile.in (remote_utils_h): Update.
559
560 * monitor.h (struct serial): Declare as opaque. Remove include of
561 "serial.h".
562 (struct monitor_ops): Replace serial_t with `struct serial *'.
563 * monitor.c (monitor_desc): Ditto.
564
2aa830e4
DJ
5652001-07-10 Daniel Jacobowitz <drow@mvista.com>
566
567 * mips-linux-tdep.c: New file.
568 * mips-linux-nat.c: New file.
569 * config/mips/linux.mh: New file.
570 * config/mips/linux.mt: New file.
571 * config/mips/xm-linux.h: New file.
572 * config/mips/nm-linux.h: New file.
573 * config/mips/tm-linux.h: New file.
574 * configure.host: Recognize mips*-*-linux*.
575 * configure.tgt: Likewise.
576 * NEWS: Mention mips*-*-linux* port.
577
65e2f740
AC
5782001-07-09 Andrew Cagney <ac131313@redhat.com>
579
580 * serial.h (struct serial): Rename `struct _serial_t'.
581 * serial.c (XMALLOC): Define.
582 (serial_open): Update. Use XMALLOC.
583 (serial_fdopen): Ditto.
584
090a2205
AC
5852001-07-07 Andrew Cagney <ac131313@redhat.com>
586
587 * gdbtypes.h (builtin_type_void_data_ptr): Rename
588 builtin_type_ptr.
589 * gdbtypes.c (builtin_type_void_data_ptr): Update.
590 (build_gdbtypes): Update.
591 (_initialize_gdbtypes): Update.
592 * values.c (value_as_pointer): Update.
593 * utils.c (host_pointer_to_address): Update.
594 (address_to_host_pointer): Update.
595
8059d5aa
AC
5962001-07-08 Andrew Cagney <ac131313@redhat.com>
597
598 * remote-udi.c (udi_wait): Make type, instead of name, of first
599 parameter a ptid_t.
600
cc61049c
AC
6012001-07-07 Andrew Cagney <ac131313@redhat.com>
602
603 * ser-mac.c: Make obsolete.
604 * Makefile.in (ser-mac.o): Ditto.
605
10ba702d
EZ
6062001-07-08 Eli Zaretskii <eliz@is.elta.co.il>
607
608 * go32-nat.c (go32_get_windows_version, print_mem, go32_sysinfo)
609 (read_memory_region, get_descriptor, display_descriptor)
610 (go32_sldt, go32_sgdt, go32_sidt): New functions.
611 (top-level): Include ctype.h, utsname.h, dos.h, and go32.h. Ifdef
612 away `disable' from dos.h, since breakpoint.h defines an enum
613 member of the same name, and GCC 2.7.2 barfs.
614 (_initialize_go32_nat): Provide new commands dos-sysinfo, dos-ldt,
615 dos-gdt, and dos-idt, all of them in the "info" class
616
44312dba
KB
6172001-07-07 Kevin Buettner <kevinb@redhat.com>
618
619 * procfs.c (create_procinfo): Allocate space for saved_entryset
620 and saved_exitset.
621 (destroy_one_procinfo): Free space allocated to saved_entryset
622 and saved_exitset.
623
5329c756
AC
6242001-07-07 Andrew Cagney <ac131313@redhat.com>
625
626 * TODO (5.1): Update.
627
51cc5b07
AC
6282001-07-07 Andrew Cagney <ac131313@redhat.com>
629
630 * symtab.c (main_name): New function.
631 (set_main_name): New function.
632 * symtab.h: Declare.
633 * TODO: Update
634
635 From 2000-03-05 Anthony Green <green@redhat.com>:
636 * dbxread.c (process_one_symbol): Handle the N_MAIN stab by
637 setting main_name.
638 * blockframe.c (inside_main_func): Use main_name instead of
639 "main".
640 * symtab.c (find_main_psymtab): Ditto.
641 * source.c (select_source_symtab): Ditto.
642 * nlmread.c (nlm_symfile_read): Ditto.
643 * rs6000-tdep.c (skip_prologue): Ditto.
644
56ddd993
AC
6452001-07-07 Andrew Cagney <ac131313@redhat.com>
646
647 * TODO: Convert most items into PRs.
648
58eeadba
MK
6492001-07-07 Mark Kettenis <kettenis@gnu.org>
650
651 * lin-lwp.c (status_to_str): New function.
652 (lin_lwp_wait): Use it to print debug messages where appropriate.
653
7f1659e6
MC
6542001-07-06 Michael Chastain <chastain@redhat.com>
655
656 * i387-tdep.c (print_i387_value): Fix pointer glitch.
657
00d4fce6
MK
6582001-07-07 Mark Kettenis <kettenis@gnu.org>
659
660 * lin-lwp.c (count_events_callback): Fix formatting. Turn check
661 commented with "paranoia" into gdb_assert.
662 (select_event_lwp_callback): Likewise.
663 (cancel_breakpoints_callback): Bail out early if LP is the event
664 LWP. Add comment about backup up breakpoints. Fix formatting and
665 debug message.
666 (select_event_lwp): Make solely repsonsible for switching event
667 LWP. Fix formatting and remove bogus "ERROR" debug message.
668 Don't backup breakpoints from here.
669 (lin_lwp_wait): Don't touch LP->status, let select_event_lwp
670 handle that. Only call select_event_lwp if we're not waiting for
671 a specific LWP, i.e. when PID == -1. Backup breakpoints from here.
672
7de45904
MS
6732001-07-06 Michael Snyder <msnyder@redhat.com>
674
675 * procfs.c (procfs_resume): Silence noisy warning.
676
b1aeb4c5
MS
6772001-06-12 Michael Snyder <msnyder@redhat.com>
678
679 * lin-lwp.c: Prevent thread starvation by using a monte carlo
680 method to choose which of several event threads to handle next.
681
682 (stop_wait_callback): Defer pushback of breakpoint events until
683 later; add SIGTRAP events to the queue of unhandled events.
684 Keep calling waitpid until SIGSTOP retrieved. If more than one
685 non-SIGSTOP event is retrieved, push them back onto the process
686 queue using kill.
687 (count_events_callback, select_singlestep_lwp_callback,
688 select_event_lwp_callback, cancel_breakpoints_callback,
689 select_event_lwp): New functions. Implement monte carlo method
690 for selecting which of several SIGTRAP threads to handle next.
691 Push back the breakpoint event for all threads other than the
692 selected one.
693 (lin_lwp_wait): Call select_event_lwp to decide which of several
694 sigtrapped lwps to handle next.
695 (resume_callback): Disable code that attempts to handle
696 step_resume breakpoints. Let core gdb handle this.
697
ee3a7b7f
JB
6982001-07-06 Jim Blandy <jimb@redhat.com>
699
700 * gdbtypes.h (builtin_type_void_func_ptr): New builtin type.
701 * gdbtypes.c (builtin_type_void_func_ptr): Define the variable.
702 (build_gdbtypes): Initialize it.
703 (_initialize_gdbtypes): Swap it.
704
e135b889 7052001-07-04 Daniel Jacobowitz <drow@mvista.com>
ee3a7b7f 706
e135b889
DJ
707 * mips-tdep.c (mips32_op): Correct offset.
708 (itype_op): Likewise.
709 (itype_rs): Fix formatting.
710 (itype_immediate): Fix formatting.
711 (jtype_op): Correct offset.
712 (jtype_target): Fix formatting.
713 (rtype_op): Correct offset.
714 (rtype_rs): Fix formatting.
715 (rtype_rt): Likewise.
716 (rtype_rd): Likewise.
717 (rtype_shamt): Likewise.
718 (rtype_funct): Likewise.
719
720 (mips32_next_pc): Fix formatting and comments. Recognize
721 coprocessor 1 branches. Check the correct field for BLT family
722 branches. Use itype_rt instead of itype_rs for the second register
723 of a BNE or BNEL branch. Move (unreachable) default case.
724
9dc5e2a9
AC
7252001-07-04 Andrew Cagney <ac131313@redhat.com>
726
727 * ui-out.h (struct ui_out_impl): Add field is_mi_like_p.
728 (ui_out_is_mi_like_p): Declare.
729 * ui-out.c (ui_out_is_mi_like_p): Define.
730 (default_ui_out_impl): Initialize is_mi_like_p to zero.
731 * cli-out.c (cli_ui_out_impl): Ditto.
732 * breakpoint.c (print_it_typical): Use ui_out_is_mi_like_p.
733 (watchpoint_check, print_one_breakpoint, mention): Ditto.
734 * infrun.c (print_stop_reason, normal_stop): Ditto.
735
9022177c
DJ
7362001-07-05 Daniel Jacobowitz <drow@mvista.com>
737
738 * mips-tdep.c (mips_software_single_step): New function.
739 * config/mips/tm-mips.h: Add prototype for
740 mips_software_single_step.
741
2ac44c70
DJ
7422001-07-05 Daniel Jacobowitz <drow@mvista.com>
743
744 * ppc-linux-nat.c (supply_gregset): Use elf_greg_t instead
745 of greg_t.
746 (fill_gregset): Likewise.
747
bdda63b0
AC
7482001-07-05 Andrew Cagney <ac131313@redhat.com>
749
750 * objfiles.c (open_mapped_file): Use lbasename instead of
751 basename.
752
af703f96
JB
7532001-07-05 Jim Blandy <jimb@redhat.com>
754
7b570125
JB
755 * d10v-tdep.c (d10v_frame_chain, d10v_frame_init_saved_regs,
756 show_regs, d10v_read_pc, d10v_write_pc, d10v_read_sp,
757 d10v_write_sp, d10v_write_fp, d10v_read_fp,
758 d10v_push_return_address): Call the functions d10v_make_daddr,
759 d10v_make_iaddr, d10v_convert_iaddr_to_raw, and
760 d10v_convert_daddr_to_raw, not the global macros D10V_MAKE_DADDR,
761 D10V_MAKE_IADDR, D10V_CONVERT_IADDR_TO_RAW, and
762 D10V_CONVERT_DADDR_TO_RAW.
763
af703f96
JB
764 * dwarf2read (dwarf2_build_psymtabs_hard): Doc fix.
765
e087d0d6
MK
7662001-07-05 Mark Kettenis <kettenis@gnu.org>
767
768 * config/i386/xm-go32.h (HOST_I386): Removed.
769 * config/i386/xm-linux.h (HOST_I386): Removed.
770
c96646d0
MK
7712001-07-04 Mark Kettenis <kettenis@gnu.org>
772
773 * i387-tdep.c (print_i387_value): Add extra space after final full
774 stop in comment.
775
af6c57ea
AC
7762001-07-04 Andrew Cagney <ac131313@redhat.com>
777
778 * TODO (5.1): Update. Doco changes committed.
779
9da8e4f8
AC
7802001-06-29 Andrew Cagney <ac131313@redhat.com>
781
782 * config/arm/tm-arm.h: Include "floatformat.h".
783
d0df8472
AC
7842001-06-29 Andrew Cagney <ac131313@redhat.com>
785
786 * i387-tdep.c: Include "gdb_assert.h".
787 (print_i387_value): Use extract_floating to extract the FP value
788 from a zero padded local buffer.
789
291903b1
AC
7902001-06-28 Andrew Cagney <ac131313@redhat.com>
791
792 * TODO: Delete all thread items. The thread code was overhauled.
793
80629b1b
EZ
7942001-07-04 Elena Zannoni <ezannoni@redhat.com>
795
2ed3d0b5
EZ
796 * memattr.c (create_mem_region): Move n to next memory region,
797 to avoid infinite loop.
798
80629b1b
EZ
799 * memattr.h: Add copyright statement.
800 * memattr.c: Ditto.
801
2541c7cf
JB
8022001-07-04 Jim Blandy <jimb@redhat.com>
803
0b010bcc
JB
804 * dwarf2read.c (struct partial_die_info): New member: has_pc_info.
805 (read_partial_die): Delete fourth argument; we return this info in
806 the struct partial_die_info object itself now.
807 (dwarf2_build_psymtabs_hard, scan_partial_symbols): Use the
808 has_pc_info field of the partial die struct, rather than passing a
809 variable by reference to read_partial_die.
810
2541c7cf 811 * dwarf2read.c (dwarf2_build_psymtabs_hard): Remove extraneous
9faef8a7 812 code in loop condition.
2541c7cf 813
5d12882f
MS
8142001-07-03 Michael Snyder <msnyder@redhat.com>
815
816 * thread_db (find_new_threads_callback, thread_db_thread_alive,
817 attach_thread): Update comments.
818
00783ba9
MS
8192001-06-29 Ken Whaley <ken@believe.com>
820
821 * thread-db.c (attach_thread): Check for TD_THR_ZOMBIE in addition
822 to TD_THR_UNKNOWN when looking for defunct zombie threads.
823 (thread_db_thread_alive): Ditto.
824 (find_new_threads_callback): Ditto.
825
f7856c8f 8262001-07-02 Daniel Jacobowitz <drow@mvista.com>
2740bf6c
DJ
827
828 * MAINTAINERS: Add myself to the write-after-approval list.
829
8302001-07-02 Daniel Jacobowitz <drow@mvista.com>
831
f7856c8f
DJ
832 * solib-svr4.c: Include "elf/mips.h".
833 (elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional.
834
f9aca02d
JB
8352001-07-02 Jim Blandy <jimb@redhat.com>
836
837 * dwarf2read.c (read_comp_unit, sibling_die, dump_die,
838 dump_die_list, store_in_ref_table, follow_die_ref): Make these
839 static; they're private functions.
840
42a076f0
EZ
8412001-07-01 Mark Elbrecht <snowball@bigfoot.com>
842
843 * coffread.c (coff_symfile_read): Parse DWARF2 info if present.
844
77467810
EZ
8452001-06-28 Elena Zannoni <ezannoni@redhat.com>
846
847 * TODO: Add import of readline 4.2 as a gdb 5.2 task.
848
85593179
AC
8492001-06-29 Andrew Cagney <ac131313@redhat.com>
850
851 * config/djgpp/fnchange.lst: Sort.
852
cde2d0fb
AC
8532001-06-28 Andrew Cagney <ac131313@redhat.com>
854
855 * config/djgpp/fnchange.lst: Rename mi0-var-block.exp,
856 mi0-var-cmd.exp, mi0-var-child.exp and mi0-var-display.exp.
857
37965979
AJ
8582001-06-29 Andreas Jaeger <aj@suse.de>
859
860 * MAINTAINERS: Add myself to the write-after-approval list.
861
a1337894
AC
8622001-06-28 Andrew Cagney <ac131313@redhat.com>
863
864 * remote-array.c (SWAP_TARGET_AND_HOST): Delete macro.
865 (get_hex_word): Don't use HOST_BYTE_ORDER.
866 (array_fetch_registers): Add variable ``reg''. Use
867 store_unsigned_integer to byte-swap the register. Delete unused
868 local ``regs''.
869
aa8aac68
AC
8702001-06-28 Andrew Cagney <ac131313@redhat.com>
871
872 * MAINTAINERS: Add Per Bothner to Java maintainers.
873
a8016339
AC
8742001-06-28 Andrew Cagney <ac131313@redhat.com>
875
876 * rdi-share/unixcomm.c (SERIAL_PREFIX): Always provide a default.
877 * rdi-share/hostchan.h (__unix): Hack, provide a default value.
878 * rdi-share/host.h (__unix): Hack, define when __NetBSD__.
879 * TODO: Update.
880 * MAINTAINERS: Update. arm-elf builds.
881
f5e1cf12
JB
8822001-06-28 Jim Blandy <jimb@redhat.com>
883
bf93dfed
JB
884 * d10v-tdep.c (d10v_ts2_dmap_register): Doc fix.
885
886 * d10v-tdep.c (d10v_frame_chain_valid, d10v_use_struct_convention,
f5e1cf12
JB
887 d10v_breakpoint_from_pc, d10v_register_byte,
888 d10v_register_raw_size, d10v_register_virtual_size,
889 d10v_register_virtual_type, d10v_register_convertible,
890 d10v_register_convert_to_virtual, d10v_register_convert_to_raw,
891 d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
892 d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw,
893 d10v_store_struct_return, d10v_store_return_value,
894 d10v_extract_struct_value_address, d10v_frame_saved_pc,
895 d10v_saved_pc_after_call, d10v_pop_frame, d10v_skip_prologue,
896 d10v_frame_chain, d10v_frame_init_saved_regs,
897 d10v_init_extra_frame_info, d10v_read_pc, d10v_write_pc,
898 d10v_read_sp, d10v_write_sp, d10v_write_fp, d10v_read_fp,
899 d10v_push_return_address, d10v_push_arguments,
900 d10v_extract_return_value): Make these functions static.
901
100a02e1
AC
9022001-06-28 Andrew Cagney <ac131313@redhat.com>
903
904 From Fernando Nasser:
905 * infrun.c (handle_inferior_event): Handle "nexti" inside function
906 prologues.
907
80b34fab
MS
9082001-06-28 Michael Snyder <msnyder@redhat.com>
909
910 * infrun.c (handle_inferior_event): Replace prev_pc test in all
911 calls to bpstat_stop_status (removed in 1999-09-24). This test
912 helps distinguish stepping over a breakpoint trap from stepping
913 thru a jump to the instruction after a breakpoint trap.
914 (handle_inferior_event): Don't bother writing the PC if
915 DECR_PC_AFTER_BREAK is zero (optimization).
916 * breakpoint.c (bpstat_stop_status): Add comment explaining the
917 purpose and usage of the "not_a_breakpoint" argument in computing
918 the breakpoint address.
919
1456ad8e
AC
9202001-06-28 Andrew Cagney <ac131313@redhat.com>
921
922 From 2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
923 * monitor.c (setmem_resp_delim_pattern): New regexp pattern.
924 (setreg_resp_delim_pattern): Likewise.
925 (setmem_resp_delim_fastmap): New buffer.
926 (setreg_resp_delim_fastmap): Likewise.
927 (monitor_open): Initialize above regexp if they are defined.
928 (monitor_write_memory): Use regexp to check the result of write.
929 (monitor_store_register): Likewise to check result of register set.
930
399371f6
AC
9312001-06-28 Andrew Cagney <ac131313@redhat.com>
932
933 From 2000-06-14 John Marshall <john_w_marshall@palm.com>:
934 * coff-solib.c: Include symfile.h and objfiles.h to make
935 OBJF_SHARED visible.
936
b0e2e90a
AC
9372001-06-28 Andrew Cagney <ac131313@redhat.com>
938
939 * configure.in (--enable-gdbmi): Enable by default.
940 * configure: Regenerate.
941 * TODO: Update.
942 * NEWS: Update
943
ad98fdaf
JB
9442001-06-28 Joel Brobecker <brobecker@act-europe.fr>
945
946 * solib-osf.c (osf_in_dynsym_resolve_code): Add a comment
947 explaining the consequences of always returning zero. No code
948 change.
949
49dd83ba
AC
9502001-06-28 Andrew Cagney <ac131313@redhat.com>
951
952 From 2001-06-08 Daniel Jacobowitz <djacobowitz@mvista.com>:
953 * defs.h (enum target_signal): Add TARGET_SIGNAL_REALTIME_65
954 to TARGET_SIGNAL_REALTIME_127.
955 * target.c (struct signals): Add SIG63 to SIG127.
956 (target_signal_from_host): Handle up to 127 signals.
957 (do_target_signal_to_host): Likewise.
958
29372230
AC
9592001-06-27 Andrew Cagney <ac131313@redhat.com>
960
961 * remote-sds.c (sds_start_remote): Change type of ``c'' to int
962 from possibly unsigned char.
963
a196c81c
AC
9642001-06-27 Andrew Cagney <ac131313@redhat.com>
965
966 * ser-ocd.c: Delete file.
967 * Makefile.in (ALLDEPFILES): Remove ser-ocd.c
968 (ser-ocd.o): Delete target.
969 * TODO: Update.
970 * NEWS: Update.
971
e7745bde
AC
9722001-06-27 Andrew Cagney <ac131313@redhat.com>
973
974 * MAINTAINERS (Write After Approval): Sort.
f4c100a7 975 (Past Maintainers): Daniel Berlin stepped down as C++ maintainer.
e7745bde 976
d7faa9e7
AC
9772001-06-26 Andrew Cagney <ac131313@redhat.com>
978
979 * breakpoint.c (breakpoint_1): Always output the breakpoint
980 headings. Leave it to ui-out to decide which
981
68c81b54
AC
9822001-06-25 Andrew Cagney <ac131313@redhat.com>
983
984 * stack.c (print_frame): For ui_out, output a list of arguments.
985
834091c8
KB
9862001-06-25 Kevin Buettner <kevinb@redhat.com>
987
988 * MAINTAINERS (paper trail): Update.
989
ef5cf84e
MS
9902001-06-25 Michael Snyder <msnyder@redhat.com>
991
992 * infrun.c: Eliminate the "thread_step_needed" state variable,
993 and replace it with a relatively simple test in resume.
994 (resume): Replace thread_step_needed logic with a test for
995 stepping, breakpoint_here_p and breakpoints_inserted.
996 Move CANNOT_STEP_BREAKPOINT logic to after thread_step logic.
997 (proceed): Discard thread_step_needed logic.
998 (wait_for_inferior, fetch_inferior_event, handle_inferior_event):
999 Discard thread_step_needed logic.
1000
cb90e81a
FN
10012001-06-24 Fernando Nasser <fnasser@redhat.com>
1002
1003 * remote-rdi.c (arm_rdi_wait): Fix return type in prototype.
1004 * rdi-share/host.h: Add missing parenthesis in conditional.
1005
39812ceb
C
10062001-06-22 J.T. Conklin <jtc@redback.com>
1007
1008 * configure.in: include nlist.h when checking for member som_addr
1009 in struct so_map.
1010 * configure: regenerate.
1011
8d2139f3
KS
10122001-06-21 Keith Seitz <keiths@redhat.com>
1013
1014 * cli-out.c (cli_out_new): Initialize new structure member
1015 "suppress_output".
1016
b25959ec
AC
10172001-06-20 Andrew Cagney <ac131313@redhat.com>
1018
1019 * ui-out.h (ui_out_table_header): Add parameter ``col_name''.
1020 (table_header_ftype): Ditto.
1021 * cli-out.c (cli_table_header): Update.
1022 * ui-out.c (ui_out_table_header): Update.
1023 (uo_table_header): Update.
1024 (default_table_header): Update.
1025 (append_header_to_list): Update.
1026 (struct ui_out_header): Add field ``col_name''.
1027 (append_header_to_list): Use xstrdup. Initialize col_name.
1028 * breakpoint.c (breakpoint_1): Pass COL_NAME to
1029 ui_out_table_header.
1030
698384cd
AC
10312001-06-19 Andrew Cagney <ac131313@redhat.com>
1032
1033 * cli-out.c: Include "gdb_assert.h'.
1034 (struct ui_out_data): Add field ``suppress_output.
1035 (cli_table_begin): When NR_ROWS is zero, suppress_output.
1036 (cli_table_end): Clear suppress_output.
1037 (cli_table_body): Check suppress_output.
1038 (cli_table_header, cli_begin): Ditto.
1039 (cli_end, cli_field_int, cli_field_skip): Ditto.
1040 (cli_field_string, cli_field_fmt, cli_spaces): Ditto.
1041 (cli_text, cli_message, cli_wrap_hint): Ditto.
1042 * breakpoint.c (breakpoint_1): Close the ui_out table before
1043 printing the breakpoint not found message.
1044
d63f1d40
AC
10452001-06-18 Andrew Cagney <ac131313@redhat.com>
1046
1047 * ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
1048 (default_table_begin): Ditto.
1049 (uo_table_begin): Ditto.
1050 * cli-out.c (cli_table_begin): Ditto.
1051 * ui-out.h (ui_out_table_begin): Update
1052 (table_begin_ftype): Update.
1053 * breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to
1054 ui_out_table_begin.
1055
7f3b0473
AC
10562001-06-16 Andrew Cagney <ac131313@redhat.com>
1057
1058 * breakpoint.c (breakpoint_1): Restructure. Compute the
1059 nr_printable_breakpoints. Move the header output to before the
1060 main print breakpoints loop.
1061 (user_settable_breakpoint): New function.
1062
b30bf9ee
AC
10632001-06-18 Andrew Cagney <ac131313@redhat.com>
1064
1065 * infrun.c, breakpoint.c: Use strncmp as the "mi" test. Allow,
1066 "mi", "mi0" and "mi1".
1067
83905903
AC
10682001-06-17 Andrew Cagney <ac131313@redhat.com>
1069
1070 * gdbarch.sh: Generate an error when conflicting macro
1071 definitions. Generate an error when both pure multi-arch and
1072 "tm.h".
1073 * gdbarch.h, gdbarch.c: Regenerate.
1074 * defs.h (GDB_MULTI_ARCH_TM): Rewrite definition.
1075
c2202abf
AC
10762001-06-17 Andrew Cagney <ac131313@redhat.com>
1077
1078 * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Down grade to
1079 GDB_MULTI_ARCH_PARTIAL from two.
1080
0d70f41b
FN
10812001-06-17 Fernando Nasser <fnasser@redhat.com>
1082
1083 From 2001-06-15 Eirik Fuller <eirik@hackrat.com>
1084 * cli/cli-script.c (free_command_lines): Reset list pointer.
1085
7824d2f2
AC
10862001-06-16 Andrew Cagney <ac131313@redhat.com>
1087
1088 * arch-utils.c (init_frame_pc_default): New function
1089 * arch-utils.h (init_frame_pc_default): Declare.
1090 * gdbarch.sh (INIT_FRAME_PC): Default to init_frame_pc_default and
1091 not init_frame_pc_noop.
1092 * gdbarch.h, gdbarch.c: Re-generate.
1093 * blockframe.c (INIT_FRAME_PC): Delete macro definition.
1094 * mips-tdep.c (mips_gdbarch_init): Set init_frame_pc to
1095 init_frame_pc_noop.
1096
1622c8f7
AC
10972001-06-16 Andrew Cagney <ac131313@redhat.com>
1098
1099 * gdbarch.c: Regenerate. Out-of-sync with gdbarch.sh.
1100
01fb7433
AC
11012001-06-15 Andrew Cagney <ac131313@redhat.com>
1102
1103 * gdbarch.sh (CANNOT_FETCH_REGISTER): Multi-arch.
1104 (CANNOT_STORE_REGISTER): Ditto.
1105 * infptrace.c (CANNOT_FETCH_REGISTER): Delete definition.
1106 (CANNOT_STORE_REGISTER): Ditto.
1107 * regcache.c (CANNOT_STORE_REGISTER): Ditto.
1108 * lynx-nat.c (CANNOT_STORE_REGISTER): Ditto.
1109 * arch-utils.h (cannot_register_not): Define.
1110 * arch-utils.c (cannot_register_not): Declare.
1111
10312cc4
AC
11122001-06-15 Andrew Cagney <ac131313@redhat.com>
1113
1114 * gdbarch.sh: Clarify pre/post default
1115 (INIT_FRAME_PC_FIRST, INIT_FRAME_PC): Multiarch.
1116 * blockframe.c (get_prev_frame): Remove #ifdef from around
1117 INIT_FRAME_PC_FIRST call.
1118 * arch-utils.c (init_frame_pc_noop): Define.
1119 * arch-utils.h (init_frame_pc_noop): Declare.
1120 * config/mips/tm-mips.h (INIT_FRAME_PC_FIRST): Delete.
1121 (INIT_FRAME_PC, mips_init_frame_pc_first): Ditto.
1122 * mips-tdep.c (mips_init_frame_pc_first): Make static.
1123 (mips_gdbarch_init): Initialize init_frame_pc_first.
1124 (mips_dump_tdep): Update.
1125
dd80620e
MS
11262001-06-15 Michael Snyder <msnyder@redhat.com>
1127
1128 * infrun.c (context_switch): New function. Abstract the operation
1129 of saving and restoring infrun's state when switching threads.
1130 (handle_inferior_event): Normalize the handling of the 'thread hop'
1131 event (when the wrong thread hits a thread-specific breakpoint,
1132 and we need to solo-step that thread past the breakpoint).
1133 Call keep_going, instead of target_resume. Handle the subsequent
1134 singlestep-trap as a normal event instead of just resuming.
1135
875e1767
AC
11362001-06-15 Andrew Cagney <ac131313@redhat.com>
1137
1138 * arch-utils.c (core_addr_identity): New function. Rename
1139 default_convert_from_func_ptr_addr.
1140 * gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR): Update.
1141 (ADDR_BITS_REMOVE): Define. Default to core_addr_identity.
1142 * defs.h (ADDR_BITS_REMOVE): Delete macro definition.
1143 * config/mips/tm-mips.h (ADDR_BITS_REMOVE): Delete definition.
1144 * mips-tdep.c (mips_addr_bits_remove): Make static.
1145 (mips_gdbarch_init): Initialize addr_bits_remove.
1146
4009c677
AC
11472001-06-15 Andrew Cagney <ac131313@redhat.com>
1148
1149 From 2001-02-26 D.J. Barrow <djbarrow@de.ibm.com>:
1150 * configure.tgt: Add S/390 31 & 64 bit target configuration.
1151 * configure.host: Ditto for host.
1152
d6dd581e
AC
11532001-06-15 Andrew Cagney <ac131313@redhat.com>
1154
1155 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS_P): Delete definition.
1156 (EXTRACT_STRUCT_VALUE_ADDRESS): Change to a function with
1157 predicate.
1158 * gdbarch.h, gdbarch.c: Regenerate.
1159 * values.c (value_being_returned): Change the reference to
1160 EXTRACT_STRUCT_VALUE_ADDRESS_P to a function call.
1161
09843d7f
JB
11622001-06-15 Joel Brobecker <brobecker@act-europe.fr>
1163
1164 * MAINTAINERS: Add Paul Hilfinger and Joel Brobecker to the
1165 Write After Approval list.
1166
dc8acb97
MS
11672001-06-14 Michael Snyder <msnyder@redhat.com>
1168
1169 * remote.c (show_remote_protocol_qSymbol_packet_cmd,
1170 set_remote_protocol_qSymbol_packet_cmd): New functions.
1171 (init_all_packet_configs, show_remote_cmd): Add qSymbol packet.
1172 (remote_check_symbols): New function. Implement qSymbol packet,
1173 allowing target to request symbol lookup service from gdb.
1174 (remote_open_1, remote_async_open_1): Call remote_check_symbols,
1175 allowing symbol lookup from exec_bfd on connection to target.
1176 (remote_new_objfile): New function. Catch new objfile notifications
1177 from shared library module, and call remote_check_symbols.
1178 (_initialize_remote): Hook remote_new_objfile into the shared
1179 library notification chain. Add "set remote symbol-lookup" command.
1180
578c1fe6
KS
11812001-06-14 Keith Seitz <keiths@redhat.com>
1182
1183 * tracepoint.c (trace_command): We now have tracepoint
1184 events. Get rid of those ugly hooks.
1185 (tracepoint_operation): Likewise.
1186 (trace_pass_command): Likewise.
1187
6c0d3f6a
MS
11882001-06-13 Michael Snyder <msnyder@redhat.com>
1189
1190 * gdbthread.h (struct thread_info): Add new fields:
1191 current_line, current_symtab, step_sp, for saved infrun state.
1192 * thread.c (save_infrun_state, load_infrun_state): Save and
1193 restore current_line, current_symtab, and step_sp.
1194 (add_thread): Rather than adding assignments to initialize
1195 the new fields, just use memset (tp, 0, sizeof (*tp).
1196 This way future new fields will not be overlooked.
1197 * infrun.c (handle_inferior_event): Save and restore save_sp,
1198 current_line, and current_symtab when switching threads.
1199
16075ace
EZ
12002001-06-13 Elena Zannoni <ezannoni@redhat.com>
1201
1202 * MAINTAINERS: Add Andrew Cagney as co-maintainer of
1203 testsuite/gdb.mi.
1204
31889e00
AC
12052001-06-11 Andrew Cagney <ac131313@redhat.com>
1206
1207 * symtab.c (lookup_symtab_1): Replace basename with lbasename.
1208 (lookup_partial_symtab, file_matches): Ditto.
1209 (make_source_files_completion_list): Ditto.
1210 (make_file_symbol_completion_list): Ditto. Make local char*
1211 variable ``tail'' constant.
1212 (make_source_files_completion_list): Ditto with ``base_name''.
1213 * source.c (open_source_file): Use lbasename. Make ``p'' const
1214 char *.
1215
4ac40b29
EZ
12162001-06-13 Eli Zaretskii <eliz@is.elta.co.il>
1217
1218 * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR)
1219 (SLASH_STRING): Remove unised definitions.
1220 * config/i386/xm-cygwin.h: Likewise.
1221
6b28c186
AC
12222001-06-12 Andrew Cagney <ac131313@redhat.com>
1223
1224 * ui-out.c (ui_out_list_begin): Add parameter ``id''.
1225 (make_cleanup_ui_out_list_begin_end): Ditto. Open the list.
1226 * ui-out.h: Update declarations.
1227
1f8cc6db
AC
1228Mon Jun 11 17:26:43 2001 Andrew Cagney <cagney@b1.cygnus.com>
1229
1230 * source.c (openp): Make parameters ``path'' and ``string''
1231 constant.
1232 (openp): Use alloca to safely duplicate ``string''. Make local
1233 variables ``p'' and ``p1'' constant. Delete char* casts.
1234 * defs.h: Update.
1235
1236 * symtab.c (lookup_symtab_1): Make parameter ``name'' constant.
1237 (lookup_symtab, lookup_partial_symtab): Ditto.
1238 * symtab.h (lookup_symtab, lookup_partial_symtab): Update.
1239
88379baf
AC
12402001-06-11 Andrew Cagney <ac131313@redhat.com>
1241
1242 * ui-out.h (ui_out_table_begin): Make char* parameters constant.
1243 (ui_out_table_header, ui_out_field_int): Ditto.
1244 (ui_out_field_core_addr, ui_out_field_string): Ditto.
1245 (ui_out_field_stream, ui_out_field_fmt): Ditto.
1246 (ui_out_field_skip, ui_out_text, ui_out_message): Ditto.
1247 * ui-out.c (ui_out_table_begin, ui_out_table_header): Update.
1248 (ui_out_field_core_addr, ui_out_field_stream): Update.
1249 (ui_out_field_string, ui_out_field_fmt): Update.
1250 (ui_out_text, ui_out_message): Update.
1251 (append_header_to_list): Make char* parameters constant.
1252 (uo_table_header, uo_table_begin): Ditto.
1253 (uo_field_int, uo_field_skip): Ditto.
1254 (uo_field_string, uo_field_fmt): Ditto.
1255 (uo_text, uo_message): Ditto.
1256
c94fdfd0
EZ
12572001-06-11 Eli Zaretskii <eliz@is.elta.co.il>
1258
1259 * completer.c (gdb_completer_loc_break_characters): New variable.
1260 (line_completion_function): If we are completing on locations,
1261 back up the start of word pointer past all characters which can
1262 appear in a location spec.
1263 (location_completer): New function.
1264
1265 * completer.h: Add prototype for location_completer.
1266
1267 * symtab.c (make_source_files_completion_list)
1268 (add_filename_to_list, not_interesting_fname): New functions.
1269 (filename_seen): New function, body extracted from
1270 output_source_filename.
1271 (output_source_filename): Call filename_seen to check if the file
1272 was already printed.
1273 (make_symbol_completion_list): If TEXT includes a
1274 double-quoted string, return an empty list, not NULL.
1275 (make_file_symbol_completion_list): New function, similar to
1276 make_symbol_completion_list but with an additional argument
1277 SRCFILE.
1278
1279 * symtab.h (make_file_symbol_completion_list)
1280 (make_source_files_completion_list): Add prototypes.
1281
1282 * breakpoint.c (_initialize_breakpoint): Make location_completer
1283 be the completion function for all commands which set breakpoints
1284 and watchpoints.
1285 (top-level): #include "completer.h".
1286
1287 * tracepoint.c (_initialize_tracepoint): Make location_completer
1288 be the completion function for the "trace" command.
1289 (top-level): #include "completer.h".
1290
1291 * printcmd.c (_initialize_printcmd): Make location_completer be
1292 the completion function for the "print", "inspect", "call", and
1293 "disassemble" commands.
1294 (top-level): #include "completer.h".
1295
1296 * infcmd.c (_initialize_infcmd): Make location_completer be the
1297 completion function for the "go", "jump", and "until" commands.
1298 (top-level): #include "completer.h".
1299
0b6a968e
CF
13002001-06-10 Christopher Faylor <cgf@redhat.com>
1301
1302 * gnu-regex.c: Eliminate obsolete check for _MSC_VER.
1303 * utils.c (notice_quit): Remove dummy function only used for _MSC_VER.
1304 * values.c (unpack_double): Remove obsolete check for _MSC_VER.
1305 * defs.h: Ditto.
1306 * m32r-rom.c: Ditto.
1307 * p-exp.y: Ditto.
1308 * ser-e7kpc.c: Ditto. Define WIN32_LEAN_AND_MEAN under _WIN32, for
1309 faster compilation.
1310 (get_ds_base): Remove _MSC_VER version of this function.
67bfdb89
CF
1311 * nindy-share/ttyflush.c: Ditto.
1312 * rdi-share/host.h: Ditto.
0b6a968e
CF
1313 * ser-go32.c (dos_readchar): Remove call to obsolete function.
1314 * remote-sim.c (gdb_os_poll_quit): Ditto.
1315 * remote-e7000.c (expect): Remove obsolete #if 0'ed code.
1316
1317 * main.c (captured_main): Eliminate special Cygwin checks.
1318 * ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.
1319
e2e11a41
AC
13202001-06-09 Andrew Cagney <ac131313@redhat.com>
1321
bf5efbab
AC
1322 * Makefile.in (gdbcmd_h): Add ui_out_h.
1323 (breakpoint.o, infcmd.o, main.o, printcmd.o, stack.o): Ditto.
1324 (thread.o, top.o): Ditto.
1325
e2e11a41
AC
1326 * ui-out.h (table_begin_ftype): Make string parameters constant.
1327 (table_header_ftype): Ditto.
1328 (field_int_ftype): Ditto.
1329 (field_skip_ftype): Ditto.
1330 (field_string_ftype): Ditto.
1331 (field_fmt_ftype): Ditto.
1332 (text_ftype): Ditto.
1333 (message_ftype): Ditto.
1334 * cli-out.c (cli_table_begin): Ditto.
1335 (cli_table_header): Ditto.
1336 (cli_field_int): Ditto.
1337 (cli_field_skip): Ditto.
1338 (cli_field_string): Ditto.
1339 (cli_field_fmt): Ditto.
1340 (cli_text): Ditto.
1341 (cli_message): Ditto.
1342 (out_field_fmt): Ditto.
1343 * ui-out.c (default_table_begin): Ditto.
1344 (default_table_header): Ditto.
1345 (default_field_int): Ditto.
1346 (default_field_skip): Ditto.
1347 (default_field_string): Ditto.
1348 (default_field_fmt): Ditto.
1349 (default_text): Ditto.
1350 (default_message): Ditto.
1351
2e663524
MS
13522001-06-08 Michael Snyder <msnyder@redhat.com>
1353
1354 * breakpoint.c (delete_breakpoint): Pass mark_inserted to
1355 remove_breakpoint, so that the subsequent test for
1356 bpt->inserted will succeed, and duplicates will be fixed up.
1357
bebd888e
PB
13582001-06-08 Per Bothner <per@bothner.com>
1359
1360 * dwarf2read.c (set_cu_language): Handle DW_LANG_Java.
1361
8f45b7fe
KS
13622001-06-07 Keith Seitz <keiths@redhat.com>
1363
1364 * tracepoint.c (tracepoint_opertation): Add ui event
1365 notifications.
1366 (trace_pass_command): Ditto.
1367
b76a2a57
AC
13682001-06-07 Andrew Cagney <ac131313@redhat.com>
1369
1370 * MAINTAINERS (Write After Approval): Note the entry criteria.
a4f1e24f 1371 (HP/PA): Jeff Law stepped down
b76a2a57 1372
72e74a21
JB
13732001-06-07 Jim Blandy <jimb@redhat.com>
1374
1375 * gdbarch.sh: Make sure that '[' doesn't interpret interesting
1376 variable values as operators.
1377
8c6ee715
KS
13782001-06-07 Keith Seitz <keiths@redhat.com>
1379
1380 * gdb-events.sh: Fix quote escaping which was obsoleted
1381 by last patch.
1382
9e791099
KS
13832001-06-07 Keith Seitz <keiths@redhat.com>
1384
1385 * gdb-events.sh: Make if statements and tests
1386 a little more portable.
1387 Don't use shell's echo command to put strings containing
1388 escaped characeters into a file -- different flavors of /bin/sh
1389 require differnt levels of escaping. Use cat <<EOF instead.
1390 Our internal field separator is a colon. Change all
1391 commands which assume it is a space.
1392
fce0e6e1
MK
13932001-06-06 Mark Kettenis <kettenis@gnu.org>
1394
1395 * lin-lwp.c (struct lwp_info): Add member `resumed'.
1396 (iterate_over_lwps): Make sure we can handle CALLBACK deleting the
1397 LWP it's called for.
1398 (lin_lwp_attach): Mark LWP as resumed to make sure the fake
1399 SIGSTOP is reported.
1400 (resume_clear_callback): New function.
1401 (resume_set_callback): New function.
1402 (lin_lwp_resume): Mark all LWP's that we're going to resume as
1403 resumed, and unmark all others.
1404 (status_callback): Only report a pending wait status if we pretend
1405 that LP has been resumed.
1406 (resumed_callback): New function.
1407 (lin_lwp_wait): Add assertions to check that LWP's are properly
1408 marked as resumed. Partially revert 2001-05-25 patch by Michael
1409 Snyder: do not resume all threads. Add comment explaining the
1410 problems associated with this bit of code.
1411
54403c59
KS
14122001-06-07 Keith Seitz <keiths@redhat.com>
1413
1414 * MAINTAINTERS: Syd Polk is stepping down from
1415 maintaining libgui. I am replacing him.
1416
1d06468c
EZ
14172001-06-07 Eli Zaretskii <elis@is.elta.co.il>
1418
1419 * config/mips/tm-irix6.h: New file.
1420
1421 * config/mips/irix6.mh: New file.
1422
1423 * config/mips/irix6.mt: New file.
1424
1425 * config/mips/xm-irix6.h: New file.
1426
1427 * config/mips/nm-irix6.h: New file.
1428
1429 * mips-tdep.c (mips_gdbarch_init) <MIPS_ABI_N32>: Set up the
1430 disassembler info in tm_print_insn_info as appropriate for the N32
1431 ABI. Force N32 ABI to be the default if the CPU is R8000 or
1432 R10000.
1433
1434 * configure.tgt (mips*-sgi-irix6*): Map to irix6.
1435
1436 * configure.host (mips*-sgi-irix6*): Ditto.
1437
3d499020
AC
14382001-06-07 Andrew Cagney <ac131313@redhat.com>
1439
1440 * gnu-v3-abi.c: Include "gdb_assert.h".
1441 (build_gdb_vtable_type): Replace abort() with gdb_assert().
1442
ceaa8edf
JB
14432001-06-06 Jim Blandy <jimb@redhat.com>
1444
c5f5341b
JB
1445 * cp-abi.h: Rearrange code to put documentation comments above the
1446 functions we export. The actual function table itself simply
1447 refers to those functions. Minor doc fixes.
1448
ceaa8edf
JB
1449 * gdbarch.sh: Changes to effect the following:
1450 * gdbarch.c (initialize_non_multiarch): New function.
1451 * gdbarch.h (initialize_non_multiarch): New declaration.
1452 * arch-utils.c (initialize_current_architecture): For
1453 non-multiarch configurations, call initialize_non_multiarch.
1454
0cd64fe2
AC
14552001-06-06 Andrew Cagney <ac131313@redhat.com>
1456
1457 * symfile.c (compare_psymbols): Replace PTR with void*. Delete
1458 declaration.
1459 (compare_symbols): Ditto.
1460
8849f47d
JL
14612001-06-06 Jonathan Larmour <jlarmour@redhat.com>
1462
1463 * arch-utils.c (generic_prepare_to_proceed): Allow for having
1464 stopped due to a Ctrl-C as well as breakpoints.
1465
1466 * hppa-tdep.c (hppa_prepare_to_proceed): Add FIXME as this may not
1467 support thread switches after Ctrl-C.
1468 * lin-lwp.c (lin_lwp_prepare_to_proceed): Ditto.
1469 * linux-thread.c (linuxthreads_prepare_to_proceed): Ditto.
1470 * m3-nat.c (mach3_prepare_to_proceed): Ditto.
1471
b3cc3077
JB
14722001-06-06 Jim Blandy <jimb@redhat.com>
1473
1474 * gdbarch.sh, gdbarch.c: Revert change of 2001-06-01; all
1475 per-architecture data should be registered at initialization time,
1476 before any gdbarch objects get used, so the generality is
1477 unnecessary.
1478
ba9fe036
KS
14792001-06-06 Keith Seitz <keiths@redhat.com>
1480
1481 * gdb-events.sh (function_list): Add tracepoint_create,
1482 tracepoint_delete, and tracepoint_modify events.
1483 * gdb-events.c: Regenerated.
1484 * gdb-events.h: Regenerated.
1485
e28f816a
KS
14862001-06-06 Keith Seitz <keiths@redhat.com>
1487
1488 * gdb-events.sh: Update copyrights.
1489 Change free to xfree.
1490 * gdb-events.c: Regenerated.
1491 * gdb-events.h: Regenerated.
1492
c3690141
EZ
14932001-06-06 Eli Zaretskii <eliz@is.elta.co.il>
1494
1495 * source.c (mod_path, openp): Use #ifdef HAVE_DOS_BASED_FILE_SYSTEM
1496 instead of #if HAVE_DOS_BASED_FILE_SYSTEM.
1497 * completer.c: Ditto.
1498 * cli/cli-cmds.c (cd_command): Ditto.
1499
37ba1196
EZ
15002001-06-04 Eli Zaretskii <eliz@is.elta.co.il>
1501
1012bd0e
EZ
1502 * mips-tdep.c (show_mipsfpu_command): Remove unused variable msg.
1503 (mips_set_processor_type_command): Remove unused variable j.
1504 (mips_breakpoint_from_pc): Declare breakpoint instruction
1505 sequences as unsigned char, to avoid compiler warnings.
1506
fe4e3eb8
EZ
1507 * source.c (mod_path, openp): Use HAVE_DOS_BASED_FILE_SYSTEM
1508 instead of system-specific define's like _WIN32 and __MSDOS__.
1509 Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH instead of SLASH_P and
1510 ROOTED_P.
1511 (top-level): #include "filenames.h".
1512
1513 * solib.c (solib_open): Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH
1514 instead of SLASH_CHAR, ROOTED_P and SLASH_P.
1515 (top-level): #include "filenames.h".
1516
1517 * defs.h (SLASH_P, SLASH_CHAR, ROOTED_P): Remove definitions.
1518 (SLASH_STRING): Define only for _WIN32.
1519
1520 * completer.c: Use HAVE_DOS_BASED_FILE_SYSTEM instead of
1521 __MSDOS_.
1522
1523 * cli/cli-cmds.c (cd_command): Use IS_DIR_SEPARATOR and
1524 IS_ABSOLUTE_PATH instead of SLASH_P and ROOTED_P. Replace
1525 system-specific ifdefs with HAVE_DOS_BASED_FILE_SYSTEM.
1526 (top-level): #include "filenames.h".
1527
37ba1196
EZ
1528 * go32-nat.c (go32_wait): Change the return value to ptid_t.
1529
1530 * config/djgpp/fnchange.lst: Add two new files in the
1531 gdb/testsuite/gdb.c++/ directory to the remapped names.
1532
1533 * config/djgpp/djconfig.sh (lt_cv_sys_max_cmd_len): Set to 12KB.
1534
3c875b6f
JB
15352001-06-01 Jim Blandy <jimb@redhat.com>
1536
1537 Expand the gdbarch per-architecture data vector as needed, rather
1538 than requiring that all per-architecture data be registered before
1539 the first gdbarch object is allocated.
1540 * gdbarch.sh: Changes to effect the following:
1541 * gdbarch.c (alloc_gdbarch_data, init_gdbarch_data): Delete
1542 declarations and definitions.
1543 (check_gdbarch_data): New function, and declaration.
1544 (gdbarch_alloc): Don't call alloc_gdbarch_data; leaving the fields
1545 zero is good enough.
1546 (free_gdbarch_data): Tolerate a null data pointer. Free only
1547 those data items gdbarch->data actually has allocated.
1548 (set_gdbarch_data, gdbarch_data): Call check_gdbarch_data.
1549 (gdbarch_update_p): No need to call init_gdbarch_data.
1550
98f96ba1
KB
15512001-06-01 Kevin Buettner <kevinb@redhat.com>
1552
1553 * ia64-tdep.c (is_float_or_hfa_type_recurse): Call check_typedef()
1554 on types that we wish to recurse on.
1555 (slot_alignment_is_next_even): New function.
1556 (ia64_push_arguments): Call slot_alignment_is_next_even() to
1557 examine the type in order to decide if it's necessary to skip
1558 an odd slot.
1559
c6ad9598
MS
15602001-06-01 Michael Snyder <msnyder@redhat.com>
1561
8601f500
MS
1562 * thread.c (delete_step_resume_breakpoint): New function.
1563 Maintain internal consistency of the thread list while deleting
1564 a step_resume_breakpoint.
1565 * gdbthread.h (delete_step_resume_breakpoint): Export.
1566 * breakpoint.c (bpstat_find_step_resume_breakpoint):
1567 Make thread-aware: don't return a step_resume_breakpoint
1568 for the wrong thread.
1569 * infrun.c (wait_for_inferior): Call delete_step_resume_breakpoint
1570 instead of delete_breakpoint_current_contents.
1571 (fetch_inferior_event): Ditto.
1572 (handle_inferior_event): Call delete_step_resume_breakpoint
1573 instead of delete_breakpoint.
c6ad9598
MS
1574 * infrun.c (handle_inferior_event): After singlestepping over a
1575 thread-specific breakpoint, use currently_stepping() to decide
1576 whether to step or continue.
1577
531017df
JB
15782001-06-01 Jim Blandy <jimb@redhat.com>
1579
b27b8843
JB
1580 * gnu-v3-abi.c (gnu_v3_abi_ops, vtable_type_gdbarch_data): Make
1581 these static --- there's no reason other files should use these.
1582
d0bbfec7
JB
1583 * partial-stab.h (case N_FUN: case 'f':, case N_FUN: case 'F':)
1584 Fix memory leak.
1585
531017df
JB
1586 * partial-stab.h: New complaint: function_outside_compilation_unit.
1587 (case N_FUN: case 'f':, case N_FUN: case 'F':): If pst is zero,
1588 complain, and don't try to set pst's start address.
1589
d469a809
KB
15902001-05-31 Kevin Buettner <kevinb@redhat.com>
1591
1592 * ia64-linux-tdep.c (IA64_LINUX_SIGCONTEXT_OFFSET): Revise to
1593 match the location at which the kernel is placing the sigcontext
1594 struct.
1595
58ab00f9
KB
1596 * ia64-tdep.c (max_skip_non_prologue_insns): New static global.
1597 (refine_prologue_limit): New function.
1598 (examine_prologue): Further limit number of instructions
1599 scanned by calling refine_prologue_limit(). Revise way in
1600 which the end of prologue address is computed for frameless
1601 functions.
1602
9fd7143a
CF
16032001-05-29 Christopher Faylor <cgf@redhat.com>
1604
1605 * partial-stab.h: Revert previous patch.
1606
34a7837a
CF
16072001-05-29 Christopher Faylor <cgf@redhat.com>
1608
1609 * partial-stab.h: Consistently guard against pst being NULL.
1610
ad53e288
AO
16112001-05-29 Alexandre Oliva <aoliva@redhat.com>
1612
1613 * symfile.c (compare_psymbols, compare_symbols): Declare using
1614 PTR, as in the definition.
09d011c5
AO
1615 * minsyms.c (compare_minimal_symbols): Likewise.
1616 * coffread.c (find_targ_sec): Likewise.
1617 * elfread.c (free_elfinfo, elf_locate_sections): Likewise.
1618 * mipsread.c (alphacoff_locate_sections): Likewise.
1619 * mdebugread.c (compare_blocks): Likewise.
ad53e288 1620
b41be06e
ND
16212001-05-25 Nick Duffek <nsd@redhat.com>
1622
1623 * solib.c (update_solib_list): Move target_resize_to_sections()
1624 into solib_map_sections() loop.
1625 (info_sharedlibrary_command): Try bfd_arch_bits_per_address() if
1626 bfd_get_arch_size() fails.
1627
a1cd1908
ND
16282001-05-25 Nick Duffek <nsd@redhat.com>
1629
1630 * Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c and
1631 solib-osf.o.
1632 * config/alpha/alpha-osf1.mh (NATDEPFILES): Replace osfsolib.o
1633 with solib-osf.o and solib.o.
1634 * config/alpha/alpha-osf2.mh: Likewise.
1635 * config/alpha/alpha-osf3.mh: Likewise.
1636 * solib-osf.c: New file, renamed and largely rewritten from
1637 osfsolib.c.
1638
aa6c0017
MS
16392001-05-25 Michael Snyder <msnyder@redhat.com>
1640
c4365b19
MS
1641 * lin-lwp.c (lin_lwp_attach_lwp): Call stop_wait_callback,
1642 to consume the SIGSTOP generated by PTRACE_ATTACH.
1643 (stop_wait_callback): If a SIGTRAP or a SIGINT event is consumed,
1644 try again to get the SIGSTOP event.
1645 (lin_lwp_wait): Resume all threads when ignoring a signal.
1646 This will insure that newly attached threads get resumed.
5f885618 1647 * lin-lwp.c (stop_wait_callback): Discard redundant SIGINT events.
aa6c0017
MS
1648 * remote.c (remote_write_bytes): Update 'p' packet pointer.
1649
4b1fedf1
JB
16502001-05-25 Jim Blandy <jimb@redhat.com>
1651
1652 * gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
1653 VALUE_POINTED_TO_OFFSET here; if value_cast doesn't return a
1654 useful value, then we should fix that instead.
1655
fa3b51d2
ND
16562001-05-24 Nick Duffek <nsd@redhat.com>
1657
1658 * solist.h (struct so_list): Document the requirement that
1659 current_sos initialize some fields to 0.
1660
2747183e
MK
16612001-05-24 Mark Kettenis <kettenis@gnu.org>
1662
1663 * gnu-nat.c: Include <ctype.h>.
1664 (gnu_pid_to_exec_file): Add PID parameter.
1665 (set_sig_thread_cmd): Use PIDGET on return value from
1666 thread_id_to_pid.
1667 (proc_string): Use MERGEPID to construct argument to
1668 pid_to_thread_id.
1669
e4f237da
KB
16702001-05-22 Kevin Buettner <kevinb@redhat.com>
1671
1672 * breakpoint.c (breakpoint_address_is_meaningful): New function.
1673 (check_duplicates): Don't compare non-meaningful addresses.
1674
5fd913cc
MS
16752001-05-22 Michael Snyder <msnyder@redhat.com>
1676
1677 * thread-db.c: Allow for defunct zombie threads.
1678 (attach_thread): Do not attempt to attach zombie thread.
1679 (thread_db_thread_alive): Return false for defunct zombie thread.
1680 (find_new_threads_callback): Don't add defunct zombie thread to list.
1681
7ed49443
JB
16822001-05-22 Jim Blandy <jimb@redhat.com>
1683
1684 Add support for the GNU V3 C++ ABI.
1685 (Includes changes by Dan Berlin.)
1686
1687 * gnu-v3-abi.c: New file.
1688 * minsyms.c: #include "value.h" and "cp-abi.h".
1689 (install_minimal_symbols): Check the minimal symbol table for
1690 symbols that look mangled in the V3 style, and select the V3 ABI
1691 if we find any.
1692 * Makefile.in (SFILES): Add gnu-v3-abi.c.
1693 (COMMON_OBS): Add gnu-v3-abi.o.
1694 (gnu-v3-abi.o): Add new rule.
1695 (minsyms.o): Depend on $(cp_abi_h) and $(value_h).
1696
a44999d5
JB
16972001-05-21 Jim Blandy <jimb@redhat.com>
1698
8d65888a
JB
1699 * values.c (value_primitive_field): If we're extracting a base
1700 class, then the type of the result should be the base class being
1701 extracted, not the type of which it is a base class.
1702
a44999d5
JB
1703 * value.h (struct value): Doc fix, and rearrange members to place
1704 them near their explanations.
1705
6c3f2dbf
MS
17062001-05-21 Michael Snyder <msnyder@redhat.com>
1707
1708 * remote.c (remote_async_wait): Added new variable fieldsize.
1709 Add fieldsize (return value of hex2bin) to string pointer p.
1710
b4fa4770
SC
17112001-05-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1712
1713 * m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
1714 (m68hc11_analyze_instruction): Update the pc correctly.
1715 (m68hc11_guess_from_prologue): Take into account the stack correction
1716 for the saving address.
1717
2b127877
DB
17182001-05-07 Daniel Berlin <dan@cgsoftware.com>
1719
1720 Changes by Jim Ingham:
1721
1722 * values.c (value_change_enclosing_type): New function. If the
1723 new enclosing type is larger than the old one, we need to allocate
1724 more space.
1725 * value.h: Add value_change_enclosing_type prototype.
1726 * valops.c (value_cast): Use it.
1727 (value_assign): Use it.
1728 (value_addr): Use it.
1729 (value_ind): Use it.
1730 (value_full_object): Use it.
1731
17322001-05-07 Daniel Berlin <dan@cgsoftware.com>
1733
984e377c
JB
1734 * values.c (value_static_field): Handle static fields that have a
1735 constant value.
2b127877 1736
736d0890
MS
17372001-05-17 Michael Snyder <msnyder@redhat.com>
1738
1739 * blockframe.c (create_new_frame): Zero all the fields via memset,
1740 rather than zeroing them one by one.
1741
a577b05c
EZ
17422001-05-17 Eli Zaretskii <eliz@is.elta.co.il>
1743
1744 * top.c (user_args): Remove unused declaration.
1745
b8adfa9f
MS
17462001-05-16 Michael Snyder <msnyder@redhat.com>
1747
1748 * infcmd.c (do_registers_info): Move alloca outside of loop.
1749
97345198
MS
17502001-05-15 John S Kallal <jskallal@home.com>
1751
1752 * remote.c (remote_wait): Added new variable fieldsize.
1753 Add fieldsize (return value of hex2bin) to string pointer p.
1754
aca21d9a
MK
17552001-05-15 Mark Kettenis <kettenis@gnu.org>
1756
1757 * sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
1758 info.bfd_arch_info.
1759
b08cfdb6
KB
17602001-05-14 Kevin Buettner <kevinb@redhat.com>
1761
1762 * lin-lwp.c (detach_callback, lin_lwp_wait, lin_lwp_pid_to_str):
1763 Adjust format strings for printing LWPs to account for the fact
1764 that the type returned by GET_LWP() is now a long instead of an
1765 int.
1766
ca6724c1
KB
17672001-05-14 Kevin Buettner <kevinb@redhat.com>
1768
1769 * inferior.h (null_ptid, minus_one_ptid): New variable declarations.
1770 (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
1771 (ptid_get_tid, ptid_equal): New function declarations.
1772 * infrun.c (null_ptid, minus_one_ptid): New variables.
1773 (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
1774 (ptid_get_tid, ptid_equal): New functions.
1775 (_initialize_infrun): Initialize null_ptid, minus_one_ptid,
1776 inferior_ptid, and target_last_wait_ptid.
1777
1778 * defs.h (ptid_t): Redefine to be a struct rather than an int.
1779 (pid_to_ptid, null_ptid, ptid_equal): Delete these macros.
1780 (PIDGET, TIDGET, MERGEPID): Redefine these macros using the
1781 new ptid accessors and constructor.
1782
1783 * config/i386/tm-i386v42mp.h (PIDGET, TIDGET, LIDGET, MERGEPID,
1784 MKLID, MKTID, ISTID): Provide new definitions for these macros.
1785 The old macros are retained, but disabled via #if 0 in order
1786 to aid in future restructuring. See FIXME.
1787
1788 * arm-linux-nat.c (PIDGET, TIDGET): Delete macro definitions.
1789 * i386-linux-nat.c (PIDGET, TIDGET): Likewise.
1790 * infptrace.c (PIDGET, TIDGET): Likewise.
1791 * lin-lwp.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
1792 * lin-thread.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
1793 * proc-service.c (MERGEPID): Likewise.
1794 * procfs.c (PIDGET, TIDGET, MERGEPID): Likewise.
1795 * thread-db.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
1796 * config/nm-linux.h (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
1797 * config/i386/tm-i386sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
1798 Likewise.
1799 * config/sparc/tm-sun4sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
1800 Likewise.
1801
1802 * lin-lwp.c (THREAD_FLAG): Delete macro definition.
1803 (GET_LWP): Redefine in terms of ptid_get_lwp().
1804 (GET_PID): Redefine in terms of ptid_get_pid().
1805 (is_lwp): Redefine without the need for THREAD_FLAG.
1806 (BUILD_LWP): Redefine in terms of ptid_build().
1807 * lin-thread.c (THREAD_FLAG): Delete macro definition.
1808 (GET_LWP): Redefine in terms of ptid_get_lwp().
1809 (GET_PID): Redefine in terms of ptid_get_pid().
1810 (GET_THREAD): Redefine in terms of ptid_get_tid().
1811 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
1812 (is_lwp, is_thread): Redefine.
1813 (linux_child_wait, check_all_signal_numbers)
1814 (linuxthreads_discard_global_state, attach_thread): Declare these
1815 functions to squash warnings about missing declarations.
1816 * sol-thread.c (THREAD_FLAG): Delete macro definition.
1817 (GET_PID): Redefine in terms of ptid_get_pid().
1818 (GET_LWP): Redefine in terms of ptid_get_lwp().
1819 (GET_THREAD): Redefine in terms of ptid_get_tid().
1820 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
1821 (is_lwp, is_thread): Redefine.
1822 * thread-db.c (THREAD_FLAG): Delete macro definition.
1823 (GET_PID): Redefine in terms of ptid_get_pid().
1824 (GET_LWP): Redefine in terms of ptid_get_lwp().
1825 (GET_THREAD): Redefine in terms of ptid_get_tid().
1826 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
1827 (is_lwp, is_thread): Redefine.
1828
1829 * corelow.c (add_to_thread_list, get_core_register_section):
1830 Eliminate hacks needed to prevent regressions when inferior_ptid
1831 wasn't wide enough to hold the core file thread id in the pid
1832 component of inferior_ptid.
1833
234fa6d1
MS
18342001-05-14 Michael Snyder <msnyder@redhat.com>
1835
1836 * remote.c (hex2bin): Make first argument const.
1837 Require explicit count, don't accept null-terminated str.
1838 (remote_resume, remote_async_resume): White space fix-up.
1839 (remote_write_bytes): Set nr_bytes to return value of bin2hex.
1840
caadab2c
MK
18412001-05-13 Mark Kettenis <kettenis@gnu.org>
1842
1843 * symtab.c (lookup_symtab_1): Use lbasename (NAME) instead of
1844 basename (NAME). The FreeBSD basename returns a pointer to a
1845 static buffer, even if it's simply returning a string identical to
1846 its argument.
1847 (lookup_partial_symtab): Likewise.
1848
2644f393
MS
18492001-05-14 Michael Snyder <msnyder@redhat.com>
1850
cb0ba49e 1851 * solib.c, solib.h: Add comment for function no_shared_libraries.
2644f393 1852
183a2f1a
KB
18532001-05-14 Kevin Buettner <kevinb@redhat.com>
1854
1855 * solib.h (no_shared_libraries): Make declaration match definition
1856 in solib.c.
1857
1dd1751e
AC
18582001-05-14 Andrew Cagney <ac131313@redhat.com>
1859
1860 * remote.c (remote_write_bytes): Set nr_bytes before returning it.
1861 * solib.h (no_shared_libraries): Declare.
1862
b732d07d
AC
18632001-05-12 Andrew Cagney <ac131313@redhat.com>
1864
1865 * gdbarch.sh (struct gdbarch_info): Delete field bfd_architecture.
1866 (gdbarch_update_p): Rewrite logic filling in INFO struct. Use
1867 user specified values when available.
1868 * rs6000-tdep.c (rs6000_gdbarch_init): Update. Get the
1869 architecture from info.bfd_arch_info.
1870 * gdbarch.c, gdbarch.h: Regenerate.
1871
67dd5ca6
FN
18722001-05-12 Fernando Nasser <fnasser@redhat.com>
1873
1874 * remote-e7000.c (e7000_open): Check for bad baud rate.
1875 * remote-st.c (st2000_open): Ditto.
1876
529acb48
JB
18772001-05-11 Jim Blandy <jimb@redhat.com>
1878
f8e42d24
JB
1879 * thread.c (do_captured_list_thread_ids): Use ui_out_tuple_begin
1880 and ui_out_tuple_end instead of ui_out_list_begin and
1881 ui_out_list_end.
1882
529acb48
JB
1883 * Makefile.in (gnu-v2-abi.o): Add $(demangle_h) to list of
1884 dependencies. Reorder dependencies to match #includes in file,
1885 for easier verification.
1886
666547aa
AC
1887Fri May 11 13:32:50 2001 Andrew Cagney <cagney@b1.cygnus.com>
1888
1889 * breakpoint.c: Replace ui_out_list_begin, ui_out_list_end and
1890 make_cleanup_ui_out_list_end with ui_out_tuple_begin,
1891 ui_out_tuple_end and make_cleanup_ui_out_tuple_begin_end.
1892 * cli/cli-setshow.c: Ditto.
1893 * printcmd.c: Ditto.
1894 * stack.c: Ditto.
1895
1896 * ui-out.h (enum ui_out_type): Fix tipo - tupple -> tuple.
1897 * ui-out.c (ui_out_list_begin): Delete ``lstid'' parameter.
1898 (ui_out_tuple_begin): New function.
1899 (ui_out_tuple_end): New function.
1900 (ui_out_tuple_begin_end): New function.
1901 (make_cleanup_ui_out_list_begin_end): Replace
1902 make_cleanup_ui_out_list_end function.
1903 * ui-out.h (ui_out_list_begin): Update declaration.
1904 (make_cleanup_ui_out_list_begin_end): Replace
1905 make_cleanup_ui_out_list_end declaration.
1906 (ui_out_tuple_begin, ui_out_tuple_end): Declare.
1907 (ui_out_tuple_begin_end): Declare.
1908
30c98d84
JB
19092001-05-11 Jim Blandy <jimb@redhat.com>
1910
1911 * gnu-v2-abi.c: Don't #include "gdb_regex.h". We don't use it.
1912
1faa59a8
AC
19132001-05-11 Andrew Cagney <ac131313@redhat.com>
1914
1915 From 2001-03-26 Rodney Brown <RodneyBrown@mynd.com>
1916 * config/pa/tm-hppa.h: Remove trigraph.
1917 * hp-symtab-read.c (hpread_type_translate): Provide return value.
1918 (hpread_read_struct_type): Remove trigraph. Add parameter in
1919 `warning'.
1920 (hpread_read_array_type): Provide return value.
1921 (hpread_type_lookup): Avoid ambiguous `else'. Provide return
1922 value.
1923 * hppa-tdep.c (initialize_hp_cxx_exception_support): Remove
1924 trigraph.
1925
99567b1b
JB
19262001-05-11 Jim Blandy <jimb@redhat.com>
1927
1928 * mips-tdep.c (mips_store_return_value,
1929 mips_extract_return_value): Pass arguments to
1930 return_value_location in the proper order.
1931
d3814881
AC
19322001-05-11 Andrew Cagney <ac131313@redhat.com>
1933
1934 * Makefile.in (VERSION): Delete. Moved to file ``version.in''.
1935 (version.c): Depends on file ``version.in''. Extract version
1936 number from ``version.in'' file.
1937 (clean mostlyclean): Update.
1938 * version.in: New file.
5d6640b1 1939 * NEWS: Update.
d3814881 1940
4d28f7a8
KB
19412001-05-11 Kevin Buettner <kevinb@redhat.com>
1942
1943 * breakpoint.c (set_raw_breakpoint): Add new parameter
1944 representing the breakpoint's type. Adjust all callers.
1945 (create_longjmp_breakpoint, create_temp_exception_breakpoint)
1946 (create_thread_event_breakpoint): Don't test for zero return
1947 value from set_raw_breakpoint(). It can never be zero.
1948 (create_exception_catchpoint, watch_command_1): Move logic
1949 which calculates the breakpoint type prior to the call to
1950 set_raw_breakpoint().
1951
08b4f080
FN
19522001-05-11 Fernando Nasser <fnasser@redhat.com>
1953
1954 * ser-unix.c (rate_to_code): Issue warning if baud rate is invalid.
1955 (hardwire_setbaudrate): Set errno to EINVAL and return with error
1956 if the conversion of the baud rate to code fails.
1957
127431f9
AC
19582001-05-10 Andrew Cagney <ac131313@redhat.com>
1959
1960 * ui-out.h (make_cleanup_ui_out_begin_end): Declare.
1961 * ui-out.c (struct ui_out_end_cleanup_data): Define.
1962 (do_cleanup_end): New function. Replace do_list_end.
1963 (make_cleanup_ui_out_end): New function.
1964 (make_cleanup_ui_out_begin_end): New function.
1965 (make_cleanup_ui_out_list_end): Use make_cleanup_ui_out_end.
1966
5dbc5e5f
EZ
19672001-05-10 Elena Zannoni <ezannoni@redhat.com>
1968
1969 * MAINTAINERS: Declare xcoffread.c open to all maintainers,
1970 and make Kevin Buettner (kevinb@redhat.com) the reference person.
1971
8e40d292
EZ
19722001-05-10 Elena Zannoni <ezannoni@redhat.com>
1973
1974 * proc-api.c (ioctl_with_trace): Fix uninitialized variable.
1975
5a703563
FN
19762001-05-10 Fernando Nasser <fnasser@redhat.com>
1977
1978 * MAINTAINERS: Add testsuite subdirectory co-maintainers.
1979
6311b07d
AC
1980Thu May 10 16:26:47 2001 Andrew Cagney <cagney@b1.cygnus.com>
1981
1982 * Makefile.in (mi-main.o): Compile with -Werror.
1983
30559e10
MS
19842001-05-10 Michael Snyder <msnyder@redhat.com>
1985
f78f6cf1
MS
1986 * remote.c (remote_open_1): Call no_shared_libraries, so that
1987 symbols for shared libraries can be reloaded per session.
1988 (remote_async_open_1): Ditto.
30559e10
MS
1989 * remote.c (bin2hex, hex2bin): New functions. Factor out these
1990 two conversions which are coded for repeatedly in this module.
1991 (remote_threads_extra_info, remote_wait, remote_async_wait,
1992 store_register_using_P, remote_store_registers, remote_write_bytes,
1993 remote_read_bytes, remote_rcmd): Use bin2hex and hex2bin instead
1994 of coding the conversions inline.
1995 (fromhex): Not exported, change from extern to static.
1996
0a1d9791
AC
19972001-05-10 Andrew Cagney <ac131313@redhat.com>
1998
1999 * arch-utils.c (initialize_current_architecture): Delete obsolete
2000 ``info architecture'' command.
2001 (info_architecture): Delete function.
2002
ee055267
AC
20032001-05-10 Andrew Cagney <ac131313@redhat.com>
2004
2005 * TODO (5.1, 5.2): Update.
2006
85886af6
AC
20072001-05-09 Andrew Cagney <ac131313@redhat.com>
2008
2009 * MAINTAINERS: Jim Ingham is no longer maintaining Arm related
2010 stuff.
30559e10 2011
ecb9ce7e
KS
20122001-05-10 Keith Seitz <keiths@cygnus.com>
2013
2014 * Makefile.in (SUBDIR_GDBTK_OBS): Add gdbtk-bp.o, gdbtk-register.o
2015 and gdbtk-stack.o.
2016 (SUBDIR_GDBTK_SRCS): Ditto for the sources.
2017 (gdbtk-bp.o): New rule.
2018 (gdbtk-register.o): New rule.
2019 (gdbtk-stack.o): New rule.
2020 (gdbtk-cmds.o): Update dependencies.
2021 (gdbtk.o): Ditto.
2022 (gdbtk-hooks.o): Ditto.
2023 (gdbtk-varobj.o): Ditto.
2024
f7635dd9
FN
20252001-05-10 Fernando Nasser <fnasser@redhat.com>
2026
2027 * varobj.c (c_number_of_children): Fix memory leak. Delete unwanted old
2028 variables, not just unregister them.
2029
0755e6c1
FN
20302001-05-10 Fernando Nasser <fnasser@redhat.com>
2031
2032 * varobj.c (c_number_of_children): Check for target type of void*,
2033 not the target type name. Allow dereferencing char*.
2034
d7db6da9
FN
20352001-05-10 Fernando Nasser <fnasser@redhat.com>
2036
2037 * symfile.c (symbol_file_add_main_1): New static function.
2038 Passes the flags arguments to symbol_file_add() and takes care
2039 of any necessary reinitializations.
2040 (symbol_file_command): Call symbol_file_add_main_1() instead of
2041 symbol_file_add().
2042 (symbol_file_add_main): Ditto.
2043
3d6e28e2
KB
20442001-05-09 Kevin Buettner <kevinb@redhat.com>
2045
2046 * lin-lwp.c (lin_lwp_pid_to_str): Revert inadvertent format
2047 string change in 2001-05-03 changes.
2048 (lin_lwp_wait): Revert GET_LWP coercion introduced in 2001-05-03
2049 changes.
2050
01263b57
KB
20512001-05-09 Kevin Buettner <kevinb@redhat.com>
2052
2053 * lin-lwp.c (lin_lwp_attach): Use PIDGET() to fetch the pid
2054 component from inferior_ptid.
2055 (lin_lwp_detach): Use pid_to_ptid() to convert from a pid to a
2056 ptid.
2057
74a151fa
EZ
20582001-05-09 Elena Zannoni <ezannoni@redhat.com>
2059
2060 * sh3-rom.c (_initialize_sh3_rom): Get rid of specific _WINDOWS
2061 conditional for help with connections through parallel ports,
2062 given that the actual code for downloading through a parallel port
2063 is not conditionalized.
2064
2065 * sh-tdep.c: Remove WIN32_WCE conditional. The wince sh target is
2066 unmaintaned, and probably on its way to obsolescence.
2067
d7a0d72c
MK
20682001-05-09 Mark Kettenis <kettenis@gnu.org>
2069
0d17c81d
MK
2070 * i386-tdep.c (i386_frame_saved_pc): New function.
2071 * config/i386/tm-i386.h (FRAME_SAVED_PC): Redefine in terms of
2072 i386_frame_saved_pc.
2073 (i386_frame_saved_pc): New prototype.
2074
d7a0d72c
MK
2075 * i386-tdep.c (i386_register_virtual_type): New function.
2076 (i386_register_convertible): New function.
2077 * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE): Redefine in terms
2078 of i386_register_virtual_type.
2079 (REGISTER_CONVERTIBLE): Redefine in terms of
2080 i386_register_convertible.
2081 (i386_register_virtual_type, i386_register_convertible): New
2082 prototypes.
2083
ad8fe2ce
JB
20842001-05-08 Jim Blandy <jimb@redhat.com>
2085
33757489
JB
2086 * Makefile.in (mn10300-tdep.o): New rule.
2087
2088 * Makefile.in (gdb_string_h): Define. Use it throughout.
2089 Some rules were already using this, even though it isn't defined.
2090
c2c197ae
JB
2091 * Makefile.in (obstack_h, target_h): Define; these are already
2092 used elsewhere, but have been expanding to the empty string.
2093 (memattr_h): Define; needed by target_h.
2094
c064f384
JB
2095 * mn10300-tdep.c (mn10300_extract_return_value): Mark this as
2096 static. (This was accidentally omitted from the earlier patch.)
2097
23436510
JB
2098 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
2099 (mn10300_gdbarch_init): Register it as the architecture's
2100 dwarf2_reg_to_regnum method.
2101
ae83b20d
JB
2102 Correct and expand handling of `movm' instruction, and register
2103 saves in general.
2104 * config/mn10300/tm-mn10300.h (D0_REGNUM, A0_REGNUM, MDRQ_REGNUM,
2105 MCRH_REGNUM, MCRL_REGNUM, MCVF_REGNUM): New definitions.
2106 (enum movm_register_bits): New enum.
2107 * mn10300-tdep.c (set_movm_offsets): Use symbolic names for the
2108 bits, not hex literals. Handle the `other', `exreg0', and
2109 `exother' bits. Correct handling of `exreg1': it saves r4, r5,
2110 r6, and r7, not r2, r3, r4, and r5.
2111 (saved_regs_size): New function.
2112 (mn10300_frame_chain, mn10300_frame_saved_pc): Use it, instead
2113 of computing the same thing inline, incorrectly.
2114
bf4b70a5
JB
2115 * mn10300-tdep.c (mn10300_gdbarch_init): We do have a
2116 dummy_breakpoint_offset; it's zero.
2117
ee9f9641
JB
2118 * mn10300-tdep.c (mn10300_pop_frame): Split the mn10300-specific
2119 stuff out into mn10300_pop_frame_regular, and use
2120 generic_pop_current_frame. This lets us share code, and also
2121 makes this function's prototype match that expected by gdbarch.
2122 Make this function static.
2123 (mn10300_pop_frame_regular): New function.
2124 (mn10300_gdbarch_init): Register mn10300_pop_frame as the
2125 gdbarch's pop_frame method.
2126 * config/mn10300/tm-mn10300.h (POP_FRAME): Delete definition.
2127 (mn10300_pop_frame): Delete declaration.
2128
2ac51b36
JB
2129 * mn10300-tdep.c (mn10300_saved_pc_after_call,
2130 mn10300_extract_return_value,
2131 mn10300_extract_struct_value_address, mn10300_store_return_value,
2132 mn10300_use_struct_convention, mn10300_breakpoint_from_pc,
2133 mn10300_frame_chain, mn10300_skip_prologue,
2134 mn10300_push_arguments, mn10300_push_return_address,
2135 mn10300_store_struct_return, mn10300_frame_saved_pc,
2136 mn10300_init_extra_frame_info, mn10300_frame_init_saved_regs):
2137 Make these functions static; they should only be visible to the
2138 outside world as gdbarch methods.
2139
af4e72e9
JB
2140 * config/mn10300/tm-mn10300.h (mn10300_find_callers_reg): Delete
2141 unused declaration.
2142
584f96a8
JB
2143 * mn10300-tdep.c (mn10300_gdbarch_init): Put the gdbarch methods
2144 in some rational order.
2145
82d983b6
JB
2146 * mn10300-tdep.c (mn10300_gdbarch_init): Rather than using
2147 generic_pc_in_call_dummy, use pc_in_call_dummy_at_entry_point.
2148
ad8fe2ce
JB
2149 Use gdbarch for most target parameters for the MN10300, rather
2150 than the tm-*.h file.
2151 * config/mn10300/tm-mn10300.h (MAX_REGISTER_VIRTUAL_SIZE,
2152 REGISTER_BYTES, FP_REGNUM, BREAKPOINT_FROM_PC,
2153 FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK, INNER_THAN,
2154 SAVED_PC_AFTER_CALL, INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS,
2155 FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC,
2156 EXTRACT_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS,
2157 STORE_RETURN_VALUE, STORE_STRUCT_RETURN, SKIP_PROLOGUE,
2158 FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS,
2159 FRAME_NUM_ARGS, POP_FRAME, USE_GENERIC_DUMMY_FRAMES, CALL_DUMMY,
2160 CALL_DUMMY_START_OFFSET, CALL_DUMMY_BREAKPOINT_OFFSET,
2161 CALL_DUMMY_LOCATION, FIX_CALL_DUMMY, CALL_DUMMY_ADDRESS,
2162 TARGET_READ_FP, PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME,
2163 SAVE_DUMMY_FRAME_TOS, PUSH_ARGUMENTS, PC_IN_CALL_DUMMY,
2164 REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER):
2165 Delete definitions. We register gdbarch methods for these now.
2166 (struct frame_info, struct type, struct value): Delete forward
2167 declarations of these types; they're no longer necessary, since we
2168 don't have function declarations here any more.
2169 * mn10300-tdep.c: #include "arch-utils.h", to get declarations for
2170 some default gdbarch methods.
2171 (mn10300_store_struct_return): Return void, as expected by
2172 gdbarch.
2173 (mn10300_init_extra_frame_info): Take initial `fromleaf' argument,
2174 as expected by gdbarch.
2175 (mn10300_frame_init_saved_regs): Provide dummy definition for
2176 this, as required by gdbarch.
2177 (mn10300_gdbarch_init): Add mn10300_call_dummy_words, as expected
2178 by gdbarch. Register gdbarch methods or values for all the stuff
2179 removed from tm-10300.h, listed above.
2180
631ec795
AC
21812001-05-08 Andrew Cagney <ac131313@redhat.com>
2182
2183 * cli-out.c (cli_begin, cli_end): Replace cli_list_begin and
2184 cli_list_end.
2185 (cli_ui_out_impl): Update.
2186
2187 * ui-out.c (default_begin, default_end): Replace
2188 default_list_begin and default_list_end.
2189 (default_ui_out_impl): Update.
2190 (uo_begin, uo_end): Replace ou_list_begin and uo_list_end.
2191 (ui_out_begin, ui_out_end): Replace ui_out_list_begin and
2192 ui_out_list_end.
2193 (ui_out_list_begin, ui_out_list_end): New. Compatibility
2194 functions.
2195 (struct ui_out_level): Add field type.
2196 (push_level, pop_level): Update. Add type parameter.
2197
2198 * ui-out.h (enum ui_out_type): Declare.
2199 (ui_out_begin, ui_out_end): Declare.
2200 (ui_out_begin_ftype, ui_out_end_ftype): Replace list_begin_ftype
2201 and list_end_ftype.
2202 (struct ui_out_impl): Update.
2203
80f49b30
AC
22042001-05-07 Andrew Cagney <ac131313@redhat.com>
2205
2206 * ui-out.h (list_begin_ftype, list_end_ftype): Rename argument
2207 ``list_flag'' to ``depth''.
2208 * ui-out.c (default_list_begin, default_list_end): Update.
2209 (uo_list_begin, uo_list_end): Update.
2210 (MAX_UI_OUT_LEVELS): Define.
2211 (struct ui_out_level): Define.
2212 (top-level): Include "gdb_assert.h".
2213 (struct ui_out): Add fields ``level'' and ``levels''. Delete
2214 fields ``list_flag'' and ``field_count''.
2215 (ui_out_new): Update.
2216 (verify_field_proper_position): Update.
2217 (current_level, push_level, pop_level): New functions.
2218 (ui_out_list_begin): Use push_level.
2219 (ui_out_list_end): Use pop_level.
2220 (ui_out_field_int): Use current_level.
2221 (ui_out_field_skip): Ditto.
2222 (ui_out_field_fmt): Ditto.
2223
7aedc9f8
MS
22242001-05-08 Michael Snyder <msnyder@redhat.com>
2225
2226 * language.c (longest_local_hex_string_custom): Strlen test is
2227 inverted -- reverse the sense of the test.
2228
c6ec85d6
MK
22292001-05-08 Mark Kettenis <kettenis@gnu.org>
2230
2231 * config/i386/tm-i386v.h (struct frame_info, struct
2232 frame_saved_regs): Remove declarations.
2233 (i386_frame_num_args): Remove prototype.
2234
f938fa6a
AC
22352001-05-07 Andrew Cagney <ac131313@redhat.com>
2236
2237 * MAINTAINERS: I'm no longer actively maintaining the mn10300
2238 target.
2239
fb106663
AC
22402001-05-04 Andrew Cagney <ac131313@redhat.com>
2241
2242 * main.c (captured_main): Delete #ifndef _WIN32 conditional for
2243 WinGDB.
2244
ce696e05
KB
22452001-05-06 Kevin Buettner <kevinb@redhat.com>
2246
2247 * inferior.h (save_inferior_ptid): Declare.
2248 * infrun.c (save_inferior_ptid, restore_inferior_ptid): Define.
2249
2250 * hpux-thread.c (save_inferior_ptid, restore_inferior_ptid):
2251 Delete these functions.
2252 * lin-lwp.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
2253 * lin-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
2254 * linux-thread.c (save_inferior_ptid, restore_inferior_ptid):
2255 Likewise.
2256 * proc-service.c (save_inferior_ptid, restore_inferior_ptid):
2257 Likewise.
2258 * sol-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
2259 * thread-db.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
2260
2261 * somsolib.c (reset_inferior_ptid): Delete.
2262 (som_solib_remove_inferior_hook): Use save_inferior_ptid() to
2263 build the cleanup struct.
2264
2265 * breakpoint.c (reattach_breakpoints, detach_breakpoints): Use
2266 a cleanup to save/restore inferior_ptid.
2267
c194fbe1
MK
22682001-05-06 Mark Kettenis <kettenis@gnu.org>
2269
2270 Implement attach/detach for multi-threaded programs on Linux.
2271 * thread-db.c (keep_thread_db): Adjust comment.
2272 (deactivate_target): Removed.
2273 (thread_db_new_objfile): Don't call deactivate_target. Implement
2274 guts of deactivate_target inline instead.
2275 (attach_thread): Call ATTACH_LWP unconditionally if defined.
2276 (thread_db_attach): New function.
2277 (thread_db_detach): Don't call deactivate_target. Do necessary
2278 cleanup inline instead. Set inferior_ptid to LWP corresponding to
2279 the current user-level thread.
2280 (thread_db_kill): Set inferior_ptid to LWP corresponding to the
2281 current user-level thread.
2282 (thread_db_create_inferior): Deactivate target vector if
2283 KEEP_THREAD_DB is zero.
2284 (thread_db_mourn_inferior): Don't call deactivate_target. Do
2285 necessary cleanup inline instead.
2286 (init_thread_db_ops): Initialize to_attach field to
2287 thread_db_attach.
2288 * lin-lwp.c (lin_lwp_mourn_inferior): Remove prototype.
2289 (stop_wait_callback): Add prototype.
2290 (init_lwp_list): Add comment about when to re-initialize the LWP
2291 list.
2292 (lin_lwp_attach_lwp): Only call ptrace for cloned processes.
2293 Avoid adding publicates to the LWP list. Only mark an LWP as
2294 signalled if it doesn't correspond to a cloned process.
2295 (lin_lwp_attach): Add initial process to the LWP list. Make sure
2296 it's stopped and fake a SIGSTOP.
2297 (detach_callback): New function.
2298 (lin_lwp_detach): Implement.
2299 (lin_lwp_create_inferior): Don't re-initialize LWP list here.
2300 Call child_ops.to_create_inferior directly instead of via
2301 target_beneath local.
2302 (lin_lwp_mourn_inferior): Call child_ops.to_mourn_inferior
2303 directly instead of via target_beneath local.
2304
a7fdf62f
EZ
23052001-05-06 Eli Zaretskii <eliz@is.elta.co.il>
2306
2307 * symtab.c (lookup_symtab_1, lookup_partial_symtab): Use basename
2308 instead of non-portable search for `/'. Use FILENAME_CMP instead
2309 of STREQ, to account for case-insensitive filesystems.
2310 (top-level): #include "filenames.h".
2311
9f60f21b
JB
23122001-05-05 Jim Blandy <jimb@redhat.com>
2313
644a1fe1
JB
2314 * breakpoint.c (check_duplicates): Use the breakpoint's type, not
2315 its address, to decide whether it's a watchpoint or not. Zero
2316 is a valid code address.
2317 (update_breakpoints_after_exec): Admonishing comments.
2318 * breakpoint.h (struct breakpoint): Doc fixes.
2319
9f60f21b
JB
2320 * breakpoint.c (check_duplicates): Take a breakpoint object as an
2321 argument, rather than an address and section. All callers changed.
2322
39f77062
KB
23232001-05-03 Kevin Buettner <kevinb@redhat.com>
2324
2325 * defs.h (ptid_t): New typedef.
2326 (pid_to_ptid, null_ptid, minus_one_ptid, ptid_equal): New macros.
2327
2328 * a68v-nat.c, alphabsd-nat.c, arch-utils.c, arm-linux-nat.c,
2329 blockframe.c, breakpoint.c, breakpoint.h,
2330 config/i386/nm-i386sol2.h, config/i386/tm-i386sco5.h,
2331 config/ia64/nm-linux.h, config/m68k/nm-hp300bsd.h,
2332 config/mips/nm-irix4.h, config/mips/nm-irix5.h,
2333 config/pa/nm-hppah.h, config/pa/tm-hppa.h,
2334 config/rs6000/nm-rs6000.h, config/sparc/nm-sun4sol2.h,
2335 corelow.c, cxux-nat.c, d10v-tdep.c, dink32-rom.c,
2336 dve3900-rom.c, fork-child.c, frame.c, gnu-nat.c, go32-nat.c,
2337 hp300ux-nat.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c,
2338 hpux-thread.c, i386-linux-nat.c, i386aix-nat.c, i386b-nat.c,
2339 i386bsd-nat.c, i386gnu-nat.c, i386mach-nat.c, i386nbsd-nat.c,
2340 infcmd.c, inferior.h, inflow.c, infptrace.c, infrun.c,
2341 inftarg.c, infttrace.c, lin-lwp.c, lin-thread.c,
2342 linux-thread.c, lynx-nat.c, m3-nat.c, m32r-rom.c,
2343 m68knbsd-nat.c, m88k-nat.c, mac-nat.c, mips-nat.c,
2344 mon960-rom.c, monitor.c, ns32knbsd-nat.c, ocd.c, ppc-bdm.c,
2345 ppcnbsd-nat.c, proc-service.c, procfs.c, ptx4-nat.c,
2346 regcache.c, remote-adapt.c, remote-array.c, remote-bug.c,
2347 remote-e7000.c, remote-es.c, remote-mips.c, remote-mm.c,
2348 remote-nindy.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
2349 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
2350 remote-vx.c, remote.c, rs6000-nat.c, sol-thread.c,
2351 solib-aix5.c, solib-svr4.c, somsolib.c, sparc-nat.c,
2352 standalone.c, sun3-nat.c, sun386-nat.c, symm-nat.c, target.c,
2353 target.h, thread-db.c, thread.c, top.c, ultra3-nat.c,
2354 uw-thread.c, v850ice.c, win32-nat.c, wince.c, xcoffsolib.c
2355 (inferior_pid): Rename to inferior_ptid everywhere - even in
2356 comments and obsolete ports. In cases where this variable
2357 really is supposed to be used as a process id, use PIDGET() to
2358 extract the process id component from inferior_ptid. The
2359 other cases, either involving other variables whose types had
2360 to be changed or functions whose signatures had to changed
2361 are listed separately below.
2362
2363 * arm-linux-nat.c (get_thread_id): Change type of argument
2364 representing a combined process/thread id from ``int'' to
2365 ``ptid_t''. Also change parameter name to ptid.
2366 * breakpoint.h, breakpoint.c (breakpoint_thread_match): Likewise.
2367 * corelow.c (core_file_thread_alive): Likewise.
2368 * d10v-tdep.c (d10v_read_pc, d10v_write_pc): Likewise.
2369 * defs.h (*target_wait_hook): Likewise.
2370 * gdbthread.h (thread_info, delete_thread, pid_to_thread_id)
2371 (find_thread_pid, save_infrun_state, load_infrun_state): Likewise.
2372 * gnu-nat.c (gnu_thread_alive, gnu_pid_to_str, gnu_wait)
2373 (gnu_resume): Likewise.
2374 * go32-nat.c (go32_wait, go32_resume): Likewise.
2375 * h8500-tdep.c (h8500_read_pc, h8500_write_pc): Likewise.
2376 * hppa-tdep.c (target_read_pc, target_write_pc): Likewise.
2377 * hppah-nat.c (child_pid_to_str, hppa_tid_to_str,
2378 (hppa_pid_or_tid_to_str, child_post_startup_inferior)
2379 (child_thread_alive): Likewise.
2380 * hpux-thread.c (hpux_thread_notice_signals, hpux_thread_alive)
2381 (hpux_pid_to_str, hpux_thread_wait, hpux_thread_resume): Likewise.
2382 * i386-linux-nat.c (child_resume): Likewise.
2383 * ia64-linux-nat.c (enable_watchpoints_in_psr, fetch_debug_register)
2384 (store_debug_register, fetch_debug_register_pair)
2385 (store_debug_register_pair, ia64_linux_insert_watchpoint)
2386 (ia64_linux_remove_watchpoint, ia64_linux_stopped_by_watchpoint):
2387 Likewise.
2388 * ia64-tdep.c (ia64_read_pc, ia64_write_pc): Likewise.
2389 * inferior.h (read_pc_pid, generic_target_read_pc, write_pc_pid)
2390 (generic_target_write_pc, ptrace_wait, child_resume)
2391 (get_last_target_status): Likewise.
2392 * infptrace.c (ptrace_wait, child_resume): Likewise.
2393 * inftarg.c (child_wait, child_post_wait, child_thread_live)
2394 (child_pid_to_str): Likewise.
2395 * infttrace.c (ptrace_wait, child_thread_alive, child_resume)
2396 (hppa_pid_or_tid_to_str, child_post_startup_inferior): Likewise.
2397 * lin-lwp.c (add_lwp, delete_lwp, find_lwp_pid, lin_lwp_attach_lwp)
2398 (lin_lwp_resume, lin_lwp_wait, lin_lwp_thread_alive)
2399 (lin_lwp_pid_to_str): Likewise.
2400 * lin-thread.c (thread_db_alive, thread_db_pid_to_str)
2401 (thread_db_resume, thread_db_wait): Likewise.
2402 * linux-thread.c (linuxthreads_thread_alive, linuxthreads_pid_to_str)
2403 (linuxthreads_resume, linuxthreads_wait): Likewise.
2404 * lynx-nat.c (child_wait, child_thread_alive, child_resume)
2405 (child_pid_to_str): Likewise.
2406 * m3-nat.c (mach_really_wait, m3_resume): Likewise.
2407 * mac-nat.c (child_wait, child_resume): Likewise.
2408 * mips-tdep.c (mips_read_pc): Likewise.
2409 * monitor.c (monitor_wait, monitor_resume): Likewise.
2410 * ocd.c, ocd.h (ocd_thread_alive, ocd_resume): Likewise.
2411 * ppc-bdm.c (bdm_ppc_wait): Likewise.
2412 * procfs.c (do_attach, procfs_wait, procfs_resume)
2413 (procfs_notice_signals, procfs_thread_alive, procfs_pid_to_str)
2414 (procfs_set_watchpoint, procfs_stopped_by_watchpoint)
2415 (procfs_find_LDT_entry): Likewise.
2416 * regcache.c (read_register_pid, read_signed_register_pid)
2417 (write_register_pid, generic_target_read_pc, read_pc_pid)
2418 (generic_target_write_pc, write_pc_pid): Likewise.
2419 * regcache.h (read_register_pid, read_signed_register_pid)
2420 (write_register_pid): Likewise.
2421 * remote-adapt.c (adapt_wait, adapt_resume): Likewise.
2422 * remote-array.c (array_wait, array_resume): Likewise.
2423 * remote-bug.c (bug_wait, bug_resume): Likewise.
2424 * remote-e7000.c (e7000_wait, e7000_resume): Likewise.
2425 * remote-eb.c (eb_wait, eb_resume): Likewise.
2426 * remote-es.c (es1800_wait, es1800_resume): Likewise.
2427 * remote-mips.c (mips_wait, mips_resume): Likewise.
2428 * remote-mm.c (mm_wait, mm_resume): Likewise.
2429 * remote-nindy.c (nindy_wait, nindy_resume): Likewise.
2430 * remote-os9k.c (rombug_wait, rombug_resume): Likewise.
2431 * remote-rdi.c (arm_rdi_wait, arm_rdi_resume): Likewise.
2432 * remote-rdp.c (remote_rdp_resume, remote_rdp_wait): Likewise.
2433 * remote-sds.c (sds_wait, sds_resume): Likewise.
2434 * remote-sim.c (gdbsim_wait, gdbsim_resume): Likewise.
2435 * remote-st.c (st2000_wait, st2000_resume): Likewise.
2436 * remote-udi.c (udi_wait, udi_resume): Likewise.
2437 * remote-vx.c (vx_wait, vx_resume): Likewise.
2438 * remote.c (remote_current_thread, remote_resume, remote_wait)
2439 (remote_async_resume, remote_async_wait, remote_cisco_wait)
2440 (remote_thread_alive): Likewise.
2441 * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_resume)
2442 (sol_thread_wait, sol_thread_notice_signals, sol_thread_alive)
2443 (solaris_pid_to_str): Likewise.
2444 * symm-nat.c (child_wait, child_resume): Likewise.
2445 * target.c (debug_to_resume, debug_to_wait, debug_to_post_wait)
2446 (debug_to_notice_signals, debug_to_thread_alive)
2447 (normal_target_post_startup_inferior, normal_pid_to_str)
2448 (debug_to_post_startup_inferior): Likewise.
2449 * target.h (to_resume, to_wait, to_post_wait)
2450 (to_post_startup_inferior, to_notice_signals, to_thread_alive)
2451 (to_pid_to_str [all in struct target_ops]): Likewise.
2452 (child_post_wait, child_thread_alive, normal_pid_to_str): Likewise.
2453 * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait)
2454 (attach_thread, detach_thread, thread_db_resume, check_event)
2455 (thread_db_post_startup_inferior, thread_db_thread_alive)
2456 (thread_db_pid_to_str): Likewise.
2457 * thread.c (add_thread, delete_thread, find_thread_pid)
2458 (pid_to_thread_id, in_thread_list, load_infrun_state)
2459 (save_infrun_state, switch_to_thread, restore_current_thread)
2460 (make_cleanup_restore_current_thread): Likewise.
2461 * top.c (target_wait_hook): Likewise.
2462 * uw-thread.c (dbgpid, thr_to_lwp, lwp_to_thr, add_thread_uw)
2463 (uw_thread_resume, libtrhead_stub, uw_thread_wait, uw_thread_alive)
2464 (uw_thread_pid_to_str): Likewise.
2465 * v850ice.c (v850ice_wait, v850ice_resume): Likewise.
2466 * win32-nat.c (child_wait, child_resume, win32_child_thread_alive)
2467 (cywin_pid_to_str): Likewise.
2468 * wince.c (child_wait, child_resume, win32_child_thread_alive):
2469 Likewise.
2470 * config/nm-linux.h (linuxthreads_pid_to_str): Likewise.
2471 * config/nm-lynx.h (child_wait, lynx_pid_to_str): Likewise.
2472 * config/alpha/nm-linux.h (lin_lwp_attach_lwp): Likewise.
2473 * config/arm/nm-linux.h (lin_lwp_attach_lwp): Likewise.
2474 * config/h8500/tm-h8500.h (h8500_read_pc, h8500_write_pc): Likewise.
2475 * config/i386/nm-i386sol2.h (procfs_stopped_by_watchpoint)
2476 (procfs_set_watchpoint): Likewise.
2477 * config/i386/nm-linux.h (lin_lwp_attach_lwp): Likewise.
2478 * config/i386/nm-ptx4.h (child_wait): Likewise.
2479 * config/i386/nm-symmetry.h (child_wait): Likewise.
2480 * config/i386/tm-cygwin.h (cygwin_pid_to_str): Likewise.
2481 * config/ia64/nm-linux.h (ia64_linux_stopped_by_watchpoint)
2482 (ia64_linux_insert_watchpoint, ia64_linux_remove_watchpoint)
2483 (lin_lwp_attach_lwp): Likewise.
2484 * config/mips/nm-irix4.h, config/mips/nm-irix5.h
2485 (procfs_stopped_by_watchpoint, procfs_set_watchpoint): Likewise.
2486 * config/pa/nm-hppah.h (child_pid_to_str, hppa_tid_to_str)
2487 (hppa_pid_or_tid_to_str): Likewise.
2488 * config/pa/tm-hppa.h (target_read_pc, target_write_pc): Likewise.
2489 * config/powerpc/nm-linux.h (lin_lwp_attach_lwp): Likewise.
2490 * config/sparc/nm-sun4sol2.h (procfs_stopped_by_watchpoint)
2491 (procfs_set_watchpoint): Likewise.
2492
2493 * gdbthread.h (thread_id_to_pid): Change return type which
2494 represents a combined process/thread id from ``int'' to
2495 ``ptid_t''.
2496 * gnu-nat.c (gnu_wait): Likewise.
2497 * go32-nat.c (go32_wait): Likewise.
2498 * hpux-thread.c (hpux_thread_wait): Likewise.
2499 * inferior.h (procfs_first_available): Likewise.
2500 * inftarg.c (child_wait): Likewise.
2501 * infttrace.c (ptrace_wait): Likewise.
2502 * lin-lwp.c (lin_lwp_wait): Likewise.
2503 * lin-thread.c (thread_db_wait): Likewise.
2504 * linux-thread.c (linuxthreads_wait): Likewise.
2505 * lynx-nat.c (child_wait): Likewise.
2506 * m3-nat.c (mach_really_wait): Likewise.
2507 * mac-nat.c (child_wait): Likewise.
2508 * monitor.c (monitor_wait): Likewise.
2509 * ppc-bdm.c (bdm_ppc_wait): Likewise.
2510 * procfs.c (do_attach, procfs_wait, procfs_first_available): Likewise.
2511 * remote-adapt.c (adapt_wait): Likewise.
2512 * remote-array.c (array_wait): Likewise.
2513 * remote-bug.c (bug_wait): Likewise.
2514 * remote-e7000.c (e7000_wait): Likewise.
2515 * remote-eb.c (eb_wait): Likewise.
2516 * remote-es.c (es1800_wait): Likewise.
2517 * remote-mips.c (mips_wait): Likewise.
2518 * remote-mm.c (mm_wait): Likewise.
2519 * remote-nindy.c (nindy_wait): Likewise.
2520 * remote-os9k (rombug_wait): Likewise.
2521 * remote-rdi.c (arm_rdi_wait): Likewise.
2522 * remote-rdp.c (remote_rdp_wait): Likewise.
2523 * remote-sds.c (sds_wait): Likewise.
2524 * remote-sim.c (gdbsim_wait): Likewise.
2525 * remote-st.c (st2000_wait): Likewise.
2526 * remote-udi.c (udi_wait): Likewise.
2527 * remote-vx.c (vx_wait): Likewise.
2528 * remote.c (remote_wait, remote_async_wait, remote_current_thread)
2529 (remote_cisco_wait): Likewise.
2530 * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_wait):
2531 Likewise.
2532 * symm-nat.c (child_wait): Likewise.
2533 * target.c (debug_to_wait): Likewise.
2534 * target.h (to_wait [in struct target_ops]): Likewise.
2535 * thread.c (thread_id_to_pid): Likewise.
2536 * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait):
2537 Likewise.
2538 * top.c (*target_wait_hook): Likewise.
2539 * uw-thread.c (lwp_to_thr, uw_thread_wait): Likewise.
2540 * v850ice.c (v850ice_wait): Likewise.
2541 * win32-nat.c (child_wait): Likewise.
2542 * wince.c (child_wait): Likewise.
2543 * config/nm-lynx.h (child_wait): Likewise.
2544 * config/i386/nm-ptx4.h (child_wait): Likewise.
2545 * config/i386/nm-symmetry.h (child_wait): Likewise.
2546
2547 * arch-utils.c (generic_prepare_to_proceed): Rename wait_pid
2548 to wait_ptid and change its type from ``int'' to ``ptid_t''.
2549 * breakpoint.c (reattach_breakpoints, detach_breakpoints): Likewise,
2550 but rename saved_inferior_pid to saved_inferior_ptid.
2551 * d10v-tdep.c (d10v_read_pc, d10_write_pc): Likewise, but rename
2552 save_pid to save_ptid.
2553 * gdbthread.h (struct thread_info): Likewise, but rename pid to ptid.
2554 * hppah-nat.c (child_pid_to_exec): Likewise, but rename
2555 saved_inferior_pid to saved_inferior_ptid.
2556 * hpux-thread.c (main_ptid): Likewise, but rename from main_pid.
2557 * infrun.c (previous_inferior_pid [static global]): Likewise,
2558 but rename to previous_inferior_ptid.
2559 (resume): Likewise, but rename resume_pid to resume_ptid.
2560 (struct execution_control_state): Likewise, but rename
2561 pid to ptid, saved_inferior_pid to saved_inferior_ptid,
2562 and waiton_pid to waiton_ptid.
2563 (target_last_wait_pid): Likewise, but rename to
2564 target_last_wait_ptid.
2565 * infttrace.c (saved_real_pid): Likewise, but rename to
2566 saved_real_ptid.
2567 (child_pid_to_exec_file): Likewise, but rename saved_inferior_pid
2568 to saved_inferior_ptid.
2569 * lin-lwp.c (struct lwp_info): Likewise, but rename pid to ptid.
2570 (trap_ptid): Likewise, but renamed from trap_pid.
2571 * lin-thread.c (handle_new_thread): Likewise, but rename gdb_pid
2572 to gdb_ptid.
2573 * linux-thread.c (detach_thread): Likewise, but rename pid to ptid.
2574 (thread_db_wait): Likewise, but rename ret_pid to retptid.
2575 * procfs.c (procfs_wait): Likewise, for retval whose name
2576 doesn't change. Also, ``temp'' becomes two separate variables,
2577 one named temp_tid (an int) and the other temp_ptid.
2578 (procfs_notice_thread): Likewise (type change) for gdb_threadid
2579 whose name does not change.
2580 * regcache.c (registers_ptid): Likewise, but renamed from
2581 registers_pid.
2582 (read_register_pid, read_signed_register_pid, write_register_pid):
2583 Likewise, but rename save_pid to save_ptid.
2584 (read_pc_pid, write_pc_pid): Likewise, but rename saved_inferior_pid
2585 to saved_inferior_ptid.
2586 * remote.c (remote_newthread_step): Likewise, but rename pid to ptid.
2587 * sol-thread.c (struct ps_prochandle): Likewise.
2588 (sol_thread_resume): Likewise, for save_pid which becomes save_ptid.
2589 (sol_thread_wait): Likewise, for rtnval whose name does not
2590 change, and for save_pid which becomes save_ptid.
2591 (solaris_pid_to_str): Likewise for lwp whose name does not change.
2592 (sol_find_new_threads_callback): Likewise, for pid which becomes
2593 ptid.
2594 * target.h (target_resume, target_wait, target_post_wait)
2595 (target_post_startup_inferior, target_notice_signals)
2596 (target_thread_alive): Likewise.
2597 * thread.c (info_threads_command): Likewise, but rename
2598 current_pid to current_ptid.
2599 (struct current_thread_cleanup): Likewise, but rename field
2600 inferior_pid to inferior_ptid.
2601 * thread-db.c (find_new_threads_callback): Likewise, but rename
2602 pid to ptid.
2603 * uw-thread.c (thr_to_lwp): Likewise for lid whose name does not
2604 change.
2605 (lwp_to_tr): Likewise fo tid whose name remains unchanged.
2606 (thr_infpid, lwp_infpid, notice_thread, libthread_stub): Likewise,
2607 but rename pid to ptid.
2608 * config/alpha/nm-linux.h (ATTACH_LWP): Likewise.
2609 * config/arm/nm-linux.h (ATTACH_LWP): Likewise.
2610 * config/i386/nm-linux.h (ATTACH_LWP): Likewise.
2611 * config/ia64/nm-linux.h (ATTACH_LWP): Likewise.
2612 * config/pa/nm-hppah.h (target_tid_to_str): Likewise.
2613 * config/powerpc/nm-linux.h (ATTACH_LWP): Likewise.
2614
2615 * arch-utils.c (generic_prepare_to_proceed): Test for the
2616 "zero" ptid by using ptid_equal() to test to see if variable
2617 in question is the same as null_ptid. This replaces a direct
2618 test against zero.
2619 * cxux-nat.c (add_shared_symbol_files): Likewise.
2620 * i386aix-nat.c, i386b-nat.c (i386_float_info): Likewise.
2621 * infcmd.c (run_command): Likewise.
2622 * inflow.c (kill_command): Likewise.
2623 * infttrace.c (call_ttrace): Likewise.
2624 * lin-lwp.c (lin_lwp_prepare_to_proceed): Likewise.
2625 * lin-thread.c (thread_db_kill): Likewise.
2626 * procfs.c (procfs_kill_inferior, procfs_mourn_inferior): Likewise.
2627 * remote-es.c (es1800_kill): Likewise.
2628 * sol-thread.c (sol_thread_create_inferior): Likewise.
2629 * solib.c (locate_base): Likewise.
2630 * target.c (nosupport_runtime): Likewise.
2631 * thread-db.c (thread_db_wait): Likewise.
2632 * top.c (quit_confirm, quit_force): Likewise.
2633 * uw-thread (lwp_infpid, uw_thread_resume): Likewise.
2634
2635 * infrun.c (handle_inferior_event, stop_stepping, normal_stop):
2636 Use ptid_equal to compare value of process/thread ids instead of
2637 ``=='' and ``!='' operators.
2638 lin-lwp.c (delete_lwp, lin_lwp_prepare_to_proceed)
2639 (stop_wait_callback, lin_lwp_wait): Likewise.
2640 * procfs.c (procfs_wait): Likewise.
2641 * regcache.c (read_register_bytes, read_register_gen)
2642 (write_register_gen, read_register, read_register_pid)
2643 (read_signed_register, read_signed_register_pid, write_register)
2644 (write_register_pid, supply_register): Likewise.
2645 * remote-vx.c (vx_resume): Likewise.
2646 * sol-thread.c (sol_thread_wait): Likewise.
2647 * symm-nat.c (kill_inferior): Likewise.
2648 * thread.c (delete_thread, find_thread_pid, pid_to_thread_id)
2649 (in_thread_list, info_threads_command, switch_to_thread)
2650 (restore_current_thread): Likewise.
2651 * uw-thread (libtread_stub): Likewise.
2652
2653 * arm-linux-nat.c (GET_THREAD_ID): Change PID to PTID.
2654
2655 * corelow.c (add_to_thread_list): Convert argument in add_thread()
2656 call to a ptid_t.
2657 * gnu-nat.c (inf_validate_procs): Likewise.
2658 * linux-thread.c (stop_thread, update_stop_threads): Likewise.
2659 * remote.c (record_currthread, remote_threads_info): Likewise.
2660 * win32-nat.c (child_add_thread): Likewise.
2661
2662 * hpux-thread.c (save_inferior_pid, restore_inferior_pid): Rename,
2663 respectively, to save_inferior_ptid() and restore_inferior_ptid().
2664 Adjust implementations to operate on ``ptid_t'' instead of ``int''.
2665 * lin-lwp.c (save_inferior_pid, restore_inferior_pid): Likewise.
2666 * lin-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
2667 * linux-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
2668 * proc-service.c (save_inferior_pid, restore_inferior_pid): Likewise.
2669 * sol-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
2670 * thread-db.c (save_inferior_pid, restore_inferior_pid): Likewise.
2671
2672 * infrun.c (RESUME_ALL): New macro representing the -1 ptid
2673 to be passed to target_resume() when all threads should resume.
2674 (resume): Set resume_ptid to RESUME_ALL rather than -1.
2675 (handle_inferior_event): Invoke target_resume() with RESUME_ALL
2676 instead of -1.
2677 * irix5-nat.c (solib_create_inferior_hook): Convert -1 to
2678 a ptid_t in target_resume() call.
2679 * osfsolib.c (solib_create_inferior_hook): Likewise.
2680 * solib-svr4.c (solib_create_inferior_hook): Likewise.
2681
2682 * lin-lwp.c (PIDGET, PIDGET0): Rename original PIDGET macro to
2683 PIDGET0. Define new PIDGET macro which uses PIDGET0, the only
2684 difference being that the 0xffff pattern will be interpreted
2685 as -1.
2686 * lin-thread.c (PIDGET, PIDGET0): Likewise.
2687 * thread-db.c (PIDGET, PIDGET0): Likewise.
2688 * config/nm-linux.h (PIDGET, PIDGET0): Likewise.
2689 * config/i386/tm-i386sol2.h (PIDGET, PIDGET0): Likewise.
2690 * config/i386/tm-i386v42mp.h (PIDGET, PIDGET0): Likewise.
2691 * config/sparc/tm-sun4sol2.h (PIDGET, PIDGET0): Likewise.
2692
2693 * m3-nat.c (init_m3_ops): Fix typo; initialize to_wait field to
2694 mach_really_wait rather than mach_really__wait.
2695 * lin-thread.c (check_for_thread_event): Fix warning; make function
2696 actually return a value.
2697
2698 * gdbarch.sh (TARGET_READ_PC, TARGET_WRITE_PC): Change type of
2699 ``pid'' arguments from ``int'' to ``ptid_t''. Also renamed
2700 pid to ptid.
2701 * gdbarch.h, gdbarch.c: Regenerated.
2702
31e28849
JL
27032001-05-03 Jonathan Larmour <jlarmour@redhat.com>
2704
2705 * rdi-share/devsw.c: Include <time.h> for struct tm
2706
8d341142
EZ
27072001-05-03 Eli Zaretskii <eliz@is.elta.co.il>
2708
2709 * config/djgpp/fnchange.lst: Add mappings for the new
2710 opcodes/openrisc-* files.
2711
9572d2b6
MS
27122001-05-01 Michael Snyder <msnyder@redhat.com>
2713
9085700c 2714 * lin-lwp.c: Change printf to fprintf_unfiltered.
9572d2b6
MS
2715 * Makefile.in: Add rules for thread-db.o, lin-lwp.o, proc-service.o.
2716
977adac5
ND
27172001-05-01 Nicholas Duffek <nsd@redhat.com>
2718
2719 * config/rs6000/tm-rs6000.h (IN_SOLIB_RETURN_TRAMPOLINE): Define.
2720 (rs6000_in_solib_return_trampoline): Declare.
2721 * rs6000-tdep.c (rs6000_in_solib_return_trampoline): New
2722 function.
2723 (rs6000_skip_trampoline_code): Skip bigtoc fixup code.
2724 * xcoffread.c (read_xcoff_symtab): Perform the ISFCN function
2725 check after the CSECT check rather than before it. Allocate
2726 separate symtabs for CSECTs whose names begin with '@'.
2727 (scan_xcoff_symtab): Don't ignore symbols beginning with '@'.
2728 Activate the misc_func_recorded mechanism for whose names begin
2729 with '@'.
2730
6d799331
C
27312001-04-30 J.T. Conklin <jtc@redback.com>
2732
2733 * ppcnbsd-nat.c (fetch_inferior_registers)
2734 (store_inferior_registers, fetch_core_registers): Changed to use
2735 fpreg[] instead of r_regs[] to access floating point registers.
2736
7f4dbe94
EZ
27372001-04-30 Elena Zannoni <ezannoni@redhat.com>
2738
2739 * sh-tdep.c: Get rid of the function prototypes.
2740 (sh_sh4_build_float_register_type): Move earlier in file.
2741 (fv_reg_base_num): Ditto.
2742 (dr_reg_base_num): Ditto.
2743
540af400
MS
27442001-04-30 Michael Snyder <msnyder@redhat.com>
2745
2746 * thread-db.c: Revert 2001-04-26 change for debugging output.
7ca673cd
MS
2747 * lin-lwp.c: Ditto.
2748 * lin-lwp.c: Add set/show debug lin-lwp command. Use this
2749 command to turn extra debugging output on / off.
540af400 2750
f5a6fc05
EZ
27512001-04-30 Eli Zaretskii <eliz@is.elta.co.il>
2752
2753 * buildsym.c (start_subfile): Use FILENAME_CMP instead of STREQ.
2754 (top-level): #include filenames.h.
2755
2756 * dwarf2read.c (dwarf2_start_subfile): Use IS_ABSOLUTE_PATH and
2757 FILENAME_CMP, to DTRT on non-Posix platforms.
2758 (top-level): #include filenames.h.
2759
2760
502dcf4e
AC
27612001-04-27 Andrew Cagney <ac131313@redhat.com>
2762
2763 * gdbtypes.c (check_stub_method): Always initialize ``p''.
2764
cc3f9cbb
AC
27652001-04-27 Andrew Cagney <ac131313@redhat.com>
2766
2767 * configure.host: Delete romp host.
2768 * TODO: Update.
2769
ed9c5cf2
AC
27702001-04-27 Andrew Cagney <ac131313@redhat.com>
2771
2772 * TODO: Updates to 5.1. No more targets to obsolete.
2773
d1a310e7
DH
27742001-04-27 Don Howard <dhoward@redhat.com>
2775
128437e6
DH
2776 (Changes from Kevin Buettner, with minor update by Don Howard.)
2777
2778 * i387-nat.c (i387_supply_fxsave, i387_fill_fxsave, i387_tag): Fix
2779 typos in which hexadecimal constants were really intended to be
2780 binary constants.
2781 (i387_tag): Swap logic regarding zero vs non-zero exponents.
d1a310e7
DH
2782 * MAINTAINERS (Misc): Added myself to the write-after-approval
2783 list.
2784
015a42b4
JB
27852001-04-26 Jim Blandy <jimb@redhat.com>
2786
2787 (Changes from Daniel Berlin, with revisions by Jim Blandy.)
2788
2789 Abstract out operations specific to particular C++ ABI's, and
2790 invoke them through a function table. This removes the C++ ABI
2791 dependencies scattered throughout the code, and allows us to
2792 cleanly add support for new C++ ABI's.
2793 * cp-abi.h, cp-abi.h, gnu-v2-abi.c, hpacc-abi.c: New files.
2794 * c-typeprint.c, c-valprint.c, dbxread.c, eval.c, gdbtypes.c,
2795 jv-typeprint.c, linespec.c, symtab.c, typeprint.c, valops.c:
2796 #include "cp-abi.h". These files all use functions now declared
2797 there.
2798 * symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P):
2799 Deleted. These services are now provided by functions declared in
2800 cp-abi.h.
2801 * value.h (value_rtti_type, value_virtual_fn_field): Same.
2802 * values.c (value_virtual_fn_field): Same, for this definition.
2803 * valops.c (value_rtti_type): Same.
2804 * c-typeprint.c (c_type_print_base): Use the functions from
2805 "cp-abi.h", instead of the old macros, or hard-coded ABI-specific
2806 tests.
2807 * dbxread.c (record_minimal_symbol): Same.
2808 * gdbtypes.c (get_destructor_fn_field, virtual_base_index,
2809 virtual_base_index_skip_primaries): Same.
2810 * jv-typeprint.c (java_type_print_base): Same.
2811 * linespec.c (find_methods, decode_line_1): Same.
2812 * symtab.c (gdb_mangle_name): Same.
2813 * Makefile.in (SFILES): Add the new .c files mentioned above.
2814 (cp_abi_h): New variable.
2815 (COMMON_OBS): Add gnu-v2-abi.o, hpacc-abi.o, and cp-abi.o.
2816 (cp-abi.o, gnu-v2-abi.o, hpacc-abi.o): New targets.
2817 (c-typeprint.o, c-valprint.o, dbxread.o, eval.o, gdbtypes.o,
2818 jv-typeprint.o, symtab.o, linespec.o, typeprint.o, valops.o): Add
2819 dependency on $(cp_abi_h).
2820
f3fb8c85
MS
28212001-04-26 Michael Snyder <msnyder@redhat.com>
2822
20b8570d
MS
2823 * thread-db.c (_initialize_thread_db): Add set/show command
2824 "debug-linux-threads" for debugging output.
2825 * lin-lwp.c (various): Use global "debug_linux_threads to
2826 turn on extra debugging output.
4c8de859 2827 * lin-lwp.c: Minor cleanups in comments.
f3fb8c85
MS
2828 * target.c (normal_pid_to_str): Get rid of an ancient hack.
2829 * remote.c (remote_pid_to_str): New function for remote target.
2830
7f0b5c30
JB
28312001-04-24 Jim Blandy <jimb@redhat.com>
2832
2833 * c-typeprint.c (c_type_print_cv_qualifier): Don't print `const'
2834 qualifier on C++ references; all references are innately const.
2835
0af5533d
MK
28362001-04-20 Mark Kettenis <kettenis@gnu.org>
2837
2838 * event-top.h: Fix formatting.
2839
d036b4d9
AC
28402001-04-17 Andrew Cagney <ac131313@redhat.com>
2841
2842 * source.c (openp): Obsolete #ifdef MPW code.
2843 (open_source_file): Ditto.
2844 * event-top.c (display_gdb_prompt): Ditto.
2845 * utils.c (query): Ditto.
2846 (init_page_info): Ditto.
2847 (init_page_info): Delete #ifndef MPW.
2848 * top.c (gdb_readline): Ditto.
2849 * mac-xdep.c: Obsolete.
2850 * mac-gdb.r: Obsolete.
2851 * config/powerpc/xm-mpw.h: Obsolete.
2852 * config/xm-mpw.h: Obsolete.
2853 * mpw-make.sed: Obsolete.
2854 * mpw-config.in: Obsolete.
2855 * TODO: Update
2856 * NEWS: Update
2857
539ffe0b
MK
28582001-04-19 Mark Kettenis <kettenis@gnu.org>
2859
2860 * i386-tdep.c (i386_frameless_function_invocation): New function.
2861 * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION): Redefine
2862 in terms of i386_frameless_function_invocation. Adjust comment.
2863 (i386_frameless_function_invocation): New prototype.
2864
67e1e03a
MH
28652001-04-18 Martin M. Hunt <hunt@redhat.com>
2866
2867 * top.c (gdb_init): Don't call cli_out_new() to
2868 create global uiout if init_ui_hook is set. uiout will
2869 have to be initialized there.
2870
fbec36e2
AC
28712001-04-18 Andrew Cagney <ac131313@redhat.com>
2872
2873 * arch-utils.c: Include "regcache.h".
2874
ed84f6c1
MK
28752001-04-18 Mark Kettenis <kettenis@gnu.org>
2876
2877 * i386-tdep.c (i386_saved_pc_after_call): New function.
2878 * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Redefine in terms
2879 of i386_saved_pc_after_call.
2880 (i386_saved_pc_after_call): New prototype.
2881
c60a7562
MS
28822001-04-17 Michael Snyder <msnyder@redhat.com>
2883
c9e030cf 2884 * i386-nat.c: Fix typo in comment.
c60a7562
MS
2885 * solib.c (no_shared_libraries): New function. Discard all symbols
2886 from shared libraries.
2887 (_initialize_solib): Add command "nosharedlibrary" as complement
2888 to the command "sharedlibrary". Unloads symbols for all solibs.
2889
514e603d
AC
28902001-04-16 Andrew Cagney <ac131313@redhat.com>
2891
2892 * configure.host (m68030-sony-*, m68*-isi-*, m68*-sony-*):
2893 * configure.tgt (m68*-rom68k-*, m68*-*bug-*, m68*-monitor-*)
2894 (m68*-est-*, m68*-sony-*, m68*-isi-*):
2895 * Makefile.in (xm-news1000.h, tm-news.h, xm-news.h): Obsolete..
2896 * config/m68k/xm-news.h: Obsolete.
2897 * config/m68k/tm-news.h:
2898 * config/m68k/xm-news1000.h: Obsolete.
2899 * config/m68k/news.mh: Obsolete.
2900 * config/m68k/news.mt: Obsolete.
2901 * config/m68k/nm-news.h: Obsolete.
2902 * config/m68k/news1000.mh: Obsolete.
2903 * news-xdep.c: Obsolete.
2904 * Makefile.in (isi-xdep.o): Obsolete.
2905 (ALLDEPFILES): Delete isi-xdep.c.
2906 (tm-isi.h): Obsolete.
2907 * m68k-tdep.c (altos_skip_prologue): Update comments.
2908 (isi_skip_prologue): Obsolete.
2909 * isi-xdep.c: Obsolete.
2910 * config/m68k/xm-isi.h: Obsolete.
2911 * config/m68k/isi.mh: Obsolete.
2912 * config/m68k/tm-isi.h: Obsolete.
2913 * config/m68k/isi.mt: Obsolete.
2914
2915 * TODO: Update.
2916 * NEWS: Update.
2917
6240bebf
MS
29182001-04-17 Michael Snyder <msnyder@redhat.com>
2919
2920 * remote.c (remote_open_1): On opening the remote target, activate
2921 the solib_create_inferior_hook, so that it can detect when the
2922 target loads shared libraries.
2923 (remote_async_open_1): Ditto.
2924
75ac9d7b
MS
29252001-04-17 Michael Snyder <msnyder@redhat.com>
2926
2927 * breakpoint.c (print_one_breakpoint): Handle 64-bit addresses.
2928 * tracepoint.c (tracepoints_info): Handle 64-bit addresses.
2929 * testsuite/gdb.trace/deltrace.exp: Allow for 64-bit addresses.
2930 * testsuite/gdb.trace/infotrace.exp: Ditto.
2931 * testsuite/gdb.trace/passcount.exp: Ditto.
2932 * testsuite/gdb.trace/while-stepping.exp: Ditto.
2933
b9569773
MS
29342001-04-17 Michael Snyder <msnyder@redhat.com>
2935
2936 * thread-db.c (check_thread_signals): When looping over all
2937 signals, ignore signal zero.
2938 (disable_thread_signals): Ditto.
2939
81490ea1
MS
29402001-04-17 Eirik Fuller <eirik@netapp.com>
2941
2942 * thread.c (do_captured_thread_select): Allow the argument to the
2943 thread command to be an expression rather than a literal integer.
2944
e5434c3d
MK
29452001-04-17 Mark Kettenis <kettenis@gnu.org>
2946
2947 * i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
2948 read_memory_unsigned_integer instead of read_memory_integer.
2949
00c7912d
KB
29502001-04-16 Kevin Buettner <kevinb@redhat.com>
2951
2952 * solib-aix5.c (map_index_vs_section_name_okay): New function.
2953 (aix5_relocate_main_executable): Don't use file offsets for
2954 determining corresponding sections and map file entries. Call
2955 map_index_vs_section_name_okay() to do this instead.
2956
4d1bcd09
KB
29572001-04-16 Kevin Buettner <kevinb@redhat.com>
2958
2959 * procfs.c (open_with_retry): New function.
2960 (open_procinfo_files, load_syscalls, proc_iterate_over_mappings)
2961 (proc_get_LDT_entry): Call open_with_retry() instead of open().
2962
097e5c0b 29632001-04-16 Kevin Buettner <kevinb@redhat.com>
1186f287
KB
2964
2965 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Adjust
2966 comparison against TRAP_HWBKPT constant yet again to account
2967 for the various values used by different kernel versions.
2968
9e0c176c
DB
29692001-04-16 Daniel Berlin <dan@cgsoftware.com>
2970
2971 * demangle.c (_initialize_demangler): Use xcalloc on the
2972 demangling_style_names, and make it a null terminated array of
2973 names, to avoid a crash.
2974
c833a37e
MK
29752001-04-16 Mark Kettenis <kettenis@gnu.org>
2976
2977 * i386-tdep.c (i386_frame_chain): New function.
2978 * config/i386/tm-i386.h (FRAME_CHAIN): Redefine in terms of
2979 i386_frame_chain.
2980 (i386_frame_chain): New prototype.
2981
46c6cdcf
C
29822001-04-14 J.T. Conklin <jtc@redback.com>
2983
2984 * target.h (target_ops): Removed to_core_file_to_sym_file vector
2985 function.
2986 * corelow.c (core_ops): Updated for above change.
2987 * gnu-nat.c (core_ops): Likewise.
2988 * inftarg.c (child_ops): Likewise.
2989 * monitor.c (monitor_ops): Likewise.
2990 * ppc-bdm.c (bdm_ppc_ops): Likewise.
2991 * remote-adapt.c (adapt_ops): Likewise.
2992 * remote-bug.c (bug_ops): Likewise.
2993 * remote-e7000.c (e7000_ops): Likewise.
2994 * remote-eb.c (eb_ops): Likewise.
2995 * remote-es.c (es1800_ops, es1800_child_ops): Likewise.
2996 * remote-mm.c (mm_ops): Likewise.
2997 * remote-nindy.c (nindy_ops): Likewise.
2998 * remote-nrom.c (nrom_ops): Likewise.
2999 * remote-os9k.c (rombug_ops): Likewise.
3000 * remote-rdp.c (remote_rdp_ops): Likewise.
3001 * remote-sim.c (gdbsim_ops): Likewise.
3002 * remote-st.c (st2000_ops): Likewise.
3003 * v850ice.c (v850ice_ops): Likewise.
3004 * target.c (cleanup_target): Likewise
3005 (update_current_target): Likewise.
3006 (setup_target_debug): Likewise
3007 (debug_to_core_file_to_sym_file): Removed.
3008
3009 * corefile.c (core_file_command) [HPUXHPPA]: Removed code that
3010 sets symbol file from information obtained from the core file.
3011 * corelow.c (core_file_to_sym_file): Removed.
3012
d1566ff5
FN
30132001-04-13 Fernando Nasser <fnasser@redhat.com>
3014
3015 From Adam Mirowski <Adam.Mirowski@Sun.COM>
3016 Fixed Insight on Solaris. It was not possible to debug a process
3017 because of EINTR "errors".
3018 * procfs.c: (procfs_wait): if proc_wait_for_stop() fails
3019 with EINTR, retry the call.
3020
6c98e688
KB
30212001-04-12 Kevin Buettner <kevinb@redhat.com>
3022
3023 * solib-aix5.c (enum maptype): Delete.
3024 (struct lm_info): Add new member ``nmappings''. Make ``mapping''
3025 member a pointer instead of a statically sized array.
3026 (build_so_list_from_mapfile): Dynamically allocate ``mapping''
3027 array.
3028 (aix5_relocate_main_executable, aix5_relocate_section_addresses,
3029 aix5_find_global_pointer): Search for correct mapping to use
3030 based on file offset instead of knowledge of whether the section
3031 is read-only or read/write.
3032 (aix5_find_gate_addresses): Use the first mapping instead of
3033 the (now defunct) MT_READONLY mapping.
3034
49282387
ND
30352001-04-12 Nicholas Duffek <nsd@redhat.com>
3036
3037 * xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
3038 "@".
3039
7f6b83a5
KB
30402001-04-12 Kevin Buettner <kevinb@redhat.com>
3041
3042 * config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.
3043
24f89b68
AC
30442001-04-09 Andrew Cagney <ac131313@redhat.com>
3045
3046 Obsolete i[3456]86-*-sunos* (aka Sun386) host and target.
3047 * config/i386/sun386.mh: Obsolete.
3048 * config/i386/sun386.mt: Obsolete.
3049 * config/i386/xm-sun386.h: Obsolete.
3050 * config/i386/tm-sun386.h: Obsolete.
3051 * config/i386/nm-sun386.h: Obsolete.
3052 * Makefile.in (ALLDEPFILES): Delete sun386-nat.c.
3053 (sun386-nat.o): Target is obsolete.
3054 * sun386-nat.c: Obsolete.
3055 * configure.tgt (i[3456]86-*-sunos*): Obsolete.
3056 * configure.host (i[3456]86-*-sunos*): Obsolete.
3057 * NEWS: Update.
3058 * TODO: Update.
3059
c114dcd5
C
30602001-04-10 J.T. Conklin <jtc@redback.com>
3061
3062 * maint.c: Fix typo in comment.
3063
6755f5ad
KS
30642001-04-09 Keith Seitz <keiths@cygnus.com>
3065
3066 * MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.
3067
7700434b
KB
30682001-04-08 Kevin Buettner <kevinb@redhat.com>
3069
3070 * fork-child.c (fork_inferior, clone_and_follow_inferior):
3071 Document fact that apparent call to vfork() might actually be
3072 a call to fork() instead.
3073 * ser-pipe.c (pipe_open): Likewise.
3074
d493eb33
KB
30752001-04-08 Kevin Buettner <kevinb@redhat.com>
3076
3077 * printcmd.c (print_frame_args): Use a cleanup to invoke
3078 ui_out_list_end() so that the list count nesting flag will
3079 be decremented properly when an error occurs.
3080 * stack.c (print_frame): Likewise.
3081
af471f3c
C
30822001-04-06 J.T. Conklin <jtc@redback.com>
3083
c839c4db
C
3084 * dcache.c (dcache_write_line): Fixed bugs where cache line was
3085 not written to target correctly.
3086
af471f3c
C
3087 * gdbserver/low-hppabsd.c (read_inferior_memory): Add explicit
3088 void return value;
3089 * gdbserver/low-nbsd.c: Likewise.
3090 * gdbserver/low-sparc.c: Likewise.
3091 * gdbserver/low-sun3.c: Likewise.
3092
d8e275b4
GK
30932001-04-06 Geoffrey Keating <geoffk@redhat.com>
3094
3095 * config/rs6000/nm-rs6000.h (PTRACE_ATTACH): Don't define.
3096 (PTRACE_DETACH): Don't define.
3097
e02bc4cc
DS
30982001-04-06 David Smith <dsmith@redhat.com>
3099
3100 * arch-utils.c (default_prepare_to_proceed)
3101 (generic_prepare_to_proceed): Added new functions.
3102 * arch-utils.h: New function declarations for
3103 default_prepare_to_proceed() and generic_prepare_to_proceed().
3104 * gdbarch.sh: Added PREPARE_TO_PROCEED.
3105 * gdbarch.c: Regenerated.
3106 * gdbarch.h: Regenerated.
3107 * inferior.h: Added get_last_target_status() declaration.
3108 * infrun.c (get_last_target_status): Added new function.
3109 (handle_inferior_event): Saves last pid and waitstatus, which will
3110 get returned by get_last_target_status().
3111
3112 * hppa-tdep.c (prepare_to_proceed): Added comment stating that
3113 prepare_to_proceed() is potentially redundant since
3114 default_prepare_to_proceed() has been added.
3115 * linux-thread.c (prepare_to_proceed): Ditto.
3116 * lin-lwp.c (prepare_to_proceed): Ditto.
3117 * m3-nat.c (prepare_to_proceed): Ditto.
3118
1b2b2c16
AC
31192001-04-05 Andrew Cagney <ac131313@redhat.com>
3120
3121 Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
3122 and powerpc-*-netware* target.
3123 * configure.host (powerpcle-*-cygwin*, powerpcle-*-solaris*):
3124 Obsolete.
3125 * configure.tgt (powerpc-*-netware*, powerpcle-*-cygwin*)
3126 (powerpcle-*-solaris*): Obsolete.
3127 * config/powerpc/tm-cygwin.h: Obsolete.
3128 * config/powerpc/cygwin.mt: Obsolete.
3129 * config/powerpc/xm-cygwin.h: Obsolete.
3130 * config/powerpc/cygwin.mh: Obsolete.
3131 * config/powerpc/nm-solaris.h: Obsolete.
3132 * config/powerpc/xm-solaris.h: Obsolete.
3133 * config/powerpc/tm-solaris.h: Obsolete.
3134 * config/powerpc/solaris.mt: Obsolete.
3135 * config/powerpc/tm-ppc-nw.h: Obsolete.
3136 * config/powerpc/ppc-nw.mt: Obsolete.
3137 * TODO: Update.
3138 * NEWS: Update.
3139
063fd668
FN
31402001-04-06 Fernando Nasser <fnasser@redhat.com>
3141
3142 * buildsym.c (record_line): Turn off unused addr bits.
3143
a250df2e
FN
31442001-04-06 Fernando Nasser <fnasser@redhat.com>
3145
3146 From David Deephanphongs <deephan@telocity.com>
3147 * inferior.h: Fix declarations of get_inferior_args and
3148 set_inferior_args, which were missing the trailing 's'.
3149
1fcef334
JH
31502001-04-05 Jeff Holcomb <jeffh@redhat.com>
3151
3152 * monitor.c (monitor_supply_register): Only report an error if we
3153 don't get a valid value.
3154
f032fb6e
EZ
31552001-04-05 Eli Zaretskii <eliz@is.elta.co.il>
3156
3157 * README: Don't mention gdba.el.
3158
0191bed7
EZ
31592001-04-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3160
3161 From Jimmy Guo <guo@cup.hp.com>
3162 * top.c (init_main): set prompt if annotation_level>1,
3163 this is necessary when annotation_level is set to 2 via
3164 --annotate=2 command line option.
3165
4a1968f4
AC
31662001-04-04 Andrew Cagney <ac131313@redhat.com>
3167
3168 Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.
3169 * configure.tgt (a29k-*-sym1*, a29k-*-kern*): Obsolete.
3170 * configure.host (a29k-*-*): Obsolete.
3171 * Makefile.in (ALLDEPFILES): Remove ultra3-nat.c and
3172 ultra3-xdep.c.
3173 (ultra3-nat.o, ultra3-xdep.o): Obsolete.
3174 * config/a29k/tm-ultra3.h: Obsolete.
3175 * config/a29k/ultra3.mt: Obsolete.
3176 * config/a29k/ultra3.mh: Obsolete.
3177 * config/a29k/nm-ultra3.h: Obsolete.
3178 * config/a29k/xm-ultra3.h: Obsolete.
3179 * ultra3-xdep.c: Obsolete.
3180 * ultra3-nat.c: Obsolete.
3181 * config/a29k/a29k-kern.mt: Obsolete.
3182 * NEWS: Update.
3183 * TODO: Update.
3184
608506ed
CF
3185Wed Apr 4 21:48:42 2001 Christopher Faylor <cgf@cygnus.com>
3186
3187 * main.c: Remove windows.h use.
3188 (gdbtk_test): Use PATH_MAX for home var calculation.
3189 * remote-e7000.c (e7000_parse_device): Accomodate Cygwin as well as
3190 Win32 in colon test.
3191 * ser-tcp.c: Use modern __CYGWIN__ conditional.
3192 * source.c (mod_path): Add __CYGWIN__ conditional to WIN32 test.
3193 (openp): Ditto.
3194 * symfile.c (symfile_bfd_open): Ditto.
608506ed 3195
6457bd47
MH
31962001-04-04 Martin M. Hunt <hunt@redhat.com>
3197
3198 * main.c (captured_main): For GDBtk, don't use tui_fileopen().
3199 Handle all stream setup in gdbtk_init
3200
3df1b9b4
MK
32012001-04-04 Mark Kettenis <kettenis@gnu.org>
3202
3203 * i386-tdep.c (i386_extract_return_value): Don't return the return
3204 value of a void function.
3205 (i386_store_return_value): Likewise.
3206
76f4ea53
AC
32072001-04-03 Andrew Cagney <ac131313@redhat.com>
3208
3209 Obsolete w65-*-* target.
3210 * configure.tgt (w65-*-*): Obsolete.
3211 * config/w65/w65.mt: Obsolete.
3212 * config/w65/tm-w65.h: Obsolete.
3213 * w65-tdep.c: Obsolete.
3214 * NEWS: Update. Fix TiC80 description.
3215 * TODO: Update.
3216
52071915
AC
32172001-04-03 Andrew Cagney <ac131313@redhat.com>
3218
3219 Obsolete tic80-*-* target.
3220 * configure.tgt (tic80-*-*): Obsolete.
3221 * config/tic80/tic80.mt: Obsolete.
3222 * config/tic80/tm-tic80.h: Obsolete.
3223 * tic80-tdep.c: Obsolete.
3224 * TODO: Update
3225 * NEWS: Update.
3226
44eaed12
C
32272001-04-02 J.T. Conklin <jtc@redback.com>
3228
ba79cc81
C
3229 * remote-mips.c (S_IROTH): Moved definition from here.
3230 * gdb_stat.h (S_IROTH): to here.
3231
44eaed12
C
3232 * remote.c (remote_protocol_e, remote_protocol_E): Define.
3233 (set_remote_protocol_e_packet_cmd)
3234 (set_remote_protocol_E_packet_cmd)
3235 (show_remote_protocol_e_packet_command)
3236 (show_remote_protocol_E_packet_command): New functions.
3237 (init_all_packet_configs): Initialize remote_protocol_e and
3238 remote_protocol_E.
3239 (remote_resume, remote_async_resume): Support e/E command
3240 packets.
3241 (show_remote_cmd): Show state of remote_protocol_e and
3242 remote_protocol_E.
3243 (_initialize_remote): Add "set remote step-over-range-packet"
3244 and "set remote step-over-range-w-signal-packet" to CLI.
3245
bb19ff3b
AC
32462001-04-01 Andrew Cagney <ac131313@redhat.com>
3247
3248 Obsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* and
3249 ns32k-utek-*.
3250 * Makefile.in (ALLDEPFILES): Delete umax-xdep.c and ns32km3-nat.c.
3251 (umax-xdep.o, ns32km3-nat.o): Obsolete.
3252 * configure.tgt (ns32k-*-mach3*, ns32k-utek-sysv*, ns32k-utek-*):
3253 Obsolete.
3254 * configure.host (ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv*):
3255 Obsolete.
3256 * config/ns32k/merlin.mh: Obsolete.
3257 * config/ns32k/merlin.mt: Obsolete.
3258 * config/ns32k/xm-merlin.h: Obsolete.
3259 * config/ns32k/tm-merlin.h: Obsolete.
3260 * config/ns32k/nm-umax.h: Obsolete.
3261 * config/ns32k/umax.mh: Obsolete.
3262 * config/ns32k/umax.mt: Obsolete.
3263 * config/ns32k/xm-umax.h: Obsolete.
3264 * umax-xdep.c: Obsolete.
3265 * config/ns32k/ns32km3.mh: Obsolete.
3266 * config/ns32k/ns32km3.mt: Obsolete.
3267 * config/ns32k/tm-ns32km3.h: Obsolete.
3268 * config/ns32k/xm-ns32km3.h: Obsolete.
3269 * ns32km3-nat.c: Obsolete.
3270 * ns32k-tdep.c (merlin_skip_prologue): Obsolete.
3271 (merlin_frame_num_args): Ditto.
3272 * NEWS: Update.
3273 * TODO: Update.
3274
d6259d75
EZ
32752001-04-02 Eli Zaretskii <eliz@is.elta.co.il>
3276
3277 * config/djgpp/fnchange.lst: Tweak due to
3278 expect/example/chesslib.c.
3279
971ff545
KB
32802001-04-02 Kevin Buettner <kevinb@redhat.com>
3281
3282 * m88k-tdep.c (examine_prologue): Change type of ``insn'' from
3283 unsigned int to unsigned long. Also, fix format string.
3284 (pop_frame): Fix PC_IN_CALL_DUMMY() call so that it doesn't
3285 use an undeclared variable. Also, delete declaration and
3286 initialization of ``fp'' because it is otherwise unused.
3287 * remote-bug.c (sleep): Delete declaration.
3288 (bug_store_register, bug_write_memory, bug_read_memory)
3289 (bug_insert_breakpoint, bug_remove_breakpoint): Fix sprintf()
3290 format statements and cast certain sprintf() arguments to
3291 eliminate warnings.
3292 (bug_load): Likewise for call to printf_filtered().
3293 * config/m88k/tm-m88k.h (FIX_CALL_DUMMY): Eliminate
3294 assignment to ``pc''. The necessary assignment is done in
3295 hand_function_call() after the invocation of FIX_CALL_DUMMY().
3296
4e4f46a1
DB
32972001-03-20 Daniel Berlin <dberlin@redhat.com>
3298
3299 * symtab.c (completion_list_add_name): Remove duplicate string checks,
3300 readline already does this, and it's much faster at it, too.
3301
ba8629a9
EZ
33022001-04-01 Eli Zaretskii <eliz@is.elta.co.il>
3303
3304 * go32-nat.c: Minor tweaks, to pacify the ari script.
3305
7bf0983e
MK
33062001-04-01 Mark Kettenis <kettenis@gnu.org>
3307
f7af9647
MK
3308 * i386-tdep.c (i386_extract_struct_value_address): New function.
3309 * config/i386/tm-i386.h (EXTRACT_STRUCT_VALUE_ADDRESS): Redefine
3310 in terms of i386_extract_struct_value_address.
3311 (i386_extract_struct_value_address): New prototype.
3312
7bf0983e
MK
3313 * i386-linux-nat.c (i386_linux_dr_get): Change type of return
3314 value to `unsigned long'. Change type of `value' to `unsigned
3315 long'.
3316 (i386_linux_dr_set): Change type of second argument to `unsigned
3317 long'.
3318 (i386_linux_dr_set_control): Change type of first argument to
3319 `unsigned long'.
3320 (i386_linux_dr_get_status): Change type of return value to
3321 unsigned long.
3322 * config/i386/nm-linux.h (i386_linux_dr_set_control,
3323 i386_linux_dr_get_status): Adjust prototypes accordingly.
3324
6e4862ff
KB
33252001-03-31 Kevin Buettner <kevinb@redhat.com>
3326
3327 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Change
3328 TRAP_HWBKPT constant to match that in the kernel headers for
3329 Linux/IA-64.
521f1f96 3330
1e8d0a7b
MK
33312001-03-31 Mark Kettenis <kettenis@gnu.org>
3332
0afdd437
MK
3333 * i386bsd-nat.c: Include "gdb_assert.h".
3334 [HAVE_PT_GETDBREGS] (DBREG_DRX): Define if not
3335 already defined.
3336 [HAVE_PT_GETDBREGS] (i386bsd_dr_set, i386bsd_dr_set_control,
3337 i386bsd_dr_set_addr, i386bsd_dr_reset_addr,
3338 i386bsd_dr_get_status): New functions.
3339 * config/i386/nm-fbsd.h [HAVE_PT_GETDBREGS]
3340 (I386_USE_GENERIC_WATCHPOINTS): Define.
3341 Include "i386/nm-i386.h".
3342 (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
3343 I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
3344 (i386bsd_dr_set_control, i386bsd_dr_set_addr,
3345 i386bsd_dr_reset_addr, i386bsd_dr_get_status): New prototypes.
3346 * acconfig.h (HAVE_PT_GETDBREGS): New configure macro.
3347 * configure.in: Cleanup a few comments. Check for PT_GETDBREGS
3348 ptrace request.
3349 * config.in, configure: Regenerate.
3350
4bcc3944
MK
3351 * i386-nat.c (i386_insert_aligned_watchpoint): Set address
3352 register before enabling it by setting the control register.
3353 (i386_remove_aligned_watchpoint): Reset address register after
3354 disabling it by setting the control register.
3355
1e8d0a7b
MK
3356 * i386-tdep.c (i386_extract_return_value): If the type of the
3357 return value is TYPE_STRUCT and the number of fields is one, call
3358 ourselves with TYPE set tp the type of the first field.
3359 (i386_store_return_value): Likewise.
3360 This fixes a problem with returning structs consisting of a single
3361 `float' or `double' on *BSD.
3362
95a85621
MK
33632001-03-30 Mark Kettenis <kettenis@gnu.org>
3364
40564aca
MK
3365 * lin-lwp.c (lin_lwp_resume): Don't mark LWP as not stopped until
3366 we're absolutely sure we're going to resume it.
3367
95a85621
MK
3368 * thread-db.c (check_event): Don't report an error if we encounter
3369 a thread creation event for a thread that's already in the thread
3370 list, since that may legitemately happen. Instead only call
3371 attach_thread if it's not already in the thread list.
3372
2e94c453
AC
33732001-03-28 Andrew Cagney <ac131313@redhat.com>
3374
3375 * config/pa/xm-hppah.h (malloc): Really delete declaration
3376 (MALLOC_INCOMPATIBLE): Really delete macro.
3377 * cli/cli-cmds.c (apropos_command): Use xcalloc.
3378
93d56215
AC
33792001-03-28 Andrew Cagney <ac131313@redhat.com>
3380
3381 * configure.in (build_warnings): Add -Wuninitialized.
3382 * configure: Regenerate.
3383
3384 * v850-tdep.c (v850_scan_prologue): Initialize ``insn2''.
3385 * sparc-tdep.c (sparc64_push_arguments): Add default case to
3386 switch.
3387 * sh-tdep.c (sh_do_fp_register): Replace ``?:'' printf format
3388 expression with if statement.
3389 * mn10200-tdep.c (mn10200_analyze_prologue): Initialize
3390 ``stack_size''.
3391 * mips-tdep.c (show_mipsfpu_command): Add default case to switch.
3392 (mips_dump_tdep): Fix setting of ef_mips_arch.
3393 * mcore-tdep.c (mcore_analyze_prologue): Initialize ``fp_regnum''.
3394 * dsrec.c (make_srec): Always initialize ``binbuf''.
3395 * monitor.c (monitor_read_memory_single): Do not pass an
3396 uninitialized buffer to monitor_error. Make ``i'' more local.
3397
381bab78
AC
33982001-03-28 Andrew Cagney <ac131313@redhat.com>
3399
3400 * MAINTAINERS: Change ns32k target to ,-Werror.
3401
3402 * ns32k-tdep.c: Include "gdbcore.h"
3403 (flip_bytes): Change first argument to void*. Add forward
3404 declaration.
3405 (sign_extend): Add declaration.
3406 (merlin_frame_num_args): Add final else clause to if-else chain.
3407 (umax_frame_num_args): Ditto.
3408 * config/ns32k/tm-umax.h (ns32k_localcount): Declare.
3409 (flip_bytes): Ditto.
3410
b9511b9a
MK
34112001-03-28 Mark Kettenis <kettenis@gnu.org>
3412
b05f2432
MK
3413 * i386-linux-tdep.c (FRAMELESS_SIGNAL): Moved here from
3414 config/i386/nm-linux.h (including comment).
3415 (i386_linux_frame_chain): New function implementing guts of the
3416 former FRAME_CHAIN macro, but using read_memory_unsigned_integer
3417 instead of read_memory_integer.
3418 (i386_linux_frame_saved_pc): Removed doc pointing to
3419 i386/tm-linux.h for an explanation of FRAMELESS_SIGNAL since that
3420 now lives in this file.
3421 * config/i386/tm-linux.h (FRAMELESS_SIGNAL): Moved to
3422 i386-linux-tdep.c (including comment).
3423 (FRAME_CHAIN): Redefined in terms of i386_linux_frame_chain.
3424 (i386_linux_frame_chain): New prototype.
3425
0eebe06a
MK
3426 * gdbserver/low-linux.c [I386_GNULINUX_TARGET]: Cleanup code and
3427 make it work again.
3428 (NUM_FREGS): Redefine to 0.
3429 (NUM_REGS): Redefine as NUM_GREGS.
3430 (i386_register_byte, i386_register_raw_size): Update from
3431 i386-tdep.c. Add comment about their origin.
3432 (regmap, register_u_addr): Take these from i386-linux-nat.c.
3433 (i386_register_u_addr): Removed.
3434
b9511b9a
MK
3435 * i386-linux-nat.c (i386_linux_dr_get): Return 0 if ptrace call
3436 fails instead of calling perror_with_name. This should fix
3437 debugging remote i386 targets with a native Linux/x86 GDB. Add
3438 FIXME for this hack.
3439
3172dc30
C
34402001-03-19 J.T. Conklin <jtc@redback.com>
3441
3442 * arch-utils.c (#include "gdbthread.h"): Removed.
3443 (#include "symfile.h"): Removed.
3444 (XMALLOC): Removed unused macro.
3445 * breakpoint.c (tbreak_command): Removed local declaration.
3446 (awatch_command, do_enable_breakpoint, set_breakpoint_count):
3447 Remove duplicate declarations.
3448 (bpstat_should_step, bpstat_have_active_hw_watchpoints)
3449 (remove_solib_event_breakpoints): Fix indentation botch.
3450 * c-typeprint.c (#include "command.h"): Removed.
3451 (#include "gdbcmd.h"): Removed.
3452 * ch-exp.c (ch_terminal_match_float_literal, parse_expr)
3453 (parse_primval, parse_untyped_expr, parse_opt_untyped_expr):
3454 Removed duplicate declarations.
3455 * ch-typeprint.c (#include "command.h"): Removed.
3456 (#include "gdbcmd.h"): Removed.
3457 * corefile.c (#include "frame.h"): Removed
3458 (#include "symfile.h"): Removed.
3459 (#include "language.h"): Removed.
3460 * dbxread.c (#include "command.h"): Removed.
3461 * environ.c (#include "gdbcore.h"): Removed.
3462 * event-loop.c (#include "top.h"): Removed.
3463 * f-typeprint.c (#include "command.h"): Removed.
3464 (#include "gdbcmd.h"): Removed.
3465 (#include "language.h"): Removed.
3466 (#include "typeprint.h"): Removed.
3467 (#include "frame.h"): Removed.
3468 * gdbtypes.h (print_type_scalar): Removed declaration.
3469 * infcmd.c (#include "completer.h"): Removed.
3470 * language.c (#include "frame.h"): Removed.
3471 * m2-typeprint.c (#include "command.h"): Removed.
3472 (#include "gdbcmd.h"): Removed.
3473 (#include "language.h"): Removed.
3474 * m2-valprint.c (#include "valprint.h"): Removed.
3475 * p-typeprint.c (#include "command.h"): Removed.
3476 (#include "gdbcmd.h"): Removed.
3477 * p-valprint.c (#include "typeprint.h"): Removed.
3478 * parse.c (#include "linespec.h"): Removed.
3479 * regcache.c (#include "frame.h"): Removed.
3480 * remote.c (#include "frame.h"): Removed.
3481 (getpkt_sane): Make static.
3482 * source.c (#include "completer.h"): Removed.
3483 * stack.c (#include "symfile.h"): Removed.
3484 (#include "objfiles.h"): Removed.
3485 * symfile.c (#include "completer.h"): Removed.
3486 * tracepoint.c (#include "completer.h"): Removed.
3487 * values.c (#include "frame.h"): Removed.
3488 * varobj.c (#include "valprint.h"): Removed.
3489 * wrapper.c (#include "frame.h"): Removed.
3490
3491 * memattr.c (create_mem_region): Removed unused variable.
3492 * remote-nrom.c: Removed spurious semicolon after init_nrom_ops.
3493
397b41ad
NC
34942001-03-27 Nick Clifton <nickc@redhat.com>
3495
3496 * remote-rdp.c (rdp_set_command_line): Add missing double quote.
3497
ed817e68
KB
34982001-03-27 Kevin Buettner <kevinb@redhat.com>
3499
3500 * solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
3501 of free().
3502
b75e0a6b
EZ
35032001-03-27 Eli Zaretskii <eliz@is.elta.co.il>
3504
3505 * TODO (Cleanups): Remove the item about converting docs to GFDL.
3506
2fc3ac7e
KB
35072001-03-26 Kevin Buettner <kevinb@redhat.com>
3508
3509 * ia64-tdep.c (slotN_contents, replace_slotN_contents): Change
3510 type of ``bundle'' from unsigned char * to char *.
3511 (ia64_get_saved_register): Use alloca() to allocate register
3512 buffers.
3513
224d8953
KB
3514 * solib-aix5.c (build_so_lib_from_mapfile): Fix xasprintf() usage.
3515
37de36c6
KB
35162001-03-26 Kevin Buettner <kevinb@redhat.com>
3517
3518 * proc-utils.h (procfs_ctl_t): New typedef.
3519 * proc-api.c (write_with_trace): Change type of ``opcode'' from
3520 long to procfs_ctl_t. Don't assume that the target has defined
3521 BREAKPOINT. Handle case in which PCRESET is the same as PCUNSET.
3522 * proc-events.c (sys/syscall.h, sys/fault.h): Include conditionally.
3523 * procfs.c (sys/fault.h, sys/syscall.h): Include conditionally.
3524 (gdb_sigset_t, gdb_sigaction_t, gdb_siginfo_t, gdb_premptysysset)
3525 (gdb_praddsysset, gdb_prdelsysset, gdb_pr_issyssetmember):
3526 Conditionally define as appropriate for AIX/non-AIX systems. Use
3527 these defines/typedefs as appropriate elsewhere in file.
3528 (struct procinfo): Change type of saved_sigset and saved_sighold
3529 from sigset_t to gdb_sigset_t. Make saved_exitset and
3530 saved_entryset pointer variables. Add two new fields, num_syscalls
3531 and syscall_names.
3532 (DYNAMIC_SYSCALLS): Define when HAVE_PRSYSENT_T is defined.
3533 (sysset_t_size, sysset_t_alloc): New functions.
3534 (load_syscalls, free_syscalls, find_syscall): New functions for
3535 platforms which define DYNAMIC_SYSCALLS.
3536 (create_procinfo): Call load_syscalls.
3537 (destroy_one_procinfo): Call free_syscalls.
3538 (GDBRESET): Don't define twice.
3539 (proc_modify_flag): Change type of operation code array `arg'
3540 from long to procfs_ctl_t.
3541 (proc_stop_process, proc_wait_for_stop, proc_run_process)
3542 (proc_set_traced_signals, proc_set_traced_faults)
3543 (proc_set_traced_sysentry, proc_set_traced_sysexit)
3544 (proc_set_held_signals, proc_clear_current_fault)
3545 (proc_set_current_signal, proc_clear_current_signal, proc_set_gregs)
3546 (proc_set_fpregs, proc_kill, proc_set_watchpoint): Likewise for `cmd'.
3547 (proc_set_traced_sysentry): Dynamically allocate variable sized
3548 struct gdb_proc_ctl_pcsentry. Also, free it at function exit.
3549 (proc_set_traced_sysexit): Dynamically allocate variable
3550 sized struct gdb_proc_ctl_pcsexit. Also, free it at
3551 function exit.
3552 (proc_get_traced_sysentry, proc_get_traced_sysexit): Add new code
3553 for reading the sysset_t struct on AIX5.
3554 (procfs_debug_inferior): Don't assume that SYS_exit will be
3555 defined. Add new code for finding certain syscalls on AIX5.
3556 (syscall_is_lwp_exit, syscall_is_exit, syscall_is_exec)
3557 (syscall_is_lwp_create): New functions.
3558 (procfs_wait): Restructured code which checks for certain
3559 system calls to use the new syscall_is_... functions.
3560 (procfs_notice_signals): Account for the fact that saved_entryset
3561 and saved_exitset in struct procinfo are now pointers.
3562
25d53da1
KB
35632001-03-26 Kevin Buettner <kevinb@redhat.com>
3564
3565 * symtab.c (find_pc_sect_line): Revise method used for finding
3566 the ending pc.
3567
50e27f84
MK
35682001-03-26 Mark Kettenis <kettenis@gnu.org>
3569
3570 * i386-linux-tdep.c (i386_linux_sigtramp_saved_pc,
3571 i386_linux_sigtramp_saved_sp): Make static.
3572 (i386_linux_frame_saved_pc): New function based on the old
3573 FRAME_SAVED_PC macro, but use read_memory_unsigned_integer instead
3574 of read_memory_integer.
3575 * config/i386/tm-linux.h (sigtramp_saved_pc): Remove definition.
3576 (i386_linux_sigtramp_saved_pc): Remove prototype.
3577 (FRAME_SAVED_PC): Redefine in terms of i386_linux_frame_saved_pc.
3578 (i386_linux_frame_saved_pc): New prototype.
3579
1a5cef06
AC
35802001-03-26 Andrew Cagney <ac131313@redhat.com>
3581
3582 * MAINTAINERS: Document m88k as a ``Known problem in 5.1''.
3583 * TODO (GDB 5.1 - Cleanups): Update.
3584
af802127
AC
35852001-03-26 Andrew Cagney <ac131313@redhat.com>
3586
3587 * fork-child.c (clone_and_follow_inferior): Delete #ifdef
3588 HAVE_VFORK.
3589
22f8ba57
MK
35902001-03-26 Mark Kettenis <kettenis@gnu.org>
3591
5b31405b
MK
3592 * config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.
3593
22f8ba57
MK
3594 * i386-tdep.c (i386_push_arguments, i386_store_struct_return): New
3595 functions.
3596 * config/i386/tm-i386.h (PUSH_ARGUMENTS): New macro.
3597 (STORE_STRUCT_RETURN): Redefine in terms of
3598 i386_store_struct_return.
3599 (i386_push_arguments, i386_store_struct_return): New prototypes.
3600 * config/i386/tm-i386v.h (STORE_STRUCT_RETURN): Remove. It's
3601 definition was identical to the definition in "i386/tm-i386.h" so
3602 the new definition should suffice too.
3603
49baf819 36042001-03-26 Eli Zaretskii <eliz@is.elta.co.il>
4d277981 3605
b78a4f26
EZ
3606 * event-loop.c (toplevel) [!HAVE_POLL] [NO_FD_SET]: Remove unused
3607 definitions for SELECT, NBBY, FD_SETSIZE, NFDBITS, and MASK_SIZE.
3608
4d277981
EZ
3609 * config/djgpp/djconfig.sh: Add copyright notice.
3610
3611 * ser-go32.c (rawclock): Remove prototype; include time.h instead.
3612 (ISR, dos_hookirq, isr_t): Convert K&R definition to ANSI C.
3613 (top level) <string.h>: Include gdb_string.h instead.
3614 (dos_noop, dos_raw, dos_noflush_set_tty_state)
3615 (dos_print_tty_state, dos_info): Remove ATTRIBUTE_UNUSED.
3616
3617 * go32-nat.c (go32_create_inferior): Move the declaration of
3618 `environ' to here from the top level.
3619 (top level) <_initialize_go32_nat>: Remove redundant prototype.
3620 <gdb_string.h>: Include it instead of string.h.
3621 (store_register): Call register_buffer instead of accessing
3622 registers[] directly.
3623 (redir_cmdline_delete, redir_cmdline_parse, redir_to_debugger)
3624 (redir_to_debugger, redir_debug_init) [__DJGPP_MINOR__ < 3]: Put
3625 the function names at the start of the line.
3626 (go32_set_dr): Throw internal_error if the argument is not a valid
3627 debug register number.
3628 (go32_open, go32_close, go32_attach, go32_detach, go32_resume)
3629 (go32_wait, go32_xfer_memory, go32_files_info)
3630 (go32_terminal_info): Remove ATTRIBUTE_UNUSED.
3631
8f3ee2ae
JB
36322001-03-25 Jim Blandy <jimb@redhat.com>
3633
3634 * mips-tdep.c (mips_gdbarch_init): Tweak indentation.
3635
6ec4c4bd
EZ
36362001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3637
3638 From Andrew Cagney <ac131313@redhat.com>
3639
3640 * coffread.c: Include "gdb_assert.h".
3641 (coff_symtab_read): Cast the integer s_sclass to a long before
3642 casting it to a pointer.
3643
b9179dbc
EZ
36442001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
3645
3646 From Andrew Cagney <ac131313@redhat.com>
3647
3648 * coffread.c (coff_symtab_read): Initialize
3649 ``fcn_first_line_addr''. Check that the ``.bf'' always preceeds
3650 the ``.ef'' info.
3651 * dbxread.c (find_text_range): Initialize ``start'' and ``end''.
3652
64c4637f
AC
36532001-03-23 Andrew Cagney <ac131313@redhat.com>
3654
3655 * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Down grade to
3656 GDB_MULTI_ARCH_PARTIAL from two. SOFTWARE_SINGLE_STEP is not
3657 multi-arch.
3658
3659 * gdbarch.sh (SOFTWARE_SINGLE_STEP): Add.
3660 * gdbarch.h, gdbarch.c: Re-generate.
3661
3662 * target.h (SOFTWARE_SINGLE_STEP_P)
3663 (SOFTWARE_SINGLE_STEP): Delete macro definitions.
3664
61a0eb5b
AC
36652001-03-23 Andrew Cagney <ac131313@redhat.com>
3666
3667 * gdbarch.sh (gdbarch_register_read, gdbarch_register_write): Add.
3668 * gdbarch.h, gdbarch.c: Regenerate.
3669
3670 * regcache.h (regcache_read, regcache_write): Declare.
3671 (registers, register_valid, register_buffer): Add note that these
3672 interfaces are deprecated.
3673
3674 * regcache.c: Include "gdb_assert.h".
3675 (legacy_write_register_gen): Rename write_register_gen.
3676 (legacy_read_register_gen): Rename read_register_gen.
3677 (regcache_read, regcache_write): New function.
3678 (read_register_gen, write_register_gen): New function.
3679 (write_register): Simplify. Use write_register_gen.
3680 (read_register): Ditto using read_register_gen.
3681 (read_signed_register): Ditto.
3682 (read_register_bytes): Ditto!!!!
3683 (supply_register): Add note that CLEANUP_REGISTER_VALUE is being
3684 replaced by gdbarch_register_read.
3685
3686 * TODO (GDB 5.2 - Cleanups): Add list of gdbarch methods to
3687 deprecate.
3688
c2bd2ed9
JB
36892001-03-23 Jim Blandy <jimb@redhat.com>
3690
f34754ee
JB
3691 Fix from Dan Berlin:
3692
c2bd2ed9
JB
3693 * stabsread.c (read_cpp_abbrev): Properly construct the names of
3694 virtual function table pointer fields.
3695
c0e61796
AC
36962001-03-19 Andrew Cagney <ac131313@redhat.com>
3697
3698 * defs.h (xfree, mcalloc, mmalloc, mrealloc, mfree, xmmalloc,
3699 xmrealloc): Move existing declarations to the one place and
3700 re-order to be consistent.
3701 (xmcalloc, xmfree): Declare.
3702 (xmmalloc, xmrealoc): Assume ISO-C - use size_t and void* in
3703 declaration.
3704
3705 * utils.c (size_t): Delete #ifdef defining size_t.
3706 (mmalloc, mrealloc, mcalloc, mfree): Re-order.
3707 (mmalloc, mrealloc, mcalloc): Document as only calls in GDB
3708 corresponding malloc, realloc, calloc.
3709 (mfree): Call free directly.
3710 (xmmalloc, xmrealloc): Clean up. Assume ISO-C.
3711 (xmcalloc, xmfree): New functions. Copy old xcalloc and xfree
3712 function bodies to here.
3713 (xcalloc, xfree): Call xmcalloc and xmfree respectfully.
3714
c65ecaf3
AC
37152001-03-23 Andrew Cagney <ac131313@redhat.com>
3716
3717 * fork-child.c (fork_inferior): Make ``argv'', ``exec_file'' and
3718 ``shell_file'' static locals.
3719
3720 * jv-lang.c (java_link_class_type): Initialize ``field'' and
3721 ``method''.
3722
3723 * jv-valprint.c (java_value_print): Initialize ``next_element''.
3724
207e433e
MK
37252001-03-23 Mark Kettenis <kettenis@gnu.org>
3726
3727 * config/i386/nm-i386.h: Fix formatting and change reference to
3728 i386-tdep.c to i386-nat.c.
3729
6c5cfe5b
DS
37302001-03-23 David Smith <dsmith@redhat.com>
3731
3732 * configure.in: Corrected spelling errors.
3733 * configure: Regenerated.
3734
5300940c
AC
37352001-03-22 Andrew Cagney <ac131313@redhat.com>
3736
3737 * TODO (GDB 5.1 - Cleanups): Add more targets to obsolete.
3738
17e78a56
AC
37392001-03-22 Andrew Cagney <ac131313@redhat.com>
3740
3741 * Makefile.in (NTSSTART): Delete.
3742 (NTSOBS): Delete.
3743 (kdb): Delete target.
3744 * kdb-start.c, stuff.c: Mark as obsolete.
3745 * NEWS: Update.
3746
41899c04
AC
37472001-03-22 Andrew Cagney <ac131313@redhat.com>
3748
3749 * config/pa/xm-hppah.h (HPPA_COMPILER_BUG): Delete. GDB only
3750 compiles using an ISO-C compiler.
3751 (MALLOC_INCOMPATIBLE): Ditto.
3752 * linespec.c (decode_line_1): Delete hack to work around
3753 HPPA_COMPILER_BUG.
3754
88665544
AC
37552001-03-22 Andrew Cagney <ac131313@redhat.com>
3756
3757 * exec.c (xfer_memory): Always initialize section.
3758 * infrun.c (normal_stop): Always initialize source_flag.
3759
a2061976
AC
37602001-03-22 Andrew Cagney <ac131313@redhat.com>
3761
3762 * TODO (Remote Protocol Support): Review. Add notes about ``!'',
3763 non-use of a continue address and typical use of ``q'' packet.
3764
e24d4c64
EZ
37652001-03-22 Eli Zaretskii <eliz@is.elta.co.il>
3766
3767 Make DJGPP use the new unified support for hardware
3768 breakpoints and watchpoints on x86 targets:
3769
3770 * config/i386/nm-go32.h <top level>: Don't include nm-i386v.h,
3771 include nm-i386.h instead.
3772 (TARGET_HAS_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT)
3773 (TARGET_CAN_USE_HARDWARE_WATCHPOINT, STOPPED_BY_WATCHPOINT)
3774 (TARGET_REGION_OK_FOR_HW_WATCHPOINT, DECR_PC_AFTER_HW_BREAK)
3775 (target_stopped_data_address, target_insert_watchpoint)
3776 (target_remove_watchpoint, target_insert_hw_breakpoint)
3777 (target_remove_hw_breakpoint): Don't define.
3778 (I386_USE_GENERIC_WATCHPOINTS, I386_DR_LOW_SET_CONTROL)
3779 (I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR)
3780 (I386_DR_LOW_GET_STATUS): Define to call appropriate go32_*
3781 functions from go32-nat.c.
3782
3783 * config/i386/go32.mh (NATDEPFILES): Add i386-nat.o.
3784
3785 * go32-nat.c <top level>: Remove prototypes for watchpoint-
3786 related functions. Remove definitions of watchpoint-related
3787 macros.
3788 (go32_mourn_inferior): Call i386_cleanup_dregs instead of the
3789 private cleanup_dregs function.
3790 (cleanup_dregs, go32_insert_watchpoint)
3791 (go32_insert_aligned_watchpoint, go32_handle_nonaligned_watchpoint)
3792 (go32_remove_watchpoint, go32_remove_aligned_watchpoint)
3793 (go32_region_ok_for_watchpoint, go32_stopped_by_watchpoint)
3794 (go32_remove_hw_breakpoint, go32_insert_hw_breakpoint): Remove.
3795 (go32_set_dr, go32_set_dr7, go32_get_dr6): New functions.
3796
c26e1c2b
KB
37972001-03-21 Kevin Buettner <kevinb@redhat.com>
3798
3799 * ia64-tdep.c (fetch_instruction): Warn about slot numbers greater
3800 than two instead of generating an error.
3801
272ba48f
JB
38022001-03-21 Jim Blandy <jimb@redhat.com>
3803
3804 * cp-valprint.c: Reformat to bring into line with GNU coding
3805 standards.
3806
84346e11
MK
38072001-03-21 Mark Kettenis <kettenis@gnu.org>
3808
3809 Make Linux use the new unified support for hardware breakpoints
3810 and watchpoints on x86 targets.
3811 * i386-linux-nat.c: Doc fixes. Include "gdb_assert.h".
3812 [HAVE_SYS_DEBUGREG_H]: Include <sys/debugreg.h>.
3813 (DR_FIRSTADDR, DR_LASTADDR, DR_STATUS, DR_CONTROL): Define to
3814 appropriate value if not already defined.
3815 (register_u_addr): New function.
3816 (kernel_u_size): New function.
3817 (i386_linux_dr_get, i386_linux_dr_set): New functions.
3818 (i386_linux_dr_set_control, i386_linux_dr_set_addr,
3819 i386_linux_reset_addr, i386_linux_dr_get_status): New functions.
3820 * config/i386/nm-linux.h: Don't include "nm-i386v.h".
3821 (I386_USE_GENERIC_WATCHPOINTS): Define and include "nm-i386.h".
3822 (TARGET_HAS_HARDWARE_WATCHPOINTS,
3823 TARGET_CAN_USE_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT,
3824 STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
3825 target_remove_watchpoint): Remove macros.
3826 (i386_stopped_by_watchpoint, i386_insert_watchpoint,
3827 i386_remove_watchpoint): Remove prototypes.
3828 (register_u_addr): New prototype.
3829 (REGISTER_U_ADDR): Define in terms of register_u_addr.
3830 (i386_linux_dr_set_control, i386_linux_dr_set_addr,
3831 i386_linux_reset_addr, i386_linux_dr_get_status): New prototypes.
3832 (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
3833 I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
3834 * config/i386/linux.mh (NATDEPFILES): Replace i386v-nat.o with
3835 i386-nat.o.
3836
13b57657
JB
38372001-03-21 Jim Blandy <jimb@redhat.com>
3838
f34754ee
JB
3839 Fix from Dan Berlin:
3840
13b57657
JB
3841 * linespec.c (find_methods): Whitespace differences aren't
3842 significant in *un*mangled method names. Use strcmp_iw to compare
f34754ee 3843 them, not STREQ.
13b57657 3844
eee30e78
AC
38452001-03-21 Andrew Cagney <ac131313@redhat.com>
3846
3847 * gdbarch.sh: Allow a non- multi-arch target to override a
3848 predicate.
3849 * gdbarch.h: Regenerate.
3850
b77be6cf
AC
38512001-03-21 Andrew Cagney <ac131313@redhat.com>
3852
3853 * gdbarch.sh: Avoid use of ``!''.
3854
379d08a1
AC
38552001-03-20 Andrew Cagney <ac131313@redhat.com>
3856
3857 * target.h (enum target_signal): Move definition from here.
3858 * defs.h (enum target_signal): To here.
3859
3860 * config/arc/tm-arc.h (arc_software_single_step): Change type of
3861 first parameter to enum target_signal.
3862 * config/rs6000/tm-rs6000.h (rs6000_software_single_step): Ditto.
3863 * config/sparc/tm-sparc.h (sparc_software_single_step): Ditto.
3864 * rs6000-tdep.c (rs6000_software_single_step): Update.
3865
64485362
AC
38662001-03-20 Andrew Cagney <ac131313@redhat.com>
3867
3868 * frame.h (SIZEOF_FRAME_SAVED_REGS): Report an error if macro
3869 already defined.
3870
3871 From 2000-08-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
3872 * stabsread.c (define_symbol): A parameter ('R'), a local ('r'),
3873 or a reference ('a') can be in a pseudo register.
3874 * infcmd.c (do_registers_info): Must take into account the pseudo
3875 registers to print their value.
3876 (registers_info): Likewise.
3877 * stack.c (frame_info): Likewise.
3878 * frame.h (SIZEOF_FRAME_SAVED_REGS): Save the pseudo registers.
3879
52b98211
EZ
38802001-03-21 Eli Zaretskii <eliz@is.elta.co.il>
3881
3882 Unified support for hardware breakpoints and watchpoints on
3883 x86 targets:
3884
3885 * config/i386/nm-i386.h: New file.
3886
3887 * config/i386/nm-i386.h: (i386_cleanup_dregs)
3888 (i386_insert_watchpoint, i386_remove_watchpoint)
3889 (i386_region_ok_for_watchpoint, i386_stopped_by_hwbp)
3890 (i386_stopped_data_address, i386_insert_hw_breakpoint)
3891 (i386_remove_hw_breakpoint): Declare prototypes.
3892 [I386_USE_GENERIC_WATCHPOINTS] (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
3893 Define if not already defined.
3894 (TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT)
3895 (STOPPED_BY_WATCHPOINT, target_stopped_data_address)
3896 (target_insert_watchpoint, target_remove_watchpoint)
3897 (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Define
3898 to call the appropriate i386_* functions.
3899
3900 * i386-nat.c: New file.
3901
3902 * i386-nat.c (I386_DR_CONTROL_MASK, I386_DR_LOCAL_ENABLE)
3903 (I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN)
3904 (I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): New macros.
3905 (dr_mirror, dr_status_mirror, dr_control_mirror, dr_ref_count)
3906 (maint_show_dr): New variables.
3907 (i386_cleanup_dregs, i386_show_dr, i386_length_and_rw_bits)
3908 (i386_insert_aligned_watchpoint, i386_remove_aligned_watchpoint)
3909 (i386_handle_nonaligned_watchpoint, i386_insert_watchpoint)
3910 (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
3911 (i386_stopped_data_address, i386_stopped_by_hwbp)
3912 (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): New
3913 functions.
3914 (_initialize_i386_nat): New function.
3915 [I386_USE_GENERIC_WATCHPOINTS]: Add new maint command
3916 `show-debug-regs', sets maint_show_dr to non-zero value and
3917 activates debugging print-outs in functions which insert, remove,
3918 and test watchpoints and hardware breakpoints.
3919
3920 * Makefile.in (i386-nat.o): New target.
3921 (ALLDEPFILES): Add i386-nat.o.
3922
28e9e0f0
MK
39232001-03-21 Mark Kettenis <kettenis@gnu.org>
3924
3925 * i386-tdep.c: Add back _initialize_i386_tdep prototype with
3926 appropriate comment.
3927
e40eccb4
KB
39282001-03-20 Kevin Buettner <kevinb@redhat.com>
3929
3930 * config/alpha/alpha-linux.mh (NATDEPFILES): Use proc-service.o,
3931 thread-db.o, and lin-lwp.o for thread support instead of
3932 linux-thread.o and lin-thread.o.
3933 * config/alpha/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS)
3934 (ATTACH_LWP): Define to use the following lin-lwp.c functions...
3935 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals)
3936 (lin_lwp_attach_lwp): Declare.
3937
bea7bb93
JB
39382001-03-20 Jim Blandy <jimb@redhat.com>
3939
f34754ee
JB
3940 Fix from Dan Berlin:
3941
bea7bb93
JB
3942 * Makefile.in: Clean up dependencies on ../include/demangle.h.
3943 (demangle_h): New variable.
3944 (jv-typeprint.o, jv-valprint.o, linespec.o): Use it.
3945
b0ed3589
AC
39462001-03-20 Andrew Cagney <ac131313@redhat.com>
3947
3948 * target.h (SOFTWARE_SINGLE_STEP_P): Add empty parameter list.
3949 * breakpoint.c (bpstat_stop_status): Update.
3950 * infrun.c (handle_inferior_event): Ditto.
3951 * mips-tdep.c (mips_dump_tdep): Ditto.
3952 * infrun.c (resume): Ditto.
3953 * infptrace.c (child_resume): Ditto.
3954 * config/mips/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3955 * config/sh/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3956 * config/sparc/tm-sparc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3957 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3958 * config/arm/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3959 * config/arc/tm-arc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3960 * config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3961
df087c62
AC
39622001-03-20 Andrew Cagney <ac131313@redhat.com>
3963
3964 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Replace abort
3965 with internal_error.
3966
8bd1f2c6
JB
39672001-03-20 Jim Blandy <jimb@redhat.com>
3968
f34754ee
JB
3969 Fix from Dan Berlin:
3970
8bd1f2c6
JB
3971 * linespec.c (find_methods): Just call CHECK_TYPEDEF on t, rather
3972 than asking for sym_class's type; that's circuitous. Remove
3973 sym_class, since the last use of it is gone.
3974
c97fe386
EZ
39752001-03-20 Eli Zaretskii <eliz@is.elta.co.il>
3976
3977 * breakpoint.c (print_it_typical) <bp_access_watchpoint> [UI_OUT]:
3978 Correct the order of calls to ui_out_field_string and
3979 ui_out_list_begin when bs->old_val is NULL.
3980
486363b6
KB
39812001-03-19 Kevin Buettner <kevinb@redhat.com>
3982
3983 * configure.in (AC_CHECK_HEADERS): Check for existence of nlist.h.
3984 * configure: Regenerate.
3985 * config.in: Regenerate.
3986 * solib-legacy.c (nlist.h): Include if HAVE_NLIST_H is defined.
3987
087bb2e2
KB
39882001-03-19 Kevin Buettner <kevinb@redhat.com>
3989
3990 * config/i386/i386v42mp.mh (NATDEPFILES): List all files on
3991 same line to avoid problems with Unixware 7's make when building
3992 a cross debugger.
3993
3c37485b
AC
39942001-03-19 Andrew Cagney <ac131313@redhat.com>
3995
3996 * defs.h (malloc): Move declaration from here.
3997 * utils.c (malloc): To here.
3998 * config/pa/xm-hppah.h (malloc): Delete declaration.
3999
4000 * gnu-nat.c (make_proc): Use xmalloc instead of malloc.
4001 * hp-psymtab-read.c (hpread_call_pxdb): Ditto.
4002 (hpread_quick_traverse): Ditto.
4003 * infttrace.c (create_thread_info): Ditto.
4004 (kill_inferior): Ditto.
4005 * gnu-nat.c (make_inf): Ditto, and don't check return value.
4006 * procfs.c (proc_update_threads): Ditto.
4007 * valprint.c (print_decimal_chars): Ditto.
4008 * gdbtypes.c (cfront_mangle_name): Use xasprintf instead of
4009 malloc and sprintf.
4010 * remote-rdp.c (rdp_set_command_line): Ditto.
4011
0e52036f
AC
40122001-03-19 Andrew Cagney <ac131313@redhat.com>
4013
4014 * defs.h (realloc): Move declaration from here.
4015 * utils.c (realloc): To here.
4016 * config/pa/xm-hppah.h (realloc): Delete declaration.
4017 * lin-thread.c (insert_thread): Use xrealloc instead of realloc.
4018 * symfile.c (add_filename_language): Ditto.
4019 * event-loop.c (create_file_handler): Ditto.
4020
81b8eb80
AC
40212001-03-19 Andrew Cagney <ac131313@redhat.com>
4022
4023 * defs.h (free): Move declaration from here.
4024 * utils.c (free): To here.
4025 (xfree): Document as the only call to free().
4026 * config/pa/xm-hppah.h (free): Delete declaration.
4027
8cca004a
KB
40282001-03-19 Kevin Buettner <kevinb@redhat.com>
4029
4030 * config/ia64/linux.mh (NATDEPFILES): Add proc-service.o to
4031 this list.
4032
cf4eee44
AC
40332001-03-19 Andrew Cagney <ac131313@redhat.com>
4034
4035 * eval.c (evaluate_subexp): Remove #ifdef __STDC__ and ``inline''.
4036 * config/mips/xm-mips.h (offsetof): Define when !GNUC not !STDC.
4037 * cli/cli-cmds.c (init_cli_cmds): Remove #ifdef __STDC__
4038
1c5b31ef
AC
40392001-03-19 Andrew Cagney <ac131313@redhat.com>
4040
4041 * TODO: List known problems with TUI.
4042
3a0c66d4
AC
40432001-03-19 Andrew Cagney <ac131313@redhat.com>
4044
4045 * MAINTAINERS: Jimmy Guo stepped down as a maintiner (TUI,
4046 gdb.hp).
4047
ce359b09
AC
40482001-03-19 Andrew Cagney <ac131313@redhat.com>
4049
4050 * remote.c (remote_cisco_section_offsets): Do not cast result from
4051 bfd_get_section_name.
4052 (compare_sections_command): Ditto.
4053 (remote_cisco_section_offsets): Make ``p'' a const pointer.
4054 (compare_sections_command): Ditto for ``sectname''.
4055
0b3f98d3
AC
40562001-03-19 Andrew Cagney <ac131313@redhat.com>
4057
4058 From Mon Nov 20 13:59:29 2000 Andrew Cagney <cagney@b1.cygnus.com>:
4059 * valops.c (hand_function_call): Simplify computation of the
4060 address of the pushed argument.
4061
7451d027
AC
40622001-03-17 Andrew Cagney <ac131313@redhat.com>
4063
4064 * p-exp.y (parse_number): Avoid shift overflow when ``long''.
4065 Code copied from c-exp.y.
4066
fb70ab0c
KB
40672001-03-18 Kevin Buettner <kevinb@redhat.com>
4068
4069 * acconfig.h (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
4070 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
4071 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New configure macros.
4072 * configure.in (HAVE_STRUCT_LINK_MAP32): Move this test out
4073 of the Solaris procfs testing section. Instead, group with...
4074 (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
4075 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
4076 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New <link.h> tests.
4077 * configure: Regenerate.
4078 * config.in: Regenerate.
4079
4080 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Use
4081 new configure macros to choose which (if any) code to
4082 compile in. Added code to explicitly handle *BSD systems;
4083 these systems were previously handled only through macro
4084 redefinition. Also, due to the way the autoconf tests are set
4085 up, this function will no longer return a non-zero value when
4086 GDB is configured as a cross debugger. I.e, cross debuggers
4087 will no longer be able to "accidentally" get the host system's
4088 link map offsets.
4089
8aa16b78
KB
40902001-03-18 Kevin Buettner <kevinb@redhat.com>
4091
4092 * config/i386/nbsd.mh (NATDEPFILES): List all files on the same
4093 line to avoid build problem on NetBSD 1.4.
4094
559e75c0
MC
40952001-03-17 Michael Chastain <chastain@redhat.com>
4096
4097 * win32-nat.c (child_attach): check args for NULL before passing
4098 to strtoul. This fixes PR gdb/43.
4099
fc338970
MK
41002001-03-17 Mark Kettenis <kettenis@gnu.org>
4101
7daede3b
MK
4102 * i387-nat.h: Doc Fix.
4103
fc338970
MK
4104 * i386-tdep.c: Fix formatting.
4105 (i386_get_frame_setup, i386_follow_jump, codestream_read,
4106 codestream_seek, codestream_fill, skip_trampoline_code,
4107 gdb_print_insn_i386, _initialize_i386_tdep): Remove redundant
4108 prototypoes.
4109
e3c6d36d
MK
41102001-03-17 Mark Kettenis <kettenis@gnu.org>
4111
4112 * config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
4113 no longer used. Also remove associated FIXME.
4114
4a5c6a1d
AC
41152001-03-16 Andrew Cagney <ac131313@redhat.com>
4116
4117 * gdbarch.sh: Add classes ``m'' and ``M'' for pure multi-arch. Do
4118 not generate macro wrappers for multi-arch functions or
4119 predicates.
4120 (class_is_info_p, class_is_predicate_p): Update.
4121 (class_is_function_p, class_is_variable_p): Ditto.
4122 (class_is_multiarch_p): New class function.
4123
7256e1a5
C
41242001-03-16 J.T. Conklin <jtc@redback.com>
4125
4126 * config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
4127 h8300_frame_args_address from frame_args_address.
4128 (FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address
4129 from frame_locals_address.
4130 (PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook
4131 from print_register_hook.
4132 (h8300_frame_args_address): Declare.
4133 (h8300_frame_find_saved_regs): Declare.
4134 (h8300_frame_locals_address): Declare.
4135 (h8300_frame_saved_pc): Declare.
4136 (h8300_pop_frame): Declare.
4137 (h8300_print_register_hook): Declare.
4138 * h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration.
4139 (h8300_frame_args_address): Renamed from frame_args_address.
4140 (h8300_frame_locals_address): Renamed from frame_locals_address.
4141 (h8300_pop_frame): Renamed from pop_frame.
4142 (h8300_print_register_hook): Renamed from print_register_hook.
4143
435b259c
KB
41442001-03-16 Kevin Buettner <kevinb@redhat.com>
4145
4146 * solib-svr4.c (bfd_lookup_symbol): Change type of
4147 ``storage_needed'' from unsigned int to long in order to
4148 match return type of bfd_get_symtab_upper_bound() and
4149 bfd_get_dynamic_symtab_upper_bound().
4150 * solib-aix5.c (bfd_lookup_symbol): Likewise. Also, eliminate
4151 REASONABLE_LIMIT hack which had been added to work around this
4152 problem.
4153
80117be2
KB
41542001-03-15 Kevin Buettner <kevinb@redhat.com>
4155
4156 * solib-aix5.c (bfd_lookup_symbol, build_so_list_from_mapfile)
4157 (aix5_relocate_main_executable, aix5_clear_solib): Replace calls
4158 to free() with calls to xfree().
4159 (bfd_lookup_symbol): Eliminate use of PTR.
4160 (build_so_list_from_mapfile): Use xasprintf() instead of sprintf().
4161
77cd5909
MH
41622001-03-15 Martin Hunt <hunt@redhat.com>
4163
4164 * linespec.c (decode_line_1): Remove trailing quote
4165 when parsing double quotes.
4166
f7f5a202
KB
41672001-03-15 Kevin Buettner <kevinb@redhat.com>
4168
4169 * uw-thread.c (read_thr_debug, read_map, read_lwp, thread_iter)
4170 (libthread_stub, libthread_init): Pass NULL for the mem_attrib
4171 argument in the to_xfer_memory calls.
4172
0d35ddba
AC
41732001-03-15 Andrew Cagney <ac131313@redhat.com>
4174
4175 * MAINTAINERS: Fix typo - w65 not w64. Still doesn't build.
4176 * TODO (GDB 5.1 - Cleanups): Add status of targets being obsoleted.
4177
043780a1
AC
41782001-03-15 Andrew Cagney <ac131313@redhat.com>
4179
4180 * wince.c (child_xfer_memory): Add attrib parameter.
4181 * symm-nat.c (child_xfer_memory): Ditto.
4182 * mac-nat.c (child_xfer_memory): Ditto.
4183 * infttrace.c (child_xfer_memory): Ditto.
4184 * procfs.c (procfs_xfer_memory): Ditto.
4185 * lin-thread.c (thread_db_xfer_memory): Ditto.
4186 * gnu-nat.c (gnu_xfer_memory): Ditto.
4187
9b9c068d
AC
41882001-03-14 Andrew Cagney <ac131313@redhat.com>
4189
4190 * NEWS: Mention that Harris/CXUX m88k is obsolete.
4191
f88e2c52
AC
41922001-03-13 Andrew Cagney <ac131313@redhat.com>
4193
4194 * config/mips/tm-mips.h: Include "regcache.h" for macros refering
4195 to regcache functions.
4196 * config/m68k/tm-m68k.h: Ditto.
4197 * config/i386/tm-i386v.h: Ditto.
4198 * config/mcore/tm-mcore.h: Ditto.
4199 * config/m88k/tm-m88k.h: Ditto.
4200 * config/m68k/tm-news.h: Ditto.
4201 * config/m68k/tm-linux.h: Ditto.
4202 * config/m68k/tm-delta68.h: Ditto.
4203 * config/m68k/nm-sun3.h: Ditto.
4204 * config/m32r/tm-m32r.h: Ditto.
4205 * config/i386/tm-symmetry.h: Ditto.
4206 * config/i386/tm-sun386.h: Ditto.
4207 * config/i386/tm-i386.h: Ditto.
4208 * config/i386/nm-symmetry.h: Ditto.
4209 * config/i386/nm-sun386.h: Ditto.
4210 * config/i386/nm-ptx4.h: Ditto.
4211 * config/i386/nm-i386mach.h: Ditto.
4212 * config/h8500/tm-h8500.h: Ditto.
4213 * config/h8300/tm-h8300.h: Ditto.
4214 * config/fr30/tm-fr30.h: Ditto.
4215 * config/d30v/tm-d30v.h: Ditto.
4216 * config/arm/tm-arm.h: Ditto.
4217 * config/arc/tm-arc.h: Ditto.
4218 * config/alpha/tm-alpha.h: Ditto.
4219 * config/a29k/tm-vx29k.h: Ditto.
4220 * config/a29k/tm-a29k.h: Ditto.
4221 * config/w65/tm-w65.h: Ditto.
4222 * config/vax/tm-vax.h: Ditto.
4223 * config/v850/tm-v850.h: Ditto.
4224 * config/tic80/tm-tic80.h: Ditto.
4225 * config/sparc/tm-sparclite.h: Ditto.
4226 * config/sparc/tm-sparclet.h: Ditto.
4227 * config/sparc/tm-sparc.h: Ditto.
4228 * config/sparc/nm-sun4sol2.h: Ditto.
4229 * config/sparc/nm-sun4os4.h: Ditto.
4230 * config/sparc/nm-nbsd.h: Ditto.
4231 * config/powerpc/nm-solaris.h: Ditto.
4232 * config/pa/tm-hppao.h: Ditto.
4233 * config/pa/tm-hppa.h: Ditto.
4234 * config/pa/nm-hppab.h: Ditto.
4235 * config/ns32k/tm-umax.h: Ditto.
4236 * config/ns32k/tm-merlin.h: Ditto.
4237 * config/nm-m3.h: Ditto.
4238 * config/nm-gnu.h: Ditto.
4239
0981ead9
AC
42402001-03-14 Andrew Cagney <ac131313@redhat.com>
4241
4242 * MAINTAINERS: Update list of targets. Mark arm-* and v850-elf as
4243 broken. Mark sh-*, ia64-linux and ns32k-netbsd as buildable.
4244 Specify an m88k target. Include sample GAWK script to generate
4245 target list. Delete non-existant romp target.
4246 * TODO (GDB 5.1 - Cleanups): Update.
4247
91c1720e
KS
42482001-03-14 Keith Seitz <keiths@cygnus.com>
4249
4250 * linespec.c (decode_line_1): Skip argptr over a leading
4251 double quote. Prevents alloc of 0 bytes and memcpy of -1 bytes.
4252
3cc122b3
KB
42532001-03-14 Kevin Buettner <kevinb@redhat.com>
4254
4255 * config/djgpp/fnchange.lst (ia64-aix-nat.c): Add entry.
4256
5bb367b1
AC
42572001-03-13 Andrew Cagney <ac131313@redhat.com>
4258
4259 * ui-out.h: Remove #if __STDC__, assume an ISO-C compiler.
4260 * m3-nat.c: Ditto.
4261 * p-lang.h: Ditto.
4262 * printcmd.c (printf_command): Ditto.
4263 * ch-exp.c (match_integer_literal): Ditto.
4264 * scm-tags.h: Ditto.
4265 * ser-go32.c: Ditto.
4266 * hppa-tdep.c (unwind_command): Ditto.
4267 * defs.h (volatile): Delete macro definition. Assume __STDC__.
4268 * remote-adapt.c (volatile): Ditto.
4269 * remote-eb.c (volatile): Ditto.
4270 * remote-mm.c (volatile): Ditto.
4271 * defs.h (alloca): Assume __STDC__, declare returning void *.
4272
a728f042
AC
42732001-03-08 Andrew Cagney <ac131313@redhat.com>
4274
4275 * inferior.h (ARCH_NUM_REGS): Delete definition.
4276 * stack.c (frame_info): Use NUM_REGS, not ARCH_NUM_REGS.
4277 * regcache.c (registers_changed): Ditto.
4278 (registers_fetched): Ditto.
4279 * infptrace.c (fetch_inferior_registers): Ditto.
4280 (store_inferior_registers): Ditto.
4281 * infcmd.c (do_registers_info): Ditto.
4282 (registers_info): Ditto.
4283 * i386-linux-nat.c (old_fetch_inferior_registers): Ditto.
4284 (old_store_inferior_registers): Ditto.
4285 * gdbserver/low-linux.c (register_addr): Ditto.
4286 * gdbserver/low-hppabsd.c (register_addr): Ditto.
4287 * core-aout.c: Don't include "inferior.h".
4288 (fetch_core_registers): Use NUM_REGS not ARCH_NUM_REGS.
4289 (register_addr): Ditto.
4290
f48ff60a
FN
42912001-03-13 Fernando Nasser <fnasser@redhat.com>
4292
4293 From Steven Johnson <sjohnson@neurizon.net>
4294 * cli/cli-script.c (define_command): Fix setting of post hooks.
4295
305d65ca
MK
42962001-03-13 Mark Kettenis <kettenis@gnu.org>
4297
4298 * i386-linux-tdep.c: Fix formatting and clarify comments.
4299 (i386_linux_svr4_fetch_link_map_offsets): Use NULL instead of 0
4300 where appropriate.
4301
bf62e5b4
AC
43022001-03-12 Andrew Cagney <ac131313@redhat.com>
4303
4304 * gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
4305 (proc_update_sc): Use gdb_assert instead of assert.
4306 (proc_abort): Ditto.
4307 (inf_set_step_thread): Ditto.
4308 (gnu_wait): Ditto.
4309 (S_exception_raise_request): Ditto.
4310 (gnu_terminal_init_inferior): Ditto.
4311
21479ded
KB
43122001-03-09 Kevin Buettner <kevinb@redhat.com>
4313
4314 * Makefile.in (solib-svr4.o): Depend on solib-svr4.c, not solib.c.
4315 (solib-legacy.o): New makefile target.
4316 * solib-legacy.c: New file.
4317 * solib-svr4.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete.
4318 (default_svr4_fetch_link_map_offsets): Delete.
4319 (set_solib_svr4_fetch_link_map_offsets): Declare.
4320 (legacy_svr4_fetch_link_map_offsets_hook): Declare.
4321 * solib-svr4.c (elf/common.h): Include.
4322 (link.h): Only include for SunOS shared library support.
4323 (_SYSCALL32): Don't define.
4324 (SVR4_FETCH_LINK_MAP_OFFSETS): Define.
4325 (default_svr4_fetch_link_map_offsets): Made static; added forward
4326 declaration.
4327 (fetch_link_map_offsets): New static global.
4328 (legacy_svr4_fetch_link_map_offsets_hook): New global variable.
4329 (default_svr4_fetch_link_map_offsets): Rewritten. The guts
4330 of what used to be in this function now reside in
4331 legacy_svr4_fetch_link_map_offsets() in solib-legacy.c.
4332 (open_symbol_file_object): Fix declaration in SunOS section
4333 of the code.
4334 (set_solib_svr4_fetch_link_map_offsets): New extern function.
4335 (init_fetch_link_map_offsets): New static function.
4336 (_initialize_svr4_solib): Put static global fetch_link_map_offsets
4337 under multiarch control.
4338
4339 * config/alpha/alpha-linux.mt (TDEPFILES): Add solib-legacy.o to
4340 list.
4341 * config/alpha/fbsd.mh (NATDEPFILES): Likewise.
4342 * config/arm/linux.mt (TDEPFILES): Likewise.
4343 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
4344 * config/i386/i386dgux.mh (NATDEPFILES): Likewise.
4345 * config/i386/i386gnu.mh (NATDEPFILES): Likewise.
4346 * config/i386/i386sco5.mh (NATDEPFILES): Likewise.
4347 * config/i386/i386sol2.mt (TDEPFILES): Likewise.
4348 * config/i386/i386v4.mh (NATDEPFILES): Likewise.
4349 * config/i386/i386v42mp.mh (NATDEPFILES): Likewise.
4350 * config/i386/linux.mt (TDEPFILES): Likewise.
4351 * config/i386/nbsd.mh (NATDEPFILES): Likewise.
4352 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
4353 * config/i386/ncr3000.mt (TDEPFILES): Likewise.
4354 * config/i386/ptx4.mh (XDEPFILES): Likewise.
4355 * config/i386/sun386.mt (TDEPFILES): Likewise.
4356 * config/ia64/linux.mt (TDEPFILES): Likewise.
4357 * config/m68k/linux.mt (TDEPFILES): Likewise.
4358 * config/m68k/m68kv4.mh (NATDEPFILES): Likewise.
4359 * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
4360 * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
4361 * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
4362 * config/m88k/delta88v4.mh (NATDEPFILES): Likewise.
4363 * config/mips/mipsv4.mh (NATDEPFILES): Likewise.
4364 * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
4365 * config/powerpc/linux.mt (TDEPFILES): Likewise.
4366 * config/powerpc/nbsd.mh (NATDEPFILES): Likewise.
4367 * config/powerpc/solaris.mh (NATDEPFILES): Likewise.
4368 * config/sh/linux.mt (TDEPFILES): Likewise.
4369 * config/sparc/linux.mt (TDEPFILES): Likewise.
4370 * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
4371 * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise.
4372 * config/sparc/sp64linux.mt (TDEPFILES): Likewise.
4373 * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
4374 * config/sparc/sun4sol2.mh (NATDEPFILES): Likewise.
4375
d7fa9de0
KB
43762001-03-09 Kevin Buettner <kevinb@redhat.com>
4377
4378 * utils.c (xmrealloc, xcalloc): Return NULL for zero-sized requests.
4379
f8241bd1
AC
43802001-03-09 Andrew Cagney <ac131313@redhat.com>
4381
4382 * MAINTAINERS (Write After Approval): Update Philip Blundell.
4383
e6b4b0c2
KS
43842001-03-09 Keith Seitz <keiths@cygnus.com>
4385
4386 * MAINTAINERS: Add myself to write after approval list.
4387
96836138
MK
43882001-03-09 Mark Kettenis <kettenis@gnu.org>
4389
4390 * i387-tdep.c (print_i387_status_word): Fix printing of Stack
4391 fault flag. It is bit 6 of the x87 FPU status word, not bit 7.
4392
1b594327
AC
43932001-03-08 Andrew Cagney <ac131313@redhat.com>
4394
4395 * configure.host (m88*-harris-cxux*): Mark as obsolete.
4396 * configure.tgt: Ditto.
4397 * config/m88k/xm-cxux.h: Ditto.
4398 * config/m88k/tm-cxux.h: Ditto.
4399 * config/m88k/nm-cxux.h: Ditto.
4400 * config/m88k/cxux.mt: Ditto.
4401 * config/m88k/cxux.mh: Ditto.
4402
4a32a1e4
AC
44032001-03-08 Andrew Cagney <ac131313@redhat.com>
4404
4405 * Makefile.in: Delete rules for obsolete files.
4406
ec9a3449
DT
4407Thu Mar 8 15:43:40 2001 David Taylor <taylor@redhat.com>
4408
4409 * stack.c (parse_frame_specification): For one argument case,
4410 handle the situation where the argument is an integer, not an
4411 address -- arguably the most common case. This matters on
4412 targets where pointers and addresses are different.
4413
a50c34dc
AC
44142001-03-08 Andrew Cagney <ac131313@redhat.com>
4415
4416 * TODO: Revise 5.1 list. Delete PARAMS task. Add coding standard
4417 review. Clarify GNU/LINUX/sparc. Move other tasks to 5.2 or
4418 general.
4419
cfc046cf
AC
44202001-03-07 Andrew Cagney <ac131313@redhat.com>
4421
4422 * TODO (GDB 5.1 Known Problems): Document problem of building GDB
4423 with SID on Solaris 8.
4424
39424bef
MK
44252001-03-07 Mark Kettenis <kettenis@gnu.org>
4426
4427 * defs.h: Provide prototypes for floatformat_is_negative,
4428 floatformat_is_nan and floatformat_mantissa.
4429 * utils.c: Include "gdb_assert.h".
4430 (floatformat_is_negative): New function.
4431 (floatformat_is_nan): New function.
4432 (floatformat_mantissa): New function.
4433 * valprint.c: Include "floatformat.h".
4434 (print_floating): Get rid of the Linux-specific
4435 TARGET_ANALYZE_FLOATING macro and rewrite NaN detection with the
4436 help these new functions. Print NaN's in a format conforming to
4437 ISO C99.
4438
7a1bd56a
EZ
44392001-03-07 Eli Zaretskii <eliz@is.elta.co.il>
4440
4441 * top.c (init_main): Make `set history file name' complete on file
4442 names.
4443
5565b556
C
44442001-03-06 J.T. Conklin <jtc@redback.com>
4445
21a12a30
C
4446 * Makefile.in (LINTFLAGS): Update to contain all of the macros
4447 which define include paths used when compiling.
4448
4449 * util.c (savestring, msavestring): Change type of length argument.
4450 * defs.h (savestring, msavestring): Update to match.
4451
5565b556
C
4452 * symtab.h (decode_line_1): Removed declaration.
4453
4454 * symfile.c (#include <assert.h>): Removed.
4455
4456 * arch-utils.c (#include <ctype.h>): Removed.
4457 * c-typeprint.c: Likewise.
4458 * dbxread.c: Likewise.
4459 * gdbtypes.c: Likewise.
4460 * target.c: Likewise.
4461 * os9kread.c: Likewise.
4462
4463 * c-valprint.c (#include "demangle.h"): Removed.
4464 * ch-typeprint.c: Likewise.
4465 * eval.c: Likewise.
4466 * f-typeprint.c: Likewise.
4467 * f-valprint.c: Likewise.
4468 * m2-typeprint.c: Likewise.
4469 * typeprint.c: Likewise.
4470 * p-typeprint.c: Likewise.
4471 * valarith.c: Likewise.
4472 * valprint.c: Likewise.
4473
4474 * m2-typeprint.c (#include "gdb_string.h"): Removed.
4475 * nlmread.c: Likewise.
4476
4477 * mdebugread.c (#include "gdb-stabs.h"): Removed.
4478 * minsyms.c: Likewise.
4479 * mipsread.c: Likewise.
4480 * nlmread.c: Likewise.
4481
4482 * m2-typeprint.c (#include "obstack.h"): Removed.
4483 * m2-valprint.c: Likewise.
4484
4485 * event-loop.c (#include <setjmp.h>): Removed.
4486
e8be95ae
SS
44872001-03-06 Stan Shebs <shebs@apple.com>
4488
4489 * MAINTAINERS: Remove self from specific maintenance domains
4490 (macos, gdbserver, documentation, testsuite).
4491
b6ba6518
KB
44922001-03-06 Kevin Buettner <kevinb@redhat.com>
4493
4494 * 29k-share/udi/udip2soc.c, Makefile.in, a29k-tdep.c,
4495 a68v-nat.c, abug-rom.c, aclocal.m4, alpha-nat.c, alpha-tdep.c,
4496 annotate.c, annotate.h, arc-tdep.c, arch-utils.c,
4497 arch-utils.h, arm-tdep.c, ax-gdb.c, ax-gdb.h, ax-general.c,
4498 ax.h, bcache.c, bcache.h, blockframe.c, breakpoint.c,
4499 breakpoint.h, buildsym.c, buildsym.h, c-exp.y, c-lang.c,
4500 c-lang.h, c-typeprint.c, c-valprint.c, call-cmds.h, ch-exp.c,
4501 ch-lang.c, ch-lang.h, ch-typeprint.c, ch-valprint.c,
4502 cli/cli-cmds.h, cli/cli-decode.c, cli/cli-decode.h,
4503 cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.h,
4504 cli/cli-utils.h, cli-out.c, cli-out.h, coff-solib.c,
4505 coff-solib.h, coffread.c, command.h, complaints.c,
4506 complaints.h, completer.c, completer.h,
4507 config/a29k/nm-ultra3.h, config/a29k/tm-a29k.h,
4508 config/a29k/tm-ultra3.h, config/a29k/tm-vx29k.h,
4509 config/a29k/xm-ultra3.h, config/alpha/nm-fbsd.h,
4510 config/alpha/nm-linux.h, config/alpha/nm-osf.h,
4511 config/alpha/nm-osf2.h, config/alpha/nm-osf3.h,
4512 config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h,
4513 config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h,
4514 config/alpha/xm-fbsd.h, config/arc/tm-arc.h,
4515 config/arm/nm-linux.h, config/arm/tm-arm.h,
4516 config/arm/tm-embed.h, config/d10v/tm-d10v.h,
4517 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
4518 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
4519 config/i386/nm-fbsd.h, config/i386/nm-gnu.h,
4520 config/i386/nm-i386bsd.h, config/i386/nm-i386mach.h,
4521 config/i386/nm-i386sco.h, config/i386/nm-i386sol2.h,
4522 config/i386/nm-i386v.h, config/i386/nm-i386v4.h,
4523 config/i386/nm-i386v42mp.h, config/i386/nm-linux.h,
4524 config/i386/nm-nbsd.h, config/i386/nm-nbsdelf.h,
4525 config/i386/nm-ptx4.h, config/i386/nm-sun386.h,
4526 config/i386/nm-symmetry.h, config/i386/tm-cygwin.h,
4527 config/i386/tm-fbsd.h, config/i386/tm-i386.h,
4528 config/i386/tm-i386aix.h, config/i386/tm-i386bsd.h,
4529 config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h,
4530 config/i386/tm-i386m3.h, config/i386/tm-i386mk.h,
4531 config/i386/tm-i386nw.h, config/i386/tm-i386os9k.h,
4532 config/i386/tm-i386sco5.h, config/i386/tm-i386sol2.h,
4533 config/i386/tm-i386v.h, config/i386/tm-i386v4.h,
4534 config/i386/tm-i386v42mp.h, config/i386/tm-linux.h,
4535 config/i386/tm-nbsd.h, config/i386/tm-ptx.h,
4536 config/i386/tm-ptx4.h, config/i386/tm-sun386.h,
4537 config/i386/tm-symmetry.h, config/i386/tm-vxworks.h,
4538 config/i386/xm-fbsd.h, config/i386/xm-i386bsd.h,
4539 config/i386/xm-i386gnu.h, config/i386/xm-i386m3.h,
4540 config/i386/xm-i386mach.h, config/i386/xm-i386mk.h,
4541 config/i386/xm-i386sco.h, config/i386/xm-i386v4.h,
4542 config/i386/xm-linux.h, config/i386/xm-nbsd.h,
4543 config/i386/xm-ptx.h, config/i386/xm-ptx4.h,
4544 config/i386/xm-sun386.h, config/i386/xm-symmetry.h,
4545 config/i960/tm-i960.h, config/i960/tm-mon960.h,
4546 config/i960/tm-nindy960.h, config/i960/tm-vx960.h,
4547 config/ia64/nm-aix.h, config/ia64/nm-linux.h,
4548 config/ia64/tm-aix.h, config/ia64/tm-ia64.h,
4549 config/ia64/tm-linux.h, config/ia64/xm-aix.h,
4550 config/ia64/xm-linux.h, config/m68k/nm-apollo68b.h,
4551 config/m68k/nm-delta68.h, config/m68k/nm-dpx2.h,
4552 config/m68k/nm-hp300bsd.h, config/m68k/nm-hp300hpux.h,
4553 config/m68k/nm-linux.h, config/m68k/nm-sun3.h,
4554 config/m68k/tm-apollo68b.h, config/m68k/tm-cisco.h,
4555 config/m68k/tm-dpx2.h, config/m68k/tm-es1800.h,
4556 config/m68k/tm-hp300bsd.h, config/m68k/tm-hp300hpux.h,
4557 config/m68k/tm-isi.h, config/m68k/tm-linux.h,
4558 config/m68k/tm-m68k.h, config/m68k/tm-m68kv4.h,
4559 config/m68k/tm-mac.h, config/m68k/tm-monitor.h,
4560 config/m68k/tm-nbsd.h, config/m68k/tm-news.h,
4561 config/m68k/tm-os68k.h, config/m68k/tm-sun3.h,
4562 config/m68k/tm-vx68.h, config/m68k/xm-3b1.h,
4563 config/m68k/xm-apollo68b.h, config/m68k/xm-dpx2.h,
4564 config/m68k/xm-hp300bsd.h, config/m68k/xm-hp300hpux.h,
4565 config/m68k/xm-linux.h, config/m68k/xm-m68kv4.h,
4566 config/m68k/xm-mpw.h, config/m68k/xm-news.h,
4567 config/m68k/xm-sun2.h, config/m68k/xm-sun3.h,
4568 config/m68k/xm-sun3os4.h, config/m88k/nm-delta88v4.h,
4569 config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h,
4570 config/m88k/tm-m88k.h, config/m88k/xm-cxux.h,
4571 config/m88k/xm-delta88.h, config/m88k/xm-delta88v4.h,
4572 config/m88k/xm-dgux.h, config/mcore/tm-mcore.h,
4573 config/mips/nm-irix3.h, config/mips/nm-irix4.h,
4574 config/mips/nm-irix5.h, config/mips/nm-mips.h,
4575 config/mips/nm-news-mips.h, config/mips/tm-bigmips.h,
4576 config/mips/tm-embed.h, config/mips/tm-embed64.h,
4577 config/mips/tm-embedl.h, config/mips/tm-embedl64.h,
4578 config/mips/tm-irix3.h, config/mips/tm-irix5.h,
4579 config/mips/tm-mips.h, config/mips/tm-mips64.h,
4580 config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h,
4581 config/mips/tm-tx39.h, config/mips/tm-tx39l.h,
4582 config/mips/tm-vr4100.h, config/mips/tm-vr4300.h,
4583 config/mips/tm-vr4300el.h, config/mips/tm-vr4xxx.h,
4584 config/mips/tm-vr4xxxel.h, config/mips/tm-vr5000.h,
4585 config/mips/tm-vr5000el.h, config/mips/xm-irix3.h,
4586 config/mips/xm-irix4.h, config/mips/xm-irix5.h,
4587 config/mips/xm-mips.h, config/mips/xm-mipsm3.h,
4588 config/mips/xm-mipsv4.h, config/mips/xm-news-mips.h,
4589 config/mips/xm-riscos.h, config/mn10200/tm-mn10200.h,
4590 config/mn10300/tm-mn10300.h, config/nm-gnu.h,
4591 config/nm-linux.h, config/nm-lynx.h, config/nm-m3.h,
4592 config/nm-sysv4.h, config/none/nm-none.h,
4593 config/none/tm-none.h, config/none/xm-none.h,
4594 config/ns32k/nm-nbsd.h, config/ns32k/nm-umax.h,
4595 config/ns32k/tm-merlin.h, config/ns32k/tm-nbsd.h,
4596 config/ns32k/tm-ns32km3.h, config/ns32k/tm-umax.h,
4597 config/ns32k/xm-merlin.h, config/ns32k/xm-ns32km3.h,
4598 config/pa/nm-hppab.h, config/pa/nm-hppah.h,
4599 config/pa/nm-hppao.h, config/pa/tm-hppa.h,
4600 config/pa/tm-hppa64.h, config/pa/tm-hppah.h,
4601 config/pa/xm-hppab.h, config/pa/xm-hppah.h,
4602 config/powerpc/nm-aix.h, config/powerpc/nm-linux.h,
4603 config/powerpc/nm-macos.h, config/powerpc/nm-nbsd.h,
4604 config/powerpc/tm-cygwin.h, config/powerpc/tm-linux.h,
4605 config/powerpc/tm-macos.h, config/powerpc/tm-ppc-aix.h,
4606 config/powerpc/tm-ppc-eabi.h, config/powerpc/tm-ppc-nw.h,
4607 config/powerpc/tm-ppcle-eabi.h, config/powerpc/tm-solaris.h,
4608 config/powerpc/xm-aix.h, config/powerpc/xm-linux.h,
4609 config/powerpc/xm-mpw.h, config/rs6000/nm-rs6000.h,
4610 config/rs6000/tm-rs6000.h, config/rs6000/tm-rs6000ly.h,
4611 config/rs6000/xm-aix4.h, config/rs6000/xm-rs6000.h,
4612 config/sh/tm-linux.h, config/sh/tm-sh.h, config/sh/tm-wince.h,
4613 config/sparc/nm-linux.h, config/sparc/nm-nbsd.h,
4614 config/sparc/nm-nbsdelf.h, config/sparc/nm-sparclynx.h,
4615 config/sparc/nm-sun4os4.h, config/sparc/nm-sun4sol2.h,
4616 config/sparc/tm-linux.h, config/sparc/tm-sp64.h,
4617 config/sparc/tm-sp64sim.h, config/sparc/tm-sparc.h,
4618 config/sparc/tm-sparclet.h, config/sparc/tm-sparclite.h,
4619 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
4620 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
4621 config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
4622 config/tic80/tm-tic80.h, config/tm-linux.h, config/tm-lynx.h,
4623 config/tm-sysv4.h, config/v850/tm-v850.h, config/vax/tm-vax.h,
4624 config/w65/tm-w65.h, config/xm-aix4.h, config/xm-lynx.h,
4625 config/xm-mpw.h, config/xm-nbsd.h, config/xm-sysv4.h,
4626 config/z8k/tm-z8k.h, configure.in, core-aout.c, core-regset.c,
4627 core-sol2.c, corefile.c, corelow.c, cp-valprint.c,
4628 cpu32bug-rom.c, cxux-nat.c, d10v-tdep.c, d30v-tdep.c,
4629 dbug-rom.c, dbxread.c, dcache.c, dcache.h, defs.h,
4630 delta68-nat.c, demangle.c, dink32-rom.c, dpx2-nat.c, dsrec.c,
4631 dstread.c, dve3900-rom.c, dwarf2read.c, dwarfread.c,
4632 elfread.c, environ.c, environ.h, eval.c, event-loop.c,
4633 event-loop.h, event-top.c, exec.c, expprint.c, f-exp.y,
4634 f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c, findvar.c,
4635 fork-child.c, fr30-tdep.c, frame.c, frame.h, gdb-events.c,
4636 gdb-events.h, gdb-events.sh, gdb-stabs.h, gdb.1, gdb_string.h,
4637 gdb_thread_db.h, gdbcmd.h, gdbcore.h, gdbserver/Makefile.in,
4638 gdbserver/gdbreplay.c, gdbserver/gdbserver.1,
4639 gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
4640 gdbserver/low-lynx.c, gdbserver/low-nbsd.c,
4641 gdbserver/low-sim.c, gdbserver/low-sparc.c,
4642 gdbserver/low-sun3.c, gdbserver/remote-utils.c,
4643 gdbserver/server.c, gdbserver/server.h, gdbserver/utils.c,
4644 gdbthread.h, gdbtypes.c, gdbtypes.h, gnu-nat.c, gnu-nat.h,
4645 gnu-regex.c, gnu-regex.h, h8300-tdep.c, h8500-tdep.c,
4646 hp-psymtab-read.c, hp-symtab-read.c, hp300ux-nat.c,
4647 hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c, hpread.c,
4648 hpread.h, hpux-thread.c, i386-tdep.c, i386aix-nat.c,
4649 i386b-nat.c, i386gnu-nat.c, i386ly-tdep.c, i386m3-nat.c,
4650 i386mach-nat.c, i386nbsd-nat.c, i386nbsd-tdep.c, i386v-nat.c,
4651 i386v4-nat.c, i387-tdep.c, i960-tdep.c, infcmd.c, inferior.h,
4652 inflow.c, infptrace.c, infrun.c, inftarg.c, infttrace.c,
4653 irix4-nat.c, irix5-nat.c, isi-xdep.c, jv-exp.y, jv-lang.c,
4654 jv-lang.h, jv-typeprint.c, jv-valprint.c, kdb-start.c,
4655 kod-cisco.c, kod.c, language.c, language.h, lin-thread.c,
4656 linespec.c, linespec.h, linux-thread.c, lynx-nat.c, m2-exp.y,
4657 m2-lang.c, m2-lang.h, m2-typeprint.c, m2-valprint.c, m3-nat.c,
4658 m32r-rom.c, m32r-tdep.c, m68k-tdep.c, m68klinux-nat.c,
4659 m68knbsd-nat.c, m88k-nat.c, m88k-tdep.c, mac-nat.c,
4660 mac-xdep.c, main.c, maint.c, mcore-rom.c, mcore-tdep.c,
4661 mdebugread.c, mem-break.c, minimon.h, minsyms.c, mips-nat.c,
4662 mips-tdep.c, mipsm3-nat.c, mipsread.c, mipsv4-nat.c,
4663 mn10200-tdep.c, mn10300-tdep.c, mon960-rom.c, monitor.c,
4664 monitor.h, news-xdep.c, nindy-share/env.h, nindy-tdep.c,
4665 nlm/Makefile.in, nlmread.c, ns32k-tdep.c, ns32km3-nat.c,
4666 ns32knbsd-nat.c, objfiles.c, objfiles.h, ocd.c, ocd.h,
4667 op50-rom.c, os9kread.c, osfsolib.c, p-exp.y, pa64solib.c,
4668 pa64solib.h, parse.c, parser-defs.h, partial-stab.h,
4669 ppc-bdm.c, ppc-linux-nat.c, ppc-linux-tdep.c, ppcbug-rom.c,
4670 ppcnbsd-nat.c, printcmd.c, proc-api.c, proc-events.c,
4671 proc-flags.c, proc-utils.h, proc-why.c, procfs.c, ptx4-nat.c,
4672 rdi-share/Makefile.in, rdi-share/aclocal.m4, regcache.c,
4673 regcache.h, remote-adapt.c, remote-array.c, remote-bug.c,
4674 remote-e7000.c, remote-eb.c, remote-es.c, remote-est.c,
4675 remote-hms.c, remote-mips.c, remote-mm.c, remote-nindy.c,
4676 remote-nrom.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
4677 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
4678 remote-utils.c, remote-utils.h, remote-vx.c, remote.c,
4679 remote.h, reply_mig_hack.awk, rom68k-rom.c, rs6000-nat.c,
4680 rs6000-tdep.c, scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h,
4681 scm-valprint.c, ser-e7kpc.c, ser-mac.c, ser-ocd.c, ser-pipe.c,
4682 ser-tcp.c, ser-unix.c, serial.c, serial.h, sh-tdep.c,
4683 sh3-rom.c, sol-thread.c, solib-aix5.c, solib-svr4.c, solib.c,
4684 solib.h, solist.h, somread.c, somsolib.c, somsolib.h,
4685 source.c, sparc-nat.c, sparc-tdep.c, sparcl-tdep.c,
4686 sparclet-rom.c, srec.h, stabsread.c, stabsread.h, stack.c,
4687 standalone.c, stop-gdb.c, stuff.c, sun3-nat.c, sun386-nat.c,
4688 symfile.c, symfile.h, symm-nat.c, symm-tdep.c, symmisc.c,
4689 symtab.c, symtab.h, target.c, target.h, terminal.h, thread.c,
4690 tic80-tdep.c, top.c, top.h, tracepoint.c, tracepoint.h,
4691 typeprint.c, ui-file.c, ui-file.h, ui-out.h, ultra3-nat.c,
4692 ultra3-xdep.c, umax-xdep.c, utils.c, v850-tdep.c, v850ice.c,
4693 valarith.c, valops.c, valprint.c, value.h, values.c, varobj.h,
4694 vax-tdep.c, version.h, vx-share/vxWorks.h, vx-share/xdr_ld.c,
4695 vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h,
4696 vx-share/xdr_rdb.c, w65-tdep.c, w89k-rom.c, win32-nat.c,
4697 wrapper.c, wrapper.h, xcoffread.c, xcoffsolib.c, xcoffsolib.h,
4698 xmodem.c, xmodem.h, z8k-tdep.c: Update/correct copyright
4699 notices.
4700
596c9d4b
KB
47012001-03-05 Kevin Buettner <kevinb@redhat.com>
4702
4703 * acconfig.h (HAVE_PRSYSENT_T, HAVE_PR_SIGSET_T,
4704 HAVE_PR_SIGACTION64_T, HAVE_PR_SIGINFO64_T): New configure
4705 macros.
4706 * configure.in (prsysent_t, pr_sigset_t, pr_sigaction64_t,
4707 pr_siginfo64_t): Test for these typedefs in <sys/procfs.h>.
4708 (sys/fault.h, sys/select.h): Test for presence of these
4709 header files.
4710 (ia64-*-aix*): Define NEW_PROC_API for this host.
4711 * configure: Regenerate.
4712 * config.in: Regenerate.
4713
4714 * configure.host (ia64-*-aix*): New host.
4715 * configure.tgt (ia64-*-aix*): New target.
8a5c92d3 4716
eccbb20d
AC
47172001-03-05 Andrew Cagney <ac131313@redhat.com>
4718
4719 * TODO (GDB 5.1 Known Problems): Document z8k as broken.
4720
9ff2efe5
CF
4721Mon Mar 5 11:56:09 2001 Christopher Faylor <cgf@cygnus.com>
4722
4723 * wince.c: Change realloc to xrealloc throughout.
61e2d1f3 4724 (handle_load_dll): Use void * rather than PTR in argument.
9ff2efe5 4725
58841d58
AC
47262001-03-04 Andrew Cagney <ac131313@redhat.com>
4727
4728 * ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.
4729 * ocd.c (ocd_xfer_memory): Ditto.
4730 * ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops.
4731 * MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as
4732 buildable with ,-Werror.
4733
4734 * Makefile.in (symfile_h): Define.
4735 (mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h).
4736 * mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h".
4737 * MAINTAINERS: Document mcore-elf and mcore-pe as buildable with
4738 ,-Werror.
4739
4740 * dsrec.c (make_srec): Fix internal_error fmt arg.
4741 * MAINTAINERS: Document i960-coff as buildable with ,-Werror.
4742
3cad1ac9
KB
47432001-03-03 Kevin Buettner <kevinb@redhat.com>
4744
4745 * solib-aix5.c (aix5_relocate_main_executable): Don't use ANOFFSET
4746 as an lvalue.
4747
b9fa2e73
AC
47482001-03-02 Andrew Cagney <ac131313@redhat.com>
4749
130c39e6
AC
4750 * MAINTAINERS (paper trail): Update.
4751
b9fa2e73
AC
4752 * CONTRIBUTE: Update note on ``Fix PR gdb/4706'' convention.
4753
c53efe6e
AC
47542001-03-02 Andrew Cagney <ac131313@redhat.com>
4755
4756 From 2001-03-01 Tom Rix <trix@redhat.com>:
4757 * mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc''
4758 parameter to mn10200_analyze_prologue.
4759
4760 * config/mn10200/tm-mn10200.h: Include "regcache.h".
4761 * MAINTAINERS: Document that mn10200-elf target is buildable.
4762
52b5c2eb
KB
47632001-03-02 Kevin Buettner <kevinb@redhat.com>
4764
4765 * config/ia64/xm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): Move defines
4766 from here...
4767 * config/ia64/nm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): ...to here.
4768 (MONTEREY): Don't define.
4769 (AIX5): Define.
4770
2edb46b1
MH
47712001-03-02 Matt Hiller <hiller@redhat.com>
4772
4773 * config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
4774
92c71a3e
KB
47752001-03-02 Kevin Buettner <kevinb@redhat.com>
4776
82a2886f 4777 * sparc-nat.c (sparc-nat.c): Don't include self.
92c71a3e 4778
e2a4c6c1
C
47792001-03-01 J.T. Conklin <jtc@redback.com>
4780
3a644c8d
C
4781 * defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
4782 if __CYGWIN32__ is set from here.
4783 * config/i386/xm-cygwin.h: To here.
4784 * config/powerpc/xm-cygwin.h: To here.
4785
e2a4c6c1
C
4786 * i386-stub.c (handle_exception): Use 'T' response packet.
4787
4b33390a
MS
47882001-03-01 Michael Snyder <msnyder@mvstp600e.cygnus.com>
4789
4790 * m32r-tdep.c: Fix cut and paste error in comment.
4791
47922001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
4793
4794 * symtab.c (print_msymbol_info): Print addresses by portable method
4795 longest_local_hex_string_custom. Allow for 64-bit addresses.
4796
ba41d549
C
47972001-03-01 J.T. Conklin <jtc@redback.com>
4798
4799 * gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.
4800 (MAX_OF_TYPE): Wrap macro definition in parenthesis.
4801 (MIN_OF_TYPE): Likewise.
4802
4803 * memattr.h (mem_access_mode): Removed extraneous trailing comma.
4804
088d891f
AC
48052001-03-01 Andrew Cagney <ac131313@redhat.com>
4806
4807 * Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
4808 * os9kread.c (os9k_process_one_symbol): Add assert to detect
4809 ``loses if sizeof (char *) > sizeof (int)''.
4810
38266776
AC
48112001-03-01 Andrew Cagney <ac131313@redhat.com>
4812
4813 * gdb_assert.h: Document pragmatics behind gdb_assert's case.
4814
2ad43c4f
AC
48152001-03-01 Andrew Cagney <ac131313@redhat.com>
4816
4817 * Makefile.in (gdbtk-cmds.o): Add $(regcache_h) to dependency
4818 lists.
4819 (mi-main.o): Ditto.
4820
367e21d8
AC
48212001-03-01 Andrew Cagney <ac131313@redhat.com>
4822
4823 * Makefile.in (regcache_h): Define. Add $(regcache_h) to
4824 dependency lists.
4825
d85310f7
MS
48262001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
4827
c0d8fd9a
MS
4828 * printcmd.c (print_address_numeric): Update comments to refer
4829 to sizeof addr, not sizeof pointer.
4830 (x_command): Remove needless whitespace (shorten long line).
4831
d85310f7
MS
4832 * breakpoint.c (print_one_breakpoint): Formatting clean-up.
4833 (read_memory_nobpt): Ditto.
4834 (ep_is_catchpoint): Ditto.
4835 (ep_is_shlib_catchpoint): Ditto.
4836 (ep_is_exception_catchpoint): Ditto.
4837 (describe_other_breakpoints): Ditto.
4838
97900206
AC
4839Wed Feb 28 20:37:36 2001 Andrew Cagney <ac131313@redhat.com>
4840
4841 * regcache.h (register_valid): Fix comment documenting valid
4842 states.
4843
4e052eda
AC
4844Tue Feb 27 23:56:23 2001 Andrew Cagney <ac131313@redhat.com>
4845
4846 From Steven Johnson:
4847 * regcache.h: New file.
4848
4849 * value.h (read_register_bytes, read_register_gen)
4850 (write_register_gen, write_register_bytes)
4851 (read_register, read_register_pid)
4852 (read_signed_register, read_signed_register_pid)
4853 (write_register, write_register_pid)
4854 (register_cached, set_register_cached)
4855 (register_changed, register_buffer)
4856 (registers_changed, supply_register): Move declaration from here.
4857 * regcache.h: To here.
4858 * gdbcore.h (registers_fetched): Ditto.
4859 * inferior.h (registers, registers_valid): Ditto.
4860
4861 * regcache.c (generic_target_read_pc, read_pc_pid, read_pc,
4862 generic_target_write_pc, write_pc_pid, write_pc,
4863 generic_target_read_sp, read_sp, generic_target_write_sp,
4864 write_sp, generic_target_read_fp, read_fp,
4865 generic_target_write_fp, write_fp): Add note that these functions
4866 will be moved from this file.
4867
4868 * a29k-tdep.c: Include "regcache.h".
4869 * a68v-nat.c: Ditto.
4870 * abug-rom.c: Ditto.
4871 * alpha-nat.c: Ditto.
4872 * alpha-tdep.c: Ditto.
4873 * alphabsd-nat.c: Ditto.
4874 * arc-tdep.c: Ditto.
4875 * arm-linux-nat.c: Ditto.
4876 * arm-linux-tdep.c: Ditto.
4877 * arm-tdep.c: Ditto.
4878 * blockframe.c: Ditto.
4879 * core-aout.c: Ditto.
4880 * core-sol2.c: Ditto.
4881 * corelow.c: Ditto.
4882 * cpu32bug-rom.c: Ditto.
4883 * cxux-nat.c: Ditto.
4884 * d10v-tdep.c: Ditto.
4885 * d30v-tdep.c: Ditto.
4886 * dbug-rom.c: Ditto.
4887 * dink32-rom.c: Ditto.
4888 * dve3900-rom.c: Ditto.
4889 * findvar.c: Ditto.
4890 * fr30-tdep.c: Ditto.
4891 * frame.c: Ditto.
4892 * go32-nat.c: Ditto.
4893 * h8300-tdep.c: Ditto.
4894 * h8500-tdep.c: Ditto.
4895 * hp300ux-nat.c: Ditto.
4896 * hppa-tdep.c: Ditto.
4897 * hppab-nat.c: Ditto.
4898 * hppah-nat.c: Ditto.
4899 * hppam3-nat.c: Ditto.
4900 * hpux-thread.c: Ditto.
4901 * i386-linux-nat.c: Ditto.
4902 * i386-linux-tdep.c: Ditto.
4903 * i386-tdep.c: Ditto.
4904 * i386aix-nat.c: Ditto.
4905 * i386b-nat.c: Ditto.
4906 * i386bsd-nat.c: Ditto.
4907 * i386gnu-nat.c: Ditto.
4908 * i386ly-tdep.c: Ditto.
4909 * i386m3-nat.c: Ditto.
4910 * i386mach-nat.c: Ditto.
4911 * i386nbsd-nat.c: Ditto.
4912 * i386v4-nat.c: Ditto.
4913 * i387-nat.c: Ditto.
4914 * i387-tdep.c: Ditto.
4915 * i960-tdep.c: Ditto.
4916 * ia64-aix-nat.c: Ditto.
4917 * ia64-linux-nat.c: Ditto.
4918 * ia64-tdep.c: Ditto.
4919 * infptrace.c: Ditto.
4920 * infrun.c: Ditto.
4921 * irix4-nat.c: Ditto.
4922 * irix5-nat.c: Ditto.
4923 * lin-lwp.c: Ditto.
4924 * lin-thread.c: Ditto.
4925 * lynx-nat.c: Ditto.
4926 * m3-nat.c: Ditto.
4927 * m32r-rom.c: Ditto.
4928 * m32r-tdep.c: Ditto.
4929 * m68hc11-tdep.c: Ditto.
4930 * m68k-tdep.c: Ditto.
4931 * m68klinux-nat.c: Ditto.
4932 * m68knbsd-nat.c: Ditto.
4933 * m68knbsd-tdep.c: Ditto.
4934 * m88k-nat.c: Ditto.
4935 * m88k-tdep.c: Ditto.
4936 * mac-nat.c: Ditto.
4937 * mcore-rom.c: Ditto.
4938 * mcore-tdep.c: Ditto.
4939 * mi/mi-main.c: Ditto.
4940 * mips-nat.c: Ditto.
4941 * mips-tdep.c: Ditto.
4942 * mipsm3-nat.c: Ditto.
4943 * mipsv4-nat.c: Ditto.
4944 * mn10200-tdep.c: Ditto.
4945 * mn10300-tdep.c: Ditto.
4946 * monitor.c: Ditto.
4947 * ns32km3-nat.c: Ditto.
4948 * ns32knbsd-nat.c: Ditto.
4949 * ocd.c: Ditto.
4950 * pa64solib.c: Ditto.
4951 * ppc-bdm.c: Ditto.
4952 * ppc-linux-nat.c: Ditto.
4953 * ppc-linux-tdep.c: Ditto.
4954 * ppcbug-rom.c: Ditto.
4955 * ppcnbsd-nat.c: Ditto.
4956 * ptx4-nat.c: Ditto.
4957 * regcache.c: Ditto.
4958 * remote-adapt.c: Ditto.
4959 * remote-array.c: Ditto.
4960 * remote-bug.c: Ditto.
4961 * remote-e7000.c: Ditto.
4962 * remote-eb.c: Ditto.
4963 * remote-es.c: Ditto.
4964 * remote-est.c: Ditto.
4965 * remote-hms.c: Ditto.
4966 * remote-mips.c: Ditto.
4967 * remote-mm.c: Ditto.
4968 * remote-nindy.c: Ditto.
4969 * remote-os9k.c: Ditto.
4970 * remote-rdi.c: Ditto.
4971 * remote-rdp.c: Ditto.
4972 * remote-sds.c: Ditto.
4973 * remote-sim.c: Ditto.
4974 * remote-st.c: Ditto.
4975 * remote-udi.c: Ditto.
4976 * remote-utils.c: Ditto.
4977 * remote-vx.c: Ditto.
4978 * remote-vx29k.c: Ditto.
4979 * remote-vx68.c: Ditto.
4980 * remote-vx960.c: Ditto.
4981 * remote-vxmips.c: Ditto.
4982 * remote-vxsparc.c: Ditto.
4983 * remote.c: Ditto.
4984 * rom68k-rom.c: Ditto.
4985 * rs6000-nat.c: Ditto.
4986 * rs6000-tdep.c: Ditto.
4987 * sh-tdep.c: Ditto.
4988 * sh3-rom.c: Ditto.
4989 * sol-thread.c: Ditto.
4990 * solib-svr4.c: Ditto.
4991 * somsolib.c: Ditto.
4992 * sparc-nat.c: Ditto.
4993 * sparc-tdep.c: Ditto.
4994 * sparcl-tdep.c: Ditto.
4995 * sparclet-rom.c: Ditto.
4996 * sun3-nat.c: Ditto.
4997 * sun386-nat.c: Ditto.
4998 * symm-nat.c: Ditto.
4999 * target.c: Ditto.
5000 * thread-db.c: Ditto.
5001 * thread.c: Ditto.
5002 * tic80-tdep.c: Ditto.
5003 * tracepoint.c: Ditto.
5004 * ultra3-nat.c: Ditto.
5005 * umax-xdep.c: Ditto.
5006 * uw-thread.c: Ditto.
5007 * v850-tdep.c: Ditto.
5008 * v850ice.c: Ditto.
5009 * valops.c: Ditto.
5010 * w65-tdep.c: Ditto.
5011 * w89k-rom.c: Ditto.
5012 * win32-nat.c: Ditto.
5013 * wince.c: Ditto.
5014 * z8k-tdep.c: Ditto.
5015
07d48ebc
MH
50162001-02-28 Matt Hiller <hiller@redhat.com>
5017
5018 * MAINTAINERS: Add Matt Hiller to Write After Approval list.
5019
2edb46b1
MH
50202001-02-27 Matt Hiller <hiller@redhat.com>
5021
5022 * mn10300-tdep.c (mn10300_stab_reg_to_regnum): New function.
5023 (mn10300_gdbarch_init): Set appropriate elements of gdbarch to
5024 mn10300_stab_reg_to_regnum.
5025
993f3aa5
DT
5026Tue Feb 27 16:56:13 2001 David Taylor <taylor@redhat.com>
5027
5028 * symtab.c (search_symbols): Fix off by one error in test for
5029 error.
5030
86168def
AC
50312001-02-23 Andrew Cagney <ac131313@redhat.com>
5032
5033 * config/sparc/sp64linux.mt: New file.
5034 * configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
5035 * configure.host: Recognize sparc64-*-linux* as a linux host.
5036
5037 From 2000-03-17 Jakub Jelinek <jakub@redhat.com>:
5038 * config/sparc/tm-sp64linux.h: New file.
5039
e1e9e218
KB
50402001-02-24 Kevin Buettner <kevinb@redhat.com>
5041
5042 * buildsym.c (push_subfile, pop_subfile): Replace call to abort()
5043 with call to internal_error().
5044 * dbxread.c (process_one_symbol): Likewise.
5045 * exec.c (build_section_table, xfer_memory): Likewise.
5046 * h8500-tdep.c (h8500_register_size, h8500_register_virtual_type):
5047 Likewise.
5048 * hpread.c (hpread_type_translate, hpread_read_array_type)
5049 (hpread_type_lookup): Likewise.
5050 * i386-tdep.c (gdb_print_insn_i386): Likewise.
5051 * i960-tdep.c (mem): Likewise
5052 * inflow.c (set_sigio_trap, clear_sigio_trap): Likewise.
5053 * infptrace.c (child_resume): Likewise.
5054 * infttrace.c (_initialize_infttrace): Likewise.
5055 * language.c (binop_result_type, add_language): Likewise.
5056 * lynx-nat.c (store_inferior_registers): Likewise.
5057 * m3-nat.c (port_chain_insert, m3_trace_me): Likewise.
5058 * mdebugread.c (parse_partial_symbols): Likewise.
5059 * monitor.c (monitor_printf_noecho, monitor_printf)
5060 (monitor_dump_regs): Likewise.
5061 * ocd.c (stu_put_packet): Likewise.
5062 * printcmd.c (decode_format, print_scalar_formatted): Likewise.
5063 * remote-bug.c (bug_open): Likewise.
5064 * remote-e7000.c (fetch_regs_from_dump, e7000_wait): Likewise.
5065 * remote-es.c (es1800_read_bytes): Likewise.
5066 * remote-mips.c (common_breakpoint): Likewise.
5067 * remote-rdp.c (send_rdp): Likewise.
5068 * remote-sds.c (putmessage): Likewise.
5069 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
5070 Likewise.
5071 * sparcl-tdep.c (sparclite_download): Likewise.
5072 * symtab.c (lookup_partial_symbol): Likewise.
5073 * target.c (push_target, pop_target, initialize_targets): Likewise.
5074 * utils.c (internal_verror, malloc_botch, wrap_here, decimal2str):
5075 Likewise.
5076 * valprint.c (print_decimal, print_longest, print_longest)
5077 (strcat_longest): Likewise.
5078 * w65-tdep.c (init_frame_pc, w65_push_dummy_frame): Likewise.
5079 * xmodem.c (xmodem_send_packet): Likewise.
5080 * z8k-tdep.c (init_frame_pc, z8k_push_dummy_frame): Likewise.
5081 * config/h8500/tm-h8500.h (STORE_STRUCT_RETURN): Likewise.
5082 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE)
5083 (STORE_RETURN_VALUE): Likewise.
5084 * config/ns32k/nm-umax.h (REGISTER_U_ADDR): Likewise.
5085 * config/ns32k/xm-merlin.h (REGISTER_U_ADDR): Likewise.
5086 * config/z8k/tm-z8k.h (STORE_STRUCT_RETURN, STORE_RETURN_VALUE):
5087 Likewise.
5088
17fceda3
AC
50892001-02-23 Andrew Cagney <ac131313@redhat.com>
5090
2126d5fb
AC
5091 * CONTRIBUTE: Document how to cite a problem report.
5092 * TODO: Note need to replace CONTRIBUTE with generated file.
5093
17fceda3
AC
5094 * CONTRIBUTE: Mention that patches do not need to include the
5095 generated files gdbarch.h and gdbarch.c.
5096
60edd51d
AC
50972001-02-21 Andrew Cagney <ac131313@redhat.com>
5098
5099 * value.h (get_saved_register): Move from here.
5100 * frame.h: To here.
5101
d7fa2ae2
KB
51022001-02-21 Kevin Buettner <kevinb@redhat.com>
5103
5104 * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
5105 (in_solib_dynsym_resolve_code): Add declaration.
5106 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
5107 in_solib_dynsym_resolve_code() rather than
5108 in_svr4_dynsym_resolve_code(). Also, removed the ifdefs
5109 which caused this macro to only be defined when
5110 SVR4_SHARED_LIBS is defined.
5111 * solib.c (in_solib_dynsym_resolve_code): New function.
5112 * solist.h (struct target_so_ops): Add new member
5113 in_dynsym_resolve_code.
5114 * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
5115 in_svr4_dynsym_resolve_code. Also, made static.
5116 (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
5117 member in aix5_so_ops.
5118 * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
5119 in_svr4_dynsym_resolve_code. Also, added second version
5120 of this function which will be used when SVR4_SHARED_LIBS
5121 is not defined.
5122 (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
5123 member in svr4_so_ops.
5124
5125 * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
5126 config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
5127 config/ia64/xm-aix.h: New files.
5128 * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
5129 (ia64_aix_sigcontext_register_address): New declaration.
aacc1edd 5130 (ia64_gdbarch_init): Provide for initialization of
d7fa2ae2
KB
5131 sigcontext_register_address member of struct tdep when
5132 on target is detected to be running AIX.
5133 * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
5134 this list.
5135
fbad0893
KB
51362001-02-20 Kevin Buettner <kevinb@redhat.com>
5137
5138 * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
5139 * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
5140 for thread support instead of linux-thread.o and lin-thread.o.
5141 * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
5142 ATTACH_LWP): Define to use the following lin-lwp.c functions...
5143 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
5144 lin_lwp_attach_lwp): Declare.
5145
1adad886
AC
51462001-02-20 Andrew Cagney <ac131313@redhat.com>
5147
5148 * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
5149 formatting.
5150
0579d647
KB
51512001-02-20 Kevin Buettner <kevinb@redhat.com>
5152
5153 * solib-aix5.c (solib-svr4.h): Remove include.
5154 (solib_break_names): Delete names which aren't actually
5155 used by AIX5.
5156 (bkpt_names): Remove.
5157 (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
5158 to STREQ() with equivalent calls to strcmp().
5159 (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
5160 aix5_solib_create_inferior_hook): Revise comments.
5161 (enable_break): Remove old ``bkpt_names'' code.
5162
d65fe839
AC
51632001-02-19 Andrew Cagney <ac131313@redhat.com>
5164
5165 * Makefile.in (SFILES): Add frame.c .
5166 (COMMON_OBS): Add frame.o .
5167 (frame.o): New target.
5168
5169 * frame.c (find_saved_register):
5170 (default_get_saved_register):
5171 (get_saved_register):
5172 (read_relative_register_raw_bytes_for_frame):
5173 (read_relative_register_raw_bytes): Moved to here.
5174 * regcache.c: From here.
5175
60cf7a85
KB
51762001-02-20 Kevin Buettner <kevinb@redhat.com>
5177
5178 * solib-aix5.c: New file.
5179
291b7e04
MH
51802001-02-20 Martin M. Hunt <hunt@redhat.com>
5181
a43ad351
MH
5182 * solib.c (info_sharedlibrary_command): Don't assume pointers
5183 are the same size of long, call longest_local_hex_string_custom().
5184
58bc91c9
MH
5185 * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
5186 extract_signed_integer() should be called instead of
5187 extract_address().
5188
51892001-02-20 Martin M. Hunt <hunt@redhat.com>
5190
291b7e04
MH
5191 * MAINTAINERS: Add Martin Hunt to Write After Approval list.
5192
d02ee681
AC
51932001-02-19 Andrew Cagney <ac131313@redhat.com>
5194
5195 Frm 2001-02-09 Jim Kingdon <jkingdon@engr.sgi.com>:
5196 * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
5197 then floating point registers are 8 bytes.
5198
a858089e
MS
51992001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
5200
5201 * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
5202 accomodate 64-bit addresses.
5203
23cc649f
EZ
52042001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5205
5206 From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
5207 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
5208 lookup_symbol, when trying to find a symbol with a mangled name,
5209 to avoid infinite recursion.
5210
0db23c95
AC
52112001-02-18 Andrew Cagney <ac131313@redhat.com>
5212
5213 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
5214
911413e6
JL
52152001-02-19 Jonathan Larmour <jlarmour@redhat.com>
5216
5217 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
5218 (save_prologue_cache): Ditto.
5219
8d1de4b7
EZ
52202001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5221
5222 From: innadadadavida@yahoo.com:
5223 * partial-stab.h (switch): Check that pst is not null
5224 before dereferencing it.
5225
3017564a
EZ
52262001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5227
5228 From Andrew Cagney <cagney@b1.cygnus.com>:
5229 * symfile.c (add_symbol_file_command): Always initialize
5230 my_cleanup using a NULL cleanup.
5231
fa58ee11
EZ
52322001-02-19 Eli Zaretskii <eliz@is.elta.co.il>
5233
5234 * demangle.c (demangling_style_names): New variable.
5235 (_initialize_demangler): Fill demangling_style_names with the
5236 names of known demangling styles from libiberty_demanglers[]. Use
5237 add_set_enum_cmd instead of add_set_cmd, to get completion on
5238 demangling style names.
5239
5240 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
5241 file-name completion.
5242
5243 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
5244
5245 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
5246 `solib-absolute-prefix'.
5247
5248 * tracepoint.c (_initialize_tracepoint): Ditto for
5249 `save-tracepoints'.
5250
5251 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
5252
5253 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
5254 file-name completion.
5255
5256 * infcmd.c (_initialize_infcmd): Make the following commands use
5257 the file-name completer: `tty', `args', `path', `paths', and
5258 `run'.
5259
7830cf6f
EZ
52602001-02-18 Eli Zaretskii <eliz@is.elta.co.il>
5261
89dea5aa
EZ
5262 * go32-nat.c: Include i387-nat.h.
5263 (fetch_register): New function, uses some of the guts of
5264 go32_fetch_registers and calls i387_supply_register.
5265 (go32_fetch_registers): Most of the code moved into
5266 fetch_register. Use i387_supply_fsave.
5267 (store_register): Use i387_fill_fsave instead of custom code.
5268 (go32_store_registers): Use i387_fill_fsave.
5269
5270 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
5271
5272 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
5273
7830cf6f
EZ
5274 * completer.c (gdb_completer_file_name_break_characters): Remove
5275 slash from file-name break characters.
5276 [__MSDOS__]: Special definition for DOS/Windows file names.
5277 (line_completion_function): When completing on file names, bump
5278 `p' to the first file-name constituent character of `word', before
5279 invoking the completer.
5280
f31e928c
MK
52812001-02-17 Mark Kettenis <kettenis@gnu.org>
5282
5283 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
5284 consistently for parameter names. Fix comments accordingly.
5285 (i387_supply_register): New function.
5286 (i387_supply_fsave): Implement using i387_supply_register.
5287 * i387-nat.h: Use regnum instead of regno consistently for
5288 parameter names. Fix comments accordingly.
5289 (i387_supply_register): New prototype.
5290
d696208f
MS
52912001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
5292
5293 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
5294 instead of TARGET_PTR_BIT (to support Harvard architectures).
5295
971429b4
AC
52962001-02-16 Andrew Cagney <ac131313@redhat.com>
5297
5298 From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
5299 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
5300 argument to parameter list and to call in order to conform to
5301 to_xfer_memory field of struct target_ops.
5302
9ca0e47c
MC
53032001-02-12 Michael Chastain <chastain@redhat.com>
5304
da7dd56f 5305 * somsolib.c (som_solib_add_solib_objfile): Do not use
9ca0e47c
MC
5306 section relocation feature of syms_from_objfile. Do my own
5307 section relocation, offsetting each section of the som by
5308 either text_addr - text_link_addr or data_start.
5309
7d65bd2d
AC
53102001-02-16 Andrew Cagney <ac131313@redhat.com>
5311
5312 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
5313
e33e9692
AC
53142001-02-16 Andrew Cagney <ac131313@redhat.com>
5315
5316 * MAINTAINERS (paper trail): Update.
5317
17dee195
MK
53182001-02-16 Mark Kettenis <kettenis@gnu.org>
5319
5320 * target.h (target_fetch_registers): Fix comment.
5321
0f6e1ba6
AC
53222001-02-15 Andrew Cagney <ac131313@redhat.com>
5323
5324 * f-exp.y: Include <ctype.h>.
5325 (parse_number): Ensure that ``i'' is always initialized.
5326
9a069618
JK
53272001-02-14 Jim Kingdon <jkingdon@engr.sgi.com>
5328
5329 * MAINTAINERS: Add myself to paper trail section.
5330
fc24370e
MS
53312001-02-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5332
5333 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
5334 * configure, config.in: Regenerate.
5335 * corelow.c: Include <sys/file.h> if present.
5336
4b69c284
AC
53372001-02-14 Andrew Cagney <ac131313@redhat.com>
5338
5339 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
5340 declare when have SIGTTOU.
5341
7904f322
EZ
53422001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
5343
5344 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
5345
9e798668
JK
53462001-02-12 Jim Kingdon <jkingdon@engr.sgi.com>
5347
5348 * MAINTAINERS: Update my email address.
5349
65d5a54a
EZ
53502001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
5351
5352 * NEWS: Document that "info symbol" works with COFF debug info and
5353 its variants.
5354
5355 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
5356 symbols whose SYMBOL_BFD_SECTION is NULL.
5357
0cff82d9 53582001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
a8079a9b
PS
5359
5360 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
5361 * xcoffsolib.c (xcoff_solib_address): Renamed from
5362 pc_load_segment_name. Return NULL if address is not in a shared
5363 library. Cleanup shared library name construction, using xasprintf.
5364 Format shared library member names consistent with format in exec.c.
5365 (solib_info): Format shared library member names consistent with
5366 format in exec.c.
5367 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
5368 using xcoff_solib_address for PC_SOLIB definition.
5369 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
5370 needed.
5371
0cff82d9 53722001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4b2e4867
PS
5373
5374 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
5375 with xmalloc calls and cleanups.
5376
0cff82d9 53772001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
d737ece6
PS
5378
5379 * rs6000-nat.c (child_xfer_memory): Add missing parameter
5380 'struct mem_attrib *' required by 2001-01-23 change.
5381
c5bb1243
JK
53822001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
5383
5384 Updates to "make TAGS":
5385 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
5386 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
5387 tahoe-tdep.c.
5388 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
5389
c799ae7b
EZ
53902001-02-08 Eli Zaretskii <eliz@is.elta.co.il>
5391
5392 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
5393
12685e01
AC
5394Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com>
5395
5396 From Dean Luick <luick@cray.com>:
5397 * defs.h (continuation): Remove unused global variable.
5398
7fcca85b
AC
5399Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com>
5400
5401 * configure.tgt: Remove references to convex, pyramid, altos and
5402 tahoe.
5403 * configure.host: Ditto.
5404 * MAINTAINERS: Ditto.
5405 * NEWS: Update.
5406
5407 * tahoe-tdep.c: Delete obsolete file.
5408 * pyr-xdep.c: Ditto.
5409 * pyr-tdep.c: Ditto.
5410 * convex-tdep.c: Ditto.
5411 * convex-xdep.c: Ditto.
5412 * config/tahoe/xm-tahoe.h: Ditto.
5413 * config/tahoe/tm-tahoe.h: Ditto.
5414 * config/tahoe/tahoe.mt: Ditto.
5415 * config/tahoe/tahoe.mh: Ditto.
5416 * config/pyr/xm-pyr.h: Ditto.
5417 * config/pyr/tm-pyr.h: Ditto.
5418 * config/pyr/pyramid.mt: Ditto.
5419 * config/pyr/pyramid.mh: Ditto.
5420 * config/m68k/xm-altos.h: Ditto.
5421 * config/m68k/tm-altos.h: Ditto.
5422 * config/m68k/altos.mt: Ditto.
5423 * config/m68k/altos.mh: Ditto.
5424 * config/convex/xm-convex.h: Ditto.
5425 * config/convex/tm-convex.h: Ditto.
5426 * config/convex/convex.mt: Ditto.
5427 * config/convex/convex.mh: Ditto.
5428 * config/convex/Convex.notes: Ditto.
5429 * config/arm/xm-arm.h: Ditto.
5430 * config/arm/nm-arm.h: Ditto.
5431 * config/arm/arm.mt: Ditto.
5432 * config/arm/arm.mh: Ditto.
5433 * arm-convert.s: Ditto.
5434 * arm-xdep.c: Ditto.
5435 * altos-xdep.c: Ditto.
5436
8e65ff28
AC
5437Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com>
5438
5439 * defs.h (internal_error, internal_verror): Add __FILE__ and
5440 __LINE__ parameter.
5441 * utils.c (internal_error, internal_verror): Update.
5442
5443 * v850-tdep.c: Update calls to internal_error.
5444 * utils.c: Ditto.
5445 * ui-out.c: Ditto.
5446 * ui-file.c: Ditto.
5447 * target.h: Ditto.
5448 * symtab.h: Ditto.
5449 * symm-nat.c: Ditto.
5450 * sparc-tdep.c: Ditto.
5451 * source.c: Ditto.
5452 * serial.c: Ditto.
5453 * rs6000-tdep.c: Ditto.
5454 * rs6000-nat.c: Ditto.
5455 * remote.c: Ditto.
5456 * remote-vx.c: Ditto.
5457 * remote-sim.c: Ditto.
5458 * remote-mips.c: Ditto.
5459 * regcache.c: Ditto.
5460 * objfiles.h: Ditto.
5461 * objfiles.c: Ditto.
5462 * mn10300-tdep.c: Ditto.
5463 * mips-tdep.c: Ditto.
5464 * maint.c: Ditto.
5465 * m68k-tdep.c: Ditto.
5466 * m3-nat.c: Ditto.
5467 * language.c: Ditto.
5468 * infptrace.c: Ditto.
5469 * inferior.h: Ditto.
5470 * infcmd.c: Ditto.
5471 * ia64-tdep.c: Ditto.
5472 * i386-tdep.c: Ditto.
5473 * i386-linux-nat.c: Ditto.
5474 * hppah-nat.c: Ditto.
5475 * go32-nat.c: Ditto.
5476 * findvar.c: Ditto.
5477 * f-lang.c: Ditto.
5478 * elfread.c: Ditto.
5479 * event-loop.c: Ditto.
5480 * dwarf2read.c: Ditto.
5481 * dsrec.c: Ditto.
5482 * d30v-tdep.c: Ditto.
5483 * d10v-tdep.c: Ditto.
5484 * cli/cli-setshow.c: Ditto.
5485 * cli/cli-script.c: Ditto.
5486 * ch-exp.c: Ditto.
5487 * breakpoint.c: Ditto.
5488 * ax-gdb.c: Ditto.
5489 * arch-utils.c: Ditto.
5490 * a29k-tdep.c: Ditto.
5491 * gdb_assert.h: Ditto.
5492 * gdbarch.sh: Ditto.
5493 * gdbarch.h, gdbarch.c: Re-generate.
5494
72290732
AC
54952001-02-07 Andrew Cagney <ac131313@redhat.com>
5496
5497 From Mark Kettenis <kettenis@gnu.org>:
5498 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
5499
a6da1910
AC
55002001-02-07 Andrew Cagney <ac131313@redhat.com>
5501
5502 * remote-sim.c (dump_mem): Cleanup printf format argument.
5503 * MAINTAINERS: Update, mn10300-elf now builds.
5504
153f9905
MK
55052001-02-07 Mark Kettenis <kettenis@gnu.org>
5506
5507 * event-top.c: Remove duplicate #include <signal.h>.
5508
f042532c
AC
55092001-02-06 Andrew Cagney <ac131313@redhat.com>
5510
5511 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
5512 allocated buffer.
5513 (save_inferior_pid): Restore the PID from that tempoary
5514 buffer. Delete the buffer.
5515 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
5516
58cfabe6
AC
55172001-02-06 Andrew Cagney <ac131313@redhat.com>
5518
5519 * MAINTAINERS: Add ``The Obvious Fix Rule''.
5520
ea8a41b8
AC
55212001-02-06 Andrew Cagney <ac131313@redhat.com>
5522
5523 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
5524
95160752
AC
55252001-02-06 Andrew Cagney <ac131313@cygnus.com>
5526
5527 * gdbarch.sh: Include "gdb_assert.h".
5528 (struct gdbarch): Change ``nr_data'' to unsigned.
5529 (alloc_gdbarch_data, free_gdbarch_data): New functions.
5530 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
5531 architecture vector.
5532 (struct gdbarch_data, struct gdbarch_data_registration): Move init
5533 method to gdbarch_data. Add free method, make index unsigned.
5534 (struct gdbarch_data_registry): Make nr unsigned.
5535 (register_gdbarch_data): Add free parameter. Store in
5536 gdbarch_data.
5537 (init_gdbarch_data): Use set_gdbarch_data.
5538 (set_gdbarch_data): New function.
5539
5540 * gdbarch.h, gdbarch.c: Re-generate.
5541
64122a8b
MS
55422001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG>
5543
5544 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
5545 fprintf_filtered with correct arguments.
5546
e6cbd02a
MS
55472001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
5548 Submitted by Paul Hilfinger (hilfingr@gnat.com)
5549 and Andrei Petrov (and@genesyslab.com).
5550 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
5551 must be allocated dynamically, since these are no longer constants.
5552 * infcmd.c: Ditto.
5553 * regcache.c: Ditto.
5554 * remote.c: Ditto.
5555 * sol-thread.c: Ditto.
5556 * valops.c: Ditto.
5557 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
5558 work-around for a missing Sun header file in solaris for sparc64.
5559
713f0374
PB
55602001-02-04 Philip Blundell <philb@gnu.org>
5561
5562 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
5563 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
5564 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
5565 GET_THREAD_SIGNALS): Define.
5566 * arm-linux-nat.c (fill_gregset): Correct type of argument.
5567 (supply_gregset): Likewise.
5568 (fill_fpregset): Likewise.
5569 (supply_fpregset): Likewise.
5570
4603e466
DT
5571Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
5572
5573 * valops.c (value_cast): If casting a scalar to a pointer, do not
5574 issue a message about truncation unless it exceeds the length of
5575 an address, not the length of a pointer. This is because what the
5576 user gives us is an address, not a pointer, and we will ultimately
5577 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
5578 to a pointer. This allows things like "print *(int *)0x01000234"
5579 to work without generating a misleading message on a target having
5580 two byte pointers and four byte addresses.
5581
554cb486
CF
55822001-02-05 Christopher Faylor <cgf@cygnus.com>
5583
5584 * win32-nat.c: Change PTR to void * throughout.
5585
042be3a9
C
55862001-02-05 J.T. Conklin <jtc@redback.com>
5587
5588 * signals.h: Removed.
5589 * event-top.c (#include <signal.h>): Changed from signals.h.
5590 * inflow.c: Likewise.
5591 * mac-xdep.c: Likewise.
5592 * ser-pipe.c: Likewise.
5593 * ser-tcp.c: Likewise.
5594 * standalone.c: Likewise.
5595 * top.c: Likewise.
5596 * utils.c: Likewise.
5597 * Makefile.in: Removed signals.h from dependencies.
5598
a4acd088
CF
55992001-02-05 Christopher Faylor <cgf@cygnus.com>
5600
5601 Change suggested by Dean Luick <luick@cray.com>
5602 * inferior.h (step_over_calls_kind): Remove trailing comma from
5603 last enum element.
5604 (step_over_calls): Declare as extern rather than global.
5605
3116c80a
EZ
56062001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5607
5608 * sh-tdep.c: Update copyright.
5609 (sh_extract_return_value): Rewrite.
5610 (sh3e_sh4_extract_return_value): New function.
5611 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
5612 version of the function for sh3e and sh4 CPUs.
5613
240be855
MC
56142001-02-05 Michael Chastain <chastain@redhat.com>
5615
5616 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
5617 to conform with interface change.
5618
a17b5c4e
EZ
56192001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
5620
32fe0950
EZ
5621 * config/djgpp/fnchange.lst: Tweak to make consistent with the
5622 new files.
5623
619cbaf7
EZ
5624 * config/djgpp/djconfig.sh: Use explicit absolute file name when
5625 invoking `find'.
5626
cd42d3a8
EZ
5627 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
5628 UART_FIFO_WORKS is defined. Otherwise use outportb.
5629 From Francisco Pastor <fpastor.etra-id@etra.es>
5630
a17b5c4e
EZ
5631 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
5632 with target.h's `to_xfer_memory' member.
5633
86ddecc5
C
56342001-02-02 J.T. Conklin <jtc@redback.com>
5635
5636 * ppc-bdm.c (#include <signal.h>): Removed.
5637 * remote-array.c: Likewise.
5638 * remote-bug.c: Likewise.
5639 * remote-e7000.c: Likewise.
5640 * remote-mips.c: Likewise.
5641 * remote-os9k.c: Likewise.
5642 * remote-st.c: Likewise.
5643 * remote-udi.c: Likewise.
5644 * remote-vx29k.c: Likewise.
5645 * remote-vx68.c: Likewise.
5646 * remote-vx960.c: Likewise.
5647 * remote-vxmips.c: Likewise.
5648 * remote-vxsparc.c: Likewise.
5649
338d7c5c
JM
56502001-02-02 John Moore <jmoore@redhat.com>
5651
5652 * remote-utils.h (sr_set_device): Changed free() to xfree() where
5653 appropriate. Also changed Copyright to include 2001.
5654 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
5655 * value.h (value_free): Likewise.
5656 * gdbarch.sh (gdbarch_free): Likewise.
5657 * gdbarch.c, gdbarch.h: Regenerated.
5658
2b5436af
JM
56592001-02-02 John Moore <jmoore@redhat.com>
5660
5661 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
338d7c5c 5662 xfree(). Also changed Copyright to include 2001.
2b5436af 5663
82467003
C
56642001-02-02 J.T. Conklin <jtc@redback.com>
5665
5666 * monitor.c (#include "gdb_wait.h"): Removed.
5667 * ocd.c: Likewise.
5668 * ppc-bdm.c: Likewise.
5669 * remote-adapt.c: Likewise.
5670 * remote-array.c: Likewise.
5671 * remote-bug.c: Likewise.
5672 * remote-e7000.c: Likewise.
5673 * remote-eb.c: Likewise.
5674 * remote-es.c: Likewise.
5675 * remote-mips.c: Likewise.
5676 * remote-mm.c: Likewise.
5677 * remote-nindy.c: Likewise.
5678 * remote-os9k.c: Likewise.
5679 * remote-rdi.c: Likewise.
5680 * remote-rdp.c: Likewise.
5681 * remote-sds.c: Likewise.
5682 * remote-sim.c: Likewise.
5683 * remote-st.c: Likewise.
5684 * remote-udi.c: Likewise.
5685 * remote-vx.c: Likewise.
5686 * remote-vx29k.c: Likewise.
5687 * remote-vx68.c: Likewise.
5688 * remote-vx960.c: Likewise.
5689 * remote-vxmips.c: Likewise.
5690 * remote-vxsparc.c: Likewise.
5691 * remote.c: Likewise.
5692 * ser-pipe.c: Likewise.
5693 * ser-unix.c: Likewise.
5694 * Makefile.in: Updated dependencies.
5695
27b82ed2
DS
56962001-01-31 David Smith <dsmith@redhat.com>
5697
5698 * event-loop.c: Change inclusion of string.h to gdb_string.h and
5699 updated the copyright notice.
5700 * ser-pipe.c: Ditto.
5701 * mi/mi-cmds.c: Ditto.
5702 * mi/mi-console.c: Ditto.
5703 * mi/mi-getopt.c: Ditto.
5704 * mi/mi-parse.c: Ditto.
5705
ab9cc815
DS
57062001-01-31 David Smith <dsmith@redhat.com>
5707
5708 * MAINTAINERS: Add David Smith to Write After Approval list.
5709
d1f4cff8
AC
5710Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com>
5711
5712 * cli/cli-utils.c (putchar_filtered): Move function from here.
5713 * utils.c (putchar_filtered): To here.
5714 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
5715 * defs.h (putchar_filtered): To here.
5716
74c1b268
AC
5717Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com>
5718
5719 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
5720 AC_FUNC_VFORK macro.
5721 * config.in, configure: Re-generate.
5722
5723 * gdb_vfork.h: New file.
5724 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
5725 * fork-child.c (fork_inferior): Ditto.
5726
4fcf66da
AC
5727Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com>
5728
5729 * defs.h (strsave): Delete declaration.
5730 * utils.c (strsave): Delete definition.
5731 * TODO (strsave): Update
5732
5733 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
5734 * sparcl-tdep.c (sparclite_open): Ditto.
5735 * mips-tdep.c (mips_set_processor_type_command): Ditto.
5736 (_initialize_mips_tdep): Ditto.
5737 * solib.c (solib_open): Ditto.
5738 * symfile.c (add_filename_language): Ditto.
5739 (set_ext_lang_command): Ditto.
5740 * source.c (init_source_path): Ditto.
5741 (mod_path): Ditto.
5742 * sh3-rom.c (sh3_open): Ditto.
5743 (sh3e_open): Ditto.
5744 * serial.c (serial_open): Ditto.
5745 * remote-mips.c (common_open): Ditto.
5746 * monitor.c (monitor_open): Ditto.
5747 * m32r-rom.c (m32r_upload_command): Ditto.
5748 * infcmd.c (path_command): Ditto.
5749 * f-exp.y (parse_number): Ditto.
5750 * breakpoint.c (create_longjmp_breakpoint): Ditto.
5751 (create_thread_event_breakpoint): Ditto.
5752 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
5753 (_initialize_arc_tdep): Ditto.
5754
e191e0ab
AC
5755Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
5756
5757 * cli/cli-script.c (define_command): Check for a bad hook value in
5758 switch statement.
5759
10214f55
C
57602001-01-30 J.T. Conklin <jtc@redback.com>
5761
5762 * configure/sh/embed.mt: New file.
5763 * configure/sh/linux.mt: New file.
5764 * configure/sh/sh.mt: Removed.
5765 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
5766 (sh-*-*): Removed.
5767
c9049fc9
MC
57682001-01-29 Michael Chastain <chastain@redhat.com>
5769
5770 * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
5771 symbol comparisons in binary search.
5772
0cff82d9 57732001-01-27 Christopher Faylor <cgf@cygnus.com>
aea02b6b
CF
5774
5775 * win32-nat.c (child_xfer_memory): Add missing argument required by
5776 2001-01-23 change.
5777
e6e0bfab
MK
57782001-01-27 Mark Kettenis <kettenis@gnu.org>
5779
5780 * ui-out.c (do_list_end): New function.
5781 (make_cleanup_ui_out_list_end): New function.
5782 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
5783 * stack.c (print_frame) [UI_OUT]: Call
5784 make_cleanup_ui_out_list_end to make sure we mark the end of the
5785 list if we do a non-local exit. At the end of the function,
5786 instead of calling ui_out_list_end directly, let do_cleanups
5787 handle it.
5788
1adeb98a
FN
57892001-01-26 Fernando Nasser <fnasser@redhat.com>
5790
5791 Fix double parsing of filenames passed as command line arguments
5792 to GDB (causes weird handling of escape characters).
5793 Also, remove dependencies on the CLI from libgdb.
5794 * call-cmds.h: Remove declaration of exec_file_command().
5795 * gdbcore.h: Remove declaration of exec_file_command().
5796 Add declarations for exec_open() and exec_file_clear().
5797 * symfile.h: Add declarations for symbol_file_add_main() and
5798 symbol_file_clear().
5799 * exec.c (exec_open): New function. Implements to_open for exec
5800 targets.
5801 (exec_file_clear): New function. Makes GDB forget about a previously
5802 specified executable file.
5803 (exec_file_attach): Move parsing of arguments from here ...
5804 (exec_file_command): ... to here.
5805 (init_exec_ops): Use exec_open(), not exec_file_command() to
5806 implement to_open for exec targets.
5807 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
5808 with default values. Used when the file name has already been parsed.
5809 (symbol_file_clear): New function. Makes GDB forget about previously
5810 read symbols.
5811 (symbol_file_command): Call the above function instead of inline code.
5812 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
5813 "call-cmds.h".
5814 (captured_main): Call exec_file_attach() and symbol_file_add_main()
5815 instead of exec_file_command() and symbol_file_command().
5816 (captured_main): Add comment.
5817 * corefile.c: Include "symfile.h".
5818 (core_file_command): Call symbol_file_add_main() instead of
5819 symbol_file_command().
5820 (reopen_exec_file): Call exec_open() instead of exec_file_command().
5821 * infcmd.c: Include "symfile.h".
5822 (attach_command): Call symbol_file_add_main() instead of
5823 symbol_file_command().
5824 * infrun.c: Remove comment about the inclusion of "symfile.h",
5825 not any longer appropriate.
5826 (follow_exec): Call symbol_file_add_main() instead of
5827 symbol_file_command().
5828 * remote-es.c: Include "symfile.h".
5829 (es1800_load): Call symbol_file_add_main() instead of
5830 symbol_file_command().
5831 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
5832 not any longer appropriate.
5833 (vx-wait): Call symbol_file_add_main() instead of
5834 symbol_file_command().
5835 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
5836 instead of symbol_file_command().
5837 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
5838 symbol_file_add_main() instead of exec_file_command() and
5839 symbol_file_command().
5840 * Makefile.in: Update dependencies.
5841
5b616ba1
JH
58422001-01-26 Jeff Holcomb <jeffh@redhat.com>
5843
5844 * remote-udi.c (udi_open): Change strdup to xstrdup.
5845 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
5846 Update copyright message.
5847 * varobj.c (delete_variable_1): Likewise.
5848
5849 * gdb_string.h: Remove declaration of strdup. Update copyright
5850 message.
5851 * config/xm-mpw.h: Likewise.
5852 * config/i386/xm-i386mach.h: Likewise.
5853 * config/m68k/xm-apollo68b.h: Likewise.
5854 * config/m68k/xm-hp300bsd.h: Likewise.
5855 * config/rs6000/xm-rs6000.h: Likewise.
5856 * config/vax/xm-vaxult.h: Remove declaration of strdup.
5857 * config/vax/xm-vaxult2.h: Likewise.
5858
b91d87cf
JH
58592001-01-26 Jeff Holcomb <jeffh@redhat.com>
5860
5861 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
5862
873406a6
C
58632001-01-25 J.T. Conklin <jtc@redback.com>
5864
5865 * target.c (target_xfer_memory_partial): Return -1 on failure due
5866 to invalid access mode attribute.
5867
0613c401
CF
58682001-01-25 Christopher Faylor <cgf@cygnus.com>
5869
5870 * win32-nat.c (_initialize_core_win32): Prototype correctly.
5871
efd59e3f
MK
58722001-01-25 Mark Kettenis <kettenis@gnu.org>
5873
5874 * config/alpha/tm-fbsd.h: Update copyright.
5875 (USE_STRUCT_CONVENTION): Define in terms of
5876 alphabsd_use_struct_convention.
5877 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
5878 * alphafbsd-tdep.c: New file.
5879
388e1ff2
FN
58802001-01-24 Fernando Nasser <fnasser@redhat.com>
5881
5882 * top.c (print_gdb_version): Update Copyright year.
5883
f4d650ec
C
58842001-01-24 J.T. Conklin <jtc@redback.com>
5885
5886 * dcache.c (dcache_write_line): Fix typo.
5887
5888 * memattr.c (delete_mem_region): Replace free() with xfree().
5889 (mem_number): Add explicit type.
5890
5891 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
5892 (rw_common): Likewise.
5893
07091751
FN
58942001-01-24 Fernando Nasser <fnasser@redhat.com>
5895
5896 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
5897 for the inferior program arguments.
5898 (run_command, run_no_args_command, init_infcmd)): Use accessor
5899 functions to set the inferior program arguments.
5900 * inferior.h: Add definitions to the accessor functions above.
5901
090c42a4
JB
59022001-01-23 Jim Blandy <jimb@redhat.com>
5903
5904 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
5905 Implement these correctly, using make_cv_type.
5906
f29d9b6d 59072001-01-23 J.T. Conklin <jtc@redback.com>
29e57380
C
5908
5909 * exec.c (xfer_memory): Add attrib argument.
5910 * infptrace.c (child_xfer_memory): Likewise.
e5da8f38 5911 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
29e57380
C
5912 * monitor.c (monitor_xfer_memory): Likewise.
5913 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
5914 * remote-array.c (array_xfer_memory): Likewise.
5915 * remote-bug.c (bug_xfer_memory): Likewise.
5916 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
5917 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
5918 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
5919 * remote-mips.c (mips_xfer_memory): Likewise.
5920 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
5921 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
5922 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
5923 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
5924 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
5925 * remote-sds.c (sds_xfer_memory): Likewise.
5926 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
5927 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
5928 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
5929 * remote-vx.c (vx_xfer_memory): Likewise.
5930 * remote.c (remote_xfer_memory): Likewise.
5931 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
5932 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
e5da8f38 5933 * thread-db.c (thread_db_xfer_memory): Likewise.
29e57380
C
5934
5935 * target.h (#include "memattr.h"): Added.
5936 (target_ops.to_xfer_memory): Add attrib argument.
5937
5938 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
5939 * dcache.h (set_dcache_state): Removed declaration.
5940 * dcache.c (set_dcache_state): Removed definition
5941
5942 * dcache.c: Update module comment, as dcache is now enabled and
5943 disabled with memory region attributes instead of by the global
5944 variable "remotecache". Add comment describing the interaction
5945 between dcache and memory region attributes.
5946 (dcache_xfer_memory): Add comment describing benefits of moving
5947 cache writeback to a higher level.
5948 (dcache_struct): Removed cache_has_stuff field. This was used to
5949 record whether the cache had been accessed in order to invalidate
5950 it when it was disabled. However, this is not needed because the
5951 cache is write through and the code that enables, disables, and
5952 deletes memory regions invalidate the cache. Add comment which
5953 suggests that we could be more selective and only invalidate those
5954 cache lines containing data from those memory regions.
5955 (dcache_invalidate): Updated.
5956 (dcache_xfer_memory): Updated.
f29d9b6d 5957
29e57380
C
5958 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
5959 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
5960 perform a uncached transfer if dcache_enabled_p was clear. This
5961 function is now only called if caching is enabled for the memory
5962 region.
5963 (dcache_info): Always print cache info.
5964
5965 * target.c (do_xfer_memory): Add attrib argument.
5966 (target_xfer_memory, target_xfer_memory_partial): Break transfer
5967 into chunks defined by memory regions, pass region attributes to
5968 do_xfer_memory().
5969 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
5970
5971 * Makefile.in (SFILES): Add memattr.c.
5972 (COMMON_OBS): Add memattr.o.
5973 (dcache.o): Add target.h to dependencies.
5974 * memattr.c: New file.
5975 * memattr.h: Likewise.
5976
f29d9b6d
C
5977 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
5978 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
5979 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
5980 * gdbserver/low-sim.c (#include "defs.h"): Removed.
5981 (mygeneric_load): Rename from generic_load.
5982
5983 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
5984 (#include "defs.h"): Removed.
5985 (inferior_pid, perror_with_name): Remove declarations.
5986 * gdbserver/low-linux.c: Likewise.
5987 * gdbserver/low-nbsd.c: Likewise.
5988 * gdbserver/low-sparc.c: Likewise.
5989 * gdbserver/low-sun3.c: Likewise.
5990
5991 * i386-stub.c: Re-indent.
5992 * m68k-stub.c: Re-indent.
5993
58d5518e
ND
59942001-01-22 Nicholas Duffek <nsd@redhat.com>
5995
5996 * gdbarch.sh (PARM_BOUNDARY): Define.
5997 * gdbarch.c: Regenerate.
5998 * gdbarch.h: Regenerate.
5999
f6427ade
C
60002001-01-22 J.T. Conklin <jtc@redback.com>
6001
6002 * ns32k-tdep.c: #include "frame.h"
6003 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
6004 appears to have been inadvertantly removed sometime in May 1999.
6005
6006 * Revert 2000-11-09 changes where shared library objects were
6007 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
6008 we'd like to be able to debug dynamically linked executables,
6009 this makes it impossible to build a cross debugger on a many
6010 hosts.
6011
6012 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
6013 * config/i386/nbsdelf.mt: Likewise.
6014 * config/m68k/nbsd.mt: Likewise.
6015 * config/ns32k/nbsd.mt: Likewise.
6016 * config/powerpc/nbsd.mt: Likewise.
6017 * config/sparc/nbsd.mt: Likewise.
6018 * config/sparc/nbsdelf.mt: Likewise.
6019 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
6020 * config/i386/nbsdelf.mh: Likewise.
6021 * config/m68k/nbsd.mh: Likewise.
6022 * config/ns32k/nbsd.mh: Likewise.
6023 * config/powerpc/nbsd.mh: Likewise.
6024 * config/sparc/nbsd.mh: Likewise.
6025
8052a17a
JM
60262001-01-19 Jason Merrill <jason@redhat.com>
6027
6028 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
6029 (process_one_symbol): Likewise.
6030 * dwarfread.c (handle_producer): Likewise.
6031
21a6f6bb
AC
6032Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
6033
6034 * configure.in (build_warnings): Disable -Wuninitialized until GDB
6035 compiles with -Wuninitialized,-Werror.
6036 * configure: Regenerate.
6037
6038 * MAINTAINERS: Add list of buildable targets.
6039
494b7ec9
AC
6040Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
6041
6042 * defs.h (STRCMP): Delete macro.
6043
6044 * objfiles.c (objfile_relocate): Replace STRCMP with call to
6045 strcmp.
6046 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
6047 * symfile.c (compare_symbols): Ditto.
6048 * standalone.c (open): Ditto.
6049 * remote-es.c (verify_break): Ditto.
6050 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
6051
6052 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
6053
8038e1e2
AC
6054Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
6055
6056 * varobj.c (FREEIF): Delete macro.
6057 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
6058 call.
6059
ea8d0b28
NC
60602001-01-18 Nick Clifton <nickc@redhat.com>
6061
6062 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
6063 (arc_print_insn): No bfd available, so pass NULL to
6064 arc_get_disassembler.
6065
5dbd9048
JB
60662001-01-09 James Ingham <jingham@inghji.apple.com>
6067
6068 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
6069 a mangled symbol rather than recursing into lookup_symbol, since
6070 this will just re-unmangle the name & call lookup_symbol_aux -
6071 leading to an infinite recursion.
6072
28ae27b1
MK
60732001-01-18 Mark Kettenis <kettenis@gnu.org>
6074
6075 * infcmd.c (print_return_value): Restore another space lost by
6076 switch to UIOUT. ``$NN='' should be ``$NN =''.
6077
6ab3a9c9
AC
6078Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
6079
6080 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
6081 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
6082 definition in parenthesis.
6083
ad6525fc
AC
6084Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
6085
6086 From 2000-10-27 Mark Salter <msalter@redhat.com>:
6087 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
6088 packet.
6089 (remote_insert_hw_breakpoint): Ditto.
6090
6259c7e2
C
60912001-01-17 J.T. Conklin <jtc@redback.com>
6092
6093 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
9c95b27f 6094 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
6259c7e2
C
6095 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
6096 * m68knbsd-tdep.c: New file.
6097
6098 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
6099
6100 * m68knbsd-nat.c: #include gdbcore.h.
6101
abdcb2a5
AC
6102Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
6103
6104 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
6105
e7a8479f
MS
61062001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
6107
aaeb7efa
MS
6108 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
6109 goes away -- just return false (ie. not stopped by watchpoint).
e7a8479f
MS
6110 * source.c (openp): Fix typo in comment.
6111
7036d6ce
ND
61122001-01-12 Nicholas Duffek <nsd@redhat.com>
6113
6114 * blockframe.c (generic_get_saved_register): Spelling fix.
6115 * frame.h (FRAME_FP): Spelling fix.
6116
9549d9c1
AC
6117Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
6118
6119 * infcmd.c (print_return_value): Restore space lost by switch to
6120 UIOUT. ``$NN='' should be ``$NN =''.
6121
7302a204
ND
61222001-01-08 Nicholas Duffek <nsd@redhat.com>
6123
6124 * regcache.c (set_register_cached, register_buffer,
6125 real_register, pseudo_register fetch_register, store_register):
6126 New functions.
6127 (register_changed, read_relative_register_raw_bytes_for_frame,
6128 registers_changed, registers_fetched, read_register_bytes,
6129 read_register_gen, write_register_gen, read_register,
6130 read_signed_register, write_register, supply_register): Replace
6131 register_valid[] with register_cached() and
6132 set_register_cached().
6133 (read_register_bytes, read_register_gen, write_register_gen,
6134 read_register, read_signed_register, write_register,
6135 supply_register): Replace registers[] with register_buffer().
6136 (read_register_bytes, read_register_gen, read_register,
6137 read_signed_register): Call fetch_register().
6138 (write_register_gen, write_register): Call real_register() and
6139 store_register().
6140 (write_register_bytes): Call store_register().
6141 * value.h (set_register_cached, register_buffer): Prototype.
6142 * remote.c (remote_fetch_registers): Allocate regs[] with a
6143 run-time size. Replace register_valid[] with
6144 set_register_cached().
6145 (store_register_using_P, remote_store_registers): Replace
6146 registers[] with register_buffer().
6147
5ebd2499
ND
61482001-01-08 Nicholas Duffek <nsd@redhat.com>
6149
6150 * regcache.c: Change "write-back" comment to "write-through".
6151 Change "regno" to "regnum".
6152 (read_register, read_signed_register): Remove "raw" from return
6153 value description.
6154 (supply_register): Spelling fix.
6155 * value.h: Change "regno" to "regnum".
6156
1302fd5e
FN
61572001-01-08 Fernando Nasser <fnasser@redhat.com>
6158
6159 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
6160 to be installed.
6161
9dcb560c
MS
61622001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
6163
6164 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
6165
0e2fb98e
ND
61662001-01-04 Nicholas Duffek <nsd@redhat.com>
6167
6168 * valops.c (VALUE_SUBSTRING_START): Delete.
6169
12cf3f1b
ND
61702001-01-04 Nicholas Duffek <nsd@redhat.com>
6171
6172 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
6173 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
6174 (cli_utils_h): New variable.
6175 (cli/cli-utils.o): New rule.
6176 * cli/cli-utils.c: New file.
6177 * cli/cli-utils.h: New file.
6178
cc533b9d
ND
61792001-01-04 Nicholas Duffek <nsd@redhat.com>
6180
6181 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
6182 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
6183
ad2a4d09
C
61842001-01-03 J.T. Conklin <jtc@redback.com>
6185
6186 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
6187 comment.
6188
8140e7ac
MS
61892001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
6190
3116c80a
EZ
6191 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
6192 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
d19b71be 6193 non-float types.
779e876b 6194 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
72e22353
MS
6195 Update copyright notice.
6196
15f33b66 6197For older changes see ChangeLog-2000
c906108c
SS
6198\f
6199Local Variables:
6200mode: change-log
6201left-margin: 8
6202fill-column: 74
6203version-control: never
6204End:
This page took 0.443566 seconds and 4 git commands to generate.