Commit | Line | Data |
---|---|---|
de57eccd JM |
1 | 1999-12-07 Jim Blandy <jimb@cygnus.com> |
2 | ||
3 | Add support for SSE registers in core files. | |
4 | * corelow.c (get_core_register_section): New function. | |
5 | (get_core_registers): Fetch the new ".reg-xfp" sections, | |
6 | in addition to the traditional ".reg" and ".reg2" sections. | |
7 | Check for per-thread variants of all three. Use | |
8 | get_core_register_section, instead of writing it out over and over | |
9 | again. | |
10 | * i386-linux-nat.c (i386_linux_fetch_core_registers): New function. | |
11 | (i386_linux_nat_core_fns): New core_fns structure. We do our own | |
12 | core handling now, instead of using the generic code in core-regset.c. | |
13 | (_initialize_i386_linux_nat): New function, needed to register | |
14 | i386_linux_nat_core_fns. | |
15 | * config/i386/linux.mh (NATDEPFILES): Remove core-regset.o; | |
16 | i386-linux-nat.c has its own sniffer now. | |
17 | * gdbcore.h: (struct core_fns): Doc fix. | |
18 | ||
19 | * i386v-nat.c (i386_float_info): Definition is #if 0'd; delete it | |
20 | altogether. This should use the function i387-tdep.c. | |
21 | ||
22 | Patch from Mark Kettenis <kettenis@gnu.org>: | |
23 | ||
24 | * config/i386/tm-i386.h (FLOAT_INFO): New define. | |
25 | * i387-tdep.c (print_i387_value, print_i387_ext, | |
26 | print_i387_status_word, print_i387_control_word, i387_float_info): | |
27 | New functions, used to implement generic `info float' command. | |
28 | ||
c2d11a7d JM |
29 | 1999-12-06 Christopher Faylor <cgf@cygnus.com> |
30 | ||
31 | * dcache.c (set_dcache_state): New function. | |
32 | * dcache.h: Declare set_dcache_state(). | |
33 | ||
34 | Sat Dec 4 15:17:44 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
35 | ||
36 | * remote.c (build_remote_packet_sizes): Reduce the default packet | |
37 | size of 400 bytes by one to 399. Stops GDB trashing stubs that | |
38 | append a trailing NUL to an already full buffer. | |
39 | ||
40 | Sat Dec 4 01:16:47 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
41 | ||
42 | * tracepoint.c (remote_get_noisy_reply): Add parameter sizeof_buf. | |
43 | (finish_tfind_command): Add parameter sizeof_msg. | |
44 | ||
45 | * remote.c (remote_threads_info): Move assignment operator to | |
46 | outside of function call. | |
47 | (remote_send): Add parameter sizeof_buf. | |
48 | (getpkt): Add parameter sizeof_buf. Call read_frame passing in | |
49 | sizeof_buf. | |
50 | ||
51 | * remote.h (getpkt): Update. | |
52 | ||
53 | * tracepoint.c (remote_set_transparent_ranges, | |
54 | remote_get_noisy_reply, trace_start_command, trace_stop_command, | |
55 | trace_status_command, finish_tfind_command, trace_find_pc_command, | |
56 | trace_find_tracepoint_command, trace_find_line_command, | |
57 | trace_find_range_command, trace_find_outside_command): Update. | |
58 | ||
59 | * remote.c (set_thread, remote_thread_alive, | |
60 | remote_get_threadinfo, remote_get_threadlist, | |
61 | remote_current_thread, remote_threads_info, | |
62 | extended_remote_restart, get_offsets, remote_open_1, | |
63 | remote_async_open_1, remote_wait, remote_async_wait, | |
64 | remote_fetch_registers, check_binary_download, remote_write_bytes, | |
65 | remote_read_bytes, remote_send, remote_detach, | |
66 | remote_async_detach, remote_fetch_registers, | |
67 | store_register_using_P, store_register_using_P, | |
68 | remote_fetch_registers, remote_store_registers, putpkt_binary, | |
69 | remote_insert_breakpoint, remote_remove_breakpoint, | |
70 | compare_sections_command, remote_rcmd, packet_command, | |
71 | remote_info_process, remote_query, remote_insert_watchpoint, | |
72 | remote_search, remote_remove_watchpoint, | |
73 | remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Update. | |
74 | ||
75 | Fri Dec 3 17:38:06 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
76 | ||
77 | * (read_frame): Add sizeof_buf parameter. Don't allow repeat when | |
78 | first character. Always leave space at the end of the buffer. | |
79 | Return size of packet or -1. | |
80 | (getpkt): Update. Pass in PBUFSIZ. | |
81 | ||
82 | Thu Dec 2 17:14:53 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
83 | ||
84 | * ser-pipe.c: Include <string.h> for memset(). | |
85 | ||
de57eccd JM |
86 | 1999-12-01 Jim Blandy <jimb@cygnus.com> |
87 | ||
88 | * gdbtypes.c (builtin_type_v4si, builtin_type_v8qi, | |
89 | builtin_type_v4hi, builtin_type_v2si): New SIMD types. | |
90 | (build_gdbtypes): Initialize them. | |
91 | (_initialize_gdbtypes): Gdbarch_swap them. | |
92 | * gdbtypes.h (builtin_type_v4si, builtin_type_v8qi, | |
93 | builtin_type_v4hi, builtin_type_v2si): Declare them. | |
94 | ||
95 | * findvar.c (read_register_bytes, write_register_bytes): Correctly | |
96 | determine how the region the caller is writing overlaps with each | |
97 | register's bytes. | |
98 | ||
99 | * value.h (struct value): Doc fixes. | |
100 | ||
101 | * valops.c (value_assign): Clarify error message. | |
102 | ||
c2d11a7d JM |
103 | 1999-12-01 Christopher Faylor <cgf@cygnus.com> |
104 | ||
105 | * config/i386/tm-cygwin.h: Change tm-i386.h include back to tm-i386v.h. | |
106 | ||
107 | 1999-12-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
108 | ||
109 | * inf-loop.c (inferior_event_handler): In case of | |
110 | INF_EXEC_CONTINUE, don't do all the regular continuations, but | |
111 | just the intermediate ones. | |
112 | ||
113 | * infcmd.c (step_once): Add the continuation to the | |
114 | intermediate_continuation list instead of the regular continuation | |
115 | list. | |
116 | ||
117 | * utils.c (add_intermediate_continuation): New function, to add | |
118 | continuations to the intermedite_continuation list. | |
119 | (do_all_intermediate_continuations): New function, do all the | |
120 | continuations in the intermediate list. | |
121 | (discard_all_intermediate_continuations): New function, discard | |
122 | all the continuations in the intermediate list. | |
123 | (intermediate_continuation): New global list for use by step_1(). | |
124 | ||
125 | * defs.h: Export intermediate_continuation, | |
126 | add_intermediate_continuation, do_all_intermediate_continuations, | |
127 | discard_all_intermediate_continuations. | |
128 | ||
129 | 1999-11-30 Christopher Faylor <cgf@cygnus.com> | |
130 | ||
131 | * win32-nat.c (mappings): Reorganize slightly for new uniform i386 | |
132 | register configuration. | |
133 | (do_child_fetch_inferior_registers): Handle special case floating point | |
134 | registers. | |
135 | (handle_output_debug_string): Handle cygwin-specific signals broadcast | |
136 | from the cygwin DLL. | |
137 | (handle_exceptions): Add code to properly allow continuation after a | |
138 | CTRL-C. | |
139 | (child_continue): Accept propagated "continue_status" which controls | |
140 | how the inferior should be continued. | |
141 | (get_child_debug_event): New function. | |
142 | (child_wait): Use above function to handle debug events. | |
143 | (child_create_inferior): Add more intelligent method for running the | |
144 | inferior to the appropriate point before handing it off to the rest of | |
145 | gdb. | |
146 | (child_stop): Specifically send a CTRL-C to the debugged process. | |
147 | (child_kill_inferior): Set global continue status here to cause | |
148 | inferior to run to completion. | |
149 | (child_resume): Eliminate code which attempts to decide how to continue | |
150 | the inferior. This is now handled by child_continue. | |
151 | * config/i386/tm-cygwin.h: Gut and reorganize for consistency with new | |
152 | tm-i386.h. | |
153 | ||
154 | Patch from Egor Duda (deo@logos-m.ru) | |
155 | * win32-nat.c (psapi_get_dll_name): New function. | |
156 | (handle_load_dll): Correctly load DLL symbol tables after attaching to | |
157 | a running pid. | |
158 | ||
159 | 1999-11-30 Michael Snyder <msnyder@cleaver.cygnus.com> | |
160 | ||
161 | * infrun.c (handle_inferior_pid): revert 11-29 change: resuming | |
162 | a thread other than the current thread with a signal. Apparently | |
163 | target_resume with a specific pid, a specific signal, and no step | |
164 | means to continue ALL threads but to only send the signal to one | |
165 | (and not, as I had assumed, to continue only the specified thread). | |
166 | * i386-linux-nat.c (fill_gregset): guard against invalid input. | |
167 | ||
168 | 1999-11-30 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
169 | ||
170 | * infcmd.c (step_once): New function. Used to do just one step | |
171 | operation. | |
172 | (step_1_continuation): New function. Figure out if we need to step | |
173 | again before returning control to the user. | |
174 | (step_1): If we are in asynchronous mode, don't do the for loop, | |
175 | but rather delegate to continuations the task of repeating the | |
176 | step operation. | |
177 | ||
178 | * utils.c (do_all_continuations): Copy the continuation list aside | |
179 | before working on it. | |
180 | ||
181 | * target.h (enum inferior_event_type): Add new enum | |
182 | INF_EXEC_CONTINUE. | |
183 | ||
184 | * inf-loop.c (inferior_event_handler): Handle new case | |
185 | INF_EXEC_CONTINUE. | |
186 | ||
187 | * infrun.c (fetch_inferior_event): If we are in the middle of a | |
188 | 'step n' type command, don't say that the execution is complete, | |
189 | but that it will have to continue. | |
190 | ||
191 | 1999-11-30 Kevin Buettner <kevinb@cygnus.com> | |
192 | ||
193 | * utils.c (verror): Don't traverse va_list argument twice. Also, | |
194 | removed extraneous va_end() call. | |
195 | ||
196 | 1999-11-29 Michael Snyder <msnyder@cleaver.cygnus.com> | |
197 | ||
198 | * infrun.c (handle_inferior_pid): If a child thread stops on a | |
199 | signal that we are ignoring, and GDB silently resumes the child, | |
200 | resume ALL threads (not just the one that got the signal). All | |
201 | threads are stopped, so all must be resumed. | |
202 | (handle_inferior_pid): on detecting a thread context switch, | |
203 | swap infrun_state ONLY if both the old thread and the new one | |
204 | are in the thread list. Otherwise state information will be lost! | |
205 | Problem may arise with flaky back-ends. | |
206 | ||
207 | 1999-11-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
208 | ||
209 | * breakpoint.c (bpstat_stop_status): Don't decrease hit_count | |
210 | in case of a wp that has not changed. | |
211 | ||
212 | Mon Nov 29 12:14:10 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
213 | ||
214 | * gdbtypes.c (init_simd_type): Make static. | |
215 | ||
216 | * configure.in (AC_CHECK_HEADERS): Check for <sys/ioctl.h>. | |
217 | * configure, config.h: Re-generate. | |
218 | * inflow.c: Include <sys/ioctl.h> | |
219 | ||
220 | * i386b-nat.c: Include "gdbcore.h". | |
221 | * fork-child.c: Include "command.h". | |
222 | ||
223 | * remote.c (remote_cisco_section_offsets, | |
224 | remote_start_remote_dummy, store_register_using_P, | |
225 | remote_info_process, remote_cisco_open, remote_cisco_close, | |
226 | readsocket, readtty, minitelnet, remote_cisco_wait, | |
227 | init_remote_async_ops, init_extended_async_remote_ops, | |
228 | set_remote_cmd), infrun.c (default_skip_permanent_breakpoint): Use | |
229 | ISO-C syntax for function definition. | |
230 | ||
231 | Mon Nov 29 11:28:21 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
232 | ||
233 | * stabsread.c: Revert 1999-11-09 Jim Blandy | |
234 | <jimb@zwingli.cygnus.com> and 1999-11-08 Jim Blandy | |
de57eccd | 235 | <jimb@cygnus.com>. Broken on non-Linux targets. |
c2d11a7d JM |
236 | |
237 | 1999-11-26 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
238 | ||
239 | * symfile.c (show_load_progress): Add total sent so far to the | |
240 | information passsed to the hook users. | |
241 | (generic_load): Collect total sent so far and pass that to the | |
242 | progress hook. | |
243 | ||
244 | * defs.h (show_load_progress): Update. | |
245 | ||
246 | 1999-11-25 Nick Clifton <nickc@cygnus.com> | |
247 | ||
248 | * coffread.c (coff_symfile_read): Treat "epoc-pe" targets as "pe" | |
249 | targets. | |
250 | * dbxread.c (dbx_read_symfile): Treat "epoc-pe" targets as "pe" | |
251 | targets. | |
252 | ||
253 | Wed Nov 24 17:07:28 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
254 | ||
255 | * Makefile.in (init.c): Add SUBDIR_INIT_FILES so that sub | |
256 | directories can hook in extra init files. | |
257 | ||
258 | 1999-11-23 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
259 | ||
260 | * defs.h (show_load_progress): Export. | |
261 | ||
262 | * symfile.c (show_load_progress): New hook for download. | |
263 | (generic_load): Collect total size of executable to load. | |
264 | Call progress hook when downloading. | |
265 | ||
266 | Thu Nov 18 11:54:24 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
267 | ||
268 | * arc-tdep.c (codestream_fill): Rewrite byte swap code using | |
269 | function extract_unsigned_integer. | |
270 | ||
271 | Wed Nov 17 17:01:06 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
272 | ||
273 | * arm-xdep.c: #include "arm-opcode.h" -> "opcode/arm.h". | |
274 | ||
275 | 1999-11-22 Jim Blandy <jimb@cygnus.com> | |
276 | ||
277 | * Makefile.in (i386-tdep.o): Update list of dependencies. | |
278 | ||
de57eccd | 279 | 1999-11-22 Jim Blandy <jimb@cygnus.com> |
c2d11a7d JM |
280 | |
281 | * config/i386/tm-i386v.h (NUM_REGS, REGISTER_NAMES, | |
282 | REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE, | |
283 | REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE, | |
284 | MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE): Deleted. All | |
285 | of these should inherit identical or compatible values from | |
286 | tm-i386.h, as long as you don't define HAVE_SSE_REGS or | |
287 | HAVE_I387_REGS, which are new anyway. | |
288 | ||
289 | Mon Nov 22 21:39:27 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
290 | ||
291 | * target.c (do_target_signal_to_host): New function. Indicate of | |
292 | the conversion was successful to the caller via an additional | |
293 | parameter. | |
294 | (target_signal_to_host_p): New function. Return non-zero if the | |
295 | GDB signal exists on the host system. | |
296 | (target_signal_to_host): Rewrite. Use do_target_signal_to_host. | |
297 | * target.h (target_signal_to_host_p): Add declaration. Document | |
298 | target_singal vs host signal vs target OS signal confusion. | |
299 | ||
300 | From 1999-11-08 Jimmy Guo <guo@cup.hp.com>: | |
301 | * hppah-nat.c (require_notification_of_events): Start by ignoring | |
302 | all signals and then adding back in ones we're interested in. | |
303 | ||
304 | Thu Nov 18 18:12:48 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
305 | ||
306 | * jv-typeprint.c (java_type_print_base), kod-cisco.c | |
307 | (cisco_kod_open), kod.c (kod_set_os), xcoffread.c | |
308 | (process_linenos), symfile.c (add_symbol_file_command), | |
309 | remote-rdi.c (arm_rdi_open, rdilogfile_command), main.c | |
310 | (captured_main), go32-nat.c (go32_create_inferior), exec.c | |
311 | (exec_file_attach), corefile.c (core_file_command, | |
312 | reopen_exec_file): Replace strdup with xstrdup. | |
313 | ||
314 | Mon Nov 22 12:02:47 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
315 | ||
316 | * bcache.c (print_bcache_statistics): Fix printf_filtered | |
317 | arguments. | |
318 | (print_percentage): Make function void. | |
319 | ||
de57eccd | 320 | 1999-11-21 Jim Blandy <jimb@cygnus.com> |
c2d11a7d JM |
321 | |
322 | Make the bcache hash table grow. | |
323 | * bcache.h (BCACHE_NUM_BUCKETS): Delete definition. | |
324 | (struct bcache): Add new element: num_buckets. Make bucket be a | |
325 | pointer to an array, not an array. | |
326 | (free_bcache): New extern declaration. | |
327 | * bcache.c (CHAIN_LENGTH_THRESHOLD): New constant. | |
328 | (expand_hash_table): New function. | |
329 | (bcache): Grow the hash table if the average chain length reaches | |
330 | CHAIN_LENGTH_THRESHOLD. | |
331 | (free_bcache): New function. | |
332 | (print_bcache_statistics): Don't assume that the number of buckets | |
333 | is constant any more. | |
334 | (BSTRING_SIZE): Moved down to just above 'bcache' function, where | |
335 | it's used. | |
336 | * objfiles.c (free_objfile): Call free_bcache, instead of just | |
337 | freeing the bcache's obstack directly. | |
338 | * symfile.c (reread_symbols): Same. | |
339 | ||
de57eccd | 340 | 1999-11-20 Jim Blandy <jimb@cygnus.com> |
c2d11a7d JM |
341 | |
342 | * bcache.c, bcache.h: Rewritten. New version imposes less memory | |
343 | overhead, and has a more effective hash function, so it's probably | |
344 | faster, too. | |
345 | ||
346 | * config/nm-linux.h: No need to check whether __STDC__ is | |
347 | #defined --- GDB requires ANSI C now. | |
348 | ||
349 | * config/i386/nm-linux.h (linuxthreads_pid_to_str, | |
350 | linuxthreads_prepare_to_proceed): Delete declarations --- they're | |
351 | provided by config/nm-linux.h now. | |
352 | ||
353 | 1999-11-19 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
354 | ||
355 | * top.c (print_command_lines): Remove unused var. | |
356 | ||
357 | 1999-11-19 Jim Kingdon <kingdon@redhat.com> | |
358 | ||
359 | Patch applied by Jim Blandy <jimb@cygnus.com>: | |
360 | ||
361 | Enable threads for all linux architectures: | |
362 | * config/nm-linux.h: New file. | |
363 | config/alpha/nm-linux.h, config/i386/nm-linux.h, | |
364 | config/m68k/nm-linux.h, config/sparc/nm-linux.h: Use it. | |
365 | * config/tm-linux.h: New file. | |
366 | * config/i386/tm-linux.h, config/m68k/tm-linux.h, | |
367 | config/sparc/tm-linux.h, config/alpha/tm-alphalinux.h: Use it. | |
368 | * config/m68k/linux.mh, config/sparc/linux.mh, | |
369 | config/alpha/alpha-linux.mh: Add linux-thread.o. | |
370 | ||
371 | 1999-11-18 Tom Tromey <tromey@cygnus.com> | |
372 | ||
373 | * tracepoint.h (get_tracepoint_by_number): Updated declaration. | |
374 | * tracepoint.c (trace_pass_command): Better error message. Fixed | |
375 | logic when `all' not specified. | |
376 | (get_tracepoint_by_number): Added `optional_p' argument. Fixed | |
377 | all callers. | |
378 | ||
379 | Wed Nov 17 17:40:30 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
380 | ||
381 | * findvar.c (SWAP_FLOATING): Delete macro. Unused. | |
382 | ||
4ce44c66 JM |
383 | 1999-11-16 Mark Salter <msalter@cygnus.com> |
384 | ||
385 | * monitor.c (monitor_supply_register): Initialize value to zero. | |
386 | ||
387 | 1999-11-15 Eli Zaretskii <eliz@is.elta.co.il> | |
388 | ||
389 | (Patches applied by Jim Blandy <jimb@zwingli.cygnus.com>) | |
390 | ||
391 | Change DJGPP target use the common register layout in | |
392 | config/i386/tm-i386.h. | |
393 | * config/i386/tm-go32.h: #include "i386/tm-i386.h", not | |
394 | "i386/tm-i386v.h". | |
395 | (HAVE_I387_REGS): Define. | |
396 | (HAVE_SSE_REGS): Undefine. | |
397 | (NUM_FREGS, NUM_REGS, REGISTER_NAMES, FP_REGNUM, SP_REGNUM, | |
398 | PS_REGNUM, PC_REGNUM, FP0_REGNUM, FPC_REGNUM, FPCWD_REGNUM, | |
399 | FPSWD_REGNUM, FPTWD_REGNUM, FPIPO_REGNUM, FPIPS_REGNUM, | |
400 | FPOOS_REGNUM, FPOPS_REGNUM, REGISTER_BYTES, REGISTER_BYTE, | |
401 | REGBYTE_0, REGBYTE_10 REGBYTE_16, REGBYTE_24, REGBYTE_29, | |
402 | REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE, | |
403 | MAX_REGISTER_VIRTUAL_SIZE, REGISTER_CONVERTIBLE): Definitions | |
404 | deleted. | |
405 | (i387_to_double, double_to_i387): Declarations deleted. | |
406 | (REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, | |
407 | REGISTER_VIRTUAL_TYPE): Use definitions from | |
408 | config/i386/tm-i386.h, unless LD_I387 is #defined. | |
409 | ||
410 | * go32-nat.c (go32_fetch_registers, store_register) | |
411 | (go32_create_inferior, init_go32_ops): Replace fatal with | |
412 | internal_error. | |
413 | (sig_map): Map exception 7 to TARGET_SIGNAL_EMT. | |
414 | ||
415 | * utils.c (notice_quit): Doc fixes. | |
416 | ||
417 | 1999-11-15 Kevin Buettner <kevinb@cygnus.com> | |
418 | ||
419 | * gdbserver/server.h (initialize_low): Declare this target | |
420 | specific function. | |
421 | * gdbserver/server.c (main): Call initialize_low. | |
422 | * gdbserver/low-hppabsd.c, gdbserver/low-linux.c, | |
423 | gdbserver/low-sim.c, gdbserver/low-sparc.c, gdbserver/low-sun3.c | |
424 | (initialize_low): Renamed from initialize. Also removed | |
425 | initialization of inferior_pid. | |
426 | (have_inferior_p): Removed. | |
427 | * gdbserver/low-lynx.c (initialize_low): New function. | |
428 | ||
429 | 1999-11-12 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
430 | ||
431 | * remote-rdi.c: Fix indentation accordingly to GNU standards. | |
432 | ||
433 | Thu Oct 28 00:28:51 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
434 | ||
435 | * d10v-tdep.c (d10v_gdbarch_init): Make the d10v:ts3 the default. | |
436 | ||
437 | Tue Oct 26 09:57:29 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
438 | ||
439 | * gdbarch.sh: Re-sync with Cagney's earlier const change. | |
440 | ||
441 | Sun Oct 24 20:07:31 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
442 | ||
443 | * d10v-tdep.c (struct gdbarch_tdep): Replace nr_a_regs, | |
444 | imap0_regnum, nr_imap_regs, dmap0_regnum, with dmap_register and | |
445 | imap_register. | |
446 | (R0_REGNUM, LR_REGNUM, PSW_REGNUM, NR_IMAP_REGS, NR_A_REGS): | |
447 | Convert to enums. | |
448 | (TS2_NR_A_REGS, TS2_NR_IMAP_REGS, TS3_NR_IMAP_REGS, | |
449 | TS3_NR_A_REGS): Delete. | |
450 | (d10v_ts2_dmap_register, d10v_ts3_dmap_register, | |
451 | d10v_ts2_imap_register, d10v_ts3_imap_register): New functions. | |
452 | (d10v_dmap_register, d10v_imap_register, | |
453 | d10v_ts2_register_sim_regno, d10v_ts3_register_sim_regno, | |
454 | show_regs): Update. | |
455 | (remote_d10v_translate_xfer_address): Rewrite. Use | |
456 | sim_d10v_translate_addr to translate addresses. | |
457 | (d10v_gdbarch_init): Initialize tdep members dmap_register and | |
458 | imap_register. | |
459 | ||
460 | Sun Oct 24 00:12:44 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
461 | ||
462 | * d10v-tdep.c (struct gdbarch_tdep): Declare. | |
463 | (NR_IMAP_REGS, NR_DMAP_REGS, A0_REGNUM, NR_A_REGS): Redefine using | |
464 | value in gdbarch_tdep. | |
465 | (d10v_dmap_register, d10v_imap_register): Ditto. | |
466 | (d10v_ts2_register_name, d10v_ts2_register_sim_regno): Rename | |
467 | d10v_register_name and d10v_register_sim_regno | |
468 | (enum ts3_regnums, d10v_ts3_register_name, | |
469 | d10v_ts3_register_sim_regno, d10v_register_sim_regno): New. | |
470 | (d10v_gdbarch_init): Configure registers and G packet according to | |
471 | d10v/ts2 and d10v/ts3. | |
472 | ||
473 | Sat Oct 23 21:28:02 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
474 | ||
475 | * config/d10v/tm-d10v.h (IMAP0_REGNUM, IMAP1_REGNUM, DMAP_REGNUM): | |
476 | Delete macro. | |
477 | (R0_REGNUM, LR_REGNUM, PSW_REGNUM, A0_REGNUM): Move from here. | |
478 | * d10v-tdep.c: To here. | |
479 | ||
480 | * d10v-tdep.c: (NR_DMAP_REGS, NR_IMAP_REGS, NR_A_REGS): Define. | |
481 | (d10v_dmap_register, d10v_imap_register): New functions. | |
482 | (remote_d10v_translate_xfer_address): Make static. | |
483 | (d10v_register_virtual_size): Use TYPE_LENGTH of | |
484 | REGISTER_VIRTUAL_TYPE. | |
485 | (d10v_register_byte, do_d10v_pop_frame, | |
486 | remote_d10v_translate_xfer_address, show_regs, | |
487 | d10v_register_raw_size): Ditto. | |
488 | (d10v_register_virtual_type): Ditto. Use explicitly sized builtin | |
489 | types. | |
490 | ||
491 | Sat Oct 23 19:08:39 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
492 | ||
493 | * d10v-tdep.c: Include "sim-d10v.h". | |
494 | (enum ts2_regnums): Declare. | |
495 | (d10v_register_sim_regno): New function. | |
496 | ||
497 | * config/d10v/tm-d10v.h: Delete pre multi-arch code. | |
498 | (REGISTER_SIM_REGNO): Define. | |
499 | (d10v_register_sim_regno): Declare. | |
500 | ||
501 | Sat Oct 23 16:39:34 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
502 | ||
503 | * gdbarch.c (initialize_current_architecture): Make ``choice'' | |
504 | const. | |
505 | ||
506 | Wed Nov 10 16:10:22 1999 Jeffrey A Law (law@cygnus.com) | |
507 | ||
508 | * hppa-tdep.c (hppa_fix_call_dummy): Fix typo in error message. | |
509 | ||
510 | Wed Nov 10 16:47:06 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
511 | ||
512 | * utils.c (error_last_message): Use gdb_file_xstrdup. | |
513 | ||
514 | * defs.h (verror, internal_verror): Declare. | |
515 | ||
516 | * utils.c (verror, internal_error): New functions. | |
517 | (error, internal_error): Use verror / internal_verror. | |
518 | (error_stream): Use gdb_file_xstrdup. Correctly handle %s in | |
519 | error message body. | |
520 | (error_init): Use mem_fileopen. | |
521 | ||
522 | * corefile.c (memory_error): Use mem_fileopen instead of | |
523 | tui_sfileopen. Don't call error_begin. | |
524 | * remote-sim.c (gdb_os_error): Rewrite using verror. Don't call | |
525 | error_begin. | |
526 | ||
527 | Wed Nov 10 14:21:43 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
528 | ||
529 | * defs.h (gdb_file_xstrdup): New function. | |
530 | * utils.c (gdb_file_xstrdup, do_gdb_file_xstrdup): Implement. | |
531 | ||
532 | 1999-11-09 Stan Shebs <shebs@andros.cygnus.com> | |
533 | ||
534 | * exec.c (exec_file_attach), irix5-nat.c, osfsolib.c, solib.c | |
535 | (info_sharedlibrary_command), pa64solib.c | |
536 | (pa64_sharedlibrary_info_command), somsolib.c | |
537 | (som_sharedlibrary_info_command): Replace "exec file" with | |
538 | "executable file" in messages. | |
539 | ||
540 | 1999-11-09 Jim Blandy <jimb@zwingli.cygnus.com> | |
541 | ||
542 | Finish the job attempted by the previous change. | |
543 | * stabsread.c (read_range_type): Make n2 and n3 LONGEST. Adjust | |
544 | the various tests that check for maximum values, bit counts, etc. | |
545 | In the long run, it might have been simpler just to give GDB bignums. | |
546 | ||
547 | Tue Nov 9 18:34:13 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
548 | ||
549 | * defs.h (gdb_file_put): Add parameter write. | |
550 | (gdb_file_put_method_ftype): New typedef. | |
551 | * utils.c (gdb_file_put, mem_file_put, tui_file_put, | |
552 | null_file_put): Update. | |
553 | ||
554 | * utils.c (struct gdb_file): Add field magic. | |
555 | (gdb_file_new): Initialize. | |
556 | (gdb_file_data): Verify. | |
557 | ||
558 | * utils.c (mem_file_fputs): Delete. Replaced by. | |
559 | (mem_file_write): New function. Rewrite mem_file. | |
560 | (mem_file_new): Update. | |
561 | ||
562 | Tue Nov 9 17:51:12 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
563 | ||
564 | * remote-sim.c (gdb_os_write_stdout): Use gdb_file_write. | |
565 | (gdb_os_flush_stdout): Flush gdb_stdtarg instead of gdb_stdout. | |
566 | ||
567 | Tue Nov 9 15:33:43 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
568 | ||
569 | * Makefile.in (procfs.o): Don't compile with -Werror for moment. | |
570 | * sol-thread.c (info_cb): Move assignments to outside of if | |
571 | statement. | |
572 | (info_cb): Use paddr when printing addresses. | |
573 | ||
de57eccd | 574 | 1999-11-08 Jim Blandy <jimb@cygnus.com> |
4ce44c66 JM |
575 | |
576 | * defs.h (ULONGEST_MAX, LONGEST_MAX): New definitions. | |
577 | * stabsread.c (read_huge_number): Parse and return LONGEST values. | |
578 | ||
11cf8741 JM |
579 | 1999-11-08 Mark Salter <msalter@cygnus.com> |
580 | ||
581 | * utils.c (floatformat_to_doublest): Fix conversion of denormals. | |
582 | ||
583 | Mon Nov 8 20:14:13 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
584 | ||
585 | * remote.c (get_memory_read_packet_size): For moment limit read | |
586 | size to PBUFSIZ. | |
587 | (putpkt_binary): Remove check on packet size. Allocate ``cnt + | |
588 | 6'' characters for output buffer. | |
589 | (get_memory_packet_size): When packet size is ``fixed'' and the | |
590 | size is zero, return MAX_REMOTE_PACKET_SIZE. Check that packets | |
591 | are at least MIN_REMOTE_PACKET_SIZE. | |
592 | (set_memory_packet_size): Print usage when ``args'' is NULL. | |
593 | ||
594 | Mon Nov 8 18:18:07 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
595 | ||
596 | * defs.h, utils.c (gdb_file_deallocate): Delete. | |
597 | * corefile.c (memory_error): Use make_cleanup_gdb_file_delete. | |
598 | ||
599 | * defs.h, utils.c (gdb_file_init_astring): Delete. | |
600 | ||
601 | * defs.h, utils.c (tui_file_get_strbuf): Rename | |
602 | gdb_file_get_strbuf. | |
603 | (tui_file_adjust_strbuf): Rename gdb_file_adjust_strbuf. | |
604 | * utils.c (error_stream, error_last_message): Update. | |
605 | ||
606 | Mon Nov 8 16:28:00 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
607 | ||
608 | * defs.h, utils.c (gdb_fclose): Delete. | |
609 | * defs.h (make_cleanup_gdb_file): Declare. | |
610 | * utils.c (make_cleanup_gdb_file_delete, do_gdb_file_delete): New | |
611 | functions. | |
612 | ||
613 | * symmisc.c (maintenance_print_symbols, | |
614 | maintenance_print_psymbols, maintenance_print_msymbols): Use | |
615 | make_cleanup_gdb_file_delete. | |
616 | * serial.c (do_serial_close): Use gdb_file_delete. | |
617 | ||
618 | Mon Nov 8 14:16:32 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
619 | ||
620 | * defs.h (gdb_file_write_ftype, set_gdb_file_write, | |
621 | gdb_file_write): Declare. | |
622 | ||
623 | * utils.c (struct gdb_file): Add to_write member. | |
624 | (gdb_file_write, set_gdb_file_write): New functions. | |
625 | (gdb_file_new): Initialize the write method. | |
626 | (null_file_write): New function. | |
627 | (null_file_fputs, null_file_write): ``write'' calls ``fputs'' and | |
628 | ``fputs'' calls ``write'' when the other is implemented. | |
629 | (stdio_file_new): Initialize write method. | |
630 | (stdio_file_write): New function. | |
631 | ||
632 | * utils.c (putchar_unfiltered, fputc_unfiltered): Use | |
633 | gdb_file_write. | |
634 | ||
635 | Thu Nov 4 11:59:24 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
636 | ||
637 | * remote.c (get_memory_packet_size, set_memory_packet_size, | |
638 | build_memory_packet_size): New functions. Set / compute / update | |
639 | the size of a memory read / write packet. | |
640 | (set_memory_read_packet_size, set_memory_write_packet_size): New | |
641 | functions. Verify changes to the memory read / write packet size. | |
642 | (prefered_memory_write_packet_size, | |
643 | current_memory_write_packet_size, prefered_memory_read_packet_size, | |
644 | current_memory_read_packet_size): New variables. | |
645 | (get_memory_read_packet_size, get_memory_write_packet_size): New | |
646 | functions. Determine the current memory read/write packet size. A | |
647 | function is needed as ``current_register_packet_size'', a variable | |
648 | is used in the calculation. | |
649 | (register_remote_packet_sizes, build_remote_packet_sizes): | |
650 | Initialize packet sizes according the current architecture. | |
651 | (remote_fetch_registers, remote_write_bytes, remote_read_bytes, | |
652 | build_remote_gdbarch_data): Update. | |
653 | (_initialize_remote): Add the commands ``set remote | |
654 | memory-read-packet-size'' and ``set remote | |
655 | memory-write-packet-size''. Deprecate ``set remotepacketsize''. | |
656 | ||
657 | Sun Nov 7 18:09:54 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
658 | ||
659 | * target.h, target.c (target_load): Replace macro with a function. | |
660 | ||
661 | * config/i960/tm-nindy960.h (ADDITIONAL_OPTION_HANDLER): Rewrite | |
662 | replacing SET_TOP_LEVEL with catch_command_errors. | |
663 | (nindy_open): Add extern declaration. | |
664 | ||
665 | * top.h (top_level_val, SET_TOP_LEVEL): Delete. | |
666 | * defs.h (catch_command_errors_ftype, catch_command_errors): Add | |
667 | declarations. | |
668 | * top.c (struct captured_command_args): Declare. | |
669 | (do_captured_command, catch_command_errors): New functions. Call | |
670 | the command function via catch_errors. | |
671 | (catch_errors): Add more comments. | |
672 | ||
673 | * main.c (struct captured_main_args): Define. | |
674 | (captured_main): New. Rewrite main. Replace SET_TOP_LEVEL with | |
675 | calls to catch_command_errors. Delete calls to do_cleanups which | |
676 | are now handled by catch_errors. Call the command loop via | |
677 | captured_command_loop and catch_errors. | |
678 | (main): Move code body to captured_main. Call captured_main via | |
679 | catch_errors. | |
680 | (captured_command_loop): New function. Wrap call to command_loop. | |
681 | ||
682 | 1999-11-05 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
683 | ||
684 | * procfs.c (unconditionally_kill_inferior) (init_procinfo) | |
685 | (create_procinfo) (procfs_exit_handler) (proc_set_exec_trap) | |
686 | (do_attach) (do_detach) (procfs_wait) (set_proc_siginfo) | |
687 | (procfs_resume) (info_proc_mappings) | |
688 | (modify_run_on_last_close_flag) (procfs_lwp_creation_handler) | |
689 | (procfs_thread_alive): Remove unused variables, conditionalize | |
690 | vars declarations to eliminate compiler warnings. | |
691 | ||
692 | Fri Nov 5 16:32:04 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
693 | ||
694 | * inferior.h (CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET, | |
695 | CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LENGTH, | |
696 | CALL_DUMMY_STACK_ADJUST, CALL_DUMMY_WORDS, | |
697 | SIZEOF_CALL_DUMMY_WORDS, PUSH_DUMMY_FRAME, FIX_CALL_DUMMY, | |
698 | STORE_STRUCT_RETURN), d10v-tdep.c (print_insn), d30v-tdep.c | |
699 | (print_insn), target.h (SOFTWARE_SINGLE_STEP): Call internal_error | |
700 | instead of abort. | |
701 | ||
702 | * utils.c (stdio_file_delete, stdio_file_flush, stdio_file_fputs, | |
703 | stdio_file_isatty, tui_file_delete, tui_file_isatty, | |
704 | tui_file_rewind, tui_file_put, gdb_file_init_astring, | |
705 | gdb_file_get_strbuf, gdb_file_adjust_strbuf): Call internal_error | |
706 | instead of error. | |
707 | ||
708 | 1999-11-04 Kevin Buettner <kevinb@cygnus.com> | |
709 | ||
710 | * remote.c (build_remote_gdbarch_data): Set remote_address_size... | |
711 | (_initialize_remote) ...but don't set it here. Also, tie | |
712 | remote_address_size to the target architecture via call to | |
713 | register_gdbarch_swap(). | |
714 | ||
715 | 1999-11-04 Jeff Holcomb <jeffh@cygnus.com> | |
716 | ||
717 | * remote-rdp.c (send_rdp): Fix typo. | |
718 | ||
719 | 1999-11-04 Michael Snyder <msnyder@cleaver.cygnus.com> | |
720 | ||
721 | * breakpoint.c (commands_command): remove unprotected ref to | |
722 | args pointer (which may be null). | |
723 | ||
724 | 1999-11-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
725 | ||
726 | * infcmd.c (print_return_value): New function. Print return value | |
727 | from finish command. | |
728 | (finish_command_continuation): Call print_return_value(). | |
729 | (finish_command): Ditto. | |
730 | ||
731 | 1999-11-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
732 | ||
733 | * infrun.c (handle_inferior_event): Add calls to print_stop_reason() | |
734 | for end of stepping range cases. | |
735 | ||
736 | Thu Nov 4 17:46:36 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
737 | ||
738 | * event-loop.c (gdb_do_one_event): Delete SET_TOP_LEVEL call. | |
739 | Move error code to start_event_loop. | |
740 | (start_event_loop): Call gdb_do_one_event via catch_errors. | |
741 | Handle caught errors. | |
742 | ||
743 | Thu Nov 4 17:36:27 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
744 | ||
745 | * breakpoint.c (get_number): Delete static declaration. | |
746 | ||
747 | 1999-11-03 Michael Snyder <msnyder@cleaver.cygnus.com> | |
748 | ||
749 | * breakpoint.c (map_breakpoint_numbers): use a match count | |
750 | instead of a goto. | |
751 | ||
752 | 1999-11-03 Nick Clifton <nickc@cygnus.com> | |
753 | ||
754 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): Change to | |
755 | little endian. | |
756 | ||
757 | 1999-11-02 Michael Snyder <msnyder@cleaver.cygnus.com> | |
758 | ||
759 | * target.h (target_new_objfile) replace macro with function pointer | |
760 | hook. Any module needing notification of new objfiles may claim | |
761 | this hook. Multiple notification clients must cooperate by saving | |
762 | the previous pointer (if any) and calling it. | |
763 | * sol-thread.c (_initialize_sol_thread): point new_objfile hook at | |
764 | sol_thread_new_objfile. Save old pointer if any. | |
765 | (sol_thread_new_objfile): call old owner of event hook if any. | |
766 | * hpux-thread.c (_initialize_hpux_thread, hpux_thread_new_objfile): | |
767 | ditto. | |
768 | * linux-thread.c (_initialize_linux_thread, linux_thread_new_objfile): | |
769 | ditto. | |
770 | symfile.c (symbol_file_add, clear_symtab_users) call the new | |
771 | function pointer hook, instead of the macro. | |
772 | * config/sparc/nm-sun4sol2.h: remove define of target_new_objfile. | |
773 | * config/pa/nm-hppah.h: ditto. | |
774 | * config/i386/nm-i386sol2.h: ditto. | |
775 | * config/i386/nm-linux.h: ditto. | |
776 | ||
777 | 1999-11-02 Tom Tromey <tromey@cygnus.com> | |
778 | ||
779 | * NEWS: Mention breakpoint ranges. | |
780 | ||
781 | 1999-11-02 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
782 | ||
783 | * rdi-share/devsw.c (openLogFile): Change a call to setlinebuf() | |
784 | to an equivalent call to setvbuf() to prevent an unresolved | |
785 | reference when building on cygwin. | |
786 | ||
787 | 1999-11-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
788 | ||
789 | * infrun.c (inferior_stop_reason): New enum, explicitly name the | |
790 | resons for which the inferior stops. | |
791 | (handle_inferior_event): Case TARGET_WAITKIND_EXITED: replace | |
792 | printf's with call to print_stop_reason(). Case | |
793 | TARGET_WAITKIND_SIGNALLED: Same. When stopped by random signal: | |
794 | Same. | |
795 | (print_stop_reason): New static function. Print relevant messages | |
796 | when stopping. | |
797 | ||
798 | 1999-11-02 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
799 | ||
800 | * rdi-share/Makefile.in: Rename dependency from bytesex.o to | |
801 | angel_bytesex.o. | |
802 | ||
803 | 1999-11-02 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
804 | ||
805 | * kod.c: Remove prototype for show_kod() which is no longer used. | |
806 | ||
5c44784c JM |
807 | 1999-11-01 Michael Snyder <msnyder@cygnus.com> |
808 | Tom Tromey <tromey@cygnus.com> | |
809 | ||
810 | * tracepoint.h (get_tracepoint_by_number): Updated declaration. | |
811 | * tracepoint.c (get_tracepoint_by_number): Added `multi_p' | |
812 | argument. Now uses get_number_or_range and get_number. | |
813 | (trace_pass_command): Allow a tracepoint range. | |
814 | * breakpoint.h (get_number, get_number_or_range): Declare. | |
815 | * breakpoint.c (get_number_trailer): New function. | |
816 | (get_number): Rewrote to use get_number_trailer. | |
817 | (get_number_or_range): New function. | |
818 | (condition_command): Check `get_number' return value. | |
819 | (commands_command): Likewise. | |
820 | (ignore_command): Likewise. | |
821 | (map_breakpoint_numbers): Use get_number_or_range. | |
822 | ||
823 | 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
824 | ||
825 | * remote-rdi.c (_initialize_remote_rdi): Make log commands | |
826 | subcommands of maintenance. Remove improper identation from | |
827 | command documentation. | |
828 | ||
829 | 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
830 | ||
831 | From Grant Edwards <grante@visi.com>: | |
832 | * rdi-share/etherdrv.c (fetch_ports): Print out additional TCP/IP | |
833 | port information in ethernet driver if the DEBUG flag is set. | |
834 | * rdi-share/hostchan.c (Adp_addToQueue): Changed #if statement in | |
835 | hostchan.c to avoid compiler complaint when DEBUG macro was | |
836 | undefined. | |
837 | * rdi-share/unixcomm.c (Unix_ReadSerial): Print system error code | |
838 | if read() system call fails. | |
839 | ||
840 | 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
841 | ||
842 | * rdi-share/bytesex.h: Deleted. Conflicts with a system header file | |
843 | on some systems like Linux Red Hat 5.2. | |
844 | * rdi-share/angel_bytesex.h: New file. Replaces the above. | |
845 | * rdi-share/bytesex.c: Deleted. Name changed to match the header | |
846 | mentioned above (this is the implementation file). | |
847 | * rdi-share/angel_bytesex.c: New file. Replaces the above. | |
848 | * rdi-share/Makefile.am: Reflect above changes. | |
849 | * rdi-share/Makefile.in: Reflect above changes. | |
850 | ||
851 | 1999-11-01 Jimmy Guo <guo@cup.hp.com> | |
852 | ||
853 | * annotate.c (breakpoints_changed, annotate_ignore_count_change, | |
854 | annotate_stopped): Provide annotation for breakpoint ignore_count | |
855 | changes but only provide once at annotate_stopped time for | |
856 | sucessive ignore_count triggered breakpoint changes, to make GUIs | |
857 | happy yet lazy. | |
858 | * annotate.h (annotate_ignore_count_change): Declare. | |
859 | * breakpoint.c (bpstat_stop_status): Call | |
860 | annotate_ignore_count_change when ignore_count changes. | |
861 | ||
862 | 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
863 | ||
864 | From Grant Edwards <grante@visi.com>: | |
865 | * rdi-share/ardi.c (HandleStoppedMessage): Changed code that | |
866 | handles the "stop" message so that unrecognized errors are | |
867 | returned as "Error" rather than "NoError". The old code resulted | |
868 | in some error conditions not being reported to the user. | |
869 | ||
870 | 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
871 | ||
872 | From Grant Edwards <grante@visi.com>: | |
873 | * remote-rdi.c (arm_rdi_open): Added a call to Adp_CloseDevice() | |
874 | before attempting to open a connection. This allows the user to | |
875 | issue the "target rdi" command multiple times (in case the user | |
876 | needs to change options or re-initialize the link). | |
877 | ||
878 | 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
879 | ||
880 | From Grant Edwards <grante@visi.com>: | |
881 | * rdi-share/endian.h: Deleted. Name clash with | |
882 | /usr/include/endian.h. This was causing the wrong byte order to | |
883 | be used by htons() in the RDI Ethernet driver. | |
884 | * rdi-share/angel_endian.h: New file. Replaces the above. | |
885 | * rdi-share/ardi.c: Replace include to reflect the above change. | |
886 | * rdi-share/etherdrv.c: Ditto. | |
887 | * rdi-share/hsys.c: Ditto. | |
888 | * rdi-share/msgbuild.c: Ditto. | |
889 | * rdi-share/params.c: Ditto. | |
890 | * rdi-share/rx.c: Ditto. | |
891 | * rdi-share/tx.c: Ditto. | |
892 | * rdi-share/Makefile.am: Reflect above changes. | |
893 | * rdi-share/Makefile.in: Reflect above changes. | |
894 | ||
895 | 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
896 | ||
897 | From Grant Edwards <grante@visi.com>: | |
898 | * remote-rdi.c (_initialize_remote_rdi): Added command | |
899 | rdilogenable. Allows the user to log ADP packets that are | |
900 | exchanged between gdb and the target. Both the raw packets are | |
901 | shown and some minimal decoding is attempted. Default state is | |
902 | disabled. | |
903 | (_initialize_remote_rdi): Added command rdilogfile. Allows the | |
904 | user to specify the filename to which the ADP packet log is to be | |
905 | written. Default state is "rdi.log". | |
906 | (rdilogenable_command): New function. Related to rdilogenable. | |
907 | (rdilogfile_command): New function. Related to rdilogfile. | |
908 | * rdi-share/devsw.c (openLogFile, closeLogFile, | |
909 | DevSW_SetLogEnable, DevSW_SetLogfile, dumpPacket): New | |
910 | functions. Implement logging. | |
911 | (DevSW_Read): Log if requested. | |
912 | (DevSW_Write): Log if requested. | |
913 | * rdi-share/devsw.h: Add prototypes for DevSW_SetLogfile and | |
914 | DevSW_SetLogEnable. | |
915 | * rdi-share/hostchan.c (Adp_SetLogEnable, Adp_SetLogfile): New | |
916 | functions. Related to rdilogenable and rdilogfile. | |
917 | * rdi-share/hostchan.h: Add prototypes for the above functions. | |
918 | ||
919 | 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
920 | ||
921 | From Grant Edwards <grante@visi.com>: | |
922 | * remote-rdi.c (arm_rdi_open): Added code to split the arguments | |
923 | to the 'target rdi' command at the first space. The first word is | |
924 | passed to Adp_OpenDevice as the device name, the tail is passed as | |
925 | the "arguments" parameter. This allows user specified baud rates | |
926 | -- among other things that still need to be documented [e.g. (gdb) | |
927 | target rdi /dev/ttyS1 19200]. NB: With very limited testing, the | |
928 | ARM Embedded-ICE seems to run at 19.2K (though it is reported to | |
929 | be unreliable above 9600), and the EPI Jeeni seems to run at | |
930 | 38.4K. | |
931 | ||
932 | 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
933 | ||
934 | From Grant Edwards <grante@visi.com>: | |
935 | * remote-rdi.c (_initialize_remote_rdi): Added the boolean | |
936 | set/show variable rdiromatzero. Should be set to true if the | |
937 | target has ROM at address 0. If true, then gdb will not tell the | |
938 | target to trap fetches to interrupt vectors (which are located at | |
939 | address 0). Using the Angel monitor, attempting to set | |
940 | breakpoints in ROM is an error. Using JTAG debugging of the | |
941 | ARM7TDMI, attempting to set more than two breakpoints in ROM is an | |
942 | error. Default state is false (vectors will be trapped) -- used to | |
943 | be hardwired false. | |
944 | ||
945 | 1999-11-01 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
946 | ||
947 | From Grant Edwards <grante@visi.com>: | |
948 | * remote-rdi.c (_initialize_remote_rdi): Added the boolean | |
949 | set/show variable rdiheartbeat. This enables or disables ADP | |
950 | link-check "heartbeat" packets sent by the host to the target. | |
951 | Heartbeat packets can cause both the ARM Embedded-ICE and the EPI | |
952 | Jeeni to malfunction: If a heartbeat packet is received by the | |
953 | target while it is sending a packet, that packet will be aborted, | |
954 | and the ADP protocol engine then gets very confused. Default state | |
955 | is off -- used to hardwired on. | |
956 | ||
957 | 1999-10-29 Kevin Buettner <kevinb@cygnus.com> | |
958 | ||
959 | * i386-linux-nat.c (dummy_sse_values): Also define for systems | |
960 | without PTRACE_GETXFPREGS. | |
961 | ||
962 | 1999-10-29 Jim Blandy <jimb@zwingli.cygnus.com> | |
963 | ||
964 | Hardware watchpoint fix from Eli Zaretskii <eliz@gnu.org>: | |
965 | ||
966 | * breakpoint.c (insert_breakpoints): Fetch the value of the | |
967 | expression we need to watch. If it's a lazy memory lvalue, then | |
968 | we need to fetch it now, before we start the inferior again. | |
969 | (insert_breakpoints, remove_breakpoint, bpstat_stop_status, | |
970 | can_use_hardware_watchpoint): Only those values representing | |
971 | memory we actually fetched need to be watched. | |
972 | ||
973 | 1999-10-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
974 | ||
975 | * breakpoint.h (bpstat_print): Return 'enum print_stop_action', | |
976 | not 'int'. | |
977 | ||
978 | 1999-10-29 Jim Blandy <jimb@zwingli.cygnus.com> | |
979 | ||
980 | * acconfig.h: Fix entries for HAVE_STRUCT_SAVE_STATE_T, | |
981 | HAVE_STRUCT_MEMBER_SS_WIDE, and HAVE_PTRACE_GETXFPREGS. | |
982 | * config.h.in: Regenerated. | |
983 | ||
984 | 1999-10-28 Jim Blandy <jimb@zwingli.cygnus.com> | |
985 | ||
986 | Fixes for warnings from Andreas Jaeger <aj@suse.de>. | |
987 | * linux-thread.c (linuxthreads_sig_restart, | |
988 | linuxthreads_sig_cancel, linuxthreads_sig_debug): Add missing | |
989 | initializers to avoid gcc warnings. | |
990 | (resume_thread): Add braces as recommended by gcc -Wparentheses. | |
991 | (stop_thread): Likewise. | |
992 | (linuxthreads_wait): Likewise. | |
993 | (linuxthreads_find_trap): Likewise. | |
994 | ||
995 | 1999-10-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
996 | ||
997 | * infcmd.c: Fix typo. | |
998 | ||
de57eccd | 999 | 1999-10-28 Jim Blandy <jimb@cygnus.com> |
5c44784c JM |
1000 | |
1001 | * gdbtypes.c (init_simd_type): The upper bound to | |
1002 | create_range_type is inclusive, not exclusive. | |
1003 | ||
4ce44c66 JM |
1004 | Add preliminary support for the Pentium-III's Streaming SIMD |
1005 | Extensions --- specifically, the ability to read the XMM | |
1006 | registers. | |
1007 | * Configure.in: Check for PTRACE_GETXFPREGS, and #define | |
5c44784c JM |
1008 | HAVE_PTRACE_GETXFPREGS if we have it. |
1009 | * acconfig.h: Add entry for HAVE_PTRACE_GETXFPREGS. | |
1010 | * configure, config.in: Regenerated. | |
1011 | * config/i386/tm-linux.h (HAVE_SSE_REGS): #define, iff the | |
1012 | configure script #defined HAVE_PTRACE_GETXFPREGS. | |
1013 | (REGISTER_VIRTUAL_TYPE): Provide the proper types for the pointer | |
1014 | registers and the SSE registers. | |
1015 | * i386-linux-nat.c (GETREGS_SUPPLIES, GETFPREGS_SUPPLIES, | |
1016 | GETXFPREGS_SUPPLIES): New macros. | |
1017 | (have_ptrace_getxfpregs): New variable. | |
1018 | (FPREGSET_T_FPREG_ADDR): Renamed from FPREGSET_T_FPREG_OFFSET. | |
1019 | (supply_fpregset, convert_to_fpregset): Callers changed. | |
1020 | (supply_xfpregset, convert_to_xfpregset, fetch_xfpregs, | |
1021 | store_xfpregs, dummy_sse_values): New functions. | |
1022 | (fetch_inferior_registers, store_inferior_registers): Use the | |
1023 | *_SUPPLIES macros to decide how to fetch a given register. Use | |
1024 | {fetch,store}_xfpregs and dummy_sse_values to provide access to | |
1025 | the SSE registers, on systems where they are present. | |
1026 | ||
1027 | 1999-10-28 Kevin Buettner <kevinb@cygnus.com> | |
1028 | ||
1029 | * gdbserver/gdbreplay.c (config.h, errno.h): Include. | |
1030 | (perror_with_name): Don't declare sys_nerr, sys_errlist, or errno | |
1031 | when STDC_HEADERS is defined. | |
1032 | * gdbserver/utils.c (STDC_HEADERS): Likewise. | |
1033 | ||
1034 | * gdbserver/low-hppabsd.c, gdbserver/low-linux.c, | |
1035 | gdbserver/low-lynx.c, gdbserver/low-sim.c, gdbserver/low-sparc.c, | |
1036 | gdbserver/low-sun3.c (my_registers): Declare. | |
1037 | (registers): Changed from array type to pointer type in order | |
1038 | to match declaration in inferior.h in main gdb sources. | |
1039 | * gdbserver/server.h (registers): Likewise. | |
1040 | * gdbserver/remote-utils.c (outreg): Removed declaration of | |
1041 | registers[]. | |
1042 | ||
1043 | * gdbserver/low-linux.c (fetch_register): Changed PTRACE_PEEKUSR to | |
1044 | PTRACE_PEEKUSER. [Note the missing 'E'.] | |
1045 | (store_inferior_registers): Likewise for PTRACE_POKEUSER. | |
1046 | ||
1047 | * gdbserver/low-linux.c (sys/ptrace.h): Move include to | |
1048 | avoid conflict with #defines coming from <sys/user.h>. | |
1049 | (sys/reg.h): Only include when HAVE_SYS_REG_H is defined. | |
1050 | (PTRACE_XFER_TYPE): Provide a default type in case | |
1051 | the target doesn't define it. | |
1052 | (fetch_register, read_inferior_memory, write_inferior_memory): | |
1053 | Use PTRACE_XFER_TYPE instead of int for ptrace() transfers. | |
1054 | (I386_GNULINUX_TARGET): Use #ifdef with this symbol instead | |
1055 | of assuming it's an x86 target when it's not a m68k target. | |
1056 | (i386_register_raw_size, i386_register_byte): Define these arrays | |
1057 | to match other changes that've been occuring to the x86 target | |
1058 | in the main gdb sources. | |
1059 | (initialize_arch): New (static) function for doing target arch | |
1060 | specific initializations. | |
1061 | ||
1062 | * gdbserver/server.h (MAXBUFBYTES, PBUFSIZ): New defines | |
1063 | [actually stolen from remote.c]. | |
1064 | * gdbserver/remote-utils.c (putpkt): Use PBUFSIZ to make | |
1065 | sure that buffer is big enough. | |
1066 | * gdbserver/server.c (main): Ditto. | |
1067 | ||
1068 | * gdbserver/remote-utils.c (outreg): Allow register numbers | |
1069 | bigger than 255. | |
1070 | (prepare_resume_reply): Provide alternate mechanism, | |
1071 | GDBSERVER_RESUME_REGS, for defining list of registers to send | |
1072 | to gdb. | |
1073 | * gdbserver/Makefile.in (INTERNAL_CFLAGS): Swapped order of | |
1074 | INCLUDE_CFLAGS and BFD_CFLAGS to ensure that gdb's config.h | |
1075 | gets found before bfd's config.h. Also added -DGDBSERVER | |
1076 | switch. | |
1077 | (INCLUDE_CFLAGS): Added -I.. . | |
1078 | ||
1079 | 1999-10-27 Nick Clifton <nickc@cygnus.com> | |
1080 | ||
1081 | * arm-tdep.c (THUMB_BE_BREAKPOINT): Change to 0xbebe. | |
1082 | (THUMB_LE_BREAKPOINT): Change to 0xbebe. | |
1083 | ||
e514a9d6 JM |
1084 | Mon Oct 25 18:22:06 1999 Andrew Cagney <cagney@b1.cygnus.com> |
1085 | ||
1086 | * remote.c: Document future of compare_sections_command. | |
1087 | (remote_insert_breakpoint, remote_remove_breakpoint, | |
1088 | remote_insert_watchpoint, remote_insert_watchpoint, | |
1089 | remote_remove_watchpoint, remote_insert_hw_breakpoint, | |
1090 | remote_remove_hw_breakpoint): Use alloca instead of GCC's dynamic | |
1091 | array feature. | |
1092 | ||
1093 | Mon Oct 25 18:08:31 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1094 | ||
1095 | * gdbarch.h (REGISTER_GDBARCH_SWAP): Define. | |
1096 | * gdbarch.sh: Update. | |
1097 | ||
1098 | Sat Oct 23 16:39:34 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1099 | ||
1100 | * gdbarch.c (initialize_current_architecture): Make ``choice'' | |
1101 | const. | |
1102 | ||
1103 | 1999-10-22 Tom Tromey <tromey@cygnus.com> | |
1104 | ||
1105 | * gdbarch.sh: Updated for gdbarch.[ch] changes. | |
1106 | * top.c (gdb_init): Call initialize_current_architecture. | |
1107 | * gdbarch.h (initialize_current_architecture): Declare. | |
1108 | * gdbarch.c (initialize_current_architecture): New function. | |
1109 | ||
1110 | 1999-10-21 Michael Snyder <msnyder@cleaver.cygnus.com> | |
1111 | ||
1112 | * utils.c (chars_per_line): fix typo in comment. | |
1113 | ||
1114 | 1999-10-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1115 | ||
1116 | * breakpoint.h (bp_print_how): New enum, used for deciding how to | |
1117 | print bpstat information when we stop, instead of having 3 | |
1118 | different functions. | |
1119 | (struct bpstat): Change print_it field to be an enum instead of a | |
1120 | function pointer. | |
1121 | ||
1122 | * breakpoint.c (print_it_typical): New name for print_it_normal(). | |
1123 | (print_bp_stop_message): New function. High level routine for | |
1124 | printing of why we stopped. | |
1125 | (bpstat_print): Call print_bp_stop_message instead of using the | |
1126 | print_it function pointer. | |
1127 | (print_it_done, print_it_noop): Delete these functions. | |
1128 | ||
1129 | 1999-10-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1130 | ||
1131 | * breakpoint.c (print_it_normal): Reorganize into a switch | |
1132 | statement. | |
1133 | ||
1134 | 1999-10-21 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1135 | ||
1136 | * Makefile.in (event-top.o): Add dependency on target.h. | |
1137 | * event-top.c: Make dependency on target.h explicit. | |
1138 | ||
1139 | * breakpoint.c (bpstat_print): Clean up logic. Remove recursion. | |
1140 | (catch_exec_command_1): Surround with appropriate ifdef's, | |
1141 | to avoid compiler warnings. | |
1142 | (catch_fork_command_1): Ditto. | |
1143 | ||
de57eccd | 1144 | 1999-10-20 Jim Blandy <jimb@cygnus.com> |
e514a9d6 JM |
1145 | |
1146 | * Makefile.in (dwarf2read.o): Note that this depends on bfd/elf-bfd.h. | |
1147 | (elf_bfd_h): New variable. | |
1148 | ||
de57eccd | 1149 | 1999-10-19 Jim Blandy <jimb@cygnus.com> |
e514a9d6 JM |
1150 | |
1151 | * config/i386/tm-i386.h (REGISTER_NAMES): Change names of FPU | |
1152 | instruction and operand pointer registers to improve consistency, | |
1153 | following J. T. Conklin's suggestions. | |
1154 | ||
917317f4 JM |
1155 | 1999-10-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
1156 | ||
1157 | * breakpoint.h: Change return type of field print_it of struct | |
1158 | bpstats to enumeration print_stop_action. | |
1159 | Define new enumeration print_stop_action. | |
1160 | ||
1161 | * breakpoint.c (print_it_normal): Change return type to | |
1162 | enumeration type print_stop_action. Handle bp_shlib_event here | |
1163 | instead of in normal_stop(). | |
1164 | (bpstat_print): Change return type to enumeration type | |
1165 | print_stop_action. | |
1166 | (print_it_done): Ditto. | |
1167 | (print_it_noop): Ditto. | |
1168 | ||
1169 | * infrun.c (is_internal_shlib_eventpoint): Delete this function. | |
1170 | (stopped_for_internal_shlib_event): Delete. | |
1171 | (normal_stop): Move logic to handle bp_shlib_event from here to | |
1172 | print_it_normal(). Use switch to handle return value from | |
1173 | bpstat_print(). | |
1174 | ||
1175 | Mon Oct 18 17:32:51 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1176 | ||
1177 | * symfile.c (generic_load): Rewrite. Make the size of each | |
1178 | chunk/block write a run-time option. Check for quit_flag. | |
1179 | Use target_write_memory_partial for downloads. | |
1180 | ||
de57eccd | 1181 | 1999-10-18 Jim Blandy <jimb@cygnus.com> |
917317f4 JM |
1182 | |
1183 | Change Linux x86 register support to use the new tm-i386.h layout. | |
1184 | * config/i386/tm-linux.h (HAVE_I387_REGS): #define this, so we get | |
1185 | the full set of FP register definitions from tm-i386.h. | |
1186 | (REGISTER_RAW_SIZE, REGISTER_NAMES, REGISTER_BYTES, REGISTER_BYTE, | |
1187 | MAX_REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE, NUM_REGS, | |
1188 | NUM_FREGS): Remove #undefs and subsequent redefinitions: we're | |
1189 | using the values from tm-i386.h now. | |
1190 | (FPSTART_REGNUM, FPCONTROL_REGNUM, FPSTATUS_REGNUM, FPTAG_REGNUM, | |
1191 | FPDATA_REGNUM, FPEND_REGNUM, FPENV_BYTES, FPREG_RAW_SIZE, | |
1192 | FPREG_BYTES): Deleted. | |
1193 | (TARGET_LONG_DOUBLE_BIT): Deleted. | |
1194 | (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL, | |
1195 | REGISTER_CONVERT_TO_RAW): Redefine these only if LD_I387 is #defined. | |
1196 | * i386-linux-nat.c (convert_to_gregset, convert_to_fpregset, | |
1197 | FPREGSET_T_FPREG_OFFSET): New functions and macros. | |
1198 | (supply_gregset, fill_gregset, supply_fpregset, | |
1199 | fill_fpregset, fetch_fpregs, store_fpregs, fetch_regs, | |
1200 | store_regs, fetch_inferior_registers, store_inferior_registers): | |
1201 | Adjusted to use new macros from tm-i386.h. | |
1202 | ||
1203 | * config/i386/tm-i386.h: Provide a decent x86 FPU description here, | |
1204 | so that the various i386 targets can share more FPU handling code. | |
1205 | (NUM_GREGS): New macro. | |
1206 | (NUM_SSE_REGS): New macro, dependent on HAVE_SSE_REGS | |
1207 | (NUM_FREGS): Depend on HAVE_I387_REGS. | |
1208 | (NUM_REGS, REGISTER_BYTES): Define in terms of NUM_GREGS, | |
1209 | NUM_FREGS, and NUM_SSE_REGS. | |
1210 | (MAX_NUM_REGS): New macro. | |
1211 | (REGISTER_NAMES): Expand name list with FPU control registers and | |
1212 | SSE registers. | |
1213 | (FP7_REGNUM, FCTRL_REGNUM, FSTAT_REGNUM, FTAG_REGNUM, FCS_REGNUM, | |
1214 | FCOFF_REGNUM, FDS_REGNUM, FDOFF_REGNUM, FOP_REGNUM, | |
1215 | FIRST_FPU_CTRL_REGNUM, LAST_FPU_CTRL_REGNUM): New macros, more | |
1216 | fully describing the FPU register set. | |
1217 | (XMM0_REGNUM, XMM7_REGNUM, MXCSR_REGNUM): New macros, describing | |
1218 | the SSE register set. | |
1219 | (IS_FP_REGNUM, IS_SSE_REGNUM, FPU_REG_RAW_SIZE, SIZEOF_GREGS, | |
1220 | SIZEOF_FPU_REGS, SIZEOF_FPU_CTRL_REGS, SIZEOF_SSE_REGS): New | |
1221 | convenience macros. | |
1222 | (REGISTER_BYTE, REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Turn | |
1223 | these into tables, since the register sizes are pretty irregular. | |
1224 | (i386_register_byte, i386_register_raw_size, | |
1225 | i386_register_virtual_size): New extern declarations. | |
1226 | (TARGET_LONG_DOUBLE_BIT): Define. | |
1227 | (MAX_REGISTER_RAW_SIZE): Bump to 16, for the SSE registers. | |
1228 | (REGISTER_VIRTUAL_TYPE, REGISTER_CONVERTIBLE, | |
1229 | REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW): New macros | |
1230 | for handling floating-point registers. | |
1231 | (i387_to_double, double_to_i387): New extern declarations. | |
1232 | * i386-tdep.c (i386_register_byte, i386_register_raw_size, | |
1233 | i386_register_virtual_size): New arrays. | |
1234 | (_initialize_i386_tdep): Initialize i386_register_byte and | |
1235 | i386_register_virtual_size. | |
1236 | ||
1237 | * i386-tdep.c (_initialize_i386_tdep): Move new_cmd to a block | |
1238 | created specially for its use. | |
1239 | ||
1240 | Mon Oct 18 23:36:58 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1241 | ||
1242 | * symfile.c (generic_load): Cleanup the validate code - remove | |
1243 | #ifdef, use paddr to print address. | |
1244 | (validate_download): Static, replace VALIDATE_DOWNLOAD | |
1245 | ||
1246 | * symfile.c (generic_load): Use strtoul to scan the optional load | |
1247 | offset. Allocate a filename of the correct size. | |
1248 | ||
1249 | Mon Oct 18 17:32:51 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1250 | ||
1251 | * symfile.c (generic_load): Don't filter output. Use | |
1252 | print_transfer_performance for summary. Use paddr for addresses. | |
1253 | (print_transfer_performance): New function. Includes write count. | |
1254 | (report_transfer_performance): Call | |
1255 | print_transfer_performance. Deprecate. | |
1256 | ||
1257 | * defs.h (print_transfer_performance): Add declaration. | |
1258 | (generic_load): Move declaration to here. | |
1259 | * symfile.h (generic_load): From here. | |
1260 | ||
1261 | Mon Oct 18 16:29:52 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
1262 | ||
1263 | * remote.c (remote_write_bytes): Re-write. Transfer a single | |
1264 | packet and then return the that packets byte size. | |
1265 | ||
1266 | Sun Oct 17 15:09:00 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1267 | ||
1268 | * remote.c (remote_console_output): Flush gdb_stdtarg after | |
1269 | processing an ``O'' packet. | |
1270 | * remote.h (remote_console_output): Strip PARAMS. | |
1271 | ||
1272 | Sun Oct 17 15:12:33 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1273 | ||
1274 | * target.c (target_xfer_memory_partial): New function. Simple | |
1275 | implementation of partial memory reads. | |
1276 | (target_read_memory_partial): New function. Replaces old | |
1277 | target_read_memory_partial. | |
1278 | (target_write_memory_partial): New function. | |
1279 | * target.h: Update. | |
1280 | ||
1281 | * valprint.c (partial_memory_read): New function, based on old | |
1282 | memory_read_partial. Implement partial memory reads the way that | |
1283 | val_print_string likes. | |
1284 | (val_print_string): Use partial_memory_read. | |
1285 | ||
1286 | Sun Oct 17 13:58:56 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1287 | ||
1288 | * defs.h (ui_load_progress_hook): Add declaration. | |
1289 | * dsrec.c (ui_load_progress_hook): Delete extern declaration. | |
1290 | ||
1291 | * symfile.c (ui_load_progress_hook): Make first argument const. | |
1292 | (generic_load): Don't cast the result of bfd_get_section_name. | |
1293 | Replace ``sect'' with ``sect_name'', use consistently. | |
1294 | ||
de57eccd | 1295 | 1999-10-15 Jim Blandy <jimb@cygnus.com> |
917317f4 JM |
1296 | |
1297 | Add beginnings of support for SIMD register types. | |
1298 | * gdbtypes.c (init_simd_type): New function for building | |
1299 | types for registers consisting of arrays of objects. | |
1300 | (builtin_type_v4sf): New built-in type. | |
1301 | (build_gdbtypes): Initialize it. | |
1302 | (_initialize_gdbtypes): Arrange for gdbarch swapping. | |
1303 | * gdbtypes.h (builtin_type_v4sf): Add external decl. | |
1304 | ||
1305 | Fri Oct 15 18:20:33 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1306 | ||
1307 | * remote-hms.c: Commented out H8 code. | |
1308 | ||
1309 | Fri Oct 15 17:46:39 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1310 | ||
1311 | * dcache.c (dcache_p): Rename variable remote_dcache. Make | |
1312 | static. | |
1313 | (_initialize_dcache): Fix description of ``set remotecache''. | |
1314 | Cache is OFF by default. | |
1315 | ||
de57eccd | 1316 | 1999-10-13 Jim Blandy <jimb@cygnus.com> |
917317f4 JM |
1317 | |
1318 | * valops.c (value_push): Don't forget to initialize container_len. | |
1319 | ||
1320 | Wed Oct 13 17:58:20 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1321 | ||
1322 | * utils.c (tui_file_flush): Don't call flush_hook. Don't try to | |
1323 | flush ``astring''. | |
1324 | * gdb-events.sh: Update | |
1325 | * top.c (flush_hook): Delete. | |
1326 | ||
1327 | 1999-10-13 Kevin Buettner <kevinb@cygnus.com> | |
1328 | ||
1329 | * mem-break.c (memory_insert_breakpoint, | |
1330 | memory_remove_breakpoint): Added missing return statements. | |
1331 | ||
1332 | Wed Oct 13 20:53:42 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1333 | ||
1334 | * utils.c (mem_fileopen, mem_file_delete, mem_file_new, | |
1335 | mem_file_rewind, mem_file_put, mem_file_fputs): New functions. | |
1336 | * defs.h (mem_fileopen): Declare. | |
1337 | ||
1338 | 1999-10-13 Kevin Buettner <kevinb@cygnus.com> | |
1339 | ||
1340 | * mem-break.c (default_memory_insert_breakpoint): Renamed from | |
1341 | memory_insert_breakpoint. | |
1342 | (default_memory_remove_breakpoint): Renamed from | |
1343 | memory_remove_breakpoint. | |
1344 | (memory_insert_breakpoint, memory_remove_breakpoint, | |
1345 | MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT): New | |
1346 | wrappers. | |
1347 | * target.h (default_memory_remove_breakpoint, | |
1348 | default_memory_insert_breakpoint): Added declarations. | |
1349 | * gdbarch.sh (MEMORY_INSERT_BREAKPOINT, MEMORY_REMOVE_BREAKPOINT): | |
1350 | New methods. | |
1351 | * gdbarch.h, gdbarch.c (MEMORY_INSERT_BREAKPOINT, | |
1352 | MEMORY_REMOVE_BREAKPOINT, gdbarch_memory_insert_breakpoint, | |
1353 | gdbarch_memory_remove_breakpoint, set_gdbarch_memory_insert_breakpoint, | |
1354 | set_gdbarch_memory_remove_breakpoint) : Generated from gdbarch.sh. | |
1355 | ||
1356 | Wed Oct 13 19:15:51 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1357 | ||
1358 | * defs.h: Remove PARAMS from all declarations. Re-indent. Clean | |
1359 | up the gdb_file declarations. | |
1360 | ||
1361 | Tue Oct 12 12:19:07 1999 David Taylor <taylor@texas.cygnus.com> | |
1362 | ||
1363 | * i386-linux-nat.c (supply_fpregset, fill_fpregset): copy | |
1364 | from/to start of fpregsetp not start of st_space as the first | |
1365 | stuff we copy is the FP control registers not the actual FP values. | |
1366 | ||
1367 | 1999-10-12 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1368 | ||
1369 | * eval.c (evaluate_subexp_standard): Fix gdb invocation of | |
1370 | inferior C functions when debugging C++ code. | |
1371 | * valops.c (find_overload_match): Ditto. | |
1372 | * symtab.c (make_symbol_overload_list): Ditto. | |
1373 | ||
2df3850c JM |
1374 | 1999-10-11 Jim Blandy <jimb@zwingli.cygnus.com> |
1375 | ||
1376 | * config/pa/tm-hppa.h (SYMBOLS_CAN_START_WITH_DOLLAR): It's not | |
1377 | enough to #define this; you have to give it a non-zero value. | |
1378 | ||
de57eccd | 1379 | 1999-10-11 Jim Blandy <jimb@cygnus.com> |
2df3850c JM |
1380 | |
1381 | Fix from Jim Kingdon <kingdon@redhat.com>, with tweaks to make it | |
1382 | gdbarch- and bigendian-friendly: | |
1383 | * valops.c (PARM_BOUNDARY): If not #defined, default to zero. | |
1384 | (value_push): If PARM_BOUNDARY is not zero, align arguments to | |
1385 | that boundary. | |
1386 | * config/i386/tm-i386.h: Define PARM_BOUNDARY. | |
1387 | ||
1388 | Mon Oct 11 14:23:55 1999 Fred Fish <fnf@cygnus.com> | |
1389 | ||
1390 | * config/mips/tm-irix3.h (PS_REGNUM): Don't undef if we aren't | |
1391 | going to redefine it to something else. | |
1392 | ||
1393 | 1999-10-11 Jason Merrill <jason@yorick.cygnus.com> | |
1394 | ||
1395 | * dwarfread.c (read_func_scope): Don't try to set main_func_*; | |
1396 | we handle that in blockframe.c:inside_main_func. | |
1397 | * dwarf2read.c (read_func_scope): Likewise. | |
1398 | (dwarf2_add_field, dwarf2_add_member_fn): Get member function name | |
1399 | directly, not from mangled name. | |
1400 | (skip_member_fn_name): Lose. | |
1401 | ||
1402 | Mon Oct 11 12:24:52 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1403 | ||
1404 | * serial.h (enum serial_rc): Clarify SERIAL_TIMEOUT and | |
1405 | restrictions on TIMEOUT in ASYNC mode. | |
1406 | ||
1407 | * serial.c (serial_readchar): Check for invalid timeout when in | |
1408 | async mode. Disable test. | |
1409 | ||
1410 | Thu Oct 7 17:20:01 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
1411 | ||
1412 | * monitor.c (monitor_printable_string): Add length argument. Don't | |
1413 | return final string length. | |
1414 | (monitor_printf_noecho, monitor_printf, monitor_expect): Update. | |
1415 | (monitor_error): Pass real_len to monitor_printable_string. | |
1416 | (monitor_error): Rewrite. Replace printf fmt string parameter with | |
1417 | function name and message parameters. | |
1418 | (monitor_read_memory_single, monitor_read_memory): Update. | |
1419 | ||
1420 | 1999-10-07 Stan Shebs <shebs@andros.cygnus.com> | |
1421 | ||
1422 | * main.c (print_gdb_help): Fix bug reporting address. | |
1423 | * gnu-regex.h, gnu-regex.c: Ditto. | |
1424 | ||
1425 | 1999-10-07 Jim Blandy <jimb@zwingli.cygnus.com> | |
1426 | ||
1427 | * parse.c (SYMBOLS_CAN_START_WITH_DOLLAR): New macro, | |
1428 | whose value can be overridden by target files. | |
1429 | (write_dollar_variable): Don't check the symbol table for | |
1430 | identifiers beginning with `$' unless | |
1431 | SYMBOLS_CAN_START_WITH_DOLLAR is non-zero. | |
1432 | * config/pa/tm-hppa.h (SYMBOLS_CAN_START_WITH_DOLLAR): Define. | |
1433 | * doc/gdbint.texinfo (SYMBOLS_CAN_START_WITH_DOLLAR): Document. | |
1434 | ||
1435 | Remove all traces of the BINOP_SCOPE operator. It's never | |
1436 | generated, and not implemented. | |
1437 | * expression.h (enum exp_opcode): Delete BINOP_SCOPE. | |
1438 | * c-lang.c (c_op_print_tab): Delete entry for BINOP_SCOPE. | |
1439 | * eval.c (evaluate_subexp_standard): Doc fix. | |
1440 | * expprint.c (op_name): Remove case for BINOP_SCOPE. | |
1441 | (dump_subexp): Same. | |
1442 | ||
1443 | * dwarf2read.c (dwarf2_const_value): Treat DW_FORM_data1, | |
1444 | DW_FORM_data2, DW_FORM_data4, and DW_FORM_data8 as signed values, | |
1445 | since that's what read_var_value will do anyway. | |
1446 | ||
1447 | 1999-10-07 Fred Fish <fnf@cygnus.com> | |
1448 | ||
1449 | * objfiles.h (struct objfile): Delete is_solib member, now handled | |
1450 | by OBJF_SHARED bit in struct objfile's flags. | |
1451 | * objfiles.c (objfile_purge_solibs): Check OBJF_SHARED bit in flags | |
1452 | instead of old is_solib int member in objfile struct. | |
1453 | ||
1454 | * objfiles.c (allocate_objfile): Remove is_solib arg. Now passed | |
1455 | as a bit in combined flags arg. | |
1456 | * symfile.c (symbol_file_add): Ditto. | |
1457 | * objfiles.h (allocate_objfile): Adjust prototype after removal | |
1458 | of is_solib arg. | |
1459 | * symtab.h (symbol_file_add): Ditto. | |
1460 | ||
1461 | * cxux-nat.c (add_shared_symbol_files): Remove zero passed to | |
1462 | symbol_file_add in old is_solib arg, defaults to zero now in | |
1463 | flags. | |
1464 | * irix5-nat.c (symbol_add_stub): Ditto. | |
1465 | * remote-mm.c (mm_load): Ditto. | |
1466 | * remote-udi.c (udi_load): Ditto. | |
1467 | * remote-vx.c (vx_add_symbols): Ditto. | |
1468 | * symfile.c (symbol_file_command): Ditto. | |
1469 | (add_symbol_file_command): Ditto. | |
1470 | ||
1471 | * coff-solib.c (coff_solib_add): Call symbol_file_add with | |
1472 | OBJF_SHARED in flags bit, rather than 1 in old is_solib | |
1473 | arg. | |
1474 | * osfsolib.c (symbol_add_stub): Ditto. | |
1475 | * pa64solib.c (pa64_solib_add_solib_objfile): Ditto. | |
1476 | * solib.c (symbol_add_stub): Ditto. | |
1477 | * somsolib.c (som_solib_add_solib_objfile): Ditto. | |
1478 | * win32-nat.c (handle_load_dll): Ditto. | |
1479 | ||
1480 | * objfiles.c (allocate_objfile): Remove old args "mapped" and | |
1481 | "user_loaded". Replaced with new arg "flags" containing specific | |
1482 | If global var mapped_symbol_files is nonzero | |
1483 | then set OBJF_MAPPED in flags arg. Check for OBJF_MAPPED bit in | |
1484 | flags where we used to check mapped arg. | |
1485 | Pass flags to open_mapped_file instead of mapped arg. | |
1486 | Ensure that OBJF_MAPPED bit is reset in flags when the objfile | |
1487 | is not mapped. Add passed flags bits to objfile's flags bits. | |
1488 | (open_mapped_file): Replace "mapped" arg with new "flags" arg. | |
1489 | Adjust prototype. Pass flags to open_existing_mapped_file. | |
1490 | (open_existing_mapped_file): Replace "mapped" arg with new "flags". | |
1491 | Check flags for OBJF_MAPPED. | |
1492 | * objfiles.h (allocate_objfile): Adjust prototype. | |
1493 | * rs6000-nat.c (add_vmap): Pass zero for combined flags, rather | |
1494 | than separate zero ints for old "mapped" and "user_loaded" flags. | |
1495 | * symfile.c (symbol_file_add): Pass allocate_objfile combined flags | |
1496 | rather than individual mapped and user loaded bits. | |
1497 | ||
1498 | * symfile.c (symbol_file_add): Delete user_loaded arg. | |
1499 | * symtab.h (symbol_file_add): Adjust prototype for deleted | |
1500 | user_loaded arg. | |
1501 | * objfiles.h (struct objfile): Delete user_loaded member. | |
1502 | (OBJF_USERLOADED): New flag bit to replace user_loaded. | |
1503 | ||
1504 | * symfile.c (symbol_file_command): Add OBJF_USER_LOADED to flags | |
1505 | passed to symbol_file_add. Delete previous passing of explicit 1 | |
1506 | for user_loaded. | |
1507 | (add_symbol_file_command): Ditto. | |
1508 | ||
1509 | * coff-solib.c (coff_solib_add): No longer pass zero for user loaded, | |
1510 | now defaults to zero in flags. | |
1511 | * cxux-nat.c (add_shared_symbol_files): Ditto. | |
1512 | * irix5-nat.c (symbol_add_stub): Ditto. | |
1513 | * osfsolib.c (symbol_add_stub): Ditto. | |
1514 | * remote-mm.c (mm_load): Ditto. | |
1515 | * pa64solib.c (pa64_solib_add_solib_objfile): Ditto. | |
1516 | * remote-udi.c (udi_load): Ditto. | |
1517 | * remote-vx.c (vx_add_symbols): Ditto. | |
1518 | * solib.c (symbol_add_stub): Ditto. | |
1519 | * somsolib.c (som_solib_add_solib_objfile): Ditto. | |
1520 | * win32-nat.c (handle_load_dll): Ditto. | |
1521 | ||
1522 | Thu Oct 7 19:24:05 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1523 | ||
1524 | * Makefile.in (monitor.o): Allow monitor.o to be compiled with | |
1525 | -Werror. | |
1526 | ||
1527 | * monitor.c (monitor_debug_p): New variable. Replaces macro. | |
1528 | (EXTRA_RDEBUG): Delete. Update all uses. | |
1529 | (monitor_debug): New function. Replaces macro. | |
1530 | (RDEBUG): Delete macro. Update all uses. | |
1531 | debug output to gdb_stdlog and not the console. | |
1532 | ||
1533 | * monitor.c: Fix printf formating. Replace printf calls with | |
1534 | fprintf_unfiltered. | |
1535 | ||
1536 | 1999-10-06 Stan Shebs <shebs@andros.cygnus.com> | |
1537 | ||
1538 | * MAINTAINERS: Switch ARM target maintenance from Elena | |
1539 | Zannoni to Jim Ingham. | |
1540 | ||
1541 | 1999-10-06 Frank Ch. Eigler <fche@cygnus.com> | |
1542 | ||
1543 | * remote.c (hexnumnstr): New function. Allow setting of width. | |
1544 | (hexnumstr): Call the above. | |
1545 | (remote_write_bytes): Fill in X-protocol address field more | |
1546 | reliably. | |
1547 | ||
1548 | 1999-10-06 Fred Fish <fnf@cygnus.com> | |
1549 | ||
1550 | * xcoffread.c (xcoff_symfile_offsets): Fix typo, addr->addrs. | |
1551 | ||
1552 | 1999-10-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1553 | ||
1554 | * remote.c (handle_remote_sigint_twice): Make this signal be | |
1555 | handled by inferior_event_handler, via the wrapper function. | |
1556 | (async_remote_interrupt_twice): Make not static. Add debug print. | |
1557 | * remote.h (async_remote_interrupt_twice): Export for use in | |
1558 | inf-loop.c. | |
1559 | ||
1560 | * inf-loop.c (inferior_event_handler_wrapper): New function. | |
1561 | (inferior_event_handler): Handle a request to quit and kill the | |
1562 | target. | |
1563 | Include remote.h. | |
1564 | * inf-loop.h (inferior_event_handler_wrapper): Export. | |
1565 | ||
2acceee2 JM |
1566 | 1999-10-04 James Ingham <jingham@leda.cygnus.com> |
1567 | ||
1568 | * remote-rdi.c (arm_rdi_open): If the angel_RDI_Open fails, close | |
1569 | the serial port and raise an error. If you try to go on, you will | |
1570 | stall forever down in the rdi-share code. | |
1571 | ||
1572 | 1999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1573 | ||
1574 | * printcmd.c (output_command): Makes sure result from the output | |
1575 | command is printed before the next prompt. | |
1576 | ||
1577 | 1999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1578 | ||
1579 | * printcmd.c (print_formatted): Add missing stream parameter. | |
1580 | (do_examine, print_command_1, output_command, do_one_display): | |
1581 | Adjust call to print_formatted(). | |
1582 | ||
1583 | 1999-10-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1584 | ||
1585 | * infcmd.c: Remove include of event-loop.h. | |
1586 | * utils.c: Ditto. | |
1587 | * top.c: Ditto. | |
1588 | ||
1589 | * infrun.c (fetch_inferior_event): Call inferior_event_handler | |
1590 | when inferior stops, instead of doing work ourselves. | |
1591 | (fetch_inferior_event): Use void* instead of gdb_client_data. | |
1592 | Remove includes of event-top.h and event-loop.h. Add include of | |
1593 | inf-loop.h. | |
1594 | (complete_execution): Move from here. | |
1595 | ||
1596 | * inf-loop.c (complete_execution): To here. | |
1597 | (inferior_event_handler): Handle inferior's execution completion | |
1598 | case as well. | |
1599 | * inf-loop.h: Add def of INF_LOOP_H. | |
1600 | ||
1601 | * event-top.h: Don't use gdb_client_data, use void*, to avoid | |
1602 | dependency on event-loop.h. | |
1603 | ||
1604 | * remote.c (remote_async_resume): Set target_executing only after we | |
1605 | actually register the inferior with the event loop. | |
1606 | ||
1607 | 1999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1608 | ||
1609 | * corefile.c (memory_error): Use error_stream() and eliminate call | |
1610 | to return_to_top_level(). | |
1611 | ||
1612 | 1999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1613 | ||
1614 | * utils.c (error): Save error message text (w/o new line). | |
1615 | (error_last_message): New function. Returns the last message | |
1616 | issued by gdb. | |
1617 | (error_init): New function. Initializes error handling machinery. | |
1618 | (error_stream): New function. Allows the error message to be | |
1619 | passed on a stream buffer. | |
1620 | * defs.h: Add prototypes for error_stream() and | |
1621 | error_last_message(). | |
1622 | * main.c (main): Add call to error_init(). | |
1623 | ||
1624 | 1999-10-04 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
1625 | ||
1626 | * utils.c (tui_sfileopen): New function. Replaces | |
1627 | gdb_file_init_astring(). | |
1628 | * defs.h: Add prototype for the above. | |
1629 | ||
1630 | Mon Oct 4 19:25:55 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1631 | ||
1632 | * symfile.c (add_symbol_file_command): Fix -Wformat on query call. | |
1633 | ||
1634 | 1999-10-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1635 | ||
1636 | * target.c (cleanup_target): Type of to_async param is now | |
1637 | function with enum inferior_event_type param. | |
1638 | ||
1639 | * target.h (target_ops): Adjust to_async accordingly. Move enum | |
1640 | inferior_event_type to this file. Don't have a typedef for | |
1641 | inferior_event_type. Add more enumeration constants INF_QUIT_REQ, | |
1642 | INF_EXEC_COMPLETE. Remove INF_SIGINT_FIRST, INF_SIGINT_SECOND. | |
1643 | ||
1644 | * inf-loop.c (inferior_event_handler): Change first param to tell | |
1645 | the type of event we are dealing with. Deal with INF_ERROR and | |
1646 | INF_REG_EVENT, for the moment. | |
1647 | Include target.h. | |
1648 | ||
1649 | * inf-loop.h (inferior_event_handler): Adjust prototype. Remove | |
1650 | enum inferior_event_type from here. | |
1651 | ||
1652 | * remote.c (remote_async_serial_handler): Pass INF_REG_EVENT to | |
1653 | the client callback. | |
1654 | (remote_async): Change callback's param type to inferior_event_type. | |
1655 | (async_client_callback): Change type as above. | |
1656 | ||
1657 | 1999-10-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1658 | ||
1659 | * event-top.c (stdin_event_handler): Delete fd parameter, use | |
1660 | input_fd instead. | |
1661 | * event-top.h (stdin_event_handler): Delete fd parameter. | |
1662 | ||
1663 | * inf-loop.c (inferior_event_handler): Delete fd parameter. Use | |
1664 | target_async() to unregister the inferior fd in case of errors. | |
1665 | * inf-loop.h(inferior_event_handler): Delete fd parameter. | |
1666 | ||
1667 | * ser-unix.c (fd_event): Delete fd parameter. Use scb->fd, | |
1668 | instead. | |
1669 | ||
1670 | * remote.c (async_client_callback): Delete fd parameter. | |
1671 | (remote_async_serial_handler): Ditto. | |
1672 | (remote_async): Adjust to new type of callback function. | |
1673 | ||
1674 | * target.c (cleanup_target): Adjust parameters for to_async | |
1675 | default case. | |
1676 | * target.h (*to_async): Delete fd parameter from cb function. | |
1677 | ||
1678 | * event-loop.h (handler_func): Delete fd parameter. | |
1679 | * event-loop.c (handle_file_event): Delete fd param from call to | |
1680 | proc. Do not include inferior.h. | |
1681 | ||
1682 | 1999-10-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1683 | ||
1684 | * event-loop.c (inferior_event_handler, | |
1685 | inferior_event_handler_wrapper): Move from here. | |
1686 | * inf-loop.c: To here. New file. | |
1687 | ||
1688 | * event-loop.h (inferior_event_handler): Move from here. | |
1689 | * inf-loop.h: To here. New file. | |
1690 | ||
1691 | * remote.c: Include inf-loop.h. | |
1692 | (set_extende_protocol): Remove unused prototpye. | |
1693 | ||
1694 | * Makefile.in (SFILES): Add inf-loop.c. | |
1695 | (inf_loop_h): Define. | |
1696 | (COMMON_OBS): Add inf-loop.o. | |
1697 | (inf-loop.o): Add rule. | |
1698 | (remote.o): Add dependency on inf-loop.h. | |
1699 | ||
1700 | Fri Oct 1 19:59:31 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1701 | ||
1702 | * ser-unix.c: Add some notes on how the async code works. | |
1703 | ||
1704 | Fri Oct 1 01:45:32 1999 Jeffrey A Law (law@cygnus.com) | |
1705 | ||
1706 | * somread.c (som_symfile_offsets): Fix typo in last change. | |
1707 | ||
1708 | 1999-09-30 Fred Fish <fnf@cygnus.com> | |
1709 | ||
1710 | * coff-solib.c (coff_solib_add): Adjust call to symbol_file_add. | |
1711 | * cxux-nat.c (add_shared_symbol_files): Ditto. | |
1712 | * irix5-nat.c (symbol_add_stub): Ditto. | |
1713 | * osfsolib.c (symbol_add_stub): Ditto. | |
1714 | * pa64solib.c (pa64_solib_add_solib_objfile): Ditto. | |
1715 | * remote-mm.c (mm_load): Ditto. | |
1716 | * remote-udi.c (udi_load): Ditto. | |
1717 | * remote-vx.c (vx_add_symbols): Ditto. | |
1718 | * solib.c (symbol_add_stub): Ditto. | |
1719 | * somsolib.c (som_solib_add_solib_objfile): Ditto. | |
1720 | * win32-nat.c (handle_load_dll): Ditto. | |
1721 | ||
1722 | * irix5-nat.c (symbol_add_stub): Add section_addrs, zero it. | |
1723 | * cxux-nat.c (add_shared_symbol_files): Ditto. | |
1724 | * osfsolib.c (symbol_add_stub): Ditto. | |
1725 | * pa64solib.c (pa64_solib_add_solib_objfile): Ditto. | |
1726 | * solib.c (symbol_add_stub): Ditto. | |
1727 | * somsolib.c (som_solib_add_solib_objfile): Ditto. | |
1728 | * symfile.c (symbol_file_command): Ditto. | |
1729 | * win32-nat.c (handle_load_dll): Ditto. | |
1730 | ||
1731 | * irix5-nat.c (symbol_add_stub): Use section_addrs to pass text addr. | |
1732 | * cxux-nat.c (add_shared_symbol_files): Ditto. | |
1733 | * osfsolib.c (symbol_add_stub): Ditto. | |
1734 | * pa64solib.c (pa64_solib_add_solib_objfile): Ditto. | |
1735 | * solib.c (symbol_add_stub): Ditto. | |
1736 | * somsolib.c (som_solib_add_solib_objfile): Ditto. | |
1737 | * symfile.c (symbol_file_command): Ditto. | |
1738 | * win32-nat.c (handle_load_dll): Ditto. | |
1739 | ||
1740 | * coff-solib.c (coff_solib_add): Call symbol_file_add with NULL ptr. | |
1741 | * cxux-nat.c (add_shared_symbol_files): Ditto. | |
1742 | * remote-udi.c (udi_load): Ditto. | |
1743 | * remote-vx.c (vx_add_symbols): Ditto. | |
1744 | * symfile.c (symbol_file_command): Ditto. | |
1745 | ||
1746 | * dstread.c (dst_symfile_offsets): Take "section_addr_info *" | |
1747 | instead of CORE_ADDR. | |
1748 | * somread.c (som_symfile_offsets): Ditto. | |
1749 | * symfile.c (default_symfile_offsets): Ditto. | |
1750 | * xcoffread.c (xcoff_symfile_offsets): Ditto. | |
1751 | ||
1752 | * symfile.h (default_symfile_offsets): Adjust prototype. | |
1753 | (syms_from_objfile): Ditto. | |
1754 | * symtab.h (symbol_file_add): Ditto. | |
1755 | ||
1756 | * rs6000-nat.c (objfile_symbol_add): Call syms_from_objfile with NULL. | |
1757 | * xcoffsolib.c (solib_add): Ditto. | |
1758 | * gdb-stabs.h (SECT_OFF_MAX): Increase from 4 to 16. | |
1759 | * symtab.h (MAX_SECTIONS): Define. | |
1760 | (struct section_addr_info): New struct for better control over | |
1761 | changing load addresses of sections. | |
1762 | * objfiles.h (OBJF_READNOW): Add new flag bit. | |
1763 | * symfile.h (sym_offsets): Change second param from CORE_ADDR to | |
1764 | "section_addr_info *". | |
1765 | ||
1766 | * symfile.c (symbol_file_add): Replace scalar arg "CORE_ADDR addr" | |
1767 | with "struct section_addr_info *addrs". | |
1768 | (syms_from_objfile): Ditto. | |
1769 | (add_symbol_file_command): Remove local variables "readnow" and | |
1770 | "mapped". Replaced with general "flags" variable. | |
1771 | (symbol_file_command): Ditto. | |
1772 | (add_symbol_file_command): Add local variables i, sec_num, argcnt, | |
1773 | expecting_option, option_index, and opt. Rework option parsing code | |
1774 | to handle additional options. | |
1775 | (_initialize_symfile): Adjust add-symbol-file usage to match new | |
1776 | option handling. | |
1777 | (symbol_file_add): Remove parameters "mapped" and "readnow", | |
1778 | replace with general "flags". | |
1779 | (symbol_file_add): In call to allocate_objfile, replace "mapped" | |
1780 | with extracted OBJF_MAPPED bit from flags. | |
1781 | (symbol_file_add): Use OBJF_READNOW bit from flags, instead of | |
1782 | "readnow" variable. | |
1783 | (symbol_file_command): Set OBJF_MAPPED and OBJF_READNOW bits | |
1784 | from parsed options. Pass flags to symbol_file_add. | |
1785 | (add_symbol_file_command): Ditto. | |
1786 | (syms_from_objfile): Add local variables i, sect, lower_sect, | |
1787 | lower_offset, and local_addr. Substitute local_addr for addrs | |
1788 | when addrs is NULL. Find lowest loadable section to be used as | |
1789 | starting point for contiguous sections. Adjust offsets if segments | |
1790 | are not contiguous. Call sym_offsets with section_addr_info | |
1791 | instead of single addr. | |
1792 | (default_symfile_offsets): Initialize objfile's section_offsets | |
1793 | with user specified offsets. | |
1794 | (symbol_file_add): Call syms_from_objfile with offsets. | |
1795 | (unknown_option_complaint): Add. | |
1796 | (add_symbol_file_command): Add "section_addrs", zero it with memset. | |
1797 | ||
1798 | 1999-09-30 Jason Molenda (jsm@bugshack.cygnus.com) | |
1799 | ||
1800 | * configure.in: Call config.sub explicitly instead of misusing the | |
1801 | autoconf internal variable $ac_config_sub. | |
1802 | * configure: Regenerated. | |
1803 | ||
1804 | Thu Sep 30 15:53:59 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1805 | ||
1806 | * remote.c (readchar): When EOF mourn the inferior. | |
1807 | (getpkt): Try QUIT. Might not be a watchdog timer timeout. | |
1808 | (remote_async_serial_handler): Pass ``-1'' as the dummy FD. Safer | |
1809 | than ZERO == STDIN. | |
1810 | ||
1811 | * serial.h (enum serial_rc): Replace #define SERIAL_ERROR, | |
1812 | SERIAL_TIMEOUT and SERIAL_EOF. | |
1813 | (struct _serial_t): Add more notes on termios specific fields. | |
1814 | ||
1815 | * ser-unix.c (generic_readchar): Make SERIAL_ERROR sticky. | |
1816 | (do_hardwire_readchar, do_unix_readchar): Don't use bufcnt as a | |
1817 | tempoary for the return-value from read. | |
1818 | ||
1819 | * serial.c (serial_logchar): Add a stream parameter. | |
1820 | (serial_readchar, serial_write, serial_send_break): Update. | |
1821 | (serial_readchar): Add serial debug trace. | |
1822 | ||
1823 | Thu Sep 30 12:07:03 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1824 | ||
1825 | * serial.h (struct _serial_t): Add field async_state. Better | |
1826 | document field bufcnt. | |
1827 | (SERIAL_ERROR): Delete comment about errno. | |
1828 | * serial.c (serial_open, serial_fdopen): Initialize async_state. | |
1829 | ||
1830 | * ser-unix.c (push_event, fd_event, reschedule): New functions. | |
1831 | Handle ASYNC serial input. | |
1832 | (ser_unix_async): Update. | |
1833 | (generic_readchar): New function. Handle event scheduling. Make | |
1834 | EOF condition sticky. | |
1835 | (do_unix_readchar): Rename ser_unix_readchar. | |
1836 | (ser_unix_readchar): New function, call do_unix_readchar via | |
1837 | generic_readchar. | |
1838 | (do_hardwire_readchar, hardwire_readchar): Ditto. | |
1839 | ||
1840 | * ser-unix.c (ser_unix_readchar): Delete code working around ASYNC | |
1841 | fifo bugs. | |
1842 | (hardwire_readchar): Delete code working around ASYNC fifo bugs. | |
1843 | ||
1844 | Wed Sep 29 21:27:16 1999 Jeffrey A Law (law@cygnus.com) | |
1845 | ||
1846 | * breakpoint.c (insert_breakpoints): Addresses are CORE_ADDRs, | |
1847 | not "int"s. | |
1848 | (remove_breakpoint): Likewise. | |
1849 | ||
1850 | 1999-09-29 Fred Fish <fnf@cygnus.com> | |
1851 | ||
1852 | * breakpoint.c (breakpoint_1): Replace cast "(CORE_ADDR) - 1" | |
1853 | with the more obviously intended expression "(CORE_ADDR) -1". | |
1854 | * dwarf2read.c (scan_partial_symbols, read_file_scope): Ditto. | |
1855 | * gnu-nat.c (gnu_create_inferior): Ditto. | |
1856 | * go32-nat.c (go32_create_inferior): Ditto. | |
1857 | * hppa-tdep.c (hppa_pop_frame): Ditto. | |
1858 | * infcmd.c (continue_command, step_1, signal_command): Ditto. | |
1859 | (until_next_command, finish_command): Ditto. | |
1860 | * infrun.c (proceed): Ditto. | |
1861 | * inftarg.c (child_create_inferior): Ditto. | |
1862 | * m3-nat.c (m3_create_inferior): Ditto. | |
1863 | * mac-nat.c (child_create_inferior): Ditto. | |
1864 | * procfs.c (procfs_create_inferior): Ditto. | |
1865 | * remote-sim.c (gdbsim_create_inferior): Ditto. | |
1866 | * target.c (target_link): Ditto. | |
1867 | * win32-nat.c (child_create_inferior): Ditto. | |
2acceee2 JM |
1868 | |
1869 | Thu Sep 30 10:36:19 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1870 | ||
1871 | * ser-unix.c (ser_unix_flush_input): New function. Discard input | |
1872 | buffer. | |
1873 | (hardwire_flush_input): Use ser_unix_flush_input. | |
1874 | (ser_unix_nop_flush_input): Delete. | |
1875 | * ser-unix.h (ser_unix_flush_input): Update. | |
1876 | ser-tcp.c (_initialize_ser_tcp), ser-pipe.c | |
1877 | (_initialize_ser_pipe): Update. | |
1878 | ||
1879 | * ser-unix.c (hardwire_write): Delete. | |
1880 | (_initialize_ser_hardwire): Update, use ser_unix_write. | |
1881 | ||
1882 | Thu Sep 30 10:16:50 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1883 | ||
1884 | * ser-pipe.c (pipe_open): Don't make the FD non-blocking. Already | |
1885 | being handled in ser_unix_wait_for by a select. | |
1886 | ||
1887 | Thu Sep 30 10:00:32 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1888 | ||
1889 | * serial.h (struct _serial_t): Add field debug_p. | |
1890 | (SERIAL_DEBUG, SERIAL_DEBUG_P): Define. | |
1891 | ||
1892 | * serial.c (serial_open, serial_fdopen): Initialize debug_p. | |
1893 | (serial_debug, serial_debug_p): New functions. | |
1894 | (global_serial_debug_p): New variable. | |
1895 | (_initialize_serial): Add ``set serialdebug'' command. | |
1896 | ||
1897 | Thu Sep 30 09:09:38 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1898 | ||
1899 | * serial.h (serial_event_ftype): Replace FD and ERROR args with | |
1900 | SERRIAL_T arg. | |
1901 | * ser-unix.c (ser_unix_event): Update. | |
1902 | ||
1903 | * remote.c (remote_async_serial_handler): New function. Handle | |
1904 | serial events. | |
1905 | (remote_async): Pass remote_async_serial_handler to SERIAL. | |
1906 | (async_client_callback, async_client_context): New variables. | |
1907 | ||
1908 | * remote.c (extended_remote_async_create_inferior): Use | |
1909 | target_async to register the inferior event handler. | |
1910 | ||
1911 | Thu Sep 30 00:02:03 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
1912 | ||
1913 | * configure.in (AC_CHECK_FUNCS): Test for sigprocmask. | |
1914 | * configure, config.in: Re-generate. | |
1915 | * event-top.c (async_stop_sig): Use sigprocmask when available. | |
1916 | ||
1917 | 1999-09-29 Doug Evans <devans@casey.cygnus.com> | |
1918 | ||
1919 | * sh-stub.c (handle_exception): Fix typo in patch of 1999-08-26. | |
1920 | * m68k-stub.c (handle_exception): Ditto. | |
1921 | ||
1922 | 1999-09-28 Fred Fish <fnf@cygnus.com> | |
1923 | ||
1924 | * alpha-nat.c (alpha_osf_core_fns, alpha_elf_core_fns): | |
1925 | Add default entries for check_format and core_sniffer. | |
1926 | * core-aout.c (aout_core_fns): Ditto. | |
1927 | * core-regset.c (regset_core_fns): Ditto. | |
1928 | * core-sol2.c (solaris_core_fns): Ditto. | |
1929 | * i386aix-nat.c (i386aix_core_fns): Ditto. | |
1930 | * i386mach-nat.c (i386mach_core_fns): Ditto. | |
1931 | * irix4-nat.c (irix4_core_fns): Ditto. | |
1932 | * irix5-nat.c (irix5_core_fns): Ditto. | |
1933 | * lynx-nat.c (lynx_core_fns): Ditto. | |
1934 | * mips-nat.c (mips_core_fns): Ditto. | |
1935 | * ns32knbsd-nat.c (nat_core_fns): Ditto. | |
1936 | * rs6000-nat.c (rs6000_core_fns): Ditto. | |
1937 | * sparc-nat.c (sparc_core_fns): Ditto. | |
1938 | * sun-nat.c (sun3_core_fns): Ditto. | |
1939 | * ultra3-nat.c (ultra3_core_fns): Ditto. | |
1940 | ||
1941 | * corelow.c (core_vec): New, for selected core file handler. | |
1942 | (sniff_core_bfd): New function. | |
1943 | (gdb_check_format): New function. | |
1944 | (default_check_format): New function. | |
1945 | (default_core_sniffer): New function. | |
1946 | (sniff_core_bfd): New function. | |
1947 | (core_close): Reset core_vec to NULL. | |
1948 | (core_open): Fall back to gdb_check_format if bfd_check_format | |
1949 | does not identify the file format. Call sniff_core_bfd to pick | |
1950 | a core file handler. | |
1951 | (get_core_registers): Remove code that is now in sniff_core_bfd. | |
1952 | Use current core_vec. | |
1953 | ||
1954 | * gdbcore.h (check_format): New core_fns function, points to function | |
1955 | to try and identify a core file format. | |
1956 | (core_sniffer): New core_fns function, points to function to select | |
1957 | a specific handler for the selected core file format. | |
1958 | (default_core_sniffer): Add prototype. | |
1959 | (default_check_format): Add prototype. | |
1960 | ||
1961 | * i960-tdep.c (inferior.h): Include. | |
1962 | * mips-tdep.c (read_next_frame_reg): Use ADDR_BITS_REMOVE | |
1963 | on addresses pulled from stack. | |
1964 | ||
1965 | 1999-09-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1966 | ||
1967 | * event-loop.c (poll_timers): Check whether the timer list has any | |
1968 | element on it by looking at the first element pointer, instead of | |
1969 | num_timers. | |
1970 | ||
1971 | Wed Sep 29 18:02:31 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
1972 | ||
1973 | * command.c: Attempt to include POSIX <sys/wait.h> before | |
1974 | <wait.h>. | |
1975 | ||
1976 | * ser-unix.c (hardwire_print_tty_state): Ditto. | |
1977 | * inflow.c (child_terminal_info): Fix printf args. | |
1978 | ||
1979 | 1999-09-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
1980 | ||
1981 | * remote.c (remote_async_resume): Register the inferior with the | |
1982 | event loop. | |
1983 | (remote_async_open_1): Don't put the target in async mode here, | |
1984 | just do it when executing. | |
1985 | ||
1986 | * infrun.c (complete_execution): Unregister the inferior from the | |
1987 | event loop. | |
1988 | ||
1989 | * event-top.c (async_disable_stdin): Don't add | |
1990 | async_enable_stdin() to the exec_cleanups chain. | |
1991 | ||
6426a772 JM |
1992 | Tue Sep 28 11:08:34 1999 Jeffrey A Law (law@cygnus.com) |
1993 | ||
1994 | * hppa-tdep.c (hppa_fix_call_dummy): Ignore IMPORT_SHLIB stubs | |
1995 | except for hpux11 native. Break out of the loop to find a | |
1996 | stub as soon as we find an IMPORT stub. | |
1997 | (skip_prologue_hard_way): Also recognize copy %ret1,target and | |
1998 | all PA64 argument stores as prologue instructions. | |
1999 | ||
2000 | 1999-09-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
2001 | ||
2002 | * breakpoint.c, defs.h, event-top.c, infcmd.c, infrun.c, main.c, | |
2003 | remote.c, top.c, tracepoint.c, utils.c (async_p): Change var name | |
2004 | to event_loop_p. | |
2005 | ||
de57eccd | 2006 | 1999-09-28 Jim Blandy <jimb@cygnus.com> |
6426a772 JM |
2007 | |
2008 | * hppa-tdep.c (skip_prologue_hard_way): Recognize ldo insns | |
2009 | which generate pointers into the argument list. | |
2010 | ||
2011 | Tue Sep 28 13:56:49 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2012 | ||
2013 | * remote.h (cleanup_sigint_signal_handler, | |
2014 | initialize_sigint_signal_handler): Delete extern declarations. | |
2015 | * event-top.c, infrun.c: No longer need to include "remote.h". | |
2016 | * remote.c (cleanup_sigint_signal_handler, | |
2017 | initialize_sigint_signal_handler): Make static. | |
2018 | * Makefile.in (event-top.o): Delete dependency on "remote.h". | |
2019 | ||
2020 | * remote.c (remote_async_terminal_ours_p): New static global. Keep | |
2021 | track of who currently owns the terminal. | |
2022 | (remote_async_open_1): Initialize. | |
2023 | (remote_async_terminal_inferior): Test | |
2024 | remote_async_terminal_ours_p. Claim CNTRL-C handler as part of | |
2025 | transfering the terminal to the target. | |
2026 | (remote_async_terminal_ours): Similar. | |
2027 | ||
2028 | Mon Sep 27 12:33:45 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2029 | ||
2030 | * remote.c (async_interrupt_query): Delete function. Merged into | |
2031 | interrupt_query. Async cases handled by target_terminal_ours, | |
2032 | target_terminal_inferior and SERIAL_CLOSE. | |
2033 | (async_remote_interrupt_twice): Update. | |
2034 | (remote_async_terminal_ours, remote_async_terminal_inferior): New | |
2035 | functions. Steal STDIN from GDB's CLI. | |
2036 | (init_remote_async_ops): Initialize to_terminal_ours and | |
2037 | to_terminal_inferior. | |
2038 | ||
2039 | * event-top.c (async_disable_stdin, async_disable_stdin): Use | |
2040 | target_terminal_ours / target_terminal_inferior to transfer | |
2041 | ownership of the terminal between GDB and the target. | |
2042 | ||
2043 | 1999-09-27 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
2044 | ||
2045 | * infcmd.c (run_command): Call async_disable_stdin() only if | |
2046 | dealing with an asynchronous target. | |
2047 | ||
2048 | Mon Sep 27 11:48:38 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2049 | ||
2050 | * target.h (struct target_ops): Add to_can_async_p, to_is_async_p, | |
2051 | to_async. Delete to_has_async. These correspond well with | |
2052 | SERIAL* async methods. | |
2053 | (target_can_async_p, target_is_async_p, target_async): Define. | |
2054 | * target.c (update_current_target, cleanup_target): Update. | |
2055 | ||
2056 | * remote.c (remote_async_open_1): Change target to async using | |
2057 | target_async. | |
2058 | (remote_can_async_p, remote_is_async_p, remote_async): New | |
2059 | functions. | |
2060 | (remote_async_wait, remote_async_open_1): Add FIXME about how | |
2061 | wait_forever_enabled_p can almost be deleted once the client can | |
2062 | enable/disable target_async. | |
2063 | ||
2064 | * breakpoint.c (until_break_command), infrun.c (proceed), infcmd.c | |
2065 | (run_command, continue_command, step_1, jump_command, | |
2066 | until_command, finish_command, interrupt_target_command), top.c | |
2067 | (return_to_top_level, execute_command), event-top.c | |
2068 | (command_handler): Replace target_has_async with | |
2069 | target_can_async_p. | |
2070 | ||
2071 | Sun Sep 26 02:10:47 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2072 | ||
2073 | * remote.c (remote_async_open_1): If we go into async mode, never | |
2074 | wait for ever. | |
2075 | ||
2076 | * infcmd.c: Include "event-top.h". | |
2077 | (run_command, continue_command, jump_command, until_command, | |
2078 | finish_command): Use async_disable_stdin to disable the console | |
2079 | for synchronous commands. | |
2080 | ||
2081 | * remote.c (async_interrupt_query): Only disconnect the console | |
2082 | from the terminal when sync_execution. | |
2083 | ||
2084 | * remote.c (initialize_sigint_signal_handler): Move declaration | |
2085 | from here. | |
2086 | * remote.h: To here. Make non-static. | |
2087 | ||
2088 | * remote.c (remote_async_resume, async_interrupt_query): Move | |
2089 | prompt code from here. | |
2090 | * event-top.c (async_disable_stdin, async_enable_stdin): To | |
2091 | here. New function. | |
2092 | ||
2093 | * infrun.c (start_remote): Delete commented out code. | |
2094 | ||
2095 | Fri Sep 24 12:38:31 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2096 | ||
2097 | * remote.c (remote_async_open_1): Perform the initial async_open | |
2098 | using only synchronous calls. Only after the target is fully | |
2099 | connected, switch to async mode. Include FIXME about now it | |
2100 | currently works VS how it should be working. | |
2101 | (remote_async_open_1, set_extended_protocol): Delete function | |
2102 | set_extended_protocol. All open communication is now done | |
2103 | synchronously. | |
2104 | (forever_enabled_p): New variable. Determine if remote_async_wait | |
2105 | should block FOREVER when fetching target information. | |
2106 | (remote_cisco_open, remote_open_1): Set forever_enabled_p. | |
2107 | ||
2108 | * infrun.c (start_remote): During the initial connect, always use | |
2109 | a synchronous wait. | |
2110 | ||
2111 | Sat Sep 25 18:13:38 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2112 | ||
2113 | * Makefile.in (event-top.o): Add dependency. | |
2114 | * event-top.c: Include "remote.h". | |
2115 | * remote.c (async_interrupt_query), event-top.c: | |
2116 | (async_enable_stdin): Pass dummy parameter to | |
2117 | cleanup_sigint_signal_handler. | |
2118 | * remote.c (cleanup_sigint_signal_handler), remote.h | |
2119 | (cleanup_sigint_signal_handler), event-top.c (async_enable_stdin), | |
2120 | event-top.h (async_enable_stdin): Change signature to match | |
2121 | make_exec_error_cleanup handler pararameter. | |
2122 | ||
2123 | Thu Sep 23 20:48:22 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2124 | ||
2125 | * defs.h (enum command_class): Move from here. | |
2126 | * command.h (command_class): To here. | |
2127 | ||
2128 | 1999-09-24 Kevin Buettner <kevinb@cygnus.com> | |
2129 | * breakpoint.c (bpstat_stop_status): Use not_a_breakpoint to | |
2130 | help properly set bp_addr. | |
2131 | * infrun.c (handle_inferior_event): Simplify calls to | |
2132 | bp_stop_status. | |
2133 | ||
2134 | 1999-09-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
2135 | ||
2136 | * top.c (return_to_top_level): Do exec_error cleanups if are | |
2137 | interrupting a simulated synchronous execution command. | |
2138 | ||
2139 | * infrun.c (start_remote): Create a cleanup to enable stdin in | |
2140 | case of error from this command. | |
2141 | (complete_execution): Do the enabling of stdin via the exec_error | |
2142 | cleanups, when needed. | |
2143 | ||
2144 | * remote.c (remote_async_resume): Make sure we re-enable stdin in | |
2145 | case of error from the target. | |
2146 | (handle_remote_sigint_twice): The handler to be set is | |
2147 | async_remote_interrupt_twice, not async_remote_interrupt. | |
2148 | (async_remote_interrupt_twice): Don't do anything if the target | |
2149 | has been killed already. Call async_interrupt_query, instead of | |
2150 | interrupt_query. | |
2151 | (async_interrupt_query): New function. Async case of | |
2152 | interrupt_query(). | |
2153 | ||
2154 | * event-top.c (async_enable_stdin): New function. Reinstate stdin | |
2155 | with the event loop. | |
2156 | * event-top.h (async_enable_stdin): Export. | |
2157 | ||
2158 | * utils.c (exec_error_cleanup_chain): New cleanup chain. | |
2159 | (make_exec_error_cleanup, do_exec_error_cleanups, | |
2160 | discard_exec_error_cleanups): New functions. | |
2161 | * defs.h (make_exec_error_cleanup, do_exec_error_cleanups, | |
2162 | discard_exec_error_cleanups): Export. | |
2163 | ||
2164 | 1999-09-24 Jim Blandy <jimb@zwingli.cygnus.com> | |
2165 | ||
2166 | * ax-gdb.c (expr_to_agent): Don't forget to pass argument to | |
2167 | new_agent_expr. | |
2168 | ||
2169 | 1999-09-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
2170 | ||
2171 | * event-loop.c (fetch_inferior_event_wrapper): New | |
2172 | function. Wrapper to pass to catch_errors. | |
2173 | (inferior_event_handler): Pop the target if things go bad with it. | |
2174 | Call fetch_inferior_event() from within catch_errors(). | |
2175 | ||
2176 | 1999-09-24 Jim Blandy <jimb@zwingli.cygnus.com> | |
2177 | ||
2178 | * ax-gdb.c: Use internal_error instead of error, where | |
2179 | appropriate. | |
2180 | ||
2181 | 1999-09-23 James Ingham <jingham@leda.cygnus.com> | |
2182 | ||
2183 | * target.c (target_resize_to_sections): New function. Gather the | |
2184 | resizing code for the to_sections field into one place, and make | |
2185 | sure you update the other targets that are sharing the to_sections | |
2186 | structure. | |
2187 | * target.h: Declare the target_resize_to_sections function. | |
2188 | * solib.c (solib_add): use target_resize_to_sections. | |
2189 | * somsolib.c (som_solib_load_symbols): ditto | |
2190 | * rs6000-nat.c (xcoff_relocate_core): ditto | |
2191 | * pa64solib.c (pa64_solib_load_symbols): ditto | |
2192 | * irix5-nat.c (solib_add):ditto | |
2193 | ||
2194 | * top.c: Define the attach & detach hooks | |
2195 | * defs.h: Declare the attach & detach hooks. | |
2196 | * infcmd.c (attach_command): call the attach hook if it exists. | |
2197 | (detach_command): call the detach hook if it exists. | |
2198 | ||
2199 | * complaints.c (complain): Send the complaints to stderr rather | |
2200 | than stdout, so they don't get mixed into the result stream from | |
2201 | commands. | |
2202 | ||
2203 | 1999-09-23 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
2204 | ||
2205 | * event-loop.c (poll_timers): Use correct timeval field names, | |
2206 | when setting the notifier timeouts, in case of select() used. | |
2207 | (gdb_wait_for_event): Pass a pointer to the timeout structure to | |
2208 | select(), not the structure. | |
2209 | ||
2210 | Wed Sep 22 10:35:32 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2211 | ||
2212 | * Makefile.in (init.c): Change generated file to include "defs.h" | |
2213 | and "call-cmds.h". Use initialize_file_ftype when declaring | |
2214 | each initialize functions. | |
2215 | (call_cmds_h): Add definition. | |
2216 | (init.o): Add target and dependencies. | |
2217 | (init.c): Don't grep for _initialize* in init.c. | |
2218 | ||
2219 | * defs.h (initialize_file_ftype): Add function typedef. | |
2220 | ||
2221 | 1999-09-22 Michael Snyder <msnyder@cleaver.cygnus.com> | |
2222 | ||
2223 | * procfs.c (init_procinfo): move fltset initialization to caller. | |
2224 | (do_attach, create_procinfo): initialize fltset. | |
2225 | ||
2226 | 1999-09-22 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
2227 | ||
2228 | * event-loop.c, event-top.c, event-loop.h: Rerun indent. | |
2229 | ||
2230 | 1999-09-21 Doug Evans <devans@casey.cygnus.com> | |
2231 | ||
2232 | * m32r-stub.c (handle_exception): Fix typo in patch of 1999-08-26. | |
2233 | ||
c2c6d25f JM |
2234 | Tue Sep 21 14:55:29 1999 Andrew Cagney <cagney@b1.cygnus.com> |
2235 | ||
2236 | From 1999-08-20 J.T. Conklin <jtc@redback.com>: | |
2237 | * remote.c (read_frame): expand cisco run-length encoding variant | |
2238 | inline as is done for the standard encoding. | |
2239 | (remote_cisco_expand): Removed. | |
2240 | ||
2241 | 1999-09-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
2242 | ||
2243 | * event-loop.c: Include <sys/time.h>. | |
2244 | ||
2245 | 1999-09-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
2246 | ||
2247 | * ser-ocd.c: (ser_ocd_open, ser_ocd_raw, ser_ocd_readchar, | |
2248 | ser_ocd_setbaudrate, ser_ocd_write, ser_ocd_close, | |
2249 | ser_ocd_get_tty_state, ser_ocd_set_tty_state): Remove unused | |
2250 | prototypes. | |
2251 | (ocd_readremote): Remove. | |
2252 | (ocd_write): Remove unused var 'c'. | |
2253 | ||
2254 | 1999-09-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
2255 | ||
2256 | * event-top.c (change_line_handler): Cleanup dead code. Add comments. | |
2257 | * event-loop.c: Cleanup #if 0 code. | |
2258 | ||
2259 | * event-loop.h (timer_handler_func): New function type. | |
2260 | (create_timer): Export function. | |
2261 | (delete_timer): Export function. | |
2262 | ||
2263 | * event-loop.c: Add timeout and timeout_valid fields to | |
2264 | gdb_notifier. New structures gdb_timer and timer_list. | |
2265 | (gdb_do_one_event): Check whether there are any timers tht are | |
2266 | ready, before going to wait. | |
2267 | (gdb_wait_for_event): If the timeout structure is meaningful, pass | |
2268 | that to select()/poll(). | |
2269 | (create_timer): New function. Creates a timer. | |
2270 | (delete_timer): New function. Deletes a timer. | |
2271 | (handle_timer_event): New function. Deals with timers that are ready. | |
2272 | (poll_timers): New Function. Chack whether timers have expired. | |
2273 | ||
2274 | Mon Sep 20 17:00:06 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2275 | ||
2276 | * remote.c (getpkt, putpkt, remote_console_output): Move | |
2277 | declaration from here. | |
2278 | * remote.h: To here. New file. | |
2279 | * tracepoint.c(putpkt, getpkt, remote_console_output): Delete | |
2280 | declarations. Moved to "remote.h". | |
2281 | * Makefile.in (remote_h): Define. | |
2282 | * remote.c, tracepoint.c: Include "remote.h". | |
2283 | * Makefile.in (tracepoint.o, remote.o): Add dependency on | |
2284 | "remote.h". | |
2285 | ||
2286 | * remote.h (remote_cisco_objfile_relocate, | |
2287 | cleanup_sigint_signal_handler): Add declaration. Include FIXME. | |
2288 | * infrun.c: Include "remote.h". | |
2289 | (complete_execution): Delete local extern declaration | |
2290 | of ``cleanup_sigint_signal_handler''. | |
2291 | * Makefile.in (infrun.o): Add dependency on remote.h. | |
2292 | ||
2293 | Mon Sep 20 13:41:04 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2294 | ||
2295 | * kod.c (ecos_kod_open, ecos_kod_request, ecos_kod_close, | |
2296 | cisco_kod_open, cisco_kod_request, cisco_kod_close): Move | |
2297 | declarations from here. | |
2298 | * kod.h: To here. New file. | |
2299 | * kod-cisco.c, kod.c: Include "kod.h". | |
2300 | * Makefile.in (kod-cisco.o, kod.o): Add dependency on "kod.h". | |
2301 | ||
2302 | * kod.h (kod_display_callback_ftype, kod_query_callback_ftype): | |
2303 | New function types. | |
2304 | * kod.h (kod_cisco_open): Use in declaration. | |
2305 | * kod.c (gdb_kod_open): Update definition. | |
2306 | * kod-cisco.c (cisco_kod_open): Update definition. | |
2307 | ||
2308 | Mon Sep 20 12:13:27 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2309 | ||
2310 | * mn10300-tdep.c (_initialize_mn10300_tdep): Add declaration. | |
2311 | ||
2312 | * breakpoint.c (until_break_command_continuation): Add | |
2313 | declaration. Make static. | |
2314 | * event-top.c (rl_callback_read_char_wrapper): Ditto. | |
2315 | ||
2316 | Fri Sep 17 19:28:17 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2317 | ||
2318 | * source.c: Include "source.h". | |
2319 | (open_source_file, find_source_lines): Move declaration from here. | |
2320 | * source.h: New file. To here. | |
2321 | * Makefile.in (source.o): Add dependency on source.h. | |
2322 | ||
2323 | * breakpoints.c (delete_command): Move declaration from here. | |
2324 | * breakpoints.h (delete_command): To here. | |
2325 | ||
de57eccd | 2326 | 1999-09-18 Jim Blandy <jimb@cygnus.com> |
c2c6d25f JM |
2327 | |
2328 | * hppa-tdep.c (in_solib_call_trampoline): If we can't recognize | |
2329 | the instruction we're at, we're not in a stub. | |
2330 | ||
2331 | Sat Sep 18 07:13:03 1999 Jeffrey A Law (law@cygnus.com) | |
2332 | ||
2333 | * dwarf2read.c (dwarf_decode_lines): Correctly handle | |
2334 | DW_LNS_const_add_pc. | |
2335 | ||
2336 | 1999-09-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
2337 | ||
2338 | * remote.c (remote_async_open_1): Use inferior_event_handler to | |
2339 | handle inferior events. | |
2340 | (extended_remote_async_create_inferior): Ditto. | |
2341 | ||
2342 | * serial.h (serial_event_ftype): Add two pars. | |
2343 | ||
2344 | * ser-unix.c (ser_unix_event): Add two parameters, error and fd. | |
2345 | Pass those into the call to the actual inferior event handler. | |
2346 | ||
2347 | * infrun.c (complete_execution): Stdin handler is stdin_event_handler. | |
2348 | ||
2349 | * event-top.h (stdin_event_handler): Export new function. | |
2350 | ||
2351 | * event-top.c (stdin_event_handler): New function. Smarter handler | |
2352 | for events on stdin. | |
2353 | (change_line_handler): Don't need to update the handler for stdin | |
2354 | here anymore. | |
2355 | (_initialize_event_loop): Stdin handler is now stdin_event_handler. | |
2356 | ||
2357 | * event-loop.h: (handler_func): Change signature, adding two new | |
2358 | args. | |
2359 | (sig_handler_func): New function type. It is the old handler_func. | |
2360 | (create_async_signal_handler): Update to use sig_handler_func. | |
2361 | (delete_async_signal_handler): Prototype for new function. | |
2362 | ||
2363 | * event-loop.c: Include "inferior.h". | |
2364 | (struct file_handler): Add field error, to indicate error | |
2365 | condition on fd. | |
2366 | (struct async_signal_handler): Rename type of proc field. | |
2367 | (add_file_handler): Add exception condition as something select() | |
2368 | should report. | |
2369 | (handle_file_event): In case of error on the fd, record this in | |
2370 | the file_handler structure. Update call to (*proc)() to match new | |
2371 | signature. | |
2372 | (gdb_wait_for_event): If select() or poll() return error, report | |
2373 | this to user. | |
2374 | (create_async_signal_handler): Change first param type to | |
2375 | sig_handler_func*. | |
2376 | (inferior_event_handler): New function. Smarter inferior event | |
2377 | handling. | |
2378 | ||
de57eccd | 2379 | 1999-09-18 Jim Blandy <jimb@cygnus.com> |
c2c6d25f JM |
2380 | |
2381 | * pa64solib.c (pa64_solib_create_inferior_hook): Remove code which | |
2382 | tries to set __d_pid; it's not relevant to PA64 shared libraries. | |
2383 | ||
2384 | A psymtab's texthigh element, and a block's endaddr element, are | |
2385 | the address past the end of the address range, never the address | |
2386 | of the last byte. These data structures mean the same thing on | |
2387 | forty different architectures; there's no reason they should be | |
2388 | different on HP/UX. | |
2389 | * symtab.c (find_pc_sect_psymtab): Remove special case for HP/UX. | |
2390 | (find_pc_sect_symtab): Same. | |
2391 | * objfiles.c (find_pc_sect_section): Same. | |
2392 | ||
2393 | Sat Sep 18 07:13:03 1999 Jeffrey A Law (law@cygnus.com) | |
2394 | ||
2395 | * hppa-tdep.c (internalize_unwinds): Handle PA64 shared libraries | |
2396 | correctly | |
2397 | ||
2398 | * hppa-tdep.c (in_solib_call_trampoline): Handle PA64 shared library | |
2399 | trampolines. | |
2400 | ||
2401 | 1999-09-17 Jim Blandy <jimb@zwingli.cygnus.com> | |
2402 | ||
2403 | * breakpoint.c (permanent_breakpoint_here_p): Delete. | |
2404 | Accidentally left over from previous changes. | |
2405 | ||
de57eccd | 2406 | 1999-09-17 Jim Blandy <jimb@cygnus.com> |
c2c6d25f JM |
2407 | |
2408 | * config/pa/tm-hppa64.h (ARGS_GROW_DOWNWARD): Deleted. There are | |
2409 | many more differences between the 32- and 64-bit ABI's than the | |
2410 | direction the arguments grow, so this name is misleading. | |
2411 | (PA20W_CALLING_CONVENTIONS): Define this instead. | |
2412 | * config/pa/tm-hppa.h (ARGS_GROW_DOWNWARD): Delete. | |
2413 | * hppa-tdep.c (hppa_push_arguments): Split into two separate | |
2414 | functions, depending on whether PA20W_CALLING_CONVENTIONS is | |
2415 | #defined. These implement completely separate specifications, | |
2416 | they don't really share that much code anyway, and this is much | |
2417 | more readable. Specifically: leave a 16-byte, not 32-byte, frame | |
2418 | marker; correctly align objects larger than eight bytes; promote | |
2419 | all integral scalar arguments smaller than eight bytes to a full | |
2420 | register width; pad aggregates smaller than eight bytes on the | |
2421 | right. | |
2422 | ||
2423 | Thu Sep 16 17:33:35 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2424 | ||
2425 | * remote.c (remote_async_open_1): Use SERIAL_ASYNC to | |
2426 | enable/disable async event callback on serial port. Use | |
2427 | SERIAL_CAN_ASYNC_P / SERIAL_IS_ASYNC_P to determine if / when | |
2428 | async mode. | |
2429 | (remote_async_resume, remote_async_detach, remote_async_kill, | |
2430 | extended_remote_async_create_inferior, remote_async_wait): Ditto. | |
2431 | ||
2432 | * ser-unix.c (hardwire_readchar): When ASYNC, only read a single | |
2433 | character. | |
2434 | (ser_unix_readchar): Ditto. Problems occure with back-to-back | |
2435 | data from a target. The ASYNC code can loose the second data | |
2436 | chunk. | |
2437 | ||
2438 | * serial.c (serial_fdopen): Initialize async_handler and | |
2439 | async_context. | |
2440 | ||
2441 | 1999-09-16 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
2442 | ||
2443 | * utils.c (discard_all_continuations): New function. | |
2444 | * defs.h: (discard_all_continuations): Add prototype. | |
2445 | ||
2446 | 1999-09-16 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
2447 | ||
2448 | * valops.c: Remove prototype for search_struct_field_aux(). THe | |
2449 | function was nowhere in the file. | |
2450 | (value_ind): Remove unused var real_val. | |
2451 | (value_find_oload_method_list): Remove unused var v. | |
2452 | (find_overload_match): Remove extra declaration of var jj. | |
2453 | ||
2454 | * Makefile.in (event_top_h): Define. Add dependency on this for | |
2455 | every file that includes event-top.h. | |
2456 | ||
2457 | Thu Sep 16 17:33:35 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2458 | ||
2459 | * serial.c (serial_open): Delete ``&'' device. | |
2460 | * ser-unix.c (_initialize_ser_hardwire): Make the "hardwire" | |
2461 | device async. Delete temporary "async-hardwire" device. | |
2462 | ||
2463 | Thu Sep 16 16:27:13 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2464 | ||
2465 | * serial.h (SERIAL_IS_ASYNC_P): Define. Non-zero when serial | |
2466 | device is in async mode. | |
2467 | (SERIAL_CAN_ASYNC_P): Rename SERIAL_ASYNC_P. | |
2468 | * serial.c (serial_is_async_p): Implement. | |
2469 | (serial_can_async_p): Rename serial_async_p. | |
2470 | (serial_open): Initialize ASYNC_HANDLER and ASYNC_CONTEXT. Save | |
2471 | the original name in SCB instead of the stripped name. | |
2472 | ||
2473 | Thu Sep 16 12:20:11 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2474 | ||
2475 | * serial.h (struct serial_ops): Add field ASYNC. | |
2476 | (SERIAL_ASYNC, SERIAL_ASYNC_P): New macros. | |
2477 | (struct _serial_t): Add fields async_context and async_handler. | |
2478 | * serial.c (serial_async, serial_async_p): Implement. | |
2479 | ||
2480 | * ser-unix.c: Include "event-loop.h". | |
2481 | (ser_unix_async), ser-unix.c: New function. Implement async mode. | |
2482 | (async_event): Handle async events. | |
2483 | * ser-unix.c (_initialize_ser_hardwire), ser-tcp.c | |
2484 | (_initialize_ser_tcp), ser-pipe.c (_initialize_ser_pipe): Enable | |
2485 | ASYNC. | |
2486 | ||
2487 | * serial.c (serial_open): Discard leading ``|'' before opening a | |
2488 | pipe device. | |
2489 | * ser-pipe.c (pipe_open): Adjust. | |
2490 | * serial.c (serial_open): Add ``&'' prefix so that | |
2491 | "async-hardwire" device can be explicitly selected. Work in | |
2492 | progress. | |
2493 | * ser-unix.c: Register "async-hardwire" device. | |
2494 | ||
2495 | Thu Sep 16 09:04:53 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2496 | ||
2497 | * ser-unix.h: New file. Declare generic ser_unix functions. | |
2498 | * ser-unix.c (ser_unix_nop_get_tty_state, | |
2499 | ser_unix_nop_set_tty_state, ser_unix_nop_raw, ser_unix_wait_for, | |
2500 | ser_unix_readchar, ser_unix_nop_noflush_set_tty_state, | |
2501 | ser_unix_nop_print_tty_state, ser_unix_nop_setbaudrate, | |
2502 | ser_unix_nop_setstopbits, ser_unix_write, | |
2503 | ser_unix_nop_flush_output, ser_unix_nop_flush_input, | |
2504 | ser_unix_nop_send_break, ser_unix_nop_drain_output): New | |
2505 | functions. | |
2506 | * ser-unix.c: Include <sys/wait.h>, <sys/socket.h>, | |
2507 | "gdb_string.h". | |
2508 | ||
2509 | * ser-tcp.c (_initialize_ser_tcp), ser-unix.c | |
2510 | (_initialize_ser_hardwire), ser-pipe.c (_initialize_ser_tcp): | |
2511 | Initialize ops vector using assignment. | |
2512 | ||
2513 | * ser-pipe.c, ser-tcp.c, ser-unix.c: Include ser-unix.h. | |
2514 | ||
2515 | * ser-pipe.c (pipe_get_tty_state, pipe_set_tty_state, | |
2516 | pipe_return_0, pipe_raw, wait_for, pipe_readchar, | |
2517 | pipe_noflush_set_tty_state, pipe_print_tty_state, | |
2518 | pipe_setbaudrate, pipe_setstopbits, pipe_write), ser-tcp.c | |
2519 | (tcp_get_tty_state, tcp_set_tty_state, tcp_return_0, tcp_raw, | |
2520 | wait_for, tcp_readchar, tcp_noflush_set_tty_state, | |
2521 | tcp_print_tty_state, tcp_setbaudrate, tcp_setstopbits, tcp_write): | |
2522 | Delete functions. | |
2523 | ||
2524 | 1999-09-15 Stan Shebs <shebs@andros.cygnus.com> | |
2525 | ||
2526 | * d10v-tdep.c (remote_d10v_translate_xfer_address): Move to here | |
2527 | from remote-d10v.c, also change the memory translation to its | |
2528 | previous version. | |
2529 | * remote-d10v.c: Remove. | |
2530 | * config/d10v/d10v.mt (TDEPFILES): Remove remote-d10v.o. | |
2531 | ||
de57eccd | 2532 | 1999-09-15 Jim Blandy <jimb@cygnus.com> |
c2c6d25f JM |
2533 | |
2534 | * breakpoint.c (remove_breakpoint): Return zero, not nothing. | |
2535 | ||
de57eccd | 2536 | 1999-09-14 Jim Blandy <jimb@cygnus.com> |
c2c6d25f JM |
2537 | |
2538 | * hppa-tdep.c (frame_chain): If the unwind info says we've saved | |
2539 | r3, don't trust it. Call get_frame_saved_regs and see if we can | |
2540 | actually find an address for r3 there. | |
2541 | ||
2542 | * pa64solib.c (pa64_sharedlibrary_info_command): Text fix. | |
2543 | ||
2544 | Tue Sep 14 14:34:28 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2545 | ||
2546 | * serial.h (DEPRECATED_SERIAL_FD): Define. | |
2547 | * serial.c (deprecated_serial_fd): New function. | |
2548 | ||
2549 | * remote.c (remote_async_open_1, remote_async_open_1, | |
2550 | remote_async_detach, remote_async_kill, | |
2551 | extended_remote_async_create_inferior, minitelnet): Update. | |
2552 | * remote-es.c (es1800_open, es1800_close, es1800_transparent): Update. | |
2553 | ||
2554 | * remote-st.c (connect_command), remote-os9k.c (connect_command): | |
2555 | Fix. Call FD_SET et.al. with FD instead of serial_t. | |
2556 | ||
de57eccd | 2557 | 1999-09-14 Jim Blandy <jimb@cygnus.com> |
c2c6d25f JM |
2558 | |
2559 | * hppa-tdep.c (hppa_frame_find_saved_regs): The two possible | |
2560 | instructions for saving the return pointer (32- and 64-bit) save | |
2561 | it at different offsets. | |
2562 | ||
2563 | * config/pa/tm-hppa64.h: Doc fix. | |
2564 | ||
2565 | * defs.h (continuation): Make this a typedef. | |
2566 | ||
2567 | * Makefile.in (gdbtk.o, gdbtk-cmds.o): Depend on $(top_h). | |
2568 | ||
2569 | * Makefile.in (i386-linux-nat.o): Depend on symfile.h, not | |
2570 | $(symfile_h); the latter has no definition. | |
2571 | ||
2572 | * breakpoint.c (breakpoint_here_p): Remove meaningless code, | |
2573 | testing b->enable against shlib_disabled and call_disabled after | |
2574 | we know it is enabled. | |
2575 | ||
2576 | Implement "permanent breakpoints" --- breakpoints that are | |
2577 | hardwired into the inferior's code. GDB knows they're there, but | |
2578 | doesn't try to insert or remove them, etc. | |
2579 | * breakpoint.h (enum enable): Add `permanent' enablement state. | |
2580 | * breakpoint.c (make_breakpoint_permanent): New function. | |
2581 | * breakpoint.h (make_breakpoint_permanent): Add declaration. | |
2582 | * breakpoint.c (insert_breakpoints): Don't bother to insert | |
2583 | permanent breakpoints... | |
2584 | (remove_breakpoint): ... or remove them. | |
2585 | (breakpoint_here_p): Handle `permanent' like `enabled'. Change | |
2586 | return value to indicate whether it's a permanent breakpoint here, | |
2587 | or an ordinary breakpoint. | |
2588 | * breakpoint.h (enum breakpoint_here): New enum. | |
2589 | (breakpoint_here_p): Change declaration. | |
2590 | * breakpoint.h (breakpoint_1): Extend bpenables to cover all the | |
2591 | enablement states. | |
2592 | (describe_other_breakpoints): Describe permanent breakpoints. | |
2593 | (check_duplicates): If one of the breakpoints at ADDRESS is a | |
2594 | permanent breakpoint, treat all the others as the duplicates, so | |
2595 | we don't try to insert or remove any of them. Verify that only | |
2596 | the permanent breakpoint is actually inserted. | |
2597 | (delete_breakpoint): Complain if we discover that another | |
2598 | breakpoint was inserted at the same place as a permanent | |
2599 | breakpoint. | |
2600 | (disable_breakpoint): Fail silently if asked to disable a | |
2601 | permanent breakpoint. | |
2602 | (do_enable_breakpoint): Don't change a permanent breakpoint's | |
2603 | enablement to ordinary `enabled'. Leave it alone. | |
2604 | (create_solib_event_breakpoint): Return the | |
2605 | breakpoint object created. | |
2606 | * breakpoint.h (create_solib_event_breakpoint): Fix declaration. | |
2607 | * pa64solib.c (pa64_solib_create_inferior_hook): Do turn on the | |
2608 | DT_HP_DEBUG_CALLBACK flag in the dynamic linker, so it will call | |
2609 | __dld_break, which contains the permanent breakpoint, when interesting | |
2610 | things happen. Tell GDB that the breakpoint in __dld_break is | |
2611 | permanent. | |
2612 | * gdbtk-cmds.c (gdb_get_breakpoint_info): Report a permanent | |
2613 | breakpoint as enabled. | |
2614 | * infrun.c (SKIP_PERMANENT_BREAKPOINT): Provide default definition. | |
2615 | (default_skip_permanent_breakpoint): New function. | |
2616 | (resume): If we're trying to resume at a permanent breakpoint, use | |
2617 | SKIP_PERMANENT_BREAKPOINT to step over it. | |
2618 | * hppa-tdep.c (hppa_skip_permanent_breakpoint): New function. | |
2619 | * config/pa/tm-hppa.h (hppa_skip_permanent_breakpoint): Declare. | |
2620 | (SKIP_PERMANENT_BREAKPOINT): Define. | |
2621 | ||
2622 | 1999-09-14 Kevin Buettner <kevinb@cygnus.com> | |
2623 | ||
2624 | * symtab.h, minsyms.c (find_stab_function_addr): Changed | |
2625 | type of second parameter from partial_symtab * to char *. | |
2626 | Fixed all callers. | |
2627 | * minsyms.c (find_stab_function_addr): Look for minimal | |
2628 | symbol without filename if filename based search fails. | |
2629 | * dbxread.c (process_one_symbol): Call find_stab_function_addr() | |
2630 | in place of inline code with identical functionality. | |
2631 | * partial-stab.h (case N_FUN, descriptors 'F' and 'f'): Look | |
2632 | up symbol's address from minimal symbol table when N_FUN | |
2633 | address is missing. Also, make sure this value is used for | |
2634 | calculating the value of the texthigh field. | |
2635 | ||
2636 | 1999-09-14 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
2637 | ||
2638 | * event-loop.c (create_file_handler): Increment the total number | |
2639 | of file descriptors for the poll case, only if this is a new file | |
2640 | desc. | |
2641 | ||
2642 | 1999-09-14 Eli Zaretskii <eliz@is.elta.co.il> | |
2643 | ||
2644 | * go32-nat.c: misc minor cleanups and fixes missed in last patch. | |
2645 | ||
2646 | Tue Sep 14 12:37:33 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2647 | ||
2648 | * serial.h (SERIAL_PRINT_TTY_STATE): Add STREAM parameter. | |
2649 | (union serial_ops): Update. | |
2650 | ||
2651 | * ser-unix.c (hardwire_print_tty_state, ser-tcp.c | |
2652 | (tcp_print_tty_state), ser-pipe.c (pipe_print_tty_state, | |
2653 | ser-go32.c (dos_print_tty_state, ser-mac.c (mac_print_tty_state, | |
2654 | ser-ocd.c (ocd_print_tty_state, ser-e7kpc.c | |
2655 | (e7000pc_print_tty_state): Update. | |
2656 | * inflow.c (child_terminal_info): Update. | |
2657 | * serial.c (serial_print_tty_state): Update. | |
2658 | ||
2659 | Tue Sep 14 11:41:37 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2660 | ||
2661 | * serial.c, serial.h, ser-tcp.c, ser-unix.c, ser-pipe.c: Convert | |
2662 | all functions to ISO-C. | |
2663 | * serial.h, serial.c: Move all indirect macro function calls from | |
2664 | serial.h into serial.c. | |
2665 | (serial_drain_output, serial_flush_output, serial_flush_input, | |
2666 | serial_raw, serial_get_tty_state, serial_set_tty_state, | |
2667 | serial_print_tty_state, serial_noflush_set_tty_state, | |
2668 | serial_setbaudrate, serial_setstopbits): New functions. | |
2669 | (do_serial_close): Rename serial_close. | |
2670 | (serial_close, serial_un_fdopen): New functions. Call | |
2671 | do_serial_close. | |
2672 | ||
2673 | 1999-09-13 James Ingham <jingham@leda.cygnus.com> | |
2674 | ||
2675 | * symtab.c (decode_line_1): Find the rightmost parenthesis in the | |
2676 | expression, not the leftmost. This allows us to parse function | |
2677 | declarations with embedded function prototypes. | |
2678 | ||
2679 | Mon Sep 13 18:39:31 1999 Jeffrey A Law (law@cygnus.com) | |
2680 | ||
2681 | * pa64solib.c (pa64_sharedlibrary_info_command): Fix typos. | |
2682 | ||
2683 | 1999-09-13 Kevin Buettner <kevinb@cygnus.com> | |
2684 | ||
2685 | * i386-tdep.c (i386_extract_return_value): ifdef'd so that | |
2686 | non-linux targets will work again. | |
2687 | (i386_do_registers_info, i386_print_register): Revert changes | |
2688 | of 1999-09-03; these functions have been removed because they | |
2689 | are Linux specific and break non-Linux builds. This functionality | |
2690 | will be restored after FP support unification has been achieved. | |
2691 | * i387-tdep.c (i387_print_register, void i387_float_info): | |
2692 | Likewise. | |
2693 | * config/i386/tm-linux.h (i387_float_info, FLOAT_INFO, | |
2694 | DO_REGISTERS_INFO, i386_do_registers_info, | |
2695 | i387_print_register): Likewise. | |
2696 | ||
2697 | 1999-09-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
2698 | ||
2699 | * event-top.c (call_readline): Change to accept gdb_client_data as | |
2700 | param. | |
2701 | (rl_callback_read_char_wrapper): New function to match what the | |
2702 | event loop expects and what readline expects. | |
2703 | (change_line_handler): Make call_readline point to | |
2704 | rl_callback_read_char_wrapper, instead of rl_callback_read_char. | |
2705 | (_initialize_event_loop): Ditto. | |
2706 | (gdb_readline2): Change parameter to gdb_client_data. | |
2707 | * event-top.h (call_readline, gdb_readline2): Change accordingly. | |
2708 | ||
2709 | * event-loop.c (add_file_handler): Change 2nd par to | |
2710 | handler_func*. No more need for casting. | |
2711 | * event-loop.h (create_async_signal_handler): Change accordingly. | |
2712 | ||
2713 | * inferior.h (fetch_inferior_event): Change parameter to void*. | |
2714 | * infrun.c (fetch_inferior_event): Ditto. | |
2715 | ||
2716 | 1999-09-13 Stan Shebs <shebs@andros.cygnus.com> | |
2717 | ||
2718 | * infrun.c (step_into_function): New function, broken out from the | |
2719 | step_into_function label in handle_inferior_event. | |
2720 | (handle_inferior_event): Change a goto into a function call. | |
2721 | ||
2722 | 1999-09-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
2723 | ||
2724 | * event-top.h: New file. All the exported vars and functions from | |
2725 | event-top.c. | |
2726 | ||
2727 | * event-loop.h (struct gdb_event, event_handler_func, | |
2728 | file_handler, async_signal_handler, SELECT_MASK, fd_mask, NBBY, | |
2729 | FD_SETSIZE, howmany, NFDBITS, MASK_SIZE): Move to event-loop.c. | |
2730 | (struct prompts, PROMPT, PREFIX, SUFFIX, display_gdb_prompt, | |
2731 | async_init_signals, set_async_editing_command, | |
2732 | set_async_annotation_level, set_async_prompt, handle_stop_sig, | |
2733 | handle_sigint, pop_prompt, push_prompt, gdb_readline2, | |
2734 | mark_async_signal_handler_wrapper, async_request_quit, | |
2735 | async_command_editing_p, exec_done_display_p, | |
2736 | async_annotation_suffix, new_async_prompt, the_prompts, | |
2737 | call_readline, input_handler, input_fd): Move to event-top.h. | |
2738 | (All function prototypes): Don't use PARAMS anymore. | |
2739 | ||
2740 | * event-loop.c: (struct gdb_event, event_handler_func, | |
2741 | file_handler, async_signal_handler, SELECT_MASK, fd_mask, NBBY, | |
2742 | FD_SETSIZE, howmany, NFDBITS, MASK_SIZE): Move to here from | |
2743 | event-loop.h. | |
2744 | Include event-top.h. Remove use of PARAMS. ANSIfy functions headers. | |
2745 | ||
2746 | * event-top.c: Include event-top.h. Include "signals.h", not | |
2747 | <signals.h>. | |
2748 | Remove use of PARAMS. ANSIfy functions headers. | |
2749 | (handle_stop_sig): move prototype to event-top.h. | |
2750 | ||
2751 | * remote.c: Include event-top.h. Make it understand | |
2752 | async_signal_handler type. | |
2753 | * infrun.c: Include event-top.h. | |
2754 | * mi-main.c: Ditto. | |
2755 | * top.c Ditto. | |
2756 | * utils.c: Ditto. | |
2757 | ||
cff3e48b JM |
2758 | Mon Sep 13 18:54:05 1999 Andrew Cagney <cagney@b1.cygnus.com> |
2759 | ||
2760 | * gdbarch.sh: Describe each of the fields. | |
2761 | ||
2762 | Mon Sep 13 17:51:28 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2763 | ||
de57eccd | 2764 | From 1999-09-12 Jim Blandy <jimb@cygnus.com>: |
cff3e48b JM |
2765 | * gdbarch.sh (generating setters): Use sed to generate the proper |
2766 | indentation, not tr; tr's behavior is notoriously unportable. | |
2767 | ||
2768 | 1999-09-10 Jim Blandy <jimb@zwingli.cygnus.com> | |
2769 | ||
2770 | * i387-tdep.c (print_387_control_bits): Don't print newline; the | |
2771 | callers take care of that. (Thanks to H.J. Lu.) | |
2772 | ||
2773 | 1999-09-09 Stan Shebs <shebs@andros.cygnus.com> | |
2774 | ||
2775 | * d10v-tdep.c (DMEM_START): Set to 0x2000000. | |
2776 | (itrace, iuntrace, info itrace, itdisassemble, itracedisplay, | |
2777 | itracesource): Add 'i' prefix to commands, so as not to conflict | |
2778 | with generic trace commands. | |
2779 | ||
2780 | 1999-09-09 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
2781 | ||
2782 | * remote.c (_initialize_remote): Fix the specification of the | |
2783 | "remote" prefix to set and show commands. | |
2784 | ||
2785 | 1999-09-09 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
2786 | ||
2787 | * event-loop.c (create_file_event): New function. Creates a gdb | |
2788 | event for a given fd. | |
2789 | (gdb_wait_for_event): Use create_file_event(). | |
2790 | * event-loop.h: export create_file_event(). | |
2791 | ||
2792 | * event-loop.c (delete_file_handler): Move the clearing of the | |
2793 | mask to later on in the function, because we need it in order to | |
2794 | deactivate the correct fd when using select(). | |
2795 | ||
2796 | * m32r-tdep.c (decode_prologue): Fix typo. Instructions starting | |
2797 | with 0xf are branch instructions. | |
2798 | (m32r_scan_prologue): Initialize framesize to 0. | |
2799 | ||
d4f3574e SS |
2800 | 1999-09-07 J.T. Conklin <jtc@redback.com> |
2801 | ||
2802 | * i386-stub.c (exceptionHook, oldExceptionHook): Removed. | |
2803 | (handle_exception): Removed #if'd out exception hook code. | |
2804 | ||
2805 | * i386-stub.c, m68k-stub.c (error): Removed unused variable. | |
2806 | ||
2807 | * i386-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c, | |
2808 | sparcl-stub.c, sparclet-stub.c (remcomInBuffer, remcomOutBuffer): | |
2809 | Make static. | |
2810 | ||
2811 | Tue Sep 7 14:06:22 1999 Kevin Buettner <kevinb@cygnus.com> | |
2812 | ||
2813 | * config/i386/tm-linux.h (SOFUN_ADDRESS_MAYBE_MISSING): | |
2814 | Define. | |
2815 | ||
2816 | Tue Sep 7 08:18:01 1999 Kevin Buettner <kevinb@cygnus.com> | |
2817 | ||
2818 | From Jim Blandy <jimb@cygnus.com>: | |
2819 | ||
2820 | Step into calls to functions in shared libraries properly. See | |
2821 | the comments for SKIP_SOLIB_RESOLVER atop infrun.c for details. | |
2822 | * infrun.c (SKIP_SOLIB_RESOLVER): New macro. | |
2823 | ||
2824 | 1999-09-05 Fred Fish <fnf@cygnus.com> | |
2825 | ||
2826 | * elfread.c (elf_symtab_read): Remove separately passed bfd | |
2827 | pointer and offset. Pick up bfd pointer from objfile, and | |
2828 | get offset from objfile's section_offsets. | |
2829 | ||
2830 | Fri Sep 3 22:29:39 1999 Kevin Buettner <kevinb@cygnus.com> | |
2831 | ||
2832 | * config/i386/tm-linux.h (REGISTER_NAMES): Changed register | |
2833 | named "foo" to "fopo" which more accurately describes the FPU | |
2834 | Operand Pointer Offset. The real reason for this change, of | |
2835 | course, is that many programmers use $foo as a convenience | |
2836 | variable and are likely to be unpleasantly surprised to find | |
2837 | that they're unwittingly changing the state of their ia32 FPU. | |
2838 | ||
2839 | 1999-09-03 Jason Molenda (jsm@bugshack.cygnus.com) | |
2840 | ||
2841 | * monitor.c (monitor_supply_register): Stop scanning val string | |
2842 | if a newline is encountered. | |
2843 | ||
2844 | 1999-09-03 Jason Molenda (jsm@bugshack.cygnus.com) | |
2845 | ||
2846 | monitor.c (TARGET_BUF_SIZE): New macro, defined to 2048. | |
2847 | (monitor_expect_regexp, monitor_wait, monitor_dump_reg_block, | |
2848 | monitor_dump_reg_block): Dump hard-coded constants in favor | |
2849 | of TARGET_BUF_SIZE. | |
2850 | ||
2851 | (readchar): Re-enable output of characters read from monitor when | |
2852 | remotedebug is set. | |
2853 | ||
2854 | (monitor_supply_register): Use ULONGEST to hold value. | |
2855 | Replace strtoul() call with hand-coded loop to handle values | |
2856 | larger than 'long'. | |
2857 | ||
2858 | (monitor_store_register): Use ULONGEST to hold value. | |
2859 | ||
2860 | Fri Sep 3 00:47:44 1999 Kevin Buettner <kevinb@cygnus.com> | |
2861 | ||
2862 | [Merged linux/x86 floating point code from Bill Metzenthen, | |
cff3e48b | 2863 | Jim Blandy, Anthony Green, H. J. Lu, and possibly others. The |
d4f3574e SS |
2864 | following remarks are Jim Blandy's.] |
2865 | ||
2866 | * findvar.c (extract_floating): Call TARGET_EXTRACT_FLOATING, if | |
2867 | #defined. | |
2868 | (store_floating): Call TARGET_STORE_FLOATING, if #defined. | |
2869 | ||
2870 | * i386-tdep.c (i386_print_register, i386_do_registers_info): New | |
2871 | functions. | |
2872 | (i386_extract_return_value): GNU/Linux returns floating point | |
2873 | values in a floating point register too. | |
2874 | (set_disassembly_flavor): Add prototype. | |
2875 | (i386_extract_return_value): Use FPDATA_REGNUM, not FP0_REGNUM ( | |
2876 | which wasn't the first FP data register). | |
2877 | (i386_do_registers_info): Use FPSTART_REGNUM and FPEND_REGNUM as | |
2878 | the limits of the FPU-related registers. | |
2879 | (i386_extract_return_value): Tell GDB how to find return values | |
2880 | larger than four bytes. (Thanks to Paul N. Hilfinger for the bug | |
2881 | report.) | |
2882 | ||
2883 | * i387-tdep.c (print_387_control_word): Break out bit-splitting into... | |
2884 | (print_387_control_bits): New function. | |
2885 | (print_387_status_word): Break out bit-splitting into... | |
2886 | (print_387_status_bits): New function. | |
2887 | (i387_print_register, i387_float_info, i387_hex_float_input): New | |
2888 | functions. | |
2889 | (i387_extract_floating, i387_store_floating): New functions. | |
2890 | ||
2891 | * valprint.c (print_floating): Use macro TARGET_ANALYZE_FLOATING, | |
2892 | if it's #defined. Tolerate values of `nonnegative' other than | |
2893 | zero and one. | |
2894 | ||
2895 | * i386-linux-nat.c: New file. | |
2896 | * Makefile.in (ALLDEPFILES): Mention i386-linux-nat.c. | |
2897 | (i386-linux-nat.o): New rule, listing dependencies. | |
2898 | * config/i386/linux.mh (NATDEPFILES): Use i386-linux-nat.o, not | |
2899 | the plain i386v4-nat.o. | |
2900 | * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. | |
2901 | * config/i386/xm-linux.h: Define HOST_I386. | |
2902 | ||
2903 | * config/i386/tm-linux.h (FP0_REGNUM): Replaced by... | |
2904 | (FPSTART_REGNUM, FPCONTROL_REGNUM, FPSTATUS_REGNUM, FPTAG_REGNUM, | |
2905 | FPDATA_REGNUM, FPEND_REGNUM): New definitions. | |
2906 | (REGISTER_BYTES): Changed accordingly. | |
2907 | (SKIP_SOLIB_RESOLVER): #define this. | |
2908 | (i386_linux_skip_solib_resolver): New declaration. | |
2909 | (i387_float_info): Added extern decl for this function. | |
2910 | (TARGET_EXTRACT_FLOATING, TARGET_STORE_FLOATING, | |
2911 | TARGET_ANALYZE_FLOATING): Define. | |
2912 | (i387_extract_floating, i387_store_floating): New extern decls. | |
2913 | (I386_GNULINUX_TARGET): Define. | |
2914 | (NUM_REGS, NUM_FREGS, REGISTER_NAMES, FP0_REGNUM, FPDATA_REGNUM, | |
2915 | FPENV_BYTES, FPREG_RAW_SIZE, FPREG_BYTES, REGISTER_BYTES, | |
2916 | REGISTER_BYTE, REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE, | |
2917 | MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE, | |
2918 | TARGET_LONG_DOUBLE_BIT, FLOAT_INFO, DO_REGISTERS_INFO): New | |
2919 | definitions, perhaps overriding those inherited from | |
2920 | config/i386/tm-i386.h. | |
2921 | (i386_do_registers_info, i387_print_register, double_to_i387, | |
2922 | i387_to_double): New declarations. | |
2923 | (LD_I387): Define iff both the host and target are using i387 | |
2924 | FPU's. | |
2925 | (HEX_FLOAT_INPUT, REGISTER_CONVERTIBLE, | |
2926 | REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERT_TO_RAW, | |
2927 | REGISTER_VIRTUAL_TYPE): Define these if LD_I387 is defined. | |
2928 | ||
2929 | * source.c (list_command): List the right number of source lines, | |
2930 | even if we're at the top of the file. | |
2931 | ||
2932 | 1999-09-02 Stan Shebs <shebs@andros.cygnus.com> | |
2933 | ||
2934 | * infrun.c (step_over_function): New function, broken out from the | |
2935 | step_over_function label in handle_inferior_event. | |
2936 | (handle_inferior_event): Change a goto into a function call. | |
2937 | ||
2938 | Thu Sep 2 18:26:04 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2939 | ||
2940 | * Makefile.in (GDB_WERROR_CFLAGS, GBB_WARN_CFLAGS): Define. | |
2941 | (INTERNAL_CFLAGS): Update | |
2942 | * configure.in (WERROR_CFLAGS, WARN_CFLAGS): Sync with | |
2943 | ../sim/common/aclocal.m4. | |
2944 | * configure: Re-generate. | |
2945 | ||
2946 | Thu Sep 2 00:27:36 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
2947 | ||
2948 | * Makefile.in (z8k-tdep.o): For moment, don't try to compile with | |
2949 | -Werror. See Makefile.in. | |
2950 | * z8k-tdep.c (z8k_set_pointer_size): Document problem. | |
2951 | ||
2952 | * config/z8k/tm-z8k.h (z8k_print_register_hook, z8k_frame_chain, | |
2953 | z8k_saved_pc_after_call, z8k_frame_saved_pc, | |
2954 | z8k_set_pointer_size): Declare. | |
2955 | (z8k_skip_prologue): Fix typo. Was mz8k_skip_prologue. | |
2956 | (FRAME_CHAIN, PRINT_REGISTER_HOOK, FRAME_SAVED_PC, | |
2957 | SAVED_PC_AFTER_CALL): Update. | |
2958 | * z8k-tdep.c (z8k_print_register_hook): Rename | |
2959 | z8k_print_register_hook. | |
2960 | (z8k_frame_chain): Rename frame_chain. | |
2961 | (z8k_saved_pc_after_call): Rename saved_pc_after_call. | |
2962 | (z8k_frame_saved_pc): Rename frame_saved_pc. | |
2963 | (z8k_print_register_hook): Fix printf. | |
2964 | (read_memory_pointer): Add declaration. | |
2965 | ("value.h"): Include. | |
2966 | * Makefile.in (z8k-tdep.o): Add dependency on value.h. | |
2967 | ||
2968 | * config/sparc/tm-sparc.h (PRINT_EXTRA_FRAME_INFO): Fix | |
2969 | printf. calls | |
2970 | * Makefile.in (remote-e7000.o): For moment, don't try to compile | |
2971 | with -Werror. See Makefile.in. | |
2972 | * sh-tdep.c (sh_show_regs): Fix printf calls. | |
2973 | * xcoffsolib.c (solib_info): Fix Printf calls. | |
2974 | * dink32-rom.c: #include "symfile.h" for generic_load and | |
2975 | "inferior.h" for write_pc. | |
2976 | * Makefile.in (dink32-rom.o): Update. | |
2977 | ||
2978 | * config/mn10300/tm-mn10300.h (mn10300_store_struct_return), | |
2979 | config/mn10200/tm-mn10200.h (mn10200_store_struct_return): Add | |
2980 | declarations. | |
2981 | ||
2982 | Tue Aug 31 00:48:27 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
2983 | ||
2984 | * config/mips/tm-tx49el.h (REGISTER_SIM_REGNO): Define. | |
2985 | ||
2986 | * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): | |
2987 | Pass REGISTER_SIM_REGNO converted register number to the | |
2988 | simulator. | |
2989 | ||
2990 | 1999-09-01 Tom Tromey <tromey@cygnus.com> | |
2991 | ||
2992 | * config/i386/nm-linux.h (PREPARE_TO_PROCEED): Added argument. | |
2993 | ||
2994 | 1999-09-01 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
2995 | ||
2996 | * values.c (value_virtual_fn_field): Remove unused var(s). | |
2997 | * thread.c (prune_threads): Ditto. | |
2998 | * symtab.c (lookup_transparent_type): Ditto. | |
2999 | (decode_line_1): Ditto. | |
3000 | (make_symbol_overload_list): Ditto. | |
3001 | * rs6000-tdep.c (frame_get_saved_regs): Ditto. | |
3002 | (set_processor): Ditto. | |
3003 | * remote.c (remote_remove_breakpoint): Ditto. | |
3004 | (remote_query): Ditto. | |
3005 | (readtty): Ditto. | |
3006 | * remote-sds.c (sds_fetch_registers): Ditto. | |
3007 | (putmessage): Ditto. | |
3008 | * ppcbug-rom.c (ppcbug_supply_register): Ditto. | |
3009 | (ppcbug_open): Remove unused prototype. | |
3010 | * parse.c (parse_nested_classes_for_hpacc): Remove unused var(s). | |
3011 | * ocd.c (ocd_open): Ditto. | |
3012 | (ocd_get_packet): Ditto. | |
3013 | * monitor.c (monitor_error): Ditto. | |
3014 | (monitor_wait_srec_ack): Ditto. | |
3015 | * main.c (main): Ditto. | |
3016 | * gdbtypes.c (count_virtual_fns): Ditto. | |
3017 | * exec.c (exec_file_command): Ditto. | |
3018 | ||
3019 | * event-top.c: Include handle_sigwinch() function prototype within | |
3020 | appropriate #ifdef. | |
3021 | ||
3022 | * eval.c (evaluate_subexp_standard): Remove unused variable. | |
3023 | (evaluate_subexp_standard): Remove unused variables. | |
3024 | * dink32-rom.c (dink32_supply_register): Remove unused variable. | |
3025 | * dbxread.c (elfstab_build_psymtabs): Ditto. | |
3026 | * command.c (do_setshow_command): Ditto. | |
3027 | * breakpoint.c (solib_load_unload_1): Remove unused variables 'i' | |
3028 | and 'sal'. | |
3029 | (until_break_command): Remove unused variables 'arg1' and 'arg2'. | |
3030 | (create_exception_catchpoint): Remove unused variable 'i'. | |
3031 | * ax-gdb.c (gen_sub): Remove unused variable. | |
3032 | (_initialize_ax_gdb): Ditto. | |
3033 | ||
3034 | * ser-pipe.c (pipe_readchar): If timeout is expired return | |
3035 | SERIAL_TIMEOUT. | |
3036 | * ser-tcp.c (tcp_readchar): If timeout is expired return | |
3037 | SERIAL_TIMEOUT. | |
3038 | ||
3039 | Wed Sep 1 15:07:25 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3040 | ||
3041 | * version.h: New file. | |
3042 | * Makefile.in (version_h): Define. | |
3043 | (version.o): Add target. | |
3044 | ||
3045 | * remote-array.c: #include "version.h". | |
3046 | (version): Delete extern declarations. | |
3047 | * Makefile.in (remote-array.o): Add dependency on version.h. | |
3048 | ||
3049 | * top.c: #include "version.h". | |
3050 | (version, host_name, target_name): Delete extern declarations. | |
3051 | * Makefile.in (top.o): Add dependency on version.h. | |
3052 | ||
3053 | * remote.c (remote_remove_watchpoint, remote_insert_watchpoint), | |
3054 | remote-array.c (array_open), remote-mips.c (send_srec), | |
3055 | dve3900-rom.c (store_bitmapped_register): Fix Printfs. | |
3056 | ||
3057 | * mips-tdep.c (mips_print_extra_frame_info, print_unpack), | |
3058 | m32r-rom.c (m32r_load_section), m32r-tdep.c (m32r_frame_chain), | |
3059 | dsrec.c (load_srec): Fix printf problems. | |
3060 | ||
3061 | Wed Sep 1 13:16:49 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3062 | ||
3063 | * Makefile.in (monitor.o): For moment, don't try to compile with | |
3064 | -Werror. monitor.c has -Wformat problems. See Makefile.in for | |
3065 | more info. | |
3066 | ||
3067 | Tue Aug 31 21:23:38 1999 Jeffrey A Law (law@cygnus.com) | |
3068 | ||
3069 | * hppa-tdep.c (prologue_inst_adjust_sp): Correct offset computation | |
3070 | for doubleword store instructions. | |
3071 | (hppa_frame_find_saved_regs): Similarly. | |
3072 | ||
3073 | Wed Sep 1 09:22:50 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3074 | ||
3075 | * d30v-tdep.c (d30v_print_register): | |
3076 | (tdisassemble_command): | |
3077 | ||
3078 | * d10v-tdep.c (show_regs, trace_info, tdisassemble_command): Fix | |
3079 | printf problems. | |
3080 | ||
3081 | * remote-sim.c (dump_mem), remote-rdi.c (arm_rdi_create_inferior): | |
3082 | Fix printf arguments. | |
3083 | ||
3084 | * remote-mips.c, mips-tdep.c: Move declaration of | |
3085 | ``mips_set_processor_type_command'' from here. | |
3086 | * config/mips/tm-mips.h: To here. | |
3087 | * remote-array.c: #include "inferior.h". | |
3088 | * config/mips/tm-embed.h (remote_mips_stopped_by_watchpoint): Add | |
3089 | declaration. | |
3090 | * remote-mips.c (remote_mips_stopped_by_watchpoint): Define using | |
3091 | ISO-C prototype. | |
3092 | (monitor_supports_breakpoints): Integer variable. | |
3093 | ||
3094 | * m32r-rom.c: #include "inferior.h" and <ctype.h> | |
3095 | * config/m32r/tm-m32r.h (m32r_write_sp): Add declaration. | |
3096 | ||
3097 | * config/i960/tm-i960.h (leafproc_return, i960_pop_frame): Add | |
3098 | declaration. | |
3099 | (POP_FRAME): Call i960_pop_frame. | |
3100 | * i960-tdep.c (i960_pop_frame): Rename pop_frame. | |
3101 | * mon960-rom.c: #include "inferior.h" for declaration of write_pc. | |
3102 | ||
3103 | 1999-08-15 Fred Fish <fnf@cygnus.com> | |
3104 | ||
3105 | * objfiles.c (objfile_relocate): Use SIZEOF_SECTION_OFFSETS when | |
3106 | allocating section_offsets array. | |
3107 | * remote-os9k.c (rombug_wait): Ditto. | |
3108 | * remote-vx.c (vx_add_symbols): Ditto. | |
3109 | * remote.c (get_offsets): Ditto. | |
3110 | (remote_cisco_objfile_relocate): Ditto. | |
3111 | * rs6000-nat.c (vmap_symtab): Ditto. | |
3112 | ||
3113 | * dstread.c (dst_symfile_offsets): Set section_offsets directly instead | |
3114 | of returning a pointer to section offsets. | |
3115 | * somread.c (som_symfile_offsets): Ditto. | |
3116 | * xcoffread.c (xcoff_symfile_offsets): Ditto. | |
3117 | * symfile.c (default_symfile_offsets): Ditto. | |
3118 | (syms_from_objfile): The sym_offsets function has already set section | |
3119 | offsets and no longer returns a value. | |
3120 | ||
3121 | * xcoffread.c (scan_xcoff_symtab): Eliminate section_offsets passed | |
3122 | separate from objfile. | |
3123 | (xcoff_start_psymtab): Ditto. | |
3124 | (START_PSYMTAB): Ditto. | |
3125 | * os9kread.c (read_minimal_symbols): Ditto. | |
3126 | (read_os9k_psymtab): Ditto. | |
3127 | (os9k_start_psymtab): Ditto. | |
3128 | (record_minimal_symbol): Ditto. | |
3129 | * dbxread.c (START_PSYMTAB): Ditto. | |
3130 | (start_psymtab): Ditto. | |
3131 | * mdebugread.c (START_PSYMTAB): Ditto. | |
3132 | (elfmdebug_build_psymtabs): Ditto. | |
3133 | (mdebug_build_psymtabs): Ditto. | |
3134 | (parse_partial_symbols): Ditto. | |
3135 | (new_psymtab): Ditto. | |
3136 | * dwarfread.c (dwarf_build_psymtabs): Ditto. | |
3137 | * partial-stab.h (START_PSYMTAB): Ditto. | |
3138 | * stabsread.h (start_psymtab): Ditto. | |
3139 | * dwarf2read.c (dwarf2_build_psymtabs): Ditto. | |
3140 | (dwarf2_build_psymtabs_easy): Ditto. | |
3141 | (dwarf2_build_psymtabs_hard): Ditto. | |
3142 | * hp-psymtab-read.c (hpread_build_psymtabs): Ditto. | |
3143 | (hpread_quick_traverse): Ditto. | |
3144 | (hpread_start_psymtab): Ditto. | |
3145 | (scan_procs): Ditto. | |
3146 | * hpread.c (hpread_build_psymtabs): Ditto. | |
3147 | * symfile.h (dwarf2_build_psymtabs): Ditto. | |
3148 | ||
3149 | * dbxread.c (read_dbx_symtab): Use ANOFFSET to access section | |
3150 | offsets. | |
d4f3574e SS |
3151 | * coffread.c (enter_linenos): Pass objfile instead of section |
3152 | offsets. | |
d4f3574e SS |
3153 | |
3154 | * dbxread.c (dbx_symfile_read): No need to explicitly pass | |
3155 | text addr and size. Let read_dbx_symtab find them. | |
3156 | (read_dbx_symtab): Get text addr and size from objfile. | |
3157 | (dbx_symfile_read): Remove dead code (call to strlen); | |
3158 | ||
3159 | 1999-08-31 Michael Snyder <msnyder@cleaver.cygnus.com> | |
3160 | ||
3161 | * Makefile.in: add rule for sol-thread.o. | |
3162 | Add rule for linux-thread.o. | |
3163 | ||
3164 | 1999-08-13 Jim Kingdon <kingdon@redhat.com> | |
3165 | ||
3166 | Threads code from gdb 4.18-codefusion-990706 | |
cff3e48b | 3167 | [Thanks to Eric Paire, H. J. Lu, Jim Blandy and others] |
d4f3574e SS |
3168 | * infrun.c (signal_stop_update, signal_print_update, |
3169 | signal_pass_update): new functions. | |
3170 | * inferior.h: new prototypes for above functions. | |
3171 | * target.h (enum strata): add thread stratum. | |
3172 | * linux-thread.c: new file. Support for debugging linux threads. | |
3173 | * config/i386/nm-linux.h: several new prototypes for above. | |
3174 | * config/i386/linux.mh: add linux-thread.o to NATDEPFILES. | |
3175 | ||
3176 | More threads code from the same place: | |
3177 | * config/i386/tm-linux.h (REALTIME_LO, REALTIME_HI): Add | |
3178 | definitions. | |
3179 | * target.h (enum target_signal): Add TARGET_SIGNAL_REALTIME_32. | |
3180 | * target.c (signals, target_signal_from_host, | |
3181 | target_signal_to_host): Add clauses for | |
3182 | TARGET_SIGNAL_REALTIME_32. | |
3183 | ||
3184 | 1999-08-31 Neil Schellenberger <neil.schellenberger@crosskeys.com> | |
3185 | ||
3186 | * sol-thread.c (sol_thread_detach): strip thread-id out of | |
3187 | inferior_pid, so that procfs_detach can't choke on it. | |
3188 | ||
3189 | 1999-08-31 J.T. Conklin <jtc@redback.com> | |
3190 | ||
3191 | * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c, | |
3192 | sparcl-stub.c, sparclet-stub.c (getpacket): Remove 'buffer' arg, | |
3193 | define it as a pointer to &remcomInBuffer[0]. | |
3194 | (handle_exception): Update. | |
3195 | ||
3196 | * sparc-stub.c, sparcl-stub.c, sparclet-stub.c (handle_exception): | |
3197 | Removed #ifdef'd out code which implements the non-standard 'b' | |
3198 | (set baud rate) command. | |
3199 | ||
3200 | 1999-08-31 Stan Shebs <shebs@andros.cygnus.com> | |
3201 | ||
3202 | * infrun.c (keep_going): New function, broken out from the | |
3203 | keep_going label in handle_inferior_event. | |
3204 | (handle_inferior_event): Change more gotos into function calls. | |
3205 | ||
3206 | Tue Aug 31 02:29:27 1999 Jeffrey A Law (law@cygnus.com) | |
3207 | ||
3208 | * hppa-tdep.c (read_unwind_info): Handle multiple unwind sections. | |
3209 | ||
3210 | Tue Aug 31 15:28:44 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3211 | ||
3212 | * config/alpha/tm-alpha.h (PRINT_EXTRA_FRAME_INFO): Fix printf | |
3213 | format argument. | |
3214 | * alpha-tdep.c (heuristic_proc_start): Ditto. | |
3215 | ||
3216 | From Stan Shebs <shebs@andros.cygnus.com>: | |
3217 | * defs.h (strlen_paddr): Fix prototype - add void argument list. | |
3218 | ||
3219 | Tue Aug 31 14:02:12 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3220 | ||
3221 | * defs.h (gdb_print_host_address), utils.c | |
3222 | (gdb_print_host_address): Rename gdb_print_address. | |
3223 | ||
3224 | * expprint.c, gdbtypes.c, symmisc.c: Update. | |
3225 | ||
3226 | *expprint.c: Use gdb_print_host_address when displaying native | |
3227 | pointers. | |
3228 | ||
3229 | Sat Aug 28 14:23:29 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3230 | ||
3231 | * scm-valprint.c (scm_ipruk), jv-valprint.c (java_value_print), | |
3232 | cp-valprint.c (cp_print_class_member), exec.c (exec_files_info), | |
3233 | remote.c (putpkt_binary, compare_sections_command, | |
3234 | remote_cisco_section_offsets), dcache.c (dcache_info), | |
3235 | breakpoint.c (break_at_finish_at_depth_command_1, | |
3236 | break_at_finish_command_1), symfile.c (generic_load), | |
3237 | (report_transfer_performance), top.c (get_prompt_1), f-valprint.c | |
3238 | (f_val_print), maint.c (maintenance_translate_address): Fix printf | |
3239 | -Wformat warnings. Use paddr, paddr_nz, sizeof_paddr, paddr_u and | |
3240 | paddr_d to print addresses. Change ``d'' to ``ld''. | |
3241 | ||
3242 | * utils.c (strlen_paddr): New function. | |
3243 | ||
3244 | Tue Aug 31 01:36:44 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3245 | ||
3246 | * config/d30v/tm-d30v.h (d30v_frame_chain, | |
3247 | d30v_init_frame_pc): Add declaration. | |
3248 | ||
3249 | * arc-tdep.c (arc_pop_frame): Rename pop_frame. | |
3250 | (arc_push_dummy_frame): Rename push_dummy_frame. | |
3251 | (arc_set_cpu_type_command): Add declaration. | |
3252 | ||
3253 | * config/arc/tm-arc.h (arc_pop_frame, arc_push_dummy_frame): Add | |
3254 | declaration. | |
3255 | ||
104c1213 JM |
3256 | 1999-08-30 Stan Shebs <shebs@andros.cygnus.com> |
3257 | ||
3258 | * infrun.c (prepare_to_wait): New function, broken out from the | |
3259 | wfi_continue label in handle_inferior_event. | |
3260 | (handle_inferior_event): Change more gotos into function calls. | |
3261 | ||
3262 | 1999-08-30 Michael Snyder <msnyder@cleaver.cygnus.com> | |
3263 | ||
3264 | * tracepoint.c: -Wall warning cleanup. | |
3265 | (parse_and_eval_memrange): remove (unused). | |
3266 | (output_command, args_info, locals_info, registers_info): add decls. | |
3267 | (getpkt, putpkt, remote_console_output): add decls. | |
3268 | (isalnum, isspace): cast arg to avoid warning. | |
3269 | (printf, fprintf, sprintf): use [fs]printf_vma for printing addrs. | |
3270 | ||
3271 | Mon Aug 30 21:47:58 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3272 | ||
3273 | * d10v-tdep.c: #include "language.h". | |
3274 | ||
3275 | Mon Aug 30 20:38:57 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3276 | ||
3277 | * configure.in (AC_CHECK_HEADERS): Check for <time.h>. | |
3278 | * configure, acconfig.in: Re-generate. | |
3279 | ||
3280 | * remote-rdp.c: #include <time.h> | |
3281 | ||
3282 | * config/arm/tm-arm.h (arm_float_info): Add declaration. | |
3283 | ||
3284 | * arm-tdep.c (convert_from_extended, convert_to_extended): Change | |
3285 | double ptr arg to void ptr arg. | |
3286 | ||
3287 | * config/arm/tm-arm.h (arm_frameless_function_invocation): Add | |
3288 | declaration. | |
3289 | (arm_frame_find_saved_regs): Rename frame_find_saved_regs. | |
3290 | (convert_from_extended, convert_to_extended): Add declaration. | |
3291 | ||
3292 | Mon Aug 30 19:05:32 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3293 | ||
3294 | * configure.in (WERR_CFLAGS): Separate the -Werror flag. | |
3295 | * configure: Re-generate. | |
3296 | ||
3297 | * Makefile.in (INTERNAL_CFLAGS): Re-define using | |
3298 | INTERNAL_WARN_CFLAGS. | |
3299 | (INTERNAL_WARN_CFLAGS): Define. Leave off WERR_CFLAGS. | |
3300 | (tracepoint.o): Add explicit rule. | |
3301 | (WERR_CFLAGS): Add definition. | |
3302 | ||
3303 | Mon Aug 30 17:52:17 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3304 | ||
3305 | * utils.c: #include "event-loop.h" for declaration of | |
3306 | async_request_quit. | |
3307 | * Makefile.in (utils.o): Add dependency on event-loop.h. | |
3308 | ||
3309 | * event-top.c (mark_async_signal_handler_wrapper, | |
3310 | async_request_quit): Move declaration from here. | |
3311 | * event-loop.h: To here. | |
3312 | ||
3313 | * defs.h: Add declaration of exec.c:exec_set_section_offsets. | |
3314 | ||
3315 | * event-top.c: #include "gdbcmd.h" which includes "command.h" and | |
3316 | hence expose declaration of function dont_repeat. | |
3317 | ||
3318 | * top.c (ISATTY), tracepoint.c (ISATTY), utils.c (ISATTY), | |
3319 | event-top.c (ISATTY): Move definitions from here. | |
3320 | * defs.h (ISATTY): To here. #include <unistd.h>. | |
3321 | ||
3322 | * sol-thread.c, solib.c, source.c, sparcl-tdep.c, tracepoint.c, | |
3323 | utils.c, win32-nat.c, wince.c, top.c, symfile.c, ser-unix.c, | |
3324 | ser-tcp.c, procfs.c, maint.c, infttrace.c, hppa-tdep.c, | |
3325 | ser-pipe.c, remote-rdp.c, main.c, inftarg.c, inflow.c, | |
3326 | hpux-thread.c, hp-psymtab-read.c, go32-nat.c, fork-child.c, | |
3327 | corelow.c, command.c: Do not #include <unistd.h>, moved to defs.h. | |
3328 | ||
3329 | Mon Aug 30 15:14:43 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3330 | ||
3331 | * defs.h (struct tui_stream, enum streamtype): Move from here. | |
3332 | * utils.c: To here. | |
3333 | ||
3334 | * main.c (tui_file_fputs): Move from here. | |
3335 | * utils.c: To here. | |
3336 | ||
3337 | Sun Aug 29 10:03:32 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3338 | ||
3339 | * gdb-events.h, gdb-events.c, gdb-events.sh: New files. | |
3340 | ||
3341 | 1999-08-27 Michael Snyder <msnyder@cleaver.cygnus.com> | |
3342 | ||
3343 | * solib.c (open_symbol_file_object): new function. | |
3344 | Called when attaching to a new process, if there is no loaded | |
3345 | symbol file. Attempts to locate the executable file for the | |
3346 | attached process and load symbols from it. | |
3347 | (solib_add): Call open_symbol_file_object if attaching to a | |
3348 | new process and no open symbol file. | |
3349 | ||
3350 | 1999-08-27 Jason Molenda (jsm@bugshack.cygnus.com) | |
3351 | ||
3352 | * config/i386/tm-sun386.h (GDB_TARGET_IS_SUN386): Definition | |
3353 | removed--no longer checked anywhere in gdb. | |
3354 | ||
3355 | 1999-08-27 Stan Shebs <shebs@andros.cygnus.com> | |
3356 | ||
3357 | * infrun.c (stop_stepping): New function, broken out from | |
3358 | stop_stepping label in handle_inferior_event. | |
3359 | (handle_inferior_event): Change gotos into function calls. | |
3360 | ||
3361 | Fri Aug 27 20:13:22 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3362 | ||
3363 | * defs.h (LONGEST): Move definition to earlier in file - to just | |
3364 | after BFD. | |
3365 | (paddr_u, paddr_d): Declare. | |
3366 | * utils.c (decimal2str): New function. | |
3367 | (paddr_u, paddr_d): Define. | |
3368 | ||
3369 | * remote.c (remote_cisco_section_offsets, | |
3370 | compare_sections_command): Fix XprintfX arguments. Use paddr... | |
3371 | (putpkt_binary): Fix XprintfX arguments. | |
3372 | ||
3373 | Tue Aug 24 21:30:36 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3374 | ||
3375 | * arm-tdep.c (arm_init_extra_frame_info): Add braces. Recommended | |
3376 | by gcc -Wparentheses. | |
3377 | ||
3378 | 1999-08-26 Stan Shebs <shebs@andros.cygnus.com> | |
3379 | ||
3380 | * infrun.c (check_sigtramp2): New function, broken out from | |
3381 | check_sigtramp2 label in handle_inferior_event. | |
3382 | (handle_inferior_event): Change gotos into function calls. | |
3383 | ||
3384 | Declare Tahoe configuration obsolete. | |
3385 | * configure.host, configure.tgt: Comment out Tahoe configs. | |
3386 | * Makefile.in: Comment out Tahoe-related action. | |
3387 | * tahoe-tdep.c, config/tahoe/*: Comment out. | |
3388 | * NEWS: Mention obsolete status. | |
3389 | ||
3390 | 1999-08-26 J.T. Conklin <jtc@redback.com> | |
3391 | ||
3392 | * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sh-stub.c, | |
3393 | sparc-stub, sparcl-stub.c sparclet-stub.c (getpacket): If '$', | |
3394 | the packet start character is received in the 'middle' of a | |
3395 | packet, assume that packet end character has been lost and | |
3396 | start a new packet. | |
3397 | ||
3398 | * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c, | |
3399 | sparcl-stub.c sparclet-stub.c (getpacket): Changed to return ptr | |
3400 | to first character of input buffer. Removed & 0x7f masks. | |
3401 | (handle_exception): Don't access remcomInBuffer directly. | |
3402 | ||
3403 | 1999-08-25 Stan Shebs <shebs@andros.cygnus.com> | |
3404 | ||
3405 | * breakpoint.c (disable_breakpoints_in_shlibs): Only disable | |
3406 | enabled breakpoints. | |
3407 | ||
3408 | Tue Aug 24 14:59:23 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3409 | ||
3410 | * tracepoint.c, remote.c, pa64solib.h, value.h, somsolib.h, | |
3411 | solib.h, scm-lang.h, language.h, inferior.h, defs.h, coff-solib.h, | |
3412 | ch-lang.h, breakpoint.h, annotate.h: Remove #if __STDC__ wrapping | |
3413 | struct declarations. | |
3414 | ||
3415 | * config/sparc/nm-sun4sol2.h, config/mn10300/tm-mn10300.h, | |
3416 | config/mn10200/tm-mn10200.h, config/i386/tm-i386.h, | |
3417 | config/i386/tm-i386v.h, config/i386/nm-i386sol2.h, | |
3418 | config/pa/nm-hppah.h, config/rs6000/nm-rs6000.h, | |
3419 | config/sparc/tm-sp64.h, config/v850/tm-v850.h, | |
3420 | config/tic80/tm-tic80.h, config/sparc/tm-sparc.h, | |
3421 | config/sh/tm-sh.h, config/rs6000/tm-rs6000.h, config/pa/tm-hppa.h, | |
3422 | config/mips/tm-mips.h, config/m68k/tm-m68k.h, | |
3423 | config/m32r/tm-m32r.h, config/i960/tm-mon960.h, | |
3424 | config/fr30/tm-fr30.h, config/h8300/tm-h8300.h, | |
3425 | config/arm/tm-arm.h, config/alpha/tm-alpha.h, | |
3426 | config/a29k/tm-a29k.h: Ditto. | |
3427 | ||
3428 | Wed Aug 25 10:45:33 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3429 | ||
3430 | * Makefile.in (gdb$(EXEEXT)): Add dependency on TDEPLIBS. | |
3431 | ||
3432 | * config/arm/arm.mt (TDEPLIBS): Define. Move libangsd.a to here. | |
3433 | (TDEPFILES): From here. | |
3434 | ||
3435 | 1999-08-24 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
3436 | ||
3437 | * top.c (init_main): Add new set/show command exec-done-display, | |
3438 | default value is off. | |
3439 | * event-loop.h: Export exec_done_display_p. | |
3440 | * event-top.c: New variable exec_done_display_p. | |
3441 | * infrun.c (complete_execution): Print completion message if | |
3442 | corresponding flag is set. | |
3443 | ||
3444 | * top.c (DEFAULT_PROMPT): Add space after "(gdb)" at end of prompt. | |
3445 | ||
3446 | From: J.T. Conklin <jtc@redback.com> | |
3447 | * top.c (DEFAULT_PROMPT): Set to "(gdb)" if not already defined. | |
3448 | (init_main): Always use DEFAULT_PROMPT. | |
3449 | ||
3450 | Tue Aug 24 03:23:31 1999 Jeffrey A Law (law@cygnus.com) | |
3451 | ||
3452 | * hppa-tdep.c: Remove useless "purecov: deadcode" comments. | |
3453 | (hppa_use_struct_convention): Update for PA64. | |
3454 | (hppa_frame_saved_pc): Properly extract the saved PC in a call | |
3455 | dummy frame. | |
3456 | (in_solib_call_trampoline): Return nonzero if we are in a function | |
3457 | called ".stub". | |
3458 | (prologue_inst_adjust_sp): Handle std,ma. | |
3459 | (skip_prologue_hard_way): Handle more PA2.0/PA64 insns. | |
3460 | (hppa_frame_find_saved_regs): Similarly. Handle indirect save of | |
3461 | %r3 into the stack. | |
3462 | ||
3463 | * config/pa/tm-hppa64.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): Define. | |
3464 | (CALL_DUMMY_BREAKPOINT_OFFSET): Define. | |
3465 | ||
3466 | Tue Aug 24 14:59:23 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3467 | ||
3468 | * Makefile.in (gdb$(EXEEXT)): Add dependency on main.o that was | |
3469 | lost when libgdb.a was added. | |
3470 | ||
3471 | Tue Aug 24 14:26:34 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3472 | ||
3473 | * gdbarch.c, gdbarch.h: Convert to pure ISO-C. | |
3474 | ||
3475 | * gdbarch.sh: New file. | |
3476 | * gdbarch.c, gdbarch.h: Add note describing gdbarch.sh | |
3477 | ||
3478 | Mon Aug 23 19:36:17 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3479 | ||
3480 | * Makefile.in (libgdb.a): New target. | |
3481 | (gdb$(EXEEXT)): Add dependency on libgdb.a. | |
3482 | (libgdb-files, LIBGDB_OBS, libgdb, LIBGDBDEPS, LIBGDBFILES): Delete. | |
3483 | ||
53a5351d JM |
3484 | Mon Aug 23 10:16:32 1999 Jeffrey A Law (law@cygnus.com) |
3485 | ||
104c1213 JM |
3486 | * infttrate.c (child_pid_to_exec_file): Find the correct base |
3487 | of the stack for PA64. | |
3488 | ||
53a5351d JM |
3489 | * pa64solib.c: Fix some minor whitespace problems. |
3490 | (bfd_lookup_symbol): New function. | |
3491 | (pa64_solib_create_inferior_hook): Find the address __dld_break | |
3492 | in the dynamic linker. Try to set a shlib event breakpoint in | |
3493 | that function. | |
3494 | (add_to_solist): Do not add the same shared library to the shlib | |
3495 | list more than once. | |
3496 | ||
3497 | Sun Aug 22 14:49:40 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3498 | ||
3499 | * value.h (enum lval_type): Move declaration from here. | |
3500 | * defs.h (enum lval_type): To here. | |
3501 | * frame.h, gdbarch.h: Delete incomplete declaration of ``enum | |
3502 | lval_type''. | |
3503 | ||
3504 | 1999-08-20 Michael Snyder <msnyder@cleaver.cygnus.com> | |
3505 | ||
3506 | * breakpoint.c (can_use_hardware_watchpoint): reject expressions | |
3507 | that refer to registers or register variables. | |
3508 | ||
3509 | Fri Aug 20 10:53:38 1999 Jeffrey A Law (law@cygnus.com) | |
3510 | ||
3511 | * hppa-tdep.c (hppa_fix_call_dummy): Provide PA2.0W aware code. | |
3512 | ||
3513 | * pa64solib.c pa64solib.h: New files. | |
3514 | ||
3515 | * config/pa/hppa64.mt: Delete commented out code that is and | |
3516 | never will be appropriate for this target. | |
3517 | * config/pa/hpux11w.mt (TDEPFILES): Remove SOM references. Also | |
3518 | remove pa64solib.o. | |
3519 | * config/pa/hpux11w.mh (NATDEPFILES): Remove SOM references. | |
3520 | ||
3521 | * configure.host; Use "hpux11w" and "hpux11" instead of | |
3522 | "hpux1100w" and "hpux1100" respectively | |
3523 | * config/pa/hpux11w.mh: Renamed from hpux1100w.mh. | |
3524 | * config/pa/hpux11w.mt, config/pa/hpux11.mh: Likewise. | |
3525 | * config/pa/hpux11.mt: Likewise. | |
3526 | ||
3527 | 1999-08-19 Michael Snyder <msnyder@cleaver.cygnus.com> | |
3528 | ||
3529 | * breakpoint.h (target_hw_bp_type): new enum. | |
3530 | * breakpoint.c (insert_breakpoints): use enum instead of consts. | |
3531 | (remove_breakpoint): use enum instead of consts. | |
104c1213 | 3532 | (throughout): use "warning" instead of "fprintf(stderr, ..." |
53a5351d JM |
3533 | [Also clean up a bunch of excessively long lines.] |
3534 | ||
3535 | 1999-08-19 J.T. Conklin <jtc@redback.com> | |
3536 | ||
3537 | * i386-stub.c (waitabit): Removed. | |
3538 | (breakpoint): Update. | |
3539 | ||
3540 | * i386-stub.c, m32r-stub.c, sparc-stub.c, sparcl-stub.c, | |
3541 | sparclet-stub.c (set_debug_traps): Don't send gratuitous ACK. | |
3542 | ||
3543 | * m68k-stub.c (putpacket): Restore code so that packets are sent | |
3544 | until an ACK is received. | |
3545 | ||
3546 | 1999-08-19 Eli Zaretskii <eliz@is.elta.co.il> | |
3547 | ||
3548 | * breakpoint.c (bpstat_stop_status): Accept triggered addresses | |
3549 | anywhere inside the region occupied by a watched variable as a | |
3550 | sign that the watchpoint fired. Don't stop if some watchpoint | |
3551 | was triggered, but its address doesn't match the address of this | |
3552 | watchpoint. | |
3553 | (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New macro. | |
3554 | Default definition is to call TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT. | |
3555 | (can_use_hardware_watchpoint): Call TARGET_REGION_OK_FOR_HW_WATCHPOINT; | |
3556 | if it returns zero, return zero immediately. | |
3557 | (insert_breakpoints): Try to insert watchpoints for all the values | |
3558 | on the value chain, even if some of them fail to insert. Remove | |
3559 | the breakpoint if parts of its value chain couldn't be inserted. | |
3560 | ||
3561 | 1999-08-19 Eli Zaretskii <eliz@is.elta.co.il> | |
3562 | ||
3563 | * go32-nat.c (go32_stopped_by_watchpoint): Remove unused code. | |
3564 | ||
3565 | 1999-08-19 Eli Zaretskii <eliz@is.elta.co.il> | |
3566 | ||
3567 | * go32-nat.c (tcgetpgrp, tcsetpgrp): New functions. | |
3568 | ||
3569 | 1999-08-19 Eli Zaretskii <eliz@is.elta.co.il> | |
3570 | ||
3571 | * go32-nat.c (go32_wait): If we are in a single-step mode, and the | |
3572 | next instruction is INT nn or INTO, use a temporary breakpoint to | |
3573 | simulate single-step mode, and reset the trace flag. | |
3574 | ||
3575 | 1999-08-19 Eli Zaretskii <eliz@is.elta.co.il> | |
3576 | ||
3577 | * go32-nat.c (wp_op): New typedef. | |
3578 | (SHOW_DR): Print the length of watched region as well. | |
3579 | (go32_insert_aligned_watchpoint): Remove unused argument PID. All | |
3580 | callers and the prototype changed. | |
3581 | (go32_handle_nonaligned_watchpoint): Renamed from | |
3582 | go32_insert_nonaligned_watchpoint. Now handles all operations on | |
3583 | non-aligned watchpoints: insertion, deletion, and counting. If | |
3584 | called with wp_count as the first argument, return the count of | |
3585 | debug registers needed to watch the region. Don't break out of | |
3586 | the loop before all the addresses in the region are processed. | |
3587 | (go32_remove_watchpoint): Call go32_remove_aligned_watchpoint to | |
3588 | do the actual work. | |
3589 | (go32_remove_aligned_watchpoint): New function, modeled after | |
3590 | go32_insert_aligned_watchpoint. Removes watchpoints that watch | |
3591 | regions of arbitrary length by calling | |
3592 | go32_handle_nonaligned_watchpoint as needed. | |
3593 | (go32_region_ok_for_watchpoint): New function, called from | |
3594 | can_use_hardware_watchpoint via the new macro | |
3595 | TARGET_REGION_OK_FOR_HW_WATCHPOINT. | |
3596 | ||
3597 | * config/i386/nm-go32.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): | |
3598 | Define to call go32_region_ok_for_watchpoint. | |
3599 | (DECR_PC_AFTER_HW_BREAK): Define back to zero (previous redefinition | |
3600 | to 1 was due to a bug in go32-nat.c). | |
3601 | ||
3602 | 1999-08-19 Eli Zaretskii <eliz@is.elta.co.il> | |
3603 | ||
3604 | * go32-nat.c (cleanup_dregs): New function. | |
3605 | (go32_mourn_inferior): Call it. | |
3606 | (IS_REG_FREE, LOCAL_ENABLE_REG, GLOBAL_ENABLE_REG, DISABLE_REG, | |
3607 | SET_BREAK, SET_WATCH, IS_WATCH, WATCH_HIT): Protect arguments with | |
3608 | parentheses. | |
3609 | (SET_BREAK): Increment the debug register's reference count. | |
3610 | (DR_DEF): New macro, returns the access and length bits of the | |
3611 | breakpoint. | |
3612 | (SHOW_DR): Print the reference count of each register. Disable or | |
3613 | enable print-out depending on an environment variable GDB_SHOW_DR. | |
3614 | (go32_insert_aligned_watchpoint): Look for an occupied debug | |
3615 | register with the same address and access/length bits, and reuse | |
3616 | it by incrementing reference the count, before occupying another | |
3617 | register. Return zero upon success. | |
3618 | (go32_insert_nonaligned_watchpoint): Pass the read/write bits to | |
3619 | go32_remove_watchpoint. | |
3620 | (go32_remove_watchpoint): Accept an additional parameter: the | |
3621 | read/write bits of the watchpoint to remove, and only remove a | |
3622 | watchpoint if it's occupied and its address and read/write bits | |
3623 | match. Only disable the register if its reference count is zero; | |
3624 | otherwise just decrease the reference count. | |
3625 | (go32_remove_hw_breakpoint): Only decrease reference count and | |
3626 | disable the debug register if it is occupied and its access bits | |
3627 | match those of an instruction breakpoint. | |
3628 | (go32_insert_hw_breakpoint): Before occupying another debug | |
3629 | register, look for an already occupied register that defines an | |
3630 | instruction breakpoint with the same address. If found, increment | |
3631 | its reference count. Call SHOW_DR even if failed to insert a | |
3632 | breakpoint. | |
3633 | ||
3634 | * config/i386/nm-go32.h (target_remove_watchpoint): Accept the | |
3635 | TYPE argument as well. | |
3636 | ||
3637 | Wed Aug 18 17:47:25 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3638 | ||
3639 | * mips-tdep.c: Add more comments. | |
3640 | ||
3641 | 1999-08-17 Stan Shebs <shebs@andros.cygnus.com> | |
3642 | ||
3643 | * blockframe.c: Don't use PARAMS anymore, remove obsolete comment | |
3644 | about frameless functions. | |
3645 | ||
3646 | 1999-08-16 Michael Snyder <msnyder@cleaver.cygnus.com> | |
3647 | ||
3648 | * thread.c (delete_thread): delete any step_resume breakpoint | |
3649 | held by the thread. (prune_threads): call delete_thread. | |
3650 | * breakpoint.c (breakpoint_init_inferior): if startup, then | |
3651 | delete any remaining step_resume breakpoints. | |
3652 | * infrun.c (handle_inferior_event): add cautionary comment. | |
3653 | ||
3654 | 1999-08-16 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
3655 | ||
3656 | * remote.c (remote_async_mourn): New function. Async version of | |
3657 | remote_mourn(). | |
3658 | ||
3659 | 1999-08-16 Eli Zaretskii <eliz@is.elta.co.il> | |
3660 | ||
3661 | * terminal.h [__GO32__]: Remove conditional; DJGPP now supports | |
3662 | termios. | |
3663 | ||
3664 | 1999-08-16 Eli Zaretskii <eliz@is.elta.co.il> | |
3665 | ||
3666 | * command.c (CANT_FORK) [__MSDOS__]: Define. | |
3667 | (shell_escape) [CANT_FORK]: If ARG is NULL, pass an empty string | |
3668 | to `system'. | |
3669 | [__DJGPP__]: Return to the original directory after the shell | |
3670 | exits. | |
3671 | ||
3672 | 1999-08-16 Eli Zaretskii <eliz@is.elta.co.il> | |
3673 | ||
3674 | * config/i386/xm-go32.h (ROOTED_P): Don't reference X[1] if X[0] | |
3675 | is a null character. | |
3676 | ||
3677 | * config/i386/nm-go32.h (DECR_PC_AFTER_HW_BREAK): Define to 1. | |
3678 | ||
3679 | 1999-08-16 Eli Zaretskii <eliz@is.elta.co.il> | |
3680 | ||
3681 | * go32-nat.c (redir_cmdline_parse, redir_cmdline_delete, | |
3682 | redir_to_child, redir_to_debugger, redir_debug_init) | |
3683 | [__DJGPP_MINOR__ < 3]: Dummy stubs for redirecting debuggee's | |
3684 | standard handles. | |
3685 | (print_387_status): Print "last FP instruction", not "last | |
3686 | exception". Restore the upper 5 bits of the opcode that aren't | |
3687 | stored in the FPU state. Print the FPU stack in its physical | |
3688 | order, not relative to ST(0). Print "special", not "trap" for | |
3689 | unnormals and infinities. Print all 10 bytes of each FP register, | |
3690 | and print them with 19 significant digits. | |
3691 | (regno_mapping): Make the mapping consistent with tm-go32.h. | |
3692 | (sig_map): Add mappings for SIGQUIT, SIGFPE, SIGALRM. Map NMI to | |
3693 | SIGBUS. | |
3694 | (excep_map): New variable, maps GDB signals to DJGPP exceptions. | |
3695 | (go32_attach): Signal an error: we cannot attach to other | |
3696 | processes. | |
3697 | (go32_resume): Record the signal with which the inferior should be | |
3698 | resumed, mapped to the DJGPP exception number. | |
3699 | (go32_wait): Pass the signal recorded in go32_resume to the | |
3700 | debuggee. Save and restore debugger's and debuggee's current | |
3701 | working directory. | |
3702 | [__DJGPP_MINOR__ < 3]: Save and restore inferior's FPU state. | |
3703 | (store_register): FPU regsiters have numbers less than 31. | |
3704 | (go32_kill_inferior): Delete the parsed command-line storage. | |
3705 | (go32_create_inferior): Initialize the parsed command-line | |
3706 | storage. Parse the command line and create the redirections for | |
3707 | inferior's standard handles. | |
3708 | [__DJGPP_MINOR__ < 3]: Init the inferior's FPU state. | |
3709 | (ignore2): Function deleted. | |
3710 | (device_mode): New function, switches a character device between | |
3711 | raw and cooked mode. | |
3712 | (go32_terminal_init): Invalidate the raw/cooked mode information. | |
3713 | (go32_terminal_info): Print whether the inferior's terminal is in | |
3714 | raw or cooked mode. | |
3715 | [__DJGPP_MINOR__ > 2]: Say if standard handles are redirected or | |
3716 | closed by the inferior. | |
3717 | (go32_terminal_inferior): Switch standard handles to the | |
3718 | inferior's files/devices. Put the inferior's input device to | |
3719 | raw/cooked mode, exactly like we found it last time. | |
3720 | (go32_terminal_ours): Restore debugger's standard handles and put | |
3721 | the terminal into cooked mode. Save the mode of inferior's input | |
3722 | device. | |
3723 | (init_go32_ops): Assign go32_ops.to_attach, | |
3724 | go32_ops.to_terminal_info, go32_ops.to_terminal_ours_for_output. | |
3725 | Initialize inferior's cwd and the command-line storage. | |
3726 | ||
3727 | Mon Aug 16 14:29:30 1999 Jeffrey A Law (law@cygnus.com) | |
3728 | ||
3729 | * config/pa/tm-hppa.h (ARGS_GROW_DOWNWARD): Define. | |
3730 | * config/pa/tm-hppa64.h (ARGS_GROW_DOWNWARD): Undefine. | |
3731 | * hppa-tdep.c (hppa_push_arguments): Handle arguments growing in | |
3732 | both directions depending ARGS_GROW_DOWNWARD. | |
3733 | (hppa_find_saved_regs): Update for 64bit wide registers & pointers | |
3734 | and PA64 ABI. | |
3735 | ||
3736 | * hppa-tdep.c (hppa_pop_frame): Various fixes for 64bit wide | |
3737 | registers and pointers. | |
3738 | (hppa_fix_call_dummy, skip_trampoline_code): Likewise. | |
3739 | (restore_pc_queue): Update tests for width of memory loads. | |
3740 | (hppa_push_arguments): Delete version that was #if 0'd out. | |
3741 | ||
3742 | * hppa-tdep.c (push_dummy_frame): Handle the new 64it ABI. | |
3743 | (find_dummy_frame_regs): Corresponding changes. | |
3744 | ||
3745 | * hppa-tdep.c (read_unwind_info): Initialize obj_private->dp. | |
3746 | (internalize_unwinds): Improve test for when to use segment | |
3747 | relative code for unwinder bounds. | |
3748 | (rp_saved): Fix offset of saved return pointer for the 64bit ABI. | |
3749 | (hppa_frame_saved_pc): Various updates to handle 64bit registers | |
3750 | and pointers. | |
3751 | (frame_chain, restore_pc_queue): Likewise. | |
3752 | ||
3753 | * hppa-tdep.c (rp_saved): RP is saved at frame-16 when | |
3754 | pointers are 64bits wide. | |
3755 | ||
3756 | * hppa-tdep.c (record_text_segment_lowaddr): New function. | |
3757 | (internalize_unwinds): Use it if addressess are 8 bytes wide. | |
3758 | ||
3759 | * symfile.c (syms_from_objfile): No longer warn if the lowest | |
3760 | section does not have SEC_CODE set. | |
3761 | ||
3762 | * Makefile.in (pa64solib.o): Add dependencies. | |
3763 | ||
3764 | * hppah-nat.c (store_inferior_registers): Do not try to write a | |
3765 | nonzero value to the high part of IPSW. Fix typo in unable to store | |
3766 | warning. | |
3767 | ||
3768 | * config/pa/tm-hppa.h (opd_data structure): Delete. Not actually | |
3769 | needed. | |
3770 | (struct obj_private_struct): Add new entry for the objfile's DP | |
3771 | value. | |
3772 | * config/pa/tm-hppa64.h (CALL_DUMMY): Add a nop to make it an even | |
3773 | number of instructions. Pack the dummy into word sized hunks. | |
3774 | (CALL_DUMMY_LENGTH): Update appropriately. | |
3775 | (PC_IN_CALL_DUMMY, CALL_DUMMY_LOCATION_AFTER_TEXT_END): Delete. | |
3776 | ||
7be570e7 JM |
3777 | Mon Aug 16 19:08:19 1999 Andrew Cagney <cagney@b1.cygnus.com> |
3778 | ||
3779 | * configure.in: Try -lsocket when looking for socketpair. | |
3780 | * configure, config.h: Re-generate. | |
3781 | ||
3782 | 1999-08-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
3783 | ||
3784 | From Christopher Faylor <cgf@cygnus.com>: | |
3785 | ||
3786 | * event-loop.c (gdb_wait_for_event): Before going to wait for | |
3787 | another event with select or poll, flush the error and the output | |
3788 | streams. | |
3789 | ||
3790 | * event-top.c (gdb_readline2): Do not buffer the input, because | |
3791 | doing so can interfere with select/poll in bad ways. | |
3792 | ||
3793 | Fri Aug 13 17:36:56 1999 Eli Zaretskii <eliz@is.elta.co.il> | |
3794 | ||
3795 | * maint.c (maintenance_dump_me) [__DJGPP__]: Simulate a core dump | |
3796 | with SIGABRT. | |
3797 | * utils.c (quit) [__MSDOS__]: Don't mention SIGINT, since it's not | |
3798 | gonna happen. | |
3799 | (notice_quit): No need to define this function for the DJGPP port. | |
3800 | ||
3801 | 1999-08-13 James Ingham <jingham@leda.cygnus.com> | |
3802 | ||
3803 | * arm-tdep.c (arm_frameless_function_invocation): SKIP_PROLOGUE | |
3804 | macro no longer modifies its argument. Update uses to accord. | |
3805 | ||
3806 | * config/arm/arm.mt (TDEPFILES): Add the remote-rdi.o to the | |
3807 | TDEPFILES. | |
3808 | * configure.tgt: Add rdi-share to configdir for the Arm targets. | |
3809 | ||
3810 | Fri Aug 13 11:16:32 1999 Jeffrey A Law (law@cygnus.com) | |
3811 | ||
3812 | * hppah-nat.c (store_inferior_registers): Revamp to be PA2.0W | |
3813 | aware. | |
3814 | ||
3815 | * infttrace.c (ttrace_write_reg_64): New function. | |
3816 | ||
3817 | * hp-symtab-read.c (is_in_import_list): Delete extern declaration. | |
3818 | * somread.c (is_in_import_list): Delete function. | |
3819 | * objfiles.c (is_in_import_list): New function. | |
3820 | * objfiles.h (is_in_import_list): Declare. | |
3821 | ||
3822 | * config/pa/tm-hppa64.h (GDB_TARGET_IS_HPPA20W): Define before | |
3823 | including tm-hppah.h. | |
3824 | (PC_IN_CALL_DUMMY): Define. | |
3825 | (HPUX_1100): Similarly. | |
3826 | * config/pa/tm-hppa.h (somsolib.h, pa64solib.h): Conditionalize | |
3827 | includes on GDB_TARGET_IS_HPPA20W. | |
3828 | ||
3829 | * configure.host: Distinguish between wide and narrow modes | |
3830 | for hpux11. | |
3831 | * config/pa/hpux1100w.mh, config/pa/hpux1100w.mt: New files. | |
3832 | ||
3833 | * config/pa/tm-hppa64.h (STACK_ALIGN): Redefine. | |
3834 | (REG_PARM_STACK_SPACE): Likewise. | |
3835 | ||
3836 | * config/pa/tm-hppa.h (CLEAN_UP_REGISTER_VALUE): Handle 64bit | |
3837 | PA target correctly. | |
3838 | (REG_PARM_STACK_SPACE): Define. | |
3839 | (struct unwind_table_entry): region_start and region_end are | |
3840 | CORE_ADDRs. | |
3841 | (typedef opd_data): New. | |
3842 | (obj_private_data_t): Include pointer to opd_data structure. | |
3843 | ||
3844 | 1999-08-13 Keith Seitz <keiths@cygnus.com> | |
3845 | ||
3846 | * stabsread.c (stabsread_clear_cache): New funciton which clears | |
3847 | an optimization cache of the reader. | |
3848 | ||
3849 | * coffread.c (coff_symfile_finish): Give stabs reader a chance to | |
3850 | clean up. | |
3851 | ||
3852 | * win32-nat.c (handle_load_dll): Don't suppress re-reading symbols | |
3853 | from a DLL if an objfile for it already exists. (Not that this should | |
3854 | happen anymore anyway...) | |
3855 | ||
3856 | 1999-08-13 Keith Seitz <keiths@cygnus.com> | |
3857 | ||
3858 | * config/mcore/tm-mcore.h (SAVE_DUMMY_FRAME_TOS): Define for MCore, | |
3859 | which also requires that the stack pointer be saved for call | |
3860 | dummies BEFORE arguments get pushed onto it. | |
3861 | ||
3862 | 1999-08-12 Stan Shebs <shebs@andros.cygnus.com> | |
3863 | ||
3864 | From Eli Zaretskii <eliz@is.elta.co.il>: | |
3865 | * source.c (mod_path) [_WIN32 || __DJGPP__]: Don't remove trailing | |
3866 | slash from "d:/". Don't overstep the beginning of name. | |
3867 | [_WIN32 || __MSDOS__]: Convert "d:" to "d:.", otherwise appending | |
3868 | a slash changes its meaning. | |
3869 | (openp): Use SLASH_P, not equality with SLASH_CHAR. | |
3870 | (print_source_lines_base) [CRLF_SOURCE_FILES]: Skip \r only before | |
3871 | a \n. | |
3872 | (forward_search_command) [CRLF_SOURCE_FILES]: Remove \r at the end | |
3873 | of all lines. | |
3874 | (reverse_search_command) [CRLF_SOURCE_FILES]: Likewise. | |
3875 | ||
3876 | * gnu-regex.c (CHAR_CLASS_MAX_LENGTH): Don't use wide characters | |
3877 | unless HAVE_BTOWC is defined. | |
3878 | ||
3879 | Fri Aug 13 10:20:12 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3880 | ||
3881 | From J.T. Conklin <jtc@redback.com>: | |
3882 | * gdbinit.in: Change the template .gdbinit to match the recent | |
3883 | fatal error handling change. | |
3884 | ||
3885 | 1999-08-11 Keith Seitz <keiths@cygnus.com> | |
3886 | ||
3887 | * maint.c (maintenance_internal_error): Fix typo in prototype. | |
3888 | ||
3889 | Wed Aug 11 15:38:05 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
3890 | ||
3891 | * remote.c (remote_rcmd): Pass an empty command across to the | |
3892 | target. Check for and handle an ``Enn'' return status. | |
3893 | ||
3894 | Tue Aug 10 13:59:45 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3895 | ||
3896 | * maint.c (_initialize_maint_cmds): Add ``maintenance | |
3897 | internal-error'' command. | |
3898 | (maintenance_internal_error): New function. | |
3899 | ||
3900 | 1999-08-10 James Ingham <jingham@leda.cygnus.com> | |
3901 | ||
3902 | * top.c: Remove the disassembly_flavor_hook, use the new set_hook | |
3903 | instead. | |
3904 | * defs.h: Ditto. | |
3905 | * arm-tdep.c (set_disassembly_flavor_sfunc): Ditto. | |
3906 | ||
3907 | 1999-08-10 Michael Snyder <msnyder@cleaver.cygnus.com> | |
3908 | ||
3909 | * config/i386/nm-i386sol2.h (FIND_NEW_THREADS): remove, obsolete. | |
3910 | * config/sparc/nm-sun4sol2.h (FIND_NEW_THREADS): remove, obsolete. | |
3911 | ||
3912 | 1999-08-10 J.T. Conklin <jtc@redback.com> | |
3913 | ||
3914 | * configure.tgt (i[3456]86-*-aout*, i[3456]86-*-coff*, | |
3915 | i[3456]86-*-elf*): Use embed.mt. | |
3916 | * config/i386/embed.mt: New file. | |
3917 | ||
3918 | 1999-08-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
3919 | ||
3920 | * remote.c (remote_async_open_1): Remove casting in call to | |
3921 | add_file_handler. | |
3922 | (extended_remote_async_create_inferior): Ditto. | |
3923 | ||
3924 | * event-top.c (change_line_handler): Ditto. | |
3925 | (_initialize_event_loop): Ditto. | |
3926 | ||
3927 | * infrun.c (complete_execution): Ditto. | |
3928 | ||
3929 | * event-loop.c (add_file_handler): Change proc parameter to be ptr | |
3930 | to func with void parameter, rather than void*. Coerce second | |
3931 | paramter in calls to create_file_handler. Replace | |
3932 | async_handler_func and file_handler_func with handler_func. | |
3933 | ||
3934 | * event-loop.h: Get rid of typedefs for file_handler_func and | |
3935 | async_handler_func, just have one, and call it handler_func. | |
3936 | Replace async_handler_func and file_handler_func occurrences with | |
3937 | handler_func. | |
3938 | ||
3939 | Tue Aug 10 03:13:03 1999 Jeffrey A Law (law@cygnus.com) | |
3940 | ||
3941 | * hppa-tdep.c: Delete random #if 0 code. | |
3942 | (is_branch): Handle new branching opcodes from PA2.0 | |
3943 | (inst_saves_gr, inst_saves_fr): Handle additional instructions | |
3944 | used to save general and floating point registers in the stack. | |
3945 | (skip_prologue_hard_way): Handle additional instructions to | |
3946 | save the return pointer in the stack. | |
3947 | (after_prologue): Fix mis-guided and incorrect code to find | |
3948 | the end of the prologue using debug symbols. | |
3949 | (hppa_skip_prologue): Generally clean up comments, lose code | |
3950 | which does not apply to the PA, etc. | |
3951 | ||
3952 | Sun Aug 8 17:53:41 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
3953 | ||
3954 | * MAINTAINERS: Make Andrew Cagney the mn10300 maintainer. | |
3955 | Transfer responsibility for the PowerPC from Andrew Cagney to | |
3956 | Elena Zannoni. | |
3957 | ||
3958 | Tue Aug 10 13:59:45 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
3959 | ||
3960 | Based on code from J.T. Conklin <jtc@redback.com>: | |
3961 | * utils.c (internal_error): Make quit? and coredump? separate | |
3962 | questions so that the user can dump-core and not quit. | |
3963 | (internal_error): Cleanup error message. | |
3964 | ||
3965 | 1999-08-09 Tom Tromey <tromey@cygnus.com> | |
3966 | ||
3967 | * kod-cisco.c (cisco_kod_open): Removed incorrect `arg' argument. | |
3968 | ||
96baa820 JM |
3969 | Sun Aug 8 12:06:47 1999 Fred Fish <fnf@cygnus.com> |
3970 | ||
3971 | * coffread.c (process_coff_symbol): Remove section_offsets from | |
3972 | prototype and function definition. Get section_offsets from the | |
3973 | passed objfile and pass it on to callees the same way. | |
3974 | (coff_symtab_read): Ditto. | |
3975 | (coff_symfile_read): Ditto. | |
3976 | * dbxread.c (read_dbx_dynamic_symtab): Ditto. | |
3977 | (read_dbx_symtab): Ditto. | |
3978 | (dbx_symfile_read): Ditto. | |
3979 | (coffstab_build_psymtabs): Ditto. | |
3980 | (elfstab_build_psymtabs): Ditto. | |
3981 | (stabsect_build_psymtabs): Ditto. | |
3982 | * dstread.c (dst_symfile_read): Ditto. | |
3983 | * elfread.c (elf_symfile_read): Ditto. | |
3984 | * jv-class.c (jv_class_symfile_read): Ditto. | |
3985 | * mipsread.c (mipscoff_symfile_read): Ditto. | |
3986 | * nlmread.c (nlm_symfile_read): Ditto. | |
3987 | * os9kread.c (os9k_symfile_read): Ditto. | |
3988 | * somread.c (som_symfile_read): Ditto. | |
3989 | * stabsread.h (elfstab_build_psymtabs): Ditto. | |
3990 | * xcoffread.c (xcoff_initial_scan): Ditto. | |
3991 | ||
3992 | * symfile.h (sym_read): Remove section_offsets from prototype. | |
3993 | * symfile.c (syms_from_objfile): Call sym_read without | |
3994 | section_offsets. | |
3995 | (reread_symbols): Ditto. | |
3996 | ||
3997 | * elfread.c (elfstab_offset_sections): Use SIZEOF_SECTION_OFFSETS | |
3998 | to allocate sections offsets array. | |
3999 | * xcoffread.c (xcoff_symfile_offsets): Ditto. | |
4000 | ||
4001 | * partial-stab.h (section_offsets): Get from objfile. | |
4002 | * dbxread.c (read_dbx_symtab): Fix typo that made -1 casted | |
4003 | to a CORE_ADDR look like an subtraction expression. | |
4004 | * objfiles.h: Add some comments. | |
4005 | * symfile.c: Add some comments. | |
4006 | * objfiles.c: Add some comments. | |
4007 | (objfile_relocated): Use ALL_OBJFILE_OSECTIONS to iterate over | |
4008 | sections. | |
4009 | (find_pc_sect_sections): Use ALL_OBJSECTIONS to iterate over all | |
4010 | sections in all objfiles. | |
4011 | * symfile.c (syms_from_objfile): Use ALL_OBJFILE_OSECTIONS. | |
4012 | ||
4013 | * irix5-nat.c (symbol_add_stub): Fix typo that made taking the | |
4014 | address of lowest_sect with '&' look like a bitwise and op. | |
4015 | * osfsolib.c (symbol_add_stub): Ditto. | |
4016 | * solib.c (symbol_add_stub): Ditto. | |
4017 | * symfile.c (syms_from_objfile): Ditto. | |
4018 | ||
4019 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Minor format tweak. | |
4020 | * symfile.c (syms_from_objfile): Ditto, and fix typo. | |
4021 | * top.c (init_main): Fix typo in comment (DEFULAT_PROMPT). | |
4022 | * doc/gdbint.texinfo (find_sym_fns): This replaces symfile_init. | |
4023 | ||
4024 | 1999-08-08 James Ingham <jingham@leda.cygnus.com> | |
4025 | ||
4026 | * remote.c (remote_insert_breakpoint): Fix typo in Z packet support. | |
104c1213 JM |
4027 | Also move Z packet support OUTSIDE of REMOTE_BREAKPOINT ifdef, |
4028 | since this is not set for all targets that support the Z packet. | |
96baa820 JM |
4029 | |
4030 | Fri Aug 6 17:17:28 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
4031 | ||
4032 | * defs.h (fatal): Delete declaration. | |
4033 | (internal_error): Declare. | |
4034 | * utils.c (nomem): Call internal_error instead of fatal. | |
4035 | (fatal_dump_core): Delete. | |
4036 | (malloc_botch): Print message direct to stderr. | |
4037 | (fatal): Delete definition. | |
4038 | * utils.c (internal_error): Define. | |
4039 | ||
4040 | * gdbarch.h, gdbarch.c, hppah-nat.c, ch-exp.c, dsrec.c, sh-tdep.c, | |
4041 | infptrace.c, f-lang.c, symm-nat.c, top.c, m3-nat.c, v850-tdep.c, | |
4042 | remote-vx.c, remote-sim.c, remote-mips.c, source.c, infcmd.c, | |
4043 | findvar.c, remote.c: Replace fatal with call to internal_error. | |
4044 | ||
4045 | Sun Aug 8 15:28:33 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
4046 | ||
4047 | * ser-pipe.c (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Move | |
4048 | definition from here. | |
4049 | * defs.h: To here. | |
4050 | ||
4051 | Sat Aug 7 21:44:59 1999 Fred Fish <fnf@cygnus.com> | |
4052 | ||
4053 | * remote.c (remote_insert_breakpoint): Fix typo, missing ';'. | |
4054 | ||
4055 | Sun Aug 8 11:26:57 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
4056 | ||
4057 | * mips-tdep.c (mips_gdbarch_init): Add break; to the default case. | |
4058 | ||
4059 | Fri Aug 6 19:26:03 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
4060 | ||
4061 | * defs.h: Delete #if ANSI_PROTOTYPES code, GDB assumes ISO-C. | |
4062 | * remote-rdp.c (send_rdp), remote-os9k.c (printf_monitor), | |
4063 | remote-mips.c: (mips_error), remote-array.c: (printf_monitor, | |
4064 | debuglogs), complaints.c (complain), monitor.c: | |
4065 | (monitor_printf_noecho, monitor_printf), language.c (type_error, | |
4066 | range_error), remote-st.c: (printf_stdebug), remote-sim.c | |
4067 | (gdb_os_printf_filtered, gdb_os_vprintf_filtered, | |
4068 | gdb_os_evprintf_filtered, gdb_os_error), serial.c (serial_printf), | |
4069 | utils.c (warning, error, fatal, fatal_dump_core, (query, | |
4070 | fprintf_filtered, fprintf_unfiltered, fprintfi_filtered, | |
4071 | printf_filtered, printf_unfiltered, printfi_filtered): Delete | |
4072 | legacy #ifndef ANSI_PROTOTYPES varargs code. | |
4073 | ||
4074 | * defs.h: Don't #include <varargs.h>. | |
4075 | * remote-rdp.c, remote-os9k.c, remote-mips.c, remote-array.c, | |
4076 | monitor.c, remote-st.c: Don't include <varargs.h> or <stdarg.h>. | |
4077 | ||
4078 | 1999-08-06 James Ingham <jingham@leda.cygnus.com> | |
4079 | ||
4080 | * configure.in, configure: add the --enable-multi-ice to determine | |
4081 | whether to configure and build the multi-ice-gdb-server. Note, | |
4082 | for now this only builds on cygwin, so don't enable it for other | |
4083 | platforms... | |
4084 | ||
4085 | 1999-08-06 Tom Tromey <tromey@cygnus.com> | |
4086 | ||
4087 | * Makefile.in (SFILES): Added kod.c and kod-cisco.c. | |
4088 | (COMMON_OBS): Added kod.o and kod-cisco.o. | |
4089 | (kod-cisco.o): New target. | |
4090 | (kod.o): New target. | |
4091 | * kod-cisco.c: New file. | |
4092 | * kod.c: New file. | |
4093 | ||
4094 | 1999-08-06 James Ingham <jingham@leda.cygnus.com> | |
4095 | ||
4096 | These are some fixups for the Arm, and support for the | |
4097 | disassembly-flavor for the ARM. | |
4098 | ||
4099 | * defs.h: Declare the disassembly_flavor_hook | |
4100 | * top.c: Define the disassembly_flavor_hook | |
4101 | * i386-tdep.c: Remove unnecessary declaration of the | |
4102 | disassembly_flavor_hook. | |
4103 | ||
4104 | * config/arm/tm-arm.h: Change definition of | |
4105 | arm_init_extra_frame_info. | |
4106 | Add a few more comments. | |
4107 | * arm-tdep.c (arm_init_extra_frame_info): Listen to and use the | |
4108 | fromleaf parameter passed into init_extra_frame_info. | |
4109 | (set_disassembly_flavor_sfunc): New Function. | |
4110 | (set_disassembly_flavor): New Function. | |
4111 | (arm_othernames): Use the set_disassembly_flavor. | |
4112 | (_initialize_arm_tdep): Setup the disassembly flavor commands, and | |
4113 | initialize the flavor. | |
104c1213 | 4114 | (arm_frameless_function_invocation): Adjust for |
96baa820 JM |
4115 | frameless functions that have 1 or 2 instructions that mimic the |
4116 | standard APCS form. | |
4117 | (arm_scan_prologue): Be more careful about scanning the function | |
4118 | prologue. Don't match things that just have a few of the prologue | |
4119 | instructions out of order, and don't get thrown by the scheduler | |
4120 | migrating instructions into the prologue. | |
4121 | ||
4122 | Add support for the "Z" and "z" packets to request the stub | |
4123 | to set a breakpoint. | |
4124 | ||
4125 | * remote.c (set_remote_protocol_Z_packet_cmd): New function. | |
4126 | (show_remote_protocol_Z_packet_cmd): New Function. | |
4127 | (remote_open_1): Init the Z packet config. | |
4128 | (remote_async_open_1): Init the Z packet config. | |
4129 | (remote_insert_breakpoint): Use the "Z" packet if supported. | |
4130 | (remote_remove_breakpoint): Use the "z" packet if supported. | |
4131 | (remote_insert_watchpoint): New Function - currently wired to | |
4132 | nothing. | |
4133 | (remote_remove_watchpoint): Ditto. | |
4134 | (remote_insert_hw_breakpoint): Ditto. | |
4135 | (remote_remove_hw_breakpoint): Ditto. | |
4136 | ||
4137 | 1999-08-06 Stan Shebs <shebs@andros.cygnus.com> | |
4138 | ||
4139 | * infcmd.c: Include parser-defs.h. | |
4140 | (interrupt_target_command): Declare. | |
4141 | (stack_dummy_testing): Remove old funky flag. | |
4142 | (run_stack_dummy): Remove unused reference to old funky flag. | |
4143 | ||
4144 | 1999-08-06 Tom Tromey <tromey@cygnus.com> | |
4145 | ||
4146 | * command.c (do_setshow_command): Call set_hook if not NULL. | |
4147 | * top.c (set_hook): New hook definition. | |
4148 | * defs.h (set_hook): Declare. | |
4149 | ||
4150 | 1999-08-05 Stan Shebs <shebs@andros.cygnus.com> | |
4151 | ||
4152 | * infrun.c: Convert code to pure standard C, elim some warnings. | |
4153 | (stopped_for_shlib_catchpoint): Remove, never used. | |
4154 | ||
4155 | 1999-08-05 Keith Seitz <keiths@cygnus.com> | |
4156 | ||
4157 | * NEWS: Mention new Motorola MCore target. | |
4158 | ||
4159 | * sparc-tdep.c (gdb_print_insn_sparc): Print insns of the current | |
4160 | architecture. | |
4161 | ||
4162 | Thu Aug 5 20:41:22 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
4163 | ||
4164 | * configure.in (configdirs): Add check for socketpair. | |
4165 | * configure, config.in: Re-generate. | |
4166 | ||
4167 | From Mon Jul 19 10:46:18 1999 Philippe De Muyter <phdm@macqel.be>: | |
4168 | * ser-pipe.c (sys/wait.h): Include this file only #if HAVE_SYS_WAIT_H. | |
4169 | (STDIN_FILENO, STDOUT_FILENO, STDERR_FILENO): Macros defined if needed. | |
4170 | ||
4171 | Thu Aug 5 20:04:17 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
4172 | ||
4173 | * target.c (debug_to_open, debug_to_attach, debug_to_post_attach, | |
4174 | debug_to_require_attach, debug_to_detach, debug_to_require_detach, | |
4175 | debug_to_wait, debug_to_post_wait, debug_to_fetch_registers, | |
4176 | debug_to_store_registers, debug_to_prepare_to_store, | |
4177 | debug_to_xfer_memory, debug_to_files_info, | |
4178 | debug_to_insert_breakpoint, debug_to_remove_breakpoint, | |
4179 | debug_to_terminal_init, debug_to_terminal_inferior, | |
4180 | debug_to_terminal_ours_for_output, debug_to_terminal_ours, | |
4181 | debug_to_terminal_info, debug_to_kill, debug_to_load, | |
4182 | debug_to_lookup_symbol, debug_to_create_inferior, | |
4183 | debug_to_post_startup_inferior, | |
4184 | debug_to_acknowledge_created_inferior, | |
4185 | debug_to_clone_and_follow_inferior, | |
4186 | debug_to_post_follow_inferior_by_clone, | |
4187 | debug_to_insert_fork_catchpoint, debug_to_remove_fork_catchpoint, | |
4188 | debug_to_insert_vfork_catchpoint, | |
4189 | debug_to_remove_vfork_catchpoint, debug_to_has_forked, | |
4190 | debug_to_has_vforked, debug_to_can_follow_vfork_prior_to_exec, | |
4191 | debug_to_post_follow_vfork, debug_to_insert_exec_catchpoint, | |
4192 | debug_to_remove_exec_catchpoint, debug_to_has_execd, | |
4193 | debug_to_reported_exec_events_per_exec_call, | |
4194 | debug_to_has_syscall_event, debug_to_has_exited, | |
4195 | debug_to_mourn_inferior, debug_to_can_run, | |
4196 | debug_to_notice_signals, debug_to_thread_alive, debug_to_stop, | |
4197 | debug_to_query, debug_to_rcmd, debug_to_enable_exception_callback, | |
4198 | debug_to_get_current_exception_event, debug_to_pid_to_exec_file, | |
4199 | debug_to_core_file_to_sym_file, debug_to_close): Send trace output | |
4200 | to ``gdb_stdlog'' instead of ``gdb_stderr''. | |
4201 | ||
4202 | Thu Aug 5 16:22:10 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
4203 | ||
4204 | * remote.c (init_remote_ops): Initialize remote_ops.to_rcmd. | |
4205 | (init_remote_async_ops): Initialize remote_async_ops.to_query. | |
4206 | (remote_rcmd): New function. | |
4207 | ||
4208 | * monitor.c (monitor_rcmd): Rename monitor_command. | |
4209 | (init_base_monitor_ops): Initialize monitor_ops.to_rcmd. | |
4210 | (_initialize_remote_monitors): Move "monitor" command from here. | |
4211 | * target.c (initialize_targets): To here. | |
4212 | (monitor_command): New function. Implement "monitor" command. | |
4213 | ||
4214 | * target.c (cleanup_target): de_fault to_rcmd. | |
4215 | (update_current_target): INHERIT to_rcmd. | |
4216 | (debug_to_rcmd): New function. | |
4217 | (setup_target_debug): Initialize current_target.to_rcmd. | |
4218 | ||
4219 | * target.h (struct target_ops): Add field to_rcmd. | |
4220 | (target_rcmd): Define. | |
4221 | ||
4222 | Thu Aug 5 14:24:07 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
4223 | ||
4224 | * remote.c: Replace comment describing remote protocol with | |
4225 | pointer to official document. | |
4226 | ||
4227 | Thu Aug 5 11:59:06 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
4228 | ||
4229 | * remote.c (remote_protocol_binary_download): New variable. | |
4230 | Replace ``remote_binary_download'' and ``remote_binary_checked''. | |
4231 | (set_remote_protocol_binary_download_cmd, | |
4232 | show_remote_protocol_binary_download_cmd): New functions. | |
4233 | (remote_open_1, remote_async_open_1, remote_cisco_open): | |
4234 | Initialize ``remote_protocol_binary_download'' instead of | |
4235 | ``remote_binary_download''. | |
4236 | (check_binary_download): Re-write. | |
4237 | (remote_write_bytes): Ditto. | |
4238 | (_initialize_remote): Add ``set remote X-packet'' and ``show | |
4239 | remote X-packet'' commands. Disable old ``set | |
4240 | remotebinarydownload'' command. | |
4241 | ||
4242 | 1999-08-04 Keith Seitz <keiths@cygnus.com> | |
4243 | ||
4244 | * remote-rdi.c (arm_rdi_close): Close the transport device, too. | |
4245 | ||
4246 | Wed Aug 4 10:42:58 1999 Fred Fish <fnf@cygnus.com> | |
4247 | ||
4248 | * xcoffread.c (scan_xcoff_symtab): Change main_aux into | |
4249 | an array of 5 internal_auxent to leave room for bfd to | |
4250 | write n_numaux entries. Change code to use the first one. | |
4251 | ||
4252 | 1999-08-02 Stan Shebs <shebs@andros.cygnus.com> | |
4253 | ||
4254 | * c-valprint.c (c_val_print): When printing decimal equivalent | |
4255 | of a char, cast appropriately. | |
4256 | ||
4257 | 1999-08-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
4258 | ||
4259 | From Jonathan Larmour <jlarmour@cygnus.co.uk>: | |
4260 | * main.c (print_gdb_help): Use gdbinit variable to determine file | |
4261 | name used for --nx help | |
4262 | ||
a0b3c4fd JM |
4263 | 1999-08-01 Jason Molenda (jsm@bugshack.cygnus.com) |
4264 | ||
4265 | * config/mips/tm-mips.h (BIG_ENDIAN): Don't define here. | |
4266 | ||
4267 | 1999-08-01 Jim Blandy <jimb@zwingli.cygnus.com> | |
4268 | ||
4269 | * stabsread.c (read_range_type): Handle an unsigned range type | |
4270 | whose length in bytes is any power of two, not just a few | |
4271 | common ones. | |
4272 | ||
4273 | * monitor.c (monitor_expect): When we receive a character that | |
4274 | isn't part of the string we were expecting, don't just start | |
4275 | matching again at the beginning of the string --- some shorter | |
4276 | suffix of the input might be a prefix of the string too. | |
4277 | ||
4278 | 1999-07-31 Fred Fish <fnf@cygnus.com> | |
4279 | ||
4280 | * symfile.c (symbol_file_command): Fix typo that made -1 casted | |
4281 | to a CORE_ADDR look like an subtraction expression. | |
4282 | (add_symbol_file_command): Ditto. | |
4283 | ||
de57eccd | 4284 | 1999-07-30 Jim Blandy <jimb@cygnus.com> |
a0b3c4fd JM |
4285 | |
4286 | * hppa-tdep.c (pa_print_registers): Frob register output some more. | |
4287 | ||
de57eccd | 4288 | 1999-07-29 Jim Blandy <jimb@cygnus.com> |
a0b3c4fd JM |
4289 | |
4290 | * config/pa/nm-hppah.h (PTRACE_ARG3_TYPE): After more | |
4291 | consideration, make this a CORE_ADDR, like WDB did. | |
4292 | ||
4293 | Rather than casting every single use of really_free_pendings to | |
4294 | make_cleanup_func, why not actually make it have that type? Golly! | |
4295 | * buildsym.c (really_free_pendings): Change argument type to PTR. | |
4296 | buildsym.h (really_free_pendings): Fix declaration. | |
4297 | * dbxread.c (dbx_symfile_read, dbx_psymtab_to_symtab_1), | |
4298 | dwarf2read.c (psymtab_to_symtab_1), dwarfread | |
4299 | (psymtab_to_symtab_1), hp-psymtab-read.c (hpread_build_psymtabs), | |
4300 | os9kread.c (os9k_symfile_read, os9k_psymtab_to_symtab_1), | |
4301 | xcoffread.c (xcoff_psymtab_to_symtab_1, xcoff_initial_scan): | |
4302 | Remove casts. | |
4303 | ||
4304 | Pass a CORE_ADDR safely through catch_errors. | |
4305 | * hppa-tdep.c (args_for_find_stub): New member, return_val. | |
4306 | (cover_find_stub_with_shl_get): Change argument and return type to | |
4307 | match catch_errors. Save return value of find_stub_with_shl_get | |
4308 | in *args. | |
4309 | (initialize_hp_cxx_exception_support): Collect value of | |
4310 | eh_notify_callback_addr from args. | |
4311 | ||
4312 | Get rid of some noise. It would be nice to get helpful warnings | |
4313 | from the compiler about lossy conversions. | |
4314 | * hppa-tdep.c (eh_notify_hook_addr, eh_notify_callback_addr, | |
4315 | eh_break_addr, eh_catch_catch_addr, eh_catch_throw_addr, | |
4316 | break_callback_sal): Initialize these to zero, not NULL, to shush | |
4317 | warnings. | |
4318 | * infttrace.c (thread_fake_step): Compare signal to | |
4319 | TARGET_SIGNAL_0, not NULL, to avoid warnings. | |
4320 | (_initialize_infttrace): Add sanity check. | |
4321 | ||
4322 | * config/pa/nm-hppah.h (PTRACE_ARG3_TYPE): Define this to be | |
4323 | long, so we can pass arguments properly to ptrace. | |
4324 | ||
4325 | * hppah-nat.c (child_xfer_memory): Correctly compute mask to round | |
4326 | address to an int boundary. | |
4327 | ||
de57eccd | 4328 | 1999-07-29 Jim Blandy <jimb@cygnus.com> |
a0b3c4fd JM |
4329 | |
4330 | Change from Ian Lance Taylor <ian@zembu.com>. The | |
4331 | i386_linux_sigtramp* functions should be moved to | |
4332 | i386-linux-tdep.c, when that file is introduced. | |
4333 | ||
4334 | * config/i386/tm-linux.h (LINUX_SIGCONTEXT_SIZE): Define. | |
4335 | (LINUX_SIGCONTEXT_PC_OFFSET): Define. | |
4336 | (LINUX_SIGCONTEXT_SP_OFFSET): Define. | |
4337 | (SIGCONTEXT_PC_OFFSET): Don't define. | |
4338 | (I386_LINUX_SIGTRAMP): Define. | |
4339 | (IN_SIGTRAMP): Define. | |
4340 | (i386_linux_sigtramp): Declare. | |
4341 | (sigtramp_saved_pc): Define. | |
4342 | (i386_linux_sigtramp_saved_pc): Declare. | |
4343 | (FRAMELESS_SIGNAL): Define. | |
4344 | (FRAME_CHAIN, FRAME_SAVED_PC): Define after #undef. | |
4345 | * i386-tdep.c (i386_linux_sigtramp_start): New static function if | |
4346 | I386_LINUX_SIGTRAMP. | |
4347 | (i386_linux_sigtramp): New function if I386_LINUX_SIGTRAMP. | |
4348 | (i386_linux_sigtramp_saved_pc): Likewise. | |
4349 | (i386_linux_sigtramp_saved_sp): Likewise. | |
4350 | ||
de57eccd | 4351 | 1999-07-28 Jim Blandy <jimb@cygnus.com> |
a0b3c4fd JM |
4352 | |
4353 | * infrun.c (handle_inferior_event): Don't try to use the code for | |
4354 | stepping over a function call to also handle stepping out of a | |
4355 | sigtramp on HP-UX. That ends up trashing step-resume breakpoints. | |
4356 | This change reverts some of David Taylor's change of 31 Dec 1998. | |
4357 | The HP-UX maintainer needs to submit a new change for whatever | |
4358 | problem the original change was trying to fix. | |
4359 | ||
4360 | 1999-07-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
4361 | ||
4362 | * event-top.c (command_line_handler): Don't treat an empty line | |
4363 | from readline the same way as a multiline command. This avoids | |
4364 | missing detecting when the user presses just 'enter'. | |
4365 | ||
de57eccd | 4366 | 1999-07-28 Jim Blandy <jimb@cygnus.com> |
a0b3c4fd JM |
4367 | |
4368 | Provide more sanity checking: | |
4369 | * infrun.c (handle_inferior_event): Before assigning a new | |
4370 | breakpoint to step_resume_breakpoint, make sure it's not already | |
4371 | pointing at one; if it is, that's a bug. | |
4372 | (check_for_old_step_resume_breakpoint): New function. | |
4373 | ||
4374 | 1999-07-28 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
4375 | ||
104c1213 | 4376 | From Eli Zaretskii <eliz@is.elta.co.il>: |
a0b3c4fd JM |
4377 | * top.c (gdb_init) [__MSDOS__]: Arrange for GDB to return to the |
4378 | original directory before exiting. | |
4379 | (cd_command) [_WIN32 || __MSDOS__]: Canonicalize the new directory | |
4380 | name explicitly. Handle "d:/" names correctly. | |
4381 | (init_history) [__MSDOS__]: Use _gdb_history as the default GDB | |
4382 | history file name. | |
4383 | ||
5a2468f5 JM |
4384 | Mon Jul 26 17:13:39 1999 Andrew Cagney <cagney@b1.cygnus.com> |
4385 | ||
4386 | * remote.c (enum packet_support, enum packet_detect, struct | |
4387 | packet_config): Define. | |
4388 | (set_packet_config_cmd, show_packet_config_cmd, | |
4389 | add_packet_config_cmd, init_packet_config): New functions. | |
4390 | Generic support for optional packets. | |
4391 | (remote_protocol_P): Replace stub_supports_P. | |
4392 | (set_remote_protocol_P_packet_cmd, show_remote_protocol_P_packet_cmd): | |
4393 | New functions. | |
4394 | (_initialize_remote): Add ``set remote-protocol-P-packet'' command. | |
4395 | (remote_open_1, remote_async_open_1, remote_cisco_open): | |
4396 | Initialize ``remote_protocol_P''. | |
4397 | (remote_store_registers): Re-write ``P'' probe logic. | |
4398 | (store_register_using_P): New function. | |
4399 | ||
4400 | From Ian Lance Taylor <ian@airs.com>: | |
4401 | (remote_prepare_to_store): Only read registers when ``P'' packet | |
4402 | is in state unsupported or support-unknown. | |
4403 | ||
4404 | 1999-07-24 Fred Fish <fnf@cygnus.com> | |
4405 | ||
104c1213 JM |
4406 | * symfile.c (default_symfile_offsets): Clear section_offsets |
4407 | before filling it in. | |
5a2468f5 | 4408 | |
adf40b2e JM |
4409 | 1999-07-16 Keith Seitz <keiths@cygnus.com> |
4410 | ||
4411 | * remote.c (_initialize_remote): "remotebreak" should be a var_boolean. | |
4412 | ||
de57eccd | 4413 | 1999-07-15 Jim Blandy <jimb@cygnus.com> |
adf40b2e JM |
4414 | |
4415 | Make the output from "info registers" fit withinin 80 columns. | |
a0b3c4fd JM |
4416 | * hppa-tdep.c (pa_print_registers): Make it easy to change row and |
4417 | column counts. Switch to three columns, instead of four, and | |
4418 | adjust spacing. | |
adf40b2e JM |
4419 | |
4420 | First cut at supporting HPPA2.0 in "wide" (64-bit) mode. | |
4421 | * configure.tgt: Add hppa2.0w target. | |
4422 | * config/pa/hppa64.mt, config/pa/tm-hppa64.h: New files. | |
4423 | * hppa-tdep.c (hppa_fix_call_dummy): Dyke out code to tweak the | |
4424 | call dummy, if target is PA2.0w. This is temporary, until I get | |
4425 | function calls working. | |
4426 | * hppah-nat.c (fetch_register): Rewritten to handle both narrow | |
4427 | and wide register requests. | |
4428 | (HPPAH_OFFSETOF): New macro. | |
4429 | ||
4430 | * gdbtypes.c (is_integral_type): New function. | |
4431 | * gdbtypes.h: Prototype for above. | |
4432 | ||
4433 | 1999-07-15 J.T. Conklin <jtc@redback.com> | |
4434 | ||
4435 | * configure.tgt (i[3456]86-*-vxworks*): New target. | |
4436 | * config/i386/vxworks.mt: New file, x86 VxWorks target | |
4437 | * config/i386/tm-vxworks.h: New file. | |
4438 | ||
4439 | * configure.tgt (powerpc-*-vxworks*): New target. | |
4440 | * config/powerpc/vxworks.mt: New file, PowerPC VxWorks target | |
4441 | * config/powerpc/tm-vxworks.h: New file. | |
4442 | ||
4443 | * NEWS: Mention the new configs. | |
4444 | ||
4445 | 1999-07-15 Fernando Nasser <fnasser@cygnus.com> | |
4446 | ||
4447 | * target.c (target_preopen): Prevent query when not from_tty. | |
4448 | * infcmd.c (run_command): Prevent query when not from_tty. | |
4449 | ||
4450 | 1999-07-15 Fernando Nasser <fnasser@cygnus.com> | |
4451 | ||
4452 | * event-loop.c: Fix typo in comment. | |
4453 | ||
4454 | Wed Jul 14 17:29:31 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
4455 | ||
4456 | * ser-pipe.c (struct pipe_state): Define. | |
4457 | (pipe_close): Retain the PID of the sub-process using ``struct | |
4458 | pipe_state''. Delete #ifdef code that used popen(). | |
4459 | (pipe_close): Kill of the sub-process as part of the cleanup. | |
4460 | ||
4461 | * serial.h (struct _serial_t): Add field ``state''. | |
4462 | ||
4463 | 1999-07-13 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
4464 | ||
4465 | * event-top.c (display_gdb_prompt): Don't display the prompt if we | |
4466 | are in the middle of an execution command. Also trick readline so | |
4467 | it doesn't try to display the prompt. | |
4468 | (command_line_handler): Get rid of change_prompt, unused variable. | |
4469 | Use {push, pop}_prompt mechanism in case of multiline commands. | |
4470 | ||
4471 | * infrun.c (complete_execution): Set target_executing to 0 as | |
4472 | first thing, so that display_gdb_prompt does the right thing. | |
4473 | ||
4474 | Tue Jul 13 20:29:46 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
4475 | ||
4476 | * parse.c (build_parse): Fix conditional increment of num_std_regs | |
4477 | for SP_REGNUM. Was conditional on FP_REGNUM. | |
4478 | ||
4479 | Tue Jul 13 16:44:58 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
4480 | ||
4481 | * gdbarch.h, gdbarch.c: Revert 1999-07-07 Stan Shebs | |
4482 | <shebs@andros.cygnus.com> indentation change. Don't let indent | |
4483 | mess with these files. | |
4484 | ||
43e526b9 JM |
4485 | Mon Jul 12 11:15:09 1999 Andrew Cagney <cagney@b1.cygnus.com> |
4486 | ||
4487 | * config/mips/tm-mips.h (REGISTER_CONVERT_TO_RAW, | |
4488 | REGISTER_CONVERT_TO_VIRTUAL, REGISTER_CONVERTIBLE): Define. | |
4489 | (REGISTER_RAW_SIZE): Re-define as mips_register_convert_to_raw. | |
4490 | * mips-tdep.c (mips_register_convert_to_raw, | |
4491 | mips_register_convert_to_virtual, ): New functions. | |
4492 | (mips_register_raw_size, mips_register_convertible): New | |
4493 | functions. Handle bug introduced by ``Wed Apr 1 23:13:23 1998 | |
4494 | Andrew Cagney <cagney@b1.cygnus.com>'' where remote mips64 target | |
4495 | transfers SR as 64 bits yet GDB expected only 32 bits. | |
4496 | (mips64_transfers_32bit_regs): New static variable. | |
4497 | (_initialize_mips_tdep): Add obscure command ``set | |
4498 | remote-mips64-transfers-32bit-regs'' that provides backward | |
4499 | compatibility. | |
4500 | (do_gp_register_row): Extract register values from raw buffer. | |
4501 | ||
4502 | * NEWS: Document protocol change. | |
4503 | ||
adf40b2e JM |
4504 | 1999-07-12 Keith Seitz <keiths@cygnus.com> |
4505 | ||
104c1213 | 4506 | * rdi-share/unixcomm.c (Unix_ResetSerial): Remove CYGWIN32 |
adf40b2e | 4507 | conditional. It's no longer needed. |
104c1213 JM |
4508 | (SERPORT1, SERPORT2): Linux serial ports are "/dev/ttyX", not |
4509 | "/dev/cuaX" (X=0,1,2,3,...). | |
adf40b2e | 4510 | |
43e526b9 JM |
4511 | Mon Jul 12 02:02:00 1999 Andrew Cagney <cagney@amy.cygnus.com> |
4512 | ||
4513 | * defs.h, utils.c (fputstrn_filtered, fputstrn_unfiltered, | |
4514 | fputstrnn_unfiltered): New functions. | |
4515 | (gdb_printchar): Delete. | |
4516 | ||
4517 | * remote.c (print_packet): Replace gdb_printchar with | |
4518 | fputstrn_filtered. | |
4519 | (getpkt): Use fputstrn_unfiltered to dump packet received. | |
4520 | (putpkt_binary): Use fputstrnn_unfiltered to dump packet sent. | |
4521 | ||
4522 | 1999-07-09 Keith Seitz <keiths@cygnus.com> | |
4523 | ||
4524 | * blockframe.c (blockvector_for_pc_sect): When looking for a block, | |
4525 | we want the one whose end is greater than our PC, not greater or equal. | |
4526 | ||
4527 | 1999-07-08 Stan Shebs <shebs@andros.cygnus.com> | |
4528 | ||
4529 | * sparcl-tdep.c (init_sparclite_ops): Fix doc strings, remove | |
4530 | useless inits. | |
4531 | (sparclite_ops): Remove redundant decl. | |
4532 | ||
4533 | Thu Jul 8 16:48:40 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
4534 | ||
4535 | * ser-pipe.c (pipe_open): Bi-directional popen found on both | |
4536 | NetBSD and OpenBSD. | |
4537 | * ser-pipe.c: New file. Implement popen() style serial interface. | |
4538 | * NEWS: Mention. | |
4539 | * Makefile.in (ALLDEPFILES): Add ser-pipe.c. | |
4540 | (ser-pipe.o): Add new target. Specify dependencies. | |
4541 | (SER_HARDWIRE): Add ser-pipe.o. | |
4542 | * serial.c (serial_open): Recognize a serial pipe ``|''. | |
4543 | ||
9846de1b JM |
4544 | 1999-07-07 Stan Shebs <shebs@andros.cygnus.com> |
4545 | ||
c5aa993b JM |
4546 | * All C files except *-stub.c and *-share/*: Indent to GNU |
4547 | standard, using indent 1.9.1. | |
4548 | * defs.h: Make indent ignore this file, macros confuse it. | |
4549 | ||
9846de1b JM |
4550 | * gnu-regex.c, gnu-regex.h: Don't let indent mess with these. |
4551 | ||
4552 | Wed Jul 7 13:06:24 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
4553 | ||
4554 | * remote-mips.c (fputs_readable): Rename puts_readable, add struct | |
4555 | gdb_file argument. | |
4556 | (fputc_readable): Rename putc_readable, add struct gdb_file | |
4557 | argument. | |
4558 | ||
4559 | * remote-mips.c (mips_expect_timeout, mips_receive_header, | |
4560 | mips_send_packet, mips_receive_packet), remote-rdp.c (put_byte, | |
4561 | get_byte, put_word, rdp_init, rdp_init), remote-sds.c | |
4562 | (sds_interrupt, sds_wait, readchar, putmessage, read_frame, | |
4563 | getmessage), remote-udi.c (udi_store_registers, fetch_register): | |
4564 | (store_register), xmodem.c (readchar), utils.c (puts_debug), | |
4565 | gnu-nat.h (debug), parse.c (parse_exp_1): Cleanup - send debug/log | |
4566 | messages to gdb_stdlog. | |
4567 | ||
4568 | 1999-07-06 Stan Shebs <shebs@andros.cygnus.com> | |
4569 | ||
4570 | * exec.c: Remove long-#ifed-out section of code that confuses | |
4571 | indent. | |
4572 | * gdbtypes.c (add_mangled_type): Add some braces to indicate | |
4573 | grouping better. | |
4574 | * gnu-nat.c: Remove literal newlines embedded in strings, | |
4575 | causes indent to weird out. | |
4576 | * language.c (binop_result_type): Remove extra paren. | |
4577 | * lynx-nat.c: Add a missing paren to fetch_core_registers decl. | |
4578 | * nec4102rom.c (vr4102_insert_step): Fix typos. | |
4579 | (_initialize_vr4102_rom): Remove literal newline in string. | |
4580 | * config/a29k/tm-a29k.h: Suppress formatting of pictures. | |
4581 | * config/m68k/xm-3b1.h: Remove excess #endif. | |
4582 | ||
4583 | Declare Pyramid configuration obsolete. | |
4584 | * configure.host, configure.tgt: Comment out Pyramid configs. | |
4585 | * Makefile.in: Comment out Pyramid-related actions. | |
4586 | * pyr-xdep.c, pyr-tdep.c, config/pyr/*: Comment out. | |
4587 | * NEWS: Mention obsolete status. | |
4588 | ||
4589 | 1999-07-06 Jason Molenda (jsm@bugshack.cygnus.com) | |
4590 | ||
4591 | * remote.c: Include <sys/time.h> to pick up FD_SET et al defns on | |
4592 | some old Linux distributions. | |
4593 | * remote-os9k.c, remote-st.c, ser-tcp.c, ser-unix.c, | |
4594 | sparcl-tdep.c, remote.c: Back out inclusion of <sys/select.h>. | |
4595 | It isn't necessary after all. | |
4596 | ||
4597 | 1999-07-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
4598 | ||
4599 | * infcmd.c (strip_bg_char): Remove assignment from 'if' condition. | |
4600 | ||
43ff13b4 JM |
4601 | 1999-07-05 Jason Molenda (jsm@bugshack.cygnus.com) |
4602 | ||
4603 | * remote.c: Include <sys/select.h> if it exists in order to pick up | |
4604 | FD_SET et al defns. | |
4605 | * remote-os9k.c: Same. | |
4606 | * remote-st.c: Same. | |
4607 | * ser-tcp.c: Same. | |
4608 | * ser-unix.c: Same. | |
4609 | * sparcl-tdep.c: Same. | |
4610 | ||
4611 | Fri Jul 2 19:38:43 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
4612 | ||
4613 | * top.c (target_output_hook): Delete definition. | |
4614 | * defs.h (target_output_hook): Delete declaration. | |
4615 | ||
4616 | * remote.c (remote_console_output): Delete call to | |
4617 | target_output_hook(). Send target output to gdb_stdtarg using an | |
4618 | unfiltered write. Make more robust. | |
4619 | ||
4620 | * remote-sim.c (gdb_os_write_stdout, gdb_os_write_stderr): | |
4621 | Ditto. For moment, do not try to separate target stdout and stderr | |
4622 | streams. | |
4623 | ||
4624 | * defs.h (gdb_stdtarg): New global. Output from target and | |
4625 | simulators. | |
4626 | ||
4627 | 1999-07-02 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
4628 | ||
4629 | * top.c (return_to_top_level): Do all the exec_cleanups too. | |
4630 | ||
4631 | * event-top.c (command_handler): Set up for a continuation, if we | |
4632 | are in the middle of running an execution command which will | |
4633 | finish later on. Do cleanups, an display of time/space only if not | |
4634 | running with an async target or not running an execution command. | |
4635 | (command_line_handler_continuation): New function. Continuation | |
4636 | for command_line_handler. | |
4637 | ||
4638 | * utils.c (exec_cleanup_chain): New cleanup chain to be used in | |
4639 | async mode for the execution commands. | |
4640 | (make_exec_cleanup): New function. Add a cleanup to the | |
4641 | exec_cleanup_chain. | |
4642 | (do_exec_cleanups): New Function. Do cleanups on the | |
4643 | exec_cleanup_chain. | |
4644 | (add_continuation): New function. Add a new continuation to the | |
4645 | cmd_continuation list. | |
4646 | (do_all_continuations): New function. Do all the continuations on | |
4647 | the cmd_continuation list. | |
4648 | ||
4649 | * top.h (ALL_CLEANUPS): Move from here to defs.h. | |
4650 | ||
4651 | * defs.h (struct continuation_arg): New structure. Arg to pass to | |
4652 | the call to a command continuation. | |
4653 | (struct continuation): New structure. Continuation for an | |
4654 | execution command. | |
4655 | (ALL_CLEANUPS): Move here from top.h. | |
4656 | ||
4657 | * remote.c (remote_async_open_1): Set things up for telling the | |
4658 | target we are running the extended protocol, only after the target | |
4659 | has stopped. | |
4660 | (set_extended_protocol): New function. Tell the target we are | |
4661 | using the extended protocol. | |
4662 | (remote_async_resume): Set things up for sync execution only if | |
4663 | this is the first time we are called. | |
4664 | ||
4665 | * breakpoint.c (until_break_command_continuation): New function. | |
4666 | Stuff to be done after the target stops during the 'until' | |
4667 | command. | |
4668 | (until_break_command): Set things up for completing the 'until' | |
4669 | command later on. Do the final cleanups only if not running | |
4670 | asynchronously or async execution is not supported by the target. | |
4671 | ||
4672 | * infcmd.c (until_command): Recognize '&' at end of command and | |
4673 | handle it properly. | |
4674 | (finish_command_continuation): New function. Do whatever is needed | |
4675 | after the target has stopped. | |
4676 | (finish_command): Recognize '&' at end of command and handle it | |
4677 | properly. Don't do stuff needed after target has stopped if | |
4678 | running asynchronously and target has async. Use exec_cleanup_chain | |
4679 | if running asynchronously and target is asynchronous. | |
4680 | ||
4681 | * infrun.c (cmd_continuation): New gloabl variable. Used to | |
4682 | coplete execution commands in async mode, after the target has | |
4683 | stoped. | |
4684 | (fetch_inferior_event): Use exec_cleanup_chain, instead of | |
4685 | cleanup_chain. Do all the exec cleanups at the end. Do all the | |
4686 | continuations at the end. Call complete_execution from here, | |
4687 | instead of normal_stop. | |
4688 | (complete_execution): Cleanup the signals handlers for SIGINT | |
4689 | before displaying the prompt. | |
4690 | (start_remote): Set target_executing to 1. | |
4691 | (normal_stop): Don't call complete_execution from here. | |
4692 | ||
4693 | Thu Jul 1 19:14:30 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
4694 | ||
4695 | * blockframe.c (struct dummy_frame): Add member ``top''. | |
4696 | (generic_push_dummy_frame): Initialize top to sp. | |
4697 | (generic_save_dummy_frame_tos): New function. Initialize top. | |
4698 | (generic_find_dummy_frame): Check for the top of the frame. | |
4699 | ||
4700 | * blockframe.c (generic_push_dummy_frame): Free the dummy_frame | |
4701 | registers. | |
4702 | ||
4703 | * config/mn10300/tm-mn10300.h (SAVE_DUMMY_FRAME_TOS): Define. | |
4704 | (TARGET_READ_FP): Return the SP as a best guess. | |
4705 | ||
4706 | Wed Jun 30 15:45:48 1999 Jeffrey A Law (law@cygnus.com) | |
4707 | ||
4708 | * configure.host (hppa*-*-hpux11*): Accept any version of hpux11 | |
4709 | instead of hpux11.0*. | |
4710 | ||
4711 | 1999-06-30 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
4712 | ||
4713 | * source.c (directory_command): Add missing test for from_tty. | |
4714 | ||
4715 | 1999-06-29 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
4716 | ||
4717 | * remote.c: Include event-loop.h. | |
4718 | (remote_async_ops, extended_async_remote_ops): Define new target | |
4719 | vector structures for asynchronous debugging. | |
4720 | (remote_async_open): New function. Asynchronous version of | |
4721 | remote_open. | |
4722 | (extended_remote_async_open): New function. Asynchronous version | |
4723 | of extended_remote_open. | |
4724 | (remote_async_open_1): New function. Async version of | |
4725 | remote_open_1. | |
4726 | (remote_async_detach): New function. Async version of | |
4727 | remote_detach. | |
4728 | (remote_async_resume): New function. Async version of | |
4729 | remote_resume. | |
4730 | (initialize_sigint_signal_handler, handle_remote_sigint, | |
4731 | handle_remote_sigint_twice, async_remote_interrupt, | |
4732 | async_remote_interrupt_twice, cleanup_sigint_signal_handler): New | |
4733 | functions. Used for handling ^C while target is running. | |
4734 | (remote_async_wait): New function. Async version of remote_wait. | |
4735 | (remote_async_kill): New function. Async version of remote_kill. | |
4736 | (extended_remote_async_create_inferior): New function. Async | |
4737 | version of extended_remote_create_inferior. | |
4738 | (init_remote_async_ops): New function. Initialize target vector | |
4739 | for target async. | |
4740 | (init_extended_async_remote_ops): New function. Initialize target | |
4741 | vector for target extended-async. | |
4742 | (_initialize_remote): Initialize remote_async_ops and | |
4743 | extended_async_remote_ops. | |
4744 | ||
4745 | * infrun.c: Include "event-loop.h". | |
4746 | (sync_execution): new global variable. | |
4747 | (proceed): Invoke wait_for_inferior and normal_stop only if not | |
4748 | running in async mode or if target doesn't support async | |
4749 | execution. | |
4750 | (start_remote): Don't call wait_for_inferior and normal_stop if | |
4751 | not running in async mode or if target not async. If running async | |
4752 | and target is async, start the target in simulated synchronous | |
4753 | mode. | |
4754 | (async_ecss, async_ecs): New global vars, for inferior state. | |
4755 | (fetch_inferior_event): New function. Async version of | |
4756 | wait_for_inferior. | |
4757 | (complete_execution): New function. Reset of gdb prompt and stdin, | |
4758 | after inferior execution has completed. | |
4759 | (normal_stop): Call complete_execution at end of asynchronous | |
4760 | execution. | |
4761 | ||
4762 | * infcmd.c (strip_bg_char): New function to detect the background | |
4763 | execution char '&'. | |
4764 | (run_command): Modify to support background and foreground | |
4765 | execution in async mode. | |
4766 | (continue_command): Ditto. | |
4767 | (step_1): Ditto. | |
4768 | (jump_command): Ditto. | |
4769 | (interrupt_target_command): New function. Interrupt the | |
4770 | target execution. | |
4771 | (_initialize_infcmd): Add new command 'interrupt'. | |
4772 | ||
4773 | * top.c (target_executing): New global variable. | |
4774 | (execute_command): Reject commands that cannot be executed while | |
4775 | the target is running asynchronously. | |
4776 | ||
4777 | * event-top.c (push_prompt): Make non static. | |
4778 | (pop_prompt): Make non static. If the current prompt is empty, | |
4779 | don't try to copy it over the previous one. | |
4780 | (handle_sigint): Make non static. | |
4781 | (command_handler): Do the cleanups only when not executing with an | |
4782 | asynchronous target. | |
4783 | ||
4784 | * event-loop.c (delete_async_signal_handler): Pass a pointer to a | |
4785 | pointer to a signal handler, so that is can be freed at the end. | |
4786 | ||
4787 | * target.c (update_current_target): Inherit to_has_async_exec. | |
4788 | ||
4789 | * inferior.h: Add global variables target_executing, and | |
4790 | sync_execution. Export function fetch_inferior_event. | |
4791 | ||
4792 | * event-loop.h: Add push_prompt, pop_prompt, handle_sigint to the | |
4793 | exported functions. Update prototype for delete_signal_handler. | |
4794 | ||
4795 | * target.h (struct target_ops): New target op: to_has_async_exec. | |
4796 | (target_has_async): New macro. | |
4797 | ||
4798 | * Makefile.in (infrun.o): Add dependency on event-loop.h. | |
4799 | (remote.o): Ditto. | |
4800 | ||
085dd6e6 JM |
4801 | 1999-06-28 Jim Blandy <jimb@zwingli.cygnus.com> |
4802 | ||
4803 | * solib.c (clear_solib): Don't disable breakpoints if we're | |
4804 | running an a.out executable (Solaris's SunOS emulation). | |
4805 | ||
4806 | 1999-06-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
4807 | ||
4808 | * main.c (main): Remove intialization of command_loop_hook, it | |
4809 | is now done in _initialize_event_loop(). | |
4810 | * event-loop.c (gdb_do_one_event): Make static. | |
4811 | (start_event_loop): New function. Just start the event loop. | |
4812 | * event-top.c (cli_command_loop): New name for start_event_loop(). | |
4813 | (gdb_readline2): Make non static. | |
4814 | (_initialize_event_loop): Set command_loop_hook to cli_command_loop. | |
4815 | * event-loop.h: Adjust exported functions accordingly. | |
4816 | ||
4817 | * top.c (init_main): Move setting of async_command_editing_p from | |
4818 | here. | |
4819 | * event-top.c (_initialize_event_loop): To here. | |
4820 | (change_line_handler): Revert previous change. Add comment. | |
4821 | (_initialize_event_loop): Revert previous change. | |
4822 | (cli_command_loop): New name for start_event_loop(). | |
4823 | (start_event_loop): New function. This just starts up the event loop. | |
4824 | (gdb_readline2): Make non static. | |
4825 | (_initialize_event_loop): Set command_loop_hook to cli_command_loop. | |
4826 | ||
4827 | 1999-06-25 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
4828 | ||
4829 | * event-top.c (change_line_handler): Get rid of the global | |
4830 | variable input_fd, use `fileno (instream)' instead. | |
4831 | (_initialize_event_loop): Ditto | |
4832 | ||
4833 | * event-loop.c (add_file_handler): New function. Wrapper for | |
4834 | create_file_handler. | |
4835 | (create_file_handler): Make static. | |
4836 | * event-top.c (_initialize_event_loop): Call add_file_handler, | |
4837 | instead of create_file_handler. | |
4838 | (change_line_handler): Ditto. | |
4839 | Remove poll.h include. | |
4840 | * event-loop.h: Export add_file_handler instead of | |
4841 | create_file_handler. | |
4842 | ||
4843 | 1999-06-24 Stan Shebs <shebs@andros.cygnus.com> | |
4844 | ||
4845 | Declare Altos configuration obsolete. | |
4846 | * configure.host, configure.tgt: Comment out Altos config. | |
4847 | * Makefile.in: Comment out Altos-related actions. | |
4848 | * altos-xdep.c, config/m68k/altos.mh, altos.mt, tm-altos.h, | |
4849 | xm-altos.h: Comment out. | |
4850 | * NEWS: Mention obsolete status. | |
4851 | ||
4852 | 1999-06-24 Jason Molenda (jsm@bugshack.cygnus.com) | |
4853 | ||
4854 | * Makefile.in: Add MAKEHTML and MAKEHTMLFLAGS; pass them down; | |
4855 | recognize html and install-html targets. | |
4856 | * gdbserver/Makefile.in: Add empty html and install-html targets. | |
4857 | * nlm/Makefile.in: Ditto. | |
4858 | * rdi-share/Makefile.in: Ditto. | |
4859 | ||
4860 | 1999-06-24 Jim Blandy <jimb@zwingli.cygnus.com> | |
4861 | ||
4862 | * ax-gdb.c (agent_command): Remove vestigial call to ax_reqs. | |
4863 | ||
4864 | 1999-06-24 James Ingham <jingham@leda.cygnus.com> | |
4865 | ||
4866 | * arm-tdep.c (arm_othernames): Change both gdb's register display | |
4867 | AND the opcode disassembly register naming if the othernames | |
4868 | command. Fixes the gdb part of CR 101177. | |
4869 | ||
4870 | 1999-06-23 Stan Shebs <shebs@andros.cygnus.com> | |
4871 | ||
4872 | Declare Convex configuration obsolete. | |
4873 | * configure.host, configure.tgt: Comment out Convex configs. | |
4874 | * Makefile.in: Comment out Convex-related actions. | |
4875 | * convex-xdep.c, convex-tdep.c, config/convex/*: Comment out. | |
4876 | * NEWS: Mention obsolete status. | |
4877 | ||
4878 | 1999-06-23 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
4879 | ||
4880 | * main.c: Turn on async by default by setting async_p to 1. | |
4881 | ||
4882 | Wed Jun 23 15:44:39 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
4883 | ||
4884 | From Jimmy Guo <guo@cup.hp.com>: | |
4885 | * frame.h (enum lval_type): Delcare when an __STDC__ compiler. | |
4886 | Reverts Mon Aug 11 16:08:52 1997 Fred Fish <fnf@cygnus.com> | |
4887 | change. | |
4888 | * utils.c (gdb_file_rewind, gdb_file_put): Fix. A void function | |
4889 | does not return a result. | |
4890 | ||
4891 | Wed Jun 23 15:30:46 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
4892 | ||
4893 | * remote.c (set_thread, remote_get_threadinfo, | |
4894 | remote_threads_info, remote_current_thread, remote_get_threadlist, | |
4895 | extended_remote_restart, get_offsets, remote_open_1, | |
4896 | remote_detach, remote_resume, remote_wait, remote_fetch_registers, | |
4897 | remote_store_registers, check_binary_download, remote_write_bytes, | |
4898 | remote_read_bytes, remote_search, putpkt_binary, putpkt_binary, | |
4899 | read_frame, compare_sections_command, remote_query, | |
4900 | packet_command, remote_info_process): Use alloca to create space | |
4901 | for arrays of size PBUFSIZ. | |
4902 | ||
4903 | 1999-06-22 Jason Molenda (jsm@bugshack.cygnus.com) | |
4904 | ||
4905 | * top.c: Update copyright years to include 1999. | |
4906 | ||
9e0b60a8 JM |
4907 | 1999-06-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
4908 | ||
4909 | * top.c: Move include of event-loop.h, to avoid redefinition of | |
4910 | NFDBITS. | |
4911 | ||
4912 | * event-loop.c (create_file_handler): Do not do a realloc of the | |
4913 | pollfd structure of the notifier, unless there is already one. | |
4914 | Include <sys/types.h> for platforms that have no poll. | |
4915 | ||
4916 | * event-top.c: Fix prototype for _initialize_event_loop. | |
4917 | (_initialize_event_loop): Do something only if running in async | |
4918 | mode. | |
4919 | ||
4920 | 1999-06-17 Jim Blandy <jimb@zwingli.cygnus.com> | |
4921 | ||
4922 | Make the '/c' print format use a true character type. This is | |
4923 | more appropriate than builtin_type_char for languages other than | |
4924 | C, and C tolerates it. | |
4925 | * gdbtypes.c (builtin_type_true_char): New variable. | |
4926 | (build_gdbtypes): Initialize it. | |
4927 | * gdbtypes.h (builtin_type_true_char): New declaration. | |
4928 | * printcmd.c (print_scalar_formatted): When the format is 'c', | |
4929 | extract the value as a builtin_type_true_char. | |
4930 | ||
4931 | * jv-exp.y (yylex): Say character literals are java_char_type, not | |
4932 | builtin_type_char. Java treats the latter like `byte'. | |
4933 | ||
4934 | 1999-06-17 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
4935 | ||
4936 | * Makefile.in (top_h): Define. | |
4937 | (event-loop.o): Add dependencies on top.h and defs.h. | |
4938 | (event-top.o): Add dependency on terminal.h. | |
43ff13b4 | 4939 | |
9e0b60a8 JM |
4940 | * event-loop.c: Get rid of #include <readline.h>. |
4941 | ||
4942 | * event-loop.h: Get rid of nested #include's. | |
4943 | * event-loop.c: Rearrange includes to accomodate change in | |
4944 | event-loop.h. Include poll.h, not sys/poll.h. | |
4945 | * event-top.c: Ditto. | |
4946 | * main.c: Ditto. | |
4947 | ||
4948 | 1999-06-16 David Taylor <taylor@louisiana.cygnus.com> | |
4949 | ||
4950 | * alpha-tdep.c (alpha_pop_frame): if frame->proc_desc | |
4951 | is NULL, call find_proc_desc so we know how to restore | |
4952 | the registers. | |
4953 | ||
4954 | 1999-06-15 Michael Snyder <msnyder@cleaver.cygnus.com> | |
4955 | ||
4956 | * event-top.c (start_event_loop): call get_prompt. | |
4957 | (display_gdb_prompt): call get_prompt. | |
4958 | (async_stop_sig): call get_prompt. | |
4959 | ||
4960 | 1999-06-15 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
4961 | ||
4962 | * event-loop.c (delete_file_handler): When positioning prev_ptr, | |
4963 | keep looping while the one after is not equal to file_ptr, instead | |
4964 | of equal. | |
4965 | ||
0f71a2f6 JM |
4966 | 1999-06-14 Stan Shebs <shebs@andros.cygnus.com> |
4967 | ||
4968 | * MAINTAINERS: Add Jimmy Guo and Jim Blandy as HP testsuite and | |
4969 | SVR4 solib maintainers, respectively. | |
4970 | ||
4971 | 1999-06-14 Michael Snyder <msnyder@cleaver.cygnus.com> | |
4972 | ||
4973 | Add parameters to the gdb prompt. | |
4974 | * top.c (prompt): Rename to gdb_prompt_string for clarity. | |
4975 | (command_line_input): rename "prrompt" to prompt_arg for clarity. | |
4976 | (gdb_readline): rename "prrompt" to prompt_arg for clarity. | |
4977 | (read_command_lines): rename "prompt" to prompt_arg for clarity. | |
4978 | (stop_sig): call get_prompt instead of reading prompt string directly. | |
4979 | (command_loop): ditto. | |
0f71a2f6 JM |
4980 | (gdb_prompt_escape): New variable. Esc char for prompt parameters. |
4981 | (get_prompt_1): New function, workhorse for get_prompt. | |
4982 | (get_prompt): Completely rewrite. Add functionality for a | |
4983 | parameterized prompt, ie. the displayed prompt can change according | |
4984 | to the value of one or more expressions given as parameters in the | |
4985 | prompt string. | |
4986 | (init_main): use renamed variable gdb_prompt_string. Add new | |
4987 | command "set prompt-escape-char" to set gdb_prompt_escape. | |
4988 | ||
4989 | Sun Jun 13 10:44:13 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
4990 | ||
4991 | * defs.h (gdb_stdlog), main.c: Declare. | |
4992 | * main.c (main): Initialize. | |
4993 | * gdbarch.c: Write trace messages to the log file. | |
4994 | * remote.c: Update any debug/log prints. | |
4995 | ||
4996 | 1999-06-11 Michael Snyder <msnyder@cleaver.cygnus.com> | |
4997 | ||
4998 | * remote.c (remote_wait): Clean up new thread handling. | |
4999 | (record_currthread): Announce new threads. | |
5000 | ||
5001 | 1999-06-11 Jim Blandy <jimb@zwingli.cygnus.com> | |
5002 | ||
5003 | * partial-stab.h (case N_LSYM, 'T' descriptor): Don't create | |
5004 | partial symbol table entries for nameless enums, even if the type | |
5005 | name is " ". (We still pick up the enum elements, though.) | |
5006 | ||
5007 | * partial-stab.h: Remove #if 0'd sections, dating back to 1992, | |
5008 | which set a variable which exists nowhere else in the source. | |
5009 | Please examine your test suite output carefully, and report any | |
5010 | problems to me. | |
5011 | ||
5012 | 1999-06-11 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
5013 | ||
5014 | * event-top.c (setup_event_loop): Change name to start_event_loop. | |
5015 | Move the intialization of event-loop variables to | |
5016 | _initialize_event_loop. | |
5017 | (_initialize_event_loop): New function. Called at init time, to | |
5018 | set up important event-loop variables. | |
5019 | ||
5020 | * event-loop.h: setup_event_loop is now start_event_loop. | |
5021 | * main.c (main): Ditto. | |
5022 | ||
5023 | Fri Jun 11 18:34:33 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5024 | ||
5025 | * defs.h (gdb_file_rewind_ftype, gdb_file_rewind, | |
5026 | set_gdb_file_rewind, gdb_file_put_ftype, gdb_file_put, | |
5027 | set_gdb_file_put): Declare. | |
5028 | ||
5029 | * utils.c (gdb_file_new): Initialize ``rewind'' and ``put''. | |
5030 | (struct gdb_file): Add to_rewind and to_put. | |
5031 | (null_file_put, null_file_rewind, gdb_file_put, gdb_file_rewind, | |
5032 | set_gdb_file_put, set_gdb_file_rewind): New functions. | |
5033 | (tui_file_rewind, tui_file_put): New functions. | |
5034 | (tui_file_new): Add rewind and put. | |
5035 | ||
5036 | Fri Jun 11 15:10:32 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5037 | ||
5038 | * d10v-tdep.c (d10v_push_arguments): Fix order of arguments passed | |
5039 | to store_address. | |
5040 | ||
5041 | Fri Jun 11 10:31:29 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5042 | ||
5043 | * remote.c (tty_input): Change array to pointer. | |
5044 | (_initialize_remote): Call build_remote_gdbarch_data. | |
5045 | (build_remote_gdbarch_data): New function. Allocate space for | |
5046 | tty_input. | |
5047 | (readsocket, readtty): Delete extern declaration of tty_input. | |
5048 | ||
5049 | 1999-06-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
5050 | ||
5051 | * event-top.c (gdb_readline2): Call the command handling function | |
5052 | via the input_handler pointer. | |
5053 | (change_line_handler): When turning off editing, set input_handler | |
5054 | as well. | |
5055 | ||
5056 | * utils.c (prompt_for_continue): If running asynchronously, call | |
5057 | async_request_quit, instead of request_quit. | |
5058 | ||
5059 | * tracepoint.c (read_actions): If running asynchronously, set the | |
5060 | signal handler for STOP_SIGNAL to handle_stop_sig. | |
5061 | ||
5062 | * top.h: (source_line_number, source_file_name, source_error, | |
5063 | source_pre_error, history_expansion_p, server_command): export for | |
5064 | use of event-top.c. | |
5065 | ||
5066 | * event-top.c: Include top.h and terminal.h. | |
5067 | (instream): Remove extern declaration. | |
5068 | (handle_sigint, handle_sigquit, handle_sighup, handle_sigfpe, | |
5069 | handle_sigwinch, async_do_nothing, async_disconnect, | |
5070 | async_float_handler, async_stop_sig): Make static. | |
5071 | (async_request_quit, async_do_nothing, async_disconnect, | |
5072 | async_float_handler, async_stop_sig): Add gdb_glient_data | |
5073 | argument. | |
5074 | (handle_stop_sig): New function. | |
5075 | (sigtstp_token): New variable. | |
5076 | (sigint_token, sigquit_token, sigfpe_token, sigwinch_token): | |
5077 | Change their type tp PTR. | |
5078 | (mark_async_signal_handler_wrapper): New function. | |
5079 | (setup_event_loop): Initialize all the variables used by readline | |
5080 | only if not already done while reading the .gdbinit file. Display | |
5081 | the initial gdb prompt, if .gdbinit took care of setting things up | |
5082 | for readline. | |
5083 | (change_line_handler): When turning on the use of readline, | |
5084 | initialize input_handler as well. | |
5085 | (command_line_handler): Set up the signal handler for STOP_SIGNAL | |
5086 | to be handle_stop_sig. | |
5087 | (async_init_signals): Remove coercion of signal handlers in calls | |
5088 | to create_async_signal_handler. Initialize token for stop signal. | |
5089 | (handle_sigint): Call async_request_quit using one argument. | |
5090 | (handle_sigint, handle_sigquit, handle_sighup, handle_sigfpe, | |
5091 | handle_sigwinch): Call mark_async_signal_handler_wrapper instead | |
5092 | of mark_async_signal_handler. | |
5093 | ||
5094 | * event-loop.h: Add extern declarations for handle_stop_sig, | |
5095 | async_command_editing_p, async_annotation_suffix, | |
5096 | new_async_prompt, the_prompts. | |
5097 | ||
5098 | * top.c (command_line_input): Set the signal handler to be | |
5099 | handle_stop_sig, in case gdb is running asynchronously. | |
5100 | (get_prompt): Return the top of the prompt stack if running | |
5101 | asynchronously. | |
5102 | (set_prompt): Set the top of the prompt stack if running | |
5103 | asynchronously. | |
5104 | (init_main): Move ``extern'' vars from here to event-loop.h. | |
5105 | ||
5106 | 1999-06-10 Michael Snyder <msnyder@cleaver.cygnus.com> | |
5107 | ||
5108 | * values.c (value_from_string): new function. Make a value_ptr | |
5109 | from a string, with storage in local GDB memory (not in inferior). | |
5110 | * value.h (value_from_string): add prototype. | |
5111 | * remote.c (remote_cisco_ops): New remote target, "target cisco". | |
5112 | (init_remote_cisco_ops): New function, initialize new target. | |
5113 | (remote_cisco_mourn, remote_cisco_wait, remote_cisco_open, | |
5114 | remote_cisco_close): New functions, implement new target cisco. | |
5115 | (minitelnet, readtty, readsocket) New functions, implement the | |
5116 | I/O pass-through mode for target cisco. | |
5117 | (remote_wait): Detect special enhanced version of the 'S' packet | |
5118 | for target cisco. | |
5119 | (remote_cisco_expand): Perform Cisco variant of RLL decoding. | |
5120 | ||
5121 | 1999-06-10 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
5122 | ||
5123 | * event-loop.c (gdb_wait_for_event): Initialize num_found to 0. | |
5124 | ||
5125 | * top.c (print_prompt): Delete this function. | |
5126 | ||
5127 | From: Andrew Cagney <cagney@b1.cygnus.com> | |
5128 | ||
5129 | * event-top.c (async_hook): Delete extern declaration. | |
5130 | ||
5131 | * defs.h: Replace ``async_hook'' with ``async_p''. | |
5132 | * top.c (gdb_init, init_main, init_main, init_main, init_main): | |
5133 | Replace ``async_hook'' with ``async_p''. | |
5134 | ||
5135 | * main.c: Rename ``async'' to ``async_p''. | |
5136 | (main): Add --noasync option. | |
5137 | (main): Hook in the asynchronous event-loop based CLI using | |
5138 | command_loop_hook instead of async_hook. Delete call to | |
5139 | async_hook(). | |
5140 | ||
5141 | Thu Jun 10 21:14:16 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5142 | ||
5143 | * mn10300-tdep.c (mn10300_store_return_value, | |
5144 | mn10300_extract_struct_value_address, | |
5145 | mn10300_extract_return_value), config/mn10300/tm-mn10300.h: New | |
5146 | functions. | |
5147 | * config/mn10300/tm-mn10300.h (EXTRACT_STRUCT_VALUE_ADDRESS, | |
5148 | STORE_RETURN_VALUE, EXTRACT_RETURN_VALUE): Update. | |
5149 | (TARGET_MN10300): Delete macro. Not used. | |
5150 | ||
5151 | Thu Jun 10 20:04:02 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5152 | ||
5153 | * mn10300-tdep.c (mn10300_register_names): Make static. | |
5154 | (STORE_STRUCT_RETURN): Do not modify SP. | |
5155 | ||
5156 | * config/mn10300/tm-mn10300.h(mn10300_register_name), | |
5157 | mn10300-tdep.c : New function. | |
5158 | * config/mn10300/tm-mn10300.h (REGISTER_NAME): Update. | |
5159 | * config/mn10300/tm-mn10300.h (mn10300_saved_pc_after_call), | |
5160 | mn10300-tdep.c: New function. | |
5161 | * config/mn10300/tm-mn10300.h (SAVED_PC_AFTER_CALL): Update. | |
5162 | ||
96baa820 JM |
5163 | 1999-06-10 Keith Seitz <keiths@cygnus.com> |
5164 | ||
5165 | * mcore-rom.c (picobug_dumpregs): Return a value. Any value, it | |
5166 | doesn't matter. | |
5167 | * mcore-tdep.c (mcore_analyze_prologue): Set NO_MORE_FRAMES | |
5168 | if the start of the function is the entry point. | |
5169 | (mcore_analyze_prologue): rotli takes an immediate, not an | |
5170 | offset immediate. | |
5171 | (mcore_push_arguments): Fix compiler warning. | |
5172 | ||
0f71a2f6 | 5173 | 1999-06-09 Peter Schauer (pes@regent.e-technik.tu-muenchen.de) |
104c1213 | 5174 | |
0f71a2f6 JM |
5175 | * rs6000-tdep.c (skip_prologue): Don't mistake a branch for a |
5176 | subroutine call. | |
5177 | ||
5178 | 1999-06-08 Michael Snyder <msnyder@cleaver.cygnus.com> | |
5179 | ||
5180 | * remote.c (remote_wait): Add 'N' response packet, which is a | |
5181 | stop with signal number plus section offsets for .text, .data and | |
5182 | .bss. This is used by Cisco to indicate relocation offsets. | |
5183 | (remote_cisco_section_offsets, remote_cisco_objfile_relocate): | |
5184 | new files to support 'N' packet. | |
5185 | (remote_info_process): New function. Implements the | |
5186 | "info remote-process" command, by means of which the remote target | |
5187 | can report anything it wants to about the remote process/app being | |
5188 | debugged. | |
5189 | (_initialize_remote): add info remote-proc command. | |
5190 | (remote_threads_info): New function for "info threads" command. | |
5191 | Attempts to use new query "qfThreadInfo" instead of the old | |
5192 | undocumented query. | |
5193 | * exec.c (exec_set_section_offsets) new files to support 'N' packet. | |
5194 | ||
5195 | Tue Jun 8 13:33:42 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
5196 | ||
5197 | * inferior.h (generic_target_read_pc, generic_target_write_pc, | |
5198 | generic_target_read_fp, generic_target_write_fp, | |
5199 | generic_target_read_sp, generic_target_write_sp): Declare new | |
5200 | functions. | |
5201 | * findvar.c (generic_target_read_pc, generic_target_write_pc, | |
5202 | generic_target_read_fp, generic_target_write_fp, | |
5203 | generic_target_read_sp, generic_target_write_sp): New functions. | |
5204 | (TARGET_READ_PC, TARGET_WRITE_PC, TARGET_READ_FP, TARGET_WRITE_FP, | |
5205 | TARGET_READ_SP, TARGET_WRITE_SP): Default to corresponding generic | |
5206 | function. | |
5207 | (write_pc_pid, write_pc_pid, read_sp, write_sp, read_fp, | |
5208 | write_fp): Simplify. | |
5209 | ||
5210 | * gdbarch.c (verify_gdbarch): Always verify TARGET_PTR_BIT, | |
5211 | TARGET_SHORT_BIT, TARGET_INT_BIT, TARGET_LONG_BIT, | |
5212 | TARGET_LONG_LONG_BIT, TARGET_FLOAT_BIT, TARGET_DOUBLE_BIT, | |
5213 | TARGET_LONG_DOUBLE_BIT, TARGET_READ_PC, TARGET_WRITE_PC, | |
5214 | TARGET_READ_FP, TARGET_WRITE_FP, TARGET_READ_SP, TARGET_WRITE_SP, | |
5215 | USE_GENERIC_DUMMY_FRAMES, CALL_DUMMY_BREAKPOINT_OFFSET_P, | |
5216 | CALL_DUMMY_P, CALL_DUMMY_STACK_ADJUST_P, GET_SAVED_REGISTER, | |
5217 | REGISTER_CONVERTIBLE, PUSH_ARGUMENTS, PUSH_RETURN_ADDRESS, | |
5218 | FRAME_CHAIN_VALID. | |
5219 | (GET_GDBARCH, SET_GDBARCH): Delete macros. Implement functions | |
5220 | directly. | |
5221 | * gdbarch.h, gdbarch.c: Call fatal() instead of abort(). Identify | |
5222 | the function / macro with a problem. Always verify a architecture | |
5223 | attribute before returning it. | |
5224 | * gdbarch.h, gdbarch.c (generic_register_convertible_not): New | |
5225 | function. | |
5226 | ||
5227 | * mips-tdep.c (mips_push_return_address): New function. | |
5228 | * config/mips/tm-mips.h (PUSH_RETURN_ADDRESS): Define. | |
5229 | ||
5230 | * mips-tdep.c (mips_gdbarch_init): Initialize short_bit, | |
5231 | double_bit, long_double_bit, read_pc, write_pc, read_fp, write_fp, | |
5232 | read_sp, write_sp, frame_chain_valid, get_saved_register, | |
5233 | push_arguments, push_return_address, register_convertible, | |
5234 | call_dummy_p, use_generic_dummy_frames, | |
5235 | call_dummy_breakpoint_offset_p, call_dummy_stack_adjust_p, | |
5236 | call_dummy_words and sizeof_call_dummy_words. | |
5237 | * config/mips/tm-mips.h: Don't define CALL_DUMMY when multi-arch. | |
5238 | ||
cce74817 JM |
5239 | 1999-06-07 Keith Seitz <keiths@cygnus.com> |
5240 | ||
5241 | * v850ice.c (init_hidden_window): Do not rely on the existence of | |
5242 | a gui for window creation. Return boolean status. | |
5243 | (v850ice_open): Use boolean status of init_hidden_window. | |
5244 | Allow any ICE execution command to run under CLI. Maybe one | |
5245 | day gdb will use a real event loop and allow this code to run. | |
5246 | * configure.tgt: Configure the v850 ice for all cygwin-hosted | |
5247 | toolchains. | |
5248 | ||
5249 | Mon Jun 7 23:37:26 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
5250 | ||
5251 | * config/mips/tm-mips.h (EXTRA_FRAME_INFO): Delete. | |
5252 | * mips-tdep.c (mips_init_extra_frame_info): Allocate saved_regs. | |
5253 | (temp_saved_regs): Replace struct with a simple pointer. | |
5254 | (set_reg_offset, mips32_heuristic_proc_desc, heuristic_proc_desc, | |
5255 | mips_init_extra_frame_info): Update. | |
5256 | ||
5257 | Mon Jun 7 21:40:12 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
5258 | ||
5259 | * config/mips/tm-mips.h (EXTRA_FRAME_INFO): Move elements from here. | |
5260 | * mips-tdep.c (struct frame_extra_info): To here. | |
5261 | ||
5262 | * mips-tdep.c (mips_print_extra_frame_info, mips_find_saved_regs, | |
5263 | mips_init_extra_frame_info, mips_pop_frame): Update | |
5264 | (mips_init_extra_frame_info): Allocate space for the extra info. | |
5265 | ||
5266 | Mon Jun 7 21:08:50 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
5267 | ||
5268 | * config/mips/tm-mips.h (mips_init_extra_frame_info), mips-tdep.c: | |
5269 | Rename init_extra_frame_info. Add argument ``fromleaf''. | |
c2d11a7d | 5270 | mips-tdep.c (mips_gdbarch_init): Add mips_init_extra_frame_info. |
cce74817 JM |
5271 | |
5272 | * config/mips/tm-mips.h (mips_print_extra_frame_info), | |
5273 | mips-tdep.c: New function. | |
5274 | (PRINT_EXTRA_FRAME_INFO): Update definition. | |
5275 | ||
5276 | Mon Jun 7 20:11:07 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
5277 | ||
5278 | * config/mips/tm-mips.h, config/mips/tm-irix3.h, | |
5279 | config/mips/tm-tx19.h, config/mips/tm-tx19l.h, | |
5280 | config/mips/tm-tx39.h, config/mips/tm-tx39l.h: Rename macro | |
5281 | REGISTER_NAMES to MIPS_REGISTER_NAMES. | |
5282 | ||
5283 | * config/mips/tm-mips.h (REGISTER_NAME): Define. | |
5284 | * mips-tdep.c (mips_processor_reg_names): New static variable. | |
5285 | (mips_register_name): New function. | |
5286 | (mips_set_processor_type): Update mips_processor_reg_names. | |
5287 | (mips_generic_reg_names): Initialize using MIPS_REGISTER_NAMES. | |
c2d11a7d | 5288 | (mips_gdbarch_init): Add mips_register_name. |
cce74817 JM |
5289 | |
5290 | Sun Jun 6 11:09:19 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5291 | ||
5292 | * remote.c (PBUFSIZ): Re-define so that value is computed at | |
5293 | run-time. | |
5294 | (MAXBUFBYTES): Re-define as a macro function. | |
0f71a2f6 JM |
5295 | * gdbarch.h, gdbarch.c: Add multi-arch support for REGISTER_BYTES. |
5296 | * d10v-tdep.c, config/d10v/tm-d10v.h: Update. | |
cce74817 JM |
5297 | |
5298 | 1999-06-05 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
5299 | ||
5300 | * symtab.c (decode_line_1): Accept filenames with spaces in | |
5301 | 'linespecs' when enclosed in double quotation marks and handle | |
5302 | drive specification is DOS format (D:). | |
5303 | ||
5304 | 1999-06-04 Jim Blandy <jimb@zwingli.cygnus.com> | |
5305 | ||
5306 | * parse.c: Don't include <ctype.h> twice. | |
5307 | ||
5308 | 1999-06-04 David Taylor <taylor@louisiana.cygnus.com> | |
5309 | ||
5310 | Sat May 15 12:16:09 1999 Per Bothner <bothner@deneb.cygnus.com> | |
5311 | ||
5312 | * eval.c (evaluate_subexp_standard): Remove Gilmore rant. | |
5313 | (Of course C has "expected types", at least if you allow | |
5314 | brace-initializer expressions - as in Gcc.) | |
5315 | Remove NULLing out expect_type. Do pass NULL_TYPE in place | |
5316 | the incoming expect_type where appropriate. | |
5317 | ||
5318 | Fri Jun 4 10:56:23 1999 Jeffrey A Law (law@cygnus.com) | |
5319 | ||
5320 | * hppa-tdep.c (hppa_fix_call_dummy): Make it work for GCC compiled | |
5321 | executables without end.o. Clean up lots of mis-guided comments. | |
5322 | ||
5323 | Fri Jun 4 17:10:36 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5324 | ||
5325 | * parser-defs.h (std_regs): Replace array with pointer. | |
5326 | * parse.c (build_parse): Build the std_regs table according to the | |
5327 | standard registers available. | |
0f71a2f6 JM |
5328 | (_initialize_parse): Register std_regs and num_std_regs as |
5329 | architecture specific. | |
5330 | * gdbarch.h, gdbarch.c: Add multi-arch support for SP_REGNUM, | |
5331 | FP_REGNUM, PC_REGNUM, NUM_REGS, REGISTER_NAME. | |
5332 | * d10v-tdep.c, config/d10v/tm-d10v.h: Update. | |
cce74817 JM |
5333 | |
5334 | 1999-06-03 Michael Snyder <msnyder@cleaver.cygnus.com> | |
5335 | ||
5336 | * thread.c: eliminate the target_thread_vector (functionality | |
5337 | moved into the standard target vector). | |
5338 | * gdbthread.h: eliminate target_thread_vector. Move all related | |
5339 | defines into remote.c, since they are no longer shared with thread.c. | |
5340 | * remote.c: eliminate the target_thread_vector. | |
5341 | (remote_find_new_threads): change return type to void, consistent | |
5342 | with the target vector table. (cont_thread): rename continue_thread. | |
5343 | (record_currthread): remove dead code. (remote_thread_alive): | |
5344 | clean up and simplify. (threadref etc.): move definitions to here | |
5345 | from gdbthread.h. | |
5346 | ||
5347 | 1999-06-02 Jason Molenda (jsm@bugshack.cygnus.com) | |
5348 | ||
5349 | * inftarg.c (child_create_inferior): Remove dead HPUX specific code | |
5350 | which tries to find csh. | |
5351 | * fork-child.c: Remove DEBUGGING predefine and conditionalized | |
5352 | printfs. | |
5353 | (fork_inferior): Remove dead HPUX specific code which assumes shell | |
5354 | is csh. | |
5355 | ||
5356 | * hppa-tdep.c: Remove DEBUGGING and #if 0 debugging printfs. | |
5357 | * parse.c: Ditto. | |
5358 | * somread.c: Ditto. | |
5359 | ||
0f71a2f6 JM |
5360 | * gdbarch.h: Forward decl of struct value. |
5361 | ||
cce74817 JM |
5362 | Thu Jun 3 10:12:38 1999 Andrew Cagney <cagney@b1.cygnus.com> |
5363 | ||
5364 | * d10v-tdep.c (do_d10v_pop_frame): Rename d10v_pop_frame. Make | |
5365 | static. | |
5366 | * d10v-tdep.c (d10v_pop_frame), config/d10v/tm-d10v.h: New | |
5367 | function. Call generic_pop_current_frame. | |
5368 | * config/d10v/tm-d10v.h (POP_FRAME): Update. | |
5369 | * gdbarch.h, gdbarch.c (frame_num_args_unknown): New function. | |
0f71a2f6 JM |
5370 | * gdbarch.h, gdbarch.c: Add multi-arch support for POP_FRAME, |
5371 | SKIP_PROLOGUE, INNER_THAN, DECR_PC_AFTER_BREAK, | |
5372 | FUNCTION_START_OFFSET, REMOTE_TRANSLATE_XFER_ADDRESS, FRAME_CHAIN, | |
5373 | FRAME_CHAIN_VALID, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS, | |
5374 | FRAME_LOCALS_ADDRESS, FRAME_ARGS_SKIP, | |
5375 | FRAMELESS_FUNCTION_INVOCATION, REGISTER_BYTE, REGISTER_RAW_SIZE, | |
5376 | REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, SAVED_PC_AFTER_CALL, | |
5377 | FRAME_NUM_ARGS, MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE, | |
5378 | REGISTER_SIZE. | |
5379 | * d10v-tdep.c, config/d10v/tm-d10v.h: Update. | |
cce74817 JM |
5380 | * config/d10v/tm-d10v.h (DMEM_START, IMEM_START, STACK_START, |
5381 | ARG1_REGNUM, ARGN_REGNUM, RET1_REGNUM): Move definitions from | |
5382 | here. | |
5383 | * d10v-tdep.c: To here. | |
5384 | * config/d10v/tm-d10v.h (struct type): Move declaration from here. | |
5385 | * gdbarch.h: To here. | |
5386 | * config/d10v/tm-d10v.h (struct frame_info, struct | |
5387 | frame_saved_regs, struct type): Delete declarations. | |
5388 | ||
5389 | 1999-06-02 Robert Hoehne <robert.hoehne@gmx.net> | |
5390 | ||
5391 | * go32-nat.c: go32_terminal_init, go32_terminal_inferior and | |
5392 | go32_terminal_ours are new functions to save/restore the inferior`s | |
5393 | stdin/stdout filemodes | |
5394 | ||
5395 | 1999-06-02 Stan Shebs <shebs@andros.cygnus.com> | |
5396 | ||
5397 | * MAINTAINERS: Add Mark Kettenis, Jeff Law, and Philippe De Muyter | |
5398 | as maintainers for Hurd, HP/UX, and COFF, respectively. | |
5399 | ||
5400 | 1999-06-02 Mark Kettenis <kettenis@gnu.org> | |
5401 | ||
5402 | * gnu-nat.c (inf_continue): New function. | |
5403 | (struct inf): Use `unsigned int' instead of `int' for bit-fields. | |
5404 | Add new bit-field named `nomsg'. | |
5405 | (inf_validate_procinfo): Renamed from inf_validate_stopped, all | |
5406 | callers changed. Also update the `nomsg' and `traced' fields of | |
5407 | INF. | |
5408 | (make_inf): Initialize INF->nomsg. | |
5409 | (inf_cleanup): Reset INF->nomsg. | |
5410 | (inf_detach): Call `inf_validate_procinfo'. Call `inf_continue' | |
5411 | instead of `inf_signal' if the inferior does not have a message | |
5412 | port. | |
5413 | (gnu_resume): Likewise. | |
5414 | (gnu_create_inferior): Reset INF->nomsg in `attach_to_child'. | |
5415 | Call `inf_validate_procinfo' after returning from `fork_inferior'. | |
5416 | (gnu_attach): Update signal thread and tracing state. | |
5417 | ||
5418 | * config/i386/tm-i386gnu.h: Include "i386/tm-i386.h" instead of | |
5419 | "i386/tm-i386v.h". | |
5420 | (STACK_END_ADDR): Remove. | |
5421 | (SIGCONTEXT_PC_OFFSET): New define. | |
5422 | Include "tm-sysv4.h". | |
5423 | ||
5424 | 1999-06-02 J.T. Conklin <jtc@redback.com> | |
5425 | ||
5426 | * config/tm-vxworks.h: New file, header for definitions common to | |
5427 | all vxWorks targets. | |
5428 | * config/a29k/tm-vx29k.h, config/i960/tm-vx960.h, | |
5429 | config/m68k/tm-vx68.h, config/mips/tm-vxmips.h, | |
5430 | config/sparc/tm-vxsparc.h: Include tm-vxworks.h. | |
5431 | ||
5432 | Wed Jun 2 17:37:03 1999 Jeffrey A Law (law@cygnus.com) | |
5433 | ||
5434 | * config/pa/tm-hppa.h (IMPORT_SHLIB): New unwind stub type. | |
5435 | ||
5436 | 1999-06-02 Christopher Faylor <cgf@cygnus.com> | |
5437 | ||
5438 | * configure.tgt: Alphabetically reorder some targets. | |
5439 | ||
5440 | 1999-06-02 Keith Seitz <keiths@cygnus.com> | |
5441 | ||
5442 | * v850ice.c (v850ice_xfer_memory): Insert lost "break". | |
5443 | ||
5444 | 1999-06-02 Jim Blandy <jimb@zwingli.cygnus.com> | |
5445 | ||
5446 | * rs6000-tdep.c (variants): Fix description of 750 register set. | |
5447 | (Thanks to J. T. Conklin.) | |
5448 | ||
5449 | Wed Jun 2 16:10:08 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5450 | ||
0f71a2f6 JM |
5451 | * gdbarch.h, gdbarch.c: Add multi-arch support for |
5452 | STORE_STRUCT_RETURN, STORE_RETURN_VALUE, | |
5453 | EXTRACT_STRUCT_VALUE_ADDRESS, USE_STRUCT_CONVENTION, | |
5454 | FRAME_INIT_SAVED_REGS and INIT_EXTRA_FRAME_INFO. | |
5455 | * d10v-tdep.c, config/d10v/tm-d10v.h: Update. | |
5456 | ||
cce74817 JM |
5457 | * config/d10v/tm-d10v.h (FRAME_INIT_SAVED_REGS): Replace |
5458 | FRAME_FIND_SAVED_REGS. | |
5459 | (d10v_frame_init_saved_regs): Replace d10v_frame_find_saved_regs. | |
5460 | * d10v-tdep.c (d10v_pop_frame, d10v_frame_chain, | |
5461 | d10v_frame_init_saved_regs): Update. | |
0f71a2f6 JM |
5462 | * gdbarch.h: Disallow FRAME_FIND_SAVED_REGS when multi-arch. |
5463 | ||
5464 | * gdbarch.h, gdbarch.c: Add multi-arch support for | |
5465 | D10V_MAKE_DADDR, D10V_MAKE_IADDR, D10V_DADDR_P, D10V_IADDR_P, | |
5466 | D10V_CONVERT_DADDR_TO_RAW and D10V_CONVERT_IADDR_TO_RAW. | |
5467 | * d10v-tdep.c, config/d10v/tm-d10v.h: Update. | |
cce74817 JM |
5468 | |
5469 | * config/d10v/tm-d10v.h (EXTRA_FRAME_INFO): Delete. | |
5470 | * d10v-tdep.c (struct frame_extra_info): Define. | |
5471 | (d10v_init_extra_frame_info, d10v_pop_frame, d10v_frame_chain, | |
5472 | d10v_frame_find_saved_regs): Update. | |
0f71a2f6 | 5473 | * gdbarch.h: Disallow EXTRA_FRAME_INFO when multi-arch. |
cce74817 JM |
5474 | |
5475 | Tue Jun 1 13:36:31 1999 Philippe De Muyter <phdm@macqel.be> | |
5476 | ||
5477 | * config/m68k/tm-delta68.h (FRAME_NUM_ARGS): Macro prototype fixed. | |
5478 | * config/m68k/tm-news.h, config/ns32k/tm-merlin.h: Ditto. | |
5479 | * config/ns32k/tm-umax.h (FRAME_NUM_ARGS): Old macro definition | |
5480 | removed; new macro prototype fixed. | |
5481 | ||
5482 | Wed Jun 2 11:18:37 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5483 | ||
0f71a2f6 JM |
5484 | * gdbarch.h, gdbarch.c: Add multi-arch support for |
5485 | EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS, PUSH_DUMMY_FRAME, | |
5486 | PUSH_RETURN_ADDRESS, POP_FRAME, FRAME_FIND_SAVED_REGS. | |
5487 | * d10v-tdep.c, config/d10v/tm-d10v.h: Update. | |
5488 | ||
5489 | * gdbarch.h, gdbarch.c: Add multi-arch support for | |
5490 | REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL, | |
5491 | REGISTER_CONVERT_TO_RAW. | |
5492 | * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update. | |
5493 | ||
cce74817 JM |
5494 | * defs.h (REGISTER_NAME): Move compatibility definition from here. |
5495 | * gdbarch.h: To here. | |
5496 | ||
5497 | * frame.h, blockframe.c (generic_fix_call_dummy): New | |
5498 | stub function. | |
0f71a2f6 JM |
5499 | * gdbarch.h, gdbarch.c: Add multi-arch support for FIX_CALL_DUMMY. |
5500 | * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update. | |
5501 | ||
5502 | Tue Jun 1 20:06:38 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5503 | ||
5504 | * d10v-tdep.c (d10v_gdbarch_init): Set get_saved_register. | |
5505 | * config/d10v/tm-d10v.h: Update. | |
5506 | ||
5507 | Tue Jun 1 19:50:05 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5508 | ||
5509 | * gdbarch.h, gdbarch.c: Add multi-arch support for TARGET_READ_PC, | |
5510 | TARGET_WRITE_PC, TARGET_READ_FP, TARGET_WRITE_FP, TARGET_READ_SP | |
5511 | and TARGET_WRITE_SP. | |
5512 | * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update. | |
5513 | ||
5514 | Tue Jun 1 19:19:02 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5515 | ||
5516 | * gdbarch.c (default_gdbarch): Set field GET_SAVED_REGISTER to | |
5517 | generic_get_saved_register. | |
5518 | * gdbarch.c: Change update dispatch functions so that they check | |
5519 | for a NULL function pointer. | |
5520 | ||
5521 | Tue Jun 1 19:19:02 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
cce74817 | 5522 | |
0f71a2f6 JM |
5523 | * gdbarch.h, gdbarch.c: Add multi-arch support for TARGET_INT_BIT, |
5524 | TARGET_CHAR_BIT, TARGET_SHORT_BIT, TARGET_FLOAT_BIT, | |
5525 | TARGET_DOUBLE_BIT and TARGET_LONG_DOUBLE_BIT. | |
5526 | * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_gdbarch_init): Update. | |
5527 | ||
ac9a91a7 JM |
5528 | Tue Jun 1 18:47:54 1999 Andrew Cagney <cagney@b1.cygnus.com> |
5529 | ||
5530 | * parse.c (build_parse): New function. Initialize | |
5531 | msym_text_symbol_type, msym_data_symbol_type and | |
5532 | msym_unknown_symbol_type. | |
5533 | (_initialize_parse): Call build_parse. | |
0f71a2f6 JM |
5534 | (_initialize_parse): Register variables msym_text_symbol_type, |
5535 | msym_data_symbol_type as msym_unknown_symbol_type as | |
5536 | per-architecture. | |
5537 | ||
5538 | Tue Jun 1 11:30:09 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5539 | ||
5540 | * d10v-tdep.c (_initialize_d10v_tdep): Register d10v as an | |
5541 | architecture. | |
5542 | (d10v_gdbarch_init): New function. | |
5543 | * confg/d10v/tm-d10v.h (GDB_MULTI_ARCH): Define. | |
ac9a91a7 JM |
5544 | |
5545 | Tue Jun 1 10:45:24 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5546 | ||
5547 | * config/d10v/tm-d10v.h (REGISTER_CONVERTIBLE, | |
5548 | REGISTER_CONVERT_TO_RAW, REGISTER_CONVERT_TO_VIRTUAL): Convert | |
5549 | macros into functions. | |
5550 | * config/d10v/tm-d10v.h, d10v-tdep.c (d10v_register_convertable, | |
5551 | d10v_register_convert_to_virtual, d10v_register_convert_to_raw): | |
5552 | The new functions. | |
5553 | ||
5554 | 1999-05-31 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
5555 | ||
5556 | * stack.c (print_args_stub): Add missing stream parameter. | |
5557 | ||
5558 | Mon May 31 15:50:08 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5559 | ||
5560 | Fri May 28 16:51:00 1999 Martin Dorey <martin.dorey@madge.com>: | |
5561 | * valops.c, value.h (default_push_arguments): Fix order of | |
5562 | parameters to match PUSH_ARGUMENTS arguments. | |
5563 | ||
5564 | Thu May 27 11:42:55 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5565 | ||
5566 | * gdbarch.h (EXTRACT_STRUCT_VALUE_ADDRESS): Return 0. | |
5567 | ||
5568 | * valops.c (value_assign): Delete redundant test of | |
5569 | REGISTER_CONVERTIBLE. | |
5570 | ||
5571 | Thu May 27 11:33:57 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5572 | ||
5573 | * config/w65/tm-w65.h, config/tic80/tm-tic80.h, config/sh/tm-sh.h, | |
5574 | config/i386/tm-i386m3.h, config/i386/tm-go32.h, | |
5575 | config/i386/tm-cygwin.h, config/h8500/tm-h8500.h, | |
5576 | config/d30v/tm-d30v.h, config/d10v/tm-d10v.h: Delete definition of | |
5577 | macro NAMES_HAVE_UNDERSCORE. | |
5578 | ||
5579 | Thu May 27 09:31:06 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5580 | ||
5581 | * gdbarch.h (EXTRACT_STRUCT_VALUE_ADDRESS, | |
5582 | EXTRACT_STRUCT_VALUE_ADDRESS_P): Provide default definitions. | |
5583 | * values.c (value_being_returned): Use | |
5584 | EXTRACT_STRUCT_VALUE_ADDRESS when EXTRACT_STRUCT_VALUE_ADDRESS_P. | |
5585 | ||
5586 | Wed May 26 13:51:25 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5587 | ||
5588 | * utils.c (tui_file_new, tui_file_delete, tui_fileopen): New | |
5589 | functions. | |
5590 | (tui_file_isatty): Rename gdb_file_isatty. | |
5591 | (gdb_file_init_astring): Use tui_file_new to create stream. | |
5592 | (gdb_file_get_strbuf, gdb_file_adjust_strbuf): Call gdb_file_data | |
5593 | to access the tui_stream. | |
5594 | (tui_file_flush): Rename gdb_flush. Call gdb_file_data to access | |
5595 | the tui_stream. Pass FILE and not STREAM down. | |
5596 | ||
5597 | * utils.c (struct stdio_file, stdio_file_flush, stdio_file_fputs, | |
5598 | stdio_file_isatty, stdio_file_delete, stdio_file_new, | |
5599 | stdio_fileopen): Define type and functions. Implement a simple | |
5600 | STDIO based gdb_file. | |
5601 | (struct gdb_file, gdb_file_new, gdb_file_delete, null_file_isatty, | |
5602 | null_file_flush, null_file_fputs, null_file_delete, gdb_file_data, | |
5603 | set_gdb_file_flush, set_gdb_file_isatty, set_gdb_file_fputs, | |
5604 | set_gdb_file_data, fputs_unfiltered, gdb_flush, gdb_file_isatty): | |
5605 | Define type and functions. Implement virtual functions for | |
5606 | gdb_file. | |
5607 | ||
5608 | * defs.h (struct gdb_file): Declare. | |
5609 | (GDB_FILE): Change type to struct gdb_file. Deprecate. | |
5610 | (gdb_file_flush_ftype, gdb_file_fputs_ftype, | |
5611 | gdb_file_isatty_ftype, gdb_file_delete_ftype): Add function type | |
5612 | declarations. | |
5613 | ||
5614 | * defs.h (set_gdb_file_flush, set_gdb_file_fputs, | |
5615 | set_gdb_file_isatty, set_gdb_file_data, gdb_file_new, | |
5616 | gdb_file_delete, gdb_file_data, stdio_fileopen, tui_fileopen): Add | |
5617 | function declarations. | |
5618 | (gdb_fopen): Re-implement. Call stdio_file_new. | |
5619 | (gdb_fclose): Re-implement. Call gdb_file_delete. | |
5620 | ||
5621 | * main.c (tui_file_fputs): Rename fputs_unfiltered. Use | |
5622 | gdb_file_data to gain access to the tui_stream data. Use FILE | |
5623 | instead of STREAM where applicable. | |
5624 | (main): Create gdb_stdout and gdb_stderr using tui_fileopen. | |
5625 | ||
5626 | * defs.h (struct tui_stream): Add field ts_magic. | |
5627 | * utils.c (tui_file_magic): Local variable. | |
5628 | (tui_file_new): Set field ts_magic. | |
5629 | (tui_file_delete, tui_file_isatty, gdb_file_init_astring, | |
5630 | gdb_file_get_strbuf, gdb_file_adjust_strbuf, tui_file_flush): | |
5631 | Verify ts_magic. | |
5632 | ||
5633 | 1999-05-25 Jim Blandy <jimb@zwingli.cygnus.com> | |
5634 | ||
5635 | * breakpoint.c (insert_breakpoints, remove_breakpoint, | |
5636 | breakpoint_1): Add a 'default' case, which prints a warning | |
5637 | message, to remove EGCS warnings. | |
5638 | ||
392a587b JM |
5639 | 1999-05-25 Fernando Nasser <fnasser@totem.to.cygnus.com> |
5640 | ||
5641 | * utils.c (gdb_file_adjust_strbuf): Take into account the | |
5642 | possibility that the buffer has not been allocated yet. | |
5643 | ||
5644 | Tue May 25 16:05:11 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5645 | ||
5646 | * gdbarch.h (REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL, | |
5647 | REGISTER_CONVERT_TO_RAW): Provide default definition. | |
5648 | ||
5649 | * valops.c (value_assign), infcmd.c (do_registers_info), findvar.c | |
5650 | (value_from_register, value_of_register): Remove #ifdef | |
5651 | REGISTER_CONVERTIBLE. Assume REGISTER_CONVERTIBLE etc defined. | |
5652 | ||
96baa820 JM |
5653 | 1999-05-25 Keith Seitz <keiths@cygnus.com> |
5654 | ||
5655 | * config/mcore/tm-mcore.h (FRAME_NUM_ARGS): Re-write definition of | |
5656 | FRAME_NUM_ARGS so that it returns NUM_ARGS as a result instead of | |
5657 | setting a variable as a side effect. | |
5658 | ||
392a587b JM |
5659 | Tue May 25 16:18:25 1999 Andrew Cagney <cagney@amy.cygnus.com> |
5660 | ||
5661 | * remote-d10v.c (d10v_eva_prepare_to_trace, | |
5662 | d10v_eva_get_trace_data), remote-sim.c (_initialize_remote_sim): | |
5663 | Add declaraton. Make static. | |
5664 | ||
5665 | * remote-d10v.c (_initialize_remote_d10v), d10v-tdep.c | |
5666 | (_initialize_d10v_tdep): Add declaration. | |
5667 | * config/d10v/tm-d10v.h (d10v_frame_chain): Add declaration. | |
5668 | ||
5669 | Tue May 25 15:20:58 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
5670 | ||
5671 | * main.c (init_proc, proc_remove_foreign): Delete function. | |
5672 | * inftarg.c (child_mourn_inferior): Update. Delete call to | |
5673 | proc_remove_foreign(). | |
5674 | * top.c (gdb_init): Update. Delete call to init_proc(). | |
5675 | ||
5676 | * utils.c (pollquit, fmthex, hexlate): Delete function. | |
5677 | ||
5678 | Tue May 25 13:01:43 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
5679 | ||
5680 | * main.c (gdb_init): Move declaration from here. | |
5681 | * top.h: To here. | |
5682 | ||
5683 | * defs.h (init_page_info): Add declaration. | |
5684 | ||
5685 | * top.c (initialize_utils): Move declaration from here. | |
5686 | * defs.h: To here. | |
5687 | ||
5688 | * infcmd.c (target_map_name_to_register): Move declaration from | |
5689 | here. | |
5690 | * parser-defs.h: To here. | |
5691 | ||
5692 | * c-typeprint.c (cp_type_print_method_args), target.c | |
5693 | (nosupport_runtime, normal_target_post_startup_inferior): Add | |
5694 | declaration. Make static. | |
5695 | ||
5696 | Tue May 25 13:53:23 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
5697 | ||
5698 | * main.c: Include "event-loop.h". | |
5699 | * Makefile.in (main.o): Add dependency. | |
5700 | ||
5701 | * top.h (setup_event_loop, async_init_signals), top.c | |
5702 | (set_async_editing_command, set_async_annotation_level, | |
5703 | set_async_prompt), event-loop.c (display_gdb_prompt): Move | |
5704 | declarations from here. | |
5705 | * event-loop.h: To here. | |
5706 | ||
5707 | * event-loop.h (delete_async_signal_handler): Add function | |
5708 | declaration. | |
5709 | ||
5710 | * event-top.c (change_annotation_level, command_handler): Add | |
5711 | declaration. Make static. | |
5712 | ||
5713 | Tue May 25 12:44:58 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
5714 | ||
5715 | * tracepoint.c (free_actions_list, add_register): Add declaration. | |
5716 | Make static. | |
5717 | (free_actions_list_cleanup_wrapper): New function. Wraps | |
5718 | free_actions_list for make_cleanup. | |
5719 | (trace_start_command): Pass free_actions_list_cleanup_wrapper | |
5720 | instead of free_actions_list to make_cleanup. | |
5721 | (_initialize_tracepoint): Add extern declaration. | |
5722 | ||
5723 | Tue May 25 12:23:39 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
5724 | ||
5725 | * jv-typeprint.c (java_type_print_base, jv-valprint.c | |
5726 | (java_print_value_fields): Add static declaration. | |
5727 | ||
5728 | * jv-lang.c (java_lookup_type, get_java_utf8_name, | |
5729 | java_lookup_type): Add static declaration. | |
5730 | (get_java_class_symtab, java_class_is_primitive, | |
5731 | java_value_string): Add declaration. Make static. | |
5732 | (java_rerun_cleanup): Add extern declaration for this stub | |
5733 | function. | |
5734 | ||
0f71a2f6 JM |
5735 | Tue May 25 12:06:29 1999 Andrew Cagney <cagney@b1.cygnus.com> |
5736 | ||
5737 | * gdbarch.h: When multi-arch, check that REGISTER_NAMES was not | |
5738 | defined. | |
5739 | ||
392a587b JM |
5740 | Mon May 24 16:16:29 1999 Andrew Cagney <cagney@amy.cygnus.com> |
5741 | ||
5742 | * inflow.c (_initialize_inflow), annotate.c | |
5743 | (_initialize_annotate), os9kread.c (_initialize_os9kread), | |
5744 | serial.c (_initialize_serial), nlmread.c (_initialize_nlmread), | |
5745 | f-valprint.c (_initialize_f_valprint), cp-valprint.c | |
5746 | (_initialize_cp_valprint), typeprint.c (_initialize_typeprint), | |
5747 | complaints.c (_initialize_complaints), scm-lang.c | |
5748 | (_initialize_scheme_language), m2-lang.c | |
5749 | (_initialize_m2_language), dbxread.c (_initialize_dbxread), | |
5750 | f-lang.c (_initialize_f_language), ch-lang.c | |
5751 | (_initialize_chill_language), c-lang.c (_initialize_c_language), | |
5752 | corefile.c (_initialize_core), stabsread.c | |
5753 | (_initialize_stabsread), mipsread.c (_initialize_mipsread), | |
5754 | elfread.c (_initialize_elfread), coffread.c | |
5755 | (_initialize_coffread), maint.c (_initialize_maint_cmds), | |
5756 | demangle.c (_initialize_demangler), maint.c | |
5757 | (_initialize_maint_cmds), language.c (_initialize_language): Add | |
5758 | external declaration. | |
5759 | ||
5760 | Mon May 24 10:04:56 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5761 | ||
5762 | * config/z8k/tm-z8k.h, config/w65/tm-w65.h, config/v850/tm-v850.h, | |
5763 | config/tic80/tm-tic80.h, config/tahoe/tm-tahoe.h, | |
5764 | config/rs6000/tm-rs6000.h, config/sparc/tm-sparc.h, | |
5765 | config/sh/tm-sh.h, config/pyr/tm-pyr.h, config/pa/tm-hppa.h, | |
5766 | config/ns32k/tm-merlin.h, config/mn10300/tm-mn10300.h, | |
5767 | config/mn10200/tm-mn10200.h, config/mips/tm-mips.h, | |
5768 | config/m88k/tm-m88k.h, config/m68k/tm-news.h, | |
5769 | config/m68k/tm-delta68.h, config/m68k/tm-isi.h, | |
5770 | config/m68k/tm-m68k.h, config/m32r/tm-m32r.h, | |
5771 | config/i960/tm-i960.h, config/i386/tm-i386v.h, | |
5772 | config/i386/tm-i386.h, config/h8500/tm-h8500.h, | |
5773 | config/h8300/tm-h8300.h, config/fr30/tm-fr30.h, | |
5774 | config/d30v/tm-d30v.h, config/d10v/tm-d10v.h, | |
5775 | config/convex/tm-convex.h, config/arc/tm-arc.h, | |
5776 | config/arm/tm-arm.h, config/alpha/tm-alpha.h, | |
5777 | config/a29k/tm-a29k.h: Re-write definition of FRAME_NUM_ARGS so | |
5778 | that it returns NUM_ARGS as a result instead of setting a variable | |
5779 | as a side effect. | |
5780 | ||
5781 | * ns32k-tdep.c (merlin_frame_num_args), tahoe-tdep.c | |
5782 | (tahoe_frame_num_args), vax-tdep.c (vax_frame_num_args), | |
5783 | m68k-tdep.c (news_frame_num_args, delta68_frame_num_args, | |
5784 | isi_frame_num_args), convex-tdep.c (convex_frame_num_args): New | |
5785 | functions. | |
5786 | ||
5787 | * stack.c (print_args_stub): Update use of FRAME_NUM_ARGS. | |
5788 | ||
5789 | Mon May 24 11:57:04 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5790 | ||
5791 | * remote.c (remote_xfer_memory): Re-write with assumption that | |
5792 | REMOTE_TRANSLATE_XFER_ADDRESS is defined. Pass targ_addr and | |
5793 | targ_len by reference. | |
5794 | (REMOTE_TRANSLATE_XFER_ADDRESS): Provide default definition. | |
5795 | ||
5796 | * remote-d10v.c (remote_d10v_translate_xfer_address): Update. | |
5797 | * config/d10v/tm-d10v.h (REMOTE_TRANSLATE_XFER_ADDRESS): Update. | |
5798 | ||
5799 | Mon May 24 12:10:58 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
5800 | ||
5801 | * value.h (default_push_arguments): Add function declaration. | |
5802 | ||
5803 | * alpha-tdep.c (alpha_about_to_return), gdbarch.c (verify_gdbarch, | |
5804 | arch_ok, set_arch), command.c (find_cmd), infrun.c | |
5805 | (follow_inferior_fork, follow_fork, follow_vfork, | |
5806 | set_schedlock_func, is_internal_shlib_eventpoint, | |
5807 | stopped_for_internal_shlib_event, stopped_for_shlib_catchpoint, | |
5808 | xdb_handle_command), infcmd.c (run_no_args_command, go_command), | |
5809 | symfile.c (add_filename_language, set_ext_lang_command, | |
5810 | info_ext_lang_command, init_filename_language_table), symtab.c | |
5811 | (overload_list_add_symbol), defs.h (default_get_saved_register), | |
5812 | ax-general.c (grow_expr, append_const, read_const, generic_ext): | |
5813 | Ditto. | |
5814 | ||
5815 | * infrun.c (currently_stepping): Ditto. Make static. | |
5816 | ||
5817 | * valops.c (hand_function_call): Explictly type static variable | |
5818 | ``checked''. | |
5819 | ||
5820 | Mon May 24 08:36:18 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5821 | ||
5822 | * d10v-tdep.c (d10v_breakpoint_from_pc, d10v_register_name, | |
5823 | d10v_register_byte, d10v_register_raw_size, | |
5824 | d10v_register_virtual_size, d10v_register_virtual_type, | |
5825 | d10v_make_daddr, d10v_make_iaddr, d10v_daddr_p, d10v_iaddr_p, | |
5826 | d10v_convert_iaddr_to_raw, d10v_convert_daddr_to_raw, | |
5827 | d10v_store_struct_return, d10v_store_return_value, | |
5828 | d10v_extract_struct_value_address, d10v_frame_saved_pc, | |
5829 | d10v_frame_args_address, d10v_frame_locals_address, | |
5830 | d10v_saved_pc_after_call): New functions. | |
5831 | ||
5832 | * config/d10v/tm-d10v.h (REGISTER_BYTE, REGISTER_RAW_SIZE, | |
5833 | REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN, | |
5834 | D10V_MAKE_DADDR, D10V_MAKE_IADDR, D10V_DADDR_P, D10V_IADDR_P, | |
5835 | D10V_CONVERT_DADDR_TO_RAW, D10V_CONVERT_IADDR_TO_RAW, | |
5836 | STORE_STRUCT_RETURN, STORE_RETURN_VALUE, | |
5837 | EXTRACT_STRUCT_VALUE_ADDRESS, SAVED_PC_AFTER_CALL, FRAME_SAVED_PC, | |
5838 | FRAME_ARGS_ADDRESS): Re-define using new functions. | |
5839 | ||
5840 | * config/d10v/tm-d10v.h (BREAKPOINT_FROM_PC): Replace BREAKPOINT. | |
5841 | (REGISTER_NAME): Replace REGISTER_NAMES. | |
5842 | ||
5843 | * utils.c (core_addr_lessthan, core_addr_greaterthan): New | |
5844 | functions. | |
5845 | * defs.h (core_addr_lessthan, core_addr_greaterthan): Declare. | |
5846 | ||
5847 | Sat May 22 16:44:06 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5848 | ||
5849 | * utils.c (n_spaces): Handle case where first call has N equal to | |
5850 | zero. | |
5851 | (print_spaces): Use n_spaces. | |
5852 | ||
5853 | Fri May 21 11:23:54 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5854 | ||
5855 | * valops.c (value_push): Remove conditional definition based on | |
5856 | absense of macro PUSH_ARGUMENTS. Pass SP and STRUCT_ADDR by | |
5857 | reference. | |
5858 | (default_push_arguments): New function. | |
5859 | ||
5860 | * config/v850/tm-v850.h, config/tic80/tm-tic80.h, | |
5861 | config/sparc/tm-sparc.h, config/sparc/tm-sp64.h, | |
5862 | config/sh/tm-sh.h, config/rs6000/tm-rs6000.h, config/pa/tm-hppa.h, | |
5863 | config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h, | |
5864 | config/mips/tm-mips.h, config/m32r/tm-m32r.h, | |
5865 | config/h8300/tm-h8300.h, config/fr30/tm-fr30.h, | |
5866 | config/d30v/tm-d30v.h, config/d10v/tm-d10v.h, config/arm/tm-arm.h, | |
5867 | config/alpha/tm-alpha.h: Update definition of PUSH_ARGUMENTS. | |
5868 | Return updated SP. | |
5869 | ||
5870 | * rs6000-tdep.c (rs6000_push_arguments): Rename push_arguments. | |
5871 | ||
5872 | Thu May 20 12:18:28 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
5873 | ||
5874 | * blockframe.c (get_prev_frame): Remove #ifdef around test for | |
5875 | FRAMELESS_FUNCTION_INVOCATION. | |
5876 | (get_prev_frame): Change FRAMELESS_FUNCTION_INVOCATION call to a | |
5877 | function invocation. | |
5878 | * i386-tdep.c (i386_frame_num_args), stack.c (frame_info): Ditto. | |
5879 | * config/z8k/tm-z8k.h, config/w65/tm-w65.h, config/vax/tm-vax.h, | |
5880 | config/sparc/tm-sparc.h, config/sh/tm-sh.h, | |
5881 | config/rs6000/tm-rs6000.h, config/pa/tm-hppa.h, | |
5882 | config/mips/tm-mips.h, config/m88k/tm-m88k.h, | |
5883 | config/m68k/tm-m68k.h, config/i960/tm-i960.h, | |
5884 | config/i386/tm-sun386.h, config/i386/tm-i386v.h, | |
5885 | config/i386/tm-i386.h, config/h8500/tm-h8500.h, | |
5886 | config/h8300/tm-h8300.h, config/fr30/tm-fr30.h, | |
5887 | config/d30v/tm-d30v.h, config/d10v/tm-d10v.h, | |
5888 | config/convex/tm-convex.h, config/arm/tm-arm.h, | |
5889 | config/arc/tm-arc.h, config/alpha/tm-alpha.h, | |
5890 | config/a29k/tm-a29k.h: Update FRAMELESS_FUNCTION_INVOCATION. | |
5891 | * fr30-tdep.c (fr30_frameless_function_invocation), convex-tdep.c | |
5892 | (convex_frameless_function_invocation), arm-tdep.c | |
5893 | (arm_frameless_function_invocation): New functions. | |
5894 | ||
5895 | 1999-05-20 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
5896 | ||
5897 | * top.c: Change dates in comments to ISO format. | |
5898 | ||
5899 | * event-top.c: Ditto. | |
5900 | * event-loop.c: Ditto. | |
5901 | * main.c: Ditto. | |
5902 | ||
9e086581 JM |
5903 | 1999-05-19 Keith Seitz <keiths@cygnus.com> |
5904 | ||
96baa820 JM |
5905 | * config/mcore/tm-mcore.h (BELIEVE_PCC_PROMOTION): Define. We |
5906 | really do want to believe what gcc tells us about types... | |
5907 | ||
5908 | 1999-05-19 Keith Seitz <keiths@cygnus.com> | |
5909 | ||
5910 | * config/mcore/tm-mcore.h (FRAME_ARGS_ADDRESS): Define to a function. | |
5911 | (FRAME_LOCALS_ADDRESS): Ditto. | |
5912 | * mcore-tdep.c (mcore_frame_args_addcress): New function. | |
5913 | (mcore_frame_locals_address): New function. | |
5914 | ||
9e086581 JM |
5915 | * monitor.c (monitor_open): Only assume we have eight |
5916 | breakpoints if the monitor implementation does not tell | |
5917 | us how many there really are. Alloc memory for these | |
5918 | dynamically. | |
5919 | (monitor_close): Free memory associated with breakpoint | |
5920 | storage. | |
5921 | (monitor_insert_breakpoint): Don't rely on a hardcoded | |
5922 | number of breakpoints. | |
5923 | (monitor_remove_breakpoint): Ditto. | |
5924 | (NUM_MONITOR_BREAKPOINTS): Removed and replaced with monitor_ops | |
5925 | specification. | |
5926 | * monitor.h (struct monitor_ops): Add new member so that the | |
5927 | individual monitor implementations can tell us how many | |
5928 | breakpoints the monitor supports. | |
5929 | ||
96baa820 JM |
5930 | * mcore-rom.c (init_picobug_cmds): Add number of breakpoints supported |
5931 | by picobug monitor. | |
5932 | ||
9e086581 JM |
5933 | 1999-05-18 Elena Zannoni <ezannoni@kwikemart.cygnus.com> |
5934 | ||
5935 | From Philippe De Muyter <phdm@macqel.be>: | |
5936 | * event-loop.h: Include sys/wait.h only if HAVE_SYS_WAIT_H. | |
5937 | ||
96baa820 JM |
5938 | 1999-05-17 Keith Seitz <keiths@cygnus.com> |
5939 | ||
5940 | * configure.tgt: Add MCore target. | |
5941 | * Makefile.in: Add mcore-tdep.c and mcore-rom.c | |
5942 | * config/mcore/tm-mcore.h: New file. | |
5943 | * config/mcore/mcore.mt: New file. | |
5944 | * mcore-rom.c: New file. | |
5945 | * mcore-tdep.c: New file. | |
5946 | ||
9e086581 JM |
5947 | 1999-05-17 Fernando Nasser <fnasser@totem.to.cygnus.com> |
5948 | ||
392a587b JM |
5949 | * top.c (print_command_line): Added the missing stream argument. |
5950 | * gdbcmd.h: Added argument to prototype. | |
5951 | * command.c: Fixed call to include extra argument. | |
5952 | * breakpoint.c: Same. | |
9e086581 JM |
5953 | |
5954 | 1999-05-14 Jim Blandy <jimb@zwingli.cygnus.com> | |
5955 | ||
5956 | Targets are #defining PREPARE_TO_PROCEED with inconsistent numbers | |
5957 | of arguments. Since the Mach 3 target needs an argument, we'll | |
5958 | make things consistent by adding an argument everywhere. | |
5959 | * infrun.c (proceed): Pass an argument to PREPARE_TO_PROCEED. | |
5960 | * config/pa/nm-hppah.h (PREPARE_TO_PROCEED): Add ignored argument | |
5961 | to definition. | |
5962 | ||
5963 | 1999-05-11 Stan Shebs <shebs@andros.cygnus.com> | |
5964 | ||
5965 | Fri Apr 23 13:27:34 PDT 1999 Toshiyasu Morita (tm@netcom.com) | |
5966 | * sh-stub.c: Mostly localize processor dependencies. | |
5967 | ||
cd0fc7c3 SS |
5968 | 1999-05-10 Martin Hunt <hunt@cygnus.com> |
5969 | ||
5970 | * debugify.c, debugify.h: Removed because they are no | |
5971 | longer used. | |
5972 | ||
5973 | 1999-05-08 Jim Blandy <jimb@zwingli.cygnus.com> | |
5974 | ||
5975 | * infrun.c (_initialize_infrun): Handle TARGET_SIGNAL_LWP, | |
5976 | TARGET_SIGNAL_WAITING, and TARGET_SIGNAL_CANCEL like SIGALRM or | |
5977 | SIGIO --- pass them through to the inferior silently. | |
5978 | * target.h (enum target_signals): Add TARGET_SIGNAL_CANCEL, for | |
5979 | Solaris's SIGCANCEL. | |
5980 | * target.c (target_signal_from_host, target_signal_to_host): Add | |
5981 | mapping between SIGCANCEL and TARGET_SIGNAL_CANCEL. | |
5982 | (signals): Add entry for SIGCANCEL. | |
5983 | ||
5984 | 1999-05-07 Stan Shebs <shebs@andros.cygnus.com> | |
5985 | ||
5986 | After years of talking about it, finally break up the | |
5987 | wait_for_inferior loop. | |
5988 | * infrun.c (struct execution_control_state): New struct, | |
5989 | holds what used to be local vars governing wfi behavior. | |
5990 | (init_execution_control_state): New function, was code in | |
5991 | wfi that set up execution control state. | |
5992 | (handle_inferior_event): New function, was body of main | |
5993 | wfi loop. Rewrite all local var references to go through | |
5994 | the ecs structure passed into this function. | |
5995 | (wait_for_inferior): Rewrite to set up and use execution control | |
5996 | state, and to call the new functions. | |
5997 | (currently_stepping): New function, was the macro | |
5998 | CURRENTLY_STEPPING. | |
5999 | (enum infwait_states): Rename from wfi_states. | |
6000 | (infwait_normal_state, etc): Similarly. | |
6001 | ||
6002 | Thu May 6 15:25:32 1999 Philippe De Muyter <phdm@macqel.be> | |
6003 | ||
6004 | * coffread.c (coff_symtab_read): Call `record_line' with the line | |
6005 | number of the ".bf" symbol only for one-line functions. | |
6006 | ||
6007 | 1999-05-06 Michael Snyder <msnyder@cleaver.cygnus.com> | |
6008 | ||
6009 | * Makefile.in: thread.o depends on target.h. | |
6010 | ||
6011 | 1999-05-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
6012 | ||
6013 | * event-top.c (change_line_handler): Use POLLIN instead of | |
6014 | POLLRDNORM, for compatibility with Linux. | |
6015 | (setup_event_loop): Ditto. | |
6016 | ||
6017 | 1999-05-06 Jim Blandy <jimb@zwingli.cygnus.com> | |
6018 | ||
6019 | * mips-tdep.c (heuristic_proc_start): Rewrite cryptic error | |
6020 | message about hitting the "heuristic fence post" with something | |
6021 | that actually gives the user a fighting chance of figuring out | |
6022 | why GDB is unhappy. | |
6023 | ||
6024 | 1999-05-06 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
6025 | ||
6026 | * top.c: Include event-loop.h. | |
6027 | (init_main): Add async version of 'set prompt' command. | |
6028 | If in async mode define the editing and annotate set | |
6029 | commands in a different way. | |
6030 | Initialize new variable asyn_command_editing_p to 1. | |
6031 | Initialize the gdb prompt for async mode. | |
6032 | (quit_cover): Make not static, for use by the event loop. | |
6033 | (gdb_init): Call async_init_signals for the asynchronous case. | |
6034 | (source_line_number, source_file_name, source_error, | |
6035 | source_pre_error, history_expansion_p): Make non-static, so | |
6036 | event-top.c can use them. | |
6037 | (command_loop_marker): Make non-static, for use in event-top.c. | |
6038 | Include event-loop.h. | |
6039 | ||
6040 | * top.h: Add prototype for async_init_signals. | |
6041 | (SET_TOP_LEVEL): Move here from main.c. | |
6042 | Add setup_event_loop to exported functions. | |
6043 | ||
6044 | * defs.h: Add async_hook to exported variables. | |
6045 | ||
6046 | * main.c (SET_TOP_LEVEL): Move to top.h, so that it is visible in | |
6047 | event-loop.c. Add new global variable async to determine whether | |
6048 | we are running in async mode or not. | |
6049 | (main): Add support for --async switch. Use async_hook to call | |
6050 | setup_event_loop, when running in async mode. | |
6051 | ||
6052 | * event-top.c: New file. Gdb input line handler and command line | |
6053 | handler for the event loop. Initialization of signal handlers. | |
6054 | All the handled signals have handlers called handle_<signalname>. | |
6055 | Set up all the appropriate tokens for asynchronous signal | |
6056 | handling. | |
6057 | ||
6058 | * event-loop.h: New file. Data structures and definitions for the | |
6059 | event loop. | |
6060 | ||
6061 | * event-loop.c: New file. Functions for the event loop | |
6062 | implementation. | |
6063 | ||
6064 | * config.in: Regenerate with autoheader. | |
6065 | ||
6066 | * configure.in (AC_CHECK_FUNCS): Add poll to list of functions | |
6067 | to be checked for. | |
6068 | ||
6069 | * configure: Regenerate. | |
6070 | ||
6071 | * Makefile.in (SFILES): Add new source files. | |
6072 | (eventloop_h): Define. | |
6073 | (COMMON_OBS): Add new object files. | |
6074 | (event-loop.o): Add rule for target object. | |
6075 | (event-top.o): Ditto. | |
6076 | ||
6077 | 1999-05-05 Stan Shebs <shebs@andros.cygnus.com> | |
6078 | ||
6079 | * infrun.c (wait_for_inferior): Transform breaks and continues | |
6080 | into gotos, move the target_wait to the very top of the loop. | |
6081 | ||
6082 | 1999-05-05 Jonathan Larmour <jlarmour@cygnus.co.uk> | |
6083 | ||
6084 | * configure.in: Ensure that GDB links with libuser32.a under | |
6085 | cygwin because libreadline requires it. | |
6086 | * Makefile.in (WIN32LIBS): Substitute in result from configure | |
6087 | * configure: regenerate | |
6088 | ||
6089 | 1999-05-04 Jim Blandy <jimb@zwingli.cygnus.com> | |
6090 | ||
6091 | Fix from John Rigby. Richard Henderson says it seems okay. | |
6092 | * alpha-tdep.c (PROC_DUMMY_FRAME): As long as we're abusing fields | |
6093 | of (proc)->pdr, we ought to at least abuse one large enough to | |
6094 | hold the value we're trying to store in it. iopt is only 32 bits | |
6095 | wide; cbLineOffset is a bfd_vma. | |
6096 | ||
b83266a0 SS |
6097 | 1999-05-04 DJ Delorie <dj@cygnus.com> |
6098 | ||
6099 | DJGPP changes from Robert Hoehne <robert.hoehne@gmx.net> | |
6100 | ||
6101 | * ser-go32.c: correct includes | |
6102 | * source.c (openp): use ROOTED_P instead of SLASH_P | |
6103 | * go32-nat.c: enhance exception and NPX handling | |
6104 | (go32_kill_inferior): fix small bug killing inferior | |
6105 | * configure.in: don't look for termcap with djgpp | |
6106 | * configure: rebuild | |
6107 | ||
6108 | 1999-05-04 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
6109 | ||
6110 | * main.c (main): Comment out unused and undocumented command line | |
6111 | option '-'. | |
6112 | ||
6113 | 1999-04-30 Jim Blandy <jimb@zwingli.cygnus.com> | |
6114 | ||
6115 | Cleanup from Philippe De Muyter: | |
6116 | * configure.in (BFD_NEED_DECLARATION): Check also for strstr. | |
6117 | * acconfig.h (NEED_DECLARATION_MALLOC, NEED_DECLARATION_REALLOC, | |
6118 | NEED_DECLARATION_FREE, NEED_DECLARATION_STRERROR): Define slots | |
6119 | removed; they are now generated automatically. | |
6120 | * gdb_string.h (strstr): Provide function prototype if | |
6121 | NEED_DECLARATION_STRSTR. | |
6122 | * configure, config.in: Regenerated. | |
6123 | ||
6124 | Fri Apr 30 11:16:09 1999 Michael Snyder <msnyder@cleaver.cygnus.com> | |
6125 | ||
6126 | * target.h (to_find_new_threads): new target ops vector. | |
6127 | (target_find_new_threads): define. | |
6128 | * target.c (update_current_target): inherit new target ops vector. | |
6129 | * remote.c: Setup to_find_new_threads vector. | |
6130 | * sol-thread.c: ditto. | |
6131 | * thread.c (target_find_new_threads): rename: local_find_new_threads. | |
6132 | (info_threads_command): call target_find_new_threads by new method, | |
6133 | as a target ops vector, rather than previous macro definition method. | |
6134 | * infcmd.c (go_command): define only if in xdb mode. | |
6135 | * procfs.c: fix typo in comment. | |
6136 | ||
6137 | Fri Apr 30 01:02:05 1999 Jeffrey A Law (law@cygnus.com) | |
6138 | ||
6139 | * hppah-nat.c: Fix various coding convention violations introduced | |
6140 | by HP. | |
6141 | (child_acknowledge_created_inferior): Do nothing if PT_SET_EVENT_MASK | |
6142 | is not defined. | |
6143 | ||
6144 | 1999-04-28 Stan Shebs <shebs@andros.cygnus.com> | |
6145 | ||
6146 | * TODO: Add some items inspired by review of the manual. | |
6147 | ||
6148 | Tue Apr 27 17:38:19 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
6149 | ||
6150 | * config/z8k/tm-z8k.h, config/v850/tm-v850.h, | |
6151 | config/tic80/tm-tic80.h, config/sparc/tm-sparc.h, | |
6152 | config/sh/tm-sh.h, config/pyr/tm-pyr.h, config/pa/tm-hppa.h, | |
6153 | config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h, | |
6154 | config/mips/tm-mips.h, config/m88k/tm-m88k.h, | |
6155 | config/m68k/tm-m68k.h, config/m32r/tm-m32r.h, | |
6156 | config/i960/tm-i960.h, config/i386/tm-i386.h, | |
6157 | config/h8500/tm-h8500.h, config/h8300/tm-h8300.h, | |
6158 | config/fr30/tm-fr30.h, config/d30v/tm-d30v.h, | |
6159 | config/d10v/tm-d10v.h, config/alpha/tm-alpha.h, | |
6160 | config/arm/tm-arm.h, config/a29k/tm-a29k.h, config/arc/tm-arc.h: | |
6161 | Change SKIP_PROLOGUE and SKIP_PROLOGUE_FRAMELESS_P macros so that | |
6162 | they return the new address. | |
6163 | ||
6164 | * sparc-tdep.c (sparc_skip_prologue), hppa-tdep.c | |
6165 | (hppa_skip_prologue), m88k-tdep.c | |
6166 | (m88k_skip_prologue), i960-tdep.c | |
6167 | (i960_skip_prologue), arc-tdep.c | |
6168 | (arc_skip_prologue), a29k-tdep.c (a29k_skip_prologue): Rename | |
6169 | skip_prologue function. | |
6170 | ||
6171 | * config/m68k/tm-isi.h: Convert macro SKIP_PROLOGUE into a new | |
6172 | function. | |
6173 | * m68k-tdep.c (isi_skip_prologue): That new function. | |
6174 | * vax-tdep.c (vax_skip_prologue), config/vax/tm-vax.h: Ditto. | |
6175 | * tahoe-tdep.c (tahoe_skip_prologue), config/tahoe/tm-tahoe.h: Ditto. | |
6176 | * rs6000-tdep.c (rs6000_skip_prologue), config/rs6000/tm-rs6000.h: | |
6177 | Ditto. | |
6178 | * ns32k-tdep.c (umax_skip_prologue), config/ns32k/tm-umax.h: Ditto. | |
6179 | * config/ns32k/tm-merlin.h, ns32k-tdep.c (merlin_skip_prologue): | |
6180 | Ditto. | |
6181 | * config/m68k/tm-altos.h, m68k-tdep.c (altos_skip_prologue): Ditto. | |
6182 | * config/convex/tm-convex.h, convex-tdep.c (convex_skip_prologue): | |
6183 | Ditto. | |
6184 | ||
6185 | * symtab.c (in_prologue, find_function_start_sal, decode_line_1), | |
6186 | infrun.c (wait_for_inferior), blockframe.c | |
6187 | (frameless_look_for_prologue): Update. | |
6188 | * config/fr30/tm-fr30.h (FRAMELESS_FUNCTION_INVOCATION): Update. | |
6189 | ||
6190 | 1999-04-27 Stan Shebs <shebs@andros.cygnus.com> | |
6191 | ||
6192 | * TODO: Remove item about DEBUG_EXPRESSIONS, no longer meaningful. | |
6193 | ||
6194 | * infrun.c (enum wfi_state): New enum. | |
6195 | (wait_for_inferior): Merge all but one of the target_wait calls | |
6196 | into a single call, add a wfi_state variable to encode which of | |
6197 | the calls is being made. | |
6198 | ||
6199 | 1999-04-26 Jim Blandy <jimb@zwingli.cygnus.com> | |
6200 | ||
6201 | Fix from Dave Holcomb. | |
6202 | * hpux-thread.c (init_hpux_thread_ops): Use the right function | |
6203 | name when initializing hpux_thread_ops.to_thread_alive. | |
6204 | ||
6205 | * coffread.c (coff_symfile_read): If we have a `.stab' section, | |
6206 | but no `.stabstr' section, then print an error message; don't | |
6207 | crash. | |
6208 | ||
6209 | 1999-04-26 Jim Blandy <jimb@zwingli.cygnus.com> | |
6210 | ||
6211 | 1999-04-25 Mark Kettenis <kettenis@gnu.org> | |
6212 | ||
6213 | * gnu-nat.c (gnu_attach): Call target_terminal_init before calling | |
6214 | inf_set_traced, since that function calls code that might try to | |
6215 | restore the terminal settings. | |
6216 | ||
6217 | Mon Apr 26 08:55:46 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
6218 | ||
6219 | * gdbarch.h, gdbarch.c: More format cleanups. | |
6220 | ||
0f71a2f6 JM |
6221 | Sun Apr 25 18:54:51 1999 Andrew Cagney <cagney@b1.cygnus.com> |
6222 | ||
6223 | * gdbarch.h (CALL_DUMMY_STACK_ADJUST_P): Replace | |
6224 | SIZEOF_CALL_DUMMY_STACK_ADJUST_P. | |
6225 | (CALL_DUMMY_STACK_ADJUST): Replace | |
6226 | SIZEOF_CALL_DUMMY_STACK_ADJUST_P. | |
6227 | * gdbarch.c (gdbarch_call_dummy_stack_adjust, | |
6228 | set_gdbarch_call_dummy_stack_adjust): Define. | |
6229 | ||
b83266a0 SS |
6230 | Fri Apr 23 15:00:25 1999 Andrew Cagney <cagney@b1.cygnus.com> |
6231 | ||
6232 | * gdbarch.c (arch_ok): New function. Fix logic test for a valid | |
6233 | architecture. | |
6234 | (set_arch): Use. | |
6235 | ||
7a292a7a SS |
6236 | 1999-04-22 Jason Molenda (jsm@bugshack.cygnus.com) |
6237 | ||
6238 | * README: Note that readline is not installed as a part of | |
6239 | make install. | |
6240 | ||
6241 | Thu Apr 22 21:02:28 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
6242 | ||
0f71a2f6 JM |
6243 | * gdbarch.h, gdbarch.c (GET_SAVED_REGISTER, get_saved_register): |
6244 | Add. | |
6245 | (struct gdbarch, verify_gdbarch, gdbarch_alloc, gdbarch_dump, | |
6246 | default_gdbarch): Update. | |
6247 | ||
7a292a7a SS |
6248 | * value.h (get_saved_register): Cleanup prototype. |
6249 | * findvar.c (default_get_saved_register): Rename function | |
6250 | get_saved_register. | |
6251 | (GET_SAVED_REGISTER): Define as default_get_saved_register when | |
6252 | undefined. | |
6253 | (get_saved_register): Always declare. Call GET_SAVED_REGISTER. | |
6254 | ||
6255 | * sparc-tdep.c (sparc_get_saved_register): Rename function | |
6256 | get_saved_register. | |
6257 | * config/sparc/tm-sparc.h (GET_SAVED_REGISTER): Update. | |
6258 | * a29k-tdep.c (a29k_get_saved_register): Rename function | |
6259 | get_saved_register. | |
6260 | * config/a29k/tm-a29k.h (GET_SAVED_REGISTER): Update. | |
6261 | ||
6262 | * config/d10v/tm-d10v.h, config/powerpc/tm-ppc-eabi.h, | |
6263 | config/h8300/tm-h8300.h, config/m32r/tm-m32r.h, | |
6264 | config/mn10200/tm-mn10200.h, config/mn10300/tm-mn10300.h, | |
6265 | config/sh/tm-sh.h, config/tic80/tm-tic80.h, config/v850/tm-v850.h: | |
6266 | Update macro GET_SAVED_REGISTER so that it calls | |
6267 | generic_get_saved_register. | |
6268 | * v850-tdep.c, tic80-tdep.c, sh-tdep.c, mn10300-tdep.c, | |
6269 | mn10200-tdep.c, m32r-tdep.c, h8300-tdep.c, rs6000-tdep.c: Delete | |
6270 | function get_saved_register. | |
6271 | ||
0f71a2f6 JM |
6272 | Thu Apr 22 13:32:23 1999 Andrew Cagney <cagney@b1.cygnus.com> |
6273 | ||
6274 | * gdbarch.c: Cleanup. Re-order the definition of the ``struct | |
6275 | gdbarch'' initialization functions so that maintenance is more | |
6276 | straightforward. | |
6277 | ||
7a292a7a SS |
6278 | Thu Apr 22 11:07:21 1999 Andrew Cagney <cagney@b1.cygnus.com> |
6279 | ||
0f71a2f6 JM |
6280 | * gdbarch.h, gdbarch.c (use_generic_dummy_frames, |
6281 | USE_GENERIC_DUMMY_FRAMES): Add. | |
6282 | (struct gdbarch, verify_gdbarch, gdbarch_alloc, gdbarch_dump, | |
6283 | default_gdbarch): Update. | |
6284 | ||
7a292a7a SS |
6285 | * config/v850/tm-v850.h, config/tic80/tm-tic80.h, |
6286 | config/sh/tm-sh.h, config/powerpc/tm-ppc-eabi.h, | |
6287 | config/mn10300/tm-mn10300.h, config/mn10200/tm-mn10200.h, | |
6288 | config/m32r/tm-m32r.h, config/h8300/tm-h8300.h, | |
6289 | config/fr30/tm-fr30.h, config/d10v/tm-d10v.h: Give the | |
6290 | USE_GENERIC_DUMMY_FRAMES macro the value one. | |
6291 | * inferior.h (USE_GENERIC_DUMMY_FRAMES): Default to a value of | |
6292 | zero. | |
6293 | ||
6294 | * blockframe.c (generic_find_dummy_frame, | |
6295 | generic_pc_in_call_dummy, generic_read_register_dummy, | |
6296 | generic_push_dummy_frame, generic_pop_current_frame, | |
6297 | generic_pop_dummy_frame, generic_frame_chain_valid, | |
6298 | generic_get_saved_register): Always define. | |
6299 | ||
6300 | * breakpoint.c (frame_in_dummy): Convert #ifdef | |
6301 | USE_GENERIC_DUMMY_FRAMES to runtime test. | |
6302 | ||
6303 | * rs6000-tdep.c (pop_frame, push_arguments, push_arguments, | |
6304 | push_arguments, frame_saved_pc, rs6000_frame_chain, | |
6305 | rs6000_frame_chain): Convert #ifdef USE_GENERIC_DUMMY_FRAMES to | |
6306 | runtime test. | |
6307 | (get_saved_register): Always define. | |
6308 | ||
0f71a2f6 JM |
6309 | Wed Apr 21 17:15:52 1999 Andrew Cagney <cagney@b1.cygnus.com> |
6310 | ||
6311 | * gdbarch.c (gdbarch_dump): Fix robustness check on | |
6312 | BELIEVE_PCC_PROMOTION_TYPE. | |
6313 | ||
6314 | Wed Apr 21 15:39:27 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
6315 | ||
6316 | * gdbarch.h (TARGET_BYTE_ORDER_SELECTABLE_P): When multi-arch, | |
6317 | force selectable byte order. | |
6318 | (CALL_DUMMY): Check for CALL_DUMMY definition when multi-arch. Are | |
6319 | incompatible. | |
6320 | * gdbarch.c (verify_gdbarch): Check call_dummy_stack_adjust. | |
6321 | ||
7a292a7a SS |
6322 | Wed Apr 21 14:45:44 1999 Andrew Cagney <cagney@b1.cygnus.com> |
6323 | ||
0f71a2f6 JM |
6324 | * gdbarch.c (gdbarch_update): Move dump-arch code from here. |
6325 | (gdbarch_dump): To here. Make more robust. | |
6326 | * gdbarch.h (gdbarch_dump): Add prototype. | |
6327 | ||
7a292a7a SS |
6328 | * gdbarch.c (enum set_arch): Declare. |
6329 | (set_arch): Add type parameter. Only disable | |
6330 | ``target_architecture_auto'' when set_arch_manual. | |
6331 | (set_architecture, set_architecture_from_arch_mach, | |
6332 | set_architecture_from_file): Update. | |
0f71a2f6 JM |
6333 | (set_arch): When ``gdbarch_debug'', gdbarch_dump() the current |
6334 | architecture. | |
7a292a7a SS |
6335 | |
6336 | Wed Apr 21 10:48:53 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
6337 | ||
6338 | * frame.h (generic_pc_in_call_dummy): Make signature consistent | |
6339 | with other pc_in_call_dummy functions by adding SP parameter. | |
6340 | * blockframe.c (generic_pc_in_call_dummy): Update. Pass SP and | |
6341 | not FP to generic_find_dummy_frame(). | |
6342 | * breakpoint.c (frame_in_dummy): Update. | |
6343 | * config/v850/tm-v850.h, config/tic80/tm-tic80.h, | |
6344 | config/sh/tm-sh.h, config/mn10300/tm-mn10300.h, | |
6345 | config/mn10200/tm-mn10200.h, config/m32r/tm-m32r.h, | |
6346 | config/h8300/tm-h8300.h, config/fr30/tm-fr30.h, | |
6347 | config/d10v/tm-d10v.h: Update PC_IN_CALL_DUMMY definition. | |
6348 | ||
6349 | Tue Apr 20 12:15:45 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
6350 | ||
6351 | * config/d10v/tm-d10v.h (GDB_TARGET_IS_D10V): Move from here. | |
6352 | * gdbarch.h (GDB_TARGET_IS_D10V): To here. Implement using | |
6353 | TARGET_ARCHITECTURE. | |
6354 | (D10V_MAKE_DADDR, D10V_MAKE_IADDR): Provide fatal default | |
6355 | definitions. | |
6356 | ||
6357 | * valops.c (value_at): Replace #ifdef GDB_TARGET_IS_D10V code with | |
6358 | runtime test. | |
6359 | (value_fetch_lazy): Ditto. | |
6360 | * values.c (unpack_long): Ditto. | |
6361 | * printcmd.c (print_frame_args): Ditto. | |
6362 | ||
0f71a2f6 JM |
6363 | Sat Apr 17 15:39:33 1999 Andrew Cagney <cagney@b1.cygnus.com> |
6364 | ||
6365 | * gdbarch.h: Cleanup multi-arch comments. | |
6366 | ||
6367 | Fri Apr 16 15:39:10 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
6368 | ||
6369 | * gdbarch.h: Provide definition if GDB_MULTI_ARCH > 1 or | |
6370 | GDB_MULTI_ARCH > 0 and no previous definition. | |
6371 | * gdbarch.c (verify_gdbarch): Only verify a full multi-arch | |
6372 | target. | |
6373 | ||
7a292a7a SS |
6374 | 1999-04-15 Stan Shebs <shebs@andros.cygnus.com> |
6375 | ||
6376 | * infrun.c (wait_for_inferior) [HAVE_STEPPABLE_WATCHPOINT, | |
6377 | HAVE_NONSTEPPABLE_WATCHPOINT, HAVE_CONTINUABLE_WATCHPOINT]: Test | |
6378 | at runtime instead of compile time. | |
6379 | ||
c2d11a7d JM |
6380 | Thu Apr 15 15:15:07 1999 Andrew Cagney <cagney@amy.cygnus.com> |
6381 | ||
6382 | * mips-tdep.c (struct gdbarch_tdep): Rename elf_abi to | |
6383 | elf_flags. Check ABFD is elf_flavour before extracting elf_flags. | |
6384 | Match ARCH against entire elf_flags instead of just the | |
6385 | EF_MIPS_ABI field. | |
6386 | (mips_gdbarch_init): Extract/print ef_mips_arch and | |
6387 | ef_mips_bitptrs and ef_mips_abi fields from elf_flags. | |
6388 | ||
7a292a7a SS |
6389 | 1999-04-14 Philippe De Muyter <phdm@macqel.be> |
6390 | ||
6391 | * breakpoint.c (maintenance_info_breakpoints): Function made | |
6392 | static to match previous prototype. | |
6393 | ||
6394 | * coffread.c (coff_record_line): Static function removed. | |
6395 | (enter_linenos): Call `record_line' instead of `coff_record_line'. | |
6396 | (FILE-LEVEL, coff_start_symtab, coff_end_symtab): `coff_record_line' | |
6397 | -related stuff removed. | |
6398 | (coff_symfile_read): Redundant statement removed. | |
6399 | (coff_symtab_read): `record_line' is now called with the first line | |
6400 | number of each function, given by the ".bf" symbol. This solves | |
6401 | the line-number bug for one-line functions. | |
6402 | ||
6403 | Wed Apr 14 11:09:45 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
6404 | ||
0f71a2f6 JM |
6405 | * gdbarch.h (BELIEVE_PCC_PROMOTION_TYPE, BELIEVE_PCC_PROMOTION): |
6406 | Add multi-arch definitions. | |
6407 | * gdbarch.c (gdbarch_believe_pcc_promotion, | |
6408 | gdbarch_believe_pcc_promotion_type): New functions. | |
6409 | (gdbarch_update): Update | |
6410 | (struct gdbarch default_gdbarch): Update. | |
6411 | ||
7a292a7a SS |
6412 | * stabsread.c (BELIEVE_PCC_PROMOTION_TYPE): Provide default. |
6413 | (define_symbol): Change #if BELIEVE_PCC_PROMOTION_TYPE and #if | |
6414 | BELIEVE_PCC_PROMOTION to if(). | |
6415 | ||
6416 | 1999-04-13 Jason Molenda (jsm@bugshack.cygnus.com) | |
6417 | ||
6418 | * configure.in (HAVE_MULTIPLE_PROC_FDS): Don't define if we're | |
6419 | on a Solaris host (of any architecture). | |
6420 | * configure: Regenerated. | |
6421 | ||
0f71a2f6 JM |
6422 | Wed Apr 14 08:23:32 1999 Andrew Cagney <cagney@b1.cygnus.com> |
6423 | ||
6424 | * gdbarch.c (SET_GDBARCH, GET_GDBARCH, FSET_GDBARCH): New macros. | |
6425 | (gdbarch_byte_order, gdbarch_long_bit, gdbarch_long_long_bit, | |
6426 | gdbarch_ptr_bit, gdbarch_call_dummy_location, | |
6427 | gdbarch_call_dummy_address, gdbarch_call_dummy_address, | |
6428 | gdbarch_call_dummy_breakpoint_offset, | |
6429 | gdbarch_call_dummy_breakpoint_offset, gdbarch_call_dummy_length, | |
6430 | gdbarch_pc_in_call_dummy, dbarch_call_dummy_breakpoint_offset_p, | |
6431 | dbarch_call_dummy_p, dbarch_call_dummy_words, | |
6432 | dbarch_sizeof_call_dummy_words, dbarch_call_dummy_stack_adjust, | |
6433 | dbarch_call_dummy_stack_adjust_p): Define using new macros. | |
6434 | ||
7a292a7a SS |
6435 | 1999-04-13 Jason Molenda (jsm@bugshack.cygnus.com) |
6436 | ||
6437 | * rom68k-rom.c (init_rom68k_cmds): Fix an accidental substitution | |
6438 | in monitor command strings, fix some formatting mistakes. | |
6439 | ||
6440 | 1999-04-13 Stan Shebs <shebs@andros.cygnus.com> | |
6441 | ||
6442 | * configure.tgt (arm-*-*): Whack another vestige of wingdb. | |
6443 | ||
6444 | 1999-04-12 James Ingham <jingham@cygnus.com> | |
6445 | ||
6446 | * arm-tdep.c (arm_pop_frame): don't clobber the previous frame's | |
6447 | stack pointer (stored in frame->framereg's register) BEFORE | |
6448 | reading it. This was causing "return" to behave very oddly. | |
6449 | ||
6450 | 1999-04-12 Stan Shebs <shebs@andros.cygnus.com> | |
6451 | ||
6452 | * NEWS: Mention tic80. | |
6453 | ||
6454 | 1999-04-12 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
6455 | ||
6456 | * a68v-nat.c: Remove reference to 'extern char registers[]' throughout. | |
6457 | * altos-xdep.c: Ditto. | |
6458 | * arm-xdep.c: Ditto. | |
6459 | * convex-xdep.c: Ditto. | |
6460 | * cxux-nat.c: Ditto. | |
6461 | * hp300ux-nat.c: Ditto. | |
6462 | * hppab-nat.c: Ditto. | |
6463 | * i386aix-nat.c: Ditto. | |
6464 | * i386mach-nat.c: Ditto. | |
6465 | * m88k-nat.c: Ditto. | |
6466 | * ptx4-nat.c: Ditto. | |
6467 | * pyr-xdep.c: Ditto. | |
6468 | * rs6000-nat.c: Ditto. | |
6469 | * sun3-nat.c: Ditto. | |
6470 | * sun386-nat.c: Ditto. | |
6471 | * symm-nat.c: Ditto. | |
6472 | * umax-xdep.c: Ditto. | |
6473 | * i386v4-nat.c: Ditto. Also include inferior.h. | |
6474 | * m68k-tdep.c: Ditto. Also include inferior.h. | |
6475 | ||
6476 | Mon Apr 12 15:57:16 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
6477 | ||
6478 | * inferior.h (CALL_DUMMY_STACK_ADJUST, CALL_DUMMY_STACK_ADJUST_P): | |
6479 | Provide default definitions. | |
6480 | * valops.c (hand_function_call): Replace #ifdef | |
6481 | CALL_DUMMY_STACK_ADJUST with if (CALL_DUMMY_STACK_ADJUST_P). | |
6482 | ||
0f71a2f6 JM |
6483 | * gdbarch.h (SIZEOF_CALL_DUMMY_STACK_ADJUST, |
6484 | (SIZEOF_CALL_DUMMY_STACK_ADJUST_P): Define | |
6485 | * gdbarch.c (struct gdbarch): Add call_dummy_stack_adjust, | |
6486 | call_dummy_stack_adjust_p. | |
6487 | (gdbarch_call_dummy_stack_adjust, | |
6488 | set_gdbarch_call_dummy_stack_adjust, | |
6489 | gdbarch_call_dummy_stack_adjust_p, | |
6490 | set_gdbarch_call_dummy_stack_adjust_p): New functions. | |
6491 | (default_gdbarch): Update. | |
6492 | ||
7a292a7a SS |
6493 | 1999-04-09 Jim Blandy <jimb@zwingli.cygnus.com> |
6494 | ||
6495 | * ax-gdb.c, ax-gdb.h, ax-general.c, ax.h: Remove RCS Id strings. | |
6496 | They're a pain. | |
c906108c SS |
6497 | |
6498 | * GDB 4.18 released. | |
7a292a7a | 6499 | * Makefile.in (VERSION): Bump to 4.18.1. |
c906108c | 6500 | |
7a292a7a SS |
6501 | Thu Apr 8 16:04:34 1999 Andrew Cagney <cagney@b1.cygnus.com> |
6502 | ||
6503 | * inferior.h (CALL_DUMMY_P, CALL_DUMMY_WORDS, | |
6504 | SIZEOF_CALL_DUMMY_WORDS): Define macros. | |
6505 | (PUSH_DUMMY_FRAME, FIX_CALL_DUMMY, STORE_STRUCT_RETURN): Provide | |
6506 | fatal default. | |
6507 | ||
6508 | * inferior.h, gdbarch.c (call_dummy_words, | |
6509 | sizeof_call_dummy_words): Declare/Define variables. | |
6510 | * valops.c (value_arg_coerce, find_function_addr, | |
6511 | call_function_by_hand): Always define. | |
6512 | (hand_function_call): Rename CALL_DUMMY version of | |
6513 | call_function_by_hand. Make static. Add prototype. | |
6514 | (hand_function_call): Update. Allocate space for *dummy and | |
6515 | *dummy1 using alloca. | |
6516 | * breakpoint.c (frame_in_dummy): Update. | |
c906108c | 6517 | |
0f71a2f6 JM |
6518 | * gdbarch.h (CALL_DUMMY_P, CALL_DUMMY_WORDS, |
6519 | SIZEOF_CALL_DUMMY_WORDS): Define. | |
6520 | * gdbarch.c (gdbarch_call_dummy_p, set_gdbarch_call_dummy_p, | |
6521 | gdbarch_call_dummy_words, set_gdbarch_call_dummy_words, | |
6522 | gdbarch_sizeof_call_dummy_words, | |
6523 | set_gdbarch_sizeof_call_dummy_words): New functions. | |
6524 | (gdbarch_alloc, verify_gdbarch, gdbarch_update, struct | |
6525 | default_gdbarch): Update. | |
6526 | ||
7a292a7a SS |
6527 | 1999-04-08 Jason Molenda (jsm@bugshack.cygnus.com) |
6528 | ||
6529 | * monitor.c (monitor_read_memory): If a MO_GETMEM_NEEDS_RANGE | |
6530 | monitor, increase the end address by one byte. | |
6531 | ||
6532 | 1999-04-08 Jason Molenda (jsm@bugshack.cygnus.com) | |
6533 | ||
6534 | * dbug-rom.c (init_dbug_cmds): Fix strings in | |
6535 | dbug_cmds.{step,clr_break,clr_all_break,fill} to send correct | |
6536 | commands to the monitor. | |
6537 | ||
6538 | 1999-04-08 Keith Seitz <keiths@cygnus.com> | |
6539 | ||
6540 | * m32r-stub.c (branchDestination): Undo overly ambitious | |
6541 | sed script's conversion of cast from "char" to "unsigned char". | |
6542 | Return offset should now be properly computed. | |
6543 | ||
6544 | Thu Apr 8 14:13:19 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
6545 | ||
6546 | * inferior.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): New macro. | |
6547 | Non-zero when CALL_DUMMY_BREAKPOINT_OFFSET is valid. | |
6548 | ||
6549 | * infcmd.c (breakpoint_auto_delete_contents): Always define. | |
6550 | (run_stack_dummy): Update. | |
6551 | * infrun.c (wait_for_inferior): Update | |
6552 | ||
0f71a2f6 JM |
6553 | * gdbarch.h (CALL_DUMMY_BREAKPOINT_OFFSET_P): New macro. |
6554 | * gdbarch.c (set_gdbarch_call_dummy_breakpoint_offset_p, | |
6555 | gdbarch_call_dummy_breakpoint_offset_p): New functions. | |
6556 | (struct gdbarch, gdbarch_alloc, default_gdbarch, gdbarch_update): | |
6557 | Update. | |
6558 | ||
7a292a7a SS |
6559 | 1999-04-07 Stan Shebs <shebs@andros.cygnus.com> |
6560 | ||
6561 | * MAINTAINERS: Mark Alexander can no longer maintain | |
6562 | h8300 and other embedded targets, sniff. | |
c906108c SS |
6563 | |
6564 | 1999-04-06 Stan Shebs <shebs@andros.cygnus.com> | |
6565 | ||
7a292a7a SS |
6566 | * inftarg.c (child_wait): Initialize execd_pathname. |
6567 | * target.c (debug_to_has_execd): Handle NULL execd_pathname. | |
6568 | ||
c906108c SS |
6569 | * solib.c (clear_solib): Don't call disable_breakpoints_in_shlibs, |
6570 | this breaks rerunning on sun4 native. | |
6571 | ||
7a292a7a | 6572 | 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com> |
c906108c | 6573 | |
7a292a7a SS |
6574 | * config/sparc/nm-linux.h: Don't redefine PT_ATTACH to use the |
6575 | deprecated PTRACE_SUNATTACH compatibility commands. The | |
6576 | definitions from <sys/ptrace.h> are fine. | |
6577 | ||
6578 | 1999-04-06 Martin Hunt <hunt@cygnus.com> | |
6579 | ||
6580 | * annotate.h: Declare annotate_signal_hook. | |
6581 | ||
6582 | * annotate.c (annotate_signal): Add a call to | |
6583 | annotate_signal_hook(). | |
6584 | ||
6585 | 1999-04-06 Jim Blandy <jimb@zwingli.cygnus.com> | |
6586 | ||
6587 | * dwarf2read.c (dwarf_decode_lines): Don't call record_line when | |
6588 | we hit a DW_LNE_end_sequence instruction. | |
c906108c SS |
6589 | |
6590 | * README: Note that GDB requires an ANSI C compiler, and explain | |
6591 | how to get GCC. | |
6592 | ||
6593 | * README: Update. | |
c906108c | 6594 | |
7a292a7a | 6595 | 1999-04-05 Stan Shebs <shebs@andros.cygnus.com> |
c906108c SS |
6596 | |
6597 | * NEWS: Add more notes about user-visible changes. | |
6598 | ||
7a292a7a SS |
6599 | Mon Apr 5 14:56:59 1999 Michael Snyder <msnyder@cleaver.cygnus.com> |
6600 | ||
6601 | * target.c (target_signal_to_string): check for signal | |
6602 | number in range; otherwise if the target board returns | |
6603 | a bogus signal number we might core dump (per David Taylor). | |
6604 | ||
6605 | 1999-04-05 David Taylor <taylor@ryobi.cygnus.com> | |
6606 | ||
6607 | * utils.c (fputs_maybe_filtered): test value of | |
6608 | pagination_enabled before paginating. | |
6609 | ||
6610 | 1999-04-02 James Ingham <jingham@cygnus.com> | |
6611 | ||
6612 | * blockframe.c (get_prev_frame): Remove the redundant | |
6613 | get_prev_frame_info. It is now exactly the same as | |
6614 | get_prev_frame, so there is no reason to have both functions. | |
6615 | ||
6616 | * rs6000-tdep.c (rs6000_init_extra_frame_info): | |
6617 | frame.h: | |
6618 | a29k-tdep.c (init_extra_frame_info): | |
6619 | config/a29k/tm-a29k.h: | |
6620 | i386-tdep.c: | |
6621 | Change all references to get_prev_frame_info to get_prev_frame. | |
6622 | ||
6623 | 1999-04-02 Stan Shebs <shebs@andros.cygnus.com> | |
6624 | ||
6625 | * bcache.c, bcache.h, breakpoint.c, defs.h, expprint.c, | |
6626 | expression.h, gdbarch.c, gdbtypes.c, gdbtypes.h, gnu-nat.c, | |
6627 | gnu-nat.h, hppa-tdep.c, maint.c, monitor.c, objfiles.h, parse.c, | |
6628 | remote-mips.c, remote-sds.c, remote.c, sol-thread.c, symmisc.c, | |
6629 | symtab.h, target.c, top.c, typeprint.c, config/nm-gnu.h: Evaporate | |
6630 | the unused MAINTENANCE_CMDS conditional. | |
6631 | ||
6632 | 1999-04-02 James Ingham <jingham@cygnus.com> | |
6633 | ||
6634 | * config/arm/tm-arm.h: (EXTRACT_STRUCT_VALUE_ADDRESS): This needs | |
6635 | to call extract_address, not just cast the first 4 bytes, since | |
6636 | the result will be passed to value_at which expects host-byte | |
6637 | order. | |
6638 | ||
6639 | * arm-tdep.c (arm_scan_prologue): The prologue_start address was | |
6640 | directly &'ed with 0x03fffffc, rather than using | |
6641 | ADDR_BITS_REMOVE. This would cause inferior function calls to | |
6642 | report the stack incorrectly on return. | |
6643 | ||
6644 | ||
6645 | 1999-04-02 Keith Seitz <keiths@cygnus.com> | |
6646 | ||
6647 | * top.c (ui_loop_hook): Change declaration. Now returns an int. | |
6648 | * win32-nat.c (child_wait): Timeout WaitForDebugEvent and call | |
6649 | the ui_loop_hook if there was no debug event. | |
6650 | * top.c (ui_loop_hook): Change to return an int and include | |
6651 | on all non-Cygwin builds. | |
6652 | * v850ice.c: Change prototype of ui_loop_hook. | |
6653 | (v850ice_wait): Update call to ui_loop_hook. | |
6654 | * ser-unix.c (hardwire_readchar): Enable ui_loop_hook callbacks | |
6655 | for non-Cygwin builds. Check return status of ui_loop_hook and | |
6656 | return a timeout if told to detach. Add more documentation. | |
6657 | * ser-tcp.c (tcp_readchar): Break up timeouts into one second | |
6658 | intervals and call ui_loop_hook so that other UIs can | |
6659 | keep up to date. If ui_loop_hook returns non-zero, then | |
6660 | return SERIAL_TIMEOUT to facilitate detaching from the | |
6661 | target. | |
6662 | * remote.c (remote_interrupted_already): Remove. | |
6663 | (remote_interrupt_twice): Revive. | |
6664 | (remote_interrupt): Call remote_stop to interrupt the target | |
6665 | and install remote_interrupt_twice to take more severe | |
6666 | actions if this fails. | |
6667 | (remote_stop): Only attempt to stop the target. This separates | |
6668 | the command line from other UIs. | |
6669 | * remote-sim.c (gdb_os_poll_quit): Add a call to ui_loop_hook, | |
6670 | if it is defined. | |
6671 | ||
c906108c SS |
6672 | 1999-04-01 Jim Blandy <jimb@zwingli.cygnus.com> |
6673 | ||
6674 | Fix for cross-debugging on an AIX host from Johanna Svenningsson: | |
6675 | * ax-gdb.h (enum axs_lvalue_kind): Remove trailing comma from enum. | |
7a292a7a | 6676 | * ax.h (enum agent_op): Same. |
c906108c SS |
6677 | * tracepoint.h (enum actionline_type): Same. |
6678 | * config/xm-aix4.h: Add declaration for termdef. | |
6679 | ||
6680 | 1999-03-31 Stan Shebs <shebs@andros.cygnus.com> | |
6681 | ||
6682 | * jv-lang.h (dynamics_objfile): Remove decl, conflicts with static | |
6683 | decl in jv-lang.c. | |
6684 | ||
7a292a7a SS |
6685 | * infrun.c (follow_inferior_fork): Add ifdefs around |
6686 | SOLIB_REMOVE_INFERIOR_HOOK. | |
c906108c | 6687 | |
7a292a7a | 6688 | Wed Mar 31 11:39:49 1999 David Taylor <taylor@ryobi.cygnus.com> |
c906108c SS |
6689 | |
6690 | * valops.c (search_struct_field): revert HP merge change | |
6691 | to this function -- it causes messages to be printed about | |
6692 | member class ambiguity when the compiler is happy. | |
6693 | (search_struct_field_aux): delete -- added as part of HP merge | |
6694 | change; with aforementioned change it is no longer called. | |
6695 | ||
7a292a7a | 6696 | 1999-03-30 Stan Shebs <shebs@andros.cygnus.com> |
c906108c | 6697 | |
7a292a7a SS |
6698 | Make more HPUX-specific code generic. |
6699 | * infrun.c: Include top.h. | |
6700 | (MAY_SWITCH_FROM_INFERIOR_PID, MAY_FOLLOW_EXEC, | |
6701 | USE_THREAD_STEP_NEEDED): New native macros. | |
6702 | (may_switch_from_inferior_pid, may_follow_exec, | |
6703 | use_thread_step_needed): New globals. | |
6704 | (follow_inferior_fork): Remove HPUXHPPA ifdef. | |
6705 | (follow_exec): Ditto, also save run target and re-push instead of | |
6706 | always pushing child_ops, add ifdefs around SOLIB_RESTART and | |
6707 | SOLIB_CREATE_INFERIOR_HOOK. | |
6708 | (wait_for_inferior): Use new globals instead of ifdefing HPUXHPPA, | |
6709 | always use printf_filtered to report new threads. | |
6710 | (normal_stop): Ditto. | |
6711 | * target.h, target.c (find_run_target): New function. | |
6712 | * config/pa/nm-hppah.h: Define new macros. | |
c906108c | 6713 | |
7a292a7a | 6714 | 1999-03-29 Stan Shebs <shebs@andros.cygnus.com> |
c906108c | 6715 | |
7a292a7a SS |
6716 | * top.h: Include setjmp.h here. |
6717 | * main.c, top.c: Don't include it here. | |
c906108c | 6718 | |
7a292a7a | 6719 | 1999-03-29 Keith Seitz <keiths@cygnus.com> |
c906108c | 6720 | |
7a292a7a SS |
6721 | * symtab.c (decode_line_1): Take out change which breaks symbols |
6722 | which include class names and methods, e.g., "Foo::bar". | |
6723 | ||
6724 | 1999-03-26 Stan Shebs <shebs@andros.cygnus.com> | |
6725 | ||
6726 | * configure.tgt (i[3456]86-*-sysv4.2MP, i[3456]86-*-sysv4.2uw2*): | |
6727 | Recognize both, as i[3456]86-*-sysv4.2*. | |
6728 | (i[3456]86-*-sysv5*): Recognize. | |
6729 | ||
6730 | * infrun.c (wait_for_inferior): Remove most #if 0 segments. | |
6731 | ||
6732 | Fri Mar 26 17:27:27 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
6733 | ||
6734 | * blockframe.c (pc_in_call_dummy_on_stack): Fix. Had copied code | |
6735 | from at_entry_point. | |
6736 | ||
6737 | Thu Mar 25 19:30:02 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
6738 | ||
6739 | * gdbarch.c: Include all headers. | |
0f71a2f6 JM |
6740 | (struct gdbarch), gdbarch.h (CALL_DUMMY_LOCATION, |
6741 | CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET, | |
6742 | CALL_DUMMY_BREAKPOINT_OFFSET, CALL_DUMMY_LENGTH, | |
6743 | PC_IN_CALL_DUMMY): Add ``call_dummy_location'', | |
6744 | ``call_dummy_length'', ``pc_in_call_dummy'', | |
6745 | ``call_dummy_start_offset'', ``call_dummy_breakpoint_offset'' to | |
6746 | multi-arch framework. | |
7a292a7a SS |
6747 | |
6748 | * inferior.h, blockframe.c (pc_in_call_dummy_before_text_end, | |
6749 | pc_in_call_dummy_after_text_end, pc_in_call_dummy_on_stack, | |
6750 | pc_in_call_dummy_at_entry_point): Convert PC_IN_CALL_DUMMY macro's | |
6751 | into functions. | |
6752 | ||
c2d11a7d JM |
6753 | * mips-tdep.c (mips_gdbarch_init): Initialize above |
6754 | ||
7a292a7a SS |
6755 | Tue Mar 23 17:22:57 1999 Philippe De Muyter <phdm@macqel.be> |
6756 | ||
6757 | * remote.c, parse.c: Include ctype.h. | |
c906108c SS |
6758 | |
6759 | 1999-03-24 Stan Shebs <shebs@andros.cygnus.com> | |
6760 | ||
7a292a7a | 6761 | * configure.host (mips-dec-mach3*): Use mipsm3 not mach3. |
c906108c SS |
6762 | |
6763 | Attempt to sort out SCO-related configs. | |
6764 | * configure.host (i[3456]86-*-sysv4.2*): Use instead of | |
6765 | i[3456]86-*-sysv4.2MP and i[3456]86-*-sysv4.2uw2*. | |
6766 | (i[3456]86-*-sysv5*): Recognize. | |
6767 | * configure.tgt (i[3456]86-*-sco3.2v5*, i[3456]86-*-sco3.2v4*): | |
6768 | Recognize. | |
6769 | ||
7a292a7a SS |
6770 | Wed Mar 24 16:19:01 1999 Christopher Faylor <cgf@cygnus.com> |
6771 | ||
6772 | * MAINTAINERS: Add DJ Delorie (dj@cygnus.com) as the djgpp | |
6773 | maintainer. | |
6774 | ||
6775 | Wed Mar 24 21:19:57 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
6776 | ||
6777 | * target.h (enum target_signal): Do not hardwire values of MACH | |
6778 | signals. | |
6779 | ||
6780 | 1999-03-14 Ken Raeburn <raeburn@raeburn.org> | |
6781 | ||
6782 | * target.h (enum target_signal): Add TARGET_SIGNAL_INFO. | |
6783 | * target.c (signals): Add SIGINFO description. | |
6784 | (target_signal_from_host, target_signal_to_host): Translate | |
6785 | SIGINFO to/from TARGET_SIGNAL_INFO. | |
6786 | ||
c906108c SS |
6787 | Wed Mar 24 01:01:27 1999 Andrew Cagney <cagney@sludge.cygnus.com> |
6788 | ||
6789 | * rs6000-tdep.c (rs6000_software_single_step): Change SIGNAL to | |
6790 | unsigned int. | |
6791 | ||
7a292a7a | 6792 | From Rodney Brown <rodneybrown@pmsc.com> |
c906108c SS |
6793 | * target.h (enum thread_control_capabilities), breakpoint.h (enum |
6794 | bptype), breakpoint.c (enum insertion_state_t): Strict ISO-C | |
6795 | doesn't allow trailing comma in enum definition. | |
6796 | ||
7a292a7a | 6797 | Mon Mar 22 15:56:04 1999 Andrew Cagney <cagney@b1.cygnus.com> |
c906108c | 6798 | |
7a292a7a SS |
6799 | * blockframe.c (inside_entry_file, inside_entry_func): Convert #if |
6800 | CALL_DUMMY_LOCATION to if. | |
6801 | * valops.c (call_function_by_hand): Ditto. | |
6802 | * infcmd.c (run_stack_dummy): Ditto. | |
6803 | * inferior.h (CALL_DUMMY_ADDRESS, CALL_DUMMY_START_OFFSET, | |
6804 | CALL_DUMMY_BREAKPOINT_OFFSET): Provide default. | |
c906108c | 6805 | |
7a292a7a | 6806 | 1999-03-23 Jason Molenda (jsm@bugshack.cygnus.com) |
c906108c | 6807 | |
7a292a7a SS |
6808 | * hppa-tdep.c (pa_register_look_aside): Remove CPU_HPPA_RISC_20 |
6809 | check, test for presence of struct save_state_t and the ss_wide | |
6810 | member directly. | |
6811 | * configure.in: Remove CPU_HPPA_RISC_20 test. Add tests for | |
6812 | HAVE_STRUCT_SAVE_STATE_T and HAVE_STRUCT_MEMBER_SS_WIDE. | |
6813 | * acconfig.h: Add HAVE_STRUCT_SAVE_STATE_T HAVE_STRUCT_MEMBER_SS_WIDE. | |
6814 | * configure, config.in: Regenerated. | |
c906108c SS |
6815 | |
6816 | Mon Mar 22 13:25:13 1999 Michael Snyder <msnyder@cleaver.cygnus.com> | |
6817 | ||
6818 | * infttrace.c (proc_wait): rename to ptrace_wait. | |
6819 | ||
7a292a7a SS |
6820 | 1999-03-18 Jim Blandy <jimb@zwingli.cygnus.com> |
6821 | ||
6822 | * dwarf2read.c: Correctly recognize location expressions that | |
6823 | designate LOC_REF_ARG arguments. Doc fixes. | |
6824 | (isderef): New global. (Yuck.) | |
6825 | (dwarf2_complex_location_expr): New complaint. | |
6826 | (read_func_scope): Reject frame_base attributes that use the | |
6827 | `deref' opcode as too complex. | |
6828 | (new_symbol): If both regoff and isderef are set, and the base | |
6829 | register is the frame pointer, then it's a LOC_REF_ARG argument. | |
6830 | (decode_locdesc): Recognize the `deref' opcode in location | |
6831 | expressions. Complain if it's not the last op in the expression. | |
6832 | ||
6833 | * config/fr30/tm-fr30.h (COERCE_FLOAT_TO_DOUBLE): #define this to | |
6834 | be true, or else value_arg_coere won't respect the (accurate) | |
6835 | information we have about whether a function is prototyped. | |
6836 | ||
6837 | 1999-03-17 Jim Blandy <jimb@zwingli.cygnus.com> | |
6838 | ||
6839 | * config/fr30/tm-fr30.h (STACK_ALIGN): Define this here, so | |
6840 | calling functions by hand with odd-sized arguments doesn't munge | |
6841 | the stack. | |
6842 | ||
c906108c SS |
6843 | 1999-03-17 Jason Molenda (jsm@bugshack.cygnus.com) |
6844 | ||
6845 | * configure.in (HAVE_MULTIPLE_PROC_FDS): Don't define for Solaris | |
6846 | hosts--gdb doesn't support this yet. | |
6847 | * configure: Regenerated. | |
6848 | ||
7a292a7a SS |
6849 | 1999-03-16 Keith Seitz <keiths@cygnus.com> |
6850 | ||
6851 | * remote.c (remote_binary_checked): New file global. | |
6852 | (check_binary_download): New function to check if | |
6853 | stub supports binary downloading that works with | |
6854 | stubs that are not eight bit clean. | |
6855 | (remote_write_bytes): Check for binary download capability | |
6856 | and use it if available. | |
6857 | Remove references to global remote_binary_length. What a hack. | |
6858 | (putpkt_binary): New function. | |
6859 | (putpkt): Call putpkt_binary. | |
6860 | Use xor to escape trouble characters. | |
6861 | * m32r-stub.c (bin2mem): Follow escape char convention change. | |
6862 | ||
c906108c SS |
6863 | Tue Mar 16 01:11:33 1999 Andrew Cagney <cagney@rhino.cygnus.com> |
6864 | ||
6865 | * target.h (struct target_ops), target.c (debug_to_query), | |
6866 | remote.c (pack_hex_byte, remote_query): Promote char parameters to | |
6867 | int. Stops compile problems with pedantic ISO-C compilers. | |
7a292a7a | 6868 | |
c906108c SS |
6869 | Tue Mar 16 15:29:04 1999 Stan Shebs <shebs@andros.cygnus.com> |
6870 | ||
7a292a7a SS |
6871 | * go32-xdep.c: Remove, no longer used by anything. |
6872 | * Makefile.in: Remove references. | |
6873 | ||
c906108c SS |
6874 | * jv-lang.c, jv-lang.h (java_primitive_type): Declare argument |
6875 | as int instead of char. | |
6876 | ||
7a292a7a | 6877 | Mon Mar 15 11:42:43 1999 Andrew Cagney <cagney@b1.cygnus.com> |
c906108c | 6878 | |
7a292a7a SS |
6879 | * d10v-tdep.c (push_stack_item, pop_stack_item): New function. |
6880 | (d10v_push_arguments): Use. | |
c906108c | 6881 | |
7a292a7a SS |
6882 | From Martin M. Hunt <hunt@cygnus.com>: |
6883 | * d10v-tdep.c (d10v_push_arguments): When arguments | |
6884 | must be pushed onto the stack, they go on in | |
6885 | reverse order. | |
c906108c | 6886 | |
7a292a7a SS |
6887 | 1999-03-16 Jim Blandy <jimb@zwingli.cygnus.com> |
6888 | ||
6889 | * symtab.c (make_symbol_overload_list): Don't try to stuff minimal | |
6890 | or partial symbols into the overload list; we don't know their | |
6891 | types. (Thanks to Rajiv Mirani.) | |
6892 | ||
6893 | 1999-03-15 Jason Molenda (jsm@bugshack.cygnus.com) | |
6894 | ||
6895 | * acinclude.m4 (--with-itclconfig, --with-itkconfig, --with-tixconfig): | |
6896 | Fix whitespace so --help messages line up. | |
6897 | * configure.in (--with-cpu): Fix capitalization for --help messages. | |
6898 | * configure, aclocal.m4: Regenerated. | |
6899 | ||
6900 | Mon Mar 15 11:39:03 1999 Ian Carmichael <iancarm@cygnus.com> | |
6901 | ||
6902 | Support building gdb w/o simulator: | |
6903 | * configure.in: Support --disable-sim. Check for sim directory. | |
6904 | * Makefile.in (IGNORE_SIM, IGNORE_SIM_OBS): New. | |
6905 | * acconfig.h (WITH_SIM): Define. | |
6906 | * configure, config.in: Regenerate. | |
6907 | ||
6908 | Mon Mar 15 08:01:33 1999 Elena Zannoni <ezannoni@cygnus.com> | |
6909 | ||
6910 | Patch from Andreas Schwab <schwab@issan.cs.uni-dortmund.de> | |
6911 | ||
6912 | * top.c (read_command_lines): Reset control_level to 0. | |
6913 | (define_command): Don't do it here. | |
6914 | ||
6915 | Sun Mar 14 16:12:15 1999 Andrew Cagney <cagney@rhino.cygnus.com> | |
6916 | ||
6917 | * hppah-nat.c (store_inferior_registers): Delete extern | |
6918 | registers[] declaration. | |
6919 | ||
6920 | Sun Mar 14 19:17:30 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
6921 | ||
6922 | * infrun.c (write_inferior_status_register): New function. Provide | |
6923 | update access to an inf_status register buffer. Only used by HP. | |
6924 | * inferior.h (write_inferior_status_register): Add prototype. | |
6925 | ||
6926 | * hppa-tdep.c (push_dummy_frame): Use | |
6927 | write_inferior_status_register when hacking around a sleeping | |
6928 | inferior. Accidently fix byte-order problem. | |
6929 | ||
6930 | Sun Mar 14 16:40:10 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
6931 | ||
6932 | * config/pa/tm-hppa.h (PUSH_DUMMY_FRAME): Fix parameter. Address | |
6933 | not needed. | |
6934 | ||
6935 | Fri Mar 12 13:11:48 1999 Michael Snyder <msnyder@cleaver.cygnus.com> | |
6936 | ||
6937 | * remote.c (remote_write_bytes): fix 'X' packet protocol so that it | |
6938 | can't overwrite the end of its buffer with escaped characters. | |
c906108c SS |
6939 | |
6940 | 1999-03-12 Jim Blandy <jimb@zwingli.cygnus.com> | |
6941 | ||
7a292a7a | 6942 | Alpha patches from Richard Henderson: |
c906108c | 6943 | |
7a292a7a | 6944 | * alpha-tdep.c (alpha_skip_prologue): Recognize subq. |
c906108c | 6945 | |
7a292a7a SS |
6946 | * config/alpha/tm-alpha.h (REGISTER_NAMES): No f31, but fpcr. |
6947 | (FPCR_REGNUM): New. | |
6948 | (REGISTER_CONVERTIBLE): Don't convert fpcr. | |
6949 | (REGISTER_VIRTUAL_TYPE): Don't make fpcr a double. | |
c906108c | 6950 | |
7a292a7a SS |
6951 | * stabsread.c (define_symbol): Only consider live range extension |
6952 | if we have an open parenthesis. | |
c906108c | 6953 | |
7a292a7a SS |
6954 | 1999-03-11 Jim Blandy <jimb@zwingli.cygnus.com> |
6955 | ||
6956 | * monitor.c (monitor_fetch_register): Print RDEBUG info correctly | |
6957 | when the register name is null. | |
6958 | ||
6959 | Thu Mar 11 19:33:07 1999 Stan Shebs <shebs@andros.cygnus.com> | |
6960 | ||
6961 | * infrun.c (wait_for_inferior): Change #if DECR_PC_AFTER_BREAK | |
6962 | uses to expressions, remove redundant extern decls. | |
6963 | ||
6964 | Thu Mar 11 18:05:11 1999 Michael Snyder <msnyder@cleaver.cygnus.com> | |
c906108c SS |
6965 | |
6966 | * infptrace.c (proc_wait): Rename to ptrace_wait. | |
6967 | * inftarg.c (child_wait): call ptrace_wait instead of proc_wait. | |
6968 | * inferior.h: Declare ptrace_wait instead of proc_wait. | |
6969 | ||
7a292a7a SS |
6970 | Thu Mar 11 11:46:25 1999 Andrew Cagney <cagney@amy.cygnus.com> |
6971 | ||
6972 | * breakpoint.c (create_solib_load_unload_event_breakpoint, | |
6973 | create_fork_vfork_event_catchpoint, tcatch_command, | |
6974 | create_exception_catchpoint, break_at_finish_at_depth_command_1, | |
6975 | catch_fork_command_1, ep_skip_leading_whitespace, | |
6976 | break_at_finish_command_1, catch_exec_command_1, | |
6977 | catch_exception_command_1, stop_command, stopin_command, | |
6978 | stopat_command, ep_parse_optional_filename, | |
6979 | ep_find_event_name_end, ep_parse_optional_if_clause, | |
6980 | catch_fork_command_1), stack.c (show_and_print_stack_frame_stub, | |
6981 | print_stack_frame_stub, print_only_stack_frame_stub, | |
6982 | backtrace_command_1, backtrace_full_command, func_command), | |
6983 | valprint.c (print_decimal), source.c (print_source_lines_base): | |
6984 | Add prototype. | |
6985 | ||
6986 | * stack.c (print_stack_frame_stub, show_and_print_stack_frame_stub, | |
6987 | print_only_stack_frame_stub): Make param void*. | |
6988 | ||
6989 | Wed Mar 10 19:33:28 1999 Geoffrey Noer <noer@cygnus.com> | |
6990 | ||
6991 | * win32-nat.c: If old Cygwin Win32 API headers aren't being used, | |
6992 | define some gdb-specific defines that shouldn't have been in the | |
6993 | global headers. | |
6994 | ||
6995 | Wed Mar 10 21:20:25 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
6996 | ||
6997 | * findvar.c (registers, register_valid): Replace array with pointer. | |
6998 | (build_findvar): New function. Allocate space for REGISTERS and | |
6999 | REGISTER_VALID. | |
7000 | (_initialize_findvar): Call build_findvar. | |
0f71a2f6 JM |
7001 | (_initialize_findvar): Register REGISTERS and REGISTER_VALID as |
7002 | arch dependant. | |
7a292a7a SS |
7003 | |
7004 | * inferior.h (registers, register_valid): Replace array with | |
7005 | pointer. | |
7006 | ||
7007 | * inferior.h (struct inferior_status): Move definition from here. | |
7008 | ||
7009 | * infrun.c (struct inferior_status): To here. | |
7010 | (struct inferior_status): Change ``stop_registers'' and | |
7011 | ``registers'' to pointers. | |
7012 | (xmalloc_inferior_status, free_inferior_status): New functions. | |
7013 | (restore_inferior_status): Call free_inferior_status. | |
7014 | (save_inferior_status): Call xmalloc_inferior_status. | |
7015 | (discard_inferior_status): New function, discard inf_status | |
7016 | buffer. Call free_inferior_status. | |
7017 | ||
7018 | * inferior.h (stop_registers): Replace array with pointer. | |
7019 | * infrun.c (stop_registers): Update. | |
7020 | (build_infrun): Initialize stop_registers. | |
7021 | (_initialize_infrun): Call build_infrun. | |
0f71a2f6 | 7022 | (_initialize_infrun): Register ``stop_registers'' as arch dependant. |
7a292a7a SS |
7023 | |
7024 | Wed Mar 10 14:50:42 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
7025 | ||
7026 | * alpha-tdep.c (alpha_linux_sigtramp_offset): Only compile when | |
7027 | LINUXALPHA target. Hack. | |
7028 | ||
7029 | * infrun.c (set_follow_fork_mode_command): Make static. Add | |
7030 | prototype. | |
7031 | * tracepoint.c (add_register): Ditto. | |
7032 | * valprint.c (strcat_longest): Comment out. Does not appear to be | |
7033 | used. | |
7034 | * valops.c (find_method_list): Make static. Add prototype. | |
7035 | * thread.c (target_find_new_threads): Make static. Add prototype. | |
7036 | * stack.c (stack_publish_stopped_with_no_frame, | |
7037 | select_and_maybe_print_frame): Comment out. Does not appear to be | |
7038 | used. | |
7039 | (current_frame_command): Add prototype. | |
7040 | * breakpoint.c (break_at_finish_command, | |
7041 | break_at_finish_at_depth_command, tbreak_at_finish_command): Make | |
7042 | static. Add prototype. | |
7043 | * findvar.c (read_relative_register_raw_bytes_for_frame): Ditto. | |
7044 | ||
7045 | Wed Mar 10 23:38:54 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
7046 | ||
7047 | * corefile.c (registers): Delete redundant variable declaration. | |
7048 | * inferior.h (run_stack_dummy): Change array argument to pointer. | |
7049 | * infcmd.c (run_stack_dummy): Update. | |
7050 | * value.h (value_being_returned): Change RETBUF to a pointer. | |
7051 | * values.c (value_being_returned): Update. | |
7052 | ||
7053 | Wed Mar 10 11:08:16 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
7054 | ||
7055 | * source.c (list_command): GCC suggested explicit braces to avoid | |
7056 | ambiguous `else'. | |
7057 | ||
7058 | * jv-typeprint.c: Include "c-lang.h". | |
7059 | * Makefile.in (jv-typeprint.o): Add dependency. | |
7060 | * jv-valprint.c: Include "gdbcore.h", "annotate.h". | |
7061 | * Makefile.in (jv-valprint.o): Add dependencies. | |
7062 | * objfiles.c: Include "breakpoint.h". | |
7063 | * Makefile.in (objfiles.o): Add dependency. | |
7064 | * main.c: Include <unistd.h>. | |
7065 | * parse.c: Include <ctype.h>. | |
7066 | * remote.c: Include <ctype.h>. | |
7067 | * ser-tcp.c: Include <unistd.h>. | |
7068 | * ax-general.c: Include "value.h". | |
7069 | * Makefile.in (ax-general.o): Add dependency. | |
7070 | ||
7071 | * alpha-tdep.c (alpha_push_arguments): Make ``i'' an int instead | |
7072 | of a register. | |
7073 | * frame.h (show_and_print_stack_frame): Add function prototype. | |
7074 | * language.h (language_enum): Add function prototype. | |
7075 | * value.h (find_overload_match): Add function prototype. | |
7076 | ||
7077 | * defs.h, utils.c (subset_compare): Rename subsetCompare. Add | |
7078 | prototype. | |
7079 | * stack.c (backtrace_command): Update. | |
7080 | ||
7081 | Wed Mar 10 13:58:36 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
7082 | ||
7083 | * configure.in (AC_CHECK_HEADERS): Check for <sys/select.h> | |
7084 | * configure, config.in: Re-generate. | |
7085 | * inflow.c: Conditionally include <sys/select.h>. | |
7086 | ||
7087 | Wed Mar 10 13:44:38 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
7088 | ||
7089 | * frame.h (struct dummy_frame): Move from here. | |
7090 | * blockframe.c (struct dummy_frame): To here. | |
7091 | ||
7092 | * blockframe.c (struct dummy_frame): Replace ``regs'' with pointer | |
7093 | ``registers''. | |
7094 | (generic_pop_dummy_frame): Free it. | |
7095 | (generic_push_dummy_frame): Allocate dummy frame register buffer. | |
7096 | ||
7097 | Wed Mar 10 11:08:16 1999 Andrew Cagney <cagney@amy.cygnus.com> | |
7098 | ||
7099 | * thread.c (_initialize_thread): Delete redundant ``extern struct | |
7100 | cmd_list_element *cmdlist''. | |
7101 | * printcmd.c (print_command_1): Ditto for ``objectprint''; | |
7102 | ||
7103 | 1999-03-09 Stan Shebs <shebs@andros.cygnus.com> | |
7104 | ||
7105 | * MAINTAINERS: New file, list of maintainers and areas they | |
7106 | maintain. | |
c906108c SS |
7107 | |
7108 | 1999-03-09 Rodney Brown <RodneyBrown@pmsc.com> | |
7109 | ||
7110 | Get working on UnixWare 2.1.1. | |
7111 | * acconfig.h: Update for defines for procfs.c. | |
7112 | * configure.in: Identify defines for procfs.c. | |
7113 | * configure.host: i386-*-sysv4.2uw2* => i386v42mp | |
7114 | * configure.tgt: i386-*-sysv4.2uw2* => i386v42mp | |
7115 | * configure, config.in: Regenerate. | |
7116 | * procfs.c: Rename HAVE_NO_PRRUN_T to HAVE_PRRUN_T (autoconf | |
7117 | standard), wrap UNIXWARE difference in THE_PR_LWP macro for | |
7118 | legibility. | |
7119 | * config/i386/tm-i386v42mp.h: Remove HAVE_PSTATUS_T, | |
7120 | HAVE_NO_PRRUN_T; now set by configure. | |
7121 | ||
7a292a7a SS |
7122 | Tue Mar 9 16:29:24 1999 Andrew Cagney <cagney@b1.cygnus.com> |
7123 | ||
7124 | * i386-tdep.c (gdb_print_insn_i386): Abort when disassembly_flavor | |
7125 | undefined.. | |
7126 | ||
7127 | * fr30-tdep.c (_initialize_fr30_tdep): Add prototype. Fix | |
7128 | coding style. | |
7129 | ||
7130 | * target.c (debug_to_enable_exception_callback, | |
7131 | debug_to_get_current_exception_event): Return result of call to | |
7132 | debug_target(). | |
7133 | ||
7134 | 1999-03-09 Jim Blandy <jimb@zwingli.cygnus.com> | |
7135 | ||
7136 | Another HURD fix from Mark Kettenis: | |
7137 | * gnu-nat.c: Include <string.h>. Remove declaration of strerror. | |
7138 | Include <bits/waitflags.h> instead of <waitflags.h> and define | |
7139 | _SYS_WAIT_H to prevent the warning that we should not include it. | |
7140 | (gnu_create_inferior): Change return type of attach_to_child to | |
7141 | void. Do not return INFERIOR_PID. | |
7142 | (gnu_pid_to_exec_file): Change return type to char *. | |
7143 | Return NULL. | |
7144 | ||
7145 | Fix for the HURD from Mark Kettenis: | |
7146 | * configure.in: Add AC_PROG_AWK. Needed by the machine-dependent | |
7147 | makefile fragments for the Hurd. | |
7148 | * Makefile.in (AWK): Add. Set by configure. | |
7149 | * configure: Regenerated. | |
7150 | ||
7151 | 1999-03-08 Jason Molenda (jsm@bugshack.cygnus.com) | |
7152 | ||
7153 | * infttrace.c (hppa_get_process_events): Removed. Function only | |
7154 | usable on HPUX 10 and above. It is not called by any other part | |
7155 | of GDB. | |
7156 | * hppah-nat.c (hppa_get_process_events): Ditto. | |
7157 | (child_pid_to_exec_file): Only call ptrace with | |
7158 | PT_GET_PROCESS_PATHNAME if that symbol has been defined. | |
7159 | * config/pa/nm-hppah.h: Don't set up prototypes et al for | |
7160 | hppa_get_process_events. | |
7161 | ||
7162 | * config/pa/hppahpux.mh (TERM_LIB): Do not initialize, let autoconf | |
7163 | determine best library automatically. | |
7164 | * config/pa/hpux1020.mh: Ditto. | |
7165 | * config/pa/hpux1100.mh: Ditto. | |
7166 | * configure.in (TERM_LIB): Also check for libHcurses. | |
7167 | * configure: Regenerated. | |
7168 | ||
7169 | Thu Mar 4 17:16:04 1999 Michael Snyder <msnyder@cleaver.cygnus.com> | |
7170 | ||
7171 | * m32r-stub.c: add support for crc "Compare" command. | |
7172 | ||
c906108c SS |
7173 | 1999-03-04 Jim Blandy <jimb@zwingli.cygnus.com> |
7174 | ||
7a292a7a SS |
7175 | * fr30-tdep.c (fr30_store_return_value): Allocate zeroes |
7176 | dynamically, to save BSS space, and to remove assumptions about | |
7177 | the size of the largest value we'll return. | |
7178 | ||
7179 | * config/fr30/tm-fr30.h (fr30_store_return_value): Use PARAMS in | |
7180 | prototype. | |
7181 | ||
7182 | Thu Mar 4 08:37:35 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
7183 | ||
7184 | * sh3-rom.c (sh3_supply_register, sh3_supply_register), | |
7185 | mips-tdep.c (mips_push_arguments), m32r-rom.c | |
7186 | (m32r_upload_command), m32r-tdep.c (decode_prologue), monitor.c | |
7187 | (longlong_hexchars), tracepoint.c (validate_actionline, | |
7188 | read_actions), mdebugread.c | |
7189 | (parse_symbol), jv-typeprint.c | |
7190 | (java_type_print_base, java_type_print_base), mdebugread.c | |
7191 | (parse_symbol), top.c (source_command), utils.c | |
7192 | (floatformat_to_doublest): GCC suggest explicit braces to avoid | |
7193 | ambiguous `else'. | |
c906108c | 7194 | |
7a292a7a SS |
7195 | * tracepoint.c (map_args_over_tracepoints, trace_actions_command), |
7196 | m32r-rom.c (m32r_supply_register), win32-nat.c | |
7197 | (handle_output_debug_string, child_continue), i960-tdep.c | |
7198 | (pop_frame), m32r-rom.c (m32r_upload_command): GCC suggested | |
7199 | parentheses around assignment used as truth value. | |
7200 | ||
7201 | * remote-sds.c (sds_wait), monitor.c (monitor_fetch_register), | |
7202 | ser-e7kpc.c, (dosasync_write), arc-tdep.c (arc_get_frame_setup): | |
7203 | GCC suggested parentheses around operands. | |
7204 | ||
7205 | * c-typeprint.c (c_type_print_base): GCC suggested enclosing | |
7206 | "while" expression in paren. | |
7207 | ||
7208 | Wed Mar 3 18:14:33 1999 Andrew Cagney <cagney@chook.cygnus.com> | |
7209 | ||
7210 | * sol-thread.c (save_inferior_pid): Cast the saved pid to void*. | |
7211 | (restore_inferior_pid): Takes void* as required by make_cleanup. | |
7212 | Casts pid back to an int. | |
7213 | ||
7214 | * procfs.c (make_cleanup_close_proc_file, | |
7215 | close_proc_file_cleanup): Create a proc_file cleanup. | |
7216 | (info_proc): Use. | |
7217 | ||
7218 | * defs.h (make_cleanup_freeargv): Helper function. Establish | |
7219 | cleanup using freeargv. Can not just typecast/pass freeargv as it | |
7220 | violates ISO-C. | |
7221 | * utils.c (do_freeargv): Helper. | |
7222 | (make_cleanup_freeargv): New function. | |
7223 | ||
7224 | * symmisc.c (maintenance_print_symbols, | |
7225 | maintenance_print_psymbols, maintenance_print_msymbols), symfile.c | |
7226 | (symbol_file_command), stack.c (backtrace_command), remote-sim.c | |
7227 | (gdbsim_create_inferior, gdbsim_open), remote-mips.c | |
7228 | (common_open), procfs.c (info_proc), infrun.c (handle_command, | |
7229 | xdb_handle_command), exec.c (exec_file_attach): Call | |
7230 | make_cleanup_freeargv. | |
7231 | ||
7232 | 1999-03-03 James Ingham <jingham@cygnus.com> | |
7233 | ||
7234 | * i386-tdep.c (_initialize_i386_tdep): Set the inital value for | |
7235 | disassembly flavor at startup, rather than hardcoding it. | |
7236 | ||
7237 | 1999-03-03 Jim Blandy <jimb@zwingli.cygnus.com> | |
7238 | ||
7239 | Put return values in the right place. | |
7240 | * fr30-tdep.c (fr30_store_return_value): New function. | |
7241 | * config/fr30/tm-fr30.h (STORE_RETURN_VALUE): Call | |
7242 | fr30_store_return_value. | |
7243 | ||
7244 | Wed Mar 3 18:10:55 1999 Andrew Cagney <cagney@chook.cygnus.com> | |
7245 | ||
7246 | * gdbtypes.c (virtual_base_list_aux): Return void. Add prototype. | |
7247 | ||
7248 | * breakpoint.c (map_catch_names): Comment out unused function. | |
7249 | ||
7250 | 1999-03-02 Jason Molenda (jsm@bugshack.cygnus.com) | |
7251 | ||
7252 | * hppa-tdep.c (pa_register_look_aside): Only refer to save_state_t | |
7253 | structure on PA 2.0 systems. | |
7254 | ||
7255 | 1999-03-02 Stan Shebs <shebs@andros.cygnus.com> | |
7256 | ||
7257 | From Gary Thomas <gthomas@cygnus.co.uk>: | |
7258 | * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT, | |
7259 | THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Use illegal instruction | |
7260 | instead of SWI 24. | |
7261 | * config/arm/tm-arm.h (CALL_DUMMY): Ditto. | |
7262 | (IN_SIGTRAMP): Define. | |
7263 | ||
7264 | 1999-03-02 Nick Clifton <nickc@cygnus.com> | |
7265 | ||
7266 | * findvar.c (store_address): Delete incorrect big endian | |
7267 | code. | |
7268 | ||
7269 | Tue Mar 2 18:02:42 1999 Andrew Cagney <cagney@chook> | |
7270 | ||
7271 | * configure.in (gdb_cv_os_cygwin): Compat. Continue to reconize | |
7272 | __CYGWIN32__. | |
7273 | ||
7274 | 1999-03-01 Jason Molenda (jsm@bugshack.cygnus.com) | |
7275 | ||
7276 | * configure.in: Move setting of gdb_cv_os_cygwin to before | |
7277 | setting of TERM_LIB. Check for __CYGWIN__ instead of __CYGWIN32__. | |
7278 | * configure: Regenerated. | |
7279 | ||
7280 | 1999-03-01 DJ Delorie <dj@cygnus.com> | |
7281 | ||
7282 | * configure.in: Change -cygwin32* to -cygwin*. | |
7283 | * configure: Ditto. | |
7284 | ||
7285 | 1999-02-25 Stan Shebs <shebs@andros.cygnus.com> | |
7286 | ||
7287 | * breakpoint.c (SOLIB_LOADED_LIBRARY_PATHNAME, | |
7288 | SOLIB_UNLOADED_LIBRARY_PATHNAME, SOLIB_CREATE_CATCH_LOAD_HOOK, | |
7289 | SOLIB_CREATE_CATCH_UNLOAD_HOOK): Supply default definitions. | |
7290 | * infrun.c (SOLIB_IN_DYNAMIC_LINKER): Ditto. | |
7291 | ||
7292 | 1999-02-25 Keith Seitz <keiths@cygnus.com> | |
7293 | ||
7294 | * corelow.c (core_close): Clear out solib state before | |
7295 | closing the bfd associated with the core file. | |
7296 | * solib.c (clear_solib): Mention that clear_solib requires | |
7297 | an open BFD in order for disable_breakpoints_in_shlibs to | |
7298 | determine whether breakpoints live in shared libraries. | |
7299 | ||
7300 | 1999-02-24 Jason Molenda (jsm@bugshack.cygnus.com) | |
c906108c SS |
7301 | |
7302 | * configure.in: Set CPU_HPPA_RISC_20 if the host CPU is a PA 2.0 | |
7303 | processor. | |
7304 | * acconfig.h: Add CPU_HPPA_RISC_20 | |
7305 | * config.in, configure: Regenerated. | |
7306 | * hppa-tdep.c (pa_register_look_aside): Only refer to new | |
7307 | structure elements if we are on a PA2.0 system. | |
7308 | * defs.h: Include limits.h. | |
7309 | ||
7a292a7a SS |
7310 | Tue Feb 23 14:37:08 1999 Michael Snyder <msnyder@cleaver.cygnus.com> |
7311 | ||
7312 | * infrun.c (wait_for_inferior): Check scheduler_locking state | |
7313 | before resuming after a thread-specific breakpoint. | |
7314 | ||
7315 | 1999-02-23 Jim Blandy <jimb@zwingli.cygnus.com> | |
7316 | ||
7317 | * aclocal.m4, config.in, configure: Regenerated with latest | |
7318 | autotools. | |
7319 | ||
7320 | Mon Feb 22 12:32:19 1999 Per Bothner <bothner@cygnus.com> | |
7321 | ||
7322 | * jv-valprint.c (java_val_print): Restore line that somehow got lost. | |
7323 | ||
7324 | * jv-valprint.c (java_print_value_fields): Check for NULL type. | |
7325 | ||
7326 | 1999-02-21 Jim Blandy <jimb@zwingli.cygnus.com> | |
7327 | ||
7328 | * tm-h8500.h, i386lynx-nat.c: Removed. These files are long | |
7329 | dead; it seems that they only appeared due to some CVS weirdness. | |
7330 | If they appear again, we may need to distribute garlic and holy | |
7331 | water. | |
7332 | ||
7333 | 1999-02-19 Jason Molenda (jsm@bugshack.cygnus.com) | |
7334 | ||
7335 | * configure.in (TERM_LIB): Move checking for TERM_LIB, substituting. | |
7336 | * configure: Regenerated. | |
7337 | ||
7338 | 1999-02-19 Robert Hoehne (robert.hoehne@gmx.net) | |
7339 | ||
7340 | * configure.host (i[3456]86-*-msdosdjgpp*): New host. | |
7341 | * configure.tgt (i[3456]86-*-msdosdjgpp*): New target. | |
7342 | * go32-nat.c: New file, native DJGPP support. | |
7343 | * config/i386/go32.mh: Rewrite for DJGPP (go32) host. | |
7344 | * config/i386/go32.mt: New file, DJGPP (go32) target. | |
7345 | * config/i386/nm-go32.h: New file. | |
7346 | * config/i386/tm-go32.h: New file. | |
7347 | * config/i386/xm-go32.h: Rewritten for current DJGPP. | |
7348 | ||
7349 | 1999-02-18 Jason Molenda (jsm@bugshack.cygnus.com) | |
7350 | ||
7351 | * reply_mig_hack.awk, config/nm-gnu.h, config/alpha/nm-linux.h | |
7352 | config/alpha/xm-alphalinux.h, config/alpha/xm-alphaosf.h | |
7353 | config/i386/nm-i386sco5.h, config/i386/tm-fbsd.h, config/i386/tm-i386.h | |
7354 | config/powerpc/nm-aix.h, config/powerpc/tm-macos.h | |
7355 | config/powerpc/tm-ppc-aix.h, config/powerpc/xm-aix.h | |
7356 | config/rs6000/tm-rs6000-aix4.h, testsuite/gdb.chill/tests1.ch | |
7357 | testsuite/gdb.chill/tests2.ch, testsuite/gdb.chill/tests2.exp: | |
7358 | Update FSF address in copyright notices. | |
7359 | ||
7360 | 1999-02-18 Jason Molenda (jsm@bugshack.cygnus.com) | |
7361 | ||
7362 | * configure.in: Quote "$GCC" correctly. | |
7363 | * configure: Regenerated. | |
7364 | ||
7365 | 1999-02-18 Jim Blandy <jimb@zwingli.cygnus.com> | |
7366 | ||
7367 | * dbxread.c (elfstab_build_psymtabs): Don't assume that there's a | |
7368 | section named ".text", which has all the code in it. Instead, look | |
7369 | at all the sections in the file with the `code' flag set. | |
7370 | (find_text_range): New function, that does all the work. | |
7371 | ||
7372 | Thu Feb 18 17:50:45 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
7373 | ||
7374 | * mips-tdep.c (FP_REGISTER_DOUBLE): Conditionally define. | |
7375 | ||
7376 | Fri Jan 29 16:51:11 1999 Andrew Cagney <cagney@chook.cygnus.com> | |
7377 | ||
7378 | * mips-tdep.c (return_value_location): New function. Merge/rewrite | |
7379 | of return-value code in mips_extract_return_value, | |
7380 | mips_store_return_value. Stop buffer overflow when 64 bit value | |
7381 | in 32 bit registers. Extract 64bit float from 32 bit register | |
7382 | pair of correct order. | |
7383 | (mips_extract_return_value, mips_store_return_value): Call | |
7384 | return_value_location. For store, ensure that remainder of | |
7385 | register is zero. | |
c906108c | 7386 | |
c2d11a7d JM |
7387 | Thu Jan 28 18:58:02 1999 Andrew Cagney <cagney@chook.cygnus.com> |
7388 | ||
7389 | From John Metzler <jmetzler@cygnus.com>: | |
7390 | * mips-tdep.c (struct gdbarch_tdep): Add mips_saved_regsize. | |
7391 | (MIPS_SAVED_REGSIZE): Define. | |
7392 | (mips_find_saved_regs, read_next_frame_reg, mips_pop_frame): | |
7393 | Read/write MIPS_SAVED_REGSIZE bytes of register on stack instead | |
7394 | of MIPS_REGSIZE. | |
7395 | (mips_gdbarch_init): Initialize mips_saved_regsize. | |
7396 | ||
7397 | * mips-tdep.c (mips_frame_saved_pc, mips16_heuristic_proc_desc, | |
7398 | mips_push_arguments, mips_push_dummy_frame, | |
7399 | mips_use_struct_convention): Ditto. For MIPS_SAVED_REGSIZE < | |
7400 | REGISTER_RAW_SIZE, handle little/big endian issues from only using | |
7401 | half the register. | |
7402 | (STACK_ARGSIZE): Default to MIPS_SAVED_REGSIZE instead of | |
7403 | MIPS_REGSIZE. | |
7404 | ||
7405 | * mips-tdep.c (struct gdbarch_tdep, FP_REGISTER_DOUBLE, | |
7406 | mips_gdbarch_init): Apply similar changes. Add | |
7407 | mips_fp_register_double to struct. | |
7408 | ||
7a292a7a | 7409 | Wed Feb 17 10:10:27 1999 Stu Grossman <grossman@babylon-5.cygnus.com> |
c906108c SS |
7410 | |
7411 | * gdbtypes.h (get_discrete_bounds): Remove duplicate decl. | |
7412 | ||
7413 | * jv-typeprint.c (java_type_print_base): Change fputs => fputs_filtered. | |
7414 | ||
7a292a7a | 7415 | Mon Jan 25 18:30:57 1999 Per Bothner <bothner@cygnus.com> |
c906108c SS |
7416 | |
7417 | * jv-lang.h (JAVA_OBJECT_SIZE): Change from hard-wired constant. | |
7418 | (java_primitive_type_from_name, get_java_object_header_size): Declare. | |
7419 | * jv-lang.c (java_class_from_object): Use get_java_object_type. | |
7420 | * jv-lang.c: Update Class field names: dtable->vtable, | |
7421 | msize->method_count, nfields->field_count, bfsize->size_in_bytes, | |
7422 | nmethods->method_count. | |
7423 | (type_from_class): Demangle array type names. | |
7424 | (java_link_class_type): Array type names are now demangled. | |
7425 | (get_java_object_type): If not defined yet, try looking it up. | |
7426 | (get_java_object_header_size): New function. | |
7427 | (java_primitive_type_from_name): New function. | |
7428 | (java_demangled_signature_length, java_demangled_signature_copy): New. | |
7429 | (java_demangle_type_signature): Re-implement using above functions. | |
7430 | (evaluate_subexp_java): For UNOP_IND, call evaluate_subexp_java | |
7431 | to evaluate subexp (not evaluate_subexp_standard). | |
7432 | For BINOP_SUBSCRIPT update for new array type naming scheme. | |
7433 | * jv-valprint.c (java_value_print): Use java_class_from_object. | |
7434 | Update array printing to new array type naming convention. | |
7435 | (java_val_print): Doing check_typedef when printing a pointer is | |
7436 | is a waste of effort. Also, handle TYPE_CODE_INT, to make sure | |
7437 | Java bytes as not printed as C chars. | |
7438 | ||
7a292a7a | 7439 | Fri Jan 8 16:58:22 1999 Stu Grossman <grossman@babylon-5.cygnus.com> |
c906108c SS |
7440 | |
7441 | * blockframe.c (find_pc_sect_partial_function): Search full symtabs as | |
7442 | a last ditch effort (after the partial & minimal symtabs). | |
7443 | * defs.h utils.c: Fixup prototypes for vprintf_filtered, | |
7444 | vfprintf_filtered, vfprintf_unfiltered and vprintf_unfiltered to return | |
7445 | ints to match their standard equivalents. | |
7446 | * defs.h symtab.c top.c: Create skip_prologue_hook to allow Java to | |
7447 | control the prologue skipping process. | |
7448 | * jv-typeprint.c (java_type_print_base): Remove extern for | |
7449 | jv_class_demangle, add new arg for objfile (NULL). | |
7450 | * symtab.h: Remove struct sourcevector and struct source. Definately | |
7451 | not needed. | |
7452 | * values.c (value_virtual_fn_field): Fixes code to handle new vtable | |
7453 | debug info format. Patch from marka. | |
7454 | ||
7a292a7a | 7455 | Wed Dec 16 23:11:25 1998 Stu Grossman <grossman@fencer.cygnus.com> |
c906108c SS |
7456 | |
7457 | * jv-lang.c (java_class_from_object java_class_is_primitive | |
7458 | is_object_type): Change dtable to vtable. | |
7459 | * (java_primitive_type): Change arg to type char. | |
7460 | * (_initialize_java_language): Make java_char_type be unsigned. | |
7461 | * jv-lang.h: Fixup prototypes. | |
7462 | ||
7a292a7a | 7463 | Mon Dec 7 19:02:15 1998 Stu Grossman <grossman@babylon-5.cygnus.com> |
c906108c SS |
7464 | |
7465 | * jv-valprint.c (java_value_print): Fix printing of values where | |
7466 | run time type != compile time type. | |
7467 | ||
7a292a7a SS |
7468 | Fri Dec 4 15:23:38 1998 Stu Grossman <grossman@fencer.cygnus.com> |
7469 | ||
c906108c SS |
7470 | * Makefile.in: Whack out m2-typeprint.c. |
7471 | * c-typeprint.c (c_type_print_varspec_suffix) typeprint.h: Make this | |
7472 | global. It's needed by Java. | |
7473 | * (c_type_print_base): Whack prefix off of qualified method names | |
7474 | (names with name spaces). | |
7475 | * gdbtypes.h (struct cplus_struct_type): Add bits for Java attributes. | |
7476 | Shrink voffset | |
7477 | to 16 bits to compensate for added bits above (hopefully this is still | |
7478 | enough). | |
7479 | * Add new accessor macros (TYPE_FND_FIELD_PUBLIC, ...) for all new | |
7480 | attribute bits. | |
7481 | * jv-typeprint.c (java_type_print_base): Fix printing of method | |
7482 | attributes. Handle JVM style manglings. | |
7483 | * (java_print_type): Enable code type print varspec_suffix to allow | |
7484 | array indices to print out. | |
7485 | * jv-valprint.c (java_val_print): Minor formatting. | |
7486 | * m2-lang.c (m2_language_d): Change m2_print_type to c_print_type. | |
7487 | * stabsread.c (read_member_functions): Save public and static attributes. | |
7a292a7a SS |
7488 | |
7489 | Wed Feb 17 15:32:57 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
c906108c | 7490 | |
c906108c SS |
7491 | * breakpoint.c (watch_command_1): Reformat comment. |
7492 | ||
c906108c SS |
7493 | * c-typeprint.c (c_type_print_base): Reformat comments. |
7494 | ||
7a292a7a SS |
7495 | 1999-02-17 Jim Blandy <jimb@zwingli.cygnus.com> |
7496 | ||
7497 | * Makefile.in (VERSION): Bump version to 4.17.2. | |
7498 | ||
7499 | Tue Feb 16 15:48:20 1999 Edith Epstein <eepstein@sophia.cygnus.com> | |
7500 | ||
c906108c SS |
7501 | * config/pa/nm-hppah.h: Added prototype declarations for |
7502 | hppa_enable_page_protection_events and | |
7503 | hppa_disable_page_protection_events. | |
7a292a7a | 7504 | |
c906108c SS |
7505 | * inftarg.c (child_wait): Fixed code that checks whether |
7506 | or not the target program has done a fork/vfork. | |
7507 | related_pid does not have a value unless the target | |
7508 | program has forked/vforked. | |
7a292a7a SS |
7509 | |
7510 | * infttrace.c (hppa_insert_hw_watchpoint): Make sure that | |
7511 | function always returns a value. | |
7512 | (hppa_remove_hw_watchpoint): Make sure that function always | |
7513 | returns a value. | |
c906108c | 7514 | |
7a292a7a | 7515 | Tue Feb 16 06:31:58 1999 Keith Seitz <keiths@cygnus.com> |
c906108c | 7516 | |
7a292a7a SS |
7517 | * config/powerpc/tm-ppc-eabi.h: Do not define PC_IN_CALL_DUMMY, |
7518 | let the generic call dummy infrastructure do it. | |
c906108c SS |
7519 | |
7520 | Sun Feb 14 18:21:08 1999 Mark Alexander <marka@cygnus.com> | |
7521 | ||
7522 | * config/sh/tm-sh.h (BELIEVE_PCC_PROMOTION): Define, so that | |
7523 | coffread.c will correctly handle char or short function parameters. | |
7524 | ||
7525 | 1999-02-11 Jason Molenda (jsm@bugshack.cygnus.com) | |
7526 | ||
7527 | * configure, aclocal.m4: Regenerate with correct version of aclocal. | |
7528 | ||
7529 | 1999-02-10 Syd Polk <spolk@cygnus.com> | |
7530 | ||
7531 | * acinclude.m4: Fix for new location of itclConfig.sh and itkConfig.sh. | |
7532 | * aclocal.m4: Regnerate. | |
7533 | * configure: Regenerate. | |
7534 | ||
7535 | 1999-02-10 Jason Molenda (jsm@bugshack.cygnus.com) | |
7536 | ||
7537 | * demangle.c: Fix comments to mention "set demangle-style" | |
7538 | instead of "set demangle". | |
7539 | Run through indent to fix minor indenting problems. | |
7540 | ||
7541 | Wed Feb 10 17:53:09 1999 Bob Manson <manson@charmed.cygnus.com> | |
7542 | ||
7543 | * i386-tdep.c (gdb_print_insn_i386): Add missing returns. | |
7544 | ||
7545 | Wed Feb 10 13:17:21 1999 Stan Shebs <shebs@andros.cygnus.com> | |
7546 | ||
7547 | Declare Gould configuration obsolete: | |
7548 | * configure.host, configure.tgt: Comment out Gould configs. | |
7549 | * Makefile.in: Comment out Gould-related actions. | |
7550 | * gould-xdep.c, gould-tdep.c, config/gould/*: Comment out. | |
7551 | * NEWS: Mention obsolete status. | |
7552 | ||
7553 | 1999-02-09 DJ Delorie <dj@cygnus.com> | |
7554 | ||
7555 | * sparcl-tdep.c: UDP download works in cygwin | |
7556 | ||
7557 | 1999-02-08 Jason Molenda (jsm@bugshack.cygnus.com) | |
7558 | ||
7559 | * gnu-regex.c: Check ENABLE_NLS instead of HAVE_LIBINTL_H. | |
7560 | * configure.in: Don't check for libintl.h. | |
7561 | * configure, config.in: Regenerated. | |
7562 | ||
7563 | Mon Feb 8 18:10:50 1999 Stan Shebs <shebs@andros.cygnus.com> | |
7564 | ||
7565 | * NEWS: Mention new X packet and PowerPC variant support. | |
7566 | ||
7567 | 1999-02-08 Nick Clifton <nickc@cygnus.com> | |
7568 | ||
7569 | * configure.host: Add support for StrongARM host. | |
7570 | * configure.tgt: Add support for StrongARM target. | |
7571 | ||
7572 | Mon Feb 8 12:05:05 1999 David Taylor <taylor@texas.cygnus.com> | |
7573 | ||
7574 | * dsrec.c (make_srec): Cast targ_addr to int in call to sprintf | |
7575 | otherwise on big endian machine with a bfd_vma of 64 bits, | |
7576 | *everything* gets loaded at location 0. | |
7577 | ||
7578 | Mon Feb 7 10:05:43 1999 Frank Ch. Eigler <fche@cygnus.com> | |
7579 | ||
7580 | * infrun.c (wait_for_inferior): Allow SIGTRAP to be "pass"ed | |
7581 | to target program. | |
7582 | ||
7583 | Fri Feb 5 16:46:14 1999 Stan Shebs <shebs@andros.cygnus.com> | |
7584 | ||
7585 | * NEWS: Add mentions of various new things. | |
7586 | ||
7587 | Thu Feb 4 00:19:14 1999 Christopher Faylor <cgf@cygnus.com> | |
7588 | ||
7589 | * configure.in: Move termcap determination later in the | |
7590 | file to catch setting of cygwin flag. | |
7591 | * configure: Regenerate. | |
7592 | ||
7593 | Wed Feb 3 14:16:38 1999 Christopher Faylor <cgf@cygnus.com> | |
7594 | ||
7595 | * config/i386/cygwin.mh: Move TERMCAP test code to configure.in. | |
7596 | * configure.in: Treat libtermcap.a detection as a special case | |
7597 | when hosting on cygwin. | |
7598 | * configure: Regenerate. | |
7599 | ||
7600 | 1999-02-03 Keith Seitz <keiths@cygnus.com> | |
7601 | ||
7602 | * remote.c (remote_binary_download, remote_binary_length): New | |
7603 | static globals for dealing with binary transmissions. | |
7604 | (remote_write_bytes): Add support for binary downloads | |
7605 | by shadowing the "M" packet with a new "X" packet. This | |
7606 | defaults to ON; if the stub does not understand this, it | |
7607 | will fall back to using "M". | |
7608 | (putpkt): Add support for binary downloading. | |
7609 | * monitor.c (monitor_expect): The mon2000 monitor | |
7610 | on the MSA2000 will also emit random DC1/DC3 chars. | |
7611 | * m32r-stub.c: Change all char's to unsigned char's | |
7612 | to support binary downloading. | |
7613 | (handle_exception): Add support for binary downloading | |
7614 | via a new "X" packet. | |
7615 | (getpacket): Do NOT strip eighth bit of incoming chars. | |
7616 | Watch out for escaped characters in the incoming stream. | |
7617 | (putpacket): Do NOT strip eighth bit of incoming chars. | |
7618 | (bin2mem): New function to write binary data directly to | |
7619 | memory. | |
7620 | * m32r-rom.c: Add new "mon2000" target. | |
7621 | ||
7622 | Tue Feb 2 18:40:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
7623 | ||
7624 | * hp-psymtab-read.c (hpread_build_psymtabs): Coerce first arg | |
7625 | passed to make_cleanup to the correct type. | |
7626 | (hpread_quick_traverse): Change fifth arg to call to | |
7627 | hpread_end_psymtab to be 0. | |
7628 | Compare CURR_MODULE_END to 0 rather than NULL. | |
7629 | Get rid of ifdef'ed out code. | |
7630 | (scan_procs): Get rid of ifdef'ed out code. | |
7631 | ||
7632 | * somread.c (som_symfile_read): Coerce first argument passed to | |
7633 | make_cleanup to the correct type. | |
7634 | ||
7635 | Tue Feb 2 17:36:29 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
7636 | ||
7637 | * hp-psymtab-read.c (do_pxdb): New function. Check whether the | |
7638 | file needs to be processed by pxdb (an HP debug info massaging | |
7639 | tool), if so call it. | |
7640 | (hpread_build_psymtabs): Initialize scan_start to 0 and | |
7641 | simplify flow of control. | |
7642 | ||
7643 | * somread.c (som_symfile_read): Add call to do_pxdb (), | |
7644 | in hp-psymtab-read.c. | |
7645 | ||
7646 | * symfile.c (symbol_file_add): Remove ifdef'ed out HPUX specific | |
7647 | code. | |
7648 | (symfile_bfd_open): Remove HPUXHPPA ifdef'ed code. Code is now | |
7649 | in hp-psymtab-read.c. | |
7650 | ||
7651 | 1999-02-02 Martin Hunt <hunt@cygnus.com> | |
7652 | ||
7653 | * printcmd.c (print_scalar_formatted): Use strcat to concat all | |
7654 | the output together before calling fprintf_filtered(). | |
7655 | ||
7656 | 1999-02-01 Jason Molenda (jsm@bugshack.cygnus.com) | |
7657 | ||
7658 | * configure.in: Require autoconf 2.13. | |
7659 | (AM_EXEEXT): Replace with new AC_EXEEXT. | |
7660 | * acinclude.m4: Move itcl header macros from aclocal.m4 to here. | |
7661 | * aclocal.m4: Regenerated. | |
7662 | * configure: Regenerated. | |
7663 | ||
7664 | 1999-02-01 Jim Blandy <jimb@zwingli.cygnus.com> | |
7665 | ||
7666 | Allow PPC users to select which PPC/RS6000 variant they're | |
7667 | debugging at run-time. At the moment, the only thing this affects | |
7668 | is the set of registers visible. | |
7669 | * config/rs6000/tm-rs6000.h (REGISTER_NAME): Define this as a call | |
7670 | to the function rs6000_register_name. | |
7671 | (rs6000_register_name): Include extern decl. | |
7672 | (NUM_REGS): Bump to 183. What's the right way to do this? | |
7673 | (FIRST_UISA_SP_REGNUM, LAST_UISA_SP_REGNUM): Renamed from | |
7674 | FIRST_SP_REGNUM, LAST_SP_REGNUM. | |
7675 | (REGISTER_BYTES): Recompute this. | |
7676 | * rs6000-tdep.c: Renamed all uses of FIRST_SP_REGNUM and | |
7677 | LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with | |
7678 | some concomitant formatting changes. | |
7679 | #include "gdbcmd.h", so we can define commands here. | |
7680 | (struct variant): New structure. | |
7681 | (COMMON_UISA_REG_NAMES, PPC_UISA_SPR_NAMES, PPC_SEGMENT_REG_NAMES, | |
7682 | PPC_32_OEA_SPR_NAMES, num_registers): New macros. | |
7683 | (register_names_rs6000, register_names_uisa, register_names_403, | |
7684 | register_names_403GC, register_names_505, register_names_860, | |
7685 | register_names_601, register_names_602, register_names_603, | |
7686 | register_names_604, register_names_750, variants): New variables. | |
7687 | (rs6000_register_name, install_variant, find_variant_by_name, | |
7688 | install_variant_by_name, list_variants, show_current_variant, | |
7689 | set_processor, show_processor): New functions. | |
7690 | (_initialize_rs6000_tdep): Define new commands `set processor' and | |
7691 | `show processor', and call install_variant_by_name to set the | |
7692 | default variant. | |
7693 | * rs6000-nat.c: Renamed all uses of FIRST_SP_REGNUM and | |
7694 | LAST_SP_REGNUM to FIRST_UISA_SP_REGNUM and LAST_UISA_SP_REGNUM, with | |
7695 | some concomitant formatting changes. | |
7696 | * configure.in: Accept the `--with-cpu' flag, to specify a default | |
7697 | processor variant. | |
7698 | * acconfig.h: Provide a blurb for TARGET_CPU_DEFAULT, which is set | |
7699 | by configure's `--with-cpu' flag. | |
7700 | * config.in, configure: Regenerated. | |
7701 | ||
7702 | Sun Jan 31 15:24:24 1999 Stan Shebs <shebs@andros.cygnus.com> | |
7703 | ||
7704 | * buildsym.h, buildsym.c: Convert to ANSI-only. | |
7705 | ||
7706 | * buildsym.h, buildsym.c: Reformat to standard. | |
7707 | ||
7708 | * buildsym.c (merge_symbol_lists): Remove unused variable. | |
7709 | (_initialize_buildsym): Remove, does nothing. | |
7710 | ||
7711 | 1999-01-31 J.T. Conklin <jtc@redbacknetworks.com> | |
7712 | ||
7713 | * i386-stub.c, m32r-stub.c, m68k-stub.c, sh-stub.c, sparc-stub.c, | |
7714 | sparcl-stub, sparclet-stub.c: Change declaration of putDebugChar | |
7715 | to include explicit void return type as per documentation. Fix up | |
7716 | occasions where stubs erroneously checked return type. | |
7717 | ||
7718 | Sun Jan 31 13:18:33 1999 Stan Shebs <shebs@andros.cygnus.com> | |
7719 | ||
7720 | From J.T. Conklin <jtc@redbacknetworks.com>: | |
7721 | * remote.c (remote_query): Fix tipo. | |
7722 | ||
7723 | Fri Jan 29 15:25:09 1999 Stan Shebs <shebs@andros.cygnus.com> | |
7724 | ||
7725 | * configure.tgt (v850): Add wildcard to match. | |
7726 | ||
7727 | Fri Jan 29 16:44:01 1999 Edith Epstein <eepstein@sophia.cygnus.com> | |
7728 | ||
7729 | * inferior.h: Ran indent. | |
7730 | ||
7731 | * fork-child.c: Ran indent. | |
7732 | ||
7733 | * infrun.c : Ran indent. | |
7734 | ||
7735 | Fri Jan 29 12:57:34 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
7736 | ||
7737 | * infrun.c (_initialize_infrun): Do not stop or print anything | |
7738 | when a SIGWINCH is received. | |
7739 | ||
7740 | * Makefile.in (m2-exp.tab.c): Use YACC not BISON. | |
7741 | (f-exp.tab.c): Ditto. | |
7742 | (jv-exp.tab.c): Ditto. | |
7743 | (c-exp.tab.c): Ditto. | |
7744 | (YACC): Define as @YACC@. | |
7745 | ||
7746 | 1999-01-29 Martin Hunt <hunt@cygnus.com> | |
7747 | ||
7748 | Changes from Keith Seitz <keiths@cygnus.com> | |
7749 | * valops.c (value_assign): Add calls to register_changed_hook and | |
7750 | memory_changed_hook to inform UIs that the user has changed | |
7751 | the target's registers/memory. | |
7752 | * findvar.c (write_register_gen): Remove call to pc_changed_hook. | |
7753 | * defs.h: Remove declaration for pc_changed_hook and | |
7754 | add declarations for register_changed_hook and | |
7755 | memory_changed_hook. | |
7756 | * top.c: Ditto. | |
7757 | ||
7758 | 1999-01-29 Mark Alexander <marka@cygnus.com> | |
7759 | ||
7760 | * procfs.c (wait_fd): Handle deleted threads correctly. | |
7761 | ||
7762 | 1999-01-28 Jason Molenda (jsm@bugshack.cygnus.com) | |
7763 | ||
7764 | * utils.c (init_page_info): Force window size if running under emacs. | |
7765 | ||
7766 | 1999-01-27 James Ingham <jingham@cygnus.com> | |
7767 | ||
7768 | * typeprint.c (whatis_exp): Remove static declaration. | |
7769 | ||
7770 | Wed Jan 27 16:50:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
7771 | ||
7772 | * hp-psymtab-read.c: Reformat using indent. | |
7773 | ||
7774 | Wed Jan 27 13:20:25 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
7775 | ||
7776 | * hp-psymtab-read.c: Reformat comments, update copyright. | |
7777 | ||
c2d11a7d JM |
7778 | Wed Jan 27 15:09:22 1999 Andrew Cagney <cagney@chook.cygnus.com> |
7779 | ||
7780 | * mips-tdep.c (mips_gdbarch_init): Trace e_flags from BFD | |
7781 | elf_info. | |
7782 | ||
c906108c SS |
7783 | Tue Jan 26 16:02:47 1999 Mark Alexander <marka@cygnus.com> |
7784 | ||
7785 | * v850-tdep.c (v850_generic_reg_names, v850e_reg_names, | |
7786 | v850_register_names, v850_processor_type_table): Declare tables | |
7787 | and structures for handling differences in register names for | |
7788 | v850 and v850e. | |
7789 | (struct reg_list): Define new structure for creating tables | |
7790 | of register bit masks in v850e instrutions. | |
7791 | (handle_prepare, handle_pushm): New helpers for v850_scan_prologue. | |
7792 | (v850_scan_prologue): Recognize v850e instructions: callt, prepare, | |
7793 | and pushm. | |
7794 | (v850_target_architecture_hook): New function to set register | |
7795 | names based on current machine. | |
7796 | (_initialize_v850_tdep): Set up target_architecture_hook. | |
7797 | * config/v850/tm-v850.h (v850_register_names): Declare. | |
7798 | (REGISTER_NAME): Define to refer to v850_register_names. | |
7799 | (SR0_REGNUM, CTBP_REGNUM): Define. | |
7800 | (PS_REGNUM): Redefine in terms of SR0_REGNUM. | |
7801 | ||
7802 | Tue Jan 26 18:27:26 1999 Elena Zannoni <ezannoni@kwikemart.cygnus.com> | |
7803 | ||
7804 | * Makefile.in (c-exp.tab.c): Use BISON instead of YACC, to pick | |
7805 | the correct value from configure output. | |
7806 | (jv-exp.tab.c): Ditto. | |
7807 | (f-exp.tab.c): Ditto. | |
7808 | (m2-exp.tab.c): Ditto. | |
7809 | ||
7810 | 1999-01-26 Jason Molenda (jsm@bugshack.cygnus.com) | |
7811 | ||
7812 | * breakpoint.h (ep_is_exception_catchpoint): Add prototype. | |
7813 | * frame.h (select_and_print_frame): Add prototype. | |
7814 | * stack.c (func_command): Call select_and_print_frame with correct | |
7815 | number of arguments. Reformat whitespace. | |
7816 | ||
7817 | Tue Jan 26 16:53:54 1999 Fernando Nasser <fnasser@cygnus.com> | |
7818 | ||
7819 | * remote.c (remote_query): fix maximum packet size to account for | |
7820 | remote_debug use. | |
7821 | (putpkt): add comment to alert about extra byte need. | |
7822 | ||
7823 | Mon Jan 25 19:55:30 1999 Mark Alexander <marka@cygnus.com> | |
7824 | ||
7825 | * sh-tdep.c (sh_target_architecture_hook): Return immediately | |
7826 | when a matching machine is found. | |
7827 | ||
7828 | Fri Jan 22 09:10:35 1999 Mark Alexander <marka@cygnus.com> | |
7829 | ||
7830 | * remote-mips.c (mips_initialize): Fix parameters to clear_breakpoint. | |
7831 | (common_breakpoint): Restore support for instruction breakpoints | |
7832 | on non-LSI targets. | |
7833 | ||
7834 | Thu Jan 21 17:16:19 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
7835 | ||
7836 | * stack.c: Close open comment. | |
7837 | * symtab.c (find_pc_sect_line): Ditto. | |
7838 | ||
7839 | Thu Jan 21 17:51:51 1999 Stan Shebs <shebs@andros.cygnus.com> | |
7840 | ||
7841 | * procfs.c (init_procfs_ops): New function, fills in procfs_ops, | |
7842 | init only nonzero fields, leave to_require_attach and | |
7843 | to_require_detach empty, not needed for /proc systems yet. | |
7844 | (_initialize_procfs): Call init_procfs_ops. | |
7845 | ||
7846 | From J.T. Conklin <jtc@redbacknetworks.com>: | |
7847 | * top.c (init_main): Fix tipo in description of the remotetimeout | |
7848 | variable. | |
7849 | * breakpoint.c (bpstat_stop_status): Handle systems where | |
7850 | DECR_PC_AFTER_BREAK != DECR_PC_AFTER_HW_BREAK. | |
7851 | ||
7852 | Thu Jan 21 17:25:46 1999 Mark Alexander <marka@cygnus.com> | |
7853 | ||
7854 | * mon960-rom.c (_initialize_mon960): Call init_mon960_cmds | |
7855 | to fill in mon960_cmds structure properly. | |
7856 | ||
7857 | Wed Jan 20 17:53:22 1999 Stan Shebs <shebs@andros.cygnus.com> | |
7858 | ||
7859 | * remote-sds.c (sds_ops): Define only once. | |
7860 | (init_sds_ops, sds_command, _initialize_remote_sds): Declare. | |
7861 | (init_sds_ops): Init only non-zero fields. | |
7862 | ||
7863 | Wed Jan 20 15:45:15 1999 Mark Alexander <marka@cygnus.com> | |
7864 | ||
7865 | * h8300-tdep.c (original_register_names, h8300h_register_names, | |
7866 | h8300_register_names): Define new variables. | |
7867 | (set_register_names): New function to set register names based on | |
7868 | current CPU type. | |
7869 | (h8300_command, h8300h_command, h8300s_command): Call | |
7870 | set_register_names. | |
7871 | * config/h8300/tm-h8300.h (h8300_register_names): Declare. | |
7872 | (REGISTER_NAME): Define to refer to h8300_register_names. | |
7873 | ||
7874 | 1999-01-19 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
7875 | ||
7876 | * sol-thread.c abug-rom.c cpu32bug-rom.c dbug-rom.c m32r-rom.c | |
7877 | mac-nat.c mon960-rom.c op50-rom.c ppc-bdm.c remote-adapt.c | |
7878 | remote-array.c remote-bug.c remote-e7000.c remote-eb.c remote-es.c | |
7879 | remote-est.c remote-hms.c remote-mm.c remote-nindy.c remote-nrom.c | |
7880 | remote-os9k.c remote-rdp.c remote-sds.c remote-sim.c remote-st.c | |
7881 | remote-udi.c rom68k-rom.c sh3-rom.c sparcl-tdep.c sparclet-rom.c | |
7882 | v850ice.c win32-nat.c: cosmetic changes to conform to coding | |
7883 | standards. | |
7884 | ||
7885 | 1999-01-19 Jim Blandy <jimb@zwingli.cygnus.com> | |
7886 | ||
7887 | Use aclocal to generate GDB's aclocal.m4 script. | |
7888 | * acinclude.m4: New file, containing the hand-written local macro | |
7889 | definitions that used to be in aclocal.m4. Don't sinclude | |
7890 | ../bfd/aclocal.m4 any more; running aclocal in this directory will | |
7891 | get us the definitions we need. HOWEVER: Do sinclude | |
7892 | ../bfd/acinclude.m4, because we need the definition of | |
7893 | BFD_NEED_DECLARATION. | |
7894 | * aclocal.m4: Regenerated by aclocal. | |
7895 | * configure: Regenerated by autoconf. | |
7896 | ||
7897 | Tue Jan 19 10:27:23 1999 David Taylor <taylor@texas.cygnus.com> | |
7898 | ||
7899 | * breakpoint.c (disable_breakpoints_in_shlibs): new parameter, | |
7900 | silent, controls whether to print message about removal of shared | |
7901 | library breakpoints. | |
7902 | * breakpoint.h (disable_breakpoints_in_shlibs): decl updated. | |
7903 | * irix5-nat.c (clear_solib): call disable_breakpoints_in_shlibs. | |
7904 | * osfsolib.c (clear_solib): ditto. | |
7905 | * solib.c (clear_solib): ditto. | |
7906 | * somsolib.c (som_solib_restart): update call to | |
7907 | disable_breakpoints_in_shlibs. | |
7908 | ||
7909 | * target.h (child_post_attach): only declare if CHILD_POST_ATTACH | |
7910 | is define. | |
7911 | ||
7912 | Tue Jan 19 18:07:11 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
7913 | ||
7914 | * corelow.c (solib_add_stub): Ditto. | |
7915 | (core_file_to_sym_file): Cast make_cleanup parameter. | |
7916 | ||
7917 | * solib.c (symbol_add_stub, solib_map_sections): Change argument | |
7918 | to PTR insted of a char*. Matches catch_errors interface. | |
7919 | ||
7920 | Mon Jan 18 14:01:24 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
7921 | ||
7922 | * remote-array.c (array_open): Don't use fprintf_filtered to send | |
7923 | data to the log file. | |
7924 | ||
7925 | * remote-array.c (handle_load_dll): Change argument type to PTR so | |
7926 | that it is compatible with catch_errors. | |
7927 | * ocd.c (ocd_start_remote): Ditto. | |
7928 | * remote-sds.c (sds_start_remote): Ditto. | |
7929 | ||
7930 | * win32-nat.c (win32_child_thread_alive): Namespace proof | |
7931 | child_thread_alive. | |
7932 | (init_child_ops): Update. | |
7933 | ||
7934 | Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
7935 | ||
7936 | * remote-rdi.c (arm_rdi_open): Set gdb_hostif.hostosarg and | |
7937 | gdb_hostif.dbgarg to NULL instead of stdout. | |
7938 | (voiddummy, myprint, mywritec): Use gdb_stdout instead of stdout. | |
7939 | ||
7940 | Mon Jan 18 16:40:50 1999 Stan Shebs <shebs@andros.cygnus.com> | |
7941 | ||
7942 | * ser-ocd.c (ocd_open): Handle Unix case gracefully. | |
7943 | ||
7944 | * target.c (dummy_target): Don't initialize statically. | |
7945 | (init_dummy_target): New function, fills in dummy_target. | |
7946 | (initialize_targets): Use it. | |
7947 | * hpux-thread.c (hpux_thread_ops): Don't initialize statically. | |
7948 | (init_hpux_thread_ops): New function, fills in hpux_thread_ops. | |
7949 | (_initialize_hpux_thread): Use it. | |
7950 | * m3-nat.c (m3_ops): Don't initialize statically. | |
7951 | (init_m3_ops): New function, fills in m3_ops. | |
7952 | (_initialize_m3): Use it. | |
7953 | ||
7954 | 1999-01-18 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
7955 | ||
7956 | * sol-thread.c: delete compile time initialization of target_ops | |
7957 | (_initialize_sol_thread): initialize target_ops at run time. | |
7958 | * hpux-thread.c: added target_ops entry. | |
7959 | * m3-nat.c: ditto. | |
7960 | ||
7961 | Mon Jan 18 15:19:13 1999 David Taylor <taylor@texas.cygnus.com> | |
7962 | ||
7963 | * procfs.c (procfs_ops): delete compile time initialization. | |
7964 | (_initialize_procfs): initialize procfs_ops at run time. | |
7965 | ||
7966 | Mon Jan 18 12:51:44 1999 Christopher Faylor <cgf@cygnus.com> | |
7967 | ||
7968 | * configure.in: Ensure that -luser32 is always linked in | |
7969 | for cygwin build. | |
7970 | * configure: Regenerated. | |
7971 | ||
7972 | Mon Jan 18 08:38:05 1999 Mark Alexander <marka@cygnus.com> | |
7973 | ||
7974 | * values.c (value_virtual_fn_field): Clear the pointed-to | |
7975 | offset when casting to the base class. | |
7976 | ||
7977 | Mon Jan 18 10:30:51 1999 David Taylor <taylor@texas.cygnus.com> | |
7978 | ||
7979 | * remote-udi.c (init_udi_ops): change non-existant udi_run_ops to | |
7980 | udi_ops; delete NULL initializers. | |
7981 | ||
7982 | Mon Jan 18 12:03:47 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
7983 | ||
7984 | * serial.c (serial_close): gdb_fclose tages gdb_file** arg, not | |
7985 | gdb_file*. | |
7986 | ||
7987 | * f-valprint.c, target.c, gdbarch.c: Pass gdb_stderr not stderr. | |
7988 | ||
7989 | Mon Jan 18 10:46:12 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
7990 | ||
7991 | * stack.c (print_frame_info_base): Don't cast call to | |
7992 | catch_errors. | |
7993 | (print_args_stub): Change char* arg to PTR. | |
7994 | * symmisc.c (print_symbol): Ditto. | |
7995 | * top.c (quit_cover): Ditto. | |
7996 | * remote.c (remote_open_1, remote_start_remote): Ditto. | |
7997 | * infrun.c (normal_stop, hook_stop_stub, restore_selected_frame): | |
7998 | Ditto. | |
7999 | ||
8000 | * stack.c (backtrace_command): Cast first arg of make_cleanup to | |
8001 | make_cleanup_func. | |
8002 | * remote.c (remote_kill): Cast putpkt arg to catch_errors_ftype. | |
8003 | ||
8004 | Mon Jan 18 08:47:02 1999 Andrew Cagney <cagney@b1.cygnus.com> | |
8005 | ||
8006 | * defs.h (catch_errors_ftype): Define. | |
8007 | (catch_errors): Replace char* arg with PTR arg. | |
8008 | * top.c (catch_errors): Update | |
8009 | ||
8010 | * breakpoint.c (bpstat_stop_status, bpstat_stop_status, | |
8011 | delete_breakpoint, breakpoint_re_set): Delete all casts in call to | |
8012 | catch_errors. | |
8013 | (breakpoint_cond_eval, watchpoint_check, | |
8014 | cover_target_enable_exception_callback, breakpoint_re_set_one): | |
8015 | Arg is PTR not char*. | |
8016 | ||
8017 | * breakpoint.c (cover_target_enable_exception_callback): Change | |
8018 | type to int. Check for cast values of 0 and -1. Return a result! | |
8019 | (insert_breakpoints): Move declaration of SAL and ARGS to where | |
8020 | they are used. | |
8021 | ||
8022 | 1999-01-16 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
8023 | ||
8024 | * remote.c (remote_query): new function - creates proper interface | |
8025 | to the remote protocol "q" command. | |
8026 | ||
8027 | Fri Jan 15 17:11:48 EST 1999 Zdenek Radouch (radouch@cygnus.com) | |
8028 | ||
8029 | * config/fr30/tm-fr30.h: Changed ABI to match GCC change | |
8030 | (always use pointer for structs passed by value). | |
8031 | ||
8032 | 1999-01-15 Fernando Nasser <fnasser@totem.to.cygnus.com> | |
8033 | ||
8034 | * target.h: added entry for target queries (to_query) | |
8035 | target.c: ditto. | |
8036 | ||
8037 | Thu Jan 14 18:29:17 1999 David Taylor <taylor@texas.cygnus.com> | |
8038 | ||
c2d11a7d JM |
8039 | * mips-tdep.c (mips_gdbarch_init): fix stream arg in |
8040 | fprintf_unfiltered calls. | |
c906108c SS |
8041 | * remote-mm.c (mm_wait): fix stream arg to gdb_flush. |
8042 | * remote-udi.c (udi_wait): fix stream arg to fwrite. | |
8043 | * symmisc.c (maintenance_check_symtabs): fix stream argument to | |
8044 | print_address_numeric. | |
8045 | ||
8046 | Wed Jan 13 19:33:16 1999 David Taylor <taylor@texas.cygnus.com> | |
8047 | ||
8048 | * breakpoint.c (insert_breakpoints): insert cast to eliminate | |
8049 | warning. | |
8050 | ||
8051 | Wed Jan 13 14:59:02 1999 Michael Snyder <msnyder@cleaver.cygnus.com> | |
8052 | ||
8053 | * infrun.c (set/show scheduler-locking) New command. Set a | |
8054 | mode bit that will control how GDB attempts to control thread | |
8055 | scheduling for step, continue, etc. (resume): make use of | |
8056 | the schedule-locking mode. | |
8057 | * target.h (struct target_ops): new field to_has_thread_control. | |
8058 | * sol-thread.c: initialize target_ops to_has_thread_control. | |
8059 | * procfs.c: ditto. | |
8060 | * target.c: ditto. | |
8061 | * m3-nat.c: ditto. | |
8062 | * remote.c: ditto. | |
8063 | * hpux-thread.c: ditto. | |
8064 | * thread.c: cull duplicate prototypes. Move prototypes to top. | |
8065 | * serial.c: indentation cleanup. | |
8066 | * breakpoint.c: add casts to eliminate compiler warnings. | |
8067 | ||
8068 | Tue Jan 12 17:00:00 1999 Edith Epstein <eepstein@sophia.cygnus.com> | |
8069 | ||
8070 | * inftarg.c (child_create_inferior): fixed HPUXHPPA specific | |
8071 | call to fork_inferior. The shell param is now NULL. | |
8072 | ||
8073 | 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com) | |
8074 | ||
8075 | * monitor.c (init_base_monitor_ops): Whitespace cleanup. | |
8076 | (_initialize_remote_monitors): Same. | |
8077 | ||
8078 | 1999-01-12 Jason Molenda (jsm@bugshack.cygnus.com) | |
8079 | ||
8080 | * monitor.c (init_monitor_ops): Initialize the monitor_ops | |
8081 | structure if it hasn't already been done. | |
8082 | ||
8083 | Tue Jan 12 14:50:10 1999 Stan Shebs <shebs@andros.cygnus.com> | |
8084 | ||
8085 | * inftarg.c (child_ops): Don't initialize statically. | |
8086 | (init_child_ops): New function, fills in child_ops. | |
8087 | (_initialize_inftarg): Use it. | |
8088 | (child_post_attach): Declare extern. | |
8089 | (child_wait): Fix ambiguous parens. | |
8090 | (child_attach_to_process): Remove unused local wstatus. | |
8091 | (child_insert_fork_catchpoint, child_remove_fork_catchpoint, | |
8092 | child_insert_vfork_catchpoint, child_remove_vfork_catchpoint, | |
8093 | child_has_forked, child_insert_exec_catchpoint, | |
8094 | child_remove_exec_catchpoint): Return a value. | |
8095 | ||
8096 | Mon Jan 11 16:43:44 1999 Michael Snyder <msnyder@cleaver.cygnus.com> | |
8097 | ||
8098 | * remote.c (remote_wait): Add inferior_pid to thread list only | |
8099 | if it is not already there. | |
8100 | ||
8101 | 1999-01-11 Jason Molenda (jsm@bugshack.cygnus.com) | |
8102 | ||
8103 | * scm-tags.h: Update FSF's address on copyright notice. | |
8104 | * ser-e7kpc.c: Same. | |
8105 | * gnu-nat.h: Same. | |
8106 | ||
8107 | Mon Jan 11 13:45:57 1999 Stu Grossman <grossman@babylon-5.cygnus.com> | |
8108 | ||
8109 | * dwarf2read.c (dump_die): Change stderr to gdb_stderr. | |
8110 | * expprint.c (print_subexp): fprintf => fprintf_unfiltered. | |
8111 | * jv-typeprint.c (java_type_print_base): fputs => fputs_filtered. | |
8112 | * stack.c (struct function_bounds): Remove superfluous `typedef'. | |
8113 | * symfile.c (list_overlays_command): stdout => gdb_stdout. | |
8114 | * symmisc.c (maintenance_check_symtabs): stdout => gdb_stdout. | |
8115 | * utils.c (print_spaces): Make more efficient. | |
8116 | ||
8117 | Mon Jan 11 13:55:51 1999 David Taylor <taylor@texas.cygnus.com> | |
8118 | ||
8119 | * utils (print_spaces): fix arg to strcat; fix formatting. | |
8120 | ||
8121 | Fri Jan 8 11:57:24 1999 Stan Shebs <shebs@andros.cygnus.com> | |
8122 | ||
8123 | * exec.c (exec_ops): Don't initialize statically. | |
8124 | (init_exec_ops): New function, fills in exec_ops. | |
8125 | (_initialize_exec): Use it. | |
8126 | ||
8127 | Thu Jan 7 17:50:15 EST 1999 Zdenek Radouch (radouch@cygnus.com) | |
8128 | ||
8129 | Beta FR30 port. | |
8130 | * fr30-tdep.c | |
8131 | * config/fr30/tm-fr30.h | |
8132 | ||
8133 | Wed Jan 6 12:28:35 1999 David Taylor <taylor@texas.cygnus.com> | |
8134 | ||
8135 | * configure.in: Add an --enable-tui argument. Construct | |
8136 | tui/Makefile from tui/Makefile.in. Use AM_PROG_CC_STDC. If we | |
8137 | have the GUI, then we need this to process libgui.h. | |
8138 | (ENABLE_CFLAGS): define and export BUILD_TUI. | |
8139 | (AC_CHECK_HEADERS): Add check for term.h. | |
8140 | ||
8141 | * configure.host (hppa-*-hpux10.20, hppa-*-hpux11.0*): New configs. | |
8142 | ||
8143 | * config.in, configure : regenerated. | |
8144 | ||
8145 | * Makefile.in: Allow the TUI code to be conditionally enabled. | |
8146 | (TUI_LIBRARY): New variable, value are set by the configuration | |
8147 | script. Set to the empty string when the TUI isn't enabled. | |
8148 | (gdb$(GDBEXT)): Use those, instead of referring to all-tui and | |
8149 | tui/libtui.a directly. | |
8150 | (BUILD_TUI): build the tui -- only when configured with | |
8151 | --enable-tui. | |
8152 | (YLWRAP): use ylwrap to avoid problems on systems w/o bison. | |
8153 | (gdb$(EXEEXT)): make it dependent on BUILD_TUI. | |
8154 | (all-tui): remove dependency from phony target. | |
8155 | (c-exp.tab.c): use ylwrap instead of bison. | |
8156 | (jv-exp.tab.c): ditto. | |
8157 | (f-exp.tab.c): ditto. | |
8158 | (m2-exp.tab.c): ditto. | |
8159 | (ALLDEPFILES): add somread.c, hp-psymtab-read.c, hp-symtab-read.c. | |
8160 | (SFILES): remove the above files | |
8161 | (COMMON_OBS): remove somread.o | |
8162 | (SFILES): Add the tui files to this, so they get included in etags | |
8163 | tables. | |
8164 | (gdb$(EXEEXT)): Add all-tui to the list of dependencies, and add | |
8165 | tui/libtui.a to the link list. | |
8166 | (all-tui): New rule, which does a recursive make in the tui | |
8167 | subdir. | |
8168 | (tui/libtui.a): When recursing, pass down ${FLAGS_TO_PASS}. And | |
8169 | don't echo the make command. This is closer to what the other | |
8170 | recursions do. | |
8171 | (HFILES_NO_SRCDIR): add hpread.h | |
8172 | (COMMON_OBS): add hp-psymtab-read.o, hp-symtab-read.o | |
8173 | (SFILES): add hp-psymtab-read.c, hp-symtab-read.c add rules for | |
8174 | the new files. Remove hpread.c, hpread.o | |
8175 | (gdb$(EXEEXT)): Depend on the actual tui library, not on a | |
8176 | fictitious target. Since the fictitious target never existed, | |
8177 | make would always relink. | |
8178 | (tui/libtui.a): Always recurse to make sure the library is up to | |
8179 | date. | |
8180 | ||
8181 | Wed Jan 6 12:05:12 1999 Stan Shebs <shebs@andros.cygnus.com> | |
8182 | ||
8183 | * remote.c: Pacify --enable-build-warnings, reformat code | |
8184 | to conform to standards, fix spelling errors. | |
8185 | (ishex, stubhex, record_currthread, etc): Declare. | |
8186 | (ishex, stubhex): Declare char arg as int. | |
8187 | (pack_string): Comment out, never used but possibly useful. | |
8188 | (threadref_to_int, remote_get_threadinfo, etc): Make static. | |
8189 | ||
8190 | Wed Jan 6 11:43:32 1999 David Taylor <taylor@texas.cygnus.com> | |
8191 | ||
8192 | The following changes were made by Elena Zannoni | |
8193 | <ezannoni@cygnus.com> and Edith Epstein <eepstein@cygnus.com> as | |
8194 | part of a project to merge in changes made by HP. | |
8195 | ||
8196 | * c-exp.y: use external flag hp_som_som_object_present to decide | |
8197 | whether code was compiled by HP's compilers. Add two new C++ | |
8198 | tokens for true and false. | |
8199 | (yylex): check for template name is done differently for the | |
8200 | HP/aCC compiler case. Change some of the template processing code | |
8201 | for handling HP aCC templates. Handle true and false tokens. | |
8202 | ||
8203 | Tue Jan 5 11:13:36 1999 Michael Snyder <msnyder@cleaver.cygnus.com> | |
8204 | ||
8205 | * remote.c (record_curthread): Must not modify inferior_pid when | |
8206 | called from wait_for_inferior. Instead, if a new thread-id is | |
8207 | detected, call add_thread. | |
8208 | (MAGIC_NULL_PID): new macro, use instead of the magic number | |
8209 | "42000". | |
8210 | (remote_find_new_threads): if inferior_pid is unknown, get and use | |
8211 | the current thread id. | |
8212 | (remote_start_remote): on connecting, attempt to get the current | |
8213 | thread id for inferior_pid. | |
8214 | (remote_resume): If pid == -1, then resume any-thread (not the | |
8215 | current thread specifically). Also some cosmetic fixups. | |
8216 | ||
8217 | * thread.c (info_threads_command): don't initialize current_pid | |
8218 | until after call to FIND_NEW_THREADS (which may change inferior_pid). | |
8219 | Also some cosmetic fixups. | |
8220 | * infrun.c: cosmetic fixups and casts to avoid warnings. | |
8221 | * infcmd.c: cosmetic fixups, mainly long lines. | |
8222 | ||
8223 | Tue Jan 5 11:55:57 1999 David Taylor <taylor@texas.cygnus.com> | |
8224 | ||
8225 | * target.c (noprocess): terminate sentence with a period. | |
8226 | * breakpoint.c (catch_command_1): ditto. | |
8227 | ||
8228 | * c-valprint.c (c_value_print): remove hack^2 from HP; it causes | |
8229 | testsuite losses with no real gain. | |
8230 | ||
8231 | * inferior.h (START_INFERIOR_TRAPS_EXPECTED): restore, but only | |
8232 | if tm-*.h hasn't overridden default value. | |
8233 | ||
8234 | 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) | |
8235 | ||
8236 | * configure.in: Fix whitespace indentation for --help. | |
8237 | * configure: Regenerated. | |
8238 | ||
8239 | 1999-01-04 Manuel Bouyer <bouyer@antioche.lip6.fr> | |
8240 | ||
8241 | * main.c: Add --write command line option, document -w. | |
8242 | * gdb.1: Document --write. | |
8243 | ||
8244 | 1999-01-04 Jason Molenda (jsm@bugshack.cygnus.com) | |
8245 | ||
8246 | * configure.in: Require autoconf 2.12.1 or higher. | |
8247 | * doc/configure.in: Ditto. | |
8248 | * nlm/configure.in: Ditto. | |
8249 | * rdi-share/configure.in: Ditto. | |
8250 | * testsuite/configure.in: Ditto. | |
8251 | * doc/Makefile.in: Don't hardcode $(SHELL). | |
8252 | * nlm/Makefile.in: Ditto. | |
8253 | * rdi-share/Makefile.in: Ditto. | |
8254 | * testsuite/Makefile.in: Ditto. | |
8255 | ||
8256 | Mon Jan 4 12:53:03 1999 Stan Shebs <shebs@andros.cygnus.com> | |
8257 | ||
8258 | * remote-vx.c (init_vx_ops, init_vx_run_ops): Remove unneeded | |
8259 | inits of new fields, including ref to bogus field. | |
8260 | (vx_ops, vx_run_ops): Make static. | |
8261 | ||
8262 | Mon Jan 4 15:05:29 1999 David Taylor <taylor@texas.cygnus.com> | |
8263 | ||
8264 | * inferior.h (START_INFERIOR_TRAPS_EXPECTED): delete, | |
8265 | already defined in tm.h. | |
8266 | ||
8267 | * inftarg.c: change <sys/unistd.h> to <unistd.h> and | |
8268 | conditionalize its inclusion. | |
8269 | * infttrace.c: ditto. | |
8270 | ||
8271 | For older changes see ChangeLog-98 | |
8272 | \f | |
8273 | Local Variables: | |
8274 | mode: change-log | |
8275 | left-margin: 8 | |
8276 | fill-column: 74 | |
8277 | version-control: never | |
8278 | End: |