[ bfd/ChangeLog ]
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
d45fc520
AC
12001-10-31 Andrew Cagney <ac131313@redhat.com>
2
3 * x86-64-tdep.c (value_push, x86_64_push_arguments): Replace
4 ``value_ptr'' with ``struct value *''.
5 * s390-tdep.c (s390_push_arguments): Ditto.
6
3a1c5313
AC
72001-10-30 Andrew Cagney <ac131313@redhat.com>
8
9 * ppc-tdep.h: Add #ifndef wrapper. Replace value_ptr with
10 ``struct value *''.
11 (struct frame_info, struct value): Add opaque declarations.
12
68e9cc94
CV
132001-10-31 Corinna Vinschen <vinschen@redhat.com>
14
15 * arch-utils.c (generic_in_solib_call_trampoline): New function.
16 * arch-utils.h (generic_in_solib_call_trampoline): Extern declaration.
17 * gdbarch.c: Regenerated from gdbarch.sh.
18 * gdbarch.h: Ditto.
19 * gdbarch.sh (function_list): Add `IN_SOLIB_CALL_TRAMPOLINE' definition.
20 * infrun.c (IN_SOLIB_CALL_TRAMPOLINE): Remove macro.
21
60e6cc42
AC
222001-10-31 Andrew Cagney <ac131313@redhat.com>
23
24 From DJ Barrow.
25 * s390-tdep.c: (s390_gdbarch_init): Don't initialize
26 find_solib_trampoline_target.
27
61387159
AC
282001-10-31 Andrew Cagney <ac131313@redhat.com>
29
30 * remote-vx.c (net_wait): Fix typo from PIDGET change.
31
fc633446
MK
322001-10-31 Mark Kettenis <kettenis@gnu.org>
33
34 * config/i386/tm-i386.h (REGISTER_NAMES): Remove.
35 (REGISTER_NAME): New define.
36 (i386_register_name): New prototype.
37 * i386-tdep.c (i386_register_names): New variable.
38 (i386_register_name): New function.
39 * config/i386/tm-i386os9k.h, config/i386/tm-ptx.h,
40 config/i386/tm-symmetry.h: Undefine REGISTER_NAME instead of
41 REGISTER_NAMES.
42
3f8ad85b
CF
432001-10-31 Christopher Faylor <cgf@redhat.com>
44
45 * win32-nat.c (register_loaded_dll): Attempt to ensure that the case of
46 the loaded DLL matches the on-disk case since the debugging API does
47 not seem to ensure this. Calculate max name length here.
48 (handle_load_dll): Move max name length calculation to
49 register_loaded_dll.
50
433144fb
DJ
512001-10-31 Daniel Jacobowitz <drow@mvista.com>
52
53 * arm-linux-nat.c: Include <asm/ptrace.h> explicitly.
54
ddc54292
KS
552001-10-30 Keith Seitz <keiths@redhat.com>
56
57 * wrapper.h (gdb_value_struct_elt): New function.
58 * wrapper.c (gdb_value_struct_elt): Ditto.
59 (do_captured_value_struct_elt): Ditto.
60
34f47bc4
AC
612001-10-30 Andrew Cagney <ac131313@redhat.com>
62
63 * README, NEWS: Update for 5.1.
64
4536bbc6
AC
652001-10-30 Andrew Cagney <ac131313@redhat.com>
66
67 * configure.in (WERROR_CFLAGS): Use AC_TRY_COMPILE to test the
68 -W... flags.
69 * configure: Re-generate.
70
c3c057c8
FF
712001-10-30 Fred Fish <fnf@redhat.com>
72
73 * somsolib.c (som_solib_add): A megabyte is 1024*1024 bytes.
74 * pa64solib.c (add_to_solist): Ditto.
75 * win32-nat.c (_initialize_inftarg): Remove unnecessary
76 initialization of auto_solib_add, it defaults to 1.
77
b7209cb4
FF
782001-10-27 Fred Fish <fnf@redhat.com>
79
80 * symfile.c (auto_solib_add): Update comment to note that
81 this variable is now just used as a boolean to control shlib
82 autoloading, and clarify when it is used.
83 * symfile.h (auto_solib_add): Ditto.
84
85 * symfile.c (auto_solib_limit): New variable that holds the
86 autoloading threshold instead of overloading auto_solib_add.
87 * symfile.h (auto_solib_limit): Ditto.
88
89 * irix5-nat.c (_initialize_solib): Change auto-solib-add
90 variable from var_zinteger to var_boolean and update help.
91 * osfsolib.c (_initialize_solib): Ditto.
92 * pa64solib.c (_initialize_pa64_solib): Ditto.
93 * solib.c (_initialize_solib): Ditto.
94 * somsolib.c (_initialize_som_solib): Ditto.
95 * xcoffsolib.c (_initialize_solib): Ditto.
96
97 * pa64solib.c (pa64_solib_total_st_size): Update comment to
98 note that the new auto_solib_limit variable is used instead
99 of overloading auto_solib_add variable.
100 (_initialize_pa64_solib): Ditto.
101 * somsolib.c (som_solib_total_st_size): Ditto.
102 (_initialize_som_solib): Ditto.
103
104 * pa64solib.c (_initialize_pa64_solib): Add new set/show
105 commands for auto-solib-limit variable.
106 * somsolib.c (_initialize_som_solib): Ditto
107
108 * pa64solib.c (add_to_solist): Check that auto_solib_add is
109 set and use auto_solib_limit as the threshold size instead
110 of auto_solib_add.
111 * somsolib.c (som_solib_add): Ditto, and also change warning
112 text about size threshold exceeded.
113
dec66fe5
MK
1142001-10-21 Mark Kettenis <kettenis@gnu.org>
115
116 * config/i386/tm-i386v.h: Don't include "regcache.h".
117 (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, FRAME_CHAIN,
118 FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_NUM_ARGS):
119 Remove macros. The versions from "tm-i386.h" should work fine
120 (and in most cases even better).
121
c6ba6f0d
MK
1222001-10-30 Mark Kettenis <kettenis@gnu.org>
123
124 * i386-tdep.c (i386_extract_return_value): Use
125 convert_typed_floating to extract floating-point value from
126 register buffer.
127 (i386_store_return_value): Use convert_typed_floating to store
128 floating-point return balue in register buffer
129 (i386_register_virtual_type): Change type of floating-point
130 registers to builtin_type_i387_ext.
131 (i386_register_convert_to_virtual): Use convert_typed_floating to
132 do the conversion.
133 (i386_register_convert_to_raw): Likewise.
134
43686d64
MK
1352001-10-29 Mark Kettenis <kettenis@gnu.org>
136
137 * doublest.h (convert_typed_floating): New prototype.
138 * doublest.c (convert_typed_floating): New function.
139
87ffba60
MK
1402001-10-28 Mark Kettenis <kettenis@gnu.org>
141
142 * doublest.c: Improve comments a bit.
143 (floatformat_from_length): New function.
144 (NAN): Define to 0.0 if not already defined.
145 (extract_floating): Rewrite to use floatformat_from_length. Warn
146 instead of error if LEN doesn't match a known floating-point type,
147 and return NaN (or 0.0 if NaN isn't available) in that case.
148 (store_floating): Likewise, but zero out the target byte-stream if
149 LEN doesn't match a known floating-point type.
150 (extract_typed_floating): Reformat a bit.
151 (store_typed_floating): Reformat a bit. Add comment about zeroing
152 out padding in the target buffer.
153 * doublest.h (extract_floating, store_floating): Fix comment about
154 deprecation of these functions. Add parameter names to prototypes.
155
e371b258
MK
1562001-10-28 Mark Kettenis <kettenis@gnu.org>
157
4583280c
MK
158 * i387-tdep.c (print_i387_value): Use extract_typed_floating to
159 convert RAW to a DOUBLEST instead of extract_floating.
160
e371b258
MK
161 * gdbtypes.c (_initialize_gdbtypes): Set floating-point type for
162 builtin_type_i387_ext to floatformat_i387_ext.
163
17fd1ad9
DJ
1642001-10-24 Daniel Jacobowitz <drow@mvista.com>
165
166 * arm-linux-nat.c (fill_gregset): Do not check register_valid[].
167 (fill_fpregset): Likewise.
168
fa4e4598
OF
1692001-10-26 Orjan Friberg <orjanf@axis.com>
170
171 * cris-tdep.c (constraint): Loop through the whole cris_spec_regs
172 struct, not just the NUM_SPECREGS first entries.
173 (bdap_prefix): Read PC before autoincrement.
174
02cc9f49
CV
1752001-10-24 Corinna Vinschen <vinschen@redhat.com>
176
177 * win32-nat.c (DebugSetProcessKillOnExit): New static function
178 pointer to Windows' DebugSetProcessKillOnExit() function.
179 (DebugActiveProcessStop): Ditto for DebugActiveProcessStop().
180 (has_detach_ability): New function.
181 (child_attach): If system has detach ability, enable it.
182 (child_detach): If system has detach ability, actually
183 detach from process.
184 Change tty output to Linux format.
185
3973eadd
JB
1862001-10-23 Jim Blandy <jimb@redhat.com>
187
188 Isolate STABS readers' use of the `textlow' and `texthigh' fields
189 of `struct partial_symtab' to only a few locations. This change
190 is not supposed to affect the way the values are computed, only
191 where they live.
192
193 * dbxread.c (struct symloc): Add `textlow' and `texthigh' fields
194 to the reader-specific structure.
195 * mdebugread.c (struct symloc): Same.
196 * dbxread.c (TEXTLOW, TEXTHIGH): New accessor macros.
197 * mdebugread.c (TEXTLOW, TEXTHIGH): Same.
198 * dbxread.c (dbx_symfile_read): After we've built all our partial
199 symbol tables, set each partial symtab's `textlow' and `texthigh'
200 fields from our reader-specific structure.
201 * mdebugread.c (mdebug_build_psymtabs): Same.
202 * dbxread.c (start_psymtab): Initialize the reader-specific
203 structure's `textlow' and `texthigh' from the new psymtab's.
204 * mdebugread.c (parse_partial_symbols, new_psymtab): Same.
205 * dbxread.c (read_dbx_symtab, end_psymtab, read_ofile_symtab): Use
206 the reader-specific `textlow' and `texthigh', not the generic
207 psymtab fields.
208 * mdebugread.c (parse_lines, parse_partial_symbols,
209 psymtab_to_symtab_1): Same.
210 * partial-stab.h: Same.
211
ce414844
AC
212Tue Oct 23 18:59:42 2001 Andrew Cagney <cagney@redhat.com>
213
214 * hp-psymtab-read.c, hppah-nat.c, hppa-tdep.c: Fix -Wformat
215 problems.
216
8f236061
AC
217Tue Oct 23 14:16:10 2001 Andrew Cagney <cagney@redhat.com>
218
219 * somsolib.c (som_solib_add): Use core_addr_to_host_pointer.
220 (som_solib_desire_dynamic_linker_symbols): Compare integers with
221 zero not NULL.
222 * hp-psymtab-read.c (hpread_call_pxdb): Make parameter constant.
223
d20bf2e8
AC
2242001-10-21 Andrew Cagney <ac131313@redhat.com>
225
226 * top.c (print_gdb_version): Do not print ``(MI_OUT)''. MI
227 interface is always enabled.
228
17732724
AC
2292001-10-21 Andrew Cagney <ac131313@redhat.com>
230
231 * Makefile.in: Replace top.h with $(top_h). Replace expression.h
232 with $(expression_h). Replace command.h with $(command_h).
233 (language_h): Define. Replace language.h with $(language_h).
234 Replace call-cmds.h with $(call_cmds_h). Replace varobj.h with
235 $(varobj_h).
236 (wrapper_h, valprint_h, objfiles_h, complaints_h): Ditto.
237 (serial_h, hpread_h, buildsym_h, stabsread_h): Ditto.
238 (xcoffsolib_h, gdb_stabs_h, linespec_h): Ditto.
239 (bcache_h, gdb_events_h, monitor_h): Ditto.
240 (ser_unix_h, source_h): Ditto.
241 (varobj_h): Update list.
242
243 * call-cmds.h: Add CALL_CMDS_H macro wrapper.
244 * solist.h: Add SOLIST_H macro wrapper.
245 * monitor.h: Add MONITOR_H macro wrapper.
246 * typeprint.h: Add TYPEPRINT_H macro wrapper.
247 * xcoffsolib.h: Add XCOFFSOLIB_H macro wrapper.
248 * valprint.h: Add VALPRINT_H macro wrapper.
249 * top.h: Add TOP_H macro wrapper.
250
fd0407d6
AC
2512001-10-21 Andrew Cagney <ac131313@redhat.com>
252
253 * config/a29k/tm-vx29k.h, i386-tdep.c: Include "value.h".
254 * arm-tdep.c, exec.c, ia64-tdep.c, infrun.c: Ditto.
255 * ppc-linux-tdep.c, remote-es.c, remote.c: Ditto.
256 * rs6000-tdep.c, s390-tdep.c, x86-64-tdep.c: Ditto.
257 * Makefile.in (arm-tdep.o, exec.o, i386-tdep.o, ia64-tdep.o)
258 (infrun.o, ppc-linux-tdep.o, remote.o, rs6000-tdep.o)
259 (x86-64-tdep.o): Update dependencies.
260 * gdbarch.sh [!GDB_MULTI_ARCH]: Include "value.h".
261 * gdbarch.h, gdbarch.c: Re-generate.
262
3c2fb7bd
MK
2632001-10-21 Mark Kettenis <kettenis@gnu.org>
264
265 * infptrace.c (child_xfer_memory): Fix a few coding standards
266 violations.
267
c4282e67
EZ
2682001-10-21 Eli Zaretskii <eliz@is.elta.co.il>
269
270 * config/djgpp/README: Fix a typo and tweak for GDB 5.1.
271
c9847381
AC
2722001-10-20 Andrew Cagney <ac131313@redhat.com>
273
75c9979e
AC
274 * jv-lang.h: Add #ifndef JV_LANG_H wrapper.
275 (struct value): Add opaque declaration. Replace value_ptr with
276 ``struct value *''.
277 * jv-valprint.c, jv-lang.c: Replace value_ptr with equivalent
278 struct.
279
c9847381
AC
280 * wrapper.h (struct value): Add opaque declaration. Replace
281 value_ptr with ``struct value *''.
282 * wrapper.c: Replace value_ptr with ``struct value *''.
278cd55f 283 * breakpoint.h, breakpoint.c: Ditto.
e933e538 284 * cp-abi.h, hpacc-abi.c, gnu-v2-abi.c, cp-abi.c: Ditto.
c9847381 285
f1e3ec29
AC
2862001-10-20 Andrew Cagney <ac131313@redhat.com>
287
288 * alpha-nat.c: Include <alpha/coreregs.h> instead of
289 <machine/reg.h>.
290 (fetch_osf_core_registers): Define core_reg_mapping in a way that
291 works on OSF5 as well as previous OSF versions.
292
83413c55
CF
2932001-10-20 Christopher Faylor <cgf@redhat.com>
294
295 * win32-nat.c (handle_load_dll): Avoid strlwr'ing loaded DLLs or cygwin
296 may not be able to read them in certain situations.
297
457174f6
AC
2982001-10-18 Andrew Cagney <ac131313@redhat.com>
299
300 * config/powerpc/nbsd.mt (SIM_OBS, SIM): Define.
301 * config/powerpc/linux.mt (SIM, SIM_OBS): Ditto
302
4bb5d567
AC
3032001-10-18 Andrew Cagney <ac131313@redhat.com>
304
305 * README: Mention problems with HP/UX.
306
03dd37c3
AC
3072001-10-16 Andrew Cagney <ac131313@redhat.com>
308
309 Based on code by John Moore <jmore@redhat.com>:
310
311 * utils.c (core_addr_to_string): New function for conversion of
312 CORE_ADDR to string.
313 (string_to_core_addr): New function to convert from string to
314 CORE_ADDR.
315 * defs.h: Added extern statements for the above.
316
1ba7c32c
JM
3172001-10-17 Jason Molenda (jason-cl@molenda.com)
318
319 * symtab.c (lookup_block_symbol): Break out of linear search
320 if we're past the range of possible matches.
321
7470a420
CF
3222001-10-16 Christopher Faylor <cgf@redhat.com>
323
324 * win32-nat.c (safe_symbol_file_add_stub): Improve logic for avoiding
325 load of already loaded DLL.
326 (register_loaded_dll): Convert loaded DLL name to "posix" format or it
327 will confuse subsequent opening of the filename due to dos paths.
328 (dll_symbol_command): Pass from_tty parameter to safe_symbol_file_add.
329
8cc1c882
EZ
3302001-10-15 Elena Zannoni <ezannoni@redhat.com>
331
332 * symtab.c (lookup_block_symbol): Update comment.
333
1aa20aa8
AC
3342001-10-15 Andrew Cagney <ac131313@redhat.com>
335
336 * value.h (value_as_address): Rename value_as_pointer.
337 * eval.c, findvar.c, gnu-v2-abi.c, gnu-v3-abi.c, jv-lang.c,
338 jv-valprint.c, printcmd.c, stack.c, top.c, valarith.c, valops.c,
339 values.c: Update.
340
dbbd9c57
AC
341202001-10-15 Jim Ingham <jingham@inghji.apple.com>
342
343 * valarith.c (value_sub): Don't pass a raw type to
344 value_from_pointer, it has to go through check_typedef first.
345
73d3c16e
AC
3462001-10-15 Andrew Cagney <ac131313@redhat.com>
347
348 * gdbarch.sh (fallbackdefault): Set to one when predefault is
349 empty.
350 * gdbarch.h: Regenerate.
351
fc0c74b1
AC
3522001-10-15 Andrew Cagney <ac131313@redhat.com>
353
354 * mips-tdep.c (mips_integer_to_address): New function.
355 (mips_gdbarch_init): Initialize pointer_to_address,
356 address_to_pointer and integer_to_address.
357
358 * config/mips/tm-mips.h (POINTER_TO_ADDRESS): Delete
359 (ADDRESS_TO_POINTER): Delete.
360
361 * d10v-tdep.c (d10v_integer_to_address): New function.
362 (d10v_gdbarch_init): Initialize integer_to_address.
363
364 * values.c (value_as_pointer): Use INTEGER_TO_ADDRESS when
365 available.
366
367 * gdbarch.sh (INTEGER_TO_ADDRESS): New predicate and function.
368 * gdbarch.h, gdbarch.c: Regenerate.
369
cacab7c4
MK
3702001-10-14 Mark Kettenis <kettenis@gnu.org>
371
39024782
MK
372 * config/s390/nm-linux.h: Don't include <signal.h>.
373 (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
374 GET_THREAD_SIGNAL): Remove.
375
dc17571d
MK
376 * config/nm-linux.h (struct objfile): Remove forward declaration.
377 (linuxthreads_new_objfile): Remove prototype.
378 (linuxthreads_pid_to_str): Remove prototype.
379 (PREPARE_TO_PROCEED): Redefine in terms of
380 lin_lwp_prepare_to_proceed.
381 (struct target_waitstatus): Forward declaration.
382 (child_wait): New prototype.
383 (CHILD_WAIT): Define.
384 (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
385 GET_THREAD_SIGNAL): Moved here from arch-specific files.
386 * config/alpha/nm-linux.h, config/arm/nm-linux.h,
387 config/ia64/nm-linux.h, config/mips/nm-linux.h,
388 config/powerpc/nm-linux.h: Don't include <signal.h>.
389 (lin_lwp_attach_lwp, ATTACH_LWP, lin_thread_get_thread_signals,
390 GET_THREAD_SIGNAL): Remove.
391 * config/i386/nm-linux.h: Likewise.
392 (struct target_waitstatus, child_wait, CHILD_WAIT): Remove.
393 * config/m68k/linux.mh, config/sparc/linux.mh (NATDEPFILES):
394 Remove linux-thread.o. Add proc-service.o, thread-db.o and
395 lin-lwp.o.
396 (LOADLIBES): New variable.
397
8e4d17db
MK
398 * sparc-nat.c (fetch_core_registers): Remove redundant prototype.
399
c987d8c0
MK
400 * proc-service.c (BUILD_LWP): Redefine in terms of ptid_build.
401
cacab7c4
MK
402 Fix attaching to cloned processes. This fixes PR gdb/61.
403 * lin-lwp.c (struct lwp_info): Add new member `cloned'.
404 (is_cloned) Removed.
405 (lin_lwp_attach_lwp): Don't call stop_wait_callback. Instead call
406 waitpid explicitly. Mark the LWP as cloned if waitpid fails and
407 retry with __WCLONE flag.
408 (lin_lwp_attach): Likewise. Warn if attaching to a cloned process.
409 (detach_callback): Replace use of is_cloned with explicit check on
410 LWP id and process id.
411 (stop_wait_callback): Replace use of is_cloned with check if LWP
412 is marked as cloned.
413 [CHILD_WAIT] (child_wait): New function.
414 (lin_lwp_wait): Replace use of is_cloned with check if LWP is
415 marked as cloned. Mark newly detected LWPs as cloned if detected
416 by waitpid with __WCLONE flag.
417 (kill_wait_callback): Replace use of is_cloned with check if LWP
418 is marked as cloned.
419 * config/i386/nm-linux.h (struct target_waitstatus): Add forward
420 declaration.
421 (child_wait): Add prototype.
422 (CHILD_WAIT): Define.
423
5769d3cd
AC
4242001-10-13 Andrew Cagney <ac131313@redhat.com>
425
426 S/390 31 & 64 bit target and GNU/Linux native support.
427 Contributed by D.J. Barrow <djbarrow@de.ibm.com> of IBM.
428 * s390-nat.c, s390-tdep.c: New file.
429 * config/s390/nm-linux.h, config/s390/s390.mh: New file.
430 * config/s390/s390.mt, config/s390/s390x.mt: New file.
431 * config/s390/tm-linux.h, config/s390/tm-s390.h: New file.
432 * config/s390/xm-linux.h: New file.
433 * NEWS: Update.
434 * MAINTAINERS: Update.
435
83e6b173
AC
4362001-10-13 Andrew Cagney <ac131313@redhat.com>
437
438 From 2001-07-09 D.J. Barrow <djbarrow@de.ibm.com>:
439 * gdbarch.sh: Fixed CALL_DUMMY_BREAKPOINT_OFFSET to check
440 CALL_DUMMY_BREAKPOINT_OFFSET_P.
441 * gdbarch.c: Regenerate.
442
21bf60fe
MK
4432001-10-13 Mark Kettenis <kettenis@gnu.org>
444
445 * thread-db.c: Fix a few formatting mistakes.
446
fefd0a37
CF
4472001-10-12 Christopher Faylor <cgf@redhat.com>
448
449 * win32-nat.c (safe_symbol_file_add_stub): Properly initialize linked
450 list pointer to beginning rather than one beyond beginning.
451
e88c90f2
DJ
4522001-10-12 Daniel Jacobowitz <drow@mvista.com>
453
454 * symtab.h (struct block): (ALL_BLOCK_SYMBOLS): New macro.
455
456 * symtab.c (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS.
457 (make_symbol_completion_list): Likewise.
458 (make_symbol_overload_list): Likewise.
459 * buildsym.c (finish_block): Likewise.
460 * breakpoint.c (get_catch_sals): Likewise.
461 * mdebugread.c (mylookup_symbol): Likewise.
462 * objfiles.c (objfile_relocate): Likewise.
463 * printcmd.c (print_frame_args): Likewise.
464 * stack.c (print_block_frame_locals): Likewise.
465 (print_block_frame_labels): Likewise.
466 (print_frame_arg_vars): Likewise.
467 * symmisc.c (dump_symtab): Likewise.
468 * tracepoint.c (add_local_symbols): Likewise.
469 (scope_info): Likewise.
470
375f3d86
DJ
4712001-10-12 Daniel Jacobowitz <drow@mvista.com>
472
473 * minsyms.c (msymbol_hash): Use better hash function.
474 (msymbol_hash_iw): Likewise. Terminate loop at '(' properly.
475
476 * objfiles.h: Increase MINIMAL_SYMBOL_HASH_SIZE to match modern
477 binaries.
478
55159471
DJ
4792001-10-12 Daniel Jacobowitz <drow@mvista.com>
480
481 * printcmd.c (print_frame_args): Move symbol iteration explicitly
482 inside the func != NULL block.
483
30ef99d1
FN
4842001-10-12 Fernando Nasser <fnasser@redhat.com>
485
486 * MAINTAINERS (Misc): Add Ian Roxborough as tcl/, tk/ and itcl/
487 maintainer.
488
02e423b9
CF
4892001-10-12 Pierre Muller <muller@ics.u-strasbg.fr>
490
d60dc82a 491 * config/i386/tm-cygwin.h: Include tm-i386.h instead of tm-i386v.h.
02e423b9
CF
492 This fixes errors in "long long" handling for 'finish' and 'return'
493 commands.
494
4952001-10-12 Christopher Faylor <cgf@redhat.com>
496
497 * win32-nat.c (safe_symbol_file_add_stub): Avoid adding a shared
498 library if it has already been loaded.
499 (safe_symbol_file_add_cleanup): Don't mess with stderr or we won't see
500 any error messages.
501 (safe_symbol_file_add): Ditto.
502 (solib_symbols_add): Make static. Accept 'from_tty' parameter. Pass
503 it to safe_symbol_file_add.
504 (core_dll_symbols_add): Accomodate extra solib_symbols_add parameter.
505 (child_solib_add): Ditto.
506
507 * win32-nat.c (handle_exception): Don't print "first chance"
508 exceptions.
509 (get_child_debug_event): Continue from exceptions if !handle_exception.
510
1b15f1fa
TT
5112001-10-11 Tom Tromey <tromey@redhat.com>
512
513 * symtab.c (lookup_symtab): Removed.
514 (lookup_symtab_1): Renamed to lookup_symtab.
515
700b351b
CF
5162001-10-10 Christopher Faylor <cgf@redhat.com>
517
518 * win32-nat.c (get_child_debug_event): Close file handles created after
519 process creation and DLL load.
520 (child_create_inferior): Close unneeded process/thread handle after
521 thread creation.
522
4eab1e18
JB
5232001-10-10 Jim Blandy <jimb@redhat.com>
524
525 * mn10300-tdep.c (mn10300_analyze_prologue): Doc fixes.
526
4abb499e
KS
5272001-10-10 Keith Seitz <keiths@redhat.com>
528
529 * varobj.c (cplus_value_of_child): Deal with a failure
530 to dereference a pointer object.
531
8b2797db
JB
5322001-10-08 J. Brobecker <brobecker@gnat.com>
533
534 * hpux-thread.c: rewrite find_active_thread() and find_tcb()
535 to use ptid_t, instead of overloading the thread and the pid
536 into the same 32-bit value. Make associated necessary adaptations.
537 Also remove unused variable cached_active_thread.
538
420effb8
ND
5392001-10-08 Nicholas Duffek <nsd@redhat.com>
540
541 * MAINTAINERS (powerpc, SCO/Unixware, Solaris/x86): Remove my
542 entries.
543
3eb970a8
MK
5442001-10-06 Mark Kettenis <kettenis@beast.freebsd.org>
545
546 * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Define.
547
78f49586
TT
5482001-10-04 Tom Tromey <tromey@redhat.com>
549
550 * main.c (enable_external_editor): Don't declare.
551 (captured_main): Don't set enable_external_editor.
552
ab31aa69
KB
5532001-10-02 Kevin Buettner <kevinb@redhat.com>
554
555 * Makefile.in (ALLDEPFILES): Add solib-svr4.c and solib-sunos.c
556 to this list.
557 (solib-sunos.o): Add dependencies.
558 (solib-svr4.o): Revise dependencies.
559 * solib-svr4.c: Remove SunOS shared library support.
560 * solib-sunos.c: New file, created from solib-svr4.c, which still
561 contains SunOS shared library support, but no SVR4 support.
562
563 * config/i386/nbsd.mh (NATDEPFILES): Remove solib-svr4.o and
564 solib-legacy.o from this list. Add solib-sunos.o.
565 * config/i386/sun386.mt (TDEPFILES): Likewise.
566 * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
567 * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
568 * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
569 * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
570 * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
571 * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
572
39ae698d
EZ
5732001-10-01 Elena Zannoni <ezannoni@redhat.com>
574
575 * Makefile.in (mipsread.o): Remove old dependency on partial-stab.h.
576
d5d0a62f
EZ
5772001-10-01 Elena Zannoni <ezannoni@redhat.com>
578
579 * xcoffread.c (N_UNDF, N_ABS, N_TEXT, N_DATA, N_BSS, N_COMM, N_FN,
580 N_EXT, N_INDR, N_SETA, N_SETT, N_SETD, N_SETB, N_SETV,
581 CUR_SYMBOL_TYPE, CUR_SYMBOL_VALUE, START_PSYMTAB, END_PSYMTAB,
582 SET_NAMESTRING): Delete definitions.
583 Don't include language.h any more.
584 Don't include partial-stab.h any more.
585 (scan_xcoff_symtab): Don't jump through hoops to reuse code in
586 partial-stab.h, include the code directly, instead.
587
588 * Makefile.in (xcoffread.o): Remove dependency on partial-stab.h.
589
447aa9a6
AC
5902001-10-01 Andrew Cagney <ac131313@redhat.com>
591
592 * infcmd.c (do_registers_info): Delete code dumping large
593 registers. Handled by val_print.
594
85de9627
AC
5952001-09-30 Andrew Cagney <ac131313@redhat.com>
596
597 * gdbarch.sh (gdbarch_alloc): Name the new architecture
598 ``current_gdbarch'' so that it, and not the identically named
599 global is refered to by macros.
600 * gdbarch.c: Regenerate.
601
f3796e26
AC
6022001-09-29 Andrew Cagney <ac131313@redhat.com>
603
604 * cli/cli-decode.c (add_set_boolean_cmd): Define.
605 * cli/cli-decode.h (add_set_boolean_cmd): Declare.
606 * command.h (add_set_boolean_cmd): Ditto.
607 * remote.c (_initialize_remote): Use add_set_boolean_cmd for "set
608 remotebreak"
609
08e45a40
AC
6102001-09-29 Andrew Cagney <ac131313@redhat.com>
611
612 * gdbarch.sh (gdbarch_dump): Sort output.
613 * gdbarch.c: Regenerate.
614
e712c1cf
AC
6152001-09-29 Andrew Cagney <ac131313@redhat.com>
616
617 * rs6000-tdep.c (rs6000_gdbarch_init): Don't use the previous
618 architecture to infer the wordsize. Previous architecture may not
619 be a PowerPC.
620
d68f31a9
JB
6212001-09-27 J. Brobecker <brobecker@gnat.com>
622
623 * infttrace.c (kill_inferior): Issue a TT_PROC_EXIT request rather
624 than a TT_PROC_STOP request to kill the inferior and its child
625 processes. Otherwise, the inferior is not killed on HPUX 11.0.
626 Removed the code that detaches the child processes since we just
627 killed them.
628
e3abfe1d
AC
6292001-09-26 Andrew Cagney <ac131313@redhat.com>
630
631 * serial.c (serial_set_cmdlist, serial_show_cmdlist): New
632 variables.
633 (serial_set_cmd, serial_show_cmd): New functions.
634 (_initialize_serial): Add "set/show serial" command.
635
ff1da24e
AC
6362001-09-26 Andrew Cagney <ac131313@redhat.com>
637
638 * CONTRIBUTE: Update.
639
e5e2b9ff
KB
6402001-09-26 Kevin Buettner <kevinb@redhat.com>
641
642 * solib-svr4.h (set_solib_svr4_fetch_link_map_offsets): Add
643 argument ``gdbarch''.
644 * solib-svr4.c (SVR4_FETCH_LINK_MAP_OFFSETS): Change default value.
645 (default_svr4_fetch_link_map_offsets): Rename to
646 legacy_fetch_link_map_offsets().
647 (svr4_fetch_link_map_offsets): New function.
648 (fetch_link_map_offsets, fetch_link_map_offsets_init): Deleted.
649 (fetch_link_map_offsets_gdbarch_data): New static global.
650 (set_solib_svr4_fetch_link_map_offsets): Add argument ``gdbarch''.
651 Revise to invoke set_gdbarch_data().
652 (init_fetch_link_map_offsets): Change return type and add an
653 argument so that it may be used as a gdbarch_data initializer.
654 (_initialize_svr4_solib): Eliminate use of gdbarch swap mechanism.
655 Use gdbarch data mechanism instead.
656
86ed34a9 6572001-09-25 Jiri Smid <smid@suse.cz>
c74ae012
JS
658
659 * x86-64-linux-tdep.c (LINUX_SIGINFO_SIZE): Add.
660 (x86_64_linux_sigcontext_addr): Replace `sizeof (struct siginfo)'
661 by LINUX_SIGINFO_SIZE.
662
4f337972
AC
6632001-09-24 Andrew Cagney <ac131313@redhat.com>
664
665 * maint.c (maintenance_set_cmdlist, maintenance_show_cmdlist): New
666 variables.
667 (maintenance_set_profile_cmd): New function.
668 (maintenance_show_cmd, maintenance_set_cmd): New functions.
669 (_initialize_maint_cmds): Add "maintenance set" and "maintenance
670 show" and, commented out, "maintenance set/show profile" commands.
671
f76febae
AC
6722001-09-24 Andrew Cagney <ac131313@redhat.com>
673
674 * findvar.c (read_var_value): For LOC_INDIRECT and LOC_REF_ARG
675 convert the pointer into a CORE_ADDRs.
676
96d2f608
AC
6772001-09-24 Andrew Cagney <ac131313@redhat.com>
678
679 * doublest.h (store_floating, extract_floating): Add comment
680 indicating these functions are deprecated.
681 (extract_typed_floating, store_typed_floating): Declare.
682 * doublest.c: Include "gdbtypes.h".
683 (extract_typed_floating, store_typed_floating): Define.
684
685 * stabsread.c (define_symbol): Use store_typed_floating.
686 * valarith.c (value_binop): Ditto.
687 * values.c (unpack_long): Use extract_typed_floating.
688 (unpack_double): Ditto.
689
7ab98e9e
OF
6902001-09-24 Orjan Friberg <orjanf@axis.com>
691
692 * cris-tdep.c (reg_mode_add_sub_cmp_and_or_move_op): Fetch operand1
693 from correct register.
694
1dbeeb7b
MK
6952001-09-22 Mark Kettenis <kettenis@gnu.org>
696
697 * x86-64-linux-tdep.c (STRUCT_OFFSET): Removed.
698
c4d82c96
JS
6992001-09-21 Jiri Smid <smid@suse.cz>
700
701 * config/i386/x86-64linux.mh: New file.
702 * config/i386/x86-64linux.mt: New file.
703 * config/i386/nm-x86_64.h: New file.
704 * x86-64-linux-tdep.c: New file.
705 * x86-64-linux-nat.c: New file.
706 * x86-64-tdep.c: New file.
707 * x86-64-tdep.h: New file.
708 * i386-tdep.h: New file.
709 * i387-nat.c: Include i386-tdep.h when multiarch.
710 * i387-tdep.c: Ditto.
711 * config/djgpp/fnchange.lst: Add entries for x86_64-linux-tdep.c
712 and x86_64-linux-nat.c
713 * Makefile.in: Add x86_64-linux-tdep.o, x86_64-tdep.o,
714 x86_64-linux-tdep.o, x86_64-nat.o, update dependencies.
715
cab16195
JS
7162001-09-21 Jiri Smid <smid@suse.cz>
717
718 * MAINTAINERS: Add myself to the write-after-approval list.
719 * i386-nat.c (TARGET_HAS_DR_LEN_8, DR_LEN_8): Declare.
720 (i386_length_and_rw_bits, i386_handle_nonaligned_watchpoint,
721 i386_insert_watchpoint, i386_remove_watchpoint): Add support for
722 8-byte wide watchpoints.
723 (i386_show_dr): Debug message format string change.
724
3e9986d2
MS
7252001-09-21 Michael Snyder <msnyder@redhat.com>
726
727 * c-exp.y (typebase): Accept (signed long long) as a type expr.
728
56e2d25a
MS
7292001-09-20 Michael Snyder <msnyder@redhat.com>
730 Changes by Daniel Berlin <dan@cgsoftware.com>, to support
731 better parsing of const and volatile type expressions.
732 * c-exp.y (const_and_volatile, const_or_volatile_noopt,
733 const_or_volatile): New non-terminals.
734 (ptype): Use new rule for const_or_volatile.
735 (typebase): Use new rule for const_or_volatile_noopt.
736 * parser-defs.h (enum type_pieces): New values tp_const, tp_volatile.
737 * parse.c (follow_types): Handle tp_const and tp_volatile on the
738 type stack: call make_cv_type to create new const/volatile type.
739
1c4dcb57
KB
7402001-09-20 Kevin Buettner <kevinb@redhat.com>
741
742 * solib-svr4.c (fetch_link_map_offsets): Add comment.
743 (fetch_link_map_offsets_init): New static global.
744 (set_solib_svr4_fetch_link_map_offsets, init_fetch_link_map_offsets):
745 Revise implementation to use ``fetch_link_map_offsets_init''
746 instead of ``fetch_link_map_offsets''.
747
3a42e9d0
AM
7482001-09-20 Alan Modra <amodra@bigpond.net.au>
749
750 * coffread.c: Replace all occurrences of bfd_read with bfd_bread.
751 * dbxread.c: Likewise.
752 * dwarf2read.c: Likewise.
753 * dwarfread.c: Likewise.
754 * somread.c: Likewise.
755 * ultra3-nat.c: Likewise.
756 * xcoffread.c: Likewise.
757
e0441cf0
AC
7582001-09-19 Andrew Cagney <ac131313@redhat.com>
759
8535cb38
AC
760 * cris-tdep.c (cris_get_signed_offset): Change return type to an
761 explicitly signed char.
762
e0441cf0
AC
763 * config/mcore/tm-mcore.h (mcore_virtual_frame_pointer): Update
764 function signature to match recent tracepoint.c:encode_actions
765 changes.
766 * mcore-tdep.c (mcore_virtual_frame_pointer): Ditto.
767
2b65245e
AC
7682001-09-18 Andrew Cagney <ac131313@redhat.com>
769
770 * thread.c (do_captured_thread_select): Add uiout parameter.
771 (do_captured_list_thread_ids): Ditto.
772 * breakpoint.c (do_captured_breakpoint_query): Ditto.
773
774 * breakpoint.c (gdb_breakpoint_query): Update. Use
775 catch_exceptions.
776 * thread.c (gdb_list_thread_ids): Ditto.
777 (gdb_thread_select): Ditto.
778 (thread_command): Pass uiout to gdb_thread_select.
779
780 * gdb.h (gdb_breakpoint_query): Add parameter ui_out.
781 (gdb_thread_select, gdb_list_thread_ids): Ditto.
782
2069d78d
KB
7832001-09-13 Kevin Buettner <kevinb@redhat.com>
784
785 From Ilya Golubev <gin@mo.msk.ru>:
786 * solib.c (clear_solib): Call `remove_target_sections' to fix
787 stale pointers in `struct target_ops'.
788 * irix5-nat.c (clear_solib): Likewise.
789 * osfsolib.c (clear_solib): Likewise.
790
348d75a5
JB
7912001-09-13 Jim Blandy <jimb@redhat.com>
792
e8816aac
JB
793 * monitor.c (monitor_load): Don't delete symtab users, or reset
794 inferior_ptid.
795
348d75a5
JB
796 * monitor.c (monitor_load): Fix indentation.
797
7982001-09-11 Jim Blandy <jimb@redhat.com>
799
800 * printcmd.c (print_scalar_formatted): Compare the length of the
801 value against the lengths of the target's floating-point types,
802 not the host's. Add support for `long double'.
803
804 * printcmd.c (print_scalar_formatted): Fix indentation.
805
a5666cc9
JB
8062001-09-10 Jim Blandy <jimb@redhat.com>
807
808 * rom68k-rom.c (init_rom68k_cmds): Set the flag indicating that
809 programs running on the board can produce output.
810
6d6b80e5
JM
8112001-09-10 Jason Molenda (jmolenda@apple.com)
812
813 * NEWS: "ANS/ISO C" -> "ISO C".
814 * MAINTAINERS (write-after-approval): Update my entry.
815
7fc73f38
MK
8162001-09-08 Mark Kettenis <kettenis@gnu.org>
817
df5fdb3d
MK
818 * config/xm-aix4.h (MEM_FNS_DECLARED): Removed.
819
4ad318e6
MK
820 * config/arm/xm-linux.h, config/ia64/xm-linux.h,
821 config/m68k/xm-linux.h, config/mips/xm-linux.h,
822 config/powerpc/xm-linux.h, config/sparc/xm-linux.h: Remove
823 redundant inclusion of <unistd.h>.
824
7fc73f38
MK
825 * gdbtypes.h (struct block): Add forward declaration.
826
f9c696d2
AC
8272001-09-07 Andrew Cagney <ac131313@redhat.com>
828
829 * defs.h (enum return_reason): Renumber so that all values are
830 negative.
831 (RETURN_MASK): Negate reason.
832 (catch_exception_ftype): Declare.
833 (catch_exceptions): Declare.
834 * top.c (catcher): New function, based on catch_errors. Add in
835 parameter func_uiout and out parameters func_val, func_caught and
836 func_cleanup. Change type of func to catch_exceptions_ftype.
837 Save/restore uiout.
838 (struct catch_errors_args): Define.
839 (do_catch_errors): New function.
840 (catch_errors): Rewrite, use do_catch_errors and catcher.
841 (catch_exceptions): New function, use catcher.
842
a2e2dd80
JB
8432001-09-07 Jim Blandy <jimb@redhat.com>
844
845 Correctly parse register values provided by the monitor.
846 * rom68k-rom.c: #include "value.h".
847 (is_hex_digit, hex_digit_value, is_whitespace,
848 rom68k_supply_one_register): New static functions.
849 (rom68k_supply_register): Call rom68k_supply_one_register, instead
850 of monitor_supply_register; the latter was incorrectly parsing
851 the values.
852 * Makefile.in (rom68k-rom.o): Note that this now #includes value.h.
853
93befcf3
MK
8542001-09-07 Mark Kettenis <kettenis@gnu.org>
855
856 * config/rs6000/xm-rs6000.h (setpgrp): Remove macro. GDB defaults
857 to using setpgid if available now.
858
b381d62d
KS
8592001-09-06 Keith Seitz <keiths@redhat.com>
860
861 From Ian Roxborough <irox@redhat.com>
862 * configure.in: Use ITCL_LIB_FULL_PATH and
863 ITK_LIB_FULL_PATH to set Itcl and Itk dependancies
864 for gdb.
865 * configure: Regenerated.
866
9a058a09
KB
8672001-09-06 Kevin Buettner <kevinb@redhat.com>
868
869 * dbxread.c (process_one_symbol): Don't use error result from
870 find_stab_function_addr().
871 * partial-stab.h (case 'F'): Likewise.
872
873 * partial-stab.h (case 'f'): Make SOFUN_ADDRESS_MAYBE_MISSING
874 code match that used for case 'F'. This fixes the divergence
875 that was introduced by my 1999-09-14 changes to partial-stab.h.
876
2bf0cb65
EZ
8772001-09-05 Elena Zannoni <ezannoni@redhat.com>
878
879 * gdbarch.sh: Move include of dis-asm.h so it is generated earlier
880 in gdbarch.h.
881 (TARGET_PRINT_INSN): Multiarch.
882 * gdbarch.h: Regenerate.
883 * gdbarch.c: Regenerate.
884
885 * arch-utils.c (legacy_print_insn): New function.
886 * arch-utils.h (legacy_print_insn): Export.
887
888 * cris-tdep.c (cris_delayed_get_disassembler): Use
889 TARGET_PRINT_INSN, instead of tm_print_insn.
890 * d10v-tdep.c (print_insn): Ditto.
891 * d30v-tdep.c (print_insn): Ditto.
892 * m32r-tdep.c (dump_insn): Ditto.
893 * v850-tdep.c (v850_scan_prologue): Ditto.
894 * mcore-tdep.c (mcore_dump_insn): Ditto.
895 * sh-tdep.c (sh_gdbarch_init): Set print_insn gdbarch field.
896
6369010f
JB
8972001-09-05 Jim Blandy <jimb@redhat.com>
898
899 * gdbtypes.h (struct type): Doc fix.
900
d3d55eeb
EZ
9012001-09-04 Elena Zannoni <ezannoni@redhat.com>
902
903 From Daniel Jacobowitz <drow@mvista.com>
904 * dbxread.c (free_header_files): Make global.
905 (init_header_files): Likewise.
906 * stabsread.h (free_header_files): Add prototype.
907 (init_header_files): Likewise.
908 * mdebugread.c (mdebug_build_psymtabs): Initialize
909 properly before using the stabs debug reader.
910
16db6055 9112001-09-04 Elena Zannoni <ezannoni@redhat.com>
ef96bde8
EZ
912
913 From Daniel Jacobowitz <drow@mvista.com>
914 * dbxread.c (dbx_symfile_read): Only reinitialize
915 the psymbol list if mainline or if both static
916 and global lists are empty.
917 * dwarf2read.c (dwarf2_build_psymtabs): Likewise.
918 * dwarfread.c (dwarf_build_psymtabs): Likewise.
919 * xcoffread.c (xcoff_initial_scan): Likewise.
920 * os9kread.c (os9k_symfile_read): Likewise.
16db6055 921
ef96bde8
EZ
9222001-09-04 Elena Zannoni <ezannoni@redhat.com>
923
16db6055
EZ
924 From Daniel Jacobowitz <drow@mvista.com>
925 * mdebugread.c (psymtab_to_symtab_1): Handle N_SO stabs without
926 a name specially.
927
f77b92bf
MK
9282001-09-01 Mark Kettenis <kettenis@gnu.org>
929
930 Make GDB use libiberty regex implementation.
931 * gdb_regex.h: Normalize protection against multiple inclusion.
932 Include "xregex.h" instead of "gnu-regex.h".
933 * cli/cli-cmds.c: Include "gdb_regex.h" instead of "gnu-regex.h".
934 * cli/cli-decode.c: Likewise.
935 * Makefile.in (REGEX): Remove.
936 (GDB_CFLAGS): Remove reference to gnu-regex.h in comment.
937 (ADD_FILES, ADD_DEPS): Remove $(REGEX).
938 (POSSLIBS): Remove.
939 (TAGFILES_NO_SRCDIR): Remove $(POSSLIBS).
940 (irix5-nat.o, solib.o, solib-svr4.o, source.o, symtab.o,
941 xcoffsolib.o, cli-decode.o, cli-cmd.o): Replace gnu-regex.h with
942 gdb_regex.h in list of dependencies.
943 (gnu-regex.o): Remove rule.
944 * gnu-regex.c, gnu-regex.h: Remove files.
945
a4f30b31
MS
9462001-08-31 Jason Molenda (jmolenda@apple.com)
947
948 * c-valprint.c (c_val_print): Second call to check_typedef ()
949 is no longer necessary.
950
902d7086
KB
9512001-08-31 Kevin Buettner <kevinb@redhat.com>
952
953 * ia64-tdep.c (examine_prologue): Don't let a branch unit nop
954 terminate the prologue scan.
955
2889e661
JB
9562001-08-30 Jim Blandy <jimb@redhat.com>
957
9ec8e6a0
JB
958 * symfile.c (sections_overlap): New function.
959 (map_overlay_command): Call sections_overlap, instead of using
960 incorrect logic to recognize overlapping sections.
961
2889e661
JB
962 * symfile.c (load_command): Invalidate the overlay cache.
963
cd903d53
MK
9642001-08-30 Mark Kettenis <kettenis@gnu.org>
965
966 * config/i386/xm-i386.h (HOST_BYTE_ORDER): Removed.
967
8ad2fcde
KB
9682001-08-29 Kevin Buettner <kevinb@redhat.com>
969
970 From 2001-08-07 Daniel Jacobowitz <drow@mvista.com>:
971 * solib-svr4.c (enable_break): Check the inferior link map
972 before assuming the inferior PC is at the start of the dynamic
973 loader.
974
e8759349
AC
9752001-08-28 Andrew Cagney <cagney@toribio.toronto.redhat.com>
976
977 * frame.h (struct frame_info): Fix documentation on fields
978 saved_regs, next and prev.
979
46711df8
MK
9802001-08-23 Mark Kettenis <kettenis@gnu.org>
981
982 * event-top.c (async_stop_sig) [HAVE_SIGPROCMASK]: Some
983 gratuitious whitespace changes.
984 [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is defined.
985 * top.c: Remove redundant logic to define HAVE_SIGSETMASK.
986 (sigsetmask) Don't define macro.
987 (stop_sig) [HAVE_SIGPROCMASK]: Add bit of code snatched from
988 async_stop_sig from event-top.c.
989 [!HAVE_SIGPROCMASK]: Call sigsetmask if HAVE_SIGSETMASK is
990 defined.
991 * configure.in (AC_CHECK_FUNCS): Put functions in alphabetical
992 order. Add sigsetmask.
993 (AC_FUNC_VFORK, AC_FUNC_ALLOCA): Reorder such that they're in
994 alphabetical order.
995 * config/xm-aix4.h, config/alpha/xm-alphalinux.h,
996 config/i386/xm-cygwin.h, config/rs6000/xm-rs6000.h
997 (HAVE_SIGSETMASK): Remove.
964840f7 998 * aclocal.m4, config.in, configure: Regenerated.
46711df8 999
526eeb95
AC
10002001-08-26 Andrew Cagney <ac131313@redhat.com>
1001
1002 From 2001-06-29 Andrew Cagney <ac131313@redhat.com>:
1003 * config/powerpc/nbsd.mh (XM_FILE): Delete.
1004
c16ac28f
AC
10052001-08-21 Andrew Cagney <ac131313@redhat.com>
1006
1007 * doublest.h (HOST_FLOAT_FORMAT): Delete macro.
1008 (HOST_DOUBLE_FORMAT): Delete macro.
1009
ceacb162
MK
10102001-08-24 Mark Kettenis <kettenis@gnu.org>
1011
1012 * config/xm-lynx.h, config/xm-nbsd.h, config/xm-sysv4.h,
1013 config/i386/xm-i386aix.h, config/m68k/xm-dpx2.h: Remove redundant
1014 inclusion of <limits.h>.
1015
275f450c
AC
10162001-08-24 Andrew Cagney <ac131313@redhat.com>
1017
1018 * regcache.c (read_register_bytes): When REGISTER_NAME indicates
1019 that a register should be ignored, supply a value for the register
1020 from the raw registers[] buffer.
1021
12a498f3
AC
10222001-08-24 Andrew Cagney <ac131313@redhat.com>
1023
1024 * go32-nat.c (go32_create_inferior): Use xfree instead of free.
1025 * config/djgpp/fnchange.lst: Add entries for i386bsd-tdep.c and
1026 i386bsd-nat.c.
1027
598f52df
AC
10282001-08-21 Andrew Cagney <ac131313@redhat.com>
1029
1030 * gdbtypes.h (builtin_type_ieee_single_big)
1031 (builtin_type_ieee_single_little, builtin_type_ieee_double_big)
1032 (builtin_type_ieee_double_little)
1033 (builtin_type_ieee_double_littlebyte_bigword)
1034 (builtin_type_i387_ext, builtin_type_m68881_ext)
1035 (builtin_type_i960_ext, builtin_type_m88110_ext)
1036 (builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
1037 (builtin_type_arm_ext_littlebyte_bigword)
1038 (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
1039 (builtin_type_ia64_quad_big)
1040 (builtin_type_ia64_quad_little): Declare.
1041 * gdbtypes.c (builtin_type_ieee_single_big)
1042 (builtin_type_ieee_single_little, builtin_type_ieee_double_big)
1043 (builtin_type_ieee_double_little)
1044 (builtin_type_ieee_double_littlebyte_bigword)
1045 (builtin_type_i387_ext, builtin_type_m68881_ext)
1046 (builtin_type_i960_ext, builtin_type_m88110_ext)
1047 (builtin_type_m88110_harris_ext, builtin_type_arm_ext_big)
1048 (builtin_type_arm_ext_littlebyte_bigword)
1049 (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little)
1050 (builtin_type_ia64_quad_big)
1051 (builtin_type_ia64_quad_little): Define.
1052 (_initialize_gdbtypes): Initialize builtin floatformat types.
1053
1a6fae3c
MK
10542001-08-23 Mark Kettenis <kettenis@gnu.org>
1055
1056 * tracepoint.c (read_actions): Add FIXME for code depending on
1057 STOP_SIGNAL.
1058
7829b833
MH
10592001-08-23 Martin M. Hunt <hunt@redhat.com>
1060
1061 * remote-mips.c (pmon_load_fast): Add ui_load_progress_hook
1062 to download loop.
1063 (mips_load_srec): Ditto.
1064
701c159d
AC
10652001-08-22 Andrew Cagney <ac131313@redhat.com>
1066
1067 * gdbtypes.c (build_gdbtypes): Initialize TYPE_FLOATFORMAT field
1068 of builtin_type_float, builtin_type_double and
1069 builtin_type_long_double.
1070 (recursive_dump_type): Print the floatformat name.
1071 * gdbtypes.h (struct type): Add type_specific field floatformat.
1072 (TYPE_FLOATFORMAT): Define
1073
99a6d8ba
KS
10742001-08-21 Keith Seitz <keiths@redhat.com>
1075
1076 * printcmd.c (print_insn): Use the given stream for
1077 output.
1078
a37b3cc0
AC
10792001-07-24 Andrew Cagney <ac131313@redhat.com>
1080
1081 * arm-tdep.c (convert_from_extended, convert_to_extended): Delete
1082 assembler version of function.
1083 (convert_from_extended, convert_to_extended): Rewrite. Use
1084 floatformat_to_doublest, floatformat_from_doublest,
1085 floatformat_arm_ext_big, floatformat_arm_ext_littlebyte_bigword.
1086 (arm_push_arguments): Use extract_floating and store_floating to
1087 perform floating point conversions.
1088 (SWAP_TARGET_AND_HOST): Delete macro.
1089 * arm-linux-tdep.c (arm_linux_push_arguments): Use
1090 extract_floating and store_floating to perform floating point
1091 conversions.
1092
1c72f9b0
AC
10932001-08-20 Andrew Cagney <ac131313@redhat.com>
1094
1095 * gdbtypes.h (struct type): Clarify meaning of field ``length''.
1096
705da579
KS
10972001-08-17 Keith Seitz <keiths@redhat.com>
1098
1099 * varobj.c (varobj_update): Change first parameter to
1100 pointer to struct varobj*. This function can delete
1101 varobjs, so we need to give callers the new varobj
1102 when this happens.
1103 (value_of_root): Update "var", too, if "var_handle"
1104 changes.
1105 * varobj.h (varobj_update): Likewise.
1106
2bf63d86
KS
11072001-08-17 Keith Seitz <keiths@redhat.com>
1108
1109 * Makefile.in (varobj_h): Define.
1110 (mi-cmd-var.o): Depends on varobj_h.
1111 (gdbtk-varobj.o): Change varobj.h to $(varobj_h).
1112
d1c3b63a
KS
11132001-08-16 Keith Seitz <keiths@redhat.com>
1114
1115 * configure.in (GDBTK_SRC_DIR): We must have autoconf
1116 give us the absolute path to the source directory.
1117 * configure: Regenerated.
1118 * Makefile.in (GDBTK_SRC_DIR): Add variable so that
1119 autoconf can substitue it in for us.
1120 (gdbtk.o): Pass in GDBTK_SRC_DIR instead of srcdir. We
1121 really do need an absolute pathname.
1122
f0b743a9
KS
11232001-08-15 Keith Seitz <keiths@redhat.com>
1124
1125 * Makefile.in (GDBTK_VERSION): Set a version number.
1126 (GDBTK_LIBRARY): New variable to point to location where
1127 gdbtk will install its tcl library. Changed all refereneces
1128 to $(datadir)/insight1.0 to $(GDBTK_LIBRARY).
1129 (SUBDIR_GDBTK_ALL): Remove "all-gdbtk". No longer needed.
1130 (SUBDIR_GDBTK_CLEAN): Remove "clean-gdbtk". No longer needed.
1131 (all-gdbtk): Remove.
1132 (install-gdbtk): Remove.
1133 (gdbtk.o): Pass srcdir to file when compiling.
1134
11352001-08-15 Ian Roxborough <irox@redhat.com>
1136
1137 * Makefile.in: Changed all references to the install directory
1138 "gdbtcl" to read "insight1.0".
1139
bdcd319a
CV
11402001-08-15 Corinna Vinschen <vinschen@redhat.com>
1141
1142 * arch-utils.c (generic_skip_trampoline_code): New function.
1143 * arch-utils.h (generic_skip_trampoline_code): Declare external.
1144 * gdbarch.c: Regeberated from gdbarch.sh.
1145 * gdbarch.h: Ditto.
1146 * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Multi-arch.
1147 * infrun.c: Remove default setting of SKIP_TRAMPOLINE_CODE macro.
1148
40b3352b
L
11492001-08-14 Daniel Jacobowitz <drow@mvista.com>
1150 H.J. Lu (hjl@gnu.org)
1151
1152 * partial-stab.h: valu should be a CORE_ADDR.
1153
11542001-08-14 H.J. Lu (hjl@gnu.org)
1155
1156 * dbxread.c (SWAP_SYMBOL): Removed.
1157 (INTERNALIZE_SYMBOL): Check sign extended vma.
1158
ae9d9b96
CF
11592001-08-13 Christopher Faylor <cgf@cygnus.com>
1160
1161 * top.c (SIGSETJMP): Protect env argument with parentheses.
1162 (SIGLONGJMP): Protect env argument with parentheses.
1163
6ca173e3
AC
11642001-08-11 Andrew Cagney <ac131313@redhat.com>
1165
1166 * config/mn10300/mn10300.mt (TM_FILE): Delete.
1167 * configure.tgt: Add mn10300 to list of mulit-arch targets.
1168 * config/mn10300/tm-mn10300.h: Delete file. Move contents ...
1169 * mn10300-tdep.c: To here.
1170
5ea92dfe
AC
11712001-08-11 Andrew Cagney <ac131313@redhat.com>
1172
1173 * config/i386/tm-symmetry.h (REGISTER_CONVERT_TO_VIRTUAL): Make
1174 val a DOUBLEST. Use floatformat_to_doublest.
1175 (REGISTER_CONVERT_TO_RAW): Ditto. Use foatformat_from_doublest.
1176 * config/m88k/tm-m88k.h (REGISTER_CONVERT_TO_VIRTUAL): Ditto.
1177 (REGISTER_CONVERT_TO_RAW): Ditto.
1178
a15525c1
AC
11792001-08-11 Andrew Cagney <ac131313@redhat.com>
1180
1181 * config/mn10300/tm-mn10300.h (PC_REGNUM, SP_REGNUM): Delete.
1182 * mn10300-tdep.c (mn10300_gdbarch_init): Initialize pc_regnum and
1183 sp_regnum.
1184
c422e771
AC
11852001-08-11 Andrew Cagney <ac131313@redhat.com>
1186
1187 * doublest.c (convert_doublest_to_floatformat): Rename
1188 floatformat_from_doublest. Make static.
1189 (convert_floatformat_to_doublest): Rename floatformat_to_doublest.
1190 Make static.
1191 (floatformat_to_doublest): New function.
1192 (floatformat_from_doublest): New function.
1193 (host_float_format, host_double_format, host_long_double_format):
1194 New static variables.
1195 (store_floating, extract_floating): Always use
1196 floatformat_to_doublest and floatformat_from_doublest.
1197 * doublest.h (HOST_LONG_DOUBLE_FORMAT): Delete macro.
1198
f096a152
AC
11992001-08-11 Andrew Cagney <ac131313@redhat.com>
1200
1201 * config/mn10300/tm-mn10300.h (INIT_FRAME_PC): Delete.
1202 * mn10300-tdep.c (mn10300_gdbarch_init): Initialize init_frame_pc.
1203
39d4ef09
AC
12042001-08-07 Andrew Cagney <ac131313@redhat.com>
1205
1206 * target.h (TARGET_VIRTUAL_FRAME_POINTER): Delete, multi-arched.
1207 * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Add.
1208 * gdbarch.h, gdbarch.c: Regenerate.
1209
1210 * arch-utils.h (legacy_virtual_frame_pointer): Declare.
1211 * arch-utils.c: Include "gdb_assert.h".
1212 (legacy_virtual_frame_pointer): Define.
1213 * Makefile.in (arch-utils.o): Depends on gdb_assert.h.
1214
1215 * tracepoint.c (encode_actions): Make frame_reg an int. Make
1216 frame_offset a LONGEST.
1217 * ax-gdb.c (gen_frame_args_address): Ditto.
1218 (gen_frame_locals_address): Ditto.
1219 * mn10300-tdep.c (mn10300_gdbarch_init): Initialize
1220 virtual_frame_pointer.
1221 (mn10300_virtual_frame_pointer): Make static. Update parameter
1222 list to match function signature.
1223 * config/mn10300/tm-mn10300.h (TARGET_VIRTUAL_FRAME_POINTER): Delete.
1224
67c2c32c
KS
12252001-08-10 Keith Seitz <keiths@redhat.com>
1226
1227 * gdb-events.sh: Add architecture_changed event.
1228 * gdbarch.sh: Include gdb-event.h.
1229 (gdbarch_update_p): Notify UIs when architecture changes.
1230 * gdb-events.h: Regenerated.
1231 * gdb-events.c: Regenerated.
1232 * gdbarch.c: Regenerated.
1233
1297a2f0
MS
12342001-08-10 Michael Snyder <msnyder@redhat.com>
1235
1236 * regcache.c (legacy_write_register_gen): Don't 'optimize out'
1237 a write_register to a pseudo-reg. Target_store_pseudo_register
1238 needs to get called, because these regs may be computed and may
1239 have side-effects.
1240
fd969be2
KS
12412001-08-10 Keith Seitz <keiths@redhat.com>
1242
1243 * gdb-events.sh: Deal with event notifications with no
1244 arguments.
1245
fb6e5c55
OF
12462001-08-10 Orjan Friberg <orjanf@axis.com>
1247
1248 * remote.c (read_frame): Correct off-by-one error in condition.
1249
a1bab801
DH
12502001-08-08 Don Howard <dhoward@redhat.com>
1251
1252 * stabsread.c (read_type): Add support for const and volatile
1253 modifiers.
1254
455ecc72
DJ
12552001-08-02 Daniel Jacobowitz <drow@mvista.com>
1256
1257 * core-regset.c (fetch_core_registers): Remove HAVE_GREGSET_T
1258 and HAVE_FPREGSET_T checks. Use gdb_gregset_t and gdb_fpregset_t.
1259
a5cedf2f
KS
12602001-08-02 Keith Seitz <keiths@redhat.com>
1261
1262 * defs.h (SLASH_STRING): If not defined, set
1263 to "/", regardless of _WIN32, __CYGWIN__, or
1264 whatnot.
1265
d7275149
MK
12662001-08-02 Mark Kettenis <kettenis@gnu.org>
1267
cc6dd2c0
MK
1268 * cli/cli-decode.h: Include "gdb_regex.h" instead of
1269 "gnu-regex.h".
1270
d7275149
MK
1271 * NEWS: Update.
1272
40cd916f
EZ
12732001-08-02 Eli Zaretskii <eliz@is.elta.co.il>
1274
1275 * config/i386/xm-go32.h: Include xm-i386.h.
1276 (HOST_BYTE_ORDER, HOST_LONG_DOUBLE_FORMAT): Remove definitions.
1277
b5de0fa7
EZ
12782001-08-02 Eli Zaretskii <eliz@is.elta.co.il>
1279
1280 The following changes avoid polluting global namespace with the
1281 `enable' and `disable' identifiers, because some platforms define
1282 in their system headers symbols with global scope that go by those
1283 names.
1284
1285 * breakpoint.h (enum enable_state): Rename from `enum enable'.
1286 Also rename all the enum members to have the "bp_" prefix.
1287 (struct breakpoint): Rename the `enable' member to `enable_state'.
1288 (enum bpdisp): Rename all members to have the "disp_" prefix.
1289
1290 * breakpoint.c: All users of `enum enable' and `enum bpdisp'
1291 changed.
1292 (args_for_catchpoint_enable): Rename the `enable' member to
1293 `enable_p'. All users changed.
1294
1295 * tracepoint.h (enum enable): Remove.
1296 (struct tracepoint): The member `enabled' is now `int enabled_p'.
1297
1298 * tracepoint.c: All users of the `enabled' member changed.
1299
1300 * printcmd.c (struct display): The `status' member is now an int.
1301
1302 * memattr.h (struct mem_region): Rename the `status' member to
1303 `enabled_p'.
1304 (enum enable): Remove.
1305
1306 * memattr.c: Change all users of the `status' member of struct
1307 mem_region to use `enabled_p' instead.
1308
1309 * infcmd.c (run_stack_dummy): Use disp_del instead of del.
1310
1311 * go32-nat.c: Remove the kludgey work-around for conflicts between
1312 <dos.h> and "breakpoint.h".
1313
ad4571f3
CV
13142001-08-02 Corinna Vinschen <vinschen@redhat.com>
1315
1316 * MAINTAINERS: Add myself to the write-after-approval list.
1317 * ser-tcp.c (tcp_open): Use `localhost' as default host if no
1318 hostname is given.
1319
64f6fcad
AC
13202001-08-01 Andrew Cagney <ac131313@redhat.com>
1321
1322 * doublest.h (store_floating, floatformat_to_doublest): Make IN
1323 paramter a const void pointer.
1324 (floatformat_from_doublest): Make IN const, Make OUT a void
1325 pointer.
1326 * doublest.c (floatformat_to_doublest): Update.
1327 (floatformat_from_doublest): Update.
1328 (extract_floating): Update.
1329
d16aafd8
AC
13302001-07-31 Andrew Cagney <ac131313@redhat.com>
1331
1332 * defs.h (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
1333 (HOST_FLOAT_FORMAT, HOST_DOUBLE_FORMAT)
1334 (HOST_LONG_DOUBLE_FORMAT, DOUBLEST)
1335 (floatformat_to_doublest, floatformat_from_doublest)
1336 (floatformat_is_negative, floatformat_is_nan)
1337 (floatformat_mantissa, store_floating)
1338 (extract_floating): Move declaration from here.
1339 * doublest.h: To here. New file.
1340 * utils.c (get_field, floatformat_to_doublest, put_field)
1341 (ldfrexp, floatformat_from_doublest, floatformat_is_negative)
1342 (floatformat_is_nan, floatformat_mantissa)
1343 (FLOATFORMAT_CHAR_BIT): Move from here.
1344 * doublest.c: To here. New file.
1345 * findvar.c (store_floating, extract_floating): Move from here.
1346 * doublest.c: To here.
1347 * Makefile.in (SFILES): Add doublest.c.
1348 (COMMON_OBS): Add doublest.o.
1349 (doublest.o): Specify dependencies.
1350 (doublest_h): Define.
1351
1352 * config/m88k/tm-m88k.h: Include "doublest.h".
1353 * config/i960/tm-i960.h: Ditto.
1354 * config/i386/tm-symmetry.h: Ditto.
1355 * rs6000-tdep.c, valarith.c: Ditto.
1356 * valprint.c, stabsread.c, sh-tdep.c: Ditto.
1357 * ia64-tdep.c, i387-tdep.c, i386-tdep.c: Ditto.
1358 * values.c, arm-tdep.c, arm-linux-tdep.c: Ditto.
1359 * alpha-tdep.c, ax.h, expression.h: Ditto.
1360 * sh-tdep.c, parse.c, top.c, value.h: Ditto.
1361
1362 * Makefile.in (arm-tdep.o): Add $(doublest_h).
1363 (i386-tdep.o, i387-tdep.o, ia64-tdep.o): Ditto.
1364 (rs6000-tdep.o, stabsread.o, valarith.o): Ditto.
1365 (values.o, valprint.o, arm-linux-tdep.o): Ditto.
1366 (alpha-tdep.o, ax_h, parse.o, top.o, value_h): Ditto.
1367 (parser_defs_h): Ditto.
1368 (expression_h): Add $(doublest_h) and $(symtab_h).
1369
1b0cad1c
AC
13702001-08-01 Andrew Cagney <ac131313@redhat.com>
1371
1372 * Makefile.in: Sort header definitions.
1373 (parser_defs_h, dis_asm_h, annotate_h, gdbthread_h): Define.
1374 Replace parser-defs.h with $(parser_defs_h). Replace $(dis-asm_h)
1375 and $(dis-asm.h) with $(dis_asm_h). Replace annotate.h with
1376 $(annotate_h). Replace target.h with $(target_h). Replace
1377 gdbthread.h with $(gdb_thread_h). Replace symfile.h with $(symfile_h).
1378
1ca66634
MK
13792001-07-31 Mark Kettenis <kettenis@gnu.org>
1380
1381 * config/i386/xm-i386.h: New file.
1382 * config/i386/xm-fbsd.h: Removed.
1383 * config/i386/xm-linux.h: Removed.
1384 * config/i386/fbsd.mh: Reorganize a bit.
1385 (XM_FILE): Set to xm-i386.h instead of xm-fbsd.h.
1386 * config/i386/linux.mh (XM_FILE): Set to xm-i386.h insread of
1387 xm-linux.h.
1388
9e84cbde
JB
13892001-07-30 Jim Blandy <jimb@redhat.com>
1390
1391 * dwarf2read.c (dwarf2_build_psymtabs_hard): Doc fix.
1392
72473524
DJ
13932001-07-27 Daniel Jacobowitz <drow@mvista.com>
1394
1395 * configure.in: Only invoke AC_FUNC_SETPGRP if not cross-compiling.
1396 Check for SETPGRP_VOID separately if cross-compiling and ISO C
1397 headers are available.
1398
8d7f6b4a
MK
13992001-07-30 Mark Kettenis <kettenis@gnu.org>
1400
4b418e06
MK
1401 * config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Redefine to call
1402 i386_dwarf_reg_to_regnum.
1403
8d7f6b4a
MK
1404 * i386-tdep.c (i386_register_convert_to_virtual): Replace
1405 assertion with a warning if we're asked to convert towards a
1406 non-floating-point type. Zero out the the buffer where the data
1407 is supposed to be stored in that case.
1408
6c56c069
EZ
14092001-07-29 Eli Zaretskii <eliz@is.elta.co.il>
1410
f959bc41
EZ
1411 * config/djgpp/djconfig.sh: Unset CDPATH.
1412
a3b9cbb3
EZ
1413 * go32-nat.c (get_cr3): Temporary disable support for page tables
1414 in UMBs, as it is incomplete.
1415
6c56c069
EZ
1416 Support for stepping through longjmp in DJGPP programs:
1417
1418 * config/i386/tm-go32.h (JB_ELEMENT_SIZE, JB_PC): New macros.
1419 (GET_LONGJMP_TARGET): Define to call get_longjmp_target.
1420 (get_longjmp_target): Add prototype.
1421
de6ee558
AC
14222001-07-28 Andrew Cagney <ac131313@redhat.com>
1423
1424 Fix some PID/TPID fallout for HP/UX.
1425 From 2001-07-22 Rodney Brown <rbrown64@csc.com.au>:
1426 * infttrace.c (ptrace_wait): Match external declaration,
1427 and match target_post_wait declaration.
1428
93755ae6
AC
14292001-07-28 Andrew Cagney <ac131313@redhat.com>
1430
1431 * MAINTAINERS: Add Orjan Friberg as cris target maintainer.
158ff1e6 1432 (cris): Set --enable-gdb-build-warnings flag to -w.
93755ae6 1433
16f769f3
AC
14342001-07-28 Andrew Cagney <ac131313@redhat.com>
1435
1436 From 2001-07-23 Andreas Schwab <schwab@suse.de>:
1437 * config/m68k/tm-m68k.h (TARGET_LONG_DOUBLE_FORMAT): Define.
1438 (TARGET_LONG_DOUBLE_BIT): Define.
1439 (REGISTER_VIRTUAL_SIZE): Return 12 for floating point registers.
1440 (MAX_REGISTER_VIRTUAL_SIZE): Increase to 12.
1441 (REGISTER_VIRTUAL_TYPE): Return builtin_type_long_double for
1442 floating point registers.
1443 (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL)
1444 (REGISTER_CONVERT_TO_RAW): Remove.
1445 * config/m68k/xm-linux.h (HOST_LONG_DOUBLE_FORMAT): Define.
1446
5b7f31a4
AC
14472001-07-26 Andrew Cagney <ac131313@redhat.com>
1448
1449 * thread.c, breakpoint.c: Include "gdb.h".
1450 * Makefile.in (gdb_h): Define.
1451 (HFILES_NO_SRCDIR): Add gdb.h.
1452 (mi-cmd-break.o, mi-main.o, thread.o)
1453 (breakpoint.o): Add dependency on $(gdb_h).
1454
1455 * defs.h (enum gdb_rc, gdb_breakpoint_query)
1456 (gdb_breakpoint, gdb_thread_select)
1457 (gdb_list_thread_ids): Move declaration from here ...
1458 * gdb.h: To here. New file.
1459
8aaf581c
SC
14602001-07-28 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1461
1462 * Makefile.in (SUBDIR_TUI_OBS): Add tui-out.o, tui-hooks.o.
1463 (SUBDIR_TUI_SRCS): Add tui-out.c tui-hooks.c
1464 (SFILES): Likewise.
1465 (tui-out.o): Define dependencies.
1466 (tui-hooks.o): Likewise.
1467
f9e2d830
AC
14682001-07-28 Andrew Cagney <ac131313@redhat.com>
1469
1470 * MAINTAINERS: Update e-mail address of active @cygnus.com
1471 maintainers to @redhat.com.
1472
de6ed73f
AC
14732001-07-28 Andrew Cagney <ac131313@redhat.com>
1474
1475 * README (Known bugs): Delete section.
1476 (Kernel debugging): Delete section.
1477 (Languages other than C): Delete section.
1478 (Host/target specific installation notes) New section.
1479
3d261580
MK
14802001-07-28 Mark Kettenis <kettenis@gnu.org>
1481
85540d8c
MK
1482 * config/i386/tm-i386.h (STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM,
1483 DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): New defines.
1484 (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum): New
1485 prototypes.
1486 * config/i386/tm-fbsd.h, config/i386/tm-i386gnu.h,
1487 config/i386/tm-linux.h (STAB_REG_TO_REGNUM): Redefine to call
1488 i386_dwarf_reg_to_regnum.
1489 * i386-tdep.c (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum):
1490 New functions.
1491
3d261580
MK
1492 * i386-tdep.c: Include "gdb_assert.h"
1493 (i386_register_convert_to_virtual): Fix such that it can handle
1494 conversion to any floating-point type. Assert that we are dealing
1495 with a floating-point first.
1496 (i386_register_convert_to_raw): Assert that TYPE is a
1497 floating-point type with length 12.
1498
2db5ca22
JM
14992001-07-27 John R. Moore <jmoore@redhat.com>
1500
1501 * configure.in: Added dependency of gdb on tcl/tk libraries.
1502 * Makefile.in: Likewise.
1503 * configure: Regenerated with the above using autoconf.
1504
88e04cc1
EZ
15052001-07-26 Elena Zannoni <ezannoni@redhat.com>
1506
1507 * sh-tdep.c (sh_gdbarch_init): Use SH_DEFAULT_NUM_REGS instead of
1508 NUM_REGS.
1509 (SH_DEFAULT_NUM_REGS): Define.
1510
2033c18a
EZ
15112001-07-26 Eli Zaretskii <eliz@is.elta.co.il>
1512
1513 * go32-nat.c (read_memory_region): Make sure the segment limit was
1514 indeed set, to work around a Windows 2000 bug.
1515
9f30d7f5
DJ
15162001-07-25 Daniel Jacobowitz <drow@mvista.com>
1517
1518 * infptrace.c (child_xfer_memory): Add cast to CORE_ADDR.
1519 * infttrace.c (child_xfer_memory): Likewise.
1520 * symm-nat.c (child_xfer_memory): Likewise.
1521 * gdbserver/low-hppabsd.c (read_inferior_memory): Likewise.
1522 (write_inferior_memory): Likewise.
1523 * gdbserver/low-linux.c (read_inferior_memory): Likewise.
1524 (write_inferior_memory): Likewise.
1525 * gdbserver/low-lynx.c (read_inferior_memory): Likewise.
1526 (write_inferior_memory): Likewise.
1527 * gdbserver/low-nbsd.c (read_inferior_memory): Likewise.
1528 (write_inferior_memory): Likewise.
1529 * gdbserver/low-sparc.c (read_inferior_memory): Likewise.
1530 (write_inferior_memory): Likewise.
1531 * gdbserver/low-sun3.c (read_inferior_memory): Likewise.
1532 (write_inferior_memory): Likewise.
1533
e23194cb
EZ
15342001-07-25 Eli Zaretskii <eliz@is.elta.co.il>
1535
966beb0f
EZ
1536 * README: Mention how to make gdb.pdf.
1537
e23194cb
EZ
1538 * NEWS: Update.
1539
7c542009
SS
15402001-07-24 Stephen P. Smith <ischis2@home.com>
1541
a3f3e535
SS
1542 * MAINTAINERS (Stephen P. Smith): Added to write after approval
1543 list.
1544
675fb869
AC
15452001-07-23 Andrew Cagney <ac131313@redhat.com>
1546
1547 * mips-tdep.c (mips_push_arguments): Add comment explaining
1548 problem with LE o32 GCC.
1549
a7019e23
EZ
15502001-07-23 Elena Zannoni <ezannoni@redhat.com>
1551
1552 * config/powerpc/aix.mh (MH_LDFLAGS): Don't set these, the Gnu linker
1553 doesn't understand them.
1554
ab35b611
EZ
15552001-07-23 Elena Zannoni <ezannoni@redhat.com>
1556
1557 * memattr.c (mem_info_command): Reformat output to look more like
1558 'info break' output.
1559 (_initialize_mem): Improve help.
1560
0200359f
MK
15612001-07-23 Mark Kettenis <kettenis@gnu.org>
1562
1563 * configure.in (AC_CHECK_FUNCS): Add setpggrp.
1564 (AC_FUNC_SETPGRP): Add.
1565 * aclocal.m4, configure, config.in: Regenerated.
1566 * inflow.c (gdb_setpgid): Get rid of NEED_POSIX_SETPGID and
1567 SETPGRP_ARGS. Always use setpgid if it is available, fall back on
1568 setpgrp if it isn't. Use SETPGRP_VOID (defined by autoconf) to
1569 distinguish between the two setpgrp flavours.
1570 * config/xm-sysv4.h, config/arm/xm-linux.h,
1571 config/i386/xm-i386aix.h, config/i386/xm-sco.h,
1572 config/i386/xm-linux.h, config/i386/xm-ptx.h,
1573 config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
1574 config/sparc/xm-linux.h, config/sparc/xm-sun4sol2.h,
1575 config/ia64/xm-linux.h (NEED_POSIX_SETPGID): Remove.
1576 * config/rs6000/xm-rs6000.h (SETPGRP_ARGS): Remove.
1577
9f20bf26
EZ
15782001-07-23 Eli Zaretskii <eliz@is.elta.co.il>
1579
1580 * go32-nat.c (read_memory_region): Set the granularity bit of the
1581 allocated segment according to its size, and adjust the limit to
1582 be page-aligned if the segment is page-granular.
1583
1584 * (get_cr3, get_pde, get_pte, display_ptable_entry, go32_pde)
1585 (display_page_table, go32_pte, go32_pte_for_address): New functions.
1586 (_initialize_go32_nat): Initialize and document them.
1587
383d750b
MK
15882001-07-22 Mark Kettenis <kettenis@gnu.org>
1589
1590 * i386gnu-nat.c: Include "i387-nat.h".
1591 (struct env387): Removed.
1592 (reg_offset): Fix comment.
1593 (fetch_fpregs): Use FCTRL_REGNUM and FOP_REGNUM instead of
1594 FIRST_FPU_CONTROL_REGNUM and LAST_FPU_CONTROL_REGNUM. Rewrite to
1595 use i387_supply_fsave.
1596 (gnu_fetch_registers): Remove spurious whitespace.
1597 (convert_to_env387): Remove.
1598 (store_fpregs): Add argument regno. Use i387_fill_fsave instead
1599 of convert_to_env387.
1600 (gnu_store_registers): Remove spurious whitespace. Pass REGNO to
1601 store_fpregs.
1602 * config/i386/i386gnu.mt (TDEPFILES): Add i387-tdep.o.
1603 * config/i386/i386gnu.mh (XDEPFILES): Remove i387-tdep.o.
1604 (NATDEPFILES): Add i387-nat.o.
1605
1a12f22f
SC
16062001-07-22 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1607
1608 * Makefile.in (ALLDEPFILES): Add m68hc11-tdep.c.
1609 (m68hc11-tdep.o): Define dependencies.
1610
7d32ba20
SC
16112001-07-22 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1612
1613 * m68hc11-tdep.c (m68hc11_gdbarch_init): Define int at 16-bits.
1614
5ecb1806
SC
16152001-07-21 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1616
1617 * utils.c (init_page_info): Use tui_get_command_dimension.
1618 * printcmd.c (disassemble_command): Simplify tui specific code,
1619 use tui_is_window_visible, tui_show_assembly.
1620
25630444
MK
16212001-07-21 Mark Kettenis <kettenis@gnu.org>
1622
1623 * i386bsd-nat.c: Do not include <sys/sysctl.h>.
1624 (_initialize_i386bsd_nat) [KERN_PS_STRINGS]: Move FreeBSD-specific
1625 code to ...
1626 * i386fbsd-nat.c: ... here. New file.
1627 * config/i386/fbsd.mh (NATDEPFILES): Add i386-fbsd.o.
1628 * config/i386/nm-fbsd.h (CHILD_RESUME): Define.
1629 * Makefile.in (ALLDEPFILES): Add i386fbsd-nat.c.
1630 (i386fbsd-nat.o): Add dependencies.
1631
0150732f
DJ
16322001-07-19 Daniel Jacobowitz <drow@mvista.com>
1633
1634 * signals.c: New file.
1635 * Makefile.in: Add signals.o.
1636 * target.c (struct signals, target_signal_to_name)
1637 (target_signal_from_name, target_signal_from_host)
1638 (do_target_signal_to_host, target_signal_to_host_p)
1639 (target_signal_to_host, target_signal_from_command): Move to
1640 signals.c.
1641 (initialize_targets): Move check of struct signals to...
1642 * signals.c (_initialize_signals): Here.
1643
e36118e7
AC
16442001-07-19 Andrew Cagney <ac131313@redhat.com>
1645
1646 * MAINTAINERS: Add Michael Chastain as C++ testsuite maintainer.
1647
b4fc7a30
AC
16482001-07-19 Andrew Cagney <ac131313@redhat.com>
1649
1650 From Stephen Smith:
1651 * configure.tgt (i*86-*-pe*): New target.
1652
4b048bc0
AC
16532001-07-19 Andrew Cagney <ac131313@redhat.com>
1654
1655 From 2001-07-16 Rodney Brown <rbrown64@csc.com.au>:
1656 * infttrace.c (child_thread_alive): Fix gdb_tid typo.
1657 * somsolib.c (no_shared_libraries): Provide stub.
1658 * xcoffsolib.c (no_shared_libraries): Provide stub.
1659
227288a0
SC
16602001-07-18 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1661
1662 * Makefile.in (COMMON_OBS): Remove tui-file.o.
1663 (SUBDIR_TUI_OBS): Add it here.
1664 (SUBDIR_TUI_SRCS): Move tui-file.c and tui-file.h here.
1665 (main.o): Remove dependency with tui-file.h.
1666
f9eb4b01
EZ
16672001-07-17 Elena Zannoni <ezannoni@redhat.com>
1668
1669 * Makefile.in (tui-file.o): Update dependencies.
1670
d0c8cdfb
EZ
16712001-07-17 Elena Zannoni <ezannoni@redhat.com>
1672
1673 * top.c (catch_errors): Convert PTR to void * in parameters list.
1674 (quit_cover): Ditto.
1675
063190b6
SC
16762001-07-17 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1677
1678 * source.c (find_source_lines): Remove tui test, must be replaced
1679 by appropriate warning hook.
1680 (print_source_lines): Remove tui hacks, must be replaced by cli.
1681 (forward_search_command): Remove tui hacks, can be replaced by
1682 appropriate calls to identify_source_line when tui scrolls.
1683 (reverse_search_command): Likewise.
1684
cf759d3b
ND
16852001-07-16 Nick Duffek <nsd@redhat.com>
1686
1687 * remote.c (init_remote_ops, init_remote_cisco_ops,
1688 init_remote_async_ops): Set to_pid_to_str and
1689 to_extra_thread_info correctly and in the same order as declared
1690 in target.h.
1691
0caabb7e
AC
16922001-07-16 Andrew Cagney <ac131313@redhat.com>
1693
1694 * remote.c: Revert below. Included more than intended.
1695
943b3971
ND
16962001-07-16 Nick Duffek <nsd@redhat.com>
1697
1698 * remote.c (init_remote_ops, init_remote_cisco_ops,
1699 init_remote_async_ops): Set to_pid_to_str and
1700 to_extra_thread_info correctly and in the same order as declared
1701 in target.h.
1702
9ed10b08
ND
17032001-07-16 Nick Duffek <nsd@redhat.com>
1704
1705 * findvar.c (read_var_value): Apply value_as_pointer() to
1706 addresses retrieved from the target for LOC_BASEREG and
1707 LOC_BASEREG_ARG variables.
1708
24be5c34
OF
17092001-07-16 Orjan Friberg <orjanf@axis.com>
1710
1711 * NEWS: New target CRIS.
1712
314b6fb7
EZ
17132001-07-16 Elena Zannoni <ezannoni@redhat.com>
1714
1715 * top.c (show_commands): Remove extern decl of history_get, it's
1716 already in readline/history.h.
1717
210661e7
EZ
17182001-07-16 Elena Zannoni <ezannoni@redhat.com>
1719
1720 * top.c (is_complete_command, init_cmd_lists, init_cli_cmds,
1721 execute_user_command, do_setshow_command, get_prompt, init_proc,
1722 serial_log_command): Remove extern declarations. Include
1723 cli/cli-cmds.h, cli/cli-script.h, cli/cli-setshow.h, serial.h.
1724 * gdbcmd.h (execute_user_command): Remove declaration, it's already
1725 in cli/cli-script.h.
1726 * command.h (do_setshow_command): Remove declaration, it's already
1727 in cli/cli-setshow.h.
1728 * infrun.c: Include "cli/cli-script.h" for execute_user_command.
1729 * Makefile.in (infrun.o): Update dependencies.
1730 (top.o): Ditto.
1731 * cli/cli-setshow.h: Add comment for do_setshow_command.
1732
2584159e
EZ
17332001-07-16 Eli Zaretskii <eliz@is.elta.co.il>
1734
1735 * cli/cli-cmds.c (shell_escape) [GLOBAL_CURDIR]: Condition the
1736 call to chdir on this symbol rather than on __DJGPP__.
1737 (CANT_FORK) [__MSDOS__]: Move from here...
1738 * defs.h (CANT_FORK) [__MSDOS__]: ...to here.
1739 (GLOBAL_CURDIR) [__MSDOS__]: Define.
1740
cf54db79
OF
17412001-07-16 Orjan Friberg <orjanf@axis.com>
1742
1743 * configure.tgt: Recognise the CRIS architecture.
1744 * config/cris/cris.mt: New file for CRIS target.
1745 * cris-tdep.c: New file for CRIS target.
1746
64cdedad
EZ
17472001-07-15 Elena Zannoni <ezannoni@redhat.com>
1748
1749 * top.c (quit_cover, float_handler): Move definition up before use.
1750 (gdb_init): Move to end of file, to avoid calls to not yet defined
1751 functions.
1752 Delete prototypes.
1753
2cd58942
AC
17542001-07-14 Andrew Cagney <ac131313@redhat.com>
1755
1756 * serial.h (SERIAL_ASYNC): Delete.
1757 (DEPRECATED_SERIAL_FD): Delete.
1758 (SERIAL_DEBUG): Delete.
1759 (SERIAL_DEBUG_P): Delete.
1760 (SERIAL_DRAIN_OUTPUT): Delete.
1761 (SERIAL_FLUSH_OUTPUT): Delete.
1762 (SERIAL_FLUSH_INPUT): Delete.
1763 (SERIAL_SEND_BREAK): Delete.
1764 (SERIAL_RAW): Delete.
1765 (SERIAL_GET_TTY_STATE): Delete.
1766 (SERIAL_SET_TTY_STATE): Delete.
1767 (SERIAL_PRINT_TTY_STATE): Delete.
1768 (SERIAL_NOFLUSH_SET_TTY_STATE): Delete.
1769 (SERIAL_SETBAUDRATE): Delete.
1770 (SERIAL_SETSTOPBITS): Delete.
1771 (SERIAL_CAN_ASYNC_P): Delete.
1772 (SERIAL_IS_ASYNC_P): Delete.
1773 (SERIAL_UN_FDOPEN): Delete.
1774 (SERIAL_READCHAR): Delete.
1775 (SERIAL_CLOSE): Delete.
1776 (SERIAL_FDOPEN): Delete.
1777 (SERIAL_OPEN): Delete.
1778 * ser-unix.c: Update.
1779 * sparclet-rom.c: Update.
1780 * remote-bug.c: Update.
1781 * dsrec.c: Update.
1782 * xmodem.c: Update.
1783 * nindy-share/ttyflush.c: Update.
1784 * nindy-share/Onindy.c: Update.
1785 * utils.c: Update.
1786 * serial.c: Update.
1787 * remote-nindy.c: Update.
1788 * inflow.c: Update.
1789 * sparcl-tdep.c: Update.
1790 * sh3-rom.c: Update.
1791 * remote.c: Update.
1792 * remote-utils.c: Update.
1793 * remote-st.c: Update.
1794 * remote-sds.c: Update.
1795 * remote-rdp.c: Update.
1796 * remote-os9k.c: Update.
1797 * remote-nrom.c: Update.
1798 * remote-mips.c: Update.
1799 * remote-es.c: Update.
1800 * remote-e7000.c: Update.
1801 * remote-array.c: Update.
1802 * ocd.c: Update.
1803 * nindy-share/nindy.c: Update.
1804 * monitor.c: Update.
1805
ea7c478f
AC
18062001-07-14 Andrew Cagney <ac131313@redhat.com>
1807
1808 * mn10200-tdep.c: Replace value_ptr with ``struct value *''.
1809 * mcore-tdep.c: Ditto.
1810 * sparc-tdep.c: Ditto.
1811 * sh-tdep.c: Ditto.
1812 * rs6000-tdep.c: Ditto.
1813 * ppc-linux-tdep.c: Ditto.
1814 * m68hc11-tdep.c: Ditto.
1815 * ia64-tdep.c: Ditto.
1816 * i386-tdep.c: Ditto.
1817 * arm-linux-tdep.c: Ditto.
1818 * hppa-tdep.c: Ditto.
1819 * h8500-tdep.c: Ditto.
1820 * fr30-tdep.c: Ditto.
1821 * arm-tdep.c: Ditto.
1822 * alpha-tdep.c: Ditto.
1823 * d30v-tdep.c: Ditto.
1824 * d10v-tdep.c: Ditto.
1825 * m32r-tdep.c: Ditto.
1826 * mips-tdep.c: Ditto.
1827 * v850-tdep.c: Ditto.
1828
d75b5104
EZ
18292001-07-15 Elena Zannoni <ezannoni@redhat.com>
1830
1831 * top.c (readline_line_completion_function, noop_completer): Move
1832 from here...
1833 * completer.c (readline_line_completion_function, noop_completer):
1834 ...to here.
1835 * gdbcmd.h (readline_line_completion_function, noop_completer):
1836 Move declarations from here...
1837 * completer.h (readline_line_completion_function, noop_completer):
1838 ...to here.
1839 * corefile.c: Include completer.h.
1840 * source.c: Ditto.
1841 * symfile.c: Ditto.
1842 * Makefile.in: Update dependencies.
1843
150985e3
EZ
18442001-07-15 Eli Zaretskii <eliz@is.elta.co.il>
1845
1846 * go32-nat.c (go32_create_inferior): Support command lines longer
1847 than 126 characters.
1848
def90278
SC
18492001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1850
1851 * NEWS: New target 68HC11/68HC12.
1852
37767e42
SC
18532001-07-14 Stephane Carrez <Stephane.Carrez@worldnet.fr>
1854
1855 * utils.c (query): Remove tui hacks; tui must use the query_hook.
1856 * top.c (command_loop): Remove tui insert_mode hacks; don't call
1857 tuiCleanUp because this must be made with atexit by tui.
1858 * symfile.c (symbol_file_command): Remove call to TUIDO
1859 * stack.c (show_and_print_stack_frame_stub): Remove tui check;
1860 not necessary when using the selected frame hooks.
1861 (print_stack_frame_stub): Likewise.
1862 (print_frame_info_base): Likewise.
1863 (print_frame_info): Likewise.
1864 (up_silently_command): Likewise.
1865 (down_silently_command): Likewise.
1866 (show_stack_frame): Likewise for TUIDO.
1867 (select_frame): Likewise.
1868 (select_and_print_frame): Likewise.
1869 (stack_publish_stopped_with_no_frame): Remove.
1870 (select_and_maybe_print_frame): Remove.
1871 * main.c (captured_main): Remove tui_fileopen and tuiInit; tui
1872 must use the initialize ui hook.
1873 * infrun.c (normal_stop): Remove call to TUIDO; tui must use the
1874 selected frame hooks.
1875 * event-top.c (command_handler): Remove tui insert_mode hack.
1876 * defs.h: Remove TUIDO; Only include tui.h.
1877 * breakpoint.c (mention): Remove calls to TUIDO.
1878 (delete_breakpoint): Remove tui hacks; tui must install
1879 the breakpoint hooks.
1880
0123ceaf
MK
18812001-07-14 Mark Kettenis <kettenis@gnu.org>
1882
1fe7ac85
MK
1883 * config/i386/xm-linux.h (KERNEL_U_ADDR): Move from here...
1884 * config/i386/nm-linux.h: ...to here. Change comments about user
1885 area/struct a bit.
1886
d0f3ce3c
MK
1887 * config/i386/xm-linux.h (HAVE_TERMIOS): Really remove.
1888
0123ceaf
MK
1889 * Makefile.in (ALLDEPFILES): Add i386bsd-nat.c and i386bsd-tdep.c
1890 (i386bsd-tdep.o, i386bsd-nat.o): New targets.
1891
4902674b
EZ
18922001-07-13 Elena Zannoni <ezannoni@redhat.com>
1893
1894 * remote-e7000.c (fetch_regs_from_dump): If register set is null,
1895 generate an internal error.
1896 (e7000_fetch_registers): Initialize variable 'wanted'.
1897 (e7000_wait): Initialize variable 'wanted_nopc'.
1898 (e7000_store_register): Fix sprintf compiler warnings.
1899 (sub2_from_pc): Ditto.
1900 (e7000_open): Close the descriptor, not the name.
1901 (e7000_load): Fix compiler warnings.
1902 (sub2_from_pc): Ditto.
1903 * Makefile.in (remote-e7000.o): Can now compile with -Werror.
1904
b7247919
MK
19052001-07-13 Mark Kettenis <kettenis@gnu.org>
1906
1907 * i386bsd-nat.c: Include <signal.h>, <stddef.h> and
1908 <sys/sysctl.h>.
1909 (store_inferior_registers): Wrap long line.
1910 (i386bsd_dr_get_status): Fix typo in comment.
1911 (_initialize_i386bsd_nat): New function. * i386bsd-tdep.c: New
1912 file. * config/i386/tm-fbsd.h (IN_SIGTRAMP): New define.
1913 (i386bsd_in_sigtramp): New prototype.
1914 (SIGTRAMP_START, SIGTRAMP_END): Redefine in terms...
1915 (i386bsd_sigtramp_start, i386bsd_sigtramp_end): ...these new
1916 (external) variables.
1917 (SIGCONTEXT_PC_OFFSET): Removed.
1918 (FRAME_SAVED_PC): New define.
1919 (i386bsd_frame_saved_pc): New function. * config/i386/fbsd.mt
1920 (TDEPFILES): Add i386bsd-tdep.o.
1921
d1bacddc
DJ
19222001-07-12 Daniel Jacobowitz <drow@mvista.com>
1923
1924 * mips-linux-tdep.c (_initialize_mips_linux_tdep): Use ISO C
1925 definition.
1926
9a973a8f
MK
19272001-07-13 Mark Kettenis <kettenis@gnu.org>
1928
1929 * lin-lwp.c (lin_lwp_wait): Avoid check for resumed LWPs if there
1930 are no registered LWPs yet.
1931
6ef7fa21
DJ
19322001-07-12 Daniel Jacobowitz <drow@mvista.com>
1933
1934 * config/i386/nm-linux.h (CANNOT_FETCH_REGISTER): Call the right
1935 function.
1936 (CANNOT_STORE_REGISTER): Likewise.
1937
75e266ac
KS
19382001-07-12 Keith Seitz <keiths@redhat.com>
1939
1940 * remote-rdp.c: Include "serial.h"
1941
d0608e50
DJ
19422001-07-12 Daniel Jacobowitz <drow@mvista.com>
1943
1944 * gdbserver/remote-utils.c (remote_open): Set VMIN to 1
1945 in HAVE_TERMIO/HAVE_TERMIOS cases.
1946
1e4fac59
MK
19472001-07-12 Mark Kettenis <kettenis@gnu.org>
1948
de4ca854
MK
1949 * lin-lwp.c (stop_wait_callback): Add support for flushing
1950 signals. Use that in favour of the old code to get rid of
1951 superfluous SIGINTs.
1952 (lin_lwp_wait): Use the new support in stop_wait_callback to
1953 flush all but one SIGINT.
1954
635b0cc1
MK
1955 * i386-tdep.c (i386_extract_return_value): Undo 2001-07-11 changes
1956 to comment.
1957 (i386_store_return_value): Improve comments about storing
1958 floating-point return values.
1959
1e4fac59
MK
1960 * config/arm/xm-linux.h, config/i386/xm-linux.h,
1961 config/m68k/xm-linux.h, config/powerpc/xm-linux.h,
1962 config/sparc/xm-linux.h, config/ia64/xm-linux.h (HAVE_TERMIOS):
1963 Removed. Taken care of by autoconf and terminal.h.
1964
49e790b0
DJ
19652001-07-12 Daniel Jacobowitz <drow@mvista.com>
1966
1967 * mips-tdep.c (mips_type_needs_double_align): New function.
1968 (mips_push_arguments): Align o32 structs to even argument
1969 registers if necessary.
1970
e7df8212
DJ
19712001-07-11 Daniel Jacobowitz <drow@mvista.com>
1972
1973 * config/djgpp/fnchange.lst: Add entries for
1974 mips-linux-nat.c and mips-linux-tdep.c.
1975
2b2d558c
MK
19762001-07-12 Mark Kettenis <kettenis@gnu.org>
1977
9e158af1
MK
1978 * config/powerpc/xm-linux.h: Fix corrupted file.
1979
2b2d558c
MK
1980 * configure.in: Add check for sigsetjmp.
1981 * config/m68k/xm-linux.h (HAVE_SIGSETJMP): Removed.
1982 * config/xm-sysv4.h (HAVE_SIGSETJMP): Removed.
1983 * configure, config.in: Regenerated.
1984
3bbfbb92
EZ
19852001-07-11 Elena Zannoni <ezannoni@redhat.com>
1986
1987 * config/sh/tm-sh.h (struct gdbarch_tdep): Add
1988 FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
1989 PR_REGNUM fields.
1990
1991 * sh-tdep.c (sh_skip_prologue_hard_way): Rename from
1992 skip_prologue_hard_way().
1993 (skip_prologue_hard_way): Make it a function pointer.
1994 (sh_print_register): Use function pointer do_pseudo_register,
1995 instead of sh_do_pseudo_register.
1996 (sh_do_registers_info): Ditto.
1997 (sh_gdbarch_init): Initialize do_pseudo_register.
1998 (IS_MOV_TO_R14): Rename from IS_MOV_R14.
1999 (skip_prologue_hard_way): Update.
2000 (sh_gdbarch_init): Move setting of frame_chain,
2001 get_saved_register, init_extra_frame_info, push_arguments,
2002 extract_return_value, pop_frame, store_struct_return,
2003 extract_struct_value_address, use_struct_convention,
2004 init_extra_frame_info to before target specific settings.
2005 (sh_gdbarch_init): Initialize new tdep fields
2006 FLOAT_ARGLAST_REGNUM, RETURN_REGNUM, ARG0_REGNUM, ARGLAST_REGNUM,
2007 PR_REGNUM.
2008 (sh_push_arguments): Use new gdbarch_tdep fields
2009 {ARG0,ARGLAST}_REGNUM.
2010 (sh_saved_pc_after_call, sh_nofp_frame_init_saved_regs,
2011 sh_init_extra_frame_info, sh_push_return_address,
2012 sh_generic_show_regs, sh3_show_regs, sh3e_show_regs,
2013 sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs): Update to use
2014 gdbarch_tdep->PR_REGNUM.
2015 (dr_reg_base_num, fv_reg_base_num): Move to earlier in the file.
2016
e64c0717
DJ
20172001-07-11 Daniel Jacobowitz <drow@mvista.com>
2018
2019 * config/mips/tm-linux.h: Include "tm-linux.h" instead of copying
2020 from it. Move definitions of REALTIME_LO and REALTIME_HI above
2021 include.
2022
6c8e04b5
DJ
20232001-07-11 Daniel Jacobowitz <drow@mvista.com>
2024
2025 * MAINTAINERS: List myself for MIPS/Linux
2026 port.
2027
94dfea5d
DJ
20282001-07-11 Daniel Jacobowitz <drow@mvista.com>
2029
2030 * gdbserver/remote-utils.c (remote_open): Only
2031 check for F_SETOWN if we had F_SETFL and FASYNC.
2032
f175af98
DJ
20332001-07-11 Daniel Jacobowitz <drow@mvista.com>
2034
2035 From Michael Fedrowitz <michael.fedrowitz@informatik.uni-ulm.de>:
2036
2037 * config/m68k/linux.mh: Remove core-regset.o.
2038 * m68klinux-nat.c: Fix comment.
2039 (supply_gregset): Change argument to elf_gregset_t *.
2040 (supply_fpregset): Change argument to elf_fpregset_t *.
2041 (fetch_core_registers): New function.
2042 (linux_elf_core_fns): Define.
2043 (_initialize_m68k_linux_nat): New function.
2044
21624696
AC
20452001-07-11 Andrew Cagney <ac131313@redhat.com>
2046
2047 * configure.tgt: Mark d10v as pure multi-arch.
2048 * config/d10v/tm-d10v.h: Delete file.
2049 * config/d10v/d10v.mt (TM_FILE): Delete.
2050
819cc324
AC
20512001-07-10 Andrew Cagney <ac131313@redhat.com>
2052
2053 * serial.h (typedef serial_t): Delete. Replace all references to
2054 serial_t with `struct serial *'.
2055 * serial.c: Update.
2056 * nindy-share/ttyflush.c: Update.
2057 * nindy-share/ttyflush.c: Update.
2058 * nindy-share/Onindy.c: Update.
2059 * nindy-share/nindy.c: Update.
2060 * remote-rdp.c: Update.
2061 * remote-sds.c: Update.
2062 * remote-st.c: Update.
2063 * remote-nindy.c: Update.
2064 * remote-mips.c: Update.
2065 * remote-e7000.c: Update.
2066 * remote-os9k.c: Update.
2067 * remote-nrom.c: Update.
2068 * remote-es.c: Update.
2069 * remote-array.c: Update.
2070 * ocd.c: Update.
2071 * mon960-rom.c: Update.
2072 * dsrec.c: Update.
2073 * inflow.c: Update.
2074 * ser-e7kpc.c: Update.
2075 * sparclet-rom.c: Update.
2076 * srec.h: Update.
2077 * ser-tcp.c: Update.
2078 * ser-go32.c: Update.
2079 * sparcl-tdep.c: Update.
2080 * w89k-rom.c: Update.
2081 * utils.c: Update.
2082 * sh3-rom.c: Update.
2083 * remote.c: Update.
2084 * ser-pipe.c: Update.
2085 * ser-unix.c: Update.
2086 * ser-unix.h: Update.
2087 * xmodem.c: Update.
2088 * xmodem.h: Update.
2089
30120c46
AC
20902001-07-11 J.T. Conklin <jtc@redback.com>
2091
2092 From Greg McGary <greg@mcgary.org>:
cf30a8e1
C
2093 * gdbserver/remote-utils.c (remote_open): Set gdbserver as "owner"
2094 of SIGIO.
2095 (input_interrupt): Don't block on read, in case we got redundant
2096 SIGIO. Don't gripe about redundant SIGIO.
2097 * gdbserver/low-hppabsd.c (mywait): Use waitpid(). Enable SIGIO
2098 handler while waiting.
2099 * gdbserver/low-linux.c (mywait): Likewise.
2100 * gdbserver/low-nbsd.c (mywait): Likewise.
2101 * gdbserver/low-sparc.c (mywait): Likewise.
2102
84c6c83c
KS
21032001-07-11 Keith Seitz <keiths@redhat.com>
2104
2105 * infrun.c (print_stop_reason): Add missing uiout field
2106 "reason" for SIGNAL_RECEIVED case.
2107
e6da861e
MK
21082001-07-11 Mark Kettenis <kettenis@gnu.org>
2109
82de0203
MK
2110 * config/alpha/nm-linux.h (TARGET_ELF64, PSIGNAL_IN_SIGNAL_H):
2111 Remove unused macro's.
2112
e6da861e
MK
2113 * config/powerpc/nm-linux.h (NO_SYS_REG_H): Remove, it's no longer
2114 used.
2115
d8c852a1
EZ
21162001-07-11 Eli Zaretskii <eliz@is.elta.co.il>
2117
2118 * go32-nat.c (info_dos_cmdlist): New variable.
2119 (go32_info_dos_command): New function.
2120 (_initialize_go32_nat): Convert all DOS-specific commands into
2121 subcommands of "info dos". Suggested by Andrew Cagney
2122 <ac131313@redhat.com>.
2123
f8d13125
MK
21242001-07-11 Mark Kettenis <kettenis@gnu.org>
2125
11d18042
MK
2126 * config/nm-linux.h: Fix comments.
2127
936742ab
MK
2128 * thread-db.c (enable_thread_event_reporting): Correct warning
2129 message about getting thread death breakpoint.
2130 Reported by John S Kallal <jskallal@home.com>.
2131
ccb945b8
MK
2132 * i386-tdep.c (i386_extract_return_value): "Fix" comment.
2133 (i386_store_return_value): Frob FPU status and tag word to make
2134 sure the return value is the only value on the FPU stack.
2135
f8d13125
MK
2136 * config/tm-linux.h: Do not include <signal.h>. Instead provide
2137 reasonable defaults for REALTIME_LO and REALTIME_HI if they're not
2138 already defined.
2139 * config/nm-linux.h: Include <signal.h>.
2140 [__SIGRTMIN] (REALTIME_LO, REALTIME_HI): Define to __SIGRTMIN and
2141 (__SIGRTMAX + 1) respectively.
2142
56ff796a
AC
21432001-07-10 Andrew Cagney <ac131313@redhat.com>
2144
2145 * mcore-rom.c: Include "serial.h".
2146 * Makefile.in (mcore-rom.o): Depends on "serial.h".
2147
899ff3a2
AC
21482001-07-10 Andrew Cagney <ac131313@redhat.com>
2149
2150 * Makefile.in (remote-bug.o): Depends on serial.h.
2151 * remote-bug.c: Include "serial.h".
2152 * MAINTAINERS: Mark m88k target as buildable.
2153 * TODO: Update.
2154
2bf1f4a1
JB
21552001-07-10 Jim Blandy <jimb@redhat.com>
2156
75af7f68
JB
2157 Clean up the D10V port so that GDB and the target program no
2158 longer disagree on how big pointers are.
2159 * findvar.c (value_from_register): Remove special case code for D10V.
2160 * printcmd.c (print_frame_args): Same.
2161 * valops.c (value_at, value_fetch_lazy): Same.
2162 * values.c (unpack_long): Same.
2163 * gdbarch.sh: Changes to effect the following:
2164 * gdbarch.h (GDB_TARGET_IS_D10V, D10V_MAKE_DADDR,
2165 gdbarch_d10v_make_daddr_ftype, gdbarch_d10v_make_daddr,
2166 set_gdbarch_d10v_make_daddr, D10V_MAKE_IADDR,
2167 gdbarch_d10v_make_iaddr_ftype, gdbarch_d10v_make_iaddr,
2168 set_gdbarch_d10v_make_iaddr, D10V_DADDR_P,
2169 gdbarch_d10v_daddr_p_ftype, gdbarch_d10v_daddr_p,
2170 set_gdbarch_d10v_daddr_p, D10V_IADDR_P,
2171 gdbarch_d10v_iaddr_p_ftype, gdbarch_d10v_iaddr_p,
2172 set_gdbarch_d10v_iaddr_p, D10V_CONVERT_DADDR_TO_RAW,
2173 gdbarch_d10v_convert_daddr_to_raw_ftype,
2174 gdbarch_d10v_convert_daddr_to_raw,
2175 set_gdbarch_d10v_convert_daddr_to_raw, D10V_CONVERT_IADDR_TO_RAW,
2176 gdbarch_d10v_convert_iaddr_to_raw_ftype,
2177 gdbarch_d10v_convert_iaddr_to_raw,
2178 set_gdbarch_d10v_convert_iaddr_to_raw): Delete declarations.
2179 * gdbarch.c: Delete the corresponding definitions.
2180 (struct gdbarch): Delete members d10v_make_daddr,
2181 d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
2182 d10v_convert_daddr_to_raw, and d10v_convert_iaddr_to_raw.
2183 (startup_gdbarch): Remove initializers for the above.
2184 (verify_gdbarch, gdbarch_dump): Don't verify or dump them any
2185 more.
2186 * d10v-tdep.c (d10v_register_virtual_type): Rather that
2187 claiming the stack pointer and PC are 32 bits long (which they
2188 aren't), say that the stack pointer is an int16_t, and the
2189 program counter is a function pointer. This allows the rest
2190 of GDB to make the appropriate conversions between the code
2191 pointer format and real addresses.
2192 (d10v_register_convertible, d10v_register_convert_to_virtual,
2193 d10v_register_convert_to_raw): Delete function; no registers
2194 are convertible now, so we use
2195 generic_register_convertible_not instead.
2196 (d10v_address_to_pointer, d10v_pointer_to_address): New gdbarch
2197 methods.
2198 (d10v_push_arguments, d10v_extract_return_value): Remove special
2199 cases for code and data pointers.
2200 (d10v_gdbarch_init): Set gdbarch_ptr_bit to 16, so that GDB and
2201 the target agree on how large pointers are. Say that addresses
2202 are 32 bits long. Register the address_to_pointer and
2203 pointer_to_address conversion functions. Since no registers are
2204 convertible now, register generic_register_convertible_not as the
2205 gdbarch_register_convertible method instead of
2206 d10v_register_convertible. Remove registrations for
2207 d10v_register_convert_to_virtual,
2208 d10v_register_convert_to_raw, gdbarch_d10v_make_daddr,
2209 gdbarch_d10v_make_iaddr, gdbarch_d10v_daddr_p,
2210 gdbarch_d10v_iaddr_p, gdbarch_d10v_convert_daddr_to_raw, and
2211 gdbarch_d10v_convert_iaddr_to_raw.
2212
ef166cf4
JB
2213 * printcmd.c (print_scalar_formatted): If we are printing an
2214 address, remember that TARGET_ADDR_BIT is not always equal to
2215 TARGET_PTR_BIT.
2216
2bf1f4a1
JB
2217 * valops.c (value_cast): When casting a pointer to an integer,
2218 don't convert it to an address.
2219
ba3a8523
AC
22202001-07-10 Andrew Cagney <ac131313@redhat.com>
2221
2222 * remote-utils.h (struct serial): Declare as opaque. Remove
2223 include of "serial.h".
2224 * Makefile.in (remote_utils_h): Update.
2225
2226 * monitor.h (struct serial): Declare as opaque. Remove include of
2227 "serial.h".
2228 (struct monitor_ops): Replace serial_t with `struct serial *'.
2229 * monitor.c (monitor_desc): Ditto.
2230
2aa830e4
DJ
22312001-07-10 Daniel Jacobowitz <drow@mvista.com>
2232
2233 * mips-linux-tdep.c: New file.
2234 * mips-linux-nat.c: New file.
2235 * config/mips/linux.mh: New file.
2236 * config/mips/linux.mt: New file.
2237 * config/mips/xm-linux.h: New file.
2238 * config/mips/nm-linux.h: New file.
2239 * config/mips/tm-linux.h: New file.
2240 * configure.host: Recognize mips*-*-linux*.
2241 * configure.tgt: Likewise.
2242 * NEWS: Mention mips*-*-linux* port.
2243
65e2f740
AC
22442001-07-09 Andrew Cagney <ac131313@redhat.com>
2245
2246 * serial.h (struct serial): Rename `struct _serial_t'.
2247 * serial.c (XMALLOC): Define.
2248 (serial_open): Update. Use XMALLOC.
2249 (serial_fdopen): Ditto.
2250
090a2205
AC
22512001-07-07 Andrew Cagney <ac131313@redhat.com>
2252
2253 * gdbtypes.h (builtin_type_void_data_ptr): Rename
2254 builtin_type_ptr.
2255 * gdbtypes.c (builtin_type_void_data_ptr): Update.
2256 (build_gdbtypes): Update.
2257 (_initialize_gdbtypes): Update.
2258 * values.c (value_as_pointer): Update.
2259 * utils.c (host_pointer_to_address): Update.
2260 (address_to_host_pointer): Update.
2261
8059d5aa
AC
22622001-07-08 Andrew Cagney <ac131313@redhat.com>
2263
2264 * remote-udi.c (udi_wait): Make type, instead of name, of first
2265 parameter a ptid_t.
2266
cc61049c
AC
22672001-07-07 Andrew Cagney <ac131313@redhat.com>
2268
2269 * ser-mac.c: Make obsolete.
2270 * Makefile.in (ser-mac.o): Ditto.
2271
10ba702d
EZ
22722001-07-08 Eli Zaretskii <eliz@is.elta.co.il>
2273
2274 * go32-nat.c (go32_get_windows_version, print_mem, go32_sysinfo)
2275 (read_memory_region, get_descriptor, display_descriptor)
2276 (go32_sldt, go32_sgdt, go32_sidt): New functions.
2277 (top-level): Include ctype.h, utsname.h, dos.h, and go32.h. Ifdef
2278 away `disable' from dos.h, since breakpoint.h defines an enum
2279 member of the same name, and GCC 2.7.2 barfs.
2280 (_initialize_go32_nat): Provide new commands dos-sysinfo, dos-ldt,
2281 dos-gdt, and dos-idt, all of them in the "info" class
2282
44312dba
KB
22832001-07-07 Kevin Buettner <kevinb@redhat.com>
2284
2285 * procfs.c (create_procinfo): Allocate space for saved_entryset
2286 and saved_exitset.
2287 (destroy_one_procinfo): Free space allocated to saved_entryset
2288 and saved_exitset.
2289
5329c756
AC
22902001-07-07 Andrew Cagney <ac131313@redhat.com>
2291
2292 * TODO (5.1): Update.
2293
51cc5b07
AC
22942001-07-07 Andrew Cagney <ac131313@redhat.com>
2295
2296 * symtab.c (main_name): New function.
2297 (set_main_name): New function.
2298 * symtab.h: Declare.
2299 * TODO: Update
2300
2301 From 2000-03-05 Anthony Green <green@redhat.com>:
2302 * dbxread.c (process_one_symbol): Handle the N_MAIN stab by
2303 setting main_name.
2304 * blockframe.c (inside_main_func): Use main_name instead of
2305 "main".
2306 * symtab.c (find_main_psymtab): Ditto.
2307 * source.c (select_source_symtab): Ditto.
2308 * nlmread.c (nlm_symfile_read): Ditto.
2309 * rs6000-tdep.c (skip_prologue): Ditto.
2310
56ddd993
AC
23112001-07-07 Andrew Cagney <ac131313@redhat.com>
2312
2313 * TODO: Convert most items into PRs.
2314
58eeadba
MK
23152001-07-07 Mark Kettenis <kettenis@gnu.org>
2316
2317 * lin-lwp.c (status_to_str): New function.
2318 (lin_lwp_wait): Use it to print debug messages where appropriate.
2319
7f1659e6
MC
23202001-07-06 Michael Chastain <chastain@redhat.com>
2321
2322 * i387-tdep.c (print_i387_value): Fix pointer glitch.
2323
00d4fce6
MK
23242001-07-07 Mark Kettenis <kettenis@gnu.org>
2325
2326 * lin-lwp.c (count_events_callback): Fix formatting. Turn check
2327 commented with "paranoia" into gdb_assert.
2328 (select_event_lwp_callback): Likewise.
2329 (cancel_breakpoints_callback): Bail out early if LP is the event
2330 LWP. Add comment about backup up breakpoints. Fix formatting and
2331 debug message.
2332 (select_event_lwp): Make solely repsonsible for switching event
2333 LWP. Fix formatting and remove bogus "ERROR" debug message.
2334 Don't backup breakpoints from here.
2335 (lin_lwp_wait): Don't touch LP->status, let select_event_lwp
2336 handle that. Only call select_event_lwp if we're not waiting for
2337 a specific LWP, i.e. when PID == -1. Backup breakpoints from here.
2338
7de45904
MS
23392001-07-06 Michael Snyder <msnyder@redhat.com>
2340
2341 * procfs.c (procfs_resume): Silence noisy warning.
2342
b1aeb4c5
MS
23432001-06-12 Michael Snyder <msnyder@redhat.com>
2344
2345 * lin-lwp.c: Prevent thread starvation by using a monte carlo
2346 method to choose which of several event threads to handle next.
2347
2348 (stop_wait_callback): Defer pushback of breakpoint events until
2349 later; add SIGTRAP events to the queue of unhandled events.
2350 Keep calling waitpid until SIGSTOP retrieved. If more than one
2351 non-SIGSTOP event is retrieved, push them back onto the process
2352 queue using kill.
2353 (count_events_callback, select_singlestep_lwp_callback,
2354 select_event_lwp_callback, cancel_breakpoints_callback,
2355 select_event_lwp): New functions. Implement monte carlo method
2356 for selecting which of several SIGTRAP threads to handle next.
2357 Push back the breakpoint event for all threads other than the
2358 selected one.
2359 (lin_lwp_wait): Call select_event_lwp to decide which of several
2360 sigtrapped lwps to handle next.
2361 (resume_callback): Disable code that attempts to handle
2362 step_resume breakpoints. Let core gdb handle this.
2363
ee3a7b7f
JB
23642001-07-06 Jim Blandy <jimb@redhat.com>
2365
2366 * gdbtypes.h (builtin_type_void_func_ptr): New builtin type.
2367 * gdbtypes.c (builtin_type_void_func_ptr): Define the variable.
2368 (build_gdbtypes): Initialize it.
2369 (_initialize_gdbtypes): Swap it.
2370
e135b889 23712001-07-04 Daniel Jacobowitz <drow@mvista.com>
ee3a7b7f 2372
e135b889
DJ
2373 * mips-tdep.c (mips32_op): Correct offset.
2374 (itype_op): Likewise.
2375 (itype_rs): Fix formatting.
2376 (itype_immediate): Fix formatting.
2377 (jtype_op): Correct offset.
2378 (jtype_target): Fix formatting.
2379 (rtype_op): Correct offset.
2380 (rtype_rs): Fix formatting.
2381 (rtype_rt): Likewise.
2382 (rtype_rd): Likewise.
2383 (rtype_shamt): Likewise.
2384 (rtype_funct): Likewise.
2385
2386 (mips32_next_pc): Fix formatting and comments. Recognize
2387 coprocessor 1 branches. Check the correct field for BLT family
2388 branches. Use itype_rt instead of itype_rs for the second register
2389 of a BNE or BNEL branch. Move (unreachable) default case.
2390
9dc5e2a9
AC
23912001-07-04 Andrew Cagney <ac131313@redhat.com>
2392
2393 * ui-out.h (struct ui_out_impl): Add field is_mi_like_p.
2394 (ui_out_is_mi_like_p): Declare.
2395 * ui-out.c (ui_out_is_mi_like_p): Define.
2396 (default_ui_out_impl): Initialize is_mi_like_p to zero.
2397 * cli-out.c (cli_ui_out_impl): Ditto.
2398 * breakpoint.c (print_it_typical): Use ui_out_is_mi_like_p.
2399 (watchpoint_check, print_one_breakpoint, mention): Ditto.
2400 * infrun.c (print_stop_reason, normal_stop): Ditto.
2401
9022177c
DJ
24022001-07-05 Daniel Jacobowitz <drow@mvista.com>
2403
2404 * mips-tdep.c (mips_software_single_step): New function.
2405 * config/mips/tm-mips.h: Add prototype for
2406 mips_software_single_step.
2407
2ac44c70
DJ
24082001-07-05 Daniel Jacobowitz <drow@mvista.com>
2409
2410 * ppc-linux-nat.c (supply_gregset): Use elf_greg_t instead
2411 of greg_t.
2412 (fill_gregset): Likewise.
2413
bdda63b0
AC
24142001-07-05 Andrew Cagney <ac131313@redhat.com>
2415
2416 * objfiles.c (open_mapped_file): Use lbasename instead of
2417 basename.
2418
af703f96
JB
24192001-07-05 Jim Blandy <jimb@redhat.com>
2420
7b570125
JB
2421 * d10v-tdep.c (d10v_frame_chain, d10v_frame_init_saved_regs,
2422 show_regs, d10v_read_pc, d10v_write_pc, d10v_read_sp,
2423 d10v_write_sp, d10v_write_fp, d10v_read_fp,
2424 d10v_push_return_address): Call the functions d10v_make_daddr,
2425 d10v_make_iaddr, d10v_convert_iaddr_to_raw, and
2426 d10v_convert_daddr_to_raw, not the global macros D10V_MAKE_DADDR,
2427 D10V_MAKE_IADDR, D10V_CONVERT_IADDR_TO_RAW, and
2428 D10V_CONVERT_DADDR_TO_RAW.
2429
af703f96
JB
2430 * dwarf2read (dwarf2_build_psymtabs_hard): Doc fix.
2431
e087d0d6
MK
24322001-07-05 Mark Kettenis <kettenis@gnu.org>
2433
2434 * config/i386/xm-go32.h (HOST_I386): Removed.
2435 * config/i386/xm-linux.h (HOST_I386): Removed.
2436
c96646d0
MK
24372001-07-04 Mark Kettenis <kettenis@gnu.org>
2438
2439 * i387-tdep.c (print_i387_value): Add extra space after final full
2440 stop in comment.
2441
af6c57ea
AC
24422001-07-04 Andrew Cagney <ac131313@redhat.com>
2443
2444 * TODO (5.1): Update. Doco changes committed.
2445
9da8e4f8
AC
24462001-06-29 Andrew Cagney <ac131313@redhat.com>
2447
2448 * config/arm/tm-arm.h: Include "floatformat.h".
2449
d0df8472
AC
24502001-06-29 Andrew Cagney <ac131313@redhat.com>
2451
2452 * i387-tdep.c: Include "gdb_assert.h".
2453 (print_i387_value): Use extract_floating to extract the FP value
2454 from a zero padded local buffer.
2455
291903b1
AC
24562001-06-28 Andrew Cagney <ac131313@redhat.com>
2457
2458 * TODO: Delete all thread items. The thread code was overhauled.
2459
80629b1b
EZ
24602001-07-04 Elena Zannoni <ezannoni@redhat.com>
2461
2ed3d0b5
EZ
2462 * memattr.c (create_mem_region): Move n to next memory region,
2463 to avoid infinite loop.
2464
80629b1b
EZ
2465 * memattr.h: Add copyright statement.
2466 * memattr.c: Ditto.
2467
2541c7cf
JB
24682001-07-04 Jim Blandy <jimb@redhat.com>
2469
0b010bcc
JB
2470 * dwarf2read.c (struct partial_die_info): New member: has_pc_info.
2471 (read_partial_die): Delete fourth argument; we return this info in
2472 the struct partial_die_info object itself now.
2473 (dwarf2_build_psymtabs_hard, scan_partial_symbols): Use the
2474 has_pc_info field of the partial die struct, rather than passing a
2475 variable by reference to read_partial_die.
2476
2541c7cf 2477 * dwarf2read.c (dwarf2_build_psymtabs_hard): Remove extraneous
9faef8a7 2478 code in loop condition.
2541c7cf 2479
5d12882f
MS
24802001-07-03 Michael Snyder <msnyder@redhat.com>
2481
2482 * thread_db (find_new_threads_callback, thread_db_thread_alive,
2483 attach_thread): Update comments.
2484
00783ba9
MS
24852001-06-29 Ken Whaley <ken@believe.com>
2486
2487 * thread-db.c (attach_thread): Check for TD_THR_ZOMBIE in addition
2488 to TD_THR_UNKNOWN when looking for defunct zombie threads.
2489 (thread_db_thread_alive): Ditto.
2490 (find_new_threads_callback): Ditto.
2491
f7856c8f 24922001-07-02 Daniel Jacobowitz <drow@mvista.com>
2740bf6c
DJ
2493
2494 * MAINTAINERS: Add myself to the write-after-approval list.
2495
24962001-07-02 Daniel Jacobowitz <drow@mvista.com>
2497
f7856c8f
DJ
2498 * solib-svr4.c: Include "elf/mips.h".
2499 (elf_locate_base): Make DT_MIPS_RLD_MAP block unconditional.
2500
f9aca02d
JB
25012001-07-02 Jim Blandy <jimb@redhat.com>
2502
2503 * dwarf2read.c (read_comp_unit, sibling_die, dump_die,
2504 dump_die_list, store_in_ref_table, follow_die_ref): Make these
2505 static; they're private functions.
2506
42a076f0
EZ
25072001-07-01 Mark Elbrecht <snowball@bigfoot.com>
2508
2509 * coffread.c (coff_symfile_read): Parse DWARF2 info if present.
2510
77467810
EZ
25112001-06-28 Elena Zannoni <ezannoni@redhat.com>
2512
2513 * TODO: Add import of readline 4.2 as a gdb 5.2 task.
2514
85593179
AC
25152001-06-29 Andrew Cagney <ac131313@redhat.com>
2516
2517 * config/djgpp/fnchange.lst: Sort.
2518
cde2d0fb
AC
25192001-06-28 Andrew Cagney <ac131313@redhat.com>
2520
2521 * config/djgpp/fnchange.lst: Rename mi0-var-block.exp,
2522 mi0-var-cmd.exp, mi0-var-child.exp and mi0-var-display.exp.
2523
37965979
AJ
25242001-06-29 Andreas Jaeger <aj@suse.de>
2525
2526 * MAINTAINERS: Add myself to the write-after-approval list.
2527
a1337894
AC
25282001-06-28 Andrew Cagney <ac131313@redhat.com>
2529
2530 * remote-array.c (SWAP_TARGET_AND_HOST): Delete macro.
2531 (get_hex_word): Don't use HOST_BYTE_ORDER.
2532 (array_fetch_registers): Add variable ``reg''. Use
2533 store_unsigned_integer to byte-swap the register. Delete unused
2534 local ``regs''.
2535
aa8aac68
AC
25362001-06-28 Andrew Cagney <ac131313@redhat.com>
2537
2538 * MAINTAINERS: Add Per Bothner to Java maintainers.
2539
a8016339
AC
25402001-06-28 Andrew Cagney <ac131313@redhat.com>
2541
2542 * rdi-share/unixcomm.c (SERIAL_PREFIX): Always provide a default.
2543 * rdi-share/hostchan.h (__unix): Hack, provide a default value.
2544 * rdi-share/host.h (__unix): Hack, define when __NetBSD__.
2545 * TODO: Update.
2546 * MAINTAINERS: Update. arm-elf builds.
2547
f5e1cf12
JB
25482001-06-28 Jim Blandy <jimb@redhat.com>
2549
bf93dfed
JB
2550 * d10v-tdep.c (d10v_ts2_dmap_register): Doc fix.
2551
2552 * d10v-tdep.c (d10v_frame_chain_valid, d10v_use_struct_convention,
f5e1cf12
JB
2553 d10v_breakpoint_from_pc, d10v_register_byte,
2554 d10v_register_raw_size, d10v_register_virtual_size,
2555 d10v_register_virtual_type, d10v_register_convertible,
2556 d10v_register_convert_to_virtual, d10v_register_convert_to_raw,
2557 d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
2558 d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw,
2559 d10v_store_struct_return, d10v_store_return_value,
2560 d10v_extract_struct_value_address, d10v_frame_saved_pc,
2561 d10v_saved_pc_after_call, d10v_pop_frame, d10v_skip_prologue,
2562 d10v_frame_chain, d10v_frame_init_saved_regs,
2563 d10v_init_extra_frame_info, d10v_read_pc, d10v_write_pc,
2564 d10v_read_sp, d10v_write_sp, d10v_write_fp, d10v_read_fp,
2565 d10v_push_return_address, d10v_push_arguments,
2566 d10v_extract_return_value): Make these functions static.
2567
100a02e1
AC
25682001-06-28 Andrew Cagney <ac131313@redhat.com>
2569
2570 From Fernando Nasser:
2571 * infrun.c (handle_inferior_event): Handle "nexti" inside function
2572 prologues.
2573
80b34fab
MS
25742001-06-28 Michael Snyder <msnyder@redhat.com>
2575
2576 * infrun.c (handle_inferior_event): Replace prev_pc test in all
2577 calls to bpstat_stop_status (removed in 1999-09-24). This test
2578 helps distinguish stepping over a breakpoint trap from stepping
2579 thru a jump to the instruction after a breakpoint trap.
2580 (handle_inferior_event): Don't bother writing the PC if
2581 DECR_PC_AFTER_BREAK is zero (optimization).
2582 * breakpoint.c (bpstat_stop_status): Add comment explaining the
2583 purpose and usage of the "not_a_breakpoint" argument in computing
2584 the breakpoint address.
2585
1456ad8e
AC
25862001-06-28 Andrew Cagney <ac131313@redhat.com>
2587
2588 From 2000-12-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
2589 * monitor.c (setmem_resp_delim_pattern): New regexp pattern.
2590 (setreg_resp_delim_pattern): Likewise.
2591 (setmem_resp_delim_fastmap): New buffer.
2592 (setreg_resp_delim_fastmap): Likewise.
2593 (monitor_open): Initialize above regexp if they are defined.
2594 (monitor_write_memory): Use regexp to check the result of write.
2595 (monitor_store_register): Likewise to check result of register set.
2596
399371f6
AC
25972001-06-28 Andrew Cagney <ac131313@redhat.com>
2598
2599 From 2000-06-14 John Marshall <john_w_marshall@palm.com>:
2600 * coff-solib.c: Include symfile.h and objfiles.h to make
2601 OBJF_SHARED visible.
2602
b0e2e90a
AC
26032001-06-28 Andrew Cagney <ac131313@redhat.com>
2604
2605 * configure.in (--enable-gdbmi): Enable by default.
2606 * configure: Regenerate.
2607 * TODO: Update.
2608 * NEWS: Update
2609
ad98fdaf
JB
26102001-06-28 Joel Brobecker <brobecker@act-europe.fr>
2611
2612 * solib-osf.c (osf_in_dynsym_resolve_code): Add a comment
2613 explaining the consequences of always returning zero. No code
2614 change.
2615
49dd83ba
AC
26162001-06-28 Andrew Cagney <ac131313@redhat.com>
2617
2618 From 2001-06-08 Daniel Jacobowitz <djacobowitz@mvista.com>:
2619 * defs.h (enum target_signal): Add TARGET_SIGNAL_REALTIME_65
2620 to TARGET_SIGNAL_REALTIME_127.
2621 * target.c (struct signals): Add SIG63 to SIG127.
2622 (target_signal_from_host): Handle up to 127 signals.
2623 (do_target_signal_to_host): Likewise.
2624
29372230
AC
26252001-06-27 Andrew Cagney <ac131313@redhat.com>
2626
2627 * remote-sds.c (sds_start_remote): Change type of ``c'' to int
2628 from possibly unsigned char.
2629
a196c81c
AC
26302001-06-27 Andrew Cagney <ac131313@redhat.com>
2631
2632 * ser-ocd.c: Delete file.
2633 * Makefile.in (ALLDEPFILES): Remove ser-ocd.c
2634 (ser-ocd.o): Delete target.
2635 * TODO: Update.
2636 * NEWS: Update.
2637
e7745bde
AC
26382001-06-27 Andrew Cagney <ac131313@redhat.com>
2639
2640 * MAINTAINERS (Write After Approval): Sort.
f4c100a7 2641 (Past Maintainers): Daniel Berlin stepped down as C++ maintainer.
e7745bde 2642
d7faa9e7
AC
26432001-06-26 Andrew Cagney <ac131313@redhat.com>
2644
2645 * breakpoint.c (breakpoint_1): Always output the breakpoint
2646 headings. Leave it to ui-out to decide which
2647
68c81b54
AC
26482001-06-25 Andrew Cagney <ac131313@redhat.com>
2649
2650 * stack.c (print_frame): For ui_out, output a list of arguments.
2651
834091c8
KB
26522001-06-25 Kevin Buettner <kevinb@redhat.com>
2653
2654 * MAINTAINERS (paper trail): Update.
2655
ef5cf84e
MS
26562001-06-25 Michael Snyder <msnyder@redhat.com>
2657
2658 * infrun.c: Eliminate the "thread_step_needed" state variable,
2659 and replace it with a relatively simple test in resume.
2660 (resume): Replace thread_step_needed logic with a test for
2661 stepping, breakpoint_here_p and breakpoints_inserted.
2662 Move CANNOT_STEP_BREAKPOINT logic to after thread_step logic.
2663 (proceed): Discard thread_step_needed logic.
2664 (wait_for_inferior, fetch_inferior_event, handle_inferior_event):
2665 Discard thread_step_needed logic.
2666
cb90e81a
FN
26672001-06-24 Fernando Nasser <fnasser@redhat.com>
2668
2669 * remote-rdi.c (arm_rdi_wait): Fix return type in prototype.
2670 * rdi-share/host.h: Add missing parenthesis in conditional.
2671
39812ceb
C
26722001-06-22 J.T. Conklin <jtc@redback.com>
2673
2674 * configure.in: include nlist.h when checking for member som_addr
2675 in struct so_map.
2676 * configure: regenerate.
2677
8d2139f3
KS
26782001-06-21 Keith Seitz <keiths@redhat.com>
2679
2680 * cli-out.c (cli_out_new): Initialize new structure member
2681 "suppress_output".
2682
b25959ec
AC
26832001-06-20 Andrew Cagney <ac131313@redhat.com>
2684
2685 * ui-out.h (ui_out_table_header): Add parameter ``col_name''.
2686 (table_header_ftype): Ditto.
2687 * cli-out.c (cli_table_header): Update.
2688 * ui-out.c (ui_out_table_header): Update.
2689 (uo_table_header): Update.
2690 (default_table_header): Update.
2691 (append_header_to_list): Update.
2692 (struct ui_out_header): Add field ``col_name''.
2693 (append_header_to_list): Use xstrdup. Initialize col_name.
2694 * breakpoint.c (breakpoint_1): Pass COL_NAME to
2695 ui_out_table_header.
2696
698384cd
AC
26972001-06-19 Andrew Cagney <ac131313@redhat.com>
2698
2699 * cli-out.c: Include "gdb_assert.h'.
2700 (struct ui_out_data): Add field ``suppress_output.
2701 (cli_table_begin): When NR_ROWS is zero, suppress_output.
2702 (cli_table_end): Clear suppress_output.
2703 (cli_table_body): Check suppress_output.
2704 (cli_table_header, cli_begin): Ditto.
2705 (cli_end, cli_field_int, cli_field_skip): Ditto.
2706 (cli_field_string, cli_field_fmt, cli_spaces): Ditto.
2707 (cli_text, cli_message, cli_wrap_hint): Ditto.
2708 * breakpoint.c (breakpoint_1): Close the ui_out table before
2709 printing the breakpoint not found message.
2710
d63f1d40
AC
27112001-06-18 Andrew Cagney <ac131313@redhat.com>
2712
2713 * ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
2714 (default_table_begin): Ditto.
2715 (uo_table_begin): Ditto.
2716 * cli-out.c (cli_table_begin): Ditto.
2717 * ui-out.h (ui_out_table_begin): Update
2718 (table_begin_ftype): Update.
2719 * breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to
2720 ui_out_table_begin.
2721
7f3b0473
AC
27222001-06-16 Andrew Cagney <ac131313@redhat.com>
2723
2724 * breakpoint.c (breakpoint_1): Restructure. Compute the
2725 nr_printable_breakpoints. Move the header output to before the
2726 main print breakpoints loop.
2727 (user_settable_breakpoint): New function.
2728
b30bf9ee
AC
27292001-06-18 Andrew Cagney <ac131313@redhat.com>
2730
2731 * infrun.c, breakpoint.c: Use strncmp as the "mi" test. Allow,
2732 "mi", "mi0" and "mi1".
2733
83905903
AC
27342001-06-17 Andrew Cagney <ac131313@redhat.com>
2735
2736 * gdbarch.sh: Generate an error when conflicting macro
2737 definitions. Generate an error when both pure multi-arch and
2738 "tm.h".
2739 * gdbarch.h, gdbarch.c: Regenerate.
2740 * defs.h (GDB_MULTI_ARCH_TM): Rewrite definition.
2741
c2202abf
AC
27422001-06-17 Andrew Cagney <ac131313@redhat.com>
2743
2744 * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Down grade to
2745 GDB_MULTI_ARCH_PARTIAL from two.
2746
0d70f41b
FN
27472001-06-17 Fernando Nasser <fnasser@redhat.com>
2748
2749 From 2001-06-15 Eirik Fuller <eirik@hackrat.com>
2750 * cli/cli-script.c (free_command_lines): Reset list pointer.
2751
7824d2f2
AC
27522001-06-16 Andrew Cagney <ac131313@redhat.com>
2753
2754 * arch-utils.c (init_frame_pc_default): New function
2755 * arch-utils.h (init_frame_pc_default): Declare.
2756 * gdbarch.sh (INIT_FRAME_PC): Default to init_frame_pc_default and
2757 not init_frame_pc_noop.
2758 * gdbarch.h, gdbarch.c: Re-generate.
2759 * blockframe.c (INIT_FRAME_PC): Delete macro definition.
2760 * mips-tdep.c (mips_gdbarch_init): Set init_frame_pc to
2761 init_frame_pc_noop.
2762
1622c8f7
AC
27632001-06-16 Andrew Cagney <ac131313@redhat.com>
2764
2765 * gdbarch.c: Regenerate. Out-of-sync with gdbarch.sh.
2766
01fb7433
AC
27672001-06-15 Andrew Cagney <ac131313@redhat.com>
2768
2769 * gdbarch.sh (CANNOT_FETCH_REGISTER): Multi-arch.
2770 (CANNOT_STORE_REGISTER): Ditto.
2771 * infptrace.c (CANNOT_FETCH_REGISTER): Delete definition.
2772 (CANNOT_STORE_REGISTER): Ditto.
2773 * regcache.c (CANNOT_STORE_REGISTER): Ditto.
2774 * lynx-nat.c (CANNOT_STORE_REGISTER): Ditto.
2775 * arch-utils.h (cannot_register_not): Define.
2776 * arch-utils.c (cannot_register_not): Declare.
2777
10312cc4
AC
27782001-06-15 Andrew Cagney <ac131313@redhat.com>
2779
2780 * gdbarch.sh: Clarify pre/post default
2781 (INIT_FRAME_PC_FIRST, INIT_FRAME_PC): Multiarch.
2782 * blockframe.c (get_prev_frame): Remove #ifdef from around
2783 INIT_FRAME_PC_FIRST call.
2784 * arch-utils.c (init_frame_pc_noop): Define.
2785 * arch-utils.h (init_frame_pc_noop): Declare.
2786 * config/mips/tm-mips.h (INIT_FRAME_PC_FIRST): Delete.
2787 (INIT_FRAME_PC, mips_init_frame_pc_first): Ditto.
2788 * mips-tdep.c (mips_init_frame_pc_first): Make static.
2789 (mips_gdbarch_init): Initialize init_frame_pc_first.
2790 (mips_dump_tdep): Update.
2791
dd80620e
MS
27922001-06-15 Michael Snyder <msnyder@redhat.com>
2793
2794 * infrun.c (context_switch): New function. Abstract the operation
2795 of saving and restoring infrun's state when switching threads.
2796 (handle_inferior_event): Normalize the handling of the 'thread hop'
2797 event (when the wrong thread hits a thread-specific breakpoint,
2798 and we need to solo-step that thread past the breakpoint).
2799 Call keep_going, instead of target_resume. Handle the subsequent
2800 singlestep-trap as a normal event instead of just resuming.
2801
875e1767
AC
28022001-06-15 Andrew Cagney <ac131313@redhat.com>
2803
2804 * arch-utils.c (core_addr_identity): New function. Rename
2805 default_convert_from_func_ptr_addr.
2806 * gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR): Update.
2807 (ADDR_BITS_REMOVE): Define. Default to core_addr_identity.
2808 * defs.h (ADDR_BITS_REMOVE): Delete macro definition.
2809 * config/mips/tm-mips.h (ADDR_BITS_REMOVE): Delete definition.
2810 * mips-tdep.c (mips_addr_bits_remove): Make static.
2811 (mips_gdbarch_init): Initialize addr_bits_remove.
2812
4009c677
AC
28132001-06-15 Andrew Cagney <ac131313@redhat.com>
2814
2815 From 2001-02-26 D.J. Barrow <djbarrow@de.ibm.com>:
2816 * configure.tgt: Add S/390 31 & 64 bit target configuration.
2817 * configure.host: Ditto for host.
2818
d6dd581e
AC
28192001-06-15 Andrew Cagney <ac131313@redhat.com>
2820
2821 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS_P): Delete definition.
2822 (EXTRACT_STRUCT_VALUE_ADDRESS): Change to a function with
2823 predicate.
2824 * gdbarch.h, gdbarch.c: Regenerate.
2825 * values.c (value_being_returned): Change the reference to
2826 EXTRACT_STRUCT_VALUE_ADDRESS_P to a function call.
2827
09843d7f
JB
28282001-06-15 Joel Brobecker <brobecker@act-europe.fr>
2829
2830 * MAINTAINERS: Add Paul Hilfinger and Joel Brobecker to the
2831 Write After Approval list.
2832
dc8acb97
MS
28332001-06-14 Michael Snyder <msnyder@redhat.com>
2834
2835 * remote.c (show_remote_protocol_qSymbol_packet_cmd,
2836 set_remote_protocol_qSymbol_packet_cmd): New functions.
2837 (init_all_packet_configs, show_remote_cmd): Add qSymbol packet.
2838 (remote_check_symbols): New function. Implement qSymbol packet,
2839 allowing target to request symbol lookup service from gdb.
2840 (remote_open_1, remote_async_open_1): Call remote_check_symbols,
2841 allowing symbol lookup from exec_bfd on connection to target.
2842 (remote_new_objfile): New function. Catch new objfile notifications
2843 from shared library module, and call remote_check_symbols.
2844 (_initialize_remote): Hook remote_new_objfile into the shared
2845 library notification chain. Add "set remote symbol-lookup" command.
2846
578c1fe6
KS
28472001-06-14 Keith Seitz <keiths@redhat.com>
2848
2849 * tracepoint.c (trace_command): We now have tracepoint
2850 events. Get rid of those ugly hooks.
2851 (tracepoint_operation): Likewise.
2852 (trace_pass_command): Likewise.
2853
6c0d3f6a
MS
28542001-06-13 Michael Snyder <msnyder@redhat.com>
2855
2856 * gdbthread.h (struct thread_info): Add new fields:
2857 current_line, current_symtab, step_sp, for saved infrun state.
2858 * thread.c (save_infrun_state, load_infrun_state): Save and
2859 restore current_line, current_symtab, and step_sp.
2860 (add_thread): Rather than adding assignments to initialize
2861 the new fields, just use memset (tp, 0, sizeof (*tp).
2862 This way future new fields will not be overlooked.
2863 * infrun.c (handle_inferior_event): Save and restore save_sp,
2864 current_line, and current_symtab when switching threads.
2865
16075ace
EZ
28662001-06-13 Elena Zannoni <ezannoni@redhat.com>
2867
2868 * MAINTAINERS: Add Andrew Cagney as co-maintainer of
2869 testsuite/gdb.mi.
2870
31889e00
AC
28712001-06-11 Andrew Cagney <ac131313@redhat.com>
2872
2873 * symtab.c (lookup_symtab_1): Replace basename with lbasename.
2874 (lookup_partial_symtab, file_matches): Ditto.
2875 (make_source_files_completion_list): Ditto.
2876 (make_file_symbol_completion_list): Ditto. Make local char*
2877 variable ``tail'' constant.
2878 (make_source_files_completion_list): Ditto with ``base_name''.
2879 * source.c (open_source_file): Use lbasename. Make ``p'' const
2880 char *.
2881
4ac40b29
EZ
28822001-06-13 Eli Zaretskii <eliz@is.elta.co.il>
2883
2884 * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR)
bfefb583 2885 (SLASH_STRING): Remove unused definitions.
4ac40b29
EZ
2886 * config/i386/xm-cygwin.h: Likewise.
2887
6b28c186
AC
28882001-06-12 Andrew Cagney <ac131313@redhat.com>
2889
2890 * ui-out.c (ui_out_list_begin): Add parameter ``id''.
2891 (make_cleanup_ui_out_list_begin_end): Ditto. Open the list.
2892 * ui-out.h: Update declarations.
2893
1f8cc6db
AC
2894Mon Jun 11 17:26:43 2001 Andrew Cagney <cagney@b1.cygnus.com>
2895
2896 * source.c (openp): Make parameters ``path'' and ``string''
2897 constant.
2898 (openp): Use alloca to safely duplicate ``string''. Make local
2899 variables ``p'' and ``p1'' constant. Delete char* casts.
2900 * defs.h: Update.
2901
2902 * symtab.c (lookup_symtab_1): Make parameter ``name'' constant.
2903 (lookup_symtab, lookup_partial_symtab): Ditto.
2904 * symtab.h (lookup_symtab, lookup_partial_symtab): Update.
2905
88379baf
AC
29062001-06-11 Andrew Cagney <ac131313@redhat.com>
2907
2908 * ui-out.h (ui_out_table_begin): Make char* parameters constant.
2909 (ui_out_table_header, ui_out_field_int): Ditto.
2910 (ui_out_field_core_addr, ui_out_field_string): Ditto.
2911 (ui_out_field_stream, ui_out_field_fmt): Ditto.
2912 (ui_out_field_skip, ui_out_text, ui_out_message): Ditto.
2913 * ui-out.c (ui_out_table_begin, ui_out_table_header): Update.
2914 (ui_out_field_core_addr, ui_out_field_stream): Update.
2915 (ui_out_field_string, ui_out_field_fmt): Update.
2916 (ui_out_text, ui_out_message): Update.
2917 (append_header_to_list): Make char* parameters constant.
2918 (uo_table_header, uo_table_begin): Ditto.
2919 (uo_field_int, uo_field_skip): Ditto.
2920 (uo_field_string, uo_field_fmt): Ditto.
2921 (uo_text, uo_message): Ditto.
2922
c94fdfd0
EZ
29232001-06-11 Eli Zaretskii <eliz@is.elta.co.il>
2924
2925 * completer.c (gdb_completer_loc_break_characters): New variable.
2926 (line_completion_function): If we are completing on locations,
2927 back up the start of word pointer past all characters which can
2928 appear in a location spec.
2929 (location_completer): New function.
2930
2931 * completer.h: Add prototype for location_completer.
2932
2933 * symtab.c (make_source_files_completion_list)
2934 (add_filename_to_list, not_interesting_fname): New functions.
2935 (filename_seen): New function, body extracted from
2936 output_source_filename.
2937 (output_source_filename): Call filename_seen to check if the file
2938 was already printed.
2939 (make_symbol_completion_list): If TEXT includes a
2940 double-quoted string, return an empty list, not NULL.
2941 (make_file_symbol_completion_list): New function, similar to
2942 make_symbol_completion_list but with an additional argument
2943 SRCFILE.
2944
2945 * symtab.h (make_file_symbol_completion_list)
2946 (make_source_files_completion_list): Add prototypes.
2947
2948 * breakpoint.c (_initialize_breakpoint): Make location_completer
2949 be the completion function for all commands which set breakpoints
2950 and watchpoints.
2951 (top-level): #include "completer.h".
2952
2953 * tracepoint.c (_initialize_tracepoint): Make location_completer
2954 be the completion function for the "trace" command.
2955 (top-level): #include "completer.h".
2956
2957 * printcmd.c (_initialize_printcmd): Make location_completer be
2958 the completion function for the "print", "inspect", "call", and
2959 "disassemble" commands.
2960 (top-level): #include "completer.h".
2961
2962 * infcmd.c (_initialize_infcmd): Make location_completer be the
2963 completion function for the "go", "jump", and "until" commands.
2964 (top-level): #include "completer.h".
2965
0b6a968e
CF
29662001-06-10 Christopher Faylor <cgf@redhat.com>
2967
2968 * gnu-regex.c: Eliminate obsolete check for _MSC_VER.
2969 * utils.c (notice_quit): Remove dummy function only used for _MSC_VER.
2970 * values.c (unpack_double): Remove obsolete check for _MSC_VER.
2971 * defs.h: Ditto.
2972 * m32r-rom.c: Ditto.
2973 * p-exp.y: Ditto.
2974 * ser-e7kpc.c: Ditto. Define WIN32_LEAN_AND_MEAN under _WIN32, for
2975 faster compilation.
2976 (get_ds_base): Remove _MSC_VER version of this function.
67bfdb89
CF
2977 * nindy-share/ttyflush.c: Ditto.
2978 * rdi-share/host.h: Ditto.
0b6a968e
CF
2979 * ser-go32.c (dos_readchar): Remove call to obsolete function.
2980 * remote-sim.c (gdb_os_poll_quit): Ditto.
2981 * remote-e7000.c (expect): Remove obsolete #if 0'ed code.
2982
2983 * main.c (captured_main): Eliminate special Cygwin checks.
2984 * ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.
2985
e2e11a41
AC
29862001-06-09 Andrew Cagney <ac131313@redhat.com>
2987
bf5efbab
AC
2988 * Makefile.in (gdbcmd_h): Add ui_out_h.
2989 (breakpoint.o, infcmd.o, main.o, printcmd.o, stack.o): Ditto.
2990 (thread.o, top.o): Ditto.
2991
e2e11a41
AC
2992 * ui-out.h (table_begin_ftype): Make string parameters constant.
2993 (table_header_ftype): Ditto.
2994 (field_int_ftype): Ditto.
2995 (field_skip_ftype): Ditto.
2996 (field_string_ftype): Ditto.
2997 (field_fmt_ftype): Ditto.
2998 (text_ftype): Ditto.
2999 (message_ftype): Ditto.
3000 * cli-out.c (cli_table_begin): Ditto.
3001 (cli_table_header): Ditto.
3002 (cli_field_int): Ditto.
3003 (cli_field_skip): Ditto.
3004 (cli_field_string): Ditto.
3005 (cli_field_fmt): Ditto.
3006 (cli_text): Ditto.
3007 (cli_message): Ditto.
3008 (out_field_fmt): Ditto.
3009 * ui-out.c (default_table_begin): Ditto.
3010 (default_table_header): Ditto.
3011 (default_field_int): Ditto.
3012 (default_field_skip): Ditto.
3013 (default_field_string): Ditto.
3014 (default_field_fmt): Ditto.
3015 (default_text): Ditto.
3016 (default_message): Ditto.
3017
2e663524
MS
30182001-06-08 Michael Snyder <msnyder@redhat.com>
3019
3020 * breakpoint.c (delete_breakpoint): Pass mark_inserted to
3021 remove_breakpoint, so that the subsequent test for
3022 bpt->inserted will succeed, and duplicates will be fixed up.
3023
bebd888e
PB
30242001-06-08 Per Bothner <per@bothner.com>
3025
3026 * dwarf2read.c (set_cu_language): Handle DW_LANG_Java.
3027
8f45b7fe
KS
30282001-06-07 Keith Seitz <keiths@redhat.com>
3029
3030 * tracepoint.c (tracepoint_opertation): Add ui event
3031 notifications.
3032 (trace_pass_command): Ditto.
3033
b76a2a57
AC
30342001-06-07 Andrew Cagney <ac131313@redhat.com>
3035
3036 * MAINTAINERS (Write After Approval): Note the entry criteria.
a4f1e24f 3037 (HP/PA): Jeff Law stepped down
b76a2a57 3038
72e74a21
JB
30392001-06-07 Jim Blandy <jimb@redhat.com>
3040
3041 * gdbarch.sh: Make sure that '[' doesn't interpret interesting
3042 variable values as operators.
3043
8c6ee715
KS
30442001-06-07 Keith Seitz <keiths@redhat.com>
3045
3046 * gdb-events.sh: Fix quote escaping which was obsoleted
3047 by last patch.
3048
9e791099
KS
30492001-06-07 Keith Seitz <keiths@redhat.com>
3050
3051 * gdb-events.sh: Make if statements and tests
3052 a little more portable.
3053 Don't use shell's echo command to put strings containing
3054 escaped characeters into a file -- different flavors of /bin/sh
3055 require differnt levels of escaping. Use cat <<EOF instead.
3056 Our internal field separator is a colon. Change all
3057 commands which assume it is a space.
3058
fce0e6e1
MK
30592001-06-06 Mark Kettenis <kettenis@gnu.org>
3060
3061 * lin-lwp.c (struct lwp_info): Add member `resumed'.
3062 (iterate_over_lwps): Make sure we can handle CALLBACK deleting the
3063 LWP it's called for.
3064 (lin_lwp_attach): Mark LWP as resumed to make sure the fake
3065 SIGSTOP is reported.
3066 (resume_clear_callback): New function.
3067 (resume_set_callback): New function.
3068 (lin_lwp_resume): Mark all LWP's that we're going to resume as
3069 resumed, and unmark all others.
3070 (status_callback): Only report a pending wait status if we pretend
3071 that LP has been resumed.
3072 (resumed_callback): New function.
3073 (lin_lwp_wait): Add assertions to check that LWP's are properly
3074 marked as resumed. Partially revert 2001-05-25 patch by Michael
3075 Snyder: do not resume all threads. Add comment explaining the
3076 problems associated with this bit of code.
3077
54403c59
KS
30782001-06-07 Keith Seitz <keiths@redhat.com>
3079
3080 * MAINTAINTERS: Syd Polk is stepping down from
3081 maintaining libgui. I am replacing him.
3082
1d06468c
EZ
30832001-06-07 Eli Zaretskii <elis@is.elta.co.il>
3084
3085 * config/mips/tm-irix6.h: New file.
3086
3087 * config/mips/irix6.mh: New file.
3088
3089 * config/mips/irix6.mt: New file.
3090
3091 * config/mips/xm-irix6.h: New file.
3092
3093 * config/mips/nm-irix6.h: New file.
3094
3095 * mips-tdep.c (mips_gdbarch_init) <MIPS_ABI_N32>: Set up the
3096 disassembler info in tm_print_insn_info as appropriate for the N32
3097 ABI. Force N32 ABI to be the default if the CPU is R8000 or
3098 R10000.
3099
3100 * configure.tgt (mips*-sgi-irix6*): Map to irix6.
3101
3102 * configure.host (mips*-sgi-irix6*): Ditto.
3103
3d499020
AC
31042001-06-07 Andrew Cagney <ac131313@redhat.com>
3105
3106 * gnu-v3-abi.c: Include "gdb_assert.h".
3107 (build_gdb_vtable_type): Replace abort() with gdb_assert().
3108
ceaa8edf
JB
31092001-06-06 Jim Blandy <jimb@redhat.com>
3110
c5f5341b
JB
3111 * cp-abi.h: Rearrange code to put documentation comments above the
3112 functions we export. The actual function table itself simply
3113 refers to those functions. Minor doc fixes.
3114
ceaa8edf
JB
3115 * gdbarch.sh: Changes to effect the following:
3116 * gdbarch.c (initialize_non_multiarch): New function.
3117 * gdbarch.h (initialize_non_multiarch): New declaration.
3118 * arch-utils.c (initialize_current_architecture): For
3119 non-multiarch configurations, call initialize_non_multiarch.
3120
0cd64fe2
AC
31212001-06-06 Andrew Cagney <ac131313@redhat.com>
3122
3123 * symfile.c (compare_psymbols): Replace PTR with void*. Delete
3124 declaration.
3125 (compare_symbols): Ditto.
3126
8849f47d
JL
31272001-06-06 Jonathan Larmour <jlarmour@redhat.com>
3128
3129 * arch-utils.c (generic_prepare_to_proceed): Allow for having
3130 stopped due to a Ctrl-C as well as breakpoints.
3131
3132 * hppa-tdep.c (hppa_prepare_to_proceed): Add FIXME as this may not
3133 support thread switches after Ctrl-C.
3134 * lin-lwp.c (lin_lwp_prepare_to_proceed): Ditto.
3135 * linux-thread.c (linuxthreads_prepare_to_proceed): Ditto.
3136 * m3-nat.c (mach3_prepare_to_proceed): Ditto.
3137
b3cc3077
JB
31382001-06-06 Jim Blandy <jimb@redhat.com>
3139
3140 * gdbarch.sh, gdbarch.c: Revert change of 2001-06-01; all
3141 per-architecture data should be registered at initialization time,
3142 before any gdbarch objects get used, so the generality is
3143 unnecessary.
3144
ba9fe036
KS
31452001-06-06 Keith Seitz <keiths@redhat.com>
3146
3147 * gdb-events.sh (function_list): Add tracepoint_create,
3148 tracepoint_delete, and tracepoint_modify events.
3149 * gdb-events.c: Regenerated.
3150 * gdb-events.h: Regenerated.
3151
e28f816a
KS
31522001-06-06 Keith Seitz <keiths@redhat.com>
3153
3154 * gdb-events.sh: Update copyrights.
3155 Change free to xfree.
3156 * gdb-events.c: Regenerated.
3157 * gdb-events.h: Regenerated.
3158
c3690141
EZ
31592001-06-06 Eli Zaretskii <eliz@is.elta.co.il>
3160
3161 * source.c (mod_path, openp): Use #ifdef HAVE_DOS_BASED_FILE_SYSTEM
3162 instead of #if HAVE_DOS_BASED_FILE_SYSTEM.
3163 * completer.c: Ditto.
3164 * cli/cli-cmds.c (cd_command): Ditto.
3165
37ba1196
EZ
31662001-06-04 Eli Zaretskii <eliz@is.elta.co.il>
3167
1012bd0e
EZ
3168 * mips-tdep.c (show_mipsfpu_command): Remove unused variable msg.
3169 (mips_set_processor_type_command): Remove unused variable j.
3170 (mips_breakpoint_from_pc): Declare breakpoint instruction
3171 sequences as unsigned char, to avoid compiler warnings.
3172
fe4e3eb8
EZ
3173 * source.c (mod_path, openp): Use HAVE_DOS_BASED_FILE_SYSTEM
3174 instead of system-specific define's like _WIN32 and __MSDOS__.
3175 Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH instead of SLASH_P and
3176 ROOTED_P.
3177 (top-level): #include "filenames.h".
3178
3179 * solib.c (solib_open): Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH
3180 instead of SLASH_CHAR, ROOTED_P and SLASH_P.
3181 (top-level): #include "filenames.h".
3182
3183 * defs.h (SLASH_P, SLASH_CHAR, ROOTED_P): Remove definitions.
3184 (SLASH_STRING): Define only for _WIN32.
3185
3186 * completer.c: Use HAVE_DOS_BASED_FILE_SYSTEM instead of
3187 __MSDOS_.
3188
3189 * cli/cli-cmds.c (cd_command): Use IS_DIR_SEPARATOR and
3190 IS_ABSOLUTE_PATH instead of SLASH_P and ROOTED_P. Replace
3191 system-specific ifdefs with HAVE_DOS_BASED_FILE_SYSTEM.
3192 (top-level): #include "filenames.h".
3193
37ba1196
EZ
3194 * go32-nat.c (go32_wait): Change the return value to ptid_t.
3195
3196 * config/djgpp/fnchange.lst: Add two new files in the
3197 gdb/testsuite/gdb.c++/ directory to the remapped names.
3198
3199 * config/djgpp/djconfig.sh (lt_cv_sys_max_cmd_len): Set to 12KB.
3200
3c875b6f
JB
32012001-06-01 Jim Blandy <jimb@redhat.com>
3202
3203 Expand the gdbarch per-architecture data vector as needed, rather
3204 than requiring that all per-architecture data be registered before
3205 the first gdbarch object is allocated.
3206 * gdbarch.sh: Changes to effect the following:
3207 * gdbarch.c (alloc_gdbarch_data, init_gdbarch_data): Delete
3208 declarations and definitions.
3209 (check_gdbarch_data): New function, and declaration.
3210 (gdbarch_alloc): Don't call alloc_gdbarch_data; leaving the fields
3211 zero is good enough.
3212 (free_gdbarch_data): Tolerate a null data pointer. Free only
3213 those data items gdbarch->data actually has allocated.
3214 (set_gdbarch_data, gdbarch_data): Call check_gdbarch_data.
3215 (gdbarch_update_p): No need to call init_gdbarch_data.
3216
98f96ba1
KB
32172001-06-01 Kevin Buettner <kevinb@redhat.com>
3218
3219 * ia64-tdep.c (is_float_or_hfa_type_recurse): Call check_typedef()
3220 on types that we wish to recurse on.
3221 (slot_alignment_is_next_even): New function.
3222 (ia64_push_arguments): Call slot_alignment_is_next_even() to
3223 examine the type in order to decide if it's necessary to skip
3224 an odd slot.
3225
c6ad9598
MS
32262001-06-01 Michael Snyder <msnyder@redhat.com>
3227
8601f500
MS
3228 * thread.c (delete_step_resume_breakpoint): New function.
3229 Maintain internal consistency of the thread list while deleting
3230 a step_resume_breakpoint.
3231 * gdbthread.h (delete_step_resume_breakpoint): Export.
3232 * breakpoint.c (bpstat_find_step_resume_breakpoint):
3233 Make thread-aware: don't return a step_resume_breakpoint
3234 for the wrong thread.
3235 * infrun.c (wait_for_inferior): Call delete_step_resume_breakpoint
3236 instead of delete_breakpoint_current_contents.
3237 (fetch_inferior_event): Ditto.
3238 (handle_inferior_event): Call delete_step_resume_breakpoint
3239 instead of delete_breakpoint.
c6ad9598
MS
3240 * infrun.c (handle_inferior_event): After singlestepping over a
3241 thread-specific breakpoint, use currently_stepping() to decide
3242 whether to step or continue.
3243
531017df
JB
32442001-06-01 Jim Blandy <jimb@redhat.com>
3245
b27b8843
JB
3246 * gnu-v3-abi.c (gnu_v3_abi_ops, vtable_type_gdbarch_data): Make
3247 these static --- there's no reason other files should use these.
3248
d0bbfec7
JB
3249 * partial-stab.h (case N_FUN: case 'f':, case N_FUN: case 'F':)
3250 Fix memory leak.
3251
531017df
JB
3252 * partial-stab.h: New complaint: function_outside_compilation_unit.
3253 (case N_FUN: case 'f':, case N_FUN: case 'F':): If pst is zero,
3254 complain, and don't try to set pst's start address.
3255
d469a809
KB
32562001-05-31 Kevin Buettner <kevinb@redhat.com>
3257
3258 * ia64-linux-tdep.c (IA64_LINUX_SIGCONTEXT_OFFSET): Revise to
3259 match the location at which the kernel is placing the sigcontext
3260 struct.
3261
58ab00f9
KB
3262 * ia64-tdep.c (max_skip_non_prologue_insns): New static global.
3263 (refine_prologue_limit): New function.
3264 (examine_prologue): Further limit number of instructions
3265 scanned by calling refine_prologue_limit(). Revise way in
3266 which the end of prologue address is computed for frameless
3267 functions.
3268
9fd7143a
CF
32692001-05-29 Christopher Faylor <cgf@redhat.com>
3270
3271 * partial-stab.h: Revert previous patch.
3272
34a7837a
CF
32732001-05-29 Christopher Faylor <cgf@redhat.com>
3274
3275 * partial-stab.h: Consistently guard against pst being NULL.
3276
ad53e288
AO
32772001-05-29 Alexandre Oliva <aoliva@redhat.com>
3278
3279 * symfile.c (compare_psymbols, compare_symbols): Declare using
3280 PTR, as in the definition.
09d011c5
AO
3281 * minsyms.c (compare_minimal_symbols): Likewise.
3282 * coffread.c (find_targ_sec): Likewise.
3283 * elfread.c (free_elfinfo, elf_locate_sections): Likewise.
3284 * mipsread.c (alphacoff_locate_sections): Likewise.
3285 * mdebugread.c (compare_blocks): Likewise.
ad53e288 3286
b41be06e
ND
32872001-05-25 Nick Duffek <nsd@redhat.com>
3288
3289 * solib.c (update_solib_list): Move target_resize_to_sections()
3290 into solib_map_sections() loop.
3291 (info_sharedlibrary_command): Try bfd_arch_bits_per_address() if
3292 bfd_get_arch_size() fails.
3293
a1cd1908
ND
32942001-05-25 Nick Duffek <nsd@redhat.com>
3295
3296 * Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c and
3297 solib-osf.o.
3298 * config/alpha/alpha-osf1.mh (NATDEPFILES): Replace osfsolib.o
3299 with solib-osf.o and solib.o.
3300 * config/alpha/alpha-osf2.mh: Likewise.
3301 * config/alpha/alpha-osf3.mh: Likewise.
3302 * solib-osf.c: New file, renamed and largely rewritten from
3303 osfsolib.c.
3304
aa6c0017
MS
33052001-05-25 Michael Snyder <msnyder@redhat.com>
3306
c4365b19
MS
3307 * lin-lwp.c (lin_lwp_attach_lwp): Call stop_wait_callback,
3308 to consume the SIGSTOP generated by PTRACE_ATTACH.
3309 (stop_wait_callback): If a SIGTRAP or a SIGINT event is consumed,
3310 try again to get the SIGSTOP event.
3311 (lin_lwp_wait): Resume all threads when ignoring a signal.
3312 This will insure that newly attached threads get resumed.
5f885618 3313 * lin-lwp.c (stop_wait_callback): Discard redundant SIGINT events.
aa6c0017
MS
3314 * remote.c (remote_write_bytes): Update 'p' packet pointer.
3315
4b1fedf1
JB
33162001-05-25 Jim Blandy <jimb@redhat.com>
3317
3318 * gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
3319 VALUE_POINTED_TO_OFFSET here; if value_cast doesn't return a
3320 useful value, then we should fix that instead.
3321
fa3b51d2
ND
33222001-05-24 Nick Duffek <nsd@redhat.com>
3323
3324 * solist.h (struct so_list): Document the requirement that
3325 current_sos initialize some fields to 0.
3326
2747183e
MK
33272001-05-24 Mark Kettenis <kettenis@gnu.org>
3328
3329 * gnu-nat.c: Include <ctype.h>.
3330 (gnu_pid_to_exec_file): Add PID parameter.
3331 (set_sig_thread_cmd): Use PIDGET on return value from
3332 thread_id_to_pid.
3333 (proc_string): Use MERGEPID to construct argument to
3334 pid_to_thread_id.
3335
e4f237da
KB
33362001-05-22 Kevin Buettner <kevinb@redhat.com>
3337
3338 * breakpoint.c (breakpoint_address_is_meaningful): New function.
3339 (check_duplicates): Don't compare non-meaningful addresses.
3340
5fd913cc
MS
33412001-05-22 Michael Snyder <msnyder@redhat.com>
3342
3343 * thread-db.c: Allow for defunct zombie threads.
3344 (attach_thread): Do not attempt to attach zombie thread.
3345 (thread_db_thread_alive): Return false for defunct zombie thread.
3346 (find_new_threads_callback): Don't add defunct zombie thread to list.
3347
7ed49443
JB
33482001-05-22 Jim Blandy <jimb@redhat.com>
3349
3350 Add support for the GNU V3 C++ ABI.
3351 (Includes changes by Dan Berlin.)
3352
3353 * gnu-v3-abi.c: New file.
3354 * minsyms.c: #include "value.h" and "cp-abi.h".
3355 (install_minimal_symbols): Check the minimal symbol table for
3356 symbols that look mangled in the V3 style, and select the V3 ABI
3357 if we find any.
3358 * Makefile.in (SFILES): Add gnu-v3-abi.c.
3359 (COMMON_OBS): Add gnu-v3-abi.o.
3360 (gnu-v3-abi.o): Add new rule.
3361 (minsyms.o): Depend on $(cp_abi_h) and $(value_h).
3362
a44999d5
JB
33632001-05-21 Jim Blandy <jimb@redhat.com>
3364
8d65888a
JB
3365 * values.c (value_primitive_field): If we're extracting a base
3366 class, then the type of the result should be the base class being
3367 extracted, not the type of which it is a base class.
3368
a44999d5
JB
3369 * value.h (struct value): Doc fix, and rearrange members to place
3370 them near their explanations.
3371
6c3f2dbf
MS
33722001-05-21 Michael Snyder <msnyder@redhat.com>
3373
3374 * remote.c (remote_async_wait): Added new variable fieldsize.
3375 Add fieldsize (return value of hex2bin) to string pointer p.
3376
b4fa4770
SC
33772001-05-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
3378
3379 * m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
3380 (m68hc11_analyze_instruction): Update the pc correctly.
3381 (m68hc11_guess_from_prologue): Take into account the stack correction
3382 for the saving address.
3383
2b127877
DB
33842001-05-07 Daniel Berlin <dan@cgsoftware.com>
3385
3386 Changes by Jim Ingham:
3387
3388 * values.c (value_change_enclosing_type): New function. If the
3389 new enclosing type is larger than the old one, we need to allocate
3390 more space.
3391 * value.h: Add value_change_enclosing_type prototype.
3392 * valops.c (value_cast): Use it.
3393 (value_assign): Use it.
3394 (value_addr): Use it.
3395 (value_ind): Use it.
3396 (value_full_object): Use it.
3397
33982001-05-07 Daniel Berlin <dan@cgsoftware.com>
3399
984e377c
JB
3400 * values.c (value_static_field): Handle static fields that have a
3401 constant value.
2b127877 3402
736d0890
MS
34032001-05-17 Michael Snyder <msnyder@redhat.com>
3404
3405 * blockframe.c (create_new_frame): Zero all the fields via memset,
3406 rather than zeroing them one by one.
3407
a577b05c
EZ
34082001-05-17 Eli Zaretskii <eliz@is.elta.co.il>
3409
3410 * top.c (user_args): Remove unused declaration.
3411
b8adfa9f
MS
34122001-05-16 Michael Snyder <msnyder@redhat.com>
3413
3414 * infcmd.c (do_registers_info): Move alloca outside of loop.
3415
97345198
MS
34162001-05-15 John S Kallal <jskallal@home.com>
3417
3418 * remote.c (remote_wait): Added new variable fieldsize.
3419 Add fieldsize (return value of hex2bin) to string pointer p.
3420
aca21d9a
MK
34212001-05-15 Mark Kettenis <kettenis@gnu.org>
3422
3423 * sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
3424 info.bfd_arch_info.
3425
b08cfdb6
KB
34262001-05-14 Kevin Buettner <kevinb@redhat.com>
3427
3428 * lin-lwp.c (detach_callback, lin_lwp_wait, lin_lwp_pid_to_str):
3429 Adjust format strings for printing LWPs to account for the fact
3430 that the type returned by GET_LWP() is now a long instead of an
3431 int.
3432
ca6724c1
KB
34332001-05-14 Kevin Buettner <kevinb@redhat.com>
3434
3435 * inferior.h (null_ptid, minus_one_ptid): New variable declarations.
3436 (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
3437 (ptid_get_tid, ptid_equal): New function declarations.
3438 * infrun.c (null_ptid, minus_one_ptid): New variables.
3439 (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
3440 (ptid_get_tid, ptid_equal): New functions.
3441 (_initialize_infrun): Initialize null_ptid, minus_one_ptid,
3442 inferior_ptid, and target_last_wait_ptid.
3443
3444 * defs.h (ptid_t): Redefine to be a struct rather than an int.
3445 (pid_to_ptid, null_ptid, ptid_equal): Delete these macros.
3446 (PIDGET, TIDGET, MERGEPID): Redefine these macros using the
3447 new ptid accessors and constructor.
3448
3449 * config/i386/tm-i386v42mp.h (PIDGET, TIDGET, LIDGET, MERGEPID,
3450 MKLID, MKTID, ISTID): Provide new definitions for these macros.
3451 The old macros are retained, but disabled via #if 0 in order
3452 to aid in future restructuring. See FIXME.
3453
3454 * arm-linux-nat.c (PIDGET, TIDGET): Delete macro definitions.
3455 * i386-linux-nat.c (PIDGET, TIDGET): Likewise.
3456 * infptrace.c (PIDGET, TIDGET): Likewise.
3457 * lin-lwp.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
3458 * lin-thread.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
3459 * proc-service.c (MERGEPID): Likewise.
3460 * procfs.c (PIDGET, TIDGET, MERGEPID): Likewise.
3461 * thread-db.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
3462 * config/nm-linux.h (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
3463 * config/i386/tm-i386sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
3464 Likewise.
3465 * config/sparc/tm-sun4sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
3466 Likewise.
3467
3468 * lin-lwp.c (THREAD_FLAG): Delete macro definition.
3469 (GET_LWP): Redefine in terms of ptid_get_lwp().
3470 (GET_PID): Redefine in terms of ptid_get_pid().
3471 (is_lwp): Redefine without the need for THREAD_FLAG.
3472 (BUILD_LWP): Redefine in terms of ptid_build().
3473 * lin-thread.c (THREAD_FLAG): Delete macro definition.
3474 (GET_LWP): Redefine in terms of ptid_get_lwp().
3475 (GET_PID): Redefine in terms of ptid_get_pid().
3476 (GET_THREAD): Redefine in terms of ptid_get_tid().
3477 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
3478 (is_lwp, is_thread): Redefine.
3479 (linux_child_wait, check_all_signal_numbers)
3480 (linuxthreads_discard_global_state, attach_thread): Declare these
3481 functions to squash warnings about missing declarations.
3482 * sol-thread.c (THREAD_FLAG): Delete macro definition.
3483 (GET_PID): Redefine in terms of ptid_get_pid().
3484 (GET_LWP): Redefine in terms of ptid_get_lwp().
3485 (GET_THREAD): Redefine in terms of ptid_get_tid().
3486 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
3487 (is_lwp, is_thread): Redefine.
3488 * thread-db.c (THREAD_FLAG): Delete macro definition.
3489 (GET_PID): Redefine in terms of ptid_get_pid().
3490 (GET_LWP): Redefine in terms of ptid_get_lwp().
3491 (GET_THREAD): Redefine in terms of ptid_get_tid().
3492 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
3493 (is_lwp, is_thread): Redefine.
3494
3495 * corelow.c (add_to_thread_list, get_core_register_section):
3496 Eliminate hacks needed to prevent regressions when inferior_ptid
3497 wasn't wide enough to hold the core file thread id in the pid
3498 component of inferior_ptid.
3499
234fa6d1
MS
35002001-05-14 Michael Snyder <msnyder@redhat.com>
3501
3502 * remote.c (hex2bin): Make first argument const.
3503 Require explicit count, don't accept null-terminated str.
3504 (remote_resume, remote_async_resume): White space fix-up.
3505 (remote_write_bytes): Set nr_bytes to return value of bin2hex.
3506
caadab2c
MK
35072001-05-13 Mark Kettenis <kettenis@gnu.org>
3508
3509 * symtab.c (lookup_symtab_1): Use lbasename (NAME) instead of
3510 basename (NAME). The FreeBSD basename returns a pointer to a
3511 static buffer, even if it's simply returning a string identical to
3512 its argument.
3513 (lookup_partial_symtab): Likewise.
3514
2644f393
MS
35152001-05-14 Michael Snyder <msnyder@redhat.com>
3516
cb0ba49e 3517 * solib.c, solib.h: Add comment for function no_shared_libraries.
2644f393 3518
183a2f1a
KB
35192001-05-14 Kevin Buettner <kevinb@redhat.com>
3520
3521 * solib.h (no_shared_libraries): Make declaration match definition
3522 in solib.c.
3523
1dd1751e
AC
35242001-05-14 Andrew Cagney <ac131313@redhat.com>
3525
3526 * remote.c (remote_write_bytes): Set nr_bytes before returning it.
3527 * solib.h (no_shared_libraries): Declare.
3528
b732d07d
AC
35292001-05-12 Andrew Cagney <ac131313@redhat.com>
3530
3531 * gdbarch.sh (struct gdbarch_info): Delete field bfd_architecture.
3532 (gdbarch_update_p): Rewrite logic filling in INFO struct. Use
3533 user specified values when available.
3534 * rs6000-tdep.c (rs6000_gdbarch_init): Update. Get the
3535 architecture from info.bfd_arch_info.
3536 * gdbarch.c, gdbarch.h: Regenerate.
3537
67dd5ca6
FN
35382001-05-12 Fernando Nasser <fnasser@redhat.com>
3539
3540 * remote-e7000.c (e7000_open): Check for bad baud rate.
3541 * remote-st.c (st2000_open): Ditto.
3542
529acb48
JB
35432001-05-11 Jim Blandy <jimb@redhat.com>
3544
f8e42d24
JB
3545 * thread.c (do_captured_list_thread_ids): Use ui_out_tuple_begin
3546 and ui_out_tuple_end instead of ui_out_list_begin and
3547 ui_out_list_end.
3548
529acb48
JB
3549 * Makefile.in (gnu-v2-abi.o): Add $(demangle_h) to list of
3550 dependencies. Reorder dependencies to match #includes in file,
3551 for easier verification.
3552
666547aa
AC
3553Fri May 11 13:32:50 2001 Andrew Cagney <cagney@b1.cygnus.com>
3554
3555 * breakpoint.c: Replace ui_out_list_begin, ui_out_list_end and
3556 make_cleanup_ui_out_list_end with ui_out_tuple_begin,
3557 ui_out_tuple_end and make_cleanup_ui_out_tuple_begin_end.
3558 * cli/cli-setshow.c: Ditto.
3559 * printcmd.c: Ditto.
3560 * stack.c: Ditto.
3561
3562 * ui-out.h (enum ui_out_type): Fix tipo - tupple -> tuple.
3563 * ui-out.c (ui_out_list_begin): Delete ``lstid'' parameter.
3564 (ui_out_tuple_begin): New function.
3565 (ui_out_tuple_end): New function.
3566 (ui_out_tuple_begin_end): New function.
3567 (make_cleanup_ui_out_list_begin_end): Replace
3568 make_cleanup_ui_out_list_end function.
3569 * ui-out.h (ui_out_list_begin): Update declaration.
3570 (make_cleanup_ui_out_list_begin_end): Replace
3571 make_cleanup_ui_out_list_end declaration.
3572 (ui_out_tuple_begin, ui_out_tuple_end): Declare.
3573 (ui_out_tuple_begin_end): Declare.
3574
30c98d84
JB
35752001-05-11 Jim Blandy <jimb@redhat.com>
3576
3577 * gnu-v2-abi.c: Don't #include "gdb_regex.h". We don't use it.
3578
1faa59a8
AC
35792001-05-11 Andrew Cagney <ac131313@redhat.com>
3580
3581 From 2001-03-26 Rodney Brown <RodneyBrown@mynd.com>
3582 * config/pa/tm-hppa.h: Remove trigraph.
3583 * hp-symtab-read.c (hpread_type_translate): Provide return value.
3584 (hpread_read_struct_type): Remove trigraph. Add parameter in
3585 `warning'.
3586 (hpread_read_array_type): Provide return value.
3587 (hpread_type_lookup): Avoid ambiguous `else'. Provide return
3588 value.
3589 * hppa-tdep.c (initialize_hp_cxx_exception_support): Remove
3590 trigraph.
3591
99567b1b
JB
35922001-05-11 Jim Blandy <jimb@redhat.com>
3593
3594 * mips-tdep.c (mips_store_return_value,
3595 mips_extract_return_value): Pass arguments to
3596 return_value_location in the proper order.
3597
d3814881
AC
35982001-05-11 Andrew Cagney <ac131313@redhat.com>
3599
3600 * Makefile.in (VERSION): Delete. Moved to file ``version.in''.
3601 (version.c): Depends on file ``version.in''. Extract version
3602 number from ``version.in'' file.
3603 (clean mostlyclean): Update.
3604 * version.in: New file.
5d6640b1 3605 * NEWS: Update.
d3814881 3606
4d28f7a8
KB
36072001-05-11 Kevin Buettner <kevinb@redhat.com>
3608
3609 * breakpoint.c (set_raw_breakpoint): Add new parameter
3610 representing the breakpoint's type. Adjust all callers.
3611 (create_longjmp_breakpoint, create_temp_exception_breakpoint)
3612 (create_thread_event_breakpoint): Don't test for zero return
3613 value from set_raw_breakpoint(). It can never be zero.
3614 (create_exception_catchpoint, watch_command_1): Move logic
3615 which calculates the breakpoint type prior to the call to
3616 set_raw_breakpoint().
3617
08b4f080
FN
36182001-05-11 Fernando Nasser <fnasser@redhat.com>
3619
3620 * ser-unix.c (rate_to_code): Issue warning if baud rate is invalid.
3621 (hardwire_setbaudrate): Set errno to EINVAL and return with error
3622 if the conversion of the baud rate to code fails.
3623
127431f9
AC
36242001-05-10 Andrew Cagney <ac131313@redhat.com>
3625
3626 * ui-out.h (make_cleanup_ui_out_begin_end): Declare.
3627 * ui-out.c (struct ui_out_end_cleanup_data): Define.
3628 (do_cleanup_end): New function. Replace do_list_end.
3629 (make_cleanup_ui_out_end): New function.
3630 (make_cleanup_ui_out_begin_end): New function.
3631 (make_cleanup_ui_out_list_end): Use make_cleanup_ui_out_end.
3632
5dbc5e5f
EZ
36332001-05-10 Elena Zannoni <ezannoni@redhat.com>
3634
3635 * MAINTAINERS: Declare xcoffread.c open to all maintainers,
3636 and make Kevin Buettner (kevinb@redhat.com) the reference person.
3637
8e40d292
EZ
36382001-05-10 Elena Zannoni <ezannoni@redhat.com>
3639
3640 * proc-api.c (ioctl_with_trace): Fix uninitialized variable.
3641
5a703563
FN
36422001-05-10 Fernando Nasser <fnasser@redhat.com>
3643
3644 * MAINTAINERS: Add testsuite subdirectory co-maintainers.
3645
6311b07d
AC
3646Thu May 10 16:26:47 2001 Andrew Cagney <cagney@b1.cygnus.com>
3647
3648 * Makefile.in (mi-main.o): Compile with -Werror.
3649
30559e10
MS
36502001-05-10 Michael Snyder <msnyder@redhat.com>
3651
f78f6cf1
MS
3652 * remote.c (remote_open_1): Call no_shared_libraries, so that
3653 symbols for shared libraries can be reloaded per session.
3654 (remote_async_open_1): Ditto.
30559e10
MS
3655 * remote.c (bin2hex, hex2bin): New functions. Factor out these
3656 two conversions which are coded for repeatedly in this module.
3657 (remote_threads_extra_info, remote_wait, remote_async_wait,
3658 store_register_using_P, remote_store_registers, remote_write_bytes,
3659 remote_read_bytes, remote_rcmd): Use bin2hex and hex2bin instead
3660 of coding the conversions inline.
3661 (fromhex): Not exported, change from extern to static.
3662
0a1d9791
AC
36632001-05-10 Andrew Cagney <ac131313@redhat.com>
3664
3665 * arch-utils.c (initialize_current_architecture): Delete obsolete
3666 ``info architecture'' command.
3667 (info_architecture): Delete function.
3668
ee055267
AC
36692001-05-10 Andrew Cagney <ac131313@redhat.com>
3670
3671 * TODO (5.1, 5.2): Update.
3672
85886af6
AC
36732001-05-09 Andrew Cagney <ac131313@redhat.com>
3674
3675 * MAINTAINERS: Jim Ingham is no longer maintaining Arm related
3676 stuff.
30559e10 3677
ecb9ce7e
KS
36782001-05-10 Keith Seitz <keiths@cygnus.com>
3679
3680 * Makefile.in (SUBDIR_GDBTK_OBS): Add gdbtk-bp.o, gdbtk-register.o
3681 and gdbtk-stack.o.
3682 (SUBDIR_GDBTK_SRCS): Ditto for the sources.
3683 (gdbtk-bp.o): New rule.
3684 (gdbtk-register.o): New rule.
3685 (gdbtk-stack.o): New rule.
3686 (gdbtk-cmds.o): Update dependencies.
3687 (gdbtk.o): Ditto.
3688 (gdbtk-hooks.o): Ditto.
3689 (gdbtk-varobj.o): Ditto.
3690
f7635dd9
FN
36912001-05-10 Fernando Nasser <fnasser@redhat.com>
3692
3693 * varobj.c (c_number_of_children): Fix memory leak. Delete unwanted old
3694 variables, not just unregister them.
3695
0755e6c1
FN
36962001-05-10 Fernando Nasser <fnasser@redhat.com>
3697
3698 * varobj.c (c_number_of_children): Check for target type of void*,
3699 not the target type name. Allow dereferencing char*.
3700
d7db6da9
FN
37012001-05-10 Fernando Nasser <fnasser@redhat.com>
3702
3703 * symfile.c (symbol_file_add_main_1): New static function.
3704 Passes the flags arguments to symbol_file_add() and takes care
3705 of any necessary reinitializations.
3706 (symbol_file_command): Call symbol_file_add_main_1() instead of
3707 symbol_file_add().
3708 (symbol_file_add_main): Ditto.
3709
3d6e28e2
KB
37102001-05-09 Kevin Buettner <kevinb@redhat.com>
3711
3712 * lin-lwp.c (lin_lwp_pid_to_str): Revert inadvertent format
3713 string change in 2001-05-03 changes.
3714 (lin_lwp_wait): Revert GET_LWP coercion introduced in 2001-05-03
3715 changes.
3716
01263b57
KB
37172001-05-09 Kevin Buettner <kevinb@redhat.com>
3718
3719 * lin-lwp.c (lin_lwp_attach): Use PIDGET() to fetch the pid
3720 component from inferior_ptid.
3721 (lin_lwp_detach): Use pid_to_ptid() to convert from a pid to a
3722 ptid.
3723
74a151fa
EZ
37242001-05-09 Elena Zannoni <ezannoni@redhat.com>
3725
3726 * sh3-rom.c (_initialize_sh3_rom): Get rid of specific _WINDOWS
3727 conditional for help with connections through parallel ports,
3728 given that the actual code for downloading through a parallel port
3729 is not conditionalized.
3730
3731 * sh-tdep.c: Remove WIN32_WCE conditional. The wince sh target is
3732 unmaintaned, and probably on its way to obsolescence.
3733
d7a0d72c
MK
37342001-05-09 Mark Kettenis <kettenis@gnu.org>
3735
0d17c81d
MK
3736 * i386-tdep.c (i386_frame_saved_pc): New function.
3737 * config/i386/tm-i386.h (FRAME_SAVED_PC): Redefine in terms of
3738 i386_frame_saved_pc.
3739 (i386_frame_saved_pc): New prototype.
3740
d7a0d72c
MK
3741 * i386-tdep.c (i386_register_virtual_type): New function.
3742 (i386_register_convertible): New function.
3743 * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE): Redefine in terms
3744 of i386_register_virtual_type.
3745 (REGISTER_CONVERTIBLE): Redefine in terms of
3746 i386_register_convertible.
3747 (i386_register_virtual_type, i386_register_convertible): New
3748 prototypes.
3749
ad8fe2ce
JB
37502001-05-08 Jim Blandy <jimb@redhat.com>
3751
33757489
JB
3752 * Makefile.in (mn10300-tdep.o): New rule.
3753
3754 * Makefile.in (gdb_string_h): Define. Use it throughout.
3755 Some rules were already using this, even though it isn't defined.
3756
c2c197ae
JB
3757 * Makefile.in (obstack_h, target_h): Define; these are already
3758 used elsewhere, but have been expanding to the empty string.
3759 (memattr_h): Define; needed by target_h.
3760
c064f384
JB
3761 * mn10300-tdep.c (mn10300_extract_return_value): Mark this as
3762 static. (This was accidentally omitted from the earlier patch.)
3763
23436510
JB
3764 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
3765 (mn10300_gdbarch_init): Register it as the architecture's
3766 dwarf2_reg_to_regnum method.
3767
ae83b20d
JB
3768 Correct and expand handling of `movm' instruction, and register
3769 saves in general.
3770 * config/mn10300/tm-mn10300.h (D0_REGNUM, A0_REGNUM, MDRQ_REGNUM,
3771 MCRH_REGNUM, MCRL_REGNUM, MCVF_REGNUM): New definitions.
3772 (enum movm_register_bits): New enum.
3773 * mn10300-tdep.c (set_movm_offsets): Use symbolic names for the
3774 bits, not hex literals. Handle the `other', `exreg0', and
3775 `exother' bits. Correct handling of `exreg1': it saves r4, r5,
3776 r6, and r7, not r2, r3, r4, and r5.
3777 (saved_regs_size): New function.
3778 (mn10300_frame_chain, mn10300_frame_saved_pc): Use it, instead
3779 of computing the same thing inline, incorrectly.
3780
bf4b70a5
JB
3781 * mn10300-tdep.c (mn10300_gdbarch_init): We do have a
3782 dummy_breakpoint_offset; it's zero.
3783
ee9f9641
JB
3784 * mn10300-tdep.c (mn10300_pop_frame): Split the mn10300-specific
3785 stuff out into mn10300_pop_frame_regular, and use
3786 generic_pop_current_frame. This lets us share code, and also
3787 makes this function's prototype match that expected by gdbarch.
3788 Make this function static.
3789 (mn10300_pop_frame_regular): New function.
3790 (mn10300_gdbarch_init): Register mn10300_pop_frame as the
3791 gdbarch's pop_frame method.
3792 * config/mn10300/tm-mn10300.h (POP_FRAME): Delete definition.
3793 (mn10300_pop_frame): Delete declaration.
3794
2ac51b36
JB
3795 * mn10300-tdep.c (mn10300_saved_pc_after_call,
3796 mn10300_extract_return_value,
3797 mn10300_extract_struct_value_address, mn10300_store_return_value,
3798 mn10300_use_struct_convention, mn10300_breakpoint_from_pc,
3799 mn10300_frame_chain, mn10300_skip_prologue,
3800 mn10300_push_arguments, mn10300_push_return_address,
3801 mn10300_store_struct_return, mn10300_frame_saved_pc,
3802 mn10300_init_extra_frame_info, mn10300_frame_init_saved_regs):
3803 Make these functions static; they should only be visible to the
3804 outside world as gdbarch methods.
3805
af4e72e9
JB
3806 * config/mn10300/tm-mn10300.h (mn10300_find_callers_reg): Delete
3807 unused declaration.
3808
584f96a8
JB
3809 * mn10300-tdep.c (mn10300_gdbarch_init): Put the gdbarch methods
3810 in some rational order.
3811
82d983b6
JB
3812 * mn10300-tdep.c (mn10300_gdbarch_init): Rather than using
3813 generic_pc_in_call_dummy, use pc_in_call_dummy_at_entry_point.
3814
ad8fe2ce
JB
3815 Use gdbarch for most target parameters for the MN10300, rather
3816 than the tm-*.h file.
3817 * config/mn10300/tm-mn10300.h (MAX_REGISTER_VIRTUAL_SIZE,
3818 REGISTER_BYTES, FP_REGNUM, BREAKPOINT_FROM_PC,
3819 FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK, INNER_THAN,
3820 SAVED_PC_AFTER_CALL, INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS,
3821 FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC,
3822 EXTRACT_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS,
3823 STORE_RETURN_VALUE, STORE_STRUCT_RETURN, SKIP_PROLOGUE,
3824 FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS,
3825 FRAME_NUM_ARGS, POP_FRAME, USE_GENERIC_DUMMY_FRAMES, CALL_DUMMY,
3826 CALL_DUMMY_START_OFFSET, CALL_DUMMY_BREAKPOINT_OFFSET,
3827 CALL_DUMMY_LOCATION, FIX_CALL_DUMMY, CALL_DUMMY_ADDRESS,
3828 TARGET_READ_FP, PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME,
3829 SAVE_DUMMY_FRAME_TOS, PUSH_ARGUMENTS, PC_IN_CALL_DUMMY,
3830 REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER):
3831 Delete definitions. We register gdbarch methods for these now.
3832 (struct frame_info, struct type, struct value): Delete forward
3833 declarations of these types; they're no longer necessary, since we
3834 don't have function declarations here any more.
3835 * mn10300-tdep.c: #include "arch-utils.h", to get declarations for
3836 some default gdbarch methods.
3837 (mn10300_store_struct_return): Return void, as expected by
3838 gdbarch.
3839 (mn10300_init_extra_frame_info): Take initial `fromleaf' argument,
3840 as expected by gdbarch.
3841 (mn10300_frame_init_saved_regs): Provide dummy definition for
3842 this, as required by gdbarch.
3843 (mn10300_gdbarch_init): Add mn10300_call_dummy_words, as expected
3844 by gdbarch. Register gdbarch methods or values for all the stuff
3845 removed from tm-10300.h, listed above.
3846
631ec795
AC
38472001-05-08 Andrew Cagney <ac131313@redhat.com>
3848
3849 * cli-out.c (cli_begin, cli_end): Replace cli_list_begin and
3850 cli_list_end.
3851 (cli_ui_out_impl): Update.
3852
3853 * ui-out.c (default_begin, default_end): Replace
3854 default_list_begin and default_list_end.
3855 (default_ui_out_impl): Update.
3856 (uo_begin, uo_end): Replace ou_list_begin and uo_list_end.
3857 (ui_out_begin, ui_out_end): Replace ui_out_list_begin and
3858 ui_out_list_end.
3859 (ui_out_list_begin, ui_out_list_end): New. Compatibility
3860 functions.
3861 (struct ui_out_level): Add field type.
3862 (push_level, pop_level): Update. Add type parameter.
3863
3864 * ui-out.h (enum ui_out_type): Declare.
3865 (ui_out_begin, ui_out_end): Declare.
3866 (ui_out_begin_ftype, ui_out_end_ftype): Replace list_begin_ftype
3867 and list_end_ftype.
3868 (struct ui_out_impl): Update.
3869
80f49b30
AC
38702001-05-07 Andrew Cagney <ac131313@redhat.com>
3871
3872 * ui-out.h (list_begin_ftype, list_end_ftype): Rename argument
3873 ``list_flag'' to ``depth''.
3874 * ui-out.c (default_list_begin, default_list_end): Update.
3875 (uo_list_begin, uo_list_end): Update.
3876 (MAX_UI_OUT_LEVELS): Define.
3877 (struct ui_out_level): Define.
3878 (top-level): Include "gdb_assert.h".
3879 (struct ui_out): Add fields ``level'' and ``levels''. Delete
3880 fields ``list_flag'' and ``field_count''.
3881 (ui_out_new): Update.
3882 (verify_field_proper_position): Update.
3883 (current_level, push_level, pop_level): New functions.
3884 (ui_out_list_begin): Use push_level.
3885 (ui_out_list_end): Use pop_level.
3886 (ui_out_field_int): Use current_level.
3887 (ui_out_field_skip): Ditto.
3888 (ui_out_field_fmt): Ditto.
3889
7aedc9f8
MS
38902001-05-08 Michael Snyder <msnyder@redhat.com>
3891
3892 * language.c (longest_local_hex_string_custom): Strlen test is
3893 inverted -- reverse the sense of the test.
3894
c6ec85d6
MK
38952001-05-08 Mark Kettenis <kettenis@gnu.org>
3896
3897 * config/i386/tm-i386v.h (struct frame_info, struct
3898 frame_saved_regs): Remove declarations.
3899 (i386_frame_num_args): Remove prototype.
3900
f938fa6a
AC
39012001-05-07 Andrew Cagney <ac131313@redhat.com>
3902
3903 * MAINTAINERS: I'm no longer actively maintaining the mn10300
3904 target.
3905
fb106663
AC
39062001-05-04 Andrew Cagney <ac131313@redhat.com>
3907
3908 * main.c (captured_main): Delete #ifndef _WIN32 conditional for
3909 WinGDB.
3910
ce696e05
KB
39112001-05-06 Kevin Buettner <kevinb@redhat.com>
3912
3913 * inferior.h (save_inferior_ptid): Declare.
3914 * infrun.c (save_inferior_ptid, restore_inferior_ptid): Define.
3915
3916 * hpux-thread.c (save_inferior_ptid, restore_inferior_ptid):
3917 Delete these functions.
3918 * lin-lwp.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
3919 * lin-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
3920 * linux-thread.c (save_inferior_ptid, restore_inferior_ptid):
3921 Likewise.
3922 * proc-service.c (save_inferior_ptid, restore_inferior_ptid):
3923 Likewise.
3924 * sol-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
3925 * thread-db.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
3926
3927 * somsolib.c (reset_inferior_ptid): Delete.
3928 (som_solib_remove_inferior_hook): Use save_inferior_ptid() to
3929 build the cleanup struct.
3930
3931 * breakpoint.c (reattach_breakpoints, detach_breakpoints): Use
3932 a cleanup to save/restore inferior_ptid.
3933
c194fbe1
MK
39342001-05-06 Mark Kettenis <kettenis@gnu.org>
3935
3936 Implement attach/detach for multi-threaded programs on Linux.
3937 * thread-db.c (keep_thread_db): Adjust comment.
3938 (deactivate_target): Removed.
3939 (thread_db_new_objfile): Don't call deactivate_target. Implement
3940 guts of deactivate_target inline instead.
3941 (attach_thread): Call ATTACH_LWP unconditionally if defined.
3942 (thread_db_attach): New function.
3943 (thread_db_detach): Don't call deactivate_target. Do necessary
3944 cleanup inline instead. Set inferior_ptid to LWP corresponding to
3945 the current user-level thread.
3946 (thread_db_kill): Set inferior_ptid to LWP corresponding to the
3947 current user-level thread.
3948 (thread_db_create_inferior): Deactivate target vector if
3949 KEEP_THREAD_DB is zero.
3950 (thread_db_mourn_inferior): Don't call deactivate_target. Do
3951 necessary cleanup inline instead.
3952 (init_thread_db_ops): Initialize to_attach field to
3953 thread_db_attach.
3954 * lin-lwp.c (lin_lwp_mourn_inferior): Remove prototype.
3955 (stop_wait_callback): Add prototype.
3956 (init_lwp_list): Add comment about when to re-initialize the LWP
3957 list.
3958 (lin_lwp_attach_lwp): Only call ptrace for cloned processes.
3959 Avoid adding publicates to the LWP list. Only mark an LWP as
3960 signalled if it doesn't correspond to a cloned process.
3961 (lin_lwp_attach): Add initial process to the LWP list. Make sure
3962 it's stopped and fake a SIGSTOP.
3963 (detach_callback): New function.
3964 (lin_lwp_detach): Implement.
3965 (lin_lwp_create_inferior): Don't re-initialize LWP list here.
3966 Call child_ops.to_create_inferior directly instead of via
3967 target_beneath local.
3968 (lin_lwp_mourn_inferior): Call child_ops.to_mourn_inferior
3969 directly instead of via target_beneath local.
3970
a7fdf62f
EZ
39712001-05-06 Eli Zaretskii <eliz@is.elta.co.il>
3972
3973 * symtab.c (lookup_symtab_1, lookup_partial_symtab): Use basename
3974 instead of non-portable search for `/'. Use FILENAME_CMP instead
3975 of STREQ, to account for case-insensitive filesystems.
3976 (top-level): #include "filenames.h".
3977
9f60f21b
JB
39782001-05-05 Jim Blandy <jimb@redhat.com>
3979
644a1fe1
JB
3980 * breakpoint.c (check_duplicates): Use the breakpoint's type, not
3981 its address, to decide whether it's a watchpoint or not. Zero
3982 is a valid code address.
3983 (update_breakpoints_after_exec): Admonishing comments.
3984 * breakpoint.h (struct breakpoint): Doc fixes.
3985
9f60f21b
JB
3986 * breakpoint.c (check_duplicates): Take a breakpoint object as an
3987 argument, rather than an address and section. All callers changed.
3988
39f77062
KB
39892001-05-03 Kevin Buettner <kevinb@redhat.com>
3990
3991 * defs.h (ptid_t): New typedef.
3992 (pid_to_ptid, null_ptid, minus_one_ptid, ptid_equal): New macros.
3993
3994 * a68v-nat.c, alphabsd-nat.c, arch-utils.c, arm-linux-nat.c,
3995 blockframe.c, breakpoint.c, breakpoint.h,
3996 config/i386/nm-i386sol2.h, config/i386/tm-i386sco5.h,
3997 config/ia64/nm-linux.h, config/m68k/nm-hp300bsd.h,
3998 config/mips/nm-irix4.h, config/mips/nm-irix5.h,
3999 config/pa/nm-hppah.h, config/pa/tm-hppa.h,
4000 config/rs6000/nm-rs6000.h, config/sparc/nm-sun4sol2.h,
4001 corelow.c, cxux-nat.c, d10v-tdep.c, dink32-rom.c,
4002 dve3900-rom.c, fork-child.c, frame.c, gnu-nat.c, go32-nat.c,
4003 hp300ux-nat.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c,
4004 hpux-thread.c, i386-linux-nat.c, i386aix-nat.c, i386b-nat.c,
4005 i386bsd-nat.c, i386gnu-nat.c, i386mach-nat.c, i386nbsd-nat.c,
4006 infcmd.c, inferior.h, inflow.c, infptrace.c, infrun.c,
4007 inftarg.c, infttrace.c, lin-lwp.c, lin-thread.c,
4008 linux-thread.c, lynx-nat.c, m3-nat.c, m32r-rom.c,
4009 m68knbsd-nat.c, m88k-nat.c, mac-nat.c, mips-nat.c,
4010 mon960-rom.c, monitor.c, ns32knbsd-nat.c, ocd.c, ppc-bdm.c,
4011 ppcnbsd-nat.c, proc-service.c, procfs.c, ptx4-nat.c,
4012 regcache.c, remote-adapt.c, remote-array.c, remote-bug.c,
4013 remote-e7000.c, remote-es.c, remote-mips.c, remote-mm.c,
4014 remote-nindy.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
4015 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
4016 remote-vx.c, remote.c, rs6000-nat.c, sol-thread.c,
4017 solib-aix5.c, solib-svr4.c, somsolib.c, sparc-nat.c,
4018 standalone.c, sun3-nat.c, sun386-nat.c, symm-nat.c, target.c,
4019 target.h, thread-db.c, thread.c, top.c, ultra3-nat.c,
4020 uw-thread.c, v850ice.c, win32-nat.c, wince.c, xcoffsolib.c
4021 (inferior_pid): Rename to inferior_ptid everywhere - even in
4022 comments and obsolete ports. In cases where this variable
4023 really is supposed to be used as a process id, use PIDGET() to
4024 extract the process id component from inferior_ptid. The
4025 other cases, either involving other variables whose types had
4026 to be changed or functions whose signatures had to changed
4027 are listed separately below.
4028
4029 * arm-linux-nat.c (get_thread_id): Change type of argument
4030 representing a combined process/thread id from ``int'' to
4031 ``ptid_t''. Also change parameter name to ptid.
4032 * breakpoint.h, breakpoint.c (breakpoint_thread_match): Likewise.
4033 * corelow.c (core_file_thread_alive): Likewise.
4034 * d10v-tdep.c (d10v_read_pc, d10v_write_pc): Likewise.
4035 * defs.h (*target_wait_hook): Likewise.
4036 * gdbthread.h (thread_info, delete_thread, pid_to_thread_id)
4037 (find_thread_pid, save_infrun_state, load_infrun_state): Likewise.
4038 * gnu-nat.c (gnu_thread_alive, gnu_pid_to_str, gnu_wait)
4039 (gnu_resume): Likewise.
4040 * go32-nat.c (go32_wait, go32_resume): Likewise.
4041 * h8500-tdep.c (h8500_read_pc, h8500_write_pc): Likewise.
4042 * hppa-tdep.c (target_read_pc, target_write_pc): Likewise.
4043 * hppah-nat.c (child_pid_to_str, hppa_tid_to_str,
4044 (hppa_pid_or_tid_to_str, child_post_startup_inferior)
4045 (child_thread_alive): Likewise.
4046 * hpux-thread.c (hpux_thread_notice_signals, hpux_thread_alive)
4047 (hpux_pid_to_str, hpux_thread_wait, hpux_thread_resume): Likewise.
4048 * i386-linux-nat.c (child_resume): Likewise.
4049 * ia64-linux-nat.c (enable_watchpoints_in_psr, fetch_debug_register)
4050 (store_debug_register, fetch_debug_register_pair)
4051 (store_debug_register_pair, ia64_linux_insert_watchpoint)
4052 (ia64_linux_remove_watchpoint, ia64_linux_stopped_by_watchpoint):
4053 Likewise.
4054 * ia64-tdep.c (ia64_read_pc, ia64_write_pc): Likewise.
4055 * inferior.h (read_pc_pid, generic_target_read_pc, write_pc_pid)
4056 (generic_target_write_pc, ptrace_wait, child_resume)
4057 (get_last_target_status): Likewise.
4058 * infptrace.c (ptrace_wait, child_resume): Likewise.
4059 * inftarg.c (child_wait, child_post_wait, child_thread_live)
4060 (child_pid_to_str): Likewise.
4061 * infttrace.c (ptrace_wait, child_thread_alive, child_resume)
4062 (hppa_pid_or_tid_to_str, child_post_startup_inferior): Likewise.
4063 * lin-lwp.c (add_lwp, delete_lwp, find_lwp_pid, lin_lwp_attach_lwp)
4064 (lin_lwp_resume, lin_lwp_wait, lin_lwp_thread_alive)
4065 (lin_lwp_pid_to_str): Likewise.
4066 * lin-thread.c (thread_db_alive, thread_db_pid_to_str)
4067 (thread_db_resume, thread_db_wait): Likewise.
4068 * linux-thread.c (linuxthreads_thread_alive, linuxthreads_pid_to_str)
4069 (linuxthreads_resume, linuxthreads_wait): Likewise.
4070 * lynx-nat.c (child_wait, child_thread_alive, child_resume)
4071 (child_pid_to_str): Likewise.
4072 * m3-nat.c (mach_really_wait, m3_resume): Likewise.
4073 * mac-nat.c (child_wait, child_resume): Likewise.
4074 * mips-tdep.c (mips_read_pc): Likewise.
4075 * monitor.c (monitor_wait, monitor_resume): Likewise.
4076 * ocd.c, ocd.h (ocd_thread_alive, ocd_resume): Likewise.
4077 * ppc-bdm.c (bdm_ppc_wait): Likewise.
4078 * procfs.c (do_attach, procfs_wait, procfs_resume)
4079 (procfs_notice_signals, procfs_thread_alive, procfs_pid_to_str)
4080 (procfs_set_watchpoint, procfs_stopped_by_watchpoint)
4081 (procfs_find_LDT_entry): Likewise.
4082 * regcache.c (read_register_pid, read_signed_register_pid)
4083 (write_register_pid, generic_target_read_pc, read_pc_pid)
4084 (generic_target_write_pc, write_pc_pid): Likewise.
4085 * regcache.h (read_register_pid, read_signed_register_pid)
4086 (write_register_pid): Likewise.
4087 * remote-adapt.c (adapt_wait, adapt_resume): Likewise.
4088 * remote-array.c (array_wait, array_resume): Likewise.
4089 * remote-bug.c (bug_wait, bug_resume): Likewise.
4090 * remote-e7000.c (e7000_wait, e7000_resume): Likewise.
4091 * remote-eb.c (eb_wait, eb_resume): Likewise.
4092 * remote-es.c (es1800_wait, es1800_resume): Likewise.
4093 * remote-mips.c (mips_wait, mips_resume): Likewise.
4094 * remote-mm.c (mm_wait, mm_resume): Likewise.
4095 * remote-nindy.c (nindy_wait, nindy_resume): Likewise.
4096 * remote-os9k.c (rombug_wait, rombug_resume): Likewise.
4097 * remote-rdi.c (arm_rdi_wait, arm_rdi_resume): Likewise.
4098 * remote-rdp.c (remote_rdp_resume, remote_rdp_wait): Likewise.
4099 * remote-sds.c (sds_wait, sds_resume): Likewise.
4100 * remote-sim.c (gdbsim_wait, gdbsim_resume): Likewise.
4101 * remote-st.c (st2000_wait, st2000_resume): Likewise.
4102 * remote-udi.c (udi_wait, udi_resume): Likewise.
4103 * remote-vx.c (vx_wait, vx_resume): Likewise.
4104 * remote.c (remote_current_thread, remote_resume, remote_wait)
4105 (remote_async_resume, remote_async_wait, remote_cisco_wait)
4106 (remote_thread_alive): Likewise.
4107 * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_resume)
4108 (sol_thread_wait, sol_thread_notice_signals, sol_thread_alive)
4109 (solaris_pid_to_str): Likewise.
4110 * symm-nat.c (child_wait, child_resume): Likewise.
4111 * target.c (debug_to_resume, debug_to_wait, debug_to_post_wait)
4112 (debug_to_notice_signals, debug_to_thread_alive)
4113 (normal_target_post_startup_inferior, normal_pid_to_str)
4114 (debug_to_post_startup_inferior): Likewise.
4115 * target.h (to_resume, to_wait, to_post_wait)
4116 (to_post_startup_inferior, to_notice_signals, to_thread_alive)
4117 (to_pid_to_str [all in struct target_ops]): Likewise.
4118 (child_post_wait, child_thread_alive, normal_pid_to_str): Likewise.
4119 * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait)
4120 (attach_thread, detach_thread, thread_db_resume, check_event)
4121 (thread_db_post_startup_inferior, thread_db_thread_alive)
4122 (thread_db_pid_to_str): Likewise.
4123 * thread.c (add_thread, delete_thread, find_thread_pid)
4124 (pid_to_thread_id, in_thread_list, load_infrun_state)
4125 (save_infrun_state, switch_to_thread, restore_current_thread)
4126 (make_cleanup_restore_current_thread): Likewise.
4127 * top.c (target_wait_hook): Likewise.
4128 * uw-thread.c (dbgpid, thr_to_lwp, lwp_to_thr, add_thread_uw)
4129 (uw_thread_resume, libtrhead_stub, uw_thread_wait, uw_thread_alive)
4130 (uw_thread_pid_to_str): Likewise.
4131 * v850ice.c (v850ice_wait, v850ice_resume): Likewise.
4132 * win32-nat.c (child_wait, child_resume, win32_child_thread_alive)
4133 (cywin_pid_to_str): Likewise.
4134 * wince.c (child_wait, child_resume, win32_child_thread_alive):
4135 Likewise.
4136 * config/nm-linux.h (linuxthreads_pid_to_str): Likewise.
4137 * config/nm-lynx.h (child_wait, lynx_pid_to_str): Likewise.
4138 * config/alpha/nm-linux.h (lin_lwp_attach_lwp): Likewise.
4139 * config/arm/nm-linux.h (lin_lwp_attach_lwp): Likewise.
4140 * config/h8500/tm-h8500.h (h8500_read_pc, h8500_write_pc): Likewise.
4141 * config/i386/nm-i386sol2.h (procfs_stopped_by_watchpoint)
4142 (procfs_set_watchpoint): Likewise.
4143 * config/i386/nm-linux.h (lin_lwp_attach_lwp): Likewise.
4144 * config/i386/nm-ptx4.h (child_wait): Likewise.
4145 * config/i386/nm-symmetry.h (child_wait): Likewise.
4146 * config/i386/tm-cygwin.h (cygwin_pid_to_str): Likewise.
4147 * config/ia64/nm-linux.h (ia64_linux_stopped_by_watchpoint)
4148 (ia64_linux_insert_watchpoint, ia64_linux_remove_watchpoint)
4149 (lin_lwp_attach_lwp): Likewise.
4150 * config/mips/nm-irix4.h, config/mips/nm-irix5.h
4151 (procfs_stopped_by_watchpoint, procfs_set_watchpoint): Likewise.
4152 * config/pa/nm-hppah.h (child_pid_to_str, hppa_tid_to_str)
4153 (hppa_pid_or_tid_to_str): Likewise.
4154 * config/pa/tm-hppa.h (target_read_pc, target_write_pc): Likewise.
4155 * config/powerpc/nm-linux.h (lin_lwp_attach_lwp): Likewise.
4156 * config/sparc/nm-sun4sol2.h (procfs_stopped_by_watchpoint)
4157 (procfs_set_watchpoint): Likewise.
4158
4159 * gdbthread.h (thread_id_to_pid): Change return type which
4160 represents a combined process/thread id from ``int'' to
4161 ``ptid_t''.
4162 * gnu-nat.c (gnu_wait): Likewise.
4163 * go32-nat.c (go32_wait): Likewise.
4164 * hpux-thread.c (hpux_thread_wait): Likewise.
4165 * inferior.h (procfs_first_available): Likewise.
4166 * inftarg.c (child_wait): Likewise.
4167 * infttrace.c (ptrace_wait): Likewise.
4168 * lin-lwp.c (lin_lwp_wait): Likewise.
4169 * lin-thread.c (thread_db_wait): Likewise.
4170 * linux-thread.c (linuxthreads_wait): Likewise.
4171 * lynx-nat.c (child_wait): Likewise.
4172 * m3-nat.c (mach_really_wait): Likewise.
4173 * mac-nat.c (child_wait): Likewise.
4174 * monitor.c (monitor_wait): Likewise.
4175 * ppc-bdm.c (bdm_ppc_wait): Likewise.
4176 * procfs.c (do_attach, procfs_wait, procfs_first_available): Likewise.
4177 * remote-adapt.c (adapt_wait): Likewise.
4178 * remote-array.c (array_wait): Likewise.
4179 * remote-bug.c (bug_wait): Likewise.
4180 * remote-e7000.c (e7000_wait): Likewise.
4181 * remote-eb.c (eb_wait): Likewise.
4182 * remote-es.c (es1800_wait): Likewise.
4183 * remote-mips.c (mips_wait): Likewise.
4184 * remote-mm.c (mm_wait): Likewise.
4185 * remote-nindy.c (nindy_wait): Likewise.
4186 * remote-os9k (rombug_wait): Likewise.
4187 * remote-rdi.c (arm_rdi_wait): Likewise.
4188 * remote-rdp.c (remote_rdp_wait): Likewise.
4189 * remote-sds.c (sds_wait): Likewise.
4190 * remote-sim.c (gdbsim_wait): Likewise.
4191 * remote-st.c (st2000_wait): Likewise.
4192 * remote-udi.c (udi_wait): Likewise.
4193 * remote-vx.c (vx_wait): Likewise.
4194 * remote.c (remote_wait, remote_async_wait, remote_current_thread)
4195 (remote_cisco_wait): Likewise.
4196 * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_wait):
4197 Likewise.
4198 * symm-nat.c (child_wait): Likewise.
4199 * target.c (debug_to_wait): Likewise.
4200 * target.h (to_wait [in struct target_ops]): Likewise.
4201 * thread.c (thread_id_to_pid): Likewise.
4202 * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait):
4203 Likewise.
4204 * top.c (*target_wait_hook): Likewise.
4205 * uw-thread.c (lwp_to_thr, uw_thread_wait): Likewise.
4206 * v850ice.c (v850ice_wait): Likewise.
4207 * win32-nat.c (child_wait): Likewise.
4208 * wince.c (child_wait): Likewise.
4209 * config/nm-lynx.h (child_wait): Likewise.
4210 * config/i386/nm-ptx4.h (child_wait): Likewise.
4211 * config/i386/nm-symmetry.h (child_wait): Likewise.
4212
4213 * arch-utils.c (generic_prepare_to_proceed): Rename wait_pid
4214 to wait_ptid and change its type from ``int'' to ``ptid_t''.
4215 * breakpoint.c (reattach_breakpoints, detach_breakpoints): Likewise,
4216 but rename saved_inferior_pid to saved_inferior_ptid.
4217 * d10v-tdep.c (d10v_read_pc, d10_write_pc): Likewise, but rename
4218 save_pid to save_ptid.
4219 * gdbthread.h (struct thread_info): Likewise, but rename pid to ptid.
4220 * hppah-nat.c (child_pid_to_exec): Likewise, but rename
4221 saved_inferior_pid to saved_inferior_ptid.
4222 * hpux-thread.c (main_ptid): Likewise, but rename from main_pid.
4223 * infrun.c (previous_inferior_pid [static global]): Likewise,
4224 but rename to previous_inferior_ptid.
4225 (resume): Likewise, but rename resume_pid to resume_ptid.
4226 (struct execution_control_state): Likewise, but rename
4227 pid to ptid, saved_inferior_pid to saved_inferior_ptid,
4228 and waiton_pid to waiton_ptid.
4229 (target_last_wait_pid): Likewise, but rename to
4230 target_last_wait_ptid.
4231 * infttrace.c (saved_real_pid): Likewise, but rename to
4232 saved_real_ptid.
4233 (child_pid_to_exec_file): Likewise, but rename saved_inferior_pid
4234 to saved_inferior_ptid.
4235 * lin-lwp.c (struct lwp_info): Likewise, but rename pid to ptid.
4236 (trap_ptid): Likewise, but renamed from trap_pid.
4237 * lin-thread.c (handle_new_thread): Likewise, but rename gdb_pid
4238 to gdb_ptid.
4239 * linux-thread.c (detach_thread): Likewise, but rename pid to ptid.
4240 (thread_db_wait): Likewise, but rename ret_pid to retptid.
4241 * procfs.c (procfs_wait): Likewise, for retval whose name
4242 doesn't change. Also, ``temp'' becomes two separate variables,
4243 one named temp_tid (an int) and the other temp_ptid.
4244 (procfs_notice_thread): Likewise (type change) for gdb_threadid
4245 whose name does not change.
4246 * regcache.c (registers_ptid): Likewise, but renamed from
4247 registers_pid.
4248 (read_register_pid, read_signed_register_pid, write_register_pid):
4249 Likewise, but rename save_pid to save_ptid.
4250 (read_pc_pid, write_pc_pid): Likewise, but rename saved_inferior_pid
4251 to saved_inferior_ptid.
4252 * remote.c (remote_newthread_step): Likewise, but rename pid to ptid.
4253 * sol-thread.c (struct ps_prochandle): Likewise.
4254 (sol_thread_resume): Likewise, for save_pid which becomes save_ptid.
4255 (sol_thread_wait): Likewise, for rtnval whose name does not
4256 change, and for save_pid which becomes save_ptid.
4257 (solaris_pid_to_str): Likewise for lwp whose name does not change.
4258 (sol_find_new_threads_callback): Likewise, for pid which becomes
4259 ptid.
4260 * target.h (target_resume, target_wait, target_post_wait)
4261 (target_post_startup_inferior, target_notice_signals)
4262 (target_thread_alive): Likewise.
4263 * thread.c (info_threads_command): Likewise, but rename
4264 current_pid to current_ptid.
4265 (struct current_thread_cleanup): Likewise, but rename field
4266 inferior_pid to inferior_ptid.
4267 * thread-db.c (find_new_threads_callback): Likewise, but rename
4268 pid to ptid.
4269 * uw-thread.c (thr_to_lwp): Likewise for lid whose name does not
4270 change.
4271 (lwp_to_tr): Likewise fo tid whose name remains unchanged.
4272 (thr_infpid, lwp_infpid, notice_thread, libthread_stub): Likewise,
4273 but rename pid to ptid.
4274 * config/alpha/nm-linux.h (ATTACH_LWP): Likewise.
4275 * config/arm/nm-linux.h (ATTACH_LWP): Likewise.
4276 * config/i386/nm-linux.h (ATTACH_LWP): Likewise.
4277 * config/ia64/nm-linux.h (ATTACH_LWP): Likewise.
4278 * config/pa/nm-hppah.h (target_tid_to_str): Likewise.
4279 * config/powerpc/nm-linux.h (ATTACH_LWP): Likewise.
4280
4281 * arch-utils.c (generic_prepare_to_proceed): Test for the
4282 "zero" ptid by using ptid_equal() to test to see if variable
4283 in question is the same as null_ptid. This replaces a direct
4284 test against zero.
4285 * cxux-nat.c (add_shared_symbol_files): Likewise.
4286 * i386aix-nat.c, i386b-nat.c (i386_float_info): Likewise.
4287 * infcmd.c (run_command): Likewise.
4288 * inflow.c (kill_command): Likewise.
4289 * infttrace.c (call_ttrace): Likewise.
4290 * lin-lwp.c (lin_lwp_prepare_to_proceed): Likewise.
4291 * lin-thread.c (thread_db_kill): Likewise.
4292 * procfs.c (procfs_kill_inferior, procfs_mourn_inferior): Likewise.
4293 * remote-es.c (es1800_kill): Likewise.
4294 * sol-thread.c (sol_thread_create_inferior): Likewise.
4295 * solib.c (locate_base): Likewise.
4296 * target.c (nosupport_runtime): Likewise.
4297 * thread-db.c (thread_db_wait): Likewise.
4298 * top.c (quit_confirm, quit_force): Likewise.
4299 * uw-thread (lwp_infpid, uw_thread_resume): Likewise.
4300
4301 * infrun.c (handle_inferior_event, stop_stepping, normal_stop):
4302 Use ptid_equal to compare value of process/thread ids instead of
4303 ``=='' and ``!='' operators.
4304 lin-lwp.c (delete_lwp, lin_lwp_prepare_to_proceed)
4305 (stop_wait_callback, lin_lwp_wait): Likewise.
4306 * procfs.c (procfs_wait): Likewise.
4307 * regcache.c (read_register_bytes, read_register_gen)
4308 (write_register_gen, read_register, read_register_pid)
4309 (read_signed_register, read_signed_register_pid, write_register)
4310 (write_register_pid, supply_register): Likewise.
4311 * remote-vx.c (vx_resume): Likewise.
4312 * sol-thread.c (sol_thread_wait): Likewise.
4313 * symm-nat.c (kill_inferior): Likewise.
4314 * thread.c (delete_thread, find_thread_pid, pid_to_thread_id)
4315 (in_thread_list, info_threads_command, switch_to_thread)
4316 (restore_current_thread): Likewise.
4317 * uw-thread (libtread_stub): Likewise.
4318
4319 * arm-linux-nat.c (GET_THREAD_ID): Change PID to PTID.
4320
4321 * corelow.c (add_to_thread_list): Convert argument in add_thread()
4322 call to a ptid_t.
4323 * gnu-nat.c (inf_validate_procs): Likewise.
4324 * linux-thread.c (stop_thread, update_stop_threads): Likewise.
4325 * remote.c (record_currthread, remote_threads_info): Likewise.
4326 * win32-nat.c (child_add_thread): Likewise.
4327
4328 * hpux-thread.c (save_inferior_pid, restore_inferior_pid): Rename,
4329 respectively, to save_inferior_ptid() and restore_inferior_ptid().
4330 Adjust implementations to operate on ``ptid_t'' instead of ``int''.
4331 * lin-lwp.c (save_inferior_pid, restore_inferior_pid): Likewise.
4332 * lin-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
4333 * linux-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
4334 * proc-service.c (save_inferior_pid, restore_inferior_pid): Likewise.
4335 * sol-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
4336 * thread-db.c (save_inferior_pid, restore_inferior_pid): Likewise.
4337
4338 * infrun.c (RESUME_ALL): New macro representing the -1 ptid
4339 to be passed to target_resume() when all threads should resume.
4340 (resume): Set resume_ptid to RESUME_ALL rather than -1.
4341 (handle_inferior_event): Invoke target_resume() with RESUME_ALL
4342 instead of -1.
4343 * irix5-nat.c (solib_create_inferior_hook): Convert -1 to
4344 a ptid_t in target_resume() call.
4345 * osfsolib.c (solib_create_inferior_hook): Likewise.
4346 * solib-svr4.c (solib_create_inferior_hook): Likewise.
4347
4348 * lin-lwp.c (PIDGET, PIDGET0): Rename original PIDGET macro to
4349 PIDGET0. Define new PIDGET macro which uses PIDGET0, the only
4350 difference being that the 0xffff pattern will be interpreted
4351 as -1.
4352 * lin-thread.c (PIDGET, PIDGET0): Likewise.
4353 * thread-db.c (PIDGET, PIDGET0): Likewise.
4354 * config/nm-linux.h (PIDGET, PIDGET0): Likewise.
4355 * config/i386/tm-i386sol2.h (PIDGET, PIDGET0): Likewise.
4356 * config/i386/tm-i386v42mp.h (PIDGET, PIDGET0): Likewise.
4357 * config/sparc/tm-sun4sol2.h (PIDGET, PIDGET0): Likewise.
4358
4359 * m3-nat.c (init_m3_ops): Fix typo; initialize to_wait field to
4360 mach_really_wait rather than mach_really__wait.
4361 * lin-thread.c (check_for_thread_event): Fix warning; make function
4362 actually return a value.
4363
4364 * gdbarch.sh (TARGET_READ_PC, TARGET_WRITE_PC): Change type of
4365 ``pid'' arguments from ``int'' to ``ptid_t''. Also renamed
4366 pid to ptid.
4367 * gdbarch.h, gdbarch.c: Regenerated.
4368
31e28849
JL
43692001-05-03 Jonathan Larmour <jlarmour@redhat.com>
4370
4371 * rdi-share/devsw.c: Include <time.h> for struct tm
4372
8d341142
EZ
43732001-05-03 Eli Zaretskii <eliz@is.elta.co.il>
4374
4375 * config/djgpp/fnchange.lst: Add mappings for the new
4376 opcodes/openrisc-* files.
4377
9572d2b6
MS
43782001-05-01 Michael Snyder <msnyder@redhat.com>
4379
9085700c 4380 * lin-lwp.c: Change printf to fprintf_unfiltered.
9572d2b6
MS
4381 * Makefile.in: Add rules for thread-db.o, lin-lwp.o, proc-service.o.
4382
977adac5
ND
43832001-05-01 Nicholas Duffek <nsd@redhat.com>
4384
4385 * config/rs6000/tm-rs6000.h (IN_SOLIB_RETURN_TRAMPOLINE): Define.
4386 (rs6000_in_solib_return_trampoline): Declare.
4387 * rs6000-tdep.c (rs6000_in_solib_return_trampoline): New
4388 function.
4389 (rs6000_skip_trampoline_code): Skip bigtoc fixup code.
4390 * xcoffread.c (read_xcoff_symtab): Perform the ISFCN function
4391 check after the CSECT check rather than before it. Allocate
4392 separate symtabs for CSECTs whose names begin with '@'.
4393 (scan_xcoff_symtab): Don't ignore symbols beginning with '@'.
4394 Activate the misc_func_recorded mechanism for whose names begin
4395 with '@'.
4396
6d799331
C
43972001-04-30 J.T. Conklin <jtc@redback.com>
4398
4399 * ppcnbsd-nat.c (fetch_inferior_registers)
4400 (store_inferior_registers, fetch_core_registers): Changed to use
4401 fpreg[] instead of r_regs[] to access floating point registers.
4402
7f4dbe94
EZ
44032001-04-30 Elena Zannoni <ezannoni@redhat.com>
4404
4405 * sh-tdep.c: Get rid of the function prototypes.
4406 (sh_sh4_build_float_register_type): Move earlier in file.
4407 (fv_reg_base_num): Ditto.
4408 (dr_reg_base_num): Ditto.
4409
540af400
MS
44102001-04-30 Michael Snyder <msnyder@redhat.com>
4411
4412 * thread-db.c: Revert 2001-04-26 change for debugging output.
7ca673cd
MS
4413 * lin-lwp.c: Ditto.
4414 * lin-lwp.c: Add set/show debug lin-lwp command. Use this
4415 command to turn extra debugging output on / off.
540af400 4416
f5a6fc05
EZ
44172001-04-30 Eli Zaretskii <eliz@is.elta.co.il>
4418
4419 * buildsym.c (start_subfile): Use FILENAME_CMP instead of STREQ.
4420 (top-level): #include filenames.h.
4421
4422 * dwarf2read.c (dwarf2_start_subfile): Use IS_ABSOLUTE_PATH and
4423 FILENAME_CMP, to DTRT on non-Posix platforms.
4424 (top-level): #include filenames.h.
4425
4426
502dcf4e
AC
44272001-04-27 Andrew Cagney <ac131313@redhat.com>
4428
4429 * gdbtypes.c (check_stub_method): Always initialize ``p''.
4430
cc3f9cbb
AC
44312001-04-27 Andrew Cagney <ac131313@redhat.com>
4432
4433 * configure.host: Delete romp host.
4434 * TODO: Update.
4435
ed9c5cf2
AC
44362001-04-27 Andrew Cagney <ac131313@redhat.com>
4437
4438 * TODO: Updates to 5.1. No more targets to obsolete.
4439
d1a310e7
DH
44402001-04-27 Don Howard <dhoward@redhat.com>
4441
128437e6
DH
4442 (Changes from Kevin Buettner, with minor update by Don Howard.)
4443
4444 * i387-nat.c (i387_supply_fxsave, i387_fill_fxsave, i387_tag): Fix
4445 typos in which hexadecimal constants were really intended to be
4446 binary constants.
4447 (i387_tag): Swap logic regarding zero vs non-zero exponents.
d1a310e7
DH
4448 * MAINTAINERS (Misc): Added myself to the write-after-approval
4449 list.
4450
015a42b4
JB
44512001-04-26 Jim Blandy <jimb@redhat.com>
4452
4453 (Changes from Daniel Berlin, with revisions by Jim Blandy.)
4454
4455 Abstract out operations specific to particular C++ ABI's, and
4456 invoke them through a function table. This removes the C++ ABI
4457 dependencies scattered throughout the code, and allows us to
4458 cleanly add support for new C++ ABI's.
4459 * cp-abi.h, cp-abi.h, gnu-v2-abi.c, hpacc-abi.c: New files.
4460 * c-typeprint.c, c-valprint.c, dbxread.c, eval.c, gdbtypes.c,
4461 jv-typeprint.c, linespec.c, symtab.c, typeprint.c, valops.c:
4462 #include "cp-abi.h". These files all use functions now declared
4463 there.
4464 * symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P):
4465 Deleted. These services are now provided by functions declared in
4466 cp-abi.h.
4467 * value.h (value_rtti_type, value_virtual_fn_field): Same.
4468 * values.c (value_virtual_fn_field): Same, for this definition.
4469 * valops.c (value_rtti_type): Same.
4470 * c-typeprint.c (c_type_print_base): Use the functions from
4471 "cp-abi.h", instead of the old macros, or hard-coded ABI-specific
4472 tests.
4473 * dbxread.c (record_minimal_symbol): Same.
4474 * gdbtypes.c (get_destructor_fn_field, virtual_base_index,
4475 virtual_base_index_skip_primaries): Same.
4476 * jv-typeprint.c (java_type_print_base): Same.
4477 * linespec.c (find_methods, decode_line_1): Same.
4478 * symtab.c (gdb_mangle_name): Same.
4479 * Makefile.in (SFILES): Add the new .c files mentioned above.
4480 (cp_abi_h): New variable.
4481 (COMMON_OBS): Add gnu-v2-abi.o, hpacc-abi.o, and cp-abi.o.
4482 (cp-abi.o, gnu-v2-abi.o, hpacc-abi.o): New targets.
4483 (c-typeprint.o, c-valprint.o, dbxread.o, eval.o, gdbtypes.o,
4484 jv-typeprint.o, symtab.o, linespec.o, typeprint.o, valops.o): Add
4485 dependency on $(cp_abi_h).
4486
f3fb8c85
MS
44872001-04-26 Michael Snyder <msnyder@redhat.com>
4488
20b8570d
MS
4489 * thread-db.c (_initialize_thread_db): Add set/show command
4490 "debug-linux-threads" for debugging output.
4491 * lin-lwp.c (various): Use global "debug_linux_threads to
4492 turn on extra debugging output.
4c8de859 4493 * lin-lwp.c: Minor cleanups in comments.
f3fb8c85
MS
4494 * target.c (normal_pid_to_str): Get rid of an ancient hack.
4495 * remote.c (remote_pid_to_str): New function for remote target.
4496
7f0b5c30
JB
44972001-04-24 Jim Blandy <jimb@redhat.com>
4498
4499 * c-typeprint.c (c_type_print_cv_qualifier): Don't print `const'
4500 qualifier on C++ references; all references are innately const.
4501
0af5533d
MK
45022001-04-20 Mark Kettenis <kettenis@gnu.org>
4503
4504 * event-top.h: Fix formatting.
4505
d036b4d9
AC
45062001-04-17 Andrew Cagney <ac131313@redhat.com>
4507
4508 * source.c (openp): Obsolete #ifdef MPW code.
4509 (open_source_file): Ditto.
4510 * event-top.c (display_gdb_prompt): Ditto.
4511 * utils.c (query): Ditto.
4512 (init_page_info): Ditto.
4513 (init_page_info): Delete #ifndef MPW.
4514 * top.c (gdb_readline): Ditto.
4515 * mac-xdep.c: Obsolete.
4516 * mac-gdb.r: Obsolete.
4517 * config/powerpc/xm-mpw.h: Obsolete.
4518 * config/xm-mpw.h: Obsolete.
4519 * mpw-make.sed: Obsolete.
4520 * mpw-config.in: Obsolete.
4521 * TODO: Update
4522 * NEWS: Update
4523
539ffe0b
MK
45242001-04-19 Mark Kettenis <kettenis@gnu.org>
4525
4526 * i386-tdep.c (i386_frameless_function_invocation): New function.
4527 * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION): Redefine
4528 in terms of i386_frameless_function_invocation. Adjust comment.
4529 (i386_frameless_function_invocation): New prototype.
4530
67e1e03a
MH
45312001-04-18 Martin M. Hunt <hunt@redhat.com>
4532
4533 * top.c (gdb_init): Don't call cli_out_new() to
4534 create global uiout if init_ui_hook is set. uiout will
4535 have to be initialized there.
4536
fbec36e2
AC
45372001-04-18 Andrew Cagney <ac131313@redhat.com>
4538
4539 * arch-utils.c: Include "regcache.h".
4540
ed84f6c1
MK
45412001-04-18 Mark Kettenis <kettenis@gnu.org>
4542
4543 * i386-tdep.c (i386_saved_pc_after_call): New function.
4544 * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Redefine in terms
4545 of i386_saved_pc_after_call.
4546 (i386_saved_pc_after_call): New prototype.
4547
c60a7562
MS
45482001-04-17 Michael Snyder <msnyder@redhat.com>
4549
c9e030cf 4550 * i386-nat.c: Fix typo in comment.
c60a7562
MS
4551 * solib.c (no_shared_libraries): New function. Discard all symbols
4552 from shared libraries.
4553 (_initialize_solib): Add command "nosharedlibrary" as complement
4554 to the command "sharedlibrary". Unloads symbols for all solibs.
4555
514e603d
AC
45562001-04-16 Andrew Cagney <ac131313@redhat.com>
4557
4558 * configure.host (m68030-sony-*, m68*-isi-*, m68*-sony-*):
4559 * configure.tgt (m68*-rom68k-*, m68*-*bug-*, m68*-monitor-*)
4560 (m68*-est-*, m68*-sony-*, m68*-isi-*):
4561 * Makefile.in (xm-news1000.h, tm-news.h, xm-news.h): Obsolete..
4562 * config/m68k/xm-news.h: Obsolete.
4563 * config/m68k/tm-news.h:
4564 * config/m68k/xm-news1000.h: Obsolete.
4565 * config/m68k/news.mh: Obsolete.
4566 * config/m68k/news.mt: Obsolete.
4567 * config/m68k/nm-news.h: Obsolete.
4568 * config/m68k/news1000.mh: Obsolete.
4569 * news-xdep.c: Obsolete.
4570 * Makefile.in (isi-xdep.o): Obsolete.
4571 (ALLDEPFILES): Delete isi-xdep.c.
4572 (tm-isi.h): Obsolete.
4573 * m68k-tdep.c (altos_skip_prologue): Update comments.
4574 (isi_skip_prologue): Obsolete.
4575 * isi-xdep.c: Obsolete.
4576 * config/m68k/xm-isi.h: Obsolete.
4577 * config/m68k/isi.mh: Obsolete.
4578 * config/m68k/tm-isi.h: Obsolete.
4579 * config/m68k/isi.mt: Obsolete.
4580
4581 * TODO: Update.
4582 * NEWS: Update.
4583
6240bebf
MS
45842001-04-17 Michael Snyder <msnyder@redhat.com>
4585
4586 * remote.c (remote_open_1): On opening the remote target, activate
4587 the solib_create_inferior_hook, so that it can detect when the
4588 target loads shared libraries.
4589 (remote_async_open_1): Ditto.
4590
75ac9d7b
MS
45912001-04-17 Michael Snyder <msnyder@redhat.com>
4592
4593 * breakpoint.c (print_one_breakpoint): Handle 64-bit addresses.
4594 * tracepoint.c (tracepoints_info): Handle 64-bit addresses.
4595 * testsuite/gdb.trace/deltrace.exp: Allow for 64-bit addresses.
4596 * testsuite/gdb.trace/infotrace.exp: Ditto.
4597 * testsuite/gdb.trace/passcount.exp: Ditto.
4598 * testsuite/gdb.trace/while-stepping.exp: Ditto.
4599
b9569773
MS
46002001-04-17 Michael Snyder <msnyder@redhat.com>
4601
4602 * thread-db.c (check_thread_signals): When looping over all
4603 signals, ignore signal zero.
4604 (disable_thread_signals): Ditto.
4605
81490ea1
MS
46062001-04-17 Eirik Fuller <eirik@netapp.com>
4607
4608 * thread.c (do_captured_thread_select): Allow the argument to the
4609 thread command to be an expression rather than a literal integer.
4610
e5434c3d
MK
46112001-04-17 Mark Kettenis <kettenis@gnu.org>
4612
4613 * i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
4614 read_memory_unsigned_integer instead of read_memory_integer.
4615
00c7912d
KB
46162001-04-16 Kevin Buettner <kevinb@redhat.com>
4617
4618 * solib-aix5.c (map_index_vs_section_name_okay): New function.
4619 (aix5_relocate_main_executable): Don't use file offsets for
4620 determining corresponding sections and map file entries. Call
4621 map_index_vs_section_name_okay() to do this instead.
4622
4d1bcd09
KB
46232001-04-16 Kevin Buettner <kevinb@redhat.com>
4624
4625 * procfs.c (open_with_retry): New function.
4626 (open_procinfo_files, load_syscalls, proc_iterate_over_mappings)
4627 (proc_get_LDT_entry): Call open_with_retry() instead of open().
4628
097e5c0b 46292001-04-16 Kevin Buettner <kevinb@redhat.com>
1186f287
KB
4630
4631 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Adjust
4632 comparison against TRAP_HWBKPT constant yet again to account
4633 for the various values used by different kernel versions.
4634
9e0c176c
DB
46352001-04-16 Daniel Berlin <dan@cgsoftware.com>
4636
4637 * demangle.c (_initialize_demangler): Use xcalloc on the
4638 demangling_style_names, and make it a null terminated array of
4639 names, to avoid a crash.
4640
c833a37e
MK
46412001-04-16 Mark Kettenis <kettenis@gnu.org>
4642
4643 * i386-tdep.c (i386_frame_chain): New function.
4644 * config/i386/tm-i386.h (FRAME_CHAIN): Redefine in terms of
4645 i386_frame_chain.
4646 (i386_frame_chain): New prototype.
4647
46c6cdcf
C
46482001-04-14 J.T. Conklin <jtc@redback.com>
4649
4650 * target.h (target_ops): Removed to_core_file_to_sym_file vector
4651 function.
4652 * corelow.c (core_ops): Updated for above change.
4653 * gnu-nat.c (core_ops): Likewise.
4654 * inftarg.c (child_ops): Likewise.
4655 * monitor.c (monitor_ops): Likewise.
4656 * ppc-bdm.c (bdm_ppc_ops): Likewise.
4657 * remote-adapt.c (adapt_ops): Likewise.
4658 * remote-bug.c (bug_ops): Likewise.
4659 * remote-e7000.c (e7000_ops): Likewise.
4660 * remote-eb.c (eb_ops): Likewise.
4661 * remote-es.c (es1800_ops, es1800_child_ops): Likewise.
4662 * remote-mm.c (mm_ops): Likewise.
4663 * remote-nindy.c (nindy_ops): Likewise.
4664 * remote-nrom.c (nrom_ops): Likewise.
4665 * remote-os9k.c (rombug_ops): Likewise.
4666 * remote-rdp.c (remote_rdp_ops): Likewise.
4667 * remote-sim.c (gdbsim_ops): Likewise.
4668 * remote-st.c (st2000_ops): Likewise.
4669 * v850ice.c (v850ice_ops): Likewise.
4670 * target.c (cleanup_target): Likewise
4671 (update_current_target): Likewise.
4672 (setup_target_debug): Likewise
4673 (debug_to_core_file_to_sym_file): Removed.
4674
4675 * corefile.c (core_file_command) [HPUXHPPA]: Removed code that
4676 sets symbol file from information obtained from the core file.
4677 * corelow.c (core_file_to_sym_file): Removed.
4678
d1566ff5
FN
46792001-04-13 Fernando Nasser <fnasser@redhat.com>
4680
4681 From Adam Mirowski <Adam.Mirowski@Sun.COM>
4682 Fixed Insight on Solaris. It was not possible to debug a process
4683 because of EINTR "errors".
4684 * procfs.c: (procfs_wait): if proc_wait_for_stop() fails
4685 with EINTR, retry the call.
4686
6c98e688
KB
46872001-04-12 Kevin Buettner <kevinb@redhat.com>
4688
4689 * solib-aix5.c (enum maptype): Delete.
4690 (struct lm_info): Add new member ``nmappings''. Make ``mapping''
4691 member a pointer instead of a statically sized array.
4692 (build_so_list_from_mapfile): Dynamically allocate ``mapping''
4693 array.
4694 (aix5_relocate_main_executable, aix5_relocate_section_addresses,
4695 aix5_find_global_pointer): Search for correct mapping to use
4696 based on file offset instead of knowledge of whether the section
4697 is read-only or read/write.
4698 (aix5_find_gate_addresses): Use the first mapping instead of
4699 the (now defunct) MT_READONLY mapping.
4700
49282387
ND
47012001-04-12 Nicholas Duffek <nsd@redhat.com>
4702
4703 * xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
4704 "@".
4705
7f6b83a5
KB
47062001-04-12 Kevin Buettner <kevinb@redhat.com>
4707
4708 * config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.
4709
24f89b68
AC
47102001-04-09 Andrew Cagney <ac131313@redhat.com>
4711
4712 Obsolete i[3456]86-*-sunos* (aka Sun386) host and target.
4713 * config/i386/sun386.mh: Obsolete.
4714 * config/i386/sun386.mt: Obsolete.
4715 * config/i386/xm-sun386.h: Obsolete.
4716 * config/i386/tm-sun386.h: Obsolete.
4717 * config/i386/nm-sun386.h: Obsolete.
4718 * Makefile.in (ALLDEPFILES): Delete sun386-nat.c.
4719 (sun386-nat.o): Target is obsolete.
4720 * sun386-nat.c: Obsolete.
4721 * configure.tgt (i[3456]86-*-sunos*): Obsolete.
4722 * configure.host (i[3456]86-*-sunos*): Obsolete.
4723 * NEWS: Update.
4724 * TODO: Update.
4725
c114dcd5
C
47262001-04-10 J.T. Conklin <jtc@redback.com>
4727
4728 * maint.c: Fix typo in comment.
4729
6755f5ad
KS
47302001-04-09 Keith Seitz <keiths@cygnus.com>
4731
4732 * MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.
4733
7700434b
KB
47342001-04-08 Kevin Buettner <kevinb@redhat.com>
4735
4736 * fork-child.c (fork_inferior, clone_and_follow_inferior):
4737 Document fact that apparent call to vfork() might actually be
4738 a call to fork() instead.
4739 * ser-pipe.c (pipe_open): Likewise.
4740
d493eb33
KB
47412001-04-08 Kevin Buettner <kevinb@redhat.com>
4742
4743 * printcmd.c (print_frame_args): Use a cleanup to invoke
4744 ui_out_list_end() so that the list count nesting flag will
4745 be decremented properly when an error occurs.
4746 * stack.c (print_frame): Likewise.
4747
af471f3c
C
47482001-04-06 J.T. Conklin <jtc@redback.com>
4749
c839c4db
C
4750 * dcache.c (dcache_write_line): Fixed bugs where cache line was
4751 not written to target correctly.
4752
af471f3c
C
4753 * gdbserver/low-hppabsd.c (read_inferior_memory): Add explicit
4754 void return value;
4755 * gdbserver/low-nbsd.c: Likewise.
4756 * gdbserver/low-sparc.c: Likewise.
4757 * gdbserver/low-sun3.c: Likewise.
4758
d8e275b4
GK
47592001-04-06 Geoffrey Keating <geoffk@redhat.com>
4760
4761 * config/rs6000/nm-rs6000.h (PTRACE_ATTACH): Don't define.
4762 (PTRACE_DETACH): Don't define.
4763
e02bc4cc
DS
47642001-04-06 David Smith <dsmith@redhat.com>
4765
4766 * arch-utils.c (default_prepare_to_proceed)
4767 (generic_prepare_to_proceed): Added new functions.
4768 * arch-utils.h: New function declarations for
4769 default_prepare_to_proceed() and generic_prepare_to_proceed().
4770 * gdbarch.sh: Added PREPARE_TO_PROCEED.
4771 * gdbarch.c: Regenerated.
4772 * gdbarch.h: Regenerated.
4773 * inferior.h: Added get_last_target_status() declaration.
4774 * infrun.c (get_last_target_status): Added new function.
4775 (handle_inferior_event): Saves last pid and waitstatus, which will
4776 get returned by get_last_target_status().
4777
4778 * hppa-tdep.c (prepare_to_proceed): Added comment stating that
4779 prepare_to_proceed() is potentially redundant since
4780 default_prepare_to_proceed() has been added.
4781 * linux-thread.c (prepare_to_proceed): Ditto.
4782 * lin-lwp.c (prepare_to_proceed): Ditto.
4783 * m3-nat.c (prepare_to_proceed): Ditto.
4784
1b2b2c16
AC
47852001-04-05 Andrew Cagney <ac131313@redhat.com>
4786
4787 Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
4788 and powerpc-*-netware* target.
4789 * configure.host (powerpcle-*-cygwin*, powerpcle-*-solaris*):
4790 Obsolete.
4791 * configure.tgt (powerpc-*-netware*, powerpcle-*-cygwin*)
4792 (powerpcle-*-solaris*): Obsolete.
4793 * config/powerpc/tm-cygwin.h: Obsolete.
4794 * config/powerpc/cygwin.mt: Obsolete.
4795 * config/powerpc/xm-cygwin.h: Obsolete.
4796 * config/powerpc/cygwin.mh: Obsolete.
4797 * config/powerpc/nm-solaris.h: Obsolete.
4798 * config/powerpc/xm-solaris.h: Obsolete.
4799 * config/powerpc/tm-solaris.h: Obsolete.
4800 * config/powerpc/solaris.mt: Obsolete.
4801 * config/powerpc/tm-ppc-nw.h: Obsolete.
4802 * config/powerpc/ppc-nw.mt: Obsolete.
4803 * TODO: Update.
4804 * NEWS: Update.
4805
063fd668
FN
48062001-04-06 Fernando Nasser <fnasser@redhat.com>
4807
4808 * buildsym.c (record_line): Turn off unused addr bits.
4809
a250df2e
FN
48102001-04-06 Fernando Nasser <fnasser@redhat.com>
4811
4812 From David Deephanphongs <deephan@telocity.com>
4813 * inferior.h: Fix declarations of get_inferior_args and
4814 set_inferior_args, which were missing the trailing 's'.
4815
1fcef334
JH
48162001-04-05 Jeff Holcomb <jeffh@redhat.com>
4817
4818 * monitor.c (monitor_supply_register): Only report an error if we
4819 don't get a valid value.
4820
f032fb6e
EZ
48212001-04-05 Eli Zaretskii <eliz@is.elta.co.il>
4822
4823 * README: Don't mention gdba.el.
4824
0191bed7
EZ
48252001-04-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4826
4827 From Jimmy Guo <guo@cup.hp.com>
4828 * top.c (init_main): set prompt if annotation_level>1,
4829 this is necessary when annotation_level is set to 2 via
4830 --annotate=2 command line option.
4831
4a1968f4
AC
48322001-04-04 Andrew Cagney <ac131313@redhat.com>
4833
4834 Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.
4835 * configure.tgt (a29k-*-sym1*, a29k-*-kern*): Obsolete.
4836 * configure.host (a29k-*-*): Obsolete.
4837 * Makefile.in (ALLDEPFILES): Remove ultra3-nat.c and
4838 ultra3-xdep.c.
4839 (ultra3-nat.o, ultra3-xdep.o): Obsolete.
4840 * config/a29k/tm-ultra3.h: Obsolete.
4841 * config/a29k/ultra3.mt: Obsolete.
4842 * config/a29k/ultra3.mh: Obsolete.
4843 * config/a29k/nm-ultra3.h: Obsolete.
4844 * config/a29k/xm-ultra3.h: Obsolete.
4845 * ultra3-xdep.c: Obsolete.
4846 * ultra3-nat.c: Obsolete.
4847 * config/a29k/a29k-kern.mt: Obsolete.
4848 * NEWS: Update.
4849 * TODO: Update.
4850
608506ed
CF
4851Wed Apr 4 21:48:42 2001 Christopher Faylor <cgf@cygnus.com>
4852
4853 * main.c: Remove windows.h use.
4854 (gdbtk_test): Use PATH_MAX for home var calculation.
4855 * remote-e7000.c (e7000_parse_device): Accomodate Cygwin as well as
4856 Win32 in colon test.
4857 * ser-tcp.c: Use modern __CYGWIN__ conditional.
4858 * source.c (mod_path): Add __CYGWIN__ conditional to WIN32 test.
4859 (openp): Ditto.
4860 * symfile.c (symfile_bfd_open): Ditto.
608506ed 4861
6457bd47
MH
48622001-04-04 Martin M. Hunt <hunt@redhat.com>
4863
4864 * main.c (captured_main): For GDBtk, don't use tui_fileopen().
4865 Handle all stream setup in gdbtk_init
4866
3df1b9b4
MK
48672001-04-04 Mark Kettenis <kettenis@gnu.org>
4868
4869 * i386-tdep.c (i386_extract_return_value): Don't return the return
4870 value of a void function.
4871 (i386_store_return_value): Likewise.
4872
76f4ea53
AC
48732001-04-03 Andrew Cagney <ac131313@redhat.com>
4874
4875 Obsolete w65-*-* target.
4876 * configure.tgt (w65-*-*): Obsolete.
4877 * config/w65/w65.mt: Obsolete.
4878 * config/w65/tm-w65.h: Obsolete.
4879 * w65-tdep.c: Obsolete.
4880 * NEWS: Update. Fix TiC80 description.
4881 * TODO: Update.
4882
52071915
AC
48832001-04-03 Andrew Cagney <ac131313@redhat.com>
4884
4885 Obsolete tic80-*-* target.
4886 * configure.tgt (tic80-*-*): Obsolete.
4887 * config/tic80/tic80.mt: Obsolete.
4888 * config/tic80/tm-tic80.h: Obsolete.
4889 * tic80-tdep.c: Obsolete.
4890 * TODO: Update
4891 * NEWS: Update.
4892
44eaed12
C
48932001-04-02 J.T. Conklin <jtc@redback.com>
4894
ba79cc81
C
4895 * remote-mips.c (S_IROTH): Moved definition from here.
4896 * gdb_stat.h (S_IROTH): to here.
4897
44eaed12
C
4898 * remote.c (remote_protocol_e, remote_protocol_E): Define.
4899 (set_remote_protocol_e_packet_cmd)
4900 (set_remote_protocol_E_packet_cmd)
4901 (show_remote_protocol_e_packet_command)
4902 (show_remote_protocol_E_packet_command): New functions.
4903 (init_all_packet_configs): Initialize remote_protocol_e and
4904 remote_protocol_E.
4905 (remote_resume, remote_async_resume): Support e/E command
4906 packets.
4907 (show_remote_cmd): Show state of remote_protocol_e and
4908 remote_protocol_E.
4909 (_initialize_remote): Add "set remote step-over-range-packet"
4910 and "set remote step-over-range-w-signal-packet" to CLI.
4911
bb19ff3b
AC
49122001-04-01 Andrew Cagney <ac131313@redhat.com>
4913
4914 Obsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* and
4915 ns32k-utek-*.
4916 * Makefile.in (ALLDEPFILES): Delete umax-xdep.c and ns32km3-nat.c.
4917 (umax-xdep.o, ns32km3-nat.o): Obsolete.
4918 * configure.tgt (ns32k-*-mach3*, ns32k-utek-sysv*, ns32k-utek-*):
4919 Obsolete.
4920 * configure.host (ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv*):
4921 Obsolete.
4922 * config/ns32k/merlin.mh: Obsolete.
4923 * config/ns32k/merlin.mt: Obsolete.
4924 * config/ns32k/xm-merlin.h: Obsolete.
4925 * config/ns32k/tm-merlin.h: Obsolete.
4926 * config/ns32k/nm-umax.h: Obsolete.
4927 * config/ns32k/umax.mh: Obsolete.
4928 * config/ns32k/umax.mt: Obsolete.
4929 * config/ns32k/xm-umax.h: Obsolete.
4930 * umax-xdep.c: Obsolete.
4931 * config/ns32k/ns32km3.mh: Obsolete.
4932 * config/ns32k/ns32km3.mt: Obsolete.
4933 * config/ns32k/tm-ns32km3.h: Obsolete.
4934 * config/ns32k/xm-ns32km3.h: Obsolete.
4935 * ns32km3-nat.c: Obsolete.
4936 * ns32k-tdep.c (merlin_skip_prologue): Obsolete.
4937 (merlin_frame_num_args): Ditto.
4938 * NEWS: Update.
4939 * TODO: Update.
4940
d6259d75
EZ
49412001-04-02 Eli Zaretskii <eliz@is.elta.co.il>
4942
4943 * config/djgpp/fnchange.lst: Tweak due to
4944 expect/example/chesslib.c.
4945
971ff545
KB
49462001-04-02 Kevin Buettner <kevinb@redhat.com>
4947
4948 * m88k-tdep.c (examine_prologue): Change type of ``insn'' from
4949 unsigned int to unsigned long. Also, fix format string.
4950 (pop_frame): Fix PC_IN_CALL_DUMMY() call so that it doesn't
4951 use an undeclared variable. Also, delete declaration and
4952 initialization of ``fp'' because it is otherwise unused.
4953 * remote-bug.c (sleep): Delete declaration.
4954 (bug_store_register, bug_write_memory, bug_read_memory)
4955 (bug_insert_breakpoint, bug_remove_breakpoint): Fix sprintf()
4956 format statements and cast certain sprintf() arguments to
4957 eliminate warnings.
4958 (bug_load): Likewise for call to printf_filtered().
4959 * config/m88k/tm-m88k.h (FIX_CALL_DUMMY): Eliminate
4960 assignment to ``pc''. The necessary assignment is done in
4961 hand_function_call() after the invocation of FIX_CALL_DUMMY().
4962
4e4f46a1
DB
49632001-03-20 Daniel Berlin <dberlin@redhat.com>
4964
4965 * symtab.c (completion_list_add_name): Remove duplicate string checks,
4966 readline already does this, and it's much faster at it, too.
4967
ba8629a9
EZ
49682001-04-01 Eli Zaretskii <eliz@is.elta.co.il>
4969
4970 * go32-nat.c: Minor tweaks, to pacify the ari script.
4971
7bf0983e
MK
49722001-04-01 Mark Kettenis <kettenis@gnu.org>
4973
f7af9647
MK
4974 * i386-tdep.c (i386_extract_struct_value_address): New function.
4975 * config/i386/tm-i386.h (EXTRACT_STRUCT_VALUE_ADDRESS): Redefine
4976 in terms of i386_extract_struct_value_address.
4977 (i386_extract_struct_value_address): New prototype.
4978
7bf0983e
MK
4979 * i386-linux-nat.c (i386_linux_dr_get): Change type of return
4980 value to `unsigned long'. Change type of `value' to `unsigned
4981 long'.
4982 (i386_linux_dr_set): Change type of second argument to `unsigned
4983 long'.
4984 (i386_linux_dr_set_control): Change type of first argument to
4985 `unsigned long'.
4986 (i386_linux_dr_get_status): Change type of return value to
4987 unsigned long.
4988 * config/i386/nm-linux.h (i386_linux_dr_set_control,
4989 i386_linux_dr_get_status): Adjust prototypes accordingly.
4990
6e4862ff
KB
49912001-03-31 Kevin Buettner <kevinb@redhat.com>
4992
4993 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Change
4994 TRAP_HWBKPT constant to match that in the kernel headers for
4995 Linux/IA-64.
521f1f96 4996
1e8d0a7b
MK
49972001-03-31 Mark Kettenis <kettenis@gnu.org>
4998
0afdd437
MK
4999 * i386bsd-nat.c: Include "gdb_assert.h".
5000 [HAVE_PT_GETDBREGS] (DBREG_DRX): Define if not
5001 already defined.
5002 [HAVE_PT_GETDBREGS] (i386bsd_dr_set, i386bsd_dr_set_control,
5003 i386bsd_dr_set_addr, i386bsd_dr_reset_addr,
5004 i386bsd_dr_get_status): New functions.
5005 * config/i386/nm-fbsd.h [HAVE_PT_GETDBREGS]
5006 (I386_USE_GENERIC_WATCHPOINTS): Define.
5007 Include "i386/nm-i386.h".
5008 (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
5009 I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
5010 (i386bsd_dr_set_control, i386bsd_dr_set_addr,
5011 i386bsd_dr_reset_addr, i386bsd_dr_get_status): New prototypes.
5012 * acconfig.h (HAVE_PT_GETDBREGS): New configure macro.
5013 * configure.in: Cleanup a few comments. Check for PT_GETDBREGS
5014 ptrace request.
5015 * config.in, configure: Regenerate.
5016
4bcc3944
MK
5017 * i386-nat.c (i386_insert_aligned_watchpoint): Set address
5018 register before enabling it by setting the control register.
5019 (i386_remove_aligned_watchpoint): Reset address register after
5020 disabling it by setting the control register.
5021
1e8d0a7b
MK
5022 * i386-tdep.c (i386_extract_return_value): If the type of the
5023 return value is TYPE_STRUCT and the number of fields is one, call
5024 ourselves with TYPE set tp the type of the first field.
5025 (i386_store_return_value): Likewise.
5026 This fixes a problem with returning structs consisting of a single
5027 `float' or `double' on *BSD.
5028
95a85621
MK
50292001-03-30 Mark Kettenis <kettenis@gnu.org>
5030
40564aca
MK
5031 * lin-lwp.c (lin_lwp_resume): Don't mark LWP as not stopped until
5032 we're absolutely sure we're going to resume it.
5033
95a85621
MK
5034 * thread-db.c (check_event): Don't report an error if we encounter
5035 a thread creation event for a thread that's already in the thread
5036 list, since that may legitemately happen. Instead only call
5037 attach_thread if it's not already in the thread list.
5038
2e94c453
AC
50392001-03-28 Andrew Cagney <ac131313@redhat.com>
5040
5041 * config/pa/xm-hppah.h (malloc): Really delete declaration
5042 (MALLOC_INCOMPATIBLE): Really delete macro.
5043 * cli/cli-cmds.c (apropos_command): Use xcalloc.
5044
93d56215
AC
50452001-03-28 Andrew Cagney <ac131313@redhat.com>
5046
5047 * configure.in (build_warnings): Add -Wuninitialized.
5048 * configure: Regenerate.
5049
5050 * v850-tdep.c (v850_scan_prologue): Initialize ``insn2''.
5051 * sparc-tdep.c (sparc64_push_arguments): Add default case to
5052 switch.
5053 * sh-tdep.c (sh_do_fp_register): Replace ``?:'' printf format
5054 expression with if statement.
5055 * mn10200-tdep.c (mn10200_analyze_prologue): Initialize
5056 ``stack_size''.
5057 * mips-tdep.c (show_mipsfpu_command): Add default case to switch.
5058 (mips_dump_tdep): Fix setting of ef_mips_arch.
5059 * mcore-tdep.c (mcore_analyze_prologue): Initialize ``fp_regnum''.
5060 * dsrec.c (make_srec): Always initialize ``binbuf''.
5061 * monitor.c (monitor_read_memory_single): Do not pass an
5062 uninitialized buffer to monitor_error. Make ``i'' more local.
5063
381bab78
AC
50642001-03-28 Andrew Cagney <ac131313@redhat.com>
5065
5066 * MAINTAINERS: Change ns32k target to ,-Werror.
5067
5068 * ns32k-tdep.c: Include "gdbcore.h"
5069 (flip_bytes): Change first argument to void*. Add forward
5070 declaration.
5071 (sign_extend): Add declaration.
5072 (merlin_frame_num_args): Add final else clause to if-else chain.
5073 (umax_frame_num_args): Ditto.
5074 * config/ns32k/tm-umax.h (ns32k_localcount): Declare.
5075 (flip_bytes): Ditto.
5076
b9511b9a
MK
50772001-03-28 Mark Kettenis <kettenis@gnu.org>
5078
b05f2432
MK
5079 * i386-linux-tdep.c (FRAMELESS_SIGNAL): Moved here from
5080 config/i386/nm-linux.h (including comment).
5081 (i386_linux_frame_chain): New function implementing guts of the
5082 former FRAME_CHAIN macro, but using read_memory_unsigned_integer
5083 instead of read_memory_integer.
5084 (i386_linux_frame_saved_pc): Removed doc pointing to
5085 i386/tm-linux.h for an explanation of FRAMELESS_SIGNAL since that
5086 now lives in this file.
5087 * config/i386/tm-linux.h (FRAMELESS_SIGNAL): Moved to
5088 i386-linux-tdep.c (including comment).
5089 (FRAME_CHAIN): Redefined in terms of i386_linux_frame_chain.
5090 (i386_linux_frame_chain): New prototype.
5091
0eebe06a
MK
5092 * gdbserver/low-linux.c [I386_GNULINUX_TARGET]: Cleanup code and
5093 make it work again.
5094 (NUM_FREGS): Redefine to 0.
5095 (NUM_REGS): Redefine as NUM_GREGS.
5096 (i386_register_byte, i386_register_raw_size): Update from
5097 i386-tdep.c. Add comment about their origin.
5098 (regmap, register_u_addr): Take these from i386-linux-nat.c.
5099 (i386_register_u_addr): Removed.
5100
b9511b9a
MK
5101 * i386-linux-nat.c (i386_linux_dr_get): Return 0 if ptrace call
5102 fails instead of calling perror_with_name. This should fix
5103 debugging remote i386 targets with a native Linux/x86 GDB. Add
5104 FIXME for this hack.
5105
3172dc30
C
51062001-03-19 J.T. Conklin <jtc@redback.com>
5107
5108 * arch-utils.c (#include "gdbthread.h"): Removed.
5109 (#include "symfile.h"): Removed.
5110 (XMALLOC): Removed unused macro.
5111 * breakpoint.c (tbreak_command): Removed local declaration.
5112 (awatch_command, do_enable_breakpoint, set_breakpoint_count):
5113 Remove duplicate declarations.
5114 (bpstat_should_step, bpstat_have_active_hw_watchpoints)
5115 (remove_solib_event_breakpoints): Fix indentation botch.
5116 * c-typeprint.c (#include "command.h"): Removed.
5117 (#include "gdbcmd.h"): Removed.
5118 * ch-exp.c (ch_terminal_match_float_literal, parse_expr)
5119 (parse_primval, parse_untyped_expr, parse_opt_untyped_expr):
5120 Removed duplicate declarations.
5121 * ch-typeprint.c (#include "command.h"): Removed.
5122 (#include "gdbcmd.h"): Removed.
5123 * corefile.c (#include "frame.h"): Removed
5124 (#include "symfile.h"): Removed.
5125 (#include "language.h"): Removed.
5126 * dbxread.c (#include "command.h"): Removed.
5127 * environ.c (#include "gdbcore.h"): Removed.
5128 * event-loop.c (#include "top.h"): Removed.
5129 * f-typeprint.c (#include "command.h"): Removed.
5130 (#include "gdbcmd.h"): Removed.
5131 (#include "language.h"): Removed.
5132 (#include "typeprint.h"): Removed.
5133 (#include "frame.h"): Removed.
5134 * gdbtypes.h (print_type_scalar): Removed declaration.
5135 * infcmd.c (#include "completer.h"): Removed.
5136 * language.c (#include "frame.h"): Removed.
5137 * m2-typeprint.c (#include "command.h"): Removed.
5138 (#include "gdbcmd.h"): Removed.
5139 (#include "language.h"): Removed.
5140 * m2-valprint.c (#include "valprint.h"): Removed.
5141 * p-typeprint.c (#include "command.h"): Removed.
5142 (#include "gdbcmd.h"): Removed.
5143 * p-valprint.c (#include "typeprint.h"): Removed.
5144 * parse.c (#include "linespec.h"): Removed.
5145 * regcache.c (#include "frame.h"): Removed.
5146 * remote.c (#include "frame.h"): Removed.
5147 (getpkt_sane): Make static.
5148 * source.c (#include "completer.h"): Removed.
5149 * stack.c (#include "symfile.h"): Removed.
5150 (#include "objfiles.h"): Removed.
5151 * symfile.c (#include "completer.h"): Removed.
5152 * tracepoint.c (#include "completer.h"): Removed.
5153 * values.c (#include "frame.h"): Removed.
5154 * varobj.c (#include "valprint.h"): Removed.
5155 * wrapper.c (#include "frame.h"): Removed.
5156
5157 * memattr.c (create_mem_region): Removed unused variable.
5158 * remote-nrom.c: Removed spurious semicolon after init_nrom_ops.
5159
397b41ad
NC
51602001-03-27 Nick Clifton <nickc@redhat.com>
5161
5162 * remote-rdp.c (rdp_set_command_line): Add missing double quote.
5163
ed817e68
KB
51642001-03-27 Kevin Buettner <kevinb@redhat.com>
5165
5166 * solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
5167 of free().
5168
b75e0a6b
EZ
51692001-03-27 Eli Zaretskii <eliz@is.elta.co.il>
5170
5171 * TODO (Cleanups): Remove the item about converting docs to GFDL.
5172
2fc3ac7e
KB
51732001-03-26 Kevin Buettner <kevinb@redhat.com>
5174
5175 * ia64-tdep.c (slotN_contents, replace_slotN_contents): Change
5176 type of ``bundle'' from unsigned char * to char *.
5177 (ia64_get_saved_register): Use alloca() to allocate register
5178 buffers.
5179
224d8953
KB
5180 * solib-aix5.c (build_so_lib_from_mapfile): Fix xasprintf() usage.
5181
37de36c6
KB
51822001-03-26 Kevin Buettner <kevinb@redhat.com>
5183
5184 * proc-utils.h (procfs_ctl_t): New typedef.
5185 * proc-api.c (write_with_trace): Change type of ``opcode'' from
5186 long to procfs_ctl_t. Don't assume that the target has defined
5187 BREAKPOINT. Handle case in which PCRESET is the same as PCUNSET.
5188 * proc-events.c (sys/syscall.h, sys/fault.h): Include conditionally.
5189 * procfs.c (sys/fault.h, sys/syscall.h): Include conditionally.
5190 (gdb_sigset_t, gdb_sigaction_t, gdb_siginfo_t, gdb_premptysysset)
5191 (gdb_praddsysset, gdb_prdelsysset, gdb_pr_issyssetmember):
5192 Conditionally define as appropriate for AIX/non-AIX systems. Use
5193 these defines/typedefs as appropriate elsewhere in file.
5194 (struct procinfo): Change type of saved_sigset and saved_sighold
5195 from sigset_t to gdb_sigset_t. Make saved_exitset and
5196 saved_entryset pointer variables. Add two new fields, num_syscalls
5197 and syscall_names.
5198 (DYNAMIC_SYSCALLS): Define when HAVE_PRSYSENT_T is defined.
5199 (sysset_t_size, sysset_t_alloc): New functions.
5200 (load_syscalls, free_syscalls, find_syscall): New functions for
5201 platforms which define DYNAMIC_SYSCALLS.
5202 (create_procinfo): Call load_syscalls.
5203 (destroy_one_procinfo): Call free_syscalls.
5204 (GDBRESET): Don't define twice.
5205 (proc_modify_flag): Change type of operation code array `arg'
5206 from long to procfs_ctl_t.
5207 (proc_stop_process, proc_wait_for_stop, proc_run_process)
5208 (proc_set_traced_signals, proc_set_traced_faults)
5209 (proc_set_traced_sysentry, proc_set_traced_sysexit)
5210 (proc_set_held_signals, proc_clear_current_fault)
5211 (proc_set_current_signal, proc_clear_current_signal, proc_set_gregs)
5212 (proc_set_fpregs, proc_kill, proc_set_watchpoint): Likewise for `cmd'.
5213 (proc_set_traced_sysentry): Dynamically allocate variable sized
5214 struct gdb_proc_ctl_pcsentry. Also, free it at function exit.
5215 (proc_set_traced_sysexit): Dynamically allocate variable
5216 sized struct gdb_proc_ctl_pcsexit. Also, free it at
5217 function exit.
5218 (proc_get_traced_sysentry, proc_get_traced_sysexit): Add new code
5219 for reading the sysset_t struct on AIX5.
5220 (procfs_debug_inferior): Don't assume that SYS_exit will be
5221 defined. Add new code for finding certain syscalls on AIX5.
5222 (syscall_is_lwp_exit, syscall_is_exit, syscall_is_exec)
5223 (syscall_is_lwp_create): New functions.
5224 (procfs_wait): Restructured code which checks for certain
5225 system calls to use the new syscall_is_... functions.
5226 (procfs_notice_signals): Account for the fact that saved_entryset
5227 and saved_exitset in struct procinfo are now pointers.
5228
25d53da1
KB
52292001-03-26 Kevin Buettner <kevinb@redhat.com>
5230
5231 * symtab.c (find_pc_sect_line): Revise method used for finding
5232 the ending pc.
5233
50e27f84
MK
52342001-03-26 Mark Kettenis <kettenis@gnu.org>
5235
5236 * i386-linux-tdep.c (i386_linux_sigtramp_saved_pc,
5237 i386_linux_sigtramp_saved_sp): Make static.
5238 (i386_linux_frame_saved_pc): New function based on the old
5239 FRAME_SAVED_PC macro, but use read_memory_unsigned_integer instead
5240 of read_memory_integer.
5241 * config/i386/tm-linux.h (sigtramp_saved_pc): Remove definition.
5242 (i386_linux_sigtramp_saved_pc): Remove prototype.
5243 (FRAME_SAVED_PC): Redefine in terms of i386_linux_frame_saved_pc.
5244 (i386_linux_frame_saved_pc): New prototype.
5245
1a5cef06
AC
52462001-03-26 Andrew Cagney <ac131313@redhat.com>
5247
5248 * MAINTAINERS: Document m88k as a ``Known problem in 5.1''.
5249 * TODO (GDB 5.1 - Cleanups): Update.
5250
af802127
AC
52512001-03-26 Andrew Cagney <ac131313@redhat.com>
5252
5253 * fork-child.c (clone_and_follow_inferior): Delete #ifdef
5254 HAVE_VFORK.
5255
22f8ba57
MK
52562001-03-26 Mark Kettenis <kettenis@gnu.org>
5257
5b31405b
MK
5258 * config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.
5259
22f8ba57
MK
5260 * i386-tdep.c (i386_push_arguments, i386_store_struct_return): New
5261 functions.
5262 * config/i386/tm-i386.h (PUSH_ARGUMENTS): New macro.
5263 (STORE_STRUCT_RETURN): Redefine in terms of
5264 i386_store_struct_return.
5265 (i386_push_arguments, i386_store_struct_return): New prototypes.
5266 * config/i386/tm-i386v.h (STORE_STRUCT_RETURN): Remove. It's
5267 definition was identical to the definition in "i386/tm-i386.h" so
5268 the new definition should suffice too.
5269
49baf819 52702001-03-26 Eli Zaretskii <eliz@is.elta.co.il>
4d277981 5271
b78a4f26
EZ
5272 * event-loop.c (toplevel) [!HAVE_POLL] [NO_FD_SET]: Remove unused
5273 definitions for SELECT, NBBY, FD_SETSIZE, NFDBITS, and MASK_SIZE.
5274
4d277981
EZ
5275 * config/djgpp/djconfig.sh: Add copyright notice.
5276
5277 * ser-go32.c (rawclock): Remove prototype; include time.h instead.
5278 (ISR, dos_hookirq, isr_t): Convert K&R definition to ANSI C.
5279 (top level) <string.h>: Include gdb_string.h instead.
5280 (dos_noop, dos_raw, dos_noflush_set_tty_state)
5281 (dos_print_tty_state, dos_info): Remove ATTRIBUTE_UNUSED.
5282
5283 * go32-nat.c (go32_create_inferior): Move the declaration of
5284 `environ' to here from the top level.
5285 (top level) <_initialize_go32_nat>: Remove redundant prototype.
5286 <gdb_string.h>: Include it instead of string.h.
5287 (store_register): Call register_buffer instead of accessing
5288 registers[] directly.
5289 (redir_cmdline_delete, redir_cmdline_parse, redir_to_debugger)
5290 (redir_to_debugger, redir_debug_init) [__DJGPP_MINOR__ < 3]: Put
5291 the function names at the start of the line.
5292 (go32_set_dr): Throw internal_error if the argument is not a valid
5293 debug register number.
5294 (go32_open, go32_close, go32_attach, go32_detach, go32_resume)
5295 (go32_wait, go32_xfer_memory, go32_files_info)
5296 (go32_terminal_info): Remove ATTRIBUTE_UNUSED.
5297
8f3ee2ae
JB
52982001-03-25 Jim Blandy <jimb@redhat.com>
5299
5300 * mips-tdep.c (mips_gdbarch_init): Tweak indentation.
5301
6ec4c4bd
EZ
53022001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5303
5304 From Andrew Cagney <ac131313@redhat.com>
5305
5306 * coffread.c: Include "gdb_assert.h".
5307 (coff_symtab_read): Cast the integer s_sclass to a long before
5308 casting it to a pointer.
5309
b9179dbc
EZ
53102001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
5311
5312 From Andrew Cagney <ac131313@redhat.com>
5313
5314 * coffread.c (coff_symtab_read): Initialize
5315 ``fcn_first_line_addr''. Check that the ``.bf'' always preceeds
5316 the ``.ef'' info.
5317 * dbxread.c (find_text_range): Initialize ``start'' and ``end''.
5318
64c4637f
AC
53192001-03-23 Andrew Cagney <ac131313@redhat.com>
5320
5321 * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Down grade to
5322 GDB_MULTI_ARCH_PARTIAL from two. SOFTWARE_SINGLE_STEP is not
5323 multi-arch.
5324
5325 * gdbarch.sh (SOFTWARE_SINGLE_STEP): Add.
5326 * gdbarch.h, gdbarch.c: Re-generate.
5327
5328 * target.h (SOFTWARE_SINGLE_STEP_P)
5329 (SOFTWARE_SINGLE_STEP): Delete macro definitions.
5330
61a0eb5b
AC
53312001-03-23 Andrew Cagney <ac131313@redhat.com>
5332
5333 * gdbarch.sh (gdbarch_register_read, gdbarch_register_write): Add.
5334 * gdbarch.h, gdbarch.c: Regenerate.
5335
5336 * regcache.h (regcache_read, regcache_write): Declare.
5337 (registers, register_valid, register_buffer): Add note that these
5338 interfaces are deprecated.
5339
5340 * regcache.c: Include "gdb_assert.h".
5341 (legacy_write_register_gen): Rename write_register_gen.
5342 (legacy_read_register_gen): Rename read_register_gen.
5343 (regcache_read, regcache_write): New function.
5344 (read_register_gen, write_register_gen): New function.
5345 (write_register): Simplify. Use write_register_gen.
5346 (read_register): Ditto using read_register_gen.
5347 (read_signed_register): Ditto.
5348 (read_register_bytes): Ditto!!!!
5349 (supply_register): Add note that CLEANUP_REGISTER_VALUE is being
5350 replaced by gdbarch_register_read.
5351
5352 * TODO (GDB 5.2 - Cleanups): Add list of gdbarch methods to
5353 deprecate.
5354
c2bd2ed9
JB
53552001-03-23 Jim Blandy <jimb@redhat.com>
5356
f34754ee
JB
5357 Fix from Dan Berlin:
5358
c2bd2ed9
JB
5359 * stabsread.c (read_cpp_abbrev): Properly construct the names of
5360 virtual function table pointer fields.
5361
c0e61796
AC
53622001-03-19 Andrew Cagney <ac131313@redhat.com>
5363
5364 * defs.h (xfree, mcalloc, mmalloc, mrealloc, mfree, xmmalloc,
5365 xmrealloc): Move existing declarations to the one place and
5366 re-order to be consistent.
5367 (xmcalloc, xmfree): Declare.
5368 (xmmalloc, xmrealoc): Assume ISO-C - use size_t and void* in
5369 declaration.
5370
5371 * utils.c (size_t): Delete #ifdef defining size_t.
5372 (mmalloc, mrealloc, mcalloc, mfree): Re-order.
5373 (mmalloc, mrealloc, mcalloc): Document as only calls in GDB
5374 corresponding malloc, realloc, calloc.
5375 (mfree): Call free directly.
5376 (xmmalloc, xmrealloc): Clean up. Assume ISO-C.
5377 (xmcalloc, xmfree): New functions. Copy old xcalloc and xfree
5378 function bodies to here.
5379 (xcalloc, xfree): Call xmcalloc and xmfree respectfully.
5380
c65ecaf3
AC
53812001-03-23 Andrew Cagney <ac131313@redhat.com>
5382
5383 * fork-child.c (fork_inferior): Make ``argv'', ``exec_file'' and
5384 ``shell_file'' static locals.
5385
5386 * jv-lang.c (java_link_class_type): Initialize ``field'' and
5387 ``method''.
5388
5389 * jv-valprint.c (java_value_print): Initialize ``next_element''.
5390
207e433e
MK
53912001-03-23 Mark Kettenis <kettenis@gnu.org>
5392
5393 * config/i386/nm-i386.h: Fix formatting and change reference to
5394 i386-tdep.c to i386-nat.c.
5395
6c5cfe5b
DS
53962001-03-23 David Smith <dsmith@redhat.com>
5397
5398 * configure.in: Corrected spelling errors.
5399 * configure: Regenerated.
5400
5300940c
AC
54012001-03-22 Andrew Cagney <ac131313@redhat.com>
5402
5403 * TODO (GDB 5.1 - Cleanups): Add more targets to obsolete.
5404
17e78a56
AC
54052001-03-22 Andrew Cagney <ac131313@redhat.com>
5406
5407 * Makefile.in (NTSSTART): Delete.
5408 (NTSOBS): Delete.
5409 (kdb): Delete target.
5410 * kdb-start.c, stuff.c: Mark as obsolete.
5411 * NEWS: Update.
5412
41899c04
AC
54132001-03-22 Andrew Cagney <ac131313@redhat.com>
5414
5415 * config/pa/xm-hppah.h (HPPA_COMPILER_BUG): Delete. GDB only
5416 compiles using an ISO-C compiler.
5417 (MALLOC_INCOMPATIBLE): Ditto.
5418 * linespec.c (decode_line_1): Delete hack to work around
5419 HPPA_COMPILER_BUG.
5420
88665544
AC
54212001-03-22 Andrew Cagney <ac131313@redhat.com>
5422
5423 * exec.c (xfer_memory): Always initialize section.
5424 * infrun.c (normal_stop): Always initialize source_flag.
5425
a2061976
AC
54262001-03-22 Andrew Cagney <ac131313@redhat.com>
5427
5428 * TODO (Remote Protocol Support): Review. Add notes about ``!'',
5429 non-use of a continue address and typical use of ``q'' packet.
5430
e24d4c64
EZ
54312001-03-22 Eli Zaretskii <eliz@is.elta.co.il>
5432
5433 Make DJGPP use the new unified support for hardware
5434 breakpoints and watchpoints on x86 targets:
5435
5436 * config/i386/nm-go32.h <top level>: Don't include nm-i386v.h,
5437 include nm-i386.h instead.
5438 (TARGET_HAS_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT)
5439 (TARGET_CAN_USE_HARDWARE_WATCHPOINT, STOPPED_BY_WATCHPOINT)
5440 (TARGET_REGION_OK_FOR_HW_WATCHPOINT, DECR_PC_AFTER_HW_BREAK)
5441 (target_stopped_data_address, target_insert_watchpoint)
5442 (target_remove_watchpoint, target_insert_hw_breakpoint)
5443 (target_remove_hw_breakpoint): Don't define.
5444 (I386_USE_GENERIC_WATCHPOINTS, I386_DR_LOW_SET_CONTROL)
5445 (I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR)
5446 (I386_DR_LOW_GET_STATUS): Define to call appropriate go32_*
5447 functions from go32-nat.c.
5448
5449 * config/i386/go32.mh (NATDEPFILES): Add i386-nat.o.
5450
5451 * go32-nat.c <top level>: Remove prototypes for watchpoint-
5452 related functions. Remove definitions of watchpoint-related
5453 macros.
5454 (go32_mourn_inferior): Call i386_cleanup_dregs instead of the
5455 private cleanup_dregs function.
5456 (cleanup_dregs, go32_insert_watchpoint)
5457 (go32_insert_aligned_watchpoint, go32_handle_nonaligned_watchpoint)
5458 (go32_remove_watchpoint, go32_remove_aligned_watchpoint)
5459 (go32_region_ok_for_watchpoint, go32_stopped_by_watchpoint)
5460 (go32_remove_hw_breakpoint, go32_insert_hw_breakpoint): Remove.
5461 (go32_set_dr, go32_set_dr7, go32_get_dr6): New functions.
5462
c26e1c2b
KB
54632001-03-21 Kevin Buettner <kevinb@redhat.com>
5464
5465 * ia64-tdep.c (fetch_instruction): Warn about slot numbers greater
5466 than two instead of generating an error.
5467
272ba48f
JB
54682001-03-21 Jim Blandy <jimb@redhat.com>
5469
5470 * cp-valprint.c: Reformat to bring into line with GNU coding
5471 standards.
5472
84346e11
MK
54732001-03-21 Mark Kettenis <kettenis@gnu.org>
5474
5475 Make Linux use the new unified support for hardware breakpoints
5476 and watchpoints on x86 targets.
5477 * i386-linux-nat.c: Doc fixes. Include "gdb_assert.h".
5478 [HAVE_SYS_DEBUGREG_H]: Include <sys/debugreg.h>.
5479 (DR_FIRSTADDR, DR_LASTADDR, DR_STATUS, DR_CONTROL): Define to
5480 appropriate value if not already defined.
5481 (register_u_addr): New function.
5482 (kernel_u_size): New function.
5483 (i386_linux_dr_get, i386_linux_dr_set): New functions.
5484 (i386_linux_dr_set_control, i386_linux_dr_set_addr,
5485 i386_linux_reset_addr, i386_linux_dr_get_status): New functions.
5486 * config/i386/nm-linux.h: Don't include "nm-i386v.h".
5487 (I386_USE_GENERIC_WATCHPOINTS): Define and include "nm-i386.h".
5488 (TARGET_HAS_HARDWARE_WATCHPOINTS,
5489 TARGET_CAN_USE_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT,
5490 STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
5491 target_remove_watchpoint): Remove macros.
5492 (i386_stopped_by_watchpoint, i386_insert_watchpoint,
5493 i386_remove_watchpoint): Remove prototypes.
5494 (register_u_addr): New prototype.
5495 (REGISTER_U_ADDR): Define in terms of register_u_addr.
5496 (i386_linux_dr_set_control, i386_linux_dr_set_addr,
5497 i386_linux_reset_addr, i386_linux_dr_get_status): New prototypes.
5498 (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
5499 I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
5500 * config/i386/linux.mh (NATDEPFILES): Replace i386v-nat.o with
5501 i386-nat.o.
5502
13b57657
JB
55032001-03-21 Jim Blandy <jimb@redhat.com>
5504
f34754ee
JB
5505 Fix from Dan Berlin:
5506
13b57657
JB
5507 * linespec.c (find_methods): Whitespace differences aren't
5508 significant in *un*mangled method names. Use strcmp_iw to compare
f34754ee 5509 them, not STREQ.
13b57657 5510
eee30e78
AC
55112001-03-21 Andrew Cagney <ac131313@redhat.com>
5512
5513 * gdbarch.sh: Allow a non- multi-arch target to override a
5514 predicate.
5515 * gdbarch.h: Regenerate.
5516
b77be6cf
AC
55172001-03-21 Andrew Cagney <ac131313@redhat.com>
5518
5519 * gdbarch.sh: Avoid use of ``!''.
5520
379d08a1
AC
55212001-03-20 Andrew Cagney <ac131313@redhat.com>
5522
5523 * target.h (enum target_signal): Move definition from here.
5524 * defs.h (enum target_signal): To here.
5525
5526 * config/arc/tm-arc.h (arc_software_single_step): Change type of
5527 first parameter to enum target_signal.
5528 * config/rs6000/tm-rs6000.h (rs6000_software_single_step): Ditto.
5529 * config/sparc/tm-sparc.h (sparc_software_single_step): Ditto.
5530 * rs6000-tdep.c (rs6000_software_single_step): Update.
5531
64485362
AC
55322001-03-20 Andrew Cagney <ac131313@redhat.com>
5533
5534 * frame.h (SIZEOF_FRAME_SAVED_REGS): Report an error if macro
5535 already defined.
5536
5537 From 2000-08-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
5538 * stabsread.c (define_symbol): A parameter ('R'), a local ('r'),
5539 or a reference ('a') can be in a pseudo register.
5540 * infcmd.c (do_registers_info): Must take into account the pseudo
5541 registers to print their value.
5542 (registers_info): Likewise.
5543 * stack.c (frame_info): Likewise.
5544 * frame.h (SIZEOF_FRAME_SAVED_REGS): Save the pseudo registers.
5545
52b98211
EZ
55462001-03-21 Eli Zaretskii <eliz@is.elta.co.il>
5547
5548 Unified support for hardware breakpoints and watchpoints on
5549 x86 targets:
5550
5551 * config/i386/nm-i386.h: New file.
5552
5553 * config/i386/nm-i386.h: (i386_cleanup_dregs)
5554 (i386_insert_watchpoint, i386_remove_watchpoint)
5555 (i386_region_ok_for_watchpoint, i386_stopped_by_hwbp)
5556 (i386_stopped_data_address, i386_insert_hw_breakpoint)
5557 (i386_remove_hw_breakpoint): Declare prototypes.
5558 [I386_USE_GENERIC_WATCHPOINTS] (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
5559 Define if not already defined.
5560 (TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT)
5561 (STOPPED_BY_WATCHPOINT, target_stopped_data_address)
5562 (target_insert_watchpoint, target_remove_watchpoint)
5563 (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Define
5564 to call the appropriate i386_* functions.
5565
5566 * i386-nat.c: New file.
5567
5568 * i386-nat.c (I386_DR_CONTROL_MASK, I386_DR_LOCAL_ENABLE)
5569 (I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN)
5570 (I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): New macros.
5571 (dr_mirror, dr_status_mirror, dr_control_mirror, dr_ref_count)
5572 (maint_show_dr): New variables.
5573 (i386_cleanup_dregs, i386_show_dr, i386_length_and_rw_bits)
5574 (i386_insert_aligned_watchpoint, i386_remove_aligned_watchpoint)
5575 (i386_handle_nonaligned_watchpoint, i386_insert_watchpoint)
5576 (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
5577 (i386_stopped_data_address, i386_stopped_by_hwbp)
5578 (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): New
5579 functions.
5580 (_initialize_i386_nat): New function.
5581 [I386_USE_GENERIC_WATCHPOINTS]: Add new maint command
5582 `show-debug-regs', sets maint_show_dr to non-zero value and
5583 activates debugging print-outs in functions which insert, remove,
5584 and test watchpoints and hardware breakpoints.
5585
5586 * Makefile.in (i386-nat.o): New target.
5587 (ALLDEPFILES): Add i386-nat.o.
5588
28e9e0f0
MK
55892001-03-21 Mark Kettenis <kettenis@gnu.org>
5590
5591 * i386-tdep.c: Add back _initialize_i386_tdep prototype with
5592 appropriate comment.
5593
e40eccb4
KB
55942001-03-20 Kevin Buettner <kevinb@redhat.com>
5595
5596 * config/alpha/alpha-linux.mh (NATDEPFILES): Use proc-service.o,
5597 thread-db.o, and lin-lwp.o for thread support instead of
5598 linux-thread.o and lin-thread.o.
5599 * config/alpha/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS)
5600 (ATTACH_LWP): Define to use the following lin-lwp.c functions...
5601 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals)
5602 (lin_lwp_attach_lwp): Declare.
5603
bea7bb93
JB
56042001-03-20 Jim Blandy <jimb@redhat.com>
5605
f34754ee
JB
5606 Fix from Dan Berlin:
5607
bea7bb93
JB
5608 * Makefile.in: Clean up dependencies on ../include/demangle.h.
5609 (demangle_h): New variable.
5610 (jv-typeprint.o, jv-valprint.o, linespec.o): Use it.
5611
b0ed3589
AC
56122001-03-20 Andrew Cagney <ac131313@redhat.com>
5613
5614 * target.h (SOFTWARE_SINGLE_STEP_P): Add empty parameter list.
5615 * breakpoint.c (bpstat_stop_status): Update.
5616 * infrun.c (handle_inferior_event): Ditto.
5617 * mips-tdep.c (mips_dump_tdep): Ditto.
5618 * infrun.c (resume): Ditto.
5619 * infptrace.c (child_resume): Ditto.
5620 * config/mips/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5621 * config/sh/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5622 * config/sparc/tm-sparc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5623 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5624 * config/arm/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5625 * config/arc/tm-arc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5626 * config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto.
5627
df087c62
AC
56282001-03-20 Andrew Cagney <ac131313@redhat.com>
5629
5630 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Replace abort
5631 with internal_error.
5632
8bd1f2c6
JB
56332001-03-20 Jim Blandy <jimb@redhat.com>
5634
f34754ee
JB
5635 Fix from Dan Berlin:
5636
8bd1f2c6
JB
5637 * linespec.c (find_methods): Just call CHECK_TYPEDEF on t, rather
5638 than asking for sym_class's type; that's circuitous. Remove
5639 sym_class, since the last use of it is gone.
5640
c97fe386
EZ
56412001-03-20 Eli Zaretskii <eliz@is.elta.co.il>
5642
5643 * breakpoint.c (print_it_typical) <bp_access_watchpoint> [UI_OUT]:
5644 Correct the order of calls to ui_out_field_string and
5645 ui_out_list_begin when bs->old_val is NULL.
5646
486363b6
KB
56472001-03-19 Kevin Buettner <kevinb@redhat.com>
5648
5649 * configure.in (AC_CHECK_HEADERS): Check for existence of nlist.h.
5650 * configure: Regenerate.
5651 * config.in: Regenerate.
5652 * solib-legacy.c (nlist.h): Include if HAVE_NLIST_H is defined.
5653
087bb2e2
KB
56542001-03-19 Kevin Buettner <kevinb@redhat.com>
5655
5656 * config/i386/i386v42mp.mh (NATDEPFILES): List all files on
5657 same line to avoid problems with Unixware 7's make when building
5658 a cross debugger.
5659
3c37485b
AC
56602001-03-19 Andrew Cagney <ac131313@redhat.com>
5661
5662 * defs.h (malloc): Move declaration from here.
5663 * utils.c (malloc): To here.
5664 * config/pa/xm-hppah.h (malloc): Delete declaration.
5665
5666 * gnu-nat.c (make_proc): Use xmalloc instead of malloc.
5667 * hp-psymtab-read.c (hpread_call_pxdb): Ditto.
5668 (hpread_quick_traverse): Ditto.
5669 * infttrace.c (create_thread_info): Ditto.
5670 (kill_inferior): Ditto.
5671 * gnu-nat.c (make_inf): Ditto, and don't check return value.
5672 * procfs.c (proc_update_threads): Ditto.
5673 * valprint.c (print_decimal_chars): Ditto.
5674 * gdbtypes.c (cfront_mangle_name): Use xasprintf instead of
5675 malloc and sprintf.
5676 * remote-rdp.c (rdp_set_command_line): Ditto.
5677
0e52036f
AC
56782001-03-19 Andrew Cagney <ac131313@redhat.com>
5679
5680 * defs.h (realloc): Move declaration from here.
5681 * utils.c (realloc): To here.
5682 * config/pa/xm-hppah.h (realloc): Delete declaration.
5683 * lin-thread.c (insert_thread): Use xrealloc instead of realloc.
5684 * symfile.c (add_filename_language): Ditto.
5685 * event-loop.c (create_file_handler): Ditto.
5686
81b8eb80
AC
56872001-03-19 Andrew Cagney <ac131313@redhat.com>
5688
5689 * defs.h (free): Move declaration from here.
5690 * utils.c (free): To here.
5691 (xfree): Document as the only call to free().
5692 * config/pa/xm-hppah.h (free): Delete declaration.
5693
8cca004a
KB
56942001-03-19 Kevin Buettner <kevinb@redhat.com>
5695
5696 * config/ia64/linux.mh (NATDEPFILES): Add proc-service.o to
5697 this list.
5698
cf4eee44
AC
56992001-03-19 Andrew Cagney <ac131313@redhat.com>
5700
5701 * eval.c (evaluate_subexp): Remove #ifdef __STDC__ and ``inline''.
5702 * config/mips/xm-mips.h (offsetof): Define when !GNUC not !STDC.
5703 * cli/cli-cmds.c (init_cli_cmds): Remove #ifdef __STDC__
5704
1c5b31ef
AC
57052001-03-19 Andrew Cagney <ac131313@redhat.com>
5706
5707 * TODO: List known problems with TUI.
5708
3a0c66d4
AC
57092001-03-19 Andrew Cagney <ac131313@redhat.com>
5710
5711 * MAINTAINERS: Jimmy Guo stepped down as a maintiner (TUI,
5712 gdb.hp).
5713
ce359b09
AC
57142001-03-19 Andrew Cagney <ac131313@redhat.com>
5715
5716 * remote.c (remote_cisco_section_offsets): Do not cast result from
5717 bfd_get_section_name.
5718 (compare_sections_command): Ditto.
5719 (remote_cisco_section_offsets): Make ``p'' a const pointer.
5720 (compare_sections_command): Ditto for ``sectname''.
5721
0b3f98d3
AC
57222001-03-19 Andrew Cagney <ac131313@redhat.com>
5723
5724 From Mon Nov 20 13:59:29 2000 Andrew Cagney <cagney@b1.cygnus.com>:
5725 * valops.c (hand_function_call): Simplify computation of the
5726 address of the pushed argument.
5727
7451d027
AC
57282001-03-17 Andrew Cagney <ac131313@redhat.com>
5729
5730 * p-exp.y (parse_number): Avoid shift overflow when ``long''.
5731 Code copied from c-exp.y.
5732
fb70ab0c
KB
57332001-03-18 Kevin Buettner <kevinb@redhat.com>
5734
5735 * acconfig.h (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
5736 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
5737 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New configure macros.
5738 * configure.in (HAVE_STRUCT_LINK_MAP32): Move this test out
5739 of the Solaris procfs testing section. Instead, group with...
5740 (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
5741 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
5742 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New <link.h> tests.
5743 * configure: Regenerate.
5744 * config.in: Regenerate.
5745
5746 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Use
5747 new configure macros to choose which (if any) code to
5748 compile in. Added code to explicitly handle *BSD systems;
5749 these systems were previously handled only through macro
5750 redefinition. Also, due to the way the autoconf tests are set
5751 up, this function will no longer return a non-zero value when
5752 GDB is configured as a cross debugger. I.e, cross debuggers
5753 will no longer be able to "accidentally" get the host system's
5754 link map offsets.
5755
8aa16b78
KB
57562001-03-18 Kevin Buettner <kevinb@redhat.com>
5757
5758 * config/i386/nbsd.mh (NATDEPFILES): List all files on the same
5759 line to avoid build problem on NetBSD 1.4.
5760
559e75c0
MC
57612001-03-17 Michael Chastain <chastain@redhat.com>
5762
5763 * win32-nat.c (child_attach): check args for NULL before passing
5764 to strtoul. This fixes PR gdb/43.
5765
fc338970
MK
57662001-03-17 Mark Kettenis <kettenis@gnu.org>
5767
7daede3b
MK
5768 * i387-nat.h: Doc Fix.
5769
fc338970
MK
5770 * i386-tdep.c: Fix formatting.
5771 (i386_get_frame_setup, i386_follow_jump, codestream_read,
5772 codestream_seek, codestream_fill, skip_trampoline_code,
5773 gdb_print_insn_i386, _initialize_i386_tdep): Remove redundant
5774 prototypoes.
5775
e3c6d36d
MK
57762001-03-17 Mark Kettenis <kettenis@gnu.org>
5777
5778 * config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
5779 no longer used. Also remove associated FIXME.
5780
4a5c6a1d
AC
57812001-03-16 Andrew Cagney <ac131313@redhat.com>
5782
5783 * gdbarch.sh: Add classes ``m'' and ``M'' for pure multi-arch. Do
5784 not generate macro wrappers for multi-arch functions or
5785 predicates.
5786 (class_is_info_p, class_is_predicate_p): Update.
5787 (class_is_function_p, class_is_variable_p): Ditto.
5788 (class_is_multiarch_p): New class function.
5789
7256e1a5
C
57902001-03-16 J.T. Conklin <jtc@redback.com>
5791
5792 * config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
5793 h8300_frame_args_address from frame_args_address.
5794 (FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address
5795 from frame_locals_address.
5796 (PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook
5797 from print_register_hook.
5798 (h8300_frame_args_address): Declare.
5799 (h8300_frame_find_saved_regs): Declare.
5800 (h8300_frame_locals_address): Declare.
5801 (h8300_frame_saved_pc): Declare.
5802 (h8300_pop_frame): Declare.
5803 (h8300_print_register_hook): Declare.
5804 * h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration.
5805 (h8300_frame_args_address): Renamed from frame_args_address.
5806 (h8300_frame_locals_address): Renamed from frame_locals_address.
5807 (h8300_pop_frame): Renamed from pop_frame.
5808 (h8300_print_register_hook): Renamed from print_register_hook.
5809
435b259c
KB
58102001-03-16 Kevin Buettner <kevinb@redhat.com>
5811
5812 * solib-svr4.c (bfd_lookup_symbol): Change type of
5813 ``storage_needed'' from unsigned int to long in order to
5814 match return type of bfd_get_symtab_upper_bound() and
5815 bfd_get_dynamic_symtab_upper_bound().
5816 * solib-aix5.c (bfd_lookup_symbol): Likewise. Also, eliminate
5817 REASONABLE_LIMIT hack which had been added to work around this
5818 problem.
5819
80117be2
KB
58202001-03-15 Kevin Buettner <kevinb@redhat.com>
5821
5822 * solib-aix5.c (bfd_lookup_symbol, build_so_list_from_mapfile)
5823 (aix5_relocate_main_executable, aix5_clear_solib): Replace calls
5824 to free() with calls to xfree().
5825 (bfd_lookup_symbol): Eliminate use of PTR.
5826 (build_so_list_from_mapfile): Use xasprintf() instead of sprintf().
5827
77cd5909
MH
58282001-03-15 Martin Hunt <hunt@redhat.com>
5829
5830 * linespec.c (decode_line_1): Remove trailing quote
5831 when parsing double quotes.
5832
f7f5a202
KB
58332001-03-15 Kevin Buettner <kevinb@redhat.com>
5834
5835 * uw-thread.c (read_thr_debug, read_map, read_lwp, thread_iter)
5836 (libthread_stub, libthread_init): Pass NULL for the mem_attrib
5837 argument in the to_xfer_memory calls.
5838
0d35ddba
AC
58392001-03-15 Andrew Cagney <ac131313@redhat.com>
5840
5841 * MAINTAINERS: Fix typo - w65 not w64. Still doesn't build.
5842 * TODO (GDB 5.1 - Cleanups): Add status of targets being obsoleted.
5843
043780a1
AC
58442001-03-15 Andrew Cagney <ac131313@redhat.com>
5845
5846 * wince.c (child_xfer_memory): Add attrib parameter.
5847 * symm-nat.c (child_xfer_memory): Ditto.
5848 * mac-nat.c (child_xfer_memory): Ditto.
5849 * infttrace.c (child_xfer_memory): Ditto.
5850 * procfs.c (procfs_xfer_memory): Ditto.
5851 * lin-thread.c (thread_db_xfer_memory): Ditto.
5852 * gnu-nat.c (gnu_xfer_memory): Ditto.
5853
9b9c068d
AC
58542001-03-14 Andrew Cagney <ac131313@redhat.com>
5855
5856 * NEWS: Mention that Harris/CXUX m88k is obsolete.
5857
f88e2c52
AC
58582001-03-13 Andrew Cagney <ac131313@redhat.com>
5859
5860 * config/mips/tm-mips.h: Include "regcache.h" for macros refering
5861 to regcache functions.
5862 * config/m68k/tm-m68k.h: Ditto.
5863 * config/i386/tm-i386v.h: Ditto.
5864 * config/mcore/tm-mcore.h: Ditto.
5865 * config/m88k/tm-m88k.h: Ditto.
5866 * config/m68k/tm-news.h: Ditto.
5867 * config/m68k/tm-linux.h: Ditto.
5868 * config/m68k/tm-delta68.h: Ditto.
5869 * config/m68k/nm-sun3.h: Ditto.
5870 * config/m32r/tm-m32r.h: Ditto.
5871 * config/i386/tm-symmetry.h: Ditto.
5872 * config/i386/tm-sun386.h: Ditto.
5873 * config/i386/tm-i386.h: Ditto.
5874 * config/i386/nm-symmetry.h: Ditto.
5875 * config/i386/nm-sun386.h: Ditto.
5876 * config/i386/nm-ptx4.h: Ditto.
5877 * config/i386/nm-i386mach.h: Ditto.
5878 * config/h8500/tm-h8500.h: Ditto.
5879 * config/h8300/tm-h8300.h: Ditto.
5880 * config/fr30/tm-fr30.h: Ditto.
5881 * config/d30v/tm-d30v.h: Ditto.
5882 * config/arm/tm-arm.h: Ditto.
5883 * config/arc/tm-arc.h: Ditto.
5884 * config/alpha/tm-alpha.h: Ditto.
5885 * config/a29k/tm-vx29k.h: Ditto.
5886 * config/a29k/tm-a29k.h: Ditto.
5887 * config/w65/tm-w65.h: Ditto.
5888 * config/vax/tm-vax.h: Ditto.
5889 * config/v850/tm-v850.h: Ditto.
5890 * config/tic80/tm-tic80.h: Ditto.
5891 * config/sparc/tm-sparclite.h: Ditto.
5892 * config/sparc/tm-sparclet.h: Ditto.
5893 * config/sparc/tm-sparc.h: Ditto.
5894 * config/sparc/nm-sun4sol2.h: Ditto.
5895 * config/sparc/nm-sun4os4.h: Ditto.
5896 * config/sparc/nm-nbsd.h: Ditto.
5897 * config/powerpc/nm-solaris.h: Ditto.
5898 * config/pa/tm-hppao.h: Ditto.
5899 * config/pa/tm-hppa.h: Ditto.
5900 * config/pa/nm-hppab.h: Ditto.
5901 * config/ns32k/tm-umax.h: Ditto.
5902 * config/ns32k/tm-merlin.h: Ditto.
5903 * config/nm-m3.h: Ditto.
5904 * config/nm-gnu.h: Ditto.
5905
0981ead9
AC
59062001-03-14 Andrew Cagney <ac131313@redhat.com>
5907
5908 * MAINTAINERS: Update list of targets. Mark arm-* and v850-elf as
5909 broken. Mark sh-*, ia64-linux and ns32k-netbsd as buildable.
5910 Specify an m88k target. Include sample GAWK script to generate
5911 target list. Delete non-existant romp target.
5912 * TODO (GDB 5.1 - Cleanups): Update.
5913
91c1720e
KS
59142001-03-14 Keith Seitz <keiths@cygnus.com>
5915
5916 * linespec.c (decode_line_1): Skip argptr over a leading
5917 double quote. Prevents alloc of 0 bytes and memcpy of -1 bytes.
5918
3cc122b3
KB
59192001-03-14 Kevin Buettner <kevinb@redhat.com>
5920
5921 * config/djgpp/fnchange.lst (ia64-aix-nat.c): Add entry.
5922
5bb367b1
AC
59232001-03-13 Andrew Cagney <ac131313@redhat.com>
5924
5925 * ui-out.h: Remove #if __STDC__, assume an ISO-C compiler.
5926 * m3-nat.c: Ditto.
5927 * p-lang.h: Ditto.
5928 * printcmd.c (printf_command): Ditto.
5929 * ch-exp.c (match_integer_literal): Ditto.
5930 * scm-tags.h: Ditto.
5931 * ser-go32.c: Ditto.
5932 * hppa-tdep.c (unwind_command): Ditto.
5933 * defs.h (volatile): Delete macro definition. Assume __STDC__.
5934 * remote-adapt.c (volatile): Ditto.
5935 * remote-eb.c (volatile): Ditto.
5936 * remote-mm.c (volatile): Ditto.
5937 * defs.h (alloca): Assume __STDC__, declare returning void *.
5938
a728f042
AC
59392001-03-08 Andrew Cagney <ac131313@redhat.com>
5940
5941 * inferior.h (ARCH_NUM_REGS): Delete definition.
5942 * stack.c (frame_info): Use NUM_REGS, not ARCH_NUM_REGS.
5943 * regcache.c (registers_changed): Ditto.
5944 (registers_fetched): Ditto.
5945 * infptrace.c (fetch_inferior_registers): Ditto.
5946 (store_inferior_registers): Ditto.
5947 * infcmd.c (do_registers_info): Ditto.
5948 (registers_info): Ditto.
5949 * i386-linux-nat.c (old_fetch_inferior_registers): Ditto.
5950 (old_store_inferior_registers): Ditto.
5951 * gdbserver/low-linux.c (register_addr): Ditto.
5952 * gdbserver/low-hppabsd.c (register_addr): Ditto.
5953 * core-aout.c: Don't include "inferior.h".
5954 (fetch_core_registers): Use NUM_REGS not ARCH_NUM_REGS.
5955 (register_addr): Ditto.
5956
f48ff60a
FN
59572001-03-13 Fernando Nasser <fnasser@redhat.com>
5958
5959 From Steven Johnson <sjohnson@neurizon.net>
5960 * cli/cli-script.c (define_command): Fix setting of post hooks.
5961
305d65ca
MK
59622001-03-13 Mark Kettenis <kettenis@gnu.org>
5963
5964 * i386-linux-tdep.c: Fix formatting and clarify comments.
5965 (i386_linux_svr4_fetch_link_map_offsets): Use NULL instead of 0
5966 where appropriate.
5967
bf62e5b4
AC
59682001-03-12 Andrew Cagney <ac131313@redhat.com>
5969
5970 * gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
5971 (proc_update_sc): Use gdb_assert instead of assert.
5972 (proc_abort): Ditto.
5973 (inf_set_step_thread): Ditto.
5974 (gnu_wait): Ditto.
5975 (S_exception_raise_request): Ditto.
5976 (gnu_terminal_init_inferior): Ditto.
5977
21479ded
KB
59782001-03-09 Kevin Buettner <kevinb@redhat.com>
5979
5980 * Makefile.in (solib-svr4.o): Depend on solib-svr4.c, not solib.c.
5981 (solib-legacy.o): New makefile target.
5982 * solib-legacy.c: New file.
5983 * solib-svr4.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete.
5984 (default_svr4_fetch_link_map_offsets): Delete.
5985 (set_solib_svr4_fetch_link_map_offsets): Declare.
5986 (legacy_svr4_fetch_link_map_offsets_hook): Declare.
5987 * solib-svr4.c (elf/common.h): Include.
5988 (link.h): Only include for SunOS shared library support.
5989 (_SYSCALL32): Don't define.
5990 (SVR4_FETCH_LINK_MAP_OFFSETS): Define.
5991 (default_svr4_fetch_link_map_offsets): Made static; added forward
5992 declaration.
5993 (fetch_link_map_offsets): New static global.
5994 (legacy_svr4_fetch_link_map_offsets_hook): New global variable.
5995 (default_svr4_fetch_link_map_offsets): Rewritten. The guts
5996 of what used to be in this function now reside in
5997 legacy_svr4_fetch_link_map_offsets() in solib-legacy.c.
5998 (open_symbol_file_object): Fix declaration in SunOS section
5999 of the code.
6000 (set_solib_svr4_fetch_link_map_offsets): New extern function.
6001 (init_fetch_link_map_offsets): New static function.
6002 (_initialize_svr4_solib): Put static global fetch_link_map_offsets
6003 under multiarch control.
6004
6005 * config/alpha/alpha-linux.mt (TDEPFILES): Add solib-legacy.o to
6006 list.
6007 * config/alpha/fbsd.mh (NATDEPFILES): Likewise.
6008 * config/arm/linux.mt (TDEPFILES): Likewise.
6009 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
6010 * config/i386/i386dgux.mh (NATDEPFILES): Likewise.
6011 * config/i386/i386gnu.mh (NATDEPFILES): Likewise.
6012 * config/i386/i386sco5.mh (NATDEPFILES): Likewise.
6013 * config/i386/i386sol2.mt (TDEPFILES): Likewise.
6014 * config/i386/i386v4.mh (NATDEPFILES): Likewise.
6015 * config/i386/i386v42mp.mh (NATDEPFILES): Likewise.
6016 * config/i386/linux.mt (TDEPFILES): Likewise.
6017 * config/i386/nbsd.mh (NATDEPFILES): Likewise.
6018 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
6019 * config/i386/ncr3000.mt (TDEPFILES): Likewise.
6020 * config/i386/ptx4.mh (XDEPFILES): Likewise.
6021 * config/i386/sun386.mt (TDEPFILES): Likewise.
6022 * config/ia64/linux.mt (TDEPFILES): Likewise.
6023 * config/m68k/linux.mt (TDEPFILES): Likewise.
6024 * config/m68k/m68kv4.mh (NATDEPFILES): Likewise.
6025 * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
6026 * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
6027 * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
6028 * config/m88k/delta88v4.mh (NATDEPFILES): Likewise.
6029 * config/mips/mipsv4.mh (NATDEPFILES): Likewise.
6030 * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
6031 * config/powerpc/linux.mt (TDEPFILES): Likewise.
6032 * config/powerpc/nbsd.mh (NATDEPFILES): Likewise.
6033 * config/powerpc/solaris.mh (NATDEPFILES): Likewise.
6034 * config/sh/linux.mt (TDEPFILES): Likewise.
6035 * config/sparc/linux.mt (TDEPFILES): Likewise.
6036 * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
6037 * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise.
6038 * config/sparc/sp64linux.mt (TDEPFILES): Likewise.
6039 * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
6040 * config/sparc/sun4sol2.mh (NATDEPFILES): Likewise.
6041
d7fa9de0
KB
60422001-03-09 Kevin Buettner <kevinb@redhat.com>
6043
6044 * utils.c (xmrealloc, xcalloc): Return NULL for zero-sized requests.
6045
f8241bd1
AC
60462001-03-09 Andrew Cagney <ac131313@redhat.com>
6047
6048 * MAINTAINERS (Write After Approval): Update Philip Blundell.
6049
e6b4b0c2
KS
60502001-03-09 Keith Seitz <keiths@cygnus.com>
6051
6052 * MAINTAINERS: Add myself to write after approval list.
6053
96836138
MK
60542001-03-09 Mark Kettenis <kettenis@gnu.org>
6055
6056 * i387-tdep.c (print_i387_status_word): Fix printing of Stack
6057 fault flag. It is bit 6 of the x87 FPU status word, not bit 7.
6058
1b594327
AC
60592001-03-08 Andrew Cagney <ac131313@redhat.com>
6060
6061 * configure.host (m88*-harris-cxux*): Mark as obsolete.
6062 * configure.tgt: Ditto.
6063 * config/m88k/xm-cxux.h: Ditto.
6064 * config/m88k/tm-cxux.h: Ditto.
6065 * config/m88k/nm-cxux.h: Ditto.
6066 * config/m88k/cxux.mt: Ditto.
6067 * config/m88k/cxux.mh: Ditto.
6068
4a32a1e4
AC
60692001-03-08 Andrew Cagney <ac131313@redhat.com>
6070
6071 * Makefile.in: Delete rules for obsolete files.
6072
ec9a3449
DT
6073Thu Mar 8 15:43:40 2001 David Taylor <taylor@redhat.com>
6074
6075 * stack.c (parse_frame_specification): For one argument case,
6076 handle the situation where the argument is an integer, not an
6077 address -- arguably the most common case. This matters on
6078 targets where pointers and addresses are different.
6079
a50c34dc
AC
60802001-03-08 Andrew Cagney <ac131313@redhat.com>
6081
6082 * TODO: Revise 5.1 list. Delete PARAMS task. Add coding standard
6083 review. Clarify GNU/LINUX/sparc. Move other tasks to 5.2 or
6084 general.
6085
cfc046cf
AC
60862001-03-07 Andrew Cagney <ac131313@redhat.com>
6087
6088 * TODO (GDB 5.1 Known Problems): Document problem of building GDB
6089 with SID on Solaris 8.
6090
39424bef
MK
60912001-03-07 Mark Kettenis <kettenis@gnu.org>
6092
6093 * defs.h: Provide prototypes for floatformat_is_negative,
6094 floatformat_is_nan and floatformat_mantissa.
6095 * utils.c: Include "gdb_assert.h".
6096 (floatformat_is_negative): New function.
6097 (floatformat_is_nan): New function.
6098 (floatformat_mantissa): New function.
6099 * valprint.c: Include "floatformat.h".
6100 (print_floating): Get rid of the Linux-specific
6101 TARGET_ANALYZE_FLOATING macro and rewrite NaN detection with the
6102 help these new functions. Print NaN's in a format conforming to
6103 ISO C99.
6104
7a1bd56a
EZ
61052001-03-07 Eli Zaretskii <eliz@is.elta.co.il>
6106
6107 * top.c (init_main): Make `set history file name' complete on file
6108 names.
6109
5565b556
C
61102001-03-06 J.T. Conklin <jtc@redback.com>
6111
21a12a30
C
6112 * Makefile.in (LINTFLAGS): Update to contain all of the macros
6113 which define include paths used when compiling.
6114
6115 * util.c (savestring, msavestring): Change type of length argument.
6116 * defs.h (savestring, msavestring): Update to match.
6117
5565b556
C
6118 * symtab.h (decode_line_1): Removed declaration.
6119
6120 * symfile.c (#include <assert.h>): Removed.
6121
6122 * arch-utils.c (#include <ctype.h>): Removed.
6123 * c-typeprint.c: Likewise.
6124 * dbxread.c: Likewise.
6125 * gdbtypes.c: Likewise.
6126 * target.c: Likewise.
6127 * os9kread.c: Likewise.
6128
6129 * c-valprint.c (#include "demangle.h"): Removed.
6130 * ch-typeprint.c: Likewise.
6131 * eval.c: Likewise.
6132 * f-typeprint.c: Likewise.
6133 * f-valprint.c: Likewise.
6134 * m2-typeprint.c: Likewise.
6135 * typeprint.c: Likewise.
6136 * p-typeprint.c: Likewise.
6137 * valarith.c: Likewise.
6138 * valprint.c: Likewise.
6139
6140 * m2-typeprint.c (#include "gdb_string.h"): Removed.
6141 * nlmread.c: Likewise.
6142
6143 * mdebugread.c (#include "gdb-stabs.h"): Removed.
6144 * minsyms.c: Likewise.
6145 * mipsread.c: Likewise.
6146 * nlmread.c: Likewise.
6147
6148 * m2-typeprint.c (#include "obstack.h"): Removed.
6149 * m2-valprint.c: Likewise.
6150
6151 * event-loop.c (#include <setjmp.h>): Removed.
6152
e8be95ae
SS
61532001-03-06 Stan Shebs <shebs@apple.com>
6154
6155 * MAINTAINERS: Remove self from specific maintenance domains
6156 (macos, gdbserver, documentation, testsuite).
6157
b6ba6518
KB
61582001-03-06 Kevin Buettner <kevinb@redhat.com>
6159
6160 * 29k-share/udi/udip2soc.c, Makefile.in, a29k-tdep.c,
6161 a68v-nat.c, abug-rom.c, aclocal.m4, alpha-nat.c, alpha-tdep.c,
6162 annotate.c, annotate.h, arc-tdep.c, arch-utils.c,
6163 arch-utils.h, arm-tdep.c, ax-gdb.c, ax-gdb.h, ax-general.c,
6164 ax.h, bcache.c, bcache.h, blockframe.c, breakpoint.c,
6165 breakpoint.h, buildsym.c, buildsym.h, c-exp.y, c-lang.c,
6166 c-lang.h, c-typeprint.c, c-valprint.c, call-cmds.h, ch-exp.c,
6167 ch-lang.c, ch-lang.h, ch-typeprint.c, ch-valprint.c,
6168 cli/cli-cmds.h, cli/cli-decode.c, cli/cli-decode.h,
6169 cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.h,
6170 cli/cli-utils.h, cli-out.c, cli-out.h, coff-solib.c,
6171 coff-solib.h, coffread.c, command.h, complaints.c,
6172 complaints.h, completer.c, completer.h,
6173 config/a29k/nm-ultra3.h, config/a29k/tm-a29k.h,
6174 config/a29k/tm-ultra3.h, config/a29k/tm-vx29k.h,
6175 config/a29k/xm-ultra3.h, config/alpha/nm-fbsd.h,
6176 config/alpha/nm-linux.h, config/alpha/nm-osf.h,
6177 config/alpha/nm-osf2.h, config/alpha/nm-osf3.h,
6178 config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h,
6179 config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h,
6180 config/alpha/xm-fbsd.h, config/arc/tm-arc.h,
6181 config/arm/nm-linux.h, config/arm/tm-arm.h,
6182 config/arm/tm-embed.h, config/d10v/tm-d10v.h,
6183 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
6184 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
6185 config/i386/nm-fbsd.h, config/i386/nm-gnu.h,
6186 config/i386/nm-i386bsd.h, config/i386/nm-i386mach.h,
6187 config/i386/nm-i386sco.h, config/i386/nm-i386sol2.h,
6188 config/i386/nm-i386v.h, config/i386/nm-i386v4.h,
6189 config/i386/nm-i386v42mp.h, config/i386/nm-linux.h,
6190 config/i386/nm-nbsd.h, config/i386/nm-nbsdelf.h,
6191 config/i386/nm-ptx4.h, config/i386/nm-sun386.h,
6192 config/i386/nm-symmetry.h, config/i386/tm-cygwin.h,
6193 config/i386/tm-fbsd.h, config/i386/tm-i386.h,
6194 config/i386/tm-i386aix.h, config/i386/tm-i386bsd.h,
6195 config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h,
6196 config/i386/tm-i386m3.h, config/i386/tm-i386mk.h,
6197 config/i386/tm-i386nw.h, config/i386/tm-i386os9k.h,
6198 config/i386/tm-i386sco5.h, config/i386/tm-i386sol2.h,
6199 config/i386/tm-i386v.h, config/i386/tm-i386v4.h,
6200 config/i386/tm-i386v42mp.h, config/i386/tm-linux.h,
6201 config/i386/tm-nbsd.h, config/i386/tm-ptx.h,
6202 config/i386/tm-ptx4.h, config/i386/tm-sun386.h,
6203 config/i386/tm-symmetry.h, config/i386/tm-vxworks.h,
6204 config/i386/xm-fbsd.h, config/i386/xm-i386bsd.h,
6205 config/i386/xm-i386gnu.h, config/i386/xm-i386m3.h,
6206 config/i386/xm-i386mach.h, config/i386/xm-i386mk.h,
6207 config/i386/xm-i386sco.h, config/i386/xm-i386v4.h,
6208 config/i386/xm-linux.h, config/i386/xm-nbsd.h,
6209 config/i386/xm-ptx.h, config/i386/xm-ptx4.h,
6210 config/i386/xm-sun386.h, config/i386/xm-symmetry.h,
6211 config/i960/tm-i960.h, config/i960/tm-mon960.h,
6212 config/i960/tm-nindy960.h, config/i960/tm-vx960.h,
6213 config/ia64/nm-aix.h, config/ia64/nm-linux.h,
6214 config/ia64/tm-aix.h, config/ia64/tm-ia64.h,
6215 config/ia64/tm-linux.h, config/ia64/xm-aix.h,
6216 config/ia64/xm-linux.h, config/m68k/nm-apollo68b.h,
6217 config/m68k/nm-delta68.h, config/m68k/nm-dpx2.h,
6218 config/m68k/nm-hp300bsd.h, config/m68k/nm-hp300hpux.h,
6219 config/m68k/nm-linux.h, config/m68k/nm-sun3.h,
6220 config/m68k/tm-apollo68b.h, config/m68k/tm-cisco.h,
6221 config/m68k/tm-dpx2.h, config/m68k/tm-es1800.h,
6222 config/m68k/tm-hp300bsd.h, config/m68k/tm-hp300hpux.h,
6223 config/m68k/tm-isi.h, config/m68k/tm-linux.h,
6224 config/m68k/tm-m68k.h, config/m68k/tm-m68kv4.h,
6225 config/m68k/tm-mac.h, config/m68k/tm-monitor.h,
6226 config/m68k/tm-nbsd.h, config/m68k/tm-news.h,
6227 config/m68k/tm-os68k.h, config/m68k/tm-sun3.h,
6228 config/m68k/tm-vx68.h, config/m68k/xm-3b1.h,
6229 config/m68k/xm-apollo68b.h, config/m68k/xm-dpx2.h,
6230 config/m68k/xm-hp300bsd.h, config/m68k/xm-hp300hpux.h,
6231 config/m68k/xm-linux.h, config/m68k/xm-m68kv4.h,
6232 config/m68k/xm-mpw.h, config/m68k/xm-news.h,
6233 config/m68k/xm-sun2.h, config/m68k/xm-sun3.h,
6234 config/m68k/xm-sun3os4.h, config/m88k/nm-delta88v4.h,
6235 config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h,
6236 config/m88k/tm-m88k.h, config/m88k/xm-cxux.h,
6237 config/m88k/xm-delta88.h, config/m88k/xm-delta88v4.h,
6238 config/m88k/xm-dgux.h, config/mcore/tm-mcore.h,
6239 config/mips/nm-irix3.h, config/mips/nm-irix4.h,
6240 config/mips/nm-irix5.h, config/mips/nm-mips.h,
6241 config/mips/nm-news-mips.h, config/mips/tm-bigmips.h,
6242 config/mips/tm-embed.h, config/mips/tm-embed64.h,
6243 config/mips/tm-embedl.h, config/mips/tm-embedl64.h,
6244 config/mips/tm-irix3.h, config/mips/tm-irix5.h,
6245 config/mips/tm-mips.h, config/mips/tm-mips64.h,
6246 config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h,
6247 config/mips/tm-tx39.h, config/mips/tm-tx39l.h,
6248 config/mips/tm-vr4100.h, config/mips/tm-vr4300.h,
6249 config/mips/tm-vr4300el.h, config/mips/tm-vr4xxx.h,
6250 config/mips/tm-vr4xxxel.h, config/mips/tm-vr5000.h,
6251 config/mips/tm-vr5000el.h, config/mips/xm-irix3.h,
6252 config/mips/xm-irix4.h, config/mips/xm-irix5.h,
6253 config/mips/xm-mips.h, config/mips/xm-mipsm3.h,
6254 config/mips/xm-mipsv4.h, config/mips/xm-news-mips.h,
6255 config/mips/xm-riscos.h, config/mn10200/tm-mn10200.h,
6256 config/mn10300/tm-mn10300.h, config/nm-gnu.h,
6257 config/nm-linux.h, config/nm-lynx.h, config/nm-m3.h,
6258 config/nm-sysv4.h, config/none/nm-none.h,
6259 config/none/tm-none.h, config/none/xm-none.h,
6260 config/ns32k/nm-nbsd.h, config/ns32k/nm-umax.h,
6261 config/ns32k/tm-merlin.h, config/ns32k/tm-nbsd.h,
6262 config/ns32k/tm-ns32km3.h, config/ns32k/tm-umax.h,
6263 config/ns32k/xm-merlin.h, config/ns32k/xm-ns32km3.h,
6264 config/pa/nm-hppab.h, config/pa/nm-hppah.h,
6265 config/pa/nm-hppao.h, config/pa/tm-hppa.h,
6266 config/pa/tm-hppa64.h, config/pa/tm-hppah.h,
6267 config/pa/xm-hppab.h, config/pa/xm-hppah.h,
6268 config/powerpc/nm-aix.h, config/powerpc/nm-linux.h,
6269 config/powerpc/nm-macos.h, config/powerpc/nm-nbsd.h,
6270 config/powerpc/tm-cygwin.h, config/powerpc/tm-linux.h,
6271 config/powerpc/tm-macos.h, config/powerpc/tm-ppc-aix.h,
6272 config/powerpc/tm-ppc-eabi.h, config/powerpc/tm-ppc-nw.h,
6273 config/powerpc/tm-ppcle-eabi.h, config/powerpc/tm-solaris.h,
6274 config/powerpc/xm-aix.h, config/powerpc/xm-linux.h,
6275 config/powerpc/xm-mpw.h, config/rs6000/nm-rs6000.h,
6276 config/rs6000/tm-rs6000.h, config/rs6000/tm-rs6000ly.h,
6277 config/rs6000/xm-aix4.h, config/rs6000/xm-rs6000.h,
6278 config/sh/tm-linux.h, config/sh/tm-sh.h, config/sh/tm-wince.h,
6279 config/sparc/nm-linux.h, config/sparc/nm-nbsd.h,
6280 config/sparc/nm-nbsdelf.h, config/sparc/nm-sparclynx.h,
6281 config/sparc/nm-sun4os4.h, config/sparc/nm-sun4sol2.h,
6282 config/sparc/tm-linux.h, config/sparc/tm-sp64.h,
6283 config/sparc/tm-sp64sim.h, config/sparc/tm-sparc.h,
6284 config/sparc/tm-sparclet.h, config/sparc/tm-sparclite.h,
6285 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
6286 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
6287 config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
6288 config/tic80/tm-tic80.h, config/tm-linux.h, config/tm-lynx.h,
6289 config/tm-sysv4.h, config/v850/tm-v850.h, config/vax/tm-vax.h,
6290 config/w65/tm-w65.h, config/xm-aix4.h, config/xm-lynx.h,
6291 config/xm-mpw.h, config/xm-nbsd.h, config/xm-sysv4.h,
6292 config/z8k/tm-z8k.h, configure.in, core-aout.c, core-regset.c,
6293 core-sol2.c, corefile.c, corelow.c, cp-valprint.c,
6294 cpu32bug-rom.c, cxux-nat.c, d10v-tdep.c, d30v-tdep.c,
6295 dbug-rom.c, dbxread.c, dcache.c, dcache.h, defs.h,
6296 delta68-nat.c, demangle.c, dink32-rom.c, dpx2-nat.c, dsrec.c,
6297 dstread.c, dve3900-rom.c, dwarf2read.c, dwarfread.c,
6298 elfread.c, environ.c, environ.h, eval.c, event-loop.c,
6299 event-loop.h, event-top.c, exec.c, expprint.c, f-exp.y,
6300 f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c, findvar.c,
6301 fork-child.c, fr30-tdep.c, frame.c, frame.h, gdb-events.c,
6302 gdb-events.h, gdb-events.sh, gdb-stabs.h, gdb.1, gdb_string.h,
6303 gdb_thread_db.h, gdbcmd.h, gdbcore.h, gdbserver/Makefile.in,
6304 gdbserver/gdbreplay.c, gdbserver/gdbserver.1,
6305 gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
6306 gdbserver/low-lynx.c, gdbserver/low-nbsd.c,
6307 gdbserver/low-sim.c, gdbserver/low-sparc.c,
6308 gdbserver/low-sun3.c, gdbserver/remote-utils.c,
6309 gdbserver/server.c, gdbserver/server.h, gdbserver/utils.c,
6310 gdbthread.h, gdbtypes.c, gdbtypes.h, gnu-nat.c, gnu-nat.h,
6311 gnu-regex.c, gnu-regex.h, h8300-tdep.c, h8500-tdep.c,
6312 hp-psymtab-read.c, hp-symtab-read.c, hp300ux-nat.c,
6313 hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c, hpread.c,
6314 hpread.h, hpux-thread.c, i386-tdep.c, i386aix-nat.c,
6315 i386b-nat.c, i386gnu-nat.c, i386ly-tdep.c, i386m3-nat.c,
6316 i386mach-nat.c, i386nbsd-nat.c, i386nbsd-tdep.c, i386v-nat.c,
6317 i386v4-nat.c, i387-tdep.c, i960-tdep.c, infcmd.c, inferior.h,
6318 inflow.c, infptrace.c, infrun.c, inftarg.c, infttrace.c,
6319 irix4-nat.c, irix5-nat.c, isi-xdep.c, jv-exp.y, jv-lang.c,
6320 jv-lang.h, jv-typeprint.c, jv-valprint.c, kdb-start.c,
6321 kod-cisco.c, kod.c, language.c, language.h, lin-thread.c,
6322 linespec.c, linespec.h, linux-thread.c, lynx-nat.c, m2-exp.y,
6323 m2-lang.c, m2-lang.h, m2-typeprint.c, m2-valprint.c, m3-nat.c,
6324 m32r-rom.c, m32r-tdep.c, m68k-tdep.c, m68klinux-nat.c,
6325 m68knbsd-nat.c, m88k-nat.c, m88k-tdep.c, mac-nat.c,
6326 mac-xdep.c, main.c, maint.c, mcore-rom.c, mcore-tdep.c,
6327 mdebugread.c, mem-break.c, minimon.h, minsyms.c, mips-nat.c,
6328 mips-tdep.c, mipsm3-nat.c, mipsread.c, mipsv4-nat.c,
6329 mn10200-tdep.c, mn10300-tdep.c, mon960-rom.c, monitor.c,
6330 monitor.h, news-xdep.c, nindy-share/env.h, nindy-tdep.c,
6331 nlm/Makefile.in, nlmread.c, ns32k-tdep.c, ns32km3-nat.c,
6332 ns32knbsd-nat.c, objfiles.c, objfiles.h, ocd.c, ocd.h,
6333 op50-rom.c, os9kread.c, osfsolib.c, p-exp.y, pa64solib.c,
6334 pa64solib.h, parse.c, parser-defs.h, partial-stab.h,
6335 ppc-bdm.c, ppc-linux-nat.c, ppc-linux-tdep.c, ppcbug-rom.c,
6336 ppcnbsd-nat.c, printcmd.c, proc-api.c, proc-events.c,
6337 proc-flags.c, proc-utils.h, proc-why.c, procfs.c, ptx4-nat.c,
6338 rdi-share/Makefile.in, rdi-share/aclocal.m4, regcache.c,
6339 regcache.h, remote-adapt.c, remote-array.c, remote-bug.c,
6340 remote-e7000.c, remote-eb.c, remote-es.c, remote-est.c,
6341 remote-hms.c, remote-mips.c, remote-mm.c, remote-nindy.c,
6342 remote-nrom.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
6343 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
6344 remote-utils.c, remote-utils.h, remote-vx.c, remote.c,
6345 remote.h, reply_mig_hack.awk, rom68k-rom.c, rs6000-nat.c,
6346 rs6000-tdep.c, scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h,
6347 scm-valprint.c, ser-e7kpc.c, ser-mac.c, ser-ocd.c, ser-pipe.c,
6348 ser-tcp.c, ser-unix.c, serial.c, serial.h, sh-tdep.c,
6349 sh3-rom.c, sol-thread.c, solib-aix5.c, solib-svr4.c, solib.c,
6350 solib.h, solist.h, somread.c, somsolib.c, somsolib.h,
6351 source.c, sparc-nat.c, sparc-tdep.c, sparcl-tdep.c,
6352 sparclet-rom.c, srec.h, stabsread.c, stabsread.h, stack.c,
6353 standalone.c, stop-gdb.c, stuff.c, sun3-nat.c, sun386-nat.c,
6354 symfile.c, symfile.h, symm-nat.c, symm-tdep.c, symmisc.c,
6355 symtab.c, symtab.h, target.c, target.h, terminal.h, thread.c,
6356 tic80-tdep.c, top.c, top.h, tracepoint.c, tracepoint.h,
6357 typeprint.c, ui-file.c, ui-file.h, ui-out.h, ultra3-nat.c,
6358 ultra3-xdep.c, umax-xdep.c, utils.c, v850-tdep.c, v850ice.c,
6359 valarith.c, valops.c, valprint.c, value.h, values.c, varobj.h,
6360 vax-tdep.c, version.h, vx-share/vxWorks.h, vx-share/xdr_ld.c,
6361 vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h,
6362 vx-share/xdr_rdb.c, w65-tdep.c, w89k-rom.c, win32-nat.c,
6363 wrapper.c, wrapper.h, xcoffread.c, xcoffsolib.c, xcoffsolib.h,
6364 xmodem.c, xmodem.h, z8k-tdep.c: Update/correct copyright
6365 notices.
6366
596c9d4b
KB
63672001-03-05 Kevin Buettner <kevinb@redhat.com>
6368
6369 * acconfig.h (HAVE_PRSYSENT_T, HAVE_PR_SIGSET_T,
6370 HAVE_PR_SIGACTION64_T, HAVE_PR_SIGINFO64_T): New configure
6371 macros.
6372 * configure.in (prsysent_t, pr_sigset_t, pr_sigaction64_t,
6373 pr_siginfo64_t): Test for these typedefs in <sys/procfs.h>.
6374 (sys/fault.h, sys/select.h): Test for presence of these
6375 header files.
6376 (ia64-*-aix*): Define NEW_PROC_API for this host.
6377 * configure: Regenerate.
6378 * config.in: Regenerate.
6379
6380 * configure.host (ia64-*-aix*): New host.
6381 * configure.tgt (ia64-*-aix*): New target.
8a5c92d3 6382
eccbb20d
AC
63832001-03-05 Andrew Cagney <ac131313@redhat.com>
6384
6385 * TODO (GDB 5.1 Known Problems): Document z8k as broken.
6386
9ff2efe5
CF
6387Mon Mar 5 11:56:09 2001 Christopher Faylor <cgf@cygnus.com>
6388
6389 * wince.c: Change realloc to xrealloc throughout.
61e2d1f3 6390 (handle_load_dll): Use void * rather than PTR in argument.
9ff2efe5 6391
58841d58
AC
63922001-03-04 Andrew Cagney <ac131313@redhat.com>
6393
6394 * ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.
6395 * ocd.c (ocd_xfer_memory): Ditto.
6396 * ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops.
6397 * MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as
6398 buildable with ,-Werror.
6399
6400 * Makefile.in (symfile_h): Define.
6401 (mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h).
6402 * mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h".
6403 * MAINTAINERS: Document mcore-elf and mcore-pe as buildable with
6404 ,-Werror.
6405
6406 * dsrec.c (make_srec): Fix internal_error fmt arg.
6407 * MAINTAINERS: Document i960-coff as buildable with ,-Werror.
6408
3cad1ac9
KB
64092001-03-03 Kevin Buettner <kevinb@redhat.com>
6410
6411 * solib-aix5.c (aix5_relocate_main_executable): Don't use ANOFFSET
6412 as an lvalue.
6413
b9fa2e73
AC
64142001-03-02 Andrew Cagney <ac131313@redhat.com>
6415
130c39e6
AC
6416 * MAINTAINERS (paper trail): Update.
6417
b9fa2e73
AC
6418 * CONTRIBUTE: Update note on ``Fix PR gdb/4706'' convention.
6419
c53efe6e
AC
64202001-03-02 Andrew Cagney <ac131313@redhat.com>
6421
6422 From 2001-03-01 Tom Rix <trix@redhat.com>:
6423 * mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc''
6424 parameter to mn10200_analyze_prologue.
6425
6426 * config/mn10200/tm-mn10200.h: Include "regcache.h".
6427 * MAINTAINERS: Document that mn10200-elf target is buildable.
6428
52b5c2eb
KB
64292001-03-02 Kevin Buettner <kevinb@redhat.com>
6430
6431 * config/ia64/xm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): Move defines
6432 from here...
6433 * config/ia64/nm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): ...to here.
6434 (MONTEREY): Don't define.
6435 (AIX5): Define.
6436
2edb46b1
MH
64372001-03-02 Matt Hiller <hiller@redhat.com>
6438
6439 * config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
6440
92c71a3e
KB
64412001-03-02 Kevin Buettner <kevinb@redhat.com>
6442
82a2886f 6443 * sparc-nat.c (sparc-nat.c): Don't include self.
92c71a3e 6444
e2a4c6c1
C
64452001-03-01 J.T. Conklin <jtc@redback.com>
6446
3a644c8d
C
6447 * defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
6448 if __CYGWIN32__ is set from here.
6449 * config/i386/xm-cygwin.h: To here.
6450 * config/powerpc/xm-cygwin.h: To here.
6451
e2a4c6c1
C
6452 * i386-stub.c (handle_exception): Use 'T' response packet.
6453
4b33390a
MS
64542001-03-01 Michael Snyder <msnyder@mvstp600e.cygnus.com>
6455
6456 * m32r-tdep.c: Fix cut and paste error in comment.
6457
64582001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
6459
6460 * symtab.c (print_msymbol_info): Print addresses by portable method
6461 longest_local_hex_string_custom. Allow for 64-bit addresses.
6462
ba41d549
C
64632001-03-01 J.T. Conklin <jtc@redback.com>
6464
6465 * gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.
6466 (MAX_OF_TYPE): Wrap macro definition in parenthesis.
6467 (MIN_OF_TYPE): Likewise.
6468
6469 * memattr.h (mem_access_mode): Removed extraneous trailing comma.
6470
088d891f
AC
64712001-03-01 Andrew Cagney <ac131313@redhat.com>
6472
6473 * Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
6474 * os9kread.c (os9k_process_one_symbol): Add assert to detect
6475 ``loses if sizeof (char *) > sizeof (int)''.
6476
38266776
AC
64772001-03-01 Andrew Cagney <ac131313@redhat.com>
6478
6479 * gdb_assert.h: Document pragmatics behind gdb_assert's case.
6480
2ad43c4f
AC
64812001-03-01 Andrew Cagney <ac131313@redhat.com>
6482
6483 * Makefile.in (gdbtk-cmds.o): Add $(regcache_h) to dependency
6484 lists.
6485 (mi-main.o): Ditto.
6486
367e21d8
AC
64872001-03-01 Andrew Cagney <ac131313@redhat.com>
6488
6489 * Makefile.in (regcache_h): Define. Add $(regcache_h) to
6490 dependency lists.
6491
d85310f7
MS
64922001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
6493
c0d8fd9a
MS
6494 * printcmd.c (print_address_numeric): Update comments to refer
6495 to sizeof addr, not sizeof pointer.
6496 (x_command): Remove needless whitespace (shorten long line).
6497
d85310f7
MS
6498 * breakpoint.c (print_one_breakpoint): Formatting clean-up.
6499 (read_memory_nobpt): Ditto.
6500 (ep_is_catchpoint): Ditto.
6501 (ep_is_shlib_catchpoint): Ditto.
6502 (ep_is_exception_catchpoint): Ditto.
6503 (describe_other_breakpoints): Ditto.
6504
97900206
AC
6505Wed Feb 28 20:37:36 2001 Andrew Cagney <ac131313@redhat.com>
6506
6507 * regcache.h (register_valid): Fix comment documenting valid
6508 states.
6509
4e052eda
AC
6510Tue Feb 27 23:56:23 2001 Andrew Cagney <ac131313@redhat.com>
6511
6512 From Steven Johnson:
6513 * regcache.h: New file.
6514
6515 * value.h (read_register_bytes, read_register_gen)
6516 (write_register_gen, write_register_bytes)
6517 (read_register, read_register_pid)
6518 (read_signed_register, read_signed_register_pid)
6519 (write_register, write_register_pid)
6520 (register_cached, set_register_cached)
6521 (register_changed, register_buffer)
6522 (registers_changed, supply_register): Move declaration from here.
6523 * regcache.h: To here.
6524 * gdbcore.h (registers_fetched): Ditto.
6525 * inferior.h (registers, registers_valid): Ditto.
6526
6527 * regcache.c (generic_target_read_pc, read_pc_pid, read_pc,
6528 generic_target_write_pc, write_pc_pid, write_pc,
6529 generic_target_read_sp, read_sp, generic_target_write_sp,
6530 write_sp, generic_target_read_fp, read_fp,
6531 generic_target_write_fp, write_fp): Add note that these functions
6532 will be moved from this file.
6533
6534 * a29k-tdep.c: Include "regcache.h".
6535 * a68v-nat.c: Ditto.
6536 * abug-rom.c: Ditto.
6537 * alpha-nat.c: Ditto.
6538 * alpha-tdep.c: Ditto.
6539 * alphabsd-nat.c: Ditto.
6540 * arc-tdep.c: Ditto.
6541 * arm-linux-nat.c: Ditto.
6542 * arm-linux-tdep.c: Ditto.
6543 * arm-tdep.c: Ditto.
6544 * blockframe.c: Ditto.
6545 * core-aout.c: Ditto.
6546 * core-sol2.c: Ditto.
6547 * corelow.c: Ditto.
6548 * cpu32bug-rom.c: Ditto.
6549 * cxux-nat.c: Ditto.
6550 * d10v-tdep.c: Ditto.
6551 * d30v-tdep.c: Ditto.
6552 * dbug-rom.c: Ditto.
6553 * dink32-rom.c: Ditto.
6554 * dve3900-rom.c: Ditto.
6555 * findvar.c: Ditto.
6556 * fr30-tdep.c: Ditto.
6557 * frame.c: Ditto.
6558 * go32-nat.c: Ditto.
6559 * h8300-tdep.c: Ditto.
6560 * h8500-tdep.c: Ditto.
6561 * hp300ux-nat.c: Ditto.
6562 * hppa-tdep.c: Ditto.
6563 * hppab-nat.c: Ditto.
6564 * hppah-nat.c: Ditto.
6565 * hppam3-nat.c: Ditto.
6566 * hpux-thread.c: Ditto.
6567 * i386-linux-nat.c: Ditto.
6568 * i386-linux-tdep.c: Ditto.
6569 * i386-tdep.c: Ditto.
6570 * i386aix-nat.c: Ditto.
6571 * i386b-nat.c: Ditto.
6572 * i386bsd-nat.c: Ditto.
6573 * i386gnu-nat.c: Ditto.
6574 * i386ly-tdep.c: Ditto.
6575 * i386m3-nat.c: Ditto.
6576 * i386mach-nat.c: Ditto.
6577 * i386nbsd-nat.c: Ditto.
6578 * i386v4-nat.c: Ditto.
6579 * i387-nat.c: Ditto.
6580 * i387-tdep.c: Ditto.
6581 * i960-tdep.c: Ditto.
6582 * ia64-aix-nat.c: Ditto.
6583 * ia64-linux-nat.c: Ditto.
6584 * ia64-tdep.c: Ditto.
6585 * infptrace.c: Ditto.
6586 * infrun.c: Ditto.
6587 * irix4-nat.c: Ditto.
6588 * irix5-nat.c: Ditto.
6589 * lin-lwp.c: Ditto.
6590 * lin-thread.c: Ditto.
6591 * lynx-nat.c: Ditto.
6592 * m3-nat.c: Ditto.
6593 * m32r-rom.c: Ditto.
6594 * m32r-tdep.c: Ditto.
6595 * m68hc11-tdep.c: Ditto.
6596 * m68k-tdep.c: Ditto.
6597 * m68klinux-nat.c: Ditto.
6598 * m68knbsd-nat.c: Ditto.
6599 * m68knbsd-tdep.c: Ditto.
6600 * m88k-nat.c: Ditto.
6601 * m88k-tdep.c: Ditto.
6602 * mac-nat.c: Ditto.
6603 * mcore-rom.c: Ditto.
6604 * mcore-tdep.c: Ditto.
6605 * mi/mi-main.c: Ditto.
6606 * mips-nat.c: Ditto.
6607 * mips-tdep.c: Ditto.
6608 * mipsm3-nat.c: Ditto.
6609 * mipsv4-nat.c: Ditto.
6610 * mn10200-tdep.c: Ditto.
6611 * mn10300-tdep.c: Ditto.
6612 * monitor.c: Ditto.
6613 * ns32km3-nat.c: Ditto.
6614 * ns32knbsd-nat.c: Ditto.
6615 * ocd.c: Ditto.
6616 * pa64solib.c: Ditto.
6617 * ppc-bdm.c: Ditto.
6618 * ppc-linux-nat.c: Ditto.
6619 * ppc-linux-tdep.c: Ditto.
6620 * ppcbug-rom.c: Ditto.
6621 * ppcnbsd-nat.c: Ditto.
6622 * ptx4-nat.c: Ditto.
6623 * regcache.c: Ditto.
6624 * remote-adapt.c: Ditto.
6625 * remote-array.c: Ditto.
6626 * remote-bug.c: Ditto.
6627 * remote-e7000.c: Ditto.
6628 * remote-eb.c: Ditto.
6629 * remote-es.c: Ditto.
6630 * remote-est.c: Ditto.
6631 * remote-hms.c: Ditto.
6632 * remote-mips.c: Ditto.
6633 * remote-mm.c: Ditto.
6634 * remote-nindy.c: Ditto.
6635 * remote-os9k.c: Ditto.
6636 * remote-rdi.c: Ditto.
6637 * remote-rdp.c: Ditto.
6638 * remote-sds.c: Ditto.
6639 * remote-sim.c: Ditto.
6640 * remote-st.c: Ditto.
6641 * remote-udi.c: Ditto.
6642 * remote-utils.c: Ditto.
6643 * remote-vx.c: Ditto.
6644 * remote-vx29k.c: Ditto.
6645 * remote-vx68.c: Ditto.
6646 * remote-vx960.c: Ditto.
6647 * remote-vxmips.c: Ditto.
6648 * remote-vxsparc.c: Ditto.
6649 * remote.c: Ditto.
6650 * rom68k-rom.c: Ditto.
6651 * rs6000-nat.c: Ditto.
6652 * rs6000-tdep.c: Ditto.
6653 * sh-tdep.c: Ditto.
6654 * sh3-rom.c: Ditto.
6655 * sol-thread.c: Ditto.
6656 * solib-svr4.c: Ditto.
6657 * somsolib.c: Ditto.
6658 * sparc-nat.c: Ditto.
6659 * sparc-tdep.c: Ditto.
6660 * sparcl-tdep.c: Ditto.
6661 * sparclet-rom.c: Ditto.
6662 * sun3-nat.c: Ditto.
6663 * sun386-nat.c: Ditto.
6664 * symm-nat.c: Ditto.
6665 * target.c: Ditto.
6666 * thread-db.c: Ditto.
6667 * thread.c: Ditto.
6668 * tic80-tdep.c: Ditto.
6669 * tracepoint.c: Ditto.
6670 * ultra3-nat.c: Ditto.
6671 * umax-xdep.c: Ditto.
6672 * uw-thread.c: Ditto.
6673 * v850-tdep.c: Ditto.
6674 * v850ice.c: Ditto.
6675 * valops.c: Ditto.
6676 * w65-tdep.c: Ditto.
6677 * w89k-rom.c: Ditto.
6678 * win32-nat.c: Ditto.
6679 * wince.c: Ditto.
6680 * z8k-tdep.c: Ditto.
6681
07d48ebc
MH
66822001-02-28 Matt Hiller <hiller@redhat.com>
6683
6684 * MAINTAINERS: Add Matt Hiller to Write After Approval list.
6685
2edb46b1
MH
66862001-02-27 Matt Hiller <hiller@redhat.com>
6687
6688 * mn10300-tdep.c (mn10300_stab_reg_to_regnum): New function.
6689 (mn10300_gdbarch_init): Set appropriate elements of gdbarch to
6690 mn10300_stab_reg_to_regnum.
6691
993f3aa5
DT
6692Tue Feb 27 16:56:13 2001 David Taylor <taylor@redhat.com>
6693
6694 * symtab.c (search_symbols): Fix off by one error in test for
6695 error.
6696
86168def
AC
66972001-02-23 Andrew Cagney <ac131313@redhat.com>
6698
6699 * config/sparc/sp64linux.mt: New file.
6700 * configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
6701 * configure.host: Recognize sparc64-*-linux* as a linux host.
6702
6703 From 2000-03-17 Jakub Jelinek <jakub@redhat.com>:
6704 * config/sparc/tm-sp64linux.h: New file.
6705
e1e9e218
KB
67062001-02-24 Kevin Buettner <kevinb@redhat.com>
6707
6708 * buildsym.c (push_subfile, pop_subfile): Replace call to abort()
6709 with call to internal_error().
6710 * dbxread.c (process_one_symbol): Likewise.
6711 * exec.c (build_section_table, xfer_memory): Likewise.
6712 * h8500-tdep.c (h8500_register_size, h8500_register_virtual_type):
6713 Likewise.
6714 * hpread.c (hpread_type_translate, hpread_read_array_type)
6715 (hpread_type_lookup): Likewise.
6716 * i386-tdep.c (gdb_print_insn_i386): Likewise.
6717 * i960-tdep.c (mem): Likewise
6718 * inflow.c (set_sigio_trap, clear_sigio_trap): Likewise.
6719 * infptrace.c (child_resume): Likewise.
6720 * infttrace.c (_initialize_infttrace): Likewise.
6721 * language.c (binop_result_type, add_language): Likewise.
6722 * lynx-nat.c (store_inferior_registers): Likewise.
6723 * m3-nat.c (port_chain_insert, m3_trace_me): Likewise.
6724 * mdebugread.c (parse_partial_symbols): Likewise.
6725 * monitor.c (monitor_printf_noecho, monitor_printf)
6726 (monitor_dump_regs): Likewise.
6727 * ocd.c (stu_put_packet): Likewise.
6728 * printcmd.c (decode_format, print_scalar_formatted): Likewise.
6729 * remote-bug.c (bug_open): Likewise.
6730 * remote-e7000.c (fetch_regs_from_dump, e7000_wait): Likewise.
6731 * remote-es.c (es1800_read_bytes): Likewise.
6732 * remote-mips.c (common_breakpoint): Likewise.
6733 * remote-rdp.c (send_rdp): Likewise.
6734 * remote-sds.c (putmessage): Likewise.
6735 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
6736 Likewise.
6737 * sparcl-tdep.c (sparclite_download): Likewise.
6738 * symtab.c (lookup_partial_symbol): Likewise.
6739 * target.c (push_target, pop_target, initialize_targets): Likewise.
6740 * utils.c (internal_verror, malloc_botch, wrap_here, decimal2str):
6741 Likewise.
6742 * valprint.c (print_decimal, print_longest, print_longest)
6743 (strcat_longest): Likewise.
6744 * w65-tdep.c (init_frame_pc, w65_push_dummy_frame): Likewise.
6745 * xmodem.c (xmodem_send_packet): Likewise.
6746 * z8k-tdep.c (init_frame_pc, z8k_push_dummy_frame): Likewise.
6747 * config/h8500/tm-h8500.h (STORE_STRUCT_RETURN): Likewise.
6748 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE)
6749 (STORE_RETURN_VALUE): Likewise.
6750 * config/ns32k/nm-umax.h (REGISTER_U_ADDR): Likewise.
6751 * config/ns32k/xm-merlin.h (REGISTER_U_ADDR): Likewise.
6752 * config/z8k/tm-z8k.h (STORE_STRUCT_RETURN, STORE_RETURN_VALUE):
6753 Likewise.
6754
17fceda3
AC
67552001-02-23 Andrew Cagney <ac131313@redhat.com>
6756
2126d5fb
AC
6757 * CONTRIBUTE: Document how to cite a problem report.
6758 * TODO: Note need to replace CONTRIBUTE with generated file.
6759
17fceda3
AC
6760 * CONTRIBUTE: Mention that patches do not need to include the
6761 generated files gdbarch.h and gdbarch.c.
6762
60edd51d
AC
67632001-02-21 Andrew Cagney <ac131313@redhat.com>
6764
6765 * value.h (get_saved_register): Move from here.
6766 * frame.h: To here.
6767
d7fa2ae2
KB
67682001-02-21 Kevin Buettner <kevinb@redhat.com>
6769
6770 * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
6771 (in_solib_dynsym_resolve_code): Add declaration.
6772 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
6773 in_solib_dynsym_resolve_code() rather than
6774 in_svr4_dynsym_resolve_code(). Also, removed the ifdefs
6775 which caused this macro to only be defined when
6776 SVR4_SHARED_LIBS is defined.
6777 * solib.c (in_solib_dynsym_resolve_code): New function.
6778 * solist.h (struct target_so_ops): Add new member
6779 in_dynsym_resolve_code.
6780 * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
6781 in_svr4_dynsym_resolve_code. Also, made static.
6782 (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
6783 member in aix5_so_ops.
6784 * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
6785 in_svr4_dynsym_resolve_code. Also, added second version
6786 of this function which will be used when SVR4_SHARED_LIBS
6787 is not defined.
6788 (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
6789 member in svr4_so_ops.
6790
6791 * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
6792 config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
6793 config/ia64/xm-aix.h: New files.
6794 * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
6795 (ia64_aix_sigcontext_register_address): New declaration.
aacc1edd 6796 (ia64_gdbarch_init): Provide for initialization of
d7fa2ae2
KB
6797 sigcontext_register_address member of struct tdep when
6798 on target is detected to be running AIX.
6799 * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
6800 this list.
6801
fbad0893
KB
68022001-02-20 Kevin Buettner <kevinb@redhat.com>
6803
6804 * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
6805 * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
6806 for thread support instead of linux-thread.o and lin-thread.o.
6807 * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
6808 ATTACH_LWP): Define to use the following lin-lwp.c functions...
6809 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
6810 lin_lwp_attach_lwp): Declare.
6811
1adad886
AC
68122001-02-20 Andrew Cagney <ac131313@redhat.com>
6813
6814 * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
6815 formatting.
6816
0579d647
KB
68172001-02-20 Kevin Buettner <kevinb@redhat.com>
6818
6819 * solib-aix5.c (solib-svr4.h): Remove include.
6820 (solib_break_names): Delete names which aren't actually
6821 used by AIX5.
6822 (bkpt_names): Remove.
6823 (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
6824 to STREQ() with equivalent calls to strcmp().
6825 (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
6826 aix5_solib_create_inferior_hook): Revise comments.
6827 (enable_break): Remove old ``bkpt_names'' code.
6828
d65fe839
AC
68292001-02-19 Andrew Cagney <ac131313@redhat.com>
6830
6831 * Makefile.in (SFILES): Add frame.c .
6832 (COMMON_OBS): Add frame.o .
6833 (frame.o): New target.
6834
6835 * frame.c (find_saved_register):
6836 (default_get_saved_register):
6837 (get_saved_register):
6838 (read_relative_register_raw_bytes_for_frame):
6839 (read_relative_register_raw_bytes): Moved to here.
6840 * regcache.c: From here.
6841
60cf7a85
KB
68422001-02-20 Kevin Buettner <kevinb@redhat.com>
6843
6844 * solib-aix5.c: New file.
6845
291b7e04
MH
68462001-02-20 Martin M. Hunt <hunt@redhat.com>
6847
a43ad351
MH
6848 * solib.c (info_sharedlibrary_command): Don't assume pointers
6849 are the same size of long, call longest_local_hex_string_custom().
6850
58bc91c9
MH
6851 * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
6852 extract_signed_integer() should be called instead of
6853 extract_address().
6854
68552001-02-20 Martin M. Hunt <hunt@redhat.com>
6856
291b7e04
MH
6857 * MAINTAINERS: Add Martin Hunt to Write After Approval list.
6858
d02ee681
AC
68592001-02-19 Andrew Cagney <ac131313@redhat.com>
6860
6861 Frm 2001-02-09 Jim Kingdon <jkingdon@engr.sgi.com>:
6862 * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
6863 then floating point registers are 8 bytes.
6864
a858089e
MS
68652001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
6866
6867 * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
6868 accomodate 64-bit addresses.
6869
23cc649f
EZ
68702001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6871
6872 From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
6873 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
6874 lookup_symbol, when trying to find a symbol with a mangled name,
6875 to avoid infinite recursion.
6876
0db23c95
AC
68772001-02-18 Andrew Cagney <ac131313@redhat.com>
6878
6879 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
6880
911413e6
JL
68812001-02-19 Jonathan Larmour <jlarmour@redhat.com>
6882
6883 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
6884 (save_prologue_cache): Ditto.
6885
8d1de4b7
EZ
68862001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6887
6888 From: innadadadavida@yahoo.com:
6889 * partial-stab.h (switch): Check that pst is not null
6890 before dereferencing it.
6891
3017564a
EZ
68922001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
6893
6894 From Andrew Cagney <cagney@b1.cygnus.com>:
6895 * symfile.c (add_symbol_file_command): Always initialize
6896 my_cleanup using a NULL cleanup.
6897
fa58ee11
EZ
68982001-02-19 Eli Zaretskii <eliz@is.elta.co.il>
6899
6900 * demangle.c (demangling_style_names): New variable.
6901 (_initialize_demangler): Fill demangling_style_names with the
6902 names of known demangling styles from libiberty_demanglers[]. Use
6903 add_set_enum_cmd instead of add_set_cmd, to get completion on
6904 demangling style names.
6905
6906 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
6907 file-name completion.
6908
6909 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
6910
6911 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
6912 `solib-absolute-prefix'.
6913
6914 * tracepoint.c (_initialize_tracepoint): Ditto for
6915 `save-tracepoints'.
6916
6917 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
6918
6919 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
6920 file-name completion.
6921
6922 * infcmd.c (_initialize_infcmd): Make the following commands use
6923 the file-name completer: `tty', `args', `path', `paths', and
6924 `run'.
6925
7830cf6f
EZ
69262001-02-18 Eli Zaretskii <eliz@is.elta.co.il>
6927
89dea5aa
EZ
6928 * go32-nat.c: Include i387-nat.h.
6929 (fetch_register): New function, uses some of the guts of
6930 go32_fetch_registers and calls i387_supply_register.
6931 (go32_fetch_registers): Most of the code moved into
6932 fetch_register. Use i387_supply_fsave.
6933 (store_register): Use i387_fill_fsave instead of custom code.
6934 (go32_store_registers): Use i387_fill_fsave.
6935
6936 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
6937
6938 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
6939
7830cf6f
EZ
6940 * completer.c (gdb_completer_file_name_break_characters): Remove
6941 slash from file-name break characters.
6942 [__MSDOS__]: Special definition for DOS/Windows file names.
6943 (line_completion_function): When completing on file names, bump
6944 `p' to the first file-name constituent character of `word', before
6945 invoking the completer.
6946
f31e928c
MK
69472001-02-17 Mark Kettenis <kettenis@gnu.org>
6948
6949 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
6950 consistently for parameter names. Fix comments accordingly.
6951 (i387_supply_register): New function.
6952 (i387_supply_fsave): Implement using i387_supply_register.
6953 * i387-nat.h: Use regnum instead of regno consistently for
6954 parameter names. Fix comments accordingly.
6955 (i387_supply_register): New prototype.
6956
d696208f
MS
69572001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
6958
6959 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
6960 instead of TARGET_PTR_BIT (to support Harvard architectures).
6961
971429b4
AC
69622001-02-16 Andrew Cagney <ac131313@redhat.com>
6963
6964 From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
6965 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
6966 argument to parameter list and to call in order to conform to
6967 to_xfer_memory field of struct target_ops.
6968
9ca0e47c
MC
69692001-02-12 Michael Chastain <chastain@redhat.com>
6970
da7dd56f 6971 * somsolib.c (som_solib_add_solib_objfile): Do not use
9ca0e47c
MC
6972 section relocation feature of syms_from_objfile. Do my own
6973 section relocation, offsetting each section of the som by
6974 either text_addr - text_link_addr or data_start.
6975
7d65bd2d
AC
69762001-02-16 Andrew Cagney <ac131313@redhat.com>
6977
6978 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
6979
e33e9692
AC
69802001-02-16 Andrew Cagney <ac131313@redhat.com>
6981
6982 * MAINTAINERS (paper trail): Update.
6983
17dee195
MK
69842001-02-16 Mark Kettenis <kettenis@gnu.org>
6985
6986 * target.h (target_fetch_registers): Fix comment.
6987
0f6e1ba6
AC
69882001-02-15 Andrew Cagney <ac131313@redhat.com>
6989
6990 * f-exp.y: Include <ctype.h>.
6991 (parse_number): Ensure that ``i'' is always initialized.
6992
9a069618
JK
69932001-02-14 Jim Kingdon <jkingdon@engr.sgi.com>
6994
6995 * MAINTAINERS: Add myself to paper trail section.
6996
fc24370e
MS
69972001-02-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
6998
6999 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
7000 * configure, config.in: Regenerate.
7001 * corelow.c: Include <sys/file.h> if present.
7002
4b69c284
AC
70032001-02-14 Andrew Cagney <ac131313@redhat.com>
7004
7005 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
7006 declare when have SIGTTOU.
7007
7904f322
EZ
70082001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
7009
7010 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
7011
9e798668
JK
70122001-02-12 Jim Kingdon <jkingdon@engr.sgi.com>
7013
7014 * MAINTAINERS: Update my email address.
7015
65d5a54a
EZ
70162001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
7017
7018 * NEWS: Document that "info symbol" works with COFF debug info and
7019 its variants.
7020
7021 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
7022 symbols whose SYMBOL_BFD_SECTION is NULL.
7023
0cff82d9 70242001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
a8079a9b
PS
7025
7026 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
7027 * xcoffsolib.c (xcoff_solib_address): Renamed from
7028 pc_load_segment_name. Return NULL if address is not in a shared
7029 library. Cleanup shared library name construction, using xasprintf.
7030 Format shared library member names consistent with format in exec.c.
7031 (solib_info): Format shared library member names consistent with
7032 format in exec.c.
7033 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
7034 using xcoff_solib_address for PC_SOLIB definition.
7035 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
7036 needed.
7037
0cff82d9 70382001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4b2e4867
PS
7039
7040 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
7041 with xmalloc calls and cleanups.
7042
0cff82d9 70432001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
d737ece6
PS
7044
7045 * rs6000-nat.c (child_xfer_memory): Add missing parameter
7046 'struct mem_attrib *' required by 2001-01-23 change.
7047
c5bb1243
JK
70482001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
7049
7050 Updates to "make TAGS":
7051 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
7052 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
7053 tahoe-tdep.c.
7054 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
7055
c799ae7b
EZ
70562001-02-08 Eli Zaretskii <eliz@is.elta.co.il>
7057
7058 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
7059
12685e01
AC
7060Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com>
7061
7062 From Dean Luick <luick@cray.com>:
7063 * defs.h (continuation): Remove unused global variable.
7064
7fcca85b
AC
7065Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com>
7066
7067 * configure.tgt: Remove references to convex, pyramid, altos and
7068 tahoe.
7069 * configure.host: Ditto.
7070 * MAINTAINERS: Ditto.
7071 * NEWS: Update.
7072
7073 * tahoe-tdep.c: Delete obsolete file.
7074 * pyr-xdep.c: Ditto.
7075 * pyr-tdep.c: Ditto.
7076 * convex-tdep.c: Ditto.
7077 * convex-xdep.c: Ditto.
7078 * config/tahoe/xm-tahoe.h: Ditto.
7079 * config/tahoe/tm-tahoe.h: Ditto.
7080 * config/tahoe/tahoe.mt: Ditto.
7081 * config/tahoe/tahoe.mh: Ditto.
7082 * config/pyr/xm-pyr.h: Ditto.
7083 * config/pyr/tm-pyr.h: Ditto.
7084 * config/pyr/pyramid.mt: Ditto.
7085 * config/pyr/pyramid.mh: Ditto.
7086 * config/m68k/xm-altos.h: Ditto.
7087 * config/m68k/tm-altos.h: Ditto.
7088 * config/m68k/altos.mt: Ditto.
7089 * config/m68k/altos.mh: Ditto.
7090 * config/convex/xm-convex.h: Ditto.
7091 * config/convex/tm-convex.h: Ditto.
7092 * config/convex/convex.mt: Ditto.
7093 * config/convex/convex.mh: Ditto.
7094 * config/convex/Convex.notes: Ditto.
7095 * config/arm/xm-arm.h: Ditto.
7096 * config/arm/nm-arm.h: Ditto.
7097 * config/arm/arm.mt: Ditto.
7098 * config/arm/arm.mh: Ditto.
7099 * arm-convert.s: Ditto.
7100 * arm-xdep.c: Ditto.
7101 * altos-xdep.c: Ditto.
7102
8e65ff28
AC
7103Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com>
7104
7105 * defs.h (internal_error, internal_verror): Add __FILE__ and
7106 __LINE__ parameter.
7107 * utils.c (internal_error, internal_verror): Update.
7108
7109 * v850-tdep.c: Update calls to internal_error.
7110 * utils.c: Ditto.
7111 * ui-out.c: Ditto.
7112 * ui-file.c: Ditto.
7113 * target.h: Ditto.
7114 * symtab.h: Ditto.
7115 * symm-nat.c: Ditto.
7116 * sparc-tdep.c: Ditto.
7117 * source.c: Ditto.
7118 * serial.c: Ditto.
7119 * rs6000-tdep.c: Ditto.
7120 * rs6000-nat.c: Ditto.
7121 * remote.c: Ditto.
7122 * remote-vx.c: Ditto.
7123 * remote-sim.c: Ditto.
7124 * remote-mips.c: Ditto.
7125 * regcache.c: Ditto.
7126 * objfiles.h: Ditto.
7127 * objfiles.c: Ditto.
7128 * mn10300-tdep.c: Ditto.
7129 * mips-tdep.c: Ditto.
7130 * maint.c: Ditto.
7131 * m68k-tdep.c: Ditto.
7132 * m3-nat.c: Ditto.
7133 * language.c: Ditto.
7134 * infptrace.c: Ditto.
7135 * inferior.h: Ditto.
7136 * infcmd.c: Ditto.
7137 * ia64-tdep.c: Ditto.
7138 * i386-tdep.c: Ditto.
7139 * i386-linux-nat.c: Ditto.
7140 * hppah-nat.c: Ditto.
7141 * go32-nat.c: Ditto.
7142 * findvar.c: Ditto.
7143 * f-lang.c: Ditto.
7144 * elfread.c: Ditto.
7145 * event-loop.c: Ditto.
7146 * dwarf2read.c: Ditto.
7147 * dsrec.c: Ditto.
7148 * d30v-tdep.c: Ditto.
7149 * d10v-tdep.c: Ditto.
7150 * cli/cli-setshow.c: Ditto.
7151 * cli/cli-script.c: Ditto.
7152 * ch-exp.c: Ditto.
7153 * breakpoint.c: Ditto.
7154 * ax-gdb.c: Ditto.
7155 * arch-utils.c: Ditto.
7156 * a29k-tdep.c: Ditto.
7157 * gdb_assert.h: Ditto.
7158 * gdbarch.sh: Ditto.
7159 * gdbarch.h, gdbarch.c: Re-generate.
7160
72290732
AC
71612001-02-07 Andrew Cagney <ac131313@redhat.com>
7162
7163 From Mark Kettenis <kettenis@gnu.org>:
7164 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
7165
a6da1910
AC
71662001-02-07 Andrew Cagney <ac131313@redhat.com>
7167
7168 * remote-sim.c (dump_mem): Cleanup printf format argument.
7169 * MAINTAINERS: Update, mn10300-elf now builds.
7170
153f9905
MK
71712001-02-07 Mark Kettenis <kettenis@gnu.org>
7172
7173 * event-top.c: Remove duplicate #include <signal.h>.
7174
f042532c
AC
71752001-02-06 Andrew Cagney <ac131313@redhat.com>
7176
7177 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
7178 allocated buffer.
7179 (save_inferior_pid): Restore the PID from that tempoary
7180 buffer. Delete the buffer.
7181 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
7182
58cfabe6
AC
71832001-02-06 Andrew Cagney <ac131313@redhat.com>
7184
7185 * MAINTAINERS: Add ``The Obvious Fix Rule''.
7186
ea8a41b8
AC
71872001-02-06 Andrew Cagney <ac131313@redhat.com>
7188
7189 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
7190
95160752
AC
71912001-02-06 Andrew Cagney <ac131313@cygnus.com>
7192
7193 * gdbarch.sh: Include "gdb_assert.h".
7194 (struct gdbarch): Change ``nr_data'' to unsigned.
7195 (alloc_gdbarch_data, free_gdbarch_data): New functions.
7196 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
7197 architecture vector.
7198 (struct gdbarch_data, struct gdbarch_data_registration): Move init
7199 method to gdbarch_data. Add free method, make index unsigned.
7200 (struct gdbarch_data_registry): Make nr unsigned.
7201 (register_gdbarch_data): Add free parameter. Store in
7202 gdbarch_data.
7203 (init_gdbarch_data): Use set_gdbarch_data.
7204 (set_gdbarch_data): New function.
7205
7206 * gdbarch.h, gdbarch.c: Re-generate.
7207
64122a8b
MS
72082001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG>
7209
7210 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
7211 fprintf_filtered with correct arguments.
7212
e6cbd02a
MS
72132001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
7214 Submitted by Paul Hilfinger (hilfingr@gnat.com)
7215 and Andrei Petrov (and@genesyslab.com).
7216 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
7217 must be allocated dynamically, since these are no longer constants.
7218 * infcmd.c: Ditto.
7219 * regcache.c: Ditto.
7220 * remote.c: Ditto.
7221 * sol-thread.c: Ditto.
7222 * valops.c: Ditto.
7223 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
7224 work-around for a missing Sun header file in solaris for sparc64.
7225
713f0374
PB
72262001-02-04 Philip Blundell <philb@gnu.org>
7227
7228 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
7229 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
7230 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
7231 GET_THREAD_SIGNALS): Define.
7232 * arm-linux-nat.c (fill_gregset): Correct type of argument.
7233 (supply_gregset): Likewise.
7234 (fill_fpregset): Likewise.
7235 (supply_fpregset): Likewise.
7236
4603e466
DT
7237Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
7238
7239 * valops.c (value_cast): If casting a scalar to a pointer, do not
7240 issue a message about truncation unless it exceeds the length of
7241 an address, not the length of a pointer. This is because what the
7242 user gives us is an address, not a pointer, and we will ultimately
7243 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
7244 to a pointer. This allows things like "print *(int *)0x01000234"
7245 to work without generating a misleading message on a target having
7246 two byte pointers and four byte addresses.
7247
554cb486
CF
72482001-02-05 Christopher Faylor <cgf@cygnus.com>
7249
7250 * win32-nat.c: Change PTR to void * throughout.
7251
042be3a9
C
72522001-02-05 J.T. Conklin <jtc@redback.com>
7253
7254 * signals.h: Removed.
7255 * event-top.c (#include <signal.h>): Changed from signals.h.
7256 * inflow.c: Likewise.
7257 * mac-xdep.c: Likewise.
7258 * ser-pipe.c: Likewise.
7259 * ser-tcp.c: Likewise.
7260 * standalone.c: Likewise.
7261 * top.c: Likewise.
7262 * utils.c: Likewise.
7263 * Makefile.in: Removed signals.h from dependencies.
7264
a4acd088
CF
72652001-02-05 Christopher Faylor <cgf@cygnus.com>
7266
7267 Change suggested by Dean Luick <luick@cray.com>
7268 * inferior.h (step_over_calls_kind): Remove trailing comma from
7269 last enum element.
7270 (step_over_calls): Declare as extern rather than global.
7271
3116c80a
EZ
72722001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7273
7274 * sh-tdep.c: Update copyright.
7275 (sh_extract_return_value): Rewrite.
7276 (sh3e_sh4_extract_return_value): New function.
7277 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
7278 version of the function for sh3e and sh4 CPUs.
7279
240be855
MC
72802001-02-05 Michael Chastain <chastain@redhat.com>
7281
7282 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
7283 to conform with interface change.
7284
a17b5c4e
EZ
72852001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
7286
32fe0950
EZ
7287 * config/djgpp/fnchange.lst: Tweak to make consistent with the
7288 new files.
7289
619cbaf7
EZ
7290 * config/djgpp/djconfig.sh: Use explicit absolute file name when
7291 invoking `find'.
7292
cd42d3a8
EZ
7293 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
7294 UART_FIFO_WORKS is defined. Otherwise use outportb.
7295 From Francisco Pastor <fpastor.etra-id@etra.es>
7296
a17b5c4e
EZ
7297 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
7298 with target.h's `to_xfer_memory' member.
7299
86ddecc5
C
73002001-02-02 J.T. Conklin <jtc@redback.com>
7301
7302 * ppc-bdm.c (#include <signal.h>): Removed.
7303 * remote-array.c: Likewise.
7304 * remote-bug.c: Likewise.
7305 * remote-e7000.c: Likewise.
7306 * remote-mips.c: Likewise.
7307 * remote-os9k.c: Likewise.
7308 * remote-st.c: Likewise.
7309 * remote-udi.c: Likewise.
7310 * remote-vx29k.c: Likewise.
7311 * remote-vx68.c: Likewise.
7312 * remote-vx960.c: Likewise.
7313 * remote-vxmips.c: Likewise.
7314 * remote-vxsparc.c: Likewise.
7315
338d7c5c
JM
73162001-02-02 John Moore <jmoore@redhat.com>
7317
7318 * remote-utils.h (sr_set_device): Changed free() to xfree() where
7319 appropriate. Also changed Copyright to include 2001.
7320 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
7321 * value.h (value_free): Likewise.
7322 * gdbarch.sh (gdbarch_free): Likewise.
7323 * gdbarch.c, gdbarch.h: Regenerated.
7324
2b5436af
JM
73252001-02-02 John Moore <jmoore@redhat.com>
7326
7327 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
338d7c5c 7328 xfree(). Also changed Copyright to include 2001.
2b5436af 7329
82467003
C
73302001-02-02 J.T. Conklin <jtc@redback.com>
7331
7332 * monitor.c (#include "gdb_wait.h"): Removed.
7333 * ocd.c: Likewise.
7334 * ppc-bdm.c: Likewise.
7335 * remote-adapt.c: Likewise.
7336 * remote-array.c: Likewise.
7337 * remote-bug.c: Likewise.
7338 * remote-e7000.c: Likewise.
7339 * remote-eb.c: Likewise.
7340 * remote-es.c: Likewise.
7341 * remote-mips.c: Likewise.
7342 * remote-mm.c: Likewise.
7343 * remote-nindy.c: Likewise.
7344 * remote-os9k.c: Likewise.
7345 * remote-rdi.c: Likewise.
7346 * remote-rdp.c: Likewise.
7347 * remote-sds.c: Likewise.
7348 * remote-sim.c: Likewise.
7349 * remote-st.c: Likewise.
7350 * remote-udi.c: Likewise.
7351 * remote-vx.c: Likewise.
7352 * remote-vx29k.c: Likewise.
7353 * remote-vx68.c: Likewise.
7354 * remote-vx960.c: Likewise.
7355 * remote-vxmips.c: Likewise.
7356 * remote-vxsparc.c: Likewise.
7357 * remote.c: Likewise.
7358 * ser-pipe.c: Likewise.
7359 * ser-unix.c: Likewise.
7360 * Makefile.in: Updated dependencies.
7361
27b82ed2
DS
73622001-01-31 David Smith <dsmith@redhat.com>
7363
7364 * event-loop.c: Change inclusion of string.h to gdb_string.h and
7365 updated the copyright notice.
7366 * ser-pipe.c: Ditto.
7367 * mi/mi-cmds.c: Ditto.
7368 * mi/mi-console.c: Ditto.
7369 * mi/mi-getopt.c: Ditto.
7370 * mi/mi-parse.c: Ditto.
7371
ab9cc815
DS
73722001-01-31 David Smith <dsmith@redhat.com>
7373
7374 * MAINTAINERS: Add David Smith to Write After Approval list.
7375
d1f4cff8
AC
7376Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com>
7377
7378 * cli/cli-utils.c (putchar_filtered): Move function from here.
7379 * utils.c (putchar_filtered): To here.
7380 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
7381 * defs.h (putchar_filtered): To here.
7382
74c1b268
AC
7383Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com>
7384
7385 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
7386 AC_FUNC_VFORK macro.
7387 * config.in, configure: Re-generate.
7388
7389 * gdb_vfork.h: New file.
7390 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
7391 * fork-child.c (fork_inferior): Ditto.
7392
4fcf66da
AC
7393Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com>
7394
7395 * defs.h (strsave): Delete declaration.
7396 * utils.c (strsave): Delete definition.
7397 * TODO (strsave): Update
7398
7399 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
7400 * sparcl-tdep.c (sparclite_open): Ditto.
7401 * mips-tdep.c (mips_set_processor_type_command): Ditto.
7402 (_initialize_mips_tdep): Ditto.
7403 * solib.c (solib_open): Ditto.
7404 * symfile.c (add_filename_language): Ditto.
7405 (set_ext_lang_command): Ditto.
7406 * source.c (init_source_path): Ditto.
7407 (mod_path): Ditto.
7408 * sh3-rom.c (sh3_open): Ditto.
7409 (sh3e_open): Ditto.
7410 * serial.c (serial_open): Ditto.
7411 * remote-mips.c (common_open): Ditto.
7412 * monitor.c (monitor_open): Ditto.
7413 * m32r-rom.c (m32r_upload_command): Ditto.
7414 * infcmd.c (path_command): Ditto.
7415 * f-exp.y (parse_number): Ditto.
7416 * breakpoint.c (create_longjmp_breakpoint): Ditto.
7417 (create_thread_event_breakpoint): Ditto.
7418 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
7419 (_initialize_arc_tdep): Ditto.
7420
e191e0ab
AC
7421Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
7422
7423 * cli/cli-script.c (define_command): Check for a bad hook value in
7424 switch statement.
7425
10214f55
C
74262001-01-30 J.T. Conklin <jtc@redback.com>
7427
7428 * configure/sh/embed.mt: New file.
7429 * configure/sh/linux.mt: New file.
7430 * configure/sh/sh.mt: Removed.
7431 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
7432 (sh-*-*): Removed.
7433
c9049fc9
MC
74342001-01-29 Michael Chastain <chastain@redhat.com>
7435
a4f30b31 7436 * symtab.c (lookup_block_symbol): Use 'namespace' parameter in
c9049fc9
MC
7437 symbol comparisons in binary search.
7438
0cff82d9 74392001-01-27 Christopher Faylor <cgf@cygnus.com>
aea02b6b
CF
7440
7441 * win32-nat.c (child_xfer_memory): Add missing argument required by
7442 2001-01-23 change.
7443
e6e0bfab
MK
74442001-01-27 Mark Kettenis <kettenis@gnu.org>
7445
7446 * ui-out.c (do_list_end): New function.
7447 (make_cleanup_ui_out_list_end): New function.
7448 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
7449 * stack.c (print_frame) [UI_OUT]: Call
7450 make_cleanup_ui_out_list_end to make sure we mark the end of the
7451 list if we do a non-local exit. At the end of the function,
7452 instead of calling ui_out_list_end directly, let do_cleanups
7453 handle it.
7454
1adeb98a
FN
74552001-01-26 Fernando Nasser <fnasser@redhat.com>
7456
7457 Fix double parsing of filenames passed as command line arguments
7458 to GDB (causes weird handling of escape characters).
7459 Also, remove dependencies on the CLI from libgdb.
7460 * call-cmds.h: Remove declaration of exec_file_command().
7461 * gdbcore.h: Remove declaration of exec_file_command().
7462 Add declarations for exec_open() and exec_file_clear().
7463 * symfile.h: Add declarations for symbol_file_add_main() and
7464 symbol_file_clear().
7465 * exec.c (exec_open): New function. Implements to_open for exec
7466 targets.
7467 (exec_file_clear): New function. Makes GDB forget about a previously
7468 specified executable file.
7469 (exec_file_attach): Move parsing of arguments from here ...
7470 (exec_file_command): ... to here.
7471 (init_exec_ops): Use exec_open(), not exec_file_command() to
7472 implement to_open for exec targets.
7473 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
7474 with default values. Used when the file name has already been parsed.
7475 (symbol_file_clear): New function. Makes GDB forget about previously
7476 read symbols.
7477 (symbol_file_command): Call the above function instead of inline code.
7478 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
7479 "call-cmds.h".
7480 (captured_main): Call exec_file_attach() and symbol_file_add_main()
7481 instead of exec_file_command() and symbol_file_command().
7482 (captured_main): Add comment.
7483 * corefile.c: Include "symfile.h".
7484 (core_file_command): Call symbol_file_add_main() instead of
7485 symbol_file_command().
7486 (reopen_exec_file): Call exec_open() instead of exec_file_command().
7487 * infcmd.c: Include "symfile.h".
7488 (attach_command): Call symbol_file_add_main() instead of
7489 symbol_file_command().
7490 * infrun.c: Remove comment about the inclusion of "symfile.h",
7491 not any longer appropriate.
7492 (follow_exec): Call symbol_file_add_main() instead of
7493 symbol_file_command().
7494 * remote-es.c: Include "symfile.h".
7495 (es1800_load): Call symbol_file_add_main() instead of
7496 symbol_file_command().
7497 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
7498 not any longer appropriate.
7499 (vx-wait): Call symbol_file_add_main() instead of
7500 symbol_file_command().
7501 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
7502 instead of symbol_file_command().
7503 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
7504 symbol_file_add_main() instead of exec_file_command() and
7505 symbol_file_command().
7506 * Makefile.in: Update dependencies.
7507
5b616ba1
JH
75082001-01-26 Jeff Holcomb <jeffh@redhat.com>
7509
7510 * remote-udi.c (udi_open): Change strdup to xstrdup.
7511 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
7512 Update copyright message.
7513 * varobj.c (delete_variable_1): Likewise.
7514
7515 * gdb_string.h: Remove declaration of strdup. Update copyright
7516 message.
7517 * config/xm-mpw.h: Likewise.
7518 * config/i386/xm-i386mach.h: Likewise.
7519 * config/m68k/xm-apollo68b.h: Likewise.
7520 * config/m68k/xm-hp300bsd.h: Likewise.
7521 * config/rs6000/xm-rs6000.h: Likewise.
7522 * config/vax/xm-vaxult.h: Remove declaration of strdup.
7523 * config/vax/xm-vaxult2.h: Likewise.
7524
b91d87cf
JH
75252001-01-26 Jeff Holcomb <jeffh@redhat.com>
7526
7527 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
7528
873406a6
C
75292001-01-25 J.T. Conklin <jtc@redback.com>
7530
7531 * target.c (target_xfer_memory_partial): Return -1 on failure due
7532 to invalid access mode attribute.
7533
0613c401
CF
75342001-01-25 Christopher Faylor <cgf@cygnus.com>
7535
7536 * win32-nat.c (_initialize_core_win32): Prototype correctly.
7537
efd59e3f
MK
75382001-01-25 Mark Kettenis <kettenis@gnu.org>
7539
7540 * config/alpha/tm-fbsd.h: Update copyright.
7541 (USE_STRUCT_CONVENTION): Define in terms of
7542 alphabsd_use_struct_convention.
7543 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
7544 * alphafbsd-tdep.c: New file.
7545
388e1ff2
FN
75462001-01-24 Fernando Nasser <fnasser@redhat.com>
7547
7548 * top.c (print_gdb_version): Update Copyright year.
7549
f4d650ec
C
75502001-01-24 J.T. Conklin <jtc@redback.com>
7551
7552 * dcache.c (dcache_write_line): Fix typo.
7553
7554 * memattr.c (delete_mem_region): Replace free() with xfree().
7555 (mem_number): Add explicit type.
7556
7557 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
7558 (rw_common): Likewise.
7559
07091751
FN
75602001-01-24 Fernando Nasser <fnasser@redhat.com>
7561
7562 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
7563 for the inferior program arguments.
7564 (run_command, run_no_args_command, init_infcmd)): Use accessor
7565 functions to set the inferior program arguments.
7566 * inferior.h: Add definitions to the accessor functions above.
7567
090c42a4
JB
75682001-01-23 Jim Blandy <jimb@redhat.com>
7569
7570 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
7571 Implement these correctly, using make_cv_type.
7572
f29d9b6d 75732001-01-23 J.T. Conklin <jtc@redback.com>
29e57380
C
7574
7575 * exec.c (xfer_memory): Add attrib argument.
7576 * infptrace.c (child_xfer_memory): Likewise.
e5da8f38 7577 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
29e57380
C
7578 * monitor.c (monitor_xfer_memory): Likewise.
7579 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
7580 * remote-array.c (array_xfer_memory): Likewise.
7581 * remote-bug.c (bug_xfer_memory): Likewise.
7582 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
7583 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
7584 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
7585 * remote-mips.c (mips_xfer_memory): Likewise.
7586 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
7587 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
7588 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
7589 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
7590 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
7591 * remote-sds.c (sds_xfer_memory): Likewise.
7592 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
7593 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
7594 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
7595 * remote-vx.c (vx_xfer_memory): Likewise.
7596 * remote.c (remote_xfer_memory): Likewise.
7597 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
7598 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
e5da8f38 7599 * thread-db.c (thread_db_xfer_memory): Likewise.
29e57380
C
7600
7601 * target.h (#include "memattr.h"): Added.
7602 (target_ops.to_xfer_memory): Add attrib argument.
7603
7604 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
7605 * dcache.h (set_dcache_state): Removed declaration.
7606 * dcache.c (set_dcache_state): Removed definition
7607
7608 * dcache.c: Update module comment, as dcache is now enabled and
7609 disabled with memory region attributes instead of by the global
7610 variable "remotecache". Add comment describing the interaction
7611 between dcache and memory region attributes.
7612 (dcache_xfer_memory): Add comment describing benefits of moving
7613 cache writeback to a higher level.
7614 (dcache_struct): Removed cache_has_stuff field. This was used to
7615 record whether the cache had been accessed in order to invalidate
7616 it when it was disabled. However, this is not needed because the
7617 cache is write through and the code that enables, disables, and
7618 deletes memory regions invalidate the cache. Add comment which
7619 suggests that we could be more selective and only invalidate those
7620 cache lines containing data from those memory regions.
7621 (dcache_invalidate): Updated.
7622 (dcache_xfer_memory): Updated.
f29d9b6d 7623
29e57380
C
7624 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
7625 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
7626 perform a uncached transfer if dcache_enabled_p was clear. This
7627 function is now only called if caching is enabled for the memory
7628 region.
7629 (dcache_info): Always print cache info.
7630
7631 * target.c (do_xfer_memory): Add attrib argument.
7632 (target_xfer_memory, target_xfer_memory_partial): Break transfer
7633 into chunks defined by memory regions, pass region attributes to
7634 do_xfer_memory().
7635 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
7636
7637 * Makefile.in (SFILES): Add memattr.c.
7638 (COMMON_OBS): Add memattr.o.
7639 (dcache.o): Add target.h to dependencies.
7640 * memattr.c: New file.
7641 * memattr.h: Likewise.
7642
f29d9b6d
C
7643 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
7644 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
7645 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
7646 * gdbserver/low-sim.c (#include "defs.h"): Removed.
7647 (mygeneric_load): Rename from generic_load.
7648
7649 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
7650 (#include "defs.h"): Removed.
7651 (inferior_pid, perror_with_name): Remove declarations.
7652 * gdbserver/low-linux.c: Likewise.
7653 * gdbserver/low-nbsd.c: Likewise.
7654 * gdbserver/low-sparc.c: Likewise.
7655 * gdbserver/low-sun3.c: Likewise.
7656
7657 * i386-stub.c: Re-indent.
7658 * m68k-stub.c: Re-indent.
7659
58d5518e
ND
76602001-01-22 Nicholas Duffek <nsd@redhat.com>
7661
7662 * gdbarch.sh (PARM_BOUNDARY): Define.
7663 * gdbarch.c: Regenerate.
7664 * gdbarch.h: Regenerate.
7665
f6427ade
C
76662001-01-22 J.T. Conklin <jtc@redback.com>
7667
7668 * ns32k-tdep.c: #include "frame.h"
7669 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
7670 appears to have been inadvertantly removed sometime in May 1999.
7671
7672 * Revert 2000-11-09 changes where shared library objects were
7673 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
7674 we'd like to be able to debug dynamically linked executables,
7675 this makes it impossible to build a cross debugger on a many
7676 hosts.
7677
7678 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
7679 * config/i386/nbsdelf.mt: Likewise.
7680 * config/m68k/nbsd.mt: Likewise.
7681 * config/ns32k/nbsd.mt: Likewise.
7682 * config/powerpc/nbsd.mt: Likewise.
7683 * config/sparc/nbsd.mt: Likewise.
7684 * config/sparc/nbsdelf.mt: Likewise.
7685 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
7686 * config/i386/nbsdelf.mh: Likewise.
7687 * config/m68k/nbsd.mh: Likewise.
7688 * config/ns32k/nbsd.mh: Likewise.
7689 * config/powerpc/nbsd.mh: Likewise.
7690 * config/sparc/nbsd.mh: Likewise.
7691
8052a17a
JM
76922001-01-19 Jason Merrill <jason@redhat.com>
7693
7694 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
7695 (process_one_symbol): Likewise.
7696 * dwarfread.c (handle_producer): Likewise.
7697
21a6f6bb
AC
7698Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
7699
7700 * configure.in (build_warnings): Disable -Wuninitialized until GDB
7701 compiles with -Wuninitialized,-Werror.
7702 * configure: Regenerate.
7703
7704 * MAINTAINERS: Add list of buildable targets.
7705
494b7ec9
AC
7706Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
7707
7708 * defs.h (STRCMP): Delete macro.
7709
7710 * objfiles.c (objfile_relocate): Replace STRCMP with call to
7711 strcmp.
7712 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
7713 * symfile.c (compare_symbols): Ditto.
7714 * standalone.c (open): Ditto.
7715 * remote-es.c (verify_break): Ditto.
7716 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
7717
7718 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
7719
8038e1e2
AC
7720Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
7721
7722 * varobj.c (FREEIF): Delete macro.
7723 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
7724 call.
7725
ea8d0b28
NC
77262001-01-18 Nick Clifton <nickc@redhat.com>
7727
7728 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
7729 (arc_print_insn): No bfd available, so pass NULL to
7730 arc_get_disassembler.
7731
5dbd9048
JB
77322001-01-09 James Ingham <jingham@inghji.apple.com>
7733
7734 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
7735 a mangled symbol rather than recursing into lookup_symbol, since
7736 this will just re-unmangle the name & call lookup_symbol_aux -
7737 leading to an infinite recursion.
7738
28ae27b1
MK
77392001-01-18 Mark Kettenis <kettenis@gnu.org>
7740
7741 * infcmd.c (print_return_value): Restore another space lost by
7742 switch to UIOUT. ``$NN='' should be ``$NN =''.
7743
6ab3a9c9
AC
7744Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
7745
7746 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
7747 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
7748 definition in parenthesis.
7749
ad6525fc
AC
7750Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
7751
7752 From 2000-10-27 Mark Salter <msalter@redhat.com>:
7753 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
7754 packet.
7755 (remote_insert_hw_breakpoint): Ditto.
7756
6259c7e2
C
77572001-01-17 J.T. Conklin <jtc@redback.com>
7758
7759 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
9c95b27f 7760 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
6259c7e2
C
7761 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
7762 * m68knbsd-tdep.c: New file.
7763
7764 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
7765
7766 * m68knbsd-nat.c: #include gdbcore.h.
7767
abdcb2a5
AC
7768Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
7769
7770 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
7771
e7a8479f
MS
77722001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
7773
aaeb7efa
MS
7774 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
7775 goes away -- just return false (ie. not stopped by watchpoint).
e7a8479f
MS
7776 * source.c (openp): Fix typo in comment.
7777
7036d6ce
ND
77782001-01-12 Nicholas Duffek <nsd@redhat.com>
7779
7780 * blockframe.c (generic_get_saved_register): Spelling fix.
7781 * frame.h (FRAME_FP): Spelling fix.
7782
9549d9c1
AC
7783Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
7784
7785 * infcmd.c (print_return_value): Restore space lost by switch to
7786 UIOUT. ``$NN='' should be ``$NN =''.
7787
7302a204
ND
77882001-01-08 Nicholas Duffek <nsd@redhat.com>
7789
7790 * regcache.c (set_register_cached, register_buffer,
7791 real_register, pseudo_register fetch_register, store_register):
7792 New functions.
7793 (register_changed, read_relative_register_raw_bytes_for_frame,
7794 registers_changed, registers_fetched, read_register_bytes,
7795 read_register_gen, write_register_gen, read_register,
7796 read_signed_register, write_register, supply_register): Replace
7797 register_valid[] with register_cached() and
7798 set_register_cached().
7799 (read_register_bytes, read_register_gen, write_register_gen,
7800 read_register, read_signed_register, write_register,
7801 supply_register): Replace registers[] with register_buffer().
7802 (read_register_bytes, read_register_gen, read_register,
7803 read_signed_register): Call fetch_register().
7804 (write_register_gen, write_register): Call real_register() and
7805 store_register().
7806 (write_register_bytes): Call store_register().
7807 * value.h (set_register_cached, register_buffer): Prototype.
7808 * remote.c (remote_fetch_registers): Allocate regs[] with a
7809 run-time size. Replace register_valid[] with
7810 set_register_cached().
7811 (store_register_using_P, remote_store_registers): Replace
7812 registers[] with register_buffer().
7813
5ebd2499
ND
78142001-01-08 Nicholas Duffek <nsd@redhat.com>
7815
7816 * regcache.c: Change "write-back" comment to "write-through".
7817 Change "regno" to "regnum".
7818 (read_register, read_signed_register): Remove "raw" from return
7819 value description.
7820 (supply_register): Spelling fix.
7821 * value.h: Change "regno" to "regnum".
7822
1302fd5e
FN
78232001-01-08 Fernando Nasser <fnasser@redhat.com>
7824
7825 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
7826 to be installed.
7827
9dcb560c
MS
78282001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
7829
7830 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
7831
0e2fb98e
ND
78322001-01-04 Nicholas Duffek <nsd@redhat.com>
7833
7834 * valops.c (VALUE_SUBSTRING_START): Delete.
7835
12cf3f1b
ND
78362001-01-04 Nicholas Duffek <nsd@redhat.com>
7837
7838 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
7839 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
7840 (cli_utils_h): New variable.
7841 (cli/cli-utils.o): New rule.
7842 * cli/cli-utils.c: New file.
7843 * cli/cli-utils.h: New file.
7844
cc533b9d
ND
78452001-01-04 Nicholas Duffek <nsd@redhat.com>
7846
7847 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
7848 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
7849
ad2a4d09
C
78502001-01-03 J.T. Conklin <jtc@redback.com>
7851
7852 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
7853 comment.
7854
8140e7ac
MS
78552001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
7856
3116c80a
EZ
7857 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
7858 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
d19b71be 7859 non-float types.
779e876b 7860 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
72e22353
MS
7861 Update copyright notice.
7862
15f33b66 7863For older changes see ChangeLog-2000
c906108c
SS
7864\f
7865Local Variables:
7866mode: change-log
7867left-margin: 8
7868fill-column: 74
7869version-control: never
7870End:
This page took 1.166948 seconds and 4 git commands to generate.