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