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