import gdb-1999-06-28 snapshot
[deliverable/binutils-gdb.git] / gdb / ChangeLog
CommitLineData
085dd6e6
JM
11999-06-28 Jim Blandy <jimb@zwingli.cygnus.com>
2
3 * solib.c (clear_solib): Don't disable breakpoints if we're
4 running an a.out executable (Solaris's SunOS emulation).
5
61999-06-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
7
8 * main.c (main): Remove intialization of command_loop_hook, it
9 is now done in _initialize_event_loop().
10 * event-loop.c (gdb_do_one_event): Make static.
11 (start_event_loop): New function. Just start the event loop.
12 * event-top.c (cli_command_loop): New name for start_event_loop().
13 (gdb_readline2): Make non static.
14 (_initialize_event_loop): Set command_loop_hook to cli_command_loop.
15 * event-loop.h: Adjust exported functions accordingly.
16
17 * top.c (init_main): Move setting of async_command_editing_p from
18 here.
19 * event-top.c (_initialize_event_loop): To here.
20 (change_line_handler): Revert previous change. Add comment.
21 (_initialize_event_loop): Revert previous change.
22 (cli_command_loop): New name for start_event_loop().
23 (start_event_loop): New function. This just starts up the event loop.
24 (gdb_readline2): Make non static.
25 (_initialize_event_loop): Set command_loop_hook to cli_command_loop.
26
271999-06-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
28
29 * event-top.c (change_line_handler): Get rid of the global
30 variable input_fd, use `fileno (instream)' instead.
31 (_initialize_event_loop): Ditto
32
33 * event-loop.c (add_file_handler): New function. Wrapper for
34 create_file_handler.
35 (create_file_handler): Make static.
36 * event-top.c (_initialize_event_loop): Call add_file_handler,
37 instead of create_file_handler.
38 (change_line_handler): Ditto.
39 Remove poll.h include.
40 * event-loop.h: Export add_file_handler instead of
41 create_file_handler.
42
431999-06-24 Stan Shebs <shebs@andros.cygnus.com>
44
45 Declare Altos configuration obsolete.
46 * configure.host, configure.tgt: Comment out Altos config.
47 * Makefile.in: Comment out Altos-related actions.
48 * altos-xdep.c, config/m68k/altos.mh, altos.mt, tm-altos.h,
49 xm-altos.h: Comment out.
50 * NEWS: Mention obsolete status.
51
521999-06-24 Jason Molenda (jsm@bugshack.cygnus.com)
53
54 * Makefile.in: Add MAKEHTML and MAKEHTMLFLAGS; pass them down;
55 recognize html and install-html targets.
56 * gdbserver/Makefile.in: Add empty html and install-html targets.
57 * nlm/Makefile.in: Ditto.
58 * rdi-share/Makefile.in: Ditto.
59
601999-06-24 Jim Blandy <jimb@zwingli.cygnus.com>
61
62 * ax-gdb.c (agent_command): Remove vestigial call to ax_reqs.
63
641999-06-24 James Ingham <jingham@leda.cygnus.com>
65
66 * arm-tdep.c (arm_othernames): Change both gdb's register display
67 AND the opcode disassembly register naming if the othernames
68 command. Fixes the gdb part of CR 101177.
69
701999-06-23 Stan Shebs <shebs@andros.cygnus.com>
71
72 Declare Convex configuration obsolete.
73 * configure.host, configure.tgt: Comment out Convex configs.
74 * Makefile.in: Comment out Convex-related actions.
75 * convex-xdep.c, convex-tdep.c, config/convex/*: Comment out.
76 * NEWS: Mention obsolete status.
77
781999-06-23 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
79
80 * main.c: Turn on async by default by setting async_p to 1.
81
82Wed Jun 23 15:44:39 1999 Andrew Cagney <cagney@b1.cygnus.com>
83
84 From Jimmy Guo <guo@cup.hp.com>:
85 * frame.h (enum lval_type): Delcare when an __STDC__ compiler.
86 Reverts Mon Aug 11 16:08:52 1997 Fred Fish <fnf@cygnus.com>
87 change.
88 * utils.c (gdb_file_rewind, gdb_file_put): Fix. A void function
89 does not return a result.
90
91Wed Jun 23 15:30:46 1999 Andrew Cagney <cagney@b1.cygnus.com>
92
93 * remote.c (set_thread, remote_get_threadinfo,
94 remote_threads_info, remote_current_thread, remote_get_threadlist,
95 extended_remote_restart, get_offsets, remote_open_1,
96 remote_detach, remote_resume, remote_wait, remote_fetch_registers,
97 remote_store_registers, check_binary_download, remote_write_bytes,
98 remote_read_bytes, remote_search, putpkt_binary, putpkt_binary,
99 read_frame, compare_sections_command, remote_query,
100 packet_command, remote_info_process): Use alloca to create space
101 for arrays of size PBUFSIZ.
102
1031999-06-22 Jason Molenda (jsm@bugshack.cygnus.com)
104
105 * top.c: Update copyright years to include 1999.
106
9e0b60a8
JM
1071999-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
108
109 * top.c: Move include of event-loop.h, to avoid redefinition of
110 NFDBITS.
111
112 * event-loop.c (create_file_handler): Do not do a realloc of the
113 pollfd structure of the notifier, unless there is already one.
114 Include <sys/types.h> for platforms that have no poll.
115
116 * event-top.c: Fix prototype for _initialize_event_loop.
117 (_initialize_event_loop): Do something only if running in async
118 mode.
119
1201999-06-17 Jim Blandy <jimb@zwingli.cygnus.com>
121
122 Make the '/c' print format use a true character type. This is
123 more appropriate than builtin_type_char for languages other than
124 C, and C tolerates it.
125 * gdbtypes.c (builtin_type_true_char): New variable.
126 (build_gdbtypes): Initialize it.
127 * gdbtypes.h (builtin_type_true_char): New declaration.
128 * printcmd.c (print_scalar_formatted): When the format is 'c',
129 extract the value as a builtin_type_true_char.
130
131 * jv-exp.y (yylex): Say character literals are java_char_type, not
132 builtin_type_char. Java treats the latter like `byte'.
133
1341999-06-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
135
136 * Makefile.in (top_h): Define.
137 (event-loop.o): Add dependencies on top.h and defs.h.
138 (event-top.o): Add dependency on terminal.h.
139 * event-loop.c: Get rid of #include <readline.h>.
140
141 * event-loop.h: Get rid of nested #include's.
142 * event-loop.c: Rearrange includes to accomodate change in
143 event-loop.h. Include poll.h, not sys/poll.h.
144 * event-top.c: Ditto.
145 * main.c: Ditto.
146
1471999-06-16 David Taylor <taylor@louisiana.cygnus.com>
148
149 * alpha-tdep.c (alpha_pop_frame): if frame->proc_desc
150 is NULL, call find_proc_desc so we know how to restore
151 the registers.
152
1531999-06-15 Michael Snyder <msnyder@cleaver.cygnus.com>
154
155 * event-top.c (start_event_loop): call get_prompt.
156 (display_gdb_prompt): call get_prompt.
157 (async_stop_sig): call get_prompt.
158
1591999-06-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
160
161 * event-loop.c (delete_file_handler): When positioning prev_ptr,
162 keep looping while the one after is not equal to file_ptr, instead
163 of equal.
164
0f71a2f6
JM
1651999-06-14 Stan Shebs <shebs@andros.cygnus.com>
166
167 * MAINTAINERS: Add Jimmy Guo and Jim Blandy as HP testsuite and
168 SVR4 solib maintainers, respectively.
169
1701999-06-14 Michael Snyder <msnyder@cleaver.cygnus.com>
171
172 Add parameters to the gdb prompt.
173 * top.c (prompt): Rename to gdb_prompt_string for clarity.
174 (command_line_input): rename "prrompt" to prompt_arg for clarity.
175 (gdb_readline): rename "prrompt" to prompt_arg for clarity.
176 (read_command_lines): rename "prompt" to prompt_arg for clarity.
177 (stop_sig): call get_prompt instead of reading prompt string directly.
178 (command_loop): ditto.
0f71a2f6
JM
179 (gdb_prompt_escape): New variable. Esc char for prompt parameters.
180 (get_prompt_1): New function, workhorse for get_prompt.
181 (get_prompt): Completely rewrite. Add functionality for a
182 parameterized prompt, ie. the displayed prompt can change according
183 to the value of one or more expressions given as parameters in the
184 prompt string.
185 (init_main): use renamed variable gdb_prompt_string. Add new
186 command "set prompt-escape-char" to set gdb_prompt_escape.
187
188Sun Jun 13 10:44:13 1999 Andrew Cagney <cagney@b1.cygnus.com>
189
190 * defs.h (gdb_stdlog), main.c: Declare.
191 * main.c (main): Initialize.
192 * gdbarch.c: Write trace messages to the log file.
193 * remote.c: Update any debug/log prints.
194
1951999-06-11 Michael Snyder <msnyder@cleaver.cygnus.com>
196
197 * remote.c (remote_wait): Clean up new thread handling.
198 (record_currthread): Announce new threads.
199
2001999-06-11 Jim Blandy <jimb@zwingli.cygnus.com>
201
202 * partial-stab.h (case N_LSYM, 'T' descriptor): Don't create
203 partial symbol table entries for nameless enums, even if the type
204 name is " ". (We still pick up the enum elements, though.)
205
206 * partial-stab.h: Remove #if 0'd sections, dating back to 1992,
207 which set a variable which exists nowhere else in the source.
208 Please examine your test suite output carefully, and report any
209 problems to me.
210
2111999-06-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
212
213 * event-top.c (setup_event_loop): Change name to start_event_loop.
214 Move the intialization of event-loop variables to
215 _initialize_event_loop.
216 (_initialize_event_loop): New function. Called at init time, to
217 set up important event-loop variables.
218
219 * event-loop.h: setup_event_loop is now start_event_loop.
220 * main.c (main): Ditto.
221
222Fri Jun 11 18:34:33 1999 Andrew Cagney <cagney@b1.cygnus.com>
223
224 * defs.h (gdb_file_rewind_ftype, gdb_file_rewind,
225 set_gdb_file_rewind, gdb_file_put_ftype, gdb_file_put,
226 set_gdb_file_put): Declare.
227
228 * utils.c (gdb_file_new): Initialize ``rewind'' and ``put''.
229 (struct gdb_file): Add to_rewind and to_put.
230 (null_file_put, null_file_rewind, gdb_file_put, gdb_file_rewind,
231 set_gdb_file_put, set_gdb_file_rewind): New functions.
232 (tui_file_rewind, tui_file_put): New functions.
233 (tui_file_new): Add rewind and put.
234
235Fri Jun 11 15:10:32 1999 Andrew Cagney <cagney@b1.cygnus.com>
236
237 * d10v-tdep.c (d10v_push_arguments): Fix order of arguments passed
238 to store_address.
239
240Fri Jun 11 10:31:29 1999 Andrew Cagney <cagney@b1.cygnus.com>
241
242 * remote.c (tty_input): Change array to pointer.
243 (_initialize_remote): Call build_remote_gdbarch_data.
244 (build_remote_gdbarch_data): New function. Allocate space for
245 tty_input.
246 (readsocket, readtty): Delete extern declaration of tty_input.
247
2481999-06-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
249
250 * event-top.c (gdb_readline2): Call the command handling function
251 via the input_handler pointer.
252 (change_line_handler): When turning off editing, set input_handler
253 as well.
254
255 * utils.c (prompt_for_continue): If running asynchronously, call
256 async_request_quit, instead of request_quit.
257
258 * tracepoint.c (read_actions): If running asynchronously, set the
259 signal handler for STOP_SIGNAL to handle_stop_sig.
260
261 * top.h: (source_line_number, source_file_name, source_error,
262 source_pre_error, history_expansion_p, server_command): export for
263 use of event-top.c.
264
265 * event-top.c: Include top.h and terminal.h.
266 (instream): Remove extern declaration.
267 (handle_sigint, handle_sigquit, handle_sighup, handle_sigfpe,
268 handle_sigwinch, async_do_nothing, async_disconnect,
269 async_float_handler, async_stop_sig): Make static.
270 (async_request_quit, async_do_nothing, async_disconnect,
271 async_float_handler, async_stop_sig): Add gdb_glient_data
272 argument.
273 (handle_stop_sig): New function.
274 (sigtstp_token): New variable.
275 (sigint_token, sigquit_token, sigfpe_token, sigwinch_token):
276 Change their type tp PTR.
277 (mark_async_signal_handler_wrapper): New function.
278 (setup_event_loop): Initialize all the variables used by readline
279 only if not already done while reading the .gdbinit file. Display
280 the initial gdb prompt, if .gdbinit took care of setting things up
281 for readline.
282 (change_line_handler): When turning on the use of readline,
283 initialize input_handler as well.
284 (command_line_handler): Set up the signal handler for STOP_SIGNAL
285 to be handle_stop_sig.
286 (async_init_signals): Remove coercion of signal handlers in calls
287 to create_async_signal_handler. Initialize token for stop signal.
288 (handle_sigint): Call async_request_quit using one argument.
289 (handle_sigint, handle_sigquit, handle_sighup, handle_sigfpe,
290 handle_sigwinch): Call mark_async_signal_handler_wrapper instead
291 of mark_async_signal_handler.
292
293 * event-loop.h: Add extern declarations for handle_stop_sig,
294 async_command_editing_p, async_annotation_suffix,
295 new_async_prompt, the_prompts.
296
297 * top.c (command_line_input): Set the signal handler to be
298 handle_stop_sig, in case gdb is running asynchronously.
299 (get_prompt): Return the top of the prompt stack if running
300 asynchronously.
301 (set_prompt): Set the top of the prompt stack if running
302 asynchronously.
303 (init_main): Move ``extern'' vars from here to event-loop.h.
304
3051999-06-10 Michael Snyder <msnyder@cleaver.cygnus.com>
306
307 * values.c (value_from_string): new function. Make a value_ptr
308 from a string, with storage in local GDB memory (not in inferior).
309 * value.h (value_from_string): add prototype.
310 * remote.c (remote_cisco_ops): New remote target, "target cisco".
311 (init_remote_cisco_ops): New function, initialize new target.
312 (remote_cisco_mourn, remote_cisco_wait, remote_cisco_open,
313 remote_cisco_close): New functions, implement new target cisco.
314 (minitelnet, readtty, readsocket) New functions, implement the
315 I/O pass-through mode for target cisco.
316 (remote_wait): Detect special enhanced version of the 'S' packet
317 for target cisco.
318 (remote_cisco_expand): Perform Cisco variant of RLL decoding.
319
3201999-06-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
321
322 * event-loop.c (gdb_wait_for_event): Initialize num_found to 0.
323
324 * top.c (print_prompt): Delete this function.
325
326 From: Andrew Cagney <cagney@b1.cygnus.com>
327
328 * event-top.c (async_hook): Delete extern declaration.
329
330 * defs.h: Replace ``async_hook'' with ``async_p''.
331 * top.c (gdb_init, init_main, init_main, init_main, init_main):
332 Replace ``async_hook'' with ``async_p''.
333
334 * main.c: Rename ``async'' to ``async_p''.
335 (main): Add --noasync option.
336 (main): Hook in the asynchronous event-loop based CLI using
337 command_loop_hook instead of async_hook. Delete call to
338 async_hook().
339
340Thu Jun 10 21:14:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
341
342 * mn10300-tdep.c (mn10300_store_return_value,
343 mn10300_extract_struct_value_address,
344 mn10300_extract_return_value), config/mn10300/tm-mn10300.h: New
345 functions.
346 * config/mn10300/tm-mn10300.h (EXTRACT_STRUCT_VALUE_ADDRESS,
347 STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE): Update.
348 (TARGET_MN10300): Delete macro. Not used.
349
350Thu Jun 10 20:04:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
351
352 * mn10300-tdep.c (mn10300_register_names): Make static.
353 (STORE_STRUCT_RETURN): Do not modify SP.
354
355 * config/mn10300/tm-mn10300.h(mn10300_register_name),
356 mn10300-tdep.c : New function.
357 * config/mn10300/tm-mn10300.h (REGISTER_NAME): Update.
358 * config/mn10300/tm-mn10300.h (mn10300_saved_pc_after_call),
359 mn10300-tdep.c: New function.
360 * config/mn10300/tm-mn10300.h (SAVED_PC_AFTER_CALL): Update.
361
3621999-06-09 Peter Schauer (pes@regent.e-technik.tu-muenchen.de)
363
364 * rs6000-tdep.c (skip_prologue): Don't mistake a branch for a
365 subroutine call.
366
3671999-06-08 Michael Snyder <msnyder@cleaver.cygnus.com>
368
369 * remote.c (remote_wait): Add 'N' response packet, which is a
370 stop with signal number plus section offsets for .text, .data and
371 .bss. This is used by Cisco to indicate relocation offsets.
372 (remote_cisco_section_offsets, remote_cisco_objfile_relocate):
373 new files to support 'N' packet.
374 (remote_info_process): New function. Implements the
375 "info remote-process" command, by means of which the remote target
376 can report anything it wants to about the remote process/app being
377 debugged.
378 (_initialize_remote): add info remote-proc command.
379 (remote_threads_info): New function for "info threads" command.
380 Attempts to use new query "qfThreadInfo" instead of the old
381 undocumented query.
382 * exec.c (exec_set_section_offsets) new files to support 'N' packet.
383
384Tue Jun 8 13:33:42 1999 Andrew Cagney <cagney@amy.cygnus.com>
385
386 * inferior.h (generic_target_read_pc, generic_target_write_pc,
387 generic_target_read_fp, generic_target_write_fp,
388 generic_target_read_sp, generic_target_write_sp): Declare new
389 functions.
390 * findvar.c (generic_target_read_pc, generic_target_write_pc,
391 generic_target_read_fp, generic_target_write_fp,
392 generic_target_read_sp, generic_target_write_sp): New functions.
393 (TARGET_READ_PC, TARGET_WRITE_PC, TARGET_READ_FP, TARGET_WRITE_FP,
394 TARGET_READ_SP, TARGET_WRITE_SP): Default to corresponding generic
395 function.
396 (write_pc_pid, write_pc_pid, read_sp, write_sp, read_fp,
397 write_fp): Simplify.
398
399 * gdbarch.c (verify_gdbarch): Always verify TARGET_PTR_BIT,
400 TARGET_SHORT_BIT, TARGET_INT_BIT, TARGET_LONG_BIT,
401 TARGET_LONG_LONG_BIT, TARGET_FLOAT_BIT, TARGET_DOUBLE_BIT,
402 TARGET_LONG_DOUBLE_BIT, TARGET_READ_PC, TARGET_WRITE_PC,
403 TARGET_READ_FP, TARGET_WRITE_FP, TARGET_READ_SP, TARGET_WRITE_SP,
404 USE_GENERIC_DUMMY_FRAMES, CALL_DUMMY_BREAKPOINT_OFFSET_P,
405 CALL_DUMMY_P, CALL_DUMMY_STACK_ADJUST_P, GET_SAVED_REGISTER,
406 REGISTER_CONVERTIBLE, PUSH_ARGUMENTS, PUSH_RETURN_ADDRESS,
407 FRAME_CHAIN_VALID.
408 (GET_GDBARCH, SET_GDBARCH): Delete macros. Implement functions
409 directly.
410 * gdbarch.h, gdbarch.c: Call fatal() instead of abort(). Identify
411 the function / macro with a problem. Always verify a architecture
412 attribute before returning it.
413 * gdbarch.h, gdbarch.c (generic_register_convertible_not): New
414 function.
415
416 * mips-tdep.c (mips_push_return_address): New function.
417 * config/mips/tm-mips.h (PUSH_RETURN_ADDRESS): Define.
418
419 * mips-tdep.c (mips_gdbarch_init): Initialize short_bit,
420 double_bit, long_double_bit, read_pc, write_pc, read_fp, write_fp,
421 read_sp, write_sp, frame_chain_valid, get_saved_register,
422 push_arguments, push_return_address, register_convertible,
423 call_dummy_p, use_generic_dummy_frames,
424 call_dummy_breakpoint_offset_p, call_dummy_stack_adjust_p,
425 call_dummy_words and sizeof_call_dummy_words.
426 * config/mips/tm-mips.h: Don't define CALL_DUMMY when multi-arch.
427
cce74817
JM
4281999-06-07 Keith Seitz <keiths@cygnus.com>
429
430 * v850ice.c (init_hidden_window): Do not rely on the existence of
431 a gui for window creation. Return boolean status.
432 (v850ice_open): Use boolean status of init_hidden_window.
433 Allow any ICE execution command to run under CLI. Maybe one
434 day gdb will use a real event loop and allow this code to run.
435 * configure.tgt: Configure the v850 ice for all cygwin-hosted
436 toolchains.
437
438Mon Jun 7 23:37:26 1999 Andrew Cagney <cagney@amy.cygnus.com>
439
440 * config/mips/tm-mips.h (EXTRA_FRAME_INFO): Delete.
441 * mips-tdep.c (mips_init_extra_frame_info): Allocate saved_regs.
442 (temp_saved_regs): Replace struct with a simple pointer.
443 (set_reg_offset, mips32_heuristic_proc_desc, heuristic_proc_desc,
444 mips_init_extra_frame_info): Update.
445
446Mon Jun 7 21:40:12 1999 Andrew Cagney <cagney@amy.cygnus.com>
447
448 * config/mips/tm-mips.h (EXTRA_FRAME_INFO): Move elements from here.
449 * mips-tdep.c (struct frame_extra_info): To here.
450
451 * mips-tdep.c (mips_print_extra_frame_info, mips_find_saved_regs,
452 mips_init_extra_frame_info, mips_pop_frame): Update
453 (mips_init_extra_frame_info): Allocate space for the extra info.
454
455Mon Jun 7 21:08:50 1999 Andrew Cagney <cagney@amy.cygnus.com>
456
457 * config/mips/tm-mips.h (mips_init_extra_frame_info), mips-tdep.c:
458 Rename init_extra_frame_info. Add argument ``fromleaf''.
459
460 * config/mips/tm-mips.h (mips_print_extra_frame_info),
461 mips-tdep.c: New function.
462 (PRINT_EXTRA_FRAME_INFO): Update definition.
463
464Mon Jun 7 20:11:07 1999 Andrew Cagney <cagney@amy.cygnus.com>
465
466 * config/mips/tm-mips.h, config/mips/tm-irix3.h,
467 config/mips/tm-tx19.h, config/mips/tm-tx19l.h,
468 config/mips/tm-tx39.h, config/mips/tm-tx39l.h: Rename macro
469 REGISTER_NAMES to MIPS_REGISTER_NAMES.
470
471 * config/mips/tm-mips.h (REGISTER_NAME): Define.
472 * mips-tdep.c (mips_processor_reg_names): New static variable.
473 (mips_register_name): New function.
474 (mips_set_processor_type): Update mips_processor_reg_names.
475 (mips_generic_reg_names): Initialize using MIPS_REGISTER_NAMES.
476
477Sun Jun 6 11:09:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
478
479 * remote.c (PBUFSIZ): Re-define so that value is computed at
480 run-time.
481 (MAXBUFBYTES): Re-define as a macro function.
0f71a2f6
JM
482 * gdbarch.h, gdbarch.c: Add multi-arch support for REGISTER_BYTES.
483 * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
cce74817
JM
484
4851999-06-05 Fernando Nasser <fnasser@totem.to.cygnus.com>
486
487 * symtab.c (decode_line_1): Accept filenames with spaces in
488 'linespecs' when enclosed in double quotation marks and handle
489 drive specification is DOS format (D:).
490
4911999-06-04 Jim Blandy <jimb@zwingli.cygnus.com>
492
493 * parse.c: Don't include <ctype.h> twice.
494
4951999-06-04 David Taylor <taylor@louisiana.cygnus.com>
496
497 Sat May 15 12:16:09 1999 Per Bothner <bothner@deneb.cygnus.com>
498
499 * eval.c (evaluate_subexp_standard): Remove Gilmore rant.
500 (Of course C has "expected types", at least if you allow
501 brace-initializer expressions - as in Gcc.)
502 Remove NULLing out expect_type. Do pass NULL_TYPE in place
503 the incoming expect_type where appropriate.
504
505Fri Jun 4 10:56:23 1999 Jeffrey A Law (law@cygnus.com)
506
507 * hppa-tdep.c (hppa_fix_call_dummy): Make it work for GCC compiled
508 executables without end.o. Clean up lots of mis-guided comments.
509
510Fri Jun 4 17:10:36 1999 Andrew Cagney <cagney@b1.cygnus.com>
511
512 * parser-defs.h (std_regs): Replace array with pointer.
513 * parse.c (build_parse): Build the std_regs table according to the
514 standard registers available.
0f71a2f6
JM
515 (_initialize_parse): Register std_regs and num_std_regs as
516 architecture specific.
517 * gdbarch.h, gdbarch.c: Add multi-arch support for SP_REGNUM,
518 FP_REGNUM, PC_REGNUM, NUM_REGS, REGISTER_NAME.
519 * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
cce74817
JM
520
5211999-06-03 Michael Snyder <msnyder@cleaver.cygnus.com>
522
523 * thread.c: eliminate the target_thread_vector (functionality
524 moved into the standard target vector).
525 * gdbthread.h: eliminate target_thread_vector. Move all related
526 defines into remote.c, since they are no longer shared with thread.c.
527 * remote.c: eliminate the target_thread_vector.
528 (remote_find_new_threads): change return type to void, consistent
529 with the target vector table. (cont_thread): rename continue_thread.
530 (record_currthread): remove dead code. (remote_thread_alive):
531 clean up and simplify. (threadref etc.): move definitions to here
532 from gdbthread.h.
533
5341999-06-02 Jason Molenda (jsm@bugshack.cygnus.com)
535
536 * inftarg.c (child_create_inferior): Remove dead HPUX specific code
537 which tries to find csh.
538 * fork-child.c: Remove DEBUGGING predefine and conditionalized
539 printfs.
540 (fork_inferior): Remove dead HPUX specific code which assumes shell
541 is csh.
542
543 * hppa-tdep.c: Remove DEBUGGING and #if 0 debugging printfs.
544 * parse.c: Ditto.
545 * somread.c: Ditto.
546
0f71a2f6
JM
547 * gdbarch.h: Forward decl of struct value.
548
cce74817
JM
549Thu Jun 3 10:12:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
550
551 * d10v-tdep.c (do_d10v_pop_frame): Rename d10v_pop_frame. Make
552 static.
553 * d10v-tdep.c (d10v_pop_frame), config/d10v/tm-d10v.h: New
554 function. Call generic_pop_current_frame.
555 * config/d10v/tm-d10v.h (POP_FRAME): Update.
556 * gdbarch.h, gdbarch.c (frame_num_args_unknown): New function.
0f71a2f6
JM
557 * gdbarch.h, gdbarch.c: Add multi-arch support for POP_FRAME,
558 SKIP_PROLOGUE, INNER_THAN, DECR_PC_AFTER_BREAK,
559 FUNCTION_START_OFFSET, REMOTE_TRANSLATE_XFER_ADDRESS, FRAME_CHAIN,
560 FRAME_CHAIN_VALID, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS,
561 FRAME_LOCALS_ADDRESS, FRAME_ARGS_SKIP,
562 FRAMELESS_FUNCTION_INVOCATION, REGISTER_BYTE, REGISTER_RAW_SIZE,
563 REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, SAVED_PC_AFTER_CALL,
564 FRAME_NUM_ARGS, MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE,
565 REGISTER_SIZE.
566 * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
cce74817
JM
567 * config/d10v/tm-d10v.h (DMEM_START, IMEM_START, STACK_START,
568 ARG1_REGNUM, ARGN_REGNUM, RET1_REGNUM): Move definitions from
569 here.
570 * d10v-tdep.c: To here.
571 * config/d10v/tm-d10v.h (struct type): Move declaration from here.
572 * gdbarch.h: To here.
573 * config/d10v/tm-d10v.h (struct frame_info, struct
574 frame_saved_regs, struct type): Delete declarations.
575
5761999-06-02 Robert Hoehne <robert.hoehne@gmx.net>
577
578 * go32-nat.c: go32_terminal_init, go32_terminal_inferior and
579 go32_terminal_ours are new functions to save/restore the inferior`s
580 stdin/stdout filemodes
581
5821999-06-02 Stan Shebs <shebs@andros.cygnus.com>
583
584 * MAINTAINERS: Add Mark Kettenis, Jeff Law, and Philippe De Muyter
585 as maintainers for Hurd, HP/UX, and COFF, respectively.
586
5871999-06-02 Mark Kettenis <kettenis@gnu.org>
588
589 * gnu-nat.c (inf_continue): New function.
590 (struct inf): Use `unsigned int' instead of `int' for bit-fields.
591 Add new bit-field named `nomsg'.
592 (inf_validate_procinfo): Renamed from inf_validate_stopped, all
593 callers changed. Also update the `nomsg' and `traced' fields of
594 INF.
595 (make_inf): Initialize INF->nomsg.
596 (inf_cleanup): Reset INF->nomsg.
597 (inf_detach): Call `inf_validate_procinfo'. Call `inf_continue'
598 instead of `inf_signal' if the inferior does not have a message
599 port.
600 (gnu_resume): Likewise.
601 (gnu_create_inferior): Reset INF->nomsg in `attach_to_child'.
602 Call `inf_validate_procinfo' after returning from `fork_inferior'.
603 (gnu_attach): Update signal thread and tracing state.
604
605 * config/i386/tm-i386gnu.h: Include "i386/tm-i386.h" instead of
606 "i386/tm-i386v.h".
607 (STACK_END_ADDR): Remove.
608 (SIGCONTEXT_PC_OFFSET): New define.
609 Include "tm-sysv4.h".
610
6111999-06-02 J.T. Conklin <jtc@redback.com>
612
613 * config/tm-vxworks.h: New file, header for definitions common to
614 all vxWorks targets.
615 * config/a29k/tm-vx29k.h, config/i960/tm-vx960.h,
616 config/m68k/tm-vx68.h, config/mips/tm-vxmips.h,
617 config/sparc/tm-vxsparc.h: Include tm-vxworks.h.
618
619Wed Jun 2 17:37:03 1999 Jeffrey A Law (law@cygnus.com)
620
621 * config/pa/tm-hppa.h (IMPORT_SHLIB): New unwind stub type.
622
6231999-06-02 Christopher Faylor <cgf@cygnus.com>
624
625 * configure.tgt: Alphabetically reorder some targets.
626
6271999-06-02 Keith Seitz <keiths@cygnus.com>
628
629 * v850ice.c (v850ice_xfer_memory): Insert lost "break".
630
6311999-06-02 Jim Blandy <jimb@zwingli.cygnus.com>
632
633 * rs6000-tdep.c (variants): Fix description of 750 register set.
634 (Thanks to J. T. Conklin.)
635
636Wed Jun 2 16:10:08 1999 Andrew Cagney <cagney@b1.cygnus.com>
637
0f71a2f6
JM
638 * gdbarch.h, gdbarch.c: Add multi-arch support for
639 STORE_STRUCT_RETURN, STORE_RETURN_VALUE,
640 EXTRACT_STRUCT_VALUE_ADDRESS, USE_STRUCT_CONVENTION,
641 FRAME_INIT_SAVED_REGS and INIT_EXTRA_FRAME_INFO.
642 * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
643
cce74817
JM
644 * config/d10v/tm-d10v.h (FRAME_INIT_SAVED_REGS): Replace
645 FRAME_FIND_SAVED_REGS.
646 (d10v_frame_init_saved_regs): Replace d10v_frame_find_saved_regs.
647 * d10v-tdep.c (d10v_pop_frame, d10v_frame_chain,
648 d10v_frame_init_saved_regs): Update.
0f71a2f6
JM
649 * gdbarch.h: Disallow FRAME_FIND_SAVED_REGS when multi-arch.
650
651 * gdbarch.h, gdbarch.c: Add multi-arch support for
652 D10V_MAKE_DADDR, D10V_MAKE_IADDR, D10V_DADDR_P, D10V_IADDR_P,
653 D10V_CONVERT_DADDR_TO_RAW and D10V_CONVERT_IADDR_TO_RAW.
654 * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
cce74817
JM
655
656 * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Delete.
657 * d10v-tdep.c (struct frame_extra_info): Define.
658 (d10v_init_extra_frame_info, d10v_pop_frame, d10v_frame_chain,
659 d10v_frame_find_saved_regs): Update.
0f71a2f6 660 * gdbarch.h: Disallow EXTRA_FRAME_INFO when multi-arch.
cce74817
JM
661
662Tue Jun 1 13:36:31 1999 Philippe De Muyter <phdm@macqel.be>
663
664 * config/m68k/tm-delta68.h (FRAME_NUM_ARGS): Macro prototype fixed.
665 * config/m68k/tm-news.h, config/ns32k/tm-merlin.h: Ditto.
666 * config/ns32k/tm-umax.h (FRAME_NUM_ARGS): Old macro definition
667 removed; new macro prototype fixed.
668
669Wed Jun 2 11:18:37 1999 Andrew Cagney <cagney@b1.cygnus.com>
670
0f71a2f6
JM
671 * gdbarch.h, gdbarch.c: Add multi-arch support for
672 EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS, PUSH_DUMMY_FRAME,
673 PUSH_RETURN_ADDRESS, POP_FRAME, FRAME_FIND_SAVED_REGS.
674 * d10v-tdep.c, config/d10v/tm-d10v.h: Update.
675
676 * gdbarch.h, gdbarch.c: Add multi-arch support for
677 REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
678 REGISTER_CONVERT_TO_RAW.
679 * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update.
680
cce74817
JM
681 * defs.h (REGISTER_NAME): Move compatibility definition from here.
682 * gdbarch.h: To here.
683
684 * frame.h, blockframe.c (generic_fix_call_dummy): New
685 stub function.
0f71a2f6
JM
686 * gdbarch.h, gdbarch.c: Add multi-arch support for FIX_CALL_DUMMY.
687 * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update.
688
689Tue Jun 1 20:06:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
690
691 * d10v-tdep.c (d10v_gdbarch_init): Set get_saved_register.
692 * config/d10v/tm-d10v.h: Update.
693
694Tue Jun 1 19:50:05 1999 Andrew Cagney <cagney@b1.cygnus.com>
695
696 * gdbarch.h, gdbarch.c: Add multi-arch support for TARGET_READ_PC,
697 TARGET_WRITE_PC, TARGET_READ_FP, TARGET_WRITE_FP, TARGET_READ_SP
698 and TARGET_WRITE_SP.
699 * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update.
700
701Tue Jun 1 19:19:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
702
703 * gdbarch.c (default_gdbarch): Set field GET_SAVED_REGISTER to
704 generic_get_saved_register.
705 * gdbarch.c: Change update dispatch functions so that they check
706 for a NULL function pointer.
707
708Tue Jun 1 19:19:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
cce74817 709
0f71a2f6
JM
710 * gdbarch.h, gdbarch.c: Add multi-arch support for TARGET_INT_BIT,
711 TARGET_CHAR_BIT, TARGET_SHORT_BIT, TARGET_FLOAT_BIT,
712 TARGET_DOUBLE_BIT and TARGET_LONG_DOUBLE_BIT.
713 * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update.
714
ac9a91a7
JM
715Tue Jun 1 18:47:54 1999 Andrew Cagney <cagney@b1.cygnus.com>
716
717 * parse.c (build_parse): New function. Initialize
718 msym_text_symbol_type, msym_data_symbol_type and
719 msym_unknown_symbol_type.
720 (_initialize_parse): Call build_parse.
0f71a2f6
JM
721 (_initialize_parse): Register variables msym_text_symbol_type,
722 msym_data_symbol_type as msym_unknown_symbol_type as
723 per-architecture.
724
725Tue Jun 1 11:30:09 1999 Andrew Cagney <cagney@b1.cygnus.com>
726
727 * d10v-tdep.c (_initialize_d10v_tdep): Register d10v as an
728 architecture.
729 (d10v_gdbarch_init): New function.
730 * confg/d10v/tm-d10v.h (GDB_MULTI_ARCH): Define.
ac9a91a7
JM
731
732Tue Jun 1 10:45:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
733
734 * config/d10v/tm-d10v.h (REGISTER_CONVERTIBLE,
735 REGISTER_CONVERT_TO_RAW, REGISTER_CONVERT_TO_VIRTUAL): Convert
736 macros into functions.
737 * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_register_convertable,
738 d10v_register_convert_to_virtual, d10v_register_convert_to_raw):
739 The new functions.
740
7411999-05-31 Fernando Nasser <fnasser@totem.to.cygnus.com>
742
743 * stack.c (print_args_stub): Add missing stream parameter.
744
745Mon May 31 15:50:08 1999 Andrew Cagney <cagney@b1.cygnus.com>
746
747 Fri May 28 16:51:00 1999 Martin Dorey <martin.dorey@madge.com>:
748 * valops.c, value.h (default_push_arguments): Fix order of
749 parameters to match PUSH_ARGUMENTS arguments.
750
751Thu May 27 11:42:55 1999 Andrew Cagney <cagney@b1.cygnus.com>
752
753 * gdbarch.h (EXTRACT_STRUCT_VALUE_ADDRESS): Return 0.
754
755 * valops.c (value_assign): Delete redundant test of
756 REGISTER_CONVERTIBLE.
757
758Thu May 27 11:33:57 1999 Andrew Cagney <cagney@b1.cygnus.com>
759
760 * config/w65/tm-w65.h, config/tic80/tm-tic80.h, config/sh/tm-sh.h,
761 config/i386/tm-i386m3.h, config/i386/tm-go32.h,
762 config/i386/tm-cygwin.h, config/h8500/tm-h8500.h,
763 config/d30v/tm-d30v.h, config/d10v/tm-d10v.h: Delete definition of
764 macro NAMES_HAVE_UNDERSCORE.
765
766Thu May 27 09:31:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
767
768 * gdbarch.h (EXTRACT_STRUCT_VALUE_ADDRESS,
769 EXTRACT_STRUCT_VALUE_ADDRESS_P): Provide default definitions.
770 * values.c (value_being_returned): Use
771 EXTRACT_STRUCT_VALUE_ADDRESS when EXTRACT_STRUCT_VALUE_ADDRESS_P.
772
773Wed May 26 13:51:25 1999 Andrew Cagney <cagney@b1.cygnus.com>
774
775 * utils.c (tui_file_new, tui_file_delete, tui_fileopen): New
776 functions.
777 (tui_file_isatty): Rename gdb_file_isatty.
778 (gdb_file_init_astring): Use tui_file_new to create stream.
779 (gdb_file_get_strbuf, gdb_file_adjust_strbuf): Call gdb_file_data
780 to access the tui_stream.
781 (tui_file_flush): Rename gdb_flush. Call gdb_file_data to access
782 the tui_stream. Pass FILE and not STREAM down.
783
784 * utils.c (struct stdio_file, stdio_file_flush, stdio_file_fputs,
785 stdio_file_isatty, stdio_file_delete, stdio_file_new,
786 stdio_fileopen): Define type and functions. Implement a simple
787 STDIO based gdb_file.
788 (struct gdb_file, gdb_file_new, gdb_file_delete, null_file_isatty,
789 null_file_flush, null_file_fputs, null_file_delete, gdb_file_data,
790 set_gdb_file_flush, set_gdb_file_isatty, set_gdb_file_fputs,
791 set_gdb_file_data, fputs_unfiltered, gdb_flush, gdb_file_isatty):
792 Define type and functions. Implement virtual functions for
793 gdb_file.
794
795 * defs.h (struct gdb_file): Declare.
796 (GDB_FILE): Change type to struct gdb_file. Deprecate.
797 (gdb_file_flush_ftype, gdb_file_fputs_ftype,
798 gdb_file_isatty_ftype, gdb_file_delete_ftype): Add function type
799 declarations.
800
801 * defs.h (set_gdb_file_flush, set_gdb_file_fputs,
802 set_gdb_file_isatty, set_gdb_file_data, gdb_file_new,
803 gdb_file_delete, gdb_file_data, stdio_fileopen, tui_fileopen): Add
804 function declarations.
805 (gdb_fopen): Re-implement. Call stdio_file_new.
806 (gdb_fclose): Re-implement. Call gdb_file_delete.
807
808 * main.c (tui_file_fputs): Rename fputs_unfiltered. Use
809 gdb_file_data to gain access to the tui_stream data. Use FILE
810 instead of STREAM where applicable.
811 (main): Create gdb_stdout and gdb_stderr using tui_fileopen.
812
813 * defs.h (struct tui_stream): Add field ts_magic.
814 * utils.c (tui_file_magic): Local variable.
815 (tui_file_new): Set field ts_magic.
816 (tui_file_delete, tui_file_isatty, gdb_file_init_astring,
817 gdb_file_get_strbuf, gdb_file_adjust_strbuf, tui_file_flush):
818 Verify ts_magic.
819
8201999-05-25 Jim Blandy <jimb@zwingli.cygnus.com>
821
822 * breakpoint.c (insert_breakpoints, remove_breakpoint,
823 breakpoint_1): Add a 'default' case, which prints a warning
824 message, to remove EGCS warnings.
825
392a587b
JM
8261999-05-25 Fernando Nasser <fnasser@totem.to.cygnus.com>
827
828 * utils.c (gdb_file_adjust_strbuf): Take into account the
829 possibility that the buffer has not been allocated yet.
830
831Tue May 25 16:05:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
832
833 * gdbarch.h (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL,
834 REGISTER_CONVERT_TO_RAW): Provide default definition.
835
836 * valops.c (value_assign), infcmd.c (do_registers_info), findvar.c
837 (value_from_register, value_of_register): Remove #ifdef
838 REGISTER_CONVERTIBLE. Assume REGISTER_CONVERTIBLE etc defined.
839
840Tue May 25 16:18:25 1999 Andrew Cagney <cagney@amy.cygnus.com>
841
842 * remote-d10v.c (d10v_eva_prepare_to_trace,
843 d10v_eva_get_trace_data), remote-sim.c (_initialize_remote_sim):
844 Add declaraton. Make static.
845
846 * remote-d10v.c (_initialize_remote_d10v), d10v-tdep.c
847 (_initialize_d10v_tdep): Add declaration.
848 * config/d10v/tm-d10v.h (d10v_frame_chain): Add declaration.
849
850Tue May 25 15:20:58 1999 Andrew Cagney <cagney@amy.cygnus.com>
851
852 * main.c (init_proc, proc_remove_foreign): Delete function.
853 * inftarg.c (child_mourn_inferior): Update. Delete call to
854 proc_remove_foreign().
855 * top.c (gdb_init): Update. Delete call to init_proc().
856
857 * utils.c (pollquit, fmthex, hexlate): Delete function.
858
859Tue May 25 13:01:43 1999 Andrew Cagney <cagney@amy.cygnus.com>
860
861 * main.c (gdb_init): Move declaration from here.
862 * top.h: To here.
863
864 * defs.h (init_page_info): Add declaration.
865
866 * top.c (initialize_utils): Move declaration from here.
867 * defs.h: To here.
868
869 * infcmd.c (target_map_name_to_register): Move declaration from
870 here.
871 * parser-defs.h: To here.
872
873 * c-typeprint.c (cp_type_print_method_args), target.c
874 (nosupport_runtime, normal_target_post_startup_inferior): Add
875 declaration. Make static.
876
877Tue May 25 13:53:23 1999 Andrew Cagney <cagney@amy.cygnus.com>
878
879 * main.c: Include "event-loop.h".
880 * Makefile.in (main.o): Add dependency.
881
882 * top.h (setup_event_loop, async_init_signals), top.c
883 (set_async_editing_command, set_async_annotation_level,
884 set_async_prompt), event-loop.c (display_gdb_prompt): Move
885 declarations from here.
886 * event-loop.h: To here.
887
888 * event-loop.h (delete_async_signal_handler): Add function
889 declaration.
890
891 * event-top.c (change_annotation_level, command_handler): Add
892 declaration. Make static.
893
894Tue May 25 12:44:58 1999 Andrew Cagney <cagney@amy.cygnus.com>
895
896 * tracepoint.c (free_actions_list, add_register): Add declaration.
897 Make static.
898 (free_actions_list_cleanup_wrapper): New function. Wraps
899 free_actions_list for make_cleanup.
900 (trace_start_command): Pass free_actions_list_cleanup_wrapper
901 instead of free_actions_list to make_cleanup.
902 (_initialize_tracepoint): Add extern declaration.
903
904Tue May 25 12:23:39 1999 Andrew Cagney <cagney@amy.cygnus.com>
905
906 * jv-typeprint.c (java_type_print_base, jv-valprint.c
907 (java_print_value_fields): Add static declaration.
908
909 * jv-lang.c (java_lookup_type, get_java_utf8_name,
910 java_lookup_type): Add static declaration.
911 (get_java_class_symtab, java_class_is_primitive,
912 java_value_string): Add declaration. Make static.
913 (java_rerun_cleanup): Add extern declaration for this stub
914 function.
915
0f71a2f6
JM
916Tue May 25 12:06:29 1999 Andrew Cagney <cagney@b1.cygnus.com>
917
918 * gdbarch.h: When multi-arch, check that REGISTER_NAMES was not
919 defined.
920
392a587b
JM
921Mon May 24 16:16:29 1999 Andrew Cagney <cagney@amy.cygnus.com>
922
923 * inflow.c (_initialize_inflow), annotate.c
924 (_initialize_annotate), os9kread.c (_initialize_os9kread),
925 serial.c (_initialize_serial), nlmread.c (_initialize_nlmread),
926 f-valprint.c (_initialize_f_valprint), cp-valprint.c
927 (_initialize_cp_valprint), typeprint.c (_initialize_typeprint),
928 complaints.c (_initialize_complaints), scm-lang.c
929 (_initialize_scheme_language), m2-lang.c
930 (_initialize_m2_language), dbxread.c (_initialize_dbxread),
931 f-lang.c (_initialize_f_language), ch-lang.c
932 (_initialize_chill_language), c-lang.c (_initialize_c_language),
933 corefile.c (_initialize_core), stabsread.c
934 (_initialize_stabsread), mipsread.c (_initialize_mipsread),
935 elfread.c (_initialize_elfread), coffread.c
936 (_initialize_coffread), maint.c (_initialize_maint_cmds),
937 demangle.c (_initialize_demangler), maint.c
938 (_initialize_maint_cmds), language.c (_initialize_language): Add
939 external declaration.
940
941Mon May 24 10:04:56 1999 Andrew Cagney <cagney@b1.cygnus.com>
942
943 * config/z8k/tm-z8k.h, config/w65/tm-w65.h, config/v850/tm-v850.h,
944 config/tic80/tm-tic80.h, config/tahoe/tm-tahoe.h,
945 config/rs6000/tm-rs6000.h, config/sparc/tm-sparc.h,
946 config/sh/tm-sh.h, config/pyr/tm-pyr.h, config/pa/tm-hppa.h,
947 config/ns32k/tm-merlin.h, config/mn10300/tm-mn10300.h,
948 config/mn10200/tm-mn10200.h, config/mips/tm-mips.h,
949 config/m88k/tm-m88k.h, config/m68k/tm-news.h,
950 config/m68k/tm-delta68.h, config/m68k/tm-isi.h,
951 config/m68k/tm-m68k.h, config/m32r/tm-m32r.h,
952 config/i960/tm-i960.h, config/i386/tm-i386v.h,
953 config/i386/tm-i386.h, config/h8500/tm-h8500.h,
954 config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
955 config/d30v/tm-d30v.h, config/d10v/tm-d10v.h,
956 config/convex/tm-convex.h, config/arc/tm-arc.h,
957 config/arm/tm-arm.h, config/alpha/tm-alpha.h,
958 config/a29k/tm-a29k.h: Re-write definition of FRAME_NUM_ARGS so
959 that it returns NUM_ARGS as a result instead of setting a variable
960 as a side effect.
961
962 * ns32k-tdep.c (merlin_frame_num_args), tahoe-tdep.c
963 (tahoe_frame_num_args), vax-tdep.c (vax_frame_num_args),
964 m68k-tdep.c (news_frame_num_args, delta68_frame_num_args,
965 isi_frame_num_args), convex-tdep.c (convex_frame_num_args): New
966 functions.
967
968 * stack.c (print_args_stub): Update use of FRAME_NUM_ARGS.
969
970Mon May 24 11:57:04 1999 Andrew Cagney <cagney@b1.cygnus.com>
971
972 * remote.c (remote_xfer_memory): Re-write with assumption that
973 REMOTE_TRANSLATE_XFER_ADDRESS is defined. Pass targ_addr and
974 targ_len by reference.
975 (REMOTE_TRANSLATE_XFER_ADDRESS): Provide default definition.
976
977 * remote-d10v.c (remote_d10v_translate_xfer_address): Update.
978 * config/d10v/tm-d10v.h (REMOTE_TRANSLATE_XFER_ADDRESS): Update.
979
980Mon May 24 12:10:58 1999 Andrew Cagney <cagney@amy.cygnus.com>
981
982 * value.h (default_push_arguments): Add function declaration.
983
984 * alpha-tdep.c (alpha_about_to_return), gdbarch.c (verify_gdbarch,
985 arch_ok, set_arch), command.c (find_cmd), infrun.c
986 (follow_inferior_fork, follow_fork, follow_vfork,
987 set_schedlock_func, is_internal_shlib_eventpoint,
988 stopped_for_internal_shlib_event, stopped_for_shlib_catchpoint,
989 xdb_handle_command), infcmd.c (run_no_args_command, go_command),
990 symfile.c (add_filename_language, set_ext_lang_command,
991 info_ext_lang_command, init_filename_language_table), symtab.c
992 (overload_list_add_symbol), defs.h (default_get_saved_register),
993 ax-general.c (grow_expr, append_const, read_const, generic_ext):
994 Ditto.
995
996 * infrun.c (currently_stepping): Ditto. Make static.
997
998 * valops.c (hand_function_call): Explictly type static variable
999 ``checked''.
1000
1001Mon May 24 08:36:18 1999 Andrew Cagney <cagney@b1.cygnus.com>
1002
1003 * d10v-tdep.c (d10v_breakpoint_from_pc, d10v_register_name,
1004 d10v_register_byte, d10v_register_raw_size,
1005 d10v_register_virtual_size, d10v_register_virtual_type,
1006 d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p,
1007 d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw,
1008 d10v_store_struct_return, d10v_store_return_value,
1009 d10v_extract_struct_value_address, d10v_frame_saved_pc,
1010 d10v_frame_args_address, d10v_frame_locals_address,
1011 d10v_saved_pc_after_call): New functions.
1012
1013 * config/d10v/tm-d10v.h (REGISTER_BYTE, REGISTER_RAW_SIZE,
1014 REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN,
1015 D10V_MAKE_DADDR, D10V_MAKE_IADDR, D10V_DADDR_P, D10V_IADDR_P,
1016 D10V_CONVERT_DADDR_TO_RAW, D10V_CONVERT_IADDR_TO_RAW,
1017 STORE_STRUCT_RETURN, STORE_RETURN_VALUE,
1018 EXTRACT_STRUCT_VALUE_ADDRESS, SAVED_PC_AFTER_CALL, FRAME_SAVED_PC,
1019 FRAME_ARGS_ADDRESS): Re-define using new functions.
1020
1021 * config/d10v/tm-d10v.h (BREAKPOINT_FROM_PC): Replace BREAKPOINT.
1022 (REGISTER_NAME): Replace REGISTER_NAMES.
1023
1024 * utils.c (core_addr_lessthan, core_addr_greaterthan): New
1025 functions.
1026 * defs.h (core_addr_lessthan, core_addr_greaterthan): Declare.
1027
1028Sat May 22 16:44:06 1999 Andrew Cagney <cagney@b1.cygnus.com>
1029
1030 * utils.c (n_spaces): Handle case where first call has N equal to
1031 zero.
1032 (print_spaces): Use n_spaces.
1033
1034Fri May 21 11:23:54 1999 Andrew Cagney <cagney@b1.cygnus.com>
1035
1036 * valops.c (value_push): Remove conditional definition based on
1037 absense of macro PUSH_ARGUMENTS. Pass SP and STRUCT_ADDR by
1038 reference.
1039 (default_push_arguments): New function.
1040
1041 * config/v850/tm-v850.h, config/tic80/tm-tic80.h,
1042 config/sparc/tm-sparc.h, config/sparc/tm-sp64.h,
1043 config/sh/tm-sh.h, config/rs6000/tm-rs6000.h, config/pa/tm-hppa.h,
1044 config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h,
1045 config/mips/tm-mips.h, config/m32r/tm-m32r.h,
1046 config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
1047 config/d30v/tm-d30v.h, config/d10v/tm-d10v.h, config/arm/tm-arm.h,
1048 config/alpha/tm-alpha.h: Update definition of PUSH_ARGUMENTS.
1049 Return updated SP.
1050
1051 * rs6000-tdep.c (rs6000_push_arguments): Rename push_arguments.
1052
1053Thu May 20 12:18:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
1054
1055 * blockframe.c (get_prev_frame): Remove #ifdef around test for
1056 FRAMELESS_FUNCTION_INVOCATION.
1057 (get_prev_frame): Change FRAMELESS_FUNCTION_INVOCATION call to a
1058 function invocation.
1059 * i386-tdep.c (i386_frame_num_args), stack.c (frame_info): Ditto.
1060 * config/z8k/tm-z8k.h, config/w65/tm-w65.h, config/vax/tm-vax.h,
1061 config/sparc/tm-sparc.h, config/sh/tm-sh.h,
1062 config/rs6000/tm-rs6000.h, config/pa/tm-hppa.h,
1063 config/mips/tm-mips.h, config/m88k/tm-m88k.h,
1064 config/m68k/tm-m68k.h, config/i960/tm-i960.h,
1065 config/i386/tm-sun386.h, config/i386/tm-i386v.h,
1066 config/i386/tm-i386.h, config/h8500/tm-h8500.h,
1067 config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
1068 config/d30v/tm-d30v.h, config/d10v/tm-d10v.h,
1069 config/convex/tm-convex.h, config/arm/tm-arm.h,
1070 config/arc/tm-arc.h, config/alpha/tm-alpha.h,
1071 config/a29k/tm-a29k.h: Update FRAMELESS_FUNCTION_INVOCATION.
1072 * fr30-tdep.c (fr30_frameless_function_invocation), convex-tdep.c
1073 (convex_frameless_function_invocation), arm-tdep.c
1074 (arm_frameless_function_invocation): New functions.
1075
10761999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1077
1078 * top.c: Change dates in comments to ISO format.
1079
1080 * event-top.c: Ditto.
1081 * event-loop.c: Ditto.
1082 * main.c: Ditto.
1083
9e086581
JM
10841999-05-19 Keith Seitz <keiths@cygnus.com>
1085
1086 * monitor.c (monitor_open): Only assume we have eight
1087 breakpoints if the monitor implementation does not tell
1088 us how many there really are. Alloc memory for these
1089 dynamically.
1090 (monitor_close): Free memory associated with breakpoint
1091 storage.
1092 (monitor_insert_breakpoint): Don't rely on a hardcoded
1093 number of breakpoints.
1094 (monitor_remove_breakpoint): Ditto.
1095 (NUM_MONITOR_BREAKPOINTS): Removed and replaced with monitor_ops
1096 specification.
1097 * monitor.h (struct monitor_ops): Add new member so that the
1098 individual monitor implementations can tell us how many
1099 breakpoints the monitor supports.
1100
11011999-05-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1102
1103 From Philippe De Muyter <phdm@macqel.be>:
1104 * event-loop.h: Include sys/wait.h only if HAVE_SYS_WAIT_H.
1105
11061999-05-17 Fernando Nasser <fnasser@totem.to.cygnus.com>
1107
392a587b
JM
1108 * top.c (print_command_line): Added the missing stream argument.
1109 * gdbcmd.h: Added argument to prototype.
1110 * command.c: Fixed call to include extra argument.
1111 * breakpoint.c: Same.
9e086581
JM
1112
11131999-05-14 Jim Blandy <jimb@zwingli.cygnus.com>
1114
1115 Targets are #defining PREPARE_TO_PROCEED with inconsistent numbers
1116 of arguments. Since the Mach 3 target needs an argument, we'll
1117 make things consistent by adding an argument everywhere.
1118 * infrun.c (proceed): Pass an argument to PREPARE_TO_PROCEED.
1119 * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Add ignored argument
1120 to definition.
1121
11221999-05-11 Stan Shebs <shebs@andros.cygnus.com>
1123
1124 Fri Apr 23 13:27:34 PDT 1999 Toshiyasu Morita (tm@netcom.com)
1125 * sh-stub.c: Mostly localize processor dependencies.
1126
cd0fc7c3
SS
11271999-05-10 Martin Hunt <hunt@cygnus.com>
1128
1129 * debugify.c, debugify.h: Removed because they are no
1130 longer used.
1131
11321999-05-08 Jim Blandy <jimb@zwingli.cygnus.com>
1133
1134 * infrun.c (_initialize_infrun): Handle TARGET_SIGNAL_LWP,
1135 TARGET_SIGNAL_WAITING, and TARGET_SIGNAL_CANCEL like SIGALRM or
1136 SIGIO --- pass them through to the inferior silently.
1137 * target.h (enum target_signals): Add TARGET_SIGNAL_CANCEL, for
1138 Solaris's SIGCANCEL.
1139 * target.c (target_signal_from_host, target_signal_to_host): Add
1140 mapping between SIGCANCEL and TARGET_SIGNAL_CANCEL.
1141 (signals): Add entry for SIGCANCEL.
1142
11431999-05-07 Stan Shebs <shebs@andros.cygnus.com>
1144
1145 After years of talking about it, finally break up the
1146 wait_for_inferior loop.
1147 * infrun.c (struct execution_control_state): New struct,
1148 holds what used to be local vars governing wfi behavior.
1149 (init_execution_control_state): New function, was code in
1150 wfi that set up execution control state.
1151 (handle_inferior_event): New function, was body of main
1152 wfi loop. Rewrite all local var references to go through
1153 the ecs structure passed into this function.
1154 (wait_for_inferior): Rewrite to set up and use execution control
1155 state, and to call the new functions.
1156 (currently_stepping): New function, was the macro
1157 CURRENTLY_STEPPING.
1158 (enum infwait_states): Rename from wfi_states.
1159 (infwait_normal_state, etc): Similarly.
1160
1161Thu May 6 15:25:32 1999 Philippe De Muyter <phdm@macqel.be>
1162
1163 * coffread.c (coff_symtab_read): Call `record_line' with the line
1164 number of the ".bf" symbol only for one-line functions.
1165
11661999-05-06 Michael Snyder <msnyder@cleaver.cygnus.com>
1167
1168 * Makefile.in: thread.o depends on target.h.
1169
11701999-05-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1171
1172 * event-top.c (change_line_handler): Use POLLIN instead of
1173 POLLRDNORM, for compatibility with Linux.
1174 (setup_event_loop): Ditto.
1175
11761999-05-06 Jim Blandy <jimb@zwingli.cygnus.com>
1177
1178 * mips-tdep.c (heuristic_proc_start): Rewrite cryptic error
1179 message about hitting the "heuristic fence post" with something
1180 that actually gives the user a fighting chance of figuring out
1181 why GDB is unhappy.
1182
11831999-05-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1184
1185 * top.c: Include event-loop.h.
1186 (init_main): Add async version of 'set prompt' command.
1187 If in async mode define the editing and annotate set
1188 commands in a different way.
1189 Initialize new variable asyn_command_editing_p to 1.
1190 Initialize the gdb prompt for async mode.
1191 (quit_cover): Make not static, for use by the event loop.
1192 (gdb_init): Call async_init_signals for the asynchronous case.
1193 (source_line_number, source_file_name, source_error,
1194 source_pre_error, history_expansion_p): Make non-static, so
1195 event-top.c can use them.
1196 (command_loop_marker): Make non-static, for use in event-top.c.
1197 Include event-loop.h.
1198
1199 * top.h: Add prototype for async_init_signals.
1200 (SET_TOP_LEVEL): Move here from main.c.
1201 Add setup_event_loop to exported functions.
1202
1203 * defs.h: Add async_hook to exported variables.
1204
1205 * main.c (SET_TOP_LEVEL): Move to top.h, so that it is visible in
1206 event-loop.c. Add new global variable async to determine whether
1207 we are running in async mode or not.
1208 (main): Add support for --async switch. Use async_hook to call
1209 setup_event_loop, when running in async mode.
1210
1211 * event-top.c: New file. Gdb input line handler and command line
1212 handler for the event loop. Initialization of signal handlers.
1213 All the handled signals have handlers called handle_<signalname>.
1214 Set up all the appropriate tokens for asynchronous signal
1215 handling.
1216
1217 * event-loop.h: New file. Data structures and definitions for the
1218 event loop.
1219
1220 * event-loop.c: New file. Functions for the event loop
1221 implementation.
1222
1223 * config.in: Regenerate with autoheader.
1224
1225 * configure.in (AC_CHECK_FUNCS): Add poll to list of functions
1226 to be checked for.
1227
1228 * configure: Regenerate.
1229
1230 * Makefile.in (SFILES): Add new source files.
1231 (eventloop_h): Define.
1232 (COMMON_OBS): Add new object files.
1233 (event-loop.o): Add rule for target object.
1234 (event-top.o): Ditto.
1235
12361999-05-05 Stan Shebs <shebs@andros.cygnus.com>
1237
1238 * infrun.c (wait_for_inferior): Transform breaks and continues
1239 into gotos, move the target_wait to the very top of the loop.
1240
12411999-05-05 Jonathan Larmour <jlarmour@cygnus.co.uk>
1242
1243 * configure.in: Ensure that GDB links with libuser32.a under
1244 cygwin because libreadline requires it.
1245 * Makefile.in (WIN32LIBS): Substitute in result from configure
1246 * configure: regenerate
1247
12481999-05-04 Jim Blandy <jimb@zwingli.cygnus.com>
1249
1250 Fix from John Rigby. Richard Henderson says it seems okay.
1251 * alpha-tdep.c (PROC_DUMMY_FRAME): As long as we're abusing fields
1252 of (proc)->pdr, we ought to at least abuse one large enough to
1253 hold the value we're trying to store in it. iopt is only 32 bits
1254 wide; cbLineOffset is a bfd_vma.
1255
b83266a0
SS
12561999-05-04 DJ Delorie <dj@cygnus.com>
1257
1258 DJGPP changes from Robert Hoehne <robert.hoehne@gmx.net>
1259
1260 * ser-go32.c: correct includes
1261 * source.c (openp): use ROOTED_P instead of SLASH_P
1262 * go32-nat.c: enhance exception and NPX handling
1263 (go32_kill_inferior): fix small bug killing inferior
1264 * configure.in: don't look for termcap with djgpp
1265 * configure: rebuild
1266
12671999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1268
1269 * main.c (main): Comment out unused and undocumented command line
1270 option '-'.
1271
12721999-04-30 Jim Blandy <jimb@zwingli.cygnus.com>
1273
1274 Cleanup from Philippe De Muyter:
1275 * configure.in (BFD_NEED_DECLARATION): Check also for strstr.
1276 * acconfig.h (NEED_DECLARATION_MALLOC, NEED_DECLARATION_REALLOC,
1277 NEED_DECLARATION_FREE, NEED_DECLARATION_STRERROR): Define slots
1278 removed; they are now generated automatically.
1279 * gdb_string.h (strstr): Provide function prototype if
1280 NEED_DECLARATION_STRSTR.
1281 * configure, config.in: Regenerated.
1282
1283Fri Apr 30 11:16:09 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
1284
1285 * target.h (to_find_new_threads): new target ops vector.
1286 (target_find_new_threads): define.
1287 * target.c (update_current_target): inherit new target ops vector.
1288 * remote.c: Setup to_find_new_threads vector.
1289 * sol-thread.c: ditto.
1290 * thread.c (target_find_new_threads): rename: local_find_new_threads.
1291 (info_threads_command): call target_find_new_threads by new method,
1292 as a target ops vector, rather than previous macro definition method.
1293 * infcmd.c (go_command): define only if in xdb mode.
1294 * procfs.c: fix typo in comment.
1295
1296Fri Apr 30 01:02:05 1999 Jeffrey A Law (law@cygnus.com)
1297
1298 * hppah-nat.c: Fix various coding convention violations introduced
1299 by HP.
1300 (child_acknowledge_created_inferior): Do nothing if PT_SET_EVENT_MASK
1301 is not defined.
1302
13031999-04-28 Stan Shebs <shebs@andros.cygnus.com>
1304
1305 * TODO: Add some items inspired by review of the manual.
1306
1307Tue Apr 27 17:38:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
1308
1309 * config/z8k/tm-z8k.h, config/v850/tm-v850.h,
1310 config/tic80/tm-tic80.h, config/sparc/tm-sparc.h,
1311 config/sh/tm-sh.h, config/pyr/tm-pyr.h, config/pa/tm-hppa.h,
1312 config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h,
1313 config/mips/tm-mips.h, config/m88k/tm-m88k.h,
1314 config/m68k/tm-m68k.h, config/m32r/tm-m32r.h,
1315 config/i960/tm-i960.h, config/i386/tm-i386.h,
1316 config/h8500/tm-h8500.h, config/h8300/tm-h8300.h,
1317 config/fr30/tm-fr30.h, config/d30v/tm-d30v.h,
1318 config/d10v/tm-d10v.h, config/alpha/tm-alpha.h,
1319 config/arm/tm-arm.h, config/a29k/tm-a29k.h, config/arc/tm-arc.h:
1320 Change SKIP_PROLOGUE and SKIP_PROLOGUE_FRAMELESS_P macros so that
1321 they return the new address.
1322
1323 * sparc-tdep.c (sparc_skip_prologue), hppa-tdep.c
1324 (hppa_skip_prologue), m88k-tdep.c
1325 (m88k_skip_prologue), i960-tdep.c
1326 (i960_skip_prologue), arc-tdep.c
1327 (arc_skip_prologue), a29k-tdep.c (a29k_skip_prologue): Rename
1328 skip_prologue function.
1329
1330 * config/m68k/tm-isi.h: Convert macro SKIP_PROLOGUE into a new
1331 function.
1332 * m68k-tdep.c (isi_skip_prologue): That new function.
1333 * vax-tdep.c (vax_skip_prologue), config/vax/tm-vax.h: Ditto.
1334 * tahoe-tdep.c (tahoe_skip_prologue), config/tahoe/tm-tahoe.h: Ditto.
1335 * rs6000-tdep.c (rs6000_skip_prologue), config/rs6000/tm-rs6000.h:
1336 Ditto.
1337 * ns32k-tdep.c (umax_skip_prologue), config/ns32k/tm-umax.h: Ditto.
1338 * config/ns32k/tm-merlin.h, ns32k-tdep.c (merlin_skip_prologue):
1339 Ditto.
1340 * config/m68k/tm-altos.h, m68k-tdep.c (altos_skip_prologue): Ditto.
1341 * config/convex/tm-convex.h, convex-tdep.c (convex_skip_prologue):
1342 Ditto.
1343
1344 * symtab.c (in_prologue, find_function_start_sal, decode_line_1),
1345 infrun.c (wait_for_inferior), blockframe.c
1346 (frameless_look_for_prologue): Update.
1347 * config/fr30/tm-fr30.h (FRAMELESS_FUNCTION_INVOCATION): Update.
1348
13491999-04-27 Stan Shebs <shebs@andros.cygnus.com>
1350
1351 * TODO: Remove item about DEBUG_EXPRESSIONS, no longer meaningful.
1352
1353 * infrun.c (enum wfi_state): New enum.
1354 (wait_for_inferior): Merge all but one of the target_wait calls
1355 into a single call, add a wfi_state variable to encode which of
1356 the calls is being made.
1357
13581999-04-26 Jim Blandy <jimb@zwingli.cygnus.com>
1359
1360 Fix from Dave Holcomb.
1361 * hpux-thread.c (init_hpux_thread_ops): Use the right function
1362 name when initializing hpux_thread_ops.to_thread_alive.
1363
1364 * coffread.c (coff_symfile_read): If we have a `.stab' section,
1365 but no `.stabstr' section, then print an error message; don't
1366 crash.
1367
13681999-04-26 Jim Blandy <jimb@zwingli.cygnus.com>
1369
1370 1999-04-25 Mark Kettenis <kettenis@gnu.org>
1371
1372 * gnu-nat.c (gnu_attach): Call target_terminal_init before calling
1373 inf_set_traced, since that function calls code that might try to
1374 restore the terminal settings.
1375
1376Mon Apr 26 08:55:46 1999 Andrew Cagney <cagney@b1.cygnus.com>
1377
1378 * gdbarch.h, gdbarch.c: More format cleanups.
1379
0f71a2f6
JM
1380Sun Apr 25 18:54:51 1999 Andrew Cagney <cagney@b1.cygnus.com>
1381
1382 * gdbarch.h (CALL_DUMMY_STACK_ADJUST_P): Replace
1383 SIZEOF_CALL_DUMMY_STACK_ADJUST_P.
1384 (CALL_DUMMY_STACK_ADJUST): Replace
1385 SIZEOF_CALL_DUMMY_STACK_ADJUST_P.
1386 * gdbarch.c (gdbarch_call_dummy_stack_adjust,
1387 set_gdbarch_call_dummy_stack_adjust): Define.
1388
b83266a0
SS
1389Fri Apr 23 15:00:25 1999 Andrew Cagney <cagney@b1.cygnus.com>
1390
1391 * gdbarch.c (arch_ok): New function. Fix logic test for a valid
1392 architecture.
1393 (set_arch): Use.
1394
7a292a7a
SS
13951999-04-22 Jason Molenda (jsm@bugshack.cygnus.com)
1396
1397 * README: Note that readline is not installed as a part of
1398 make install.
1399
1400Thu Apr 22 21:02:28 1999 Andrew Cagney <cagney@b1.cygnus.com>
1401
0f71a2f6
JM
1402 * gdbarch.h, gdbarch.c (GET_SAVED_REGISTER, get_saved_register):
1403 Add.
1404 (struct gdbarch, verify_gdbarch, gdbarch_alloc, gdbarch_dump,
1405 default_gdbarch): Update.
1406
7a292a7a
SS
1407 * value.h (get_saved_register): Cleanup prototype.
1408 * findvar.c (default_get_saved_register): Rename function
1409 get_saved_register.
1410 (GET_SAVED_REGISTER): Define as default_get_saved_register when
1411 undefined.
1412 (get_saved_register): Always declare. Call GET_SAVED_REGISTER.
1413
1414 * sparc-tdep.c (sparc_get_saved_register): Rename function
1415 get_saved_register.
1416 * config/sparc/tm-sparc.h (GET_SAVED_REGISTER): Update.
1417 * a29k-tdep.c (a29k_get_saved_register): Rename function
1418 get_saved_register.
1419 * config/a29k/tm-a29k.h (GET_SAVED_REGISTER): Update.
1420
1421 * config/d10v/tm-d10v.h, config/powerpc/tm-ppc-eabi.h,
1422 config/h8300/tm-h8300.h, config/m32r/tm-m32r.h,
1423 config/mn10200/tm-mn10200.h, config/mn10300/tm-mn10300.h,
1424 config/sh/tm-sh.h, config/tic80/tm-tic80.h, config/v850/tm-v850.h:
1425 Update macro GET_SAVED_REGISTER so that it calls
1426 generic_get_saved_register.
1427 * v850-tdep.c, tic80-tdep.c, sh-tdep.c, mn10300-tdep.c,
1428 mn10200-tdep.c, m32r-tdep.c, h8300-tdep.c, rs6000-tdep.c: Delete
1429 function get_saved_register.
1430
0f71a2f6
JM
1431Thu Apr 22 13:32:23 1999 Andrew Cagney <cagney@b1.cygnus.com>
1432
1433 * gdbarch.c: Cleanup. Re-order the definition of the ``struct
1434 gdbarch'' initialization functions so that maintenance is more
1435 straightforward.
1436
7a292a7a
SS
1437Thu Apr 22 11:07:21 1999 Andrew Cagney <cagney@b1.cygnus.com>
1438
0f71a2f6
JM
1439 * gdbarch.h, gdbarch.c (use_generic_dummy_frames,
1440 USE_GENERIC_DUMMY_FRAMES): Add.
1441 (struct gdbarch, verify_gdbarch, gdbarch_alloc, gdbarch_dump,
1442 default_gdbarch): Update.
1443
7a292a7a
SS
1444 * config/v850/tm-v850.h, config/tic80/tm-tic80.h,
1445 config/sh/tm-sh.h, config/powerpc/tm-ppc-eabi.h,
1446 config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h,
1447 config/m32r/tm-m32r.h, config/h8300/tm-h8300.h,
1448 config/fr30/tm-fr30.h, config/d10v/tm-d10v.h: Give the
1449 USE_GENERIC_DUMMY_FRAMES macro the value one.
1450 * inferior.h (USE_GENERIC_DUMMY_FRAMES): Default to a value of
1451 zero.
1452
1453 * blockframe.c (generic_find_dummy_frame,
1454 generic_pc_in_call_dummy, generic_read_register_dummy,
1455 generic_push_dummy_frame, generic_pop_current_frame,
1456 generic_pop_dummy_frame, generic_frame_chain_valid,
1457 generic_get_saved_register): Always define.
1458
1459 * breakpoint.c (frame_in_dummy): Convert #ifdef
1460 USE_GENERIC_DUMMY_FRAMES to runtime test.
1461
1462 * rs6000-tdep.c (pop_frame, push_arguments, push_arguments,
1463 push_arguments, frame_saved_pc, rs6000_frame_chain,
1464 rs6000_frame_chain): Convert #ifdef USE_GENERIC_DUMMY_FRAMES to
1465 runtime test.
1466 (get_saved_register): Always define.
1467
0f71a2f6
JM
1468Wed Apr 21 17:15:52 1999 Andrew Cagney <cagney@b1.cygnus.com>
1469
1470 * gdbarch.c (gdbarch_dump): Fix robustness check on
1471 BELIEVE_PCC_PROMOTION_TYPE.
1472
1473Wed Apr 21 15:39:27 1999 Andrew Cagney <cagney@b1.cygnus.com>
1474
1475 * gdbarch.h (TARGET_BYTE_ORDER_SELECTABLE_P): When multi-arch,
1476 force selectable byte order.
1477 (CALL_DUMMY): Check for CALL_DUMMY definition when multi-arch. Are
1478 incompatible.
1479 * gdbarch.c (verify_gdbarch): Check call_dummy_stack_adjust.
1480
7a292a7a
SS
1481Wed Apr 21 14:45:44 1999 Andrew Cagney <cagney@b1.cygnus.com>
1482
0f71a2f6
JM
1483 * gdbarch.c (gdbarch_update): Move dump-arch code from here.
1484 (gdbarch_dump): To here. Make more robust.
1485 * gdbarch.h (gdbarch_dump): Add prototype.
1486
7a292a7a
SS
1487 * gdbarch.c (enum set_arch): Declare.
1488 (set_arch): Add type parameter. Only disable
1489 ``target_architecture_auto'' when set_arch_manual.
1490 (set_architecture, set_architecture_from_arch_mach,
1491 set_architecture_from_file): Update.
0f71a2f6
JM
1492 (set_arch): When ``gdbarch_debug'', gdbarch_dump() the current
1493 architecture.
7a292a7a
SS
1494
1495Wed Apr 21 10:48:53 1999 Andrew Cagney <cagney@b1.cygnus.com>
1496
1497 * frame.h (generic_pc_in_call_dummy): Make signature consistent
1498 with other pc_in_call_dummy functions by adding SP parameter.
1499 * blockframe.c (generic_pc_in_call_dummy): Update. Pass SP and
1500 not FP to generic_find_dummy_frame().
1501 * breakpoint.c (frame_in_dummy): Update.
1502 * config/v850/tm-v850.h, config/tic80/tm-tic80.h,
1503 config/sh/tm-sh.h, config/mn10300/tm-mn10300.h,
1504 config/mn10200/tm-mn10200.h, config/m32r/tm-m32r.h,
1505 config/h8300/tm-h8300.h, config/fr30/tm-fr30.h,
1506 config/d10v/tm-d10v.h: Update PC_IN_CALL_DUMMY definition.
1507
1508Tue Apr 20 12:15:45 1999 Andrew Cagney <cagney@b1.cygnus.com>
1509
1510 * config/d10v/tm-d10v.h (GDB_TARGET_IS_D10V): Move from here.
1511 * gdbarch.h (GDB_TARGET_IS_D10V): To here. Implement using
1512 TARGET_ARCHITECTURE.
1513 (D10V_MAKE_DADDR, D10V_MAKE_IADDR): Provide fatal default
1514 definitions.
1515
1516 * valops.c (value_at): Replace #ifdef GDB_TARGET_IS_D10V code with
1517 runtime test.
1518 (value_fetch_lazy): Ditto.
1519 * values.c (unpack_long): Ditto.
1520 * printcmd.c (print_frame_args): Ditto.
1521
0f71a2f6
JM
1522Sat Apr 17 15:39:33 1999 Andrew Cagney <cagney@b1.cygnus.com>
1523
1524 * gdbarch.h: Cleanup multi-arch comments.
1525
1526Fri Apr 16 15:39:10 1999 Andrew Cagney <cagney@b1.cygnus.com>
1527
1528 * gdbarch.h: Provide definition if GDB_MULTI_ARCH > 1 or
1529 GDB_MULTI_ARCH > 0 and no previous definition.
1530 * gdbarch.c (verify_gdbarch): Only verify a full multi-arch
1531 target.
1532
7a292a7a
SS
15331999-04-15 Stan Shebs <shebs@andros.cygnus.com>
1534
1535 * infrun.c (wait_for_inferior) [HAVE_STEPPABLE_WATCHPOINT,
1536 HAVE_NONSTEPPABLE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT]: Test
1537 at runtime instead of compile time.
1538
15391999-04-14 Philippe De Muyter <phdm@macqel.be>
1540
1541 * breakpoint.c (maintenance_info_breakpoints): Function made
1542 static to match previous prototype.
1543
1544 * coffread.c (coff_record_line): Static function removed.
1545 (enter_linenos): Call `record_line' instead of `coff_record_line'.
1546 (FILE-LEVEL, coff_start_symtab, coff_end_symtab): `coff_record_line'
1547 -related stuff removed.
1548 (coff_symfile_read): Redundant statement removed.
1549 (coff_symtab_read): `record_line' is now called with the first line
1550 number of each function, given by the ".bf" symbol. This solves
1551 the line-number bug for one-line functions.
1552
1553Wed Apr 14 11:09:45 1999 Andrew Cagney <cagney@b1.cygnus.com>
1554
0f71a2f6
JM
1555 * gdbarch.h (BELIEVE_PCC_PROMOTION_TYPE, BELIEVE_PCC_PROMOTION):
1556 Add multi-arch definitions.
1557 * gdbarch.c (gdbarch_believe_pcc_promotion,
1558 gdbarch_believe_pcc_promotion_type): New functions.
1559 (gdbarch_update): Update
1560 (struct gdbarch default_gdbarch): Update.
1561
7a292a7a
SS
1562 * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Provide default.
1563 (define_symbol): Change #if BELIEVE_PCC_PROMOTION_TYPE and #if
1564 BELIEVE_PCC_PROMOTION to if().
1565
15661999-04-13 Jason Molenda (jsm@bugshack.cygnus.com)
1567
1568 * configure.in (HAVE_MULTIPLE_PROC_FDS): Don't define if we're
1569 on a Solaris host (of any architecture).
1570 * configure: Regenerated.
1571
0f71a2f6
JM
1572Wed Apr 14 08:23:32 1999 Andrew Cagney <cagney@b1.cygnus.com>
1573
1574 * gdbarch.c (SET_GDBARCH, GET_GDBARCH, FSET_GDBARCH): New macros.
1575 (gdbarch_byte_order, gdbarch_long_bit, gdbarch_long_long_bit,
1576 gdbarch_ptr_bit, gdbarch_call_dummy_location,
1577 gdbarch_call_dummy_address, gdbarch_call_dummy_address,
1578 gdbarch_call_dummy_breakpoint_offset,
1579 gdbarch_call_dummy_breakpoint_offset, gdbarch_call_dummy_length,
1580 gdbarch_pc_in_call_dummy, dbarch_call_dummy_breakpoint_offset_p,
1581 dbarch_call_dummy_p, dbarch_call_dummy_words,
1582 dbarch_sizeof_call_dummy_words, dbarch_call_dummy_stack_adjust,
1583 dbarch_call_dummy_stack_adjust_p): Define using new macros.
1584
7a292a7a
SS
15851999-04-13 Jason Molenda (jsm@bugshack.cygnus.com)
1586
1587 * rom68k-rom.c (init_rom68k_cmds): Fix an accidental substitution
1588 in monitor command strings, fix some formatting mistakes.
1589
15901999-04-13 Stan Shebs <shebs@andros.cygnus.com>
1591
1592 * configure.tgt (arm-*-*): Whack another vestige of wingdb.
1593
15941999-04-12 James Ingham <jingham@cygnus.com>
1595
1596 * arm-tdep.c (arm_pop_frame): don't clobber the previous frame's
1597 stack pointer (stored in frame->framereg's register) BEFORE
1598 reading it. This was causing "return" to behave very oddly.
1599
16001999-04-12 Stan Shebs <shebs@andros.cygnus.com>
1601
1602 * NEWS: Mention tic80.
1603
16041999-04-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
1605
1606 * a68v-nat.c: Remove reference to 'extern char registers[]' throughout.
1607 * altos-xdep.c: Ditto.
1608 * arm-xdep.c: Ditto.
1609 * convex-xdep.c: Ditto.
1610 * cxux-nat.c: Ditto.
1611 * hp300ux-nat.c: Ditto.
1612 * hppab-nat.c: Ditto.
1613 * i386aix-nat.c: Ditto.
1614 * i386mach-nat.c: Ditto.
1615 * m88k-nat.c: Ditto.
1616 * ptx4-nat.c: Ditto.
1617 * pyr-xdep.c: Ditto.
1618 * rs6000-nat.c: Ditto.
1619 * sun3-nat.c: Ditto.
1620 * sun386-nat.c: Ditto.
1621 * symm-nat.c: Ditto.
1622 * umax-xdep.c: Ditto.
1623 * i386v4-nat.c: Ditto. Also include inferior.h.
1624 * m68k-tdep.c: Ditto. Also include inferior.h.
1625
1626Mon Apr 12 15:57:16 1999 Andrew Cagney <cagney@b1.cygnus.com>
1627
1628 * inferior.h (CALL_DUMMY_STACK_ADJUST, CALL_DUMMY_STACK_ADJUST_P):
1629 Provide default definitions.
1630 * valops.c (hand_function_call): Replace #ifdef
1631 CALL_DUMMY_STACK_ADJUST with if (CALL_DUMMY_STACK_ADJUST_P).
1632
0f71a2f6
JM
1633 * gdbarch.h (SIZEOF_CALL_DUMMY_STACK_ADJUST,
1634 (SIZEOF_CALL_DUMMY_STACK_ADJUST_P): Define
1635 * gdbarch.c (struct gdbarch): Add call_dummy_stack_adjust,
1636 call_dummy_stack_adjust_p.
1637 (gdbarch_call_dummy_stack_adjust,
1638 set_gdbarch_call_dummy_stack_adjust,
1639 gdbarch_call_dummy_stack_adjust_p,
1640 set_gdbarch_call_dummy_stack_adjust_p): New functions.
1641 (default_gdbarch): Update.
1642
7a292a7a
SS
16431999-04-09 Jim Blandy <jimb@zwingli.cygnus.com>
1644
1645 * ax-gdb.c, ax-gdb.h, ax-general.c, ax.h: Remove RCS Id strings.
1646 They're a pain.
c906108c
SS
1647
1648 * GDB 4.18 released.
7a292a7a 1649 * Makefile.in (VERSION): Bump to 4.18.1.
c906108c 1650
7a292a7a
SS
1651Thu Apr 8 16:04:34 1999 Andrew Cagney <cagney@b1.cygnus.com>
1652
1653 * inferior.h (CALL_DUMMY_P, CALL_DUMMY_WORDS,
1654 SIZEOF_CALL_DUMMY_WORDS): Define macros.
1655 (PUSH_DUMMY_FRAME, FIX_CALL_DUMMY, STORE_STRUCT_RETURN): Provide
1656 fatal default.
1657
1658 * inferior.h, gdbarch.c (call_dummy_words,
1659 sizeof_call_dummy_words): Declare/Define variables.
1660 * valops.c (value_arg_coerce, find_function_addr,
1661 call_function_by_hand): Always define.
1662 (hand_function_call): Rename CALL_DUMMY version of
1663 call_function_by_hand. Make static. Add prototype.
1664 (hand_function_call): Update. Allocate space for *dummy and
1665 *dummy1 using alloca.
1666 * breakpoint.c (frame_in_dummy): Update.
c906108c 1667
0f71a2f6
JM
1668 * gdbarch.h (CALL_DUMMY_P, CALL_DUMMY_WORDS,
1669 SIZEOF_CALL_DUMMY_WORDS): Define.
1670 * gdbarch.c (gdbarch_call_dummy_p, set_gdbarch_call_dummy_p,
1671 gdbarch_call_dummy_words, set_gdbarch_call_dummy_words,
1672 gdbarch_sizeof_call_dummy_words,
1673 set_gdbarch_sizeof_call_dummy_words): New functions.
1674 (gdbarch_alloc, verify_gdbarch, gdbarch_update, struct
1675 default_gdbarch): Update.
1676
7a292a7a
SS
16771999-04-08 Jason Molenda (jsm@bugshack.cygnus.com)
1678
1679 * monitor.c (monitor_read_memory): If a MO_GETMEM_NEEDS_RANGE
1680 monitor, increase the end address by one byte.
1681
16821999-04-08 Jason Molenda (jsm@bugshack.cygnus.com)
1683
1684 * dbug-rom.c (init_dbug_cmds): Fix strings in
1685 dbug_cmds.{step,clr_break,clr_all_break,fill} to send correct
1686 commands to the monitor.
1687
16881999-04-08 Keith Seitz <keiths@cygnus.com>
1689
1690 * m32r-stub.c (branchDestination): Undo overly ambitious
1691 sed script's conversion of cast from "char" to "unsigned char".
1692 Return offset should now be properly computed.
1693
1694Thu Apr 8 14:13:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
1695
1696 * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): New macro.
1697 Non-zero when CALL_DUMMY_BREAKPOINT_OFFSET is valid.
1698
1699 * infcmd.c (breakpoint_auto_delete_contents): Always define.
1700 (run_stack_dummy): Update.
1701 * infrun.c (wait_for_inferior): Update
1702
0f71a2f6
JM
1703 * gdbarch.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): New macro.
1704 * gdbarch.c (set_gdbarch_call_dummy_breakpoint_offset_p,
1705 gdbarch_call_dummy_breakpoint_offset_p): New functions.
1706 (struct gdbarch, gdbarch_alloc, default_gdbarch, gdbarch_update):
1707 Update.
1708
7a292a7a
SS
17091999-04-07 Stan Shebs <shebs@andros.cygnus.com>
1710
1711 * MAINTAINERS: Mark Alexander can no longer maintain
1712 h8300 and other embedded targets, sniff.
c906108c
SS
1713
17141999-04-06 Stan Shebs <shebs@andros.cygnus.com>
1715
7a292a7a
SS
1716 * inftarg.c (child_wait): Initialize execd_pathname.
1717 * target.c (debug_to_has_execd): Handle NULL execd_pathname.
1718
c906108c
SS
1719 * solib.c (clear_solib): Don't call disable_breakpoints_in_shlibs,
1720 this breaks rerunning on sun4 native.
1721
7a292a7a 17221999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
c906108c 1723
7a292a7a
SS
1724 * config/sparc/nm-linux.h: Don't redefine PT_ATTACH to use the
1725 deprecated PTRACE_SUNATTACH compatibility commands. The
1726 definitions from <sys/ptrace.h> are fine.
1727
17281999-04-06 Martin Hunt <hunt@cygnus.com>
1729
1730 * annotate.h: Declare annotate_signal_hook.
1731
1732 * annotate.c (annotate_signal): Add a call to
1733 annotate_signal_hook().
1734
17351999-04-06 Jim Blandy <jimb@zwingli.cygnus.com>
1736
1737 * dwarf2read.c (dwarf_decode_lines): Don't call record_line when
1738 we hit a DW_LNE_end_sequence instruction.
c906108c
SS
1739
1740 * README: Note that GDB requires an ANSI C compiler, and explain
1741 how to get GCC.
1742
1743 * README: Update.
c906108c 1744
7a292a7a 17451999-04-05 Stan Shebs <shebs@andros.cygnus.com>
c906108c
SS
1746
1747 * NEWS: Add more notes about user-visible changes.
1748
7a292a7a
SS
1749Mon Apr 5 14:56:59 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
1750
1751 * target.c (target_signal_to_string): check for signal
1752 number in range; otherwise if the target board returns
1753 a bogus signal number we might core dump (per David Taylor).
1754
17551999-04-05 David Taylor <taylor@ryobi.cygnus.com>
1756
1757 * utils.c (fputs_maybe_filtered): test value of
1758 pagination_enabled before paginating.
1759
17601999-04-02 James Ingham <jingham@cygnus.com>
1761
1762 * blockframe.c (get_prev_frame): Remove the redundant
1763 get_prev_frame_info. It is now exactly the same as
1764 get_prev_frame, so there is no reason to have both functions.
1765
1766 * rs6000-tdep.c (rs6000_init_extra_frame_info):
1767 frame.h:
1768 a29k-tdep.c (init_extra_frame_info):
1769 config/a29k/tm-a29k.h:
1770 i386-tdep.c:
1771 Change all references to get_prev_frame_info to get_prev_frame.
1772
17731999-04-02 Stan Shebs <shebs@andros.cygnus.com>
1774
1775 * bcache.c, bcache.h, breakpoint.c, defs.h, expprint.c,
1776 expression.h, gdbarch.c, gdbtypes.c, gdbtypes.h, gnu-nat.c,
1777 gnu-nat.h, hppa-tdep.c, maint.c, monitor.c, objfiles.h, parse.c,
1778 remote-mips.c, remote-sds.c, remote.c, sol-thread.c, symmisc.c,
1779 symtab.h, target.c, top.c, typeprint.c, config/nm-gnu.h: Evaporate
1780 the unused MAINTENANCE_CMDS conditional.
1781
17821999-04-02 James Ingham <jingham@cygnus.com>
1783
1784 * config/arm/tm-arm.h: (EXTRACT_STRUCT_VALUE_ADDRESS): This needs
1785 to call extract_address, not just cast the first 4 bytes, since
1786 the result will be passed to value_at which expects host-byte
1787 order.
1788
1789 * arm-tdep.c (arm_scan_prologue): The prologue_start address was
1790 directly &'ed with 0x03fffffc, rather than using
1791 ADDR_BITS_REMOVE. This would cause inferior function calls to
1792 report the stack incorrectly on return.
1793
1794
17951999-04-02 Keith Seitz <keiths@cygnus.com>
1796
1797 * top.c (ui_loop_hook): Change declaration. Now returns an int.
1798 * win32-nat.c (child_wait): Timeout WaitForDebugEvent and call
1799 the ui_loop_hook if there was no debug event.
1800 * top.c (ui_loop_hook): Change to return an int and include
1801 on all non-Cygwin builds.
1802 * v850ice.c: Change prototype of ui_loop_hook.
1803 (v850ice_wait): Update call to ui_loop_hook.
1804 * ser-unix.c (hardwire_readchar): Enable ui_loop_hook callbacks
1805 for non-Cygwin builds. Check return status of ui_loop_hook and
1806 return a timeout if told to detach. Add more documentation.
1807 * ser-tcp.c (tcp_readchar): Break up timeouts into one second
1808 intervals and call ui_loop_hook so that other UIs can
1809 keep up to date. If ui_loop_hook returns non-zero, then
1810 return SERIAL_TIMEOUT to facilitate detaching from the
1811 target.
1812 * remote.c (remote_interrupted_already): Remove.
1813 (remote_interrupt_twice): Revive.
1814 (remote_interrupt): Call remote_stop to interrupt the target
1815 and install remote_interrupt_twice to take more severe
1816 actions if this fails.
1817 (remote_stop): Only attempt to stop the target. This separates
1818 the command line from other UIs.
1819 * remote-sim.c (gdb_os_poll_quit): Add a call to ui_loop_hook,
1820 if it is defined.
1821
c906108c
SS
18221999-04-01 Jim Blandy <jimb@zwingli.cygnus.com>
1823
1824 Fix for cross-debugging on an AIX host from Johanna Svenningsson:
1825 * ax-gdb.h (enum axs_lvalue_kind): Remove trailing comma from enum.
7a292a7a 1826 * ax.h (enum agent_op): Same.
c906108c
SS
1827 * tracepoint.h (enum actionline_type): Same.
1828 * config/xm-aix4.h: Add declaration for termdef.
1829
18301999-03-31 Stan Shebs <shebs@andros.cygnus.com>
1831
1832 * jv-lang.h (dynamics_objfile): Remove decl, conflicts with static
1833 decl in jv-lang.c.
1834
7a292a7a
SS
1835 * infrun.c (follow_inferior_fork): Add ifdefs around
1836 SOLIB_REMOVE_INFERIOR_HOOK.
c906108c 1837
7a292a7a 1838Wed Mar 31 11:39:49 1999 David Taylor <taylor@ryobi.cygnus.com>
c906108c
SS
1839
1840 * valops.c (search_struct_field): revert HP merge change
1841 to this function -- it causes messages to be printed about
1842 member class ambiguity when the compiler is happy.
1843 (search_struct_field_aux): delete -- added as part of HP merge
1844 change; with aforementioned change it is no longer called.
1845
7a292a7a 18461999-03-30 Stan Shebs <shebs@andros.cygnus.com>
c906108c 1847
7a292a7a
SS
1848 Make more HPUX-specific code generic.
1849 * infrun.c: Include top.h.
1850 (MAY_SWITCH_FROM_INFERIOR_PID, MAY_FOLLOW_EXEC,
1851 USE_THREAD_STEP_NEEDED): New native macros.
1852 (may_switch_from_inferior_pid, may_follow_exec,
1853 use_thread_step_needed): New globals.
1854 (follow_inferior_fork): Remove HPUXHPPA ifdef.
1855 (follow_exec): Ditto, also save run target and re-push instead of
1856 always pushing child_ops, add ifdefs around SOLIB_RESTART and
1857 SOLIB_CREATE_INFERIOR_HOOK.
1858 (wait_for_inferior): Use new globals instead of ifdefing HPUXHPPA,
1859 always use printf_filtered to report new threads.
1860 (normal_stop): Ditto.
1861 * target.h, target.c (find_run_target): New function.
1862 * config/pa/nm-hppah.h: Define new macros.
c906108c 1863
7a292a7a 18641999-03-29 Stan Shebs <shebs@andros.cygnus.com>
c906108c 1865
7a292a7a
SS
1866 * top.h: Include setjmp.h here.
1867 * main.c, top.c: Don't include it here.
c906108c 1868
7a292a7a 18691999-03-29 Keith Seitz <keiths@cygnus.com>
c906108c 1870
7a292a7a
SS
1871 * symtab.c (decode_line_1): Take out change which breaks symbols
1872 which include class names and methods, e.g., "Foo::bar".
1873
18741999-03-26 Stan Shebs <shebs@andros.cygnus.com>
1875
1876 * configure.tgt (i[3456]86-*-sysv4.2MP, i[3456]86-*-sysv4.2uw2*):
1877 Recognize both, as i[3456]86-*-sysv4.2*.
1878 (i[3456]86-*-sysv5*): Recognize.
1879
1880 * infrun.c (wait_for_inferior): Remove most #if 0 segments.
1881
1882Fri Mar 26 17:27:27 1999 Andrew Cagney <cagney@b1.cygnus.com>
1883
1884 * blockframe.c (pc_in_call_dummy_on_stack): Fix. Had copied code
1885 from at_entry_point.
1886
1887Thu Mar 25 19:30:02 1999 Andrew Cagney <cagney@amy.cygnus.com>
1888
1889 * gdbarch.c: Include all headers.
0f71a2f6
JM
1890 (struct gdbarch), gdbarch.h (CALL_DUMMY_LOCATION,
1891 CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET,
1892 CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LENGTH,
1893 PC_IN_CALL_DUMMY): Add ``call_dummy_location'',
1894 ``call_dummy_length'', ``pc_in_call_dummy'',
1895 ``call_dummy_start_offset'', ``call_dummy_breakpoint_offset'' to
1896 multi-arch framework.
7a292a7a
SS
1897
1898 * inferior.h, blockframe.c (pc_in_call_dummy_before_text_end,
1899 pc_in_call_dummy_after_text_end, pc_in_call_dummy_on_stack,
1900 pc_in_call_dummy_at_entry_point): Convert PC_IN_CALL_DUMMY macro's
1901 into functions.
1902
1903Tue Mar 23 17:22:57 1999 Philippe De Muyter <phdm@macqel.be>
1904
1905 * remote.c, parse.c: Include ctype.h.
c906108c
SS
1906
19071999-03-24 Stan Shebs <shebs@andros.cygnus.com>
1908
7a292a7a 1909 * configure.host (mips-dec-mach3*): Use mipsm3 not mach3.
c906108c
SS
1910
1911 Attempt to sort out SCO-related configs.
1912 * configure.host (i[3456]86-*-sysv4.2*): Use instead of
1913 i[3456]86-*-sysv4.2MP and i[3456]86-*-sysv4.2uw2*.
1914 (i[3456]86-*-sysv5*): Recognize.
1915 * configure.tgt (i[3456]86-*-sco3.2v5*, i[3456]86-*-sco3.2v4*):
1916 Recognize.
1917
7a292a7a
SS
1918Wed Mar 24 16:19:01 1999 Christopher Faylor <cgf@cygnus.com>
1919
1920 * MAINTAINERS: Add DJ Delorie (dj@cygnus.com) as the djgpp
1921 maintainer.
1922
1923Wed Mar 24 21:19:57 1999 Andrew Cagney <cagney@amy.cygnus.com>
1924
1925 * target.h (enum target_signal): Do not hardwire values of MACH
1926 signals.
1927
19281999-03-14 Ken Raeburn <raeburn@raeburn.org>
1929
1930 * target.h (enum target_signal): Add TARGET_SIGNAL_INFO.
1931 * target.c (signals): Add SIGINFO description.
1932 (target_signal_from_host, target_signal_to_host): Translate
1933 SIGINFO to/from TARGET_SIGNAL_INFO.
1934
c906108c
SS
1935Wed Mar 24 01:01:27 1999 Andrew Cagney <cagney@sludge.cygnus.com>
1936
1937 * rs6000-tdep.c (rs6000_software_single_step): Change SIGNAL to
1938 unsigned int.
1939
7a292a7a 1940 From Rodney Brown <rodneybrown@pmsc.com>
c906108c
SS
1941 * target.h (enum thread_control_capabilities), breakpoint.h (enum
1942 bptype), breakpoint.c (enum insertion_state_t): Strict ISO-C
1943 doesn't allow trailing comma in enum definition.
1944
7a292a7a 1945Mon Mar 22 15:56:04 1999 Andrew Cagney <cagney@b1.cygnus.com>
c906108c 1946
7a292a7a
SS
1947 * blockframe.c (inside_entry_file, inside_entry_func): Convert #if
1948 CALL_DUMMY_LOCATION to if.
1949 * valops.c (call_function_by_hand): Ditto.
1950 * infcmd.c (run_stack_dummy): Ditto.
1951 * inferior.h (CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET,
1952 CALL_DUMMY_BREAKPOINT_OFFSET): Provide default.
c906108c 1953
7a292a7a 19541999-03-23 Jason Molenda (jsm@bugshack.cygnus.com)
c906108c 1955
7a292a7a
SS
1956 * hppa-tdep.c (pa_register_look_aside): Remove CPU_HPPA_RISC_20
1957 check, test for presence of struct save_state_t and the ss_wide
1958 member directly.
1959 * configure.in: Remove CPU_HPPA_RISC_20 test. Add tests for
1960 HAVE_STRUCT_SAVE_STATE_T and HAVE_STRUCT_MEMBER_SS_WIDE.
1961 * acconfig.h: Add HAVE_STRUCT_SAVE_STATE_T HAVE_STRUCT_MEMBER_SS_WIDE.
1962 * configure, config.in: Regenerated.
c906108c
SS
1963
1964Mon Mar 22 13:25:13 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
1965
1966 * infttrace.c (proc_wait): rename to ptrace_wait.
1967
7a292a7a
SS
19681999-03-18 Jim Blandy <jimb@zwingli.cygnus.com>
1969
1970 * dwarf2read.c: Correctly recognize location expressions that
1971 designate LOC_REF_ARG arguments. Doc fixes.
1972 (isderef): New global. (Yuck.)
1973 (dwarf2_complex_location_expr): New complaint.
1974 (read_func_scope): Reject frame_base attributes that use the
1975 `deref' opcode as too complex.
1976 (new_symbol): If both regoff and isderef are set, and the base
1977 register is the frame pointer, then it's a LOC_REF_ARG argument.
1978 (decode_locdesc): Recognize the `deref' opcode in location
1979 expressions. Complain if it's not the last op in the expression.
1980
1981 * config/fr30/tm-fr30.h (COERCE_FLOAT_TO_DOUBLE): #define this to
1982 be true, or else value_arg_coere won't respect the (accurate)
1983 information we have about whether a function is prototyped.
1984
19851999-03-17 Jim Blandy <jimb@zwingli.cygnus.com>
1986
1987 * config/fr30/tm-fr30.h (STACK_ALIGN): Define this here, so
1988 calling functions by hand with odd-sized arguments doesn't munge
1989 the stack.
1990
c906108c
SS
19911999-03-17 Jason Molenda (jsm@bugshack.cygnus.com)
1992
1993 * configure.in (HAVE_MULTIPLE_PROC_FDS): Don't define for Solaris
1994 hosts--gdb doesn't support this yet.
1995 * configure: Regenerated.
1996
7a292a7a
SS
19971999-03-16 Keith Seitz <keiths@cygnus.com>
1998
1999 * remote.c (remote_binary_checked): New file global.
2000 (check_binary_download): New function to check if
2001 stub supports binary downloading that works with
2002 stubs that are not eight bit clean.
2003 (remote_write_bytes): Check for binary download capability
2004 and use it if available.
2005 Remove references to global remote_binary_length. What a hack.
2006 (putpkt_binary): New function.
2007 (putpkt): Call putpkt_binary.
2008 Use xor to escape trouble characters.
2009 * m32r-stub.c (bin2mem): Follow escape char convention change.
2010
c906108c
SS
2011Tue Mar 16 01:11:33 1999 Andrew Cagney <cagney@rhino.cygnus.com>
2012
2013 * target.h (struct target_ops), target.c (debug_to_query),
2014 remote.c (pack_hex_byte, remote_query): Promote char parameters to
2015 int. Stops compile problems with pedantic ISO-C compilers.
7a292a7a 2016
c906108c
SS
2017Tue Mar 16 15:29:04 1999 Stan Shebs <shebs@andros.cygnus.com>
2018
7a292a7a
SS
2019 * go32-xdep.c: Remove, no longer used by anything.
2020 * Makefile.in: Remove references.
2021
c906108c
SS
2022 * jv-lang.c, jv-lang.h (java_primitive_type): Declare argument
2023 as int instead of char.
2024
7a292a7a 2025Mon Mar 15 11:42:43 1999 Andrew Cagney <cagney@b1.cygnus.com>
c906108c 2026
7a292a7a
SS
2027 * d10v-tdep.c (push_stack_item, pop_stack_item): New function.
2028 (d10v_push_arguments): Use.
c906108c 2029
7a292a7a
SS
2030 From Martin M. Hunt <hunt@cygnus.com>:
2031 * d10v-tdep.c (d10v_push_arguments): When arguments
2032 must be pushed onto the stack, they go on in
2033 reverse order.
c906108c 2034
7a292a7a
SS
20351999-03-16 Jim Blandy <jimb@zwingli.cygnus.com>
2036
2037 * symtab.c (make_symbol_overload_list): Don't try to stuff minimal
2038 or partial symbols into the overload list; we don't know their
2039 types. (Thanks to Rajiv Mirani.)
2040
20411999-03-15 Jason Molenda (jsm@bugshack.cygnus.com)
2042
2043 * acinclude.m4 (--with-itclconfig, --with-itkconfig, --with-tixconfig):
2044 Fix whitespace so --help messages line up.
2045 * configure.in (--with-cpu): Fix capitalization for --help messages.
2046 * configure, aclocal.m4: Regenerated.
2047
2048Mon Mar 15 11:39:03 1999 Ian Carmichael <iancarm@cygnus.com>
2049
2050 Support building gdb w/o simulator:
2051 * configure.in: Support --disable-sim. Check for sim directory.
2052 * Makefile.in (IGNORE_SIM, IGNORE_SIM_OBS): New.
2053 * acconfig.h (WITH_SIM): Define.
2054 * configure, config.in: Regenerate.
2055
2056Mon Mar 15 08:01:33 1999 Elena Zannoni <ezannoni@cygnus.com>
2057
2058 Patch from Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
2059
2060 * top.c (read_command_lines): Reset control_level to 0.
2061 (define_command): Don't do it here.
2062
2063Sun Mar 14 16:12:15 1999 Andrew Cagney <cagney@rhino.cygnus.com>
2064
2065 * hppah-nat.c (store_inferior_registers): Delete extern
2066 registers[] declaration.
2067
2068Sun Mar 14 19:17:30 1999 Andrew Cagney <cagney@b1.cygnus.com>
2069
2070 * infrun.c (write_inferior_status_register): New function. Provide
2071 update access to an inf_status register buffer. Only used by HP.
2072 * inferior.h (write_inferior_status_register): Add prototype.
2073
2074 * hppa-tdep.c (push_dummy_frame): Use
2075 write_inferior_status_register when hacking around a sleeping
2076 inferior. Accidently fix byte-order problem.
2077
2078Sun Mar 14 16:40:10 1999 Andrew Cagney <cagney@b1.cygnus.com>
2079
2080 * config/pa/tm-hppa.h (PUSH_DUMMY_FRAME): Fix parameter. Address
2081 not needed.
2082
2083Fri Mar 12 13:11:48 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
2084
2085 * remote.c (remote_write_bytes): fix 'X' packet protocol so that it
2086 can't overwrite the end of its buffer with escaped characters.
c906108c
SS
2087
20881999-03-12 Jim Blandy <jimb@zwingli.cygnus.com>
2089
7a292a7a 2090 Alpha patches from Richard Henderson:
c906108c 2091
7a292a7a 2092 * alpha-tdep.c (alpha_skip_prologue): Recognize subq.
c906108c 2093
7a292a7a
SS
2094 * config/alpha/tm-alpha.h (REGISTER_NAMES): No f31, but fpcr.
2095 (FPCR_REGNUM): New.
2096 (REGISTER_CONVERTIBLE): Don't convert fpcr.
2097 (REGISTER_VIRTUAL_TYPE): Don't make fpcr a double.
c906108c 2098
7a292a7a
SS
2099 * stabsread.c (define_symbol): Only consider live range extension
2100 if we have an open parenthesis.
c906108c 2101
7a292a7a
SS
21021999-03-11 Jim Blandy <jimb@zwingli.cygnus.com>
2103
2104 * monitor.c (monitor_fetch_register): Print RDEBUG info correctly
2105 when the register name is null.
2106
2107Thu Mar 11 19:33:07 1999 Stan Shebs <shebs@andros.cygnus.com>
2108
2109 * infrun.c (wait_for_inferior): Change #if DECR_PC_AFTER_BREAK
2110 uses to expressions, remove redundant extern decls.
2111
2112Thu Mar 11 18:05:11 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
c906108c
SS
2113
2114 * infptrace.c (proc_wait): Rename to ptrace_wait.
2115 * inftarg.c (child_wait): call ptrace_wait instead of proc_wait.
2116 * inferior.h: Declare ptrace_wait instead of proc_wait.
2117
7a292a7a
SS
2118Thu Mar 11 11:46:25 1999 Andrew Cagney <cagney@amy.cygnus.com>
2119
2120 * breakpoint.c (create_solib_load_unload_event_breakpoint,
2121 create_fork_vfork_event_catchpoint, tcatch_command,
2122 create_exception_catchpoint, break_at_finish_at_depth_command_1,
2123 catch_fork_command_1, ep_skip_leading_whitespace,
2124 break_at_finish_command_1, catch_exec_command_1,
2125 catch_exception_command_1, stop_command, stopin_command,
2126 stopat_command, ep_parse_optional_filename,
2127 ep_find_event_name_end, ep_parse_optional_if_clause,
2128 catch_fork_command_1), stack.c (show_and_print_stack_frame_stub,
2129 print_stack_frame_stub, print_only_stack_frame_stub,
2130 backtrace_command_1, backtrace_full_command, func_command),
2131 valprint.c (print_decimal), source.c (print_source_lines_base):
2132 Add prototype.
2133
2134 * stack.c (print_stack_frame_stub, show_and_print_stack_frame_stub,
2135 print_only_stack_frame_stub): Make param void*.
2136
2137Wed Mar 10 19:33:28 1999 Geoffrey Noer <noer@cygnus.com>
2138
2139 * win32-nat.c: If old Cygwin Win32 API headers aren't being used,
2140 define some gdb-specific defines that shouldn't have been in the
2141 global headers.
2142
2143Wed Mar 10 21:20:25 1999 Andrew Cagney <cagney@b1.cygnus.com>
2144
2145 * findvar.c (registers, register_valid): Replace array with pointer.
2146 (build_findvar): New function. Allocate space for REGISTERS and
2147 REGISTER_VALID.
2148 (_initialize_findvar): Call build_findvar.
0f71a2f6
JM
2149 (_initialize_findvar): Register REGISTERS and REGISTER_VALID as
2150 arch dependant.
7a292a7a
SS
2151
2152 * inferior.h (registers, register_valid): Replace array with
2153 pointer.
2154
2155 * inferior.h (struct inferior_status): Move definition from here.
2156
2157 * infrun.c (struct inferior_status): To here.
2158 (struct inferior_status): Change ``stop_registers'' and
2159 ``registers'' to pointers.
2160 (xmalloc_inferior_status, free_inferior_status): New functions.
2161 (restore_inferior_status): Call free_inferior_status.
2162 (save_inferior_status): Call xmalloc_inferior_status.
2163 (discard_inferior_status): New function, discard inf_status
2164 buffer. Call free_inferior_status.
2165
2166 * inferior.h (stop_registers): Replace array with pointer.
2167 * infrun.c (stop_registers): Update.
2168 (build_infrun): Initialize stop_registers.
2169 (_initialize_infrun): Call build_infrun.
0f71a2f6 2170 (_initialize_infrun): Register ``stop_registers'' as arch dependant.
7a292a7a
SS
2171
2172Wed Mar 10 14:50:42 1999 Andrew Cagney <cagney@amy.cygnus.com>
2173
2174 * alpha-tdep.c (alpha_linux_sigtramp_offset): Only compile when
2175 LINUXALPHA target. Hack.
2176
2177 * infrun.c (set_follow_fork_mode_command): Make static. Add
2178 prototype.
2179 * tracepoint.c (add_register): Ditto.
2180 * valprint.c (strcat_longest): Comment out. Does not appear to be
2181 used.
2182 * valops.c (find_method_list): Make static. Add prototype.
2183 * thread.c (target_find_new_threads): Make static. Add prototype.
2184 * stack.c (stack_publish_stopped_with_no_frame,
2185 select_and_maybe_print_frame): Comment out. Does not appear to be
2186 used.
2187 (current_frame_command): Add prototype.
2188 * breakpoint.c (break_at_finish_command,
2189 break_at_finish_at_depth_command, tbreak_at_finish_command): Make
2190 static. Add prototype.
2191 * findvar.c (read_relative_register_raw_bytes_for_frame): Ditto.
2192
2193Wed Mar 10 23:38:54 1999 Andrew Cagney <cagney@b1.cygnus.com>
2194
2195 * corefile.c (registers): Delete redundant variable declaration.
2196 * inferior.h (run_stack_dummy): Change array argument to pointer.
2197 * infcmd.c (run_stack_dummy): Update.
2198 * value.h (value_being_returned): Change RETBUF to a pointer.
2199 * values.c (value_being_returned): Update.
2200
2201Wed Mar 10 11:08:16 1999 Andrew Cagney <cagney@amy.cygnus.com>
2202
2203 * source.c (list_command): GCC suggested explicit braces to avoid
2204 ambiguous `else'.
2205
2206 * jv-typeprint.c: Include "c-lang.h".
2207 * Makefile.in (jv-typeprint.o): Add dependency.
2208 * jv-valprint.c: Include "gdbcore.h", "annotate.h".
2209 * Makefile.in (jv-valprint.o): Add dependencies.
2210 * objfiles.c: Include "breakpoint.h".
2211 * Makefile.in (objfiles.o): Add dependency.
2212 * main.c: Include <unistd.h>.
2213 * parse.c: Include <ctype.h>.
2214 * remote.c: Include <ctype.h>.
2215 * ser-tcp.c: Include <unistd.h>.
2216 * ax-general.c: Include "value.h".
2217 * Makefile.in (ax-general.o): Add dependency.
2218
2219 * alpha-tdep.c (alpha_push_arguments): Make ``i'' an int instead
2220 of a register.
2221 * frame.h (show_and_print_stack_frame): Add function prototype.
2222 * language.h (language_enum): Add function prototype.
2223 * value.h (find_overload_match): Add function prototype.
2224
2225 * defs.h, utils.c (subset_compare): Rename subsetCompare. Add
2226 prototype.
2227 * stack.c (backtrace_command): Update.
2228
2229Wed Mar 10 13:58:36 1999 Andrew Cagney <cagney@b1.cygnus.com>
2230
2231 * configure.in (AC_CHECK_HEADERS): Check for <sys/select.h>
2232 * configure, config.in: Re-generate.
2233 * inflow.c: Conditionally include <sys/select.h>.
2234
2235Wed Mar 10 13:44:38 1999 Andrew Cagney <cagney@b1.cygnus.com>
2236
2237 * frame.h (struct dummy_frame): Move from here.
2238 * blockframe.c (struct dummy_frame): To here.
2239
2240 * blockframe.c (struct dummy_frame): Replace ``regs'' with pointer
2241 ``registers''.
2242 (generic_pop_dummy_frame): Free it.
2243 (generic_push_dummy_frame): Allocate dummy frame register buffer.
2244
2245Wed Mar 10 11:08:16 1999 Andrew Cagney <cagney@amy.cygnus.com>
2246
2247 * thread.c (_initialize_thread): Delete redundant ``extern struct
2248 cmd_list_element *cmdlist''.
2249 * printcmd.c (print_command_1): Ditto for ``objectprint'';
2250
22511999-03-09 Stan Shebs <shebs@andros.cygnus.com>
2252
2253 * MAINTAINERS: New file, list of maintainers and areas they
2254 maintain.
c906108c
SS
2255
22561999-03-09 Rodney Brown <RodneyBrown@pmsc.com>
2257
2258 Get working on UnixWare 2.1.1.
2259 * acconfig.h: Update for defines for procfs.c.
2260 * configure.in: Identify defines for procfs.c.
2261 * configure.host: i386-*-sysv4.2uw2* => i386v42mp
2262 * configure.tgt: i386-*-sysv4.2uw2* => i386v42mp
2263 * configure, config.in: Regenerate.
2264 * procfs.c: Rename HAVE_NO_PRRUN_T to HAVE_PRRUN_T (autoconf
2265 standard), wrap UNIXWARE difference in THE_PR_LWP macro for
2266 legibility.
2267 * config/i386/tm-i386v42mp.h: Remove HAVE_PSTATUS_T,
2268 HAVE_NO_PRRUN_T; now set by configure.
2269
7a292a7a
SS
2270Tue Mar 9 16:29:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
2271
2272 * i386-tdep.c (gdb_print_insn_i386): Abort when disassembly_flavor
2273 undefined..
2274
2275 * fr30-tdep.c (_initialize_fr30_tdep): Add prototype. Fix
2276 coding style.
2277
2278 * target.c (debug_to_enable_exception_callback,
2279 debug_to_get_current_exception_event): Return result of call to
2280 debug_target().
2281
22821999-03-09 Jim Blandy <jimb@zwingli.cygnus.com>
2283
2284 Another HURD fix from Mark Kettenis:
2285 * gnu-nat.c: Include <string.h>. Remove declaration of strerror.
2286 Include <bits/waitflags.h> instead of <waitflags.h> and define
2287 _SYS_WAIT_H to prevent the warning that we should not include it.
2288 (gnu_create_inferior): Change return type of attach_to_child to
2289 void. Do not return INFERIOR_PID.
2290 (gnu_pid_to_exec_file): Change return type to char *.
2291 Return NULL.
2292
2293 Fix for the HURD from Mark Kettenis:
2294 * configure.in: Add AC_PROG_AWK. Needed by the machine-dependent
2295 makefile fragments for the Hurd.
2296 * Makefile.in (AWK): Add. Set by configure.
2297 * configure: Regenerated.
2298
22991999-03-08 Jason Molenda (jsm@bugshack.cygnus.com)
2300
2301 * infttrace.c (hppa_get_process_events): Removed. Function only
2302 usable on HPUX 10 and above. It is not called by any other part
2303 of GDB.
2304 * hppah-nat.c (hppa_get_process_events): Ditto.
2305 (child_pid_to_exec_file): Only call ptrace with
2306 PT_GET_PROCESS_PATHNAME if that symbol has been defined.
2307 * config/pa/nm-hppah.h: Don't set up prototypes et al for
2308 hppa_get_process_events.
2309
2310 * config/pa/hppahpux.mh (TERM_LIB): Do not initialize, let autoconf
2311 determine best library automatically.
2312 * config/pa/hpux1020.mh: Ditto.
2313 * config/pa/hpux1100.mh: Ditto.
2314 * configure.in (TERM_LIB): Also check for libHcurses.
2315 * configure: Regenerated.
2316
2317Thu Mar 4 17:16:04 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
2318
2319 * m32r-stub.c: add support for crc "Compare" command.
2320
c906108c
SS
23211999-03-04 Jim Blandy <jimb@zwingli.cygnus.com>
2322
7a292a7a
SS
2323 * fr30-tdep.c (fr30_store_return_value): Allocate zeroes
2324 dynamically, to save BSS space, and to remove assumptions about
2325 the size of the largest value we'll return.
2326
2327 * config/fr30/tm-fr30.h (fr30_store_return_value): Use PARAMS in
2328 prototype.
2329
2330Thu Mar 4 08:37:35 1999 Andrew Cagney <cagney@b1.cygnus.com>
2331
2332 * sh3-rom.c (sh3_supply_register, sh3_supply_register),
2333 mips-tdep.c (mips_push_arguments), m32r-rom.c
2334 (m32r_upload_command), m32r-tdep.c (decode_prologue), monitor.c
2335 (longlong_hexchars), tracepoint.c (validate_actionline,
2336 read_actions), mdebugread.c
2337 (parse_symbol), jv-typeprint.c
2338 (java_type_print_base, java_type_print_base), mdebugread.c
2339 (parse_symbol), top.c (source_command), utils.c
2340 (floatformat_to_doublest): GCC suggest explicit braces to avoid
2341 ambiguous `else'.
c906108c 2342
7a292a7a
SS
2343 * tracepoint.c (map_args_over_tracepoints, trace_actions_command),
2344 m32r-rom.c (m32r_supply_register), win32-nat.c
2345 (handle_output_debug_string, child_continue), i960-tdep.c
2346 (pop_frame), m32r-rom.c (m32r_upload_command): GCC suggested
2347 parentheses around assignment used as truth value.
2348
2349 * remote-sds.c (sds_wait), monitor.c (monitor_fetch_register),
2350 ser-e7kpc.c, (dosasync_write), arc-tdep.c (arc_get_frame_setup):
2351 GCC suggested parentheses around operands.
2352
2353 * c-typeprint.c (c_type_print_base): GCC suggested enclosing
2354 "while" expression in paren.
2355
2356Wed Mar 3 18:14:33 1999 Andrew Cagney <cagney@chook.cygnus.com>
2357
2358 * sol-thread.c (save_inferior_pid): Cast the saved pid to void*.
2359 (restore_inferior_pid): Takes void* as required by make_cleanup.
2360 Casts pid back to an int.
2361
2362 * procfs.c (make_cleanup_close_proc_file,
2363 close_proc_file_cleanup): Create a proc_file cleanup.
2364 (info_proc): Use.
2365
2366 * defs.h (make_cleanup_freeargv): Helper function. Establish
2367 cleanup using freeargv. Can not just typecast/pass freeargv as it
2368 violates ISO-C.
2369 * utils.c (do_freeargv): Helper.
2370 (make_cleanup_freeargv): New function.
2371
2372 * symmisc.c (maintenance_print_symbols,
2373 maintenance_print_psymbols, maintenance_print_msymbols), symfile.c
2374 (symbol_file_command), stack.c (backtrace_command), remote-sim.c
2375 (gdbsim_create_inferior, gdbsim_open), remote-mips.c
2376 (common_open), procfs.c (info_proc), infrun.c (handle_command,
2377 xdb_handle_command), exec.c (exec_file_attach): Call
2378 make_cleanup_freeargv.
2379
23801999-03-03 James Ingham <jingham@cygnus.com>
2381
2382 * i386-tdep.c (_initialize_i386_tdep): Set the inital value for
2383 disassembly flavor at startup, rather than hardcoding it.
2384
23851999-03-03 Jim Blandy <jimb@zwingli.cygnus.com>
2386
2387 Put return values in the right place.
2388 * fr30-tdep.c (fr30_store_return_value): New function.
2389 * config/fr30/tm-fr30.h (STORE_RETURN_VALUE): Call
2390 fr30_store_return_value.
2391
2392Wed Mar 3 18:10:55 1999 Andrew Cagney <cagney@chook.cygnus.com>
2393
2394 * gdbtypes.c (virtual_base_list_aux): Return void. Add prototype.
2395
2396 * breakpoint.c (map_catch_names): Comment out unused function.
2397
23981999-03-02 Jason Molenda (jsm@bugshack.cygnus.com)
2399
2400 * hppa-tdep.c (pa_register_look_aside): Only refer to save_state_t
2401 structure on PA 2.0 systems.
2402
24031999-03-02 Stan Shebs <shebs@andros.cygnus.com>
2404
2405 From Gary Thomas <gthomas@cygnus.co.uk>:
2406 * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT,
2407 THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Use illegal instruction
2408 instead of SWI 24.
2409 * config/arm/tm-arm.h (CALL_DUMMY): Ditto.
2410 (IN_SIGTRAMP): Define.
2411
24121999-03-02 Nick Clifton <nickc@cygnus.com>
2413
2414 * findvar.c (store_address): Delete incorrect big endian
2415 code.
2416
2417Tue Mar 2 18:02:42 1999 Andrew Cagney <cagney@chook>
2418
2419 * configure.in (gdb_cv_os_cygwin): Compat. Continue to reconize
2420 __CYGWIN32__.
2421
24221999-03-01 Jason Molenda (jsm@bugshack.cygnus.com)
2423
2424 * configure.in: Move setting of gdb_cv_os_cygwin to before
2425 setting of TERM_LIB. Check for __CYGWIN__ instead of __CYGWIN32__.
2426 * configure: Regenerated.
2427
24281999-03-01 DJ Delorie <dj@cygnus.com>
2429
2430 * configure.in: Change -cygwin32* to -cygwin*.
2431 * configure: Ditto.
2432
24331999-02-25 Stan Shebs <shebs@andros.cygnus.com>
2434
2435 * breakpoint.c (SOLIB_LOADED_LIBRARY_PATHNAME,
2436 SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_CREATE_CATCH_LOAD_HOOK,
2437 SOLIB_CREATE_CATCH_UNLOAD_HOOK): Supply default definitions.
2438 * infrun.c (SOLIB_IN_DYNAMIC_LINKER): Ditto.
2439
24401999-02-25 Keith Seitz <keiths@cygnus.com>
2441
2442 * corelow.c (core_close): Clear out solib state before
2443 closing the bfd associated with the core file.
2444 * solib.c (clear_solib): Mention that clear_solib requires
2445 an open BFD in order for disable_breakpoints_in_shlibs to
2446 determine whether breakpoints live in shared libraries.
2447
24481999-02-24 Jason Molenda (jsm@bugshack.cygnus.com)
c906108c
SS
2449
2450 * configure.in: Set CPU_HPPA_RISC_20 if the host CPU is a PA 2.0
2451 processor.
2452 * acconfig.h: Add CPU_HPPA_RISC_20
2453 * config.in, configure: Regenerated.
2454 * hppa-tdep.c (pa_register_look_aside): Only refer to new
2455 structure elements if we are on a PA2.0 system.
2456 * defs.h: Include limits.h.
2457
7a292a7a
SS
2458Tue Feb 23 14:37:08 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
2459
2460 * infrun.c (wait_for_inferior): Check scheduler_locking state
2461 before resuming after a thread-specific breakpoint.
2462
24631999-02-23 Jim Blandy <jimb@zwingli.cygnus.com>
2464
2465 * aclocal.m4, config.in, configure: Regenerated with latest
2466 autotools.
2467
2468Mon Feb 22 12:32:19 1999 Per Bothner <bothner@cygnus.com>
2469
2470 * jv-valprint.c (java_val_print): Restore line that somehow got lost.
2471
2472 * jv-valprint.c (java_print_value_fields): Check for NULL type.
2473
24741999-02-21 Jim Blandy <jimb@zwingli.cygnus.com>
2475
2476 * tm-h8500.h, i386lynx-nat.c: Removed. These files are long
2477 dead; it seems that they only appeared due to some CVS weirdness.
2478 If they appear again, we may need to distribute garlic and holy
2479 water.
2480
24811999-02-19 Jason Molenda (jsm@bugshack.cygnus.com)
2482
2483 * configure.in (TERM_LIB): Move checking for TERM_LIB, substituting.
2484 * configure: Regenerated.
2485
24861999-02-19 Robert Hoehne (robert.hoehne@gmx.net)
2487
2488 * configure.host (i[3456]86-*-msdosdjgpp*): New host.
2489 * configure.tgt (i[3456]86-*-msdosdjgpp*): New target.
2490 * go32-nat.c: New file, native DJGPP support.
2491 * config/i386/go32.mh: Rewrite for DJGPP (go32) host.
2492 * config/i386/go32.mt: New file, DJGPP (go32) target.
2493 * config/i386/nm-go32.h: New file.
2494 * config/i386/tm-go32.h: New file.
2495 * config/i386/xm-go32.h: Rewritten for current DJGPP.
2496
24971999-02-18 Jason Molenda (jsm@bugshack.cygnus.com)
2498
2499 * reply_mig_hack.awk, config/nm-gnu.h, config/alpha/nm-linux.h
2500 config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h
2501 config/i386/nm-i386sco5.h, config/i386/tm-fbsd.h, config/i386/tm-i386.h
2502 config/powerpc/nm-aix.h, config/powerpc/tm-macos.h
2503 config/powerpc/tm-ppc-aix.h, config/powerpc/xm-aix.h
2504 config/rs6000/tm-rs6000-aix4.h, testsuite/gdb.chill/tests1.ch
2505 testsuite/gdb.chill/tests2.ch, testsuite/gdb.chill/tests2.exp:
2506 Update FSF address in copyright notices.
2507
25081999-02-18 Jason Molenda (jsm@bugshack.cygnus.com)
2509
2510 * configure.in: Quote "$GCC" correctly.
2511 * configure: Regenerated.
2512
25131999-02-18 Jim Blandy <jimb@zwingli.cygnus.com>
2514
2515 * dbxread.c (elfstab_build_psymtabs): Don't assume that there's a
2516 section named ".text", which has all the code in it. Instead, look
2517 at all the sections in the file with the `code' flag set.
2518 (find_text_range): New function, that does all the work.
2519
2520Thu Feb 18 17:50:45 1999 Andrew Cagney <cagney@b1.cygnus.com>
2521
2522 * mips-tdep.c (FP_REGISTER_DOUBLE): Conditionally define.
2523
2524Fri Jan 29 16:51:11 1999 Andrew Cagney <cagney@chook.cygnus.com>
2525
2526 * mips-tdep.c (return_value_location): New function. Merge/rewrite
2527 of return-value code in mips_extract_return_value,
2528 mips_store_return_value. Stop buffer overflow when 64 bit value
2529 in 32 bit registers. Extract 64bit float from 32 bit register
2530 pair of correct order.
2531 (mips_extract_return_value, mips_store_return_value): Call
2532 return_value_location. For store, ensure that remainder of
2533 register is zero.
c906108c 2534
7a292a7a 2535Wed Feb 17 10:10:27 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
c906108c
SS
2536
2537 * gdbtypes.h (get_discrete_bounds): Remove duplicate decl.
2538
2539 * jv-typeprint.c (java_type_print_base): Change fputs => fputs_filtered.
2540
7a292a7a 2541Mon Jan 25 18:30:57 1999 Per Bothner <bothner@cygnus.com>
c906108c
SS
2542
2543 * jv-lang.h (JAVA_OBJECT_SIZE): Change from hard-wired constant.
2544 (java_primitive_type_from_name, get_java_object_header_size): Declare.
2545 * jv-lang.c (java_class_from_object): Use get_java_object_type.
2546 * jv-lang.c: Update Class field names: dtable->vtable,
2547 msize->method_count, nfields->field_count, bfsize->size_in_bytes,
2548 nmethods->method_count.
2549 (type_from_class): Demangle array type names.
2550 (java_link_class_type): Array type names are now demangled.
2551 (get_java_object_type): If not defined yet, try looking it up.
2552 (get_java_object_header_size): New function.
2553 (java_primitive_type_from_name): New function.
2554 (java_demangled_signature_length, java_demangled_signature_copy): New.
2555 (java_demangle_type_signature): Re-implement using above functions.
2556 (evaluate_subexp_java): For UNOP_IND, call evaluate_subexp_java
2557 to evaluate subexp (not evaluate_subexp_standard).
2558 For BINOP_SUBSCRIPT update for new array type naming scheme.
2559 * jv-valprint.c (java_value_print): Use java_class_from_object.
2560 Update array printing to new array type naming convention.
2561 (java_val_print): Doing check_typedef when printing a pointer is
2562 is a waste of effort. Also, handle TYPE_CODE_INT, to make sure
2563 Java bytes as not printed as C chars.
2564
7a292a7a 2565Fri Jan 8 16:58:22 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
c906108c
SS
2566
2567 * blockframe.c (find_pc_sect_partial_function): Search full symtabs as
2568 a last ditch effort (after the partial & minimal symtabs).
2569 * defs.h utils.c: Fixup prototypes for vprintf_filtered,
2570 vfprintf_filtered, vfprintf_unfiltered and vprintf_unfiltered to return
2571 ints to match their standard equivalents.
2572 * defs.h symtab.c top.c: Create skip_prologue_hook to allow Java to
2573 control the prologue skipping process.
2574 * jv-typeprint.c (java_type_print_base): Remove extern for
2575 jv_class_demangle, add new arg for objfile (NULL).
2576 * symtab.h: Remove struct sourcevector and struct source. Definately
2577 not needed.
2578 * values.c (value_virtual_fn_field): Fixes code to handle new vtable
2579 debug info format. Patch from marka.
2580
7a292a7a 2581Wed Dec 16 23:11:25 1998 Stu Grossman <grossman@fencer.cygnus.com>
c906108c
SS
2582
2583 * jv-lang.c (java_class_from_object java_class_is_primitive
2584 is_object_type): Change dtable to vtable.
2585 * (java_primitive_type): Change arg to type char.
2586 * (_initialize_java_language): Make java_char_type be unsigned.
2587 * jv-lang.h: Fixup prototypes.
2588
7a292a7a 2589Mon Dec 7 19:02:15 1998 Stu Grossman <grossman@babylon-5.cygnus.com>
c906108c
SS
2590
2591 * jv-valprint.c (java_value_print): Fix printing of values where
2592 run time type != compile time type.
2593
7a292a7a
SS
2594Fri Dec 4 15:23:38 1998 Stu Grossman <grossman@fencer.cygnus.com>
2595
c906108c
SS
2596 * Makefile.in: Whack out m2-typeprint.c.
2597 * c-typeprint.c (c_type_print_varspec_suffix) typeprint.h: Make this
2598 global. It's needed by Java.
2599 * (c_type_print_base): Whack prefix off of qualified method names
2600 (names with name spaces).
2601 * gdbtypes.h (struct cplus_struct_type): Add bits for Java attributes.
2602 Shrink voffset
2603 to 16 bits to compensate for added bits above (hopefully this is still
2604 enough).
2605 * Add new accessor macros (TYPE_FND_FIELD_PUBLIC, ...) for all new
2606 attribute bits.
2607 * jv-typeprint.c (java_type_print_base): Fix printing of method
2608 attributes. Handle JVM style manglings.
2609 * (java_print_type): Enable code type print varspec_suffix to allow
2610 array indices to print out.
2611 * jv-valprint.c (java_val_print): Minor formatting.
2612 * m2-lang.c (m2_language_d): Change m2_print_type to c_print_type.
2613 * stabsread.c (read_member_functions): Save public and static attributes.
7a292a7a
SS
2614
2615Wed Feb 17 15:32:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
c906108c 2616
c906108c
SS
2617 * breakpoint.c (watch_command_1): Reformat comment.
2618
c906108c
SS
2619 * c-typeprint.c (c_type_print_base): Reformat comments.
2620
7a292a7a
SS
26211999-02-17 Jim Blandy <jimb@zwingli.cygnus.com>
2622
2623 * Makefile.in (VERSION): Bump version to 4.17.2.
2624
2625Tue Feb 16 15:48:20 1999 Edith Epstein <eepstein@sophia.cygnus.com>
2626
c906108c
SS
2627 * config/pa/nm-hppah.h: Added prototype declarations for
2628 hppa_enable_page_protection_events and
2629 hppa_disable_page_protection_events.
7a292a7a 2630
c906108c
SS
2631 * inftarg.c (child_wait): Fixed code that checks whether
2632 or not the target program has done a fork/vfork.
2633 related_pid does not have a value unless the target
2634 program has forked/vforked.
7a292a7a
SS
2635
2636 * infttrace.c (hppa_insert_hw_watchpoint): Make sure that
2637 function always returns a value.
2638 (hppa_remove_hw_watchpoint): Make sure that function always
2639 returns a value.
c906108c 2640
7a292a7a 2641Tue Feb 16 06:31:58 1999 Keith Seitz <keiths@cygnus.com>
c906108c 2642
7a292a7a
SS
2643 * config/powerpc/tm-ppc-eabi.h: Do not define PC_IN_CALL_DUMMY,
2644 let the generic call dummy infrastructure do it.
c906108c
SS
2645
2646Sun Feb 14 18:21:08 1999 Mark Alexander <marka@cygnus.com>
2647
2648 * config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that
2649 coffread.c will correctly handle char or short function parameters.
2650
26511999-02-11 Jason Molenda (jsm@bugshack.cygnus.com)
2652
2653 * configure, aclocal.m4: Regenerate with correct version of aclocal.
2654
26551999-02-10 Syd Polk <spolk@cygnus.com>
2656
2657 * acinclude.m4: Fix for new location of itclConfig.sh and itkConfig.sh.
2658 * aclocal.m4: Regnerate.
2659 * configure: Regenerate.
2660
26611999-02-10 Jason Molenda (jsm@bugshack.cygnus.com)
2662
2663 * demangle.c: Fix comments to mention "set demangle-style"
2664 instead of "set demangle".
2665 Run through indent to fix minor indenting problems.
2666
2667Wed Feb 10 17:53:09 1999 Bob Manson <manson@charmed.cygnus.com>
2668
2669 * i386-tdep.c (gdb_print_insn_i386): Add missing returns.
2670
2671Wed Feb 10 13:17:21 1999 Stan Shebs <shebs@andros.cygnus.com>
2672
2673 Declare Gould configuration obsolete:
2674 * configure.host, configure.tgt: Comment out Gould configs.
2675 * Makefile.in: Comment out Gould-related actions.
2676 * gould-xdep.c, gould-tdep.c, config/gould/*: Comment out.
2677 * NEWS: Mention obsolete status.
2678
26791999-02-09 DJ Delorie <dj@cygnus.com>
2680
2681 * sparcl-tdep.c: UDP download works in cygwin
2682
26831999-02-08 Jason Molenda (jsm@bugshack.cygnus.com)
2684
2685 * gnu-regex.c: Check ENABLE_NLS instead of HAVE_LIBINTL_H.
2686 * configure.in: Don't check for libintl.h.
2687 * configure, config.in: Regenerated.
2688
2689Mon Feb 8 18:10:50 1999 Stan Shebs <shebs@andros.cygnus.com>
2690
2691 * NEWS: Mention new X packet and PowerPC variant support.
2692
26931999-02-08 Nick Clifton <nickc@cygnus.com>
2694
2695 * configure.host: Add support for StrongARM host.
2696 * configure.tgt: Add support for StrongARM target.
2697
2698Mon Feb 8 12:05:05 1999 David Taylor <taylor@texas.cygnus.com>
2699
2700 * dsrec.c (make_srec): Cast targ_addr to int in call to sprintf
2701 otherwise on big endian machine with a bfd_vma of 64 bits,
2702 *everything* gets loaded at location 0.
2703
2704Mon Feb 7 10:05:43 1999 Frank Ch. Eigler <fche@cygnus.com>
2705
2706 * infrun.c (wait_for_inferior): Allow SIGTRAP to be "pass"ed
2707 to target program.
2708
2709Fri Feb 5 16:46:14 1999 Stan Shebs <shebs@andros.cygnus.com>
2710
2711 * NEWS: Add mentions of various new things.
2712
2713Thu Feb 4 00:19:14 1999 Christopher Faylor <cgf@cygnus.com>
2714
2715 * configure.in: Move termcap determination later in the
2716 file to catch setting of cygwin flag.
2717 * configure: Regenerate.
2718
2719Wed Feb 3 14:16:38 1999 Christopher Faylor <cgf@cygnus.com>
2720
2721 * config/i386/cygwin.mh: Move TERMCAP test code to configure.in.
2722 * configure.in: Treat libtermcap.a detection as a special case
2723 when hosting on cygwin.
2724 * configure: Regenerate.
2725
27261999-02-03 Keith Seitz <keiths@cygnus.com>
2727
2728 * remote.c (remote_binary_download, remote_binary_length): New
2729 static globals for dealing with binary transmissions.
2730 (remote_write_bytes): Add support for binary downloads
2731 by shadowing the "M" packet with a new "X" packet. This
2732 defaults to ON; if the stub does not understand this, it
2733 will fall back to using "M".
2734 (putpkt): Add support for binary downloading.
2735 * monitor.c (monitor_expect): The mon2000 monitor
2736 on the MSA2000 will also emit random DC1/DC3 chars.
2737 * m32r-stub.c: Change all char's to unsigned char's
2738 to support binary downloading.
2739 (handle_exception): Add support for binary downloading
2740 via a new "X" packet.
2741 (getpacket): Do NOT strip eighth bit of incoming chars.
2742 Watch out for escaped characters in the incoming stream.
2743 (putpacket): Do NOT strip eighth bit of incoming chars.
2744 (bin2mem): New function to write binary data directly to
2745 memory.
2746 * m32r-rom.c: Add new "mon2000" target.
2747
2748Tue Feb 2 18:40:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2749
2750 * hp-psymtab-read.c (hpread_build_psymtabs): Coerce first arg
2751 passed to make_cleanup to the correct type.
2752 (hpread_quick_traverse): Change fifth arg to call to
2753 hpread_end_psymtab to be 0.
2754 Compare CURR_MODULE_END to 0 rather than NULL.
2755 Get rid of ifdef'ed out code.
2756 (scan_procs): Get rid of ifdef'ed out code.
2757
2758 * somread.c (som_symfile_read): Coerce first argument passed to
2759 make_cleanup to the correct type.
2760
2761Tue Feb 2 17:36:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2762
2763 * hp-psymtab-read.c (do_pxdb): New function. Check whether the
2764 file needs to be processed by pxdb (an HP debug info massaging
2765 tool), if so call it.
2766 (hpread_build_psymtabs): Initialize scan_start to 0 and
2767 simplify flow of control.
2768
2769 * somread.c (som_symfile_read): Add call to do_pxdb (),
2770 in hp-psymtab-read.c.
2771
2772 * symfile.c (symbol_file_add): Remove ifdef'ed out HPUX specific
2773 code.
2774 (symfile_bfd_open): Remove HPUXHPPA ifdef'ed code. Code is now
2775 in hp-psymtab-read.c.
2776
27771999-02-02 Martin Hunt <hunt@cygnus.com>
2778
2779 * printcmd.c (print_scalar_formatted): Use strcat to concat all
2780 the output together before calling fprintf_filtered().
2781
27821999-02-01 Jason Molenda (jsm@bugshack.cygnus.com)
2783
2784 * configure.in: Require autoconf 2.13.
2785 (AM_EXEEXT): Replace with new AC_EXEEXT.
2786 * acinclude.m4: Move itcl header macros from aclocal.m4 to here.
2787 * aclocal.m4: Regenerated.
2788 * configure: Regenerated.
2789
27901999-02-01 Jim Blandy <jimb@zwingli.cygnus.com>
2791
2792 Allow PPC users to select which PPC/RS6000 variant they're
2793 debugging at run-time. At the moment, the only thing this affects
2794 is the set of registers visible.
2795 * config/rs6000/tm-rs6000.h (REGISTER_NAME): Define this as a call
2796 to the function rs6000_register_name.
2797 (rs6000_register_name): Include extern decl.
2798 (NUM_REGS): Bump to 183. What's the right way to do this?
2799 (FIRST_UISA_SP_REGNUM, LAST_UISA_SP_REGNUM): Renamed from
2800 FIRST_SP_REGNUM, LAST_SP_REGNUM.
2801 (REGISTER_BYTES): Recompute this.
2802 * rs6000-tdep.c: Renamed all uses of FIRST_SP_REGNUM and
2803 LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
2804 some concomitant formatting changes.
2805 #include "gdbcmd.h", so we can define commands here.
2806 (struct variant): New structure.
2807 (COMMON_UISA_REG_NAMES, PPC_UISA_SPR_NAMES, PPC_SEGMENT_REG_NAMES,
2808 PPC_32_OEA_SPR_NAMES, num_registers): New macros.
2809 (register_names_rs6000, register_names_uisa, register_names_403,
2810 register_names_403GC, register_names_505, register_names_860,
2811 register_names_601, register_names_602, register_names_603,
2812 register_names_604, register_names_750, variants): New variables.
2813 (rs6000_register_name, install_variant, find_variant_by_name,
2814 install_variant_by_name, list_variants, show_current_variant,
2815 set_processor, show_processor): New functions.
2816 (_initialize_rs6000_tdep): Define new commands `set processor' and
2817 `show processor', and call install_variant_by_name to set the
2818 default variant.
2819 * rs6000-nat.c: Renamed all uses of FIRST_SP_REGNUM and
2820 LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with
2821 some concomitant formatting changes.
2822 * configure.in: Accept the `--with-cpu' flag, to specify a default
2823 processor variant.
2824 * acconfig.h: Provide a blurb for TARGET_CPU_DEFAULT, which is set
2825 by configure's `--with-cpu' flag.
2826 * config.in, configure: Regenerated.
2827
2828Sun Jan 31 15:24:24 1999 Stan Shebs <shebs@andros.cygnus.com>
2829
2830 * buildsym.h, buildsym.c: Convert to ANSI-only.
2831
2832 * buildsym.h, buildsym.c: Reformat to standard.
2833
2834 * buildsym.c (merge_symbol_lists): Remove unused variable.
2835 (_initialize_buildsym): Remove, does nothing.
2836
28371999-01-31 J.T. Conklin <jtc@redbacknetworks.com>
2838
2839 * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c,
2840 sparcl-stub, sparclet-stub.c: Change declaration of putDebugChar
2841 to include explicit void return type as per documentation. Fix up
2842 occasions where stubs erroneously checked return type.
2843
2844Sun Jan 31 13:18:33 1999 Stan Shebs <shebs@andros.cygnus.com>
2845
2846 From J.T. Conklin <jtc@redbacknetworks.com>:
2847 * remote.c (remote_query): Fix tipo.
2848
2849Fri Jan 29 15:25:09 1999 Stan Shebs <shebs@andros.cygnus.com>
2850
2851 * configure.tgt (v850): Add wildcard to match.
2852
2853Fri Jan 29 16:44:01 1999 Edith Epstein <eepstein@sophia.cygnus.com>
2854
2855 * inferior.h: Ran indent.
2856
2857 * fork-child.c: Ran indent.
2858
2859 * infrun.c : Ran indent.
2860
2861Fri Jan 29 12:57:34 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2862
2863 * infrun.c (_initialize_infrun): Do not stop or print anything
2864 when a SIGWINCH is received.
2865
2866 * Makefile.in (m2-exp.tab.c): Use YACC not BISON.
2867 (f-exp.tab.c): Ditto.
2868 (jv-exp.tab.c): Ditto.
2869 (c-exp.tab.c): Ditto.
2870 (YACC): Define as @YACC@.
2871
28721999-01-29 Martin Hunt <hunt@cygnus.com>
2873
2874 Changes from Keith Seitz <keiths@cygnus.com>
2875 * valops.c (value_assign): Add calls to register_changed_hook and
2876 memory_changed_hook to inform UIs that the user has changed
2877 the target's registers/memory.
2878 * findvar.c (write_register_gen): Remove call to pc_changed_hook.
2879 * defs.h: Remove declaration for pc_changed_hook and
2880 add declarations for register_changed_hook and
2881 memory_changed_hook.
2882 * top.c: Ditto.
2883
28841999-01-29 Mark Alexander <marka@cygnus.com>
2885
2886 * procfs.c (wait_fd): Handle deleted threads correctly.
2887
28881999-01-28 Jason Molenda (jsm@bugshack.cygnus.com)
2889
2890 * utils.c (init_page_info): Force window size if running under emacs.
2891
28921999-01-27 James Ingham <jingham@cygnus.com>
2893
2894 * typeprint.c (whatis_exp): Remove static declaration.
2895
2896Wed Jan 27 16:50:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2897
2898 * hp-psymtab-read.c: Reformat using indent.
2899
2900Wed Jan 27 13:20:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2901
2902 * hp-psymtab-read.c: Reformat comments, update copyright.
2903
2904Tue Jan 26 16:02:47 1999 Mark Alexander <marka@cygnus.com>
2905
2906 * v850-tdep.c (v850_generic_reg_names, v850e_reg_names,
2907 v850_register_names, v850_processor_type_table): Declare tables
2908 and structures for handling differences in register names for
2909 v850 and v850e.
2910 (struct reg_list): Define new structure for creating tables
2911 of register bit masks in v850e instrutions.
2912 (handle_prepare, handle_pushm): New helpers for v850_scan_prologue.
2913 (v850_scan_prologue): Recognize v850e instructions: callt, prepare,
2914 and pushm.
2915 (v850_target_architecture_hook): New function to set register
2916 names based on current machine.
2917 (_initialize_v850_tdep): Set up target_architecture_hook.
2918 * config/v850/tm-v850.h (v850_register_names): Declare.
2919 (REGISTER_NAME): Define to refer to v850_register_names.
2920 (SR0_REGNUM, CTBP_REGNUM): Define.
2921 (PS_REGNUM): Redefine in terms of SR0_REGNUM.
2922
2923Tue Jan 26 18:27:26 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com>
2924
2925 * Makefile.in (c-exp.tab.c): Use BISON instead of YACC, to pick
2926 the correct value from configure output.
2927 (jv-exp.tab.c): Ditto.
2928 (f-exp.tab.c): Ditto.
2929 (m2-exp.tab.c): Ditto.
2930
29311999-01-26 Jason Molenda (jsm@bugshack.cygnus.com)
2932
2933 * breakpoint.h (ep_is_exception_catchpoint): Add prototype.
2934 * frame.h (select_and_print_frame): Add prototype.
2935 * stack.c (func_command): Call select_and_print_frame with correct
2936 number of arguments. Reformat whitespace.
2937
2938Tue Jan 26 16:53:54 1999 Fernando Nasser <fnasser@cygnus.com>
2939
2940 * remote.c (remote_query): fix maximum packet size to account for
2941 remote_debug use.
2942 (putpkt): add comment to alert about extra byte need.
2943
2944Mon Jan 25 19:55:30 1999 Mark Alexander <marka@cygnus.com>
2945
2946 * sh-tdep.c (sh_target_architecture_hook): Return immediately
2947 when a matching machine is found.
2948
2949Fri Jan 22 09:10:35 1999 Mark Alexander <marka@cygnus.com>
2950
2951 * remote-mips.c (mips_initialize): Fix parameters to clear_breakpoint.
2952 (common_breakpoint): Restore support for instruction breakpoints
2953 on non-LSI targets.
2954
2955Thu Jan 21 17:16:19 1999 Andrew Cagney <cagney@b1.cygnus.com>
2956
2957 * stack.c: Close open comment.
2958 * symtab.c (find_pc_sect_line): Ditto.
2959
2960Thu Jan 21 17:51:51 1999 Stan Shebs <shebs@andros.cygnus.com>
2961
2962 * procfs.c (init_procfs_ops): New function, fills in procfs_ops,
2963 init only nonzero fields, leave to_require_attach and
2964 to_require_detach empty, not needed for /proc systems yet.
2965 (_initialize_procfs): Call init_procfs_ops.
2966
2967 From J.T. Conklin <jtc@redbacknetworks.com>:
2968 * top.c (init_main): Fix tipo in description of the remotetimeout
2969 variable.
2970 * breakpoint.c (bpstat_stop_status): Handle systems where
2971 DECR_PC_AFTER_BREAK != DECR_PC_AFTER_HW_BREAK.
2972
2973Thu Jan 21 17:25:46 1999 Mark Alexander <marka@cygnus.com>
2974
2975 * mon960-rom.c (_initialize_mon960): Call init_mon960_cmds
2976 to fill in mon960_cmds structure properly.
2977
2978Wed Jan 20 17:53:22 1999 Stan Shebs <shebs@andros.cygnus.com>
2979
2980 * remote-sds.c (sds_ops): Define only once.
2981 (init_sds_ops, sds_command, _initialize_remote_sds): Declare.
2982 (init_sds_ops): Init only non-zero fields.
2983
2984Wed Jan 20 15:45:15 1999 Mark Alexander <marka@cygnus.com>
2985
2986 * h8300-tdep.c (original_register_names, h8300h_register_names,
2987 h8300_register_names): Define new variables.
2988 (set_register_names): New function to set register names based on
2989 current CPU type.
2990 (h8300_command, h8300h_command, h8300s_command): Call
2991 set_register_names.
2992 * config/h8300/tm-h8300.h (h8300_register_names): Declare.
2993 (REGISTER_NAME): Define to refer to h8300_register_names.
2994
29951999-01-19 Fernando Nasser <fnasser@totem.to.cygnus.com>
2996
2997 * sol-thread.c abug-rom.c cpu32bug-rom.c dbug-rom.c m32r-rom.c
2998 mac-nat.c mon960-rom.c op50-rom.c ppc-bdm.c remote-adapt.c
2999 remote-array.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c
3000 remote-est.c remote-hms.c remote-mm.c remote-nindy.c remote-nrom.c
3001 remote-os9k.c remote-rdp.c remote-sds.c remote-sim.c remote-st.c
3002 remote-udi.c rom68k-rom.c sh3-rom.c sparcl-tdep.c sparclet-rom.c
3003 v850ice.c win32-nat.c: cosmetic changes to conform to coding
3004 standards.
3005
30061999-01-19 Jim Blandy <jimb@zwingli.cygnus.com>
3007
3008 Use aclocal to generate GDB's aclocal.m4 script.
3009 * acinclude.m4: New file, containing the hand-written local macro
3010 definitions that used to be in aclocal.m4. Don't sinclude
3011 ../bfd/aclocal.m4 any more; running aclocal in this directory will
3012 get us the definitions we need. HOWEVER: Do sinclude
3013 ../bfd/acinclude.m4, because we need the definition of
3014 BFD_NEED_DECLARATION.
3015 * aclocal.m4: Regenerated by aclocal.
3016 * configure: Regenerated by autoconf.
3017
3018Tue Jan 19 10:27:23 1999 David Taylor <taylor@texas.cygnus.com>
3019
3020 * breakpoint.c (disable_breakpoints_in_shlibs): new parameter,
3021 silent, controls whether to print message about removal of shared
3022 library breakpoints.
3023 * breakpoint.h (disable_breakpoints_in_shlibs): decl updated.
3024 * irix5-nat.c (clear_solib): call disable_breakpoints_in_shlibs.
3025 * osfsolib.c (clear_solib): ditto.
3026 * solib.c (clear_solib): ditto.
3027 * somsolib.c (som_solib_restart): update call to
3028 disable_breakpoints_in_shlibs.
3029
3030 * target.h (child_post_attach): only declare if CHILD_POST_ATTACH
3031 is define.
3032
3033Tue Jan 19 18:07:11 1999 Andrew Cagney <cagney@b1.cygnus.com>
3034
3035 * corelow.c (solib_add_stub): Ditto.
3036 (core_file_to_sym_file): Cast make_cleanup parameter.
3037
3038 * solib.c (symbol_add_stub, solib_map_sections): Change argument
3039 to PTR insted of a char*. Matches catch_errors interface.
3040
3041Mon Jan 18 14:01:24 1999 Andrew Cagney <cagney@b1.cygnus.com>
3042
3043 * remote-array.c (array_open): Don't use fprintf_filtered to send
3044 data to the log file.
3045
3046 * remote-array.c (handle_load_dll): Change argument type to PTR so
3047 that it is compatible with catch_errors.
3048 * ocd.c (ocd_start_remote): Ditto.
3049 * remote-sds.c (sds_start_remote): Ditto.
3050
3051 * win32-nat.c (win32_child_thread_alive): Namespace proof
3052 child_thread_alive.
3053 (init_child_ops): Update.
3054
3055Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com>
3056
3057 * remote-rdi.c (arm_rdi_open): Set gdb_hostif.hostosarg and
3058 gdb_hostif.dbgarg to NULL instead of stdout.
3059 (voiddummy, myprint, mywritec): Use gdb_stdout instead of stdout.
3060
3061Mon Jan 18 16:40:50 1999 Stan Shebs <shebs@andros.cygnus.com>
3062
3063 * ser-ocd.c (ocd_open): Handle Unix case gracefully.
3064
3065 * target.c (dummy_target): Don't initialize statically.
3066 (init_dummy_target): New function, fills in dummy_target.
3067 (initialize_targets): Use it.
3068 * hpux-thread.c (hpux_thread_ops): Don't initialize statically.
3069 (init_hpux_thread_ops): New function, fills in hpux_thread_ops.
3070 (_initialize_hpux_thread): Use it.
3071 * m3-nat.c (m3_ops): Don't initialize statically.
3072 (init_m3_ops): New function, fills in m3_ops.
3073 (_initialize_m3): Use it.
3074
30751999-01-18 Fernando Nasser <fnasser@totem.to.cygnus.com>
3076
3077 * sol-thread.c: delete compile time initialization of target_ops
3078 (_initialize_sol_thread): initialize target_ops at run time.
3079 * hpux-thread.c: added target_ops entry.
3080 * m3-nat.c: ditto.
3081
3082Mon Jan 18 15:19:13 1999 David Taylor <taylor@texas.cygnus.com>
3083
3084 * procfs.c (procfs_ops): delete compile time initialization.
3085 (_initialize_procfs): initialize procfs_ops at run time.
3086
3087Mon Jan 18 12:51:44 1999 Christopher Faylor <cgf@cygnus.com>
3088
3089 * configure.in: Ensure that -luser32 is always linked in
3090 for cygwin build.
3091 * configure: Regenerated.
3092
3093Mon Jan 18 08:38:05 1999 Mark Alexander <marka@cygnus.com>
3094
3095 * values.c (value_virtual_fn_field): Clear the pointed-to
3096 offset when casting to the base class.
3097
3098Mon Jan 18 10:30:51 1999 David Taylor <taylor@texas.cygnus.com>
3099
3100 * remote-udi.c (init_udi_ops): change non-existant udi_run_ops to
3101 udi_ops; delete NULL initializers.
3102
3103Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com>
3104
3105 * serial.c (serial_close): gdb_fclose tages gdb_file** arg, not
3106 gdb_file*.
3107
3108 * f-valprint.c, target.c, gdbarch.c: Pass gdb_stderr not stderr.
3109
3110Mon Jan 18 10:46:12 1999 Andrew Cagney <cagney@b1.cygnus.com>
3111
3112 * stack.c (print_frame_info_base): Don't cast call to
3113 catch_errors.
3114 (print_args_stub): Change char* arg to PTR.
3115 * symmisc.c (print_symbol): Ditto.
3116 * top.c (quit_cover): Ditto.
3117 * remote.c (remote_open_1, remote_start_remote): Ditto.
3118 * infrun.c (normal_stop, hook_stop_stub, restore_selected_frame):
3119 Ditto.
3120
3121 * stack.c (backtrace_command): Cast first arg of make_cleanup to
3122 make_cleanup_func.
3123 * remote.c (remote_kill): Cast putpkt arg to catch_errors_ftype.
3124
3125Mon Jan 18 08:47:02 1999 Andrew Cagney <cagney@b1.cygnus.com>
3126
3127 * defs.h (catch_errors_ftype): Define.
3128 (catch_errors): Replace char* arg with PTR arg.
3129 * top.c (catch_errors): Update
3130
3131 * breakpoint.c (bpstat_stop_status, bpstat_stop_status,
3132 delete_breakpoint, breakpoint_re_set): Delete all casts in call to
3133 catch_errors.
3134 (breakpoint_cond_eval, watchpoint_check,
3135 cover_target_enable_exception_callback, breakpoint_re_set_one):
3136 Arg is PTR not char*.
3137
3138 * breakpoint.c (cover_target_enable_exception_callback): Change
3139 type to int. Check for cast values of 0 and -1. Return a result!
3140 (insert_breakpoints): Move declaration of SAL and ARGS to where
3141 they are used.
3142
31431999-01-16 Fernando Nasser <fnasser@totem.to.cygnus.com>
3144
3145 * remote.c (remote_query): new function - creates proper interface
3146 to the remote protocol "q" command.
3147
3148Fri Jan 15 17:11:48 EST 1999 Zdenek Radouch (radouch@cygnus.com)
3149
3150 * config/fr30/tm-fr30.h: Changed ABI to match GCC change
3151 (always use pointer for structs passed by value).
3152
31531999-01-15 Fernando Nasser <fnasser@totem.to.cygnus.com>
3154
3155 * target.h: added entry for target queries (to_query)
3156 target.c: ditto.
3157
3158Thu Jan 14 18:29:17 1999 David Taylor <taylor@texas.cygnus.com>
3159
3160 * remote-mm.c (mm_wait): fix stream arg to gdb_flush.
3161 * remote-udi.c (udi_wait): fix stream arg to fwrite.
3162 * symmisc.c (maintenance_check_symtabs): fix stream argument to
3163 print_address_numeric.
3164
3165Wed Jan 13 19:33:16 1999 David Taylor <taylor@texas.cygnus.com>
3166
3167 * breakpoint.c (insert_breakpoints): insert cast to eliminate
3168 warning.
3169
3170Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
3171
3172 * infrun.c (set/show scheduler-locking) New command. Set a
3173 mode bit that will control how GDB attempts to control thread
3174 scheduling for step, continue, etc. (resume): make use of
3175 the schedule-locking mode.
3176 * target.h (struct target_ops): new field to_has_thread_control.
3177 * sol-thread.c: initialize target_ops to_has_thread_control.
3178 * procfs.c: ditto.
3179 * target.c: ditto.
3180 * m3-nat.c: ditto.
3181 * remote.c: ditto.
3182 * hpux-thread.c: ditto.
3183 * thread.c: cull duplicate prototypes. Move prototypes to top.
3184 * serial.c: indentation cleanup.
3185 * breakpoint.c: add casts to eliminate compiler warnings.
3186
3187Tue Jan 12 17:00:00 1999 Edith Epstein <eepstein@sophia.cygnus.com>
3188
3189 * inftarg.c (child_create_inferior): fixed HPUXHPPA specific
3190 call to fork_inferior. The shell param is now NULL.
3191
31921999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
3193
3194 * monitor.c (init_base_monitor_ops): Whitespace cleanup.
3195 (_initialize_remote_monitors): Same.
3196
31971999-01-12 Jason Molenda (jsm@bugshack.cygnus.com)
3198
3199 * monitor.c (init_monitor_ops): Initialize the monitor_ops
3200 structure if it hasn't already been done.
3201
3202Tue Jan 12 14:50:10 1999 Stan Shebs <shebs@andros.cygnus.com>
3203
3204 * inftarg.c (child_ops): Don't initialize statically.
3205 (init_child_ops): New function, fills in child_ops.
3206 (_initialize_inftarg): Use it.
3207 (child_post_attach): Declare extern.
3208 (child_wait): Fix ambiguous parens.
3209 (child_attach_to_process): Remove unused local wstatus.
3210 (child_insert_fork_catchpoint, child_remove_fork_catchpoint,
3211 child_insert_vfork_catchpoint, child_remove_vfork_catchpoint,
3212 child_has_forked, child_insert_exec_catchpoint,
3213 child_remove_exec_catchpoint): Return a value.
3214
3215Mon Jan 11 16:43:44 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
3216
3217 * remote.c (remote_wait): Add inferior_pid to thread list only
3218 if it is not already there.
3219
32201999-01-11 Jason Molenda (jsm@bugshack.cygnus.com)
3221
3222 * scm-tags.h: Update FSF's address on copyright notice.
3223 * ser-e7kpc.c: Same.
3224 * gnu-nat.h: Same.
3225
3226Mon Jan 11 13:45:57 1999 Stu Grossman <grossman@babylon-5.cygnus.com>
3227
3228 * dwarf2read.c (dump_die): Change stderr to gdb_stderr.
3229 * expprint.c (print_subexp): fprintf => fprintf_unfiltered.
3230 * jv-typeprint.c (java_type_print_base): fputs => fputs_filtered.
3231 * stack.c (struct function_bounds): Remove superfluous `typedef'.
3232 * symfile.c (list_overlays_command): stdout => gdb_stdout.
3233 * symmisc.c (maintenance_check_symtabs): stdout => gdb_stdout.
3234 * utils.c (print_spaces): Make more efficient.
3235
3236Mon Jan 11 13:55:51 1999 David Taylor <taylor@texas.cygnus.com>
3237
3238 * utils (print_spaces): fix arg to strcat; fix formatting.
3239
3240Fri Jan 8 11:57:24 1999 Stan Shebs <shebs@andros.cygnus.com>
3241
3242 * exec.c (exec_ops): Don't initialize statically.
3243 (init_exec_ops): New function, fills in exec_ops.
3244 (_initialize_exec): Use it.
3245
3246Thu Jan 7 17:50:15 EST 1999 Zdenek Radouch (radouch@cygnus.com)
3247
3248 Beta FR30 port.
3249 * fr30-tdep.c
3250 * config/fr30/tm-fr30.h
3251
3252Wed Jan 6 12:28:35 1999 David Taylor <taylor@texas.cygnus.com>
3253
3254 * configure.in: Add an --enable-tui argument. Construct
3255 tui/Makefile from tui/Makefile.in. Use AM_PROG_CC_STDC. If we
3256 have the GUI, then we need this to process libgui.h.
3257 (ENABLE_CFLAGS): define and export BUILD_TUI.
3258 (AC_CHECK_HEADERS): Add check for term.h.
3259
3260 * configure.host (hppa-*-hpux10.20, hppa-*-hpux11.0*): New configs.
3261
3262 * config.in, configure : regenerated.
3263
3264 * Makefile.in: Allow the TUI code to be conditionally enabled.
3265 (TUI_LIBRARY): New variable, value are set by the configuration
3266 script. Set to the empty string when the TUI isn't enabled.
3267 (gdb$(GDBEXT)): Use those, instead of referring to all-tui and
3268 tui/libtui.a directly.
3269 (BUILD_TUI): build the tui -- only when configured with
3270 --enable-tui.
3271 (YLWRAP): use ylwrap to avoid problems on systems w/o bison.
3272 (gdb$(EXEEXT)): make it dependent on BUILD_TUI.
3273 (all-tui): remove dependency from phony target.
3274 (c-exp.tab.c): use ylwrap instead of bison.
3275 (jv-exp.tab.c): ditto.
3276 (f-exp.tab.c): ditto.
3277 (m2-exp.tab.c): ditto.
3278 (ALLDEPFILES): add somread.c, hp-psymtab-read.c, hp-symtab-read.c.
3279 (SFILES): remove the above files
3280 (COMMON_OBS): remove somread.o
3281 (SFILES): Add the tui files to this, so they get included in etags
3282 tables.
3283 (gdb$(EXEEXT)): Add all-tui to the list of dependencies, and add
3284 tui/libtui.a to the link list.
3285 (all-tui): New rule, which does a recursive make in the tui
3286 subdir.
3287 (tui/libtui.a): When recursing, pass down ${FLAGS_TO_PASS}. And
3288 don't echo the make command. This is closer to what the other
3289 recursions do.
3290 (HFILES_NO_SRCDIR): add hpread.h
3291 (COMMON_OBS): add hp-psymtab-read.o, hp-symtab-read.o
3292 (SFILES): add hp-psymtab-read.c, hp-symtab-read.c add rules for
3293 the new files. Remove hpread.c, hpread.o
3294 (gdb$(EXEEXT)): Depend on the actual tui library, not on a
3295 fictitious target. Since the fictitious target never existed,
3296 make would always relink.
3297 (tui/libtui.a): Always recurse to make sure the library is up to
3298 date.
3299
3300Wed Jan 6 12:05:12 1999 Stan Shebs <shebs@andros.cygnus.com>
3301
3302 * remote.c: Pacify --enable-build-warnings, reformat code
3303 to conform to standards, fix spelling errors.
3304 (ishex, stubhex, record_currthread, etc): Declare.
3305 (ishex, stubhex): Declare char arg as int.
3306 (pack_string): Comment out, never used but possibly useful.
3307 (threadref_to_int, remote_get_threadinfo, etc): Make static.
3308
3309Wed Jan 6 11:43:32 1999 David Taylor <taylor@texas.cygnus.com>
3310
3311 The following changes were made by Elena Zannoni
3312 <ezannoni@cygnus.com> and Edith Epstein <eepstein@cygnus.com> as
3313 part of a project to merge in changes made by HP.
3314
3315 * c-exp.y: use external flag hp_som_som_object_present to decide
3316 whether code was compiled by HP's compilers. Add two new C++
3317 tokens for true and false.
3318 (yylex): check for template name is done differently for the
3319 HP/aCC compiler case. Change some of the template processing code
3320 for handling HP aCC templates. Handle true and false tokens.
3321
3322Tue Jan 5 11:13:36 1999 Michael Snyder <msnyder@cleaver.cygnus.com>
3323
3324 * remote.c (record_curthread): Must not modify inferior_pid when
3325 called from wait_for_inferior. Instead, if a new thread-id is
3326 detected, call add_thread.
3327 (MAGIC_NULL_PID): new macro, use instead of the magic number
3328 "42000".
3329 (remote_find_new_threads): if inferior_pid is unknown, get and use
3330 the current thread id.
3331 (remote_start_remote): on connecting, attempt to get the current
3332 thread id for inferior_pid.
3333 (remote_resume): If pid == -1, then resume any-thread (not the
3334 current thread specifically). Also some cosmetic fixups.
3335
3336 * thread.c (info_threads_command): don't initialize current_pid
3337 until after call to FIND_NEW_THREADS (which may change inferior_pid).
3338 Also some cosmetic fixups.
3339 * infrun.c: cosmetic fixups and casts to avoid warnings.
3340 * infcmd.c: cosmetic fixups, mainly long lines.
3341
3342Tue Jan 5 11:55:57 1999 David Taylor <taylor@texas.cygnus.com>
3343
3344 * target.c (noprocess): terminate sentence with a period.
3345 * breakpoint.c (catch_command_1): ditto.
3346
3347 * c-valprint.c (c_value_print): remove hack^2 from HP; it causes
3348 testsuite losses with no real gain.
3349
3350 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): restore, but only
3351 if tm-*.h hasn't overridden default value.
3352
33531999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
3354
3355 * configure.in: Fix whitespace indentation for --help.
3356 * configure: Regenerated.
3357
33581999-01-04 Manuel Bouyer <bouyer@antioche.lip6.fr>
3359
3360 * main.c: Add --write command line option, document -w.
3361 * gdb.1: Document --write.
3362
33631999-01-04 Jason Molenda (jsm@bugshack.cygnus.com)
3364
3365 * configure.in: Require autoconf 2.12.1 or higher.
3366 * doc/configure.in: Ditto.
3367 * nlm/configure.in: Ditto.
3368 * rdi-share/configure.in: Ditto.
3369 * testsuite/configure.in: Ditto.
3370 * doc/Makefile.in: Don't hardcode $(SHELL).
3371 * nlm/Makefile.in: Ditto.
3372 * rdi-share/Makefile.in: Ditto.
3373 * testsuite/Makefile.in: Ditto.
3374
3375Mon Jan 4 12:53:03 1999 Stan Shebs <shebs@andros.cygnus.com>
3376
3377 * remote-vx.c (init_vx_ops, init_vx_run_ops): Remove unneeded
3378 inits of new fields, including ref to bogus field.
3379 (vx_ops, vx_run_ops): Make static.
3380
3381Mon Jan 4 15:05:29 1999 David Taylor <taylor@texas.cygnus.com>
3382
3383 * inferior.h (START_INFERIOR_TRAPS_EXPECTED): delete,
3384 already defined in tm.h.
3385
3386 * inftarg.c: change <sys/unistd.h> to <unistd.h> and
3387 conditionalize its inclusion.
3388 * infttrace.c: ditto.
3389
3390For older changes see ChangeLog-98
3391\f
3392Local Variables:
3393mode: change-log
3394left-margin: 8
3395fill-column: 74
3396version-control: never
3397End:
This page took 0.305737 seconds and 4 git commands to generate.