]>
Commit | Line | Data |
---|---|---|
549678da NS |
1 | 2005-03-08 Nathan Sidwell <[email protected]> |
2 | ||
3 | * tracepoint.c (target_is_remote): Allow extended-remote. | |
4 | (struct collection_list): Allow 256 registers, like the comment | |
5 | said. | |
6 | (add_memrange): Fix comment. | |
7 | (read_actions): Turn EOF into 'end'. | |
8 | ||
20be272b CV |
9 | 2005-03-08 Corinna Vinschen <[email protected]> |
10 | ||
11 | * Makefile.in: Add dependencies for iq2000-tdep.o. | |
12 | * configure.tgt: Add iq2000-*-* target. | |
13 | * iq2000-tdep.c: New file. | |
14 | * config/iq2000/iq2000.mt: New file. | |
15 | ||
ea53e89f JB |
16 | 2005-03-07 Joel Brobecker <[email protected]> |
17 | ||
18 | * doc/observer.texi (executable_changed): New observer. | |
19 | * symtab.c: Include "observer.h". | |
20 | (find_main_name): New function. | |
21 | (main_name): If name_of_main is unset, then compute it | |
22 | using find_main_name. | |
23 | (symtab_observer_executable_changed): New function. | |
24 | (_initialize_symtab): Attach executable_changed observer. | |
25 | * exec.c: Include "observer.h". | |
26 | (exec_file_attach): Emit executable_changed notification. | |
27 | * symfile.c: Include "observer.h". | |
28 | (reread_symbols): Send an executable_changed if appropriate. | |
29 | * Makefile.in (exec.o): Add dependency on observer.h. | |
30 | (symfile.o): Likewise. | |
31 | (symtab.o): Likewise. | |
32 | ||
bb044262 DJ |
33 | 2005-03-07 Daniel Jacobowitz <[email protected]> |
34 | ||
35 | * findvar.c (read_var_value): Don't allocate V when it will not | |
36 | be used. Add missing break for LOC_INDIRECT. | |
37 | ||
9e07977b MK |
38 | 2005-03-06 Mark Kettenis <[email protected]> |
39 | ||
40 | * sparc64fbsd-tdep.c: Include "solib-svr4.h". | |
41 | (sparc64fbsd_init_abi): Set skip_trampoline_code and | |
42 | solib_svr4_fetch_link_map_offsets. | |
43 | * Makefile.in (sparc64fbsd-tdep.o): Update dependencies. | |
44 | ||
88d7a738 | 45 | 2005-03-06 Daniel Jacobowitz <[email protected]> |
f75c00e4 DJ |
46 | |
47 | * linux-nat.c (child_follow_fork): Call target_terminal_ours before | |
48 | printing output. Use fprintf_unfiltered. Only print output when | |
49 | debugging. | |
50 | ||
e219d7ce MK |
51 | 2005-03-05 Mark Kettenis <[email protected]> |
52 | ||
53 | * sparc64-tdep.c (sparc64_store_floating_fields): Constify third | |
54 | argument. | |
55 | (sparc64_store_arguments): Constify. | |
56 | ||
dda5f19a MK |
57 | 2005-03-05 Mark Kettenis <[email protected]> |
58 | ||
0d6e4ad7 MK |
59 | * alphabsd-nat.c: Update copyright year. Include "inf-ptrace.h". |
60 | (alphabsd_fetch_inferior_registers): Rename from | |
61 | fetch_inferior_registers. Make static. | |
62 | (alphabsd_store_inferior_registers): Rename from | |
63 | store_inferior_registers. Make static. | |
64 | (_initialize_alphabsd_nat): New function. | |
65 | * Makefile.in (alphabsd-nat.o): Update dependencies. | |
66 | * config/alpha/fbsd.mh (NATDEPFILES): Remove infptrace.o and | |
67 | inftarg.o. Add inf-ptrace.o, fbsd-nat.o and gcore.o. | |
68 | * config/alpha/nbsd.mh (NAT_CLIBS): Remove variable. | |
69 | (NATDEPFILES): Remove infptrace.o and inftarg.o. Add | |
70 | alphabsd-nat.o. | |
71 | * config/alpha/nm-fbsd.h: Update copyright year. Don't include | |
72 | "config/nm-bsd.h" and "elf/common.h". | |
73 | * config/alpha/nm-nbsd.h: Update copyright year. Don't include | |
74 | "config/nm-nbsd.h". | |
75 | ||
dda5f19a MK |
76 | * mips64obsd-tdep.c (mips64obsd_init_abi): Don't set |
77 | software_single_step. | |
78 | ||
aac71672 MS |
79 | 2005-03-04 Michael Snyder <[email protected]> |
80 | ||
81 | * mn10300-prologue.c: New file. Prologue analysis. | |
82 | * mn10300-tdep.c: Move REGNUM values to mn10300-tdep.h. | |
83 | (mn10300_frame_unwind_cache): Don't call trad_frame_set_id | |
84 | until after analyze_prologue, and don't call trad_frame_set_base | |
85 | at all (let analyze_prologue do it). | |
86 | ||
61e784e7 MS |
87 | 2005-03-04 Michael Snyder <[email protected]> |
88 | ||
89 | * trad-frame.c (trad_frame_set_reg_value): New function. | |
90 | * trad-frame.h (trad_frame_set_reg_value): Export. | |
91 | ||
6867ae3e DJ |
92 | 2005-03-04 Daniel Jacobowitz <[email protected]> |
93 | ||
94 | * Makefile.in (remote.o): Update dependencies. | |
95 | * remote.c: Include "observer.h". | |
96 | ||
f90221d3 DJ |
97 | 2005-03-04 Daniel Jacobowitz <[email protected]> |
98 | ||
99 | * target.c (target_read_memory_partial): Always initialize | |
100 | ERR. | |
101 | (target_write_memory_partial): Likewise. | |
102 | ||
e20b4638 DJ |
103 | 2005-03-03 Daniel Jacobowitz <[email protected]> |
104 | ||
105 | * remote.c (remote_open_1): Call observer_notify_inferior_created. | |
106 | ||
909cf6ea DJ |
107 | 2005-03-03 Daniel Jacobowitz <[email protected]> |
108 | ||
109 | * arm-tdep.c (arm_make_stub_cache, arm_stub_this_id) | |
110 | (arm_stub_unwind, arm_stub_unwind_sniffer): New. | |
111 | (arm_gdbarch_init): Add arm_stub_unwind_sniffer. | |
112 | ||
d3587048 DJ |
113 | 2005-03-02 Daniel Jacobowitz <[email protected]> |
114 | ||
115 | * linux-nat.c (linux_supports_tracevforkdone, child_follow_fork): | |
116 | Use LWP IDs. | |
117 | ||
806048c6 DJ |
118 | 2005-02-28 Daniel Jacobowitz <[email protected]> |
119 | ||
120 | * dwarf2loc.c (loclist_read_variable): Set optimized_out | |
121 | instead of reporting an error. | |
122 | * valprint.c (value_check_printable): New function. | |
123 | (common_val_print): New function. Use value_check_printable. | |
124 | (value_print): Use value_check_printable. | |
125 | * value.h (common_val_print): Add prototype. | |
126 | ||
127 | * c-valprint.c (c_val_print): Use common_val_print. | |
128 | * cp-valprint.c (cp_print_value_fields): Likewise. | |
129 | (cp_print_hpacc_virtual_table_entries): Likewise. | |
130 | * f-valprint.c (f_val_print): Likewise. | |
131 | * jv-valprint.c (java_value_print, java_print_value_fields): | |
132 | Likewise. | |
133 | * scm-valprint.c (scm_value_print): Likewise. | |
134 | * stack.c (print_frame_args): Likewise. | |
135 | * varobj.c (c_value_of_variable): Likewise. | |
136 | * p-valprint.c (pascal_val_print, pascal_value_print): Likewise. | |
137 | (pascal_object_print_value_fields): Likewise. Update call to | |
138 | pascal_object_print_static_field. | |
139 | (pascal_object_print_static_field): Remove TYPE argument. Use | |
140 | common_val_print. | |
141 | ||
dd373385 EZ |
142 | 2005-02-25 Mark Kettenis <[email protected]> |
143 | ||
144 | Committed by Elena Zannoni <[email protected]> | |
145 | ||
146 | * dwarf2read.c (dwarf2_build_psymtabs_hard): Adjust | |
147 | info_ptr before building psymtabs for included files. | |
148 | (create_all_comp_units): Initailize initial length size of | |
149 | compilation header to zero. | |
150 | (read_initial_length): Complain if both 32-bit and 64-bit DWARF | |
151 | sections are encountered within the same compilation header. | |
152 | (dwarf_decode_line_header): Pass compilation header in call to | |
153 | read_initial_length. | |
154 | ||
920d2a44 AC |
155 | 2005-02-24 Andrew Cagney <[email protected]> |
156 | ||
157 | Add show_VARIABLE functions, update add_setshow call. | |
158 | * varobj.c (_initialize_varobj, show_varobjdebug): Add and update. | |
159 | * valprint.c (_initialize_valprint, show_print_max) | |
160 | (show_stop_print_at_null, show_repeat_count_threshold) | |
161 | (show_prettyprint_structs, show_unionprint) | |
162 | (show_prettyprint_arrays, show_addressprint, show_input_radix) | |
163 | (show_output_radix): Ditto. | |
164 | * valops.c (_initialize_valops, show_overload_resolution): Ditto. | |
165 | * utils.c (initialize_utils, show_chars_per_line) | |
166 | (show_lines_per_page, show_demangle, show_pagination_enabled) | |
167 | (show_sevenbit_strings, show_asm_demangle): Ditto | |
168 | * tui/tui-win.c (_initialize_tui_win, show_tui_border_kind) | |
169 | (show_tui_border_mode, show_tui_active_border_mode): Ditto. | |
170 | * top.c (init_main, show_new_async_prompt) | |
171 | (show_async_command_editing_p, show_write_history_p) | |
172 | (show_history_size, show_history_filename, show_caution) | |
173 | (show_annotation_level, init_main): Ditto. | |
174 | * target.c (initialize_targets, show_targetdebug) | |
175 | (show_trust_readonly): Ditto. | |
176 | * symfile.c (_initialize_symfile, show_symbol_reloading) | |
177 | (show_ext_args, show_download_write_size) | |
178 | (show_debug_file_directory): Ditto. | |
179 | * source.c (_initialize_source, show_lines_to_list): Ditto. | |
180 | * solib.c (_initialize_solib, show_auto_solib_add) | |
181 | (show_solib_search_path): Ditto. | |
182 | * p-valprint.c (_initialize_pascal_valprint) | |
183 | (show_pascal_static_field_print): Ditto. | |
184 | * printcmd.c (_initialize_printcmd, show_max_symbolic_offset) | |
185 | (show_print_symbol_filename): Add and update. | |
186 | * parse.c (_initialize_parse, show_expressiondebug): Dito. | |
187 | * observer.c (_initialize_observer, show_observer_debug): Dito. | |
188 | * maint.c (_initialize_maint_cmds, show_watchdog) | |
189 | (show_maintenance_profile_p): Dito. | |
190 | * linux-nat.c (_initialize_linux_nat, show_debug_linux_nat): Dito. | |
191 | * infrun.c (_initialize_infrun, show_debug_infrun) | |
192 | (show_stop_on_solib_events, show_follow_fork_mode_string) | |
193 | (show_scheduler_mode, show_step_stop_if_no_debug): Ditto. | |
194 | * infcall.c (_initialize_infcall, show_coerce_float_to_double_p) | |
195 | (show_unwind_on_signal_p): Ditto. | |
196 | * gdbtypes.c (build_gdbtypes, show_opaque_type_resolution) | |
197 | (_initialize_gdbtypes, show_overload_debug): Ditto. | |
198 | * gdb-events.c, gdb-events.sh (_initialize_gdb_events) | |
199 | (show_gdb_events_debug): Ditto. | |
200 | * gdbarch.c, gdbarch.sh (show_gdbarch_debug) | |
201 | (_initialize_gdbarch): Ditto. | |
202 | * frame.c (_initialize_frame, show_backtrace_past_main) | |
203 | (show_backtrace_past_entry, show_backtrace_limit) | |
204 | (show_frame_debug): Ditto. | |
205 | * exec.c (_initialize_exec, show_write_files): Ditto. | |
206 | * dwarf2read.c (_initialize_dwarf2_read) | |
207 | (show_dwarf2_max_cache_age): Ditto. | |
208 | * demangle.c (_initialize_demangler) | |
209 | (show_demangling_style_names): Ditto. | |
210 | * dcache.c (_initialize_dcache, show_dcache_enabled_p): Ditto. | |
211 | * cp-valprint.c (show_static_field_print) | |
212 | (_initialize_cp_valprint, show_vtblprint, show_objectprint): Ditto. | |
213 | * corefile.c (_initialize_core, show_gnutarget_string): Ditto. | |
214 | * cli/cli-logging.c (_initialize_cli_logging) | |
215 | (show_logging_overwrite, show_logging_redirect) | |
216 | (show_logging_filename): Ditto. | |
217 | * cli/cli-cmds.c (show_info_verbose, show_history_expansion_p) | |
218 | (init_cli_cmds, show_baud_rate, show_remote_debug) | |
219 | (show_remote_timeout, show_max_user_call_depth): Ditto. | |
220 | * charset.c (show_host_charset_name, show_target_charset_name) | |
221 | (initialize_charset): Ditto. | |
222 | * breakpoint.c (show_can_use_hw_watchpoints) | |
223 | (show_pending_break_support, _initialize_breakpoint): Ditto. | |
224 | ||
2877b4cc JB |
225 | 2005-02-23 Jim Blandy <[email protected]> |
226 | ||
227 | * disasm.c (gdb_disassemble_info): Call disassemble_init_for_target. | |
228 | ||
e9c55a7b AC |
229 | 2005-02-23 Andrew Cagney <[email protected]> |
230 | ||
231 | * cli/cli-dump.c (dump_bfd_file): Replace magic constant with | |
232 | SEC_XXX flags. | |
233 | ||
04ac69aa AC |
234 | 2005-02-22 Andrew Cagney <[email protected]> |
235 | ||
236 | * configure.ac: Only enaable insight when itcl is present. | |
237 | * configure: Re-generate. | |
238 | ||
3470a02f AC |
239 | 2005-02-21 Thiemo Seufer <[email protected]> |
240 | ||
241 | Committed by Andrew Cagney. | |
242 | * infptrace.c (store_register): Fix typo. | |
243 | ||
b66df561 AC |
244 | 2005-02-21 Andrew Cagney <[email protected]> |
245 | ||
246 | * command.h (deprecated_add_set_cmd): Rename add_set_cmd. | |
247 | * cli/cli-decode.h (add_set_cmd): Delete declaration. | |
248 | * cli/cli-decode.c (deprecated_add_set_cmd): Rename add_set_cmd. | |
249 | * i386-nat.c (_initialize_i386_nat): Update call. | |
250 | * valprint.c (_initialize_valprint): Update comment. | |
251 | * gnu-nat.c (_initialize_gnu_nat): Update call. | |
252 | ||
85e3476f AM |
253 | 2005-02-21 Alan Modra <[email protected]> |
254 | ||
255 | * elfread.c (elf_symtab_read): Discard section syms. | |
256 | ||
4d28ad1e AC |
257 | 2005-02-21 Andrew Cagney <[email protected]> |
258 | ||
eefe576e AC |
259 | * cli/cli-decode.c (add_set_enum_cmd): Delete function. |
260 | (deprecated_add_show_from_set): Delete function. | |
261 | * command.h (add_set_enum_cmd): Delete declaration. | |
262 | (deprecated_add_show_from_set): Delete declaration. | |
263 | * cli/cli-decode.h (add_set_enum_cmd): Delete declaration. | |
264 | (deprecated_add_show_from_set): Delete declaration. | |
265 | * arm-tdep.c (_initialize_arm_tdep): Update comment. | |
266 | * kod.c (kod_set_os): Simplify. | |
267 | * infrun.c (set_schedlock_func): Simplify. | |
268 | * cli/cli-dump.c (add_dump_command): Update comment. | |
269 | ||
525226b5 AC |
270 | Replace string variables with a filename completer with |
271 | add_setshow_optional_filename_cmd. | |
272 | * solib.c, symfile.c: Update. | |
273 | * cli/cli-setshow.c: Do not tidle expand the file. | |
274 | ||
4d28ad1e AC |
275 | Add more uses of add_setshow_string_cmd, add_setshow_integer_cmd, |
276 | and add_setshow_string_noescape_cmd. | |
277 | * cli/cli-setshow.c (deprecated_show_value_hack): Do not print a | |
278 | NULL command's value. | |
279 | * kod.c, language.c, ocd.c, remote-e7000.c, remote-mips.c: Update. | |
280 | * remote-sds.c, remote.c, symfile.c, top.c: Update. | |
281 | ||
942fd9fe AC |
282 | 2005-02-20 Andrew Cagney <[email protected]> |
283 | ||
7ab04401 AC |
284 | Use add_setshow_enum_cmd through out. |
285 | * arch-utils.c, charset.c, demangle.c, i386-tdep.c: Update. | |
286 | * infrun.c, mips-tdep.c, osabi.c, serial.c, tui/tui-win.c: Update. | |
287 | ||
78f5381d AC |
288 | * mi/mi-main.c (captured_mi_execute_command): Use |
289 | mi_cmd_interpreter_exec. | |
290 | ||
b4b4ac0b AC |
291 | * cli/cli-decode.c (add_setshow_optional_filename_cmd): New |
292 | function. | |
293 | * cli/cli-setshow.c (deprecated_show_value_hack) | |
294 | (do_setshow_command): Handle var_optional_filename. | |
295 | * command.h (enum var_types): Add var_optional_filename. | |
296 | (add_setshow_optional_filename_cmd): Declare. | |
297 | * infcmd.c (notice_args_read): Use. | |
298 | ||
942fd9fe AC |
299 | * symfile-mem.c (symbol_file_add_from_memory): Pass |
300 | target_read_memory to bfd_elf_bfd_from_remote_memory. | |
301 | (do_target_read_memory): Delete. | |
302 | ||
a6c442d8 MK |
303 | 2005-02-16 Mark Kettenis <[email protected]> |
304 | ||
305 | * value.h (value_contents_equal): New prototype. | |
306 | * value.c (value_contents_equal): New function. | |
307 | * varobj.c: Include "exceptions.h" and "gdb_assert.h". Don't | |
308 | include <math.h>. | |
309 | (varobj_set_value): Initialize error to zero. | |
310 | (varobj_update): Rename error2 to error and initialize it to zero. | |
311 | Slightly change the wording of some comments. | |
312 | (my_value_equal): Reimplement using TRY_CATCH and | |
313 | value_contents_equal. | |
314 | ||
5bf193a2 AC |
315 | 2005-02-18 Andrew Cagney <[email protected]> |
316 | ||
c0d88b1b AC |
317 | * cli/cli-decode.c (add_setshow_integer_cmd): New function. |
318 | * command.h (add_setshow_integer_cmd): Declare. | |
319 | * cli/cli-cmds.c: Update. | |
320 | ||
35096d9d AC |
321 | Use add_setshow_uinteger_cmd through out. |
322 | * printcmd.c, source.c, utils.c, valprint.c: Update. | |
323 | ||
85c07804 AC |
324 | Use add_setshow_zinteger_cmd through out. Re-sync gdbarch.sh |
325 | and gdbarch.c. | |
326 | * breakpoint.c, frame.c, gdb-events.sh, gdbarch.sh: Update. | |
327 | * gdbtypes.c, infrun.c, linux-nat.c, maint.c, monitor.c: Update. | |
328 | * pa64solib.c, parse.c, remote-mips.c, ser-go32.c: Update. | |
329 | * serial.c, solib-frv.c, somsolib.c, target.c, top.c: Update. | |
330 | * varobj.c, cli/cli-cmds.c: Update. | |
331 | * gdbarch.c, gdb-events.c: Regenerate. | |
332 | ||
5bf193a2 AC |
333 | Use add_setshow_boolean_command through out. Delete #ifdef 0'ed |
334 | code adding set/show boolean commands. | |
335 | * cp-valprint.c, dcache.c, exec.c, gdbtypes.c, infrun.c: Update. | |
336 | * monitor.c, p-valprint.c, pa64solib.c, printcmd.c: Update. | |
337 | * proc-api.c, remote-mips.c, remote.c, solib.c: Update. | |
338 | * somsolib.c, symfile.c, top.c, utils.c, valops.c: Update. | |
339 | * valprint.c, win32-nat.c, wince.c, xcoffsolib.c: Update. | |
340 | * cli/cli-cmds.c: Update. | |
341 | ||
2c5b56ce AC |
342 | 2005-02-17 Andrew Cagney <[email protected]> |
343 | ||
f397e303 AC |
344 | * cli/cli-decode.c (add_setshow_filename_cmd): Set the completer |
345 | to filename_completer. | |
346 | * solib.c (_initialize_solib, reload_shared_libraries): Use | |
347 | add_setshow_filename_cmd. | |
348 | * serial.c (_initialize_serial): Ditto. | |
349 | * remote-utils.c (_initialize_sr_support): Ditto. | |
350 | ||
26c41df3 AC |
351 | * cli/cli-decode.c (add_setshow_string_noescape_cmd): New function. |
352 | * command.h (add_setshow_string_noescape_cmd): Declare. | |
353 | * wince.c (_initialize_wince): Use. | |
354 | * symfile.c (_initialize_symfile): Use. | |
355 | (set_ext_lang_command): Update declaration. | |
356 | * corefile.c (_initialize_core): Use. | |
357 | ||
2c5b56ce AC |
358 | * cli/cli-decode.c (add_setshow_cmd_full, add_setshow_enum_cmd) |
359 | (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) | |
360 | (add_setshow_filename_cmd, add_setshow_string_cmd) | |
361 | (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete | |
362 | fprint_setshow parameter. | |
363 | * command.h (fprint_setshow_ftype): Delete. | |
364 | (add_setshow_cmd_full, add_setshow_enum_cmd) | |
365 | (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) | |
366 | (add_setshow_filename_cmd, add_setshow_string_cmd) | |
367 | (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Delete | |
368 | fprint_setshow parameter. | |
369 | * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update. | |
370 | * complaints.c, cris-tdep.c, dwarf2read.c, frame.c: Update. | |
371 | * hppa-tdep.c, infcall.c, m32r-rom.c, maint.c: Update. | |
372 | * mips-tdep.c, nto-tdep.c, observer.c, remote-rdi.c: Update | |
373 | * remote.c, target.c, cli/cli-logging.c: Update. | |
374 | ||
08546159 AC |
375 | 2005-02-16 Andrew Cagney <[email protected]> |
376 | ||
377 | Merge setshow print and show parameters. | |
378 | * command.h (show_value_ftype): Define. | |
379 | (deprecated_show_value_hack): Declare. | |
380 | (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd) | |
381 | (add_setshow_boolean_cmd, add_setshow_filename_cmd) | |
382 | (add_setshow_string_cmd, add_setshow_uinteger_cmd) | |
383 | (add_setshow_zinteger_cmd): Change type of show_func to | |
384 | show_value_ftype. | |
385 | * cli/cli-decode.h (struct cmd_list_element): Replace | |
386 | fprint_setshow with show_value_func. | |
387 | * cli/cli-decode.c (add_setshow_cmd_full): Update show_func | |
388 | parameter. Set show_value_func. Do not set cmd_sfunc. | |
389 | (add_setshow_enum_cmd, add_setshow_auto_boolean_cmd) | |
390 | (add_setshow_boolean_cmd, add_setshow_filename_cmd) | |
391 | (add_setshow_string_cmd, add_setshow_uinteger_cmd) | |
392 | (add_setshow_zinteger_cmd): Update. | |
393 | * complaints.c (complaints_show_value): Replace | |
394 | fprint_setshow_complaints. | |
395 | (_initialize_complaints): Update. | |
396 | * mips-tdep.c (show_mask_address): Update. | |
397 | * arm-tdep.c (show_fp_model): Update. | |
398 | * cli/cli-setshow.c (do_setshow_command): Call show_value_func | |
399 | instead of fprint_setshow. Use deprecated_show_value_hack. | |
400 | (deprecated_show_value_hack): New function. | |
401 | * remote.c (add_packet_config_cmd, show_remote_cmd): | |
402 | (show_remote_protocol_P_packet_cmd) | |
403 | (show_remote_protocol_P_packet_cmd) | |
404 | (show_remote_protocol_Z_access_wp_packet_cmd) | |
405 | (show_remote_protocol_Z_hardware_bp_packet_cmd) | |
406 | (show_remote_protocol_Z_packet_cmd) | |
407 | (show_remote_protocol_Z_read_wp_packet_cmd) | |
408 | (show_remote_protocol_Z_software_bp_packet_cmd) | |
409 | (show_remote_protocol_Z_write_wp_packet_cmd) | |
410 | (show_remote_protocol_binary_download_cmd) | |
411 | (show_remote_protocol_p_packet_cmd) | |
412 | (show_remote_protocol_qPart_auxv_packet_cmd) | |
413 | (show_remote_protocol_qSymbol_packet_cmd) | |
414 | (show_remote_protocol_vcont_packet_cmd): Update. | |
415 | ||
1c7b1e5a MK |
416 | 2005-02-16 Mark Kettenis <[email protected]> |
417 | ||
418 | * wrapper.h: Update copyright year. Properly wrap a few | |
419 | prototypes. | |
420 | (struct gdb_wrapper_arguments): Remove forward declaration. | |
421 | * wrapper.c: Update copyright year. Include "ui-out.h". | |
422 | (struct gdb_wrapper_arguments): Remove. | |
423 | (struct captured_value_struct_elt_args): Remove. | |
424 | (wrapper_parse_exp_1, wrap_evaluate_expression) | |
425 | (wrap_value_fetch_lazy, wrap_value_equal, wrap_value_assign) | |
426 | (wrap_value_subscript, wrap_value_ind, wrap_parse_and_eval_type) | |
427 | (do_captured_value_struct_elf): Remove functions. | |
428 | (gdb_parse_exp_1, gdb_evaluate_expression, gdb_value_fetch_lazy) | |
429 | (gdb_value_equal, gdb_value_assign, gdb_value_subscript) | |
430 | (gdb_value_ind, gdb_parse_and_eval_type, gdb_value_struct_elt): | |
431 | Re-implement using TRY_CATCH. | |
432 | ||
7124f6fb YS |
433 | 2005-02-16 Yoshinori Sato <[email protected]> |
434 | ||
435 | * remote-e7000.c: unuse TM_FILE defined macro. | |
436 | (e7000_fetch_registers) | |
437 | (e7000_store_registers) | |
438 | (e7000_wait): delete NUM_REALREGS. | |
439 | * remote-hms.c: move TM_FILE macro. | |
440 | (CCR_REGNO): move define from tm-h8300.h. | |
441 | ||
55e5a6d0 MK |
442 | 2005-02-15 Mark Kettenis <[email protected]> |
443 | ||
444 | * amd64-linux-tdep.c: Update copyright year. | |
a348ae87 MK |
445 | (amd64_linux_sigtramp_start): Use sizeof operator instead of |
446 | LINUX_SIGTRAMP_LEN. | |
55e5a6d0 | 447 | |
77ef991d JB |
448 | 2004-02-15 Joel Brobecker <[email protected]> |
449 | ||
450 | From Paul Hilfinger <[email protected]> | |
451 | * dwarf2read.c (new_symbol): Use SYMBOL_SEARCH_NAME rather than | |
452 | SYMBOL_NATURAL_NAME to set type names. | |
453 | ||
1bedd215 AC |
454 | 2005-02-15 Andrew Cagney <[email protected]> |
455 | ||
456 | Mark up add_com, add_info and add_prefix_cmd. | |
457 | * breakpoint.c, cp-support.c, dcache.c, dwarf2read.c: Update. | |
458 | * exec.c, f-valprint.c, frame.c, gcore.c, gnu-nat.c: Update. | |
459 | * go32-nat.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update. | |
460 | * kod.c, language.c, linux-nat.c, m32r-rom.c, macrocmd.c: Update. | |
461 | * maint.c, memattr.c, mips-tdep.c, nto-procfs.c, objc-lang.c: Update. | |
462 | * ocd.c, pa64solib.c, printcmd.c, procfs.c, regcache.c: Update. | |
463 | * remote-e7000.c, remote-m32r-sdi.c, remote-mips.c: Update. | |
464 | * remote-sds.c, remote-sim.c, remote-st.c, remote-utils.c: Update. | |
465 | * remote.c, rs6000-tdep.c, ser-go32.c, serial.c: Update. | |
466 | * sh-tdep.c, solib.c, somsolib.c, source.c, stack.c: Update. | |
467 | * symfile.c, symtab.c, target.c, thread.c, top.c: Update. | |
468 | * tracepoint.c, typeprint.c, utils.c, valprint.c: Update. | |
469 | * win32-nat.c, xcoffsolib.c, cli/cli-cmds.c, cli/cli-dump.c: Update. | |
470 | * cli/cli-logging.c, tui/tui-layout.c, tui/tui-regs.c: Update. | |
471 | * tui/tui-stack.c, tui/tui-win.c: Update. | |
472 | ||
66bf4b3a AC |
473 | 2005-02-14 Andrew Cagney <[email protected]> |
474 | ||
3f325092 AC |
475 | * config/h8300/h8300.mt (DEPRECATED_TM_FILE): Delete. |
476 | * config/h8300/tm-h8300.h: Delete file. | |
477 | ||
1a966eab AC |
478 | Mark up add_cmd. |
479 | * arch-utils.c, avr-tdep.c, breakpoint.c, corefile.c: Update. | |
480 | * cp-abi.c, cp-namespace.c, cp-support.c, dummy-frame.c: Update. | |
481 | * exec.c, gnu-nat.c, go32-nat.c, hppa-tdep.c, infcmd.c: Update. | |
482 | * infrun.c, interps.c, macrocmd.c, maint.c, memattr.c: Update. | |
483 | * mips-tdep.c, ocd.c, osabi.c, printcmd.c, regcache.c: Update. | |
484 | * reggroups.c, remote-fileio.c, remote-rdi.c, remote.c: Update. | |
485 | * sol-thread.c, source.c, stack.c, symfile-mem.c: Update. | |
486 | * symfile.c, thread.c, tracepoint.c, valprint.c, value.c: Update. | |
487 | * win32-nat.c, cli/cli-cmds.c, cli/cli-dump.c: Update. | |
488 | * cli/cli-logging.c, tui/tui-regs.c: Update. | |
489 | ||
7915a72c AC |
490 | Mark up add_setshow functions, replace "PRINT:" comment prefix |
491 | with "FIXME: i18n:". | |
492 | * aix-thread.c, alpha-tdep.c, arm-tdep.c, breakpoint.c: Update. | |
493 | * cris-tdep.c, dwarf2read.c, frame.c, hppa-tdep.c: Update. | |
494 | * infcall.c, m32r-rom.c, maint.c, mips-tdep.c: Update. | |
495 | * nto-tdep.c, observer.c, remote-rdi.c, remote.c: Update. | |
496 | * target.c, cli/cli-logging.c: Update. | |
497 | ||
66bf4b3a AC |
498 | * utils.c (paddress): New function. |
499 | * defs.h (paddress): Declare. | |
500 | * printcmd.c (deprecated_print_address_numeric): Rename | |
501 | print_address_numeric, call paddress. | |
502 | * valprint.c, ui-out.c, tui/tui-stack.c, tracepoint.c: Update. | |
503 | * symmisc.c, symfile.c stack.c, p-valprint.c, printcmd.c: Update. | |
504 | * maint.c, m32r-rom.c, infcmd.c, f-valprint.c, exec.c: Update. | |
505 | * dwarf2read.c, dve3900-rom.c, defs.h, c-valprint.c: Update. | |
506 | * corefile.c, cli/cli-cmds.c, breakpoint.c, annotate.c: Update. | |
507 | * ada-valprint.c: Update. | |
508 | ||
33e6b12b RR |
509 | 2005-02-13 Ramana Radhakrishnan <[email protected]> |
510 | ||
511 | * MAINTAINERS: Add myself to "Write After Approval". | |
512 | ||
f0bdd87d YS |
513 | 2005-02-12 Yoshinori Sato <[email protected]> |
514 | ||
515 | Restore h8300 support. | |
516 | * configure.tgt: Add h8300-*-* | |
ba0e80db YS |
517 | * h8300-tdep.c: New file. Rewrite new frame code. |
518 | * config/h8300/h8300.mt: New file. Restored Rev 1.3 | |
519 | * config/h8300/tm-h8300.h: New file. Restored Rev 1.21 | |
520 | ||
521 | * MAINTAINERS: Add myself to "Write After Approval". | |
f0bdd87d | 522 | |
e2e0b3e5 AC |
523 | 2005-02-11 Andrew Cagney <[email protected]> |
524 | ||
a3f17187 AC |
525 | Mark up some of printf_filtered and printf_unfiltered. |
526 | * ada-lang.c, annotate.c, arch-utils.c, breakpoint.c: Update. | |
527 | * corelow.c, cp-namespace.c, cp-support.c, dcache.c: Update. | |
528 | * demangle.c, dsrec.c, dwarf2read.c, dwarfread.c: Update. | |
529 | * event-loop.c, event-top.c, exec.c, f-valprint.c: Update. | |
530 | * gdbtypes.c, inf-loop.c, inf-ptrace.c, inf-ttrace.c: Update. | |
531 | * infcmd.c, inflow.c, infrun.c, inftarg.c, language.c: Update. | |
532 | * linespec.c, linux-nat.c, linux-thread-db.c, maint.c: Update. | |
533 | * mdebugread.c, memattr.c, monitor.c, objc-lang.c: Update. | |
534 | * ocd.c, osabi.c, printcmd.c, procfs.c, regcache.c: Update. | |
535 | * remote.c, solib-som.c, solib.c, somsolib.c, source.c: Update. | |
536 | * stack.c, symfile.c, symmisc.c, target.c, thread.c: Update. | |
537 | * top.c, utils.c, valprint.c, value.c, cli/cli-cmds.c: Update. | |
538 | * cli/cli-dump.c, cli/cli-logging.c, tui/tui-hooks.c: Update. | |
539 | * tui/tui-regs.c, tui/tui-win.c: Update. | |
540 | ||
e2e0b3e5 AC |
541 | Mark up error_no_arg, query, perror_with_name, complaint, and |
542 | internal_error. | |
543 | * breakpoint.c, cp-abi.c, cp-namespace.c, cp-support.c: Update. | |
544 | * cris-tdep.c, dbxread.c, dictionary.c, dsrec.c: Update. | |
545 | * dummy-frame.c, dve3900-rom.c, dwarf2-frame.c, dwarf2expr.c: Update. | |
546 | * dwarf2read.c, dwarfread.c, elfread.c, event-loop.c: Update. | |
547 | * exceptions.c, exec.c, f-lang.c, findvar.c, fork-child.c: Update. | |
548 | * frame-unwind.c, frame.c, frv-linux-tdep.c, frv-tdep.c: Update. | |
549 | * gdb_assert.h, gdbarch.c, gdbtypes.c, gnu-nat.c: Update. | |
550 | * go32-nat.c, hppa-tdep.c, hppabsd-nat.c, hpread.c: Update. | |
551 | * i386-linux-nat.c, i386-nat.c, i386-tdep.c, i386bsd-nat.c: Update. | |
552 | * i386fbsd-nat.c, inf-ptrace.c, inf-ttrace.c, infcall.c: Update. | |
553 | * infcmd.c, inflow.c, infptrace.c, infrun.c, inftarg.c: Update. | |
554 | * interps.c, language.c, linespec.c, linux-nat.c: Update. | |
555 | * m32r-linux-nat.c, m68k-tdep.c, m68kbsd-nat.c: Update. | |
556 | * m68klinux-nat.c, m88kbsd-nat.c, macroexp.c, macroscope.c: Update. | |
557 | * macrotab.c, maint.c, mdebugread.c, memattr.c: Update. | |
558 | * mips-linux-tdep.c, mips-tdep.c, mips64obsd-nat.c: Update. | |
559 | * mipsnbsd-nat.c, mn10300-tdep.c, monitor.c, nto-procfs.c: Update. | |
560 | * objc-lang.c, objfiles.c, objfiles.h, ocd.c, osabi.c: Update. | |
561 | * parse.c, ppc-bdm.c, ppc-linux-nat.c, ppc-sysv-tdep.c: Update. | |
562 | * ppcnbsd-nat.c, ppcobsd-nat.c, printcmd.c, procfs.c: Update. | |
563 | * regcache.c, reggroups.c, remote-e7000.c, remote-mips.c: Update. | |
564 | * remote-rdp.c, remote-sds.c, remote-sim.c, remote-st.c: Update. | |
565 | * remote-utils.c, remote.c, rs6000-nat.c, rs6000-tdep.c: Update. | |
566 | * s390-nat.c, s390-tdep.c, sentinel-frame.c, serial.c: Update. | |
567 | * sh-tdep.c, sh3-rom.c, sh64-tdep.c, shnbsd-nat.c: Update. | |
568 | * solib-aix5.c, solib-svr4.c, solib.c, source.c: Update. | |
569 | * sparc-nat.c, stabsread.c, stack.c, symfile.c, symtab.c: Update. | |
570 | * symtab.h, target.c, tracepoint.c, ui-file.c, ui-out.c: Update. | |
571 | * utils.c, valops.c, valprint.c, vax-nat.c, vaxbsd-nat.c: Update. | |
572 | * win32-nat.c, xcoffread.c, xstormy16-tdep.c: Update. | |
573 | * cli/cli-cmds.c, cli/cli-logging.c, cli/cli-script.c: Update. | |
574 | * cli/cli-setshow.c, mi/mi-cmd-break.c, mi/mi-cmds.c: Update. | |
575 | * mi/mi-console.c, mi/mi-getopt.c, mi/mi-out.c: Update. | |
576 | * tui/tui-file.c, tui/tui-interp.c: Update. | |
8a3fe4f8 | 577 | |
e2e0b3e5 AC |
578 | 2005-02-10 Andrew Cagney <[email protected]> |
579 | ||
8a3fe4f8 AC |
580 | Mark up all error and warning messages. |
581 | * ada-lang.c, amd64-tdep.c, arch-utils.c, breakpoint.c: Update. | |
582 | * bsd-kvm.c, bsd-uthread.c, coff-solib.h, coffread.c: Update. | |
583 | * core-aout.c, core-regset.c, corefile.c, corelow.c: Update. | |
584 | * cp-abi.c, cp-support.c, cp-valprint.c, cris-tdep.c: Update. | |
585 | * dbxread.c, demangle.c, doublest.c, dsrec.c: Update. | |
586 | * dve3900-rom.c, dwarf2expr.c, dwarf2loc.c: Update. | |
587 | * dwarf2read.c, dwarfread.c, elfread.c, eval.c: Update. | |
588 | * event-top.c, exec.c, expprint.c, f-lang.c: Update. | |
589 | * f-typeprint.c, f-valprint.c, fbsd-nat.c, findvar.c: Update. | |
590 | * frame.c, frv-linux-tdep.c, gcore.c, gdbtypes.c: Update. | |
591 | * gnu-nat.c, gnu-v2-abi.c, gnu-v3-abi.c, go32-nat.c: Update. | |
592 | * hpacc-abi.c, hppa-hpux-nat.c, hppa-hpux-tdep.c: Update. | |
593 | * hppa-linux-nat.c, hppa-linux-tdep.c, hppa-tdep.c: Update. | |
594 | * hpread.c, hpux-thread.c, i386-linux-nat.c: Update. | |
595 | * i386-linux-tdep.c, i386-tdep.c, i386bsd-nat.c: Update. | |
596 | * i386gnu-nat.c, i387-tdep.c, ia64-linux-nat.c: Update. | |
597 | * ia64-tdep.c, inf-child.c, inf-ptrace.c, inf-ttrace.c: Update. | |
598 | * infcall.c, infcmd.c, inflow.c, infptrace.c, infrun.c: Update. | |
599 | * inftarg.c, interps.c, irix5-nat.c, jv-lang.c: Update. | |
600 | * kod-cisco.c, kod.c, language.c, libunwind-frame.c: Update. | |
601 | * linespec.c, linux-nat.c, linux-thread-db.c, m2-lang.c: Update. | |
602 | * m32r-rom.c, m68hc11-tdep.c, m68k-tdep.c: Update. | |
603 | * m68klinux-nat.c, macrocmd.c, macroexp.c, main.c: Update. | |
604 | * maint.c, mdebugread.c, mem-break.c, memattr.c: Update. | |
605 | * mips-linux-tdep.c, mips-tdep.c, mipsread.c, monitor.c: Update. | |
606 | * nlmread.c, nto-procfs.c, objc-lang.c, objfiles.c: Update. | |
607 | * observer.c, ocd.c, p-lang.c, p-typeprint.c: Update. | |
608 | * p-valprint.c, pa64solib.c, parse.c, ppc-linux-tdep.c: Update. | |
609 | * ppcnbsd-tdep.c, printcmd.c, procfs.c, remote-e7000.c: Update. | |
610 | * remote-fileio.c, remote-m32r-sdi.c, remote-rdi.c: Update. | |
611 | * remote-rdp.c, remote-sim.c, remote-st.c: Update. | |
612 | * remote-utils.c, remote-utils.h, remote.c: Update. | |
613 | * rom68k-rom.c, rs6000-nat.c, s390-tdep.c, scm-lang.c: Update. | |
614 | * ser-e7kpc.c, ser-tcp.c, ser-unix.c, sh-tdep.c: Update. | |
615 | * sh3-rom.c, shnbsd-tdep.c, sol-thread.c, solib-aix5.c: Update. | |
616 | * solib-frv.c, solib-irix.c, solib-osf.c, solib-pa64.c: Update. | |
617 | * solib-som.c, solib-sunos.c, solib-svr4.c, solib.c: Update. | |
618 | * somread.c, somsolib.c, source.c, stabsread.c: Update. | |
619 | * stack.c, std-regs.c, symfile-mem.c, symfile.c: Update. | |
620 | * symmisc.c, symtab.c, target.c, thread.c, top.c: Update. | |
621 | * tracepoint.c, trad-frame.c, typeprint.c, utils.c: Update. | |
622 | * uw-thread.c, valarith.c, valops.c, valprint.c: Update. | |
623 | * value.c, varobj.c, version.in, win32-nat.c, wince.c: Update. | |
624 | * xcoffread.c, xcoffsolib.c, cli/cli-cmds.c: Update. | |
625 | * cli/cli-decode.c, cli/cli-dump.c, cli/cli-logging.c: Update. | |
626 | * cli/cli-script.c, cli/cli-setshow.c, mi/mi-cmd-break.c: Update. | |
627 | * mi/mi-cmd-disas.c, mi/mi-cmd-env.c, mi/mi-cmd-file.c: Update. | |
628 | * mi/mi-cmd-stack.c, mi/mi-cmd-var.c, mi/mi-getopt.c: Update. | |
629 | * mi/mi-symbol-cmds.c, tui/tui-layout.c, tui/tui-stack.c: Update. | |
630 | * tui/tui-win.c: Update. | |
631 | ||
3517749c ILT |
632 | 2005-02-10 Ian Lance Taylor <[email protected]> |
633 | ||
634 | * MAINTAINERS: Update my e-mail address. | |
635 | ||
cf309262 DJ |
636 | 2005-02-10 Daniel Jacobowitz <[email protected]> |
637 | ||
638 | From Ramana Radhakrishnan <[email protected]>: | |
639 | PR exp/1821 | |
640 | * cp-valprint.c: Include "language.h". | |
641 | (cp_print_value_fields): Pass the current language to | |
642 | fprintf_symbol_filtered. | |
643 | * Makefile.in (cp-valprint.o): Update dependencies. | |
644 | ||
899506a8 AC |
645 | 2005-02-10 Andrew Cagney <[email protected]> |
646 | ||
335cca0d AC |
647 | * cli/cli-decode.c (add_setshow_enum_cmd, add_setshow_cmd_full) |
648 | (add_setshow_auto_boolean_cmd, add_setshow_boolean_cmd) | |
649 | (add_setshow_filename_cmd, add_setshow_string_cmd) | |
650 | (add_setshow_uinteger_cmd, add_setshow_zinteger_cmd): Replace | |
651 | print string parameter with fprint_setshow function. | |
652 | * command.h (fprint_setshow_ftype): Define. Update declarations. | |
653 | * cli/cli-setshow.c (do_setshow_command): When fprint_setshow is | |
654 | available, use that. | |
655 | * cli/cli-decode.h (struct cmd_list_element): Add field | |
656 | fprint_setshow. | |
657 | * complaints.c (fprint_setshow_complaints): New function. | |
658 | (_initialize_complaints): Pass to add_setshow_zinteger_cmd. | |
659 | * hppa-tdep.c (_initialize_hppa_tdep): Replace "print" parameter | |
660 | with NULL. | |
661 | * mips-tdep.c (_initialize_mips_tdep): Ditto. | |
662 | * m32r-rom.c (_initialize_m32r_rom): Ditto. | |
663 | * cris-tdep.c (_initialize_cris_tdep): Ditto. | |
664 | * arm-tdep.c (_initialize_arm_tdep): Ditto. | |
665 | * remote-rdi.c (_initialize_remote_rdi): Ditto. | |
666 | * alpha-tdep.c (_initialize_alpha_tdep): Ditto. | |
667 | * dwarf2read.c (_initialize_dwarf2_read): Ditto. | |
668 | * frame.c (_initialize_frame): Ditto. | |
669 | * target.c (initialize_targets): Ditto. | |
670 | * maint.c (_initialize_maint_cmds): Ditto. | |
671 | * observer.c (_initialize_observer): Ditto. | |
672 | * infcall.c (_initialize_infcall): Ditto. | |
673 | * breakpoint.c (_initialize_breakpoint): Ditto. | |
674 | * cli/cli-logging.c (_initialize_cli_logging): Ditto. | |
675 | * remote.c (add_packet_config_cmd, _initialize_remote): Ditto. | |
676 | ||
899506a8 AC |
677 | * cli/cli-setshow.c (do_setshow_command): Move code printing the |
678 | value to the end of the function. Handle MI and non-MI output | |
679 | differently. | |
680 | ||
59c58d08 AC |
681 | 2005-02-09 Andrew Cagney <[email protected]> |
682 | ||
7376b4c2 AC |
683 | * cli/cli-decode.c (add_setshow_enum_cmd): Drop set_result and |
684 | show_result parameters. | |
685 | * mips-tdep.c (_initialize_mips_tdep): Update calls. | |
686 | * command.h: Update declaration. | |
687 | * arm-tdep.c (_initialize_arm_tdep, _initialize_arm_tdep): Update | |
688 | calls. | |
689 | ||
11dced61 AC |
690 | * NEWS: Mention removed commands. |
691 | * m68hc11-tdep.c (show_regs): Delete, unused. | |
692 | (_initialize_m68hc11_tdep): Delete deprecated "regs" command. | |
693 | * gdb-events.sh: Delete deprecated "set eventdebug" and "show | |
694 | eventdebug" commands. | |
695 | * gdb-events.c: Regenerate. | |
696 | * gdbarch.sh: Delete deprecated "set archdebug" and "show | |
697 | archdebug" commands. | |
698 | * gdbarch.c: Regenerate. | |
699 | * cli/cli-cmds.c (init_cli_cmds): Delete deprecated "set | |
700 | remotedebug" and "show remotedebug". | |
701 | * arm-tdep.c (_initialize_arm_tdep): Delete deprecated "set arm | |
702 | disassembly-flavor", "show arm disassembly-flavor", and | |
703 | "othernames" commands. | |
704 | (arm_othernames): Delete unused function. | |
705 | ||
b6e1c027 AC |
706 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call) |
707 | (convert_code_addr_to_desc_addr): Convert any function code | |
708 | address to the corresponding function's descriptor. | |
709 | (ppc64_sysv_abi_return_value): have TYPE_CODE_ENUM and | |
710 | TYPE_CODE_INT use the same code paths as TYPE_CODE_INT. When | |
711 | writing, convert any function code address to the corresponding | |
712 | descriptor. | |
713 | ||
59c58d08 AC |
714 | * config/sh/linux.mt (TDEPFILES): Add symfile-mem.o. |
715 | * config/powerpc/linux.mt (TDEPFILES): Ditto. | |
716 | * config/pa/linux.mt (TDEPFILES): Ditto. | |
717 | * config/mips/linux.mt (TDEPFILES): Ditto. | |
718 | * config/m68k/linux.mt (TDEPFILES): Ditto. | |
719 | * config/m32r/linux.mt (TDEPFILES): Ditto. | |
720 | * config/ia64/linux.mt (TDEPFILES): Ditto. | |
721 | * config/arm/linux.mt (TDEPFILES): Ditto. | |
722 | ||
b6e1c027 AC |
723 | 2005-02-09 Corinna Vinschen <[email protected]> |
724 | ||
725 | * symmisc.c: Include gdb_stat.h. | |
726 | (maintenance_print_msymbols): Use inode numbers to compare files. | |
727 | ||
91294c83 AC |
728 | 2005-02-08 Andrew Cagney <[email protected]> |
729 | ||
d3cbe7ef AC |
730 | * value.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET) |
731 | (METHOD_PTR_TO_VOFFSET): Move from here ... | |
732 | * cp-support.h (METHOD_PTR_IS_VIRTUAL, METHOD_PTR_FROM_VOFFSET) | |
733 | (METHOD_PTR_TO_VOFFSET): ... to here. | |
734 | * cp-valprint.c, p-valprint.c, eval.c: Include "cp-support.h". | |
735 | * Makefile.in: Update dependencies. | |
736 | ||
6941d02a AC |
737 | * exceptions.c: Do not include <setjmp.h>. |
738 | (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP): Delete macros. | |
739 | (catch_exception, catch_exceptions_with_msg, catch_errors) | |
740 | (catch_command_errors): Use TRY_CATCH. | |
741 | (struct catcher): Use EXCEPTIONS_SIGJMP_BUF. | |
742 | (exceptions_state_mc_init): Rename catcher_init. | |
743 | (exceptions_state_mc): Rename catcher_state_machine. | |
744 | (exceptions_state_mc_action_iter) | |
745 | (exceptions_state_mc_action_iter_1): New functions. | |
746 | * exceptions.h: Include <setjmp.h>. | |
747 | (EXCEPTIONS_SIGJMP_BUF, EXCEPTIONS_SIGSETJMP) | |
748 | (EXCEPTIONS_SIGLONGJMP): Define. | |
749 | (exceptions_state_mc_init, exceptions_state_mc_action_iter) | |
750 | (exceptions_state_mc_action_iter_1): Declare. | |
751 | (TRY_CATCH): Define. | |
752 | ||
179f02be AC |
753 | * ppc-linux-tdep.c (ppc_linux_init_abi): Do not set malloc name, |
754 | no longer needed. | |
755 | ||
8f135812 AC |
756 | * ppc-linux-nat.c (ppc_register_u_addr): Hack around 64-bit |
757 | PT_FPSCR breakage. | |
758 | ||
91294c83 AC |
759 | * value.c (struct value): Move to here ... |
760 | * value.h (struct value): ... from here. Copy comments to | |
761 | corresponding function declarations, re-order. | |
762 | ||
dfa52d88 AC |
763 | 2005-02-07 Andrew Cagney <[email protected]> |
764 | ||
9bbda503 AC |
765 | * value.c (set_value_bitpos, set_value_bitsize): Define. |
766 | * value.h (set_value_bitpos, set_value_bitsize): Declare. | |
767 | * ada-lang.c, valarith.c: Update. | |
768 | ||
5086187c AC |
769 | * cp-valprint.c, c-valprint.c, infcall.c: Use value_contents or |
770 | value_contents_writeable, include note that there are problems. | |
771 | * breakpoint.c, infcall.c: Use VALUE_LVAL. | |
772 | ||
f5cf64a7 AC |
773 | * value.h (set_value_offset): Declare. |
774 | * value.c (set_value_offset): Declare. | |
775 | * gnu-v2-abi.c, jv-valprint.c, valarith.c, valops.c: Update. | |
776 | * findvar.c: Update. | |
777 | ||
17cf0ecd AC |
778 | * value.h (value_next): Declare. |
779 | * value.c (value_next): Define. | |
780 | * breakpoint.c: Update. | |
781 | ||
88e3b34b AC |
782 | * value.h (deprecated_set_value_modifiable) |
783 | (deprecated_value_modifiable): Declare. | |
784 | * value.c (deprecated_set_value_modifiable): Define. | |
785 | (deprecated_value_modifiable): Define. | |
786 | * ada-lang.c, valops.c, breakpoint.c, tracepoint.c: Update. | |
787 | ||
04624583 AC |
788 | * value.h (deprecated_set_value_type): Declare. |
789 | * value.c (deprecated_set_value_type): Define. | |
790 | * hpacc-abi.c, gnu-v2-abi.c, cp-valprint.c: Update. | |
791 | * c-valprint.c, jv-lang.c, objc-lang.c, ada-lang.c: Update. | |
792 | * infcall.c, printcmd.c, valops.c, eval.c, p-exp.y: Update. | |
793 | * ax-gdb.c, tracepoint.c: Update. | |
794 | ||
13bb5560 AC |
795 | * value.h (deprecated_value_lval_hack) |
796 | (deprecated_value_address_hack) | |
7d71e29c | 797 | (deprecated_value_internalvar_hack) |
13bb5560 AC |
798 | (deprecated_value_regnum_hack): Declare. |
799 | (VALUE_LVAL, VALUE_ADDRESS, VALUE_INTERNALVAR) | |
800 | (VALUE_FRAME_ID, VALUE_REGNUM): Use. | |
801 | * value.c (deprecated_value_lval_hack) | |
802 | (deprecated_value_address_hack) | |
7d71e29c | 803 | (deprecated_value_internalvar_hack) |
13bb5560 AC |
804 | (deprecated_value_regnum_hack): Define. |
805 | ||
b44d461b AC |
806 | * value.h (VALUE_POINTED_TO_OFFSET): Delete. |
807 | (set_value_pointed_to_offset, value_pointed_to_offset): Declare. | |
808 | * value.c (set_value_pointed_to_offset): Define | |
809 | (value_pointed_to_offset): Define. | |
810 | * valops.c: Update. | |
811 | ||
caadb61d AC |
812 | * value.h (VALUE_EMBEDDED_OFFSET): Delete. |
813 | (value_embedded_offset, set_value_embedded_offset): Declare. | |
13c3b5f5 | 814 | * value.c (value_embedded_offset): Define. |
caadb61d | 815 | (set_value_embedded_offset): Define. |
13c3b5f5 AC |
816 | * valops.c, p-valprint.c, mi/mi-main.c, hpacc-abi.c: Update. |
817 | * gnu-v3-abi.c, eval.c, c-valprint.c, cp-valprint.c: Update. | |
818 | * cp-abi.h: Update. | |
819 | ||
dfa52d88 AC |
820 | * value.h (VALUE_LAZY): Delete |
821 | (set_value_lazy): Declare. | |
822 | * value.c (set_value_lazy): Define. | |
823 | * valops.c, valarith.c, jv-valprint.c, jv-lang.c: Update. | |
824 | * gnu-v2-abi.c, findvar.c, dwarf2loc.c, ada-lang.c: Update. | |
825 | ||
0fd88904 AC |
826 | 2005-02-06 Andrew Cagney <[email protected]> |
827 | ||
feb13ab0 AC |
828 | * value.h (VALUE_OPTIMIZED_OUT): Delete. |
829 | (value_optimized_out, set_value_optimized_out): Declare. | |
830 | * value.c (set_value_optimized_out, value_optimized_out): Define. | |
831 | * valprint.c, findvar.c, dwarf2loc.c: Update. | |
832 | ||
0fd88904 AC |
833 | * value.c (value_contents, value_contents_writeable): New |
834 | functions. | |
835 | * value.h (VALUE_CONTENTS): Delete macro. | |
836 | (value_contents, value_contents_writeable): Declare. | |
837 | * xstormy16-tdep.c, value.c, valops.c, valarith.c: Update. | |
838 | * stack.c, sparc-tdep.c, sparc64-tdep.c, sh-tdep.c: Update. | |
839 | * sh64-tdep.c, scm-valprint.c, scm-exp.c, s390-tdep.c: Update. | |
840 | * rs6000-tdep.c, p-valprint.c, printcmd.c: Update. | |
841 | * ppc-sysv-tdep.c, mips-tdep.c, mi/mi-main.c: Update. | |
842 | * m88k-tdep.c, m68hc11-tdep.c, m32r-tdep.c: Update. | |
843 | * jv-valprint.c, ia64-tdep.c, hppa-tdep.c: Update. | |
844 | * hpacc-abi.c, f-valprint.c, frv-tdep.c, eval.c: Update. | |
845 | * c-valprint.c, cris-tdep.c, cp-valprint.c: Update. | |
846 | * cli/cli-dump.c, breakpoint.c, avr-tdep.c, arm-tdep.c: Update. | |
847 | * arm-linux-tdep.c, amd64-tdep.c, alpha-tdep.c: Update. | |
848 | * ada-valprint.c, ada-lang.c: Update. | |
849 | ||
5b90c7b5 AC |
850 | 2005-02-03 Andrew Cagney <[email protected]> |
851 | ||
852 | * utils.c (xzalloc): New function. | |
853 | * defs.h (XZALLOC): Use xzalloc. | |
854 | (xzalloc): Declare. | |
855 | * value.c (allocate_value): Allocate a zeroed buffer. | |
856 | * mdebugread.c (xzalloc): Delete. | |
857 | ||
4754a64e AC |
858 | 2005-02-02 Andrew Cagney <[email protected]> |
859 | ||
d69fe07e AC |
860 | * value.h (value_lazy): Declare. |
861 | * varobj.c, value.c, valops.c, valarith.c, printcmd.c: Update. | |
862 | * cp-valprint.c, breakpoint.c, ada-lang.c: Update. | |
863 | ||
46615f07 AC |
864 | * value.h (VALUE_CONTENTS_ALL): Delete. |
865 | (value_contents_all): Declare. | |
866 | * value.c (value_contents_all): New function. | |
867 | * hpacc-abi.c, cp-valprint.c, valops.c, c-valprint.c: Update. | |
868 | * m68k-tdep.c, i386-tdep.c, infcall.c, valops.c: Update. | |
869 | ||
4754a64e AC |
870 | * value.c (value_enclosing_type): New function. |
871 | * value.h (VALUE_ENCLOSING_TYPE): Delete. | |
872 | (value_enclosing_type): Declare. | |
873 | * xstormy16-tdep.c, vax-tdep.c, m68k-tdep.c, i386-tdep.c: Update. | |
874 | * gnu-v3-abi.c, hpacc-abi.c, infcall.c, valops.c: Update. | |
875 | ||
990a07ab AC |
876 | * value.c (value_contents_all_raw) |
877 | (value_contents_raw): New functions. | |
878 | * value.h (VALUE_CONTENTS_ALL_RAW, VALUE_CONTENTS_RAW): Delete. | |
879 | (value_contents_raw, value_contents_all_raw): Declare functions. | |
880 | (VALUE_CONTENTS, VALUE_CONTENTS_ALL): Update. | |
881 | * std-regs.c, valarith.c, valops.c, eval.c: Update. | |
882 | * tracepoint.c, findvar.c: Update. | |
883 | ||
ff2c3e5d OF |
884 | 2005-02-01 Orjan Friberg <[email protected]> |
885 | ||
886 | * regformats/reg-cris.dat: New file with register definitions for CRIS. | |
887 | * regformats/reg-crisv32.dat: Ditto for CRISv32. | |
888 | ||
c46f8c51 AC |
889 | 2005-01-31 Andrew Cagney <[email protected]> |
890 | ||
891 | * configure: Regenerate to track ../gettext.m4. | |
892 | ||
a80493b8 BI |
893 | 2005-01-29 Baurzhan Ismagulov <[email protected]> |
894 | ||
895 | * MAINTAINERS: Add myself to "Write After Approval". | |
896 | ||
3d263c1d BI |
897 | * ax-gdb.c, ax-general.c, bcache.c, bfd-target.c, bsd-kvm.c, |
898 | * buildsym.c, c-lang.c, c-typeprint.c, c-valprint.c, charset.c, | |
899 | * coff-pe-read.c, coffread.c, complaints.c, copying.c: I18n markup. | |
900 | ||
c21a4eee MK |
901 | 2005-01-29 Mark Kettenis <[email protected]> |
902 | ||
903 | * configure.ac: Remove extra check for ranlib. | |
904 | * configure: Regenerated. | |
905 | ||
108d6ead AC |
906 | 2005-01-28 Andrew Cagney <[email protected]> |
907 | ||
a2bd3dcd AC |
908 | * language.h (struct language_defn): Make la_val_print's buffer |
909 | parameter a const bfd_byte. | |
910 | * cp-valprint.c (cp_print_value_fields, cp_print_value): Update. | |
911 | * ada-lang.c (ada_aligned_value_addr) | |
912 | (ada_value_primitive_packed_val, ada_which_variant_applies): Update. | |
913 | * valprint.c (val_print_array_elements): Update. | |
914 | * valprint.h (val_print_array_elements): Update. | |
915 | * ada-lang.h (ada_val_print, ada_aligned_value_addr) | |
916 | (ada_value_primitive_packed_val, ada_which_variant_applies): Update. | |
917 | * ada-valprint.c (ada_val_print, struct ada_val_print_args) | |
918 | (ada_val_print_1, ada_print_floating, printable_val_type) | |
919 | (print_record, val_print_packed_array_elements) | |
920 | (print_field_values, print_variant_part): Update. | |
921 | * c-lang.h (c_val_print, cp_print_value_fields): Update. | |
922 | * c-valprint.c (c_val_print): Update. | |
923 | * f-lang.h (f_val_print): Update. | |
924 | * f-valprint.c (f_val_print, f77_print_array_1) | |
925 | (f77_print_array): Update. | |
926 | * jv-lang.h (java_val_print): Update. | |
927 | * jv-valprint.c (java_print_value_fields, java_val_print): Update. | |
928 | * language.c (unk_lang_val_print): Update. | |
929 | * m2-lang.h (m2_val_print): Update. | |
930 | * m2-valprint.c (m2_val_print): Update. | |
931 | * p-lang.h (pascal_val_print): Update. | |
932 | (pascal_object_print_value_fields): Update. | |
933 | * p-valprint.c (pascal_val_print) | |
934 | (pascal_object_print_value_fields, pascal_object_print_value) | |
935 | (pascal_object_print_value): Update. | |
936 | * scm-lang.h (scm_val_print): Update. | |
937 | * scm-valprint.c (scm_val_print): Update. | |
938 | * value.h (val_print): Update. | |
939 | ||
5bcca90b AC |
940 | * p-lang.h (pascal_object_print_class_member) |
941 | (pascal_object_print_class_method): Make buffer a const bfd_byte. | |
942 | * p-valprint.c (pascal_object_print_class_method) | |
943 | (pascal_object_print_class_method): Ditto. | |
944 | ||
ce27fb25 AC |
945 | * language.h (struct language_defn): Make la_printstr's buffer |
946 | parameter a const bfd_byte. | |
947 | * p-lang.h (pascal_printstr): Update function to match. | |
948 | * ada-valprint.c (ada_printstr): Update function to match. | |
949 | * scm-lang.c (scm_printstr): Update function to match. | |
950 | * p-lang.c (pascal_printstr): Update function to match. | |
951 | * ada-lang.h (ada_printstr): Update function to match. | |
952 | * m2-lang.c (m2_printstr): Update function to match. | |
953 | * objc-lang.c (objc_printstr): Update function to match. | |
954 | * c-lang.h (c_printstr): Update function to match. | |
955 | * f-lang.c (f_printstr): Update function to match. | |
956 | * c-lang.c (c_printstr): Update function to match. | |
957 | * language.c (unk_lang_printstr): Update function to match. | |
958 | ||
5f547748 AC |
959 | * valprint.c (val_print_type_code_int): Make buffer a const bfd_byte. |
960 | * valprint.h (val_print_type_code_int): Ditto. | |
961 | ||
bbb4b9db AC |
962 | * objc-lang.h (c_val_print, c_value_print): Delete declarations. |
963 | ||
9519ccd5 AC |
964 | * cp-valprint.c (cp_print_class_method) |
965 | (cp_print_class_member): Make buffer a const bfd_byte. | |
966 | * c-lang.h (cp_print_class_member, cp_print_class_method): Ditto. | |
967 | ||
10a2c479 AC |
968 | * ada-lang.c (value_from_contents_and_address) |
969 | (to_record_with_fixed_variant_part) | |
970 | (value_tag_from_contents_and_address, ada_to_fixed_type) | |
971 | (to_fixed_variant_branch_type, to_fixed_record_type) | |
972 | (ada_template_to_fixed_record_type, cond_offset_host) | |
973 | (ada_template_to_fixed_record_type_1): Make buffer a const | |
974 | bfd_byte. | |
975 | * ada-lang.h (ada_template_to_fixed_record_type_1) | |
976 | (value_from_contents_and_address, ada_to_fixed_type): Ditto. | |
977 | ||
d56612af AC |
978 | * ada-valprint.c (char_at, printstr): Make buffer a const bfd_byte. |
979 | ||
366b1cbf | 980 | * gdbtypes.h (print_scalar_formatted): Make buffer a const bfd_byte. |
d56612af | 981 | * printcmd.c (print_scalar_formatted): Update. |
366b1cbf | 982 | |
c84141d6 AC |
983 | * value.h (value_bit_index, print_floating) |
984 | (find_rt_vbase_offset): Make buffer a const bfd_byte. | |
985 | * valprint.c (print_floating): Update. | |
986 | * valarith.c (value_bit_index): Update. | |
987 | * valops.c (find_rt_vbase_offset): Update. | |
988 | ||
6c403953 AC |
989 | * valprint.h (print_octal_chars, print_char_chars) |
990 | (print_hex_chars, print_decimal_chars, print_binary_chars): Make | |
991 | buffer a const bfd_byte. | |
992 | * valprint.c (print_binary_chars, print_octal_chars) | |
993 | (print_decimal_chars, print_hex_chars, print_char_chars): Make | |
994 | "valaddr"buffer a const bfd_byte, ditto for local variables | |
995 | referencing that buffer. | |
996 | ||
a8d6eb4a AC |
997 | * m2-valprint.c: Include "c-lang.h". |
998 | (c_val_print): Delete extern declaration. | |
999 | * scm-valprint.c: Include "c-lang.h". | |
1000 | (c_val_print): Delete extern declaration. | |
1001 | Makefile.in: Update dependencies. | |
1002 | ||
06c4d4dc AC |
1003 | * gnu-v2-abi.h (gnuv2_baseclass_offset): Make "valaddr" a const |
1004 | bfd_byte. | |
1005 | * cp-abi.h (baseclass_offset): Make "valaddr" a const bfd_byte. | |
1006 | (struct cp_abi_ops): Make baseclass_offset's "valaddr" a const | |
1007 | bfd_byte. | |
1008 | * cp-abi.c (baseclass_offset): Update. | |
1009 | * gnu-v2-abi.c (gnuv2_baseclass_offset): Update. | |
1010 | ||
6b08edad AC |
1011 | * gnu-v2-abi.h: New file. |
1012 | * gnu-v2-abi.c: Include "gnu-v2-abi.h". | |
1013 | (gnuv2_baseclass_offset): Delete declaration. | |
1014 | * hpacc-abi.c: Include "gnu-v2-abi.h". | |
1015 | (gnuv2_baseclass_offset): Delete extern declaration. | |
1016 | * Makefile.in: Update dependencies. | |
1017 | ||
108d6ead AC |
1018 | * doublest.c (floatformat_is_negative, floatformat_is_nan) |
1019 | (floatformat_mantissa, get_field): Make the buffer a const | |
1020 | bfd_byte, simplify. | |
1021 | ||
a53bf506 AC |
1022 | 2005-01-27 Andrew Cagney <[email protected]> |
1023 | ||
8cc2524a AC |
1024 | * value.h (struct value): Change type of contents to bfd_byte. |
1025 | (VALUE_CONTENTS_RAW): Simplify. | |
1026 | ||
79dd2d24 AC |
1027 | * gdbarch.sh (integer_to_address): Change buf parameter to a const |
1028 | bfd_byte, make pure-multi-arch. | |
1029 | * gdbarch.h, gdbarch.c: Regenerate. | |
1030 | * mips-tdep.c (mips_integer_to_address): Update. | |
1031 | * value.c (value_as_address): Update. | |
1032 | ||
c26b8e3b AC |
1033 | * cli/cli-dump.h (fopen_with_cleanup): Make "filename" const. |
1034 | * cli/cli-dump.c (dump_binary_file, dump_bfd_file): Make string | |
1035 | parameters const, change buf to a const bfd_byte. | |
1036 | (fopen_with_cleanup, bfd_openw_with_cleanup): Make all string | |
1037 | parameters const. | |
1038 | ||
10e2d419 AC |
1039 | * corefile.c (write_memory): Update, make a copy of the read-only |
1040 | buffer. | |
1041 | * target.c (target_read_memory): Update. | |
1042 | (target_write_memory): Update, make a copy of the read-only | |
1043 | buffer. | |
1044 | * gdbcore.h (write_memory): Change buffer type to bfd_byte, make | |
1045 | const. | |
1046 | * target.h (target_read_memory, target_write_memory): Change | |
1047 | buffer type to bfd_byte; for write_memory, make it const. | |
1048 | * symfile-mem.c (do_target_read_memory): New function. | |
1049 | (symbol_file_add_from_memory): Pass do_target_read_memory to | |
1050 | bfd_elf_bfd_from_remote_memory. | |
1051 | ||
89f5065b AC |
1052 | * value.h: Indent using gdb_indent.sh. |
1053 | ||
a53bf506 AC |
1054 | * configure: Regenerate to track ../gettext.m4 change. |
1055 | ||
c44ca51c AC |
1056 | 2005-01-26 Andrew Cagney <[email protected]> |
1057 | ||
1058 | * rs6000-tdep.c: Include "reggroups.h". | |
1059 | (rs6000_gdbarch_init): Set register_reggroup_p. | |
1060 | (rs6000_register_reggroup_p): New function. | |
1061 | ||
c600d464 OF |
1062 | 2005-01-26 Orjan Friberg <[email protected]> |
1063 | ||
1064 | * cris-tdep.c (enum cris_num_regs, enum cris_regnums) | |
1065 | (cris_sigtramp_frame_unwind_cache, cris_register_size): Update for | |
1066 | CRISv32. | |
1067 | (crisv32_single_step_through_delay, cris_can_use_hardware_watchpoint) | |
1068 | (cris_region_ok_for_watchpoint, cris_stopped_data_address) | |
1069 | (crisv32_cannot_fetch_register, crisv32_cannot_store_register) | |
1070 | (crisv32_register_type, cris_special_register_name) | |
1071 | (crisv32_register_name): New functions. | |
1072 | (cris_spec_reg_applicable): Recognize more versions. | |
1073 | (cris_register_name): Update with call to cris_special_register_name. | |
1074 | (find_cris_op): Filter out CRISv32 instructions. Tweaked comment and | |
1075 | warning when unable to find step target. | |
1076 | (CRISV10_ELF_NGREG, CRISV32_ELF_NGREG, crisv32_elf_gregset_t): Define. | |
1077 | (supply_gregset): Add struct gdbarch_tdep. Set pseudo-PC register for | |
1078 | CRISv32. | |
1079 | (fetch_core_registers): Update for CRISv32. | |
1080 | (cris_gdbarch_init): Set pc_regnum, register_type, num_regs, | |
1081 | register_name, cannot_store_register, cannot_fetch_register, | |
1082 | have_nonsteppable_watchpoint, single_step_through_delay for CRISv32. | |
1083 | ||
82c94ed0 NR |
1084 | 2005-01-26 Nick Roberts <[email protected]> |
1085 | ||
1086 | * interps.c (interpreter_exec_cmd): Use condition, | |
1087 | e.reason < 0, to raise an error. | |
1088 | ||
0598a43c AC |
1089 | 2005-01-25 Andrew Cagney <[email protected]> |
1090 | ||
a8f60bfc AC |
1091 | * ppc-linux-tdep.c: Include "tramp-frame.h" |
1092 | (struct ppc_linux_sigtramp_cache) | |
1093 | (ppc_linux_sigtramp_this_id, ppc_linux_sigtramp_prev_register) | |
1094 | (ppc_linux_sigtramp_unwind, ppc_linux_sigtramp_sniffer) | |
1095 | (ppc_linux_sigtramp_cache): Delete. | |
1096 | (ppc32_linux_sigaction_cache_init) | |
1097 | (ppc64_linux_sigaction_cache_init) | |
1098 | (ppc32_linux_sighandler_cache_init) | |
1099 | (ppc64_linux_sighandler_cache_init) | |
1100 | (ppc32_linux_sigaction_tramp_frame) | |
1101 | (ppc64_linux_sigaction_tramp_frame) | |
1102 | (ppc32_linux_sighandler_tramp_frame) | |
1103 | (ppc64_linux_sighandler_tramp_frame) | |
1104 | (ppc_linux_sigtramp_cache, ppc_linux_init_abi): Implement 32 and | |
1105 | 64-bit, sigaction and siginfo tramp-frame unwinders. | |
1106 | ||
0598a43c AC |
1107 | * ppc-linux-tdep.c (ppc_linux_init_abi): Always set |
1108 | long_double_bit to 8. | |
1109 | ||
9d799f85 AC |
1110 | 2005-01-24 Andrew Cagney <[email protected]> |
1111 | ||
1112 | * infrun.c (handle_inferior_event): Handle back-to-back and nested | |
1113 | signals where the step_resume_breakpoint may have already been | |
1114 | inserted. | |
1115 | ||
45181ed1 AC |
1116 | 2005-01-24 Andrew Cagney <[email protected]> |
1117 | ||
1118 | * configure: Regenerate, ../gettext.m4 was updated. | |
1119 | ||
a28109e0 MK |
1120 | 2005-01-23 Mark Kettenis <[email protected]> |
1121 | ||
6fe85783 MK |
1122 | * NEWS: Mention new BSD user-level threads support. |
1123 | ||
a28109e0 MK |
1124 | * i386obsd-tdep.c: Update copyright year. Include |
1125 | "bsd-uthread.h". | |
1126 | (i386obsd_uthread_reg_offset): New variable. | |
1127 | (I386OBSD_UTHREAD_ESP_OFFSET): New define. | |
1128 | (i386obsd_supply_uthread, i386obsd_collect_uthread): New | |
1129 | functions. | |
1130 | (i386obsd_init_abi): Set supply_uthread and collect_uthread. | |
1131 | * Makefile.in (i386obsd-tdep.o): Update dependencies. | |
1132 | * config/i386/obsd.mt (TDEPFILES): Add bsd-uthread.o. | |
1133 | ||
059198c1 CF |
1134 | 2005-01-23 Christopher Faylor <[email protected]> |
1135 | ||
1136 | * win32-nat.c: Update copyright year. | |
1137 | (child_init_thread_list): Set thread linked list point to NULL so that | |
1138 | it won't be reused after clearing. | |
1139 | ||
5c45e068 MK |
1140 | 2005-01-21 Mark Kettenis <[email protected]> |
1141 | ||
1142 | * acconfig.h (HAVE_STRUCT_REG_R_FS, HAVE_STRUCT_R_GS): Remove | |
1143 | undefs. | |
1144 | * configure.ac: Use AC_CHECK_MEMBERS to check whether `struct | |
1145 | thread' has a td_pcb member and whether `struct reg' has r_fs and | |
1146 | r_gs members. | |
1147 | * configure, config.in: Regenerate. | |
1148 | ||
666ec76f MK |
1149 | 2005-01-21 Mark Kettenis <[email protected]> |
1150 | ||
b8667b61 MK |
1151 | * configure.ac: Remove ia64-*-aix* junk. |
1152 | * configure: Regenerate. | |
1153 | ||
a3828db0 MK |
1154 | * configure.ac: Use AC_CHECK_DECLS instead of gcc_AC_CHECK_DECLS |
1155 | and BFD_NEED_DECLARATION. Don't check if a declaration of strdup | |
1156 | is necessary. | |
1157 | * configure, config.in: Regenerate. | |
1158 | * utils.c: Adjust for usage of AC_CHECK_DECLS instead of | |
1159 | BFD_NEED_DECLARATION. Never provide a prototype for | |
1160 | caninicalize_file_name. | |
1161 | * gdb_string.h: Adjust for usage of AC_CHECK_DECLS instead of | |
1162 | BFD_NEED_DECLARATION. | |
1163 | ||
666ec76f MK |
1164 | * configure.ac (targ_archs): Use standard autoconf check for |
1165 | "struct stat.st_blocks" instead of rolling our own. | |
1166 | * configure: Regenerated. | |
1167 | * acconfig.h (HAVE_STRUCT_STAT_ST_BLOCKS): Remove undef. | |
1168 | * config.in: Regenerated. | |
1169 | ||
bc8bcb4b MK |
1170 | 2005-01-21 Mark Kettenis <[email protected]> |
1171 | ||
1172 | * configure.ac: Modernize checks for `long long' and `long double' | |
1173 | support. | |
1174 | * configure: Regenerated. | |
1175 | * acconfig.h (CC_HAS_LONG_LONG, PRINTF_HAS_LONG_LONG) | |
1176 | (PRINT_HAS_LONG_DOUBLE, SCANF_HAS_LONG_DOUBLE): Remove undefs. | |
1177 | * config.in: Regenerated. | |
1178 | ||
30adeb3a MK |
1179 | 2005-01-20 Mark Kettenis <[email protected]> |
1180 | ||
1181 | * acconfig.h (HAVE_STRUCT_SAVE_STATE_T) | |
1182 | (HAVE_STRUCT_MEMBER_SS_WIDE): Remove undefs. | |
1183 | * configure.ac: Remove checks for HP-UX save_state structure. | |
1184 | * configure: Regenerated. | |
1185 | ||
e06e2353 AC |
1186 | 2005-01-19 Andrew Cagney <[email protected]> |
1187 | ||
1188 | * utils.c (quit): Simplify, call fatal. | |
1189 | * exceptions.c: Include "serial.h" | |
1190 | (print_flush): Mimic flush code found in utils.c:quit. | |
1191 | * Makefile.in: Update dependencies. | |
1192 | ||
1c44323f JB |
1193 | 2005-01-19 Jim Blandy <[email protected]> |
1194 | ||
065a1afc JB |
1195 | * configure.tgt: Set build_rdi_share to "yes" on those targets |
1196 | that use that debugging protocol. | |
1197 | Set build_nlm to yes to build NLM stub for Netware targets. | |
1198 | * configure.ac: If build_rdi_share is "yes", then configure the | |
1199 | rdi-share subdirectory. | |
1200 | If build_nlm is "yes", the configure the "nlm" subdirectory. | |
1201 | * configure: Regenerated. | |
1202 | ||
1c44323f JB |
1203 | * rdi-share/configure, rdi-share/aclocal.m4: Regenerated using |
1204 | autoconf 2.59 and automake 1.9.3. | |
1205 | ||
8a9de0e4 AC |
1206 | 2005-01-19 Andrew Cagney <[email protected]> |
1207 | ||
315a522e AC |
1208 | * exceptions.h (deprecated_throw_reason): Rename throw_reason. |
1209 | * exceptions.c (deprecated_throw_reason): Rename throw_reason. | |
1210 | * utils.c (internal_verror, quit): Update. | |
1211 | * remote-sds.c (interrupt_query): Update. | |
1212 | * remote-mips.c (mips_error, mips_kill): Update. | |
1213 | * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Update. | |
1214 | * remote.c (interrupt_query): Update. | |
1215 | * ocd.c (interrupt_query): Update. | |
1216 | * nto-procfs.c (interrupt_query): Update. | |
1217 | * monitor.c (monitor_interrupt_query): Update. | |
1218 | * breakpoint.c (break_command_1): Update. | |
1219 | ||
8a9de0e4 AC |
1220 | * infrun.c: (resume, proceed, wait_for_inferior) |
1221 | (handle_inferior_event, stop_stepping) | |
1222 | (prepare_to_wait): Write debug output to gdb_stdlog. | |
1223 | ||
53283f86 MK |
1224 | 2005-01-19 Mark Kettenis <[email protected]> |
1225 | ||
1226 | * inf-ptrace.c (inf_ptrace_prepare_to_store) | |
1227 | (inf_ptrace_post_startup_inferior) | |
1228 | (inf_ptrace_acknowledge_created_inferior) | |
1229 | (inf_ptrace_insert_fork_catchpoint) | |
1230 | (inf_ptrace_remove_fork_catchpoint) | |
1231 | (inf_ptrace_insert_vfork_catchpoint): | |
1232 | (inf_ptrace_remove_vfork_catchpoint, inf_ptrace_follow_fork) | |
1233 | (inf_ptrace_insert_exec_catchpoint) | |
1234 | (inf_ptrace_remove_exec_catchpoint): Remove functions. | |
1235 | (inf_ptrace_reported_exec_events_per_exec_call): Tweak comment. | |
1236 | (inf_ptrace_target): Don't set to_prepare_to_store, | |
1237 | to_post_startup_inferior, to_acknowledge_created_inferior, | |
1238 | to_insert_fork_ctachpoint, to_remove_fork_catchpoint, | |
1239 | to_insert_vfork_catchpoint, to_remove_vfork_catchpoint, | |
1240 | to_follow_fork, to_insert_exec_catchpoint, | |
1241 | to_remove_exec_catchpoint. | |
1242 | ||
9ee907e0 AC |
1243 | 2005-01-18 Andrew Cagney <[email protected]> |
1244 | ||
fa113d1a AC |
1245 | * target.h (struct target_ops): Change return type of |
1246 | to_insert_fork_catchpoint, to_insert_vfork_catchpoint and | |
1247 | to_insert_exec_catchpoint to void. | |
1248 | (child_insert_fork_catchpoint, child_insert_vfork_catchpoint) | |
1249 | (child_insert_exec_catchpoint): Change return type to void. | |
1250 | * target.c (update_current_target): Update. | |
1251 | (debug_to_insert_fork_catchpoint) | |
1252 | (debug_to_insert_vfork_catchpoint) | |
1253 | (debug_to_insert_exec_catchpoint): Update. | |
1254 | * inf-child.c (inf_child_insert_fork_catchpoint) | |
1255 | (inf_child_insert_vfork_catchpoint) | |
1256 | (inf_child_insert_exec_catchpoint): Update. | |
1257 | * breakpoint.c (insert_catchpoint): Update, do not throw an error. | |
1258 | * linux-nat.c (child_insert_fork_catchpoint) | |
1259 | (child_insert_vfork_catchpoint) | |
1260 | (child_insert_exec_catchpoint): Update. | |
1261 | * inftarg.c (child_insert_fork_catchpoint) | |
1262 | (child_insert_vfork_catchpoint,) | |
1263 | (child_insert_exec_catchpoint): Update. | |
1264 | ||
9ee907e0 AC |
1265 | * remote.c (remote_open_1): Use throw_exception. |
1266 | ||
295093a4 MS |
1267 | 2005-01-17 Michael Snyder <[email protected]> |
1268 | ||
1269 | * mips-linux-tdep.c: Whitespace tweaks. | |
1270 | ||
4bcff7eb CV |
1271 | 2005-01-17 Corinna Vinschen <[email protected]> |
1272 | ||
1273 | * infcmd.c (attach_command): Call CLEAR_SOLIB if available. | |
1274 | ||
637537d0 AC |
1275 | 2005-01-17 Andrew Cagney <[email protected]> |
1276 | ||
1277 | * top.h (source_error, source_pre_error): Delete declaration. | |
1278 | * cli/cli-script.c (source_error_allocated, source_error): Delete. | |
1279 | (script_from_file, source_cleanup_lines): Do not manipulate | |
1280 | source_error_allocated, error_pre_print and source_error. | |
1281 | (struct source_cleanup_lines_args): Delete fields old_pre_error, | |
1282 | and old_error_pre_print. | |
1283 | * top.c (source_error_allocated, source_error) | |
1284 | (source_pre_error): Delete. | |
1285 | (command_line_input): Do not set error_pre_print. | |
1286 | * event-top.c (command_line_handler): Do not set error_pre_print. | |
1287 | ||
12b21d12 JT |
1288 | 2005-01-16 Jason Thorpe <[email protected]> |
1289 | ||
1290 | * MAINTAINERS: Update my email address. | |
1291 | ||
1c02b2a5 MK |
1292 | 2005-01-16 Mark Kettenis <[email protected]> |
1293 | ||
c401b55a MK |
1294 | * configure.ac: Provide prerequisite headers when checking |
1295 | <term.h>. | |
1296 | * configure: Regenerate. | |
1297 | ||
1c02b2a5 MK |
1298 | * amd64fbsd-tdep.c: Update copyright year. Include "gdb_assert.h" |
1299 | and "bsd-uthread.h". | |
1300 | (amd64fbsd_jmp_buf_reg_offset): New variable. | |
1301 | (amd64fbsd_supply_uthread, amd64fbsd_collect_uthread): New | |
1302 | functions. | |
1303 | (amd64fbsd_init_abi): Set supply_uthread and collect_uthread. | |
1304 | * i386fbsd-tdep.c: Fix typo. | |
1305 | * Makefile.in (amd64fbsd-tdep.o): Update dependencies. | |
1306 | * config/i386/fbsd64.mt (TDEPFILES): Add bsd-uthread.o. | |
1307 | ||
17d92a02 AC |
1308 | 2005-01-16 Andrew Cagney <[email protected]> |
1309 | ||
1310 | * cli/cli-script.c: Include "exceptions.h". | |
1311 | (struct wrapped_read_command_file_args): Define. | |
1312 | (wrapped_read_command_file): New function. | |
1313 | (script_from_file): Replace direct call to read_command_file by | |
1314 | one wrapped by an exception handler. | |
1315 | * exceptions.c (throw_it): Free the old message after creating the | |
1316 | new. | |
1317 | * Makefile.in: Update dependencies. | |
1318 | ||
80ad1639 MK |
1319 | 2005-01-16 Mark Kettenis <[email protected]> |
1320 | ||
ae036357 MK |
1321 | * sparc64fbsd-tdep.c: Update copyright year. |
1322 | (sparc64fbsd_collect_gregset, sparc64fbsd_collect_fpregset): New | |
1323 | functions. | |
1324 | (sparc64fbsd_init_abi): Create register sets with collect | |
1325 | functions. | |
1326 | ||
ca5807d9 MK |
1327 | * sparc64fbsd-nat.c: Include "fbsd-nat.h". |
1328 | (_initialize_sparc64fbsd_nat): Add some extra features to the | |
1329 | generic SPARC target. | |
1330 | * Makefile.in (sparc64fbsd-nat.o): Update dependencies. | |
1331 | * config/sparc/fbsd.mh (NATDEPFILES): Add fbsd-nat.o and gcore.o. | |
1332 | (NAT_FILE): Set to solib.h. | |
1333 | * config/sparc/nm-fbsd.h: Remove file. | |
1334 | ||
c4f2d4d7 MK |
1335 | * sparc64-tdep.c (sparc64_store_arguments): Fix typo. |
1336 | ||
80ad1639 MK |
1337 | * sparc-tdep.c (sparc_integral_or_pointer_p): Simplify. |
1338 | ||
6212a5e9 AC |
1339 | 2005-01-16 Andrew Cagney <[email protected]> |
1340 | ||
1341 | * exceptions.c (struct catcher): Delete saved_error_pre_print and | |
1342 | saved_quit_pre_print. | |
1343 | (catcher_init): Delete parameter errstring, do not override the | |
1344 | pre_print strings. | |
1345 | (catcher_pop): Do not restore the pre_print strings. | |
1346 | (catch_exception, catch_exceptions_with_msg, catch_errors) | |
1347 | (catch_command_errors): Update catch_init calls. | |
1348 | ||
936df4b3 MK |
1349 | 2005-01-16 Mark Kettenis <[email protected]> |
1350 | ||
1351 | * Makefile.in (sparc64fbsd-nat.o): Update dependencies. | |
1352 | * sparc64fbsd-nat.c: Update copyright year. Include "target.h". | |
1353 | ||
3af1e0e3 AC |
1354 | 2005-01-15 Andrew Cagney <[email protected]> |
1355 | ||
85981d60 AC |
1356 | * acinclude.m4: Include ../bfd/bfd.m4 instead of |
1357 | ../bfd/acinclude.m4. Include ../gettext.m4. | |
1358 | * aclocal.m4, configure: Re-generate. | |
1359 | ||
5a14cc1a AC |
1360 | * exceptions.c (do_captured_command) |
1361 | (struct captured_command_args): Delete. | |
1362 | (catch_command_errors): Simplify by inlining call to catch_errors. | |
1363 | ||
3af1e0e3 AC |
1364 | * exceptions.c (struct catcher): Delete field print_message. |
1365 | (catcher_init): Delete print_message parameter. | |
1366 | (catch_exception, catch_exceptions_with_msg, catch_errors): Update. | |
1367 | (throw_it): Delete prefix parameter. | |
1368 | (throw_verror, throw_vfatal, throw_error): Update. | |
1369 | ||
d0555901 AC |
1370 | 2005-01-14 Andrew Cagney <[email protected]> |
1371 | ||
e48f5bee AC |
1372 | * exceptions.c (print_and_throw): Delete, replaced by throw_it. |
1373 | (throw_reason): Leave the exception's message field blank. | |
1374 | (throw_it): New function, create the exception and throw it. | |
1375 | (throw_verror, throw_vfatal, throw_error): Call throw_it. | |
1376 | (print_any_exception): New function. | |
1377 | (catch_errors, catch_exceptions_with_msg): Call | |
1378 | print_any_exception. | |
1379 | (throw_exception): Move code calling annotate_error and | |
1380 | annotate_quit from here ... | |
1381 | (print_exception): ... to here. | |
1382 | ||
c6da7a6d AC |
1383 | * exceptions.c (exception_fprintf, exception_print): Move printing |
1384 | of \n from here ... | |
1385 | (print_exception): ... to here. | |
1386 | (print_flush): New function. | |
1387 | (exception_print, exception_fprintf): Replace duplicated flush and | |
1388 | wrap code with call to print_flush. | |
1389 | (print_and_throw): Simplify, by using xstrvprintf, print_flush, | |
1390 | and print_exception. | |
1391 | (do_write): Delete. | |
1392 | ||
d0555901 AC |
1393 | * remote-sds.c (interrupt_query): Call throw_reason instead of |
1394 | throw_exception. | |
1395 | * remote-mips.c (mips_error, mips_kill): Ditto | |
1396 | * ocd.c (interrupt_query): Ditto. | |
1397 | * nto-procfs.c (interrupt_query): Ditto. | |
1398 | * monitor.c (monitor_interrupt_query): Ditto. | |
1399 | ||
949df321 JJ |
1400 | 2005-01-14 Jeff Johnston <[email protected]> |
1401 | ||
1402 | * ia64-linux-nat.c: Include "ia64-tdep.h" to get register definitions. | |
1403 | ||
bc8332bb AC |
1404 | 2005-01-14 Andrew Cagney <[email protected]> |
1405 | ||
1c3c7ee7 AC |
1406 | * exceptions.h (catch_exceptions): Delete errstring parameter. |
1407 | (catch_exceptions_with_msg): Ditto. | |
1408 | * exceptions.c (catch_exceptions_with_msg): Update. | |
1409 | (catch_exceptions): Update. | |
1410 | * symfile-mem.c (add_vsyscall_page): Update. | |
1411 | * frame.c (get_current_frame): Update. | |
1412 | * wrapper.c (gdb_value_struct_elt): Update. | |
1413 | * exceptions.c (catch_exceptions): Update. | |
1414 | * thread.c (gdb_list_thread_ids, gdb_thread_select): Update. | |
1415 | * breakpoint.c (gdb_breakpoint_query, gdb_breakpoint): Update. | |
1416 | * remote-fileio.c (remote_fileio_request): Update. | |
1417 | ||
9cbc821d AC |
1418 | * exceptions.h (exception_fprintf): Declare. |
1419 | (exception_print): Drop pre_print parameter. | |
1420 | * mi/mi-main.c (mi_execute_command): Update exception_print call. | |
1421 | * cli/cli-interp.c (safe_execute_command): Update exception_print | |
1422 | call. | |
1423 | * remote.c (remote_open_1): Instead of passing an error prefix to | |
1424 | catch_exceptions, use catch_exceptions and exception_fprintf. | |
1425 | (remote_start_remote): Change return type to void. | |
1426 | * breakpoint.c (insert_bp_location): Instead of passing an error | |
1427 | prefix to catch_exceptions, use catch_exceptions and | |
1428 | exception_fprintf. | |
1429 | (insert_catchpoint): Change return type to void. | |
1430 | (break_command_1): Update exception_print call. | |
1431 | * exceptions.c (exception_fprintf): New function. | |
1432 | (print_exception): New function. | |
1433 | (exception_print): Use print_exception. | |
1434 | ||
22e9b0f1 AC |
1435 | * utils.c (error_output_message): Delete function. |
1436 | * defs.h (error_output_message): Delete declaration. | |
1437 | ||
05ff989b AC |
1438 | * linespec.c (symtab_from_filename, decode_variable): Use |
1439 | throw_error instead of error_silent. | |
1440 | * breakpoint.c (do_captured_parse_breakpoint): Change return type | |
1441 | to void. | |
1442 | (break_command_1): Use catch_exception and check the error return | |
1443 | status. | |
1444 | * exceptions.c (throw_error): New function. | |
1445 | (throw_vsilent): Delete function. | |
1446 | * exceptions.h (throw_error): Declare. | |
1447 | (throw_vsilent): Delete declaration. | |
1448 | * utils.c (error_silent): Delete function. | |
1449 | * defs.h (error_silent): Delete declaration. | |
1450 | ||
8a076db9 AC |
1451 | * mi/mi-main.c (mi_execute_command): Print the exception. |
1452 | * cli/cli-interp.c (safe_execute_command): Print the exception. | |
1453 | * exceptions.h (exception_print): Declare. | |
1454 | * exceptions.c (struct catcher): Add field print_message. | |
1455 | (catcher_init): Add parameter print_message, store in the catcher | |
1456 | struct. | |
1457 | (print_and_throw): Only print the message when print_message. | |
1458 | (catch_exceptions_with_msg, catch_errors): Pass print_message=1 to | |
1459 | catcher_init. | |
1460 | (catch_exception): Pass print_message=0 to catcher_init. | |
1461 | ||
bc8332bb AC |
1462 | * varobj.c (varobj_create): Add missing \n. |
1463 | ||
d183932d MS |
1464 | 2005-01-13 Michael Snyder <[email protected]> |
1465 | ||
4e18e2de | 1466 | * cli/cli-decode.h: Whitespace tweaks. |
ca0b4d12 | 1467 | * wince.c: Whitespace tweaks. |
887a3a14 | 1468 | * uw-thread.c: Whitespace tweaks. |
0a4a0819 | 1469 | * utils.c: Whitespace tweaks. |
d183932d MS |
1470 | * tracepoint.[ch]: Whitespace tweaks. |
1471 | * solist.h: Whitespace tweaks. | |
1472 | ||
6b1b7650 AC |
1473 | 2005-01-13 Andrew Cagney <[email protected]> |
1474 | ||
b315da38 AC |
1475 | * exceptions.h (struct exception): Make message const. |
1476 | * mi/mi-main.c (mi_execute_command): Pass result.message directly | |
1477 | to fputstr_unfiltered. | |
1478 | ||
79e714b4 AC |
1479 | 2005-01-13 Michael Snyder <[email protected]> |
1480 | ||
1481 | * stack.c: Whitespace tweaks. | |
1482 | * somsolib.[ch]: Whitespace tweaks. | |
1483 | * solib-aix.c: Whitespace tweaks. | |
1484 | * solib.c: Whitespace tweaks. | |
1485 | * solib-frv.c: Whitespace tweaks. | |
1486 | * solib.h: Whitespace tweaks. | |
1487 | * solib-irix.c: Whitespace tweaks. | |
1488 | * solib-som.c: Whitespace tweaks. | |
1489 | * solib-sunos.c: Whitespace tweaks. | |
1490 | * solib-svr4.[ch]: Whitespace tweaks. | |
1491 | * ser-tcp.c: Whitespace tweaks. | |
1492 | * ser-unix.c: Whitespace tweaks. | |
1493 | * serial.h: Whitespace tweaks. | |
1494 | * scm-valprint.c: Whitespace tweaks. | |
1495 | * rs6000-tdep.c: Whitespace tweaks. | |
1496 | * rs6000-nat.c: Whitespace tweaks. | |
1497 | * remote.c: Whitespace tweaks. | |
1498 | ||
1499 | 2005-01-13 Andrew Cagney <[email protected]> | |
1500 | ||
6b1b7650 AC |
1501 | * defs.h (error_last_message, error_init): Delete declaration. |
1502 | * utils.c (fatal, vfatal): Call throw_vfatal. | |
1503 | (error, verror): Call throw_verror; | |
1504 | (do_write, error_stream_1): Delete function. | |
1505 | (error_stream): Simplify, call error. | |
1506 | (error_last_message, error_init, gdb_lasterr): Delete. | |
1507 | (error_silent): Simplify, call throw_vsilent. | |
1508 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Dup the message. | |
1509 | * main.c (captured_main): Delete call to error_init. | |
1510 | * exceptions.c (throw_verror, throw_verror) | |
1511 | (throw_vsilent): New functions. | |
1512 | (do_write, print_and_throw): New functions. | |
1513 | (last_message): New global. | |
1514 | (throw_reason): Replace error_last_message with last_message. | |
1515 | (catch_exceptions_with_msg): Dup the message. | |
1516 | * exceptions.h (throw_verror, throw_vfatal, throw_vsilent): | |
1517 | Declare. | |
1518 | ||
4791eb66 MS |
1519 | 2005-01-13 Michael Snyder <[email protected]> |
1520 | ||
90c065fb | 1521 | * remote-st.c: Whitespace tweaks. |
8a0ce09a | 1522 | * remote-sim.c: Whitespace tweaks. |
1fa79fac | 1523 | * remote-mips.c: Whitespace tweaks. |
beda9597 | 1524 | * pa64solib.[ch]: Whitespace tweaks. |
28397f59 | 1525 | * mdebugread.c: Whitespace tweaks. |
ba5e7e8d | 1526 | * main.c: Whitespace tweaks. |
907d819a | 1527 | * interps.c: Whitespace tweaks. |
9d1ff73f | 1528 | * infrun.c: Whitespace tweaks. |
1f5d0fc9 | 1529 | * infcmd.c: Whitespace tweaks. |
d9788fe8 | 1530 | * hpux-thread.c: Whitespace tweaks. |
3b951200 | 1531 | * hppa-hpux-tdep.c: Whitespace tweaks. |
3a9a986f | 1532 | * gdbcore.h: Whitespace tweaks. |
d3f17821 | 1533 | * gdbcmd.h: Whitespace tweaks. |
30867156 | 1534 | * gdb-events[.c, .h, .sh]: Whitespace tweaks. |
de6854b5 | 1535 | * corefile.c: Whitespace tweaks. |
03717487 | 1536 | * completer.c: Whitespace tweaks. |
9b5c5aad MS |
1537 | * coff-solib.c: Whitespace tweaks. |
1538 | * coff-solib.h: Whitespace tweaks. | |
30fdc99f | 1539 | * cli-out.c: Whitespace tweaks. |
1272ad14 | 1540 | * breakpoint.c: Whitespace tweaks. |
4791eb66 MS |
1541 | * cli/cli-interp.c: Tweak comments, per coding standard. |
1542 | ||
f30f06b8 AC |
1543 | 2005-01-13 Andrew Cagney <[email protected]> |
1544 | ||
ce43223b AC |
1545 | * breakpoint.c (gdb_breakpoint_query): Update, use |
1546 | catch_exceptions_with_msg. | |
1547 | (do_captured_breakpoint): Add uiout parameter. | |
1548 | (gdb_breakpoint): Update, use catch_exceptions_with_msg. | |
1549 | * mi/mi-main.c (mi_cmd_thread_select): Pass mi_error_message to | |
1550 | gdb_thread_select. Return MI_CMD_ERROR instead of | |
1551 | MI_CMD_CAUGHT_ERROR. | |
1552 | (mi_cmd_thread_list_ids): Ditto for gdb_list_thread_ids. | |
1553 | (enum captured_mi_execute_command_actions): Delete | |
1554 | EXECUTE_COMMAND_DISPLAY_ERROR. | |
1555 | (captured_mi_execute_command): Delete code handling | |
1556 | MI_CMD_CAUGHT_ERROR. | |
1557 | (mi_execute_command): Don't check for | |
1558 | EXECUTE_COMMAND_DISPLAY_ERROR. | |
1559 | * mi/mi-cmd-break.c (breakpoint_notify): Update call to | |
1560 | gdb_breakpoint_query. | |
1561 | (mi_cmd_break_insert): Pass mi_error_message to gdb_breakpoint. | |
1562 | * mi/mi-cmds.h (enum mi_cmd_result): Delete MI_CMD_CAUGHT_ERROR. | |
1563 | * gdb.h (gdb_thread_select, gdb_list_thread_ids) | |
1564 | (gdb_breakpoint, gdb_breakpoint_query): Add error_message | |
1565 | parameter. | |
1566 | * thread.c (thread_command): Update call. | |
1567 | (gdb_thread_select, gdb_list_thread_ids): Update, call | |
1568 | catch_exceptions_with_msg. | |
1569 | ||
f30f06b8 AC |
1570 | * mi/mi-main.c (mi_execute_command): Use catch_exception, |
1571 | eliminate call to error_last_message. | |
1572 | (captured_mi_execute_command): Change return type to void. | |
1573 | ||
2a78bfb5 AC |
1574 | 2005-01-12 Andrew Cagney <[email protected]> |
1575 | ||
c1043fc2 AC |
1576 | * exceptions.c (exception_none): New variable. |
1577 | * Makefile.in: Update dependencies. | |
1578 | * interps.c: Include "exceptions.h". | |
1579 | (interpreter_exec_cmd, interp_exec): Update to return "struct | |
1580 | exception" | |
1581 | * exceptions.h (no_exception): Declare. | |
1582 | * tui/tui-interp.c (tui_exec): Update to return "struct exception" | |
1583 | * mi/mi-interp.c: Include "exceptions.h". | |
1584 | (mi_cmd_interpreter_exec, mi_interpreter_exec): Update to return | |
1585 | 'struct exception". | |
1586 | * cli/cli-interp.c (cli_interpreter_exec, safe_execute_command) | |
1587 | (do_captured_execute_command): Update to use catch_exception. | |
1588 | * interps.h: Include "exceptions.h". | |
1589 | (interp_exec_ftype, interp_exec): Return "struct exception". | |
1590 | ||
2a78bfb5 AC |
1591 | * exceptions.h (throw_reason): Rename throw_exception. |
1592 | (enum errors, struct exception): Define. | |
1593 | (catch_exception_ftype): Define. | |
1594 | (catch_exception, throw_exception): Declare. | |
1595 | * exceptions.c (throw_exception): Rewrite. | |
1596 | (throw_reason): New function. | |
1597 | (struct catcher, catcher_state_machine): Replace "reason" with | |
1598 | "exception", delete "gdberrmsg". | |
1599 | (catch_exception): New function. | |
1600 | (catcher_init): Replace "gdberrmsg" parameter with "exception". | |
1601 | (catch_errors, catch_exceptions_with_msg): Re-implement passing | |
1602 | exception to catcher_init. | |
1603 | * utils.c (error_silent, error_stream_1): Use throw_reason. | |
1604 | (internal_verror, quit): Ditto. | |
1605 | * breakpoint.c (insert_catchpoint, break_command_1): Ditto. | |
1606 | * remote-fileio.c (remote_fileio_ctrl_c_signal_handler): Ditto. | |
1607 | * remote.c (remote_open_1, interrupt_query): Ditto. | |
1608 | ||
8b1ca062 MK |
1609 | 2005-01-12 Mark Kettenis <[email protected]> |
1610 | ||
fa565c2b MK |
1611 | * i386fbsd-tdep.c: Update copyright year. Include "gdbcore.h", |
1612 | "regcache.h", "gdb_assert.h" and "bsd-uthread.h". | |
1613 | (i386fbsd_jmp_buf_reg_offset): New variable. | |
1614 | (i386fbsd_supply_uthread, i386fbsd_collect_uthread): New | |
1615 | functions. | |
1616 | (i386fbsdaout_init_abi): Set supply_uthread and collect_uthread. | |
1617 | * Makefile.in (i386fbsd-tdep.o): Update dependency. | |
1618 | * config/i386/fbsd.mt (TDEPFILES): Add bsd-uthread.o. | |
1619 | ||
82f5c14f MK |
1620 | * bsd-uthread.h: New file. |
1621 | * bsd-uthread.c: New file. | |
1622 | * Makefile.in (bsd_uthread_h): New variable. | |
1623 | (ALLDEPFILES): Add bsd-uthread.c. | |
1624 | (bsd-uthread.o): New dependency. | |
1625 | ||
42a6e6a0 MK |
1626 | * solib.h Update copyright year. |
1627 | (struct so_list): Forward declaration. | |
1628 | (solib_read_symbols): New prototype. | |
1629 | * solib.c (solib_read_symbols): New function. | |
1630 | (solib_add): Call solib_read_symbols to read in symbols. | |
1631 | (update_solib_list): Call observer_notify_solib_loaded. | |
1632 | ||
8b1ca062 MK |
1633 | * i386bsd-nat.c: Update copyright year. Don't include |
1634 | <sys/param.h> and <sys/user.h>. | |
1635 | (register_u_addr, kernel_u_size): Remove functions. | |
1636 | * config/i386/obsd.mh (NAT_FILE): Remove. | |
1637 | * config/i386/obsdaout.mh (NAT_FILE): Set to solib.h. | |
1638 | * config/i386/nm-obsd.h: Remove file. | |
1639 | ||
60250e8b AC |
1640 | 2005-01-12 Andrew Cagney <[email protected]> |
1641 | ||
db5f402d AC |
1642 | * exceptions.c: Include "gdb_string.h". |
1643 | (enum catcher_state, struct catcher): Define. | |
1644 | (current_catcher): New global, replaces catch_return; | |
1645 | (catch_return): Delete. | |
1646 | (throw_exception): Use current_catcher->buf; | |
1647 | (catcher_init, catcher_pop, catcher_state_machine): New functions. | |
1648 | (catcher): Delete. | |
1649 | (struct catch_errors_args): Delete. | |
1650 | (do_catch_errors): Delete. | |
1651 | (catch_exceptions): Replace body with call to | |
1652 | catch_exceptions_with_msg. | |
1653 | (catcher): Delete. | |
1654 | (catch_exceptions_with_msg, catch_errors): Re-implement using | |
1655 | catcher_state_machine. | |
1656 | ||
60250e8b AC |
1657 | * exceptions.h (enum return_reason, RETURN_MASK) |
1658 | (RETURN_MASK_QUIT, RETURN_MASK_ERROR, RETURN_MASK_ALL) | |
1659 | (return_mask, throw_exception, catch_exceptions_ftype) | |
1660 | (catch_exceptions_with_msg, catch_errors_ftype, catch_errors) | |
1661 | (catch_command_errors_ftype, catch_command_errors): Move to | |
1662 | exceptions.h. | |
1663 | * exceptions.c, exceptions.h: New files. | |
1664 | * top.c: Do not include <setjmp.h>. | |
1665 | (SIGJMP_BUF, SIGSETJMP, SIGLONGJMP, catch_return) | |
1666 | (throw_exception, catcher, catch_exceptions) | |
1667 | (catch_exceptions_with_msg, struct catch_errors_args) | |
1668 | (do_catch_errors, catch_errors, struct captured_command_args) | |
1669 | (do_captured_command, catch_command_errors): Move to exceptions.c. | |
1670 | * wrapper.c, wince.c, win32-nat.c, utils.c: Include "exceptions.h". | |
1671 | * tui/tui-interp.c, top.c, thread.c, symmisc.c: Ditto. | |
1672 | * symfile-mem.c, stack.c, solib.c, rs6000-nat.c: Ditto. | |
1673 | * remote-sds.c, remote-mips.c, remote-fileio.c: Ditto. | |
1674 | * remote-e7000.c, objc-lang.c, ocd.c: Ditto. | |
1675 | * remote.c, nto-procfs.c, monitor.c, mi/mi-main.c: Ditto. | |
1676 | * main.c, m32r-rom.c, infrun.c, inf-loop.c: Ditto. | |
1677 | * hppa-hpux-tdep.c, frame.c, event-top.c, event-loop.c: Ditto. | |
1678 | * corelow.c, corefile.c, cli/cli-interp.c, breakpoint.c: Ditto. | |
1679 | * ada-valprint.c, ada-lang.c: Ditto. | |
1680 | * Makefile.in (HFILES_NO_SRCDIR, COMMON_OBS): Add exceptions.h and | |
1681 | exceptions.o. Update all dependencies. | |
1682 | ||
ca14ead7 MK |
1683 | 2005-01-11 Mark Kettenis <[email protected]> |
1684 | ||
eafc7eea MK |
1685 | * config/i386/nm-fbsd.h: Update copyright year. |
1686 | Don't include "config/nm-bsd.h". | |
1687 | (KERNEL_U_SIZE): Remove macro. | |
1688 | (kernel_u_size): Remove prototype. | |
1689 | ||
ca14ead7 MK |
1690 | * config/vax/nbsdaout.mh (NAT_FILE): Remove. |
1691 | * config/vax/nm-nbsdaout.h: Remove file. | |
1692 | ||
4a39d934 EZ |
1693 | 2005-01-10 Elena Zannoni <[email protected]> |
1694 | ||
1695 | * MAINTAINERS: Remove self from sh/sh64 maintainership. | |
1696 | ||
93f0f986 AC |
1697 | 2005-01-10 Andrew Cagney <[email protected]> |
1698 | ||
c4f9e2bf AC |
1699 | * MAINTAINERS: List Andrew Cagney and Kevin Buettner as can commit |
1700 | changes to PowerPC, and Andrew Cagney as lead PowerPC GNU/Linux | |
1701 | maintainer. | |
1702 | ||
6b71dd74 AC |
1703 | * MAINTAINERS: Hans-Peter Nilsson and Orjan Friberg can commit |
1704 | changes to CRIS. | |
1705 | ||
93f0f986 AC |
1706 | * MAINTAINERS: Remove "Maintenance Only". Spell out that CAN |
1707 | COMMIT means can approve). | |
1708 | ||
8785ced0 MK |
1709 | 2005-01-10 Mark Kettenis <[email protected]> |
1710 | ||
2a2de4ce MK |
1711 | * vax-nat.c: Update copyright year. Include "inf-ptrace.h". |
1712 | (vax_register_u_offset): Make statuc. | |
1713 | (_initialize_vax_nat): Construct and add target vector. | |
1714 | * config/vax/vax.mh (NATDEPFILES): Remove infptrace.o and | |
1715 | inftarg.o. Add inf-ptrace.o. | |
1716 | * Makefile.in (vax-nat.o): Update dependencies. | |
1717 | ||
8785ced0 MK |
1718 | * inf-ptrace.h: Update copyright year. Sync comment with |
1719 | inf-ptrace.c. | |
1720 | (inf_ptrace_trad_target): New prototype. | |
1721 | * inf-ptrace.c: Update copyright year. Include "regcache.h" and | |
1722 | "gdb_assert.h" | |
1723 | (inf_ptrace_target): Add comment. | |
1724 | (inf_ptrace+register_u_offset): New variable. | |
1725 | (inf_ptrace_fetch_register, inf_ptrace_fetch_registers) | |
1726 | (inf_ptrace_store_register, inf_ptrace_store_registers) | |
1727 | (inf_ptrace_trad_target): New functions. | |
1728 | * Makefile.in (inf-ptrace.o): Update dependencies. | |
1729 | ||
7cb9022a MK |
1730 | 2005-01-09 Mark Kettenis <[email protected]> |
1731 | ||
1732 | * configure.ac: Provide prerequisite headers when checking | |
1733 | <link.h>, <sys/proc.h> and <sys/user.h>. | |
1734 | * configure: Regenerate. | |
1735 | ||
c534d641 MK |
1736 | 2005-01-08 Mark Kettenis <[email protected]> |
1737 | ||
1738 | * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Set to | |
1739 | tm-ppc-eabi.h instead of the removed tm-nbsd.h. | |
1740 | ||
4b48ac22 MK |
1741 | 2005-01-07 Mark Kettenis <[email protected]> |
1742 | ||
1743 | * config/ia64/tm-linux.h: Tweak comment. Update copyright year. | |
1744 | Don't include "tm-ia64.h". | |
1745 | * config/ia64/ia64.mt (DEPRECATED_TM_FILE): Remove. | |
1746 | * config/ia64/tm-ia64.h: Remove. Move contents ... | |
1747 | * ia64-tdep.h: ... here. Update copyright year. | |
1748 | ||
3ace7edb AC |
1749 | 2005-01-07 Andrew Cagney <[email protected]> |
1750 | ||
bec39cab AC |
1751 | * configure.ac: Rename configure.in, require autoconf 2.59. |
1752 | * configure: Re-generate. | |
1753 | ||
e14ecb8f AC |
1754 | * configure.tgt: Disable arm*-*-*, thumb*-*-*, strongarm*-*-*, |
1755 | xscale-*-* and i[34567]86-*-netware* code adding rdi-share or nlm | |
1756 | to configdirs. | |
1757 | ||
3ace7edb AC |
1758 | * configure.in: Replace configdirs with multiple references to |
1759 | AC_CONFIG_SUBDIRS. | |
1760 | * configure: Re-generate. | |
1761 | ||
b33e8514 AS |
1762 | 2005-01-05 Andreas Schwab <[email protected]> |
1763 | ||
1764 | * ia64-tdep.c: Include "osabi.h". | |
1765 | (native_find_global_pointer): Delete. | |
1766 | (ia64_find_global_pointer): Renamed from | |
1767 | generic_elf_find_global_pointer. | |
1768 | (FIND_GLOBAL_POINTER): Delete. Change all users to call | |
1769 | ia64_find_global_pointer instead. | |
1770 | (ia64_gdbarch_init): Call gdbarch_init_osabi. Remove references | |
1771 | to ia64_linux_sigcontext_register_address and | |
1772 | ia64_linux_write_pc. Don't set tdep->find_global_pointer. | |
1773 | (_initialize_ia64_tdep): Call gdbarch_register instead of | |
1774 | deprecated register_gdbarch_init. | |
1775 | (struct gdbarch_tdep): Remove find_global_pointer field and move | |
1776 | to ... | |
1777 | * ia64-tdep.h (struct gdbarch_tdep): ... here. | |
1778 | (ia64_linux_sigcontext_register_address): Remove declaration. | |
1779 | (ia64_linux_getunwind_table): Likewise. | |
1780 | (ia64_linux_write_pc): Likewise. | |
1781 | * ia64-linux-tdep.c: Include "osabi.h". | |
1782 | (ia64_linux_sigcontext_register_address): Make static. | |
1783 | (ia64_linux_write_pc): Likewise. | |
1784 | (ia64_linux_init_abi): New. | |
1785 | (_initialize_ia64_linux_tdep): New. | |
1786 | * Makefile.in (ia64-tdep.o, ia64-linux-tdep.o): Depend on | |
1787 | $(osabi_h). | |
1788 | ||
0ea390ed KB |
1789 | 2005-01-05 Kevin Buettner <[email protected]> |
1790 | ||
1791 | * ia64-tdep.c (ia64_gdbarch_init): Eliminate dependency on | |
1792 | functions in ia64-aix-tdep.c. | |
1793 | * ia64-tdep.h (ia64_aix_sigcontext_register_address): Remove | |
1794 | function defined in ia64-aix-tdep.c. | |
1795 | * ia64-aix-tdep.c: Remove file. | |
1796 | * config/ia64/linux.mt (TDEPFILES): Remove ia64-aix-tdep.o from | |
1797 | this list. | |
1798 | * Makefile.in (ia64-aix-tdep.o): Delete. | |
1799 | ||
edefbb7c AC |
1800 | 2005-01-05 Baurjan Ismagulov <[email protected]> |
1801 | ||
1802 | Committed by Andrew Cagney. | |
1803 | * ada-valprint.c, aix-thread.c, alpha-nat.c: I18n markup. | |
1804 | * alphabsd-nat.c, alphanbsd-tdep.c, amd64-linux-nat.c: I18n markup. | |
1805 | * amd64-tdep.c, amd64bsd-nat.c, amd64fbsd-nat.c: I18n markup. | |
1806 | * arch-utils.c, arm-linux-nat.c, arm-tdep.c: I18n markup. | |
1807 | * armnbsd-nat.c, armnbsd-tdep.c, auxv.c, avr-tdep.c: I18n markup. | |
1808 | * aix-thread.c (_initialize_aix_thread): Get rid of the | |
1809 | deprecated_add_show_from_set call. | |
1810 | * alpha-tdep.c (_initialize_alpha_tdep): Ditto. | |
1811 | * arm-tdep.c (_initialize_arm_tdep): Ditto. | |
1812 | * command.h (add_setshow_enum_cmd): Add arguments for returning | |
1813 | new list elements. | |
1814 | * cli/cli-decode.c (add_setshow_enum_cmd): Ditto. | |
1815 | * mips-tdep.c (_initialize_mips_tdep): Modify calls to | |
1816 | add_setshow_enum_cmd. | |
1817 | ||
a260932f MK |
1818 | 2005-01-04 Mark Kettenis <[email protected]> |
1819 | ||
34cf1994 MK |
1820 | * configure.host (ia64-*-aix*): Remove. |
1821 | * configure.tgt (ia64-*-aix*): Remove. | |
1822 | * config/ia64/aix.mh: Remove file. | |
1823 | * config/ia64/aix.mt: Remove file. | |
1824 | * config/ia64/tm-aix.h: Remove file. | |
1825 | * ia64-aix-nat.c: Remove file. | |
1826 | * Makefile.in (ia64-aix-nat.o): Remove dependency. | |
1827 | ||
a260932f MK |
1828 | * config/m88k/obsd.mh (NATDEPFILES): Really remove inf-child.o. |
1829 | Add back inf-ptrace.o. | |
1830 | ||
5ed102a1 AC |
1831 | 2005-01-04 Andrew Cagney <[email protected]> |
1832 | ||
1833 | * version.in: Change format from 6.3.50_2005-01-04-cvs to | |
1834 | 6.3.50.20050104-cvs. | |
1835 | ||
3a63c4b7 AS |
1836 | 2005-01-04 Andreas Schwab <[email protected]> |
1837 | ||
1838 | * breakpoint.c (break_command_1): Always free err_msg before | |
1839 | returning when an exception was caught. | |
1840 | ||
e22b26cb JB |
1841 | 2005-01-01 Joel Brobecker <[email protected]> |
1842 | ||
1843 | * hppa-tdep.c (prologue_inst_adjust_sp): Fix small confusion | |
1844 | in register number for addil instruction. | |
1845 | ||
151c5df6 | 1846 | For older changes see ChangeLog-2004. |
c906108c SS |
1847 | \f |
1848 | Local Variables: | |
1849 | mode: change-log | |
1850 | left-margin: 8 | |
1851 | fill-column: 74 | |
1852 | version-control: never | |
1853 | End: |