Commit | Line | Data |
---|---|---|
9544c605 MR |
1 | 2007-12-17 Nigel Stephens <nigel@mips.com> |
2 | Maciej W. Rozycki <macro@mips.com> | |
3 | ||
4 | * utils.c (string_to_core_addr): If the executable format | |
5 | indicates that addresses should be sign-extended and there are | |
6 | only 8 hex digits in the address, then do so. | |
7 | * Makefile.in (utils.o): Depend on $(gdbcore_h). | |
8 | ||
aa707ed0 MR |
9 | 2007-12-17 Chris Dearman <chris@mips.com> |
10 | ||
11 | * symfile.c (init_filename_language_table): Recognise .sx as | |
12 | an assembler file. | |
13 | ||
62dfaa9c JB |
14 | 2007-12-17 Joel Brobecker <brobecker@adacore.com> |
15 | ||
16 | * language.h (enum exp_opcode): Comment out this declaration, | |
17 | undoing the previous change. | |
18 | ||
37e4754d LM |
19 | 2007-12-17 Luis Machado <luisgpm@br.ibm.com> |
20 | ||
21 | * breakpoint.c: (watch_command_1): Parse additional optional | |
22 | "thread" parameter to the watchpoint command and set the | |
23 | "thread" member of the breakpoint struct. | |
24 | ||
28e78778 LM |
25 | 2007-12-17 Luis Machado <luisgpm@br.ibm.com> |
26 | ||
27 | * breakpoint.c (bpstat_stop_status): Check an additional | |
28 | condition before evaluating an expression value. | |
29 | ||
b62f3443 JB |
30 | 2007-12-17 Joel Brobecker <brobecker@adacore.com> |
31 | ||
32 | * language.h (enum exp_opcode): Add forward declaration. | |
33 | (language_string_char_type, language_lookup_primitive_type_by_name): | |
34 | Move declaration past declaration of language_defn. | |
35 | ||
c162e8c9 JM |
36 | 2007-12-16 Daniel Jacobowitz <dan@codesourcery.com> |
37 | Joseph Myers <joseph@codesourcery.com> | |
38 | ||
39 | * configure.ac: Check for *-*-solaris2.1[[0-9]]* instead of | |
40 | *-*-solaris2.1[[0-9]]. | |
41 | * configure: Regenerate. | |
42 | * procfs.c (proc_set_current_signal): If redelivering a signal, | |
43 | reuse the current siginfo if possible. | |
44 | ||
c244f7a6 DJ |
45 | 2007-12-16 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
46 | ||
47 | * f-typeprint.c (print_equivalent_f77_float_type): Remove function. | |
48 | (f_type_print_base): Output the type names directly for real and | |
49 | complex types. | |
50 | ||
b5447a83 VP |
51 | 2007-12-16 Vladimir Prus <vladimir@codesourcery.com> |
52 | ||
53 | * breakpoint.c (bpstat_have_active_hw_watchpoints): | |
54 | Remove | |
55 | (bpstat_stop_status): Remove unused variable | |
56 | real_breakpoint. | |
57 | * breakpoint.h (bpstat_have_active_hw_watchpoints): | |
58 | Remove prototype. | |
59 | ||
c95310c6 VP |
60 | 2007-12-16 Vladimir Prus <vladimir@codesourcery.com> |
61 | ||
62 | * target.h (target_pid_or_tid_to_str): Remove. | |
63 | * infrun.c (handle_inferior_event): | |
64 | Use target_pid_to_str instead of | |
65 | target_pid_or_tid_to_str. | |
66 | (normal_stop): Likewise. | |
67 | ||
09fa0d7c JK |
68 | 2007-12-16 Jan Kratochvil <jan.kratochvil@redhat.com> |
69 | ||
70 | * dwarf2read.c (dwarf_attr_name): Rename `DW_AT_stride_size' to its | |
71 | DWARF3 equivalent `DW_AT_bit_stride'. | |
72 | Rename `DW_AT_stride' to its DWARF3 equivalent `DW_AT_byte_stride'. | |
73 | ||
41bbea1a JB |
74 | 2007-12-16 Joel Brobecker <brobecker@adacore.com> |
75 | ||
76 | * mi/mi-main.c: Remove code that was commented out in 1999. | |
77 | ||
7f7f83e8 JB |
78 | 2007-12-16 Joel Brobecker <brobecker@adacore.com> |
79 | ||
80 | * expression.h (parse_expression_in_context): Delete prototype. | |
81 | * parse.c (parse_expression_in_context): Delete. | |
82 | ||
afe8ab22 VP |
83 | 2007-12-14 Vladimir Prus <vladimir@codesourcery.com> |
84 | ||
85 | Add support for pending breakpoints in MI. | |
86 | * gdb.h (gdb_breakpoint): Add parameter pending. | |
87 | * breakpoint.c (gdb_breakpoint): Add parameter pending. | |
88 | * mi/mi-cmd-break.c (mi_break_insert): Change | |
89 | comment to refer to manual. Add support for | |
90 | the -f flag, for pending breakpoint. | |
91 | ||
72b2ff0e VP |
92 | 2007-12-14 Vladimir Prus <vladimir@codesourcery.com> |
93 | ||
94 | * breakpoint.c (break_command_really): New, copied | |
95 | from break_command_1. New parameters COND_STRING, THREAD | |
96 | PARSE_CONDITITION_AND_THREAD and PENDING_BREAK_SUPPORT. | |
97 | The previous FLAG parameter split into TEMPFLAG and | |
98 | HARDWAREFLAG. | |
99 | When PARSE_CONDITION_AND_THREAD is not set, duplicate | |
100 | the passed condition string. | |
101 | (struct captured_breakpoint_args): Remove | |
102 | (do_captured_breakpoint): Remove. | |
103 | (break_command_1): Relay to break_command_really. | |
104 | (gdb_breakpoint): Relay to break_command_really. | |
105 | ||
2ba93934 MS |
106 | 2007-12-13 Michael Snyder <msnyder@specifix.com> |
107 | ||
108 | * mips-linux-tdep.c (mips64_fill_gregset): Remove unused variable. | |
109 | ||
3690dd37 JB |
110 | 2007-12-13 Jim Blandy <jimb@codesourcery.com> |
111 | ||
112 | * dwarf2read.c (attr_form_is_constant): New function. | |
113 | (dwarf2_add_field): Use it and attr_form_is_section_offset to | |
114 | recognize DW_AT_data_member_location attributes. Use | |
115 | dwarf2_get_attr_constant_value when the attribute is a constant. | |
116 | ||
117 | * dwarf2read.c (attr_form_is_section_offset): New function. | |
118 | (dwarf_add_member_fn, read_common_block, read_partial_die) | |
119 | (dwarf2_symbol_mark_computed): Use it, instead of writing it out. | |
120 | ||
dfdfb3ca JB |
121 | 2007-12-12 Jim Blandy <jimb@codesourcery.com> |
122 | ||
123 | Remove unused support for target-based exception catching. | |
124 | * target.h (struct target_ops): Delete | |
125 | to_enable_exception_callback and to_get_current_exception_event | |
126 | members. | |
127 | (target_enable_exception_callback) | |
128 | (target_get_current_exception_event): Delete macros. | |
129 | * target.c (update_current_target): Remove code to inherit and | |
130 | default those members. | |
131 | (debug_to_enable_exception_callback) | |
132 | (debug_to_get_current_exception_event): Delete functions. | |
133 | (setup_target_debug): Don't install those methods. | |
134 | * inf-child.c (inf_child_enable_exception_callback) | |
135 | (inf_child_get_current_exception_event): Delete dummy functions. | |
136 | (inf_child_target): Don't install them in the target vector. | |
137 | * breakpoint.h (enum bptype): Delete bp_catch_catch, | |
138 | bp_catch_throw. | |
139 | * breakpoint.c (cover_target_enable_exception_callback) | |
140 | (ep_is_exception_catchpoint, create_exception_catchpoint): Delete | |
141 | functions. | |
142 | (insert_bp_location, update_breakpoints_after_exec) | |
143 | (remove_breakpoint, ep_is_catchpoint, print_it_typical) | |
144 | (bpstat_stop_status, bpstat_what) | |
145 | (bpstat_get_triggered_catchpoints, print_one_breakpoint_location) | |
146 | (user_settable_breakpoint, allocate_bp_location) | |
147 | (disable_watchpoints_before_interactive_call_start) | |
148 | (enable_watchpoints_after_interactive_call_stop, mention) | |
149 | (delete_breakpoint, breakpoint_re_set_one, disable_command) | |
150 | (enable_command): Remove exception catchpoint cases. | |
151 | (catch_exception_command_1): Don't try target-based exception | |
152 | handling. | |
153 | * stack.c (catch_info): Call print_frame_label_vars | |
154 | unconditionally. | |
155 | ||
b71c0d47 MR |
156 | 2007-12-12 Nigel Stephens <nigel@mips.com> |
157 | Maciej W. Rozycki <macro@mips.com> | |
158 | ||
159 | * remote-mips.c (mips_load): Use regcache_set_valid_p() instead | |
160 | of setting deprecated_register_valid array directly. | |
161 | ||
c68cf8ad MR |
162 | 2007-12-07 Maciej W. Rozycki <macro@mips.com> |
163 | ||
164 | * mips-tdep.c (extended_offset): Fix a comment. | |
165 | ||
49d03eab MR |
166 | 2007-12-07 Maciej W. Rozycki <macro@mips.com> |
167 | ||
168 | * target.c (update_current_target): Inherit to_log_command. | |
169 | * target.h (struct target_ops). Add to_log_command. | |
170 | (target_log_command): New macro. | |
171 | * top.c (execute_command): Call target_log_command() rather than | |
172 | serial_log_command(). | |
173 | * monitor.c (init_base_monitor_ops): Initialize to_log_command. | |
174 | * remote-m32r-sdi.c (init_m32r_ops): Likewise. | |
175 | * remote-mips.c (_initialize_remote_mips): Likewise. | |
176 | * remote.c (init_remote_ops): Likewise. | |
177 | ||
ca005067 DJ |
178 | 2007-12-06 Daniel Jacobowitz <dan@codesourcery.com> |
179 | ||
180 | * infrun.c (init_wait_for_inferior): Reset target_last_wait_ptid. | |
181 | (handle_inferior_event): Clear stop_stack_dummy earlier. | |
182 | ||
2fff4d11 JB |
183 | 2007-12-06 Jim Blandy <jimb@codesourcery.com> |
184 | ||
cb446409 JB |
185 | * addrmap.c (addrmap_splay_tree_remove): New function. |
186 | (addrmap_mutable_set_empty): Use it. | |
187 | ||
2fff4d11 JB |
188 | * addrmap.c, addrmap.h: Update to GPLv3. |
189 | ||
190 | * addrmap.c (struct addrmap): Make the referenced function table | |
191 | const. | |
192 | (addrmap_fixed_funcs, addrmap_mutable_funcs): Declare const. | |
193 | Don't use designated initializers. | |
194 | ||
195 | * addrmap.c (addrmap_fixed_create_fixed, addrmap_mutable_find) | |
196 | (addrmap_mutable_relocate): Use internal_error, not abort. | |
10665d76 JB |
197 | |
198 | * NEWS: Mention support for non-contiguous lexical blocks and | |
199 | function bodies. | |
200 | ||
d3f73121 MD |
201 | 2007-12-06 Markus Deuling <deuling@de.ibm.com> |
202 | ||
203 | * gdbarch.sh (stab_reg_to_regnum, dwarf_reg_to_regnum) | |
204 | ( dwarf2_reg_to_regnum, sdb_reg_to_regnum, ecoff_reg_to_regnum): Add | |
205 | gdbarch as parameter. | |
206 | * gdbarch.{c,h}: Regenerate. | |
207 | ||
208 | * xtensa-tdep.c (xtensa_reg_to_regnum): Add gdbarch as parameter. | |
209 | Replace current_gdbarch by gdbarch. | |
210 | * s390-tdep.c (s390_dwarf_reg_to_regnum): Likewise. | |
211 | * rs6000-tdep.c (rs6000_stab_reg_to_regnum) | |
212 | (rs6000_dwarf2_reg_to_regnum): Likewise. | |
213 | * mips-tdep.c (mips_stab_reg_to_regnum) | |
214 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Likewise. | |
215 | * mep-tdep.c (mep_debug_reg_to_regnum): Likewise. | |
216 | * m32c-tdep.c (m32c_debug_info_reg_to_regnum): Likewise. | |
217 | * i386-tdep.c (i386_dbx_reg_to_regnum) | |
218 | (i386_svr4_reg_to_regnum): Likewise | |
219 | * h8300-tdep.c (h8300s_dbg_reg_to_regnum) | |
220 | (h8300_dbg_reg_to_regnum): Likewise. | |
221 | * amd64-tdep.c (amd64_dwarf_reg_to_regnum): Likewise. | |
222 | * arch-utils.c (no_op_reg_to_regnum): Likewise. | |
223 | * arch-utils.h (no_op_reg_to_regnum): Likewise. | |
224 | * arm-tdep.c (arm_dwarf_reg_to_regnum): Likewise. | |
225 | * cris-tdep.c (cris_dwarf2_reg_to_regnum): Likewise. | |
226 | * hppa-tdep.c (hppa64_dwarf_reg_to_regnum): Likewise. | |
227 | * ia64-tdep.c (ia64_dwarf_reg_to_regnum): Likewise. | |
228 | * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise. | |
229 | ||
ca67fcb8 | 230 | 2007-12-06 Vladimir Prus <vladimir@codesourcery.com> |
45e8c884 VP |
231 | |
232 | Localize infrun use of remove_breakpoints. | |
233 | * infrun.c (handle_inferior_event): Remove | |
234 | calls to remove_breakpoints, except where needed to | |
235 | communicate change of breakpoint locations to inferior. | |
236 | (keep_going): If steppping over breakpoint, remove | |
237 | breakpoints. | |
238 | ||
239 | 2007-12-06 Vladimir Prus <vladimir@codesourcery.com> | |
ca67fcb8 VP |
240 | |
241 | Clarify infrun variable naming. | |
242 | * infrun.c (trap_expected): Rename | |
243 | to stepping_over_breakpoint. Document. | |
244 | (stepping_past_breakpoint): Remove. | |
245 | (stepping_past_breakpoint_ptdi): Renamed | |
246 | to deferred_step_ptid. | |
247 | (struct execution_control_state): Rename | |
248 | the another_trap field to stepping_over_breakpoint. | |
249 | (struct inferior_status): Rename the trap_expected | |
250 | field to stepping_over_breakpoint. | |
251 | (clear_proceed_status, proceed) | |
252 | (init_execution_control_state, context_switch) | |
253 | (handle_inferior_event, currently_stepping) | |
254 | (keep_going, save_inferior_status) | |
255 | (restore_inferior_status, prepare_to_proceed): Adjust. | |
256 | * gdbthread.h (struct thread_info): Rename the | |
257 | trap_expected field to stepping_over_breakpoint. | |
258 | * thread.c (load_infrun_state, save_infrun_state): | |
259 | Adjust. | |
260 | ||
2c647436 PM |
261 | 2007-12-06 Pierre Muller <muller@ics.u-strasbg.fr> |
262 | ||
263 | * win32-nat.c: Allow compilation if CORE_ADDR is 8 byte long. | |
264 | Add "gdb_stdint.h" dependency required for uintptr_t type use. | |
265 | (handle_output_debug_string): Use uintptr_t typecast. | |
266 | (handle_exception): Ditto. | |
267 | (win32_xfer_memory): Ditto. | |
268 | * Makefile.in (win32-nat.o): Add dependency to gdb_stdint header. | |
269 | ||
801e3a5b JB |
270 | 2007-12-04 Jim Blandy <jimb@codesourcery.com> |
271 | ||
272 | Support lexical blocks and function bodies that occupy | |
273 | non-contiguous address ranges. | |
274 | * addrmap.c, addrmap.h: New files. | |
275 | * block.h (struct addrmap): New forward declaration. | |
276 | (struct blockvector): New member, 'map'. | |
277 | (BLOCKVECTOR_MAP): New accessor macro. | |
278 | * block.c: #include "addrmap.h" | |
279 | (blockvector_for_pc_sect): If the blockvector we've found has | |
280 | an address map, use it instead of searching the blocks. | |
281 | * buildsym.c: #include "addrmap.h" | |
282 | (pending_addrmap_obstack, pending_addrmap_interesting): New static | |
283 | variables. | |
284 | (really_free_pendings): If we have a pending addrmap, free it too. | |
285 | (record_block_range): New function. | |
286 | (make_blockvector): If we have an interesting pending addrmap, | |
287 | record it in the new blockvector. | |
288 | (start_symtab, buildsym_init): Assert that there is no pending | |
289 | addrmap now; we should have cleaned up any addrmaps we'd built | |
290 | previously. | |
291 | (end_symtab): If there is a pending addrmap left over that didn't | |
292 | get included in the blockvector, free it. | |
293 | * buildsym.h (struct addrmap): New forward declaration. | |
294 | (record_block_range): New prototype. | |
295 | * objfiles.c: #include "addrmap.h". | |
296 | (objfile_relocate): Relocate the blockvector's address map, if | |
297 | present. | |
298 | * dwarf2read.c (dwarf2_record_block_ranges): New function. | |
299 | (read_func_scope, read_lexical_block_scope): Call it. | |
300 | * Makefile.in (SFILES): Add addrmap.c. | |
301 | (addrmap_h): New header dependency variable. | |
302 | (COMMON_OBS): Add addrmap.o. | |
303 | (addrmap.o): New rule.l | |
304 | (block.o, objfiles.o, buildsym.o): Depend on $(addrmap_h). | |
305 | ||
306 | * block.c (blockvector_for_pc, blockvector_for_pc_sect): Return a | |
307 | pointer to the block, not its index in the blockvector. | |
308 | (block_for_pc_sect): Use the returned block, instead of looking it | |
309 | up ourselves. | |
310 | * block.h (blockvector_for_pc, blockvector_for_pc_sect): Update | |
311 | declarations. | |
312 | * breakpoint.c (resolve_sal_pc): Use returned block, instead of | |
313 | looking it up ourselves. | |
314 | * stack.c (print_frame_label_vars): Disable function, which | |
315 | depends on the block's index. | |
316 | ||
317 | * buildsym.c (finish_block): Return the block we've built. | |
318 | * buildsym.h (finish_block): Update prototype. | |
319 | ||
320 | * defs.h (CORE_ADDR_MAX): New constant. | |
321 | ||
6ccb9162 UW |
322 | 2007-12-04 Ulrich Weigand <uweigand@de.ibm.com> |
323 | ||
324 | * coffread.c (decode_type): Use builtin_type_int32 instead | |
325 | of FT_INTEGER fundamental type for array range index type. | |
326 | (decode_base_type): Use builtin types of current_gdbarch | |
327 | instead of fundamental types. | |
328 | ||
329 | * dwarf2read.c (struct dwarf2_cu): Remove ftypes member. | |
330 | (read_file_scope): Do not initialize ftypes member. | |
331 | (dwarf_base_type, dwarf2_fundamental_types): Remove functions. | |
332 | (read_array_type): Use builtin_type_int32 instead of FT_INTEGER | |
333 | fundamental type for array range index type. | |
334 | (read_tag_string_type): Likewise for string range index type. | |
335 | Also, do not overwrite FT_CHAR type with new string type. | |
336 | (read_base_type): If DW_AT_name is missing, create unnamed type | |
337 | with given properties instead of looking for a fundamental type. | |
338 | Create new types as TYPE_TARGET_TYPE for DW_ATE_address and | |
339 | DW_ATE_complex_float types. | |
340 | (read_subrange_type): Create new type to represent missing | |
341 | DW_AT_type instead of looking for a fundamental type. | |
342 | (die_type): Use builtin type to represent "void" instead of | |
343 | looking for a fundamental type. | |
344 | ||
345 | * stabsread.c (define_symbol): Use builtin types to represent | |
346 | 'r' and 'i' floating-point and integer constants. | |
347 | ||
348 | * gdbtypes.c (lookup_fundamental_type): Remove. | |
349 | * gdbtypes.h (lookup_fundamental_type): Remove prototype. | |
350 | (FT_VOID, FT_BOOLEAN, FT_CHAR, FT_SIGNED_CHAR, FT_UNSIGNED_CHAR, | |
351 | FT_SHORT, FT_SIGNED_SHORT, FT_UNSIGNED_SHORT, FT_INTEGER, | |
352 | FT_SIGNED_INTEGER, FT_UNSIGNED_INTEGER, FT_LONG, FT_SIGNED_LONG, | |
353 | FT_UNSIGNED_LONG, FT_LONG_LONG, FT_SIGNED_LONG_LONG, | |
354 | FT_UNSIGNED_LONG_LONG, FT_FLOAT, FT_DBL_PREC_FLOAT, FT_EXT_PREC_FLOAT, | |
355 | FT_COMPLEX, FT_DBL_PREC_COMPLEX, FT_EXT_PREC_COMPLEX, FT_STRING, | |
356 | FT_FIXED_DECIMAL, FT_FLOAT_DECIMAL, FT_BYTE, FT_UNSIGNED_BYTE, | |
357 | FT_TEMPLATE_ARG, FT_DECFLOAT, FT_DBL_PREC_DECFLOAT, | |
358 | FT_EXT_PREC_DECFLOAT, FT_NUM_MEMBERS): Remove macros. | |
359 | * objfiles.c (struct objfile): Remove fundamental_types member. | |
360 | * symfile.c (reread_symbols): Do not clear fundamental_types. | |
361 | ||
362 | * language.h (struct language_defn): Remove la_fund_type member. | |
363 | (create_fundamental_type): Remove. | |
364 | * language.c (unk_lang_create_fundamental_type): Remove. | |
365 | (unknown_language_defn, auto_language_defn, | |
366 | local_language_defn): Adapt initializer. | |
367 | * ada-lang.c (ada_create_fundamental_type): Remove. | |
368 | (ada_language_defn): Adapt initializer. | |
369 | * c-lang.h (c_create_fundamental_type): Remove prototype. | |
370 | * c-lang.c (c_create_fundamental_type): Remove. | |
371 | (c_language_defn, cplus_language_defn, asm_language_defn, | |
372 | minimal_language_defn): Adapt initializer. | |
373 | * f-lang.c (f_create_fundamental_type): Remove. | |
374 | (f_language_defn): Adapt initializer. | |
375 | * jv-lang.c (java_create_fundamental_type): Remove. | |
376 | (java_language_defn): Adapt initializer. | |
377 | * m2-lang.c (m2_create_fundamental_type): Remove. | |
378 | (m2_language_defn): Adapt initializer. | |
379 | * objc-lang.c (objc_create_fundamental_type): Remove. | |
380 | (objc_language_defn): Adapt initializer. | |
381 | * p-lang.h (pascal_create_fundamental_type): Remove prototype. | |
382 | * p-lang.c (pascal_create_fundamental_type): Remove. | |
383 | (pascal_language_defn): Adapt initializer. | |
384 | * scm-lang.c (scm_language_defn): Adapt initializer. | |
385 | ||
3966e190 MR |
386 | 2007-12-04 Maciej W. Rozycki <macro@mips.com> |
387 | ||
388 | * features/mips-cpu.xml: Specify "regnum" for "r0" explicitly. | |
389 | * features/mips64-cpu.xml: Likewise. | |
390 | * features/mips-fpu.xml: Specify "regnum" for "f0" explicitly. | |
391 | * features/mips64-fpu.xml: Likewise. | |
392 | * features/mips-linux.c: Regenerate. | |
393 | * features/mips64-linux.c: Regenerate. | |
394 | ||
4becf47c MR |
395 | 2007-12-04 Maciej W. Rozycki <macro@mips.com> |
396 | ||
397 | * target.h (target_find_new_threads): Fix definition. | |
398 | ||
bf25528d CF |
399 | 2007-12-02 Pierre Muller <muller@ics.u-strasbg.fr> |
400 | ||
677d7bec PM |
401 | * win32-nat.c (win32_resume): Set the trace bit |
402 | in the thread identified by inferior_ptid. | |
403 | ||
404 | ||
405 | 2007-12-02 Pierre Muller <muller@ics.u-strasbg.fr> | |
406 | ||
407 | * win32-nat.c (open_process_used): New static variable. | |
bf25528d CF |
408 | (win32_init_thread_list): Remove call to CloseHandle for thread. |
409 | (win32_delete_thread): Ditto. | |
410 | (fake_create_process): Set open_process_used if OpenProcess call is | |
411 | successful. | |
412 | (get_win32_debug_event): Do not close process handle. | |
413 | (do_initial_win32_stuff): Set open_process_used to zero. | |
414 | (win32_mourn_inferior): Call CloseHandle for current_process_handle if | |
415 | open_process_used is set. | |
416 | (win32_kill_inferior): Do not close process and main_thread handles. | |
417 | ||
a6b151f1 DJ |
418 | 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com> |
419 | ||
420 | * remote.c (remote_cmdlist): New variable. | |
421 | (PACKET_vFile_open, PACKET_vFile_pread, PACKET_vFile_pwrite) | |
422 | (PACKET_vFile_close, PACKET_vFile_unlink): New constants. | |
423 | (remote_buffer_add_string, remote_buffer_add_bytes) | |
424 | (remote_buffer_add_int, remote_hostio_parse_result) | |
425 | (remote_hostio_send_command, remote_hostio_open, remote_hostio_pwrite) | |
426 | (remote_hostio_pread, remote_hostio_close, remote_hostio_unlink) | |
427 | (remote_fileio_errno_to_host, remote_hostio_error, fclose_cleanup) | |
428 | (remote_hostio_close_cleanup, remote_file_put, remote_file_get) | |
429 | (remote_file_delete, remote_put_command, remote_get_command) | |
430 | (remote_delete_command, remote_command): New functions. | |
431 | (_initialize_remote): Register new packets and commands. | |
432 | * Makefile.in (gdb_fileio_h): New variable. | |
433 | (remote.o): Update. | |
434 | (SUBDIR_MI_OBS): Add mi-cmd-target.o. | |
435 | (SUBDIR_MI_SRCS): Add mi/mi-cmd-target.c. | |
436 | (mi-cmd-target.o): New rule. | |
437 | * mi/mi-cmd-target.c: New file. | |
438 | * mi/mi-cmds.c (mi_cmds): Add target-file-delete, target-file-get, | |
439 | and target-file-put. | |
440 | * mi/mi-cmds.h (mi_cmd_target_file_get, mi_cmd_target_file_put) | |
441 | (mi_cmd_target_file_delete): Declare. | |
442 | * remote.h (remote_file_put, remote_file_get, remote_file_delete): | |
443 | Declare. | |
444 | * NEWS: Describe new file transfer support. | |
445 | ||
fba57f8f VP |
446 | 2007-11-30 Vladimir Prus <vladimir@codesourcery.com> |
447 | ||
448 | * infrun.c (handle_inferior_event): Don't | |
449 | ignore beakpoints if trap_expected is set. | |
450 | ||
e236ba44 VP |
451 | 2007-11-30 Vladimir Prus <vladimir@codesourcery.com> |
452 | ||
453 | Make insert_breakpoints return void. | |
454 | * breakpoint.h (insert_breakpoints): Change | |
455 | return type to void. | |
456 | * breakpoint.c (insert_breakpoints): Change | |
457 | return type to void. Rename local return_val | |
458 | variable to error. | |
459 | * infrun.c (keep_going): Instead of checking | |
460 | return value from insert_breakpoints, catch exception. | |
461 | ||
c36b740a VP |
462 | 2007-11-29 Vladimir Prus <vladimir@codesourcery.com> |
463 | ||
464 | Stop infrun from tracking breakpoint insertion status. | |
465 | ||
466 | The checks of breakpoints_inserted before calling | |
467 | remove_breakpoints are removed, as remove_breakpoint | |
468 | won't touch uninserted breakpoints. In a number of places, | |
469 | we're interested if a breakpoint is inserted at particular | |
470 | PC, and we now use breakpoint_inserted_here_p. In a few | |
471 | places, insert_breakpoints can be called unconditionally, | |
472 | since it won't try to insert already inserted breakpoint. | |
473 | ||
474 | * breakpoint.h (regular_breakpoint_inserted_here_p): New | |
475 | declaration. | |
476 | * breakpoint.c (regular_breakpoint_inserted_here_p): New. | |
477 | (breakpoint_inserted_here_p): Use | |
478 | regular_breakpoint_inserted_here_p. | |
479 | * infrun.c (breakpoints_inserted): Remove. | |
480 | (resume): Don't check for breakpoints_inserted before | |
481 | remove_hw_watchpoints. Use breakpoint_inserted_here_p. | |
482 | (proceed, init_wait_for_inferior): Don't set breakpoints_inserted. | |
483 | (handle_inferior_event): Don't use breakpoints_inserted. | |
484 | Use breakpoints_meant_to_be_inserted and | |
485 | breakpoints_inserted_here_p. | |
486 | (insert_step_resume_breakpoint_at_sal, keep_going): Use | |
487 | breakpoints_meant_to_be_inserted. Don't set breakpoints_inserted. | |
488 | (normal_stop): Don't check for breakpoints_inserted. Don't | |
489 | set breakpoints_inserted. | |
490 | (keep_going): Don't check for breakpoints_inserted. | |
491 | (insert_step_resume_breakpoint_at_sal): Don't insert | |
492 | breakpoints | |
493 | ||
35a487f1 JB |
494 | 2007-11-28 Jim Blandy <jimb@codesourcery.com> |
495 | ||
496 | * breakpoint.c (watch_command_1): When the watchpoint isn't local | |
497 | to any frame, initialize watchpoint_frame using null_frame_id, not | |
498 | a memset. | |
499 | ||
e842223a VP |
500 | 2007-11-28 Vladimir Prus <vladimir@codesourcery.com> |
501 | ||
502 | * infrun.c (resume): Set right thread even if | |
503 | stepping over breakpoint using software single step. | |
504 | ||
b21a715f NR |
505 | 2007-11-28 Nick Roberts <nickrob@snap.net.nz> |
506 | ||
507 | * mi/mi-cmd-var.c (print_varobj): Revert change from 2007-08-31. | |
508 | (mi_print_value_p): Guard against type = NULL. | |
509 | ||
a4ae0ca1 TJB |
510 | 2007-11-27 Thiago Jung Bauermann <bauerman@br.ibm.com> |
511 | ||
512 | * dfp.c (decimal_from_string): Remove superfluous newline from | |
513 | error string. | |
514 | (decimal_to_string): Likewise. | |
515 | * printcmd.c (printf_command): Change string buffer to use | |
516 | MAX_DECIMAL_STRING constant. | |
517 | * value.c (value_from_decfloat): Likewise. | |
518 | ||
c0993dbe UW |
519 | 2007-11-27 Ulrich Weigand <uweigand@de.ibm.com> |
520 | ||
521 | * Makefile.in (ALL_TARGET_OBS): Remove object files that require | |
522 | 64-bit CORE_ADDR and BFD support, move them to ... | |
523 | (ALL_64_TARGET_OBS): ... this new variable. | |
524 | * configure.ac: Check for --enable-64-bit-bfd option. Only add | |
525 | 64-bit targets with --enable-targets=all if BFD supports 64-bit. | |
526 | * configure: Regenerate. | |
527 | ||
528 | * i386-cygwin-tdep.c (i386_cygwin_osabi_sniffer): Do not claim | |
529 | all elf32-i386 executables, only cygwin core files. | |
530 | ||
43039443 JK |
531 | 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
532 | ||
533 | * dwarf2read.c (dwarf2_get_pc_bounds): Moved the `DW_AT_ranges' parsing | |
534 | code with its variables OBJFILE, CU_HEADER and OBFD into ... | |
535 | (dwarf2_ranges_read): ... a new function. | |
536 | (read_partial_die): Implemented the parsing of `DW_AT_ranges'. | |
537 | ||
6537bb24 PA |
538 | 2007-11-24 Pedro Alves <pedro_alves@portugalmail.pt> |
539 | ||
540 | * win32-nat.c (DR6_CLEAR_VALUE): New define. | |
541 | (thread_info_struct): Rename suspend_count to suspended, to be | |
542 | used as a flag. | |
543 | (thread_rec): Only suspend the thread if it wasn't suspended by | |
544 | gdb before. Warn if suspending failed. | |
545 | (win32_add_thread): Set Dr6 to DR6_CLEAR_VALUE. | |
546 | (win32_continue): Set Dr6 to DR6_CLEAR_VALUE. Update usage of the | |
547 | `suspended' flag. Do ContinueDebugEvent after resuming the | |
548 | suspended threads, not before. Set threads' contexts before | |
549 | resuming them, not after. | |
550 | (win32_resume): Set Dr6 to DR6_CLEAR_VALUE. | |
551 | ||
a0cf7492 VP |
552 | 2007-11-23 Vladimir Prus <vladimir@codesourcery.com> |
553 | ||
554 | * breakpoint.c (insert_breakpoints) | |
555 | (insert_bp_location): Remove stale comments. | |
556 | ||
dc29a156 MR |
557 | 2007-11-23 Maciej W. Rozycki <macro@mips.com> |
558 | ||
559 | * mips-linux-tdep.h: Fix some formatting. | |
560 | ||
12368003 MD |
561 | 2007-11-21 Markus Deuling <deuling@de.ibm.com> |
562 | ||
563 | * stack.c (print_args_stub): Use get_frame_arch to get at the current | |
564 | architecture and replace current_gdbarch. | |
565 | (frame_info): Likewise. | |
566 | ||
4b817f9f NR |
567 | 2007-11-21 Nick Roberts <nickrob@snap.net.nz> |
568 | ||
569 | * varobj.c (c_variable_editable, cplus_variable_editable) | |
570 | (java_variable_editable, variable_editable): Delete. | |
571 | (varobj_editable_p): Replace above functions with one language | |
572 | independent function. Check for an lvalue. | |
573 | (varobj_get_attributes, varobj_set_value): Use varobj_editable_p. | |
574 | (struct language_specific): Delete variable_editable field. | |
575 | ||
576 | * mi-cmd-var.c (mi_cmd_var_assign): Simplify. | |
577 | ||
a5897e1e | 578 | * varobj.h: Add extern for varobj_editable_p. |
4b817f9f | 579 | |
568fff39 VP |
580 | 2007-11-20 Vladimir Prus <vladimir@codesourcery.com> |
581 | ||
582 | Remove unused breakpoint fields. | |
583 | * breakpoint.h (struct breakpoint): Remove | |
584 | from_tty and flag fields. | |
585 | * breakpoint.c (break_command_1): Don't set | |
586 | from_tty and flag field set of breakpoint. | |
587 | (create_ada_exception_breakpoint): Don't set | |
588 | the from_tty field. | |
589 | ||
2207132d MR |
590 | 2007-11-20 David Ung <davidu@mips.com> |
591 | Maciej W. Rozycki <macro@mips.com> | |
592 | ||
593 | * mips-tdep.c (mips16_scan_prologue): Handle the MIPS16e SAVE | |
594 | instruction. | |
595 | ||
cd76b0b7 VP |
596 | 2007-11-20 Vladimir Prus <vladimir@codesourcery.com> |
597 | ||
598 | * infrun.c (resume): Clarify logic that | |
599 | decides if a single thread must be resumed. Add | |
600 | comments. | |
601 | ||
75149521 VP |
602 | 2007-11-20 Vladimir Prus <vladimir@codesourcery.com> |
603 | ||
604 | * breakpoint.c (disable_breakpoints_in_unloaded_shlib): | |
605 | Make static. | |
606 | ||
e7faf938 MD |
607 | 2007-11-19 Markus Deuling <deuling@de.ibm.com> |
608 | ||
609 | * gdbarch.sh (register_sim_regno): Add gdbarch as parameter. | |
610 | * gdbarch.{c,h}: Regenerate. | |
611 | ||
612 | * arch-utils.h (legacy_register_sim_regno): Add gdbarch as parameter. | |
613 | * score-tdep.c (score_register_sim_regno): Likewise. | |
614 | * sim-regno.h (one2one_register_sim_regno): Likewise. | |
615 | ||
616 | * arch-utils.c (legacy_register_sim_regno): Add gdbarch as parameter. | |
617 | Replace current_gdbarch by gdbarch. | |
618 | * sh-tdep.c (sh_sh2a_register_sim_regno) | |
619 | (sh_dsp_register_sim_regno): Likewise. | |
620 | * rs6000-tdep.c (rs6000_register_sim_regno): Likewise. | |
621 | * mips-tdep.c (mips_register_sim_regno): Likewise. | |
622 | * m32c-tdep.c (m32c_register_sim_regno): Likewise. | |
623 | * frv-tdep.c (frv_register_sim_regno): Likewise. | |
624 | * arm-tdep.c (arm_register_sim_regno): Likewise. | |
625 | * remote-sim.c (one2one_register_sim_regno): Likewise. | |
626 | ||
d0c678e6 UW |
627 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
628 | ||
629 | * configure.ac (--enable-targets): New configure option. | |
630 | Collect gdb_target_obs of multiple targets into TARGET_OBS. | |
631 | Call configure.tgt multiple times, using $targ as operand. | |
632 | * configure.tgt: Operate on $targ instead of $target. | |
633 | * configure: Regenerate. | |
634 | * Makefile.in (ALL_TARGET_OBS): Define. | |
635 | ||
636 | * NEWS: Mention --enable-targets option. | |
637 | ||
6ca0852e UW |
638 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
639 | ||
640 | * mips-tdep.c (show_mipsfpu_command): Do not crash if called when | |
641 | current architecture is not MIPS. | |
642 | ||
f0704234 UW |
643 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
644 | ||
645 | * cli/cli-setshow.c (do_setshow_command): Use dynamically sized buffer | |
646 | to construct error message if no argument was supplied. | |
647 | ||
c4ec0cc2 UW |
648 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
649 | ||
650 | * i386nbsd-tdep.c (i386nbsd_aout_supply_regset): Remove. | |
651 | (i386nbsd_aout_regset_from_core_section): Likewise. | |
652 | (i386nbsd_aout_init_abi): Likewise. | |
653 | (_initialize_i386nbsd_tdep): Do not register i386nbsd_aout_init_abi. | |
654 | ||
655 | * vaxnbsd-tdep.c (vaxnbsd_aout_init_abi): Remove. | |
656 | (_initialize_vaxnbsd_tdep): Do not register vaxnbsd_aout_init_abi. | |
657 | ||
ec20a626 UW |
658 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
659 | ||
660 | * amd64fsdb-tdep.c (amd64fbsd_sigtramp_start_addr): Use ULL suffix. | |
661 | (amd64fbsd_sigtramp_end_addr): Likewise. | |
662 | ||
663 | * iq2000-tdep.c (iq2000_pointer_to_address): Fix argument type. | |
664 | (iq2000_address_to_pointer): Likewise. | |
665 | (iq2000_frame_prev_register): Likewise. | |
666 | (iq2000_extract_return_value): Use regcache_cooked_read_unsigned | |
667 | instead of regcache_cooked_read into CORE_ADDR variable. | |
668 | (iq2000_return_value): Fix argument types. | |
669 | ||
670 | * m32r-rom.c (m32r_load_section): Fix printf argument type. | |
671 | (m32r_load): Likewise. | |
672 | ||
673 | * m68kbsd-tdep.c: Include "gdbtypes.h". | |
674 | * Makefile.in: Update dependencies. | |
675 | ||
676 | * mn10300-tdep.c (mn10300_frame_unwind_cache): Fix aliasing violation. | |
677 | ||
678 | * nto-tdep.c (LM_ADDR): Do not refer to no-longer-existing | |
679 | lmo->l_addr_size element. | |
680 | ||
681 | * remote-m32r-sdi.c (m32r_xfer_memory): Use paddr to print address. | |
682 | (m32r_insert_breakpoint): Likewise. | |
683 | (m32r_remove_breakpoint): Likewise. | |
684 | (m32r_insert_watchpoint): Likewise. | |
685 | (m32r_remove_watchpoint): Likewise. | |
686 | (m32r_load): Fix printf argument type. | |
687 | ||
688 | * xtensa-tdep.c (xtensa_regset_from_core_section): Fix printf | |
689 | argument type. | |
690 | (xtensa_frame_this_id): Do not cast pointers to "int" for output. | |
691 | (xtensa_frame_prev_register): Likewise. | |
692 | (xtensa_push_dummy_call): Likewise. | |
693 | ||
a4ce5b0d UW |
694 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
695 | ||
696 | * config/alpha/alpha-linux.mt: Remove file. | |
697 | * config/alpha/alpha.mt: Remove file. | |
698 | * config/alpha/alpha-osf1.mt: Remove file. | |
699 | * config/alpha/fbsd.mt: Remove file. | |
700 | * config/alpha/nbsd.mt: Remove file. | |
701 | * config/alpha/obsd.mt: Remove file. | |
702 | * config/arm/embed.mt: Remove file. | |
703 | * config/arm/linux.mt: Remove file. | |
704 | * config/arm/nbsd.mt: Remove file. | |
705 | * config/arm/obsd.mt: Remove file. | |
706 | * config/arm/wince.mt: Remove file. | |
707 | * config/avr/avr.mt: Remove file. | |
708 | * config/cris/cris.mt: Remove file. | |
709 | * config/frv/frv.mt: Remove file. | |
710 | * config/h8300/h8300.mt: Remove file. | |
711 | * config/i386/cygwin.mt: Remove file. | |
712 | * config/i386/fbsd64.mt: Remove file. | |
713 | * config/i386/fbsd.mt: Remove file. | |
714 | * config/i386/i386gnu.mt: Remove file. | |
715 | * config/i386/i386.mt: Remove file. | |
716 | * config/i386/i386sol2.mt: Remove file. | |
717 | * config/i386/linux64.mt: Remove file. | |
718 | * config/i386/linux.mt: Remove file. | |
719 | * config/i386/mingw.mt: Remove file. | |
720 | * config/i386/nbsd64.mt: Remove file. | |
721 | * config/i386/nbsd.mt: Remove file. | |
722 | * config/i386/nto.mt: Remove file. | |
723 | * config/i386/obsd64.mt: Remove file. | |
724 | * config/i386/obsd.mt: Remove file. | |
725 | * config/i386/sol2-64.mt: Remove file. | |
726 | * config/ia64/ia64.mt: Remove file. | |
727 | * config/ia64/linux.mt: Remove file. | |
728 | * config/iq2000/iq2000.mt: Remove file. | |
729 | * config/m32c/m32c.mt: Remove file. | |
730 | * config/m32r/linux.mt: Remove file. | |
731 | * config/m32r/m32r.mt: Remove file. | |
732 | * config/m68hc11/m68hc11.mt: Remove file. | |
733 | * config/m68k/linux.mt: Remove file. | |
734 | * config/m68k/monitor.mt: Remove file. | |
735 | * config/m68k/nbsd.mt: Remove file. | |
736 | * config/m68k/obsd.mt: Remove file. | |
737 | * config/m88k/obsd.mt: Remove file. | |
738 | * config/mep/mep.mt: Remove file. | |
739 | * config/mips/embed.mt: Remove file. | |
740 | * config/mips/irix5.mt: Remove file. | |
741 | * config/mips/irix6.mt: Remove file. | |
742 | * config/mips/linux.mt: Remove file. | |
743 | * config/mips/nbsd.mt: Remove file. | |
744 | * config/mips/obsd64.mt: Remove file. | |
745 | * config/mn10300/linux.mt: Remove file. | |
746 | * config/mn10300/mn10300.mt: Remove file. | |
747 | * config/mt/mt.mt: Remove file. | |
748 | * config/pa/hppahpux.mt: Remove file. | |
749 | * config/pa/hppa.mt: Remove file. | |
750 | * config/pa/linux.mt: Remove file. | |
751 | * config/pa/obsd.mt: Remove file. | |
752 | * config/powerpc/aix.mt: Remove file. | |
753 | * config/powerpc/linux.mt: Remove file. | |
754 | * config/powerpc/nbsd.mt: Remove file. | |
755 | * config/powerpc/obsd.mt: Remove file. | |
756 | * config/powerpc/ppc-eabi.mt: Remove file. | |
757 | * config/s390/s390.mt: Remove file. | |
758 | * config/score/embed.mt: Remove file. | |
759 | * config/sh/embed.mt: Remove file. | |
760 | * config/sh/linux.mt: Remove file. | |
761 | * config/sh/nbsd.mt: Remove file. | |
762 | * config/sh/obsd.mt: Remove file. | |
763 | * config/sh/sh64.mt: Remove file. | |
764 | * config/sparc/embed.mt: Remove file. | |
765 | * config/sparc/fbsd.mt: Remove file. | |
766 | * config/sparc/linux64.mt: Remove file. | |
767 | * config/sparc/linux.mt: Remove file. | |
768 | * config/sparc/nbsd64.mt: Remove file. | |
769 | * config/sparc/nbsd.mt: Remove file. | |
770 | * config/sparc/obsd64.mt: Remove file. | |
771 | * config/sparc/obsd.mt: Remove file. | |
772 | * config/sparc/sol2-64.mt: Remove file. | |
773 | * config/sparc/sol2.mt: Remove file. | |
774 | * config/sparc/sparc64.mt: Remove file. | |
775 | * config/sparc/sparc.mt: Remove file. | |
776 | * config/spu/spu.mt: Remove file. | |
777 | * config/v850/v850.mt: Remove file. | |
778 | * config/vax/nbsd.mt: Remove file. | |
779 | * config/vax/obsd.mt: Remove file. | |
780 | * config/vax/vax.mt: Remove file. | |
781 | * config/xstormy16/xstormy16.mt: Remove file. | |
782 | * config/xtensa/xtensa.mt: Remove file. | |
783 | ||
784 | * configure.tgt (gdb_target_cpu): Remove. Do not set anywhere. | |
785 | (gdb_target): Likewise. | |
786 | (gdb_target_obs): Document. Set for every target to contents | |
787 | of TDEPFILES in former .mt makefile fragment. | |
788 | ||
789 | * configure.ac (TARGET_OBS): Define. | |
790 | (target_makefile_frag, gdb_target_cpu): Do not define. | |
791 | * configure: Regenerate. | |
792 | ||
793 | * Makefile.in (MT_FLAGS): Remove. | |
794 | (GLOBAL_CFLAGS): Update. | |
795 | (TARGET_OBS): Substitute from configure. | |
796 | (DEPFILES): Remove TDEPFILES, add TARGET_OBS. | |
797 | (@target_makefile_frag@): Remove. | |
798 | ||
9b624dbe UW |
799 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
800 | ||
801 | * config/arm/embed.mt (SIM_OBS, SIM): Remove. | |
802 | * config/avr/avr.mt (SIM_OBS, SIM): Remove. | |
803 | * config/frv/frv.mt (SIM_OBS, SIM): Remove. | |
804 | * config/h8300/h8300.mt (SIM_OBS, SIM): Remove. | |
805 | * config/iq2000/iq2000.mt (SIM_OBS, SIM): Remove. | |
806 | * config/m32c/m32c.mt (SIM_OBS, SIM): Remove. | |
807 | * config/m32r/linux.mt (SIM_OBS, SIM): Remove. | |
808 | * config/m32r/m32r.mt (SIM_OBS, SIM): Remove. | |
809 | * config/m68hc11/m68hc11.mt (SIM_OBS, SIM): Remove. | |
810 | * config/mips/embed.mt (SIM_OBS, SIM): Remove. | |
811 | * config/mips/linux.mt (SIM_OBS, SIM): Remove. | |
812 | * config/mips/nbsd.mt (SIM_OBS, SIM): Remove. | |
813 | * config/mn10300/mn10300.mt (SIM_OBS, SIM): Remove. | |
814 | * config/powerpc/linux.mt (SIM_OBS, SIM): Remove. | |
815 | * config/powerpc/nbsd.mt (SIM_OBS, SIM): Remove. | |
816 | * config/powerpc/ppc-sim.mt: Remove file. | |
817 | * config/sh/embed.mt (SIM_OBS, SIM): Remove. | |
818 | * config/sh/linux.mt (SIM_OBS, SIM): Remove. | |
819 | * config/sh/nbsd.mt (SIM_OBS, SIM): Remove. | |
820 | * config/sh/sh64.mt (SIM_OBS, SIM): Remove. | |
821 | * config/sparc/embed.mt (SIM_OBS, SIM): Remove. | |
822 | * config/v850/v850.mt (SIM_OBS, SIM): Remove. | |
823 | * config/xstormy16/xstormy16.mt (SIM_OBS, SIM): Remove. | |
824 | ||
825 | * configure.tgt (gdb_sim): Document variable. | |
826 | (arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*): Set it. | |
827 | (avr-*-*): Likewise. | |
828 | (frv-*-*): Likewise. | |
829 | (h8300-*-*): Likewise. | |
830 | (iq2000-*-*): Likewise. | |
831 | (m32c-*-*): Likewise. | |
832 | (m32r*-*-linux*): Likewise. | |
833 | (m32r*-*-*): Likewise. | |
834 | (m68hc11*-*-*|m6811*-*-*): Likewise. | |
835 | (mips*-*-*): Likewise. | |
836 | (mips*-*-linux*): Likewise. | |
837 | (mips*-*-netbsd* | mips*-*-knetbsd*-gnu): Likewise. | |
838 | (mn10300-*-*): Likewise. | |
839 | (powerpc-*-linux* | powerpc64-*-linux*): Likewise. | |
840 | (powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu): Likewise. | |
841 | (powerpc*-*-*): Use ppc-eabi target. Conditionally set gdb_sim. | |
842 | (sh*): Set gdb_sim. | |
843 | (sh-*-linux*): Likewise. | |
844 | (sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu): Likewise. | |
845 | (sh64-*-elf*): Likewise. | |
846 | (sparc-*-rtems*): Likewise. | |
847 | (v850*-*-elf): Likewise. | |
848 | (xstormy16-*-*): Likewise. | |
849 | ||
850 | * configure.ac (IGNORE_SIM, IGNORE_SIM_OBS): Do not set. | |
851 | (SIM, SIM_OBS): Set depending on ${ignore_sim} and ${gdb_sim}. | |
852 | * configure: Regenerate. | |
853 | * Makefile.in (SIM, SIM_OBS): Substitute from configure. | |
854 | (@IGNORE_SIM@, @IGNORE_SIM_OBS@): Remove. | |
855 | ||
fa987fc4 UW |
856 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
857 | ||
858 | * configure.tgt (gdb_osabi, build_gdbserver): Comment variables. | |
859 | (arm*-*-*): Do not set obsolete build_rdi_share variable. | |
860 | ||
861 | (*-*-freebsd* | *-*-kfreebsd*-gnu): Remove generic case, replace by ... | |
862 | (alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) | |
863 | (i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu) | |
864 | (sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu): ... specific cases. | |
865 | (x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu): Re-sort. | |
866 | ||
867 | (xscale-*-*): Merge into arm*-*-* case. | |
868 | (fido-*-elf*): Merge into m68*-*-elf* case. | |
869 | (m68*-*-aout*, m68*-*-coff*, m68*-*-elf*, m68*-*-rtems*, | |
870 | m68*-*-uclinux*): Merge cases. | |
871 | (powerpc-*-linux*, powerpc64-*-linux*): Merge cases. | |
872 | (sh-*-coff*, sh-*-elf*): Merge into sh* case. | |
873 | ||
732cd360 UW |
874 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
875 | ||
876 | * configure.tgt: Reformat main case statement. | |
877 | ||
db985757 UW |
878 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
879 | ||
880 | * configure.ac (hostfile, targetfile): Remove. | |
881 | (GDB_XM_FILE, GDB_TM_FILE): Do not define. | |
882 | (xm_h, tm_h): Likewise. | |
883 | (DEPRECATED_TM_FILE, XM_FILE): Do not substitute into Makefile. | |
884 | * configure, config.in: Regenerate. | |
885 | ||
886 | * Makefile.in (xm_h, tm_h): Remove. Update dependencies. | |
887 | (TAGS): Do not consider DEPRECATED_TM_FILE or XM_FILE. | |
888 | (clean, local-maintainer-clean): Do not remove xm.h or tm.h. | |
889 | * defs.h: Do not include "xm.h" or "tm.h". | |
890 | ||
891 | * gdbarch.sh (verify_gdbarch): Do not dump GDB_XM_FILE or GDB_TM_FILE. | |
892 | * gdbarch.c: Regenerate. | |
893 | ||
894 | * config/score/embed.mt: Remove obsolete comment. | |
895 | ||
64a3914f MD |
896 | 2007-11-16 Markus Deuling <deuling@de.ibm.com> |
897 | ||
898 | * gdbarch.sh (cannot_fetch_register, cannot_store_register): Add gdbarch | |
899 | as parameter. | |
900 | * gdbarch.{c,h}: Regenerate. | |
901 | ||
902 | * alpha-tdep.c (alpha_cannot_fetch_register) | |
903 | (alpha_cannot_store_register): Add gdbarch as parameter. Replace | |
904 | current_gdbarch by gdbarch. | |
905 | * cris-tdep.c (cris_cannot_fetch_register, cris_cannot_store_register) | |
906 | (crisv32_cannot_fetch_register) | |
907 | (crisv32_cannot_store_register): Likewise. | |
908 | * arch-utils.c (cannot_register_not): Likewise. | |
909 | * arch-utils.h (cannot_register_not): Likewise. | |
910 | * hppa-tdep.c (hppa32_cannot_store_register) | |
911 | (hppa32_cannot_store_register, hppa64_cannot_store_register) | |
912 | (hppa64_cannot_fetch_register): Likewise. | |
913 | * mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register) | |
914 | (mipsnbsd_cannot_store_register): Likewise. | |
915 | ||
40a6adc1 MD |
916 | 2007-11-16 Markus Deuling <deuling@de.ibm.com> |
917 | ||
918 | * m32r-rom.c (m32r_supply_register): Use get_regcache_arch to get at | |
919 | the current architecture by regcache. | |
920 | * ppcnbsd-nat.c (ppcnbsd_supply_pcb): Likewise. | |
921 | * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register) | |
922 | (fetch_register, supply_vrregset, fetch_ppc_registers) | |
923 | (store_altivec_register, store_spe_register, store_register) | |
924 | (fill_vrregset, store_ppc_registers): Likewise. | |
925 | * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise. | |
926 | * win32-nat.c (do_win32_fetch_inferior_registers) | |
927 | (do_win32_store_inferior_registers): Likewise. | |
928 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
929 | * remote-m32r-sdi.c (m32r_fetch_registers) | |
930 | (m32r_store_registers): Likewise. | |
931 | * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise. | |
932 | ||
933 | * trad-frame.c (trad_frame_alloc_saved_regs): Replace current_gdbarch by | |
934 | gdbarch. | |
935 | * user-regs.c (user_reg_map_name_to_regnum): Likewise. | |
936 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call) | |
937 | (do_ppc_sysv_return_value, ppc64_sysv_abi_push_dummy_call) | |
938 | (ppc64_sysv_abi_return_value): Likewise. | |
939 | * m32c-tdep.c (m32c_register_reggroup_p): Likewise. | |
940 | * m2-lang.c (build_m2_types): Likewise. | |
941 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache | |
942 | * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise. | |
943 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise. | |
944 | * rs6000-tdep.c (ppc_dwarf2_frame_init_reg): Likewise. | |
945 | ||
946 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Use get_frame_arch to | |
947 | get at the current architecture by frame_info. | |
948 | * gcore.c (derive_stack_segment): Likewise. | |
949 | ||
950 | * shnbsd-nat.c (GETREGS_SUPPLIES): Add gdbarch parameter. | |
951 | (shnbsd_fetch_inferior_registers, shnbsd_store_inferior_registers): Add | |
952 | gdbarch to GETREGS_SUPPLIES call. | |
953 | ||
6f610d07 UW |
954 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
955 | ||
956 | * elfread.c (ST_REGULAR, ST_DYNAMIC, ST_SYNTHETIC): New defines. | |
957 | (elf_symtab_read): Rename DYNAMIC argument to TYPE. Do not access | |
958 | ELF-private symbol data when processing synthetic symbols. Use | |
959 | udata.p to get at size of ppc64 synthetic 'dot' symbols. | |
960 | (elf_symfile_read): Pass TYPE argument to elf_symtab_read. | |
961 | ||
1b39d5c0 DE |
962 | 2007-11-15 Doug Evans <dje@google.com> |
963 | ||
94d09e04 DE |
964 | * buildsym.h (subfiles): Move ... |
965 | * buildsym.c (subfiles): ... to here and make static. | |
966 | ||
1b39d5c0 DE |
967 | * symmisc.c (maintenance_info_symtabs): Print linetable info. |
968 | ||
2699bdf2 MD |
969 | 2007-11-15 Markus Deuling <deuling@de.ibm.com> |
970 | ||
971 | * mipsnbsd-tdep.h (SIZEOF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove | |
972 | ||
2301df11 MD |
973 | 2007-11-15 Markus Deuling <deuling@de.ibm.com> |
974 | ||
975 | * arm-tdep.c (arm_prologue_this_id): Replace LOWEST_PC by its | |
976 | expression and use get_frame_arch to replace current_gdbarch by frame's | |
977 | architecture. | |
978 | * arm-tdep.h (LOWEST_PC): Remove | |
979 | ||
fc0484e9 VP |
980 | 2007-11-15 Vladimir Prus <vladimir@codesourcery.com> |
981 | ||
982 | Apply const qualifier to some users of bp_location. | |
983 | * breakpoint.h (struct bpstats): Make | |
984 | the breakpoint_at field point at const bp_location. | |
985 | * breakpoint.c (bpstat_alloc): Accept const | |
986 | bp_location. | |
987 | (breakpoint_here_p, breakpoint_inserted_here_p) | |
988 | (software_breakpoint_inserted_here_p) | |
989 | (breakpoint_thread_match, bpstat_stop_status) | |
990 | (read_memory_nobpt, bpstat_have_active_hw_watchpoints): Use | |
991 | const bp_location for iteration. | |
992 | (print_it_typical, print_bp_stop_message): Use | |
993 | const bp_location variable. | |
994 | ||
995 | 2007-11-15 Vladimir Prus <vladimir@codesourcery.com> | |
996 | ||
997 | Make mark_breakpoints_out static. | |
998 | * breakpoint.h (mark_breakpoints_out): Remove | |
999 | declaration. | |
1000 | * breakpoint.c (mark_breakpoints_out): Make static. | |
1001 | ||
1002 | 2007-11-15 Vladimir Prus <vladimir@codesourcery.com> | |
1003 | ||
1004 | Prevent clear_command from directly modifying breakpoint list. | |
1005 | * Makefile.in (breakpoint_h): Update dependency. | |
1006 | * breakpoint.c (clear_command): Do not remove | |
1007 | breakpoints from breakpoint_chain. Collect breakpoints | |
1008 | to delete in a vector. | |
1009 | * breakpoint.h (breakpoint_p): New typedef for pointer to | |
1010 | breakpoint. Register vector of breakpoint_p. | |
1011 | ||
1012 | 2007-11-15 Vladimir Prus <vladimir@codesourcery.com> | |
1013 | ||
1014 | Remove 'run_cleanup'. | |
1015 | * defs.h (do_run_cleanups, make_run_cleanup): Remove | |
1016 | declarations. | |
1017 | * infcmd.c (run_command_1): Call clear_solib instead | |
1018 | of do_run_cleanups. | |
1019 | * jv-lang.c (java_rerun_cleanup): Remove, for lack of | |
1020 | any use. | |
1021 | * solib.c (solib_cleanup_queued, do_clear_solib): Remove. | |
1022 | (update_solib_lib): Don't setup run cleanup. | |
1023 | (no_shared_libraries): Call clear_solib, not do_clear_solib. | |
1024 | * utils.c (run_cleanup_chain, make_run_cleanup) | |
1025 | (do_run_cleanups): Remove. | |
1026 | ||
1027 | 2007-11-15 Vladimir Prus <vladimir@codesourcery.com> | |
1028 | ||
1029 | Remove CLEAR_SOLIB use. | |
1030 | * corelow.c (core_close): Don't check for CLEAR_SOLIB. | |
1031 | * infcmd.c (attach_command): Likewise. | |
1032 | ||
0b0287a1 DE |
1033 | 2007-11-14 Doug Evans <dje@google.com> |
1034 | ||
1035 | * buildsym.c (start_subfile,start_symtab): Doc fixes. | |
1036 | ||
37715c4c TJB |
1037 | 2007-11-13 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1038 | ||
1039 | * tui/tui-data.c (tui_prev_win): Guard against NULL. | |
1040 | ||
be7811ad MD |
1041 | 2007-11-12 Markus Deuling <deuling@de.ibm.com> |
1042 | ||
1043 | * gdbarch.sh (gdbarch_alloc): Replace current_gdbarch by gdbarch. Remove | |
1044 | obsolete comment. | |
1045 | (verify_gdbarch, gdbarch_dump): Likewise. | |
1046 | (do_read): Update comment. | |
1047 | (addr_bit, bfd_arch_info, target_desc, long_long_bit, floatformat) | |
1048 | (ptr_bit, name_of_malloc): Replace current_gdbarch by gdbarch. | |
1049 | * gdbarch.{c,h}: Regenerate. | |
1050 | ||
91d8eb23 MD |
1051 | 2007-11-12 Markus Deuling <deuling@de.ibm.com> |
1052 | ||
1053 | * xtensa-tdep.c (ARG_1ST): Replace ARGS_FIRST_REG by its expression. | |
1054 | (ARGS_FIRST_REG): Remove. | |
1055 | (areg_numer): New function. | |
1056 | (xtensa_pseudo_register_read, xtensa_frame_prev_register) | |
1057 | (xtensa_extract_return_value, xtensa_store_return_value) | |
1058 | (xtensa_frame_cache): Replace AREG_NUMBER by areg_number. | |
1059 | (AREG_NUMBER): Remove. | |
1060 | (XTENSA_IS_ENTRY, ARG_NOF, ARG_1ST): Add gdbarch as parameter. | |
1061 | (xtensa_frame_cache): Update use of XTENSA_IS_ENTRY. | |
1062 | (xtensa_push_dummy_call): Update use of ARG_NOF. | |
1063 | (extract_call_winsize): Add gdbarch as parameter. Replace | |
1064 | current_gdbarch by gdbarch. | |
1065 | (xtensa_extract_return_value, xtensa_store_return_value): Update call | |
1066 | of extract_call_winsize. | |
1067 | ||
d2ca0d52 JB |
1068 | 2007-11-10 Joel Brobecker <brobecker@adacore.com> |
1069 | ||
1070 | * NEWS: Add entry for new set/show print frame-args command. | |
1071 | ||
bbc1a784 KB |
1072 | 2007-11-09 Kevin Buettner <kevinb@redhat.com> |
1073 | ||
1074 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add missing | |
1075 | register number to map. Adjust warning check and error/warning | |
1076 | return value code to match expectations of this function's callers. | |
1077 | ||
0366cf3f JB |
1078 | 2007-11-09 Joel Brobecker <brobecker@adacore.com> |
1079 | ||
1080 | * stack.c (print_this_frame_argument_p): Handle arguments passed | |
1081 | by reference properly. | |
1082 | ||
3462fcef | 1083 | 2007-11-09 Joel Brobecker <brobecker@adacore.com> |
88408340 JB |
1084 | |
1085 | * stack.c (print_frame_arguments_choices): New static global. | |
1086 | (print_frame_arguments): Likewise. | |
1087 | (print_this_frame_argument_p): New function. | |
1088 | (print_frame_args): Print the argument value only when appropriate. | |
1089 | (_initialize_task): Add new "set/show print frame-arguments" command. | |
1090 | ||
1c86e440 LM |
1091 | 2007-11-09 Luis Machado <luisgpm@br.ibm.com> |
1092 | ||
1093 | * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Move | |
1094 | saved_dabr_value assignment to the correct position. | |
1095 | ||
76a8ddb9 UW |
1096 | 2007-11-09 Markus Deuling <deuling@de.ibm.com> |
1097 | ||
1098 | * arch-utils.c (generic_convert_register_p): Add gdbarch as parameter. | |
1099 | * arch-utils.h (generic_convert_register_p): Likewise. | |
1100 | ||
0abe36f5 MD |
1101 | 2007-11-09 Markus Deuling <deuling@de.ibm.com> |
1102 | ||
1103 | * gdbarch.sh (convert_register_p): Add gdbarch as parameter. | |
1104 | * ia64-tdep.c (ia64_convert_register_p): Likewise. | |
1105 | * i387-tdep.c (i387_convert_register_p): Likewise. | |
1106 | * i387-tdep.h (i387_convert_register_p): Likewise. | |
1107 | * alpha-tdep.c (alpha_convert_register_p): Likewise. | |
1108 | * gdbarch.{c,h}: Regenerate. | |
1109 | ||
1110 | * rs6000-tdep.c (rs6000_convert_register_p): Add gdbarch as parameter. | |
1111 | Replace current_gdbarch by gdbarch. | |
1112 | * mips-tdep.c (mips_convert_register_p): Likewise. | |
1113 | * m68k-tdep.c (m68k_convert_register_p): Likewise. | |
1114 | * i386-tdep.c (i386_convert_register_p): Likewise. | |
1115 | ||
85bc6edd UW |
1116 | 2007-11-08 Aleksandar Ristovski <aristovski@qnx.com> |
1117 | ||
1118 | * gdb_string.h: Include <strings.h>. | |
1119 | ||
db107f19 VP |
1120 | 2007-11-08 Vladimir Prus <vladimir@codesourcery.com> |
1121 | ||
1122 | * breakpoint.c (break_command_1): Remove | |
1123 | pending_bp parameter. | |
1124 | (create_breakpoint): Likewise. | |
1125 | (create_breakpoints): Likewise. Adjust call to | |
1126 | create_breakpoint. | |
1127 | (break_command_1): Likewise. Adjust call to | |
1128 | create_breakpoints. | |
1129 | (do_captured_breakpoint): Adjust call to | |
1130 | create_breakpoints. | |
1131 | (break_command, tbreak_command, hbreak_command) | |
1132 | (stopin_command, stopat_command): Adjust call | |
1133 | to break_command_1. | |
1134 | ||
36815e57 JM |
1135 | 2007-11-07 Joseph Myers <joseph@codesourcery.com> |
1136 | Daniel Jacobowitz <dan@codesourcery.com> | |
1137 | ||
1138 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Right-align | |
1139 | struct values smaller than one doubleword; left-align those | |
1140 | larger. Pass structs containing a single floating-point value in | |
1141 | registers. | |
1142 | ||
b14d30e1 JM |
1143 | 2007-11-07 Joseph Myers <joseph@codesourcery.com> |
1144 | Daniel Jacobowitz <dan@codesourcery.com> | |
1145 | ||
1146 | * gdbtypes.c (floatformats_ibm_long_double): New. | |
1147 | * gdbtypes.h (floatformats_ibm_long_double): Declare. | |
1148 | * ia64-tdep.c (floatformat_ia64_ext): Update for addition of | |
1149 | split_half field. | |
1150 | * mips-tdep.c (n32n64_floatformat_always_valid, | |
1151 | floatformat_n32n64_long_double_big, floatformats_n32n64_long): | |
1152 | Remove. | |
1153 | (mips_gdbarch_init): Use floatformats_ibm_long_double instead of | |
1154 | floatformats_n32n64_long. | |
1155 | * ppc-linux-tdep.c (ppc_linux_init_abi): Use 128-bit IBM long | |
1156 | double. | |
1157 | * doublest.c (convert_floatformat_to_doublest, | |
1158 | convert_doublest_to_floatformat): Handle split floating-point | |
1159 | formats. | |
1160 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Handle IBM long | |
1161 | double arguments. | |
1162 | (ppc64_sysv_abi_push_dummy_call): Likewise. | |
1163 | (do_ppc_sysv_return_value): Handle IBM long double return. | |
1164 | ||
214270ab VP |
1165 | 2007-11-07 Vladimir Prus <vladimir@codesourcery.com> |
1166 | ||
1167 | Fix crash when a variable object being deleted | |
1168 | has any of its children deleted previously. | |
1169 | ||
1170 | * varobj.c (delete_variable_1): Don't recurse | |
1171 | into deleted children. | |
1172 | ||
a54fba4c MD |
1173 | 2007-11-07 Markus Deuling <deuling@de.ibm.com> |
1174 | ||
1175 | * gdbarch.sh (legacy_virtual_frame_pointer): Add gdbarch parameter. | |
1176 | * gdbarch.{c,h}: Regenerate. | |
1177 | * arch-utils.c (legacy_virtual_frame_pointer): Add gdbarch parameter. | |
1178 | Replace current_gdbarch by gdbarch. | |
1179 | * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. | |
1180 | * mips-tdep.c (mips_virtual_frame_pointer): Likewise. | |
1181 | * spu-tdep.c (spu_virtual_frame_pointer): Likewise. | |
1182 | ||
9970f04b MD |
1183 | 2007-11-07 Markus Deuling <deuling@de.ibm.com> |
1184 | ||
1185 | * shnbsd-tdep.c (shnbsd_supply_gregset, shnbsd_collect_gregset): Use | |
1186 | get_regcache_arch to get at the current architecture by regcache. | |
1187 | * xstormy16-tdep.c (xstormy16_frame_prev_register): Use get_frame_arch | |
1188 | to get at the current architecture by frame_info. | |
1189 | * fbsd-nat.c (fbsd_make_corefile_notes): Use get_regcache_arch to get | |
1190 | at the current architecture by regcache. | |
1191 | * gnu-v3-abi.c (gnuv3_skip_trampoline): Use get_frame_arch to get at | |
1192 | the current architecture by frame_info. | |
1193 | (build_gdb_vtable_type): Replace current_gdbarch by gdbarch. | |
1194 | * aix-thread.c (special_register_p): Add gdbarch as parameter. | |
1195 | (fetch_regs_kernel_thread, store_regs_kernel_thread): Add gdbarch to | |
1196 | caller of special_register_p. | |
1197 | ||
0b9dfe2b MD |
1198 | 2007-11-07 Markus Deuling <deuling@de.ibm.com> |
1199 | ||
1200 | * infcall.c (call_function_by_hand): Use get_frame_arch to get at the | |
1201 | current architecture by frame_info. | |
1202 | ||
c8541966 MD |
1203 | 2007-11-07 Markus Deuling <deuling@de.ibm.com> |
1204 | ||
1205 | * xtensa-tdep.h (SIZEOF_GREGSET, XTENSA_ELF_NGREG) Remove. | |
1206 | ||
8fe9ea88 MD |
1207 | 2007-11-07 Markus Deuling <deuling@de.ibm.com> |
1208 | ||
1209 | * s390-nat.c (supply_gregset, fill_gregset): Use get_regcache_arch to | |
1210 | get at the current architecture by regcache. | |
1211 | (SUBOFF): Add gdbarch to macro definition. | |
1212 | ||
67d57894 MD |
1213 | 2007-11-07 Markus Deuling <deuling@de.ibm.com> |
1214 | ||
1215 | * gdbarch.sh (breakpoint_from_pc): Add gdbarch parameter. | |
1216 | * gdbarch.{c,h}: Regenerate. | |
1217 | ||
1218 | * xtensa-tdep.c (xtensa_breakpoint_from_pc): Add gdbarch parameter. | |
1219 | Replace current_gdbarch by gdbarch. | |
1220 | * sh-tdep.c (sh_breakpoint_from_pc): Likewise. | |
1221 | * sh64-tdep.c (sh64_breakpoint_from_pc): Likewise. | |
1222 | * score-tdep.c (score_breakpoint_from_pc): Likewise. | |
1223 | * mips-tdep.c (mips_breakpoint_from_pc): Likewise. | |
1224 | * m32r-tdep.c (m32r_breakpoint_from_pc): Likewise. | |
1225 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Likewise. | |
1226 | * arm-tdep.c (arm_breakpoint_from_pc): Likewise. | |
1227 | ||
1228 | * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Add gdbarch | |
1229 | parameter. | |
1230 | * vax-tdep.c (vax_breakpoint_from_pc): Likewise. | |
1231 | * v850-tdep.c (v850_breakpoint_from_pc): Likewise. | |
1232 | * spu-tdep.c (spu_breakpoint_from_pc): Likewise. | |
1233 | * sparc-tdep.c (sparc_breakpoint_from_pc): Likewise. | |
1234 | * s390-tdep.c (s390_breakpoint_from_pc): Likewise. | |
1235 | * mn10300-tdep.c (mn10300_breakpoint_from_pc): Likewise. | |
1236 | * mt-tdep.c (mt_breakpoint_from_pc): Likewise. | |
1237 | * mep-tdep.c (mep_breakpoint_from_pc): Likewise. | |
1238 | * m88k-tdep.c (m88k_breakpoint_from_pc): Likewise. | |
1239 | * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Likewise. | |
1240 | * m32c-tdep.c (m32c_breakpoint_from_pc): Likewise. | |
1241 | * ia64-tdep.c (ia64_breakpoint_from_pc): Likewise. | |
1242 | * i386-tdep.c (i386_breakpoint_from_pc): Likewise. | |
1243 | * hppa-tdep.c (hppa_breakpoint_from_pc): Likewise. | |
1244 | * h8300-tdep.c (h8300_breakpoint_from_pc): Likewise. | |
1245 | * frv-tdep.c (frv_breakpoint_from_pc): Likewise. | |
1246 | * cris-tdep.c (cris_breakpoint_from_pc): Likewise. | |
1247 | * avr-tdep.c (avr_breakpoint_from_pc): Likewise. | |
1248 | * alpha-tdep.c (alpha_breakpoint_from_pc): Likewise. | |
1249 | * m68k-tdep.c (m68k_local_breakpoint_from_pc): Likewise. | |
1250 | ||
1251 | * rs6000-tdep.c (rs6000_breakpoint_from_pc): Add gdbarch parameter. | |
1252 | Replace current_gdbarch by gdbarch. | |
1253 | (rs6000_software_single_step): Use get_frame_arch to get at the | |
1254 | current architecture by frame_info. Add gdbarch to | |
1255 | rs6000_breakpoint_from_pc call. | |
1256 | ||
7a22ecfc MD |
1257 | 2007-11-07 Markus Deuling <deuling@de.ibm.com> |
1258 | ||
1259 | * frv-tdep.c (frv_register_name, frv_check_watch_resources): Replace | |
1260 | macro CURRENT_VARIANT by its expression. | |
1261 | (CURRENT_VARIANT): Remove. | |
1262 | (frv_check_watch_resources): Add gdbarch parameter. | |
1263 | ||
213a758a MD |
1264 | 2007-11-07 Markus Deuling <deuling@de.ibm.com> |
1265 | ||
1266 | * MAINTAINERS (Write After Approval): Add self. | |
1267 | ||
f03eb1cf UW |
1268 | 2007-11-05 Ulrich Weigand <uweigand@de.ibm.com> |
1269 | ||
1270 | * features/rs6000/power-core.xml: Use uint32 as register type. | |
1271 | * features/rs6000/power64-core.xml: Use uint64/uint32 as register type. | |
1272 | * features/rs6000/powerpc-32.c: Regenerate. | |
1273 | * features/rs6000/powerpc-403.c: Regenerate. | |
1274 | * features/rs6000/powerpc-403gc.c: Regenerate. | |
1275 | * features/rs6000/powerpc-505.c: Regenerate. | |
1276 | * features/rs6000/powerpc-602.c: Regenerate. | |
1277 | * features/rs6000/powerpc-603.c: Regenerate. | |
1278 | * features/rs6000/powerpc-604.c: Regenerate. | |
1279 | * features/rs6000/powerpc-64.c: Regenerate. | |
1280 | * features/rs6000/powerpc-7400.c: Regenerate. | |
1281 | * features/rs6000/powerpc-750.c: Regenerate. | |
1282 | * features/rs6000/powerpc-860.c: Regenerate. | |
1283 | * features/rs6000/powerpc-e500.c: Regenerate. | |
1284 | ||
c40e75cd JB |
1285 | 2007-11-05 Joel Brobecker <brobecker@adacore.com> |
1286 | ||
1287 | * breakpoint.c (set_raw_breakpoint_without_location): Make static. | |
1288 | ||
9b70b993 JB |
1289 | 2007-11-05 Joel Brobecker <brobecker@adacore.com> |
1290 | ||
1291 | * breakpoint.h (create_solib_load_event_breakpoint) | |
1292 | (create_solib_unload_event_breakpoint) | |
1293 | (create_fork_event_catchpoint, create_vfork_event_catchpoint) | |
1294 | (create_exec_event_catchpoint): Delete declaration. | |
1295 | * breakpoint.c (create_solib_load_event_breakpoint) | |
1296 | (solib_load_unload_1, create_solib_unload_event_breakpoint): Delete. | |
1297 | (create_fork_event_catchpoint, create_vfork_event_catchpoint) | |
1298 | (create_exec_event_catchpoint): Make static. | |
1299 | ||
60b0bfbc JB |
1300 | 2007-11-05 Joel Brobecker <brobecker@adacore.com> |
1301 | ||
1302 | * breakpoint.h (set_breakpoint_sal): Remove declaration. | |
1303 | * breakpoint.c (set_breakpoint_sal): Delete. | |
1304 | ||
a239dc23 JB |
1305 | 2007-11-05 Joel Brobecker <brobecker@adacore.com> |
1306 | ||
1307 | * buildsym.c (finish_block): Remove "#if 1"/"#endif" brackets. | |
1308 | (make_blockvector): Likewise. Remove FIXME comment. | |
1309 | ||
1a619819 LM |
1310 | 2007-11-05 Luis Machado <luisgpm@br.ibm.com> |
1311 | ||
1312 | * printcmd.c: (printf_command): Add support for new DFP | |
1313 | modifiers %H, %D and %DD. | |
1314 | * configure.ac: Add check for DECFLOAT printf support. | |
1315 | * configure: Regenerated. | |
1316 | ||
086280be UW |
1317 | 2007-11-02 Ulrich Weigand <uweigand@de.ibm.com> |
1318 | ||
1319 | * gdbtypes.h (struct cplus_struct_type): Remove runtime_ptr member. | |
1320 | (TYPE_RUNTIME_PTR, TYPE_VTABLE, TYPE_HAS_VTABLE, | |
1321 | TYPE_PRIMARY_BASE, TYPE_VIRTUAL_BASE_LIST): Remove macros. | |
1322 | (HP_ACC_VFUNC_START, HP_ACC_VBASE_START, HP_ACC_TYPEINFO_OFFSET, | |
1323 | HP_ACC_TOP_OFFSET_OFFSET): Likewise. | |
1324 | (has_vtable, primary_base_class, virtual_base_list_length, | |
1325 | virtual_base_list_length_skip_primaries, virtual_base_index, | |
1326 | virtual_base_index_skip_primaries, class_index_in_primary_list, | |
1327 | count_virtual_fns): Remove prototypes. | |
1328 | * gdbtypes.c (has_vtable, primary_base_class, current_vbase_list, | |
1329 | virtual_base_list_aux, virtual_base_list, virtual_base_list_length, | |
1330 | virtual_base_list_length_skip_primaries, virtual_base_index, | |
1331 | virtual_base_index_skip_primaries, class_index_in_primary_list, | |
1332 | count_virtual_fns): Remove. | |
1333 | ||
1334 | * cp-valprint.c (cp_print_hpacc_virtual_table_entries): Remove. | |
1335 | (hpacc_vtbl_ptr_name, hpacc_vtbl_ptr_type_name): Remove. | |
1336 | (cp_print_value_fields): Remove support for HP aCC vtables. | |
1337 | (cp_print_value): Likewise. | |
1338 | * c-typeprint.c (c_type_print_base): Likewise. | |
1339 | ||
1340 | * value.h (find_rt_vbase_offset): Remove prototype. | |
1341 | * valops.c (find_rt_vbase_offset): Remove. | |
1342 | (search_struct_method): Remove support for HP aCC vtables. | |
1343 | (find_method_list): Likewise. | |
1344 | ||
aba2dd37 UW |
1345 | 2007-11-02 Ulrich Weigand <uweigand@de.ibm.com> |
1346 | ||
1347 | * language.h (struct language_defn): Remove la_builtin_type_vector | |
1348 | and string_char_type members. | |
1349 | * language.c (language_string_char_type): No longer consult | |
1350 | la->string_char_type. | |
1351 | (language_lookup_primitive_type_by_name): No longer consult | |
1352 | current_language->la_builtin_type_vector. | |
1353 | ||
1354 | * language.c (unknown_language_defn, auto_language_defn, | |
1355 | local_language_defn): Adapt initializer. | |
1356 | * ada-lang.c (ada_language_defn): Likewise. | |
1357 | * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn, | |
1358 | minimal_language_defn): Likewise. | |
1359 | * f-lang.c (f_language_defn): Likewise. | |
1360 | * jv-lang.c (java_language_defn): Likewise. | |
1361 | * m2-lang.c (m2_language_defn): Likewise. | |
1362 | * objc-lang.c (objc_language_defn): Likewise. | |
1363 | * p-lang.c (pascal_language_defn): Likewise. | |
1364 | * scm-lang.c (scm_language_defn): Likewise. | |
1365 | ||
09a7aba8 UW |
1366 | 2007-11-02 Markus Deuling <deuling@de.ibm.com> |
1367 | ||
1368 | * frame.c (frame_id_inner): Add gdbarch parameter. Replace | |
1369 | current_gdbarch by gdbarch. | |
1370 | (frame_find_by_id, get_prev_frame_1): Use get_frame_arch to get at the | |
1371 | current architecture by frame_info. | |
1372 | * frame.h (frame_id_inner): Add gdbarch parameter. | |
1373 | * stack.c (return_command): Use get_frame_arch to get at the current | |
1374 | architecture by frame_info. Update call of frame_id_inner. | |
1375 | * infrun.c (handle_inferior_event): Likewise. | |
1376 | * dummy-frame.c (dummy_frame_push): Use get_regcache_arch to get at the | |
1377 | current architecture by regcache. Update call of frame_id_inner. | |
1378 | ||
d93859e2 UW |
1379 | 2007-11-02 Markus Deuling <deuling@de.ibm.com> |
1380 | ||
1381 | * gdbarch.sh (register_name): Add gdbarch parameter. | |
1382 | * gdbarch.{c,h}: Regenerate. | |
1383 | ||
1384 | * target-descriptions.c (tdesc_register_name): Add gdbarch parameter. | |
1385 | (tdesc_register_name): Replace current_gdbarch by gdbarch. | |
1386 | * target-descriptions.h (tdesc_register_name): Add gdbarch parameter. | |
1387 | ||
1388 | * xstormy16-tdep.c (xstormy16_register_name): Add gdbarch parameter. | |
1389 | * vax-tdep.c (vax_register_name): Add gdbarch parameter. | |
1390 | * spu-tdep.c (spu_register_name): Add gdbarch parameter. | |
1391 | * s390-tdep.c (s390_register_name): Add gdbarch parameter. | |
1392 | * mt-tdep.c (mt_register_name): Add gdbarch parameter. | |
1393 | (mt_registers_info): Replace current_gdbarch by gdbarch. | |
1394 | (mt_register_reggroup_p): Add gdbarch to mt_register_name call. | |
1395 | * mips-tdep.c (mips_register_name): Add gdbarch parameter. Replace | |
1396 | current_gdbarch by gdbarch. | |
1397 | (mips_register_name): Add gdbarch to tdesc_register_name call. | |
1398 | * mep-tdep.c (mep_register_name): Add gdbarch parameter. Replace | |
1399 | current_gdbarch by gdbarch. | |
1400 | (mep_register_reggroup_p): Add gdbarch to mep_register_name call. | |
1401 | * m32c-tdep.c (m32c_register_name): Add gdbarch parameter. Replace | |
1402 | current_gdbarch by gdbarch. | |
1403 | * m88k-tdep.c (m88k_register_name): Add gdbarch parameter. | |
1404 | * m68k-tdep.c (m68k_register_name): Add gdbarch parameter. | |
1405 | * m32r-tdep.c (m32r_register_name): Add gdbarch parameter. | |
1406 | (m32r_frame_unwind_cache): Use get_frame_arch to get at the current | |
1407 | architecture by frame_info. | |
1408 | * iq2000-tdep.c (iq2000_register_name): Add gdbarch parameter. | |
1409 | * ia64-tdep.c (ia64_register_name): Add gdbarch parameter. | |
1410 | * hppa-tdep.c (hppa32_register_name, hppa64_register_name): Add gdbarch | |
1411 | parameter. | |
1412 | * h8300-tdep.c (h8300_register_name, h8300s_register_name) | |
1413 | (h8300sx_register_name): Add gdbarch parameter. | |
1414 | * cris-tdep.c (cris_register_name, crisv32_register_name): Add | |
1415 | gdbarch parameter. Replace current_gdbarch by gdbarch. | |
1416 | (cris_gdbarch_init): Replace current_gdbarch by gdbarch (comment). | |
1417 | * avr-tdep.c (avr_register_name): Add gdbarch parameter. | |
1418 | * arm-tdep.c (arm_register_name): Add gdbarch paramete | |
1419 | * amd64-tdep.c (amd64_register_name): Add gdbarch parameter. Update | |
1420 | caller. | |
1421 | * amd64-tdep.h (amd64_register_name): Add gdbarch parameter. | |
1422 | * amd64-linux-tdep.c (amd64_linux_register_name): Add gdbarch parameter. | |
1423 | * alpha-tdep.c (alpha_register_name): Add gdbarch parameter. | |
1424 | (alpha_cannot_fetch_register, alpha_cannot_store_register): Update call | |
1425 | of alpha_register_name. | |
1426 | * frv-tdep.c (frv_register_name): Add gdbarch parameter. | |
1427 | * i386-tdep.c (i386_register_name): Add gdbarch parameter. Replace | |
1428 | current_gdbarch by gdbarch. | |
1429 | (i386_register_type): Replace ?current_gdbarch by gdbarch. | |
1430 | * i386-tdep.h (i386_register_name): Add gdbarch parameter. | |
1431 | * i386-linux-tdep.c (i386_linux_register_name): Add gdbarch parameter. | |
1432 | ||
1433 | * m68hc11-tdep.c (m68hc11_register_name): Add gdbarch parameter. | |
1434 | (m68hc11_register_reggroup_p): Add gdbarch to call of | |
1435 | m68hc11_register_name. | |
1436 | * mn10300-tdep.c (mn10300_generic_register_name, am33_register_name) | |
1437 | (am33_2_register_name): Add gdbarch parameter. | |
1438 | (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current | |
1439 | architecture by frame_info. | |
1440 | (mn10300_dump_tdep): Replace current_gdbarch by gdbarch. | |
1441 | * rs6000-tdep.c (rs6000_register_name): Add gdbarch parameter. Replace | |
1442 | current_gdbarch by gdbarch. | |
1443 | * score-tdep.c (score_register_name): Add gdbarch parameter. | |
1444 | (score_return_value, score_push_dummy_call): Replace current_gdbarch | |
1445 | by gdbarch. | |
1446 | * sh64-tdep.c (sh64_register_name): Add gdbarch parameter. | |
1447 | (sh64_compact_reg_base_num, sh64_register_convert_to_virtual) | |
1448 | (sh64_register_convert_to_raw, sh64_fv_reg_base_num) | |
1449 | (sh64_dr_reg_base_num, sh64_fpp_reg_base_num): Add gdbarch parameter | |
1450 | and update caller. Replace current_gdbarch by gdbarch. | |
1451 | (sh64_extract_return_value, sh64_store_return_value): Use | |
1452 | get_regcache_arch to get at the current architecture by regcache. | |
1453 | * sh-tdep.c (sh_sh_register_name, sh_sh3_register_name) | |
1454 | (sh_sh3e_register_name, sh_sh2e_register_name, sh_sh2a_register_name) | |
1455 | (sh_sh2a_nofpu_register_name, sh_sh_dsp_register_name) | |
1456 | (sh_sh3_dsp_register_name, sh_sh4_register_name) | |
1457 | (sh_sh4_nofpu_register_name, sh_sh4al_dsp_register_name): Add gdbarch | |
1458 | parameter. | |
1459 | (fv_reg_base_num, dr_reg_base_num, sh_justify_value_in_reg) | |
1460 | (sh_next_flt_argreg): Add gdbarch parameter and update caller. Replace | |
1461 | current_gdbarch by gdbarch. | |
1462 | (sh_extract_return_value_fpu, sh_store_return_value_fpu): Use | |
1463 | get_regcache_arch to get at the current architecture by regcache. | |
1464 | * sparc-tdep.c (sparc32_register_name): Add gdbarch parameter. | |
1465 | * sparc64-tdep.c (sparc64_register_name): Add gdbarch parameter. | |
1466 | * v850-tdep.c (v850_register_name, v850e_register_name): Add gdbarch | |
1467 | parameter. | |
1468 | (v850_unwind_sp, v850_unwind_pc): Replace current_gdbarch by gdbarch. | |
1469 | * xtensa-tdep.c (xtensa_register_name): Add gdbarch parameter. Replace | |
1470 | current_gdbarch by gdbarch. | |
1471 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write) | |
1472 | (xtensa_frame_prev_register): Add gdbarch parameter to | |
1473 | xtensa_register_name call. | |
1474 | ||
82233d87 UW |
1475 | 2007-10-31 Ulrich Weigand <uweigand@de.ibm.com> |
1476 | ||
1477 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Fall back to | |
1478 | find_solib_trampoline_target if PC is not in .plt section. | |
1479 | ||
02c75f72 UW |
1480 | 2007-10-31 Ulrich Weigand <uweigand@de.ibm.com> |
1481 | ||
1482 | * elfread.c (elf_symtab_read): When constructing a solib trampoline | |
1483 | minimal symbol from an undefined dynamic symbol, use proper section. | |
1484 | ||
08790784 UW |
1485 | 2007-10-31 Markus Deuling <deuling@de.ibm.com> |
1486 | ||
1487 | * arm-linux-nat.c (fetch_register, fetch_regs): Use get_regcache_arch | |
1488 | to get at the current architecture by regcache. | |
1489 | ||
8cff2ae6 UW |
1490 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1491 | ||
1492 | * libunwind-frame.c (libunwind_frame_sniffer) | |
1493 | libunwind_frame_prev_register, libunwind_sigtramp_frame_sniffer) | |
1494 | (libunwind_frame_cache): Use get_frame_arch to get at the current | |
1495 | architecture by frame_info. | |
1496 | (libunwind_get_reg_special): Replace current_gdbarch by gdbarch. | |
1497 | ||
505bbca2 UW |
1498 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1499 | ||
1500 | * iq2000-tdep.c (iq2000_frame_prev_register): Use get_frame_arch to get | |
1501 | at the current architecture by frame_info. | |
1502 | ||
b1a653ae UW |
1503 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1504 | ||
1505 | * inf-child.c (inf_child_fetch_inferior_registers): Use | |
1506 | get_regcache_arch to get at the current architecture by regcache. | |
1507 | ||
3b3b1423 UW |
1508 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1509 | ||
1510 | * inf-ptrace.c (inf_ptrace_fetch_registers) | |
1511 | (inf_ptrace_fetch_register, inf_ptrace_store_register) | |
1512 | (inf_ptrace_store_registers): Use get_regcache_arch to get at the | |
1513 | current architecture by regcache. | |
1514 | ||
8d90747a UW |
1515 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1516 | ||
1517 | * hpux-thread.c (hpux_thread_fetch_registers) | |
1518 | (hpux_thread_store_registers): Use get_regcache_arch to get at the | |
1519 | current architecture by regcache. | |
1520 | ||
65c5db89 UW |
1521 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1522 | ||
1523 | * hppa-tdep.c (hppa_frame_cache): Use get_frame_arch to get at the | |
1524 | current architecture by frame_info. | |
1525 | ||
7067c689 UW |
1526 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1527 | ||
1528 | * go32-nat.c (fetch_register, go32_fetch_registers, store_register) | |
1529 | (go32_store_registers): Use get_regcache_arch to get at the current | |
1530 | architecture by regcache. | |
1531 | ||
8a7e34d8 UW |
1532 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1533 | ||
1534 | * gdbtypes.c (gdbtypes_post_init): Replace current_gdbarch by gdbarch. | |
1535 | ||
992166ee UW |
1536 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1537 | ||
1538 | * frv-linux-tdep.c (frv_linux_sigtramp_frame_cache): Use get_frame_arch | |
1539 | to get at the current architecture by frame_info. | |
1540 | ||
bb09620c UW |
1541 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1542 | ||
1543 | * f-lang.c (build_fortran_types): Replace current_gdbarch by gdbarch. | |
1544 | ||
8f4f3fbe UW |
1545 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1546 | ||
1547 | * core-regset.c (fetch_core_registers): Use get_regcache_arch to get at | |
1548 | the current architecture by regcache. | |
1549 | ||
13b8769f UW |
1550 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1551 | ||
1552 | * corelow.c (get_core_registers): Use get_regcache_arch to get at the | |
1553 | current architecture by regcache. | |
1554 | ||
27524c05 UW |
1555 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1556 | ||
1557 | * bsd-uthread.c (bsd_uthread_fetch_registers) | |
1558 | (bsd_uthread_store_registers): Use get_regcache_arch to get at the | |
1559 | current architecture by regcache. | |
1560 | ||
fbff0d8f UW |
1561 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1562 | ||
1563 | * avr-tdep.c (avr_frame_unwind_cache, avr_frame_prev_register): Use | |
1564 | get_frame_arch to get at the current architecture by frame_info. | |
1565 | ||
e1e01acd UW |
1566 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1567 | ||
1568 | * arm-tdep.c (arm_get_next_pc): Replace current_gdbarch by gdbarch. | |
1569 | ||
b2cb219a UW |
1570 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1571 | ||
1572 | * armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register) | |
1573 | (store_regs): Use get_regcache_arch to get at the current architecture | |
1574 | by regcache. | |
1575 | ||
a6f7e838 UW |
1576 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1577 | ||
1578 | * arm-linux-tdep.c (arm_linux_supply_gregset): Use get_regcache_arch | |
1579 | to get at the current architecture by regcache. | |
1580 | ||
600d293e UW |
1581 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1582 | ||
1583 | * alphabsd-nat.c (alphabsd_fetch_inferior_registers) | |
1584 | (alphabsd_store_inferior_registers): Use get_regcache_arch to get at | |
1585 | the current architecture by regcache. | |
1586 | ||
d4a9a881 UW |
1587 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1588 | ||
1589 | * ada-lang.c (ada_language_arch_info): Replace current_gdbarch by | |
1590 | gdbarch. | |
1591 | ||
55eddb0f DJ |
1592 | 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com> |
1593 | ||
1594 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Check the selected | |
1595 | soft float and vector ABIs. Support the generic vector ABI for | |
1596 | AltiVec types. | |
1597 | (do_ppc_sysv_return_value): Likewise. Correct argument types and | |
1598 | casts. | |
1599 | (ppc64_sysv_abi_push_dummy_call): Assert that floating point is | |
1600 | supported. | |
1601 | * ppc-tdep.h (enum powerpc_vector_abi): New. | |
1602 | (struct gdbarch_tdep): Add soft_float and vector_abi. | |
1603 | * rs6000-tdep.c (setpowerpccmdlist, showpowerpccmdlist) | |
1604 | (powerpc_soft_float_global, powerpc_vector_strings) | |
1605 | (powerpc_vector_abi_global, powerpc_vector_abi_string): New. | |
1606 | (rs6000_gdbarch_init): Check for soft-float and vector ABI markings. | |
1607 | (set_powerpc_command, show_powerpc_command, powerpc_set_soft_float) | |
1608 | (powerpc_set_vector_abi): New. | |
1609 | (_initialize_rs6000_tdep): Register "set powerpc" and "show powerpc" | |
1610 | commands. | |
1611 | * Makefile.in (elf_ppc_h): New. | |
1612 | (rs6000-tdep.o): Update. | |
1613 | ||
06caf7d2 CES |
1614 | 2007-10-29 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
1615 | ||
1616 | * ppc-linux-tdep.c (ppc32_linux_reg_offsets): Corrected | |
1617 | swapped offsets and VRSAVE offset. | |
1618 | (ppc64_linux_reg_offsets): Corrected swapped offsets. | |
1619 | (ppc32_linux_vrregset): Added. | |
1620 | (ppc_linux_regset_from_core_section): Added support for | |
1621 | .reg-ppc-vmx section. | |
1622 | * ppc-tdep.h (ppc_altivec_support_p): Declare. | |
1623 | (ppc_supply_vrregset): Declare. | |
1624 | (ppc_collect_vrregset): Declare. | |
1625 | * rs6000-tdep.c (ppc_altivec_support_p): Added. | |
1626 | (ppc_supply_vrregset): Added. | |
1627 | (ppc_collect_vrregset): Added. | |
1628 | * corelow.c (get_core_registers): Added support for | |
1629 | .reg-ppc-vmx section. | |
1630 | ||
72774a84 | 1631 | 2007-10-29 Joel Brobecker <brobecker@adacore.com> |
1632 | ||
1633 | GDB 6.7.1 released. | |
1634 | ||
648027cc JB |
1635 | 2007-10-26 Jim Blandy <jimb@codesourcery.com> |
1636 | ||
bfe10c0f JB |
1637 | * ax-gdb.h (expr_to_address_and_size): Delete declaration for |
1638 | deleted function. | |
1639 | ||
e3dd034f JB |
1640 | * tracepoint.c (tracepoint_operation): Report the deletion event |
1641 | after we have unlinked the tracepoint from the list, and use the | |
1642 | proper tracepoint number. | |
1643 | ||
624d6fb7 JB |
1644 | * ax-gdb.c (expr_to_agent): Delete unused function. |
1645 | (expr_to_address_and_size): Delete #if 0'd function. | |
1646 | * ax-gdb.h (expr_to_agent): Delete declaration. | |
1647 | ||
74b35824 JB |
1648 | * ax-gdb.c (gen_cast): Remove redundant assignment to |
1649 | value->type. Doc fix. | |
1650 | ||
648027cc JB |
1651 | * ax-general.c (gen_traced_pop, gen_int_literal) |
1652 | (gen_usual_arithmetic): Check for typedefs. | |
1653 | ||
df2a60d0 JB |
1654 | 2007-10-26 Joel Brobecker <brobecker@adacore.com> |
1655 | ||
1656 | * parse.c (prefixify_expression): Minor reformatting. | |
1657 | ||
d76526c6 DJ |
1658 | 2007-10-25 Daniel Jacobowitz <dan@codesourcery.com> |
1659 | ||
1660 | * version.in: Use dot instead of dash. | |
1661 | ||
8f136895 DJ |
1662 | 2007-10-25 Daniel Jacobowitz <dan@codesourcery.com> |
1663 | ||
1664 | * linux-thread-db.c (check_for_thread_db): Only print if info_verbose. | |
1665 | ||
f6071bfa PA |
1666 | 2007-10-25 Pedro Alves <pedro_alves@portugalmail.pt> |
1667 | ||
1668 | * memory-map.c (parse_memory_map): Don't use an empty struct | |
1669 | initializer. | |
1670 | ||
7e2dbecf PA |
1671 | 2007-10-25 Pedro Alves <pedro_alves@portugalmail.pt> |
1672 | ||
1673 | * signals/signals.c (signals): Update pointer to enum | |
1674 | target_signal declaration. | |
1675 | ||
68511cec CES |
1676 | 2007-10-25 Wu Zhou <woodzltc@cn.ibm.com> |
1677 | Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> | |
1678 | Jim Blandy <jimb@codesourcery.com> | |
1679 | ||
1680 | * dwarf2read.c (read_partial_die): check the value | |
1681 | of DW_AT_calling_convention in Fortran programs. | |
1682 | ||
27bc4d80 TJB |
1683 | 2007-10-25 Wu Zhou <woodzltc@cn.ibm.com> |
1684 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
1685 | ||
1686 | * c-exp.y (YYSTYPE): Add typed_val_decfloat for decimal | |
1687 | floating point in YYSTYPE union. | |
1688 | (DECFLOAT) Add token and expression element handling code. | |
1689 | (parse_number): Parse DFP constants, which end with suffix 'df', | |
1690 | 'dd' or 'dl'. Return DECFLOAT. | |
1691 | * eval.c (evaluate_subexp_standard): Call value_from_decfloat to | |
1692 | handle OP_DECFLOAT. | |
1693 | * expression.h (enum exp_opcode): Add an opcode (OP_DECFLOAT) | |
1694 | for DFP constants. | |
1695 | (union exp_element): Add decfloatconst to represent DFP | |
1696 | elements, which is 16 bytes by default. | |
1697 | * parse.c (write_exp_elt_decfloatcst): New function to write a | |
1698 | decimal float const into the expression. | |
1699 | (operator_length_standard): Set operator length for OP_DECFLOAT | |
1700 | to 4. | |
1701 | * parser-defs.h (write_exp_elt_decfloatcst): Prototype. | |
1702 | * valarith.c (value_neg): Add code to handle the negation | |
1703 | operation of DFP values. | |
1704 | * value.c (value_from_decfloat): New function to get the value | |
1705 | from a decimal floating point. | |
1706 | * value.h (value_from_decfloat): Prototype. | |
1707 | ||
7678ef8f TJB |
1708 | 2007-10-25 Wu Zhou <woodzltc@cn.ibm.com> |
1709 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
1710 | ||
1711 | * c-lang.c (c_create_fundamental_type): Create fundamental | |
1712 | types for DFP. | |
1713 | * c-typeprint.c (c_type_print_varspec_prefix): Add | |
1714 | TYPE_CODE_DECFLOAT to no prefix needed case. | |
1715 | (c_type_print_varspec_suffix): Add TYPE_CODE_DECFLOAT to no | |
1716 | suffix needed case. | |
1717 | * c-valprint.c (c_val_print): Call print_decimal_floating to | |
1718 | print DFP values. | |
1719 | * dwarf2read.c (read_base_type): Read DW_ATE_decimal_float | |
1720 | attribute code and return TYPE_CODE_DECFLOAT. | |
1721 | (dwarf_base_type): Set dwarf2_fundamental_type for DFP values. | |
1722 | * gdbtypes.c (gdbtypes_post_init): Initialize builtin_decfloat, | |
1723 | builtin_decdouble and builtin_declong. | |
1724 | * gdbtypes.h (enum type_code): Add TYPE_CODE_DECFLOAT as a | |
1725 | type code for DFP. | |
1726 | (FT_DECFLOAT, FT_DBL_PREC_DECFLOAT, FT_EXT_PREC_DECFLOAT): New | |
1727 | types, for decimal floating point. | |
1728 | (FT_NUM_MEMBERS): Increment, new types added. | |
1729 | (struct builtin_type): Add builtin_decfloat, builtin_decdouble | |
1730 | and builtin_declong. | |
1731 | * valprint.c (print_decimal_floating): New function to print DFP | |
1732 | values. | |
1733 | * value.h (print_decimal_floating): Prototype. | |
1734 | ||
9b913628 TJB |
1735 | 2007-10-25 Wu Zhou <woodzltc@cn.ibm.com> |
1736 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
1737 | ||
1738 | * Makefile.in (LIBDECNUMBER_DIR, LIBDECNUMBER, LIBDECNUMBER_SRC | |
1739 | LIBDECNUMBER_CFLAGS): New macros for libdecnumber. | |
1740 | (INTERNAL_CFLAGS_BASE): Add LIBDECNUMBER_CFLAGS in. | |
1741 | (INSTALLED_LIBS): Add -ldecnumber in. | |
1742 | (CLIBS): Add LIBDECNUMBER in. | |
1743 | (decimal128_h, decimal64_h, decimal32_h): New macros for decimal | |
1744 | headers. | |
1745 | (dfp_h): New macros for decimal floating point. | |
1746 | (dfp.o): New target. | |
1747 | (COMMON_OBS): Add dfp.o in. | |
1748 | (c-exp.o): Add dfp_h as dependency. | |
1749 | (valprint.o): Add dfp_h as dependency. | |
1750 | (value.o): Add dfp_h as dependency. | |
1751 | * dfp.h: New header file for decimal floating point support in | |
1752 | GDB. | |
1753 | * dfp.c: New source file for decimal floating point support in | |
1754 | GDB. Implement decimal_from_string and decimal_to_string based | |
1755 | on libdecnumber API. | |
1756 | * configure.ac: Add AC_C_BIGENDIAN test. | |
1757 | * config.in, configure: Regenerate. | |
1758 | ||
ad842144 MR |
1759 | 2007-10-25 David Ung <davidu@mips.com> |
1760 | Maciej W. Rozycki <macro@mips.com> | |
1761 | ||
1762 | PR exp/1926 | |
1763 | * infcmd.c (registers_info): Check for a user register before | |
1764 | calling target's gdbarch_print_registers_info(). If found to be | |
1765 | so, extract the implicit value of user register and call | |
1766 | print_scalar_formatted(). | |
1767 | * Makefile.in: (infcmd.o): Add $(user_regs_h). | |
1768 | ||
24a836bd JB |
1769 | 2007-10-25 Joel Brobecker <brobecker@adacore.com> |
1770 | ||
1771 | * NEWS: Document status of hppa64-hpux support. | |
1772 | ||
7e3cb44c UW |
1773 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
1774 | ||
1775 | * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets): Call | |
1776 | set_solib_ops to install SVR4 operations. | |
1777 | (_initialize_svr4_solib): Do not set current_target_so_ops. | |
1778 | ||
1779 | * config/i386/i386gnu.mh (NATDEPFILES): Move solib.o, solib-svr4.o ... | |
1780 | * config/i386/i386gnu.mt (TDEPFILES): ... to here. | |
1781 | ||
8d005789 UW |
1782 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
1783 | ||
1784 | * solib-svr4.c (legacy_svr4_fetch_link_map_offsets_hook): Remove. | |
1785 | (solib_svr4_init): Initialize fetch_link_map_offsets to NULL. | |
1786 | * solib-svr4.h (legacy_svr4_fetch_link_map_offsets_hook): Remove. | |
1787 | * solib-legacy.c: Remove file. | |
1788 | ||
1789 | * config/alpha/alpha-linux.mt (TDEPFILES): Remove solib-legacy.o. | |
1790 | * config/arm/linux.mt (TDEPFILES): Likewise. | |
1791 | * config/i386/i386gnu.mh (NATDEPFILES): Likewise. | |
1792 | * config/ia64/linux.mt (TDEPFILES): Likewise. | |
1793 | * config/m32r/linux.mt (TDEPFILES): Likewise. | |
1794 | * config/powerpc/linux.mt (TDEPFILES): Likewise. | |
1795 | * config/s390/s390.mt (TDEPFILES): Likewise. | |
1796 | ||
1797 | * alpha-linux-tdep.c (alpha_linux_init_abi): Call | |
1798 | set_solib_svr4_fetch_link_map_offsets. | |
1799 | * i386gnu-tdep.c (i386gnu_init_abi): Likewise. | |
1800 | * ia64-linux-tdep.c (ia64_linux_init_abi): Likewise. | |
1801 | ||
1802 | * i386gnu-tdep.c: Include "solib-svr4.h". | |
1803 | * Makefile.in: Update dependencies. | |
1804 | ||
59215afb UW |
1805 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
1806 | ||
1807 | * i386-nto-tdep.c: Include "solib.h". | |
1808 | (i386nto_init_abi): Use set_solib_ops instead of overwriting | |
1809 | current_target_so_ops members. | |
1810 | * solist.h (TARGET_SO_RELOCATE_SECTION_ADDRESSES): Remove. | |
1811 | (TARGET_SO_FIND_AND_OPEN_SOLIB): Remove. | |
1812 | (TARGET_SO_IN_DYNSYM_RESOLVE_CODE): Remove. | |
1813 | * Makefile.in: Update dependencies. | |
1814 | ||
8d465389 UW |
1815 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
1816 | ||
1817 | * arm-wince-tdep.c: Include "solib.h" and "solib-target.h". | |
1818 | (arm_wince_init_abi): Call set_solib_ops. | |
1819 | * i386-cygwin-tdep.c: Include "solib.h" and "solib-target.h". | |
1820 | (i386_cygwin_init_abi): Call set_solib_ops. | |
1821 | * solib-target.c: Include "solib-target.h". | |
1822 | (solib_target_so_ops): Make global. | |
1823 | (_initialize_solib_target): Do not set current_target_so_ops. | |
1824 | * solib-target.h: New file. | |
1825 | * Makefile.in: Update dependencies. | |
1826 | ||
734598d9 UW |
1827 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
1828 | ||
1829 | * mips-irix-tdep.c: Include "gdb_string.h", "solib.h", "solib-irix.h". | |
1830 | (mips_irix_init_abi): Call set_solib_ops. | |
1831 | * solib-irix.c: Include "solib.h" and "solib-irix.h". | |
1832 | (irix_so_ops): Make global. | |
1833 | (_initialize_irix_solib): Do not set current_target_so_ops. | |
1834 | * solib-irix.h: New file. | |
1835 | * Makefile.in: Update dependencies. | |
1836 | ||
d542061a UW |
1837 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
1838 | ||
1839 | * configure.tgt: Remove hppa*64*-*-hpux11* special case. | |
1840 | * config/pa/hppa64.mt: Delete file. | |
1841 | * config/pa/hppahpux.mt (MT_CFLAGS): Remove. | |
1842 | (TDEPFILES): Move somread.o to ... | |
1843 | * config/pa/hpux.mh (NATDEPFILES): ... here. | |
1844 | ||
1845 | * configure.ac: Add check for elf_hp.h header. | |
1846 | Search libdl and libxpdl for dlgetmodinfo. | |
1847 | * config.in, configure: Regenerate. | |
1848 | * solib-pa64.c: Conditionalize compilation on #ifdef HAVE_ELF_HP_H | |
1849 | instead of #ifndef PA_SOM_ONLY. Include "solib.h". | |
1850 | (pa64_solib_select): Take gdbarch instead of tdep argument. Call | |
1851 | set_solib_ops instead of modifying current_target_so_ops. | |
1852 | * solib-pa64.h (pa64_solib_select): Update prototype. | |
1853 | * solib-som.c: Remove include of "som.h". Include "solib.h". | |
1854 | (som_solib_select): Take gdbarch instead of tdep argument. Call | |
1855 | set_solib_ops instead of modifying current_target_so_ops. | |
1856 | * solib-som.h (som_solib_select): Update prototype. | |
1857 | * hppa-hpux-tdep.c (hppa_hpux_som_init_abi): Pass gdbarch instead | |
1858 | of tdep to som_solib_select call. | |
1859 | (hppa_hpux_elf_init_abi): Pass gdbarch instead of tdep to | |
1860 | pa64_solib_select call. | |
1861 | * Makefile.in: Update dependencies. | |
1862 | ||
917630e4 UW |
1863 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
1864 | ||
1865 | * frv-tdep.c: Include "solib.h". | |
1866 | (frv_gdbarch_init): Call set_solib_ops. | |
1867 | * frv-tdep.h (struct target_so_ops): Add forward reference. | |
1868 | (frv_so_ops): Add extern declaration. | |
1869 | * solib-frv.c (frv_so_ops): Make global. | |
1870 | (_initialize_frv_solib): Do not set current_target_so_ops. | |
1871 | * Makefile.in: Update dependencies. | |
1872 | ||
e8a92f7b UW |
1873 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
1874 | ||
1875 | * solib.c (solib_global_lookup): Use solib_ops instead of global | |
1876 | current_target_so_ops. | |
1877 | ||
8ff7bac7 UW |
1878 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
1879 | ||
1880 | * config/frv/frv.mt (DEPRECATED_TM_FILE): Remove. | |
1881 | * config/frv-tm-frv.h: Delete file. | |
1882 | ||
523c4513 DJ |
1883 | 2007-10-24 Daniel Jacobowitz <dan@codesourcery.com> |
1884 | ||
1885 | * NEWS: Mention gdbserver support for non-libthread_db operation. | |
1886 | ||
83acabca DJ |
1887 | 2007-10-24 Daniel Jacobowitz <dan@codesourcery.com> |
1888 | ||
1889 | * amd64-tdep.c (amd64_convert_register_p): Delete. | |
1890 | (amd64_init_abi): Use i387_convert_register_p. | |
1891 | * alpha-tdep.c (alpha_convert_register_p): Return zero for | |
1892 | eight byte types. | |
1893 | (alpha_register_to_value, alpha_value_to_register): Do not handle | |
1894 | eight byte types. | |
1895 | * i386-tdep.c (i386_convert_register_p): Use i387_convert_register_p. | |
1896 | * i387-tdep.c (i387_convert_register_p): New. | |
1897 | (i387_register_to_value, i387_value_to_register): Update comments. | |
1898 | * i387-tdep.h (i387_convert_register_p): Declare. | |
1899 | * ia64-tdep.c (ia64_convert_register_p): Return zero for | |
1900 | builtin_type_ia64_ext. | |
1901 | (ia64_gdbarch_init): Do not initialize builtin_type_ia64_ext here. | |
1902 | (_initialize_ia64_tdep): Initialize builtin_type_ia64_ext here. | |
1903 | * m68k-tdep.c (m68k_convert_register_p): Return zero for | |
1904 | builtin_type_m68881_ext. | |
1905 | (m68k_register_to_value, m68k_value_to_register): Update comments. | |
1906 | ||
24bf05ac DJ |
1907 | 2007-10-24 Nathan Sidwell <nathan@codesourcery.com> |
1908 | ||
1909 | * target-memory.c (claim_memory): Propagate baton for split memory | |
1910 | requests. | |
1911 | ||
e71c308d DJ |
1912 | 2007-10-24 Pedro Alves <pedro_alves@portugalmail.pt> |
1913 | ||
1914 | PR gdb/2341 | |
1915 | * sol-thread.c (sol_thread_fetch_registers): Work around gcc 3.4 | |
1916 | alias warning bug. | |
1917 | ||
51432cca CES |
1918 | 2007-10-24 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
1919 | ||
1920 | * symtab.c (find_line_symtab): scan through psymtabs | |
1921 | when exact_match is zero. | |
1922 | ||
3d5f6d12 DJ |
1923 | 2007-10-23 Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
1924 | ||
1925 | * mips-tdep.c (LL_OPCODE, LLD_OPCODE, SC_OPCODE, SCD_OPCODE): Define. | |
1926 | (deal_with_atomic_sequence): New. | |
1927 | (mips_software_single_step): Use it. | |
1928 | ||
7b3200f9 DJ |
1929 | 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com> |
1930 | ||
1931 | PR gdb/2336 | |
1932 | * configure.ac: Modify $LIBINTL before the BFD check. | |
1933 | * configure: Regenerated. | |
1934 | ||
89ba75b1 JB |
1935 | 2007-10-23 Joel Brobecker <brobecker@adacore.com> |
1936 | ||
1937 | * buildsym.c (free_pending_blocks): Remove commented-out code. | |
1938 | (make_blockvector): Likewise. Re-use free_pending_blocks. | |
1939 | (end_symtab): Remove commented-out code. | |
1940 | ||
57ee890f DJ |
1941 | 2007-10-22 Daniel Jacobowitz <dan@codesourcery.com> |
1942 | ||
1943 | * top.c (command_loop): Fix output for shrinkage. | |
1944 | ||
44742d57 DJ |
1945 | 2007-10-22 Daniel Jacobowitz <dan@codesourcery.com> |
1946 | ||
1947 | * cp-name-parser.y (exp1): Add & ( var ) as a reference expression. | |
1948 | (exp): Remove and document function-like casts. | |
1949 | ||
f88e9fd3 DJ |
1950 | 2007-10-22 Daniel Jacobowitz <dan@codesourcery.com> |
1951 | ||
1952 | * cp-support.c: Include "safe-ctype.h". | |
1953 | (cp_already_canonical): New function. | |
1954 | (cp_canonicalize_string): Use it. Return NULL for already canonical | |
1955 | strings. | |
1956 | (mangled_name_to_comp): Update call to cp_demangled_name_to_comp. | |
1957 | (cp_func_name, remove_params): Likewise. | |
1958 | (cp_find_first_component_aux): Use ISSPACE. | |
1959 | * cp-support.h (cp_demangled_name_to_comp): Correct comment. Remove | |
1960 | MEMORY_P argument. | |
1961 | * cp-name-parser.y (ALLOC_CHUNK): Define. | |
1962 | (struct demangle_info): Add PREV and NEXT. Increase the size of | |
1963 | COMPS. | |
1964 | (d_grab): Convert to a function. | |
1965 | (allocate_info): Rewrite. | |
1966 | (cp_demangled_name_to_comp): Remove MEMORY argument. Do not use | |
1967 | strlen. Update call to allocate_info. Do not free it on failure. | |
1968 | (main): Update calls to cp_demangled_name_to_comp. | |
1969 | * Makefile.in (cp-support.o): Update. | |
1970 | ||
e9a4730f UW |
1971 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
1972 | ||
1973 | * std-regs.c (value_of_builtin_frame_fp_reg) | |
1974 | value_of_builtin_frame_pc_reg, value_of_builtin_frame_sp_reg) | |
1975 | value_of_builtin_frame_ps_reg): Use get_frame_arch to get at the | |
1976 | current architecture by frame_info. | |
1977 | ||
6bcde365 UW |
1978 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
1979 | ||
1980 | * reggroups.c (default_register_reggroup_p): Replace current_gdbarch | |
1981 | by gdbarch. | |
1982 | ||
a4bd449d UW |
1983 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
1984 | ||
1985 | * infcmd.c (default_print_registers_info, print_return_value) | |
1986 | (print_vector_info, print_float_info): Replace current_gdbarch by | |
1987 | gdbarch. | |
1988 | (registers_info): Use get_frame_arch to get at the current | |
1989 | architecture by frame_info. | |
1990 | ||
e071d1f6 UW |
1991 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
1992 | ||
1993 | * i387-tdep.c (i387_collect_fsave, i387_collect_fxsave): Use | |
1994 | get_regcache_arch to get at the current architecture by regcache. | |
1995 | ||
f8d29908 UW |
1996 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
1997 | ||
1998 | * target.c (debug_print_register): Use get_regcache_arch to get at the | |
1999 | current architecture by regcache. | |
2000 | ||
39cbfefa DJ |
2001 | 2007-10-21 Daniel Jacobowitz <dan@codesourcery.com> |
2002 | ||
2003 | * dwarf2read.c (read_file_scope): Add a comment. | |
2004 | (dwarf2_add_field, dwarf2_add_member_fn, read_structure_type) | |
2005 | (read_enumeration_type, process_enumeration_scope, read_array_type) | |
2006 | (read_typedef, read_base_type, read_subrange_type) | |
2007 | (read_unspecified_type): Use dwarf2_name. | |
2008 | ||
fe3e1990 DJ |
2009 | 2007-10-21 Daniel Jacobowitz <dan@codesourcery.com> |
2010 | ||
2011 | * coffread.c (coff_symfile_finish): Call dwarf2_free_objfile. | |
2012 | * dwarf2read.c (dwarf2_free_objfile): New. | |
2013 | * elfread.c (elf_symfile_finish): Call dwarf2_free_objfile. | |
2014 | * symfile.h (dwarf2_free_objfile): Declare. | |
2015 | ||
261224b2 JB |
2016 | 2007-10-21 Joel Brobecker <brobecker@adacore.com> |
2017 | ||
2018 | * hppa-hpux-nat.c (hppa_hpux_store_register): Add missing semi-colon. | |
2019 | ||
9274a07c LM |
2020 | 2007-10-21 Luis Machado <luisgpm@br.ibm.com> |
2021 | ||
2022 | * rs6000-tdep.c (ppc_dwarf2_frame_init_reg): New function. | |
2023 | * (rs6000_gdbarch_init): Install ppc_dwarf2_frame_init_reg as | |
2024 | default dwarf2_frame_set_init_reg function. | |
2025 | ||
430ebac9 PA |
2026 | 2007-10-21 Pedro Alves <pedro_alves@portugalmail.pt> |
2027 | ||
2028 | * NEWS: Mention native MinGW configuration. | |
2029 | ||
97030eea UW |
2030 | 2007-10-19 Ulrich Weigand <uweigand@de.ibm.com> |
2031 | ||
2032 | * gdbarch.sh: Remove "macro" column of input table. Remove handling | |
2033 | of "macro" column throughout the file. Remove (empty) "macro" entry | |
2034 | of all gdbarch functions. | |
2035 | ||
203c3895 UW |
2036 | 2007-10-19 Ulrich Weigand <uweigand@de.ibm.com> |
2037 | ||
2038 | * gdbarch.sh (sofun_address_maybe_missing): New gdbarch variable. | |
2039 | * gdbarch.c, gdbarch.h: Regenerate. | |
2040 | * dbxread.c (find_stab_function_addr): Define unconditionally. | |
2041 | (read_dbx_symtab): Use gdbarch_sofun_address_maybe_missing | |
2042 | instead of SOFUN_ADDRESS_MAYBE_MISSING. | |
2043 | (end_psymtab): Likewise. | |
2044 | (process_one_symbol): Likewise. | |
2045 | * mdebugread.c (parse_partial_symbols): Likewise. | |
2046 | ||
2047 | * symtab.h (struct minimal_symbol): Always define "filename" member. | |
2048 | * elfread.c (elf_symtab_read): Use msym->filename unconditionally. | |
2049 | * minsyms.c (lookup_minimal_symbol): Likewise. | |
2050 | * symmisc.c (dump_msymbols): Likewise. | |
2051 | ||
2052 | * config/i386/i386sol2.mt (DEPRECATED_TM_FILE): Remove. | |
2053 | * config/i386/linux.mt (DEPRECATED_TM_FILE): Remove. | |
2054 | * config/i386/tm-i386sol2.h: Remove file. | |
2055 | * config/i386/tm-linux.h: Remove file. | |
2056 | * i386-linux-tdep.c (i386_linux_init_abi): Add call to | |
2057 | set_gdbarch_sofun_address_maybe_missing. | |
2058 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
2059 | ||
2060 | * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Remove. | |
2061 | * config/powerpc/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
2062 | * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Remove. | |
2063 | * config/powerpc/ppc-eabi.mt (DEPRECATED_TM_FILE): Remove. | |
2064 | * config/powerpc/ppc-sim.mt (DEPRECATED_TM_FILE): Remove. | |
2065 | * config/powerpc/tm-ppc-eabi.h: Remove file. | |
2066 | * rs6000-tdep.c (rs6000_gdbarch_init): Add call to | |
2067 | set_gdbarch_sofun_address_maybe_missing. | |
2068 | ||
2069 | * config/sparc/sol2-64.mt (DEPRECATED_TM_FILE): Remove. | |
2070 | * config/sparc/sol2.mt (DEPRECATED_TM_FILE): Remove. | |
2071 | * config/sparc/tm-sol2.h: Remove file. | |
2072 | * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Add call to | |
2073 | set_gdbarch_sofun_address_maybe_missing. | |
2074 | * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Likewise. | |
2075 | ||
149ad273 UW |
2076 | 2007-10-19 Ulrich Weigand <uweigand@de.ibm.com> |
2077 | ||
2078 | * gdbarch.sh (static_transform_name): New gdbarch callback. | |
2079 | * gdbarch.c, gdbarch.h: Regenerate. | |
2080 | * dbxread.c (read_dbx_symtab): Use gdbarch_static_transform_name | |
2081 | instead of STATIC_TRANSFORM_NAME. | |
2082 | * mdebugread.c (parse_partial_symbols): Likewise. | |
2083 | * stabsread.c (define_symbol): Likewise. | |
2084 | * xcoffread.c (scan_xcoff_symtab): Likewise. | |
2085 | ||
2086 | * config/i368/tm-i386sol2.h (STATIC_TRANSFORM_NAME): Remove. | |
2087 | (IS_STATIC_TRANSFORM_NAME): Remove. | |
2088 | * i386-tdep.c (sunpro_static_transform_name): Remove, move to ... | |
2089 | * i386-sol2-tdep.c (i386_sol2_static_transform_name): ... here. | |
2090 | (i386_sol2_init_abi): Install it. | |
2091 | ||
2092 | * config/sparc/tm-sol2.h (STATIC_TRANSFORM_NAME): Remove. | |
2093 | (IS_STATIC_TRANSFORM_NAME): Remove. | |
2094 | * sparc-tdep.c (sparc_stabs_unglobalize_name): Remove, move to ... | |
2095 | * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): ... here. | |
2096 | (sparc32_sol2_init_abi): Install it. | |
2097 | * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Likewise. | |
2098 | * sparc-tdep.h (sparc_sol2_static_transform_name): Add prototype. | |
2099 | ||
ba32f989 DJ |
2100 | 2007-10-18 Daniel Jacobowitz <dan@codesourcery.com> |
2101 | ||
2102 | * mips-tdep.c (mips_xfer_register): Take a gdbarch argument. | |
2103 | (mips_n32n64_return_value, mips_o32_return_value) | |
2104 | (mips_o64_return_value): Update calls to mips_xfer_register. | |
2105 | ||
11411de3 DJ |
2106 | 2007-10-17 Daniel Jacobowitz <dan@codesourcery.com> |
2107 | ||
2108 | * frame.c (frame_unwind_unsigned_register): Delete. | |
2109 | (frame_sp_unwind): Use frame_unwind_register_unsigned instead. | |
2110 | * frame.h (frame_unwind_unsigned_register): Delete prototype. | |
2111 | ||
2112 | * alpha-linux-tdep.c, alpha-mdebug-tdep.c, alpha-tdep.c, | |
2113 | avr-tdep.c, cris-tdep.c, frv-tdep.c, m68hc11-tdep.c, mn10300-tdep.c, | |
2114 | mt-tdep.c: Replace frame_unwind_unsigned_register with | |
2115 | frame_unwind_register_unsigned. | |
2116 | ||
10325bc5 PA |
2117 | 2007-10-16 Pedro Alves <pedro_alves@portugalmail.pt> |
2118 | ||
2119 | * config/i386/mingw.mh, config/i386/mingw.mt: New files. | |
2120 | * configure.tgt (i[34567]86-*-mingw32*): Set gdb_target = mingw. | |
2121 | * win32-nat.c: Only include cygwin.h on Cygwin host. Don't | |
2122 | include procfs.h. | |
2123 | (cygwin_load_start, cygwin_load_end, cygwin_exceptions): Disable | |
2124 | if not building on Cygwin. | |
2125 | (win32_make_so, handle_output_debug_string, handle_exception) | |
2126 | (do_initial_win32_stuff): Wrap Cygwin specific code in __CYGWIN__. | |
2127 | (win32_attach): Only fallback to Cygwin pids if building on | |
2128 | Cygwin. | |
2129 | (win32_pid_to_exec_file): Disable Cygwin specific code, if not | |
2130 | building on Cygwin. | |
2131 | (win32_create_inferior): Disable starting the inferior through a | |
2132 | shell, environment var processing and tty handling if not building | |
2133 | on Cygwin. | |
2134 | (cygwin_pid_to_str): Rename to ... | |
2135 | (win32_pid_to_str): ... this. | |
2136 | (init_win32_ops): Update use of win32_pid_to_str. Disable "shell" | |
2137 | and "cygwin-exceptions" commands if not building on Cygwin. | |
2138 | ||
844781a1 GM |
2139 | 2007-10-16 Gaius Mulley <gaius@glam.ac.uk> |
2140 | ||
2141 | * doc/gdb.texinfo: Add TSIZE definition, removed | |
2142 | statement about unbounded arrays being unimplemented. | |
2143 | * m2-valprint.c (m2_print_array_contents): New function. | |
2144 | (m2_print_unbounded_array): New function. | |
2145 | (m2_print_array_contents): New function. | |
2146 | * m2-typeprint.c (m2_unbounded_array): New function. | |
2147 | (m2_is_unbounded_array): New function. | |
2148 | (m2_print_type): Test for unbounded array when walking | |
2149 | across structs. | |
2150 | * m2-lang.h: Added extern m2_is_unbounded_array. | |
2151 | * m2-lang.c (evaluate_subexp_modula2): New function. | |
2152 | (exp_descriptor_modula2): New structure. | |
2153 | (m2_language_defn): Use exp_descriptor_modula2. | |
2154 | * m2-exp.y: Added TSIZE and binary subscript. | |
2155 | ||
62c018fe DJ |
2156 | 2007-10-16 Daniel Jacobowitz <dan@codesourcery.com> |
2157 | ||
2158 | * mi/mi-main.c (captured_mi_execute_command): Clear mi_error_message | |
2159 | after freeing it. | |
2160 | ||
9ffbf372 KB |
2161 | 2007-10-16 Kevin Buettner <kevinb@redhat.com> |
2162 | ||
2163 | * m32r-tdep.c (decode_prologue): Sign extend offset for | |
2164 | "addi sp, xx" case. | |
2165 | (m32r_frame_unwind_cache): Likewise. | |
2166 | ||
6a16c029 TJB |
2167 | 2007-10-15 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2168 | ||
2169 | * rs6000-tdep.c (skip_prologue): Restore comment with | |
2170 | function description to its proper place. | |
2171 | ||
d71340b8 DJ |
2172 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
2173 | ||
2174 | * NEWS: Mention gdbserver PowerPC improvements. | |
2175 | ||
30ed0a8f DJ |
2176 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
2177 | ||
2178 | * features/Makefile (WHICH): Add PowerPC register definitions. | |
2179 | (rs6000/powerpc-32-expedite, rs6000/powerpc-e500-expedite) | |
2180 | (rs6000/powerpc-64-expedite): New macros. | |
2181 | ($(outdir)/%.dat): Handle subdirectories. | |
2182 | * regformats/rs6000/powerpc-32.dat, regformats/rs6000/powerpc-64.dat, | |
2183 | regformats/rs6000/powerpc-e500.dat: New generated files. | |
2184 | ||
310a98e1 DJ |
2185 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
2186 | ||
2187 | * ppc-linux-nat.c (ppc_linux_read_description): New. | |
2188 | (_initialize_ppc_linux_nat): Set to_read_description. | |
2189 | * ppc-tdep.h (tdesc_powerpc_e500): Declare. | |
2190 | ||
7cc46491 DJ |
2191 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
2192 | ||
2193 | * NEWS: Document target described register support for PowerPC. | |
2194 | * ppc-tdep.h: Remove ppc_spr constants. | |
2195 | (struct gdbarch_tdep): Remove regs, ppc_sr0_regnum, and | |
2196 | ppc_builtin_type_vec128 members. | |
2197 | (PPC_R0_REGNUM, PPC_F0_REGNUM, PPC_PC_REGNUM, PPC_MSR_REGNUM) | |
2198 | (PPC_CR_REGNUM, PPC_LR_REGNUM, PPC_CTR_REGNUM, PPC_XER_REGNUM) | |
2199 | (PPC_FPSCR_REGNUM, PPC_MQ_REGNUM, PPC_SPE_UPPER_GP0_REGNUM) | |
2200 | (PPC_SPE_ACC_REGNUM, PPC_SPE_FSCR_REGNUM, PPC_VR0_REGNUM) | |
2201 | (PPC_VSCR_REGNUM, PPC_VRSAVE_REGNUM, PPC_NUM_REGS): New constants. | |
2202 | * rs6000-tdep.c: Include preparsed descriptions. | |
2203 | (init_sim_regno_table): Do not iterate over pseudo registers. | |
2204 | Look up segment registers by name. Use sim_spr_register_name | |
2205 | for SPRs. | |
2206 | (rs6000_register_sim_regno): Call init_sim_regno_table here. | |
2207 | (rs6000_builtin_type_vec128): Delete. | |
2208 | (rs6000_register_name): Only handle SPE pseudo registers and upper | |
2209 | halves. Call tdesc_register_name for everything else. | |
2210 | (rs6000_register_type): Delete. Replace with... | |
2211 | (rs6000_pseudo_register_type): ...this new function. Only handle | |
2212 | SPE pseudo registers. | |
2213 | (rs6000_register_reggroup_p): Delete. Replace with... | |
2214 | (rs6000_pseudo_register_reggroup_p): ...this new function. Only | |
2215 | handle SPE pseudo registers. | |
2216 | (rs6000_convert_register_p): Use ppc_fp0_regnum instead of | |
2217 | "struct reg". | |
2218 | (rs6000_register_to_value, rs6000_value_to_register): Remove check | |
2219 | of reg->fpr. | |
2220 | (e500_register_reggroup_p): Delete. | |
2221 | (STR, R, R4, R8, R16, F, P8, R32, R64, R0, A4, S, S4, SN4, S64) | |
2222 | (COMMON_UISA_REGS, PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS) | |
2223 | (PPC_SEGMENT_REGS, PPC_OEA_SPRS, PPC_ALTIVEC_REGS, PPC_SPE_GP_REGS) | |
2224 | (PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): Delete macros. | |
2225 | (registers_powerpc, registers_403, registers_403GC, registers_505) | |
2226 | (registers_860, registers_601, registers_602, registers_603) | |
2227 | (registers_604, registers_750, registers_7400, registers_e500): Delete | |
2228 | variables. | |
2229 | (struct variant): Delete nregs, npregs, num_tot_regs, and regs. Add | |
2230 | tdesc. | |
2231 | (tot_num_registers, num_registers, num_pseudo_registers): Delete. | |
2232 | (variants): Delete outdated comment. Use standard target descriptions | |
2233 | instead of "struct reg" arrays. | |
2234 | (init_variants): Delete. | |
2235 | (rs6000_gdbarch_init): Do not guess word size from the BFD | |
2236 | architecture if we have a target description. Select a variant | |
2237 | before creating a new architecture. Use the variant's target | |
2238 | description if the target did not define a register layout. | |
2239 | Validate target-supplied registers. Reject mismatches. Use | |
2240 | fixed register numbers and new constants instead of magic | |
2241 | numbers. Call set_gdbarch_ps_regnum. Call tdesc_use_registers. | |
2242 | (_initialize_rs6000_tdep): Initialize the preparsed target | |
2243 | descriptions. | |
2244 | * target-descriptions.c (tdesc_predefined_types): Add int128 and | |
2245 | uint128. | |
2246 | (tdesc_find_register_early): New function. | |
2247 | (tdesc_numbered_register): Use it. | |
2248 | (tdesc_register_size): New function. | |
2249 | (tdesc_use_registers): Take a target_desc argument. Do not use | |
2250 | gdbarch_target_desc. | |
2251 | * target-descriptions.h (tdesc_use_registers): Update prototype | |
2252 | and comment. | |
2253 | (tdesc_register_size): New prototype. | |
2254 | * Makefile.in (powerpc_32_c, powerpc_403_c, powerpc_403gc_c) | |
2255 | (powerpc_505_c, powerpc_601_c, powerpc_602_c, powerpc_603_c) | |
2256 | (powerpc_604_c, powerpc_64_c, powerpc_7400_c, powerpc_750_c) | |
2257 | (powerpc_860_c, powerpc_e500_c, rs6000_c): New macros. | |
2258 | (rs6000-tdep.o): Update. | |
2259 | * arm-tdep.c (arm_gdbarch_init): Update call to tdesc_use_registers. | |
2260 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
2261 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
2262 | ||
324300c0 DJ |
2263 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
2264 | ||
2265 | * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c, | |
2266 | features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c, | |
2267 | features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c, | |
2268 | features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c, | |
2269 | features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c, | |
2270 | features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c, | |
2271 | features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: New | |
2272 | generated files. | |
2273 | ||
8dc35b87 DJ |
2274 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
2275 | ||
2276 | * features/rs6000/power-altivec.xml, features/rs6000/power-core.xml, | |
2277 | features/rs6000/power-fpu.xml, features/rs6000/power-oea.xml, | |
2278 | features/rs6000/power-spe.xml, features/rs6000/power64-core.xml: New | |
2279 | feature descriptions for standard PowerPC register sets. | |
2280 | ||
2281 | * features/rs6000/powerpc-32.xml, features/rs6000/powerpc-403.xml, | |
2282 | features/rs6000/powerpc-403gc.xml, features/rs6000/powerpc-505.xml, | |
2283 | features/rs6000/powerpc-601.xml, features/rs6000/powerpc-602.xml, | |
2284 | features/rs6000/powerpc-603.xml, features/rs6000/powerpc-604.xml, | |
2285 | features/rs6000/powerpc-64.xml, features/rs6000/powerpc-7400.xml, | |
2286 | features/rs6000/powerpc-750.xml, features/rs6000/powerpc-860.xml, | |
2287 | features/rs6000/powerpc-e500.xml, features/rs6000/rs6000.xml: New | |
2288 | target descriptions for PowerPC processors. | |
2289 | ||
81adfced DJ |
2290 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
2291 | ||
2292 | * target-descriptions.c (tdesc_predefined_types): New. | |
2293 | (tdesc_named_type): Use it. | |
2294 | (tdesc_type_id, maint_print_c_tdesc_cmd): New functions. | |
2295 | (_intialize_target_descriptions): Register "maint print c-tdesc". | |
2296 | * features/Makefile (XMLTOC, CFILES, GDB): New macros. | |
2297 | (cfiles, %.c): New rules. | |
2298 | * features/arm-with-iwmmxt.c, features/mips-linux.c, | |
2299 | features/mips64-linux.c: New generated files. | |
2300 | ||
2301 | * arm-linux-nat.c: Include preparsed description instead of | |
2302 | "xml-support.h". | |
2303 | (super_xfer_partial, arm_linux_xfer_partial): Remove. | |
2304 | (arm_linux_read_description): New function. | |
2305 | (_initialize_arm_linux_nat): Set to_read_description instead of | |
2306 | to_xfer_partial. Initialize preparsed description. | |
2307 | * config/arm/linux.mh (TDEP_XML): Delete. | |
2308 | * mips-linux-nat.c: Include preparsed descriptions instead of | |
2309 | "xml-support.h". | |
2310 | (super_xfer_partial, mips_linux_xfer_partial): Remove. | |
2311 | (mips_linux_read_description): New function. | |
2312 | (_initialize_mips_linux_nat): Set to_read_description instead of | |
2313 | to_xfer_partial. Initialize preparsed description. | |
2314 | * config/mips/linux.mh (TDEP_XML): Delete. | |
2315 | * Makefile.in (XMLFILES): Remove $(TDEP_XML). | |
2316 | (features_headers, arm_with_iwmmxt_c, mips_linux_c) | |
2317 | (mips64_linux_c): New macros. | |
2318 | (arm-linux-nat.o, mips-linux-nat.o): Update. | |
2319 | ||
0dfdb8ba PM |
2320 | 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr> |
2321 | ||
2322 | * cp-abi.c (set_cp_abi_as_auto_default): ARI fix: | |
2323 | Replace xasprintf by xstrprintf. | |
2324 | symfile-mem.c (add_vsyscall_page): Ditto. | |
2325 | ||
2685572f UW |
2326 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2327 | ||
2328 | * ia64-linux-nat.c (ia64_register_addr): Add gdbarch parameter, | |
2329 | replacing use of global current_gdbarch. | |
2330 | (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise. | |
2331 | (ia64_linux_fetch_register, ia64_linux_store_register): Update callers. | |
2332 | ||
2333 | * ia64-tdep.c (SIGCONTEXT_REGISTER_ADDRESS): Remove macro. | |
2334 | (ia64_sigtramp_frame_init_saved_regs): Add next_frame parameter, | |
2335 | replace uses of SIGCONTEXT_REGISTER_ADDRESS. | |
2336 | (ia64_sigtramp_frame_cache): Update caller. | |
2337 | ||
c1874924 UW |
2338 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2339 | ||
2340 | * gdbarch.sh (deprecated_use_struct_convention): Remove. | |
2341 | (extract_return_value, store_return_value): Remove. | |
2342 | (return_value): Remove default implementation. | |
2343 | * gdbarch.c, gdbarch.h: Regenerate. | |
2344 | ||
2345 | * stack.c (return_command): Remove compatibility hack. | |
2346 | * arch-utils.c (legacy_return_value): Remove. | |
2347 | * arch-utils.h (legacy_return_value): Likewise. | |
2348 | ||
2349 | * arch-utils.c (always_use_struct_convention): Remove. | |
2350 | * arch-utils.h (always_use_struct_convention): Likewise. | |
2351 | * value.c (generic_use_struct_convention): Remove. | |
2352 | * defs.h (generic_use_struct_convention): Likewise. | |
2353 | ||
4c8b6ae0 UW |
2354 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2355 | ||
2356 | * avr-tdep.c (avr_return_value): New function. | |
2357 | (avr_gdbarch_init): Call set_gdbarch_return_value instead of | |
2358 | set_gdbarch_extract_return_value. | |
2359 | ||
2360 | * fvr-tdep.c (frv_return_value): New function. | |
2361 | (frv_gdbarch_init): Call set_gdbarch_return_value instead of | |
2362 | set_gdbarch_extract_return_value, set_gdbarch_store_return_value, | |
2363 | and set_gdbarch_deprecated_use_struct_convention. | |
2364 | ||
2365 | * ia64-tdep.c (ia64_use_struct_convention): Make static. | |
2366 | Add check for structure, union, or array types. | |
2367 | (ia64_extract_return_value): Make static. | |
2368 | (ia64_store_return_value): Make static. Support multi-word values. | |
2369 | (ia64_return_value): New function. | |
2370 | (ia64_gdbarch_init): Call set_gdbarch_return_value instead of | |
2371 | set_gdbarch_extract_return_value, set_gdbarch_store_return_value, | |
2372 | and set_gdbarch_deprecated_use_struct_convention. | |
2373 | ||
899cff7a JB |
2374 | 2007-10-12 Joel Brobecker <brobecker@adacore.com> |
2375 | ||
2376 | * solib-target.c (solib_target_parse_libraries) | |
2377 | [HAVEHAVE_LIBEXPAT not defined]: Fix thinko in return type. | |
2378 | ||
d41ebd5d JB |
2379 | 2007-10-12 Jim Blandy <jimb@codesourcery.com> |
2380 | ||
2381 | * serial.h (struct serial_ops): Document read_prim to return zero | |
2382 | at EOF. | |
2383 | * ser-base.c (do_ser_base_readchar): Return SERIAL_EOF when | |
2384 | read_prim returns zero, not SERIAL_TIMEOUT. | |
2385 | ||
62f6180c UW |
2386 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2387 | ||
2388 | * alpha-mdebug-tdep.c: Include "gdb_string.h". | |
2389 | (find_proc_desc): Add fix-up code for setjmp procedure descriptor. | |
2390 | * mdebugread.c (parse_procedure): Remove setjmp fix-up code. | |
2391 | * Makefile.in (alpha-mdebug-tdep.o): Update dependencies. | |
2392 | ||
2393 | * config/alpha/alpha.mt (DEPRECATED_TM_FILE): Remove. | |
2394 | * config/alpha/alpha-linux.mt (DEPRECATED_TM_FILE): Remove. | |
2395 | * config/alpha/alpha-osf1.mt (DEPRECATED_TM_FILE): Remove. | |
2396 | * config/alpha/fbsd.mt (DEPRECATED_TM_FILE): Remove. | |
2397 | * config/alpha/tm-alpha.h: Remove file. | |
2398 | ||
ee53e872 UW |
2399 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2400 | ||
2401 | * breakpoint.c (breakpoint_sals_to_pc): Do not check for | |
2402 | DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE. | |
2403 | ||
2404 | * config/pa/tm-hppa.h: Delete file. | |
2405 | * config/pa/hppa64.mt: Do not set DEPRECATED_TM_FILE. | |
2406 | * config/pa/hppahpux.mt: Likewise. | |
2407 | * config/pa/hppa.mt: Likewise. | |
2408 | * config/pa/linux.mt: Likewise. | |
2409 | * hppa-tdep.c (hppa_pc_requires_run_before_use): Delete. | |
2410 | ||
3d5e6107 UW |
2411 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2412 | ||
2413 | * config/arm/nm-nbsdaout.h: Remove file. | |
2414 | * config/nm-nbsdaout.h: Likewise. | |
2415 | * config/nm-nbsd.h: Likewise. | |
2416 | ||
82585c72 UW |
2417 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2418 | ||
2419 | * block.h (struct block): Remove "gcc_compile_flag" member. | |
2420 | (BLOCK_GCC_COMPILED): Remove. | |
2421 | * block.c (allocate_block): Do not clear BLOCK_GCC_COMPILED. | |
2422 | * buildsym.c (finish_block): Do not set it. | |
2423 | * symmisc.c (dump_symtab_1): Do not dump it. | |
2424 | ||
2425 | * value.h (using_struct_return): Remove "gcc_p" argument. | |
2426 | * value.c (using_struct_return): Likewise. | |
2427 | * eval.c (evaluate_subexp_standard): Adapt callers. | |
2428 | * infcall.c (call_function_by_hand): Likewise. | |
2429 | * stack.c (return_command): Likewise. | |
2430 | * sparc-tdep.c (sparc32_push_dummy_code): Likewise. | |
2431 | ||
2432 | * gdbarch.sh (push_dummy_code): Remove "using_gcc" parameter. | |
2433 | * gdbarch.c, gdbarch.h: Regenerate. | |
2434 | * cris-tdep.c (cris_push_dummy_code): Adapt prototype. | |
2435 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Likewise. | |
2436 | * sparc-tdep.c (sparc32_push_dummy_code): Likewise. | |
2437 | * infcall.c (generic_push_dummy_code, push_dummy_code): Likewise. | |
2438 | (push_dummy_code, call_function_by_hand): Adapt callers. | |
2439 | ||
8f536afe UW |
2440 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2441 | ||
2442 | * infcmd.c (print_return_value): Remove STRUCT_RETURN argument. | |
2443 | (finish_command_continuation, finish_command): Adapt callers. | |
2444 | ||
f156e33b UW |
2445 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2446 | ||
2447 | * infcall.c (call_function_by_hand): Remove special handling | |
2448 | for HP aCC compiled code. | |
2449 | ||
f6e56ab3 UW |
2450 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2451 | ||
2452 | * cris-tdep.c (cris_push_dummy_call): Support arguments passed by | |
2453 | reference. Fix endianness bugs. | |
2454 | (cris_reg_struct_has_address): Remove. | |
2455 | (cris_gdbarch_init): Remove set_gdbarch_deprecated_reg_struct_has_addr | |
2456 | and set_gdbarch_deprecated_use_struct_convention calls. | |
2457 | ||
2458 | * gdbarch.sh (deprecated_reg_struct_has_addr): Remove. | |
2459 | * gdbarch.c, gdbarch.h: Regenerate. | |
2460 | * infcall.c (call_function_by_hand): Remove handling of | |
2461 | deprecated_reg_struct_has_addr. | |
2462 | ||
b4c291bb KH |
2463 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
2464 | Kazu Hirata <kazu@codesourcery.com> | |
2465 | ||
2466 | * breakpoint.c (do_enable_breakpoint): Delay enabling until after | |
2467 | checking watchpoint resources. | |
2468 | ||
56cf5405 KH |
2469 | 2007-10-11 Kazu Hirata <kazu@codesourcery.com> |
2470 | ||
2471 | * memattr.c (inaccessible_by_default): Change the initial | |
2472 | value to 1. | |
2473 | ||
3b016d57 DJ |
2474 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
2475 | ||
2476 | PR gdb/2280 | |
2477 | * coffread.c (read_one_sym): Check for read errors. | |
2478 | ||
e9efe249 UW |
2479 | 2007-10-11 Ulrich Weigand <uweigand@de.ibm.com> |
2480 | ||
2481 | * linux-nat.c (lin_lwp_attach_lwp): Use "Linux kernel 2.6.19" | |
2482 | instead of "Linux 2.6.19" in comment. | |
2483 | (linux_xfer_partial): Use "GNU/Linux target" instead of | |
2484 | "Linux target" in comment. | |
2485 | * m68klinux-tdep.c (m68k_linux_inferior_created): Likewise. | |
2486 | (m68k_linux_get_sigtramp_info): Likewise. | |
2487 | ||
b33682a7 DJ |
2488 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
2489 | ||
2490 | * MAINTAINERS (language support): List Joel and Paul as | |
2491 | Ada maintainers. | |
2492 | ||
35156bae DJ |
2493 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
2494 | ||
2495 | * dbxread.c (process_one_symbol): Remove VARIABLES_INSIDE_BLOCK | |
2496 | checks. | |
2497 | * config/arm/embed.mt, config/arm/linux.mt, config/arm/wince.mt: Do | |
2498 | not set DEPRECATED_TM_FILE. | |
2499 | * config/arm/tm-arm.h: Delete file. | |
2500 | ||
3d47173c LM |
2501 | 2007-10-11 Luis Machado <luisgpm@br.ibm.com> |
2502 | ||
2503 | * MAINTAINERS (Write After Approval): Add self. | |
2504 | ||
607ae575 DJ |
2505 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
2506 | ||
2507 | * buildsym.c (record_line): Remove empty lines followed by | |
2508 | end-of-sequence markers. | |
2509 | ||
b8d5e0ac KH |
2510 | 2007-10-11 Kazu Hirata <kazu@codesourcery.com> |
2511 | ||
2512 | * configure.tgt: Recognize fido-*-elf. | |
2513 | ||
86f26d2f | 2514 | 2007-10-10 Joel Brobecker <brobecker@adacore.com> |
2515 | ||
2516 | GDB 6.7 released. | |
2517 | ||
7500260a UW |
2518 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
2519 | ||
2520 | * stack.c (print_frame_args, frame_info, return_command): Use | |
2521 | get_regcache_arch or get_frame_arch to get at the current architecture | |
2522 | by regcache or by frame, respectively. | |
2523 | ||
8b164abb UW |
2524 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
2525 | ||
2526 | * rs6000-nat.c (fetch_register, store_register) | |
2527 | (rs6000_fetch_inferior_registers, rs6000_store_inferior_registers): Use | |
2528 | get_regcache_arch to get at the current architecture by regcache. | |
2529 | ||
2530 | * rs6000-tdep.c (rs6000_push_dummy_call, rs6000_return_value) | |
2531 | (rs6000_register_reggroup_p, e500_move_ev_registe, rs6000_unwind_pc) | |
2532 | (rs6000_unwind_dummy_id, rs6000_frame_cache, rs6000_dump_tdep): Replace | |
2533 | current_gdbarch by gdbarch. | |
2534 | (rs6000_skip_trampoline_code, rs6000_register_to_value) | |
2535 | (rs6000_value_to_register): Use get_frame_arch to get at the current | |
2536 | architecture by frame_info. | |
2537 | ||
e6d4f032 UW |
2538 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
2539 | ||
2540 | * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow): Use | |
2541 | get_regcache_arch to get at the current architecture by regcache. | |
2542 | ||
2543 | * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset) | |
2544 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Use | |
2545 | get_regcache_arch to get at the current architecture by regcache. | |
2546 | ||
2547 | * sparc64nbsd-nat. (sparc64nbsd_supply_gregset) | |
2548 | (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset) | |
2549 | (sparc64nbsd_collect_fpregset): Use get_regcache_arch to get at the | |
2550 | current architecture by regcache. | |
2551 | ||
2eb4d78b UW |
2552 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
2553 | ||
2554 | * remote-mips.c (mips_wait, mips_fetch_registers) | |
2555 | (mips_store_registers): Use get_regcache_arch to get at the | |
2556 | current architecture by regcache. | |
2557 | ||
2558 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_fill_reg) | |
2559 | (mipsnbsd_supply_fpreg, mipsnbsd_fill_fpreg): Use get_regcache_arch to | |
2560 | get at the current architecture by regcache. | |
2561 | (mipsnbsd_sigtramp_offset): Use get_frame_arch to get at the current | |
2562 | architecture by frame_info. | |
2563 | ||
2564 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers) | |
2565 | (mipsnbsd_store_inferior_registers): Use get_regcache_arch to get at | |
2566 | the current architecture by regcache. | |
2567 | ||
2568 | * mips-linux-tdep.c (mips_linux_get_longjmp_target) | |
2569 | (mips64_linux_get_longjmp_target, mips_linux_o32_sigframe_init) | |
2570 | (mips_linux_n32n64_sigframe_init): Use get_frame_arch to get at the | |
2571 | current architecture by frame_info. | |
2572 | (supply_32bit_reg, mips_supply_gregset, mips_fill_gregset) | |
2573 | (mips_supply_fpregset, mips_fill_fpregset, supply_64bit_reg) | |
2574 | (mips64_supply_gregset, mips64_fill_gregset, mips64_supply_fpregset) | |
2575 | (mips64_fill_fpregset, mips_linux_write_pc): Use get_regcache_arch to | |
2576 | get at the current architecture by regcache. | |
2577 | ||
2578 | * mips-linux-nat.c (mips_linux_register_addr) | |
2579 | (mips64_linux_register_addr): Replace current_gdbarch by gdbarch. | |
2580 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset) | |
2581 | (mips64_linux_regsets_fetch_registers) | |
2582 | (mips64_linux_regsets_store_registers): Use get_regcache_arch to get at | |
2583 | the current architecture by regcache. | |
2584 | ||
2585 | * mips64obsd-tdep.c (mips64obsd_sigframe_init): Use get_frame_arch to | |
2586 | get at the current architecture by frame_info. | |
2587 | ||
72a155b4 UW |
2588 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
2589 | ||
2590 | * mips-tdep.c (mips_xfer_register): Use get_regcache_arch to get at the | |
2591 | current architecture by regcache. | |
2592 | (mips2_fp_compat, mips32_next_pc, mips16_scan_prologue) | |
2593 | (mips_insn16_frame_cache, mips32_scan_prologue, mips_insn32_frame_cache) | |
2594 | (mips_stub_frame_cache, mips_read_fp_register_single) | |
2595 | (mips_read_fp_register_double, mips_print_fp_register) | |
2596 | (mips_print_register, print_gp_register_row): Use get_frame_arch to get | |
2597 | at the current architecture by frame_info. | |
2598 | (mips_register_reggroup_p, mips_pseudo_register_read, mips_unwind_sp) | |
2599 | (mips_pseudo_register_write, mips_register_type, mips_unwind_pc) | |
2600 | (mips_unwind_dummy_id, mips_eabi_push_dummy_call) | |
2601 | (mips_n32n64_push_dummy_call, mips_n32n64_return_value) | |
2602 | (mips_o32_push_dummy_call, mips_o32_return_value) | |
2603 | (mips_o64_push_dummy_call, mips_o64_return_value) | |
2604 | (mips_print_registers_info, mips_dump_tdep): Replace current_gdbarch by | |
2605 | gdbarch. | |
2606 | ||
6b50c0b0 UW |
2607 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
2608 | ||
2609 | * xtensa-tdep.c (xtensa_register_type, xtensa_pseudo_register_read) | |
2610 | (xtensa_pseudo_register_write, xtensa_register_reggroup_p) | |
2611 | (xtensa_unwind_pc, xtensa_unwind_dummy_id, xtensa_push_dummy_call) | |
2612 | (xtensa_dump_tdep): Replace current_gdbarch by gdbarch. | |
2613 | (xtensa_register_write_masked, xtensa_register_read_masked) | |
2614 | (xtensa_supply_gregset, xtensa_store_return_value) | |
2615 | (xtensa_extract_return_value): Use get_regcache_arch to get at the | |
2616 | current architecture by regcache. | |
2617 | (xtensa_frame_cache, call0_frame_get_reg_at_entry, call0_frame_cache) | |
2618 | (xtensa_frame_prev_register): Use get_frame_arch to get at the current | |
2619 | architecture by frame_info. | |
2620 | ||
4be43953 DJ |
2621 | 2007-10-10 Daniel Jacobowitz <dan@codesourcery.com> |
2622 | ||
2623 | * arm-tdep.c (struct arm_prologue_cache): Remove frameoffset. | |
2624 | (thumb_analyze_prologue): Move pv_area_store_would_trash call | |
2625 | out of loop. Do not set cache->frameoffset. | |
2626 | (arm_scan_prologue): Use prologue-value mechanism. Do not set | |
2627 | frameoffset. Simplify framesize. | |
2628 | (arm_make_prologue_cache, arm_normal_frame_base): Do not use | |
2629 | frameoffset. | |
2630 | * arm-tdep.h (enum gdb_regnum): Add ARM_IP_REGNUM. | |
2631 | ||
b4b61fdb DJ |
2632 | 2007-10-10 Daniel Jacobowitz <dan@codesourcery.com> |
2633 | ||
2634 | * target.c (update_current_target): Call setup_target_debug. | |
2635 | (push_target): Do not call it here. | |
2636 | ||
8bb6c669 MS |
2637 | 2007-10-09 Michael Snyder <msnyder@specifix.com> |
2638 | ||
2639 | * MAINTAINERS: Update my email address. | |
2640 | ||
304fe255 UW |
2641 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
2642 | ||
2643 | * xtensa-tdep.c: Replace following current-gdbarch based macros by | |
2644 | their expression: | |
2645 | (xtensa_pseudo_register_read) | |
2646 | (xtensa_pseudo_register_write): XTENSA_TARGET_FLAGS. | |
2647 | (ARG_NOF, ARG_1ST, xtensa_extract_return_value) | |
2648 | (xtensa_store_return_value, xtensa_push_dummy_call): CALL_ABI. | |
2649 | (xtensa_pseudo_register_read) | |
2650 | (xtensa_pseudo_register_write): ISA_USE_WINDOWED_REGISTERS. | |
2651 | (xtensa_breakpoint_from_pc): ISA_USE_DENSITY_INSTRUCTIONS. | |
2652 | (xtensa_register_type, xtensa_supply_gregset, xtensa_frame_cache) | |
2653 | (xtensa_frame_prev_register): NUM_AREGS. | |
2654 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write, | |
2655 | (xtensa_supply_gregset, xtensa_frame_cache, xtensa_frame_prev_register, | |
2656 | (xtensa_extract_return_value, xtensa_store_return_value): WB_REGNUM. | |
2657 | (xtensa_supply_gregset, xtensa_frame_cache) | |
2658 | (xtensa_frame_prev_register): WS_REGNUM. | |
2659 | (xtensa_supply_gregset): LBEG_REGNUM, LEND_REGNUM, LCOUNT_REGNUM, | |
2660 | SAR_REGNUM, EXCCAUSE_REGNUM, EXCVADDR_REGNUM | |
2661 | (xtensa_register_name, xtensa_register_type, xtensa_reg_to_regnum) | |
2662 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write) | |
2663 | (xtensa_register_reggroup_p): REGMAP. | |
2664 | (call0_track_op): LITBASE_REGNUM. | |
2665 | (xtensa_register_type, xtensa_reg_to_regnum, call0_frame_cache):A0_BASE | |
2666 | (xtensa_supply_gregset, call0_frame_get_reg_at_entry) | |
2667 | (xtensa_frame_prev_register, AREG_NUMBER) | |
2668 | (xtensa_register_type): AR_BASE. | |
2669 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write): FP_ALIAS. | |
2670 | (AREG_NUMBER): AREGS_MASK, WB_MASK, A0_REGNUM. | |
2671 | (ARG_1ST, xtensa_pseudo_register_read, xtensa_pseudo_register_write) | |
2672 | (xtensa_frame_cache, xtensa_frame_prev_register) | |
2673 | (xtensa_extract_return_value, xtensa_store_return_value) | |
2674 | (xtensa_push_dummy_call, call0_frame_cache): A0_REGNUM. | |
2675 | (xtensa_register_type, xtensa_pseudo_register_read, xtensa_frame_cache) | |
2676 | (xtensa_pseudo_register_write, xtensa_unwind_dummy_id) | |
2677 | (xtensa_frame_prev_register, xtensa_push_dummy_call) | |
2678 | (call0_frame_cache): A1_REGNUM. | |
2679 | (xtensa_extract_return_value, xtensa_store_return_value): A2_REGNUM. | |
2680 | (xtensa_push_dummy_call): A4_REGNUM. | |
2681 | (ARGS_FIRST_REG): A6_REGNUM. | |
2682 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write) | |
2683 | (xtensa_frame_prev_register): A15_REGNUM. | |
2684 | * xtensa-tdep.h: Delete current_gdbarch based macros after replacing | |
2685 | them in the appropriate source file: | |
2686 | XTENSA_TARGET_FLAGS, SPILL_LOCATION, SPILL_SIZE, CALL_ABI, NUM_AREGS, | |
2687 | ISA_USE_WINDOWED_REGISTERS, ISA_USE_DENSITY_INSTRUCTIONS, WB_REGNUM, | |
2688 | ISA_USE_EXCEPTIONS, ISA_USE_EXT_L32R, DEBUG_DATA_VADDR_TRAP_COUNT, | |
2689 | DEBUG_INST_VADDR_TRAP_COUNT, ISA_MAX_INSN_SIZE, DEBUG_NUM_IBREAKS, | |
2690 | DEBUG_NUM_DBREAKS, WS_REGNUM, LBEG_REGNUM, LEND_REGNUM, SAR_REGNUM, | |
2691 | REGMAP, LITBASE_REGNUM, DEBUGCAUSE_REGNUM, EXCCAUSE_REGNUM, AR_BASE, | |
2692 | EXCVADDR_REGNUM, NUM_IBREAKS, REGMAP_BYTES, NUM_CONTEXTS, FP_ALIAS, | |
2693 | FP_LAYOUT, FP_LAYOUT_BYTES, GREGMAP, AREGS_MASK, WB_MASK, A0_REGNUM, | |
2694 | A1_REGNUM, A2_REGNUM, A3_REGNUM, A4_REGNUM, A5_REGNUM, A6_REGNUM, | |
2695 | A7_REGNUM, A8_REGNUM, A9_REGNUM, A10_REGNUM, A11_REGNUM, A12_REGNUM, | |
2696 | A13_REGNUM, A14_REGNUM, A15_REGNUM. | |
2697 | ||
ea78bae4 UW |
2698 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
2699 | ||
2700 | * h8300-tdep.c (h8300_frame_cache): Use get_frame_arch to get at | |
2701 | the current architecture by frame_info. | |
2702 | (h8300_frame_prev_register | |
2703 | (h8300_print_register): Replace current_gdbarch by gdbarch. | |
2704 | (h8300_print_registers_info, h8300_register_type) | |
2705 | (h8300_register_type): Likewise. | |
2706 | ||
875f8d0e UW |
2707 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
2708 | ||
2709 | * i386-linux-nat.c (fetch_register): Use get_regcache_arch to get at | |
2710 | the current architecture by regcache. | |
2711 | (store_register, supply_gregset, fill_gregset, i386_linux_resume) | |
2712 | (i386_linux_fetch_inferior_registers) | |
2713 | (i386_linux_store_inferior_registers): Likewise. | |
2714 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise. | |
2715 | * i386-nto-tdep.c (i386nto_supply_gregset): Likewise. | |
2716 | * i386v4-nat.c (supply_fpregset, fill_fpregset): Likewise. | |
2717 | * i386-tdep.c (i386_unwind_pc): Replace current_gdbarch by gdbarch. | |
2718 | (i386_extract_return_value, i386_store_return_value): Likewise. | |
2719 | * i386-tdep.c (i386_frame_prev_register): Use get_frame_arch to get at | |
2720 | the current architecture by frame_info. | |
2721 | (i386_sigtramp_frame_cache, i386_get_longjmp_target) | |
2722 | (i386_register_to_value, i386_value_to_register): Likewise. | |
2723 | ||
9b072297 UW |
2724 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
2725 | ||
2726 | * monitor.c (monitor_supply_register): Use get_regcache_arch to get at | |
2727 | the current architecture by regcache. | |
2728 | (monitor_store_register, monitor_store_registers): Likewise. | |
2729 | ||
e76e7474 UW |
2730 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
2731 | ||
2732 | * dbug-rom.c (dbug_supply_register): Use get_regcache_arch to get at | |
2733 | the current architecture by regcache. | |
2734 | ||
d4f91178 UW |
2735 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
2736 | ||
2737 | * arch-utils.c (legacy_return_value): Replace current_gdbarch by | |
2738 | gdbarch. | |
2739 | ||
b1bd0044 UW |
2740 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
2741 | ||
2742 | * frame.c (frame_pc_unwind): Use get_frame_arch to get at the current | |
2743 | architecture by frame. | |
2744 | (frame_save_as_regcache, frame_register_unwind, get_prev_frame_1) | |
2745 | (inside_main_func, frame_sp_unwind): Likewise. | |
2746 | ||
2ec9a4f8 DJ |
2747 | 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com> |
2748 | ||
2749 | * solib-svr4.c (enable_break): Add the dynamic linker also if | |
2750 | auxv succeeds. | |
2751 | ||
7068dd53 CES |
2752 | 2007-10-09 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
2753 | ||
2754 | * MAINTAINERS (Write After Approval): Add self. | |
2755 | ||
51e9e0d4 PA |
2756 | 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt> |
2757 | ||
2758 | * stabsread.c (read_huge_number): Initialize local variable to 0. | |
2759 | ||
cd6c7346 PM |
2760 | 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr> |
2761 | ||
2762 | * p-lang.h (pascal_main_name): Add declaration. | |
2763 | * p-lang.c (GPC_P_INITIALIZE, GPC_MAIN_PROGRAM_NAME_1) | |
2764 | (GPC_MAIN_PROGRAM_NAME_2): New constants. | |
2765 | (pascal_main_name): New function. | |
2766 | * symtab.c: Include p-lang.h. | |
2767 | (find_main_name): Add call to pascal_main_name. | |
2768 | * Makefile.in (symtab.o): Add dependency on p-lang.h. | |
2769 | ||
a2699720 PA |
2770 | 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt> |
2771 | ||
2772 | * stabsread.c (read_huge_number): Fix handling of octal | |
2773 | representation when the bit width is known. | |
2774 | (read_range_type): Record unsigned integral types with their size, | |
2775 | when the type size is known. | |
2776 | ||
e05ebff4 TJB |
2777 | 2007-10-08 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2778 | ||
2779 | * MAINTAINERS (Write After Approval): Add self. | |
2780 | ||
0c6773c1 PM |
2781 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
2782 | ||
2783 | * breakpoint.c (print_one_breakpoint_location): ARI fix: | |
2784 | Replace asprintf by xstrprintf. | |
2785 | ||
91c06669 PM |
2786 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
2787 | ||
2788 | * linux-fork.c: ARI fix: include "gdb_dirent.h" instead of <dirent.h>. | |
2789 | Makefile.in (linux-fork.o): Add gdb_dirent.h dependency. | |
2790 | ||
3c61c145 PM |
2791 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
2792 | ||
2793 | * linux-fork.c: Move "gdb_wait.h" include back to the position of | |
2794 | <sys/wait.h> include before last commit. | |
2795 | ||
313628cc MR |
2796 | 2007-10-08 Maciej W. Rozycki <macro@mips.com> |
2797 | ||
2798 | * mips-tdep.c (mips32_next_pc): Fix a typo in BGTZL. | |
2799 | ||
c7f30c7a UW |
2800 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2801 | ||
2802 | * aix-thread.c (supply_gprs64, supply_fprs, supply_sprs64) | |
2803 | (supply_sprs32, fetch_regs_user_thread, fetch_regs_kernel_thread) | |
2804 | (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32) | |
2805 | (store_regs_user_thread, store_regs_kernel_thread): Use | |
2806 | get_regcache_arch or get_frame_arch to get at the current architecture | |
2807 | by regcache or by frame, respectively. | |
2808 | ||
58643501 UW |
2809 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2810 | ||
2811 | * sh64-tdep.c (sh64_push_dummy_call, sh64_register_type) | |
2812 | (sh64_pseudo_register_read, sh64_pseudo_register_write) | |
2813 | (sh64_do_fp_register, sh64_do_pseudo_register, sh64_do_register) | |
2814 | (sh64_print_register, sh64_media_print_registers_info) | |
2815 | (sh64_compact_print_registers_info, sh64_unwind_sp) | |
2816 | (sh64_unwind_pc): Replace current_gdbarch by gdbarch. | |
2817 | (sh64_show_media_regs, sh64_show_compact_regs, sh64_frame_cache) | |
2818 | (sh64_frame_prev_register): Use FRAME to recognize current | |
2819 | architecture. | |
2820 | ||
b47193f7 UW |
2821 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2822 | ||
2823 | * sh-tdep.c (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu) | |
2824 | (sh_sh2a_register_type, sh_sh3e_register_type, sh_sh4_register_type) | |
2825 | (sh_register_reggroup_p, sh_dwarf2_frame_init_reg): Replace | |
2826 | current_gdbarch by gdbarch. | |
2827 | (sh_generic_show_regs, sh3_show_reg, sh2e_show_regs, sh2a_show_regs) | |
2828 | (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs) | |
2829 | (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs, sh_frame_cache) | |
2830 | (sh_frame_prev_register, sh_unwind_sp, sh_unwind_pc): Use FRAME to | |
2831 | recognize current architecture. | |
2832 | ||
4a22f64d UW |
2833 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2834 | ||
2835 | * remote.c (init_remote_state, fetch_register_using_p) | |
2836 | (process_g_packet, remote_fetch_registers, remote_prepare_to_store) | |
2837 | (store_register_using_P, store_registers_using_G) | |
2838 | (remote_store_registers): Use get_regcache_arch or get_frame_arch to | |
2839 | get at the current architecture by regcache or by frame, respectively. | |
2840 | ||
c984b7ff UW |
2841 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2842 | ||
2843 | * m68k-tdep.c (m68k_register_to_value, m68k_value_to_register) | |
2844 | (m68k_svr4_extract_return_value, m68k_svr4_store_return_value) | |
2845 | (m68k_frame_prev_register, m68k_get_longjmp_target): Use | |
2846 | get_regcache_arch or get_frame_arch to get at the current architecture | |
2847 | by regcache or by frame, respectively. | |
2848 | * m68klinux-tdep.c (m68k_linux_sigtramp_frame_cache): Likewise. | |
2849 | * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers) | |
2850 | (store_register, old_store_inferior_registers, supply_gregset) | |
2851 | (supply_fpregset, fill_fpregset): Likewise. | |
2852 | * m68k-tdep.c (m68k_register_type, m68k_unwind_pc, m68k_dump_tdep): | |
2853 | Replace current_gdbarch by gdbarch. | |
2854 | ||
d611717a UW |
2855 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2856 | ||
2857 | * irix5-nat.c (supply_gregset, fill_gregset, supply_fpregset) | |
2858 | (fill_fpregset, fetch_core_registers): Use get_regcache_arch or | |
2859 | get_frame_arch to get at the current architecture by regcache or by | |
2860 | frame, respectively. | |
2861 | ||
088568da UW |
2862 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2863 | ||
2864 | * ia64-tdep.c (ia64_pseudo_register_read, ia64_pseudo_register_write): | |
2865 | Replace current_gdbarch by gdbarch. | |
2866 | * ia64-tdep.c (ia64_frame_prev_register | |
2867 | (ia64_sigtramp_frame_prev_register) | |
2868 | (ia64_libunwind_frame_prev_register): Use get_regcache_arch or | |
2869 | get_frame_arch to get at the current architecture by regcache or by | |
2870 | frame, respectively. | |
2871 | * ia64-linux-nat.c (ia64_linux_fetch_register) | |
2872 | (ia64_linux_fetch_registers, ia64_linux_store_register) | |
2873 | (ia64_linux_store_registers): Likewise. | |
2874 | ||
464963c9 UW |
2875 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2876 | ||
2877 | * hppa-tdep.c (hppa_stub_unwind_sniffer, hppa_dump_tdep): Replace | |
2878 | current_gdbarch by gdbarch. | |
2879 | * hppa-linux-nat.c (fetch_register, store_register) | |
2880 | (hppa_linux_fetch_inferior_registers) | |
2881 | (hppa_linux_store_inferior_registers): Use get_regcache_arch or | |
2882 | get_frame_arch to get at the current architecture by regcache or by | |
2883 | frame, respectively. | |
2884 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code | |
2885 | (hppa_hpux_unwind_adjust_stub): Likewise. | |
2886 | * hppa-hpux-nat.c (hppa_hpux_fetch_register, hppa_hpux_store_register) | |
2887 | (hppa_hpux_fetch_inferior_registers) | |
2888 | (hppa_hpux_store_inferior_registers): Likewise. | |
2889 | ||
7fbe2eba UW |
2890 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2891 | ||
2892 | * cris-tdep.c (cris_sigcontext_addr, cris_sigtramp_frame_unwind_cache) | |
2893 | (cris_scan_prologue, crisv32_scan_prologue, find_step_target) | |
2894 | (cris_software_single_step, cris_supply_gregset): Use get_regcache_arch | |
2895 | or get_frame_arch to get at the current architecture by regcache or by | |
2896 | frame, respectively. | |
2897 | * cris-tdep.c (crisv32_single_step_through_delay, cris_push_dummy_call) | |
2898 | (cris_unwind_pc, cris_unwind_sp, cris_register_type, cris_dump_tdep) | |
2899 | (crisv32_register_type, cris_dwarf2_frame_init_reg): Replace | |
2900 | current_gdbarch by gdbarch. | |
2901 | ||
2af46ca0 UW |
2902 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2903 | ||
2904 | * arm-tdep.c (arm_scan_prologue, arm_make_prologue_cache) | |
2905 | (thumb_get_next_pc, arm_get_next_pc, arm_extract_return_value) | |
2906 | (arm_store_return_value): Use get_regcache_arch or get_frame_arch to | |
2907 | get at the current architecture by regcache or by·frame, respectively. | |
2908 | (arm_push_dummy_call, arm_dump_tdep): Replace current_gdbarch by | |
2909 | gdbarch. | |
2910 | ||
2ae02b47 UW |
2911 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2912 | ||
2913 | * amd64-tdep.c (amd64_frame_prev_register, amd64_sigtramp_frame_cache): | |
2914 | Use get_regcache_arch or get_frame_arch to get at the current | |
2915 | architecture by regcache or by frame, respectively. | |
2916 | * amd64-linux-tdep.c (amd64_linux_sigcontext_addr): Likewise. | |
2917 | * amd64-nat.c (amd64_supply_native_gregset) | |
2918 | (amd64_collect_native_gregset): Replace current_gdbarch by gdbarch. | |
2919 | ||
ec7cc0e8 UW |
2920 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2921 | ||
2922 | * alpha-tdep.c (alpha_register_reggroup_p): Replace current_gdbarch by | |
2923 | gdbarch. | |
2924 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. | |
2925 | (alpha_sigtramp_frame_unwind_cache, alpha_sigtramp_frame_this_id) | |
2926 | (alpha_sigtramp_frame_sniffer, alpha_next_pc): Use get_regcache_arch or | |
2927 | get_frame_arch to get at the current architecture by regcache or by | |
2928 | frame, respectively. | |
2929 | * alpha-nat.c (fetch_osf_core_registers): Likewise. | |
2930 | ||
ad010def UW |
2931 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2932 | ||
2933 | * dwarf2-frame.c (read_reg, execute_cfa_program, dwarf2_frame_cache) | |
2934 | (dwarf2_frame_default_init_reg, dwarf2_frame_prev_register): Replace | |
2935 | current_gdbarch by gdbarch. | |
2936 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Likewise. | |
2937 | ||
214e098a UW |
2938 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2939 | ||
2940 | * regcache.c (init_regcache_descr, register_type, read_pc_pid) | |
2941 | (write_pc_pid, regcache_dump): Replace current_gdbarch by gdbarch. | |
2942 | * regcache.c (regcache_raw_write): Use get_regcache_arch or | |
2943 | get_frame_arch to get at the current architecture by regcache or by | |
2944 | frame, respectively. | |
2945 | ||
e9e45075 UW |
2946 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2947 | ||
2948 | * findvar.c (value_of_register, locate_var_value): Use | |
2949 | get_regcache_arch or get_frame_arch to get at the current architecture | |
2950 | by regcache or by frame, respectively. | |
2951 | * findvar.c (default_value_from_register, value_from_register): Replace | |
2952 | current_gdbarch by gdbarch. | |
2953 | ||
136855cd PM |
2954 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
2955 | ||
2956 | * config/i386/nm-i386.h (CHILD_POST_STARTUP_INFERIOR): ARI fix: Remove. | |
2957 | ||
cdf43007 PM |
2958 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
2959 | ||
2960 | * linux-fork.c: ARI fix: include "gdb_wait.h" instead of <sys/wait.h>. | |
2961 | Makefile.in (linux-fork.o): Add gdb_wait.h dependency. | |
2962 | ||
9ef895d6 DJ |
2963 | 2007-10-05 Daniel Jacobowitz <dan@codesourcery.com> |
2964 | ||
2965 | * remote.c (get_offsets): Only call free_symfile_segment_data if | |
2966 | data was allocated. | |
2967 | ||
cada2e7b PM |
2968 | 2007-10-03 Pierre Muller <muller@ics.u-strasbg.fr> |
2969 | ||
2970 | * objc-exp.y: ARI fix: remove 4 PARAMS. | |
2971 | ||
8d5f9c6f DJ |
2972 | 2007-10-03 Daniel Jacobowitz <dan@codesourcery.com> |
2973 | ||
2974 | * NEWS: Use uniform spacing. Correct version number for GDB 6.7 | |
2975 | news. Mention XML support for M68K in GDB 6.7. | |
2976 | ||
1969d2ed DJ |
2977 | 2007-10-03 Daniel Jacobowitz <dan@codesourcery.com> |
2978 | ||
2979 | * gdbtypes.c (create_range_type): Do not set TYPE_FIELD_TYPE for the | |
2980 | bounds. | |
2981 | (init_vector_type): Use builtin_type_int32. | |
2982 | ||
e31dcd20 UW |
2983 | 2007-10-02 Ulrich Weigand <uweigand@de.ibm.com> |
2984 | ||
2985 | * s390-tdep.c (s390_regset_from_core_section): Allow excess section | |
2986 | size to enable bi-arch generate-core-file support. | |
2987 | ||
b94c4f7d UW |
2988 | 2007-10-02 Markus Deuling <deuling@de.ibm.com> |
2989 | ||
2990 | * spu-tdep.c (info_spu_signal_command): Fix output for SPU signal. | |
2991 | ||
9612b5ec UW |
2992 | 2007-10-02 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
2993 | ||
2994 | * tui/tui-interp.c (tui_init): Initialize tui's SIGWINCH | |
2995 | signal handler. | |
2996 | * tui/tui-win.c (tui_initialize_win): New function for | |
2997 | initializing tui's SIGWINCH signal handler. | |
2998 | * tui/tui-win.h (tui_initialize_win): Declare. | |
2999 | ||
407f1a2e UW |
3000 | 2007-10-02 Ulrich Weigand <uweigand@de.ibm.com> |
3001 | ||
3002 | * ppc-linux-nat.c (ppc_linux_stopped_data_address): Cast | |
3003 | pointer to uintptr_t before casting to CORE_ADDR. | |
3004 | ||
02d3ff8c UW |
3005 | 2007-10-02 Markus Deuling <deuling@de.ibm.com> |
3006 | ||
3007 | * linux-nat.c (PTRACE_GETSIGINFO): Add define. | |
3008 | ||
4577549b DJ |
3009 | 2007-10-02 Mark Mitchell <mark@codesourcery.com> |
3010 | ||
3011 | * mingw-hdep.c (gdb_select): Stop helper threads before returning. | |
3012 | * ser-mingw.c (enum select_thread_state): New type. | |
3013 | (struct ser_console_state): Add have_started and thread_state. | |
3014 | (select_thread_wait): New function. | |
3015 | (thread_fn_type): New type. | |
3016 | (create_select_thread): New function. | |
3017 | (destroy_select_thread): Likewise. | |
3018 | (start_select_thread): Likewise. | |
3019 | (stop_select_thread): Likewise. | |
3020 | (console_select_thread): Use new functions. | |
3021 | (pipe_select_thread): Likewise. | |
3022 | (file_select_thread): Likewise. | |
3023 | (ser_console_wait_handle): Likewise. | |
3024 | (ser_console_done_wait_handle): Likewise. | |
3025 | (ser_console_close): Likewise. | |
3026 | (free_pipe_state): Likewise. | |
3027 | (pipe_wait_handle): Likewise. | |
3028 | (pipe_done_wait_handle): Likewise. | |
3029 | (struct net_windows_state): Derive from ser_console_state. | |
3030 | (net_windows_select_thread): Use new functions. | |
3031 | (net_windows_wait_handle): Likewise. | |
3032 | (net_windows_done_wait_handle): Likewise. | |
3033 | (net_windows_close): Likewise. | |
3034 | ||
b0b951d9 DJ |
3035 | 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com> |
3036 | ||
3037 | * inflow.c (terminal_ours_1): Remove useless line. | |
3038 | ||
82e91389 DJ |
3039 | 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com> |
3040 | ||
3041 | * mips-tdep.c (mips_read_fp_register_double): Correct check for | |
3042 | odd FP registers. | |
3043 | (mips_print_fp_register): Correct check for even FP registers. | |
3044 | (mips_virtual_frame_pointer): New function. | |
3045 | (mips_gdbarch_init): Call set_gdbarch_virtual_frame_pointer. | |
3046 | ||
c4a3d09a MF |
3047 | 2007-09-30 Mike Frysinger <vapier@gentoo.org> |
3048 | ||
3049 | * value.h (lookup_only_internalvar): New prototype. | |
3050 | (create_internalvar): Likewise. | |
3051 | * value.c (lookup_only_internalvar): New function. | |
3052 | (create_internalvar): Likewise. | |
3053 | (lookup_internalvar): Use new lookup_only_internalvar and | |
3054 | create_internalvar functions. | |
3055 | * parse.c (write_dollar_variable): Look up $ symbols in internal | |
3056 | table first rather than last. | |
3057 | ||
9f0bdab8 DJ |
3058 | 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com> |
3059 | ||
3060 | * linux-nat.c (linux_nat_new_thread): New variable. | |
3061 | (linux_child_follow_fork): Set inferior_ptid to include LWP ID. Use | |
3062 | linux_nat_switch_fork. | |
3063 | (lwp_list): Make public. | |
3064 | (add_lwp): Call linux_nat_new_thread. | |
3065 | (lin_lwp_attach_lwp, linux_nat_attach): Call add_lwp after stopping | |
3066 | the new thread. | |
3067 | (resume_callback): Clear lp->siginfo. Remove unused variable. | |
3068 | (linux_nat_resume): Assert that the LWP list is already initialized. | |
3069 | Clear lp->siginfo. | |
3070 | (save_siginfo): New. | |
3071 | (stop_wait_callback, linux_nat_wait): Call it. | |
3072 | (linux_nat_set_new_thread, linux_nat_get_siginfo): New. | |
3073 | * linux-nat.h (struct lwp_info): Add siginfo. | |
3074 | (lwp_list, linux_nat_set_new_thread, linux_nat_get_siginfo): Declare. | |
3075 | (ALL_LWPS): Define. | |
3076 | ||
3077 | * amd64-linux-nat.c (amd64_linux_dr): New. | |
3078 | (amd64_linux_dr_get): Take a PTID argument. Correct typo. | |
3079 | (amd64_linux_dr_set): Take a PTID argument. | |
3080 | (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use ALL_LWPS. | |
3081 | (amd64_linux_dr_reset_addr): Use amd64_linux_dr_set_addr. | |
3082 | (amd64_linux_dr_get_status): Pass inferior_ptid to amd64_linux_dr_get. | |
3083 | (amd64_linux_new_thread): New. | |
3084 | (_initialize_amd64_linux_nat): Call linux_nat_set_new_thread. | |
3085 | * i386-linux-nat.c (i386_linux_dr): New. | |
3086 | (i386_linux_dr_get, i386_linux_dr_set): Take a PTID argument. | |
3087 | (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use ALL_LWPS. | |
3088 | (i386_linux_dr_reset_addr): Use i386_linux_dr_set_addr. | |
3089 | (i386_linux_dr_get_status): Pass inferior_ptid to i386_linux_dr_get. | |
3090 | (i386_linux_new_thread): New. | |
3091 | (i386_linux_resume): Remove unnecessary PID check. | |
3092 | (_initialize_i386_linux_nat): Call linux_nat_set_new_thread. | |
3093 | * ia64-linux-nat.c (enable_watchpoints_in_psr): Take PTID argument. | |
3094 | (fetch_debug_register, fetch_debug_register_pair): Delete. | |
3095 | (debug_registers): New. | |
3096 | (ia64_linux_insert_watchpoint, ia64_linux_remove_watchpoint): Use | |
3097 | ALL_LWPS and debug_registers. | |
3098 | (ia64_linux_new_thread): New. | |
3099 | (ia64_linux_stopped_data_address): Use linux_nat_get_siginfo. | |
3100 | (_initialize_ia64_linux_nat): Call linux_nat_set_new_thread. | |
3101 | * ppc-linux-nat.c (last_stopped_data_address): Delete. | |
3102 | (saved_dabr_value): New. | |
3103 | (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use | |
3104 | ALL_LWPS. | |
3105 | (ppc_linux_new_thread): New. | |
3106 | (ppc_linux_stopped_data_address): Use linux_nat_get_siginfo. | |
3107 | (ppc_linux_stopped_by_watchpoint): Call ppc_linux_stopped_data_address. | |
3108 | (_initialize_ppc_linux_nat): Call linux_nat_set_new_thread. | |
3109 | * s390-nat.c (s390_stopped_by_watchpoint): Clear the watchpoint status | |
3110 | after reading it. | |
3111 | (s390_fix_watch_points): Take a PTID argument. | |
3112 | (s390_insert_watchpoint, s390_remove_watchpoint): Use ALL_LWPS. | |
3113 | (_initialize_s390_nat): Call linux_nat_set_new_thread. | |
3114 | ||
d983da9c DJ |
3115 | 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com> |
3116 | Jeff Johnston <jjohnstn@redhat.com> | |
3117 | ||
3118 | * breakpoint.c (watchpoints_triggered): New. | |
3119 | (bpstat_stop_status): Remove STOPPED_BY_WATCHPOINT argument. | |
3120 | Check watchpoint_triggered instead. Combine handling for software | |
3121 | and hardware watchpoints. Do not use target_stopped_data_address | |
3122 | here. Always check a watchpoint if its scope breakpoint triggers. | |
3123 | Do not stop for thread or overlay events. Improve check for | |
3124 | triggered watchpoints without a value change. | |
3125 | (watch_command_1): Insert the scope breakpoint first. Link the | |
3126 | scope breakpoint to the watchpoint. | |
3127 | * breakpoint.h (enum watchpoint_triggered): New. | |
3128 | (struct breakpoint): Add watchpoint_triggered. | |
3129 | (bpstat_stop_status): Update prototype. | |
3130 | (watchpoints_triggered): Declare. | |
3131 | * infrun.c (enum infwait_status): Add infwait_step_watch_state. | |
3132 | (stepped_after_stopped_by_watchpoint): Delete. | |
3133 | (handle_inferior_event): Make stepped_after_stopped_by_watchpoint | |
3134 | local. Handle infwait_step_watch_state. Update calls to | |
3135 | bpstat_stop_status. Use watchpoints_triggered to check | |
3136 | watchpoints. | |
3137 | * remote.c (stepped_after_stopped_by_watchpoint): Remove extern. | |
3138 | (remote_stopped_data_address): Do not check it. | |
3139 | ||
7921a279 DJ |
3140 | 2007-09-29 Daniel Jacobowitz <dan@codesourcery.com> |
3141 | ||
3142 | * configure.ac: Add $LIBINTL when testing libbfd. | |
3143 | * configure: Regenerated. | |
3144 | ||
fe6fbf8b VP |
3145 | 2007-09-28 Vladimir Prus <vladimir@codesourcery.com> |
3146 | ||
3147 | * NEW: Mention pending breakpoint changes and | |
3148 | support for breakpoints at multiple locations. | |
3149 | ||
daddc3c1 DJ |
3150 | 2007-09-27 Daniel Jacobowitz <dan@codesourcery.com> |
3151 | ||
3152 | * arm-linux-tdep.c (arm_linux_software_single_step): New. | |
3153 | (arm_linux_init_abi): Use it. | |
3154 | * arm-tdep.c (arm_get_next_pc): Make global. Handle all-ones | |
3155 | condition correctly. | |
3156 | * arm-tdep.h (arm_get_next_pc): Declare. | |
3157 | * Makefile.in (arm-linux-tdep.o): Update. | |
3158 | ||
7a4d50bf VP |
3159 | 2007-09-26 Vladimir Prus <vladimir@codesourcery.com> |
3160 | ||
3161 | * varobj.c (install_new_value): Don't | |
3162 | call value_get_print_value when a value is | |
3163 | lazy. Update the print_value member in a | |
3164 | single place. | |
3165 | ||
d32a6982 VP |
3166 | 2007-09-26 Vladimir Prus <vladimir@codesourcery.com> |
3167 | ||
3168 | * breakpoint.c (create_breakpoint): Set | |
3169 | condition on each location, not on the first | |
3170 | location of breakpoint. | |
3171 | ||
489eaeba JB |
3172 | 2007-09-26 Jim Blandy <jimb@codesourcery.com> |
3173 | ||
3174 | * remote.c (getpkt_sane): Fix error message. No animals were | |
3175 | harmed in the making of this debugger. | |
3176 | ||
3e9313ab PM |
3177 | 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr> |
3178 | ||
3179 | * p-typeprint.c: Fix 11 ARI reported problems. | |
3180 | (pascal_print_type): Fix 4 operator at end of line. | |
3181 | (pascal_type_print_method_args) : Replace 2 DEPRECATED_STREQN macros | |
3182 | using strncmp function. | |
3183 | (pascal_type_print_base): Fix 2 operator at end of line. | |
3184 | (pascal_type_print_base) : Replace 3 DEPRECATED_STREQN macros | |
3185 | using strncmp function. | |
3186 | ||
3187 | ||
5b8101ae PM |
3188 | 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr> |
3189 | ||
3190 | * Fix PR pascal/2231 | |
3191 | dwarf2read.c (read_subroutine_type): | |
3192 | All pascal functions are prototyped. | |
3193 | ||
c45f11da PM |
3194 | 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr> |
3195 | ||
3196 | * Fix PR pascal/2283 | |
3197 | p-valprint.c (pascal_val_print): correct current language check. | |
3198 | Also print array of char as strings. | |
3199 | ||
3200 | ||
59aa1faa MR |
3201 | 2007-09-26 David Ung <davidu@mips.com> |
3202 | Maciej W. Rozycki <macro@mips.com> | |
3203 | ||
3204 | * mips-tdep.c (mips_n32n64_return_value): Fix a comment. | |
3205 | ||
0b058123 PM |
3206 | 2007-09-25 Pierre Muller <muller@ics.u-strasbg.fr> |
3207 | ||
3208 | * p-exp.y: Fix 12 ARI reported problems. | |
3209 | (name_not_typename): Fix 2 operator at end of line issues. | |
3210 | (yylex): Fix 3 operator at end of line issues. | |
3211 | Replace 7 DEPRECATED_STREQ macros using strcmp function. | |
3212 | ||
b18bb924 MR |
3213 | 2007-09-25 David Ung <davidu@mips.com> |
3214 | Maciej W. Rozycki <macro@mips.com> | |
3215 | ||
3216 | * mips-tdep.c (mips_n32n64_return_value): Per N32/N64 ABI | |
3217 | rules return composite types in registers as appropriate. | |
3218 | ||
28c32713 JB |
3219 | 2007-09-24 Jim Blandy <jimb@codesourcery.com> |
3220 | ||
3221 | * symfile.h (struct symfile_segment_data): Doc fixes. | |
3222 | * symfile.c (symfile_map_offsets_to_segments): Doc fixes. | |
3223 | Assert that we were passed some loaded segment addresses, | |
3224 | and that sections' segment numbers are valid. | |
3225 | Simplify offset calculation. | |
3226 | * remote.c (get_offsets): Clarify selection of relocate-by-segment | |
3227 | strategy, and set num_segments correctly. Delete redundant | |
3228 | assignments to do_sections. | |
3229 | ||
32276632 DJ |
3230 | 2007-09-24 Daniel Jacobowitz <dan@codesourcery.com> |
3231 | ||
3232 | * frame.c (get_prev_frame_1): Also check for PC in the same register. | |
3233 | ||
ed0616c6 VP |
3234 | 2007-09-24 Vladimir Prus <vladimir@codesourcery.com> |
3235 | ||
3236 | * breakpoint.c (remove_sal): New. | |
3237 | (expand_line_sal_maybe): New. | |
3238 | (create_breakpoints): Call expand_line_sal_maybe. | |
3239 | (clear_command): Add comment. | |
3240 | (breakpoint_re_set_one): Call expand_line_sal_maybe. | |
3241 | * linespec.c (decode_indirect): Set explicit_pc to 1. | |
3242 | (decode_all_digits): Set explicit_line to 1. | |
3243 | (append_expanded_sal): New. | |
3244 | (expand_line_sal): New. | |
3245 | * linespec.h (expand_line_sal): Declare. | |
3246 | * symtab.c (init_sal): Initialize explicit_pc | |
3247 | and explicit_line. | |
3248 | * symtab.h (struct symtab_and_line): New fields | |
3249 | explicit_pc and explicit_line. | |
3250 | ||
41f1b697 DJ |
3251 | 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com> |
3252 | ||
3253 | * infcall.c (call_function_by_hand): Handle language-specific | |
3254 | pass and return by reference. | |
3255 | ||
3256 | * cp-abi.c (cp_pass_by_reference): New. | |
3257 | * cp-abi.h (cp_pass_by_reference): Declare. | |
3258 | (struct cp_abi_ops): Add pass_by_reference. | |
3259 | * gnu-v3-abi.c (gnuv3_pass_by_reference): New. | |
3260 | (init_gnuv3_ops): Set pass_by_reference. | |
3261 | ||
3262 | * language.c (language_pass_by_reference): New. | |
3263 | (default_pass_by_reference): New. | |
3264 | (unknown_language_defn, auto_language_defn, local_language_defn): Add | |
3265 | default_pass_by_reference. | |
3266 | * langauge.h (struct language_defn): Add la_pass_by_reference. | |
3267 | (language_pass_by_reference, default_pass_by_reference): Declare. | |
3268 | * ada-lang.c (ada_language_defn): Add default_pass_by_reference. | |
3269 | * c-lang.c (c_language_defn, asm_language_defn) | |
3270 | (minimal_language_defn): Likewise. | |
3271 | (cplus_language_defn): Add cp_pass_by_reference. | |
3272 | * f-lang.c (f_language_defn): Add default_pass_by_reference. | |
3273 | * jv-lang.c (java_language_defn): Likewise. | |
3274 | * m2-lang.c (m2_language_defn): Likewise. | |
3275 | * objc-lang.c (objc_language_defn): Likewise. | |
3276 | * p-lang.c (pascal_language_defn): Likewise. | |
3277 | * scm-lang.c (scm_language_defn): Likewise | |
3278 | ||
0d381245 VP |
3279 | 2007-09-23 Vladimir Prus <vladimir@codesourcery.com> |
3280 | ||
3281 | Allow a code breakpoint to have several locations | |
3282 | associated with it. | |
3283 | * breakpoint.h (enum enable_state): Remove the | |
3284 | bp_shlib_disabled enumerator. | |
3285 | (struct bp_location): New members shlib_disabled, | |
3286 | global_next, enabled and function_name. | |
3287 | Rename pending to condition_not_parsed. | |
3288 | ||
3289 | * breakpoint.c (ALL_BP_LOCATIONS): Iterate over global_next. | |
3290 | (ALL_BP_LOCATIONS_SAFE): Likewise. | |
3291 | (breakpoint_enabled): Don't check for pending. | |
3292 | (condition_command): Free and update all locations of | |
3293 | a breakpoint. | |
3294 | (insert_bp_location): Adjust. | |
3295 | (software_breakpoint_inserted_here_p): Don't care | |
3296 | if breakpoint is enabled, as soon as it's inserted. | |
3297 | (print_it_typical): Print bpstat's location, not | |
3298 | bpstat's breakpoint's location. | |
3299 | (bpstat_stop_status): Iterate over all locations, not | |
3300 | all breakpoints. | |
3301 | (print_breakpoint_location): New. | |
3302 | (print_one_breakpoint): Renamed to | |
3303 | (print_one_breakpoint_location): ...this. Take | |
3304 | parameters to describe which location is being | |
3305 | printed. Modify code to properly print header | |
3306 | for several locations and individual locations. | |
3307 | (print_one_breakpoint): Print all locations. | |
3308 | (breakpoint_has_pc): New. | |
3309 | (describe_other_breakpoints): Use the above. | |
3310 | (check_duplicates): Renamed to... | |
3311 | (check_duplicates_for): .. this. | |
3312 | (check_duplicates): Use check_duplicates_for. | |
3313 | (allocate_bp_location): Adjust. | |
3314 | (set_raw_breakpoint_without_location): New, | |
3315 | extracted from set_raw_breakpoint. | |
3316 | (set_breakpoint_location_function): New. | |
3317 | (set_raw_breakpoint): Use | |
3318 | set_raw_breakpoint_without_location. | |
3319 | (make_breakpoint_permanent): Mark all locations | |
3320 | as inserted. | |
3321 | (disable_breakpoints_in_shlibs): Iterate over | |
3322 | locations. | |
3323 | (disable_breakpoints_in_unloaded_shlib): Likewise. | |
3324 | (re_enable_breakpoints_in_shlibs): Likewise. | |
3325 | (mention): Say "pending" when breakpoint has | |
3326 | zero locations. If breakpoint has more than one | |
3327 | location, say so. | |
3328 | (add_location_to_breakpoint): New. | |
3329 | (create_breakpoint): Accept symtabs_and_lines, not | |
3330 | symtab_and_line. Pass extra sals to | |
3331 | add_location_to_breakpoint. | |
3332 | (create_breakpoints): Pass symtabs_and_lines to | |
3333 | create_breakpoints. | |
3334 | (break_command_1): Make pending breakpoints | |
3335 | have zero locations. | |
3336 | (do_captured_breakpoint): Remove wrong allocation. | |
3337 | (clear_command): Iterate over all locations. | |
3338 | (unlink_locations_from_global_list): Renamed | |
3339 | from unlink_location_from_global_list. Remove | |
3340 | all locations. | |
3341 | (delete_breakpoint): Remove all locations. | |
3342 | Iterate over all locations when deciding which | |
3343 | other location to re-enable. | |
3344 | (all_locations_are_pending): New. | |
3345 | (update_breakpoint_locations): Renamed from | |
3346 | update_breakpoint_location. Try to match old | |
3347 | and new locations using names of containing | |
3348 | functions. | |
3349 | (breakpoint_re_set_one): Adjust. | |
3350 | (find_location_by_number): New. | |
3351 | (disable_command): Allow disabling individual location. | |
3352 | (enable_command): Allow enabling individual location. | |
3353 | * breakpoint.c: Adjust all uses of breakpoint's | |
3354 | enable state to for bp_shlib_disabled change. | |
3355 | ||
fe3f5fa8 VP |
3356 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
3357 | ||
3358 | * breakpoint.c (do_restore_lang_radix_cleanup): Remove. | |
3359 | (resolve_pending_breakpoint): Remove. | |
3360 | (re_enable_breakpoints_in_shlibs): Remove. | |
3361 | (unlink_locations_from_global_list): New. | |
3362 | (update_breakpoint_locations): New. | |
3363 | (breakpoint_re_set_one): Don't bail out on pending breakpoints. | |
3364 | Use parse_condition and update_breakpoint_location to | |
3365 | reset breakpoint. Ignore 'symbol not found' error from | |
3366 | decode_line_1. | |
3367 | (breakpoint_re_set): Don't emit newline before the | |
3368 | reason why breakpoint is not reset. | |
3369 | (do_enable_breakpoint): Don't specially process pending | |
3370 | breakpoints. | |
3371 | (free_bp_location): New. | |
3372 | (break_command_1): For pending breakpoints, initialize | |
3373 | all fields of a sal with zeroes. | |
3374 | * breakpoint.h (re_enable_breakpoints_in_shlibs): Remove. | |
3375 | * infcmd.c (post_create_inferior): Don't call | |
3376 | re_enable_breakpoints_in_shlibs. | |
3377 | * infrun.c (handle_inferior_event): Likewise. | |
3378 | * solib-irix.c (irix_solib_create_inferior_hook): Likewise. | |
3379 | * solib-osf.c (osf_solib_create_inferior_hook): Likewise. | |
3380 | * win32-nat.c (get_win32_debug_event): Likewise. | |
3381 | ||
511a6cd4 VP |
3382 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
3383 | ||
018d34a4 VP |
3384 | * breakpoint.c (create_breakpoint): Split from |
3385 | create_breakpoints, implementing most of its logic. | |
3386 | Take just a single sal, single address string and | |
3387 | single condition. Do not take parsed condition at | |
3388 | all. | |
3389 | (create_breakpoints): Just call create_breakpoint | |
3390 | for each sal. | |
3391 | (find_condition_and_thread): New. | |
3392 | (break_command_1): Use find_condition_and_thread. | |
3393 | Do not keep parsed conditions. | |
3394 | (do_captured_breakpoint): Don't convert | |
3395 | condition string to struct expression. | |
3396 | ||
3397 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> | |
3398 | ||
511a6cd4 VP |
3399 | * breakpoint.h (struct breakpoint): Move the cond |
3400 | field to... | |
3401 | (struct bp_location): Here. | |
3402 | * breakpoint.c (condition_command, bpstat_stop_status) | |
3403 | (print_one_breakpoint, allocate_bp_location) | |
3404 | (solib_load_unload_1, create_fork_vfork_event_catchpoint) | |
3405 | (create_exec_event_catchpoint, create_breakpoints) | |
3406 | (break_command_1, watch_command_1, handle_gnu_v3_exceptions) | |
3407 | (create_ada_exception_breakpoint, set_breakpoint_sal) | |
3408 | (delete_breakpoint, breakpoint_re_set_one): Adjust. | |
3409 | * tui/tui-winsource.c (tui_update_breakpoint_info): Adjust. | |
3410 | ||
4f8d1dc6 VP |
3411 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
3412 | ||
3413 | Associate bp_stat with bp_location, not breakpoint. | |
3414 | * breakpoint.h (breakpoint_at): Change type | |
3415 | to bp_location*. | |
3416 | * breakpoint.c (bpstat_alloc): Take bp_location, | |
3417 | not breakpoint. | |
3418 | (bpstat_find_breakpoint): Look at bpstat's location's | |
3419 | owner, not at bpstat->breakpoint_at. | |
3420 | (bpstat_find_step_resume_breakpoint): Likewise. | |
3421 | (bpstat_num): Likewise. | |
3422 | (print_it_typical): Likewise. | |
3423 | (print_bp_stop_message): Likewise. | |
3424 | (watchpoint_check): Likewise. | |
3425 | (bpstat_what): Likewise. | |
3426 | (bpstat_get_triggered_catchpoints): Likewise. | |
3427 | (breakpoint_auto_delete): Likewise. | |
3428 | (delete_breakpoint): Likewise. | |
3429 | (bpstat_stop_status): Pass location, not breakpoint, | |
3430 | to bpstat_alloc. Look at bpstat's location's | |
3431 | owner, not at bpstat->breakpoint_at. | |
3432 | ||
32623386 JB |
3433 | 2007-09-21 Jim Blandy <jimb@codesourcery.com> |
3434 | ||
3435 | * macrotab.h (new_macro_table): Document that removing information | |
3436 | from an obstack/bcache-managed macro table leaks memory. | |
3437 | * macrotab.c (macro_free, macro_bcache_free): Instead of asserting | |
3438 | that data is never freed in obstack/bcache-managed macro tables, | |
3439 | just leak the storage. | |
3440 | (macro_undef): If we're undefining a macro at exactly the same | |
3441 | source location that we defined it, simply remove the definition | |
3442 | altogether. | |
3443 | ||
c295b2e5 JB |
3444 | 2007-09-21 Joel Brobecker <brobecker@adacore.com> |
3445 | ||
3446 | * symfile.h (struct sym_fns): Add new field sym_read_linetable. | |
3447 | * coffread.c, dbxread.c, elfread.c, mipsread.c somread.c: | |
3448 | Adjust the struct sym_fns object accordingly by setting | |
3449 | the new field to NULL. | |
3450 | * xcoffread.c (aix_process_linenos): Make static. | |
3451 | (xcoff_sym_fns): Set new field to aix_process_linenos. | |
3452 | * buildsym.c (end_symtab): Replace call to PROCESS_LINENUMBER_HOOK | |
3453 | by call to new the new sym_fns sym_read_linetable function. | |
3454 | * config/powerpc/aix.mt (DEPRECATED_TM_FILE): Delete. | |
3455 | * config/rs6000/tm-rs6000.h: Delete. | |
3456 | ||
ab2e1992 MR |
3457 | 2007-09-21 David Ung <davidu@mips.com> |
3458 | Maciej W. Rozycki <macro@mips.com> | |
3459 | ||
3460 | * mips-tdep.c (mips_n32n64_push_dummy_call): Per N32/N64 ABI | |
3461 | rules do not treat composite types specially. | |
3462 | ||
97ab0fdd MR |
3463 | 2007-09-20 Maciej W. Rozycki <macro@mips.com> |
3464 | ||
3465 | * mips-tdep.c (mips32_in_function_epilogue_p): New function. | |
3466 | (mips16_in_function_epilogue_p): Likewise. | |
3467 | (mips_in_function_epilogue_p): Likewise. | |
3468 | (mips_gdbarch_init): Register mips_in_function_epilogue_p(). | |
3469 | ||
01fe12f6 JB |
3470 | 2007-09-19 Joel Brobecker <brobecker@adacore.com> |
3471 | ||
3472 | * configure.ac: Add check for "etext". | |
3473 | * configure, config.in: Regenerate. | |
3474 | * maint.c (TEXTEND): Only define if either _etext or etext | |
3475 | are available. | |
3476 | Disable the profiling functionality if TEXTEND is not defined. | |
3477 | ||
aa6c981f DJ |
3478 | 2007-09-19 Daniel Jacobowitz <dan@codesourcery.com> |
3479 | ||
3480 | * mips-tdep.c (mips_stub_frame_cache): Correct the saved return | |
3481 | address register. Correct the call to frame_id_build. | |
3482 | (mips_stub_frame_sniffer): Use the stub unwinder when the PC | |
3483 | is invalid. | |
3484 | ||
39312971 JB |
3485 | 2007-09-18 Joel Brobecker <brobecker@adacore.com> |
3486 | ||
3487 | * ia64-tdep.c (refine_prologue_limit): Make sure we don't scan | |
3488 | the linetable past the function end. | |
3489 | ||
558dc30a JW |
3490 | 2007-09-18 James E. Wilson <wilson@specifix.com> |
3491 | ||
3492 | * MAINTAINERS: Update my email address. | |
3493 | ||
60e2c248 JG |
3494 | 2007-09-18 Jerome Guitton <guitton@adacore.com> |
3495 | ||
3496 | * inf-ttrace.c (inf_ttrace_private_thread_info): New structure type. | |
3497 | (inf_ttrace_delete_dying_threads_callback): New function. | |
3498 | (inf_ttrace_resume): After resuming the execution, iterate over | |
3499 | the dying threads to delete them for the thread list. | |
3500 | (inf_ttrace_wait): on TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE, | |
3501 | mark the corresponding thread as dying instead of removing it | |
3502 | from the thread list. | |
3503 | (inf_ttrace_thread_alive): return 0 for dying threads. | |
3504 | ||
f4c1edd8 JB |
3505 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
3506 | ||
3507 | * infrun.c (insert_step_resume_breakpoint_at_frame): Add assertion | |
3508 | that return_frame is not null. | |
3509 | ||
8d4e36ba JB |
3510 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
3511 | ||
3512 | * solib-svr4.c: Add include of "auxv.h". | |
3513 | (enable_break): Use the AT_BASE auxiliary entry if available. | |
3514 | * Makefile.in (solib-svr4.o): Update dependencies. | |
3515 | ||
f9ed52be JB |
3516 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
3517 | ||
3518 | * NEWS: Create a new section for the next release branch. | |
3519 | Rename the section of the current branch, now that it has | |
3520 | been cut. | |
3521 | ||
eff4f95e JG |
3522 | 2007-09-17 Jerome Guitton <guitton@adacore.com> |
3523 | ||
3524 | * dwarf2loc.c (dwarf_expr_frame_base): Guard against NULL. | |
3525 | * Makefile.in (dwarf2loc.o): Depend on gdb_assert.h. | |
3526 | ||
084344da VP |
3527 | 2007-09-16 Vladimir Prus <vladimir@codesourcery.com> |
3528 | ||
3529 | * mi/mi-cmds.c (mi_cmds): Register -list-features. | |
3530 | * mi/mi-cmds.h (mi_cmd_list_features): New. | |
3531 | * mi/mi-main.c (mi_cmd_list_features): New. | |
3532 | ||
50c7215d | 3533 | 2007-09-11 Joel Brobecker <brobecker@adacore.com> |
3534 | ||
3535 | GDB 6.7 branch created (branch timestamp: 2007-09-07 14:00 UTC) | |
3536 | * version.in: Bump version to 6.7.50-20070911-cvs. | |
3537 | ||
4d8453a5 DJ |
3538 | 2007-09-10 Daniel Jacobowitz <dan@codesourcery.com> |
3539 | ||
3540 | * thread.c (free_thread): Do not delete the step resume breakpoint | |
3541 | right away. | |
3542 | ||
4eb0ad19 DJ |
3543 | 2007-09-10 Daniel Jacobowitz <dan@codesourcery.com> |
3544 | ||
3545 | * arch-utils.c (gdbarch_info_fill): Also try core_bfd. | |
3546 | * corelow.c (core_read_description): New. | |
3547 | (init_core_ops): Set to_read_description. | |
3548 | * gdbarch.sh: Add gdbarch_core_read_description. | |
3549 | * mips-linux-tdep.c (mips_linux_core_read_description): New. | |
3550 | (mips_linux_init_abi): Call set_gdbarch_core_read_description. | |
3551 | * mips-tdep.c (mips_tdesc_gp32, mips_tdesc_gp64): New. | |
3552 | (mips_register_g_packet_guesses): Use them. | |
3553 | (_initialize_mips_tdep): Initialize them. | |
3554 | * mips-tdep.h (mips_tdesc_gp32, mips_tdesc_gp64): Declare. | |
3555 | * gdbarch.h, gdbarch.c: Regenerated. | |
3556 | ||
6a6b96b9 UW |
3557 | 2007-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
3558 | ||
3559 | * infrun.c (stepping_past_breakpoint): New global variable. | |
3560 | (stepping_past_breakpoint_ptid): Likewise. | |
3561 | (prepare_to_proceed): Add STEP parameter. Do not check for Ctrl-C. | |
3562 | Only switch threads if we need to single-step over a breakpoint hit | |
3563 | in the previously selected thread. If stepping, remember previous | |
3564 | thread to switch back to in STEPPING_PAST_BREAKPOINT[_PTID]. Call | |
3565 | switch_to_thread instead of copying its contents. | |
3566 | (proceed): Pass STEP to prepare_to_proceed. Always set ONEPROC if | |
3567 | prepare_to_proceed returns true. | |
3568 | (init_wait_for_inferior): Reset STEPPING_PAST_BREAKPOINT. | |
3569 | (context_switch): Call switch_to_thread. | |
3570 | (handle_inferior_event): Switch back to previous thread if requested | |
3571 | in STEPPING_PAST_BREAKPOINT[_PTID] by prepare_to_proceed. | |
3572 | * gdbthread.h (switch_to_thread): Add prototype. | |
3573 | * thread.c (switch_to_thread): Make global. | |
3574 | ||
0b058123 | 3575 | 2007-09-07 Pierre Muller <muller@ics.u-strasbg.fr> |
b20a3440 PM |
3576 | |
3577 | * p-valprint.c: Fix 7 ARI reported problems. | |
3578 | (pascal_val_print): Fix one operator at end of line issue. | |
3579 | Use paddress function to remove use of | |
3580 | deprecated_print_address_numeric function (2 times). | |
3581 | Use SYMBOL_LINKAGE_NAME instead of DEPRECATED_SYMBOL_NAME. | |
3582 | (pascal_value_print): Fix 3 operator at end of line issues. | |
3583 | ||
faa95490 DJ |
3584 | 2007-09-07 Daniel Jacobowitz <dan@codesourcery.com> |
3585 | ||
3586 | PR gdb/2103 | |
3587 | * arm-tdep.c (arm_in_call_stub): Delete. | |
3588 | (arm_skip_stub): Handle from_arm and from_thumb stubs. | |
3589 | ||
f0027ce2 DJ |
3590 | 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com> |
3591 | ||
3592 | * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Handle other integer | |
3593 | types. | |
3594 | ||
ea37ba09 DJ |
3595 | 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com> |
3596 | Jim Blandy <jimb@codesourcery.com> | |
3597 | ||
3598 | * NEWS: Update description of string changes. Mention print/s. | |
3599 | * c-valprint.c (textual_element_type): New. | |
3600 | (c_val_print): Use it. Do not skip address printing for pointers | |
3601 | with a string format. | |
3602 | (c_value_print): Doc update. | |
3603 | * dwarf2read.c (read_array_type): Use make_vector_type. | |
3604 | * gdbtypes.c (make_vector_type): New. | |
3605 | (init_vector_type): Use it. | |
3606 | (gdbtypes_post_init): Initialize builtin_true_unsigned_char. | |
3607 | (_initialize_gdbtypes): Mark int8_t and uint8_t as TYPE_FLAG_NOTTEXT. | |
3608 | * gdbtypes.h (struct builtin_type): Add builtin_true_unsigned_char. | |
3609 | (TYPE_FLAG_NOTTEXT, TYPE_NOTTEXT): New. | |
3610 | (make_vector_type): New. | |
3611 | * printcmd.c (print_formatted): Only handle 's' and 'i' for examine. | |
3612 | Call the language print routine for string format. | |
3613 | (print_scalar_formatted): Call val_print for string format. Handle | |
3614 | unsigned original types for char format. | |
3615 | (validate_format): Do not reject string format. | |
3616 | * stabsread.c (read_type): Use make_vector_type. | |
3617 | * xml-tdesc.c (tdesc_start_vector): Use init_vector_type. | |
3618 | ||
8fb822e0 MS |
3619 | 2007-09-04 Michael Snyder <msnyder@access-company.com> |
3620 | ||
fcd776e5 MS |
3621 | * expprint.c (print_subexp_standard): Check strchr for null. |
3622 | * Makefile.in (expprint.o): Depend on gdb_assert.h. | |
3623 | ||
7d63ec12 MS |
3624 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Guard against null. |
3625 | ||
8fb822e0 MS |
3626 | * stabsread.c (patch_block_status): Guard against null. |
3627 | * Makefile.in (stabsread.o): Depend on gdb_assert.h. | |
3628 | ||
2025a643 DJ |
3629 | 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com> |
3630 | ||
3631 | * printcmd.c (printf_command): Handle ptr_arg. Correct typo | |
3632 | in internal error message. | |
3633 | ||
de1b3c3d PA |
3634 | 2007-09-04 Pedro Alves <pedro_alves@portugalmail.pt> |
3635 | Daniel Jacobowitz <dan@codesourcery.com> | |
3636 | ||
3637 | * infcmd.c (post_create_inferior): Update comment. | |
3638 | (run_command_1): Always call post_create_inferior with 0 as | |
3639 | from_tty. | |
3640 | ||
3641 | * i386-cygwin-tdep.h: New. | |
3642 | * i386-cygwin-tdep.c: Include "i386-cygwin-tdep.h". | |
3643 | (win32_xfer_shared_library): Make it extern. | |
3644 | ||
3645 | * win32-nat.c: Include gdb_obstack.h and xml-support.h and | |
3646 | i386-cygwin-tdep.h. | |
3647 | (win32_so_ops): Delete. | |
3648 | (get_relocated_section_addrs): Delete. | |
3649 | (solib_symbols_add): Delete. | |
3650 | (register_loaded_dll): Delete. | |
3651 | (win32_make_so): New. | |
3652 | (handle_load_dll): Use win32_make_so. | |
3653 | (win32_free_so): Free the passed in so. | |
3654 | (win32_relocate_section_addresses): Delete. | |
3655 | (win32_solib_create_inferior_hook): Delete. | |
3656 | (handle_unload_dll): Don't add PE offset here. Free so with | |
3657 | win32_free_so instead of free_so. | |
3658 | (win32_special_symbol_handling): Delete. | |
3659 | (get_win32_debug_event): Remove unneeded calls. Set state to | |
3660 | TARGET_WAITKIND_LOADED on a dll unload. | |
3661 | (do_initial_win32_stuff): Clear cygwin_load_start and | |
3662 | cygwin_load_end. | |
3663 | (map_code_section_args): Delete. | |
3664 | (dll_code_sections_add): Delete. | |
3665 | (core_section_load_dll_symbols): Delete. | |
3666 | (win32_xfer_shared_libraries): New. | |
3667 | (win32_current_sos): Delete. | |
3668 | (win32_xfer_partial): New. | |
3669 | (open_symbol_file_object): Delete. | |
3670 | (in_dynsym_resolve_code): Delete. | |
3671 | (init_win32_ops): Set win32_xfer_partial as to_xfer_partial member | |
3672 | of win32_ops. Remove win32_so_ops settings. Don't set | |
3673 | current_target_so_ops here. | |
3674 | ||
3675 | * Makefile.in (i386_cygwin_tdep_h): New variable. | |
3676 | (i386-cygwin-tdep.o): Update dependencies. | |
3677 | (win32-nat.o): Update dependencies. | |
3678 | ||
de584861 PA |
3679 | 2007-09-04 Pedro Alves <pedro_alves@portugalmail.pt> |
3680 | Daniel Jacobowitz <dan@codesourcery.com> | |
3681 | ||
3682 | * gdbarch.sh (core_xfer_shared_libraries): New. | |
3683 | ||
3684 | * corelow.c (core_xfer_partial): Handle TARGET_OBJECT_LIBRARIES. | |
3685 | ||
3686 | * gdb_obstack.h (obstack_grow_str, obstack_grow_str0): New. | |
3687 | ||
3688 | * xml-support.c (gdb_xml_parse): Debug output tweaks. | |
3689 | (xml_escape_text): New. | |
3690 | * xml-support.h (xml_escape_text): Declare. | |
3691 | ||
3692 | * config/i386/cygwin.mh (NATDEPFILES): Move corelow.o to ... | |
3693 | * config/i386/cygwin.mt (TDEPFILES): ... here. | |
3694 | ||
3695 | * win32-nat.c: (fetch_elf_core_registers): Delete. | |
3696 | (win32_elf_core_fn): Delete. | |
3697 | (_initialize_core_win32): Delete. | |
3698 | ||
3699 | * i386-cygwin-tdep.c: Include "regset.h", "gdb_objstack.h", | |
3700 | "xml-support.h" and "gdbcore.h". | |
3701 | (i386_win32_gregset_reg_offset): New. | |
3702 | (I386_WIN32_SIZEOF_GREGSET): New. | |
3703 | (i386_win32_regset_from_core_section): New. | |
3704 | (win32_xfer_shared_library): New. | |
3705 | (struct cpms_data): New. | |
3706 | (core_process_module_section): New. | |
3707 | (win32_core_xfer_shared_libraries): New. | |
3708 | (i386_cygwin_skip_trampoline_code): Register gregset_reg_offset, | |
3709 | gregset_num_regs, sizeof_gregset members of tdep. Register | |
3710 | regset_from_core_section and core_xfer_shared_libraries callbacks. | |
3711 | ||
3712 | * Makefile.in (i386-cygwin-tdep.o): Update dependencies. | |
3713 | * gdbarch.h, gdbarch.c: Regenerate. | |
3714 | ||
7160c4c3 PA |
3715 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
3716 | ||
3717 | * corelow.c (core_xfer_partial): Pass writebuf to | |
3718 | deprecated_xfer_memory in TARGET_OBJECT_MEMORY write case. | |
3719 | ||
6dc13412 PA |
3720 | 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt> |
3721 | ||
3722 | * arm-tdep.h (arm_skip_stub): Declare. | |
3723 | * arm-wince-tdep.c: Don't include "solib-svr4.h". Include | |
3724 | "gdbcore.h". | |
3725 | (arm_pe_skip_trampoline_code): New function. | |
3726 | (arm_wince_init_abi): Register arm_pe_skip_trampoline_code as | |
3727 | gdbarch_skip_trampoline_code callback. | |
3728 | * Makefile.in (arm-wince-tdep.o): Update dependencies. | |
3729 | ||
ca8385e5 DJ |
3730 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
3731 | ||
3732 | * MAINTAINERS: Move Fred Fish to Past Maintainers. | |
3733 | ||
5c39566f DJ |
3734 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
3735 | ||
3736 | * configure.ac: Add --with-expat. | |
3737 | * configure: Regenerated. | |
3738 | ||
6a30b0a5 AS |
3739 | 2007-09-03 Andreas Schwab <schwab@suse.de> |
3740 | ||
3741 | * configure.ac: Accept --with-system-readline. | |
3742 | (READLINE, READLINE_DEPS, READLINE_CFLAGS): Define and substitute. | |
3743 | * configure: Regenerate. | |
3744 | * Makefile.in (READLINE, READLINE_DEPS, READLINE_CFLAGS): Use | |
3745 | substituted values. | |
3746 | (CDEPS): Use $(READLINE_DEPS) instead of $(READLINE). | |
3747 | ||
edff0c0a DJ |
3748 | 2007-09-03 Maxim Grigoriev <maxim2405@gmail.com> |
3749 | Daniel Jacobowitz <dan@codesourcery.com> | |
3750 | ||
3751 | * mi-main.c (mi_load_progress): Handle MI2 and MI3 interpreters. | |
3752 | ||
0b93d57c JK |
3753 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
3754 | ||
3755 | * top.c (print_gdb_version): Fixed a string end-of-line compiler error. | |
3756 | ||
b8533aec DJ |
3757 | 2007-09-02 Daniel Jacobowitz <dan@codesourcery.com> |
3758 | ||
3759 | * top.c (print_gdb_version): Update for GPL version 3. | |
3760 | ||
f5db8714 JK |
3761 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
3762 | ||
3763 | * NEWS: Mention the build-id .debug files verification. | |
3764 | ||
d99148ef JK |
3765 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
3766 | ||
3767 | * linux-nat.c (linux_nat_make_corefile_notes): Fixed a buffer overflow. | |
3768 | ||
77069918 JK |
3769 | 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
3770 | ||
3771 | * Makefile.in (symfile.o): Update dependencies. | |
3772 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Initialize the | |
3773 | DEBUGFILE variable. FIND_SEPARATE_DEBUG_FILE called only if !PSYMTABS. | |
3774 | (struct build_id): New structure. | |
3775 | (build_id_bfd_get, build_id_verify, build_id_to_debug_filename): New. | |
3776 | (find_separate_debug_file): New variable BUILD_ID. | |
3777 | Call BUILD_ID_BFD_GET with BUILD_ID_TO_DEBUG_FILENAME as the first try. | |
3778 | ||
202ddcaa VP |
3779 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
3780 | ||
3781 | * varobj.c (struct varobj): Fix comment | |
3782 | for the type member not to lie when it can be | |
3783 | NULL. | |
3784 | ||
02142340 VP |
3785 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
3786 | ||
3787 | Implement -var-info-path-expression. | |
3788 | ||
3789 | * mi/mi-cmds.h (mi_cmd_var_info_path_expression): | |
3790 | Declare. | |
3791 | * mi/mi-cmds.c (mi_cmds): Register var-info-path-expression. | |
3792 | * mi/mi-cmd-var.c (mi_cmd_var_info_path_expression): New. | |
3793 | * varobj.c (struct varobj): New field 'path_expr'. | |
3794 | (c_path_expr_of_child, cplus_path_expr_of_child) | |
3795 | (java_path_expr_of_child): New. | |
3796 | (struct language_specific): New field path_expr_of_child. | |
3797 | (varobj_create): Initialize the path_expr field. | |
3798 | (varobj_get_path_expr): New. | |
3799 | (new_variable): Initialize the path_expr field. | |
3800 | (free_variable): Free the path_expr field. | |
3801 | (adjust_value_for_children_access): New parameter | |
3802 | WAS_TYPE. | |
3803 | (c_number_of_children): Adjust. | |
3804 | (c_describe_child): New parameter CFULL_EXPRESSION. | |
3805 | Compute full expression. | |
3806 | (c_value_of_child, c_type_of_child): Adjust. | |
3807 | (cplus_number_of_children): Adjust. | |
3808 | (cplus_describe_child): New parameter CFULL_EXPRESSION. | |
3809 | Compute full expression. | |
3810 | (cplus_name_of_child, cplus_value_of_child) | |
3811 | (cplus_type_of_child): Adjust. | |
3812 | * varobj.h (varobj_get_path_expr): Declare. | |
3813 | ||
bccc275a VP |
3814 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
3815 | ||
3816 | * mi/mi-cmd-var.c (print_varobj): If a varobj | |
3817 | type is NULL, don't try to print it. | |
3818 | ||
f2db237a AM |
3819 | 2007-08-30 Alan Modra <amodra@bigpond.net.au> |
3820 | ||
3821 | * ppc-linux-nat.c (right_fill_reg): Delete. | |
3822 | (supply_gregset): Use ppc_supply_gregset. | |
3823 | (supply_fpregset): Use ppc_supply_fpregset. | |
3824 | (fill_gregset): Use ppc_collect_gregset. | |
3825 | (fill_fpregset): Use ppc_collect_fpregset. | |
3826 | * ppc-linux-tdep.c (PPC_LINUX_PT_*): Don't define. | |
3827 | (right_supply_register, ppc_linux_supply_gregset): Delete. | |
3828 | (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): Delete. | |
3829 | (ppc_linux_supply_fpregset): Delete. | |
3830 | (ppc_linux_collect_gregset): New function. | |
3831 | (ppc32_linux_reg_offsets, ppc64_linux_reg_offsets): New. | |
3832 | (ppc32_linux_gregset, ppc64_linux_gregset): Update to use reg offsets, | |
3833 | ppc_linux_supply_gregset, and ppc_collect_gregset. | |
3834 | (ppc_linux_fpregset): Rename to ppc32_linux_fpregset and update. | |
3835 | (ppc_linux_gregset, ppc_linux_fpregset): New functions. | |
3836 | (ppc_linux_regset_from_core_section): Update. | |
3837 | * ppc-tdep.h (ppc_linux_gregset, ppc_linux_fpregset): Declare. | |
3838 | (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Delete. | |
3839 | (struct ppc_reg_offsets): Add gpr_size, xr_size, fpscr_size fields. | |
3840 | * ppcobsd-tdep.c (ppcobsd_supply_gregset): Delete FIXME and assert. | |
3841 | (ppcobsd_collect_gregset): Likewise. | |
3842 | (_initialize_ppcnbsd_tdep): Init gpr_size, xr_size, fpscr_size. | |
3843 | * ppcnbsd-tdep.c (_initialize_ppcobsd_tdep): Likewise. | |
3844 | * ppcobsd-nat.c (_initialize_ppcobsd_nat): Likewise. | |
3845 | * rs6000-aix-tdep.c (rs6000_aix32_reg_offsets): Likewise. | |
3846 | (rs6000_aix64_reg_offsets): Likewise. | |
3847 | (rs6000_aix_supply_regset): Call ppc_supply_fpregset without testing | |
3848 | ppc_floating_point_unit_p. | |
3849 | (rs6000_aix_collect_regset): Similarly. | |
3850 | * rs6000-tdep.c (ppc_supply_reg): Add regsize param. Adjust offset | |
3851 | when regsize is larger than regcache register size. | |
3852 | (ppc_collect_reg): Similarly zero pad when regsize is larger than | |
3853 | regcache register size. | |
3854 | (ppc_greg_offset): New function, split out from.. | |
3855 | (ppc_supply_gregset): ..here. Separate code handling all regs from | |
3856 | single reg case. Correct xer offset. | |
3857 | (ppc_fpreg_offset): New function, split out from.. | |
3858 | (ppc_supply_fpregset): ..here. Separate code handling all regs from | |
3859 | single reg case. | |
3860 | (ppc_collect_gregset, ppc_collect_fpregset): Likewise. | |
3861 | (ppc_supply_fpregset, ppc_collect_fpregset): Don't assert we have | |
3862 | a fp unit, instead return if no fp. | |
3863 | ||
fe5aea2e JB |
3864 | 2007-08-29 Jim Blandy <jimb@codesourcery.com> |
3865 | ||
3866 | * breakpoint.c (watch_command_1): Remove '#ifdef HPUXHPPA' block; | |
3867 | this code has not been compiled for two years. | |
3868 | ||
13ce7133 MS |
3869 | 2007-08-29 Michael Snyder <msnyder@access-company.com> |
3870 | ||
3871 | * event-top.c (gdb_readline2): Return after EOF. | |
3872 | ||
fd4a0f2f JB |
3873 | 2007-08-29 Joel Brobecker <brobecker@adacore.com> |
3874 | ||
3875 | * symtab.c: Remove a function that has been commented out 3 years ago. | |
3876 | ||
d037d088 CD |
3877 | 2007-08-29 Randolph Chung <tausq@debian.org> |
3878 | ||
3879 | * hppa-tdep.c (hppa32_cannot_fetch_register) | |
3880 | (hppa64_cannot_fetch_register): New functions. | |
3881 | (hppa_gdbarch_init): Set cannot_fetch_register appropriately. | |
3882 | * hppa-tdep.h (hppa_regnum): Add HPPA_CR26_REGNUM. | |
3883 | ||
19d378fc MS |
3884 | 2007-08-28 Michael Snyder <msnyder@access-company.com> |
3885 | ||
57cdecd2 MS |
3886 | * mi/mi-cmd-var.c (mi_print_value_p): No longer necessary to |
3887 | check for null before calling check_typedef. | |
3888 | ||
19d378fc MS |
3889 | * NEWS: Mention Coverity bug fixes. |
3890 | ||
36acd84e UW |
3891 | 2007-08-27 Markus Deuling <deuling@de.ibm.com> |
3892 | ||
3893 | * spu-tdep.c (spu_pointer_to_address): New function. | |
3894 | (spu_integer_to_address): Likewise. | |
3895 | (spu_gdbarch_init): Add spu_pointer_to_address and | |
3896 | spu_integer_to_address to gdbarch. | |
3897 | ||
8ad7c2b9 PA |
3898 | 2007-08-26 Pedro Alves <pedro_alves@portugalmail.pt> |
3899 | ||
3900 | * arm-wince-tdep.c (ARM_WINCE_JB_PC): Change to 10. | |
3901 | ||
4de6a07e JB |
3902 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
3903 | ||
3904 | * Makefile.in (copying.c): Use the top-level COPYING3 as the file | |
3905 | that contains the GDB license. | |
3906 | * copying.awk: Adjust to the GPLv3 wording. | |
3907 | * copying.c: Regenerate. | |
3908 | ||
07aed0eb JB |
3909 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
3910 | ||
01d4100f | 3911 | * copying.awk: Protoization, and i18n markup. |
07aed0eb | 3912 | |
50efebf8 JB |
3913 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
3914 | ||
3915 | * config/djgpp/djconfig.sh: Switch license to GPLv3. | |
3916 | * copyright.sh: Likewise. | |
3917 | * gdb-events.sh: Likewise. | |
3918 | * gdb_gcore.sh: Likewise. | |
3919 | * gdb_mbuild.sh: Likewise. | |
3920 | * gdbarch.sh: Likewise. | |
3921 | * observer.sh: Likewise. | |
3922 | * features/feature_to_c.sh: Likewise. | |
3923 | * regformats/regdat.sh: Likewise. | |
3924 | ||
3925 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> | |
a9762ec7 JB |
3926 | |
3927 | Switch the license of all .c files to GPLv3. | |
3928 | Switch the license of all .h files to GPLv3. | |
3929 | Switch the license of all .cc files to GPLv3. | |
3930 | ||
5a0e3bd0 JB |
3931 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
3932 | ||
3933 | * configure.ac: Switch license to GPLv3. | |
3934 | ||
609ca2b9 DJ |
3935 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
3936 | ||
3937 | * mips-tdep.c (mips_gdbarch_init): Use Tag_GNU_MIPS_ABI_FP to | |
3938 | determine the file's FPU type. | |
3939 | ||
8d26208a DJ |
3940 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
3941 | ||
3942 | * mips-tdep.c (mips_n32n64_fp_arg_chunk_p): New. | |
3943 | (mips_n32n64_push_dummy_call): Always increment float_argreg along | |
3944 | with argreg. Use mips_n32n64_fp_arg_chunk_p. | |
3945 | ||
65728c26 DJ |
3946 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
3947 | ||
3948 | * solib-svr4.c (scan_dyntag): Only read target memory when necessary. | |
3949 | Fix formatting. | |
3950 | (elf_locate_base): Look for DT_MIPS_RLD_MAP first. Expand comments. | |
3951 | (elf_lookup_lib_symbol): Fix formatting. | |
3952 | ||
a2ca50ae MS |
3953 | 2007-08-21 Michael Snyder <msnyder@access-company.com> |
3954 | ||
6b2d86bd MS |
3955 | * dbxread.c (read_dbx_symtab): Guard null deref. |
3956 | Break up long line. | |
3957 | ||
a2ca50ae MS |
3958 | * valops.c (find_overload_match): Guard against NULL. |
3959 | ||
54e116dd DJ |
3960 | 2007-08-21 Daniel Jacobowitz <dan@codesourcery.com> |
3961 | ||
3962 | * MAINTAINERS (Patch Champions): Remove self. | |
3963 | ||
f429d7d0 DJ |
3964 | 2007-08-21 Chris Smith <chris.smith@st.com> |
3965 | ||
3966 | * cli/cli-script.c (read_command_lines): Call dont_repeat for each | |
3967 | line. | |
3968 | ||
a2ca50ae | 3969 | 2007-08-18 Michael Snyder <msnyder@access-company.com> |
a287cea6 | 3970 | |
31e9f6b6 MS |
3971 | * stabsread.c (dbx_lookup_type): Memory leak. |
3972 | ||
32107cd5 MS |
3973 | * event-loop.c (delete_async_signal_handler): Move pointer null |
3974 | test to before pointer dereference. | |
3975 | ||
44db85f8 MS |
3976 | * ui-out.c (append_header_to_list): Possible cut and paste error. |
3977 | ||
a287cea6 MS |
3978 | * MAINTAINERS: white space tweak. |
3979 | ||
0bd9908d MS |
3980 | 2007-08-17 Michael Snyder <msnyder@access-company.com> |
3981 | ||
f91162e1 MS |
3982 | * stack.c (print_frame): Memory leak. |
3983 | ||
1e8189fb MS |
3984 | * completer.c (filename_completer): Avoid memory leak. |
3985 | Remove unnecessary nested block. | |
3986 | ||
348038cd MS |
3987 | * c-exp.y (parse_number): Memory leak. |
3988 | ||
1f20ed91 MS |
3989 | * completer.c (location_completer): Must free 'fn_list', except |
3990 | in the one case where it is returned (as 'list'). | |
3991 | ||
74dddad3 MS |
3992 | * varobj.c (value_of_root): Memory leak. |
3993 | ||
0bd9908d MS |
3994 | * gdbtypes.h (virtual_base_list): Remove export decl. |
3995 | * gdbtypes.c (virtual_base_list): Make static. Not called outside. | |
3996 | (virtual_base_index): Memory leak. | |
3997 | (virtual_base_index_skip_primaries): Ditto. | |
3998 | ||
bdb4c075 MG |
3999 | 2007-08-17 Maxim Grigoriev <maxim2405@gmail.com> |
4000 | ||
4001 | * xtensa-tdep.c (ARG_NOF, ARG_1ST, PS_WOE, PS_EXC, C0_MAXOPDS) | |
4002 | (C0_NREGS, C0_CLESV, C0_SP, C0_FP, C0_RA, C0_ARGS, C0_NARGS) | |
4003 | (C0_CONST, C0_INEXP, C0_NOSTK): New macros. | |
4004 | (xtensa_read_register): New function. | |
4005 | (xtensa_windowed_frame_cache, xtensa_call0_frame_cache, xtensa_c0reg) | |
4006 | (xtensa_insn_kind): New types. | |
4007 | (xtensa_frame_cache, xtensa_alloc_frame_cache, xtensa_frame_cache) | |
4008 | (xtensa_frame_prev_register, xtensa_return_value, xtensa_skip_prologue) | |
4009 | (xtensa_verify_config, xtensa_pseudo_register_read) | |
4010 | (xtensa_pseudo_register_write, xtensa_extract_return_value) | |
4011 | (xtensa_store_return_value) | |
4012 | (xtensa_push_dummy_call): Extended to support Xtensa Call0 ABI. | |
4013 | (windowing_enabled, extract_call_winsize, xtensa_unwind_dummy_id) | |
4014 | (xtensa_frame_this_id, xtensa_frame_prev_register) | |
4015 | (xtensa_register_type, xtensa_reg_to_regnum): Cosmetic changes. | |
4016 | (call0_frame_cache, call0_frame_get_reg_at_entry) | |
4017 | (call0_classify_opcode, call0_track_op) | |
4018 | (call0_analyze_prologue, call0_frame_cache): New functions. | |
4019 | ||
198757a8 VP |
4020 | 2007-08-17 Vladimir Prus <vladimir@codesourcery.com> |
4021 | ||
4022 | * breakpoint.c (bpstat_free): New. | |
4023 | (bpstat_clear): Use bpstat_free. | |
4024 | (delete_breakpoint): Document why we cannot | |
4025 | remove bpstats from stop_bpstat. | |
4026 | * breakpoint.h (bpstat_free): Declare. | |
4027 | ||
dc66ab8a MS |
4028 | 2007-08-16 Michael Snyder <msnyder@access-company.com> |
4029 | ||
4030 | * event-loop.c (gdb_wait_for_event): Move statement into "if" block. | |
4031 | ||
40c8aaa9 JB |
4032 | 2007-08-15 Paul Hilfinger <hilfinger@adacore.com> |
4033 | Joel Brobecker <brobecker@adacore.com> | |
4034 | ||
4035 | * ada-lang.c (resolve_subexp): Correct arity of binary operators. | |
4036 | ||
ee90b9ab JB |
4037 | 2007-08-15 Paul Hilfinger <hilfinger@adacore.com> |
4038 | Joel Brobecker <brobecker@adacore.com> | |
4039 | ||
4040 | * ada-lang.c (possible_user_operator_p): Alternative fix to last | |
4041 | checkin guarding against NULL. | |
4042 | ||
5b6fe301 MS |
4043 | 2007-08-14 Michael Snyder <msnyder@access-company.com> |
4044 | ||
e5908723 MS |
4045 | * tui-command.c, tui-data.c, tui-disasm.c, tui-file.c, tui-io.c, |
4046 | tui-layout.c, tui-regs.c, tui-source.c, tui-win.c, tui-windata.c, | |
4047 | tui-wingeneral.c, tui-winsource.c: Coding standard, && and || | |
4048 | go at beginning of new line. | |
4049 | ||
08ef48c5 MS |
4050 | * tui-data.c, tui-data.h, tui-disasm.c, tui-disasm.h, tui-hooks.c, |
4051 | tui-io.c, tui-layout.c, tui-layout.h, tui-out.c, tui-regs.c, | |
4052 | tui-source.c, tui-source.h, tui-stack.c, tui-win.c, tui-win.h, | |
4053 | tui-windata.c, tui-windata.h, tui-wingeneral.c, tui-winsource.c, | |
4054 | tui-winsource.h, tui.c, tui.h: Function declarations and | |
4055 | definitions, wrap long lines. | |
4056 | ||
ef5eab5a MS |
4057 | * tui-command.c, tui-data.c, tui-disasm.c, tui-layout.c, |
4058 | tui-regs.c, tui-win.c, tui-windata.c, tui-winsource.c, tui.c: | |
4059 | Reformat block comments to GNU standard. | |
4060 | ||
1cc6d956 MS |
4061 | * tui-command.c, tui-data.c, tui-data.h, tui-disasm.c, tui-file.c, |
4062 | tui-hooks.c, tui-interp.c, tui-io.c, tui-layout.c, tui-out.c, | |
4063 | tui-regs.c, tui-regs.h, tui-source.c, tui-stack.c, tui-win.c, | |
4064 | tui-windata.c, tui-wingeneral.c, tui-winsource.c, tui-winsource.h, | |
4065 | tui.c, tui.h: Comment reformatting to coding standard (capitals, | |
4066 | spaces after periods, etc). | |
4067 | ||
5b6fe301 MS |
4068 | * tui-data.c, tui-data.h, tui-disasm.c, tui-hooks.c, tui-layout.c, |
4069 | tui-regs.c, tui-source.c, tui-stack.c, tui-win.c, tui-windata.c, | |
4070 | tui-wingeneral.c, tui-wingeneral.h, tui-winsource.c, tui.c, | |
4071 | tui-winsource.h: Whitespace changes, fix pointer declarations | |
4072 | to be consistant. | |
4073 | ||
64a1bf19 JB |
4074 | 2007-08-14 Joel Brobecker <brobecker@adacore.com> |
4075 | Michael Snyder <msnyder@access-company.com> | |
4076 | ||
4077 | * ada-lang.c (field_alignment): Guard against NULL. | |
4078 | ||
e933291e JB |
4079 | 2007-08-14 Joel Brobecker <brobecker@adacore.com> |
4080 | ||
4081 | * MAINTAINERS (Global Maintainers): Add self. | |
4082 | ||
348144ba MS |
4083 | 2007-08-14 Michael Snyder <msnyder@access-company.com> |
4084 | ||
068acb6c MS |
4085 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Dead code, dead variable. |
4086 | ||
6d307763 MS |
4087 | * ada-lang.c (possible_user_operator_p): Guard against NULL. |
4088 | ||
348144ba MS |
4089 | * varobj.c (cplus_describe_child): Guard against null. |
4090 | Use "NULL" instead of "0" to initialize pointers. | |
4091 | ||
b8926edc DJ |
4092 | 2007-08-14 Daniel Jacobowitz <dan@codesourcery.com> |
4093 | ||
4094 | * arm-tdep.c (arm_gdbarch_init): Allow unknown ABI and FPU settings | |
4095 | to match any gdbarch with matching OSABI. Set default ABI and FPU | |
4096 | after running the OSABI handler. | |
4097 | ||
cdd6623c DJ |
4098 | 2007-08-14 Daniel Jacobowitz <dan@codesourcery.com> |
4099 | ||
4100 | * config/i386/linux.mh (NATDEPFILES): Move corelow.o from here... | |
4101 | * config/i386/linux.mt (TDEPFILES): ...to here. | |
4102 | ||
cb851954 VP |
4103 | 2007-08-14 Vladimir Prus <vladimir@codesourcery.com> |
4104 | ||
cb851954 VP |
4105 | * breakpoint.c (disable_breakpoints_in_shlibs): Remove |
4106 | the 'silent' parameter and code to implement that. | |
4107 | * breakpoint.h (disable_breakpoints_in_shlibs): Adjust | |
4108 | prototype. | |
4109 | * win32-nat.c: Adjust. | |
4110 | * solib.c: Adjust. | |
4111 | ||
e14a792b VP |
4112 | 2007-08-14 Vladimir Prus <vladimir@codesourcery.com> |
4113 | ||
e14a792b VP |
4114 | * breakpoint.c (update_breakpoints_after_exec): Don't |
4115 | set address to zero. | |
4116 | ||
be8ca11b MS |
4117 | 2007-08-13 Michael Snyder <msnyder@access-company.com> |
4118 | ||
ac3eeb49 MS |
4119 | * valops.c: Whitespace clean-up. |
4120 | ||
81b7c67a MS |
4121 | * tui/tui-winsource.c (tui_alloc_source_buffer): Clean up allocation. |
4122 | ||
f5b73fbb MS |
4123 | * event-top.c (command_line_handler): Memory leak. |
4124 | ||
b538c234 MS |
4125 | * mi/mi-cmd-var.c (mi_cmd_var_set_format): Memory leak. |
4126 | No need to make copy. | |
4127 | ||
be8ca11b MS |
4128 | * source.c (find_source_lines): Require symtab 's'. |
4129 | ||
489f0516 MS |
4130 | 2007-08-11 Michael Snyder <msnyder@access-company.com> |
4131 | ||
4132 | * completer.c: Spelling fix in comments. | |
4133 | ||
9c3f90bd MS |
4134 | 2007-08-10 Michael Snyder <msnyder@access-company.com> |
4135 | ||
687d6395 | 4136 | * gdbtypes.c: Coding standard cleanup. |
7ba81444 MS |
4137 | * gdbtypes.c: Comment/whitespace cleanup. |
4138 | ||
6aef78af MS |
4139 | * stabsread.c (read_huge_number): Attempt to compute value before |
4140 | values that it depends on. | |
4141 | ||
46be51c4 MS |
4142 | * linespec.c (decode_dollar): Dead code, ptr can't be non-null. |
4143 | (decode_objc): Use "NULL" instead of 0. | |
4144 | (find_method): Ditto. | |
4145 | (decode_all_digits): Ditto. | |
4146 | (decode_dollar): Ditto. | |
4147 | ||
412bbd6c MS |
4148 | * mi/mi-main.c (mi_cmd_data_evaluate_expression): Resource leak. |
4149 | ||
76bd6e0b MS |
4150 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Memory leak. |
4151 | ||
518f9d3c MS |
4152 | * solib-svr4.c (enable_break): Don't free tmp_pathname until |
4153 | after closing bfd. | |
4154 | ||
9c3f90bd MS |
4155 | * completer.c: Comment/whitespace cleanup. |
4156 | ||
adee0206 JB |
4157 | 2007-08-10 Joel Brobecker <brobecker@adacore.com> |
4158 | ||
4159 | * Makefile.in (i386nbsd-nat.o): Add missing dependency. | |
4160 | ||
4161 | 2007-08-10 Maxim Grigoriev <maxim2405@gmail.com> | |
9f8e6999 MG |
4162 | |
4163 | * remote-fileio.c (remote_fileio_resize_fd_map): Initialize newly | |
4164 | allocated file descriptors. | |
4165 | ||
271a27b8 JB |
4166 | 2007-08-10 Joel Brobecker <brobecker@adacore.com> |
4167 | ||
4168 | * Makefile.in: Minor cleanup throughout; add some missing variables, | |
4169 | add some missing rules, remove some rules that are no longer needed, | |
4170 | and fix the dependencies in several rules. | |
4171 | ||
57da7796 LC |
4172 | 2007-08-10 Ludovic Courtès <ludo@gnu.org> |
4173 | ||
d4310edb LC |
4174 | * Makefile.in (SFILES): Add scm-{exp,lang,valprint}.c. |
4175 | (scm_lang_h, scm_tags_h): New. | |
4176 | (COMMON_OBS): Add scm-{exp,lang,valprint}.o. | |
4177 | (scm-exp.o, scm-lang.o, scm-valprint.o): New targets. | |
4178 | * defs.h (enum language): Add `language_scm'. | |
4179 | ||
57da7796 LC |
4180 | * MAINTAINERS: Add Emacs local variables to use UTF-8 upon |
4181 | opening. | |
4182 | ||
93c06293 LC |
4183 | 2007-08-09 Ludovic Courtès <ludo@gnu.org> |
4184 | ||
4185 | * MAINTAINERS (Write After Approval): Add myself. | |
4186 | ||
0997b535 MS |
4187 | 2007-08-09 Michael Snyder <msnyder@access-company.com> |
4188 | ||
4189 | * solib.c (solib_open): Memory leak -- openp returns xmalloc buffer. | |
4190 | ||
4fec86cf JB |
4191 | 2007-08-09 Joel Brobecker <brobecker@adacore.com> |
4192 | ||
4193 | * solib-som.c (som_relocate_section_addresses): Stop saving | |
4194 | the $CODE$ section in the so_list structure. | |
4195 | ||
7b871568 MG |
4196 | 2007-08-08 Maxim Grigoriev <maxim2405@gmail.com> |
4197 | ||
4198 | * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): New. | |
4199 | (xtensa_register_group_t): Add entries for coprocessors. | |
4200 | * xtensa-tdep.c (xtensa_init_reggroups): New register groups. | |
4201 | (xtensa_add_reggroups): Likewise. | |
4202 | (xtensa_register_reggroup_p): Likewise. | |
4203 | (xtensa_coprocessor_register_group): New function. | |
4204 | (xtensa_cp): New. | |
4205 | ||
652aaa24 JK |
4206 | 2007-08-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
4207 | ||
4208 | * serial.c (serial_open): Fix the OPEN parameter macro expansion. | |
4209 | ||
decbce07 MS |
4210 | 2007-08-08 Michael Snyder <msnyder@access-company.com> |
4211 | ||
6217bf3e MS |
4212 | * target.c (target_read_string): Guard against null. |
4213 | ||
6225abfa MS |
4214 | * varobj.c (value_of_root): Move alloc after return to avoid leak. |
4215 | ||
3e40160c | 4216 | * tui/tui-layout.c (tui_set_layout): Dead code, dead variable. |
3277c0e0 | 4217 | (tui_set_layout_for_display_command): Mem leak. |
3e40160c | 4218 | |
91d2803c MS |
4219 | * top.c (command_line_input): Memory leak. |
4220 | ||
ea5bf0a1 MS |
4221 | * solib-svr4.c (open_symbol_file_object): Memory leak. |
4222 | (svr4_current_sos): Ditto. | |
4223 | (enable_break): Ditto. | |
4224 | ||
34e2dfde MS |
4225 | * cp-valprint.c (cp_print_hpacc_virtual_table_entries): Memory leak. |
4226 | ||
decbce07 MS |
4227 | * dwarf2read.c (add_partial_symbol): Memory leak. |
4228 | ||
4cdfadb1 MS |
4229 | 2007-08-06 Michael Snyder <msnyder@access-company.com> |
4230 | ||
4231 | * ada-lang.c (desc_bounds): Comparison of function address to NULL. | |
4232 | ||
b1ddacc7 JB |
4233 | 2007-08-05 Jim Blandy <jimb@codesourcery.com> |
4234 | ||
4235 | * macroexp.c (init_buffer): Remove testing code that overrides the | |
4236 | caller's length guess. | |
4237 | (gather_arguments): Use a larger initial size, now that the vector | |
4238 | growth code has been exercised. | |
4239 | ||
5d9643ba PA |
4240 | 2007-08-05 Pedro Alves <pedro_alves@portugalmail.pt> |
4241 | ||
4242 | * solib-target.c (solib_target_relocate_section_addresses): Add | |
4243 | orig_delta to addr_high. | |
4244 | ||
27e06d3e MS |
4245 | 2007-08-04 Michael Snyder <msnyder@access-company.com> |
4246 | ||
1ed489bd MS |
4247 | * remote-fileio.c (remote_fileio_func_write): Memory leak. |
4248 | ||
c1f5197e MS |
4249 | * breakpoint.c (print_one_breakpoint): Off by one error. |
4250 | ||
27e06d3e MS |
4251 | * tracepoint.c (add_register): Off by one error. |
4252 | (stringify_collection_list): Free malloc buffer. | |
4253 | ||
03b4bca2 MS |
4254 | 2007-08-03 Michael Snyder <msnyder@access-company.com> |
4255 | ||
474d0d0c MS |
4256 | * mi-cmd-var.c (mi_cmd_var_delete): Remove unused variable, |
4257 | stop memory leak, straighten out cleanups. | |
4258 | ||
03b4bca2 MS |
4259 | * jv-lang.c (java_link_class_type): Guard against NULL. |
4260 | ||
423c0af8 MS |
4261 | 2007-08-02 Michael Snyder <msnyder@access-company.com> |
4262 | ||
f9780d5b MS |
4263 | * gdbtypes.c (create_set_type): Test should only be done within |
4264 | the preceeding if block. Otherwise, variable is uninitialized. | |
4265 | ||
423c0af8 MS |
4266 | * gdbtypes.c (check_typedef): Guard NULL. |
4267 | ||
c0645fb5 MS |
4268 | 2007-08-01 Michael Snyder <msnyder@access-company.com> |
4269 | ||
3cebf8d8 MS |
4270 | * cli/cli-decode.c (lookup_cmd): Check for null earlier, to |
4271 | avoid dereference in lookup_cmd_1. | |
4272 | ||
c0645fb5 MS |
4273 | * tui/tui-data.c (tui_alloc_content): Move assign out of if, |
4274 | clean up long lines. | |
4275 | (tui_alloc_generic_win_info): Tidy by using XMALLOC macro. | |
4276 | (tui_alloc_win_info): Ditto. | |
4277 | (tui_add_content_elements): Ditto. | |
4278 | * tui/tui-file.c (tui_file_magic): Ditto. | |
4279 | ||
abe34c35 MS |
4280 | 2007-07-31 Michael Snyder <msnyder@access-company.com> |
4281 | ||
967af18d MS |
4282 | * breakpoint.c (breakpoint_init_inferior): Add 'else' to 'if'. |
4283 | True and false paths are mutually exclusive. | |
4284 | ||
40742ab6 MS |
4285 | * event-top.c (command_line_handler): Add pedantic return. |
4286 | ||
7c6e0d48 MS |
4287 | * f-valprint.c (info_common_command): Bail out to prevent null |
4288 | pointer deref. Break up a long line. | |
4289 | ||
c7b1adc9 MS |
4290 | * exec.c (xfer_memory): Remove redundant condition from 'if'. |
4291 | ||
73780b3c MS |
4292 | * symfile.c (reread_separate_symbols): Free xmalloced memory. |
4293 | ||
abe34c35 MS |
4294 | * printcmd.c (build_address_symbolic): Remove dead code and dead |
4295 | variable. | |
4296 | ||
e48883f7 DJ |
4297 | 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com> |
4298 | ||
4299 | * linespec.c (minsym_found): Advance to the next line if possible. | |
4300 | ||
57204837 PA |
4301 | 2007-07-31 Pedro Alves <pedro_alves@portugalmail.pt> |
4302 | ||
4303 | * arm-wince-tdep.c (arm_wince_init_abi): Remove svr4 related call. | |
4304 | * config/arm/wince.mt (TDEPFILES): Remove solib-legacy.o and | |
4305 | solib-svr4.o, and add solib-target.o | |
4306 | ||
fed8b01e MS |
4307 | 2007-07-27 Michael Snyder <msnyder@access-company.com> |
4308 | ||
4309 | * tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof. | |
4310 | ||
9ceb0b4c MR |
4311 | 2007-07-26 Maciej W. Rozycki <macro@linux-mips.org> |
4312 | ||
4313 | * MAINTAINERS (Write After Approval): Add myself. | |
4314 | ||
c80a96a8 MR |
4315 | 2007-07-26 Maciej W. Rozycki <macro@mips.com> |
4316 | ||
4317 | * Makefile.in (MAKEHTMLFLAGS): Also search the current directory | |
4318 | for include files. | |
4319 | ||
5b311828 MR |
4320 | 2007-07-25 Maciej W. Rozycki <macro@mips.com> |
4321 | ||
4322 | * Makefile.in (MAKEHTMLFLAGS): Remove "-glossary". | |
4323 | ||
f52df7d9 | 4324 | 2007-07-24 Michael Snyder <msnyder@access-company.com> |
55765a25 | 4325 | |
f52df7d9 MS |
4326 | * solib-svr4.c (svr4_fetch_objfile_link_map): Null pointer check of |
4327 | 'buffer' must cover both branches that call strcmp (Coverity). | |
55765a25 | 4328 | |
f52df7d9 | 4329 | * stack.c (print_frame_args): Check return value of lookup_symbol. |
747f3d18 MS |
4330 | |
4331 | * ax-gdb.c (find_field): Guard against null ptr. | |
4332 | ||
69ae91d3 UW |
4333 | 2007-07-24 Ulrich Weigand <uweigand@de.ibm.com> |
4334 | ||
4335 | * regformats/reg-spu.dat: Fix order of npc, id registers. | |
4336 | ||
98646950 UW |
4337 | 2007-07-24 Ulrich Weigand <uweigand@de.ibm.com> |
4338 | ||
4339 | * target.c (memory_xfer_partial): Accesses to unmapped overlay | |
4340 | sections should always go to the executable file. | |
4341 | ||
193774b3 MR |
4342 | 2004-07-20 Chris Dearman <chris@mips.com> |
4343 | ||
4344 | * mips-tdep.c (heuristic_proc_start): Add more MIPS16 function | |
4345 | prologue instructions. | |
4346 | ||
ce1f96de MR |
4347 | 2007-07-20 Maciej W. Rozycki <macro@mips.com> |
4348 | ||
4349 | * mips-tdep.c (mips_next_pc): Use is_mips16_addr() instead of | |
4350 | a direct test. | |
4351 | ||
bcf1ea1e MR |
4352 | 2007-07-20 Chris Dearman <chris@mips.com> |
4353 | Maciej W. Rozycki <macro@mips.com> | |
4354 | ||
4355 | * mips-tdep.c (fetch_mips_16): Fix typos and reformat the | |
4356 | description. | |
4357 | ||
255e7678 DJ |
4358 | 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt> |
4359 | Daniel Jacobowitz <dan@codesourcery.com> | |
4360 | ||
4361 | * config/i386/cygwin.mt (TDEPFILES): Add solib-target.o. | |
4362 | * coff-pe-read.c (read_pe_exported_syms): Delete verbose | |
4363 | printf. | |
4364 | * NEWS: Mention gdbserver DLL support. | |
4365 | ||
a8c50c1f DJ |
4366 | 2007-07-17 Daniel Jacobowitz <dan@codesourcery.com> |
4367 | ||
4368 | * dwarf2read.c (dwarf_decode_lines): Detect address size mismatches. | |
4369 | ||
2e024c20 L |
4370 | 2007-07-16 H.J. Lu <hongjiu.lu@intel.com> |
4371 | ||
4372 | * i386-linux-nat.c (fetch_regs): Work around gcc 3.4 alias | |
4373 | warning bug. | |
4374 | ||
f219aedc KB |
4375 | 2007-07-13 Kevin Buettner <kevinb@redhat.com> |
4376 | ||
4377 | * mep-tdep.c (mep_analyze_prologue): Update comment for BRA | |
4378 | instruction case. | |
4379 | ||
1ba3e7a3 KB |
4380 | 2007-07-12 Kevin Buettner <kevinb@redhat.com> |
4381 | ||
4382 | * mep-tdep.c (IS_BRA, BRA_DISP): New macros. | |
4383 | (mep_analyze_prologue): Add case for BRA instruction. | |
4384 | ||
f1e55806 UW |
4385 | 2007-07-12 Ulrich Weigand <uweigand@de.ibm.com> |
4386 | ||
4387 | * solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic. | |
4388 | ||
d9f71b56 NR |
4389 | 2007-07-10 Nick Roberts <nickrob@snap.net.nz> |
4390 | ||
4391 | * breakpoint.c: Include "top.h". | |
4392 | (breakpoint_1): Don't set convenience variable $_ if server prefix | |
4393 | is used. | |
4394 | (_initialize_breakpoint): Describe this behaviour in command help. | |
4395 | ||
358eb95e PA |
4396 | 2007-07-08 Pedro Alves <pedro_alves@portugalmail.pt> |
4397 | ||
4398 | * solib-target.c (library_list_start_segment): Cast address to | |
4399 | CORE_ADDR. | |
4400 | ||
a4e7b2e7 MK |
4401 | 2007-07-06 Mark Kettenis <kettenis@gnu.org> |
4402 | ||
4403 | * bsd-uthread.c (bsd_uthread_wait): Don't try to fetch thread IDs | |
4404 | for terminated processes. | |
4405 | ||
2ed23f5f MS |
4406 | 2007-07-05 Michael Snyder <msnyder@access-company.com> |
4407 | ||
4408 | * event-top.c (cli_command_loop): Prompt string can (and should) | |
4409 | be freed after call to readline (Coverity). Also move local var | |
4410 | declarations into block where they are used. | |
4411 | ||
4412 | * tui/tui-interp.c (tui_command_loop): Prompt string can (and | |
4413 | should) be freed after call to readline (Coverity). Also move | |
4414 | local var declarations into block where they are used. | |
4415 | ||
a25694b4 AS |
4416 | 2007-07-03 Andreas Schwab <schwab@suse.de> |
4417 | ||
4418 | * linux-nat.c (linux_nat_info_proc_cmd): Fix parsing of columns in | |
4419 | /proc/../stat. | |
4420 | ||
2bbe3cc1 DJ |
4421 | 2007-07-03 Paul Gilliam <pgilliam@us.ibm.com> |
4422 | Thiago Bauermann <bauerman@br.ibm.com> | |
4423 | Joseph S. Myers <joseph@codesourcery.com> | |
4424 | Daniel Jacobowitz <dan@codesourcery.com> | |
4425 | ||
4426 | * remote.c (remote_check_symbols): Use | |
4427 | gdbarch_convert_from_func_ptr_addr. | |
4428 | * infcall.c (find_function_addr): Handle function descriptors | |
4429 | without debugging information. | |
4430 | * ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Renamed | |
4431 | from ppc64_linux_convert_from_func_ptr_addr. Handle -msecure-plt. | |
4432 | (ppc_linux_init_abi): Always set convert_from_func_ptr_addr. | |
4433 | * solib-svr4.c (solib_break_names): Remove "._dl_debug_state". | |
4434 | (bfd_lookup_symbol): Do not take a SECT_FLAGS argument. Always | |
4435 | allow SEC_CODE and SEC_DATA. | |
4436 | (enable_break): Update calls. Pass current_target to solib_add. | |
4437 | Use gdbarch_convert_from_func_ptr_addr. | |
4438 | ||
9f43d28c DJ |
4439 | 2007-07-03 Ilko Iliev <iliev@ronetix.at> |
4440 | Daniel Jacobowitz <dan@codesourcery.com> | |
4441 | ||
4442 | * symfile.c (print_transfer_performance): Avoid integer overflow. | |
4443 | Use larger units. | |
4444 | ||
3a40aaa0 UW |
4445 | 2007-07-03 Markus Deuling <deuling@de.ibm.com> |
4446 | ||
4447 | * cp-namespace.c (lookup_symbol_file): Add block to | |
4448 | lookup_symbol_global call. | |
4449 | * Makefile.in (solist_h): Add dependency on symtab header. | |
4450 | (symtab.o): Add dependency on solist header. | |
4451 | * solib.c (solib_global_lookup): New function. | |
4452 | * solib-svr4.c (scan_dyntag): Likewise. | |
4453 | (elf_locate_base): Call helper routine scan_dyntag. | |
4454 | (elf_lookup_lib_symbol): New function. | |
4455 | (_initialize_svr4_solib): Add elf_lookup_lib_symbol to svr4_so_ops. | |
4456 | * solist.h (symtab.h): New include. | |
4457 | (struct target_so_ops): New member lookup_lib_global_symbol. | |
4458 | (solib_global_lookup): New prototype. | |
4459 | * symtab.c: New include solist.h. | |
4460 | (lookup_objfile_from_block): New function. | |
4461 | (lookup_global_symbol_from_objfile): New function. | |
4462 | (basic_lookup_symbol_nonlocal): Add block to lookup_symbol_global call. | |
4463 | (lookup_symbol_global): Call library-specific lookup procedure. | |
4464 | * symtab.h (lookup_global_symbol_from_objfile): New prototype. | |
4465 | ||
4466 | * NEWS: Document framework. | |
4467 | ||
c8c12293 DJ |
4468 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
4469 | ||
4470 | * target-descriptions.c (tdesc_create_reg): Do not set reg->type | |
4471 | to NULL. | |
4472 | ||
4473 | * cli/cli-script.c (build_command_line): Update NULL check. | |
4474 | ||
7877e977 MS |
4475 | 2007-07-02 Michael Snyder <msnyder@access-company.com> |
4476 | ||
4477 | * p-exp.y (yylex): Memory leak, 'uptokstart' must be freed (Coverity). | |
4478 | ||
cfa9d6d9 DJ |
4479 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
4480 | ||
4481 | * Makefile.in (XMLFILES): Add library-list.dtd. | |
4482 | (ALLDEPFILES): Add solib-target.o. | |
4483 | (solib-target.o): New rule. | |
4484 | * remote.c (PACKET_qXfer_libraries): New constant. | |
4485 | (remote_protocol_features): Add qXfer:libraries:read. | |
4486 | (remote_wait): Recognize library stop replies. | |
4487 | (remote_async_wait): Likewise. Fix typo. | |
4488 | (remote_xfer_partial): Handle TARGET_OBJECT_LIBRARIES. | |
4489 | (init_remote_async_ops): Fix typo. | |
4490 | (_initialize_remote): Register "set remote library-info-packet". | |
4491 | * solib-som.c (som_current_sos): Set addr_low and addr_high. | |
4492 | * solib-target.c: New file. | |
4493 | * solib.c (solib_map_sections): Use addr_low and addr_high instead | |
4494 | of textsection. | |
4495 | (info_sharedlibrary_command): Likewise. | |
4496 | (solib_add_library, solib_remove_library): New. | |
4497 | * solist.h (struct so_list): Replace textsection with addr_low and | |
4498 | addr_high. | |
4499 | * target.h (enum target_object): Add TARGET_OBJECT_LIBRARIES. | |
4500 | * NEWS: Describe new qXfer:libraries:read and shared library | |
4501 | event support. | |
4502 | * features/library-list.dtd: New. | |
4503 | ||
b0f4b84b DJ |
4504 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
4505 | ||
4506 | * infrun.c (inferior_ignoring_startup_exec_events): Delete. | |
4507 | (start_remote): Use STOP_QUIETLY_REMOTE. | |
4508 | (handle_inferior_event): Do not condition TARGET_WAITKIND_LOADED | |
4509 | support on a SOLIB_ADD definition. Update breakpoints_inserted. | |
4510 | Update to match shared library event breakpoint support. Only | |
4511 | resume if appropriate. Handle STOP_QUIETLY_REMOTE. | |
4512 | (normal_stop): Handle TARGET_WAITKIND_LOADED. | |
4513 | * fork-child.c (startup_inferior): Do not set | |
4514 | inferior_ignoring_startup_exec_events | |
4515 | * inferior.h (inferior_ignoring_startup_exec_events): Delete | |
4516 | declaration. | |
4517 | (enum stop_kind): Improve documentation. Add STOP_QUIETLY_REMOTE. | |
4518 | ||
9bbf65bb UW |
4519 | 2007-07-02 Markus Deuling <deuling@de.ibm.com> |
4520 | ||
4521 | * breakpoint.c (insert_bp_location): Remove dead code | |
4522 | (DISABLE_UNSETTABLE_BREAK). | |
4523 | (disable_breakpoints_in_shlibs) | |
4524 | (disable_breakpoints_in_unloaded_shlib): Likewise (comment). | |
4525 | ||
a4954f26 DJ |
4526 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
4527 | ||
4528 | * breakpoint.c (reattach_breakpoints): Do not use remove_breakpoint. | |
4529 | Call insert_bp_location. | |
4530 | ||
b48516f9 L |
4531 | 2007-07-01 H.J. Lu <hongjiu.lu@intel.com> |
4532 | ||
4533 | * core-regset.c (fetch_core_registers): Work around gcc 3.4 | |
4534 | alias warning bug. | |
4535 | ||
96225718 DJ |
4536 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
4537 | ||
4538 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Search fewer | |
4539 | objfiles. | |
4540 | ||
1b05479a DJ |
4541 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
4542 | ||
4543 | * top.c (gdb_readline_wrapper_line): Call rl_callback_handler_remove. | |
4544 | (struct gdb_readline_wrapper_cleanup): Remove prompt_orig. | |
4545 | (gdb_readline_wrapper_cleanup): Do not reset the prompt. | |
4546 | (gdb_readline_wrapper): Do not save the prompt. Pass our prompt | |
4547 | to display_gdb_prompt. | |
4548 | ||
5ad3a4ca DJ |
4549 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
4550 | ||
4551 | PR symtab/2161 | |
4552 | * target.c (memory_xfer_partial): Do not continue past targets with | |
4553 | all memory. | |
4554 | ||
4ed77933 AS |
4555 | 2007-06-30 Andreas Schwab <schwab@suse.de> |
4556 | ||
4713453b AS |
4557 | * m68k-tdep.c (m68k_ps_type): New. |
4558 | (m68k_init_types): New. | |
4559 | (m68k_register_type): Use m68k_ps_type for PS register. | |
4560 | (_initialize_m68k_tdep): Call m68k_init_types. | |
4561 | ||
4ed77933 AS |
4562 | * m68k-tdep.c (m68k_gdbarch_init): Don't infer coldfire flavour |
4563 | from the generic m68k arch. | |
4564 | ||
dd3526aa MS |
4565 | 2007-06-28 Michael Snyder <msnyder@access-company.com> |
4566 | ||
f08312c2 MS |
4567 | * m2-typeprint.c (m2_print_type): Move pointer ref after null test |
4568 | (Coverity). | |
4569 | ||
a787bedf MS |
4570 | * linux-thread-db.c (thread_db_get_thread_local_address): Add |
4571 | gdb_assert before using return value of find_thread_pid (Coverity). | |
4572 | ||
77accacd MS |
4573 | * source.c (unset_substitute_path_command): Plug leak (Coverity). |
4574 | ||
dd3526aa MS |
4575 | * cli/cli-script.c (build_command_line): Add null pointer guard |
4576 | (Coverity). | |
4577 | ||
4105de34 DJ |
4578 | 2007-06-27 Daniel Jacobowitz <dan@codesourcery.com> |
4579 | ||
4580 | * linux-thread-db.c (thread_db_attach): Delete. | |
4581 | (thread_db_detach): Typo fix. Call target_mourn_inferior | |
4582 | instead of fixing up proc_handle. | |
4583 | (have_threads_callback, have_threads): New functions. | |
4584 | (thread_db_wait): Remove dead proc_handle.pid check. Only | |
4585 | translate PTIDs if we have registered threads. Check for new | |
4586 | threads if we have none. | |
4587 | (thread_db_create_inferior, thread_db_post_startup_inferior): Delete. | |
4588 | (find_new_threads_callback): Only enable event reporting if TID == 0. | |
4589 | (same_ptid_callback): New. | |
4590 | (thread_db_get_thread_local_address): Check for new threads. | |
4591 | (init_thread_db_ops): Don't set to_attach, to_create_inferior, | |
4592 | or to_post_startup_inferior. | |
4593 | ||
1c0fdd0e UW |
4594 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
4595 | ||
4596 | * infrun.c (adjust_pc_after_break): Do not assume software single-step | |
4597 | is always active if SOFTWARE_SINGLE_STEP_P is true. | |
4598 | (resume): Use gdbarch_software_single_step[_p] instead of | |
4599 | SOFTWARE_SINGLE_STEP[_P]. | |
4600 | (handle_inferior_event): Do not check for SOFTWARE_SINGLE_STEP_P. | |
4601 | ||
4602 | * gdbarch.sh (software_single_step): Remove target macro. | |
4603 | * gdbarch.h, gdbarch.c: Regenerate. | |
4604 | ||
e487cc15 UW |
4605 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
4606 | ||
4607 | * gdbarch.sh (gdbarch_swap_ftype, deprecated_register_gdbarch_swap, | |
4608 | DEPRECATED_REGISTER_GDBARCH_SWAP): Remove. | |
4609 | (struct gdbarch_swap, struct gdbarch_swap_registration, | |
4610 | struct gdbarch_swap_registry, gdbarch_swap_registry, | |
4611 | current_gdbarch_swap_init_hack, current_gdbarch_swap_out_hack, | |
4612 | current_gdbarch_swap_in_hack): Remove. | |
4613 | (find_arch_by_info): Do not call current_gdbarch_swap_init_hack. | |
4614 | (gdbarch_find_by_info): Do not call current_gdbarch_swap_in_hack | |
4615 | and current_gdbarch_swap_out_hack, update current_gdbarch directly. | |
4616 | (deprecated_current_gdbarch_select_hack): Likewise. | |
4617 | * gdbarch.h, gdbarch.c: Regenerate. | |
4618 | ||
d5c31457 UW |
4619 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
4620 | ||
4621 | * infrun.c (clear_proceed_status): Clean up stop_registers. | |
4622 | (normal_stop): Allocate regcache for stop_registers. | |
4623 | (struct inferior_status): Remove stop_registers member. | |
4624 | (save_inferior_status): Do not save stop_registers. | |
4625 | (restore_inferior_status): Do not restore stop_registers. | |
4626 | (discard_inferior_status): Do not discard stop_registers. | |
4627 | (build_infrun): Remove. | |
4628 | (_initialize_infrun): Do not swap stop_registers. | |
4629 | ||
911c95a5 UW |
4630 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
4631 | ||
4632 | * remote.c (remote_address_masked): If remote_address_size is zero, | |
4633 | default to target address size. | |
4634 | (build_remote_gdbarch_data): Remove. | |
4635 | (_initialize_remote): Do not swap remote_address_size. | |
4636 | ||
5674de60 UW |
4637 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
4638 | ||
4639 | * gdbtypes.h (builtin_type_true_char, builtin_type_void, | |
4640 | builtin_type_char, builtin_type_short, builtin_type_int, | |
4641 | builtin_type_long, builtin_type_signed_char, | |
4642 | builtin_type_unsigned_char, builtin_type_unsigned_short, | |
4643 | builtin_type_unsigned_int, builtin_type_unsigned_long, | |
4644 | builtin_type_float, builtin_type_double, builtin_type_long_double, | |
4645 | builtin_type_complex, builtin_type_double_complex, builtin_type_string, | |
4646 | builtin_type_bool, builtin_type_long_long, | |
4647 | builtin_type_unsigned_long_long, builtin_type_void_data_ptr, | |
4648 | builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Replace global | |
4649 | variable declaration with compatibility macro. | |
4650 | * gdbtypes.c (builtin_type_true_char, builtin_type_void, | |
4651 | builtin_type_char, builtin_type_short, builtin_type_int, | |
4652 | builtin_type_long, builtin_type_signed_char, | |
4653 | builtin_type_unsigned_char, builtin_type_unsigned_short, | |
4654 | builtin_type_unsigned_int, builtin_type_unsigned_long, | |
4655 | builtin_type_float, builtin_type_double, builtin_type_long_double, | |
4656 | builtin_type_complex, builtin_type_double_complex, builtin_type_string, | |
4657 | builtin_type_bool, builtin_type_long_long, | |
4658 | builtin_type_unsigned_long_long, builtin_type_void_data_ptr, | |
4659 | builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Remove. | |
4660 | (build_gdbtypes): Remove. | |
4661 | (_initialize_gdbtypes): Do not call build_gdbtypes, move installing | |
4662 | opaque-type-resolution command here. Do not call | |
4663 | deprecated_register_gdbarch_swap. | |
4664 | ||
64c50499 UW |
4665 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
4666 | ||
4667 | * gdbtypes.h (struct builtin_type): New members nodebug_text_symbol, | |
4668 | nodebug_data_symbol, nodebug_unknown_symbol, and nodebug_tls_symbol. | |
4669 | * gdbtypes.c (gdbtypes_post_init): Initialize nodebug_ default types. | |
4670 | ||
4671 | * parse.c (msym_text_symbol_type, msym_data_symbol_type): Remove. | |
4672 | (msym_unknown_symbol_type, msym_tls_symbol_type): Remove. | |
4673 | (write_exp_msymbol): Use builtin nodebug_ types instead of them. | |
4674 | (build_parse): Remove. | |
4675 | (_initialize_parse): Do not call build_parse. Do not register | |
4676 | msym_ types for gdbarch-swapping. | |
4677 | ||
4678 | * dwarf2read.c (new_symbol): Use default nodebug_data_symbol type | |
4679 | instead of creating private type. | |
4680 | ||
4681 | * xcoffread.c (func_symbol_type, var_symbol_type): Remove. | |
4682 | (_initialize_xcoffread): Do not initialized them. | |
4683 | (process_xcoff_symbol): Use builtin nodebug_ types instead of them. | |
4684 | ||
4685 | * mdebugread.c (nodebug_func_symbol_type): Remove. | |
4686 | (nodebug_var_symbol_type): Remove. | |
4687 | (_initialize_mdebugread): Do not initialize them. | |
4688 | (parse_symbol): Use builtin nodebug_ type instead of them. | |
4689 | (parse_procedure): Likewise. | |
4690 | ||
6a2eb474 MR |
4691 | 2007-06-21 Chris Dearman <chris@mips.com> |
4692 | ||
4693 | * printcmd.c (do_one_display): If display/i, start with an initial | |
4694 | line feed to avoid bad layout if there is a branch delay slot. | |
4695 | ||
a4642986 MR |
4696 | 2007-06-21 Nigel Stephens <nigel@mips.com> |
4697 | Maciej W. Rozycki <macro@mips.com> | |
4698 | ||
4699 | * disasm.c (gdb_print_insn): Return the number of branch delay | |
4700 | slot instructions too. | |
4701 | * disasm.h (gdb_print_insn): Update prototype. | |
4702 | * printcmd.c (branch_delay_insns): New variable to record the | |
4703 | number of delay slot instructions after disassembling a branch. | |
4704 | (print_formatted): Record the number of branch delay slot | |
4705 | instructions. | |
4706 | (do_examine): When disassembling, if the last instruction | |
4707 | disassembled has any branch delay slots, then bump the count so | |
4708 | that they get disassembled too. | |
4709 | * tui/tui-disasm.c (tui_disassemble): Update the call to | |
4710 | gdb_print_insn(). | |
4711 | * NEWS: Document the new behaviour. | |
4712 | ||
ade28716 AS |
4713 | 2007-06-21 Andreas Schwab <schwab@suse.de> |
4714 | ||
4715 | * regcache.c (write_pc_pid): Restore missing else. | |
4716 | ||
28c38f10 UW |
4717 | 2007-06-20 Ulrich Weigand <uweigand@de.ibm.com> |
4718 | ||
4719 | * regcache.c (regcache_print): Use get_current_regcache () | |
4720 | instead of current_regcache. | |
4721 | ||
52b57208 L |
4722 | 2007-06-20 H.J. Lu <hongjiu.lu@intel.com> |
4723 | ||
4724 | PR 4606 | |
4725 | * gcore.c (gcore_command): Use bfd_make_section_anyway_with_flags | |
4726 | instead of bfd_make_section_anyway. | |
4727 | (gcore_create_callback): Likewise. Also set SEC_NEVER_LOAD | |
4728 | when clearing SEC_LOAD. | |
4729 | ||
8bf8793c JM |
4730 | 2007-06-19 Joseph Myers <joseph@codesourcery.com> |
4731 | ||
4732 | * arm-tdep.c (arm_push_dummy_call): Correct padding of partial | |
4733 | registers for big-endian. | |
4734 | ||
7f5c84d3 UW |
4735 | 2007-06-19 Markus Deuling <deuling@de.ibm.com> |
4736 | ||
4737 | * gdbarch.sh (TARGET_PRINT_INSN): Replace by gdbarch_print_insn. | |
4738 | * disasm.c (dump_insns, gdb_print_insn): Likewise. | |
4739 | * gdbarch.c, gdbarch.h: Regenerate. | |
4740 | ||
f73e88f9 UW |
4741 | 2007-06-19 Markus Deuling <deuling@de.ibm.com> |
4742 | ||
4743 | * gdbarch.sh (BELIEVE_PCC_PROMOTION): Replace by | |
4744 | gdbarch_believe_pcc_promotion. | |
4745 | * stabsread.c (define_symbol): Likewise. | |
4746 | Remove unnecessary definition. | |
4747 | * coffread.c (process_coff_symbol): Remove unnecessary code. | |
4748 | * gdbarch.c, gdbarch.h: Regenerate. | |
4749 | ||
cab58a69 DJ |
4750 | 2007-06-19 Daniel Jacobowitz <dan@codesourcery.com> |
4751 | ||
4752 | * configure.ac: Do not use ${objdir}. | |
4753 | * configure: Regenerated. | |
4754 | ||
f0c9063c UW |
4755 | 2007-06-18 Ulrich Weigand <uweigand@de.ibm.com> |
4756 | ||
4757 | * gdbarch.sh (deprecated_register_size): Remove. | |
4758 | * gdbarch.h, gdbarch.c: Regenerate. | |
4759 | ||
4760 | * arm-tdep.c (arm_push_dummy_call): Replace DEPRECATED_REGISTER_SIZE | |
4761 | by INT_REGISTER_SIZE. | |
4762 | (thumb_get_next_pc, arm_return_in_memory): Likewise. | |
4763 | (arm_gdbarch_init): Do not call set_gdbarch_deprecated_register_size. | |
4764 | * ia64-tdep.c (ia64_gdbarch_init): Do not call | |
4765 | set_gdbarch_deprecated_register_size. | |
4766 | ||
064f5156 UW |
4767 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
4768 | ||
4769 | * gdbarch.sh (DEPRECATED_FP_REGNUM): Replace by | |
4770 | gdbarch_deprecated_fp_regnum. | |
4771 | * std-regs.c (value_of_builtin_frame_fp_reg): Likewise. | |
4772 | * remote-mips.c (mips_wait, mips_fetch_registers): Likewise. | |
4773 | * arch-utils.c (legacy_virtual_frame_pointer): Likewise. | |
4774 | * arch-utils.h (gdbarch_virtual_frame_pointer_ftype): Likewise | |
4775 | (comment). | |
4776 | * gdbarch.c, gdbarch.h: Regenerate. | |
4777 | ||
4778 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> | |
4779 | ||
4780 | * gdbarch.sh (EXTRACT_RETURN_VALUE): Replace with | |
4781 | gdbarch_extract_return_value. | |
4782 | * value.c (generic_use_struct_convention): Likewise (comment). | |
4783 | * ia64-tdep.c (ia64_use_struct_convention): Likewise (comment). | |
4784 | * arch-utils.c (legacy_return_value): Likewise. | |
4785 | * arch-utils.h (legacy_return_value): Likewise (comment). | |
4786 | * gdbarch.sh (STORE_RETURN_VALUE): Replace by | |
4787 | gdbarch_store_return_value. | |
4788 | * stack.c (return_command): Likewise (comment). | |
4789 | * arch-utils.h (legacy_return_value): Likewise (comment). | |
4790 | * arch-utils.c (legacy_return_value): Likewise. | |
4791 | * gdbarch.c, gdbarch.h: Regenerate. | |
4792 | ||
b187c476 UW |
4793 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
4794 | ||
4795 | * gdbarch.sh (DEPRECATED_USE_STRUCT_CONVENTION): Replace by | |
4796 | gdbarch_deprecated_use_struct_convention. | |
4797 | * arch-utils.c (legacy_return_value): Likewise. | |
4798 | * gdbarch.c, gdbarch.h: Regenerate. | |
4799 | ||
cbf3b44a UW |
4800 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
4801 | ||
4802 | * gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Replace by | |
4803 | gdbarch_deprecated_function_start_offset. | |
4804 | * symtab.c (find_function_start_sal)skip_prologue_using_sal): Likewise. | |
4805 | * linespec.c (minsym_found): Likewise. | |
4806 | * infrun.c (handle_inferior_event): Likewise. | |
4807 | * infcall.c (find_function_addr): Likewise. | |
4808 | * cli/cli-cmds.c (disassemble_command): Likewise. | |
4809 | * gdbarch.c, gdbarch.h: Regenerate. | |
4810 | ||
bceb6e50 UW |
4811 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
4812 | ||
4813 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Replace by | |
4814 | gdbarch_deprecated_reg_struct_has_addr. | |
4815 | * infcall.c (call_function_by_hand): Likewise. | |
4816 | (DEPRECATED_REG_STRUCT_HAS_ADDR_P): Replace by | |
4817 | * gdbarch_deprecated_reg_struct_has_addr_p. | |
4818 | * infcall.c (call_function_by_hand): Likewise. | |
4819 | * gdbarch.c, gdbarch.h: Regenerate. | |
4820 | ||
8ed6a7ba UW |
4821 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
4822 | ||
4823 | * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
4824 | * sh-tdep.c (sh_extract_struct_value_address): Remove. | |
4825 | (sh_gdbarch_init): Remove | |
4826 | set_gdbarch_deprecated_extract_struct_value_address. | |
4827 | * sh64-tdep.c (sh64_extract_struct_value_address): Remove. | |
4828 | (sh64_gdbarch_init): Remove | |
4829 | set_gdbarch_deprecated_extract_struct_value_address. | |
4830 | * ia64-tdep.c (ia64_extract_struct_value_address): Remove. | |
4831 | (ia64_gdbarch_init): Remove | |
4832 | set_gdbarch_deprecated_extract_struct_value_address. | |
4833 | * frv-tdep.c (frv_extract_struct_value_address): Remove. | |
4834 | (frv_gdbarch_init): Remove | |
4835 | set_gdbarch_deprecated_extract_struct_value_address. | |
4836 | * gdbarch.c, gdbarch.h: Regenerate. | |
4837 | ||
3e8c568d UW |
4838 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
4839 | ||
4840 | * gdbarch.sh (SP_REGNUM): Replace by gdbarch_sp_regnum. | |
4841 | * v850-tdep.c (v850_unwind_sp): Likewise. | |
4842 | * std-regs.c (value_of_builtin_frame_sp_reg): Likewise. | |
4843 | * stack.c (frame_info): Likewise. | |
4844 | * stabsread.c (define_symbol): Likewise. | |
4845 | * sh-tdep.c (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu) | |
4846 | (sh_dwarf2_frame_init_reg, sh_frame_cache, sh_frame_prev_register) | |
4847 | (sh_unwind_sp): Likewise. | |
4848 | * sh64-tdep.c (sh64_push_dummy_call, sh64_frame_cache) | |
4849 | (sh64_frame_prev_register, sh64_unwind_sp): Likewise. | |
4850 | * rs6000-tdep.c (rs6000_push_dummy_call, rs6000_unwind_dummy_id) | |
4851 | (rs6000_frame_cache): Likewise. | |
4852 | * rs6000-nat.c (store_register): Likewise. | |
4853 | * remote-mips.c (mips_wait): Likewise. | |
4854 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
4855 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call) | |
4856 | (ppc64_sysv_abi_push_dummy_call): Likewise. | |
4857 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise. | |
4858 | * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise. | |
4859 | * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise. | |
4860 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
4861 | * m32r-rom.c (m32r_supply_register): Likewise. | |
4862 | * frame.c (frame_sp_unwind): Likewise. | |
4863 | * mips-tdep.c (mips_insn16_frame_cache) | |
4864 | (mips_insn32_frame_cache): Likewise (comment). | |
4865 | * m68klinux-nat.c (supply_gregset): Likewise. | |
4866 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
4867 | * ia64-tdep.c (ia64_frame_prev_register): Likewise. | |
4868 | * i386-tdep.c (i386_get_longjmp_target): Likewise. | |
4869 | * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise. | |
4870 | * cris-tdep.c (cris_regnums, cris_sigcontext_addr) | |
4871 | (cris_sigtramp_frame_unwind_cache, cris_push_dummy_call) | |
4872 | (cris_scan_prologue, crisv32_scan_prologue, cris_unwind_sp) | |
4873 | (cris_register_type, crisv32_register_type) | |
4874 | (cris_dwarf2_frame_init_reg): Likewise. | |
4875 | * arch-utils.c (legacy_virtual_frame_pointer): Likewise. | |
4876 | * amd64-tdep.c (amd64_frame_prev_register): Likewise. | |
4877 | * amd64-linux-tdep.c (amd64_linux_sigcontext_addr): Likewise. | |
4878 | * libunwind-frame.c (libunwind_frame_cache): Likewise. | |
4879 | ||
4880 | * gdbarch.sh (PC_REGNUM): Replace by gdbarch_pc_regnum. | |
4881 | * regcache.c (read_pc_pid, generic_target_write_pc): Likewise. | |
4882 | * xtensa-tdep.c (xtensa_register_type, xtensa_supply_gregset) | |
4883 | (xtensa_unwind_pc, xtensa_frame_cache, xtensa_frame_prev_register) | |
4884 | (xtensa_extract_return_value, xtensa_store_return_value): Likewise. | |
4885 | * v850-tdep.c (v850_unwind_pc): Likewise. | |
4886 | * stack.c (frame_info): Likewise. | |
4887 | * sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh2e_show_regs) | |
4888 | (sh2a_show_regs, sh2a_nofpu_show_regs, sh3e_show_regs) | |
4889 | (sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs) | |
4890 | (sh_dwarf2_frame_init_reg, sh_frame_prev_register, sh_unwind_pc) | |
4891 | (sh_dsp_show_regs): Likewise. | |
4892 | * shnbsd-tdep.c (shnbsd_supply_gregset) | |
4893 | (shnbsd_collect_gregset): Likewise. | |
4894 | * shnbsd-nat.c (GETREGS_SUPPLIES): Likewise. | |
4895 | * sh64-tdep.c (sh64_compact_reg_base_num, sh64_show_media_regs) | |
4896 | (sh64_frame_prev_register, sh64_unwind_pc): Likewise. | |
4897 | * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset) | |
4898 | (6000_register_reggroup_p, rs6000_unwind_pc) | |
4899 | (rs6000_frame_cache): Likewise. | |
4900 | * rs6000-nat.c (regmap, rs6000_fetch_inferior_registers) | |
4901 | (rs6000_store_inferior_registers): Likewise. | |
4902 | * remote-mips.c (mips_wait, mips_load): Likewise. | |
4903 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
4904 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise. | |
4905 | * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise. | |
4906 | * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise. | |
4907 | * ppcnbsd-nat.c (getregs_supplies, ppcnbsd_supply_pcb): Likewise. | |
4908 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
4909 | * ppc-linux-nat.c (ppc_register_u_addr, fetch_ppc_registers) | |
4910 | (store_ppc_registers, fill_gregset): Likewise. | |
4911 | * mips-tdep.c (mips_stub_frame_cache, mips_gdbarch_init): Likewise. | |
4912 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_fill_reg): Likewise. | |
4913 | * mipsnbsd-nat.c (getregs_supplies): Likewise. | |
4914 | * m68k-tdep.c (m68k_register_type, m68k_unwind_pc): Likewise. | |
4915 | * m68klinux-nat.c (supply_gregset): Likewise. | |
4916 | * irix5-nat.c (fill_gregset): Likewise. | |
4917 | * i386-tdep.c (i386_unwind_pc): Likewise. | |
4918 | * i386-linux-nat.c (i386_linux_resume): Likewise. | |
4919 | * frame.c (get_prev_frame_1): Likewise. | |
4920 | * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise. | |
4921 | * dbug-rom.c (dbug_supply_register): Likewise. | |
4922 | * cris-tdep.c (cris_sigtramp_frame_unwind_cache, cris_scan_prologue) | |
4923 | (crisv32_scan_prologue, cris_unwind_pc, cris_register_size) | |
4924 | (cris_register_type, crisv32_register_type, crisv32_register_name) | |
4925 | (cris_dwarf2_frame_init_reg, find_step_target) | |
4926 | (cris_software_single_step, cris_supply_gregset) | |
4927 | (cris_regnums): Likewise. | |
4928 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. | |
4929 | * aix-thread.c (special_register_p, supply_sprs64, supply_sprs32) | |
4930 | (fill_sprs64, fill_sprs32, store_regs_user_thread): Likewise. | |
4931 | * std-regs.c (value_of_builtin_frame_pc_reg): Likewise. | |
4932 | * mips-linux-tdep.c (mips_linux_write_pc): Likewise. | |
4933 | ||
4934 | * gdbarch.sh (PS_REGNUM): Replace by gdbarch_ps_regnum. | |
4935 | * dbug-rom.c (dbug_supply_register): Likewise. | |
4936 | * xtensa-tdep.c (xtensa_supply_gregset, xtensa_frame_cache) | |
4937 | (xtensa_frame_prev_register, xtensa_push_dummy_call): Likewise. | |
4938 | * win32-nat.c (win32_resume): Likewise. | |
4939 | * std-regs.c (value_of_builtin_frame_ps_reg): Likewise. | |
4940 | * m68k-tdep.c (m68k_register_type): Likewise. | |
4941 | * m68klinux-nat.c (supply_gregset): Likewise. | |
4942 | ||
4943 | * gdbarch.sh (FP0_REGNUM): Replace by gdbarch_fp0_regnum. | |
4944 | * sh-tdep.c (sh_extract_return_value_fpu, sh_store_return_value_fpu) | |
4945 | (sh2e_show_regs, sh2a_show_regs, sh3e_show_regs, sh4_show_regs) | |
4946 | (sh_sh2a_register_type, sh_sh3e_register_type, sh_sh4_register_type) | |
4947 | (fv_reg_base_num, dr_reg_base_num): Likewise. | |
4948 | * sh64-tdep.c (sh64_fv_reg_base_num, sh64_dr_reg_base_num) | |
4949 | (sh64_fpp_reg_base_num, sh64_compact_reg_base_num, sh64_push_dummy_call) | |
4950 | (sh64_extract_return_value, sh64_store_return_value) | |
4951 | (sh64_show_media_regs, sh64_show_compact_regs, sh64_register_type) | |
4952 | (sh64_do_fp_register, sh64_media_print_registers_info): Likewise. | |
4953 | * procfs.c (procfs_fetch_registers, procfs_store_registers) | |
4954 | (invalidate_cache): Likewise. | |
4955 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
4956 | * mipsnbsd-tdep.c (mipsnbsd_supply_fpreg) | |
4957 | (mipsnbsd_fill_fpreg): Likewise. | |
4958 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers) | |
4959 | (mipsnbsd_store_inferior_registers): Likewise. | |
4960 | * mips-linux-tdep.c (mips_supply_fpregset, mips_fill_fpregset) | |
4961 | (mips64_supply_fpregset, mips64_fill_fpregset): Likewise. | |
4962 | * mips-linux-nat.c (mips64_linux_register_addr): Likewise. | |
4963 | * m68k-tdep.c (m68k_register_type, m68k_convert_register_p): Likewise. | |
4964 | * m68klinux-nat.c (getfpregs_supplies, supply_fpregset) | |
4965 | (fill_fpregset): Likewise. | |
4966 | * irix5-nat.c (supply_fpregset, fill_fpregset): Likewise. | |
4967 | * i386-tdep.h (struct_return): Likewise (comment). | |
4968 | * i386-nto-tdep.c (i386nto_register_area): Likewise. | |
4969 | * go32-nat.c (fetch_register, go32_fetch_registers, store_register) | |
4970 | (go32_store_registers): Likewise. | |
4971 | * alpha-tdep.c (alpha_next_pc): Likewise. | |
4972 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. | |
4973 | * alphabsd-nat.c (alphabsd_fetch_inferior_registers) | |
4974 | (alphabsd_store_inferior_registers): Likewise. | |
4975 | * core-regset.c (fetch_core_registers): Likewise. | |
4976 | * i386v4-nat.c (supply_fpregset, fill_fpregset): Likewise. | |
4977 | ||
4978 | * gdbarch.c, gdbarch.h: Regenerate. | |
4979 | ||
31d99776 DJ |
4980 | 2007-06-18 Daniel Jacobowitz <dan@codesourcery.com> |
4981 | ||
4982 | * coffread.c (coff_sym_fns): Add default_symfile_segments. | |
4983 | * dbxread.c (start_psymtab): Check HAVE_ELF. | |
4984 | (aout_sym_fns): Likewise. | |
4985 | * elfread.c (elf_symfile_segments): New. | |
4986 | (elf_sym_fns): Add elf_symfile_segments. | |
4987 | * mipsread.c (ecoff_sym_fns): Add default_symfile_segments. | |
4988 | * remote.c (get_offsets): Use symfile_map_offsets_to_segments. | |
4989 | Skip if there is no symfile_objfile. Handle TextSeg and DataSeg. | |
4990 | * somread.c (som_sym_fns): Use default_symfile_segments. | |
4991 | * symfile.c (find_sym_fns): Take a BFD and return the sym_fns. | |
4992 | (init_objfile_sect_indices): Call symfile_find_segment_sections. | |
4993 | (default_symfile_segments): New function. | |
4994 | (syms_from_objfile): Update call to find_sym_fns. | |
4995 | (symfile_get_segment_data, free_symfile_segment_data): New. | |
4996 | (symfile_map_offsets_to_segments): New. | |
4997 | (symfile_find_segment_sections): New. | |
4998 | * symfile.h (struct symfile_segment_data): New. | |
4999 | (struct sym_fns): Add sym_segments. | |
5000 | (default_symfile_segments, symfile_get_segment_data) | |
5001 | (free_symfile_segment_data): New prototypes. | |
5002 | (symfile_map_offsets_to_segments): Likewise. | |
5003 | * xcoffread.c (xcoff_sym_fns): Add default_symfile_segments. | |
5004 | * Makefile.in (COMMON_OBS): Remove elfread.o. | |
5005 | (elf_internal_h): New. | |
5006 | (elfread.o): Update. | |
5007 | * configure.ac: Add elfread.o to COMMON_OBS if bfd/elf.o was | |
5008 | compiled. | |
5009 | * config.in, configure: Regenerated. | |
5010 | * NEWS: Mention qOffsets changes. | |
5011 | ||
5760b90a UW |
5012 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
5013 | ||
5014 | * gdbtypes.h (builtin_type_m2_char, builtin_type_m2_int, | |
5015 | builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool): | |
5016 | Replace global variable declaration with compatibility macro. | |
5017 | (struct builtin_m2_type): New data type. | |
5018 | (builtin_m2_type): Add prototype. | |
5019 | * m2-lang.c (builtin_type_m2_char, builtin_type_m2_int, | |
5020 | builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool): | |
5021 | Remove global variables. | |
5022 | (m2_language_arch_info): Use builtin_m2_type instead of variables. | |
5023 | (build_m2_types): New function. | |
5024 | (m2_type_data): New variable. | |
5025 | (builtin_m2_type): New function. | |
5026 | (_initialize_m2_language): Do not build data types. Register | |
5027 | m2_type_data per-gdbarch data. | |
5028 | ||
54ef06c7 UW |
5029 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
5030 | ||
5031 | * gdbtypes.h (builtin_type_f_character, builtin_type_f_logical, | |
5032 | builtin_type_f_logical_s1, builtin_type_f_logical_s2, | |
5033 | builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real, | |
5034 | builtin_type_f_real_s8, builtin_type_f_real_s16, | |
5035 | builtin_type_f_complex_s8, builtin_type_f_complex_s16, | |
5036 | builtin_type_f_complex_s32, builtin_type_f_void): Replace global | |
5037 | variable declaration with compatibility macro. | |
5038 | (struct builtin_f_type): New data type. | |
5039 | (builtin_f_type): Add prototype. | |
5040 | * f-lang.c (builtin_type_f_character, builtin_type_f_logical, | |
5041 | builtin_type_f_logical_s1, builtin_type_f_logical_s2, | |
5042 | builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real, | |
5043 | builtin_type_f_real_s8, builtin_type_f_real_s16, | |
5044 | builtin_type_f_complex_s8, builtin_type_f_complex_s16, | |
5045 | builtin_type_f_complex_s32, builtin_type_f_void): Remove variables. | |
5046 | (f_language_arch_info): Use builtin_f_type instead of variables. | |
5047 | (build_fortran_types): Build builtin_f_type structure instead of | |
5048 | setting global type variables. | |
5049 | (f_type_data): New variable. | |
5050 | (builtin_f_type): New function. | |
5051 | (_initialize_f_language): Do not call build_fortran_types. Do not | |
5052 | swap global type variables. Register f_type_data per-gdbarch data. | |
5053 | ||
92e0cef4 UW |
5054 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
5055 | ||
5056 | * f-lang.c (_initialize_f_language): Do not initialize or | |
5057 | swap builtin_type_string. | |
5058 | ||
5d8140d1 UW |
5059 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
5060 | ||
0e7b1906 UW |
5061 | * std-regs.c (builtin_type_frame_reg, build_builtin_type_frame_reg, |
5062 | value_of_builtin_frame_reg): Remove. | |
5063 | (_initialize_frame_reg): Do not swap builtin_type_frame_reg. Remove | |
5064 | inactive call to value_of_builtin_frame_reg. | |
5065 | ||
5066 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> | |
5067 | ||
5068 | * gdbarch.sh (bfd_vma_bit): Remove. | |
5d8140d1 UW |
5069 | * gdbarch.c, gdbarch.h: Regenerate. |
5070 | ||
5071 | * gdbtypes.h (builtin_bfd_vma_type): Remove. | |
5072 | * gdbtypes.h (builtin_bfd_vma_type): Remove. | |
5073 | (build_gdbtypes): Do not initialize it. | |
5074 | (_initialize_gdbtypes): Do not swap it. | |
5075 | ||
794ac428 UW |
5076 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
5077 | ||
5078 | * gdbtypes.c (builtin_type_v2_double, builtin_type_v4_float, | |
5079 | builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16, | |
5080 | builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32, | |
5081 | builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf, | |
5082 | builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi, | |
5083 | builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si, | |
5084 | builtin_type_vec64, builtin_type_vec128): Remove. | |
5085 | (init_simd_type): Remove. | |
5086 | (init_vector_type): Make global. | |
5087 | (build_builtin_type_vec64, build_builtin_type_vec128): Remove. | |
5088 | (build_gdbtypes): Do not build vector types. | |
5089 | (_initialize_gdbtypes): Do not swap vector types. | |
5090 | * gdbtypes.h (builtin_type_v2_double, builtin_type_v4_float, | |
5091 | builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16, | |
5092 | builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32, | |
5093 | builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf, | |
5094 | builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi, | |
5095 | builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si, | |
5096 | builtin_type_vec64, builtin_type_vec128): Remove declarations. | |
5097 | (init_vector_type): Add prototype. | |
5098 | ||
5099 | * i386-tdep.h (struct gdbarch_tdep): Add i386_mmx_type and | |
5100 | i386_sse_type members. | |
5101 | (i386_mmx_type, i386_sse_type): Change from variables to functions. | |
5102 | * i386-tdep.c (i386_mmx_type, i386_sse_type): Remove variables. | |
5103 | (i386_init_types): Do not build vector types. | |
5104 | (i386_mmx_type, i386_sse_type): New functions. | |
5105 | (i386_register_type): Call them instead of using global variables. | |
5106 | (i386_gdbarch_init): Use XCALLOC to allocate tdep structure. | |
5107 | * amd64-tdep.c (amd64_register_type): Call i386_sse_type instead | |
5108 | of using global variable. | |
5109 | ||
5110 | * rs6000-tdep.h (struct gdbarch_tdep): Add ppc_builtin_type_vec64 | |
5111 | and ppc_builtin_type_vec128 members. | |
5112 | * rs6000-tdep.c (rs6000_builtin_type_vec64): New function. | |
5113 | (rs6000_builtin_type_vec128): Likewise. | |
5114 | (rs6000_register_type): Call them instead of using builtin_type_vec64 | |
5115 | and builtin_type_vec128. | |
5116 | (rs6000_gdbarch_init): Use XCALLOC to allocate tdep structure. | |
5117 | ||
5118 | * spu-tdep.c (struct gdbarch_tdep): New data type. | |
5119 | (spu_builtin_type_vec128): Remove variable. | |
5120 | (spu_builtin_type_vec128): New function. | |
5121 | (spu_register_type): Call it instead of using global variable. | |
5122 | (spu_gdbarch_init): Allocate tdep structure. | |
5123 | (spu_init_vector_type): Remove function. | |
5124 | (_initialize_spu_tdep): Do not call it. | |
5125 | ||
6707b003 UW |
5126 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
5127 | ||
5128 | * amd64-tdep.c (struct amd64_register_info): Remove. | |
5129 | (amd64_register_info): Remove. | |
5130 | (amd64_register_names): New static variable. | |
5131 | (AMD64_NUM_REGS): Use amd64_register_names instead of | |
5132 | amd64_register_info. | |
5133 | (amd64_register_name): Likewise. | |
5134 | (amd64_register_type): Do not refer to amd64_register_info. | |
5135 | ||
5136 | * s390-tdep.c (struct s390_register_info): Remove. | |
5137 | (s390_register_info): Remove. | |
5138 | (s390_register_name): Do not refer to s390_register_info. | |
5139 | (s390_register_type): Likewise. | |
5140 | ||
5141 | * sparc64-tdep.c (struct sparc64_register_info): Remove. | |
5142 | (sparc64_register_info, sparc64_pseudo_register_info): Remove. | |
5143 | (sparc64_register_names, sparc64_pseudo_register_names): New. | |
5144 | (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use | |
5145 | sparc64_register_names and sparc64_pseudo_register_names instead of | |
5146 | sparc64_register_info and sparc64_pseudo_register_info. | |
5147 | (sparc64_register_name): Likewise. | |
5148 | (sparc64_register_type): Do not refer to sparc64_register_info | |
5149 | and sparc64_pseudo_register_info. | |
5150 | ||
cad351d1 UW |
5151 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
5152 | ||
5153 | * c-lang.c (cplus_builtin_types): Remove. | |
5154 | (enum cplus_primitive_types): New data type. | |
5155 | (cplus_language_arch_info): New function. | |
5156 | (cplus_language_defn): Set la_language_arch_info member. Do not set | |
5157 | la_builtin_type_vector and string_char_type members. | |
5158 | ||
5159 | * f-lang.c (f_builtin_types): Remove. | |
5160 | (enum f_primitive_types): New data type. | |
5161 | (f_language_arch_info): New function. | |
5162 | (f_language_de): Set la_language_arch_info member. Do not set | |
5163 | la_builtin_type_vector and string_char_type members. | |
5164 | ||
5165 | * m2-lang.c (m2_builtin_types): Remove. | |
5166 | (enum m2_primitive_types): New data type. | |
5167 | (m2_language_arch_info): New function. | |
5168 | (m2_language_defn): Set la_language_arch_info member. Do not set | |
5169 | la_builtin_type_vector and string_char_type members. | |
5170 | ||
5171 | * objc-lang.c (objc_builtin_types): Remove. | |
5172 | (objc_language): Set la_language_arch_info member. Do not set | |
5173 | la_builtin_type_vector and string_char_type members. | |
5174 | ||
5175 | * p-lang.c (pascal_builtin_types): Remove. | |
5176 | (enum pascal_primitive_types): New data type. | |
5177 | (pascal_language_arch_info): New function. | |
5178 | (pascal_language_defn): Set la_language_arch_info member. Do not set | |
5179 | la_builtin_type_vector and string_char_type members. | |
5180 | ||
594f7785 UW |
5181 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
5182 | ||
5183 | * regcache.c (struct regcache): Add ptid_t member. | |
5184 | (regcache_xmalloc): Initialize it. | |
5185 | (regcache_cpy_no_passthrough): Do not refer to current_regcache. | |
5186 | (regcache_dup): Likewise. | |
5187 | (regcache_dup_no_passthrough): Likewise. | |
5188 | (current_regcache): Make static. | |
5189 | (registers_ptid): Remove variable. | |
5190 | (get_thread_regcache): New function. | |
5191 | (get_current_regcache): New function. | |
5192 | (registers_changed): Implement by freeing current regcache. | |
5193 | (regcache_raw_read): Do not refer to current_regcache. Set | |
5194 | inferior_ptid to regcache->ptid while calling target routines. | |
5195 | (regcache_raw_write): Likewise. | |
5196 | (regcache_raw_supply): Do not refer to current_regcache. | |
5197 | (read_pc_pid): Use thread regcache. Do not modify inferior_ptid. | |
5198 | (write_pc_pid): Likewise. | |
5199 | (build_regcache): Remove. | |
5200 | (_initialize_regcache): Do not call DEPRECATED_REGISTER_GDBARCH_SWAP | |
5201 | or deprecated_register_gdbarch_swap. Do not initialize | |
5202 | registers_ptid. | |
5203 | * regcache.h (get_current_regcache): Add prototype. | |
5204 | (get_thread_regcache): Likewise. | |
5205 | (current_regcache): Remove declaration. | |
5206 | ||
5207 | * corelow.c (core_open): Replace current_regcache by | |
5208 | get_current_regcache (). | |
5209 | * frame.c (frame_pop): Likewise. | |
5210 | (put_frame_register): Likewise. | |
5211 | (get_current_frame, create_new_frame): Likewise. | |
5212 | * mi/mi-main.c (mi_cmd_data_write_register_values): Likewise. | |
5213 | * stack.c (return_command): Likewise. | |
5214 | * infcall.c (call_function_by_hand): Likewise. | |
5215 | * infrun.c (resume): Likewise. | |
5216 | (save_inferior_status, restore_inferior_status): Likewise. | |
5217 | * linux-fork.c (fork_load_infrun_state): Likewise. | |
5218 | (fork_save_infrun_state): Likewise. | |
5219 | * win32-nat.c (win32_resume): Likewise. | |
5220 | * i386fbsd-nat.c (i386fbsd_resume): Likewise. | |
5221 | * monitor.c (monitor_wait): Likewise. | |
5222 | * remote.c (remote_wait): Likewise. | |
5223 | * remote-mips.c (mips_wait): Likewise. | |
5224 | ||
5225 | * bsd-kvm.c (bsd_kvm_open): Likewise | |
5226 | (bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Likewise. | |
5227 | * fbsd-nat.c (fbsd_make_corefile_notes): Likewise. | |
5228 | * i386-linux-nat.c (i386_linux_resume): Likewise. | |
5229 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Likewise. | |
5230 | (ia64_linux_stopped_data_address): Likewise. | |
5231 | ||
5232 | * frv-tdep.c (frv_fdpic_loadmap_addresses): Likewise. | |
5233 | * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. | |
5234 | * mep-tdep.c (current_me_module, current_options): Likewise. | |
5235 | * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Likewise. | |
5236 | ||
5237 | * linux-nat.c (linux_nat_do_thread_registers): Use thread | |
5238 | regcache instead of current_regcache. Call target_fetch_registers. | |
5239 | (linux_nat_corefile_thread_callback): Update call site. | |
5240 | (linux_nat_do_registers): Likewise. | |
5241 | * procfs.c (procfs_do_thread_registers): Use thread regcache instead | |
5242 | of current_regcache. | |
5243 | (procfs_make_note_section): Likewise. | |
5244 | * proc-service.c (ps_lgetregs, ps_lsetregs): Likewise. | |
5245 | (ps_lgetfpregs, ps_lsetfpregs): Likewise. | |
5246 | * sol-thread.c (ps_lgetregs, ps_lsetregs): Likewise. | |
5247 | (ps_lgetfpregs, ps_lsetfpregs): Likewise. | |
5248 | ||
51a7a212 UW |
5249 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5250 | ||
5251 | * regcache.c (read_register, read_register_pid): Remove. | |
5252 | (write_register, write_register_pid): Likewise. | |
5253 | * regcache.h (read_register, read_register_pid): Remove prototype. | |
5254 | (write_register, write_register_pid): Likewise. | |
5255 | ||
61a1198a UW |
5256 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5257 | ||
5258 | * gdbarch.sh (read_pc): Add REGCACHE argument. Remove PTID argument. | |
5259 | (write_pc): Likewise. Remove default implementation, add predicate. | |
5260 | * gdbarch.c, gdbarch.h: Regenerate. | |
5261 | * regcache.c (read_pc_pid): Use current regcache instead of calling | |
5262 | read_register_pid. | |
5263 | (write_pc_pid): Check gdbarch_write_pc predicate, implement default | |
5264 | case inline. | |
5265 | (generic_target_write_pc): Remove. | |
5266 | * inferior.h (generic_target_write_pc): Remove. | |
5267 | * frv-tdep.c (frv_gdbarch_init): Do not install it. | |
5268 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
5269 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
5270 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
5271 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
5272 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
5273 | ||
5274 | * avr-tdep.c (avr_read_pc): Add REGCACHE argument. Remove PTID | |
5275 | argument. Use REGCACHE instead of calling read_register_pid. | |
5276 | * hppa-hpux-tdep.c (hppa_hpux_read_pc): Likewise. | |
5277 | * hppa-tdep.c (hppa_read_pc): Likewise. | |
5278 | * hppa-tdep.h (hppa_read_pc): Likewise. | |
5279 | * ia64-tdep.c (ia64_read_pc): Likewise. | |
5280 | * m32r-tdep.c (m32r_read_pc): Likewise. | |
5281 | * mep-tdep.c (mep_read_pc): Likewise. | |
5282 | * mn10300-tdep.c (mn10300_read_pc): Likewise. | |
5283 | * spu-tdep.c (spu_read_pc): Likewise. | |
5284 | ||
5285 | * arm-tdep.c (arm_write_pc): Add REGCACHE argument. Remove PTID | |
5286 | argument. Use REGCACHE instead of calling write_register_pid. | |
5287 | * avr-tdep.c (avr_write_pc): Likewise. | |
5288 | * hppa-hpux-tdep.c (hppa_hpux_write_pc): Likewise. | |
5289 | * hppa-tdep.c (hppa_write_pc): Likewise. | |
5290 | * hppa-tdep.h (hppa_write_pc): Likewise. | |
5291 | * i386-linux-tdep.c (i386_linux_write_pc): Likewise. | |
5292 | * amd64-linux-tdep.c (amd64_linux_write_pc): Likewise. | |
5293 | * ia64-linux-tdep.c (ia64_linux_write_pc): Likewise. | |
5294 | * ia64-tdep.c (ia64_write_pc): Likewise. | |
5295 | * ia64-tdep.h (ia64_write_pc): Likewise. | |
5296 | * m32r-tdep.c (m32r_write_pc): Likewise. | |
5297 | * m88k-tdep.c (m88k_write_pc): Likewise. | |
5298 | * mep-tdep.c (mep_write_pc): Likewise. | |
5299 | * mips-tdep.c (mips_write_pc): Likewise. | |
5300 | * mips-linux-tdep.c (mips_linux_write_pc): Likewise. | |
5301 | * mn10300-tdep.c (mn10300_write_pc): Likewise. | |
5302 | * sparc-tdep.c (sparc_write_pc): Likewise. | |
5303 | * spu-tdep.c (spu_write_pc): Likewise. | |
5304 | ||
5305 | * mips-tdep.c (read_signed_register): Remove. | |
5306 | (read_signed_register_pid): Likewise. | |
5307 | (mips_read_pc): Add REGCACHE argument. Remove PTID argument. | |
5308 | Use REGCACHE instead of calling read_signed_register_pid. | |
5309 | ||
e4fd649a UW |
5310 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5311 | ||
5312 | * gdbarch.sh (push_dummy_code): Add REGCACHE argument. | |
5313 | * gdbarch.c, gdbarch.h: Regenerate. | |
5314 | * infcall.c (generic_push_dummy_code): Add REGCACHE argument. | |
5315 | (push_dummy_code): Likewise. Pass it to callee. | |
5316 | (call_function_by_hand): Pass current regcache to push_dummy_code. | |
5317 | ||
5318 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Add REGCACHE | |
5319 | argument. Use it instead of current_regcache. | |
5320 | ||
5321 | * cris-tdep.c (cris_push_dummy_code): Add REGCACHE argument. | |
5322 | * sparc-tdep.c (sparc32_push_dummy_code): Likewise. | |
5323 | ||
60ade65d UW |
5324 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5325 | ||
5326 | * gdbarch.sh (get_longjmp_target): Add FRAME argument. | |
5327 | * gdbarch.c, gdbarch.h: Regenerate. | |
5328 | * infrun.c (handle_inferior_event): Pass current frame to | |
5329 | gdbarch_get_longjmp_target. | |
5330 | ||
5331 | * alpha-tdep.c (alpha_get_longjmp_target): Add FRAME argument. | |
5332 | Read registers from FRAME instead of using read_register. | |
5333 | Use get_frame_arch instead of current_gdbarch. | |
5334 | * arm-tdep.c (arm_get_longjmp_target): Likewise. | |
5335 | * i386-tdep.c (i386_get_longjmp_target): Likewise. | |
5336 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
5337 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Likewise. | |
5338 | (mips64_linux_get_longjmp_target): Likewise. | |
5339 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Likewise. | |
5340 | ||
52f729a7 UW |
5341 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5342 | ||
5343 | * gdbarch.sh (skip_trampoline_code): Add FRAME argument. | |
5344 | * gdbarch.c, gdbarch.h: Regenerate. | |
5345 | * arch-utils.c (generic_skip_trampoline_code): Add FRAME argument. | |
5346 | * arch-utils.h (generic_skip_trampoline_code): Likewise. | |
5347 | * infrun.c (handle_inferior_event): Pass current frame to | |
5348 | gdbarch_skip_trampoline_code and skip_language_trampoline. | |
5349 | ||
5350 | * language.c (unk_lang_trampoline): Add FRAME argument. | |
5351 | (skip_language_trampoline): Add FRAME argument. Pass it to | |
5352 | skip_trampoline callback. | |
5353 | * language.h: Add forward declaration of struct frame_info. | |
5354 | (struct language_defn): Add FRAME argument to skip_trampoline. | |
5355 | (skip_language_trampoline): Add FRAME argument. | |
5356 | * cp-abi.c (cplus_skip_trampoline): Add FRAME argument. Pass it | |
5357 | to skip_trampoline callback. | |
5358 | * cp-abi.h: Add forward declaration of struct frame_info. | |
5359 | (cplus_skip_trampoline): Add FRAME argument. | |
5360 | (struct cp_abi_ops): Add FRAME argument to skip_trampoline callback. | |
5361 | * gnu-v3-abi.c (gnuv3_skip_trampoline): Add FRAME argument. Pass it | |
5362 | to gdbarch_skip_trampoline_code. | |
5363 | * objc-lang.c (objc_skip_trampoline): Add FRAME argument. Pass it | |
5364 | to gdbarch_skip_trampoline_code. | |
5365 | ||
5366 | * minsyms.c (find_solib_trampoline_target): Add FRAME argument. | |
5367 | * symtab.h (find_solib_trampoline_target): Likewise. | |
5368 | * obsd-tdep.c (obsd_skip_solib_resolver): Pass current frame to | |
5369 | find_solib_trampoline_target. | |
5370 | ||
5371 | * arm-tdep.c (arm_skip_stub): Add FRAME argument. Read registers | |
5372 | from FRAME instead of calling read_register. | |
5373 | ||
5374 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Add FRAME | |
5375 | argument. Read registers from FRAME instead of using read_register. | |
5376 | * hppa-tdep.c (hppa_skip_trampoline_code): Likewise. | |
5377 | * hppa-tdep.h (hppa_skip_trampoline_code): Add FRAME argument. | |
5378 | ||
5379 | * i386-cygwin-tdep.c (i386_cygwin_skip_trampoline_code): Add FRAME | |
5380 | argument. | |
5381 | ||
5382 | * m32c-tdep.c (m32c_skip_trampoline_code): Add FRAME argument. | |
5383 | ||
5384 | * mips-tdep.c (mips_skip_trampoline_code): Add FRAME argument. Read | |
5385 | registers from FRAME instead of using read_signed_register. | |
5386 | ||
5387 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Add FRAME | |
5388 | argument. | |
5389 | (ppc64_standard_linkage_target): Likewise. Read registers from FRAME | |
5390 | instead of using read_register. | |
5391 | (ppc64_skip_trampoline_code): Add FRAME argument. Pass it to | |
5392 | ppc64_standard_linkage_target. | |
5393 | * rs6000-tdep.c (rs6000_skip_trampoline_code): Add FRAME argument. | |
5394 | Pass it to find_solib_trampoline_target. Read registers from FRAME | |
5395 | instead of using read_register. | |
5396 | ||
5397 | * xstormy16-tdep.c (xstormy16_skip_trampoline_code): Add FRAME | |
5398 | argument. | |
5399 | ||
0b1b3e42 UW |
5400 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5401 | ||
5402 | * gdbarch.sh (software_single_step): Replace REGCACHE argument by | |
5403 | FRAME argument. | |
5404 | * gdbarch.c, gdbarch.h: Regenerate. | |
5405 | * infrun.c (resume): Pass current frame to SOFTWARE_SINGLE_STEP. | |
5406 | ||
5407 | * alpha-tdep.c (alpha_next_pc): Add FRAME argument. Retrieve | |
5408 | registers from FRAME instead of using read_register. | |
5409 | (alpha_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
5410 | to alpha_next_pc. Use get_frame_pc instead of read_pc. | |
5411 | * alpha-tdep.h (alpha_software_single_step): Replace REGCACHE | |
5412 | argument by FRAME. | |
5413 | ||
5414 | * arm-tdep.c (shifted_reg_val): Add FRAME argument. Read registers | |
5415 | from FRAME instead of using read_register. | |
5416 | (thumb_get_next_pc): Likewise. | |
5417 | (arm_get_next_pc): Likewise. | |
5418 | (arm_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
5419 | to arm_get_next_pc. Use get_frame_pc instead of read_register. | |
5420 | * arm-tdep.h (arm_software_single_step): Replace REGCACHE | |
5421 | argument by FRAME. | |
5422 | ||
5423 | * cris-tdep.c (find_step_target): Add FRAME argument. Read registers | |
5424 | from FRAME instead of using read_register. | |
5425 | (cris_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
5426 | to find_step_target. | |
5427 | ||
5428 | * mips-tdep.c (mips32_next_pc): Add FRAME argument. Read registers | |
5429 | from FRAME instead of using read_register / read_signed_register. | |
5430 | (extended_mips16_next_pc): Likewise. | |
5431 | (mips16_next_pc): Likewise. | |
5432 | (mips_next_pc): Likewise. | |
5433 | (mips_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
5434 | to mips_next_pc. Use get_frame_pc instead of read_pc. | |
5435 | * mips-tdep.h (mips_software_single_step): Replace REGCACHE | |
5436 | argument by FRAME. | |
5437 | ||
5438 | * rs6000-tdep.c (branch_dest): Add FRAME argument. Use it instead | |
5439 | of current frame. Read registers from FRAME. | |
5440 | (deal_with_atomic_sequence): Add FRAME argument. Pass it to | |
5441 | branch_dest. Use get_frame_pc instead of read_pc. | |
5442 | (rs6000_software_single_step): Likewise. | |
5443 | (bl_to_blrl_insn_p): Do not call branch_dest. | |
5444 | * rs6000-tdep.h (rs6000_software_single_step): Replace REGCACHE | |
5445 | argument by FRAME. | |
5446 | ||
5447 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Add FRAME argument. | |
5448 | Read registers from FRAME instead of current regcache. | |
5449 | * sparc-linux-tdep.c (sparc32_linux_step_trap): Likewise. | |
5450 | * sparcnbsd-tdep.c (sparcnbsd_step_trap): Likewise. | |
5451 | * sparc-tdep.c (sparc_address_from_register): Remove. | |
5452 | (sparc_analyze_control_transfer): Pass FRAME argument instead of | |
5453 | GDBARCH. Pass FRAME to step_trap callback. | |
5454 | (sparc_step_trap): Add FRAME argument. | |
5455 | (space_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
5456 | to sparc_analyze_control_transfer. Read registers from FRAME instead | |
5457 | of calling sparc_address_from_register. | |
5458 | * sparc-tdep.h (struct gdbarch_tdep): Add FRAME argument to | |
5459 | step_trap callback. | |
5460 | (sparc_address_from_register): Remove prototype. | |
5461 | (sparc_software_single_step): Replace REGCACHE argument by FRAME. | |
5462 | (sparcnbsd_step_trap): Add FRAME argument. | |
5463 | ||
5464 | * spu-tdep.c (spu_software_single_step): Replace REGCACHE argument | |
5465 | by FRAME. Read registers from FRAME instead of REGCACHE. | |
5466 | ||
9c9acae0 UW |
5467 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5468 | ||
5469 | * arm-tdep.c (arm_print_float_info): Use register value from FRAME | |
5470 | instead of calling read_register. | |
5471 | ||
5472 | * avr-tdep.c (avr_push_dummy_call): Write to REGCACHE instead of | |
5473 | calling write_register. | |
5474 | ||
5475 | * hppa-tdep.c (hppa32_push_dummy_call): Write to REGCACHE instead of | |
5476 | calling write_register. | |
5477 | ||
5478 | * ia64-tdep.c (find_func_descr): Add REGCACHE parameter. Use it | |
5479 | instead of calling read_register. | |
5480 | (ia64_push_dummy_call): Update call to find_func_descr. Use REGCACHE | |
5481 | instead of calling read_register and write_register. | |
5482 | ||
5483 | * m32r-tdep.c (m32r_linux_supply_gregset): Use REGCACHE parameter | |
5484 | instead of current_regcache. | |
5485 | ||
5486 | * mn10300-tdep.c (mn10300_push_dummy_call): Write to REGCACHE instead | |
5487 | of calling write_register. | |
5488 | * mn10300-linux-tdep.c (am33_supply_fpregset_method): Use REGCACHE | |
5489 | parameter instead of current_regcache. | |
5490 | ||
5491 | * mips-tdep.c (mips2_fp_compat): Add FRAME parameter. Use it | |
5492 | instead of calling read_register. | |
5493 | (mips_read_fp_register_double, mips_print_fp_register): Update calls. | |
5494 | (mips_eabi_push_dummy_call): Use REGCACHE instead of write_register. | |
5495 | (mips_n32n64_push_dummy_call): Likewise. | |
5496 | (mips_o32_push_dummy_call): Likewise. | |
5497 | (mips_o64_push_dummy_call): Likewise. | |
5498 | ||
5499 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use REGCACHE | |
5500 | parameter instead of current_regcache. | |
5501 | ||
5502 | * xtensa-tdep.c (xtensa_register_write_masked): Add REGCACHE parameter. | |
5503 | Use it instead of read_register and write_register. | |
5504 | (xtensa_register_read_masked): Likewise. | |
5505 | (xtensa_pseudo_register_read): Update call. | |
5506 | (xtensa_pseudo_register_write): Likewise. | |
5507 | (xtensa_frame_cache): Use register values unwound from NEXT_FRAME | |
5508 | instead of calling read_register. | |
5509 | (xtensa_push_dummy_call): Update comment. | |
5510 | ||
d2ca4222 UW |
5511 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5512 | ||
5513 | * mips-tdep.c (mips16_scan_prologue): Replace read_next_frame_reg | |
5514 | by frame_unwind_register_signed calls. | |
5515 | (mips32_scan_prologue): Likewise. Skip analysis of alloca stack | |
5516 | frame allocations when called with NULL NEXT_FRAME parameter. | |
5517 | (read_next_frame_reg): Remove. | |
5518 | ||
5519 | * sh-tdep.c (sh_analyze_prologue): Add FPSCR parameter. Use it | |
5520 | instead of reading the FPSCR register. | |
5521 | (sh_frame_cache): Pass unwound FPSCR register value to | |
5522 | sh_analyze_prologue. | |
5523 | (sh_skip_prologue): Pass dummy FPSCR value to sh_analyze_prologue. | |
5524 | ||
5525 | * v850-tdep.c (v850_analyze_prologue): Add CTBP parameter. Use it | |
5526 | instead of reading the CTBP register. | |
5527 | (v850_frame_cache): Pass unwound CTBP register value to | |
5528 | v850_analyze_prologue. | |
5529 | ||
c458d6db UW |
5530 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5531 | ||
5532 | * sh-tdep.h (sh_show_regs): Add FRAME parameter. | |
5533 | * sh-tdep.c (sh_show_regs): Likewise. | |
5534 | (sh_show_regs_command): Pass current frame to sh_show_regs routine. | |
5535 | (sh_generic_show_regs): Add FRAME parameter. Use register | |
5536 | values from that frame instead of calling read_register. | |
5537 | (sh3_show_regs, sh2e_show_regs, sh2a_show_regs, sh2a_nofpu_show_regs, | |
5538 | sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs, | |
5539 | sh_dsp_show_regs): Likewise. | |
5540 | * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs, | |
5541 | sh64_show_regs): Likewise. | |
5542 | ||
a9614958 UW |
5543 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5544 | ||
5545 | * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Read from | |
5546 | current regcache instead of calling read_register. | |
5547 | ||
3d1a74ac UW |
5548 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5549 | ||
5550 | * mep-tdep.c (current_me_module): Read from current regcache | |
5551 | instead of calling read_register. | |
5552 | (current_options): Likewise. | |
5553 | ||
1b5a9a8f UW |
5554 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5555 | ||
5556 | * cris-tdep.c (cris_stopped_data_address): Read register values | |
5557 | from current frame instead of calling read_register. | |
5558 | * frv-tdep.c (frv_stopped_data_address): Likewise. | |
5559 | ||
982db460 UW |
5560 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5561 | ||
5562 | * solib-sunos.c (sunos_solib_create_inferior_hook): Use write_pc | |
5563 | instead of write_register (PC_REGNUM, ...). | |
5564 | ||
b4397864 UW |
5565 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5566 | ||
5567 | * solib-sunos.c (sunos_solib_create_inferior_hook): Add comment | |
5568 | explaining why the PC adjustment code is necessary. | |
5569 | ||
8ed86d01 VP |
5570 | 2007-06-15 Vladimir Prus <vladimir@codesourcery.com> |
5571 | ||
5572 | * m68k-tdep.h (enum m68k_flavour): New. | |
5573 | (struct gdbarch_tdep): New fields | |
5574 | float_return, flavour and fpregs_present. | |
5575 | * m68k-tdep.c (m68k_register_type): Use | |
5576 | fpregs_present and conditionalize floating | |
5577 | registers type on flavour. | |
5578 | (m68k_register_names): New. | |
5579 | (m68k_register_name): Use the above. | |
5580 | (m68k_convert_register_p): Consult fpregs_present. | |
5581 | (m68k_register_to_value, m68k_value_to_register): | |
5582 | Use register_type to obtain the type of floating | |
5583 | point registers. | |
5584 | (m68k_svr4_extract_return_value): Check tdep->float_return. | |
5585 | Use register_type to get the type of floating | |
5586 | point regiters. | |
5587 | (m68k_svr4_store_return_value): Likewise. | |
5588 | (m68k_dwarf_reg_to_regnum): Check tdep->fpregs_present. | |
5589 | (m68k_analyze_register_saves): Likewise. | |
5590 | (m68k_gdbarch_init): Extract infromation | |
5591 | from XML description, if present. Guess coldfire by | |
5592 | looking at the file, if present. Conditionalize | |
5593 | setting of long double format. Set decr_pc_after_break | |
5594 | to 2 on coldfire and fido. Enable XML-driven | |
5595 | register description. | |
5596 | * m68kbsd-tdep.c (m68kbsd_fpreg_offset): Use | |
5597 | size of tdep->fpreg_type, as opposed to hardcoded value. | |
5598 | * Makefile.in (m68k-tdep.o): Update dependencies. | |
5599 | ||
83cc5c53 UW |
5600 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5601 | ||
5602 | * NEWS: Mention "info spu" commands and qXfer:spu:read and | |
5603 | qXfer:spu:write remote packet types. | |
5604 | ||
1780a0ed DJ |
5605 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
5606 | ||
5607 | * xml-tdesc.c (tdesc_start_target): New. | |
5608 | (target_attributes): New. | |
5609 | (tdesc_elements): Use it. | |
5610 | * features/gdb-target.dtd: Add #FIXED version attribute for | |
5611 | <target>. | |
5612 | ||
98a29c7e DJ |
5613 | 2007-06-13 Arthur Huillet <arthur.huillet@free.fr> |
5614 | ||
5615 | * mi/mi-cmd-var.c (mi_cmd_var_assign): Fix typo. | |
5616 | ||
9dcbb931 DJ |
5617 | 2007-06-13 Claudio Fontana <claudio.fontana@gmail.com> |
5618 | ||
5619 | * fork-child.c (fork_inferior): Update comment. | |
5620 | ||
117ce543 DJ |
5621 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
5622 | ||
5623 | * features/Makefile: Generate regformats for mips-linux and | |
5624 | mips64-linux. | |
5625 | * features/sort-regs.xsl: Correct typo. | |
5626 | * regformats/reg-mips.dat, regformats/reg-mips64.dat: Delete. | |
5627 | * regformats/mips-linux.dat, regformats/mips64-linux.dat: New generated | |
5628 | files. | |
5629 | ||
822b6570 DJ |
5630 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
5631 | ||
5632 | * config/mips/linux.mh (TDEP_XML): New. | |
5633 | * features/mips-linux.xml, features/mips64-linux.xml: New files. | |
5634 | * mips-linux-nat.c (mips_linux_register_addr): Handle | |
5635 | MIPS_RESTART_REGNUM. | |
5636 | (mips64_linux_register_addr): Likewise. | |
5637 | (super_xfer_partial, mips_linux_xfer_partial): New. | |
5638 | (_initialize_mips_linux_nat): Add them to the target_ops. | |
5639 | * mips-linux-tdep.c (mips_supply_gregset): Handle MIPS_RESTART_REGNUM. | |
5640 | (mips_fill_gregset, mips64_supply_gregset, mips64_fill_gregset) | |
5641 | (mips_linux_o32_sigframe_init) | |
5642 | (mips_linux_n32n64_sigframe_init): Likewise. | |
5643 | (mips_linux_write_pc, mips_linux_restart_reg_p): New. | |
5644 | (mips_linux_init_abi): Use mips_linux_write_pc. Check for the | |
5645 | "org.gnu.gdb.mips.linux" feature. | |
5646 | * mips-linux-tdep.h (MIPS_RESTART_REGNUM): New constant. | |
5647 | (mips_linux_restart_reg_p): New prototype. | |
5648 | * mips-tdep.c (mips_gdbarch_init): Pass tdesc_data to the OS/ABI | |
5649 | initialization routine. | |
5650 | * Makefile.in (mips-linux-tdep.o, mips-linux-nat.o): Update. | |
5651 | ||
f8b73d13 DJ |
5652 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
5653 | ||
5654 | * Makefile.in (mips-tdep.o): Update. | |
5655 | * mips-tdep.c (struct register_alias, mips_o32_aliases) | |
5656 | (mips_n32_n64_aliases, mips_register_aliases): New. | |
5657 | (mips_register_name): Call tdesc_register_name. | |
5658 | (mips_tdesc_register_reggroup_p): New. | |
5659 | (mips_pseudo_register_type, value_of_mips_user_reg): New. | |
5660 | (mips_gdbarch_init): Add target-described register support. | |
5661 | Register aliases for register names. | |
5662 | * target-descriptions.c (tdesc_register_name): Make global. | |
5663 | (tdesc_register_in_reggroup_p): New function, broken out from | |
5664 | tdesc_register_reggroup_p. | |
5665 | (tdesc_register_reggroup_p): Use it. | |
5666 | * target-descriptions.h (tdesc_register_name) | |
5667 | (tdesc_register_in_reggroup_p): New prototypes. | |
5668 | * NEWS: Correct formatting. Mention MIPS register support. | |
5669 | * features/mips-cp0.xml, features/mips-fpu.xml, | |
5670 | features/mips64-cp0.xml, gdb/features/mips64-fpu.xml, mips-cpu.xml, | |
5671 | features/mips64-cpu.xml: New files. | |
5672 | ||
17a912b6 UW |
5673 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
5674 | ||
5675 | * gdbarch.sh (TARGET_ADDR_BIT): Replace by gdbarch_addr_bit. | |
5676 | * valops.c (value_cast): Likewise. | |
5677 | * utils.c (strlen_paddr, paddr, paddr_nz, paddress): Likewise. | |
5678 | * ui-out.c (ui_out_field_core_addr): Likewise. | |
5679 | * tracepoint.c (tracepoints_info): Likewise. | |
5680 | * symtab.c (print_msymbol_info): Likewise. | |
5681 | * solib-irix.c (irix_current_sos) | |
5682 | (irix_open_symbol_file_object): Likewise. | |
5683 | * remote.c (build_remote_gdbarch_data): Likewise. | |
5684 | * prologue-value.c (make_pv_area): Likewise. | |
5685 | * procfs.c (info_mappings_callback): Likewise. | |
5686 | * printcmd.c (print_scalar_formatted) | |
5687 | (deprecated_print_address_numeric): Likewise. | |
5688 | * memattr.c (mem_info_command): Likewise. | |
5689 | * linux-nat.c (linux_nat_info_proc_cmd): Likewise. | |
5690 | * gdbtypes.c (build_flt, gdbtypes_post_init): Likewise. | |
5691 | * exec.c (print_section_info): Likewise. | |
5692 | * dwarf2read.c (read_subrange_type): Likewise. | |
5693 | * dwarf2loc.c (find_location_expression): Likewise. | |
5694 | * dwarf2expr.c (dwarf2_read_address, unsigned_address_type) | |
5695 | (signed_address_type, execute_stack_op): Likewise. | |
5696 | * breakpoint.c (print_one_breakpoint, breakpoint_1): Likewise. | |
5697 | * gdbarch.c, gdbarch.h: Regenerate. | |
5698 | ||
1143fffb UW |
5699 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
5700 | ||
5701 | * gdbarch.sh (TARGET_ARCHITECTURE): Replace by gdbarch_bfd_arch_info. | |
5702 | * arch-utils.c (show_architecture): Likewise. | |
5703 | * remote-mips.c (mips_open): Likewise | |
5704 | * nto-tdep.c (nto_find_and_open_solib) | |
5705 | (nto_init_solib_absolute_prefix): Likewise. | |
5706 | * nto-procfs (procfs_open): Likewise. | |
5707 | * m68hc11-tdep.c (gdb_print_insn_m68hc11): Likewise. | |
5708 | * gcore.c (default_gcore_mach, default_gcore_arch): Likewise. | |
5709 | * gdbarch.c, gdbarch.h: Regenerate. | |
5710 | ||
4fe99ffb UW |
5711 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
5712 | ||
5713 | * gdbarch.sh (TARGET_BFD_VMA_BIT): Replace by gdbarch_bfd_vma_bit. | |
5714 | * gdbtypes.c (build_flt): Likewise. | |
5715 | * gdbarch.c, gdbarch.h: Regenerate. | |
5716 | ||
3b3b875c UW |
5717 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
5718 | ||
5719 | * gdbarch.sh (BREAKPOINT_FROM_PC): Replace by | |
5720 | gdbarch_breakpoint_from_pc. | |
5721 | * s390-tdep.c (s390_gdbarch_init): Likewise (comment). | |
5722 | * remote.c (remote_insert_breakpoint) | |
5723 | (remote_insert_hw_breakpoint): Likewise. | |
5724 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise. | |
5725 | * mips-tdep.c (mips_breakpoint_from_pc): Likewise (comment). | |
5726 | * breakpoint.h (bp_target_info): Likewise (comment). | |
5727 | * breakpoint.c (read_memory_nobpt): Likewise. | |
5728 | * mem-break.c (default_memory_insert_breakpoint): Likewise. | |
5729 | (symtab.h, breakpoint.h): Remove include. Remove unnecessary comment. | |
5730 | * gdbarch.c, gdbarch.h: Regenerate. | |
5731 | ||
819844ad UW |
5732 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
5733 | ||
5734 | * gdbarch.sh (TARGET_PTR_BIT): Replace with gdbarch_ptr_bit. | |
5735 | * solib-svr4.c (svr4_truncate_ptr): Likewise. | |
5736 | * solib-pa64.c (read_dynamic_info): Likewise. | |
5737 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise. | |
5738 | * solib.c (info_sharedlibrary_command): Likewise. | |
5739 | * s390-nat.c (SUBOFF): Likewise. | |
5740 | * p-valprint.c (pascal_val_print): Likewise. | |
5741 | * procfs.c (info_proc_mappings): Likewise. | |
5742 | * printcmd.c (decode_format): Likewise. | |
5743 | * nto-tdep.c (nto_truncate_ptr): Likewise. | |
5744 | * mips-linux-tdep.c (mips_linux_get_longjmp_target) | |
5745 | (mips64_linux_get_longjmp_target): Likewise. | |
5746 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
5747 | * jv-valprint.c (java_value_print): Likewise. | |
5748 | * jv-lang.c (get_java_object_header_size): Likewise. | |
5749 | * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Likewise. | |
5750 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) | |
5751 | (hppa_hpux_unwind_adjust_stub): Likewise. | |
5752 | * gnu-v3-abi.c (build_gdb_vtable_type): Likewise. | |
5753 | * gdbtypes.c (make_pointer_type, make_reference_type) | |
5754 | (smash_to_memberptr_type): Likewise. | |
5755 | * gdbarch.c, gdbarch.h: Regenerate. | |
5756 | ||
0cc93a06 DJ |
5757 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
5758 | ||
5759 | * mips-tdep.c (mips_print_register): Remove unused ALL argument. | |
5760 | (print_gp_register_row): Stop before printing a register bigger | |
5761 | than the ABI register size. | |
5762 | (mips_print_registers_info): Update call to mips_print_register. | |
5763 | ||
67f3407f DJ |
5764 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
5765 | ||
5766 | * expression.h (enum exp_opcode): Document a register name for | |
5767 | OP_REGISTER. | |
5768 | * parse.c (write_dollar_variable): Write the register name for | |
5769 | OP_REGISTER. | |
5770 | (operator_length_standard): Expect the register name following | |
5771 | OP_REGISTER. | |
5772 | * ada-lang.c (resolve_subexp): Likewise. | |
5773 | * ax-gdb.c (gen_expr): Likewise. | |
5774 | * eval.c (evaluate_subexp_standard): Likewise. | |
5775 | * expprint.c (print_subexp_standard, dump_subexp_body_standard): | |
5776 | Likewise. | |
5777 | * tracepoint.c (encode_actions): Likewise. | |
5778 | ||
0caa462c DJ |
5779 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
5780 | ||
5781 | * utils.c (set_screen_size): Use INT_MAX for default columns. | |
5782 | ||
4de6483e UW |
5783 | 2007-06-13 Ulrich Weigand <uweigand@de.ibm.com> |
5784 | ||
5785 | * remote.c (remote_protocol_features): Add qXfer:spu:read and | |
5786 | qXfer:spu:write packet types. | |
5787 | ||
cafad45b UW |
5788 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
5789 | ||
5790 | * gdbarch.sh (DEPRECATED_STACK_ALIGN): Remove. | |
5791 | * gdbarch.c, gdbarch.h: Regenerate. | |
5792 | ||
055d23b8 UW |
5793 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
5794 | ||
5795 | * gdbarch.sh (STAB_REG_TO_REGNUM): Replace by | |
5796 | gdbarch_stab_reg_to_regnum. | |
5797 | * stabsread.c (define_symbol): Likewise. | |
5798 | * gdbarch.sh (ECOFF_REG_TO_REGNUM): Replace by | |
5799 | gdbarch_ecoff_reg_to_regnum. | |
5800 | * mdebugread.c (parse_symbol): Likewise. | |
5801 | * i386-tdep.c (i386_gdbarch_init): Likewise (comment). | |
5802 | * gdbarch.sh (DWARF_REG_TO_REGNUM): Replace by | |
5803 | gdbarch_dwarf_reg_to_regnum. | |
5804 | * gdbarch.sh (SDB_REG_TO_REGNUM): Replace by gdbarch_sdb_reg_to_regnum. | |
5805 | * coffread.c (process_coff_symbol): Likewise. | |
5806 | * gdbarch.sh (DWARF2_REG_TO_REGNUM): Replace by | |
5807 | gdbarch_dwarf2_reg_to_regnum. | |
5808 | * dwarf2loc.c (dwarf_expr_read_reg,dwarf2_evaluate_loc_desc) | |
5809 | (locexpr_describe_location): Likewise. | |
5810 | * dwarf2-frame.c (read_reg,execute_cfa_program,dwarf2_frame_cache) | |
5811 | (dwarf2_frame_prev_register,dwarf2_signal_frame_this_id): Likewise. | |
5812 | * dwarf2loc.c (DWARF2_REG_TO_REGNUM): Remove macro. | |
5813 | * dwarf2read.c (DWARF2_REG_TO_REGNUM): Remove macro. | |
5814 | * gdbarch.c, gdbarch.h: Regenerate. | |
5815 | ||
260edbc2 UW |
5816 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
5817 | ||
5818 | * gdbarch.sh (SMASH_TEXT_ADDRESS): Replace by | |
5819 | gdbarch_smash_text_address. | |
5820 | * somread.c (som_symtab_read): Likewise. | |
5821 | * elfread.c (record_minimal_symbol): Likewise. | |
5822 | * dbxread.c (process_one_symbol): Likewise. | |
5823 | * coffread.c (coff_symtab_read): Likewise. | |
5824 | * gdbarch.c, gdbarch.h: Regenerate. | |
5825 | ||
c1afe53d UW |
5826 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
5827 | ||
5828 | * gdbarch.sh (REGISTER_TO_VALUE): Replace by gdbarch_register_to_value. | |
5829 | * findvar.c (value_from_register): Likewise. | |
5830 | * gdbarch.sh (VALUE_TO_REGISTER): Replace by gdbarch_value_to_register. | |
5831 | * valops.c (value_assign): Likewise. | |
5832 | * gdbarch.sh (CONVERT_REGISTER_P): Replace by | |
5833 | gdbarch_convert_register_p. | |
5834 | * findvar.c (value_from_register): Likewise. | |
5835 | * valops.c (value_assign): Likewise. | |
5836 | * gdbarch.c, gdbarch.h: Regenerate. | |
5837 | ||
474c1661 UW |
5838 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
5839 | ||
5840 | * gdbarch.sh (REGISTER_SIM_REGNO): Replace by | |
5841 | gdbarch_register_sim_regno. | |
5842 | * sim-regno.h (sim_regno): Likewise (comment). | |
5843 | * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise. | |
5844 | * gdbarch.c, gdbarch.h: Regenerate. | |
5845 | ||
c7bb205c UW |
5846 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
5847 | ||
5848 | * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Replace by | |
5849 | gdbarch_virtual_frame_pointer. | |
5850 | * tracepoint.c (encode_actions): Likewise. | |
5851 | * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Likewise. | |
5852 | * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address): Likewise. | |
5853 | * gdbarch.c, gdbarch.h: Regenerate. | |
5854 | ||
ea06eb3d UW |
5855 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
5856 | ||
5857 | * gdbarch.sh (TARGET_FLOAT_BIT): Replace by gdbarch_float_bit. | |
5858 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
5859 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
5860 | * mdebugread.c (_initialize_mdebugread): Likewise. | |
5861 | * m2-lang.c (m2_create_fundamental_type) | |
5862 | (_initialize_m2_language): Likewise. | |
5863 | * gdbtypes.c (build_gdbtypes): Likewise. | |
5864 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
5865 | * doublest.c (floatformat_from_length): Likewise. | |
5866 | * c-lang.c (c_create_fundamental_type): Likewise. | |
5867 | * ada-lang.c (ada_create_fundamental_type) | |
5868 | (ada_language_arch_info): Likewise. | |
5869 | * gdbarch.sh (TARGET_FLOAT_FORMAT): Replace by gdbarch_float_format. | |
5870 | * value.c (unpack_double): Likewise (comment). | |
5871 | * gdbtypes.c (build_gdbtypes): Likewise. | |
5872 | * doublest.c (floatformat_from_length): Likewise. | |
5873 | * gdbarch.sh (TARGET_DOUBLE_BIT): Replace by gdbarch_double_bit. | |
5874 | * valarith.c (value_binop): Likewise. | |
5875 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
5876 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
5877 | * mdebugread.c (_initialize_mdebugread): Likewise. | |
5878 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
5879 | * gdbtypes.c (build_gdbtypes): Likewise. | |
5880 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
5881 | * doublest.c (floatformat_from_length): Likewise. | |
5882 | * cris-tdep.c (cris_gdbarch_init): Likewise (comment). | |
5883 | * c-lang.c (c_create_fundamental_type): Likewise. | |
5884 | * ada-lex.l (processReal): Likewise. | |
5885 | * ada-lang.c (ada_create_fundamental_type) | |
5886 | (ada_language_arch_info): Likewise. | |
5887 | * gdbarch.sh (TARGET_DOUBLE_FORMAT): Replace by gdbarch_double_format. | |
5888 | * value.c (unpack_double): Likewise (comment). | |
5889 | * gdbtypes.c (build_gdbtypes): Likewise. | |
5890 | * doublest.c (floatformat_from_length): Likewise. | |
5891 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Replace by | |
5892 | gdbarch_long_double_bit. | |
5893 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
5894 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
5895 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
5896 | * gdbtypes.c (build_gdbtypes): Likewise. | |
5897 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
5898 | * doublest.c (floatformat_from_length): Likewise. | |
5899 | * c-lang.c (c_create_fundamental_type): Likewise. | |
5900 | * ada-lex.l (processReal): Likewise. | |
5901 | * ada-lang.c (ada_create_fundamental_type) | |
5902 | (ada_language_arch_info): Likewise. | |
5903 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Replace by | |
5904 | gdbarch_long_double_format. | |
5905 | * gdbtypes.c (build_gdbtypes): Likewise. | |
5906 | * doublest.c (floatformat_from_length): Likewise. | |
5907 | * gdbarch.c, gdbarch.h: Regenerate. | |
5908 | ||
9a76efb6 UW |
5909 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
5910 | ||
5911 | * gdbarch.sh (TARGET_SHORT_BIT): Replace by gdbarch_int_bit. | |
5912 | * ada-lang.c (ada_create_fundamental_type) | |
5913 | (ada_language_arch_info): Likewise. | |
5914 | * c-lang.c (c_create_fundamental_type): Likewise. | |
5915 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
5916 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
5917 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
5918 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
5919 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
5920 | * gdbarch.sh (TARGET_INT_BIT): Replace by gdbarch_int_bit. | |
5921 | * c-exp.y (parse_number): Likewise. | |
5922 | * objc-exp.y (parse_number): Likewise. | |
5923 | * ada-lex.l (processInt): Likewise. | |
5924 | * f-exp.y (parse_number): Likewise. | |
5925 | * p-exp.y (parse_number): Likewise. | |
5926 | * ada-lang.c (ada_create_fundamental_type, ada_language_arch_info) | |
5927 | (gdbtypes_post_init, build_gdbtypes): Likewise. | |
5928 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
5929 | * parse.c (build_parse): Likewise. | |
5930 | * xcoffread.c (_initialize_xcoffread): Likewise. | |
5931 | * stabsread.c (define_symbol, read_one_struct_field, read_enum_type) | |
5932 | (read_range_type): Likewise. | |
5933 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
5934 | * f-lang.c (build_fortran_types, f_create_fundamental_type): Likewise. | |
5935 | * m2-lang.c (m2_create_fundamental_type, _initialize_m2_language) | |
5936 | (m2_create_fundamental_type): Likewise. | |
5937 | * c-lang.c (c_create_fundamental_type): Likewise. | |
5938 | * coffread.c (coff_read_enum_type): Likewise. | |
5939 | * mdebugread.c (parse_symbol, _initialize_mdebugread): Likewise. | |
5940 | * dwarf2read.c (new_symbol): Likewise. | |
5941 | * gdbarch.sh (TARGET_LONG_BIT): Replace by gdbarch_long_bit. | |
5942 | * c-exp.y (parse_number): Likewise. | |
5943 | * objc-exp.y (parse_number): Likewise. | |
5944 | * ada-lex.l (processInt): Likewise. | |
5945 | * f-exp.y (parse_number): Likewise. | |
5946 | * p-exp.y (parse_number): Likewise. | |
5947 | * valarith.c (value_binop): Likewise. | |
5948 | * symfile.c (read_target_long_array, simple_overlay_update_1): Likewise. | |
5949 | * ada-lang.c (ada_create_fundamental_type) | |
5950 | (ada_language_arch_info): Likewise. | |
5951 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
5952 | * symfile.c (TARGET_LONG_BYTES): Likewise. | |
5953 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
5954 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
5955 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
5956 | * f-lang.c (f_create_fundamental_type): Likewise. | |
5957 | * c-lang.c (c_create_fundamental_type): Likewise. | |
5958 | * coffread.c (decode_base_type): Likewise. | |
5959 | * gdbarch.sh (TARGET_LONG_LONG_BIT): Replace by gdbarch_long_long_bit. | |
5960 | * c-exp.y (parse_number): Likewise. | |
5961 | * objc-exp.y (parse_number): Likewise. | |
5962 | * p-exp.y (parse_number): Likewise. | |
5963 | * ada-lang.c (ada_create_fundamental_type) | |
5964 | (ada_language_arch_info): Likewise. | |
5965 | * gdbtypes.c (gdbtypes_post_init, build_gdbtypes): Likewise. | |
5966 | * stabsread.c (read_range_type): Likewise. | |
5967 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
5968 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
5969 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
5970 | * f-lang.c (f_create_fundamental_type): Likewise. | |
5971 | * c-lang.c (c_create_fundamental_type): Likewise. | |
5972 | * gdbarch.c, gdbarch.h: Regenerate. | |
5973 | ||
272dfcfd AS |
5974 | 2007-06-12 Andreas Schwab <schwab@suse.de> |
5975 | ||
5976 | * frame-unwind.h (frame_dealloc_cache_ftype): Define. | |
5977 | (struct frame_unwind): Add dealloc_cache. | |
5978 | * frame.c (reinit_frame_cache): Call dealloc_cache on all caches. | |
5979 | ||
5980 | * libunwind-frame.h (libunwind_frame_dealloc_cache): Declare. | |
5981 | * libunwind-frame.c (libunwind_frame_dealloc_cache): Define. | |
5982 | (libunwind_frame_unwind): Set dealloc_cache. | |
5983 | * ia64-tdep.c (ia64_libunwind_frame_unwind): Set dealloc_cache. | |
5984 | ||
0e7f50da UW |
5985 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
5986 | Markus Deuling <deuling@de.ibm.com> | |
5987 | ||
5988 | * remote.c (remote_write_qxfer): New function. | |
5989 | (remote_xfer_partial): Add handling for TARGET_OBJECT_SPU. | |
5990 | (remote_read_qxfer): Do not cache empty objects. | |
5991 | (_initialize_remote): Add PACKET_qXfer_spu_read and | |
5992 | PACKET_qXfer_spu_write. | |
5993 | ||
23d964e7 UW |
5994 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
5995 | ||
5996 | * target.h (enum target_object): Add TARGET_OBJECT_SPU. | |
5997 | * spu-linux-nat.c (spu_xfer_partial): Handle TARGET_OBJECT_SPU. | |
5998 | ||
5999 | * spu-tdep.h (SPU_NUM_PSEUDO_REGS): Add 5 pseudo registers. | |
6000 | (enum spu_regnum): Add SPU_FPSCR_REGNUM, SPU_SRR0_REGNUM, | |
6001 | SPU_LSLR_REGNUM, SPU_DECR_REGNUM, SPU_DECR_STATUS_REGNUM. | |
6002 | * spu-tdep.c (infospucmdlist): New variable. | |
6003 | (spu_register_name): Handle additional pseudo registers. | |
6004 | (spu_register_type): Likewise. | |
6005 | (spu_pseudo_register_read): Likewise. | |
6006 | (spu_pseudo_register_write): Likewise. | |
6007 | (spu_pseudo_register_read_spu): New function. | |
6008 | (spu_pseudo_register_write_spu): Likewise. | |
6009 | (info_spu_event_command): New function. | |
6010 | (info_spu_signal_command): Likewise. | |
6011 | (info_spu_mailbox_list): Likewise. | |
6012 | (info_spu_mailbox_command): Likewise. | |
6013 | (spu_mfc_get_bitfield): Likewise. | |
6014 | (info_spu_dma_cmdlist): Likewise. | |
6015 | (info_spu_dma_command): Likewise. | |
6016 | (info_spu_proxydma_command): Likewise. | |
6017 | (info_spu_command): Likewise. | |
6018 | (_initialize_spu_tdep): Install "info spu" commands. | |
6019 | ||
374c1d38 UW |
6020 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
6021 | ||
6022 | * spu-linux-nat.c (spu_proc_xfer_spu): Do not return failure when | |
6023 | accessing non-seekable spufs files. | |
6024 | ||
e76f05fa UW |
6025 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
6026 | ||
6027 | * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Replace by | |
6028 | gdbarch_skip_trampoline_code. | |
6029 | * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment). | |
6030 | * objc-lang.c (objc_skip_trampoline) | |
6031 | (objc_submethod_helper_data): Likewise. | |
6032 | * m32c-lang.c (m32c_skip_trampoline_code): Likewise (comment). | |
6033 | * infrun.c (handle_inferior_event): Likewise. | |
6034 | * gnu-v3-abi.c (gnuv3_skip_trampoline): Likewise. | |
6035 | * gdbarch.sh (IN_SOLIB_RETURN_TRAMPOLINE): Replace by | |
6036 | gdbarch_in_solib_return_trampoline. | |
6037 | * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment). | |
6038 | * infrun.c (handle_inferior_event): Likewise. | |
6039 | * hppa-tdep.c (hppa_stub_unwind_sniffer): Likewise. | |
6040 | * gdbarch.c, gdbarch.h: Regenerate. | |
6041 | ||
a433963d UW |
6042 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
6043 | ||
6044 | * gdbarch.sh (SKIP_PROLOGUE): Replace by gdbarch_skip_prologue. | |
6045 | * symtab.c (find_function_start_sal, in_prologue): Likewise. | |
6046 | * linespec.c (minsym_found): Likewise. | |
6047 | * infrun.c (step_into_function): Likewise. | |
6048 | * gdbarch.c, gdbarch.h: Regenerate. | |
6049 | ||
aea8766f UW |
6050 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
6051 | ||
6052 | * gdbarch.sh (NAME_OF_MALLOC): Replace by gdbarch_name_of_malloc. | |
6053 | * valops.c (value_allocate_space_in_inferior): Likewise. | |
6054 | * gdbarch.c, gdbarch.h: Regenerate. | |
6055 | ||
8da95a30 UW |
6056 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
6057 | ||
6058 | * gdbarch.sh (MEMORY_INSERT_BREAKPOINT): Replace by | |
6059 | gdbarch_memory_insert_breakpoint. | |
6060 | * mem-break.c (memory_insert_breakpoint): Likewise. | |
6061 | * gdbarch.sh (MEMORY_REMOVE_BREAKPOINT): Replace by | |
6062 | gdbarch_memory_remove_breakpoint. | |
6063 | * mem-break.c (memory_remove_breakpoint): Likewise. | |
6064 | * gdbarch.c, gdbarch.h: Regenerate. | |
6065 | ||
985969a9 UW |
6066 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
6067 | ||
6068 | * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS): Replace by | |
6069 | gdbarch_fetch_tls_load_module_address. | |
6070 | * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS_P): Replace by | |
6071 | gdbarch_fetch_tls_load_module_address_p. | |
6072 | * gdbarch.c, gdbarch.h: Regenerate. | |
6073 | ||
b798847d UW |
6074 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
6075 | ||
6076 | * gdbarch.sh (DECR_PC_AFTER_BREAK): Replace by | |
6077 | gdbarch_decr_pc_after_break. | |
6078 | * tracepoint.c (trace_dump_command): Likewise. | |
6079 | * solib-sunos.c (sunos_solib_create_inferior_hook): Likewise. | |
6080 | * linux-thread-db.c (check_event): Likewise. | |
6081 | * linux-nat.c (cancel_breakpoints_callback): Likewise. | |
6082 | * infrun.c (adjust_pc_after_break, normal_stop): Likewise. | |
6083 | * frame.h: Likewise (comment). | |
6084 | * dummy-frame.c (deprecated_pc_in_call_dummy): Likewise. | |
6085 | * aix-thread.c (aix_thread_wait): Likewise. | |
6086 | * gdbarch.c, gdbarch.h: Regenerate. | |
6087 | ||
849957d9 UW |
6088 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
6089 | ||
6090 | * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS): Replace by | |
6091 | gdbarch_address_class_type_flags. | |
6092 | * dwarf2read.c (read_tag_pointer_type): Likewise. | |
6093 | * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_P): Replace by | |
6094 | gdbarch_address_class_type_flags_p. | |
6095 | * dwarf2read.c (read_tag_pointer_type): Likewise. | |
6096 | * gdbarch.c, gdbarch.h: Regenerate. | |
6097 | ||
bf6ae464 UW |
6098 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
6099 | ||
6100 | * gdbarch.sh (ADDR_BITS_REMOVE): Replace by gdbarch_addr_bits_remove. | |
6101 | * value.c (value_as_address): Likewise (comment). | |
6102 | * remote-mips.c (common_breakpoint): Likewise. | |
6103 | * regcache.c (read_pc_pid): Likewise. | |
6104 | * printcmd.c (do_one_display): Likewise. | |
6105 | * monitor.c (monitor_write_memory, monitor_read_memory) | |
6106 | (monitor_insert_breakpoint): Likewise. | |
6107 | * mips-tdep.c (heuristic_proc_start): Likewise. | |
6108 | * infrun.c (insert_step_resume_breakpoint_at_frame) | |
6109 | (insert_step_resume_breakpoint_at_caller): Likewise. | |
6110 | * buildsym.c (record_line): Likewise. | |
6111 | * arm-tdep.c (arm_scan_prologue, thumb_get_next_pc) | |
6112 | (arm_get_next_pc): Likewise. | |
6113 | * armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register) | |
6114 | (store_regs): Likewise. | |
6115 | * arm-linux-tdep.c (arm_linux_supply_gregset): Likewise. | |
6116 | * arm-linux-nat.c (fetch_register, fetch_regs): Likewise. | |
6117 | * gdbarch.c, gdbarch.h: Regenerate. | |
6118 | ||
c9f4d572 UW |
6119 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
6120 | ||
6121 | * gdbarch.sh (REGISTER_NAME): Replace by gdbarch_register_name. | |
6122 | * tracepoint.c (scope_info): Likewise. | |
6123 | * target.c (debug_print_register): Likewise. | |
6124 | * stack.c (frame_info): Likewise. | |
6125 | * sh-tdep.c (sh_register_reggroup_p): Likewise. | |
6126 | * sh64-tdep.c (sh64_do_fp_register, sh64_do_register) | |
6127 | (sh64_media_print_registers_info) | |
6128 | (sh64_compact_print_registers_info): Likewise. | |
6129 | * rs6000-tdep.c (rs6000_register_reggroup_p): Likewise. | |
6130 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
6131 | * remote.c (packet_reg): Likewise (comment). | |
6132 | * reggroups.c (default_register_reggroup_p): Likewise. | |
6133 | * regcache.c (regcache_dump): Likewise. | |
6134 | * printcmd.c (address_info): Likewise. | |
6135 | * ppc-linux-nat.c (fetch_register, store_register): Likewise. | |
6136 | * mt-dep.c (mt_registers_info): Likewise. | |
6137 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Likewise (comment). | |
6138 | * mips-tdep.c (mips_register_reggroup_p, mips_read_fp_register_single) | |
6139 | (mips_read_fp_register_double, mips_print_fp_register) | |
6140 | (mips_print_register, print_gp_register_row, mips_print_registers_info) | |
6141 | (mips_register_sim_regno): Likewise. | |
6142 | * m68klinux-nat.c (regmap, fetch_register, store_register): Likewise. | |
6143 | * inf-ptrace.c (inf_ptrace_fetch_register) | |
6144 | (inf_ptrace_store_register): Likewise. | |
6145 | * infcmd.c (default_print_registers_info): Likewise. | |
6146 | * ia64-linux-nat.c (ia64_linux_fetch_register) | |
6147 | (ia64_linux_store_register): Likewise. | |
6148 | * i386-linux-nat.c (fetch_register, store_register): Likewise. | |
6149 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise. | |
6150 | * hppa-linux-nat.c (fetch_register, store_register): Likewise. | |
6151 | * hppa-hpux-nat.c (hppa_hpux_fetch_register) | |
6152 | (hppa_hpux_store_register): Likewise. | |
6153 | * findvar.c (locate_var_value): Likewise. | |
6154 | * dwarf2loc.c (locexpr_describe_location): Likewise. | |
6155 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
6156 | * arm-tdep.c (arm_push_dummy_call): Likewise. | |
6157 | * arch-utils.c (legacy_register_sim_regno): Likewise. | |
6158 | * alpha-tdep.c (alpha_register_reggroup_p): Likewise. | |
6159 | * alpha-nat.c (fetch_osf_core_registers): Likewise. | |
6160 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
6161 | (mi_cmd_data_list_changed_registers, mi_cmd_data_list_register_values) | |
6162 | (mi_cmd_data_write_register_values): Likewise. | |
6163 | * gdbarch.c, gdbarch.h: Regenerate. | |
6164 | ||
1fc01e03 DJ |
6165 | 2007-06-07 Daniel Jacobowitz <dan@codesourcery.com> |
6166 | ||
6167 | * target-memory.c (blocks_to_erase): Correct off-by-one error. | |
6168 | ||
632110b1 VP |
6169 | 2007-06-06 Vladimir Prus <vladimir@codesourcery.com> |
6170 | ||
6171 | * remote.c (process_g_packet): Don't check size. | |
6172 | * gdbarch.sh: Remove register_bytes_ok. | |
6173 | * gdbarch.c: Regenerated. | |
6174 | * gdbarch.h: Regenerated. | |
6175 | * m68k-tdep.c (REGISTER_BYTES_NOFP): Remove. | |
6176 | (m68k_register_bytes_ok): Remove. | |
6177 | (m68k_gdbarch_init): Don't register m68k_register_bytes_ok. | |
6178 | ||
f43ae3f1 AS |
6179 | 2007-06-06 Andreas Schwab <schwab@suse.de> |
6180 | ||
6181 | * libunwind-frame.c (unw_destroy_addr_space_p): Define. | |
6182 | (destroy_addr_space_name): Define. | |
6183 | (libunwind_load): Get address of destroy_addr_space function. | |
6184 | (libunwind_frame_cache): Destroy unw_addr_space_t object before | |
6185 | returning unsuccessfully. | |
6186 | (libunwind_frame_sniffer): Destroy unw_addr_space_t object before | |
6187 | returning. | |
6188 | (libunwind_sigtramp_frame_sniffer): Likewise. | |
6189 | (libunwind_get_reg_special): Likewise. | |
6190 | ||
d99344c0 UW |
6191 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
6192 | ||
6193 | * gdbarch.sh (FETCH_POINTER_ARGUMENT): Replace by | |
6194 | gdbarch_fetch_pointer_argument. | |
6195 | * objc-lang.c (OBJC_FETCH_POINTER_ARGUMENT): Likewise. | |
6196 | * gdbarch.c, gdbarch.h: Regenerate. | |
6197 | ||
e6cf7916 UW |
6198 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
6199 | ||
6200 | * gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Replace by | |
6201 | gdbarch_have_nonsteppable_watchpoint. | |
6202 | * infrun.c (handle_inferior_event, adjust_pc_after_break): Likewise. | |
6203 | * gdbarch.sh (CANNOT_STEP_BREAKPOINT): Replace by | |
6204 | gdbarch_cannot_step_breakpoint. | |
6205 | * infrun.c (resume): Likewise. | |
6206 | * gdbarch.c, gdbarch.h: Regenerate. | |
6207 | ||
bbcf301a UW |
6208 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
6209 | ||
6210 | * gdbarch.sh (FRAME_ARGS_SKIP): Replace by gdbarch_frame_args_skip. | |
6211 | * stack.c (print_frame_args): Likewise. | |
6212 | * gdbarch.sh (FRAME_NUM_ARGS): Replace by gdbarch_frame_num_args. | |
6213 | * stack.c (print_args_stub, frame_info): Likewise. | |
6214 | * gdbarch.sh (FRAME_NUM_ARGS_P): Replace by gdbarch_frame_num_args_p. | |
6215 | * stack.c (print_args_stub, frame_info): Likewise. | |
6216 | * gdbarch.c, gdbarch.h: Regenerate. | |
6217 | ||
95f1da47 UW |
6218 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
6219 | ||
6220 | * gdbarch.sh (COFF_MAKE_MSYMBOL_SPECIAL): Replace by | |
6221 | gdbarch_coff_make_msymbol_special. | |
6222 | * coffread.c (coff_symtab_read): Likewise. | |
6223 | * gdbarch.sh (ELF_MAKE_MSYMBOL_SPECIAL): Replace by | |
6224 | gdbarch_elf_make_msymbol_special. | |
6225 | * elfread.c (elf_symtab_read): Likewise. | |
6226 | * mips-tdep.c (mips_elf_make_msymbol_special): Likewise (comment). | |
6227 | * sh64-tdep.c (MSYMBOL_IS_SPECIAL): Likewise (comment). | |
6228 | * gdbarch.c, gdbarch.h: Regenerate. | |
6229 | ||
39e8369e UW |
6230 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
6231 | ||
6232 | * gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by | |
6233 | gdbarch_frame_red_zone_size. | |
6234 | * gdbarch.c, gdbarch.h: Regenerate. | |
6235 | ||
4d1e7dd1 UW |
6236 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
6237 | ||
6238 | * gdbarch.sh (INNER_THAN): Replace by gdbarch_inner_than. | |
6239 | * infcall.c (call_function_by_hand): Likewise. | |
6240 | * gcore.c (derive_stack_segment): Likewise. | |
6241 | * frame.c (frame_id_inner): Likewise. | |
6242 | * arch-utils.c (core_addr_lessthan): Likewise (comment). | |
6243 | * ada-lang.c (ensure_lval): Likewise. | |
6244 | * gdbarch.c, gdbarch.h: Regenerate. | |
6245 | ||
76e71323 UW |
6246 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
6247 | ||
6248 | * gdbarch.sh (ADDRESS_TO_POINTER): Replace by | |
6249 | gdbarch_address_to_pointer. | |
6250 | * findvar.c (store_typed_address): Likewise. | |
6251 | * gdbtypes.c (make_pointer_type): Likewise (comment). | |
6252 | * procfs.c (procfs_address_to_host_pointer): Likewise. | |
6253 | * std-regs.c (value_of_builtin_frame_reg): Likewise. | |
6254 | (value_of_builtin_frame_fp_reg): Likewise. | |
6255 | (value_of_builtin_frame_pc_reg): Likewise. | |
6256 | * utils.c (paddress): Likewise (comment). | |
6257 | * gdbarch.sh (POINTER_TO_ADDRESS): Replace by | |
6258 | gdbarch_pointer_to_address. | |
6259 | * findvar.c (extract_typed_address): Likewise. | |
6260 | * gdbtypes.c (make_pointer_type): Likewise (comment). | |
6261 | * valops.c (value_cast): Likewise (comment). | |
6262 | * gdbarch.c, gdbarch.h: Regenerate. | |
6263 | ||
91104499 UW |
6264 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
6265 | ||
6266 | * gdbarch.sh (GET_LONGJMP_TARGET): Replace by gdbarch_get_longjmp_target. | |
6267 | * infrun.c (handle_inferior_event): Likewise. | |
6268 | * gdbarch.sh (GET_LONGJMP_TARGET_P): Replace by | |
6269 | gdbarch_get_longjmp_target_p. | |
6270 | * breakpoint.c (breakpoint_re_set): Likewise. | |
6271 | * infrun.c (handle_inferior_event): Likewise. | |
6272 | * gdbarch.c, gdbarch.h: Regenerate. | |
6273 | ||
d3e9c991 UW |
6274 | 2007-06-06 Ulrich Weigand <uweigand@de.ibm.com> |
6275 | ||
6276 | * hppa-hpux-tdep.c (args_for_find_stub, HP_ACC_EH_notify_hook, | |
6277 | HP_ACC_EH_set_hook_value, HP_ACC_EH_notify_callback, HP_ACC_EH_break, | |
6278 | HP_ACC_EH_catch_throw, HP_ACC_EH_catch_catch, __eh_notification, | |
6279 | hp_cxx_exception_support, hp_cxx_exception_support_initialized, | |
6280 | eh_notify_hook_addr, eh_notify_callback_addr, eh_break_addr, | |
6281 | eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior, | |
6282 | find_stub_with_shl_get, cover_find_stub_with_shl_get, | |
6283 | initialize_hp_cxx_exception_support, child_enable_exception_callback, | |
6284 | current_ex_event, child_get_current_exception_event): Remove. | |
6285 | (hppa_hpux_inferior_created): Remove. | |
6286 | (hppa_hpux_init_abi): Do not install hppa_hpux_inferior_created. | |
6287 | ||
6288 | * breakpoint.h (deprecated_exception_catchpoints_are_fragile): Remove. | |
6289 | (deprecated_exception_support_initialized): Remove. | |
6290 | * breakpoint.c (deprecated_exception_catchpoints_are_fragile): Remove. | |
6291 | (deprecated_exception_support_initialized): Remove. | |
6292 | (breakpoint_init_inferior): Remove handling of non-zero | |
6293 | deprecated_exception_catchpoints_are_fragile. | |
6294 | ||
6295 | * symtab.h (deprecated_hp_som_som_object_present): Remove. | |
6296 | * symtab.c (deprecated_hp_som_som_object_present): Remove. | |
6297 | * c-typeprint.c (c_type_print_base): Remove handling of non-zero | |
6298 | deprecated_hp_som_som_object_present. | |
6299 | * eval.c (evaluate_subexp_standard): Likewise. | |
6300 | * valops.c (value_cast): Likewise. | |
6301 | ||
6302 | * parse.c (parse_nested_classes_for_hpacc, coloncolon): Remove. | |
6303 | * parser-defs.h (parse_nested_classes_for_hpacc): Remove. | |
6304 | * c-exp.y (yylex): Do not call parse_nested_classes_for_hpacc. | |
6305 | ||
5e787d22 UW |
6306 | 2007-06-06 Ulrich Weigand <uweigand@de.ibm.com> |
6307 | ||
6308 | * objfiles.h (ImportEntry, ExportEntry): Remove types. | |
6309 | (struct objfile): Remove import_list, import_list_size, | |
6310 | export_list, export_list_size members. | |
6311 | (is_in_import_list): Remove prototype. | |
6312 | * objfiles.c (is_in_import_list): Remove. | |
6313 | * somread.c (init_import_symbols, init_export_symbols): Remove. | |
6314 | (som_symfile_read): Do not call init_import_symbols. Do not | |
6315 | set objfile->export_list and objfile->export_list_size. | |
6316 | ||
93e7bd98 DJ |
6317 | 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com> |
6318 | ||
6319 | * dwarf2read.c (dwarf2_symbol_mark_computed): Fix formatting. | |
6320 | Use the original objfile if necessary. | |
6321 | ||
e1024ff1 DJ |
6322 | 2007-06-04 Daniel Jacobowitz <dan@codesourcery.com> |
6323 | ||
6324 | * defs.h (ldirname): New prototype. | |
6325 | * dwarf2read.c (read_file_scope): Use DW_AT_name if DW_AT_comp_dir is | |
6326 | missing. | |
6327 | * utils.c (ldirname): New function. | |
6328 | * xml-tdesc.c (file_read_description_xml): Use ldirname. | |
6329 | ||
ee82e879 UW |
6330 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
6331 | ||
6332 | * spu-tdep.c (spu_push_dummy_call): Store stack back chain. | |
6333 | ||
513f5903 JB |
6334 | 2007-06-01 Joel Brobecker <brobecker@adacore.com> |
6335 | ||
6336 | * solib-svr4.c (svr4_solib_create_inferior_hook): Remove warning. | |
6337 | ||
52a75740 UW |
6338 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
6339 | ||
6340 | * irix5-nat.c (JB_ELEMENT_SIZE, get_longjmp_target): Remove. | |
6341 | ||
c3fc7e62 UW |
6342 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
6343 | ||
6344 | * ppc-linux-tdep.c (INSTR_SC, INSTR_LI_R0_0x6666, INSTR_LI_R0_0x7777, | |
6345 | INSTR_LI_R0_NR_sigreturn, INSTR_LI_R0_NR_rt_sigreturn): Remove. | |
6346 | (PPC_LINUX_SIGNAL_FRAMESIZE, PPC_LINUX_REGS_PTR_OFFSET, | |
6347 | PPC_LINUX_HANDLER_PTR_OFFSET): Remove. | |
6348 | (ppc_linux_in_sigtramp, insn_is_sigreturn, | |
6349 | ppc_linux_at_sigtramp_return_path): Remove. | |
6350 | ||
4c6b5505 UW |
6351 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
6352 | ||
6353 | * xtensa-tdep.c (XTENSA_IS_ENTRY, extract_call_winsize) | |
6354 | (xtensa_register_write_masked, xtensa_register_read_masked) | |
6355 | (xtensa_extract_return_value, xtensa_store_return_value | |
6356 | (xtensa_push_dummy_call, xtensa_breakpoint_from_pc): Replace | |
6357 | TARGET_BYTE_ORDER by gdbarch_byte_order. | |
6358 | * sh-tdep.c (sh_breakpoint_from_pc, gdb_print_insn_sh) | |
6359 | (sh_justify_value_in_reg, sh_next_flt_argreg, sh_push_dummy_call_fpu) | |
6360 | (sh_extract_return_value_fpu, sh_store_return_value_fpu): Likewise. | |
6361 | * sh64-tdep.c (sh64_breakpoint_from_pc, gdb_print_insn_sh64) | |
6362 | (sh64_push_dummy_call, sh64_extract_return_value) | |
6363 | (sh64_store_return_value, sh64_register_convert_to_virtual) | |
6364 | (sh64_register_convert_to_raw, sh64_pseudo_register_read) | |
6365 | (sh64_pseudo_register_write, sh64_do_fp_register) | |
6366 | (sh64_frame_prev_register): Likewise. | |
6367 | * score-tdep.c (score_print_insn, score_breakpoint_from_pc) | |
6368 | (score_return_value, score_push_dummy_call, score_fetch_inst): Likewise. | |
6369 | * rs6000-tdep.c (rs6000_breakpoint_from_pc, rs6000_push_dummy_call) | |
6370 | (e500_move_ev_register,gdb_print_insn_powerpc): Likewise. | |
6371 | * remote-m32r-sdi.c (m32r_resume, m32r_wait): Likewise. | |
6372 | * ppc-linux-nat.c (store_register): Likewise. | |
6373 | * nto-tdep.c (nto_find_and_open_solib) | |
6374 | (nto_init_solib_absolute_prefix): Likewise. | |
6375 | * mips-tdep.c (mips_pseudo_register_read, mips_pseudo_register_write) | |
6376 | (mips_convert_register_p, mips_eabi_push_dummy_call) | |
6377 | (mips_n32n64_push_dummy_call, mips_n32n64_return_value) | |
6378 | (mips_o32_push_dummy_call, mips_o32_return_value) | |
6379 | (mips_o64_push_dummy_call, mips_o64_return_value, mips_o64_return_value) | |
6380 | (mips_read_fp_register_single, mips_read_fp_register_double) | |
6381 | (mips_print_register, print_gp_register_row, gdb_print_insn_mips) | |
6382 | (mips_breakpoint_from_pc): Likewise. | |
6383 | * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Likewise. | |
6384 | * mips-linux-tdep.c (mips64_supply_fpregset, mips64_fill_fpregset) | |
6385 | (mips_linux_o32_sigframe_init): Likewise. | |
6386 | * m32r-tdep.c (m32r_memory_insert_breakpoint) | |
6387 | (m32r_memory_remove_breakpoint, m32r_breakpoint_from_pc): Likewise. | |
6388 | * libunwind-frame.c (libunwind_frame_cache, libunwind_frame_sniffer) | |
6389 | (libunwind_sigtramp_frame_sniffer, libunwind_get_reg_special): Likewise. | |
6390 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Likewise. | |
6391 | * coffread.c (process_coff_symbol): Likewise. | |
6392 | * arm-tdep.c (convert_from_extended, convert_to_extended) | |
6393 | (gdb_print_insn_arm): Likewise. | |
6394 | ||
f57d151a UW |
6395 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
6396 | ||
6397 | * gdbarch.sh (NUM_REGS): Replace by gdbarch_num_regs. | |
6398 | * i386-tdep.c (i386_dbx_reg_to_regnum) | |
6399 | (i386_svr4_reg_to_regnum): Likewise. | |
6400 | * inf-ptrace.c (inf_ptrace_fetch_registers) | |
6401 | (inf_ptrace_store_registers): Likewise. | |
6402 | * corelow.c (get_core_registers): Likewise. | |
6403 | * i386-linux-nat.c (supply_gregset, fill_gregset) | |
6404 | (i386_linux_fetch_inferior_registers) | |
6405 | (i386_linux_store_inferior_registers): Likewise. | |
6406 | * remote.c (init_remote_state,packet_reg_from_regnum) | |
6407 | (packet_reg_from_pnum,process_g_packet,remote_fetch_registers) | |
6408 | (remote_prepare_to_store,store_registers_using_G) | |
6409 | (remote_store_registers,remote_arch_state): Likewise. | |
6410 | * tracepoint.c (encode_actions): Likewise. | |
6411 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
6412 | (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values) | |
6413 | (mi_cmd_data_write_register_values): Likewise. | |
6414 | * tui/tui-regs.c (tui_show_register_group) | |
6415 | (tui_show_register_group): Likewise. | |
6416 | * xtensa-tdep.h (FP_ALIAS): Likewise. | |
6417 | * xtensa-tdep.c (xtensa_register_name,xtensa_register_type) | |
6418 | (xtensa_reg_to_regnum,xtensa_pseudo_register_read) | |
6419 | (xtensa_pseudo_register_write,xtensa_register_reggroup_p): Likewise. | |
6420 | * win32-nat.c (do_win32_fetch_inferior_registers) | |
6421 | (do_win32_store_inferior_registers,fetch_elf_core_registers | |
6422 | * user-regs.h: Likewise (comment). | |
6423 | * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise. | |
6424 | * trad-frame.c (trad_frame_alloc_saved_regs): Likewise. | |
6425 | * target-descriptions.h: Likewise (comment). | |
6426 | * target-descriptions.c (tdesc_use_registers): Likewise (comment). | |
6427 | * target.c (debug_print_register): Likewise. | |
6428 | * stack.c (frame_info): Likewise. | |
6429 | * stabsread.c (define_symbol): Likewise. | |
6430 | * sh64-tdep.c (sh64_do_pseudo_register,sh64_print_register) | |
6431 | (sh64_media_print_registers_info) | |
6432 | (sh64_compact_print_registers_info): Likewise. | |
6433 | * rs6000-tdep.c (rs6000_register_sim_regno): Likewise. | |
6434 | * rs6000-nat.c (fetch_register,store_register): Likewise. | |
6435 | * remote-sim.c (one2one_register_sim_regno,gdbsim_fetch_register) | |
6436 | (gdbsim_fetch_register,gdbsim_store_register): Likewise. | |
6437 | * remote-mips.c (mips_fetch_registers,mips_store_registers): Likewise. | |
6438 | * remote-m32r-sdi.c (m32r_fetch_registers) | |
6439 | (m32r_store_registers): Likewise. | |
6440 | * reggroups.c (default_register_reggroup_p): Likewise. | |
6441 | * regcache.c (init_regcache_descr,register_size,regcache,regcache_save) | |
6442 | (regcache_restore,regcache_dump): Likewise. | |
6443 | * monitor.c (monitor_fetch_registers,monitor_store_registers): Likewise. | |
6444 | * mips-tdep.c (mips_xfer_register,mips_register_name) | |
6445 | (mips_register_reggroup_p,mips_pseudo_register_read) | |
6446 | (mips_pseudo_register_write,mips_convert_register_p,mips_register_type) | |
6447 | (mips_unwind_pc,mips_unwind_sp,mips_unwind_dummy_id,set_reg_offset) | |
6448 | (mips16_scan_prologue,mips_insn16_frame_cache,reset_saved_regs) | |
6449 | (mips32_scan_prologue,mips_insn32_frame_cache,read_next_frame_reg) | |
6450 | (mips_n32n64_return_value,mips_o32_return_value,mips_o64_return_value) | |
6451 | (print_gp_register_row,mips_print_registers_info) | |
6452 | (mips_stab_reg_to_regnum,mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
6453 | (mips_register_sim_regno): Likewise. | |
6454 | * mips-linux-tdep.c (mips_linux_o32_sigframe_init) | |
6455 | (mips_linux_n32n64_sigframe_init): Likewise. | |
6456 | * mips-linux-nat.c (mips_linux_register_addr) | |
6457 | (mips64_linux_register_addr): Likewise. | |
6458 | * findvar.c (value_of_register): Likewise. | |
6459 | * infcmd.c (default_print_registers_info,registers_info) | |
6460 | (print_vector_info,print_float_info): Likewise. | |
6461 | * mips64obsd-tdep.c (mips64obsd_sigframe_init): Likewise. | |
6462 | * inf-child.c (inf_child_fetch_inferior_registers): Likewise. | |
6463 | * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise. | |
6464 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache(: Likewise. | |
6465 | * m32r-tdep.c (m32r_frame_unwind_cache): Likewise. | |
6466 | * ia64-linux-nat.c (ia64_register_addr,ia64_cannot_fetch_register) | |
6467 | (ia64_cannot_store_register,ia64_linux_fetch_registers) | |
6468 | (ia64_linux_store_registers): Likewise. | |
6469 | * hpux-thread.c (hpux_thread_fetch_registers) | |
6470 | (hpux_thread_store_registers): Likewise. | |
6471 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM,E_PSEUDO_EXR_REGNUM) | |
6472 | (h8300_init_frame_cache,h8300_frame_cache,h8300_frame_prev_register) | |
6473 | (h8300_register_type): Likewise. | |
6474 | * dwarf2-frame.c (dwarf2_frame_cache) | |
6475 | (dwarf2_frame_state_alloc_regs): Likewise. | |
6476 | * cris-tdep.c (cris_register_size,cris_cannot_fetch_register) | |
6477 | (cris_cannot_store_register,crisv32_cannot_fetch_register) | |
6478 | (crisv32_cannot_store_register,cris_register_name): Likewise. | |
6479 | * avr-tdep.c (avr_frame_unwind_cache): Likewise. | |
6480 | * arch-utils.c (legacy_register_sim_regno) | |
6481 | (legacy_virtual_frame_pointer): Likewise. | |
6482 | * arm-tdep.c (arm_make_prologue_cache,arm_register_sim_regno):Likewise. | |
6483 | * arm-tdep.h: Likewise (comment). | |
6484 | * frv-tdep.c (frv_register_sim_regno): Likewise. | |
6485 | * m68klinux-nat.c (old_fetch_inferior_registers) | |
6486 | (old_store_inferior_registers): Likewise. | |
6487 | * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. | |
6488 | * irix5-nat.c (fetch_core_registers): Likewise. | |
6489 | * hppa-tdep.c (hppa_frame_cache): Likewise. | |
6490 | * hppa-linux-nat.c (hppa_linux_register_addr) | |
6491 | (hppa_linux_fetch_inferior_registers) | |
6492 | (hppa_linux_store_inferior_registers): Likewise. | |
6493 | * hppa-hpux-nat.c (hppa_hpux_fetch_inferior_registers) | |
6494 | (hppa_hpux_store_inferior_registers): Likewise. | |
6495 | * amd64-nat.c (amd64_native_gregset_reg_offset) | |
6496 | (amd64_supply_native_gregset,amd64_collect_native_gregset): Likewise. | |
6497 | * dbug-rom.c (dbug_regname): Likewise. | |
6498 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache) | |
6499 | (HARD_PAGE_REGNUM (comment)): Likewise. | |
6500 | * gdbarch.sh (NUM_PSEUDO_REGS): Replace by gdbarch_num_pseudo_regs. | |
6501 | * i386-tdep.c (i386_dbx_reg_to_regnum) | |
6502 | (i386_svr4_reg_to_regnum): Likewise. | |
6503 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
6504 | (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values) | |
6505 | (mi_cmd_data_write_register_values): Likewise. | |
6506 | * gdbarch.c, gdbarch.h: Regenerate. | |
6507 | * tui/tui-regs.c (tui_show_register_group): Likewise. | |
6508 | * xtensa-tdep.h (FP_ALIAS): Likewise. | |
6509 | * user-regs.h: Likewise (comment). | |
6510 | * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise. | |
6511 | * trad-frame.c (trad_frame_alloc_saved_regs): Likewise. | |
6512 | * target-descriptions.h: Likewise (comment). | |
6513 | * target.c (debug_print_register): Likewise. | |
6514 | * stack.c (frame_info): Likewise. | |
6515 | * stabsread.c (define_symbol): Likewise. | |
6516 | * sh64-tdep.c (sh64_print_register,sh64_media_print_registers_info) | |
6517 | (sh64_compact_print_registers_info): Likewise. | |
6518 | * rs6000-tdep.c (rs6000_register_sim_regno): Likewise. | |
6519 | * regcache.c (init_regcache_descr,register_size,regcache,regcache_save | |
6520 | (regcache_restore,regcache_dump): Likewise. | |
6521 | * mips-tdep.c (print_gp_register_row,mips_print_registers_info) | |
6522 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
6523 | (mips_stab_reg_to_regnum): Likewise. | |
6524 | * findvar.c (value_of_register): Likewise. | |
6525 | * infcmd.c (default_print_registers_info,registers_info) | |
6526 | (print_vector_info,print_float_info): Likewise. | |
6527 | * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise. | |
6528 | * h8300-tdep.c (h8300_register_type): Likewise. | |
6529 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
6530 | * frame.h (SIZEOF_FRAME_SAVED_REGS): Likewise. | |
6531 | * xtensa-tdep.c (xtensa_register_type,xtensa_reg_to_regnum) | |
6532 | (xtensa_pseudo_register_read,xtensa_pseudo_register_write): Likewise. | |
6533 | * parse.c: Remove comment. | |
6534 | * gdbarch.c, gdbarch.h: Regenerate | |
6535 | ||
8d4c1ba3 UW |
6536 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
6537 | ||
6538 | * gdbarch.sh (CANNOT_FETCH_REGISTER): Replace by | |
6539 | gdbarch_cannot_fetch_register. | |
6540 | * alpha-nat.c (fetch_osf_core_registers): Likewise. | |
6541 | * hppa-linux-nat.c (fetch_register): Likewise. | |
6542 | * inf-ptrace.c (inf_ptrace_fetch_register): Likewise. | |
6543 | * m68klinux-nat.c (fetch_register): Likewise. | |
6544 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): | |
6545 | Likewise. | |
6546 | * gdbarch.sh (CANNOT_STORE_REGISTER): Replace by | |
6547 | gdbarch_cannot_store_register. | |
6548 | * hppa-linux-nat.c (store_register): Likewise. | |
6549 | * inf-ptrace.c (inf_ptrace_store_register): Likewise. | |
6550 | * regcache.c (regcache_raw_write): Likewise. | |
6551 | * m68klinux-nat.c (store_register): Likewise. | |
6552 | * mipsnbsd-tdep.c (mipsnbsd_fill_reg, mipsnbsd_fill_fpreg): Likewise. | |
6553 | * gdbarch.c, gdbarch.h: Regenerate. | |
6554 | ||
3f4844da UW |
6555 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
6556 | ||
6557 | * gdbarch.sh (TARGET_OSABI): Replace by gdbarch_osabi. | |
6558 | * gdbarch.c, gdbarch.h: Regenerate. | |
6559 | ||
6c6b19fd UW |
6560 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
6561 | ||
6562 | * gdbarch.sh (TARGET_CHAR_SIGNED): Replace by gdbarch_char_signed. | |
6563 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
6564 | * gdbarch.c, gdbarch.h: Regenerate. | |
6565 | ||
0d20ae72 UW |
6566 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
6567 | ||
6568 | * gdbarch.sh (TARGET_BYTE_ORDER): Replace by gdbarch_byte_order. | |
6569 | * ax-gdb.c (gen_bitfield_ref): Likewise. | |
6570 | * mi/mi-main.c (get_register): Likewise. | |
6571 | * findvar.c (default_value_from_register, extract_signed_integer) | |
6572 | (extract_unsigned_integer, extract_long_unsigned_integer) | |
6573 | (store_signed_integer, store_unsigned_integer): Likewise. | |
6574 | * regcache.c (regcache_dump): Likewise. | |
6575 | * value.c (lookup_internalvar, value_of_internalvar) | |
6576 | (set_internalvar): Likewise. | |
6577 | * defs.h: Likewise. | |
6578 | * valprint.c (print_binary_chars, print_octal_chars) | |
6579 | (print_decimal_chars, print_hex_chars, print_char_chars): Likewise. | |
6580 | * infcmd.c (default_print_registers_info): Likewise. | |
6581 | * arch-utils.c (selected_byte_order, show_endian): Likewise. | |
6582 | * stabsread.c (define_symbol): Likewise. | |
6583 | * doublest.c (floatformat_from_length, floatformat_from_type) | |
6584 | (extract_typed_floating, store_typed_floating): Likewise. | |
6585 | * gdbarch.c, gdbarch.h: Regenerate. | |
6586 | ||
faaf634c UW |
6587 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
6588 | ||
6589 | * gdbarch.sh (CALL_DUMMY_LOCATION): Replace by | |
6590 | gdbarch_call_dummy_location. | |
6591 | * infcall.c (call_function_by_hand): Likewise. | |
6592 | * inferior.h: Change comment. | |
6593 | * arch-utils.c: Change comment. | |
6594 | * gdbarch.c, gdbarch.h: Regenerate. | |
6595 | ||
8905984d JB |
6596 | 2007-05-28 Joel Brobecker <brobecker@adacore.com> |
6597 | ||
6598 | * solib-aix5.c: Delete. | |
6599 | * Makefile.in (solib-aix5.o): Delete rule. | |
6600 | ||
ab14ee8d DJ |
6601 | 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com> |
6602 | ||
6603 | * breakpoint.h (enum bpstat_what_main_action): Remove | |
6604 | BPSTAT_WHAT_THROUGH_SIGTRAMP. | |
6605 | * infrun.c (process_event_stop_test): Do not check for it. | |
6606 | ||
23776285 MR |
6607 | 2007-05-22 Chris Dearman <chris@mips.com> |
6608 | Maciej W. Rozycki <macro@mips.com> | |
6609 | ||
6610 | * ser-unix.c (show_serial_hwflow): New function. | |
6611 | (hardwire_raw): Add hardware flow control support. | |
6612 | (_initialize_ser_hardwire): Add "set/show remoteflow". | |
6613 | * Makefile.in (ser-unix.o): Depend on $(gdbcmd_h). | |
6614 | * NEWS: Document the new command. | |
6615 | ||
eb368090 UW |
6616 | 2007-05-21 Ulrich Weigand <uweigand@de.ibm.com> |
6617 | ||
6618 | * config/i386/tm-linux.h (sys_quotactl): Do not define. | |
6619 | * configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not | |
6620 | define for i[[3456]]86-*-linux* native configurations. | |
6621 | * config.in, configure: Regenerate. | |
6622 | ||
8d08c9ce JB |
6623 | 2007-05-19 Joel Brobecker <brobecker@adacore.com> |
6624 | ||
6625 | * rs6000-nat.c (xcoff_relocate_symtab): Do nothing if debugging | |
6626 | a core file. Add comment in the function description. | |
6627 | ||
42be36b3 CT |
6628 | 2007-05-18 Caroline Tice <ctice@apple.com> |
6629 | ||
6630 | * c-valprint.c (c_value_print): If the initialized field of the | |
6631 | value struct is 0, print out "[uninitialized]" before the value. | |
6632 | * dwarf2expr.c (execute_stack_op): Initialize ctx->initialized field; | |
6633 | allow DW_OP_GNU_uninit as legal op following a DW_OP_reg op or a | |
6634 | DW_OP_regx op; add case for DW_OP_GNU_uninit and update | |
6635 | ctx->initialized appropriately. Verify no location op follows | |
6636 | DW_OP_GNU_uninit. | |
6637 | * dwarf2expr.h (struct dwarf_expr_context): New field, initialized. | |
6638 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Add call to | |
6639 | set_value_initialized. | |
6640 | * dwarf2read.c (dwarf_stack_op_name): Add case for DW_OP_GNU_uninit. | |
6641 | (decode_locdesc): Add case for DW_OP_GNU_uninit. | |
6642 | * value.c (struct value): New field, initialized. | |
6643 | (allocate_value): Initialize new field. | |
6644 | (set_value_initialized): New function. | |
6645 | (value_initialized): New function. | |
6646 | * value.h (value_initialized): New extern declaration. | |
6647 | (set_value_initialized): Likewise. | |
42be36b3 | 6648 | |
a7c569c8 CT |
6649 | 2007-05-18 Caroline Tice <ctice@apple.com> |
6650 | ||
6651 | * MAINTAINERS (Write After Approval): Add self. | |
6652 | ||
1e98b326 JB |
6653 | 2007-05-17 Joel Brobecker <brobecker@adacore.com> |
6654 | ||
6655 | * gdbtypes.c (make_reference_type): Preserve the type chain | |
6656 | and set the length of all the variants of the pointer type. | |
6657 | ||
053cb41b JB |
6658 | 2007-05-17 Joel Brobecker <brobecker@adacore.com> |
6659 | ||
6660 | * gdbtypes.c (make_pointer_type): Preserve the pointer type chain | |
6661 | and set the length of all the variants of the pointer type. | |
6662 | ||
436aafc4 MR |
6663 | 2007-05-17 Maciej W. Rozycki <macro@mips.com> |
6664 | ||
6665 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a | |
6666 | comment. | |
6667 | (mips_o64_push_dummy_call): Reformat a comment. | |
6668 | ||
98f4ab10 Q |
6669 | 2007-05-17 Qinwei <qinwei@sunnorth.com.cn> |
6670 | ||
6671 | * score-tdep.c (score_frame_cache->fp, score_analyze_prologue) | |
6672 | (score_prologue_frame_base_address): Return fp to keep gdb print | |
6673 | local variables correctly when debugging information is stabs. | |
6674 | ||
6675 | (score_analyze_prologue): For software watchpoint, fetch all the | |
6676 | instructions from range [startaddr, pc] once and identify them locally | |
6677 | to reduce memory access. | |
6678 | (score_malloc_and_get_memblock, score_free_memblock) | |
6679 | (score_adjust_memblock_ptr): New functions. | |
6680 | (score_fetch_inst): Fetch single instruction or mutiple instructions. | |
6681 | ||
6682 | (score_target_can_use_watch, score_stopped_by_watch) | |
6683 | (score_target_insert_watchpoint, score_target_remove_watchpoint) | |
6684 | (score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint): | |
6685 | New functions for remote & local hw-watchpoint and hw-breakpoint. | |
6686 | ||
60dfee72 AS |
6687 | 2007-05-16 Alfred M. Szmidt <ams@gnu.org> |
6688 | ||
6689 | * reply_mig_hack.awk: Check for `auto const mach_msg_type_t' | |
6690 | declarations as well. | |
6691 | ||
190dce09 UW |
6692 | 2007-05-16 Ulrich Weigand <uweigand@de.ibm.com> |
6693 | ||
6694 | * config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h. | |
6695 | * config/arm/tm-embed.h: Delete file. | |
6696 | ||
6697 | * arm-tdep.h (arm_software_single_step): Declare. | |
6698 | * arm-tdep.c (arm_software_single_step): Make global. | |
6699 | (arm_gdbarch_init): Move set_gdbarch_software_single_step call | |
6700 | from here to ... | |
6701 | * arm-linux-tdep.c (arm_linux_init_abi): ... here ... | |
6702 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): ... here ... | |
6703 | * armobsd-tdep.c (armobsd_init_abi): ... here ... | |
6704 | * arm-wince-tdep.c (arm_wince_init_abi): ... and here. | |
6705 | ||
6706 | * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT): No longer | |
6707 | allow defines to be overriden by TM file. | |
6708 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Likewise. Also, | |
6709 | change default to {0xbe,0xbe}. | |
6710 | * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint, | |
6711 | arm_obsd_thumb_be_breakpoint): New global variables. | |
6712 | (armobsd_init_abi): Override tdep->thumb_breakpoint and | |
6713 | tdep->thumb_breakpoint_size. | |
6714 | * arm-wince-tdep.c (arm_wince_thumb_le_breakpoint): New variable. | |
6715 | (arm_wince_init_abi): Override tdep->thumb_breakpoint and | |
6716 | tdep->thumb_breakpoint_size. | |
6717 | ||
6718 | * arm-tdep.c (arm_gdbarch_init): Add set_gdbarch_skip_trampoline_code. | |
6719 | ||
1a69e1e4 DJ |
6720 | 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com> |
6721 | ||
6722 | * NEWS: Mention removed "set mips stack-arg-size" and "set mips | |
6723 | saved-gpreg-size". | |
6724 | ||
6725 | * mips-tdep.c (MIPS32_REGSIZE, MIPS64_REGSIZE): New constants. | |
6726 | (size_auto, size_32, size_64, size_enums, mips_abi_regsize_string) | |
6727 | (mips_stack_argsize_string, mips_stack_argsize): Delete. | |
6728 | (mips_abi_regsize): Simplify. | |
6729 | (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) | |
6730 | (mips_n32n64_return_value, mips_o32_push_dummy_call) | |
6731 | (mips_o32_return_value, mips_o64_push_dummy_call) | |
6732 | (mips_o64_return_value): Propogate constant register sizes. Use the | |
6733 | ABI register size instead of mips_stack_argsize. | |
6734 | (mips_dump_tdep): Don't print mips_stack_argsize. | |
6735 | (_initialize_mips_tdep): Remove saved-gpreg-size and stack-arg-size | |
6736 | settings. | |
6737 | ||
7d522c90 DJ |
6738 | 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com> |
6739 | ||
6740 | * config/mips/linux.mt (DEPRECATED_TM_FILE): Delete. | |
6741 | * config/mips/tm-linux.h: Delete. | |
6742 | * mips-linux-tdep.c (mips_svr4_so_ops): New. | |
6743 | (mips_linux_in_dynsym_resolve_code): Make static. Use | |
6744 | svr4_in_dynsym_resolve_code. | |
6745 | (mips_linux_init_abi): Initialize mips_svr4_so_ops. Call | |
6746 | set_solib_ops. | |
6747 | * solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make | |
6748 | global. | |
6749 | * solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare. | |
6750 | * Makefile.in (mips-linux-tdep.o): Update. | |
6751 | * solib.c (set_solib_ops): New. | |
6752 | (current_target_so_ops): Update comment. | |
6753 | * solib.h (set_solib_ops): New prototype. | |
6754 | ||
5d51a2db MR |
6755 | 2007-05-16 Chris Dearman <chris@mips.com> |
6756 | ||
6757 | * printcmd.c (do_examine): Fix typos in a comment. | |
6758 | ||
07abfebf RS |
6759 | 2007-05-16 Richard Sandiford <richard@codesourcery.com> |
6760 | ||
6761 | * configure.ac: Allow sysroots to be relocated under $prefix as | |
6762 | well as $exec_prefix. | |
6763 | * configure: Regenerate. | |
6764 | ||
f5ce4941 UW |
6765 | 2007-05-14 Ulrich Weigand <uweigand@de.ibm.com> |
6766 | ||
6767 | * hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>. | |
6768 | (offsetof): Do not define. | |
6769 | (find_stub_with_shl_get): Use numerical value 3 instead of | |
6770 | symbolic value TYPE_PROCEDURE. | |
6771 | ||
76e1ee85 DJ |
6772 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
6773 | ||
6774 | * gdb_proc_service.h (paddr_t): Delete typedef. | |
6775 | * proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New. | |
6776 | (ps_xfer_memory): Take a psaddr_t. Use ps_addr_to_core_addr. | |
6777 | (ps_pglobal_lookup): Take a psaddr_t *. Use core_addr_to_ps_addr. | |
6778 | (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t. | |
6779 | * sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t. | |
6780 | * Makefile.in (proc-service.o): Update. | |
6781 | ||
2bd0c3d7 DJ |
6782 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
6783 | ||
6784 | * Makefile.in (mips-tdep.o): Update. | |
6785 | * mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI | |
6786 | unwinder. | |
6787 | ||
14d06750 DJ |
6788 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
6789 | ||
6790 | * dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long | |
6791 | instead of store_typed_address. | |
6792 | * value.c (pack_long): New. | |
6793 | (value_from_longest): Use it. | |
6794 | * value.h (pack_long): New prototype. | |
6795 | ||
f2fec864 DJ |
6796 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
6797 | ||
6798 | * dwarf2-frame.c (read_encoded_value): Correct typo. Use | |
6799 | DW_EH_PE_signed if appropriate. | |
6800 | ||
25e43795 DJ |
6801 | 2007-05-14 Paul Brook <paul@codesourcery.com> |
6802 | Daniel Jacobowitz <dan@codesourcery.com> | |
6803 | ||
6804 | * dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New | |
6805 | function. | |
6806 | (dwarf_decode_lines): Check for line info without a file. | |
6807 | ||
027c0295 DJ |
6808 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
6809 | ||
6810 | * linux-thread-db.c (thread_db_pid_to_str): Print thread IDs | |
6811 | as hexadecimal. | |
6812 | ||
dc5000e7 DJ |
6813 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
6814 | ||
6815 | * jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead of | |
6816 | STRUCTOP_STRUCT. | |
6817 | * jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of | |
6818 | STRUCTOP_STRUCT. | |
6819 | * jv-typeprint.c (java_print_type): Do not crash on NULL varstring. | |
6820 | ||
30244cd8 UW |
6821 | 2007-05-14 Ulrich Weigand <uweigand@de.ibm.com> |
6822 | ||
6823 | * gdbarch.sh (read_sp): Remove. | |
6824 | * gdbarch.c, gdbarch.h: Regenerate. | |
6825 | * frame.c (frame_sp_unwind): Do not call TARGET_READ_SP. | |
6826 | ||
6827 | * avr-tdep.c (avr_read_sp): Remove. | |
6828 | (avr_unwind_sp): New function. | |
6829 | (avr_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
6830 | * mips-tdep.c (mips_read_sp): Remove. | |
6831 | (mips_unwind_sp): New function. | |
6832 | (mips_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
6833 | * score-tdep.c (score_read_unsigned_register): Remove. | |
6834 | (score_read_sp): Remove. | |
6835 | (score_unwind_sp): New function. | |
6836 | (score_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
6837 | ||
84ba0adf DJ |
6838 | 2007-05-14 Maxim Grigoriev <maxim2405@gmail.com> |
6839 | ||
6840 | * buildsym.c (start_subfile): Handle absolute pathnames | |
6841 | while comparing subfile names. | |
6842 | ||
e7b17823 UW |
6843 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
6844 | ||
6845 | * hppa-hpux-tdep.c: Include "regcache.h". | |
6846 | * hppa-linux-tdep.c: Likewise. | |
6847 | * hppa-tdep.c: Include "gdb_stdint.h". | |
6848 | (find_unwind_entry): Cast host pointer to uintptr_t before passing | |
6849 | it to paddr_nz. | |
6850 | * Makefile.in: Update dependencies. | |
6851 | ||
7157eed4 UW |
6852 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
6853 | ||
6854 | * blockframe.c: Remove obsolete comments. | |
6855 | * alpha-nat.c (fetch_osf_core_registers): Update comment. | |
6856 | * arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment. | |
6857 | * hppa-tdep.h (enum hppa_regnum): Likewise. | |
6858 | * mips-tdep.h: Likewise. | |
6859 | * m68hc11-tdep.c: Likewise. | |
6860 | ||
fb4443d8 UW |
6861 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
6862 | ||
6863 | * inferior.h (read_sp): Remove prototype. | |
6864 | * regcache.c (read_sp): Remove. | |
6865 | * gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp. | |
6866 | * infcall.c (call_function_by_hand): Likewise. | |
6867 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead | |
6868 | of calling read_sp. | |
6869 | * rs6000-tdep.c (rs6000_push_dummy_call): Likewise. | |
6870 | ||
7b86a1b8 UW |
6871 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6872 | ||
6873 | * i386-linux-nat.c (i386_linux_resume): Use regcache functions | |
6874 | instead of read_register and read_register_pid. | |
6875 | ||
6876 | * ia64-linux-nat.c (enable_watchpoints_in_psr): Use REGCACHE | |
6877 | argument instead of PTID. Use regcache functions instead of | |
6878 | read_register_pid. | |
6879 | (ia64_linux_insert_watchpoint): Update call. | |
6880 | (ia64_linux_stopped_data_address): Use regcache functions | |
6881 | instead of read_register_pid and write_register_pid. | |
6882 | ||
45ecac4b UW |
6883 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6884 | ||
6885 | * libunwind-frame.h (struct regcache): Add forward declaration. | |
6886 | (libunwind_get_reg_special): Add REGCACHE argument. | |
6887 | * libunwind-frame.c (libunwind_get_reg_special): Add REGCACHE | |
6888 | argument. Pass it to unw_init_remote_p. | |
6889 | ||
6890 | * ia64-tdep.c (ia64_pseudo_register_read): Pass regcache to | |
6891 | libunwind_get_reg_special. | |
6892 | (ia64_access_reg): Remove "write" case. | |
6893 | (ia64_access_fpreg): Likewise. Read from next_frame passed | |
6894 | as callback argument instead of from current_regcache. | |
6895 | (ia64_access_rse_reg): Remove "write" case. Read from regcache | |
6896 | passed as callback argument instead of from current_regcache. | |
6897 | (ia64_access_rse_fpreg): New function. | |
6898 | (ia64_unw_rse_acce): Use it instead of ia64_access_fpreg. | |
6899 | ||
0ca420ce UW |
6900 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6901 | ||
6902 | * NEWS: Mention SPU overlay support. | |
6903 | ||
0a44cb36 UW |
6904 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6905 | ||
6906 | * spu-tdep.c (spu_frame_unwind_cache): Add comment. | |
6907 | ||
aa67235e UW |
6908 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6909 | ||
6910 | * breakpoint.c (remove_breakpoint): Do not remove software | |
6911 | breakpoints in unmapped overlay sections. | |
6912 | ||
dcf52cd8 UW |
6913 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6914 | ||
6915 | * spu-tdep.c: Include "observer.h". | |
6916 | (spu_frame_unwind_cache): Unwind PC through overlay return stubs. | |
6917 | (spu_overlay_data): New variable. | |
6918 | (struct spu_overlay_table): New type. | |
6919 | (spu_get_overlay_table, spu_overlay_update_osect, spu_overlay_update, | |
6920 | spu_overlay_new_objfile): New functions. | |
6921 | (spu_gdbarch_init): Install spu_overlay_update. | |
6922 | (_initialize_spu_tdep): Register spu_overlay_new_objfile, | |
6923 | allocate spu_overlay_data objfile data. | |
6924 | ||
1c772458 UW |
6925 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6926 | ||
6927 | * gdbarch.sh (overlay_update): New gdbarch function. | |
6928 | (struct obj_section): Add forward declaration. | |
6929 | * gdbarch.c, gdbarch.h: Regenerate. | |
6930 | ||
6931 | * symfile.c (simple_overlay_update): Make global. | |
6932 | (target_overlay_update): Remove variable. | |
6933 | (overlay_is_mapped): Call gdbarch_overlay_update instead of | |
6934 | target_overlay_update. | |
6935 | (overlay_load_command): Likewise. | |
6936 | * symfile.h (struct obj_section): Add forward declaration. | |
6937 | (simple_overlay_update): Add prototype. | |
6938 | ||
6939 | * m32r-tdep.c (m32r_gdbarch_init): Install simple_overlay_update. | |
6940 | ||
06d3b283 UW |
6941 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6942 | ||
6943 | * observer.sh: Add "struct objfile" forward declaration. | |
6944 | * target.h (deprecated_target_new_objfile_hook): Remove. | |
6945 | * symfile.c (deprecated_target_new_objfile_hook): Remove. | |
6946 | (clear_symtab_users): Call observer_notify_new_objfile. | |
6947 | (symbol_file_add_with_addrs_or_offsets): Likewise. | |
6948 | * rs6000-nat.c: Include "observer.h". | |
6949 | (vmap_ldinfo): Call observer_notify_new_objfile. | |
6950 | (xcoff_relocate_core): Likewise. | |
6951 | * remote.c (remote_new_objfile_chain): Remove. | |
6952 | (remote_new_objfile): Do not call remote_new_objfile_chain. | |
6953 | (_initialize_remote): Use observer_attach_new_objfile. | |
6954 | * tui/tui-hooks.c (tui_target_new_objfile_chain): Remove. | |
6955 | (tui_new_objfile_hook): Do not call tui_target_new_objfile_chain. | |
6956 | (_initialize_tui_hooks): Use observer_attach_new_objfile. | |
6957 | * aix-thread.c: Include "observer.h". | |
6958 | (target_new_objfile_chain): Remove. | |
6959 | (new_objfile): Do not call target_new_objfile_chain. | |
6960 | (_initialize_aix_thread): Use observer_attach_new_objfile. | |
6961 | * hpux-thread.c: Include "observer.h" | |
6962 | (target_new_objfile_chain): Remove. | |
6963 | (hpux_thread_new_objfile): Make static. Do not call | |
6964 | target_new_objfile_chain. | |
6965 | (_initialize_hpux_thread): Use observer_attach_new_objfile. | |
6966 | * linux-thread-db.c: Include "observer.h". | |
6967 | (target_new_objfile_chain): Remove. | |
6968 | (thread_db_new_objfile): Do not call target_new_objfile_chain. | |
6969 | (_initialize_thread_db): Use observer_attach_new_objfile. | |
6970 | * sol-thread.c: Include "observer.h". | |
6971 | (target_new_objfile_chain): Remove. | |
6972 | (sol_thread_new_objfile): Make static. Do not call | |
6973 | target_new_objfile_chain. | |
6974 | (_initialize_sol_thread): Use observer_attach_new_objfile. | |
6975 | * Makefile.in (aix-thread.o, hpux-thread.o, linux-thread-db.o, | |
6976 | rs6000-nat.o, sol-thread.o, tui-hooks.o): Add dependency on | |
6977 | $(observer_h). | |
6978 | ||
93ce7684 UW |
6979 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6980 | ||
6981 | * gdbarch.sh (remote_translate_xfer_address): Remove. | |
6982 | * gdbarch.h, gdbarch.c: Regenerate. | |
6983 | * arch-utils.c (generic_remote_translate_xfer_address): Remove. | |
6984 | * arch-utils.h (generic_remote_translate_xfer_address): Remove. | |
6985 | * remote.c (remote_write_bytes_aux, remote_read_bytes): Do not | |
6986 | call gdbarch_remote_translate_xfer_address. | |
6987 | * frv-tdep.c (frv_gdbarch_init): Do not call | |
6988 | set_gdbarch_remote_translate_xfer_address. | |
6989 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Remove. | |
6990 | (ia64_gdbarch_init): Do not install it. | |
6991 | ||
a6ec25f2 BW |
6992 | 2007-05-11 Bob Wilson <bob.wilson@acm.org> |
6993 | ||
6994 | * NEWS: Mention change in handling the -tui option. | |
6995 | ||
2ef52e77 DJ |
6996 | 2007-05-11 Daniel Jacobowitz <dan@codesourcery.com> |
6997 | ||
6998 | * linux-thread-db.c (enable_thread_event_reporting): Fix comment | |
6999 | typo. | |
7000 | ||
1aafd4da UW |
7001 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
7002 | ||
7003 | * breakpoint.c (single_step_breakpoint_inserted_here_p): New function. | |
7004 | (breakpoint_inserted_here_p): Call it. | |
7005 | (software_breakpoint_inserted_here_p): Likewise. | |
7006 | ||
7714d83a UW |
7007 | 2007-05-10 Ulrich Weigand <uweigand@de.ibm.com> |
7008 | ||
7009 | * inf-ptrace.c (inf_ptrace_register_u_offset): Adapt parameter list. | |
7010 | (inf_ptrace_fetch_register): Add register_u_offset callback parameters | |
7011 | GDBARCH and STORE_P. Handle callback (CORE_ADDR) -1 return value. | |
7012 | (inf_ptrace_store_register): Likewise. | |
7013 | (inf_ptrace_trad_target): Adapt register_u_offset parameter list. | |
7014 | * inf-ptrace.h (inf_ptrace_trad_target): Likewise. | |
7015 | ||
7016 | * vax-nat.c (vax_register_u_offset): Adapt parameter list. | |
7017 | ||
7018 | * linux-nat.c (linux_trad_target): Adapt parameter list. | |
7019 | * linux-nat.h (linux_trad_target): Likewise. | |
7020 | ||
7021 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Adapt parameters. | |
7022 | ||
7023 | * mips-linux-nat.c (mips_linux_cannot_fetch_register): Remove. | |
7024 | (mips_linux_cannot_store_register): Likewise. | |
7025 | (mips_linux_register_addr): Add GDBARCH and STORE_P parameters. | |
7026 | Return (CORE_ADDR) -1 for registers that cannot be fetched or | |
7027 | stored via ptrace. Use GDBARCH instead of current_gdbarch. | |
7028 | (mips64_linux_register_addr): Likewise. | |
7029 | (mips_linux_register_u_offset): Adapt parameter list. Pass | |
7030 | GDBARCH and STORE_P on to mips{64}_linux_register_addr. | |
7031 | ||
7032 | * config/mips/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
7033 | * config/mips/nm-linux.h: Delete file. | |
7034 | ||
4ddda9b5 PA |
7035 | 2007-05-10 Pedro Alves <pedro_alves@portugalmail.pt> |
7036 | ||
7037 | * remote.c (remote_detach): Error out if remote can't detach. | |
7038 | ||
24d45690 UW |
7039 | 2007-05-10 Luis Machado <luisgpm@br.ibm.com> |
7040 | ||
362f854e PA |
7041 | * rs6000-tdep.c: (deal_with_atomic_sequence) Stores branch |
7042 | instruction's opcode in the "opcode" variable and declares new | |
7043 | variable "closing_insn". | |
24d45690 | 7044 | |
1430be3e MR |
7045 | 2007-05-10 Chris Dearman <chris@mips.com> |
7046 | Maciej W. Rozycki <macro@mips.com> | |
7047 | ||
7048 | * cli/cli-setshow.c (do_setshow_command): Remove trailing | |
7049 | whitespace when setting a var_filename. | |
7050 | ||
b0da54f1 BW |
7051 | 2007-05-09 Bob Wilson <bob.wilson@acm.org> |
7052 | ||
7053 | * main.c (captured_main): Recognize -tui option and print an error | |
7054 | message when the TUI is not configured. | |
7055 | ||
9a88e5ee AS |
7056 | 2007-05-09 Andreas Schwab <schwab@suse.de> |
7057 | ||
7058 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't | |
7059 | set removed members. | |
7060 | (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. | |
7061 | ||
fc0d8df4 UW |
7062 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
7063 | ||
7064 | * gdbarch.sh (deprecated_store_struct_return): Remove. | |
7065 | * gdbarch.c, gdbarch.h: Regenerate. | |
7066 | * frv-tdep.c (frv_store_struct_return): Remove. | |
7067 | (frv_gdbarch_init): Do not install it. | |
7068 | ||
179101d6 UW |
7069 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
7070 | ||
7071 | * config/i386/nm-i386sol2.h (USE_PROC_FS): Do not define. | |
7072 | * config/mips/nm-irix5.h (USE_PROC_FS): Do not define. | |
7073 | * config/nm-linux.h (USE_PROC_FS): Do not undefine. | |
7074 | ||
b9efddcd UW |
7075 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
7076 | ||
7077 | * spu-linux-nat.c: Include "gdb_stdint.h". | |
7078 | (fetch_ppc_register): Use uint64_t instead of unsigned long long. | |
7079 | (fetch_ppc_memory_1, store_ppc_memory_1): Likewise. | |
7080 | (fetch_ppc_memory, store_ppc_memory): Fix coding style. | |
7081 | (spu_symbol_file_add_from_memory): Use strtoulst instead of sscanf. | |
7082 | (spu_child_wait): Mark up string for translation. | |
7083 | ||
ce5eab59 UW |
7084 | 2007-05-08 Paul Gilliam <pgilliam@us.ibm.com> |
7085 | Luis Machado <luisgpm@br.ibm.com> | |
7086 | ||
7087 | * rs6000-tdep.c: (LWARX_MASK, LWARX_INSTRUCTION, LDARX_INSTRUCTION, | |
7088 | STWCX_MASK, STWCX_INSTRUCTION, STDCX_INSTRUCTION, BC_MASK, | |
7089 | BC_INSTRUCTION): Define. | |
7090 | (deal_with_atomic_sequence): New function. | |
7091 | (rs6000_software_single_step): Call deal_with_atomic_sequence. | |
7092 | (rs6000_gdbarch_init): Install deal_with_atomic_sequence as | |
7093 | gdbarch_software_single_step routine. | |
7094 | ||
4179a487 UW |
7095 | 2007-05-07 Ulrich Weigand <uweigand@de.ibm.com> |
7096 | ||
7097 | * spu-linux-nat.c (fetch_ppc_register, fetch_ppc_memory_1, | |
7098 | store_ppc_memory_1, fetch_ppc_memory, store_ppc_memory, | |
7099 | parse_spufs_run, spu_bfd_iovec_pread, spu_bfd_open, | |
7100 | spu_symbol_file_add_from_memory, spu_child_post_startup_inferior, | |
7101 | spu_child_post_attach, spu_fetch_inferior_registers, | |
7102 | spu_store_inferior_registers, spu_xfer_partial): Store PPE-side | |
7103 | memory addresses as ULONGEST, not CORE_ADDR. | |
7104 | ||
6d350bb5 UW |
7105 | 2007-05-07 Ulrich Weigand <uweigand@de.ibm.com> |
7106 | ||
7107 | * gdbarch.sh: Add skip_permanent_breakpoint callback. | |
7108 | * gdbarch.h, gdbarch.c: Regenerate. | |
7109 | ||
7110 | * infrun.c (SKIP_PERMANENT_BREAKPOINT): Remove default definition. | |
7111 | (resume): Call gdbarch_skip_permanent_breakpoint instead of | |
7112 | SKIP_PERMANENT_BREAKPOINT. Inline default case. | |
7113 | ||
7114 | * hppa-hpux-tdep.c (hppa_skip_permanent_breakpoint): Make static. | |
7115 | Add REGCACHE argument. Use it instead of read/write_register. | |
7116 | (hppa_hpux_init_abi): Install hppa_skip_permanent_breakpoint. | |
7117 | ||
7118 | * config/pa/tm-hppah.h: Delete file. | |
7119 | * config/pa/hppa64.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h. | |
7120 | * config/pa/hppahpux.mt (DEPRECATED_TM_FILE): Likewise. | |
7121 | ||
b18be20d DJ |
7122 | 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com> |
7123 | ||
7124 | * Makefile.in (c-lang.o, gnu-v3-abi.o): Update. | |
7125 | * NEWS: Mention improved C++ thunk support. | |
7126 | * c-lang.c (cplus_language_defn): Mention cplus_skip_trampoline. | |
7127 | * cp-abi.c (cplus_skip_trampoline): New. | |
7128 | * cp-abi.h (cplus_skip_trampoline): New prototype. | |
7129 | (struct cp_abi_ops): Add skip_trampoline member. | |
7130 | * gnu-v3-abi.c (gnuv3_skip_trampoline): New. | |
7131 | (init_gnuv3_ops): Set skip_trampoline. | |
7132 | ||
dda9b909 DJ |
7133 | 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com> |
7134 | ||
7135 | * rs6000-tdep.c (struct frame_extra_info): Delete. | |
7136 | ||
34091d9b DJ |
7137 | 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com> |
7138 | ||
7139 | * linux-thread-db.c: Update some FIXME comments. | |
7140 | (thread_db_xfer_partial): Delete. | |
7141 | (init_thread_db_ops): Do not set to_xfer_partial. | |
7142 | ||
1da33a4a UW |
7143 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7144 | ||
7145 | * inftarg.c, infptrace.c: Remove files. | |
7146 | * Makefile.in (ALLDEPFILES): Remove inftarg.c and infptrace.c | |
7147 | (inftarg.o, infptrace.o): Remove rules. | |
7148 | * gdbcore.h (register_addr): Remove prototype. | |
7149 | * inferior.h (kill_inferior, store_inferior_registers, | |
7150 | fetch_inferior_registers, attach, detach, ptrace_wait, child_resume, | |
7151 | call_ptrace, pre_fork_inferior): Remove prototypes. | |
7152 | * target.h (child_xfer_memory, child_pid_to_exec_file, | |
7153 | child_core_file_to_sym_file, child_post_attach, | |
7154 | child_post_startup_inferior, child_acknowledge_created_inferior, | |
7155 | child_insert_fork_catchpoint, child_remove_fork_catchpoint, | |
7156 | child_insert_vfork_catchpoint, child_remove_vfork_catchpoint, | |
7157 | child_insert_exec_catchpoint, child_remove_exec_catchpoint, | |
7158 | child_follow_fork, child_reported_exec_events_per_exec_call, | |
7159 | child_has_exited, child_thread_alive): Remove prototypes. | |
7160 | ||
6f7a27d5 UW |
7161 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7162 | ||
7163 | * sparc-nat.h (sparc_fetch_inferior_registers): Add prototype. | |
7164 | (sparc_store_inferior_registers): Likewise. | |
7165 | * sparc-nat.c (fetch_inferior_registers): Rename to ... | |
7166 | (sparc_fetch_inferior_registers): ... this. | |
7167 | (store_inferior_registers): Rename to ... | |
7168 | (sparc_store_inferior_registers): ... this. | |
7169 | (sparc_target): Update callback names. | |
7170 | * sparc-linux.nat.c (_initialize_sparc_linux_nat): Likewise. | |
7171 | * sparc64-linux.nat.c (_initialize_sparc64_linux_nat): Likewise. | |
7172 | ||
6d8fd2b7 UW |
7173 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7174 | ||
7175 | * linux-nat.c (child_post_attach): Rename to ... | |
7176 | (linux_child_post_attach): ... this. Make static. | |
7177 | (child_follow_fork): Rename to ... | |
7178 | (linux_child_follow_fork): ... this. Make static. | |
7179 | (child_insert_fork_catchpoint): Rename to ... | |
7180 | (linux_child_insert_fork_catchpoint): ... this. Make static. | |
7181 | (child_insert_vfork_catchpoint): Rename to ... | |
7182 | (linux_child_insert_vfork_catchpoint): ... this. Make static. | |
7183 | (child_insert_exec_catchpoint): Rename to ... | |
7184 | (linux_child_insert_exec_catchpoint): ... this. Make static. | |
7185 | (child_pid_to_exec_file): Rename to ... | |
7186 | (linux_child_pid_to_exec_file): ... this. Make static. | |
7187 | Add prototype. | |
7188 | (linux_handle_extended_wait): Update call. | |
7189 | (linux_xfer_partial): Update callback routine names. | |
7190 | ||
d08950c4 UW |
7191 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7192 | ||
7193 | * configure.host (alpha*-*-osf[12]*): Remove support. | |
7194 | * NEWS: Mention removed configurations. | |
7195 | ||
7196 | * config/alpha/alpha-osf1.mh: Delete file. | |
7197 | * config/alpha/alpha-osf2.mh: Delete file. | |
7198 | * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove inftarg.o | |
7199 | and infptrace.o. | |
7200 | * config/alpha/nm-osf.h: Delete file. | |
7201 | * config/alpha/nm-osf2.h: Delete file. | |
7202 | * config/alpha/nm-osf3.h: Do not include "nm-osf2.h". | |
7203 | (START_INFERIOR_TRAPS_EXPECTED): Copy from nm-osf.h. | |
7204 | (PROCFS_DONT_TRACE_FAULTS): Copy from nm-osf2.h. | |
7205 | ||
7206 | * alpha-nat.c (ALPHA_UNIQUE_PTRACE_ADDR): Do not define. | |
7207 | (register_addr, kernel_u_size): Remove. | |
7208 | Do not check for "defined(USE_PROC_FS) || defined(HAVE_GREGSET_T)". | |
7209 | ||
9c5ea4d9 UW |
7210 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7211 | ||
7212 | * regcache.c (regcache_invalidate): New function. | |
7213 | (register_cached): Remove. | |
7214 | (set_register_cached): Remove. | |
7215 | (deprecated_registers_fetched): Remove. | |
7216 | (registers_changed): Use regcache_invalidate instead | |
7217 | of set_register_cached. | |
7218 | (regcache_raw_read): Update comment. | |
7219 | ||
7220 | * regcache.h (regcache_invalidate): Add prototype. | |
7221 | (register_cached): Remove. | |
7222 | (set_register_cached): Remove. | |
7223 | (deprecated_registers_fetched): Remove. | |
7224 | ||
7225 | * findvar.c (value_of_register): Do not call register_cached. | |
7226 | * frame.c (frame_register): Likewise. | |
7227 | * tui/tui-regs.c (tui_get_register): Likewise. | |
7228 | ||
7229 | * remote.c (fetch_register_using_p): Do not call set_register_cached. | |
7230 | (process_g_packet): Likewise. | |
7231 | (remote_fetch_registers): Likewise. | |
7232 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
7233 | * mt-tdep.c (mt_select_coprocessor): Replace set_register_cached call | |
7234 | by regcache_invalidate. | |
7235 | (mt_pseudo_register_write): Likewise. | |
7236 | * sh-tdep.c (sh_pseudo_register_write): Likewise. | |
7237 | ||
7238 | * corelow.c (get_core_registers): Replace deprecated_registers_fetched | |
7239 | call by loop over regcache_raw_supply (..., NULL). | |
7240 | ||
316f2060 UW |
7241 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7242 | ||
7243 | * target.h (struct target_ops): Add REGCACHE parameter to | |
7244 | to_prepare_to_store. | |
7245 | (target_prepare_to_store): Likewise. | |
7246 | * target.c (debug_to_prepare_to_store): Add REGCACHE parameter. | |
7247 | (update_current_target): Adapt prepare_to_store de_fault rule. | |
7248 | ||
7249 | * regcache.c (regcache_raw_write): Pass regcache to | |
7250 | target_prepare_to_store. | |
7251 | ||
7252 | * inftarg.c (child_prepare_to_store): Add REGCACHE parameter. | |
7253 | Do not call CHILD_PREPARE_TO_STORE. | |
7254 | * gnu-nat.c (gnu_prepare_to_store): Likewise. | |
7255 | * procfs.c (procfs_prepare_to_store): Likewise. | |
7256 | ||
7257 | * inf-child.c (inf_child_prepare_to_store): Add REGCACHE parameter. | |
7258 | * go32-nat.c (go32_prepare_to_store): Likewise. | |
7259 | * monitor.c (monitor_prepare_to_store): Likewise. | |
7260 | * nto-procfs.c (procfs_prepare_to_store): Likewise. | |
7261 | * remote-m32r-sdi.c (m32r_prepare_to_store): Likewise. | |
7262 | * remote-mips.c (mips_prepare_to_store): Likewise. | |
7263 | * remote-sim.c (gdbsim_prepare_to_store): Likewise. | |
7264 | * win32-nat.c (win32_prepare_to_store): Likewise. | |
7265 | ||
7266 | * remote.c (remote_prepare_to_store): Add REGCACHE parameter. | |
7267 | Use it instead of current_regcache. | |
7268 | ||
7269 | * hpux-thread.c (hpux_thread_prepare_to_store): Add REGCACHE | |
7270 | parameter. Pass it on to next target. | |
7271 | * sol-thread.c (sol_thread_prepare_to_store): Likewise. | |
7272 | ||
56be3814 UW |
7273 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7274 | ||
7275 | * target.h (struct regcache): Add forward declaration. | |
7276 | (struct target_ops): Add REGCACHE parameter to to_fetch_registers | |
7277 | and to_store_registers target operations. | |
7278 | (target_fetch_registers, target_store_registers): Update. | |
7279 | ||
7280 | * regcache.c (regcache_raw_read): Replace register_cached by | |
7281 | regcache_valid_p. Pass regcache to target_fetch_registers. | |
7282 | (regcache_raw_write): Pass regcache to target_store_registers. | |
7283 | ||
7284 | * arm-linux-nat.c (store_fpregister, store_fpregs, store_register, | |
7285 | store_regs, store_wmmx_regs): Replace register_cached by | |
7286 | regcache_valid_p. | |
7287 | ||
7288 | * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd): Pass current_regcache | |
7289 | to target_fetch_registers calls. | |
7290 | * corelow.c (core_open): Likewise. | |
7291 | * linux-nat.c (linux_nat_corefile_thread_callback): Likewise. | |
7292 | * proc-service.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs, | |
7293 | ps_lsetfpregs): Likewise. | |
7294 | * sol-thread.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs, | |
7295 | ps_lsetfpregs): Likewise. | |
7296 | * win32-nat.c (win32_resume): Likewise. | |
7297 | * ia64-tdep.c (ia64_store_return_value): Pass current_regcache | |
7298 | to target_store_registers call. | |
7299 | * rs6000-tdep.c (rs6000_push_dummy_call): Likewise. | |
7300 | ||
7301 | * inferior.h (store_inferior_registers): Update prototype. | |
7302 | (fetch_inferior_registers): Likewise. | |
7303 | * gnu-nat.c (gnu_store_registers, gnu_fetch_registers): Likewise. | |
7304 | * mips-linux-nat.c (super_fetch_registers, super_store_registers): | |
7305 | Update function pointer signatures. | |
7306 | ||
7307 | * aix-thread.c (aix_thread_fetch_registers): Add REGCACHE parameter, | |
7308 | use it instead of current_regcache, update calls. | |
7309 | (aix_thread_store_registers): Likewise. | |
7310 | * alphabsd-nat.c (alphabsd_fetch_inferior_registers): Likewise. | |
7311 | (alphabsd_store_inferior_registers): Likewise. | |
7312 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Likewise. | |
7313 | (amd64bsd_store_inferior_registers): Likewise. | |
7314 | * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Likewise. | |
7315 | (amd64_linux_store_inferior_registers): Likewise. | |
7316 | * arm-linux-nat.c (fetch_fpregister, fetch_fpregs, store_fpregister, | |
7317 | store_fpregs, fetch_register, fetch_regs, store_register, store_regs, | |
7318 | fetch_wmmx_regs, store_wmmx_regs): Likewise. | |
7319 | (arm_linux_fetch_inferior_registers): Likewise. | |
7320 | (arm_linux_store_inferior_registers): Likewise. | |
7321 | * armnbsd-nat.c (fetch_register, fetch_regs, fetch_fp_register, | |
7322 | fetch_fp_regs, armnbsd_fetch_registers): Likewise. | |
7323 | (store_register, store_regs, store_fp_register, store_fp_regs, | |
7324 | armnbsd_store_registers): Likewise. | |
7325 | * bsd-kvm.c (bsd_kvm_fetch_pcb, bsd_kvm_fetch_registers): Likewise. | |
7326 | * bsd-uthread.c (bsd_uthread_fetch_registers): Likewise. | |
7327 | (bsd_uthread_store_registers): Likewise. | |
7328 | * corelow.c (get_core_registers): Likewise. | |
7329 | * go32-nat.c (fetch_register, go32_fetch_registers, store_register, | |
7330 | go32_store_registers): Likewise. | |
7331 | * hppabsd-nat.c (hppabsd_fetch_registers): Likewise. | |
7332 | (hppabsd_store_registers): Likewise. | |
7333 | * hppa-hpux-nat.c (hppa_hpux_fetch_register): Likewise. | |
7334 | (hppa_hpux_fetch_inferior_registers): Likewise. | |
7335 | (hppa_hpux_store_register): Likewise. | |
7336 | (hppa_hpux_store_inferior_registers): Likewise. | |
7337 | * hppa-linux-nat.c (fetch_register, store_register): Likewise. | |
7338 | (hppa_linux_fetch_inferior_registers): Likewise. | |
7339 | (hppa_linux_store_inferior_registers): Likewise. | |
7340 | * hpux-thread.c (hpux_thread_fetch_registers): Likewise. | |
7341 | (hpux_thread_store_registers): Likewise. | |
7342 | * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Likewise. | |
7343 | (i386bsd_store_inferior_registers): Likewise. | |
7344 | * i386gnu-nat.c (fetch_fpregs, gnu_fetch_registers, store_fpregs, | |
7345 | gnu_store_registers): Likewise. | |
7346 | * i386-linux-nat.c (fetch_register, store_register, fetch_regs, | |
7347 | store_regs, fetch_fpregs, store_fpregs, fetch_fpxregs, store_fpxregs): | |
7348 | Likewise. | |
7349 | (i386_linux_fetch_inferior_registers): Likewise. | |
7350 | (i386_linux_store_inferior_registers): Likewise. | |
7351 | * ia64-linux-nat.c (ia64_linux_fetch_register): Likewise. | |
7352 | (ia64_linux_fetch_registers): Likewise. | |
7353 | (ia64_linux_store_register): Likewise. | |
7354 | (ia64_linux_store_registers): Likewise. | |
7355 | * inf-child.c (inf_child_fetch_inferior_registers): Likewise. | |
7356 | (inf_child_store_inferior_registers): Likewise. | |
7357 | * inf-ptrace.c (inf_ptrace_fetch_register): Likewise. | |
7358 | (inf_ptrace_fetch_registers): Likewise. | |
7359 | (inf_ptrace_store_register): Likewise. | |
7360 | (inf_ptrace_store_registers): Likewise. | |
7361 | * infptrace.c (fetch_register, store_register): Likewise. | |
7362 | (fetch_inferior_registers, store_inferior_registers): Likewise. | |
7363 | * m32r-linux-nat.c (fetch_regs, store_regs): Likewise. | |
7364 | (m32r_linux_fetch_inferior_registers): Likewise. | |
7365 | (m32r_linux_store_inferior_registers): Likewise. | |
7366 | * m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Likewise. | |
7367 | (m68kbsd_store_inferior_registers): Likewise. | |
7368 | * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers, | |
7369 | store_register, old_store_inferior_registers, fetch_regs, store_regs, | |
7370 | fetch_fpregs, store_fpregs): Likewise. | |
7371 | (m68k_linux_fetch_inferior_registers): Likewise. | |
7372 | (m68k_linux_store_inferior_registers): Likewise. | |
7373 | * m88kbsd-nat.c (m88kbsd_fetch_inferior_registers): Likewise. | |
7374 | (m88kbsd_store_inferior_registers): Likewise. | |
7375 | * mips64obsd-nat.c (mips64obsd_fetch_inferior_registers): Likewise. | |
7376 | (mips64obsd_store_inferior_registers): Likewise. | |
7377 | * mips-linux-nat.c (mips64_linux_regsets_fetch_registers): Likewise. | |
7378 | (mips64_linux_regsets_store_registers): Likewise. | |
7379 | (mips64_linux_fetch_registers): Likewise. | |
7380 | (mips64_linux_store_registers): Likewise. | |
7381 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers): Likewise. | |
7382 | (mipsnbsd_store_inferior_registers): Likewise. | |
7383 | * monitor.c (monitor_fetch_register, monitor_store_register): Likewise. | |
7384 | (monitor_fetch_registers, monitor_store_registers): Likewise. | |
7385 | * nto-procfs.c (procfs_fetch_registers): Likewise. | |
7386 | (procfs_store_registers): Likewise. | |
7387 | * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register, | |
7388 | fetch_register, supply_vrregset, fetch_altivec_registers, | |
7389 | fetch_ppc_registers, ppc_linux_fetch_inferior_registers): Likewise. | |
7390 | (store_altivec_register, store_spe_register, store_register, | |
7391 | fill_vrregset, store_altivec_registers, store_ppc_registers, | |
7392 | ppc_linux_store_inferior_registers): Likewise. | |
7393 | * ppcnbsd-nat.c (ppcnbsd_fetch_inferior_registers): Likewise. | |
7394 | (ppcnbsd_store_inferior_registers): Likewise. | |
7395 | * ppcobsd-nat.c (ppcobsd_fetch_registers): Likewise. | |
7396 | (ppcobsd_store_registers): Likewise. | |
7397 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
7398 | * remote.c (fetch_register_using_p, process_g_packet, | |
7399 | fetch_registers_using_g, remote_fetch_registers): Likewise. | |
7400 | (store_register_using_P, store_registers_using_G, | |
7401 | remote_store_registers): Likewise. | |
7402 | * remote-m32r-sdi.c (m32r_fetch_registers, m32r_fetch_register, | |
7403 | m32r_store_register, m32r_store_register): Likewise. | |
7404 | * remote-mips.c (mips_fetch_registers, mips_store_registers): Likewise. | |
7405 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
7406 | (gdbsim_store_register): Likewise. | |
7407 | * rs6000-nat.c (fetch_register, store_register): Likewise. | |
7408 | (rs6000_fetch_inferior_registers): Likewise. | |
7409 | (rs6000_store_inferior_registers): Likewise. | |
7410 | * s390-nat.c (fetch_regs, store_regs): Likewise. | |
7411 | (fetch_fpregs, store_fpregs): Likewise. | |
7412 | (s390_linux_fetch_inferior_registers): Likewise. | |
7413 | (s390_linux_store_inferior_registers): Likewise. | |
7414 | * shnbsd-nat.c (shnbsd_fetch_inferior_registers): Likewise. | |
7415 | (shnbsd_store_inferior_registers): Likewise. | |
7416 | * sol-thread.c (sol_thread_fetch_registers): Likewise. | |
7417 | (sol_thread_store_registers): Likewise. | |
7418 | * sparc-nat.c (fetch_inferior_registers): Likewise. | |
7419 | (store_inferior_registers): Likewise. | |
7420 | * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise. | |
7421 | (spu_store_inferior_registers): Likewise. | |
7422 | * target.c (debug_print_register): Likewise. | |
7423 | (debug_to_fetch_registers, debug_to_store_registers): Likewise. | |
7424 | * vaxbsd-nat.c (vaxbsd_fetch_inferior_registers): Likewise. | |
7425 | (vaxbsd_store_inferior_registers): Likewise. | |
7426 | * win32-nat.c (do_win32_fetch_inferior_registers): Likewise. | |
7427 | (win32_fetch_inferior_registers): Likewise. | |
7428 | (win32_store_inferior_registers): Likewise. | |
7429 | ||
9eefc95f UW |
7430 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7431 | ||
7432 | * gdbcore.h (struct regcache): Add forward declaration. | |
7433 | (struct core_fns): Add REGCACHE argument to core_read_registers | |
7434 | callback. | |
7435 | * corelow.c (get_core_register_section): Add REGCACHE argument, | |
7436 | use it instead of current_regcache, pass it to core_read_registers | |
7437 | callback. | |
7438 | (get_core_registers): Add current_regcache as parameter to | |
7439 | get_core_register_section calls. | |
7440 | ||
7441 | * alpha-nat.c (fetch_osf_core_registers): Add REGCACHE argument, | |
7442 | use it instead of current_regcache. | |
7443 | * armnbsd-nat.c (fetch_core_registers): Likewise. | |
7444 | (fetch_elfcore_registers): Likewise. | |
7445 | * core-regset.c (fetch_core_registers): Likewise. | |
7446 | * cris-tdep.c (fetch_core_registers): Likewise. | |
7447 | * irix5-nat.c (fetch_core_registers): Likewise. | |
7448 | * m68klinux-nat.c (fetch_core_registers): Likewise. | |
7449 | * mips-linux-tdep.c (fetch_core_registers): Likewise. | |
7450 | * win32-nat.c (fetch_elf_core_registers): Likewise. | |
7451 | ||
7f7fe91e UW |
7452 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7453 | ||
7454 | * gregset.h (struct regcache): Add forward declaration. | |
7455 | (supply_gregset): Add REGCACHE parameter, make GREGS const. | |
7456 | (supply_fpregset): Add REGCACHE parameter, make FPREGS const. | |
7457 | (supply_fpxregset): Add REGCACHE parameter, make FPXREGS const. | |
7458 | (fill_gregset): Add REGCACHE parameter. | |
7459 | (fill_fpregset): Likewise. | |
7460 | (fill_fpxregset): Likewise. | |
7461 | ||
7462 | Update all definitions accordingly: | |
7463 | * alphabsd-nat.c, alpha-linux-nat.c, alpha-nat.c, amd64-linux-nat.c, | |
7464 | arm-linux-nat.c, hppa-linux-nat.c, i386gnu-nat.c, i386-linux-nat.c, | |
7465 | i386-sol2-nat.c, i386v4-nat.c, ia64-linux-nat.c, irix5-nat.c, | |
7466 | m32r-linux-nat.c, m68klinux-nat.c, mips-linux-nat.c, ppc-linux-nat.c, | |
7467 | s390-nat.c, sparc64-linux-nat.c, sparc-linux-nat.c, sparc-sol2-nat.c | |
7468 | (supply_gregset): Add REGCACHE parameter, use it instead of | |
7469 | current_regcache. Make GREGSETP parameter const, adapt casts. | |
7470 | (supply_fpregset): Add REGCACHE parameter, use it instead of | |
7471 | current_regcache. Make FPREGSETP parameter const, adapt casts. | |
7472 | (fill_gregset): Add REGCACHE parameter, use it instead of | |
7473 | current_regcache. | |
7474 | (fill_fpregset): Likewise. | |
7475 | ||
7476 | Update all callers to pass in current_regcache as the new argument: | |
7477 | * core-regset.c: Include "regcache.h". | |
7478 | (fetch_core_registers): Update supply_gregset,and supply_fpregset calls. | |
7479 | * procfs.c: Include "regcache.h". | |
7480 | (procfs_fetch_registers): Update supply_gregset, supply_fpregset calls. | |
7481 | (procfs_store_registers): Update fill_gregset, fill_fpregset calls. | |
7482 | (procfs_do_thread_registers): Likewise. | |
7483 | (procfs_make_note_section): Likewise. | |
7484 | * proc-service.c: Include "regcache.h". | |
7485 | (ps_lgetregs): Update fill_gregset call. | |
7486 | (ps_lsetregs): Update supply_gregset call. | |
7487 | (ps_lgetfpregs): Update fill_fpregset call. | |
7488 | (ps_lsetfpregs): Update supply_fpregset call. | |
7489 | * sol-thread.c (sol_thread_fetch_registers): Update supply_gregset, | |
7490 | supply_fpregset calls. | |
7491 | (sol_thread_store_registers): Update fill_gregset, fill_fpregset calls. | |
7492 | (ps_lgetregs): Update fill_gregset call. | |
7493 | (ps_lsetregs): Update supply_gregset call. | |
7494 | (ps_lgetfpregs): Update fill_fpregset call. | |
7495 | (ps_lsetfpregs): Update supply_fpregset call. | |
7496 | ||
7497 | * linux-nat.c (linux_nat_do_thread_registers): Update fill_gregset, | |
7498 | fill_fpregset, and fill_fpxregset calls. | |
7499 | * i386-linux-nat.c (fetch_regs): Update supply_gregset call. | |
7500 | (store_regs): Update fill_gregset call. | |
7501 | (fetch_fpregs): Update supply_fpregset call. | |
7502 | (store_fpregs): Update fill_fpregset call. | |
7503 | (fetch_fpxregs): Update supply_fpxregset call. | |
7504 | (store_fpxregs): Update fill_fpxregset call. | |
7505 | * m32r-linux-nat.c (fetch_regs): Update supply_gregset call. | |
7506 | (store_regs): Update fill_gregset call. | |
7507 | * m68klinux-nat.c (fetch_regs): Update supply_gregset call. | |
7508 | (store_regs): Update fill_gregset call. | |
7509 | (fetch_fpregs): Update supply_fpregset call. | |
7510 | (store_fpregs): Update fill_fpregset call. | |
7511 | (fetch_core_registers): Update supply_gregset, supply_fpregset calls. | |
7512 | * s390-nat.c (fetch_regs): Update supply_gregset call. | |
7513 | (store_regs): Update fill_gregset call. | |
7514 | (fetch_fpregs): Update supply_fpregset call. | |
7515 | (store_fpregs): Update fill_fpregset call. | |
7516 | ||
7517 | * Makefile.in (core-regset.o, procfs.o, proc-service.o): Update | |
7518 | dependencies. | |
7519 | ||
c410a84c UW |
7520 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7521 | ||
7522 | * monitor.c (monitor_supply_register): Add REGCACHE parameter, use | |
7523 | it instead of current_regcache. | |
7524 | (parse_register_dump): Add REGCACHE parameter, pass it to | |
7525 | supply_register callback. | |
7526 | (monitor_dump_reg_block): Add REGCACHE parameter, pass it to | |
7527 | parse_register_dump. | |
7528 | (monitor_dump_regs): Add REGCACHE parameter, pass it to | |
7529 | parse_register_dump and dumpregs callback. | |
7530 | (monitor_wait): Pass current_regcache to parse_register_dump and | |
7531 | monitor_dump_regs. | |
7532 | (monitor_fetch_register): Pass current_regcache to | |
7533 | monitor_supply_register. | |
7534 | (monitor_fetch_registers): Pass current_regcache to | |
7535 | monitor_dump_regs. | |
7536 | * monitor.h (struct monitor_ops): Add REGCACHE parameter to | |
7537 | supply_register and dumpregs callbacks. | |
7538 | (monitor_supply_register, monitor_dump_reg_block): Update | |
7539 | prototypes. | |
7540 | * dbug-rom.c (dbug_supply_register): Add REGCACHE parameter. Pass | |
7541 | it to monitor_supply_register. | |
7542 | * dink32-rom.c (dink32_supply_register): Likewise. | |
7543 | * ppcbug-rom.c (ppcbug_supply_register): Likewise. | |
7544 | * m32r-rom.c (m32r_supply_register): Likewise. Also, use REGCACHE | |
7545 | instead of current_regcache. | |
7546 | ||
468e3d51 UW |
7547 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7548 | ||
7549 | * i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset): | |
7550 | Add REGCACHE parameter. Use it instead of current_regcache. | |
7551 | (i386nto_supply_regset): Add REGCACHE parameter, pass it to | |
7552 | i386nto_supply_gregset and i386nto_supply_fpregset. | |
7553 | (i386nto_regset_fill): Add REGCACHE parameter; use it instead | |
7554 | of current_regcache. | |
7555 | ||
7556 | * nto-procfs.c (procfs_fetch_registers): Pass current_regcache to | |
7557 | nto_supply_ helper functions. | |
7558 | (procfs_store_registers): Pass current_regcache to nto_regset_fill. | |
7559 | ||
7560 | * nto-tdep.c (nto_dummy_supply_regset): Add REGCACHE parameter. | |
7561 | ||
7562 | * nto-tdep.h (struct nto_target_ops): Add REGCACHE parameter to | |
7563 | supply_greget, supply_fpregset, supply_altregset, supply_regset, | |
7564 | and regset_fill member function pointers. | |
7565 | (nto_dummy_supply_regset): Adapt prototype. | |
7566 | ||
4e3269e3 UW |
7567 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7568 | ||
7569 | * shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it | |
7570 | instead of current_regcache. Make REGS const. | |
7571 | (shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache. | |
7572 | * shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update | |
7573 | prototypes. | |
7574 | * shnbsd-nat.c: Include "regcache.h". | |
7575 | (shnbsd_fetch_inferior_registers): Pass current_regcache to | |
7576 | shnbsd_supply_reg. | |
7577 | (shnbsd_store_inferior_registers): Pass current_regcache to | |
7578 | shnbsd_fill_reg. | |
7579 | * Makefile.in (shbsd-nat.o): Update dependencies. | |
7580 | ||
28f5035f UW |
7581 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7582 | ||
7583 | * mips-linux-tdep.c (supply_32bit_reg): Add REGCACHE parameter. Use it | |
7584 | instead of current_regcache. | |
7585 | (mips_supply_gregset): Likewise. Pass REGCACHE to supply_32bit_reg. | |
7586 | Make GREGSETP const, remove superfluous casts. | |
7587 | (mips_fill_gregset): Add REGCACHE parameter; replace current_regcache. | |
7588 | (mips_supply_fpregset): Likewise. Make FPREGSETP const, remove | |
7589 | superfluous casts. | |
7590 | (mips_fill_fpregset): Add REGCACHE parameter; replace current_regcache. | |
7591 | (supply_64bit_reg): Likewise | |
7592 | (mips64_supply_gregset): Likewise. Pass REGCACHE to supply_64bit_reg. | |
7593 | Make GREGSETP const, adapt casts accordingly. | |
7594 | (mips64_fill_gregset): Add REGCACHE parameter; replace current_regcache. | |
7595 | (mips64_supply_fpregset): Likewise. Make FPREGSET const, adapt | |
7596 | casts accordingly. | |
7597 | (mips64_fill_fpregset): Add REGCACHE parameter; replace current_regcache. | |
7598 | (fetch_core_registers): Pass current_regcache to mips{64}_(supply|fill)_ | |
7599 | helper routines. | |
7600 | * mips-linux-tdep.h (mips_supply_gregset, mips_fill_gregset, | |
7601 | mips_supply_fpregset, mips_fill_fpregset, mips64_supply_gregset, | |
7602 | mips64_fill_gregset, mips64_supply_fpregset, mips64_fill_fpregset): | |
7603 | Adapt prototypes. | |
7604 | * mips-linux-nat.c: Include "regcache.h". | |
7605 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass | |
7606 | current_regcache to mips{64}_(supply|fill)_ helper routines. | |
7607 | (mips64_linux_regsets_fetch_registers): Likewise. | |
7608 | (mips64_linux_regsets_store_registers): Likewise. | |
7609 | ||
7610 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): Add | |
7611 | REGCACHE argument; replace current_regcache. Make REGS const. | |
7612 | (mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Add REGCACHE argument; | |
7613 | replace current_regcache. | |
7614 | * mipsnbsd-tdep.h (ipsnbsd_supply_reg, mipsnbsd_supply_fpreg, | |
7615 | mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Adapt prototypes. | |
7616 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers, | |
7617 | mipsnbsd_store_inferior_registers): Pass current_regcache to | |
7618 | mipsnbsd_(supply|fill)_... helper routines. | |
7619 | ||
7620 | * Makefile.in (mips-linux-nat.o): Update dependencies. | |
7621 | ||
26144df5 UW |
7622 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7623 | ||
7624 | * i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove. | |
7625 | * i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes. | |
7626 | * i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace | |
7627 | i387_fill_fsave and i387_fill_fxsave calls by inline copies. | |
7628 | * i386-nto-tdep.c (i386nto_regset_fill): Likewise. | |
7629 | * i386gnu-nat.c (store_fpregs): Likewise. | |
7630 | * i386v4-nat.c (fill_fpregset): Likewise. | |
7631 | * go32-nat.c (store_register, go32_store_registers): Likewise. | |
7632 | ||
c6b4e5a2 UW |
7633 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7634 | ||
7635 | * cris-tdep.c (supply_gregset): Rename to ... | |
7636 | (cris_supply_gregset): ... this. Add REGCACHE parameter. Use it | |
7637 | instead of current_regcache. | |
7638 | (fetch_core_registers): Update call. Pass current_regcache. | |
7639 | ||
d683e2b7 UW |
7640 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7641 | ||
7642 | * arnmnbsd-nat.c (supply_gregset): Rename to ... | |
7643 | (arm_supply_gregset): ... this. Add REGCACHE parameter. | |
7644 | Use it instead of current_regcache. | |
7645 | (supply_fparegset): Rename to ... | |
7646 | (arm_supply_fparegset): ... this. Add REGCACHE parameter. | |
7647 | Use it instead of current_regcache. | |
7648 | (fetch_regs, fetch_fp_regs): Update calls. Pass current_regcache. | |
7649 | (fetch_core_registers, fetch_elfcore_registers): Likewise. | |
7650 | ||
390c1522 UW |
7651 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7652 | ||
7653 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs, | |
7654 | alpha_supply_fp_regs, alpha_fill_fp_regs): Add REGCACHE parameter, | |
7655 | use it instead of current_regcache. | |
7656 | * alpha-tdep.h (struct regcache): Add forward declaration. | |
7657 | (alpha_supply_int_regs, alpha_fill_int_regs, alpha_supply_fp_regs, | |
7658 | alpha_fill_fp_regs): Update prototypes. | |
7659 | ||
7660 | * alpha-nat.c: (supply_gregset, fill_gregset, supply_fpregset, | |
7661 | fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines. | |
7662 | * alpha-linux-nat.c: Include "regcache.h". | |
7663 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass | |
7664 | current_regcache to alpha_supply/fill_ routines. | |
7665 | ||
7666 | * alphabsd-tdep.c: Include "regcache.h". | |
7667 | (alphabsd_supply_reg, alphabsd_supply_fpreg): Add REGCACHE paramter, | |
7668 | pass it to alpha_supply_ routines. Make REGS const. | |
7669 | (alphabsd_fill_reg, alphabsd_fill_fpreg): Add REGCACHE parameter, | |
7670 | pass it to alpha_fill_ routines. | |
7671 | * alphabsd-tdep.h (struct regcache): Add forward declaration. | |
7672 | (alphabsd_supply_reg, alphabsd_fill_reg, alphabsd_supply_fpreg, | |
7673 | alphabsd_fill_fpreg): Update prototypes. | |
7674 | ||
7675 | * alphanbsd-nat.c (supply_gregset, fill_gregset, supply_fpregset, | |
7676 | fill_fpregset, alphabsd_fetch_inferior_registers, | |
7677 | alphabsd_store_inferior_registers): Pass current_regcache to | |
7678 | alphabsd_supply/fill_ routines. | |
7679 | ||
7680 | * Makefile.in (alpha-linux-nat.o, alphabsd-tdep.o): Update | |
7681 | dependencies. | |
7682 | ||
647478e0 UW |
7683 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7684 | ||
7685 | * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs, | |
7686 | supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it | |
7687 | instead of current_regcache. | |
7688 | (fetch_regs_user_thread, fetch_regs_kernel_thread): Add | |
7689 | REGCACHE parameter, pass it to supply_ routines. | |
7690 | (aix_thread_fetch_registers): Pass current_regcache to | |
7691 | fetch_regs_user_thread and fetch_regs_kernel_thread. | |
7692 | ||
7693 | (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32): | |
7694 | Add REGCACHE parameter, use it instead of current_regcache. | |
7695 | Call regcache_valid_p instead of register_cached. | |
7696 | (store_regs_user_thread, store_regs_kernel_thread): Likewise. | |
7697 | Also, pass REGCACHE to fill_ routines. | |
7698 | (aix_thread_store_registers): Pass current_regcache to | |
7699 | store_regs_user_thread and store_regs_kernel_thread. | |
7700 | ||
d817e083 UW |
7701 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7702 | ||
7703 | * m32r-linux-nat.c (supply_gregset): Do not modify contents | |
7704 | pointed to by GREGSETP. | |
7705 | ||
6a1872e4 UW |
7706 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7707 | ||
7708 | * irix5-nat.c (fill_gregset): Use regcache_raw_collect instead | |
7709 | of regcache_raw_read_signed. | |
7710 | (fill_fpregset): Use regcache_raw_collect instead of | |
7711 | regcache_raw_read. | |
7712 | ||
6da397e0 KB |
7713 | 2007-05-03 Kevin Buettner <kevinb@redhat.com> |
7714 | ||
7715 | * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating | |
7716 | point arguments, test explicitly for use of the EABI32 ABI | |
7717 | instead of inferring this condition from tests on register | |
7718 | sizes. | |
7719 | ||
2219d63c KB |
7720 | 2007-05-03 Kevin Buettner <kevinb@redhat.com> |
7721 | ||
7722 | * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address | |
7723 | prior to allocating its location. | |
7724 | ||
2afd3f0a MR |
7725 | 2007-05-02 Maciej W. Rozycki <macro@mips.com> |
7726 | ||
7727 | * mips-tdep.c (mips_o32_push_dummy_call): Remove conditions | |
7728 | based on mips_abi_regsize() whose result is known in advance. | |
7729 | (mips_o64_push_dummy_call): Likewise. | |
7730 | ||
3e00823e UW |
7731 | 2007-04-29 Ulrich Weigand <uweigand@de.ibm.com> |
7732 | ||
7733 | * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check. | |
7734 | * m68k-tdep.c: Remove code within #ifdef USE_PROC_FS. | |
7735 | ||
7736 | * mips-linux-nat.c: Include "gregset.h". | |
7737 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move | |
7738 | from mips-linux-tdep.c. Change parameter type to gdb_gregset_t. | |
7739 | * mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset, | |
7740 | fill_fpregset): Move to mips-linux-nat.c. | |
7741 | ||
7742 | * Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies. | |
7743 | ||
81c4a259 UW |
7744 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
7745 | ||
7746 | * regcache.c (deprecated_read_register_gen): Remove, inline ... | |
7747 | (read_register): ... here. | |
7748 | (deprecated_write_register_gen): Remove, inline ... | |
7749 | (write_register): ... here. | |
7750 | * regcache.h (deprecated_read_register_gen): Remove prototype. | |
7751 | (deprecated_write_register_gen): Likewise. | |
7752 | ||
7753 | * remote-sim.c (gdbsim_store_register): Replace call to | |
7754 | deprecated_read_register_gen with regcache_cooked_read. | |
7755 | * target.c (debug_print_register): Replace calls to | |
7756 | deprecated_read_register_gen and read_register with | |
7757 | regcache_cooked_read. | |
7758 | ||
8bb42077 UW |
7759 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
7760 | ||
7761 | * hpux-thread.c (hpux_thread_store_registers): Use | |
7762 | regcache_raw_collect, not regcache_raw_read. | |
7763 | * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply, | |
7764 | not regcache_raw_write. | |
7765 | ||
6ed7ea50 UW |
7766 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
7767 | ||
7768 | * gdbarch.sh: Remove deprecated_register_byte. | |
7769 | * gdbarch.c, gdbarch.h: Regenerate. | |
7770 | * arch-utils.h (generic_register_size, generic_register_byte): Remove. | |
7771 | * arch-utils.c (generic_register_size, generic_register_byte): Remove. | |
7772 | ||
7773 | * regcache.h (regcache_valid_p): Make REGCACHE parameter const. | |
7774 | * regcache.c (regcache_valid_p): Allow to query cooked registers in | |
7775 | read-only register caches. Make REGCACHE parameter const. | |
7776 | (regcache_dump): Do not check DEPRECATED_REGISTER_BYTE. | |
7777 | ||
7778 | * mi/mi-main.c (old_regs): Remove. | |
7779 | (mi_setup_architecture_data, _initialize_mi_main): Remove. | |
7780 | (register_changed_p): Reimplement to compare two register caches. | |
7781 | (mi_cmd_data_list_changed_registers): Update caller. | |
7782 | * mi/mi-main.h (mi_setup_architecture_data): Remove. | |
7783 | * mi/mi-interp.c (mi_interpreter_init): Do not call | |
7784 | mi_setup_architecture_data. | |
7785 | ||
efc72ef5 UW |
7786 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
7787 | ||
7788 | * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define, | |
7789 | inline definition at the places the macros are used. | |
7790 | * alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise. | |
7791 | ||
7a61a01c UW |
7792 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
7793 | ||
7794 | * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and | |
7795 | "gdb_string.h". | |
7796 | (rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables. | |
7797 | (rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions. | |
7798 | (rs6000_aix32_regset, rs6000_aix64_regset): New variables. | |
7799 | (rs6000_aix_regset_from_core_section): New function. | |
7800 | (rs6000_aix_init_osabi): Register it. | |
7801 | (_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and | |
7802 | sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000. | |
7803 | * rs6000-nat.c (CoreRegs): Do not define type. | |
7804 | (fetch_core_registers, rs6000_core_fns): Remove. | |
7805 | (_initialize_core_rs6000): Do not register it. Rename to ... | |
7806 | (_initialize_rs6000_nat): ... this. | |
7807 | * Makefile.in (rs6000-aix-tdep.o): Update dependencies. | |
7808 | ||
ace186d4 KB |
7809 | 2007-04-27 Kevin Buettner <kevinb@redhat.com> |
7810 | ||
7811 | * dwarf2expr.c (unsigned_address_type): Add forward declaration. | |
7812 | (dwarf2_read_address): Sign extend return address as required by | |
7813 | target architecture. | |
7814 | ||
89a7ee67 KB |
7815 | 2007-04-27 Kevin Buettner <kevinb@redhat.com> |
7816 | ||
7817 | * solib-frv.c (lm_base): Bail out if the main executable has | |
7818 | not been relocated. | |
7819 | ||
6afb1f32 UW |
7820 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
7821 | ||
7822 | * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location | |
7823 | of FPCR register in fpregset. | |
7824 | ||
66a0218a MR |
7825 | 2007-04-27 Maciej W. Rozycki <macro@mips.com> |
7826 | ||
7827 | * Makefile.in (gdbtk-wrapper.o): Update dependencies. | |
7828 | (gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise. | |
7829 | ||
482f7fee UW |
7830 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
7831 | ||
7832 | * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove. | |
7833 | * rs6000-nat.c (rs6000_wait): New function. | |
7834 | (_initialize_core_rs6000): Install it as to_wait target method. | |
7835 | * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS. | |
7836 | ||
1f480a5e UW |
7837 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
7838 | ||
7839 | * config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove. | |
7840 | * fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK. | |
7841 | * rs6000-nat.c (super_create_inferior): New variable. | |
7842 | (rs6000_create_inferior): Make static. Adapt argument list. Call | |
7843 | original version of create_inferior via super_create_inferior. | |
7844 | (_initialize_core_rs6000): Install to_create_inferior target method. | |
7845 | ||
037a727e UW |
7846 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
7847 | ||
7848 | * aix-thread.c (aix_thread_xfer_memory): Replace by ... | |
7849 | (aix_thread_xfer_partial): ... this. | |
7850 | (init_aix_thread_ops): Install to_xfer_partial instead | |
7851 | of deprecated_xfer_memory target method. | |
7852 | ||
7853 | * config/powerpc/aix.mh (NATDEPFILES): Remove infptrace.o | |
7854 | and inftarg.o, add inf-ptrace.o. | |
7855 | * config/rs6000/nm-rs6000.h (FETCH_INFERIOR_REGISTERS, | |
7856 | CHILD_XFER_MEMORY, KERNEL_U_SIZE, kernel_u_size): Remove. | |
7857 | * rs6000-nat.c: Include "inf-ptrace.h" and "gdb_stdint.h". | |
7858 | (fetch_inferior_registers): Rename to ... | |
7859 | (rs6000_fetch_inferior_registers): ... this. Make static. | |
7860 | (store_inferior_registers): Rename to ... | |
7861 | (rs6000_store_inferior_registers): ... this. Make static. | |
7862 | (read_word, child_xfer_memory): Remove. | |
7863 | (rs6000_xfer_partial): New function. | |
7864 | (kernel_u_size): Remove. | |
7865 | (_initialize_core_rs6000): Add inf_ptrace-based target. | |
7866 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
7867 | ||
f7dd0ed7 UW |
7868 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
7869 | ||
7870 | * inf-ptrace.c: Include "gdb_stdint.h". | |
7871 | (inf_ptrace_xfer_partial): Use "uintptr_t" instead of "long" as | |
7872 | intermediate type when casting CORE_ADDR to PTRACE_TYPE_ARG3. | |
7873 | (inf_ptrace_fetch_register): Add intermediate cast to "uintptr_t" | |
7874 | before casting CORE_ADDR to PTRACE_TYPE_ARG3. | |
7875 | (inf_ptrace_store_register): Likewise. | |
7876 | * Makefile.in (inf-ptrace.o): Update dependencies. | |
7877 | ||
d9178763 UW |
7878 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
7879 | ||
7880 | * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules. | |
7881 | * configure.tgt (rs6000-*-*): Likewise. | |
7882 | * config/rs6000/aix4.mh: Delete file. | |
7883 | * config/rs6000/aix4.mt: Delete file. | |
7884 | * config/rs6000/rs6000.mh: Delete file. | |
7885 | * config/rs6000/rs6000.mt: Delete file. | |
7886 | ||
7887 | * config/powerpc/nm-aix.h: Delete file. | |
7888 | * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h. | |
7889 | ||
0d16ee5d UW |
7890 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
7891 | ||
7892 | * aix-thread.c (fill_sprs32): Change argument types to "uint32_t *". | |
7893 | Remove obsolete part of comment. | |
7894 | (store_regs_user_thread): Use uint32_t temporaries when calling | |
7895 | fill_sprs32. | |
7896 | (store_regs_kernel_thread): Likewise. Add assertion to verify | |
7897 | correct size of struct ptsprs members. | |
7898 | (aix_thread_xfer_memory): Fix type of myaddr. | |
7899 | (aix_thread_extra_thread_info): Fix compiler warning. | |
7900 | * rs6000-nat.c (rs6000_ptrace64): Change type of buf to "void *". | |
7901 | (fetch_register, store_register): Adapt callers. | |
7902 | ||
1e8877aa UW |
7903 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
7904 | ||
7905 | * vec.h (vec_free): Rename to vec_free_. Adapt users. | |
7906 | ||
b02f9d57 UW |
7907 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
7908 | ||
7909 | * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h", | |
7910 | and "regcache.h". | |
7911 | (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New. | |
7912 | (alpha_linux_gregset, alpha_linux_fpregset): New variables. | |
7913 | (alpha_linux_regset_from_core_section): New function. | |
7914 | (alpha_linux_init_abi): Install it. | |
7915 | * alpha-linux-nat.c: Do not include "gdbcore.h". Include | |
7916 | "alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>, | |
7917 | <sys/procfs.h>, and "gregset.h". | |
7918 | (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR): | |
7919 | Move from config/alpha/nm-linux.h. | |
7920 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy | |
7921 | from alpha-nat.c. | |
7922 | (alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c. | |
7923 | * alpha-nat.c: Remove #ifdef __linux__ section. | |
7924 | (fetch_elf_core_registers, alpha_elf_core_fns): Remove. | |
7925 | (_initialize_core_alpha): Do not register alpha_elf_core_fns. | |
7926 | (ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally. | |
7927 | (ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h. | |
7928 | * config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
7929 | (NATDEPFILES): Remove alpha-nat.o. | |
7930 | * config/alpha/nm-linux.h: Delete file. | |
7931 | * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c. | |
7932 | * Makefile.in (alpha-linux-nat.o): Update dependencies. | |
7933 | (alpha-linux-tdep.o): Likewise. | |
7934 | ||
dda0c97e UW |
7935 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
7936 | ||
7937 | * mips-linux-nat.c: No longer include "gdbcore.h". | |
7938 | (mips_linux_register_addr): Move from mips-linux-tdep.c. | |
7939 | (mips64_linux_register_addr): Likewise. | |
7940 | (mips_linux_register_u_offset): Call mips_linux_register_addr or | |
7941 | mips64_linux_register_addr instead of register_addr. | |
7942 | * mips-linux-tdep.c (mips_linux_register_addr, | |
7943 | mips64_linux_register_addr): Move to mips-linux-nat.c. | |
7944 | (register_addr): Remove. | |
7945 | (register_addr_data, init_register_addr_data): Remove. | |
7946 | (_initialize_mips_linux_tdep): Do not initialize register_addr_data. | |
7947 | (set_mips_linux_register_addr): Remove. | |
7948 | (mips_linux_init_abi): Do not call set_mips_linux_register_addr. | |
7949 | * Makefile.in (mips-linux-nat.o): Update dependencies. | |
7950 | ||
910122bf UW |
7951 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
7952 | ||
7953 | * linux-nat.c (linux_register_u_offset): Remove. | |
7954 | (linux_target_install_ops): New function. | |
7955 | (linux_target): Use it. | |
7956 | (linux_trad_target): New function. | |
7957 | * linux-nat.h (linux_trad_target): Declare. | |
7958 | ||
7959 | * alpha-linux-nat.c: Include "gdbcore.h". | |
7960 | (alpha_linux_register_u_offset): New function. | |
7961 | (_initialize_alpha_linux_nat): Use linux_trad_target. | |
7962 | ||
7963 | * mips-linux-nat.c: Include "gdbcore.h". | |
7964 | (mips_linux_register_u_offset): New function. | |
7965 | (_initialize_mips_linux_nat): Use linux_trad_target. | |
7966 | ||
7967 | * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
7968 | * config/arm/nm-linux.h: Delete file. | |
7969 | ||
7970 | * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove. | |
7971 | * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove. | |
7972 | ||
7973 | * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
7974 | * config/ia64/nm-linux.h: Delete file. | |
7975 | ||
7976 | * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
7977 | * config/m32r/nm-linux.h: Delete file. | |
7978 | ||
7979 | * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
7980 | * config/m68k/nm-linux.h: Delete file. | |
7981 | ||
7982 | * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
7983 | * config/pa/nm-linux.h: Delete file. | |
7984 | ||
7985 | * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
7986 | * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise. | |
7987 | * config/powerpc/nm-linux.h: Delete file. | |
7988 | ||
7989 | * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h. | |
7990 | * config/s390/nm-linux.h: Delete file. | |
7991 | ||
7992 | * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
7993 | * config/sparc/linux64.mh (NAT_FILE): Likewise. | |
7994 | * config/sparc/nm-linux.h: Delete file. | |
7995 | ||
7996 | * Makefile.in (alpha-linux-nat.o): Update dependencies. | |
7997 | (mips-linux-nat.o): Likewise. | |
7998 | ||
de732108 UW |
7999 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
8000 | ||
8001 | * core-aout.c: Delete file. | |
8002 | * Makefile.in (ALLDEPFILES): Remove core-aout.c. | |
8003 | (core-aout.o): Delete rule. | |
8004 | * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove. | |
8005 | ||
8006 | * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove. | |
8007 | ||
8008 | * arm-linux-nat.c (arm_linux_kernel_u_size): Remove. | |
8009 | * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE, | |
8010 | KERNEL_U_ADDR): Remove. | |
8011 | ||
8012 | * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove. | |
8013 | (cannot_fetch_register, cannot_store_register): Remove. | |
8014 | (fetch_register): Inline cannot_fetch_register and register_addr. | |
8015 | (store_register): Inline cannot_store_register and register_addr. | |
8016 | * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o. | |
8017 | * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, | |
8018 | REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): | |
8019 | Remove. | |
8020 | ||
8021 | * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove. | |
8022 | (fetch_register): Inline register_addr. | |
8023 | (store_register): Inline register_addr. | |
8024 | * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o. | |
8025 | * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, | |
8026 | U_REGS_OFFSET, REGISTER_U_ADDR): Remove. | |
8027 | ||
8028 | * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove. | |
8029 | * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET, | |
8030 | REGISTER_U_ADDR): Remove. | |
8031 | ||
8032 | * hppa-linux-nat.c (register_addr): Rename to ... | |
8033 | (hppa_linux_register_addr): ... this. Make static. | |
8034 | (fetch_register, store_register): Adapt callers. | |
8035 | * config/pa/nm-linux.h (U_REGS_OFFSET): Remove. | |
8036 | ||
8037 | * ppc-linux-nat.c (kernel_u_size): Remove. | |
8038 | * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove. | |
8039 | ||
8040 | * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static. | |
8041 | * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o. | |
8042 | (NAT_FILE): Remove. | |
8043 | * config/vax/nm-vax.h: Delete file. | |
8044 | ||
1f90c757 MS |
8045 | 2007-04-20 Mark Shinwell <shinwell@codesourcery.com> |
8046 | ||
8047 | * MAINTAINERS (Write After Approval): Add myself. | |
8048 | ||
bf1242a5 MS |
8049 | 2007-04-20 Mark Shinwell <shinwell@codesourcery.com> |
8050 | ||
8051 | * Makefile.in: Adjust dependencies of m68klinux-tdep.c. | |
8052 | * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New. | |
8053 | (m68k_linux_sigcontext_reg_offset): Fix typo. | |
8054 | (target_is_uclinux): New. | |
8055 | (m68k_linux_inferior_created): New. | |
8056 | (m68k_linux_get_sigtramp_info): Check for uClinux or | |
8057 | normal Linux. Use m68k_uclinux_sigcontext_reg_offset for | |
8058 | uClinux. | |
8059 | (_initialize_m68k_linux_tdep): Register | |
8060 | m68k_linux_inferior_created. | |
8061 | ||
96998ce7 PA |
8062 | 2007-04-19 Pedro Alves <pedro_alves@portugalmail.pt> |
8063 | ||
8064 | * win32-nat.c (win32_detach): Remove delete_command call. | |
8065 | Resume inferior with win32_resume instead of win32_continue. | |
8066 | ||
7e71daaa JG |
8067 | 2007-04-19 Jerome Guitton <guitton@adacore.com> |
8068 | ||
8069 | * ser-mingw.c (fd_is_file): New function. | |
8070 | (file_select_thread): New function. | |
8071 | (ser_console_wait_handle): Add special handling for files. | |
8072 | ||
3d1f72c2 DP |
8073 | 2007-04-18 Denis Pilat <denis.pilat@st.com> |
8074 | ||
8075 | * dwarf2read.c (read_subrange_type): Use DW_ATE_signed default type | |
8076 | when missing from DW_TAG_subrange_type. Remove the handling of null | |
8077 | return from die_type. | |
8078 | ||
9ecf7166 MR |
8079 | 2007-04-18 Maciej W. Rozycki <macro@mips.com> |
8080 | ||
8081 | * mips-tdep.c (mips_eabi_push_dummy_call): Revert the last | |
8082 | change to rearrange some brackets. | |
8083 | (mips_n32n64_push_dummy_call): Likewise. | |
8084 | (mips_o32_push_dummy_call): Likewise. | |
8085 | (mips_o64_push_dummy_call): Likewise. | |
8086 | ||
b79599ff DP |
8087 | 2007-04-18 Denis Pilat <denis.pilat@st.com> |
8088 | ||
8089 | * infcmd.c (post_create_inferior): Start with a call to | |
3d1f72c2 | 8090 | target_terminal_ours. |
b79599ff | 8091 | |
06f9a1af MR |
8092 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
8093 | ||
8094 | * mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some | |
8095 | brackets. | |
8096 | (mips_n32n64_push_dummy_call): Likewise. Reformat some | |
8097 | expressions. | |
8098 | (mips_o32_push_dummy_call): Likewise. | |
8099 | (mips_o64_push_dummy_call): Likewise. | |
8100 | ||
ad018eee MR |
8101 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
8102 | ||
8103 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a | |
8104 | comment. | |
8105 | ||
e914cb17 MR |
8106 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
8107 | ||
8108 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a | |
8109 | comment. | |
8110 | (mips_o32_push_dummy_call): Likewise. | |
8111 | ||
91934273 AS |
8112 | 2007-04-17 Andreas Schwab <schwab@suse.de> |
8113 | ||
8114 | * symtab.c (skip_prologue_using_sal): Allow the end of the prologue | |
8115 | sal to be bigger than the end of the function. | |
8116 | ||
968b5391 MR |
8117 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
8118 | Nigel Stephens <nigel@mips.com> | |
8119 | ||
8120 | * mips-tdep.c (mips_o32_push_dummy_call): Take account of | |
8121 | argument alignment requirements when calculating stack space | |
8122 | required. When aligning an arg register to eight bytes | |
8123 | boundary, align stack_offset too. Write floating-point | |
8124 | arguments to the appropriate integer register if need go there. | |
8125 | (mips_o64_push_dummy_call): Likewise. | |
8126 | ||
e0cd558a UW |
8127 | 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com> |
8128 | ||
8129 | * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and | |
8130 | "sig" arguments, add "regcache" argument. | |
8131 | * gdbarch.c, gdbarch.h: Regenerate. | |
8132 | ||
8133 | * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments. | |
8134 | (handle_inferior_event): Call remove_single_step_breakpoints directly | |
8135 | instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints. | |
8136 | ||
8137 | * alpha-tdep.c (alpha_software_single_step): Update argument list. | |
8138 | Remove handling of !insert_breakpoints_p case. | |
8139 | * arm-tdep.c (arm_software_single_step): Likewise. | |
8140 | * cris-tdep.c (cris_software_single_step): Likewise. | |
8141 | * mips-tdep.c (mips_software_single_step): Likewise. | |
8142 | * rs6000-tdep.c (rs6000_software_single_step): Likewise. | |
8143 | * sparc-tdep.c (sparc_software_single_step): Likewise. | |
8144 | * spu-tdep.c (spu_software_single_step): Likewise. | |
8145 | ||
8146 | * alpha-tdep.h (alpha_software_single_step): Update prototype. | |
8147 | * mips-tdep.h (mips_software_single_step): Likewise. | |
8148 | * rs6000-tdep.h (rs6000_software_single_step): Likewise. | |
8149 | * sparc-tdep.h (sparc_software_single_step): Likewise. | |
8150 | ||
06a86285 UW |
8151 | 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com> |
8152 | ||
8153 | * alpha-tdep.c (alpha_software_single_step): Do not call write_pc | |
8154 | when removing single-step breakpoints. | |
8155 | ||
25d5ea92 VP |
8156 | 2007-04-14 Vladimir Prus <vladimir@codesourcery.com> |
8157 | ||
8158 | * varobj.h (varobj_set_frozen): New | |
8159 | (varobj_get_frozen): New. | |
8160 | (varobj_update): New parameter explicit. | |
8161 | * varobj.c (struct varobj): New fields frozen | |
8162 | and not_fetched. | |
8163 | (varobj_set_frozen, varobj_get_frozen): New. | |
8164 | (install_new_value): Don't fetch values for | |
8165 | frozen variable object, or children thereof. Allow | |
8166 | a frozen variable object to have non-fetched value. | |
8167 | (varobj_update): Allow updating child variables. | |
8168 | Don't traverse frozen children. | |
8169 | (new_variable): Initialize the frozen field. | |
8170 | (c_value_of_variable): Return NULL for frozen | |
8171 | variable without any value yet. | |
8172 | * mi/mi-cmd-var.c (varobj_update_one): New parameter | |
8173 | 'explicit'. | |
8174 | (mi_cmd_var_create): Output the 'frozen' field, | |
8175 | as soon as testsuite is adjusted to expect that field. | |
8176 | (mi_cmd_var_set_frozen): New. | |
8177 | (mi_cmd_var_update): Pass the 'explicit' parameter to | |
8178 | varobj_update_one. | |
8179 | * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'. | |
8180 | * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare. | |
8181 | ||
6e3bbd1a PB |
8182 | 2007-04-13 Paul Brook <paul@codesourcery.com> |
8183 | ||
8184 | * target-descriptions.c (tdesc_named_type): Add ieee_single and | |
8185 | ieee_double. | |
8186 | * doc/gdb.texinfo: Document ieee_single and ieee_double target types. | |
8187 | ||
ea35711c DJ |
8188 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
8189 | ||
8190 | * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c, | |
8191 | remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h, | |
8192 | scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c, | |
8193 | ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete. | |
8194 | * Makefile.in: Remove references to deleted files. | |
8195 | * README: Do not mention deleted ROM monitor interfaces. | |
8196 | * defs.h (enum language): Delete language_scm. | |
8197 | * expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING. | |
8198 | (dump_subexp_body_standard): Likewise. | |
8199 | * parse.c (operator_length_standard): Likewise. | |
8200 | * expression.h (enum exp_opcode): Delete OP_EXPRSTRING. | |
8201 | * remote-mips.c: Do not include remote-utils.h. | |
8202 | * remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug | |
8203 | throughout. | |
8204 | * value.c: Do not include scm-lang.h. | |
8205 | (unpack_long): Delete scm_unpack call. | |
8206 | * config/h8300/h8300.mt, config/mips/embed.mt, | |
8207 | config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt, | |
8208 | config/sh/embed.mt, config/sh/linux.mt: Remove references to | |
8209 | deleted files. | |
8210 | * NEWS: Mention removed files. | |
8211 | ||
058b9c07 DJ |
8212 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
8213 | ||
8214 | * symfile.c (add_psymbol_with_dem_name_to_list): Remove. | |
8215 | * symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype. | |
8216 | ||
54d61198 DJ |
8217 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
8218 | ||
8219 | * NEWS: Mention removal of HP aCC support. | |
8220 | ||
e499d0f1 DJ |
8221 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
8222 | ||
8223 | * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the | |
8224 | first entry for static executables. | |
8225 | (breakpoint_addr): Delete unused variable. | |
8226 | (elf_locate_base): Search for _r_debug in static executables. | |
8227 | (enable_break): Do not set breakpoint_addr. Scan solib_break_names | |
8228 | also. | |
8229 | ||
4d5b2cd7 DJ |
8230 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
8231 | ||
8232 | * breakpoint.c (update_breakpoints_after_exec, print_it_typical) | |
8233 | (bpstat_what, print_one_breakpoint, allocate_bp_location) | |
8234 | (mention): Remove bp_through_sigtramp support. | |
8235 | * breakpoint.h (enum bptype): Remove bp_through_sigtramp. | |
8236 | ||
46d57086 DJ |
8237 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
8238 | ||
8239 | * breakpoint.c (bpstat_what): Give step-resume higher priority than | |
8240 | shlib events. | |
8241 | ||
d3169d93 DJ |
8242 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
8243 | ||
8244 | * infrun.c: Doc fixes. | |
8245 | (handle_inferior_event): Clarify debug message. | |
8246 | (insert_step_resume_breakpoint_at_sal): Print a debug message. | |
8247 | ||
8c9e4384 UW |
8248 | 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com> |
8249 | ||
8250 | * configure.tgt (arm-*-nto*, sh-*-nto*): Remove. | |
8251 | ||
9418f048 UW |
8252 | 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com> |
8253 | ||
8254 | * config/m68k/tm-monitor.h: Delete file. | |
8255 | * config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove. | |
8256 | * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break | |
8257 | call moved to ... | |
8258 | * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ... | |
8259 | * m68klinux-tdep.c (m68k_linux_init_abi): ... here. | |
8260 | ||
e6590a1b UW |
8261 | 2007-04-12 Luis Machado <luisgpm@br.ibm.com> |
8262 | ||
8263 | * gdbarch.sh (software_single_step): Change the return type | |
8264 | from void to int and reformatted some comments to <= 80 | |
8265 | columns. | |
8266 | * gdbarch.c, gdbarch.h: Regenerated. | |
8267 | * alpha-tdep.c (alpha_software_single_step): Likewise. | |
8268 | * alpha-tdep.h (alpha_software_single_step): Likewise. | |
8269 | * arm-tdep.c (arm_software_single_step): Likewise. | |
8270 | * cris-tdep.c (cris_software_single_step): Likewise. | |
8271 | * mips-tdep.c (mips_software_single_step): Likewise. | |
8272 | * mips-tdep.h (mips_software_single_step): Likewise. | |
8273 | * rs6000-tdep.c (rs6000_software_single_step): Likewise. | |
8274 | * rs6000-tdep.h (rs6000_software_single_step): Likewise. | |
8275 | * sparc-tdep.c (sparc_software_single_step): Likewise. | |
8276 | * sparc-tdep.h (sparc_software_single_step): Likewise. | |
8277 | * spu-tdep.c (spu_software_single_step): Likewise. | |
8278 | * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP | |
8279 | and act accordingly. | |
8280 | ||
58b38ee2 SE |
8281 | 2007-04-11 Steve Ellcey <sje@cup.hp.com> |
8282 | ||
8283 | * configure.ac (build_warnings): Add -Wno-char-subscripts. | |
8284 | * configure: Regenerate. | |
8285 | * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts. | |
8286 | ||
70f575cc JK |
8287 | 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
8288 | ||
8289 | * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'. | |
8290 | ||
d77b6808 JK |
8291 | 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
8292 | ||
8293 | * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New | |
8294 | macros. | |
8295 | (TYPE_IS_OPAQUE): Empty vs. opaque structures are now | |
8296 | distinct on the TYPE_STUB_SUPPORTED debug targets. | |
8297 | * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED. | |
8298 | ||
b0b92586 JB |
8299 | 2007-04-11 Joel Brobecker <brobecker@adacore.com> |
8300 | ||
8301 | * sparc-tdep.c (X_RS2): New macro. | |
8302 | (sparc_skip_stack_check): New function. | |
8303 | (sparc_analyze_prologue): Adjust PC past stack probing | |
8304 | sequence if necessary. | |
8305 | ||
a489f789 AS |
8306 | 2007-04-10 Andreas Schwab <schwab@suse.de> |
8307 | ||
8308 | * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR | |
8309 | register. | |
8310 | ||
b0b13bb4 DJ |
8311 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
8312 | ||
8313 | * breakpoint.c (gdb_breakpoint_query): Really return an | |
8314 | enum gdb_rc. | |
8315 | (gdb_breakpoint): Likewise. | |
3f11755e DJ |
8316 | * thread.c (gdb_list_thread_ids): Likewise. |
8317 | (gdb_thread_select): Likewise. | |
b0b13bb4 DJ |
8318 | * mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc. |
8319 | (mi_cmd_thread_list_ids): Remove bogus initialization. | |
8320 | ||
1a92f856 DJ |
8321 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
8322 | ||
8323 | * Makefile.in (SFILES): Remove hpacc-abi.c. | |
8324 | (COMMON_OBS): Remove hpacc-abi.o. | |
8325 | (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE). | |
8326 | (hpacc-abi.o, hpread.o): Delete rules. | |
8327 | * somread.c: Delete extern declarations from hpread.c. | |
8328 | (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs. | |
8329 | (som_symfile_finish): Do not call hpread_symfile_finish. | |
8330 | (som_symfile_init): Do not call hpread_symfile_init. | |
8331 | * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o. | |
8332 | * config/pa/hppahpux.mt (TDEPFILES): Likewise. | |
8333 | * hpacc-abi.c, hpread.c: Deleted. | |
8334 | ||
542c95c2 DJ |
8335 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
8336 | ||
8337 | * solib-svr4.c (enable_break): Simplify return value. | |
8338 | (svr4_solib_create_inferior_hook): Do not warn if enable_break fails. | |
8339 | ||
cfaefc65 AS |
8340 | 2007-04-10 Andreas Schwab <schwab@suse.de> |
8341 | ||
8342 | * solib-svr4.h (struct link_map_offsets): Remove l_addr_size, | |
8343 | l_ld_size, l_next_size, l_prev_size, l_name_size. | |
8344 | ||
8345 | * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address | |
8346 | to extract addresses from link map. | |
8347 | (LM_DYNAMIC_FROM_LINK_MAP): Likewise. | |
8348 | (LM_NEXT): Likewise. | |
8349 | (LM_NAME): Likewise. | |
8350 | (IGNORE_FIRST_LINK_MAP_ENTRY): Likewise. | |
8351 | (elf_locate_base): Likewise. | |
8352 | (open_symbol_file_object): Likewise. | |
8353 | (svr4_fetch_objfile_link_map): Likewise. | |
8354 | (SOLIB_EXTRACT_ADDRESS): Remove unused macro. | |
8355 | (HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of | |
8356 | l_ld_size. | |
8357 | (svr4_ilp32_fetch_link_map_offsets): Don't set removed members. | |
8358 | (svr4_lp64_fetch_link_map_offsets): Likewise. | |
8359 | ||
8360 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set | |
8361 | removed members. Set l_ld_offset to -1 if not present. | |
8362 | ||
65cc4390 VP |
8363 | 2007-04-08 Vladimir Prus <vladimir@codesourcery.com> |
8364 | ||
8365 | Pass stderr of program run with "target remote |" | |
8366 | via gdb_stderr. | |
8367 | * serial.c (serial_open): Set error_fd to -1. | |
8368 | * serial.h (struct serial): New field error_fd. | |
8369 | (struct serial_opts): New field avail. | |
8370 | * ser-pipe.c (pipe_open): Create another pair | |
8371 | of sockets. Pass stderr to gdb. | |
8372 | * ser-mingw.c (pipe_windows_open): Pass | |
8373 | PEX_STDERR_TO_PIPE to pex_run. Initialize | |
8374 | sd->error_fd. | |
8375 | (pipe_avail): New. | |
8376 | (_initialize_ser_windows): Hook pipe_avail. | |
8377 | * ser-base.c (generic_readchar): Check if there's | |
8378 | anything in stderr channel and route that to gdb_stderr. | |
8379 | ||
e9112110 PA |
8380 | 2007-04-03 Pedro Alves <pedro_alves@portugalmail.pt> |
8381 | ||
8382 | * dbxread.c (read_ofile_symtab): Move current_objfile | |
8383 | clearing to after end_stabs. | |
8384 | ||
7f68ac27 AS |
8385 | 2007-04-01 Andreas Schwab <schwab@suse.de> |
8386 | ||
8387 | * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter | |
8388 | gdbarch instead of current_gdbarch. | |
8389 | ||
e55dccf0 VP |
8390 | 2007-04-01 Vladimir Prus <vladimir@codesourcery.com> |
8391 | ||
8392 | * varobj.c (varobj_create): Keep varobj value | |
8393 | NULL when evaluating the type. | |
8394 | ||
7c963485 PA |
8395 | 2007-03-31 Pedro Alves <pedro_alves@portugalmail.pt> |
8396 | ||
8397 | * NEWS: Mention new Windows CE support. | |
8398 | ||
ad527d2e PA |
8399 | 2007-03-30 Pedro Alves <pedro_alves@portugalmail.pt> |
8400 | ||
8401 | * configure.tgt: Move mips*-*-pe and sh*-*-pe to | |
8402 | the obsoletion stanza. | |
8403 | * NEWS: Mention deleted targets. | |
8404 | ||
8405 | * config/sh/tm-wince.h: Remove. | |
8406 | * config/sh/wince.mt: Remove. | |
8407 | * config/mips/tm-wince.h: Remove. | |
8408 | * config/mips/wince.mt: Remove. | |
8409 | ||
8410 | * wince.c: Remove. | |
8411 | * wince-stub.c: Remove. | |
8412 | * wince-stub.h: Remove. | |
8413 | * Makefile.in (wince.o): Remove rule. | |
8414 | (wince-stub.o): Likewise. | |
8415 | ||
8416 | * mips-tdep.c (mips_next_pc): Make static. | |
8417 | * mips-tdep.h (mips_next_pc): Remove declaration. | |
8418 | * arm-tdep.c (arm_pc_is_thumb): Make static. | |
8419 | (thumb_get_next_pc): Likewise. | |
8420 | (arm_get_next_pc): Likewise. | |
8421 | * arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration. | |
8422 | (arm_pc_is_thumb): Likewise. | |
8423 | (thumb_get_next_pc): Likewise. | |
8424 | (arm_get_next_pc): Likewise. | |
8425 | ||
7ce59000 DJ |
8426 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
8427 | ||
8428 | * MAINTAINERS: Remove d10v entry. | |
8429 | * Makefile.in (SFILES): Remove dwarfread.c. | |
8430 | (COMMON_OBS): Remove dwarfread.o. | |
8431 | (gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o) | |
8432 | (remote-est.o, rom68k-rom.o): Delete. | |
8433 | * NEWS: Mention removal of d10v, target abug, target cpu32bug, | |
8434 | target est, target rom68k, and DWARF 1. | |
8435 | * configure.tgt: Mark d10v as removed. | |
8436 | * dwarf2read.c: Doc update. | |
8437 | * elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset, | |
8438 | and lnsize. | |
8439 | (elf_locate_sections): Do not set them. | |
8440 | (elf_symfile_read): Do not call dwarf_build_psymtabs. | |
8441 | * symfile.h (dwarf_build_psymtabs): Delete prototype. | |
8442 | * config/m68k/monitor.mt (TDEPFILES): Prune. | |
8443 | * abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c, | |
8444 | remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete. | |
8445 | ||
20389057 DJ |
8446 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
8447 | ||
8448 | * doublest.c (convert_floatformat_to_doublest): Use | |
8449 | floatformat_classify. | |
8450 | (floatformat_is_nan): Rename to... | |
8451 | (floatformat_classify): ...this. Return more information. | |
8452 | * doublest.h (enum float_kind): New. | |
8453 | (floatformat_is_nan): Replace prototype... | |
8454 | (floatformat_classify): ...with this one. | |
8455 | * valprint.c (print_floating): Use floatformat_classify. Handle | |
8456 | infinity. | |
8457 | ||
30b50213 DJ |
8458 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
8459 | ||
8460 | * README: Mention ISO C library requirement. | |
8461 | ||
8807d78b DJ |
8462 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
8463 | ||
8464 | * Makefile.in (SFILES): Remove nlmread.c. | |
8465 | (COMMON_OBS): Remove nlmread.o. | |
8466 | (nlmread.o): Delete rule. | |
8467 | * README: Delete reference to remote-st.c. | |
8468 | * acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete. | |
8469 | * defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and | |
8470 | GDB_OSABI_LYNXOS. | |
8471 | * i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete. | |
8472 | (_initialize_i386_tdep): Do not reference them. | |
8473 | * nlmread.c: Delete file. | |
8474 | * osabi.c (gdb_osabi_names): Remove NetWare and LynxOS. | |
8475 | * target.c: Doc update. | |
8476 | * thread.c: Delete commented include. | |
8477 | * config/alpha/tm-alpha.h: Doc update. | |
8478 | ||
ced572fe MR |
8479 | 2007-03-30 Chris Dearman <chris@mips.com> |
8480 | ||
8481 | * utils.c (string_to_core_addr): Comment typo. | |
8482 | ||
8a9fc081 MR |
8483 | 2007-03-30 Chris Dearman <chris@mips.com> |
8484 | ||
8485 | * mips-tdep.c: Comment typo. | |
8486 | ||
5f402660 UW |
8487 | 2007-03-29 Ulrich Weigand <uweigand@de.ibm.com> |
8488 | ||
8489 | * config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove. | |
8490 | * config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove. | |
8491 | * config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove. | |
8492 | * config/powerpc/nm-ppc64-linux.h: Remove file. | |
8493 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h. | |
8494 | * inferior.h (PTRACE_ARG3_TYPE): Do not define. | |
8495 | (call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3. | |
8496 | * infptrace.c (call_ptrace): Likewise. | |
8497 | * m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define. | |
8498 | (fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3 | |
8499 | and PTRACE_XFER_TYPE by PTRACE_TYPE_RET. | |
8500 | (store_register): Likewise. | |
8501 | ||
bbf90c81 JB |
8502 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
8503 | ||
8504 | * Makefile.in (varobj.o): Add missing dependency. | |
8505 | ||
243c053b MS |
8506 | 2007-03-29 Michael Snyder <msnyder@access-company.com> |
8507 | ||
8508 | * MAINTAINERS: Update my email address. | |
8509 | ||
0259addd JB |
8510 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
8511 | ||
8512 | Add support for exception handling with multiple versions of | |
8513 | the Ada runtime: | |
8514 | * ada-lang.c: Update general comments on how Ada exception catchpoints | |
8515 | are implemented. | |
8516 | (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name) | |
8517 | (__gnat_raise_nodefer_with_msg): Delete. | |
8518 | (ada_unhandled_exception_name_addr_ftype): New type. | |
8519 | (exception_support_info): New type. | |
8520 | (ada_unhandled_exception_name_addr): Add forward declaration. | |
8521 | (ada_unhandled_exception_name_addr_from_raise): Likewise. | |
8522 | (default_exception_support_info): New constant. | |
8523 | (exception_support_info_fallback): Likewise. | |
8524 | (exception_info): New global variable. | |
8525 | (ada_exception_support_info_sniffer): New function. | |
8526 | (ada_executable_changed_observer): Likewise. | |
8527 | (ada_unhandled_exception_name_addr_from_raise): Renamed from | |
8528 | ada_unhandled_exception_name_addr. | |
8529 | (ada_unhandled_exception_name_addr): Reimplement to match the | |
8530 | latest Ada runtime implementation. | |
8531 | (error_breakpoint_runtime_sym_not_found): Delete. | |
8532 | (ada_exception_sym_name): Get the exception sym name from | |
8533 | exception_info rather than hardcoding it. | |
8534 | (ada_exception_sal): Add call to ada_exception_support_info_sniffer. | |
8535 | Update error handling. | |
8536 | * Makefile.in (ada-lang.o): Add dependency on observer.h. | |
8537 | ||
483367ee DJ |
8538 | 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com> |
8539 | ||
8540 | * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o) | |
8541 | (remote-st.o, uw-thread.o): Delete. | |
8542 | (HFILES_NO_SRCDIR, ALLDEPFILES): Update. | |
8543 | * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*, | |
8544 | i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*, | |
8545 | i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*, | |
8546 | i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*, | |
8547 | i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and | |
8548 | rs6000-*-lynxos* to an obsoletion stanza. | |
8549 | * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*, | |
8550 | i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*, | |
8551 | and rs6000-*-lynxos* to an obsoletion stanza. Do not mention | |
8552 | i[34567]86-*-netware*. | |
8553 | * NEWS: Mention deleted targets. | |
8554 | ||
8555 | * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c, | |
8556 | uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh, | |
8557 | config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh, | |
8558 | config/i386/i386v4.mh, config/i386/i386v42mp.mh, | |
8559 | config/i386/ncr3000.mh, config/i386/ncr3000.mt, | |
8560 | config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h, | |
8561 | config/i386/nm-i386sco5.h, config/i386/nm-i386v.h, | |
8562 | config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h, | |
8563 | config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt, | |
8564 | config/m68k/tm-cisco.h, config/m68k/tm-os68k.h, | |
8565 | config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt, | |
8566 | config/rs6000/tm-rs6000ly.h: Delete files. | |
8567 | ||
3adda9d8 DJ |
8568 | 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com> |
8569 | ||
8570 | * defs.h (deprecated_registers_changed_hook): Delete declaration. | |
8571 | * interps.c (clear_interpreter_hooks): Do not clear | |
8572 | deprecated_registers_changed_hook. | |
8573 | * regcache.c (registers_changed): Do not call it. | |
8574 | * top.c (deprecated_registers_changed_hook): Do not define it. | |
8575 | * mi/mi-interp.c (mi_command_loop): Do not clear it. | |
8576 | * tui/tui-hooks.c (tui_install_hooks): Do not install it. | |
8577 | (tui_remove_hooks): Do not remove it. | |
8578 | (tui_selected_frame_level_changed_hook): Check for negative level. | |
8579 | Use get_selected_frame. | |
8580 | (tui_registers_changed_hook): Deleted. | |
8581 | ||
bf362611 JB |
8582 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
8583 | ||
8584 | * stabsread.c (add_undefined_type): Add extra parameter. | |
8585 | Now handles nameless types separately. | |
8586 | (struct nat): New type. | |
8587 | (noname_undefs, noname_undefs_allocated, noname_undefs_length): | |
8588 | New static variables. | |
8589 | (read_type): Update calls to add_undefined_type. | |
8590 | (add_undefined_type_noname): New function. | |
8591 | (add_undefined_type_1): Renames from add_undefined_type. | |
8592 | (cleanup_undefined_types_noname): New function. | |
8593 | (cleanup_undefined_types_1): Renames cleanup_undefined_types. | |
8594 | (cleanup_undefined_types): New handles nameless types separately. | |
8595 | (_initialize_stabsread): Initialize our new static constants. | |
8596 | ||
436868fb DP |
8597 | 2007-03-29 Denis Pilat <denis.pilat@st.com> |
8598 | ||
8599 | * configure.ac: Test for signal.h. | |
8600 | * configure, config.in: Regenerate. | |
8601 | ||
aaf9e9fd DP |
8602 | 2007-03-29 Denis Pilat <denis.pilat@st.com> |
8603 | ||
8604 | * stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output. | |
8605 | * infrun.c (normal_stop): Remove MI specific frame printing treatment. | |
8606 | ||
68070c10 PA |
8607 | 2007-03-29 Pedro Alves <pedro_alves@portugalmail.pt> |
8608 | ||
8609 | * arm-wince-tdep.c: New. | |
8610 | * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h. | |
8611 | (MT_CFLAGS): Delete. | |
8612 | (TM_CLIBS): Delete. | |
8613 | (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o, | |
8614 | solib-legacy.o, solib-svr4.o, and remove wince.o. | |
8615 | * configure.tgt (arm*-*-mingw32ce*): Add. | |
8616 | * signals/signals.c [HAVE_SIGNAL_H]: Check. | |
8617 | (do_target_signal_to_host): Silence 'not used' warning. | |
8618 | * config/arm/tm-wince.h: Remove. | |
8619 | ||
74174d2e UW |
8620 | 2007-03-28 Ulrich Weigand <uweigand@de.ibm.com> |
8621 | ||
8622 | * arch-utils.c (legacy_pc_in_sigtramp): Remove. | |
8623 | * arch-utils.h (legacy_pc_in_sigtramp): Remove. | |
8624 | ||
8625 | * config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove. | |
8626 | * config/ia64/tm-linux.h: Remove file. | |
8627 | * ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback. | |
8628 | * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of | |
8629 | legacy_pc_in_sigtramp. | |
8630 | (ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp. | |
8631 | * ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static. | |
8632 | Remove func_name argument. | |
8633 | (ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp. | |
8634 | ||
8635 | * infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine. | |
8636 | * target.c (update_current_target): Add to_have_steppable_watchpoint. | |
8637 | * target.h (struct target_ops): Add to_have_steppable_watchpoint. | |
8638 | (HAVE_STEPPABLE_WATCHPOINT): Define. | |
8639 | ||
8640 | * config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o. | |
8641 | * config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET, | |
8642 | CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER, | |
8643 | TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT, | |
8644 | STOPPED_BY_WATCHPOINT, target_stopped_data_address, | |
8645 | target_insert_watchpoint, target_remove_watchpoint): Remove. | |
8646 | (FETCH_INFERIOR_REGISTERS): Define. | |
8647 | * ia64-linux-nat.c (ia64_register_addr): Make static. | |
8648 | (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise. | |
8649 | (ia64_linux_insert_watchpoint): Make static. Remove ptid_p argument. | |
8650 | (ia64_linux_remove_watchpoint): Likewise. Add type argument. | |
8651 | (ia64_linux_stopped_data_address): Make static. Add target_ops. | |
8652 | (ia64_linux_stopped_by_watchpoint): Make static. | |
8653 | (ia64_linux_can_use_hw_breakpoint): New function. | |
8654 | (ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise. | |
8655 | (ia64_linux_store_register, ia64_linux_store_registers): Likewise. | |
8656 | (_initialize_ia64_linux_nat): Install register and watchpoint ops. | |
8657 | ||
53c5240f PA |
8658 | 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt> |
8659 | ||
8660 | * linespec.c: Include language.h. | |
8661 | (find_methods): Add language parameter. Call | |
8662 | lookup_symbol_in_language. Pass language down. | |
8663 | (add_matching_methods): Likewise. Call | |
8664 | lookup_symbol_in_language. | |
8665 | (add_constructors): Likewise. | |
8666 | (find_method): Pass sym_class to collect_methods. | |
8667 | (collect_methods): Add sym_class parameter. Pass language | |
8668 | down. | |
8669 | * symtab.c (lookup_symbol): Rename to ... | |
8670 | (lookup_symbol_in_language): ... this. Add language | |
8671 | parameter. Use passed language instead of current_language. | |
8672 | (lookup_symbol): New as wrapper around | |
8673 | lookup_symbol_in_language. | |
8674 | (lookup_symbol_aux): Add language parameter. Use passed | |
8675 | language instead of current_language. | |
8676 | (search_symbols): Indent. | |
8677 | * symtab.h (enum language): Forward declare. | |
8678 | (lookup_symbol_in_language): Declare. | |
8679 | (lookup_symbol): Update description. | |
8680 | * ada-lang.h (lookup_symbol_in_language): Remove declaration. | |
8681 | * ada-lang.c (restore_language): Remove. | |
8682 | (lookup_symbol_in_language): Remove. | |
8683 | ||
8671a17b PA |
8684 | 2007-03-27 Pedro Alves <pedro_alves@portugalmail.pt> |
8685 | ||
8686 | * breakpoint.c (bpstat_num): Add int *num parameter. | |
8687 | * breakpoint.h (bpstat_num): Likewise. | |
8688 | * infcmd.c (continue_command): Adjust to new bpstat_num | |
8689 | interface. | |
8690 | (program_info): Likewise. | |
8691 | ||
214197f9 UW |
8692 | 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com> |
8693 | ||
8694 | * config/sh/tm-sh.h: Remove file. | |
8695 | * config/sh/embed.mt (DEPRECATED_TM_FILE): Remove. | |
8696 | * config/sh/linux.mt (DEPRECATED_TM_FILE): Remove. | |
8697 | * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
8698 | * config/sh/tm-wince.h: Do not include "sh/tm-sh.h". | |
8699 | ||
bac718a6 UW |
8700 | 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com> |
8701 | ||
8702 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT, | |
8703 | DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove. | |
8704 | * remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT, | |
8705 | DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT. | |
8706 | * sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint | |
8707 | sequence if target_shortname is "remote". | |
8708 | ||
de6a76fd DJ |
8709 | 2007-03-27 Anton Blanchard <anton@samba.org> |
8710 | ||
8711 | * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset | |
8712 | instead of wordsize when looking for the LR in a stack frame. | |
8713 | ||
4fc771b8 DJ |
8714 | 2007-03-27 Andreas Schwab <schwab@suse.de> |
8715 | Daniel Jacobowitz <dan@codesourcery.com> | |
8716 | ||
8717 | * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to... | |
8718 | (dwarf2_frame_adjust_regnum): ...this. Make static. Add eh_frame_p | |
8719 | argument. Update all callers. | |
8720 | (struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum. | |
8721 | (dwarf2_frame_set_eh_frame_regnum): Rename to... | |
8722 | (dwarf2_frame_set_adjust_regnum): ...this. Update argument type. | |
8723 | * dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to... | |
8724 | (dwarf2_frame_set_adjust_regnum): ...this. | |
8725 | (dwarf2_frame_eh_frame_regnum): Delete prototype. | |
8726 | * rs6000-tdep.c: Include "dwarf2-frame.h". | |
8727 | (rs6000_adjust_frame_regnum): Define. | |
8728 | (rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder. | |
8729 | Register rs6000_adjust_frame_regnum. | |
8730 | ||
8731 | * Makefile.in (rs6000-tdep.o): Update dependencies. | |
8732 | ||
9453113a DJ |
8733 | 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com> |
8734 | ||
8735 | * Makefile.in: Add support for a "pdf" target. | |
8736 | ||
d2449ee8 DJ |
8737 | 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com> |
8738 | ||
8739 | * amd64-tdep.c (amd64_init_frame_cache): New function. | |
8740 | (amd64_alloc_frame_cache, amd64_skip_prologue): Use it. | |
8741 | ||
a72d8a8e MR |
8742 | 2007-03-26 Nigel Stephens <nigel@mips.com> |
8743 | Maciej W. Rozycki <macro@mips.com> | |
8744 | ||
8745 | * ui-out.c (ui_out_field_core_addr): Truncate address to | |
8746 | TARGET_ADDR_BIT size before printing. | |
8747 | ||
5200c3f3 | 8748 | 2007-03-22 Nigel Stephens <nigel@mips.com> |
a72d8a8e | 8749 | Maciej W. Rozycki <macro@mips.com> |
5200c3f3 L |
8750 | |
8751 | * remote-mips.c (mips_xfer_memory): Update prototype. | |
8752 | ||
16708cba JB |
8753 | 2007-03-22 Joel Brobecker <brobecker@adacore.com> |
8754 | ||
8755 | * symfile.h: #include "symtab.h" | |
8756 | ||
0fe514e3 DP |
8757 | 2007-03-22 Denis Pilat <denis.pilat@st.com> |
8758 | ||
8759 | * utils.c (pagination_on_command, pagination_off_command): | |
8760 | Remove useless prototypes. | |
8761 | ||
4a52dc15 PM |
8762 | 2007-03-21 Pierre Muller <muller@ics.u-strasbg.fr> |
8763 | ||
8764 | Fix PR pascal/2232. | |
8765 | * p-valprint.c (pascal_object_print_value): Use type_name_no_tag | |
8766 | instead of TYPE_NAME for object base class name. | |
8767 | ||
8768 | ||
1c86fa97 KB |
8769 | 2007-03-19 Kevin Buettner <kevinb@redhat.com> |
8770 | ||
8771 | * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id): | |
8772 | Specify frame type in calls to frame_func_unwind(). | |
8773 | ||
4e463ff5 DJ |
8774 | 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com> |
8775 | ||
8776 | * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal. | |
8777 | (rs6000_in_function_epilogue_p): Use extract_unsigned_integer. | |
8778 | (refine_prologue_limit): Delete. | |
8779 | (skip_prologue): Don't call it. Use extract_unsigned_integer. | |
8780 | Assume lim_pc is set. Correct check for incomplete prologues. | |
8781 | Do not skip clobbers of the frame pointer. | |
8782 | * symtab.c (skip_prologue_using_sal): Fail if there is only one | |
8783 | sal. | |
8784 | ||
348473d5 NF |
8785 | 2007-03-13 Nathan Froyd <froydnj@codesourcery.com> |
8786 | ||
8787 | * frame.c (frame_pop): Check to see whether there's a frame to | |
8788 | which we can pop first. | |
8789 | ||
a2f9cf0d NF |
8790 | 2007-03-13 Nathan Froyd <froydnj@codesourcery.com> |
8791 | ||
8792 | * MAINTAINERS (Write After Approval): Add myself. | |
8793 | ||
569631c6 UW |
8794 | 2007-03-09 Markus Deuling <deuling@de.ibm.com> |
8795 | ||
8796 | * infrun.c (breakpoints_failed): Remove unnecessary variable. | |
8797 | (handle_inferior_event): Remove unnecessary braces. | |
8798 | * breakpoint.c (bpstat_what): Remove wrong comment. | |
8799 | ||
fe5febed UW |
8800 | 2007-03-09 Ulrich Weigand <uweigand@de.ibm.com> |
8801 | ||
8802 | * spu-tdep.c (spu_in_function_epilogue_p): New function. | |
8803 | (spu_gdbarch_init): Install it. | |
8804 | ||
9dea8ca2 UW |
8805 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
8806 | ||
8807 | * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported | |
8808 | object types, not 0. | |
8809 | ||
7b3dc0b7 UW |
8810 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
8811 | ||
8812 | * spu-tdep.c (spu_frame_align): New function. | |
8813 | (spu_gdbarch_init): Install it. Set call dummy location to ON_STACK. | |
8814 | ||
118dfbaf UW |
8815 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
8816 | ||
8817 | * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit. | |
8818 | (spu_software_single_step): Likewise. | |
8819 | (spu_read_pc, spu_write_pc): New functions. | |
8820 | (spu_gdbarch_init): Install them. | |
8821 | ||
29e4017d UW |
8822 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
8823 | ||
8824 | * cli/cli-dump.c (struct callback_data): load_offset needs to | |
8825 | have signed long type. | |
8826 | ||
6de5b849 JB |
8827 | 2007-03-07 Joel Brobecker <brobecker@adacore.com> |
8828 | ||
8829 | * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer): | |
8830 | Revert the previous change that had some unexpected side-effects | |
8831 | on mips32. | |
8832 | (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper | |
8833 | function to get the address of the calling instruction. | |
8834 | ||
7490ba4f DP |
8835 | 2007-03-07 Denis Pilat <denis.pilat@st.com> |
8836 | ||
8837 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace | |
8838 | get_selected_frame by deprecated_safe_get_selected_frame. | |
8839 | ||
861fb77c MK |
8840 | 2007-03-02 Mark Kettenis <kettenis@gnu.org> |
8841 | ||
8842 | * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and | |
8843 | "gdb_string.h". Don't include "nbsd-tdep.h". | |
8844 | (SIZEOF_STRUCT_REG): Remove. | |
8845 | (SHNBSD_SIZEOF_GREGS): New. | |
8846 | (shnbsd_supply_gregset, shnbsd_collect_gregset) | |
8847 | (shnbsd_regset_from_core_section): New functions. | |
8848 | (fetch_core_registers, fetch_elfcore_registers): Remove functions. | |
8849 | (shnbsd_supply_reg, shnbsd_fill_reg): Simply call | |
8850 | shnbsd_supply_gregset, shnbsd_collect_gregset. | |
8851 | (shnbsd_gregset): New variable. | |
8852 | (shnbsd_init_abi): Set regset_from_core_section. | |
8853 | (GDB_OSABI_NETBSD_CORE): New define. | |
8854 | (shnbsd_core_osabi_sniffer): New function. | |
8855 | (_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer. | |
8856 | * Makefile.in (shnbsd-tdep.o): Update dependencies. | |
8857 | * config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove | |
8858 | nbsd-tdep.o. | |
8859 | * config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o. | |
8860 | ||
787cbe14 JB |
8861 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
8862 | ||
8863 | * gdbtypes.c (replace_type): Fix typo that caused us to not update | |
8864 | length of the types referenced by the new type CV ring. | |
8865 | ||
35f196d9 DJ |
8866 | 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
8867 | ||
8868 | * frame.c (frame_pop, frame_observer_target_changed): Call | |
8869 | reinit_frame_cache. | |
8870 | (flush_cached_frames): Rename to reinit_frame_cache and delete | |
8871 | old implementation. | |
8872 | * frame.h (flush_cached_frames): Delete prototype and update comment. | |
8873 | ||
8874 | * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call | |
8875 | reinit_frame_cache instead of flush_cached_frames. Do not call | |
8876 | select_frame after reinit_frame_cache. | |
8877 | * corelow.c (core_open): Likewise. | |
8878 | * gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise. | |
8879 | * infrun.c (prepare_to_proceed, context_switch) | |
8880 | (handle_inferior_event): Likewise. | |
8881 | * linux-fork.c (fork_load_infrun_state): Likewise. | |
8882 | * ocd.c (ocd_start_remote): Likewise. | |
8883 | * remote-e7000.c (e7000_start_remote): Likewise. | |
8884 | * remote-mips.c (device): Likewise. | |
8885 | * thread.c (switch_to_thread): Likewise. | |
8886 | * tracepoint.c (finish_tfind_command): Likewise. | |
8887 | * gdbarch.c: Regenerated. | |
8888 | ||
c26f2453 JB |
8889 | 2007-02-28 Jerome Guitton <guitton@adacore.com> |
8890 | Joel Brobecker <brobecker@adacore.com> | |
8891 | ||
8892 | * gdbtypes.c (check_typedef): Do not replace stub type if | |
8893 | the resolved type is not defined in the same objfile. | |
8894 | ||
7d900f1a DJ |
8895 | 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
8896 | ||
8897 | * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion. | |
8898 | ||
76038652 | 8899 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
52eea4ce JB |
8900 | |
8901 | * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN | |
8902 | symbol for Ada units when the symbol is defined using 't' rather | |
8903 | than 'Tt' as symbol descriptor. | |
8904 | ||
d74fb156 | 8905 | 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
1344afe0 UW |
8906 | |
8907 | * config/mips/tm-nbsd.h: Delete file. | |
8908 | * config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
8909 | * config/sh/tm-nbsd.h: Delete file. | |
8910 | * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h. | |
8911 | ||
f8d225db JB |
8912 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
8913 | ||
8914 | * mi/mi-cmd-var.c (varobj_update_one): Remove reference to | |
8915 | unused WRONG_PARAM value since it was recently deleted. | |
8916 | ||
1bbfb19a NR |
8917 | 2007-02-28 Vladimir Prus <vladimir@codesourcery.com> |
8918 | ||
8919 | * varobj.c (varobj_update): Free temporary vectors. | |
8920 | ||
6f7f3f0d UW |
8921 | 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
8922 | ||
8923 | * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h. | |
8924 | * config/powerpc/tm-linux.h: Delete file. | |
8925 | * config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h". | |
8926 | (PROCESS_LINENUMBER_HOOK): Do not undefine. | |
8927 | (TEXT_SEGMENT_BASE): Do not redefine. | |
8928 | * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here | |
8929 | from config/rs6000/tm-rs6000.h. | |
8930 | (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise. | |
8931 | * config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration. | |
8932 | (TEXT_SEGMENT_BASE): Remove. | |
8933 | (IN_SOLIB_RETURN_TRAMPOLINE): Remove. | |
8934 | (rs6000_in_solib_return_trampoline): Remove. | |
8935 | (SKIP_TRAMPOLINE_CODE): Remove. | |
8936 | (rs6000_skip_trampoline_code): Remove. | |
8937 | (CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h. | |
8938 | (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise. | |
8939 | (FP0_REGNUM): Remove. | |
8940 | (rs6000_find_toc_address_hook): Move to rs6000-tdep.h. | |
8941 | (rs6000_set_host_arch_hook): Remove. | |
8942 | * Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h). | |
8943 | (rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h). | |
8944 | * ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base. | |
8945 | * rs6000-aix-tdep.c: Include "ppc-tdep.h". | |
8946 | (rs6000_aix_init_osabi): Set text_segment_base tdep field. | |
8947 | * rs6000-nat.c: Include "rs6000-tdep.h". | |
8948 | (exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field. | |
8949 | (set_host_arch): Rename to ... | |
8950 | (rs6000_create_inferior): ... this. Make public. | |
8951 | (_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook. | |
8952 | * rs6000-tdep.c (rs6000_set_host_arch_hook): Remove. | |
8953 | (rs6000_create_inferior): Remove. | |
8954 | (branch_dest): Replace TEXT_SEGMENT_BASE by tdep field. | |
8955 | (rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum, | |
8956 | set_gdbarch_in_solib_return_trampoline, and | |
8957 | set_gdbarch_skip_trampoline_code. | |
8958 | * rs6000-tdep.h (rs6000_find_toc_address_hook): Move here | |
8959 | from config/rs6000/tm-rs6000.h. | |
8960 | ||
63050a44 | 8961 | 2007-02-27 Joel Brobecker <brobecker@adacore.com> |
05279ca0 JB |
8962 | |
8963 | * buildsym.c (record_producer): Do nothing if no producer is provided. | |
8964 | ||
63050a44 | 8965 | 2007-02-27 Nick Roberts <nickrob@snap.net.nz> |
e0b75a46 NR |
8966 | |
8967 | * varobj.c (varobj_update): Remove unused local. Use gdb_assert | |
8968 | to check changelist is non-NULL. Call error if the frontend tries | |
8969 | to update a non-root variable. | |
8970 | ||
8971 | * varobj.h (enum varobj_update_error): Delete WRONG_PARAM value. | |
8972 | ||
93d42b30 DJ |
8973 | 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
8974 | ||
8975 | * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id) | |
8976 | (dwarf2_frame_sniffer): Update. | |
8977 | (dwarf2_signal_frame_this_id): New function. | |
8978 | (dwarf2_signal_frame_unwind): Use it. | |
8979 | (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block. | |
8980 | * frame.c (frame_func_unwind): Add this_type argument. | |
8981 | (get_frame_func): Update. | |
8982 | (frame_unwind_address_in_block): Add this_type argument and check it. | |
8983 | Fix a typo. | |
8984 | (get_frame_address_in_block): Update. | |
8985 | * frame.h (enum frame_type): Move higher in the file. | |
8986 | (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type | |
8987 | argument. | |
8988 | ||
8989 | * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c, | |
8990 | arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c, | |
8991 | hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c, | |
8992 | libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c, | |
8993 | m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c, | |
8994 | mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c, | |
8995 | score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c, | |
8996 | sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c, | |
8997 | xstormy16-tdep.c, xtensa-tdep.c: Update calls to | |
8998 | frame_func_unwind and frame_unwind_address_in_block to specify | |
8999 | the frame type. Use frame_unwind_address_in_block instead of | |
9000 | frame_pc_unwind in sniffers. | |
9001 | ||
206415a3 DJ |
9002 | 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
9003 | ||
9004 | * frame.c (deprecated_selected_frame): Rename to... | |
9005 | (selected_frame): ...this. Make static. | |
9006 | (get_selected_frame, select_frame): Update. | |
9007 | * frame.h (deprected_select_frame): Delete. | |
9008 | (deprecated_safe_get_selected_frame): Update comments. | |
9009 | ||
9010 | * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c, | |
9011 | infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c, | |
9012 | tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c, | |
9013 | parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c, | |
9014 | tui/tui.c: Replace references to deprecated_selected_frame. | |
9015 | ||
7313566f FF |
9016 | 2007-02-27 Fred Fish <fnf@specifix.com> |
9017 | ||
9018 | * rs6000-tdep.c (skip_prologue): Recognize addi instructions that | |
9019 | directly decrement the stack pointer, accumulate their operand into | |
9020 | the stack offset, and mark the function as not being frameless. | |
9021 | ||
b6d373df DJ |
9022 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
9023 | ||
9024 | * arch-utils.c (selected_byte_order): New. | |
9025 | * arch-utils.h (selected_byte_order): New prototype. | |
9026 | * remote-sim.c (gdbsim_open): Use selected_byte_order. | |
9027 | ||
2711e456 DJ |
9028 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
9029 | ||
9030 | * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA. | |
9031 | (default_symfile_offsets): Check VMA here. Update section VMAs. | |
9032 | ||
baef701f DJ |
9033 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
9034 | ||
9035 | * remote.c (init_remote_state): Add special handling for placeholder | |
9036 | registers. | |
9037 | ||
05a4558a DJ |
9038 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
9039 | ||
9040 | * Makefile.in (XMLFILES): Include $(TDEP_XML). | |
9041 | (filenames_h): New variable. | |
9042 | (clean): Clean up xml-builtin.c and stamp-xml. | |
9043 | (arm-linux-nat.o): Update. | |
9044 | * config/arm/linux.mh (TDEP_XML): Define. | |
9045 | * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. | |
9046 | (arm_linux_has_wmmx_registers): New. | |
9047 | (GET_THREAD_ID): Fix typo. | |
9048 | (IWMMXT_REGS_SIZE): Define. | |
9049 | (fetch_wmmx_regs, store_wmmx_regs): New. | |
9050 | (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs. | |
9051 | (arm_linux_store_inferior_registers): Use store_wmmx_regs. | |
9052 | (super_xfer_partial, arm_linux_xfer_partial): New. | |
9053 | (_initialize_arm_linux_nat): Use them. | |
9054 | * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT. | |
9055 | (xml_builtin_xfer_partial): New function. | |
9056 | * xml-support.h (xml_builtin_xfer_partial): New prototype. | |
9057 | * NEWS: Update mention of iWMMXt support. | |
9058 | ||
ff6f572f DJ |
9059 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
9060 | ||
9061 | * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves | |
9062 | if there are no FPA registers. | |
9063 | (arm_dwarf_reg_to_regnum): New function. | |
9064 | (arm_register_type, arm_register_name): Return minimal values for | |
9065 | unsupported registers. | |
9066 | (arm_register_sim_regno): Handle iWMMXt registers. | |
9067 | (arm_gdbarch_init): Record missing FPA registers if indicated by | |
9068 | a target description. Recognize iWMMXt registers. Only register | |
9069 | "info float" for FPA. Use ARM_NUM_REGS. Register | |
9070 | arm_dwarf_reg_to_regnum. | |
9071 | * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt | |
9072 | constants. | |
9073 | (struct gdbarch_tdep): Add have_fpa_registers. | |
9074 | * features/xscale-iwmmxt.xml: Update capitalization. | |
9075 | * regformats/arm-with-iwmmxt.dat: Regenerated. | |
9076 | ||
c077150c KB |
9077 | 2007-02-24 Kevin Buettner <kevinb@redhat.com> |
9078 | ||
9079 | * NEWS (New targets): Add entry for the Toshiba Media Processor. | |
9080 | ||
01c996c1 KB |
9081 | 2007-02-23 Kevin Buettner <kevinb@redhat.com> |
9082 | ||
9083 | * MAINTAINERS (mep): New target. | |
9084 | ||
aeb43123 KB |
9085 | 2007-02-23 Kevin Buettner <kevinb@redhat.com> |
9086 | ||
9087 | From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and | |
9088 | Richard Sandiford: | |
9089 | * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables. | |
9090 | (mep-tdep.o): New rule. | |
9091 | * configure.tgt (mep-*-*): New target. | |
9092 | * mep-tdep.c: New file. | |
9093 | * config/mep/mep.mt: New file. | |
9094 | ||
115d86cf UW |
9095 | 2007-02-22 Markus Deuling <deuling@de.ibm.com> |
9096 | ||
9097 | * infrun.c (inferior_stop_reason, print_stop_reason): Remove | |
9098 | BREAKPOINT_HIT and STOP_UNKNOWN. | |
9099 | ||
fef862e5 UW |
9100 | 2007-02-22 Markus Deuling <deuling@de.ibm.com> |
9101 | ||
9102 | * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT. | |
9103 | ||
9a7d5afb JB |
9104 | 2007-02-20 Joel Brobecker <brobecker@adacore.com> |
9105 | ||
9106 | * gdb_expat.h (XMLCALL): Define if not already defined. | |
9107 | ||
81de920d AS |
9108 | 2007-02-20 Andreas Schwab <schwab@suse.de> |
9109 | ||
9110 | * Makefile.in (symfile.o): Update dependencies. | |
9111 | ||
cb5c8c39 DJ |
9112 | 2007-02-20 Daniel Jacobowitz <dan@codesourcery.com> |
9113 | ||
9114 | * MAINTAINERS: Disable -Werror for cris simulator. Build | |
9115 | sparc64-solaris2.10 instead of the broken sparc-elf. | |
9116 | * solib-frv.c: Include "solib.h". | |
9117 | * Makefile.in (solib-frv.o): Update. | |
9118 | * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch. | |
9119 | * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int. | |
9120 | (xtensa_frame_this_id, xtensa_frame_prev_register) | |
9121 | (xtensa_push_dummy_call): Use %p. | |
9122 | ||
e6bb342a DJ |
9123 | 2007-02-16 Daniel Jacobowitz <dan@codesourcery.com> |
9124 | ||
9125 | * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, | |
9126 | ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c, | |
9127 | sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". | |
9128 | * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o) | |
9129 | (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o) | |
9130 | (sparc-linux-tdep.o): Update. | |
9131 | ||
ff7a4c00 MG |
9132 | 2007-02-15 Maxim Grigoriev <maxim2405@gmail.com> |
9133 | ||
9134 | * xtensa-tdep.h (xtensa_reg_mask_t): New. | |
9135 | (xtensa_mask_t): Change mask field to be a separate array. | |
9136 | * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read) | |
9137 | (xtensa_pseudo_register_write, xtensa_unwind_pc) | |
9138 | (xtensa_unwind_dummy_id, xtensa_push_dummy_call) | |
9139 | (xtensa_breakpoint_from_pc): Remove implicit type casting. | |
9140 | * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5) | |
9141 | (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13) | |
9142 | (mask14, mask15): Rename to | |
9143 | (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3) | |
9144 | (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7) | |
9145 | (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11) | |
9146 | (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this. | |
9147 | (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3) | |
9148 | (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7) | |
9149 | (xtensa_submask8, xtensa_submask9, xtensa_submask10) | |
9150 | (xtensa_submask11, xtensa_submask12, xtensa_submask13) | |
9151 | (xtensa_submask14, xtensa_submask15): New. | |
9152 | (rmap): Follow strict aliasing rules doing static initialization. | |
9153 | ||
d9cc5895 DJ |
9154 | 2007-02-13 Daniel Jacobowitz <dan@codesourcery.com> |
9155 | ||
9156 | * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr | |
9157 | handling from here... | |
9158 | (tdesc_register_type): ...to here. | |
9159 | * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr. | |
9160 | * features/arm-core.xml: Use code_ptr and data_ptr. | |
9161 | ||
8756216b DP |
9162 | 2007-02-13 Denis Pilat <denis.pilat@st.com> |
9163 | ||
9164 | * varobj.h (enum varobj_update_error): New enum. | |
9165 | * varobj.c (struct varobj_root): Add is_valid member. | |
9166 | (varobj_get_type): Check for invalid varobj. | |
9167 | (varobj_get_attributes): Likewise. | |
9168 | (variable_editable):Likewise. | |
9169 | (varobj_update): Likewise. Use varobj_update_error. | |
9170 | (new_root_variable): Set root varobj as valid by default. | |
9171 | (varobj_invalidate): New function. | |
9172 | * symfile.c (clear_symtab_users): Use varobj_invalidate. | |
9173 | * mi/mi-cmd-var.c (varobj_update_one): Change return type to void. | |
9174 | Use varobj_update_error. | |
9175 | ||
fe8e67fd PM |
9176 | 2007-02-12 Pierre Muller <muller@ics.u-strasbg.fr> |
9177 | ||
9178 | Fix PR pascal/2223. | |
9179 | * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as | |
9180 | Pascal language marker. | |
9181 | * dwarf2read.c (set_cu_language): Likewise. | |
9182 | ||
c44537cf CV |
9183 | 2007-02-12 Corinna Vinschen <vinschen@redhat.com> |
9184 | ||
9185 | * win32-nat.c (win32_wait): Reset terminal pgrp to GDB. | |
9186 | (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp | |
9187 | instead of target_terminal_init since inferior_ptid isn't set yet. | |
9188 | ||
20dad8ea PA |
9189 | 2007-02-10 Pedro Alves <pedro_alves@portugalmail.pt> |
9190 | ||
9191 | * MAINTAINERS (Write After Approval): Add myself. | |
9192 | ||
4ac94eda FF |
9193 | 2007-02-09 Fred Fish <fnf@specifix.com> |
9194 | ||
9195 | Based on work by Apple Computer, Inc. | |
9196 | * event-top.c (async_request_quit): Call quit() whenever either | |
9197 | quit_flag is set or immediate_quit is set. | |
9198 | ||
b260b6c1 GDR |
9199 | 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net> |
9200 | ||
9201 | * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's | |
9202 | type to a pointer to const struct block. | |
9203 | (ada_lookup_symbol_list): Don't cast away constness when calling | |
9204 | remove_out_of_scope_renamings. | |
9205 | ||
9206 | 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net> | |
9207 | ||
9208 | * linux-nat.c (linux_nat_find_memory_regions): Don't check the | |
9209 | address of 'filename'; it is always non null. | |
9210 | ||
0f5d55d8 JB |
9211 | 2007-02-09 Joel Brobecker <brobecker@adacore.com> |
9212 | ||
9213 | * exec.c (add_to_section_table): Do not discard empty sections. | |
9214 | ||
fb1e4ffc DJ |
9215 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
9216 | ||
9217 | * features/Makefile, features/arm-with-iwmmxt.xml, | |
9218 | features/gdbserver-regs.xsl, features/number-regs.xsl, | |
9219 | features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files. | |
9220 | * regformats/arm-with-iwmmxt.dat: Generate. | |
9221 | * NEWS: Mention iWMMXt. | |
9222 | ||
123dc839 DJ |
9223 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
9224 | ||
9225 | * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o) | |
9226 | (xml-tdesc.o): Update. | |
9227 | * xml-support.c: Add a comment. | |
9228 | (gdb_xml_enums_boolean): New variable. | |
9229 | (gdb_xml_parse_attr_enum): Use strcasecmp. | |
9230 | * xml-support.h (gdb_xml_enums_boolean): Declare. | |
9231 | * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature, | |
9232 | next_regnum, and current_union. | |
9233 | (tdesc_start_feature, tdesc_start_reg, tdesc_start_union) | |
9234 | (tdesc_end_union, tdesc_start_field, tdesc_start_vector) | |
9235 | (field_attributes, union_children, reg_attributes, union_attributes) | |
9236 | (vector_attributes, feature_attributes, feature_children): New. | |
9237 | (target_children): Make static. Add <feature>. | |
9238 | (tdesc_elements): Make static. | |
9239 | * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p) | |
9240 | (struct tdesc_feature, tdesc_feature_p): New types. | |
9241 | (struct target_desc): Add features member. | |
9242 | (struct tdesc_arch_data, tdesc_data): New. | |
9243 | (target_find_description): Clarify error message. Warn about | |
9244 | ignored register descriptions. | |
9245 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) | |
9246 | (tdesc_named_type, tdesc_data_init, tdesc_data_alloc) | |
9247 | (tdesc_data_cleanup, tdesc_numbered_register) | |
9248 | (tdesc_numbered_register_choices, tdesc_find_register) | |
9249 | (tdesc_register_name, tdesc_register_type) | |
9250 | (tdesc_remote_register_number, tdesc_register_reggroup_p) | |
9251 | (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type) | |
9252 | (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers) | |
9253 | (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature) | |
9254 | (tdesc_create_feature, tdesc_record_type): New. | |
9255 | (free_target_description): Free features. | |
9256 | (_initialize_target_descriptions): Initialize tdesc_data. | |
9257 | * arch-utils.c (default_remote_register_number): New. | |
9258 | * arch-utils.h (default_remote_register_number): New prototype. | |
9259 | * target-descriptions.h (set_tdesc_pseudo_register_name) | |
9260 | (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p) | |
9261 | (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup) | |
9262 | (tdesc_numbered_register, tdesc_numbered_register_choices) | |
9263 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) | |
9264 | (tdesc_named_type, tdesc_create_feature, tdesc_record_type) | |
9265 | (tdesc_create_reg): Declare. | |
9266 | * gdbarch.sh (remote_register_number): New entry. | |
9267 | * gdbarch.c, gdbarch.h: Regenerate. | |
9268 | * remote.c (init_remote_state): Use gdbarch_remote_register_number. | |
9269 | * features/gdb-target.dtd: Add feature, reg, vector, union, and field. | |
9270 | ||
9271 | * arm-tdep.c (arm_register_aliases): New. | |
9272 | (arm_register_name_strings): Rename to... | |
9273 | (arm_register_names): ...this. Make const. Delete the old version. | |
9274 | (current_option, arm_register_byte): Delete. | |
9275 | (set_disassembly_style): Simplify. Do not adjust arm_register_names. | |
9276 | (value_of_arm_user_reg): New. | |
9277 | (arm_gdbarch_init): Verify any described registers. Call | |
9278 | tdesc_use_registers. Don't use arm_register_byte. Create aliases | |
9279 | for standard register names. | |
9280 | (_initialize_arm_tdep): Do not adjust arm_register_names. | |
9281 | * user-regs.c (struct user_reg): Add baton member. | |
9282 | (append_user_reg, user_reg_add_builtin, user_regs_init) | |
9283 | (user_reg_add, value_of_user_reg): Use a baton for user | |
9284 | register functions. | |
9285 | * std-regs.c: Update. | |
9286 | * user-regs.h (user_reg_read_ftype, user_reg_add_builtin) | |
9287 | (user_reg_add): Add baton argument. | |
9288 | * NEWS: Mention target description register support. | |
9289 | * features/arm-core.xml, features/arm-fpa.xml: New. | |
9290 | * eval.c (evaluate_subexp_standard): Allow ptype $register | |
9291 | when the program is not running. | |
9292 | ||
87604222 NR |
9293 | 2007-02-09 Nick Roberts <nickrob@snap.net.nz> |
9294 | ||
9295 | * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field. | |
9296 | ||
ee4f0f76 DJ |
9297 | 2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com> |
9298 | ||
9299 | * rs6000-tdep.c (gdb_print_insn_powerpc): Set | |
9300 | info->disassembler_options to "any". | |
9301 | ||
7af9851d DJ |
9302 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
9303 | ||
9304 | * varobj.c (install_new_value): Only call value_get_print_value | |
9305 | if changeable. | |
9306 | ||
8944021f DJ |
9307 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
9308 | ||
9309 | Reported by timeless@gmail.com: | |
9310 | * gdb/target.c (target_flash_erase): Do not return void value. | |
9311 | (target_flash_done): Likewise. | |
9312 | * gdb/cli/cli-cmds.c (source_command): Likewise. | |
9313 | ||
9314 | 2007-02-08 Fred Fish <fnf@specifix.com> | |
5f960e00 | 9315 | |
4ac94eda | 9316 | Based on work by Apple Computer, Inc. |
5f960e00 FF |
9317 | * event-top.c (handle_sigint): Set quit_flag. |
9318 | (async_request_quit): Don't set quit_flag. Avoid calling quit() | |
9319 | if quit_flag has already been reset. | |
9320 | ||
4998c1df DJ |
9321 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
9322 | ||
9323 | * ser-mingw.c (pipe_windows_close): Move variable initialization back | |
9324 | up. | |
9325 | ||
79da184e FF |
9326 | 2007-02-08 Fred Fish <fnf@specifix.com> |
9327 | ||
9328 | * defs.h (request_quit): Remove declaration. | |
9329 | * utils.c (request_quit): Remove definition. | |
9330 | ||
3c77c82a DJ |
9331 | 2007-02-08 Joel Brobecker <brobecker@gnat.com> |
9332 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
9333 | Daniel Jacobowitz <dan@codesourcery.com> | |
9334 | ||
9335 | * rs6000-tdep.c (bl_to_blrl_insn_p): New function. | |
9336 | (skip_prologue): Allow bl->blrl used by PIC code. | |
9337 | ||
c1b6e682 DJ |
9338 | 2007-02-08 Mark Kettenis <kettenis@gnu.org> |
9339 | Daniel Jacobowitz <dan@codesourcery.com> | |
9340 | ||
9341 | * cp-valprint.c (cp_print_value_fields, cp_print_value): Always | |
9342 | initialize tmp_obstack. | |
9343 | * p-valprint.c (pascal_object_print_value_fields) | |
9344 | (pascal_object_print_value): Likewise. | |
9345 | ||
fe5dedf4 DJ |
9346 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
9347 | ||
9348 | * features/feature_to_c.sh: Use %s to avoid problems with nawk. | |
9349 | ||
3e461478 MK |
9350 | 2007-02-08 Mark Kettenis <kettenis@gnu.org> |
9351 | ||
9352 | * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". | |
9353 | * Makefile.in (sparcnbsd-tdep.o): Update dependencies. | |
9354 | ||
fc6e0168 DJ |
9355 | 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
9356 | ||
9357 | * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s) | |
9358 | (xml_cache): New. | |
9359 | (tdesc_parse_xml): Cache expanded descriptions. | |
9360 | ||
108546a0 DJ |
9361 | 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
9362 | ||
9363 | * Makefile.in (XMLFILES): New. | |
9364 | (COMMON_OBS): Add xml-builtin.o. | |
9365 | (xml-builtin.c, stamp-xml): New rules. | |
9366 | (xml-tdesc.o): Update. | |
9367 | * features/feature_to_c.sh: New file. | |
9368 | * xml-support.c (MAX_XINCLUDE_DEPTH): Define. | |
9369 | (struct gdb_xml_parser): Add dtd_name and is_xinclude. | |
9370 | (gdb_xml_start_element): Initialize scope after possibly reallocating | |
9371 | scopes. Move cleanup later. Handle the XInclude description | |
9372 | specially. | |
9373 | (gdb_xml_end_element): Only parse the body if there is a current element. | |
9374 | Call XML_DefaultCurrent if there is no element. | |
9375 | (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New. | |
9376 | (struct xinclude_parsing_data, xinclude_start_include) | |
9377 | (xinclude_end_include, xml_xinclude_default) | |
9378 | (xml_xinclude_start_doctype, xml_xinclude_end_doctype) | |
9379 | (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes) | |
9380 | (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New. | |
9381 | * xml-support.h (xml_fetch_another, xml_process_xincludes) | |
9382 | (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations. | |
9383 | * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand | |
9384 | XInclude directives. Use the compiled in DTD. | |
9385 | (fetch_xml_from_file): Add baton argument. Treat it as a containing | |
9386 | directory name. Do not warn here. | |
9387 | (file_read_description_xml): Update call. Warn here instead. Pass | |
9388 | a dirname as baton. | |
9389 | (fetch_available_features_from_target): New. | |
9390 | (target_read_description_xml): Use it. | |
9391 | * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd | |
9392 | to handle XInclude. | |
9393 | * features/xinclude.dtd: New file. | |
9394 | ||
b5057acd DJ |
9395 | 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com> |
9396 | ||
9397 | * linux-thread-db.c (check_for_thread_db): Return early if we have | |
9398 | no libthread_db support. | |
9399 | ||
6a089cf2 DJ |
9400 | 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com> |
9401 | ||
9402 | * mi/mi-parse.h: Include <sys/time.h>. | |
9403 | ||
9fbcbb40 NR |
9404 | 2007-02-05 Nick Roberts <nickrob@snap.net.nz> |
9405 | ||
9406 | * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print | |
9407 | instead of print_variable_value to print values. | |
9408 | ||
b3d2152a NR |
9409 | 2007-02-03 Nick Roberts <nickrob@snap.net.nz> |
9410 | ||
9411 | * mi/mi-main.c: Numerous formatting changes. | |
9412 | (mi_cmd_data_write_register_values): Replace clause inadvertantly | |
9413 | removed in my previous change. | |
9414 | ||
79f0a97a NR |
9415 | 2007-02-03 Eli Zaretskii <eliz@gnu.org> |
9416 | ||
9417 | * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now): | |
9418 | Use 1000000L instead of 1000000. | |
9419 | ||
95a98c01 | 9420 | 2007-02-03 Nick Roberts <nickrob@snap.net.nz> |
cd375699 NR |
9421 | |
9422 | Based on work by Apple Computer, Inc. | |
9423 | ||
9424 | * configure.ac: Test for sys/resource.h and getrusage. | |
9425 | * configure, config.in: Regenerate. | |
9426 | ||
9427 | * mi/mi-main.c: Include <sys/resource.h> if present. | |
9428 | (rusage): Declare if HAVE_GETRUSAGE. | |
9429 | (current_command_ts, do_timings): New static variables. | |
9430 | (timestamp, print_diff_now, print_diff, timeval_diff): | |
9431 | New static timing functions. | |
9432 | (mi_cmd_enable_timings): New function for new MI command. | |
9433 | (captured_mi_execute_command, mi_execute_async_cli_command): | |
9434 | Call timing functions. | |
9435 | ||
9436 | * mi/mi-cmds.c (mi_cmds): Add entry for new MI command | |
9437 | -enable-timings. | |
9438 | ||
9439 | * mi/mi-cmds.h (mi_cmd_enable_timings): New extern. | |
9440 | ||
9441 | * mi/mi-parse.h: (mi_timestamp): New structure. | |
9442 | (mi_parse): Add mi_timestamp* member. | |
9443 | ||
99b3d574 DP |
9444 | 2007-02-02 Denis Pilat <denis.pilat@st.com> |
9445 | ||
9446 | * thread.c (make_cleanup_restore_current_thread): New function. | |
9447 | (info_threads_command): Use of make_cleanup_restore_current_thread | |
9448 | to restore the current thread and the selected frame. | |
9449 | (restore_selected_frame): New function. | |
9450 | (struct current_thread_cleanup): Add frame_id field. | |
9451 | (do_restore_current_thread_cleanup): Add restoring of the selected | |
9452 | frame. | |
9453 | (make_cleanup_restore_current_thread): Likewise. | |
9454 | (thread_apply_all_command): backup the selected frame while | |
9455 | entering the function and restore it at exit. | |
9456 | (thread_apply_command): Likewise. | |
9457 | ||
d3c598de DP |
9458 | 2007-02-02 Denis Pilat <denis.pilat@st.com> |
9459 | ||
9460 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
9461 | ||
b69733ab | 9462 | 2007-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
3e41d55f KI |
9463 | |
9464 | * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask. | |
9465 | (m32r_store_register): Ditto. | |
9466 | ||
b69733ab | 9467 | 2007-01-30 Vladimir Prus <vladimir@codesourcery.com> |
ef7723eb VP |
9468 | |
9469 | * ser-mingw.c (pipe_windows_open) | |
9470 | (pipe_windows_read, pipe_windows_write): Declare | |
9471 | variables at the top of the function. | |
9472 | ||
8da61cc4 DJ |
9473 | 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com> |
9474 | ||
9475 | * doublest.c (floatformat_from_length): Use the right element from | |
9476 | gdbarch floatformats. | |
9477 | (floatformat_from_type, extract_typed_floating) | |
9478 | (store_typed_floating): Likewise. | |
9479 | * doublest.h: Remove declarations for undefined floatformat arrays. | |
9480 | * gdbarch.sh (float_format, double_format, long_double_format): Change | |
9481 | to pairs. | |
9482 | (pformat): Update for pairs. | |
9483 | * gdbarch.c, gdbarch.h: Regenerated. | |
9484 | * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double) | |
9485 | (floatformats_ieee_double_littlebyte_bigword) | |
9486 | (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext) | |
9487 | (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f) | |
9488 | (floatformats_vax_d): New variables. | |
9489 | (builtin_type_ieee_single, builtin_type_ieee_double) | |
9490 | (builtin_type_arm_ext, builtin_type_ia64_spill) | |
9491 | (builtin_type_ia64_quad): Replace arrays with individual types. | |
9492 | (builtin_type_ieee_single_big, builtin_type_ieee_single_little) | |
9493 | (builtin_type_ieee_double_big, builtin_type_ieee_double_little) | |
9494 | (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext) | |
9495 | (builtin_type_m88110_ext, builtin_type_m88110_harris_ext) | |
9496 | (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword) | |
9497 | (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little) | |
9498 | (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete | |
9499 | unused and endian-specific types. | |
9500 | (recursive_dump_type): Update for floatformat pairs. | |
9501 | (build_flt): Move higher. Handle bit == -1. Take a floatformat pair. | |
9502 | (build_gdbtypes): Use build_flt. | |
9503 | (_initialize_gdbtypes): Update set of initialized types. | |
9504 | * gdbtypes.h: Update declarations to match gdbtypes.c. | |
9505 | (struct main_type): Store a pointer to two floatformats. | |
9506 | * arch-utils.c (default_float_format, default_double_format): Delete. | |
9507 | * arch-utils.h (default_float_format, default_double_format): Delete. | |
9508 | ||
9509 | * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, | |
9510 | ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c, | |
9511 | mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c, | |
9512 | sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c, | |
9513 | vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update. | |
9514 | ||
87680a14 JB |
9515 | 2007-01-29 Joel Brobecker <brobecker@adacore.com> |
9516 | ||
9517 | * target.c (maintenance_print_target_stack): New function. | |
9518 | (initialize_targets): Add new "maintenance print target-stack" | |
9519 | command. | |
9520 | ||
1c3d648d MK |
9521 | 2007-01-28 Mark Kettenis <kettenis@gnu.org> |
9522 | ||
9523 | * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero. | |
9524 | ||
607269ae DJ |
9525 | 2007-01-27 Daniel Jacobowitz <dan@codesourcery.com> |
9526 | ||
9527 | * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long. | |
9528 | (struct dwarf2_loclist_baton): Likewise. | |
9529 | ||
40c03ae8 EZ |
9530 | 2007-01-27 Eli Zaretskii <eliz@gnu.org> |
9531 | ||
9532 | * cli/cli-script.c: Include breakpoint.h. | |
9533 | (build_command_line): Require arguments only for if and while | |
9534 | commands. | |
9535 | (get_command_line, execute_user_command, execute_control_command): | |
9536 | Fix wording of warning messages. | |
9537 | (print_command_lines): Print breakpoint commands. | |
9538 | (execute_control_command): Call commands_from_control_command to | |
9539 | handle the `commands' command inside a body of a flow-control | |
9540 | command. | |
9541 | (read_next_line): Recognize the `commands' command and build a | |
9542 | command line structure for it. | |
9543 | (recurse_read_control_structure, read_command_lines): Handle | |
9544 | `commands' similarly to `if' and `while'. | |
9545 | ||
9546 | * breakpoint.c (get_number_trailer): Document the special meaning | |
9547 | of NULL as the first argument PP. | |
9548 | (commands_from_control_command): New function. | |
9549 | ||
9550 | * breakpoint.h (commands_from_control_command): Add prototype. | |
9551 | ||
9552 | * defs.h (commands_control): New enumerated value for enum | |
9553 | command_control_type. | |
9554 | ||
4b9eee8c JB |
9555 | 2007-01-26 Joel Brobecker <brobecker@adacore.com> |
9556 | ||
9557 | * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name. | |
9558 | (ada_exception_sal): Update accordingly. | |
9559 | ||
e1f48ead JK |
9560 | 2007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com> |
9561 | ||
9562 | * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs. | |
9563 | * NEWS: Describe CHAR array vs. string identifcation rules. | |
9564 | ||
e150acc7 PB |
9565 | 2007-01-25 Paul Brook <paul@codesourcery.com> |
9566 | ||
9567 | * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error. | |
9568 | ||
10fb19b6 JB |
9569 | 2007-01-24 Jim Blandy <jimb@codesourcery.com> |
9570 | ||
9571 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location | |
9572 | expression is empty, bother to return the 'optimized out' value we | |
9573 | construct. (Thanks to Carl Burch.) | |
9574 | ||
85d93f1d VP |
9575 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
9576 | ||
9577 | * varobj.c (c_value_of_root, c_value_of_child) | |
9578 | (cplus_describe_child): Don't call release_value. | |
9579 | ||
fcbd8a5c TS |
9580 | 2007-01-24 Thiemo Seufer <ths@mips.com> |
9581 | ||
9582 | * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct | |
9583 | initialization. | |
9584 | ||
2024f65a VP |
9585 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
9586 | ||
9587 | Refactor getting children name, value and type access | |
9588 | for varobjs in C++. | |
9589 | * varobj.c (get_type_deref): Remove. | |
9590 | (adjust_value_for_child_access): New. | |
9591 | (c_number_of_children): Use the above. | |
9592 | (c_describe_child): Likewise. | |
9593 | (enum accessibility): New. | |
9594 | (match_accessibility): New function. | |
9595 | (cplus_describe_child): New function. | |
9596 | (cplus_name_of_child, cplus_value_of_child) | |
9597 | (cplus_type_of_child): Reimplement in terms | |
9598 | of cplus_describe_child. | |
9599 | (cplus_number_of_children): Use | |
9600 | adjust_value_for_child_access. | |
9601 | ||
6e2a9270 VP |
9602 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
9603 | ||
9604 | Fix computation of the 'editable' attribute and | |
9605 | value changeability for for references. | |
9606 | * varobj.c (get_value_type): New function. | |
9607 | (c_variable_editable): Use get_value_type. | |
9608 | (varobj_value_is_changeable): Likewise. | |
9609 | ||
56163ce1 JB |
9610 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
9611 | ||
9612 | * source.c (find_and_open_source): Try rewriting the source | |
9613 | path inside filename if dirname is NULL. | |
9614 | ||
8c6860bb JB |
9615 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
9616 | ||
9617 | * dwarf2read.c (add_partial_symbol): Create an extra partial | |
9618 | symbol in the VAR_DOMAIN for Ada structures, unions or enums. | |
9619 | (new_symbol): Likewise for symbols. | |
9620 | ||
6db6d2ca NR |
9621 | 2007-01-24 Nick Roberts <nickrob@snap.net.nz> |
9622 | ||
9623 | * mi/mi-main.c (mi_cmd_execute): Call free_all_values. | |
9624 | ||
7d85ee02 VP |
9625 | 2007-01-23 Vladimir Prus <vladimir@codesourcery.com> |
9626 | ||
9627 | * value.c (value_primitive_field): Copy the full 'location' | |
9628 | contents, instead of assuming that copying ADDRESS will | |
9629 | bring over everything in the union. Remove obsolete comment. | |
9630 | ||
f79b9530 DJ |
9631 | 2007-01-23 Masaki Muranaka <monaka@monami-software.com> |
9632 | ||
9633 | * m32c-tdep.c (make_regs, m32c_analyze_prologue) | |
9634 | (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer) | |
9635 | (m32c_m16c_pointer_to_address): Separate code from declarations. | |
9636 | ||
08d8bcd7 DJ |
9637 | 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com> |
9638 | ||
9639 | * target.c (update_current_target): Correct typo. | |
9640 | ||
57fdbbbe CV |
9641 | 2007-01-22 Masaki Muranaka <monaka@monami-software.com> |
9642 | ||
9643 | * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a | |
9644 | declaration. | |
9645 | ||
58894217 JK |
9646 | 2007-01-11 Andrew Cagney <cagney@redhat.com> |
9647 | Daniel Jacobowitz <dan@codesourcery.com> | |
9648 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
9649 | ||
9650 | * dwarf2-frame.c (execute_cfa_program): New support of | |
9651 | `DW_CFA_GNU_negative_offset_extended'. | |
9652 | ||
9ebce043 DJ |
9653 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
9654 | ||
9655 | * NEWS: Mention flash support for "load" and new remote packets. | |
9656 | ||
973d738b DJ |
9657 | 2007-01-21 Markus Deuling <deuling@de.ibm.com> |
9658 | ||
9659 | * breakpoint.c (delete_command): Skip redundant loop iterations. | |
9660 | ||
7b9ee6a8 DJ |
9661 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
9662 | ||
9663 | * gdbarch.sh (register_type): Update comment. | |
9664 | * gdbarch.h: Regenerated. | |
9665 | * arch-utils.c (generic_register_size): Call register_type. | |
9666 | * ia64-tdep.c (ia64_extract_return_value): Likewise. | |
9667 | * m32c-tdep.c (check_for_saved): Likewise. | |
9668 | * mips-tdep.c (mips_print_register, print_gp_register_row) | |
9669 | (mips_print_registers_info): Likewise. | |
9670 | * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write): | |
9671 | Likewise. | |
9672 | * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write) | |
9673 | (sh64_do_register, sh64_print_register) | |
9674 | (sh64_media_print_registers_info): Likewise. | |
9675 | * tui/tui-regs.c (tui_register_format): Likewise. | |
9676 | ||
11309657 DJ |
9677 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
9678 | ||
9679 | * objfiles.h (ALL_PRIMARY_SYMTABS): Define. | |
9680 | ||
9681 | * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list) | |
9682 | (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS. | |
9683 | * cp-support.c (make_symbol_overload_list_qualified): Likewise. | |
9684 | * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
9685 | (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols) | |
9686 | (make_symbol_completion_list): Likewise. | |
9687 | ||
cb1df416 DJ |
9688 | 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
9689 | Daniel Jacobowitz <dan@codesourcery.com> | |
9690 | ||
9691 | * buildsym.c (end_symtab): Use preallocated symtab if available. | |
9692 | Fill in SYMBOL_SYMTAB. | |
9693 | * buildsym.h (struct subfile): Add symtab member. | |
9694 | * dwarf2read.c (struct dwarf2_cu): Add line_header. | |
9695 | (struct file_entry): Add symtab. | |
9696 | (free_cu_line_header): New function. | |
9697 | (read_file_scope): Use it. Save line_header in the cu. Process | |
9698 | lines before DIEs. | |
9699 | (add_file_name): Initialize new symtab member. | |
9700 | (dwarf_decode_lines): Create symtabs for included files. | |
9701 | (new_symbol): Set SYMBOL_SYMTAB. | |
9702 | * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB. | |
9703 | (search_symbols): Likewise. | |
9704 | * symtab.h (struct symbol): Add symtab member. | |
9705 | (SYMBOL_SYMTAB): Define. | |
9706 | ||
727da900 DJ |
9707 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
9708 | ||
9709 | * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO. | |
9710 | ||
7b6b9e83 DJ |
9711 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
9712 | ||
9713 | * arch-utils.c (show_endian): Correct reversed condition. | |
9714 | ||
e767400c JK |
9715 | 2007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
9716 | ||
9717 | * MAINTAINERS (Write After Approval): Add myself. | |
9718 | ||
b20d8971 VP |
9719 | 2007-01-16 Daniel Jacobowitz <dan@codesourcery.com> |
9720 | Vladimir Prus <vladimir@codesourcery.com> | |
9721 | ||
9722 | Fix 'selected frame' varobjs. | |
9723 | * varobj.c (struct varobj): Remove the error field. | |
9724 | (varobj_set_value): Don't check var->error. | |
9725 | (install_new_value): Don't set var->error. | |
9726 | (varobj_update): Always pass the new value | |
9727 | of the root via install_new_value. | |
9728 | (create_child): Don't set error field. | |
9729 | (new_variable): Likewise. | |
9730 | (c_value_of_root): Always reevaluate the value | |
9731 | of selected frame varobjs in the selected frame. | |
9732 | Don't call reinit_frame_cache. | |
9733 | ||
7ef2b397 JB |
9734 | 2007-01-15 Joel Brobecker <brobecker@adacore.com> |
9735 | ||
9736 | * source.c (_initialize_source): Improve the help text of | |
9737 | the substitute-path commands. | |
9738 | ||
1208538e MK |
9739 | 2007-01-14 Mark Kettenis <kettenis@gnu.org> |
9740 | ||
9741 | * frv-tdep.c (frv_gdbarch_init, frv_register_name) | |
9742 | (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address) | |
9743 | (frv_skip_prologue): Remove prototypes. | |
9744 | (frv_adjust_breakpoint_address): Renamed from | |
9745 | frv_gdbarch_adjust_breakpoint_address. | |
9746 | (frv_gdbarch_init): Adjust. | |
9747 | ||
765f065a MK |
9748 | 2007-01-13 Mark Kettenis <kettenis@gnu.org> |
9749 | ||
5e66aab2 MK |
9750 | * gdbarch.sh (deprecated_extract_return_value) |
9751 | (deprecated_store_return_value): Remove. | |
9752 | (extract_return_value, store_return_value): Remove default values. | |
9753 | * gdbarch.c, gdbarch.h: Regenerate. | |
9754 | * arch-utils.c, arch-utils.h (legacy_extract_return_value) | |
9755 | (legacy_store_return_value): Remove. | |
9756 | * regcache.c, regcache.h (deprecated_grub_regcache_for_registers): | |
9757 | Remove. | |
9758 | ||
56178203 MK |
9759 | * mi/mi-main.c: Remove obsolete comment. |
9760 | ||
23303b2e MK |
9761 | * regcache.c, regcache.h (deprecated_register_bytes) |
9762 | (deprecated_read_register_bytes) | |
9763 | (deprecated_write_register_bytes): Remove. | |
9764 | ||
765f065a MK |
9765 | * frame.c (get_frame_register_bytes, put_frame_register_bytes): |
9766 | Don't forget to move destination pointer. | |
9767 | ||
610acfff MK |
9768 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
9769 | ||
9770 | * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove. | |
9771 | ||
12102450 UW |
9772 | 2007-01-11 Ulrich Weigand <uweigand@de.ibm.com> |
9773 | ||
9774 | * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace | |
9775 | past entry function with recent newlib. | |
9776 | ||
c8b2f53c VP |
9777 | 2007-01-11 Vladimir Prus <vladimir@codesourcery.com> |
9778 | ||
9779 | * gdb.texinfo (GDB/MI Variable Objects): Improve the | |
9780 | introduction. Specify -var-update more exactly. | |
9781 | ||
d57df5e4 DJ |
9782 | 2007-01-11 Daniel Jacobowitz <dan@codesourcery.com> |
9783 | ||
9784 | * frame.c (get_prev_frame_1): Check PC_REGNUM before using it. | |
9785 | ||
03f597d5 JB |
9786 | 2007-01-10 Jim Blandy <jimb@codesourcery.com> |
9787 | ||
9788 | * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted | |
9789 | the Global Maintainers' invitation to be a global maintainer. | |
9790 | ||
fd48f117 DJ |
9791 | 2007-01-10 Daniel Jacobowitz <dan@codesourcery.com> |
9792 | ||
9793 | * infrun.c (singlestep_pc): New variable. | |
9794 | (resume): Set singlestep_pc. | |
9795 | (context_switch): Add a debugging message. Flush the frame cache. | |
9796 | (handle_inferior_event): Add debugging messages. Handle thread | |
9797 | hops when a software single step has completed. Let context_switch | |
9798 | handle flushing the frame cache. | |
9799 | ||
23181151 DJ |
9800 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
9801 | ||
9802 | * NEWS: Mention target descriptions, "set tdesc filename", | |
9803 | "unset tdesc filename", "show tdesc filename", and | |
9804 | qXfer:features:read. | |
9805 | * arch-utils.c (choose_architecture_for_target): New function. | |
9806 | (gdbarch_info_fill): Call it. | |
9807 | * target-descriptions.c (struct property): Make members non-const. | |
9808 | (struct target_desc): Add arch member. | |
9809 | (target_description_filename): New variable. | |
9810 | (target_find_description): Try via XML first. | |
9811 | (tdesc_architecture): New. | |
9812 | (free_target_description, make_cleanup_free_target_description): New. | |
9813 | (set_tdesc_property): Call xstrdup. | |
9814 | (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist) | |
9815 | (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd) | |
9816 | (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd) | |
9817 | (show_tdesc_filename_cmd, _initialize_target_descriptions): New. | |
9818 | * target-descriptions.h (tdesc_architecture) | |
9819 | (make_cleanup_free_target_description, set_tdesc_architecture): New | |
9820 | prototypes. | |
9821 | * Makefile.in (SFILES): Add xml-tdesc.c. | |
9822 | (COMMON_OBS): Add xml-tdesc.o. | |
9823 | (target-descriptions.o): Update. | |
9824 | (xml-tdesc.o): New rule. | |
9825 | * xml-tdesc.c, xml-tdesc.h: New files. | |
9826 | * remote.c (PACKET_qXfer_features): New enum. | |
9827 | (remote_protocol_features): Add qXfer:features:read. | |
9828 | (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES. | |
9829 | (_initialize_remote): Register qXfer:features:read. | |
9830 | * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES. | |
9831 | * features/gdb-target.dtd: New file. | |
9832 | ||
3e9cb5f4 DJ |
9833 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
9834 | ||
9835 | * copyright.sh: Clarify error. | |
9836 | ||
818f79f6 DJ |
9837 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
9838 | ||
9839 | * symtab.c (matching_bfd_sections): Fix VMA matching for | |
9840 | prelinked objects. | |
9841 | ||
f7a6bb70 DJ |
9842 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
9843 | ||
9844 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle | |
9845 | nested symbols. | |
9846 | ||
20ac0504 DJ |
9847 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
9848 | ||
9849 | Updated copyright notices for most files. | |
9850 | ||
85bb0718 DJ |
9851 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
9852 | ||
9853 | * copyright.sh (prunes): Add step-line.inp and step-line.c. | |
9854 | ||
aa28a74e DJ |
9855 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
9856 | ||
9857 | * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside | |
9858 | exec_prefix. | |
9859 | (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being | |
9860 | '${prefix}'. | |
9861 | * configure, config.in: Regenerate. | |
9862 | * defs.h (debug_file_directory): Declare. | |
9863 | * main.c (captured_main): Canonicalize gdb_sysroot. Assume | |
9864 | TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and | |
9865 | relocate it if DEBUGDIR_RELOCATABLE. | |
9866 | * symfile.c (debug_file_directory): Make non-static. | |
9867 | (find_separate_debug_file): Look for debug info for SYSROOT/PATH | |
9868 | in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT. | |
9869 | (_initialize_symfile): Don't initialize debug_file_directory here. | |
9870 | ||
1cfd2c3e JB |
9871 | 2007-01-09 Jim Blandy <jimb@codesourcery.com> |
9872 | ||
9873 | * score-tdep.c (score_push_dummy_call): Don't mix declarations and | |
9874 | statements. | |
9875 | ||
5efde112 DJ |
9876 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
9877 | ||
9878 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use | |
9879 | frame_unwind_register to recurse. | |
9880 | * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise. | |
9881 | (alpha_heuristic_frame_prev_register): Likewise. | |
9882 | * h8300-tdep.c (h8300_frame_prev_register): Likewise. | |
9883 | * m32c-tdep.c (m32c_prev_register): Likewise. | |
9884 | * frame.c (frame_register_unwind_location): Remove FIXME. | |
9885 | ||
4de1f557 DJ |
9886 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
9887 | Eli Zaretskii <eliz@gnu.org> | |
9888 | ||
9889 | * copyright.sh: New file. | |
9890 | ||
ca4ca11e DJ |
9891 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
9892 | ||
9893 | * configure.ac: Check for XML_StopParser. | |
9894 | * xml-support.c (gdb_xml_body_text): Check for an error. | |
9895 | (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser. | |
9896 | (gdb_xml_end_element_wrapper): Likewise. | |
9897 | * config.in, configure: Regenerated. | |
9898 | ||
57e66780 DJ |
9899 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
9900 | ||
9901 | * varobj.c (install_new_value): Always update print_value. | |
9902 | (value_get_print_value): Immediately return NULL for missing | |
9903 | values. | |
9904 | ||
b523a1fd JB |
9905 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
9906 | ||
9907 | * configure.ac: Tighten pattern for extracting value of | |
9908 | DEPRECATED_TM_FILE from the target makefile fragment. | |
9909 | * configure: Regenerated. | |
9910 | ||
3d799a95 DJ |
9911 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
9912 | ||
9913 | * linux-nat.c (struct simple_pid_list): Add status. | |
9914 | (add_to_pid_list): Record the PID's status. | |
9915 | (linux_record_stopped_pid): Likewise. Make static. | |
9916 | (pull_pid_from_list): Return the saved status. | |
9917 | (linux_nat_handle_extended): Deleted. | |
9918 | (linux_handle_extended_wait): Combine with linux_nat_handle_extended. | |
9919 | Make static. Handle non-SIGSTOP for a new thread's first signal. | |
9920 | (flush_callback): Handle unexpected pending signals. | |
9921 | (linux_nat_wait): Update calls to changed functions. | |
9922 | * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait): | |
9923 | Remove prototypes for newly static functions. | |
9924 | ||
9acbedc0 UW |
9925 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
9926 | ||
9927 | * gdbarch.sh (value_from_register): New gdbarch function. | |
9928 | * gdbarch.c, gdbarch.h: Regenerate. | |
9929 | * findvar.c (default_value_from_register): New function. | |
9930 | (value_from_register): Use gdbarch_value_from_register. | |
9931 | * value.h (default_value_from_register): Declare. | |
9932 | * spu-tdep.c (spu_convert_register_p, spu_register_to_value, | |
9933 | spu_value_to_register): Remove. | |
9934 | (spu_value_from_register): New function. | |
9935 | (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
9936 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
9937 | Call set_gdbarch_value_from_register. | |
9938 | * s390-tdep.c (s390_convert_register_p, s390_register_to_value, | |
9939 | s390_value_to_register): Remove. | |
9940 | (s390_value_from_register): New function. | |
9941 | (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
9942 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
9943 | Call set_gdbarch_value_from_register. | |
9944 | ||
f822c95b DJ |
9945 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
9946 | ||
9947 | * NEWS: Add "set sysroot" and "show sysroot". | |
9948 | * solib.c (solib_absolute_prefix): Delete. Replace | |
9949 | all uses with gdb_sysroot. | |
9950 | (_initialize_solib): Add "set sysroot" and "show sysroot". | |
9951 | Make "solib-absolute-prefix" an alias to it. | |
9952 | ||
00fa51f6 UW |
9953 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
9954 | ||
9955 | * frame.c (get_frame_register_bytes): New function. | |
9956 | (put_frame_register_bytes): Likewise. | |
9957 | * frame.h (get_frame_register_bytes): Declare. | |
9958 | (put_frame_register_bytes): Likewise. | |
9959 | * findvar.c (value_from_register): Always construct lval_register | |
9960 | values. Use get_frame_register_bytes. | |
9961 | * valops.c (value_assign): Use get_frame_register_bytes and | |
9962 | put_frame_register_bytes. | |
9963 | ||
a95c9d06 JB |
9964 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
9965 | ||
9966 | * MAINTAINERS: Update Stan Shebs' email address. | |
9967 | ||
4ed6b5be JB |
9968 | 2007-01-07 Joel Brobecker <brobecker@adacore.com> |
9969 | ||
9970 | * ada-lang.c (is_known_support_routine): Improve the implementation. | |
9971 | ||
9bbc9174 JB |
9972 | 2007-01-06 Joel Brobecker <brobecker@adacore.com> |
9973 | ||
9974 | * ada-lang.c: Add include of source.h. | |
9975 | (is_known_support_routine): Improve the check verifying that the file | |
9976 | associated to this frame exists. | |
9977 | * Makefile.in (ada-lang.o): Add dependency on source.h. | |
9978 | ||
44a81774 JB |
9979 | 2007-01-07 Jim Blandy <jimb@codesourcery.com> |
9980 | ||
9981 | * ax-general.c (ax_const_l): Select proper opcode for the given | |
9982 | value. | |
9983 | ||
fcd19eb1 | 9984 | 2007-01-05 Vladimir Prus <vladimir@codesourcery.com> |
6fe1a487 NR |
9985 | |
9986 | * varobj.c (c_value_of_root): Don't select frame if variable | |
9987 | object is out of scope. | |
9988 | ||
fcd19eb1 | 9989 | 2007-01-05 Nick Roberts <nickrob@snap.net.nz> |
3fa6deb5 NR |
9990 | |
9991 | * varobj.c (struct varobj): New member print_value. | |
9992 | (install_new_value): Compare last printed value with current one | |
9993 | instead of contents. | |
9994 | (new_variable): Initialize var->print_value to NULL. | |
9995 | (free_variable): Free var->print_value. | |
9996 | (value_get_print_value): New function derived from | |
9997 | c_value_of_variable. | |
9998 | (c_value_of_variable): Use value_get_print_value. | |
9999 | ||
92a56b20 JB |
10000 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
10001 | ||
10002 | * i386-tdep.c (i386_analyze_stack_align): Add comment. | |
10003 | ||
0e420bd8 JB |
10004 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
10005 | ||
10006 | * NEWS: Add entries for new catch commands. | |
10007 | ||
b69733ab | 10008 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
fa4028e9 JB |
10009 | |
10010 | * dwarf2read.c (partial_die_info): Add field has_byte_size. | |
10011 | (add_partial_symbol): Correct identification of external references. | |
10012 | (process_structure_scope): Likewise. | |
10013 | (read_partial_die): Handle DW_AT_byte_size attribute. | |
10014 | ||
10015 | 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com> | |
d097fa3e DJ |
10016 | |
10017 | * xml-support.c (gdb_xml_end_element): Remove wrong backslashes. | |
10018 | ||
8e38af42 NR |
10019 | 2007-01-05 Nick Roberts <nickrob@snap.net.nz> |
10020 | ||
10021 | * varobj.c (get_type_deref): Fix variable objects for references to | |
10022 | pointers. | |
10023 | ||
d1c79ecd DJ |
10024 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
10025 | ||
10026 | * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs | |
10027 | with no symbols. | |
10028 | ||
e776119f DJ |
10029 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
10030 | ||
10031 | * memory-map.c (struct_memory_map_parsing_data): Remove most | |
10032 | members. Make property_name an array. | |
10033 | (free_memory_map_parsing_data, memory_map_start_element) | |
10034 | (memory_map_end_element, memory_map_character_data): Delete. | |
10035 | (memory_map_start_memory, memory_map_end_memory) | |
10036 | (memory_map_start_property, memory_map_end_property): New functions. | |
10037 | (property_attributes, memory_children, memory_type_enum) | |
10038 | (memory_attributes, memory_map_children, memory_map_elements): New. | |
10039 | (parse_memory_map): Rewrite. | |
10040 | * xml-support.c (debug_xml): New. | |
10041 | (xml_get_required_attribute, xml_get_integer_attribute) | |
10042 | (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser): | |
10043 | Delete. | |
10044 | (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text) | |
10045 | (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup) | |
10046 | (gdb_xml_start_element, gdb_xml_start_element_wrapper) | |
10047 | (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup) | |
10048 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse) | |
10049 | (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest) | |
10050 | (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support): | |
10051 | New. | |
10052 | * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler) | |
10053 | (enum gdb_xml_attribute_flag, struct gdb_xml_attribute) | |
10054 | (enum gdb_xml_element_flag, struct gdb_xml_element) | |
10055 | (gdb_xml_element_start_handler, gdb_xml_element_end_handler) | |
10056 | (struct gdb_xml_enum): New. | |
10057 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug) | |
10058 | (gdb_xml_error, gdb_xml_parse_attr_ulongest) | |
10059 | (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes. | |
10060 | (xml_get_required_attribute, xml_get_integer_attribute) | |
10061 | (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes. | |
10062 | * Makefile.in (xml_support_h, xml-support.o): Update. | |
10063 | ||
5e572bb4 DJ |
10064 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
10065 | ||
10066 | * Makefile.in (eval.o): Update dependencies. | |
10067 | * eval.c: Include "ui-out.h" and "exceptions.h". | |
10068 | (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable. | |
10069 | Use value_zero if an error occurs when avoiding side effects. | |
10070 | * varobj.c (c_value_of_root): Initialize new_val. | |
10071 | ||
74a44383 DJ |
10072 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
10073 | ||
10074 | * varobj.c (varobj_list_children): Stop if the number of children is | |
10075 | unknown. | |
10076 | (c_number_of_children): | |
10077 | ||
e8d2d628 MK |
10078 | 2007-01-04 Mark Kettenis <kettenis@gnu.org> |
10079 | ||
10080 | * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE. | |
10081 | (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start) | |
10082 | (alpha_heuristic_frame_unwind_cache, alpha_next_pc) | |
10083 | (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and | |
10084 | sizeof, instead of hardcoded constants. | |
10085 | ||
c941839d DJ |
10086 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
10087 | ||
10088 | * CONTRIBUTE: Use sourceware.org. | |
10089 | ||
303b6f5d | 10090 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
2d0720d9 | 10091 | |
303b6f5d DJ |
10092 | * buildsym.c (start_subfile): Handle producer. |
10093 | (record_producer): New function. | |
10094 | * buildsym.h (struct subfile): Include producer. | |
10095 | (record_producer): New prototype. | |
10096 | * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation. | |
10097 | (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and | |
10098 | armcc_cfa_offsets_reversed. | |
10099 | (execute_cfa_program): Handle armcc_cfa_offsets_sf. | |
10100 | (dwarf2_frame_find_quirks): New function. | |
10101 | (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed. | |
10102 | (decode_frame_entry_1): Record the CIE version. Record the | |
10103 | augmentation. Skip armcc augmentations. | |
10104 | * dwarf2read.c (read_file_scope): Save the producer. | |
10105 | * symtab.h (struct symtab): Rename unused version member to | |
10106 | producer. | |
2d0720d9 | 10107 | |
aa79a185 DJ |
10108 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
10109 | ||
10110 | * configure.ac (build_warnings): Use -Wall and | |
10111 | -Wdeclaration-after-statement. | |
10112 | * configure: Regenerated. | |
10113 | ||
bbec2603 VP |
10114 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
10115 | ||
10116 | Simplify access to variours properties of child | |
10117 | variable objects in C. | |
10118 | * varobj.c (value_struct_element_index): New function. | |
10119 | (c_describe_child): New function. | |
10120 | (c_name_of_child, c_value_of_child) | |
10121 | (c_type_of_child): Rewrite to use c_describe_child. | |
10122 | ||
28335dcc VP |
10123 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
10124 | ||
10125 | gdb/ | |
10126 | * varobj.c: Include "vec.h". | |
10127 | (varobj_p): New typedef, declare vector of those. | |
10128 | (struct varobj): Use vector for the 'children' member. | |
10129 | (child_exists): Remove. | |
10130 | (save_child_in_parent): Remove. | |
10131 | (remove_child_from_parent): Remove. | |
10132 | (struct varobj_child): Remove. | |
10133 | (struct vstack): Remove. | |
10134 | (vpush, vpop): Remove. | |
10135 | (varobj_list_children): Adjust to work work vector. | |
10136 | (varobj_update): Likewise. Use vectors for | |
10137 | working stack and result. | |
10138 | (delete_variable_1): Likewise. | |
10139 | * Makefile.in (varobj.o): Update dependencies. | |
10140 | ||
b2c2bd75 VP |
10141 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
10142 | ||
10143 | Port from Apple's version. | |
10144 | gdb/ | |
10145 | * varobj.c (type_changeable): Rename to... | |
10146 | (varobj_value_is_changeable_p): ...this. Adjust all callers. | |
10147 | (is_root_p): New function. Use it everywhere. | |
10148 | ||
bdfb3870 JB |
10149 | 2007-01-04 Jim Blandy <jimb@codesourcery.com> |
10150 | ||
10151 | * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup', | |
10152 | then plain 'fixup'. | |
10153 | ||
5d15052e JB |
10154 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
10155 | ||
10156 | * hpread.c (hpread_start_psymtab): Remove unnecessary extern. | |
10157 | ||
53103997 JB |
10158 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
10159 | ||
10160 | * hpread.c (hpread_type_lookup): Fix compilation failure. | |
10161 | ||
27fd2f50 Q |
10162 | 2007-01-04 Qinwei <qinwei@sunnorth.com.cn> |
10163 | ||
10164 | * NEWS: New port to S+core. | |
10165 | * MAINTAINERS (Write After Approval, Responsible Maintainers): | |
10166 | Add myself. | |
10167 | ||
10168 | * Makefile.in: Add dependencies for S+core files. | |
10169 | * configure.tgt (score*, score-*-*): Add S+core target. | |
10170 | * config/score/embed.mt: New file. | |
10171 | * score-tdep.c: New file. | |
10172 | * score-tdep.h: New file. | |
10173 | ||
a6cfbe68 JB |
10174 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
10175 | ||
10176 | * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with | |
10177 | the appropriate type rather than a bogus void type. | |
10178 | ||
67cf15b7 | 10179 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
f7f9143b JB |
10180 | |
10181 | * ada-lang.h (ada_find_printable_frame): Remove. | |
10182 | (ada_exception_catchpoint_p, ada_decode_exception_location) | |
10183 | (ada_decode_assert_location): Add declaration. | |
10184 | * ada-lang.c: Add include of annotate.h and valprint.h. | |
10185 | (exception_catchpoint_kind): New enum. | |
10186 | (function_name_from_pc, is_known_support_routine) | |
10187 | (ada_find_printable_frame, ada_unhandled_exception_name_addr) | |
10188 | (ada_exception_name_addr_1, ada_exception_name_addr) | |
10189 | (print_it_exception, print_one_exception, print_mention_exception) | |
10190 | (print_it_catch_exception, print_one_catch_exception) | |
10191 | (print_mention_catch_exception, catch_exception_breakpoint_ops) | |
10192 | (print_it_catch_exception_unhandled) | |
10193 | (print_one_catch_exception_unhandled) | |
10194 | (print_mention_catch_exception_unhandled, print_it_catch_assert) | |
10195 | (print_one_catch_assert, print_mention_catch_assert) | |
10196 | (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found) | |
10197 | (ada_get_next_arg, catch_ada_exception_command_split) | |
10198 | (ada_exception_sym_name, ada_exception_sym_name) | |
10199 | (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string) | |
10200 | (ada_parse_catchpoint_condition, ada_exception_sal) | |
10201 | (ada_decode_exception_location) | |
10202 | (ada_decode_assert_location): New function. | |
10203 | (catch_exception_unhandled_breakpoint_ops): New global variable. | |
10204 | (catch_assert_breakpoint_ops): New global variable. | |
10205 | * breakpoint.c: Add include of ada-lang.h. | |
10206 | (print_one_breakpoint): Do not print the condition for Ada | |
10207 | exception catchpoints. | |
10208 | (create_ada_exception_breakpoint): New function. | |
10209 | (catch_ada_exception_command, catch_assert_command): New function. | |
10210 | (catch_command_1): Add support for the new "catch exception" and | |
10211 | "catch assert" commands. | |
10212 | (_initialize_breakpoint): Add help description for the new catch | |
10213 | commands. | |
10214 | * Makefile.in (ada-lang.o): Add dependency on annotate.h and | |
10215 | valprint.h. | |
10216 | (breakpoint.o): Add dependency on ada-lang.h. | |
10217 | ||
05cfdb42 DJ |
10218 | 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt> |
10219 | ||
10220 | * coffread.c (cs_to_section): If bfd_section is found, always | |
10221 | return its section index. | |
10222 | (coff_symtab_read): Determine the minimal_symbol_type using the | |
10223 | bfd_section flags. | |
10224 | ||
2e03ee74 DJ |
10225 | 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
10226 | Daniel Jacobowitz <dan@codesourcery.com> | |
10227 | ||
10228 | * Makefile.in (top.o): Update. | |
10229 | * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result) | |
10230 | (saved_after_char_processing_hook, gdb_readline_wrapper_line) | |
10231 | (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup): | |
10232 | New. | |
10233 | (gdb_readline_wrapper): Rewrite to use asynchronous readline. | |
10234 | ||
1c63d086 MK |
10235 | 2007-01-03 Mark Kettenis <kettenis@gnu.org> |
10236 | ||
10237 | * arm-linux-tdep.c (arm_linux_extract_return_value): Remove. | |
10238 | (arm_linux_init_abi): Don't set deprecated_extract_return_value. | |
10239 | ||
d5d6fca5 DJ |
10240 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
10241 | ||
10242 | * ada-lang.c (find_struct_field): Initialize *byte_offset_p. | |
10243 | * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i. | |
10244 | * c-typeprint.c (c_type_print_varspec_suffix): Don't test length | |
10245 | greater than or equal to zero. | |
10246 | * m2-typeprint.c (m2_array): Likewise. | |
10247 | * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise. | |
10248 | * gdbtypes.c (copy_type_recursive): Correct == typo. | |
10249 | * i386-tdep.c (i386_skip_prologue): Remove stray semicolon. | |
10250 | * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer | |
10251 | greater than zero. | |
10252 | * macroscope.c (sal_macro_scope): Don't name a local variable "main". | |
10253 | (default_macro_scope): Remove unused variable. | |
10254 | * prologue-value.h (pv_area_find_reg): Don't name an argument | |
10255 | "register". | |
10256 | * remote-fileio.c (remote_fio_func_map): Add missing braces. | |
10257 | * remote.c (sigint_remote_twice_token, sigint_remote_token): Change | |
10258 | type. | |
10259 | (cleanup_sigint_signal_handler): Remove casts. | |
10260 | * valprint.c (val_print): Use a volatile local for the modified | |
10261 | argument. | |
10262 | * varobj.c (languages): Remove extra array dimension. | |
10263 | (varobj_create): Correct access to languages array. | |
10264 | * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add | |
10265 | missing braces. | |
10266 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise. | |
10267 | * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise. | |
10268 | * mi/mi-getopt.c (mi_valid_noargs): Likewise. | |
10269 | * mi/mi-main.c (mi_cmd_data_read_memory): Likewise. | |
10270 | (mi_cmd_data_write_memory): Likewise. | |
10271 | * signals/signals.c (target_signal_to_string): Cast to int before | |
10272 | comparing. | |
10273 | * tui/tui-layout.c (init_and_make_win): Take and return a void *. | |
10274 | Update all callers. | |
10275 | ||
0d5de010 DJ |
10276 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
10277 | ||
10278 | * NEWS: Mention pointer to member improvements. | |
10279 | * Makefile.in (gnu-v3-abi.o): Delete special rule. | |
10280 | (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update. | |
10281 | * ada-valprint.c (ada_print_scalar): Update for new type codes. | |
10282 | * c-typeprint.c (c_print_type): Update for new type codes. | |
10283 | (c_type_print_varspec_prefix, c_type_print_varspec_suffix) | |
10284 | (c_type_print_base): Likewise. | |
10285 | (c_type_print_args): Rewrite. | |
10286 | * c-valprint.c (c_val_print): Update for new type codes. Remove | |
10287 | support for references to members. Treat methods like functions. | |
10288 | * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size) | |
10289 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New. | |
10290 | * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size) | |
10291 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes. | |
10292 | (struct cp_abi_ops): Add corresponding members. | |
10293 | * cp-valprint.c (cp_print_class_method): Delete. | |
10294 | (cp_find_class_member): New function. | |
10295 | (cp_print_class_member): Use it. Simplify support for bogus | |
10296 | member pointers. | |
10297 | * dwarf2read.c (quirk_gcc_member_function_pointer): Use | |
10298 | lookup_methodptr_type. | |
10299 | (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type. | |
10300 | * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for | |
10301 | OP_SCOPE. Update call to value_aggregate_elt. Rewrite member | |
10302 | pointer support. | |
10303 | (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle | |
10304 | references returned by user defined operators. | |
10305 | * f-typeprint.c (f_print_type, f_type_print_varspec_prefix) | |
10306 | (f_type_print_varspec_suffix): Remove support for member pointers. | |
10307 | * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type | |
10308 | and adjusted. | |
10309 | (smash_to_memberptr_type): Likewise, from smash_to_member_type. | |
10310 | (lookup_methodptr_type): New. | |
10311 | (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR. | |
10312 | (recursive_dump_type): Update for new types. | |
10313 | * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with | |
10314 | TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR. | |
10315 | (lookup_memberptr_type, lookup_methodptr_type) | |
10316 | (smash_to_memberptr_type): New prototypes. | |
10317 | (smash_to_method_type): Formatting fix. | |
10318 | (lookup_member_type, smash_to_member_type): Delete prototypes. | |
10319 | * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New. | |
10320 | Do not rely on debug information for the vptr or the method's | |
10321 | enclosing type. Handle function descriptors for IA64. | |
10322 | (gnuv3_virtual_fn_field): Rewrite using the new functions. | |
10323 | (gnuv3_find_method_in, gnuv3_print_method_ptr) | |
10324 | (gnuv3_method_ptr_size, gnuv3_make_method_ptr) | |
10325 | (gnuv3_method_ptr_to_value): New. | |
10326 | (init_gnuv3_ops): Set new members of gnu_v3_abi_ops. | |
10327 | * hpread.c (hpread_type_lookup): Update for new types. | |
10328 | * infcall.c (value_arg_coerce): Likewise. | |
10329 | * m2-typeprint.c (m2_print_type): Remove explicit support | |
10330 | for member pointers. | |
10331 | * m2-valprint.c (m2_val_print): Likewise. | |
10332 | * p-typeprint.c (pascal_type_print_varspec_prefix) | |
10333 | (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise. | |
10334 | * p-valprint.c (pascal_val_print): Likewise. | |
10335 | (pascal_object_print_class_method, pascal_object_print_class_member): | |
10336 | Delete. | |
10337 | * p-lang.h (pascal_object_print_class_method) | |
10338 | (pascal_object_print_class_member): Delete prototypes. | |
10339 | * stabsread.c (read_type): Update for new types. | |
10340 | * typeprint.c (print_type_scalar): Likewise. | |
10341 | * valops.c (value_struct_elt_for_reference, value_namespace_elt) | |
10342 | (value_maybe_namespace_elt, value_aggregate_elt): Add want_address | |
10343 | argument. Construct a pointer to member if the address of a | |
10344 | function or data member is requested. | |
10345 | (value_cast_pointers): Don't modify the input value. | |
10346 | (value_cast): Adjust pointer to member handling for new types. | |
10347 | Allow null pointer to member constants. Don't modify the input | |
10348 | value. | |
10349 | (value_ind): Remove pointer to member check. Handle function | |
10350 | descriptors for function pointers. | |
10351 | (value_struct_elt, value_find_oload_method_list, check_field): | |
10352 | Remove pointer to member checks. | |
10353 | * value.c (unpack_long): Allow pointers to data members. | |
10354 | (value_from_longest): Allow member pointers. | |
10355 | * value.h (value_aggregate_elt): Add want_address. | |
10356 | * varobj.c (c_variable_editable): Remove check for members. | |
10357 | * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta. | |
10358 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors | |
10359 | in virtual tables. | |
10360 | (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors. | |
10361 | * c-lang.h (cp_print_class_method): Delete prototype. | |
10362 | * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta. | |
10363 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
10364 | * gdbarch.c, gdbarch.h: Regenerated. | |
10365 | ||
d217aaed MK |
10366 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
10367 | ||
10368 | * rs6000-tdep.c (rs6000_use_struct_convention) | |
10369 | (rs6000_extract_return_value, rs6000_store_return_value) | |
10370 | (rs6000_extract_struct_value_address): Remove. | |
10371 | (rs6000_return_value): New function. | |
10372 | (rs6000_gdbarch_init): Don't set deprecated_extract_return_value, | |
10373 | store_return_value, deprecated_extract_struct_value_address and | |
10374 | deprecated_use_struct_convention. Use rs6000_return_value | |
10375 | instead. | |
10376 | ||
02296b29 NR |
10377 | 2007-01-02 Nick Roberts <nickrob@snap.net.nz> |
10378 | ||
10379 | * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete, | |
10380 | -display-disable, -display-enable, -display-insert and | |
10381 | -display-list. | |
10382 | ||
b69733ab | 10383 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
ce186b30 JB |
10384 | |
10385 | * breakpoint.c (remove_breakpoint): Remove dead code. | |
10386 | ||
10387 | 2007-01-01 Nick Roberts <nickrob@snap.net.nz> | |
ab9245ed NR |
10388 | |
10389 | * varobj.c: Include block.h. | |
10390 | (c_value_of_root): Check scope within nested statements. | |
10391 | ||
9f3a1602 MK |
10392 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
10393 | ||
10394 | * mi/mi-main.c (mi_cmd_data_write_register_values): Use | |
10395 | regcache_cooked_write_signed instead of | |
10396 | deprecated_write_register_bytes. | |
10397 | ||
12349ccd JB |
10398 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
10399 | ||
10400 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006. | |
10401 | ||
8c48ebcf JB |
10402 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
10403 | ||
10404 | Followed the Start of New Year Procedure: | |
10405 | * ChangeLog-2006: New file, containing all the entries for 2006. | |
10406 | * ChangeLog: Removed all 2006 entries, and changed the reference | |
10407 | to the previous ChangeLog to point to ChangeLog 2006. | |
10408 | * top.c (print_gdb_version): Update copyright year. | |
10409 | ||
154927ff MK |
10410 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
10411 | ||
10412 | * Makefile.in (remote-sds.o): Remove. | |
10413 | * remote-sds.c: Delete. | |
10414 | ||
8c48ebcf | 10415 | For older changes see ChangeLog-2006. |
c906108c SS |
10416 | \f |
10417 | Local Variables: | |
10418 | mode: change-log | |
10419 | left-margin: 8 | |
10420 | fill-column: 74 | |
10421 | version-control: never | |
57da7796 | 10422 | coding: utf-8 |
c906108c | 10423 | End: |