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