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