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