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