Add entry for change in solib-osf.c (osf_in_dynsym_resolve_code).
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
ad98fdaf
JB
12001-06-28 Joel Brobecker <brobecker@act-europe.fr>
2
3 * solib-osf.c (osf_in_dynsym_resolve_code): Add a comment
4 explaining the consequences of always returning zero. No code
5 change.
6
49dd83ba
AC
72001-06-28 Andrew Cagney <ac131313@redhat.com>
8
9 From 2001-06-08 Daniel Jacobowitz <djacobowitz@mvista.com>:
10 * defs.h (enum target_signal): Add TARGET_SIGNAL_REALTIME_65
11 to TARGET_SIGNAL_REALTIME_127.
12 * target.c (struct signals): Add SIG63 to SIG127.
13 (target_signal_from_host): Handle up to 127 signals.
14 (do_target_signal_to_host): Likewise.
15
29372230
AC
162001-06-27 Andrew Cagney <ac131313@redhat.com>
17
18 * remote-sds.c (sds_start_remote): Change type of ``c'' to int
19 from possibly unsigned char.
20
a196c81c
AC
212001-06-27 Andrew Cagney <ac131313@redhat.com>
22
23 * ser-ocd.c: Delete file.
24 * Makefile.in (ALLDEPFILES): Remove ser-ocd.c
25 (ser-ocd.o): Delete target.
26 * TODO: Update.
27 * NEWS: Update.
28
e7745bde
AC
292001-06-27 Andrew Cagney <ac131313@redhat.com>
30
31 * MAINTAINERS (Write After Approval): Sort.
f4c100a7 32 (Past Maintainers): Daniel Berlin stepped down as C++ maintainer.
e7745bde 33
d7faa9e7
AC
342001-06-26 Andrew Cagney <ac131313@redhat.com>
35
36 * breakpoint.c (breakpoint_1): Always output the breakpoint
37 headings. Leave it to ui-out to decide which
38
68c81b54
AC
392001-06-25 Andrew Cagney <ac131313@redhat.com>
40
41 * stack.c (print_frame): For ui_out, output a list of arguments.
42
834091c8
KB
432001-06-25 Kevin Buettner <kevinb@redhat.com>
44
45 * MAINTAINERS (paper trail): Update.
46
ef5cf84e
MS
472001-06-25 Michael Snyder <msnyder@redhat.com>
48
49 * infrun.c: Eliminate the "thread_step_needed" state variable,
50 and replace it with a relatively simple test in resume.
51 (resume): Replace thread_step_needed logic with a test for
52 stepping, breakpoint_here_p and breakpoints_inserted.
53 Move CANNOT_STEP_BREAKPOINT logic to after thread_step logic.
54 (proceed): Discard thread_step_needed logic.
55 (wait_for_inferior, fetch_inferior_event, handle_inferior_event):
56 Discard thread_step_needed logic.
57
cb90e81a
FN
582001-06-24 Fernando Nasser <fnasser@redhat.com>
59
60 * remote-rdi.c (arm_rdi_wait): Fix return type in prototype.
61 * rdi-share/host.h: Add missing parenthesis in conditional.
62
39812ceb
C
632001-06-22 J.T. Conklin <jtc@redback.com>
64
65 * configure.in: include nlist.h when checking for member som_addr
66 in struct so_map.
67 * configure: regenerate.
68
8d2139f3
KS
692001-06-21 Keith Seitz <keiths@redhat.com>
70
71 * cli-out.c (cli_out_new): Initialize new structure member
72 "suppress_output".
73
b25959ec
AC
742001-06-20 Andrew Cagney <ac131313@redhat.com>
75
76 * ui-out.h (ui_out_table_header): Add parameter ``col_name''.
77 (table_header_ftype): Ditto.
78 * cli-out.c (cli_table_header): Update.
79 * ui-out.c (ui_out_table_header): Update.
80 (uo_table_header): Update.
81 (default_table_header): Update.
82 (append_header_to_list): Update.
83 (struct ui_out_header): Add field ``col_name''.
84 (append_header_to_list): Use xstrdup. Initialize col_name.
85 * breakpoint.c (breakpoint_1): Pass COL_NAME to
86 ui_out_table_header.
87
698384cd
AC
882001-06-19 Andrew Cagney <ac131313@redhat.com>
89
90 * cli-out.c: Include "gdb_assert.h'.
91 (struct ui_out_data): Add field ``suppress_output.
92 (cli_table_begin): When NR_ROWS is zero, suppress_output.
93 (cli_table_end): Clear suppress_output.
94 (cli_table_body): Check suppress_output.
95 (cli_table_header, cli_begin): Ditto.
96 (cli_end, cli_field_int, cli_field_skip): Ditto.
97 (cli_field_string, cli_field_fmt, cli_spaces): Ditto.
98 (cli_text, cli_message, cli_wrap_hint): Ditto.
99 * breakpoint.c (breakpoint_1): Close the ui_out table before
100 printing the breakpoint not found message.
101
d63f1d40
AC
1022001-06-18 Andrew Cagney <ac131313@redhat.com>
103
104 * ui-out.c (ui_out_table_begin): Add parameter ``nr_rows''.
105 (default_table_begin): Ditto.
106 (uo_table_begin): Ditto.
107 * cli-out.c (cli_table_begin): Ditto.
108 * ui-out.h (ui_out_table_begin): Update
109 (table_begin_ftype): Update.
110 * breakpoint.c (breakpoint_1): Pass nr_printable_breakpoints to
111 ui_out_table_begin.
112
7f3b0473
AC
1132001-06-16 Andrew Cagney <ac131313@redhat.com>
114
115 * breakpoint.c (breakpoint_1): Restructure. Compute the
116 nr_printable_breakpoints. Move the header output to before the
117 main print breakpoints loop.
118 (user_settable_breakpoint): New function.
119
b30bf9ee
AC
1202001-06-18 Andrew Cagney <ac131313@redhat.com>
121
122 * infrun.c, breakpoint.c: Use strncmp as the "mi" test. Allow,
123 "mi", "mi0" and "mi1".
124
83905903
AC
1252001-06-17 Andrew Cagney <ac131313@redhat.com>
126
127 * gdbarch.sh: Generate an error when conflicting macro
128 definitions. Generate an error when both pure multi-arch and
129 "tm.h".
130 * gdbarch.h, gdbarch.c: Regenerate.
131 * defs.h (GDB_MULTI_ARCH_TM): Rewrite definition.
132
c2202abf
AC
1332001-06-17 Andrew Cagney <ac131313@redhat.com>
134
135 * config/sparc/tm-sun4sol2.h (GDB_MULTI_ARCH): Down grade to
136 GDB_MULTI_ARCH_PARTIAL from two.
137
0d70f41b
FN
1382001-06-17 Fernando Nasser <fnasser@redhat.com>
139
140 From 2001-06-15 Eirik Fuller <eirik@hackrat.com>
141 * cli/cli-script.c (free_command_lines): Reset list pointer.
142
7824d2f2
AC
1432001-06-16 Andrew Cagney <ac131313@redhat.com>
144
145 * arch-utils.c (init_frame_pc_default): New function
146 * arch-utils.h (init_frame_pc_default): Declare.
147 * gdbarch.sh (INIT_FRAME_PC): Default to init_frame_pc_default and
148 not init_frame_pc_noop.
149 * gdbarch.h, gdbarch.c: Re-generate.
150 * blockframe.c (INIT_FRAME_PC): Delete macro definition.
151 * mips-tdep.c (mips_gdbarch_init): Set init_frame_pc to
152 init_frame_pc_noop.
153
1622c8f7
AC
1542001-06-16 Andrew Cagney <ac131313@redhat.com>
155
156 * gdbarch.c: Regenerate. Out-of-sync with gdbarch.sh.
157
01fb7433
AC
1582001-06-15 Andrew Cagney <ac131313@redhat.com>
159
160 * gdbarch.sh (CANNOT_FETCH_REGISTER): Multi-arch.
161 (CANNOT_STORE_REGISTER): Ditto.
162 * infptrace.c (CANNOT_FETCH_REGISTER): Delete definition.
163 (CANNOT_STORE_REGISTER): Ditto.
164 * regcache.c (CANNOT_STORE_REGISTER): Ditto.
165 * lynx-nat.c (CANNOT_STORE_REGISTER): Ditto.
166 * arch-utils.h (cannot_register_not): Define.
167 * arch-utils.c (cannot_register_not): Declare.
168
10312cc4
AC
1692001-06-15 Andrew Cagney <ac131313@redhat.com>
170
171 * gdbarch.sh: Clarify pre/post default
172 (INIT_FRAME_PC_FIRST, INIT_FRAME_PC): Multiarch.
173 * blockframe.c (get_prev_frame): Remove #ifdef from around
174 INIT_FRAME_PC_FIRST call.
175 * arch-utils.c (init_frame_pc_noop): Define.
176 * arch-utils.h (init_frame_pc_noop): Declare.
177 * config/mips/tm-mips.h (INIT_FRAME_PC_FIRST): Delete.
178 (INIT_FRAME_PC, mips_init_frame_pc_first): Ditto.
179 * mips-tdep.c (mips_init_frame_pc_first): Make static.
180 (mips_gdbarch_init): Initialize init_frame_pc_first.
181 (mips_dump_tdep): Update.
182
dd80620e
MS
1832001-06-15 Michael Snyder <msnyder@redhat.com>
184
185 * infrun.c (context_switch): New function. Abstract the operation
186 of saving and restoring infrun's state when switching threads.
187 (handle_inferior_event): Normalize the handling of the 'thread hop'
188 event (when the wrong thread hits a thread-specific breakpoint,
189 and we need to solo-step that thread past the breakpoint).
190 Call keep_going, instead of target_resume. Handle the subsequent
191 singlestep-trap as a normal event instead of just resuming.
192
875e1767
AC
1932001-06-15 Andrew Cagney <ac131313@redhat.com>
194
195 * arch-utils.c (core_addr_identity): New function. Rename
196 default_convert_from_func_ptr_addr.
197 * gdbarch.sh (CONVERT_FROM_FUNC_PTR_ADDR): Update.
198 (ADDR_BITS_REMOVE): Define. Default to core_addr_identity.
199 * defs.h (ADDR_BITS_REMOVE): Delete macro definition.
200 * config/mips/tm-mips.h (ADDR_BITS_REMOVE): Delete definition.
201 * mips-tdep.c (mips_addr_bits_remove): Make static.
202 (mips_gdbarch_init): Initialize addr_bits_remove.
203
4009c677
AC
2042001-06-15 Andrew Cagney <ac131313@redhat.com>
205
206 From 2001-02-26 D.J. Barrow <djbarrow@de.ibm.com>:
207 * configure.tgt: Add S/390 31 & 64 bit target configuration.
208 * configure.host: Ditto for host.
209
d6dd581e
AC
2102001-06-15 Andrew Cagney <ac131313@redhat.com>
211
212 * gdbarch.sh (EXTRACT_STRUCT_VALUE_ADDRESS_P): Delete definition.
213 (EXTRACT_STRUCT_VALUE_ADDRESS): Change to a function with
214 predicate.
215 * gdbarch.h, gdbarch.c: Regenerate.
216 * values.c (value_being_returned): Change the reference to
217 EXTRACT_STRUCT_VALUE_ADDRESS_P to a function call.
218
09843d7f
JB
2192001-06-15 Joel Brobecker <brobecker@act-europe.fr>
220
221 * MAINTAINERS: Add Paul Hilfinger and Joel Brobecker to the
222 Write After Approval list.
223
dc8acb97
MS
2242001-06-14 Michael Snyder <msnyder@redhat.com>
225
226 * remote.c (show_remote_protocol_qSymbol_packet_cmd,
227 set_remote_protocol_qSymbol_packet_cmd): New functions.
228 (init_all_packet_configs, show_remote_cmd): Add qSymbol packet.
229 (remote_check_symbols): New function. Implement qSymbol packet,
230 allowing target to request symbol lookup service from gdb.
231 (remote_open_1, remote_async_open_1): Call remote_check_symbols,
232 allowing symbol lookup from exec_bfd on connection to target.
233 (remote_new_objfile): New function. Catch new objfile notifications
234 from shared library module, and call remote_check_symbols.
235 (_initialize_remote): Hook remote_new_objfile into the shared
236 library notification chain. Add "set remote symbol-lookup" command.
237
578c1fe6
KS
2382001-06-14 Keith Seitz <keiths@redhat.com>
239
240 * tracepoint.c (trace_command): We now have tracepoint
241 events. Get rid of those ugly hooks.
242 (tracepoint_operation): Likewise.
243 (trace_pass_command): Likewise.
244
6c0d3f6a
MS
2452001-06-13 Michael Snyder <msnyder@redhat.com>
246
247 * gdbthread.h (struct thread_info): Add new fields:
248 current_line, current_symtab, step_sp, for saved infrun state.
249 * thread.c (save_infrun_state, load_infrun_state): Save and
250 restore current_line, current_symtab, and step_sp.
251 (add_thread): Rather than adding assignments to initialize
252 the new fields, just use memset (tp, 0, sizeof (*tp).
253 This way future new fields will not be overlooked.
254 * infrun.c (handle_inferior_event): Save and restore save_sp,
255 current_line, and current_symtab when switching threads.
256
16075ace
EZ
2572001-06-13 Elena Zannoni <ezannoni@redhat.com>
258
259 * MAINTAINERS: Add Andrew Cagney as co-maintainer of
260 testsuite/gdb.mi.
261
31889e00
AC
2622001-06-11 Andrew Cagney <ac131313@redhat.com>
263
264 * symtab.c (lookup_symtab_1): Replace basename with lbasename.
265 (lookup_partial_symtab, file_matches): Ditto.
266 (make_source_files_completion_list): Ditto.
267 (make_file_symbol_completion_list): Ditto. Make local char*
268 variable ``tail'' constant.
269 (make_source_files_completion_list): Ditto with ``base_name''.
270 * source.c (open_source_file): Use lbasename. Make ``p'' const
271 char *.
272
4ac40b29
EZ
2732001-06-13 Eli Zaretskii <eliz@is.elta.co.il>
274
275 * config/i386/xm-go32.h (SLASH_P, ROOTED_P, SLASH_CHAR)
276 (SLASH_STRING): Remove unised definitions.
277 * config/i386/xm-cygwin.h: Likewise.
278
6b28c186
AC
2792001-06-12 Andrew Cagney <ac131313@redhat.com>
280
281 * ui-out.c (ui_out_list_begin): Add parameter ``id''.
282 (make_cleanup_ui_out_list_begin_end): Ditto. Open the list.
283 * ui-out.h: Update declarations.
284
1f8cc6db
AC
285Mon Jun 11 17:26:43 2001 Andrew Cagney <cagney@b1.cygnus.com>
286
287 * source.c (openp): Make parameters ``path'' and ``string''
288 constant.
289 (openp): Use alloca to safely duplicate ``string''. Make local
290 variables ``p'' and ``p1'' constant. Delete char* casts.
291 * defs.h: Update.
292
293 * symtab.c (lookup_symtab_1): Make parameter ``name'' constant.
294 (lookup_symtab, lookup_partial_symtab): Ditto.
295 * symtab.h (lookup_symtab, lookup_partial_symtab): Update.
296
88379baf
AC
2972001-06-11 Andrew Cagney <ac131313@redhat.com>
298
299 * ui-out.h (ui_out_table_begin): Make char* parameters constant.
300 (ui_out_table_header, ui_out_field_int): Ditto.
301 (ui_out_field_core_addr, ui_out_field_string): Ditto.
302 (ui_out_field_stream, ui_out_field_fmt): Ditto.
303 (ui_out_field_skip, ui_out_text, ui_out_message): Ditto.
304 * ui-out.c (ui_out_table_begin, ui_out_table_header): Update.
305 (ui_out_field_core_addr, ui_out_field_stream): Update.
306 (ui_out_field_string, ui_out_field_fmt): Update.
307 (ui_out_text, ui_out_message): Update.
308 (append_header_to_list): Make char* parameters constant.
309 (uo_table_header, uo_table_begin): Ditto.
310 (uo_field_int, uo_field_skip): Ditto.
311 (uo_field_string, uo_field_fmt): Ditto.
312 (uo_text, uo_message): Ditto.
313
c94fdfd0
EZ
3142001-06-11 Eli Zaretskii <eliz@is.elta.co.il>
315
316 * completer.c (gdb_completer_loc_break_characters): New variable.
317 (line_completion_function): If we are completing on locations,
318 back up the start of word pointer past all characters which can
319 appear in a location spec.
320 (location_completer): New function.
321
322 * completer.h: Add prototype for location_completer.
323
324 * symtab.c (make_source_files_completion_list)
325 (add_filename_to_list, not_interesting_fname): New functions.
326 (filename_seen): New function, body extracted from
327 output_source_filename.
328 (output_source_filename): Call filename_seen to check if the file
329 was already printed.
330 (make_symbol_completion_list): If TEXT includes a
331 double-quoted string, return an empty list, not NULL.
332 (make_file_symbol_completion_list): New function, similar to
333 make_symbol_completion_list but with an additional argument
334 SRCFILE.
335
336 * symtab.h (make_file_symbol_completion_list)
337 (make_source_files_completion_list): Add prototypes.
338
339 * breakpoint.c (_initialize_breakpoint): Make location_completer
340 be the completion function for all commands which set breakpoints
341 and watchpoints.
342 (top-level): #include "completer.h".
343
344 * tracepoint.c (_initialize_tracepoint): Make location_completer
345 be the completion function for the "trace" command.
346 (top-level): #include "completer.h".
347
348 * printcmd.c (_initialize_printcmd): Make location_completer be
349 the completion function for the "print", "inspect", "call", and
350 "disassemble" commands.
351 (top-level): #include "completer.h".
352
353 * infcmd.c (_initialize_infcmd): Make location_completer be the
354 completion function for the "go", "jump", and "until" commands.
355 (top-level): #include "completer.h".
356
0b6a968e
CF
3572001-06-10 Christopher Faylor <cgf@redhat.com>
358
359 * gnu-regex.c: Eliminate obsolete check for _MSC_VER.
360 * utils.c (notice_quit): Remove dummy function only used for _MSC_VER.
361 * values.c (unpack_double): Remove obsolete check for _MSC_VER.
362 * defs.h: Ditto.
363 * m32r-rom.c: Ditto.
364 * p-exp.y: Ditto.
365 * ser-e7kpc.c: Ditto. Define WIN32_LEAN_AND_MEAN under _WIN32, for
366 faster compilation.
367 (get_ds_base): Remove _MSC_VER version of this function.
67bfdb89
CF
368 * nindy-share/ttyflush.c: Ditto.
369 * rdi-share/host.h: Ditto.
0b6a968e
CF
370 * ser-go32.c (dos_readchar): Remove call to obsolete function.
371 * remote-sim.c (gdb_os_poll_quit): Ditto.
372 * remote-e7000.c (expect): Remove obsolete #if 0'ed code.
373
374 * main.c (captured_main): Eliminate special Cygwin checks.
375 * ser-tcp.c: Remove unneeded __CYGWIN__ guard against system include.
376
e2e11a41
AC
3772001-06-09 Andrew Cagney <ac131313@redhat.com>
378
bf5efbab
AC
379 * Makefile.in (gdbcmd_h): Add ui_out_h.
380 (breakpoint.o, infcmd.o, main.o, printcmd.o, stack.o): Ditto.
381 (thread.o, top.o): Ditto.
382
e2e11a41
AC
383 * ui-out.h (table_begin_ftype): Make string parameters constant.
384 (table_header_ftype): Ditto.
385 (field_int_ftype): Ditto.
386 (field_skip_ftype): Ditto.
387 (field_string_ftype): Ditto.
388 (field_fmt_ftype): Ditto.
389 (text_ftype): Ditto.
390 (message_ftype): Ditto.
391 * cli-out.c (cli_table_begin): Ditto.
392 (cli_table_header): Ditto.
393 (cli_field_int): Ditto.
394 (cli_field_skip): Ditto.
395 (cli_field_string): Ditto.
396 (cli_field_fmt): Ditto.
397 (cli_text): Ditto.
398 (cli_message): Ditto.
399 (out_field_fmt): Ditto.
400 * ui-out.c (default_table_begin): Ditto.
401 (default_table_header): Ditto.
402 (default_field_int): Ditto.
403 (default_field_skip): Ditto.
404 (default_field_string): Ditto.
405 (default_field_fmt): Ditto.
406 (default_text): Ditto.
407 (default_message): Ditto.
408
2e663524
MS
4092001-06-08 Michael Snyder <msnyder@redhat.com>
410
411 * breakpoint.c (delete_breakpoint): Pass mark_inserted to
412 remove_breakpoint, so that the subsequent test for
413 bpt->inserted will succeed, and duplicates will be fixed up.
414
bebd888e
PB
4152001-06-08 Per Bothner <per@bothner.com>
416
417 * dwarf2read.c (set_cu_language): Handle DW_LANG_Java.
418
8f45b7fe
KS
4192001-06-07 Keith Seitz <keiths@redhat.com>
420
421 * tracepoint.c (tracepoint_opertation): Add ui event
422 notifications.
423 (trace_pass_command): Ditto.
424
b76a2a57
AC
4252001-06-07 Andrew Cagney <ac131313@redhat.com>
426
427 * MAINTAINERS (Write After Approval): Note the entry criteria.
a4f1e24f 428 (HP/PA): Jeff Law stepped down
b76a2a57 429
72e74a21
JB
4302001-06-07 Jim Blandy <jimb@redhat.com>
431
432 * gdbarch.sh: Make sure that '[' doesn't interpret interesting
433 variable values as operators.
434
8c6ee715
KS
4352001-06-07 Keith Seitz <keiths@redhat.com>
436
437 * gdb-events.sh: Fix quote escaping which was obsoleted
438 by last patch.
439
9e791099
KS
4402001-06-07 Keith Seitz <keiths@redhat.com>
441
442 * gdb-events.sh: Make if statements and tests
443 a little more portable.
444 Don't use shell's echo command to put strings containing
445 escaped characeters into a file -- different flavors of /bin/sh
446 require differnt levels of escaping. Use cat <<EOF instead.
447 Our internal field separator is a colon. Change all
448 commands which assume it is a space.
449
fce0e6e1
MK
4502001-06-06 Mark Kettenis <kettenis@gnu.org>
451
452 * lin-lwp.c (struct lwp_info): Add member `resumed'.
453 (iterate_over_lwps): Make sure we can handle CALLBACK deleting the
454 LWP it's called for.
455 (lin_lwp_attach): Mark LWP as resumed to make sure the fake
456 SIGSTOP is reported.
457 (resume_clear_callback): New function.
458 (resume_set_callback): New function.
459 (lin_lwp_resume): Mark all LWP's that we're going to resume as
460 resumed, and unmark all others.
461 (status_callback): Only report a pending wait status if we pretend
462 that LP has been resumed.
463 (resumed_callback): New function.
464 (lin_lwp_wait): Add assertions to check that LWP's are properly
465 marked as resumed. Partially revert 2001-05-25 patch by Michael
466 Snyder: do not resume all threads. Add comment explaining the
467 problems associated with this bit of code.
468
54403c59
KS
4692001-06-07 Keith Seitz <keiths@redhat.com>
470
471 * MAINTAINTERS: Syd Polk is stepping down from
472 maintaining libgui. I am replacing him.
473
1d06468c
EZ
4742001-06-07 Eli Zaretskii <elis@is.elta.co.il>
475
476 * config/mips/tm-irix6.h: New file.
477
478 * config/mips/irix6.mh: New file.
479
480 * config/mips/irix6.mt: New file.
481
482 * config/mips/xm-irix6.h: New file.
483
484 * config/mips/nm-irix6.h: New file.
485
486 * mips-tdep.c (mips_gdbarch_init) <MIPS_ABI_N32>: Set up the
487 disassembler info in tm_print_insn_info as appropriate for the N32
488 ABI. Force N32 ABI to be the default if the CPU is R8000 or
489 R10000.
490
491 * configure.tgt (mips*-sgi-irix6*): Map to irix6.
492
493 * configure.host (mips*-sgi-irix6*): Ditto.
494
3d499020
AC
4952001-06-07 Andrew Cagney <ac131313@redhat.com>
496
497 * gnu-v3-abi.c: Include "gdb_assert.h".
498 (build_gdb_vtable_type): Replace abort() with gdb_assert().
499
ceaa8edf
JB
5002001-06-06 Jim Blandy <jimb@redhat.com>
501
c5f5341b
JB
502 * cp-abi.h: Rearrange code to put documentation comments above the
503 functions we export. The actual function table itself simply
504 refers to those functions. Minor doc fixes.
505
ceaa8edf
JB
506 * gdbarch.sh: Changes to effect the following:
507 * gdbarch.c (initialize_non_multiarch): New function.
508 * gdbarch.h (initialize_non_multiarch): New declaration.
509 * arch-utils.c (initialize_current_architecture): For
510 non-multiarch configurations, call initialize_non_multiarch.
511
0cd64fe2
AC
5122001-06-06 Andrew Cagney <ac131313@redhat.com>
513
514 * symfile.c (compare_psymbols): Replace PTR with void*. Delete
515 declaration.
516 (compare_symbols): Ditto.
517
8849f47d
JL
5182001-06-06 Jonathan Larmour <jlarmour@redhat.com>
519
520 * arch-utils.c (generic_prepare_to_proceed): Allow for having
521 stopped due to a Ctrl-C as well as breakpoints.
522
523 * hppa-tdep.c (hppa_prepare_to_proceed): Add FIXME as this may not
524 support thread switches after Ctrl-C.
525 * lin-lwp.c (lin_lwp_prepare_to_proceed): Ditto.
526 * linux-thread.c (linuxthreads_prepare_to_proceed): Ditto.
527 * m3-nat.c (mach3_prepare_to_proceed): Ditto.
528
b3cc3077
JB
5292001-06-06 Jim Blandy <jimb@redhat.com>
530
531 * gdbarch.sh, gdbarch.c: Revert change of 2001-06-01; all
532 per-architecture data should be registered at initialization time,
533 before any gdbarch objects get used, so the generality is
534 unnecessary.
535
ba9fe036
KS
5362001-06-06 Keith Seitz <keiths@redhat.com>
537
538 * gdb-events.sh (function_list): Add tracepoint_create,
539 tracepoint_delete, and tracepoint_modify events.
540 * gdb-events.c: Regenerated.
541 * gdb-events.h: Regenerated.
542
e28f816a
KS
5432001-06-06 Keith Seitz <keiths@redhat.com>
544
545 * gdb-events.sh: Update copyrights.
546 Change free to xfree.
547 * gdb-events.c: Regenerated.
548 * gdb-events.h: Regenerated.
549
c3690141
EZ
5502001-06-06 Eli Zaretskii <eliz@is.elta.co.il>
551
552 * source.c (mod_path, openp): Use #ifdef HAVE_DOS_BASED_FILE_SYSTEM
553 instead of #if HAVE_DOS_BASED_FILE_SYSTEM.
554 * completer.c: Ditto.
555 * cli/cli-cmds.c (cd_command): Ditto.
556
37ba1196
EZ
5572001-06-04 Eli Zaretskii <eliz@is.elta.co.il>
558
1012bd0e
EZ
559 * mips-tdep.c (show_mipsfpu_command): Remove unused variable msg.
560 (mips_set_processor_type_command): Remove unused variable j.
561 (mips_breakpoint_from_pc): Declare breakpoint instruction
562 sequences as unsigned char, to avoid compiler warnings.
563
fe4e3eb8
EZ
564 * source.c (mod_path, openp): Use HAVE_DOS_BASED_FILE_SYSTEM
565 instead of system-specific define's like _WIN32 and __MSDOS__.
566 Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH instead of SLASH_P and
567 ROOTED_P.
568 (top-level): #include "filenames.h".
569
570 * solib.c (solib_open): Use IS_DIR_SEPARATOR and IS_ABSOLUTE_PATH
571 instead of SLASH_CHAR, ROOTED_P and SLASH_P.
572 (top-level): #include "filenames.h".
573
574 * defs.h (SLASH_P, SLASH_CHAR, ROOTED_P): Remove definitions.
575 (SLASH_STRING): Define only for _WIN32.
576
577 * completer.c: Use HAVE_DOS_BASED_FILE_SYSTEM instead of
578 __MSDOS_.
579
580 * cli/cli-cmds.c (cd_command): Use IS_DIR_SEPARATOR and
581 IS_ABSOLUTE_PATH instead of SLASH_P and ROOTED_P. Replace
582 system-specific ifdefs with HAVE_DOS_BASED_FILE_SYSTEM.
583 (top-level): #include "filenames.h".
584
37ba1196
EZ
585 * go32-nat.c (go32_wait): Change the return value to ptid_t.
586
587 * config/djgpp/fnchange.lst: Add two new files in the
588 gdb/testsuite/gdb.c++/ directory to the remapped names.
589
590 * config/djgpp/djconfig.sh (lt_cv_sys_max_cmd_len): Set to 12KB.
591
3c875b6f
JB
5922001-06-01 Jim Blandy <jimb@redhat.com>
593
594 Expand the gdbarch per-architecture data vector as needed, rather
595 than requiring that all per-architecture data be registered before
596 the first gdbarch object is allocated.
597 * gdbarch.sh: Changes to effect the following:
598 * gdbarch.c (alloc_gdbarch_data, init_gdbarch_data): Delete
599 declarations and definitions.
600 (check_gdbarch_data): New function, and declaration.
601 (gdbarch_alloc): Don't call alloc_gdbarch_data; leaving the fields
602 zero is good enough.
603 (free_gdbarch_data): Tolerate a null data pointer. Free only
604 those data items gdbarch->data actually has allocated.
605 (set_gdbarch_data, gdbarch_data): Call check_gdbarch_data.
606 (gdbarch_update_p): No need to call init_gdbarch_data.
607
98f96ba1
KB
6082001-06-01 Kevin Buettner <kevinb@redhat.com>
609
610 * ia64-tdep.c (is_float_or_hfa_type_recurse): Call check_typedef()
611 on types that we wish to recurse on.
612 (slot_alignment_is_next_even): New function.
613 (ia64_push_arguments): Call slot_alignment_is_next_even() to
614 examine the type in order to decide if it's necessary to skip
615 an odd slot.
616
c6ad9598
MS
6172001-06-01 Michael Snyder <msnyder@redhat.com>
618
8601f500
MS
619 * thread.c (delete_step_resume_breakpoint): New function.
620 Maintain internal consistency of the thread list while deleting
621 a step_resume_breakpoint.
622 * gdbthread.h (delete_step_resume_breakpoint): Export.
623 * breakpoint.c (bpstat_find_step_resume_breakpoint):
624 Make thread-aware: don't return a step_resume_breakpoint
625 for the wrong thread.
626 * infrun.c (wait_for_inferior): Call delete_step_resume_breakpoint
627 instead of delete_breakpoint_current_contents.
628 (fetch_inferior_event): Ditto.
629 (handle_inferior_event): Call delete_step_resume_breakpoint
630 instead of delete_breakpoint.
c6ad9598
MS
631 * infrun.c (handle_inferior_event): After singlestepping over a
632 thread-specific breakpoint, use currently_stepping() to decide
633 whether to step or continue.
634
531017df
JB
6352001-06-01 Jim Blandy <jimb@redhat.com>
636
b27b8843
JB
637 * gnu-v3-abi.c (gnu_v3_abi_ops, vtable_type_gdbarch_data): Make
638 these static --- there's no reason other files should use these.
639
d0bbfec7
JB
640 * partial-stab.h (case N_FUN: case 'f':, case N_FUN: case 'F':)
641 Fix memory leak.
642
531017df
JB
643 * partial-stab.h: New complaint: function_outside_compilation_unit.
644 (case N_FUN: case 'f':, case N_FUN: case 'F':): If pst is zero,
645 complain, and don't try to set pst's start address.
646
d469a809
KB
6472001-05-31 Kevin Buettner <kevinb@redhat.com>
648
649 * ia64-linux-tdep.c (IA64_LINUX_SIGCONTEXT_OFFSET): Revise to
650 match the location at which the kernel is placing the sigcontext
651 struct.
652
58ab00f9
KB
653 * ia64-tdep.c (max_skip_non_prologue_insns): New static global.
654 (refine_prologue_limit): New function.
655 (examine_prologue): Further limit number of instructions
656 scanned by calling refine_prologue_limit(). Revise way in
657 which the end of prologue address is computed for frameless
658 functions.
659
9fd7143a
CF
6602001-05-29 Christopher Faylor <cgf@redhat.com>
661
662 * partial-stab.h: Revert previous patch.
663
34a7837a
CF
6642001-05-29 Christopher Faylor <cgf@redhat.com>
665
666 * partial-stab.h: Consistently guard against pst being NULL.
667
ad53e288
AO
6682001-05-29 Alexandre Oliva <aoliva@redhat.com>
669
670 * symfile.c (compare_psymbols, compare_symbols): Declare using
671 PTR, as in the definition.
09d011c5
AO
672 * minsyms.c (compare_minimal_symbols): Likewise.
673 * coffread.c (find_targ_sec): Likewise.
674 * elfread.c (free_elfinfo, elf_locate_sections): Likewise.
675 * mipsread.c (alphacoff_locate_sections): Likewise.
676 * mdebugread.c (compare_blocks): Likewise.
ad53e288 677
b41be06e
ND
6782001-05-25 Nick Duffek <nsd@redhat.com>
679
680 * solib.c (update_solib_list): Move target_resize_to_sections()
681 into solib_map_sections() loop.
682 (info_sharedlibrary_command): Try bfd_arch_bits_per_address() if
683 bfd_get_arch_size() fails.
684
a1cd1908
ND
6852001-05-25 Nick Duffek <nsd@redhat.com>
686
687 * Makefile.in (osfsolib.c, osfsolib.o): Rename to solib-osf.c and
688 solib-osf.o.
689 * config/alpha/alpha-osf1.mh (NATDEPFILES): Replace osfsolib.o
690 with solib-osf.o and solib.o.
691 * config/alpha/alpha-osf2.mh: Likewise.
692 * config/alpha/alpha-osf3.mh: Likewise.
693 * solib-osf.c: New file, renamed and largely rewritten from
694 osfsolib.c.
695
aa6c0017
MS
6962001-05-25 Michael Snyder <msnyder@redhat.com>
697
c4365b19
MS
698 * lin-lwp.c (lin_lwp_attach_lwp): Call stop_wait_callback,
699 to consume the SIGSTOP generated by PTRACE_ATTACH.
700 (stop_wait_callback): If a SIGTRAP or a SIGINT event is consumed,
701 try again to get the SIGSTOP event.
702 (lin_lwp_wait): Resume all threads when ignoring a signal.
703 This will insure that newly attached threads get resumed.
5f885618 704 * lin-lwp.c (stop_wait_callback): Discard redundant SIGINT events.
aa6c0017
MS
705 * remote.c (remote_write_bytes): Update 'p' packet pointer.
706
4b1fedf1
JB
7072001-05-25 Jim Blandy <jimb@redhat.com>
708
709 * gnu-v2-abi.c (gnuv2_virtual_fn_field): There's no need to clear
710 VALUE_POINTED_TO_OFFSET here; if value_cast doesn't return a
711 useful value, then we should fix that instead.
712
fa3b51d2
ND
7132001-05-24 Nick Duffek <nsd@redhat.com>
714
715 * solist.h (struct so_list): Document the requirement that
716 current_sos initialize some fields to 0.
717
2747183e
MK
7182001-05-24 Mark Kettenis <kettenis@gnu.org>
719
720 * gnu-nat.c: Include <ctype.h>.
721 (gnu_pid_to_exec_file): Add PID parameter.
722 (set_sig_thread_cmd): Use PIDGET on return value from
723 thread_id_to_pid.
724 (proc_string): Use MERGEPID to construct argument to
725 pid_to_thread_id.
726
e4f237da
KB
7272001-05-22 Kevin Buettner <kevinb@redhat.com>
728
729 * breakpoint.c (breakpoint_address_is_meaningful): New function.
730 (check_duplicates): Don't compare non-meaningful addresses.
731
5fd913cc
MS
7322001-05-22 Michael Snyder <msnyder@redhat.com>
733
734 * thread-db.c: Allow for defunct zombie threads.
735 (attach_thread): Do not attempt to attach zombie thread.
736 (thread_db_thread_alive): Return false for defunct zombie thread.
737 (find_new_threads_callback): Don't add defunct zombie thread to list.
738
7ed49443
JB
7392001-05-22 Jim Blandy <jimb@redhat.com>
740
741 Add support for the GNU V3 C++ ABI.
742 (Includes changes by Dan Berlin.)
743
744 * gnu-v3-abi.c: New file.
745 * minsyms.c: #include "value.h" and "cp-abi.h".
746 (install_minimal_symbols): Check the minimal symbol table for
747 symbols that look mangled in the V3 style, and select the V3 ABI
748 if we find any.
749 * Makefile.in (SFILES): Add gnu-v3-abi.c.
750 (COMMON_OBS): Add gnu-v3-abi.o.
751 (gnu-v3-abi.o): Add new rule.
752 (minsyms.o): Depend on $(cp_abi_h) and $(value_h).
753
a44999d5
JB
7542001-05-21 Jim Blandy <jimb@redhat.com>
755
8d65888a
JB
756 * values.c (value_primitive_field): If we're extracting a base
757 class, then the type of the result should be the base class being
758 extracted, not the type of which it is a base class.
759
a44999d5
JB
760 * value.h (struct value): Doc fix, and rearrange members to place
761 them near their explanations.
762
6c3f2dbf
MS
7632001-05-21 Michael Snyder <msnyder@redhat.com>
764
765 * remote.c (remote_async_wait): Added new variable fieldsize.
766 Add fieldsize (return value of hex2bin) to string pointer p.
767
b4fa4770
SC
7682001-05-20 Stephane Carrez <Stephane.Carrez@worldnet.fr>
769
770 * m68hc11-tdep.c (m68hc11_pop_frame): Fix stack pointer computation.
771 (m68hc11_analyze_instruction): Update the pc correctly.
772 (m68hc11_guess_from_prologue): Take into account the stack correction
773 for the saving address.
774
2b127877
DB
7752001-05-07 Daniel Berlin <dan@cgsoftware.com>
776
777 Changes by Jim Ingham:
778
779 * values.c (value_change_enclosing_type): New function. If the
780 new enclosing type is larger than the old one, we need to allocate
781 more space.
782 * value.h: Add value_change_enclosing_type prototype.
783 * valops.c (value_cast): Use it.
784 (value_assign): Use it.
785 (value_addr): Use it.
786 (value_ind): Use it.
787 (value_full_object): Use it.
788
7892001-05-07 Daniel Berlin <dan@cgsoftware.com>
790
984e377c
JB
791 * values.c (value_static_field): Handle static fields that have a
792 constant value.
2b127877 793
736d0890
MS
7942001-05-17 Michael Snyder <msnyder@redhat.com>
795
796 * blockframe.c (create_new_frame): Zero all the fields via memset,
797 rather than zeroing them one by one.
798
a577b05c
EZ
7992001-05-17 Eli Zaretskii <eliz@is.elta.co.il>
800
801 * top.c (user_args): Remove unused declaration.
802
b8adfa9f
MS
8032001-05-16 Michael Snyder <msnyder@redhat.com>
804
805 * infcmd.c (do_registers_info): Move alloca outside of loop.
806
97345198
MS
8072001-05-15 John S Kallal <jskallal@home.com>
808
809 * remote.c (remote_wait): Added new variable fieldsize.
810 Add fieldsize (return value of hex2bin) to string pointer p.
811
aca21d9a
MK
8122001-05-15 Mark Kettenis <kettenis@gnu.org>
813
814 * sparc-tdep.c (sparc_gdbarch_init): Get the architecture from
815 info.bfd_arch_info.
816
b08cfdb6
KB
8172001-05-14 Kevin Buettner <kevinb@redhat.com>
818
819 * lin-lwp.c (detach_callback, lin_lwp_wait, lin_lwp_pid_to_str):
820 Adjust format strings for printing LWPs to account for the fact
821 that the type returned by GET_LWP() is now a long instead of an
822 int.
823
ca6724c1
KB
8242001-05-14 Kevin Buettner <kevinb@redhat.com>
825
826 * inferior.h (null_ptid, minus_one_ptid): New variable declarations.
827 (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
828 (ptid_get_tid, ptid_equal): New function declarations.
829 * infrun.c (null_ptid, minus_one_ptid): New variables.
830 (ptid_build, pid_to_ptid, ptid_get_pid, ptid_get_lwp)
831 (ptid_get_tid, ptid_equal): New functions.
832 (_initialize_infrun): Initialize null_ptid, minus_one_ptid,
833 inferior_ptid, and target_last_wait_ptid.
834
835 * defs.h (ptid_t): Redefine to be a struct rather than an int.
836 (pid_to_ptid, null_ptid, ptid_equal): Delete these macros.
837 (PIDGET, TIDGET, MERGEPID): Redefine these macros using the
838 new ptid accessors and constructor.
839
840 * config/i386/tm-i386v42mp.h (PIDGET, TIDGET, LIDGET, MERGEPID,
841 MKLID, MKTID, ISTID): Provide new definitions for these macros.
842 The old macros are retained, but disabled via #if 0 in order
843 to aid in future restructuring. See FIXME.
844
845 * arm-linux-nat.c (PIDGET, TIDGET): Delete macro definitions.
846 * i386-linux-nat.c (PIDGET, TIDGET): Likewise.
847 * infptrace.c (PIDGET, TIDGET): Likewise.
848 * lin-lwp.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
849 * lin-thread.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
850 * proc-service.c (MERGEPID): Likewise.
851 * procfs.c (PIDGET, TIDGET, MERGEPID): Likewise.
852 * thread-db.c (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
853 * config/nm-linux.h (PIDGET0, PIDGET, TIDGET, MERGEPID): Likewise.
854 * config/i386/tm-i386sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
855 Likewise.
856 * config/sparc/tm-sun4sol2.h (PIDGET0, PIDGET, TIDGET, MERGEPID):
857 Likewise.
858
859 * lin-lwp.c (THREAD_FLAG): Delete macro definition.
860 (GET_LWP): Redefine in terms of ptid_get_lwp().
861 (GET_PID): Redefine in terms of ptid_get_pid().
862 (is_lwp): Redefine without the need for THREAD_FLAG.
863 (BUILD_LWP): Redefine in terms of ptid_build().
864 * lin-thread.c (THREAD_FLAG): Delete macro definition.
865 (GET_LWP): Redefine in terms of ptid_get_lwp().
866 (GET_PID): Redefine in terms of ptid_get_pid().
867 (GET_THREAD): Redefine in terms of ptid_get_tid().
868 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
869 (is_lwp, is_thread): Redefine.
870 (linux_child_wait, check_all_signal_numbers)
871 (linuxthreads_discard_global_state, attach_thread): Declare these
872 functions to squash warnings about missing declarations.
873 * sol-thread.c (THREAD_FLAG): Delete macro definition.
874 (GET_PID): Redefine in terms of ptid_get_pid().
875 (GET_LWP): Redefine in terms of ptid_get_lwp().
876 (GET_THREAD): Redefine in terms of ptid_get_tid().
877 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
878 (is_lwp, is_thread): Redefine.
879 * thread-db.c (THREAD_FLAG): Delete macro definition.
880 (GET_PID): Redefine in terms of ptid_get_pid().
881 (GET_LWP): Redefine in terms of ptid_get_lwp().
882 (GET_THREAD): Redefine in terms of ptid_get_tid().
883 (BUILD_THREAD, BUILD_LWP): Redefine in terms of ptid_build().
884 (is_lwp, is_thread): Redefine.
885
886 * corelow.c (add_to_thread_list, get_core_register_section):
887 Eliminate hacks needed to prevent regressions when inferior_ptid
888 wasn't wide enough to hold the core file thread id in the pid
889 component of inferior_ptid.
890
234fa6d1
MS
8912001-05-14 Michael Snyder <msnyder@redhat.com>
892
893 * remote.c (hex2bin): Make first argument const.
894 Require explicit count, don't accept null-terminated str.
895 (remote_resume, remote_async_resume): White space fix-up.
896 (remote_write_bytes): Set nr_bytes to return value of bin2hex.
897
caadab2c
MK
8982001-05-13 Mark Kettenis <kettenis@gnu.org>
899
900 * symtab.c (lookup_symtab_1): Use lbasename (NAME) instead of
901 basename (NAME). The FreeBSD basename returns a pointer to a
902 static buffer, even if it's simply returning a string identical to
903 its argument.
904 (lookup_partial_symtab): Likewise.
905
2644f393
MS
9062001-05-14 Michael Snyder <msnyder@redhat.com>
907
cb0ba49e 908 * solib.c, solib.h: Add comment for function no_shared_libraries.
2644f393 909
183a2f1a
KB
9102001-05-14 Kevin Buettner <kevinb@redhat.com>
911
912 * solib.h (no_shared_libraries): Make declaration match definition
913 in solib.c.
914
1dd1751e
AC
9152001-05-14 Andrew Cagney <ac131313@redhat.com>
916
917 * remote.c (remote_write_bytes): Set nr_bytes before returning it.
918 * solib.h (no_shared_libraries): Declare.
919
b732d07d
AC
9202001-05-12 Andrew Cagney <ac131313@redhat.com>
921
922 * gdbarch.sh (struct gdbarch_info): Delete field bfd_architecture.
923 (gdbarch_update_p): Rewrite logic filling in INFO struct. Use
924 user specified values when available.
925 * rs6000-tdep.c (rs6000_gdbarch_init): Update. Get the
926 architecture from info.bfd_arch_info.
927 * gdbarch.c, gdbarch.h: Regenerate.
928
67dd5ca6
FN
9292001-05-12 Fernando Nasser <fnasser@redhat.com>
930
931 * remote-e7000.c (e7000_open): Check for bad baud rate.
932 * remote-st.c (st2000_open): Ditto.
933
529acb48
JB
9342001-05-11 Jim Blandy <jimb@redhat.com>
935
f8e42d24
JB
936 * thread.c (do_captured_list_thread_ids): Use ui_out_tuple_begin
937 and ui_out_tuple_end instead of ui_out_list_begin and
938 ui_out_list_end.
939
529acb48
JB
940 * Makefile.in (gnu-v2-abi.o): Add $(demangle_h) to list of
941 dependencies. Reorder dependencies to match #includes in file,
942 for easier verification.
943
666547aa
AC
944Fri May 11 13:32:50 2001 Andrew Cagney <cagney@b1.cygnus.com>
945
946 * breakpoint.c: Replace ui_out_list_begin, ui_out_list_end and
947 make_cleanup_ui_out_list_end with ui_out_tuple_begin,
948 ui_out_tuple_end and make_cleanup_ui_out_tuple_begin_end.
949 * cli/cli-setshow.c: Ditto.
950 * printcmd.c: Ditto.
951 * stack.c: Ditto.
952
953 * ui-out.h (enum ui_out_type): Fix tipo - tupple -> tuple.
954 * ui-out.c (ui_out_list_begin): Delete ``lstid'' parameter.
955 (ui_out_tuple_begin): New function.
956 (ui_out_tuple_end): New function.
957 (ui_out_tuple_begin_end): New function.
958 (make_cleanup_ui_out_list_begin_end): Replace
959 make_cleanup_ui_out_list_end function.
960 * ui-out.h (ui_out_list_begin): Update declaration.
961 (make_cleanup_ui_out_list_begin_end): Replace
962 make_cleanup_ui_out_list_end declaration.
963 (ui_out_tuple_begin, ui_out_tuple_end): Declare.
964 (ui_out_tuple_begin_end): Declare.
965
30c98d84
JB
9662001-05-11 Jim Blandy <jimb@redhat.com>
967
968 * gnu-v2-abi.c: Don't #include "gdb_regex.h". We don't use it.
969
1faa59a8
AC
9702001-05-11 Andrew Cagney <ac131313@redhat.com>
971
972 From 2001-03-26 Rodney Brown <RodneyBrown@mynd.com>
973 * config/pa/tm-hppa.h: Remove trigraph.
974 * hp-symtab-read.c (hpread_type_translate): Provide return value.
975 (hpread_read_struct_type): Remove trigraph. Add parameter in
976 `warning'.
977 (hpread_read_array_type): Provide return value.
978 (hpread_type_lookup): Avoid ambiguous `else'. Provide return
979 value.
980 * hppa-tdep.c (initialize_hp_cxx_exception_support): Remove
981 trigraph.
982
99567b1b
JB
9832001-05-11 Jim Blandy <jimb@redhat.com>
984
985 * mips-tdep.c (mips_store_return_value,
986 mips_extract_return_value): Pass arguments to
987 return_value_location in the proper order.
988
d3814881
AC
9892001-05-11 Andrew Cagney <ac131313@redhat.com>
990
991 * Makefile.in (VERSION): Delete. Moved to file ``version.in''.
992 (version.c): Depends on file ``version.in''. Extract version
993 number from ``version.in'' file.
994 (clean mostlyclean): Update.
995 * version.in: New file.
5d6640b1 996 * NEWS: Update.
d3814881 997
4d28f7a8
KB
9982001-05-11 Kevin Buettner <kevinb@redhat.com>
999
1000 * breakpoint.c (set_raw_breakpoint): Add new parameter
1001 representing the breakpoint's type. Adjust all callers.
1002 (create_longjmp_breakpoint, create_temp_exception_breakpoint)
1003 (create_thread_event_breakpoint): Don't test for zero return
1004 value from set_raw_breakpoint(). It can never be zero.
1005 (create_exception_catchpoint, watch_command_1): Move logic
1006 which calculates the breakpoint type prior to the call to
1007 set_raw_breakpoint().
1008
08b4f080
FN
10092001-05-11 Fernando Nasser <fnasser@redhat.com>
1010
1011 * ser-unix.c (rate_to_code): Issue warning if baud rate is invalid.
1012 (hardwire_setbaudrate): Set errno to EINVAL and return with error
1013 if the conversion of the baud rate to code fails.
1014
127431f9
AC
10152001-05-10 Andrew Cagney <ac131313@redhat.com>
1016
1017 * ui-out.h (make_cleanup_ui_out_begin_end): Declare.
1018 * ui-out.c (struct ui_out_end_cleanup_data): Define.
1019 (do_cleanup_end): New function. Replace do_list_end.
1020 (make_cleanup_ui_out_end): New function.
1021 (make_cleanup_ui_out_begin_end): New function.
1022 (make_cleanup_ui_out_list_end): Use make_cleanup_ui_out_end.
1023
5dbc5e5f
EZ
10242001-05-10 Elena Zannoni <ezannoni@redhat.com>
1025
1026 * MAINTAINERS: Declare xcoffread.c open to all maintainers,
1027 and make Kevin Buettner (kevinb@redhat.com) the reference person.
1028
8e40d292
EZ
10292001-05-10 Elena Zannoni <ezannoni@redhat.com>
1030
1031 * proc-api.c (ioctl_with_trace): Fix uninitialized variable.
1032
5a703563
FN
10332001-05-10 Fernando Nasser <fnasser@redhat.com>
1034
1035 * MAINTAINERS: Add testsuite subdirectory co-maintainers.
1036
6311b07d
AC
1037Thu May 10 16:26:47 2001 Andrew Cagney <cagney@b1.cygnus.com>
1038
1039 * Makefile.in (mi-main.o): Compile with -Werror.
1040
30559e10
MS
10412001-05-10 Michael Snyder <msnyder@redhat.com>
1042
f78f6cf1
MS
1043 * remote.c (remote_open_1): Call no_shared_libraries, so that
1044 symbols for shared libraries can be reloaded per session.
1045 (remote_async_open_1): Ditto.
30559e10
MS
1046 * remote.c (bin2hex, hex2bin): New functions. Factor out these
1047 two conversions which are coded for repeatedly in this module.
1048 (remote_threads_extra_info, remote_wait, remote_async_wait,
1049 store_register_using_P, remote_store_registers, remote_write_bytes,
1050 remote_read_bytes, remote_rcmd): Use bin2hex and hex2bin instead
1051 of coding the conversions inline.
1052 (fromhex): Not exported, change from extern to static.
1053
0a1d9791
AC
10542001-05-10 Andrew Cagney <ac131313@redhat.com>
1055
1056 * arch-utils.c (initialize_current_architecture): Delete obsolete
1057 ``info architecture'' command.
1058 (info_architecture): Delete function.
1059
ee055267
AC
10602001-05-10 Andrew Cagney <ac131313@redhat.com>
1061
1062 * TODO (5.1, 5.2): Update.
1063
85886af6
AC
10642001-05-09 Andrew Cagney <ac131313@redhat.com>
1065
1066 * MAINTAINERS: Jim Ingham is no longer maintaining Arm related
1067 stuff.
30559e10 1068
ecb9ce7e
KS
10692001-05-10 Keith Seitz <keiths@cygnus.com>
1070
1071 * Makefile.in (SUBDIR_GDBTK_OBS): Add gdbtk-bp.o, gdbtk-register.o
1072 and gdbtk-stack.o.
1073 (SUBDIR_GDBTK_SRCS): Ditto for the sources.
1074 (gdbtk-bp.o): New rule.
1075 (gdbtk-register.o): New rule.
1076 (gdbtk-stack.o): New rule.
1077 (gdbtk-cmds.o): Update dependencies.
1078 (gdbtk.o): Ditto.
1079 (gdbtk-hooks.o): Ditto.
1080 (gdbtk-varobj.o): Ditto.
1081
f7635dd9
FN
10822001-05-10 Fernando Nasser <fnasser@redhat.com>
1083
1084 * varobj.c (c_number_of_children): Fix memory leak. Delete unwanted old
1085 variables, not just unregister them.
1086
0755e6c1
FN
10872001-05-10 Fernando Nasser <fnasser@redhat.com>
1088
1089 * varobj.c (c_number_of_children): Check for target type of void*,
1090 not the target type name. Allow dereferencing char*.
1091
d7db6da9
FN
10922001-05-10 Fernando Nasser <fnasser@redhat.com>
1093
1094 * symfile.c (symbol_file_add_main_1): New static function.
1095 Passes the flags arguments to symbol_file_add() and takes care
1096 of any necessary reinitializations.
1097 (symbol_file_command): Call symbol_file_add_main_1() instead of
1098 symbol_file_add().
1099 (symbol_file_add_main): Ditto.
1100
3d6e28e2
KB
11012001-05-09 Kevin Buettner <kevinb@redhat.com>
1102
1103 * lin-lwp.c (lin_lwp_pid_to_str): Revert inadvertent format
1104 string change in 2001-05-03 changes.
1105 (lin_lwp_wait): Revert GET_LWP coercion introduced in 2001-05-03
1106 changes.
1107
01263b57
KB
11082001-05-09 Kevin Buettner <kevinb@redhat.com>
1109
1110 * lin-lwp.c (lin_lwp_attach): Use PIDGET() to fetch the pid
1111 component from inferior_ptid.
1112 (lin_lwp_detach): Use pid_to_ptid() to convert from a pid to a
1113 ptid.
1114
74a151fa
EZ
11152001-05-09 Elena Zannoni <ezannoni@redhat.com>
1116
1117 * sh3-rom.c (_initialize_sh3_rom): Get rid of specific _WINDOWS
1118 conditional for help with connections through parallel ports,
1119 given that the actual code for downloading through a parallel port
1120 is not conditionalized.
1121
1122 * sh-tdep.c: Remove WIN32_WCE conditional. The wince sh target is
1123 unmaintaned, and probably on its way to obsolescence.
1124
d7a0d72c
MK
11252001-05-09 Mark Kettenis <kettenis@gnu.org>
1126
0d17c81d
MK
1127 * i386-tdep.c (i386_frame_saved_pc): New function.
1128 * config/i386/tm-i386.h (FRAME_SAVED_PC): Redefine in terms of
1129 i386_frame_saved_pc.
1130 (i386_frame_saved_pc): New prototype.
1131
d7a0d72c
MK
1132 * i386-tdep.c (i386_register_virtual_type): New function.
1133 (i386_register_convertible): New function.
1134 * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE): Redefine in terms
1135 of i386_register_virtual_type.
1136 (REGISTER_CONVERTIBLE): Redefine in terms of
1137 i386_register_convertible.
1138 (i386_register_virtual_type, i386_register_convertible): New
1139 prototypes.
1140
ad8fe2ce
JB
11412001-05-08 Jim Blandy <jimb@redhat.com>
1142
33757489
JB
1143 * Makefile.in (mn10300-tdep.o): New rule.
1144
1145 * Makefile.in (gdb_string_h): Define. Use it throughout.
1146 Some rules were already using this, even though it isn't defined.
1147
c2c197ae
JB
1148 * Makefile.in (obstack_h, target_h): Define; these are already
1149 used elsewhere, but have been expanding to the empty string.
1150 (memattr_h): Define; needed by target_h.
1151
c064f384
JB
1152 * mn10300-tdep.c (mn10300_extract_return_value): Mark this as
1153 static. (This was accidentally omitted from the earlier patch.)
1154
23436510
JB
1155 * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): New function.
1156 (mn10300_gdbarch_init): Register it as the architecture's
1157 dwarf2_reg_to_regnum method.
1158
ae83b20d
JB
1159 Correct and expand handling of `movm' instruction, and register
1160 saves in general.
1161 * config/mn10300/tm-mn10300.h (D0_REGNUM, A0_REGNUM, MDRQ_REGNUM,
1162 MCRH_REGNUM, MCRL_REGNUM, MCVF_REGNUM): New definitions.
1163 (enum movm_register_bits): New enum.
1164 * mn10300-tdep.c (set_movm_offsets): Use symbolic names for the
1165 bits, not hex literals. Handle the `other', `exreg0', and
1166 `exother' bits. Correct handling of `exreg1': it saves r4, r5,
1167 r6, and r7, not r2, r3, r4, and r5.
1168 (saved_regs_size): New function.
1169 (mn10300_frame_chain, mn10300_frame_saved_pc): Use it, instead
1170 of computing the same thing inline, incorrectly.
1171
bf4b70a5
JB
1172 * mn10300-tdep.c (mn10300_gdbarch_init): We do have a
1173 dummy_breakpoint_offset; it's zero.
1174
ee9f9641
JB
1175 * mn10300-tdep.c (mn10300_pop_frame): Split the mn10300-specific
1176 stuff out into mn10300_pop_frame_regular, and use
1177 generic_pop_current_frame. This lets us share code, and also
1178 makes this function's prototype match that expected by gdbarch.
1179 Make this function static.
1180 (mn10300_pop_frame_regular): New function.
1181 (mn10300_gdbarch_init): Register mn10300_pop_frame as the
1182 gdbarch's pop_frame method.
1183 * config/mn10300/tm-mn10300.h (POP_FRAME): Delete definition.
1184 (mn10300_pop_frame): Delete declaration.
1185
2ac51b36
JB
1186 * mn10300-tdep.c (mn10300_saved_pc_after_call,
1187 mn10300_extract_return_value,
1188 mn10300_extract_struct_value_address, mn10300_store_return_value,
1189 mn10300_use_struct_convention, mn10300_breakpoint_from_pc,
1190 mn10300_frame_chain, mn10300_skip_prologue,
1191 mn10300_push_arguments, mn10300_push_return_address,
1192 mn10300_store_struct_return, mn10300_frame_saved_pc,
1193 mn10300_init_extra_frame_info, mn10300_frame_init_saved_regs):
1194 Make these functions static; they should only be visible to the
1195 outside world as gdbarch methods.
1196
af4e72e9
JB
1197 * config/mn10300/tm-mn10300.h (mn10300_find_callers_reg): Delete
1198 unused declaration.
1199
584f96a8
JB
1200 * mn10300-tdep.c (mn10300_gdbarch_init): Put the gdbarch methods
1201 in some rational order.
1202
82d983b6
JB
1203 * mn10300-tdep.c (mn10300_gdbarch_init): Rather than using
1204 generic_pc_in_call_dummy, use pc_in_call_dummy_at_entry_point.
1205
ad8fe2ce
JB
1206 Use gdbarch for most target parameters for the MN10300, rather
1207 than the tm-*.h file.
1208 * config/mn10300/tm-mn10300.h (MAX_REGISTER_VIRTUAL_SIZE,
1209 REGISTER_BYTES, FP_REGNUM, BREAKPOINT_FROM_PC,
1210 FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK, INNER_THAN,
1211 SAVED_PC_AFTER_CALL, INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS,
1212 FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC,
1213 EXTRACT_RETURN_VALUE, EXTRACT_STRUCT_VALUE_ADDRESS,
1214 STORE_RETURN_VALUE, STORE_STRUCT_RETURN, SKIP_PROLOGUE,
1215 FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS,
1216 FRAME_NUM_ARGS, POP_FRAME, USE_GENERIC_DUMMY_FRAMES, CALL_DUMMY,
1217 CALL_DUMMY_START_OFFSET, CALL_DUMMY_BREAKPOINT_OFFSET,
1218 CALL_DUMMY_LOCATION, FIX_CALL_DUMMY, CALL_DUMMY_ADDRESS,
1219 TARGET_READ_FP, PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME,
1220 SAVE_DUMMY_FRAME_TOS, PUSH_ARGUMENTS, PC_IN_CALL_DUMMY,
1221 REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER):
1222 Delete definitions. We register gdbarch methods for these now.
1223 (struct frame_info, struct type, struct value): Delete forward
1224 declarations of these types; they're no longer necessary, since we
1225 don't have function declarations here any more.
1226 * mn10300-tdep.c: #include "arch-utils.h", to get declarations for
1227 some default gdbarch methods.
1228 (mn10300_store_struct_return): Return void, as expected by
1229 gdbarch.
1230 (mn10300_init_extra_frame_info): Take initial `fromleaf' argument,
1231 as expected by gdbarch.
1232 (mn10300_frame_init_saved_regs): Provide dummy definition for
1233 this, as required by gdbarch.
1234 (mn10300_gdbarch_init): Add mn10300_call_dummy_words, as expected
1235 by gdbarch. Register gdbarch methods or values for all the stuff
1236 removed from tm-10300.h, listed above.
1237
631ec795
AC
12382001-05-08 Andrew Cagney <ac131313@redhat.com>
1239
1240 * cli-out.c (cli_begin, cli_end): Replace cli_list_begin and
1241 cli_list_end.
1242 (cli_ui_out_impl): Update.
1243
1244 * ui-out.c (default_begin, default_end): Replace
1245 default_list_begin and default_list_end.
1246 (default_ui_out_impl): Update.
1247 (uo_begin, uo_end): Replace ou_list_begin and uo_list_end.
1248 (ui_out_begin, ui_out_end): Replace ui_out_list_begin and
1249 ui_out_list_end.
1250 (ui_out_list_begin, ui_out_list_end): New. Compatibility
1251 functions.
1252 (struct ui_out_level): Add field type.
1253 (push_level, pop_level): Update. Add type parameter.
1254
1255 * ui-out.h (enum ui_out_type): Declare.
1256 (ui_out_begin, ui_out_end): Declare.
1257 (ui_out_begin_ftype, ui_out_end_ftype): Replace list_begin_ftype
1258 and list_end_ftype.
1259 (struct ui_out_impl): Update.
1260
80f49b30
AC
12612001-05-07 Andrew Cagney <ac131313@redhat.com>
1262
1263 * ui-out.h (list_begin_ftype, list_end_ftype): Rename argument
1264 ``list_flag'' to ``depth''.
1265 * ui-out.c (default_list_begin, default_list_end): Update.
1266 (uo_list_begin, uo_list_end): Update.
1267 (MAX_UI_OUT_LEVELS): Define.
1268 (struct ui_out_level): Define.
1269 (top-level): Include "gdb_assert.h".
1270 (struct ui_out): Add fields ``level'' and ``levels''. Delete
1271 fields ``list_flag'' and ``field_count''.
1272 (ui_out_new): Update.
1273 (verify_field_proper_position): Update.
1274 (current_level, push_level, pop_level): New functions.
1275 (ui_out_list_begin): Use push_level.
1276 (ui_out_list_end): Use pop_level.
1277 (ui_out_field_int): Use current_level.
1278 (ui_out_field_skip): Ditto.
1279 (ui_out_field_fmt): Ditto.
1280
7aedc9f8
MS
12812001-05-08 Michael Snyder <msnyder@redhat.com>
1282
1283 * language.c (longest_local_hex_string_custom): Strlen test is
1284 inverted -- reverse the sense of the test.
1285
c6ec85d6
MK
12862001-05-08 Mark Kettenis <kettenis@gnu.org>
1287
1288 * config/i386/tm-i386v.h (struct frame_info, struct
1289 frame_saved_regs): Remove declarations.
1290 (i386_frame_num_args): Remove prototype.
1291
f938fa6a
AC
12922001-05-07 Andrew Cagney <ac131313@redhat.com>
1293
1294 * MAINTAINERS: I'm no longer actively maintaining the mn10300
1295 target.
1296
fb106663
AC
12972001-05-04 Andrew Cagney <ac131313@redhat.com>
1298
1299 * main.c (captured_main): Delete #ifndef _WIN32 conditional for
1300 WinGDB.
1301
ce696e05
KB
13022001-05-06 Kevin Buettner <kevinb@redhat.com>
1303
1304 * inferior.h (save_inferior_ptid): Declare.
1305 * infrun.c (save_inferior_ptid, restore_inferior_ptid): Define.
1306
1307 * hpux-thread.c (save_inferior_ptid, restore_inferior_ptid):
1308 Delete these functions.
1309 * lin-lwp.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
1310 * lin-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
1311 * linux-thread.c (save_inferior_ptid, restore_inferior_ptid):
1312 Likewise.
1313 * proc-service.c (save_inferior_ptid, restore_inferior_ptid):
1314 Likewise.
1315 * sol-thread.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
1316 * thread-db.c (save_inferior_ptid, restore_inferior_ptid): Likewise.
1317
1318 * somsolib.c (reset_inferior_ptid): Delete.
1319 (som_solib_remove_inferior_hook): Use save_inferior_ptid() to
1320 build the cleanup struct.
1321
1322 * breakpoint.c (reattach_breakpoints, detach_breakpoints): Use
1323 a cleanup to save/restore inferior_ptid.
1324
c194fbe1
MK
13252001-05-06 Mark Kettenis <kettenis@gnu.org>
1326
1327 Implement attach/detach for multi-threaded programs on Linux.
1328 * thread-db.c (keep_thread_db): Adjust comment.
1329 (deactivate_target): Removed.
1330 (thread_db_new_objfile): Don't call deactivate_target. Implement
1331 guts of deactivate_target inline instead.
1332 (attach_thread): Call ATTACH_LWP unconditionally if defined.
1333 (thread_db_attach): New function.
1334 (thread_db_detach): Don't call deactivate_target. Do necessary
1335 cleanup inline instead. Set inferior_ptid to LWP corresponding to
1336 the current user-level thread.
1337 (thread_db_kill): Set inferior_ptid to LWP corresponding to the
1338 current user-level thread.
1339 (thread_db_create_inferior): Deactivate target vector if
1340 KEEP_THREAD_DB is zero.
1341 (thread_db_mourn_inferior): Don't call deactivate_target. Do
1342 necessary cleanup inline instead.
1343 (init_thread_db_ops): Initialize to_attach field to
1344 thread_db_attach.
1345 * lin-lwp.c (lin_lwp_mourn_inferior): Remove prototype.
1346 (stop_wait_callback): Add prototype.
1347 (init_lwp_list): Add comment about when to re-initialize the LWP
1348 list.
1349 (lin_lwp_attach_lwp): Only call ptrace for cloned processes.
1350 Avoid adding publicates to the LWP list. Only mark an LWP as
1351 signalled if it doesn't correspond to a cloned process.
1352 (lin_lwp_attach): Add initial process to the LWP list. Make sure
1353 it's stopped and fake a SIGSTOP.
1354 (detach_callback): New function.
1355 (lin_lwp_detach): Implement.
1356 (lin_lwp_create_inferior): Don't re-initialize LWP list here.
1357 Call child_ops.to_create_inferior directly instead of via
1358 target_beneath local.
1359 (lin_lwp_mourn_inferior): Call child_ops.to_mourn_inferior
1360 directly instead of via target_beneath local.
1361
a7fdf62f
EZ
13622001-05-06 Eli Zaretskii <eliz@is.elta.co.il>
1363
1364 * symtab.c (lookup_symtab_1, lookup_partial_symtab): Use basename
1365 instead of non-portable search for `/'. Use FILENAME_CMP instead
1366 of STREQ, to account for case-insensitive filesystems.
1367 (top-level): #include "filenames.h".
1368
9f60f21b
JB
13692001-05-05 Jim Blandy <jimb@redhat.com>
1370
644a1fe1
JB
1371 * breakpoint.c (check_duplicates): Use the breakpoint's type, not
1372 its address, to decide whether it's a watchpoint or not. Zero
1373 is a valid code address.
1374 (update_breakpoints_after_exec): Admonishing comments.
1375 * breakpoint.h (struct breakpoint): Doc fixes.
1376
9f60f21b
JB
1377 * breakpoint.c (check_duplicates): Take a breakpoint object as an
1378 argument, rather than an address and section. All callers changed.
1379
39f77062
KB
13802001-05-03 Kevin Buettner <kevinb@redhat.com>
1381
1382 * defs.h (ptid_t): New typedef.
1383 (pid_to_ptid, null_ptid, minus_one_ptid, ptid_equal): New macros.
1384
1385 * a68v-nat.c, alphabsd-nat.c, arch-utils.c, arm-linux-nat.c,
1386 blockframe.c, breakpoint.c, breakpoint.h,
1387 config/i386/nm-i386sol2.h, config/i386/tm-i386sco5.h,
1388 config/ia64/nm-linux.h, config/m68k/nm-hp300bsd.h,
1389 config/mips/nm-irix4.h, config/mips/nm-irix5.h,
1390 config/pa/nm-hppah.h, config/pa/tm-hppa.h,
1391 config/rs6000/nm-rs6000.h, config/sparc/nm-sun4sol2.h,
1392 corelow.c, cxux-nat.c, d10v-tdep.c, dink32-rom.c,
1393 dve3900-rom.c, fork-child.c, frame.c, gnu-nat.c, go32-nat.c,
1394 hp300ux-nat.c, hppa-tdep.c, hppab-nat.c, hppah-nat.c,
1395 hpux-thread.c, i386-linux-nat.c, i386aix-nat.c, i386b-nat.c,
1396 i386bsd-nat.c, i386gnu-nat.c, i386mach-nat.c, i386nbsd-nat.c,
1397 infcmd.c, inferior.h, inflow.c, infptrace.c, infrun.c,
1398 inftarg.c, infttrace.c, lin-lwp.c, lin-thread.c,
1399 linux-thread.c, lynx-nat.c, m3-nat.c, m32r-rom.c,
1400 m68knbsd-nat.c, m88k-nat.c, mac-nat.c, mips-nat.c,
1401 mon960-rom.c, monitor.c, ns32knbsd-nat.c, ocd.c, ppc-bdm.c,
1402 ppcnbsd-nat.c, proc-service.c, procfs.c, ptx4-nat.c,
1403 regcache.c, remote-adapt.c, remote-array.c, remote-bug.c,
1404 remote-e7000.c, remote-es.c, remote-mips.c, remote-mm.c,
1405 remote-nindy.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
1406 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
1407 remote-vx.c, remote.c, rs6000-nat.c, sol-thread.c,
1408 solib-aix5.c, solib-svr4.c, somsolib.c, sparc-nat.c,
1409 standalone.c, sun3-nat.c, sun386-nat.c, symm-nat.c, target.c,
1410 target.h, thread-db.c, thread.c, top.c, ultra3-nat.c,
1411 uw-thread.c, v850ice.c, win32-nat.c, wince.c, xcoffsolib.c
1412 (inferior_pid): Rename to inferior_ptid everywhere - even in
1413 comments and obsolete ports. In cases where this variable
1414 really is supposed to be used as a process id, use PIDGET() to
1415 extract the process id component from inferior_ptid. The
1416 other cases, either involving other variables whose types had
1417 to be changed or functions whose signatures had to changed
1418 are listed separately below.
1419
1420 * arm-linux-nat.c (get_thread_id): Change type of argument
1421 representing a combined process/thread id from ``int'' to
1422 ``ptid_t''. Also change parameter name to ptid.
1423 * breakpoint.h, breakpoint.c (breakpoint_thread_match): Likewise.
1424 * corelow.c (core_file_thread_alive): Likewise.
1425 * d10v-tdep.c (d10v_read_pc, d10v_write_pc): Likewise.
1426 * defs.h (*target_wait_hook): Likewise.
1427 * gdbthread.h (thread_info, delete_thread, pid_to_thread_id)
1428 (find_thread_pid, save_infrun_state, load_infrun_state): Likewise.
1429 * gnu-nat.c (gnu_thread_alive, gnu_pid_to_str, gnu_wait)
1430 (gnu_resume): Likewise.
1431 * go32-nat.c (go32_wait, go32_resume): Likewise.
1432 * h8500-tdep.c (h8500_read_pc, h8500_write_pc): Likewise.
1433 * hppa-tdep.c (target_read_pc, target_write_pc): Likewise.
1434 * hppah-nat.c (child_pid_to_str, hppa_tid_to_str,
1435 (hppa_pid_or_tid_to_str, child_post_startup_inferior)
1436 (child_thread_alive): Likewise.
1437 * hpux-thread.c (hpux_thread_notice_signals, hpux_thread_alive)
1438 (hpux_pid_to_str, hpux_thread_wait, hpux_thread_resume): Likewise.
1439 * i386-linux-nat.c (child_resume): Likewise.
1440 * ia64-linux-nat.c (enable_watchpoints_in_psr, fetch_debug_register)
1441 (store_debug_register, fetch_debug_register_pair)
1442 (store_debug_register_pair, ia64_linux_insert_watchpoint)
1443 (ia64_linux_remove_watchpoint, ia64_linux_stopped_by_watchpoint):
1444 Likewise.
1445 * ia64-tdep.c (ia64_read_pc, ia64_write_pc): Likewise.
1446 * inferior.h (read_pc_pid, generic_target_read_pc, write_pc_pid)
1447 (generic_target_write_pc, ptrace_wait, child_resume)
1448 (get_last_target_status): Likewise.
1449 * infptrace.c (ptrace_wait, child_resume): Likewise.
1450 * inftarg.c (child_wait, child_post_wait, child_thread_live)
1451 (child_pid_to_str): Likewise.
1452 * infttrace.c (ptrace_wait, child_thread_alive, child_resume)
1453 (hppa_pid_or_tid_to_str, child_post_startup_inferior): Likewise.
1454 * lin-lwp.c (add_lwp, delete_lwp, find_lwp_pid, lin_lwp_attach_lwp)
1455 (lin_lwp_resume, lin_lwp_wait, lin_lwp_thread_alive)
1456 (lin_lwp_pid_to_str): Likewise.
1457 * lin-thread.c (thread_db_alive, thread_db_pid_to_str)
1458 (thread_db_resume, thread_db_wait): Likewise.
1459 * linux-thread.c (linuxthreads_thread_alive, linuxthreads_pid_to_str)
1460 (linuxthreads_resume, linuxthreads_wait): Likewise.
1461 * lynx-nat.c (child_wait, child_thread_alive, child_resume)
1462 (child_pid_to_str): Likewise.
1463 * m3-nat.c (mach_really_wait, m3_resume): Likewise.
1464 * mac-nat.c (child_wait, child_resume): Likewise.
1465 * mips-tdep.c (mips_read_pc): Likewise.
1466 * monitor.c (monitor_wait, monitor_resume): Likewise.
1467 * ocd.c, ocd.h (ocd_thread_alive, ocd_resume): Likewise.
1468 * ppc-bdm.c (bdm_ppc_wait): Likewise.
1469 * procfs.c (do_attach, procfs_wait, procfs_resume)
1470 (procfs_notice_signals, procfs_thread_alive, procfs_pid_to_str)
1471 (procfs_set_watchpoint, procfs_stopped_by_watchpoint)
1472 (procfs_find_LDT_entry): Likewise.
1473 * regcache.c (read_register_pid, read_signed_register_pid)
1474 (write_register_pid, generic_target_read_pc, read_pc_pid)
1475 (generic_target_write_pc, write_pc_pid): Likewise.
1476 * regcache.h (read_register_pid, read_signed_register_pid)
1477 (write_register_pid): Likewise.
1478 * remote-adapt.c (adapt_wait, adapt_resume): Likewise.
1479 * remote-array.c (array_wait, array_resume): Likewise.
1480 * remote-bug.c (bug_wait, bug_resume): Likewise.
1481 * remote-e7000.c (e7000_wait, e7000_resume): Likewise.
1482 * remote-eb.c (eb_wait, eb_resume): Likewise.
1483 * remote-es.c (es1800_wait, es1800_resume): Likewise.
1484 * remote-mips.c (mips_wait, mips_resume): Likewise.
1485 * remote-mm.c (mm_wait, mm_resume): Likewise.
1486 * remote-nindy.c (nindy_wait, nindy_resume): Likewise.
1487 * remote-os9k.c (rombug_wait, rombug_resume): Likewise.
1488 * remote-rdi.c (arm_rdi_wait, arm_rdi_resume): Likewise.
1489 * remote-rdp.c (remote_rdp_resume, remote_rdp_wait): Likewise.
1490 * remote-sds.c (sds_wait, sds_resume): Likewise.
1491 * remote-sim.c (gdbsim_wait, gdbsim_resume): Likewise.
1492 * remote-st.c (st2000_wait, st2000_resume): Likewise.
1493 * remote-udi.c (udi_wait, udi_resume): Likewise.
1494 * remote-vx.c (vx_wait, vx_resume): Likewise.
1495 * remote.c (remote_current_thread, remote_resume, remote_wait)
1496 (remote_async_resume, remote_async_wait, remote_cisco_wait)
1497 (remote_thread_alive): Likewise.
1498 * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_resume)
1499 (sol_thread_wait, sol_thread_notice_signals, sol_thread_alive)
1500 (solaris_pid_to_str): Likewise.
1501 * symm-nat.c (child_wait, child_resume): Likewise.
1502 * target.c (debug_to_resume, debug_to_wait, debug_to_post_wait)
1503 (debug_to_notice_signals, debug_to_thread_alive)
1504 (normal_target_post_startup_inferior, normal_pid_to_str)
1505 (debug_to_post_startup_inferior): Likewise.
1506 * target.h (to_resume, to_wait, to_post_wait)
1507 (to_post_startup_inferior, to_notice_signals, to_thread_alive)
1508 (to_pid_to_str [all in struct target_ops]): Likewise.
1509 (child_post_wait, child_thread_alive, normal_pid_to_str): Likewise.
1510 * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait)
1511 (attach_thread, detach_thread, thread_db_resume, check_event)
1512 (thread_db_post_startup_inferior, thread_db_thread_alive)
1513 (thread_db_pid_to_str): Likewise.
1514 * thread.c (add_thread, delete_thread, find_thread_pid)
1515 (pid_to_thread_id, in_thread_list, load_infrun_state)
1516 (save_infrun_state, switch_to_thread, restore_current_thread)
1517 (make_cleanup_restore_current_thread): Likewise.
1518 * top.c (target_wait_hook): Likewise.
1519 * uw-thread.c (dbgpid, thr_to_lwp, lwp_to_thr, add_thread_uw)
1520 (uw_thread_resume, libtrhead_stub, uw_thread_wait, uw_thread_alive)
1521 (uw_thread_pid_to_str): Likewise.
1522 * v850ice.c (v850ice_wait, v850ice_resume): Likewise.
1523 * win32-nat.c (child_wait, child_resume, win32_child_thread_alive)
1524 (cywin_pid_to_str): Likewise.
1525 * wince.c (child_wait, child_resume, win32_child_thread_alive):
1526 Likewise.
1527 * config/nm-linux.h (linuxthreads_pid_to_str): Likewise.
1528 * config/nm-lynx.h (child_wait, lynx_pid_to_str): Likewise.
1529 * config/alpha/nm-linux.h (lin_lwp_attach_lwp): Likewise.
1530 * config/arm/nm-linux.h (lin_lwp_attach_lwp): Likewise.
1531 * config/h8500/tm-h8500.h (h8500_read_pc, h8500_write_pc): Likewise.
1532 * config/i386/nm-i386sol2.h (procfs_stopped_by_watchpoint)
1533 (procfs_set_watchpoint): Likewise.
1534 * config/i386/nm-linux.h (lin_lwp_attach_lwp): Likewise.
1535 * config/i386/nm-ptx4.h (child_wait): Likewise.
1536 * config/i386/nm-symmetry.h (child_wait): Likewise.
1537 * config/i386/tm-cygwin.h (cygwin_pid_to_str): Likewise.
1538 * config/ia64/nm-linux.h (ia64_linux_stopped_by_watchpoint)
1539 (ia64_linux_insert_watchpoint, ia64_linux_remove_watchpoint)
1540 (lin_lwp_attach_lwp): Likewise.
1541 * config/mips/nm-irix4.h, config/mips/nm-irix5.h
1542 (procfs_stopped_by_watchpoint, procfs_set_watchpoint): Likewise.
1543 * config/pa/nm-hppah.h (child_pid_to_str, hppa_tid_to_str)
1544 (hppa_pid_or_tid_to_str): Likewise.
1545 * config/pa/tm-hppa.h (target_read_pc, target_write_pc): Likewise.
1546 * config/powerpc/nm-linux.h (lin_lwp_attach_lwp): Likewise.
1547 * config/sparc/nm-sun4sol2.h (procfs_stopped_by_watchpoint)
1548 (procfs_set_watchpoint): Likewise.
1549
1550 * gdbthread.h (thread_id_to_pid): Change return type which
1551 represents a combined process/thread id from ``int'' to
1552 ``ptid_t''.
1553 * gnu-nat.c (gnu_wait): Likewise.
1554 * go32-nat.c (go32_wait): Likewise.
1555 * hpux-thread.c (hpux_thread_wait): Likewise.
1556 * inferior.h (procfs_first_available): Likewise.
1557 * inftarg.c (child_wait): Likewise.
1558 * infttrace.c (ptrace_wait): Likewise.
1559 * lin-lwp.c (lin_lwp_wait): Likewise.
1560 * lin-thread.c (thread_db_wait): Likewise.
1561 * linux-thread.c (linuxthreads_wait): Likewise.
1562 * lynx-nat.c (child_wait): Likewise.
1563 * m3-nat.c (mach_really_wait): Likewise.
1564 * mac-nat.c (child_wait): Likewise.
1565 * monitor.c (monitor_wait): Likewise.
1566 * ppc-bdm.c (bdm_ppc_wait): Likewise.
1567 * procfs.c (do_attach, procfs_wait, procfs_first_available): Likewise.
1568 * remote-adapt.c (adapt_wait): Likewise.
1569 * remote-array.c (array_wait): Likewise.
1570 * remote-bug.c (bug_wait): Likewise.
1571 * remote-e7000.c (e7000_wait): Likewise.
1572 * remote-eb.c (eb_wait): Likewise.
1573 * remote-es.c (es1800_wait): Likewise.
1574 * remote-mips.c (mips_wait): Likewise.
1575 * remote-mm.c (mm_wait): Likewise.
1576 * remote-nindy.c (nindy_wait): Likewise.
1577 * remote-os9k (rombug_wait): Likewise.
1578 * remote-rdi.c (arm_rdi_wait): Likewise.
1579 * remote-rdp.c (remote_rdp_wait): Likewise.
1580 * remote-sds.c (sds_wait): Likewise.
1581 * remote-sim.c (gdbsim_wait): Likewise.
1582 * remote-st.c (st2000_wait): Likewise.
1583 * remote-udi.c (udi_wait): Likewise.
1584 * remote-vx.c (vx_wait): Likewise.
1585 * remote.c (remote_wait, remote_async_wait, remote_current_thread)
1586 (remote_cisco_wait): Likewise.
1587 * sol-thread.c (thread_to_lwp, lwp_to_thread, sol_thread_wait):
1588 Likewise.
1589 * symm-nat.c (child_wait): Likewise.
1590 * target.c (debug_to_wait): Likewise.
1591 * target.h (to_wait [in struct target_ops]): Likewise.
1592 * thread.c (thread_id_to_pid): Likewise.
1593 * thread-db.c (thread_from_lwp, lwp_from_thread, thread_db_wait):
1594 Likewise.
1595 * top.c (*target_wait_hook): Likewise.
1596 * uw-thread.c (lwp_to_thr, uw_thread_wait): Likewise.
1597 * v850ice.c (v850ice_wait): Likewise.
1598 * win32-nat.c (child_wait): Likewise.
1599 * wince.c (child_wait): Likewise.
1600 * config/nm-lynx.h (child_wait): Likewise.
1601 * config/i386/nm-ptx4.h (child_wait): Likewise.
1602 * config/i386/nm-symmetry.h (child_wait): Likewise.
1603
1604 * arch-utils.c (generic_prepare_to_proceed): Rename wait_pid
1605 to wait_ptid and change its type from ``int'' to ``ptid_t''.
1606 * breakpoint.c (reattach_breakpoints, detach_breakpoints): Likewise,
1607 but rename saved_inferior_pid to saved_inferior_ptid.
1608 * d10v-tdep.c (d10v_read_pc, d10_write_pc): Likewise, but rename
1609 save_pid to save_ptid.
1610 * gdbthread.h (struct thread_info): Likewise, but rename pid to ptid.
1611 * hppah-nat.c (child_pid_to_exec): Likewise, but rename
1612 saved_inferior_pid to saved_inferior_ptid.
1613 * hpux-thread.c (main_ptid): Likewise, but rename from main_pid.
1614 * infrun.c (previous_inferior_pid [static global]): Likewise,
1615 but rename to previous_inferior_ptid.
1616 (resume): Likewise, but rename resume_pid to resume_ptid.
1617 (struct execution_control_state): Likewise, but rename
1618 pid to ptid, saved_inferior_pid to saved_inferior_ptid,
1619 and waiton_pid to waiton_ptid.
1620 (target_last_wait_pid): Likewise, but rename to
1621 target_last_wait_ptid.
1622 * infttrace.c (saved_real_pid): Likewise, but rename to
1623 saved_real_ptid.
1624 (child_pid_to_exec_file): Likewise, but rename saved_inferior_pid
1625 to saved_inferior_ptid.
1626 * lin-lwp.c (struct lwp_info): Likewise, but rename pid to ptid.
1627 (trap_ptid): Likewise, but renamed from trap_pid.
1628 * lin-thread.c (handle_new_thread): Likewise, but rename gdb_pid
1629 to gdb_ptid.
1630 * linux-thread.c (detach_thread): Likewise, but rename pid to ptid.
1631 (thread_db_wait): Likewise, but rename ret_pid to retptid.
1632 * procfs.c (procfs_wait): Likewise, for retval whose name
1633 doesn't change. Also, ``temp'' becomes two separate variables,
1634 one named temp_tid (an int) and the other temp_ptid.
1635 (procfs_notice_thread): Likewise (type change) for gdb_threadid
1636 whose name does not change.
1637 * regcache.c (registers_ptid): Likewise, but renamed from
1638 registers_pid.
1639 (read_register_pid, read_signed_register_pid, write_register_pid):
1640 Likewise, but rename save_pid to save_ptid.
1641 (read_pc_pid, write_pc_pid): Likewise, but rename saved_inferior_pid
1642 to saved_inferior_ptid.
1643 * remote.c (remote_newthread_step): Likewise, but rename pid to ptid.
1644 * sol-thread.c (struct ps_prochandle): Likewise.
1645 (sol_thread_resume): Likewise, for save_pid which becomes save_ptid.
1646 (sol_thread_wait): Likewise, for rtnval whose name does not
1647 change, and for save_pid which becomes save_ptid.
1648 (solaris_pid_to_str): Likewise for lwp whose name does not change.
1649 (sol_find_new_threads_callback): Likewise, for pid which becomes
1650 ptid.
1651 * target.h (target_resume, target_wait, target_post_wait)
1652 (target_post_startup_inferior, target_notice_signals)
1653 (target_thread_alive): Likewise.
1654 * thread.c (info_threads_command): Likewise, but rename
1655 current_pid to current_ptid.
1656 (struct current_thread_cleanup): Likewise, but rename field
1657 inferior_pid to inferior_ptid.
1658 * thread-db.c (find_new_threads_callback): Likewise, but rename
1659 pid to ptid.
1660 * uw-thread.c (thr_to_lwp): Likewise for lid whose name does not
1661 change.
1662 (lwp_to_tr): Likewise fo tid whose name remains unchanged.
1663 (thr_infpid, lwp_infpid, notice_thread, libthread_stub): Likewise,
1664 but rename pid to ptid.
1665 * config/alpha/nm-linux.h (ATTACH_LWP): Likewise.
1666 * config/arm/nm-linux.h (ATTACH_LWP): Likewise.
1667 * config/i386/nm-linux.h (ATTACH_LWP): Likewise.
1668 * config/ia64/nm-linux.h (ATTACH_LWP): Likewise.
1669 * config/pa/nm-hppah.h (target_tid_to_str): Likewise.
1670 * config/powerpc/nm-linux.h (ATTACH_LWP): Likewise.
1671
1672 * arch-utils.c (generic_prepare_to_proceed): Test for the
1673 "zero" ptid by using ptid_equal() to test to see if variable
1674 in question is the same as null_ptid. This replaces a direct
1675 test against zero.
1676 * cxux-nat.c (add_shared_symbol_files): Likewise.
1677 * i386aix-nat.c, i386b-nat.c (i386_float_info): Likewise.
1678 * infcmd.c (run_command): Likewise.
1679 * inflow.c (kill_command): Likewise.
1680 * infttrace.c (call_ttrace): Likewise.
1681 * lin-lwp.c (lin_lwp_prepare_to_proceed): Likewise.
1682 * lin-thread.c (thread_db_kill): Likewise.
1683 * procfs.c (procfs_kill_inferior, procfs_mourn_inferior): Likewise.
1684 * remote-es.c (es1800_kill): Likewise.
1685 * sol-thread.c (sol_thread_create_inferior): Likewise.
1686 * solib.c (locate_base): Likewise.
1687 * target.c (nosupport_runtime): Likewise.
1688 * thread-db.c (thread_db_wait): Likewise.
1689 * top.c (quit_confirm, quit_force): Likewise.
1690 * uw-thread (lwp_infpid, uw_thread_resume): Likewise.
1691
1692 * infrun.c (handle_inferior_event, stop_stepping, normal_stop):
1693 Use ptid_equal to compare value of process/thread ids instead of
1694 ``=='' and ``!='' operators.
1695 lin-lwp.c (delete_lwp, lin_lwp_prepare_to_proceed)
1696 (stop_wait_callback, lin_lwp_wait): Likewise.
1697 * procfs.c (procfs_wait): Likewise.
1698 * regcache.c (read_register_bytes, read_register_gen)
1699 (write_register_gen, read_register, read_register_pid)
1700 (read_signed_register, read_signed_register_pid, write_register)
1701 (write_register_pid, supply_register): Likewise.
1702 * remote-vx.c (vx_resume): Likewise.
1703 * sol-thread.c (sol_thread_wait): Likewise.
1704 * symm-nat.c (kill_inferior): Likewise.
1705 * thread.c (delete_thread, find_thread_pid, pid_to_thread_id)
1706 (in_thread_list, info_threads_command, switch_to_thread)
1707 (restore_current_thread): Likewise.
1708 * uw-thread (libtread_stub): Likewise.
1709
1710 * arm-linux-nat.c (GET_THREAD_ID): Change PID to PTID.
1711
1712 * corelow.c (add_to_thread_list): Convert argument in add_thread()
1713 call to a ptid_t.
1714 * gnu-nat.c (inf_validate_procs): Likewise.
1715 * linux-thread.c (stop_thread, update_stop_threads): Likewise.
1716 * remote.c (record_currthread, remote_threads_info): Likewise.
1717 * win32-nat.c (child_add_thread): Likewise.
1718
1719 * hpux-thread.c (save_inferior_pid, restore_inferior_pid): Rename,
1720 respectively, to save_inferior_ptid() and restore_inferior_ptid().
1721 Adjust implementations to operate on ``ptid_t'' instead of ``int''.
1722 * lin-lwp.c (save_inferior_pid, restore_inferior_pid): Likewise.
1723 * lin-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
1724 * linux-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
1725 * proc-service.c (save_inferior_pid, restore_inferior_pid): Likewise.
1726 * sol-thread.c (save_inferior_pid, restore_inferior_pid): Likewise.
1727 * thread-db.c (save_inferior_pid, restore_inferior_pid): Likewise.
1728
1729 * infrun.c (RESUME_ALL): New macro representing the -1 ptid
1730 to be passed to target_resume() when all threads should resume.
1731 (resume): Set resume_ptid to RESUME_ALL rather than -1.
1732 (handle_inferior_event): Invoke target_resume() with RESUME_ALL
1733 instead of -1.
1734 * irix5-nat.c (solib_create_inferior_hook): Convert -1 to
1735 a ptid_t in target_resume() call.
1736 * osfsolib.c (solib_create_inferior_hook): Likewise.
1737 * solib-svr4.c (solib_create_inferior_hook): Likewise.
1738
1739 * lin-lwp.c (PIDGET, PIDGET0): Rename original PIDGET macro to
1740 PIDGET0. Define new PIDGET macro which uses PIDGET0, the only
1741 difference being that the 0xffff pattern will be interpreted
1742 as -1.
1743 * lin-thread.c (PIDGET, PIDGET0): Likewise.
1744 * thread-db.c (PIDGET, PIDGET0): Likewise.
1745 * config/nm-linux.h (PIDGET, PIDGET0): Likewise.
1746 * config/i386/tm-i386sol2.h (PIDGET, PIDGET0): Likewise.
1747 * config/i386/tm-i386v42mp.h (PIDGET, PIDGET0): Likewise.
1748 * config/sparc/tm-sun4sol2.h (PIDGET, PIDGET0): Likewise.
1749
1750 * m3-nat.c (init_m3_ops): Fix typo; initialize to_wait field to
1751 mach_really_wait rather than mach_really__wait.
1752 * lin-thread.c (check_for_thread_event): Fix warning; make function
1753 actually return a value.
1754
1755 * gdbarch.sh (TARGET_READ_PC, TARGET_WRITE_PC): Change type of
1756 ``pid'' arguments from ``int'' to ``ptid_t''. Also renamed
1757 pid to ptid.
1758 * gdbarch.h, gdbarch.c: Regenerated.
1759
31e28849
JL
17602001-05-03 Jonathan Larmour <jlarmour@redhat.com>
1761
1762 * rdi-share/devsw.c: Include <time.h> for struct tm
1763
8d341142
EZ
17642001-05-03 Eli Zaretskii <eliz@is.elta.co.il>
1765
1766 * config/djgpp/fnchange.lst: Add mappings for the new
1767 opcodes/openrisc-* files.
1768
9572d2b6
MS
17692001-05-01 Michael Snyder <msnyder@redhat.com>
1770
9085700c 1771 * lin-lwp.c: Change printf to fprintf_unfiltered.
9572d2b6
MS
1772 * Makefile.in: Add rules for thread-db.o, lin-lwp.o, proc-service.o.
1773
977adac5
ND
17742001-05-01 Nicholas Duffek <nsd@redhat.com>
1775
1776 * config/rs6000/tm-rs6000.h (IN_SOLIB_RETURN_TRAMPOLINE): Define.
1777 (rs6000_in_solib_return_trampoline): Declare.
1778 * rs6000-tdep.c (rs6000_in_solib_return_trampoline): New
1779 function.
1780 (rs6000_skip_trampoline_code): Skip bigtoc fixup code.
1781 * xcoffread.c (read_xcoff_symtab): Perform the ISFCN function
1782 check after the CSECT check rather than before it. Allocate
1783 separate symtabs for CSECTs whose names begin with '@'.
1784 (scan_xcoff_symtab): Don't ignore symbols beginning with '@'.
1785 Activate the misc_func_recorded mechanism for whose names begin
1786 with '@'.
1787
6d799331
C
17882001-04-30 J.T. Conklin <jtc@redback.com>
1789
1790 * ppcnbsd-nat.c (fetch_inferior_registers)
1791 (store_inferior_registers, fetch_core_registers): Changed to use
1792 fpreg[] instead of r_regs[] to access floating point registers.
1793
7f4dbe94
EZ
17942001-04-30 Elena Zannoni <ezannoni@redhat.com>
1795
1796 * sh-tdep.c: Get rid of the function prototypes.
1797 (sh_sh4_build_float_register_type): Move earlier in file.
1798 (fv_reg_base_num): Ditto.
1799 (dr_reg_base_num): Ditto.
1800
540af400
MS
18012001-04-30 Michael Snyder <msnyder@redhat.com>
1802
1803 * thread-db.c: Revert 2001-04-26 change for debugging output.
7ca673cd
MS
1804 * lin-lwp.c: Ditto.
1805 * lin-lwp.c: Add set/show debug lin-lwp command. Use this
1806 command to turn extra debugging output on / off.
540af400 1807
f5a6fc05
EZ
18082001-04-30 Eli Zaretskii <eliz@is.elta.co.il>
1809
1810 * buildsym.c (start_subfile): Use FILENAME_CMP instead of STREQ.
1811 (top-level): #include filenames.h.
1812
1813 * dwarf2read.c (dwarf2_start_subfile): Use IS_ABSOLUTE_PATH and
1814 FILENAME_CMP, to DTRT on non-Posix platforms.
1815 (top-level): #include filenames.h.
1816
1817
502dcf4e
AC
18182001-04-27 Andrew Cagney <ac131313@redhat.com>
1819
1820 * gdbtypes.c (check_stub_method): Always initialize ``p''.
1821
cc3f9cbb
AC
18222001-04-27 Andrew Cagney <ac131313@redhat.com>
1823
1824 * configure.host: Delete romp host.
1825 * TODO: Update.
1826
ed9c5cf2
AC
18272001-04-27 Andrew Cagney <ac131313@redhat.com>
1828
1829 * TODO: Updates to 5.1. No more targets to obsolete.
1830
d1a310e7
DH
18312001-04-27 Don Howard <dhoward@redhat.com>
1832
128437e6
DH
1833 (Changes from Kevin Buettner, with minor update by Don Howard.)
1834
1835 * i387-nat.c (i387_supply_fxsave, i387_fill_fxsave, i387_tag): Fix
1836 typos in which hexadecimal constants were really intended to be
1837 binary constants.
1838 (i387_tag): Swap logic regarding zero vs non-zero exponents.
d1a310e7
DH
1839 * MAINTAINERS (Misc): Added myself to the write-after-approval
1840 list.
1841
015a42b4
JB
18422001-04-26 Jim Blandy <jimb@redhat.com>
1843
1844 (Changes from Daniel Berlin, with revisions by Jim Blandy.)
1845
1846 Abstract out operations specific to particular C++ ABI's, and
1847 invoke them through a function table. This removes the C++ ABI
1848 dependencies scattered throughout the code, and allows us to
1849 cleanly add support for new C++ ABI's.
1850 * cp-abi.h, cp-abi.h, gnu-v2-abi.c, hpacc-abi.c: New files.
1851 * c-typeprint.c, c-valprint.c, dbxread.c, eval.c, gdbtypes.c,
1852 jv-typeprint.c, linespec.c, symtab.c, typeprint.c, valops.c:
1853 #include "cp-abi.h". These files all use functions now declared
1854 there.
1855 * symtab.h (OPNAME_PREFIX_P, VTBL_PREFIX_P, DESTRUCTOR_PREFIX_P):
1856 Deleted. These services are now provided by functions declared in
1857 cp-abi.h.
1858 * value.h (value_rtti_type, value_virtual_fn_field): Same.
1859 * values.c (value_virtual_fn_field): Same, for this definition.
1860 * valops.c (value_rtti_type): Same.
1861 * c-typeprint.c (c_type_print_base): Use the functions from
1862 "cp-abi.h", instead of the old macros, or hard-coded ABI-specific
1863 tests.
1864 * dbxread.c (record_minimal_symbol): Same.
1865 * gdbtypes.c (get_destructor_fn_field, virtual_base_index,
1866 virtual_base_index_skip_primaries): Same.
1867 * jv-typeprint.c (java_type_print_base): Same.
1868 * linespec.c (find_methods, decode_line_1): Same.
1869 * symtab.c (gdb_mangle_name): Same.
1870 * Makefile.in (SFILES): Add the new .c files mentioned above.
1871 (cp_abi_h): New variable.
1872 (COMMON_OBS): Add gnu-v2-abi.o, hpacc-abi.o, and cp-abi.o.
1873 (cp-abi.o, gnu-v2-abi.o, hpacc-abi.o): New targets.
1874 (c-typeprint.o, c-valprint.o, dbxread.o, eval.o, gdbtypes.o,
1875 jv-typeprint.o, symtab.o, linespec.o, typeprint.o, valops.o): Add
1876 dependency on $(cp_abi_h).
1877
f3fb8c85
MS
18782001-04-26 Michael Snyder <msnyder@redhat.com>
1879
20b8570d
MS
1880 * thread-db.c (_initialize_thread_db): Add set/show command
1881 "debug-linux-threads" for debugging output.
1882 * lin-lwp.c (various): Use global "debug_linux_threads to
1883 turn on extra debugging output.
4c8de859 1884 * lin-lwp.c: Minor cleanups in comments.
f3fb8c85
MS
1885 * target.c (normal_pid_to_str): Get rid of an ancient hack.
1886 * remote.c (remote_pid_to_str): New function for remote target.
1887
7f0b5c30
JB
18882001-04-24 Jim Blandy <jimb@redhat.com>
1889
1890 * c-typeprint.c (c_type_print_cv_qualifier): Don't print `const'
1891 qualifier on C++ references; all references are innately const.
1892
0af5533d
MK
18932001-04-20 Mark Kettenis <kettenis@gnu.org>
1894
1895 * event-top.h: Fix formatting.
1896
d036b4d9
AC
18972001-04-17 Andrew Cagney <ac131313@redhat.com>
1898
1899 * source.c (openp): Obsolete #ifdef MPW code.
1900 (open_source_file): Ditto.
1901 * event-top.c (display_gdb_prompt): Ditto.
1902 * utils.c (query): Ditto.
1903 (init_page_info): Ditto.
1904 (init_page_info): Delete #ifndef MPW.
1905 * top.c (gdb_readline): Ditto.
1906 * mac-xdep.c: Obsolete.
1907 * mac-gdb.r: Obsolete.
1908 * config/powerpc/xm-mpw.h: Obsolete.
1909 * config/xm-mpw.h: Obsolete.
1910 * mpw-make.sed: Obsolete.
1911 * mpw-config.in: Obsolete.
1912 * TODO: Update
1913 * NEWS: Update
1914
539ffe0b
MK
19152001-04-19 Mark Kettenis <kettenis@gnu.org>
1916
1917 * i386-tdep.c (i386_frameless_function_invocation): New function.
1918 * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION): Redefine
1919 in terms of i386_frameless_function_invocation. Adjust comment.
1920 (i386_frameless_function_invocation): New prototype.
1921
67e1e03a
MH
19222001-04-18 Martin M. Hunt <hunt@redhat.com>
1923
1924 * top.c (gdb_init): Don't call cli_out_new() to
1925 create global uiout if init_ui_hook is set. uiout will
1926 have to be initialized there.
1927
fbec36e2
AC
19282001-04-18 Andrew Cagney <ac131313@redhat.com>
1929
1930 * arch-utils.c: Include "regcache.h".
1931
ed84f6c1
MK
19322001-04-18 Mark Kettenis <kettenis@gnu.org>
1933
1934 * i386-tdep.c (i386_saved_pc_after_call): New function.
1935 * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Redefine in terms
1936 of i386_saved_pc_after_call.
1937 (i386_saved_pc_after_call): New prototype.
1938
c60a7562
MS
19392001-04-17 Michael Snyder <msnyder@redhat.com>
1940
c9e030cf 1941 * i386-nat.c: Fix typo in comment.
c60a7562
MS
1942 * solib.c (no_shared_libraries): New function. Discard all symbols
1943 from shared libraries.
1944 (_initialize_solib): Add command "nosharedlibrary" as complement
1945 to the command "sharedlibrary". Unloads symbols for all solibs.
1946
514e603d
AC
19472001-04-16 Andrew Cagney <ac131313@redhat.com>
1948
1949 * configure.host (m68030-sony-*, m68*-isi-*, m68*-sony-*):
1950 * configure.tgt (m68*-rom68k-*, m68*-*bug-*, m68*-monitor-*)
1951 (m68*-est-*, m68*-sony-*, m68*-isi-*):
1952 * Makefile.in (xm-news1000.h, tm-news.h, xm-news.h): Obsolete..
1953 * config/m68k/xm-news.h: Obsolete.
1954 * config/m68k/tm-news.h:
1955 * config/m68k/xm-news1000.h: Obsolete.
1956 * config/m68k/news.mh: Obsolete.
1957 * config/m68k/news.mt: Obsolete.
1958 * config/m68k/nm-news.h: Obsolete.
1959 * config/m68k/news1000.mh: Obsolete.
1960 * news-xdep.c: Obsolete.
1961 * Makefile.in (isi-xdep.o): Obsolete.
1962 (ALLDEPFILES): Delete isi-xdep.c.
1963 (tm-isi.h): Obsolete.
1964 * m68k-tdep.c (altos_skip_prologue): Update comments.
1965 (isi_skip_prologue): Obsolete.
1966 * isi-xdep.c: Obsolete.
1967 * config/m68k/xm-isi.h: Obsolete.
1968 * config/m68k/isi.mh: Obsolete.
1969 * config/m68k/tm-isi.h: Obsolete.
1970 * config/m68k/isi.mt: Obsolete.
1971
1972 * TODO: Update.
1973 * NEWS: Update.
1974
6240bebf
MS
19752001-04-17 Michael Snyder <msnyder@redhat.com>
1976
1977 * remote.c (remote_open_1): On opening the remote target, activate
1978 the solib_create_inferior_hook, so that it can detect when the
1979 target loads shared libraries.
1980 (remote_async_open_1): Ditto.
1981
75ac9d7b
MS
19822001-04-17 Michael Snyder <msnyder@redhat.com>
1983
1984 * breakpoint.c (print_one_breakpoint): Handle 64-bit addresses.
1985 * tracepoint.c (tracepoints_info): Handle 64-bit addresses.
1986 * testsuite/gdb.trace/deltrace.exp: Allow for 64-bit addresses.
1987 * testsuite/gdb.trace/infotrace.exp: Ditto.
1988 * testsuite/gdb.trace/passcount.exp: Ditto.
1989 * testsuite/gdb.trace/while-stepping.exp: Ditto.
1990
b9569773
MS
19912001-04-17 Michael Snyder <msnyder@redhat.com>
1992
1993 * thread-db.c (check_thread_signals): When looping over all
1994 signals, ignore signal zero.
1995 (disable_thread_signals): Ditto.
1996
81490ea1
MS
19972001-04-17 Eirik Fuller <eirik@netapp.com>
1998
1999 * thread.c (do_captured_thread_select): Allow the argument to the
2000 thread command to be an expression rather than a literal integer.
2001
e5434c3d
MK
20022001-04-17 Mark Kettenis <kettenis@gnu.org>
2003
2004 * i386-linux-tdep.c (i386_linux_saved_pc_after_call): Use
2005 read_memory_unsigned_integer instead of read_memory_integer.
2006
00c7912d
KB
20072001-04-16 Kevin Buettner <kevinb@redhat.com>
2008
2009 * solib-aix5.c (map_index_vs_section_name_okay): New function.
2010 (aix5_relocate_main_executable): Don't use file offsets for
2011 determining corresponding sections and map file entries. Call
2012 map_index_vs_section_name_okay() to do this instead.
2013
4d1bcd09
KB
20142001-04-16 Kevin Buettner <kevinb@redhat.com>
2015
2016 * procfs.c (open_with_retry): New function.
2017 (open_procinfo_files, load_syscalls, proc_iterate_over_mappings)
2018 (proc_get_LDT_entry): Call open_with_retry() instead of open().
2019
097e5c0b 20202001-04-16 Kevin Buettner <kevinb@redhat.com>
1186f287
KB
2021
2022 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Adjust
2023 comparison against TRAP_HWBKPT constant yet again to account
2024 for the various values used by different kernel versions.
2025
9e0c176c
DB
20262001-04-16 Daniel Berlin <dan@cgsoftware.com>
2027
2028 * demangle.c (_initialize_demangler): Use xcalloc on the
2029 demangling_style_names, and make it a null terminated array of
2030 names, to avoid a crash.
2031
c833a37e
MK
20322001-04-16 Mark Kettenis <kettenis@gnu.org>
2033
2034 * i386-tdep.c (i386_frame_chain): New function.
2035 * config/i386/tm-i386.h (FRAME_CHAIN): Redefine in terms of
2036 i386_frame_chain.
2037 (i386_frame_chain): New prototype.
2038
46c6cdcf
C
20392001-04-14 J.T. Conklin <jtc@redback.com>
2040
2041 * target.h (target_ops): Removed to_core_file_to_sym_file vector
2042 function.
2043 * corelow.c (core_ops): Updated for above change.
2044 * gnu-nat.c (core_ops): Likewise.
2045 * inftarg.c (child_ops): Likewise.
2046 * monitor.c (monitor_ops): Likewise.
2047 * ppc-bdm.c (bdm_ppc_ops): Likewise.
2048 * remote-adapt.c (adapt_ops): Likewise.
2049 * remote-bug.c (bug_ops): Likewise.
2050 * remote-e7000.c (e7000_ops): Likewise.
2051 * remote-eb.c (eb_ops): Likewise.
2052 * remote-es.c (es1800_ops, es1800_child_ops): Likewise.
2053 * remote-mm.c (mm_ops): Likewise.
2054 * remote-nindy.c (nindy_ops): Likewise.
2055 * remote-nrom.c (nrom_ops): Likewise.
2056 * remote-os9k.c (rombug_ops): Likewise.
2057 * remote-rdp.c (remote_rdp_ops): Likewise.
2058 * remote-sim.c (gdbsim_ops): Likewise.
2059 * remote-st.c (st2000_ops): Likewise.
2060 * v850ice.c (v850ice_ops): Likewise.
2061 * target.c (cleanup_target): Likewise
2062 (update_current_target): Likewise.
2063 (setup_target_debug): Likewise
2064 (debug_to_core_file_to_sym_file): Removed.
2065
2066 * corefile.c (core_file_command) [HPUXHPPA]: Removed code that
2067 sets symbol file from information obtained from the core file.
2068 * corelow.c (core_file_to_sym_file): Removed.
2069
d1566ff5
FN
20702001-04-13 Fernando Nasser <fnasser@redhat.com>
2071
2072 From Adam Mirowski <Adam.Mirowski@Sun.COM>
2073 Fixed Insight on Solaris. It was not possible to debug a process
2074 because of EINTR "errors".
2075 * procfs.c: (procfs_wait): if proc_wait_for_stop() fails
2076 with EINTR, retry the call.
2077
6c98e688
KB
20782001-04-12 Kevin Buettner <kevinb@redhat.com>
2079
2080 * solib-aix5.c (enum maptype): Delete.
2081 (struct lm_info): Add new member ``nmappings''. Make ``mapping''
2082 member a pointer instead of a statically sized array.
2083 (build_so_list_from_mapfile): Dynamically allocate ``mapping''
2084 array.
2085 (aix5_relocate_main_executable, aix5_relocate_section_addresses,
2086 aix5_find_global_pointer): Search for correct mapping to use
2087 based on file offset instead of knowledge of whether the section
2088 is read-only or read/write.
2089 (aix5_find_gate_addresses): Use the first mapping instead of
2090 the (now defunct) MT_READONLY mapping.
2091
49282387
ND
20922001-04-12 Nicholas Duffek <nsd@redhat.com>
2093
2094 * xcoffread.c (scan_xcoff_symtab): Ignore symbols beginning with
2095 "@".
2096
7f6b83a5
KB
20972001-04-12 Kevin Buettner <kevinb@redhat.com>
2098
2099 * config/i386/fbsd.mh (NATDEPFILES): Add i386-nat.o.
2100
24f89b68
AC
21012001-04-09 Andrew Cagney <ac131313@redhat.com>
2102
2103 Obsolete i[3456]86-*-sunos* (aka Sun386) host and target.
2104 * config/i386/sun386.mh: Obsolete.
2105 * config/i386/sun386.mt: Obsolete.
2106 * config/i386/xm-sun386.h: Obsolete.
2107 * config/i386/tm-sun386.h: Obsolete.
2108 * config/i386/nm-sun386.h: Obsolete.
2109 * Makefile.in (ALLDEPFILES): Delete sun386-nat.c.
2110 (sun386-nat.o): Target is obsolete.
2111 * sun386-nat.c: Obsolete.
2112 * configure.tgt (i[3456]86-*-sunos*): Obsolete.
2113 * configure.host (i[3456]86-*-sunos*): Obsolete.
2114 * NEWS: Update.
2115 * TODO: Update.
2116
c114dcd5
C
21172001-04-10 J.T. Conklin <jtc@redback.com>
2118
2119 * maint.c: Fix typo in comment.
2120
6755f5ad
KS
21212001-04-09 Keith Seitz <keiths@cygnus.com>
2122
2123 * MAINTAINERS: Swap with Syd Polk as a gdbtk maintainer.
2124
7700434b
KB
21252001-04-08 Kevin Buettner <kevinb@redhat.com>
2126
2127 * fork-child.c (fork_inferior, clone_and_follow_inferior):
2128 Document fact that apparent call to vfork() might actually be
2129 a call to fork() instead.
2130 * ser-pipe.c (pipe_open): Likewise.
2131
d493eb33
KB
21322001-04-08 Kevin Buettner <kevinb@redhat.com>
2133
2134 * printcmd.c (print_frame_args): Use a cleanup to invoke
2135 ui_out_list_end() so that the list count nesting flag will
2136 be decremented properly when an error occurs.
2137 * stack.c (print_frame): Likewise.
2138
af471f3c
C
21392001-04-06 J.T. Conklin <jtc@redback.com>
2140
c839c4db
C
2141 * dcache.c (dcache_write_line): Fixed bugs where cache line was
2142 not written to target correctly.
2143
af471f3c
C
2144 * gdbserver/low-hppabsd.c (read_inferior_memory): Add explicit
2145 void return value;
2146 * gdbserver/low-nbsd.c: Likewise.
2147 * gdbserver/low-sparc.c: Likewise.
2148 * gdbserver/low-sun3.c: Likewise.
2149
d8e275b4
GK
21502001-04-06 Geoffrey Keating <geoffk@redhat.com>
2151
2152 * config/rs6000/nm-rs6000.h (PTRACE_ATTACH): Don't define.
2153 (PTRACE_DETACH): Don't define.
2154
e02bc4cc
DS
21552001-04-06 David Smith <dsmith@redhat.com>
2156
2157 * arch-utils.c (default_prepare_to_proceed)
2158 (generic_prepare_to_proceed): Added new functions.
2159 * arch-utils.h: New function declarations for
2160 default_prepare_to_proceed() and generic_prepare_to_proceed().
2161 * gdbarch.sh: Added PREPARE_TO_PROCEED.
2162 * gdbarch.c: Regenerated.
2163 * gdbarch.h: Regenerated.
2164 * inferior.h: Added get_last_target_status() declaration.
2165 * infrun.c (get_last_target_status): Added new function.
2166 (handle_inferior_event): Saves last pid and waitstatus, which will
2167 get returned by get_last_target_status().
2168
2169 * hppa-tdep.c (prepare_to_proceed): Added comment stating that
2170 prepare_to_proceed() is potentially redundant since
2171 default_prepare_to_proceed() has been added.
2172 * linux-thread.c (prepare_to_proceed): Ditto.
2173 * lin-lwp.c (prepare_to_proceed): Ditto.
2174 * m3-nat.c (prepare_to_proceed): Ditto.
2175
1b2b2c16
AC
21762001-04-05 Andrew Cagney <ac131313@redhat.com>
2177
2178 Obsolete powerpcle-*-cygwin* and powerpcle-*-solaris* platforms
2179 and powerpc-*-netware* target.
2180 * configure.host (powerpcle-*-cygwin*, powerpcle-*-solaris*):
2181 Obsolete.
2182 * configure.tgt (powerpc-*-netware*, powerpcle-*-cygwin*)
2183 (powerpcle-*-solaris*): Obsolete.
2184 * config/powerpc/tm-cygwin.h: Obsolete.
2185 * config/powerpc/cygwin.mt: Obsolete.
2186 * config/powerpc/xm-cygwin.h: Obsolete.
2187 * config/powerpc/cygwin.mh: Obsolete.
2188 * config/powerpc/nm-solaris.h: Obsolete.
2189 * config/powerpc/xm-solaris.h: Obsolete.
2190 * config/powerpc/tm-solaris.h: Obsolete.
2191 * config/powerpc/solaris.mt: Obsolete.
2192 * config/powerpc/tm-ppc-nw.h: Obsolete.
2193 * config/powerpc/ppc-nw.mt: Obsolete.
2194 * TODO: Update.
2195 * NEWS: Update.
2196
063fd668
FN
21972001-04-06 Fernando Nasser <fnasser@redhat.com>
2198
2199 * buildsym.c (record_line): Turn off unused addr bits.
2200
a250df2e
FN
22012001-04-06 Fernando Nasser <fnasser@redhat.com>
2202
2203 From David Deephanphongs <deephan@telocity.com>
2204 * inferior.h: Fix declarations of get_inferior_args and
2205 set_inferior_args, which were missing the trailing 's'.
2206
1fcef334
JH
22072001-04-05 Jeff Holcomb <jeffh@redhat.com>
2208
2209 * monitor.c (monitor_supply_register): Only report an error if we
2210 don't get a valid value.
2211
f032fb6e
EZ
22122001-04-05 Eli Zaretskii <eliz@is.elta.co.il>
2213
2214 * README: Don't mention gdba.el.
2215
0191bed7
EZ
22162001-04-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2217
2218 From Jimmy Guo <guo@cup.hp.com>
2219 * top.c (init_main): set prompt if annotation_level>1,
2220 this is necessary when annotation_level is set to 2 via
2221 --annotate=2 command line option.
2222
4a1968f4
AC
22232001-04-04 Andrew Cagney <ac131313@redhat.com>
2224
2225 Obsolete a29k-*-* host and a29k-*-sym1* and a29k-*-kern* targets.
2226 * configure.tgt (a29k-*-sym1*, a29k-*-kern*): Obsolete.
2227 * configure.host (a29k-*-*): Obsolete.
2228 * Makefile.in (ALLDEPFILES): Remove ultra3-nat.c and
2229 ultra3-xdep.c.
2230 (ultra3-nat.o, ultra3-xdep.o): Obsolete.
2231 * config/a29k/tm-ultra3.h: Obsolete.
2232 * config/a29k/ultra3.mt: Obsolete.
2233 * config/a29k/ultra3.mh: Obsolete.
2234 * config/a29k/nm-ultra3.h: Obsolete.
2235 * config/a29k/xm-ultra3.h: Obsolete.
2236 * ultra3-xdep.c: Obsolete.
2237 * ultra3-nat.c: Obsolete.
2238 * config/a29k/a29k-kern.mt: Obsolete.
2239 * NEWS: Update.
2240 * TODO: Update.
2241
608506ed
CF
2242Wed Apr 4 21:48:42 2001 Christopher Faylor <cgf@cygnus.com>
2243
2244 * main.c: Remove windows.h use.
2245 (gdbtk_test): Use PATH_MAX for home var calculation.
2246 * remote-e7000.c (e7000_parse_device): Accomodate Cygwin as well as
2247 Win32 in colon test.
2248 * ser-tcp.c: Use modern __CYGWIN__ conditional.
2249 * source.c (mod_path): Add __CYGWIN__ conditional to WIN32 test.
2250 (openp): Ditto.
2251 * symfile.c (symfile_bfd_open): Ditto.
608506ed 2252
6457bd47
MH
22532001-04-04 Martin M. Hunt <hunt@redhat.com>
2254
2255 * main.c (captured_main): For GDBtk, don't use tui_fileopen().
2256 Handle all stream setup in gdbtk_init
2257
3df1b9b4
MK
22582001-04-04 Mark Kettenis <kettenis@gnu.org>
2259
2260 * i386-tdep.c (i386_extract_return_value): Don't return the return
2261 value of a void function.
2262 (i386_store_return_value): Likewise.
2263
76f4ea53
AC
22642001-04-03 Andrew Cagney <ac131313@redhat.com>
2265
2266 Obsolete w65-*-* target.
2267 * configure.tgt (w65-*-*): Obsolete.
2268 * config/w65/w65.mt: Obsolete.
2269 * config/w65/tm-w65.h: Obsolete.
2270 * w65-tdep.c: Obsolete.
2271 * NEWS: Update. Fix TiC80 description.
2272 * TODO: Update.
2273
52071915
AC
22742001-04-03 Andrew Cagney <ac131313@redhat.com>
2275
2276 Obsolete tic80-*-* target.
2277 * configure.tgt (tic80-*-*): Obsolete.
2278 * config/tic80/tic80.mt: Obsolete.
2279 * config/tic80/tm-tic80.h: Obsolete.
2280 * tic80-tdep.c: Obsolete.
2281 * TODO: Update
2282 * NEWS: Update.
2283
44eaed12
C
22842001-04-02 J.T. Conklin <jtc@redback.com>
2285
ba79cc81
C
2286 * remote-mips.c (S_IROTH): Moved definition from here.
2287 * gdb_stat.h (S_IROTH): to here.
2288
44eaed12
C
2289 * remote.c (remote_protocol_e, remote_protocol_E): Define.
2290 (set_remote_protocol_e_packet_cmd)
2291 (set_remote_protocol_E_packet_cmd)
2292 (show_remote_protocol_e_packet_command)
2293 (show_remote_protocol_E_packet_command): New functions.
2294 (init_all_packet_configs): Initialize remote_protocol_e and
2295 remote_protocol_E.
2296 (remote_resume, remote_async_resume): Support e/E command
2297 packets.
2298 (show_remote_cmd): Show state of remote_protocol_e and
2299 remote_protocol_E.
2300 (_initialize_remote): Add "set remote step-over-range-packet"
2301 and "set remote step-over-range-w-signal-packet" to CLI.
2302
bb19ff3b
AC
23032001-04-01 Andrew Cagney <ac131313@redhat.com>
2304
2305 Obsolete ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv* and
2306 ns32k-utek-*.
2307 * Makefile.in (ALLDEPFILES): Delete umax-xdep.c and ns32km3-nat.c.
2308 (umax-xdep.o, ns32km3-nat.o): Obsolete.
2309 * configure.tgt (ns32k-*-mach3*, ns32k-utek-sysv*, ns32k-utek-*):
2310 Obsolete.
2311 * configure.host (ns32k-*-mach3*, ns32k-umax-*, ns32k-utek-sysv*):
2312 Obsolete.
2313 * config/ns32k/merlin.mh: Obsolete.
2314 * config/ns32k/merlin.mt: Obsolete.
2315 * config/ns32k/xm-merlin.h: Obsolete.
2316 * config/ns32k/tm-merlin.h: Obsolete.
2317 * config/ns32k/nm-umax.h: Obsolete.
2318 * config/ns32k/umax.mh: Obsolete.
2319 * config/ns32k/umax.mt: Obsolete.
2320 * config/ns32k/xm-umax.h: Obsolete.
2321 * umax-xdep.c: Obsolete.
2322 * config/ns32k/ns32km3.mh: Obsolete.
2323 * config/ns32k/ns32km3.mt: Obsolete.
2324 * config/ns32k/tm-ns32km3.h: Obsolete.
2325 * config/ns32k/xm-ns32km3.h: Obsolete.
2326 * ns32km3-nat.c: Obsolete.
2327 * ns32k-tdep.c (merlin_skip_prologue): Obsolete.
2328 (merlin_frame_num_args): Ditto.
2329 * NEWS: Update.
2330 * TODO: Update.
2331
d6259d75
EZ
23322001-04-02 Eli Zaretskii <eliz@is.elta.co.il>
2333
2334 * config/djgpp/fnchange.lst: Tweak due to
2335 expect/example/chesslib.c.
2336
971ff545
KB
23372001-04-02 Kevin Buettner <kevinb@redhat.com>
2338
2339 * m88k-tdep.c (examine_prologue): Change type of ``insn'' from
2340 unsigned int to unsigned long. Also, fix format string.
2341 (pop_frame): Fix PC_IN_CALL_DUMMY() call so that it doesn't
2342 use an undeclared variable. Also, delete declaration and
2343 initialization of ``fp'' because it is otherwise unused.
2344 * remote-bug.c (sleep): Delete declaration.
2345 (bug_store_register, bug_write_memory, bug_read_memory)
2346 (bug_insert_breakpoint, bug_remove_breakpoint): Fix sprintf()
2347 format statements and cast certain sprintf() arguments to
2348 eliminate warnings.
2349 (bug_load): Likewise for call to printf_filtered().
2350 * config/m88k/tm-m88k.h (FIX_CALL_DUMMY): Eliminate
2351 assignment to ``pc''. The necessary assignment is done in
2352 hand_function_call() after the invocation of FIX_CALL_DUMMY().
2353
4e4f46a1
DB
23542001-03-20 Daniel Berlin <dberlin@redhat.com>
2355
2356 * symtab.c (completion_list_add_name): Remove duplicate string checks,
2357 readline already does this, and it's much faster at it, too.
2358
ba8629a9
EZ
23592001-04-01 Eli Zaretskii <eliz@is.elta.co.il>
2360
2361 * go32-nat.c: Minor tweaks, to pacify the ari script.
2362
7bf0983e
MK
23632001-04-01 Mark Kettenis <kettenis@gnu.org>
2364
f7af9647
MK
2365 * i386-tdep.c (i386_extract_struct_value_address): New function.
2366 * config/i386/tm-i386.h (EXTRACT_STRUCT_VALUE_ADDRESS): Redefine
2367 in terms of i386_extract_struct_value_address.
2368 (i386_extract_struct_value_address): New prototype.
2369
7bf0983e
MK
2370 * i386-linux-nat.c (i386_linux_dr_get): Change type of return
2371 value to `unsigned long'. Change type of `value' to `unsigned
2372 long'.
2373 (i386_linux_dr_set): Change type of second argument to `unsigned
2374 long'.
2375 (i386_linux_dr_set_control): Change type of first argument to
2376 `unsigned long'.
2377 (i386_linux_dr_get_status): Change type of return value to
2378 unsigned long.
2379 * config/i386/nm-linux.h (i386_linux_dr_set_control,
2380 i386_linux_dr_get_status): Adjust prototypes accordingly.
2381
6e4862ff
KB
23822001-03-31 Kevin Buettner <kevinb@redhat.com>
2383
2384 * ia64-linux-nat.c (ia64_linux_stopped_by_watchpoint): Change
2385 TRAP_HWBKPT constant to match that in the kernel headers for
2386 Linux/IA-64.
521f1f96 2387
1e8d0a7b
MK
23882001-03-31 Mark Kettenis <kettenis@gnu.org>
2389
0afdd437
MK
2390 * i386bsd-nat.c: Include "gdb_assert.h".
2391 [HAVE_PT_GETDBREGS] (DBREG_DRX): Define if not
2392 already defined.
2393 [HAVE_PT_GETDBREGS] (i386bsd_dr_set, i386bsd_dr_set_control,
2394 i386bsd_dr_set_addr, i386bsd_dr_reset_addr,
2395 i386bsd_dr_get_status): New functions.
2396 * config/i386/nm-fbsd.h [HAVE_PT_GETDBREGS]
2397 (I386_USE_GENERIC_WATCHPOINTS): Define.
2398 Include "i386/nm-i386.h".
2399 (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
2400 I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
2401 (i386bsd_dr_set_control, i386bsd_dr_set_addr,
2402 i386bsd_dr_reset_addr, i386bsd_dr_get_status): New prototypes.
2403 * acconfig.h (HAVE_PT_GETDBREGS): New configure macro.
2404 * configure.in: Cleanup a few comments. Check for PT_GETDBREGS
2405 ptrace request.
2406 * config.in, configure: Regenerate.
2407
4bcc3944
MK
2408 * i386-nat.c (i386_insert_aligned_watchpoint): Set address
2409 register before enabling it by setting the control register.
2410 (i386_remove_aligned_watchpoint): Reset address register after
2411 disabling it by setting the control register.
2412
1e8d0a7b
MK
2413 * i386-tdep.c (i386_extract_return_value): If the type of the
2414 return value is TYPE_STRUCT and the number of fields is one, call
2415 ourselves with TYPE set tp the type of the first field.
2416 (i386_store_return_value): Likewise.
2417 This fixes a problem with returning structs consisting of a single
2418 `float' or `double' on *BSD.
2419
95a85621
MK
24202001-03-30 Mark Kettenis <kettenis@gnu.org>
2421
40564aca
MK
2422 * lin-lwp.c (lin_lwp_resume): Don't mark LWP as not stopped until
2423 we're absolutely sure we're going to resume it.
2424
95a85621
MK
2425 * thread-db.c (check_event): Don't report an error if we encounter
2426 a thread creation event for a thread that's already in the thread
2427 list, since that may legitemately happen. Instead only call
2428 attach_thread if it's not already in the thread list.
2429
2e94c453
AC
24302001-03-28 Andrew Cagney <ac131313@redhat.com>
2431
2432 * config/pa/xm-hppah.h (malloc): Really delete declaration
2433 (MALLOC_INCOMPATIBLE): Really delete macro.
2434 * cli/cli-cmds.c (apropos_command): Use xcalloc.
2435
93d56215
AC
24362001-03-28 Andrew Cagney <ac131313@redhat.com>
2437
2438 * configure.in (build_warnings): Add -Wuninitialized.
2439 * configure: Regenerate.
2440
2441 * v850-tdep.c (v850_scan_prologue): Initialize ``insn2''.
2442 * sparc-tdep.c (sparc64_push_arguments): Add default case to
2443 switch.
2444 * sh-tdep.c (sh_do_fp_register): Replace ``?:'' printf format
2445 expression with if statement.
2446 * mn10200-tdep.c (mn10200_analyze_prologue): Initialize
2447 ``stack_size''.
2448 * mips-tdep.c (show_mipsfpu_command): Add default case to switch.
2449 (mips_dump_tdep): Fix setting of ef_mips_arch.
2450 * mcore-tdep.c (mcore_analyze_prologue): Initialize ``fp_regnum''.
2451 * dsrec.c (make_srec): Always initialize ``binbuf''.
2452 * monitor.c (monitor_read_memory_single): Do not pass an
2453 uninitialized buffer to monitor_error. Make ``i'' more local.
2454
381bab78
AC
24552001-03-28 Andrew Cagney <ac131313@redhat.com>
2456
2457 * MAINTAINERS: Change ns32k target to ,-Werror.
2458
2459 * ns32k-tdep.c: Include "gdbcore.h"
2460 (flip_bytes): Change first argument to void*. Add forward
2461 declaration.
2462 (sign_extend): Add declaration.
2463 (merlin_frame_num_args): Add final else clause to if-else chain.
2464 (umax_frame_num_args): Ditto.
2465 * config/ns32k/tm-umax.h (ns32k_localcount): Declare.
2466 (flip_bytes): Ditto.
2467
b9511b9a
MK
24682001-03-28 Mark Kettenis <kettenis@gnu.org>
2469
b05f2432
MK
2470 * i386-linux-tdep.c (FRAMELESS_SIGNAL): Moved here from
2471 config/i386/nm-linux.h (including comment).
2472 (i386_linux_frame_chain): New function implementing guts of the
2473 former FRAME_CHAIN macro, but using read_memory_unsigned_integer
2474 instead of read_memory_integer.
2475 (i386_linux_frame_saved_pc): Removed doc pointing to
2476 i386/tm-linux.h for an explanation of FRAMELESS_SIGNAL since that
2477 now lives in this file.
2478 * config/i386/tm-linux.h (FRAMELESS_SIGNAL): Moved to
2479 i386-linux-tdep.c (including comment).
2480 (FRAME_CHAIN): Redefined in terms of i386_linux_frame_chain.
2481 (i386_linux_frame_chain): New prototype.
2482
0eebe06a
MK
2483 * gdbserver/low-linux.c [I386_GNULINUX_TARGET]: Cleanup code and
2484 make it work again.
2485 (NUM_FREGS): Redefine to 0.
2486 (NUM_REGS): Redefine as NUM_GREGS.
2487 (i386_register_byte, i386_register_raw_size): Update from
2488 i386-tdep.c. Add comment about their origin.
2489 (regmap, register_u_addr): Take these from i386-linux-nat.c.
2490 (i386_register_u_addr): Removed.
2491
b9511b9a
MK
2492 * i386-linux-nat.c (i386_linux_dr_get): Return 0 if ptrace call
2493 fails instead of calling perror_with_name. This should fix
2494 debugging remote i386 targets with a native Linux/x86 GDB. Add
2495 FIXME for this hack.
2496
3172dc30
C
24972001-03-19 J.T. Conklin <jtc@redback.com>
2498
2499 * arch-utils.c (#include "gdbthread.h"): Removed.
2500 (#include "symfile.h"): Removed.
2501 (XMALLOC): Removed unused macro.
2502 * breakpoint.c (tbreak_command): Removed local declaration.
2503 (awatch_command, do_enable_breakpoint, set_breakpoint_count):
2504 Remove duplicate declarations.
2505 (bpstat_should_step, bpstat_have_active_hw_watchpoints)
2506 (remove_solib_event_breakpoints): Fix indentation botch.
2507 * c-typeprint.c (#include "command.h"): Removed.
2508 (#include "gdbcmd.h"): Removed.
2509 * ch-exp.c (ch_terminal_match_float_literal, parse_expr)
2510 (parse_primval, parse_untyped_expr, parse_opt_untyped_expr):
2511 Removed duplicate declarations.
2512 * ch-typeprint.c (#include "command.h"): Removed.
2513 (#include "gdbcmd.h"): Removed.
2514 * corefile.c (#include "frame.h"): Removed
2515 (#include "symfile.h"): Removed.
2516 (#include "language.h"): Removed.
2517 * dbxread.c (#include "command.h"): Removed.
2518 * environ.c (#include "gdbcore.h"): Removed.
2519 * event-loop.c (#include "top.h"): Removed.
2520 * f-typeprint.c (#include "command.h"): Removed.
2521 (#include "gdbcmd.h"): Removed.
2522 (#include "language.h"): Removed.
2523 (#include "typeprint.h"): Removed.
2524 (#include "frame.h"): Removed.
2525 * gdbtypes.h (print_type_scalar): Removed declaration.
2526 * infcmd.c (#include "completer.h"): Removed.
2527 * language.c (#include "frame.h"): Removed.
2528 * m2-typeprint.c (#include "command.h"): Removed.
2529 (#include "gdbcmd.h"): Removed.
2530 (#include "language.h"): Removed.
2531 * m2-valprint.c (#include "valprint.h"): Removed.
2532 * p-typeprint.c (#include "command.h"): Removed.
2533 (#include "gdbcmd.h"): Removed.
2534 * p-valprint.c (#include "typeprint.h"): Removed.
2535 * parse.c (#include "linespec.h"): Removed.
2536 * regcache.c (#include "frame.h"): Removed.
2537 * remote.c (#include "frame.h"): Removed.
2538 (getpkt_sane): Make static.
2539 * source.c (#include "completer.h"): Removed.
2540 * stack.c (#include "symfile.h"): Removed.
2541 (#include "objfiles.h"): Removed.
2542 * symfile.c (#include "completer.h"): Removed.
2543 * tracepoint.c (#include "completer.h"): Removed.
2544 * values.c (#include "frame.h"): Removed.
2545 * varobj.c (#include "valprint.h"): Removed.
2546 * wrapper.c (#include "frame.h"): Removed.
2547
2548 * memattr.c (create_mem_region): Removed unused variable.
2549 * remote-nrom.c: Removed spurious semicolon after init_nrom_ops.
2550
397b41ad
NC
25512001-03-27 Nick Clifton <nickc@redhat.com>
2552
2553 * remote-rdp.c (rdp_set_command_line): Add missing double quote.
2554
ed817e68
KB
25552001-03-27 Kevin Buettner <kevinb@redhat.com>
2556
2557 * solib-aix5.c (build_so_lib_from_mapfile): Use xfree() instead
2558 of free().
2559
b75e0a6b
EZ
25602001-03-27 Eli Zaretskii <eliz@is.elta.co.il>
2561
2562 * TODO (Cleanups): Remove the item about converting docs to GFDL.
2563
2fc3ac7e
KB
25642001-03-26 Kevin Buettner <kevinb@redhat.com>
2565
2566 * ia64-tdep.c (slotN_contents, replace_slotN_contents): Change
2567 type of ``bundle'' from unsigned char * to char *.
2568 (ia64_get_saved_register): Use alloca() to allocate register
2569 buffers.
2570
224d8953
KB
2571 * solib-aix5.c (build_so_lib_from_mapfile): Fix xasprintf() usage.
2572
37de36c6
KB
25732001-03-26 Kevin Buettner <kevinb@redhat.com>
2574
2575 * proc-utils.h (procfs_ctl_t): New typedef.
2576 * proc-api.c (write_with_trace): Change type of ``opcode'' from
2577 long to procfs_ctl_t. Don't assume that the target has defined
2578 BREAKPOINT. Handle case in which PCRESET is the same as PCUNSET.
2579 * proc-events.c (sys/syscall.h, sys/fault.h): Include conditionally.
2580 * procfs.c (sys/fault.h, sys/syscall.h): Include conditionally.
2581 (gdb_sigset_t, gdb_sigaction_t, gdb_siginfo_t, gdb_premptysysset)
2582 (gdb_praddsysset, gdb_prdelsysset, gdb_pr_issyssetmember):
2583 Conditionally define as appropriate for AIX/non-AIX systems. Use
2584 these defines/typedefs as appropriate elsewhere in file.
2585 (struct procinfo): Change type of saved_sigset and saved_sighold
2586 from sigset_t to gdb_sigset_t. Make saved_exitset and
2587 saved_entryset pointer variables. Add two new fields, num_syscalls
2588 and syscall_names.
2589 (DYNAMIC_SYSCALLS): Define when HAVE_PRSYSENT_T is defined.
2590 (sysset_t_size, sysset_t_alloc): New functions.
2591 (load_syscalls, free_syscalls, find_syscall): New functions for
2592 platforms which define DYNAMIC_SYSCALLS.
2593 (create_procinfo): Call load_syscalls.
2594 (destroy_one_procinfo): Call free_syscalls.
2595 (GDBRESET): Don't define twice.
2596 (proc_modify_flag): Change type of operation code array `arg'
2597 from long to procfs_ctl_t.
2598 (proc_stop_process, proc_wait_for_stop, proc_run_process)
2599 (proc_set_traced_signals, proc_set_traced_faults)
2600 (proc_set_traced_sysentry, proc_set_traced_sysexit)
2601 (proc_set_held_signals, proc_clear_current_fault)
2602 (proc_set_current_signal, proc_clear_current_signal, proc_set_gregs)
2603 (proc_set_fpregs, proc_kill, proc_set_watchpoint): Likewise for `cmd'.
2604 (proc_set_traced_sysentry): Dynamically allocate variable sized
2605 struct gdb_proc_ctl_pcsentry. Also, free it at function exit.
2606 (proc_set_traced_sysexit): Dynamically allocate variable
2607 sized struct gdb_proc_ctl_pcsexit. Also, free it at
2608 function exit.
2609 (proc_get_traced_sysentry, proc_get_traced_sysexit): Add new code
2610 for reading the sysset_t struct on AIX5.
2611 (procfs_debug_inferior): Don't assume that SYS_exit will be
2612 defined. Add new code for finding certain syscalls on AIX5.
2613 (syscall_is_lwp_exit, syscall_is_exit, syscall_is_exec)
2614 (syscall_is_lwp_create): New functions.
2615 (procfs_wait): Restructured code which checks for certain
2616 system calls to use the new syscall_is_... functions.
2617 (procfs_notice_signals): Account for the fact that saved_entryset
2618 and saved_exitset in struct procinfo are now pointers.
2619
25d53da1
KB
26202001-03-26 Kevin Buettner <kevinb@redhat.com>
2621
2622 * symtab.c (find_pc_sect_line): Revise method used for finding
2623 the ending pc.
2624
50e27f84
MK
26252001-03-26 Mark Kettenis <kettenis@gnu.org>
2626
2627 * i386-linux-tdep.c (i386_linux_sigtramp_saved_pc,
2628 i386_linux_sigtramp_saved_sp): Make static.
2629 (i386_linux_frame_saved_pc): New function based on the old
2630 FRAME_SAVED_PC macro, but use read_memory_unsigned_integer instead
2631 of read_memory_integer.
2632 * config/i386/tm-linux.h (sigtramp_saved_pc): Remove definition.
2633 (i386_linux_sigtramp_saved_pc): Remove prototype.
2634 (FRAME_SAVED_PC): Redefine in terms of i386_linux_frame_saved_pc.
2635 (i386_linux_frame_saved_pc): New prototype.
2636
1a5cef06
AC
26372001-03-26 Andrew Cagney <ac131313@redhat.com>
2638
2639 * MAINTAINERS: Document m88k as a ``Known problem in 5.1''.
2640 * TODO (GDB 5.1 - Cleanups): Update.
2641
af802127
AC
26422001-03-26 Andrew Cagney <ac131313@redhat.com>
2643
2644 * fork-child.c (clone_and_follow_inferior): Delete #ifdef
2645 HAVE_VFORK.
2646
22f8ba57
MK
26472001-03-26 Mark Kettenis <kettenis@gnu.org>
2648
5b31405b
MK
2649 * config/i386/tm-symmetry.h (PUSH_ARGUMENTS): #undef.
2650
22f8ba57
MK
2651 * i386-tdep.c (i386_push_arguments, i386_store_struct_return): New
2652 functions.
2653 * config/i386/tm-i386.h (PUSH_ARGUMENTS): New macro.
2654 (STORE_STRUCT_RETURN): Redefine in terms of
2655 i386_store_struct_return.
2656 (i386_push_arguments, i386_store_struct_return): New prototypes.
2657 * config/i386/tm-i386v.h (STORE_STRUCT_RETURN): Remove. It's
2658 definition was identical to the definition in "i386/tm-i386.h" so
2659 the new definition should suffice too.
2660
49baf819 26612001-03-26 Eli Zaretskii <eliz@is.elta.co.il>
4d277981 2662
b78a4f26
EZ
2663 * event-loop.c (toplevel) [!HAVE_POLL] [NO_FD_SET]: Remove unused
2664 definitions for SELECT, NBBY, FD_SETSIZE, NFDBITS, and MASK_SIZE.
2665
4d277981
EZ
2666 * config/djgpp/djconfig.sh: Add copyright notice.
2667
2668 * ser-go32.c (rawclock): Remove prototype; include time.h instead.
2669 (ISR, dos_hookirq, isr_t): Convert K&R definition to ANSI C.
2670 (top level) <string.h>: Include gdb_string.h instead.
2671 (dos_noop, dos_raw, dos_noflush_set_tty_state)
2672 (dos_print_tty_state, dos_info): Remove ATTRIBUTE_UNUSED.
2673
2674 * go32-nat.c (go32_create_inferior): Move the declaration of
2675 `environ' to here from the top level.
2676 (top level) <_initialize_go32_nat>: Remove redundant prototype.
2677 <gdb_string.h>: Include it instead of string.h.
2678 (store_register): Call register_buffer instead of accessing
2679 registers[] directly.
2680 (redir_cmdline_delete, redir_cmdline_parse, redir_to_debugger)
2681 (redir_to_debugger, redir_debug_init) [__DJGPP_MINOR__ < 3]: Put
2682 the function names at the start of the line.
2683 (go32_set_dr): Throw internal_error if the argument is not a valid
2684 debug register number.
2685 (go32_open, go32_close, go32_attach, go32_detach, go32_resume)
2686 (go32_wait, go32_xfer_memory, go32_files_info)
2687 (go32_terminal_info): Remove ATTRIBUTE_UNUSED.
2688
8f3ee2ae
JB
26892001-03-25 Jim Blandy <jimb@redhat.com>
2690
2691 * mips-tdep.c (mips_gdbarch_init): Tweak indentation.
2692
6ec4c4bd
EZ
26932001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2694
2695 From Andrew Cagney <ac131313@redhat.com>
2696
2697 * coffread.c: Include "gdb_assert.h".
2698 (coff_symtab_read): Cast the integer s_sclass to a long before
2699 casting it to a pointer.
2700
b9179dbc
EZ
27012001-03-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2702
2703 From Andrew Cagney <ac131313@redhat.com>
2704
2705 * coffread.c (coff_symtab_read): Initialize
2706 ``fcn_first_line_addr''. Check that the ``.bf'' always preceeds
2707 the ``.ef'' info.
2708 * dbxread.c (find_text_range): Initialize ``start'' and ``end''.
2709
64c4637f
AC
27102001-03-23 Andrew Cagney <ac131313@redhat.com>
2711
2712 * config/sparc/tm-sp64.h (GDB_MULTI_ARCH): Down grade to
2713 GDB_MULTI_ARCH_PARTIAL from two. SOFTWARE_SINGLE_STEP is not
2714 multi-arch.
2715
2716 * gdbarch.sh (SOFTWARE_SINGLE_STEP): Add.
2717 * gdbarch.h, gdbarch.c: Re-generate.
2718
2719 * target.h (SOFTWARE_SINGLE_STEP_P)
2720 (SOFTWARE_SINGLE_STEP): Delete macro definitions.
2721
61a0eb5b
AC
27222001-03-23 Andrew Cagney <ac131313@redhat.com>
2723
2724 * gdbarch.sh (gdbarch_register_read, gdbarch_register_write): Add.
2725 * gdbarch.h, gdbarch.c: Regenerate.
2726
2727 * regcache.h (regcache_read, regcache_write): Declare.
2728 (registers, register_valid, register_buffer): Add note that these
2729 interfaces are deprecated.
2730
2731 * regcache.c: Include "gdb_assert.h".
2732 (legacy_write_register_gen): Rename write_register_gen.
2733 (legacy_read_register_gen): Rename read_register_gen.
2734 (regcache_read, regcache_write): New function.
2735 (read_register_gen, write_register_gen): New function.
2736 (write_register): Simplify. Use write_register_gen.
2737 (read_register): Ditto using read_register_gen.
2738 (read_signed_register): Ditto.
2739 (read_register_bytes): Ditto!!!!
2740 (supply_register): Add note that CLEANUP_REGISTER_VALUE is being
2741 replaced by gdbarch_register_read.
2742
2743 * TODO (GDB 5.2 - Cleanups): Add list of gdbarch methods to
2744 deprecate.
2745
c2bd2ed9
JB
27462001-03-23 Jim Blandy <jimb@redhat.com>
2747
f34754ee
JB
2748 Fix from Dan Berlin:
2749
c2bd2ed9
JB
2750 * stabsread.c (read_cpp_abbrev): Properly construct the names of
2751 virtual function table pointer fields.
2752
c0e61796
AC
27532001-03-19 Andrew Cagney <ac131313@redhat.com>
2754
2755 * defs.h (xfree, mcalloc, mmalloc, mrealloc, mfree, xmmalloc,
2756 xmrealloc): Move existing declarations to the one place and
2757 re-order to be consistent.
2758 (xmcalloc, xmfree): Declare.
2759 (xmmalloc, xmrealoc): Assume ISO-C - use size_t and void* in
2760 declaration.
2761
2762 * utils.c (size_t): Delete #ifdef defining size_t.
2763 (mmalloc, mrealloc, mcalloc, mfree): Re-order.
2764 (mmalloc, mrealloc, mcalloc): Document as only calls in GDB
2765 corresponding malloc, realloc, calloc.
2766 (mfree): Call free directly.
2767 (xmmalloc, xmrealloc): Clean up. Assume ISO-C.
2768 (xmcalloc, xmfree): New functions. Copy old xcalloc and xfree
2769 function bodies to here.
2770 (xcalloc, xfree): Call xmcalloc and xmfree respectfully.
2771
c65ecaf3
AC
27722001-03-23 Andrew Cagney <ac131313@redhat.com>
2773
2774 * fork-child.c (fork_inferior): Make ``argv'', ``exec_file'' and
2775 ``shell_file'' static locals.
2776
2777 * jv-lang.c (java_link_class_type): Initialize ``field'' and
2778 ``method''.
2779
2780 * jv-valprint.c (java_value_print): Initialize ``next_element''.
2781
207e433e
MK
27822001-03-23 Mark Kettenis <kettenis@gnu.org>
2783
2784 * config/i386/nm-i386.h: Fix formatting and change reference to
2785 i386-tdep.c to i386-nat.c.
2786
6c5cfe5b
DS
27872001-03-23 David Smith <dsmith@redhat.com>
2788
2789 * configure.in: Corrected spelling errors.
2790 * configure: Regenerated.
2791
5300940c
AC
27922001-03-22 Andrew Cagney <ac131313@redhat.com>
2793
2794 * TODO (GDB 5.1 - Cleanups): Add more targets to obsolete.
2795
17e78a56
AC
27962001-03-22 Andrew Cagney <ac131313@redhat.com>
2797
2798 * Makefile.in (NTSSTART): Delete.
2799 (NTSOBS): Delete.
2800 (kdb): Delete target.
2801 * kdb-start.c, stuff.c: Mark as obsolete.
2802 * NEWS: Update.
2803
41899c04
AC
28042001-03-22 Andrew Cagney <ac131313@redhat.com>
2805
2806 * config/pa/xm-hppah.h (HPPA_COMPILER_BUG): Delete. GDB only
2807 compiles using an ISO-C compiler.
2808 (MALLOC_INCOMPATIBLE): Ditto.
2809 * linespec.c (decode_line_1): Delete hack to work around
2810 HPPA_COMPILER_BUG.
2811
88665544
AC
28122001-03-22 Andrew Cagney <ac131313@redhat.com>
2813
2814 * exec.c (xfer_memory): Always initialize section.
2815 * infrun.c (normal_stop): Always initialize source_flag.
2816
a2061976
AC
28172001-03-22 Andrew Cagney <ac131313@redhat.com>
2818
2819 * TODO (Remote Protocol Support): Review. Add notes about ``!'',
2820 non-use of a continue address and typical use of ``q'' packet.
2821
e24d4c64
EZ
28222001-03-22 Eli Zaretskii <eliz@is.elta.co.il>
2823
2824 Make DJGPP use the new unified support for hardware
2825 breakpoints and watchpoints on x86 targets:
2826
2827 * config/i386/nm-go32.h <top level>: Don't include nm-i386v.h,
2828 include nm-i386.h instead.
2829 (TARGET_HAS_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT)
2830 (TARGET_CAN_USE_HARDWARE_WATCHPOINT, STOPPED_BY_WATCHPOINT)
2831 (TARGET_REGION_OK_FOR_HW_WATCHPOINT, DECR_PC_AFTER_HW_BREAK)
2832 (target_stopped_data_address, target_insert_watchpoint)
2833 (target_remove_watchpoint, target_insert_hw_breakpoint)
2834 (target_remove_hw_breakpoint): Don't define.
2835 (I386_USE_GENERIC_WATCHPOINTS, I386_DR_LOW_SET_CONTROL)
2836 (I386_DR_LOW_SET_ADDR, I386_DR_LOW_RESET_ADDR)
2837 (I386_DR_LOW_GET_STATUS): Define to call appropriate go32_*
2838 functions from go32-nat.c.
2839
2840 * config/i386/go32.mh (NATDEPFILES): Add i386-nat.o.
2841
2842 * go32-nat.c <top level>: Remove prototypes for watchpoint-
2843 related functions. Remove definitions of watchpoint-related
2844 macros.
2845 (go32_mourn_inferior): Call i386_cleanup_dregs instead of the
2846 private cleanup_dregs function.
2847 (cleanup_dregs, go32_insert_watchpoint)
2848 (go32_insert_aligned_watchpoint, go32_handle_nonaligned_watchpoint)
2849 (go32_remove_watchpoint, go32_remove_aligned_watchpoint)
2850 (go32_region_ok_for_watchpoint, go32_stopped_by_watchpoint)
2851 (go32_remove_hw_breakpoint, go32_insert_hw_breakpoint): Remove.
2852 (go32_set_dr, go32_set_dr7, go32_get_dr6): New functions.
2853
c26e1c2b
KB
28542001-03-21 Kevin Buettner <kevinb@redhat.com>
2855
2856 * ia64-tdep.c (fetch_instruction): Warn about slot numbers greater
2857 than two instead of generating an error.
2858
272ba48f
JB
28592001-03-21 Jim Blandy <jimb@redhat.com>
2860
2861 * cp-valprint.c: Reformat to bring into line with GNU coding
2862 standards.
2863
84346e11
MK
28642001-03-21 Mark Kettenis <kettenis@gnu.org>
2865
2866 Make Linux use the new unified support for hardware breakpoints
2867 and watchpoints on x86 targets.
2868 * i386-linux-nat.c: Doc fixes. Include "gdb_assert.h".
2869 [HAVE_SYS_DEBUGREG_H]: Include <sys/debugreg.h>.
2870 (DR_FIRSTADDR, DR_LASTADDR, DR_STATUS, DR_CONTROL): Define to
2871 appropriate value if not already defined.
2872 (register_u_addr): New function.
2873 (kernel_u_size): New function.
2874 (i386_linux_dr_get, i386_linux_dr_set): New functions.
2875 (i386_linux_dr_set_control, i386_linux_dr_set_addr,
2876 i386_linux_reset_addr, i386_linux_dr_get_status): New functions.
2877 * config/i386/nm-linux.h: Don't include "nm-i386v.h".
2878 (I386_USE_GENERIC_WATCHPOINTS): Define and include "nm-i386.h".
2879 (TARGET_HAS_HARDWARE_WATCHPOINTS,
2880 TARGET_CAN_USE_HARDWARE_WATCHPOINTS, HAVE_CONTINUABLE_WATCHPOINT,
2881 STOPPED_BY_WATCHPOINT, target_insert_watchpoint,
2882 target_remove_watchpoint): Remove macros.
2883 (i386_stopped_by_watchpoint, i386_insert_watchpoint,
2884 i386_remove_watchpoint): Remove prototypes.
2885 (register_u_addr): New prototype.
2886 (REGISTER_U_ADDR): Define in terms of register_u_addr.
2887 (i386_linux_dr_set_control, i386_linux_dr_set_addr,
2888 i386_linux_reset_addr, i386_linux_dr_get_status): New prototypes.
2889 (I386_DR_LOW_SET_CONTROL, I386_DR_LOW_SET_ADDR,
2890 I386_DR_LOW_RESET_ADDR, I386_DR_LOW_GET_STATUS): New macros.
2891 * config/i386/linux.mh (NATDEPFILES): Replace i386v-nat.o with
2892 i386-nat.o.
2893
13b57657
JB
28942001-03-21 Jim Blandy <jimb@redhat.com>
2895
f34754ee
JB
2896 Fix from Dan Berlin:
2897
13b57657
JB
2898 * linespec.c (find_methods): Whitespace differences aren't
2899 significant in *un*mangled method names. Use strcmp_iw to compare
f34754ee 2900 them, not STREQ.
13b57657 2901
eee30e78
AC
29022001-03-21 Andrew Cagney <ac131313@redhat.com>
2903
2904 * gdbarch.sh: Allow a non- multi-arch target to override a
2905 predicate.
2906 * gdbarch.h: Regenerate.
2907
b77be6cf
AC
29082001-03-21 Andrew Cagney <ac131313@redhat.com>
2909
2910 * gdbarch.sh: Avoid use of ``!''.
2911
379d08a1
AC
29122001-03-20 Andrew Cagney <ac131313@redhat.com>
2913
2914 * target.h (enum target_signal): Move definition from here.
2915 * defs.h (enum target_signal): To here.
2916
2917 * config/arc/tm-arc.h (arc_software_single_step): Change type of
2918 first parameter to enum target_signal.
2919 * config/rs6000/tm-rs6000.h (rs6000_software_single_step): Ditto.
2920 * config/sparc/tm-sparc.h (sparc_software_single_step): Ditto.
2921 * rs6000-tdep.c (rs6000_software_single_step): Update.
2922
64485362
AC
29232001-03-20 Andrew Cagney <ac131313@redhat.com>
2924
2925 * frame.h (SIZEOF_FRAME_SAVED_REGS): Report an error if macro
2926 already defined.
2927
2928 From 2000-08-25 Stephane Carrez <Stephane.Carrez@worldnet.fr>:
2929 * stabsread.c (define_symbol): A parameter ('R'), a local ('r'),
2930 or a reference ('a') can be in a pseudo register.
2931 * infcmd.c (do_registers_info): Must take into account the pseudo
2932 registers to print their value.
2933 (registers_info): Likewise.
2934 * stack.c (frame_info): Likewise.
2935 * frame.h (SIZEOF_FRAME_SAVED_REGS): Save the pseudo registers.
2936
52b98211
EZ
29372001-03-21 Eli Zaretskii <eliz@is.elta.co.il>
2938
2939 Unified support for hardware breakpoints and watchpoints on
2940 x86 targets:
2941
2942 * config/i386/nm-i386.h: New file.
2943
2944 * config/i386/nm-i386.h: (i386_cleanup_dregs)
2945 (i386_insert_watchpoint, i386_remove_watchpoint)
2946 (i386_region_ok_for_watchpoint, i386_stopped_by_hwbp)
2947 (i386_stopped_data_address, i386_insert_hw_breakpoint)
2948 (i386_remove_hw_breakpoint): Declare prototypes.
2949 [I386_USE_GENERIC_WATCHPOINTS] (TARGET_CAN_USE_HARDWARE_WATCHPOINT):
2950 Define if not already defined.
2951 (TARGET_REGION_OK_FOR_HW_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT)
2952 (STOPPED_BY_WATCHPOINT, target_stopped_data_address)
2953 (target_insert_watchpoint, target_remove_watchpoint)
2954 (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Define
2955 to call the appropriate i386_* functions.
2956
2957 * i386-nat.c: New file.
2958
2959 * i386-nat.c (I386_DR_CONTROL_MASK, I386_DR_LOCAL_ENABLE)
2960 (I386_DR_GLOBAL_ENABLE, I386_DR_DISABLE, I386_DR_SET_RW_LEN)
2961 (I386_DR_GET_RW_LEN, I386_DR_WATCH_HIT): New macros.
2962 (dr_mirror, dr_status_mirror, dr_control_mirror, dr_ref_count)
2963 (maint_show_dr): New variables.
2964 (i386_cleanup_dregs, i386_show_dr, i386_length_and_rw_bits)
2965 (i386_insert_aligned_watchpoint, i386_remove_aligned_watchpoint)
2966 (i386_handle_nonaligned_watchpoint, i386_insert_watchpoint)
2967 (i386_remove_watchpoint, i386_region_ok_for_watchpoint)
2968 (i386_stopped_data_address, i386_stopped_by_hwbp)
2969 (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): New
2970 functions.
2971 (_initialize_i386_nat): New function.
2972 [I386_USE_GENERIC_WATCHPOINTS]: Add new maint command
2973 `show-debug-regs', sets maint_show_dr to non-zero value and
2974 activates debugging print-outs in functions which insert, remove,
2975 and test watchpoints and hardware breakpoints.
2976
2977 * Makefile.in (i386-nat.o): New target.
2978 (ALLDEPFILES): Add i386-nat.o.
2979
28e9e0f0
MK
29802001-03-21 Mark Kettenis <kettenis@gnu.org>
2981
2982 * i386-tdep.c: Add back _initialize_i386_tdep prototype with
2983 appropriate comment.
2984
e40eccb4
KB
29852001-03-20 Kevin Buettner <kevinb@redhat.com>
2986
2987 * config/alpha/alpha-linux.mh (NATDEPFILES): Use proc-service.o,
2988 thread-db.o, and lin-lwp.o for thread support instead of
2989 linux-thread.o and lin-thread.o.
2990 * config/alpha/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS)
2991 (ATTACH_LWP): Define to use the following lin-lwp.c functions...
2992 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals)
2993 (lin_lwp_attach_lwp): Declare.
2994
bea7bb93
JB
29952001-03-20 Jim Blandy <jimb@redhat.com>
2996
f34754ee
JB
2997 Fix from Dan Berlin:
2998
bea7bb93
JB
2999 * Makefile.in: Clean up dependencies on ../include/demangle.h.
3000 (demangle_h): New variable.
3001 (jv-typeprint.o, jv-valprint.o, linespec.o): Use it.
3002
b0ed3589
AC
30032001-03-20 Andrew Cagney <ac131313@redhat.com>
3004
3005 * target.h (SOFTWARE_SINGLE_STEP_P): Add empty parameter list.
3006 * breakpoint.c (bpstat_stop_status): Update.
3007 * infrun.c (handle_inferior_event): Ditto.
3008 * mips-tdep.c (mips_dump_tdep): Ditto.
3009 * infrun.c (resume): Ditto.
3010 * infptrace.c (child_resume): Ditto.
3011 * config/mips/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3012 * config/sh/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3013 * config/sparc/tm-sparc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3014 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3015 * config/arm/tm-wince.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3016 * config/arc/tm-arc.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3017 * config/powerpc/tm-ppc-eabi.h (SOFTWARE_SINGLE_STEP_P): Ditto.
3018
df087c62
AC
30192001-03-20 Andrew Cagney <ac131313@redhat.com>
3020
3021 * config/powerpc/tm-linux.h (SOFTWARE_SINGLE_STEP): Replace abort
3022 with internal_error.
3023
8bd1f2c6
JB
30242001-03-20 Jim Blandy <jimb@redhat.com>
3025
f34754ee
JB
3026 Fix from Dan Berlin:
3027
8bd1f2c6
JB
3028 * linespec.c (find_methods): Just call CHECK_TYPEDEF on t, rather
3029 than asking for sym_class's type; that's circuitous. Remove
3030 sym_class, since the last use of it is gone.
3031
c97fe386
EZ
30322001-03-20 Eli Zaretskii <eliz@is.elta.co.il>
3033
3034 * breakpoint.c (print_it_typical) <bp_access_watchpoint> [UI_OUT]:
3035 Correct the order of calls to ui_out_field_string and
3036 ui_out_list_begin when bs->old_val is NULL.
3037
486363b6
KB
30382001-03-19 Kevin Buettner <kevinb@redhat.com>
3039
3040 * configure.in (AC_CHECK_HEADERS): Check for existence of nlist.h.
3041 * configure: Regenerate.
3042 * config.in: Regenerate.
3043 * solib-legacy.c (nlist.h): Include if HAVE_NLIST_H is defined.
3044
087bb2e2
KB
30452001-03-19 Kevin Buettner <kevinb@redhat.com>
3046
3047 * config/i386/i386v42mp.mh (NATDEPFILES): List all files on
3048 same line to avoid problems with Unixware 7's make when building
3049 a cross debugger.
3050
3c37485b
AC
30512001-03-19 Andrew Cagney <ac131313@redhat.com>
3052
3053 * defs.h (malloc): Move declaration from here.
3054 * utils.c (malloc): To here.
3055 * config/pa/xm-hppah.h (malloc): Delete declaration.
3056
3057 * gnu-nat.c (make_proc): Use xmalloc instead of malloc.
3058 * hp-psymtab-read.c (hpread_call_pxdb): Ditto.
3059 (hpread_quick_traverse): Ditto.
3060 * infttrace.c (create_thread_info): Ditto.
3061 (kill_inferior): Ditto.
3062 * gnu-nat.c (make_inf): Ditto, and don't check return value.
3063 * procfs.c (proc_update_threads): Ditto.
3064 * valprint.c (print_decimal_chars): Ditto.
3065 * gdbtypes.c (cfront_mangle_name): Use xasprintf instead of
3066 malloc and sprintf.
3067 * remote-rdp.c (rdp_set_command_line): Ditto.
3068
0e52036f
AC
30692001-03-19 Andrew Cagney <ac131313@redhat.com>
3070
3071 * defs.h (realloc): Move declaration from here.
3072 * utils.c (realloc): To here.
3073 * config/pa/xm-hppah.h (realloc): Delete declaration.
3074 * lin-thread.c (insert_thread): Use xrealloc instead of realloc.
3075 * symfile.c (add_filename_language): Ditto.
3076 * event-loop.c (create_file_handler): Ditto.
3077
81b8eb80
AC
30782001-03-19 Andrew Cagney <ac131313@redhat.com>
3079
3080 * defs.h (free): Move declaration from here.
3081 * utils.c (free): To here.
3082 (xfree): Document as the only call to free().
3083 * config/pa/xm-hppah.h (free): Delete declaration.
3084
8cca004a
KB
30852001-03-19 Kevin Buettner <kevinb@redhat.com>
3086
3087 * config/ia64/linux.mh (NATDEPFILES): Add proc-service.o to
3088 this list.
3089
cf4eee44
AC
30902001-03-19 Andrew Cagney <ac131313@redhat.com>
3091
3092 * eval.c (evaluate_subexp): Remove #ifdef __STDC__ and ``inline''.
3093 * config/mips/xm-mips.h (offsetof): Define when !GNUC not !STDC.
3094 * cli/cli-cmds.c (init_cli_cmds): Remove #ifdef __STDC__
3095
1c5b31ef
AC
30962001-03-19 Andrew Cagney <ac131313@redhat.com>
3097
3098 * TODO: List known problems with TUI.
3099
3a0c66d4
AC
31002001-03-19 Andrew Cagney <ac131313@redhat.com>
3101
3102 * MAINTAINERS: Jimmy Guo stepped down as a maintiner (TUI,
3103 gdb.hp).
3104
ce359b09
AC
31052001-03-19 Andrew Cagney <ac131313@redhat.com>
3106
3107 * remote.c (remote_cisco_section_offsets): Do not cast result from
3108 bfd_get_section_name.
3109 (compare_sections_command): Ditto.
3110 (remote_cisco_section_offsets): Make ``p'' a const pointer.
3111 (compare_sections_command): Ditto for ``sectname''.
3112
0b3f98d3
AC
31132001-03-19 Andrew Cagney <ac131313@redhat.com>
3114
3115 From Mon Nov 20 13:59:29 2000 Andrew Cagney <cagney@b1.cygnus.com>:
3116 * valops.c (hand_function_call): Simplify computation of the
3117 address of the pushed argument.
3118
7451d027
AC
31192001-03-17 Andrew Cagney <ac131313@redhat.com>
3120
3121 * p-exp.y (parse_number): Avoid shift overflow when ``long''.
3122 Code copied from c-exp.y.
3123
fb70ab0c
KB
31242001-03-18 Kevin Buettner <kevinb@redhat.com>
3125
3126 * acconfig.h (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
3127 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
3128 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New configure macros.
3129 * configure.in (HAVE_STRUCT_LINK_MAP32): Move this test out
3130 of the Solaris procfs testing section. Instead, group with...
3131 (HAVE_STRUCT_LINK_MAP_WITH_L_MEMBERS)
3132 (HAVE_STRUCT_LINK_MAP_WITH_LM_MEMBERS)
3133 (HAVE_STRUCT_SO_MAP_WITH_SOM_MEMBERS): New <link.h> tests.
3134 * configure: Regenerate.
3135 * config.in: Regenerate.
3136
3137 * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Use
3138 new configure macros to choose which (if any) code to
3139 compile in. Added code to explicitly handle *BSD systems;
3140 these systems were previously handled only through macro
3141 redefinition. Also, due to the way the autoconf tests are set
3142 up, this function will no longer return a non-zero value when
3143 GDB is configured as a cross debugger. I.e, cross debuggers
3144 will no longer be able to "accidentally" get the host system's
3145 link map offsets.
3146
8aa16b78
KB
31472001-03-18 Kevin Buettner <kevinb@redhat.com>
3148
3149 * config/i386/nbsd.mh (NATDEPFILES): List all files on the same
3150 line to avoid build problem on NetBSD 1.4.
3151
559e75c0
MC
31522001-03-17 Michael Chastain <chastain@redhat.com>
3153
3154 * win32-nat.c (child_attach): check args for NULL before passing
3155 to strtoul. This fixes PR gdb/43.
3156
fc338970
MK
31572001-03-17 Mark Kettenis <kettenis@gnu.org>
3158
7daede3b
MK
3159 * i387-nat.h: Doc Fix.
3160
fc338970
MK
3161 * i386-tdep.c: Fix formatting.
3162 (i386_get_frame_setup, i386_follow_jump, codestream_read,
3163 codestream_seek, codestream_fill, skip_trampoline_code,
3164 gdb_print_insn_i386, _initialize_i386_tdep): Remove redundant
3165 prototypoes.
3166
e3c6d36d
MK
31672001-03-17 Mark Kettenis <kettenis@gnu.org>
3168
3169 * config/i386/tm-linux.h (TARGET_ANALYZE_FLOATING): Remove. It's
3170 no longer used. Also remove associated FIXME.
3171
4a5c6a1d
AC
31722001-03-16 Andrew Cagney <ac131313@redhat.com>
3173
3174 * gdbarch.sh: Add classes ``m'' and ``M'' for pure multi-arch. Do
3175 not generate macro wrappers for multi-arch functions or
3176 predicates.
3177 (class_is_info_p, class_is_predicate_p): Update.
3178 (class_is_function_p, class_is_variable_p): Ditto.
3179 (class_is_multiarch_p): New class function.
3180
7256e1a5
C
31812001-03-16 J.T. Conklin <jtc@redback.com>
3182
3183 * config/h8300/tm-h8300.h (FRAME_ARGS_ADDRESS): Changed to use
3184 h8300_frame_args_address from frame_args_address.
3185 (FRAME_LOCALS_ADDRESS): Changed to use h8300_frame_locals_address
3186 from frame_locals_address.
3187 (PRINT_REGISTER_HOOK): Changed to use h8300_print_register_hook
3188 from print_register_hook.
3189 (h8300_frame_args_address): Declare.
3190 (h8300_frame_find_saved_regs): Declare.
3191 (h8300_frame_locals_address): Declare.
3192 (h8300_frame_saved_pc): Declare.
3193 (h8300_pop_frame): Declare.
3194 (h8300_print_register_hook): Declare.
3195 * h8300-tdep.c (h8300_frame_find_saved_regs): Removed declaration.
3196 (h8300_frame_args_address): Renamed from frame_args_address.
3197 (h8300_frame_locals_address): Renamed from frame_locals_address.
3198 (h8300_pop_frame): Renamed from pop_frame.
3199 (h8300_print_register_hook): Renamed from print_register_hook.
3200
435b259c
KB
32012001-03-16 Kevin Buettner <kevinb@redhat.com>
3202
3203 * solib-svr4.c (bfd_lookup_symbol): Change type of
3204 ``storage_needed'' from unsigned int to long in order to
3205 match return type of bfd_get_symtab_upper_bound() and
3206 bfd_get_dynamic_symtab_upper_bound().
3207 * solib-aix5.c (bfd_lookup_symbol): Likewise. Also, eliminate
3208 REASONABLE_LIMIT hack which had been added to work around this
3209 problem.
3210
80117be2
KB
32112001-03-15 Kevin Buettner <kevinb@redhat.com>
3212
3213 * solib-aix5.c (bfd_lookup_symbol, build_so_list_from_mapfile)
3214 (aix5_relocate_main_executable, aix5_clear_solib): Replace calls
3215 to free() with calls to xfree().
3216 (bfd_lookup_symbol): Eliminate use of PTR.
3217 (build_so_list_from_mapfile): Use xasprintf() instead of sprintf().
3218
77cd5909
MH
32192001-03-15 Martin Hunt <hunt@redhat.com>
3220
3221 * linespec.c (decode_line_1): Remove trailing quote
3222 when parsing double quotes.
3223
f7f5a202
KB
32242001-03-15 Kevin Buettner <kevinb@redhat.com>
3225
3226 * uw-thread.c (read_thr_debug, read_map, read_lwp, thread_iter)
3227 (libthread_stub, libthread_init): Pass NULL for the mem_attrib
3228 argument in the to_xfer_memory calls.
3229
0d35ddba
AC
32302001-03-15 Andrew Cagney <ac131313@redhat.com>
3231
3232 * MAINTAINERS: Fix typo - w65 not w64. Still doesn't build.
3233 * TODO (GDB 5.1 - Cleanups): Add status of targets being obsoleted.
3234
043780a1
AC
32352001-03-15 Andrew Cagney <ac131313@redhat.com>
3236
3237 * wince.c (child_xfer_memory): Add attrib parameter.
3238 * symm-nat.c (child_xfer_memory): Ditto.
3239 * mac-nat.c (child_xfer_memory): Ditto.
3240 * infttrace.c (child_xfer_memory): Ditto.
3241 * procfs.c (procfs_xfer_memory): Ditto.
3242 * lin-thread.c (thread_db_xfer_memory): Ditto.
3243 * gnu-nat.c (gnu_xfer_memory): Ditto.
3244
9b9c068d
AC
32452001-03-14 Andrew Cagney <ac131313@redhat.com>
3246
3247 * NEWS: Mention that Harris/CXUX m88k is obsolete.
3248
f88e2c52
AC
32492001-03-13 Andrew Cagney <ac131313@redhat.com>
3250
3251 * config/mips/tm-mips.h: Include "regcache.h" for macros refering
3252 to regcache functions.
3253 * config/m68k/tm-m68k.h: Ditto.
3254 * config/i386/tm-i386v.h: Ditto.
3255 * config/mcore/tm-mcore.h: Ditto.
3256 * config/m88k/tm-m88k.h: Ditto.
3257 * config/m68k/tm-news.h: Ditto.
3258 * config/m68k/tm-linux.h: Ditto.
3259 * config/m68k/tm-delta68.h: Ditto.
3260 * config/m68k/nm-sun3.h: Ditto.
3261 * config/m32r/tm-m32r.h: Ditto.
3262 * config/i386/tm-symmetry.h: Ditto.
3263 * config/i386/tm-sun386.h: Ditto.
3264 * config/i386/tm-i386.h: Ditto.
3265 * config/i386/nm-symmetry.h: Ditto.
3266 * config/i386/nm-sun386.h: Ditto.
3267 * config/i386/nm-ptx4.h: Ditto.
3268 * config/i386/nm-i386mach.h: Ditto.
3269 * config/h8500/tm-h8500.h: Ditto.
3270 * config/h8300/tm-h8300.h: Ditto.
3271 * config/fr30/tm-fr30.h: Ditto.
3272 * config/d30v/tm-d30v.h: Ditto.
3273 * config/arm/tm-arm.h: Ditto.
3274 * config/arc/tm-arc.h: Ditto.
3275 * config/alpha/tm-alpha.h: Ditto.
3276 * config/a29k/tm-vx29k.h: Ditto.
3277 * config/a29k/tm-a29k.h: Ditto.
3278 * config/w65/tm-w65.h: Ditto.
3279 * config/vax/tm-vax.h: Ditto.
3280 * config/v850/tm-v850.h: Ditto.
3281 * config/tic80/tm-tic80.h: Ditto.
3282 * config/sparc/tm-sparclite.h: Ditto.
3283 * config/sparc/tm-sparclet.h: Ditto.
3284 * config/sparc/tm-sparc.h: Ditto.
3285 * config/sparc/nm-sun4sol2.h: Ditto.
3286 * config/sparc/nm-sun4os4.h: Ditto.
3287 * config/sparc/nm-nbsd.h: Ditto.
3288 * config/powerpc/nm-solaris.h: Ditto.
3289 * config/pa/tm-hppao.h: Ditto.
3290 * config/pa/tm-hppa.h: Ditto.
3291 * config/pa/nm-hppab.h: Ditto.
3292 * config/ns32k/tm-umax.h: Ditto.
3293 * config/ns32k/tm-merlin.h: Ditto.
3294 * config/nm-m3.h: Ditto.
3295 * config/nm-gnu.h: Ditto.
3296
0981ead9
AC
32972001-03-14 Andrew Cagney <ac131313@redhat.com>
3298
3299 * MAINTAINERS: Update list of targets. Mark arm-* and v850-elf as
3300 broken. Mark sh-*, ia64-linux and ns32k-netbsd as buildable.
3301 Specify an m88k target. Include sample GAWK script to generate
3302 target list. Delete non-existant romp target.
3303 * TODO (GDB 5.1 - Cleanups): Update.
3304
91c1720e
KS
33052001-03-14 Keith Seitz <keiths@cygnus.com>
3306
3307 * linespec.c (decode_line_1): Skip argptr over a leading
3308 double quote. Prevents alloc of 0 bytes and memcpy of -1 bytes.
3309
3cc122b3
KB
33102001-03-14 Kevin Buettner <kevinb@redhat.com>
3311
3312 * config/djgpp/fnchange.lst (ia64-aix-nat.c): Add entry.
3313
5bb367b1
AC
33142001-03-13 Andrew Cagney <ac131313@redhat.com>
3315
3316 * ui-out.h: Remove #if __STDC__, assume an ISO-C compiler.
3317 * m3-nat.c: Ditto.
3318 * p-lang.h: Ditto.
3319 * printcmd.c (printf_command): Ditto.
3320 * ch-exp.c (match_integer_literal): Ditto.
3321 * scm-tags.h: Ditto.
3322 * ser-go32.c: Ditto.
3323 * hppa-tdep.c (unwind_command): Ditto.
3324 * defs.h (volatile): Delete macro definition. Assume __STDC__.
3325 * remote-adapt.c (volatile): Ditto.
3326 * remote-eb.c (volatile): Ditto.
3327 * remote-mm.c (volatile): Ditto.
3328 * defs.h (alloca): Assume __STDC__, declare returning void *.
3329
a728f042
AC
33302001-03-08 Andrew Cagney <ac131313@redhat.com>
3331
3332 * inferior.h (ARCH_NUM_REGS): Delete definition.
3333 * stack.c (frame_info): Use NUM_REGS, not ARCH_NUM_REGS.
3334 * regcache.c (registers_changed): Ditto.
3335 (registers_fetched): Ditto.
3336 * infptrace.c (fetch_inferior_registers): Ditto.
3337 (store_inferior_registers): Ditto.
3338 * infcmd.c (do_registers_info): Ditto.
3339 (registers_info): Ditto.
3340 * i386-linux-nat.c (old_fetch_inferior_registers): Ditto.
3341 (old_store_inferior_registers): Ditto.
3342 * gdbserver/low-linux.c (register_addr): Ditto.
3343 * gdbserver/low-hppabsd.c (register_addr): Ditto.
3344 * core-aout.c: Don't include "inferior.h".
3345 (fetch_core_registers): Use NUM_REGS not ARCH_NUM_REGS.
3346 (register_addr): Ditto.
3347
f48ff60a
FN
33482001-03-13 Fernando Nasser <fnasser@redhat.com>
3349
3350 From Steven Johnson <sjohnson@neurizon.net>
3351 * cli/cli-script.c (define_command): Fix setting of post hooks.
3352
305d65ca
MK
33532001-03-13 Mark Kettenis <kettenis@gnu.org>
3354
3355 * i386-linux-tdep.c: Fix formatting and clarify comments.
3356 (i386_linux_svr4_fetch_link_map_offsets): Use NULL instead of 0
3357 where appropriate.
3358
bf62e5b4
AC
33592001-03-12 Andrew Cagney <ac131313@redhat.com>
3360
3361 * gnu-nat.c: Include "gdb_assert.h" instead of <assert.h>.
3362 (proc_update_sc): Use gdb_assert instead of assert.
3363 (proc_abort): Ditto.
3364 (inf_set_step_thread): Ditto.
3365 (gnu_wait): Ditto.
3366 (S_exception_raise_request): Ditto.
3367 (gnu_terminal_init_inferior): Ditto.
3368
21479ded
KB
33692001-03-09 Kevin Buettner <kevinb@redhat.com>
3370
3371 * Makefile.in (solib-svr4.o): Depend on solib-svr4.c, not solib.c.
3372 (solib-legacy.o): New makefile target.
3373 * solib-legacy.c: New file.
3374 * solib-svr4.h (SVR4_FETCH_LINK_MAP_OFFSETS): Delete.
3375 (default_svr4_fetch_link_map_offsets): Delete.
3376 (set_solib_svr4_fetch_link_map_offsets): Declare.
3377 (legacy_svr4_fetch_link_map_offsets_hook): Declare.
3378 * solib-svr4.c (elf/common.h): Include.
3379 (link.h): Only include for SunOS shared library support.
3380 (_SYSCALL32): Don't define.
3381 (SVR4_FETCH_LINK_MAP_OFFSETS): Define.
3382 (default_svr4_fetch_link_map_offsets): Made static; added forward
3383 declaration.
3384 (fetch_link_map_offsets): New static global.
3385 (legacy_svr4_fetch_link_map_offsets_hook): New global variable.
3386 (default_svr4_fetch_link_map_offsets): Rewritten. The guts
3387 of what used to be in this function now reside in
3388 legacy_svr4_fetch_link_map_offsets() in solib-legacy.c.
3389 (open_symbol_file_object): Fix declaration in SunOS section
3390 of the code.
3391 (set_solib_svr4_fetch_link_map_offsets): New extern function.
3392 (init_fetch_link_map_offsets): New static function.
3393 (_initialize_svr4_solib): Put static global fetch_link_map_offsets
3394 under multiarch control.
3395
3396 * config/alpha/alpha-linux.mt (TDEPFILES): Add solib-legacy.o to
3397 list.
3398 * config/alpha/fbsd.mh (NATDEPFILES): Likewise.
3399 * config/arm/linux.mt (TDEPFILES): Likewise.
3400 * config/i386/fbsd.mh (NATDEPFILES): Likewise.
3401 * config/i386/i386dgux.mh (NATDEPFILES): Likewise.
3402 * config/i386/i386gnu.mh (NATDEPFILES): Likewise.
3403 * config/i386/i386sco5.mh (NATDEPFILES): Likewise.
3404 * config/i386/i386sol2.mt (TDEPFILES): Likewise.
3405 * config/i386/i386v4.mh (NATDEPFILES): Likewise.
3406 * config/i386/i386v42mp.mh (NATDEPFILES): Likewise.
3407 * config/i386/linux.mt (TDEPFILES): Likewise.
3408 * config/i386/nbsd.mh (NATDEPFILES): Likewise.
3409 * config/i386/nbsdelf.mh (NATDEPFILES): Likewise.
3410 * config/i386/ncr3000.mt (TDEPFILES): Likewise.
3411 * config/i386/ptx4.mh (XDEPFILES): Likewise.
3412 * config/i386/sun386.mt (TDEPFILES): Likewise.
3413 * config/ia64/linux.mt (TDEPFILES): Likewise.
3414 * config/m68k/linux.mt (TDEPFILES): Likewise.
3415 * config/m68k/m68kv4.mh (NATDEPFILES): Likewise.
3416 * config/m68k/nbsd.mh (NATDEPFILES): Likewise.
3417 * config/m68k/sun2os4.mt (TDEPFILES): Likewise.
3418 * config/m68k/sun3os4.mt (TDEPFILES): Likewise.
3419 * config/m88k/delta88v4.mh (NATDEPFILES): Likewise.
3420 * config/mips/mipsv4.mh (NATDEPFILES): Likewise.
3421 * config/ns32k/nbsd.mh (NATDEPFILES): Likewise.
3422 * config/powerpc/linux.mt (TDEPFILES): Likewise.
3423 * config/powerpc/nbsd.mh (NATDEPFILES): Likewise.
3424 * config/powerpc/solaris.mh (NATDEPFILES): Likewise.
3425 * config/sh/linux.mt (TDEPFILES): Likewise.
3426 * config/sparc/linux.mt (TDEPFILES): Likewise.
3427 * config/sparc/nbsd.mh (NATDEPFILES): Likewise.
3428 * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise.
3429 * config/sparc/sp64linux.mt (TDEPFILES): Likewise.
3430 * config/sparc/sun4os4.mt (TDEPFILES): Likewise.
3431 * config/sparc/sun4sol2.mh (NATDEPFILES): Likewise.
3432
d7fa9de0
KB
34332001-03-09 Kevin Buettner <kevinb@redhat.com>
3434
3435 * utils.c (xmrealloc, xcalloc): Return NULL for zero-sized requests.
3436
f8241bd1
AC
34372001-03-09 Andrew Cagney <ac131313@redhat.com>
3438
3439 * MAINTAINERS (Write After Approval): Update Philip Blundell.
3440
e6b4b0c2
KS
34412001-03-09 Keith Seitz <keiths@cygnus.com>
3442
3443 * MAINTAINERS: Add myself to write after approval list.
3444
96836138
MK
34452001-03-09 Mark Kettenis <kettenis@gnu.org>
3446
3447 * i387-tdep.c (print_i387_status_word): Fix printing of Stack
3448 fault flag. It is bit 6 of the x87 FPU status word, not bit 7.
3449
1b594327
AC
34502001-03-08 Andrew Cagney <ac131313@redhat.com>
3451
3452 * configure.host (m88*-harris-cxux*): Mark as obsolete.
3453 * configure.tgt: Ditto.
3454 * config/m88k/xm-cxux.h: Ditto.
3455 * config/m88k/tm-cxux.h: Ditto.
3456 * config/m88k/nm-cxux.h: Ditto.
3457 * config/m88k/cxux.mt: Ditto.
3458 * config/m88k/cxux.mh: Ditto.
3459
4a32a1e4
AC
34602001-03-08 Andrew Cagney <ac131313@redhat.com>
3461
3462 * Makefile.in: Delete rules for obsolete files.
3463
ec9a3449
DT
3464Thu Mar 8 15:43:40 2001 David Taylor <taylor@redhat.com>
3465
3466 * stack.c (parse_frame_specification): For one argument case,
3467 handle the situation where the argument is an integer, not an
3468 address -- arguably the most common case. This matters on
3469 targets where pointers and addresses are different.
3470
a50c34dc
AC
34712001-03-08 Andrew Cagney <ac131313@redhat.com>
3472
3473 * TODO: Revise 5.1 list. Delete PARAMS task. Add coding standard
3474 review. Clarify GNU/LINUX/sparc. Move other tasks to 5.2 or
3475 general.
3476
cfc046cf
AC
34772001-03-07 Andrew Cagney <ac131313@redhat.com>
3478
3479 * TODO (GDB 5.1 Known Problems): Document problem of building GDB
3480 with SID on Solaris 8.
3481
39424bef
MK
34822001-03-07 Mark Kettenis <kettenis@gnu.org>
3483
3484 * defs.h: Provide prototypes for floatformat_is_negative,
3485 floatformat_is_nan and floatformat_mantissa.
3486 * utils.c: Include "gdb_assert.h".
3487 (floatformat_is_negative): New function.
3488 (floatformat_is_nan): New function.
3489 (floatformat_mantissa): New function.
3490 * valprint.c: Include "floatformat.h".
3491 (print_floating): Get rid of the Linux-specific
3492 TARGET_ANALYZE_FLOATING macro and rewrite NaN detection with the
3493 help these new functions. Print NaN's in a format conforming to
3494 ISO C99.
3495
7a1bd56a
EZ
34962001-03-07 Eli Zaretskii <eliz@is.elta.co.il>
3497
3498 * top.c (init_main): Make `set history file name' complete on file
3499 names.
3500
5565b556
C
35012001-03-06 J.T. Conklin <jtc@redback.com>
3502
21a12a30
C
3503 * Makefile.in (LINTFLAGS): Update to contain all of the macros
3504 which define include paths used when compiling.
3505
3506 * util.c (savestring, msavestring): Change type of length argument.
3507 * defs.h (savestring, msavestring): Update to match.
3508
5565b556
C
3509 * symtab.h (decode_line_1): Removed declaration.
3510
3511 * symfile.c (#include <assert.h>): Removed.
3512
3513 * arch-utils.c (#include <ctype.h>): Removed.
3514 * c-typeprint.c: Likewise.
3515 * dbxread.c: Likewise.
3516 * gdbtypes.c: Likewise.
3517 * target.c: Likewise.
3518 * os9kread.c: Likewise.
3519
3520 * c-valprint.c (#include "demangle.h"): Removed.
3521 * ch-typeprint.c: Likewise.
3522 * eval.c: Likewise.
3523 * f-typeprint.c: Likewise.
3524 * f-valprint.c: Likewise.
3525 * m2-typeprint.c: Likewise.
3526 * typeprint.c: Likewise.
3527 * p-typeprint.c: Likewise.
3528 * valarith.c: Likewise.
3529 * valprint.c: Likewise.
3530
3531 * m2-typeprint.c (#include "gdb_string.h"): Removed.
3532 * nlmread.c: Likewise.
3533
3534 * mdebugread.c (#include "gdb-stabs.h"): Removed.
3535 * minsyms.c: Likewise.
3536 * mipsread.c: Likewise.
3537 * nlmread.c: Likewise.
3538
3539 * m2-typeprint.c (#include "obstack.h"): Removed.
3540 * m2-valprint.c: Likewise.
3541
3542 * event-loop.c (#include <setjmp.h>): Removed.
3543
e8be95ae
SS
35442001-03-06 Stan Shebs <shebs@apple.com>
3545
3546 * MAINTAINERS: Remove self from specific maintenance domains
3547 (macos, gdbserver, documentation, testsuite).
3548
b6ba6518
KB
35492001-03-06 Kevin Buettner <kevinb@redhat.com>
3550
3551 * 29k-share/udi/udip2soc.c, Makefile.in, a29k-tdep.c,
3552 a68v-nat.c, abug-rom.c, aclocal.m4, alpha-nat.c, alpha-tdep.c,
3553 annotate.c, annotate.h, arc-tdep.c, arch-utils.c,
3554 arch-utils.h, arm-tdep.c, ax-gdb.c, ax-gdb.h, ax-general.c,
3555 ax.h, bcache.c, bcache.h, blockframe.c, breakpoint.c,
3556 breakpoint.h, buildsym.c, buildsym.h, c-exp.y, c-lang.c,
3557 c-lang.h, c-typeprint.c, c-valprint.c, call-cmds.h, ch-exp.c,
3558 ch-lang.c, ch-lang.h, ch-typeprint.c, ch-valprint.c,
3559 cli/cli-cmds.h, cli/cli-decode.c, cli/cli-decode.h,
3560 cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.h,
3561 cli/cli-utils.h, cli-out.c, cli-out.h, coff-solib.c,
3562 coff-solib.h, coffread.c, command.h, complaints.c,
3563 complaints.h, completer.c, completer.h,
3564 config/a29k/nm-ultra3.h, config/a29k/tm-a29k.h,
3565 config/a29k/tm-ultra3.h, config/a29k/tm-vx29k.h,
3566 config/a29k/xm-ultra3.h, config/alpha/nm-fbsd.h,
3567 config/alpha/nm-linux.h, config/alpha/nm-osf.h,
3568 config/alpha/nm-osf2.h, config/alpha/nm-osf3.h,
3569 config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h,
3570 config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h,
3571 config/alpha/xm-fbsd.h, config/arc/tm-arc.h,
3572 config/arm/nm-linux.h, config/arm/tm-arm.h,
3573 config/arm/tm-embed.h, config/d10v/tm-d10v.h,
3574 config/d30v/tm-d30v.h, config/fr30/tm-fr30.h,
3575 config/h8300/tm-h8300.h, config/h8500/tm-h8500.h,
3576 config/i386/nm-fbsd.h, config/i386/nm-gnu.h,
3577 config/i386/nm-i386bsd.h, config/i386/nm-i386mach.h,
3578 config/i386/nm-i386sco.h, config/i386/nm-i386sol2.h,
3579 config/i386/nm-i386v.h, config/i386/nm-i386v4.h,
3580 config/i386/nm-i386v42mp.h, config/i386/nm-linux.h,
3581 config/i386/nm-nbsd.h, config/i386/nm-nbsdelf.h,
3582 config/i386/nm-ptx4.h, config/i386/nm-sun386.h,
3583 config/i386/nm-symmetry.h, config/i386/tm-cygwin.h,
3584 config/i386/tm-fbsd.h, config/i386/tm-i386.h,
3585 config/i386/tm-i386aix.h, config/i386/tm-i386bsd.h,
3586 config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h,
3587 config/i386/tm-i386m3.h, config/i386/tm-i386mk.h,
3588 config/i386/tm-i386nw.h, config/i386/tm-i386os9k.h,
3589 config/i386/tm-i386sco5.h, config/i386/tm-i386sol2.h,
3590 config/i386/tm-i386v.h, config/i386/tm-i386v4.h,
3591 config/i386/tm-i386v42mp.h, config/i386/tm-linux.h,
3592 config/i386/tm-nbsd.h, config/i386/tm-ptx.h,
3593 config/i386/tm-ptx4.h, config/i386/tm-sun386.h,
3594 config/i386/tm-symmetry.h, config/i386/tm-vxworks.h,
3595 config/i386/xm-fbsd.h, config/i386/xm-i386bsd.h,
3596 config/i386/xm-i386gnu.h, config/i386/xm-i386m3.h,
3597 config/i386/xm-i386mach.h, config/i386/xm-i386mk.h,
3598 config/i386/xm-i386sco.h, config/i386/xm-i386v4.h,
3599 config/i386/xm-linux.h, config/i386/xm-nbsd.h,
3600 config/i386/xm-ptx.h, config/i386/xm-ptx4.h,
3601 config/i386/xm-sun386.h, config/i386/xm-symmetry.h,
3602 config/i960/tm-i960.h, config/i960/tm-mon960.h,
3603 config/i960/tm-nindy960.h, config/i960/tm-vx960.h,
3604 config/ia64/nm-aix.h, config/ia64/nm-linux.h,
3605 config/ia64/tm-aix.h, config/ia64/tm-ia64.h,
3606 config/ia64/tm-linux.h, config/ia64/xm-aix.h,
3607 config/ia64/xm-linux.h, config/m68k/nm-apollo68b.h,
3608 config/m68k/nm-delta68.h, config/m68k/nm-dpx2.h,
3609 config/m68k/nm-hp300bsd.h, config/m68k/nm-hp300hpux.h,
3610 config/m68k/nm-linux.h, config/m68k/nm-sun3.h,
3611 config/m68k/tm-apollo68b.h, config/m68k/tm-cisco.h,
3612 config/m68k/tm-dpx2.h, config/m68k/tm-es1800.h,
3613 config/m68k/tm-hp300bsd.h, config/m68k/tm-hp300hpux.h,
3614 config/m68k/tm-isi.h, config/m68k/tm-linux.h,
3615 config/m68k/tm-m68k.h, config/m68k/tm-m68kv4.h,
3616 config/m68k/tm-mac.h, config/m68k/tm-monitor.h,
3617 config/m68k/tm-nbsd.h, config/m68k/tm-news.h,
3618 config/m68k/tm-os68k.h, config/m68k/tm-sun3.h,
3619 config/m68k/tm-vx68.h, config/m68k/xm-3b1.h,
3620 config/m68k/xm-apollo68b.h, config/m68k/xm-dpx2.h,
3621 config/m68k/xm-hp300bsd.h, config/m68k/xm-hp300hpux.h,
3622 config/m68k/xm-linux.h, config/m68k/xm-m68kv4.h,
3623 config/m68k/xm-mpw.h, config/m68k/xm-news.h,
3624 config/m68k/xm-sun2.h, config/m68k/xm-sun3.h,
3625 config/m68k/xm-sun3os4.h, config/m88k/nm-delta88v4.h,
3626 config/m88k/tm-delta88.h, config/m88k/tm-delta88v4.h,
3627 config/m88k/tm-m88k.h, config/m88k/xm-cxux.h,
3628 config/m88k/xm-delta88.h, config/m88k/xm-delta88v4.h,
3629 config/m88k/xm-dgux.h, config/mcore/tm-mcore.h,
3630 config/mips/nm-irix3.h, config/mips/nm-irix4.h,
3631 config/mips/nm-irix5.h, config/mips/nm-mips.h,
3632 config/mips/nm-news-mips.h, config/mips/tm-bigmips.h,
3633 config/mips/tm-embed.h, config/mips/tm-embed64.h,
3634 config/mips/tm-embedl.h, config/mips/tm-embedl64.h,
3635 config/mips/tm-irix3.h, config/mips/tm-irix5.h,
3636 config/mips/tm-mips.h, config/mips/tm-mips64.h,
3637 config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h,
3638 config/mips/tm-tx39.h, config/mips/tm-tx39l.h,
3639 config/mips/tm-vr4100.h, config/mips/tm-vr4300.h,
3640 config/mips/tm-vr4300el.h, config/mips/tm-vr4xxx.h,
3641 config/mips/tm-vr4xxxel.h, config/mips/tm-vr5000.h,
3642 config/mips/tm-vr5000el.h, config/mips/xm-irix3.h,
3643 config/mips/xm-irix4.h, config/mips/xm-irix5.h,
3644 config/mips/xm-mips.h, config/mips/xm-mipsm3.h,
3645 config/mips/xm-mipsv4.h, config/mips/xm-news-mips.h,
3646 config/mips/xm-riscos.h, config/mn10200/tm-mn10200.h,
3647 config/mn10300/tm-mn10300.h, config/nm-gnu.h,
3648 config/nm-linux.h, config/nm-lynx.h, config/nm-m3.h,
3649 config/nm-sysv4.h, config/none/nm-none.h,
3650 config/none/tm-none.h, config/none/xm-none.h,
3651 config/ns32k/nm-nbsd.h, config/ns32k/nm-umax.h,
3652 config/ns32k/tm-merlin.h, config/ns32k/tm-nbsd.h,
3653 config/ns32k/tm-ns32km3.h, config/ns32k/tm-umax.h,
3654 config/ns32k/xm-merlin.h, config/ns32k/xm-ns32km3.h,
3655 config/pa/nm-hppab.h, config/pa/nm-hppah.h,
3656 config/pa/nm-hppao.h, config/pa/tm-hppa.h,
3657 config/pa/tm-hppa64.h, config/pa/tm-hppah.h,
3658 config/pa/xm-hppab.h, config/pa/xm-hppah.h,
3659 config/powerpc/nm-aix.h, config/powerpc/nm-linux.h,
3660 config/powerpc/nm-macos.h, config/powerpc/nm-nbsd.h,
3661 config/powerpc/tm-cygwin.h, config/powerpc/tm-linux.h,
3662 config/powerpc/tm-macos.h, config/powerpc/tm-ppc-aix.h,
3663 config/powerpc/tm-ppc-eabi.h, config/powerpc/tm-ppc-nw.h,
3664 config/powerpc/tm-ppcle-eabi.h, config/powerpc/tm-solaris.h,
3665 config/powerpc/xm-aix.h, config/powerpc/xm-linux.h,
3666 config/powerpc/xm-mpw.h, config/rs6000/nm-rs6000.h,
3667 config/rs6000/tm-rs6000.h, config/rs6000/tm-rs6000ly.h,
3668 config/rs6000/xm-aix4.h, config/rs6000/xm-rs6000.h,
3669 config/sh/tm-linux.h, config/sh/tm-sh.h, config/sh/tm-wince.h,
3670 config/sparc/nm-linux.h, config/sparc/nm-nbsd.h,
3671 config/sparc/nm-nbsdelf.h, config/sparc/nm-sparclynx.h,
3672 config/sparc/nm-sun4os4.h, config/sparc/nm-sun4sol2.h,
3673 config/sparc/tm-linux.h, config/sparc/tm-sp64.h,
3674 config/sparc/tm-sp64sim.h, config/sparc/tm-sparc.h,
3675 config/sparc/tm-sparclet.h, config/sparc/tm-sparclite.h,
3676 config/sparc/tm-sparclynx.h, config/sparc/tm-spc-em.h,
3677 config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h,
3678 config/sparc/xm-sun4os4.h, config/sparc/xm-sun4sol2.h,
3679 config/tic80/tm-tic80.h, config/tm-linux.h, config/tm-lynx.h,
3680 config/tm-sysv4.h, config/v850/tm-v850.h, config/vax/tm-vax.h,
3681 config/w65/tm-w65.h, config/xm-aix4.h, config/xm-lynx.h,
3682 config/xm-mpw.h, config/xm-nbsd.h, config/xm-sysv4.h,
3683 config/z8k/tm-z8k.h, configure.in, core-aout.c, core-regset.c,
3684 core-sol2.c, corefile.c, corelow.c, cp-valprint.c,
3685 cpu32bug-rom.c, cxux-nat.c, d10v-tdep.c, d30v-tdep.c,
3686 dbug-rom.c, dbxread.c, dcache.c, dcache.h, defs.h,
3687 delta68-nat.c, demangle.c, dink32-rom.c, dpx2-nat.c, dsrec.c,
3688 dstread.c, dve3900-rom.c, dwarf2read.c, dwarfread.c,
3689 elfread.c, environ.c, environ.h, eval.c, event-loop.c,
3690 event-loop.h, event-top.c, exec.c, expprint.c, f-exp.y,
3691 f-lang.c, f-lang.h, f-typeprint.c, f-valprint.c, findvar.c,
3692 fork-child.c, fr30-tdep.c, frame.c, frame.h, gdb-events.c,
3693 gdb-events.h, gdb-events.sh, gdb-stabs.h, gdb.1, gdb_string.h,
3694 gdb_thread_db.h, gdbcmd.h, gdbcore.h, gdbserver/Makefile.in,
3695 gdbserver/gdbreplay.c, gdbserver/gdbserver.1,
3696 gdbserver/low-hppabsd.c, gdbserver/low-linux.c,
3697 gdbserver/low-lynx.c, gdbserver/low-nbsd.c,
3698 gdbserver/low-sim.c, gdbserver/low-sparc.c,
3699 gdbserver/low-sun3.c, gdbserver/remote-utils.c,
3700 gdbserver/server.c, gdbserver/server.h, gdbserver/utils.c,
3701 gdbthread.h, gdbtypes.c, gdbtypes.h, gnu-nat.c, gnu-nat.h,
3702 gnu-regex.c, gnu-regex.h, h8300-tdep.c, h8500-tdep.c,
3703 hp-psymtab-read.c, hp-symtab-read.c, hp300ux-nat.c,
3704 hppa-tdep.c, hppab-nat.c, hppah-nat.c, hppam3-nat.c, hpread.c,
3705 hpread.h, hpux-thread.c, i386-tdep.c, i386aix-nat.c,
3706 i386b-nat.c, i386gnu-nat.c, i386ly-tdep.c, i386m3-nat.c,
3707 i386mach-nat.c, i386nbsd-nat.c, i386nbsd-tdep.c, i386v-nat.c,
3708 i386v4-nat.c, i387-tdep.c, i960-tdep.c, infcmd.c, inferior.h,
3709 inflow.c, infptrace.c, infrun.c, inftarg.c, infttrace.c,
3710 irix4-nat.c, irix5-nat.c, isi-xdep.c, jv-exp.y, jv-lang.c,
3711 jv-lang.h, jv-typeprint.c, jv-valprint.c, kdb-start.c,
3712 kod-cisco.c, kod.c, language.c, language.h, lin-thread.c,
3713 linespec.c, linespec.h, linux-thread.c, lynx-nat.c, m2-exp.y,
3714 m2-lang.c, m2-lang.h, m2-typeprint.c, m2-valprint.c, m3-nat.c,
3715 m32r-rom.c, m32r-tdep.c, m68k-tdep.c, m68klinux-nat.c,
3716 m68knbsd-nat.c, m88k-nat.c, m88k-tdep.c, mac-nat.c,
3717 mac-xdep.c, main.c, maint.c, mcore-rom.c, mcore-tdep.c,
3718 mdebugread.c, mem-break.c, minimon.h, minsyms.c, mips-nat.c,
3719 mips-tdep.c, mipsm3-nat.c, mipsread.c, mipsv4-nat.c,
3720 mn10200-tdep.c, mn10300-tdep.c, mon960-rom.c, monitor.c,
3721 monitor.h, news-xdep.c, nindy-share/env.h, nindy-tdep.c,
3722 nlm/Makefile.in, nlmread.c, ns32k-tdep.c, ns32km3-nat.c,
3723 ns32knbsd-nat.c, objfiles.c, objfiles.h, ocd.c, ocd.h,
3724 op50-rom.c, os9kread.c, osfsolib.c, p-exp.y, pa64solib.c,
3725 pa64solib.h, parse.c, parser-defs.h, partial-stab.h,
3726 ppc-bdm.c, ppc-linux-nat.c, ppc-linux-tdep.c, ppcbug-rom.c,
3727 ppcnbsd-nat.c, printcmd.c, proc-api.c, proc-events.c,
3728 proc-flags.c, proc-utils.h, proc-why.c, procfs.c, ptx4-nat.c,
3729 rdi-share/Makefile.in, rdi-share/aclocal.m4, regcache.c,
3730 regcache.h, remote-adapt.c, remote-array.c, remote-bug.c,
3731 remote-e7000.c, remote-eb.c, remote-es.c, remote-est.c,
3732 remote-hms.c, remote-mips.c, remote-mm.c, remote-nindy.c,
3733 remote-nrom.c, remote-os9k.c, remote-rdi.c, remote-rdp.c,
3734 remote-sds.c, remote-sim.c, remote-st.c, remote-udi.c,
3735 remote-utils.c, remote-utils.h, remote-vx.c, remote.c,
3736 remote.h, reply_mig_hack.awk, rom68k-rom.c, rs6000-nat.c,
3737 rs6000-tdep.c, scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h,
3738 scm-valprint.c, ser-e7kpc.c, ser-mac.c, ser-ocd.c, ser-pipe.c,
3739 ser-tcp.c, ser-unix.c, serial.c, serial.h, sh-tdep.c,
3740 sh3-rom.c, sol-thread.c, solib-aix5.c, solib-svr4.c, solib.c,
3741 solib.h, solist.h, somread.c, somsolib.c, somsolib.h,
3742 source.c, sparc-nat.c, sparc-tdep.c, sparcl-tdep.c,
3743 sparclet-rom.c, srec.h, stabsread.c, stabsread.h, stack.c,
3744 standalone.c, stop-gdb.c, stuff.c, sun3-nat.c, sun386-nat.c,
3745 symfile.c, symfile.h, symm-nat.c, symm-tdep.c, symmisc.c,
3746 symtab.c, symtab.h, target.c, target.h, terminal.h, thread.c,
3747 tic80-tdep.c, top.c, top.h, tracepoint.c, tracepoint.h,
3748 typeprint.c, ui-file.c, ui-file.h, ui-out.h, ultra3-nat.c,
3749 ultra3-xdep.c, umax-xdep.c, utils.c, v850-tdep.c, v850ice.c,
3750 valarith.c, valops.c, valprint.c, value.h, values.c, varobj.h,
3751 vax-tdep.c, version.h, vx-share/vxWorks.h, vx-share/xdr_ld.c,
3752 vx-share/xdr_ptrace.c, vx-share/xdr_ptrace.h,
3753 vx-share/xdr_rdb.c, w65-tdep.c, w89k-rom.c, win32-nat.c,
3754 wrapper.c, wrapper.h, xcoffread.c, xcoffsolib.c, xcoffsolib.h,
3755 xmodem.c, xmodem.h, z8k-tdep.c: Update/correct copyright
3756 notices.
3757
596c9d4b
KB
37582001-03-05 Kevin Buettner <kevinb@redhat.com>
3759
3760 * acconfig.h (HAVE_PRSYSENT_T, HAVE_PR_SIGSET_T,
3761 HAVE_PR_SIGACTION64_T, HAVE_PR_SIGINFO64_T): New configure
3762 macros.
3763 * configure.in (prsysent_t, pr_sigset_t, pr_sigaction64_t,
3764 pr_siginfo64_t): Test for these typedefs in <sys/procfs.h>.
3765 (sys/fault.h, sys/select.h): Test for presence of these
3766 header files.
3767 (ia64-*-aix*): Define NEW_PROC_API for this host.
3768 * configure: Regenerate.
3769 * config.in: Regenerate.
3770
3771 * configure.host (ia64-*-aix*): New host.
3772 * configure.tgt (ia64-*-aix*): New target.
8a5c92d3 3773
eccbb20d
AC
37742001-03-05 Andrew Cagney <ac131313@redhat.com>
3775
3776 * TODO (GDB 5.1 Known Problems): Document z8k as broken.
3777
9ff2efe5
CF
3778Mon Mar 5 11:56:09 2001 Christopher Faylor <cgf@cygnus.com>
3779
3780 * wince.c: Change realloc to xrealloc throughout.
61e2d1f3 3781 (handle_load_dll): Use void * rather than PTR in argument.
9ff2efe5 3782
58841d58
AC
37832001-03-04 Andrew Cagney <ac131313@redhat.com>
3784
3785 * ocd.h (ocd_xfer_memory): Add ``attrib'' parameter.
3786 * ocd.c (ocd_xfer_memory): Ditto.
3787 * ser-ocd.c (ocd_setstopbits): New function. Add to ocd_ops.
3788 * MAINTAINERS: Document powerpc-eabi and powerpcle-eabi as
3789 buildable with ,-Werror.
3790
3791 * Makefile.in (symfile_h): Define.
3792 (mcore-tdep.o): Add $(symfile_h), $(gdbcore_h) and $(inferior_h).
3793 * mcore-tdep.c: Include "symfile.h", "gdbcore.h" and "inferior.h".
3794 * MAINTAINERS: Document mcore-elf and mcore-pe as buildable with
3795 ,-Werror.
3796
3797 * dsrec.c (make_srec): Fix internal_error fmt arg.
3798 * MAINTAINERS: Document i960-coff as buildable with ,-Werror.
3799
3cad1ac9
KB
38002001-03-03 Kevin Buettner <kevinb@redhat.com>
3801
3802 * solib-aix5.c (aix5_relocate_main_executable): Don't use ANOFFSET
3803 as an lvalue.
3804
b9fa2e73
AC
38052001-03-02 Andrew Cagney <ac131313@redhat.com>
3806
130c39e6
AC
3807 * MAINTAINERS (paper trail): Update.
3808
b9fa2e73
AC
3809 * CONTRIBUTE: Update note on ``Fix PR gdb/4706'' convention.
3810
c53efe6e
AC
38112001-03-02 Andrew Cagney <ac131313@redhat.com>
3812
3813 From 2001-03-01 Tom Rix <trix@redhat.com>:
3814 * mn10200-tdep.c (mn10200_frame_chain): Pass 0 for ``pc''
3815 parameter to mn10200_analyze_prologue.
3816
3817 * config/mn10200/tm-mn10200.h: Include "regcache.h".
3818 * MAINTAINERS: Document that mn10200-elf target is buildable.
3819
52b5c2eb
KB
38202001-03-02 Kevin Buettner <kevinb@redhat.com>
3821
3822 * config/ia64/xm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): Move defines
3823 from here...
3824 * config/ia64/nm-aix.h (GDB_GREGSET_T, GDB_FPREGSET_T): ...to here.
3825 (MONTEREY): Don't define.
3826 (AIX5): Define.
3827
2edb46b1
MH
38282001-03-02 Matt Hiller <hiller@redhat.com>
3829
3830 * config/mn10300/tm-mn10300.h (E0_REGNUM): Correct to 15.
3831
92c71a3e
KB
38322001-03-02 Kevin Buettner <kevinb@redhat.com>
3833
82a2886f 3834 * sparc-nat.c (sparc-nat.c): Don't include self.
92c71a3e 3835
e2a4c6c1
C
38362001-03-01 J.T. Conklin <jtc@redback.com>
3837
3a644c8d
C
3838 * defs.h (__CYGWIN__): Moved conditional which defines __CYGWIN__
3839 if __CYGWIN32__ is set from here.
3840 * config/i386/xm-cygwin.h: To here.
3841 * config/powerpc/xm-cygwin.h: To here.
3842
e2a4c6c1
C
3843 * i386-stub.c (handle_exception): Use 'T' response packet.
3844
4b33390a
MS
38452001-03-01 Michael Snyder <msnyder@mvstp600e.cygnus.com>
3846
3847 * m32r-tdep.c: Fix cut and paste error in comment.
3848
38492001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
3850
3851 * symtab.c (print_msymbol_info): Print addresses by portable method
3852 longest_local_hex_string_custom. Allow for 64-bit addresses.
3853
ba41d549
C
38542001-03-01 J.T. Conklin <jtc@redback.com>
3855
3856 * gdbtypes.h (builtin_type_f_integer): Removed duplicate declaration.
3857 (MAX_OF_TYPE): Wrap macro definition in parenthesis.
3858 (MIN_OF_TYPE): Likewise.
3859
3860 * memattr.h (mem_access_mode): Removed extraneous trailing comma.
3861
088d891f
AC
38622001-03-01 Andrew Cagney <ac131313@redhat.com>
3863
3864 * Makefile.in (os9kread.o): Do not compile with WERROR_CFLAGS.
3865 * os9kread.c (os9k_process_one_symbol): Add assert to detect
3866 ``loses if sizeof (char *) > sizeof (int)''.
3867
38266776
AC
38682001-03-01 Andrew Cagney <ac131313@redhat.com>
3869
3870 * gdb_assert.h: Document pragmatics behind gdb_assert's case.
3871
2ad43c4f
AC
38722001-03-01 Andrew Cagney <ac131313@redhat.com>
3873
3874 * Makefile.in (gdbtk-cmds.o): Add $(regcache_h) to dependency
3875 lists.
3876 (mi-main.o): Ditto.
3877
367e21d8
AC
38782001-03-01 Andrew Cagney <ac131313@redhat.com>
3879
3880 * Makefile.in (regcache_h): Define. Add $(regcache_h) to
3881 dependency lists.
3882
d85310f7
MS
38832001-02-28 Michael Snyder <msnyder@mvstp600e.cygnus.com>
3884
c0d8fd9a
MS
3885 * printcmd.c (print_address_numeric): Update comments to refer
3886 to sizeof addr, not sizeof pointer.
3887 (x_command): Remove needless whitespace (shorten long line).
3888
d85310f7
MS
3889 * breakpoint.c (print_one_breakpoint): Formatting clean-up.
3890 (read_memory_nobpt): Ditto.
3891 (ep_is_catchpoint): Ditto.
3892 (ep_is_shlib_catchpoint): Ditto.
3893 (ep_is_exception_catchpoint): Ditto.
3894 (describe_other_breakpoints): Ditto.
3895
97900206
AC
3896Wed Feb 28 20:37:36 2001 Andrew Cagney <ac131313@redhat.com>
3897
3898 * regcache.h (register_valid): Fix comment documenting valid
3899 states.
3900
4e052eda
AC
3901Tue Feb 27 23:56:23 2001 Andrew Cagney <ac131313@redhat.com>
3902
3903 From Steven Johnson:
3904 * regcache.h: New file.
3905
3906 * value.h (read_register_bytes, read_register_gen)
3907 (write_register_gen, write_register_bytes)
3908 (read_register, read_register_pid)
3909 (read_signed_register, read_signed_register_pid)
3910 (write_register, write_register_pid)
3911 (register_cached, set_register_cached)
3912 (register_changed, register_buffer)
3913 (registers_changed, supply_register): Move declaration from here.
3914 * regcache.h: To here.
3915 * gdbcore.h (registers_fetched): Ditto.
3916 * inferior.h (registers, registers_valid): Ditto.
3917
3918 * regcache.c (generic_target_read_pc, read_pc_pid, read_pc,
3919 generic_target_write_pc, write_pc_pid, write_pc,
3920 generic_target_read_sp, read_sp, generic_target_write_sp,
3921 write_sp, generic_target_read_fp, read_fp,
3922 generic_target_write_fp, write_fp): Add note that these functions
3923 will be moved from this file.
3924
3925 * a29k-tdep.c: Include "regcache.h".
3926 * a68v-nat.c: Ditto.
3927 * abug-rom.c: Ditto.
3928 * alpha-nat.c: Ditto.
3929 * alpha-tdep.c: Ditto.
3930 * alphabsd-nat.c: Ditto.
3931 * arc-tdep.c: Ditto.
3932 * arm-linux-nat.c: Ditto.
3933 * arm-linux-tdep.c: Ditto.
3934 * arm-tdep.c: Ditto.
3935 * blockframe.c: Ditto.
3936 * core-aout.c: Ditto.
3937 * core-sol2.c: Ditto.
3938 * corelow.c: Ditto.
3939 * cpu32bug-rom.c: Ditto.
3940 * cxux-nat.c: Ditto.
3941 * d10v-tdep.c: Ditto.
3942 * d30v-tdep.c: Ditto.
3943 * dbug-rom.c: Ditto.
3944 * dink32-rom.c: Ditto.
3945 * dve3900-rom.c: Ditto.
3946 * findvar.c: Ditto.
3947 * fr30-tdep.c: Ditto.
3948 * frame.c: Ditto.
3949 * go32-nat.c: Ditto.
3950 * h8300-tdep.c: Ditto.
3951 * h8500-tdep.c: Ditto.
3952 * hp300ux-nat.c: Ditto.
3953 * hppa-tdep.c: Ditto.
3954 * hppab-nat.c: Ditto.
3955 * hppah-nat.c: Ditto.
3956 * hppam3-nat.c: Ditto.
3957 * hpux-thread.c: Ditto.
3958 * i386-linux-nat.c: Ditto.
3959 * i386-linux-tdep.c: Ditto.
3960 * i386-tdep.c: Ditto.
3961 * i386aix-nat.c: Ditto.
3962 * i386b-nat.c: Ditto.
3963 * i386bsd-nat.c: Ditto.
3964 * i386gnu-nat.c: Ditto.
3965 * i386ly-tdep.c: Ditto.
3966 * i386m3-nat.c: Ditto.
3967 * i386mach-nat.c: Ditto.
3968 * i386nbsd-nat.c: Ditto.
3969 * i386v4-nat.c: Ditto.
3970 * i387-nat.c: Ditto.
3971 * i387-tdep.c: Ditto.
3972 * i960-tdep.c: Ditto.
3973 * ia64-aix-nat.c: Ditto.
3974 * ia64-linux-nat.c: Ditto.
3975 * ia64-tdep.c: Ditto.
3976 * infptrace.c: Ditto.
3977 * infrun.c: Ditto.
3978 * irix4-nat.c: Ditto.
3979 * irix5-nat.c: Ditto.
3980 * lin-lwp.c: Ditto.
3981 * lin-thread.c: Ditto.
3982 * lynx-nat.c: Ditto.
3983 * m3-nat.c: Ditto.
3984 * m32r-rom.c: Ditto.
3985 * m32r-tdep.c: Ditto.
3986 * m68hc11-tdep.c: Ditto.
3987 * m68k-tdep.c: Ditto.
3988 * m68klinux-nat.c: Ditto.
3989 * m68knbsd-nat.c: Ditto.
3990 * m68knbsd-tdep.c: Ditto.
3991 * m88k-nat.c: Ditto.
3992 * m88k-tdep.c: Ditto.
3993 * mac-nat.c: Ditto.
3994 * mcore-rom.c: Ditto.
3995 * mcore-tdep.c: Ditto.
3996 * mi/mi-main.c: Ditto.
3997 * mips-nat.c: Ditto.
3998 * mips-tdep.c: Ditto.
3999 * mipsm3-nat.c: Ditto.
4000 * mipsv4-nat.c: Ditto.
4001 * mn10200-tdep.c: Ditto.
4002 * mn10300-tdep.c: Ditto.
4003 * monitor.c: Ditto.
4004 * ns32km3-nat.c: Ditto.
4005 * ns32knbsd-nat.c: Ditto.
4006 * ocd.c: Ditto.
4007 * pa64solib.c: Ditto.
4008 * ppc-bdm.c: Ditto.
4009 * ppc-linux-nat.c: Ditto.
4010 * ppc-linux-tdep.c: Ditto.
4011 * ppcbug-rom.c: Ditto.
4012 * ppcnbsd-nat.c: Ditto.
4013 * ptx4-nat.c: Ditto.
4014 * regcache.c: Ditto.
4015 * remote-adapt.c: Ditto.
4016 * remote-array.c: Ditto.
4017 * remote-bug.c: Ditto.
4018 * remote-e7000.c: Ditto.
4019 * remote-eb.c: Ditto.
4020 * remote-es.c: Ditto.
4021 * remote-est.c: Ditto.
4022 * remote-hms.c: Ditto.
4023 * remote-mips.c: Ditto.
4024 * remote-mm.c: Ditto.
4025 * remote-nindy.c: Ditto.
4026 * remote-os9k.c: Ditto.
4027 * remote-rdi.c: Ditto.
4028 * remote-rdp.c: Ditto.
4029 * remote-sds.c: Ditto.
4030 * remote-sim.c: Ditto.
4031 * remote-st.c: Ditto.
4032 * remote-udi.c: Ditto.
4033 * remote-utils.c: Ditto.
4034 * remote-vx.c: Ditto.
4035 * remote-vx29k.c: Ditto.
4036 * remote-vx68.c: Ditto.
4037 * remote-vx960.c: Ditto.
4038 * remote-vxmips.c: Ditto.
4039 * remote-vxsparc.c: Ditto.
4040 * remote.c: Ditto.
4041 * rom68k-rom.c: Ditto.
4042 * rs6000-nat.c: Ditto.
4043 * rs6000-tdep.c: Ditto.
4044 * sh-tdep.c: Ditto.
4045 * sh3-rom.c: Ditto.
4046 * sol-thread.c: Ditto.
4047 * solib-svr4.c: Ditto.
4048 * somsolib.c: Ditto.
4049 * sparc-nat.c: Ditto.
4050 * sparc-tdep.c: Ditto.
4051 * sparcl-tdep.c: Ditto.
4052 * sparclet-rom.c: Ditto.
4053 * sun3-nat.c: Ditto.
4054 * sun386-nat.c: Ditto.
4055 * symm-nat.c: Ditto.
4056 * target.c: Ditto.
4057 * thread-db.c: Ditto.
4058 * thread.c: Ditto.
4059 * tic80-tdep.c: Ditto.
4060 * tracepoint.c: Ditto.
4061 * ultra3-nat.c: Ditto.
4062 * umax-xdep.c: Ditto.
4063 * uw-thread.c: Ditto.
4064 * v850-tdep.c: Ditto.
4065 * v850ice.c: Ditto.
4066 * valops.c: Ditto.
4067 * w65-tdep.c: Ditto.
4068 * w89k-rom.c: Ditto.
4069 * win32-nat.c: Ditto.
4070 * wince.c: Ditto.
4071 * z8k-tdep.c: Ditto.
4072
07d48ebc
MH
40732001-02-28 Matt Hiller <hiller@redhat.com>
4074
4075 * MAINTAINERS: Add Matt Hiller to Write After Approval list.
4076
2edb46b1
MH
40772001-02-27 Matt Hiller <hiller@redhat.com>
4078
4079 * mn10300-tdep.c (mn10300_stab_reg_to_regnum): New function.
4080 (mn10300_gdbarch_init): Set appropriate elements of gdbarch to
4081 mn10300_stab_reg_to_regnum.
4082
993f3aa5
DT
4083Tue Feb 27 16:56:13 2001 David Taylor <taylor@redhat.com>
4084
4085 * symtab.c (search_symbols): Fix off by one error in test for
4086 error.
4087
86168def
AC
40882001-02-23 Andrew Cagney <ac131313@redhat.com>
4089
4090 * config/sparc/sp64linux.mt: New file.
4091 * configure.tgt: Recognize sparc64-*-linux* as a sp64linux target.
4092 * configure.host: Recognize sparc64-*-linux* as a linux host.
4093
4094 From 2000-03-17 Jakub Jelinek <jakub@redhat.com>:
4095 * config/sparc/tm-sp64linux.h: New file.
4096
e1e9e218
KB
40972001-02-24 Kevin Buettner <kevinb@redhat.com>
4098
4099 * buildsym.c (push_subfile, pop_subfile): Replace call to abort()
4100 with call to internal_error().
4101 * dbxread.c (process_one_symbol): Likewise.
4102 * exec.c (build_section_table, xfer_memory): Likewise.
4103 * h8500-tdep.c (h8500_register_size, h8500_register_virtual_type):
4104 Likewise.
4105 * hpread.c (hpread_type_translate, hpread_read_array_type)
4106 (hpread_type_lookup): Likewise.
4107 * i386-tdep.c (gdb_print_insn_i386): Likewise.
4108 * i960-tdep.c (mem): Likewise
4109 * inflow.c (set_sigio_trap, clear_sigio_trap): Likewise.
4110 * infptrace.c (child_resume): Likewise.
4111 * infttrace.c (_initialize_infttrace): Likewise.
4112 * language.c (binop_result_type, add_language): Likewise.
4113 * lynx-nat.c (store_inferior_registers): Likewise.
4114 * m3-nat.c (port_chain_insert, m3_trace_me): Likewise.
4115 * mdebugread.c (parse_partial_symbols): Likewise.
4116 * monitor.c (monitor_printf_noecho, monitor_printf)
4117 (monitor_dump_regs): Likewise.
4118 * ocd.c (stu_put_packet): Likewise.
4119 * printcmd.c (decode_format, print_scalar_formatted): Likewise.
4120 * remote-bug.c (bug_open): Likewise.
4121 * remote-e7000.c (fetch_regs_from_dump, e7000_wait): Likewise.
4122 * remote-es.c (es1800_read_bytes): Likewise.
4123 * remote-mips.c (common_breakpoint): Likewise.
4124 * remote-rdp.c (send_rdp): Likewise.
4125 * remote-sds.c (putmessage): Likewise.
4126 * sparc-nat.c (fetch_inferior_registers, store_inferior_registers):
4127 Likewise.
4128 * sparcl-tdep.c (sparclite_download): Likewise.
4129 * symtab.c (lookup_partial_symbol): Likewise.
4130 * target.c (push_target, pop_target, initialize_targets): Likewise.
4131 * utils.c (internal_verror, malloc_botch, wrap_here, decimal2str):
4132 Likewise.
4133 * valprint.c (print_decimal, print_longest, print_longest)
4134 (strcat_longest): Likewise.
4135 * w65-tdep.c (init_frame_pc, w65_push_dummy_frame): Likewise.
4136 * xmodem.c (xmodem_send_packet): Likewise.
4137 * z8k-tdep.c (init_frame_pc, z8k_push_dummy_frame): Likewise.
4138 * config/h8500/tm-h8500.h (STORE_STRUCT_RETURN): Likewise.
4139 * config/mn10200/tm-mn10200.h (EXTRACT_RETURN_VALUE)
4140 (STORE_RETURN_VALUE): Likewise.
4141 * config/ns32k/nm-umax.h (REGISTER_U_ADDR): Likewise.
4142 * config/ns32k/xm-merlin.h (REGISTER_U_ADDR): Likewise.
4143 * config/z8k/tm-z8k.h (STORE_STRUCT_RETURN, STORE_RETURN_VALUE):
4144 Likewise.
4145
17fceda3
AC
41462001-02-23 Andrew Cagney <ac131313@redhat.com>
4147
2126d5fb
AC
4148 * CONTRIBUTE: Document how to cite a problem report.
4149 * TODO: Note need to replace CONTRIBUTE with generated file.
4150
17fceda3
AC
4151 * CONTRIBUTE: Mention that patches do not need to include the
4152 generated files gdbarch.h and gdbarch.c.
4153
60edd51d
AC
41542001-02-21 Andrew Cagney <ac131313@redhat.com>
4155
4156 * value.h (get_saved_register): Move from here.
4157 * frame.h: To here.
4158
d7fa2ae2
KB
41592001-02-21 Kevin Buettner <kevinb@redhat.com>
4160
4161 * solib.h (in_svr4_dynsym_resolve_code): Delete declaration.
4162 (in_solib_dynsym_resolve_code): Add declaration.
4163 (IN_SOLIB_DYNSYM_RESOLVE_CODE): Changed define to invoke
4164 in_solib_dynsym_resolve_code() rather than
4165 in_svr4_dynsym_resolve_code(). Also, removed the ifdefs
4166 which caused this macro to only be defined when
4167 SVR4_SHARED_LIBS is defined.
4168 * solib.c (in_solib_dynsym_resolve_code): New function.
4169 * solist.h (struct target_so_ops): Add new member
4170 in_dynsym_resolve_code.
4171 * solib-aix5.c (aix5_in_dynsym_resolve_code): Renamed from
4172 in_svr4_dynsym_resolve_code. Also, made static.
4173 (_initialize_aix5_solib): Initialize in_dynsym_resolve_code
4174 member in aix5_so_ops.
4175 * solib-svr4.c (svr4_in_dynsym_resolve_code): Renamed from
4176 in_svr4_dynsym_resolve_code. Also, added second version
4177 of this function which will be used when SVR4_SHARED_LIBS
4178 is not defined.
4179 (_initialize_svr4_solib): Initialize in_dynsym_resolve_code
4180 member in svr4_so_ops.
4181
4182 * ia64-aix-nat.c, ia64-aix-tdep.c, config/ia64/aix.mh,
4183 config/ia64/aix.mt, config/ia64/nm-aix.h, config/ia64/tm-aix.h,
4184 config/ia64/xm-aix.h: New files.
4185 * ia64-tdep.c (_initialize_ia64_tdep): Remove declaration.
4186 (ia64_aix_sigcontext_register_address): New declaration.
aacc1edd 4187 (ia64_gdbarch_init): Provide for initialization of
d7fa2ae2
KB
4188 sigcontext_register_address member of struct tdep when
4189 on target is detected to be running AIX.
4190 * config/ia64/linux.mt (TDEPFILES): Add ia64-aix-tdep.o to
4191 this list.
4192
fbad0893
KB
41932001-02-20 Kevin Buettner <kevinb@redhat.com>
4194
4195 * ia64-tdep.c (ia64_frameless_function_invocation): Implement.
4196 * config/ia64/linux.mh (NATDEPFILES): Use thread-db.o and lin-lwp.o
4197 for thread support instead of linux-thread.o and lin-thread.o.
4198 * config/ia64/nm-linux.h (PREPARE_TO_PROCEED, GET_THREAD_SIGNALS,
4199 ATTACH_LWP): Define to use the following lin-lwp.c functions...
4200 (lin_lwp_prepare_to_proceed, lin_thread_get_thread_signals,
4201 lin_lwp_attach_lwp): Declare.
4202
1adad886
AC
42032001-02-20 Andrew Cagney <ac131313@redhat.com>
4204
4205 * mips-tdep.c (do_fp_register_row, do_fp_register_row): Fix printf
4206 formatting.
4207
0579d647
KB
42082001-02-20 Kevin Buettner <kevinb@redhat.com>
4209
4210 * solib-aix5.c (solib-svr4.h): Remove include.
4211 (solib_break_names): Delete names which aren't actually
4212 used by AIX5.
4213 (bkpt_names): Remove.
4214 (aix5_relocate_main_executable, bfd_lookup_symbol): Replace calls
4215 to STREQ() with equivalent calls to strcmp().
4216 (in_svr4_dynsym_resolve_code, enable_break, bfd_lookup_symbol,
4217 aix5_solib_create_inferior_hook): Revise comments.
4218 (enable_break): Remove old ``bkpt_names'' code.
4219
d65fe839
AC
42202001-02-19 Andrew Cagney <ac131313@redhat.com>
4221
4222 * Makefile.in (SFILES): Add frame.c .
4223 (COMMON_OBS): Add frame.o .
4224 (frame.o): New target.
4225
4226 * frame.c (find_saved_register):
4227 (default_get_saved_register):
4228 (get_saved_register):
4229 (read_relative_register_raw_bytes_for_frame):
4230 (read_relative_register_raw_bytes): Moved to here.
4231 * regcache.c: From here.
4232
60cf7a85
KB
42332001-02-20 Kevin Buettner <kevinb@redhat.com>
4234
4235 * solib-aix5.c: New file.
4236
291b7e04
MH
42372001-02-20 Martin M. Hunt <hunt@redhat.com>
4238
a43ad351
MH
4239 * solib.c (info_sharedlibrary_command): Don't assume pointers
4240 are the same size of long, call longest_local_hex_string_custom().
4241
58bc91c9
MH
4242 * solib-svr4.c (LM_ADDR): LM_ADDR is a signed offset, so
4243 extract_signed_integer() should be called instead of
4244 extract_address().
4245
42462001-02-20 Martin M. Hunt <hunt@redhat.com>
4247
291b7e04
MH
4248 * MAINTAINERS: Add Martin Hunt to Write After Approval list.
4249
d02ee681
AC
42502001-02-19 Andrew Cagney <ac131313@redhat.com>
4251
4252 Frm 2001-02-09 Jim Kingdon <jkingdon@engr.sgi.com>:
4253 * mips-tdep.c (mips_register_raw_size): If FP_REGISTER_DOUBLE,
4254 then floating point registers are 8 bytes.
4255
a858089e
MS
42562001-02-19 Michael Snyder <msnyder@mvstp600e.cygnus.com>
4257
4258 * parse.c (write_exp_msymbol): Make the type CORE_ADDR, to
4259 accomodate 64-bit addresses.
4260
23cc649f
EZ
42612001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4262
4263 From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>
4264 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux, not
4265 lookup_symbol, when trying to find a symbol with a mangled name,
4266 to avoid infinite recursion.
4267
0db23c95
AC
42682001-02-18 Andrew Cagney <ac131313@redhat.com>
4269
4270 * TODO (5.2): Mention G++ 3.0 ABI. General cleanups.
4271
911413e6
JL
42722001-02-19 Jonathan Larmour <jlarmour@redhat.com>
4273
4274 * arm-tdep.c (check_prologue_cache): Fix off by 1 error.
4275 (save_prologue_cache): Ditto.
4276
8d1de4b7
EZ
42772001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4278
4279 From: innadadadavida@yahoo.com:
4280 * partial-stab.h (switch): Check that pst is not null
4281 before dereferencing it.
4282
3017564a
EZ
42832001-02-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4284
4285 From Andrew Cagney <cagney@b1.cygnus.com>:
4286 * symfile.c (add_symbol_file_command): Always initialize
4287 my_cleanup using a NULL cleanup.
4288
fa58ee11
EZ
42892001-02-19 Eli Zaretskii <eliz@is.elta.co.il>
4290
4291 * demangle.c (demangling_style_names): New variable.
4292 (_initialize_demangler): Fill demangling_style_names with the
4293 names of known demangling styles from libiberty_demanglers[]. Use
4294 add_set_enum_cmd instead of add_set_cmd, to get completion on
4295 demangling style names.
4296
4297 * proc-api.c (_initialize_proc_api): Make `procfs-file' use
4298 file-name completion.
4299
4300 * remote-rdi.c (_initialize_remote_rdi): Ditto for `rdilogfile'.
4301
4302 * solib.c (_initialize_solib): Ditto for `solib-search-path' and
4303 `solib-absolute-prefix'.
4304
4305 * tracepoint.c (_initialize_tracepoint): Ditto for
4306 `save-tracepoints'.
4307
4308 * win32-nat.c (_initialize_inftarg): Ditto for `dll-symbols'.
4309
4310 * cli/cli-cmds.c (init_cli_cmds): Make `shell' and `make' use
4311 file-name completion.
4312
4313 * infcmd.c (_initialize_infcmd): Make the following commands use
4314 the file-name completer: `tty', `args', `path', `paths', and
4315 `run'.
4316
7830cf6f
EZ
43172001-02-18 Eli Zaretskii <eliz@is.elta.co.il>
4318
89dea5aa
EZ
4319 * go32-nat.c: Include i387-nat.h.
4320 (fetch_register): New function, uses some of the guts of
4321 go32_fetch_registers and calls i387_supply_register.
4322 (go32_fetch_registers): Most of the code moved into
4323 fetch_register. Use i387_supply_fsave.
4324 (store_register): Use i387_fill_fsave instead of custom code.
4325 (go32_store_registers): Use i387_fill_fsave.
4326
4327 * Makefile.in (go32-nat.o): Depend on i387-nat.h.
4328
4329 * config/i386/go32.mh (NATDEPFILES): Add i387-nat.o.
4330
7830cf6f
EZ
4331 * completer.c (gdb_completer_file_name_break_characters): Remove
4332 slash from file-name break characters.
4333 [__MSDOS__]: Special definition for DOS/Windows file names.
4334 (line_completion_function): When completing on file names, bump
4335 `p' to the first file-name constituent character of `word', before
4336 invoking the completer.
4337
f31e928c
MK
43382001-02-17 Mark Kettenis <kettenis@gnu.org>
4339
4340 * i387-nat.c: Include "i387-nat.h". Use regnum instead of regno
4341 consistently for parameter names. Fix comments accordingly.
4342 (i387_supply_register): New function.
4343 (i387_supply_fsave): Implement using i387_supply_register.
4344 * i387-nat.h: Use regnum instead of regno consistently for
4345 parameter names. Fix comments accordingly.
4346 (i387_supply_register): New prototype.
4347
d696208f
MS
43482001-02-16 Michael Snyder <msnyder@mvstp600e.cygnus.com>
4349
4350 * remote.c (build_remote_gdbarch_data): Use new TARGET_ADDR_BIT
4351 instead of TARGET_PTR_BIT (to support Harvard architectures).
4352
971429b4
AC
43532001-02-16 Andrew Cagney <ac131313@redhat.com>
4354
4355 From 2001-02-11 Paul Hilfinger <hilfingr@lisbon.int.act-europe.fr>
4356 * hpux-thread.c (hpux_thread_xfer_memory): Add mem_attrib
4357 argument to parameter list and to call in order to conform to
4358 to_xfer_memory field of struct target_ops.
4359
9ca0e47c
MC
43602001-02-12 Michael Chastain <chastain@redhat.com>
4361
da7dd56f 4362 * somsolib.c (som_solib_add_solib_objfile): Do not use
9ca0e47c
MC
4363 section relocation feature of syms_from_objfile. Do my own
4364 section relocation, offsetting each section of the som by
4365 either text_addr - text_link_addr or data_start.
4366
7d65bd2d
AC
43672001-02-16 Andrew Cagney <ac131313@redhat.com>
4368
4369 * TODO (5.1): Move ``Hardware watchpint problems'' out of 5.1.
4370
e33e9692
AC
43712001-02-16 Andrew Cagney <ac131313@redhat.com>
4372
4373 * MAINTAINERS (paper trail): Update.
4374
17dee195
MK
43752001-02-16 Mark Kettenis <kettenis@gnu.org>
4376
4377 * target.h (target_fetch_registers): Fix comment.
4378
0f6e1ba6
AC
43792001-02-15 Andrew Cagney <ac131313@redhat.com>
4380
4381 * f-exp.y: Include <ctype.h>.
4382 (parse_number): Ensure that ``i'' is always initialized.
4383
9a069618
JK
43842001-02-14 Jim Kingdon <jkingdon@engr.sgi.com>
4385
4386 * MAINTAINERS: Add myself to paper trail section.
4387
fc24370e
MS
43882001-02-14 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4389
4390 * configure.in (AC_CHECK_HEADERS): Add sys/file.h.
4391 * configure, config.in: Regenerate.
4392 * corelow.c: Include <sys/file.h> if present.
4393
4b69c284
AC
43942001-02-14 Andrew Cagney <ac131313@redhat.com>
4395
4396 * inflow.c (terminal_ours_1): Initialize ``osigtou''. Only
4397 declare when have SIGTTOU.
4398
7904f322
EZ
43992001-02-14 Eli Zaretskii <eliz@is.elta.co.il>
4400
4401 * config/djgpp/fnchange.lst: Add entries for gdb/gdbtk/*/ChangeLog-*.
4402
9e798668
JK
44032001-02-12 Jim Kingdon <jkingdon@engr.sgi.com>
4404
4405 * MAINTAINERS: Update my email address.
4406
65d5a54a
EZ
44072001-02-11 Eli Zaretskii <eliz@is.elta.co.il>
4408
4409 * NEWS: Document that "info symbol" works with COFF debug info and
4410 its variants.
4411
4412 * minsyms.c (lookup_minimal_symbol_by_pc_section): Don't skip
4413 symbols whose SYMBOL_BFD_SECTION is NULL.
4414
0cff82d9 44152001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
a8079a9b
PS
4416
4417 Get rid of AIX specific PC_LOAD_SEGMENT, replace with PC_SOLIB.
4418 * xcoffsolib.c (xcoff_solib_address): Renamed from
4419 pc_load_segment_name. Return NULL if address is not in a shared
4420 library. Cleanup shared library name construction, using xasprintf.
4421 Format shared library member names consistent with format in exec.c.
4422 (solib_info): Format shared library member names consistent with
4423 format in exec.c.
4424 * config/rs6000/nm-rs6000.h: Replace PC_LOAD_SEGMENT with PC_SOLIB,
4425 using xcoff_solib_address for PC_SOLIB definition.
4426 * stack.c (print_frame): Remove PC_LOAD_SEGMENT code, no longer
4427 needed.
4428
0cff82d9 44292001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
4b2e4867
PS
4430
4431 * mipsread.c (read_alphacoff_dynamic_symtab): Replace alloca calls
4432 with xmalloc calls and cleanups.
4433
0cff82d9 44342001-02-10 Peter Schauer <pes@regent.e-technik.tu-muenchen.de>
d737ece6
PS
4435
4436 * rs6000-nat.c (child_xfer_memory): Add missing parameter
4437 'struct mem_attrib *' required by 2001-01-23 change.
4438
c5bb1243
JK
44392001-02-08 Jim Kingdon <jkingdon@engr.sgi.com>
4440
4441 Updates to "make TAGS":
4442 * Makefile.in (ALLDEPFILES): Remove altos-xdep.c arm-convert.s
4443 arm-xdep.c convex-tdep.c convex-xdep.c pyr-tdep.c pyr-xdep.c
4444 tahoe-tdep.c.
4445 (TAGFILES_NO_SRCDIR): Add $(SUBDIR_CLI_SRCS).
4446
c799ae7b
EZ
44472001-02-08 Eli Zaretskii <eliz@is.elta.co.il>
4448
4449 * config/djgpp/fnchange.lst: Remove extraneous "too many dots".
4450
12685e01
AC
4451Wed Feb 7 22:39:26 2001 Andrew Cagney <cagney@redhat.com>
4452
4453 From Dean Luick <luick@cray.com>:
4454 * defs.h (continuation): Remove unused global variable.
4455
7fcca85b
AC
4456Wed Feb 7 22:28:31 2001 Andrew Cagney <cagney@redhat.com>
4457
4458 * configure.tgt: Remove references to convex, pyramid, altos and
4459 tahoe.
4460 * configure.host: Ditto.
4461 * MAINTAINERS: Ditto.
4462 * NEWS: Update.
4463
4464 * tahoe-tdep.c: Delete obsolete file.
4465 * pyr-xdep.c: Ditto.
4466 * pyr-tdep.c: Ditto.
4467 * convex-tdep.c: Ditto.
4468 * convex-xdep.c: Ditto.
4469 * config/tahoe/xm-tahoe.h: Ditto.
4470 * config/tahoe/tm-tahoe.h: Ditto.
4471 * config/tahoe/tahoe.mt: Ditto.
4472 * config/tahoe/tahoe.mh: Ditto.
4473 * config/pyr/xm-pyr.h: Ditto.
4474 * config/pyr/tm-pyr.h: Ditto.
4475 * config/pyr/pyramid.mt: Ditto.
4476 * config/pyr/pyramid.mh: Ditto.
4477 * config/m68k/xm-altos.h: Ditto.
4478 * config/m68k/tm-altos.h: Ditto.
4479 * config/m68k/altos.mt: Ditto.
4480 * config/m68k/altos.mh: Ditto.
4481 * config/convex/xm-convex.h: Ditto.
4482 * config/convex/tm-convex.h: Ditto.
4483 * config/convex/convex.mt: Ditto.
4484 * config/convex/convex.mh: Ditto.
4485 * config/convex/Convex.notes: Ditto.
4486 * config/arm/xm-arm.h: Ditto.
4487 * config/arm/nm-arm.h: Ditto.
4488 * config/arm/arm.mt: Ditto.
4489 * config/arm/arm.mh: Ditto.
4490 * arm-convert.s: Ditto.
4491 * arm-xdep.c: Ditto.
4492 * altos-xdep.c: Ditto.
4493
8e65ff28
AC
4494Wed Feb 7 19:41:21 2001 Andrew Cagney <cagney@redhat.com>
4495
4496 * defs.h (internal_error, internal_verror): Add __FILE__ and
4497 __LINE__ parameter.
4498 * utils.c (internal_error, internal_verror): Update.
4499
4500 * v850-tdep.c: Update calls to internal_error.
4501 * utils.c: Ditto.
4502 * ui-out.c: Ditto.
4503 * ui-file.c: Ditto.
4504 * target.h: Ditto.
4505 * symtab.h: Ditto.
4506 * symm-nat.c: Ditto.
4507 * sparc-tdep.c: Ditto.
4508 * source.c: Ditto.
4509 * serial.c: Ditto.
4510 * rs6000-tdep.c: Ditto.
4511 * rs6000-nat.c: Ditto.
4512 * remote.c: Ditto.
4513 * remote-vx.c: Ditto.
4514 * remote-sim.c: Ditto.
4515 * remote-mips.c: Ditto.
4516 * regcache.c: Ditto.
4517 * objfiles.h: Ditto.
4518 * objfiles.c: Ditto.
4519 * mn10300-tdep.c: Ditto.
4520 * mips-tdep.c: Ditto.
4521 * maint.c: Ditto.
4522 * m68k-tdep.c: Ditto.
4523 * m3-nat.c: Ditto.
4524 * language.c: Ditto.
4525 * infptrace.c: Ditto.
4526 * inferior.h: Ditto.
4527 * infcmd.c: Ditto.
4528 * ia64-tdep.c: Ditto.
4529 * i386-tdep.c: Ditto.
4530 * i386-linux-nat.c: Ditto.
4531 * hppah-nat.c: Ditto.
4532 * go32-nat.c: Ditto.
4533 * findvar.c: Ditto.
4534 * f-lang.c: Ditto.
4535 * elfread.c: Ditto.
4536 * event-loop.c: Ditto.
4537 * dwarf2read.c: Ditto.
4538 * dsrec.c: Ditto.
4539 * d30v-tdep.c: Ditto.
4540 * d10v-tdep.c: Ditto.
4541 * cli/cli-setshow.c: Ditto.
4542 * cli/cli-script.c: Ditto.
4543 * ch-exp.c: Ditto.
4544 * breakpoint.c: Ditto.
4545 * ax-gdb.c: Ditto.
4546 * arch-utils.c: Ditto.
4547 * a29k-tdep.c: Ditto.
4548 * gdb_assert.h: Ditto.
4549 * gdbarch.sh: Ditto.
4550 * gdbarch.h, gdbarch.c: Re-generate.
4551
72290732
AC
45522001-02-07 Andrew Cagney <ac131313@redhat.com>
4553
4554 From Mark Kettenis <kettenis@gnu.org>:
4555 * event-top.h [!STOP_SIGNAL]: #include <signal.h>.
4556
a6da1910
AC
45572001-02-07 Andrew Cagney <ac131313@redhat.com>
4558
4559 * remote-sim.c (dump_mem): Cleanup printf format argument.
4560 * MAINTAINERS: Update, mn10300-elf now builds.
4561
153f9905
MK
45622001-02-07 Mark Kettenis <kettenis@gnu.org>
4563
4564 * event-top.c: Remove duplicate #include <signal.h>.
4565
f042532c
AC
45662001-02-06 Andrew Cagney <ac131313@redhat.com>
4567
4568 * sol-thread.c (restore_inferior_pid): Save the PID in a freshly
4569 allocated buffer.
4570 (save_inferior_pid): Restore the PID from that tempoary
4571 buffer. Delete the buffer.
4572 * utils.c (make_cleanup_close, do_close_cleanup): Ditto for FD.
4573
58cfabe6
AC
45742001-02-06 Andrew Cagney <ac131313@redhat.com>
4575
4576 * MAINTAINERS: Add ``The Obvious Fix Rule''.
4577
ea8a41b8
AC
45782001-02-06 Andrew Cagney <ac131313@redhat.com>
4579
4580 * MAINTAINERS: Add Michael Snyder to Solaris/SPARC list.
4581
95160752
AC
45822001-02-06 Andrew Cagney <ac131313@cygnus.com>
4583
4584 * gdbarch.sh: Include "gdb_assert.h".
4585 (struct gdbarch): Change ``nr_data'' to unsigned.
4586 (alloc_gdbarch_data, free_gdbarch_data): New functions.
4587 (gdbarch_free): Free the data-pointer vector. Use xfree to delete
4588 architecture vector.
4589 (struct gdbarch_data, struct gdbarch_data_registration): Move init
4590 method to gdbarch_data. Add free method, make index unsigned.
4591 (struct gdbarch_data_registry): Make nr unsigned.
4592 (register_gdbarch_data): Add free parameter. Store in
4593 gdbarch_data.
4594 (init_gdbarch_data): Use set_gdbarch_data.
4595 (set_gdbarch_data): New function.
4596
4597 * gdbarch.h, gdbarch.c: Re-generate.
4598
64122a8b
MS
45992001-02-06 Michael Sokolov <msokolov@ivan.Harhan.ORG>
4600
4601 * ser-unix.c (hardware_print_tty_state) [HAVE_SGTTY]: Call
4602 fprintf_filtered with correct arguments.
4603
e6cbd02a
MS
46042001-02-06 Michael Snyder <msnyder@makita.cygnus.com>
4605 Submitted by Paul Hilfinger (hilfingr@gnat.com)
4606 and Andrei Petrov (and@genesyslab.com).
4607 * findvar.c: Buffers of size MAX_REGISTER_RAW_SIZE or REGISTER_BYTES
4608 must be allocated dynamically, since these are no longer constants.
4609 * infcmd.c: Ditto.
4610 * regcache.c: Ditto.
4611 * remote.c: Ditto.
4612 * sol-thread.c: Ditto.
4613 * valops.c: Ditto.
4614 * config/sparc/sun4sol2.mh (MH_CFLAGS): Add -I/usr/include/v9, as a
4615 work-around for a missing Sun header file in solaris for sparc64.
4616
713f0374
PB
46172001-02-04 Philip Blundell <philb@gnu.org>
4618
4619 * config/arm/linux.mh (NATDEPFILES): Add proc-service.o,
4620 thread-db.o, lin-lwp.o; remove lin-thread.o, linux-thread.o.
4621 * config/arm/nm-linux.h (PREPARE_TO_PROCEED, ATTACH_LWP,
4622 GET_THREAD_SIGNALS): Define.
4623 * arm-linux-nat.c (fill_gregset): Correct type of argument.
4624 (supply_gregset): Likewise.
4625 (fill_fpregset): Likewise.
4626 (supply_fpregset): Likewise.
4627
4603e466
DT
4628Tue Feb 6 11:58:57 2001 David Taylor <taylor@redhat.com>
4629
4630 * valops.c (value_cast): If casting a scalar to a pointer, do not
4631 issue a message about truncation unless it exceeds the length of
4632 an address, not the length of a pointer. This is because what the
4633 user gives us is an address, not a pointer, and we will ultimately
4634 convert it (via ADDRESS_TO_POINTER) to a pointer, not truncate it
4635 to a pointer. This allows things like "print *(int *)0x01000234"
4636 to work without generating a misleading message on a target having
4637 two byte pointers and four byte addresses.
4638
554cb486
CF
46392001-02-05 Christopher Faylor <cgf@cygnus.com>
4640
4641 * win32-nat.c: Change PTR to void * throughout.
4642
042be3a9
C
46432001-02-05 J.T. Conklin <jtc@redback.com>
4644
4645 * signals.h: Removed.
4646 * event-top.c (#include <signal.h>): Changed from signals.h.
4647 * inflow.c: Likewise.
4648 * mac-xdep.c: Likewise.
4649 * ser-pipe.c: Likewise.
4650 * ser-tcp.c: Likewise.
4651 * standalone.c: Likewise.
4652 * top.c: Likewise.
4653 * utils.c: Likewise.
4654 * Makefile.in: Removed signals.h from dependencies.
4655
a4acd088
CF
46562001-02-05 Christopher Faylor <cgf@cygnus.com>
4657
4658 Change suggested by Dean Luick <luick@cray.com>
4659 * inferior.h (step_over_calls_kind): Remove trailing comma from
4660 last enum element.
4661 (step_over_calls): Declare as extern rather than global.
4662
3116c80a
EZ
46632001-02-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
4664
4665 * sh-tdep.c: Update copyright.
4666 (sh_extract_return_value): Rewrite.
4667 (sh3e_sh4_extract_return_value): New function.
4668 (sh_gdbarch_init): Initialize gdbarch_extract-return_value to new
4669 version of the function for sh3e and sh4 CPUs.
4670
240be855
MC
46712001-02-05 Michael Chastain <chastain@redhat.com>
4672
4673 * hppah-nat.c (child_xfer_memory): Add parameter 'struct mem_attrib *'
4674 to conform with interface change.
4675
a17b5c4e
EZ
46762001-02-04 Eli Zaretskii <eliz@is.elta.co.il>
4677
32fe0950
EZ
4678 * config/djgpp/fnchange.lst: Tweak to make consistent with the
4679 new files.
4680
619cbaf7
EZ
4681 * config/djgpp/djconfig.sh: Use explicit absolute file name when
4682 invoking `find'.
4683
cd42d3a8
EZ
4684 * ser-go32.c (dos_write) [UART_FIFO_WORKS]: Use outportsb only if
4685 UART_FIFO_WORKS is defined. Otherwise use outportb.
4686 From Francisco Pastor <fpastor.etra-id@etra.es>
4687
a17b5c4e
EZ
4688 * go32-nat.c (go32_xfer_memory): Make the argument list consistent
4689 with target.h's `to_xfer_memory' member.
4690
86ddecc5
C
46912001-02-02 J.T. Conklin <jtc@redback.com>
4692
4693 * ppc-bdm.c (#include <signal.h>): Removed.
4694 * remote-array.c: Likewise.
4695 * remote-bug.c: Likewise.
4696 * remote-e7000.c: Likewise.
4697 * remote-mips.c: Likewise.
4698 * remote-os9k.c: Likewise.
4699 * remote-st.c: Likewise.
4700 * remote-udi.c: Likewise.
4701 * remote-vx29k.c: Likewise.
4702 * remote-vx68.c: Likewise.
4703 * remote-vx960.c: Likewise.
4704 * remote-vxmips.c: Likewise.
4705 * remote-vxsparc.c: Likewise.
4706
338d7c5c
JM
47072001-02-02 John Moore <jmoore@redhat.com>
4708
4709 * remote-utils.h (sr_set_device): Changed free() to xfree() where
4710 appropriate. Also changed Copyright to include 2001.
4711 * symtab.h (obstack_chunk_free, SYMBOL_INIT_DEMANGLED_NAME): Likewise.
4712 * value.h (value_free): Likewise.
4713 * gdbarch.sh (gdbarch_free): Likewise.
4714 * gdbarch.c, gdbarch.h: Regenerated.
4715
2b5436af
JM
47162001-02-02 John Moore <jmoore@redhat.com>
4717
4718 * cli/cli-cmds.c (apropos_command): Changed occurance of free() to
338d7c5c 4719 xfree(). Also changed Copyright to include 2001.
2b5436af 4720
82467003
C
47212001-02-02 J.T. Conklin <jtc@redback.com>
4722
4723 * monitor.c (#include "gdb_wait.h"): Removed.
4724 * ocd.c: Likewise.
4725 * ppc-bdm.c: Likewise.
4726 * remote-adapt.c: Likewise.
4727 * remote-array.c: Likewise.
4728 * remote-bug.c: Likewise.
4729 * remote-e7000.c: Likewise.
4730 * remote-eb.c: Likewise.
4731 * remote-es.c: Likewise.
4732 * remote-mips.c: Likewise.
4733 * remote-mm.c: Likewise.
4734 * remote-nindy.c: Likewise.
4735 * remote-os9k.c: Likewise.
4736 * remote-rdi.c: Likewise.
4737 * remote-rdp.c: Likewise.
4738 * remote-sds.c: Likewise.
4739 * remote-sim.c: Likewise.
4740 * remote-st.c: Likewise.
4741 * remote-udi.c: Likewise.
4742 * remote-vx.c: Likewise.
4743 * remote-vx29k.c: Likewise.
4744 * remote-vx68.c: Likewise.
4745 * remote-vx960.c: Likewise.
4746 * remote-vxmips.c: Likewise.
4747 * remote-vxsparc.c: Likewise.
4748 * remote.c: Likewise.
4749 * ser-pipe.c: Likewise.
4750 * ser-unix.c: Likewise.
4751 * Makefile.in: Updated dependencies.
4752
27b82ed2
DS
47532001-01-31 David Smith <dsmith@redhat.com>
4754
4755 * event-loop.c: Change inclusion of string.h to gdb_string.h and
4756 updated the copyright notice.
4757 * ser-pipe.c: Ditto.
4758 * mi/mi-cmds.c: Ditto.
4759 * mi/mi-console.c: Ditto.
4760 * mi/mi-getopt.c: Ditto.
4761 * mi/mi-parse.c: Ditto.
4762
ab9cc815
DS
47632001-01-31 David Smith <dsmith@redhat.com>
4764
4765 * MAINTAINERS: Add David Smith to Write After Approval list.
4766
d1f4cff8
AC
4767Tue Jan 30 15:43:08 2001 Andrew Cagney <cagney@cygnus.com>
4768
4769 * cli/cli-utils.c (putchar_filtered): Move function from here.
4770 * utils.c (putchar_filtered): To here.
4771 * cli/cli-utils.h (putchar_filtered): Move declaration from here.
4772 * defs.h (putchar_filtered): To here.
4773
74c1b268
AC
4774Tue Jan 30 17:27:11 2001 Andrew Cagney <cagney@redhat.com>
4775
4776 * configure.in (AC_CHECK_FUNCS): Replace vfork test with
4777 AC_FUNC_VFORK macro.
4778 * config.in, configure: Re-generate.
4779
4780 * gdb_vfork.h: New file.
4781 * ser-pipe.c (pipe_open): Update. Include "gdb_vfork.h".
4782 * fork-child.c (fork_inferior): Ditto.
4783
4fcf66da
AC
4784Tue Jan 30 17:09:07 2001 Andrew Cagney <cagney@redhat.com>
4785
4786 * defs.h (strsave): Delete declaration.
4787 * utils.c (strsave): Delete definition.
4788 * TODO (strsave): Update
4789
4790 * mac-xdep.c (tilde_expand): Replace strsave with xstrdup.
4791 * sparcl-tdep.c (sparclite_open): Ditto.
4792 * mips-tdep.c (mips_set_processor_type_command): Ditto.
4793 (_initialize_mips_tdep): Ditto.
4794 * solib.c (solib_open): Ditto.
4795 * symfile.c (add_filename_language): Ditto.
4796 (set_ext_lang_command): Ditto.
4797 * source.c (init_source_path): Ditto.
4798 (mod_path): Ditto.
4799 * sh3-rom.c (sh3_open): Ditto.
4800 (sh3e_open): Ditto.
4801 * serial.c (serial_open): Ditto.
4802 * remote-mips.c (common_open): Ditto.
4803 * monitor.c (monitor_open): Ditto.
4804 * m32r-rom.c (m32r_upload_command): Ditto.
4805 * infcmd.c (path_command): Ditto.
4806 * f-exp.y (parse_number): Ditto.
4807 * breakpoint.c (create_longjmp_breakpoint): Ditto.
4808 (create_thread_event_breakpoint): Ditto.
4809 * arc-tdep.c (arc_set_cpu_type_command): Ditto.
4810 (_initialize_arc_tdep): Ditto.
4811
e191e0ab
AC
4812Tue Jan 30 15:14:26 2001 Andrew Cagney <cagney@skil>
4813
4814 * cli/cli-script.c (define_command): Check for a bad hook value in
4815 switch statement.
4816
10214f55
C
48172001-01-30 J.T. Conklin <jtc@redback.com>
4818
4819 * configure/sh/embed.mt: New file.
4820 * configure/sh/linux.mt: New file.
4821 * configure/sh/sh.mt: Removed.
4822 * configure.tgt (sh-*-hms,sh-*-coff*,sh-*-elf*,sh-*-linux): New targets.
4823 (sh-*-*): Removed.
4824
c9049fc9
MC
48252001-01-29 Michael Chastain <chastain@redhat.com>
4826
4827 * symtab.c (block_lookup_symbol): Use 'namespace' parameter in
4828 symbol comparisons in binary search.
4829
0cff82d9 48302001-01-27 Christopher Faylor <cgf@cygnus.com>
aea02b6b
CF
4831
4832 * win32-nat.c (child_xfer_memory): Add missing argument required by
4833 2001-01-23 change.
4834
e6e0bfab
MK
48352001-01-27 Mark Kettenis <kettenis@gnu.org>
4836
4837 * ui-out.c (do_list_end): New function.
4838 (make_cleanup_ui_out_list_end): New function.
4839 * ui-out.h: Provide prototype for make_cleanup_ui_out_list_end.
4840 * stack.c (print_frame) [UI_OUT]: Call
4841 make_cleanup_ui_out_list_end to make sure we mark the end of the
4842 list if we do a non-local exit. At the end of the function,
4843 instead of calling ui_out_list_end directly, let do_cleanups
4844 handle it.
4845
1adeb98a
FN
48462001-01-26 Fernando Nasser <fnasser@redhat.com>
4847
4848 Fix double parsing of filenames passed as command line arguments
4849 to GDB (causes weird handling of escape characters).
4850 Also, remove dependencies on the CLI from libgdb.
4851 * call-cmds.h: Remove declaration of exec_file_command().
4852 * gdbcore.h: Remove declaration of exec_file_command().
4853 Add declarations for exec_open() and exec_file_clear().
4854 * symfile.h: Add declarations for symbol_file_add_main() and
4855 symbol_file_clear().
4856 * exec.c (exec_open): New function. Implements to_open for exec
4857 targets.
4858 (exec_file_clear): New function. Makes GDB forget about a previously
4859 specified executable file.
4860 (exec_file_attach): Move parsing of arguments from here ...
4861 (exec_file_command): ... to here.
4862 (init_exec_ops): Use exec_open(), not exec_file_command() to
4863 implement to_open for exec targets.
4864 * symfile.c (symbol_file_add_main): New function. Call symbol_file_add()
4865 with default values. Used when the file name has already been parsed.
4866 (symbol_file_clear): New function. Makes GDB forget about previously
4867 read symbols.
4868 (symbol_file_command): Call the above function instead of inline code.
4869 * main.c: Include "symfile.h" and "gdbcore.h" instead of the deprecated
4870 "call-cmds.h".
4871 (captured_main): Call exec_file_attach() and symbol_file_add_main()
4872 instead of exec_file_command() and symbol_file_command().
4873 (captured_main): Add comment.
4874 * corefile.c: Include "symfile.h".
4875 (core_file_command): Call symbol_file_add_main() instead of
4876 symbol_file_command().
4877 (reopen_exec_file): Call exec_open() instead of exec_file_command().
4878 * infcmd.c: Include "symfile.h".
4879 (attach_command): Call symbol_file_add_main() instead of
4880 symbol_file_command().
4881 * infrun.c: Remove comment about the inclusion of "symfile.h",
4882 not any longer appropriate.
4883 (follow_exec): Call symbol_file_add_main() instead of
4884 symbol_file_command().
4885 * remote-es.c: Include "symfile.h".
4886 (es1800_load): Call symbol_file_add_main() instead of
4887 symbol_file_command().
4888 * remote-vx.c: Remove comment about the inclusion of "symfile.h",
4889 not any longer appropriate.
4890 (vx-wait): Call symbol_file_add_main() instead of
4891 symbol_file_command().
4892 * solib-svr4.c (open_symbol_file_object): Call symbol_file_add_main()
4893 instead of symbol_file_command().
4894 * v850ice.c (ice_file): Call exec_open(), exec_file_attach() and
4895 symbol_file_add_main() instead of exec_file_command() and
4896 symbol_file_command().
4897 * Makefile.in: Update dependencies.
4898
5b616ba1
JH
48992001-01-26 Jeff Holcomb <jeffh@redhat.com>
4900
4901 * remote-udi.c (udi_open): Change strdup to xstrdup.
4902 * thread.c (thread_apply_all_command): Change strdup to xstrdup.
4903 Update copyright message.
4904 * varobj.c (delete_variable_1): Likewise.
4905
4906 * gdb_string.h: Remove declaration of strdup. Update copyright
4907 message.
4908 * config/xm-mpw.h: Likewise.
4909 * config/i386/xm-i386mach.h: Likewise.
4910 * config/m68k/xm-apollo68b.h: Likewise.
4911 * config/m68k/xm-hp300bsd.h: Likewise.
4912 * config/rs6000/xm-rs6000.h: Likewise.
4913 * config/vax/xm-vaxult.h: Remove declaration of strdup.
4914 * config/vax/xm-vaxult2.h: Likewise.
4915
b91d87cf
JH
49162001-01-26 Jeff Holcomb <jeffh@redhat.com>
4917
4918 * MAINTAINERS: Add Jeff Holcomb to Write After Approval list.
4919
873406a6
C
49202001-01-25 J.T. Conklin <jtc@redback.com>
4921
4922 * target.c (target_xfer_memory_partial): Return -1 on failure due
4923 to invalid access mode attribute.
4924
0613c401
CF
49252001-01-25 Christopher Faylor <cgf@cygnus.com>
4926
4927 * win32-nat.c (_initialize_core_win32): Prototype correctly.
4928
efd59e3f
MK
49292001-01-25 Mark Kettenis <kettenis@gnu.org>
4930
4931 * config/alpha/tm-fbsd.h: Update copyright.
4932 (USE_STRUCT_CONVENTION): Define in terms of
4933 alphabsd_use_struct_convention.
4934 * config/alpha/fbsd.mt (TDEPFILES): Add alphafbsd-tdep.c.
4935 * alphafbsd-tdep.c: New file.
4936
388e1ff2
FN
49372001-01-24 Fernando Nasser <fnasser@redhat.com>
4938
4939 * top.c (print_gdb_version): Update Copyright year.
4940
f4d650ec
C
49412001-01-24 J.T. Conklin <jtc@redback.com>
4942
4943 * dcache.c (dcache_write_line): Fix typo.
4944
4945 * memattr.c (delete_mem_region): Replace free() with xfree().
4946 (mem_number): Add explicit type.
4947
4948 * sol-thread.c (sol_thread_xfer_memory): Add attrib argument.
4949 (rw_common): Likewise.
4950
07091751
FN
49512001-01-24 Fernando Nasser <fnasser@redhat.com>
4952
4953 * infcmd.c (get_inferior_args, set_inferior_args): Accessor functions
4954 for the inferior program arguments.
4955 (run_command, run_no_args_command, init_infcmd)): Use accessor
4956 functions to set the inferior program arguments.
4957 * inferior.h: Add definitions to the accessor functions above.
4958
090c42a4
JB
49592001-01-23 Jim Blandy <jimb@redhat.com>
4960
4961 * dwarf2read.c (read_tag_const_type, read_tag_volatile_type):
4962 Implement these correctly, using make_cv_type.
4963
f29d9b6d 49642001-01-23 J.T. Conklin <jtc@redback.com>
29e57380
C
4965
4966 * exec.c (xfer_memory): Add attrib argument.
4967 * infptrace.c (child_xfer_memory): Likewise.
e5da8f38 4968 * lin-lwp.c (lin_lwp_xfer_memory): Likewise.
29e57380
C
4969 * monitor.c (monitor_xfer_memory): Likewise.
4970 * remote-adapt.c (adapt_xfer_inferior_memory): Likewise.
4971 * remote-array.c (array_xfer_memory): Likewise.
4972 * remote-bug.c (bug_xfer_memory): Likewise.
4973 * remote-e7000.c (e7000_xfer_inferior_memory): Likewise.
4974 * remote-eb.c (eb_xfer_inferior_memory): Likewise.
4975 * remote-es.c (es1800_xfer_inferior_memory): Likewise.
4976 * remote-mips.c (mips_xfer_memory): Likewise.
4977 * remote-mm.c (mm_xfer_inferior_memory): Likewise.
4978 * remote-nindy.c (nindy_xfer_inferior_memory): Likewise.
4979 * remote-os9k.c (rombug_xfer_inferior_memory): Likewise.
4980 * remote-rdi.c (arm_rdi_xfer_memory): Likewise.
4981 * remote-rdp.c (remote_rdp_xfer_inferior_memory): Likewise.
4982 * remote-sds.c (sds_xfer_memory): Likewise.
4983 * remote-sim.c (gdbsim_xfer_inferior_memory): Likewise.
4984 * remote-st.c (st2000_xfer_inferior_memory): Likewise.
4985 * remote-udi.c (udi_xfer_inferior_memory): Likewise.
4986 * remote-vx.c (vx_xfer_memory): Likewise.
4987 * remote.c (remote_xfer_memory): Likewise.
4988 * target.c (debug_to_xfer_memory, do_xfer_memory): Likewise.
4989 * target.h (child_xfer_memory, do_xfer_memory, xfer_memory): Likewise.
e5da8f38 4990 * thread-db.c (thread_db_xfer_memory): Likewise.
29e57380
C
4991
4992 * target.h (#include "memattr.h"): Added.
4993 (target_ops.to_xfer_memory): Add attrib argument.
4994
4995 * wince.c (_initialize_inftarg): Removed call to set_dcache_state.
4996 * dcache.h (set_dcache_state): Removed declaration.
4997 * dcache.c (set_dcache_state): Removed definition
4998
4999 * dcache.c: Update module comment, as dcache is now enabled and
5000 disabled with memory region attributes instead of by the global
5001 variable "remotecache". Add comment describing the interaction
5002 between dcache and memory region attributes.
5003 (dcache_xfer_memory): Add comment describing benefits of moving
5004 cache writeback to a higher level.
5005 (dcache_struct): Removed cache_has_stuff field. This was used to
5006 record whether the cache had been accessed in order to invalidate
5007 it when it was disabled. However, this is not needed because the
5008 cache is write through and the code that enables, disables, and
5009 deletes memory regions invalidate the cache. Add comment which
5010 suggests that we could be more selective and only invalidate those
5011 cache lines containing data from those memory regions.
5012 (dcache_invalidate): Updated.
5013 (dcache_xfer_memory): Updated.
f29d9b6d 5014
29e57380
C
5015 (dcache_alloc): Don't abort() if dcache_enabled_p is clear.
5016 (dcache_xfer_memory): Removed code that called do_xfer_memory() to
5017 perform a uncached transfer if dcache_enabled_p was clear. This
5018 function is now only called if caching is enabled for the memory
5019 region.
5020 (dcache_info): Always print cache info.
5021
5022 * target.c (do_xfer_memory): Add attrib argument.
5023 (target_xfer_memory, target_xfer_memory_partial): Break transfer
5024 into chunks defined by memory regions, pass region attributes to
5025 do_xfer_memory().
5026 * dcache.c (dcache_read_line, dcache_write_line): Likewise.
5027
5028 * Makefile.in (SFILES): Add memattr.c.
5029 (COMMON_OBS): Add memattr.o.
5030 (dcache.o): Add target.h to dependencies.
5031 * memattr.c: New file.
5032 * memattr.h: Likewise.
5033
f29d9b6d
C
5034 * config/m32r/m32r.mt (GDBSERVER_LIBS): Added ../../intl/libintl.a.
5035 * config/mips/vr5000.mt (GDBSERVER_LIBS): Likewise.
5036 * config/tic80/tic80.mt (GDBSERVER_LIBS): Likewise.
5037 * gdbserver/low-sim.c (#include "defs.h"): Removed.
5038 (mygeneric_load): Rename from generic_load.
5039
5040 * gdbserver/low-hppabsd.c (#include "server.h"): Added.
5041 (#include "defs.h"): Removed.
5042 (inferior_pid, perror_with_name): Remove declarations.
5043 * gdbserver/low-linux.c: Likewise.
5044 * gdbserver/low-nbsd.c: Likewise.
5045 * gdbserver/low-sparc.c: Likewise.
5046 * gdbserver/low-sun3.c: Likewise.
5047
5048 * i386-stub.c: Re-indent.
5049 * m68k-stub.c: Re-indent.
5050
58d5518e
ND
50512001-01-22 Nicholas Duffek <nsd@redhat.com>
5052
5053 * gdbarch.sh (PARM_BOUNDARY): Define.
5054 * gdbarch.c: Regenerate.
5055 * gdbarch.h: Regenerate.
5056
f6427ade
C
50572001-01-22 J.T. Conklin <jtc@redback.com>
5058
5059 * ns32k-tdep.c: #include "frame.h"
5060 * config/ns32k/tm-umax.h (FRAME_FIND_SAVED_REGS): Restore. It
5061 appears to have been inadvertantly removed sometime in May 1999.
5062
5063 * Revert 2000-11-09 changes where shared library objects were
5064 moved from NATDEPFILES to TDEPFILES on NetBSD targets. While
5065 we'd like to be able to debug dynamically linked executables,
5066 this makes it impossible to build a cross debugger on a many
5067 hosts.
5068
5069 * config/i386/nbsd.mt: Remove solib.o, solib-svr4.o from TDEPFILES.
5070 * config/i386/nbsdelf.mt: Likewise.
5071 * config/m68k/nbsd.mt: Likewise.
5072 * config/ns32k/nbsd.mt: Likewise.
5073 * config/powerpc/nbsd.mt: Likewise.
5074 * config/sparc/nbsd.mt: Likewise.
5075 * config/sparc/nbsdelf.mt: Likewise.
5076 * config/i386/nbsd.mh: Add solib.o, solib-svr4.o to NATDEPFILES.
5077 * config/i386/nbsdelf.mh: Likewise.
5078 * config/m68k/nbsd.mh: Likewise.
5079 * config/ns32k/nbsd.mh: Likewise.
5080 * config/powerpc/nbsd.mh: Likewise.
5081 * config/sparc/nbsd.mh: Likewise.
5082
8052a17a
JM
50832001-01-19 Jason Merrill <jason@redhat.com>
5084
5085 * dbxread.c (read_ofile_symtab): Stay with AUTO_DEMANGLING for G++.
5086 (process_one_symbol): Likewise.
5087 * dwarfread.c (handle_producer): Likewise.
5088
21a6f6bb
AC
5089Thu Jan 18 12:08:57 2001 Andrew Cagney <cagney@b1.cygnus.com>
5090
5091 * configure.in (build_warnings): Disable -Wuninitialized until GDB
5092 compiles with -Wuninitialized,-Werror.
5093 * configure: Regenerate.
5094
5095 * MAINTAINERS: Add list of buildable targets.
5096
494b7ec9
AC
5097Thu Jan 18 12:48:04 2001 Andrew Cagney <cagney@b1.cygnus.com>
5098
5099 * defs.h (STRCMP): Delete macro.
5100
5101 * objfiles.c (objfile_relocate): Replace STRCMP with call to
5102 strcmp.
5103 * symtab.c (lookup_partial_symbol, lookup_block_symbol): Ditto.
5104 * symfile.c (compare_symbols): Ditto.
5105 * standalone.c (open): Ditto.
5106 * remote-es.c (verify_break): Ditto.
5107 * cli/cli-decode.c (add_cmd, add_show_from_set): Ditto.
5108
5109 * symfile.c (compare_psymbols): Delete comment refering to STRCMP.
5110
8038e1e2
AC
5111Thu Jan 18 12:25:06 2001 Andrew Cagney <cagney@b1.cygnus.com>
5112
5113 * varobj.c (FREEIF): Delete macro.
5114 (varobj_set_value, free_variable): Replace FREEIF with ``xfree''
5115 call.
5116
ea8d0b28
NC
51172001-01-18 Nick Clifton <nickc@redhat.com>
5118
5119 * arc-tdep.c (arc_cpu_type_table): Add new arc core numbers.
5120 (arc_print_insn): No bfd available, so pass NULL to
5121 arc_get_disassembler.
5122
5dbd9048
JB
51232001-01-09 James Ingham <jingham@inghji.apple.com>
5124
5125 * symtab.c (lookup_symbol_aux): Call lookup_symbol_aux to lookup
5126 a mangled symbol rather than recursing into lookup_symbol, since
5127 this will just re-unmangle the name & call lookup_symbol_aux -
5128 leading to an infinite recursion.
5129
28ae27b1
MK
51302001-01-18 Mark Kettenis <kettenis@gnu.org>
5131
5132 * infcmd.c (print_return_value): Restore another space lost by
5133 switch to UIOUT. ``$NN='' should be ``$NN =''.
5134
6ab3a9c9
AC
5135Fri Jan 19 02:31:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
5136
5137 * target.h (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT)
5138 * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Wrap macro
5139 definition in parenthesis.
5140
ad6525fc
AC
5141Fri Jan 19 02:13:40 2001 Andrew Cagney <cagney@b1.cygnus.com>
5142
5143 From 2000-10-27 Mark Salter <msalter@redhat.com>:
5144 * remote.c (remote_remove_hw_breakpoint): Add 'len' field to Z
5145 packet.
5146 (remote_insert_hw_breakpoint): Ditto.
5147
6259c7e2
C
51482001-01-17 J.T. Conklin <jtc@redback.com>
5149
5150 * config/m68k/tm-nbsd.h (USE_STRUCT_CONVENTION): Define.
9c95b27f 5151 (BPT_VECTOR, REMOTE_BPT_VECTOR): Change to 0xf.
6259c7e2
C
5152 * config/m68k/nbsd.mt (TDEPFILES): Add m68knbsd-tdep.o.
5153 * m68knbsd-tdep.c: New file.
5154
5155 * i386nbsd-tdep.c: Remove #if 0'd out #includes.
5156
5157 * m68knbsd-nat.c: #include gdbcore.h.
5158
abdcb2a5
AC
5159Wed Jan 17 09:41:58 2001 Andrew Cagney <cagney@b1.cygnus.com>
5160
5161 * MAINTAINERS: Add J.T. Conklin to Blanket Write Privs.
5162
e7a8479f
MS
51632001-01-16 Michael Snyder <msnyder@cleaver.cygnus.com>
5164
aaeb7efa
MS
5165 * procfs.c (procfs_stopped_by_watchpoint): Don't die if process
5166 goes away -- just return false (ie. not stopped by watchpoint).
e7a8479f
MS
5167 * source.c (openp): Fix typo in comment.
5168
7036d6ce
ND
51692001-01-12 Nicholas Duffek <nsd@redhat.com>
5170
5171 * blockframe.c (generic_get_saved_register): Spelling fix.
5172 * frame.h (FRAME_FP): Spelling fix.
5173
9549d9c1
AC
5174Fri Jan 12 18:29:46 2001 Andrew Cagney <cagney@b1.cygnus.com>
5175
5176 * infcmd.c (print_return_value): Restore space lost by switch to
5177 UIOUT. ``$NN='' should be ``$NN =''.
5178
7302a204
ND
51792001-01-08 Nicholas Duffek <nsd@redhat.com>
5180
5181 * regcache.c (set_register_cached, register_buffer,
5182 real_register, pseudo_register fetch_register, store_register):
5183 New functions.
5184 (register_changed, read_relative_register_raw_bytes_for_frame,
5185 registers_changed, registers_fetched, read_register_bytes,
5186 read_register_gen, write_register_gen, read_register,
5187 read_signed_register, write_register, supply_register): Replace
5188 register_valid[] with register_cached() and
5189 set_register_cached().
5190 (read_register_bytes, read_register_gen, write_register_gen,
5191 read_register, read_signed_register, write_register,
5192 supply_register): Replace registers[] with register_buffer().
5193 (read_register_bytes, read_register_gen, read_register,
5194 read_signed_register): Call fetch_register().
5195 (write_register_gen, write_register): Call real_register() and
5196 store_register().
5197 (write_register_bytes): Call store_register().
5198 * value.h (set_register_cached, register_buffer): Prototype.
5199 * remote.c (remote_fetch_registers): Allocate regs[] with a
5200 run-time size. Replace register_valid[] with
5201 set_register_cached().
5202 (store_register_using_P, remote_store_registers): Replace
5203 registers[] with register_buffer().
5204
5ebd2499
ND
52052001-01-08 Nicholas Duffek <nsd@redhat.com>
5206
5207 * regcache.c: Change "write-back" comment to "write-through".
5208 Change "regno" to "regnum".
5209 (read_register, read_signed_register): Remove "raw" from return
5210 value description.
5211 (supply_register): Spelling fix.
5212 * value.h: Change "regno" to "regnum".
5213
1302fd5e
FN
52142001-01-08 Fernando Nasser <fnasser@redhat.com>
5215
5216 * Makefile.in (install-gdbtk): Add .itcl files to the list of files
5217 to be installed.
5218
9dcb560c
MS
52192001-01-04 Michael Snyder <msnyder@mvstp600e.cygnus.com>
5220
5221 * mips-tdep.c (mips_coerce_float_to_double): Fix typo in comment.
5222
0e2fb98e
ND
52232001-01-04 Nicholas Duffek <nsd@redhat.com>
5224
5225 * valops.c (VALUE_SUBSTRING_START): Delete.
5226
12cf3f1b
ND
52272001-01-04 Nicholas Duffek <nsd@redhat.com>
5228
5229 * Makefile.in (SUBDIR_CLI_OBS): Add cli/cli-utils.o.
5230 (SUBDIR_CLI_SRCS): Add cli/cli-utils.c.
5231 (cli_utils_h): New variable.
5232 (cli/cli-utils.o): New rule.
5233 * cli/cli-utils.c: New file.
5234 * cli/cli-utils.h: New file.
5235
cc533b9d
ND
52362001-01-04 Nicholas Duffek <nsd@redhat.com>
5237
5238 * config/i386/tm-i386.h (REGISTER_CONVERT_TO_VIRTUAL,
5239 REGISTER_CONVERT_TO_RAW): Delete trailing semicolon.
5240
ad2a4d09
C
52412001-01-03 J.T. Conklin <jtc@redback.com>
5242
5243 * alphabsd-nat.c, i386-linux-nat.c, i386bsd-nat.c: Fix typo in
5244 comment.
5245
8140e7ac
MS
52462001-01-02 Michael Snyder <msnyder@cleaver.cygnus.com>
5247
3116c80a
EZ
5248 * sh-tdep.c (sh_default_store_return_value): Allow for small return type.
5249 (sh3e_sh4_store_return_value): Call sh_default_store_return_value for
d19b71be 5250 non-float types.
779e876b 5251 * sparc-tdep.c (sparc_frame_chain): Fix typo in comment.
72e22353
MS
5252 Update copyright notice.
5253
15f33b66 5254For older changes see ChangeLog-2000
c906108c
SS
5255\f
5256Local Variables:
5257mode: change-log
5258left-margin: 8
5259fill-column: 74
5260version-control: never
5261End:
This page took 0.379137 seconds and 4 git commands to generate.