import gdb-1999-06-01 snapshot
[deliverable/binutils-gdb.git] / gdb / ChangeLog
1 Tue Jun 1 18:47:54 1999 Andrew Cagney <cagney@b1.cygnus.com>
2
3 * parse.c (build_parse): New function. Initialize
4 msym_text_symbol_type, msym_data_symbol_type and
5 msym_unknown_symbol_type.
6 (_initialize_parse): Call build_parse.
7
8 Tue Jun 1 10:45:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
9
10 * config/d10v/tm-d10v.h (REGISTER_CONVERTIBLE,
11 REGISTER_CONVERT_TO_RAW, REGISTER_CONVERT_TO_VIRTUAL): Convert
12 macros into functions.
13 * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_register_convertable,
14 d10v_register_convert_to_virtual, d10v_register_convert_to_raw):
15 The new functions.
16
17 1999-05-31 Fernando Nasser <fnasser@totem.to.cygnus.com>
18
19 * stack.c (print_args_stub): Add missing stream parameter.
20
21 Mon May 31 15:50:08 1999 Andrew Cagney <cagney@b1.cygnus.com>
22
23 Fri May 28 16:51:00 1999 Martin Dorey <martin.dorey@madge.com>:
24 * valops.c, value.h (default_push_arguments): Fix order of
25 parameters to match PUSH_ARGUMENTS arguments.
26
27 Thu May 27 11:42:55 1999 Andrew Cagney <cagney@b1.cygnus.com>
28
29 * gdbarch.h (EXTRACT_STRUCT_VALUE_ADDRESS): Return 0.
30
31 * valops.c (value_assign): Delete redundant test of
32 REGISTER_CONVERTIBLE.
33
34 Thu May 27 11:33:57 1999 Andrew Cagney <cagney@b1.cygnus.com>
35
36 * config/w65/tm-w65.h, config/tic80/tm-tic80.h, config/sh/tm-sh.h,
37 config/i386/tm-i386m3.h, config/i386/tm-go32.h,
38 config/i386/tm-cygwin.h, config/h8500/tm-h8500.h,
39 config/d30v/tm-d30v.h, config/d10v/tm-d10v.h: Delete definition of
40 macro NAMES_HAVE_UNDERSCORE.
41
42 Thu May 27 09:31:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
43
44 * gdbarch.h (EXTRACT_STRUCT_VALUE_ADDRESS,
45 EXTRACT_STRUCT_VALUE_ADDRESS_P): Provide default definitions.
46 * values.c (value_being_returned): Use
47 EXTRACT_STRUCT_VALUE_ADDRESS when EXTRACT_STRUCT_VALUE_ADDRESS_P.
48
49 Wed May 26 13:51:25 1999 Andrew Cagney <cagney@b1.cygnus.com>
50
51 * utils.c (tui_file_new, tui_file_delete, tui_fileopen): New
52 functions.
53 (tui_file_isatty): Rename gdb_file_isatty.
54 (gdb_file_init_astring): Use tui_file_new to create stream.
55 (gdb_file_get_strbuf, gdb_file_adjust_strbuf): Call gdb_file_data
56 to access the tui_stream.
57 (tui_file_flush): Rename gdb_flush. Call gdb_file_data to access
58 the tui_stream. Pass FILE and not STREAM down.
59
60 * utils.c (struct stdio_file, stdio_file_flush, stdio_file_fputs,
61 stdio_file_isatty, stdio_file_delete, stdio_file_new,
62 stdio_fileopen): Define type and functions. Implement a simple
63 STDIO based gdb_file.
64 (struct gdb_file, gdb_file_new, gdb_file_delete, null_file_isatty,
65 null_file_flush, null_file_fputs, null_file_delete, gdb_file_data,
66 set_gdb_file_flush, set_gdb_file_isatty, set_gdb_file_fputs,
67 set_gdb_file_data, fputs_unfiltered, gdb_flush, gdb_file_isatty):
68 Define type and functions. Implement virtual functions for
69 gdb_file.
70
71 * defs.h (struct gdb_file): Declare.
72 (GDB_FILE): Change type to struct gdb_file. Deprecate.
73 (gdb_file_flush_ftype, gdb_file_fputs_ftype,
74 gdb_file_isatty_ftype, gdb_file_delete_ftype): Add function type
75 declarations.
76
77 * defs.h (set_gdb_file_flush, set_gdb_file_fputs,
78 set_gdb_file_isatty, set_gdb_file_data, gdb_file_new,
79 gdb_file_delete, gdb_file_data, stdio_fileopen, tui_fileopen): Add
80 function declarations.
81 (gdb_fopen): Re-implement. Call stdio_file_new.
82 (gdb_fclose): Re-implement. Call gdb_file_delete.
83
84 * main.c (tui_file_fputs): Rename fputs_unfiltered. Use
85 gdb_file_data to gain access to the tui_stream data. Use FILE
86 instead of STREAM where applicable.
87 (main): Create gdb_stdout and gdb_stderr using tui_fileopen.
88
89 * defs.h (struct tui_stream): Add field ts_magic.
90 * utils.c (tui_file_magic): Local variable.
91 (tui_file_new): Set field ts_magic.
92 (tui_file_delete, tui_file_isatty, gdb_file_init_astring,
93 gdb_file_get_strbuf, gdb_file_adjust_strbuf, tui_file_flush):
94 Verify ts_magic.
95
96 1999-05-25 Jim Blandy <jimb@zwingli.cygnus.com>
97
98 * breakpoint.c (insert_breakpoints, remove_breakpoint,
99 breakpoint_1): Add a 'default' case, which prints a warning
100 message, to remove EGCS warnings.
101
102 1999-05-25 Fernando Nasser <fnasser@totem.to.cygnus.com>
103
104 * utils.c (gdb_file_adjust_strbuf): Take into account the
105 possibility that the buffer has not been allocated yet.
106
107 Tue May 25 16:05:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
108
109 * gdbarch.h (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
110 REGISTER_CONVERT_TO_RAW): Provide default definition.
111
112 * valops.c (value_assign), infcmd.c (do_registers_info), findvar.c
113 (value_from_register, value_of_register): Remove #ifdef
114 REGISTER_CONVERTIBLE. Assume REGISTER_CONVERTIBLE etc defined.
115
116 Tue May 25 16:18:25 1999 Andrew Cagney <cagney@amy.cygnus.com>
117
118 * remote-d10v.c (d10v_eva_prepare_to_trace,
119 d10v_eva_get_trace_data), remote-sim.c (_initialize_remote_sim):
120 Add declaraton. Make static.
121
122 * remote-d10v.c (_initialize_remote_d10v), d10v-tdep.c
123 (_initialize_d10v_tdep): Add declaration.
124 * config/d10v/tm-d10v.h (d10v_frame_chain): Add declaration.
125
126 Tue May 25 15:20:58 1999 Andrew Cagney <cagney@amy.cygnus.com>
127
128 * main.c (init_proc, proc_remove_foreign): Delete function.
129 * inftarg.c (child_mourn_inferior): Update. Delete call to
130 proc_remove_foreign().
131 * top.c (gdb_init): Update. Delete call to init_proc().
132
133 * utils.c (pollquit, fmthex, hexlate): Delete function.
134
135 Tue May 25 13:01:43 1999 Andrew Cagney <cagney@amy.cygnus.com>
136
137 * main.c (gdb_init): Move declaration from here.
138 * top.h: To here.
139
140 * defs.h (init_page_info): Add declaration.
141
142 * top.c (initialize_utils): Move declaration from here.
143 * defs.h: To here.
144
145 * infcmd.c (target_map_name_to_register): Move declaration from
146 here.
147 * parser-defs.h: To here.
148
149 * c-typeprint.c (cp_type_print_method_args), target.c
150 (nosupport_runtime, normal_target_post_startup_inferior): Add
151 declaration. Make static.
152
153 Tue May 25 13:53:23 1999 Andrew Cagney <cagney@amy.cygnus.com>
154
155 * main.c: Include "event-loop.h".
156 * Makefile.in (main.o): Add dependency.
157
158 * top.h (setup_event_loop, async_init_signals), top.c
159 (set_async_editing_command, set_async_annotation_level,
160 set_async_prompt), event-loop.c (display_gdb_prompt): Move
161 declarations from here.
162 * event-loop.h: To here.
163
164 * event-loop.h (delete_async_signal_handler): Add function
165 declaration.
166
167 * event-top.c (change_annotation_level, command_handler): Add
168 declaration. Make static.
169
170 Tue May 25 12:44:58 1999 Andrew Cagney <cagney@amy.cygnus.com>
171
172 * tracepoint.c (free_actions_list, add_register): Add declaration.
173 Make static.
174 (free_actions_list_cleanup_wrapper): New function. Wraps
175 free_actions_list for make_cleanup.
176 (trace_start_command): Pass free_actions_list_cleanup_wrapper
177 instead of free_actions_list to make_cleanup.
178 (_initialize_tracepoint): Add extern declaration.
179
180 Tue May 25 12:23:39 1999 Andrew Cagney <cagney@amy.cygnus.com>
181
182 * jv-typeprint.c (java_type_print_base, jv-valprint.c
183 (java_print_value_fields): Add static declaration.
184
185 * jv-lang.c (java_lookup_type, get_java_utf8_name,
186 java_lookup_type): Add static declaration.
187 (get_java_class_symtab, java_class_is_primitive,
188 java_value_string): Add declaration. Make static.
189 (java_rerun_cleanup): Add extern declaration for this stub
190 function.
191
192 Mon May 24 16:16:29 1999 Andrew Cagney <cagney@amy.cygnus.com>
193
194 * inflow.c (_initialize_inflow), annotate.c
195 (_initialize_annotate), os9kread.c (_initialize_os9kread),
196 serial.c (_initialize_serial), nlmread.c (_initialize_nlmread),
197 f-valprint.c (_initialize_f_valprint), cp-valprint.c
198 (_initialize_cp_valprint), typeprint.c (_initialize_typeprint),
199 complaints.c (_initialize_complaints), scm-lang.c
200 (_initialize_scheme_language), m2-lang.c
201 (_initialize_m2_language), dbxread.c (_initialize_dbxread),
202 f-lang.c (_initialize_f_language), ch-lang.c
203 (_initialize_chill_language), c-lang.c (_initialize_c_language),
204 corefile.c (_initialize_core), stabsread.c
205 (_initialize_stabsread), mipsread.c (_initialize_mipsread),
206 elfread.c (_initialize_elfread), coffread.c
207 (_initialize_coffread), maint.c (_initialize_maint_cmds),
208 demangle.c (_initialize_demangler), maint.c
209 (_initialize_maint_cmds), language.c (_initialize_language): Add
210 external declaration.
211
212 Mon May 24 10:04:56 1999 Andrew Cagney <cagney@b1.cygnus.com>
213
214 * config/z8k/tm-z8k.h, config/w65/tm-w65.h, config/v850/tm-v850.h,
215 config/tic80/tm-tic80.h, config/tahoe/tm-tahoe.h,
216 config/rs6000/tm-rs6000.h, config/sparc/tm-sparc.h,
217 config/sh/tm-sh.h, config/pyr/tm-pyr.h, config/pa/tm-hppa.h,
218 config/ns32k/tm-merlin.h, config/mn10300/tm-mn10300.h,
219 config/mn10200/tm-mn10200.h, config/mips/tm-mips.h,
220 config/m88k/tm-m88k.h, config/m68k/tm-news.h,
221 config/m68k/tm-delta68.h, config/m68k/tm-isi.h,
222 config/m68k/tm-m68k.h, config/m32r/tm-m32r.h,
223 config/i960/tm-i960.h, config/i386/tm-i386v.h,
224 config/i386/tm-i386.h, config/h8500/tm-h8500.h,
225 config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
226 config/d30v/tm-d30v.h, config/d10v/tm-d10v.h,
227 config/convex/tm-convex.h, config/arc/tm-arc.h,
228 config/arm/tm-arm.h, config/alpha/tm-alpha.h,
229 config/a29k/tm-a29k.h: Re-write definition of FRAME_NUM_ARGS so
230 that it returns NUM_ARGS as a result instead of setting a variable
231 as a side effect.
232
233 * ns32k-tdep.c (merlin_frame_num_args), tahoe-tdep.c
234 (tahoe_frame_num_args), vax-tdep.c (vax_frame_num_args),
235 m68k-tdep.c (news_frame_num_args, delta68_frame_num_args,
236 isi_frame_num_args), convex-tdep.c (convex_frame_num_args): New
237 functions.
238
239 * stack.c (print_args_stub): Update use of FRAME_NUM_ARGS.
240
241 Mon May 24 11:57:04 1999 Andrew Cagney <cagney@b1.cygnus.com>
242
243 * remote.c (remote_xfer_memory): Re-write with assumption that
244 REMOTE_TRANSLATE_XFER_ADDRESS is defined. Pass targ_addr and
245 targ_len by reference.
246 (REMOTE_TRANSLATE_XFER_ADDRESS): Provide default definition.
247
248 * remote-d10v.c (remote_d10v_translate_xfer_address): Update.
249 * config/d10v/tm-d10v.h (REMOTE_TRANSLATE_XFER_ADDRESS): Update.
250
251 Mon May 24 12:10:58 1999 Andrew Cagney <cagney@amy.cygnus.com>
252
253 * value.h (default_push_arguments): Add function declaration.
254
255 * alpha-tdep.c (alpha_about_to_return), gdbarch.c (verify_gdbarch,
256 arch_ok, set_arch), command.c (find_cmd), infrun.c
257 (follow_inferior_fork, follow_fork, follow_vfork,
258 set_schedlock_func, is_internal_shlib_eventpoint,
259 stopped_for_internal_shlib_event, stopped_for_shlib_catchpoint,
260 xdb_handle_command), infcmd.c (run_no_args_command, go_command),
261 symfile.c (add_filename_language, set_ext_lang_command,
262 info_ext_lang_command, init_filename_language_table), symtab.c
263 (overload_list_add_symbol), defs.h (default_get_saved_register),
264 ax-general.c (grow_expr, append_const, read_const, generic_ext):
265 Ditto.
266
267 * infrun.c (currently_stepping): Ditto. Make static.
268
269 * valops.c (hand_function_call): Explictly type static variable
270 ``checked''.
271
272 Mon May 24 08:36:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
273
274 * d10v-tdep.c (d10v_breakpoint_from_pc, d10v_register_name,
275 d10v_register_byte, d10v_register_raw_size,
276 d10v_register_virtual_size, d10v_register_virtual_type,
277 d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
278 d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw,
279 d10v_store_struct_return, d10v_store_return_value,
280 d10v_extract_struct_value_address, d10v_frame_saved_pc,
281 d10v_frame_args_address, d10v_frame_locals_address,
282 d10v_saved_pc_after_call): New functions.
283
284 * config/d10v/tm-d10v.h (REGISTER_BYTE, REGISTER_RAW_SIZE,
285 REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN,
286 D10V_MAKE_DADDR, D10V_MAKE_IADDR, D10V_DADDR_P, D10V_IADDR_P,
287 D10V_CONVERT_DADDR_TO_RAW, D10V_CONVERT_IADDR_TO_RAW,
288 STORE_STRUCT_RETURN, STORE_RETURN_VALUE,
289 EXTRACT_STRUCT_VALUE_ADDRESS, SAVED_PC_AFTER_CALL, FRAME_SAVED_PC,
290 FRAME_ARGS_ADDRESS): Re-define using new functions.
291
292 * config/d10v/tm-d10v.h (BREAKPOINT_FROM_PC): Replace BREAKPOINT.
293 (REGISTER_NAME): Replace REGISTER_NAMES.
294
295 * utils.c (core_addr_lessthan, core_addr_greaterthan): New
296 functions.
297 * defs.h (core_addr_lessthan, core_addr_greaterthan): Declare.
298
299 Sat May 22 16:44:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
300
301 * utils.c (n_spaces): Handle case where first call has N equal to
302 zero.
303 (print_spaces): Use n_spaces.
304
305 Fri May 21 11:23:54 1999 Andrew Cagney <cagney@b1.cygnus.com>
306
307 * valops.c (value_push): Remove conditional definition based on
308 absense of macro PUSH_ARGUMENTS. Pass SP and STRUCT_ADDR by
309 reference.
310 (default_push_arguments): New function.
311
312 * config/v850/tm-v850.h, config/tic80/tm-tic80.h,
313 config/sparc/tm-sparc.h, config/sparc/tm-sp64.h,
314 config/sh/tm-sh.h, config/rs6000/tm-rs6000.h, config/pa/tm-hppa.h,
315 config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h,
316 config/mips/tm-mips.h, config/m32r/tm-m32r.h,
317 config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
318 config/d30v/tm-d30v.h, config/d10v/tm-d10v.h, config/arm/tm-arm.h,
319 config/alpha/tm-alpha.h: Update definition of PUSH_ARGUMENTS.
320 Return updated SP.
321
322 * rs6000-tdep.c (rs6000_push_arguments): Rename push_arguments.
323
324 Thu May 20 12:18:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
325
326 * blockframe.c (get_prev_frame): Remove #ifdef around test for
327 FRAMELESS_FUNCTION_INVOCATION.
328 (get_prev_frame): Change FRAMELESS_FUNCTION_INVOCATION call to a
329 function invocation.
330 * i386-tdep.c (i386_frame_num_args), stack.c (frame_info): Ditto.
331 * config/z8k/tm-z8k.h, config/w65/tm-w65.h, config/vax/tm-vax.h,
332 config/sparc/tm-sparc.h, config/sh/tm-sh.h,
333 config/rs6000/tm-rs6000.h, config/pa/tm-hppa.h,
334 config/mips/tm-mips.h, config/m88k/tm-m88k.h,
335 config/m68k/tm-m68k.h, config/i960/tm-i960.h,
336 config/i386/tm-sun386.h, config/i386/tm-i386v.h,
337 config/i386/tm-i386.h, config/h8500/tm-h8500.h,
338 config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
339 config/d30v/tm-d30v.h, config/d10v/tm-d10v.h,
340 config/convex/tm-convex.h, config/arm/tm-arm.h,
341 config/arc/tm-arc.h, config/alpha/tm-alpha.h,
342 config/a29k/tm-a29k.h: Update FRAMELESS_FUNCTION_INVOCATION.
343 * fr30-tdep.c (fr30_frameless_function_invocation), convex-tdep.c
344 (convex_frameless_function_invocation), arm-tdep.c
345 (arm_frameless_function_invocation): New functions.
346
347 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
348
349 * top.c: Change dates in comments to ISO format.
350
351 * event-top.c: Ditto.
352 * event-loop.c: Ditto.
353 * main.c: Ditto.
354
355 1999-05-19 Keith Seitz <keiths@cygnus.com>
356
357 * monitor.c (monitor_open): Only assume we have eight
358 breakpoints if the monitor implementation does not tell
359 us how many there really are. Alloc memory for these
360 dynamically.
361 (monitor_close): Free memory associated with breakpoint
362 storage.
363 (monitor_insert_breakpoint): Don't rely on a hardcoded
364 number of breakpoints.
365 (monitor_remove_breakpoint): Ditto.
366 (NUM_MONITOR_BREAKPOINTS): Removed and replaced with monitor_ops
367 specification.
368 * monitor.h (struct monitor_ops): Add new member so that the
369 individual monitor implementations can tell us how many
370 breakpoints the monitor supports.
371
372 1999-05-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
373
374 From Philippe De Muyter <phdm@macqel.be>:
375 * event-loop.h: Include sys/wait.h only if HAVE_SYS_WAIT_H.
376
377 1999-05-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
378
379 * top.c (print_command_line): Added the missing stream argument.
380 * gdbcmd.h: Added argument to prototype.
381 * command.c: Fixed call to include extra argument.
382 * breakpoint.c: Same.
383
384 1999-05-14 Jim Blandy <jimb@zwingli.cygnus.com>
385
386 Targets are #defining PREPARE_TO_PROCEED with inconsistent numbers
387 of arguments. Since the Mach 3 target needs an argument, we'll
388 make things consistent by adding an argument everywhere.
389 * infrun.c (proceed): Pass an argument to PREPARE_TO_PROCEED.
390 * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Add ignored argument
391 to definition.
392
393 1999-05-11 Stan Shebs <shebs@andros.cygnus.com>
394
395 Fri Apr 23 13:27:34 PDT 1999 Toshiyasu Morita (tm@netcom.com)
396 * sh-stub.c: Mostly localize processor dependencies.
397
398 1999-05-10 Martin Hunt <hunt@cygnus.com>
399
400 * debugify.c, debugify.h: Removed because they are no
401 longer used.
402
403 1999-05-08 Jim Blandy <jimb@zwingli.cygnus.com>
404
405 * infrun.c (_initialize_infrun): Handle TARGET_SIGNAL_LWP,
406 TARGET_SIGNAL_WAITING, and TARGET_SIGNAL_CANCEL like SIGALRM or
407 SIGIO --- pass them through to the inferior silently.
408 * target.h (enum target_signals): Add TARGET_SIGNAL_CANCEL, for
409 Solaris's SIGCANCEL.
410 * target.c (target_signal_from_host, target_signal_to_host): Add
411 mapping between SIGCANCEL and TARGET_SIGNAL_CANCEL.
412 (signals): Add entry for SIGCANCEL.
413
414 1999-05-07 Stan Shebs <shebs@andros.cygnus.com>
415
416 After years of talking about it, finally break up the
417 wait_for_inferior loop.
418 * infrun.c (struct execution_control_state): New struct,
419 holds what used to be local vars governing wfi behavior.
420 (init_execution_control_state): New function, was code in
421 wfi that set up execution control state.
422 (handle_inferior_event): New function, was body of main
423 wfi loop. Rewrite all local var references to go through
424 the ecs structure passed into this function.
425 (wait_for_inferior): Rewrite to set up and use execution control
426 state, and to call the new functions.
427 (currently_stepping): New function, was the macro
428 CURRENTLY_STEPPING.
429 (enum infwait_states): Rename from wfi_states.
430 (infwait_normal_state, etc): Similarly.
431
432 Thu May 6 15:25:32 1999 Philippe De Muyter <phdm@macqel.be>
433
434 * coffread.c (coff_symtab_read): Call `record_line' with the line
435 number of the ".bf" symbol only for one-line functions.
436
437 1999-05-06 Michael Snyder <msnyder@cleaver.cygnus.com>
438
439 * Makefile.in: thread.o depends on target.h.
440
441 1999-05-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
442
443 * event-top.c (change_line_handler): Use POLLIN instead of
444 POLLRDNORM, for compatibility with Linux.
445 (setup_event_loop): Ditto.
446
447 1999-05-06 Jim Blandy <jimb@zwingli.cygnus.com>
448
449 * mips-tdep.c (heuristic_proc_start): Rewrite cryptic error
450 message about hitting the "heuristic fence post" with something
451 that actually gives the user a fighting chance of figuring out
452 why GDB is unhappy.
453
454 1999-05-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
455
456 * top.c: Include event-loop.h.
457 (init_main): Add async version of 'set prompt' command.
458 If in async mode define the editing and annotate set
459 commands in a different way.
460 Initialize new variable asyn_command_editing_p to 1.
461 Initialize the gdb prompt for async mode.
462 (quit_cover): Make not static, for use by the event loop.
463 (gdb_init): Call async_init_signals for the asynchronous case.
464 (source_line_number, source_file_name, source_error,
465 source_pre_error, history_expansion_p): Make non-static, so
466 event-top.c can use them.
467 (command_loop_marker): Make non-static, for use in event-top.c.
468 Include event-loop.h.
469
470 * top.h: Add prototype for async_init_signals.
471 (SET_TOP_LEVEL): Move here from main.c.
472 Add setup_event_loop to exported functions.
473
474 * defs.h: Add async_hook to exported variables.
475
476 * main.c (SET_TOP_LEVEL): Move to top.h, so that it is visible in
477 event-loop.c. Add new global variable async to determine whether
478 we are running in async mode or not.
479 (main): Add support for --async switch. Use async_hook to call
480 setup_event_loop, when running in async mode.
481
482 * event-top.c: New file. Gdb input line handler and command line
483 handler for the event loop. Initialization of signal handlers.
484 All the handled signals have handlers called handle_<signalname>.
485 Set up all the appropriate tokens for asynchronous signal
486 handling.
487
488 * event-loop.h: New file. Data structures and definitions for the
489 event loop.
490
491 * event-loop.c: New file. Functions for the event loop
492 implementation.
493
494 * config.in: Regenerate with autoheader.
495
496 * configure.in (AC_CHECK_FUNCS): Add poll to list of functions
497 to be checked for.
498
499 * configure: Regenerate.
500
501 * Makefile.in (SFILES): Add new source files.
502 (eventloop_h): Define.
503 (COMMON_OBS): Add new object files.
504 (event-loop.o): Add rule for target object.
505 (event-top.o): Ditto.
506
507 1999-05-05 Stan Shebs <shebs@andros.cygnus.com>
508
509 * infrun.c (wait_for_inferior): Transform breaks and continues
510 into gotos, move the target_wait to the very top of the loop.
511
512 1999-05-05 Jonathan Larmour <jlarmour@cygnus.co.uk>
513
514 * configure.in: Ensure that GDB links with libuser32.a under
515 cygwin because libreadline requires it.
516 * Makefile.in (WIN32LIBS): Substitute in result from configure
517 * configure: regenerate
518
519 1999-05-04 Jim Blandy <jimb@zwingli.cygnus.com>
520
521 Fix from John Rigby. Richard Henderson says it seems okay.
522 * alpha-tdep.c (PROC_DUMMY_FRAME): As long as we're abusing fields
523 of (proc)->pdr, we ought to at least abuse one large enough to
524 hold the value we're trying to store in it. iopt is only 32 bits
525 wide; cbLineOffset is a bfd_vma.
526
527 1999-05-04 DJ Delorie <dj@cygnus.com>
528
529 DJGPP changes from Robert Hoehne <robert.hoehne@gmx.net>
530
531 * ser-go32.c: correct includes
532 * source.c (openp): use ROOTED_P instead of SLASH_P
533 * go32-nat.c: enhance exception and NPX handling
534 (go32_kill_inferior): fix small bug killing inferior
535 * configure.in: don't look for termcap with djgpp
536 * configure: rebuild
537
538 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
539
540 * main.c (main): Comment out unused and undocumented command line
541 option '-'.
542
543 1999-04-30 Jim Blandy <jimb@zwingli.cygnus.com>
544
545 Cleanup from Philippe De Muyter:
546 * configure.in (BFD_NEED_DECLARATION): Check also for strstr.
547 * acconfig.h (NEED_DECLARATION_MALLOC, NEED_DECLARATION_REALLOC,
548 NEED_DECLARATION_FREE, NEED_DECLARATION_STRERROR): Define slots
549 removed; they are now generated automatically.
550 * gdb_string.h (strstr): Provide function prototype if
551 NEED_DECLARATION_STRSTR.
552 * configure, config.in: Regenerated.
553
554 Fri Apr 30 11:16:09 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
555
556 * target.h (to_find_new_threads): new target ops vector.
557 (target_find_new_threads): define.
558 * target.c (update_current_target): inherit new target ops vector.
559 * remote.c: Setup to_find_new_threads vector.
560 * sol-thread.c: ditto.
561 * thread.c (target_find_new_threads): rename: local_find_new_threads.
562 (info_threads_command): call target_find_new_threads by new method,
563 as a target ops vector, rather than previous macro definition method.
564 * infcmd.c (go_command): define only if in xdb mode.
565 * procfs.c: fix typo in comment.
566
567 Fri Apr 30 01:02:05 1999 Jeffrey A Law (law@cygnus.com)
568
569 * hppah-nat.c: Fix various coding convention violations introduced
570 by HP.
571 (child_acknowledge_created_inferior): Do nothing if PT_SET_EVENT_MASK
572 is not defined.
573
574 1999-04-28 Stan Shebs <shebs@andros.cygnus.com>
575
576 * TODO: Add some items inspired by review of the manual.
577
578 Tue Apr 27 17:38:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
579
580 * config/z8k/tm-z8k.h, config/v850/tm-v850.h,
581 config/tic80/tm-tic80.h, config/sparc/tm-sparc.h,
582 config/sh/tm-sh.h, config/pyr/tm-pyr.h, config/pa/tm-hppa.h,
583 config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h,
584 config/mips/tm-mips.h, config/m88k/tm-m88k.h,
585 config/m68k/tm-m68k.h, config/m32r/tm-m32r.h,
586 config/i960/tm-i960.h, config/i386/tm-i386.h,
587 config/h8500/tm-h8500.h, config/h8300/tm-h8300.h,
588 config/fr30/tm-fr30.h, config/d30v/tm-d30v.h,
589 config/d10v/tm-d10v.h, config/alpha/tm-alpha.h,
590 config/arm/tm-arm.h, config/a29k/tm-a29k.h, config/arc/tm-arc.h:
591 Change SKIP_PROLOGUE and SKIP_PROLOGUE_FRAMELESS_P macros so that
592 they return the new address.
593
594 * sparc-tdep.c (sparc_skip_prologue), hppa-tdep.c
595 (hppa_skip_prologue), m88k-tdep.c
596 (m88k_skip_prologue), i960-tdep.c
597 (i960_skip_prologue), arc-tdep.c
598 (arc_skip_prologue), a29k-tdep.c (a29k_skip_prologue): Rename
599 skip_prologue function.
600
601 * config/m68k/tm-isi.h: Convert macro SKIP_PROLOGUE into a new
602 function.
603 * m68k-tdep.c (isi_skip_prologue): That new function.
604 * vax-tdep.c (vax_skip_prologue), config/vax/tm-vax.h: Ditto.
605 * tahoe-tdep.c (tahoe_skip_prologue), config/tahoe/tm-tahoe.h: Ditto.
606 * rs6000-tdep.c (rs6000_skip_prologue), config/rs6000/tm-rs6000.h:
607 Ditto.
608 * ns32k-tdep.c (umax_skip_prologue), config/ns32k/tm-umax.h: Ditto.
609 * config/ns32k/tm-merlin.h, ns32k-tdep.c (merlin_skip_prologue):
610 Ditto.
611 * config/m68k/tm-altos.h, m68k-tdep.c (altos_skip_prologue): Ditto.
612 * config/convex/tm-convex.h, convex-tdep.c (convex_skip_prologue):
613 Ditto.
614
615 * symtab.c (in_prologue, find_function_start_sal, decode_line_1),
616 infrun.c (wait_for_inferior), blockframe.c
617 (frameless_look_for_prologue): Update.
618 * config/fr30/tm-fr30.h (FRAMELESS_FUNCTION_INVOCATION): Update.
619
620 1999-04-27 Stan Shebs <shebs@andros.cygnus.com>
621
622 * TODO: Remove item about DEBUG_EXPRESSIONS, no longer meaningful.
623
624 * infrun.c (enum wfi_state): New enum.
625 (wait_for_inferior): Merge all but one of the target_wait calls
626 into a single call, add a wfi_state variable to encode which of
627 the calls is being made.
628
629 1999-04-26 Jim Blandy <jimb@zwingli.cygnus.com>
630
631 Fix from Dave Holcomb.
632 * hpux-thread.c (init_hpux_thread_ops): Use the right function
633 name when initializing hpux_thread_ops.to_thread_alive.
634
635 * coffread.c (coff_symfile_read): If we have a `.stab' section,
636 but no `.stabstr' section, then print an error message; don't
637 crash.
638
639 1999-04-26 Jim Blandy <jimb@zwingli.cygnus.com>
640
641 1999-04-25 Mark Kettenis <kettenis@gnu.org>
642
643 * gnu-nat.c (gnu_attach): Call target_terminal_init before calling
644 inf_set_traced, since that function calls code that might try to
645 restore the terminal settings.
646
647 Mon Apr 26 08:55:46 1999 Andrew Cagney <cagney@b1.cygnus.com>
648
649 * gdbarch.h, gdbarch.c: More format cleanups.
650
651 Fri Apr 23 15:00:25 1999 Andrew Cagney <cagney@b1.cygnus.com>
652
653 * gdbarch.c (arch_ok): New function. Fix logic test for a valid
654 architecture.
655 (set_arch): Use.
656
657 1999-04-22 Jason Molenda (jsm@bugshack.cygnus.com)
658
659 * README: Note that readline is not installed as a part of
660 make install.
661
662 Thu Apr 22 21:02:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
663
664 * value.h (get_saved_register): Cleanup prototype.
665 * findvar.c (default_get_saved_register): Rename function
666 get_saved_register.
667 (GET_SAVED_REGISTER): Define as default_get_saved_register when
668 undefined.
669 (get_saved_register): Always declare. Call GET_SAVED_REGISTER.
670
671 * sparc-tdep.c (sparc_get_saved_register): Rename function
672 get_saved_register.
673 * config/sparc/tm-sparc.h (GET_SAVED_REGISTER): Update.
674 * a29k-tdep.c (a29k_get_saved_register): Rename function
675 get_saved_register.
676 * config/a29k/tm-a29k.h (GET_SAVED_REGISTER): Update.
677
678 * config/d10v/tm-d10v.h, config/powerpc/tm-ppc-eabi.h,
679 config/h8300/tm-h8300.h, config/m32r/tm-m32r.h,
680 config/mn10200/tm-mn10200.h, config/mn10300/tm-mn10300.h,
681 config/sh/tm-sh.h, config/tic80/tm-tic80.h, config/v850/tm-v850.h:
682 Update macro GET_SAVED_REGISTER so that it calls
683 generic_get_saved_register.
684 * v850-tdep.c, tic80-tdep.c, sh-tdep.c, mn10300-tdep.c,
685 mn10200-tdep.c, m32r-tdep.c, h8300-tdep.c, rs6000-tdep.c: Delete
686 function get_saved_register.
687
688 Thu Apr 22 11:07:21 1999 Andrew Cagney <cagney@b1.cygnus.com>
689
690 * config/v850/tm-v850.h, config/tic80/tm-tic80.h,
691 config/sh/tm-sh.h, config/powerpc/tm-ppc-eabi.h,
692 config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h,
693 config/m32r/tm-m32r.h, config/h8300/tm-h8300.h,
694 config/fr30/tm-fr30.h, config/d10v/tm-d10v.h: Give the
695 USE_GENERIC_DUMMY_FRAMES macro the value one.
696 * inferior.h (USE_GENERIC_DUMMY_FRAMES): Default to a value of
697 zero.
698
699 * blockframe.c (generic_find_dummy_frame,
700 generic_pc_in_call_dummy, generic_read_register_dummy,
701 generic_push_dummy_frame, generic_pop_current_frame,
702 generic_pop_dummy_frame, generic_frame_chain_valid,
703 generic_get_saved_register): Always define.
704
705 * breakpoint.c (frame_in_dummy): Convert #ifdef
706 USE_GENERIC_DUMMY_FRAMES to runtime test.
707
708 * rs6000-tdep.c (pop_frame, push_arguments, push_arguments,
709 push_arguments, frame_saved_pc, rs6000_frame_chain,
710 rs6000_frame_chain): Convert #ifdef USE_GENERIC_DUMMY_FRAMES to
711 runtime test.
712 (get_saved_register): Always define.
713
714 Wed Apr 21 14:45:44 1999 Andrew Cagney <cagney@b1.cygnus.com>
715
716 * gdbarch.c (enum set_arch): Declare.
717 (set_arch): Add type parameter. Only disable
718 ``target_architecture_auto'' when set_arch_manual.
719 (set_architecture, set_architecture_from_arch_mach,
720 set_architecture_from_file): Update.
721
722 Wed Apr 21 10:48:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
723
724 * frame.h (generic_pc_in_call_dummy): Make signature consistent
725 with other pc_in_call_dummy functions by adding SP parameter.
726 * blockframe.c (generic_pc_in_call_dummy): Update. Pass SP and
727 not FP to generic_find_dummy_frame().
728 * breakpoint.c (frame_in_dummy): Update.
729 * config/v850/tm-v850.h, config/tic80/tm-tic80.h,
730 config/sh/tm-sh.h, config/mn10300/tm-mn10300.h,
731 config/mn10200/tm-mn10200.h, config/m32r/tm-m32r.h,
732 config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
733 config/d10v/tm-d10v.h: Update PC_IN_CALL_DUMMY definition.
734
735 Tue Apr 20 12:15:45 1999 Andrew Cagney <cagney@b1.cygnus.com>
736
737 * config/d10v/tm-d10v.h (GDB_TARGET_IS_D10V): Move from here.
738 * gdbarch.h (GDB_TARGET_IS_D10V): To here. Implement using
739 TARGET_ARCHITECTURE.
740 (D10V_MAKE_DADDR, D10V_MAKE_IADDR): Provide fatal default
741 definitions.
742
743 * valops.c (value_at): Replace #ifdef GDB_TARGET_IS_D10V code with
744 runtime test.
745 (value_fetch_lazy): Ditto.
746 * values.c (unpack_long): Ditto.
747 * printcmd.c (print_frame_args): Ditto.
748
749 1999-04-15 Stan Shebs <shebs@andros.cygnus.com>
750
751 * infrun.c (wait_for_inferior) [HAVE_STEPPABLE_WATCHPOINT,
752 HAVE_NONSTEPPABLE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT]: Test
753 at runtime instead of compile time.
754
755 1999-04-14 Philippe De Muyter <phdm@macqel.be>
756
757 * breakpoint.c (maintenance_info_breakpoints): Function made
758 static to match previous prototype.
759
760 * coffread.c (coff_record_line): Static function removed.
761 (enter_linenos): Call `record_line' instead of `coff_record_line'.
762 (FILE-LEVEL, coff_start_symtab, coff_end_symtab): `coff_record_line'
763 -related stuff removed.
764 (coff_symfile_read): Redundant statement removed.
765 (coff_symtab_read): `record_line' is now called with the first line
766 number of each function, given by the ".bf" symbol. This solves
767 the line-number bug for one-line functions.
768
769 Wed Apr 14 11:09:45 1999 Andrew Cagney <cagney@b1.cygnus.com>
770
771 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Provide default.
772 (define_symbol): Change #if BELIEVE_PCC_PROMOTION_TYPE and #if
773 BELIEVE_PCC_PROMOTION to if().
774
775 1999-04-13 Jason Molenda (jsm@bugshack.cygnus.com)
776
777 * configure.in (HAVE_MULTIPLE_PROC_FDS): Don't define if we're
778 on a Solaris host (of any architecture).
779 * configure: Regenerated.
780
781 1999-04-13 Jason Molenda (jsm@bugshack.cygnus.com)
782
783 * rom68k-rom.c (init_rom68k_cmds): Fix an accidental substitution
784 in monitor command strings, fix some formatting mistakes.
785
786 1999-04-13 Stan Shebs <shebs@andros.cygnus.com>
787
788 * configure.tgt (arm-*-*): Whack another vestige of wingdb.
789
790 1999-04-12 James Ingham <jingham@cygnus.com>
791
792 * arm-tdep.c (arm_pop_frame): don't clobber the previous frame's
793 stack pointer (stored in frame->framereg's register) BEFORE
794 reading it. This was causing "return" to behave very oddly.
795
796 1999-04-12 Stan Shebs <shebs@andros.cygnus.com>
797
798 * NEWS: Mention tic80.
799
800 1999-04-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
801
802 * a68v-nat.c: Remove reference to 'extern char registers[]' throughout.
803 * altos-xdep.c: Ditto.
804 * arm-xdep.c: Ditto.
805 * convex-xdep.c: Ditto.
806 * cxux-nat.c: Ditto.
807 * hp300ux-nat.c: Ditto.
808 * hppab-nat.c: Ditto.
809 * i386aix-nat.c: Ditto.
810 * i386mach-nat.c: Ditto.
811 * m88k-nat.c: Ditto.
812 * ptx4-nat.c: Ditto.
813 * pyr-xdep.c: Ditto.
814 * rs6000-nat.c: Ditto.
815 * sun3-nat.c: Ditto.
816 * sun386-nat.c: Ditto.
817 * symm-nat.c: Ditto.
818 * umax-xdep.c: Ditto.
819 * i386v4-nat.c: Ditto. Also include inferior.h.
820 * m68k-tdep.c: Ditto. Also include inferior.h.
821
822 Mon Apr 12 15:57:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
823
824 * inferior.h (CALL_DUMMY_STACK_ADJUST, CALL_DUMMY_STACK_ADJUST_P):
825 Provide default definitions.
826 * valops.c (hand_function_call): Replace #ifdef
827 CALL_DUMMY_STACK_ADJUST with if (CALL_DUMMY_STACK_ADJUST_P).
828
829 1999-04-09 Jim Blandy <jimb@zwingli.cygnus.com>
830
831 * ax-gdb.c, ax-gdb.h, ax-general.c, ax.h: Remove RCS Id strings.
832 They're a pain.
833
834 * GDB 4.18 released.
835 * Makefile.in (VERSION): Bump to 4.18.1.
836
837 Thu Apr 8 16:04:34 1999 Andrew Cagney <cagney@b1.cygnus.com>
838
839 * inferior.h (CALL_DUMMY_P, CALL_DUMMY_WORDS,
840 SIZEOF_CALL_DUMMY_WORDS): Define macros.
841 (PUSH_DUMMY_FRAME, FIX_CALL_DUMMY, STORE_STRUCT_RETURN): Provide
842 fatal default.
843
844 * inferior.h, gdbarch.c (call_dummy_words,
845 sizeof_call_dummy_words): Declare/Define variables.
846 * valops.c (value_arg_coerce, find_function_addr,
847 call_function_by_hand): Always define.
848 (hand_function_call): Rename CALL_DUMMY version of
849 call_function_by_hand. Make static. Add prototype.
850 (hand_function_call): Update. Allocate space for *dummy and
851 *dummy1 using alloca.
852 * breakpoint.c (frame_in_dummy): Update.
853
854 1999-04-08 Jason Molenda (jsm@bugshack.cygnus.com)
855
856 * monitor.c (monitor_read_memory): If a MO_GETMEM_NEEDS_RANGE
857 monitor, increase the end address by one byte.
858
859 1999-04-08 Jason Molenda (jsm@bugshack.cygnus.com)
860
861 * dbug-rom.c (init_dbug_cmds): Fix strings in
862 dbug_cmds.{step,clr_break,clr_all_break,fill} to send correct
863 commands to the monitor.
864
865 1999-04-08 Keith Seitz <keiths@cygnus.com>
866
867 * m32r-stub.c (branchDestination): Undo overly ambitious
868 sed script's conversion of cast from "char" to "unsigned char".
869 Return offset should now be properly computed.
870
871 Thu Apr 8 14:13:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
872
873 * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): New macro.
874 Non-zero when CALL_DUMMY_BREAKPOINT_OFFSET is valid.
875
876 * infcmd.c (breakpoint_auto_delete_contents): Always define.
877 (run_stack_dummy): Update.
878 * infrun.c (wait_for_inferior): Update
879
880 1999-04-07 Stan Shebs <shebs@andros.cygnus.com>
881
882 * MAINTAINERS: Mark Alexander can no longer maintain
883 h8300 and other embedded targets, sniff.
884
885 1999-04-06 Stan Shebs <shebs@andros.cygnus.com>
886
887 * inftarg.c (child_wait): Initialize execd_pathname.
888 * target.c (debug_to_has_execd): Handle NULL execd_pathname.
889
890 * solib.c (clear_solib): Don't call disable_breakpoints_in_shlibs,
891 this breaks rerunning on sun4 native.
892
893 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
894
895 * config/sparc/nm-linux.h: Don't redefine PT_ATTACH to use the
896 deprecated PTRACE_SUNATTACH compatibility commands. The
897 definitions from <sys/ptrace.h> are fine.
898
899 1999-04-06 Martin Hunt <hunt@cygnus.com>
900
901 * annotate.h: Declare annotate_signal_hook.
902
903 * annotate.c (annotate_signal): Add a call to
904 annotate_signal_hook().
905
906 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
907
908 * dwarf2read.c (dwarf_decode_lines): Don't call record_line when
909 we hit a DW_LNE_end_sequence instruction.
910
911 * README: Note that GDB requires an ANSI C compiler, and explain
912 how to get GCC.
913
914 * README: Update.
915
916 1999-04-05 Stan Shebs <shebs@andros.cygnus.com>
917
918 * NEWS: Add more notes about user-visible changes.
919
920 Mon Apr 5 14:56:59 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
921
922 * target.c (target_signal_to_string): check for signal
923 number in range; otherwise if the target board returns
924 a bogus signal number we might core dump (per David Taylor).
925
926 1999-04-05 David Taylor <taylor@ryobi.cygnus.com>
927
928 * utils.c (fputs_maybe_filtered): test value of
929 pagination_enabled before paginating.
930
931 1999-04-02 James Ingham <jingham@cygnus.com>
932
933 * blockframe.c (get_prev_frame): Remove the redundant
934 get_prev_frame_info. It is now exactly the same as
935 get_prev_frame, so there is no reason to have both functions.
936
937 * rs6000-tdep.c (rs6000_init_extra_frame_info):
938 frame.h:
939 a29k-tdep.c (init_extra_frame_info):
940 config/a29k/tm-a29k.h:
941 i386-tdep.c:
942 Change all references to get_prev_frame_info to get_prev_frame.
943
944 1999-04-02 Stan Shebs <shebs@andros.cygnus.com>
945
946 * bcache.c, bcache.h, breakpoint.c, defs.h, expprint.c,
947 expression.h, gdbarch.c, gdbtypes.c, gdbtypes.h, gnu-nat.c,
948 gnu-nat.h, hppa-tdep.c, maint.c, monitor.c, objfiles.h, parse.c,
949 remote-mips.c, remote-sds.c, remote.c, sol-thread.c, symmisc.c,
950 symtab.h, target.c, top.c, typeprint.c, config/nm-gnu.h: Evaporate
951 the unused MAINTENANCE_CMDS conditional.
952
953 1999-04-02 James Ingham <jingham@cygnus.com>
954
955 * config/arm/tm-arm.h: (EXTRACT_STRUCT_VALUE_ADDRESS): This needs
956 to call extract_address, not just cast the first 4 bytes, since
957 the result will be passed to value_at which expects host-byte
958 order.
959
960 * arm-tdep.c (arm_scan_prologue): The prologue_start address was
961 directly &'ed with 0x03fffffc, rather than using
962 ADDR_BITS_REMOVE. This would cause inferior function calls to
963 report the stack incorrectly on return.
964
965
966 1999-04-02 Keith Seitz <keiths@cygnus.com>
967
968 * top.c (ui_loop_hook): Change declaration. Now returns an int.
969 * win32-nat.c (child_wait): Timeout WaitForDebugEvent and call
970 the ui_loop_hook if there was no debug event.
971 * top.c (ui_loop_hook): Change to return an int and include
972 on all non-Cygwin builds.
973 * v850ice.c: Change prototype of ui_loop_hook.
974 (v850ice_wait): Update call to ui_loop_hook.
975 * ser-unix.c (hardwire_readchar): Enable ui_loop_hook callbacks
976 for non-Cygwin builds. Check return status of ui_loop_hook and
977 return a timeout if told to detach. Add more documentation.
978 * ser-tcp.c (tcp_readchar): Break up timeouts into one second
979 intervals and call ui_loop_hook so that other UIs can
980 keep up to date. If ui_loop_hook returns non-zero, then
981 return SERIAL_TIMEOUT to facilitate detaching from the
982 target.
983 * remote.c (remote_interrupted_already): Remove.
984 (remote_interrupt_twice): Revive.
985 (remote_interrupt): Call remote_stop to interrupt the target
986 and install remote_interrupt_twice to take more severe
987 actions if this fails.
988 (remote_stop): Only attempt to stop the target. This separates
989 the command line from other UIs.
990 * remote-sim.c (gdb_os_poll_quit): Add a call to ui_loop_hook,
991 if it is defined.
992
993 1999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
994
995 Fix for cross-debugging on an AIX host from Johanna Svenningsson:
996 * ax-gdb.h (enum axs_lvalue_kind): Remove trailing comma from enum.
997 * ax.h (enum agent_op): Same.
998 * tracepoint.h (enum actionline_type): Same.
999 * config/xm-aix4.h: Add declaration for termdef.
1000
1001 1999-03-31 Stan Shebs <shebs@andros.cygnus.com>
1002
1003 * jv-lang.h (dynamics_objfile): Remove decl, conflicts with static
1004 decl in jv-lang.c.
1005
1006 * infrun.c (follow_inferior_fork): Add ifdefs around
1007 SOLIB_REMOVE_INFERIOR_HOOK.
1008
1009 Wed Mar 31 11:39:49 1999 David Taylor <taylor@ryobi.cygnus.com>
1010
1011 * valops.c (search_struct_field): revert HP merge change
1012 to this function -- it causes messages to be printed about
1013 member class ambiguity when the compiler is happy.
1014 (search_struct_field_aux): delete -- added as part of HP merge
1015 change; with aforementioned change it is no longer called.
1016
1017 1999-03-30 Stan Shebs <shebs@andros.cygnus.com>
1018
1019 Make more HPUX-specific code generic.
1020 * infrun.c: Include top.h.
1021 (MAY_SWITCH_FROM_INFERIOR_PID, MAY_FOLLOW_EXEC,
1022 USE_THREAD_STEP_NEEDED): New native macros.
1023 (may_switch_from_inferior_pid, may_follow_exec,
1024 use_thread_step_needed): New globals.
1025 (follow_inferior_fork): Remove HPUXHPPA ifdef.
1026 (follow_exec): Ditto, also save run target and re-push instead of
1027 always pushing child_ops, add ifdefs around SOLIB_RESTART and
1028 SOLIB_CREATE_INFERIOR_HOOK.
1029 (wait_for_inferior): Use new globals instead of ifdefing HPUXHPPA,
1030 always use printf_filtered to report new threads.
1031 (normal_stop): Ditto.
1032 * target.h, target.c (find_run_target): New function.
1033 * config/pa/nm-hppah.h: Define new macros.
1034
1035 1999-03-29 Stan Shebs <shebs@andros.cygnus.com>
1036
1037 * top.h: Include setjmp.h here.
1038 * main.c, top.c: Don't include it here.
1039
1040 1999-03-29 Keith Seitz <keiths@cygnus.com>
1041
1042 * symtab.c (decode_line_1): Take out change which breaks symbols
1043 which include class names and methods, e.g., "Foo::bar".
1044
1045 1999-03-26 Stan Shebs <shebs@andros.cygnus.com>
1046
1047 * configure.tgt (i[3456]86-*-sysv4.2MP, i[3456]86-*-sysv4.2uw2*):
1048 Recognize both, as i[3456]86-*-sysv4.2*.
1049 (i[3456]86-*-sysv5*): Recognize.
1050
1051 * infrun.c (wait_for_inferior): Remove most #if 0 segments.
1052
1053 Fri Mar 26 17:27:27 1999 Andrew Cagney <cagney@b1.cygnus.com>
1054
1055 * blockframe.c (pc_in_call_dummy_on_stack): Fix. Had copied code
1056 from at_entry_point.
1057
1058 Thu Mar 25 19:30:02 1999 Andrew Cagney <cagney@amy.cygnus.com>
1059
1060 * gdbarch.c: Include all headers.
1061
1062 * inferior.h, blockframe.c (pc_in_call_dummy_before_text_end,
1063 pc_in_call_dummy_after_text_end, pc_in_call_dummy_on_stack,
1064 pc_in_call_dummy_at_entry_point): Convert PC_IN_CALL_DUMMY macro's
1065 into functions.
1066
1067 Tue Mar 23 17:22:57 1999 Philippe De Muyter <phdm@macqel.be>
1068
1069 * remote.c, parse.c: Include ctype.h.
1070
1071 1999-03-24 Stan Shebs <shebs@andros.cygnus.com>
1072
1073 * configure.host (mips-dec-mach3*): Use mipsm3 not mach3.
1074
1075 Attempt to sort out SCO-related configs.
1076 * configure.host (i[3456]86-*-sysv4.2*): Use instead of
1077 i[3456]86-*-sysv4.2MP and i[3456]86-*-sysv4.2uw2*.
1078 (i[3456]86-*-sysv5*): Recognize.
1079 * configure.tgt (i[3456]86-*-sco3.2v5*, i[3456]86-*-sco3.2v4*):
1080 Recognize.
1081
1082 Wed Mar 24 16:19:01 1999 Christopher Faylor <cgf@cygnus.com>
1083
1084 * MAINTAINERS: Add DJ Delorie (dj@cygnus.com) as the djgpp
1085 maintainer.
1086
1087 Wed Mar 24 21:19:57 1999 Andrew Cagney <cagney@amy.cygnus.com>
1088
1089 * target.h (enum target_signal): Do not hardwire values of MACH
1090 signals.
1091
1092 1999-03-14 Ken Raeburn <raeburn@raeburn.org>
1093
1094 * target.h (enum target_signal): Add TARGET_SIGNAL_INFO.
1095 * target.c (signals): Add SIGINFO description.
1096 (target_signal_from_host, target_signal_to_host): Translate
1097 SIGINFO to/from TARGET_SIGNAL_INFO.
1098
1099 Wed Mar 24 01:01:27 1999 Andrew Cagney <cagney@sludge.cygnus.com>
1100
1101 * rs6000-tdep.c (rs6000_software_single_step): Change SIGNAL to
1102 unsigned int.
1103
1104 From Rodney Brown <rodneybrown@pmsc.com>
1105 * target.h (enum thread_control_capabilities), breakpoint.h (enum
1106 bptype), breakpoint.c (enum insertion_state_t): Strict ISO-C
1107 doesn't allow trailing comma in enum definition.
1108
1109 Mon Mar 22 15:56:04 1999 Andrew Cagney <cagney@b1.cygnus.com>
1110
1111 * blockframe.c (inside_entry_file, inside_entry_func): Convert #if
1112 CALL_DUMMY_LOCATION to if.
1113 * valops.c (call_function_by_hand): Ditto.
1114 * infcmd.c (run_stack_dummy): Ditto.
1115 * inferior.h (CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET,
1116 CALL_DUMMY_BREAKPOINT_OFFSET): Provide default.
1117
1118 1999-03-23 Jason Molenda (jsm@bugshack.cygnus.com)
1119
1120 * hppa-tdep.c (pa_register_look_aside): Remove CPU_HPPA_RISC_20
1121 check, test for presence of struct save_state_t and the ss_wide
1122 member directly.
1123 * configure.in: Remove CPU_HPPA_RISC_20 test. Add tests for
1124 HAVE_STRUCT_SAVE_STATE_T and HAVE_STRUCT_MEMBER_SS_WIDE.
1125 * acconfig.h: Add HAVE_STRUCT_SAVE_STATE_T HAVE_STRUCT_MEMBER_SS_WIDE.
1126 * configure, config.in: Regenerated.
1127
1128 Mon Mar 22 13:25:13 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
1129
1130 * infttrace.c (proc_wait): rename to ptrace_wait.
1131
1132 1999-03-18 Jim Blandy <jimb@zwingli.cygnus.com>
1133
1134 * dwarf2read.c: Correctly recognize location expressions that
1135 designate LOC_REF_ARG arguments. Doc fixes.
1136 (isderef): New global. (Yuck.)
1137 (dwarf2_complex_location_expr): New complaint.
1138 (read_func_scope): Reject frame_base attributes that use the
1139 `deref' opcode as too complex.
1140 (new_symbol): If both regoff and isderef are set, and the base
1141 register is the frame pointer, then it's a LOC_REF_ARG argument.
1142 (decode_locdesc): Recognize the `deref' opcode in location
1143 expressions. Complain if it's not the last op in the expression.
1144
1145 * config/fr30/tm-fr30.h (COERCE_FLOAT_TO_DOUBLE): #define this to
1146 be true, or else value_arg_coere won't respect the (accurate)
1147 information we have about whether a function is prototyped.
1148
1149 1999-03-17 Jim Blandy <jimb@zwingli.cygnus.com>
1150
1151 * config/fr30/tm-fr30.h (STACK_ALIGN): Define this here, so
1152 calling functions by hand with odd-sized arguments doesn't munge
1153 the stack.
1154
1155 1999-03-17 Jason Molenda (jsm@bugshack.cygnus.com)
1156
1157 * configure.in (HAVE_MULTIPLE_PROC_FDS): Don't define for Solaris
1158 hosts--gdb doesn't support this yet.
1159 * configure: Regenerated.
1160
1161 1999-03-16 Keith Seitz <keiths@cygnus.com>
1162
1163 * remote.c (remote_binary_checked): New file global.
1164 (check_binary_download): New function to check if
1165 stub supports binary downloading that works with
1166 stubs that are not eight bit clean.
1167 (remote_write_bytes): Check for binary download capability
1168 and use it if available.
1169 Remove references to global remote_binary_length. What a hack.
1170 (putpkt_binary): New function.
1171 (putpkt): Call putpkt_binary.
1172 Use xor to escape trouble characters.
1173 * m32r-stub.c (bin2mem): Follow escape char convention change.
1174
1175 Tue Mar 16 01:11:33 1999 Andrew Cagney <cagney@rhino.cygnus.com>
1176
1177 * target.h (struct target_ops), target.c (debug_to_query),
1178 remote.c (pack_hex_byte, remote_query): Promote char parameters to
1179 int. Stops compile problems with pedantic ISO-C compilers.
1180
1181 Tue Mar 16 15:29:04 1999 Stan Shebs <shebs@andros.cygnus.com>
1182
1183 * go32-xdep.c: Remove, no longer used by anything.
1184 * Makefile.in: Remove references.
1185
1186 * jv-lang.c, jv-lang.h (java_primitive_type): Declare argument
1187 as int instead of char.
1188
1189 Mon Mar 15 11:42:43 1999 Andrew Cagney <cagney@b1.cygnus.com>
1190
1191 * d10v-tdep.c (push_stack_item, pop_stack_item): New function.
1192 (d10v_push_arguments): Use.
1193
1194 From Martin M. Hunt <hunt@cygnus.com>:
1195 * d10v-tdep.c (d10v_push_arguments): When arguments
1196 must be pushed onto the stack, they go on in
1197 reverse order.
1198
1199 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
1200
1201 * symtab.c (make_symbol_overload_list): Don't try to stuff minimal
1202 or partial symbols into the overload list; we don't know their
1203 types. (Thanks to Rajiv Mirani.)
1204
1205 1999-03-15 Jason Molenda (jsm@bugshack.cygnus.com)
1206
1207 * acinclude.m4 (--with-itclconfig, --with-itkconfig, --with-tixconfig):
1208 Fix whitespace so --help messages line up.
1209 * configure.in (--with-cpu): Fix capitalization for --help messages.
1210 * configure, aclocal.m4: Regenerated.
1211
1212 Mon Mar 15 11:39:03 1999 Ian Carmichael <iancarm@cygnus.com>
1213
1214 Support building gdb w/o simulator:
1215 * configure.in: Support --disable-sim. Check for sim directory.
1216 * Makefile.in (IGNORE_SIM, IGNORE_SIM_OBS): New.
1217 * acconfig.h (WITH_SIM): Define.
1218 * configure, config.in: Regenerate.
1219
1220 Mon Mar 15 08:01:33 1999 Elena Zannoni <ezannoni@cygnus.com>
1221
1222 Patch from Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
1223
1224 * top.c (read_command_lines): Reset control_level to 0.
1225 (define_command): Don't do it here.
1226
1227 Sun Mar 14 16:12:15 1999 Andrew Cagney <cagney@rhino.cygnus.com>
1228
1229 * hppah-nat.c (store_inferior_registers): Delete extern
1230 registers[] declaration.
1231
1232 Sun Mar 14 19:17:30 1999 Andrew Cagney <cagney@b1.cygnus.com>
1233
1234 * infrun.c (write_inferior_status_register): New function. Provide
1235 update access to an inf_status register buffer. Only used by HP.
1236 * inferior.h (write_inferior_status_register): Add prototype.
1237
1238 * hppa-tdep.c (push_dummy_frame): Use
1239 write_inferior_status_register when hacking around a sleeping
1240 inferior. Accidently fix byte-order problem.
1241
1242 Sun Mar 14 16:40:10 1999 Andrew Cagney <cagney@b1.cygnus.com>
1243
1244 * config/pa/tm-hppa.h (PUSH_DUMMY_FRAME): Fix parameter. Address
1245 not needed.
1246
1247 Fri Mar 12 13:11:48 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
1248
1249 * remote.c (remote_write_bytes): fix 'X' packet protocol so that it
1250 can't overwrite the end of its buffer with escaped characters.
1251
1252 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
1253
1254 Alpha patches from Richard Henderson:
1255
1256 * alpha-tdep.c (alpha_skip_prologue): Recognize subq.
1257
1258 * config/alpha/tm-alpha.h (REGISTER_NAMES): No f31, but fpcr.
1259 (FPCR_REGNUM): New.
1260 (REGISTER_CONVERTIBLE): Don't convert fpcr.
1261 (REGISTER_VIRTUAL_TYPE): Don't make fpcr a double.
1262
1263 * stabsread.c (define_symbol): Only consider live range extension
1264 if we have an open parenthesis.
1265
1266 1999-03-11 Jim Blandy <jimb@zwingli.cygnus.com>
1267
1268 * monitor.c (monitor_fetch_register): Print RDEBUG info correctly
1269 when the register name is null.
1270
1271 Thu Mar 11 19:33:07 1999 Stan Shebs <shebs@andros.cygnus.com>
1272
1273 * infrun.c (wait_for_inferior): Change #if DECR_PC_AFTER_BREAK
1274 uses to expressions, remove redundant extern decls.
1275
1276 Thu Mar 11 18:05:11 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
1277
1278 * infptrace.c (proc_wait): Rename to ptrace_wait.
1279 * inftarg.c (child_wait): call ptrace_wait instead of proc_wait.
1280 * inferior.h: Declare ptrace_wait instead of proc_wait.
1281
1282 Thu Mar 11 11:46:25 1999 Andrew Cagney <cagney@amy.cygnus.com>
1283
1284 * breakpoint.c (create_solib_load_unload_event_breakpoint,
1285 create_fork_vfork_event_catchpoint, tcatch_command,
1286 create_exception_catchpoint, break_at_finish_at_depth_command_1,
1287 catch_fork_command_1, ep_skip_leading_whitespace,
1288 break_at_finish_command_1, catch_exec_command_1,
1289 catch_exception_command_1, stop_command, stopin_command,
1290 stopat_command, ep_parse_optional_filename,
1291 ep_find_event_name_end, ep_parse_optional_if_clause,
1292 catch_fork_command_1), stack.c (show_and_print_stack_frame_stub,
1293 print_stack_frame_stub, print_only_stack_frame_stub,
1294 backtrace_command_1, backtrace_full_command, func_command),
1295 valprint.c (print_decimal), source.c (print_source_lines_base):
1296 Add prototype.
1297
1298 * stack.c (print_stack_frame_stub, show_and_print_stack_frame_stub,
1299 print_only_stack_frame_stub): Make param void*.
1300
1301 Wed Mar 10 19:33:28 1999 Geoffrey Noer <noer@cygnus.com>
1302
1303 * win32-nat.c: If old Cygwin Win32 API headers aren't being used,
1304 define some gdb-specific defines that shouldn't have been in the
1305 global headers.
1306
1307 Wed Mar 10 21:20:25 1999 Andrew Cagney <cagney@b1.cygnus.com>
1308
1309 * findvar.c (registers, register_valid): Replace array with pointer.
1310 (build_findvar): New function. Allocate space for REGISTERS and
1311 REGISTER_VALID.
1312 (_initialize_findvar): Call build_findvar.
1313
1314 * inferior.h (registers, register_valid): Replace array with
1315 pointer.
1316
1317 * inferior.h (struct inferior_status): Move definition from here.
1318
1319 * infrun.c (struct inferior_status): To here.
1320 (struct inferior_status): Change ``stop_registers'' and
1321 ``registers'' to pointers.
1322 (xmalloc_inferior_status, free_inferior_status): New functions.
1323 (restore_inferior_status): Call free_inferior_status.
1324 (save_inferior_status): Call xmalloc_inferior_status.
1325 (discard_inferior_status): New function, discard inf_status
1326 buffer. Call free_inferior_status.
1327
1328 * inferior.h (stop_registers): Replace array with pointer.
1329 * infrun.c (stop_registers): Update.
1330 (build_infrun): Initialize stop_registers.
1331 (_initialize_infrun): Call build_infrun.
1332
1333 Wed Mar 10 14:50:42 1999 Andrew Cagney <cagney@amy.cygnus.com>
1334
1335 * alpha-tdep.c (alpha_linux_sigtramp_offset): Only compile when
1336 LINUXALPHA target. Hack.
1337
1338 * infrun.c (set_follow_fork_mode_command): Make static. Add
1339 prototype.
1340 * tracepoint.c (add_register): Ditto.
1341 * valprint.c (strcat_longest): Comment out. Does not appear to be
1342 used.
1343 * valops.c (find_method_list): Make static. Add prototype.
1344 * thread.c (target_find_new_threads): Make static. Add prototype.
1345 * stack.c (stack_publish_stopped_with_no_frame,
1346 select_and_maybe_print_frame): Comment out. Does not appear to be
1347 used.
1348 (current_frame_command): Add prototype.
1349 * breakpoint.c (break_at_finish_command,
1350 break_at_finish_at_depth_command, tbreak_at_finish_command): Make
1351 static. Add prototype.
1352 * findvar.c (read_relative_register_raw_bytes_for_frame): Ditto.
1353
1354 Wed Mar 10 23:38:54 1999 Andrew Cagney <cagney@b1.cygnus.com>
1355
1356 * corefile.c (registers): Delete redundant variable declaration.
1357 * inferior.h (run_stack_dummy): Change array argument to pointer.
1358 * infcmd.c (run_stack_dummy): Update.
1359 * value.h (value_being_returned): Change RETBUF to a pointer.
1360 * values.c (value_being_returned): Update.
1361
1362 Wed Mar 10 11:08:16 1999 Andrew Cagney <cagney@amy.cygnus.com>
1363
1364 * source.c (list_command): GCC suggested explicit braces to avoid
1365 ambiguous `else'.
1366
1367 * jv-typeprint.c: Include "c-lang.h".
1368 * Makefile.in (jv-typeprint.o): Add dependency.
1369 * jv-valprint.c: Include "gdbcore.h", "annotate.h".
1370 * Makefile.in (jv-valprint.o): Add dependencies.
1371 * objfiles.c: Include "breakpoint.h".
1372 * Makefile.in (objfiles.o): Add dependency.
1373 * main.c: Include <unistd.h>.
1374 * parse.c: Include <ctype.h>.
1375 * remote.c: Include <ctype.h>.
1376 * ser-tcp.c: Include <unistd.h>.
1377 * ax-general.c: Include "value.h".
1378 * Makefile.in (ax-general.o): Add dependency.
1379
1380 * alpha-tdep.c (alpha_push_arguments): Make ``i'' an int instead
1381 of a register.
1382 * frame.h (show_and_print_stack_frame): Add function prototype.
1383 * language.h (language_enum): Add function prototype.
1384 * value.h (find_overload_match): Add function prototype.
1385
1386 * defs.h, utils.c (subset_compare): Rename subsetCompare. Add
1387 prototype.
1388 * stack.c (backtrace_command): Update.
1389
1390 Wed Mar 10 13:58:36 1999 Andrew Cagney <cagney@b1.cygnus.com>
1391
1392 * configure.in (AC_CHECK_HEADERS): Check for <sys/select.h>
1393 * configure, config.in: Re-generate.
1394 * inflow.c: Conditionally include <sys/select.h>.
1395
1396 Wed Mar 10 13:44:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
1397
1398 * frame.h (struct dummy_frame): Move from here.
1399 * blockframe.c (struct dummy_frame): To here.
1400
1401 * blockframe.c (struct dummy_frame): Replace ``regs'' with pointer
1402 ``registers''.
1403 (generic_pop_dummy_frame): Free it.
1404 (generic_push_dummy_frame): Allocate dummy frame register buffer.
1405
1406 Wed Mar 10 11:08:16 1999 Andrew Cagney <cagney@amy.cygnus.com>
1407
1408 * thread.c (_initialize_thread): Delete redundant ``extern struct
1409 cmd_list_element *cmdlist''.
1410 * printcmd.c (print_command_1): Ditto for ``objectprint'';
1411
1412 1999-03-09 Stan Shebs <shebs@andros.cygnus.com>
1413
1414 * MAINTAINERS: New file, list of maintainers and areas they
1415 maintain.
1416
1417 1999-03-09 Rodney Brown <RodneyBrown@pmsc.com>
1418
1419 Get working on UnixWare 2.1.1.
1420 * acconfig.h: Update for defines for procfs.c.
1421 * configure.in: Identify defines for procfs.c.
1422 * configure.host: i386-*-sysv4.2uw2* => i386v42mp
1423 * configure.tgt: i386-*-sysv4.2uw2* => i386v42mp
1424 * configure, config.in: Regenerate.
1425 * procfs.c: Rename HAVE_NO_PRRUN_T to HAVE_PRRUN_T (autoconf
1426 standard), wrap UNIXWARE difference in THE_PR_LWP macro for
1427 legibility.
1428 * config/i386/tm-i386v42mp.h: Remove HAVE_PSTATUS_T,
1429 HAVE_NO_PRRUN_T; now set by configure.
1430
1431 Tue Mar 9 16:29:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
1432
1433 * i386-tdep.c (gdb_print_insn_i386): Abort when disassembly_flavor
1434 undefined..
1435
1436 * fr30-tdep.c (_initialize_fr30_tdep): Add prototype. Fix
1437 coding style.
1438
1439 * target.c (debug_to_enable_exception_callback,
1440 debug_to_get_current_exception_event): Return result of call to
1441 debug_target().
1442
1443 1999-03-09 Jim Blandy <jimb@zwingli.cygnus.com>
1444
1445 Another HURD fix from Mark Kettenis:
1446 * gnu-nat.c: Include <string.h>. Remove declaration of strerror.
1447 Include <bits/waitflags.h> instead of <waitflags.h> and define
1448 _SYS_WAIT_H to prevent the warning that we should not include it.
1449 (gnu_create_inferior): Change return type of attach_to_child to
1450 void. Do not return INFERIOR_PID.
1451 (gnu_pid_to_exec_file): Change return type to char *.
1452 Return NULL.
1453
1454 Fix for the HURD from Mark Kettenis:
1455 * configure.in: Add AC_PROG_AWK. Needed by the machine-dependent
1456 makefile fragments for the Hurd.
1457 * Makefile.in (AWK): Add. Set by configure.
1458 * configure: Regenerated.
1459
1460 1999-03-08 Jason Molenda (jsm@bugshack.cygnus.com)
1461
1462 * infttrace.c (hppa_get_process_events): Removed. Function only
1463 usable on HPUX 10 and above. It is not called by any other part
1464 of GDB.
1465 * hppah-nat.c (hppa_get_process_events): Ditto.
1466 (child_pid_to_exec_file): Only call ptrace with
1467 PT_GET_PROCESS_PATHNAME if that symbol has been defined.
1468 * config/pa/nm-hppah.h: Don't set up prototypes et al for
1469 hppa_get_process_events.
1470
1471 * config/pa/hppahpux.mh (TERM_LIB): Do not initialize, let autoconf
1472 determine best library automatically.
1473 * config/pa/hpux1020.mh: Ditto.
1474 * config/pa/hpux1100.mh: Ditto.
1475 * configure.in (TERM_LIB): Also check for libHcurses.
1476 * configure: Regenerated.
1477
1478 Thu Mar 4 17:16:04 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
1479
1480 * m32r-stub.c: add support for crc "Compare" command.
1481
1482 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
1483
1484 * fr30-tdep.c (fr30_store_return_value): Allocate zeroes
1485 dynamically, to save BSS space, and to remove assumptions about
1486 the size of the largest value we'll return.
1487
1488 * config/fr30/tm-fr30.h (fr30_store_return_value): Use PARAMS in
1489 prototype.
1490
1491 Thu Mar 4 08:37:35 1999 Andrew Cagney <cagney@b1.cygnus.com>
1492
1493 * sh3-rom.c (sh3_supply_register, sh3_supply_register),
1494 mips-tdep.c (mips_push_arguments), m32r-rom.c
1495 (m32r_upload_command), m32r-tdep.c (decode_prologue), monitor.c
1496 (longlong_hexchars), tracepoint.c (validate_actionline,
1497 read_actions), mdebugread.c
1498 (parse_symbol), jv-typeprint.c
1499 (java_type_print_base, java_type_print_base), mdebugread.c
1500 (parse_symbol), top.c (source_command), utils.c
1501 (floatformat_to_doublest): GCC suggest explicit braces to avoid
1502 ambiguous `else'.
1503
1504 * tracepoint.c (map_args_over_tracepoints, trace_actions_command),
1505 m32r-rom.c (m32r_supply_register), win32-nat.c
1506 (handle_output_debug_string, child_continue), i960-tdep.c
1507 (pop_frame), m32r-rom.c (m32r_upload_command): GCC suggested
1508 parentheses around assignment used as truth value.
1509
1510 * remote-sds.c (sds_wait), monitor.c (monitor_fetch_register),
1511 ser-e7kpc.c, (dosasync_write), arc-tdep.c (arc_get_frame_setup):
1512 GCC suggested parentheses around operands.
1513
1514 * c-typeprint.c (c_type_print_base): GCC suggested enclosing
1515 "while" expression in paren.
1516
1517 Wed Mar 3 18:14:33 1999 Andrew Cagney <cagney@chook.cygnus.com>
1518
1519 * sol-thread.c (save_inferior_pid): Cast the saved pid to void*.
1520 (restore_inferior_pid): Takes void* as required by make_cleanup.
1521 Casts pid back to an int.
1522
1523 * procfs.c (make_cleanup_close_proc_file,
1524 close_proc_file_cleanup): Create a proc_file cleanup.
1525 (info_proc): Use.
1526
1527 * defs.h (make_cleanup_freeargv): Helper function. Establish
1528 cleanup using freeargv. Can not just typecast/pass freeargv as it
1529 violates ISO-C.
1530 * utils.c (do_freeargv): Helper.
1531 (make_cleanup_freeargv): New function.
1532
1533 * symmisc.c (maintenance_print_symbols,
1534 maintenance_print_psymbols, maintenance_print_msymbols), symfile.c
1535 (symbol_file_command), stack.c (backtrace_command), remote-sim.c
1536 (gdbsim_create_inferior, gdbsim_open), remote-mips.c
1537 (common_open), procfs.c (info_proc), infrun.c (handle_command,
1538 xdb_handle_command), exec.c (exec_file_attach): Call
1539 make_cleanup_freeargv.
1540
1541 1999-03-03 James Ingham <jingham@cygnus.com>
1542
1543 * i386-tdep.c (_initialize_i386_tdep): Set the inital value for
1544 disassembly flavor at startup, rather than hardcoding it.
1545
1546 1999-03-03 Jim Blandy <jimb@zwingli.cygnus.com>
1547
1548 Put return values in the right place.
1549 * fr30-tdep.c (fr30_store_return_value): New function.
1550 * config/fr30/tm-fr30.h (STORE_RETURN_VALUE): Call
1551 fr30_store_return_value.
1552
1553 Wed Mar 3 18:10:55 1999 Andrew Cagney <cagney@chook.cygnus.com>
1554
1555 * gdbtypes.c (virtual_base_list_aux): Return void. Add prototype.
1556
1557 * breakpoint.c (map_catch_names): Comment out unused function.
1558
1559 1999-03-02 Jason Molenda (jsm@bugshack.cygnus.com)
1560
1561 * hppa-tdep.c (pa_register_look_aside): Only refer to save_state_t
1562 structure on PA 2.0 systems.
1563
1564 1999-03-02 Stan Shebs <shebs@andros.cygnus.com>
1565
1566 From Gary Thomas <gthomas@cygnus.co.uk>:
1567 * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT,
1568 THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Use illegal instruction
1569 instead of SWI 24.
1570 * config/arm/tm-arm.h (CALL_DUMMY): Ditto.
1571 (IN_SIGTRAMP): Define.
1572
1573 1999-03-02 Nick Clifton <nickc@cygnus.com>
1574
1575 * findvar.c (store_address): Delete incorrect big endian
1576 code.
1577
1578 Tue Mar 2 18:02:42 1999 Andrew Cagney <cagney@chook>
1579
1580 * configure.in (gdb_cv_os_cygwin): Compat. Continue to reconize
1581 __CYGWIN32__.
1582
1583 1999-03-01 Jason Molenda (jsm@bugshack.cygnus.com)
1584
1585 * configure.in: Move setting of gdb_cv_os_cygwin to before
1586 setting of TERM_LIB. Check for __CYGWIN__ instead of __CYGWIN32__.
1587 * configure: Regenerated.
1588
1589 1999-03-01 DJ Delorie <dj@cygnus.com>
1590
1591 * configure.in: Change -cygwin32* to -cygwin*.
1592 * configure: Ditto.
1593
1594 1999-02-25 Stan Shebs <shebs@andros.cygnus.com>
1595
1596 * breakpoint.c (SOLIB_LOADED_LIBRARY_PATHNAME,
1597 SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_CREATE_CATCH_LOAD_HOOK,
1598 SOLIB_CREATE_CATCH_UNLOAD_HOOK): Supply default definitions.
1599 * infrun.c (SOLIB_IN_DYNAMIC_LINKER): Ditto.
1600
1601 1999-02-25 Keith Seitz <keiths@cygnus.com>
1602
1603 * corelow.c (core_close): Clear out solib state before
1604 closing the bfd associated with the core file.
1605 * solib.c (clear_solib): Mention that clear_solib requires
1606 an open BFD in order for disable_breakpoints_in_shlibs to
1607 determine whether breakpoints live in shared libraries.
1608
1609 1999-02-24 Jason Molenda (jsm@bugshack.cygnus.com)
1610
1611 * configure.in: Set CPU_HPPA_RISC_20 if the host CPU is a PA 2.0
1612 processor.
1613 * acconfig.h: Add CPU_HPPA_RISC_20
1614 * config.in, configure: Regenerated.
1615 * hppa-tdep.c (pa_register_look_aside): Only refer to new
1616 structure elements if we are on a PA2.0 system.
1617 * defs.h: Include limits.h.
1618
1619 Tue Feb 23 14:37:08 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
1620
1621 * infrun.c (wait_for_inferior): Check scheduler_locking state
1622 before resuming after a thread-specific breakpoint.
1623
1624 1999-02-23 Jim Blandy <jimb@zwingli.cygnus.com>
1625
1626 * aclocal.m4, config.in, configure: Regenerated with latest
1627 autotools.
1628
1629 Mon Feb 22 12:32:19 1999 Per Bothner <bothner@cygnus.com>
1630
1631 * jv-valprint.c (java_val_print): Restore line that somehow got lost.
1632
1633 * jv-valprint.c (java_print_value_fields): Check for NULL type.
1634
1635 1999-02-21 Jim Blandy <jimb@zwingli.cygnus.com>
1636
1637 * tm-h8500.h, i386lynx-nat.c: Removed. These files are long
1638 dead; it seems that they only appeared due to some CVS weirdness.
1639 If they appear again, we may need to distribute garlic and holy
1640 water.
1641
1642 1999-02-19 Jason Molenda (jsm@bugshack.cygnus.com)
1643
1644 * configure.in (TERM_LIB): Move checking for TERM_LIB, substituting.
1645 * configure: Regenerated.
1646
1647 1999-02-19 Robert Hoehne (robert.hoehne@gmx.net)
1648
1649 * configure.host (i[3456]86-*-msdosdjgpp*): New host.
1650 * configure.tgt (i[3456]86-*-msdosdjgpp*): New target.
1651 * go32-nat.c: New file, native DJGPP support.
1652 * config/i386/go32.mh: Rewrite for DJGPP (go32) host.
1653 * config/i386/go32.mt: New file, DJGPP (go32) target.
1654 * config/i386/nm-go32.h: New file.
1655 * config/i386/tm-go32.h: New file.
1656 * config/i386/xm-go32.h: Rewritten for current DJGPP.
1657
1658 1999-02-18 Jason Molenda (jsm@bugshack.cygnus.com)
1659
1660 * reply_mig_hack.awk, config/nm-gnu.h, config/alpha/nm-linux.h
1661 config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h
1662 config/i386/nm-i386sco5.h, config/i386/tm-fbsd.h, config/i386/tm-i386.h
1663 config/powerpc/nm-aix.h, config/powerpc/tm-macos.h
1664 config/powerpc/tm-ppc-aix.h, config/powerpc/xm-aix.h
1665 config/rs6000/tm-rs6000-aix4.h, testsuite/gdb.chill/tests1.ch
1666 testsuite/gdb.chill/tests2.ch, testsuite/gdb.chill/tests2.exp:
1667 Update FSF address in copyright notices.
1668
1669 1999-02-18 Jason Molenda (jsm@bugshack.cygnus.com)
1670
1671 * configure.in: Quote "$GCC" correctly.
1672 * configure: Regenerated.
1673
1674 1999-02-18 Jim Blandy <jimb@zwingli.cygnus.com>
1675
1676 * dbxread.c (elfstab_build_psymtabs): Don't assume that there's a
1677 section named ".text", which has all the code in it. Instead, look
1678 at all the sections in the file with the `code' flag set.
1679 (find_text_range): New function, that does all the work.
1680
1681 Thu Feb 18 17:50:45 1999 Andrew Cagney <cagney@b1.cygnus.com>
1682
1683 * mips-tdep.c (FP_REGISTER_DOUBLE): Conditionally define.
1684
1685 Fri Jan 29 16:51:11 1999 Andrew Cagney <cagney@chook.cygnus.com>
1686
1687 * mips-tdep.c (return_value_location): New function. Merge/rewrite
1688 of return-value code in mips_extract_return_value,
1689 mips_store_return_value. Stop buffer overflow when 64 bit value
1690 in 32 bit registers. Extract 64bit float from 32 bit register
1691 pair of correct order.
1692 (mips_extract_return_value, mips_store_return_value): Call
1693 return_value_location. For store, ensure that remainder of
1694 register is zero.
1695
1696 Wed Feb 17 10:10:27 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
1697
1698 * gdbtypes.h (get_discrete_bounds): Remove duplicate decl.
1699
1700 * jv-typeprint.c (java_type_print_base): Change fputs => fputs_filtered.
1701
1702 Mon Jan 25 18:30:57 1999 Per Bothner <bothner@cygnus.com>
1703
1704 * jv-lang.h (JAVA_OBJECT_SIZE): Change from hard-wired constant.
1705 (java_primitive_type_from_name, get_java_object_header_size): Declare.
1706 * jv-lang.c (java_class_from_object): Use get_java_object_type.
1707 * jv-lang.c: Update Class field names: dtable->vtable,
1708 msize->method_count, nfields->field_count, bfsize->size_in_bytes,
1709 nmethods->method_count.
1710 (type_from_class): Demangle array type names.
1711 (java_link_class_type): Array type names are now demangled.
1712 (get_java_object_type): If not defined yet, try looking it up.
1713 (get_java_object_header_size): New function.
1714 (java_primitive_type_from_name): New function.
1715 (java_demangled_signature_length, java_demangled_signature_copy): New.
1716 (java_demangle_type_signature): Re-implement using above functions.
1717 (evaluate_subexp_java): For UNOP_IND, call evaluate_subexp_java
1718 to evaluate subexp (not evaluate_subexp_standard).
1719 For BINOP_SUBSCRIPT update for new array type naming scheme.
1720 * jv-valprint.c (java_value_print): Use java_class_from_object.
1721 Update array printing to new array type naming convention.
1722 (java_val_print): Doing check_typedef when printing a pointer is
1723 is a waste of effort. Also, handle TYPE_CODE_INT, to make sure
1724 Java bytes as not printed as C chars.
1725
1726 Fri Jan 8 16:58:22 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
1727
1728 * blockframe.c (find_pc_sect_partial_function): Search full symtabs as
1729 a last ditch effort (after the partial & minimal symtabs).
1730 * defs.h utils.c: Fixup prototypes for vprintf_filtered,
1731 vfprintf_filtered, vfprintf_unfiltered and vprintf_unfiltered to return
1732 ints to match their standard equivalents.
1733 * defs.h symtab.c top.c: Create skip_prologue_hook to allow Java to
1734 control the prologue skipping process.
1735 * jv-typeprint.c (java_type_print_base): Remove extern for
1736 jv_class_demangle, add new arg for objfile (NULL).
1737 * symtab.h: Remove struct sourcevector and struct source. Definately
1738 not needed.
1739 * values.c (value_virtual_fn_field): Fixes code to handle new vtable
1740 debug info format. Patch from marka.
1741
1742 Wed Dec 16 23:11:25 1998 Stu Grossman <grossman@fencer.cygnus.com>
1743
1744 * jv-lang.c (java_class_from_object java_class_is_primitive
1745 is_object_type): Change dtable to vtable.
1746 * (java_primitive_type): Change arg to type char.
1747 * (_initialize_java_language): Make java_char_type be unsigned.
1748 * jv-lang.h: Fixup prototypes.
1749
1750 Mon Dec 7 19:02:15 1998 Stu Grossman <grossman@babylon-5.cygnus.com>
1751
1752 * jv-valprint.c (java_value_print): Fix printing of values where
1753 run time type != compile time type.
1754
1755 Fri Dec 4 15:23:38 1998 Stu Grossman <grossman@fencer.cygnus.com>
1756
1757 * Makefile.in: Whack out m2-typeprint.c.
1758 * c-typeprint.c (c_type_print_varspec_suffix) typeprint.h: Make this
1759 global. It's needed by Java.
1760 * (c_type_print_base): Whack prefix off of qualified method names
1761 (names with name spaces).
1762 * gdbtypes.h (struct cplus_struct_type): Add bits for Java attributes.
1763 Shrink voffset
1764 to 16 bits to compensate for added bits above (hopefully this is still
1765 enough).
1766 * Add new accessor macros (TYPE_FND_FIELD_PUBLIC, ...) for all new
1767 attribute bits.
1768 * jv-typeprint.c (java_type_print_base): Fix printing of method
1769 attributes. Handle JVM style manglings.
1770 * (java_print_type): Enable code type print varspec_suffix to allow
1771 array indices to print out.
1772 * jv-valprint.c (java_val_print): Minor formatting.
1773 * m2-lang.c (m2_language_d): Change m2_print_type to c_print_type.
1774 * stabsread.c (read_member_functions): Save public and static attributes.
1775
1776 Wed Feb 17 15:32:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1777
1778 * breakpoint.c (watch_command_1): Reformat comment.
1779
1780 * c-typeprint.c (c_type_print_base): Reformat comments.
1781
1782 1999-02-17 Jim Blandy <jimb@zwingli.cygnus.com>
1783
1784 * Makefile.in (VERSION): Bump version to 4.17.2.
1785
1786 Tue Feb 16 15:48:20 1999 Edith Epstein <eepstein@sophia.cygnus.com>
1787
1788 * config/pa/nm-hppah.h: Added prototype declarations for
1789 hppa_enable_page_protection_events and
1790 hppa_disable_page_protection_events.
1791
1792 * inftarg.c (child_wait): Fixed code that checks whether
1793 or not the target program has done a fork/vfork.
1794 related_pid does not have a value unless the target
1795 program has forked/vforked.
1796
1797 * infttrace.c (hppa_insert_hw_watchpoint): Make sure that
1798 function always returns a value.
1799 (hppa_remove_hw_watchpoint): Make sure that function always
1800 returns a value.
1801
1802 Tue Feb 16 06:31:58 1999 Keith Seitz <keiths@cygnus.com>
1803
1804 * config/powerpc/tm-ppc-eabi.h: Do not define PC_IN_CALL_DUMMY,
1805 let the generic call dummy infrastructure do it.
1806
1807 Sun Feb 14 18:21:08 1999 Mark Alexander <marka@cygnus.com>
1808
1809 * config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
1810 coffread.c will correctly handle char or short function parameters.
1811
1812 1999-02-11 Jason Molenda (jsm@bugshack.cygnus.com)
1813
1814 * configure, aclocal.m4: Regenerate with correct version of aclocal.
1815
1816 1999-02-10 Syd Polk <spolk@cygnus.com>
1817
1818 * acinclude.m4: Fix for new location of itclConfig.sh and itkConfig.sh.
1819 * aclocal.m4: Regnerate.
1820 * configure: Regenerate.
1821
1822 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
1823
1824 * demangle.c: Fix comments to mention "set demangle-style"
1825 instead of "set demangle".
1826 Run through indent to fix minor indenting problems.
1827
1828 Wed Feb 10 17:53:09 1999 Bob Manson <manson@charmed.cygnus.com>
1829
1830 * i386-tdep.c (gdb_print_insn_i386): Add missing returns.
1831
1832 Wed Feb 10 13:17:21 1999 Stan Shebs <shebs@andros.cygnus.com>
1833
1834 Declare Gould configuration obsolete:
1835 * configure.host, configure.tgt: Comment out Gould configs.
1836 * Makefile.in: Comment out Gould-related actions.
1837 * gould-xdep.c, gould-tdep.c, config/gould/*: Comment out.
1838 * NEWS: Mention obsolete status.
1839
1840 1999-02-09 DJ Delorie <dj@cygnus.com>
1841
1842 * sparcl-tdep.c: UDP download works in cygwin
1843
1844 1999-02-08 Jason Molenda (jsm@bugshack.cygnus.com)
1845
1846 * gnu-regex.c: Check ENABLE_NLS instead of HAVE_LIBINTL_H.
1847 * configure.in: Don't check for libintl.h.
1848 * configure, config.in: Regenerated.
1849
1850 Mon Feb 8 18:10:50 1999 Stan Shebs <shebs@andros.cygnus.com>
1851
1852 * NEWS: Mention new X packet and PowerPC variant support.
1853
1854 1999-02-08 Nick Clifton <nickc@cygnus.com>
1855
1856 * configure.host: Add support for StrongARM host.
1857 * configure.tgt: Add support for StrongARM target.
1858
1859 Mon Feb 8 12:05:05 1999 David Taylor <taylor@texas.cygnus.com>
1860
1861 * dsrec.c (make_srec): Cast targ_addr to int in call to sprintf
1862 otherwise on big endian machine with a bfd_vma of 64 bits,
1863 *everything* gets loaded at location 0.
1864
1865 Mon Feb 7 10:05:43 1999 Frank Ch. Eigler <fche@cygnus.com>
1866
1867 * infrun.c (wait_for_inferior): Allow SIGTRAP to be "pass"ed
1868 to target program.
1869
1870 Fri Feb 5 16:46:14 1999 Stan Shebs <shebs@andros.cygnus.com>
1871
1872 * NEWS: Add mentions of various new things.
1873
1874 Thu Feb 4 00:19:14 1999 Christopher Faylor <cgf@cygnus.com>
1875
1876 * configure.in: Move termcap determination later in the
1877 file to catch setting of cygwin flag.
1878 * configure: Regenerate.
1879
1880 Wed Feb 3 14:16:38 1999 Christopher Faylor <cgf@cygnus.com>
1881
1882 * config/i386/cygwin.mh: Move TERMCAP test code to configure.in.
1883 * configure.in: Treat libtermcap.a detection as a special case
1884 when hosting on cygwin.
1885 * configure: Regenerate.
1886
1887 1999-02-03 Keith Seitz <keiths@cygnus.com>
1888
1889 * remote.c (remote_binary_download, remote_binary_length): New
1890 static globals for dealing with binary transmissions.
1891 (remote_write_bytes): Add support for binary downloads
1892 by shadowing the "M" packet with a new "X" packet. This
1893 defaults to ON; if the stub does not understand this, it
1894 will fall back to using "M".
1895 (putpkt): Add support for binary downloading.
1896 * monitor.c (monitor_expect): The mon2000 monitor
1897 on the MSA2000 will also emit random DC1/DC3 chars.
1898 * m32r-stub.c: Change all char's to unsigned char's
1899 to support binary downloading.
1900 (handle_exception): Add support for binary downloading
1901 via a new "X" packet.
1902 (getpacket): Do NOT strip eighth bit of incoming chars.
1903 Watch out for escaped characters in the incoming stream.
1904 (putpacket): Do NOT strip eighth bit of incoming chars.
1905 (bin2mem): New function to write binary data directly to
1906 memory.
1907 * m32r-rom.c: Add new "mon2000" target.
1908
1909 Tue Feb 2 18:40:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1910
1911 * hp-psymtab-read.c (hpread_build_psymtabs): Coerce first arg
1912 passed to make_cleanup to the correct type.
1913 (hpread_quick_traverse): Change fifth arg to call to
1914 hpread_end_psymtab to be 0.
1915 Compare CURR_MODULE_END to 0 rather than NULL.
1916 Get rid of ifdef'ed out code.
1917 (scan_procs): Get rid of ifdef'ed out code.
1918
1919 * somread.c (som_symfile_read): Coerce first argument passed to
1920 make_cleanup to the correct type.
1921
1922 Tue Feb 2 17:36:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1923
1924 * hp-psymtab-read.c (do_pxdb): New function. Check whether the
1925 file needs to be processed by pxdb (an HP debug info massaging
1926 tool), if so call it.
1927 (hpread_build_psymtabs): Initialize scan_start to 0 and
1928 simplify flow of control.
1929
1930 * somread.c (som_symfile_read): Add call to do_pxdb (),
1931 in hp-psymtab-read.c.
1932
1933 * symfile.c (symbol_file_add): Remove ifdef'ed out HPUX specific
1934 code.
1935 (symfile_bfd_open): Remove HPUXHPPA ifdef'ed code. Code is now
1936 in hp-psymtab-read.c.
1937
1938 1999-02-02 Martin Hunt <hunt@cygnus.com>
1939
1940 * printcmd.c (print_scalar_formatted): Use strcat to concat all
1941 the output together before calling fprintf_filtered().
1942
1943 1999-02-01 Jason Molenda (jsm@bugshack.cygnus.com)
1944
1945 * configure.in: Require autoconf 2.13.
1946 (AM_EXEEXT): Replace with new AC_EXEEXT.
1947 * acinclude.m4: Move itcl header macros from aclocal.m4 to here.
1948 * aclocal.m4: Regenerated.
1949 * configure: Regenerated.
1950
1951 1999-02-01 Jim Blandy <jimb@zwingli.cygnus.com>
1952
1953 Allow PPC users to select which PPC/RS6000 variant they're
1954 debugging at run-time. At the moment, the only thing this affects
1955 is the set of registers visible.
1956 * config/rs6000/tm-rs6000.h (REGISTER_NAME): Define this as a call
1957 to the function rs6000_register_name.
1958 (rs6000_register_name): Include extern decl.
1959 (NUM_REGS): Bump to 183. What's the right way to do this?
1960 (FIRST_UISA_SP_REGNUM, LAST_UISA_SP_REGNUM): Renamed from
1961 FIRST_SP_REGNUM, LAST_SP_REGNUM.
1962 (REGISTER_BYTES): Recompute this.
1963 * rs6000-tdep.c: Renamed all uses of FIRST_SP_REGNUM and
1964 LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
1965 some concomitant formatting changes.
1966 #include "gdbcmd.h", so we can define commands here.
1967 (struct variant): New structure.
1968 (COMMON_UISA_REG_NAMES, PPC_UISA_SPR_NAMES, PPC_SEGMENT_REG_NAMES,
1969 PPC_32_OEA_SPR_NAMES, num_registers): New macros.
1970 (register_names_rs6000, register_names_uisa, register_names_403,
1971 register_names_403GC, register_names_505, register_names_860,
1972 register_names_601, register_names_602, register_names_603,
1973 register_names_604, register_names_750, variants): New variables.
1974 (rs6000_register_name, install_variant, find_variant_by_name,
1975 install_variant_by_name, list_variants, show_current_variant,
1976 set_processor, show_processor): New functions.
1977 (_initialize_rs6000_tdep): Define new commands `set processor' and
1978 `show processor', and call install_variant_by_name to set the
1979 default variant.
1980 * rs6000-nat.c: Renamed all uses of FIRST_SP_REGNUM and
1981 LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
1982 some concomitant formatting changes.
1983 * configure.in: Accept the `--with-cpu' flag, to specify a default
1984 processor variant.
1985 * acconfig.h: Provide a blurb for TARGET_CPU_DEFAULT, which is set
1986 by configure's `--with-cpu' flag.
1987 * config.in, configure: Regenerated.
1988
1989 Sun Jan 31 15:24:24 1999 Stan Shebs <shebs@andros.cygnus.com>
1990
1991 * buildsym.h, buildsym.c: Convert to ANSI-only.
1992
1993 * buildsym.h, buildsym.c: Reformat to standard.
1994
1995 * buildsym.c (merge_symbol_lists): Remove unused variable.
1996 (_initialize_buildsym): Remove, does nothing.
1997
1998 1999-01-31 J.T. Conklin <jtc@redbacknetworks.com>
1999
2000 * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c,
2001 sparcl-stub, sparclet-stub.c: Change declaration of putDebugChar
2002 to include explicit void return type as per documentation. Fix up
2003 occasions where stubs erroneously checked return type.
2004
2005 Sun Jan 31 13:18:33 1999 Stan Shebs <shebs@andros.cygnus.com>
2006
2007 From J.T. Conklin <jtc@redbacknetworks.com>:
2008 * remote.c (remote_query): Fix tipo.
2009
2010 Fri Jan 29 15:25:09 1999 Stan Shebs <shebs@andros.cygnus.com>
2011
2012 * configure.tgt (v850): Add wildcard to match.
2013
2014 Fri Jan 29 16:44:01 1999 Edith Epstein <eepstein@sophia.cygnus.com>
2015
2016 * inferior.h: Ran indent.
2017
2018 * fork-child.c: Ran indent.
2019
2020 * infrun.c : Ran indent.
2021
2022 Fri Jan 29 12:57:34 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2023
2024 * infrun.c (_initialize_infrun): Do not stop or print anything
2025 when a SIGWINCH is received.
2026
2027 * Makefile.in (m2-exp.tab.c): Use YACC not BISON.
2028 (f-exp.tab.c): Ditto.
2029 (jv-exp.tab.c): Ditto.
2030 (c-exp.tab.c): Ditto.
2031 (YACC): Define as @YACC@.
2032
2033 1999-01-29 Martin Hunt <hunt@cygnus.com>
2034
2035 Changes from Keith Seitz <keiths@cygnus.com>
2036 * valops.c (value_assign): Add calls to register_changed_hook and
2037 memory_changed_hook to inform UIs that the user has changed
2038 the target's registers/memory.
2039 * findvar.c (write_register_gen): Remove call to pc_changed_hook.
2040 * defs.h: Remove declaration for pc_changed_hook and
2041 add declarations for register_changed_hook and
2042 memory_changed_hook.
2043 * top.c: Ditto.
2044
2045 1999-01-29 Mark Alexander <marka@cygnus.com>
2046
2047 * procfs.c (wait_fd): Handle deleted threads correctly.
2048
2049 1999-01-28 Jason Molenda (jsm@bugshack.cygnus.com)
2050
2051 * utils.c (init_page_info): Force window size if running under emacs.
2052
2053 1999-01-27 James Ingham <jingham@cygnus.com>
2054
2055 * typeprint.c (whatis_exp): Remove static declaration.
2056
2057 Wed Jan 27 16:50:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2058
2059 * hp-psymtab-read.c: Reformat using indent.
2060
2061 Wed Jan 27 13:20:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2062
2063 * hp-psymtab-read.c: Reformat comments, update copyright.
2064
2065 Tue Jan 26 16:02:47 1999 Mark Alexander <marka@cygnus.com>
2066
2067 * v850-tdep.c (v850_generic_reg_names, v850e_reg_names,
2068 v850_register_names, v850_processor_type_table): Declare tables
2069 and structures for handling differences in register names for
2070 v850 and v850e.
2071 (struct reg_list): Define new structure for creating tables
2072 of register bit masks in v850e instrutions.
2073 (handle_prepare, handle_pushm): New helpers for v850_scan_prologue.
2074 (v850_scan_prologue): Recognize v850e instructions: callt, prepare,
2075 and pushm.
2076 (v850_target_architecture_hook): New function to set register
2077 names based on current machine.
2078 (_initialize_v850_tdep): Set up target_architecture_hook.
2079 * config/v850/tm-v850.h (v850_register_names): Declare.
2080 (REGISTER_NAME): Define to refer to v850_register_names.
2081 (SR0_REGNUM, CTBP_REGNUM): Define.
2082 (PS_REGNUM): Redefine in terms of SR0_REGNUM.
2083
2084 Tue Jan 26 18:27:26 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2085
2086 * Makefile.in (c-exp.tab.c): Use BISON instead of YACC, to pick
2087 the correct value from configure output.
2088 (jv-exp.tab.c): Ditto.
2089 (f-exp.tab.c): Ditto.
2090 (m2-exp.tab.c): Ditto.
2091
2092 1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com)
2093
2094 * breakpoint.h (ep_is_exception_catchpoint): Add prototype.
2095 * frame.h (select_and_print_frame): Add prototype.
2096 * stack.c (func_command): Call select_and_print_frame with correct
2097 number of arguments. Reformat whitespace.
2098
2099 Tue Jan 26 16:53:54 1999 Fernando Nasser <fnasser@cygnus.com>
2100
2101 * remote.c (remote_query): fix maximum packet size to account for
2102 remote_debug use.
2103 (putpkt): add comment to alert about extra byte need.
2104
2105 Mon Jan 25 19:55:30 1999 Mark Alexander <marka@cygnus.com>
2106
2107 * sh-tdep.c (sh_target_architecture_hook): Return immediately
2108 when a matching machine is found.
2109
2110 Fri Jan 22 09:10:35 1999 Mark Alexander <marka@cygnus.com>
2111
2112 * remote-mips.c (mips_initialize): Fix parameters to clear_breakpoint.
2113 (common_breakpoint): Restore support for instruction breakpoints
2114 on non-LSI targets.
2115
2116 Thu Jan 21 17:16:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
2117
2118 * stack.c: Close open comment.
2119 * symtab.c (find_pc_sect_line): Ditto.
2120
2121 Thu Jan 21 17:51:51 1999 Stan Shebs <shebs@andros.cygnus.com>
2122
2123 * procfs.c (init_procfs_ops): New function, fills in procfs_ops,
2124 init only nonzero fields, leave to_require_attach and
2125 to_require_detach empty, not needed for /proc systems yet.
2126 (_initialize_procfs): Call init_procfs_ops.
2127
2128 From J.T. Conklin <jtc@redbacknetworks.com>:
2129 * top.c (init_main): Fix tipo in description of the remotetimeout
2130 variable.
2131 * breakpoint.c (bpstat_stop_status): Handle systems where
2132 DECR_PC_AFTER_BREAK != DECR_PC_AFTER_HW_BREAK.
2133
2134 Thu Jan 21 17:25:46 1999 Mark Alexander <marka@cygnus.com>
2135
2136 * mon960-rom.c (_initialize_mon960): Call init_mon960_cmds
2137 to fill in mon960_cmds structure properly.
2138
2139 Wed Jan 20 17:53:22 1999 Stan Shebs <shebs@andros.cygnus.com>
2140
2141 * remote-sds.c (sds_ops): Define only once.
2142 (init_sds_ops, sds_command, _initialize_remote_sds): Declare.
2143 (init_sds_ops): Init only non-zero fields.
2144
2145 Wed Jan 20 15:45:15 1999 Mark Alexander <marka@cygnus.com>
2146
2147 * h8300-tdep.c (original_register_names, h8300h_register_names,
2148 h8300_register_names): Define new variables.
2149 (set_register_names): New function to set register names based on
2150 current CPU type.
2151 (h8300_command, h8300h_command, h8300s_command): Call
2152 set_register_names.
2153 * config/h8300/tm-h8300.h (h8300_register_names): Declare.
2154 (REGISTER_NAME): Define to refer to h8300_register_names.
2155
2156 1999-01-19 Fernando Nasser <fnasser@totem.to.cygnus.com>
2157
2158 * sol-thread.c abug-rom.c cpu32bug-rom.c dbug-rom.c m32r-rom.c
2159 mac-nat.c mon960-rom.c op50-rom.c ppc-bdm.c remote-adapt.c
2160 remote-array.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c
2161 remote-est.c remote-hms.c remote-mm.c remote-nindy.c remote-nrom.c
2162 remote-os9k.c remote-rdp.c remote-sds.c remote-sim.c remote-st.c
2163 remote-udi.c rom68k-rom.c sh3-rom.c sparcl-tdep.c sparclet-rom.c
2164 v850ice.c win32-nat.c: cosmetic changes to conform to coding
2165 standards.
2166
2167 1999-01-19 Jim Blandy <jimb@zwingli.cygnus.com>
2168
2169 Use aclocal to generate GDB's aclocal.m4 script.
2170 * acinclude.m4: New file, containing the hand-written local macro
2171 definitions that used to be in aclocal.m4. Don't sinclude
2172 ../bfd/aclocal.m4 any more; running aclocal in this directory will
2173 get us the definitions we need. HOWEVER: Do sinclude
2174 ../bfd/acinclude.m4, because we need the definition of
2175 BFD_NEED_DECLARATION.
2176 * aclocal.m4: Regenerated by aclocal.
2177 * configure: Regenerated by autoconf.
2178
2179 Tue Jan 19 10:27:23 1999 David Taylor <taylor@texas.cygnus.com>
2180
2181 * breakpoint.c (disable_breakpoints_in_shlibs): new parameter,
2182 silent, controls whether to print message about removal of shared
2183 library breakpoints.
2184 * breakpoint.h (disable_breakpoints_in_shlibs): decl updated.
2185 * irix5-nat.c (clear_solib): call disable_breakpoints_in_shlibs.
2186 * osfsolib.c (clear_solib): ditto.
2187 * solib.c (clear_solib): ditto.
2188 * somsolib.c (som_solib_restart): update call to
2189 disable_breakpoints_in_shlibs.
2190
2191 * target.h (child_post_attach): only declare if CHILD_POST_ATTACH
2192 is define.
2193
2194 Tue Jan 19 18:07:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
2195
2196 * corelow.c (solib_add_stub): Ditto.
2197 (core_file_to_sym_file): Cast make_cleanup parameter.
2198
2199 * solib.c (symbol_add_stub, solib_map_sections): Change argument
2200 to PTR insted of a char*. Matches catch_errors interface.
2201
2202 Mon Jan 18 14:01:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
2203
2204 * remote-array.c (array_open): Don't use fprintf_filtered to send
2205 data to the log file.
2206
2207 * remote-array.c (handle_load_dll): Change argument type to PTR so
2208 that it is compatible with catch_errors.
2209 * ocd.c (ocd_start_remote): Ditto.
2210 * remote-sds.c (sds_start_remote): Ditto.
2211
2212 * win32-nat.c (win32_child_thread_alive): Namespace proof
2213 child_thread_alive.
2214 (init_child_ops): Update.
2215
2216 Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com>
2217
2218 * remote-rdi.c (arm_rdi_open): Set gdb_hostif.hostosarg and
2219 gdb_hostif.dbgarg to NULL instead of stdout.
2220 (voiddummy, myprint, mywritec): Use gdb_stdout instead of stdout.
2221
2222 Mon Jan 18 16:40:50 1999 Stan Shebs <shebs@andros.cygnus.com>
2223
2224 * ser-ocd.c (ocd_open): Handle Unix case gracefully.
2225
2226 * target.c (dummy_target): Don't initialize statically.
2227 (init_dummy_target): New function, fills in dummy_target.
2228 (initialize_targets): Use it.
2229 * hpux-thread.c (hpux_thread_ops): Don't initialize statically.
2230 (init_hpux_thread_ops): New function, fills in hpux_thread_ops.
2231 (_initialize_hpux_thread): Use it.
2232 * m3-nat.c (m3_ops): Don't initialize statically.
2233 (init_m3_ops): New function, fills in m3_ops.
2234 (_initialize_m3): Use it.
2235
2236 1999-01-18 Fernando Nasser <fnasser@totem.to.cygnus.com>
2237
2238 * sol-thread.c: delete compile time initialization of target_ops
2239 (_initialize_sol_thread): initialize target_ops at run time.
2240 * hpux-thread.c: added target_ops entry.
2241 * m3-nat.c: ditto.
2242
2243 Mon Jan 18 15:19:13 1999 David Taylor <taylor@texas.cygnus.com>
2244
2245 * procfs.c (procfs_ops): delete compile time initialization.
2246 (_initialize_procfs): initialize procfs_ops at run time.
2247
2248 Mon Jan 18 12:51:44 1999 Christopher Faylor <cgf@cygnus.com>
2249
2250 * configure.in: Ensure that -luser32 is always linked in
2251 for cygwin build.
2252 * configure: Regenerated.
2253
2254 Mon Jan 18 08:38:05 1999 Mark Alexander <marka@cygnus.com>
2255
2256 * values.c (value_virtual_fn_field): Clear the pointed-to
2257 offset when casting to the base class.
2258
2259 Mon Jan 18 10:30:51 1999 David Taylor <taylor@texas.cygnus.com>
2260
2261 * remote-udi.c (init_udi_ops): change non-existant udi_run_ops to
2262 udi_ops; delete NULL initializers.
2263
2264 Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com>
2265
2266 * serial.c (serial_close): gdb_fclose tages gdb_file** arg, not
2267 gdb_file*.
2268
2269 * f-valprint.c, target.c, gdbarch.c: Pass gdb_stderr not stderr.
2270
2271 Mon Jan 18 10:46:12 1999 Andrew Cagney <cagney@b1.cygnus.com>
2272
2273 * stack.c (print_frame_info_base): Don't cast call to
2274 catch_errors.
2275 (print_args_stub): Change char* arg to PTR.
2276 * symmisc.c (print_symbol): Ditto.
2277 * top.c (quit_cover): Ditto.
2278 * remote.c (remote_open_1, remote_start_remote): Ditto.
2279 * infrun.c (normal_stop, hook_stop_stub, restore_selected_frame):
2280 Ditto.
2281
2282 * stack.c (backtrace_command): Cast first arg of make_cleanup to
2283 make_cleanup_func.
2284 * remote.c (remote_kill): Cast putpkt arg to catch_errors_ftype.
2285
2286 Mon Jan 18 08:47:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
2287
2288 * defs.h (catch_errors_ftype): Define.
2289 (catch_errors): Replace char* arg with PTR arg.
2290 * top.c (catch_errors): Update
2291
2292 * breakpoint.c (bpstat_stop_status, bpstat_stop_status,
2293 delete_breakpoint, breakpoint_re_set): Delete all casts in call to
2294 catch_errors.
2295 (breakpoint_cond_eval, watchpoint_check,
2296 cover_target_enable_exception_callback, breakpoint_re_set_one):
2297 Arg is PTR not char*.
2298
2299 * breakpoint.c (cover_target_enable_exception_callback): Change
2300 type to int. Check for cast values of 0 and -1. Return a result!
2301 (insert_breakpoints): Move declaration of SAL and ARGS to where
2302 they are used.
2303
2304 1999-01-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
2305
2306 * remote.c (remote_query): new function - creates proper interface
2307 to the remote protocol "q" command.
2308
2309 Fri Jan 15 17:11:48 EST 1999 Zdenek Radouch (radouch@cygnus.com)
2310
2311 * config/fr30/tm-fr30.h: Changed ABI to match GCC change
2312 (always use pointer for structs passed by value).
2313
2314 1999-01-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
2315
2316 * target.h: added entry for target queries (to_query)
2317 target.c: ditto.
2318
2319 Thu Jan 14 18:29:17 1999 David Taylor <taylor@texas.cygnus.com>
2320
2321 * remote-mm.c (mm_wait): fix stream arg to gdb_flush.
2322 * remote-udi.c (udi_wait): fix stream arg to fwrite.
2323 * symmisc.c (maintenance_check_symtabs): fix stream argument to
2324 print_address_numeric.
2325
2326 Wed Jan 13 19:33:16 1999 David Taylor <taylor@texas.cygnus.com>
2327
2328 * breakpoint.c (insert_breakpoints): insert cast to eliminate
2329 warning.
2330
2331 Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
2332
2333 * infrun.c (set/show scheduler-locking) New command. Set a
2334 mode bit that will control how GDB attempts to control thread
2335 scheduling for step, continue, etc. (resume): make use of
2336 the schedule-locking mode.
2337 * target.h (struct target_ops): new field to_has_thread_control.
2338 * sol-thread.c: initialize target_ops to_has_thread_control.
2339 * procfs.c: ditto.
2340 * target.c: ditto.
2341 * m3-nat.c: ditto.
2342 * remote.c: ditto.
2343 * hpux-thread.c: ditto.
2344 * thread.c: cull duplicate prototypes. Move prototypes to top.
2345 * serial.c: indentation cleanup.
2346 * breakpoint.c: add casts to eliminate compiler warnings.
2347
2348 Tue Jan 12 17:00:00 1999 Edith Epstein <eepstein@sophia.cygnus.com>
2349
2350 * inftarg.c (child_create_inferior): fixed HPUXHPPA specific
2351 call to fork_inferior. The shell param is now NULL.
2352
2353 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
2354
2355 * monitor.c (init_base_monitor_ops): Whitespace cleanup.
2356 (_initialize_remote_monitors): Same.
2357
2358 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
2359
2360 * monitor.c (init_monitor_ops): Initialize the monitor_ops
2361 structure if it hasn't already been done.
2362
2363 Tue Jan 12 14:50:10 1999 Stan Shebs <shebs@andros.cygnus.com>
2364
2365 * inftarg.c (child_ops): Don't initialize statically.
2366 (init_child_ops): New function, fills in child_ops.
2367 (_initialize_inftarg): Use it.
2368 (child_post_attach): Declare extern.
2369 (child_wait): Fix ambiguous parens.
2370 (child_attach_to_process): Remove unused local wstatus.
2371 (child_insert_fork_catchpoint, child_remove_fork_catchpoint,
2372 child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
2373 child_has_forked, child_insert_exec_catchpoint,
2374 child_remove_exec_catchpoint): Return a value.
2375
2376 Mon Jan 11 16:43:44 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
2377
2378 * remote.c (remote_wait): Add inferior_pid to thread list only
2379 if it is not already there.
2380
2381 1999-01-11 Jason Molenda (jsm@bugshack.cygnus.com)
2382
2383 * scm-tags.h: Update FSF's address on copyright notice.
2384 * ser-e7kpc.c: Same.
2385 * gnu-nat.h: Same.
2386
2387 Mon Jan 11 13:45:57 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
2388
2389 * dwarf2read.c (dump_die): Change stderr to gdb_stderr.
2390 * expprint.c (print_subexp): fprintf => fprintf_unfiltered.
2391 * jv-typeprint.c (java_type_print_base): fputs => fputs_filtered.
2392 * stack.c (struct function_bounds): Remove superfluous `typedef'.
2393 * symfile.c (list_overlays_command): stdout => gdb_stdout.
2394 * symmisc.c (maintenance_check_symtabs): stdout => gdb_stdout.
2395 * utils.c (print_spaces): Make more efficient.
2396
2397 Mon Jan 11 13:55:51 1999 David Taylor <taylor@texas.cygnus.com>
2398
2399 * utils (print_spaces): fix arg to strcat; fix formatting.
2400
2401 Fri Jan 8 11:57:24 1999 Stan Shebs <shebs@andros.cygnus.com>
2402
2403 * exec.c (exec_ops): Don't initialize statically.
2404 (init_exec_ops): New function, fills in exec_ops.
2405 (_initialize_exec): Use it.
2406
2407 Thu Jan 7 17:50:15 EST 1999 Zdenek Radouch (radouch@cygnus.com)
2408
2409 Beta FR30 port.
2410 * fr30-tdep.c
2411 * config/fr30/tm-fr30.h
2412
2413 Wed Jan 6 12:28:35 1999 David Taylor <taylor@texas.cygnus.com>
2414
2415 * configure.in: Add an --enable-tui argument. Construct
2416 tui/Makefile from tui/Makefile.in. Use AM_PROG_CC_STDC. If we
2417 have the GUI, then we need this to process libgui.h.
2418 (ENABLE_CFLAGS): define and export BUILD_TUI.
2419 (AC_CHECK_HEADERS): Add check for term.h.
2420
2421 * configure.host (hppa-*-hpux10.20, hppa-*-hpux11.0*): New configs.
2422
2423 * config.in, configure : regenerated.
2424
2425 * Makefile.in: Allow the TUI code to be conditionally enabled.
2426 (TUI_LIBRARY): New variable, value are set by the configuration
2427 script. Set to the empty string when the TUI isn't enabled.
2428 (gdb$(GDBEXT)): Use those, instead of referring to all-tui and
2429 tui/libtui.a directly.
2430 (BUILD_TUI): build the tui -- only when configured with
2431 --enable-tui.
2432 (YLWRAP): use ylwrap to avoid problems on systems w/o bison.
2433 (gdb$(EXEEXT)): make it dependent on BUILD_TUI.
2434 (all-tui): remove dependency from phony target.
2435 (c-exp.tab.c): use ylwrap instead of bison.
2436 (jv-exp.tab.c): ditto.
2437 (f-exp.tab.c): ditto.
2438 (m2-exp.tab.c): ditto.
2439 (ALLDEPFILES): add somread.c, hp-psymtab-read.c, hp-symtab-read.c.
2440 (SFILES): remove the above files
2441 (COMMON_OBS): remove somread.o
2442 (SFILES): Add the tui files to this, so they get included in etags
2443 tables.
2444 (gdb$(EXEEXT)): Add all-tui to the list of dependencies, and add
2445 tui/libtui.a to the link list.
2446 (all-tui): New rule, which does a recursive make in the tui
2447 subdir.
2448 (tui/libtui.a): When recursing, pass down ${FLAGS_TO_PASS}. And
2449 don't echo the make command. This is closer to what the other
2450 recursions do.
2451 (HFILES_NO_SRCDIR): add hpread.h
2452 (COMMON_OBS): add hp-psymtab-read.o, hp-symtab-read.o
2453 (SFILES): add hp-psymtab-read.c, hp-symtab-read.c add rules for
2454 the new files. Remove hpread.c, hpread.o
2455 (gdb$(EXEEXT)): Depend on the actual tui library, not on a
2456 fictitious target. Since the fictitious target never existed,
2457 make would always relink.
2458 (tui/libtui.a): Always recurse to make sure the library is up to
2459 date.
2460
2461 Wed Jan 6 12:05:12 1999 Stan Shebs <shebs@andros.cygnus.com>
2462
2463 * remote.c: Pacify --enable-build-warnings, reformat code
2464 to conform to standards, fix spelling errors.
2465 (ishex, stubhex, record_currthread, etc): Declare.
2466 (ishex, stubhex): Declare char arg as int.
2467 (pack_string): Comment out, never used but possibly useful.
2468 (threadref_to_int, remote_get_threadinfo, etc): Make static.
2469
2470 Wed Jan 6 11:43:32 1999 David Taylor <taylor@texas.cygnus.com>
2471
2472 The following changes were made by Elena Zannoni
2473 <ezannoni@cygnus.com> and Edith Epstein <eepstein@cygnus.com> as
2474 part of a project to merge in changes made by HP.
2475
2476 * c-exp.y: use external flag hp_som_som_object_present to decide
2477 whether code was compiled by HP's compilers. Add two new C++
2478 tokens for true and false.
2479 (yylex): check for template name is done differently for the
2480 HP/aCC compiler case. Change some of the template processing code
2481 for handling HP aCC templates. Handle true and false tokens.
2482
2483 Tue Jan 5 11:13:36 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
2484
2485 * remote.c (record_curthread): Must not modify inferior_pid when
2486 called from wait_for_inferior. Instead, if a new thread-id is
2487 detected, call add_thread.
2488 (MAGIC_NULL_PID): new macro, use instead of the magic number
2489 "42000".
2490 (remote_find_new_threads): if inferior_pid is unknown, get and use
2491 the current thread id.
2492 (remote_start_remote): on connecting, attempt to get the current
2493 thread id for inferior_pid.
2494 (remote_resume): If pid == -1, then resume any-thread (not the
2495 current thread specifically). Also some cosmetic fixups.
2496
2497 * thread.c (info_threads_command): don't initialize current_pid
2498 until after call to FIND_NEW_THREADS (which may change inferior_pid).
2499 Also some cosmetic fixups.
2500 * infrun.c: cosmetic fixups and casts to avoid warnings.
2501 * infcmd.c: cosmetic fixups, mainly long lines.
2502
2503 Tue Jan 5 11:55:57 1999 David Taylor <taylor@texas.cygnus.com>
2504
2505 * target.c (noprocess): terminate sentence with a period.
2506 * breakpoint.c (catch_command_1): ditto.
2507
2508 * c-valprint.c (c_value_print): remove hack^2 from HP; it causes
2509 testsuite losses with no real gain.
2510
2511 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): restore, but only
2512 if tm-*.h hasn't overridden default value.
2513
2514 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2515
2516 * configure.in: Fix whitespace indentation for --help.
2517 * configure: Regenerated.
2518
2519 1999-01-04 Manuel Bouyer <bouyer@antioche.lip6.fr>
2520
2521 * main.c: Add --write command line option, document -w.
2522 * gdb.1: Document --write.
2523
2524 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
2525
2526 * configure.in: Require autoconf 2.12.1 or higher.
2527 * doc/configure.in: Ditto.
2528 * nlm/configure.in: Ditto.
2529 * rdi-share/configure.in: Ditto.
2530 * testsuite/configure.in: Ditto.
2531 * doc/Makefile.in: Don't hardcode $(SHELL).
2532 * nlm/Makefile.in: Ditto.
2533 * rdi-share/Makefile.in: Ditto.
2534 * testsuite/Makefile.in: Ditto.
2535
2536 Mon Jan 4 12:53:03 1999 Stan Shebs <shebs@andros.cygnus.com>
2537
2538 * remote-vx.c (init_vx_ops, init_vx_run_ops): Remove unneeded
2539 inits of new fields, including ref to bogus field.
2540 (vx_ops, vx_run_ops): Make static.
2541
2542 Mon Jan 4 15:05:29 1999 David Taylor <taylor@texas.cygnus.com>
2543
2544 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): delete,
2545 already defined in tm.h.
2546
2547 * inftarg.c: change <sys/unistd.h> to <unistd.h> and
2548 conditionalize its inclusion.
2549 * infttrace.c: ditto.
2550
2551 For older changes see ChangeLog-98
2552 \f
2553 Local Variables:
2554 mode: change-log
2555 left-margin: 8
2556 fill-column: 74
2557 version-control: never
2558 End:
This page took 0.103977 seconds and 4 git commands to generate.