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