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