2001-09-26 Jeff Johnston <jjohnstn@redhat.com>
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
e5e2b9ff
KB
12001-09-26 Kevin Buettner <kevinb@redhat.com>
2
3 * solib-svr4.h (set_solib_svr4_fetch_link_map_offsets): Add
4 argument ``gdbarch''.
5 * solib-svr4.c (SVR4_FETCH_LINK_MAP_OFFSETS): Change default value.
6 (default_svr4_fetch_link_map_offsets): Rename to
7 legacy_fetch_link_map_offsets().
8 (svr4_fetch_link_map_offsets): New function.
9 (fetch_link_map_offsets, fetch_link_map_offsets_init): Deleted.
10 (fetch_link_map_offsets_gdbarch_data): New static global.
11 (set_solib_svr4_fetch_link_map_offsets): Add argument ``gdbarch''.
12 Revise to invoke set_gdbarch_data().
13 (init_fetch_link_map_offsets): Change return type and add an
14 argument so that it may be used as a gdbarch_data initializer.
15 (_initialize_svr4_solib): Eliminate use of gdbarch swap mechanism.
16 Use gdbarch data mechanism instead.
17
86ed34a9 182001-09-25 Jiri Smid <smid@suse.cz>
c74ae012
JS
19
20 * x86-64-linux-tdep.c (LINUX_SIGINFO_SIZE): Add.
21 (x86_64_linux_sigcontext_addr): Replace `sizeof (struct siginfo)'
22 by LINUX_SIGINFO_SIZE.
23
4f337972
AC
242001-09-24 Andrew Cagney <ac131313@redhat.com>
25
26 * maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): New
27 variables.
28 (maintenance_set_profile_cmd): New function.
29 (maintenance_show_cmd, maintenance_set_cmd): New functions.
30 (_initialize_maint_cmds): Add "maintenance set" and "maintenance
31 show" and, commented out, "maintenance set/show profile" commands.
32
f76febae
AC
332001-09-24 Andrew Cagney <ac131313@redhat.com>
34
35 * findvar.c (read_var_value): For LOC_INDIRECT and LOC_REF_ARG
36 convert the pointer into a CORE_ADDRs.
37
96d2f608
AC
382001-09-24 Andrew Cagney <ac131313@redhat.com>
39
40 * doublest.h (store_floating, extract_floating): Add comment
41 indicating these functions are deprecated.
42 (extract_typed_floating, store_typed_floating): Declare.
43 * doublest.c: Include "gdbtypes.h".
44 (extract_typed_floating, store_typed_floating): Define.
45
46 * stabsread.c (define_symbol): Use store_typed_floating.
47 * valarith.c (value_binop): Ditto.
48 * values.c (unpack_long): Use extract_typed_floating.
49 (unpack_double): Ditto.
50
7ab98e9e
OF
512001-09-24 Orjan Friberg <orjanf@axis.com>
52
53 * cris-tdep.c (reg_mode_add_sub_cmp_and_or_move_op): Fetch operand1
54 from correct register.
55
1dbeeb7b
MK
562001-09-22 Mark Kettenis <kettenis@gnu.org>
57
58 * x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.
59
c4d82c96
JS
602001-09-21 Jiri Smid <smid@suse.cz>
61
62 * config/i386/x86-64linux.mh: New file.
63 * config/i386/x86-64linux.mt: New file.
64 * config/i386/nm-x86_64.h: New file.
65 * x86-64-linux-tdep.c: New file.
66 * x86-64-linux-nat.c: New file.
67 * x86-64-tdep.c: New file.
68 * x86-64-tdep.h: New file.
69 * i386-tdep.h: New file.
70 * i387-nat.c: Include i386-tdep.h when multiarch.
71 * i387-tdep.c: Ditto.
72 * config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
73 and x86_64-linux-nat.c
74 * Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
75 x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.
76
cab16195
JS
772001-09-21 Jiri Smid <smid@suse.cz>
78
79 * MAINTAINERS: Add myself to the write-after-approval list.
80 * i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
81 (i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
82 i386_insert_watchpoint, i386_remove_watchpoint): Add support for
83 8-byte wide watchpoints.
84 (i386_show_dr): Debug message format string change.
85
1c4dcb57
KB
862001-09-20 Kevin Buettner <kevinb@redhat.com>
87
88 * solib-svr4.c (fetch_link_map_offsets): Add comment.
89 (fetch_link_map_offsets_init): New static global.
90 (set_solib_svr4_fetch_link_map_offsets, init_fetch_link_map_offsets):
91 Revise implementation to use ``fetch_link_map_offsets_init''
92 instead of ``fetch_link_map_offsets''.
93
3a42e9d0
AM
942001-09-20 Alan Modra <amodra@bigpond.net.au>
95
96 * coffread.c: Replace all occurrences of bfd_read with bfd_bread.
97 * dbxread.c: Likewise.
98 * dwarf2read.c: Likewise.
99 * dwarfread.c: Likewise.
100 * somread.c: Likewise.
101 * ultra3-nat.c: Likewise.
102 * xcoffread.c: Likewise.
103
e0441cf0
AC
1042001-09-19 Andrew Cagney <ac131313@redhat.com>
105
8535cb38
AC
106 * cris-tdep.c (cris_get_signed_offset): Change return type to an
107 explicitly signed char.
108
e0441cf0
AC
109 * config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
110 function signature to match recent tracepoint.c:encode_actions
111 changes.
112 * mcore-tdep.c (mcore_virtual_frame_pointer): Ditto.
113
2b65245e
AC
1142001-09-18 Andrew Cagney <ac131313@redhat.com>
115
116 * thread.c (do_captured_thread_select): Add uiout parameter.
117 (do_captured_list_thread_ids): Ditto.
118 * breakpoint.c (do_captured_breakpoint_query): Ditto.
119
120 * breakpoint.c (gdb_breakpoint_query): Update. Use
121 catch_exceptions.
122 * thread.c (gdb_list_thread_ids): Ditto.
123 (gdb_thread_select): Ditto.
124 (thread_command): Pass uiout to gdb_thread_select.
125
126 * gdb.h (gdb_breakpoint_query): Add parameter ui_out.
127 (gdb_thread_select, gdb_list_thread_ids): Ditto.
128
2069d78d
KB
1292001-09-13 Kevin Buettner <kevinb@redhat.com>
130
131 From Ilya Golubev <gin@mo.msk.ru>:
132 * solib.c (clear_solib): Call `remove_target_sections' to fix
133 stale pointers in `struct target_ops'.
134 * irix5-nat.c (clear_solib): Likewise.
135 * osfsolib.c (clear_solib): Likewise.
136
348d75a5
JB
1372001-09-13 Jim Blandy <jimb@redhat.com>
138
e8816aac
JB
139 * monitor.c (monitor_load): Don't delete symtab users, or reset
140 inferior_ptid.
141
348d75a5
JB
142 * monitor.c (monitor_load): Fix indentation.
143
1442001-09-11 Jim Blandy <jimb@redhat.com>
145
146 * printcmd.c (print_scalar_formatted): Compare the length of the
147 value against the lengths of the target's floating-point types,
148 not the host's. Add support for `long double'.
149
150 * printcmd.c (print_scalar_formatted): Fix indentation.
151
a5666cc9
JB
1522001-09-10 Jim Blandy <jimb@redhat.com>
153
154 * rom68k-rom.c (init_rom68k_cmds): Set the flag indicating that
155 programs running on the board can produce output.
156
6d6b80e5
JM
1572001-09-10 Jason Molenda (jmolenda@apple.com)
158
159 * NEWS: "ANS/ISO C" -> "ISO C".
160 * MAINTAINERS (write-after-approval): Update my entry.
161
7fc73f38
MK
1622001-09-08 Mark Kettenis <kettenis@gnu.org>
163
df5fdb3d
MK
164 * config/xm-aix4.h (MEM_FNS_DECLARED): Removed.
165
4ad318e6
MK
166 * config/arm/xm-linux.h, config/ia64/xm-linux.h,
167 config/m68k/xm-linux.h, config/mips/xm-linux.h,
168 config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove
169 redundant inclusion of <unistd.h>.
170
7fc73f38
MK
171 * gdbtypes.h (struct block): Add forward declaration.
172
f9c696d2
AC
1732001-09-07 Andrew Cagney <ac131313@redhat.com>
174
175 * defs.h (enum return_reason): Renumber so that all values are
176 negative.
177 (RETURN_MASK): Negate reason.
178 (catch_exception_ftype): Declare.
179 (catch_exceptions): Declare.
180 * top.c (catcher): New function, based on catch_errors. Add in
181 parameter func_uiout and out parameters func_val, func_caught and
182 func_cleanup. Change type of func to catch_exceptions_ftype.
183 Save/restore uiout.
184 (struct catch_errors_args): Define.
185 (do_catch_errors): New function.
186 (catch_errors): Rewrite, use do_catch_errors and catcher.
187 (catch_exceptions): New function, use catcher.
188
a2e2dd80
JB
1892001-09-07 Jim Blandy <jimb@redhat.com>
190
191 Correctly parse register values provided by the monitor.
192 * rom68k-rom.c: #include "value.h".
193 (is_hex_digit, hex_digit_value, is_whitespace,
194 rom68k_supply_one_register): New static functions.
195 (rom68k_supply_register): Call rom68k_supply_one_register, instead
196 of monitor_supply_register; the latter was incorrectly parsing
197 the values.
198 * Makefile.in (rom68k-rom.o): Note that this now #includes value.h.
199
93befcf3
MK
2002001-09-07 Mark Kettenis <kettenis@gnu.org>
201
202 * config/rs6000/xm-rs6000.h (setpgrp): Remove macro. GDB defaults
203 to using setpgid if available now.
204
b381d62d
KS
2052001-09-06 Keith Seitz <keiths@redhat.com>
206
207 From Ian Roxborough <irox@redhat.com>
208 * configure.in: Use ITCL_LIB_FULL_PATH and
209 ITK_LIB_FULL_PATH to set Itcl and Itk dependancies
210 for gdb.
211 * configure: Regenerated.
212
9a058a09
KB
2132001-09-06 Kevin Buettner <kevinb@redhat.com>
214
215 * dbxread.c (process_one_symbol): Don't use error result from
216 find_stab_function_addr().
217 * partial-stab.h (case 'F'): Likewise.
218
219 * partial-stab.h (case 'f'): Make SOFUN_ADDRESS_MAYBE_MISSING
220 code match that used for case 'F'. This fixes the divergence
221 that was introduced by my 1999-09-14 changes to partial-stab.h.
222
2bf0cb65
EZ
2232001-09-05 Elena Zannoni <ezannoni@redhat.com>
224
225 * gdbarch.sh: Move include of dis-asm.h so it is generated earlier
226 in gdbarch.h.
227 (TARGET_PRINT_INSN): Multiarch.
228 * gdbarch.h: Regenerate.
229 * gdbarch.c: Regenerate.
230
231 * arch-utils.c (legacy_print_insn): New function.
232 * arch-utils.h (legacy_print_insn): Export.
233
234 * cris-tdep.c (cris_delayed_get_disassembler): Use
235 TARGET_PRINT_INSN, instead of tm_print_insn.
236 * d10v-tdep.c (print_insn): Ditto.
237 * d30v-tdep.c (print_insn): Ditto.
238 * m32r-tdep.c (dump_insn): Ditto.
239 * v850-tdep.c (v850_scan_prologue): Ditto.
240 * mcore-tdep.c (mcore_dump_insn): Ditto.
241 * sh-tdep.c (sh_gdbarch_init): Set print_insn gdbarch field.
242
6369010f
JB
2432001-09-05 Jim Blandy <jimb@redhat.com>
244
245 * gdbtypes.h (struct type): Doc fix.
246
d3d55eeb
EZ
2472001-09-04 Elena Zannoni <ezannoni@redhat.com>
248
249 From Daniel Jacobowitz <drow@mvista.com>
250 * dbxread.c (free_header_files): Make global.
251 (init_header_files): Likewise.
252 * stabsread.h (free_header_files): Add prototype.
253 (init_header_files): Likewise.
254 * mdebugread.c (mdebug_build_psymtabs): Initialize
255 properly before using the stabs debug reader.
256
16db6055 2572001-09-04 Elena Zannoni <ezannoni@redhat.com>
ef96bde8
EZ
258
259 From Daniel Jacobowitz <drow@mvista.com>
260 * dbxread.c (dbx_symfile_read): Only reinitialize
261 the psymbol list if mainline or if both static
262 and global lists are empty.
263 * dwarf2read.c (dwarf2_build_psymtabs): Likewise.
264 * dwarfread.c (dwarf_build_psymtabs): Likewise.
265 * xcoffread.c (xcoff_initial_scan): Likewise.
266 * os9kread.c (os9k_symfile_read): Likewise.
16db6055 267
ef96bde8
EZ
2682001-09-04 Elena Zannoni <ezannoni@redhat.com>
269
16db6055
EZ
270 From Daniel Jacobowitz <drow@mvista.com>
271 * mdebugread.c (psymtab_to_symtab_1): Handle N_SO stabs without
272 a name specially.
273
f77b92bf
MK
2742001-09-01 Mark Kettenis <kettenis@gnu.org>
275
276 Make GDB use libiberty regex implementation.
277 * gdb_regex.h: Normalize protection against multiple inclusion.
278 Include "xregex.h" instead of "gnu-regex.h".
279 * cli/cli-cmds.c: Include "gdb_regex.h" instead of "gnu-regex.h".
280 * cli/cli-decode.c: Likewise.
281 * Makefile.in (REGEX): Remove.
282 (GDB_CFLAGS): Remove reference to gnu-regex.h in comment.
283 (ADD_FILES, ADD_DEPS): Remove $(REGEX).
284 (POSSLIBS): Remove.
285 (TAGFILES_NO_SRCDIR): Remove $(POSSLIBS).
286 (irix5-nat.o, solib.o, solib-svr4.o, source.o, symtab.o,
287 xcoffsolib.o, cli-decode.o, cli-cmd.o): Replace gnu-regex.h with
288 gdb_regex.h in list of dependencies.
289 (gnu-regex.o): Remove rule.
290 * gnu-regex.c, gnu-regex.h: Remove files.
291
a4f30b31
MS
2922001-08-31 Jason Molenda (jmolenda@apple.com)
293
294 * c-valprint.c (c_val_print): Second call to check_typedef ()
295 is no longer necessary.
296
902d7086
KB
2972001-08-31 Kevin Buettner <kevinb@redhat.com>
298
299 * ia64-tdep.c (examine_prologue): Don't let a branch unit nop
300 terminate the prologue scan.
301
2889e661
JB
3022001-08-30 Jim Blandy <jimb@redhat.com>
303
9ec8e6a0
JB
304 * symfile.c (sections_overlap): New function.
305 (map_overlay_command): Call sections_overlap, instead of using
306 incorrect logic to recognize overlapping sections.
307
2889e661
JB
308 * symfile.c (load_command): Invalidate the overlay cache.
309
cd903d53
MK
3102001-08-30 Mark Kettenis <kettenis@gnu.org>
311
312 * config/i386/xm-i386.h (HOST_BYTE_ORDER): Removed.
313
8ad2fcde
KB
3142001-08-29 Kevin Buettner <kevinb@redhat.com>
315
316 From 2001-08-07 Daniel Jacobowitz <drow@mvista.com>:
317 * solib-svr4.c (enable_break): Check the inferior link map
318 before assuming the inferior PC is at the start of the dynamic
319 loader.
320
e8759349
AC
3212001-08-28 Andrew Cagney <cagney@toribio.toronto.redhat.com>
322
323 * frame.h (struct frame_info): Fix documentation on fields
324 saved_regs, next and prev.
325
46711df8
MK
3262001-08-23 Mark Kettenis <kettenis@gnu.org>
327
328 * event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: Some
329 gratuitious whitespace changes.
330 [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is defined.
331 * top.c: Remove redundant logic to define HAVE_SIGSETMASK.
332 (sigsetmask) Don't define macro.
333 (stop_sig) [HAVE_SIGPROCMASK]: Add bit of code snatched from
334 async_stop_sig from event-top.c.
335 [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is
336 defined.
337 * configure.in (AC_CHECK_FUNCS): Put functions in alphabetical
338 order. Add sigsetmask.
339 (AC_FUNC_VFORK, AC_FUNC_ALLOCA): Reorder such that they're in
340 alphabetical order.
341 * config/xm-aix4.h, config/alpha/xm-alphalinux.h,
342 config/i386/xm-cygwin.h, config/rs6000/xm-rs6000.h
343 (HAVE_SIGSETMASK): Remove.
964840f7 344 * aclocal.m4, config.in, configure: Regenerated.
46711df8 345
526eeb95
AC
3462001-08-26 Andrew Cagney <ac131313@redhat.com>
347
348 From 2001-06-29 Andrew Cagney <ac131313@redhat.com>:
349 * config/powerpc/nbsd.mh (XM_FILE): Delete.
350
c16ac28f
AC
3512001-08-21 Andrew Cagney <ac131313@redhat.com>
352
353 * doublest.h (HOST_FLOAT_FORMAT): Delete macro.
354 (HOST_DOUBLE_FORMAT): Delete macro.
355
ceacb162
MK
3562001-08-24 Mark Kettenis <kettenis@gnu.org>
357
358 * config/xm-lynx.h, config/xm-nbsd.h, config/xm-sysv4.h,
359 config/i386/xm-i386aix.h, config/m68k/xm-dpx2.h: Remove redundant
360 inclusion of <limits.h>.
361
275f450c
AC
3622001-08-24 Andrew Cagney <ac131313@redhat.com>
363
364 * regcache.c (read_register_bytes): When REGISTER_NAME indicates
365 that a register should be ignored, supply a value for the register
366 from the raw registers[] buffer.
367
12a498f3
AC
3682001-08-24 Andrew Cagney <ac131313@redhat.com>
369
370 * go32-nat.c (go32_create_inferior): Use xfree instead of free.
371 * config/djgpp/fnchange.lst: Add entries for i386bsd-tdep.c and
372 i386bsd-nat.c.
373
598f52df
AC
3742001-08-21 Andrew Cagney <ac131313@redhat.com>
375
376 * gdbtypes.h (builtin_type_ieee_single_big)
377 (builtin_type_ieee_single_little, builtin_type_ieee_double_big)
378 (builtin_type_ieee_double_little)
379 (builtin_type_ieee_double_littlebyte_bigword)
380 (builtin_type_i387_ext, builtin_type_m68881_ext)
381 (builtin_type_i960_ext, builtin_type_m88110_ext)
382 (builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
383 (builtin_type_arm_ext_littlebyte_bigword)
384 (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
385 (builtin_type_ia64_quad_big)
386 (builtin_type_ia64_quad_little): Declare.
387 * gdbtypes.c (builtin_type_ieee_single_big)
388 (builtin_type_ieee_single_little, builtin_type_ieee_double_big)
389 (builtin_type_ieee_double_little)
390 (builtin_type_ieee_double_littlebyte_bigword)
391 (builtin_type_i387_ext, builtin_type_m68881_ext)
392 (builtin_type_i960_ext, builtin_type_m88110_ext)
393 (builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
394 (builtin_type_arm_ext_littlebyte_bigword)
395 (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
396 (builtin_type_ia64_quad_big)
397 (builtin_type_ia64_quad_little): Define.
398 (_initialize_gdbtypes): Initialize builtin floatformat types.
399
1a6fae3c
MK
4002001-08-23 Mark Kettenis <kettenis@gnu.org>
401
402 * tracepoint.c (read_actions): Add FIXME for code depending on
403 STOP_SIGNAL.
404
7829b833
MH
4052001-08-23 Martin M. Hunt <hunt@redhat.com>
406
407 * remote-mips.c (pmon_load_fast): Add ui_load_progress_hook
408 to download loop.
409 (mips_load_srec): Ditto.
410
701c159d
AC
4112001-08-22 Andrew Cagney <ac131313@redhat.com>
412
413 * gdbtypes.c (build_gdbtypes): Initialize TYPE_FLOATFORMAT field
414 of builtin_type_float, builtin_type_double and
415 builtin_type_long_double.
416 (recursive_dump_type): Print the floatformat name.
417 * gdbtypes.h (struct type): Add type_specific field floatformat.
418 (TYPE_FLOATFORMAT): Define
419
99a6d8ba
KS
4202001-08-21 Keith Seitz <keiths@redhat.com>
421
422 * printcmd.c (print_insn): Use the given stream for
423 output.
424
a37b3cc0
AC
4252001-07-24 Andrew Cagney <ac131313@redhat.com>
426
427 * arm-tdep.c (convert_from_extended, convert_to_extended): Delete
428 assembler version of function.
429 (convert_from_extended, convert_to_extended): Rewrite. Use
430 floatformat_to_doublest, floatformat_from_doublest,
431 floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword.
432 (arm_push_arguments): Use extract_floating and store_floating to
433 perform floating point conversions.
434 (SWAP_TARGET_AND_HOST): Delete macro.
435 * arm-linux-tdep.c (arm_linux_push_arguments): Use
436 extract_floating and store_floating to perform floating point
437 conversions.
438
1c72f9b0
AC
4392001-08-20 Andrew Cagney <ac131313@redhat.com>
440
441 * gdbtypes.h (struct type): Clarify meaning of field ``length''.
442
705da579
KS
4432001-08-17 Keith Seitz <keiths@redhat.com>
444
445 * varobj.c (varobj_update): Change first parameter to
446 pointer to struct varobj*. This function can delete
447 varobjs, so we need to give callers the new varobj
448 when this happens.
449 (value_of_root): Update "var", too, if "var_handle"
450 changes.
451 * varobj.h (varobj_update): Likewise.
452
2bf63d86
KS
4532001-08-17 Keith Seitz <keiths@redhat.com>
454
455 * Makefile.in (varobj_h): Define.
456 (mi-cmd-var.o): Depends on varobj_h.
457 (gdbtk-varobj.o): Change varobj.h to $(varobj_h).
458
d1c3b63a
KS
4592001-08-16 Keith Seitz <keiths@redhat.com>
460
461 * configure.in (GDBTK_SRC_DIR): We must have autoconf
462 give us the absolute path to the source directory.
463 * configure: Regenerated.
464 * Makefile.in (GDBTK_SRC_DIR): Add variable so that
465 autoconf can substitue it in for us.
466 (gdbtk.o): Pass in GDBTK_SRC_DIR instead of srcdir. We
467 really do need an absolute pathname.
468
f0b743a9
KS
4692001-08-15 Keith Seitz <keiths@redhat.com>
470
471 * Makefile.in (GDBTK_VERSION): Set a version number.
472 (GDBTK_LIBRARY): New variable to point to location where
473 gdbtk will install its tcl library. Changed all refereneces
474 to $(datadir)/insight1.0 to $(GDBTK_LIBRARY).
475 (SUBDIR_GDBTK_ALL): Remove "all-gdbtk". No longer needed.
476 (SUBDIR_GDBTK_CLEAN): Remove "clean-gdbtk". No longer needed.
477 (all-gdbtk): Remove.
478 (install-gdbtk): Remove.
479 (gdbtk.o): Pass srcdir to file when compiling.
480
4812001-08-15 Ian Roxborough <irox@redhat.com>
482
483 * Makefile.in: Changed all references to the install directory
484 "gdbtcl" to read "insight1.0".
485
bdcd319a
CV
4862001-08-15 Corinna Vinschen <vinschen@redhat.com>
487
488 * arch-utils.c (generic_skip_trampoline_code): New function.
489 * arch-utils.h (generic_skip_trampoline_code): Declare external.
490 * gdbarch.c: Regeberated from gdbarch.sh.
491 * gdbarch.h: Ditto.
492 * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Multi-arch.
493 * infrun.c: Remove default setting of SKIP_TRAMPOLINE_CODE macro.
494
40b3352b
L
4952001-08-14 Daniel Jacobowitz <drow@mvista.com>
496 H.J. Lu (hjl@gnu.org)
497
498 * partial-stab.h: valu should be a CORE_ADDR.
499
5002001-08-14 H.J. Lu (hjl@gnu.org)
501
502 * dbxread.c (SWAP_SYMBOL): Removed.
503 (INTERNALIZE_SYMBOL): Check sign extended vma.
504
ae9d9b96
CF
5052001-08-13 Christopher Faylor <cgf@cygnus.com>
506
507 * top.c (SIGSETJMP): Protect env argument with parentheses.
508 (SIGLONGJMP): Protect env argument with parentheses.
509
6ca173e3
AC
5102001-08-11 Andrew Cagney <ac131313@redhat.com>
511
512 * config/mn10300/mn10300.mt (TM_FILE): Delete.
513 * configure.tgt: Add mn10300 to list of mulit-arch targets.
514 * config/mn10300/tm-mn10300.h: Delete file. Move contents ...
515 * mn10300-tdep.c: To here.
516
5ea92dfe
AC
5172001-08-11 Andrew Cagney <ac131313@redhat.com>
518
519 * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_VIRTUAL): Make
520 val a DOUBLEST. Use floatformat_to_doublest.
521 (REGISTER_CONVERT_TO_RAW): Ditto. Use foatformat_from_doublest.
522 * config/m88k/tm-m88k.h (REGISTER_CONVERT_TO_VIRTUAL): Ditto.
523 (REGISTER_CONVERT_TO_RAW): Ditto.
524
a15525c1
AC
5252001-08-11 Andrew Cagney <ac131313@redhat.com>
526
527 * config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.
528 * mn10300-tdep.c (mn10300_gdbarch_init): Initialize pc_regnum and
529 sp_regnum.
530
c422e771
AC
5312001-08-11 Andrew Cagney <ac131313@redhat.com>
532
533 * doublest.c (convert_doublest_to_floatformat): Rename
534 floatformat_from_doublest. Make static.
535 (convert_floatformat_to_doublest): Rename floatformat_to_doublest.
536 Make static.
537 (floatformat_to_doublest): New function.
538 (floatformat_from_doublest): New function.
539 (host_float_format, host_double_format, host_long_double_format):
540 New static variables.
541 (store_floating, extract_floating): Always use
542 floatformat_to_doublest and floatformat_from_doublest.
543 * doublest.h (HOST_LONG_DOUBLE_FORMAT): Delete macro.
544
f096a152
AC
5452001-08-11 Andrew Cagney <ac131313@redhat.com>
546
547 * config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.
548 * mn10300-tdep.c (mn10300_gdbarch_init): Initialize init_frame_pc.
549
39d4ef09
AC
5502001-08-07 Andrew Cagney <ac131313@redhat.com>
551
552 * target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.
553 * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add.
554 * gdbarch.h, gdbarch.c: Regenerate.
555
556 * arch-utils.h (legacy_virtual_frame_pointer): Declare.
557 * arch-utils.c: Include "gdb_assert.h".
558 (legacy_virtual_frame_pointer): Define.
559 * Makefile.in (arch-utils.o): Depends on gdb_assert.h.
560
561 * tracepoint.c (encode_actions): Make frame_reg an int. Make
562 frame_offset a LONGEST.
563 * ax-gdb.c (gen_frame_args_address): Ditto.
564 (gen_frame_locals_address): Ditto.
565 * mn10300-tdep.c (mn10300_gdbarch_init): Initialize
566 virtual_frame_pointer.
567 (mn10300_virtual_frame_pointer): Make static. Update parameter
568 list to match function signature.
569 * config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete.
570
67c2c32c
KS
5712001-08-10 Keith Seitz <keiths@redhat.com>
572
573 * gdb-events.sh: Add architecture_changed event.
574 * gdbarch.sh: Include gdb-event.h.
575 (gdbarch_update_p): Notify UIs when architecture changes.
576 * gdb-events.h: Regenerated.
577 * gdb-events.c: Regenerated.
578 * gdbarch.c: Regenerated.
579
1297a2f0
MS
5802001-08-10 Michael Snyder <msnyder@redhat.com>
581
582 * regcache.c (legacy_write_register_gen): Don't 'optimize out'
583 a write_register to a pseudo-reg. Target_store_pseudo_register
584 needs to get called, because these regs may be computed and may
585 have side-effects.
586
fd969be2
KS
5872001-08-10 Keith Seitz <keiths@redhat.com>
588
589 * gdb-events.sh: Deal with event notifications with no
590 arguments.
591
fb6e5c55
OF
5922001-08-10 Orjan Friberg <orjanf@axis.com>
593
594 * remote.c (read_frame): Correct off-by-one error in condition.
595
a1bab801
DH
5962001-08-08 Don Howard <dhoward@redhat.com>
597
598 * stabsread.c (read_type): Add support for const and volatile
599 modifiers.
600
455ecc72
DJ
6012001-08-02 Daniel Jacobowitz <drow@mvista.com>
602
603 * core-regset.c (fetch_core_registers): Remove HAVE_GREGSET_T
604 and HAVE_FPREGSET_T checks. Use gdb_gregset_t and gdb_fpregset_t.
605
a5cedf2f
KS
6062001-08-02 Keith Seitz <keiths@redhat.com>
607
608 * defs.h (SLASH_STRING): If not defined, set
609 to "/", regardless of _WIN32, __CYGWIN__, or
610 whatnot.
611
d7275149
MK
6122001-08-02 Mark Kettenis <kettenis@gnu.org>
613
cc6dd2c0
MK
614 * cli/cli-decode.h: Include "gdb_regex.h" instead of
615 "gnu-regex.h".
616
d7275149
MK
617 * NEWS: Update.
618
40cd916f
EZ
6192001-08-02 Eli Zaretskii <eliz@is.elta.co.il>
620
621 * config/i386/xm-go32.h: Include xm-i386.h.
622 (HOST_BYTE_ORDER, HOST_LONG_DOUBLE_FORMAT): Remove definitions.
623
b5de0fa7
EZ
6242001-08-02 Eli Zaretskii <eliz@is.elta.co.il>
625
626 The following changes avoid polluting global namespace with the
627 `enable' and `disable' identifiers, because some platforms define
628 in their system headers symbols with global scope that go by those
629 names.
630
631 * breakpoint.h (enum enable_state): Rename from `enum enable'.
632 Also rename all the enum members to have the "bp_" prefix.
633 (struct breakpoint): Rename the `enable' member to `enable_state'.
634 (enum bpdisp): Rename all members to have the "disp_" prefix.
635
636 * breakpoint.c: All users of `enum enable' and `enum bpdisp'
637 changed.
638 (args_for_catchpoint_enable): Rename the `enable' member to
639 `enable_p'. All users changed.
640
641 * tracepoint.h (enum enable): Remove.
642 (struct tracepoint): The member `enabled' is now `int enabled_p'.
643
644 * tracepoint.c: All users of the `enabled' member changed.
645
646 * printcmd.c (struct display): The `status' member is now an int.
647
648 * memattr.h (struct mem_region): Rename the `status' member to
649 `enabled_p'.
650 (enum enable): Remove.
651
652 * memattr.c: Change all users of the `status' member of struct
653 mem_region to use `enabled_p' instead.
654
655 * infcmd.c (run_stack_dummy): Use disp_del instead of del.
656
657 * go32-nat.c: Remove the kludgey work-around for conflicts between
658 <dos.h> and "breakpoint.h".
659
ad4571f3
CV
6602001-08-02 Corinna Vinschen <vinschen@redhat.com>
661
662 * MAINTAINERS: Add myself to the write-after-approval list.
663 * ser-tcp.c (tcp_open): Use `localhost' as default host if no
664 hostname is given.
665
64f6fcad
AC
6662001-08-01 Andrew Cagney <ac131313@redhat.com>
667
668 * doublest.h (store_floating, floatformat_to_doublest): Make IN
669 paramter a const void pointer.
670 (floatformat_from_doublest): Make IN const, Make OUT a void
671 pointer.
672 * doublest.c (floatformat_to_doublest): Update.
673 (floatformat_from_doublest): Update.
674 (extract_floating): Update.
675
d16aafd8
AC
6762001-07-31 Andrew Cagney <ac131313@redhat.com>
677
678 * defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
679 (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
680 (HOST_LONG_DOUBLE_FORMAT, DOUBLEST)
681 (floatformat_to_doublest, floatformat_from_doublest)
682 (floatformat_is_negative, floatformat_is_nan)
683 (floatformat_mantissa, store_floating)
684 (extract_floating): Move declaration from here.
685 * doublest.h: To here. New file.
686 * utils.c (get_field, floatformat_to_doublest, put_field)
687 (ldfrexp, floatformat_from_doublest, floatformat_is_negative)
688 (floatformat_is_nan, floatformat_mantissa)
689 (FLOATFORMAT_CHAR_BIT): Move from here.
690 * doublest.c: To here. New file.
691 * findvar.c (store_floating, extract_floating): Move from here.
692 * doublest.c: To here.
693 * Makefile.in (SFILES): Add doublest.c.
694 (COMMON_OBS): Add doublest.o.
695 (doublest.o): Specify dependencies.
696 (doublest_h): Define.
697
698 * config/m88k/tm-m88k.h: Include "doublest.h".
699 * config/i960/tm-i960.h: Ditto.
700 * config/i386/tm-symmetry.h: Ditto.
701 * rs6000-tdep.c, valarith.c: Ditto.
702 * valprint.c, stabsread.c, sh-tdep.c: Ditto.
703 * ia64-tdep.c, i387-tdep.c, i386-tdep.c: Ditto.
704 * values.c, arm-tdep.c, arm-linux-tdep.c: Ditto.
705 * alpha-tdep.c, ax.h, expression.h: Ditto.
706 * sh-tdep.c, parse.c, top.c, value.h: Ditto.
707
708 * Makefile.in (arm-tdep.o): Add $(doublest_h).
709 (i386-tdep.o, i387-tdep.o, ia64-tdep.o): Ditto.
710 (rs6000-tdep.o, stabsread.o, valarith.o): Ditto.
711 (values.o, valprint.o, arm-linux-tdep.o): Ditto.
712 (alpha-tdep.o, ax_h, parse.o, top.o, value_h): Ditto.
713 (parser_defs_h): Ditto.
714 (expression_h): Add $(doublest_h) and $(symtab_h).
715
1b0cad1c
AC
7162001-08-01 Andrew Cagney <ac131313@redhat.com>
717
718 * Makefile.in: Sort header definitions.
719 (parser_defs_h, dis_asm_h, annotate_h, gdbthread_h): Define.
720 Replace parser-defs.h with $(parser_defs_h). Replace $(dis-asm_h)
721 and $(dis-asm.h) with $(dis_asm_h). Replace annotate.h with
722 $(annotate_h). Replace target.h with $(target_h). Replace
723 gdbthread.h with $(gdb_thread_h). Replace symfile.h with $(symfile_h).
724
1ca66634
MK
7252001-07-31 Mark Kettenis <kettenis@gnu.org>
726
727 * config/i386/xm-i386.h: New file.
728 * config/i386/xm-fbsd.h: Removed.
729 * config/i386/xm-linux.h: Removed.
730 * config/i386/fbsd.mh: Reorganize a bit.
731 (XM_FILE): Set to xm-i386.h instead of xm-fbsd.h.
732 * config/i386/linux.mh (XM_FILE): Set to xm-i386.h insread of
733 xm-linux.h.
734
9e84cbde
JB
7352001-07-30 Jim Blandy <jimb@redhat.com>
736
737 * dwarf2read.c (dwarf2_build_psymtabs_hard): Doc fix.
738
72473524
DJ
7392001-07-27 Daniel Jacobowitz <drow@mvista.com>
740
741 * configure.in: Only invoke AC_FUNC_SETPGRP if not cross-compiling.
742 Check for SETPGRP_VOID separately if cross-compiling and ISO C
743 headers are available.
744
8d7f6b4a
MK
7452001-07-30 Mark Kettenis <kettenis@gnu.org>
746
4b418e06
MK
747 * config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to call
748 i386_dwarf_reg_to_regnum.
749
8d7f6b4a
MK
750 * i386-tdep.c (i386_register_convert_to_virtual): Replace
751 assertion with a warning if we're asked to convert towards a
752 non-floating-point type. Zero out the the buffer where the data
753 is supposed to be stored in that case.
754
6c56c069
EZ
7552001-07-29 Eli Zaretskii <eliz@is.elta.co.il>
756
f959bc41
EZ
757 * config/djgpp/djconfig.sh: Unset CDPATH.
758
a3b9cbb3
EZ
759 * go32-nat.c (get_cr3): Temporary disable support for page tables
760 in UMBs, as it is incomplete.
761
6c56c069
EZ
762 Support for stepping through longjmp in DJGPP programs:
763
764 * config/i386/tm-go32.h (JB_ELEMENT_SIZE, JB_PC): New macros.
765 (GET_LONGJMP_TARGET): Define to call get_longjmp_target.
766 (get_longjmp_target): Add prototype.
767
de6ee558
AC
7682001-07-28 Andrew Cagney <ac131313@redhat.com>
769
770 Fix some PID/TPID fallout for HP/UX.
771 From 2001-07-22 Rodney Brown <rbrown64@csc.com.au>:
772 * infttrace.c (ptrace_wait): Match external declaration,
773 and match target_post_wait declaration.
774
93755ae6
AC
7752001-07-28 Andrew Cagney <ac131313@redhat.com>
776
777 * MAINTAINERS: Add Orjan Friberg as cris target maintainer.
158ff1e6 778 (cris): Set --enable-gdb-build-warnings flag to -w.
93755ae6 779
16f769f3
AC
7802001-07-28 Andrew Cagney <ac131313@redhat.com>
781
782 From 2001-07-23 Andreas Schwab <schwab@suse.de>:
783 * config/m68k/tm-m68k.h (TARGET_LONG_DOUBLE_FORMAT): Define.
784 (TARGET_LONG_DOUBLE_BIT): Define.
785 (REGISTER_VIRTUAL_SIZE): Return 12 for floating point registers.
786 (MAX_REGISTER_VIRTUAL_SIZE): Increase to 12.
787 (REGISTER_VIRTUAL_TYPE): Return builtin_type_long_double for
788 floating point registers.
789 (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL)
790 (REGISTER_CONVERT_TO_RAW): Remove.
791 * config/m68k/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define.
792
5b7f31a4
AC
7932001-07-26 Andrew Cagney <ac131313@redhat.com>
794
795 * thread.c, breakpoint.c: Include "gdb.h".
796 * Makefile.in (gdb_h): Define.
797 (HFILES_NO_SRCDIR): Add gdb.h.
798 (mi-cmd-break.o, mi-main.o, thread.o)
799 (breakpoint.o): Add dependency on $(gdb_h).
800
801 * defs.h (enum gdb_rc, gdb_breakpoint_query)
802 (gdb_breakpoint, gdb_thread_select)
803 (gdb_list_thread_ids): Move declaration from here ...
804 * gdb.h: To here. New file.
805
8aaf581c
SC
8062001-07-28 Stephane Carrez <Stephane.Carrez@worldnet.fr>
807
808 * Makefile.in (SUBDIR_TUI_OBS): Add tui-out.o, tui-hooks.o.
809 (SUBDIR_TUI_SRCS): Add tui-out.c tui-hooks.c
810 (SFILES): Likewise.
811 (tui-out.o): Define dependencies.
812 (tui-hooks.o): Likewise.
813
f9e2d830
AC
8142001-07-28 Andrew Cagney <ac131313@redhat.com>
815
816 * MAINTAINERS: Update e-mail address of active @cygnus.com
817 maintainers to @redhat.com.
818
de6ed73f
AC
8192001-07-28 Andrew Cagney <ac131313@redhat.com>
820
821 * README (Known bugs): Delete section.
822 (Kernel debugging): Delete section.
823 (Languages other than C): Delete section.
824 (Host/target specific installation notes) New section.
825
3d261580
MK
8262001-07-28 Mark Kettenis <kettenis@gnu.org>
827
85540d8c
MK
828 * config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
829 DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines.
830 (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New
831 prototypes.
832 * config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h,
833 config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call
834 i386_dwarf_reg_to_regnum.
835 * i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum):
836 New functions.
837
3d261580
MK
838 * i386-tdep.c: Include "gdb_assert.h"
839 (i386_register_convert_to_virtual): Fix such that it can handle
840 conversion to any floating-point type. Assert that we are dealing
841 with a floating-point first.
842 (i386_register_convert_to_raw): Assert that TYPE is a
843 floating-point type with length 12.
844
2db5ca22
JM
8452001-07-27 John R. Moore <jmoore@redhat.com>
846
847 * configure.in: Added dependency of gdb on tcl/tk libraries.
848 * Makefile.in: Likewise.
849 * configure: Regenerated with the above using autoconf.
850
88e04cc1
EZ
8512001-07-26 Elena Zannoni <ezannoni@redhat.com>
852
853 * sh-tdep.c (sh_gdbarch_init): Use SH_DEFAULT_NUM_REGS instead of
854 NUM_REGS.
855 (SH_DEFAULT_NUM_REGS): Define.
856
2033c18a
EZ
8572001-07-26 Eli Zaretskii <eliz@is.elta.co.il>
858
859 * go32-nat.c (read_memory_region): Make sure the segment limit was
860 indeed set, to work around a Windows 2000 bug.
861
9f30d7f5
DJ
8622001-07-25 Daniel Jacobowitz <drow@mvista.com>
863
864 * infptrace.c (child_xfer_memory): Add cast to CORE_ADDR.
865 * infttrace.c (child_xfer_memory): Likewise.
866 * symm-nat.c (child_xfer_memory): Likewise.
867 * gdbserver/low-hppabsd.c (read_inferior_memory): Likewise.
868 (write_inferior_memory): Likewise.
869 * gdbserver/low-linux.c (read_inferior_memory): Likewise.
870 (write_inferior_memory): Likewise.
871 * gdbserver/low-lynx.c (read_inferior_memory): Likewise.
872 (write_inferior_memory): Likewise.
873 * gdbserver/low-nbsd.c (read_inferior_memory): Likewise.
874 (write_inferior_memory): Likewise.
875 * gdbserver/low-sparc.c (read_inferior_memory): Likewise.
876 (write_inferior_memory): Likewise.
877 * gdbserver/low-sun3.c (read_inferior_memory): Likewise.
878 (write_inferior_memory): Likewise.
879
e23194cb
EZ
8802001-07-25 Eli Zaretskii <eliz@is.elta.co.il>
881
966beb0f
EZ
882 * README: Mention how to make gdb.pdf.
883
e23194cb
EZ
884 * NEWS: Update.
885
7c542009
SS
8862001-07-24 Stephen P. Smith <ischis2@home.com>
887
a3f3e535
SS
888 * MAINTAINERS (Stephen P. Smith): Added to write after approval
889 list.
890
675fb869
AC
8912001-07-23 Andrew Cagney <ac131313@redhat.com>
892
893 * mips-tdep.c (mips_push_arguments): Add comment explaining
894 problem with LE o32 GCC.
895
a7019e23
EZ
8962001-07-23 Elena Zannoni <ezannoni@redhat.com>
897
898 * config/powerpc/aix.mh (MH_LDFLAGS): Don't set these, the Gnu linker
899 doesn't understand them.
900
ab35b611
EZ
9012001-07-23 Elena Zannoni <ezannoni@redhat.com>
902
903 * memattr.c (mem_info_command): Reformat output to look more like
904 'info break' output.
905 (_initialize_mem): Improve help.
906
0200359f
MK
9072001-07-23 Mark Kettenis <kettenis@gnu.org>
908
909 * configure.in (AC_CHECK_FUNCS): Add setpggrp.
910 (AC_FUNC_SETPGRP): Add.
911 * aclocal.m4, configure, config.in: Regenerated.
912 * inflow.c (gdb_setpgid): Get rid of NEED_POSIX_SETPGID and
913 SETPGRP_ARGS. Always use setpgid if it is available, fall back on
914 setpgrp if it isn't. Use SETPGRP_VOID (defined by autoconf) to
915 distinguish between the two setpgrp flavours.
916 * config/xm-sysv4.h, config/arm/xm-linux.h,
917 config/i386/xm-i386aix.h, config/i386/xm-sco.h,
918 config/i386/xm-linux.h, config/i386/xm-ptx.h,
919 config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
920 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h,
921 config/ia64/xm-linux.h (NEED_POSIX_SETPGID): Remove.
922 * config/rs6000/xm-rs6000.h (SETPGRP_ARGS): Remove.
923
9f20bf26
EZ
9242001-07-23 Eli Zaretskii <eliz@is.elta.co.il>
925
926 * go32-nat.c (read_memory_region): Set the granularity bit of the
927 allocated segment according to its size, and adjust the limit to
928 be page-aligned if the segment is page-granular.
929
930 * (get_cr3, get_pde, get_pte, display_ptable_entry, go32_pde)
931 (display_page_table, go32_pte, go32_pte_for_address): New functions.
932 (_initialize_go32_nat): Initialize and document them.
933
383d750b
MK
9342001-07-22 Mark Kettenis <kettenis@gnu.org>
935
936 * i386gnu-nat.c: Include "i387-nat.h".
937 (struct env387): Removed.
938 (reg_offset): Fix comment.
939 (fetch_fpregs): Use FCTRL_REGNUM and FOP_REGNUM instead of
940 FIRST_FPU_CONTROL_REGNUM and LAST_FPU_CONTROL_REGNUM. Rewrite to
941 use i387_supply_fsave.
942 (gnu_fetch_registers): Remove spurious whitespace.
943 (convert_to_env387): Remove.
944 (store_fpregs): Add argument regno. Use i387_fill_fsave instead
945 of convert_to_env387.
946 (gnu_store_registers): Remove spurious whitespace. Pass REGNO to
947 store_fpregs.
948 * config/i386/i386gnu.mt (TDEPFILES): Add i387-tdep.o.
949 * config/i386/i386gnu.mh (XDEPFILES): Remove i387-tdep.o.
950 (NATDEPFILES): Add i387-nat.o.
951
1a12f22f
SC
9522001-07-22 Stephane Carrez <Stephane.Carrez@worldnet.fr>
953
954 * Makefile.in (ALLDEPFILES): Add m68hc11-tdep.c.
955 (m68hc11-tdep.o): Define dependencies.
956
7d32ba20
SC
9572001-07-22 Stephane Carrez <Stephane.Carrez@worldnet.fr>
958
959 * m68hc11-tdep.c (m68hc11_gdbarch_init): Define int at 16-bits.
960
5ecb1806
SC
9612001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
962
963 * utils.c (init_page_info): Use tui_get_command_dimension.
964 * printcmd.c (disassemble_command): Simplify tui specific code,
965 use tui_is_window_visible, tui_show_assembly.
966
25630444
MK
9672001-07-21 Mark Kettenis <kettenis@gnu.org>
968
969 * i386bsd-nat.c: Do not include <sys/sysctl.h>.
970 (_initialize_i386bsd_nat) [KERN_PS_STRINGS]: Move FreeBSD-specific
971 code to ...
972 * i386fbsd-nat.c: ... here. New file.
973 * config/i386/fbsd.mh (NATDEPFILES): Add i386-fbsd.o.
974 * config/i386/nm-fbsd.h (CHILD_RESUME): Define.
975 * Makefile.in (ALLDEPFILES): Add i386fbsd-nat.c.
976 (i386fbsd-nat.o): Add dependencies.
977
0150732f
DJ
9782001-07-19 Daniel Jacobowitz <drow@mvista.com>
979
980 * signals.c: New file.
981 * Makefile.in: Add signals.o.
982 * target.c (struct signals, target_signal_to_name)
983 (target_signal_from_name, target_signal_from_host)
984 (do_target_signal_to_host, target_signal_to_host_p)
985 (target_signal_to_host, target_signal_from_command): Move to
986 signals.c.
987 (initialize_targets): Move check of struct signals to...
988 * signals.c (_initialize_signals): Here.
989
e36118e7
AC
9902001-07-19 Andrew Cagney <ac131313@redhat.com>
991
992 * MAINTAINERS: Add Michael Chastain as C++ testsuite maintainer.
993
b4fc7a30
AC
9942001-07-19 Andrew Cagney <ac131313@redhat.com>
995
996 From Stephen Smith:
997 * configure.tgt (i*86-*-pe*): New target.
998
4b048bc0
AC
9992001-07-19 Andrew Cagney <ac131313@redhat.com>
1000
1001 From 2001-07-16 Rodney Brown <rbrown64@csc.com.au>:
1002 * infttrace.c (child_thread_alive): Fix gdb_tid typo.
1003 * somsolib.c (no_shared_libraries): Provide stub.
1004 * xcoffsolib.c (no_shared_libraries): Provide stub.
1005
227288a0
SC
10062001-07-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1007
1008 * Makefile.in (COMMON_OBS): Remove tui-file.o.
1009 (SUBDIR_TUI_OBS): Add it here.
1010 (SUBDIR_TUI_SRCS): Move tui-file.c and tui-file.h here.
1011 (main.o): Remove dependency with tui-file.h.
1012
f9eb4b01
EZ
10132001-07-17 Elena Zannoni <ezannoni@redhat.com>
1014
1015 * Makefile.in (tui-file.o): Update dependencies.
1016
d0c8cdfb
EZ
10172001-07-17 Elena Zannoni <ezannoni@redhat.com>
1018
1019 * top.c (catch_errors): Convert PTR to void * in parameters list.
1020 (quit_cover): Ditto.
1021
063190b6
SC
10222001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1023
1024 * source.c (find_source_lines): Remove tui test, must be replaced
1025 by appropriate warning hook.
1026 (print_source_lines): Remove tui hacks, must be replaced by cli.
1027 (forward_search_command): Remove tui hacks, can be replaced by
1028 appropriate calls to identify_source_line when tui scrolls.
1029 (reverse_search_command): Likewise.
1030
cf759d3b
ND
10312001-07-16 Nick Duffek <nsd@redhat.com>
1032
1033 * remote.c (init_remote_ops, init_remote_cisco_ops,
1034 init_remote_async_ops): Set to_pid_to_str and
1035 to_extra_thread_info correctly and in the same order as declared
1036 in target.h.
1037
0caabb7e
AC
10382001-07-16 Andrew Cagney <ac131313@redhat.com>
1039
1040 * remote.c: Revert below. Included more than intended.
1041
943b3971
ND
10422001-07-16 Nick Duffek <nsd@redhat.com>
1043
1044 * remote.c (init_remote_ops, init_remote_cisco_ops,
1045 init_remote_async_ops): Set to_pid_to_str and
1046 to_extra_thread_info correctly and in the same order as declared
1047 in target.h.
1048
9ed10b08
ND
10492001-07-16 Nick Duffek <nsd@redhat.com>
1050
1051 * findvar.c (read_var_value): Apply value_as_pointer() to
1052 addresses retrieved from the target for LOC_BASEREG and
1053 LOC_BASEREG_ARG variables.
1054
24be5c34
OF
10552001-07-16 Orjan Friberg <orjanf@axis.com>
1056
1057 * NEWS: New target CRIS.
1058
314b6fb7
EZ
10592001-07-16 Elena Zannoni <ezannoni@redhat.com>
1060
1061 * top.c (show_commands): Remove extern decl of history_get, it's
1062 already in readline/history.h.
1063
210661e7
EZ
10642001-07-16 Elena Zannoni <ezannoni@redhat.com>
1065
1066 * top.c (is_complete_command, init_cmd_lists, init_cli_cmds,
1067 execute_user_command, do_setshow_command, get_prompt, init_proc,
1068 serial_log_command): Remove extern declarations. Include
1069 cli/cli-cmds.h, cli/cli-script.h, cli/cli-setshow.h, serial.h.
1070 * gdbcmd.h (execute_user_command): Remove declaration, it's already
1071 in cli/cli-script.h.
1072 * command.h (do_setshow_command): Remove declaration, it's already
1073 in cli/cli-setshow.h.
1074 * infrun.c: Include "cli/cli-script.h" for execute_user_command.
1075 * Makefile.in (infrun.o): Update dependencies.
1076 (top.o): Ditto.
1077 * cli/cli-setshow.h: Add comment for do_setshow_command.
1078
2584159e
EZ
10792001-07-16 Eli Zaretskii <eliz@is.elta.co.il>
1080
1081 * cli/cli-cmds.c (shell_escape) [GLOBAL_CURDIR]: Condition the
1082 call to chdir on this symbol rather than on __DJGPP__.
1083 (CANT_FORK) [__MSDOS__]: Move from here...
1084 * defs.h (CANT_FORK) [__MSDOS__]: ...to here.
1085 (GLOBAL_CURDIR) [__MSDOS__]: Define.
1086
cf54db79
OF
10872001-07-16 Orjan Friberg <orjanf@axis.com>
1088
1089 * configure.tgt: Recognise the CRIS architecture.
1090 * config/cris/cris.mt: New file for CRIS target.
1091 * cris-tdep.c: New file for CRIS target.
1092
64cdedad
EZ
10932001-07-15 Elena Zannoni <ezannoni@redhat.com>
1094
1095 * top.c (quit_cover, float_handler): Move definition up before use.
1096 (gdb_init): Move to end of file, to avoid calls to not yet defined
1097 functions.
1098 Delete prototypes.
1099
2cd58942
AC
11002001-07-14 Andrew Cagney <ac131313@redhat.com>
1101
1102 * serial.h (SERIAL_ASYNC): Delete.
1103 (DEPRECATED_SERIAL_FD): Delete.
1104 (SERIAL_DEBUG): Delete.
1105 (SERIAL_DEBUG_P): Delete.
1106 (SERIAL_DRAIN_OUTPUT): Delete.
1107 (SERIAL_FLUSH_OUTPUT): Delete.
1108 (SERIAL_FLUSH_INPUT): Delete.
1109 (SERIAL_SEND_BREAK): Delete.
1110 (SERIAL_RAW): Delete.
1111 (SERIAL_GET_TTY_STATE): Delete.
1112 (SERIAL_SET_TTY_STATE): Delete.
1113 (SERIAL_PRINT_TTY_STATE): Delete.
1114 (SERIAL_NOFLUSH_SET_TTY_STATE): Delete.
1115 (SERIAL_SETBAUDRATE): Delete.
1116 (SERIAL_SETSTOPBITS): Delete.
1117 (SERIAL_CAN_ASYNC_P): Delete.
1118 (SERIAL_IS_ASYNC_P): Delete.
1119 (SERIAL_UN_FDOPEN): Delete.
1120 (SERIAL_READCHAR): Delete.
1121 (SERIAL_CLOSE): Delete.
1122 (SERIAL_FDOPEN): Delete.
1123 (SERIAL_OPEN): Delete.
1124 * ser-unix.c: Update.
1125 * sparclet-rom.c: Update.
1126 * remote-bug.c: Update.
1127 * dsrec.c: Update.
1128 * xmodem.c: Update.
1129 * nindy-share/ttyflush.c: Update.
1130 * nindy-share/Onindy.c: Update.
1131 * utils.c: Update.
1132 * serial.c: Update.
1133 * remote-nindy.c: Update.
1134 * inflow.c: Update.
1135 * sparcl-tdep.c: Update.
1136 * sh3-rom.c: Update.
1137 * remote.c: Update.
1138 * remote-utils.c: Update.
1139 * remote-st.c: Update.
1140 * remote-sds.c: Update.
1141 * remote-rdp.c: Update.
1142 * remote-os9k.c: Update.
1143 * remote-nrom.c: Update.
1144 * remote-mips.c: Update.
1145 * remote-es.c: Update.
1146 * remote-e7000.c: Update.
1147 * remote-array.c: Update.
1148 * ocd.c: Update.
1149 * nindy-share/nindy.c: Update.
1150 * monitor.c: Update.
1151
ea7c478f
AC
11522001-07-14 Andrew Cagney <ac131313@redhat.com>
1153
1154 * mn10200-tdep.c: Replace value_ptr with ``struct value *''.
1155 * mcore-tdep.c: Ditto.
1156 * sparc-tdep.c: Ditto.
1157 * sh-tdep.c: Ditto.
1158 * rs6000-tdep.c: Ditto.
1159 * ppc-linux-tdep.c: Ditto.
1160 * m68hc11-tdep.c: Ditto.
1161 * ia64-tdep.c: Ditto.
1162 * i386-tdep.c: Ditto.
1163 * arm-linux-tdep.c: Ditto.
1164 * hppa-tdep.c: Ditto.
1165 * h8500-tdep.c: Ditto.
1166 * fr30-tdep.c: Ditto.
1167 * arm-tdep.c: Ditto.
1168 * alpha-tdep.c: Ditto.
1169 * d30v-tdep.c: Ditto.
1170 * d10v-tdep.c: Ditto.
1171 * m32r-tdep.c: Ditto.
1172 * mips-tdep.c: Ditto.
1173 * v850-tdep.c: Ditto.
1174
d75b5104
EZ
11752001-07-15 Elena Zannoni <ezannoni@redhat.com>
1176
1177 * top.c (readline_line_completion_function, noop_completer): Move
1178 from here...
1179 * completer.c (readline_line_completion_function, noop_completer):
1180 ...to here.
1181 * gdbcmd.h (readline_line_completion_function, noop_completer):
1182 Move declarations from here...
1183 * completer.h (readline_line_completion_function, noop_completer):
1184 ...to here.
1185 * corefile.c: Include completer.h.
1186 * source.c: Ditto.
1187 * symfile.c: Ditto.
1188 * Makefile.in: Update dependencies.
1189
150985e3
EZ
11902001-07-15 Eli Zaretskii <eliz@is.elta.co.il>
1191
1192 * go32-nat.c (go32_create_inferior): Support command lines longer
1193 than 126 characters.
1194
def90278
SC
11952001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1196
1197 * NEWS: New target 68HC11/68HC12.
1198
37767e42
SC
11992001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1200
1201 * utils.c (query): Remove tui hacks; tui must use the query_hook.
1202 * top.c (command_loop): Remove tui insert_mode hacks; don't call
1203 tuiCleanUp because this must be made with atexit by tui.
1204 * symfile.c (symbol_file_command): Remove call to TUIDO
1205 * stack.c (show_and_print_stack_frame_stub): Remove tui check;
1206 not necessary when using the selected frame hooks.
1207 (print_stack_frame_stub): Likewise.
1208 (print_frame_info_base): Likewise.
1209 (print_frame_info): Likewise.
1210 (up_silently_command): Likewise.
1211 (down_silently_command): Likewise.
1212 (show_stack_frame): Likewise for TUIDO.
1213 (select_frame): Likewise.
1214 (select_and_print_frame): Likewise.
1215 (stack_publish_stopped_with_no_frame): Remove.
1216 (select_and_maybe_print_frame): Remove.
1217 * main.c (captured_main): Remove tui_fileopen and tuiInit; tui
1218 must use the initialize ui hook.
1219 * infrun.c (normal_stop): Remove call to TUIDO; tui must use the
1220 selected frame hooks.
1221 * event-top.c (command_handler): Remove tui insert_mode hack.
1222 * defs.h: Remove TUIDO; Only include tui.h.
1223 * breakpoint.c (mention): Remove calls to TUIDO.
1224 (delete_breakpoint): Remove tui hacks; tui must install
1225 the breakpoint hooks.
1226
0123ceaf
MK
12272001-07-14 Mark Kettenis <kettenis@gnu.org>
1228
1fe7ac85
MK
1229 * config/i386/xm-linux.h (KERNEL_U_ADDR): Move from here...
1230 * config/i386/nm-linux.h: ...to here. Change comments about user
1231 area/struct a bit.
1232
d0f3ce3c
MK
1233 * config/i386/xm-linux.h (HAVE_TERMIOS): Really remove.
1234
0123ceaf
MK
1235 * Makefile.in (ALLDEPFILES): Add i386bsd-nat.c and i386bsd-tdep.c
1236 (i386bsd-tdep.o, i386bsd-nat.o): New targets.
1237
4902674b
EZ
12382001-07-13 Elena Zannoni <ezannoni@redhat.com>
1239
1240 * remote-e7000.c (fetch_regs_from_dump): If register set is null,
1241 generate an internal error.
1242 (e7000_fetch_registers): Initialize variable 'wanted'.
1243 (e7000_wait): Initialize variable 'wanted_nopc'.
1244 (e7000_store_register): Fix sprintf compiler warnings.
1245 (sub2_from_pc): Ditto.
1246 (e7000_open): Close the descriptor, not the name.
1247 (e7000_load): Fix compiler warnings.
1248 (sub2_from_pc): Ditto.
1249 * Makefile.in (remote-e7000.o): Can now compile with -Werror.
1250
b7247919
MK
12512001-07-13 Mark Kettenis <kettenis@gnu.org>
1252
1253 * i386bsd-nat.c: Include <signal.h>, <stddef.h> and
1254 <sys/sysctl.h>.
1255 (store_inferior_registers): Wrap long line.
1256 (i386bsd_dr_get_status): Fix typo in comment.
1257 (_initialize_i386bsd_nat): New function. * i386bsd-tdep.c: New
1258 file. * config/i386/tm-fbsd.h (IN_SIGTRAMP): New define.
1259 (i386bsd_in_sigtramp): New prototype.
1260 (SIGTRAMP_START, SIGTRAMP_END): Redefine in terms...
1261 (i386bsd_sigtramp_start, i386bsd_sigtramp_end): ...these new
1262 (external) variables.
1263 (SIGCONTEXT_PC_OFFSET): Removed.
1264 (FRAME_SAVED_PC): New define.
1265 (i386bsd_frame_saved_pc): New function. * config/i386/fbsd.mt
1266 (TDEPFILES): Add i386bsd-tdep.o.
1267
d1bacddc
DJ
12682001-07-12 Daniel Jacobowitz <drow@mvista.com>
1269
1270 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Use ISO C
1271 definition.
1272
9a973a8f
MK
12732001-07-13 Mark Kettenis <kettenis@gnu.org>
1274
1275 * lin-lwp.c (lin_lwp_wait): Avoid check for resumed LWPs if there
1276 are no registered LWPs yet.
1277
6ef7fa21
DJ
12782001-07-12 Daniel Jacobowitz <drow@mvista.com>
1279
1280 * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER): Call the right
1281 function.
1282 (CANNOT_STORE_REGISTER): Likewise.
1283
75e266ac
KS
12842001-07-12 Keith Seitz <keiths@redhat.com>
1285
1286 * remote-rdp.c: Include "serial.h"
1287
d0608e50
DJ
12882001-07-12 Daniel Jacobowitz <drow@mvista.com>
1289
1290 * gdbserver/remote-utils.c (remote_open): Set VMIN to 1
1291 in HAVE_TERMIO/HAVE_TERMIOS cases.
1292
1e4fac59
MK
12932001-07-12 Mark Kettenis <kettenis@gnu.org>
1294
de4ca854
MK
1295 * lin-lwp.c (stop_wait_callback): Add support for flushing
1296 signals. Use that in favour of the old code to get rid of
1297 superfluous SIGINTs.
1298 (lin_lwp_wait): Use the new support in stop_wait_callback to
1299 flush all but one SIGINT.
1300
635b0cc1
MK
1301 * i386-tdep.c (i386_extract_return_value): Undo 2001-07-11 changes
1302 to comment.
1303 (i386_store_return_value): Improve comments about storing
1304 floating-point return values.
1305
1e4fac59
MK
1306 * config/arm/xm-linux.h, config/i386/xm-linux.h,
1307 config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
1308 config/sparc/xm-linux.h, config/ia64/xm-linux.h (HAVE_TERMIOS):
1309 Removed. Taken care of by autoconf and terminal.h.
1310
49e790b0
DJ
13112001-07-12 Daniel Jacobowitz <drow@mvista.com>
1312
1313 * mips-tdep.c (mips_type_needs_double_align): New function.
1314 (mips_push_arguments): Align o32 structs to even argument
1315 registers if necessary.
1316
e7df8212
DJ
13172001-07-11 Daniel Jacobowitz <drow@mvista.com>
1318
1319 * config/djgpp/fnchange.lst: Add entries for
1320 mips-linux-nat.c and mips-linux-tdep.c.
1321
2b2d558c
MK
13222001-07-12 Mark Kettenis <kettenis@gnu.org>
1323
9e158af1
MK
1324 * config/powerpc/xm-linux.h: Fix corrupted file.
1325
2b2d558c
MK
1326 * configure.in: Add check for sigsetjmp.
1327 * config/m68k/xm-linux.h (HAVE_SIGSETJMP): Removed.
1328 * config/xm-sysv4.h (HAVE_SIGSETJMP): Removed.
1329 * configure, config.in: Regenerated.
1330
3bbfbb92
EZ
13312001-07-11 Elena Zannoni <ezannoni@redhat.com>
1332
1333 * config/sh/tm-sh.h (struct gdbarch_tdep): Add
1334 FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
1335 PR_REGNUM fields.
1336
1337 * sh-tdep.c (sh_skip_prologue_hard_way): Rename from
1338 skip_prologue_hard_way().
1339 (skip_prologue_hard_way): Make it a function pointer.
1340 (sh_print_register): Use function pointer do_pseudo_register,
1341 instead of sh_do_pseudo_register.
1342 (sh_do_registers_info): Ditto.
1343 (sh_gdbarch_init): Initialize do_pseudo_register.
1344 (IS_MOV_TO_R14): Rename from IS_MOV_R14.
1345 (skip_prologue_hard_way): Update.
1346 (sh_gdbarch_init): Move setting of frame_chain,
1347 get_saved_register, init_extra_frame_info, push_arguments,
1348 extract_return_value, pop_frame, store_struct_return,
1349 extract_struct_value_address, use_struct_convention,
1350 init_extra_frame_info to before target specific settings.
1351 (sh_gdbarch_init): Initialize new tdep fields
1352 FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
1353 PR_REGNUM.
1354 (sh_push_arguments): Use new gdbarch_tdep fields
1355 {ARG0,ARGLAST}_REGNUM.
1356 (sh_saved_pc_after_call, sh_nofp_frame_init_saved_regs,
1357 sh_init_extra_frame_info, sh_push_return_address,
1358 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
1359 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update to use
1360 gdbarch_tdep->PR_REGNUM.
1361 (dr_reg_base_num, fv_reg_base_num): Move to earlier in the file.
1362
e64c0717
DJ
13632001-07-11 Daniel Jacobowitz <drow@mvista.com>
1364
1365 * config/mips/tm-linux.h: Include "tm-linux.h" instead of copying
1366 from it. Move definitions of REALTIME_LO and REALTIME_HI above
1367 include.
1368
6c8e04b5
DJ
13692001-07-11 Daniel Jacobowitz <drow@mvista.com>
1370
1371 * MAINTAINERS: List myself for MIPS/Linux
1372 port.
1373
94dfea5d
DJ
13742001-07-11 Daniel Jacobowitz <drow@mvista.com>
1375
1376 * gdbserver/remote-utils.c (remote_open): Only
1377 check for F_SETOWN if we had F_SETFL and FASYNC.
1378
f175af98
DJ
13792001-07-11 Daniel Jacobowitz <drow@mvista.com>
1380
1381 From Michael Fedrowitz <michael.fedrowitz@informatik.uni-ulm.de>:
1382
1383 * config/m68k/linux.mh: Remove core-regset.o.
1384 * m68klinux-nat.c: Fix comment.
1385 (supply_gregset): Change argument to elf_gregset_t *.
1386 (supply_fpregset): Change argument to elf_fpregset_t *.
1387 (fetch_core_registers): New function.
1388 (linux_elf_core_fns): Define.
1389 (_initialize_m68k_linux_nat): New function.
1390
21624696
AC
13912001-07-11 Andrew Cagney <ac131313@redhat.com>
1392
1393 * configure.tgt: Mark d10v as pure multi-arch.
1394 * config/d10v/tm-d10v.h: Delete file.
1395 * config/d10v/d10v.mt (TM_FILE): Delete.
1396
819cc324
AC
13972001-07-10 Andrew Cagney <ac131313@redhat.com>
1398
1399 * serial.h (typedef serial_t): Delete. Replace all references to
1400 serial_t with `struct serial *'.
1401 * serial.c: Update.
1402 * nindy-share/ttyflush.c: Update.
1403 * nindy-share/ttyflush.c: Update.
1404 * nindy-share/Onindy.c: Update.
1405 * nindy-share/nindy.c: Update.
1406 * remote-rdp.c: Update.
1407 * remote-sds.c: Update.
1408 * remote-st.c: Update.
1409 * remote-nindy.c: Update.
1410 * remote-mips.c: Update.
1411 * remote-e7000.c: Update.
1412 * remote-os9k.c: Update.
1413 * remote-nrom.c: Update.
1414 * remote-es.c: Update.
1415 * remote-array.c: Update.
1416 * ocd.c: Update.
1417 * mon960-rom.c: Update.
1418 * dsrec.c: Update.
1419 * inflow.c: Update.
1420 * ser-e7kpc.c: Update.
1421 * sparclet-rom.c: Update.
1422 * srec.h: Update.
1423 * ser-tcp.c: Update.
1424 * ser-go32.c: Update.
1425 * sparcl-tdep.c: Update.
1426 * w89k-rom.c: Update.
1427 * utils.c: Update.
1428 * sh3-rom.c: Update.
1429 * remote.c: Update.
1430 * ser-pipe.c: Update.
1431 * ser-unix.c: Update.
1432 * ser-unix.h: Update.
1433 * xmodem.c: Update.
1434 * xmodem.h: Update.
1435
30120c46
AC
14362001-07-11 J.T. Conklin <jtc@redback.com>
1437
1438 From Greg McGary <greg@mcgary.org>:
cf30a8e1
C
1439 * gdbserver/remote-utils.c (remote_open): Set gdbserver as "owner"
1440 of SIGIO.
1441 (input_interrupt): Don't block on read, in case we got redundant
1442 SIGIO. Don't gripe about redundant SIGIO.
1443 * gdbserver/low-hppabsd.c (mywait): Use waitpid(). Enable SIGIO
1444 handler while waiting.
1445 * gdbserver/low-linux.c (mywait): Likewise.
1446 * gdbserver/low-nbsd.c (mywait): Likewise.
1447 * gdbserver/low-sparc.c (mywait): Likewise.
1448
84c6c83c
KS
14492001-07-11 Keith Seitz <keiths@redhat.com>
1450
1451 * infrun.c (print_stop_reason): Add missing uiout field
1452 "reason" for SIGNAL_RECEIVED case.
1453
e6da861e
MK
14542001-07-11 Mark Kettenis <kettenis@gnu.org>
1455
82de0203
MK
1456 * config/alpha/nm-linux.h (TARGET_ELF64, PSIGNAL_IN_SIGNAL_H):
1457 Remove unused macro's.
1458
e6da861e
MK
1459 * config/powerpc/nm-linux.h (NO_SYS_REG_H): Remove, it's no longer
1460 used.
1461
d8c852a1
EZ
14622001-07-11 Eli Zaretskii <eliz@is.elta.co.il>
1463
1464 * go32-nat.c (info_dos_cmdlist): New variable.
1465 (go32_info_dos_command): New function.
1466 (_initialize_go32_nat): Convert all DOS-specific commands into
1467 subcommands of "info dos". Suggested by Andrew Cagney
1468 <ac131313@redhat.com>.
1469
f8d13125
MK
14702001-07-11 Mark Kettenis <kettenis@gnu.org>
1471
11d18042
MK
1472 * config/nm-linux.h: Fix comments.
1473
936742ab
MK
1474 * thread-db.c (enable_thread_event_reporting): Correct warning
1475 message about getting thread death breakpoint.
1476 Reported by John S Kallal <jskallal@home.com>.
1477
ccb945b8
MK
1478 * i386-tdep.c (i386_extract_return_value): "Fix" comment.
1479 (i386_store_return_value): Frob FPU status and tag word to make
1480 sure the return value is the only value on the FPU stack.
1481
f8d13125
MK
1482 * config/tm-linux.h: Do not include <signal.h>. Instead provide
1483 reasonable defaults for REALTIME_LO and REALTIME_HI if they're not
1484 already defined.
1485 * config/nm-linux.h: Include <signal.h>.
1486 [__SIGRTMIN] (REALTIME_LO, REALTIME_HI): Define to __SIGRTMIN and
1487 (__SIGRTMAX + 1) respectively.
1488
56ff796a
AC
14892001-07-10 Andrew Cagney <ac131313@redhat.com>
1490
1491 * mcore-rom.c: Include "serial.h".
1492 * Makefile.in (mcore-rom.o): Depends on "serial.h".
1493
899ff3a2
AC
14942001-07-10 Andrew Cagney <ac131313@redhat.com>
1495
1496 * Makefile.in (remote-bug.o): Depends on serial.h.
1497 * remote-bug.c: Include "serial.h".
1498 * MAINTAINERS: Mark m88k target as buildable.
1499 * TODO: Update.
1500
2bf1f4a1
JB
15012001-07-10 Jim Blandy <jimb@redhat.com>
1502
75af7f68
JB
1503 Clean up the D10V port so that GDB and the target program no
1504 longer disagree on how big pointers are.
1505 * findvar.c (value_from_register): Remove special case code for D10V.
1506 * printcmd.c (print_frame_args): Same.
1507 * valops.c (value_at, value_fetch_lazy): Same.
1508 * values.c (unpack_long): Same.
1509 * gdbarch.sh: Changes to effect the following:
1510 * gdbarch.h (GDB_TARGET_IS_D10V, D10V_MAKE_DADDR,
1511 gdbarch_d10v_make_daddr_ftype, gdbarch_d10v_make_daddr,
1512 set_gdbarch_d10v_make_daddr, D10V_MAKE_IADDR,
1513 gdbarch_d10v_make_iaddr_ftype, gdbarch_d10v_make_iaddr,
1514 set_gdbarch_d10v_make_iaddr, D10V_DADDR_P,
1515 gdbarch_d10v_daddr_p_ftype, gdbarch_d10v_daddr_p,
1516 set_gdbarch_d10v_daddr_p, D10V_IADDR_P,
1517 gdbarch_d10v_iaddr_p_ftype, gdbarch_d10v_iaddr_p,
1518 set_gdbarch_d10v_iaddr_p, D10V_CONVERT_DADDR_TO_RAW,
1519 gdbarch_d10v_convert_daddr_to_raw_ftype,
1520 gdbarch_d10v_convert_daddr_to_raw,
1521 set_gdbarch_d10v_convert_daddr_to_raw, D10V_CONVERT_IADDR_TO_RAW,
1522 gdbarch_d10v_convert_iaddr_to_raw_ftype,
1523 gdbarch_d10v_convert_iaddr_to_raw,
1524 set_gdbarch_d10v_convert_iaddr_to_raw): Delete declarations.
1525 * gdbarch.c: Delete the corresponding definitions.
1526 (struct gdbarch): Delete members d10v_make_daddr,
1527 d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
1528 d10v_convert_daddr_to_raw, and d10v_convert_iaddr_to_raw.
1529 (startup_gdbarch): Remove initializers for the above.
1530 (verify_gdbarch, gdbarch_dump): Don't verify or dump them any
1531 more.
1532 * d10v-tdep.c (d10v_register_virtual_type): Rather that
1533 claiming the stack pointer and PC are 32 bits long (which they
1534 aren't), say that the stack pointer is an int16_t, and the
1535 program counter is a function pointer. This allows the rest
1536 of GDB to make the appropriate conversions between the code
1537 pointer format and real addresses.
1538 (d10v_register_convertible, d10v_register_convert_to_virtual,
1539 d10v_register_convert_to_raw): Delete function; no registers
1540 are convertible now, so we use
1541 generic_register_convertible_not instead.
1542 (d10v_address_to_pointer, d10v_pointer_to_address): New gdbarch
1543 methods.
1544 (d10v_push_arguments, d10v_extract_return_value): Remove special
1545 cases for code and data pointers.
1546 (d10v_gdbarch_init): Set gdbarch_ptr_bit to 16, so that GDB and
1547 the target agree on how large pointers are. Say that addresses
1548 are 32 bits long. Register the address_to_pointer and
1549 pointer_to_address conversion functions. Since no registers are
1550 convertible now, register generic_register_convertible_not as the
1551 gdbarch_register_convertible method instead of
1552 d10v_register_convertible. Remove registrations for
1553 d10v_register_convert_to_virtual,
1554 d10v_register_convert_to_raw, gdbarch_d10v_make_daddr,
1555 gdbarch_d10v_make_iaddr, gdbarch_d10v_daddr_p,
1556 gdbarch_d10v_iaddr_p, gdbarch_d10v_convert_daddr_to_raw, and
1557 gdbarch_d10v_convert_iaddr_to_raw.
1558
ef166cf4
JB
1559 * printcmd.c (print_scalar_formatted): If we are printing an
1560 address, remember that TARGET_ADDR_BIT is not always equal to
1561 TARGET_PTR_BIT.
1562
2bf1f4a1
JB
1563 * valops.c (value_cast): When casting a pointer to an integer,
1564 don't convert it to an address.
1565
ba3a8523
AC
15662001-07-10 Andrew Cagney <ac131313@redhat.com>
1567
1568 * remote-utils.h (struct serial): Declare as opaque. Remove
1569 include of "serial.h".
1570 * Makefile.in (remote_utils_h): Update.
1571
1572 * monitor.h (struct serial): Declare as opaque. Remove include of
1573 "serial.h".
1574 (struct monitor_ops): Replace serial_t with `struct serial *'.
1575 * monitor.c (monitor_desc): Ditto.
1576
2aa830e4
DJ
15772001-07-10 Daniel Jacobowitz <drow@mvista.com>
1578
1579 * mips-linux-tdep.c: New file.
1580 * mips-linux-nat.c: New file.
1581 * config/mips/linux.mh: New file.
1582 * config/mips/linux.mt: New file.
1583 * config/mips/xm-linux.h: New file.
1584 * config/mips/nm-linux.h: New file.
1585 * config/mips/tm-linux.h: New file.
1586 * configure.host: Recognize mips*-*-linux*.
1587 * configure.tgt: Likewise.
1588 * NEWS: Mention mips*-*-linux* port.
1589
65e2f740
AC
15902001-07-09 Andrew Cagney <ac131313@redhat.com>
1591
1592 * serial.h (struct serial): Rename `struct _serial_t'.
1593 * serial.c (XMALLOC): Define.
1594 (serial_open): Update. Use XMALLOC.
1595 (serial_fdopen): Ditto.
1596
090a2205
AC
15972001-07-07 Andrew Cagney <ac131313@redhat.com>
1598
1599 * gdbtypes.h (builtin_type_void_data_ptr): Rename
1600 builtin_type_ptr.
1601 * gdbtypes.c (builtin_type_void_data_ptr): Update.
1602 (build_gdbtypes): Update.
1603 (_initialize_gdbtypes): Update.
1604 * values.c (value_as_pointer): Update.
1605 * utils.c (host_pointer_to_address): Update.
1606 (address_to_host_pointer): Update.
1607
8059d5aa
AC
16082001-07-08 Andrew Cagney <ac131313@redhat.com>
1609
1610 * remote-udi.c (udi_wait): Make type, instead of name, of first
1611 parameter a ptid_t.
1612
cc61049c
AC
16132001-07-07 Andrew Cagney <ac131313@redhat.com>
1614
1615 * ser-mac.c: Make obsolete.
1616 * Makefile.in (ser-mac.o): Ditto.
1617
10ba702d
EZ
16182001-07-08 Eli Zaretskii <eliz@is.elta.co.il>
1619
1620 * go32-nat.c (go32_get_windows_version, print_mem, go32_sysinfo)
1621 (read_memory_region, get_descriptor, display_descriptor)
1622 (go32_sldt, go32_sgdt, go32_sidt): New functions.
1623 (top-level): Include ctype.h, utsname.h, dos.h, and go32.h. Ifdef
1624 away `disable' from dos.h, since breakpoint.h defines an enum
1625 member of the same name, and GCC 2.7.2 barfs.
1626 (_initialize_go32_nat): Provide new commands dos-sysinfo, dos-ldt,
1627 dos-gdt, and dos-idt, all of them in the "info" class
1628
44312dba
KB
16292001-07-07 Kevin Buettner <kevinb@redhat.com>
1630
1631 * procfs.c (create_procinfo): Allocate space for saved_entryset
1632 and saved_exitset.
1633 (destroy_one_procinfo): Free space allocated to saved_entryset
1634 and saved_exitset.
1635
5329c756
AC
16362001-07-07 Andrew Cagney <ac131313@redhat.com>
1637
1638 * TODO (5.1): Update.
1639
51cc5b07
AC
16402001-07-07 Andrew Cagney <ac131313@redhat.com>
1641
1642 * symtab.c (main_name): New function.
1643 (set_main_name): New function.
1644 * symtab.h: Declare.
1645 * TODO: Update
1646
1647 From 2000-03-05 Anthony Green <green@redhat.com>:
1648 * dbxread.c (process_one_symbol): Handle the N_MAIN stab by
1649 setting main_name.
1650 * blockframe.c (inside_main_func): Use main_name instead of
1651 "main".
1652 * symtab.c (find_main_psymtab): Ditto.
1653 * source.c (select_source_symtab): Ditto.
1654 * nlmread.c (nlm_symfile_read): Ditto.
1655 * rs6000-tdep.c (skip_prologue): Ditto.
1656
56ddd993
AC
16572001-07-07 Andrew Cagney <ac131313@redhat.com>
1658
1659 * TODO: Convert most items into PRs.
1660
58eeadba
MK
16612001-07-07 Mark Kettenis <kettenis@gnu.org>
1662
1663 * lin-lwp.c (status_to_str): New function.
1664 (lin_lwp_wait): Use it to print debug messages where appropriate.
1665
7f1659e6
MC
16662001-07-06 Michael Chastain <chastain@redhat.com>
1667
1668 * i387-tdep.c (print_i387_value): Fix pointer glitch.
1669
00d4fce6
MK
16702001-07-07 Mark Kettenis <kettenis@gnu.org>
1671
1672 * lin-lwp.c (count_events_callback): Fix formatting. Turn check
1673 commented with "paranoia" into gdb_assert.
1674 (select_event_lwp_callback): Likewise.
1675 (cancel_breakpoints_callback): Bail out early if LP is the event
1676 LWP. Add comment about backup up breakpoints. Fix formatting and
1677 debug message.
1678 (select_event_lwp): Make solely repsonsible for switching event
1679 LWP. Fix formatting and remove bogus "ERROR" debug message.
1680 Don't backup breakpoints from here.
1681 (lin_lwp_wait): Don't touch LP->status, let select_event_lwp
1682 handle that. Only call select_event_lwp if we're not waiting for
1683 a specific LWP, i.e. when PID == -1. Backup breakpoints from here.
1684
7de45904
MS
16852001-07-06 Michael Snyder <msnyder@redhat.com>
1686
1687 * procfs.c (procfs_resume): Silence noisy warning.
1688
b1aeb4c5
MS
16892001-06-12 Michael Snyder <msnyder@redhat.com>
1690
1691 * lin-lwp.c: Prevent thread starvation by using a monte carlo
1692 method to choose which of several event threads to handle next.
1693
1694 (stop_wait_callback): Defer pushback of breakpoint events until
1695 later; add SIGTRAP events to the queue of unhandled events.
1696 Keep calling waitpid until SIGSTOP retrieved. If more than one
1697 non-SIGSTOP event is retrieved, push them back onto the process
1698 queue using kill.
1699 (count_events_callback, select_singlestep_lwp_callback,
1700 select_event_lwp_callback, cancel_breakpoints_callback,
1701 select_event_lwp): New functions. Implement monte carlo method
1702 for selecting which of several SIGTRAP threads to handle next.
1703 Push back the breakpoint event for all threads other than the
1704 selected one.
1705 (lin_lwp_wait): Call select_event_lwp to decide which of several
1706 sigtrapped lwps to handle next.
1707 (resume_callback): Disable code that attempts to handle
1708 step_resume breakpoints. Let core gdb handle this.
1709
ee3a7b7f
JB
17102001-07-06 Jim Blandy <jimb@redhat.com>
1711
1712 * gdbtypes.h (builtin_type_void_func_ptr): New builtin type.
1713 * gdbtypes.c (builtin_type_void_func_ptr): Define the variable.
1714 (build_gdbtypes): Initialize it.
1715 (_initialize_gdbtypes): Swap it.
1716
e135b889 17172001-07-04 Daniel Jacobowitz <drow@mvista.com>
ee3a7b7f 1718
e135b889
DJ
1719 * mips-tdep.c (mips32_op): Correct offset.
1720 (itype_op): Likewise.
1721 (itype_rs): Fix formatting.
1722 (itype_immediate): Fix formatting.
1723 (jtype_op): Correct offset.
1724 (jtype_target): Fix formatting.
1725 (rtype_op): Correct offset.
1726 (rtype_rs): Fix formatting.
1727 (rtype_rt): Likewise.
1728 (rtype_rd): Likewise.
1729 (rtype_shamt): Likewise.
1730 (rtype_funct): Likewise.
1731
1732 (mips32_next_pc): Fix formatting and comments. Recognize
1733 coprocessor 1 branches. Check the correct field for BLT family
1734 branches. Use itype_rt instead of itype_rs for the second register
1735 of a BNE or BNEL branch. Move (unreachable) default case.
1736
9dc5e2a9
AC
17372001-07-04 Andrew Cagney <ac131313@redhat.com>
1738
1739 * ui-out.h (struct ui_out_impl): Add field is_mi_like_p.
1740 (ui_out_is_mi_like_p): Declare.
1741 * ui-out.c (ui_out_is_mi_like_p): Define.
1742 (default_ui_out_impl): Initialize is_mi_like_p to zero.
1743 * cli-out.c (cli_ui_out_impl): Ditto.
1744 * breakpoint.c (print_it_typical): Use ui_out_is_mi_like_p.
1745 (watchpoint_check, print_one_breakpoint, mention): Ditto.
1746 * infrun.c (print_stop_reason, normal_stop): Ditto.
1747
9022177c
DJ
17482001-07-05 Daniel Jacobowitz <drow@mvista.com>
1749
1750 * mips-tdep.c (mips_software_single_step): New function.
1751 * config/mips/tm-mips.h: Add prototype for
1752 mips_software_single_step.
1753
2ac44c70
DJ
17542001-07-05 Daniel Jacobowitz <drow@mvista.com>
1755
1756 * ppc-linux-nat.c (supply_gregset): Use elf_greg_t instead
1757 of greg_t.
1758 (fill_gregset): Likewise.
1759
bdda63b0
AC
17602001-07-05 Andrew Cagney <ac131313@redhat.com>
1761
1762 * objfiles.c (open_mapped_file): Use lbasename instead of
1763 basename.
1764
af703f96
JB
17652001-07-05 Jim Blandy <jimb@redhat.com>
1766
7b570125
JB
1767 * d10v-tdep.c (d10v_frame_chain, d10v_frame_init_saved_regs,
1768 show_regs, d10v_read_pc, d10v_write_pc, d10v_read_sp,
1769 d10v_write_sp, d10v_write_fp, d10v_read_fp,
1770 d10v_push_return_address): Call the functions d10v_make_daddr,
1771 d10v_make_iaddr, d10v_convert_iaddr_to_raw, and
1772 d10v_convert_daddr_to_raw, not the global macros D10V_MAKE_DADDR,
1773 D10V_MAKE_IADDR, D10V_CONVERT_IADDR_TO_RAW, and
1774 D10V_CONVERT_DADDR_TO_RAW.
1775
af703f96
JB
1776 * dwarf2read (dwarf2_build_psymtabs_hard): Doc fix.
1777
e087d0d6
MK
17782001-07-05 Mark Kettenis <kettenis@gnu.org>
1779
1780 * config/i386/xm-go32.h (HOST_I386): Removed.
1781 * config/i386/xm-linux.h (HOST_I386): Removed.
1782
c96646d0
MK
17832001-07-04 Mark Kettenis <kettenis@gnu.org>
1784
1785 * i387-tdep.c (print_i387_value): Add extra space after final full
1786 stop in comment.
1787
af6c57ea
AC
17882001-07-04 Andrew Cagney <ac131313@redhat.com>
1789
1790 * TODO (5.1): Update. Doco changes committed.
1791
9da8e4f8
AC
17922001-06-29 Andrew Cagney <ac131313@redhat.com>
1793
1794 * config/arm/tm-arm.h: Include "floatformat.h".
1795
d0df8472
AC
17962001-06-29 Andrew Cagney <ac131313@redhat.com>
1797
1798 * i387-tdep.c: Include "gdb_assert.h".
1799 (print_i387_value): Use extract_floating to extract the FP value
1800 from a zero padded local buffer.
1801
291903b1
AC
18022001-06-28 Andrew Cagney <ac131313@redhat.com>
1803
1804 * TODO: Delete all thread items. The thread code was overhauled.
1805
80629b1b
EZ
18062001-07-04 Elena Zannoni <ezannoni@redhat.com>
1807
2ed3d0b5
EZ
1808 * memattr.c (create_mem_region): Move n to next memory region,
1809 to avoid infinite loop.
1810
80629b1b
EZ
1811 * memattr.h: Add copyright statement.
1812 * memattr.c: Ditto.
1813
2541c7cf
JB
18142001-07-04 Jim Blandy <jimb@redhat.com>
1815
0b010bcc
JB
1816 * dwarf2read.c (struct partial_die_info): New member: has_pc_info.
1817 (read_partial_die): Delete fourth argument; we return this info in
1818 the struct partial_die_info object itself now.
1819 (dwarf2_build_psymtabs_hard, scan_partial_symbols): Use the
1820 has_pc_info field of the partial die struct, rather than passing a
1821 variable by reference to read_partial_die.
1822
2541c7cf 1823 * dwarf2read.c (dwarf2_build_psymtabs_hard): Remove extraneous
9faef8a7 1824 code in loop condition.
2541c7cf 1825
5d12882f
MS
18262001-07-03 Michael Snyder <msnyder@redhat.com>
1827
1828 * thread_db (find_new_threads_callback, thread_db_thread_alive,
1829 attach_thread): Update comments.
1830
00783ba9
MS
18312001-06-29 Ken Whaley <ken@believe.com>
1832
1833 * thread-db.c (attach_thread): Check for TD_THR_ZOMBIE in addition
1834 to TD_THR_UNKNOWN when looking for defunct zombie threads.
1835 (thread_db_thread_alive): Ditto.
1836 (find_new_threads_callback): Ditto.
1837
f7856c8f 18382001-07-02 Daniel Jacobowitz <drow@mvista.com>
2740bf6c
DJ
1839
1840 * MAINTAINERS: Add myself to the write-after-approval list.
1841
18422001-07-02 Daniel Jacobowitz <drow@mvista.com>
1843
f7856c8f
DJ
1844 * solib-svr4.c: Include "elf/mips.h".
1845 (elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional.
1846
f9aca02d
JB
18472001-07-02 Jim Blandy <jimb@redhat.com>
1848
1849 * dwarf2read.c (read_comp_unit, sibling_die, dump_die,
1850 dump_die_list, store_in_ref_table, follow_die_ref): Make these
1851 static; they're private functions.
1852
42a076f0
EZ
18532001-07-01 Mark Elbrecht <snowball@bigfoot.com>
1854
1855 * coffread.c (coff_symfile_read): Parse DWARF2 info if present.
1856
77467810
EZ
18572001-06-28 Elena Zannoni <ezannoni@redhat.com>
1858
1859 * TODO: Add import of readline 4.2 as a gdb 5.2 task.
1860
85593179
AC
18612001-06-29 Andrew Cagney <ac131313@redhat.com>
1862
1863 * config/djgpp/fnchange.lst: Sort.
1864
cde2d0fb
AC
18652001-06-28 Andrew Cagney <ac131313@redhat.com>
1866
1867 * config/djgpp/fnchange.lst: Rename mi0-var-block.exp,
1868 mi0-var-cmd.exp, mi0-var-child.exp and mi0-var-display.exp.
1869
37965979
AJ
18702001-06-29 Andreas Jaeger <aj@suse.de>
1871
1872 * MAINTAINERS: Add myself to the write-after-approval list.
1873
a1337894
AC
18742001-06-28 Andrew Cagney <ac131313@redhat.com>
1875
1876 * remote-array.c (SWAP_TARGET_AND_HOST): Delete macro.
1877 (get_hex_word): Don't use HOST_BYTE_ORDER.
1878 (array_fetch_registers): Add variable ``reg''. Use
1879 store_unsigned_integer to byte-swap the register. Delete unused
1880 local ``regs''.
1881
aa8aac68
AC
18822001-06-28 Andrew Cagney <ac131313@redhat.com>
1883
1884 * MAINTAINERS: Add Per Bothner to Java maintainers.
1885
a8016339
AC
18862001-06-28 Andrew Cagney <ac131313@redhat.com>
1887
1888 * rdi-share/unixcomm.c (SERIAL_PREFIX): Always provide a default.
1889 * rdi-share/hostchan.h (__unix): Hack, provide a default value.
1890 * rdi-share/host.h (__unix): Hack, define when __NetBSD__.
1891 * TODO: Update.
1892 * MAINTAINERS: Update. arm-elf builds.
1893
f5e1cf12
JB
18942001-06-28 Jim Blandy <jimb@redhat.com>
1895
bf93dfed
JB
1896 * d10v-tdep.c (d10v_ts2_dmap_register): Doc fix.
1897
1898 * d10v-tdep.c (d10v_frame_chain_valid, d10v_use_struct_convention,
f5e1cf12
JB
1899 d10v_breakpoint_from_pc, d10v_register_byte,
1900 d10v_register_raw_size, d10v_register_virtual_size,
1901 d10v_register_virtual_type, d10v_register_convertible,
1902 d10v_register_convert_to_virtual, d10v_register_convert_to_raw,
1903 d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
1904 d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw,
1905 d10v_store_struct_return, d10v_store_return_value,
1906 d10v_extract_struct_value_address, d10v_frame_saved_pc,
1907 d10v_saved_pc_after_call, d10v_pop_frame, d10v_skip_prologue,
1908 d10v_frame_chain, d10v_frame_init_saved_regs,
1909 d10v_init_extra_frame_info, d10v_read_pc, d10v_write_pc,
1910 d10v_read_sp, d10v_write_sp, d10v_write_fp, d10v_read_fp,
1911 d10v_push_return_address, d10v_push_arguments,
1912 d10v_extract_return_value): Make these functions static.
1913
100a02e1
AC
19142001-06-28 Andrew Cagney <ac131313@redhat.com>
1915
1916 From Fernando Nasser:
1917 * infrun.c (handle_inferior_event): Handle "nexti" inside function
1918 prologues.
1919
80b34fab
MS
19202001-06-28 Michael Snyder <msnyder@redhat.com>
1921
1922 * infrun.c (handle_inferior_event): Replace prev_pc test in all
1923 calls to bpstat_stop_status (removed in 1999-09-24). This test
1924 helps distinguish stepping over a breakpoint trap from stepping
1925 thru a jump to the instruction after a breakpoint trap.
1926 (handle_inferior_event): Don't bother writing the PC if
1927 DECR_PC_AFTER_BREAK is zero (optimization).
1928 * breakpoint.c (bpstat_stop_status): Add comment explaining the
1929 purpose and usage of the "not_a_breakpoint" argument in computing
1930 the breakpoint address.
1931
1456ad8e
AC
19322001-06-28 Andrew Cagney <ac131313@redhat.com>
1933
1934 From 2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
1935 * monitor.c (setmem_resp_delim_pattern): New regexp pattern.
1936 (setreg_resp_delim_pattern): Likewise.
1937 (setmem_resp_delim_fastmap): New buffer.
1938 (setreg_resp_delim_fastmap): Likewise.
1939 (monitor_open): Initialize above regexp if they are defined.
1940 (monitor_write_memory): Use regexp to check the result of write.
1941 (monitor_store_register): Likewise to check result of register set.
1942
399371f6
AC
19432001-06-28 Andrew Cagney <ac131313@redhat.com>
1944
1945 From 2000-06-14 John Marshall <john_w_marshall@palm.com>:
1946 * coff-solib.c: Include symfile.h and objfiles.h to make
1947 OBJF_SHARED visible.
1948
b0e2e90a
AC
19492001-06-28 Andrew Cagney <ac131313@redhat.com>
1950
1951 * configure.in (--enable-gdbmi): Enable by default.
1952 * configure: Regenerate.
1953 * TODO: Update.
1954 * NEWS: Update
1955
ad98fdaf
JB
19562001-06-28 Joel Brobecker <brobecker@act-europe.fr>
1957
1958 * solib-osf.c (osf_in_dynsym_resolve_code): Add a comment
1959 explaining the consequences of always returning zero. No code
1960 change.
1961
49dd83ba
AC
19622001-06-28 Andrew Cagney <ac131313@redhat.com>
1963
1964 From 2001-06-08 Daniel Jacobowitz <djacobowitz@mvista.com>:
1965 * defs.h (enum target_signal): Add TARGET_SIGNAL_REALTIME_65
1966 to TARGET_SIGNAL_REALTIME_127.
1967 * target.c (struct signals): Add SIG63 to SIG127.
1968 (target_signal_from_host): Handle up to 127 signals.
1969 (do_target_signal_to_host): Likewise.
1970
29372230
AC
19712001-06-27 Andrew Cagney <ac131313@redhat.com>
1972
1973 * remote-sds.c (sds_start_remote): Change type of ``c'' to int
1974 from possibly unsigned char.
1975
a196c81c
AC
19762001-06-27 Andrew Cagney <ac131313@redhat.com>
1977
1978 * ser-ocd.c: Delete file.
1979 * Makefile.in (ALLDEPFILES): Remove ser-ocd.c
1980 (ser-ocd.o): Delete target.
1981 * TODO: Update.
1982 * NEWS: Update.
1983
e7745bde
AC
19842001-06-27 Andrew Cagney <ac131313@redhat.com>
1985
1986 * MAINTAINERS (Write After Approval): Sort.
f4c100a7 1987 (Past Maintainers): Daniel Berlin stepped down as C++ maintainer.
e7745bde 1988
d7faa9e7
AC
19892001-06-26 Andrew Cagney <ac131313@redhat.com>
1990
1991 * breakpoint.c (breakpoint_1): Always output the breakpoint
1992 headings. Leave it to ui-out to decide which
1993
68c81b54
AC
19942001-06-25 Andrew Cagney <ac131313@redhat.com>
1995
1996 * stack.c (print_frame): For ui_out, output a list of arguments.
1997
834091c8
KB
19982001-06-25 Kevin Buettner <kevinb@redhat.com>
1999
2000 * MAINTAINERS (paper trail): Update.
2001
ef5cf84e
MS
20022001-06-25 Michael Snyder <msnyder@redhat.com>
2003
2004 * infrun.c: Eliminate the "thread_step_needed" state variable,
2005 and replace it with a relatively simple test in resume.
2006 (resume): Replace thread_step_needed logic with a test for
2007 stepping, breakpoint_here_p and breakpoints_inserted.
2008 Move CANNOT_STEP_BREAKPOINT logic to after thread_step logic.
2009 (proceed): Discard thread_step_needed logic.
2010 (wait_for_inferior, fetch_inferior_event, handle_inferior_event):
2011 Discard thread_step_needed logic.
2012
cb90e81a
FN
20132001-06-24 Fernando Nasser <fnasser@redhat.com>
2014
2015 * remote-rdi.c (arm_rdi_wait): Fix return type in prototype.
2016 * rdi-share/host.h: Add missing parenthesis in conditional.
2017
39812ceb
C
20182001-06-22 J.T. Conklin <jtc@redback.com>
2019
2020 * configure.in: include nlist.h when checking for member som_addr
2021 in struct so_map.
2022 * configure: regenerate.
2023
8d2139f3
KS
20242001-06-21 Keith Seitz <keiths@redhat.com>
2025
2026 * cli-out.c (cli_out_new): Initialize new structure member
2027 "suppress_output".
2028
b25959ec
AC
20292001-06-20 Andrew Cagney <ac131313@redhat.com>
2030
2031 * ui-out.h (ui_out_table_header): Add parameter ``col_name''.
2032 (table_header_ftype): Ditto.
2033 * cli-out.c (cli_table_header): Update.
2034 * ui-out.c (ui_out_table_header): Update.
2035 (uo_table_header): Update.
2036 (default_table_header): Update.
2037 (append_header_to_list): Update.
2038 (struct ui_out_header): Add field ``col_name''.
2039 (append_header_to_list): Use xstrdup. Initialize col_name.
2040 * breakpoint.c (breakpoint_1): Pass COL_NAME to
2041 ui_out_table_header.
2042
698384cd
AC
20432001-06-19 Andrew Cagney <ac131313@redhat.com>
2044
2045 * cli-out.c: Include "gdb_assert.h'.
2046 (struct ui_out_data): Add field ``suppress_output.
2047 (cli_table_begin): When NR_ROWS is zero, suppress_output.
2048 (cli_table_end): Clear suppress_output.
2049 (cli_table_body): Check suppress_output.
2050 (cli_table_header, cli_begin): Ditto.
2051 (cli_end, cli_field_int, cli_field_skip): Ditto.
2052 (cli_field_string, cli_field_fmt, cli_spaces): Ditto.
2053 (cli_text, cli_message, cli_wrap_hint): Ditto.
2054 * breakpoint.c (breakpoint_1): Close the ui_out table before
2055 printing the breakpoint not found message.
2056
d63f1d40
AC
20572001-06-18 Andrew Cagney <ac131313@redhat.com>
2058
2059 * ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
2060 (default_table_begin): Ditto.
2061 (uo_table_begin): Ditto.
2062 * cli-out.c (cli_table_begin): Ditto.
2063 * ui-out.h (ui_out_table_begin): Update
2064 (table_begin_ftype): Update.
2065 * breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to
2066 ui_out_table_begin.
2067
7f3b0473
AC
20682001-06-16 Andrew Cagney <ac131313@redhat.com>
2069
2070 * breakpoint.c (breakpoint_1): Restructure. Compute the
2071 nr_printable_breakpoints. Move the header output to before the
2072 main print breakpoints loop.
2073 (user_settable_breakpoint): New function.
2074
b30bf9ee
AC
20752001-06-18 Andrew Cagney <ac131313@redhat.com>
2076
2077 * infrun.c, breakpoint.c: Use strncmp as the "mi" test. Allow,
2078 "mi", "mi0" and "mi1".
2079
83905903
AC
20802001-06-17 Andrew Cagney <ac131313@redhat.com>
2081
2082 * gdbarch.sh: Generate an error when conflicting macro
2083 definitions. Generate an error when both pure multi-arch and
2084 "tm.h".
2085 * gdbarch.h, gdbarch.c: Regenerate.
2086 * defs.h (GDB_MULTI_ARCH_TM): Rewrite definition.
2087
c2202abf
AC
20882001-06-17 Andrew Cagney <ac131313@redhat.com>
2089
2090 * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Down grade to
2091 GDB_MULTI_ARCH_PARTIAL from two.
2092
0d70f41b
FN
20932001-06-17 Fernando Nasser <fnasser@redhat.com>
2094
2095 From 2001-06-15 Eirik Fuller <eirik@hackrat.com>
2096 * cli/cli-script.c (free_command_lines): Reset list pointer.
2097
7824d2f2
AC
20982001-06-16 Andrew Cagney <ac131313@redhat.com>
2099
2100 * arch-utils.c (init_frame_pc_default): New function
2101 * arch-utils.h (init_frame_pc_default): Declare.
2102 * gdbarch.sh (INIT_FRAME_PC): Default to init_frame_pc_default and
2103 not init_frame_pc_noop.
2104 * gdbarch.h, gdbarch.c: Re-generate.
2105 * blockframe.c (INIT_FRAME_PC): Delete macro definition.
2106 * mips-tdep.c (mips_gdbarch_init): Set init_frame_pc to
2107 init_frame_pc_noop.
2108
1622c8f7
AC
21092001-06-16 Andrew Cagney <ac131313@redhat.com>
2110
2111 * gdbarch.c: Regenerate. Out-of-sync with gdbarch.sh.
2112
01fb7433
AC
21132001-06-15 Andrew Cagney <ac131313@redhat.com>
2114
2115 * gdbarch.sh (CANNOT_FETCH_REGISTER): Multi-arch.
2116 (CANNOT_STORE_REGISTER): Ditto.
2117 * infptrace.c (CANNOT_FETCH_REGISTER): Delete definition.
2118 (CANNOT_STORE_REGISTER): Ditto.
2119 * regcache.c (CANNOT_STORE_REGISTER): Ditto.
2120 * lynx-nat.c (CANNOT_STORE_REGISTER): Ditto.
2121 * arch-utils.h (cannot_register_not): Define.
2122 * arch-utils.c (cannot_register_not): Declare.
2123
10312cc4
AC
21242001-06-15 Andrew Cagney <ac131313@redhat.com>
2125
2126 * gdbarch.sh: Clarify pre/post default
2127 (INIT_FRAME_PC_FIRST, INIT_FRAME_PC): Multiarch.
2128 * blockframe.c (get_prev_frame): Remove #ifdef from around
2129 INIT_FRAME_PC_FIRST call.
2130 * arch-utils.c (init_frame_pc_noop): Define.
2131 * arch-utils.h (init_frame_pc_noop): Declare.
2132 * config/mips/tm-mips.h (INIT_FRAME_PC_FIRST): Delete.
2133 (INIT_FRAME_PC, mips_init_frame_pc_first): Ditto.
2134 * mips-tdep.c (mips_init_frame_pc_first): Make static.
2135 (mips_gdbarch_init): Initialize init_frame_pc_first.
2136 (mips_dump_tdep): Update.
2137
dd80620e
MS
21382001-06-15 Michael Snyder <msnyder@redhat.com>
2139
2140 * infrun.c (context_switch): New function. Abstract the operation
2141 of saving and restoring infrun's state when switching threads.
2142 (handle_inferior_event): Normalize the handling of the 'thread hop'
2143 event (when the wrong thread hits a thread-specific breakpoint,
2144 and we need to solo-step that thread past the breakpoint).
2145 Call keep_going, instead of target_resume. Handle the subsequent
2146 singlestep-trap as a normal event instead of just resuming.
2147
875e1767
AC
21482001-06-15 Andrew Cagney <ac131313@redhat.com>
2149
2150 * arch-utils.c (core_addr_identity): New function. Rename
2151 default_convert_from_func_ptr_addr.
2152 * gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR): Update.
2153 (ADDR_BITS_REMOVE): Define. Default to core_addr_identity.
2154 * defs.h (ADDR_BITS_REMOVE): Delete macro definition.
2155 * config/mips/tm-mips.h (ADDR_BITS_REMOVE): Delete definition.
2156 * mips-tdep.c (mips_addr_bits_remove): Make static.
2157 (mips_gdbarch_init): Initialize addr_bits_remove.
2158
4009c677
AC
21592001-06-15 Andrew Cagney <ac131313@redhat.com>
2160
2161 From 2001-02-26 D.J. Barrow <djbarrow@de.ibm.com>:
2162 * configure.tgt: Add S/390 31 & 64 bit target configuration.
2163 * configure.host: Ditto for host.
2164
d6dd581e
AC
21652001-06-15 Andrew Cagney <ac131313@redhat.com>
2166
2167 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS_P): Delete definition.
2168 (EXTRACT_STRUCT_VALUE_ADDRESS): Change to a function with
2169 predicate.
2170 * gdbarch.h, gdbarch.c: Regenerate.
2171 * values.c (value_being_returned): Change the reference to
2172 EXTRACT_STRUCT_VALUE_ADDRESS_P to a function call.
2173
09843d7f
JB
21742001-06-15 Joel Brobecker <brobecker@act-europe.fr>
2175
2176 * MAINTAINERS: Add Paul Hilfinger and Joel Brobecker to the
2177 Write After Approval list.
2178
dc8acb97
MS
21792001-06-14 Michael Snyder <msnyder@redhat.com>
2180
2181 * remote.c (show_remote_protocol_qSymbol_packet_cmd,
2182 set_remote_protocol_qSymbol_packet_cmd): New functions.
2183 (init_all_packet_configs, show_remote_cmd): Add qSymbol packet.
2184 (remote_check_symbols): New function. Implement qSymbol packet,
2185 allowing target to request symbol lookup service from gdb.
2186 (remote_open_1, remote_async_open_1): Call remote_check_symbols,
2187 allowing symbol lookup from exec_bfd on connection to target.
2188 (remote_new_objfile): New function. Catch new objfile notifications
2189 from shared library module, and call remote_check_symbols.
2190 (_initialize_remote): Hook remote_new_objfile into the shared
2191 library notification chain. Add "set remote symbol-lookup" command.
2192
578c1fe6
KS
21932001-06-14 Keith Seitz <keiths@redhat.com>
2194
2195 * tracepoint.c (trace_command): We now have tracepoint
2196 events. Get rid of those ugly hooks.
2197 (tracepoint_operation): Likewise.
2198 (trace_pass_command): Likewise.
2199
6c0d3f6a
MS
22002001-06-13 Michael Snyder <msnyder@redhat.com>
2201
2202 * gdbthread.h (struct thread_info): Add new fields:
2203 current_line, current_symtab, step_sp, for saved infrun state.
2204 * thread.c (save_infrun_state, load_infrun_state): Save and
2205 restore current_line, current_symtab, and step_sp.
2206 (add_thread): Rather than adding assignments to initialize
2207 the new fields, just use memset (tp, 0, sizeof (*tp).
2208 This way future new fields will not be overlooked.
2209 * infrun.c (handle_inferior_event): Save and restore save_sp,
2210 current_line, and current_symtab when switching threads.
2211
16075ace
EZ
22122001-06-13 Elena Zannoni <ezannoni@redhat.com>
2213
2214 * MAINTAINERS: Add Andrew Cagney as co-maintainer of
2215 testsuite/gdb.mi.
2216
31889e00
AC
22172001-06-11 Andrew Cagney <ac131313@redhat.com>
2218
2219 * symtab.c (lookup_symtab_1): Replace basename with lbasename.
2220 (lookup_partial_symtab, file_matches): Ditto.
2221 (make_source_files_completion_list): Ditto.
2222 (make_file_symbol_completion_list): Ditto. Make local char*
2223 variable ``tail'' constant.
2224 (make_source_files_completion_list): Ditto with ``base_name''.
2225 * source.c (open_source_file): Use lbasename. Make ``p'' const
2226 char *.
2227
4ac40b29
EZ
22282001-06-13 Eli Zaretskii <eliz@is.elta.co.il>
2229
2230 * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR)
bfefb583 2231 (SLASH_STRING): Remove unused definitions.
4ac40b29
EZ
2232 * config/i386/xm-cygwin.h: Likewise.
2233
6b28c186
AC
22342001-06-12 Andrew Cagney <ac131313@redhat.com>
2235
2236 * ui-out.c (ui_out_list_begin): Add parameter ``id''.
2237 (make_cleanup_ui_out_list_begin_end): Ditto. Open the list.
2238 * ui-out.h: Update declarations.
2239
1f8cc6db
AC
2240Mon Jun 11 17:26:43 2001 Andrew Cagney <cagney@b1.cygnus.com>
2241
2242 * source.c (openp): Make parameters ``path'' and ``string''
2243 constant.
2244 (openp): Use alloca to safely duplicate ``string''. Make local
2245 variables ``p'' and ``p1'' constant. Delete char* casts.
2246 * defs.h: Update.
2247
2248 * symtab.c (lookup_symtab_1): Make parameter ``name'' constant.
2249 (lookup_symtab, lookup_partial_symtab): Ditto.
2250 * symtab.h (lookup_symtab, lookup_partial_symtab): Update.
2251
88379baf
AC
22522001-06-11 Andrew Cagney <ac131313@redhat.com>
2253
2254 * ui-out.h (ui_out_table_begin): Make char* parameters constant.
2255 (ui_out_table_header, ui_out_field_int): Ditto.
2256 (ui_out_field_core_addr, ui_out_field_string): Ditto.
2257 (ui_out_field_stream, ui_out_field_fmt): Ditto.
2258 (ui_out_field_skip, ui_out_text, ui_out_message): Ditto.
2259 * ui-out.c (ui_out_table_begin, ui_out_table_header): Update.
2260 (ui_out_field_core_addr, ui_out_field_stream): Update.
2261 (ui_out_field_string, ui_out_field_fmt): Update.
2262 (ui_out_text, ui_out_message): Update.
2263 (append_header_to_list): Make char* parameters constant.
2264 (uo_table_header, uo_table_begin): Ditto.
2265 (uo_field_int, uo_field_skip): Ditto.
2266 (uo_field_string, uo_field_fmt): Ditto.
2267 (uo_text, uo_message): Ditto.
2268
c94fdfd0
EZ
22692001-06-11 Eli Zaretskii <eliz@is.elta.co.il>
2270
2271 * completer.c (gdb_completer_loc_break_characters): New variable.
2272 (line_completion_function): If we are completing on locations,
2273 back up the start of word pointer past all characters which can
2274 appear in a location spec.
2275 (location_completer): New function.
2276
2277 * completer.h: Add prototype for location_completer.
2278
2279 * symtab.c (make_source_files_completion_list)
2280 (add_filename_to_list, not_interesting_fname): New functions.
2281 (filename_seen): New function, body extracted from
2282 output_source_filename.
2283 (output_source_filename): Call filename_seen to check if the file
2284 was already printed.
2285 (make_symbol_completion_list): If TEXT includes a
2286 double-quoted string, return an empty list, not NULL.
2287 (make_file_symbol_completion_list): New function, similar to
2288 make_symbol_completion_list but with an additional argument
2289 SRCFILE.
2290
2291 * symtab.h (make_file_symbol_completion_list)
2292 (make_source_files_completion_list): Add prototypes.
2293
2294 * breakpoint.c (_initialize_breakpoint): Make location_completer
2295 be the completion function for all commands which set breakpoints
2296 and watchpoints.
2297 (top-level): #include "completer.h".
2298
2299 * tracepoint.c (_initialize_tracepoint): Make location_completer
2300 be the completion function for the "trace" command.
2301 (top-level): #include "completer.h".
2302
2303 * printcmd.c (_initialize_printcmd): Make location_completer be
2304 the completion function for the "print", "inspect", "call", and
2305 "disassemble" commands.
2306 (top-level): #include "completer.h".
2307
2308 * infcmd.c (_initialize_infcmd): Make location_completer be the
2309 completion function for the "go", "jump", and "until" commands.
2310 (top-level): #include "completer.h".
2311
0b6a968e
CF
23122001-06-10 Christopher Faylor <cgf@redhat.com>
2313
2314 * gnu-regex.c: Eliminate obsolete check for _MSC_VER.
2315 * utils.c (notice_quit): Remove dummy function only used for _MSC_VER.
2316 * values.c (unpack_double): Remove obsolete check for _MSC_VER.
2317 * defs.h: Ditto.
2318 * m32r-rom.c: Ditto.
2319 * p-exp.y: Ditto.
2320 * ser-e7kpc.c: Ditto. Define WIN32_LEAN_AND_MEAN under _WIN32, for
2321 faster compilation.
2322 (get_ds_base): Remove _MSC_VER version of this function.
67bfdb89
CF
2323 * nindy-share/ttyflush.c: Ditto.
2324 * rdi-share/host.h: Ditto.
0b6a968e
CF
2325 * ser-go32.c (dos_readchar): Remove call to obsolete function.
2326 * remote-sim.c (gdb_os_poll_quit): Ditto.
2327 * remote-e7000.c (expect): Remove obsolete #if 0'ed code.
2328
2329 * main.c (captured_main): Eliminate special Cygwin checks.
2330 * ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.
2331
e2e11a41
AC
23322001-06-09 Andrew Cagney <ac131313@redhat.com>
2333
bf5efbab
AC
2334 * Makefile.in (gdbcmd_h): Add ui_out_h.
2335 (breakpoint.o, infcmd.o, main.o, printcmd.o, stack.o): Ditto.
2336 (thread.o, top.o): Ditto.
2337
e2e11a41
AC
2338 * ui-out.h (table_begin_ftype): Make string parameters constant.
2339 (table_header_ftype): Ditto.
2340 (field_int_ftype): Ditto.
2341 (field_skip_ftype): Ditto.
2342 (field_string_ftype): Ditto.
2343 (field_fmt_ftype): Ditto.
2344 (text_ftype): Ditto.
2345 (message_ftype): Ditto.
2346 * cli-out.c (cli_table_begin): Ditto.
2347 (cli_table_header): Ditto.
2348 (cli_field_int): Ditto.
2349 (cli_field_skip): Ditto.
2350 (cli_field_string): Ditto.
2351 (cli_field_fmt): Ditto.
2352 (cli_text): Ditto.
2353 (cli_message): Ditto.
2354 (out_field_fmt): Ditto.
2355 * ui-out.c (default_table_begin): Ditto.
2356 (default_table_header): Ditto.
2357 (default_field_int): Ditto.
2358 (default_field_skip): Ditto.
2359 (default_field_string): Ditto.
2360 (default_field_fmt): Ditto.
2361 (default_text): Ditto.
2362 (default_message): Ditto.
2363
2e663524
MS
23642001-06-08 Michael Snyder <msnyder@redhat.com>
2365
2366 * breakpoint.c (delete_breakpoint): Pass mark_inserted to
2367 remove_breakpoint, so that the subsequent test for
2368 bpt->inserted will succeed, and duplicates will be fixed up.
2369
bebd888e
PB
23702001-06-08 Per Bothner <per@bothner.com>
2371
2372 * dwarf2read.c (set_cu_language): Handle DW_LANG_Java.
2373
8f45b7fe
KS
23742001-06-07 Keith Seitz <keiths@redhat.com>
2375
2376 * tracepoint.c (tracepoint_opertation): Add ui event
2377 notifications.
2378 (trace_pass_command): Ditto.
2379
b76a2a57
AC
23802001-06-07 Andrew Cagney <ac131313@redhat.com>
2381
2382 * MAINTAINERS (Write After Approval): Note the entry criteria.
a4f1e24f 2383 (HP/PA): Jeff Law stepped down
b76a2a57 2384
72e74a21
JB
23852001-06-07 Jim Blandy <jimb@redhat.com>
2386
2387 * gdbarch.sh: Make sure that '[' doesn't interpret interesting
2388 variable values as operators.
2389
8c6ee715
KS
23902001-06-07 Keith Seitz <keiths@redhat.com>
2391
2392 * gdb-events.sh: Fix quote escaping which was obsoleted
2393 by last patch.
2394
9e791099
KS
23952001-06-07 Keith Seitz <keiths@redhat.com>
2396
2397 * gdb-events.sh: Make if statements and tests
2398 a little more portable.
2399 Don't use shell's echo command to put strings containing
2400 escaped characeters into a file -- different flavors of /bin/sh
2401 require differnt levels of escaping. Use cat <<EOF instead.
2402 Our internal field separator is a colon. Change all
2403 commands which assume it is a space.
2404
fce0e6e1
MK
24052001-06-06 Mark Kettenis <kettenis@gnu.org>
2406
2407 * lin-lwp.c (struct lwp_info): Add member `resumed'.
2408 (iterate_over_lwps): Make sure we can handle CALLBACK deleting the
2409 LWP it's called for.
2410 (lin_lwp_attach): Mark LWP as resumed to make sure the fake
2411 SIGSTOP is reported.
2412 (resume_clear_callback): New function.
2413 (resume_set_callback): New function.
2414 (lin_lwp_resume): Mark all LWP's that we're going to resume as
2415 resumed, and unmark all others.
2416 (status_callback): Only report a pending wait status if we pretend
2417 that LP has been resumed.
2418 (resumed_callback): New function.
2419 (lin_lwp_wait): Add assertions to check that LWP's are properly
2420 marked as resumed. Partially revert 2001-05-25 patch by Michael
2421 Snyder: do not resume all threads. Add comment explaining the
2422 problems associated with this bit of code.
2423
54403c59
KS
24242001-06-07 Keith Seitz <keiths@redhat.com>
2425
2426 * MAINTAINTERS: Syd Polk is stepping down from
2427 maintaining libgui. I am replacing him.
2428
1d06468c
EZ
24292001-06-07 Eli Zaretskii <elis@is.elta.co.il>
2430
2431 * config/mips/tm-irix6.h: New file.
2432
2433 * config/mips/irix6.mh: New file.
2434
2435 * config/mips/irix6.mt: New file.
2436
2437 * config/mips/xm-irix6.h: New file.
2438
2439 * config/mips/nm-irix6.h: New file.
2440
2441 * mips-tdep.c (mips_gdbarch_init) <MIPS_ABI_N32>: Set up the
2442 disassembler info in tm_print_insn_info as appropriate for the N32
2443 ABI. Force N32 ABI to be the default if the CPU is R8000 or
2444 R10000.
2445
2446 * configure.tgt (mips*-sgi-irix6*): Map to irix6.
2447
2448 * configure.host (mips*-sgi-irix6*): Ditto.
2449
3d499020
AC
24502001-06-07 Andrew Cagney <ac131313@redhat.com>
2451
2452 * gnu-v3-abi.c: Include "gdb_assert.h".
2453 (build_gdb_vtable_type): Replace abort() with gdb_assert().
2454
ceaa8edf
JB
24552001-06-06 Jim Blandy <jimb@redhat.com>
2456
c5f5341b
JB
2457 * cp-abi.h: Rearrange code to put documentation comments above the
2458 functions we export. The actual function table itself simply
2459 refers to those functions. Minor doc fixes.
2460
ceaa8edf
JB
2461 * gdbarch.sh: Changes to effect the following:
2462 * gdbarch.c (initialize_non_multiarch): New function.
2463 * gdbarch.h (initialize_non_multiarch): New declaration.
2464 * arch-utils.c (initialize_current_architecture): For
2465 non-multiarch configurations, call initialize_non_multiarch.
2466
0cd64fe2
AC
24672001-06-06 Andrew Cagney <ac131313@redhat.com>
2468
2469 * symfile.c (compare_psymbols): Replace PTR with void*. Delete
2470 declaration.
2471 (compare_symbols): Ditto.
2472
8849f47d
JL
24732001-06-06 Jonathan Larmour <jlarmour@redhat.com>
2474
2475 * arch-utils.c (generic_prepare_to_proceed): Allow for having
2476 stopped due to a Ctrl-C as well as breakpoints.
2477
2478 * hppa-tdep.c (hppa_prepare_to_proceed): Add FIXME as this may not
2479 support thread switches after Ctrl-C.
2480 * lin-lwp.c (lin_lwp_prepare_to_proceed): Ditto.
2481 * linux-thread.c (linuxthreads_prepare_to_proceed): Ditto.
2482 * m3-nat.c (mach3_prepare_to_proceed): Ditto.
2483
b3cc3077
JB
24842001-06-06 Jim Blandy <jimb@redhat.com>
2485
2486 * gdbarch.sh, gdbarch.c: Revert change of 2001-06-01; all
2487 per-architecture data should be registered at initialization time,
2488 before any gdbarch objects get used, so the generality is
2489 unnecessary.
2490
ba9fe036
KS
24912001-06-06 Keith Seitz <keiths@redhat.com>
2492
2493 * gdb-events.sh (function_list): Add tracepoint_create,
2494 tracepoint_delete, and tracepoint_modify events.
2495 * gdb-events.c: Regenerated.
2496 * gdb-events.h: Regenerated.
2497
e28f816a
KS
24982001-06-06 Keith Seitz <keiths@redhat.com>
2499
2500 * gdb-events.sh: Update copyrights.
2501 Change free to xfree.
2502 * gdb-events.c: Regenerated.
2503 * gdb-events.h: Regenerated.
2504
c3690141
EZ
25052001-06-06 Eli Zaretskii <eliz@is.elta.co.il>
2506
2507 * source.c (mod_path, openp): Use #ifdef HAVE_DOS_BASED_FILE_SYSTEM
2508 instead of #if HAVE_DOS_BASED_FILE_SYSTEM.
2509 * completer.c: Ditto.
2510 * cli/cli-cmds.c (cd_command): Ditto.
2511
37ba1196
EZ
25122001-06-04 Eli Zaretskii <eliz@is.elta.co.il>
2513
1012bd0e
EZ
2514 * mips-tdep.c (show_mipsfpu_command): Remove unused variable msg.
2515 (mips_set_processor_type_command): Remove unused variable j.
2516 (mips_breakpoint_from_pc): Declare breakpoint instruction
2517 sequences as unsigned char, to avoid compiler warnings.
2518
fe4e3eb8
EZ
2519 * source.c (mod_path, openp): Use HAVE_DOS_BASED_FILE_SYSTEM
2520 instead of system-specific define's like _WIN32 and __MSDOS__.
2521 Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH instead of SLASH_P and
2522 ROOTED_P.
2523 (top-level): #include "filenames.h".
2524
2525 * solib.c (solib_open): Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH
2526 instead of SLASH_CHAR, ROOTED_P and SLASH_P.
2527 (top-level): #include "filenames.h".
2528
2529 * defs.h (SLASH_P, SLASH_CHAR, ROOTED_P): Remove definitions.
2530 (SLASH_STRING): Define only for _WIN32.
2531
2532 * completer.c: Use HAVE_DOS_BASED_FILE_SYSTEM instead of
2533 __MSDOS_.
2534
2535 * cli/cli-cmds.c (cd_command): Use IS_DIR_SEPARATOR and
2536 IS_ABSOLUTE_PATH instead of SLASH_P and ROOTED_P. Replace
2537 system-specific ifdefs with HAVE_DOS_BASED_FILE_SYSTEM.
2538 (top-level): #include "filenames.h".
2539
37ba1196
EZ
2540 * go32-nat.c (go32_wait): Change the return value to ptid_t.
2541
2542 * config/djgpp/fnchange.lst: Add two new files in the
2543 gdb/testsuite/gdb.c++/ directory to the remapped names.
2544
2545 * config/djgpp/djconfig.sh (lt_cv_sys_max_cmd_len): Set to 12KB.
2546
3c875b6f
JB
25472001-06-01 Jim Blandy <jimb@redhat.com>
2548
2549 Expand the gdbarch per-architecture data vector as needed, rather
2550 than requiring that all per-architecture data be registered before
2551 the first gdbarch object is allocated.
2552 * gdbarch.sh: Changes to effect the following:
2553 * gdbarch.c (alloc_gdbarch_data, init_gdbarch_data): Delete
2554 declarations and definitions.
2555 (check_gdbarch_data): New function, and declaration.
2556 (gdbarch_alloc): Don't call alloc_gdbarch_data; leaving the fields
2557 zero is good enough.
2558 (free_gdbarch_data): Tolerate a null data pointer. Free only
2559 those data items gdbarch->data actually has allocated.
2560 (set_gdbarch_data, gdbarch_data): Call check_gdbarch_data.
2561 (gdbarch_update_p): No need to call init_gdbarch_data.
2562
98f96ba1
KB
25632001-06-01 Kevin Buettner <kevinb@redhat.com>
2564
2565 * ia64-tdep.c (is_float_or_hfa_type_recurse): Call check_typedef()
2566 on types that we wish to recurse on.
2567 (slot_alignment_is_next_even): New function.
2568 (ia64_push_arguments): Call slot_alignment_is_next_even() to
2569 examine the type in order to decide if it's necessary to skip
2570 an odd slot.
2571
c6ad9598
MS
25722001-06-01 Michael Snyder <msnyder@redhat.com>
2573
8601f500
MS
2574 * thread.c (delete_step_resume_breakpoint): New function.
2575 Maintain internal consistency of the thread list while deleting
2576 a step_resume_breakpoint.
2577 * gdbthread.h (delete_step_resume_breakpoint): Export.
2578 * breakpoint.c (bpstat_find_step_resume_breakpoint):
2579 Make thread-aware: don't return a step_resume_breakpoint
2580 for the wrong thread.
2581 * infrun.c (wait_for_inferior): Call delete_step_resume_breakpoint
2582 instead of delete_breakpoint_current_contents.
2583 (fetch_inferior_event): Ditto.
2584 (handle_inferior_event): Call delete_step_resume_breakpoint
2585 instead of delete_breakpoint.
c6ad9598
MS
2586 * infrun.c (handle_inferior_event): After singlestepping over a
2587 thread-specific breakpoint, use currently_stepping() to decide
2588 whether to step or continue.
2589
531017df
JB
25902001-06-01 Jim Blandy <jimb@redhat.com>
2591
b27b8843
JB
2592 * gnu-v3-abi.c (gnu_v3_abi_ops, vtable_type_gdbarch_data): Make
2593 these static --- there's no reason other files should use these.
2594
d0bbfec7
JB
2595 * partial-stab.h (case N_FUN: case 'f':, case N_FUN: case 'F':)
2596 Fix memory leak.
2597
531017df
JB
2598 * partial-stab.h: New complaint: function_outside_compilation_unit.
2599 (case N_FUN: case 'f':, case N_FUN: case 'F':): If pst is zero,
2600 complain, and don't try to set pst's start address.
2601
d469a809
KB
26022001-05-31 Kevin Buettner <kevinb@redhat.com>
2603
2604 * ia64-linux-tdep.c (IA64_LINUX_SIGCONTEXT_OFFSET): Revise to
2605 match the location at which the kernel is placing the sigcontext
2606 struct.
2607
58ab00f9
KB
2608 * ia64-tdep.c (max_skip_non_prologue_insns): New static global.
2609 (refine_prologue_limit): New function.
2610 (examine_prologue): Further limit number of instructions
2611 scanned by calling refine_prologue_limit(). Revise way in
2612 which the end of prologue address is computed for frameless
2613 functions.
2614
9fd7143a
CF
26152001-05-29 Christopher Faylor <cgf@redhat.com>
2616
2617 * partial-stab.h: Revert previous patch.
2618
34a7837a
CF
26192001-05-29 Christopher Faylor <cgf@redhat.com>
2620
2621 * partial-stab.h: Consistently guard against pst being NULL.
2622
ad53e288
AO
26232001-05-29 Alexandre Oliva <aoliva@redhat.com>
2624
2625 * symfile.c (compare_psymbols, compare_symbols): Declare using
2626 PTR, as in the definition.
09d011c5
AO
2627 * minsyms.c (compare_minimal_symbols): Likewise.
2628 * coffread.c (find_targ_sec): Likewise.
2629 * elfread.c (free_elfinfo, elf_locate_sections): Likewise.
2630 * mipsread.c (alphacoff_locate_sections): Likewise.
2631 * mdebugread.c (compare_blocks): Likewise.
ad53e288 2632
b41be06e
ND
26332001-05-25 Nick Duffek <nsd@redhat.com>
2634
2635 * solib.c (update_solib_list): Move target_resize_to_sections()
2636 into solib_map_sections() loop.
2637 (info_sharedlibrary_command): Try bfd_arch_bits_per_address() if
2638 bfd_get_arch_size() fails.
2639
a1cd1908
ND
26402001-05-25 Nick Duffek <nsd@redhat.com>
2641
2642 * Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c and
2643 solib-osf.o.
2644 * config/alpha/alpha-osf1.mh (NATDEPFILES): Replace osfsolib.o
2645 with solib-osf.o and solib.o.
2646 * config/alpha/alpha-osf2.mh: Likewise.
2647 * config/alpha/alpha-osf3.mh: Likewise.
2648 * solib-osf.c: New file, renamed and largely rewritten from
2649 osfsolib.c.
2650
aa6c0017
MS
26512001-05-25 Michael Snyder <msnyder@redhat.com>
2652
c4365b19
MS
2653 * lin-lwp.c (lin_lwp_attach_lwp): Call stop_wait_callback,
2654 to consume the SIGSTOP generated by PTRACE_ATTACH.
2655 (stop_wait_callback): If a SIGTRAP or a SIGINT event is consumed,
2656 try again to get the SIGSTOP event.
2657 (lin_lwp_wait): Resume all threads when ignoring a signal.
2658 This will insure that newly attached threads get resumed.
5f885618 2659 * lin-lwp.c (stop_wait_callback): Discard redundant SIGINT events.
aa6c0017
MS
2660 * remote.c (remote_write_bytes): Update 'p' packet pointer.
2661
4b1fedf1
JB
26622001-05-25 Jim Blandy <jimb@redhat.com>
2663
2664 * gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
2665 VALUE_POINTED_TO_OFFSET here; if value_cast doesn't return a
2666 useful value, then we should fix that instead.
2667
fa3b51d2
ND
26682001-05-24 Nick Duffek <nsd@redhat.com>
2669
2670 * solist.h (struct so_list): Document the requirement that
2671 current_sos initialize some fields to 0.
2672
2747183e
MK
26732001-05-24 Mark Kettenis <kettenis@gnu.org>
2674
2675 * gnu-nat.c: Include <ctype.h>.
2676 (gnu_pid_to_exec_file): Add PID parameter.
2677 (set_sig_thread_cmd): Use PIDGET on return value from
2678 thread_id_to_pid.
2679 (proc_string): Use MERGEPID to construct argument to
2680 pid_to_thread_id.
2681
e4f237da
KB
26822001-05-22 Kevin Buettner <kevinb@redhat.com>
2683
2684 * breakpoint.c (breakpoint_address_is_meaningful): New function.
2685 (check_duplicates): Don't compare non-meaningful addresses.
2686
5fd913cc
MS
26872001-05-22 Michael Snyder <msnyder@redhat.com>
2688
2689 * thread-db.c: Allow for defunct zombie threads.
2690 (attach_thread): Do not attempt to attach zombie thread.
2691 (thread_db_thread_alive): Return false for defunct zombie thread.
2692 (find_new_threads_callback): Don't add defunct zombie thread to list.
2693
7ed49443
JB
26942001-05-22 Jim Blandy <jimb@redhat.com>
2695
2696 Add support for the GNU V3 C++ ABI.
2697 (Includes changes by Dan Berlin.)
2698
2699 * gnu-v3-abi.c: New file.
2700 * minsyms.c: #include "value.h" and "cp-abi.h".
2701 (install_minimal_symbols): Check the minimal symbol table for
2702 symbols that look mangled in the V3 style, and select the V3 ABI
2703 if we find any.
2704 * Makefile.in (SFILES): Add gnu-v3-abi.c.
2705 (COMMON_OBS): Add gnu-v3-abi.o.
2706 (gnu-v3-abi.o): Add new rule.
2707 (minsyms.o): Depend on $(cp_abi_h) and $(value_h).
2708
a44999d5
JB
27092001-05-21 Jim Blandy <jimb@redhat.com>
2710
8d65888a
JB
2711 * values.c (value_primitive_field): If we're extracting a base
2712 class, then the type of the result should be the base class being
2713 extracted, not the type of which it is a base class.
2714
a44999d5
JB
2715 * value.h (struct value): Doc fix, and rearrange members to place
2716 them near their explanations.
2717
6c3f2dbf
MS
27182001-05-21 Michael Snyder <msnyder@redhat.com>
2719
2720 * remote.c (remote_async_wait): Added new variable fieldsize.
2721 Add fieldsize (return value of hex2bin) to string pointer p.
2722
b4fa4770
SC
27232001-05-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
2724
2725 * m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
2726 (m68hc11_analyze_instruction): Update the pc correctly.
2727 (m68hc11_guess_from_prologue): Take into account the stack correction
2728 for the saving address.
2729
2b127877
DB
27302001-05-07 Daniel Berlin <dan@cgsoftware.com>
2731
2732 Changes by Jim Ingham:
2733
2734 * values.c (value_change_enclosing_type): New function. If the
2735 new enclosing type is larger than the old one, we need to allocate
2736 more space.
2737 * value.h: Add value_change_enclosing_type prototype.
2738 * valops.c (value_cast): Use it.
2739 (value_assign): Use it.
2740 (value_addr): Use it.
2741 (value_ind): Use it.
2742 (value_full_object): Use it.
2743
27442001-05-07 Daniel Berlin <dan@cgsoftware.com>
2745
984e377c
JB
2746 * values.c (value_static_field): Handle static fields that have a
2747 constant value.
2b127877 2748
736d0890
MS
27492001-05-17 Michael Snyder <msnyder@redhat.com>
2750
2751 * blockframe.c (create_new_frame): Zero all the fields via memset,
2752 rather than zeroing them one by one.
2753
a577b05c
EZ
27542001-05-17 Eli Zaretskii <eliz@is.elta.co.il>
2755
2756 * top.c (user_args): Remove unused declaration.
2757
b8adfa9f
MS
27582001-05-16 Michael Snyder <msnyder@redhat.com>
2759
2760 * infcmd.c (do_registers_info): Move alloca outside of loop.
2761
97345198
MS
27622001-05-15 John S Kallal <jskallal@home.com>
2763
2764 * remote.c (remote_wait): Added new variable fieldsize.
2765 Add fieldsize (return value of hex2bin) to string pointer p.
2766
aca21d9a
MK
27672001-05-15 Mark Kettenis <kettenis@gnu.org>
2768
2769 * sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
2770 info.bfd_arch_info.
2771
b08cfdb6
KB
27722001-05-14 Kevin Buettner <kevinb@redhat.com>
2773
2774 * lin-lwp.c (detach_callback, lin_lwp_wait, lin_lwp_pid_to_str):
2775 Adjust format strings for printing LWPs to account for the fact
2776 that the type returned by GET_LWP() is now a long instead of an
2777 int.
2778
ca6724c1
KB
27792001-05-14 Kevin Buettner <kevinb@redhat.com>
2780
2781 * inferior.h (null_ptid, minus_one_ptid): New variable declarations.
2782 (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
2783 (ptid_get_tid, ptid_equal): New function declarations.
2784 * infrun.c (null_ptid, minus_one_ptid): New variables.
2785 (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
2786 (ptid_get_tid, ptid_equal): New functions.
2787 (_initialize_infrun): Initialize null_ptid, minus_one_ptid,
2788 inferior_ptid, and target_last_wait_ptid.
2789
2790 * defs.h (ptid_t): Redefine to be a struct rather than an int.
2791 (pid_to_ptid, null_ptid, ptid_equal): Delete these macros.
2792 (PIDGET, TIDGET, MERGEPID): Redefine these macros using the
2793 new ptid accessors and constructor.
2794
2795 * config/i386/tm-i386v42mp.h (PIDGET, TIDGET, LIDGET, MERGEPID,
2796 MKLID, MKTID, ISTID): Provide new definitions for these macros.
2797 The old macros are retained, but disabled via #if 0 in order
2798 to aid in future restructuring. See FIXME.
2799
2800 * arm-linux-nat.c (PIDGET, TIDGET): Delete macro definitions.
2801 * i386-linux-nat.c (PIDGET, TIDGET): Likewise.
2802 * infptrace.c (PIDGET, TIDGET): Likewise.
2803 * lin-lwp.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
2804 * lin-thread.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
2805 * proc-service.c (MERGEPID): Likewise.
2806 * procfs.c (PIDGET, TIDGET, MERGEPID): Likewise.
2807 * thread-db.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
2808 * config/nm-linux.h (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
2809 * config/i386/tm-i386sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
2810 Likewise.
2811 * config/sparc/tm-sun4sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
2812 Likewise.
2813
2814 * lin-lwp.c (THREAD_FLAG): Delete macro definition.
2815 (GET_LWP): Redefine in terms of ptid_get_lwp().
2816 (GET_PID): Redefine in terms of ptid_get_pid().
2817 (is_lwp): Redefine without the need for THREAD_FLAG.
2818 (BUILD_LWP): Redefine in terms of ptid_build().
2819 * lin-thread.c (THREAD_FLAG): Delete macro definition.
2820 (GET_LWP): Redefine in terms of ptid_get_lwp().
2821 (GET_PID): Redefine in terms of ptid_get_pid().
2822 (GET_THREAD): Redefine in terms of ptid_get_tid().
2823 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
2824 (is_lwp, is_thread): Redefine.
2825 (linux_child_wait, check_all_signal_numbers)
2826 (linuxthreads_discard_global_state, attach_thread): Declare these
2827 functions to squash warnings about missing declarations.
2828 * sol-thread.c (THREAD_FLAG): Delete macro definition.
2829 (GET_PID): Redefine in terms of ptid_get_pid().
2830 (GET_LWP): Redefine in terms of ptid_get_lwp().
2831 (GET_THREAD): Redefine in terms of ptid_get_tid().
2832 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
2833 (is_lwp, is_thread): Redefine.
2834 * thread-db.c (THREAD_FLAG): Delete macro definition.
2835 (GET_PID): Redefine in terms of ptid_get_pid().
2836 (GET_LWP): Redefine in terms of ptid_get_lwp().
2837 (GET_THREAD): Redefine in terms of ptid_get_tid().
2838 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
2839 (is_lwp, is_thread): Redefine.
2840
2841 * corelow.c (add_to_thread_list, get_core_register_section):
2842 Eliminate hacks needed to prevent regressions when inferior_ptid
2843 wasn't wide enough to hold the core file thread id in the pid
2844 component of inferior_ptid.
2845
234fa6d1
MS
28462001-05-14 Michael Snyder <msnyder@redhat.com>
2847
2848 * remote.c (hex2bin): Make first argument const.
2849 Require explicit count, don't accept null-terminated str.
2850 (remote_resume, remote_async_resume): White space fix-up.
2851 (remote_write_bytes): Set nr_bytes to return value of bin2hex.
2852
caadab2c
MK
28532001-05-13 Mark Kettenis <kettenis@gnu.org>
2854
2855 * symtab.c (lookup_symtab_1): Use lbasename (NAME) instead of
2856 basename (NAME). The FreeBSD basename returns a pointer to a
2857 static buffer, even if it's simply returning a string identical to
2858 its argument.
2859 (lookup_partial_symtab): Likewise.
2860
2644f393
MS
28612001-05-14 Michael Snyder <msnyder@redhat.com>
2862
cb0ba49e 2863 * solib.c, solib.h: Add comment for function no_shared_libraries.
2644f393 2864
183a2f1a
KB
28652001-05-14 Kevin Buettner <kevinb@redhat.com>
2866
2867 * solib.h (no_shared_libraries): Make declaration match definition
2868 in solib.c.
2869
1dd1751e
AC
28702001-05-14 Andrew Cagney <ac131313@redhat.com>
2871
2872 * remote.c (remote_write_bytes): Set nr_bytes before returning it.
2873 * solib.h (no_shared_libraries): Declare.
2874
b732d07d
AC
28752001-05-12 Andrew Cagney <ac131313@redhat.com>
2876
2877 * gdbarch.sh (struct gdbarch_info): Delete field bfd_architecture.
2878 (gdbarch_update_p): Rewrite logic filling in INFO struct. Use
2879 user specified values when available.
2880 * rs6000-tdep.c (rs6000_gdbarch_init): Update. Get the
2881 architecture from info.bfd_arch_info.
2882 * gdbarch.c, gdbarch.h: Regenerate.
2883
67dd5ca6
FN
28842001-05-12 Fernando Nasser <fnasser@redhat.com>
2885
2886 * remote-e7000.c (e7000_open): Check for bad baud rate.
2887 * remote-st.c (st2000_open): Ditto.
2888
529acb48
JB
28892001-05-11 Jim Blandy <jimb@redhat.com>
2890
f8e42d24
JB
2891 * thread.c (do_captured_list_thread_ids): Use ui_out_tuple_begin
2892 and ui_out_tuple_end instead of ui_out_list_begin and
2893 ui_out_list_end.
2894
529acb48
JB
2895 * Makefile.in (gnu-v2-abi.o): Add $(demangle_h) to list of
2896 dependencies. Reorder dependencies to match #includes in file,
2897 for easier verification.
2898
666547aa
AC
2899Fri May 11 13:32:50 2001 Andrew Cagney <cagney@b1.cygnus.com>
2900
2901 * breakpoint.c: Replace ui_out_list_begin, ui_out_list_end and
2902 make_cleanup_ui_out_list_end with ui_out_tuple_begin,
2903 ui_out_tuple_end and make_cleanup_ui_out_tuple_begin_end.
2904 * cli/cli-setshow.c: Ditto.
2905 * printcmd.c: Ditto.
2906 * stack.c: Ditto.
2907
2908 * ui-out.h (enum ui_out_type): Fix tipo - tupple -> tuple.
2909 * ui-out.c (ui_out_list_begin): Delete ``lstid'' parameter.
2910 (ui_out_tuple_begin): New function.
2911 (ui_out_tuple_end): New function.
2912 (ui_out_tuple_begin_end): New function.
2913 (make_cleanup_ui_out_list_begin_end): Replace
2914 make_cleanup_ui_out_list_end function.
2915 * ui-out.h (ui_out_list_begin): Update declaration.
2916 (make_cleanup_ui_out_list_begin_end): Replace
2917 make_cleanup_ui_out_list_end declaration.
2918 (ui_out_tuple_begin, ui_out_tuple_end): Declare.
2919 (ui_out_tuple_begin_end): Declare.
2920
30c98d84
JB
29212001-05-11 Jim Blandy <jimb@redhat.com>
2922
2923 * gnu-v2-abi.c: Don't #include "gdb_regex.h". We don't use it.
2924
1faa59a8
AC
29252001-05-11 Andrew Cagney <ac131313@redhat.com>
2926
2927 From 2001-03-26 Rodney Brown <RodneyBrown@mynd.com>
2928 * config/pa/tm-hppa.h: Remove trigraph.
2929 * hp-symtab-read.c (hpread_type_translate): Provide return value.
2930 (hpread_read_struct_type): Remove trigraph. Add parameter in
2931 `warning'.
2932 (hpread_read_array_type): Provide return value.
2933 (hpread_type_lookup): Avoid ambiguous `else'. Provide return
2934 value.
2935 * hppa-tdep.c (initialize_hp_cxx_exception_support): Remove
2936 trigraph.
2937
99567b1b
JB
29382001-05-11 Jim Blandy <jimb@redhat.com>
2939
2940 * mips-tdep.c (mips_store_return_value,
2941 mips_extract_return_value): Pass arguments to
2942 return_value_location in the proper order.
2943
d3814881
AC
29442001-05-11 Andrew Cagney <ac131313@redhat.com>
2945
2946 * Makefile.in (VERSION): Delete. Moved to file ``version.in''.
2947 (version.c): Depends on file ``version.in''. Extract version
2948 number from ``version.in'' file.
2949 (clean mostlyclean): Update.
2950 * version.in: New file.
5d6640b1 2951 * NEWS: Update.
d3814881 2952
4d28f7a8
KB
29532001-05-11 Kevin Buettner <kevinb@redhat.com>
2954
2955 * breakpoint.c (set_raw_breakpoint): Add new parameter
2956 representing the breakpoint's type. Adjust all callers.
2957 (create_longjmp_breakpoint, create_temp_exception_breakpoint)
2958 (create_thread_event_breakpoint): Don't test for zero return
2959 value from set_raw_breakpoint(). It can never be zero.
2960 (create_exception_catchpoint, watch_command_1): Move logic
2961 which calculates the breakpoint type prior to the call to
2962 set_raw_breakpoint().
2963
08b4f080
FN
29642001-05-11 Fernando Nasser <fnasser@redhat.com>
2965
2966 * ser-unix.c (rate_to_code): Issue warning if baud rate is invalid.
2967 (hardwire_setbaudrate): Set errno to EINVAL and return with error
2968 if the conversion of the baud rate to code fails.
2969
127431f9
AC
29702001-05-10 Andrew Cagney <ac131313@redhat.com>
2971
2972 * ui-out.h (make_cleanup_ui_out_begin_end): Declare.
2973 * ui-out.c (struct ui_out_end_cleanup_data): Define.
2974 (do_cleanup_end): New function. Replace do_list_end.
2975 (make_cleanup_ui_out_end): New function.
2976 (make_cleanup_ui_out_begin_end): New function.
2977 (make_cleanup_ui_out_list_end): Use make_cleanup_ui_out_end.
2978
5dbc5e5f
EZ
29792001-05-10 Elena Zannoni <ezannoni@redhat.com>
2980
2981 * MAINTAINERS: Declare xcoffread.c open to all maintainers,
2982 and make Kevin Buettner (kevinb@redhat.com) the reference person.
2983
8e40d292
EZ
29842001-05-10 Elena Zannoni <ezannoni@redhat.com>
2985
2986 * proc-api.c (ioctl_with_trace): Fix uninitialized variable.
2987
5a703563
FN
29882001-05-10 Fernando Nasser <fnasser@redhat.com>
2989
2990 * MAINTAINERS: Add testsuite subdirectory co-maintainers.
2991
6311b07d
AC
2992Thu May 10 16:26:47 2001 Andrew Cagney <cagney@b1.cygnus.com>
2993
2994 * Makefile.in (mi-main.o): Compile with -Werror.
2995
30559e10
MS
29962001-05-10 Michael Snyder <msnyder@redhat.com>
2997
f78f6cf1
MS
2998 * remote.c (remote_open_1): Call no_shared_libraries, so that
2999 symbols for shared libraries can be reloaded per session.
3000 (remote_async_open_1): Ditto.
30559e10
MS
3001 * remote.c (bin2hex, hex2bin): New functions. Factor out these
3002 two conversions which are coded for repeatedly in this module.
3003 (remote_threads_extra_info, remote_wait, remote_async_wait,
3004 store_register_using_P, remote_store_registers, remote_write_bytes,
3005 remote_read_bytes, remote_rcmd): Use bin2hex and hex2bin instead
3006 of coding the conversions inline.
3007 (fromhex): Not exported, change from extern to static.
3008
0a1d9791
AC
30092001-05-10 Andrew Cagney <ac131313@redhat.com>
3010
3011 * arch-utils.c (initialize_current_architecture): Delete obsolete
3012 ``info architecture'' command.
3013 (info_architecture): Delete function.
3014
ee055267
AC
30152001-05-10 Andrew Cagney <ac131313@redhat.com>
3016
3017 * TODO (5.1, 5.2): Update.
3018
85886af6
AC
30192001-05-09 Andrew Cagney <ac131313@redhat.com>
3020
3021 * MAINTAINERS: Jim Ingham is no longer maintaining Arm related
3022 stuff.
30559e10 3023
ecb9ce7e
KS
30242001-05-10 Keith Seitz <keiths@cygnus.com>
3025
3026 * Makefile.in (SUBDIR_GDBTK_OBS): Add gdbtk-bp.o, gdbtk-register.o
3027 and gdbtk-stack.o.
3028 (SUBDIR_GDBTK_SRCS): Ditto for the sources.
3029 (gdbtk-bp.o): New rule.
3030 (gdbtk-register.o): New rule.
3031 (gdbtk-stack.o): New rule.
3032 (gdbtk-cmds.o): Update dependencies.
3033 (gdbtk.o): Ditto.
3034 (gdbtk-hooks.o): Ditto.
3035 (gdbtk-varobj.o): Ditto.
3036
f7635dd9
FN
30372001-05-10 Fernando Nasser <fnasser@redhat.com>
3038
3039 * varobj.c (c_number_of_children): Fix memory leak. Delete unwanted old
3040 variables, not just unregister them.
3041
0755e6c1
FN
30422001-05-10 Fernando Nasser <fnasser@redhat.com>
3043
3044 * varobj.c (c_number_of_children): Check for target type of void*,
3045 not the target type name. Allow dereferencing char*.
3046
d7db6da9
FN
30472001-05-10 Fernando Nasser <fnasser@redhat.com>
3048
3049 * symfile.c (symbol_file_add_main_1): New static function.
3050 Passes the flags arguments to symbol_file_add() and takes care
3051 of any necessary reinitializations.
3052 (symbol_file_command): Call symbol_file_add_main_1() instead of
3053 symbol_file_add().
3054 (symbol_file_add_main): Ditto.
3055
3d6e28e2
KB
30562001-05-09 Kevin Buettner <kevinb@redhat.com>
3057
3058 * lin-lwp.c (lin_lwp_pid_to_str): Revert inadvertent format
3059 string change in 2001-05-03 changes.
3060 (lin_lwp_wait): Revert GET_LWP coercion introduced in 2001-05-03
3061 changes.
3062
01263b57
KB
30632001-05-09 Kevin Buettner <kevinb@redhat.com>
3064
3065 * lin-lwp.c (lin_lwp_attach): Use PIDGET() to fetch the pid
3066 component from inferior_ptid.
3067 (lin_lwp_detach): Use pid_to_ptid() to convert from a pid to a
3068 ptid.
3069
74a151fa
EZ
30702001-05-09 Elena Zannoni <ezannoni@redhat.com>
3071
3072 * sh3-rom.c (_initialize_sh3_rom): Get rid of specific _WINDOWS
3073 conditional for help with connections through parallel ports,
3074 given that the actual code for downloading through a parallel port
3075 is not conditionalized.
3076
3077 * sh-tdep.c: Remove WIN32_WCE conditional. The wince sh target is
3078 unmaintaned, and probably on its way to obsolescence.
3079
d7a0d72c
MK
30802001-05-09 Mark Kettenis <kettenis@gnu.org>
3081
0d17c81d
MK
3082 * i386-tdep.c (i386_frame_saved_pc): New function.
3083 * config/i386/tm-i386.h (FRAME_SAVED_PC): Redefine in terms of
3084 i386_frame_saved_pc.
3085 (i386_frame_saved_pc): New prototype.
3086
d7a0d72c
MK
3087 * i386-tdep.c (i386_register_virtual_type): New function.
3088 (i386_register_convertible): New function.
3089 * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE): Redefine in terms
3090 of i386_register_virtual_type.
3091 (REGISTER_CONVERTIBLE): Redefine in terms of
3092 i386_register_convertible.
3093 (i386_register_virtual_type, i386_register_convertible): New
3094 prototypes.
3095
ad8fe2ce
JB
30962001-05-08 Jim Blandy <jimb@redhat.com>
3097
33757489
JB
3098 * Makefile.in (mn10300-tdep.o): New rule.
3099
3100 * Makefile.in (gdb_string_h): Define. Use it throughout.
3101 Some rules were already using this, even though it isn't defined.
3102
c2c197ae
JB
3103 * Makefile.in (obstack_h, target_h): Define; these are already
3104 used elsewhere, but have been expanding to the empty string.
3105 (memattr_h): Define; needed by target_h.
3106
c064f384
JB
3107 * mn10300-tdep.c (mn10300_extract_return_value): Mark this as
3108 static. (This was accidentally omitted from the earlier patch.)
3109
23436510
JB
3110 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
3111 (mn10300_gdbarch_init): Register it as the architecture's
3112 dwarf2_reg_to_regnum method.
3113
ae83b20d
JB
3114 Correct and expand handling of `movm' instruction, and register
3115 saves in general.
3116 * config/mn10300/tm-mn10300.h (D0_REGNUM, A0_REGNUM, MDRQ_REGNUM,
3117 MCRH_REGNUM, MCRL_REGNUM, MCVF_REGNUM): New definitions.
3118 (enum movm_register_bits): New enum.
3119 * mn10300-tdep.c (set_movm_offsets): Use symbolic names for the
3120 bits, not hex literals. Handle the `other', `exreg0', and
3121 `exother' bits. Correct handling of `exreg1': it saves r4, r5,
3122 r6, and r7, not r2, r3, r4, and r5.
3123 (saved_regs_size): New function.
3124 (mn10300_frame_chain, mn10300_frame_saved_pc): Use it, instead
3125 of computing the same thing inline, incorrectly.
3126
bf4b70a5
JB
3127 * mn10300-tdep.c (mn10300_gdbarch_init): We do have a
3128 dummy_breakpoint_offset; it's zero.
3129
ee9f9641
JB
3130 * mn10300-tdep.c (mn10300_pop_frame): Split the mn10300-specific
3131 stuff out into mn10300_pop_frame_regular, and use
3132 generic_pop_current_frame. This lets us share code, and also
3133 makes this function's prototype match that expected by gdbarch.
3134 Make this function static.
3135 (mn10300_pop_frame_regular): New function.
3136 (mn10300_gdbarch_init): Register mn10300_pop_frame as the
3137 gdbarch's pop_frame method.
3138 * config/mn10300/tm-mn10300.h (POP_FRAME): Delete definition.
3139 (mn10300_pop_frame): Delete declaration.
3140
2ac51b36
JB
3141 * mn10300-tdep.c (mn10300_saved_pc_after_call,
3142 mn10300_extract_return_value,
3143 mn10300_extract_struct_value_address, mn10300_store_return_value,
3144 mn10300_use_struct_convention, mn10300_breakpoint_from_pc,
3145 mn10300_frame_chain, mn10300_skip_prologue,
3146 mn10300_push_arguments, mn10300_push_return_address,
3147 mn10300_store_struct_return, mn10300_frame_saved_pc,
3148 mn10300_init_extra_frame_info, mn10300_frame_init_saved_regs):
3149 Make these functions static; they should only be visible to the
3150 outside world as gdbarch methods.
3151
af4e72e9
JB
3152 * config/mn10300/tm-mn10300.h (mn10300_find_callers_reg): Delete
3153 unused declaration.
3154
584f96a8
JB
3155 * mn10300-tdep.c (mn10300_gdbarch_init): Put the gdbarch methods
3156 in some rational order.
3157
82d983b6
JB
3158 * mn10300-tdep.c (mn10300_gdbarch_init): Rather than using
3159 generic_pc_in_call_dummy, use pc_in_call_dummy_at_entry_point.
3160
ad8fe2ce
JB
3161 Use gdbarch for most target parameters for the MN10300, rather
3162 than the tm-*.h file.
3163 * config/mn10300/tm-mn10300.h (MAX_REGISTER_VIRTUAL_SIZE,
3164 REGISTER_BYTES, FP_REGNUM, BREAKPOINT_FROM_PC,
3165 FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK, INNER_THAN,
3166 SAVED_PC_AFTER_CALL, INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS,
3167 FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC,
3168 EXTRACT_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS,
3169 STORE_RETURN_VALUE, STORE_STRUCT_RETURN, SKIP_PROLOGUE,
3170 FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS,
3171 FRAME_NUM_ARGS, POP_FRAME, USE_GENERIC_DUMMY_FRAMES, CALL_DUMMY,
3172 CALL_DUMMY_START_OFFSET, CALL_DUMMY_BREAKPOINT_OFFSET,
3173 CALL_DUMMY_LOCATION, FIX_CALL_DUMMY, CALL_DUMMY_ADDRESS,
3174 TARGET_READ_FP, PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME,
3175 SAVE_DUMMY_FRAME_TOS, PUSH_ARGUMENTS, PC_IN_CALL_DUMMY,
3176 REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER):
3177 Delete definitions. We register gdbarch methods for these now.
3178 (struct frame_info, struct type, struct value): Delete forward
3179 declarations of these types; they're no longer necessary, since we
3180 don't have function declarations here any more.
3181 * mn10300-tdep.c: #include "arch-utils.h", to get declarations for
3182 some default gdbarch methods.
3183 (mn10300_store_struct_return): Return void, as expected by
3184 gdbarch.
3185 (mn10300_init_extra_frame_info): Take initial `fromleaf' argument,
3186 as expected by gdbarch.
3187 (mn10300_frame_init_saved_regs): Provide dummy definition for
3188 this, as required by gdbarch.
3189 (mn10300_gdbarch_init): Add mn10300_call_dummy_words, as expected
3190 by gdbarch. Register gdbarch methods or values for all the stuff
3191 removed from tm-10300.h, listed above.
3192
631ec795
AC
31932001-05-08 Andrew Cagney <ac131313@redhat.com>
3194
3195 * cli-out.c (cli_begin, cli_end): Replace cli_list_begin and
3196 cli_list_end.
3197 (cli_ui_out_impl): Update.
3198
3199 * ui-out.c (default_begin, default_end): Replace
3200 default_list_begin and default_list_end.
3201 (default_ui_out_impl): Update.
3202 (uo_begin, uo_end): Replace ou_list_begin and uo_list_end.
3203 (ui_out_begin, ui_out_end): Replace ui_out_list_begin and
3204 ui_out_list_end.
3205 (ui_out_list_begin, ui_out_list_end): New. Compatibility
3206 functions.
3207 (struct ui_out_level): Add field type.
3208 (push_level, pop_level): Update. Add type parameter.
3209
3210 * ui-out.h (enum ui_out_type): Declare.
3211 (ui_out_begin, ui_out_end): Declare.
3212 (ui_out_begin_ftype, ui_out_end_ftype): Replace list_begin_ftype
3213 and list_end_ftype.
3214 (struct ui_out_impl): Update.
3215
80f49b30
AC
32162001-05-07 Andrew Cagney <ac131313@redhat.com>
3217
3218 * ui-out.h (list_begin_ftype, list_end_ftype): Rename argument
3219 ``list_flag'' to ``depth''.
3220 * ui-out.c (default_list_begin, default_list_end): Update.
3221 (uo_list_begin, uo_list_end): Update.
3222 (MAX_UI_OUT_LEVELS): Define.
3223 (struct ui_out_level): Define.
3224 (top-level): Include "gdb_assert.h".
3225 (struct ui_out): Add fields ``level'' and ``levels''. Delete
3226 fields ``list_flag'' and ``field_count''.
3227 (ui_out_new): Update.
3228 (verify_field_proper_position): Update.
3229 (current_level, push_level, pop_level): New functions.
3230 (ui_out_list_begin): Use push_level.
3231 (ui_out_list_end): Use pop_level.
3232 (ui_out_field_int): Use current_level.
3233 (ui_out_field_skip): Ditto.
3234 (ui_out_field_fmt): Ditto.
3235
7aedc9f8
MS
32362001-05-08 Michael Snyder <msnyder@redhat.com>
3237
3238 * language.c (longest_local_hex_string_custom): Strlen test is
3239 inverted -- reverse the sense of the test.
3240
c6ec85d6
MK
32412001-05-08 Mark Kettenis <kettenis@gnu.org>
3242
3243 * config/i386/tm-i386v.h (struct frame_info, struct
3244 frame_saved_regs): Remove declarations.
3245 (i386_frame_num_args): Remove prototype.
3246
f938fa6a
AC
32472001-05-07 Andrew Cagney <ac131313@redhat.com>
3248
3249 * MAINTAINERS: I'm no longer actively maintaining the mn10300
3250 target.
3251
fb106663
AC
32522001-05-04 Andrew Cagney <ac131313@redhat.com>
3253
3254 * main.c (captured_main): Delete #ifndef _WIN32 conditional for
3255 WinGDB.
3256
ce696e05
KB
32572001-05-06 Kevin Buettner <kevinb@redhat.com>
3258
3259 * inferior.h (save_inferior_ptid): Declare.
3260 * infrun.c (save_inferior_ptid, restore_inferior_ptid): Define.
3261
3262 * hpux-thread.c (save_inferior_ptid, restore_inferior_ptid):
3263 Delete these functions.
3264 * lin-lwp.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
3265 * lin-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
3266 * linux-thread.c (save_inferior_ptid, restore_inferior_ptid):
3267 Likewise.
3268 * proc-service.c (save_inferior_ptid, restore_inferior_ptid):
3269 Likewise.
3270 * sol-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
3271 * thread-db.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
3272
3273 * somsolib.c (reset_inferior_ptid): Delete.
3274 (som_solib_remove_inferior_hook): Use save_inferior_ptid() to
3275 build the cleanup struct.
3276
3277 * breakpoint.c (reattach_breakpoints, detach_breakpoints): Use
3278 a cleanup to save/restore inferior_ptid.
3279
c194fbe1
MK
32802001-05-06 Mark Kettenis <kettenis@gnu.org>
3281
3282 Implement attach/detach for multi-threaded programs on Linux.
3283 * thread-db.c (keep_thread_db): Adjust comment.
3284 (deactivate_target): Removed.
3285 (thread_db_new_objfile): Don't call deactivate_target. Implement
3286 guts of deactivate_target inline instead.
3287 (attach_thread): Call ATTACH_LWP unconditionally if defined.
3288 (thread_db_attach): New function.
3289 (thread_db_detach): Don't call deactivate_target. Do necessary
3290 cleanup inline instead. Set inferior_ptid to LWP corresponding to
3291 the current user-level thread.
3292 (thread_db_kill): Set inferior_ptid to LWP corresponding to the
3293 current user-level thread.
3294 (thread_db_create_inferior): Deactivate target vector if
3295 KEEP_THREAD_DB is zero.
3296 (thread_db_mourn_inferior): Don't call deactivate_target. Do
3297 necessary cleanup inline instead.
3298 (init_thread_db_ops): Initialize to_attach field to
3299 thread_db_attach.
3300 * lin-lwp.c (lin_lwp_mourn_inferior): Remove prototype.
3301 (stop_wait_callback): Add prototype.
3302 (init_lwp_list): Add comment about when to re-initialize the LWP
3303 list.
3304 (lin_lwp_attach_lwp): Only call ptrace for cloned processes.
3305 Avoid adding publicates to the LWP list. Only mark an LWP as
3306 signalled if it doesn't correspond to a cloned process.
3307 (lin_lwp_attach): Add initial process to the LWP list. Make sure
3308 it's stopped and fake a SIGSTOP.
3309 (detach_callback): New function.
3310 (lin_lwp_detach): Implement.
3311 (lin_lwp_create_inferior): Don't re-initialize LWP list here.
3312 Call child_ops.to_create_inferior directly instead of via
3313 target_beneath local.
3314 (lin_lwp_mourn_inferior): Call child_ops.to_mourn_inferior
3315 directly instead of via target_beneath local.
3316
a7fdf62f
EZ
33172001-05-06 Eli Zaretskii <eliz@is.elta.co.il>
3318
3319 * symtab.c (lookup_symtab_1, lookup_partial_symtab): Use basename
3320 instead of non-portable search for `/'. Use FILENAME_CMP instead
3321 of STREQ, to account for case-insensitive filesystems.
3322 (top-level): #include "filenames.h".
3323
9f60f21b
JB
33242001-05-05 Jim Blandy <jimb@redhat.com>
3325
644a1fe1
JB
3326 * breakpoint.c (check_duplicates): Use the breakpoint's type, not
3327 its address, to decide whether it's a watchpoint or not. Zero
3328 is a valid code address.
3329 (update_breakpoints_after_exec): Admonishing comments.
3330 * breakpoint.h (struct breakpoint): Doc fixes.
3331
9f60f21b
JB
3332 * breakpoint.c (check_duplicates): Take a breakpoint object as an
3333 argument, rather than an address and section. All callers changed.
3334
39f77062
KB
33352001-05-03 Kevin Buettner <kevinb@redhat.com>
3336
3337 * defs.h (ptid_t): New typedef.
3338 (pid_to_ptid, null_ptid, minus_one_ptid, ptid_equal): New macros.
3339
3340 * a68v-nat.c, alphabsd-nat.c, arch-utils.c, arm-linux-nat.c,
3341 blockframe.c, breakpoint.c, breakpoint.h,
3342 config/i386/nm-i386sol2.h, config/i386/tm-i386sco5.h,
3343 config/ia64/nm-linux.h, config/m68k/nm-hp300bsd.h,
3344 config/mips/nm-irix4.h, config/mips/nm-irix5.h,
3345 config/pa/nm-hppah.h, config/pa/tm-hppa.h,
3346 config/rs6000/nm-rs6000.h, config/sparc/nm-sun4sol2.h,
3347 corelow.c, cxux-nat.c, d10v-tdep.c, dink32-rom.c,
3348 dve3900-rom.c, fork-child.c, frame.c, gnu-nat.c, go32-nat.c,
3349 hp300ux-nat.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c,
3350 hpux-thread.c, i386-linux-nat.c, i386aix-nat.c, i386b-nat.c,
3351 i386bsd-nat.c, i386gnu-nat.c, i386mach-nat.c, i386nbsd-nat.c,
3352 infcmd.c, inferior.h, inflow.c, infptrace.c, infrun.c,
3353 inftarg.c, infttrace.c, lin-lwp.c, lin-thread.c,
3354 linux-thread.c, lynx-nat.c, m3-nat.c, m32r-rom.c,
3355 m68knbsd-nat.c, m88k-nat.c, mac-nat.c, mips-nat.c,
3356 mon960-rom.c, monitor.c, ns32knbsd-nat.c, ocd.c, ppc-bdm.c,
3357 ppcnbsd-nat.c, proc-service.c, procfs.c, ptx4-nat.c,
3358 regcache.c, remote-adapt.c, remote-array.c, remote-bug.c,
3359 remote-e7000.c, remote-es.c, remote-mips.c, remote-mm.c,
3360 remote-nindy.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
3361 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
3362 remote-vx.c, remote.c, rs6000-nat.c, sol-thread.c,
3363 solib-aix5.c, solib-svr4.c, somsolib.c, sparc-nat.c,
3364 standalone.c, sun3-nat.c, sun386-nat.c, symm-nat.c, target.c,
3365 target.h, thread-db.c, thread.c, top.c, ultra3-nat.c,
3366 uw-thread.c, v850ice.c, win32-nat.c, wince.c, xcoffsolib.c
3367 (inferior_pid): Rename to inferior_ptid everywhere - even in
3368 comments and obsolete ports. In cases where this variable
3369 really is supposed to be used as a process id, use PIDGET() to
3370 extract the process id component from inferior_ptid. The
3371 other cases, either involving other variables whose types had
3372 to be changed or functions whose signatures had to changed
3373 are listed separately below.
3374
3375 * arm-linux-nat.c (get_thread_id): Change type of argument
3376 representing a combined process/thread id from ``int'' to
3377 ``ptid_t''. Also change parameter name to ptid.
3378 * breakpoint.h, breakpoint.c (breakpoint_thread_match): Likewise.
3379 * corelow.c (core_file_thread_alive): Likewise.
3380 * d10v-tdep.c (d10v_read_pc, d10v_write_pc): Likewise.
3381 * defs.h (*target_wait_hook): Likewise.
3382 * gdbthread.h (thread_info, delete_thread, pid_to_thread_id)
3383 (find_thread_pid, save_infrun_state, load_infrun_state): Likewise.
3384 * gnu-nat.c (gnu_thread_alive, gnu_pid_to_str, gnu_wait)
3385 (gnu_resume): Likewise.
3386 * go32-nat.c (go32_wait, go32_resume): Likewise.
3387 * h8500-tdep.c (h8500_read_pc, h8500_write_pc): Likewise.
3388 * hppa-tdep.c (target_read_pc, target_write_pc): Likewise.
3389 * hppah-nat.c (child_pid_to_str, hppa_tid_to_str,
3390 (hppa_pid_or_tid_to_str, child_post_startup_inferior)
3391 (child_thread_alive): Likewise.
3392 * hpux-thread.c (hpux_thread_notice_signals, hpux_thread_alive)
3393 (hpux_pid_to_str, hpux_thread_wait, hpux_thread_resume): Likewise.
3394 * i386-linux-nat.c (child_resume): Likewise.
3395 * ia64-linux-nat.c (enable_watchpoints_in_psr, fetch_debug_register)
3396 (store_debug_register, fetch_debug_register_pair)
3397 (store_debug_register_pair, ia64_linux_insert_watchpoint)
3398 (ia64_linux_remove_watchpoint, ia64_linux_stopped_by_watchpoint):
3399 Likewise.
3400 * ia64-tdep.c (ia64_read_pc, ia64_write_pc): Likewise.
3401 * inferior.h (read_pc_pid, generic_target_read_pc, write_pc_pid)
3402 (generic_target_write_pc, ptrace_wait, child_resume)
3403 (get_last_target_status): Likewise.
3404 * infptrace.c (ptrace_wait, child_resume): Likewise.
3405 * inftarg.c (child_wait, child_post_wait, child_thread_live)
3406 (child_pid_to_str): Likewise.
3407 * infttrace.c (ptrace_wait, child_thread_alive, child_resume)
3408 (hppa_pid_or_tid_to_str, child_post_startup_inferior): Likewise.
3409 * lin-lwp.c (add_lwp, delete_lwp, find_lwp_pid, lin_lwp_attach_lwp)
3410 (lin_lwp_resume, lin_lwp_wait, lin_lwp_thread_alive)
3411 (lin_lwp_pid_to_str): Likewise.
3412 * lin-thread.c (thread_db_alive, thread_db_pid_to_str)
3413 (thread_db_resume, thread_db_wait): Likewise.
3414 * linux-thread.c (linuxthreads_thread_alive, linuxthreads_pid_to_str)
3415 (linuxthreads_resume, linuxthreads_wait): Likewise.
3416 * lynx-nat.c (child_wait, child_thread_alive, child_resume)
3417 (child_pid_to_str): Likewise.
3418 * m3-nat.c (mach_really_wait, m3_resume): Likewise.
3419 * mac-nat.c (child_wait, child_resume): Likewise.
3420 * mips-tdep.c (mips_read_pc): Likewise.
3421 * monitor.c (monitor_wait, monitor_resume): Likewise.
3422 * ocd.c, ocd.h (ocd_thread_alive, ocd_resume): Likewise.
3423 * ppc-bdm.c (bdm_ppc_wait): Likewise.
3424 * procfs.c (do_attach, procfs_wait, procfs_resume)
3425 (procfs_notice_signals, procfs_thread_alive, procfs_pid_to_str)
3426 (procfs_set_watchpoint, procfs_stopped_by_watchpoint)
3427 (procfs_find_LDT_entry): Likewise.
3428 * regcache.c (read_register_pid, read_signed_register_pid)
3429 (write_register_pid, generic_target_read_pc, read_pc_pid)
3430 (generic_target_write_pc, write_pc_pid): Likewise.
3431 * regcache.h (read_register_pid, read_signed_register_pid)
3432 (write_register_pid): Likewise.
3433 * remote-adapt.c (adapt_wait, adapt_resume): Likewise.
3434 * remote-array.c (array_wait, array_resume): Likewise.
3435 * remote-bug.c (bug_wait, bug_resume): Likewise.
3436 * remote-e7000.c (e7000_wait, e7000_resume): Likewise.
3437 * remote-eb.c (eb_wait, eb_resume): Likewise.
3438 * remote-es.c (es1800_wait, es1800_resume): Likewise.
3439 * remote-mips.c (mips_wait, mips_resume): Likewise.
3440 * remote-mm.c (mm_wait, mm_resume): Likewise.
3441 * remote-nindy.c (nindy_wait, nindy_resume): Likewise.
3442 * remote-os9k.c (rombug_wait, rombug_resume): Likewise.
3443 * remote-rdi.c (arm_rdi_wait, arm_rdi_resume): Likewise.
3444 * remote-rdp.c (remote_rdp_resume, remote_rdp_wait): Likewise.
3445 * remote-sds.c (sds_wait, sds_resume): Likewise.
3446 * remote-sim.c (gdbsim_wait, gdbsim_resume): Likewise.
3447 * remote-st.c (st2000_wait, st2000_resume): Likewise.
3448 * remote-udi.c (udi_wait, udi_resume): Likewise.
3449 * remote-vx.c (vx_wait, vx_resume): Likewise.
3450 * remote.c (remote_current_thread, remote_resume, remote_wait)
3451 (remote_async_resume, remote_async_wait, remote_cisco_wait)
3452 (remote_thread_alive): Likewise.
3453 * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_resume)
3454 (sol_thread_wait, sol_thread_notice_signals, sol_thread_alive)
3455 (solaris_pid_to_str): Likewise.
3456 * symm-nat.c (child_wait, child_resume): Likewise.
3457 * target.c (debug_to_resume, debug_to_wait, debug_to_post_wait)
3458 (debug_to_notice_signals, debug_to_thread_alive)
3459 (normal_target_post_startup_inferior, normal_pid_to_str)
3460 (debug_to_post_startup_inferior): Likewise.
3461 * target.h (to_resume, to_wait, to_post_wait)
3462 (to_post_startup_inferior, to_notice_signals, to_thread_alive)
3463 (to_pid_to_str [all in struct target_ops]): Likewise.
3464 (child_post_wait, child_thread_alive, normal_pid_to_str): Likewise.
3465 * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait)
3466 (attach_thread, detach_thread, thread_db_resume, check_event)
3467 (thread_db_post_startup_inferior, thread_db_thread_alive)
3468 (thread_db_pid_to_str): Likewise.
3469 * thread.c (add_thread, delete_thread, find_thread_pid)
3470 (pid_to_thread_id, in_thread_list, load_infrun_state)
3471 (save_infrun_state, switch_to_thread, restore_current_thread)
3472 (make_cleanup_restore_current_thread): Likewise.
3473 * top.c (target_wait_hook): Likewise.
3474 * uw-thread.c (dbgpid, thr_to_lwp, lwp_to_thr, add_thread_uw)
3475 (uw_thread_resume, libtrhead_stub, uw_thread_wait, uw_thread_alive)
3476 (uw_thread_pid_to_str): Likewise.
3477 * v850ice.c (v850ice_wait, v850ice_resume): Likewise.
3478 * win32-nat.c (child_wait, child_resume, win32_child_thread_alive)
3479 (cywin_pid_to_str): Likewise.
3480 * wince.c (child_wait, child_resume, win32_child_thread_alive):
3481 Likewise.
3482 * config/nm-linux.h (linuxthreads_pid_to_str): Likewise.
3483 * config/nm-lynx.h (child_wait, lynx_pid_to_str): Likewise.
3484 * config/alpha/nm-linux.h (lin_lwp_attach_lwp): Likewise.
3485 * config/arm/nm-linux.h (lin_lwp_attach_lwp): Likewise.
3486 * config/h8500/tm-h8500.h (h8500_read_pc, h8500_write_pc): Likewise.
3487 * config/i386/nm-i386sol2.h (procfs_stopped_by_watchpoint)
3488 (procfs_set_watchpoint): Likewise.
3489 * config/i386/nm-linux.h (lin_lwp_attach_lwp): Likewise.
3490 * config/i386/nm-ptx4.h (child_wait): Likewise.
3491 * config/i386/nm-symmetry.h (child_wait): Likewise.
3492 * config/i386/tm-cygwin.h (cygwin_pid_to_str): Likewise.
3493 * config/ia64/nm-linux.h (ia64_linux_stopped_by_watchpoint)
3494 (ia64_linux_insert_watchpoint, ia64_linux_remove_watchpoint)
3495 (lin_lwp_attach_lwp): Likewise.
3496 * config/mips/nm-irix4.h, config/mips/nm-irix5.h
3497 (procfs_stopped_by_watchpoint, procfs_set_watchpoint): Likewise.
3498 * config/pa/nm-hppah.h (child_pid_to_str, hppa_tid_to_str)
3499 (hppa_pid_or_tid_to_str): Likewise.
3500 * config/pa/tm-hppa.h (target_read_pc, target_write_pc): Likewise.
3501 * config/powerpc/nm-linux.h (lin_lwp_attach_lwp): Likewise.
3502 * config/sparc/nm-sun4sol2.h (procfs_stopped_by_watchpoint)
3503 (procfs_set_watchpoint): Likewise.
3504
3505 * gdbthread.h (thread_id_to_pid): Change return type which
3506 represents a combined process/thread id from ``int'' to
3507 ``ptid_t''.
3508 * gnu-nat.c (gnu_wait): Likewise.
3509 * go32-nat.c (go32_wait): Likewise.
3510 * hpux-thread.c (hpux_thread_wait): Likewise.
3511 * inferior.h (procfs_first_available): Likewise.
3512 * inftarg.c (child_wait): Likewise.
3513 * infttrace.c (ptrace_wait): Likewise.
3514 * lin-lwp.c (lin_lwp_wait): Likewise.
3515 * lin-thread.c (thread_db_wait): Likewise.
3516 * linux-thread.c (linuxthreads_wait): Likewise.
3517 * lynx-nat.c (child_wait): Likewise.
3518 * m3-nat.c (mach_really_wait): Likewise.
3519 * mac-nat.c (child_wait): Likewise.
3520 * monitor.c (monitor_wait): Likewise.
3521 * ppc-bdm.c (bdm_ppc_wait): Likewise.
3522 * procfs.c (do_attach, procfs_wait, procfs_first_available): Likewise.
3523 * remote-adapt.c (adapt_wait): Likewise.
3524 * remote-array.c (array_wait): Likewise.
3525 * remote-bug.c (bug_wait): Likewise.
3526 * remote-e7000.c (e7000_wait): Likewise.
3527 * remote-eb.c (eb_wait): Likewise.
3528 * remote-es.c (es1800_wait): Likewise.
3529 * remote-mips.c (mips_wait): Likewise.
3530 * remote-mm.c (mm_wait): Likewise.
3531 * remote-nindy.c (nindy_wait): Likewise.
3532 * remote-os9k (rombug_wait): Likewise.
3533 * remote-rdi.c (arm_rdi_wait): Likewise.
3534 * remote-rdp.c (remote_rdp_wait): Likewise.
3535 * remote-sds.c (sds_wait): Likewise.
3536 * remote-sim.c (gdbsim_wait): Likewise.
3537 * remote-st.c (st2000_wait): Likewise.
3538 * remote-udi.c (udi_wait): Likewise.
3539 * remote-vx.c (vx_wait): Likewise.
3540 * remote.c (remote_wait, remote_async_wait, remote_current_thread)
3541 (remote_cisco_wait): Likewise.
3542 * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_wait):
3543 Likewise.
3544 * symm-nat.c (child_wait): Likewise.
3545 * target.c (debug_to_wait): Likewise.
3546 * target.h (to_wait [in struct target_ops]): Likewise.
3547 * thread.c (thread_id_to_pid): Likewise.
3548 * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait):
3549 Likewise.
3550 * top.c (*target_wait_hook): Likewise.
3551 * uw-thread.c (lwp_to_thr, uw_thread_wait): Likewise.
3552 * v850ice.c (v850ice_wait): Likewise.
3553 * win32-nat.c (child_wait): Likewise.
3554 * wince.c (child_wait): Likewise.
3555 * config/nm-lynx.h (child_wait): Likewise.
3556 * config/i386/nm-ptx4.h (child_wait): Likewise.
3557 * config/i386/nm-symmetry.h (child_wait): Likewise.
3558
3559 * arch-utils.c (generic_prepare_to_proceed): Rename wait_pid
3560 to wait_ptid and change its type from ``int'' to ``ptid_t''.
3561 * breakpoint.c (reattach_breakpoints, detach_breakpoints): Likewise,
3562 but rename saved_inferior_pid to saved_inferior_ptid.
3563 * d10v-tdep.c (d10v_read_pc, d10_write_pc): Likewise, but rename
3564 save_pid to save_ptid.
3565 * gdbthread.h (struct thread_info): Likewise, but rename pid to ptid.
3566 * hppah-nat.c (child_pid_to_exec): Likewise, but rename
3567 saved_inferior_pid to saved_inferior_ptid.
3568 * hpux-thread.c (main_ptid): Likewise, but rename from main_pid.
3569 * infrun.c (previous_inferior_pid [static global]): Likewise,
3570 but rename to previous_inferior_ptid.
3571 (resume): Likewise, but rename resume_pid to resume_ptid.
3572 (struct execution_control_state): Likewise, but rename
3573 pid to ptid, saved_inferior_pid to saved_inferior_ptid,
3574 and waiton_pid to waiton_ptid.
3575 (target_last_wait_pid): Likewise, but rename to
3576 target_last_wait_ptid.
3577 * infttrace.c (saved_real_pid): Likewise, but rename to
3578 saved_real_ptid.
3579 (child_pid_to_exec_file): Likewise, but rename saved_inferior_pid
3580 to saved_inferior_ptid.
3581 * lin-lwp.c (struct lwp_info): Likewise, but rename pid to ptid.
3582 (trap_ptid): Likewise, but renamed from trap_pid.
3583 * lin-thread.c (handle_new_thread): Likewise, but rename gdb_pid
3584 to gdb_ptid.
3585 * linux-thread.c (detach_thread): Likewise, but rename pid to ptid.
3586 (thread_db_wait): Likewise, but rename ret_pid to retptid.
3587 * procfs.c (procfs_wait): Likewise, for retval whose name
3588 doesn't change. Also, ``temp'' becomes two separate variables,
3589 one named temp_tid (an int) and the other temp_ptid.
3590 (procfs_notice_thread): Likewise (type change) for gdb_threadid
3591 whose name does not change.
3592 * regcache.c (registers_ptid): Likewise, but renamed from
3593 registers_pid.
3594 (read_register_pid, read_signed_register_pid, write_register_pid):
3595 Likewise, but rename save_pid to save_ptid.
3596 (read_pc_pid, write_pc_pid): Likewise, but rename saved_inferior_pid
3597 to saved_inferior_ptid.
3598 * remote.c (remote_newthread_step): Likewise, but rename pid to ptid.
3599 * sol-thread.c (struct ps_prochandle): Likewise.
3600 (sol_thread_resume): Likewise, for save_pid which becomes save_ptid.
3601 (sol_thread_wait): Likewise, for rtnval whose name does not
3602 change, and for save_pid which becomes save_ptid.
3603 (solaris_pid_to_str): Likewise for lwp whose name does not change.
3604 (sol_find_new_threads_callback): Likewise, for pid which becomes
3605 ptid.
3606 * target.h (target_resume, target_wait, target_post_wait)
3607 (target_post_startup_inferior, target_notice_signals)
3608 (target_thread_alive): Likewise.
3609 * thread.c (info_threads_command): Likewise, but rename
3610 current_pid to current_ptid.
3611 (struct current_thread_cleanup): Likewise, but rename field
3612 inferior_pid to inferior_ptid.
3613 * thread-db.c (find_new_threads_callback): Likewise, but rename
3614 pid to ptid.
3615 * uw-thread.c (thr_to_lwp): Likewise for lid whose name does not
3616 change.
3617 (lwp_to_tr): Likewise fo tid whose name remains unchanged.
3618 (thr_infpid, lwp_infpid, notice_thread, libthread_stub): Likewise,
3619 but rename pid to ptid.
3620 * config/alpha/nm-linux.h (ATTACH_LWP): Likewise.
3621 * config/arm/nm-linux.h (ATTACH_LWP): Likewise.
3622 * config/i386/nm-linux.h (ATTACH_LWP): Likewise.
3623 * config/ia64/nm-linux.h (ATTACH_LWP): Likewise.
3624 * config/pa/nm-hppah.h (target_tid_to_str): Likewise.
3625 * config/powerpc/nm-linux.h (ATTACH_LWP): Likewise.
3626
3627 * arch-utils.c (generic_prepare_to_proceed): Test for the
3628 "zero" ptid by using ptid_equal() to test to see if variable
3629 in question is the same as null_ptid. This replaces a direct
3630 test against zero.
3631 * cxux-nat.c (add_shared_symbol_files): Likewise.
3632 * i386aix-nat.c, i386b-nat.c (i386_float_info): Likewise.
3633 * infcmd.c (run_command): Likewise.
3634 * inflow.c (kill_command): Likewise.
3635 * infttrace.c (call_ttrace): Likewise.
3636 * lin-lwp.c (lin_lwp_prepare_to_proceed): Likewise.
3637 * lin-thread.c (thread_db_kill): Likewise.
3638 * procfs.c (procfs_kill_inferior, procfs_mourn_inferior): Likewise.
3639 * remote-es.c (es1800_kill): Likewise.
3640 * sol-thread.c (sol_thread_create_inferior): Likewise.
3641 * solib.c (locate_base): Likewise.
3642 * target.c (nosupport_runtime): Likewise.
3643 * thread-db.c (thread_db_wait): Likewise.
3644 * top.c (quit_confirm, quit_force): Likewise.
3645 * uw-thread (lwp_infpid, uw_thread_resume): Likewise.
3646
3647 * infrun.c (handle_inferior_event, stop_stepping, normal_stop):
3648 Use ptid_equal to compare value of process/thread ids instead of
3649 ``=='' and ``!='' operators.
3650 lin-lwp.c (delete_lwp, lin_lwp_prepare_to_proceed)
3651 (stop_wait_callback, lin_lwp_wait): Likewise.
3652 * procfs.c (procfs_wait): Likewise.
3653 * regcache.c (read_register_bytes, read_register_gen)
3654 (write_register_gen, read_register, read_register_pid)
3655 (read_signed_register, read_signed_register_pid, write_register)
3656 (write_register_pid, supply_register): Likewise.
3657 * remote-vx.c (vx_resume): Likewise.
3658 * sol-thread.c (sol_thread_wait): Likewise.
3659 * symm-nat.c (kill_inferior): Likewise.
3660 * thread.c (delete_thread, find_thread_pid, pid_to_thread_id)
3661 (in_thread_list, info_threads_command, switch_to_thread)
3662 (restore_current_thread): Likewise.
3663 * uw-thread (libtread_stub): Likewise.
3664
3665 * arm-linux-nat.c (GET_THREAD_ID): Change PID to PTID.
3666
3667 * corelow.c (add_to_thread_list): Convert argument in add_thread()
3668 call to a ptid_t.
3669 * gnu-nat.c (inf_validate_procs): Likewise.
3670 * linux-thread.c (stop_thread, update_stop_threads): Likewise.
3671 * remote.c (record_currthread, remote_threads_info): Likewise.
3672 * win32-nat.c (child_add_thread): Likewise.
3673
3674 * hpux-thread.c (save_inferior_pid, restore_inferior_pid): Rename,
3675 respectively, to save_inferior_ptid() and restore_inferior_ptid().
3676 Adjust implementations to operate on ``ptid_t'' instead of ``int''.
3677 * lin-lwp.c (save_inferior_pid, restore_inferior_pid): Likewise.
3678 * lin-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
3679 * linux-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
3680 * proc-service.c (save_inferior_pid, restore_inferior_pid): Likewise.
3681 * sol-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
3682 * thread-db.c (save_inferior_pid, restore_inferior_pid): Likewise.
3683
3684 * infrun.c (RESUME_ALL): New macro representing the -1 ptid
3685 to be passed to target_resume() when all threads should resume.
3686 (resume): Set resume_ptid to RESUME_ALL rather than -1.
3687 (handle_inferior_event): Invoke target_resume() with RESUME_ALL
3688 instead of -1.
3689 * irix5-nat.c (solib_create_inferior_hook): Convert -1 to
3690 a ptid_t in target_resume() call.
3691 * osfsolib.c (solib_create_inferior_hook): Likewise.
3692 * solib-svr4.c (solib_create_inferior_hook): Likewise.
3693
3694 * lin-lwp.c (PIDGET, PIDGET0): Rename original PIDGET macro to
3695 PIDGET0. Define new PIDGET macro which uses PIDGET0, the only
3696 difference being that the 0xffff pattern will be interpreted
3697 as -1.
3698 * lin-thread.c (PIDGET, PIDGET0): Likewise.
3699 * thread-db.c (PIDGET, PIDGET0): Likewise.
3700 * config/nm-linux.h (PIDGET, PIDGET0): Likewise.
3701 * config/i386/tm-i386sol2.h (PIDGET, PIDGET0): Likewise.
3702 * config/i386/tm-i386v42mp.h (PIDGET, PIDGET0): Likewise.
3703 * config/sparc/tm-sun4sol2.h (PIDGET, PIDGET0): Likewise.
3704
3705 * m3-nat.c (init_m3_ops): Fix typo; initialize to_wait field to
3706 mach_really_wait rather than mach_really__wait.
3707 * lin-thread.c (check_for_thread_event): Fix warning; make function
3708 actually return a value.
3709
3710 * gdbarch.sh (TARGET_READ_PC, TARGET_WRITE_PC): Change type of
3711 ``pid'' arguments from ``int'' to ``ptid_t''. Also renamed
3712 pid to ptid.
3713 * gdbarch.h, gdbarch.c: Regenerated.
3714
31e28849
JL
37152001-05-03 Jonathan Larmour <jlarmour@redhat.com>
3716
3717 * rdi-share/devsw.c: Include <time.h> for struct tm
3718
8d341142
EZ
37192001-05-03 Eli Zaretskii <eliz@is.elta.co.il>
3720
3721 * config/djgpp/fnchange.lst: Add mappings for the new
3722 opcodes/openrisc-* files.
3723
9572d2b6
MS
37242001-05-01 Michael Snyder <msnyder@redhat.com>
3725
9085700c 3726 * lin-lwp.c: Change printf to fprintf_unfiltered.
9572d2b6
MS
3727 * Makefile.in: Add rules for thread-db.o, lin-lwp.o, proc-service.o.
3728
977adac5
ND
37292001-05-01 Nicholas Duffek <nsd@redhat.com>
3730
3731 * config/rs6000/tm-rs6000.h (IN_SOLIB_RETURN_TRAMPOLINE): Define.
3732 (rs6000_in_solib_return_trampoline): Declare.
3733 * rs6000-tdep.c (rs6000_in_solib_return_trampoline): New
3734 function.
3735 (rs6000_skip_trampoline_code): Skip bigtoc fixup code.
3736 * xcoffread.c (read_xcoff_symtab): Perform the ISFCN function
3737 check after the CSECT check rather than before it. Allocate
3738 separate symtabs for CSECTs whose names begin with '@'.
3739 (scan_xcoff_symtab): Don't ignore symbols beginning with '@'.
3740 Activate the misc_func_recorded mechanism for whose names begin
3741 with '@'.
3742
6d799331
C
37432001-04-30 J.T. Conklin <jtc@redback.com>
3744
3745 * ppcnbsd-nat.c (fetch_inferior_registers)
3746 (store_inferior_registers, fetch_core_registers): Changed to use
3747 fpreg[] instead of r_regs[] to access floating point registers.
3748
7f4dbe94
EZ
37492001-04-30 Elena Zannoni <ezannoni@redhat.com>
3750
3751 * sh-tdep.c: Get rid of the function prototypes.
3752 (sh_sh4_build_float_register_type): Move earlier in file.
3753 (fv_reg_base_num): Ditto.
3754 (dr_reg_base_num): Ditto.
3755
540af400
MS
37562001-04-30 Michael Snyder <msnyder@redhat.com>
3757
3758 * thread-db.c: Revert 2001-04-26 change for debugging output.
7ca673cd
MS
3759 * lin-lwp.c: Ditto.
3760 * lin-lwp.c: Add set/show debug lin-lwp command. Use this
3761 command to turn extra debugging output on / off.
540af400 3762
f5a6fc05
EZ
37632001-04-30 Eli Zaretskii <eliz@is.elta.co.il>
3764
3765 * buildsym.c (start_subfile): Use FILENAME_CMP instead of STREQ.
3766 (top-level): #include filenames.h.
3767
3768 * dwarf2read.c (dwarf2_start_subfile): Use IS_ABSOLUTE_PATH and
3769 FILENAME_CMP, to DTRT on non-Posix platforms.
3770 (top-level): #include filenames.h.
3771
3772
502dcf4e
AC
37732001-04-27 Andrew Cagney <ac131313@redhat.com>
3774
3775 * gdbtypes.c (check_stub_method): Always initialize ``p''.
3776
cc3f9cbb
AC
37772001-04-27 Andrew Cagney <ac131313@redhat.com>
3778
3779 * configure.host: Delete romp host.
3780 * TODO: Update.
3781
ed9c5cf2
AC
37822001-04-27 Andrew Cagney <ac131313@redhat.com>
3783
3784 * TODO: Updates to 5.1. No more targets to obsolete.
3785
d1a310e7
DH
37862001-04-27 Don Howard <dhoward@redhat.com>
3787
128437e6
DH
3788 (Changes from Kevin Buettner, with minor update by Don Howard.)
3789
3790 * i387-nat.c (i387_supply_fxsave, i387_fill_fxsave, i387_tag): Fix
3791 typos in which hexadecimal constants were really intended to be
3792 binary constants.
3793 (i387_tag): Swap logic regarding zero vs non-zero exponents.
d1a310e7
DH
3794 * MAINTAINERS (Misc): Added myself to the write-after-approval
3795 list.
3796
015a42b4
JB
37972001-04-26 Jim Blandy <jimb@redhat.com>
3798
3799 (Changes from Daniel Berlin, with revisions by Jim Blandy.)
3800
3801 Abstract out operations specific to particular C++ ABI's, and
3802 invoke them through a function table. This removes the C++ ABI
3803 dependencies scattered throughout the code, and allows us to
3804 cleanly add support for new C++ ABI's.
3805 * cp-abi.h, cp-abi.h, gnu-v2-abi.c, hpacc-abi.c: New files.
3806 * c-typeprint.c, c-valprint.c, dbxread.c, eval.c, gdbtypes.c,
3807 jv-typeprint.c, linespec.c, symtab.c, typeprint.c, valops.c:
3808 #include "cp-abi.h". These files all use functions now declared
3809 there.
3810 * symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P):
3811 Deleted. These services are now provided by functions declared in
3812 cp-abi.h.
3813 * value.h (value_rtti_type, value_virtual_fn_field): Same.
3814 * values.c (value_virtual_fn_field): Same, for this definition.
3815 * valops.c (value_rtti_type): Same.
3816 * c-typeprint.c (c_type_print_base): Use the functions from
3817 "cp-abi.h", instead of the old macros, or hard-coded ABI-specific
3818 tests.
3819 * dbxread.c (record_minimal_symbol): Same.
3820 * gdbtypes.c (get_destructor_fn_field, virtual_base_index,
3821 virtual_base_index_skip_primaries): Same.
3822 * jv-typeprint.c (java_type_print_base): Same.
3823 * linespec.c (find_methods, decode_line_1): Same.
3824 * symtab.c (gdb_mangle_name): Same.
3825 * Makefile.in (SFILES): Add the new .c files mentioned above.
3826 (cp_abi_h): New variable.
3827 (COMMON_OBS): Add gnu-v2-abi.o, hpacc-abi.o, and cp-abi.o.
3828 (cp-abi.o, gnu-v2-abi.o, hpacc-abi.o): New targets.
3829 (c-typeprint.o, c-valprint.o, dbxread.o, eval.o, gdbtypes.o,
3830 jv-typeprint.o, symtab.o, linespec.o, typeprint.o, valops.o): Add
3831 dependency on $(cp_abi_h).
3832
f3fb8c85
MS
38332001-04-26 Michael Snyder <msnyder@redhat.com>
3834
20b8570d
MS
3835 * thread-db.c (_initialize_thread_db): Add set/show command
3836 "debug-linux-threads" for debugging output.
3837 * lin-lwp.c (various): Use global "debug_linux_threads to
3838 turn on extra debugging output.
4c8de859 3839 * lin-lwp.c: Minor cleanups in comments.
f3fb8c85
MS
3840 * target.c (normal_pid_to_str): Get rid of an ancient hack.
3841 * remote.c (remote_pid_to_str): New function for remote target.
3842
7f0b5c30
JB
38432001-04-24 Jim Blandy <jimb@redhat.com>
3844
3845 * c-typeprint.c (c_type_print_cv_qualifier): Don't print `const'
3846 qualifier on C++ references; all references are innately const.
3847
0af5533d
MK
38482001-04-20 Mark Kettenis <kettenis@gnu.org>
3849
3850 * event-top.h: Fix formatting.
3851
d036b4d9
AC
38522001-04-17 Andrew Cagney <ac131313@redhat.com>
3853
3854 * source.c (openp): Obsolete #ifdef MPW code.
3855 (open_source_file): Ditto.
3856 * event-top.c (display_gdb_prompt): Ditto.
3857 * utils.c (query): Ditto.
3858 (init_page_info): Ditto.
3859 (init_page_info): Delete #ifndef MPW.
3860 * top.c (gdb_readline): Ditto.
3861 * mac-xdep.c: Obsolete.
3862 * mac-gdb.r: Obsolete.
3863 * config/powerpc/xm-mpw.h: Obsolete.
3864 * config/xm-mpw.h: Obsolete.
3865 * mpw-make.sed: Obsolete.
3866 * mpw-config.in: Obsolete.
3867 * TODO: Update
3868 * NEWS: Update
3869
539ffe0b
MK
38702001-04-19 Mark Kettenis <kettenis@gnu.org>
3871
3872 * i386-tdep.c (i386_frameless_function_invocation): New function.
3873 * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION): Redefine
3874 in terms of i386_frameless_function_invocation. Adjust comment.
3875 (i386_frameless_function_invocation): New prototype.
3876
67e1e03a
MH
38772001-04-18 Martin M. Hunt <hunt@redhat.com>
3878
3879 * top.c (gdb_init): Don't call cli_out_new() to
3880 create global uiout if init_ui_hook is set. uiout will
3881 have to be initialized there.
3882
fbec36e2
AC
38832001-04-18 Andrew Cagney <ac131313@redhat.com>
3884
3885 * arch-utils.c: Include "regcache.h".
3886
ed84f6c1
MK
38872001-04-18 Mark Kettenis <kettenis@gnu.org>
3888
3889 * i386-tdep.c (i386_saved_pc_after_call): New function.
3890 * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Redefine in terms
3891 of i386_saved_pc_after_call.
3892 (i386_saved_pc_after_call): New prototype.
3893
c60a7562
MS
38942001-04-17 Michael Snyder <msnyder@redhat.com>
3895
c9e030cf 3896 * i386-nat.c: Fix typo in comment.
c60a7562
MS
3897 * solib.c (no_shared_libraries): New function. Discard all symbols
3898 from shared libraries.
3899 (_initialize_solib): Add command "nosharedlibrary" as complement
3900 to the command "sharedlibrary". Unloads symbols for all solibs.
3901
514e603d
AC
39022001-04-16 Andrew Cagney <ac131313@redhat.com>
3903
3904 * configure.host (m68030-sony-*, m68*-isi-*, m68*-sony-*):
3905 * configure.tgt (m68*-rom68k-*, m68*-*bug-*, m68*-monitor-*)
3906 (m68*-est-*, m68*-sony-*, m68*-isi-*):
3907 * Makefile.in (xm-news1000.h, tm-news.h, xm-news.h): Obsolete..
3908 * config/m68k/xm-news.h: Obsolete.
3909 * config/m68k/tm-news.h:
3910 * config/m68k/xm-news1000.h: Obsolete.
3911 * config/m68k/news.mh: Obsolete.
3912 * config/m68k/news.mt: Obsolete.
3913 * config/m68k/nm-news.h: Obsolete.
3914 * config/m68k/news1000.mh: Obsolete.
3915 * news-xdep.c: Obsolete.
3916 * Makefile.in (isi-xdep.o): Obsolete.
3917 (ALLDEPFILES): Delete isi-xdep.c.
3918 (tm-isi.h): Obsolete.
3919 * m68k-tdep.c (altos_skip_prologue): Update comments.
3920 (isi_skip_prologue): Obsolete.
3921 * isi-xdep.c: Obsolete.
3922 * config/m68k/xm-isi.h: Obsolete.
3923 * config/m68k/isi.mh: Obsolete.
3924 * config/m68k/tm-isi.h: Obsolete.
3925 * config/m68k/isi.mt: Obsolete.
3926
3927 * TODO: Update.
3928 * NEWS: Update.
3929
6240bebf
MS
39302001-04-17 Michael Snyder <msnyder@redhat.com>
3931
3932 * remote.c (remote_open_1): On opening the remote target, activate
3933 the solib_create_inferior_hook, so that it can detect when the
3934 target loads shared libraries.
3935 (remote_async_open_1): Ditto.
3936
75ac9d7b
MS
39372001-04-17 Michael Snyder <msnyder@redhat.com>
3938
3939 * breakpoint.c (print_one_breakpoint): Handle 64-bit addresses.
3940 * tracepoint.c (tracepoints_info): Handle 64-bit addresses.
3941 * testsuite/gdb.trace/deltrace.exp: Allow for 64-bit addresses.
3942 * testsuite/gdb.trace/infotrace.exp: Ditto.
3943 * testsuite/gdb.trace/passcount.exp: Ditto.
3944 * testsuite/gdb.trace/while-stepping.exp: Ditto.
3945
b9569773
MS
39462001-04-17 Michael Snyder <msnyder@redhat.com>
3947
3948 * thread-db.c (check_thread_signals): When looping over all
3949 signals, ignore signal zero.
3950 (disable_thread_signals): Ditto.
3951
81490ea1
MS
39522001-04-17 Eirik Fuller <eirik@netapp.com>
3953
3954 * thread.c (do_captured_thread_select): Allow the argument to the
3955 thread command to be an expression rather than a literal integer.
3956
e5434c3d
MK
39572001-04-17 Mark Kettenis <kettenis@gnu.org>
3958
3959 * i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
3960 read_memory_unsigned_integer instead of read_memory_integer.
3961
00c7912d
KB
39622001-04-16 Kevin Buettner <kevinb@redhat.com>
3963
3964 * solib-aix5.c (map_index_vs_section_name_okay): New function.
3965 (aix5_relocate_main_executable): Don't use file offsets for
3966 determining corresponding sections and map file entries. Call
3967 map_index_vs_section_name_okay() to do this instead.
3968
4d1bcd09
KB
39692001-04-16 Kevin Buettner <kevinb@redhat.com>
3970
3971 * procfs.c (open_with_retry): New function.
3972 (open_procinfo_files, load_syscalls, proc_iterate_over_mappings)
3973 (proc_get_LDT_entry): Call open_with_retry() instead of open().
3974
097e5c0b 39752001-04-16 Kevin Buettner <kevinb@redhat.com>
1186f287
KB
3976
3977 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Adjust
3978 comparison against TRAP_HWBKPT constant yet again to account
3979 for the various values used by different kernel versions.
3980
9e0c176c
DB
39812001-04-16 Daniel Berlin <dan@cgsoftware.com>
3982
3983 * demangle.c (_initialize_demangler): Use xcalloc on the
3984 demangling_style_names, and make it a null terminated array of
3985 names, to avoid a crash.
3986
c833a37e
MK
39872001-04-16 Mark Kettenis <kettenis@gnu.org>
3988
3989 * i386-tdep.c (i386_frame_chain): New function.
3990 * config/i386/tm-i386.h (FRAME_CHAIN): Redefine in terms of
3991 i386_frame_chain.
3992 (i386_frame_chain): New prototype.
3993
46c6cdcf
C
39942001-04-14 J.T. Conklin <jtc@redback.com>
3995
3996 * target.h (target_ops): Removed to_core_file_to_sym_file vector
3997 function.
3998 * corelow.c (core_ops): Updated for above change.
3999 * gnu-nat.c (core_ops): Likewise.
4000 * inftarg.c (child_ops): Likewise.
4001 * monitor.c (monitor_ops): Likewise.
4002 * ppc-bdm.c (bdm_ppc_ops): Likewise.
4003 * remote-adapt.c (adapt_ops): Likewise.
4004 * remote-bug.c (bug_ops): Likewise.
4005 * remote-e7000.c (e7000_ops): Likewise.
4006 * remote-eb.c (eb_ops): Likewise.
4007 * remote-es.c (es1800_ops, es1800_child_ops): Likewise.
4008 * remote-mm.c (mm_ops): Likewise.
4009 * remote-nindy.c (nindy_ops): Likewise.
4010 * remote-nrom.c (nrom_ops): Likewise.
4011 * remote-os9k.c (rombug_ops): Likewise.
4012 * remote-rdp.c (remote_rdp_ops): Likewise.
4013 * remote-sim.c (gdbsim_ops): Likewise.
4014 * remote-st.c (st2000_ops): Likewise.
4015 * v850ice.c (v850ice_ops): Likewise.
4016 * target.c (cleanup_target): Likewise
4017 (update_current_target): Likewise.
4018 (setup_target_debug): Likewise
4019 (debug_to_core_file_to_sym_file): Removed.
4020
4021 * corefile.c (core_file_command) [HPUXHPPA]: Removed code that
4022 sets symbol file from information obtained from the core file.
4023 * corelow.c (core_file_to_sym_file): Removed.
4024
d1566ff5
FN
40252001-04-13 Fernando Nasser <fnasser@redhat.com>
4026
4027 From Adam Mirowski <Adam.Mirowski@Sun.COM>
4028 Fixed Insight on Solaris. It was not possible to debug a process
4029 because of EINTR "errors".
4030 * procfs.c: (procfs_wait): if proc_wait_for_stop() fails
4031 with EINTR, retry the call.
4032
6c98e688
KB
40332001-04-12 Kevin Buettner <kevinb@redhat.com>
4034
4035 * solib-aix5.c (enum maptype): Delete.
4036 (struct lm_info): Add new member ``nmappings''. Make ``mapping''
4037 member a pointer instead of a statically sized array.
4038 (build_so_list_from_mapfile): Dynamically allocate ``mapping''
4039 array.
4040 (aix5_relocate_main_executable, aix5_relocate_section_addresses,
4041 aix5_find_global_pointer): Search for correct mapping to use
4042 based on file offset instead of knowledge of whether the section
4043 is read-only or read/write.
4044 (aix5_find_gate_addresses): Use the first mapping instead of
4045 the (now defunct) MT_READONLY mapping.
4046
49282387
ND
40472001-04-12 Nicholas Duffek <nsd@redhat.com>
4048
4049 * xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
4050 "@".
4051
7f6b83a5
KB
40522001-04-12 Kevin Buettner <kevinb@redhat.com>
4053
4054 * config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.
4055
24f89b68
AC
40562001-04-09 Andrew Cagney <ac131313@redhat.com>
4057
4058 Obsolete i[3456]86-*-sunos* (aka Sun386) host and target.
4059 * config/i386/sun386.mh: Obsolete.
4060 * config/i386/sun386.mt: Obsolete.
4061 * config/i386/xm-sun386.h: Obsolete.
4062 * config/i386/tm-sun386.h: Obsolete.
4063 * config/i386/nm-sun386.h: Obsolete.
4064 * Makefile.in (ALLDEPFILES): Delete sun386-nat.c.
4065 (sun386-nat.o): Target is obsolete.
4066 * sun386-nat.c: Obsolete.
4067 * configure.tgt (i[3456]86-*-sunos*): Obsolete.
4068 * configure.host (i[3456]86-*-sunos*): Obsolete.
4069 * NEWS: Update.
4070 * TODO: Update.
4071
c114dcd5
C
40722001-04-10 J.T. Conklin <jtc@redback.com>
4073
4074 * maint.c: Fix typo in comment.
4075
6755f5ad
KS
40762001-04-09 Keith Seitz <keiths@cygnus.com>
4077
4078 * MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.
4079
7700434b
KB
40802001-04-08 Kevin Buettner <kevinb@redhat.com>
4081
4082 * fork-child.c (fork_inferior, clone_and_follow_inferior):
4083 Document fact that apparent call to vfork() might actually be
4084 a call to fork() instead.
4085 * ser-pipe.c (pipe_open): Likewise.
4086
d493eb33
KB
40872001-04-08 Kevin Buettner <kevinb@redhat.com>
4088
4089 * printcmd.c (print_frame_args): Use a cleanup to invoke
4090 ui_out_list_end() so that the list count nesting flag will
4091 be decremented properly when an error occurs.
4092 * stack.c (print_frame): Likewise.
4093
af471f3c
C
40942001-04-06 J.T. Conklin <jtc@redback.com>
4095
c839c4db
C
4096 * dcache.c (dcache_write_line): Fixed bugs where cache line was
4097 not written to target correctly.
4098
af471f3c
C
4099 * gdbserver/low-hppabsd.c (read_inferior_memory): Add explicit
4100 void return value;
4101 * gdbserver/low-nbsd.c: Likewise.
4102 * gdbserver/low-sparc.c: Likewise.
4103 * gdbserver/low-sun3.c: Likewise.
4104
d8e275b4
GK
41052001-04-06 Geoffrey Keating <geoffk@redhat.com>
4106
4107 * config/rs6000/nm-rs6000.h (PTRACE_ATTACH): Don't define.
4108 (PTRACE_DETACH): Don't define.
4109
e02bc4cc
DS
41102001-04-06 David Smith <dsmith@redhat.com>
4111
4112 * arch-utils.c (default_prepare_to_proceed)
4113 (generic_prepare_to_proceed): Added new functions.
4114 * arch-utils.h: New function declarations for
4115 default_prepare_to_proceed() and generic_prepare_to_proceed().
4116 * gdbarch.sh: Added PREPARE_TO_PROCEED.
4117 * gdbarch.c: Regenerated.
4118 * gdbarch.h: Regenerated.
4119 * inferior.h: Added get_last_target_status() declaration.
4120 * infrun.c (get_last_target_status): Added new function.
4121 (handle_inferior_event): Saves last pid and waitstatus, which will
4122 get returned by get_last_target_status().
4123
4124 * hppa-tdep.c (prepare_to_proceed): Added comment stating that
4125 prepare_to_proceed() is potentially redundant since
4126 default_prepare_to_proceed() has been added.
4127 * linux-thread.c (prepare_to_proceed): Ditto.
4128 * lin-lwp.c (prepare_to_proceed): Ditto.
4129 * m3-nat.c (prepare_to_proceed): Ditto.
4130
1b2b2c16
AC
41312001-04-05 Andrew Cagney <ac131313@redhat.com>
4132
4133 Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
4134 and powerpc-*-netware* target.
4135 * configure.host (powerpcle-*-cygwin*, powerpcle-*-solaris*):
4136 Obsolete.
4137 * configure.tgt (powerpc-*-netware*, powerpcle-*-cygwin*)
4138 (powerpcle-*-solaris*): Obsolete.
4139 * config/powerpc/tm-cygwin.h: Obsolete.
4140 * config/powerpc/cygwin.mt: Obsolete.
4141 * config/powerpc/xm-cygwin.h: Obsolete.
4142 * config/powerpc/cygwin.mh: Obsolete.
4143 * config/powerpc/nm-solaris.h: Obsolete.
4144 * config/powerpc/xm-solaris.h: Obsolete.
4145 * config/powerpc/tm-solaris.h: Obsolete.
4146 * config/powerpc/solaris.mt: Obsolete.
4147 * config/powerpc/tm-ppc-nw.h: Obsolete.
4148 * config/powerpc/ppc-nw.mt: Obsolete.
4149 * TODO: Update.
4150 * NEWS: Update.
4151
063fd668
FN
41522001-04-06 Fernando Nasser <fnasser@redhat.com>
4153
4154 * buildsym.c (record_line): Turn off unused addr bits.
4155
a250df2e
FN
41562001-04-06 Fernando Nasser <fnasser@redhat.com>
4157
4158 From David Deephanphongs <deephan@telocity.com>
4159 * inferior.h: Fix declarations of get_inferior_args and
4160 set_inferior_args, which were missing the trailing 's'.
4161
1fcef334
JH
41622001-04-05 Jeff Holcomb <jeffh@redhat.com>
4163
4164 * monitor.c (monitor_supply_register): Only report an error if we
4165 don't get a valid value.
4166
f032fb6e
EZ
41672001-04-05 Eli Zaretskii <eliz@is.elta.co.il>
4168
4169 * README: Don't mention gdba.el.
4170
0191bed7
EZ
41712001-04-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4172
4173 From Jimmy Guo <guo@cup.hp.com>
4174 * top.c (init_main): set prompt if annotation_level>1,
4175 this is necessary when annotation_level is set to 2 via
4176 --annotate=2 command line option.
4177
4a1968f4
AC
41782001-04-04 Andrew Cagney <ac131313@redhat.com>
4179
4180 Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.
4181 * configure.tgt (a29k-*-sym1*, a29k-*-kern*): Obsolete.
4182 * configure.host (a29k-*-*): Obsolete.
4183 * Makefile.in (ALLDEPFILES): Remove ultra3-nat.c and
4184 ultra3-xdep.c.
4185 (ultra3-nat.o, ultra3-xdep.o): Obsolete.
4186 * config/a29k/tm-ultra3.h: Obsolete.
4187 * config/a29k/ultra3.mt: Obsolete.
4188 * config/a29k/ultra3.mh: Obsolete.
4189 * config/a29k/nm-ultra3.h: Obsolete.
4190 * config/a29k/xm-ultra3.h: Obsolete.
4191 * ultra3-xdep.c: Obsolete.
4192 * ultra3-nat.c: Obsolete.
4193 * config/a29k/a29k-kern.mt: Obsolete.
4194 * NEWS: Update.
4195 * TODO: Update.
4196
608506ed
CF
4197Wed Apr 4 21:48:42 2001 Christopher Faylor <cgf@cygnus.com>
4198
4199 * main.c: Remove windows.h use.
4200 (gdbtk_test): Use PATH_MAX for home var calculation.
4201 * remote-e7000.c (e7000_parse_device): Accomodate Cygwin as well as
4202 Win32 in colon test.
4203 * ser-tcp.c: Use modern __CYGWIN__ conditional.
4204 * source.c (mod_path): Add __CYGWIN__ conditional to WIN32 test.
4205 (openp): Ditto.
4206 * symfile.c (symfile_bfd_open): Ditto.
608506ed 4207
6457bd47
MH
42082001-04-04 Martin M. Hunt <hunt@redhat.com>
4209
4210 * main.c (captured_main): For GDBtk, don't use tui_fileopen().
4211 Handle all stream setup in gdbtk_init
4212
3df1b9b4
MK
42132001-04-04 Mark Kettenis <kettenis@gnu.org>
4214
4215 * i386-tdep.c (i386_extract_return_value): Don't return the return
4216 value of a void function.
4217 (i386_store_return_value): Likewise.
4218
76f4ea53
AC
42192001-04-03 Andrew Cagney <ac131313@redhat.com>
4220
4221 Obsolete w65-*-* target.
4222 * configure.tgt (w65-*-*): Obsolete.
4223 * config/w65/w65.mt: Obsolete.
4224 * config/w65/tm-w65.h: Obsolete.
4225 * w65-tdep.c: Obsolete.
4226 * NEWS: Update. Fix TiC80 description.
4227 * TODO: Update.
4228
52071915
AC
42292001-04-03 Andrew Cagney <ac131313@redhat.com>
4230
4231 Obsolete tic80-*-* target.
4232 * configure.tgt (tic80-*-*): Obsolete.
4233 * config/tic80/tic80.mt: Obsolete.
4234 * config/tic80/tm-tic80.h: Obsolete.
4235 * tic80-tdep.c: Obsolete.
4236 * TODO: Update
4237 * NEWS: Update.
4238
44eaed12
C
42392001-04-02 J.T. Conklin <jtc@redback.com>
4240
ba79cc81
C
4241 * remote-mips.c (S_IROTH): Moved definition from here.
4242 * gdb_stat.h (S_IROTH): to here.
4243
44eaed12
C
4244 * remote.c (remote_protocol_e, remote_protocol_E): Define.
4245 (set_remote_protocol_e_packet_cmd)
4246 (set_remote_protocol_E_packet_cmd)
4247 (show_remote_protocol_e_packet_command)
4248 (show_remote_protocol_E_packet_command): New functions.
4249 (init_all_packet_configs): Initialize remote_protocol_e and
4250 remote_protocol_E.
4251 (remote_resume, remote_async_resume): Support e/E command
4252 packets.
4253 (show_remote_cmd): Show state of remote_protocol_e and
4254 remote_protocol_E.
4255 (_initialize_remote): Add "set remote step-over-range-packet"
4256 and "set remote step-over-range-w-signal-packet" to CLI.
4257
bb19ff3b
AC
42582001-04-01 Andrew Cagney <ac131313@redhat.com>
4259
4260 Obsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* and
4261 ns32k-utek-*.
4262 * Makefile.in (ALLDEPFILES): Delete umax-xdep.c and ns32km3-nat.c.
4263 (umax-xdep.o, ns32km3-nat.o): Obsolete.
4264 * configure.tgt (ns32k-*-mach3*, ns32k-utek-sysv*, ns32k-utek-*):
4265 Obsolete.
4266 * configure.host (ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv*):
4267 Obsolete.
4268 * config/ns32k/merlin.mh: Obsolete.
4269 * config/ns32k/merlin.mt: Obsolete.
4270 * config/ns32k/xm-merlin.h: Obsolete.
4271 * config/ns32k/tm-merlin.h: Obsolete.
4272 * config/ns32k/nm-umax.h: Obsolete.
4273 * config/ns32k/umax.mh: Obsolete.
4274 * config/ns32k/umax.mt: Obsolete.
4275 * config/ns32k/xm-umax.h: Obsolete.
4276 * umax-xdep.c: Obsolete.
4277 * config/ns32k/ns32km3.mh: Obsolete.
4278 * config/ns32k/ns32km3.mt: Obsolete.
4279 * config/ns32k/tm-ns32km3.h: Obsolete.
4280 * config/ns32k/xm-ns32km3.h: Obsolete.
4281 * ns32km3-nat.c: Obsolete.
4282 * ns32k-tdep.c (merlin_skip_prologue): Obsolete.
4283 (merlin_frame_num_args): Ditto.
4284 * NEWS: Update.
4285 * TODO: Update.
4286
d6259d75
EZ
42872001-04-02 Eli Zaretskii <eliz@is.elta.co.il>
4288
4289 * config/djgpp/fnchange.lst: Tweak due to
4290 expect/example/chesslib.c.
4291
971ff545
KB
42922001-04-02 Kevin Buettner <kevinb@redhat.com>
4293
4294 * m88k-tdep.c (examine_prologue): Change type of ``insn'' from
4295 unsigned int to unsigned long. Also, fix format string.
4296 (pop_frame): Fix PC_IN_CALL_DUMMY() call so that it doesn't
4297 use an undeclared variable. Also, delete declaration and
4298 initialization of ``fp'' because it is otherwise unused.
4299 * remote-bug.c (sleep): Delete declaration.
4300 (bug_store_register, bug_write_memory, bug_read_memory)
4301 (bug_insert_breakpoint, bug_remove_breakpoint): Fix sprintf()
4302 format statements and cast certain sprintf() arguments to
4303 eliminate warnings.
4304 (bug_load): Likewise for call to printf_filtered().
4305 * config/m88k/tm-m88k.h (FIX_CALL_DUMMY): Eliminate
4306 assignment to ``pc''. The necessary assignment is done in
4307 hand_function_call() after the invocation of FIX_CALL_DUMMY().
4308
4e4f46a1
DB
43092001-03-20 Daniel Berlin <dberlin@redhat.com>
4310
4311 * symtab.c (completion_list_add_name): Remove duplicate string checks,
4312 readline already does this, and it's much faster at it, too.
4313
ba8629a9
EZ
43142001-04-01 Eli Zaretskii <eliz@is.elta.co.il>
4315
4316 * go32-nat.c: Minor tweaks, to pacify the ari script.
4317
7bf0983e
MK
43182001-04-01 Mark Kettenis <kettenis@gnu.org>
4319
f7af9647
MK
4320 * i386-tdep.c (i386_extract_struct_value_address): New function.
4321 * config/i386/tm-i386.h (EXTRACT_STRUCT_VALUE_ADDRESS): Redefine
4322 in terms of i386_extract_struct_value_address.
4323 (i386_extract_struct_value_address): New prototype.
4324
7bf0983e
MK
4325 * i386-linux-nat.c (i386_linux_dr_get): Change type of return
4326 value to `unsigned long'. Change type of `value' to `unsigned
4327 long'.
4328 (i386_linux_dr_set): Change type of second argument to `unsigned
4329 long'.
4330 (i386_linux_dr_set_control): Change type of first argument to
4331 `unsigned long'.
4332 (i386_linux_dr_get_status): Change type of return value to
4333 unsigned long.
4334 * config/i386/nm-linux.h (i386_linux_dr_set_control,
4335 i386_linux_dr_get_status): Adjust prototypes accordingly.
4336
6e4862ff
KB
43372001-03-31 Kevin Buettner <kevinb@redhat.com>
4338
4339 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Change
4340 TRAP_HWBKPT constant to match that in the kernel headers for
4341 Linux/IA-64.
521f1f96 4342
1e8d0a7b
MK
43432001-03-31 Mark Kettenis <kettenis@gnu.org>
4344
0afdd437
MK
4345 * i386bsd-nat.c: Include "gdb_assert.h".
4346 [HAVE_PT_GETDBREGS] (DBREG_DRX): Define if not
4347 already defined.
4348 [HAVE_PT_GETDBREGS] (i386bsd_dr_set, i386bsd_dr_set_control,
4349 i386bsd_dr_set_addr, i386bsd_dr_reset_addr,
4350 i386bsd_dr_get_status): New functions.
4351 * config/i386/nm-fbsd.h [HAVE_PT_GETDBREGS]
4352 (I386_USE_GENERIC_WATCHPOINTS): Define.
4353 Include "i386/nm-i386.h".
4354 (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
4355 I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
4356 (i386bsd_dr_set_control, i386bsd_dr_set_addr,
4357 i386bsd_dr_reset_addr, i386bsd_dr_get_status): New prototypes.
4358 * acconfig.h (HAVE_PT_GETDBREGS): New configure macro.
4359 * configure.in: Cleanup a few comments. Check for PT_GETDBREGS
4360 ptrace request.
4361 * config.in, configure: Regenerate.
4362
4bcc3944
MK
4363 * i386-nat.c (i386_insert_aligned_watchpoint): Set address
4364 register before enabling it by setting the control register.
4365 (i386_remove_aligned_watchpoint): Reset address register after
4366 disabling it by setting the control register.
4367
1e8d0a7b
MK
4368 * i386-tdep.c (i386_extract_return_value): If the type of the
4369 return value is TYPE_STRUCT and the number of fields is one, call
4370 ourselves with TYPE set tp the type of the first field.
4371 (i386_store_return_value): Likewise.
4372 This fixes a problem with returning structs consisting of a single
4373 `float' or `double' on *BSD.
4374
95a85621
MK
43752001-03-30 Mark Kettenis <kettenis@gnu.org>
4376
40564aca
MK
4377 * lin-lwp.c (lin_lwp_resume): Don't mark LWP as not stopped until
4378 we're absolutely sure we're going to resume it.
4379
95a85621
MK
4380 * thread-db.c (check_event): Don't report an error if we encounter
4381 a thread creation event for a thread that's already in the thread
4382 list, since that may legitemately happen. Instead only call
4383 attach_thread if it's not already in the thread list.
4384
2e94c453
AC
43852001-03-28 Andrew Cagney <ac131313@redhat.com>
4386
4387 * config/pa/xm-hppah.h (malloc): Really delete declaration
4388 (MALLOC_INCOMPATIBLE): Really delete macro.
4389 * cli/cli-cmds.c (apropos_command): Use xcalloc.
4390
93d56215
AC
43912001-03-28 Andrew Cagney <ac131313@redhat.com>
4392
4393 * configure.in (build_warnings): Add -Wuninitialized.
4394 * configure: Regenerate.
4395
4396 * v850-tdep.c (v850_scan_prologue): Initialize ``insn2''.
4397 * sparc-tdep.c (sparc64_push_arguments): Add default case to
4398 switch.
4399 * sh-tdep.c (sh_do_fp_register): Replace ``?:'' printf format
4400 expression with if statement.
4401 * mn10200-tdep.c (mn10200_analyze_prologue): Initialize
4402 ``stack_size''.
4403 * mips-tdep.c (show_mipsfpu_command): Add default case to switch.
4404 (mips_dump_tdep): Fix setting of ef_mips_arch.
4405 * mcore-tdep.c (mcore_analyze_prologue): Initialize ``fp_regnum''.
4406 * dsrec.c (make_srec): Always initialize ``binbuf''.
4407 * monitor.c (monitor_read_memory_single): Do not pass an
4408 uninitialized buffer to monitor_error. Make ``i'' more local.
4409
381bab78
AC
44102001-03-28 Andrew Cagney <ac131313@redhat.com>
4411
4412 * MAINTAINERS: Change ns32k target to ,-Werror.
4413
4414 * ns32k-tdep.c: Include "gdbcore.h"
4415 (flip_bytes): Change first argument to void*. Add forward
4416 declaration.
4417 (sign_extend): Add declaration.
4418 (merlin_frame_num_args): Add final else clause to if-else chain.
4419 (umax_frame_num_args): Ditto.
4420 * config/ns32k/tm-umax.h (ns32k_localcount): Declare.
4421 (flip_bytes): Ditto.
4422
b9511b9a
MK
44232001-03-28 Mark Kettenis <kettenis@gnu.org>
4424
b05f2432
MK
4425 * i386-linux-tdep.c (FRAMELESS_SIGNAL): Moved here from
4426 config/i386/nm-linux.h (including comment).
4427 (i386_linux_frame_chain): New function implementing guts of the
4428 former FRAME_CHAIN macro, but using read_memory_unsigned_integer
4429 instead of read_memory_integer.
4430 (i386_linux_frame_saved_pc): Removed doc pointing to
4431 i386/tm-linux.h for an explanation of FRAMELESS_SIGNAL since that
4432 now lives in this file.
4433 * config/i386/tm-linux.h (FRAMELESS_SIGNAL): Moved to
4434 i386-linux-tdep.c (including comment).
4435 (FRAME_CHAIN): Redefined in terms of i386_linux_frame_chain.
4436 (i386_linux_frame_chain): New prototype.
4437
0eebe06a
MK
4438 * gdbserver/low-linux.c [I386_GNULINUX_TARGET]: Cleanup code and
4439 make it work again.
4440 (NUM_FREGS): Redefine to 0.
4441 (NUM_REGS): Redefine as NUM_GREGS.
4442 (i386_register_byte, i386_register_raw_size): Update from
4443 i386-tdep.c. Add comment about their origin.
4444 (regmap, register_u_addr): Take these from i386-linux-nat.c.
4445 (i386_register_u_addr): Removed.
4446
b9511b9a
MK
4447 * i386-linux-nat.c (i386_linux_dr_get): Return 0 if ptrace call
4448 fails instead of calling perror_with_name. This should fix
4449 debugging remote i386 targets with a native Linux/x86 GDB. Add
4450 FIXME for this hack.
4451
3172dc30
C
44522001-03-19 J.T. Conklin <jtc@redback.com>
4453
4454 * arch-utils.c (#include "gdbthread.h"): Removed.
4455 (#include "symfile.h"): Removed.
4456 (XMALLOC): Removed unused macro.
4457 * breakpoint.c (tbreak_command): Removed local declaration.
4458 (awatch_command, do_enable_breakpoint, set_breakpoint_count):
4459 Remove duplicate declarations.
4460 (bpstat_should_step, bpstat_have_active_hw_watchpoints)
4461 (remove_solib_event_breakpoints): Fix indentation botch.
4462 * c-typeprint.c (#include "command.h"): Removed.
4463 (#include "gdbcmd.h"): Removed.
4464 * ch-exp.c (ch_terminal_match_float_literal, parse_expr)
4465 (parse_primval, parse_untyped_expr, parse_opt_untyped_expr):
4466 Removed duplicate declarations.
4467 * ch-typeprint.c (#include "command.h"): Removed.
4468 (#include "gdbcmd.h"): Removed.
4469 * corefile.c (#include "frame.h"): Removed
4470 (#include "symfile.h"): Removed.
4471 (#include "language.h"): Removed.
4472 * dbxread.c (#include "command.h"): Removed.
4473 * environ.c (#include "gdbcore.h"): Removed.
4474 * event-loop.c (#include "top.h"): Removed.
4475 * f-typeprint.c (#include "command.h"): Removed.
4476 (#include "gdbcmd.h"): Removed.
4477 (#include "language.h"): Removed.
4478 (#include "typeprint.h"): Removed.
4479 (#include "frame.h"): Removed.
4480 * gdbtypes.h (print_type_scalar): Removed declaration.
4481 * infcmd.c (#include "completer.h"): Removed.
4482 * language.c (#include "frame.h"): Removed.
4483 * m2-typeprint.c (#include "command.h"): Removed.
4484 (#include "gdbcmd.h"): Removed.
4485 (#include "language.h"): Removed.
4486 * m2-valprint.c (#include "valprint.h"): Removed.
4487 * p-typeprint.c (#include "command.h"): Removed.
4488 (#include "gdbcmd.h"): Removed.
4489 * p-valprint.c (#include "typeprint.h"): Removed.
4490 * parse.c (#include "linespec.h"): Removed.
4491 * regcache.c (#include "frame.h"): Removed.
4492 * remote.c (#include "frame.h"): Removed.
4493 (getpkt_sane): Make static.
4494 * source.c (#include "completer.h"): Removed.
4495 * stack.c (#include "symfile.h"): Removed.
4496 (#include "objfiles.h"): Removed.
4497 * symfile.c (#include "completer.h"): Removed.
4498 * tracepoint.c (#include "completer.h"): Removed.
4499 * values.c (#include "frame.h"): Removed.
4500 * varobj.c (#include "valprint.h"): Removed.
4501 * wrapper.c (#include "frame.h"): Removed.
4502
4503 * memattr.c (create_mem_region): Removed unused variable.
4504 * remote-nrom.c: Removed spurious semicolon after init_nrom_ops.
4505
397b41ad
NC
45062001-03-27 Nick Clifton <nickc@redhat.com>
4507
4508 * remote-rdp.c (rdp_set_command_line): Add missing double quote.
4509
ed817e68
KB
45102001-03-27 Kevin Buettner <kevinb@redhat.com>
4511
4512 * solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
4513 of free().
4514
b75e0a6b
EZ
45152001-03-27 Eli Zaretskii <eliz@is.elta.co.il>
4516
4517 * TODO (Cleanups): Remove the item about converting docs to GFDL.
4518
2fc3ac7e
KB
45192001-03-26 Kevin Buettner <kevinb@redhat.com>
4520
4521 * ia64-tdep.c (slotN_contents, replace_slotN_contents): Change
4522 type of ``bundle'' from unsigned char * to char *.
4523 (ia64_get_saved_register): Use alloca() to allocate register
4524 buffers.
4525
224d8953
KB
4526 * solib-aix5.c (build_so_lib_from_mapfile): Fix xasprintf() usage.
4527
37de36c6
KB
45282001-03-26 Kevin Buettner <kevinb@redhat.com>
4529
4530 * proc-utils.h (procfs_ctl_t): New typedef.
4531 * proc-api.c (write_with_trace): Change type of ``opcode'' from
4532 long to procfs_ctl_t. Don't assume that the target has defined
4533 BREAKPOINT. Handle case in which PCRESET is the same as PCUNSET.
4534 * proc-events.c (sys/syscall.h, sys/fault.h): Include conditionally.
4535 * procfs.c (sys/fault.h, sys/syscall.h): Include conditionally.
4536 (gdb_sigset_t, gdb_sigaction_t, gdb_siginfo_t, gdb_premptysysset)
4537 (gdb_praddsysset, gdb_prdelsysset, gdb_pr_issyssetmember):
4538 Conditionally define as appropriate for AIX/non-AIX systems. Use
4539 these defines/typedefs as appropriate elsewhere in file.
4540 (struct procinfo): Change type of saved_sigset and saved_sighold
4541 from sigset_t to gdb_sigset_t. Make saved_exitset and
4542 saved_entryset pointer variables. Add two new fields, num_syscalls
4543 and syscall_names.
4544 (DYNAMIC_SYSCALLS): Define when HAVE_PRSYSENT_T is defined.
4545 (sysset_t_size, sysset_t_alloc): New functions.
4546 (load_syscalls, free_syscalls, find_syscall): New functions for
4547 platforms which define DYNAMIC_SYSCALLS.
4548 (create_procinfo): Call load_syscalls.
4549 (destroy_one_procinfo): Call free_syscalls.
4550 (GDBRESET): Don't define twice.
4551 (proc_modify_flag): Change type of operation code array `arg'
4552 from long to procfs_ctl_t.
4553 (proc_stop_process, proc_wait_for_stop, proc_run_process)
4554 (proc_set_traced_signals, proc_set_traced_faults)
4555 (proc_set_traced_sysentry, proc_set_traced_sysexit)
4556 (proc_set_held_signals, proc_clear_current_fault)
4557 (proc_set_current_signal, proc_clear_current_signal, proc_set_gregs)
4558 (proc_set_fpregs, proc_kill, proc_set_watchpoint): Likewise for `cmd'.
4559 (proc_set_traced_sysentry): Dynamically allocate variable sized
4560 struct gdb_proc_ctl_pcsentry. Also, free it at function exit.
4561 (proc_set_traced_sysexit): Dynamically allocate variable
4562 sized struct gdb_proc_ctl_pcsexit. Also, free it at
4563 function exit.
4564 (proc_get_traced_sysentry, proc_get_traced_sysexit): Add new code
4565 for reading the sysset_t struct on AIX5.
4566 (procfs_debug_inferior): Don't assume that SYS_exit will be
4567 defined. Add new code for finding certain syscalls on AIX5.
4568 (syscall_is_lwp_exit, syscall_is_exit, syscall_is_exec)
4569 (syscall_is_lwp_create): New functions.
4570 (procfs_wait): Restructured code which checks for certain
4571 system calls to use the new syscall_is_... functions.
4572 (procfs_notice_signals): Account for the fact that saved_entryset
4573 and saved_exitset in struct procinfo are now pointers.
4574
25d53da1
KB
45752001-03-26 Kevin Buettner <kevinb@redhat.com>
4576
4577 * symtab.c (find_pc_sect_line): Revise method used for finding
4578 the ending pc.
4579
50e27f84
MK
45802001-03-26 Mark Kettenis <kettenis@gnu.org>
4581
4582 * i386-linux-tdep.c (i386_linux_sigtramp_saved_pc,
4583 i386_linux_sigtramp_saved_sp): Make static.
4584 (i386_linux_frame_saved_pc): New function based on the old
4585 FRAME_SAVED_PC macro, but use read_memory_unsigned_integer instead
4586 of read_memory_integer.
4587 * config/i386/tm-linux.h (sigtramp_saved_pc): Remove definition.
4588 (i386_linux_sigtramp_saved_pc): Remove prototype.
4589 (FRAME_SAVED_PC): Redefine in terms of i386_linux_frame_saved_pc.
4590 (i386_linux_frame_saved_pc): New prototype.
4591
1a5cef06
AC
45922001-03-26 Andrew Cagney <ac131313@redhat.com>
4593
4594 * MAINTAINERS: Document m88k as a ``Known problem in 5.1''.
4595 * TODO (GDB 5.1 - Cleanups): Update.
4596
af802127
AC
45972001-03-26 Andrew Cagney <ac131313@redhat.com>
4598
4599 * fork-child.c (clone_and_follow_inferior): Delete #ifdef
4600 HAVE_VFORK.
4601
22f8ba57
MK
46022001-03-26 Mark Kettenis <kettenis@gnu.org>
4603
5b31405b
MK
4604 * config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.
4605
22f8ba57
MK
4606 * i386-tdep.c (i386_push_arguments, i386_store_struct_return): New
4607 functions.
4608 * config/i386/tm-i386.h (PUSH_ARGUMENTS): New macro.
4609 (STORE_STRUCT_RETURN): Redefine in terms of
4610 i386_store_struct_return.
4611 (i386_push_arguments, i386_store_struct_return): New prototypes.
4612 * config/i386/tm-i386v.h (STORE_STRUCT_RETURN): Remove. It's
4613 definition was identical to the definition in "i386/tm-i386.h" so
4614 the new definition should suffice too.
4615
49baf819 46162001-03-26 Eli Zaretskii <eliz@is.elta.co.il>
4d277981 4617
b78a4f26
EZ
4618 * event-loop.c (toplevel) [!HAVE_POLL] [NO_FD_SET]: Remove unused
4619 definitions for SELECT, NBBY, FD_SETSIZE, NFDBITS, and MASK_SIZE.
4620
4d277981
EZ
4621 * config/djgpp/djconfig.sh: Add copyright notice.
4622
4623 * ser-go32.c (rawclock): Remove prototype; include time.h instead.
4624 (ISR, dos_hookirq, isr_t): Convert K&R definition to ANSI C.
4625 (top level) <string.h>: Include gdb_string.h instead.
4626 (dos_noop, dos_raw, dos_noflush_set_tty_state)
4627 (dos_print_tty_state, dos_info): Remove ATTRIBUTE_UNUSED.
4628
4629 * go32-nat.c (go32_create_inferior): Move the declaration of
4630 `environ' to here from the top level.
4631 (top level) <_initialize_go32_nat>: Remove redundant prototype.
4632 <gdb_string.h>: Include it instead of string.h.
4633 (store_register): Call register_buffer instead of accessing
4634 registers[] directly.
4635 (redir_cmdline_delete, redir_cmdline_parse, redir_to_debugger)
4636 (redir_to_debugger, redir_debug_init) [__DJGPP_MINOR__ < 3]: Put
4637 the function names at the start of the line.
4638 (go32_set_dr): Throw internal_error if the argument is not a valid
4639 debug register number.
4640 (go32_open, go32_close, go32_attach, go32_detach, go32_resume)
4641 (go32_wait, go32_xfer_memory, go32_files_info)
4642 (go32_terminal_info): Remove ATTRIBUTE_UNUSED.
4643
8f3ee2ae
JB
46442001-03-25 Jim Blandy <jimb@redhat.com>
4645
4646 * mips-tdep.c (mips_gdbarch_init): Tweak indentation.
4647
6ec4c4bd
EZ
46482001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4649
4650 From Andrew Cagney <ac131313@redhat.com>
4651
4652 * coffread.c: Include "gdb_assert.h".
4653 (coff_symtab_read): Cast the integer s_sclass to a long before
4654 casting it to a pointer.
4655
b9179dbc
EZ
46562001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4657
4658 From Andrew Cagney <ac131313@redhat.com>
4659
4660 * coffread.c (coff_symtab_read): Initialize
4661 ``fcn_first_line_addr''. Check that the ``.bf'' always preceeds
4662 the ``.ef'' info.
4663 * dbxread.c (find_text_range): Initialize ``start'' and ``end''.
4664
64c4637f
AC
46652001-03-23 Andrew Cagney <ac131313@redhat.com>
4666
4667 * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Down grade to
4668 GDB_MULTI_ARCH_PARTIAL from two. SOFTWARE_SINGLE_STEP is not
4669 multi-arch.
4670
4671 * gdbarch.sh (SOFTWARE_SINGLE_STEP): Add.
4672 * gdbarch.h, gdbarch.c: Re-generate.
4673
4674 * target.h (SOFTWARE_SINGLE_STEP_P)
4675 (SOFTWARE_SINGLE_STEP): Delete macro definitions.
4676
61a0eb5b
AC
46772001-03-23 Andrew Cagney <ac131313@redhat.com>
4678
4679 * gdbarch.sh (gdbarch_register_read, gdbarch_register_write): Add.
4680 * gdbarch.h, gdbarch.c: Regenerate.
4681
4682 * regcache.h (regcache_read, regcache_write): Declare.
4683 (registers, register_valid, register_buffer): Add note that these
4684 interfaces are deprecated.
4685
4686 * regcache.c: Include "gdb_assert.h".
4687 (legacy_write_register_gen): Rename write_register_gen.
4688 (legacy_read_register_gen): Rename read_register_gen.
4689 (regcache_read, regcache_write): New function.
4690 (read_register_gen, write_register_gen): New function.
4691 (write_register): Simplify. Use write_register_gen.
4692 (read_register): Ditto using read_register_gen.
4693 (read_signed_register): Ditto.
4694 (read_register_bytes): Ditto!!!!
4695 (supply_register): Add note that CLEANUP_REGISTER_VALUE is being
4696 replaced by gdbarch_register_read.
4697
4698 * TODO (GDB 5.2 - Cleanups): Add list of gdbarch methods to
4699 deprecate.
4700
c2bd2ed9
JB
47012001-03-23 Jim Blandy <jimb@redhat.com>
4702
f34754ee
JB
4703 Fix from Dan Berlin:
4704
c2bd2ed9
JB
4705 * stabsread.c (read_cpp_abbrev): Properly construct the names of
4706 virtual function table pointer fields.
4707
c0e61796
AC
47082001-03-19 Andrew Cagney <ac131313@redhat.com>
4709
4710 * defs.h (xfree, mcalloc, mmalloc, mrealloc, mfree, xmmalloc,
4711 xmrealloc): Move existing declarations to the one place and
4712 re-order to be consistent.
4713 (xmcalloc, xmfree): Declare.
4714 (xmmalloc, xmrealoc): Assume ISO-C - use size_t and void* in
4715 declaration.
4716
4717 * utils.c (size_t): Delete #ifdef defining size_t.
4718 (mmalloc, mrealloc, mcalloc, mfree): Re-order.
4719 (mmalloc, mrealloc, mcalloc): Document as only calls in GDB
4720 corresponding malloc, realloc, calloc.
4721 (mfree): Call free directly.
4722 (xmmalloc, xmrealloc): Clean up. Assume ISO-C.
4723 (xmcalloc, xmfree): New functions. Copy old xcalloc and xfree
4724 function bodies to here.
4725 (xcalloc, xfree): Call xmcalloc and xmfree respectfully.
4726
c65ecaf3
AC
47272001-03-23 Andrew Cagney <ac131313@redhat.com>
4728
4729 * fork-child.c (fork_inferior): Make ``argv'', ``exec_file'' and
4730 ``shell_file'' static locals.
4731
4732 * jv-lang.c (java_link_class_type): Initialize ``field'' and
4733 ``method''.
4734
4735 * jv-valprint.c (java_value_print): Initialize ``next_element''.
4736
207e433e
MK
47372001-03-23 Mark Kettenis <kettenis@gnu.org>
4738
4739 * config/i386/nm-i386.h: Fix formatting and change reference to
4740 i386-tdep.c to i386-nat.c.
4741
6c5cfe5b
DS
47422001-03-23 David Smith <dsmith@redhat.com>
4743
4744 * configure.in: Corrected spelling errors.
4745 * configure: Regenerated.
4746
5300940c
AC
47472001-03-22 Andrew Cagney <ac131313@redhat.com>
4748
4749 * TODO (GDB 5.1 - Cleanups): Add more targets to obsolete.
4750
17e78a56
AC
47512001-03-22 Andrew Cagney <ac131313@redhat.com>
4752
4753 * Makefile.in (NTSSTART): Delete.
4754 (NTSOBS): Delete.
4755 (kdb): Delete target.
4756 * kdb-start.c, stuff.c: Mark as obsolete.
4757 * NEWS: Update.
4758
41899c04
AC
47592001-03-22 Andrew Cagney <ac131313@redhat.com>
4760
4761 * config/pa/xm-hppah.h (HPPA_COMPILER_BUG): Delete. GDB only
4762 compiles using an ISO-C compiler.
4763 (MALLOC_INCOMPATIBLE): Ditto.
4764 * linespec.c (decode_line_1): Delete hack to work around
4765 HPPA_COMPILER_BUG.
4766
88665544
AC
47672001-03-22 Andrew Cagney <ac131313@redhat.com>
4768
4769 * exec.c (xfer_memory): Always initialize section.
4770 * infrun.c (normal_stop): Always initialize source_flag.
4771
a2061976
AC
47722001-03-22 Andrew Cagney <ac131313@redhat.com>
4773
4774 * TODO (Remote Protocol Support): Review. Add notes about ``!'',
4775 non-use of a continue address and typical use of ``q'' packet.
4776
e24d4c64
EZ
47772001-03-22 Eli Zaretskii <eliz@is.elta.co.il>
4778
4779 Make DJGPP use the new unified support for hardware
4780 breakpoints and watchpoints on x86 targets:
4781
4782 * config/i386/nm-go32.h <top level>: Don't include nm-i386v.h,
4783 include nm-i386.h instead.
4784 (TARGET_HAS_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT)
4785 (TARGET_CAN_USE_HARDWARE_WATCHPOINT, STOPPED_BY_WATCHPOINT)
4786 (TARGET_REGION_OK_FOR_HW_WATCHPOINT, DECR_PC_AFTER_HW_BREAK)
4787 (target_stopped_data_address, target_insert_watchpoint)
4788 (target_remove_watchpoint, target_insert_hw_breakpoint)
4789 (target_remove_hw_breakpoint): Don't define.
4790 (I386_USE_GENERIC_WATCHPOINTS, I386_DR_LOW_SET_CONTROL)
4791 (I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR)
4792 (I386_DR_LOW_GET_STATUS): Define to call appropriate go32_*
4793 functions from go32-nat.c.
4794
4795 * config/i386/go32.mh (NATDEPFILES): Add i386-nat.o.
4796
4797 * go32-nat.c <top level>: Remove prototypes for watchpoint-
4798 related functions. Remove definitions of watchpoint-related
4799 macros.
4800 (go32_mourn_inferior): Call i386_cleanup_dregs instead of the
4801 private cleanup_dregs function.
4802 (cleanup_dregs, go32_insert_watchpoint)
4803 (go32_insert_aligned_watchpoint, go32_handle_nonaligned_watchpoint)
4804 (go32_remove_watchpoint, go32_remove_aligned_watchpoint)
4805 (go32_region_ok_for_watchpoint, go32_stopped_by_watchpoint)
4806 (go32_remove_hw_breakpoint, go32_insert_hw_breakpoint): Remove.
4807 (go32_set_dr, go32_set_dr7, go32_get_dr6): New functions.
4808
c26e1c2b
KB
48092001-03-21 Kevin Buettner <kevinb@redhat.com>
4810
4811 * ia64-tdep.c (fetch_instruction): Warn about slot numbers greater
4812 than two instead of generating an error.
4813
272ba48f
JB
48142001-03-21 Jim Blandy <jimb@redhat.com>
4815
4816 * cp-valprint.c: Reformat to bring into line with GNU coding
4817 standards.
4818
84346e11
MK
48192001-03-21 Mark Kettenis <kettenis@gnu.org>
4820
4821 Make Linux use the new unified support for hardware breakpoints
4822 and watchpoints on x86 targets.
4823 * i386-linux-nat.c: Doc fixes. Include "gdb_assert.h".
4824 [HAVE_SYS_DEBUGREG_H]: Include <sys/debugreg.h>.
4825 (DR_FIRSTADDR, DR_LASTADDR, DR_STATUS, DR_CONTROL): Define to
4826 appropriate value if not already defined.
4827 (register_u_addr): New function.
4828 (kernel_u_size): New function.
4829 (i386_linux_dr_get, i386_linux_dr_set): New functions.
4830 (i386_linux_dr_set_control, i386_linux_dr_set_addr,
4831 i386_linux_reset_addr, i386_linux_dr_get_status): New functions.
4832 * config/i386/nm-linux.h: Don't include "nm-i386v.h".
4833 (I386_USE_GENERIC_WATCHPOINTS): Define and include "nm-i386.h".
4834 (TARGET_HAS_HARDWARE_WATCHPOINTS,
4835 TARGET_CAN_USE_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT,
4836 STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
4837 target_remove_watchpoint): Remove macros.
4838 (i386_stopped_by_watchpoint, i386_insert_watchpoint,
4839 i386_remove_watchpoint): Remove prototypes.
4840 (register_u_addr): New prototype.
4841 (REGISTER_U_ADDR): Define in terms of register_u_addr.
4842 (i386_linux_dr_set_control, i386_linux_dr_set_addr,
4843 i386_linux_reset_addr, i386_linux_dr_get_status): New prototypes.
4844 (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
4845 I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
4846 * config/i386/linux.mh (NATDEPFILES): Replace i386v-nat.o with
4847 i386-nat.o.
4848
13b57657
JB
48492001-03-21 Jim Blandy <jimb@redhat.com>
4850
f34754ee
JB
4851 Fix from Dan Berlin:
4852
13b57657
JB
4853 * linespec.c (find_methods): Whitespace differences aren't
4854 significant in *un*mangled method names. Use strcmp_iw to compare
f34754ee 4855 them, not STREQ.
13b57657 4856
eee30e78
AC
48572001-03-21 Andrew Cagney <ac131313@redhat.com>
4858
4859 * gdbarch.sh: Allow a non- multi-arch target to override a
4860 predicate.
4861 * gdbarch.h: Regenerate.
4862
b77be6cf
AC
48632001-03-21 Andrew Cagney <ac131313@redhat.com>
4864
4865 * gdbarch.sh: Avoid use of ``!''.
4866
379d08a1
AC
48672001-03-20 Andrew Cagney <ac131313@redhat.com>
4868
4869 * target.h (enum target_signal): Move definition from here.
4870 * defs.h (enum target_signal): To here.
4871
4872 * config/arc/tm-arc.h (arc_software_single_step): Change type of
4873 first parameter to enum target_signal.
4874 * config/rs6000/tm-rs6000.h (rs6000_software_single_step): Ditto.
4875 * config/sparc/tm-sparc.h (sparc_software_single_step): Ditto.
4876 * rs6000-tdep.c (rs6000_software_single_step): Update.
4877
64485362
AC
48782001-03-20 Andrew Cagney <ac131313@redhat.com>
4879
4880 * frame.h (SIZEOF_FRAME_SAVED_REGS): Report an error if macro
4881 already defined.
4882
4883 From 2000-08-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
4884 * stabsread.c (define_symbol): A parameter ('R'), a local ('r'),
4885 or a reference ('a') can be in a pseudo register.
4886 * infcmd.c (do_registers_info): Must take into account the pseudo
4887 registers to print their value.
4888 (registers_info): Likewise.
4889 * stack.c (frame_info): Likewise.
4890 * frame.h (SIZEOF_FRAME_SAVED_REGS): Save the pseudo registers.
4891
52b98211
EZ
48922001-03-21 Eli Zaretskii <eliz@is.elta.co.il>
4893
4894 Unified support for hardware breakpoints and watchpoints on
4895 x86 targets:
4896
4897 * config/i386/nm-i386.h: New file.
4898
4899 * config/i386/nm-i386.h: (i386_cleanup_dregs)
4900 (i386_insert_watchpoint, i386_remove_watchpoint)
4901 (i386_region_ok_for_watchpoint, i386_stopped_by_hwbp)
4902 (i386_stopped_data_address, i386_insert_hw_breakpoint)
4903 (i386_remove_hw_breakpoint): Declare prototypes.
4904 [I386_USE_GENERIC_WATCHPOINTS] (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
4905 Define if not already defined.
4906 (TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT)
4907 (STOPPED_BY_WATCHPOINT, target_stopped_data_address)
4908 (target_insert_watchpoint, target_remove_watchpoint)
4909 (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Define
4910 to call the appropriate i386_* functions.
4911
4912 * i386-nat.c: New file.
4913
4914 * i386-nat.c (I386_DR_CONTROL_MASK, I386_DR_LOCAL_ENABLE)
4915 (I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN)
4916 (I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): New macros.
4917 (dr_mirror, dr_status_mirror, dr_control_mirror, dr_ref_count)
4918 (maint_show_dr): New variables.
4919 (i386_cleanup_dregs, i386_show_dr, i386_length_and_rw_bits)
4920 (i386_insert_aligned_watchpoint, i386_remove_aligned_watchpoint)
4921 (i386_handle_nonaligned_watchpoint, i386_insert_watchpoint)
4922 (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
4923 (i386_stopped_data_address, i386_stopped_by_hwbp)
4924 (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): New
4925 functions.
4926 (_initialize_i386_nat): New function.
4927 [I386_USE_GENERIC_WATCHPOINTS]: Add new maint command
4928 `show-debug-regs', sets maint_show_dr to non-zero value and
4929 activates debugging print-outs in functions which insert, remove,
4930 and test watchpoints and hardware breakpoints.
4931
4932 * Makefile.in (i386-nat.o): New target.
4933 (ALLDEPFILES): Add i386-nat.o.
4934
28e9e0f0
MK
49352001-03-21 Mark Kettenis <kettenis@gnu.org>
4936
4937 * i386-tdep.c: Add back _initialize_i386_tdep prototype with
4938 appropriate comment.
4939
e40eccb4
KB
49402001-03-20 Kevin Buettner <kevinb@redhat.com>
4941
4942 * config/alpha/alpha-linux.mh (NATDEPFILES): Use proc-service.o,
4943 thread-db.o, and lin-lwp.o for thread support instead of
4944 linux-thread.o and lin-thread.o.
4945 * config/alpha/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS)
4946 (ATTACH_LWP): Define to use the following lin-lwp.c functions...
4947 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals)
4948 (lin_lwp_attach_lwp): Declare.
4949
bea7bb93
JB
49502001-03-20 Jim Blandy <jimb@redhat.com>
4951
f34754ee
JB
4952 Fix from Dan Berlin:
4953
bea7bb93
JB
4954 * Makefile.in: Clean up dependencies on ../include/demangle.h.
4955 (demangle_h): New variable.
4956 (jv-typeprint.o, jv-valprint.o, linespec.o): Use it.
4957
b0ed3589
AC
49582001-03-20 Andrew Cagney <ac131313@redhat.com>
4959
4960 * target.h (SOFTWARE_SINGLE_STEP_P): Add empty parameter list.
4961 * breakpoint.c (bpstat_stop_status): Update.
4962 * infrun.c (handle_inferior_event): Ditto.
4963 * mips-tdep.c (mips_dump_tdep): Ditto.
4964 * infrun.c (resume): Ditto.
4965 * infptrace.c (child_resume): Ditto.
4966 * config/mips/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
4967 * config/sh/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
4968 * config/sparc/tm-sparc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
4969 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP_P): Ditto.
4970 * config/arm/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
4971 * config/arc/tm-arc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
4972 * config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto.
4973
df087c62
AC
49742001-03-20 Andrew Cagney <ac131313@redhat.com>
4975
4976 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Replace abort
4977 with internal_error.
4978
8bd1f2c6
JB
49792001-03-20 Jim Blandy <jimb@redhat.com>
4980
f34754ee
JB
4981 Fix from Dan Berlin:
4982
8bd1f2c6
JB
4983 * linespec.c (find_methods): Just call CHECK_TYPEDEF on t, rather
4984 than asking for sym_class's type; that's circuitous. Remove
4985 sym_class, since the last use of it is gone.
4986
c97fe386
EZ
49872001-03-20 Eli Zaretskii <eliz@is.elta.co.il>
4988
4989 * breakpoint.c (print_it_typical) <bp_access_watchpoint> [UI_OUT]:
4990 Correct the order of calls to ui_out_field_string and
4991 ui_out_list_begin when bs->old_val is NULL.
4992
486363b6
KB
49932001-03-19 Kevin Buettner <kevinb@redhat.com>
4994
4995 * configure.in (AC_CHECK_HEADERS): Check for existence of nlist.h.
4996 * configure: Regenerate.
4997 * config.in: Regenerate.
4998 * solib-legacy.c (nlist.h): Include if HAVE_NLIST_H is defined.
4999
087bb2e2
KB
50002001-03-19 Kevin Buettner <kevinb@redhat.com>
5001
5002 * config/i386/i386v42mp.mh (NATDEPFILES): List all files on
5003 same line to avoid problems with Unixware 7's make when building
5004 a cross debugger.
5005
3c37485b
AC
50062001-03-19 Andrew Cagney <ac131313@redhat.com>
5007
5008 * defs.h (malloc): Move declaration from here.
5009 * utils.c (malloc): To here.
5010 * config/pa/xm-hppah.h (malloc): Delete declaration.
5011
5012 * gnu-nat.c (make_proc): Use xmalloc instead of malloc.
5013 * hp-psymtab-read.c (hpread_call_pxdb): Ditto.
5014 (hpread_quick_traverse): Ditto.
5015 * infttrace.c (create_thread_info): Ditto.
5016 (kill_inferior): Ditto.
5017 * gnu-nat.c (make_inf): Ditto, and don't check return value.
5018 * procfs.c (proc_update_threads): Ditto.
5019 * valprint.c (print_decimal_chars): Ditto.
5020 * gdbtypes.c (cfront_mangle_name): Use xasprintf instead of
5021 malloc and sprintf.
5022 * remote-rdp.c (rdp_set_command_line): Ditto.
5023
0e52036f
AC
50242001-03-19 Andrew Cagney <ac131313@redhat.com>
5025
5026 * defs.h (realloc): Move declaration from here.
5027 * utils.c (realloc): To here.
5028 * config/pa/xm-hppah.h (realloc): Delete declaration.
5029 * lin-thread.c (insert_thread): Use xrealloc instead of realloc.
5030 * symfile.c (add_filename_language): Ditto.
5031 * event-loop.c (create_file_handler): Ditto.
5032
81b8eb80
AC
50332001-03-19 Andrew Cagney <ac131313@redhat.com>
5034
5035 * defs.h (free): Move declaration from here.
5036 * utils.c (free): To here.
5037 (xfree): Document as the only call to free().
5038 * config/pa/xm-hppah.h (free): Delete declaration.
5039
8cca004a
KB
50402001-03-19 Kevin Buettner <kevinb@redhat.com>
5041
5042 * config/ia64/linux.mh (NATDEPFILES): Add proc-service.o to
5043 this list.
5044
cf4eee44
AC
50452001-03-19 Andrew Cagney <ac131313@redhat.com>
5046
5047 * eval.c (evaluate_subexp): Remove #ifdef __STDC__ and ``inline''.
5048 * config/mips/xm-mips.h (offsetof): Define when !GNUC not !STDC.
5049 * cli/cli-cmds.c (init_cli_cmds): Remove #ifdef __STDC__
5050
1c5b31ef
AC
50512001-03-19 Andrew Cagney <ac131313@redhat.com>
5052
5053 * TODO: List known problems with TUI.
5054
3a0c66d4
AC
50552001-03-19 Andrew Cagney <ac131313@redhat.com>
5056
5057 * MAINTAINERS: Jimmy Guo stepped down as a maintiner (TUI,
5058 gdb.hp).
5059
ce359b09
AC
50602001-03-19 Andrew Cagney <ac131313@redhat.com>
5061
5062 * remote.c (remote_cisco_section_offsets): Do not cast result from
5063 bfd_get_section_name.
5064 (compare_sections_command): Ditto.
5065 (remote_cisco_section_offsets): Make ``p'' a const pointer.
5066 (compare_sections_command): Ditto for ``sectname''.
5067
0b3f98d3
AC
50682001-03-19 Andrew Cagney <ac131313@redhat.com>
5069
5070 From Mon Nov 20 13:59:29 2000 Andrew Cagney <cagney@b1.cygnus.com>:
5071 * valops.c (hand_function_call): Simplify computation of the
5072 address of the pushed argument.
5073
7451d027
AC
50742001-03-17 Andrew Cagney <ac131313@redhat.com>
5075
5076 * p-exp.y (parse_number): Avoid shift overflow when ``long''.
5077 Code copied from c-exp.y.
5078
fb70ab0c
KB
50792001-03-18 Kevin Buettner <kevinb@redhat.com>
5080
5081 * acconfig.h (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
5082 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
5083 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New configure macros.
5084 * configure.in (HAVE_STRUCT_LINK_MAP32): Move this test out
5085 of the Solaris procfs testing section. Instead, group with...
5086 (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
5087 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
5088 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New <link.h> tests.
5089 * configure: Regenerate.
5090 * config.in: Regenerate.
5091
5092 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Use
5093 new configure macros to choose which (if any) code to
5094 compile in. Added code to explicitly handle *BSD systems;
5095 these systems were previously handled only through macro
5096 redefinition. Also, due to the way the autoconf tests are set
5097 up, this function will no longer return a non-zero value when
5098 GDB is configured as a cross debugger. I.e, cross debuggers
5099 will no longer be able to "accidentally" get the host system's
5100 link map offsets.
5101
8aa16b78
KB
51022001-03-18 Kevin Buettner <kevinb@redhat.com>
5103
5104 * config/i386/nbsd.mh (NATDEPFILES): List all files on the same
5105 line to avoid build problem on NetBSD 1.4.
5106
559e75c0
MC
51072001-03-17 Michael Chastain <chastain@redhat.com>
5108
5109 * win32-nat.c (child_attach): check args for NULL before passing
5110 to strtoul. This fixes PR gdb/43.
5111
fc338970
MK
51122001-03-17 Mark Kettenis <kettenis@gnu.org>
5113
7daede3b
MK
5114 * i387-nat.h: Doc Fix.
5115
fc338970
MK
5116 * i386-tdep.c: Fix formatting.
5117 (i386_get_frame_setup, i386_follow_jump, codestream_read,
5118 codestream_seek, codestream_fill, skip_trampoline_code,
5119 gdb_print_insn_i386, _initialize_i386_tdep): Remove redundant
5120 prototypoes.
5121
e3c6d36d
MK
51222001-03-17 Mark Kettenis <kettenis@gnu.org>
5123
5124 * config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
5125 no longer used. Also remove associated FIXME.
5126
4a5c6a1d
AC
51272001-03-16 Andrew Cagney <ac131313@redhat.com>
5128
5129 * gdbarch.sh: Add classes ``m'' and ``M'' for pure multi-arch. Do
5130 not generate macro wrappers for multi-arch functions or
5131 predicates.
5132 (class_is_info_p, class_is_predicate_p): Update.
5133 (class_is_function_p, class_is_variable_p): Ditto.
5134 (class_is_multiarch_p): New class function.
5135
7256e1a5
C
51362001-03-16 J.T. Conklin <jtc@redback.com>
5137
5138 * config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
5139 h8300_frame_args_address from frame_args_address.
5140 (FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address
5141 from frame_locals_address.
5142 (PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook
5143 from print_register_hook.
5144 (h8300_frame_args_address): Declare.
5145 (h8300_frame_find_saved_regs): Declare.
5146 (h8300_frame_locals_address): Declare.
5147 (h8300_frame_saved_pc): Declare.
5148 (h8300_pop_frame): Declare.
5149 (h8300_print_register_hook): Declare.
5150 * h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration.
5151 (h8300_frame_args_address): Renamed from frame_args_address.
5152 (h8300_frame_locals_address): Renamed from frame_locals_address.
5153 (h8300_pop_frame): Renamed from pop_frame.
5154 (h8300_print_register_hook): Renamed from print_register_hook.
5155
435b259c
KB
51562001-03-16 Kevin Buettner <kevinb@redhat.com>
5157
5158 * solib-svr4.c (bfd_lookup_symbol): Change type of
5159 ``storage_needed'' from unsigned int to long in order to
5160 match return type of bfd_get_symtab_upper_bound() and
5161 bfd_get_dynamic_symtab_upper_bound().
5162 * solib-aix5.c (bfd_lookup_symbol): Likewise. Also, eliminate
5163 REASONABLE_LIMIT hack which had been added to work around this
5164 problem.
5165
80117be2
KB
51662001-03-15 Kevin Buettner <kevinb@redhat.com>
5167
5168 * solib-aix5.c (bfd_lookup_symbol, build_so_list_from_mapfile)
5169 (aix5_relocate_main_executable, aix5_clear_solib): Replace calls
5170 to free() with calls to xfree().
5171 (bfd_lookup_symbol): Eliminate use of PTR.
5172 (build_so_list_from_mapfile): Use xasprintf() instead of sprintf().
5173
77cd5909
MH
51742001-03-15 Martin Hunt <hunt@redhat.com>
5175
5176 * linespec.c (decode_line_1): Remove trailing quote
5177 when parsing double quotes.
5178
f7f5a202
KB
51792001-03-15 Kevin Buettner <kevinb@redhat.com>
5180
5181 * uw-thread.c (read_thr_debug, read_map, read_lwp, thread_iter)
5182 (libthread_stub, libthread_init): Pass NULL for the mem_attrib
5183 argument in the to_xfer_memory calls.
5184
0d35ddba
AC
51852001-03-15 Andrew Cagney <ac131313@redhat.com>
5186
5187 * MAINTAINERS: Fix typo - w65 not w64. Still doesn't build.
5188 * TODO (GDB 5.1 - Cleanups): Add status of targets being obsoleted.
5189
043780a1
AC
51902001-03-15 Andrew Cagney <ac131313@redhat.com>
5191
5192 * wince.c (child_xfer_memory): Add attrib parameter.
5193 * symm-nat.c (child_xfer_memory): Ditto.
5194 * mac-nat.c (child_xfer_memory): Ditto.
5195 * infttrace.c (child_xfer_memory): Ditto.
5196 * procfs.c (procfs_xfer_memory): Ditto.
5197 * lin-thread.c (thread_db_xfer_memory): Ditto.
5198 * gnu-nat.c (gnu_xfer_memory): Ditto.
5199
9b9c068d
AC
52002001-03-14 Andrew Cagney <ac131313@redhat.com>
5201
5202 * NEWS: Mention that Harris/CXUX m88k is obsolete.
5203
f88e2c52
AC
52042001-03-13 Andrew Cagney <ac131313@redhat.com>
5205
5206 * config/mips/tm-mips.h: Include "regcache.h" for macros refering
5207 to regcache functions.
5208 * config/m68k/tm-m68k.h: Ditto.
5209 * config/i386/tm-i386v.h: Ditto.
5210 * config/mcore/tm-mcore.h: Ditto.
5211 * config/m88k/tm-m88k.h: Ditto.
5212 * config/m68k/tm-news.h: Ditto.
5213 * config/m68k/tm-linux.h: Ditto.
5214 * config/m68k/tm-delta68.h: Ditto.
5215 * config/m68k/nm-sun3.h: Ditto.
5216 * config/m32r/tm-m32r.h: Ditto.
5217 * config/i386/tm-symmetry.h: Ditto.
5218 * config/i386/tm-sun386.h: Ditto.
5219 * config/i386/tm-i386.h: Ditto.
5220 * config/i386/nm-symmetry.h: Ditto.
5221 * config/i386/nm-sun386.h: Ditto.
5222 * config/i386/nm-ptx4.h: Ditto.
5223 * config/i386/nm-i386mach.h: Ditto.
5224 * config/h8500/tm-h8500.h: Ditto.
5225 * config/h8300/tm-h8300.h: Ditto.
5226 * config/fr30/tm-fr30.h: Ditto.
5227 * config/d30v/tm-d30v.h: Ditto.
5228 * config/arm/tm-arm.h: Ditto.
5229 * config/arc/tm-arc.h: Ditto.
5230 * config/alpha/tm-alpha.h: Ditto.
5231 * config/a29k/tm-vx29k.h: Ditto.
5232 * config/a29k/tm-a29k.h: Ditto.
5233 * config/w65/tm-w65.h: Ditto.
5234 * config/vax/tm-vax.h: Ditto.
5235 * config/v850/tm-v850.h: Ditto.
5236 * config/tic80/tm-tic80.h: Ditto.
5237 * config/sparc/tm-sparclite.h: Ditto.
5238 * config/sparc/tm-sparclet.h: Ditto.
5239 * config/sparc/tm-sparc.h: Ditto.
5240 * config/sparc/nm-sun4sol2.h: Ditto.
5241 * config/sparc/nm-sun4os4.h: Ditto.
5242 * config/sparc/nm-nbsd.h: Ditto.
5243 * config/powerpc/nm-solaris.h: Ditto.
5244 * config/pa/tm-hppao.h: Ditto.
5245 * config/pa/tm-hppa.h: Ditto.
5246 * config/pa/nm-hppab.h: Ditto.
5247 * config/ns32k/tm-umax.h: Ditto.
5248 * config/ns32k/tm-merlin.h: Ditto.
5249 * config/nm-m3.h: Ditto.
5250 * config/nm-gnu.h: Ditto.
5251
0981ead9
AC
52522001-03-14 Andrew Cagney <ac131313@redhat.com>
5253
5254 * MAINTAINERS: Update list of targets. Mark arm-* and v850-elf as
5255 broken. Mark sh-*, ia64-linux and ns32k-netbsd as buildable.
5256 Specify an m88k target. Include sample GAWK script to generate
5257 target list. Delete non-existant romp target.
5258 * TODO (GDB 5.1 - Cleanups): Update.
5259
91c1720e
KS
52602001-03-14 Keith Seitz <keiths@cygnus.com>
5261
5262 * linespec.c (decode_line_1): Skip argptr over a leading
5263 double quote. Prevents alloc of 0 bytes and memcpy of -1 bytes.
5264
3cc122b3
KB
52652001-03-14 Kevin Buettner <kevinb@redhat.com>
5266
5267 * config/djgpp/fnchange.lst (ia64-aix-nat.c): Add entry.
5268
5bb367b1
AC
52692001-03-13 Andrew Cagney <ac131313@redhat.com>
5270
5271 * ui-out.h: Remove #if __STDC__, assume an ISO-C compiler.
5272 * m3-nat.c: Ditto.
5273 * p-lang.h: Ditto.
5274 * printcmd.c (printf_command): Ditto.
5275 * ch-exp.c (match_integer_literal): Ditto.
5276 * scm-tags.h: Ditto.
5277 * ser-go32.c: Ditto.
5278 * hppa-tdep.c (unwind_command): Ditto.
5279 * defs.h (volatile): Delete macro definition. Assume __STDC__.
5280 * remote-adapt.c (volatile): Ditto.
5281 * remote-eb.c (volatile): Ditto.
5282 * remote-mm.c (volatile): Ditto.
5283 * defs.h (alloca): Assume __STDC__, declare returning void *.
5284
a728f042
AC
52852001-03-08 Andrew Cagney <ac131313@redhat.com>
5286
5287 * inferior.h (ARCH_NUM_REGS): Delete definition.
5288 * stack.c (frame_info): Use NUM_REGS, not ARCH_NUM_REGS.
5289 * regcache.c (registers_changed): Ditto.
5290 (registers_fetched): Ditto.
5291 * infptrace.c (fetch_inferior_registers): Ditto.
5292 (store_inferior_registers): Ditto.
5293 * infcmd.c (do_registers_info): Ditto.
5294 (registers_info): Ditto.
5295 * i386-linux-nat.c (old_fetch_inferior_registers): Ditto.
5296 (old_store_inferior_registers): Ditto.
5297 * gdbserver/low-linux.c (register_addr): Ditto.
5298 * gdbserver/low-hppabsd.c (register_addr): Ditto.
5299 * core-aout.c: Don't include "inferior.h".
5300 (fetch_core_registers): Use NUM_REGS not ARCH_NUM_REGS.
5301 (register_addr): Ditto.
5302
f48ff60a
FN
53032001-03-13 Fernando Nasser <fnasser@redhat.com>
5304
5305 From Steven Johnson <sjohnson@neurizon.net>
5306 * cli/cli-script.c (define_command): Fix setting of post hooks.
5307
305d65ca
MK
53082001-03-13 Mark Kettenis <kettenis@gnu.org>
5309
5310 * i386-linux-tdep.c: Fix formatting and clarify comments.
5311 (i386_linux_svr4_fetch_link_map_offsets): Use NULL instead of 0
5312 where appropriate.
5313
bf62e5b4
AC
53142001-03-12 Andrew Cagney <ac131313@redhat.com>
5315
5316 * gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
5317 (proc_update_sc): Use gdb_assert instead of assert.
5318 (proc_abort): Ditto.
5319 (inf_set_step_thread): Ditto.
5320 (gnu_wait): Ditto.
5321 (S_exception_raise_request): Ditto.
5322 (gnu_terminal_init_inferior): Ditto.
5323
21479ded
KB
53242001-03-09 Kevin Buettner <kevinb@redhat.com>
5325
5326 * Makefile.in (solib-svr4.o): Depend on solib-svr4.c, not solib.c.
5327 (solib-legacy.o): New makefile target.
5328 * solib-legacy.c: New file.
5329 * solib-svr4.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete.
5330 (default_svr4_fetch_link_map_offsets): Delete.
5331 (set_solib_svr4_fetch_link_map_offsets): Declare.
5332 (legacy_svr4_fetch_link_map_offsets_hook): Declare.
5333 * solib-svr4.c (elf/common.h): Include.
5334 (link.h): Only include for SunOS shared library support.
5335 (_SYSCALL32): Don't define.
5336 (SVR4_FETCH_LINK_MAP_OFFSETS): Define.
5337 (default_svr4_fetch_link_map_offsets): Made static; added forward
5338 declaration.
5339 (fetch_link_map_offsets): New static global.
5340 (legacy_svr4_fetch_link_map_offsets_hook): New global variable.
5341 (default_svr4_fetch_link_map_offsets): Rewritten. The guts
5342 of what used to be in this function now reside in
5343 legacy_svr4_fetch_link_map_offsets() in solib-legacy.c.
5344 (open_symbol_file_object): Fix declaration in SunOS section
5345 of the code.
5346 (set_solib_svr4_fetch_link_map_offsets): New extern function.
5347 (init_fetch_link_map_offsets): New static function.
5348 (_initialize_svr4_solib): Put static global fetch_link_map_offsets
5349 under multiarch control.
5350
5351 * config/alpha/alpha-linux.mt (TDEPFILES): Add solib-legacy.o to
5352 list.
5353 * config/alpha/fbsd.mh (NATDEPFILES): Likewise.
5354 * config/arm/linux.mt (TDEPFILES): Likewise.
5355 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
5356 * config/i386/i386dgux.mh (NATDEPFILES): Likewise.
5357 * config/i386/i386gnu.mh (NATDEPFILES): Likewise.
5358 * config/i386/i386sco5.mh (NATDEPFILES): Likewise.
5359 * config/i386/i386sol2.mt (TDEPFILES): Likewise.
5360 * config/i386/i386v4.mh (NATDEPFILES): Likewise.
5361 * config/i386/i386v42mp.mh (NATDEPFILES): Likewise.
5362 * config/i386/linux.mt (TDEPFILES): Likewise.
5363 * config/i386/nbsd.mh (NATDEPFILES): Likewise.
5364 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
5365 * config/i386/ncr3000.mt (TDEPFILES): Likewise.
5366 * config/i386/ptx4.mh (XDEPFILES): Likewise.
5367 * config/i386/sun386.mt (TDEPFILES): Likewise.
5368 * config/ia64/linux.mt (TDEPFILES): Likewise.
5369 * config/m68k/linux.mt (TDEPFILES): Likewise.
5370 * config/m68k/m68kv4.mh (NATDEPFILES): Likewise.
5371 * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
5372 * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
5373 * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
5374 * config/m88k/delta88v4.mh (NATDEPFILES): Likewise.
5375 * config/mips/mipsv4.mh (NATDEPFILES): Likewise.
5376 * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
5377 * config/powerpc/linux.mt (TDEPFILES): Likewise.
5378 * config/powerpc/nbsd.mh (NATDEPFILES): Likewise.
5379 * config/powerpc/solaris.mh (NATDEPFILES): Likewise.
5380 * config/sh/linux.mt (TDEPFILES): Likewise.
5381 * config/sparc/linux.mt (TDEPFILES): Likewise.
5382 * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
5383 * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise.
5384 * config/sparc/sp64linux.mt (TDEPFILES): Likewise.
5385 * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
5386 * config/sparc/sun4sol2.mh (NATDEPFILES): Likewise.
5387
d7fa9de0
KB
53882001-03-09 Kevin Buettner <kevinb@redhat.com>
5389
5390 * utils.c (xmrealloc, xcalloc): Return NULL for zero-sized requests.
5391
f8241bd1
AC
53922001-03-09 Andrew Cagney <ac131313@redhat.com>
5393
5394 * MAINTAINERS (Write After Approval): Update Philip Blundell.
5395
e6b4b0c2
KS
53962001-03-09 Keith Seitz <keiths@cygnus.com>
5397
5398 * MAINTAINERS: Add myself to write after approval list.
5399
96836138
MK
54002001-03-09 Mark Kettenis <kettenis@gnu.org>
5401
5402 * i387-tdep.c (print_i387_status_word): Fix printing of Stack
5403 fault flag. It is bit 6 of the x87 FPU status word, not bit 7.
5404
1b594327
AC
54052001-03-08 Andrew Cagney <ac131313@redhat.com>
5406
5407 * configure.host (m88*-harris-cxux*): Mark as obsolete.
5408 * configure.tgt: Ditto.
5409 * config/m88k/xm-cxux.h: Ditto.
5410 * config/m88k/tm-cxux.h: Ditto.
5411 * config/m88k/nm-cxux.h: Ditto.
5412 * config/m88k/cxux.mt: Ditto.
5413 * config/m88k/cxux.mh: Ditto.
5414
4a32a1e4
AC
54152001-03-08 Andrew Cagney <ac131313@redhat.com>
5416
5417 * Makefile.in: Delete rules for obsolete files.
5418
ec9a3449
DT
5419Thu Mar 8 15:43:40 2001 David Taylor <taylor@redhat.com>
5420
5421 * stack.c (parse_frame_specification): For one argument case,
5422 handle the situation where the argument is an integer, not an
5423 address -- arguably the most common case. This matters on
5424 targets where pointers and addresses are different.
5425
a50c34dc
AC
54262001-03-08 Andrew Cagney <ac131313@redhat.com>
5427
5428 * TODO: Revise 5.1 list. Delete PARAMS task. Add coding standard
5429 review. Clarify GNU/LINUX/sparc. Move other tasks to 5.2 or
5430 general.
5431
cfc046cf
AC
54322001-03-07 Andrew Cagney <ac131313@redhat.com>
5433
5434 * TODO (GDB 5.1 Known Problems): Document problem of building GDB
5435 with SID on Solaris 8.
5436
39424bef
MK
54372001-03-07 Mark Kettenis <kettenis@gnu.org>
5438
5439 * defs.h: Provide prototypes for floatformat_is_negative,
5440 floatformat_is_nan and floatformat_mantissa.
5441 * utils.c: Include "gdb_assert.h".
5442 (floatformat_is_negative): New function.
5443 (floatformat_is_nan): New function.
5444 (floatformat_mantissa): New function.
5445 * valprint.c: Include "floatformat.h".
5446 (print_floating): Get rid of the Linux-specific
5447 TARGET_ANALYZE_FLOATING macro and rewrite NaN detection with the
5448 help these new functions. Print NaN's in a format conforming to
5449 ISO C99.
5450
7a1bd56a
EZ
54512001-03-07 Eli Zaretskii <eliz@is.elta.co.il>
5452
5453 * top.c (init_main): Make `set history file name' complete on file
5454 names.
5455
5565b556
C
54562001-03-06 J.T. Conklin <jtc@redback.com>
5457
21a12a30
C
5458 * Makefile.in (LINTFLAGS): Update to contain all of the macros
5459 which define include paths used when compiling.
5460
5461 * util.c (savestring, msavestring): Change type of length argument.
5462 * defs.h (savestring, msavestring): Update to match.
5463
5565b556
C
5464 * symtab.h (decode_line_1): Removed declaration.
5465
5466 * symfile.c (#include <assert.h>): Removed.
5467
5468 * arch-utils.c (#include <ctype.h>): Removed.
5469 * c-typeprint.c: Likewise.
5470 * dbxread.c: Likewise.
5471 * gdbtypes.c: Likewise.
5472 * target.c: Likewise.
5473 * os9kread.c: Likewise.
5474
5475 * c-valprint.c (#include "demangle.h"): Removed.
5476 * ch-typeprint.c: Likewise.
5477 * eval.c: Likewise.
5478 * f-typeprint.c: Likewise.
5479 * f-valprint.c: Likewise.
5480 * m2-typeprint.c: Likewise.
5481 * typeprint.c: Likewise.
5482 * p-typeprint.c: Likewise.
5483 * valarith.c: Likewise.
5484 * valprint.c: Likewise.
5485
5486 * m2-typeprint.c (#include "gdb_string.h"): Removed.
5487 * nlmread.c: Likewise.
5488
5489 * mdebugread.c (#include "gdb-stabs.h"): Removed.
5490 * minsyms.c: Likewise.
5491 * mipsread.c: Likewise.
5492 * nlmread.c: Likewise.
5493
5494 * m2-typeprint.c (#include "obstack.h"): Removed.
5495 * m2-valprint.c: Likewise.
5496
5497 * event-loop.c (#include <setjmp.h>): Removed.
5498
e8be95ae
SS
54992001-03-06 Stan Shebs <shebs@apple.com>
5500
5501 * MAINTAINERS: Remove self from specific maintenance domains
5502 (macos, gdbserver, documentation, testsuite).
5503
b6ba6518
KB
55042001-03-06 Kevin Buettner <kevinb@redhat.com>
5505
5506 * 29k-share/udi/udip2soc.c, Makefile.in, a29k-tdep.c,
5507 a68v-nat.c, abug-rom.c, aclocal.m4, alpha-nat.c, alpha-tdep.c,
5508 annotate.c, annotate.h, arc-tdep.c, arch-utils.c,
5509 arch-utils.h, arm-tdep.c, ax-gdb.c, ax-gdb.h, ax-general.c,
5510 ax.h, bcache.c, bcache.h, blockframe.c, breakpoint.c,
5511 breakpoint.h, buildsym.c, buildsym.h, c-exp.y, c-lang.c,
5512 c-lang.h, c-typeprint.c, c-valprint.c, call-cmds.h, ch-exp.c,
5513 ch-lang.c, ch-lang.h, ch-typeprint.c, ch-valprint.c,
5514 cli/cli-cmds.h, cli/cli-decode.c, cli/cli-decode.h,
5515 cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.h,
5516 cli/cli-utils.h, cli-out.c, cli-out.h, coff-solib.c,
5517 coff-solib.h, coffread.c, command.h, complaints.c,
5518 complaints.h, completer.c, completer.h,
5519 config/a29k/nm-ultra3.h, config/a29k/tm-a29k.h,
5520 config/a29k/tm-ultra3.h, config/a29k/tm-vx29k.h,
5521 config/a29k/xm-ultra3.h, config/alpha/nm-fbsd.h,
5522 config/alpha/nm-linux.h, config/alpha/nm-osf.h,
5523 config/alpha/nm-osf2.h, config/alpha/nm-osf3.h,
5524 config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h,
5525 config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h,
5526 config/alpha/xm-fbsd.h, config/arc/tm-arc.h,
5527 config/arm/nm-linux.h, config/arm/tm-arm.h,
5528 config/arm/tm-embed.h, config/d10v/tm-d10v.h,
5529 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
5530 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
5531 config/i386/nm-fbsd.h, config/i386/nm-gnu.h,
5532 config/i386/nm-i386bsd.h, config/i386/nm-i386mach.h,
5533 config/i386/nm-i386sco.h, config/i386/nm-i386sol2.h,
5534 config/i386/nm-i386v.h, config/i386/nm-i386v4.h,
5535 config/i386/nm-i386v42mp.h, config/i386/nm-linux.h,
5536 config/i386/nm-nbsd.h, config/i386/nm-nbsdelf.h,
5537 config/i386/nm-ptx4.h, config/i386/nm-sun386.h,
5538 config/i386/nm-symmetry.h, config/i386/tm-cygwin.h,
5539 config/i386/tm-fbsd.h, config/i386/tm-i386.h,
5540 config/i386/tm-i386aix.h, config/i386/tm-i386bsd.h,
5541 config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h,
5542 config/i386/tm-i386m3.h, config/i386/tm-i386mk.h,
5543 config/i386/tm-i386nw.h, config/i386/tm-i386os9k.h,
5544 config/i386/tm-i386sco5.h, config/i386/tm-i386sol2.h,
5545 config/i386/tm-i386v.h, config/i386/tm-i386v4.h,
5546 config/i386/tm-i386v42mp.h, config/i386/tm-linux.h,
5547 config/i386/tm-nbsd.h, config/i386/tm-ptx.h,
5548 config/i386/tm-ptx4.h, config/i386/tm-sun386.h,
5549 config/i386/tm-symmetry.h, config/i386/tm-vxworks.h,
5550 config/i386/xm-fbsd.h, config/i386/xm-i386bsd.h,
5551 config/i386/xm-i386gnu.h, config/i386/xm-i386m3.h,
5552 config/i386/xm-i386mach.h, config/i386/xm-i386mk.h,
5553 config/i386/xm-i386sco.h, config/i386/xm-i386v4.h,
5554 config/i386/xm-linux.h, config/i386/xm-nbsd.h,
5555 config/i386/xm-ptx.h, config/i386/xm-ptx4.h,
5556 config/i386/xm-sun386.h, config/i386/xm-symmetry.h,
5557 config/i960/tm-i960.h, config/i960/tm-mon960.h,
5558 config/i960/tm-nindy960.h, config/i960/tm-vx960.h,
5559 config/ia64/nm-aix.h, config/ia64/nm-linux.h,
5560 config/ia64/tm-aix.h, config/ia64/tm-ia64.h,
5561 config/ia64/tm-linux.h, config/ia64/xm-aix.h,
5562 config/ia64/xm-linux.h, config/m68k/nm-apollo68b.h,
5563 config/m68k/nm-delta68.h, config/m68k/nm-dpx2.h,
5564 config/m68k/nm-hp300bsd.h, config/m68k/nm-hp300hpux.h,
5565 config/m68k/nm-linux.h, config/m68k/nm-sun3.h,
5566 config/m68k/tm-apollo68b.h, config/m68k/tm-cisco.h,
5567 config/m68k/tm-dpx2.h, config/m68k/tm-es1800.h,
5568 config/m68k/tm-hp300bsd.h, config/m68k/tm-hp300hpux.h,
5569 config/m68k/tm-isi.h, config/m68k/tm-linux.h,
5570 config/m68k/tm-m68k.h, config/m68k/tm-m68kv4.h,
5571 config/m68k/tm-mac.h, config/m68k/tm-monitor.h,
5572 config/m68k/tm-nbsd.h, config/m68k/tm-news.h,
5573 config/m68k/tm-os68k.h, config/m68k/tm-sun3.h,
5574 config/m68k/tm-vx68.h, config/m68k/xm-3b1.h,
5575 config/m68k/xm-apollo68b.h, config/m68k/xm-dpx2.h,
5576 config/m68k/xm-hp300bsd.h, config/m68k/xm-hp300hpux.h,
5577 config/m68k/xm-linux.h, config/m68k/xm-m68kv4.h,
5578 config/m68k/xm-mpw.h, config/m68k/xm-news.h,
5579 config/m68k/xm-sun2.h, config/m68k/xm-sun3.h,
5580 config/m68k/xm-sun3os4.h, config/m88k/nm-delta88v4.h,
5581 config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h,
5582 config/m88k/tm-m88k.h, config/m88k/xm-cxux.h,
5583 config/m88k/xm-delta88.h, config/m88k/xm-delta88v4.h,
5584 config/m88k/xm-dgux.h, config/mcore/tm-mcore.h,
5585 config/mips/nm-irix3.h, config/mips/nm-irix4.h,
5586 config/mips/nm-irix5.h, config/mips/nm-mips.h,
5587 config/mips/nm-news-mips.h, config/mips/tm-bigmips.h,
5588 config/mips/tm-embed.h, config/mips/tm-embed64.h,
5589 config/mips/tm-embedl.h, config/mips/tm-embedl64.h,
5590 config/mips/tm-irix3.h, config/mips/tm-irix5.h,
5591 config/mips/tm-mips.h, config/mips/tm-mips64.h,
5592 config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h,
5593 config/mips/tm-tx39.h, config/mips/tm-tx39l.h,
5594 config/mips/tm-vr4100.h, config/mips/tm-vr4300.h,
5595 config/mips/tm-vr4300el.h, config/mips/tm-vr4xxx.h,
5596 config/mips/tm-vr4xxxel.h, config/mips/tm-vr5000.h,
5597 config/mips/tm-vr5000el.h, config/mips/xm-irix3.h,
5598 config/mips/xm-irix4.h, config/mips/xm-irix5.h,
5599 config/mips/xm-mips.h, config/mips/xm-mipsm3.h,
5600 config/mips/xm-mipsv4.h, config/mips/xm-news-mips.h,
5601 config/mips/xm-riscos.h, config/mn10200/tm-mn10200.h,
5602 config/mn10300/tm-mn10300.h, config/nm-gnu.h,
5603 config/nm-linux.h, config/nm-lynx.h, config/nm-m3.h,
5604 config/nm-sysv4.h, config/none/nm-none.h,
5605 config/none/tm-none.h, config/none/xm-none.h,
5606 config/ns32k/nm-nbsd.h, config/ns32k/nm-umax.h,
5607 config/ns32k/tm-merlin.h, config/ns32k/tm-nbsd.h,
5608 config/ns32k/tm-ns32km3.h, config/ns32k/tm-umax.h,
5609 config/ns32k/xm-merlin.h, config/ns32k/xm-ns32km3.h,
5610 config/pa/nm-hppab.h, config/pa/nm-hppah.h,
5611 config/pa/nm-hppao.h, config/pa/tm-hppa.h,
5612 config/pa/tm-hppa64.h, config/pa/tm-hppah.h,
5613 config/pa/xm-hppab.h, config/pa/xm-hppah.h,
5614 config/powerpc/nm-aix.h, config/powerpc/nm-linux.h,
5615 config/powerpc/nm-macos.h, config/powerpc/nm-nbsd.h,
5616 config/powerpc/tm-cygwin.h, config/powerpc/tm-linux.h,
5617 config/powerpc/tm-macos.h, config/powerpc/tm-ppc-aix.h,
5618 config/powerpc/tm-ppc-eabi.h, config/powerpc/tm-ppc-nw.h,
5619 config/powerpc/tm-ppcle-eabi.h, config/powerpc/tm-solaris.h,
5620 config/powerpc/xm-aix.h, config/powerpc/xm-linux.h,
5621 config/powerpc/xm-mpw.h, config/rs6000/nm-rs6000.h,
5622 config/rs6000/tm-rs6000.h, config/rs6000/tm-rs6000ly.h,
5623 config/rs6000/xm-aix4.h, config/rs6000/xm-rs6000.h,
5624 config/sh/tm-linux.h, config/sh/tm-sh.h, config/sh/tm-wince.h,
5625 config/sparc/nm-linux.h, config/sparc/nm-nbsd.h,
5626 config/sparc/nm-nbsdelf.h, config/sparc/nm-sparclynx.h,
5627 config/sparc/nm-sun4os4.h, config/sparc/nm-sun4sol2.h,
5628 config/sparc/tm-linux.h, config/sparc/tm-sp64.h,
5629 config/sparc/tm-sp64sim.h, config/sparc/tm-sparc.h,
5630 config/sparc/tm-sparclet.h, config/sparc/tm-sparclite.h,
5631 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
5632 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
5633 config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
5634 config/tic80/tm-tic80.h, config/tm-linux.h, config/tm-lynx.h,
5635 config/tm-sysv4.h, config/v850/tm-v850.h, config/vax/tm-vax.h,
5636 config/w65/tm-w65.h, config/xm-aix4.h, config/xm-lynx.h,
5637 config/xm-mpw.h, config/xm-nbsd.h, config/xm-sysv4.h,
5638 config/z8k/tm-z8k.h, configure.in, core-aout.c, core-regset.c,
5639 core-sol2.c, corefile.c, corelow.c, cp-valprint.c,
5640 cpu32bug-rom.c, cxux-nat.c, d10v-tdep.c, d30v-tdep.c,
5641 dbug-rom.c, dbxread.c, dcache.c, dcache.h, defs.h,
5642 delta68-nat.c, demangle.c, dink32-rom.c, dpx2-nat.c, dsrec.c,
5643 dstread.c, dve3900-rom.c, dwarf2read.c, dwarfread.c,
5644 elfread.c, environ.c, environ.h, eval.c, event-loop.c,
5645 event-loop.h, event-top.c, exec.c, expprint.c, f-exp.y,
5646 f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c, findvar.c,
5647 fork-child.c, fr30-tdep.c, frame.c, frame.h, gdb-events.c,
5648 gdb-events.h, gdb-events.sh, gdb-stabs.h, gdb.1, gdb_string.h,
5649 gdb_thread_db.h, gdbcmd.h, gdbcore.h, gdbserver/Makefile.in,
5650 gdbserver/gdbreplay.c, gdbserver/gdbserver.1,
5651 gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
5652 gdbserver/low-lynx.c, gdbserver/low-nbsd.c,
5653 gdbserver/low-sim.c, gdbserver/low-sparc.c,
5654 gdbserver/low-sun3.c, gdbserver/remote-utils.c,
5655 gdbserver/server.c, gdbserver/server.h, gdbserver/utils.c,
5656 gdbthread.h, gdbtypes.c, gdbtypes.h, gnu-nat.c, gnu-nat.h,
5657 gnu-regex.c, gnu-regex.h, h8300-tdep.c, h8500-tdep.c,
5658 hp-psymtab-read.c, hp-symtab-read.c, hp300ux-nat.c,
5659 hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c, hpread.c,
5660 hpread.h, hpux-thread.c, i386-tdep.c, i386aix-nat.c,
5661 i386b-nat.c, i386gnu-nat.c, i386ly-tdep.c, i386m3-nat.c,
5662 i386mach-nat.c, i386nbsd-nat.c, i386nbsd-tdep.c, i386v-nat.c,
5663 i386v4-nat.c, i387-tdep.c, i960-tdep.c, infcmd.c, inferior.h,
5664 inflow.c, infptrace.c, infrun.c, inftarg.c, infttrace.c,
5665 irix4-nat.c, irix5-nat.c, isi-xdep.c, jv-exp.y, jv-lang.c,
5666 jv-lang.h, jv-typeprint.c, jv-valprint.c, kdb-start.c,
5667 kod-cisco.c, kod.c, language.c, language.h, lin-thread.c,
5668 linespec.c, linespec.h, linux-thread.c, lynx-nat.c, m2-exp.y,
5669 m2-lang.c, m2-lang.h, m2-typeprint.c, m2-valprint.c, m3-nat.c,
5670 m32r-rom.c, m32r-tdep.c, m68k-tdep.c, m68klinux-nat.c,
5671 m68knbsd-nat.c, m88k-nat.c, m88k-tdep.c, mac-nat.c,
5672 mac-xdep.c, main.c, maint.c, mcore-rom.c, mcore-tdep.c,
5673 mdebugread.c, mem-break.c, minimon.h, minsyms.c, mips-nat.c,
5674 mips-tdep.c, mipsm3-nat.c, mipsread.c, mipsv4-nat.c,
5675 mn10200-tdep.c, mn10300-tdep.c, mon960-rom.c, monitor.c,
5676 monitor.h, news-xdep.c, nindy-share/env.h, nindy-tdep.c,
5677 nlm/Makefile.in, nlmread.c, ns32k-tdep.c, ns32km3-nat.c,
5678 ns32knbsd-nat.c, objfiles.c, objfiles.h, ocd.c, ocd.h,
5679 op50-rom.c, os9kread.c, osfsolib.c, p-exp.y, pa64solib.c,
5680 pa64solib.h, parse.c, parser-defs.h, partial-stab.h,
5681 ppc-bdm.c, ppc-linux-nat.c, ppc-linux-tdep.c, ppcbug-rom.c,
5682 ppcnbsd-nat.c, printcmd.c, proc-api.c, proc-events.c,
5683 proc-flags.c, proc-utils.h, proc-why.c, procfs.c, ptx4-nat.c,
5684 rdi-share/Makefile.in, rdi-share/aclocal.m4, regcache.c,
5685 regcache.h, remote-adapt.c, remote-array.c, remote-bug.c,
5686 remote-e7000.c, remote-eb.c, remote-es.c, remote-est.c,
5687 remote-hms.c, remote-mips.c, remote-mm.c, remote-nindy.c,
5688 remote-nrom.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
5689 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
5690 remote-utils.c, remote-utils.h, remote-vx.c, remote.c,
5691 remote.h, reply_mig_hack.awk, rom68k-rom.c, rs6000-nat.c,
5692 rs6000-tdep.c, scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h,
5693 scm-valprint.c, ser-e7kpc.c, ser-mac.c, ser-ocd.c, ser-pipe.c,
5694 ser-tcp.c, ser-unix.c, serial.c, serial.h, sh-tdep.c,
5695 sh3-rom.c, sol-thread.c, solib-aix5.c, solib-svr4.c, solib.c,
5696 solib.h, solist.h, somread.c, somsolib.c, somsolib.h,
5697 source.c, sparc-nat.c, sparc-tdep.c, sparcl-tdep.c,
5698 sparclet-rom.c, srec.h, stabsread.c, stabsread.h, stack.c,
5699 standalone.c, stop-gdb.c, stuff.c, sun3-nat.c, sun386-nat.c,
5700 symfile.c, symfile.h, symm-nat.c, symm-tdep.c, symmisc.c,
5701 symtab.c, symtab.h, target.c, target.h, terminal.h, thread.c,
5702 tic80-tdep.c, top.c, top.h, tracepoint.c, tracepoint.h,
5703 typeprint.c, ui-file.c, ui-file.h, ui-out.h, ultra3-nat.c,
5704 ultra3-xdep.c, umax-xdep.c, utils.c, v850-tdep.c, v850ice.c,
5705 valarith.c, valops.c, valprint.c, value.h, values.c, varobj.h,
5706 vax-tdep.c, version.h, vx-share/vxWorks.h, vx-share/xdr_ld.c,
5707 vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h,
5708 vx-share/xdr_rdb.c, w65-tdep.c, w89k-rom.c, win32-nat.c,
5709 wrapper.c, wrapper.h, xcoffread.c, xcoffsolib.c, xcoffsolib.h,
5710 xmodem.c, xmodem.h, z8k-tdep.c: Update/correct copyright
5711 notices.
5712
596c9d4b
KB
57132001-03-05 Kevin Buettner <kevinb@redhat.com>
5714
5715 * acconfig.h (HAVE_PRSYSENT_T, HAVE_PR_SIGSET_T,
5716 HAVE_PR_SIGACTION64_T, HAVE_PR_SIGINFO64_T): New configure
5717 macros.
5718 * configure.in (prsysent_t, pr_sigset_t, pr_sigaction64_t,
5719 pr_siginfo64_t): Test for these typedefs in <sys/procfs.h>.
5720 (sys/fault.h, sys/select.h): Test for presence of these
5721 header files.
5722 (ia64-*-aix*): Define NEW_PROC_API for this host.
5723 * configure: Regenerate.
5724 * config.in: Regenerate.
5725
5726 * configure.host (ia64-*-aix*): New host.
5727 * configure.tgt (ia64-*-aix*): New target.
8a5c92d3 5728
eccbb20d
AC
57292001-03-05 Andrew Cagney <ac131313@redhat.com>
5730
5731 * TODO (GDB 5.1 Known Problems): Document z8k as broken.
5732
9ff2efe5
CF
5733Mon Mar 5 11:56:09 2001 Christopher Faylor <cgf@cygnus.com>
5734
5735 * wince.c: Change realloc to xrealloc throughout.
61e2d1f3 5736 (handle_load_dll): Use void * rather than PTR in argument.
9ff2efe5 5737
58841d58
AC
57382001-03-04 Andrew Cagney <ac131313@redhat.com>
5739
5740 * ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.
5741 * ocd.c (ocd_xfer_memory): Ditto.
5742 * ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops.
5743 * MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as
5744 buildable with ,-Werror.
5745
5746 * Makefile.in (symfile_h): Define.
5747 (mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h).
5748 * mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h".
5749 * MAINTAINERS: Document mcore-elf and mcore-pe as buildable with
5750 ,-Werror.
5751
5752 * dsrec.c (make_srec): Fix internal_error fmt arg.
5753 * MAINTAINERS: Document i960-coff as buildable with ,-Werror.
5754
3cad1ac9
KB
57552001-03-03 Kevin Buettner <kevinb@redhat.com>
5756
5757 * solib-aix5.c (aix5_relocate_main_executable): Don't use ANOFFSET
5758 as an lvalue.
5759
b9fa2e73
AC
57602001-03-02 Andrew Cagney <ac131313@redhat.com>
5761
130c39e6
AC
5762 * MAINTAINERS (paper trail): Update.
5763
b9fa2e73
AC
5764 * CONTRIBUTE: Update note on ``Fix PR gdb/4706'' convention.
5765
c53efe6e
AC
57662001-03-02 Andrew Cagney <ac131313@redhat.com>
5767
5768 From 2001-03-01 Tom Rix <trix@redhat.com>:
5769 * mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc''
5770 parameter to mn10200_analyze_prologue.
5771
5772 * config/mn10200/tm-mn10200.h: Include "regcache.h".
5773 * MAINTAINERS: Document that mn10200-elf target is buildable.
5774
52b5c2eb
KB
57752001-03-02 Kevin Buettner <kevinb@redhat.com>
5776
5777 * config/ia64/xm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): Move defines
5778 from here...
5779 * config/ia64/nm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): ...to here.
5780 (MONTEREY): Don't define.
5781 (AIX5): Define.
5782
2edb46b1
MH
57832001-03-02 Matt Hiller <hiller@redhat.com>
5784
5785 * config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
5786
92c71a3e
KB
57872001-03-02 Kevin Buettner <kevinb@redhat.com>
5788
82a2886f 5789 * sparc-nat.c (sparc-nat.c): Don't include self.
92c71a3e 5790
e2a4c6c1
C
57912001-03-01 J.T. Conklin <jtc@redback.com>
5792
3a644c8d
C
5793 * defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
5794 if __CYGWIN32__ is set from here.
5795 * config/i386/xm-cygwin.h: To here.
5796 * config/powerpc/xm-cygwin.h: To here.
5797
e2a4c6c1
C
5798 * i386-stub.c (handle_exception): Use 'T' response packet.
5799
4b33390a
MS
58002001-03-01 Michael Snyder <msnyder@mvstp600e.cygnus.com>
5801
5802 * m32r-tdep.c: Fix cut and paste error in comment.
5803
58042001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
5805
5806 * symtab.c (print_msymbol_info): Print addresses by portable method
5807 longest_local_hex_string_custom. Allow for 64-bit addresses.
5808
ba41d549
C
58092001-03-01 J.T. Conklin <jtc@redback.com>
5810
5811 * gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.
5812 (MAX_OF_TYPE): Wrap macro definition in parenthesis.
5813 (MIN_OF_TYPE): Likewise.
5814
5815 * memattr.h (mem_access_mode): Removed extraneous trailing comma.
5816
088d891f
AC
58172001-03-01 Andrew Cagney <ac131313@redhat.com>
5818
5819 * Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
5820 * os9kread.c (os9k_process_one_symbol): Add assert to detect
5821 ``loses if sizeof (char *) > sizeof (int)''.
5822
38266776
AC
58232001-03-01 Andrew Cagney <ac131313@redhat.com>
5824
5825 * gdb_assert.h: Document pragmatics behind gdb_assert's case.
5826
2ad43c4f
AC
58272001-03-01 Andrew Cagney <ac131313@redhat.com>
5828
5829 * Makefile.in (gdbtk-cmds.o): Add $(regcache_h) to dependency
5830 lists.
5831 (mi-main.o): Ditto.
5832
367e21d8
AC
58332001-03-01 Andrew Cagney <ac131313@redhat.com>
5834
5835 * Makefile.in (regcache_h): Define. Add $(regcache_h) to
5836 dependency lists.
5837
d85310f7
MS
58382001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
5839
c0d8fd9a
MS
5840 * printcmd.c (print_address_numeric): Update comments to refer
5841 to sizeof addr, not sizeof pointer.
5842 (x_command): Remove needless whitespace (shorten long line).
5843
d85310f7
MS
5844 * breakpoint.c (print_one_breakpoint): Formatting clean-up.
5845 (read_memory_nobpt): Ditto.
5846 (ep_is_catchpoint): Ditto.
5847 (ep_is_shlib_catchpoint): Ditto.
5848 (ep_is_exception_catchpoint): Ditto.
5849 (describe_other_breakpoints): Ditto.
5850
97900206
AC
5851Wed Feb 28 20:37:36 2001 Andrew Cagney <ac131313@redhat.com>
5852
5853 * regcache.h (register_valid): Fix comment documenting valid
5854 states.
5855
4e052eda
AC
5856Tue Feb 27 23:56:23 2001 Andrew Cagney <ac131313@redhat.com>
5857
5858 From Steven Johnson:
5859 * regcache.h: New file.
5860
5861 * value.h (read_register_bytes, read_register_gen)
5862 (write_register_gen, write_register_bytes)
5863 (read_register, read_register_pid)
5864 (read_signed_register, read_signed_register_pid)
5865 (write_register, write_register_pid)
5866 (register_cached, set_register_cached)
5867 (register_changed, register_buffer)
5868 (registers_changed, supply_register): Move declaration from here.
5869 * regcache.h: To here.
5870 * gdbcore.h (registers_fetched): Ditto.
5871 * inferior.h (registers, registers_valid): Ditto.
5872
5873 * regcache.c (generic_target_read_pc, read_pc_pid, read_pc,
5874 generic_target_write_pc, write_pc_pid, write_pc,
5875 generic_target_read_sp, read_sp, generic_target_write_sp,
5876 write_sp, generic_target_read_fp, read_fp,
5877 generic_target_write_fp, write_fp): Add note that these functions
5878 will be moved from this file.
5879
5880 * a29k-tdep.c: Include "regcache.h".
5881 * a68v-nat.c: Ditto.
5882 * abug-rom.c: Ditto.
5883 * alpha-nat.c: Ditto.
5884 * alpha-tdep.c: Ditto.
5885 * alphabsd-nat.c: Ditto.
5886 * arc-tdep.c: Ditto.
5887 * arm-linux-nat.c: Ditto.
5888 * arm-linux-tdep.c: Ditto.
5889 * arm-tdep.c: Ditto.
5890 * blockframe.c: Ditto.
5891 * core-aout.c: Ditto.
5892 * core-sol2.c: Ditto.
5893 * corelow.c: Ditto.
5894 * cpu32bug-rom.c: Ditto.
5895 * cxux-nat.c: Ditto.
5896 * d10v-tdep.c: Ditto.
5897 * d30v-tdep.c: Ditto.
5898 * dbug-rom.c: Ditto.
5899 * dink32-rom.c: Ditto.
5900 * dve3900-rom.c: Ditto.
5901 * findvar.c: Ditto.
5902 * fr30-tdep.c: Ditto.
5903 * frame.c: Ditto.
5904 * go32-nat.c: Ditto.
5905 * h8300-tdep.c: Ditto.
5906 * h8500-tdep.c: Ditto.
5907 * hp300ux-nat.c: Ditto.
5908 * hppa-tdep.c: Ditto.
5909 * hppab-nat.c: Ditto.
5910 * hppah-nat.c: Ditto.
5911 * hppam3-nat.c: Ditto.
5912 * hpux-thread.c: Ditto.
5913 * i386-linux-nat.c: Ditto.
5914 * i386-linux-tdep.c: Ditto.
5915 * i386-tdep.c: Ditto.
5916 * i386aix-nat.c: Ditto.
5917 * i386b-nat.c: Ditto.
5918 * i386bsd-nat.c: Ditto.
5919 * i386gnu-nat.c: Ditto.
5920 * i386ly-tdep.c: Ditto.
5921 * i386m3-nat.c: Ditto.
5922 * i386mach-nat.c: Ditto.
5923 * i386nbsd-nat.c: Ditto.
5924 * i386v4-nat.c: Ditto.
5925 * i387-nat.c: Ditto.
5926 * i387-tdep.c: Ditto.
5927 * i960-tdep.c: Ditto.
5928 * ia64-aix-nat.c: Ditto.
5929 * ia64-linux-nat.c: Ditto.
5930 * ia64-tdep.c: Ditto.
5931 * infptrace.c: Ditto.
5932 * infrun.c: Ditto.
5933 * irix4-nat.c: Ditto.
5934 * irix5-nat.c: Ditto.
5935 * lin-lwp.c: Ditto.
5936 * lin-thread.c: Ditto.
5937 * lynx-nat.c: Ditto.
5938 * m3-nat.c: Ditto.
5939 * m32r-rom.c: Ditto.
5940 * m32r-tdep.c: Ditto.
5941 * m68hc11-tdep.c: Ditto.
5942 * m68k-tdep.c: Ditto.
5943 * m68klinux-nat.c: Ditto.
5944 * m68knbsd-nat.c: Ditto.
5945 * m68knbsd-tdep.c: Ditto.
5946 * m88k-nat.c: Ditto.
5947 * m88k-tdep.c: Ditto.
5948 * mac-nat.c: Ditto.
5949 * mcore-rom.c: Ditto.
5950 * mcore-tdep.c: Ditto.
5951 * mi/mi-main.c: Ditto.
5952 * mips-nat.c: Ditto.
5953 * mips-tdep.c: Ditto.
5954 * mipsm3-nat.c: Ditto.
5955 * mipsv4-nat.c: Ditto.
5956 * mn10200-tdep.c: Ditto.
5957 * mn10300-tdep.c: Ditto.
5958 * monitor.c: Ditto.
5959 * ns32km3-nat.c: Ditto.
5960 * ns32knbsd-nat.c: Ditto.
5961 * ocd.c: Ditto.
5962 * pa64solib.c: Ditto.
5963 * ppc-bdm.c: Ditto.
5964 * ppc-linux-nat.c: Ditto.
5965 * ppc-linux-tdep.c: Ditto.
5966 * ppcbug-rom.c: Ditto.
5967 * ppcnbsd-nat.c: Ditto.
5968 * ptx4-nat.c: Ditto.
5969 * regcache.c: Ditto.
5970 * remote-adapt.c: Ditto.
5971 * remote-array.c: Ditto.
5972 * remote-bug.c: Ditto.
5973 * remote-e7000.c: Ditto.
5974 * remote-eb.c: Ditto.
5975 * remote-es.c: Ditto.
5976 * remote-est.c: Ditto.
5977 * remote-hms.c: Ditto.
5978 * remote-mips.c: Ditto.
5979 * remote-mm.c: Ditto.
5980 * remote-nindy.c: Ditto.
5981 * remote-os9k.c: Ditto.
5982 * remote-rdi.c: Ditto.
5983 * remote-rdp.c: Ditto.
5984 * remote-sds.c: Ditto.
5985 * remote-sim.c: Ditto.
5986 * remote-st.c: Ditto.
5987 * remote-udi.c: Ditto.
5988 * remote-utils.c: Ditto.
5989 * remote-vx.c: Ditto.
5990 * remote-vx29k.c: Ditto.
5991 * remote-vx68.c: Ditto.
5992 * remote-vx960.c: Ditto.
5993 * remote-vxmips.c: Ditto.
5994 * remote-vxsparc.c: Ditto.
5995 * remote.c: Ditto.
5996 * rom68k-rom.c: Ditto.
5997 * rs6000-nat.c: Ditto.
5998 * rs6000-tdep.c: Ditto.
5999 * sh-tdep.c: Ditto.
6000 * sh3-rom.c: Ditto.
6001 * sol-thread.c: Ditto.
6002 * solib-svr4.c: Ditto.
6003 * somsolib.c: Ditto.
6004 * sparc-nat.c: Ditto.
6005 * sparc-tdep.c: Ditto.
6006 * sparcl-tdep.c: Ditto.
6007 * sparclet-rom.c: Ditto.
6008 * sun3-nat.c: Ditto.
6009 * sun386-nat.c: Ditto.
6010 * symm-nat.c: Ditto.
6011 * target.c: Ditto.
6012 * thread-db.c: Ditto.
6013 * thread.c: Ditto.
6014 * tic80-tdep.c: Ditto.
6015 * tracepoint.c: Ditto.
6016 * ultra3-nat.c: Ditto.
6017 * umax-xdep.c: Ditto.
6018 * uw-thread.c: Ditto.
6019 * v850-tdep.c: Ditto.
6020 * v850ice.c: Ditto.
6021 * valops.c: Ditto.
6022 * w65-tdep.c: Ditto.
6023 * w89k-rom.c: Ditto.
6024 * win32-nat.c: Ditto.
6025 * wince.c: Ditto.
6026 * z8k-tdep.c: Ditto.
6027
07d48ebc
MH
60282001-02-28 Matt Hiller <hiller@redhat.com>
6029
6030 * MAINTAINERS: Add Matt Hiller to Write After Approval list.
6031
2edb46b1
MH
60322001-02-27 Matt Hiller <hiller@redhat.com>
6033
6034 * mn10300-tdep.c (mn10300_stab_reg_to_regnum): New function.
6035 (mn10300_gdbarch_init): Set appropriate elements of gdbarch to
6036 mn10300_stab_reg_to_regnum.
6037
993f3aa5
DT
6038Tue Feb 27 16:56:13 2001 David Taylor <taylor@redhat.com>
6039
6040 * symtab.c (search_symbols): Fix off by one error in test for
6041 error.
6042
86168def
AC
60432001-02-23 Andrew Cagney <ac131313@redhat.com>
6044
6045 * config/sparc/sp64linux.mt: New file.
6046 * configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
6047 * configure.host: Recognize sparc64-*-linux* as a linux host.
6048
6049 From 2000-03-17 Jakub Jelinek <jakub@redhat.com>:
6050 * config/sparc/tm-sp64linux.h: New file.
6051
e1e9e218
KB
60522001-02-24 Kevin Buettner <kevinb@redhat.com>
6053
6054 * buildsym.c (push_subfile, pop_subfile): Replace call to abort()
6055 with call to internal_error().
6056 * dbxread.c (process_one_symbol): Likewise.
6057 * exec.c (build_section_table, xfer_memory): Likewise.
6058 * h8500-tdep.c (h8500_register_size, h8500_register_virtual_type):
6059 Likewise.
6060 * hpread.c (hpread_type_translate, hpread_read_array_type)
6061 (hpread_type_lookup): Likewise.
6062 * i386-tdep.c (gdb_print_insn_i386): Likewise.
6063 * i960-tdep.c (mem): Likewise
6064 * inflow.c (set_sigio_trap, clear_sigio_trap): Likewise.
6065 * infptrace.c (child_resume): Likewise.
6066 * infttrace.c (_initialize_infttrace): Likewise.
6067 * language.c (binop_result_type, add_language): Likewise.
6068 * lynx-nat.c (store_inferior_registers): Likewise.
6069 * m3-nat.c (port_chain_insert, m3_trace_me): Likewise.
6070 * mdebugread.c (parse_partial_symbols): Likewise.
6071 * monitor.c (monitor_printf_noecho, monitor_printf)
6072 (monitor_dump_regs): Likewise.
6073 * ocd.c (stu_put_packet): Likewise.
6074 * printcmd.c (decode_format, print_scalar_formatted): Likewise.
6075 * remote-bug.c (bug_open): Likewise.
6076 * remote-e7000.c (fetch_regs_from_dump, e7000_wait): Likewise.
6077 * remote-es.c (es1800_read_bytes): Likewise.
6078 * remote-mips.c (common_breakpoint): Likewise.
6079 * remote-rdp.c (send_rdp): Likewise.
6080 * remote-sds.c (putmessage): Likewise.
6081 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
6082 Likewise.
6083 * sparcl-tdep.c (sparclite_download): Likewise.
6084 * symtab.c (lookup_partial_symbol): Likewise.
6085 * target.c (push_target, pop_target, initialize_targets): Likewise.
6086 * utils.c (internal_verror, malloc_botch, wrap_here, decimal2str):
6087 Likewise.
6088 * valprint.c (print_decimal, print_longest, print_longest)
6089 (strcat_longest): Likewise.
6090 * w65-tdep.c (init_frame_pc, w65_push_dummy_frame): Likewise.
6091 * xmodem.c (xmodem_send_packet): Likewise.
6092 * z8k-tdep.c (init_frame_pc, z8k_push_dummy_frame): Likewise.
6093 * config/h8500/tm-h8500.h (STORE_STRUCT_RETURN): Likewise.
6094 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE)
6095 (STORE_RETURN_VALUE): Likewise.
6096 * config/ns32k/nm-umax.h (REGISTER_U_ADDR): Likewise.
6097 * config/ns32k/xm-merlin.h (REGISTER_U_ADDR): Likewise.
6098 * config/z8k/tm-z8k.h (STORE_STRUCT_RETURN, STORE_RETURN_VALUE):
6099 Likewise.
6100
17fceda3
AC
61012001-02-23 Andrew Cagney <ac131313@redhat.com>
6102
2126d5fb
AC
6103 * CONTRIBUTE: Document how to cite a problem report.
6104 * TODO: Note need to replace CONTRIBUTE with generated file.
6105
17fceda3
AC
6106 * CONTRIBUTE: Mention that patches do not need to include the
6107 generated files gdbarch.h and gdbarch.c.
6108
60edd51d
AC
61092001-02-21 Andrew Cagney <ac131313@redhat.com>
6110
6111 * value.h (get_saved_register): Move from here.
6112 * frame.h: To here.
6113
d7fa2ae2
KB
61142001-02-21 Kevin Buettner <kevinb@redhat.com>
6115
6116 * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
6117 (in_solib_dynsym_resolve_code): Add declaration.
6118 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
6119 in_solib_dynsym_resolve_code() rather than
6120 in_svr4_dynsym_resolve_code(). Also, removed the ifdefs
6121 which caused this macro to only be defined when
6122 SVR4_SHARED_LIBS is defined.
6123 * solib.c (in_solib_dynsym_resolve_code): New function.
6124 * solist.h (struct target_so_ops): Add new member
6125 in_dynsym_resolve_code.
6126 * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
6127 in_svr4_dynsym_resolve_code. Also, made static.
6128 (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
6129 member in aix5_so_ops.
6130 * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
6131 in_svr4_dynsym_resolve_code. Also, added second version
6132 of this function which will be used when SVR4_SHARED_LIBS
6133 is not defined.
6134 (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
6135 member in svr4_so_ops.
6136
6137 * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
6138 config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
6139 config/ia64/xm-aix.h: New files.
6140 * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
6141 (ia64_aix_sigcontext_register_address): New declaration.
aacc1edd 6142 (ia64_gdbarch_init): Provide for initialization of
d7fa2ae2
KB
6143 sigcontext_register_address member of struct tdep when
6144 on target is detected to be running AIX.
6145 * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
6146 this list.
6147
fbad0893
KB
61482001-02-20 Kevin Buettner <kevinb@redhat.com>
6149
6150 * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
6151 * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
6152 for thread support instead of linux-thread.o and lin-thread.o.
6153 * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
6154 ATTACH_LWP): Define to use the following lin-lwp.c functions...
6155 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
6156 lin_lwp_attach_lwp): Declare.
6157
1adad886
AC
61582001-02-20 Andrew Cagney <ac131313@redhat.com>
6159
6160 * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
6161 formatting.
6162
0579d647
KB
61632001-02-20 Kevin Buettner <kevinb@redhat.com>
6164
6165 * solib-aix5.c (solib-svr4.h): Remove include.
6166 (solib_break_names): Delete names which aren't actually
6167 used by AIX5.
6168 (bkpt_names): Remove.
6169 (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
6170 to STREQ() with equivalent calls to strcmp().
6171 (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
6172 aix5_solib_create_inferior_hook): Revise comments.
6173 (enable_break): Remove old ``bkpt_names'' code.
6174
d65fe839
AC
61752001-02-19 Andrew Cagney <ac131313@redhat.com>
6176
6177 * Makefile.in (SFILES): Add frame.c .
6178 (COMMON_OBS): Add frame.o .
6179 (frame.o): New target.
6180
6181 * frame.c (find_saved_register):
6182 (default_get_saved_register):
6183 (get_saved_register):
6184 (read_relative_register_raw_bytes_for_frame):
6185 (read_relative_register_raw_bytes): Moved to here.
6186 * regcache.c: From here.
6187
60cf7a85
KB
61882001-02-20 Kevin Buettner <kevinb@redhat.com>
6189
6190 * solib-aix5.c: New file.
6191
291b7e04
MH
61922001-02-20 Martin M. Hunt <hunt@redhat.com>
6193
a43ad351
MH
6194 * solib.c (info_sharedlibrary_command): Don't assume pointers
6195 are the same size of long, call longest_local_hex_string_custom().
6196
58bc91c9
MH
6197 * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
6198 extract_signed_integer() should be called instead of
6199 extract_address().
6200
62012001-02-20 Martin M. Hunt <hunt@redhat.com>
6202
291b7e04
MH
6203 * MAINTAINERS: Add Martin Hunt to Write After Approval list.
6204
d02ee681
AC
62052001-02-19 Andrew Cagney <ac131313@redhat.com>
6206
6207 Frm 2001-02-09 Jim Kingdon <jkingdon@engr.sgi.com>:
6208 * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
6209 then floating point registers are 8 bytes.
6210
a858089e
MS
62112001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
6212
6213 * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
6214 accomodate 64-bit addresses.
6215
23cc649f
EZ
62162001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6217
6218 From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
6219 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
6220 lookup_symbol, when trying to find a symbol with a mangled name,
6221 to avoid infinite recursion.
6222
0db23c95
AC
62232001-02-18 Andrew Cagney <ac131313@redhat.com>
6224
6225 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
6226
911413e6
JL
62272001-02-19 Jonathan Larmour <jlarmour@redhat.com>
6228
6229 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
6230 (save_prologue_cache): Ditto.
6231
8d1de4b7
EZ
62322001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6233
6234 From: innadadadavida@yahoo.com:
6235 * partial-stab.h (switch): Check that pst is not null
6236 before dereferencing it.
6237
3017564a
EZ
62382001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6239
6240 From Andrew Cagney <cagney@b1.cygnus.com>:
6241 * symfile.c (add_symbol_file_command): Always initialize
6242 my_cleanup using a NULL cleanup.
6243
fa58ee11
EZ
62442001-02-19 Eli Zaretskii <eliz@is.elta.co.il>
6245
6246 * demangle.c (demangling_style_names): New variable.
6247 (_initialize_demangler): Fill demangling_style_names with the
6248 names of known demangling styles from libiberty_demanglers[]. Use
6249 add_set_enum_cmd instead of add_set_cmd, to get completion on
6250 demangling style names.
6251
6252 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
6253 file-name completion.
6254
6255 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
6256
6257 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
6258 `solib-absolute-prefix'.
6259
6260 * tracepoint.c (_initialize_tracepoint): Ditto for
6261 `save-tracepoints'.
6262
6263 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
6264
6265 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
6266 file-name completion.
6267
6268 * infcmd.c (_initialize_infcmd): Make the following commands use
6269 the file-name completer: `tty', `args', `path', `paths', and
6270 `run'.
6271
7830cf6f
EZ
62722001-02-18 Eli Zaretskii <eliz@is.elta.co.il>
6273
89dea5aa
EZ
6274 * go32-nat.c: Include i387-nat.h.
6275 (fetch_register): New function, uses some of the guts of
6276 go32_fetch_registers and calls i387_supply_register.
6277 (go32_fetch_registers): Most of the code moved into
6278 fetch_register. Use i387_supply_fsave.
6279 (store_register): Use i387_fill_fsave instead of custom code.
6280 (go32_store_registers): Use i387_fill_fsave.
6281
6282 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
6283
6284 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
6285
7830cf6f
EZ
6286 * completer.c (gdb_completer_file_name_break_characters): Remove
6287 slash from file-name break characters.
6288 [__MSDOS__]: Special definition for DOS/Windows file names.
6289 (line_completion_function): When completing on file names, bump
6290 `p' to the first file-name constituent character of `word', before
6291 invoking the completer.
6292
f31e928c
MK
62932001-02-17 Mark Kettenis <kettenis@gnu.org>
6294
6295 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
6296 consistently for parameter names. Fix comments accordingly.
6297 (i387_supply_register): New function.
6298 (i387_supply_fsave): Implement using i387_supply_register.
6299 * i387-nat.h: Use regnum instead of regno consistently for
6300 parameter names. Fix comments accordingly.
6301 (i387_supply_register): New prototype.
6302
d696208f
MS
63032001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
6304
6305 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
6306 instead of TARGET_PTR_BIT (to support Harvard architectures).
6307
971429b4
AC
63082001-02-16 Andrew Cagney <ac131313@redhat.com>
6309
6310 From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
6311 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
6312 argument to parameter list and to call in order to conform to
6313 to_xfer_memory field of struct target_ops.
6314
9ca0e47c
MC
63152001-02-12 Michael Chastain <chastain@redhat.com>
6316
da7dd56f 6317 * somsolib.c (som_solib_add_solib_objfile): Do not use
9ca0e47c
MC
6318 section relocation feature of syms_from_objfile. Do my own
6319 section relocation, offsetting each section of the som by
6320 either text_addr - text_link_addr or data_start.
6321
7d65bd2d
AC
63222001-02-16 Andrew Cagney <ac131313@redhat.com>
6323
6324 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
6325
e33e9692
AC
63262001-02-16 Andrew Cagney <ac131313@redhat.com>
6327
6328 * MAINTAINERS (paper trail): Update.
6329
17dee195
MK
63302001-02-16 Mark Kettenis <kettenis@gnu.org>
6331
6332 * target.h (target_fetch_registers): Fix comment.
6333
0f6e1ba6
AC
63342001-02-15 Andrew Cagney <ac131313@redhat.com>
6335
6336 * f-exp.y: Include <ctype.h>.
6337 (parse_number): Ensure that ``i'' is always initialized.
6338
9a069618
JK
63392001-02-14 Jim Kingdon <jkingdon@engr.sgi.com>
6340
6341 * MAINTAINERS: Add myself to paper trail section.
6342
fc24370e
MS
63432001-02-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6344
6345 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
6346 * configure, config.in: Regenerate.
6347 * corelow.c: Include <sys/file.h> if present.
6348
4b69c284
AC
63492001-02-14 Andrew Cagney <ac131313@redhat.com>
6350
6351 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
6352 declare when have SIGTTOU.
6353
7904f322
EZ
63542001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
6355
6356 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
6357
9e798668
JK
63582001-02-12 Jim Kingdon <jkingdon@engr.sgi.com>
6359
6360 * MAINTAINERS: Update my email address.
6361
65d5a54a
EZ
63622001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
6363
6364 * NEWS: Document that "info symbol" works with COFF debug info and
6365 its variants.
6366
6367 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
6368 symbols whose SYMBOL_BFD_SECTION is NULL.
6369
0cff82d9 63702001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
a8079a9b
PS
6371
6372 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
6373 * xcoffsolib.c (xcoff_solib_address): Renamed from
6374 pc_load_segment_name. Return NULL if address is not in a shared
6375 library. Cleanup shared library name construction, using xasprintf.
6376 Format shared library member names consistent with format in exec.c.
6377 (solib_info): Format shared library member names consistent with
6378 format in exec.c.
6379 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
6380 using xcoff_solib_address for PC_SOLIB definition.
6381 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
6382 needed.
6383
0cff82d9 63842001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4b2e4867
PS
6385
6386 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
6387 with xmalloc calls and cleanups.
6388
0cff82d9 63892001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
d737ece6
PS
6390
6391 * rs6000-nat.c (child_xfer_memory): Add missing parameter
6392 'struct mem_attrib *' required by 2001-01-23 change.
6393
c5bb1243
JK
63942001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
6395
6396 Updates to "make TAGS":
6397 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
6398 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
6399 tahoe-tdep.c.
6400 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
6401
c799ae7b
EZ
64022001-02-08 Eli Zaretskii <eliz@is.elta.co.il>
6403
6404 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
6405
12685e01
AC
6406Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com>
6407
6408 From Dean Luick <luick@cray.com>:
6409 * defs.h (continuation): Remove unused global variable.
6410
7fcca85b
AC
6411Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com>
6412
6413 * configure.tgt: Remove references to convex, pyramid, altos and
6414 tahoe.
6415 * configure.host: Ditto.
6416 * MAINTAINERS: Ditto.
6417 * NEWS: Update.
6418
6419 * tahoe-tdep.c: Delete obsolete file.
6420 * pyr-xdep.c: Ditto.
6421 * pyr-tdep.c: Ditto.
6422 * convex-tdep.c: Ditto.
6423 * convex-xdep.c: Ditto.
6424 * config/tahoe/xm-tahoe.h: Ditto.
6425 * config/tahoe/tm-tahoe.h: Ditto.
6426 * config/tahoe/tahoe.mt: Ditto.
6427 * config/tahoe/tahoe.mh: Ditto.
6428 * config/pyr/xm-pyr.h: Ditto.
6429 * config/pyr/tm-pyr.h: Ditto.
6430 * config/pyr/pyramid.mt: Ditto.
6431 * config/pyr/pyramid.mh: Ditto.
6432 * config/m68k/xm-altos.h: Ditto.
6433 * config/m68k/tm-altos.h: Ditto.
6434 * config/m68k/altos.mt: Ditto.
6435 * config/m68k/altos.mh: Ditto.
6436 * config/convex/xm-convex.h: Ditto.
6437 * config/convex/tm-convex.h: Ditto.
6438 * config/convex/convex.mt: Ditto.
6439 * config/convex/convex.mh: Ditto.
6440 * config/convex/Convex.notes: Ditto.
6441 * config/arm/xm-arm.h: Ditto.
6442 * config/arm/nm-arm.h: Ditto.
6443 * config/arm/arm.mt: Ditto.
6444 * config/arm/arm.mh: Ditto.
6445 * arm-convert.s: Ditto.
6446 * arm-xdep.c: Ditto.
6447 * altos-xdep.c: Ditto.
6448
8e65ff28
AC
6449Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com>
6450
6451 * defs.h (internal_error, internal_verror): Add __FILE__ and
6452 __LINE__ parameter.
6453 * utils.c (internal_error, internal_verror): Update.
6454
6455 * v850-tdep.c: Update calls to internal_error.
6456 * utils.c: Ditto.
6457 * ui-out.c: Ditto.
6458 * ui-file.c: Ditto.
6459 * target.h: Ditto.
6460 * symtab.h: Ditto.
6461 * symm-nat.c: Ditto.
6462 * sparc-tdep.c: Ditto.
6463 * source.c: Ditto.
6464 * serial.c: Ditto.
6465 * rs6000-tdep.c: Ditto.
6466 * rs6000-nat.c: Ditto.
6467 * remote.c: Ditto.
6468 * remote-vx.c: Ditto.
6469 * remote-sim.c: Ditto.
6470 * remote-mips.c: Ditto.
6471 * regcache.c: Ditto.
6472 * objfiles.h: Ditto.
6473 * objfiles.c: Ditto.
6474 * mn10300-tdep.c: Ditto.
6475 * mips-tdep.c: Ditto.
6476 * maint.c: Ditto.
6477 * m68k-tdep.c: Ditto.
6478 * m3-nat.c: Ditto.
6479 * language.c: Ditto.
6480 * infptrace.c: Ditto.
6481 * inferior.h: Ditto.
6482 * infcmd.c: Ditto.
6483 * ia64-tdep.c: Ditto.
6484 * i386-tdep.c: Ditto.
6485 * i386-linux-nat.c: Ditto.
6486 * hppah-nat.c: Ditto.
6487 * go32-nat.c: Ditto.
6488 * findvar.c: Ditto.
6489 * f-lang.c: Ditto.
6490 * elfread.c: Ditto.
6491 * event-loop.c: Ditto.
6492 * dwarf2read.c: Ditto.
6493 * dsrec.c: Ditto.
6494 * d30v-tdep.c: Ditto.
6495 * d10v-tdep.c: Ditto.
6496 * cli/cli-setshow.c: Ditto.
6497 * cli/cli-script.c: Ditto.
6498 * ch-exp.c: Ditto.
6499 * breakpoint.c: Ditto.
6500 * ax-gdb.c: Ditto.
6501 * arch-utils.c: Ditto.
6502 * a29k-tdep.c: Ditto.
6503 * gdb_assert.h: Ditto.
6504 * gdbarch.sh: Ditto.
6505 * gdbarch.h, gdbarch.c: Re-generate.
6506
72290732
AC
65072001-02-07 Andrew Cagney <ac131313@redhat.com>
6508
6509 From Mark Kettenis <kettenis@gnu.org>:
6510 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
6511
a6da1910
AC
65122001-02-07 Andrew Cagney <ac131313@redhat.com>
6513
6514 * remote-sim.c (dump_mem): Cleanup printf format argument.
6515 * MAINTAINERS: Update, mn10300-elf now builds.
6516
153f9905
MK
65172001-02-07 Mark Kettenis <kettenis@gnu.org>
6518
6519 * event-top.c: Remove duplicate #include <signal.h>.
6520
f042532c
AC
65212001-02-06 Andrew Cagney <ac131313@redhat.com>
6522
6523 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
6524 allocated buffer.
6525 (save_inferior_pid): Restore the PID from that tempoary
6526 buffer. Delete the buffer.
6527 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
6528
58cfabe6
AC
65292001-02-06 Andrew Cagney <ac131313@redhat.com>
6530
6531 * MAINTAINERS: Add ``The Obvious Fix Rule''.
6532
ea8a41b8
AC
65332001-02-06 Andrew Cagney <ac131313@redhat.com>
6534
6535 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
6536
95160752
AC
65372001-02-06 Andrew Cagney <ac131313@cygnus.com>
6538
6539 * gdbarch.sh: Include "gdb_assert.h".
6540 (struct gdbarch): Change ``nr_data'' to unsigned.
6541 (alloc_gdbarch_data, free_gdbarch_data): New functions.
6542 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
6543 architecture vector.
6544 (struct gdbarch_data, struct gdbarch_data_registration): Move init
6545 method to gdbarch_data. Add free method, make index unsigned.
6546 (struct gdbarch_data_registry): Make nr unsigned.
6547 (register_gdbarch_data): Add free parameter. Store in
6548 gdbarch_data.
6549 (init_gdbarch_data): Use set_gdbarch_data.
6550 (set_gdbarch_data): New function.
6551
6552 * gdbarch.h, gdbarch.c: Re-generate.
6553
64122a8b
MS
65542001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6555
6556 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
6557 fprintf_filtered with correct arguments.
6558
e6cbd02a
MS
65592001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
6560 Submitted by Paul Hilfinger (hilfingr@gnat.com)
6561 and Andrei Petrov (and@genesyslab.com).
6562 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
6563 must be allocated dynamically, since these are no longer constants.
6564 * infcmd.c: Ditto.
6565 * regcache.c: Ditto.
6566 * remote.c: Ditto.
6567 * sol-thread.c: Ditto.
6568 * valops.c: Ditto.
6569 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
6570 work-around for a missing Sun header file in solaris for sparc64.
6571
713f0374
PB
65722001-02-04 Philip Blundell <philb@gnu.org>
6573
6574 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
6575 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
6576 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
6577 GET_THREAD_SIGNALS): Define.
6578 * arm-linux-nat.c (fill_gregset): Correct type of argument.
6579 (supply_gregset): Likewise.
6580 (fill_fpregset): Likewise.
6581 (supply_fpregset): Likewise.
6582
4603e466
DT
6583Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
6584
6585 * valops.c (value_cast): If casting a scalar to a pointer, do not
6586 issue a message about truncation unless it exceeds the length of
6587 an address, not the length of a pointer. This is because what the
6588 user gives us is an address, not a pointer, and we will ultimately
6589 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
6590 to a pointer. This allows things like "print *(int *)0x01000234"
6591 to work without generating a misleading message on a target having
6592 two byte pointers and four byte addresses.
6593
554cb486
CF
65942001-02-05 Christopher Faylor <cgf@cygnus.com>
6595
6596 * win32-nat.c: Change PTR to void * throughout.
6597
042be3a9
C
65982001-02-05 J.T. Conklin <jtc@redback.com>
6599
6600 * signals.h: Removed.
6601 * event-top.c (#include <signal.h>): Changed from signals.h.
6602 * inflow.c: Likewise.
6603 * mac-xdep.c: Likewise.
6604 * ser-pipe.c: Likewise.
6605 * ser-tcp.c: Likewise.
6606 * standalone.c: Likewise.
6607 * top.c: Likewise.
6608 * utils.c: Likewise.
6609 * Makefile.in: Removed signals.h from dependencies.
6610
a4acd088
CF
66112001-02-05 Christopher Faylor <cgf@cygnus.com>
6612
6613 Change suggested by Dean Luick <luick@cray.com>
6614 * inferior.h (step_over_calls_kind): Remove trailing comma from
6615 last enum element.
6616 (step_over_calls): Declare as extern rather than global.
6617
3116c80a
EZ
66182001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6619
6620 * sh-tdep.c: Update copyright.
6621 (sh_extract_return_value): Rewrite.
6622 (sh3e_sh4_extract_return_value): New function.
6623 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
6624 version of the function for sh3e and sh4 CPUs.
6625
240be855
MC
66262001-02-05 Michael Chastain <chastain@redhat.com>
6627
6628 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
6629 to conform with interface change.
6630
a17b5c4e
EZ
66312001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
6632
32fe0950
EZ
6633 * config/djgpp/fnchange.lst: Tweak to make consistent with the
6634 new files.
6635
619cbaf7
EZ
6636 * config/djgpp/djconfig.sh: Use explicit absolute file name when
6637 invoking `find'.
6638
cd42d3a8
EZ
6639 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
6640 UART_FIFO_WORKS is defined. Otherwise use outportb.
6641 From Francisco Pastor <fpastor.etra-id@etra.es>
6642
a17b5c4e
EZ
6643 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
6644 with target.h's `to_xfer_memory' member.
6645
86ddecc5
C
66462001-02-02 J.T. Conklin <jtc@redback.com>
6647
6648 * ppc-bdm.c (#include <signal.h>): Removed.
6649 * remote-array.c: Likewise.
6650 * remote-bug.c: Likewise.
6651 * remote-e7000.c: Likewise.
6652 * remote-mips.c: Likewise.
6653 * remote-os9k.c: Likewise.
6654 * remote-st.c: Likewise.
6655 * remote-udi.c: Likewise.
6656 * remote-vx29k.c: Likewise.
6657 * remote-vx68.c: Likewise.
6658 * remote-vx960.c: Likewise.
6659 * remote-vxmips.c: Likewise.
6660 * remote-vxsparc.c: Likewise.
6661
338d7c5c
JM
66622001-02-02 John Moore <jmoore@redhat.com>
6663
6664 * remote-utils.h (sr_set_device): Changed free() to xfree() where
6665 appropriate. Also changed Copyright to include 2001.
6666 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
6667 * value.h (value_free): Likewise.
6668 * gdbarch.sh (gdbarch_free): Likewise.
6669 * gdbarch.c, gdbarch.h: Regenerated.
6670
2b5436af
JM
66712001-02-02 John Moore <jmoore@redhat.com>
6672
6673 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
338d7c5c 6674 xfree(). Also changed Copyright to include 2001.
2b5436af 6675
82467003
C
66762001-02-02 J.T. Conklin <jtc@redback.com>
6677
6678 * monitor.c (#include "gdb_wait.h"): Removed.
6679 * ocd.c: Likewise.
6680 * ppc-bdm.c: Likewise.
6681 * remote-adapt.c: Likewise.
6682 * remote-array.c: Likewise.
6683 * remote-bug.c: Likewise.
6684 * remote-e7000.c: Likewise.
6685 * remote-eb.c: Likewise.
6686 * remote-es.c: Likewise.
6687 * remote-mips.c: Likewise.
6688 * remote-mm.c: Likewise.
6689 * remote-nindy.c: Likewise.
6690 * remote-os9k.c: Likewise.
6691 * remote-rdi.c: Likewise.
6692 * remote-rdp.c: Likewise.
6693 * remote-sds.c: Likewise.
6694 * remote-sim.c: Likewise.
6695 * remote-st.c: Likewise.
6696 * remote-udi.c: Likewise.
6697 * remote-vx.c: Likewise.
6698 * remote-vx29k.c: Likewise.
6699 * remote-vx68.c: Likewise.
6700 * remote-vx960.c: Likewise.
6701 * remote-vxmips.c: Likewise.
6702 * remote-vxsparc.c: Likewise.
6703 * remote.c: Likewise.
6704 * ser-pipe.c: Likewise.
6705 * ser-unix.c: Likewise.
6706 * Makefile.in: Updated dependencies.
6707
27b82ed2
DS
67082001-01-31 David Smith <dsmith@redhat.com>
6709
6710 * event-loop.c: Change inclusion of string.h to gdb_string.h and
6711 updated the copyright notice.
6712 * ser-pipe.c: Ditto.
6713 * mi/mi-cmds.c: Ditto.
6714 * mi/mi-console.c: Ditto.
6715 * mi/mi-getopt.c: Ditto.
6716 * mi/mi-parse.c: Ditto.
6717
ab9cc815
DS
67182001-01-31 David Smith <dsmith@redhat.com>
6719
6720 * MAINTAINERS: Add David Smith to Write After Approval list.
6721
d1f4cff8
AC
6722Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com>
6723
6724 * cli/cli-utils.c (putchar_filtered): Move function from here.
6725 * utils.c (putchar_filtered): To here.
6726 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
6727 * defs.h (putchar_filtered): To here.
6728
74c1b268
AC
6729Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com>
6730
6731 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
6732 AC_FUNC_VFORK macro.
6733 * config.in, configure: Re-generate.
6734
6735 * gdb_vfork.h: New file.
6736 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
6737 * fork-child.c (fork_inferior): Ditto.
6738
4fcf66da
AC
6739Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com>
6740
6741 * defs.h (strsave): Delete declaration.
6742 * utils.c (strsave): Delete definition.
6743 * TODO (strsave): Update
6744
6745 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
6746 * sparcl-tdep.c (sparclite_open): Ditto.
6747 * mips-tdep.c (mips_set_processor_type_command): Ditto.
6748 (_initialize_mips_tdep): Ditto.
6749 * solib.c (solib_open): Ditto.
6750 * symfile.c (add_filename_language): Ditto.
6751 (set_ext_lang_command): Ditto.
6752 * source.c (init_source_path): Ditto.
6753 (mod_path): Ditto.
6754 * sh3-rom.c (sh3_open): Ditto.
6755 (sh3e_open): Ditto.
6756 * serial.c (serial_open): Ditto.
6757 * remote-mips.c (common_open): Ditto.
6758 * monitor.c (monitor_open): Ditto.
6759 * m32r-rom.c (m32r_upload_command): Ditto.
6760 * infcmd.c (path_command): Ditto.
6761 * f-exp.y (parse_number): Ditto.
6762 * breakpoint.c (create_longjmp_breakpoint): Ditto.
6763 (create_thread_event_breakpoint): Ditto.
6764 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
6765 (_initialize_arc_tdep): Ditto.
6766
e191e0ab
AC
6767Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
6768
6769 * cli/cli-script.c (define_command): Check for a bad hook value in
6770 switch statement.
6771
10214f55
C
67722001-01-30 J.T. Conklin <jtc@redback.com>
6773
6774 * configure/sh/embed.mt: New file.
6775 * configure/sh/linux.mt: New file.
6776 * configure/sh/sh.mt: Removed.
6777 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
6778 (sh-*-*): Removed.
6779
c9049fc9
MC
67802001-01-29 Michael Chastain <chastain@redhat.com>
6781
a4f30b31 6782 * symtab.c (lookup_block_symbol): Use 'namespace' parameter in
c9049fc9
MC
6783 symbol comparisons in binary search.
6784
0cff82d9 67852001-01-27 Christopher Faylor <cgf@cygnus.com>
aea02b6b
CF
6786
6787 * win32-nat.c (child_xfer_memory): Add missing argument required by
6788 2001-01-23 change.
6789
e6e0bfab
MK
67902001-01-27 Mark Kettenis <kettenis@gnu.org>
6791
6792 * ui-out.c (do_list_end): New function.
6793 (make_cleanup_ui_out_list_end): New function.
6794 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
6795 * stack.c (print_frame) [UI_OUT]: Call
6796 make_cleanup_ui_out_list_end to make sure we mark the end of the
6797 list if we do a non-local exit. At the end of the function,
6798 instead of calling ui_out_list_end directly, let do_cleanups
6799 handle it.
6800
1adeb98a
FN
68012001-01-26 Fernando Nasser <fnasser@redhat.com>
6802
6803 Fix double parsing of filenames passed as command line arguments
6804 to GDB (causes weird handling of escape characters).
6805 Also, remove dependencies on the CLI from libgdb.
6806 * call-cmds.h: Remove declaration of exec_file_command().
6807 * gdbcore.h: Remove declaration of exec_file_command().
6808 Add declarations for exec_open() and exec_file_clear().
6809 * symfile.h: Add declarations for symbol_file_add_main() and
6810 symbol_file_clear().
6811 * exec.c (exec_open): New function. Implements to_open for exec
6812 targets.
6813 (exec_file_clear): New function. Makes GDB forget about a previously
6814 specified executable file.
6815 (exec_file_attach): Move parsing of arguments from here ...
6816 (exec_file_command): ... to here.
6817 (init_exec_ops): Use exec_open(), not exec_file_command() to
6818 implement to_open for exec targets.
6819 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
6820 with default values. Used when the file name has already been parsed.
6821 (symbol_file_clear): New function. Makes GDB forget about previously
6822 read symbols.
6823 (symbol_file_command): Call the above function instead of inline code.
6824 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
6825 "call-cmds.h".
6826 (captured_main): Call exec_file_attach() and symbol_file_add_main()
6827 instead of exec_file_command() and symbol_file_command().
6828 (captured_main): Add comment.
6829 * corefile.c: Include "symfile.h".
6830 (core_file_command): Call symbol_file_add_main() instead of
6831 symbol_file_command().
6832 (reopen_exec_file): Call exec_open() instead of exec_file_command().
6833 * infcmd.c: Include "symfile.h".
6834 (attach_command): Call symbol_file_add_main() instead of
6835 symbol_file_command().
6836 * infrun.c: Remove comment about the inclusion of "symfile.h",
6837 not any longer appropriate.
6838 (follow_exec): Call symbol_file_add_main() instead of
6839 symbol_file_command().
6840 * remote-es.c: Include "symfile.h".
6841 (es1800_load): Call symbol_file_add_main() instead of
6842 symbol_file_command().
6843 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
6844 not any longer appropriate.
6845 (vx-wait): Call symbol_file_add_main() instead of
6846 symbol_file_command().
6847 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
6848 instead of symbol_file_command().
6849 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
6850 symbol_file_add_main() instead of exec_file_command() and
6851 symbol_file_command().
6852 * Makefile.in: Update dependencies.
6853
5b616ba1
JH
68542001-01-26 Jeff Holcomb <jeffh@redhat.com>
6855
6856 * remote-udi.c (udi_open): Change strdup to xstrdup.
6857 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
6858 Update copyright message.
6859 * varobj.c (delete_variable_1): Likewise.
6860
6861 * gdb_string.h: Remove declaration of strdup. Update copyright
6862 message.
6863 * config/xm-mpw.h: Likewise.
6864 * config/i386/xm-i386mach.h: Likewise.
6865 * config/m68k/xm-apollo68b.h: Likewise.
6866 * config/m68k/xm-hp300bsd.h: Likewise.
6867 * config/rs6000/xm-rs6000.h: Likewise.
6868 * config/vax/xm-vaxult.h: Remove declaration of strdup.
6869 * config/vax/xm-vaxult2.h: Likewise.
6870
b91d87cf
JH
68712001-01-26 Jeff Holcomb <jeffh@redhat.com>
6872
6873 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
6874
873406a6
C
68752001-01-25 J.T. Conklin <jtc@redback.com>
6876
6877 * target.c (target_xfer_memory_partial): Return -1 on failure due
6878 to invalid access mode attribute.
6879
0613c401
CF
68802001-01-25 Christopher Faylor <cgf@cygnus.com>
6881
6882 * win32-nat.c (_initialize_core_win32): Prototype correctly.
6883
efd59e3f
MK
68842001-01-25 Mark Kettenis <kettenis@gnu.org>
6885
6886 * config/alpha/tm-fbsd.h: Update copyright.
6887 (USE_STRUCT_CONVENTION): Define in terms of
6888 alphabsd_use_struct_convention.
6889 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
6890 * alphafbsd-tdep.c: New file.
6891
388e1ff2
FN
68922001-01-24 Fernando Nasser <fnasser@redhat.com>
6893
6894 * top.c (print_gdb_version): Update Copyright year.
6895
f4d650ec
C
68962001-01-24 J.T. Conklin <jtc@redback.com>
6897
6898 * dcache.c (dcache_write_line): Fix typo.
6899
6900 * memattr.c (delete_mem_region): Replace free() with xfree().
6901 (mem_number): Add explicit type.
6902
6903 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
6904 (rw_common): Likewise.
6905
07091751
FN
69062001-01-24 Fernando Nasser <fnasser@redhat.com>
6907
6908 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
6909 for the inferior program arguments.
6910 (run_command, run_no_args_command, init_infcmd)): Use accessor
6911 functions to set the inferior program arguments.
6912 * inferior.h: Add definitions to the accessor functions above.
6913
090c42a4
JB
69142001-01-23 Jim Blandy <jimb@redhat.com>
6915
6916 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
6917 Implement these correctly, using make_cv_type.
6918
f29d9b6d 69192001-01-23 J.T. Conklin <jtc@redback.com>
29e57380
C
6920
6921 * exec.c (xfer_memory): Add attrib argument.
6922 * infptrace.c (child_xfer_memory): Likewise.
e5da8f38 6923 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
29e57380
C
6924 * monitor.c (monitor_xfer_memory): Likewise.
6925 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
6926 * remote-array.c (array_xfer_memory): Likewise.
6927 * remote-bug.c (bug_xfer_memory): Likewise.
6928 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
6929 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
6930 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
6931 * remote-mips.c (mips_xfer_memory): Likewise.
6932 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
6933 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
6934 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
6935 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
6936 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
6937 * remote-sds.c (sds_xfer_memory): Likewise.
6938 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
6939 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
6940 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
6941 * remote-vx.c (vx_xfer_memory): Likewise.
6942 * remote.c (remote_xfer_memory): Likewise.
6943 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
6944 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
e5da8f38 6945 * thread-db.c (thread_db_xfer_memory): Likewise.
29e57380
C
6946
6947 * target.h (#include "memattr.h"): Added.
6948 (target_ops.to_xfer_memory): Add attrib argument.
6949
6950 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
6951 * dcache.h (set_dcache_state): Removed declaration.
6952 * dcache.c (set_dcache_state): Removed definition
6953
6954 * dcache.c: Update module comment, as dcache is now enabled and
6955 disabled with memory region attributes instead of by the global
6956 variable "remotecache". Add comment describing the interaction
6957 between dcache and memory region attributes.
6958 (dcache_xfer_memory): Add comment describing benefits of moving
6959 cache writeback to a higher level.
6960 (dcache_struct): Removed cache_has_stuff field. This was used to
6961 record whether the cache had been accessed in order to invalidate
6962 it when it was disabled. However, this is not needed because the
6963 cache is write through and the code that enables, disables, and
6964 deletes memory regions invalidate the cache. Add comment which
6965 suggests that we could be more selective and only invalidate those
6966 cache lines containing data from those memory regions.
6967 (dcache_invalidate): Updated.
6968 (dcache_xfer_memory): Updated.
f29d9b6d 6969
29e57380
C
6970 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
6971 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
6972 perform a uncached transfer if dcache_enabled_p was clear. This
6973 function is now only called if caching is enabled for the memory
6974 region.
6975 (dcache_info): Always print cache info.
6976
6977 * target.c (do_xfer_memory): Add attrib argument.
6978 (target_xfer_memory, target_xfer_memory_partial): Break transfer
6979 into chunks defined by memory regions, pass region attributes to
6980 do_xfer_memory().
6981 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
6982
6983 * Makefile.in (SFILES): Add memattr.c.
6984 (COMMON_OBS): Add memattr.o.
6985 (dcache.o): Add target.h to dependencies.
6986 * memattr.c: New file.
6987 * memattr.h: Likewise.
6988
f29d9b6d
C
6989 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
6990 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
6991 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
6992 * gdbserver/low-sim.c (#include "defs.h"): Removed.
6993 (mygeneric_load): Rename from generic_load.
6994
6995 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
6996 (#include "defs.h"): Removed.
6997 (inferior_pid, perror_with_name): Remove declarations.
6998 * gdbserver/low-linux.c: Likewise.
6999 * gdbserver/low-nbsd.c: Likewise.
7000 * gdbserver/low-sparc.c: Likewise.
7001 * gdbserver/low-sun3.c: Likewise.
7002
7003 * i386-stub.c: Re-indent.
7004 * m68k-stub.c: Re-indent.
7005
58d5518e
ND
70062001-01-22 Nicholas Duffek <nsd@redhat.com>
7007
7008 * gdbarch.sh (PARM_BOUNDARY): Define.
7009 * gdbarch.c: Regenerate.
7010 * gdbarch.h: Regenerate.
7011
f6427ade
C
70122001-01-22 J.T. Conklin <jtc@redback.com>
7013
7014 * ns32k-tdep.c: #include "frame.h"
7015 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
7016 appears to have been inadvertantly removed sometime in May 1999.
7017
7018 * Revert 2000-11-09 changes where shared library objects were
7019 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
7020 we'd like to be able to debug dynamically linked executables,
7021 this makes it impossible to build a cross debugger on a many
7022 hosts.
7023
7024 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
7025 * config/i386/nbsdelf.mt: Likewise.
7026 * config/m68k/nbsd.mt: Likewise.
7027 * config/ns32k/nbsd.mt: Likewise.
7028 * config/powerpc/nbsd.mt: Likewise.
7029 * config/sparc/nbsd.mt: Likewise.
7030 * config/sparc/nbsdelf.mt: Likewise.
7031 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
7032 * config/i386/nbsdelf.mh: Likewise.
7033 * config/m68k/nbsd.mh: Likewise.
7034 * config/ns32k/nbsd.mh: Likewise.
7035 * config/powerpc/nbsd.mh: Likewise.
7036 * config/sparc/nbsd.mh: Likewise.
7037
8052a17a
JM
70382001-01-19 Jason Merrill <jason@redhat.com>
7039
7040 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
7041 (process_one_symbol): Likewise.
7042 * dwarfread.c (handle_producer): Likewise.
7043
21a6f6bb
AC
7044Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
7045
7046 * configure.in (build_warnings): Disable -Wuninitialized until GDB
7047 compiles with -Wuninitialized,-Werror.
7048 * configure: Regenerate.
7049
7050 * MAINTAINERS: Add list of buildable targets.
7051
494b7ec9
AC
7052Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
7053
7054 * defs.h (STRCMP): Delete macro.
7055
7056 * objfiles.c (objfile_relocate): Replace STRCMP with call to
7057 strcmp.
7058 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
7059 * symfile.c (compare_symbols): Ditto.
7060 * standalone.c (open): Ditto.
7061 * remote-es.c (verify_break): Ditto.
7062 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
7063
7064 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
7065
8038e1e2
AC
7066Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
7067
7068 * varobj.c (FREEIF): Delete macro.
7069 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
7070 call.
7071
ea8d0b28
NC
70722001-01-18 Nick Clifton <nickc@redhat.com>
7073
7074 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
7075 (arc_print_insn): No bfd available, so pass NULL to
7076 arc_get_disassembler.
7077
5dbd9048
JB
70782001-01-09 James Ingham <jingham@inghji.apple.com>
7079
7080 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
7081 a mangled symbol rather than recursing into lookup_symbol, since
7082 this will just re-unmangle the name & call lookup_symbol_aux -
7083 leading to an infinite recursion.
7084
28ae27b1
MK
70852001-01-18 Mark Kettenis <kettenis@gnu.org>
7086
7087 * infcmd.c (print_return_value): Restore another space lost by
7088 switch to UIOUT. ``$NN='' should be ``$NN =''.
7089
6ab3a9c9
AC
7090Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
7091
7092 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
7093 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
7094 definition in parenthesis.
7095
ad6525fc
AC
7096Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
7097
7098 From 2000-10-27 Mark Salter <msalter@redhat.com>:
7099 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
7100 packet.
7101 (remote_insert_hw_breakpoint): Ditto.
7102
6259c7e2
C
71032001-01-17 J.T. Conklin <jtc@redback.com>
7104
7105 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
9c95b27f 7106 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
6259c7e2
C
7107 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
7108 * m68knbsd-tdep.c: New file.
7109
7110 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
7111
7112 * m68knbsd-nat.c: #include gdbcore.h.
7113
abdcb2a5
AC
7114Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
7115
7116 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
7117
e7a8479f
MS
71182001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
7119
aaeb7efa
MS
7120 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
7121 goes away -- just return false (ie. not stopped by watchpoint).
e7a8479f
MS
7122 * source.c (openp): Fix typo in comment.
7123
7036d6ce
ND
71242001-01-12 Nicholas Duffek <nsd@redhat.com>
7125
7126 * blockframe.c (generic_get_saved_register): Spelling fix.
7127 * frame.h (FRAME_FP): Spelling fix.
7128
9549d9c1
AC
7129Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
7130
7131 * infcmd.c (print_return_value): Restore space lost by switch to
7132 UIOUT. ``$NN='' should be ``$NN =''.
7133
7302a204
ND
71342001-01-08 Nicholas Duffek <nsd@redhat.com>
7135
7136 * regcache.c (set_register_cached, register_buffer,
7137 real_register, pseudo_register fetch_register, store_register):
7138 New functions.
7139 (register_changed, read_relative_register_raw_bytes_for_frame,
7140 registers_changed, registers_fetched, read_register_bytes,
7141 read_register_gen, write_register_gen, read_register,
7142 read_signed_register, write_register, supply_register): Replace
7143 register_valid[] with register_cached() and
7144 set_register_cached().
7145 (read_register_bytes, read_register_gen, write_register_gen,
7146 read_register, read_signed_register, write_register,
7147 supply_register): Replace registers[] with register_buffer().
7148 (read_register_bytes, read_register_gen, read_register,
7149 read_signed_register): Call fetch_register().
7150 (write_register_gen, write_register): Call real_register() and
7151 store_register().
7152 (write_register_bytes): Call store_register().
7153 * value.h (set_register_cached, register_buffer): Prototype.
7154 * remote.c (remote_fetch_registers): Allocate regs[] with a
7155 run-time size. Replace register_valid[] with
7156 set_register_cached().
7157 (store_register_using_P, remote_store_registers): Replace
7158 registers[] with register_buffer().
7159
5ebd2499
ND
71602001-01-08 Nicholas Duffek <nsd@redhat.com>
7161
7162 * regcache.c: Change "write-back" comment to "write-through".
7163 Change "regno" to "regnum".
7164 (read_register, read_signed_register): Remove "raw" from return
7165 value description.
7166 (supply_register): Spelling fix.
7167 * value.h: Change "regno" to "regnum".
7168
1302fd5e
FN
71692001-01-08 Fernando Nasser <fnasser@redhat.com>
7170
7171 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
7172 to be installed.
7173
9dcb560c
MS
71742001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
7175
7176 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
7177
0e2fb98e
ND
71782001-01-04 Nicholas Duffek <nsd@redhat.com>
7179
7180 * valops.c (VALUE_SUBSTRING_START): Delete.
7181
12cf3f1b
ND
71822001-01-04 Nicholas Duffek <nsd@redhat.com>
7183
7184 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
7185 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
7186 (cli_utils_h): New variable.
7187 (cli/cli-utils.o): New rule.
7188 * cli/cli-utils.c: New file.
7189 * cli/cli-utils.h: New file.
7190
cc533b9d
ND
71912001-01-04 Nicholas Duffek <nsd@redhat.com>
7192
7193 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
7194 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
7195
ad2a4d09
C
71962001-01-03 J.T. Conklin <jtc@redback.com>
7197
7198 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
7199 comment.
7200
8140e7ac
MS
72012001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
7202
3116c80a
EZ
7203 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
7204 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
d19b71be 7205 non-float types.
779e876b 7206 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
72e22353
MS
7207 Update copyright notice.
7208
15f33b66 7209For older changes see ChangeLog-2000
c906108c
SS
7210\f
7211Local Variables:
7212mode: change-log
7213left-margin: 8
7214fill-column: 74
7215version-control: never
7216End:
This page took 0.546365 seconds and 4 git commands to generate.