import gdb-1999-09-28 snapshot
[external/binutils.git] / gdb / ChangeLog
1 Tue Sep 28 11:08:34 1999  Jeffrey A Law  (law@cygnus.com)
2
3         * hppa-tdep.c (hppa_fix_call_dummy): Ignore IMPORT_SHLIB stubs
4         except for hpux11 native.  Break out of the loop to find a
5         stub as soon as we find an IMPORT stub.
6         (skip_prologue_hard_way): Also recognize copy %ret1,target and
7         all PA64 argument stores as prologue instructions.
8
9 1999-09-28  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
10
11         * breakpoint.c, defs.h, event-top.c, infcmd.c, infrun.c, main.c,
12         remote.c, top.c, tracepoint.c, utils.c (async_p): Change var name
13         to event_loop_p.
14         
15 1999-09-28  Jim Blandy  <jimb@cris.red-bean.com>
16
17         * hppa-tdep.c (skip_prologue_hard_way): Recognize ldo insns
18         which generate pointers into the argument list.
19
20 Tue Sep 28 13:56:49 1999  Andrew Cagney  <cagney@b1.cygnus.com>
21
22         * remote.h (cleanup_sigint_signal_handler,
23         initialize_sigint_signal_handler): Delete extern declarations.
24         * event-top.c, infrun.c: No longer need to include "remote.h".
25         * remote.c (cleanup_sigint_signal_handler,
26         initialize_sigint_signal_handler): Make static.
27         * Makefile.in (event-top.o): Delete dependency on "remote.h".
28
29         * remote.c (remote_async_terminal_ours_p): New static global. Keep
30         track of who currently owns the terminal.
31         (remote_async_open_1): Initialize.
32         (remote_async_terminal_inferior): Test
33         remote_async_terminal_ours_p.  Claim CNTRL-C handler as part of
34         transfering the terminal to the target.
35         (remote_async_terminal_ours): Similar.
36
37 Mon Sep 27 12:33:45 1999  Andrew Cagney  <cagney@b1.cygnus.com>
38
39         * remote.c (async_interrupt_query): Delete function.  Merged into
40         interrupt_query.  Async cases handled by target_terminal_ours,
41         target_terminal_inferior and SERIAL_CLOSE.
42         (async_remote_interrupt_twice): Update.
43         (remote_async_terminal_ours, remote_async_terminal_inferior): New
44         functions. Steal STDIN from GDB's CLI.
45         (init_remote_async_ops): Initialize to_terminal_ours and
46         to_terminal_inferior.
47
48         * event-top.c (async_disable_stdin, async_disable_stdin): Use
49         target_terminal_ours / target_terminal_inferior to transfer
50         ownership of the terminal between GDB and the target.
51
52 1999-09-27  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
53
54         * infcmd.c (run_command): Call async_disable_stdin() only if
55         dealing with an asynchronous target.
56
57 Mon Sep 27 11:48:38 1999  Andrew Cagney  <cagney@b1.cygnus.com>
58
59         * target.h (struct target_ops): Add to_can_async_p, to_is_async_p,
60         to_async.  Delete to_has_async.  These correspond well with
61         SERIAL* async methods.
62         (target_can_async_p, target_is_async_p, target_async): Define.
63         * target.c (update_current_target, cleanup_target): Update.
64
65         * remote.c (remote_async_open_1): Change target to async using
66         target_async.
67         (remote_can_async_p, remote_is_async_p, remote_async): New
68         functions.
69         (remote_async_wait, remote_async_open_1): Add FIXME about how
70         wait_forever_enabled_p can almost be deleted once the client can
71         enable/disable target_async.
72
73         * breakpoint.c (until_break_command), infrun.c (proceed), infcmd.c
74         (run_command, continue_command, step_1, jump_command,
75         until_command, finish_command, interrupt_target_command), top.c
76         (return_to_top_level, execute_command), event-top.c
77         (command_handler): Replace target_has_async with
78         target_can_async_p.
79
80 Sun Sep 26 02:10:47 1999  Andrew Cagney  <cagney@b1.cygnus.com>
81
82         * remote.c (remote_async_open_1): If we go into async mode, never
83         wait for ever.
84
85         * infcmd.c: Include "event-top.h".
86         (run_command, continue_command, jump_command, until_command,
87         finish_command): Use async_disable_stdin to disable the console
88         for synchronous commands.
89
90         * remote.c (async_interrupt_query): Only disconnect the console
91         from the terminal when sync_execution.
92
93         * remote.c (initialize_sigint_signal_handler): Move declaration
94         from here.
95         * remote.h: To here.  Make non-static.
96
97         * remote.c (remote_async_resume, async_interrupt_query): Move
98         prompt code from here.
99         * event-top.c (async_disable_stdin, async_enable_stdin): To
100         here. New function.
101
102         * infrun.c (start_remote): Delete commented out code.
103
104 Fri Sep 24 12:38:31 1999  Andrew Cagney  <cagney@b1.cygnus.com>
105
106         * remote.c (remote_async_open_1): Perform the initial async_open
107         using only synchronous calls.  Only after the target is fully
108         connected, switch to async mode.  Include FIXME about now it
109         currently works VS how it should be working.
110         (remote_async_open_1, set_extended_protocol): Delete function
111         set_extended_protocol.  All open communication is now done
112         synchronously.
113         (forever_enabled_p): New variable.  Determine if remote_async_wait
114         should block FOREVER when fetching target information.
115         (remote_cisco_open, remote_open_1): Set forever_enabled_p.
116
117         * infrun.c (start_remote): During the initial connect, always use
118         a synchronous wait.
119
120 Sat Sep 25 18:13:38 1999  Andrew Cagney  <cagney@b1.cygnus.com>
121
122         * Makefile.in (event-top.o): Add dependency.
123         * event-top.c: Include "remote.h".
124         * remote.c (async_interrupt_query), event-top.c:
125         (async_enable_stdin): Pass dummy parameter to
126         cleanup_sigint_signal_handler.
127         * remote.c (cleanup_sigint_signal_handler), remote.h
128         (cleanup_sigint_signal_handler), event-top.c (async_enable_stdin),
129         event-top.h (async_enable_stdin): Change signature to match
130         make_exec_error_cleanup handler pararameter.
131
132 Thu Sep 23 20:48:22 1999  Andrew Cagney  <cagney@b1.cygnus.com>
133
134         * defs.h (enum command_class): Move from here.
135         * command.h (command_class): To here.
136
137 1999-09-24  Kevin Buettner  <kevinb@cygnus.com>
138         * breakpoint.c (bpstat_stop_status): Use not_a_breakpoint to
139         help properly set bp_addr.
140         * infrun.c (handle_inferior_event): Simplify calls to
141         bp_stop_status.
142
143 1999-09-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
144
145         * top.c (return_to_top_level): Do exec_error cleanups if are
146         interrupting a simulated synchronous execution command.
147
148         * infrun.c (start_remote): Create a cleanup to enable stdin in
149         case of error from this command.
150         (complete_execution): Do the enabling of stdin via the exec_error
151         cleanups, when needed.
152
153         * remote.c (remote_async_resume): Make sure we re-enable stdin in
154         case of error from the target.
155         (handle_remote_sigint_twice): The handler to be set is
156         async_remote_interrupt_twice, not async_remote_interrupt.
157         (async_remote_interrupt_twice): Don't do anything if the target
158         has been killed already. Call async_interrupt_query, instead of
159         interrupt_query.
160         (async_interrupt_query): New function. Async case of
161         interrupt_query().
162         
163         * event-top.c (async_enable_stdin): New function. Reinstate stdin
164         with the event loop.
165         * event-top.h (async_enable_stdin): Export.
166
167         * utils.c (exec_error_cleanup_chain): New cleanup chain.
168         (make_exec_error_cleanup, do_exec_error_cleanups,
169         discard_exec_error_cleanups): New functions.
170         * defs.h (make_exec_error_cleanup, do_exec_error_cleanups,
171         discard_exec_error_cleanups): Export.
172
173 1999-09-24  Jim Blandy  <jimb@zwingli.cygnus.com>
174
175         * ax-gdb.c (expr_to_agent): Don't forget to pass argument to
176         new_agent_expr.
177
178 1999-09-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
179
180         * event-loop.c (fetch_inferior_event_wrapper): New
181         function. Wrapper to pass to catch_errors.
182         (inferior_event_handler): Pop the target if things go bad with it.
183         Call fetch_inferior_event() from within catch_errors(). 
184
185 1999-09-24  Jim Blandy  <jimb@zwingli.cygnus.com>
186
187         * ax-gdb.c: Use internal_error instead of error, where
188         appropriate.
189
190 1999-09-23  James Ingham  <jingham@leda.cygnus.com>
191
192         * target.c (target_resize_to_sections): New function.  Gather the
193         resizing code for the to_sections field into one place, and make
194         sure you update the other targets that are sharing the to_sections 
195         structure.
196         * target.h: Declare the target_resize_to_sections function.
197         * solib.c (solib_add): use target_resize_to_sections.
198         * somsolib.c (som_solib_load_symbols): ditto
199         * rs6000-nat.c (xcoff_relocate_core): ditto
200         * pa64solib.c (pa64_solib_load_symbols): ditto
201         * irix5-nat.c (solib_add):ditto
202
203         * top.c: Define the attach & detach hooks
204         * defs.h: Declare the attach & detach hooks.
205         * infcmd.c (attach_command): call the attach hook if it exists.
206         (detach_command): call the detach hook if it exists.
207
208         * complaints.c (complain): Send the complaints to stderr rather
209         than stdout, so they don't get mixed into the result stream from
210         commands. 
211
212 1999-09-23  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
213
214         * event-loop.c (poll_timers): Use correct timeval field names,
215         when setting the notifier timeouts, in case of select() used.
216         (gdb_wait_for_event): Pass a pointer to the timeout structure to
217         select(), not the structure.
218
219 Wed Sep 22 10:35:32 1999  Andrew Cagney  <cagney@b1.cygnus.com>
220
221         * Makefile.in (init.c): Change generated file to include "defs.h"
222         and "call-cmds.h". Use initialize_file_ftype when declaring
223         each initialize functions.
224         (call_cmds_h): Add definition.
225         (init.o): Add target and dependencies.
226         (init.c): Don't grep for _initialize* in init.c.
227
228         * defs.h (initialize_file_ftype): Add function typedef.
229
230 1999-09-22  Michael Snyder  <msnyder@cleaver.cygnus.com>
231
232         * procfs.c (init_procinfo): move fltset initialization to caller.
233         (do_attach, create_procinfo): initialize fltset.
234
235 1999-09-22  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
236
237         * event-loop.c, event-top.c, event-loop.h: Rerun indent.
238
239 1999-09-21  Doug Evans  <devans@casey.cygnus.com>
240
241         * m32r-stub.c (handle_exception): Fix typo in patch of 1999-08-26.
242
243 Tue Sep 21 14:55:29 1999  Andrew Cagney  <cagney@b1.cygnus.com>
244
245         From 1999-08-20 J.T. Conklin  <jtc@redback.com>:
246         * remote.c (read_frame): expand cisco run-length encoding variant
247         inline as is done for the standard encoding.
248         (remote_cisco_expand): Removed.
249
250 1999-09-20  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
251
252         * event-loop.c: Include <sys/time.h>.
253
254 1999-09-20  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
255
256         * ser-ocd.c: (ser_ocd_open, ser_ocd_raw, ser_ocd_readchar,
257         ser_ocd_setbaudrate, ser_ocd_write, ser_ocd_close,
258         ser_ocd_get_tty_state, ser_ocd_set_tty_state): Remove unused
259         prototypes.
260         (ocd_readremote): Remove.
261         (ocd_write): Remove unused var 'c'.
262
263 1999-09-20  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
264
265         * event-top.c (change_line_handler): Cleanup dead code. Add comments.
266         * event-loop.c: Cleanup #if 0 code.
267
268         * event-loop.h (timer_handler_func): New function type.
269         (create_timer): Export function.
270         (delete_timer): Export function.
271
272         * event-loop.c: Add timeout and timeout_valid fields to
273         gdb_notifier.  New structures gdb_timer and timer_list.
274         (gdb_do_one_event): Check whether there are any timers tht are
275         ready, before going to wait.
276         (gdb_wait_for_event): If the timeout structure is meaningful, pass
277         that to select()/poll().
278         (create_timer): New function. Creates a timer.
279         (delete_timer): New function. Deletes a timer.
280         (handle_timer_event): New function. Deals with timers that are ready.
281         (poll_timers): New Function. Chack whether timers have expired.
282
283 Mon Sep 20 17:00:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
284
285         * remote.c (getpkt, putpkt, remote_console_output): Move
286         declaration from here.
287         * remote.h: To here. New file.
288         * tracepoint.c(putpkt, getpkt, remote_console_output): Delete
289         declarations. Moved to "remote.h".
290         * Makefile.in (remote_h): Define.
291         * remote.c, tracepoint.c: Include "remote.h".
292         * Makefile.in (tracepoint.o, remote.o): Add dependency on
293         "remote.h".
294
295         * remote.h (remote_cisco_objfile_relocate,
296         cleanup_sigint_signal_handler): Add declaration.  Include FIXME.
297         * infrun.c: Include "remote.h".
298         (complete_execution): Delete local extern declaration
299         of ``cleanup_sigint_signal_handler''.
300         * Makefile.in (infrun.o): Add dependency on remote.h.
301
302 Mon Sep 20 13:41:04 1999  Andrew Cagney  <cagney@b1.cygnus.com>
303
304         * kod.c (ecos_kod_open, ecos_kod_request, ecos_kod_close,
305         cisco_kod_open, cisco_kod_request, cisco_kod_close): Move
306         declarations from here.
307         * kod.h: To here. New file.
308         * kod-cisco.c, kod.c: Include "kod.h".
309         * Makefile.in (kod-cisco.o, kod.o): Add dependency on "kod.h".
310
311         * kod.h (kod_display_callback_ftype, kod_query_callback_ftype):
312         New function types.
313         * kod.h (kod_cisco_open): Use in declaration.
314         * kod.c (gdb_kod_open): Update definition.
315         * kod-cisco.c (cisco_kod_open): Update definition.
316
317 Mon Sep 20 12:13:27 1999  Andrew Cagney  <cagney@b1.cygnus.com>
318
319         * mn10300-tdep.c (_initialize_mn10300_tdep): Add declaration.
320
321         * breakpoint.c (until_break_command_continuation): Add
322         declaration.  Make static.
323         * event-top.c (rl_callback_read_char_wrapper): Ditto.
324
325 Fri Sep 17 19:28:17 1999  Andrew Cagney  <cagney@b1.cygnus.com>
326
327         * source.c: Include "source.h".
328         (open_source_file, find_source_lines): Move declaration from here.
329         * source.h: New file. To here.
330         * Makefile.in (source.o): Add dependency on source.h.
331
332         * breakpoints.c (delete_command): Move declaration from here.
333         * breakpoints.h (delete_command): To here.
334         
335 1999-09-18  Jim Blandy  <jimb@cris.red-bean.com>
336
337         * hppa-tdep.c (in_solib_call_trampoline): If we can't recognize
338         the instruction we're at, we're not in a stub.
339
340 Sat Sep 18 07:13:03 1999  Jeffrey A Law  (law@cygnus.com)
341
342         * dwarf2read.c (dwarf_decode_lines): Correctly handle
343         DW_LNS_const_add_pc.
344
345 1999-09-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
346
347         * remote.c (remote_async_open_1): Use inferior_event_handler to
348         handle inferior events.
349         (extended_remote_async_create_inferior): Ditto.
350
351         * serial.h (serial_event_ftype): Add two pars. 
352
353         * ser-unix.c (ser_unix_event): Add two parameters, error and fd.
354         Pass those into the call to the actual inferior event handler.
355
356         * infrun.c (complete_execution): Stdin handler is stdin_event_handler.
357
358         * event-top.h (stdin_event_handler): Export new function.
359
360         * event-top.c (stdin_event_handler): New function. Smarter handler
361         for events on stdin.
362         (change_line_handler): Don't need to update the handler for stdin
363         here anymore.
364         (_initialize_event_loop): Stdin handler is now stdin_event_handler.
365
366         * event-loop.h: (handler_func): Change signature, adding two new
367         args.
368         (sig_handler_func): New function type. It is the old handler_func.
369         (create_async_signal_handler): Update to use sig_handler_func.
370         (delete_async_signal_handler): Prototype for new function.
371
372         * event-loop.c: Include "inferior.h".
373         (struct file_handler): Add field error, to indicate error
374         condition on fd.
375         (struct async_signal_handler): Rename type of proc field.
376         (add_file_handler): Add exception condition as something select()
377         should report.
378         (handle_file_event): In case of error on the fd, record this in
379         the file_handler structure. Update call to (*proc)() to match new
380         signature.
381         (gdb_wait_for_event): If select() or poll() return error, report
382         this to user.
383         (create_async_signal_handler): Change first param type to
384         sig_handler_func*.
385         (inferior_event_handler): New function. Smarter inferior event
386         handling.
387
388 1999-09-18  Jim Blandy  <jimb@cris.red-bean.com>
389
390         * pa64solib.c (pa64_solib_create_inferior_hook): Remove code which
391         tries to set __d_pid; it's not relevant to PA64 shared libraries.
392
393         A psymtab's texthigh element, and a block's endaddr element, are
394         the address past the end of the address range, never the address
395         of the last byte.  These data structures mean the same thing on
396         forty different architectures; there's no reason they should be
397         different on HP/UX.
398         * symtab.c (find_pc_sect_psymtab): Remove special case for HP/UX.
399         (find_pc_sect_symtab): Same.
400         * objfiles.c (find_pc_sect_section): Same.
401
402 Sat Sep 18 07:13:03 1999  Jeffrey A Law  (law@cygnus.com)
403
404         * hppa-tdep.c (internalize_unwinds): Handle PA64 shared libraries
405         correctly
406
407         * hppa-tdep.c (in_solib_call_trampoline): Handle PA64 shared library
408         trampolines.
409
410 1999-09-17  Jim Blandy  <jimb@zwingli.cygnus.com>
411
412         * breakpoint.c (permanent_breakpoint_here_p): Delete.
413         Accidentally left over from previous changes.
414
415 1999-09-17  Jim Blandy  <jimb@cris.red-bean.com>
416
417         * config/pa/tm-hppa64.h (ARGS_GROW_DOWNWARD): Deleted.  There are
418         many more differences between the 32- and 64-bit ABI's than the
419         direction the arguments grow, so this name is misleading.
420         (PA20W_CALLING_CONVENTIONS): Define this instead.
421         * config/pa/tm-hppa.h (ARGS_GROW_DOWNWARD): Delete.
422         * hppa-tdep.c (hppa_push_arguments): Split into two separate
423         functions, depending on whether PA20W_CALLING_CONVENTIONS is
424         #defined.  These implement completely separate specifications,
425         they don't really share that much code anyway, and this is much
426         more readable.  Specifically: leave a 16-byte, not 32-byte, frame
427         marker; correctly align objects larger than eight bytes; promote
428         all integral scalar arguments smaller than eight bytes to a full
429         register width; pad aggregates smaller than eight bytes on the
430         right.
431
432 Thu Sep 16 17:33:35 1999  Andrew Cagney  <cagney@b1.cygnus.com>
433
434         * remote.c (remote_async_open_1): Use SERIAL_ASYNC to
435         enable/disable async event callback on serial port.  Use
436         SERIAL_CAN_ASYNC_P / SERIAL_IS_ASYNC_P to determine if / when
437         async mode.
438         (remote_async_resume, remote_async_detach, remote_async_kill,
439         extended_remote_async_create_inferior, remote_async_wait): Ditto.
440
441         * ser-unix.c (hardwire_readchar): When ASYNC, only read a single
442         character.
443         (ser_unix_readchar): Ditto.  Problems occure with back-to-back
444         data from a target.  The ASYNC code can loose the second data
445         chunk.
446
447         * serial.c (serial_fdopen): Initialize async_handler and
448         async_context.
449
450 1999-09-16  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
451
452         * utils.c (discard_all_continuations): New function.
453         * defs.h: (discard_all_continuations): Add prototype.
454
455 1999-09-16  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
456
457         * valops.c: Remove prototype for search_struct_field_aux(). THe
458         function was nowhere in the file.
459         (value_ind): Remove unused var real_val.
460         (value_find_oload_method_list): Remove unused var v. 
461         (find_overload_match): Remove extra declaration of var jj.
462
463         * Makefile.in (event_top_h): Define. Add dependency on this for
464         every file that includes event-top.h.
465
466 Thu Sep 16 17:33:35 1999  Andrew Cagney  <cagney@b1.cygnus.com>
467
468         * serial.c (serial_open): Delete ``&'' device.
469         * ser-unix.c (_initialize_ser_hardwire): Make the "hardwire"
470         device async.  Delete temporary "async-hardwire" device.
471
472 Thu Sep 16 16:27:13 1999  Andrew Cagney  <cagney@b1.cygnus.com>
473
474         * serial.h (SERIAL_IS_ASYNC_P): Define.  Non-zero when serial
475         device is in async mode.
476         (SERIAL_CAN_ASYNC_P): Rename SERIAL_ASYNC_P.
477         * serial.c (serial_is_async_p): Implement.
478         (serial_can_async_p): Rename serial_async_p.
479         (serial_open): Initialize ASYNC_HANDLER and ASYNC_CONTEXT. Save
480         the original name in SCB instead of the stripped name.
481
482 Thu Sep 16 12:20:11 1999  Andrew Cagney  <cagney@b1.cygnus.com>
483
484         * serial.h (struct serial_ops): Add field ASYNC.
485         (SERIAL_ASYNC, SERIAL_ASYNC_P): New macros.
486         (struct _serial_t): Add fields async_context and async_handler.
487         * serial.c (serial_async, serial_async_p): Implement.
488
489         * ser-unix.c: Include "event-loop.h".
490         (ser_unix_async), ser-unix.c: New function.  Implement async mode.
491         (async_event): Handle async events.
492         * ser-unix.c (_initialize_ser_hardwire), ser-tcp.c
493         (_initialize_ser_tcp), ser-pipe.c (_initialize_ser_pipe): Enable
494         ASYNC.
495
496         * serial.c (serial_open): Discard leading ``|'' before opening a
497         pipe device.
498         * ser-pipe.c (pipe_open): Adjust.
499         * serial.c (serial_open): Add ``&'' prefix so that
500         "async-hardwire" device can be explicitly selected.  Work in
501         progress.
502         * ser-unix.c: Register "async-hardwire" device.
503   
504 Thu Sep 16 09:04:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
505
506         * ser-unix.h: New file.  Declare generic ser_unix functions.
507         * ser-unix.c (ser_unix_nop_get_tty_state,
508         ser_unix_nop_set_tty_state, ser_unix_nop_raw, ser_unix_wait_for,
509         ser_unix_readchar, ser_unix_nop_noflush_set_tty_state,
510         ser_unix_nop_print_tty_state, ser_unix_nop_setbaudrate,
511         ser_unix_nop_setstopbits, ser_unix_write,
512         ser_unix_nop_flush_output, ser_unix_nop_flush_input,
513         ser_unix_nop_send_break, ser_unix_nop_drain_output): New
514         functions.
515         * ser-unix.c: Include <sys/wait.h>, <sys/socket.h>,
516         "gdb_string.h".
517         
518         * ser-tcp.c (_initialize_ser_tcp), ser-unix.c
519         (_initialize_ser_hardwire), ser-pipe.c (_initialize_ser_tcp):
520         Initialize ops vector using assignment.
521
522         * ser-pipe.c, ser-tcp.c, ser-unix.c: Include ser-unix.h.
523         
524         * ser-pipe.c (pipe_get_tty_state, pipe_set_tty_state,
525         pipe_return_0, pipe_raw, wait_for, pipe_readchar,
526         pipe_noflush_set_tty_state, pipe_print_tty_state,
527         pipe_setbaudrate, pipe_setstopbits, pipe_write), ser-tcp.c
528         (tcp_get_tty_state, tcp_set_tty_state, tcp_return_0, tcp_raw,
529         wait_for, tcp_readchar, tcp_noflush_set_tty_state,
530         tcp_print_tty_state, tcp_setbaudrate, tcp_setstopbits, tcp_write):
531         Delete functions.
532
533 1999-09-15  Stan Shebs  <shebs@andros.cygnus.com>
534
535         * d10v-tdep.c (remote_d10v_translate_xfer_address): Move to here
536         from remote-d10v.c, also change the memory translation to its
537         previous version.
538         * remote-d10v.c: Remove.
539         * config/d10v/d10v.mt (TDEPFILES): Remove remote-d10v.o.
540
541 1999-09-15  Jim Blandy  <jimb@cris.red-bean.com>
542
543         * breakpoint.c (remove_breakpoint): Return zero, not nothing.
544
545 1999-09-14  Jim Blandy  <jimb@cris.red-bean.com>
546
547         * hppa-tdep.c (frame_chain): If the unwind info says we've saved
548         r3, don't trust it.  Call get_frame_saved_regs and see if we can
549         actually find an address for r3 there.
550
551         * pa64solib.c (pa64_sharedlibrary_info_command): Text fix.
552
553 Tue Sep 14 14:34:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
554
555         * serial.h (DEPRECATED_SERIAL_FD): Define.
556         * serial.c (deprecated_serial_fd): New function.
557
558         * remote.c (remote_async_open_1, remote_async_open_1,
559         remote_async_detach, remote_async_kill,
560         extended_remote_async_create_inferior, minitelnet): Update.
561         * remote-es.c (es1800_open, es1800_close, es1800_transparent): Update.
562
563         * remote-st.c (connect_command), remote-os9k.c (connect_command):
564         Fix.  Call FD_SET et.al. with FD instead of serial_t.
565
566 1999-09-14  Jim Blandy  <jimb@cris.red-bean.com>
567
568         * hppa-tdep.c (hppa_frame_find_saved_regs): The two possible
569         instructions for saving the return pointer (32- and 64-bit) save
570         it at different offsets.
571
572         * config/pa/tm-hppa64.h: Doc fix.
573
574         * defs.h (continuation): Make this a typedef.
575
576         * Makefile.in (gdbtk.o, gdbtk-cmds.o): Depend on $(top_h).
577
578         * Makefile.in (i386-linux-nat.o): Depend on symfile.h, not
579         $(symfile_h); the latter has no definition.
580
581         * breakpoint.c (breakpoint_here_p): Remove meaningless code,
582         testing b->enable against shlib_disabled and call_disabled after
583         we know it is enabled.
584
585         Implement "permanent breakpoints" --- breakpoints that are
586         hardwired into the inferior's code.  GDB knows they're there, but
587         doesn't try to insert or remove them, etc.
588         * breakpoint.h (enum enable): Add `permanent' enablement state.
589         * breakpoint.c (make_breakpoint_permanent): New function.
590         * breakpoint.h (make_breakpoint_permanent): Add declaration.
591         * breakpoint.c (insert_breakpoints): Don't bother to insert
592         permanent breakpoints...
593         (remove_breakpoint): ... or remove them.
594         (breakpoint_here_p): Handle `permanent' like `enabled'.  Change
595         return value to indicate whether it's a permanent breakpoint here,
596         or an ordinary breakpoint.
597         * breakpoint.h (enum breakpoint_here): New enum.
598         (breakpoint_here_p): Change declaration.
599         * breakpoint.h (breakpoint_1): Extend bpenables to cover all the
600         enablement states.
601         (describe_other_breakpoints): Describe permanent breakpoints.
602         (check_duplicates): If one of the breakpoints at ADDRESS is a
603         permanent breakpoint, treat all the others as the duplicates, so
604         we don't try to insert or remove any of them.  Verify that only
605         the permanent breakpoint is actually inserted.
606         (delete_breakpoint): Complain if we discover that another
607         breakpoint was inserted at the same place as a permanent
608         breakpoint.
609         (disable_breakpoint): Fail silently if asked to disable a
610         permanent breakpoint.
611         (do_enable_breakpoint): Don't change a permanent breakpoint's
612         enablement to ordinary `enabled'.  Leave it alone.
613         (create_solib_event_breakpoint): Return the
614         breakpoint object created.
615         * breakpoint.h (create_solib_event_breakpoint): Fix declaration.
616         * pa64solib.c (pa64_solib_create_inferior_hook): Do turn on the
617         DT_HP_DEBUG_CALLBACK flag in the dynamic linker, so it will call
618         __dld_break, which contains the permanent breakpoint, when interesting
619         things happen.  Tell GDB that the breakpoint in __dld_break is
620         permanent.
621         * gdbtk-cmds.c (gdb_get_breakpoint_info): Report a permanent
622         breakpoint as enabled.
623         * infrun.c (SKIP_PERMANENT_BREAKPOINT): Provide default definition.
624         (default_skip_permanent_breakpoint): New function.
625         (resume): If we're trying to resume at a permanent breakpoint, use
626         SKIP_PERMANENT_BREAKPOINT to step over it.
627         * hppa-tdep.c (hppa_skip_permanent_breakpoint): New function.
628         * config/pa/tm-hppa.h (hppa_skip_permanent_breakpoint): Declare.
629         (SKIP_PERMANENT_BREAKPOINT): Define.
630         
631 1999-09-14  Kevin Buettner  <kevinb@cygnus.com>
632
633         * symtab.h, minsyms.c (find_stab_function_addr): Changed
634         type of second parameter from partial_symtab * to char *.
635         Fixed all callers.
636         * minsyms.c (find_stab_function_addr): Look for minimal
637         symbol without filename if filename based search fails.
638         * dbxread.c (process_one_symbol): Call find_stab_function_addr()
639         in place of inline code with identical functionality.
640         * partial-stab.h (case N_FUN, descriptors 'F' and 'f'): Look
641         up symbol's address from minimal symbol table when N_FUN
642         address is missing.  Also, make sure this value is used for
643         calculating the value of the texthigh field.
644
645 1999-09-14  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
646
647         * event-loop.c (create_file_handler): Increment the total number
648         of file descriptors for the poll case, only if this is a new file
649         desc.
650
651 1999-09-14  Eli Zaretskii  <eliz@is.elta.co.il>
652
653         * go32-nat.c: misc minor cleanups and fixes missed in last patch.
654
655 Tue Sep 14 12:37:33 1999  Andrew Cagney  <cagney@b1.cygnus.com>
656
657         * serial.h (SERIAL_PRINT_TTY_STATE): Add STREAM parameter.
658         (union serial_ops): Update.
659
660         * ser-unix.c (hardwire_print_tty_state, ser-tcp.c
661         (tcp_print_tty_state), ser-pipe.c (pipe_print_tty_state,
662         ser-go32.c (dos_print_tty_state, ser-mac.c (mac_print_tty_state,
663         ser-ocd.c (ocd_print_tty_state, ser-e7kpc.c
664         (e7000pc_print_tty_state): Update.
665         * inflow.c (child_terminal_info): Update.
666         * serial.c (serial_print_tty_state): Update.
667
668 Tue Sep 14 11:41:37 1999  Andrew Cagney  <cagney@b1.cygnus.com>
669
670         * serial.c, serial.h, ser-tcp.c, ser-unix.c, ser-pipe.c: Convert
671         all functions to ISO-C.
672         * serial.h, serial.c: Move all indirect macro function calls from
673         serial.h into serial.c.
674         (serial_drain_output, serial_flush_output, serial_flush_input,
675         serial_raw, serial_get_tty_state, serial_set_tty_state,
676         serial_print_tty_state, serial_noflush_set_tty_state,
677         serial_setbaudrate, serial_setstopbits): New functions.
678         (do_serial_close): Rename serial_close.
679         (serial_close, serial_un_fdopen): New functions. Call
680         do_serial_close.
681
682 1999-09-13  James Ingham  <jingham@leda.cygnus.com>
683
684         * symtab.c (decode_line_1): Find the rightmost parenthesis in the
685         expression, not the leftmost.  This allows us to parse function
686         declarations with embedded function prototypes.
687
688 Mon Sep 13 18:39:31 1999  Jeffrey A Law  (law@cygnus.com)
689
690         * pa64solib.c (pa64_sharedlibrary_info_command): Fix typos.
691
692 1999-09-13  Kevin Buettner  <kevinb@cygnus.com>
693
694         * i386-tdep.c (i386_extract_return_value): ifdef'd so that
695         non-linux targets will work again.
696         (i386_do_registers_info, i386_print_register): Revert changes
697         of 1999-09-03; these functions have been removed because they
698         are Linux specific and break non-Linux builds.  This functionality
699         will be restored after FP support unification has been achieved.
700         * i387-tdep.c (i387_print_register, void i387_float_info):
701         Likewise.
702         * config/i386/tm-linux.h (i387_float_info, FLOAT_INFO,
703         DO_REGISTERS_INFO, i386_do_registers_info,
704         i387_print_register):  Likewise.
705
706 1999-09-13  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
707
708         * event-top.c (call_readline): Change to accept gdb_client_data as
709         param.
710         (rl_callback_read_char_wrapper): New function to match what the
711         event loop expects and what readline expects.
712         (change_line_handler): Make call_readline point to
713         rl_callback_read_char_wrapper, instead of rl_callback_read_char.
714         (_initialize_event_loop): Ditto.
715         (gdb_readline2): Change parameter to gdb_client_data.
716         * event-top.h (call_readline, gdb_readline2): Change accordingly.
717
718         * event-loop.c (add_file_handler): Change 2nd par to
719         handler_func*.  No more need for casting.
720         * event-loop.h (create_async_signal_handler): Change accordingly.
721
722         * inferior.h (fetch_inferior_event): Change parameter to void*.
723         * infrun.c (fetch_inferior_event): Ditto.
724
725 1999-09-13  Stan Shebs  <shebs@andros.cygnus.com>
726
727         * infrun.c (step_into_function): New function, broken out from the
728         step_into_function label in handle_inferior_event.
729         (handle_inferior_event): Change a goto into a function call.
730
731 1999-09-13  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
732
733         * event-top.h: New file. All the exported vars and functions from
734         event-top.c.
735
736         * event-loop.h (struct gdb_event, event_handler_func,
737         file_handler, async_signal_handler, SELECT_MASK, fd_mask, NBBY,
738         FD_SETSIZE, howmany, NFDBITS, MASK_SIZE): Move to event-loop.c.
739         (struct prompts, PROMPT, PREFIX, SUFFIX, display_gdb_prompt,
740         async_init_signals, set_async_editing_command,
741         set_async_annotation_level, set_async_prompt, handle_stop_sig,
742         handle_sigint, pop_prompt, push_prompt, gdb_readline2,
743         mark_async_signal_handler_wrapper, async_request_quit,
744         async_command_editing_p, exec_done_display_p,
745         async_annotation_suffix, new_async_prompt, the_prompts,
746         call_readline, input_handler, input_fd): Move to event-top.h.
747         (All function prototypes): Don't use PARAMS anymore.
748
749         * event-loop.c: (struct gdb_event, event_handler_func,
750         file_handler, async_signal_handler, SELECT_MASK, fd_mask, NBBY,
751         FD_SETSIZE, howmany, NFDBITS, MASK_SIZE): Move to here from
752         event-loop.h.
753         Include event-top.h. Remove use of PARAMS. ANSIfy functions headers.
754                 
755         * event-top.c: Include event-top.h. Include "signals.h", not
756         <signals.h>.
757         Remove use of PARAMS. ANSIfy functions headers.
758         (handle_stop_sig): move prototype to event-top.h.
759
760         * remote.c: Include event-top.h. Make it understand
761         async_signal_handler type.
762         * infrun.c: Include event-top.h.
763         * mi-main.c: Ditto.
764         * top.c Ditto.
765         * utils.c: Ditto.
766         
767 Mon Sep 13 18:54:05 1999  Andrew Cagney  <cagney@b1.cygnus.com>
768
769         * gdbarch.sh: Describe each of the fields.
770         
771 Mon Sep 13 17:51:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
772
773         From 1999-09-12 Jim Blandy <jimb@cris.red-bean.com>:
774         * gdbarch.sh (generating setters): Use sed to generate the proper
775         indentation, not tr; tr's behavior is notoriously unportable.
776
777 1999-09-10  Jim Blandy  <jimb@zwingli.cygnus.com>
778
779         * i387-tdep.c (print_387_control_bits): Don't print newline; the
780         callers take care of that.  (Thanks to H.J. Lu.)
781
782 1999-09-09  Stan Shebs  <shebs@andros.cygnus.com>
783
784         * d10v-tdep.c (DMEM_START): Set to 0x2000000.
785         (itrace, iuntrace, info itrace, itdisassemble, itracedisplay,
786         itracesource): Add 'i' prefix to commands, so as not to conflict
787         with generic trace commands.
788
789 1999-09-09  Fernando Nasser  <fnasser@totem.to.cygnus.com>
790
791         * remote.c (_initialize_remote): Fix the specification of the
792         "remote" prefix to set and show commands.
793
794 1999-09-09  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
795
796         * event-loop.c (create_file_event): New function. Creates a gdb
797         event for a given fd.
798         (gdb_wait_for_event): Use create_file_event().  
799         * event-loop.h: export create_file_event().
800
801         * event-loop.c (delete_file_handler): Move the clearing of the
802         mask to later on in the function, because we need it in order to
803         deactivate the correct fd when using select().
804
805         * m32r-tdep.c (decode_prologue): Fix typo. Instructions starting
806         with 0xf are branch instructions.
807         (m32r_scan_prologue): Initialize framesize to 0.
808
809 1999-09-07  J.T. Conklin  <jtc@redback.com>
810
811         * i386-stub.c (exceptionHook, oldExceptionHook): Removed.
812         (handle_exception): Removed #if'd out exception hook code.
813
814         * i386-stub.c, m68k-stub.c (error): Removed unused variable.
815
816         * i386-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c,
817         sparcl-stub.c, sparclet-stub.c (remcomInBuffer, remcomOutBuffer):
818         Make static.
819
820 Tue Sep  7 14:06:22 1999  Kevin Buettner  <kevinb@cygnus.com>
821
822         * config/i386/tm-linux.h (SOFUN_ADDRESS_MAYBE_MISSING): 
823         Define.
824
825 Tue Sep  7 08:18:01 1999  Kevin Buettner  <kevinb@cygnus.com>
826
827         From Jim Blandy <jimb@cygnus.com>:
828         
829         Step into calls to functions in shared libraries properly.  See
830         the comments for SKIP_SOLIB_RESOLVER atop infrun.c for details.
831         * infrun.c (SKIP_SOLIB_RESOLVER): New macro.
832
833 1999-09-05  Fred Fish  <fnf@cygnus.com>
834
835         * elfread.c (elf_symtab_read): Remove separately passed bfd
836         pointer and offset.  Pick up bfd pointer from objfile, and
837         get offset from objfile's section_offsets.
838
839 Fri Sep  3 22:29:39 1999  Kevin Buettner  <kevinb@cygnus.com>
840
841         * config/i386/tm-linux.h (REGISTER_NAMES): Changed register
842         named "foo" to "fopo" which more accurately describes the FPU
843         Operand Pointer Offset.  The real reason for this change, of
844         course, is that many programmers use $foo as a convenience
845         variable and are likely to be unpleasantly surprised to find
846         that they're unwittingly changing the state of their ia32 FPU.
847
848 1999-09-03  Jason Molenda  (jsm@bugshack.cygnus.com)
849
850         * monitor.c (monitor_supply_register): Stop scanning val string
851         if a newline is encountered.
852
853 1999-09-03  Jason Molenda  (jsm@bugshack.cygnus.com)
854
855         monitor.c (TARGET_BUF_SIZE): New macro, defined to 2048.
856         (monitor_expect_regexp, monitor_wait, monitor_dump_reg_block,
857         monitor_dump_reg_block): Dump hard-coded constants in favor
858         of TARGET_BUF_SIZE.
859
860         (readchar): Re-enable output of characters read from monitor when
861         remotedebug is set.
862
863         (monitor_supply_register): Use ULONGEST to hold value.
864         Replace strtoul() call with hand-coded loop to handle values
865         larger than 'long'.
866
867         (monitor_store_register): Use ULONGEST to hold value.
868
869 Fri Sep  3 00:47:44 1999  Kevin Buettner  <kevinb@cygnus.com>
870
871         [Merged linux/x86 floating point code from Bill Metzenthen,
872         Jim Blandy, Anthony Green, H. J. Lu, and possibly others.  The
873         following remarks are Jim Blandy's.]
874
875         * findvar.c (extract_floating): Call TARGET_EXTRACT_FLOATING, if
876         #defined.
877         (store_floating): Call TARGET_STORE_FLOATING, if #defined.
878
879         * i386-tdep.c (i386_print_register, i386_do_registers_info): New
880         functions.
881         (i386_extract_return_value): GNU/Linux returns floating point
882         values in a floating point register too.
883         (set_disassembly_flavor): Add prototype.
884         (i386_extract_return_value): Use FPDATA_REGNUM, not FP0_REGNUM (
885         which wasn't the first FP data register).
886         (i386_do_registers_info): Use FPSTART_REGNUM and FPEND_REGNUM as
887         the limits of the FPU-related registers.
888         (i386_extract_return_value): Tell GDB how to find return values
889         larger than four bytes.  (Thanks to Paul N. Hilfinger for the bug
890         report.)
891
892         * i387-tdep.c (print_387_control_word): Break out bit-splitting into...
893         (print_387_control_bits): New function.
894         (print_387_status_word): Break out bit-splitting into...
895         (print_387_status_bits): New function.
896         (i387_print_register, i387_float_info, i387_hex_float_input): New
897         functions.
898         (i387_extract_floating, i387_store_floating): New functions.
899
900         * valprint.c (print_floating): Use macro TARGET_ANALYZE_FLOATING,
901         if it's #defined.  Tolerate values of `nonnegative' other than
902         zero and one.
903
904         * i386-linux-nat.c: New file.
905         * Makefile.in (ALLDEPFILES): Mention i386-linux-nat.c.
906         (i386-linux-nat.o): New rule, listing dependencies.
907         * config/i386/linux.mh (NATDEPFILES): Use i386-linux-nat.o, not
908         the plain i386v4-nat.o.
909         * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define.
910         * config/i386/xm-linux.h: Define HOST_I386.
911
912         * config/i386/tm-linux.h (FP0_REGNUM): Replaced by...
913         (FPSTART_REGNUM, FPCONTROL_REGNUM, FPSTATUS_REGNUM, FPTAG_REGNUM,
914         FPDATA_REGNUM, FPEND_REGNUM): New definitions.
915         (REGISTER_BYTES): Changed accordingly.
916         (SKIP_SOLIB_RESOLVER): #define this.
917         (i386_linux_skip_solib_resolver): New declaration.
918         (i387_float_info): Added extern decl for this function.
919         (TARGET_EXTRACT_FLOATING, TARGET_STORE_FLOATING,
920         TARGET_ANALYZE_FLOATING): Define.
921         (i387_extract_floating, i387_store_floating): New extern decls.
922         (I386_GNULINUX_TARGET): Define.
923         (NUM_REGS, NUM_FREGS, REGISTER_NAMES, FP0_REGNUM, FPDATA_REGNUM,
924         FPENV_BYTES, FPREG_RAW_SIZE, FPREG_BYTES, REGISTER_BYTES,
925         REGISTER_BYTE, REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE,
926         MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE,
927         TARGET_LONG_DOUBLE_BIT, FLOAT_INFO, DO_REGISTERS_INFO): New
928         definitions, perhaps overriding those inherited from
929         config/i386/tm-i386.h.
930         (i386_do_registers_info, i387_print_register, double_to_i387,
931         i387_to_double): New declarations.
932         (LD_I387): Define iff both the host and target are using i387
933         FPU's.
934         (HEX_FLOAT_INPUT, REGISTER_CONVERTIBLE,
935         REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW,
936         REGISTER_VIRTUAL_TYPE): Define these if LD_I387 is defined.
937
938         * source.c (list_command): List the right number of source lines,
939         even if we're at the top of the file.
940
941 1999-09-02  Stan Shebs  <shebs@andros.cygnus.com>
942
943         * infrun.c (step_over_function): New function, broken out from the
944         step_over_function label in handle_inferior_event.
945         (handle_inferior_event): Change a goto into a function call.
946
947 Thu Sep  2 18:26:04 1999  Andrew Cagney  <cagney@b1.cygnus.com>
948
949         * Makefile.in (GDB_WERROR_CFLAGS, GBB_WARN_CFLAGS): Define.
950         (INTERNAL_CFLAGS): Update
951         * configure.in (WERROR_CFLAGS, WARN_CFLAGS): Sync with
952         ../sim/common/aclocal.m4.
953         * configure: Re-generate.
954         
955 Thu Sep  2 00:27:36 1999  Andrew Cagney  <cagney@b1.cygnus.com>
956
957         * Makefile.in (z8k-tdep.o): For moment, don't try to compile with
958         -Werror.  See Makefile.in.
959         * z8k-tdep.c (z8k_set_pointer_size): Document problem.
960
961         * config/z8k/tm-z8k.h (z8k_print_register_hook, z8k_frame_chain,
962         z8k_saved_pc_after_call, z8k_frame_saved_pc,
963         z8k_set_pointer_size): Declare.
964         (z8k_skip_prologue): Fix typo. Was mz8k_skip_prologue.
965         (FRAME_CHAIN, PRINT_REGISTER_HOOK, FRAME_SAVED_PC,
966         SAVED_PC_AFTER_CALL): Update.
967         * z8k-tdep.c (z8k_print_register_hook): Rename
968         z8k_print_register_hook.
969         (z8k_frame_chain): Rename frame_chain.
970         (z8k_saved_pc_after_call): Rename saved_pc_after_call.
971         (z8k_frame_saved_pc): Rename frame_saved_pc.
972         (z8k_print_register_hook): Fix printf.
973         (read_memory_pointer): Add declaration.
974         ("value.h"): Include.
975         * Makefile.in (z8k-tdep.o): Add dependency on value.h.
976
977         * config/sparc/tm-sparc.h (PRINT_EXTRA_FRAME_INFO): Fix
978         printf. calls
979         * Makefile.in (remote-e7000.o): For moment, don't try to compile
980         with -Werror.  See Makefile.in.
981         * sh-tdep.c (sh_show_regs): Fix printf calls.
982         * xcoffsolib.c (solib_info): Fix Printf calls.
983         * dink32-rom.c: #include "symfile.h" for generic_load and
984         "inferior.h" for write_pc.
985         * Makefile.in (dink32-rom.o): Update.
986
987         * config/mn10300/tm-mn10300.h (mn10300_store_struct_return),
988         config/mn10200/tm-mn10200.h (mn10200_store_struct_return): Add
989         declarations.
990
991 Tue Aug 31 00:48:27 1999  Andrew Cagney  <cagney@amy.cygnus.com>
992
993         * config/mips/tm-tx49el.h (REGISTER_SIM_REGNO): Define.
994
995         * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register):
996         Pass REGISTER_SIM_REGNO converted register number to the
997         simulator.
998
999 1999-09-01  Tom Tromey  <tromey@cygnus.com>
1000
1001         * config/i386/nm-linux.h (PREPARE_TO_PROCEED): Added argument.
1002
1003 1999-09-01  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1004
1005         * values.c (value_virtual_fn_field): Remove unused var(s).
1006         * thread.c (prune_threads): Ditto.
1007         * symtab.c (lookup_transparent_type): Ditto.
1008         (decode_line_1): Ditto.
1009         (make_symbol_overload_list): Ditto. 
1010         * rs6000-tdep.c (frame_get_saved_regs): Ditto.
1011         (set_processor): Ditto.
1012         * remote.c (remote_remove_breakpoint): Ditto.
1013         (remote_query): Ditto.
1014         (readtty): Ditto.
1015         * remote-sds.c (sds_fetch_registers): Ditto.
1016         (putmessage): Ditto.
1017         * ppcbug-rom.c (ppcbug_supply_register): Ditto.
1018         (ppcbug_open): Remove unused prototype.
1019         * parse.c (parse_nested_classes_for_hpacc): Remove unused var(s).
1020         * ocd.c (ocd_open): Ditto.
1021         (ocd_get_packet): Ditto.
1022         * monitor.c (monitor_error): Ditto.
1023         (monitor_wait_srec_ack): Ditto.
1024         * main.c (main): Ditto.
1025         * gdbtypes.c (count_virtual_fns): Ditto.
1026         * exec.c (exec_file_command): Ditto.
1027
1028         * event-top.c: Include handle_sigwinch() function prototype within
1029         appropriate #ifdef.
1030
1031         * eval.c (evaluate_subexp_standard): Remove unused variable.
1032         (evaluate_subexp_standard): Remove unused variables.
1033         * dink32-rom.c (dink32_supply_register): Remove unused variable.
1034         * dbxread.c (elfstab_build_psymtabs): Ditto.
1035         * command.c (do_setshow_command): Ditto.
1036         * breakpoint.c (solib_load_unload_1): Remove unused variables 'i'
1037         and 'sal'.
1038         (until_break_command): Remove unused variables 'arg1' and 'arg2'.
1039         (create_exception_catchpoint): Remove unused variable 'i'.
1040         * ax-gdb.c (gen_sub): Remove unused variable.
1041         (_initialize_ax_gdb): Ditto.
1042
1043         * ser-pipe.c (pipe_readchar): If timeout is expired return
1044         SERIAL_TIMEOUT.
1045         * ser-tcp.c (tcp_readchar): If timeout is expired return
1046         SERIAL_TIMEOUT.
1047
1048 Wed Sep  1 15:07:25 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1049
1050         * version.h: New file.
1051         * Makefile.in (version_h): Define.
1052         (version.o): Add target.
1053
1054         * remote-array.c: #include "version.h".
1055         (version): Delete extern declarations.
1056         * Makefile.in (remote-array.o): Add dependency on version.h.
1057
1058         * top.c: #include "version.h".
1059         (version, host_name, target_name): Delete extern declarations.
1060         * Makefile.in (top.o): Add dependency on version.h.
1061
1062         * remote.c (remote_remove_watchpoint, remote_insert_watchpoint),
1063         remote-array.c (array_open), remote-mips.c (send_srec),
1064         dve3900-rom.c (store_bitmapped_register): Fix Printfs.
1065
1066         * mips-tdep.c (mips_print_extra_frame_info, print_unpack),
1067         m32r-rom.c (m32r_load_section), m32r-tdep.c (m32r_frame_chain),
1068         dsrec.c (load_srec): Fix printf problems.
1069         
1070 Wed Sep  1 13:16:49 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1071
1072         * Makefile.in (monitor.o): For moment, don't try to compile with
1073         -Werror.  monitor.c has -Wformat problems.  See Makefile.in for
1074         more info.
1075
1076 Tue Aug 31 21:23:38 1999  Jeffrey A Law  (law@cygnus.com)
1077
1078         * hppa-tdep.c (prologue_inst_adjust_sp): Correct offset computation
1079         for doubleword store instructions.
1080         (hppa_frame_find_saved_regs): Similarly.
1081
1082 Wed Sep  1 09:22:50 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1083
1084         * d30v-tdep.c (d30v_print_register): 
1085         (tdisassemble_command): 
1086
1087         * d10v-tdep.c (show_regs, trace_info, tdisassemble_command): Fix
1088         printf problems.
1089
1090         * remote-sim.c (dump_mem), remote-rdi.c (arm_rdi_create_inferior):
1091         Fix printf arguments.
1092
1093         * remote-mips.c, mips-tdep.c: Move declaration of
1094         ``mips_set_processor_type_command'' from here.
1095         * config/mips/tm-mips.h: To here.
1096         * remote-array.c: #include "inferior.h".
1097         * config/mips/tm-embed.h (remote_mips_stopped_by_watchpoint): Add
1098         declaration.
1099         * remote-mips.c (remote_mips_stopped_by_watchpoint): Define using
1100         ISO-C prototype.
1101         (monitor_supports_breakpoints): Integer variable.
1102
1103         * m32r-rom.c: #include "inferior.h" and <ctype.h>
1104         * config/m32r/tm-m32r.h (m32r_write_sp): Add declaration.
1105
1106         * config/i960/tm-i960.h (leafproc_return, i960_pop_frame): Add
1107         declaration.
1108         (POP_FRAME): Call i960_pop_frame.
1109         * i960-tdep.c (i960_pop_frame): Rename pop_frame.
1110         * mon960-rom.c: #include "inferior.h" for declaration of write_pc.
1111
1112 1999-08-15  Fred Fish  <fnf@cygnus.com>
1113
1114         * objfiles.c (objfile_relocate): Use SIZEOF_SECTION_OFFSETS when
1115         allocating section_offsets array.
1116         * remote-os9k.c (rombug_wait): Ditto.
1117         * remote-vx.c (vx_add_symbols): Ditto.
1118         * remote.c (get_offsets): Ditto.
1119         (remote_cisco_objfile_relocate): Ditto.
1120         * rs6000-nat.c (vmap_symtab): Ditto.
1121
1122         * dstread.c (dst_symfile_offsets): Set section_offsets directly instead
1123         of returning a pointer to section offsets.
1124         * somread.c (som_symfile_offsets): Ditto.
1125         * xcoffread.c (xcoff_symfile_offsets): Ditto.
1126         * symfile.c (default_symfile_offsets): Ditto.
1127         (syms_from_objfile): The sym_offsets function has already set section
1128         offsets and no longer returns a value.
1129
1130         * xcoffread.c (scan_xcoff_symtab): Eliminate section_offsets passed
1131         separate from objfile.
1132         (xcoff_start_psymtab): Ditto.
1133         (START_PSYMTAB): Ditto.
1134         * os9kread.c (read_minimal_symbols): Ditto.
1135         (read_os9k_psymtab): Ditto.
1136         (os9k_start_psymtab): Ditto.
1137         (record_minimal_symbol): Ditto.
1138         * dbxread.c (START_PSYMTAB): Ditto.
1139         (start_psymtab): Ditto.
1140         * mdebugread.c (START_PSYMTAB): Ditto.
1141         (elfmdebug_build_psymtabs): Ditto.
1142         (mdebug_build_psymtabs): Ditto.
1143         (parse_partial_symbols): Ditto.
1144         (new_psymtab): Ditto.
1145         * dwarfread.c (dwarf_build_psymtabs): Ditto.
1146         * partial-stab.h (START_PSYMTAB): Ditto.
1147         * stabsread.h (start_psymtab): Ditto.
1148         * dwarf2read.c (dwarf2_build_psymtabs): Ditto.
1149         (dwarf2_build_psymtabs_easy): Ditto.
1150         (dwarf2_build_psymtabs_hard): Ditto.
1151         * hp-psymtab-read.c (hpread_build_psymtabs): Ditto.
1152         (hpread_quick_traverse): Ditto.
1153         (hpread_start_psymtab): Ditto.
1154         (scan_procs): Ditto.
1155         * hpread.c (hpread_build_psymtabs): Ditto.
1156         * symfile.h (dwarf2_build_psymtabs): Ditto.
1157
1158         * dbxread.c (read_dbx_symtab): Use ANOFFSET to access section
1159         offsets.
1160         * core-cisco.c (get_seg_info): Make static.
1161         * coffread.c (enter_linenos): Pass objfile instead of section
1162         offsets.
1163         * jv-vm.c (jv_vm_internal_lookup_symbol): Call allocate_objfile
1164         with the right number of arguments.
1165
1166         * dbxread.c (dbx_symfile_read): No need to explicitly pass
1167         text addr and size.  Let read_dbx_symtab find them.
1168         (read_dbx_symtab): Get text addr and size from objfile.
1169         (dbx_symfile_read): Remove dead code (call to strlen);
1170         
1171 1999-08-31  Michael Snyder  <msnyder@cleaver.cygnus.com>
1172
1173         * Makefile.in: add rule for sol-thread.o.
1174         Add rule for linux-thread.o.
1175
1176 1999-08-13  Jim Kingdon  <kingdon@redhat.com>
1177
1178         Threads code from gdb 4.18-codefusion-990706
1179         [Thanks to Eric Paire, H. J. Lu, Jim Blandy and others]
1180         * infrun.c (signal_stop_update, signal_print_update,
1181         signal_pass_update): new functions.
1182         * inferior.h: new prototypes for above functions.
1183         * target.h (enum strata): add thread stratum.
1184         * linux-thread.c: new file.  Support for debugging linux threads.
1185         * config/i386/nm-linux.h: several new prototypes for above.
1186         * config/i386/linux.mh: add linux-thread.o to NATDEPFILES.
1187
1188         More threads code from the same place:
1189         * config/i386/tm-linux.h (REALTIME_LO, REALTIME_HI): Add
1190         definitions.
1191         * target.h (enum target_signal): Add TARGET_SIGNAL_REALTIME_32.
1192         * target.c (signals, target_signal_from_host,
1193         target_signal_to_host): Add clauses for
1194         TARGET_SIGNAL_REALTIME_32.
1195         
1196 1999-08-31  Neil Schellenberger <neil.schellenberger@crosskeys.com>
1197
1198         * sol-thread.c (sol_thread_detach): strip thread-id out of 
1199         inferior_pid, so that procfs_detach can't choke on it.
1200
1201 1999-08-31  J.T. Conklin  <jtc@redback.com>
1202
1203         * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c,
1204         sparcl-stub.c, sparclet-stub.c (getpacket): Remove 'buffer' arg,
1205         define it as a pointer to &remcomInBuffer[0].
1206         (handle_exception): Update.
1207
1208         * sparc-stub.c, sparcl-stub.c, sparclet-stub.c (handle_exception):
1209         Removed #ifdef'd out code which implements the non-standard 'b'
1210         (set baud rate) command.
1211
1212 1999-08-31  Stan Shebs  <shebs@andros.cygnus.com>
1213
1214         * infrun.c (keep_going): New function, broken out from the
1215         keep_going label in handle_inferior_event.
1216         (handle_inferior_event): Change more gotos into function calls.
1217
1218 Tue Aug 31 02:29:27 1999  Jeffrey A Law  (law@cygnus.com)
1219
1220         * hppa-tdep.c (read_unwind_info): Handle multiple unwind sections.
1221
1222 Tue Aug 31 15:28:44 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1223
1224         * config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Fix printf
1225         format argument.
1226         * alpha-tdep.c (heuristic_proc_start): Ditto.
1227
1228         From Stan Shebs <shebs@andros.cygnus.com>:
1229         * defs.h (strlen_paddr): Fix prototype - add void argument list.
1230
1231 Tue Aug 31 14:02:12 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1232
1233         * defs.h (gdb_print_host_address), utils.c
1234         (gdb_print_host_address): Rename gdb_print_address.
1235
1236         * expprint.c, gdbtypes.c, symmisc.c: Update.
1237
1238         *expprint.c: Use gdb_print_host_address when displaying native
1239         pointers.
1240
1241 Sat Aug 28 14:23:29 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1242
1243         * scm-valprint.c (scm_ipruk), jv-valprint.c (java_value_print),
1244         cp-valprint.c (cp_print_class_member), exec.c (exec_files_info),
1245         remote.c (putpkt_binary, compare_sections_command,
1246         remote_cisco_section_offsets), dcache.c (dcache_info),
1247         breakpoint.c (break_at_finish_at_depth_command_1,
1248         break_at_finish_command_1), symfile.c (generic_load),
1249         (report_transfer_performance), top.c (get_prompt_1), f-valprint.c
1250         (f_val_print), maint.c (maintenance_translate_address): Fix printf
1251         -Wformat warnings.  Use paddr, paddr_nz, sizeof_paddr, paddr_u and
1252         paddr_d to print addresses. Change ``d'' to ``ld''.
1253
1254         * utils.c (strlen_paddr): New function.
1255         
1256 Tue Aug 31 01:36:44 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1257
1258         * config/d30v/tm-d30v.h (d30v_frame_chain,
1259         d30v_init_frame_pc): Add declaration.
1260
1261         * arc-tdep.c (arc_pop_frame): Rename pop_frame.
1262         (arc_push_dummy_frame): Rename push_dummy_frame.
1263         (arc_set_cpu_type_command): Add declaration.
1264         
1265         * config/arc/tm-arc.h (arc_pop_frame, arc_push_dummy_frame): Add
1266         declaration.
1267         
1268 1999-08-30  Stan Shebs  <shebs@andros.cygnus.com>
1269
1270         * infrun.c (prepare_to_wait): New function, broken out from the
1271         wfi_continue label in handle_inferior_event.
1272         (handle_inferior_event): Change more gotos into function calls.
1273
1274 1999-08-30  Michael Snyder  <msnyder@cleaver.cygnus.com>
1275
1276         * tracepoint.c: -Wall warning cleanup. 
1277         (parse_and_eval_memrange): remove (unused).
1278         (output_command, args_info, locals_info, registers_info): add decls.
1279         (getpkt, putpkt, remote_console_output): add decls.
1280         (isalnum, isspace): cast arg to avoid warning.
1281         (printf, fprintf, sprintf): use [fs]printf_vma for printing addrs.
1282         
1283 Mon Aug 30 21:47:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1284
1285         * d10v-tdep.c: #include "language.h".
1286
1287 Mon Aug 30 20:38:57 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1288
1289         * configure.in (AC_CHECK_HEADERS): Check for <time.h>.
1290         * configure, acconfig.in: Re-generate.
1291
1292         * remote-rdp.c: #include <time.h>
1293
1294         * config/arm/tm-arm.h (arm_float_info): Add declaration.
1295
1296         * arm-tdep.c (convert_from_extended, convert_to_extended): Change
1297         double ptr arg to void ptr arg.
1298
1299         * config/arm/tm-arm.h (arm_frameless_function_invocation): Add
1300         declaration.
1301         (arm_frame_find_saved_regs): Rename frame_find_saved_regs.
1302         (convert_from_extended, convert_to_extended): Add declaration.
1303
1304 Mon Aug 30 19:05:32 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1305
1306         * configure.in (WERR_CFLAGS): Separate the -Werror flag.
1307         * configure: Re-generate.
1308
1309         * Makefile.in (INTERNAL_CFLAGS): Re-define using
1310         INTERNAL_WARN_CFLAGS.
1311         (INTERNAL_WARN_CFLAGS): Define.  Leave off WERR_CFLAGS.
1312         (tracepoint.o): Add explicit rule.
1313         (WERR_CFLAGS): Add definition.
1314
1315 Mon Aug 30 17:52:17 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1316
1317         * utils.c: #include "event-loop.h" for declaration of
1318         async_request_quit.
1319         * Makefile.in (utils.o): Add dependency on event-loop.h.
1320
1321         * event-top.c (mark_async_signal_handler_wrapper,
1322         async_request_quit): Move declaration from here.
1323         * event-loop.h: To here.
1324         
1325         * defs.h: Add declaration of exec.c:exec_set_section_offsets.
1326
1327         * event-top.c: #include "gdbcmd.h" which includes "command.h" and
1328         hence expose declaration of function dont_repeat.
1329
1330         * top.c (ISATTY), tracepoint.c (ISATTY), utils.c (ISATTY),
1331         event-top.c (ISATTY): Move definitions from here.
1332         * defs.h (ISATTY): To here. #include <unistd.h>.
1333
1334         * sol-thread.c, solib.c, source.c, sparcl-tdep.c, tracepoint.c,
1335         utils.c, win32-nat.c, wince.c, top.c, symfile.c, ser-unix.c,
1336         ser-tcp.c, procfs.c, maint.c, infttrace.c, hppa-tdep.c,
1337         ser-pipe.c, remote-rdp.c, main.c, inftarg.c, inflow.c,
1338         hpux-thread.c, hp-psymtab-read.c, go32-nat.c, fork-child.c,
1339         corelow.c, command.c: Do not #include <unistd.h>, moved to defs.h.
1340
1341 Mon Aug 30 15:14:43 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1342
1343         * defs.h (struct tui_stream, enum streamtype): Move from here.
1344         * utils.c: To here.
1345
1346         * main.c (tui_file_fputs): Move from here.
1347         * utils.c: To here.
1348
1349 Sun Aug 29 10:03:32 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1350
1351         * gdb-events.h, gdb-events.c, gdb-events.sh: New files.
1352
1353 1999-08-27  Michael Snyder  <msnyder@cleaver.cygnus.com>
1354
1355         * solib.c (open_symbol_file_object): new function.
1356         Called when attaching to a new process, if there is no loaded
1357         symbol file.  Attempts to locate the executable file for the
1358         attached process and load symbols from it.
1359         (solib_add): Call open_symbol_file_object if attaching to a
1360         new process and no open symbol file.    
1361
1362 1999-08-27  Jason Molenda  (jsm@bugshack.cygnus.com)
1363
1364         * config/i386/tm-sun386.h (GDB_TARGET_IS_SUN386): Definition
1365         removed--no longer checked anywhere in gdb.
1366
1367 1999-08-27  Stan Shebs  <shebs@andros.cygnus.com>
1368
1369         * infrun.c (stop_stepping): New function, broken out from
1370         stop_stepping label in handle_inferior_event.
1371         (handle_inferior_event): Change gotos into function calls.
1372
1373 Fri Aug 27 20:13:22 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1374
1375         * defs.h (LONGEST): Move definition to earlier in file - to just
1376         after BFD.
1377         (paddr_u, paddr_d): Declare.
1378         * utils.c (decimal2str): New function.
1379         (paddr_u, paddr_d): Define.
1380
1381         * remote.c (remote_cisco_section_offsets,
1382         compare_sections_command): Fix XprintfX arguments.  Use paddr...
1383         (putpkt_binary): Fix XprintfX arguments.
1384
1385 Tue Aug 24 21:30:36 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1386
1387         * arm-tdep.c (arm_init_extra_frame_info): Add braces.  Recommended
1388         by gcc -Wparentheses.
1389
1390 1999-08-26  Stan Shebs  <shebs@andros.cygnus.com>
1391
1392         * infrun.c (check_sigtramp2): New function, broken out from
1393         check_sigtramp2 label in handle_inferior_event.
1394         (handle_inferior_event): Change gotos into function calls.
1395
1396         Declare Tahoe configuration obsolete.
1397         * configure.host, configure.tgt: Comment out Tahoe configs.
1398         * Makefile.in: Comment out Tahoe-related action.
1399         * tahoe-tdep.c, config/tahoe/*: Comment out.
1400         * NEWS: Mention obsolete status.
1401
1402 1999-08-26  J.T. Conklin  <jtc@redback.com>
1403
1404         * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sh-stub.c,
1405         sparc-stub, sparcl-stub.c sparclet-stub.c (getpacket): If '$',
1406         the packet start character is received in the 'middle' of a 
1407         packet, assume that packet end character has been lost and
1408         start a new packet.
1409
1410         * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c,
1411         sparcl-stub.c sparclet-stub.c (getpacket): Changed to return ptr
1412         to first character of input buffer.  Removed & 0x7f masks.
1413         (handle_exception): Don't access remcomInBuffer directly.
1414
1415 1999-08-25  Stan Shebs  <shebs@andros.cygnus.com>
1416
1417         * breakpoint.c (disable_breakpoints_in_shlibs): Only disable
1418         enabled breakpoints.
1419
1420 Tue Aug 24 14:59:23 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1421
1422         * tracepoint.c, remote.c, pa64solib.h, value.h, somsolib.h,
1423         solib.h, scm-lang.h, language.h, inferior.h, defs.h, coff-solib.h,
1424         ch-lang.h, breakpoint.h, annotate.h: Remove #if __STDC__ wrapping
1425         struct declarations.
1426
1427         * config/sparc/nm-sun4sol2.h, config/mn10300/tm-mn10300.h,
1428         config/mn10200/tm-mn10200.h, config/i386/tm-i386.h,
1429         config/i386/tm-i386v.h, config/i386/nm-i386sol2.h,
1430         config/pa/nm-hppah.h, config/rs6000/nm-rs6000.h,
1431         config/sparc/tm-sp64.h, config/v850/tm-v850.h,
1432         config/tic80/tm-tic80.h, config/sparc/tm-sparc.h,
1433         config/sh/tm-sh.h, config/rs6000/tm-rs6000.h, config/pa/tm-hppa.h,
1434         config/mips/tm-mips.h, config/m68k/tm-m68k.h,
1435         config/m32r/tm-m32r.h, config/i960/tm-mon960.h,
1436         config/fr30/tm-fr30.h, config/h8300/tm-h8300.h,
1437         config/arm/tm-arm.h, config/alpha/tm-alpha.h,
1438         config/a29k/tm-a29k.h: Ditto.
1439
1440 Wed Aug 25 10:45:33 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1441
1442         * Makefile.in (gdb$(EXEEXT)): Add dependency on TDEPLIBS.
1443
1444         * config/arm/arm.mt (TDEPLIBS): Define.  Move libangsd.a to here.
1445         (TDEPFILES): From here.
1446
1447 1999-08-24  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1448
1449         * top.c (init_main): Add new set/show command exec-done-display,
1450         default value is off.
1451         * event-loop.h: Export exec_done_display_p.
1452         * event-top.c: New variable exec_done_display_p.
1453         * infrun.c (complete_execution): Print completion message if
1454         corresponding flag is set.
1455
1456         * top.c (DEFAULT_PROMPT): Add space after "(gdb)" at end of prompt.
1457
1458         From: J.T. Conklin  <jtc@redback.com> 
1459         * top.c (DEFAULT_PROMPT): Set to "(gdb)" if not already defined.
1460         (init_main): Always use DEFAULT_PROMPT.
1461
1462 Tue Aug 24 03:23:31 1999  Jeffrey A Law  (law@cygnus.com)
1463
1464         * hppa-tdep.c: Remove useless "purecov: deadcode" comments.
1465         (hppa_use_struct_convention): Update for PA64.
1466         (hppa_frame_saved_pc): Properly extract the saved PC in a call
1467         dummy frame.
1468         (in_solib_call_trampoline): Return nonzero if we are in a function
1469         called ".stub".
1470         (prologue_inst_adjust_sp): Handle std,ma.
1471         (skip_prologue_hard_way): Handle more PA2.0/PA64 insns.
1472         (hppa_frame_find_saved_regs): Similarly.  Handle indirect save of
1473         %r3 into the stack.
1474
1475         * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Define.
1476         (CALL_DUMMY_BREAKPOINT_OFFSET): Define.
1477
1478 Tue Aug 24 14:59:23 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1479
1480         * Makefile.in (gdb$(EXEEXT)): Add dependency on main.o that was
1481         lost when libgdb.a was added.
1482
1483 Tue Aug 24 14:26:34 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1484
1485         * gdbarch.c, gdbarch.h: Convert to pure ISO-C.
1486         
1487         * gdbarch.sh: New file.
1488         * gdbarch.c, gdbarch.h: Add note describing gdbarch.sh
1489
1490 Mon Aug 23 19:36:17 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1491
1492         * Makefile.in (libgdb.a): New target.
1493         (gdb$(EXEEXT)): Add dependency on libgdb.a.
1494         (libgdb-files, LIBGDB_OBS, libgdb, LIBGDBDEPS, LIBGDBFILES): Delete.
1495
1496 Mon Aug 23 10:16:32 1999  Jeffrey A Law  (law@cygnus.com)
1497
1498         * infttrate.c (child_pid_to_exec_file): Find the correct base
1499         of the stack for PA64.
1500
1501         * pa64solib.c: Fix some minor whitespace problems.
1502         (bfd_lookup_symbol): New function.
1503         (pa64_solib_create_inferior_hook): Find the address __dld_break
1504         in the dynamic linker.  Try to set a shlib event breakpoint in
1505         that function.
1506         (add_to_solist): Do not add the same shared library to the shlib
1507         list more than once.
1508
1509 Sun Aug 22 14:49:40 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1510
1511         * value.h (enum lval_type): Move declaration from here.
1512         * defs.h (enum lval_type): To here.
1513         * frame.h, gdbarch.h: Delete incomplete declaration of ``enum
1514         lval_type''.
1515         
1516 1999-08-20  Michael Snyder  <msnyder@cleaver.cygnus.com>
1517
1518         * breakpoint.c (can_use_hardware_watchpoint): reject expressions
1519         that refer to registers or register variables.
1520
1521 Fri Aug 20 10:53:38 1999  Jeffrey A Law  (law@cygnus.com)
1522
1523         * hppa-tdep.c (hppa_fix_call_dummy): Provide PA2.0W aware code.
1524
1525         * pa64solib.c pa64solib.h: New files.
1526
1527         * config/pa/hppa64.mt: Delete commented out code that is and
1528         never will be appropriate for this target.
1529         * config/pa/hpux11w.mt (TDEPFILES): Remove SOM references.  Also
1530         remove pa64solib.o.
1531         * config/pa/hpux11w.mh (NATDEPFILES): Remove SOM references.
1532
1533         * configure.host; Use "hpux11w" and "hpux11" instead of
1534         "hpux1100w" and "hpux1100" respectively
1535         * config/pa/hpux11w.mh: Renamed from hpux1100w.mh.
1536         * config/pa/hpux11w.mt, config/pa/hpux11.mh: Likewise.
1537         * config/pa/hpux11.mt: Likewise.
1538
1539 1999-08-19  Michael Snyder  <msnyder@cleaver.cygnus.com>
1540
1541         * breakpoint.h (target_hw_bp_type): new enum.
1542         * breakpoint.c (insert_breakpoints): use enum instead of consts.
1543         (remove_breakpoint): use enum instead of consts.
1544         (throughout): use "warning" instead of "fprintf(stderr, ..."
1545         [Also clean up a bunch of excessively long lines.]
1546         
1547 1999-08-19  J.T. Conklin  <jtc@redback.com>
1548
1549         * i386-stub.c (waitabit): Removed.
1550         (breakpoint): Update.
1551
1552         * i386-stub.c, m32r-stub.c, sparc-stub.c, sparcl-stub.c,
1553         sparclet-stub.c (set_debug_traps): Don't send gratuitous ACK.
1554
1555         * m68k-stub.c (putpacket): Restore code so that packets are sent
1556         until an ACK is received.
1557
1558 1999-08-19  Eli Zaretskii  <eliz@is.elta.co.il>
1559
1560         * breakpoint.c (bpstat_stop_status): Accept triggered addresses
1561         anywhere inside the region occupied by a watched variable as a
1562         sign that the watchpoint fired.  Don't stop if some watchpoint
1563         was triggered, but its address doesn't match the address of this 
1564         watchpoint.
1565         (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New macro.
1566         Default definition is to call TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT.
1567         (can_use_hardware_watchpoint): Call TARGET_REGION_OK_FOR_HW_WATCHPOINT;
1568         if it returns zero, return zero immediately. 
1569         (insert_breakpoints): Try to insert watchpoints for all the values
1570         on the value chain, even if some of them fail to insert.  Remove
1571         the breakpoint if parts of its value chain couldn't be inserted.
1572         
1573 1999-08-19  Eli Zaretskii  <eliz@is.elta.co.il>
1574
1575         * go32-nat.c (go32_stopped_by_watchpoint): Remove unused code.
1576
1577 1999-08-19  Eli Zaretskii  <eliz@is.elta.co.il>
1578
1579         * go32-nat.c (tcgetpgrp, tcsetpgrp): New functions.
1580
1581 1999-08-19  Eli Zaretskii  <eliz@is.elta.co.il>
1582
1583         * go32-nat.c (go32_wait): If we are in a single-step mode, and the
1584         next instruction is INT nn or INTO, use a temporary breakpoint to
1585         simulate single-step mode, and reset the trace flag.
1586
1587 1999-08-19  Eli Zaretskii  <eliz@is.elta.co.il>
1588
1589         * go32-nat.c (wp_op): New typedef.
1590         (SHOW_DR): Print the length of watched region as well.
1591         (go32_insert_aligned_watchpoint): Remove unused argument PID.  All
1592         callers and the prototype changed.
1593         (go32_handle_nonaligned_watchpoint): Renamed from
1594         go32_insert_nonaligned_watchpoint.  Now handles all operations on
1595         non-aligned watchpoints: insertion, deletion, and counting.  If
1596         called with wp_count as the first argument, return the count of
1597         debug registers needed to watch the region.  Don't break out of
1598         the loop before all the addresses in the region are processed.
1599         (go32_remove_watchpoint): Call go32_remove_aligned_watchpoint to
1600         do the actual work.
1601         (go32_remove_aligned_watchpoint): New function, modeled after
1602         go32_insert_aligned_watchpoint.  Removes watchpoints that watch
1603         regions of arbitrary length by calling
1604         go32_handle_nonaligned_watchpoint as needed.
1605         (go32_region_ok_for_watchpoint): New function, called from
1606         can_use_hardware_watchpoint via the new macro
1607         TARGET_REGION_OK_FOR_HW_WATCHPOINT.
1608
1609         * config/i386/nm-go32.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT):
1610         Define to call go32_region_ok_for_watchpoint.
1611         (DECR_PC_AFTER_HW_BREAK): Define back to zero (previous redefinition
1612         to 1 was due to a bug in go32-nat.c).
1613
1614 1999-08-19  Eli Zaretskii  <eliz@is.elta.co.il>
1615
1616         * go32-nat.c (cleanup_dregs): New function.
1617         (go32_mourn_inferior): Call it.
1618         (IS_REG_FREE, LOCAL_ENABLE_REG, GLOBAL_ENABLE_REG, DISABLE_REG,
1619         SET_BREAK, SET_WATCH, IS_WATCH, WATCH_HIT): Protect arguments with
1620         parentheses.
1621         (SET_BREAK): Increment the debug register's reference count.
1622         (DR_DEF): New macro, returns the access and length bits of the
1623         breakpoint.
1624         (SHOW_DR): Print the reference count of each register.  Disable or
1625         enable print-out depending on an environment variable GDB_SHOW_DR.
1626         (go32_insert_aligned_watchpoint): Look for an occupied debug
1627         register with the same address and access/length bits, and reuse
1628         it by incrementing reference the count, before occupying another
1629         register.  Return zero upon success.
1630         (go32_insert_nonaligned_watchpoint): Pass the read/write bits to
1631         go32_remove_watchpoint.
1632         (go32_remove_watchpoint): Accept an additional parameter: the
1633         read/write bits of the watchpoint to remove, and only remove a
1634         watchpoint if it's occupied and its address and read/write bits
1635         match.  Only disable the register if its reference count is zero;
1636         otherwise just decrease the reference count.
1637         (go32_remove_hw_breakpoint): Only decrease reference count and
1638         disable the debug register if it is occupied and its access bits
1639         match those of an instruction breakpoint.
1640         (go32_insert_hw_breakpoint): Before occupying another debug
1641         register, look for an already occupied register that defines an
1642         instruction breakpoint with the same address.  If found, increment
1643         its reference count.  Call SHOW_DR even if failed to insert a
1644         breakpoint.
1645
1646         * config/i386/nm-go32.h (target_remove_watchpoint): Accept the
1647         TYPE argument as well.
1648
1649 Wed Aug 18 17:47:25 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1650
1651         * mips-tdep.c: Add more comments.
1652
1653 1999-08-17  Stan Shebs  <shebs@andros.cygnus.com>
1654
1655         * blockframe.c: Don't use PARAMS anymore, remove obsolete comment
1656         about frameless functions.
1657
1658 1999-08-16  Michael Snyder  <msnyder@cleaver.cygnus.com>
1659
1660         * thread.c (delete_thread): delete any step_resume breakpoint
1661         held by the thread.  (prune_threads): call delete_thread.
1662         * breakpoint.c (breakpoint_init_inferior): if startup, then
1663         delete any remaining step_resume breakpoints.
1664         * infrun.c (handle_inferior_event): add cautionary comment.
1665
1666 1999-08-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
1667
1668         * remote.c (remote_async_mourn): New function. Async version of
1669         remote_mourn().
1670
1671 1999-08-16  Eli Zaretskii  <eliz@is.elta.co.il>
1672
1673         * terminal.h [__GO32__]: Remove conditional; DJGPP now supports
1674         termios.
1675
1676 1999-08-16  Eli Zaretskii  <eliz@is.elta.co.il>
1677
1678         * command.c (CANT_FORK) [__MSDOS__]: Define.
1679         (shell_escape) [CANT_FORK]: If ARG is NULL, pass an empty string
1680         to `system'.
1681         [__DJGPP__]: Return to the original directory after the shell
1682         exits.
1683
1684 1999-08-16  Eli Zaretskii  <eliz@is.elta.co.il>
1685
1686         * config/i386/xm-go32.h (ROOTED_P): Don't reference X[1] if X[0]
1687         is a null character.
1688
1689         * config/i386/nm-go32.h (DECR_PC_AFTER_HW_BREAK): Define to 1.
1690
1691 1999-08-16  Eli Zaretskii  <eliz@is.elta.co.il>
1692
1693         * go32-nat.c (redir_cmdline_parse, redir_cmdline_delete,
1694         redir_to_child, redir_to_debugger, redir_debug_init)
1695         [__DJGPP_MINOR__ < 3]: Dummy stubs for redirecting debuggee's
1696         standard handles.
1697         (print_387_status): Print "last FP instruction", not "last
1698         exception".  Restore the upper 5 bits of the opcode that aren't
1699         stored in the FPU state.  Print the FPU stack in its physical
1700         order, not relative to ST(0).  Print "special", not "trap" for
1701         unnormals and infinities.  Print all 10 bytes of each FP register,
1702         and print them with 19 significant digits.
1703         (regno_mapping): Make the mapping consistent with tm-go32.h.
1704         (sig_map): Add mappings for SIGQUIT, SIGFPE, SIGALRM.  Map NMI to
1705         SIGBUS.
1706         (excep_map): New variable, maps GDB signals to DJGPP exceptions.
1707         (go32_attach): Signal an error: we cannot attach to other
1708         processes.
1709         (go32_resume): Record the signal with which the inferior should be
1710         resumed, mapped to the DJGPP exception number.
1711         (go32_wait): Pass the signal recorded in go32_resume to the
1712         debuggee.  Save and restore debugger's and debuggee's current
1713         working directory.
1714         [__DJGPP_MINOR__ < 3]: Save and restore inferior's FPU state.
1715         (store_register): FPU regsiters have numbers less than 31.
1716         (go32_kill_inferior): Delete the parsed command-line storage.
1717         (go32_create_inferior): Initialize the parsed command-line
1718         storage.  Parse the command line and create the redirections for
1719         inferior's standard handles.
1720         [__DJGPP_MINOR__ < 3]: Init the inferior's FPU state.
1721         (ignore2): Function deleted.
1722         (device_mode): New function, switches a character device between
1723         raw and cooked mode.
1724         (go32_terminal_init): Invalidate the raw/cooked mode information.
1725         (go32_terminal_info): Print whether the inferior's terminal is in
1726         raw or cooked mode.
1727         [__DJGPP_MINOR__ > 2]: Say if standard handles are redirected or
1728         closed by the inferior.
1729         (go32_terminal_inferior): Switch standard handles to the
1730         inferior's files/devices.  Put the inferior's input device to
1731         raw/cooked mode, exactly like we found it last time.
1732         (go32_terminal_ours): Restore debugger's standard handles and put
1733         the terminal into cooked mode.  Save the mode of inferior's input
1734         device.
1735         (init_go32_ops): Assign go32_ops.to_attach,
1736         go32_ops.to_terminal_info, go32_ops.to_terminal_ours_for_output.
1737         Initialize inferior's cwd and the command-line storage.
1738
1739 Mon Aug 16 14:29:30 1999  Jeffrey A Law  (law@cygnus.com)
1740
1741         * config/pa/tm-hppa.h (ARGS_GROW_DOWNWARD): Define.
1742         * config/pa/tm-hppa64.h (ARGS_GROW_DOWNWARD): Undefine.
1743         * hppa-tdep.c (hppa_push_arguments): Handle arguments growing in
1744         both directions depending ARGS_GROW_DOWNWARD.
1745         (hppa_find_saved_regs): Update for 64bit wide registers & pointers
1746         and PA64 ABI. 
1747
1748         * hppa-tdep.c (hppa_pop_frame): Various fixes for 64bit wide
1749         registers and pointers.
1750         (hppa_fix_call_dummy, skip_trampoline_code): Likewise.
1751         (restore_pc_queue): Update tests for width of memory loads.
1752         (hppa_push_arguments): Delete version that was #if 0'd out.
1753
1754         * hppa-tdep.c (push_dummy_frame): Handle the new 64it ABI.
1755         (find_dummy_frame_regs): Corresponding changes.
1756
1757         * hppa-tdep.c (read_unwind_info): Initialize obj_private->dp.
1758         (internalize_unwinds): Improve test for when to use segment
1759         relative code for unwinder bounds.
1760         (rp_saved): Fix offset of saved return pointer for the 64bit ABI.
1761         (hppa_frame_saved_pc): Various updates to handle 64bit registers
1762         and pointers.
1763         (frame_chain, restore_pc_queue): Likewise.
1764
1765         * hppa-tdep.c (rp_saved): RP is saved at frame-16 when
1766         pointers are 64bits wide.
1767
1768         * hppa-tdep.c (record_text_segment_lowaddr): New function.
1769         (internalize_unwinds): Use it if addressess are 8 bytes wide. 
1770
1771         * symfile.c (syms_from_objfile): No longer warn if the lowest
1772         section does not have SEC_CODE set.
1773
1774         * Makefile.in (pa64solib.o): Add dependencies.
1775
1776         * hppah-nat.c (store_inferior_registers): Do not try to write a
1777         nonzero value to the high part of IPSW.  Fix typo in unable to store
1778         warning.
1779
1780         * config/pa/tm-hppa.h (opd_data structure): Delete.  Not actually
1781         needed.
1782         (struct obj_private_struct): Add new entry for the objfile's DP
1783         value.
1784         * config/pa/tm-hppa64.h (CALL_DUMMY): Add a nop to make it an even
1785         number of instructions.  Pack the dummy into word sized hunks.
1786         (CALL_DUMMY_LENGTH): Update appropriately.
1787         (PC_IN_CALL_DUMMY, CALL_DUMMY_LOCATION_AFTER_TEXT_END): Delete.
1788
1789 Mon Aug 16 19:08:19 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1790
1791         * configure.in: Try -lsocket when looking for socketpair.
1792         * configure, config.h: Re-generate.
1793
1794 1999-08-13  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1795
1796         From Christopher Faylor <cgf@cygnus.com>:
1797         
1798         * event-loop.c (gdb_wait_for_event): Before going to wait for
1799         another event with select or poll, flush the error and the output
1800         streams.
1801
1802         * event-top.c (gdb_readline2): Do not buffer the input, because
1803         doing so can interfere with select/poll in bad ways.
1804
1805 Fri Aug 13 17:36:56 1999  Eli Zaretskii  <eliz@is.elta.co.il>
1806
1807         * maint.c (maintenance_dump_me) [__DJGPP__]: Simulate a core dump
1808         with SIGABRT.
1809         * utils.c (quit) [__MSDOS__]: Don't mention SIGINT, since it's not
1810         gonna happen.
1811         (notice_quit): No need to define this function for the DJGPP port.
1812
1813 1999-08-13  James Ingham  <jingham@leda.cygnus.com>
1814
1815         * arm-tdep.c (arm_frameless_function_invocation): SKIP_PROLOGUE
1816         macro no longer modifies its argument.  Update uses to accord.
1817
1818         * config/arm/arm.mt (TDEPFILES): Add the remote-rdi.o to the
1819         TDEPFILES.
1820         * configure.tgt: Add rdi-share to configdir for the Arm targets.
1821
1822 Fri Aug 13 11:16:32 1999  Jeffrey A Law  (law@cygnus.com)
1823
1824         * hppah-nat.c (store_inferior_registers): Revamp to be PA2.0W
1825         aware.
1826
1827         * infttrace.c (ttrace_write_reg_64): New function.
1828
1829         * hp-symtab-read.c (is_in_import_list): Delete extern declaration.
1830         * somread.c (is_in_import_list): Delete function.
1831         * objfiles.c (is_in_import_list): New function.
1832         * objfiles.h (is_in_import_list): Declare.
1833
1834         * config/pa/tm-hppa64.h (GDB_TARGET_IS_HPPA20W): Define before
1835         including tm-hppah.h.
1836         (PC_IN_CALL_DUMMY): Define.
1837         (HPUX_1100): Similarly.
1838         * config/pa/tm-hppa.h (somsolib.h, pa64solib.h): Conditionalize
1839         includes on GDB_TARGET_IS_HPPA20W.
1840
1841         * configure.host: Distinguish between wide and narrow modes
1842         for hpux11.
1843         * config/pa/hpux1100w.mh, config/pa/hpux1100w.mt: New files.
1844
1845         * config/pa/tm-hppa64.h (STACK_ALIGN): Redefine.
1846         (REG_PARM_STACK_SPACE): Likewise.
1847
1848         * config/pa/tm-hppa.h (CLEAN_UP_REGISTER_VALUE): Handle 64bit
1849         PA target correctly.
1850         (REG_PARM_STACK_SPACE): Define.
1851         (struct unwind_table_entry): region_start and region_end are
1852         CORE_ADDRs.
1853         (typedef opd_data): New.
1854         (obj_private_data_t): Include pointer to opd_data structure.
1855
1856 1999-08-13  Keith Seitz  <keiths@cygnus.com>
1857
1858         * stabsread.c (stabsread_clear_cache): New funciton which clears
1859         an optimization cache of the reader.
1860
1861         * coffread.c (coff_symfile_finish): Give stabs reader a chance to
1862         clean up.
1863
1864         * win32-nat.c (handle_load_dll): Don't suppress re-reading symbols
1865         from a DLL if an objfile for it already exists. (Not that this should
1866         happen anymore anyway...)
1867
1868 1999-08-13  Keith Seitz  <keiths@cygnus.com>
1869
1870         * config/mcore/tm-mcore.h (SAVE_DUMMY_FRAME_TOS): Define for MCore,
1871         which also requires that the stack pointer be saved for call
1872         dummies BEFORE arguments get pushed onto it.
1873
1874 1999-08-12  Stan Shebs  <shebs@andros.cygnus.com>
1875
1876         From Eli Zaretskii  <eliz@is.elta.co.il>:
1877         * source.c (mod_path) [_WIN32 || __DJGPP__]: Don't remove trailing
1878         slash from "d:/".  Don't overstep the beginning of name.
1879         [_WIN32 || __MSDOS__]: Convert "d:" to "d:.", otherwise appending
1880         a slash changes its meaning.
1881         (openp): Use SLASH_P, not equality with SLASH_CHAR.
1882         (print_source_lines_base) [CRLF_SOURCE_FILES]: Skip \r only before
1883         a \n.
1884         (forward_search_command) [CRLF_SOURCE_FILES]: Remove \r at the end
1885         of all lines.
1886         (reverse_search_command) [CRLF_SOURCE_FILES]: Likewise.
1887
1888         * gnu-regex.c (CHAR_CLASS_MAX_LENGTH): Don't use wide characters
1889         unless HAVE_BTOWC is defined.
1890
1891 Fri Aug 13 10:20:12 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1892
1893         From J.T. Conklin <jtc@redback.com>:
1894         * gdbinit.in: Change the template .gdbinit to match the recent
1895         fatal error handling change.
1896
1897 1999-08-11  Keith Seitz  <keiths@cygnus.com>
1898
1899         * maint.c (maintenance_internal_error): Fix typo in prototype.
1900
1901 Wed Aug 11 15:38:05 1999  Andrew Cagney  <cagney@amy.cygnus.com>
1902
1903         * remote.c (remote_rcmd): Pass an empty command across to the
1904         target.  Check for and handle an ``Enn'' return status.
1905
1906 Tue Aug 10 13:59:45 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1907
1908         * maint.c (_initialize_maint_cmds): Add ``maintenance
1909         internal-error'' command.
1910         (maintenance_internal_error): New function.
1911
1912 1999-08-10  James Ingham  <jingham@leda.cygnus.com>
1913
1914         * top.c: Remove the disassembly_flavor_hook, use the new set_hook
1915         instead. 
1916         * defs.h: Ditto.
1917         * arm-tdep.c (set_disassembly_flavor_sfunc):  Ditto.
1918
1919 1999-08-10  Michael Snyder  <msnyder@cleaver.cygnus.com>
1920
1921         * config/i386/nm-i386sol2.h (FIND_NEW_THREADS): remove, obsolete.
1922         * config/sparc/nm-sun4sol2.h (FIND_NEW_THREADS): remove, obsolete.
1923                 
1924 1999-08-10  J.T. Conklin  <jtc@redback.com>
1925
1926         * configure.tgt (i[3456]86-*-aout*, i[3456]86-*-coff*,
1927         i[3456]86-*-elf*): Use embed.mt.
1928         * config/i386/embed.mt: New file.
1929
1930 1999-08-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
1931
1932         * remote.c (remote_async_open_1): Remove casting in call to
1933         add_file_handler.
1934         (extended_remote_async_create_inferior): Ditto.
1935
1936         * event-top.c (change_line_handler): Ditto.
1937         (_initialize_event_loop): Ditto.
1938
1939         * infrun.c (complete_execution): Ditto.
1940
1941         * event-loop.c (add_file_handler): Change proc parameter to be ptr
1942         to func with void parameter, rather than void*. Coerce second
1943         paramter in calls to create_file_handler. Replace
1944         async_handler_func and file_handler_func with handler_func.
1945
1946         * event-loop.h: Get rid of typedefs for file_handler_func and
1947         async_handler_func, just have one, and call it handler_func.
1948         Replace async_handler_func and file_handler_func occurrences with
1949         handler_func.
1950
1951 Tue Aug 10 03:13:03 1999  Jeffrey A Law  (law@cygnus.com)
1952
1953         * hppa-tdep.c: Delete random #if 0 code.
1954         (is_branch): Handle new branching opcodes from PA2.0
1955         (inst_saves_gr, inst_saves_fr): Handle additional instructions
1956         used to save general and floating point registers in the stack.
1957         (skip_prologue_hard_way): Handle additional instructions to
1958         save the return pointer in the stack.
1959         (after_prologue): Fix mis-guided and incorrect code to find
1960         the end of the prologue using debug symbols.
1961         (hppa_skip_prologue): Generally clean up comments, lose code
1962         which does not apply to the PA, etc.
1963
1964 Sun Aug  8 17:53:41 1999  Andrew Cagney  <cagney@amy.cygnus.com>
1965
1966         * MAINTAINERS: Make Andrew Cagney the mn10300 maintainer.
1967         Transfer responsibility for the PowerPC from Andrew Cagney to
1968         Elena Zannoni.
1969
1970 Tue Aug 10 13:59:45 1999  Andrew Cagney  <cagney@b1.cygnus.com>
1971
1972         Based on code from J.T. Conklin <jtc@redback.com>:
1973         * utils.c (internal_error): Make quit? and coredump? separate
1974         questions so that the user can dump-core and not quit.
1975         (internal_error): Cleanup error message.
1976
1977 1999-08-09  Tom Tromey  <tromey@cygnus.com>
1978
1979         * kod-cisco.c (cisco_kod_open): Removed incorrect `arg' argument.
1980
1981 Sun Aug  8 12:06:47 1999  Fred Fish  <fnf@cygnus.com>
1982
1983         * coffread.c (process_coff_symbol): Remove section_offsets from
1984         prototype and function definition.  Get section_offsets from the
1985         passed objfile and pass it on to callees the same way.
1986         (coff_symtab_read): Ditto.
1987         (coff_symfile_read): Ditto.
1988         * dbxread.c (read_dbx_dynamic_symtab): Ditto.
1989         (read_dbx_symtab): Ditto.
1990         (dbx_symfile_read): Ditto.
1991         (coffstab_build_psymtabs): Ditto.
1992         (elfstab_build_psymtabs): Ditto.
1993         (stabsect_build_psymtabs): Ditto.
1994         * dstread.c (dst_symfile_read): Ditto.
1995         * elfread.c (elf_symfile_read): Ditto.
1996         * jv-class.c (jv_class_symfile_read): Ditto.
1997         * mipsread.c (mipscoff_symfile_read): Ditto.
1998         * nlmread.c (nlm_symfile_read): Ditto.
1999         * os9kread.c (os9k_symfile_read): Ditto.
2000         * somread.c (som_symfile_read): Ditto.
2001         * stabsread.h (elfstab_build_psymtabs): Ditto.
2002         * xcoffread.c (xcoff_initial_scan): Ditto.
2003
2004         * symfile.h (sym_read): Remove section_offsets from prototype.
2005         * symfile.c (syms_from_objfile): Call sym_read without
2006         section_offsets.
2007         (reread_symbols): Ditto.
2008
2009         * elfread.c (elfstab_offset_sections): Use SIZEOF_SECTION_OFFSETS
2010         to allocate sections offsets array.
2011         * xcoffread.c (xcoff_symfile_offsets): Ditto.
2012
2013         * partial-stab.h (section_offsets): Get from objfile.
2014         * dbxread.c (read_dbx_symtab): Fix typo that made -1 casted
2015         to a CORE_ADDR look like an subtraction expression.
2016         * objfiles.h: Add some comments.
2017         * symfile.c: Add some comments.
2018         * objfiles.c: Add some comments.
2019         (objfile_relocated): Use ALL_OBJFILE_OSECTIONS to iterate over
2020         sections.
2021         (find_pc_sect_sections): Use ALL_OBJSECTIONS to iterate over all
2022         sections in all objfiles.
2023         * symfile.c (syms_from_objfile): Use ALL_OBJFILE_OSECTIONS.
2024
2025         * irix5-nat.c (symbol_add_stub): Fix typo that made taking the
2026         address of lowest_sect with '&' look like a bitwise and op.
2027         * osfsolib.c (symbol_add_stub): Ditto.
2028         * solib.c (symbol_add_stub): Ditto.
2029         * symfile.c (syms_from_objfile): Ditto.
2030
2031         * dwarf2read.c (dwarf2_build_psymtabs_hard): Minor format tweak.
2032         * symfile.c (syms_from_objfile): Ditto, and fix typo.
2033         * top.c (init_main): Fix typo in comment (DEFULAT_PROMPT).
2034         * doc/gdbint.texinfo (find_sym_fns): This replaces symfile_init.
2035
2036 1999-08-08  James Ingham  <jingham@leda.cygnus.com>
2037
2038         * remote.c (remote_insert_breakpoint): Fix typo in Z packet support. 
2039         Also move Z packet support OUTSIDE of REMOTE_BREAKPOINT ifdef,
2040         since this is not set for all targets that support the Z packet.
2041
2042 Fri Aug  6 17:17:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2043
2044         * defs.h (fatal): Delete declaration.
2045         (internal_error): Declare.
2046         * utils.c (nomem): Call internal_error instead of fatal.
2047         (fatal_dump_core): Delete.
2048         (malloc_botch): Print message direct to stderr.
2049         (fatal): Delete definition.
2050         * utils.c (internal_error): Define.
2051         
2052         * gdbarch.h, gdbarch.c, hppah-nat.c, ch-exp.c, dsrec.c, sh-tdep.c,
2053         infptrace.c, f-lang.c, symm-nat.c, top.c, m3-nat.c, v850-tdep.c,
2054         remote-vx.c, remote-sim.c, remote-mips.c, source.c, infcmd.c,
2055         findvar.c, remote.c: Replace fatal with call to internal_error.
2056
2057 Sun Aug  8 15:28:33 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2058
2059         * ser-pipe.c (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Move
2060         definition from here.
2061         * defs.h: To here.
2062         
2063 Sat Aug  7 21:44:59 1999  Fred Fish  <fnf@cygnus.com>
2064
2065         * remote.c (remote_insert_breakpoint): Fix typo, missing ';'.
2066
2067 Sun Aug  8 11:26:57 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2068
2069         * mips-tdep.c (mips_gdbarch_init): Add break; to the default case.
2070
2071 Fri Aug  6 19:26:03 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2072
2073         * defs.h: Delete #if ANSI_PROTOTYPES code, GDB assumes ISO-C.
2074         * remote-rdp.c (send_rdp), remote-os9k.c (printf_monitor),
2075         remote-mips.c: (mips_error), remote-array.c: (printf_monitor,
2076         debuglogs), complaints.c (complain), monitor.c:
2077         (monitor_printf_noecho, monitor_printf), language.c (type_error,
2078         range_error), remote-st.c: (printf_stdebug), remote-sim.c
2079         (gdb_os_printf_filtered, gdb_os_vprintf_filtered,
2080         gdb_os_evprintf_filtered, gdb_os_error), serial.c (serial_printf),
2081         utils.c (warning, error, fatal, fatal_dump_core, (query,
2082         fprintf_filtered, fprintf_unfiltered, fprintfi_filtered,
2083         printf_filtered, printf_unfiltered, printfi_filtered): Delete
2084         legacy #ifndef ANSI_PROTOTYPES varargs code.
2085
2086         * defs.h: Don't #include <varargs.h>.
2087         * remote-rdp.c, remote-os9k.c, remote-mips.c, remote-array.c,
2088         monitor.c, remote-st.c: Don't include <varargs.h> or <stdarg.h>.
2089
2090 1999-08-06  James Ingham  <jingham@leda.cygnus.com>
2091
2092         * configure.in, configure: add the --enable-multi-ice to determine 
2093         whether to configure and build the multi-ice-gdb-server.  Note,
2094         for now this only builds on cygwin, so don't enable it for other
2095         platforms... 
2096
2097 1999-08-06  Tom Tromey  <tromey@cygnus.com>
2098
2099         * Makefile.in (SFILES): Added kod.c and kod-cisco.c.
2100         (COMMON_OBS): Added kod.o and kod-cisco.o.
2101         (kod-cisco.o): New target.
2102         (kod.o): New target.
2103         * kod-cisco.c: New file.
2104         * kod.c: New file.
2105
2106 1999-08-06  James Ingham  <jingham@leda.cygnus.com>
2107
2108         These are some fixups for the Arm, and support for the
2109         disassembly-flavor for the ARM.
2110         
2111         * defs.h: Declare the disassembly_flavor_hook
2112         * top.c: Define the disassembly_flavor_hook
2113         * i386-tdep.c: Remove unnecessary declaration of the
2114         disassembly_flavor_hook.
2115
2116         * config/arm/tm-arm.h: Change definition of
2117         arm_init_extra_frame_info.
2118         Add a few more comments.
2119         * arm-tdep.c (arm_init_extra_frame_info): Listen to and use the
2120         fromleaf parameter passed into init_extra_frame_info.
2121         (set_disassembly_flavor_sfunc): New Function.
2122         (set_disassembly_flavor): New Function.
2123         (arm_othernames): Use the set_disassembly_flavor.
2124         (_initialize_arm_tdep): Setup the disassembly flavor commands, and 
2125         initialize the flavor.
2126         (arm_frameless_function_invocation): Adjust for
2127         frameless functions that have 1 or 2 instructions that mimic the
2128         standard APCS form.
2129         (arm_scan_prologue): Be more careful about scanning the function
2130         prologue.  Don't match things that just have a few of the prologue 
2131         instructions out of order, and don't get thrown by the scheduler
2132         migrating instructions into the prologue.
2133
2134         Add support for the "Z" and "z" packets to request the stub
2135         to set a breakpoint.
2136         
2137         * remote.c (set_remote_protocol_Z_packet_cmd): New function.
2138         (show_remote_protocol_Z_packet_cmd): New Function.
2139         (remote_open_1): Init the Z packet config.
2140         (remote_async_open_1): Init the Z packet config.
2141         (remote_insert_breakpoint): Use the "Z" packet if supported.
2142         (remote_remove_breakpoint): Use the "z" packet if supported.
2143         (remote_insert_watchpoint): New Function - currently wired to
2144         nothing. 
2145         (remote_remove_watchpoint): Ditto.
2146         (remote_insert_hw_breakpoint): Ditto.
2147         (remote_remove_hw_breakpoint): Ditto.
2148
2149 1999-08-06  Stan Shebs  <shebs@andros.cygnus.com>
2150
2151         * infcmd.c: Include parser-defs.h.
2152         (interrupt_target_command): Declare.
2153         (stack_dummy_testing): Remove old funky flag.
2154         (run_stack_dummy): Remove unused reference to old funky flag.
2155
2156 1999-08-06  Tom Tromey  <tromey@cygnus.com>
2157
2158         * command.c (do_setshow_command): Call set_hook if not NULL.
2159         * top.c (set_hook): New hook definition.
2160         * defs.h (set_hook): Declare.
2161
2162 1999-08-05  Stan Shebs  <shebs@andros.cygnus.com>
2163
2164         * infrun.c: Convert code to pure standard C, elim some warnings.
2165         (stopped_for_shlib_catchpoint): Remove, never used.
2166
2167 1999-08-05  Keith Seitz  <keiths@cygnus.com>
2168
2169         * NEWS: Mention new Motorola MCore target.
2170
2171         * sparc-tdep.c (gdb_print_insn_sparc): Print insns of the current
2172         architecture.
2173
2174 Thu Aug  5 20:41:22 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2175
2176         * configure.in (configdirs): Add check for socketpair.
2177         * configure, config.in: Re-generate.
2178
2179         From Mon Jul 19 10:46:18 1999 Philippe De Muyter <phdm@macqel.be>:
2180         * ser-pipe.c (sys/wait.h): Include this file only #if HAVE_SYS_WAIT_H.
2181         (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Macros defined if needed.
2182
2183 Thu Aug  5 20:04:17 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2184
2185         * target.c (debug_to_open, debug_to_attach, debug_to_post_attach,
2186         debug_to_require_attach, debug_to_detach, debug_to_require_detach,
2187         debug_to_wait, debug_to_post_wait, debug_to_fetch_registers,
2188         debug_to_store_registers, debug_to_prepare_to_store,
2189         debug_to_xfer_memory, debug_to_files_info,
2190         debug_to_insert_breakpoint, debug_to_remove_breakpoint,
2191         debug_to_terminal_init, debug_to_terminal_inferior,
2192         debug_to_terminal_ours_for_output, debug_to_terminal_ours,
2193         debug_to_terminal_info, debug_to_kill, debug_to_load,
2194         debug_to_lookup_symbol, debug_to_create_inferior,
2195         debug_to_post_startup_inferior,
2196         debug_to_acknowledge_created_inferior,
2197         debug_to_clone_and_follow_inferior,
2198         debug_to_post_follow_inferior_by_clone,
2199         debug_to_insert_fork_catchpoint, debug_to_remove_fork_catchpoint,
2200         debug_to_insert_vfork_catchpoint,
2201         debug_to_remove_vfork_catchpoint, debug_to_has_forked,
2202         debug_to_has_vforked, debug_to_can_follow_vfork_prior_to_exec,
2203         debug_to_post_follow_vfork, debug_to_insert_exec_catchpoint,
2204         debug_to_remove_exec_catchpoint, debug_to_has_execd,
2205         debug_to_reported_exec_events_per_exec_call,
2206         debug_to_has_syscall_event, debug_to_has_exited,
2207         debug_to_mourn_inferior, debug_to_can_run,
2208         debug_to_notice_signals, debug_to_thread_alive, debug_to_stop,
2209         debug_to_query, debug_to_rcmd, debug_to_enable_exception_callback,
2210         debug_to_get_current_exception_event, debug_to_pid_to_exec_file,
2211         debug_to_core_file_to_sym_file, debug_to_close): Send trace output
2212         to ``gdb_stdlog'' instead of ``gdb_stderr''.
2213
2214 Thu Aug  5 16:22:10 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2215
2216         * remote.c (init_remote_ops): Initialize remote_ops.to_rcmd.
2217         (init_remote_async_ops): Initialize remote_async_ops.to_query.
2218         (remote_rcmd): New function.
2219
2220         * monitor.c (monitor_rcmd): Rename monitor_command.
2221         (init_base_monitor_ops): Initialize monitor_ops.to_rcmd.
2222         (_initialize_remote_monitors): Move "monitor" command from here.
2223         * target.c (initialize_targets): To here.
2224         (monitor_command): New function.  Implement "monitor" command.
2225
2226         * target.c (cleanup_target): de_fault to_rcmd.
2227         (update_current_target): INHERIT to_rcmd.
2228         (debug_to_rcmd): New function.
2229         (setup_target_debug): Initialize current_target.to_rcmd.
2230
2231         * target.h (struct target_ops): Add field to_rcmd.
2232         (target_rcmd): Define.
2233
2234 Thu Aug  5 14:24:07 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2235
2236         * remote.c: Replace comment describing remote protocol with
2237         pointer to official document.
2238         
2239 Thu Aug  5 11:59:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2240
2241         * remote.c (remote_protocol_binary_download): New variable.
2242         Replace ``remote_binary_download'' and ``remote_binary_checked''.
2243         (set_remote_protocol_binary_download_cmd,
2244         show_remote_protocol_binary_download_cmd): New functions.
2245         (remote_open_1, remote_async_open_1, remote_cisco_open):
2246         Initialize ``remote_protocol_binary_download'' instead of
2247         ``remote_binary_download''.
2248         (check_binary_download): Re-write.
2249         (remote_write_bytes): Ditto.
2250         (_initialize_remote): Add ``set remote X-packet'' and ``show
2251         remote X-packet'' commands.  Disable old ``set
2252         remotebinarydownload'' command.
2253
2254 1999-08-04  Keith Seitz  <keiths@cygnus.com>
2255
2256         * remote-rdi.c (arm_rdi_close): Close the transport device, too.
2257
2258 Wed Aug  4 10:42:58 1999  Fred Fish  <fnf@cygnus.com>
2259
2260         * xcoffread.c (scan_xcoff_symtab): Change main_aux into
2261         an array of 5 internal_auxent to leave room for bfd to
2262         write n_numaux entries.  Change code to use the first one.
2263
2264 1999-08-02  Stan Shebs  <shebs@andros.cygnus.com>
2265
2266         * c-valprint.c (c_val_print): When printing decimal equivalent
2267         of a char, cast appropriately.
2268
2269 1999-08-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
2270
2271         From Jonathan Larmour <jlarmour@cygnus.co.uk>:
2272         * main.c (print_gdb_help): Use gdbinit variable to determine file
2273         name used for --nx help
2274
2275 1999-08-01  Jason Molenda  (jsm@bugshack.cygnus.com)
2276
2277         * config/mips/tm-mips.h (BIG_ENDIAN): Don't define here.
2278
2279 1999-08-01  Jim Blandy  <jimb@zwingli.cygnus.com>
2280
2281         * stabsread.c (read_range_type): Handle an unsigned range type
2282         whose length in bytes is any power of two, not just a few
2283         common ones.
2284
2285         * monitor.c (monitor_expect): When we receive a character that
2286         isn't part of the string we were expecting, don't just start
2287         matching again at the beginning of the string --- some shorter
2288         suffix of the input might be a prefix of the string too.
2289
2290 1999-07-31  Fred Fish  <fnf@cygnus.com>
2291
2292         * symfile.c (symbol_file_command): Fix typo that made -1 casted
2293         to a CORE_ADDR look like an subtraction expression.
2294         (add_symbol_file_command): Ditto.
2295
2296 1999-07-30  Jim Blandy  <jimb@cris.red-bean.com>
2297
2298         * hppa-tdep.c (pa_print_registers): Frob register output some more.
2299
2300 1999-07-29  Jim Blandy  <jimb@cris.red-bean.com>
2301
2302         * config/pa/nm-hppah.h (PTRACE_ARG3_TYPE): After more
2303         consideration, make this a CORE_ADDR, like WDB did. 
2304
2305         Rather than casting every single use of really_free_pendings to 
2306         make_cleanup_func, why not actually make it have that type?  Golly!
2307         * buildsym.c (really_free_pendings): Change argument type to PTR.
2308         buildsym.h (really_free_pendings): Fix declaration.
2309         * dbxread.c (dbx_symfile_read, dbx_psymtab_to_symtab_1),
2310         dwarf2read.c (psymtab_to_symtab_1), dwarfread
2311         (psymtab_to_symtab_1), hp-psymtab-read.c (hpread_build_psymtabs),
2312         os9kread.c (os9k_symfile_read, os9k_psymtab_to_symtab_1),
2313         xcoffread.c (xcoff_psymtab_to_symtab_1, xcoff_initial_scan):
2314         Remove casts.
2315
2316         Pass a CORE_ADDR safely through catch_errors.
2317         * hppa-tdep.c (args_for_find_stub): New member, return_val.
2318         (cover_find_stub_with_shl_get): Change argument and return type to
2319         match catch_errors.  Save return value of find_stub_with_shl_get
2320         in *args.
2321         (initialize_hp_cxx_exception_support): Collect value of
2322         eh_notify_callback_addr from args. 
2323
2324         Get rid of some noise.  It would be nice to get helpful warnings
2325         from the compiler about lossy conversions.
2326         * hppa-tdep.c (eh_notify_hook_addr, eh_notify_callback_addr,
2327         eh_break_addr, eh_catch_catch_addr, eh_catch_throw_addr,
2328         break_callback_sal): Initialize these to zero, not NULL, to shush
2329         warnings.
2330         * infttrace.c (thread_fake_step): Compare signal to
2331         TARGET_SIGNAL_0, not NULL, to avoid warnings.
2332         (_initialize_infttrace): Add sanity check.
2333
2334         * config/pa/nm-hppah.h (PTRACE_ARG3_TYPE): Define this to be
2335         long, so we can pass arguments properly to ptrace.
2336
2337         * hppah-nat.c (child_xfer_memory): Correctly compute mask to round
2338         address to an int boundary.
2339
2340 1999-07-29  Jim Blandy  <jimb@savonarola.red-bean.com>
2341
2342         Change from Ian Lance Taylor <ian@zembu.com>.  The
2343         i386_linux_sigtramp* functions should be moved to
2344         i386-linux-tdep.c, when that file is introduced.
2345
2346         * config/i386/tm-linux.h (LINUX_SIGCONTEXT_SIZE): Define.
2347         (LINUX_SIGCONTEXT_PC_OFFSET): Define.
2348         (LINUX_SIGCONTEXT_SP_OFFSET): Define.
2349         (SIGCONTEXT_PC_OFFSET): Don't define.
2350         (I386_LINUX_SIGTRAMP): Define.
2351         (IN_SIGTRAMP): Define.
2352         (i386_linux_sigtramp): Declare.
2353         (sigtramp_saved_pc): Define.
2354         (i386_linux_sigtramp_saved_pc): Declare.
2355         (FRAMELESS_SIGNAL): Define.
2356         (FRAME_CHAIN, FRAME_SAVED_PC): Define after #undef.
2357         * i386-tdep.c (i386_linux_sigtramp_start): New static function if
2358         I386_LINUX_SIGTRAMP.
2359         (i386_linux_sigtramp): New function if I386_LINUX_SIGTRAMP.
2360         (i386_linux_sigtramp_saved_pc): Likewise.
2361         (i386_linux_sigtramp_saved_sp): Likewise.
2362
2363 1999-07-28  Jim Blandy  <jimb@savonarola.red-bean.com>
2364
2365         * infrun.c (handle_inferior_event): Don't try to use the code for
2366         stepping over a function call to also handle stepping out of a
2367         sigtramp on HP-UX.  That ends up trashing step-resume breakpoints.
2368         This change reverts some of David Taylor's change of 31 Dec 1998.
2369         The HP-UX maintainer needs to submit a new change for whatever
2370         problem the original change was trying to fix.
2371
2372 1999-07-28  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
2373
2374         * event-top.c (command_line_handler): Don't treat an empty line
2375         from readline the same way as a multiline command. This avoids
2376         missing detecting when the user presses just 'enter'.
2377
2378 1999-07-28  Jim Blandy  <jimb@savonarola.red-bean.com>
2379
2380         Provide more sanity checking:
2381         * infrun.c (handle_inferior_event): Before assigning a new
2382         breakpoint to step_resume_breakpoint, make sure it's not already
2383         pointing at one; if it is, that's a bug.
2384         (check_for_old_step_resume_breakpoint): New function.
2385
2386 1999-07-28  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
2387
2388         From Eli Zaretskii  <eliz@is.elta.co.il>:
2389         * top.c (gdb_init) [__MSDOS__]: Arrange for GDB to return to the
2390         original directory before exiting.
2391         (cd_command) [_WIN32 || __MSDOS__]: Canonicalize the new directory
2392         name explicitly.  Handle "d:/" names correctly.
2393         (init_history) [__MSDOS__]: Use _gdb_history as the default GDB
2394         history file name.
2395
2396 Mon Jul 26 17:13:39 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2397
2398         * remote.c (enum packet_support, enum packet_detect, struct
2399         packet_config): Define.
2400         (set_packet_config_cmd, show_packet_config_cmd,
2401         add_packet_config_cmd, init_packet_config): New functions.
2402         Generic support for optional packets.
2403         (remote_protocol_P): Replace stub_supports_P.
2404         (set_remote_protocol_P_packet_cmd, show_remote_protocol_P_packet_cmd):
2405         New functions.
2406         (_initialize_remote): Add ``set remote-protocol-P-packet'' command.
2407         (remote_open_1, remote_async_open_1, remote_cisco_open):
2408         Initialize ``remote_protocol_P''.
2409         (remote_store_registers): Re-write ``P'' probe logic.
2410         (store_register_using_P): New function.
2411
2412         From Ian Lance Taylor <ian@airs.com>:
2413         (remote_prepare_to_store): Only read registers when ``P'' packet
2414         is in state unsupported or support-unknown.
2415         
2416 1999-07-24  Fred Fish  <fnf@cygnus.com>
2417
2418         * symfile.c (default_symfile_offsets): Clear section_offsets
2419         before filling it in.
2420
2421 1999-07-16  Keith Seitz  <keiths@cygnus.com>
2422
2423         * remote.c (_initialize_remote): "remotebreak" should be a var_boolean.
2424
2425 1999-07-15  Jim Blandy  <jimb@cris.red-bean.com>
2426         
2427         Make the output from "info registers" fit withinin 80 columns.
2428         * hppa-tdep.c (pa_print_registers): Make it easy to change row and
2429         column counts.  Switch to three columns, instead of four, and
2430         adjust spacing.
2431
2432         First cut at supporting HPPA2.0 in "wide" (64-bit) mode.
2433         * configure.tgt: Add hppa2.0w target.
2434         * config/pa/hppa64.mt, config/pa/tm-hppa64.h: New files.
2435         * hppa-tdep.c (hppa_fix_call_dummy): Dyke out code to tweak the
2436         call dummy, if target is PA2.0w.  This is temporary, until I get
2437         function calls working.
2438         * hppah-nat.c (fetch_register): Rewritten to handle both narrow
2439         and wide register requests.
2440         (HPPAH_OFFSETOF): New macro.
2441
2442         * gdbtypes.c (is_integral_type): New function.
2443         * gdbtypes.h: Prototype for above.
2444
2445 1999-07-15  J.T. Conklin  <jtc@redback.com>
2446
2447         * configure.tgt (i[3456]86-*-vxworks*): New target.
2448         * config/i386/vxworks.mt: New file, x86 VxWorks target
2449         * config/i386/tm-vxworks.h: New file.
2450
2451         * configure.tgt (powerpc-*-vxworks*): New target.
2452         * config/powerpc/vxworks.mt: New file, PowerPC VxWorks target
2453         * config/powerpc/tm-vxworks.h: New file.
2454
2455         * NEWS: Mention the new configs.
2456
2457 1999-07-15  Fernando Nasser  <fnasser@cygnus.com>
2458
2459         * target.c (target_preopen): Prevent query when not from_tty.
2460         * infcmd.c (run_command): Prevent query when not from_tty.
2461
2462 1999-07-15  Fernando Nasser  <fnasser@cygnus.com>
2463
2464         * event-loop.c: Fix typo in comment.
2465
2466 Wed Jul 14 17:29:31 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2467
2468         * ser-pipe.c (struct pipe_state): Define.
2469         (pipe_close): Retain the PID of the sub-process using ``struct
2470         pipe_state''.  Delete #ifdef code that used popen().
2471         (pipe_close): Kill of the sub-process as part of the cleanup.
2472
2473         * serial.h (struct _serial_t): Add field ``state''.
2474
2475 1999-07-13  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
2476
2477         * event-top.c (display_gdb_prompt): Don't display the prompt if we
2478         are in the middle of an execution command. Also trick readline so
2479         it doesn't try to display the prompt.
2480         (command_line_handler): Get rid of change_prompt, unused variable.
2481         Use {push, pop}_prompt mechanism in case of multiline commands.
2482
2483         * infrun.c (complete_execution): Set target_executing to 0 as
2484         first thing, so that display_gdb_prompt does the right thing.
2485
2486 Tue Jul 13 20:29:46 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2487
2488         * parse.c (build_parse): Fix conditional increment of num_std_regs
2489         for SP_REGNUM. Was conditional on FP_REGNUM.
2490
2491 Tue Jul 13 16:44:58 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2492
2493         * gdbarch.h, gdbarch.c: Revert 1999-07-07 Stan Shebs
2494         <shebs@andros.cygnus.com> indentation change.  Don't let indent
2495         mess with these files.
2496
2497 Mon Jul 12 11:15:09 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2498
2499         * config/mips/tm-mips.h (REGISTER_CONVERT_TO_RAW,
2500         REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERTIBLE): Define.
2501         (REGISTER_RAW_SIZE): Re-define as mips_register_convert_to_raw.
2502         * mips-tdep.c (mips_register_convert_to_raw,
2503         mips_register_convert_to_virtual, ): New functions.
2504         (mips_register_raw_size, mips_register_convertible): New
2505         functions.  Handle bug introduced by ``Wed Apr 1 23:13:23 1998
2506         Andrew Cagney <cagney@b1.cygnus.com>'' where remote mips64 target
2507         transfers SR as 64 bits yet GDB expected only 32 bits.
2508         (mips64_transfers_32bit_regs): New static variable.
2509         (_initialize_mips_tdep): Add obscure command ``set
2510         remote-mips64-transfers-32bit-regs'' that provides backward
2511         compatibility.
2512         (do_gp_register_row): Extract register values from raw buffer.
2513
2514         * NEWS: Document protocol change.
2515
2516 1999-07-12  Keith Seitz  <keiths@cygnus.com>
2517
2518         * rdi-share/unixcomm.c (Unix_ResetSerial): Remove CYGWIN32
2519         conditional.  It's no longer needed.
2520         (SERPORT1, SERPORT2): Linux serial ports are "/dev/ttyX", not
2521         "/dev/cuaX" (X=0,1,2,3,...).
2522
2523 Mon Jul 12 02:02:00 1999  Andrew Cagney  <cagney@amy.cygnus.com>
2524
2525         * defs.h, utils.c (fputstrn_filtered, fputstrn_unfiltered,
2526         fputstrnn_unfiltered): New functions.
2527         (gdb_printchar): Delete.
2528
2529         * remote.c (print_packet): Replace gdb_printchar with
2530         fputstrn_filtered.
2531         (getpkt): Use fputstrn_unfiltered to dump packet received.
2532         (putpkt_binary): Use fputstrnn_unfiltered to dump packet sent.
2533
2534 1999-07-09  Keith Seitz  <keiths@cygnus.com>
2535
2536         * blockframe.c (blockvector_for_pc_sect): When looking for a block,
2537         we want the one whose end is greater than our PC, not greater or equal.
2538
2539 1999-07-08  Stan Shebs  <shebs@andros.cygnus.com>
2540
2541         * sparcl-tdep.c (init_sparclite_ops): Fix doc strings, remove
2542         useless inits.
2543         (sparclite_ops): Remove redundant decl.
2544
2545 Thu Jul  8 16:48:40 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2546
2547         * ser-pipe.c (pipe_open): Bi-directional popen found on both
2548         NetBSD and OpenBSD.
2549         * ser-pipe.c: New file.  Implement popen() style serial interface.
2550         * NEWS: Mention.
2551         * Makefile.in (ALLDEPFILES): Add ser-pipe.c.
2552         (ser-pipe.o): Add new target.  Specify dependencies.
2553         (SER_HARDWIRE): Add ser-pipe.o.
2554         * serial.c (serial_open): Recognize a serial pipe ``|''.
2555
2556 1999-07-07  Stan Shebs  <shebs@andros.cygnus.com>
2557
2558         * All C files except *-stub.c and *-share/*: Indent to GNU
2559         standard, using indent 1.9.1.
2560         * defs.h: Make indent ignore this file, macros confuse it.
2561
2562         * gnu-regex.c, gnu-regex.h: Don't let indent mess with these.
2563
2564 Wed Jul  7 13:06:24 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2565
2566         * remote-mips.c (fputs_readable): Rename puts_readable, add struct
2567         gdb_file argument.
2568         (fputc_readable): Rename putc_readable, add struct gdb_file
2569         argument.
2570
2571         * remote-mips.c (mips_expect_timeout, mips_receive_header,
2572         mips_send_packet, mips_receive_packet), remote-rdp.c (put_byte,
2573         get_byte, put_word, rdp_init, rdp_init), remote-sds.c
2574         (sds_interrupt, sds_wait, readchar, putmessage, read_frame,
2575         getmessage), remote-udi.c (udi_store_registers, fetch_register):
2576         (store_register), xmodem.c (readchar), utils.c (puts_debug),
2577         gnu-nat.h (debug), parse.c (parse_exp_1): Cleanup - send debug/log
2578         messages to gdb_stdlog.
2579
2580 1999-07-06  Stan Shebs  <shebs@andros.cygnus.com>
2581
2582         * exec.c: Remove long-#ifed-out section of code that confuses
2583         indent.
2584         * gdbtypes.c (add_mangled_type): Add some braces to indicate
2585         grouping better.
2586         * gnu-nat.c: Remove literal newlines embedded in strings,
2587         causes indent to weird out.
2588         * language.c (binop_result_type): Remove extra paren.
2589         * lynx-nat.c: Add a missing paren to fetch_core_registers decl.
2590         * nec4102rom.c (vr4102_insert_step): Fix typos.
2591         (_initialize_vr4102_rom): Remove literal newline in string.
2592         * config/a29k/tm-a29k.h: Suppress formatting of pictures.
2593         * config/m68k/xm-3b1.h: Remove excess #endif.
2594
2595         Declare Pyramid configuration obsolete.
2596         * configure.host, configure.tgt: Comment out Pyramid configs.
2597         * Makefile.in: Comment out Pyramid-related actions.
2598         * pyr-xdep.c, pyr-tdep.c, config/pyr/*: Comment out.
2599         * NEWS: Mention obsolete status.
2600
2601 1999-07-06  Jason Molenda  (jsm@bugshack.cygnus.com)
2602
2603         * remote.c: Include <sys/time.h> to pick up FD_SET et al defns on
2604         some old Linux distributions.
2605         * remote-os9k.c, remote-st.c, ser-tcp.c, ser-unix.c,
2606         sparcl-tdep.c, remote.c: Back out inclusion of <sys/select.h>.
2607         It isn't necessary after all.
2608
2609 1999-07-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
2610
2611         * infcmd.c (strip_bg_char): Remove assignment from 'if' condition.
2612
2613 1999-07-05  Jason Molenda  (jsm@bugshack.cygnus.com)
2614
2615         * remote.c: Include <sys/select.h> if it exists in order to pick up
2616         FD_SET et al defns.
2617         * remote-os9k.c:  Same.
2618         * remote-st.c:  Same.
2619         * ser-tcp.c:  Same.
2620         * ser-unix.c:  Same.
2621         * sparcl-tdep.c:  Same.
2622
2623 Fri Jul  2 19:38:43 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2624
2625         * top.c (target_output_hook): Delete definition.
2626         * defs.h (target_output_hook): Delete declaration.
2627
2628         * remote.c (remote_console_output): Delete call to
2629         target_output_hook().  Send target output to gdb_stdtarg using an
2630         unfiltered write. Make more robust.
2631
2632         * remote-sim.c (gdb_os_write_stdout, gdb_os_write_stderr):
2633         Ditto. For moment, do not try to separate target stdout and stderr
2634         streams.
2635
2636         * defs.h (gdb_stdtarg): New global. Output from target and
2637         simulators.
2638
2639 1999-07-02  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
2640
2641         * top.c (return_to_top_level): Do all the exec_cleanups too.
2642
2643         * event-top.c (command_handler): Set up for a continuation, if we
2644         are in the middle of running an execution command which will
2645         finish later on. Do cleanups, an display of time/space only if not
2646         running with an async target or not running an execution command.
2647         (command_line_handler_continuation): New function. Continuation
2648         for command_line_handler.
2649
2650         * utils.c (exec_cleanup_chain): New cleanup chain to be used in
2651         async mode for the execution commands.
2652         (make_exec_cleanup): New function. Add a cleanup to the
2653         exec_cleanup_chain.
2654         (do_exec_cleanups): New Function. Do cleanups on the
2655         exec_cleanup_chain.
2656         (add_continuation): New function. Add a new continuation to the
2657         cmd_continuation list.
2658         (do_all_continuations): New function. Do all the continuations on
2659         the cmd_continuation list.
2660
2661         * top.h (ALL_CLEANUPS): Move from here to defs.h.
2662
2663         * defs.h (struct continuation_arg): New structure. Arg to pass to
2664         the call to a command continuation.
2665         (struct continuation): New structure. Continuation for an
2666         execution command.
2667         (ALL_CLEANUPS): Move here from top.h.
2668         
2669         * remote.c (remote_async_open_1): Set things up for telling the
2670         target we are running the extended protocol, only after the target
2671         has stopped.
2672         (set_extended_protocol): New function. Tell the target we are
2673         using the extended protocol.
2674         (remote_async_resume): Set things up for sync execution only if
2675         this is the first time we are called.
2676
2677         * breakpoint.c (until_break_command_continuation): New function.
2678         Stuff to be done after the target stops during the 'until'
2679         command.
2680         (until_break_command): Set things up for completing the 'until'
2681         command later on. Do the final cleanups only if not running
2682         asynchronously or async execution is not supported by the target.
2683
2684         * infcmd.c (until_command): Recognize '&' at end of command and
2685         handle it properly.
2686         (finish_command_continuation): New function. Do whatever is needed
2687         after the target has stopped.
2688         (finish_command): Recognize '&' at end of command and handle it
2689         properly. Don't do stuff needed after target has stopped if
2690         running asynchronously and target has async. Use exec_cleanup_chain
2691         if running asynchronously and target is asynchronous.
2692
2693         * infrun.c (cmd_continuation): New gloabl variable. Used to
2694         coplete execution commands in async mode, after the target has
2695         stoped.
2696         (fetch_inferior_event): Use exec_cleanup_chain, instead of
2697         cleanup_chain. Do all the exec cleanups at the end. Do all the
2698         continuations at the end. Call complete_execution from here,
2699         instead of normal_stop.
2700         (complete_execution): Cleanup the signals handlers for SIGINT
2701         before displaying the prompt.
2702         (start_remote): Set target_executing to 1.
2703         (normal_stop): Don't call complete_execution from here.
2704         
2705 Thu Jul  1 19:14:30 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2706
2707         * blockframe.c (struct dummy_frame): Add member ``top''.
2708         (generic_push_dummy_frame): Initialize top to sp.
2709         (generic_save_dummy_frame_tos): New function.  Initialize top.
2710         (generic_find_dummy_frame): Check for the top of the frame.
2711
2712         * blockframe.c (generic_push_dummy_frame): Free the dummy_frame
2713         registers.
2714
2715         * config/mn10300/tm-mn10300.h (SAVE_DUMMY_FRAME_TOS): Define.
2716         (TARGET_READ_FP): Return the SP as a best guess.
2717
2718 Wed Jun 30 15:45:48 1999  Jeffrey A Law  (law@cygnus.com)
2719
2720         * configure.host (hppa*-*-hpux11*): Accept any version of hpux11
2721         instead of hpux11.0*.
2722
2723 1999-06-30  Fernando Nasser  <fnasser@totem.to.cygnus.com>
2724
2725         * source.c (directory_command): Add missing test for from_tty. 
2726
2727 1999-06-29  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
2728
2729         * remote.c: Include event-loop.h.
2730         (remote_async_ops, extended_async_remote_ops): Define new target
2731         vector structures for asynchronous debugging.
2732         (remote_async_open): New function. Asynchronous version of
2733         remote_open.
2734         (extended_remote_async_open): New function. Asynchronous version
2735         of extended_remote_open.
2736         (remote_async_open_1): New function. Async version of
2737         remote_open_1.
2738         (remote_async_detach): New function. Async version of
2739         remote_detach.
2740         (remote_async_resume): New function. Async version of
2741         remote_resume.
2742         (initialize_sigint_signal_handler, handle_remote_sigint,
2743         handle_remote_sigint_twice, async_remote_interrupt,
2744         async_remote_interrupt_twice, cleanup_sigint_signal_handler): New
2745         functions. Used for handling ^C while target is running.
2746         (remote_async_wait): New function. Async version of remote_wait.
2747         (remote_async_kill): New function. Async version of remote_kill.
2748         (extended_remote_async_create_inferior): New function. Async
2749         version of extended_remote_create_inferior.
2750         (init_remote_async_ops): New function. Initialize target vector
2751         for target async.
2752         (init_extended_async_remote_ops): New function. Initialize target
2753         vector for target extended-async.
2754         (_initialize_remote): Initialize remote_async_ops and
2755         extended_async_remote_ops.
2756
2757         * infrun.c: Include "event-loop.h".
2758         (sync_execution): new global variable.
2759         (proceed): Invoke wait_for_inferior and normal_stop only if not
2760         running in async mode or if target doesn't support async
2761         execution.
2762         (start_remote): Don't call wait_for_inferior and normal_stop if
2763         not running in async mode or if target not async. If running async
2764         and target is async, start the target in simulated synchronous
2765         mode.
2766         (async_ecss, async_ecs): New global vars, for inferior state.
2767         (fetch_inferior_event): New function. Async version of
2768         wait_for_inferior.
2769         (complete_execution): New function. Reset of gdb prompt and stdin,
2770         after inferior execution has completed.
2771         (normal_stop): Call complete_execution at end of asynchronous
2772         execution.
2773
2774         * infcmd.c (strip_bg_char): New function to detect the background
2775         execution char '&'.
2776         (run_command): Modify to support background and foreground
2777         execution in async mode.
2778         (continue_command): Ditto.
2779         (step_1): Ditto.
2780         (jump_command): Ditto.
2781         (interrupt_target_command): New function. Interrupt the
2782         target execution.
2783         (_initialize_infcmd): Add new command 'interrupt'.
2784         
2785         * top.c (target_executing): New global variable.
2786         (execute_command): Reject commands that cannot be executed while
2787         the target is running asynchronously.
2788
2789         * event-top.c (push_prompt): Make non static.
2790         (pop_prompt): Make non static. If the current prompt is empty,
2791         don't try to copy it over the previous one.
2792         (handle_sigint): Make non static.
2793         (command_handler): Do the cleanups only when not executing with an
2794         asynchronous target.
2795
2796         * event-loop.c (delete_async_signal_handler): Pass a pointer to a
2797         pointer to a signal handler, so that is can be freed at the end.
2798
2799         * target.c (update_current_target): Inherit to_has_async_exec.
2800
2801         * inferior.h: Add global variables target_executing, and
2802         sync_execution. Export function fetch_inferior_event.
2803
2804         * event-loop.h: Add push_prompt, pop_prompt, handle_sigint to the
2805         exported functions. Update prototype for delete_signal_handler.
2806
2807         * target.h (struct target_ops): New target op: to_has_async_exec.
2808         (target_has_async): New macro.
2809
2810         * Makefile.in (infrun.o): Add dependency on event-loop.h.
2811         (remote.o): Ditto.
2812
2813 1999-06-28  Jim Blandy  <jimb@zwingli.cygnus.com>
2814
2815         * solib.c (clear_solib): Don't disable breakpoints if we're
2816         running an a.out executable (Solaris's SunOS emulation).
2817
2818 1999-06-25  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
2819
2820         * main.c (main): Remove intialization of command_loop_hook, it
2821         is now done in _initialize_event_loop().
2822         * event-loop.c (gdb_do_one_event): Make static.
2823         (start_event_loop): New function. Just start the event loop.
2824         * event-top.c (cli_command_loop): New name for start_event_loop().
2825         (gdb_readline2): Make non static.
2826         (_initialize_event_loop): Set command_loop_hook to cli_command_loop.
2827         * event-loop.h: Adjust exported functions accordingly.
2828
2829         * top.c (init_main): Move setting of async_command_editing_p from
2830         here.  
2831         * event-top.c (_initialize_event_loop): To here.
2832         (change_line_handler): Revert previous change. Add comment.
2833         (_initialize_event_loop): Revert previous change.
2834         (cli_command_loop): New name for start_event_loop().
2835         (start_event_loop): New function. This just starts up the event loop.
2836         (gdb_readline2): Make non static.
2837         (_initialize_event_loop): Set command_loop_hook to cli_command_loop.
2838
2839 1999-06-25  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
2840
2841         * event-top.c (change_line_handler): Get rid of the global
2842         variable input_fd, use `fileno (instream)' instead.
2843         (_initialize_event_loop): Ditto
2844         
2845         * event-loop.c (add_file_handler): New function. Wrapper for
2846         create_file_handler.
2847         (create_file_handler): Make static.  
2848         * event-top.c (_initialize_event_loop): Call add_file_handler,
2849         instead of create_file_handler.
2850         (change_line_handler): Ditto.  
2851         Remove poll.h include.
2852         * event-loop.h: Export add_file_handler instead of
2853         create_file_handler.    
2854
2855 1999-06-24  Stan Shebs  <shebs@andros.cygnus.com>
2856
2857         Declare Altos configuration obsolete.
2858         * configure.host, configure.tgt: Comment out Altos config.
2859         * Makefile.in: Comment out Altos-related actions.
2860         * altos-xdep.c, config/m68k/altos.mh, altos.mt, tm-altos.h,
2861         xm-altos.h: Comment out.
2862         * NEWS: Mention obsolete status.
2863
2864 1999-06-24  Jason Molenda  (jsm@bugshack.cygnus.com)
2865
2866         * Makefile.in: Add MAKEHTML and MAKEHTMLFLAGS; pass them down;
2867         recognize html and install-html targets.
2868         * gdbserver/Makefile.in: Add empty html and install-html targets.
2869         * nlm/Makefile.in: Ditto.
2870         * rdi-share/Makefile.in: Ditto.
2871
2872 1999-06-24  Jim Blandy  <jimb@zwingli.cygnus.com>
2873
2874         * ax-gdb.c (agent_command): Remove vestigial call to ax_reqs.
2875
2876 1999-06-24  James Ingham  <jingham@leda.cygnus.com>
2877
2878         * arm-tdep.c (arm_othernames): Change both gdb's register display
2879         AND the opcode disassembly register naming if the othernames
2880         command.  Fixes the gdb part of CR 101177.
2881
2882 1999-06-23  Stan Shebs  <shebs@andros.cygnus.com>
2883
2884         Declare Convex configuration obsolete.
2885         * configure.host, configure.tgt: Comment out Convex configs.
2886         * Makefile.in: Comment out Convex-related actions.
2887         * convex-xdep.c, convex-tdep.c, config/convex/*: Comment out.
2888         * NEWS: Mention obsolete status.
2889
2890 1999-06-23  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
2891
2892         * main.c: Turn on async by default by setting async_p to 1.
2893
2894 Wed Jun 23 15:44:39 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2895
2896         From Jimmy Guo <guo@cup.hp.com>:
2897         * frame.h (enum lval_type): Delcare when an __STDC__ compiler.
2898         Reverts Mon Aug 11 16:08:52 1997 Fred Fish <fnf@cygnus.com>
2899         change.
2900         * utils.c (gdb_file_rewind, gdb_file_put): Fix.  A void function
2901         does not return a result.
2902
2903 Wed Jun 23 15:30:46 1999  Andrew Cagney  <cagney@b1.cygnus.com>
2904
2905         * remote.c (set_thread, remote_get_threadinfo,
2906         remote_threads_info, remote_current_thread, remote_get_threadlist,
2907         extended_remote_restart, get_offsets, remote_open_1,
2908         remote_detach, remote_resume, remote_wait, remote_fetch_registers,
2909         remote_store_registers, check_binary_download, remote_write_bytes,
2910         remote_read_bytes, remote_search, putpkt_binary, putpkt_binary,
2911         read_frame, compare_sections_command, remote_query,
2912         packet_command, remote_info_process): Use alloca to create space
2913         for arrays of size PBUFSIZ.
2914
2915 1999-06-22  Jason Molenda  (jsm@bugshack.cygnus.com)
2916
2917         * top.c: Update copyright years to include 1999.
2918
2919 1999-06-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
2920
2921         * top.c: Move include of event-loop.h, to avoid redefinition of
2922         NFDBITS.
2923
2924         * event-loop.c (create_file_handler): Do not do a realloc of the
2925         pollfd structure of the notifier, unless there is already one.
2926         Include <sys/types.h> for platforms that have no poll.
2927         
2928         * event-top.c: Fix prototype for _initialize_event_loop.
2929         (_initialize_event_loop): Do something only if running in async
2930         mode.
2931
2932 1999-06-17  Jim Blandy  <jimb@zwingli.cygnus.com>
2933
2934         Make the '/c' print format use a true character type.  This is
2935         more appropriate than builtin_type_char for languages other than
2936         C, and C tolerates it.
2937         * gdbtypes.c (builtin_type_true_char): New variable.
2938         (build_gdbtypes): Initialize it.
2939         * gdbtypes.h (builtin_type_true_char): New declaration.
2940         * printcmd.c (print_scalar_formatted): When the format is 'c',
2941         extract the value as a builtin_type_true_char.
2942
2943         * jv-exp.y (yylex): Say character literals are java_char_type, not
2944         builtin_type_char.  Java treats the latter like `byte'.
2945
2946 1999-06-17  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
2947
2948         * Makefile.in (top_h): Define.
2949         (event-loop.o): Add dependencies on top.h and defs.h.
2950         (event-top.o): Add dependency on terminal.h.
2951
2952         * event-loop.c: Get rid of #include <readline.h>.
2953
2954         * event-loop.h: Get rid of nested #include's. 
2955         * event-loop.c: Rearrange includes to accomodate change in
2956         event-loop.h. Include poll.h, not sys/poll.h.
2957         * event-top.c: Ditto.
2958         * main.c: Ditto.
2959         
2960 1999-06-16  David Taylor  <taylor@louisiana.cygnus.com>
2961
2962         * alpha-tdep.c (alpha_pop_frame): if frame->proc_desc
2963         is NULL, call find_proc_desc so we know how to restore
2964         the registers.
2965
2966 1999-06-15  Michael Snyder  <msnyder@cleaver.cygnus.com>
2967
2968         * event-top.c (start_event_loop): call get_prompt.
2969         (display_gdb_prompt): call get_prompt.
2970         (async_stop_sig): call get_prompt.
2971
2972 1999-06-15  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
2973
2974         * event-loop.c (delete_file_handler): When positioning prev_ptr,
2975         keep looping while the one after is not equal to file_ptr, instead
2976         of equal.
2977
2978 1999-06-14  Stan Shebs  <shebs@andros.cygnus.com>
2979
2980         * MAINTAINERS: Add Jimmy Guo and Jim Blandy as HP testsuite and
2981         SVR4 solib maintainers, respectively.
2982
2983 1999-06-14  Michael Snyder  <msnyder@cleaver.cygnus.com>
2984
2985         Add parameters to the gdb prompt.
2986         * top.c (prompt): Rename to gdb_prompt_string for clarity.
2987         (command_line_input): rename "prrompt" to prompt_arg for clarity.
2988         (gdb_readline): rename "prrompt" to prompt_arg for clarity.
2989         (read_command_lines): rename "prompt" to prompt_arg for clarity.
2990         (stop_sig): call get_prompt instead of reading prompt string directly.
2991         (command_loop): ditto.
2992         (gdb_prompt_escape): New variable.  Esc char for prompt parameters.
2993         (get_prompt_1): New function, workhorse for get_prompt.
2994         (get_prompt): Completely rewrite.  Add functionality for a 
2995         parameterized prompt, ie. the displayed prompt can change according
2996         to the value of one or more expressions given as parameters in the
2997         prompt string.
2998         (init_main): use renamed variable gdb_prompt_string.  Add new
2999         command "set prompt-escape-char" to set gdb_prompt_escape.
3000         
3001 Sun Jun 13 10:44:13 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3002
3003         * defs.h (gdb_stdlog), main.c: Declare.
3004         * main.c (main): Initialize.
3005         * gdbarch.c: Write trace messages to the log file.
3006         * remote.c: Update any debug/log prints.
3007
3008 1999-06-11  Michael Snyder  <msnyder@cleaver.cygnus.com>
3009
3010         * remote.c (remote_wait): Clean up new thread handling.
3011         (record_currthread): Announce new threads.
3012
3013 1999-06-11  Jim Blandy  <jimb@zwingli.cygnus.com>
3014
3015         * partial-stab.h (case N_LSYM, 'T' descriptor): Don't create
3016         partial symbol table entries for nameless enums, even if the type
3017         name is " ".  (We still pick up the enum elements, though.)
3018
3019         * partial-stab.h: Remove #if 0'd sections, dating back to 1992,
3020         which set a variable which exists nowhere else in the source.
3021         Please examine your test suite output carefully, and report any
3022         problems to me.
3023
3024 1999-06-11  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
3025
3026         * event-top.c (setup_event_loop): Change name to start_event_loop.
3027         Move the intialization of event-loop variables to
3028         _initialize_event_loop.
3029         (_initialize_event_loop): New function. Called at init time, to
3030         set up important event-loop variables.
3031
3032         * event-loop.h: setup_event_loop is now start_event_loop.
3033         * main.c (main): Ditto.
3034
3035 Fri Jun 11 18:34:33 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3036
3037         * defs.h (gdb_file_rewind_ftype, gdb_file_rewind,
3038         set_gdb_file_rewind, gdb_file_put_ftype, gdb_file_put,
3039         set_gdb_file_put): Declare.
3040         
3041         * utils.c (gdb_file_new): Initialize ``rewind'' and ``put''.
3042         (struct gdb_file): Add to_rewind and to_put.
3043         (null_file_put, null_file_rewind, gdb_file_put, gdb_file_rewind,
3044         set_gdb_file_put, set_gdb_file_rewind): New functions.
3045         (tui_file_rewind, tui_file_put): New functions.
3046         (tui_file_new): Add rewind and put.
3047
3048 Fri Jun 11 15:10:32 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3049
3050         * d10v-tdep.c (d10v_push_arguments): Fix order of arguments passed
3051         to store_address.
3052
3053 Fri Jun 11 10:31:29 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3054
3055         * remote.c (tty_input): Change array to pointer.
3056         (_initialize_remote): Call build_remote_gdbarch_data.
3057         (build_remote_gdbarch_data): New function. Allocate space for
3058         tty_input.
3059         (readsocket, readtty): Delete extern declaration of tty_input.
3060
3061 1999-06-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
3062
3063         * event-top.c (gdb_readline2): Call the command handling function
3064         via the input_handler pointer.
3065         (change_line_handler): When turning off editing, set input_handler
3066         as well.
3067
3068         * utils.c (prompt_for_continue): If running asynchronously, call
3069         async_request_quit, instead of request_quit.
3070
3071         * tracepoint.c (read_actions): If running asynchronously, set the
3072         signal handler for STOP_SIGNAL to handle_stop_sig.
3073
3074         * top.h: (source_line_number, source_file_name, source_error,
3075         source_pre_error, history_expansion_p, server_command): export for
3076         use of event-top.c.
3077
3078         * event-top.c: Include top.h and terminal.h.
3079         (instream): Remove extern declaration.
3080         (handle_sigint, handle_sigquit, handle_sighup, handle_sigfpe,
3081         handle_sigwinch, async_do_nothing, async_disconnect,
3082         async_float_handler, async_stop_sig): Make static.
3083         (async_request_quit, async_do_nothing, async_disconnect,
3084         async_float_handler, async_stop_sig): Add gdb_glient_data
3085         argument.
3086         (handle_stop_sig): New function.
3087         (sigtstp_token): New variable.
3088         (sigint_token, sigquit_token, sigfpe_token, sigwinch_token):
3089         Change their type tp PTR.
3090         (mark_async_signal_handler_wrapper): New function.
3091         (setup_event_loop): Initialize all the variables used by readline
3092         only if not already done while reading the .gdbinit file.  Display
3093         the initial gdb prompt, if .gdbinit took care of setting things up
3094         for readline.
3095         (change_line_handler): When turning on the use of readline,
3096         initialize input_handler as well.
3097         (command_line_handler): Set up the signal handler for STOP_SIGNAL
3098         to be handle_stop_sig.
3099         (async_init_signals): Remove coercion of signal handlers in calls
3100         to create_async_signal_handler.  Initialize token for stop signal.
3101         (handle_sigint): Call async_request_quit using one argument.
3102         (handle_sigint, handle_sigquit, handle_sighup, handle_sigfpe,
3103         handle_sigwinch): Call mark_async_signal_handler_wrapper instead
3104         of mark_async_signal_handler.
3105
3106         * event-loop.h: Add extern declarations for handle_stop_sig,
3107         async_command_editing_p, async_annotation_suffix,
3108         new_async_prompt, the_prompts.
3109
3110         * top.c (command_line_input): Set the signal handler to be
3111         handle_stop_sig, in case gdb is running asynchronously.
3112         (get_prompt): Return the top of the prompt stack if running
3113         asynchronously.
3114         (set_prompt): Set the top of the prompt stack if running
3115         asynchronously.
3116         (init_main): Move ``extern'' vars from here to event-loop.h.
3117         
3118 1999-06-10  Michael Snyder  <msnyder@cleaver.cygnus.com>
3119
3120         * values.c (value_from_string): new function.  Make a value_ptr
3121         from a string, with storage in local GDB memory (not in inferior).
3122         * value.h (value_from_string): add prototype.
3123         * remote.c (remote_cisco_ops): New remote target, "target cisco".
3124         (init_remote_cisco_ops): New function, initialize new target.
3125         (remote_cisco_mourn, remote_cisco_wait, remote_cisco_open, 
3126         remote_cisco_close): New functions, implement new target cisco.
3127         (minitelnet, readtty, readsocket) New functions, implement the
3128         I/O pass-through mode for target cisco.
3129         (remote_wait): Detect special enhanced version of the 'S' packet
3130         for target cisco.  
3131         (remote_cisco_expand): Perform Cisco variant of RLL decoding.
3132
3133 1999-06-10  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
3134
3135         * event-loop.c (gdb_wait_for_event): Initialize num_found to 0.
3136
3137         * top.c (print_prompt): Delete this function.
3138
3139         From: Andrew Cagney  <cagney@b1.cygnus.com>
3140
3141         * event-top.c (async_hook): Delete extern declaration.
3142
3143         * defs.h: Replace ``async_hook'' with ``async_p''.
3144         * top.c (gdb_init, init_main, init_main, init_main, init_main):
3145         Replace ``async_hook'' with ``async_p''.
3146
3147         * main.c: Rename ``async'' to ``async_p''.
3148         (main): Add --noasync option.
3149         (main): Hook in the asynchronous event-loop based CLI using
3150         command_loop_hook instead of async_hook. Delete call to
3151         async_hook().
3152
3153 Thu Jun 10 21:14:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3154
3155         * mn10300-tdep.c (mn10300_store_return_value,
3156         mn10300_extract_struct_value_address,
3157         mn10300_extract_return_value), config/mn10300/tm-mn10300.h: New
3158         functions.
3159         * config/mn10300/tm-mn10300.h (EXTRACT_STRUCT_VALUE_ADDRESS,
3160         STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE): Update.
3161         (TARGET_MN10300): Delete macro.  Not used.
3162
3163 Thu Jun 10 20:04:02 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3164
3165         * mn10300-tdep.c (mn10300_register_names): Make static.
3166         (STORE_STRUCT_RETURN): Do not modify SP.
3167
3168         * config/mn10300/tm-mn10300.h(mn10300_register_name),
3169         mn10300-tdep.c : New function.
3170         * config/mn10300/tm-mn10300.h (REGISTER_NAME): Update.
3171         * config/mn10300/tm-mn10300.h (mn10300_saved_pc_after_call),
3172         mn10300-tdep.c: New function.
3173         * config/mn10300/tm-mn10300.h (SAVED_PC_AFTER_CALL): Update.
3174
3175 1999-06-10  Keith Seitz  <keiths@cygnus.com>
3176
3177         * mcore-rom.c (picobug_dumpregs): Return a value. Any value, it
3178         doesn't matter.
3179         * mcore-tdep.c (mcore_analyze_prologue): Set NO_MORE_FRAMES
3180         if the start of the function is the entry point.
3181         (mcore_analyze_prologue): rotli takes an immediate, not an
3182         offset immediate.
3183         (mcore_push_arguments): Fix compiler warning.
3184
3185 1999-06-09  Peter Schauer  (pes@regent.e-technik.tu-muenchen.de)
3186
3187         * rs6000-tdep.c (skip_prologue): Don't mistake a branch for a     
3188         subroutine call.        
3189
3190 1999-06-08  Michael Snyder  <msnyder@cleaver.cygnus.com>
3191
3192         * remote.c (remote_wait): Add 'N' response packet, which is a
3193         stop with signal number plus section offsets for .text, .data and
3194         .bss.  This is used by Cisco to indicate relocation offsets.
3195         (remote_cisco_section_offsets, remote_cisco_objfile_relocate):
3196         new files to support 'N' packet.  
3197         (remote_info_process): New function.  Implements the 
3198         "info remote-process" command, by means of which the remote target 
3199         can report anything it wants to about the remote process/app being 
3200         debugged.  
3201         (_initialize_remote): add info remote-proc command.  
3202         (remote_threads_info): New function for "info threads" command.  
3203         Attempts to use new query "qfThreadInfo" instead of the old 
3204         undocumented query.
3205         * exec.c (exec_set_section_offsets) new files to support 'N' packet.
3206
3207 Tue Jun  8 13:33:42 1999  Andrew Cagney  <cagney@amy.cygnus.com>
3208
3209         * inferior.h (generic_target_read_pc, generic_target_write_pc,
3210         generic_target_read_fp, generic_target_write_fp,
3211         generic_target_read_sp, generic_target_write_sp): Declare new
3212         functions.
3213         * findvar.c (generic_target_read_pc, generic_target_write_pc,
3214         generic_target_read_fp, generic_target_write_fp,
3215         generic_target_read_sp, generic_target_write_sp): New functions.
3216         (TARGET_READ_PC, TARGET_WRITE_PC, TARGET_READ_FP, TARGET_WRITE_FP,
3217         TARGET_READ_SP, TARGET_WRITE_SP): Default to corresponding generic
3218         function.
3219         (write_pc_pid, write_pc_pid, read_sp, write_sp, read_fp,
3220         write_fp): Simplify.
3221
3222         * gdbarch.c (verify_gdbarch): Always verify TARGET_PTR_BIT,
3223         TARGET_SHORT_BIT, TARGET_INT_BIT, TARGET_LONG_BIT,
3224         TARGET_LONG_LONG_BIT, TARGET_FLOAT_BIT, TARGET_DOUBLE_BIT,
3225         TARGET_LONG_DOUBLE_BIT, TARGET_READ_PC, TARGET_WRITE_PC,
3226         TARGET_READ_FP, TARGET_WRITE_FP, TARGET_READ_SP, TARGET_WRITE_SP,
3227         USE_GENERIC_DUMMY_FRAMES, CALL_DUMMY_BREAKPOINT_OFFSET_P,
3228         CALL_DUMMY_P, CALL_DUMMY_STACK_ADJUST_P, GET_SAVED_REGISTER,
3229         REGISTER_CONVERTIBLE, PUSH_ARGUMENTS, PUSH_RETURN_ADDRESS,
3230         FRAME_CHAIN_VALID.
3231         (GET_GDBARCH, SET_GDBARCH): Delete macros.  Implement functions
3232         directly.
3233         * gdbarch.h, gdbarch.c: Call fatal() instead of abort().  Identify
3234         the function / macro with a problem.  Always verify a architecture
3235         attribute before returning it.
3236         * gdbarch.h, gdbarch.c (generic_register_convertible_not): New
3237         function.
3238
3239         * mips-tdep.c (mips_push_return_address): New function.
3240         * config/mips/tm-mips.h (PUSH_RETURN_ADDRESS): Define.
3241
3242         * mips-tdep.c (mips_gdbarch_init): Initialize short_bit,
3243         double_bit, long_double_bit, read_pc, write_pc, read_fp, write_fp,
3244         read_sp, write_sp, frame_chain_valid, get_saved_register,
3245         push_arguments, push_return_address, register_convertible,
3246         call_dummy_p, use_generic_dummy_frames,
3247         call_dummy_breakpoint_offset_p, call_dummy_stack_adjust_p,
3248         call_dummy_words and sizeof_call_dummy_words.
3249         * config/mips/tm-mips.h: Don't define CALL_DUMMY when multi-arch.
3250
3251 1999-06-07  Keith Seitz  <keiths@cygnus.com>
3252
3253         * v850ice.c (init_hidden_window): Do not rely on the existence of
3254         a gui for window creation. Return boolean status.
3255         (v850ice_open): Use boolean status of init_hidden_window.
3256         Allow any ICE execution command to run under CLI. Maybe one
3257         day gdb will use a real event loop and allow this code to run.
3258         * configure.tgt: Configure the v850 ice for all cygwin-hosted
3259         toolchains.
3260
3261 Mon Jun  7 23:37:26 1999  Andrew Cagney  <cagney@amy.cygnus.com>
3262
3263         * config/mips/tm-mips.h (EXTRA_FRAME_INFO): Delete.
3264         * mips-tdep.c (mips_init_extra_frame_info): Allocate saved_regs.
3265         (temp_saved_regs): Replace struct with a simple pointer.
3266         (set_reg_offset, mips32_heuristic_proc_desc, heuristic_proc_desc,
3267         mips_init_extra_frame_info): Update.
3268
3269 Mon Jun  7 21:40:12 1999  Andrew Cagney  <cagney@amy.cygnus.com>
3270
3271         * config/mips/tm-mips.h (EXTRA_FRAME_INFO): Move elements from here.
3272         * mips-tdep.c (struct frame_extra_info): To here.
3273
3274         * mips-tdep.c (mips_print_extra_frame_info, mips_find_saved_regs,
3275         mips_init_extra_frame_info, mips_pop_frame): Update
3276         (mips_init_extra_frame_info): Allocate space for the extra info.
3277
3278 Mon Jun  7 21:08:50 1999  Andrew Cagney  <cagney@amy.cygnus.com>
3279
3280         * config/mips/tm-mips.h (mips_init_extra_frame_info), mips-tdep.c:
3281         Rename init_extra_frame_info.  Add argument ``fromleaf''.
3282
3283         * config/mips/tm-mips.h (mips_print_extra_frame_info),
3284         mips-tdep.c: New function.
3285         (PRINT_EXTRA_FRAME_INFO): Update definition.
3286
3287 Mon Jun  7 20:11:07 1999  Andrew Cagney  <cagney@amy.cygnus.com>
3288
3289         * config/mips/tm-mips.h, config/mips/tm-irix3.h,
3290         config/mips/tm-tx19.h, config/mips/tm-tx19l.h,
3291         config/mips/tm-tx39.h, config/mips/tm-tx39l.h: Rename macro
3292         REGISTER_NAMES to MIPS_REGISTER_NAMES.
3293
3294         * config/mips/tm-mips.h (REGISTER_NAME): Define.
3295         * mips-tdep.c (mips_processor_reg_names): New static variable.
3296         (mips_register_name): New function.
3297         (mips_set_processor_type): Update mips_processor_reg_names.
3298         (mips_generic_reg_names): Initialize using MIPS_REGISTER_NAMES.
3299
3300 Sun Jun  6 11:09:19 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3301
3302         * remote.c (PBUFSIZ): Re-define so that value is computed at
3303         run-time.
3304         (MAXBUFBYTES): Re-define as a macro function.
3305         * gdbarch.h, gdbarch.c: Add multi-arch support for REGISTER_BYTES.
3306         * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
3307
3308 1999-06-05  Fernando Nasser  <fnasser@totem.to.cygnus.com>
3309
3310         * symtab.c (decode_line_1): Accept filenames with spaces in
3311         'linespecs' when enclosed in double quotation marks and handle
3312         drive specification is DOS format (D:).
3313
3314 1999-06-04  Jim Blandy  <jimb@zwingli.cygnus.com>
3315
3316         * parse.c: Don't include <ctype.h> twice.
3317
3318 1999-06-04  David Taylor  <taylor@louisiana.cygnus.com>
3319
3320         Sat May 15 12:16:09 1999  Per Bothner  <bothner@deneb.cygnus.com>
3321
3322         * eval.c (evaluate_subexp_standard):  Remove Gilmore rant.
3323         (Of course C has "expected types", at least if you allow
3324         brace-initializer expressions - as in Gcc.)
3325         Remove NULLing out expect_type.  Do pass NULL_TYPE in place
3326         the incoming expect_type where appropriate.
3327
3328 Fri Jun  4 10:56:23 1999  Jeffrey A Law  (law@cygnus.com)
3329
3330         * hppa-tdep.c (hppa_fix_call_dummy): Make it work for GCC compiled
3331         executables without end.o.  Clean up lots of mis-guided comments.
3332
3333 Fri Jun  4 17:10:36 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3334
3335         * parser-defs.h (std_regs): Replace array with pointer.
3336         * parse.c (build_parse): Build the std_regs table according to the
3337         standard registers available.
3338         (_initialize_parse): Register std_regs and num_std_regs as
3339         architecture specific.
3340         * gdbarch.h, gdbarch.c: Add multi-arch support for SP_REGNUM,
3341         FP_REGNUM, PC_REGNUM, NUM_REGS, REGISTER_NAME.
3342         * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
3343         
3344 1999-06-03  Michael Snyder  <msnyder@cleaver.cygnus.com>
3345
3346         * thread.c: eliminate the target_thread_vector (functionality
3347         moved into the standard target vector).
3348         * gdbthread.h: eliminate target_thread_vector.  Move all related
3349         defines into remote.c, since they are no longer shared with thread.c.
3350         * remote.c: eliminate the target_thread_vector.
3351         (remote_find_new_threads): change return type to void, consistent
3352         with the target vector table.  (cont_thread): rename continue_thread.
3353         (record_currthread): remove dead code.  (remote_thread_alive):
3354         clean up and simplify.  (threadref etc.): move definitions to here
3355         from gdbthread.h.  
3356
3357 1999-06-02  Jason Molenda  (jsm@bugshack.cygnus.com)
3358
3359         * inftarg.c (child_create_inferior): Remove dead HPUX specific code
3360         which tries to find csh.
3361         * fork-child.c: Remove DEBUGGING predefine and conditionalized
3362         printfs.
3363         (fork_inferior): Remove dead HPUX specific code which assumes shell
3364         is csh.
3365
3366         * hppa-tdep.c: Remove DEBUGGING and #if 0 debugging printfs.
3367         * parse.c: Ditto.
3368         * somread.c: Ditto.
3369
3370         * gdbarch.h: Forward decl of struct value.
3371
3372 Thu Jun  3 10:12:38 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3373
3374         * d10v-tdep.c (do_d10v_pop_frame): Rename d10v_pop_frame.  Make
3375         static.
3376         * d10v-tdep.c (d10v_pop_frame), config/d10v/tm-d10v.h: New
3377         function.  Call generic_pop_current_frame.
3378         * config/d10v/tm-d10v.h (POP_FRAME): Update.
3379         * gdbarch.h, gdbarch.c (frame_num_args_unknown): New function.
3380         * gdbarch.h, gdbarch.c: Add multi-arch support for POP_FRAME,
3381         SKIP_PROLOGUE, INNER_THAN, DECR_PC_AFTER_BREAK,
3382         FUNCTION_START_OFFSET, REMOTE_TRANSLATE_XFER_ADDRESS, FRAME_CHAIN,
3383         FRAME_CHAIN_VALID, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS,
3384         FRAME_LOCALS_ADDRESS, FRAME_ARGS_SKIP,
3385         FRAMELESS_FUNCTION_INVOCATION, REGISTER_BYTE, REGISTER_RAW_SIZE,
3386         REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, SAVED_PC_AFTER_CALL,
3387         FRAME_NUM_ARGS, MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE,
3388         REGISTER_SIZE.
3389         * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
3390         * config/d10v/tm-d10v.h (DMEM_START, IMEM_START, STACK_START,
3391         ARG1_REGNUM, ARGN_REGNUM, RET1_REGNUM): Move definitions from
3392         here.
3393         * d10v-tdep.c: To here.
3394         * config/d10v/tm-d10v.h (struct type): Move declaration from here.
3395         * gdbarch.h: To here.
3396         * config/d10v/tm-d10v.h (struct frame_info, struct
3397         frame_saved_regs, struct type): Delete declarations.
3398         
3399 1999-06-02  Robert Hoehne  <robert.hoehne@gmx.net>
3400
3401         * go32-nat.c: go32_terminal_init, go32_terminal_inferior and
3402         go32_terminal_ours are new functions to save/restore the inferior`s
3403         stdin/stdout filemodes
3404
3405 1999-06-02  Stan Shebs  <shebs@andros.cygnus.com>
3406
3407         * MAINTAINERS: Add Mark Kettenis, Jeff Law, and Philippe De Muyter
3408         as maintainers for Hurd, HP/UX, and COFF, respectively.
3409
3410 1999-06-02  Mark Kettenis  <kettenis@gnu.org>
3411
3412         * gnu-nat.c (inf_continue): New function.
3413         (struct inf): Use `unsigned int' instead of `int' for bit-fields.
3414         Add new bit-field named `nomsg'.
3415         (inf_validate_procinfo): Renamed from inf_validate_stopped, all
3416         callers changed.  Also update the `nomsg' and `traced' fields of
3417         INF.
3418         (make_inf): Initialize INF->nomsg.
3419         (inf_cleanup): Reset INF->nomsg.
3420         (inf_detach): Call `inf_validate_procinfo'.  Call `inf_continue'
3421         instead of `inf_signal' if the inferior does not have a message
3422         port.
3423         (gnu_resume): Likewise.
3424         (gnu_create_inferior): Reset INF->nomsg in `attach_to_child'.
3425         Call `inf_validate_procinfo' after returning from `fork_inferior'.
3426         (gnu_attach): Update signal thread and tracing state.
3427
3428         * config/i386/tm-i386gnu.h: Include "i386/tm-i386.h" instead of
3429         "i386/tm-i386v.h".
3430         (STACK_END_ADDR): Remove.
3431         (SIGCONTEXT_PC_OFFSET): New define.
3432         Include "tm-sysv4.h".
3433
3434 1999-06-02  J.T. Conklin  <jtc@redback.com>
3435
3436         * config/tm-vxworks.h: New file, header for definitions common to
3437         all vxWorks targets.
3438         * config/a29k/tm-vx29k.h, config/i960/tm-vx960.h,
3439         config/m68k/tm-vx68.h, config/mips/tm-vxmips.h,
3440         config/sparc/tm-vxsparc.h: Include tm-vxworks.h.
3441
3442 Wed Jun  2 17:37:03 1999  Jeffrey A Law  (law@cygnus.com)
3443
3444         * config/pa/tm-hppa.h (IMPORT_SHLIB): New unwind stub type.
3445
3446 1999-06-02  Christopher Faylor <cgf@cygnus.com>
3447
3448         * configure.tgt: Alphabetically reorder some targets.
3449
3450 1999-06-02  Keith Seitz  <keiths@cygnus.com>
3451
3452         * v850ice.c (v850ice_xfer_memory): Insert lost "break".
3453
3454 1999-06-02  Jim Blandy  <jimb@zwingli.cygnus.com>
3455
3456         * rs6000-tdep.c (variants): Fix description of 750 register set.
3457         (Thanks to J. T. Conklin.)
3458
3459 Wed Jun  2 16:10:08 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3460
3461         * gdbarch.h, gdbarch.c: Add multi-arch support for
3462         STORE_STRUCT_RETURN, STORE_RETURN_VALUE,
3463         EXTRACT_STRUCT_VALUE_ADDRESS, USE_STRUCT_CONVENTION,
3464         FRAME_INIT_SAVED_REGS and INIT_EXTRA_FRAME_INFO.
3465         * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
3466
3467         * config/d10v/tm-d10v.h (FRAME_INIT_SAVED_REGS): Replace
3468         FRAME_FIND_SAVED_REGS.
3469         (d10v_frame_init_saved_regs): Replace d10v_frame_find_saved_regs.
3470         * d10v-tdep.c (d10v_pop_frame, d10v_frame_chain,
3471         d10v_frame_init_saved_regs): Update.
3472         * gdbarch.h: Disallow FRAME_FIND_SAVED_REGS when multi-arch.
3473
3474         * gdbarch.h, gdbarch.c: Add multi-arch support for
3475         D10V_MAKE_DADDR, D10V_MAKE_IADDR, D10V_DADDR_P, D10V_IADDR_P,
3476         D10V_CONVERT_DADDR_TO_RAW and D10V_CONVERT_IADDR_TO_RAW.
3477         * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
3478
3479         * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Delete.
3480         * d10v-tdep.c (struct frame_extra_info): Define.
3481         (d10v_init_extra_frame_info, d10v_pop_frame, d10v_frame_chain,
3482         d10v_frame_find_saved_regs): Update.
3483         * gdbarch.h: Disallow EXTRA_FRAME_INFO when multi-arch.
3484
3485 Tue Jun  1 13:36:31 1999  Philippe De Muyter  <phdm@macqel.be>
3486
3487         * config/m68k/tm-delta68.h (FRAME_NUM_ARGS): Macro prototype fixed.
3488         * config/m68k/tm-news.h, config/ns32k/tm-merlin.h: Ditto.
3489         * config/ns32k/tm-umax.h (FRAME_NUM_ARGS): Old macro definition
3490         removed; new macro prototype fixed.
3491
3492 Wed Jun  2 11:18:37 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3493
3494         * gdbarch.h, gdbarch.c: Add multi-arch support for
3495         EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS, PUSH_DUMMY_FRAME,
3496         PUSH_RETURN_ADDRESS, POP_FRAME, FRAME_FIND_SAVED_REGS.
3497         * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
3498
3499         * gdbarch.h, gdbarch.c: Add multi-arch support for
3500         REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
3501         REGISTER_CONVERT_TO_RAW.
3502         * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update.
3503
3504         * defs.h (REGISTER_NAME): Move compatibility definition from here.
3505         * gdbarch.h: To here.
3506
3507         * frame.h, blockframe.c (generic_fix_call_dummy): New
3508         stub function.
3509         * gdbarch.h, gdbarch.c: Add multi-arch support for FIX_CALL_DUMMY.
3510         * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update.
3511
3512 Tue Jun  1 20:06:38 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3513
3514         * d10v-tdep.c (d10v_gdbarch_init): Set get_saved_register.
3515         * config/d10v/tm-d10v.h: Update.
3516         
3517 Tue Jun  1 19:50:05 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3518
3519         * gdbarch.h, gdbarch.c: Add multi-arch support for TARGET_READ_PC,
3520         TARGET_WRITE_PC, TARGET_READ_FP, TARGET_WRITE_FP, TARGET_READ_SP
3521         and TARGET_WRITE_SP.
3522         * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update.
3523
3524 Tue Jun  1 19:19:02 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3525
3526         * gdbarch.c (default_gdbarch): Set field GET_SAVED_REGISTER to
3527         generic_get_saved_register.
3528         * gdbarch.c: Change update dispatch functions so that they check
3529         for a NULL function pointer.
3530
3531 Tue Jun  1 19:19:02 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3532
3533         * gdbarch.h, gdbarch.c: Add multi-arch support for TARGET_INT_BIT,
3534         TARGET_CHAR_BIT, TARGET_SHORT_BIT, TARGET_FLOAT_BIT,
3535         TARGET_DOUBLE_BIT and TARGET_LONG_DOUBLE_BIT.
3536         * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update.
3537         
3538 Tue Jun  1 18:47:54 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3539
3540         * parse.c (build_parse): New function.  Initialize
3541         msym_text_symbol_type, msym_data_symbol_type and
3542         msym_unknown_symbol_type.
3543         (_initialize_parse): Call build_parse.
3544         (_initialize_parse): Register variables msym_text_symbol_type,
3545         msym_data_symbol_type as msym_unknown_symbol_type as
3546         per-architecture.
3547
3548 Tue Jun  1 11:30:09 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3549
3550         * d10v-tdep.c (_initialize_d10v_tdep): Register d10v as an
3551         architecture.
3552         (d10v_gdbarch_init): New function.
3553         * confg/d10v/tm-d10v.h (GDB_MULTI_ARCH): Define.
3554
3555 Tue Jun  1 10:45:24 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3556
3557         * config/d10v/tm-d10v.h (REGISTER_CONVERTIBLE,
3558         REGISTER_CONVERT_TO_RAW, REGISTER_CONVERT_TO_VIRTUAL): Convert
3559         macros into functions.
3560         * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_register_convertable,
3561         d10v_register_convert_to_virtual, d10v_register_convert_to_raw):
3562         The new functions.
3563
3564 1999-05-31  Fernando Nasser  <fnasser@totem.to.cygnus.com>
3565
3566         * stack.c (print_args_stub): Add missing stream parameter.
3567
3568 Mon May 31 15:50:08 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3569
3570         Fri May 28 16:51:00 1999  Martin Dorey  <martin.dorey@madge.com>:
3571         * valops.c, value.h (default_push_arguments): Fix order of
3572         parameters to match PUSH_ARGUMENTS arguments.
3573
3574 Thu May 27 11:42:55 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3575
3576         * gdbarch.h (EXTRACT_STRUCT_VALUE_ADDRESS): Return 0.
3577
3578         * valops.c (value_assign): Delete redundant test of
3579         REGISTER_CONVERTIBLE.
3580
3581 Thu May 27 11:33:57 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3582
3583         * config/w65/tm-w65.h, config/tic80/tm-tic80.h, config/sh/tm-sh.h,
3584         config/i386/tm-i386m3.h, config/i386/tm-go32.h,
3585         config/i386/tm-cygwin.h, config/h8500/tm-h8500.h,
3586         config/d30v/tm-d30v.h, config/d10v/tm-d10v.h: Delete definition of
3587         macro NAMES_HAVE_UNDERSCORE.
3588
3589 Thu May 27 09:31:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3590
3591         * gdbarch.h (EXTRACT_STRUCT_VALUE_ADDRESS,
3592         EXTRACT_STRUCT_VALUE_ADDRESS_P): Provide default definitions.
3593         * values.c (value_being_returned): Use
3594         EXTRACT_STRUCT_VALUE_ADDRESS when EXTRACT_STRUCT_VALUE_ADDRESS_P.
3595
3596 Wed May 26 13:51:25 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3597
3598         * utils.c (tui_file_new, tui_file_delete, tui_fileopen): New
3599         functions.
3600         (tui_file_isatty): Rename gdb_file_isatty.
3601         (gdb_file_init_astring): Use tui_file_new to create stream.
3602         (gdb_file_get_strbuf, gdb_file_adjust_strbuf): Call gdb_file_data
3603         to access the tui_stream.
3604         (tui_file_flush): Rename gdb_flush. Call gdb_file_data to access
3605         the tui_stream. Pass FILE and not STREAM down.
3606         
3607         * utils.c (struct stdio_file, stdio_file_flush, stdio_file_fputs,
3608         stdio_file_isatty, stdio_file_delete, stdio_file_new,
3609         stdio_fileopen): Define type and functions.  Implement a simple
3610         STDIO based gdb_file.
3611         (struct gdb_file, gdb_file_new, gdb_file_delete, null_file_isatty,
3612         null_file_flush, null_file_fputs, null_file_delete, gdb_file_data,
3613         set_gdb_file_flush, set_gdb_file_isatty, set_gdb_file_fputs,
3614         set_gdb_file_data, fputs_unfiltered, gdb_flush, gdb_file_isatty):
3615         Define type and functions.  Implement virtual functions for
3616         gdb_file.
3617
3618         * defs.h (struct gdb_file): Declare.
3619         (GDB_FILE): Change type to struct gdb_file. Deprecate.
3620         (gdb_file_flush_ftype, gdb_file_fputs_ftype,
3621         gdb_file_isatty_ftype, gdb_file_delete_ftype): Add function type
3622         declarations.
3623         
3624         * defs.h (set_gdb_file_flush, set_gdb_file_fputs,
3625         set_gdb_file_isatty, set_gdb_file_data, gdb_file_new,
3626         gdb_file_delete, gdb_file_data, stdio_fileopen, tui_fileopen): Add
3627         function declarations.
3628         (gdb_fopen): Re-implement. Call stdio_file_new.
3629         (gdb_fclose): Re-implement. Call gdb_file_delete.
3630         
3631         * main.c (tui_file_fputs): Rename fputs_unfiltered.  Use
3632         gdb_file_data to gain access to the tui_stream data.  Use FILE
3633         instead of STREAM where applicable.
3634         (main): Create gdb_stdout and gdb_stderr using tui_fileopen.
3635         
3636         * defs.h (struct tui_stream): Add field ts_magic.
3637         * utils.c (tui_file_magic): Local variable.
3638         (tui_file_new): Set field ts_magic.
3639         (tui_file_delete, tui_file_isatty, gdb_file_init_astring,
3640         gdb_file_get_strbuf, gdb_file_adjust_strbuf, tui_file_flush):
3641         Verify ts_magic.
3642
3643 1999-05-25  Jim Blandy  <jimb@zwingli.cygnus.com>
3644
3645         * breakpoint.c (insert_breakpoints, remove_breakpoint,
3646         breakpoint_1): Add a 'default' case, which prints a warning
3647         message, to remove EGCS warnings.
3648
3649 1999-05-25  Fernando Nasser  <fnasser@totem.to.cygnus.com>
3650
3651         * utils.c (gdb_file_adjust_strbuf): Take into account the
3652         possibility that the buffer has not been allocated yet.
3653
3654 Tue May 25 16:05:11 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3655
3656         * gdbarch.h (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
3657         REGISTER_CONVERT_TO_RAW): Provide default definition.
3658
3659         * valops.c (value_assign), infcmd.c (do_registers_info), findvar.c
3660         (value_from_register, value_of_register): Remove #ifdef
3661         REGISTER_CONVERTIBLE.  Assume REGISTER_CONVERTIBLE etc defined.
3662
3663 1999-05-25  Keith Seitz  <keiths@cygnus.com>
3664
3665         * config/mcore/tm-mcore.h (FRAME_NUM_ARGS): Re-write definition of
3666         FRAME_NUM_ARGS so that it returns NUM_ARGS as a result instead of
3667         setting a variable as a side effect.
3668
3669 Tue May 25 16:18:25 1999  Andrew Cagney  <cagney@amy.cygnus.com>
3670
3671         * remote-d10v.c (d10v_eva_prepare_to_trace,
3672         d10v_eva_get_trace_data), remote-sim.c (_initialize_remote_sim):
3673         Add declaraton.  Make static.
3674
3675         * remote-d10v.c (_initialize_remote_d10v), d10v-tdep.c
3676         (_initialize_d10v_tdep): Add declaration.
3677         * config/d10v/tm-d10v.h (d10v_frame_chain): Add declaration.
3678
3679 Tue May 25 15:20:58 1999  Andrew Cagney  <cagney@amy.cygnus.com>
3680
3681         * main.c (init_proc, proc_remove_foreign): Delete function.
3682         * inftarg.c (child_mourn_inferior): Update. Delete call to
3683         proc_remove_foreign().
3684         * top.c (gdb_init): Update. Delete call to init_proc().
3685
3686         * utils.c (pollquit, fmthex, hexlate): Delete function.
3687
3688 Tue May 25 13:01:43 1999  Andrew Cagney  <cagney@amy.cygnus.com>
3689
3690         * main.c (gdb_init): Move declaration from here.
3691         * top.h: To here.
3692         
3693         * defs.h (init_page_info): Add declaration.
3694
3695         * top.c (initialize_utils): Move declaration from here.
3696         * defs.h: To here.
3697
3698         * infcmd.c (target_map_name_to_register): Move declaration from
3699         here.
3700         * parser-defs.h: To here.
3701
3702         * c-typeprint.c (cp_type_print_method_args), target.c
3703         (nosupport_runtime, normal_target_post_startup_inferior): Add
3704         declaration.  Make static.
3705
3706 Tue May 25 13:53:23 1999  Andrew Cagney  <cagney@amy.cygnus.com>
3707
3708         * main.c: Include "event-loop.h".
3709         * Makefile.in (main.o): Add dependency.
3710
3711         * top.h (setup_event_loop, async_init_signals), top.c
3712         (set_async_editing_command, set_async_annotation_level,
3713         set_async_prompt), event-loop.c (display_gdb_prompt): Move
3714         declarations from here.
3715         * event-loop.h: To here.
3716         
3717         * event-loop.h (delete_async_signal_handler): Add function
3718         declaration.
3719
3720         * event-top.c (change_annotation_level, command_handler): Add
3721         declaration.  Make static.
3722
3723 Tue May 25 12:44:58 1999  Andrew Cagney  <cagney@amy.cygnus.com>
3724
3725         * tracepoint.c (free_actions_list, add_register): Add declaration.
3726         Make static.
3727         (free_actions_list_cleanup_wrapper): New function.  Wraps
3728         free_actions_list for make_cleanup.
3729         (trace_start_command): Pass free_actions_list_cleanup_wrapper
3730         instead of free_actions_list to make_cleanup.
3731         (_initialize_tracepoint): Add extern declaration.
3732
3733 Tue May 25 12:23:39 1999  Andrew Cagney  <cagney@amy.cygnus.com>
3734
3735         * jv-typeprint.c (java_type_print_base, jv-valprint.c
3736         (java_print_value_fields): Add static declaration.
3737
3738         * jv-lang.c (java_lookup_type, get_java_utf8_name,
3739         java_lookup_type): Add static declaration.
3740         (get_java_class_symtab, java_class_is_primitive,
3741         java_value_string): Add declaration. Make static.
3742         (java_rerun_cleanup): Add extern declaration for this stub
3743         function.
3744         
3745 Tue May 25 12:06:29 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3746
3747         * gdbarch.h: When multi-arch, check that REGISTER_NAMES was not
3748         defined.
3749
3750 Mon May 24 16:16:29 1999  Andrew Cagney  <cagney@amy.cygnus.com>
3751
3752         * inflow.c (_initialize_inflow), annotate.c
3753         (_initialize_annotate), os9kread.c (_initialize_os9kread),
3754         serial.c (_initialize_serial), nlmread.c (_initialize_nlmread),
3755         f-valprint.c (_initialize_f_valprint), cp-valprint.c
3756         (_initialize_cp_valprint), typeprint.c (_initialize_typeprint),
3757         complaints.c (_initialize_complaints), scm-lang.c
3758         (_initialize_scheme_language), m2-lang.c
3759         (_initialize_m2_language), dbxread.c (_initialize_dbxread),
3760         f-lang.c (_initialize_f_language), ch-lang.c
3761         (_initialize_chill_language), c-lang.c (_initialize_c_language),
3762         corefile.c (_initialize_core), stabsread.c
3763         (_initialize_stabsread), mipsread.c (_initialize_mipsread),
3764         elfread.c (_initialize_elfread), coffread.c
3765         (_initialize_coffread), maint.c (_initialize_maint_cmds),
3766         demangle.c (_initialize_demangler), maint.c
3767         (_initialize_maint_cmds), language.c (_initialize_language): Add
3768         external declaration.
3769
3770 Mon May 24 10:04:56 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3771
3772         * config/z8k/tm-z8k.h, config/w65/tm-w65.h, config/v850/tm-v850.h,
3773         config/tic80/tm-tic80.h, config/tahoe/tm-tahoe.h,
3774         config/rs6000/tm-rs6000.h, config/sparc/tm-sparc.h,
3775         config/sh/tm-sh.h, config/pyr/tm-pyr.h, config/pa/tm-hppa.h,
3776         config/ns32k/tm-merlin.h, config/mn10300/tm-mn10300.h,
3777         config/mn10200/tm-mn10200.h, config/mips/tm-mips.h,
3778         config/m88k/tm-m88k.h, config/m68k/tm-news.h,
3779         config/m68k/tm-delta68.h, config/m68k/tm-isi.h,
3780         config/m68k/tm-m68k.h, config/m32r/tm-m32r.h,
3781         config/i960/tm-i960.h, config/i386/tm-i386v.h,
3782         config/i386/tm-i386.h, config/h8500/tm-h8500.h,
3783         config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
3784         config/d30v/tm-d30v.h, config/d10v/tm-d10v.h,
3785         config/convex/tm-convex.h, config/arc/tm-arc.h,
3786         config/arm/tm-arm.h, config/alpha/tm-alpha.h,
3787         config/a29k/tm-a29k.h: Re-write definition of FRAME_NUM_ARGS so
3788         that it returns NUM_ARGS as a result instead of setting a variable
3789         as a side effect.
3790
3791         * ns32k-tdep.c (merlin_frame_num_args), tahoe-tdep.c
3792         (tahoe_frame_num_args), vax-tdep.c (vax_frame_num_args),
3793         m68k-tdep.c (news_frame_num_args, delta68_frame_num_args,
3794         isi_frame_num_args), convex-tdep.c (convex_frame_num_args): New
3795         functions.
3796
3797         * stack.c (print_args_stub): Update use of FRAME_NUM_ARGS.
3798
3799 Mon May 24 11:57:04 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3800
3801         * remote.c (remote_xfer_memory): Re-write with assumption that
3802         REMOTE_TRANSLATE_XFER_ADDRESS is defined.  Pass targ_addr and
3803         targ_len by reference.
3804         (REMOTE_TRANSLATE_XFER_ADDRESS): Provide default definition.
3805         
3806         * remote-d10v.c (remote_d10v_translate_xfer_address): Update.
3807         * config/d10v/tm-d10v.h (REMOTE_TRANSLATE_XFER_ADDRESS): Update.
3808
3809 Mon May 24 12:10:58 1999  Andrew Cagney  <cagney@amy.cygnus.com>
3810
3811         * value.h (default_push_arguments): Add function declaration.
3812
3813         * alpha-tdep.c (alpha_about_to_return), gdbarch.c (verify_gdbarch,
3814         arch_ok, set_arch), command.c (find_cmd), infrun.c
3815         (follow_inferior_fork, follow_fork, follow_vfork,
3816         set_schedlock_func, is_internal_shlib_eventpoint,
3817         stopped_for_internal_shlib_event, stopped_for_shlib_catchpoint,
3818         xdb_handle_command), infcmd.c (run_no_args_command, go_command),
3819         symfile.c (add_filename_language, set_ext_lang_command,
3820         info_ext_lang_command, init_filename_language_table), symtab.c
3821         (overload_list_add_symbol), defs.h (default_get_saved_register),
3822         ax-general.c (grow_expr, append_const, read_const, generic_ext):
3823         Ditto.
3824
3825         * infrun.c (currently_stepping): Ditto.  Make static.
3826
3827         * valops.c (hand_function_call): Explictly type static variable
3828         ``checked''.
3829
3830 Mon May 24 08:36:18 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3831
3832         * d10v-tdep.c (d10v_breakpoint_from_pc, d10v_register_name,
3833         d10v_register_byte, d10v_register_raw_size,
3834         d10v_register_virtual_size, d10v_register_virtual_type,
3835         d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
3836         d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw,
3837         d10v_store_struct_return, d10v_store_return_value,
3838         d10v_extract_struct_value_address, d10v_frame_saved_pc,
3839         d10v_frame_args_address, d10v_frame_locals_address,
3840         d10v_saved_pc_after_call): New functions.
3841         
3842         * config/d10v/tm-d10v.h (REGISTER_BYTE, REGISTER_RAW_SIZE,
3843         REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN,
3844         D10V_MAKE_DADDR, D10V_MAKE_IADDR, D10V_DADDR_P, D10V_IADDR_P,
3845         D10V_CONVERT_DADDR_TO_RAW, D10V_CONVERT_IADDR_TO_RAW,
3846         STORE_STRUCT_RETURN, STORE_RETURN_VALUE,
3847         EXTRACT_STRUCT_VALUE_ADDRESS, SAVED_PC_AFTER_CALL, FRAME_SAVED_PC,
3848         FRAME_ARGS_ADDRESS): Re-define using new functions.
3849
3850         * config/d10v/tm-d10v.h (BREAKPOINT_FROM_PC): Replace BREAKPOINT.
3851         (REGISTER_NAME): Replace REGISTER_NAMES.
3852
3853         * utils.c (core_addr_lessthan, core_addr_greaterthan): New
3854         functions.
3855         * defs.h (core_addr_lessthan, core_addr_greaterthan): Declare.
3856         
3857 Sat May 22 16:44:06 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3858
3859         * utils.c (n_spaces): Handle case where first call has N equal to
3860         zero.
3861         (print_spaces): Use n_spaces.
3862
3863 Fri May 21 11:23:54 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3864
3865         * valops.c (value_push): Remove conditional definition based on
3866         absense of macro PUSH_ARGUMENTS.  Pass SP and STRUCT_ADDR by
3867         reference.
3868         (default_push_arguments): New function.
3869
3870         * config/v850/tm-v850.h, config/tic80/tm-tic80.h,
3871         config/sparc/tm-sparc.h, config/sparc/tm-sp64.h,
3872         config/sh/tm-sh.h, config/rs6000/tm-rs6000.h, config/pa/tm-hppa.h,
3873         config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h,
3874         config/mips/tm-mips.h, config/m32r/tm-m32r.h,
3875         config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
3876         config/d30v/tm-d30v.h, config/d10v/tm-d10v.h, config/arm/tm-arm.h,
3877         config/alpha/tm-alpha.h: Update definition of PUSH_ARGUMENTS.
3878         Return updated SP.
3879
3880         * rs6000-tdep.c (rs6000_push_arguments): Rename push_arguments.
3881
3882 Thu May 20 12:18:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
3883
3884         * blockframe.c (get_prev_frame): Remove #ifdef around test for
3885         FRAMELESS_FUNCTION_INVOCATION.
3886         (get_prev_frame): Change FRAMELESS_FUNCTION_INVOCATION call to a
3887         function invocation.
3888         * i386-tdep.c (i386_frame_num_args), stack.c (frame_info): Ditto.
3889         * config/z8k/tm-z8k.h, config/w65/tm-w65.h, config/vax/tm-vax.h,
3890         config/sparc/tm-sparc.h, config/sh/tm-sh.h,
3891         config/rs6000/tm-rs6000.h, config/pa/tm-hppa.h,
3892         config/mips/tm-mips.h, config/m88k/tm-m88k.h,
3893         config/m68k/tm-m68k.h, config/i960/tm-i960.h,
3894         config/i386/tm-sun386.h, config/i386/tm-i386v.h,
3895         config/i386/tm-i386.h, config/h8500/tm-h8500.h,
3896         config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
3897         config/d30v/tm-d30v.h, config/d10v/tm-d10v.h,
3898         config/convex/tm-convex.h, config/arm/tm-arm.h,
3899         config/arc/tm-arc.h, config/alpha/tm-alpha.h,
3900         config/a29k/tm-a29k.h: Update FRAMELESS_FUNCTION_INVOCATION.
3901         * fr30-tdep.c (fr30_frameless_function_invocation), convex-tdep.c
3902         (convex_frameless_function_invocation), arm-tdep.c
3903         (arm_frameless_function_invocation): New functions.
3904
3905 1999-05-20  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
3906
3907         * top.c: Change dates in comments to ISO format.
3908
3909         * event-top.c: Ditto.
3910         * event-loop.c: Ditto.
3911         * main.c: Ditto.
3912         
3913 1999-05-19  Keith Seitz  <keiths@cygnus.com>
3914
3915         * config/mcore/tm-mcore.h (BELIEVE_PCC_PROMOTION): Define. We
3916         really do want to believe what gcc tells us about types...
3917
3918 1999-05-19  Keith Seitz  <keiths@cygnus.com>
3919
3920         * config/mcore/tm-mcore.h (FRAME_ARGS_ADDRESS): Define to a function.
3921          (FRAME_LOCALS_ADDRESS): Ditto.
3922         * mcore-tdep.c (mcore_frame_args_addcress): New function.
3923         (mcore_frame_locals_address): New function.
3924
3925         * monitor.c (monitor_open): Only assume we have eight
3926         breakpoints if the monitor implementation does not tell
3927         us how many there really are. Alloc memory for these
3928         dynamically.
3929         (monitor_close): Free memory associated with breakpoint
3930         storage.
3931         (monitor_insert_breakpoint): Don't rely on a hardcoded
3932         number of breakpoints.
3933         (monitor_remove_breakpoint): Ditto.
3934         (NUM_MONITOR_BREAKPOINTS): Removed and replaced with monitor_ops
3935         specification.
3936         * monitor.h (struct monitor_ops): Add new member so that the
3937         individual monitor implementations can tell us how many
3938         breakpoints the monitor supports.
3939
3940         * mcore-rom.c (init_picobug_cmds): Add number of breakpoints supported
3941         by picobug monitor.
3942
3943 1999-05-18  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
3944
3945         From Philippe De Muyter  <phdm@macqel.be>:
3946         * event-loop.h: Include sys/wait.h only if HAVE_SYS_WAIT_H.
3947         
3948 1999-05-17  Keith Seitz  <keiths@cygnus.com>
3949
3950         * configure.tgt: Add MCore target.
3951         * Makefile.in: Add mcore-tdep.c and mcore-rom.c
3952         * config/mcore/tm-mcore.h: New file.
3953         * config/mcore/mcore.mt: New file.
3954         * mcore-rom.c: New file.
3955         * mcore-tdep.c: New file.
3956
3957 1999-05-17  Fernando Nasser  <fnasser@totem.to.cygnus.com>
3958
3959         * top.c (print_command_line): Added the missing stream argument.
3960         * gdbcmd.h: Added argument to prototype.
3961         * command.c: Fixed call to include extra argument.
3962         * breakpoint.c: Same.
3963
3964 1999-05-14  Jim Blandy  <jimb@zwingli.cygnus.com>
3965
3966         Targets are #defining PREPARE_TO_PROCEED with inconsistent numbers
3967         of arguments.  Since the Mach 3 target needs an argument, we'll
3968         make things consistent by adding an argument everywhere.
3969         * infrun.c (proceed): Pass an argument to PREPARE_TO_PROCEED.
3970         * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Add ignored argument
3971         to definition.
3972
3973 1999-05-11  Stan Shebs  <shebs@andros.cygnus.com>
3974
3975         Fri Apr 23 13:27:34 PDT 1999  Toshiyasu Morita  (tm@netcom.com)
3976         * sh-stub.c: Mostly localize processor dependencies.
3977
3978 1999-05-10  Martin Hunt  <hunt@cygnus.com>
3979
3980         * debugify.c, debugify.h: Removed because they are no
3981         longer used.
3982
3983 1999-05-08  Jim Blandy  <jimb@zwingli.cygnus.com>
3984
3985         * infrun.c (_initialize_infrun): Handle TARGET_SIGNAL_LWP,
3986         TARGET_SIGNAL_WAITING, and TARGET_SIGNAL_CANCEL like SIGALRM or
3987         SIGIO --- pass them through to the inferior silently. 
3988         * target.h (enum target_signals): Add TARGET_SIGNAL_CANCEL, for
3989         Solaris's SIGCANCEL.
3990         * target.c (target_signal_from_host, target_signal_to_host): Add
3991         mapping between SIGCANCEL and TARGET_SIGNAL_CANCEL.
3992         (signals): Add entry for SIGCANCEL.
3993
3994 1999-05-07  Stan Shebs  <shebs@andros.cygnus.com>
3995
3996         After years of talking about it, finally break up the
3997         wait_for_inferior loop.
3998         * infrun.c (struct execution_control_state): New struct,
3999         holds what used to be local vars governing wfi behavior.
4000         (init_execution_control_state): New function, was code in
4001         wfi that set up execution control state.
4002         (handle_inferior_event): New function, was body of main
4003         wfi loop.  Rewrite all local var references to go through
4004         the ecs structure passed into this function.
4005         (wait_for_inferior): Rewrite to set up and use execution control
4006         state, and to call the new functions.
4007         (currently_stepping): New function, was the macro
4008         CURRENTLY_STEPPING.
4009         (enum infwait_states): Rename from wfi_states.
4010         (infwait_normal_state, etc): Similarly.
4011
4012 Thu May  6 15:25:32 1999  Philippe De Muyter  <phdm@macqel.be>
4013
4014         * coffread.c (coff_symtab_read): Call `record_line' with the line
4015         number of the ".bf" symbol only for one-line functions.
4016
4017 1999-05-06  Michael Snyder  <msnyder@cleaver.cygnus.com>
4018
4019         * Makefile.in: thread.o depends on target.h.
4020
4021 1999-05-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
4022
4023         * event-top.c (change_line_handler): Use POLLIN instead of
4024         POLLRDNORM, for compatibility with Linux.
4025         (setup_event_loop): Ditto.
4026
4027 1999-05-06  Jim Blandy  <jimb@zwingli.cygnus.com>
4028
4029         * mips-tdep.c (heuristic_proc_start): Rewrite cryptic error
4030         message about hitting the "heuristic fence post" with something
4031         that actually gives the user a fighting chance of figuring out
4032         why GDB is unhappy.
4033         
4034 1999-05-06  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
4035
4036         * top.c: Include event-loop.h.
4037         (init_main): Add async version of 'set prompt' command.
4038         If in async mode define the editing and annotate set 
4039         commands in a different way.
4040         Initialize new variable asyn_command_editing_p to 1.
4041         Initialize the gdb prompt for async mode.
4042         (quit_cover): Make not static, for use by the event loop.
4043         (gdb_init): Call async_init_signals for the asynchronous case.
4044         (source_line_number, source_file_name, source_error,
4045         source_pre_error, history_expansion_p): Make non-static, so
4046         event-top.c can use them.
4047         (command_loop_marker): Make non-static, for use in event-top.c.
4048         Include event-loop.h.
4049         
4050         * top.h: Add prototype for async_init_signals.
4051         (SET_TOP_LEVEL): Move here from main.c.
4052         Add setup_event_loop to exported functions.
4053
4054         * defs.h: Add async_hook to exported variables.
4055
4056         * main.c (SET_TOP_LEVEL): Move to top.h, so that it is visible in 
4057         event-loop.c.  Add new global variable async to determine whether 
4058         we are running in async mode or not.
4059         (main): Add support for --async switch. Use async_hook to call
4060         setup_event_loop, when running in async mode.
4061
4062         * event-top.c: New file. Gdb input line handler and command line
4063         handler for the event loop. Initialization of signal handlers.
4064         All the handled signals have handlers called handle_<signalname>.
4065         Set up all the appropriate tokens for asynchronous signal 
4066         handling.
4067                 
4068         * event-loop.h: New file. Data structures and definitions for the
4069         event loop.
4070
4071         * event-loop.c: New file. Functions for the event loop 
4072         implementation.
4073
4074         * config.in: Regenerate with autoheader.
4075
4076         * configure.in (AC_CHECK_FUNCS): Add poll to list of functions 
4077         to be checked for. 
4078
4079         * configure: Regenerate.
4080                                                         
4081         * Makefile.in (SFILES): Add new source files.
4082         (eventloop_h): Define.
4083         (COMMON_OBS): Add new object files.
4084         (event-loop.o): Add rule for target object.
4085         (event-top.o): Ditto.
4086
4087 1999-05-05  Stan Shebs  <shebs@andros.cygnus.com>
4088
4089         * infrun.c (wait_for_inferior): Transform breaks and continues
4090         into gotos, move the target_wait to the very top of the loop.
4091
4092 1999-05-05  Jonathan Larmour  <jlarmour@cygnus.co.uk>
4093
4094         * configure.in: Ensure that GDB links with libuser32.a under
4095         cygwin because libreadline requires it.
4096         * Makefile.in (WIN32LIBS): Substitute in result from configure
4097         * configure: regenerate
4098
4099 1999-05-04  Jim Blandy  <jimb@zwingli.cygnus.com>
4100
4101         Fix from John Rigby.  Richard Henderson says it seems okay.
4102         * alpha-tdep.c (PROC_DUMMY_FRAME): As long as we're abusing fields
4103         of (proc)->pdr, we ought to at least abuse one large enough to
4104         hold the value we're trying to store in it.  iopt is only 32 bits
4105         wide; cbLineOffset is a bfd_vma.
4106
4107 1999-05-04  DJ Delorie  <dj@cygnus.com>
4108
4109         DJGPP changes from Robert Hoehne  <robert.hoehne@gmx.net>
4110
4111         * ser-go32.c: correct includes
4112         * source.c (openp): use ROOTED_P instead of SLASH_P
4113         * go32-nat.c: enhance exception and NPX handling
4114         (go32_kill_inferior): fix small bug killing inferior
4115         * configure.in: don't look for termcap with djgpp
4116         * configure: rebuild
4117
4118 1999-05-04  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
4119
4120         * main.c (main): Comment out unused and undocumented command line
4121         option '-'.
4122
4123 1999-04-30  Jim Blandy  <jimb@zwingli.cygnus.com>
4124
4125         Cleanup from Philippe De Muyter:
4126         * configure.in (BFD_NEED_DECLARATION): Check also for strstr.
4127         * acconfig.h (NEED_DECLARATION_MALLOC, NEED_DECLARATION_REALLOC,
4128         NEED_DECLARATION_FREE, NEED_DECLARATION_STRERROR): Define slots
4129         removed; they are now generated automatically.
4130         * gdb_string.h (strstr): Provide function prototype if
4131         NEED_DECLARATION_STRSTR.
4132         * configure, config.in: Regenerated.
4133
4134 Fri Apr 30 11:16:09 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
4135
4136         * target.h (to_find_new_threads): new target ops vector.
4137         (target_find_new_threads): define.
4138         * target.c (update_current_target): inherit new target ops vector.
4139         * remote.c: Setup to_find_new_threads vector.
4140         * sol-thread.c: ditto.
4141         * thread.c (target_find_new_threads): rename: local_find_new_threads.
4142         (info_threads_command): call target_find_new_threads by new method,
4143         as a target ops vector, rather than previous macro definition method.
4144         * infcmd.c (go_command): define only if in xdb mode.
4145         * procfs.c: fix typo in comment.
4146         
4147 Fri Apr 30 01:02:05 1999  Jeffrey A Law  (law@cygnus.com)
4148
4149         * hppah-nat.c: Fix various coding convention violations introduced
4150         by HP.
4151         (child_acknowledge_created_inferior): Do nothing if PT_SET_EVENT_MASK
4152         is not defined.
4153
4154 1999-04-28  Stan Shebs  <shebs@andros.cygnus.com>
4155
4156         * TODO: Add some items inspired by review of the manual.
4157
4158 Tue Apr 27 17:38:19 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4159
4160         * config/z8k/tm-z8k.h, config/v850/tm-v850.h,
4161         config/tic80/tm-tic80.h, config/sparc/tm-sparc.h,
4162         config/sh/tm-sh.h, config/pyr/tm-pyr.h, config/pa/tm-hppa.h,
4163         config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h,
4164         config/mips/tm-mips.h, config/m88k/tm-m88k.h,
4165         config/m68k/tm-m68k.h, config/m32r/tm-m32r.h,
4166         config/i960/tm-i960.h, config/i386/tm-i386.h,
4167         config/h8500/tm-h8500.h, config/h8300/tm-h8300.h,
4168         config/fr30/tm-fr30.h, config/d30v/tm-d30v.h,
4169         config/d10v/tm-d10v.h, config/alpha/tm-alpha.h,
4170         config/arm/tm-arm.h, config/a29k/tm-a29k.h, config/arc/tm-arc.h:
4171         Change SKIP_PROLOGUE and SKIP_PROLOGUE_FRAMELESS_P macros so that
4172         they return the new address.
4173
4174         * sparc-tdep.c (sparc_skip_prologue), hppa-tdep.c
4175         (hppa_skip_prologue), m88k-tdep.c
4176         (m88k_skip_prologue), i960-tdep.c
4177         (i960_skip_prologue), arc-tdep.c
4178         (arc_skip_prologue), a29k-tdep.c (a29k_skip_prologue): Rename
4179         skip_prologue function.
4180
4181         * config/m68k/tm-isi.h: Convert macro SKIP_PROLOGUE into a new
4182         function.
4183         * m68k-tdep.c (isi_skip_prologue): That new function.
4184         * vax-tdep.c (vax_skip_prologue), config/vax/tm-vax.h: Ditto.
4185         * tahoe-tdep.c (tahoe_skip_prologue), config/tahoe/tm-tahoe.h: Ditto.
4186         * rs6000-tdep.c (rs6000_skip_prologue), config/rs6000/tm-rs6000.h:
4187         Ditto.
4188         * ns32k-tdep.c (umax_skip_prologue), config/ns32k/tm-umax.h: Ditto.
4189         * config/ns32k/tm-merlin.h, ns32k-tdep.c (merlin_skip_prologue):
4190         Ditto.
4191         * config/m68k/tm-altos.h, m68k-tdep.c (altos_skip_prologue): Ditto.
4192         * config/convex/tm-convex.h, convex-tdep.c (convex_skip_prologue):
4193         Ditto.
4194
4195         * symtab.c (in_prologue, find_function_start_sal, decode_line_1),
4196         infrun.c (wait_for_inferior), blockframe.c
4197         (frameless_look_for_prologue): Update.
4198         * config/fr30/tm-fr30.h (FRAMELESS_FUNCTION_INVOCATION): Update.
4199
4200 1999-04-27  Stan Shebs  <shebs@andros.cygnus.com>
4201
4202         * TODO: Remove item about DEBUG_EXPRESSIONS, no longer meaningful.
4203
4204         * infrun.c (enum wfi_state): New enum.
4205         (wait_for_inferior): Merge all but one of the target_wait calls
4206         into a single call, add a wfi_state variable to encode which of
4207         the calls is being made.
4208
4209 1999-04-26  Jim Blandy  <jimb@zwingli.cygnus.com>
4210
4211         Fix from Dave Holcomb.
4212         * hpux-thread.c (init_hpux_thread_ops): Use the right function
4213         name when initializing hpux_thread_ops.to_thread_alive.
4214
4215         * coffread.c (coff_symfile_read): If we have a `.stab' section,
4216         but no `.stabstr' section, then print an error message; don't
4217         crash.
4218
4219 1999-04-26  Jim Blandy  <jimb@zwingli.cygnus.com>
4220
4221         1999-04-25  Mark Kettenis  <kettenis@gnu.org>
4222
4223         * gnu-nat.c (gnu_attach): Call target_terminal_init before calling
4224         inf_set_traced, since that function calls code that might try to
4225         restore the terminal settings.
4226
4227 Mon Apr 26 08:55:46 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4228
4229         * gdbarch.h, gdbarch.c: More format cleanups.
4230
4231 Sun Apr 25 18:54:51 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4232
4233         * gdbarch.h (CALL_DUMMY_STACK_ADJUST_P): Replace
4234         SIZEOF_CALL_DUMMY_STACK_ADJUST_P.
4235         (CALL_DUMMY_STACK_ADJUST): Replace
4236         SIZEOF_CALL_DUMMY_STACK_ADJUST_P.
4237         * gdbarch.c (gdbarch_call_dummy_stack_adjust,
4238         set_gdbarch_call_dummy_stack_adjust): Define.
4239
4240 Fri Apr 23 15:00:25 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4241
4242         * gdbarch.c (arch_ok): New function. Fix logic test for a valid
4243         architecture.
4244         (set_arch): Use.
4245
4246 1999-04-22  Jason Molenda  (jsm@bugshack.cygnus.com)
4247
4248         * README: Note that readline is not installed as a part of
4249         make install.
4250
4251 Thu Apr 22 21:02:28 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4252
4253         * gdbarch.h, gdbarch.c (GET_SAVED_REGISTER, get_saved_register):
4254         Add.
4255         (struct gdbarch, verify_gdbarch, gdbarch_alloc, gdbarch_dump,
4256         default_gdbarch): Update.
4257
4258         * value.h (get_saved_register): Cleanup prototype.
4259         * findvar.c (default_get_saved_register): Rename function
4260         get_saved_register.
4261         (GET_SAVED_REGISTER): Define as default_get_saved_register when
4262         undefined.
4263         (get_saved_register): Always declare. Call GET_SAVED_REGISTER.
4264
4265         * sparc-tdep.c (sparc_get_saved_register): Rename function
4266         get_saved_register.
4267         * config/sparc/tm-sparc.h (GET_SAVED_REGISTER): Update.
4268         * a29k-tdep.c (a29k_get_saved_register): Rename function
4269         get_saved_register.
4270         * config/a29k/tm-a29k.h (GET_SAVED_REGISTER): Update.
4271
4272         * config/d10v/tm-d10v.h, config/powerpc/tm-ppc-eabi.h,
4273         config/h8300/tm-h8300.h, config/m32r/tm-m32r.h,
4274         config/mn10200/tm-mn10200.h, config/mn10300/tm-mn10300.h,
4275         config/sh/tm-sh.h, config/tic80/tm-tic80.h, config/v850/tm-v850.h:
4276         Update macro GET_SAVED_REGISTER so that it calls
4277         generic_get_saved_register.
4278         * v850-tdep.c, tic80-tdep.c, sh-tdep.c, mn10300-tdep.c,
4279         mn10200-tdep.c, m32r-tdep.c, h8300-tdep.c, rs6000-tdep.c: Delete
4280         function get_saved_register.
4281
4282 Thu Apr 22 13:32:23 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4283
4284         * gdbarch.c: Cleanup.  Re-order the definition of the ``struct
4285         gdbarch'' initialization functions so that maintenance is more
4286         straightforward.
4287         
4288 Thu Apr 22 11:07:21 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4289
4290         * gdbarch.h, gdbarch.c (use_generic_dummy_frames,
4291         USE_GENERIC_DUMMY_FRAMES): Add.
4292         (struct gdbarch, verify_gdbarch, gdbarch_alloc, gdbarch_dump,
4293         default_gdbarch): Update.
4294
4295         * config/v850/tm-v850.h, config/tic80/tm-tic80.h,
4296         config/sh/tm-sh.h, config/powerpc/tm-ppc-eabi.h,
4297         config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h,
4298         config/m32r/tm-m32r.h, config/h8300/tm-h8300.h,
4299         config/fr30/tm-fr30.h, config/d10v/tm-d10v.h: Give the
4300         USE_GENERIC_DUMMY_FRAMES macro the value one.
4301         * inferior.h (USE_GENERIC_DUMMY_FRAMES): Default to a value of
4302         zero.
4303
4304         * blockframe.c (generic_find_dummy_frame,
4305         generic_pc_in_call_dummy, generic_read_register_dummy,
4306         generic_push_dummy_frame, generic_pop_current_frame,
4307         generic_pop_dummy_frame, generic_frame_chain_valid,
4308         generic_get_saved_register): Always define.
4309
4310         * breakpoint.c (frame_in_dummy): Convert #ifdef
4311         USE_GENERIC_DUMMY_FRAMES to runtime test.
4312
4313         * rs6000-tdep.c (pop_frame, push_arguments, push_arguments,
4314         push_arguments, frame_saved_pc, rs6000_frame_chain,
4315         rs6000_frame_chain): Convert #ifdef USE_GENERIC_DUMMY_FRAMES to
4316         runtime test.
4317         (get_saved_register): Always define.
4318
4319 Wed Apr 21 17:15:52 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4320
4321         * gdbarch.c (gdbarch_dump): Fix robustness check on
4322         BELIEVE_PCC_PROMOTION_TYPE.
4323
4324 Wed Apr 21 15:39:27 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4325
4326         * gdbarch.h (TARGET_BYTE_ORDER_SELECTABLE_P): When multi-arch,
4327         force selectable byte order.
4328         (CALL_DUMMY): Check for CALL_DUMMY definition when multi-arch. Are
4329         incompatible.
4330         * gdbarch.c (verify_gdbarch): Check call_dummy_stack_adjust.
4331         
4332 Wed Apr 21 14:45:44 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4333
4334         * gdbarch.c (gdbarch_update): Move dump-arch code from here.
4335         (gdbarch_dump): To here.  Make more robust.
4336         * gdbarch.h (gdbarch_dump): Add prototype.
4337         
4338         * gdbarch.c (enum set_arch): Declare.
4339         (set_arch): Add type parameter.  Only disable
4340         ``target_architecture_auto'' when set_arch_manual.
4341         (set_architecture, set_architecture_from_arch_mach,
4342         set_architecture_from_file): Update.
4343         (set_arch): When ``gdbarch_debug'', gdbarch_dump() the current
4344         architecture.
4345
4346 Wed Apr 21 10:48:53 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4347
4348         * frame.h (generic_pc_in_call_dummy):  Make signature consistent
4349         with other pc_in_call_dummy functions by adding SP parameter.
4350         * blockframe.c (generic_pc_in_call_dummy): Update.  Pass SP and
4351         not FP to generic_find_dummy_frame().
4352         * breakpoint.c (frame_in_dummy): Update.
4353         * config/v850/tm-v850.h, config/tic80/tm-tic80.h,
4354         config/sh/tm-sh.h, config/mn10300/tm-mn10300.h,
4355         config/mn10200/tm-mn10200.h, config/m32r/tm-m32r.h,
4356         config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
4357         config/d10v/tm-d10v.h: Update PC_IN_CALL_DUMMY definition.
4358
4359 Tue Apr 20 12:15:45 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4360
4361         * config/d10v/tm-d10v.h (GDB_TARGET_IS_D10V): Move from here.
4362         * gdbarch.h (GDB_TARGET_IS_D10V): To here.  Implement using
4363         TARGET_ARCHITECTURE.
4364         (D10V_MAKE_DADDR, D10V_MAKE_IADDR): Provide fatal default
4365         definitions.
4366
4367         * valops.c (value_at): Replace #ifdef GDB_TARGET_IS_D10V code with
4368         runtime test.
4369         (value_fetch_lazy): Ditto.
4370         * values.c (unpack_long): Ditto.
4371         * printcmd.c (print_frame_args): Ditto.
4372
4373 Sat Apr 17 15:39:33 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4374
4375         * gdbarch.h: Cleanup multi-arch comments.
4376
4377 Fri Apr 16 15:39:10 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4378
4379         * gdbarch.h: Provide definition if GDB_MULTI_ARCH > 1 or
4380         GDB_MULTI_ARCH > 0 and no previous definition.
4381         * gdbarch.c (verify_gdbarch): Only verify a full multi-arch
4382         target.
4383
4384 1999-04-15  Stan Shebs  <shebs@andros.cygnus.com>
4385
4386         * infrun.c (wait_for_inferior) [HAVE_STEPPABLE_WATCHPOINT,
4387         HAVE_NONSTEPPABLE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT]: Test
4388         at runtime instead of compile time.
4389
4390 1999-04-14  Philippe De Muyter  <phdm@macqel.be>
4391
4392         * breakpoint.c (maintenance_info_breakpoints): Function made
4393         static to match previous prototype.
4394
4395         * coffread.c (coff_record_line): Static function removed.
4396         (enter_linenos): Call `record_line' instead of `coff_record_line'.
4397         (FILE-LEVEL, coff_start_symtab, coff_end_symtab): `coff_record_line'
4398         -related stuff removed.
4399         (coff_symfile_read): Redundant statement removed.
4400         (coff_symtab_read): `record_line' is now called with the first line
4401         number of each function, given by the ".bf" symbol.  This solves
4402         the line-number bug for one-line functions.
4403
4404 Wed Apr 14 11:09:45 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4405
4406         * gdbarch.h (BELIEVE_PCC_PROMOTION_TYPE, BELIEVE_PCC_PROMOTION):
4407         Add multi-arch definitions.
4408         * gdbarch.c (gdbarch_believe_pcc_promotion,
4409         gdbarch_believe_pcc_promotion_type): New functions.
4410         (gdbarch_update): Update
4411         (struct gdbarch default_gdbarch): Update.
4412
4413         * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Provide default.
4414         (define_symbol): Change #if BELIEVE_PCC_PROMOTION_TYPE and #if
4415         BELIEVE_PCC_PROMOTION to if().
4416
4417 1999-04-13  Jason Molenda  (jsm@bugshack.cygnus.com)
4418
4419         * configure.in (HAVE_MULTIPLE_PROC_FDS): Don't define if we're
4420         on a Solaris host (of any architecture).
4421         * configure: Regenerated.
4422
4423 Wed Apr 14 08:23:32 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4424
4425         * gdbarch.c (SET_GDBARCH, GET_GDBARCH, FSET_GDBARCH): New macros.
4426         (gdbarch_byte_order, gdbarch_long_bit, gdbarch_long_long_bit,
4427         gdbarch_ptr_bit, gdbarch_call_dummy_location,
4428         gdbarch_call_dummy_address, gdbarch_call_dummy_address,
4429         gdbarch_call_dummy_breakpoint_offset,
4430         gdbarch_call_dummy_breakpoint_offset, gdbarch_call_dummy_length,
4431         gdbarch_pc_in_call_dummy, dbarch_call_dummy_breakpoint_offset_p,
4432         dbarch_call_dummy_p, dbarch_call_dummy_words,
4433         dbarch_sizeof_call_dummy_words, dbarch_call_dummy_stack_adjust,
4434         dbarch_call_dummy_stack_adjust_p): Define using new macros.
4435         
4436 1999-04-13  Jason Molenda  (jsm@bugshack.cygnus.com)
4437
4438         * rom68k-rom.c (init_rom68k_cmds): Fix an accidental substitution
4439         in monitor command strings, fix some formatting mistakes.
4440
4441 1999-04-13  Stan Shebs  <shebs@andros.cygnus.com>
4442
4443         * configure.tgt (arm-*-*): Whack another vestige of wingdb.
4444
4445 1999-04-12  James Ingham  <jingham@cygnus.com>
4446
4447         * arm-tdep.c (arm_pop_frame): don't clobber the previous frame's
4448         stack pointer (stored in frame->framereg's register) BEFORE
4449         reading it.  This was causing "return" to behave very oddly.
4450
4451 1999-04-12  Stan Shebs  <shebs@andros.cygnus.com>
4452
4453         * NEWS: Mention tic80.
4454
4455 1999-04-12  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
4456
4457         * a68v-nat.c: Remove reference to 'extern char registers[]' throughout.
4458         * altos-xdep.c: Ditto.
4459         * arm-xdep.c: Ditto.
4460         * convex-xdep.c:  Ditto.
4461         * cxux-nat.c: Ditto.
4462         * hp300ux-nat.c: Ditto.
4463         * hppab-nat.c: Ditto.
4464         * i386aix-nat.c: Ditto.
4465         * i386mach-nat.c: Ditto.
4466         * m88k-nat.c: Ditto.
4467         * ptx4-nat.c: Ditto.
4468         * pyr-xdep.c: Ditto.
4469         * rs6000-nat.c: Ditto.
4470         * sun3-nat.c: Ditto.
4471         * sun386-nat.c: Ditto.
4472         * symm-nat.c: Ditto.
4473         * umax-xdep.c: Ditto.
4474         * i386v4-nat.c: Ditto. Also include inferior.h.
4475         * m68k-tdep.c: Ditto. Also include inferior.h.
4476
4477 Mon Apr 12 15:57:16 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4478
4479         * inferior.h (CALL_DUMMY_STACK_ADJUST, CALL_DUMMY_STACK_ADJUST_P):
4480         Provide default definitions.
4481         * valops.c (hand_function_call): Replace #ifdef
4482         CALL_DUMMY_STACK_ADJUST with if (CALL_DUMMY_STACK_ADJUST_P).
4483
4484         * gdbarch.h (SIZEOF_CALL_DUMMY_STACK_ADJUST,
4485         (SIZEOF_CALL_DUMMY_STACK_ADJUST_P): Define
4486         * gdbarch.c (struct gdbarch): Add call_dummy_stack_adjust,
4487         call_dummy_stack_adjust_p.
4488         (gdbarch_call_dummy_stack_adjust,
4489         set_gdbarch_call_dummy_stack_adjust,
4490         gdbarch_call_dummy_stack_adjust_p,
4491         set_gdbarch_call_dummy_stack_adjust_p): New functions.
4492         (default_gdbarch): Update.
4493
4494 1999-04-09  Jim Blandy  <jimb@zwingli.cygnus.com>
4495
4496         * ax-gdb.c, ax-gdb.h, ax-general.c, ax.h: Remove RCS Id strings.
4497         They're a pain.
4498
4499         * GDB 4.18 released.
4500         * Makefile.in (VERSION): Bump to 4.18.1.
4501
4502 Thu Apr  8 16:04:34 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4503
4504         * inferior.h (CALL_DUMMY_P, CALL_DUMMY_WORDS,
4505         SIZEOF_CALL_DUMMY_WORDS): Define macros.
4506         (PUSH_DUMMY_FRAME, FIX_CALL_DUMMY, STORE_STRUCT_RETURN): Provide
4507         fatal default.
4508
4509         * inferior.h, gdbarch.c (call_dummy_words,
4510         sizeof_call_dummy_words): Declare/Define variables.
4511         * valops.c (value_arg_coerce, find_function_addr,
4512         call_function_by_hand): Always define.
4513         (hand_function_call): Rename CALL_DUMMY version of
4514         call_function_by_hand.  Make static.  Add prototype.
4515         (hand_function_call): Update.  Allocate space for *dummy and
4516         *dummy1 using alloca.
4517         * breakpoint.c (frame_in_dummy): Update.
4518
4519         * gdbarch.h (CALL_DUMMY_P, CALL_DUMMY_WORDS,
4520         SIZEOF_CALL_DUMMY_WORDS): Define.
4521         * gdbarch.c (gdbarch_call_dummy_p, set_gdbarch_call_dummy_p,
4522         gdbarch_call_dummy_words, set_gdbarch_call_dummy_words,
4523         gdbarch_sizeof_call_dummy_words,
4524         set_gdbarch_sizeof_call_dummy_words): New functions.
4525         (gdbarch_alloc, verify_gdbarch, gdbarch_update, struct
4526         default_gdbarch): Update.
4527
4528 1999-04-08  Jason Molenda  (jsm@bugshack.cygnus.com)
4529
4530         * monitor.c (monitor_read_memory): If a MO_GETMEM_NEEDS_RANGE 
4531         monitor, increase the end address by one byte.
4532
4533 1999-04-08  Jason Molenda  (jsm@bugshack.cygnus.com)
4534
4535         * dbug-rom.c (init_dbug_cmds): Fix strings in 
4536         dbug_cmds.{step,clr_break,clr_all_break,fill} to send correct
4537         commands to the monitor.
4538
4539 1999-04-08  Keith Seitz  <keiths@cygnus.com>
4540
4541         * m32r-stub.c (branchDestination): Undo overly ambitious
4542         sed script's conversion of cast from "char" to "unsigned char".
4543         Return offset should now be properly computed.
4544
4545 Thu Apr  8 14:13:19 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4546
4547         * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): New macro.
4548         Non-zero when CALL_DUMMY_BREAKPOINT_OFFSET is valid.
4549
4550         * infcmd.c (breakpoint_auto_delete_contents): Always define.
4551         (run_stack_dummy): Update.
4552         * infrun.c (wait_for_inferior): Update
4553
4554         * gdbarch.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): New macro.
4555         * gdbarch.c (set_gdbarch_call_dummy_breakpoint_offset_p,
4556         gdbarch_call_dummy_breakpoint_offset_p): New functions.
4557         (struct gdbarch, gdbarch_alloc, default_gdbarch, gdbarch_update):
4558         Update.
4559
4560 1999-04-07  Stan Shebs  <shebs@andros.cygnus.com>
4561
4562         * MAINTAINERS: Mark Alexander can no longer maintain
4563         h8300 and other embedded targets, sniff.
4564
4565 1999-04-06  Stan Shebs  <shebs@andros.cygnus.com>
4566
4567         * inftarg.c (child_wait): Initialize execd_pathname.
4568         * target.c (debug_to_has_execd): Handle NULL execd_pathname.
4569
4570         * solib.c (clear_solib): Don't call disable_breakpoints_in_shlibs,
4571         this breaks rerunning on sun4 native.
4572
4573 1999-04-06  Jim Blandy  <jimb@zwingli.cygnus.com>
4574
4575         * config/sparc/nm-linux.h: Don't redefine PT_ATTACH to use the
4576         deprecated PTRACE_SUNATTACH compatibility commands.  The
4577         definitions from <sys/ptrace.h> are fine.
4578
4579 1999-04-06  Martin Hunt  <hunt@cygnus.com>
4580
4581         * annotate.h: Declare annotate_signal_hook.
4582
4583         * annotate.c (annotate_signal): Add a call to 
4584         annotate_signal_hook().
4585
4586 1999-04-06  Jim Blandy  <jimb@zwingli.cygnus.com>
4587
4588         * dwarf2read.c (dwarf_decode_lines): Don't call record_line when
4589         we hit a DW_LNE_end_sequence instruction.
4590
4591         * README: Note that GDB requires an ANSI C compiler, and explain
4592         how to get GCC.
4593
4594         * README: Update.
4595
4596 1999-04-05  Stan Shebs  <shebs@andros.cygnus.com>
4597
4598         * NEWS: Add more notes about user-visible changes.
4599
4600 Mon Apr  5 14:56:59 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
4601
4602         * target.c (target_signal_to_string): check for signal
4603         number in range; otherwise if the target board returns
4604         a bogus signal number we might core dump (per David Taylor).
4605
4606 1999-04-05  David Taylor  <taylor@ryobi.cygnus.com>
4607
4608         * utils.c (fputs_maybe_filtered): test value of
4609         pagination_enabled before paginating.
4610
4611 1999-04-02  James Ingham  <jingham@cygnus.com>
4612
4613         * blockframe.c (get_prev_frame): Remove the redundant
4614         get_prev_frame_info.  It is now exactly the same as
4615         get_prev_frame, so there is no reason to have both functions.
4616         
4617         * rs6000-tdep.c (rs6000_init_extra_frame_info): 
4618           frame.h: 
4619           a29k-tdep.c (init_extra_frame_info): 
4620           config/a29k/tm-a29k.h: 
4621           i386-tdep.c:
4622         Change all references to get_prev_frame_info to get_prev_frame.
4623         
4624 1999-04-02  Stan Shebs  <shebs@andros.cygnus.com>
4625
4626         * bcache.c, bcache.h, breakpoint.c, defs.h, expprint.c,
4627         expression.h, gdbarch.c, gdbtypes.c, gdbtypes.h, gnu-nat.c,
4628         gnu-nat.h, hppa-tdep.c, maint.c, monitor.c, objfiles.h, parse.c,
4629         remote-mips.c, remote-sds.c, remote.c, sol-thread.c, symmisc.c,
4630         symtab.h, target.c, top.c, typeprint.c, config/nm-gnu.h: Evaporate
4631         the unused MAINTENANCE_CMDS conditional.
4632
4633 1999-04-02  James Ingham  <jingham@cygnus.com>
4634
4635         * config/arm/tm-arm.h: (EXTRACT_STRUCT_VALUE_ADDRESS): This needs
4636         to call extract_address, not just cast the first 4 bytes, since
4637         the result will be passed to value_at which expects host-byte
4638         order. 
4639
4640         * arm-tdep.c (arm_scan_prologue): The prologue_start address was
4641         directly &'ed with 0x03fffffc, rather than using
4642         ADDR_BITS_REMOVE.  This would cause inferior function calls to
4643         report the stack incorrectly on return.
4644
4645
4646 1999-04-02  Keith Seitz  <keiths@cygnus.com>
4647
4648         * top.c (ui_loop_hook): Change declaration. Now returns an int.
4649         * win32-nat.c (child_wait): Timeout WaitForDebugEvent and call
4650         the ui_loop_hook if there was no debug event.
4651         * top.c (ui_loop_hook): Change to return an int and include
4652         on all non-Cygwin builds.
4653         * v850ice.c: Change prototype of ui_loop_hook.
4654         (v850ice_wait): Update call to ui_loop_hook.
4655         * ser-unix.c (hardwire_readchar): Enable ui_loop_hook callbacks
4656         for non-Cygwin builds. Check return status of ui_loop_hook and
4657         return a timeout if told to detach. Add more documentation.
4658         * ser-tcp.c (tcp_readchar): Break up timeouts into one second
4659         intervals and call ui_loop_hook so that other UIs can
4660         keep up to date. If ui_loop_hook returns non-zero, then
4661         return SERIAL_TIMEOUT to facilitate detaching from the
4662         target.
4663         * remote.c (remote_interrupted_already): Remove.
4664         (remote_interrupt_twice): Revive.
4665         (remote_interrupt): Call remote_stop to interrupt the target
4666         and install remote_interrupt_twice to take more severe
4667         actions if this fails.
4668         (remote_stop): Only attempt to stop the target. This separates
4669         the command line from other UIs.
4670         * remote-sim.c (gdb_os_poll_quit): Add a call to ui_loop_hook,
4671         if it is defined.
4672
4673 1999-04-01  Jim Blandy  <jimb@zwingli.cygnus.com>
4674
4675         Fix for cross-debugging on an AIX host from Johanna Svenningsson:
4676         * ax-gdb.h (enum axs_lvalue_kind): Remove trailing comma from enum.
4677         * ax.h (enum agent_op): Same.
4678         * tracepoint.h (enum actionline_type): Same.
4679         * config/xm-aix4.h: Add declaration for termdef.
4680
4681 1999-03-31  Stan Shebs  <shebs@andros.cygnus.com>
4682
4683         * jv-lang.h (dynamics_objfile): Remove decl, conflicts with static
4684         decl in jv-lang.c.
4685
4686         * infrun.c (follow_inferior_fork): Add ifdefs around
4687         SOLIB_REMOVE_INFERIOR_HOOK.
4688
4689 Wed Mar 31 11:39:49 1999  David Taylor  <taylor@ryobi.cygnus.com>
4690
4691         * valops.c (search_struct_field): revert HP merge change
4692         to this function -- it causes messages to be printed about
4693         member class ambiguity when the compiler is happy.
4694         (search_struct_field_aux): delete -- added as part of HP merge
4695         change; with aforementioned change it is no longer called.
4696
4697 1999-03-30  Stan Shebs  <shebs@andros.cygnus.com>
4698
4699         Make more HPUX-specific code generic.
4700         * infrun.c: Include top.h.
4701         (MAY_SWITCH_FROM_INFERIOR_PID, MAY_FOLLOW_EXEC,
4702         USE_THREAD_STEP_NEEDED): New native macros.
4703         (may_switch_from_inferior_pid, may_follow_exec,
4704         use_thread_step_needed): New globals.
4705         (follow_inferior_fork): Remove HPUXHPPA ifdef.
4706         (follow_exec): Ditto, also save run target and re-push instead of
4707         always pushing child_ops, add ifdefs around SOLIB_RESTART and
4708         SOLIB_CREATE_INFERIOR_HOOK.
4709         (wait_for_inferior): Use new globals instead of ifdefing HPUXHPPA,
4710         always use printf_filtered to report new threads.
4711         (normal_stop): Ditto.
4712         * target.h, target.c (find_run_target): New function.
4713         * config/pa/nm-hppah.h: Define new macros.
4714
4715 1999-03-29  Stan Shebs  <shebs@andros.cygnus.com>
4716
4717         * top.h: Include setjmp.h here.
4718         * main.c, top.c: Don't include it here.
4719
4720 1999-03-29  Keith Seitz  <keiths@cygnus.com>
4721
4722         * symtab.c (decode_line_1): Take out change which breaks symbols
4723         which include class names and methods, e.g., "Foo::bar".
4724
4725 1999-03-26  Stan Shebs  <shebs@andros.cygnus.com>
4726
4727         * configure.tgt (i[3456]86-*-sysv4.2MP, i[3456]86-*-sysv4.2uw2*):
4728         Recognize both, as i[3456]86-*-sysv4.2*.
4729         (i[3456]86-*-sysv5*): Recognize.
4730
4731         * infrun.c (wait_for_inferior): Remove most #if 0 segments.
4732
4733 Fri Mar 26 17:27:27 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4734
4735         * blockframe.c (pc_in_call_dummy_on_stack): Fix.  Had copied code
4736         from at_entry_point.
4737
4738 Thu Mar 25 19:30:02 1999  Andrew Cagney  <cagney@amy.cygnus.com>
4739
4740         * gdbarch.c: Include all headers.
4741         (struct gdbarch), gdbarch.h (CALL_DUMMY_LOCATION,
4742         CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET,
4743         CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LENGTH,
4744         PC_IN_CALL_DUMMY): Add ``call_dummy_location'',
4745         ``call_dummy_length'', ``pc_in_call_dummy'',
4746         ``call_dummy_start_offset'', ``call_dummy_breakpoint_offset'' to
4747         multi-arch framework.
4748
4749         * inferior.h, blockframe.c (pc_in_call_dummy_before_text_end,
4750         pc_in_call_dummy_after_text_end, pc_in_call_dummy_on_stack,
4751         pc_in_call_dummy_at_entry_point): Convert PC_IN_CALL_DUMMY macro's
4752         into functions.
4753
4754 Tue Mar 23 17:22:57 1999  Philippe De Muyter  <phdm@macqel.be>
4755
4756         * remote.c, parse.c: Include ctype.h.
4757
4758 1999-03-24  Stan Shebs  <shebs@andros.cygnus.com>
4759
4760         * configure.host (mips-dec-mach3*): Use mipsm3 not mach3.
4761
4762         Attempt to sort out SCO-related configs.
4763         * configure.host (i[3456]86-*-sysv4.2*): Use instead of
4764         i[3456]86-*-sysv4.2MP and i[3456]86-*-sysv4.2uw2*.
4765         (i[3456]86-*-sysv5*): Recognize.
4766         * configure.tgt (i[3456]86-*-sco3.2v5*, i[3456]86-*-sco3.2v4*):
4767         Recognize.
4768
4769 Wed Mar 24 16:19:01 1999  Christopher Faylor <cgf@cygnus.com>
4770
4771         * MAINTAINERS: Add DJ Delorie (dj@cygnus.com) as the djgpp
4772         maintainer.
4773
4774 Wed Mar 24 21:19:57 1999  Andrew Cagney  <cagney@amy.cygnus.com>
4775
4776         * target.h (enum target_signal): Do not hardwire values of MACH
4777         signals.
4778
4779 1999-03-14  Ken Raeburn  <raeburn@raeburn.org>
4780
4781         * target.h (enum target_signal): Add TARGET_SIGNAL_INFO.
4782         * target.c (signals): Add SIGINFO description.
4783         (target_signal_from_host, target_signal_to_host): Translate
4784         SIGINFO to/from TARGET_SIGNAL_INFO.
4785
4786 Wed Mar 24 01:01:27 1999  Andrew Cagney  <cagney@sludge.cygnus.com>
4787
4788         * rs6000-tdep.c (rs6000_software_single_step): Change SIGNAL to
4789         unsigned int.
4790
4791         From Rodney Brown <rodneybrown@pmsc.com>
4792         * target.h (enum thread_control_capabilities), breakpoint.h (enum
4793         bptype), breakpoint.c (enum insertion_state_t): Strict ISO-C
4794         doesn't allow trailing comma in enum definition.
4795         
4796 Mon Mar 22 15:56:04 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4797
4798         * blockframe.c (inside_entry_file, inside_entry_func): Convert #if
4799         CALL_DUMMY_LOCATION to if.
4800         * valops.c (call_function_by_hand): Ditto.
4801         * infcmd.c (run_stack_dummy): Ditto.
4802         * inferior.h (CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET,
4803         CALL_DUMMY_BREAKPOINT_OFFSET): Provide default.
4804
4805 1999-03-23  Jason Molenda  (jsm@bugshack.cygnus.com)
4806
4807         * hppa-tdep.c (pa_register_look_aside): Remove CPU_HPPA_RISC_20
4808         check, test for presence of struct save_state_t and the ss_wide 
4809         member directly.
4810         * configure.in:  Remove CPU_HPPA_RISC_20 test.  Add tests for
4811         HAVE_STRUCT_SAVE_STATE_T and HAVE_STRUCT_MEMBER_SS_WIDE.
4812         * acconfig.h: Add HAVE_STRUCT_SAVE_STATE_T HAVE_STRUCT_MEMBER_SS_WIDE.
4813         * configure, config.in: Regenerated.
4814
4815 Mon Mar 22 13:25:13 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
4816
4817         * infttrace.c (proc_wait): rename to ptrace_wait.
4818
4819 1999-03-18  Jim Blandy  <jimb@zwingli.cygnus.com>
4820
4821         * dwarf2read.c: Correctly recognize location expressions that
4822         designate LOC_REF_ARG arguments.  Doc fixes.
4823         (isderef): New global.  (Yuck.)
4824         (dwarf2_complex_location_expr): New complaint.
4825         (read_func_scope): Reject frame_base attributes that use the
4826         `deref' opcode as too complex.
4827         (new_symbol): If both regoff and isderef are set, and the base
4828         register is the frame pointer, then it's a LOC_REF_ARG argument.
4829         (decode_locdesc): Recognize the `deref' opcode in location
4830         expressions.  Complain if it's not the last op in the expression.
4831
4832         * config/fr30/tm-fr30.h (COERCE_FLOAT_TO_DOUBLE): #define this to
4833         be true, or else value_arg_coere won't respect the (accurate)
4834         information we have about whether a function is prototyped.
4835
4836 1999-03-17  Jim Blandy  <jimb@zwingli.cygnus.com>
4837
4838         * config/fr30/tm-fr30.h (STACK_ALIGN): Define this here, so
4839         calling functions by hand with odd-sized arguments doesn't munge
4840         the stack.
4841
4842 1999-03-17  Jason Molenda  (jsm@bugshack.cygnus.com)
4843
4844         * configure.in (HAVE_MULTIPLE_PROC_FDS): Don't define for Solaris
4845         hosts--gdb doesn't support this yet.
4846         * configure: Regenerated.
4847
4848 1999-03-16  Keith Seitz  <keiths@cygnus.com>
4849
4850         * remote.c (remote_binary_checked): New file global.
4851         (check_binary_download): New function to check if
4852         stub supports binary downloading that works with
4853         stubs that are not eight bit clean.
4854         (remote_write_bytes): Check for binary download capability
4855         and use it if available.
4856         Remove references to global remote_binary_length. What a hack.
4857         (putpkt_binary): New function.
4858         (putpkt): Call putpkt_binary.
4859         Use xor to escape trouble characters.
4860         * m32r-stub.c (bin2mem): Follow escape char convention change.
4861
4862 Tue Mar 16 01:11:33 1999  Andrew Cagney  <cagney@rhino.cygnus.com>
4863
4864         * target.h (struct target_ops), target.c (debug_to_query),
4865         remote.c (pack_hex_byte, remote_query): Promote char parameters to
4866         int.  Stops compile problems with pedantic ISO-C compilers.
4867         
4868 Tue Mar 16 15:29:04 1999  Stan Shebs  <shebs@andros.cygnus.com>
4869
4870         * go32-xdep.c: Remove, no longer used by anything.
4871         * Makefile.in: Remove references.
4872
4873         * jv-lang.c, jv-lang.h (java_primitive_type): Declare argument
4874         as int instead of char.
4875
4876 Mon Mar 15 11:42:43 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4877
4878         * d10v-tdep.c (push_stack_item, pop_stack_item): New function.
4879         (d10v_push_arguments): Use.
4880         
4881         From Martin M. Hunt  <hunt@cygnus.com>:
4882         * d10v-tdep.c (d10v_push_arguments): When arguments
4883         must be pushed onto the stack, they go on in
4884         reverse order.
4885
4886 1999-03-16  Jim Blandy  <jimb@zwingli.cygnus.com>
4887
4888         * symtab.c (make_symbol_overload_list): Don't try to stuff minimal
4889         or partial symbols into the overload list; we don't know their
4890         types.  (Thanks to Rajiv Mirani.)
4891
4892 1999-03-15  Jason Molenda  (jsm@bugshack.cygnus.com)
4893
4894         * acinclude.m4 (--with-itclconfig, --with-itkconfig, --with-tixconfig):
4895         Fix whitespace so --help messages line up.
4896         * configure.in (--with-cpu): Fix capitalization for --help messages.
4897         * configure, aclocal.m4: Regenerated.
4898
4899 Mon Mar 15 11:39:03 1999  Ian Carmichael  <iancarm@cygnus.com>
4900
4901         Support building gdb w/o simulator:
4902         * configure.in: Support --disable-sim. Check for sim directory.
4903         * Makefile.in (IGNORE_SIM, IGNORE_SIM_OBS): New.
4904         * acconfig.h (WITH_SIM): Define.
4905         * configure, config.in: Regenerate.
4906
4907 Mon Mar 15 08:01:33 1999  Elena Zannoni  <ezannoni@cygnus.com>
4908
4909         Patch from Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
4910
4911         * top.c (read_command_lines): Reset control_level to 0.
4912         (define_command): Don't do it here.
4913
4914 Sun Mar 14 16:12:15 1999  Andrew Cagney  <cagney@rhino.cygnus.com>
4915
4916         * hppah-nat.c (store_inferior_registers): Delete extern
4917         registers[] declaration.
4918
4919 Sun Mar 14 19:17:30 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4920
4921         * infrun.c (write_inferior_status_register): New function. Provide
4922         update access to an inf_status register buffer.  Only used by HP.
4923         * inferior.h (write_inferior_status_register): Add prototype.
4924
4925         * hppa-tdep.c (push_dummy_frame): Use
4926         write_inferior_status_register when hacking around a sleeping
4927         inferior.  Accidently fix byte-order problem.
4928
4929 Sun Mar 14 16:40:10 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4930
4931         * config/pa/tm-hppa.h (PUSH_DUMMY_FRAME): Fix parameter. Address
4932         not needed.
4933
4934 Fri Mar 12 13:11:48 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
4935
4936         * remote.c (remote_write_bytes): fix 'X' packet protocol so that it
4937         can't overwrite the end of its buffer with escaped characters.
4938
4939 1999-03-12  Jim Blandy  <jimb@zwingli.cygnus.com>
4940
4941         Alpha patches from Richard Henderson:
4942
4943         * alpha-tdep.c (alpha_skip_prologue): Recognize subq.
4944
4945         * config/alpha/tm-alpha.h (REGISTER_NAMES): No f31, but fpcr.
4946         (FPCR_REGNUM): New.
4947         (REGISTER_CONVERTIBLE): Don't convert fpcr.
4948         (REGISTER_VIRTUAL_TYPE): Don't make fpcr a double.
4949
4950         * stabsread.c (define_symbol): Only consider live range extension
4951         if we have an open parenthesis.
4952
4953 1999-03-11  Jim Blandy  <jimb@zwingli.cygnus.com>
4954
4955         * monitor.c (monitor_fetch_register): Print RDEBUG info correctly
4956         when the register name is null.
4957
4958 Thu Mar 11 19:33:07 1999  Stan Shebs  <shebs@andros.cygnus.com>
4959
4960         * infrun.c (wait_for_inferior): Change #if DECR_PC_AFTER_BREAK
4961         uses to expressions, remove redundant extern decls.
4962
4963 Thu Mar 11 18:05:11 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
4964
4965         * infptrace.c (proc_wait): Rename to ptrace_wait.
4966         * inftarg.c (child_wait): call ptrace_wait instead of proc_wait.
4967         * inferior.h: Declare ptrace_wait instead of proc_wait.
4968
4969 Thu Mar 11 11:46:25 1999  Andrew Cagney  <cagney@amy.cygnus.com>
4970
4971         * breakpoint.c (create_solib_load_unload_event_breakpoint,
4972         create_fork_vfork_event_catchpoint, tcatch_command,
4973         create_exception_catchpoint, break_at_finish_at_depth_command_1,
4974         catch_fork_command_1, ep_skip_leading_whitespace,
4975         break_at_finish_command_1, catch_exec_command_1,
4976         catch_exception_command_1, stop_command, stopin_command,
4977         stopat_command, ep_parse_optional_filename,
4978         ep_find_event_name_end, ep_parse_optional_if_clause,
4979         catch_fork_command_1), stack.c (show_and_print_stack_frame_stub,
4980         print_stack_frame_stub, print_only_stack_frame_stub,
4981         backtrace_command_1, backtrace_full_command, func_command),
4982         valprint.c (print_decimal), source.c (print_source_lines_base):
4983         Add prototype.
4984
4985         * stack.c (print_stack_frame_stub, show_and_print_stack_frame_stub,
4986         print_only_stack_frame_stub): Make param void*.
4987
4988 Wed Mar 10 19:33:28 1999  Geoffrey Noer  <noer@cygnus.com>
4989
4990         * win32-nat.c: If old Cygwin Win32 API headers aren't being used,
4991          define some gdb-specific defines that shouldn't have been in the
4992          global headers.
4993
4994 Wed Mar 10 21:20:25 1999  Andrew Cagney  <cagney@b1.cygnus.com>
4995
4996         * findvar.c (registers, register_valid): Replace array with pointer.
4997         (build_findvar): New function.  Allocate space for REGISTERS and
4998         REGISTER_VALID.
4999         (_initialize_findvar): Call build_findvar.
5000         (_initialize_findvar): Register REGISTERS and REGISTER_VALID as
5001         arch dependant.
5002         
5003         * inferior.h (registers, register_valid): Replace array with
5004         pointer.
5005
5006         * inferior.h (struct inferior_status): Move definition from here.
5007
5008         * infrun.c (struct inferior_status): To here.
5009         (struct inferior_status): Change ``stop_registers'' and
5010         ``registers'' to pointers.
5011         (xmalloc_inferior_status, free_inferior_status): New functions.
5012         (restore_inferior_status): Call free_inferior_status.
5013         (save_inferior_status): Call xmalloc_inferior_status.
5014         (discard_inferior_status): New function, discard inf_status
5015         buffer.  Call free_inferior_status.
5016         
5017         * inferior.h (stop_registers): Replace array with pointer.
5018         * infrun.c (stop_registers): Update.
5019         (build_infrun): Initialize stop_registers.
5020         (_initialize_infrun): Call build_infrun.
5021         (_initialize_infrun): Register ``stop_registers'' as arch dependant.
5022
5023 Wed Mar 10 14:50:42 1999  Andrew Cagney  <cagney@amy.cygnus.com>
5024
5025         * alpha-tdep.c (alpha_linux_sigtramp_offset): Only compile when
5026         LINUXALPHA target. Hack.
5027
5028         * infrun.c (set_follow_fork_mode_command): Make static.  Add
5029         prototype.
5030         * tracepoint.c (add_register): Ditto.
5031         * valprint.c (strcat_longest): Comment out.  Does not appear to be
5032         used.
5033         * valops.c (find_method_list): Make static.  Add prototype.
5034         * thread.c (target_find_new_threads): Make static.  Add prototype.
5035         * stack.c (stack_publish_stopped_with_no_frame,
5036         select_and_maybe_print_frame): Comment out.  Does not appear to be
5037         used.
5038         (current_frame_command): Add prototype.
5039         * breakpoint.c (break_at_finish_command,
5040         break_at_finish_at_depth_command, tbreak_at_finish_command): Make
5041         static.  Add prototype.
5042         * findvar.c (read_relative_register_raw_bytes_for_frame): Ditto.
5043
5044 Wed Mar 10 23:38:54 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5045
5046         * corefile.c (registers): Delete redundant variable declaration.
5047         * inferior.h (run_stack_dummy): Change array argument to pointer.
5048         * infcmd.c (run_stack_dummy): Update.
5049         * value.h (value_being_returned): Change RETBUF to a pointer.
5050         * values.c (value_being_returned): Update.
5051
5052 Wed Mar 10 11:08:16 1999  Andrew Cagney  <cagney@amy.cygnus.com>
5053
5054         * source.c (list_command): GCC suggested explicit braces to avoid
5055         ambiguous `else'.
5056
5057         * jv-typeprint.c: Include "c-lang.h".
5058         * Makefile.in (jv-typeprint.o): Add dependency.
5059         * jv-valprint.c: Include "gdbcore.h", "annotate.h".
5060         * Makefile.in (jv-valprint.o): Add dependencies.
5061         * objfiles.c: Include "breakpoint.h".
5062         * Makefile.in (objfiles.o): Add dependency.
5063         * main.c: Include <unistd.h>.
5064         * parse.c: Include <ctype.h>.
5065         * remote.c: Include <ctype.h>.
5066         * ser-tcp.c: Include <unistd.h>.
5067         * ax-general.c: Include "value.h".
5068         * Makefile.in (ax-general.o): Add dependency.
5069
5070         * alpha-tdep.c (alpha_push_arguments): Make ``i'' an int instead
5071         of a register.
5072         * frame.h (show_and_print_stack_frame): Add function prototype.
5073         * language.h (language_enum): Add function prototype.
5074         * value.h (find_overload_match): Add function prototype.
5075
5076         * defs.h, utils.c (subset_compare): Rename subsetCompare. Add
5077         prototype.
5078         * stack.c (backtrace_command): Update.
5079
5080 Wed Mar 10 13:58:36 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5081
5082         * configure.in (AC_CHECK_HEADERS): Check for <sys/select.h>
5083         * configure, config.in: Re-generate.
5084         * inflow.c: Conditionally include <sys/select.h>.
5085
5086 Wed Mar 10 13:44:38 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5087
5088         * frame.h (struct dummy_frame): Move from here.
5089         * blockframe.c (struct dummy_frame): To here.
5090
5091         * blockframe.c (struct dummy_frame): Replace ``regs'' with pointer
5092         ``registers''.
5093         (generic_pop_dummy_frame): Free it.
5094         (generic_push_dummy_frame): Allocate dummy frame register buffer.
5095
5096 Wed Mar 10 11:08:16 1999  Andrew Cagney  <cagney@amy.cygnus.com>
5097
5098         * thread.c (_initialize_thread): Delete redundant ``extern struct
5099         cmd_list_element *cmdlist''.
5100         * printcmd.c (print_command_1): Ditto for ``objectprint'';
5101
5102 1999-03-09  Stan Shebs  <shebs@andros.cygnus.com>
5103
5104         * MAINTAINERS: New file, list of maintainers and areas they
5105         maintain.
5106
5107 1999-03-09  Rodney Brown  <RodneyBrown@pmsc.com>
5108
5109         Get working on UnixWare 2.1.1.
5110         * acconfig.h: Update for defines for procfs.c.
5111         * configure.in: Identify defines for procfs.c.
5112         * configure.host: i386-*-sysv4.2uw2* => i386v42mp
5113         * configure.tgt:  i386-*-sysv4.2uw2* => i386v42mp
5114         * configure, config.in: Regenerate.
5115         * procfs.c: Rename HAVE_NO_PRRUN_T to HAVE_PRRUN_T (autoconf
5116         standard), wrap UNIXWARE difference in THE_PR_LWP macro for
5117         legibility.
5118         * config/i386/tm-i386v42mp.h: Remove HAVE_PSTATUS_T,
5119         HAVE_NO_PRRUN_T; now set by configure.
5120
5121 Tue Mar  9 16:29:24 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5122
5123         * i386-tdep.c (gdb_print_insn_i386): Abort when disassembly_flavor
5124         undefined..
5125
5126         * fr30-tdep.c (_initialize_fr30_tdep): Add prototype.  Fix
5127         coding style.
5128
5129         * target.c (debug_to_enable_exception_callback,
5130         debug_to_get_current_exception_event): Return result of call to
5131         debug_target().
5132
5133 1999-03-09  Jim Blandy  <jimb@zwingli.cygnus.com>
5134
5135         Another HURD fix from Mark Kettenis:
5136         * gnu-nat.c: Include <string.h>.  Remove declaration of strerror.
5137         Include <bits/waitflags.h> instead of <waitflags.h> and define
5138         _SYS_WAIT_H to prevent the warning that we should not include it.
5139         (gnu_create_inferior): Change return type of attach_to_child to
5140         void.  Do not return INFERIOR_PID.
5141         (gnu_pid_to_exec_file): Change return type to char *.
5142         Return NULL.
5143
5144         Fix for the HURD from Mark Kettenis:
5145         * configure.in: Add AC_PROG_AWK.  Needed by the machine-dependent
5146         makefile fragments for the Hurd.
5147         * Makefile.in (AWK): Add.  Set by configure.
5148         * configure: Regenerated.
5149
5150 1999-03-08  Jason Molenda  (jsm@bugshack.cygnus.com)
5151
5152         * infttrace.c (hppa_get_process_events): Removed. Function only
5153         usable on HPUX 10 and above.  It is not called by any other part
5154         of GDB.
5155         * hppah-nat.c (hppa_get_process_events): Ditto.
5156         (child_pid_to_exec_file): Only call ptrace with
5157         PT_GET_PROCESS_PATHNAME if that symbol has been defined.
5158         * config/pa/nm-hppah.h: Don't set up prototypes et al for 
5159         hppa_get_process_events.
5160
5161         * config/pa/hppahpux.mh (TERM_LIB): Do not initialize, let autoconf
5162         determine best library automatically.
5163         * config/pa/hpux1020.mh: Ditto.
5164         * config/pa/hpux1100.mh: Ditto.
5165         * configure.in (TERM_LIB): Also check for libHcurses.
5166         * configure: Regenerated.
5167
5168 Thu Mar  4 17:16:04 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
5169
5170         * m32r-stub.c: add support for crc "Compare" command.
5171
5172 1999-03-04  Jim Blandy  <jimb@zwingli.cygnus.com>
5173
5174         * fr30-tdep.c (fr30_store_return_value): Allocate zeroes
5175         dynamically, to save BSS space, and to remove assumptions about
5176         the size of the largest value we'll return.
5177
5178         * config/fr30/tm-fr30.h (fr30_store_return_value): Use PARAMS in
5179         prototype.
5180
5181 Thu Mar  4 08:37:35 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5182
5183         * sh3-rom.c (sh3_supply_register, sh3_supply_register),
5184         mips-tdep.c (mips_push_arguments), m32r-rom.c
5185         (m32r_upload_command), m32r-tdep.c (decode_prologue), monitor.c
5186         (longlong_hexchars), tracepoint.c (validate_actionline,
5187         read_actions), mdebugread.c
5188         (parse_symbol), jv-typeprint.c
5189         (java_type_print_base, java_type_print_base), mdebugread.c
5190         (parse_symbol), top.c (source_command), utils.c
5191         (floatformat_to_doublest): GCC suggest explicit braces to avoid
5192         ambiguous `else'.
5193         
5194         * tracepoint.c (map_args_over_tracepoints, trace_actions_command),
5195         m32r-rom.c (m32r_supply_register), win32-nat.c
5196         (handle_output_debug_string, child_continue), i960-tdep.c
5197         (pop_frame), m32r-rom.c (m32r_upload_command): GCC suggested
5198         parentheses around assignment used as truth value.
5199
5200         * remote-sds.c (sds_wait), monitor.c (monitor_fetch_register),
5201         ser-e7kpc.c, (dosasync_write), arc-tdep.c (arc_get_frame_setup):
5202         GCC suggested parentheses around operands.
5203
5204         * c-typeprint.c (c_type_print_base): GCC suggested enclosing
5205         "while" expression in paren.
5206
5207 Wed Mar  3 18:14:33 1999  Andrew Cagney  <cagney@chook.cygnus.com>
5208
5209         * sol-thread.c (save_inferior_pid): Cast the saved pid to void*.
5210         (restore_inferior_pid): Takes void* as required by make_cleanup.
5211         Casts pid back to an int.
5212
5213         * procfs.c (make_cleanup_close_proc_file,
5214         close_proc_file_cleanup): Create a proc_file cleanup.
5215         (info_proc): Use.
5216
5217         * defs.h (make_cleanup_freeargv): Helper function.  Establish
5218         cleanup using freeargv.  Can not just typecast/pass freeargv as it
5219         violates ISO-C.
5220         * utils.c (do_freeargv): Helper.
5221         (make_cleanup_freeargv): New function.
5222
5223         * symmisc.c (maintenance_print_symbols,
5224         maintenance_print_psymbols, maintenance_print_msymbols), symfile.c
5225         (symbol_file_command), stack.c (backtrace_command), remote-sim.c
5226         (gdbsim_create_inferior, gdbsim_open), remote-mips.c
5227         (common_open), procfs.c (info_proc), infrun.c (handle_command,
5228         xdb_handle_command), exec.c (exec_file_attach): Call
5229         make_cleanup_freeargv.
5230
5231 1999-03-03  James Ingham  <jingham@cygnus.com>
5232
5233         * i386-tdep.c (_initialize_i386_tdep): Set the inital value for
5234         disassembly flavor at startup, rather than hardcoding it.
5235
5236 1999-03-03  Jim Blandy  <jimb@zwingli.cygnus.com>
5237
5238         Put return values in the right place.
5239         * fr30-tdep.c (fr30_store_return_value): New function.
5240         * config/fr30/tm-fr30.h (STORE_RETURN_VALUE): Call
5241         fr30_store_return_value.
5242
5243 Wed Mar  3 18:10:55 1999  Andrew Cagney  <cagney@chook.cygnus.com>
5244
5245         * gdbtypes.c (virtual_base_list_aux): Return void.  Add prototype.
5246
5247         * breakpoint.c (map_catch_names): Comment out unused function.
5248
5249 1999-03-02  Jason Molenda  (jsm@bugshack.cygnus.com)
5250
5251         * hppa-tdep.c (pa_register_look_aside): Only refer to save_state_t
5252         structure on PA 2.0 systems.
5253
5254 1999-03-02  Stan Shebs  <shebs@andros.cygnus.com>
5255
5256         From Gary Thomas  <gthomas@cygnus.co.uk>:
5257         * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT,
5258         THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Use illegal instruction
5259         instead of SWI 24.
5260         * config/arm/tm-arm.h (CALL_DUMMY): Ditto.
5261         (IN_SIGTRAMP): Define.
5262
5263 1999-03-02  Nick Clifton  <nickc@cygnus.com>
5264
5265         * findvar.c (store_address): Delete incorrect big endian
5266         code. 
5267
5268 Tue Mar  2 18:02:42 1999  Andrew Cagney  <cagney@chook>
5269
5270         * configure.in (gdb_cv_os_cygwin): Compat.  Continue to reconize
5271         __CYGWIN32__.
5272
5273 1999-03-01  Jason Molenda  (jsm@bugshack.cygnus.com)
5274
5275         * configure.in: Move setting of gdb_cv_os_cygwin to before
5276         setting of TERM_LIB.  Check for __CYGWIN__ instead of __CYGWIN32__.
5277         * configure: Regenerated.
5278
5279 1999-03-01  DJ Delorie  <dj@cygnus.com>
5280
5281         * configure.in: Change -cygwin32* to -cygwin*.
5282         * configure: Ditto.
5283
5284 1999-02-25  Stan Shebs  <shebs@andros.cygnus.com>
5285
5286         * breakpoint.c (SOLIB_LOADED_LIBRARY_PATHNAME,
5287         SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_CREATE_CATCH_LOAD_HOOK,
5288         SOLIB_CREATE_CATCH_UNLOAD_HOOK): Supply default definitions.
5289         * infrun.c (SOLIB_IN_DYNAMIC_LINKER): Ditto.
5290
5291 1999-02-25  Keith Seitz  <keiths@cygnus.com>
5292
5293         * corelow.c (core_close): Clear out solib state before
5294         closing the bfd associated with the core file.
5295         * solib.c (clear_solib): Mention that clear_solib requires
5296         an open BFD in order for disable_breakpoints_in_shlibs to
5297         determine whether breakpoints live in shared libraries.
5298
5299 1999-02-24  Jason Molenda  (jsm@bugshack.cygnus.com)
5300
5301         * configure.in: Set CPU_HPPA_RISC_20 if the host CPU is a PA 2.0 
5302         processor.
5303         * acconfig.h: Add CPU_HPPA_RISC_20
5304         * config.in, configure: Regenerated.
5305         * hppa-tdep.c (pa_register_look_aside): Only refer to new 
5306         structure elements if we are on a PA2.0 system.
5307         * defs.h: Include limits.h.
5308
5309 Tue Feb 23 14:37:08 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
5310
5311         * infrun.c (wait_for_inferior): Check scheduler_locking state 
5312         before resuming after a thread-specific breakpoint.
5313
5314 1999-02-23  Jim Blandy  <jimb@zwingli.cygnus.com>
5315
5316         * aclocal.m4, config.in, configure: Regenerated with latest
5317         autotools.
5318
5319 Mon Feb 22 12:32:19 1999  Per Bothner  <bothner@cygnus.com>
5320
5321         * jv-valprint.c (java_val_print):  Restore line that somehow got lost.
5322
5323         * jv-valprint.c (java_print_value_fields):  Check for NULL type.
5324
5325 1999-02-21  Jim Blandy  <jimb@zwingli.cygnus.com>
5326
5327         * tm-h8500.h, i386lynx-nat.c: Removed.  These files are long
5328         dead; it seems that they only appeared due to some CVS weirdness.
5329         If they appear again, we may need to distribute garlic and holy
5330         water.
5331
5332 1999-02-19  Jason Molenda  (jsm@bugshack.cygnus.com)
5333
5334         * configure.in (TERM_LIB): Move checking for TERM_LIB, substituting.
5335         * configure: Regenerated.
5336
5337 1999-02-19 Robert Hoehne (robert.hoehne@gmx.net)
5338
5339         * configure.host (i[3456]86-*-msdosdjgpp*): New host.
5340         * configure.tgt (i[3456]86-*-msdosdjgpp*): New target.
5341         * go32-nat.c: New file, native DJGPP support.
5342         * config/i386/go32.mh: Rewrite for DJGPP (go32) host.
5343         * config/i386/go32.mt: New file, DJGPP (go32) target.
5344         * config/i386/nm-go32.h: New file.
5345         * config/i386/tm-go32.h: New file.
5346         * config/i386/xm-go32.h: Rewritten for current DJGPP.
5347
5348 1999-02-18  Jason Molenda  (jsm@bugshack.cygnus.com)
5349
5350         * reply_mig_hack.awk, config/nm-gnu.h, config/alpha/nm-linux.h
5351         config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h
5352         config/i386/nm-i386sco5.h, config/i386/tm-fbsd.h, config/i386/tm-i386.h
5353         config/powerpc/nm-aix.h, config/powerpc/tm-macos.h
5354         config/powerpc/tm-ppc-aix.h, config/powerpc/xm-aix.h
5355         config/rs6000/tm-rs6000-aix4.h, testsuite/gdb.chill/tests1.ch
5356         testsuite/gdb.chill/tests2.ch, testsuite/gdb.chill/tests2.exp:
5357         Update FSF address in copyright notices.
5358
5359 1999-02-18  Jason Molenda  (jsm@bugshack.cygnus.com)
5360
5361         * configure.in: Quote "$GCC" correctly.
5362         * configure: Regenerated.
5363
5364 1999-02-18  Jim Blandy  <jimb@zwingli.cygnus.com>
5365
5366         * dbxread.c (elfstab_build_psymtabs): Don't assume that there's a
5367         section named ".text", which has all the code in it.  Instead, look
5368         at all the sections in the file with the `code' flag set.
5369         (find_text_range): New function, that does all the work.
5370
5371 Thu Feb 18 17:50:45 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5372
5373         * mips-tdep.c (FP_REGISTER_DOUBLE): Conditionally define.
5374
5375 Fri Jan 29 16:51:11 1999  Andrew Cagney  <cagney@chook.cygnus.com>
5376
5377         * mips-tdep.c (return_value_location): New function. Merge/rewrite
5378         of return-value code in mips_extract_return_value,
5379         mips_store_return_value.  Stop buffer overflow when 64 bit value
5380         in 32 bit registers.  Extract 64bit float from 32 bit register
5381         pair of correct order.
5382         (mips_extract_return_value, mips_store_return_value): Call
5383         return_value_location.  For store, ensure that remainder of
5384         register is zero.
5385         
5386 Wed Feb 17 10:10:27 1999  Stu Grossman  <grossman@babylon-5.cygnus.com>
5387
5388         * gdbtypes.h (get_discrete_bounds):  Remove duplicate decl.
5389
5390         * jv-typeprint.c (java_type_print_base):  Change fputs => fputs_filtered.
5391         
5392 Mon Jan 25 18:30:57 1999  Per Bothner  <bothner@cygnus.com>
5393
5394         * jv-lang.h (JAVA_OBJECT_SIZE):  Change from hard-wired constant.
5395         (java_primitive_type_from_name, get_java_object_header_size):  Declare.
5396         * jv-lang.c (java_class_from_object):  Use get_java_object_type.
5397         * jv-lang.c:  Update Class field names:  dtable->vtable,
5398         msize->method_count, nfields->field_count, bfsize->size_in_bytes,
5399         nmethods->method_count.
5400         (type_from_class):  Demangle array type names.
5401         (java_link_class_type):  Array type names are now demangled.
5402         (get_java_object_type):  If not defined yet, try looking it up.
5403         (get_java_object_header_size):  New function.
5404         (java_primitive_type_from_name):  New function.
5405         (java_demangled_signature_length, java_demangled_signature_copy): New.
5406         (java_demangle_type_signature):  Re-implement using above functions.
5407         (evaluate_subexp_java):  For UNOP_IND, call evaluate_subexp_java
5408         to evaluate subexp (not evaluate_subexp_standard).
5409         For BINOP_SUBSCRIPT update for new array type naming scheme.
5410         * jv-valprint.c (java_value_print):  Use java_class_from_object.
5411         Update array printing to new array type naming convention.
5412         (java_val_print):  Doing check_typedef when printing a pointer is
5413         is a waste of effort.  Also, handle TYPE_CODE_INT, to make sure
5414         Java bytes as not printed as C chars.
5415
5416 Fri Jan  8 16:58:22 1999  Stu Grossman  <grossman@babylon-5.cygnus.com>
5417
5418         * blockframe.c (find_pc_sect_partial_function):  Search full symtabs as
5419         a last ditch effort (after the partial & minimal symtabs).
5420         * defs.h utils.c:  Fixup prototypes for vprintf_filtered,
5421         vfprintf_filtered, vfprintf_unfiltered and vprintf_unfiltered to return
5422         ints to match their standard equivalents.
5423         * defs.h symtab.c top.c:  Create skip_prologue_hook to allow Java to
5424         control the prologue skipping process.
5425         * jv-typeprint.c (java_type_print_base):  Remove extern for
5426         jv_class_demangle, add new arg for objfile (NULL).
5427         * symtab.h:  Remove struct sourcevector and struct source.  Definately
5428         not needed.
5429         * values.c (value_virtual_fn_field):  Fixes code to handle new vtable
5430         debug info format.  Patch from marka.
5431         
5432 Wed Dec 16 23:11:25 1998  Stu Grossman  <grossman@fencer.cygnus.com>
5433
5434         * jv-lang.c (java_class_from_object java_class_is_primitive
5435         is_object_type):  Change dtable to vtable.
5436         * (java_primitive_type):  Change arg to type char.
5437         * (_initialize_java_language):  Make java_char_type be unsigned.
5438         * jv-lang.h:  Fixup prototypes.
5439         
5440 Mon Dec  7 19:02:15 1998  Stu Grossman  <grossman@babylon-5.cygnus.com>
5441
5442         * jv-valprint.c (java_value_print):  Fix printing of values where
5443         run time type != compile time type.
5444
5445 Fri Dec  4 15:23:38 1998  Stu Grossman  <grossman@fencer.cygnus.com>
5446
5447         * Makefile.in:  Whack out m2-typeprint.c.
5448         * c-typeprint.c (c_type_print_varspec_suffix) typeprint.h:  Make this
5449         global.  It's needed by Java.
5450         * (c_type_print_base):  Whack prefix off of qualified method names
5451         (names with name spaces).
5452         * gdbtypes.h (struct cplus_struct_type):  Add bits for Java attributes.
5453         Shrink voffset
5454         to 16 bits to compensate for added bits above (hopefully this is still
5455         enough).
5456         * Add new accessor macros (TYPE_FND_FIELD_PUBLIC, ...) for all new
5457         attribute bits.
5458         * jv-typeprint.c (java_type_print_base):  Fix printing of method
5459         attributes.  Handle JVM style manglings.
5460         * (java_print_type):  Enable code type print varspec_suffix to allow
5461         array indices to print out.
5462         * jv-valprint.c (java_val_print):  Minor formatting.
5463         * m2-lang.c (m2_language_d):  Change m2_print_type to c_print_type.
5464         * stabsread.c (read_member_functions):  Save public and static attributes.
5465         
5466 Wed Feb 17 15:32:57 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5467
5468         * breakpoint.c (watch_command_1): Reformat comment.
5469
5470         * c-typeprint.c (c_type_print_base): Reformat comments.
5471
5472 1999-02-17  Jim Blandy  <jimb@zwingli.cygnus.com>
5473
5474         * Makefile.in (VERSION): Bump version to 4.17.2.
5475
5476 Tue Feb 16 15:48:20 1999  Edith Epstein  <eepstein@sophia.cygnus.com>
5477  
5478         * config/pa/nm-hppah.h: Added prototype declarations for
5479         hppa_enable_page_protection_events and 
5480         hppa_disable_page_protection_events.
5481  
5482         * inftarg.c (child_wait): Fixed code that checks whether
5483         or not the target program has done a fork/vfork. 
5484         related_pid  does not have a value unless the target 
5485         program has forked/vforked.
5486  
5487         * infttrace.c (hppa_insert_hw_watchpoint): Make sure that
5488         function always returns a value.
5489         (hppa_remove_hw_watchpoint): Make sure that function always
5490         returns a value.
5491
5492 Tue Feb 16 06:31:58 1999  Keith Seitz  <keiths@cygnus.com>
5493
5494         * config/powerpc/tm-ppc-eabi.h: Do not define PC_IN_CALL_DUMMY,
5495         let the generic call dummy infrastructure do it.
5496
5497 Sun Feb 14 18:21:08 1999  Mark Alexander  <marka@cygnus.com>
5498
5499         * config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
5500         coffread.c will correctly handle char or short function parameters.
5501
5502 1999-02-11  Jason Molenda  (jsm@bugshack.cygnus.com)
5503
5504         * configure, aclocal.m4: Regenerate with correct version of aclocal.
5505
5506 1999-02-10  Syd Polk  <spolk@cygnus.com>
5507
5508         * acinclude.m4: Fix for new location of itclConfig.sh and itkConfig.sh.
5509         * aclocal.m4: Regnerate.
5510         * configure: Regenerate.
5511
5512 1999-02-10  Jason Molenda  (jsm@bugshack.cygnus.com)
5513
5514         * demangle.c: Fix comments to mention "set demangle-style"
5515         instead of "set demangle".
5516         Run through indent to fix minor indenting problems.
5517
5518 Wed Feb 10 17:53:09 1999  Bob Manson  <manson@charmed.cygnus.com>
5519
5520         * i386-tdep.c (gdb_print_insn_i386): Add missing returns.
5521
5522 Wed Feb 10 13:17:21 1999  Stan Shebs  <shebs@andros.cygnus.com>
5523
5524         Declare Gould configuration obsolete:
5525         * configure.host, configure.tgt: Comment out Gould configs.
5526         * Makefile.in: Comment out Gould-related actions.
5527         * gould-xdep.c, gould-tdep.c, config/gould/*: Comment out.
5528         * NEWS: Mention obsolete status.
5529
5530 1999-02-09  DJ Delorie  <dj@cygnus.com>
5531
5532         * sparcl-tdep.c: UDP download works in cygwin
5533
5534 1999-02-08  Jason Molenda  (jsm@bugshack.cygnus.com)
5535
5536         * gnu-regex.c: Check ENABLE_NLS instead of HAVE_LIBINTL_H.
5537         * configure.in: Don't check for libintl.h.
5538         * configure, config.in: Regenerated.
5539
5540 Mon Feb  8 18:10:50 1999  Stan Shebs  <shebs@andros.cygnus.com>
5541
5542         * NEWS: Mention new X packet and PowerPC variant support.
5543
5544 1999-02-08  Nick Clifton  <nickc@cygnus.com>
5545
5546         * configure.host: Add support for StrongARM host.
5547         * configure.tgt: Add support for StrongARM target.
5548
5549 Mon Feb  8 12:05:05 1999  David Taylor  <taylor@texas.cygnus.com>
5550
5551         * dsrec.c (make_srec): Cast targ_addr to int in call to sprintf
5552         otherwise on big endian machine with a bfd_vma of 64 bits,
5553         *everything* gets loaded at location 0.
5554
5555 Mon Feb  7 10:05:43 1999  Frank Ch. Eigler  <fche@cygnus.com>
5556
5557        * infrun.c (wait_for_inferior): Allow SIGTRAP to be "pass"ed
5558        to target program.
5559
5560 Fri Feb  5 16:46:14 1999  Stan Shebs  <shebs@andros.cygnus.com>
5561
5562         * NEWS: Add mentions of various new things.
5563
5564 Thu Feb  4 00:19:14 1999  Christopher Faylor <cgf@cygnus.com>
5565
5566         * configure.in: Move termcap determination later in the
5567         file to catch setting of cygwin flag.
5568         * configure: Regenerate.
5569
5570 Wed Feb  3 14:16:38 1999  Christopher Faylor <cgf@cygnus.com>
5571
5572         * config/i386/cygwin.mh: Move TERMCAP test code to configure.in.
5573         * configure.in: Treat libtermcap.a detection as a special case
5574         when hosting on cygwin.
5575         * configure: Regenerate.
5576
5577 1999-02-03  Keith Seitz  <keiths@cygnus.com>
5578  
5579         * remote.c (remote_binary_download, remote_binary_length): New
5580         static globals for dealing with binary transmissions.
5581         (remote_write_bytes): Add support for binary downloads
5582         by shadowing the "M" packet with a new "X" packet. This
5583         defaults to ON; if the stub does not understand this, it
5584         will fall back to using "M".
5585         (putpkt): Add support for binary downloading.
5586         * monitor.c (monitor_expect): The mon2000 monitor
5587         on the MSA2000 will also emit random DC1/DC3 chars.
5588         * m32r-stub.c: Change all char's to unsigned char's
5589         to support binary downloading.
5590         (handle_exception): Add support for binary downloading
5591         via a new "X" packet.
5592         (getpacket): Do NOT strip eighth bit of incoming chars.
5593         Watch out for escaped characters in the incoming stream.
5594         (putpacket): Do NOT strip eighth bit of incoming chars.
5595         (bin2mem): New function to write binary data directly to
5596         memory.
5597         * m32r-rom.c: Add new "mon2000" target.
5598
5599 Tue Feb  2 18:40:29 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5600
5601         * hp-psymtab-read.c (hpread_build_psymtabs): Coerce first arg
5602         passed to make_cleanup to the correct type.
5603         (hpread_quick_traverse): Change fifth arg to call to 
5604         hpread_end_psymtab to be 0. 
5605         Compare CURR_MODULE_END to 0 rather than NULL.
5606         Get rid of ifdef'ed out code.
5607         (scan_procs): Get rid of ifdef'ed out code.
5608
5609         * somread.c (som_symfile_read): Coerce first argument passed to
5610         make_cleanup to the correct type.
5611
5612 Tue Feb  2 17:36:29 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5613
5614         * hp-psymtab-read.c (do_pxdb): New function. Check whether the
5615         file needs to be processed by pxdb (an HP debug info massaging
5616         tool), if so call it.
5617         (hpread_build_psymtabs): Initialize scan_start to 0 and
5618         simplify flow of control.
5619
5620         * somread.c (som_symfile_read): Add call to do_pxdb (), 
5621         in hp-psymtab-read.c.
5622
5623         * symfile.c (symbol_file_add): Remove ifdef'ed out HPUX specific
5624         code.
5625         (symfile_bfd_open): Remove HPUXHPPA ifdef'ed code. Code is now
5626         in hp-psymtab-read.c.
5627
5628 1999-02-02  Martin Hunt  <hunt@cygnus.com>
5629
5630         * printcmd.c (print_scalar_formatted): Use strcat to concat all
5631         the output together before calling fprintf_filtered().
5632
5633 1999-02-01  Jason Molenda  (jsm@bugshack.cygnus.com)
5634
5635         * configure.in: Require autoconf 2.13.
5636         (AM_EXEEXT): Replace with new AC_EXEEXT.
5637         * acinclude.m4: Move itcl header macros from aclocal.m4 to here.
5638         * aclocal.m4: Regenerated.
5639         * configure: Regenerated.
5640
5641 1999-02-01  Jim Blandy  <jimb@zwingli.cygnus.com>
5642
5643         Allow PPC users to select which PPC/RS6000 variant they're
5644         debugging at run-time.  At the moment, the only thing this affects
5645         is the set of registers visible.
5646         * config/rs6000/tm-rs6000.h (REGISTER_NAME): Define this as a call
5647         to the function rs6000_register_name.
5648         (rs6000_register_name): Include extern decl.
5649         (NUM_REGS): Bump to 183.  What's the right way to do this?
5650         (FIRST_UISA_SP_REGNUM, LAST_UISA_SP_REGNUM): Renamed from
5651         FIRST_SP_REGNUM, LAST_SP_REGNUM.
5652         (REGISTER_BYTES): Recompute this.
5653         * rs6000-tdep.c: Renamed all uses of FIRST_SP_REGNUM and
5654         LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
5655         some concomitant formatting changes.
5656         #include "gdbcmd.h", so we can define commands here.
5657         (struct variant): New structure.
5658         (COMMON_UISA_REG_NAMES, PPC_UISA_SPR_NAMES, PPC_SEGMENT_REG_NAMES,
5659         PPC_32_OEA_SPR_NAMES, num_registers): New macros. 
5660         (register_names_rs6000, register_names_uisa, register_names_403,
5661         register_names_403GC, register_names_505, register_names_860,
5662         register_names_601, register_names_602, register_names_603,
5663         register_names_604, register_names_750, variants): New variables.
5664         (rs6000_register_name, install_variant, find_variant_by_name,
5665         install_variant_by_name, list_variants, show_current_variant,
5666         set_processor, show_processor): New functions.
5667         (_initialize_rs6000_tdep): Define new commands `set processor' and
5668         `show processor', and call install_variant_by_name to set the
5669         default variant.
5670         * rs6000-nat.c: Renamed all uses of FIRST_SP_REGNUM and
5671         LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
5672         some concomitant formatting changes.
5673         * configure.in: Accept the `--with-cpu' flag, to specify a default
5674         processor variant.
5675         * acconfig.h: Provide a blurb for TARGET_CPU_DEFAULT, which is set
5676         by configure's `--with-cpu' flag.
5677         * config.in, configure: Regenerated.
5678
5679 Sun Jan 31 15:24:24 1999  Stan Shebs  <shebs@andros.cygnus.com>
5680
5681         * buildsym.h, buildsym.c: Convert to ANSI-only.
5682
5683         * buildsym.h, buildsym.c: Reformat to standard.
5684
5685         * buildsym.c (merge_symbol_lists): Remove unused variable.
5686         (_initialize_buildsym): Remove, does nothing.
5687
5688 1999-01-31 J.T. Conklin  <jtc@redbacknetworks.com>
5689
5690         * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c,
5691         sparcl-stub, sparclet-stub.c: Change declaration of putDebugChar
5692         to include explicit void return type as per documentation.  Fix up
5693         occasions where stubs erroneously checked return type.
5694
5695 Sun Jan 31 13:18:33 1999  Stan Shebs  <shebs@andros.cygnus.com>
5696
5697         From J.T. Conklin <jtc@redbacknetworks.com>:
5698         * remote.c (remote_query): Fix tipo.
5699
5700 Fri Jan 29 15:25:09 1999  Stan Shebs  <shebs@andros.cygnus.com>
5701
5702         * configure.tgt (v850): Add wildcard to match.
5703
5704 Fri Jan 29 16:44:01 1999  Edith Epstein  <eepstein@sophia.cygnus.com>
5705
5706         * inferior.h: Ran indent.
5707
5708         * fork-child.c: Ran indent.
5709
5710         * infrun.c : Ran indent.
5711
5712 Fri Jan 29 12:57:34 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5713
5714         * infrun.c (_initialize_infrun): Do not stop or print anything
5715         when a SIGWINCH is received.
5716
5717         * Makefile.in (m2-exp.tab.c): Use YACC not BISON.
5718         (f-exp.tab.c): Ditto.
5719         (jv-exp.tab.c): Ditto.
5720         (c-exp.tab.c): Ditto.
5721         (YACC): Define as @YACC@.
5722
5723 1999-01-29  Martin Hunt  <hunt@cygnus.com>
5724
5725         Changes from Keith Seitz  <keiths@cygnus.com>
5726         * valops.c (value_assign): Add calls to register_changed_hook and
5727         memory_changed_hook to inform UIs that the user has changed
5728         the target's registers/memory.
5729         * findvar.c (write_register_gen): Remove call to pc_changed_hook.
5730         * defs.h: Remove declaration for pc_changed_hook and
5731         add declarations for register_changed_hook and
5732         memory_changed_hook.
5733         * top.c: Ditto.
5734
5735 1999-01-29  Mark Alexander  <marka@cygnus.com>
5736
5737         * procfs.c (wait_fd): Handle deleted threads correctly.
5738
5739 1999-01-28  Jason Molenda  (jsm@bugshack.cygnus.com)
5740
5741         * utils.c (init_page_info): Force window size if running under emacs.
5742
5743 1999-01-27  James Ingham  <jingham@cygnus.com>
5744
5745         * typeprint.c (whatis_exp): Remove static declaration.
5746
5747 Wed Jan 27 16:50:25 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5748
5749         * hp-psymtab-read.c: Reformat using indent.
5750
5751 Wed Jan 27 13:20:25 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5752
5753         * hp-psymtab-read.c: Reformat comments, update copyright.
5754
5755 Tue Jan 26 16:02:47 1999  Mark Alexander  <marka@cygnus.com>
5756
5757         * v850-tdep.c (v850_generic_reg_names, v850e_reg_names,
5758         v850_register_names, v850_processor_type_table): Declare tables
5759         and structures for handling differences in register names for
5760         v850 and v850e.
5761         (struct reg_list): Define new structure for creating tables
5762         of register bit masks in v850e instrutions.
5763         (handle_prepare, handle_pushm): New helpers for v850_scan_prologue.
5764         (v850_scan_prologue): Recognize v850e instructions: callt, prepare,
5765         and pushm.
5766         (v850_target_architecture_hook): New function to set register
5767         names based on current machine.
5768         (_initialize_v850_tdep): Set up target_architecture_hook.
5769         * config/v850/tm-v850.h (v850_register_names): Declare.
5770         (REGISTER_NAME): Define to refer to v850_register_names.
5771         (SR0_REGNUM, CTBP_REGNUM): Define.
5772         (PS_REGNUM): Redefine in terms of SR0_REGNUM.
5773
5774 Tue Jan 26 18:27:26 1999  Elena Zannoni  <ezannoni@kwikemart.cygnus.com>
5775
5776         * Makefile.in (c-exp.tab.c): Use BISON instead of YACC, to pick
5777         the correct value from configure output.
5778         (jv-exp.tab.c): Ditto.
5779         (f-exp.tab.c): Ditto.
5780         (m2-exp.tab.c): Ditto.
5781
5782 1999-01-26  Jason Molenda  (jsm@bugshack.cygnus.com)
5783
5784         * breakpoint.h (ep_is_exception_catchpoint): Add prototype.
5785         * frame.h (select_and_print_frame): Add prototype.
5786         * stack.c (func_command): Call select_and_print_frame with correct
5787         number of arguments.  Reformat whitespace.
5788
5789 Tue Jan 26 16:53:54 1999  Fernando Nasser  <fnasser@cygnus.com>
5790
5791         * remote.c (remote_query): fix maximum packet size to account for
5792           remote_debug use.
5793           (putpkt): add comment to alert about extra byte need.
5794
5795 Mon Jan 25 19:55:30 1999  Mark Alexander  <marka@cygnus.com>
5796
5797         * sh-tdep.c (sh_target_architecture_hook): Return immediately
5798         when a matching machine is found.
5799
5800 Fri Jan 22 09:10:35 1999  Mark Alexander  <marka@cygnus.com>
5801
5802         * remote-mips.c (mips_initialize): Fix parameters to clear_breakpoint.
5803         (common_breakpoint): Restore support for instruction breakpoints
5804         on non-LSI targets.
5805
5806 Thu Jan 21 17:16:19 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5807
5808         * stack.c: Close open comment.
5809         * symtab.c (find_pc_sect_line): Ditto.
5810
5811 Thu Jan 21 17:51:51 1999  Stan Shebs  <shebs@andros.cygnus.com>
5812
5813         * procfs.c (init_procfs_ops): New function, fills in procfs_ops,
5814         init only nonzero fields, leave to_require_attach and
5815         to_require_detach empty, not needed for /proc systems yet.
5816         (_initialize_procfs): Call init_procfs_ops.
5817
5818         From J.T. Conklin <jtc@redbacknetworks.com>:
5819         * top.c (init_main): Fix tipo in description of the remotetimeout
5820         variable.
5821         * breakpoint.c (bpstat_stop_status): Handle systems where
5822         DECR_PC_AFTER_BREAK != DECR_PC_AFTER_HW_BREAK.
5823
5824 Thu Jan 21 17:25:46 1999  Mark Alexander  <marka@cygnus.com>
5825
5826         * mon960-rom.c (_initialize_mon960): Call init_mon960_cmds
5827         to fill in mon960_cmds structure properly.
5828
5829 Wed Jan 20 17:53:22 1999  Stan Shebs  <shebs@andros.cygnus.com>
5830
5831         * remote-sds.c (sds_ops): Define only once.
5832         (init_sds_ops, sds_command, _initialize_remote_sds): Declare.
5833         (init_sds_ops): Init only non-zero fields.
5834
5835 Wed Jan 20 15:45:15 1999  Mark Alexander  <marka@cygnus.com>
5836
5837         * h8300-tdep.c (original_register_names, h8300h_register_names,
5838         h8300_register_names): Define new variables.
5839         (set_register_names): New function to set register names based on
5840         current CPU type.
5841         (h8300_command, h8300h_command, h8300s_command): Call
5842         set_register_names.
5843         * config/h8300/tm-h8300.h (h8300_register_names): Declare.
5844         (REGISTER_NAME): Define to refer to h8300_register_names.
5845
5846 1999-01-19  Fernando Nasser  <fnasser@totem.to.cygnus.com>
5847
5848         * sol-thread.c abug-rom.c cpu32bug-rom.c dbug-rom.c m32r-rom.c 
5849         mac-nat.c mon960-rom.c op50-rom.c ppc-bdm.c remote-adapt.c 
5850         remote-array.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c 
5851         remote-est.c remote-hms.c remote-mm.c remote-nindy.c remote-nrom.c 
5852         remote-os9k.c remote-rdp.c remote-sds.c remote-sim.c remote-st.c 
5853         remote-udi.c rom68k-rom.c sh3-rom.c sparcl-tdep.c sparclet-rom.c 
5854         v850ice.c win32-nat.c: cosmetic changes to conform to coding
5855         standards. 
5856
5857 1999-01-19  Jim Blandy  <jimb@zwingli.cygnus.com>
5858
5859         Use aclocal to generate GDB's aclocal.m4 script.  
5860         * acinclude.m4: New file, containing the hand-written local macro
5861         definitions that used to be in aclocal.m4.  Don't sinclude
5862         ../bfd/aclocal.m4 any more; running aclocal in this directory will
5863         get us the definitions we need.  HOWEVER: Do sinclude
5864         ../bfd/acinclude.m4, because we need the definition of
5865         BFD_NEED_DECLARATION.
5866         * aclocal.m4: Regenerated by aclocal.
5867         * configure: Regenerated by autoconf.
5868
5869 Tue Jan 19 10:27:23 1999  David Taylor  <taylor@texas.cygnus.com>
5870
5871         * breakpoint.c (disable_breakpoints_in_shlibs): new parameter,
5872         silent, controls whether to print message about removal of shared
5873         library breakpoints.
5874         * breakpoint.h (disable_breakpoints_in_shlibs): decl updated.
5875         * irix5-nat.c (clear_solib): call disable_breakpoints_in_shlibs.
5876         * osfsolib.c (clear_solib): ditto.
5877         * solib.c (clear_solib): ditto.
5878         * somsolib.c (som_solib_restart): update call to
5879         disable_breakpoints_in_shlibs.
5880
5881         * target.h (child_post_attach): only declare if CHILD_POST_ATTACH
5882         is define.
5883
5884 Tue Jan 19 18:07:11 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5885
5886         * corelow.c (solib_add_stub): Ditto.
5887         (core_file_to_sym_file): Cast make_cleanup parameter.
5888
5889         * solib.c (symbol_add_stub, solib_map_sections): Change argument
5890         to PTR insted of a char*.  Matches catch_errors interface.
5891
5892 Mon Jan 18 14:01:24 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5893
5894         * remote-array.c (array_open): Don't use fprintf_filtered to send
5895         data to the log file.
5896
5897         * remote-array.c (handle_load_dll): Change argument type to PTR so
5898         that it is compatible with catch_errors.
5899         * ocd.c (ocd_start_remote): Ditto.
5900         * remote-sds.c (sds_start_remote): Ditto.
5901
5902         * win32-nat.c (win32_child_thread_alive): Namespace proof
5903         child_thread_alive.
5904         (init_child_ops): Update.
5905
5906 Mon Jan 18 12:03:47 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5907
5908         * remote-rdi.c (arm_rdi_open): Set gdb_hostif.hostosarg and
5909         gdb_hostif.dbgarg to NULL instead of stdout.
5910         (voiddummy, myprint, mywritec): Use gdb_stdout instead of stdout.
5911
5912 Mon Jan 18 16:40:50 1999  Stan Shebs  <shebs@andros.cygnus.com>
5913
5914         * ser-ocd.c (ocd_open): Handle Unix case gracefully.
5915
5916         * target.c (dummy_target): Don't initialize statically.
5917         (init_dummy_target): New function, fills in dummy_target.
5918         (initialize_targets): Use it.
5919         * hpux-thread.c (hpux_thread_ops): Don't initialize statically.
5920         (init_hpux_thread_ops): New function, fills in hpux_thread_ops.
5921         (_initialize_hpux_thread): Use it.
5922         * m3-nat.c (m3_ops): Don't initialize statically.
5923         (init_m3_ops): New function, fills in m3_ops.
5924         (_initialize_m3): Use it.
5925
5926 1999-01-18  Fernando Nasser  <fnasser@totem.to.cygnus.com>
5927
5928         * sol-thread.c: delete compile time initialization of target_ops
5929           (_initialize_sol_thread): initialize target_ops at run time.
5930         * hpux-thread.c: added target_ops entry.
5931         * m3-nat.c: ditto.
5932
5933 Mon Jan 18 15:19:13 1999  David Taylor  <taylor@texas.cygnus.com>
5934
5935         * procfs.c (procfs_ops): delete compile time initialization.
5936         (_initialize_procfs): initialize procfs_ops at run time.
5937
5938 Mon Jan 18 12:51:44 1999  Christopher Faylor <cgf@cygnus.com>
5939
5940         * configure.in: Ensure that -luser32 is always linked in
5941         for cygwin build.
5942         * configure: Regenerated.
5943
5944 Mon Jan 18 08:38:05 1999  Mark Alexander  <marka@cygnus.com>
5945
5946         * values.c (value_virtual_fn_field): Clear the pointed-to
5947         offset when casting to the base class.
5948
5949 Mon Jan 18 10:30:51 1999  David Taylor  <taylor@texas.cygnus.com>
5950
5951         * remote-udi.c (init_udi_ops): change non-existant udi_run_ops to
5952         udi_ops; delete NULL initializers.
5953
5954 Mon Jan 18 12:03:47 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5955
5956         * serial.c (serial_close): gdb_fclose tages gdb_file** arg, not
5957         gdb_file*.
5958
5959         * f-valprint.c, target.c, gdbarch.c: Pass gdb_stderr not stderr.
5960
5961 Mon Jan 18 10:46:12 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5962
5963         * stack.c (print_frame_info_base): Don't cast call to
5964         catch_errors.
5965         (print_args_stub): Change char* arg to PTR.
5966         * symmisc.c (print_symbol): Ditto.
5967         * top.c (quit_cover): Ditto.
5968         * remote.c (remote_open_1, remote_start_remote): Ditto.
5969         * infrun.c (normal_stop, hook_stop_stub, restore_selected_frame):
5970         Ditto.
5971
5972         * stack.c (backtrace_command): Cast first arg of make_cleanup to
5973         make_cleanup_func.
5974         * remote.c (remote_kill): Cast putpkt arg to catch_errors_ftype.
5975
5976 Mon Jan 18 08:47:02 1999  Andrew Cagney  <cagney@b1.cygnus.com>
5977         
5978         * defs.h (catch_errors_ftype): Define.
5979         (catch_errors): Replace char* arg with PTR arg.
5980         * top.c (catch_errors): Update
5981
5982         * breakpoint.c (bpstat_stop_status, bpstat_stop_status,
5983         delete_breakpoint, breakpoint_re_set): Delete all casts in call to
5984         catch_errors.
5985         (breakpoint_cond_eval, watchpoint_check,
5986         cover_target_enable_exception_callback, breakpoint_re_set_one):
5987         Arg is PTR not char*.
5988         
5989         * breakpoint.c (cover_target_enable_exception_callback): Change
5990         type to int. Check for cast values of 0 and -1.  Return a result!
5991         (insert_breakpoints): Move declaration of SAL and ARGS to where
5992         they are used.
5993
5994 1999-01-16  Fernando Nasser  <fnasser@totem.to.cygnus.com>
5995
5996         * remote.c (remote_query): new function - creates proper interface
5997         to the remote protocol "q" command.     
5998
5999 Fri Jan 15 17:11:48 EST 1999  Zdenek Radouch   (radouch@cygnus.com)
6000
6001         * config/fr30/tm-fr30.h:  Changed ABI to match GCC change
6002           (always use pointer for structs passed by value).
6003
6004 1999-01-15  Fernando Nasser  <fnasser@totem.to.cygnus.com>
6005
6006         * target.h: added entry for target queries (to_query)
6007           target.c: ditto.
6008
6009 Thu Jan 14 18:29:17 1999  David Taylor  <taylor@texas.cygnus.com>
6010
6011         * remote-mm.c (mm_wait): fix stream arg to gdb_flush.
6012         * remote-udi.c (udi_wait): fix stream arg to fwrite.
6013         * symmisc.c (maintenance_check_symtabs): fix stream argument to
6014         print_address_numeric.
6015         
6016 Wed Jan 13 19:33:16 1999  David Taylor  <taylor@texas.cygnus.com>
6017
6018         * breakpoint.c (insert_breakpoints): insert cast to eliminate
6019         warning.
6020
6021 Wed Jan 13 14:59:02 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
6022
6023         * infrun.c (set/show scheduler-locking) New command.  Set a
6024           mode bit that will control how GDB attempts to control thread
6025           scheduling for step, continue, etc.  (resume): make use of
6026           the schedule-locking mode.
6027         * target.h (struct target_ops): new field to_has_thread_control.
6028         * sol-thread.c: initialize target_ops to_has_thread_control.
6029         * procfs.c: ditto.
6030         * target.c: ditto.
6031         * m3-nat.c: ditto.
6032         * remote.c: ditto.
6033         * hpux-thread.c: ditto.
6034         * thread.c: cull duplicate prototypes.  Move prototypes to top.
6035         * serial.c: indentation cleanup.
6036         * breakpoint.c: add casts to eliminate compiler warnings.
6037         
6038 Tue Jan 12 17:00:00 1999  Edith Epstein  <eepstein@sophia.cygnus.com>
6039
6040         * inftarg.c (child_create_inferior): fixed HPUXHPPA specific
6041           call to fork_inferior. The shell param is now NULL.
6042
6043 1999-01-12  Jason Molenda  (jsm@bugshack.cygnus.com)
6044
6045         * monitor.c (init_base_monitor_ops): Whitespace cleanup.
6046         (_initialize_remote_monitors): Same.
6047
6048 1999-01-12  Jason Molenda  (jsm@bugshack.cygnus.com)
6049
6050         * monitor.c (init_monitor_ops): Initialize the monitor_ops
6051         structure if it hasn't already been done.
6052
6053 Tue Jan 12 14:50:10 1999  Stan Shebs  <shebs@andros.cygnus.com>
6054
6055         * inftarg.c (child_ops): Don't initialize statically.
6056         (init_child_ops): New function, fills in child_ops.
6057         (_initialize_inftarg): Use it.
6058         (child_post_attach): Declare extern.
6059         (child_wait): Fix ambiguous parens.
6060         (child_attach_to_process): Remove unused local wstatus.
6061         (child_insert_fork_catchpoint, child_remove_fork_catchpoint,
6062         child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
6063         child_has_forked, child_insert_exec_catchpoint,
6064         child_remove_exec_catchpoint): Return a value.
6065
6066 Mon Jan 11 16:43:44 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
6067
6068         * remote.c (remote_wait): Add inferior_pid to thread list only
6069         if it is not already there.
6070
6071 1999-01-11  Jason Molenda  (jsm@bugshack.cygnus.com)
6072
6073         * scm-tags.h: Update FSF's address on copyright notice.
6074         * ser-e7kpc.c: Same.
6075         * gnu-nat.h: Same.
6076
6077 Mon Jan 11 13:45:57 1999  Stu Grossman  <grossman@babylon-5.cygnus.com>
6078
6079         * dwarf2read.c (dump_die):  Change stderr to gdb_stderr.
6080         * expprint.c (print_subexp):  fprintf => fprintf_unfiltered.
6081         * jv-typeprint.c (java_type_print_base):  fputs => fputs_filtered.
6082         * stack.c (struct function_bounds):  Remove superfluous `typedef'.
6083         * symfile.c (list_overlays_command):  stdout => gdb_stdout.
6084         * symmisc.c (maintenance_check_symtabs):  stdout => gdb_stdout.
6085         * utils.c (print_spaces):  Make more efficient.
6086         
6087 Mon Jan 11 13:55:51 1999  David Taylor  <taylor@texas.cygnus.com>
6088
6089         * utils (print_spaces): fix arg to strcat; fix formatting.
6090
6091 Fri Jan  8 11:57:24 1999  Stan Shebs  <shebs@andros.cygnus.com>
6092
6093         * exec.c (exec_ops): Don't initialize statically.
6094         (init_exec_ops): New function, fills in exec_ops.
6095         (_initialize_exec): Use it.
6096
6097 Thu Jan  7 17:50:15 EST 1999  Zdenek Radouch   (radouch@cygnus.com)
6098
6099         Beta FR30 port.
6100         * fr30-tdep.c
6101         * config/fr30/tm-fr30.h
6102         
6103 Wed Jan  6 12:28:35 1999  David Taylor  <taylor@texas.cygnus.com>
6104
6105         * configure.in: Add an --enable-tui argument.  Construct
6106         tui/Makefile from tui/Makefile.in.  Use AM_PROG_CC_STDC.  If we
6107         have the GUI, then we need this to process libgui.h.
6108         (ENABLE_CFLAGS): define and export BUILD_TUI.
6109         (AC_CHECK_HEADERS): Add check for term.h.
6110         
6111         * configure.host (hppa-*-hpux10.20, hppa-*-hpux11.0*): New configs.
6112
6113         * config.in, configure : regenerated.
6114
6115         * Makefile.in: Allow the TUI code to be conditionally enabled.
6116         (TUI_LIBRARY): New variable, value are set by the configuration
6117         script.  Set to the empty string when the TUI isn't enabled.
6118         (gdb$(GDBEXT)): Use those, instead of referring to all-tui and
6119         tui/libtui.a directly.
6120         (BUILD_TUI): build the tui -- only when configured with
6121         --enable-tui.
6122         (YLWRAP): use ylwrap to avoid problems on systems w/o bison.
6123         (gdb$(EXEEXT)): make it dependent on BUILD_TUI.
6124         (all-tui): remove dependency from phony target.
6125         (c-exp.tab.c): use ylwrap instead of bison.
6126         (jv-exp.tab.c): ditto.
6127         (f-exp.tab.c): ditto.
6128         (m2-exp.tab.c): ditto.
6129         (ALLDEPFILES): add somread.c, hp-psymtab-read.c, hp-symtab-read.c.
6130         (SFILES): remove the above files
6131         (COMMON_OBS): remove somread.o
6132         (SFILES): Add the tui files to this, so they get included in etags
6133         tables.
6134         (gdb$(EXEEXT)): Add all-tui to the list of dependencies, and add
6135         tui/libtui.a to the link list.
6136         (all-tui): New rule, which does a recursive make in the tui
6137         subdir.
6138         (tui/libtui.a): When recursing, pass down ${FLAGS_TO_PASS}.  And
6139         don't echo the make command.  This is closer to what the other
6140         recursions do.
6141         (HFILES_NO_SRCDIR): add hpread.h
6142         (COMMON_OBS): add hp-psymtab-read.o, hp-symtab-read.o
6143         (SFILES): add hp-psymtab-read.c, hp-symtab-read.c add rules for
6144         the new files.  Remove hpread.c, hpread.o
6145         (gdb$(EXEEXT)): Depend on the actual tui library, not on a
6146         fictitious target.  Since the fictitious target never existed,
6147         make would always relink.
6148         (tui/libtui.a): Always recurse to make sure the library is up to
6149         date.
6150
6151 Wed Jan  6 12:05:12 1999  Stan Shebs  <shebs@andros.cygnus.com>
6152
6153         * remote.c: Pacify --enable-build-warnings, reformat code
6154         to conform to standards, fix spelling errors.
6155         (ishex, stubhex, record_currthread, etc): Declare.
6156         (ishex, stubhex): Declare char arg as int.
6157         (pack_string): Comment out, never used but possibly useful.
6158         (threadref_to_int, remote_get_threadinfo, etc): Make static.
6159
6160 Wed Jan  6 11:43:32 1999  David Taylor  <taylor@texas.cygnus.com>
6161
6162         The following changes were made by Elena Zannoni
6163         <ezannoni@cygnus.com> and Edith Epstein <eepstein@cygnus.com> as
6164         part of a project to merge in changes made by HP.
6165
6166         * c-exp.y: use external flag hp_som_som_object_present to decide
6167         whether code was compiled by HP's compilers.  Add two new C++
6168         tokens for true and false.
6169         (yylex): check for template name is done differently for the
6170         HP/aCC compiler case.  Change some of the template processing code
6171         for handling HP aCC templates.  Handle true and false tokens.
6172         
6173 Tue Jan  5 11:13:36 1999  Michael Snyder  <msnyder@cleaver.cygnus.com>
6174
6175         * remote.c (record_curthread): Must not modify inferior_pid when
6176         called from wait_for_inferior.  Instead, if a new thread-id is
6177         detected, call add_thread.
6178         (MAGIC_NULL_PID): new macro, use instead of the magic number
6179         "42000".
6180         (remote_find_new_threads): if inferior_pid is unknown, get and use
6181         the current thread id.
6182         (remote_start_remote): on connecting, attempt to get the current
6183         thread id for inferior_pid.
6184         (remote_resume): If pid == -1, then resume any-thread (not the
6185         current thread specifically).  Also some cosmetic fixups.
6186         
6187         * thread.c (info_threads_command): don't initialize current_pid 
6188         until after call to FIND_NEW_THREADS (which may change inferior_pid).
6189         Also some cosmetic fixups.
6190         * infrun.c: cosmetic fixups and casts to avoid warnings.
6191         * infcmd.c: cosmetic fixups, mainly long lines.
6192         
6193 Tue Jan  5 11:55:57 1999  David Taylor  <taylor@texas.cygnus.com>
6194
6195         * target.c (noprocess): terminate sentence with a period.
6196         * breakpoint.c (catch_command_1): ditto.
6197
6198         * c-valprint.c (c_value_print): remove hack^2 from HP; it causes
6199         testsuite losses with no real gain.
6200
6201         * inferior.h (START_INFERIOR_TRAPS_EXPECTED): restore, but only
6202         if tm-*.h hasn't overridden default value.
6203
6204 1999-01-04  Jason Molenda  (jsm@bugshack.cygnus.com)
6205
6206         * configure.in: Fix whitespace indentation for --help.
6207         * configure: Regenerated.
6208
6209 1999-01-04  Manuel Bouyer <bouyer@antioche.lip6.fr>
6210
6211         * main.c: Add --write command line option, document -w.
6212         * gdb.1: Document --write.
6213
6214 1999-01-04  Jason Molenda  (jsm@bugshack.cygnus.com)
6215
6216         * configure.in: Require autoconf 2.12.1 or higher.
6217         * doc/configure.in: Ditto.
6218         * nlm/configure.in: Ditto.
6219         * rdi-share/configure.in: Ditto.
6220         * testsuite/configure.in: Ditto.
6221         * doc/Makefile.in: Don't hardcode $(SHELL).
6222         * nlm/Makefile.in: Ditto.
6223         * rdi-share/Makefile.in: Ditto.
6224         * testsuite/Makefile.in: Ditto.
6225
6226 Mon Jan  4 12:53:03 1999  Stan Shebs  <shebs@andros.cygnus.com>
6227
6228         * remote-vx.c (init_vx_ops, init_vx_run_ops): Remove unneeded
6229         inits of new fields, including ref to bogus field.
6230         (vx_ops, vx_run_ops): Make static.
6231
6232 Mon Jan  4 15:05:29 1999  David Taylor  <taylor@texas.cygnus.com>
6233
6234         * inferior.h (START_INFERIOR_TRAPS_EXPECTED): delete,
6235         already defined in tm.h.
6236
6237         * inftarg.c: change <sys/unistd.h> to <unistd.h> and
6238         conditionalize its inclusion.
6239         * infttrace.c: ditto.
6240
6241 For older changes see ChangeLog-98
6242 \f
6243 Local Variables:
6244 mode: change-log
6245 left-margin: 8
6246 fill-column: 74
6247 version-control: never
6248 End: