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