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