Commit | Line | Data |
---|---|---|
2fff4d11 JB |
1 | 2007-12-06 Jim Blandy <jimb@codesourcery.com> |
2 | ||
3 | * addrmap.c, addrmap.h: Update to GPLv3. | |
4 | ||
5 | * addrmap.c (struct addrmap): Make the referenced function table | |
6 | const. | |
7 | (addrmap_fixed_funcs, addrmap_mutable_funcs): Declare const. | |
8 | Don't use designated initializers. | |
9 | ||
10 | * addrmap.c (addrmap_fixed_create_fixed, addrmap_mutable_find) | |
11 | (addrmap_mutable_relocate): Use internal_error, not abort. | |
10665d76 JB |
12 | |
13 | * NEWS: Mention support for non-contiguous lexical blocks and | |
14 | function bodies. | |
15 | ||
d3f73121 MD |
16 | 2007-12-06 Markus Deuling <deuling@de.ibm.com> |
17 | ||
18 | * gdbarch.sh (stab_reg_to_regnum, dwarf_reg_to_regnum) | |
19 | ( dwarf2_reg_to_regnum, sdb_reg_to_regnum, ecoff_reg_to_regnum): Add | |
20 | gdbarch as parameter. | |
21 | * gdbarch.{c,h}: Regenerate. | |
22 | ||
23 | * xtensa-tdep.c (xtensa_reg_to_regnum): Add gdbarch as parameter. | |
24 | Replace current_gdbarch by gdbarch. | |
25 | * s390-tdep.c (s390_dwarf_reg_to_regnum): Likewise. | |
26 | * rs6000-tdep.c (rs6000_stab_reg_to_regnum) | |
27 | (rs6000_dwarf2_reg_to_regnum): Likewise. | |
28 | * mips-tdep.c (mips_stab_reg_to_regnum) | |
29 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum): Likewise. | |
30 | * mep-tdep.c (mep_debug_reg_to_regnum): Likewise. | |
31 | * m32c-tdep.c (m32c_debug_info_reg_to_regnum): Likewise. | |
32 | * i386-tdep.c (i386_dbx_reg_to_regnum) | |
33 | (i386_svr4_reg_to_regnum): Likewise | |
34 | * h8300-tdep.c (h8300s_dbg_reg_to_regnum) | |
35 | (h8300_dbg_reg_to_regnum): Likewise. | |
36 | * amd64-tdep.c (amd64_dwarf_reg_to_regnum): Likewise. | |
37 | * arch-utils.c (no_op_reg_to_regnum): Likewise. | |
38 | * arch-utils.h (no_op_reg_to_regnum): Likewise. | |
39 | * arm-tdep.c (arm_dwarf_reg_to_regnum): Likewise. | |
40 | * cris-tdep.c (cris_dwarf2_reg_to_regnum): Likewise. | |
41 | * hppa-tdep.c (hppa64_dwarf_reg_to_regnum): Likewise. | |
42 | * ia64-tdep.c (ia64_dwarf_reg_to_regnum): Likewise. | |
43 | * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise. | |
44 | ||
ca67fcb8 | 45 | 2007-12-06 Vladimir Prus <vladimir@codesourcery.com> |
45e8c884 VP |
46 | |
47 | Localize infrun use of remove_breakpoints. | |
48 | * infrun.c (handle_inferior_event): Remove | |
49 | calls to remove_breakpoints, except where needed to | |
50 | communicate change of breakpoint locations to inferior. | |
51 | (keep_going): If steppping over breakpoint, remove | |
52 | breakpoints. | |
53 | ||
54 | 2007-12-06 Vladimir Prus <vladimir@codesourcery.com> | |
ca67fcb8 VP |
55 | |
56 | Clarify infrun variable naming. | |
57 | * infrun.c (trap_expected): Rename | |
58 | to stepping_over_breakpoint. Document. | |
59 | (stepping_past_breakpoint): Remove. | |
60 | (stepping_past_breakpoint_ptdi): Renamed | |
61 | to deferred_step_ptid. | |
62 | (struct execution_control_state): Rename | |
63 | the another_trap field to stepping_over_breakpoint. | |
64 | (struct inferior_status): Rename the trap_expected | |
65 | field to stepping_over_breakpoint. | |
66 | (clear_proceed_status, proceed) | |
67 | (init_execution_control_state, context_switch) | |
68 | (handle_inferior_event, currently_stepping) | |
69 | (keep_going, save_inferior_status) | |
70 | (restore_inferior_status, prepare_to_proceed): Adjust. | |
71 | * gdbthread.h (struct thread_info): Rename the | |
72 | trap_expected field to stepping_over_breakpoint. | |
73 | * thread.c (load_infrun_state, save_infrun_state): | |
74 | Adjust. | |
75 | ||
2c647436 PM |
76 | 2007-12-06 Pierre Muller <muller@ics.u-strasbg.fr> |
77 | ||
78 | * win32-nat.c: Allow compilation if CORE_ADDR is 8 byte long. | |
79 | Add "gdb_stdint.h" dependency required for uintptr_t type use. | |
80 | (handle_output_debug_string): Use uintptr_t typecast. | |
81 | (handle_exception): Ditto. | |
82 | (win32_xfer_memory): Ditto. | |
83 | * Makefile.in (win32-nat.o): Add dependency to gdb_stdint header. | |
84 | ||
801e3a5b JB |
85 | 2007-12-04 Jim Blandy <jimb@codesourcery.com> |
86 | ||
87 | Support lexical blocks and function bodies that occupy | |
88 | non-contiguous address ranges. | |
89 | * addrmap.c, addrmap.h: New files. | |
90 | * block.h (struct addrmap): New forward declaration. | |
91 | (struct blockvector): New member, 'map'. | |
92 | (BLOCKVECTOR_MAP): New accessor macro. | |
93 | * block.c: #include "addrmap.h" | |
94 | (blockvector_for_pc_sect): If the blockvector we've found has | |
95 | an address map, use it instead of searching the blocks. | |
96 | * buildsym.c: #include "addrmap.h" | |
97 | (pending_addrmap_obstack, pending_addrmap_interesting): New static | |
98 | variables. | |
99 | (really_free_pendings): If we have a pending addrmap, free it too. | |
100 | (record_block_range): New function. | |
101 | (make_blockvector): If we have an interesting pending addrmap, | |
102 | record it in the new blockvector. | |
103 | (start_symtab, buildsym_init): Assert that there is no pending | |
104 | addrmap now; we should have cleaned up any addrmaps we'd built | |
105 | previously. | |
106 | (end_symtab): If there is a pending addrmap left over that didn't | |
107 | get included in the blockvector, free it. | |
108 | * buildsym.h (struct addrmap): New forward declaration. | |
109 | (record_block_range): New prototype. | |
110 | * objfiles.c: #include "addrmap.h". | |
111 | (objfile_relocate): Relocate the blockvector's address map, if | |
112 | present. | |
113 | * dwarf2read.c (dwarf2_record_block_ranges): New function. | |
114 | (read_func_scope, read_lexical_block_scope): Call it. | |
115 | * Makefile.in (SFILES): Add addrmap.c. | |
116 | (addrmap_h): New header dependency variable. | |
117 | (COMMON_OBS): Add addrmap.o. | |
118 | (addrmap.o): New rule.l | |
119 | (block.o, objfiles.o, buildsym.o): Depend on $(addrmap_h). | |
120 | ||
121 | * block.c (blockvector_for_pc, blockvector_for_pc_sect): Return a | |
122 | pointer to the block, not its index in the blockvector. | |
123 | (block_for_pc_sect): Use the returned block, instead of looking it | |
124 | up ourselves. | |
125 | * block.h (blockvector_for_pc, blockvector_for_pc_sect): Update | |
126 | declarations. | |
127 | * breakpoint.c (resolve_sal_pc): Use returned block, instead of | |
128 | looking it up ourselves. | |
129 | * stack.c (print_frame_label_vars): Disable function, which | |
130 | depends on the block's index. | |
131 | ||
132 | * buildsym.c (finish_block): Return the block we've built. | |
133 | * buildsym.h (finish_block): Update prototype. | |
134 | ||
135 | * defs.h (CORE_ADDR_MAX): New constant. | |
136 | ||
6ccb9162 UW |
137 | 2007-12-04 Ulrich Weigand <uweigand@de.ibm.com> |
138 | ||
139 | * coffread.c (decode_type): Use builtin_type_int32 instead | |
140 | of FT_INTEGER fundamental type for array range index type. | |
141 | (decode_base_type): Use builtin types of current_gdbarch | |
142 | instead of fundamental types. | |
143 | ||
144 | * dwarf2read.c (struct dwarf2_cu): Remove ftypes member. | |
145 | (read_file_scope): Do not initialize ftypes member. | |
146 | (dwarf_base_type, dwarf2_fundamental_types): Remove functions. | |
147 | (read_array_type): Use builtin_type_int32 instead of FT_INTEGER | |
148 | fundamental type for array range index type. | |
149 | (read_tag_string_type): Likewise for string range index type. | |
150 | Also, do not overwrite FT_CHAR type with new string type. | |
151 | (read_base_type): If DW_AT_name is missing, create unnamed type | |
152 | with given properties instead of looking for a fundamental type. | |
153 | Create new types as TYPE_TARGET_TYPE for DW_ATE_address and | |
154 | DW_ATE_complex_float types. | |
155 | (read_subrange_type): Create new type to represent missing | |
156 | DW_AT_type instead of looking for a fundamental type. | |
157 | (die_type): Use builtin type to represent "void" instead of | |
158 | looking for a fundamental type. | |
159 | ||
160 | * stabsread.c (define_symbol): Use builtin types to represent | |
161 | 'r' and 'i' floating-point and integer constants. | |
162 | ||
163 | * gdbtypes.c (lookup_fundamental_type): Remove. | |
164 | * gdbtypes.h (lookup_fundamental_type): Remove prototype. | |
165 | (FT_VOID, FT_BOOLEAN, FT_CHAR, FT_SIGNED_CHAR, FT_UNSIGNED_CHAR, | |
166 | FT_SHORT, FT_SIGNED_SHORT, FT_UNSIGNED_SHORT, FT_INTEGER, | |
167 | FT_SIGNED_INTEGER, FT_UNSIGNED_INTEGER, FT_LONG, FT_SIGNED_LONG, | |
168 | FT_UNSIGNED_LONG, FT_LONG_LONG, FT_SIGNED_LONG_LONG, | |
169 | FT_UNSIGNED_LONG_LONG, FT_FLOAT, FT_DBL_PREC_FLOAT, FT_EXT_PREC_FLOAT, | |
170 | FT_COMPLEX, FT_DBL_PREC_COMPLEX, FT_EXT_PREC_COMPLEX, FT_STRING, | |
171 | FT_FIXED_DECIMAL, FT_FLOAT_DECIMAL, FT_BYTE, FT_UNSIGNED_BYTE, | |
172 | FT_TEMPLATE_ARG, FT_DECFLOAT, FT_DBL_PREC_DECFLOAT, | |
173 | FT_EXT_PREC_DECFLOAT, FT_NUM_MEMBERS): Remove macros. | |
174 | * objfiles.c (struct objfile): Remove fundamental_types member. | |
175 | * symfile.c (reread_symbols): Do not clear fundamental_types. | |
176 | ||
177 | * language.h (struct language_defn): Remove la_fund_type member. | |
178 | (create_fundamental_type): Remove. | |
179 | * language.c (unk_lang_create_fundamental_type): Remove. | |
180 | (unknown_language_defn, auto_language_defn, | |
181 | local_language_defn): Adapt initializer. | |
182 | * ada-lang.c (ada_create_fundamental_type): Remove. | |
183 | (ada_language_defn): Adapt initializer. | |
184 | * c-lang.h (c_create_fundamental_type): Remove prototype. | |
185 | * c-lang.c (c_create_fundamental_type): Remove. | |
186 | (c_language_defn, cplus_language_defn, asm_language_defn, | |
187 | minimal_language_defn): Adapt initializer. | |
188 | * f-lang.c (f_create_fundamental_type): Remove. | |
189 | (f_language_defn): Adapt initializer. | |
190 | * jv-lang.c (java_create_fundamental_type): Remove. | |
191 | (java_language_defn): Adapt initializer. | |
192 | * m2-lang.c (m2_create_fundamental_type): Remove. | |
193 | (m2_language_defn): Adapt initializer. | |
194 | * objc-lang.c (objc_create_fundamental_type): Remove. | |
195 | (objc_language_defn): Adapt initializer. | |
196 | * p-lang.h (pascal_create_fundamental_type): Remove prototype. | |
197 | * p-lang.c (pascal_create_fundamental_type): Remove. | |
198 | (pascal_language_defn): Adapt initializer. | |
199 | * scm-lang.c (scm_language_defn): Adapt initializer. | |
200 | ||
3966e190 MR |
201 | 2007-12-04 Maciej W. Rozycki <macro@mips.com> |
202 | ||
203 | * features/mips-cpu.xml: Specify "regnum" for "r0" explicitly. | |
204 | * features/mips64-cpu.xml: Likewise. | |
205 | * features/mips-fpu.xml: Specify "regnum" for "f0" explicitly. | |
206 | * features/mips64-fpu.xml: Likewise. | |
207 | * features/mips-linux.c: Regenerate. | |
208 | * features/mips64-linux.c: Regenerate. | |
209 | ||
4becf47c MR |
210 | 2007-12-04 Maciej W. Rozycki <macro@mips.com> |
211 | ||
212 | * target.h (target_find_new_threads): Fix definition. | |
213 | ||
bf25528d CF |
214 | 2007-12-02 Pierre Muller <muller@ics.u-strasbg.fr> |
215 | ||
677d7bec PM |
216 | * win32-nat.c (win32_resume): Set the trace bit |
217 | in the thread identified by inferior_ptid. | |
218 | ||
219 | ||
220 | 2007-12-02 Pierre Muller <muller@ics.u-strasbg.fr> | |
221 | ||
222 | * win32-nat.c (open_process_used): New static variable. | |
bf25528d CF |
223 | (win32_init_thread_list): Remove call to CloseHandle for thread. |
224 | (win32_delete_thread): Ditto. | |
225 | (fake_create_process): Set open_process_used if OpenProcess call is | |
226 | successful. | |
227 | (get_win32_debug_event): Do not close process handle. | |
228 | (do_initial_win32_stuff): Set open_process_used to zero. | |
229 | (win32_mourn_inferior): Call CloseHandle for current_process_handle if | |
230 | open_process_used is set. | |
231 | (win32_kill_inferior): Do not close process and main_thread handles. | |
232 | ||
a6b151f1 DJ |
233 | 2007-11-30 Daniel Jacobowitz <dan@codesourcery.com> |
234 | ||
235 | * remote.c (remote_cmdlist): New variable. | |
236 | (PACKET_vFile_open, PACKET_vFile_pread, PACKET_vFile_pwrite) | |
237 | (PACKET_vFile_close, PACKET_vFile_unlink): New constants. | |
238 | (remote_buffer_add_string, remote_buffer_add_bytes) | |
239 | (remote_buffer_add_int, remote_hostio_parse_result) | |
240 | (remote_hostio_send_command, remote_hostio_open, remote_hostio_pwrite) | |
241 | (remote_hostio_pread, remote_hostio_close, remote_hostio_unlink) | |
242 | (remote_fileio_errno_to_host, remote_hostio_error, fclose_cleanup) | |
243 | (remote_hostio_close_cleanup, remote_file_put, remote_file_get) | |
244 | (remote_file_delete, remote_put_command, remote_get_command) | |
245 | (remote_delete_command, remote_command): New functions. | |
246 | (_initialize_remote): Register new packets and commands. | |
247 | * Makefile.in (gdb_fileio_h): New variable. | |
248 | (remote.o): Update. | |
249 | (SUBDIR_MI_OBS): Add mi-cmd-target.o. | |
250 | (SUBDIR_MI_SRCS): Add mi/mi-cmd-target.c. | |
251 | (mi-cmd-target.o): New rule. | |
252 | * mi/mi-cmd-target.c: New file. | |
253 | * mi/mi-cmds.c (mi_cmds): Add target-file-delete, target-file-get, | |
254 | and target-file-put. | |
255 | * mi/mi-cmds.h (mi_cmd_target_file_get, mi_cmd_target_file_put) | |
256 | (mi_cmd_target_file_delete): Declare. | |
257 | * remote.h (remote_file_put, remote_file_get, remote_file_delete): | |
258 | Declare. | |
259 | * NEWS: Describe new file transfer support. | |
260 | ||
fba57f8f VP |
261 | 2007-11-30 Vladimir Prus <vladimir@codesourcery.com> |
262 | ||
263 | * infrun.c (handle_inferior_event): Don't | |
264 | ignore beakpoints if trap_expected is set. | |
265 | ||
e236ba44 VP |
266 | 2007-11-30 Vladimir Prus <vladimir@codesourcery.com> |
267 | ||
268 | Make insert_breakpoints return void. | |
269 | * breakpoint.h (insert_breakpoints): Change | |
270 | return type to void. | |
271 | * breakpoint.c (insert_breakpoints): Change | |
272 | return type to void. Rename local return_val | |
273 | variable to error. | |
274 | * infrun.c (keep_going): Instead of checking | |
275 | return value from insert_breakpoints, catch exception. | |
276 | ||
c36b740a VP |
277 | 2007-11-29 Vladimir Prus <vladimir@codesourcery.com> |
278 | ||
279 | Stop infrun from tracking breakpoint insertion status. | |
280 | ||
281 | The checks of breakpoints_inserted before calling | |
282 | remove_breakpoints are removed, as remove_breakpoint | |
283 | won't touch uninserted breakpoints. In a number of places, | |
284 | we're interested if a breakpoint is inserted at particular | |
285 | PC, and we now use breakpoint_inserted_here_p. In a few | |
286 | places, insert_breakpoints can be called unconditionally, | |
287 | since it won't try to insert already inserted breakpoint. | |
288 | ||
289 | * breakpoint.h (regular_breakpoint_inserted_here_p): New | |
290 | declaration. | |
291 | * breakpoint.c (regular_breakpoint_inserted_here_p): New. | |
292 | (breakpoint_inserted_here_p): Use | |
293 | regular_breakpoint_inserted_here_p. | |
294 | * infrun.c (breakpoints_inserted): Remove. | |
295 | (resume): Don't check for breakpoints_inserted before | |
296 | remove_hw_watchpoints. Use breakpoint_inserted_here_p. | |
297 | (proceed, init_wait_for_inferior): Don't set breakpoints_inserted. | |
298 | (handle_inferior_event): Don't use breakpoints_inserted. | |
299 | Use breakpoints_meant_to_be_inserted and | |
300 | breakpoints_inserted_here_p. | |
301 | (insert_step_resume_breakpoint_at_sal, keep_going): Use | |
302 | breakpoints_meant_to_be_inserted. Don't set breakpoints_inserted. | |
303 | (normal_stop): Don't check for breakpoints_inserted. Don't | |
304 | set breakpoints_inserted. | |
305 | (keep_going): Don't check for breakpoints_inserted. | |
306 | (insert_step_resume_breakpoint_at_sal): Don't insert | |
307 | breakpoints | |
308 | ||
35a487f1 JB |
309 | 2007-11-28 Jim Blandy <jimb@codesourcery.com> |
310 | ||
311 | * breakpoint.c (watch_command_1): When the watchpoint isn't local | |
312 | to any frame, initialize watchpoint_frame using null_frame_id, not | |
313 | a memset. | |
314 | ||
e842223a VP |
315 | 2007-11-28 Vladimir Prus <vladimir@codesourcery.com> |
316 | ||
317 | * infrun.c (resume): Set right thread even if | |
318 | stepping over breakpoint using software single step. | |
319 | ||
b21a715f NR |
320 | 2007-11-28 Nick Roberts <nickrob@snap.net.nz> |
321 | ||
322 | * mi/mi-cmd-var.c (print_varobj): Revert change from 2007-08-31. | |
323 | (mi_print_value_p): Guard against type = NULL. | |
324 | ||
a4ae0ca1 TJB |
325 | 2007-11-27 Thiago Jung Bauermann <bauerman@br.ibm.com> |
326 | ||
327 | * dfp.c (decimal_from_string): Remove superfluous newline from | |
328 | error string. | |
329 | (decimal_to_string): Likewise. | |
330 | * printcmd.c (printf_command): Change string buffer to use | |
331 | MAX_DECIMAL_STRING constant. | |
332 | * value.c (value_from_decfloat): Likewise. | |
333 | ||
c0993dbe UW |
334 | 2007-11-27 Ulrich Weigand <uweigand@de.ibm.com> |
335 | ||
336 | * Makefile.in (ALL_TARGET_OBS): Remove object files that require | |
337 | 64-bit CORE_ADDR and BFD support, move them to ... | |
338 | (ALL_64_TARGET_OBS): ... this new variable. | |
339 | * configure.ac: Check for --enable-64-bit-bfd option. Only add | |
340 | 64-bit targets with --enable-targets=all if BFD supports 64-bit. | |
341 | * configure: Regenerate. | |
342 | ||
343 | * i386-cygwin-tdep.c (i386_cygwin_osabi_sniffer): Do not claim | |
344 | all elf32-i386 executables, only cygwin core files. | |
345 | ||
43039443 JK |
346 | 2007-11-25 Jan Kratochvil <jan.kratochvil@redhat.com> |
347 | ||
348 | * dwarf2read.c (dwarf2_get_pc_bounds): Moved the `DW_AT_ranges' parsing | |
349 | code with its variables OBJFILE, CU_HEADER and OBFD into ... | |
350 | (dwarf2_ranges_read): ... a new function. | |
351 | (read_partial_die): Implemented the parsing of `DW_AT_ranges'. | |
352 | ||
6537bb24 PA |
353 | 2007-11-24 Pedro Alves <pedro_alves@portugalmail.pt> |
354 | ||
355 | * win32-nat.c (DR6_CLEAR_VALUE): New define. | |
356 | (thread_info_struct): Rename suspend_count to suspended, to be | |
357 | used as a flag. | |
358 | (thread_rec): Only suspend the thread if it wasn't suspended by | |
359 | gdb before. Warn if suspending failed. | |
360 | (win32_add_thread): Set Dr6 to DR6_CLEAR_VALUE. | |
361 | (win32_continue): Set Dr6 to DR6_CLEAR_VALUE. Update usage of the | |
362 | `suspended' flag. Do ContinueDebugEvent after resuming the | |
363 | suspended threads, not before. Set threads' contexts before | |
364 | resuming them, not after. | |
365 | (win32_resume): Set Dr6 to DR6_CLEAR_VALUE. | |
366 | ||
a0cf7492 VP |
367 | 2007-11-23 Vladimir Prus <vladimir@codesourcery.com> |
368 | ||
369 | * breakpoint.c (insert_breakpoints) | |
370 | (insert_bp_location): Remove stale comments. | |
371 | ||
dc29a156 MR |
372 | 2007-11-23 Maciej W. Rozycki <macro@mips.com> |
373 | ||
374 | * mips-linux-tdep.h: Fix some formatting. | |
375 | ||
12368003 MD |
376 | 2007-11-21 Markus Deuling <deuling@de.ibm.com> |
377 | ||
378 | * stack.c (print_args_stub): Use get_frame_arch to get at the current | |
379 | architecture and replace current_gdbarch. | |
380 | (frame_info): Likewise. | |
381 | ||
4b817f9f NR |
382 | 2007-11-21 Nick Roberts <nickrob@snap.net.nz> |
383 | ||
384 | * varobj.c (c_variable_editable, cplus_variable_editable) | |
385 | (java_variable_editable, variable_editable): Delete. | |
386 | (varobj_editable_p): Replace above functions with one language | |
387 | independent function. Check for an lvalue. | |
388 | (varobj_get_attributes, varobj_set_value): Use varobj_editable_p. | |
389 | (struct language_specific): Delete variable_editable field. | |
390 | ||
391 | * mi-cmd-var.c (mi_cmd_var_assign): Simplify. | |
392 | ||
a5897e1e | 393 | * varobj.h: Add extern for varobj_editable_p. |
4b817f9f | 394 | |
568fff39 VP |
395 | 2007-11-20 Vladimir Prus <vladimir@codesourcery.com> |
396 | ||
397 | Remove unused breakpoint fields. | |
398 | * breakpoint.h (struct breakpoint): Remove | |
399 | from_tty and flag fields. | |
400 | * breakpoint.c (break_command_1): Don't set | |
401 | from_tty and flag field set of breakpoint. | |
402 | (create_ada_exception_breakpoint): Don't set | |
403 | the from_tty field. | |
404 | ||
2207132d MR |
405 | 2007-11-20 David Ung <davidu@mips.com> |
406 | Maciej W. Rozycki <macro@mips.com> | |
407 | ||
408 | * mips-tdep.c (mips16_scan_prologue): Handle the MIPS16e SAVE | |
409 | instruction. | |
410 | ||
cd76b0b7 VP |
411 | 2007-11-20 Vladimir Prus <vladimir@codesourcery.com> |
412 | ||
413 | * infrun.c (resume): Clarify logic that | |
414 | decides if a single thread must be resumed. Add | |
415 | comments. | |
416 | ||
75149521 VP |
417 | 2007-11-20 Vladimir Prus <vladimir@codesourcery.com> |
418 | ||
419 | * breakpoint.c (disable_breakpoints_in_unloaded_shlib): | |
420 | Make static. | |
421 | ||
e7faf938 MD |
422 | 2007-11-19 Markus Deuling <deuling@de.ibm.com> |
423 | ||
424 | * gdbarch.sh (register_sim_regno): Add gdbarch as parameter. | |
425 | * gdbarch.{c,h}: Regenerate. | |
426 | ||
427 | * arch-utils.h (legacy_register_sim_regno): Add gdbarch as parameter. | |
428 | * score-tdep.c (score_register_sim_regno): Likewise. | |
429 | * sim-regno.h (one2one_register_sim_regno): Likewise. | |
430 | ||
431 | * arch-utils.c (legacy_register_sim_regno): Add gdbarch as parameter. | |
432 | Replace current_gdbarch by gdbarch. | |
433 | * sh-tdep.c (sh_sh2a_register_sim_regno) | |
434 | (sh_dsp_register_sim_regno): Likewise. | |
435 | * rs6000-tdep.c (rs6000_register_sim_regno): Likewise. | |
436 | * mips-tdep.c (mips_register_sim_regno): Likewise. | |
437 | * m32c-tdep.c (m32c_register_sim_regno): Likewise. | |
438 | * frv-tdep.c (frv_register_sim_regno): Likewise. | |
439 | * arm-tdep.c (arm_register_sim_regno): Likewise. | |
440 | * remote-sim.c (one2one_register_sim_regno): Likewise. | |
441 | ||
d0c678e6 UW |
442 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
443 | ||
444 | * configure.ac (--enable-targets): New configure option. | |
445 | Collect gdb_target_obs of multiple targets into TARGET_OBS. | |
446 | Call configure.tgt multiple times, using $targ as operand. | |
447 | * configure.tgt: Operate on $targ instead of $target. | |
448 | * configure: Regenerate. | |
449 | * Makefile.in (ALL_TARGET_OBS): Define. | |
450 | ||
451 | * NEWS: Mention --enable-targets option. | |
452 | ||
6ca0852e UW |
453 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
454 | ||
455 | * mips-tdep.c (show_mipsfpu_command): Do not crash if called when | |
456 | current architecture is not MIPS. | |
457 | ||
f0704234 UW |
458 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
459 | ||
460 | * cli/cli-setshow.c (do_setshow_command): Use dynamically sized buffer | |
461 | to construct error message if no argument was supplied. | |
462 | ||
c4ec0cc2 UW |
463 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
464 | ||
465 | * i386nbsd-tdep.c (i386nbsd_aout_supply_regset): Remove. | |
466 | (i386nbsd_aout_regset_from_core_section): Likewise. | |
467 | (i386nbsd_aout_init_abi): Likewise. | |
468 | (_initialize_i386nbsd_tdep): Do not register i386nbsd_aout_init_abi. | |
469 | ||
470 | * vaxnbsd-tdep.c (vaxnbsd_aout_init_abi): Remove. | |
471 | (_initialize_vaxnbsd_tdep): Do not register vaxnbsd_aout_init_abi. | |
472 | ||
ec20a626 UW |
473 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
474 | ||
475 | * amd64fsdb-tdep.c (amd64fbsd_sigtramp_start_addr): Use ULL suffix. | |
476 | (amd64fbsd_sigtramp_end_addr): Likewise. | |
477 | ||
478 | * iq2000-tdep.c (iq2000_pointer_to_address): Fix argument type. | |
479 | (iq2000_address_to_pointer): Likewise. | |
480 | (iq2000_frame_prev_register): Likewise. | |
481 | (iq2000_extract_return_value): Use regcache_cooked_read_unsigned | |
482 | instead of regcache_cooked_read into CORE_ADDR variable. | |
483 | (iq2000_return_value): Fix argument types. | |
484 | ||
485 | * m32r-rom.c (m32r_load_section): Fix printf argument type. | |
486 | (m32r_load): Likewise. | |
487 | ||
488 | * m68kbsd-tdep.c: Include "gdbtypes.h". | |
489 | * Makefile.in: Update dependencies. | |
490 | ||
491 | * mn10300-tdep.c (mn10300_frame_unwind_cache): Fix aliasing violation. | |
492 | ||
493 | * nto-tdep.c (LM_ADDR): Do not refer to no-longer-existing | |
494 | lmo->l_addr_size element. | |
495 | ||
496 | * remote-m32r-sdi.c (m32r_xfer_memory): Use paddr to print address. | |
497 | (m32r_insert_breakpoint): Likewise. | |
498 | (m32r_remove_breakpoint): Likewise. | |
499 | (m32r_insert_watchpoint): Likewise. | |
500 | (m32r_remove_watchpoint): Likewise. | |
501 | (m32r_load): Fix printf argument type. | |
502 | ||
503 | * xtensa-tdep.c (xtensa_regset_from_core_section): Fix printf | |
504 | argument type. | |
505 | (xtensa_frame_this_id): Do not cast pointers to "int" for output. | |
506 | (xtensa_frame_prev_register): Likewise. | |
507 | (xtensa_push_dummy_call): Likewise. | |
508 | ||
a4ce5b0d UW |
509 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
510 | ||
511 | * config/alpha/alpha-linux.mt: Remove file. | |
512 | * config/alpha/alpha.mt: Remove file. | |
513 | * config/alpha/alpha-osf1.mt: Remove file. | |
514 | * config/alpha/fbsd.mt: Remove file. | |
515 | * config/alpha/nbsd.mt: Remove file. | |
516 | * config/alpha/obsd.mt: Remove file. | |
517 | * config/arm/embed.mt: Remove file. | |
518 | * config/arm/linux.mt: Remove file. | |
519 | * config/arm/nbsd.mt: Remove file. | |
520 | * config/arm/obsd.mt: Remove file. | |
521 | * config/arm/wince.mt: Remove file. | |
522 | * config/avr/avr.mt: Remove file. | |
523 | * config/cris/cris.mt: Remove file. | |
524 | * config/frv/frv.mt: Remove file. | |
525 | * config/h8300/h8300.mt: Remove file. | |
526 | * config/i386/cygwin.mt: Remove file. | |
527 | * config/i386/fbsd64.mt: Remove file. | |
528 | * config/i386/fbsd.mt: Remove file. | |
529 | * config/i386/i386gnu.mt: Remove file. | |
530 | * config/i386/i386.mt: Remove file. | |
531 | * config/i386/i386sol2.mt: Remove file. | |
532 | * config/i386/linux64.mt: Remove file. | |
533 | * config/i386/linux.mt: Remove file. | |
534 | * config/i386/mingw.mt: Remove file. | |
535 | * config/i386/nbsd64.mt: Remove file. | |
536 | * config/i386/nbsd.mt: Remove file. | |
537 | * config/i386/nto.mt: Remove file. | |
538 | * config/i386/obsd64.mt: Remove file. | |
539 | * config/i386/obsd.mt: Remove file. | |
540 | * config/i386/sol2-64.mt: Remove file. | |
541 | * config/ia64/ia64.mt: Remove file. | |
542 | * config/ia64/linux.mt: Remove file. | |
543 | * config/iq2000/iq2000.mt: Remove file. | |
544 | * config/m32c/m32c.mt: Remove file. | |
545 | * config/m32r/linux.mt: Remove file. | |
546 | * config/m32r/m32r.mt: Remove file. | |
547 | * config/m68hc11/m68hc11.mt: Remove file. | |
548 | * config/m68k/linux.mt: Remove file. | |
549 | * config/m68k/monitor.mt: Remove file. | |
550 | * config/m68k/nbsd.mt: Remove file. | |
551 | * config/m68k/obsd.mt: Remove file. | |
552 | * config/m88k/obsd.mt: Remove file. | |
553 | * config/mep/mep.mt: Remove file. | |
554 | * config/mips/embed.mt: Remove file. | |
555 | * config/mips/irix5.mt: Remove file. | |
556 | * config/mips/irix6.mt: Remove file. | |
557 | * config/mips/linux.mt: Remove file. | |
558 | * config/mips/nbsd.mt: Remove file. | |
559 | * config/mips/obsd64.mt: Remove file. | |
560 | * config/mn10300/linux.mt: Remove file. | |
561 | * config/mn10300/mn10300.mt: Remove file. | |
562 | * config/mt/mt.mt: Remove file. | |
563 | * config/pa/hppahpux.mt: Remove file. | |
564 | * config/pa/hppa.mt: Remove file. | |
565 | * config/pa/linux.mt: Remove file. | |
566 | * config/pa/obsd.mt: Remove file. | |
567 | * config/powerpc/aix.mt: Remove file. | |
568 | * config/powerpc/linux.mt: Remove file. | |
569 | * config/powerpc/nbsd.mt: Remove file. | |
570 | * config/powerpc/obsd.mt: Remove file. | |
571 | * config/powerpc/ppc-eabi.mt: Remove file. | |
572 | * config/s390/s390.mt: Remove file. | |
573 | * config/score/embed.mt: Remove file. | |
574 | * config/sh/embed.mt: Remove file. | |
575 | * config/sh/linux.mt: Remove file. | |
576 | * config/sh/nbsd.mt: Remove file. | |
577 | * config/sh/obsd.mt: Remove file. | |
578 | * config/sh/sh64.mt: Remove file. | |
579 | * config/sparc/embed.mt: Remove file. | |
580 | * config/sparc/fbsd.mt: Remove file. | |
581 | * config/sparc/linux64.mt: Remove file. | |
582 | * config/sparc/linux.mt: Remove file. | |
583 | * config/sparc/nbsd64.mt: Remove file. | |
584 | * config/sparc/nbsd.mt: Remove file. | |
585 | * config/sparc/obsd64.mt: Remove file. | |
586 | * config/sparc/obsd.mt: Remove file. | |
587 | * config/sparc/sol2-64.mt: Remove file. | |
588 | * config/sparc/sol2.mt: Remove file. | |
589 | * config/sparc/sparc64.mt: Remove file. | |
590 | * config/sparc/sparc.mt: Remove file. | |
591 | * config/spu/spu.mt: Remove file. | |
592 | * config/v850/v850.mt: Remove file. | |
593 | * config/vax/nbsd.mt: Remove file. | |
594 | * config/vax/obsd.mt: Remove file. | |
595 | * config/vax/vax.mt: Remove file. | |
596 | * config/xstormy16/xstormy16.mt: Remove file. | |
597 | * config/xtensa/xtensa.mt: Remove file. | |
598 | ||
599 | * configure.tgt (gdb_target_cpu): Remove. Do not set anywhere. | |
600 | (gdb_target): Likewise. | |
601 | (gdb_target_obs): Document. Set for every target to contents | |
602 | of TDEPFILES in former .mt makefile fragment. | |
603 | ||
604 | * configure.ac (TARGET_OBS): Define. | |
605 | (target_makefile_frag, gdb_target_cpu): Do not define. | |
606 | * configure: Regenerate. | |
607 | ||
608 | * Makefile.in (MT_FLAGS): Remove. | |
609 | (GLOBAL_CFLAGS): Update. | |
610 | (TARGET_OBS): Substitute from configure. | |
611 | (DEPFILES): Remove TDEPFILES, add TARGET_OBS. | |
612 | (@target_makefile_frag@): Remove. | |
613 | ||
9b624dbe UW |
614 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
615 | ||
616 | * config/arm/embed.mt (SIM_OBS, SIM): Remove. | |
617 | * config/avr/avr.mt (SIM_OBS, SIM): Remove. | |
618 | * config/frv/frv.mt (SIM_OBS, SIM): Remove. | |
619 | * config/h8300/h8300.mt (SIM_OBS, SIM): Remove. | |
620 | * config/iq2000/iq2000.mt (SIM_OBS, SIM): Remove. | |
621 | * config/m32c/m32c.mt (SIM_OBS, SIM): Remove. | |
622 | * config/m32r/linux.mt (SIM_OBS, SIM): Remove. | |
623 | * config/m32r/m32r.mt (SIM_OBS, SIM): Remove. | |
624 | * config/m68hc11/m68hc11.mt (SIM_OBS, SIM): Remove. | |
625 | * config/mips/embed.mt (SIM_OBS, SIM): Remove. | |
626 | * config/mips/linux.mt (SIM_OBS, SIM): Remove. | |
627 | * config/mips/nbsd.mt (SIM_OBS, SIM): Remove. | |
628 | * config/mn10300/mn10300.mt (SIM_OBS, SIM): Remove. | |
629 | * config/powerpc/linux.mt (SIM_OBS, SIM): Remove. | |
630 | * config/powerpc/nbsd.mt (SIM_OBS, SIM): Remove. | |
631 | * config/powerpc/ppc-sim.mt: Remove file. | |
632 | * config/sh/embed.mt (SIM_OBS, SIM): Remove. | |
633 | * config/sh/linux.mt (SIM_OBS, SIM): Remove. | |
634 | * config/sh/nbsd.mt (SIM_OBS, SIM): Remove. | |
635 | * config/sh/sh64.mt (SIM_OBS, SIM): Remove. | |
636 | * config/sparc/embed.mt (SIM_OBS, SIM): Remove. | |
637 | * config/v850/v850.mt (SIM_OBS, SIM): Remove. | |
638 | * config/xstormy16/xstormy16.mt (SIM_OBS, SIM): Remove. | |
639 | ||
640 | * configure.tgt (gdb_sim): Document variable. | |
641 | (arm*-*-* | thumb*-*-* | strongarm*-*-* | xscale-*-*): Set it. | |
642 | (avr-*-*): Likewise. | |
643 | (frv-*-*): Likewise. | |
644 | (h8300-*-*): Likewise. | |
645 | (iq2000-*-*): Likewise. | |
646 | (m32c-*-*): Likewise. | |
647 | (m32r*-*-linux*): Likewise. | |
648 | (m32r*-*-*): Likewise. | |
649 | (m68hc11*-*-*|m6811*-*-*): Likewise. | |
650 | (mips*-*-*): Likewise. | |
651 | (mips*-*-linux*): Likewise. | |
652 | (mips*-*-netbsd* | mips*-*-knetbsd*-gnu): Likewise. | |
653 | (mn10300-*-*): Likewise. | |
654 | (powerpc-*-linux* | powerpc64-*-linux*): Likewise. | |
655 | (powerpc-*-netbsd* | powerpc-*-knetbsd*-gnu): Likewise. | |
656 | (powerpc*-*-*): Use ppc-eabi target. Conditionally set gdb_sim. | |
657 | (sh*): Set gdb_sim. | |
658 | (sh-*-linux*): Likewise. | |
659 | (sh*-*-netbsdelf* | sh*-*-knetbsd*-gnu): Likewise. | |
660 | (sh64-*-elf*): Likewise. | |
661 | (sparc-*-rtems*): Likewise. | |
662 | (v850*-*-elf): Likewise. | |
663 | (xstormy16-*-*): Likewise. | |
664 | ||
665 | * configure.ac (IGNORE_SIM, IGNORE_SIM_OBS): Do not set. | |
666 | (SIM, SIM_OBS): Set depending on ${ignore_sim} and ${gdb_sim}. | |
667 | * configure: Regenerate. | |
668 | * Makefile.in (SIM, SIM_OBS): Substitute from configure. | |
669 | (@IGNORE_SIM@, @IGNORE_SIM_OBS@): Remove. | |
670 | ||
fa987fc4 UW |
671 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
672 | ||
673 | * configure.tgt (gdb_osabi, build_gdbserver): Comment variables. | |
674 | (arm*-*-*): Do not set obsolete build_rdi_share variable. | |
675 | ||
676 | (*-*-freebsd* | *-*-kfreebsd*-gnu): Remove generic case, replace by ... | |
677 | (alpha*-*-freebsd* | alpha*-*-kfreebsd*-gnu) | |
678 | (i[34567]86-*-freebsd* | i[34567]86-*-kfreebsd*-gnu) | |
679 | (sparc*-*-freebsd* | sparc*-*-kfreebsd*-gnu): ... specific cases. | |
680 | (x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu): Re-sort. | |
681 | ||
682 | (xscale-*-*): Merge into arm*-*-* case. | |
683 | (fido-*-elf*): Merge into m68*-*-elf* case. | |
684 | (m68*-*-aout*, m68*-*-coff*, m68*-*-elf*, m68*-*-rtems*, | |
685 | m68*-*-uclinux*): Merge cases. | |
686 | (powerpc-*-linux*, powerpc64-*-linux*): Merge cases. | |
687 | (sh-*-coff*, sh-*-elf*): Merge into sh* case. | |
688 | ||
732cd360 UW |
689 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
690 | ||
691 | * configure.tgt: Reformat main case statement. | |
692 | ||
db985757 UW |
693 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
694 | ||
695 | * configure.ac (hostfile, targetfile): Remove. | |
696 | (GDB_XM_FILE, GDB_TM_FILE): Do not define. | |
697 | (xm_h, tm_h): Likewise. | |
698 | (DEPRECATED_TM_FILE, XM_FILE): Do not substitute into Makefile. | |
699 | * configure, config.in: Regenerate. | |
700 | ||
701 | * Makefile.in (xm_h, tm_h): Remove. Update dependencies. | |
702 | (TAGS): Do not consider DEPRECATED_TM_FILE or XM_FILE. | |
703 | (clean, local-maintainer-clean): Do not remove xm.h or tm.h. | |
704 | * defs.h: Do not include "xm.h" or "tm.h". | |
705 | ||
706 | * gdbarch.sh (verify_gdbarch): Do not dump GDB_XM_FILE or GDB_TM_FILE. | |
707 | * gdbarch.c: Regenerate. | |
708 | ||
709 | * config/score/embed.mt: Remove obsolete comment. | |
710 | ||
64a3914f MD |
711 | 2007-11-16 Markus Deuling <deuling@de.ibm.com> |
712 | ||
713 | * gdbarch.sh (cannot_fetch_register, cannot_store_register): Add gdbarch | |
714 | as parameter. | |
715 | * gdbarch.{c,h}: Regenerate. | |
716 | ||
717 | * alpha-tdep.c (alpha_cannot_fetch_register) | |
718 | (alpha_cannot_store_register): Add gdbarch as parameter. Replace | |
719 | current_gdbarch by gdbarch. | |
720 | * cris-tdep.c (cris_cannot_fetch_register, cris_cannot_store_register) | |
721 | (crisv32_cannot_fetch_register) | |
722 | (crisv32_cannot_store_register): Likewise. | |
723 | * arch-utils.c (cannot_register_not): Likewise. | |
724 | * arch-utils.h (cannot_register_not): Likewise. | |
725 | * hppa-tdep.c (hppa32_cannot_store_register) | |
726 | (hppa32_cannot_store_register, hppa64_cannot_store_register) | |
727 | (hppa64_cannot_fetch_register): Likewise. | |
728 | * mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register) | |
729 | (mipsnbsd_cannot_store_register): Likewise. | |
730 | ||
40a6adc1 MD |
731 | 2007-11-16 Markus Deuling <deuling@de.ibm.com> |
732 | ||
733 | * m32r-rom.c (m32r_supply_register): Use get_regcache_arch to get at | |
734 | the current architecture by regcache. | |
735 | * ppcnbsd-nat.c (ppcnbsd_supply_pcb): Likewise. | |
736 | * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register) | |
737 | (fetch_register, supply_vrregset, fetch_ppc_registers) | |
738 | (store_altivec_register, store_spe_register, store_register) | |
739 | (fill_vrregset, store_ppc_registers): Likewise. | |
740 | * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise. | |
741 | * win32-nat.c (do_win32_fetch_inferior_registers) | |
742 | (do_win32_store_inferior_registers): Likewise. | |
743 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
744 | * remote-m32r-sdi.c (m32r_fetch_registers) | |
745 | (m32r_store_registers): Likewise. | |
746 | * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise. | |
747 | ||
748 | * trad-frame.c (trad_frame_alloc_saved_regs): Replace current_gdbarch by | |
749 | gdbarch. | |
750 | * user-regs.c (user_reg_map_name_to_regnum): Likewise. | |
751 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call) | |
752 | (do_ppc_sysv_return_value, ppc64_sysv_abi_push_dummy_call) | |
753 | (ppc64_sysv_abi_return_value): Likewise. | |
754 | * m32c-tdep.c (m32c_register_reggroup_p): Likewise. | |
755 | * m2-lang.c (build_m2_types): Likewise. | |
756 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache | |
757 | * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise. | |
758 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise. | |
759 | * rs6000-tdep.c (ppc_dwarf2_frame_init_reg): Likewise. | |
760 | ||
761 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Use get_frame_arch to | |
762 | get at the current architecture by frame_info. | |
763 | * gcore.c (derive_stack_segment): Likewise. | |
764 | ||
765 | * shnbsd-nat.c (GETREGS_SUPPLIES): Add gdbarch parameter. | |
766 | (shnbsd_fetch_inferior_registers, shnbsd_store_inferior_registers): Add | |
767 | gdbarch to GETREGS_SUPPLIES call. | |
768 | ||
6f610d07 UW |
769 | 2007-11-16 Ulrich Weigand <uweigand@de.ibm.com> |
770 | ||
771 | * elfread.c (ST_REGULAR, ST_DYNAMIC, ST_SYNTHETIC): New defines. | |
772 | (elf_symtab_read): Rename DYNAMIC argument to TYPE. Do not access | |
773 | ELF-private symbol data when processing synthetic symbols. Use | |
774 | udata.p to get at size of ppc64 synthetic 'dot' symbols. | |
775 | (elf_symfile_read): Pass TYPE argument to elf_symtab_read. | |
776 | ||
1b39d5c0 DE |
777 | 2007-11-15 Doug Evans <dje@google.com> |
778 | ||
94d09e04 DE |
779 | * buildsym.h (subfiles): Move ... |
780 | * buildsym.c (subfiles): ... to here and make static. | |
781 | ||
1b39d5c0 DE |
782 | * symmisc.c (maintenance_info_symtabs): Print linetable info. |
783 | ||
2699bdf2 MD |
784 | 2007-11-15 Markus Deuling <deuling@de.ibm.com> |
785 | ||
786 | * mipsnbsd-tdep.h (SIZEOF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove | |
787 | ||
2301df11 MD |
788 | 2007-11-15 Markus Deuling <deuling@de.ibm.com> |
789 | ||
790 | * arm-tdep.c (arm_prologue_this_id): Replace LOWEST_PC by its | |
791 | expression and use get_frame_arch to replace current_gdbarch by frame's | |
792 | architecture. | |
793 | * arm-tdep.h (LOWEST_PC): Remove | |
794 | ||
fc0484e9 VP |
795 | 2007-11-15 Vladimir Prus <vladimir@codesourcery.com> |
796 | ||
797 | Apply const qualifier to some users of bp_location. | |
798 | * breakpoint.h (struct bpstats): Make | |
799 | the breakpoint_at field point at const bp_location. | |
800 | * breakpoint.c (bpstat_alloc): Accept const | |
801 | bp_location. | |
802 | (breakpoint_here_p, breakpoint_inserted_here_p) | |
803 | (software_breakpoint_inserted_here_p) | |
804 | (breakpoint_thread_match, bpstat_stop_status) | |
805 | (read_memory_nobpt, bpstat_have_active_hw_watchpoints): Use | |
806 | const bp_location for iteration. | |
807 | (print_it_typical, print_bp_stop_message): Use | |
808 | const bp_location variable. | |
809 | ||
810 | 2007-11-15 Vladimir Prus <vladimir@codesourcery.com> | |
811 | ||
812 | Make mark_breakpoints_out static. | |
813 | * breakpoint.h (mark_breakpoints_out): Remove | |
814 | declaration. | |
815 | * breakpoint.c (mark_breakpoints_out): Make static. | |
816 | ||
817 | 2007-11-15 Vladimir Prus <vladimir@codesourcery.com> | |
818 | ||
819 | Prevent clear_command from directly modifying breakpoint list. | |
820 | * Makefile.in (breakpoint_h): Update dependency. | |
821 | * breakpoint.c (clear_command): Do not remove | |
822 | breakpoints from breakpoint_chain. Collect breakpoints | |
823 | to delete in a vector. | |
824 | * breakpoint.h (breakpoint_p): New typedef for pointer to | |
825 | breakpoint. Register vector of breakpoint_p. | |
826 | ||
827 | 2007-11-15 Vladimir Prus <vladimir@codesourcery.com> | |
828 | ||
829 | Remove 'run_cleanup'. | |
830 | * defs.h (do_run_cleanups, make_run_cleanup): Remove | |
831 | declarations. | |
832 | * infcmd.c (run_command_1): Call clear_solib instead | |
833 | of do_run_cleanups. | |
834 | * jv-lang.c (java_rerun_cleanup): Remove, for lack of | |
835 | any use. | |
836 | * solib.c (solib_cleanup_queued, do_clear_solib): Remove. | |
837 | (update_solib_lib): Don't setup run cleanup. | |
838 | (no_shared_libraries): Call clear_solib, not do_clear_solib. | |
839 | * utils.c (run_cleanup_chain, make_run_cleanup) | |
840 | (do_run_cleanups): Remove. | |
841 | ||
842 | 2007-11-15 Vladimir Prus <vladimir@codesourcery.com> | |
843 | ||
844 | Remove CLEAR_SOLIB use. | |
845 | * corelow.c (core_close): Don't check for CLEAR_SOLIB. | |
846 | * infcmd.c (attach_command): Likewise. | |
847 | ||
0b0287a1 DE |
848 | 2007-11-14 Doug Evans <dje@google.com> |
849 | ||
850 | * buildsym.c (start_subfile,start_symtab): Doc fixes. | |
851 | ||
37715c4c TJB |
852 | 2007-11-13 Thiago Jung Bauermann <bauerman@br.ibm.com> |
853 | ||
854 | * tui/tui-data.c (tui_prev_win): Guard against NULL. | |
855 | ||
be7811ad MD |
856 | 2007-11-12 Markus Deuling <deuling@de.ibm.com> |
857 | ||
858 | * gdbarch.sh (gdbarch_alloc): Replace current_gdbarch by gdbarch. Remove | |
859 | obsolete comment. | |
860 | (verify_gdbarch, gdbarch_dump): Likewise. | |
861 | (do_read): Update comment. | |
862 | (addr_bit, bfd_arch_info, target_desc, long_long_bit, floatformat) | |
863 | (ptr_bit, name_of_malloc): Replace current_gdbarch by gdbarch. | |
864 | * gdbarch.{c,h}: Regenerate. | |
865 | ||
91d8eb23 MD |
866 | 2007-11-12 Markus Deuling <deuling@de.ibm.com> |
867 | ||
868 | * xtensa-tdep.c (ARG_1ST): Replace ARGS_FIRST_REG by its expression. | |
869 | (ARGS_FIRST_REG): Remove. | |
870 | (areg_numer): New function. | |
871 | (xtensa_pseudo_register_read, xtensa_frame_prev_register) | |
872 | (xtensa_extract_return_value, xtensa_store_return_value) | |
873 | (xtensa_frame_cache): Replace AREG_NUMBER by areg_number. | |
874 | (AREG_NUMBER): Remove. | |
875 | (XTENSA_IS_ENTRY, ARG_NOF, ARG_1ST): Add gdbarch as parameter. | |
876 | (xtensa_frame_cache): Update use of XTENSA_IS_ENTRY. | |
877 | (xtensa_push_dummy_call): Update use of ARG_NOF. | |
878 | (extract_call_winsize): Add gdbarch as parameter. Replace | |
879 | current_gdbarch by gdbarch. | |
880 | (xtensa_extract_return_value, xtensa_store_return_value): Update call | |
881 | of extract_call_winsize. | |
882 | ||
d2ca0d52 JB |
883 | 2007-11-10 Joel Brobecker <brobecker@adacore.com> |
884 | ||
885 | * NEWS: Add entry for new set/show print frame-args command. | |
886 | ||
bbc1a784 KB |
887 | 2007-11-09 Kevin Buettner <kevinb@redhat.com> |
888 | ||
889 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add missing | |
890 | register number to map. Adjust warning check and error/warning | |
891 | return value code to match expectations of this function's callers. | |
892 | ||
0366cf3f JB |
893 | 2007-11-09 Joel Brobecker <brobecker@adacore.com> |
894 | ||
895 | * stack.c (print_this_frame_argument_p): Handle arguments passed | |
896 | by reference properly. | |
897 | ||
3462fcef | 898 | 2007-11-09 Joel Brobecker <brobecker@adacore.com> |
88408340 JB |
899 | |
900 | * stack.c (print_frame_arguments_choices): New static global. | |
901 | (print_frame_arguments): Likewise. | |
902 | (print_this_frame_argument_p): New function. | |
903 | (print_frame_args): Print the argument value only when appropriate. | |
904 | (_initialize_task): Add new "set/show print frame-arguments" command. | |
905 | ||
1c86e440 LM |
906 | 2007-11-09 Luis Machado <luisgpm@br.ibm.com> |
907 | ||
908 | * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Move | |
909 | saved_dabr_value assignment to the correct position. | |
910 | ||
76a8ddb9 UW |
911 | 2007-11-09 Markus Deuling <deuling@de.ibm.com> |
912 | ||
913 | * arch-utils.c (generic_convert_register_p): Add gdbarch as parameter. | |
914 | * arch-utils.h (generic_convert_register_p): Likewise. | |
915 | ||
0abe36f5 MD |
916 | 2007-11-09 Markus Deuling <deuling@de.ibm.com> |
917 | ||
918 | * gdbarch.sh (convert_register_p): Add gdbarch as parameter. | |
919 | * ia64-tdep.c (ia64_convert_register_p): Likewise. | |
920 | * i387-tdep.c (i387_convert_register_p): Likewise. | |
921 | * i387-tdep.h (i387_convert_register_p): Likewise. | |
922 | * alpha-tdep.c (alpha_convert_register_p): Likewise. | |
923 | * gdbarch.{c,h}: Regenerate. | |
924 | ||
925 | * rs6000-tdep.c (rs6000_convert_register_p): Add gdbarch as parameter. | |
926 | Replace current_gdbarch by gdbarch. | |
927 | * mips-tdep.c (mips_convert_register_p): Likewise. | |
928 | * m68k-tdep.c (m68k_convert_register_p): Likewise. | |
929 | * i386-tdep.c (i386_convert_register_p): Likewise. | |
930 | ||
85bc6edd UW |
931 | 2007-11-08 Aleksandar Ristovski <aristovski@qnx.com> |
932 | ||
933 | * gdb_string.h: Include <strings.h>. | |
934 | ||
db107f19 VP |
935 | 2007-11-08 Vladimir Prus <vladimir@codesourcery.com> |
936 | ||
937 | * breakpoint.c (break_command_1): Remove | |
938 | pending_bp parameter. | |
939 | (create_breakpoint): Likewise. | |
940 | (create_breakpoints): Likewise. Adjust call to | |
941 | create_breakpoint. | |
942 | (break_command_1): Likewise. Adjust call to | |
943 | create_breakpoints. | |
944 | (do_captured_breakpoint): Adjust call to | |
945 | create_breakpoints. | |
946 | (break_command, tbreak_command, hbreak_command) | |
947 | (stopin_command, stopat_command): Adjust call | |
948 | to break_command_1. | |
949 | ||
36815e57 JM |
950 | 2007-11-07 Joseph Myers <joseph@codesourcery.com> |
951 | Daniel Jacobowitz <dan@codesourcery.com> | |
952 | ||
953 | * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Right-align | |
954 | struct values smaller than one doubleword; left-align those | |
955 | larger. Pass structs containing a single floating-point value in | |
956 | registers. | |
957 | ||
b14d30e1 JM |
958 | 2007-11-07 Joseph Myers <joseph@codesourcery.com> |
959 | Daniel Jacobowitz <dan@codesourcery.com> | |
960 | ||
961 | * gdbtypes.c (floatformats_ibm_long_double): New. | |
962 | * gdbtypes.h (floatformats_ibm_long_double): Declare. | |
963 | * ia64-tdep.c (floatformat_ia64_ext): Update for addition of | |
964 | split_half field. | |
965 | * mips-tdep.c (n32n64_floatformat_always_valid, | |
966 | floatformat_n32n64_long_double_big, floatformats_n32n64_long): | |
967 | Remove. | |
968 | (mips_gdbarch_init): Use floatformats_ibm_long_double instead of | |
969 | floatformats_n32n64_long. | |
970 | * ppc-linux-tdep.c (ppc_linux_init_abi): Use 128-bit IBM long | |
971 | double. | |
972 | * doublest.c (convert_floatformat_to_doublest, | |
973 | convert_doublest_to_floatformat): Handle split floating-point | |
974 | formats. | |
975 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Handle IBM long | |
976 | double arguments. | |
977 | (ppc64_sysv_abi_push_dummy_call): Likewise. | |
978 | (do_ppc_sysv_return_value): Handle IBM long double return. | |
979 | ||
214270ab VP |
980 | 2007-11-07 Vladimir Prus <vladimir@codesourcery.com> |
981 | ||
982 | Fix crash when a variable object being deleted | |
983 | has any of its children deleted previously. | |
984 | ||
985 | * varobj.c (delete_variable_1): Don't recurse | |
986 | into deleted children. | |
987 | ||
a54fba4c MD |
988 | 2007-11-07 Markus Deuling <deuling@de.ibm.com> |
989 | ||
990 | * gdbarch.sh (legacy_virtual_frame_pointer): Add gdbarch parameter. | |
991 | * gdbarch.{c,h}: Regenerate. | |
992 | * arch-utils.c (legacy_virtual_frame_pointer): Add gdbarch parameter. | |
993 | Replace current_gdbarch by gdbarch. | |
994 | * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. | |
995 | * mips-tdep.c (mips_virtual_frame_pointer): Likewise. | |
996 | * spu-tdep.c (spu_virtual_frame_pointer): Likewise. | |
997 | ||
9970f04b MD |
998 | 2007-11-07 Markus Deuling <deuling@de.ibm.com> |
999 | ||
1000 | * shnbsd-tdep.c (shnbsd_supply_gregset, shnbsd_collect_gregset): Use | |
1001 | get_regcache_arch to get at the current architecture by regcache. | |
1002 | * xstormy16-tdep.c (xstormy16_frame_prev_register): Use get_frame_arch | |
1003 | to get at the current architecture by frame_info. | |
1004 | * fbsd-nat.c (fbsd_make_corefile_notes): Use get_regcache_arch to get | |
1005 | at the current architecture by regcache. | |
1006 | * gnu-v3-abi.c (gnuv3_skip_trampoline): Use get_frame_arch to get at | |
1007 | the current architecture by frame_info. | |
1008 | (build_gdb_vtable_type): Replace current_gdbarch by gdbarch. | |
1009 | * aix-thread.c (special_register_p): Add gdbarch as parameter. | |
1010 | (fetch_regs_kernel_thread, store_regs_kernel_thread): Add gdbarch to | |
1011 | caller of special_register_p. | |
1012 | ||
0b9dfe2b MD |
1013 | 2007-11-07 Markus Deuling <deuling@de.ibm.com> |
1014 | ||
1015 | * infcall.c (call_function_by_hand): Use get_frame_arch to get at the | |
1016 | current architecture by frame_info. | |
1017 | ||
c8541966 MD |
1018 | 2007-11-07 Markus Deuling <deuling@de.ibm.com> |
1019 | ||
1020 | * xtensa-tdep.h (SIZEOF_GREGSET, XTENSA_ELF_NGREG) Remove. | |
1021 | ||
8fe9ea88 MD |
1022 | 2007-11-07 Markus Deuling <deuling@de.ibm.com> |
1023 | ||
1024 | * s390-nat.c (supply_gregset, fill_gregset): Use get_regcache_arch to | |
1025 | get at the current architecture by regcache. | |
1026 | (SUBOFF): Add gdbarch to macro definition. | |
1027 | ||
67d57894 MD |
1028 | 2007-11-07 Markus Deuling <deuling@de.ibm.com> |
1029 | ||
1030 | * gdbarch.sh (breakpoint_from_pc): Add gdbarch parameter. | |
1031 | * gdbarch.{c,h}: Regenerate. | |
1032 | ||
1033 | * xtensa-tdep.c (xtensa_breakpoint_from_pc): Add gdbarch parameter. | |
1034 | Replace current_gdbarch by gdbarch. | |
1035 | * sh-tdep.c (sh_breakpoint_from_pc): Likewise. | |
1036 | * sh64-tdep.c (sh64_breakpoint_from_pc): Likewise. | |
1037 | * score-tdep.c (score_breakpoint_from_pc): Likewise. | |
1038 | * mips-tdep.c (mips_breakpoint_from_pc): Likewise. | |
1039 | * m32r-tdep.c (m32r_breakpoint_from_pc): Likewise. | |
1040 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Likewise. | |
1041 | * arm-tdep.c (arm_breakpoint_from_pc): Likewise. | |
1042 | ||
1043 | * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Add gdbarch | |
1044 | parameter. | |
1045 | * vax-tdep.c (vax_breakpoint_from_pc): Likewise. | |
1046 | * v850-tdep.c (v850_breakpoint_from_pc): Likewise. | |
1047 | * spu-tdep.c (spu_breakpoint_from_pc): Likewise. | |
1048 | * sparc-tdep.c (sparc_breakpoint_from_pc): Likewise. | |
1049 | * s390-tdep.c (s390_breakpoint_from_pc): Likewise. | |
1050 | * mn10300-tdep.c (mn10300_breakpoint_from_pc): Likewise. | |
1051 | * mt-tdep.c (mt_breakpoint_from_pc): Likewise. | |
1052 | * mep-tdep.c (mep_breakpoint_from_pc): Likewise. | |
1053 | * m88k-tdep.c (m88k_breakpoint_from_pc): Likewise. | |
1054 | * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Likewise. | |
1055 | * m32c-tdep.c (m32c_breakpoint_from_pc): Likewise. | |
1056 | * ia64-tdep.c (ia64_breakpoint_from_pc): Likewise. | |
1057 | * i386-tdep.c (i386_breakpoint_from_pc): Likewise. | |
1058 | * hppa-tdep.c (hppa_breakpoint_from_pc): Likewise. | |
1059 | * h8300-tdep.c (h8300_breakpoint_from_pc): Likewise. | |
1060 | * frv-tdep.c (frv_breakpoint_from_pc): Likewise. | |
1061 | * cris-tdep.c (cris_breakpoint_from_pc): Likewise. | |
1062 | * avr-tdep.c (avr_breakpoint_from_pc): Likewise. | |
1063 | * alpha-tdep.c (alpha_breakpoint_from_pc): Likewise. | |
1064 | * m68k-tdep.c (m68k_local_breakpoint_from_pc): Likewise. | |
1065 | ||
1066 | * rs6000-tdep.c (rs6000_breakpoint_from_pc): Add gdbarch parameter. | |
1067 | Replace current_gdbarch by gdbarch. | |
1068 | (rs6000_software_single_step): Use get_frame_arch to get at the | |
1069 | current architecture by frame_info. Add gdbarch to | |
1070 | rs6000_breakpoint_from_pc call. | |
1071 | ||
7a22ecfc MD |
1072 | 2007-11-07 Markus Deuling <deuling@de.ibm.com> |
1073 | ||
1074 | * frv-tdep.c (frv_register_name, frv_check_watch_resources): Replace | |
1075 | macro CURRENT_VARIANT by its expression. | |
1076 | (CURRENT_VARIANT): Remove. | |
1077 | (frv_check_watch_resources): Add gdbarch parameter. | |
1078 | ||
213a758a MD |
1079 | 2007-11-07 Markus Deuling <deuling@de.ibm.com> |
1080 | ||
1081 | * MAINTAINERS (Write After Approval): Add self. | |
1082 | ||
f03eb1cf UW |
1083 | 2007-11-05 Ulrich Weigand <uweigand@de.ibm.com> |
1084 | ||
1085 | * features/rs6000/power-core.xml: Use uint32 as register type. | |
1086 | * features/rs6000/power64-core.xml: Use uint64/uint32 as register type. | |
1087 | * features/rs6000/powerpc-32.c: Regenerate. | |
1088 | * features/rs6000/powerpc-403.c: Regenerate. | |
1089 | * features/rs6000/powerpc-403gc.c: Regenerate. | |
1090 | * features/rs6000/powerpc-505.c: Regenerate. | |
1091 | * features/rs6000/powerpc-602.c: Regenerate. | |
1092 | * features/rs6000/powerpc-603.c: Regenerate. | |
1093 | * features/rs6000/powerpc-604.c: Regenerate. | |
1094 | * features/rs6000/powerpc-64.c: Regenerate. | |
1095 | * features/rs6000/powerpc-7400.c: Regenerate. | |
1096 | * features/rs6000/powerpc-750.c: Regenerate. | |
1097 | * features/rs6000/powerpc-860.c: Regenerate. | |
1098 | * features/rs6000/powerpc-e500.c: Regenerate. | |
1099 | ||
c40e75cd JB |
1100 | 2007-11-05 Joel Brobecker <brobecker@adacore.com> |
1101 | ||
1102 | * breakpoint.c (set_raw_breakpoint_without_location): Make static. | |
1103 | ||
9b70b993 JB |
1104 | 2007-11-05 Joel Brobecker <brobecker@adacore.com> |
1105 | ||
1106 | * breakpoint.h (create_solib_load_event_breakpoint) | |
1107 | (create_solib_unload_event_breakpoint) | |
1108 | (create_fork_event_catchpoint, create_vfork_event_catchpoint) | |
1109 | (create_exec_event_catchpoint): Delete declaration. | |
1110 | * breakpoint.c (create_solib_load_event_breakpoint) | |
1111 | (solib_load_unload_1, create_solib_unload_event_breakpoint): Delete. | |
1112 | (create_fork_event_catchpoint, create_vfork_event_catchpoint) | |
1113 | (create_exec_event_catchpoint): Make static. | |
1114 | ||
60b0bfbc JB |
1115 | 2007-11-05 Joel Brobecker <brobecker@adacore.com> |
1116 | ||
1117 | * breakpoint.h (set_breakpoint_sal): Remove declaration. | |
1118 | * breakpoint.c (set_breakpoint_sal): Delete. | |
1119 | ||
a239dc23 JB |
1120 | 2007-11-05 Joel Brobecker <brobecker@adacore.com> |
1121 | ||
1122 | * buildsym.c (finish_block): Remove "#if 1"/"#endif" brackets. | |
1123 | (make_blockvector): Likewise. Remove FIXME comment. | |
1124 | ||
1a619819 LM |
1125 | 2007-11-05 Luis Machado <luisgpm@br.ibm.com> |
1126 | ||
1127 | * printcmd.c: (printf_command): Add support for new DFP | |
1128 | modifiers %H, %D and %DD. | |
1129 | * configure.ac: Add check for DECFLOAT printf support. | |
1130 | * configure: Regenerated. | |
1131 | ||
086280be UW |
1132 | 2007-11-02 Ulrich Weigand <uweigand@de.ibm.com> |
1133 | ||
1134 | * gdbtypes.h (struct cplus_struct_type): Remove runtime_ptr member. | |
1135 | (TYPE_RUNTIME_PTR, TYPE_VTABLE, TYPE_HAS_VTABLE, | |
1136 | TYPE_PRIMARY_BASE, TYPE_VIRTUAL_BASE_LIST): Remove macros. | |
1137 | (HP_ACC_VFUNC_START, HP_ACC_VBASE_START, HP_ACC_TYPEINFO_OFFSET, | |
1138 | HP_ACC_TOP_OFFSET_OFFSET): Likewise. | |
1139 | (has_vtable, primary_base_class, virtual_base_list_length, | |
1140 | virtual_base_list_length_skip_primaries, virtual_base_index, | |
1141 | virtual_base_index_skip_primaries, class_index_in_primary_list, | |
1142 | count_virtual_fns): Remove prototypes. | |
1143 | * gdbtypes.c (has_vtable, primary_base_class, current_vbase_list, | |
1144 | virtual_base_list_aux, virtual_base_list, virtual_base_list_length, | |
1145 | virtual_base_list_length_skip_primaries, virtual_base_index, | |
1146 | virtual_base_index_skip_primaries, class_index_in_primary_list, | |
1147 | count_virtual_fns): Remove. | |
1148 | ||
1149 | * cp-valprint.c (cp_print_hpacc_virtual_table_entries): Remove. | |
1150 | (hpacc_vtbl_ptr_name, hpacc_vtbl_ptr_type_name): Remove. | |
1151 | (cp_print_value_fields): Remove support for HP aCC vtables. | |
1152 | (cp_print_value): Likewise. | |
1153 | * c-typeprint.c (c_type_print_base): Likewise. | |
1154 | ||
1155 | * value.h (find_rt_vbase_offset): Remove prototype. | |
1156 | * valops.c (find_rt_vbase_offset): Remove. | |
1157 | (search_struct_method): Remove support for HP aCC vtables. | |
1158 | (find_method_list): Likewise. | |
1159 | ||
aba2dd37 UW |
1160 | 2007-11-02 Ulrich Weigand <uweigand@de.ibm.com> |
1161 | ||
1162 | * language.h (struct language_defn): Remove la_builtin_type_vector | |
1163 | and string_char_type members. | |
1164 | * language.c (language_string_char_type): No longer consult | |
1165 | la->string_char_type. | |
1166 | (language_lookup_primitive_type_by_name): No longer consult | |
1167 | current_language->la_builtin_type_vector. | |
1168 | ||
1169 | * language.c (unknown_language_defn, auto_language_defn, | |
1170 | local_language_defn): Adapt initializer. | |
1171 | * ada-lang.c (ada_language_defn): Likewise. | |
1172 | * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn, | |
1173 | minimal_language_defn): Likewise. | |
1174 | * f-lang.c (f_language_defn): Likewise. | |
1175 | * jv-lang.c (java_language_defn): Likewise. | |
1176 | * m2-lang.c (m2_language_defn): Likewise. | |
1177 | * objc-lang.c (objc_language_defn): Likewise. | |
1178 | * p-lang.c (pascal_language_defn): Likewise. | |
1179 | * scm-lang.c (scm_language_defn): Likewise. | |
1180 | ||
09a7aba8 UW |
1181 | 2007-11-02 Markus Deuling <deuling@de.ibm.com> |
1182 | ||
1183 | * frame.c (frame_id_inner): Add gdbarch parameter. Replace | |
1184 | current_gdbarch by gdbarch. | |
1185 | (frame_find_by_id, get_prev_frame_1): Use get_frame_arch to get at the | |
1186 | current architecture by frame_info. | |
1187 | * frame.h (frame_id_inner): Add gdbarch parameter. | |
1188 | * stack.c (return_command): Use get_frame_arch to get at the current | |
1189 | architecture by frame_info. Update call of frame_id_inner. | |
1190 | * infrun.c (handle_inferior_event): Likewise. | |
1191 | * dummy-frame.c (dummy_frame_push): Use get_regcache_arch to get at the | |
1192 | current architecture by regcache. Update call of frame_id_inner. | |
1193 | ||
d93859e2 UW |
1194 | 2007-11-02 Markus Deuling <deuling@de.ibm.com> |
1195 | ||
1196 | * gdbarch.sh (register_name): Add gdbarch parameter. | |
1197 | * gdbarch.{c,h}: Regenerate. | |
1198 | ||
1199 | * target-descriptions.c (tdesc_register_name): Add gdbarch parameter. | |
1200 | (tdesc_register_name): Replace current_gdbarch by gdbarch. | |
1201 | * target-descriptions.h (tdesc_register_name): Add gdbarch parameter. | |
1202 | ||
1203 | * xstormy16-tdep.c (xstormy16_register_name): Add gdbarch parameter. | |
1204 | * vax-tdep.c (vax_register_name): Add gdbarch parameter. | |
1205 | * spu-tdep.c (spu_register_name): Add gdbarch parameter. | |
1206 | * s390-tdep.c (s390_register_name): Add gdbarch parameter. | |
1207 | * mt-tdep.c (mt_register_name): Add gdbarch parameter. | |
1208 | (mt_registers_info): Replace current_gdbarch by gdbarch. | |
1209 | (mt_register_reggroup_p): Add gdbarch to mt_register_name call. | |
1210 | * mips-tdep.c (mips_register_name): Add gdbarch parameter. Replace | |
1211 | current_gdbarch by gdbarch. | |
1212 | (mips_register_name): Add gdbarch to tdesc_register_name call. | |
1213 | * mep-tdep.c (mep_register_name): Add gdbarch parameter. Replace | |
1214 | current_gdbarch by gdbarch. | |
1215 | (mep_register_reggroup_p): Add gdbarch to mep_register_name call. | |
1216 | * m32c-tdep.c (m32c_register_name): Add gdbarch parameter. Replace | |
1217 | current_gdbarch by gdbarch. | |
1218 | * m88k-tdep.c (m88k_register_name): Add gdbarch parameter. | |
1219 | * m68k-tdep.c (m68k_register_name): Add gdbarch parameter. | |
1220 | * m32r-tdep.c (m32r_register_name): Add gdbarch parameter. | |
1221 | (m32r_frame_unwind_cache): Use get_frame_arch to get at the current | |
1222 | architecture by frame_info. | |
1223 | * iq2000-tdep.c (iq2000_register_name): Add gdbarch parameter. | |
1224 | * ia64-tdep.c (ia64_register_name): Add gdbarch parameter. | |
1225 | * hppa-tdep.c (hppa32_register_name, hppa64_register_name): Add gdbarch | |
1226 | parameter. | |
1227 | * h8300-tdep.c (h8300_register_name, h8300s_register_name) | |
1228 | (h8300sx_register_name): Add gdbarch parameter. | |
1229 | * cris-tdep.c (cris_register_name, crisv32_register_name): Add | |
1230 | gdbarch parameter. Replace current_gdbarch by gdbarch. | |
1231 | (cris_gdbarch_init): Replace current_gdbarch by gdbarch (comment). | |
1232 | * avr-tdep.c (avr_register_name): Add gdbarch parameter. | |
1233 | * arm-tdep.c (arm_register_name): Add gdbarch paramete | |
1234 | * amd64-tdep.c (amd64_register_name): Add gdbarch parameter. Update | |
1235 | caller. | |
1236 | * amd64-tdep.h (amd64_register_name): Add gdbarch parameter. | |
1237 | * amd64-linux-tdep.c (amd64_linux_register_name): Add gdbarch parameter. | |
1238 | * alpha-tdep.c (alpha_register_name): Add gdbarch parameter. | |
1239 | (alpha_cannot_fetch_register, alpha_cannot_store_register): Update call | |
1240 | of alpha_register_name. | |
1241 | * frv-tdep.c (frv_register_name): Add gdbarch parameter. | |
1242 | * i386-tdep.c (i386_register_name): Add gdbarch parameter. Replace | |
1243 | current_gdbarch by gdbarch. | |
1244 | (i386_register_type): Replace ?current_gdbarch by gdbarch. | |
1245 | * i386-tdep.h (i386_register_name): Add gdbarch parameter. | |
1246 | * i386-linux-tdep.c (i386_linux_register_name): Add gdbarch parameter. | |
1247 | ||
1248 | * m68hc11-tdep.c (m68hc11_register_name): Add gdbarch parameter. | |
1249 | (m68hc11_register_reggroup_p): Add gdbarch to call of | |
1250 | m68hc11_register_name. | |
1251 | * mn10300-tdep.c (mn10300_generic_register_name, am33_register_name) | |
1252 | (am33_2_register_name): Add gdbarch parameter. | |
1253 | (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current | |
1254 | architecture by frame_info. | |
1255 | (mn10300_dump_tdep): Replace current_gdbarch by gdbarch. | |
1256 | * rs6000-tdep.c (rs6000_register_name): Add gdbarch parameter. Replace | |
1257 | current_gdbarch by gdbarch. | |
1258 | * score-tdep.c (score_register_name): Add gdbarch parameter. | |
1259 | (score_return_value, score_push_dummy_call): Replace current_gdbarch | |
1260 | by gdbarch. | |
1261 | * sh64-tdep.c (sh64_register_name): Add gdbarch parameter. | |
1262 | (sh64_compact_reg_base_num, sh64_register_convert_to_virtual) | |
1263 | (sh64_register_convert_to_raw, sh64_fv_reg_base_num) | |
1264 | (sh64_dr_reg_base_num, sh64_fpp_reg_base_num): Add gdbarch parameter | |
1265 | and update caller. Replace current_gdbarch by gdbarch. | |
1266 | (sh64_extract_return_value, sh64_store_return_value): Use | |
1267 | get_regcache_arch to get at the current architecture by regcache. | |
1268 | * sh-tdep.c (sh_sh_register_name, sh_sh3_register_name) | |
1269 | (sh_sh3e_register_name, sh_sh2e_register_name, sh_sh2a_register_name) | |
1270 | (sh_sh2a_nofpu_register_name, sh_sh_dsp_register_name) | |
1271 | (sh_sh3_dsp_register_name, sh_sh4_register_name) | |
1272 | (sh_sh4_nofpu_register_name, sh_sh4al_dsp_register_name): Add gdbarch | |
1273 | parameter. | |
1274 | (fv_reg_base_num, dr_reg_base_num, sh_justify_value_in_reg) | |
1275 | (sh_next_flt_argreg): Add gdbarch parameter and update caller. Replace | |
1276 | current_gdbarch by gdbarch. | |
1277 | (sh_extract_return_value_fpu, sh_store_return_value_fpu): Use | |
1278 | get_regcache_arch to get at the current architecture by regcache. | |
1279 | * sparc-tdep.c (sparc32_register_name): Add gdbarch parameter. | |
1280 | * sparc64-tdep.c (sparc64_register_name): Add gdbarch parameter. | |
1281 | * v850-tdep.c (v850_register_name, v850e_register_name): Add gdbarch | |
1282 | parameter. | |
1283 | (v850_unwind_sp, v850_unwind_pc): Replace current_gdbarch by gdbarch. | |
1284 | * xtensa-tdep.c (xtensa_register_name): Add gdbarch parameter. Replace | |
1285 | current_gdbarch by gdbarch. | |
1286 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write) | |
1287 | (xtensa_frame_prev_register): Add gdbarch parameter to | |
1288 | xtensa_register_name call. | |
1289 | ||
82233d87 UW |
1290 | 2007-10-31 Ulrich Weigand <uweigand@de.ibm.com> |
1291 | ||
1292 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Fall back to | |
1293 | find_solib_trampoline_target if PC is not in .plt section. | |
1294 | ||
02c75f72 UW |
1295 | 2007-10-31 Ulrich Weigand <uweigand@de.ibm.com> |
1296 | ||
1297 | * elfread.c (elf_symtab_read): When constructing a solib trampoline | |
1298 | minimal symbol from an undefined dynamic symbol, use proper section. | |
1299 | ||
08790784 UW |
1300 | 2007-10-31 Markus Deuling <deuling@de.ibm.com> |
1301 | ||
1302 | * arm-linux-nat.c (fetch_register, fetch_regs): Use get_regcache_arch | |
1303 | to get at the current architecture by regcache. | |
1304 | ||
8cff2ae6 UW |
1305 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1306 | ||
1307 | * libunwind-frame.c (libunwind_frame_sniffer) | |
1308 | libunwind_frame_prev_register, libunwind_sigtramp_frame_sniffer) | |
1309 | (libunwind_frame_cache): Use get_frame_arch to get at the current | |
1310 | architecture by frame_info. | |
1311 | (libunwind_get_reg_special): Replace current_gdbarch by gdbarch. | |
1312 | ||
505bbca2 UW |
1313 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1314 | ||
1315 | * iq2000-tdep.c (iq2000_frame_prev_register): Use get_frame_arch to get | |
1316 | at the current architecture by frame_info. | |
1317 | ||
b1a653ae UW |
1318 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1319 | ||
1320 | * inf-child.c (inf_child_fetch_inferior_registers): Use | |
1321 | get_regcache_arch to get at the current architecture by regcache. | |
1322 | ||
3b3b1423 UW |
1323 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1324 | ||
1325 | * inf-ptrace.c (inf_ptrace_fetch_registers) | |
1326 | (inf_ptrace_fetch_register, inf_ptrace_store_register) | |
1327 | (inf_ptrace_store_registers): Use get_regcache_arch to get at the | |
1328 | current architecture by regcache. | |
1329 | ||
8d90747a UW |
1330 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1331 | ||
1332 | * hpux-thread.c (hpux_thread_fetch_registers) | |
1333 | (hpux_thread_store_registers): Use get_regcache_arch to get at the | |
1334 | current architecture by regcache. | |
1335 | ||
65c5db89 UW |
1336 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1337 | ||
1338 | * hppa-tdep.c (hppa_frame_cache): Use get_frame_arch to get at the | |
1339 | current architecture by frame_info. | |
1340 | ||
7067c689 UW |
1341 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1342 | ||
1343 | * go32-nat.c (fetch_register, go32_fetch_registers, store_register) | |
1344 | (go32_store_registers): Use get_regcache_arch to get at the current | |
1345 | architecture by regcache. | |
1346 | ||
8a7e34d8 UW |
1347 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1348 | ||
1349 | * gdbtypes.c (gdbtypes_post_init): Replace current_gdbarch by gdbarch. | |
1350 | ||
992166ee UW |
1351 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1352 | ||
1353 | * frv-linux-tdep.c (frv_linux_sigtramp_frame_cache): Use get_frame_arch | |
1354 | to get at the current architecture by frame_info. | |
1355 | ||
bb09620c UW |
1356 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1357 | ||
1358 | * f-lang.c (build_fortran_types): Replace current_gdbarch by gdbarch. | |
1359 | ||
8f4f3fbe UW |
1360 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1361 | ||
1362 | * core-regset.c (fetch_core_registers): Use get_regcache_arch to get at | |
1363 | the current architecture by regcache. | |
1364 | ||
13b8769f UW |
1365 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1366 | ||
1367 | * corelow.c (get_core_registers): Use get_regcache_arch to get at the | |
1368 | current architecture by regcache. | |
1369 | ||
27524c05 UW |
1370 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1371 | ||
1372 | * bsd-uthread.c (bsd_uthread_fetch_registers) | |
1373 | (bsd_uthread_store_registers): Use get_regcache_arch to get at the | |
1374 | current architecture by regcache. | |
1375 | ||
fbff0d8f UW |
1376 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1377 | ||
1378 | * avr-tdep.c (avr_frame_unwind_cache, avr_frame_prev_register): Use | |
1379 | get_frame_arch to get at the current architecture by frame_info. | |
1380 | ||
e1e01acd UW |
1381 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1382 | ||
1383 | * arm-tdep.c (arm_get_next_pc): Replace current_gdbarch by gdbarch. | |
1384 | ||
b2cb219a UW |
1385 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1386 | ||
1387 | * armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register) | |
1388 | (store_regs): Use get_regcache_arch to get at the current architecture | |
1389 | by regcache. | |
1390 | ||
a6f7e838 UW |
1391 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1392 | ||
1393 | * arm-linux-tdep.c (arm_linux_supply_gregset): Use get_regcache_arch | |
1394 | to get at the current architecture by regcache. | |
1395 | ||
600d293e UW |
1396 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1397 | ||
1398 | * alphabsd-nat.c (alphabsd_fetch_inferior_registers) | |
1399 | (alphabsd_store_inferior_registers): Use get_regcache_arch to get at | |
1400 | the current architecture by regcache. | |
1401 | ||
d4a9a881 UW |
1402 | 2007-10-30 Markus Deuling <deuling@de.ibm.com> |
1403 | ||
1404 | * ada-lang.c (ada_language_arch_info): Replace current_gdbarch by | |
1405 | gdbarch. | |
1406 | ||
55eddb0f DJ |
1407 | 2007-10-30 Daniel Jacobowitz <dan@codesourcery.com> |
1408 | ||
1409 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Check the selected | |
1410 | soft float and vector ABIs. Support the generic vector ABI for | |
1411 | AltiVec types. | |
1412 | (do_ppc_sysv_return_value): Likewise. Correct argument types and | |
1413 | casts. | |
1414 | (ppc64_sysv_abi_push_dummy_call): Assert that floating point is | |
1415 | supported. | |
1416 | * ppc-tdep.h (enum powerpc_vector_abi): New. | |
1417 | (struct gdbarch_tdep): Add soft_float and vector_abi. | |
1418 | * rs6000-tdep.c (setpowerpccmdlist, showpowerpccmdlist) | |
1419 | (powerpc_soft_float_global, powerpc_vector_strings) | |
1420 | (powerpc_vector_abi_global, powerpc_vector_abi_string): New. | |
1421 | (rs6000_gdbarch_init): Check for soft-float and vector ABI markings. | |
1422 | (set_powerpc_command, show_powerpc_command, powerpc_set_soft_float) | |
1423 | (powerpc_set_vector_abi): New. | |
1424 | (_initialize_rs6000_tdep): Register "set powerpc" and "show powerpc" | |
1425 | commands. | |
1426 | * Makefile.in (elf_ppc_h): New. | |
1427 | (rs6000-tdep.o): Update. | |
1428 | ||
06caf7d2 CES |
1429 | 2007-10-29 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
1430 | ||
1431 | * ppc-linux-tdep.c (ppc32_linux_reg_offsets): Corrected | |
1432 | swapped offsets and VRSAVE offset. | |
1433 | (ppc64_linux_reg_offsets): Corrected swapped offsets. | |
1434 | (ppc32_linux_vrregset): Added. | |
1435 | (ppc_linux_regset_from_core_section): Added support for | |
1436 | .reg-ppc-vmx section. | |
1437 | * ppc-tdep.h (ppc_altivec_support_p): Declare. | |
1438 | (ppc_supply_vrregset): Declare. | |
1439 | (ppc_collect_vrregset): Declare. | |
1440 | * rs6000-tdep.c (ppc_altivec_support_p): Added. | |
1441 | (ppc_supply_vrregset): Added. | |
1442 | (ppc_collect_vrregset): Added. | |
1443 | * corelow.c (get_core_registers): Added support for | |
1444 | .reg-ppc-vmx section. | |
1445 | ||
72774a84 | 1446 | 2007-10-29 Joel Brobecker <brobecker@adacore.com> |
1447 | ||
1448 | GDB 6.7.1 released. | |
1449 | ||
648027cc JB |
1450 | 2007-10-26 Jim Blandy <jimb@codesourcery.com> |
1451 | ||
bfe10c0f JB |
1452 | * ax-gdb.h (expr_to_address_and_size): Delete declaration for |
1453 | deleted function. | |
1454 | ||
e3dd034f JB |
1455 | * tracepoint.c (tracepoint_operation): Report the deletion event |
1456 | after we have unlinked the tracepoint from the list, and use the | |
1457 | proper tracepoint number. | |
1458 | ||
624d6fb7 JB |
1459 | * ax-gdb.c (expr_to_agent): Delete unused function. |
1460 | (expr_to_address_and_size): Delete #if 0'd function. | |
1461 | * ax-gdb.h (expr_to_agent): Delete declaration. | |
1462 | ||
74b35824 JB |
1463 | * ax-gdb.c (gen_cast): Remove redundant assignment to |
1464 | value->type. Doc fix. | |
1465 | ||
648027cc JB |
1466 | * ax-general.c (gen_traced_pop, gen_int_literal) |
1467 | (gen_usual_arithmetic): Check for typedefs. | |
1468 | ||
df2a60d0 JB |
1469 | 2007-10-26 Joel Brobecker <brobecker@adacore.com> |
1470 | ||
1471 | * parse.c (prefixify_expression): Minor reformatting. | |
1472 | ||
d76526c6 DJ |
1473 | 2007-10-25 Daniel Jacobowitz <dan@codesourcery.com> |
1474 | ||
1475 | * version.in: Use dot instead of dash. | |
1476 | ||
8f136895 DJ |
1477 | 2007-10-25 Daniel Jacobowitz <dan@codesourcery.com> |
1478 | ||
1479 | * linux-thread-db.c (check_for_thread_db): Only print if info_verbose. | |
1480 | ||
f6071bfa PA |
1481 | 2007-10-25 Pedro Alves <pedro_alves@portugalmail.pt> |
1482 | ||
1483 | * memory-map.c (parse_memory_map): Don't use an empty struct | |
1484 | initializer. | |
1485 | ||
7e2dbecf PA |
1486 | 2007-10-25 Pedro Alves <pedro_alves@portugalmail.pt> |
1487 | ||
1488 | * signals/signals.c (signals): Update pointer to enum | |
1489 | target_signal declaration. | |
1490 | ||
68511cec CES |
1491 | 2007-10-25 Wu Zhou <woodzltc@cn.ibm.com> |
1492 | Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> | |
1493 | Jim Blandy <jimb@codesourcery.com> | |
1494 | ||
1495 | * dwarf2read.c (read_partial_die): check the value | |
1496 | of DW_AT_calling_convention in Fortran programs. | |
1497 | ||
27bc4d80 TJB |
1498 | 2007-10-25 Wu Zhou <woodzltc@cn.ibm.com> |
1499 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
1500 | ||
1501 | * c-exp.y (YYSTYPE): Add typed_val_decfloat for decimal | |
1502 | floating point in YYSTYPE union. | |
1503 | (DECFLOAT) Add token and expression element handling code. | |
1504 | (parse_number): Parse DFP constants, which end with suffix 'df', | |
1505 | 'dd' or 'dl'. Return DECFLOAT. | |
1506 | * eval.c (evaluate_subexp_standard): Call value_from_decfloat to | |
1507 | handle OP_DECFLOAT. | |
1508 | * expression.h (enum exp_opcode): Add an opcode (OP_DECFLOAT) | |
1509 | for DFP constants. | |
1510 | (union exp_element): Add decfloatconst to represent DFP | |
1511 | elements, which is 16 bytes by default. | |
1512 | * parse.c (write_exp_elt_decfloatcst): New function to write a | |
1513 | decimal float const into the expression. | |
1514 | (operator_length_standard): Set operator length for OP_DECFLOAT | |
1515 | to 4. | |
1516 | * parser-defs.h (write_exp_elt_decfloatcst): Prototype. | |
1517 | * valarith.c (value_neg): Add code to handle the negation | |
1518 | operation of DFP values. | |
1519 | * value.c (value_from_decfloat): New function to get the value | |
1520 | from a decimal floating point. | |
1521 | * value.h (value_from_decfloat): Prototype. | |
1522 | ||
7678ef8f TJB |
1523 | 2007-10-25 Wu Zhou <woodzltc@cn.ibm.com> |
1524 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
1525 | ||
1526 | * c-lang.c (c_create_fundamental_type): Create fundamental | |
1527 | types for DFP. | |
1528 | * c-typeprint.c (c_type_print_varspec_prefix): Add | |
1529 | TYPE_CODE_DECFLOAT to no prefix needed case. | |
1530 | (c_type_print_varspec_suffix): Add TYPE_CODE_DECFLOAT to no | |
1531 | suffix needed case. | |
1532 | * c-valprint.c (c_val_print): Call print_decimal_floating to | |
1533 | print DFP values. | |
1534 | * dwarf2read.c (read_base_type): Read DW_ATE_decimal_float | |
1535 | attribute code and return TYPE_CODE_DECFLOAT. | |
1536 | (dwarf_base_type): Set dwarf2_fundamental_type for DFP values. | |
1537 | * gdbtypes.c (gdbtypes_post_init): Initialize builtin_decfloat, | |
1538 | builtin_decdouble and builtin_declong. | |
1539 | * gdbtypes.h (enum type_code): Add TYPE_CODE_DECFLOAT as a | |
1540 | type code for DFP. | |
1541 | (FT_DECFLOAT, FT_DBL_PREC_DECFLOAT, FT_EXT_PREC_DECFLOAT): New | |
1542 | types, for decimal floating point. | |
1543 | (FT_NUM_MEMBERS): Increment, new types added. | |
1544 | (struct builtin_type): Add builtin_decfloat, builtin_decdouble | |
1545 | and builtin_declong. | |
1546 | * valprint.c (print_decimal_floating): New function to print DFP | |
1547 | values. | |
1548 | * value.h (print_decimal_floating): Prototype. | |
1549 | ||
9b913628 TJB |
1550 | 2007-10-25 Wu Zhou <woodzltc@cn.ibm.com> |
1551 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
1552 | ||
1553 | * Makefile.in (LIBDECNUMBER_DIR, LIBDECNUMBER, LIBDECNUMBER_SRC | |
1554 | LIBDECNUMBER_CFLAGS): New macros for libdecnumber. | |
1555 | (INTERNAL_CFLAGS_BASE): Add LIBDECNUMBER_CFLAGS in. | |
1556 | (INSTALLED_LIBS): Add -ldecnumber in. | |
1557 | (CLIBS): Add LIBDECNUMBER in. | |
1558 | (decimal128_h, decimal64_h, decimal32_h): New macros for decimal | |
1559 | headers. | |
1560 | (dfp_h): New macros for decimal floating point. | |
1561 | (dfp.o): New target. | |
1562 | (COMMON_OBS): Add dfp.o in. | |
1563 | (c-exp.o): Add dfp_h as dependency. | |
1564 | (valprint.o): Add dfp_h as dependency. | |
1565 | (value.o): Add dfp_h as dependency. | |
1566 | * dfp.h: New header file for decimal floating point support in | |
1567 | GDB. | |
1568 | * dfp.c: New source file for decimal floating point support in | |
1569 | GDB. Implement decimal_from_string and decimal_to_string based | |
1570 | on libdecnumber API. | |
1571 | * configure.ac: Add AC_C_BIGENDIAN test. | |
1572 | * config.in, configure: Regenerate. | |
1573 | ||
ad842144 MR |
1574 | 2007-10-25 David Ung <davidu@mips.com> |
1575 | Maciej W. Rozycki <macro@mips.com> | |
1576 | ||
1577 | PR exp/1926 | |
1578 | * infcmd.c (registers_info): Check for a user register before | |
1579 | calling target's gdbarch_print_registers_info(). If found to be | |
1580 | so, extract the implicit value of user register and call | |
1581 | print_scalar_formatted(). | |
1582 | * Makefile.in: (infcmd.o): Add $(user_regs_h). | |
1583 | ||
24a836bd JB |
1584 | 2007-10-25 Joel Brobecker <brobecker@adacore.com> |
1585 | ||
1586 | * NEWS: Document status of hppa64-hpux support. | |
1587 | ||
7e3cb44c UW |
1588 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
1589 | ||
1590 | * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets): Call | |
1591 | set_solib_ops to install SVR4 operations. | |
1592 | (_initialize_svr4_solib): Do not set current_target_so_ops. | |
1593 | ||
1594 | * config/i386/i386gnu.mh (NATDEPFILES): Move solib.o, solib-svr4.o ... | |
1595 | * config/i386/i386gnu.mt (TDEPFILES): ... to here. | |
1596 | ||
8d005789 UW |
1597 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
1598 | ||
1599 | * solib-svr4.c (legacy_svr4_fetch_link_map_offsets_hook): Remove. | |
1600 | (solib_svr4_init): Initialize fetch_link_map_offsets to NULL. | |
1601 | * solib-svr4.h (legacy_svr4_fetch_link_map_offsets_hook): Remove. | |
1602 | * solib-legacy.c: Remove file. | |
1603 | ||
1604 | * config/alpha/alpha-linux.mt (TDEPFILES): Remove solib-legacy.o. | |
1605 | * config/arm/linux.mt (TDEPFILES): Likewise. | |
1606 | * config/i386/i386gnu.mh (NATDEPFILES): Likewise. | |
1607 | * config/ia64/linux.mt (TDEPFILES): Likewise. | |
1608 | * config/m32r/linux.mt (TDEPFILES): Likewise. | |
1609 | * config/powerpc/linux.mt (TDEPFILES): Likewise. | |
1610 | * config/s390/s390.mt (TDEPFILES): Likewise. | |
1611 | ||
1612 | * alpha-linux-tdep.c (alpha_linux_init_abi): Call | |
1613 | set_solib_svr4_fetch_link_map_offsets. | |
1614 | * i386gnu-tdep.c (i386gnu_init_abi): Likewise. | |
1615 | * ia64-linux-tdep.c (ia64_linux_init_abi): Likewise. | |
1616 | ||
1617 | * i386gnu-tdep.c: Include "solib-svr4.h". | |
1618 | * Makefile.in: Update dependencies. | |
1619 | ||
59215afb UW |
1620 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
1621 | ||
1622 | * i386-nto-tdep.c: Include "solib.h". | |
1623 | (i386nto_init_abi): Use set_solib_ops instead of overwriting | |
1624 | current_target_so_ops members. | |
1625 | * solist.h (TARGET_SO_RELOCATE_SECTION_ADDRESSES): Remove. | |
1626 | (TARGET_SO_FIND_AND_OPEN_SOLIB): Remove. | |
1627 | (TARGET_SO_IN_DYNSYM_RESOLVE_CODE): Remove. | |
1628 | * Makefile.in: Update dependencies. | |
1629 | ||
8d465389 UW |
1630 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
1631 | ||
1632 | * arm-wince-tdep.c: Include "solib.h" and "solib-target.h". | |
1633 | (arm_wince_init_abi): Call set_solib_ops. | |
1634 | * i386-cygwin-tdep.c: Include "solib.h" and "solib-target.h". | |
1635 | (i386_cygwin_init_abi): Call set_solib_ops. | |
1636 | * solib-target.c: Include "solib-target.h". | |
1637 | (solib_target_so_ops): Make global. | |
1638 | (_initialize_solib_target): Do not set current_target_so_ops. | |
1639 | * solib-target.h: New file. | |
1640 | * Makefile.in: Update dependencies. | |
1641 | ||
734598d9 UW |
1642 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
1643 | ||
1644 | * mips-irix-tdep.c: Include "gdb_string.h", "solib.h", "solib-irix.h". | |
1645 | (mips_irix_init_abi): Call set_solib_ops. | |
1646 | * solib-irix.c: Include "solib.h" and "solib-irix.h". | |
1647 | (irix_so_ops): Make global. | |
1648 | (_initialize_irix_solib): Do not set current_target_so_ops. | |
1649 | * solib-irix.h: New file. | |
1650 | * Makefile.in: Update dependencies. | |
1651 | ||
d542061a UW |
1652 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
1653 | ||
1654 | * configure.tgt: Remove hppa*64*-*-hpux11* special case. | |
1655 | * config/pa/hppa64.mt: Delete file. | |
1656 | * config/pa/hppahpux.mt (MT_CFLAGS): Remove. | |
1657 | (TDEPFILES): Move somread.o to ... | |
1658 | * config/pa/hpux.mh (NATDEPFILES): ... here. | |
1659 | ||
1660 | * configure.ac: Add check for elf_hp.h header. | |
1661 | Search libdl and libxpdl for dlgetmodinfo. | |
1662 | * config.in, configure: Regenerate. | |
1663 | * solib-pa64.c: Conditionalize compilation on #ifdef HAVE_ELF_HP_H | |
1664 | instead of #ifndef PA_SOM_ONLY. Include "solib.h". | |
1665 | (pa64_solib_select): Take gdbarch instead of tdep argument. Call | |
1666 | set_solib_ops instead of modifying current_target_so_ops. | |
1667 | * solib-pa64.h (pa64_solib_select): Update prototype. | |
1668 | * solib-som.c: Remove include of "som.h". Include "solib.h". | |
1669 | (som_solib_select): Take gdbarch instead of tdep argument. Call | |
1670 | set_solib_ops instead of modifying current_target_so_ops. | |
1671 | * solib-som.h (som_solib_select): Update prototype. | |
1672 | * hppa-hpux-tdep.c (hppa_hpux_som_init_abi): Pass gdbarch instead | |
1673 | of tdep to som_solib_select call. | |
1674 | (hppa_hpux_elf_init_abi): Pass gdbarch instead of tdep to | |
1675 | pa64_solib_select call. | |
1676 | * Makefile.in: Update dependencies. | |
1677 | ||
917630e4 UW |
1678 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
1679 | ||
1680 | * frv-tdep.c: Include "solib.h". | |
1681 | (frv_gdbarch_init): Call set_solib_ops. | |
1682 | * frv-tdep.h (struct target_so_ops): Add forward reference. | |
1683 | (frv_so_ops): Add extern declaration. | |
1684 | * solib-frv.c (frv_so_ops): Make global. | |
1685 | (_initialize_frv_solib): Do not set current_target_so_ops. | |
1686 | * Makefile.in: Update dependencies. | |
1687 | ||
e8a92f7b UW |
1688 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
1689 | ||
1690 | * solib.c (solib_global_lookup): Use solib_ops instead of global | |
1691 | current_target_so_ops. | |
1692 | ||
8ff7bac7 UW |
1693 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
1694 | ||
1695 | * config/frv/frv.mt (DEPRECATED_TM_FILE): Remove. | |
1696 | * config/frv-tm-frv.h: Delete file. | |
1697 | ||
523c4513 DJ |
1698 | 2007-10-24 Daniel Jacobowitz <dan@codesourcery.com> |
1699 | ||
1700 | * NEWS: Mention gdbserver support for non-libthread_db operation. | |
1701 | ||
83acabca DJ |
1702 | 2007-10-24 Daniel Jacobowitz <dan@codesourcery.com> |
1703 | ||
1704 | * amd64-tdep.c (amd64_convert_register_p): Delete. | |
1705 | (amd64_init_abi): Use i387_convert_register_p. | |
1706 | * alpha-tdep.c (alpha_convert_register_p): Return zero for | |
1707 | eight byte types. | |
1708 | (alpha_register_to_value, alpha_value_to_register): Do not handle | |
1709 | eight byte types. | |
1710 | * i386-tdep.c (i386_convert_register_p): Use i387_convert_register_p. | |
1711 | * i387-tdep.c (i387_convert_register_p): New. | |
1712 | (i387_register_to_value, i387_value_to_register): Update comments. | |
1713 | * i387-tdep.h (i387_convert_register_p): Declare. | |
1714 | * ia64-tdep.c (ia64_convert_register_p): Return zero for | |
1715 | builtin_type_ia64_ext. | |
1716 | (ia64_gdbarch_init): Do not initialize builtin_type_ia64_ext here. | |
1717 | (_initialize_ia64_tdep): Initialize builtin_type_ia64_ext here. | |
1718 | * m68k-tdep.c (m68k_convert_register_p): Return zero for | |
1719 | builtin_type_m68881_ext. | |
1720 | (m68k_register_to_value, m68k_value_to_register): Update comments. | |
1721 | ||
24bf05ac DJ |
1722 | 2007-10-24 Nathan Sidwell <nathan@codesourcery.com> |
1723 | ||
1724 | * target-memory.c (claim_memory): Propagate baton for split memory | |
1725 | requests. | |
1726 | ||
e71c308d DJ |
1727 | 2007-10-24 Pedro Alves <pedro_alves@portugalmail.pt> |
1728 | ||
1729 | PR gdb/2341 | |
1730 | * sol-thread.c (sol_thread_fetch_registers): Work around gcc 3.4 | |
1731 | alias warning bug. | |
1732 | ||
51432cca CES |
1733 | 2007-10-24 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
1734 | ||
1735 | * symtab.c (find_line_symtab): scan through psymtabs | |
1736 | when exact_match is zero. | |
1737 | ||
3d5f6d12 DJ |
1738 | 2007-10-23 Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
1739 | ||
1740 | * mips-tdep.c (LL_OPCODE, LLD_OPCODE, SC_OPCODE, SCD_OPCODE): Define. | |
1741 | (deal_with_atomic_sequence): New. | |
1742 | (mips_software_single_step): Use it. | |
1743 | ||
7b3200f9 DJ |
1744 | 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com> |
1745 | ||
1746 | PR gdb/2336 | |
1747 | * configure.ac: Modify $LIBINTL before the BFD check. | |
1748 | * configure: Regenerated. | |
1749 | ||
89ba75b1 JB |
1750 | 2007-10-23 Joel Brobecker <brobecker@adacore.com> |
1751 | ||
1752 | * buildsym.c (free_pending_blocks): Remove commented-out code. | |
1753 | (make_blockvector): Likewise. Re-use free_pending_blocks. | |
1754 | (end_symtab): Remove commented-out code. | |
1755 | ||
57ee890f DJ |
1756 | 2007-10-22 Daniel Jacobowitz <dan@codesourcery.com> |
1757 | ||
1758 | * top.c (command_loop): Fix output for shrinkage. | |
1759 | ||
44742d57 DJ |
1760 | 2007-10-22 Daniel Jacobowitz <dan@codesourcery.com> |
1761 | ||
1762 | * cp-name-parser.y (exp1): Add & ( var ) as a reference expression. | |
1763 | (exp): Remove and document function-like casts. | |
1764 | ||
f88e9fd3 DJ |
1765 | 2007-10-22 Daniel Jacobowitz <dan@codesourcery.com> |
1766 | ||
1767 | * cp-support.c: Include "safe-ctype.h". | |
1768 | (cp_already_canonical): New function. | |
1769 | (cp_canonicalize_string): Use it. Return NULL for already canonical | |
1770 | strings. | |
1771 | (mangled_name_to_comp): Update call to cp_demangled_name_to_comp. | |
1772 | (cp_func_name, remove_params): Likewise. | |
1773 | (cp_find_first_component_aux): Use ISSPACE. | |
1774 | * cp-support.h (cp_demangled_name_to_comp): Correct comment. Remove | |
1775 | MEMORY_P argument. | |
1776 | * cp-name-parser.y (ALLOC_CHUNK): Define. | |
1777 | (struct demangle_info): Add PREV and NEXT. Increase the size of | |
1778 | COMPS. | |
1779 | (d_grab): Convert to a function. | |
1780 | (allocate_info): Rewrite. | |
1781 | (cp_demangled_name_to_comp): Remove MEMORY argument. Do not use | |
1782 | strlen. Update call to allocate_info. Do not free it on failure. | |
1783 | (main): Update calls to cp_demangled_name_to_comp. | |
1784 | * Makefile.in (cp-support.o): Update. | |
1785 | ||
e9a4730f UW |
1786 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
1787 | ||
1788 | * std-regs.c (value_of_builtin_frame_fp_reg) | |
1789 | value_of_builtin_frame_pc_reg, value_of_builtin_frame_sp_reg) | |
1790 | value_of_builtin_frame_ps_reg): Use get_frame_arch to get at the | |
1791 | current architecture by frame_info. | |
1792 | ||
6bcde365 UW |
1793 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
1794 | ||
1795 | * reggroups.c (default_register_reggroup_p): Replace current_gdbarch | |
1796 | by gdbarch. | |
1797 | ||
a4bd449d UW |
1798 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
1799 | ||
1800 | * infcmd.c (default_print_registers_info, print_return_value) | |
1801 | (print_vector_info, print_float_info): Replace current_gdbarch by | |
1802 | gdbarch. | |
1803 | (registers_info): Use get_frame_arch to get at the current | |
1804 | architecture by frame_info. | |
1805 | ||
e071d1f6 UW |
1806 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
1807 | ||
1808 | * i387-tdep.c (i387_collect_fsave, i387_collect_fxsave): Use | |
1809 | get_regcache_arch to get at the current architecture by regcache. | |
1810 | ||
f8d29908 UW |
1811 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
1812 | ||
1813 | * target.c (debug_print_register): Use get_regcache_arch to get at the | |
1814 | current architecture by regcache. | |
1815 | ||
39cbfefa DJ |
1816 | 2007-10-21 Daniel Jacobowitz <dan@codesourcery.com> |
1817 | ||
1818 | * dwarf2read.c (read_file_scope): Add a comment. | |
1819 | (dwarf2_add_field, dwarf2_add_member_fn, read_structure_type) | |
1820 | (read_enumeration_type, process_enumeration_scope, read_array_type) | |
1821 | (read_typedef, read_base_type, read_subrange_type) | |
1822 | (read_unspecified_type): Use dwarf2_name. | |
1823 | ||
fe3e1990 DJ |
1824 | 2007-10-21 Daniel Jacobowitz <dan@codesourcery.com> |
1825 | ||
1826 | * coffread.c (coff_symfile_finish): Call dwarf2_free_objfile. | |
1827 | * dwarf2read.c (dwarf2_free_objfile): New. | |
1828 | * elfread.c (elf_symfile_finish): Call dwarf2_free_objfile. | |
1829 | * symfile.h (dwarf2_free_objfile): Declare. | |
1830 | ||
261224b2 JB |
1831 | 2007-10-21 Joel Brobecker <brobecker@adacore.com> |
1832 | ||
1833 | * hppa-hpux-nat.c (hppa_hpux_store_register): Add missing semi-colon. | |
1834 | ||
9274a07c LM |
1835 | 2007-10-21 Luis Machado <luisgpm@br.ibm.com> |
1836 | ||
1837 | * rs6000-tdep.c (ppc_dwarf2_frame_init_reg): New function. | |
1838 | * (rs6000_gdbarch_init): Install ppc_dwarf2_frame_init_reg as | |
1839 | default dwarf2_frame_set_init_reg function. | |
1840 | ||
430ebac9 PA |
1841 | 2007-10-21 Pedro Alves <pedro_alves@portugalmail.pt> |
1842 | ||
1843 | * NEWS: Mention native MinGW configuration. | |
1844 | ||
97030eea UW |
1845 | 2007-10-19 Ulrich Weigand <uweigand@de.ibm.com> |
1846 | ||
1847 | * gdbarch.sh: Remove "macro" column of input table. Remove handling | |
1848 | of "macro" column throughout the file. Remove (empty) "macro" entry | |
1849 | of all gdbarch functions. | |
1850 | ||
203c3895 UW |
1851 | 2007-10-19 Ulrich Weigand <uweigand@de.ibm.com> |
1852 | ||
1853 | * gdbarch.sh (sofun_address_maybe_missing): New gdbarch variable. | |
1854 | * gdbarch.c, gdbarch.h: Regenerate. | |
1855 | * dbxread.c (find_stab_function_addr): Define unconditionally. | |
1856 | (read_dbx_symtab): Use gdbarch_sofun_address_maybe_missing | |
1857 | instead of SOFUN_ADDRESS_MAYBE_MISSING. | |
1858 | (end_psymtab): Likewise. | |
1859 | (process_one_symbol): Likewise. | |
1860 | * mdebugread.c (parse_partial_symbols): Likewise. | |
1861 | ||
1862 | * symtab.h (struct minimal_symbol): Always define "filename" member. | |
1863 | * elfread.c (elf_symtab_read): Use msym->filename unconditionally. | |
1864 | * minsyms.c (lookup_minimal_symbol): Likewise. | |
1865 | * symmisc.c (dump_msymbols): Likewise. | |
1866 | ||
1867 | * config/i386/i386sol2.mt (DEPRECATED_TM_FILE): Remove. | |
1868 | * config/i386/linux.mt (DEPRECATED_TM_FILE): Remove. | |
1869 | * config/i386/tm-i386sol2.h: Remove file. | |
1870 | * config/i386/tm-linux.h: Remove file. | |
1871 | * i386-linux-tdep.c (i386_linux_init_abi): Add call to | |
1872 | set_gdbarch_sofun_address_maybe_missing. | |
1873 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
1874 | ||
1875 | * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Remove. | |
1876 | * config/powerpc/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
1877 | * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Remove. | |
1878 | * config/powerpc/ppc-eabi.mt (DEPRECATED_TM_FILE): Remove. | |
1879 | * config/powerpc/ppc-sim.mt (DEPRECATED_TM_FILE): Remove. | |
1880 | * config/powerpc/tm-ppc-eabi.h: Remove file. | |
1881 | * rs6000-tdep.c (rs6000_gdbarch_init): Add call to | |
1882 | set_gdbarch_sofun_address_maybe_missing. | |
1883 | ||
1884 | * config/sparc/sol2-64.mt (DEPRECATED_TM_FILE): Remove. | |
1885 | * config/sparc/sol2.mt (DEPRECATED_TM_FILE): Remove. | |
1886 | * config/sparc/tm-sol2.h: Remove file. | |
1887 | * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Add call to | |
1888 | set_gdbarch_sofun_address_maybe_missing. | |
1889 | * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Likewise. | |
1890 | ||
149ad273 UW |
1891 | 2007-10-19 Ulrich Weigand <uweigand@de.ibm.com> |
1892 | ||
1893 | * gdbarch.sh (static_transform_name): New gdbarch callback. | |
1894 | * gdbarch.c, gdbarch.h: Regenerate. | |
1895 | * dbxread.c (read_dbx_symtab): Use gdbarch_static_transform_name | |
1896 | instead of STATIC_TRANSFORM_NAME. | |
1897 | * mdebugread.c (parse_partial_symbols): Likewise. | |
1898 | * stabsread.c (define_symbol): Likewise. | |
1899 | * xcoffread.c (scan_xcoff_symtab): Likewise. | |
1900 | ||
1901 | * config/i368/tm-i386sol2.h (STATIC_TRANSFORM_NAME): Remove. | |
1902 | (IS_STATIC_TRANSFORM_NAME): Remove. | |
1903 | * i386-tdep.c (sunpro_static_transform_name): Remove, move to ... | |
1904 | * i386-sol2-tdep.c (i386_sol2_static_transform_name): ... here. | |
1905 | (i386_sol2_init_abi): Install it. | |
1906 | ||
1907 | * config/sparc/tm-sol2.h (STATIC_TRANSFORM_NAME): Remove. | |
1908 | (IS_STATIC_TRANSFORM_NAME): Remove. | |
1909 | * sparc-tdep.c (sparc_stabs_unglobalize_name): Remove, move to ... | |
1910 | * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): ... here. | |
1911 | (sparc32_sol2_init_abi): Install it. | |
1912 | * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Likewise. | |
1913 | * sparc-tdep.h (sparc_sol2_static_transform_name): Add prototype. | |
1914 | ||
ba32f989 DJ |
1915 | 2007-10-18 Daniel Jacobowitz <dan@codesourcery.com> |
1916 | ||
1917 | * mips-tdep.c (mips_xfer_register): Take a gdbarch argument. | |
1918 | (mips_n32n64_return_value, mips_o32_return_value) | |
1919 | (mips_o64_return_value): Update calls to mips_xfer_register. | |
1920 | ||
11411de3 DJ |
1921 | 2007-10-17 Daniel Jacobowitz <dan@codesourcery.com> |
1922 | ||
1923 | * frame.c (frame_unwind_unsigned_register): Delete. | |
1924 | (frame_sp_unwind): Use frame_unwind_register_unsigned instead. | |
1925 | * frame.h (frame_unwind_unsigned_register): Delete prototype. | |
1926 | ||
1927 | * alpha-linux-tdep.c, alpha-mdebug-tdep.c, alpha-tdep.c, | |
1928 | avr-tdep.c, cris-tdep.c, frv-tdep.c, m68hc11-tdep.c, mn10300-tdep.c, | |
1929 | mt-tdep.c: Replace frame_unwind_unsigned_register with | |
1930 | frame_unwind_register_unsigned. | |
1931 | ||
10325bc5 PA |
1932 | 2007-10-16 Pedro Alves <pedro_alves@portugalmail.pt> |
1933 | ||
1934 | * config/i386/mingw.mh, config/i386/mingw.mt: New files. | |
1935 | * configure.tgt (i[34567]86-*-mingw32*): Set gdb_target = mingw. | |
1936 | * win32-nat.c: Only include cygwin.h on Cygwin host. Don't | |
1937 | include procfs.h. | |
1938 | (cygwin_load_start, cygwin_load_end, cygwin_exceptions): Disable | |
1939 | if not building on Cygwin. | |
1940 | (win32_make_so, handle_output_debug_string, handle_exception) | |
1941 | (do_initial_win32_stuff): Wrap Cygwin specific code in __CYGWIN__. | |
1942 | (win32_attach): Only fallback to Cygwin pids if building on | |
1943 | Cygwin. | |
1944 | (win32_pid_to_exec_file): Disable Cygwin specific code, if not | |
1945 | building on Cygwin. | |
1946 | (win32_create_inferior): Disable starting the inferior through a | |
1947 | shell, environment var processing and tty handling if not building | |
1948 | on Cygwin. | |
1949 | (cygwin_pid_to_str): Rename to ... | |
1950 | (win32_pid_to_str): ... this. | |
1951 | (init_win32_ops): Update use of win32_pid_to_str. Disable "shell" | |
1952 | and "cygwin-exceptions" commands if not building on Cygwin. | |
1953 | ||
844781a1 GM |
1954 | 2007-10-16 Gaius Mulley <gaius@glam.ac.uk> |
1955 | ||
1956 | * doc/gdb.texinfo: Add TSIZE definition, removed | |
1957 | statement about unbounded arrays being unimplemented. | |
1958 | * m2-valprint.c (m2_print_array_contents): New function. | |
1959 | (m2_print_unbounded_array): New function. | |
1960 | (m2_print_array_contents): New function. | |
1961 | * m2-typeprint.c (m2_unbounded_array): New function. | |
1962 | (m2_is_unbounded_array): New function. | |
1963 | (m2_print_type): Test for unbounded array when walking | |
1964 | across structs. | |
1965 | * m2-lang.h: Added extern m2_is_unbounded_array. | |
1966 | * m2-lang.c (evaluate_subexp_modula2): New function. | |
1967 | (exp_descriptor_modula2): New structure. | |
1968 | (m2_language_defn): Use exp_descriptor_modula2. | |
1969 | * m2-exp.y: Added TSIZE and binary subscript. | |
1970 | ||
62c018fe DJ |
1971 | 2007-10-16 Daniel Jacobowitz <dan@codesourcery.com> |
1972 | ||
1973 | * mi/mi-main.c (captured_mi_execute_command): Clear mi_error_message | |
1974 | after freeing it. | |
1975 | ||
9ffbf372 KB |
1976 | 2007-10-16 Kevin Buettner <kevinb@redhat.com> |
1977 | ||
1978 | * m32r-tdep.c (decode_prologue): Sign extend offset for | |
1979 | "addi sp, xx" case. | |
1980 | (m32r_frame_unwind_cache): Likewise. | |
1981 | ||
6a16c029 TJB |
1982 | 2007-10-15 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1983 | ||
1984 | * rs6000-tdep.c (skip_prologue): Restore comment with | |
1985 | function description to its proper place. | |
1986 | ||
d71340b8 DJ |
1987 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
1988 | ||
1989 | * NEWS: Mention gdbserver PowerPC improvements. | |
1990 | ||
30ed0a8f DJ |
1991 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
1992 | ||
1993 | * features/Makefile (WHICH): Add PowerPC register definitions. | |
1994 | (rs6000/powerpc-32-expedite, rs6000/powerpc-e500-expedite) | |
1995 | (rs6000/powerpc-64-expedite): New macros. | |
1996 | ($(outdir)/%.dat): Handle subdirectories. | |
1997 | * regformats/rs6000/powerpc-32.dat, regformats/rs6000/powerpc-64.dat, | |
1998 | regformats/rs6000/powerpc-e500.dat: New generated files. | |
1999 | ||
310a98e1 DJ |
2000 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
2001 | ||
2002 | * ppc-linux-nat.c (ppc_linux_read_description): New. | |
2003 | (_initialize_ppc_linux_nat): Set to_read_description. | |
2004 | * ppc-tdep.h (tdesc_powerpc_e500): Declare. | |
2005 | ||
7cc46491 DJ |
2006 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
2007 | ||
2008 | * NEWS: Document target described register support for PowerPC. | |
2009 | * ppc-tdep.h: Remove ppc_spr constants. | |
2010 | (struct gdbarch_tdep): Remove regs, ppc_sr0_regnum, and | |
2011 | ppc_builtin_type_vec128 members. | |
2012 | (PPC_R0_REGNUM, PPC_F0_REGNUM, PPC_PC_REGNUM, PPC_MSR_REGNUM) | |
2013 | (PPC_CR_REGNUM, PPC_LR_REGNUM, PPC_CTR_REGNUM, PPC_XER_REGNUM) | |
2014 | (PPC_FPSCR_REGNUM, PPC_MQ_REGNUM, PPC_SPE_UPPER_GP0_REGNUM) | |
2015 | (PPC_SPE_ACC_REGNUM, PPC_SPE_FSCR_REGNUM, PPC_VR0_REGNUM) | |
2016 | (PPC_VSCR_REGNUM, PPC_VRSAVE_REGNUM, PPC_NUM_REGS): New constants. | |
2017 | * rs6000-tdep.c: Include preparsed descriptions. | |
2018 | (init_sim_regno_table): Do not iterate over pseudo registers. | |
2019 | Look up segment registers by name. Use sim_spr_register_name | |
2020 | for SPRs. | |
2021 | (rs6000_register_sim_regno): Call init_sim_regno_table here. | |
2022 | (rs6000_builtin_type_vec128): Delete. | |
2023 | (rs6000_register_name): Only handle SPE pseudo registers and upper | |
2024 | halves. Call tdesc_register_name for everything else. | |
2025 | (rs6000_register_type): Delete. Replace with... | |
2026 | (rs6000_pseudo_register_type): ...this new function. Only handle | |
2027 | SPE pseudo registers. | |
2028 | (rs6000_register_reggroup_p): Delete. Replace with... | |
2029 | (rs6000_pseudo_register_reggroup_p): ...this new function. Only | |
2030 | handle SPE pseudo registers. | |
2031 | (rs6000_convert_register_p): Use ppc_fp0_regnum instead of | |
2032 | "struct reg". | |
2033 | (rs6000_register_to_value, rs6000_value_to_register): Remove check | |
2034 | of reg->fpr. | |
2035 | (e500_register_reggroup_p): Delete. | |
2036 | (STR, R, R4, R8, R16, F, P8, R32, R64, R0, A4, S, S4, SN4, S64) | |
2037 | (COMMON_UISA_REGS, PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS) | |
2038 | (PPC_SEGMENT_REGS, PPC_OEA_SPRS, PPC_ALTIVEC_REGS, PPC_SPE_GP_REGS) | |
2039 | (PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): Delete macros. | |
2040 | (registers_powerpc, registers_403, registers_403GC, registers_505) | |
2041 | (registers_860, registers_601, registers_602, registers_603) | |
2042 | (registers_604, registers_750, registers_7400, registers_e500): Delete | |
2043 | variables. | |
2044 | (struct variant): Delete nregs, npregs, num_tot_regs, and regs. Add | |
2045 | tdesc. | |
2046 | (tot_num_registers, num_registers, num_pseudo_registers): Delete. | |
2047 | (variants): Delete outdated comment. Use standard target descriptions | |
2048 | instead of "struct reg" arrays. | |
2049 | (init_variants): Delete. | |
2050 | (rs6000_gdbarch_init): Do not guess word size from the BFD | |
2051 | architecture if we have a target description. Select a variant | |
2052 | before creating a new architecture. Use the variant's target | |
2053 | description if the target did not define a register layout. | |
2054 | Validate target-supplied registers. Reject mismatches. Use | |
2055 | fixed register numbers and new constants instead of magic | |
2056 | numbers. Call set_gdbarch_ps_regnum. Call tdesc_use_registers. | |
2057 | (_initialize_rs6000_tdep): Initialize the preparsed target | |
2058 | descriptions. | |
2059 | * target-descriptions.c (tdesc_predefined_types): Add int128 and | |
2060 | uint128. | |
2061 | (tdesc_find_register_early): New function. | |
2062 | (tdesc_numbered_register): Use it. | |
2063 | (tdesc_register_size): New function. | |
2064 | (tdesc_use_registers): Take a target_desc argument. Do not use | |
2065 | gdbarch_target_desc. | |
2066 | * target-descriptions.h (tdesc_use_registers): Update prototype | |
2067 | and comment. | |
2068 | (tdesc_register_size): New prototype. | |
2069 | * Makefile.in (powerpc_32_c, powerpc_403_c, powerpc_403gc_c) | |
2070 | (powerpc_505_c, powerpc_601_c, powerpc_602_c, powerpc_603_c) | |
2071 | (powerpc_604_c, powerpc_64_c, powerpc_7400_c, powerpc_750_c) | |
2072 | (powerpc_860_c, powerpc_e500_c, rs6000_c): New macros. | |
2073 | (rs6000-tdep.o): Update. | |
2074 | * arm-tdep.c (arm_gdbarch_init): Update call to tdesc_use_registers. | |
2075 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
2076 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
2077 | ||
324300c0 DJ |
2078 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
2079 | ||
2080 | * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c, | |
2081 | features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c, | |
2082 | features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c, | |
2083 | features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c, | |
2084 | features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c, | |
2085 | features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c, | |
2086 | features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: New | |
2087 | generated files. | |
2088 | ||
8dc35b87 DJ |
2089 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
2090 | ||
2091 | * features/rs6000/power-altivec.xml, features/rs6000/power-core.xml, | |
2092 | features/rs6000/power-fpu.xml, features/rs6000/power-oea.xml, | |
2093 | features/rs6000/power-spe.xml, features/rs6000/power64-core.xml: New | |
2094 | feature descriptions for standard PowerPC register sets. | |
2095 | ||
2096 | * features/rs6000/powerpc-32.xml, features/rs6000/powerpc-403.xml, | |
2097 | features/rs6000/powerpc-403gc.xml, features/rs6000/powerpc-505.xml, | |
2098 | features/rs6000/powerpc-601.xml, features/rs6000/powerpc-602.xml, | |
2099 | features/rs6000/powerpc-603.xml, features/rs6000/powerpc-604.xml, | |
2100 | features/rs6000/powerpc-64.xml, features/rs6000/powerpc-7400.xml, | |
2101 | features/rs6000/powerpc-750.xml, features/rs6000/powerpc-860.xml, | |
2102 | features/rs6000/powerpc-e500.xml, features/rs6000/rs6000.xml: New | |
2103 | target descriptions for PowerPC processors. | |
2104 | ||
81adfced DJ |
2105 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
2106 | ||
2107 | * target-descriptions.c (tdesc_predefined_types): New. | |
2108 | (tdesc_named_type): Use it. | |
2109 | (tdesc_type_id, maint_print_c_tdesc_cmd): New functions. | |
2110 | (_intialize_target_descriptions): Register "maint print c-tdesc". | |
2111 | * features/Makefile (XMLTOC, CFILES, GDB): New macros. | |
2112 | (cfiles, %.c): New rules. | |
2113 | * features/arm-with-iwmmxt.c, features/mips-linux.c, | |
2114 | features/mips64-linux.c: New generated files. | |
2115 | ||
2116 | * arm-linux-nat.c: Include preparsed description instead of | |
2117 | "xml-support.h". | |
2118 | (super_xfer_partial, arm_linux_xfer_partial): Remove. | |
2119 | (arm_linux_read_description): New function. | |
2120 | (_initialize_arm_linux_nat): Set to_read_description instead of | |
2121 | to_xfer_partial. Initialize preparsed description. | |
2122 | * config/arm/linux.mh (TDEP_XML): Delete. | |
2123 | * mips-linux-nat.c: Include preparsed descriptions instead of | |
2124 | "xml-support.h". | |
2125 | (super_xfer_partial, mips_linux_xfer_partial): Remove. | |
2126 | (mips_linux_read_description): New function. | |
2127 | (_initialize_mips_linux_nat): Set to_read_description instead of | |
2128 | to_xfer_partial. Initialize preparsed description. | |
2129 | * config/mips/linux.mh (TDEP_XML): Delete. | |
2130 | * Makefile.in (XMLFILES): Remove $(TDEP_XML). | |
2131 | (features_headers, arm_with_iwmmxt_c, mips_linux_c) | |
2132 | (mips64_linux_c): New macros. | |
2133 | (arm-linux-nat.o, mips-linux-nat.o): Update. | |
2134 | ||
0dfdb8ba PM |
2135 | 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr> |
2136 | ||
2137 | * cp-abi.c (set_cp_abi_as_auto_default): ARI fix: | |
2138 | Replace xasprintf by xstrprintf. | |
2139 | symfile-mem.c (add_vsyscall_page): Ditto. | |
2140 | ||
2685572f UW |
2141 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2142 | ||
2143 | * ia64-linux-nat.c (ia64_register_addr): Add gdbarch parameter, | |
2144 | replacing use of global current_gdbarch. | |
2145 | (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise. | |
2146 | (ia64_linux_fetch_register, ia64_linux_store_register): Update callers. | |
2147 | ||
2148 | * ia64-tdep.c (SIGCONTEXT_REGISTER_ADDRESS): Remove macro. | |
2149 | (ia64_sigtramp_frame_init_saved_regs): Add next_frame parameter, | |
2150 | replace uses of SIGCONTEXT_REGISTER_ADDRESS. | |
2151 | (ia64_sigtramp_frame_cache): Update caller. | |
2152 | ||
c1874924 UW |
2153 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2154 | ||
2155 | * gdbarch.sh (deprecated_use_struct_convention): Remove. | |
2156 | (extract_return_value, store_return_value): Remove. | |
2157 | (return_value): Remove default implementation. | |
2158 | * gdbarch.c, gdbarch.h: Regenerate. | |
2159 | ||
2160 | * stack.c (return_command): Remove compatibility hack. | |
2161 | * arch-utils.c (legacy_return_value): Remove. | |
2162 | * arch-utils.h (legacy_return_value): Likewise. | |
2163 | ||
2164 | * arch-utils.c (always_use_struct_convention): Remove. | |
2165 | * arch-utils.h (always_use_struct_convention): Likewise. | |
2166 | * value.c (generic_use_struct_convention): Remove. | |
2167 | * defs.h (generic_use_struct_convention): Likewise. | |
2168 | ||
4c8b6ae0 UW |
2169 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2170 | ||
2171 | * avr-tdep.c (avr_return_value): New function. | |
2172 | (avr_gdbarch_init): Call set_gdbarch_return_value instead of | |
2173 | set_gdbarch_extract_return_value. | |
2174 | ||
2175 | * fvr-tdep.c (frv_return_value): New function. | |
2176 | (frv_gdbarch_init): Call set_gdbarch_return_value instead of | |
2177 | set_gdbarch_extract_return_value, set_gdbarch_store_return_value, | |
2178 | and set_gdbarch_deprecated_use_struct_convention. | |
2179 | ||
2180 | * ia64-tdep.c (ia64_use_struct_convention): Make static. | |
2181 | Add check for structure, union, or array types. | |
2182 | (ia64_extract_return_value): Make static. | |
2183 | (ia64_store_return_value): Make static. Support multi-word values. | |
2184 | (ia64_return_value): New function. | |
2185 | (ia64_gdbarch_init): Call set_gdbarch_return_value instead of | |
2186 | set_gdbarch_extract_return_value, set_gdbarch_store_return_value, | |
2187 | and set_gdbarch_deprecated_use_struct_convention. | |
2188 | ||
899cff7a JB |
2189 | 2007-10-12 Joel Brobecker <brobecker@adacore.com> |
2190 | ||
2191 | * solib-target.c (solib_target_parse_libraries) | |
2192 | [HAVEHAVE_LIBEXPAT not defined]: Fix thinko in return type. | |
2193 | ||
d41ebd5d JB |
2194 | 2007-10-12 Jim Blandy <jimb@codesourcery.com> |
2195 | ||
2196 | * serial.h (struct serial_ops): Document read_prim to return zero | |
2197 | at EOF. | |
2198 | * ser-base.c (do_ser_base_readchar): Return SERIAL_EOF when | |
2199 | read_prim returns zero, not SERIAL_TIMEOUT. | |
2200 | ||
62f6180c UW |
2201 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2202 | ||
2203 | * alpha-mdebug-tdep.c: Include "gdb_string.h". | |
2204 | (find_proc_desc): Add fix-up code for setjmp procedure descriptor. | |
2205 | * mdebugread.c (parse_procedure): Remove setjmp fix-up code. | |
2206 | * Makefile.in (alpha-mdebug-tdep.o): Update dependencies. | |
2207 | ||
2208 | * config/alpha/alpha.mt (DEPRECATED_TM_FILE): Remove. | |
2209 | * config/alpha/alpha-linux.mt (DEPRECATED_TM_FILE): Remove. | |
2210 | * config/alpha/alpha-osf1.mt (DEPRECATED_TM_FILE): Remove. | |
2211 | * config/alpha/fbsd.mt (DEPRECATED_TM_FILE): Remove. | |
2212 | * config/alpha/tm-alpha.h: Remove file. | |
2213 | ||
ee53e872 UW |
2214 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2215 | ||
2216 | * breakpoint.c (breakpoint_sals_to_pc): Do not check for | |
2217 | DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE. | |
2218 | ||
2219 | * config/pa/tm-hppa.h: Delete file. | |
2220 | * config/pa/hppa64.mt: Do not set DEPRECATED_TM_FILE. | |
2221 | * config/pa/hppahpux.mt: Likewise. | |
2222 | * config/pa/hppa.mt: Likewise. | |
2223 | * config/pa/linux.mt: Likewise. | |
2224 | * hppa-tdep.c (hppa_pc_requires_run_before_use): Delete. | |
2225 | ||
3d5e6107 UW |
2226 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2227 | ||
2228 | * config/arm/nm-nbsdaout.h: Remove file. | |
2229 | * config/nm-nbsdaout.h: Likewise. | |
2230 | * config/nm-nbsd.h: Likewise. | |
2231 | ||
82585c72 UW |
2232 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2233 | ||
2234 | * block.h (struct block): Remove "gcc_compile_flag" member. | |
2235 | (BLOCK_GCC_COMPILED): Remove. | |
2236 | * block.c (allocate_block): Do not clear BLOCK_GCC_COMPILED. | |
2237 | * buildsym.c (finish_block): Do not set it. | |
2238 | * symmisc.c (dump_symtab_1): Do not dump it. | |
2239 | ||
2240 | * value.h (using_struct_return): Remove "gcc_p" argument. | |
2241 | * value.c (using_struct_return): Likewise. | |
2242 | * eval.c (evaluate_subexp_standard): Adapt callers. | |
2243 | * infcall.c (call_function_by_hand): Likewise. | |
2244 | * stack.c (return_command): Likewise. | |
2245 | * sparc-tdep.c (sparc32_push_dummy_code): Likewise. | |
2246 | ||
2247 | * gdbarch.sh (push_dummy_code): Remove "using_gcc" parameter. | |
2248 | * gdbarch.c, gdbarch.h: Regenerate. | |
2249 | * cris-tdep.c (cris_push_dummy_code): Adapt prototype. | |
2250 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Likewise. | |
2251 | * sparc-tdep.c (sparc32_push_dummy_code): Likewise. | |
2252 | * infcall.c (generic_push_dummy_code, push_dummy_code): Likewise. | |
2253 | (push_dummy_code, call_function_by_hand): Adapt callers. | |
2254 | ||
8f536afe UW |
2255 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2256 | ||
2257 | * infcmd.c (print_return_value): Remove STRUCT_RETURN argument. | |
2258 | (finish_command_continuation, finish_command): Adapt callers. | |
2259 | ||
f156e33b UW |
2260 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2261 | ||
2262 | * infcall.c (call_function_by_hand): Remove special handling | |
2263 | for HP aCC compiled code. | |
2264 | ||
f6e56ab3 UW |
2265 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
2266 | ||
2267 | * cris-tdep.c (cris_push_dummy_call): Support arguments passed by | |
2268 | reference. Fix endianness bugs. | |
2269 | (cris_reg_struct_has_address): Remove. | |
2270 | (cris_gdbarch_init): Remove set_gdbarch_deprecated_reg_struct_has_addr | |
2271 | and set_gdbarch_deprecated_use_struct_convention calls. | |
2272 | ||
2273 | * gdbarch.sh (deprecated_reg_struct_has_addr): Remove. | |
2274 | * gdbarch.c, gdbarch.h: Regenerate. | |
2275 | * infcall.c (call_function_by_hand): Remove handling of | |
2276 | deprecated_reg_struct_has_addr. | |
2277 | ||
b4c291bb KH |
2278 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
2279 | Kazu Hirata <kazu@codesourcery.com> | |
2280 | ||
2281 | * breakpoint.c (do_enable_breakpoint): Delay enabling until after | |
2282 | checking watchpoint resources. | |
2283 | ||
56cf5405 KH |
2284 | 2007-10-11 Kazu Hirata <kazu@codesourcery.com> |
2285 | ||
2286 | * memattr.c (inaccessible_by_default): Change the initial | |
2287 | value to 1. | |
2288 | ||
3b016d57 DJ |
2289 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
2290 | ||
2291 | PR gdb/2280 | |
2292 | * coffread.c (read_one_sym): Check for read errors. | |
2293 | ||
e9efe249 UW |
2294 | 2007-10-11 Ulrich Weigand <uweigand@de.ibm.com> |
2295 | ||
2296 | * linux-nat.c (lin_lwp_attach_lwp): Use "Linux kernel 2.6.19" | |
2297 | instead of "Linux 2.6.19" in comment. | |
2298 | (linux_xfer_partial): Use "GNU/Linux target" instead of | |
2299 | "Linux target" in comment. | |
2300 | * m68klinux-tdep.c (m68k_linux_inferior_created): Likewise. | |
2301 | (m68k_linux_get_sigtramp_info): Likewise. | |
2302 | ||
b33682a7 DJ |
2303 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
2304 | ||
2305 | * MAINTAINERS (language support): List Joel and Paul as | |
2306 | Ada maintainers. | |
2307 | ||
35156bae DJ |
2308 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
2309 | ||
2310 | * dbxread.c (process_one_symbol): Remove VARIABLES_INSIDE_BLOCK | |
2311 | checks. | |
2312 | * config/arm/embed.mt, config/arm/linux.mt, config/arm/wince.mt: Do | |
2313 | not set DEPRECATED_TM_FILE. | |
2314 | * config/arm/tm-arm.h: Delete file. | |
2315 | ||
3d47173c LM |
2316 | 2007-10-11 Luis Machado <luisgpm@br.ibm.com> |
2317 | ||
2318 | * MAINTAINERS (Write After Approval): Add self. | |
2319 | ||
607ae575 DJ |
2320 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
2321 | ||
2322 | * buildsym.c (record_line): Remove empty lines followed by | |
2323 | end-of-sequence markers. | |
2324 | ||
b8d5e0ac KH |
2325 | 2007-10-11 Kazu Hirata <kazu@codesourcery.com> |
2326 | ||
2327 | * configure.tgt: Recognize fido-*-elf. | |
2328 | ||
86f26d2f | 2329 | 2007-10-10 Joel Brobecker <brobecker@adacore.com> |
2330 | ||
2331 | GDB 6.7 released. | |
2332 | ||
7500260a UW |
2333 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
2334 | ||
2335 | * stack.c (print_frame_args, frame_info, return_command): Use | |
2336 | get_regcache_arch or get_frame_arch to get at the current architecture | |
2337 | by regcache or by frame, respectively. | |
2338 | ||
8b164abb UW |
2339 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
2340 | ||
2341 | * rs6000-nat.c (fetch_register, store_register) | |
2342 | (rs6000_fetch_inferior_registers, rs6000_store_inferior_registers): Use | |
2343 | get_regcache_arch to get at the current architecture by regcache. | |
2344 | ||
2345 | * rs6000-tdep.c (rs6000_push_dummy_call, rs6000_return_value) | |
2346 | (rs6000_register_reggroup_p, e500_move_ev_registe, rs6000_unwind_pc) | |
2347 | (rs6000_unwind_dummy_id, rs6000_frame_cache, rs6000_dump_tdep): Replace | |
2348 | current_gdbarch by gdbarch. | |
2349 | (rs6000_skip_trampoline_code, rs6000_register_to_value) | |
2350 | (rs6000_value_to_register): Use get_frame_arch to get at the current | |
2351 | architecture by frame_info. | |
2352 | ||
e6d4f032 UW |
2353 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
2354 | ||
2355 | * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow): Use | |
2356 | get_regcache_arch to get at the current architecture by regcache. | |
2357 | ||
2358 | * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset) | |
2359 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Use | |
2360 | get_regcache_arch to get at the current architecture by regcache. | |
2361 | ||
2362 | * sparc64nbsd-nat. (sparc64nbsd_supply_gregset) | |
2363 | (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset) | |
2364 | (sparc64nbsd_collect_fpregset): Use get_regcache_arch to get at the | |
2365 | current architecture by regcache. | |
2366 | ||
2eb4d78b UW |
2367 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
2368 | ||
2369 | * remote-mips.c (mips_wait, mips_fetch_registers) | |
2370 | (mips_store_registers): Use get_regcache_arch to get at the | |
2371 | current architecture by regcache. | |
2372 | ||
2373 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_fill_reg) | |
2374 | (mipsnbsd_supply_fpreg, mipsnbsd_fill_fpreg): Use get_regcache_arch to | |
2375 | get at the current architecture by regcache. | |
2376 | (mipsnbsd_sigtramp_offset): Use get_frame_arch to get at the current | |
2377 | architecture by frame_info. | |
2378 | ||
2379 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers) | |
2380 | (mipsnbsd_store_inferior_registers): Use get_regcache_arch to get at | |
2381 | the current architecture by regcache. | |
2382 | ||
2383 | * mips-linux-tdep.c (mips_linux_get_longjmp_target) | |
2384 | (mips64_linux_get_longjmp_target, mips_linux_o32_sigframe_init) | |
2385 | (mips_linux_n32n64_sigframe_init): Use get_frame_arch to get at the | |
2386 | current architecture by frame_info. | |
2387 | (supply_32bit_reg, mips_supply_gregset, mips_fill_gregset) | |
2388 | (mips_supply_fpregset, mips_fill_fpregset, supply_64bit_reg) | |
2389 | (mips64_supply_gregset, mips64_fill_gregset, mips64_supply_fpregset) | |
2390 | (mips64_fill_fpregset, mips_linux_write_pc): Use get_regcache_arch to | |
2391 | get at the current architecture by regcache. | |
2392 | ||
2393 | * mips-linux-nat.c (mips_linux_register_addr) | |
2394 | (mips64_linux_register_addr): Replace current_gdbarch by gdbarch. | |
2395 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset) | |
2396 | (mips64_linux_regsets_fetch_registers) | |
2397 | (mips64_linux_regsets_store_registers): Use get_regcache_arch to get at | |
2398 | the current architecture by regcache. | |
2399 | ||
2400 | * mips64obsd-tdep.c (mips64obsd_sigframe_init): Use get_frame_arch to | |
2401 | get at the current architecture by frame_info. | |
2402 | ||
72a155b4 UW |
2403 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
2404 | ||
2405 | * mips-tdep.c (mips_xfer_register): Use get_regcache_arch to get at the | |
2406 | current architecture by regcache. | |
2407 | (mips2_fp_compat, mips32_next_pc, mips16_scan_prologue) | |
2408 | (mips_insn16_frame_cache, mips32_scan_prologue, mips_insn32_frame_cache) | |
2409 | (mips_stub_frame_cache, mips_read_fp_register_single) | |
2410 | (mips_read_fp_register_double, mips_print_fp_register) | |
2411 | (mips_print_register, print_gp_register_row): Use get_frame_arch to get | |
2412 | at the current architecture by frame_info. | |
2413 | (mips_register_reggroup_p, mips_pseudo_register_read, mips_unwind_sp) | |
2414 | (mips_pseudo_register_write, mips_register_type, mips_unwind_pc) | |
2415 | (mips_unwind_dummy_id, mips_eabi_push_dummy_call) | |
2416 | (mips_n32n64_push_dummy_call, mips_n32n64_return_value) | |
2417 | (mips_o32_push_dummy_call, mips_o32_return_value) | |
2418 | (mips_o64_push_dummy_call, mips_o64_return_value) | |
2419 | (mips_print_registers_info, mips_dump_tdep): Replace current_gdbarch by | |
2420 | gdbarch. | |
2421 | ||
6b50c0b0 UW |
2422 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
2423 | ||
2424 | * xtensa-tdep.c (xtensa_register_type, xtensa_pseudo_register_read) | |
2425 | (xtensa_pseudo_register_write, xtensa_register_reggroup_p) | |
2426 | (xtensa_unwind_pc, xtensa_unwind_dummy_id, xtensa_push_dummy_call) | |
2427 | (xtensa_dump_tdep): Replace current_gdbarch by gdbarch. | |
2428 | (xtensa_register_write_masked, xtensa_register_read_masked) | |
2429 | (xtensa_supply_gregset, xtensa_store_return_value) | |
2430 | (xtensa_extract_return_value): Use get_regcache_arch to get at the | |
2431 | current architecture by regcache. | |
2432 | (xtensa_frame_cache, call0_frame_get_reg_at_entry, call0_frame_cache) | |
2433 | (xtensa_frame_prev_register): Use get_frame_arch to get at the current | |
2434 | architecture by frame_info. | |
2435 | ||
4be43953 DJ |
2436 | 2007-10-10 Daniel Jacobowitz <dan@codesourcery.com> |
2437 | ||
2438 | * arm-tdep.c (struct arm_prologue_cache): Remove frameoffset. | |
2439 | (thumb_analyze_prologue): Move pv_area_store_would_trash call | |
2440 | out of loop. Do not set cache->frameoffset. | |
2441 | (arm_scan_prologue): Use prologue-value mechanism. Do not set | |
2442 | frameoffset. Simplify framesize. | |
2443 | (arm_make_prologue_cache, arm_normal_frame_base): Do not use | |
2444 | frameoffset. | |
2445 | * arm-tdep.h (enum gdb_regnum): Add ARM_IP_REGNUM. | |
2446 | ||
b4b61fdb DJ |
2447 | 2007-10-10 Daniel Jacobowitz <dan@codesourcery.com> |
2448 | ||
2449 | * target.c (update_current_target): Call setup_target_debug. | |
2450 | (push_target): Do not call it here. | |
2451 | ||
8bb6c669 MS |
2452 | 2007-10-09 Michael Snyder <msnyder@specifix.com> |
2453 | ||
2454 | * MAINTAINERS: Update my email address. | |
2455 | ||
304fe255 UW |
2456 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
2457 | ||
2458 | * xtensa-tdep.c: Replace following current-gdbarch based macros by | |
2459 | their expression: | |
2460 | (xtensa_pseudo_register_read) | |
2461 | (xtensa_pseudo_register_write): XTENSA_TARGET_FLAGS. | |
2462 | (ARG_NOF, ARG_1ST, xtensa_extract_return_value) | |
2463 | (xtensa_store_return_value, xtensa_push_dummy_call): CALL_ABI. | |
2464 | (xtensa_pseudo_register_read) | |
2465 | (xtensa_pseudo_register_write): ISA_USE_WINDOWED_REGISTERS. | |
2466 | (xtensa_breakpoint_from_pc): ISA_USE_DENSITY_INSTRUCTIONS. | |
2467 | (xtensa_register_type, xtensa_supply_gregset, xtensa_frame_cache) | |
2468 | (xtensa_frame_prev_register): NUM_AREGS. | |
2469 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write, | |
2470 | (xtensa_supply_gregset, xtensa_frame_cache, xtensa_frame_prev_register, | |
2471 | (xtensa_extract_return_value, xtensa_store_return_value): WB_REGNUM. | |
2472 | (xtensa_supply_gregset, xtensa_frame_cache) | |
2473 | (xtensa_frame_prev_register): WS_REGNUM. | |
2474 | (xtensa_supply_gregset): LBEG_REGNUM, LEND_REGNUM, LCOUNT_REGNUM, | |
2475 | SAR_REGNUM, EXCCAUSE_REGNUM, EXCVADDR_REGNUM | |
2476 | (xtensa_register_name, xtensa_register_type, xtensa_reg_to_regnum) | |
2477 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write) | |
2478 | (xtensa_register_reggroup_p): REGMAP. | |
2479 | (call0_track_op): LITBASE_REGNUM. | |
2480 | (xtensa_register_type, xtensa_reg_to_regnum, call0_frame_cache):A0_BASE | |
2481 | (xtensa_supply_gregset, call0_frame_get_reg_at_entry) | |
2482 | (xtensa_frame_prev_register, AREG_NUMBER) | |
2483 | (xtensa_register_type): AR_BASE. | |
2484 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write): FP_ALIAS. | |
2485 | (AREG_NUMBER): AREGS_MASK, WB_MASK, A0_REGNUM. | |
2486 | (ARG_1ST, xtensa_pseudo_register_read, xtensa_pseudo_register_write) | |
2487 | (xtensa_frame_cache, xtensa_frame_prev_register) | |
2488 | (xtensa_extract_return_value, xtensa_store_return_value) | |
2489 | (xtensa_push_dummy_call, call0_frame_cache): A0_REGNUM. | |
2490 | (xtensa_register_type, xtensa_pseudo_register_read, xtensa_frame_cache) | |
2491 | (xtensa_pseudo_register_write, xtensa_unwind_dummy_id) | |
2492 | (xtensa_frame_prev_register, xtensa_push_dummy_call) | |
2493 | (call0_frame_cache): A1_REGNUM. | |
2494 | (xtensa_extract_return_value, xtensa_store_return_value): A2_REGNUM. | |
2495 | (xtensa_push_dummy_call): A4_REGNUM. | |
2496 | (ARGS_FIRST_REG): A6_REGNUM. | |
2497 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write) | |
2498 | (xtensa_frame_prev_register): A15_REGNUM. | |
2499 | * xtensa-tdep.h: Delete current_gdbarch based macros after replacing | |
2500 | them in the appropriate source file: | |
2501 | XTENSA_TARGET_FLAGS, SPILL_LOCATION, SPILL_SIZE, CALL_ABI, NUM_AREGS, | |
2502 | ISA_USE_WINDOWED_REGISTERS, ISA_USE_DENSITY_INSTRUCTIONS, WB_REGNUM, | |
2503 | ISA_USE_EXCEPTIONS, ISA_USE_EXT_L32R, DEBUG_DATA_VADDR_TRAP_COUNT, | |
2504 | DEBUG_INST_VADDR_TRAP_COUNT, ISA_MAX_INSN_SIZE, DEBUG_NUM_IBREAKS, | |
2505 | DEBUG_NUM_DBREAKS, WS_REGNUM, LBEG_REGNUM, LEND_REGNUM, SAR_REGNUM, | |
2506 | REGMAP, LITBASE_REGNUM, DEBUGCAUSE_REGNUM, EXCCAUSE_REGNUM, AR_BASE, | |
2507 | EXCVADDR_REGNUM, NUM_IBREAKS, REGMAP_BYTES, NUM_CONTEXTS, FP_ALIAS, | |
2508 | FP_LAYOUT, FP_LAYOUT_BYTES, GREGMAP, AREGS_MASK, WB_MASK, A0_REGNUM, | |
2509 | A1_REGNUM, A2_REGNUM, A3_REGNUM, A4_REGNUM, A5_REGNUM, A6_REGNUM, | |
2510 | A7_REGNUM, A8_REGNUM, A9_REGNUM, A10_REGNUM, A11_REGNUM, A12_REGNUM, | |
2511 | A13_REGNUM, A14_REGNUM, A15_REGNUM. | |
2512 | ||
ea78bae4 UW |
2513 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
2514 | ||
2515 | * h8300-tdep.c (h8300_frame_cache): Use get_frame_arch to get at | |
2516 | the current architecture by frame_info. | |
2517 | (h8300_frame_prev_register | |
2518 | (h8300_print_register): Replace current_gdbarch by gdbarch. | |
2519 | (h8300_print_registers_info, h8300_register_type) | |
2520 | (h8300_register_type): Likewise. | |
2521 | ||
875f8d0e UW |
2522 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
2523 | ||
2524 | * i386-linux-nat.c (fetch_register): Use get_regcache_arch to get at | |
2525 | the current architecture by regcache. | |
2526 | (store_register, supply_gregset, fill_gregset, i386_linux_resume) | |
2527 | (i386_linux_fetch_inferior_registers) | |
2528 | (i386_linux_store_inferior_registers): Likewise. | |
2529 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise. | |
2530 | * i386-nto-tdep.c (i386nto_supply_gregset): Likewise. | |
2531 | * i386v4-nat.c (supply_fpregset, fill_fpregset): Likewise. | |
2532 | * i386-tdep.c (i386_unwind_pc): Replace current_gdbarch by gdbarch. | |
2533 | (i386_extract_return_value, i386_store_return_value): Likewise. | |
2534 | * i386-tdep.c (i386_frame_prev_register): Use get_frame_arch to get at | |
2535 | the current architecture by frame_info. | |
2536 | (i386_sigtramp_frame_cache, i386_get_longjmp_target) | |
2537 | (i386_register_to_value, i386_value_to_register): Likewise. | |
2538 | ||
9b072297 UW |
2539 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
2540 | ||
2541 | * monitor.c (monitor_supply_register): Use get_regcache_arch to get at | |
2542 | the current architecture by regcache. | |
2543 | (monitor_store_register, monitor_store_registers): Likewise. | |
2544 | ||
e76e7474 UW |
2545 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
2546 | ||
2547 | * dbug-rom.c (dbug_supply_register): Use get_regcache_arch to get at | |
2548 | the current architecture by regcache. | |
2549 | ||
d4f91178 UW |
2550 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
2551 | ||
2552 | * arch-utils.c (legacy_return_value): Replace current_gdbarch by | |
2553 | gdbarch. | |
2554 | ||
b1bd0044 UW |
2555 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
2556 | ||
2557 | * frame.c (frame_pc_unwind): Use get_frame_arch to get at the current | |
2558 | architecture by frame. | |
2559 | (frame_save_as_regcache, frame_register_unwind, get_prev_frame_1) | |
2560 | (inside_main_func, frame_sp_unwind): Likewise. | |
2561 | ||
2ec9a4f8 DJ |
2562 | 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com> |
2563 | ||
2564 | * solib-svr4.c (enable_break): Add the dynamic linker also if | |
2565 | auxv succeeds. | |
2566 | ||
7068dd53 CES |
2567 | 2007-10-09 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
2568 | ||
2569 | * MAINTAINERS (Write After Approval): Add self. | |
2570 | ||
51e9e0d4 PA |
2571 | 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt> |
2572 | ||
2573 | * stabsread.c (read_huge_number): Initialize local variable to 0. | |
2574 | ||
cd6c7346 PM |
2575 | 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr> |
2576 | ||
2577 | * p-lang.h (pascal_main_name): Add declaration. | |
2578 | * p-lang.c (GPC_P_INITIALIZE, GPC_MAIN_PROGRAM_NAME_1) | |
2579 | (GPC_MAIN_PROGRAM_NAME_2): New constants. | |
2580 | (pascal_main_name): New function. | |
2581 | * symtab.c: Include p-lang.h. | |
2582 | (find_main_name): Add call to pascal_main_name. | |
2583 | * Makefile.in (symtab.o): Add dependency on p-lang.h. | |
2584 | ||
a2699720 PA |
2585 | 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt> |
2586 | ||
2587 | * stabsread.c (read_huge_number): Fix handling of octal | |
2588 | representation when the bit width is known. | |
2589 | (read_range_type): Record unsigned integral types with their size, | |
2590 | when the type size is known. | |
2591 | ||
e05ebff4 TJB |
2592 | 2007-10-08 Thiago Jung Bauermann <bauerman@br.ibm.com> |
2593 | ||
2594 | * MAINTAINERS (Write After Approval): Add self. | |
2595 | ||
0c6773c1 PM |
2596 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
2597 | ||
2598 | * breakpoint.c (print_one_breakpoint_location): ARI fix: | |
2599 | Replace asprintf by xstrprintf. | |
2600 | ||
91c06669 PM |
2601 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
2602 | ||
2603 | * linux-fork.c: ARI fix: include "gdb_dirent.h" instead of <dirent.h>. | |
2604 | Makefile.in (linux-fork.o): Add gdb_dirent.h dependency. | |
2605 | ||
3c61c145 PM |
2606 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
2607 | ||
2608 | * linux-fork.c: Move "gdb_wait.h" include back to the position of | |
2609 | <sys/wait.h> include before last commit. | |
2610 | ||
313628cc MR |
2611 | 2007-10-08 Maciej W. Rozycki <macro@mips.com> |
2612 | ||
2613 | * mips-tdep.c (mips32_next_pc): Fix a typo in BGTZL. | |
2614 | ||
c7f30c7a UW |
2615 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2616 | ||
2617 | * aix-thread.c (supply_gprs64, supply_fprs, supply_sprs64) | |
2618 | (supply_sprs32, fetch_regs_user_thread, fetch_regs_kernel_thread) | |
2619 | (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32) | |
2620 | (store_regs_user_thread, store_regs_kernel_thread): Use | |
2621 | get_regcache_arch or get_frame_arch to get at the current architecture | |
2622 | by regcache or by frame, respectively. | |
2623 | ||
58643501 UW |
2624 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2625 | ||
2626 | * sh64-tdep.c (sh64_push_dummy_call, sh64_register_type) | |
2627 | (sh64_pseudo_register_read, sh64_pseudo_register_write) | |
2628 | (sh64_do_fp_register, sh64_do_pseudo_register, sh64_do_register) | |
2629 | (sh64_print_register, sh64_media_print_registers_info) | |
2630 | (sh64_compact_print_registers_info, sh64_unwind_sp) | |
2631 | (sh64_unwind_pc): Replace current_gdbarch by gdbarch. | |
2632 | (sh64_show_media_regs, sh64_show_compact_regs, sh64_frame_cache) | |
2633 | (sh64_frame_prev_register): Use FRAME to recognize current | |
2634 | architecture. | |
2635 | ||
b47193f7 UW |
2636 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2637 | ||
2638 | * sh-tdep.c (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu) | |
2639 | (sh_sh2a_register_type, sh_sh3e_register_type, sh_sh4_register_type) | |
2640 | (sh_register_reggroup_p, sh_dwarf2_frame_init_reg): Replace | |
2641 | current_gdbarch by gdbarch. | |
2642 | (sh_generic_show_regs, sh3_show_reg, sh2e_show_regs, sh2a_show_regs) | |
2643 | (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs) | |
2644 | (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs, sh_frame_cache) | |
2645 | (sh_frame_prev_register, sh_unwind_sp, sh_unwind_pc): Use FRAME to | |
2646 | recognize current architecture. | |
2647 | ||
4a22f64d UW |
2648 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2649 | ||
2650 | * remote.c (init_remote_state, fetch_register_using_p) | |
2651 | (process_g_packet, remote_fetch_registers, remote_prepare_to_store) | |
2652 | (store_register_using_P, store_registers_using_G) | |
2653 | (remote_store_registers): Use get_regcache_arch or get_frame_arch to | |
2654 | get at the current architecture by regcache or by frame, respectively. | |
2655 | ||
c984b7ff UW |
2656 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2657 | ||
2658 | * m68k-tdep.c (m68k_register_to_value, m68k_value_to_register) | |
2659 | (m68k_svr4_extract_return_value, m68k_svr4_store_return_value) | |
2660 | (m68k_frame_prev_register, m68k_get_longjmp_target): Use | |
2661 | get_regcache_arch or get_frame_arch to get at the current architecture | |
2662 | by regcache or by frame, respectively. | |
2663 | * m68klinux-tdep.c (m68k_linux_sigtramp_frame_cache): Likewise. | |
2664 | * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers) | |
2665 | (store_register, old_store_inferior_registers, supply_gregset) | |
2666 | (supply_fpregset, fill_fpregset): Likewise. | |
2667 | * m68k-tdep.c (m68k_register_type, m68k_unwind_pc, m68k_dump_tdep): | |
2668 | Replace current_gdbarch by gdbarch. | |
2669 | ||
d611717a UW |
2670 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2671 | ||
2672 | * irix5-nat.c (supply_gregset, fill_gregset, supply_fpregset) | |
2673 | (fill_fpregset, fetch_core_registers): Use get_regcache_arch or | |
2674 | get_frame_arch to get at the current architecture by regcache or by | |
2675 | frame, respectively. | |
2676 | ||
088568da UW |
2677 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2678 | ||
2679 | * ia64-tdep.c (ia64_pseudo_register_read, ia64_pseudo_register_write): | |
2680 | Replace current_gdbarch by gdbarch. | |
2681 | * ia64-tdep.c (ia64_frame_prev_register | |
2682 | (ia64_sigtramp_frame_prev_register) | |
2683 | (ia64_libunwind_frame_prev_register): Use get_regcache_arch or | |
2684 | get_frame_arch to get at the current architecture by regcache or by | |
2685 | frame, respectively. | |
2686 | * ia64-linux-nat.c (ia64_linux_fetch_register) | |
2687 | (ia64_linux_fetch_registers, ia64_linux_store_register) | |
2688 | (ia64_linux_store_registers): Likewise. | |
2689 | ||
464963c9 UW |
2690 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2691 | ||
2692 | * hppa-tdep.c (hppa_stub_unwind_sniffer, hppa_dump_tdep): Replace | |
2693 | current_gdbarch by gdbarch. | |
2694 | * hppa-linux-nat.c (fetch_register, store_register) | |
2695 | (hppa_linux_fetch_inferior_registers) | |
2696 | (hppa_linux_store_inferior_registers): Use get_regcache_arch or | |
2697 | get_frame_arch to get at the current architecture by regcache or by | |
2698 | frame, respectively. | |
2699 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code | |
2700 | (hppa_hpux_unwind_adjust_stub): Likewise. | |
2701 | * hppa-hpux-nat.c (hppa_hpux_fetch_register, hppa_hpux_store_register) | |
2702 | (hppa_hpux_fetch_inferior_registers) | |
2703 | (hppa_hpux_store_inferior_registers): Likewise. | |
2704 | ||
7fbe2eba UW |
2705 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2706 | ||
2707 | * cris-tdep.c (cris_sigcontext_addr, cris_sigtramp_frame_unwind_cache) | |
2708 | (cris_scan_prologue, crisv32_scan_prologue, find_step_target) | |
2709 | (cris_software_single_step, cris_supply_gregset): Use get_regcache_arch | |
2710 | or get_frame_arch to get at the current architecture by regcache or by | |
2711 | frame, respectively. | |
2712 | * cris-tdep.c (crisv32_single_step_through_delay, cris_push_dummy_call) | |
2713 | (cris_unwind_pc, cris_unwind_sp, cris_register_type, cris_dump_tdep) | |
2714 | (crisv32_register_type, cris_dwarf2_frame_init_reg): Replace | |
2715 | current_gdbarch by gdbarch. | |
2716 | ||
2af46ca0 UW |
2717 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2718 | ||
2719 | * arm-tdep.c (arm_scan_prologue, arm_make_prologue_cache) | |
2720 | (thumb_get_next_pc, arm_get_next_pc, arm_extract_return_value) | |
2721 | (arm_store_return_value): Use get_regcache_arch or get_frame_arch to | |
2722 | get at the current architecture by regcache or by·frame, respectively. | |
2723 | (arm_push_dummy_call, arm_dump_tdep): Replace current_gdbarch by | |
2724 | gdbarch. | |
2725 | ||
2ae02b47 UW |
2726 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2727 | ||
2728 | * amd64-tdep.c (amd64_frame_prev_register, amd64_sigtramp_frame_cache): | |
2729 | Use get_regcache_arch or get_frame_arch to get at the current | |
2730 | architecture by regcache or by frame, respectively. | |
2731 | * amd64-linux-tdep.c (amd64_linux_sigcontext_addr): Likewise. | |
2732 | * amd64-nat.c (amd64_supply_native_gregset) | |
2733 | (amd64_collect_native_gregset): Replace current_gdbarch by gdbarch. | |
2734 | ||
ec7cc0e8 UW |
2735 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2736 | ||
2737 | * alpha-tdep.c (alpha_register_reggroup_p): Replace current_gdbarch by | |
2738 | gdbarch. | |
2739 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. | |
2740 | (alpha_sigtramp_frame_unwind_cache, alpha_sigtramp_frame_this_id) | |
2741 | (alpha_sigtramp_frame_sniffer, alpha_next_pc): Use get_regcache_arch or | |
2742 | get_frame_arch to get at the current architecture by regcache or by | |
2743 | frame, respectively. | |
2744 | * alpha-nat.c (fetch_osf_core_registers): Likewise. | |
2745 | ||
ad010def UW |
2746 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2747 | ||
2748 | * dwarf2-frame.c (read_reg, execute_cfa_program, dwarf2_frame_cache) | |
2749 | (dwarf2_frame_default_init_reg, dwarf2_frame_prev_register): Replace | |
2750 | current_gdbarch by gdbarch. | |
2751 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Likewise. | |
2752 | ||
214e098a UW |
2753 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2754 | ||
2755 | * regcache.c (init_regcache_descr, register_type, read_pc_pid) | |
2756 | (write_pc_pid, regcache_dump): Replace current_gdbarch by gdbarch. | |
2757 | * regcache.c (regcache_raw_write): Use get_regcache_arch or | |
2758 | get_frame_arch to get at the current architecture by regcache or by | |
2759 | frame, respectively. | |
2760 | ||
e9e45075 UW |
2761 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
2762 | ||
2763 | * findvar.c (value_of_register, locate_var_value): Use | |
2764 | get_regcache_arch or get_frame_arch to get at the current architecture | |
2765 | by regcache or by frame, respectively. | |
2766 | * findvar.c (default_value_from_register, value_from_register): Replace | |
2767 | current_gdbarch by gdbarch. | |
2768 | ||
136855cd PM |
2769 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
2770 | ||
2771 | * config/i386/nm-i386.h (CHILD_POST_STARTUP_INFERIOR): ARI fix: Remove. | |
2772 | ||
cdf43007 PM |
2773 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
2774 | ||
2775 | * linux-fork.c: ARI fix: include "gdb_wait.h" instead of <sys/wait.h>. | |
2776 | Makefile.in (linux-fork.o): Add gdb_wait.h dependency. | |
2777 | ||
9ef895d6 DJ |
2778 | 2007-10-05 Daniel Jacobowitz <dan@codesourcery.com> |
2779 | ||
2780 | * remote.c (get_offsets): Only call free_symfile_segment_data if | |
2781 | data was allocated. | |
2782 | ||
cada2e7b PM |
2783 | 2007-10-03 Pierre Muller <muller@ics.u-strasbg.fr> |
2784 | ||
2785 | * objc-exp.y: ARI fix: remove 4 PARAMS. | |
2786 | ||
8d5f9c6f DJ |
2787 | 2007-10-03 Daniel Jacobowitz <dan@codesourcery.com> |
2788 | ||
2789 | * NEWS: Use uniform spacing. Correct version number for GDB 6.7 | |
2790 | news. Mention XML support for M68K in GDB 6.7. | |
2791 | ||
1969d2ed DJ |
2792 | 2007-10-03 Daniel Jacobowitz <dan@codesourcery.com> |
2793 | ||
2794 | * gdbtypes.c (create_range_type): Do not set TYPE_FIELD_TYPE for the | |
2795 | bounds. | |
2796 | (init_vector_type): Use builtin_type_int32. | |
2797 | ||
e31dcd20 UW |
2798 | 2007-10-02 Ulrich Weigand <uweigand@de.ibm.com> |
2799 | ||
2800 | * s390-tdep.c (s390_regset_from_core_section): Allow excess section | |
2801 | size to enable bi-arch generate-core-file support. | |
2802 | ||
b94c4f7d UW |
2803 | 2007-10-02 Markus Deuling <deuling@de.ibm.com> |
2804 | ||
2805 | * spu-tdep.c (info_spu_signal_command): Fix output for SPU signal. | |
2806 | ||
9612b5ec UW |
2807 | 2007-10-02 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
2808 | ||
2809 | * tui/tui-interp.c (tui_init): Initialize tui's SIGWINCH | |
2810 | signal handler. | |
2811 | * tui/tui-win.c (tui_initialize_win): New function for | |
2812 | initializing tui's SIGWINCH signal handler. | |
2813 | * tui/tui-win.h (tui_initialize_win): Declare. | |
2814 | ||
407f1a2e UW |
2815 | 2007-10-02 Ulrich Weigand <uweigand@de.ibm.com> |
2816 | ||
2817 | * ppc-linux-nat.c (ppc_linux_stopped_data_address): Cast | |
2818 | pointer to uintptr_t before casting to CORE_ADDR. | |
2819 | ||
02d3ff8c UW |
2820 | 2007-10-02 Markus Deuling <deuling@de.ibm.com> |
2821 | ||
2822 | * linux-nat.c (PTRACE_GETSIGINFO): Add define. | |
2823 | ||
4577549b DJ |
2824 | 2007-10-02 Mark Mitchell <mark@codesourcery.com> |
2825 | ||
2826 | * mingw-hdep.c (gdb_select): Stop helper threads before returning. | |
2827 | * ser-mingw.c (enum select_thread_state): New type. | |
2828 | (struct ser_console_state): Add have_started and thread_state. | |
2829 | (select_thread_wait): New function. | |
2830 | (thread_fn_type): New type. | |
2831 | (create_select_thread): New function. | |
2832 | (destroy_select_thread): Likewise. | |
2833 | (start_select_thread): Likewise. | |
2834 | (stop_select_thread): Likewise. | |
2835 | (console_select_thread): Use new functions. | |
2836 | (pipe_select_thread): Likewise. | |
2837 | (file_select_thread): Likewise. | |
2838 | (ser_console_wait_handle): Likewise. | |
2839 | (ser_console_done_wait_handle): Likewise. | |
2840 | (ser_console_close): Likewise. | |
2841 | (free_pipe_state): Likewise. | |
2842 | (pipe_wait_handle): Likewise. | |
2843 | (pipe_done_wait_handle): Likewise. | |
2844 | (struct net_windows_state): Derive from ser_console_state. | |
2845 | (net_windows_select_thread): Use new functions. | |
2846 | (net_windows_wait_handle): Likewise. | |
2847 | (net_windows_done_wait_handle): Likewise. | |
2848 | (net_windows_close): Likewise. | |
2849 | ||
b0b951d9 DJ |
2850 | 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com> |
2851 | ||
2852 | * inflow.c (terminal_ours_1): Remove useless line. | |
2853 | ||
82e91389 DJ |
2854 | 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com> |
2855 | ||
2856 | * mips-tdep.c (mips_read_fp_register_double): Correct check for | |
2857 | odd FP registers. | |
2858 | (mips_print_fp_register): Correct check for even FP registers. | |
2859 | (mips_virtual_frame_pointer): New function. | |
2860 | (mips_gdbarch_init): Call set_gdbarch_virtual_frame_pointer. | |
2861 | ||
c4a3d09a MF |
2862 | 2007-09-30 Mike Frysinger <vapier@gentoo.org> |
2863 | ||
2864 | * value.h (lookup_only_internalvar): New prototype. | |
2865 | (create_internalvar): Likewise. | |
2866 | * value.c (lookup_only_internalvar): New function. | |
2867 | (create_internalvar): Likewise. | |
2868 | (lookup_internalvar): Use new lookup_only_internalvar and | |
2869 | create_internalvar functions. | |
2870 | * parse.c (write_dollar_variable): Look up $ symbols in internal | |
2871 | table first rather than last. | |
2872 | ||
9f0bdab8 DJ |
2873 | 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com> |
2874 | ||
2875 | * linux-nat.c (linux_nat_new_thread): New variable. | |
2876 | (linux_child_follow_fork): Set inferior_ptid to include LWP ID. Use | |
2877 | linux_nat_switch_fork. | |
2878 | (lwp_list): Make public. | |
2879 | (add_lwp): Call linux_nat_new_thread. | |
2880 | (lin_lwp_attach_lwp, linux_nat_attach): Call add_lwp after stopping | |
2881 | the new thread. | |
2882 | (resume_callback): Clear lp->siginfo. Remove unused variable. | |
2883 | (linux_nat_resume): Assert that the LWP list is already initialized. | |
2884 | Clear lp->siginfo. | |
2885 | (save_siginfo): New. | |
2886 | (stop_wait_callback, linux_nat_wait): Call it. | |
2887 | (linux_nat_set_new_thread, linux_nat_get_siginfo): New. | |
2888 | * linux-nat.h (struct lwp_info): Add siginfo. | |
2889 | (lwp_list, linux_nat_set_new_thread, linux_nat_get_siginfo): Declare. | |
2890 | (ALL_LWPS): Define. | |
2891 | ||
2892 | * amd64-linux-nat.c (amd64_linux_dr): New. | |
2893 | (amd64_linux_dr_get): Take a PTID argument. Correct typo. | |
2894 | (amd64_linux_dr_set): Take a PTID argument. | |
2895 | (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use ALL_LWPS. | |
2896 | (amd64_linux_dr_reset_addr): Use amd64_linux_dr_set_addr. | |
2897 | (amd64_linux_dr_get_status): Pass inferior_ptid to amd64_linux_dr_get. | |
2898 | (amd64_linux_new_thread): New. | |
2899 | (_initialize_amd64_linux_nat): Call linux_nat_set_new_thread. | |
2900 | * i386-linux-nat.c (i386_linux_dr): New. | |
2901 | (i386_linux_dr_get, i386_linux_dr_set): Take a PTID argument. | |
2902 | (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use ALL_LWPS. | |
2903 | (i386_linux_dr_reset_addr): Use i386_linux_dr_set_addr. | |
2904 | (i386_linux_dr_get_status): Pass inferior_ptid to i386_linux_dr_get. | |
2905 | (i386_linux_new_thread): New. | |
2906 | (i386_linux_resume): Remove unnecessary PID check. | |
2907 | (_initialize_i386_linux_nat): Call linux_nat_set_new_thread. | |
2908 | * ia64-linux-nat.c (enable_watchpoints_in_psr): Take PTID argument. | |
2909 | (fetch_debug_register, fetch_debug_register_pair): Delete. | |
2910 | (debug_registers): New. | |
2911 | (ia64_linux_insert_watchpoint, ia64_linux_remove_watchpoint): Use | |
2912 | ALL_LWPS and debug_registers. | |
2913 | (ia64_linux_new_thread): New. | |
2914 | (ia64_linux_stopped_data_address): Use linux_nat_get_siginfo. | |
2915 | (_initialize_ia64_linux_nat): Call linux_nat_set_new_thread. | |
2916 | * ppc-linux-nat.c (last_stopped_data_address): Delete. | |
2917 | (saved_dabr_value): New. | |
2918 | (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use | |
2919 | ALL_LWPS. | |
2920 | (ppc_linux_new_thread): New. | |
2921 | (ppc_linux_stopped_data_address): Use linux_nat_get_siginfo. | |
2922 | (ppc_linux_stopped_by_watchpoint): Call ppc_linux_stopped_data_address. | |
2923 | (_initialize_ppc_linux_nat): Call linux_nat_set_new_thread. | |
2924 | * s390-nat.c (s390_stopped_by_watchpoint): Clear the watchpoint status | |
2925 | after reading it. | |
2926 | (s390_fix_watch_points): Take a PTID argument. | |
2927 | (s390_insert_watchpoint, s390_remove_watchpoint): Use ALL_LWPS. | |
2928 | (_initialize_s390_nat): Call linux_nat_set_new_thread. | |
2929 | ||
d983da9c DJ |
2930 | 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com> |
2931 | Jeff Johnston <jjohnstn@redhat.com> | |
2932 | ||
2933 | * breakpoint.c (watchpoints_triggered): New. | |
2934 | (bpstat_stop_status): Remove STOPPED_BY_WATCHPOINT argument. | |
2935 | Check watchpoint_triggered instead. Combine handling for software | |
2936 | and hardware watchpoints. Do not use target_stopped_data_address | |
2937 | here. Always check a watchpoint if its scope breakpoint triggers. | |
2938 | Do not stop for thread or overlay events. Improve check for | |
2939 | triggered watchpoints without a value change. | |
2940 | (watch_command_1): Insert the scope breakpoint first. Link the | |
2941 | scope breakpoint to the watchpoint. | |
2942 | * breakpoint.h (enum watchpoint_triggered): New. | |
2943 | (struct breakpoint): Add watchpoint_triggered. | |
2944 | (bpstat_stop_status): Update prototype. | |
2945 | (watchpoints_triggered): Declare. | |
2946 | * infrun.c (enum infwait_status): Add infwait_step_watch_state. | |
2947 | (stepped_after_stopped_by_watchpoint): Delete. | |
2948 | (handle_inferior_event): Make stepped_after_stopped_by_watchpoint | |
2949 | local. Handle infwait_step_watch_state. Update calls to | |
2950 | bpstat_stop_status. Use watchpoints_triggered to check | |
2951 | watchpoints. | |
2952 | * remote.c (stepped_after_stopped_by_watchpoint): Remove extern. | |
2953 | (remote_stopped_data_address): Do not check it. | |
2954 | ||
7921a279 DJ |
2955 | 2007-09-29 Daniel Jacobowitz <dan@codesourcery.com> |
2956 | ||
2957 | * configure.ac: Add $LIBINTL when testing libbfd. | |
2958 | * configure: Regenerated. | |
2959 | ||
fe6fbf8b VP |
2960 | 2007-09-28 Vladimir Prus <vladimir@codesourcery.com> |
2961 | ||
2962 | * NEW: Mention pending breakpoint changes and | |
2963 | support for breakpoints at multiple locations. | |
2964 | ||
daddc3c1 DJ |
2965 | 2007-09-27 Daniel Jacobowitz <dan@codesourcery.com> |
2966 | ||
2967 | * arm-linux-tdep.c (arm_linux_software_single_step): New. | |
2968 | (arm_linux_init_abi): Use it. | |
2969 | * arm-tdep.c (arm_get_next_pc): Make global. Handle all-ones | |
2970 | condition correctly. | |
2971 | * arm-tdep.h (arm_get_next_pc): Declare. | |
2972 | * Makefile.in (arm-linux-tdep.o): Update. | |
2973 | ||
7a4d50bf VP |
2974 | 2007-09-26 Vladimir Prus <vladimir@codesourcery.com> |
2975 | ||
2976 | * varobj.c (install_new_value): Don't | |
2977 | call value_get_print_value when a value is | |
2978 | lazy. Update the print_value member in a | |
2979 | single place. | |
2980 | ||
d32a6982 VP |
2981 | 2007-09-26 Vladimir Prus <vladimir@codesourcery.com> |
2982 | ||
2983 | * breakpoint.c (create_breakpoint): Set | |
2984 | condition on each location, not on the first | |
2985 | location of breakpoint. | |
2986 | ||
489eaeba JB |
2987 | 2007-09-26 Jim Blandy <jimb@codesourcery.com> |
2988 | ||
2989 | * remote.c (getpkt_sane): Fix error message. No animals were | |
2990 | harmed in the making of this debugger. | |
2991 | ||
3e9313ab PM |
2992 | 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr> |
2993 | ||
2994 | * p-typeprint.c: Fix 11 ARI reported problems. | |
2995 | (pascal_print_type): Fix 4 operator at end of line. | |
2996 | (pascal_type_print_method_args) : Replace 2 DEPRECATED_STREQN macros | |
2997 | using strncmp function. | |
2998 | (pascal_type_print_base): Fix 2 operator at end of line. | |
2999 | (pascal_type_print_base) : Replace 3 DEPRECATED_STREQN macros | |
3000 | using strncmp function. | |
3001 | ||
3002 | ||
5b8101ae PM |
3003 | 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr> |
3004 | ||
3005 | * Fix PR pascal/2231 | |
3006 | dwarf2read.c (read_subroutine_type): | |
3007 | All pascal functions are prototyped. | |
3008 | ||
c45f11da PM |
3009 | 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr> |
3010 | ||
3011 | * Fix PR pascal/2283 | |
3012 | p-valprint.c (pascal_val_print): correct current language check. | |
3013 | Also print array of char as strings. | |
3014 | ||
3015 | ||
59aa1faa MR |
3016 | 2007-09-26 David Ung <davidu@mips.com> |
3017 | Maciej W. Rozycki <macro@mips.com> | |
3018 | ||
3019 | * mips-tdep.c (mips_n32n64_return_value): Fix a comment. | |
3020 | ||
0b058123 PM |
3021 | 2007-09-25 Pierre Muller <muller@ics.u-strasbg.fr> |
3022 | ||
3023 | * p-exp.y: Fix 12 ARI reported problems. | |
3024 | (name_not_typename): Fix 2 operator at end of line issues. | |
3025 | (yylex): Fix 3 operator at end of line issues. | |
3026 | Replace 7 DEPRECATED_STREQ macros using strcmp function. | |
3027 | ||
b18bb924 MR |
3028 | 2007-09-25 David Ung <davidu@mips.com> |
3029 | Maciej W. Rozycki <macro@mips.com> | |
3030 | ||
3031 | * mips-tdep.c (mips_n32n64_return_value): Per N32/N64 ABI | |
3032 | rules return composite types in registers as appropriate. | |
3033 | ||
28c32713 JB |
3034 | 2007-09-24 Jim Blandy <jimb@codesourcery.com> |
3035 | ||
3036 | * symfile.h (struct symfile_segment_data): Doc fixes. | |
3037 | * symfile.c (symfile_map_offsets_to_segments): Doc fixes. | |
3038 | Assert that we were passed some loaded segment addresses, | |
3039 | and that sections' segment numbers are valid. | |
3040 | Simplify offset calculation. | |
3041 | * remote.c (get_offsets): Clarify selection of relocate-by-segment | |
3042 | strategy, and set num_segments correctly. Delete redundant | |
3043 | assignments to do_sections. | |
3044 | ||
32276632 DJ |
3045 | 2007-09-24 Daniel Jacobowitz <dan@codesourcery.com> |
3046 | ||
3047 | * frame.c (get_prev_frame_1): Also check for PC in the same register. | |
3048 | ||
ed0616c6 VP |
3049 | 2007-09-24 Vladimir Prus <vladimir@codesourcery.com> |
3050 | ||
3051 | * breakpoint.c (remove_sal): New. | |
3052 | (expand_line_sal_maybe): New. | |
3053 | (create_breakpoints): Call expand_line_sal_maybe. | |
3054 | (clear_command): Add comment. | |
3055 | (breakpoint_re_set_one): Call expand_line_sal_maybe. | |
3056 | * linespec.c (decode_indirect): Set explicit_pc to 1. | |
3057 | (decode_all_digits): Set explicit_line to 1. | |
3058 | (append_expanded_sal): New. | |
3059 | (expand_line_sal): New. | |
3060 | * linespec.h (expand_line_sal): Declare. | |
3061 | * symtab.c (init_sal): Initialize explicit_pc | |
3062 | and explicit_line. | |
3063 | * symtab.h (struct symtab_and_line): New fields | |
3064 | explicit_pc and explicit_line. | |
3065 | ||
41f1b697 DJ |
3066 | 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com> |
3067 | ||
3068 | * infcall.c (call_function_by_hand): Handle language-specific | |
3069 | pass and return by reference. | |
3070 | ||
3071 | * cp-abi.c (cp_pass_by_reference): New. | |
3072 | * cp-abi.h (cp_pass_by_reference): Declare. | |
3073 | (struct cp_abi_ops): Add pass_by_reference. | |
3074 | * gnu-v3-abi.c (gnuv3_pass_by_reference): New. | |
3075 | (init_gnuv3_ops): Set pass_by_reference. | |
3076 | ||
3077 | * language.c (language_pass_by_reference): New. | |
3078 | (default_pass_by_reference): New. | |
3079 | (unknown_language_defn, auto_language_defn, local_language_defn): Add | |
3080 | default_pass_by_reference. | |
3081 | * langauge.h (struct language_defn): Add la_pass_by_reference. | |
3082 | (language_pass_by_reference, default_pass_by_reference): Declare. | |
3083 | * ada-lang.c (ada_language_defn): Add default_pass_by_reference. | |
3084 | * c-lang.c (c_language_defn, asm_language_defn) | |
3085 | (minimal_language_defn): Likewise. | |
3086 | (cplus_language_defn): Add cp_pass_by_reference. | |
3087 | * f-lang.c (f_language_defn): Add default_pass_by_reference. | |
3088 | * jv-lang.c (java_language_defn): Likewise. | |
3089 | * m2-lang.c (m2_language_defn): Likewise. | |
3090 | * objc-lang.c (objc_language_defn): Likewise. | |
3091 | * p-lang.c (pascal_language_defn): Likewise. | |
3092 | * scm-lang.c (scm_language_defn): Likewise | |
3093 | ||
0d381245 VP |
3094 | 2007-09-23 Vladimir Prus <vladimir@codesourcery.com> |
3095 | ||
3096 | Allow a code breakpoint to have several locations | |
3097 | associated with it. | |
3098 | * breakpoint.h (enum enable_state): Remove the | |
3099 | bp_shlib_disabled enumerator. | |
3100 | (struct bp_location): New members shlib_disabled, | |
3101 | global_next, enabled and function_name. | |
3102 | Rename pending to condition_not_parsed. | |
3103 | ||
3104 | * breakpoint.c (ALL_BP_LOCATIONS): Iterate over global_next. | |
3105 | (ALL_BP_LOCATIONS_SAFE): Likewise. | |
3106 | (breakpoint_enabled): Don't check for pending. | |
3107 | (condition_command): Free and update all locations of | |
3108 | a breakpoint. | |
3109 | (insert_bp_location): Adjust. | |
3110 | (software_breakpoint_inserted_here_p): Don't care | |
3111 | if breakpoint is enabled, as soon as it's inserted. | |
3112 | (print_it_typical): Print bpstat's location, not | |
3113 | bpstat's breakpoint's location. | |
3114 | (bpstat_stop_status): Iterate over all locations, not | |
3115 | all breakpoints. | |
3116 | (print_breakpoint_location): New. | |
3117 | (print_one_breakpoint): Renamed to | |
3118 | (print_one_breakpoint_location): ...this. Take | |
3119 | parameters to describe which location is being | |
3120 | printed. Modify code to properly print header | |
3121 | for several locations and individual locations. | |
3122 | (print_one_breakpoint): Print all locations. | |
3123 | (breakpoint_has_pc): New. | |
3124 | (describe_other_breakpoints): Use the above. | |
3125 | (check_duplicates): Renamed to... | |
3126 | (check_duplicates_for): .. this. | |
3127 | (check_duplicates): Use check_duplicates_for. | |
3128 | (allocate_bp_location): Adjust. | |
3129 | (set_raw_breakpoint_without_location): New, | |
3130 | extracted from set_raw_breakpoint. | |
3131 | (set_breakpoint_location_function): New. | |
3132 | (set_raw_breakpoint): Use | |
3133 | set_raw_breakpoint_without_location. | |
3134 | (make_breakpoint_permanent): Mark all locations | |
3135 | as inserted. | |
3136 | (disable_breakpoints_in_shlibs): Iterate over | |
3137 | locations. | |
3138 | (disable_breakpoints_in_unloaded_shlib): Likewise. | |
3139 | (re_enable_breakpoints_in_shlibs): Likewise. | |
3140 | (mention): Say "pending" when breakpoint has | |
3141 | zero locations. If breakpoint has more than one | |
3142 | location, say so. | |
3143 | (add_location_to_breakpoint): New. | |
3144 | (create_breakpoint): Accept symtabs_and_lines, not | |
3145 | symtab_and_line. Pass extra sals to | |
3146 | add_location_to_breakpoint. | |
3147 | (create_breakpoints): Pass symtabs_and_lines to | |
3148 | create_breakpoints. | |
3149 | (break_command_1): Make pending breakpoints | |
3150 | have zero locations. | |
3151 | (do_captured_breakpoint): Remove wrong allocation. | |
3152 | (clear_command): Iterate over all locations. | |
3153 | (unlink_locations_from_global_list): Renamed | |
3154 | from unlink_location_from_global_list. Remove | |
3155 | all locations. | |
3156 | (delete_breakpoint): Remove all locations. | |
3157 | Iterate over all locations when deciding which | |
3158 | other location to re-enable. | |
3159 | (all_locations_are_pending): New. | |
3160 | (update_breakpoint_locations): Renamed from | |
3161 | update_breakpoint_location. Try to match old | |
3162 | and new locations using names of containing | |
3163 | functions. | |
3164 | (breakpoint_re_set_one): Adjust. | |
3165 | (find_location_by_number): New. | |
3166 | (disable_command): Allow disabling individual location. | |
3167 | (enable_command): Allow enabling individual location. | |
3168 | * breakpoint.c: Adjust all uses of breakpoint's | |
3169 | enable state to for bp_shlib_disabled change. | |
3170 | ||
fe3f5fa8 VP |
3171 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
3172 | ||
3173 | * breakpoint.c (do_restore_lang_radix_cleanup): Remove. | |
3174 | (resolve_pending_breakpoint): Remove. | |
3175 | (re_enable_breakpoints_in_shlibs): Remove. | |
3176 | (unlink_locations_from_global_list): New. | |
3177 | (update_breakpoint_locations): New. | |
3178 | (breakpoint_re_set_one): Don't bail out on pending breakpoints. | |
3179 | Use parse_condition and update_breakpoint_location to | |
3180 | reset breakpoint. Ignore 'symbol not found' error from | |
3181 | decode_line_1. | |
3182 | (breakpoint_re_set): Don't emit newline before the | |
3183 | reason why breakpoint is not reset. | |
3184 | (do_enable_breakpoint): Don't specially process pending | |
3185 | breakpoints. | |
3186 | (free_bp_location): New. | |
3187 | (break_command_1): For pending breakpoints, initialize | |
3188 | all fields of a sal with zeroes. | |
3189 | * breakpoint.h (re_enable_breakpoints_in_shlibs): Remove. | |
3190 | * infcmd.c (post_create_inferior): Don't call | |
3191 | re_enable_breakpoints_in_shlibs. | |
3192 | * infrun.c (handle_inferior_event): Likewise. | |
3193 | * solib-irix.c (irix_solib_create_inferior_hook): Likewise. | |
3194 | * solib-osf.c (osf_solib_create_inferior_hook): Likewise. | |
3195 | * win32-nat.c (get_win32_debug_event): Likewise. | |
3196 | ||
511a6cd4 VP |
3197 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
3198 | ||
018d34a4 VP |
3199 | * breakpoint.c (create_breakpoint): Split from |
3200 | create_breakpoints, implementing most of its logic. | |
3201 | Take just a single sal, single address string and | |
3202 | single condition. Do not take parsed condition at | |
3203 | all. | |
3204 | (create_breakpoints): Just call create_breakpoint | |
3205 | for each sal. | |
3206 | (find_condition_and_thread): New. | |
3207 | (break_command_1): Use find_condition_and_thread. | |
3208 | Do not keep parsed conditions. | |
3209 | (do_captured_breakpoint): Don't convert | |
3210 | condition string to struct expression. | |
3211 | ||
3212 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> | |
3213 | ||
511a6cd4 VP |
3214 | * breakpoint.h (struct breakpoint): Move the cond |
3215 | field to... | |
3216 | (struct bp_location): Here. | |
3217 | * breakpoint.c (condition_command, bpstat_stop_status) | |
3218 | (print_one_breakpoint, allocate_bp_location) | |
3219 | (solib_load_unload_1, create_fork_vfork_event_catchpoint) | |
3220 | (create_exec_event_catchpoint, create_breakpoints) | |
3221 | (break_command_1, watch_command_1, handle_gnu_v3_exceptions) | |
3222 | (create_ada_exception_breakpoint, set_breakpoint_sal) | |
3223 | (delete_breakpoint, breakpoint_re_set_one): Adjust. | |
3224 | * tui/tui-winsource.c (tui_update_breakpoint_info): Adjust. | |
3225 | ||
4f8d1dc6 VP |
3226 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
3227 | ||
3228 | Associate bp_stat with bp_location, not breakpoint. | |
3229 | * breakpoint.h (breakpoint_at): Change type | |
3230 | to bp_location*. | |
3231 | * breakpoint.c (bpstat_alloc): Take bp_location, | |
3232 | not breakpoint. | |
3233 | (bpstat_find_breakpoint): Look at bpstat's location's | |
3234 | owner, not at bpstat->breakpoint_at. | |
3235 | (bpstat_find_step_resume_breakpoint): Likewise. | |
3236 | (bpstat_num): Likewise. | |
3237 | (print_it_typical): Likewise. | |
3238 | (print_bp_stop_message): Likewise. | |
3239 | (watchpoint_check): Likewise. | |
3240 | (bpstat_what): Likewise. | |
3241 | (bpstat_get_triggered_catchpoints): Likewise. | |
3242 | (breakpoint_auto_delete): Likewise. | |
3243 | (delete_breakpoint): Likewise. | |
3244 | (bpstat_stop_status): Pass location, not breakpoint, | |
3245 | to bpstat_alloc. Look at bpstat's location's | |
3246 | owner, not at bpstat->breakpoint_at. | |
3247 | ||
32623386 JB |
3248 | 2007-09-21 Jim Blandy <jimb@codesourcery.com> |
3249 | ||
3250 | * macrotab.h (new_macro_table): Document that removing information | |
3251 | from an obstack/bcache-managed macro table leaks memory. | |
3252 | * macrotab.c (macro_free, macro_bcache_free): Instead of asserting | |
3253 | that data is never freed in obstack/bcache-managed macro tables, | |
3254 | just leak the storage. | |
3255 | (macro_undef): If we're undefining a macro at exactly the same | |
3256 | source location that we defined it, simply remove the definition | |
3257 | altogether. | |
3258 | ||
c295b2e5 JB |
3259 | 2007-09-21 Joel Brobecker <brobecker@adacore.com> |
3260 | ||
3261 | * symfile.h (struct sym_fns): Add new field sym_read_linetable. | |
3262 | * coffread.c, dbxread.c, elfread.c, mipsread.c somread.c: | |
3263 | Adjust the struct sym_fns object accordingly by setting | |
3264 | the new field to NULL. | |
3265 | * xcoffread.c (aix_process_linenos): Make static. | |
3266 | (xcoff_sym_fns): Set new field to aix_process_linenos. | |
3267 | * buildsym.c (end_symtab): Replace call to PROCESS_LINENUMBER_HOOK | |
3268 | by call to new the new sym_fns sym_read_linetable function. | |
3269 | * config/powerpc/aix.mt (DEPRECATED_TM_FILE): Delete. | |
3270 | * config/rs6000/tm-rs6000.h: Delete. | |
3271 | ||
ab2e1992 MR |
3272 | 2007-09-21 David Ung <davidu@mips.com> |
3273 | Maciej W. Rozycki <macro@mips.com> | |
3274 | ||
3275 | * mips-tdep.c (mips_n32n64_push_dummy_call): Per N32/N64 ABI | |
3276 | rules do not treat composite types specially. | |
3277 | ||
97ab0fdd MR |
3278 | 2007-09-20 Maciej W. Rozycki <macro@mips.com> |
3279 | ||
3280 | * mips-tdep.c (mips32_in_function_epilogue_p): New function. | |
3281 | (mips16_in_function_epilogue_p): Likewise. | |
3282 | (mips_in_function_epilogue_p): Likewise. | |
3283 | (mips_gdbarch_init): Register mips_in_function_epilogue_p(). | |
3284 | ||
01fe12f6 JB |
3285 | 2007-09-19 Joel Brobecker <brobecker@adacore.com> |
3286 | ||
3287 | * configure.ac: Add check for "etext". | |
3288 | * configure, config.in: Regenerate. | |
3289 | * maint.c (TEXTEND): Only define if either _etext or etext | |
3290 | are available. | |
3291 | Disable the profiling functionality if TEXTEND is not defined. | |
3292 | ||
aa6c981f DJ |
3293 | 2007-09-19 Daniel Jacobowitz <dan@codesourcery.com> |
3294 | ||
3295 | * mips-tdep.c (mips_stub_frame_cache): Correct the saved return | |
3296 | address register. Correct the call to frame_id_build. | |
3297 | (mips_stub_frame_sniffer): Use the stub unwinder when the PC | |
3298 | is invalid. | |
3299 | ||
39312971 JB |
3300 | 2007-09-18 Joel Brobecker <brobecker@adacore.com> |
3301 | ||
3302 | * ia64-tdep.c (refine_prologue_limit): Make sure we don't scan | |
3303 | the linetable past the function end. | |
3304 | ||
558dc30a JW |
3305 | 2007-09-18 James E. Wilson <wilson@specifix.com> |
3306 | ||
3307 | * MAINTAINERS: Update my email address. | |
3308 | ||
60e2c248 JG |
3309 | 2007-09-18 Jerome Guitton <guitton@adacore.com> |
3310 | ||
3311 | * inf-ttrace.c (inf_ttrace_private_thread_info): New structure type. | |
3312 | (inf_ttrace_delete_dying_threads_callback): New function. | |
3313 | (inf_ttrace_resume): After resuming the execution, iterate over | |
3314 | the dying threads to delete them for the thread list. | |
3315 | (inf_ttrace_wait): on TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE, | |
3316 | mark the corresponding thread as dying instead of removing it | |
3317 | from the thread list. | |
3318 | (inf_ttrace_thread_alive): return 0 for dying threads. | |
3319 | ||
f4c1edd8 JB |
3320 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
3321 | ||
3322 | * infrun.c (insert_step_resume_breakpoint_at_frame): Add assertion | |
3323 | that return_frame is not null. | |
3324 | ||
8d4e36ba JB |
3325 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
3326 | ||
3327 | * solib-svr4.c: Add include of "auxv.h". | |
3328 | (enable_break): Use the AT_BASE auxiliary entry if available. | |
3329 | * Makefile.in (solib-svr4.o): Update dependencies. | |
3330 | ||
f9ed52be JB |
3331 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
3332 | ||
3333 | * NEWS: Create a new section for the next release branch. | |
3334 | Rename the section of the current branch, now that it has | |
3335 | been cut. | |
3336 | ||
eff4f95e JG |
3337 | 2007-09-17 Jerome Guitton <guitton@adacore.com> |
3338 | ||
3339 | * dwarf2loc.c (dwarf_expr_frame_base): Guard against NULL. | |
3340 | * Makefile.in (dwarf2loc.o): Depend on gdb_assert.h. | |
3341 | ||
084344da VP |
3342 | 2007-09-16 Vladimir Prus <vladimir@codesourcery.com> |
3343 | ||
3344 | * mi/mi-cmds.c (mi_cmds): Register -list-features. | |
3345 | * mi/mi-cmds.h (mi_cmd_list_features): New. | |
3346 | * mi/mi-main.c (mi_cmd_list_features): New. | |
3347 | ||
50c7215d | 3348 | 2007-09-11 Joel Brobecker <brobecker@adacore.com> |
3349 | ||
3350 | GDB 6.7 branch created (branch timestamp: 2007-09-07 14:00 UTC) | |
3351 | * version.in: Bump version to 6.7.50-20070911-cvs. | |
3352 | ||
4d8453a5 DJ |
3353 | 2007-09-10 Daniel Jacobowitz <dan@codesourcery.com> |
3354 | ||
3355 | * thread.c (free_thread): Do not delete the step resume breakpoint | |
3356 | right away. | |
3357 | ||
4eb0ad19 DJ |
3358 | 2007-09-10 Daniel Jacobowitz <dan@codesourcery.com> |
3359 | ||
3360 | * arch-utils.c (gdbarch_info_fill): Also try core_bfd. | |
3361 | * corelow.c (core_read_description): New. | |
3362 | (init_core_ops): Set to_read_description. | |
3363 | * gdbarch.sh: Add gdbarch_core_read_description. | |
3364 | * mips-linux-tdep.c (mips_linux_core_read_description): New. | |
3365 | (mips_linux_init_abi): Call set_gdbarch_core_read_description. | |
3366 | * mips-tdep.c (mips_tdesc_gp32, mips_tdesc_gp64): New. | |
3367 | (mips_register_g_packet_guesses): Use them. | |
3368 | (_initialize_mips_tdep): Initialize them. | |
3369 | * mips-tdep.h (mips_tdesc_gp32, mips_tdesc_gp64): Declare. | |
3370 | * gdbarch.h, gdbarch.c: Regenerated. | |
3371 | ||
6a6b96b9 UW |
3372 | 2007-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
3373 | ||
3374 | * infrun.c (stepping_past_breakpoint): New global variable. | |
3375 | (stepping_past_breakpoint_ptid): Likewise. | |
3376 | (prepare_to_proceed): Add STEP parameter. Do not check for Ctrl-C. | |
3377 | Only switch threads if we need to single-step over a breakpoint hit | |
3378 | in the previously selected thread. If stepping, remember previous | |
3379 | thread to switch back to in STEPPING_PAST_BREAKPOINT[_PTID]. Call | |
3380 | switch_to_thread instead of copying its contents. | |
3381 | (proceed): Pass STEP to prepare_to_proceed. Always set ONEPROC if | |
3382 | prepare_to_proceed returns true. | |
3383 | (init_wait_for_inferior): Reset STEPPING_PAST_BREAKPOINT. | |
3384 | (context_switch): Call switch_to_thread. | |
3385 | (handle_inferior_event): Switch back to previous thread if requested | |
3386 | in STEPPING_PAST_BREAKPOINT[_PTID] by prepare_to_proceed. | |
3387 | * gdbthread.h (switch_to_thread): Add prototype. | |
3388 | * thread.c (switch_to_thread): Make global. | |
3389 | ||
0b058123 | 3390 | 2007-09-07 Pierre Muller <muller@ics.u-strasbg.fr> |
b20a3440 PM |
3391 | |
3392 | * p-valprint.c: Fix 7 ARI reported problems. | |
3393 | (pascal_val_print): Fix one operator at end of line issue. | |
3394 | Use paddress function to remove use of | |
3395 | deprecated_print_address_numeric function (2 times). | |
3396 | Use SYMBOL_LINKAGE_NAME instead of DEPRECATED_SYMBOL_NAME. | |
3397 | (pascal_value_print): Fix 3 operator at end of line issues. | |
3398 | ||
faa95490 DJ |
3399 | 2007-09-07 Daniel Jacobowitz <dan@codesourcery.com> |
3400 | ||
3401 | PR gdb/2103 | |
3402 | * arm-tdep.c (arm_in_call_stub): Delete. | |
3403 | (arm_skip_stub): Handle from_arm and from_thumb stubs. | |
3404 | ||
f0027ce2 DJ |
3405 | 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com> |
3406 | ||
3407 | * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Handle other integer | |
3408 | types. | |
3409 | ||
ea37ba09 DJ |
3410 | 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com> |
3411 | Jim Blandy <jimb@codesourcery.com> | |
3412 | ||
3413 | * NEWS: Update description of string changes. Mention print/s. | |
3414 | * c-valprint.c (textual_element_type): New. | |
3415 | (c_val_print): Use it. Do not skip address printing for pointers | |
3416 | with a string format. | |
3417 | (c_value_print): Doc update. | |
3418 | * dwarf2read.c (read_array_type): Use make_vector_type. | |
3419 | * gdbtypes.c (make_vector_type): New. | |
3420 | (init_vector_type): Use it. | |
3421 | (gdbtypes_post_init): Initialize builtin_true_unsigned_char. | |
3422 | (_initialize_gdbtypes): Mark int8_t and uint8_t as TYPE_FLAG_NOTTEXT. | |
3423 | * gdbtypes.h (struct builtin_type): Add builtin_true_unsigned_char. | |
3424 | (TYPE_FLAG_NOTTEXT, TYPE_NOTTEXT): New. | |
3425 | (make_vector_type): New. | |
3426 | * printcmd.c (print_formatted): Only handle 's' and 'i' for examine. | |
3427 | Call the language print routine for string format. | |
3428 | (print_scalar_formatted): Call val_print for string format. Handle | |
3429 | unsigned original types for char format. | |
3430 | (validate_format): Do not reject string format. | |
3431 | * stabsread.c (read_type): Use make_vector_type. | |
3432 | * xml-tdesc.c (tdesc_start_vector): Use init_vector_type. | |
3433 | ||
8fb822e0 MS |
3434 | 2007-09-04 Michael Snyder <msnyder@access-company.com> |
3435 | ||
fcd776e5 MS |
3436 | * expprint.c (print_subexp_standard): Check strchr for null. |
3437 | * Makefile.in (expprint.o): Depend on gdb_assert.h. | |
3438 | ||
7d63ec12 MS |
3439 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Guard against null. |
3440 | ||
8fb822e0 MS |
3441 | * stabsread.c (patch_block_status): Guard against null. |
3442 | * Makefile.in (stabsread.o): Depend on gdb_assert.h. | |
3443 | ||
2025a643 DJ |
3444 | 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com> |
3445 | ||
3446 | * printcmd.c (printf_command): Handle ptr_arg. Correct typo | |
3447 | in internal error message. | |
3448 | ||
de1b3c3d PA |
3449 | 2007-09-04 Pedro Alves <pedro_alves@portugalmail.pt> |
3450 | Daniel Jacobowitz <dan@codesourcery.com> | |
3451 | ||
3452 | * infcmd.c (post_create_inferior): Update comment. | |
3453 | (run_command_1): Always call post_create_inferior with 0 as | |
3454 | from_tty. | |
3455 | ||
3456 | * i386-cygwin-tdep.h: New. | |
3457 | * i386-cygwin-tdep.c: Include "i386-cygwin-tdep.h". | |
3458 | (win32_xfer_shared_library): Make it extern. | |
3459 | ||
3460 | * win32-nat.c: Include gdb_obstack.h and xml-support.h and | |
3461 | i386-cygwin-tdep.h. | |
3462 | (win32_so_ops): Delete. | |
3463 | (get_relocated_section_addrs): Delete. | |
3464 | (solib_symbols_add): Delete. | |
3465 | (register_loaded_dll): Delete. | |
3466 | (win32_make_so): New. | |
3467 | (handle_load_dll): Use win32_make_so. | |
3468 | (win32_free_so): Free the passed in so. | |
3469 | (win32_relocate_section_addresses): Delete. | |
3470 | (win32_solib_create_inferior_hook): Delete. | |
3471 | (handle_unload_dll): Don't add PE offset here. Free so with | |
3472 | win32_free_so instead of free_so. | |
3473 | (win32_special_symbol_handling): Delete. | |
3474 | (get_win32_debug_event): Remove unneeded calls. Set state to | |
3475 | TARGET_WAITKIND_LOADED on a dll unload. | |
3476 | (do_initial_win32_stuff): Clear cygwin_load_start and | |
3477 | cygwin_load_end. | |
3478 | (map_code_section_args): Delete. | |
3479 | (dll_code_sections_add): Delete. | |
3480 | (core_section_load_dll_symbols): Delete. | |
3481 | (win32_xfer_shared_libraries): New. | |
3482 | (win32_current_sos): Delete. | |
3483 | (win32_xfer_partial): New. | |
3484 | (open_symbol_file_object): Delete. | |
3485 | (in_dynsym_resolve_code): Delete. | |
3486 | (init_win32_ops): Set win32_xfer_partial as to_xfer_partial member | |
3487 | of win32_ops. Remove win32_so_ops settings. Don't set | |
3488 | current_target_so_ops here. | |
3489 | ||
3490 | * Makefile.in (i386_cygwin_tdep_h): New variable. | |
3491 | (i386-cygwin-tdep.o): Update dependencies. | |
3492 | (win32-nat.o): Update dependencies. | |
3493 | ||
de584861 PA |
3494 | 2007-09-04 Pedro Alves <pedro_alves@portugalmail.pt> |
3495 | Daniel Jacobowitz <dan@codesourcery.com> | |
3496 | ||
3497 | * gdbarch.sh (core_xfer_shared_libraries): New. | |
3498 | ||
3499 | * corelow.c (core_xfer_partial): Handle TARGET_OBJECT_LIBRARIES. | |
3500 | ||
3501 | * gdb_obstack.h (obstack_grow_str, obstack_grow_str0): New. | |
3502 | ||
3503 | * xml-support.c (gdb_xml_parse): Debug output tweaks. | |
3504 | (xml_escape_text): New. | |
3505 | * xml-support.h (xml_escape_text): Declare. | |
3506 | ||
3507 | * config/i386/cygwin.mh (NATDEPFILES): Move corelow.o to ... | |
3508 | * config/i386/cygwin.mt (TDEPFILES): ... here. | |
3509 | ||
3510 | * win32-nat.c: (fetch_elf_core_registers): Delete. | |
3511 | (win32_elf_core_fn): Delete. | |
3512 | (_initialize_core_win32): Delete. | |
3513 | ||
3514 | * i386-cygwin-tdep.c: Include "regset.h", "gdb_objstack.h", | |
3515 | "xml-support.h" and "gdbcore.h". | |
3516 | (i386_win32_gregset_reg_offset): New. | |
3517 | (I386_WIN32_SIZEOF_GREGSET): New. | |
3518 | (i386_win32_regset_from_core_section): New. | |
3519 | (win32_xfer_shared_library): New. | |
3520 | (struct cpms_data): New. | |
3521 | (core_process_module_section): New. | |
3522 | (win32_core_xfer_shared_libraries): New. | |
3523 | (i386_cygwin_skip_trampoline_code): Register gregset_reg_offset, | |
3524 | gregset_num_regs, sizeof_gregset members of tdep. Register | |
3525 | regset_from_core_section and core_xfer_shared_libraries callbacks. | |
3526 | ||
3527 | * Makefile.in (i386-cygwin-tdep.o): Update dependencies. | |
3528 | * gdbarch.h, gdbarch.c: Regenerate. | |
3529 | ||
7160c4c3 PA |
3530 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
3531 | ||
3532 | * corelow.c (core_xfer_partial): Pass writebuf to | |
3533 | deprecated_xfer_memory in TARGET_OBJECT_MEMORY write case. | |
3534 | ||
6dc13412 PA |
3535 | 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt> |
3536 | ||
3537 | * arm-tdep.h (arm_skip_stub): Declare. | |
3538 | * arm-wince-tdep.c: Don't include "solib-svr4.h". Include | |
3539 | "gdbcore.h". | |
3540 | (arm_pe_skip_trampoline_code): New function. | |
3541 | (arm_wince_init_abi): Register arm_pe_skip_trampoline_code as | |
3542 | gdbarch_skip_trampoline_code callback. | |
3543 | * Makefile.in (arm-wince-tdep.o): Update dependencies. | |
3544 | ||
ca8385e5 DJ |
3545 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
3546 | ||
3547 | * MAINTAINERS: Move Fred Fish to Past Maintainers. | |
3548 | ||
5c39566f DJ |
3549 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
3550 | ||
3551 | * configure.ac: Add --with-expat. | |
3552 | * configure: Regenerated. | |
3553 | ||
6a30b0a5 AS |
3554 | 2007-09-03 Andreas Schwab <schwab@suse.de> |
3555 | ||
3556 | * configure.ac: Accept --with-system-readline. | |
3557 | (READLINE, READLINE_DEPS, READLINE_CFLAGS): Define and substitute. | |
3558 | * configure: Regenerate. | |
3559 | * Makefile.in (READLINE, READLINE_DEPS, READLINE_CFLAGS): Use | |
3560 | substituted values. | |
3561 | (CDEPS): Use $(READLINE_DEPS) instead of $(READLINE). | |
3562 | ||
edff0c0a DJ |
3563 | 2007-09-03 Maxim Grigoriev <maxim2405@gmail.com> |
3564 | Daniel Jacobowitz <dan@codesourcery.com> | |
3565 | ||
3566 | * mi-main.c (mi_load_progress): Handle MI2 and MI3 interpreters. | |
3567 | ||
0b93d57c JK |
3568 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
3569 | ||
3570 | * top.c (print_gdb_version): Fixed a string end-of-line compiler error. | |
3571 | ||
b8533aec DJ |
3572 | 2007-09-02 Daniel Jacobowitz <dan@codesourcery.com> |
3573 | ||
3574 | * top.c (print_gdb_version): Update for GPL version 3. | |
3575 | ||
f5db8714 JK |
3576 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
3577 | ||
3578 | * NEWS: Mention the build-id .debug files verification. | |
3579 | ||
d99148ef JK |
3580 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
3581 | ||
3582 | * linux-nat.c (linux_nat_make_corefile_notes): Fixed a buffer overflow. | |
3583 | ||
77069918 JK |
3584 | 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
3585 | ||
3586 | * Makefile.in (symfile.o): Update dependencies. | |
3587 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Initialize the | |
3588 | DEBUGFILE variable. FIND_SEPARATE_DEBUG_FILE called only if !PSYMTABS. | |
3589 | (struct build_id): New structure. | |
3590 | (build_id_bfd_get, build_id_verify, build_id_to_debug_filename): New. | |
3591 | (find_separate_debug_file): New variable BUILD_ID. | |
3592 | Call BUILD_ID_BFD_GET with BUILD_ID_TO_DEBUG_FILENAME as the first try. | |
3593 | ||
202ddcaa VP |
3594 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
3595 | ||
3596 | * varobj.c (struct varobj): Fix comment | |
3597 | for the type member not to lie when it can be | |
3598 | NULL. | |
3599 | ||
02142340 VP |
3600 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
3601 | ||
3602 | Implement -var-info-path-expression. | |
3603 | ||
3604 | * mi/mi-cmds.h (mi_cmd_var_info_path_expression): | |
3605 | Declare. | |
3606 | * mi/mi-cmds.c (mi_cmds): Register var-info-path-expression. | |
3607 | * mi/mi-cmd-var.c (mi_cmd_var_info_path_expression): New. | |
3608 | * varobj.c (struct varobj): New field 'path_expr'. | |
3609 | (c_path_expr_of_child, cplus_path_expr_of_child) | |
3610 | (java_path_expr_of_child): New. | |
3611 | (struct language_specific): New field path_expr_of_child. | |
3612 | (varobj_create): Initialize the path_expr field. | |
3613 | (varobj_get_path_expr): New. | |
3614 | (new_variable): Initialize the path_expr field. | |
3615 | (free_variable): Free the path_expr field. | |
3616 | (adjust_value_for_children_access): New parameter | |
3617 | WAS_TYPE. | |
3618 | (c_number_of_children): Adjust. | |
3619 | (c_describe_child): New parameter CFULL_EXPRESSION. | |
3620 | Compute full expression. | |
3621 | (c_value_of_child, c_type_of_child): Adjust. | |
3622 | (cplus_number_of_children): Adjust. | |
3623 | (cplus_describe_child): New parameter CFULL_EXPRESSION. | |
3624 | Compute full expression. | |
3625 | (cplus_name_of_child, cplus_value_of_child) | |
3626 | (cplus_type_of_child): Adjust. | |
3627 | * varobj.h (varobj_get_path_expr): Declare. | |
3628 | ||
bccc275a VP |
3629 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
3630 | ||
3631 | * mi/mi-cmd-var.c (print_varobj): If a varobj | |
3632 | type is NULL, don't try to print it. | |
3633 | ||
f2db237a AM |
3634 | 2007-08-30 Alan Modra <amodra@bigpond.net.au> |
3635 | ||
3636 | * ppc-linux-nat.c (right_fill_reg): Delete. | |
3637 | (supply_gregset): Use ppc_supply_gregset. | |
3638 | (supply_fpregset): Use ppc_supply_fpregset. | |
3639 | (fill_gregset): Use ppc_collect_gregset. | |
3640 | (fill_fpregset): Use ppc_collect_fpregset. | |
3641 | * ppc-linux-tdep.c (PPC_LINUX_PT_*): Don't define. | |
3642 | (right_supply_register, ppc_linux_supply_gregset): Delete. | |
3643 | (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): Delete. | |
3644 | (ppc_linux_supply_fpregset): Delete. | |
3645 | (ppc_linux_collect_gregset): New function. | |
3646 | (ppc32_linux_reg_offsets, ppc64_linux_reg_offsets): New. | |
3647 | (ppc32_linux_gregset, ppc64_linux_gregset): Update to use reg offsets, | |
3648 | ppc_linux_supply_gregset, and ppc_collect_gregset. | |
3649 | (ppc_linux_fpregset): Rename to ppc32_linux_fpregset and update. | |
3650 | (ppc_linux_gregset, ppc_linux_fpregset): New functions. | |
3651 | (ppc_linux_regset_from_core_section): Update. | |
3652 | * ppc-tdep.h (ppc_linux_gregset, ppc_linux_fpregset): Declare. | |
3653 | (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Delete. | |
3654 | (struct ppc_reg_offsets): Add gpr_size, xr_size, fpscr_size fields. | |
3655 | * ppcobsd-tdep.c (ppcobsd_supply_gregset): Delete FIXME and assert. | |
3656 | (ppcobsd_collect_gregset): Likewise. | |
3657 | (_initialize_ppcnbsd_tdep): Init gpr_size, xr_size, fpscr_size. | |
3658 | * ppcnbsd-tdep.c (_initialize_ppcobsd_tdep): Likewise. | |
3659 | * ppcobsd-nat.c (_initialize_ppcobsd_nat): Likewise. | |
3660 | * rs6000-aix-tdep.c (rs6000_aix32_reg_offsets): Likewise. | |
3661 | (rs6000_aix64_reg_offsets): Likewise. | |
3662 | (rs6000_aix_supply_regset): Call ppc_supply_fpregset without testing | |
3663 | ppc_floating_point_unit_p. | |
3664 | (rs6000_aix_collect_regset): Similarly. | |
3665 | * rs6000-tdep.c (ppc_supply_reg): Add regsize param. Adjust offset | |
3666 | when regsize is larger than regcache register size. | |
3667 | (ppc_collect_reg): Similarly zero pad when regsize is larger than | |
3668 | regcache register size. | |
3669 | (ppc_greg_offset): New function, split out from.. | |
3670 | (ppc_supply_gregset): ..here. Separate code handling all regs from | |
3671 | single reg case. Correct xer offset. | |
3672 | (ppc_fpreg_offset): New function, split out from.. | |
3673 | (ppc_supply_fpregset): ..here. Separate code handling all regs from | |
3674 | single reg case. | |
3675 | (ppc_collect_gregset, ppc_collect_fpregset): Likewise. | |
3676 | (ppc_supply_fpregset, ppc_collect_fpregset): Don't assert we have | |
3677 | a fp unit, instead return if no fp. | |
3678 | ||
fe5aea2e JB |
3679 | 2007-08-29 Jim Blandy <jimb@codesourcery.com> |
3680 | ||
3681 | * breakpoint.c (watch_command_1): Remove '#ifdef HPUXHPPA' block; | |
3682 | this code has not been compiled for two years. | |
3683 | ||
13ce7133 MS |
3684 | 2007-08-29 Michael Snyder <msnyder@access-company.com> |
3685 | ||
3686 | * event-top.c (gdb_readline2): Return after EOF. | |
3687 | ||
fd4a0f2f JB |
3688 | 2007-08-29 Joel Brobecker <brobecker@adacore.com> |
3689 | ||
3690 | * symtab.c: Remove a function that has been commented out 3 years ago. | |
3691 | ||
d037d088 CD |
3692 | 2007-08-29 Randolph Chung <tausq@debian.org> |
3693 | ||
3694 | * hppa-tdep.c (hppa32_cannot_fetch_register) | |
3695 | (hppa64_cannot_fetch_register): New functions. | |
3696 | (hppa_gdbarch_init): Set cannot_fetch_register appropriately. | |
3697 | * hppa-tdep.h (hppa_regnum): Add HPPA_CR26_REGNUM. | |
3698 | ||
19d378fc MS |
3699 | 2007-08-28 Michael Snyder <msnyder@access-company.com> |
3700 | ||
57cdecd2 MS |
3701 | * mi/mi-cmd-var.c (mi_print_value_p): No longer necessary to |
3702 | check for null before calling check_typedef. | |
3703 | ||
19d378fc MS |
3704 | * NEWS: Mention Coverity bug fixes. |
3705 | ||
36acd84e UW |
3706 | 2007-08-27 Markus Deuling <deuling@de.ibm.com> |
3707 | ||
3708 | * spu-tdep.c (spu_pointer_to_address): New function. | |
3709 | (spu_integer_to_address): Likewise. | |
3710 | (spu_gdbarch_init): Add spu_pointer_to_address and | |
3711 | spu_integer_to_address to gdbarch. | |
3712 | ||
8ad7c2b9 PA |
3713 | 2007-08-26 Pedro Alves <pedro_alves@portugalmail.pt> |
3714 | ||
3715 | * arm-wince-tdep.c (ARM_WINCE_JB_PC): Change to 10. | |
3716 | ||
4de6a07e JB |
3717 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
3718 | ||
3719 | * Makefile.in (copying.c): Use the top-level COPYING3 as the file | |
3720 | that contains the GDB license. | |
3721 | * copying.awk: Adjust to the GPLv3 wording. | |
3722 | * copying.c: Regenerate. | |
3723 | ||
07aed0eb JB |
3724 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
3725 | ||
01d4100f | 3726 | * copying.awk: Protoization, and i18n markup. |
07aed0eb | 3727 | |
50efebf8 JB |
3728 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
3729 | ||
3730 | * config/djgpp/djconfig.sh: Switch license to GPLv3. | |
3731 | * copyright.sh: Likewise. | |
3732 | * gdb-events.sh: Likewise. | |
3733 | * gdb_gcore.sh: Likewise. | |
3734 | * gdb_mbuild.sh: Likewise. | |
3735 | * gdbarch.sh: Likewise. | |
3736 | * observer.sh: Likewise. | |
3737 | * features/feature_to_c.sh: Likewise. | |
3738 | * regformats/regdat.sh: Likewise. | |
3739 | ||
3740 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> | |
a9762ec7 JB |
3741 | |
3742 | Switch the license of all .c files to GPLv3. | |
3743 | Switch the license of all .h files to GPLv3. | |
3744 | Switch the license of all .cc files to GPLv3. | |
3745 | ||
5a0e3bd0 JB |
3746 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
3747 | ||
3748 | * configure.ac: Switch license to GPLv3. | |
3749 | ||
609ca2b9 DJ |
3750 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
3751 | ||
3752 | * mips-tdep.c (mips_gdbarch_init): Use Tag_GNU_MIPS_ABI_FP to | |
3753 | determine the file's FPU type. | |
3754 | ||
8d26208a DJ |
3755 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
3756 | ||
3757 | * mips-tdep.c (mips_n32n64_fp_arg_chunk_p): New. | |
3758 | (mips_n32n64_push_dummy_call): Always increment float_argreg along | |
3759 | with argreg. Use mips_n32n64_fp_arg_chunk_p. | |
3760 | ||
65728c26 DJ |
3761 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
3762 | ||
3763 | * solib-svr4.c (scan_dyntag): Only read target memory when necessary. | |
3764 | Fix formatting. | |
3765 | (elf_locate_base): Look for DT_MIPS_RLD_MAP first. Expand comments. | |
3766 | (elf_lookup_lib_symbol): Fix formatting. | |
3767 | ||
a2ca50ae MS |
3768 | 2007-08-21 Michael Snyder <msnyder@access-company.com> |
3769 | ||
6b2d86bd MS |
3770 | * dbxread.c (read_dbx_symtab): Guard null deref. |
3771 | Break up long line. | |
3772 | ||
a2ca50ae MS |
3773 | * valops.c (find_overload_match): Guard against NULL. |
3774 | ||
54e116dd DJ |
3775 | 2007-08-21 Daniel Jacobowitz <dan@codesourcery.com> |
3776 | ||
3777 | * MAINTAINERS (Patch Champions): Remove self. | |
3778 | ||
f429d7d0 DJ |
3779 | 2007-08-21 Chris Smith <chris.smith@st.com> |
3780 | ||
3781 | * cli/cli-script.c (read_command_lines): Call dont_repeat for each | |
3782 | line. | |
3783 | ||
a2ca50ae | 3784 | 2007-08-18 Michael Snyder <msnyder@access-company.com> |
a287cea6 | 3785 | |
31e9f6b6 MS |
3786 | * stabsread.c (dbx_lookup_type): Memory leak. |
3787 | ||
32107cd5 MS |
3788 | * event-loop.c (delete_async_signal_handler): Move pointer null |
3789 | test to before pointer dereference. | |
3790 | ||
44db85f8 MS |
3791 | * ui-out.c (append_header_to_list): Possible cut and paste error. |
3792 | ||
a287cea6 MS |
3793 | * MAINTAINERS: white space tweak. |
3794 | ||
0bd9908d MS |
3795 | 2007-08-17 Michael Snyder <msnyder@access-company.com> |
3796 | ||
f91162e1 MS |
3797 | * stack.c (print_frame): Memory leak. |
3798 | ||
1e8189fb MS |
3799 | * completer.c (filename_completer): Avoid memory leak. |
3800 | Remove unnecessary nested block. | |
3801 | ||
348038cd MS |
3802 | * c-exp.y (parse_number): Memory leak. |
3803 | ||
1f20ed91 MS |
3804 | * completer.c (location_completer): Must free 'fn_list', except |
3805 | in the one case where it is returned (as 'list'). | |
3806 | ||
74dddad3 MS |
3807 | * varobj.c (value_of_root): Memory leak. |
3808 | ||
0bd9908d MS |
3809 | * gdbtypes.h (virtual_base_list): Remove export decl. |
3810 | * gdbtypes.c (virtual_base_list): Make static. Not called outside. | |
3811 | (virtual_base_index): Memory leak. | |
3812 | (virtual_base_index_skip_primaries): Ditto. | |
3813 | ||
bdb4c075 MG |
3814 | 2007-08-17 Maxim Grigoriev <maxim2405@gmail.com> |
3815 | ||
3816 | * xtensa-tdep.c (ARG_NOF, ARG_1ST, PS_WOE, PS_EXC, C0_MAXOPDS) | |
3817 | (C0_NREGS, C0_CLESV, C0_SP, C0_FP, C0_RA, C0_ARGS, C0_NARGS) | |
3818 | (C0_CONST, C0_INEXP, C0_NOSTK): New macros. | |
3819 | (xtensa_read_register): New function. | |
3820 | (xtensa_windowed_frame_cache, xtensa_call0_frame_cache, xtensa_c0reg) | |
3821 | (xtensa_insn_kind): New types. | |
3822 | (xtensa_frame_cache, xtensa_alloc_frame_cache, xtensa_frame_cache) | |
3823 | (xtensa_frame_prev_register, xtensa_return_value, xtensa_skip_prologue) | |
3824 | (xtensa_verify_config, xtensa_pseudo_register_read) | |
3825 | (xtensa_pseudo_register_write, xtensa_extract_return_value) | |
3826 | (xtensa_store_return_value) | |
3827 | (xtensa_push_dummy_call): Extended to support Xtensa Call0 ABI. | |
3828 | (windowing_enabled, extract_call_winsize, xtensa_unwind_dummy_id) | |
3829 | (xtensa_frame_this_id, xtensa_frame_prev_register) | |
3830 | (xtensa_register_type, xtensa_reg_to_regnum): Cosmetic changes. | |
3831 | (call0_frame_cache, call0_frame_get_reg_at_entry) | |
3832 | (call0_classify_opcode, call0_track_op) | |
3833 | (call0_analyze_prologue, call0_frame_cache): New functions. | |
3834 | ||
198757a8 VP |
3835 | 2007-08-17 Vladimir Prus <vladimir@codesourcery.com> |
3836 | ||
3837 | * breakpoint.c (bpstat_free): New. | |
3838 | (bpstat_clear): Use bpstat_free. | |
3839 | (delete_breakpoint): Document why we cannot | |
3840 | remove bpstats from stop_bpstat. | |
3841 | * breakpoint.h (bpstat_free): Declare. | |
3842 | ||
dc66ab8a MS |
3843 | 2007-08-16 Michael Snyder <msnyder@access-company.com> |
3844 | ||
3845 | * event-loop.c (gdb_wait_for_event): Move statement into "if" block. | |
3846 | ||
40c8aaa9 JB |
3847 | 2007-08-15 Paul Hilfinger <hilfinger@adacore.com> |
3848 | Joel Brobecker <brobecker@adacore.com> | |
3849 | ||
3850 | * ada-lang.c (resolve_subexp): Correct arity of binary operators. | |
3851 | ||
ee90b9ab JB |
3852 | 2007-08-15 Paul Hilfinger <hilfinger@adacore.com> |
3853 | Joel Brobecker <brobecker@adacore.com> | |
3854 | ||
3855 | * ada-lang.c (possible_user_operator_p): Alternative fix to last | |
3856 | checkin guarding against NULL. | |
3857 | ||
5b6fe301 MS |
3858 | 2007-08-14 Michael Snyder <msnyder@access-company.com> |
3859 | ||
e5908723 MS |
3860 | * tui-command.c, tui-data.c, tui-disasm.c, tui-file.c, tui-io.c, |
3861 | tui-layout.c, tui-regs.c, tui-source.c, tui-win.c, tui-windata.c, | |
3862 | tui-wingeneral.c, tui-winsource.c: Coding standard, && and || | |
3863 | go at beginning of new line. | |
3864 | ||
08ef48c5 MS |
3865 | * tui-data.c, tui-data.h, tui-disasm.c, tui-disasm.h, tui-hooks.c, |
3866 | tui-io.c, tui-layout.c, tui-layout.h, tui-out.c, tui-regs.c, | |
3867 | tui-source.c, tui-source.h, tui-stack.c, tui-win.c, tui-win.h, | |
3868 | tui-windata.c, tui-windata.h, tui-wingeneral.c, tui-winsource.c, | |
3869 | tui-winsource.h, tui.c, tui.h: Function declarations and | |
3870 | definitions, wrap long lines. | |
3871 | ||
ef5eab5a MS |
3872 | * tui-command.c, tui-data.c, tui-disasm.c, tui-layout.c, |
3873 | tui-regs.c, tui-win.c, tui-windata.c, tui-winsource.c, tui.c: | |
3874 | Reformat block comments to GNU standard. | |
3875 | ||
1cc6d956 MS |
3876 | * tui-command.c, tui-data.c, tui-data.h, tui-disasm.c, tui-file.c, |
3877 | tui-hooks.c, tui-interp.c, tui-io.c, tui-layout.c, tui-out.c, | |
3878 | tui-regs.c, tui-regs.h, tui-source.c, tui-stack.c, tui-win.c, | |
3879 | tui-windata.c, tui-wingeneral.c, tui-winsource.c, tui-winsource.h, | |
3880 | tui.c, tui.h: Comment reformatting to coding standard (capitals, | |
3881 | spaces after periods, etc). | |
3882 | ||
5b6fe301 MS |
3883 | * tui-data.c, tui-data.h, tui-disasm.c, tui-hooks.c, tui-layout.c, |
3884 | tui-regs.c, tui-source.c, tui-stack.c, tui-win.c, tui-windata.c, | |
3885 | tui-wingeneral.c, tui-wingeneral.h, tui-winsource.c, tui.c, | |
3886 | tui-winsource.h: Whitespace changes, fix pointer declarations | |
3887 | to be consistant. | |
3888 | ||
64a1bf19 JB |
3889 | 2007-08-14 Joel Brobecker <brobecker@adacore.com> |
3890 | Michael Snyder <msnyder@access-company.com> | |
3891 | ||
3892 | * ada-lang.c (field_alignment): Guard against NULL. | |
3893 | ||
e933291e JB |
3894 | 2007-08-14 Joel Brobecker <brobecker@adacore.com> |
3895 | ||
3896 | * MAINTAINERS (Global Maintainers): Add self. | |
3897 | ||
348144ba MS |
3898 | 2007-08-14 Michael Snyder <msnyder@access-company.com> |
3899 | ||
068acb6c MS |
3900 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Dead code, dead variable. |
3901 | ||
6d307763 MS |
3902 | * ada-lang.c (possible_user_operator_p): Guard against NULL. |
3903 | ||
348144ba MS |
3904 | * varobj.c (cplus_describe_child): Guard against null. |
3905 | Use "NULL" instead of "0" to initialize pointers. | |
3906 | ||
b8926edc DJ |
3907 | 2007-08-14 Daniel Jacobowitz <dan@codesourcery.com> |
3908 | ||
3909 | * arm-tdep.c (arm_gdbarch_init): Allow unknown ABI and FPU settings | |
3910 | to match any gdbarch with matching OSABI. Set default ABI and FPU | |
3911 | after running the OSABI handler. | |
3912 | ||
cdd6623c DJ |
3913 | 2007-08-14 Daniel Jacobowitz <dan@codesourcery.com> |
3914 | ||
3915 | * config/i386/linux.mh (NATDEPFILES): Move corelow.o from here... | |
3916 | * config/i386/linux.mt (TDEPFILES): ...to here. | |
3917 | ||
cb851954 VP |
3918 | 2007-08-14 Vladimir Prus <vladimir@codesourcery.com> |
3919 | ||
cb851954 VP |
3920 | * breakpoint.c (disable_breakpoints_in_shlibs): Remove |
3921 | the 'silent' parameter and code to implement that. | |
3922 | * breakpoint.h (disable_breakpoints_in_shlibs): Adjust | |
3923 | prototype. | |
3924 | * win32-nat.c: Adjust. | |
3925 | * solib.c: Adjust. | |
3926 | ||
e14a792b VP |
3927 | 2007-08-14 Vladimir Prus <vladimir@codesourcery.com> |
3928 | ||
e14a792b VP |
3929 | * breakpoint.c (update_breakpoints_after_exec): Don't |
3930 | set address to zero. | |
3931 | ||
be8ca11b MS |
3932 | 2007-08-13 Michael Snyder <msnyder@access-company.com> |
3933 | ||
ac3eeb49 MS |
3934 | * valops.c: Whitespace clean-up. |
3935 | ||
81b7c67a MS |
3936 | * tui/tui-winsource.c (tui_alloc_source_buffer): Clean up allocation. |
3937 | ||
f5b73fbb MS |
3938 | * event-top.c (command_line_handler): Memory leak. |
3939 | ||
b538c234 MS |
3940 | * mi/mi-cmd-var.c (mi_cmd_var_set_format): Memory leak. |
3941 | No need to make copy. | |
3942 | ||
be8ca11b MS |
3943 | * source.c (find_source_lines): Require symtab 's'. |
3944 | ||
489f0516 MS |
3945 | 2007-08-11 Michael Snyder <msnyder@access-company.com> |
3946 | ||
3947 | * completer.c: Spelling fix in comments. | |
3948 | ||
9c3f90bd MS |
3949 | 2007-08-10 Michael Snyder <msnyder@access-company.com> |
3950 | ||
687d6395 | 3951 | * gdbtypes.c: Coding standard cleanup. |
7ba81444 MS |
3952 | * gdbtypes.c: Comment/whitespace cleanup. |
3953 | ||
6aef78af MS |
3954 | * stabsread.c (read_huge_number): Attempt to compute value before |
3955 | values that it depends on. | |
3956 | ||
46be51c4 MS |
3957 | * linespec.c (decode_dollar): Dead code, ptr can't be non-null. |
3958 | (decode_objc): Use "NULL" instead of 0. | |
3959 | (find_method): Ditto. | |
3960 | (decode_all_digits): Ditto. | |
3961 | (decode_dollar): Ditto. | |
3962 | ||
412bbd6c MS |
3963 | * mi/mi-main.c (mi_cmd_data_evaluate_expression): Resource leak. |
3964 | ||
76bd6e0b MS |
3965 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Memory leak. |
3966 | ||
518f9d3c MS |
3967 | * solib-svr4.c (enable_break): Don't free tmp_pathname until |
3968 | after closing bfd. | |
3969 | ||
9c3f90bd MS |
3970 | * completer.c: Comment/whitespace cleanup. |
3971 | ||
adee0206 JB |
3972 | 2007-08-10 Joel Brobecker <brobecker@adacore.com> |
3973 | ||
3974 | * Makefile.in (i386nbsd-nat.o): Add missing dependency. | |
3975 | ||
3976 | 2007-08-10 Maxim Grigoriev <maxim2405@gmail.com> | |
9f8e6999 MG |
3977 | |
3978 | * remote-fileio.c (remote_fileio_resize_fd_map): Initialize newly | |
3979 | allocated file descriptors. | |
3980 | ||
271a27b8 JB |
3981 | 2007-08-10 Joel Brobecker <brobecker@adacore.com> |
3982 | ||
3983 | * Makefile.in: Minor cleanup throughout; add some missing variables, | |
3984 | add some missing rules, remove some rules that are no longer needed, | |
3985 | and fix the dependencies in several rules. | |
3986 | ||
57da7796 LC |
3987 | 2007-08-10 Ludovic Courtès <ludo@gnu.org> |
3988 | ||
d4310edb LC |
3989 | * Makefile.in (SFILES): Add scm-{exp,lang,valprint}.c. |
3990 | (scm_lang_h, scm_tags_h): New. | |
3991 | (COMMON_OBS): Add scm-{exp,lang,valprint}.o. | |
3992 | (scm-exp.o, scm-lang.o, scm-valprint.o): New targets. | |
3993 | * defs.h (enum language): Add `language_scm'. | |
3994 | ||
57da7796 LC |
3995 | * MAINTAINERS: Add Emacs local variables to use UTF-8 upon |
3996 | opening. | |
3997 | ||
93c06293 LC |
3998 | 2007-08-09 Ludovic Courtès <ludo@gnu.org> |
3999 | ||
4000 | * MAINTAINERS (Write After Approval): Add myself. | |
4001 | ||
0997b535 MS |
4002 | 2007-08-09 Michael Snyder <msnyder@access-company.com> |
4003 | ||
4004 | * solib.c (solib_open): Memory leak -- openp returns xmalloc buffer. | |
4005 | ||
4fec86cf JB |
4006 | 2007-08-09 Joel Brobecker <brobecker@adacore.com> |
4007 | ||
4008 | * solib-som.c (som_relocate_section_addresses): Stop saving | |
4009 | the $CODE$ section in the so_list structure. | |
4010 | ||
7b871568 MG |
4011 | 2007-08-08 Maxim Grigoriev <maxim2405@gmail.com> |
4012 | ||
4013 | * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): New. | |
4014 | (xtensa_register_group_t): Add entries for coprocessors. | |
4015 | * xtensa-tdep.c (xtensa_init_reggroups): New register groups. | |
4016 | (xtensa_add_reggroups): Likewise. | |
4017 | (xtensa_register_reggroup_p): Likewise. | |
4018 | (xtensa_coprocessor_register_group): New function. | |
4019 | (xtensa_cp): New. | |
4020 | ||
652aaa24 JK |
4021 | 2007-08-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
4022 | ||
4023 | * serial.c (serial_open): Fix the OPEN parameter macro expansion. | |
4024 | ||
decbce07 MS |
4025 | 2007-08-08 Michael Snyder <msnyder@access-company.com> |
4026 | ||
6217bf3e MS |
4027 | * target.c (target_read_string): Guard against null. |
4028 | ||
6225abfa MS |
4029 | * varobj.c (value_of_root): Move alloc after return to avoid leak. |
4030 | ||
3e40160c | 4031 | * tui/tui-layout.c (tui_set_layout): Dead code, dead variable. |
3277c0e0 | 4032 | (tui_set_layout_for_display_command): Mem leak. |
3e40160c | 4033 | |
91d2803c MS |
4034 | * top.c (command_line_input): Memory leak. |
4035 | ||
ea5bf0a1 MS |
4036 | * solib-svr4.c (open_symbol_file_object): Memory leak. |
4037 | (svr4_current_sos): Ditto. | |
4038 | (enable_break): Ditto. | |
4039 | ||
34e2dfde MS |
4040 | * cp-valprint.c (cp_print_hpacc_virtual_table_entries): Memory leak. |
4041 | ||
decbce07 MS |
4042 | * dwarf2read.c (add_partial_symbol): Memory leak. |
4043 | ||
4cdfadb1 MS |
4044 | 2007-08-06 Michael Snyder <msnyder@access-company.com> |
4045 | ||
4046 | * ada-lang.c (desc_bounds): Comparison of function address to NULL. | |
4047 | ||
b1ddacc7 JB |
4048 | 2007-08-05 Jim Blandy <jimb@codesourcery.com> |
4049 | ||
4050 | * macroexp.c (init_buffer): Remove testing code that overrides the | |
4051 | caller's length guess. | |
4052 | (gather_arguments): Use a larger initial size, now that the vector | |
4053 | growth code has been exercised. | |
4054 | ||
5d9643ba PA |
4055 | 2007-08-05 Pedro Alves <pedro_alves@portugalmail.pt> |
4056 | ||
4057 | * solib-target.c (solib_target_relocate_section_addresses): Add | |
4058 | orig_delta to addr_high. | |
4059 | ||
27e06d3e MS |
4060 | 2007-08-04 Michael Snyder <msnyder@access-company.com> |
4061 | ||
1ed489bd MS |
4062 | * remote-fileio.c (remote_fileio_func_write): Memory leak. |
4063 | ||
c1f5197e MS |
4064 | * breakpoint.c (print_one_breakpoint): Off by one error. |
4065 | ||
27e06d3e MS |
4066 | * tracepoint.c (add_register): Off by one error. |
4067 | (stringify_collection_list): Free malloc buffer. | |
4068 | ||
03b4bca2 MS |
4069 | 2007-08-03 Michael Snyder <msnyder@access-company.com> |
4070 | ||
474d0d0c MS |
4071 | * mi-cmd-var.c (mi_cmd_var_delete): Remove unused variable, |
4072 | stop memory leak, straighten out cleanups. | |
4073 | ||
03b4bca2 MS |
4074 | * jv-lang.c (java_link_class_type): Guard against NULL. |
4075 | ||
423c0af8 MS |
4076 | 2007-08-02 Michael Snyder <msnyder@access-company.com> |
4077 | ||
f9780d5b MS |
4078 | * gdbtypes.c (create_set_type): Test should only be done within |
4079 | the preceeding if block. Otherwise, variable is uninitialized. | |
4080 | ||
423c0af8 MS |
4081 | * gdbtypes.c (check_typedef): Guard NULL. |
4082 | ||
c0645fb5 MS |
4083 | 2007-08-01 Michael Snyder <msnyder@access-company.com> |
4084 | ||
3cebf8d8 MS |
4085 | * cli/cli-decode.c (lookup_cmd): Check for null earlier, to |
4086 | avoid dereference in lookup_cmd_1. | |
4087 | ||
c0645fb5 MS |
4088 | * tui/tui-data.c (tui_alloc_content): Move assign out of if, |
4089 | clean up long lines. | |
4090 | (tui_alloc_generic_win_info): Tidy by using XMALLOC macro. | |
4091 | (tui_alloc_win_info): Ditto. | |
4092 | (tui_add_content_elements): Ditto. | |
4093 | * tui/tui-file.c (tui_file_magic): Ditto. | |
4094 | ||
abe34c35 MS |
4095 | 2007-07-31 Michael Snyder <msnyder@access-company.com> |
4096 | ||
967af18d MS |
4097 | * breakpoint.c (breakpoint_init_inferior): Add 'else' to 'if'. |
4098 | True and false paths are mutually exclusive. | |
4099 | ||
40742ab6 MS |
4100 | * event-top.c (command_line_handler): Add pedantic return. |
4101 | ||
7c6e0d48 MS |
4102 | * f-valprint.c (info_common_command): Bail out to prevent null |
4103 | pointer deref. Break up a long line. | |
4104 | ||
c7b1adc9 MS |
4105 | * exec.c (xfer_memory): Remove redundant condition from 'if'. |
4106 | ||
73780b3c MS |
4107 | * symfile.c (reread_separate_symbols): Free xmalloced memory. |
4108 | ||
abe34c35 MS |
4109 | * printcmd.c (build_address_symbolic): Remove dead code and dead |
4110 | variable. | |
4111 | ||
e48883f7 DJ |
4112 | 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com> |
4113 | ||
4114 | * linespec.c (minsym_found): Advance to the next line if possible. | |
4115 | ||
57204837 PA |
4116 | 2007-07-31 Pedro Alves <pedro_alves@portugalmail.pt> |
4117 | ||
4118 | * arm-wince-tdep.c (arm_wince_init_abi): Remove svr4 related call. | |
4119 | * config/arm/wince.mt (TDEPFILES): Remove solib-legacy.o and | |
4120 | solib-svr4.o, and add solib-target.o | |
4121 | ||
fed8b01e MS |
4122 | 2007-07-27 Michael Snyder <msnyder@access-company.com> |
4123 | ||
4124 | * tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof. | |
4125 | ||
9ceb0b4c MR |
4126 | 2007-07-26 Maciej W. Rozycki <macro@linux-mips.org> |
4127 | ||
4128 | * MAINTAINERS (Write After Approval): Add myself. | |
4129 | ||
c80a96a8 MR |
4130 | 2007-07-26 Maciej W. Rozycki <macro@mips.com> |
4131 | ||
4132 | * Makefile.in (MAKEHTMLFLAGS): Also search the current directory | |
4133 | for include files. | |
4134 | ||
5b311828 MR |
4135 | 2007-07-25 Maciej W. Rozycki <macro@mips.com> |
4136 | ||
4137 | * Makefile.in (MAKEHTMLFLAGS): Remove "-glossary". | |
4138 | ||
f52df7d9 | 4139 | 2007-07-24 Michael Snyder <msnyder@access-company.com> |
55765a25 | 4140 | |
f52df7d9 MS |
4141 | * solib-svr4.c (svr4_fetch_objfile_link_map): Null pointer check of |
4142 | 'buffer' must cover both branches that call strcmp (Coverity). | |
55765a25 | 4143 | |
f52df7d9 | 4144 | * stack.c (print_frame_args): Check return value of lookup_symbol. |
747f3d18 MS |
4145 | |
4146 | * ax-gdb.c (find_field): Guard against null ptr. | |
4147 | ||
69ae91d3 UW |
4148 | 2007-07-24 Ulrich Weigand <uweigand@de.ibm.com> |
4149 | ||
4150 | * regformats/reg-spu.dat: Fix order of npc, id registers. | |
4151 | ||
98646950 UW |
4152 | 2007-07-24 Ulrich Weigand <uweigand@de.ibm.com> |
4153 | ||
4154 | * target.c (memory_xfer_partial): Accesses to unmapped overlay | |
4155 | sections should always go to the executable file. | |
4156 | ||
193774b3 MR |
4157 | 2004-07-20 Chris Dearman <chris@mips.com> |
4158 | ||
4159 | * mips-tdep.c (heuristic_proc_start): Add more MIPS16 function | |
4160 | prologue instructions. | |
4161 | ||
ce1f96de MR |
4162 | 2007-07-20 Maciej W. Rozycki <macro@mips.com> |
4163 | ||
4164 | * mips-tdep.c (mips_next_pc): Use is_mips16_addr() instead of | |
4165 | a direct test. | |
4166 | ||
bcf1ea1e MR |
4167 | 2007-07-20 Chris Dearman <chris@mips.com> |
4168 | Maciej W. Rozycki <macro@mips.com> | |
4169 | ||
4170 | * mips-tdep.c (fetch_mips_16): Fix typos and reformat the | |
4171 | description. | |
4172 | ||
255e7678 DJ |
4173 | 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt> |
4174 | Daniel Jacobowitz <dan@codesourcery.com> | |
4175 | ||
4176 | * config/i386/cygwin.mt (TDEPFILES): Add solib-target.o. | |
4177 | * coff-pe-read.c (read_pe_exported_syms): Delete verbose | |
4178 | printf. | |
4179 | * NEWS: Mention gdbserver DLL support. | |
4180 | ||
a8c50c1f DJ |
4181 | 2007-07-17 Daniel Jacobowitz <dan@codesourcery.com> |
4182 | ||
4183 | * dwarf2read.c (dwarf_decode_lines): Detect address size mismatches. | |
4184 | ||
2e024c20 L |
4185 | 2007-07-16 H.J. Lu <hongjiu.lu@intel.com> |
4186 | ||
4187 | * i386-linux-nat.c (fetch_regs): Work around gcc 3.4 alias | |
4188 | warning bug. | |
4189 | ||
f219aedc KB |
4190 | 2007-07-13 Kevin Buettner <kevinb@redhat.com> |
4191 | ||
4192 | * mep-tdep.c (mep_analyze_prologue): Update comment for BRA | |
4193 | instruction case. | |
4194 | ||
1ba3e7a3 KB |
4195 | 2007-07-12 Kevin Buettner <kevinb@redhat.com> |
4196 | ||
4197 | * mep-tdep.c (IS_BRA, BRA_DISP): New macros. | |
4198 | (mep_analyze_prologue): Add case for BRA instruction. | |
4199 | ||
f1e55806 UW |
4200 | 2007-07-12 Ulrich Weigand <uweigand@de.ibm.com> |
4201 | ||
4202 | * solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic. | |
4203 | ||
d9f71b56 NR |
4204 | 2007-07-10 Nick Roberts <nickrob@snap.net.nz> |
4205 | ||
4206 | * breakpoint.c: Include "top.h". | |
4207 | (breakpoint_1): Don't set convenience variable $_ if server prefix | |
4208 | is used. | |
4209 | (_initialize_breakpoint): Describe this behaviour in command help. | |
4210 | ||
358eb95e PA |
4211 | 2007-07-08 Pedro Alves <pedro_alves@portugalmail.pt> |
4212 | ||
4213 | * solib-target.c (library_list_start_segment): Cast address to | |
4214 | CORE_ADDR. | |
4215 | ||
a4e7b2e7 MK |
4216 | 2007-07-06 Mark Kettenis <kettenis@gnu.org> |
4217 | ||
4218 | * bsd-uthread.c (bsd_uthread_wait): Don't try to fetch thread IDs | |
4219 | for terminated processes. | |
4220 | ||
2ed23f5f MS |
4221 | 2007-07-05 Michael Snyder <msnyder@access-company.com> |
4222 | ||
4223 | * event-top.c (cli_command_loop): Prompt string can (and should) | |
4224 | be freed after call to readline (Coverity). Also move local var | |
4225 | declarations into block where they are used. | |
4226 | ||
4227 | * tui/tui-interp.c (tui_command_loop): Prompt string can (and | |
4228 | should) be freed after call to readline (Coverity). Also move | |
4229 | local var declarations into block where they are used. | |
4230 | ||
a25694b4 AS |
4231 | 2007-07-03 Andreas Schwab <schwab@suse.de> |
4232 | ||
4233 | * linux-nat.c (linux_nat_info_proc_cmd): Fix parsing of columns in | |
4234 | /proc/../stat. | |
4235 | ||
2bbe3cc1 DJ |
4236 | 2007-07-03 Paul Gilliam <pgilliam@us.ibm.com> |
4237 | Thiago Bauermann <bauerman@br.ibm.com> | |
4238 | Joseph S. Myers <joseph@codesourcery.com> | |
4239 | Daniel Jacobowitz <dan@codesourcery.com> | |
4240 | ||
4241 | * remote.c (remote_check_symbols): Use | |
4242 | gdbarch_convert_from_func_ptr_addr. | |
4243 | * infcall.c (find_function_addr): Handle function descriptors | |
4244 | without debugging information. | |
4245 | * ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Renamed | |
4246 | from ppc64_linux_convert_from_func_ptr_addr. Handle -msecure-plt. | |
4247 | (ppc_linux_init_abi): Always set convert_from_func_ptr_addr. | |
4248 | * solib-svr4.c (solib_break_names): Remove "._dl_debug_state". | |
4249 | (bfd_lookup_symbol): Do not take a SECT_FLAGS argument. Always | |
4250 | allow SEC_CODE and SEC_DATA. | |
4251 | (enable_break): Update calls. Pass current_target to solib_add. | |
4252 | Use gdbarch_convert_from_func_ptr_addr. | |
4253 | ||
9f43d28c DJ |
4254 | 2007-07-03 Ilko Iliev <iliev@ronetix.at> |
4255 | Daniel Jacobowitz <dan@codesourcery.com> | |
4256 | ||
4257 | * symfile.c (print_transfer_performance): Avoid integer overflow. | |
4258 | Use larger units. | |
4259 | ||
3a40aaa0 UW |
4260 | 2007-07-03 Markus Deuling <deuling@de.ibm.com> |
4261 | ||
4262 | * cp-namespace.c (lookup_symbol_file): Add block to | |
4263 | lookup_symbol_global call. | |
4264 | * Makefile.in (solist_h): Add dependency on symtab header. | |
4265 | (symtab.o): Add dependency on solist header. | |
4266 | * solib.c (solib_global_lookup): New function. | |
4267 | * solib-svr4.c (scan_dyntag): Likewise. | |
4268 | (elf_locate_base): Call helper routine scan_dyntag. | |
4269 | (elf_lookup_lib_symbol): New function. | |
4270 | (_initialize_svr4_solib): Add elf_lookup_lib_symbol to svr4_so_ops. | |
4271 | * solist.h (symtab.h): New include. | |
4272 | (struct target_so_ops): New member lookup_lib_global_symbol. | |
4273 | (solib_global_lookup): New prototype. | |
4274 | * symtab.c: New include solist.h. | |
4275 | (lookup_objfile_from_block): New function. | |
4276 | (lookup_global_symbol_from_objfile): New function. | |
4277 | (basic_lookup_symbol_nonlocal): Add block to lookup_symbol_global call. | |
4278 | (lookup_symbol_global): Call library-specific lookup procedure. | |
4279 | * symtab.h (lookup_global_symbol_from_objfile): New prototype. | |
4280 | ||
4281 | * NEWS: Document framework. | |
4282 | ||
c8c12293 DJ |
4283 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
4284 | ||
4285 | * target-descriptions.c (tdesc_create_reg): Do not set reg->type | |
4286 | to NULL. | |
4287 | ||
4288 | * cli/cli-script.c (build_command_line): Update NULL check. | |
4289 | ||
7877e977 MS |
4290 | 2007-07-02 Michael Snyder <msnyder@access-company.com> |
4291 | ||
4292 | * p-exp.y (yylex): Memory leak, 'uptokstart' must be freed (Coverity). | |
4293 | ||
cfa9d6d9 DJ |
4294 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
4295 | ||
4296 | * Makefile.in (XMLFILES): Add library-list.dtd. | |
4297 | (ALLDEPFILES): Add solib-target.o. | |
4298 | (solib-target.o): New rule. | |
4299 | * remote.c (PACKET_qXfer_libraries): New constant. | |
4300 | (remote_protocol_features): Add qXfer:libraries:read. | |
4301 | (remote_wait): Recognize library stop replies. | |
4302 | (remote_async_wait): Likewise. Fix typo. | |
4303 | (remote_xfer_partial): Handle TARGET_OBJECT_LIBRARIES. | |
4304 | (init_remote_async_ops): Fix typo. | |
4305 | (_initialize_remote): Register "set remote library-info-packet". | |
4306 | * solib-som.c (som_current_sos): Set addr_low and addr_high. | |
4307 | * solib-target.c: New file. | |
4308 | * solib.c (solib_map_sections): Use addr_low and addr_high instead | |
4309 | of textsection. | |
4310 | (info_sharedlibrary_command): Likewise. | |
4311 | (solib_add_library, solib_remove_library): New. | |
4312 | * solist.h (struct so_list): Replace textsection with addr_low and | |
4313 | addr_high. | |
4314 | * target.h (enum target_object): Add TARGET_OBJECT_LIBRARIES. | |
4315 | * NEWS: Describe new qXfer:libraries:read and shared library | |
4316 | event support. | |
4317 | * features/library-list.dtd: New. | |
4318 | ||
b0f4b84b DJ |
4319 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
4320 | ||
4321 | * infrun.c (inferior_ignoring_startup_exec_events): Delete. | |
4322 | (start_remote): Use STOP_QUIETLY_REMOTE. | |
4323 | (handle_inferior_event): Do not condition TARGET_WAITKIND_LOADED | |
4324 | support on a SOLIB_ADD definition. Update breakpoints_inserted. | |
4325 | Update to match shared library event breakpoint support. Only | |
4326 | resume if appropriate. Handle STOP_QUIETLY_REMOTE. | |
4327 | (normal_stop): Handle TARGET_WAITKIND_LOADED. | |
4328 | * fork-child.c (startup_inferior): Do not set | |
4329 | inferior_ignoring_startup_exec_events | |
4330 | * inferior.h (inferior_ignoring_startup_exec_events): Delete | |
4331 | declaration. | |
4332 | (enum stop_kind): Improve documentation. Add STOP_QUIETLY_REMOTE. | |
4333 | ||
9bbf65bb UW |
4334 | 2007-07-02 Markus Deuling <deuling@de.ibm.com> |
4335 | ||
4336 | * breakpoint.c (insert_bp_location): Remove dead code | |
4337 | (DISABLE_UNSETTABLE_BREAK). | |
4338 | (disable_breakpoints_in_shlibs) | |
4339 | (disable_breakpoints_in_unloaded_shlib): Likewise (comment). | |
4340 | ||
a4954f26 DJ |
4341 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
4342 | ||
4343 | * breakpoint.c (reattach_breakpoints): Do not use remove_breakpoint. | |
4344 | Call insert_bp_location. | |
4345 | ||
b48516f9 L |
4346 | 2007-07-01 H.J. Lu <hongjiu.lu@intel.com> |
4347 | ||
4348 | * core-regset.c (fetch_core_registers): Work around gcc 3.4 | |
4349 | alias warning bug. | |
4350 | ||
96225718 DJ |
4351 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
4352 | ||
4353 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Search fewer | |
4354 | objfiles. | |
4355 | ||
1b05479a DJ |
4356 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
4357 | ||
4358 | * top.c (gdb_readline_wrapper_line): Call rl_callback_handler_remove. | |
4359 | (struct gdb_readline_wrapper_cleanup): Remove prompt_orig. | |
4360 | (gdb_readline_wrapper_cleanup): Do not reset the prompt. | |
4361 | (gdb_readline_wrapper): Do not save the prompt. Pass our prompt | |
4362 | to display_gdb_prompt. | |
4363 | ||
5ad3a4ca DJ |
4364 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
4365 | ||
4366 | PR symtab/2161 | |
4367 | * target.c (memory_xfer_partial): Do not continue past targets with | |
4368 | all memory. | |
4369 | ||
4ed77933 AS |
4370 | 2007-06-30 Andreas Schwab <schwab@suse.de> |
4371 | ||
4713453b AS |
4372 | * m68k-tdep.c (m68k_ps_type): New. |
4373 | (m68k_init_types): New. | |
4374 | (m68k_register_type): Use m68k_ps_type for PS register. | |
4375 | (_initialize_m68k_tdep): Call m68k_init_types. | |
4376 | ||
4ed77933 AS |
4377 | * m68k-tdep.c (m68k_gdbarch_init): Don't infer coldfire flavour |
4378 | from the generic m68k arch. | |
4379 | ||
dd3526aa MS |
4380 | 2007-06-28 Michael Snyder <msnyder@access-company.com> |
4381 | ||
f08312c2 MS |
4382 | * m2-typeprint.c (m2_print_type): Move pointer ref after null test |
4383 | (Coverity). | |
4384 | ||
a787bedf MS |
4385 | * linux-thread-db.c (thread_db_get_thread_local_address): Add |
4386 | gdb_assert before using return value of find_thread_pid (Coverity). | |
4387 | ||
77accacd MS |
4388 | * source.c (unset_substitute_path_command): Plug leak (Coverity). |
4389 | ||
dd3526aa MS |
4390 | * cli/cli-script.c (build_command_line): Add null pointer guard |
4391 | (Coverity). | |
4392 | ||
4105de34 DJ |
4393 | 2007-06-27 Daniel Jacobowitz <dan@codesourcery.com> |
4394 | ||
4395 | * linux-thread-db.c (thread_db_attach): Delete. | |
4396 | (thread_db_detach): Typo fix. Call target_mourn_inferior | |
4397 | instead of fixing up proc_handle. | |
4398 | (have_threads_callback, have_threads): New functions. | |
4399 | (thread_db_wait): Remove dead proc_handle.pid check. Only | |
4400 | translate PTIDs if we have registered threads. Check for new | |
4401 | threads if we have none. | |
4402 | (thread_db_create_inferior, thread_db_post_startup_inferior): Delete. | |
4403 | (find_new_threads_callback): Only enable event reporting if TID == 0. | |
4404 | (same_ptid_callback): New. | |
4405 | (thread_db_get_thread_local_address): Check for new threads. | |
4406 | (init_thread_db_ops): Don't set to_attach, to_create_inferior, | |
4407 | or to_post_startup_inferior. | |
4408 | ||
1c0fdd0e UW |
4409 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
4410 | ||
4411 | * infrun.c (adjust_pc_after_break): Do not assume software single-step | |
4412 | is always active if SOFTWARE_SINGLE_STEP_P is true. | |
4413 | (resume): Use gdbarch_software_single_step[_p] instead of | |
4414 | SOFTWARE_SINGLE_STEP[_P]. | |
4415 | (handle_inferior_event): Do not check for SOFTWARE_SINGLE_STEP_P. | |
4416 | ||
4417 | * gdbarch.sh (software_single_step): Remove target macro. | |
4418 | * gdbarch.h, gdbarch.c: Regenerate. | |
4419 | ||
e487cc15 UW |
4420 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
4421 | ||
4422 | * gdbarch.sh (gdbarch_swap_ftype, deprecated_register_gdbarch_swap, | |
4423 | DEPRECATED_REGISTER_GDBARCH_SWAP): Remove. | |
4424 | (struct gdbarch_swap, struct gdbarch_swap_registration, | |
4425 | struct gdbarch_swap_registry, gdbarch_swap_registry, | |
4426 | current_gdbarch_swap_init_hack, current_gdbarch_swap_out_hack, | |
4427 | current_gdbarch_swap_in_hack): Remove. | |
4428 | (find_arch_by_info): Do not call current_gdbarch_swap_init_hack. | |
4429 | (gdbarch_find_by_info): Do not call current_gdbarch_swap_in_hack | |
4430 | and current_gdbarch_swap_out_hack, update current_gdbarch directly. | |
4431 | (deprecated_current_gdbarch_select_hack): Likewise. | |
4432 | * gdbarch.h, gdbarch.c: Regenerate. | |
4433 | ||
d5c31457 UW |
4434 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
4435 | ||
4436 | * infrun.c (clear_proceed_status): Clean up stop_registers. | |
4437 | (normal_stop): Allocate regcache for stop_registers. | |
4438 | (struct inferior_status): Remove stop_registers member. | |
4439 | (save_inferior_status): Do not save stop_registers. | |
4440 | (restore_inferior_status): Do not restore stop_registers. | |
4441 | (discard_inferior_status): Do not discard stop_registers. | |
4442 | (build_infrun): Remove. | |
4443 | (_initialize_infrun): Do not swap stop_registers. | |
4444 | ||
911c95a5 UW |
4445 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
4446 | ||
4447 | * remote.c (remote_address_masked): If remote_address_size is zero, | |
4448 | default to target address size. | |
4449 | (build_remote_gdbarch_data): Remove. | |
4450 | (_initialize_remote): Do not swap remote_address_size. | |
4451 | ||
5674de60 UW |
4452 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
4453 | ||
4454 | * gdbtypes.h (builtin_type_true_char, builtin_type_void, | |
4455 | builtin_type_char, builtin_type_short, builtin_type_int, | |
4456 | builtin_type_long, builtin_type_signed_char, | |
4457 | builtin_type_unsigned_char, builtin_type_unsigned_short, | |
4458 | builtin_type_unsigned_int, builtin_type_unsigned_long, | |
4459 | builtin_type_float, builtin_type_double, builtin_type_long_double, | |
4460 | builtin_type_complex, builtin_type_double_complex, builtin_type_string, | |
4461 | builtin_type_bool, builtin_type_long_long, | |
4462 | builtin_type_unsigned_long_long, builtin_type_void_data_ptr, | |
4463 | builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Replace global | |
4464 | variable declaration with compatibility macro. | |
4465 | * gdbtypes.c (builtin_type_true_char, builtin_type_void, | |
4466 | builtin_type_char, builtin_type_short, builtin_type_int, | |
4467 | builtin_type_long, builtin_type_signed_char, | |
4468 | builtin_type_unsigned_char, builtin_type_unsigned_short, | |
4469 | builtin_type_unsigned_int, builtin_type_unsigned_long, | |
4470 | builtin_type_float, builtin_type_double, builtin_type_long_double, | |
4471 | builtin_type_complex, builtin_type_double_complex, builtin_type_string, | |
4472 | builtin_type_bool, builtin_type_long_long, | |
4473 | builtin_type_unsigned_long_long, builtin_type_void_data_ptr, | |
4474 | builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Remove. | |
4475 | (build_gdbtypes): Remove. | |
4476 | (_initialize_gdbtypes): Do not call build_gdbtypes, move installing | |
4477 | opaque-type-resolution command here. Do not call | |
4478 | deprecated_register_gdbarch_swap. | |
4479 | ||
64c50499 UW |
4480 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
4481 | ||
4482 | * gdbtypes.h (struct builtin_type): New members nodebug_text_symbol, | |
4483 | nodebug_data_symbol, nodebug_unknown_symbol, and nodebug_tls_symbol. | |
4484 | * gdbtypes.c (gdbtypes_post_init): Initialize nodebug_ default types. | |
4485 | ||
4486 | * parse.c (msym_text_symbol_type, msym_data_symbol_type): Remove. | |
4487 | (msym_unknown_symbol_type, msym_tls_symbol_type): Remove. | |
4488 | (write_exp_msymbol): Use builtin nodebug_ types instead of them. | |
4489 | (build_parse): Remove. | |
4490 | (_initialize_parse): Do not call build_parse. Do not register | |
4491 | msym_ types for gdbarch-swapping. | |
4492 | ||
4493 | * dwarf2read.c (new_symbol): Use default nodebug_data_symbol type | |
4494 | instead of creating private type. | |
4495 | ||
4496 | * xcoffread.c (func_symbol_type, var_symbol_type): Remove. | |
4497 | (_initialize_xcoffread): Do not initialized them. | |
4498 | (process_xcoff_symbol): Use builtin nodebug_ types instead of them. | |
4499 | ||
4500 | * mdebugread.c (nodebug_func_symbol_type): Remove. | |
4501 | (nodebug_var_symbol_type): Remove. | |
4502 | (_initialize_mdebugread): Do not initialize them. | |
4503 | (parse_symbol): Use builtin nodebug_ type instead of them. | |
4504 | (parse_procedure): Likewise. | |
4505 | ||
6a2eb474 MR |
4506 | 2007-06-21 Chris Dearman <chris@mips.com> |
4507 | ||
4508 | * printcmd.c (do_one_display): If display/i, start with an initial | |
4509 | line feed to avoid bad layout if there is a branch delay slot. | |
4510 | ||
a4642986 MR |
4511 | 2007-06-21 Nigel Stephens <nigel@mips.com> |
4512 | Maciej W. Rozycki <macro@mips.com> | |
4513 | ||
4514 | * disasm.c (gdb_print_insn): Return the number of branch delay | |
4515 | slot instructions too. | |
4516 | * disasm.h (gdb_print_insn): Update prototype. | |
4517 | * printcmd.c (branch_delay_insns): New variable to record the | |
4518 | number of delay slot instructions after disassembling a branch. | |
4519 | (print_formatted): Record the number of branch delay slot | |
4520 | instructions. | |
4521 | (do_examine): When disassembling, if the last instruction | |
4522 | disassembled has any branch delay slots, then bump the count so | |
4523 | that they get disassembled too. | |
4524 | * tui/tui-disasm.c (tui_disassemble): Update the call to | |
4525 | gdb_print_insn(). | |
4526 | * NEWS: Document the new behaviour. | |
4527 | ||
ade28716 AS |
4528 | 2007-06-21 Andreas Schwab <schwab@suse.de> |
4529 | ||
4530 | * regcache.c (write_pc_pid): Restore missing else. | |
4531 | ||
28c38f10 UW |
4532 | 2007-06-20 Ulrich Weigand <uweigand@de.ibm.com> |
4533 | ||
4534 | * regcache.c (regcache_print): Use get_current_regcache () | |
4535 | instead of current_regcache. | |
4536 | ||
52b57208 L |
4537 | 2007-06-20 H.J. Lu <hongjiu.lu@intel.com> |
4538 | ||
4539 | PR 4606 | |
4540 | * gcore.c (gcore_command): Use bfd_make_section_anyway_with_flags | |
4541 | instead of bfd_make_section_anyway. | |
4542 | (gcore_create_callback): Likewise. Also set SEC_NEVER_LOAD | |
4543 | when clearing SEC_LOAD. | |
4544 | ||
8bf8793c JM |
4545 | 2007-06-19 Joseph Myers <joseph@codesourcery.com> |
4546 | ||
4547 | * arm-tdep.c (arm_push_dummy_call): Correct padding of partial | |
4548 | registers for big-endian. | |
4549 | ||
7f5c84d3 UW |
4550 | 2007-06-19 Markus Deuling <deuling@de.ibm.com> |
4551 | ||
4552 | * gdbarch.sh (TARGET_PRINT_INSN): Replace by gdbarch_print_insn. | |
4553 | * disasm.c (dump_insns, gdb_print_insn): Likewise. | |
4554 | * gdbarch.c, gdbarch.h: Regenerate. | |
4555 | ||
f73e88f9 UW |
4556 | 2007-06-19 Markus Deuling <deuling@de.ibm.com> |
4557 | ||
4558 | * gdbarch.sh (BELIEVE_PCC_PROMOTION): Replace by | |
4559 | gdbarch_believe_pcc_promotion. | |
4560 | * stabsread.c (define_symbol): Likewise. | |
4561 | Remove unnecessary definition. | |
4562 | * coffread.c (process_coff_symbol): Remove unnecessary code. | |
4563 | * gdbarch.c, gdbarch.h: Regenerate. | |
4564 | ||
cab58a69 DJ |
4565 | 2007-06-19 Daniel Jacobowitz <dan@codesourcery.com> |
4566 | ||
4567 | * configure.ac: Do not use ${objdir}. | |
4568 | * configure: Regenerated. | |
4569 | ||
f0c9063c UW |
4570 | 2007-06-18 Ulrich Weigand <uweigand@de.ibm.com> |
4571 | ||
4572 | * gdbarch.sh (deprecated_register_size): Remove. | |
4573 | * gdbarch.h, gdbarch.c: Regenerate. | |
4574 | ||
4575 | * arm-tdep.c (arm_push_dummy_call): Replace DEPRECATED_REGISTER_SIZE | |
4576 | by INT_REGISTER_SIZE. | |
4577 | (thumb_get_next_pc, arm_return_in_memory): Likewise. | |
4578 | (arm_gdbarch_init): Do not call set_gdbarch_deprecated_register_size. | |
4579 | * ia64-tdep.c (ia64_gdbarch_init): Do not call | |
4580 | set_gdbarch_deprecated_register_size. | |
4581 | ||
064f5156 UW |
4582 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
4583 | ||
4584 | * gdbarch.sh (DEPRECATED_FP_REGNUM): Replace by | |
4585 | gdbarch_deprecated_fp_regnum. | |
4586 | * std-regs.c (value_of_builtin_frame_fp_reg): Likewise. | |
4587 | * remote-mips.c (mips_wait, mips_fetch_registers): Likewise. | |
4588 | * arch-utils.c (legacy_virtual_frame_pointer): Likewise. | |
4589 | * arch-utils.h (gdbarch_virtual_frame_pointer_ftype): Likewise | |
4590 | (comment). | |
4591 | * gdbarch.c, gdbarch.h: Regenerate. | |
4592 | ||
4593 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> | |
4594 | ||
4595 | * gdbarch.sh (EXTRACT_RETURN_VALUE): Replace with | |
4596 | gdbarch_extract_return_value. | |
4597 | * value.c (generic_use_struct_convention): Likewise (comment). | |
4598 | * ia64-tdep.c (ia64_use_struct_convention): Likewise (comment). | |
4599 | * arch-utils.c (legacy_return_value): Likewise. | |
4600 | * arch-utils.h (legacy_return_value): Likewise (comment). | |
4601 | * gdbarch.sh (STORE_RETURN_VALUE): Replace by | |
4602 | gdbarch_store_return_value. | |
4603 | * stack.c (return_command): Likewise (comment). | |
4604 | * arch-utils.h (legacy_return_value): Likewise (comment). | |
4605 | * arch-utils.c (legacy_return_value): Likewise. | |
4606 | * gdbarch.c, gdbarch.h: Regenerate. | |
4607 | ||
b187c476 UW |
4608 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
4609 | ||
4610 | * gdbarch.sh (DEPRECATED_USE_STRUCT_CONVENTION): Replace by | |
4611 | gdbarch_deprecated_use_struct_convention. | |
4612 | * arch-utils.c (legacy_return_value): Likewise. | |
4613 | * gdbarch.c, gdbarch.h: Regenerate. | |
4614 | ||
cbf3b44a UW |
4615 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
4616 | ||
4617 | * gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Replace by | |
4618 | gdbarch_deprecated_function_start_offset. | |
4619 | * symtab.c (find_function_start_sal)skip_prologue_using_sal): Likewise. | |
4620 | * linespec.c (minsym_found): Likewise. | |
4621 | * infrun.c (handle_inferior_event): Likewise. | |
4622 | * infcall.c (find_function_addr): Likewise. | |
4623 | * cli/cli-cmds.c (disassemble_command): Likewise. | |
4624 | * gdbarch.c, gdbarch.h: Regenerate. | |
4625 | ||
bceb6e50 UW |
4626 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
4627 | ||
4628 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Replace by | |
4629 | gdbarch_deprecated_reg_struct_has_addr. | |
4630 | * infcall.c (call_function_by_hand): Likewise. | |
4631 | (DEPRECATED_REG_STRUCT_HAS_ADDR_P): Replace by | |
4632 | * gdbarch_deprecated_reg_struct_has_addr_p. | |
4633 | * infcall.c (call_function_by_hand): Likewise. | |
4634 | * gdbarch.c, gdbarch.h: Regenerate. | |
4635 | ||
8ed6a7ba UW |
4636 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
4637 | ||
4638 | * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
4639 | * sh-tdep.c (sh_extract_struct_value_address): Remove. | |
4640 | (sh_gdbarch_init): Remove | |
4641 | set_gdbarch_deprecated_extract_struct_value_address. | |
4642 | * sh64-tdep.c (sh64_extract_struct_value_address): Remove. | |
4643 | (sh64_gdbarch_init): Remove | |
4644 | set_gdbarch_deprecated_extract_struct_value_address. | |
4645 | * ia64-tdep.c (ia64_extract_struct_value_address): Remove. | |
4646 | (ia64_gdbarch_init): Remove | |
4647 | set_gdbarch_deprecated_extract_struct_value_address. | |
4648 | * frv-tdep.c (frv_extract_struct_value_address): Remove. | |
4649 | (frv_gdbarch_init): Remove | |
4650 | set_gdbarch_deprecated_extract_struct_value_address. | |
4651 | * gdbarch.c, gdbarch.h: Regenerate. | |
4652 | ||
3e8c568d UW |
4653 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
4654 | ||
4655 | * gdbarch.sh (SP_REGNUM): Replace by gdbarch_sp_regnum. | |
4656 | * v850-tdep.c (v850_unwind_sp): Likewise. | |
4657 | * std-regs.c (value_of_builtin_frame_sp_reg): Likewise. | |
4658 | * stack.c (frame_info): Likewise. | |
4659 | * stabsread.c (define_symbol): Likewise. | |
4660 | * sh-tdep.c (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu) | |
4661 | (sh_dwarf2_frame_init_reg, sh_frame_cache, sh_frame_prev_register) | |
4662 | (sh_unwind_sp): Likewise. | |
4663 | * sh64-tdep.c (sh64_push_dummy_call, sh64_frame_cache) | |
4664 | (sh64_frame_prev_register, sh64_unwind_sp): Likewise. | |
4665 | * rs6000-tdep.c (rs6000_push_dummy_call, rs6000_unwind_dummy_id) | |
4666 | (rs6000_frame_cache): Likewise. | |
4667 | * rs6000-nat.c (store_register): Likewise. | |
4668 | * remote-mips.c (mips_wait): Likewise. | |
4669 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
4670 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call) | |
4671 | (ppc64_sysv_abi_push_dummy_call): Likewise. | |
4672 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise. | |
4673 | * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise. | |
4674 | * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise. | |
4675 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
4676 | * m32r-rom.c (m32r_supply_register): Likewise. | |
4677 | * frame.c (frame_sp_unwind): Likewise. | |
4678 | * mips-tdep.c (mips_insn16_frame_cache) | |
4679 | (mips_insn32_frame_cache): Likewise (comment). | |
4680 | * m68klinux-nat.c (supply_gregset): Likewise. | |
4681 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
4682 | * ia64-tdep.c (ia64_frame_prev_register): Likewise. | |
4683 | * i386-tdep.c (i386_get_longjmp_target): Likewise. | |
4684 | * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise. | |
4685 | * cris-tdep.c (cris_regnums, cris_sigcontext_addr) | |
4686 | (cris_sigtramp_frame_unwind_cache, cris_push_dummy_call) | |
4687 | (cris_scan_prologue, crisv32_scan_prologue, cris_unwind_sp) | |
4688 | (cris_register_type, crisv32_register_type) | |
4689 | (cris_dwarf2_frame_init_reg): Likewise. | |
4690 | * arch-utils.c (legacy_virtual_frame_pointer): Likewise. | |
4691 | * amd64-tdep.c (amd64_frame_prev_register): Likewise. | |
4692 | * amd64-linux-tdep.c (amd64_linux_sigcontext_addr): Likewise. | |
4693 | * libunwind-frame.c (libunwind_frame_cache): Likewise. | |
4694 | ||
4695 | * gdbarch.sh (PC_REGNUM): Replace by gdbarch_pc_regnum. | |
4696 | * regcache.c (read_pc_pid, generic_target_write_pc): Likewise. | |
4697 | * xtensa-tdep.c (xtensa_register_type, xtensa_supply_gregset) | |
4698 | (xtensa_unwind_pc, xtensa_frame_cache, xtensa_frame_prev_register) | |
4699 | (xtensa_extract_return_value, xtensa_store_return_value): Likewise. | |
4700 | * v850-tdep.c (v850_unwind_pc): Likewise. | |
4701 | * stack.c (frame_info): Likewise. | |
4702 | * sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh2e_show_regs) | |
4703 | (sh2a_show_regs, sh2a_nofpu_show_regs, sh3e_show_regs) | |
4704 | (sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs) | |
4705 | (sh_dwarf2_frame_init_reg, sh_frame_prev_register, sh_unwind_pc) | |
4706 | (sh_dsp_show_regs): Likewise. | |
4707 | * shnbsd-tdep.c (shnbsd_supply_gregset) | |
4708 | (shnbsd_collect_gregset): Likewise. | |
4709 | * shnbsd-nat.c (GETREGS_SUPPLIES): Likewise. | |
4710 | * sh64-tdep.c (sh64_compact_reg_base_num, sh64_show_media_regs) | |
4711 | (sh64_frame_prev_register, sh64_unwind_pc): Likewise. | |
4712 | * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset) | |
4713 | (6000_register_reggroup_p, rs6000_unwind_pc) | |
4714 | (rs6000_frame_cache): Likewise. | |
4715 | * rs6000-nat.c (regmap, rs6000_fetch_inferior_registers) | |
4716 | (rs6000_store_inferior_registers): Likewise. | |
4717 | * remote-mips.c (mips_wait, mips_load): Likewise. | |
4718 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
4719 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise. | |
4720 | * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise. | |
4721 | * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise. | |
4722 | * ppcnbsd-nat.c (getregs_supplies, ppcnbsd_supply_pcb): Likewise. | |
4723 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
4724 | * ppc-linux-nat.c (ppc_register_u_addr, fetch_ppc_registers) | |
4725 | (store_ppc_registers, fill_gregset): Likewise. | |
4726 | * mips-tdep.c (mips_stub_frame_cache, mips_gdbarch_init): Likewise. | |
4727 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_fill_reg): Likewise. | |
4728 | * mipsnbsd-nat.c (getregs_supplies): Likewise. | |
4729 | * m68k-tdep.c (m68k_register_type, m68k_unwind_pc): Likewise. | |
4730 | * m68klinux-nat.c (supply_gregset): Likewise. | |
4731 | * irix5-nat.c (fill_gregset): Likewise. | |
4732 | * i386-tdep.c (i386_unwind_pc): Likewise. | |
4733 | * i386-linux-nat.c (i386_linux_resume): Likewise. | |
4734 | * frame.c (get_prev_frame_1): Likewise. | |
4735 | * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise. | |
4736 | * dbug-rom.c (dbug_supply_register): Likewise. | |
4737 | * cris-tdep.c (cris_sigtramp_frame_unwind_cache, cris_scan_prologue) | |
4738 | (crisv32_scan_prologue, cris_unwind_pc, cris_register_size) | |
4739 | (cris_register_type, crisv32_register_type, crisv32_register_name) | |
4740 | (cris_dwarf2_frame_init_reg, find_step_target) | |
4741 | (cris_software_single_step, cris_supply_gregset) | |
4742 | (cris_regnums): Likewise. | |
4743 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. | |
4744 | * aix-thread.c (special_register_p, supply_sprs64, supply_sprs32) | |
4745 | (fill_sprs64, fill_sprs32, store_regs_user_thread): Likewise. | |
4746 | * std-regs.c (value_of_builtin_frame_pc_reg): Likewise. | |
4747 | * mips-linux-tdep.c (mips_linux_write_pc): Likewise. | |
4748 | ||
4749 | * gdbarch.sh (PS_REGNUM): Replace by gdbarch_ps_regnum. | |
4750 | * dbug-rom.c (dbug_supply_register): Likewise. | |
4751 | * xtensa-tdep.c (xtensa_supply_gregset, xtensa_frame_cache) | |
4752 | (xtensa_frame_prev_register, xtensa_push_dummy_call): Likewise. | |
4753 | * win32-nat.c (win32_resume): Likewise. | |
4754 | * std-regs.c (value_of_builtin_frame_ps_reg): Likewise. | |
4755 | * m68k-tdep.c (m68k_register_type): Likewise. | |
4756 | * m68klinux-nat.c (supply_gregset): Likewise. | |
4757 | ||
4758 | * gdbarch.sh (FP0_REGNUM): Replace by gdbarch_fp0_regnum. | |
4759 | * sh-tdep.c (sh_extract_return_value_fpu, sh_store_return_value_fpu) | |
4760 | (sh2e_show_regs, sh2a_show_regs, sh3e_show_regs, sh4_show_regs) | |
4761 | (sh_sh2a_register_type, sh_sh3e_register_type, sh_sh4_register_type) | |
4762 | (fv_reg_base_num, dr_reg_base_num): Likewise. | |
4763 | * sh64-tdep.c (sh64_fv_reg_base_num, sh64_dr_reg_base_num) | |
4764 | (sh64_fpp_reg_base_num, sh64_compact_reg_base_num, sh64_push_dummy_call) | |
4765 | (sh64_extract_return_value, sh64_store_return_value) | |
4766 | (sh64_show_media_regs, sh64_show_compact_regs, sh64_register_type) | |
4767 | (sh64_do_fp_register, sh64_media_print_registers_info): Likewise. | |
4768 | * procfs.c (procfs_fetch_registers, procfs_store_registers) | |
4769 | (invalidate_cache): Likewise. | |
4770 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
4771 | * mipsnbsd-tdep.c (mipsnbsd_supply_fpreg) | |
4772 | (mipsnbsd_fill_fpreg): Likewise. | |
4773 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers) | |
4774 | (mipsnbsd_store_inferior_registers): Likewise. | |
4775 | * mips-linux-tdep.c (mips_supply_fpregset, mips_fill_fpregset) | |
4776 | (mips64_supply_fpregset, mips64_fill_fpregset): Likewise. | |
4777 | * mips-linux-nat.c (mips64_linux_register_addr): Likewise. | |
4778 | * m68k-tdep.c (m68k_register_type, m68k_convert_register_p): Likewise. | |
4779 | * m68klinux-nat.c (getfpregs_supplies, supply_fpregset) | |
4780 | (fill_fpregset): Likewise. | |
4781 | * irix5-nat.c (supply_fpregset, fill_fpregset): Likewise. | |
4782 | * i386-tdep.h (struct_return): Likewise (comment). | |
4783 | * i386-nto-tdep.c (i386nto_register_area): Likewise. | |
4784 | * go32-nat.c (fetch_register, go32_fetch_registers, store_register) | |
4785 | (go32_store_registers): Likewise. | |
4786 | * alpha-tdep.c (alpha_next_pc): Likewise. | |
4787 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. | |
4788 | * alphabsd-nat.c (alphabsd_fetch_inferior_registers) | |
4789 | (alphabsd_store_inferior_registers): Likewise. | |
4790 | * core-regset.c (fetch_core_registers): Likewise. | |
4791 | * i386v4-nat.c (supply_fpregset, fill_fpregset): Likewise. | |
4792 | ||
4793 | * gdbarch.c, gdbarch.h: Regenerate. | |
4794 | ||
31d99776 DJ |
4795 | 2007-06-18 Daniel Jacobowitz <dan@codesourcery.com> |
4796 | ||
4797 | * coffread.c (coff_sym_fns): Add default_symfile_segments. | |
4798 | * dbxread.c (start_psymtab): Check HAVE_ELF. | |
4799 | (aout_sym_fns): Likewise. | |
4800 | * elfread.c (elf_symfile_segments): New. | |
4801 | (elf_sym_fns): Add elf_symfile_segments. | |
4802 | * mipsread.c (ecoff_sym_fns): Add default_symfile_segments. | |
4803 | * remote.c (get_offsets): Use symfile_map_offsets_to_segments. | |
4804 | Skip if there is no symfile_objfile. Handle TextSeg and DataSeg. | |
4805 | * somread.c (som_sym_fns): Use default_symfile_segments. | |
4806 | * symfile.c (find_sym_fns): Take a BFD and return the sym_fns. | |
4807 | (init_objfile_sect_indices): Call symfile_find_segment_sections. | |
4808 | (default_symfile_segments): New function. | |
4809 | (syms_from_objfile): Update call to find_sym_fns. | |
4810 | (symfile_get_segment_data, free_symfile_segment_data): New. | |
4811 | (symfile_map_offsets_to_segments): New. | |
4812 | (symfile_find_segment_sections): New. | |
4813 | * symfile.h (struct symfile_segment_data): New. | |
4814 | (struct sym_fns): Add sym_segments. | |
4815 | (default_symfile_segments, symfile_get_segment_data) | |
4816 | (free_symfile_segment_data): New prototypes. | |
4817 | (symfile_map_offsets_to_segments): Likewise. | |
4818 | * xcoffread.c (xcoff_sym_fns): Add default_symfile_segments. | |
4819 | * Makefile.in (COMMON_OBS): Remove elfread.o. | |
4820 | (elf_internal_h): New. | |
4821 | (elfread.o): Update. | |
4822 | * configure.ac: Add elfread.o to COMMON_OBS if bfd/elf.o was | |
4823 | compiled. | |
4824 | * config.in, configure: Regenerated. | |
4825 | * NEWS: Mention qOffsets changes. | |
4826 | ||
5760b90a UW |
4827 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
4828 | ||
4829 | * gdbtypes.h (builtin_type_m2_char, builtin_type_m2_int, | |
4830 | builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool): | |
4831 | Replace global variable declaration with compatibility macro. | |
4832 | (struct builtin_m2_type): New data type. | |
4833 | (builtin_m2_type): Add prototype. | |
4834 | * m2-lang.c (builtin_type_m2_char, builtin_type_m2_int, | |
4835 | builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool): | |
4836 | Remove global variables. | |
4837 | (m2_language_arch_info): Use builtin_m2_type instead of variables. | |
4838 | (build_m2_types): New function. | |
4839 | (m2_type_data): New variable. | |
4840 | (builtin_m2_type): New function. | |
4841 | (_initialize_m2_language): Do not build data types. Register | |
4842 | m2_type_data per-gdbarch data. | |
4843 | ||
54ef06c7 UW |
4844 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
4845 | ||
4846 | * gdbtypes.h (builtin_type_f_character, builtin_type_f_logical, | |
4847 | builtin_type_f_logical_s1, builtin_type_f_logical_s2, | |
4848 | builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real, | |
4849 | builtin_type_f_real_s8, builtin_type_f_real_s16, | |
4850 | builtin_type_f_complex_s8, builtin_type_f_complex_s16, | |
4851 | builtin_type_f_complex_s32, builtin_type_f_void): Replace global | |
4852 | variable declaration with compatibility macro. | |
4853 | (struct builtin_f_type): New data type. | |
4854 | (builtin_f_type): Add prototype. | |
4855 | * f-lang.c (builtin_type_f_character, builtin_type_f_logical, | |
4856 | builtin_type_f_logical_s1, builtin_type_f_logical_s2, | |
4857 | builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real, | |
4858 | builtin_type_f_real_s8, builtin_type_f_real_s16, | |
4859 | builtin_type_f_complex_s8, builtin_type_f_complex_s16, | |
4860 | builtin_type_f_complex_s32, builtin_type_f_void): Remove variables. | |
4861 | (f_language_arch_info): Use builtin_f_type instead of variables. | |
4862 | (build_fortran_types): Build builtin_f_type structure instead of | |
4863 | setting global type variables. | |
4864 | (f_type_data): New variable. | |
4865 | (builtin_f_type): New function. | |
4866 | (_initialize_f_language): Do not call build_fortran_types. Do not | |
4867 | swap global type variables. Register f_type_data per-gdbarch data. | |
4868 | ||
92e0cef4 UW |
4869 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
4870 | ||
4871 | * f-lang.c (_initialize_f_language): Do not initialize or | |
4872 | swap builtin_type_string. | |
4873 | ||
5d8140d1 UW |
4874 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
4875 | ||
0e7b1906 UW |
4876 | * std-regs.c (builtin_type_frame_reg, build_builtin_type_frame_reg, |
4877 | value_of_builtin_frame_reg): Remove. | |
4878 | (_initialize_frame_reg): Do not swap builtin_type_frame_reg. Remove | |
4879 | inactive call to value_of_builtin_frame_reg. | |
4880 | ||
4881 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> | |
4882 | ||
4883 | * gdbarch.sh (bfd_vma_bit): Remove. | |
5d8140d1 UW |
4884 | * gdbarch.c, gdbarch.h: Regenerate. |
4885 | ||
4886 | * gdbtypes.h (builtin_bfd_vma_type): Remove. | |
4887 | * gdbtypes.h (builtin_bfd_vma_type): Remove. | |
4888 | (build_gdbtypes): Do not initialize it. | |
4889 | (_initialize_gdbtypes): Do not swap it. | |
4890 | ||
794ac428 UW |
4891 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
4892 | ||
4893 | * gdbtypes.c (builtin_type_v2_double, builtin_type_v4_float, | |
4894 | builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16, | |
4895 | builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32, | |
4896 | builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf, | |
4897 | builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi, | |
4898 | builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si, | |
4899 | builtin_type_vec64, builtin_type_vec128): Remove. | |
4900 | (init_simd_type): Remove. | |
4901 | (init_vector_type): Make global. | |
4902 | (build_builtin_type_vec64, build_builtin_type_vec128): Remove. | |
4903 | (build_gdbtypes): Do not build vector types. | |
4904 | (_initialize_gdbtypes): Do not swap vector types. | |
4905 | * gdbtypes.h (builtin_type_v2_double, builtin_type_v4_float, | |
4906 | builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16, | |
4907 | builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32, | |
4908 | builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf, | |
4909 | builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi, | |
4910 | builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si, | |
4911 | builtin_type_vec64, builtin_type_vec128): Remove declarations. | |
4912 | (init_vector_type): Add prototype. | |
4913 | ||
4914 | * i386-tdep.h (struct gdbarch_tdep): Add i386_mmx_type and | |
4915 | i386_sse_type members. | |
4916 | (i386_mmx_type, i386_sse_type): Change from variables to functions. | |
4917 | * i386-tdep.c (i386_mmx_type, i386_sse_type): Remove variables. | |
4918 | (i386_init_types): Do not build vector types. | |
4919 | (i386_mmx_type, i386_sse_type): New functions. | |
4920 | (i386_register_type): Call them instead of using global variables. | |
4921 | (i386_gdbarch_init): Use XCALLOC to allocate tdep structure. | |
4922 | * amd64-tdep.c (amd64_register_type): Call i386_sse_type instead | |
4923 | of using global variable. | |
4924 | ||
4925 | * rs6000-tdep.h (struct gdbarch_tdep): Add ppc_builtin_type_vec64 | |
4926 | and ppc_builtin_type_vec128 members. | |
4927 | * rs6000-tdep.c (rs6000_builtin_type_vec64): New function. | |
4928 | (rs6000_builtin_type_vec128): Likewise. | |
4929 | (rs6000_register_type): Call them instead of using builtin_type_vec64 | |
4930 | and builtin_type_vec128. | |
4931 | (rs6000_gdbarch_init): Use XCALLOC to allocate tdep structure. | |
4932 | ||
4933 | * spu-tdep.c (struct gdbarch_tdep): New data type. | |
4934 | (spu_builtin_type_vec128): Remove variable. | |
4935 | (spu_builtin_type_vec128): New function. | |
4936 | (spu_register_type): Call it instead of using global variable. | |
4937 | (spu_gdbarch_init): Allocate tdep structure. | |
4938 | (spu_init_vector_type): Remove function. | |
4939 | (_initialize_spu_tdep): Do not call it. | |
4940 | ||
6707b003 UW |
4941 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
4942 | ||
4943 | * amd64-tdep.c (struct amd64_register_info): Remove. | |
4944 | (amd64_register_info): Remove. | |
4945 | (amd64_register_names): New static variable. | |
4946 | (AMD64_NUM_REGS): Use amd64_register_names instead of | |
4947 | amd64_register_info. | |
4948 | (amd64_register_name): Likewise. | |
4949 | (amd64_register_type): Do not refer to amd64_register_info. | |
4950 | ||
4951 | * s390-tdep.c (struct s390_register_info): Remove. | |
4952 | (s390_register_info): Remove. | |
4953 | (s390_register_name): Do not refer to s390_register_info. | |
4954 | (s390_register_type): Likewise. | |
4955 | ||
4956 | * sparc64-tdep.c (struct sparc64_register_info): Remove. | |
4957 | (sparc64_register_info, sparc64_pseudo_register_info): Remove. | |
4958 | (sparc64_register_names, sparc64_pseudo_register_names): New. | |
4959 | (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use | |
4960 | sparc64_register_names and sparc64_pseudo_register_names instead of | |
4961 | sparc64_register_info and sparc64_pseudo_register_info. | |
4962 | (sparc64_register_name): Likewise. | |
4963 | (sparc64_register_type): Do not refer to sparc64_register_info | |
4964 | and sparc64_pseudo_register_info. | |
4965 | ||
cad351d1 UW |
4966 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
4967 | ||
4968 | * c-lang.c (cplus_builtin_types): Remove. | |
4969 | (enum cplus_primitive_types): New data type. | |
4970 | (cplus_language_arch_info): New function. | |
4971 | (cplus_language_defn): Set la_language_arch_info member. Do not set | |
4972 | la_builtin_type_vector and string_char_type members. | |
4973 | ||
4974 | * f-lang.c (f_builtin_types): Remove. | |
4975 | (enum f_primitive_types): New data type. | |
4976 | (f_language_arch_info): New function. | |
4977 | (f_language_de): Set la_language_arch_info member. Do not set | |
4978 | la_builtin_type_vector and string_char_type members. | |
4979 | ||
4980 | * m2-lang.c (m2_builtin_types): Remove. | |
4981 | (enum m2_primitive_types): New data type. | |
4982 | (m2_language_arch_info): New function. | |
4983 | (m2_language_defn): Set la_language_arch_info member. Do not set | |
4984 | la_builtin_type_vector and string_char_type members. | |
4985 | ||
4986 | * objc-lang.c (objc_builtin_types): Remove. | |
4987 | (objc_language): Set la_language_arch_info member. Do not set | |
4988 | la_builtin_type_vector and string_char_type members. | |
4989 | ||
4990 | * p-lang.c (pascal_builtin_types): Remove. | |
4991 | (enum pascal_primitive_types): New data type. | |
4992 | (pascal_language_arch_info): New function. | |
4993 | (pascal_language_defn): Set la_language_arch_info member. Do not set | |
4994 | la_builtin_type_vector and string_char_type members. | |
4995 | ||
594f7785 UW |
4996 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
4997 | ||
4998 | * regcache.c (struct regcache): Add ptid_t member. | |
4999 | (regcache_xmalloc): Initialize it. | |
5000 | (regcache_cpy_no_passthrough): Do not refer to current_regcache. | |
5001 | (regcache_dup): Likewise. | |
5002 | (regcache_dup_no_passthrough): Likewise. | |
5003 | (current_regcache): Make static. | |
5004 | (registers_ptid): Remove variable. | |
5005 | (get_thread_regcache): New function. | |
5006 | (get_current_regcache): New function. | |
5007 | (registers_changed): Implement by freeing current regcache. | |
5008 | (regcache_raw_read): Do not refer to current_regcache. Set | |
5009 | inferior_ptid to regcache->ptid while calling target routines. | |
5010 | (regcache_raw_write): Likewise. | |
5011 | (regcache_raw_supply): Do not refer to current_regcache. | |
5012 | (read_pc_pid): Use thread regcache. Do not modify inferior_ptid. | |
5013 | (write_pc_pid): Likewise. | |
5014 | (build_regcache): Remove. | |
5015 | (_initialize_regcache): Do not call DEPRECATED_REGISTER_GDBARCH_SWAP | |
5016 | or deprecated_register_gdbarch_swap. Do not initialize | |
5017 | registers_ptid. | |
5018 | * regcache.h (get_current_regcache): Add prototype. | |
5019 | (get_thread_regcache): Likewise. | |
5020 | (current_regcache): Remove declaration. | |
5021 | ||
5022 | * corelow.c (core_open): Replace current_regcache by | |
5023 | get_current_regcache (). | |
5024 | * frame.c (frame_pop): Likewise. | |
5025 | (put_frame_register): Likewise. | |
5026 | (get_current_frame, create_new_frame): Likewise. | |
5027 | * mi/mi-main.c (mi_cmd_data_write_register_values): Likewise. | |
5028 | * stack.c (return_command): Likewise. | |
5029 | * infcall.c (call_function_by_hand): Likewise. | |
5030 | * infrun.c (resume): Likewise. | |
5031 | (save_inferior_status, restore_inferior_status): Likewise. | |
5032 | * linux-fork.c (fork_load_infrun_state): Likewise. | |
5033 | (fork_save_infrun_state): Likewise. | |
5034 | * win32-nat.c (win32_resume): Likewise. | |
5035 | * i386fbsd-nat.c (i386fbsd_resume): Likewise. | |
5036 | * monitor.c (monitor_wait): Likewise. | |
5037 | * remote.c (remote_wait): Likewise. | |
5038 | * remote-mips.c (mips_wait): Likewise. | |
5039 | ||
5040 | * bsd-kvm.c (bsd_kvm_open): Likewise | |
5041 | (bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Likewise. | |
5042 | * fbsd-nat.c (fbsd_make_corefile_notes): Likewise. | |
5043 | * i386-linux-nat.c (i386_linux_resume): Likewise. | |
5044 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Likewise. | |
5045 | (ia64_linux_stopped_data_address): Likewise. | |
5046 | ||
5047 | * frv-tdep.c (frv_fdpic_loadmap_addresses): Likewise. | |
5048 | * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. | |
5049 | * mep-tdep.c (current_me_module, current_options): Likewise. | |
5050 | * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Likewise. | |
5051 | ||
5052 | * linux-nat.c (linux_nat_do_thread_registers): Use thread | |
5053 | regcache instead of current_regcache. Call target_fetch_registers. | |
5054 | (linux_nat_corefile_thread_callback): Update call site. | |
5055 | (linux_nat_do_registers): Likewise. | |
5056 | * procfs.c (procfs_do_thread_registers): Use thread regcache instead | |
5057 | of current_regcache. | |
5058 | (procfs_make_note_section): Likewise. | |
5059 | * proc-service.c (ps_lgetregs, ps_lsetregs): Likewise. | |
5060 | (ps_lgetfpregs, ps_lsetfpregs): Likewise. | |
5061 | * sol-thread.c (ps_lgetregs, ps_lsetregs): Likewise. | |
5062 | (ps_lgetfpregs, ps_lsetfpregs): Likewise. | |
5063 | ||
51a7a212 UW |
5064 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5065 | ||
5066 | * regcache.c (read_register, read_register_pid): Remove. | |
5067 | (write_register, write_register_pid): Likewise. | |
5068 | * regcache.h (read_register, read_register_pid): Remove prototype. | |
5069 | (write_register, write_register_pid): Likewise. | |
5070 | ||
61a1198a UW |
5071 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5072 | ||
5073 | * gdbarch.sh (read_pc): Add REGCACHE argument. Remove PTID argument. | |
5074 | (write_pc): Likewise. Remove default implementation, add predicate. | |
5075 | * gdbarch.c, gdbarch.h: Regenerate. | |
5076 | * regcache.c (read_pc_pid): Use current regcache instead of calling | |
5077 | read_register_pid. | |
5078 | (write_pc_pid): Check gdbarch_write_pc predicate, implement default | |
5079 | case inline. | |
5080 | (generic_target_write_pc): Remove. | |
5081 | * inferior.h (generic_target_write_pc): Remove. | |
5082 | * frv-tdep.c (frv_gdbarch_init): Do not install it. | |
5083 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
5084 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
5085 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
5086 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
5087 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
5088 | ||
5089 | * avr-tdep.c (avr_read_pc): Add REGCACHE argument. Remove PTID | |
5090 | argument. Use REGCACHE instead of calling read_register_pid. | |
5091 | * hppa-hpux-tdep.c (hppa_hpux_read_pc): Likewise. | |
5092 | * hppa-tdep.c (hppa_read_pc): Likewise. | |
5093 | * hppa-tdep.h (hppa_read_pc): Likewise. | |
5094 | * ia64-tdep.c (ia64_read_pc): Likewise. | |
5095 | * m32r-tdep.c (m32r_read_pc): Likewise. | |
5096 | * mep-tdep.c (mep_read_pc): Likewise. | |
5097 | * mn10300-tdep.c (mn10300_read_pc): Likewise. | |
5098 | * spu-tdep.c (spu_read_pc): Likewise. | |
5099 | ||
5100 | * arm-tdep.c (arm_write_pc): Add REGCACHE argument. Remove PTID | |
5101 | argument. Use REGCACHE instead of calling write_register_pid. | |
5102 | * avr-tdep.c (avr_write_pc): Likewise. | |
5103 | * hppa-hpux-tdep.c (hppa_hpux_write_pc): Likewise. | |
5104 | * hppa-tdep.c (hppa_write_pc): Likewise. | |
5105 | * hppa-tdep.h (hppa_write_pc): Likewise. | |
5106 | * i386-linux-tdep.c (i386_linux_write_pc): Likewise. | |
5107 | * amd64-linux-tdep.c (amd64_linux_write_pc): Likewise. | |
5108 | * ia64-linux-tdep.c (ia64_linux_write_pc): Likewise. | |
5109 | * ia64-tdep.c (ia64_write_pc): Likewise. | |
5110 | * ia64-tdep.h (ia64_write_pc): Likewise. | |
5111 | * m32r-tdep.c (m32r_write_pc): Likewise. | |
5112 | * m88k-tdep.c (m88k_write_pc): Likewise. | |
5113 | * mep-tdep.c (mep_write_pc): Likewise. | |
5114 | * mips-tdep.c (mips_write_pc): Likewise. | |
5115 | * mips-linux-tdep.c (mips_linux_write_pc): Likewise. | |
5116 | * mn10300-tdep.c (mn10300_write_pc): Likewise. | |
5117 | * sparc-tdep.c (sparc_write_pc): Likewise. | |
5118 | * spu-tdep.c (spu_write_pc): Likewise. | |
5119 | ||
5120 | * mips-tdep.c (read_signed_register): Remove. | |
5121 | (read_signed_register_pid): Likewise. | |
5122 | (mips_read_pc): Add REGCACHE argument. Remove PTID argument. | |
5123 | Use REGCACHE instead of calling read_signed_register_pid. | |
5124 | ||
e4fd649a UW |
5125 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5126 | ||
5127 | * gdbarch.sh (push_dummy_code): Add REGCACHE argument. | |
5128 | * gdbarch.c, gdbarch.h: Regenerate. | |
5129 | * infcall.c (generic_push_dummy_code): Add REGCACHE argument. | |
5130 | (push_dummy_code): Likewise. Pass it to callee. | |
5131 | (call_function_by_hand): Pass current regcache to push_dummy_code. | |
5132 | ||
5133 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Add REGCACHE | |
5134 | argument. Use it instead of current_regcache. | |
5135 | ||
5136 | * cris-tdep.c (cris_push_dummy_code): Add REGCACHE argument. | |
5137 | * sparc-tdep.c (sparc32_push_dummy_code): Likewise. | |
5138 | ||
60ade65d UW |
5139 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5140 | ||
5141 | * gdbarch.sh (get_longjmp_target): Add FRAME argument. | |
5142 | * gdbarch.c, gdbarch.h: Regenerate. | |
5143 | * infrun.c (handle_inferior_event): Pass current frame to | |
5144 | gdbarch_get_longjmp_target. | |
5145 | ||
5146 | * alpha-tdep.c (alpha_get_longjmp_target): Add FRAME argument. | |
5147 | Read registers from FRAME instead of using read_register. | |
5148 | Use get_frame_arch instead of current_gdbarch. | |
5149 | * arm-tdep.c (arm_get_longjmp_target): Likewise. | |
5150 | * i386-tdep.c (i386_get_longjmp_target): Likewise. | |
5151 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
5152 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Likewise. | |
5153 | (mips64_linux_get_longjmp_target): Likewise. | |
5154 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Likewise. | |
5155 | ||
52f729a7 UW |
5156 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5157 | ||
5158 | * gdbarch.sh (skip_trampoline_code): Add FRAME argument. | |
5159 | * gdbarch.c, gdbarch.h: Regenerate. | |
5160 | * arch-utils.c (generic_skip_trampoline_code): Add FRAME argument. | |
5161 | * arch-utils.h (generic_skip_trampoline_code): Likewise. | |
5162 | * infrun.c (handle_inferior_event): Pass current frame to | |
5163 | gdbarch_skip_trampoline_code and skip_language_trampoline. | |
5164 | ||
5165 | * language.c (unk_lang_trampoline): Add FRAME argument. | |
5166 | (skip_language_trampoline): Add FRAME argument. Pass it to | |
5167 | skip_trampoline callback. | |
5168 | * language.h: Add forward declaration of struct frame_info. | |
5169 | (struct language_defn): Add FRAME argument to skip_trampoline. | |
5170 | (skip_language_trampoline): Add FRAME argument. | |
5171 | * cp-abi.c (cplus_skip_trampoline): Add FRAME argument. Pass it | |
5172 | to skip_trampoline callback. | |
5173 | * cp-abi.h: Add forward declaration of struct frame_info. | |
5174 | (cplus_skip_trampoline): Add FRAME argument. | |
5175 | (struct cp_abi_ops): Add FRAME argument to skip_trampoline callback. | |
5176 | * gnu-v3-abi.c (gnuv3_skip_trampoline): Add FRAME argument. Pass it | |
5177 | to gdbarch_skip_trampoline_code. | |
5178 | * objc-lang.c (objc_skip_trampoline): Add FRAME argument. Pass it | |
5179 | to gdbarch_skip_trampoline_code. | |
5180 | ||
5181 | * minsyms.c (find_solib_trampoline_target): Add FRAME argument. | |
5182 | * symtab.h (find_solib_trampoline_target): Likewise. | |
5183 | * obsd-tdep.c (obsd_skip_solib_resolver): Pass current frame to | |
5184 | find_solib_trampoline_target. | |
5185 | ||
5186 | * arm-tdep.c (arm_skip_stub): Add FRAME argument. Read registers | |
5187 | from FRAME instead of calling read_register. | |
5188 | ||
5189 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Add FRAME | |
5190 | argument. Read registers from FRAME instead of using read_register. | |
5191 | * hppa-tdep.c (hppa_skip_trampoline_code): Likewise. | |
5192 | * hppa-tdep.h (hppa_skip_trampoline_code): Add FRAME argument. | |
5193 | ||
5194 | * i386-cygwin-tdep.c (i386_cygwin_skip_trampoline_code): Add FRAME | |
5195 | argument. | |
5196 | ||
5197 | * m32c-tdep.c (m32c_skip_trampoline_code): Add FRAME argument. | |
5198 | ||
5199 | * mips-tdep.c (mips_skip_trampoline_code): Add FRAME argument. Read | |
5200 | registers from FRAME instead of using read_signed_register. | |
5201 | ||
5202 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Add FRAME | |
5203 | argument. | |
5204 | (ppc64_standard_linkage_target): Likewise. Read registers from FRAME | |
5205 | instead of using read_register. | |
5206 | (ppc64_skip_trampoline_code): Add FRAME argument. Pass it to | |
5207 | ppc64_standard_linkage_target. | |
5208 | * rs6000-tdep.c (rs6000_skip_trampoline_code): Add FRAME argument. | |
5209 | Pass it to find_solib_trampoline_target. Read registers from FRAME | |
5210 | instead of using read_register. | |
5211 | ||
5212 | * xstormy16-tdep.c (xstormy16_skip_trampoline_code): Add FRAME | |
5213 | argument. | |
5214 | ||
0b1b3e42 UW |
5215 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5216 | ||
5217 | * gdbarch.sh (software_single_step): Replace REGCACHE argument by | |
5218 | FRAME argument. | |
5219 | * gdbarch.c, gdbarch.h: Regenerate. | |
5220 | * infrun.c (resume): Pass current frame to SOFTWARE_SINGLE_STEP. | |
5221 | ||
5222 | * alpha-tdep.c (alpha_next_pc): Add FRAME argument. Retrieve | |
5223 | registers from FRAME instead of using read_register. | |
5224 | (alpha_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
5225 | to alpha_next_pc. Use get_frame_pc instead of read_pc. | |
5226 | * alpha-tdep.h (alpha_software_single_step): Replace REGCACHE | |
5227 | argument by FRAME. | |
5228 | ||
5229 | * arm-tdep.c (shifted_reg_val): Add FRAME argument. Read registers | |
5230 | from FRAME instead of using read_register. | |
5231 | (thumb_get_next_pc): Likewise. | |
5232 | (arm_get_next_pc): Likewise. | |
5233 | (arm_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
5234 | to arm_get_next_pc. Use get_frame_pc instead of read_register. | |
5235 | * arm-tdep.h (arm_software_single_step): Replace REGCACHE | |
5236 | argument by FRAME. | |
5237 | ||
5238 | * cris-tdep.c (find_step_target): Add FRAME argument. Read registers | |
5239 | from FRAME instead of using read_register. | |
5240 | (cris_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
5241 | to find_step_target. | |
5242 | ||
5243 | * mips-tdep.c (mips32_next_pc): Add FRAME argument. Read registers | |
5244 | from FRAME instead of using read_register / read_signed_register. | |
5245 | (extended_mips16_next_pc): Likewise. | |
5246 | (mips16_next_pc): Likewise. | |
5247 | (mips_next_pc): Likewise. | |
5248 | (mips_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
5249 | to mips_next_pc. Use get_frame_pc instead of read_pc. | |
5250 | * mips-tdep.h (mips_software_single_step): Replace REGCACHE | |
5251 | argument by FRAME. | |
5252 | ||
5253 | * rs6000-tdep.c (branch_dest): Add FRAME argument. Use it instead | |
5254 | of current frame. Read registers from FRAME. | |
5255 | (deal_with_atomic_sequence): Add FRAME argument. Pass it to | |
5256 | branch_dest. Use get_frame_pc instead of read_pc. | |
5257 | (rs6000_software_single_step): Likewise. | |
5258 | (bl_to_blrl_insn_p): Do not call branch_dest. | |
5259 | * rs6000-tdep.h (rs6000_software_single_step): Replace REGCACHE | |
5260 | argument by FRAME. | |
5261 | ||
5262 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Add FRAME argument. | |
5263 | Read registers from FRAME instead of current regcache. | |
5264 | * sparc-linux-tdep.c (sparc32_linux_step_trap): Likewise. | |
5265 | * sparcnbsd-tdep.c (sparcnbsd_step_trap): Likewise. | |
5266 | * sparc-tdep.c (sparc_address_from_register): Remove. | |
5267 | (sparc_analyze_control_transfer): Pass FRAME argument instead of | |
5268 | GDBARCH. Pass FRAME to step_trap callback. | |
5269 | (sparc_step_trap): Add FRAME argument. | |
5270 | (space_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
5271 | to sparc_analyze_control_transfer. Read registers from FRAME instead | |
5272 | of calling sparc_address_from_register. | |
5273 | * sparc-tdep.h (struct gdbarch_tdep): Add FRAME argument to | |
5274 | step_trap callback. | |
5275 | (sparc_address_from_register): Remove prototype. | |
5276 | (sparc_software_single_step): Replace REGCACHE argument by FRAME. | |
5277 | (sparcnbsd_step_trap): Add FRAME argument. | |
5278 | ||
5279 | * spu-tdep.c (spu_software_single_step): Replace REGCACHE argument | |
5280 | by FRAME. Read registers from FRAME instead of REGCACHE. | |
5281 | ||
9c9acae0 UW |
5282 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5283 | ||
5284 | * arm-tdep.c (arm_print_float_info): Use register value from FRAME | |
5285 | instead of calling read_register. | |
5286 | ||
5287 | * avr-tdep.c (avr_push_dummy_call): Write to REGCACHE instead of | |
5288 | calling write_register. | |
5289 | ||
5290 | * hppa-tdep.c (hppa32_push_dummy_call): Write to REGCACHE instead of | |
5291 | calling write_register. | |
5292 | ||
5293 | * ia64-tdep.c (find_func_descr): Add REGCACHE parameter. Use it | |
5294 | instead of calling read_register. | |
5295 | (ia64_push_dummy_call): Update call to find_func_descr. Use REGCACHE | |
5296 | instead of calling read_register and write_register. | |
5297 | ||
5298 | * m32r-tdep.c (m32r_linux_supply_gregset): Use REGCACHE parameter | |
5299 | instead of current_regcache. | |
5300 | ||
5301 | * mn10300-tdep.c (mn10300_push_dummy_call): Write to REGCACHE instead | |
5302 | of calling write_register. | |
5303 | * mn10300-linux-tdep.c (am33_supply_fpregset_method): Use REGCACHE | |
5304 | parameter instead of current_regcache. | |
5305 | ||
5306 | * mips-tdep.c (mips2_fp_compat): Add FRAME parameter. Use it | |
5307 | instead of calling read_register. | |
5308 | (mips_read_fp_register_double, mips_print_fp_register): Update calls. | |
5309 | (mips_eabi_push_dummy_call): Use REGCACHE instead of write_register. | |
5310 | (mips_n32n64_push_dummy_call): Likewise. | |
5311 | (mips_o32_push_dummy_call): Likewise. | |
5312 | (mips_o64_push_dummy_call): Likewise. | |
5313 | ||
5314 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use REGCACHE | |
5315 | parameter instead of current_regcache. | |
5316 | ||
5317 | * xtensa-tdep.c (xtensa_register_write_masked): Add REGCACHE parameter. | |
5318 | Use it instead of read_register and write_register. | |
5319 | (xtensa_register_read_masked): Likewise. | |
5320 | (xtensa_pseudo_register_read): Update call. | |
5321 | (xtensa_pseudo_register_write): Likewise. | |
5322 | (xtensa_frame_cache): Use register values unwound from NEXT_FRAME | |
5323 | instead of calling read_register. | |
5324 | (xtensa_push_dummy_call): Update comment. | |
5325 | ||
d2ca4222 UW |
5326 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5327 | ||
5328 | * mips-tdep.c (mips16_scan_prologue): Replace read_next_frame_reg | |
5329 | by frame_unwind_register_signed calls. | |
5330 | (mips32_scan_prologue): Likewise. Skip analysis of alloca stack | |
5331 | frame allocations when called with NULL NEXT_FRAME parameter. | |
5332 | (read_next_frame_reg): Remove. | |
5333 | ||
5334 | * sh-tdep.c (sh_analyze_prologue): Add FPSCR parameter. Use it | |
5335 | instead of reading the FPSCR register. | |
5336 | (sh_frame_cache): Pass unwound FPSCR register value to | |
5337 | sh_analyze_prologue. | |
5338 | (sh_skip_prologue): Pass dummy FPSCR value to sh_analyze_prologue. | |
5339 | ||
5340 | * v850-tdep.c (v850_analyze_prologue): Add CTBP parameter. Use it | |
5341 | instead of reading the CTBP register. | |
5342 | (v850_frame_cache): Pass unwound CTBP register value to | |
5343 | v850_analyze_prologue. | |
5344 | ||
c458d6db UW |
5345 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5346 | ||
5347 | * sh-tdep.h (sh_show_regs): Add FRAME parameter. | |
5348 | * sh-tdep.c (sh_show_regs): Likewise. | |
5349 | (sh_show_regs_command): Pass current frame to sh_show_regs routine. | |
5350 | (sh_generic_show_regs): Add FRAME parameter. Use register | |
5351 | values from that frame instead of calling read_register. | |
5352 | (sh3_show_regs, sh2e_show_regs, sh2a_show_regs, sh2a_nofpu_show_regs, | |
5353 | sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs, | |
5354 | sh_dsp_show_regs): Likewise. | |
5355 | * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs, | |
5356 | sh64_show_regs): Likewise. | |
5357 | ||
a9614958 UW |
5358 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5359 | ||
5360 | * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Read from | |
5361 | current regcache instead of calling read_register. | |
5362 | ||
3d1a74ac UW |
5363 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5364 | ||
5365 | * mep-tdep.c (current_me_module): Read from current regcache | |
5366 | instead of calling read_register. | |
5367 | (current_options): Likewise. | |
5368 | ||
1b5a9a8f UW |
5369 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5370 | ||
5371 | * cris-tdep.c (cris_stopped_data_address): Read register values | |
5372 | from current frame instead of calling read_register. | |
5373 | * frv-tdep.c (frv_stopped_data_address): Likewise. | |
5374 | ||
982db460 UW |
5375 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5376 | ||
5377 | * solib-sunos.c (sunos_solib_create_inferior_hook): Use write_pc | |
5378 | instead of write_register (PC_REGNUM, ...). | |
5379 | ||
b4397864 UW |
5380 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5381 | ||
5382 | * solib-sunos.c (sunos_solib_create_inferior_hook): Add comment | |
5383 | explaining why the PC adjustment code is necessary. | |
5384 | ||
8ed86d01 VP |
5385 | 2007-06-15 Vladimir Prus <vladimir@codesourcery.com> |
5386 | ||
5387 | * m68k-tdep.h (enum m68k_flavour): New. | |
5388 | (struct gdbarch_tdep): New fields | |
5389 | float_return, flavour and fpregs_present. | |
5390 | * m68k-tdep.c (m68k_register_type): Use | |
5391 | fpregs_present and conditionalize floating | |
5392 | registers type on flavour. | |
5393 | (m68k_register_names): New. | |
5394 | (m68k_register_name): Use the above. | |
5395 | (m68k_convert_register_p): Consult fpregs_present. | |
5396 | (m68k_register_to_value, m68k_value_to_register): | |
5397 | Use register_type to obtain the type of floating | |
5398 | point registers. | |
5399 | (m68k_svr4_extract_return_value): Check tdep->float_return. | |
5400 | Use register_type to get the type of floating | |
5401 | point regiters. | |
5402 | (m68k_svr4_store_return_value): Likewise. | |
5403 | (m68k_dwarf_reg_to_regnum): Check tdep->fpregs_present. | |
5404 | (m68k_analyze_register_saves): Likewise. | |
5405 | (m68k_gdbarch_init): Extract infromation | |
5406 | from XML description, if present. Guess coldfire by | |
5407 | looking at the file, if present. Conditionalize | |
5408 | setting of long double format. Set decr_pc_after_break | |
5409 | to 2 on coldfire and fido. Enable XML-driven | |
5410 | register description. | |
5411 | * m68kbsd-tdep.c (m68kbsd_fpreg_offset): Use | |
5412 | size of tdep->fpreg_type, as opposed to hardcoded value. | |
5413 | * Makefile.in (m68k-tdep.o): Update dependencies. | |
5414 | ||
83cc5c53 UW |
5415 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
5416 | ||
5417 | * NEWS: Mention "info spu" commands and qXfer:spu:read and | |
5418 | qXfer:spu:write remote packet types. | |
5419 | ||
1780a0ed DJ |
5420 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
5421 | ||
5422 | * xml-tdesc.c (tdesc_start_target): New. | |
5423 | (target_attributes): New. | |
5424 | (tdesc_elements): Use it. | |
5425 | * features/gdb-target.dtd: Add #FIXED version attribute for | |
5426 | <target>. | |
5427 | ||
98a29c7e DJ |
5428 | 2007-06-13 Arthur Huillet <arthur.huillet@free.fr> |
5429 | ||
5430 | * mi/mi-cmd-var.c (mi_cmd_var_assign): Fix typo. | |
5431 | ||
9dcbb931 DJ |
5432 | 2007-06-13 Claudio Fontana <claudio.fontana@gmail.com> |
5433 | ||
5434 | * fork-child.c (fork_inferior): Update comment. | |
5435 | ||
117ce543 DJ |
5436 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
5437 | ||
5438 | * features/Makefile: Generate regformats for mips-linux and | |
5439 | mips64-linux. | |
5440 | * features/sort-regs.xsl: Correct typo. | |
5441 | * regformats/reg-mips.dat, regformats/reg-mips64.dat: Delete. | |
5442 | * regformats/mips-linux.dat, regformats/mips64-linux.dat: New generated | |
5443 | files. | |
5444 | ||
822b6570 DJ |
5445 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
5446 | ||
5447 | * config/mips/linux.mh (TDEP_XML): New. | |
5448 | * features/mips-linux.xml, features/mips64-linux.xml: New files. | |
5449 | * mips-linux-nat.c (mips_linux_register_addr): Handle | |
5450 | MIPS_RESTART_REGNUM. | |
5451 | (mips64_linux_register_addr): Likewise. | |
5452 | (super_xfer_partial, mips_linux_xfer_partial): New. | |
5453 | (_initialize_mips_linux_nat): Add them to the target_ops. | |
5454 | * mips-linux-tdep.c (mips_supply_gregset): Handle MIPS_RESTART_REGNUM. | |
5455 | (mips_fill_gregset, mips64_supply_gregset, mips64_fill_gregset) | |
5456 | (mips_linux_o32_sigframe_init) | |
5457 | (mips_linux_n32n64_sigframe_init): Likewise. | |
5458 | (mips_linux_write_pc, mips_linux_restart_reg_p): New. | |
5459 | (mips_linux_init_abi): Use mips_linux_write_pc. Check for the | |
5460 | "org.gnu.gdb.mips.linux" feature. | |
5461 | * mips-linux-tdep.h (MIPS_RESTART_REGNUM): New constant. | |
5462 | (mips_linux_restart_reg_p): New prototype. | |
5463 | * mips-tdep.c (mips_gdbarch_init): Pass tdesc_data to the OS/ABI | |
5464 | initialization routine. | |
5465 | * Makefile.in (mips-linux-tdep.o, mips-linux-nat.o): Update. | |
5466 | ||
f8b73d13 DJ |
5467 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
5468 | ||
5469 | * Makefile.in (mips-tdep.o): Update. | |
5470 | * mips-tdep.c (struct register_alias, mips_o32_aliases) | |
5471 | (mips_n32_n64_aliases, mips_register_aliases): New. | |
5472 | (mips_register_name): Call tdesc_register_name. | |
5473 | (mips_tdesc_register_reggroup_p): New. | |
5474 | (mips_pseudo_register_type, value_of_mips_user_reg): New. | |
5475 | (mips_gdbarch_init): Add target-described register support. | |
5476 | Register aliases for register names. | |
5477 | * target-descriptions.c (tdesc_register_name): Make global. | |
5478 | (tdesc_register_in_reggroup_p): New function, broken out from | |
5479 | tdesc_register_reggroup_p. | |
5480 | (tdesc_register_reggroup_p): Use it. | |
5481 | * target-descriptions.h (tdesc_register_name) | |
5482 | (tdesc_register_in_reggroup_p): New prototypes. | |
5483 | * NEWS: Correct formatting. Mention MIPS register support. | |
5484 | * features/mips-cp0.xml, features/mips-fpu.xml, | |
5485 | features/mips64-cp0.xml, gdb/features/mips64-fpu.xml, mips-cpu.xml, | |
5486 | features/mips64-cpu.xml: New files. | |
5487 | ||
17a912b6 UW |
5488 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
5489 | ||
5490 | * gdbarch.sh (TARGET_ADDR_BIT): Replace by gdbarch_addr_bit. | |
5491 | * valops.c (value_cast): Likewise. | |
5492 | * utils.c (strlen_paddr, paddr, paddr_nz, paddress): Likewise. | |
5493 | * ui-out.c (ui_out_field_core_addr): Likewise. | |
5494 | * tracepoint.c (tracepoints_info): Likewise. | |
5495 | * symtab.c (print_msymbol_info): Likewise. | |
5496 | * solib-irix.c (irix_current_sos) | |
5497 | (irix_open_symbol_file_object): Likewise. | |
5498 | * remote.c (build_remote_gdbarch_data): Likewise. | |
5499 | * prologue-value.c (make_pv_area): Likewise. | |
5500 | * procfs.c (info_mappings_callback): Likewise. | |
5501 | * printcmd.c (print_scalar_formatted) | |
5502 | (deprecated_print_address_numeric): Likewise. | |
5503 | * memattr.c (mem_info_command): Likewise. | |
5504 | * linux-nat.c (linux_nat_info_proc_cmd): Likewise. | |
5505 | * gdbtypes.c (build_flt, gdbtypes_post_init): Likewise. | |
5506 | * exec.c (print_section_info): Likewise. | |
5507 | * dwarf2read.c (read_subrange_type): Likewise. | |
5508 | * dwarf2loc.c (find_location_expression): Likewise. | |
5509 | * dwarf2expr.c (dwarf2_read_address, unsigned_address_type) | |
5510 | (signed_address_type, execute_stack_op): Likewise. | |
5511 | * breakpoint.c (print_one_breakpoint, breakpoint_1): Likewise. | |
5512 | * gdbarch.c, gdbarch.h: Regenerate. | |
5513 | ||
1143fffb UW |
5514 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
5515 | ||
5516 | * gdbarch.sh (TARGET_ARCHITECTURE): Replace by gdbarch_bfd_arch_info. | |
5517 | * arch-utils.c (show_architecture): Likewise. | |
5518 | * remote-mips.c (mips_open): Likewise | |
5519 | * nto-tdep.c (nto_find_and_open_solib) | |
5520 | (nto_init_solib_absolute_prefix): Likewise. | |
5521 | * nto-procfs (procfs_open): Likewise. | |
5522 | * m68hc11-tdep.c (gdb_print_insn_m68hc11): Likewise. | |
5523 | * gcore.c (default_gcore_mach, default_gcore_arch): Likewise. | |
5524 | * gdbarch.c, gdbarch.h: Regenerate. | |
5525 | ||
4fe99ffb UW |
5526 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
5527 | ||
5528 | * gdbarch.sh (TARGET_BFD_VMA_BIT): Replace by gdbarch_bfd_vma_bit. | |
5529 | * gdbtypes.c (build_flt): Likewise. | |
5530 | * gdbarch.c, gdbarch.h: Regenerate. | |
5531 | ||
3b3b875c UW |
5532 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
5533 | ||
5534 | * gdbarch.sh (BREAKPOINT_FROM_PC): Replace by | |
5535 | gdbarch_breakpoint_from_pc. | |
5536 | * s390-tdep.c (s390_gdbarch_init): Likewise (comment). | |
5537 | * remote.c (remote_insert_breakpoint) | |
5538 | (remote_insert_hw_breakpoint): Likewise. | |
5539 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise. | |
5540 | * mips-tdep.c (mips_breakpoint_from_pc): Likewise (comment). | |
5541 | * breakpoint.h (bp_target_info): Likewise (comment). | |
5542 | * breakpoint.c (read_memory_nobpt): Likewise. | |
5543 | * mem-break.c (default_memory_insert_breakpoint): Likewise. | |
5544 | (symtab.h, breakpoint.h): Remove include. Remove unnecessary comment. | |
5545 | * gdbarch.c, gdbarch.h: Regenerate. | |
5546 | ||
819844ad UW |
5547 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
5548 | ||
5549 | * gdbarch.sh (TARGET_PTR_BIT): Replace with gdbarch_ptr_bit. | |
5550 | * solib-svr4.c (svr4_truncate_ptr): Likewise. | |
5551 | * solib-pa64.c (read_dynamic_info): Likewise. | |
5552 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise. | |
5553 | * solib.c (info_sharedlibrary_command): Likewise. | |
5554 | * s390-nat.c (SUBOFF): Likewise. | |
5555 | * p-valprint.c (pascal_val_print): Likewise. | |
5556 | * procfs.c (info_proc_mappings): Likewise. | |
5557 | * printcmd.c (decode_format): Likewise. | |
5558 | * nto-tdep.c (nto_truncate_ptr): Likewise. | |
5559 | * mips-linux-tdep.c (mips_linux_get_longjmp_target) | |
5560 | (mips64_linux_get_longjmp_target): Likewise. | |
5561 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
5562 | * jv-valprint.c (java_value_print): Likewise. | |
5563 | * jv-lang.c (get_java_object_header_size): Likewise. | |
5564 | * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Likewise. | |
5565 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) | |
5566 | (hppa_hpux_unwind_adjust_stub): Likewise. | |
5567 | * gnu-v3-abi.c (build_gdb_vtable_type): Likewise. | |
5568 | * gdbtypes.c (make_pointer_type, make_reference_type) | |
5569 | (smash_to_memberptr_type): Likewise. | |
5570 | * gdbarch.c, gdbarch.h: Regenerate. | |
5571 | ||
0cc93a06 DJ |
5572 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
5573 | ||
5574 | * mips-tdep.c (mips_print_register): Remove unused ALL argument. | |
5575 | (print_gp_register_row): Stop before printing a register bigger | |
5576 | than the ABI register size. | |
5577 | (mips_print_registers_info): Update call to mips_print_register. | |
5578 | ||
67f3407f DJ |
5579 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
5580 | ||
5581 | * expression.h (enum exp_opcode): Document a register name for | |
5582 | OP_REGISTER. | |
5583 | * parse.c (write_dollar_variable): Write the register name for | |
5584 | OP_REGISTER. | |
5585 | (operator_length_standard): Expect the register name following | |
5586 | OP_REGISTER. | |
5587 | * ada-lang.c (resolve_subexp): Likewise. | |
5588 | * ax-gdb.c (gen_expr): Likewise. | |
5589 | * eval.c (evaluate_subexp_standard): Likewise. | |
5590 | * expprint.c (print_subexp_standard, dump_subexp_body_standard): | |
5591 | Likewise. | |
5592 | * tracepoint.c (encode_actions): Likewise. | |
5593 | ||
0caa462c DJ |
5594 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
5595 | ||
5596 | * utils.c (set_screen_size): Use INT_MAX for default columns. | |
5597 | ||
4de6483e UW |
5598 | 2007-06-13 Ulrich Weigand <uweigand@de.ibm.com> |
5599 | ||
5600 | * remote.c (remote_protocol_features): Add qXfer:spu:read and | |
5601 | qXfer:spu:write packet types. | |
5602 | ||
cafad45b UW |
5603 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
5604 | ||
5605 | * gdbarch.sh (DEPRECATED_STACK_ALIGN): Remove. | |
5606 | * gdbarch.c, gdbarch.h: Regenerate. | |
5607 | ||
055d23b8 UW |
5608 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
5609 | ||
5610 | * gdbarch.sh (STAB_REG_TO_REGNUM): Replace by | |
5611 | gdbarch_stab_reg_to_regnum. | |
5612 | * stabsread.c (define_symbol): Likewise. | |
5613 | * gdbarch.sh (ECOFF_REG_TO_REGNUM): Replace by | |
5614 | gdbarch_ecoff_reg_to_regnum. | |
5615 | * mdebugread.c (parse_symbol): Likewise. | |
5616 | * i386-tdep.c (i386_gdbarch_init): Likewise (comment). | |
5617 | * gdbarch.sh (DWARF_REG_TO_REGNUM): Replace by | |
5618 | gdbarch_dwarf_reg_to_regnum. | |
5619 | * gdbarch.sh (SDB_REG_TO_REGNUM): Replace by gdbarch_sdb_reg_to_regnum. | |
5620 | * coffread.c (process_coff_symbol): Likewise. | |
5621 | * gdbarch.sh (DWARF2_REG_TO_REGNUM): Replace by | |
5622 | gdbarch_dwarf2_reg_to_regnum. | |
5623 | * dwarf2loc.c (dwarf_expr_read_reg,dwarf2_evaluate_loc_desc) | |
5624 | (locexpr_describe_location): Likewise. | |
5625 | * dwarf2-frame.c (read_reg,execute_cfa_program,dwarf2_frame_cache) | |
5626 | (dwarf2_frame_prev_register,dwarf2_signal_frame_this_id): Likewise. | |
5627 | * dwarf2loc.c (DWARF2_REG_TO_REGNUM): Remove macro. | |
5628 | * dwarf2read.c (DWARF2_REG_TO_REGNUM): Remove macro. | |
5629 | * gdbarch.c, gdbarch.h: Regenerate. | |
5630 | ||
260edbc2 UW |
5631 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
5632 | ||
5633 | * gdbarch.sh (SMASH_TEXT_ADDRESS): Replace by | |
5634 | gdbarch_smash_text_address. | |
5635 | * somread.c (som_symtab_read): Likewise. | |
5636 | * elfread.c (record_minimal_symbol): Likewise. | |
5637 | * dbxread.c (process_one_symbol): Likewise. | |
5638 | * coffread.c (coff_symtab_read): Likewise. | |
5639 | * gdbarch.c, gdbarch.h: Regenerate. | |
5640 | ||
c1afe53d UW |
5641 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
5642 | ||
5643 | * gdbarch.sh (REGISTER_TO_VALUE): Replace by gdbarch_register_to_value. | |
5644 | * findvar.c (value_from_register): Likewise. | |
5645 | * gdbarch.sh (VALUE_TO_REGISTER): Replace by gdbarch_value_to_register. | |
5646 | * valops.c (value_assign): Likewise. | |
5647 | * gdbarch.sh (CONVERT_REGISTER_P): Replace by | |
5648 | gdbarch_convert_register_p. | |
5649 | * findvar.c (value_from_register): Likewise. | |
5650 | * valops.c (value_assign): Likewise. | |
5651 | * gdbarch.c, gdbarch.h: Regenerate. | |
5652 | ||
474c1661 UW |
5653 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
5654 | ||
5655 | * gdbarch.sh (REGISTER_SIM_REGNO): Replace by | |
5656 | gdbarch_register_sim_regno. | |
5657 | * sim-regno.h (sim_regno): Likewise (comment). | |
5658 | * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise. | |
5659 | * gdbarch.c, gdbarch.h: Regenerate. | |
5660 | ||
c7bb205c UW |
5661 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
5662 | ||
5663 | * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Replace by | |
5664 | gdbarch_virtual_frame_pointer. | |
5665 | * tracepoint.c (encode_actions): Likewise. | |
5666 | * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Likewise. | |
5667 | * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address): Likewise. | |
5668 | * gdbarch.c, gdbarch.h: Regenerate. | |
5669 | ||
ea06eb3d UW |
5670 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
5671 | ||
5672 | * gdbarch.sh (TARGET_FLOAT_BIT): Replace by gdbarch_float_bit. | |
5673 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
5674 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
5675 | * mdebugread.c (_initialize_mdebugread): Likewise. | |
5676 | * m2-lang.c (m2_create_fundamental_type) | |
5677 | (_initialize_m2_language): Likewise. | |
5678 | * gdbtypes.c (build_gdbtypes): Likewise. | |
5679 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
5680 | * doublest.c (floatformat_from_length): Likewise. | |
5681 | * c-lang.c (c_create_fundamental_type): Likewise. | |
5682 | * ada-lang.c (ada_create_fundamental_type) | |
5683 | (ada_language_arch_info): Likewise. | |
5684 | * gdbarch.sh (TARGET_FLOAT_FORMAT): Replace by gdbarch_float_format. | |
5685 | * value.c (unpack_double): Likewise (comment). | |
5686 | * gdbtypes.c (build_gdbtypes): Likewise. | |
5687 | * doublest.c (floatformat_from_length): Likewise. | |
5688 | * gdbarch.sh (TARGET_DOUBLE_BIT): Replace by gdbarch_double_bit. | |
5689 | * valarith.c (value_binop): Likewise. | |
5690 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
5691 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
5692 | * mdebugread.c (_initialize_mdebugread): Likewise. | |
5693 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
5694 | * gdbtypes.c (build_gdbtypes): Likewise. | |
5695 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
5696 | * doublest.c (floatformat_from_length): Likewise. | |
5697 | * cris-tdep.c (cris_gdbarch_init): Likewise (comment). | |
5698 | * c-lang.c (c_create_fundamental_type): Likewise. | |
5699 | * ada-lex.l (processReal): Likewise. | |
5700 | * ada-lang.c (ada_create_fundamental_type) | |
5701 | (ada_language_arch_info): Likewise. | |
5702 | * gdbarch.sh (TARGET_DOUBLE_FORMAT): Replace by gdbarch_double_format. | |
5703 | * value.c (unpack_double): Likewise (comment). | |
5704 | * gdbtypes.c (build_gdbtypes): Likewise. | |
5705 | * doublest.c (floatformat_from_length): Likewise. | |
5706 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Replace by | |
5707 | gdbarch_long_double_bit. | |
5708 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
5709 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
5710 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
5711 | * gdbtypes.c (build_gdbtypes): Likewise. | |
5712 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
5713 | * doublest.c (floatformat_from_length): Likewise. | |
5714 | * c-lang.c (c_create_fundamental_type): Likewise. | |
5715 | * ada-lex.l (processReal): Likewise. | |
5716 | * ada-lang.c (ada_create_fundamental_type) | |
5717 | (ada_language_arch_info): Likewise. | |
5718 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Replace by | |
5719 | gdbarch_long_double_format. | |
5720 | * gdbtypes.c (build_gdbtypes): Likewise. | |
5721 | * doublest.c (floatformat_from_length): Likewise. | |
5722 | * gdbarch.c, gdbarch.h: Regenerate. | |
5723 | ||
9a76efb6 UW |
5724 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
5725 | ||
5726 | * gdbarch.sh (TARGET_SHORT_BIT): Replace by gdbarch_int_bit. | |
5727 | * ada-lang.c (ada_create_fundamental_type) | |
5728 | (ada_language_arch_info): Likewise. | |
5729 | * c-lang.c (c_create_fundamental_type): Likewise. | |
5730 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
5731 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
5732 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
5733 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
5734 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
5735 | * gdbarch.sh (TARGET_INT_BIT): Replace by gdbarch_int_bit. | |
5736 | * c-exp.y (parse_number): Likewise. | |
5737 | * objc-exp.y (parse_number): Likewise. | |
5738 | * ada-lex.l (processInt): Likewise. | |
5739 | * f-exp.y (parse_number): Likewise. | |
5740 | * p-exp.y (parse_number): Likewise. | |
5741 | * ada-lang.c (ada_create_fundamental_type, ada_language_arch_info) | |
5742 | (gdbtypes_post_init, build_gdbtypes): Likewise. | |
5743 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
5744 | * parse.c (build_parse): Likewise. | |
5745 | * xcoffread.c (_initialize_xcoffread): Likewise. | |
5746 | * stabsread.c (define_symbol, read_one_struct_field, read_enum_type) | |
5747 | (read_range_type): Likewise. | |
5748 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
5749 | * f-lang.c (build_fortran_types, f_create_fundamental_type): Likewise. | |
5750 | * m2-lang.c (m2_create_fundamental_type, _initialize_m2_language) | |
5751 | (m2_create_fundamental_type): Likewise. | |
5752 | * c-lang.c (c_create_fundamental_type): Likewise. | |
5753 | * coffread.c (coff_read_enum_type): Likewise. | |
5754 | * mdebugread.c (parse_symbol, _initialize_mdebugread): Likewise. | |
5755 | * dwarf2read.c (new_symbol): Likewise. | |
5756 | * gdbarch.sh (TARGET_LONG_BIT): Replace by gdbarch_long_bit. | |
5757 | * c-exp.y (parse_number): Likewise. | |
5758 | * objc-exp.y (parse_number): Likewise. | |
5759 | * ada-lex.l (processInt): Likewise. | |
5760 | * f-exp.y (parse_number): Likewise. | |
5761 | * p-exp.y (parse_number): Likewise. | |
5762 | * valarith.c (value_binop): Likewise. | |
5763 | * symfile.c (read_target_long_array, simple_overlay_update_1): Likewise. | |
5764 | * ada-lang.c (ada_create_fundamental_type) | |
5765 | (ada_language_arch_info): Likewise. | |
5766 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
5767 | * symfile.c (TARGET_LONG_BYTES): Likewise. | |
5768 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
5769 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
5770 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
5771 | * f-lang.c (f_create_fundamental_type): Likewise. | |
5772 | * c-lang.c (c_create_fundamental_type): Likewise. | |
5773 | * coffread.c (decode_base_type): Likewise. | |
5774 | * gdbarch.sh (TARGET_LONG_LONG_BIT): Replace by gdbarch_long_long_bit. | |
5775 | * c-exp.y (parse_number): Likewise. | |
5776 | * objc-exp.y (parse_number): Likewise. | |
5777 | * p-exp.y (parse_number): Likewise. | |
5778 | * ada-lang.c (ada_create_fundamental_type) | |
5779 | (ada_language_arch_info): Likewise. | |
5780 | * gdbtypes.c (gdbtypes_post_init, build_gdbtypes): Likewise. | |
5781 | * stabsread.c (read_range_type): Likewise. | |
5782 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
5783 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
5784 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
5785 | * f-lang.c (f_create_fundamental_type): Likewise. | |
5786 | * c-lang.c (c_create_fundamental_type): Likewise. | |
5787 | * gdbarch.c, gdbarch.h: Regenerate. | |
5788 | ||
272dfcfd AS |
5789 | 2007-06-12 Andreas Schwab <schwab@suse.de> |
5790 | ||
5791 | * frame-unwind.h (frame_dealloc_cache_ftype): Define. | |
5792 | (struct frame_unwind): Add dealloc_cache. | |
5793 | * frame.c (reinit_frame_cache): Call dealloc_cache on all caches. | |
5794 | ||
5795 | * libunwind-frame.h (libunwind_frame_dealloc_cache): Declare. | |
5796 | * libunwind-frame.c (libunwind_frame_dealloc_cache): Define. | |
5797 | (libunwind_frame_unwind): Set dealloc_cache. | |
5798 | * ia64-tdep.c (ia64_libunwind_frame_unwind): Set dealloc_cache. | |
5799 | ||
0e7f50da UW |
5800 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
5801 | Markus Deuling <deuling@de.ibm.com> | |
5802 | ||
5803 | * remote.c (remote_write_qxfer): New function. | |
5804 | (remote_xfer_partial): Add handling for TARGET_OBJECT_SPU. | |
5805 | (remote_read_qxfer): Do not cache empty objects. | |
5806 | (_initialize_remote): Add PACKET_qXfer_spu_read and | |
5807 | PACKET_qXfer_spu_write. | |
5808 | ||
23d964e7 UW |
5809 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
5810 | ||
5811 | * target.h (enum target_object): Add TARGET_OBJECT_SPU. | |
5812 | * spu-linux-nat.c (spu_xfer_partial): Handle TARGET_OBJECT_SPU. | |
5813 | ||
5814 | * spu-tdep.h (SPU_NUM_PSEUDO_REGS): Add 5 pseudo registers. | |
5815 | (enum spu_regnum): Add SPU_FPSCR_REGNUM, SPU_SRR0_REGNUM, | |
5816 | SPU_LSLR_REGNUM, SPU_DECR_REGNUM, SPU_DECR_STATUS_REGNUM. | |
5817 | * spu-tdep.c (infospucmdlist): New variable. | |
5818 | (spu_register_name): Handle additional pseudo registers. | |
5819 | (spu_register_type): Likewise. | |
5820 | (spu_pseudo_register_read): Likewise. | |
5821 | (spu_pseudo_register_write): Likewise. | |
5822 | (spu_pseudo_register_read_spu): New function. | |
5823 | (spu_pseudo_register_write_spu): Likewise. | |
5824 | (info_spu_event_command): New function. | |
5825 | (info_spu_signal_command): Likewise. | |
5826 | (info_spu_mailbox_list): Likewise. | |
5827 | (info_spu_mailbox_command): Likewise. | |
5828 | (spu_mfc_get_bitfield): Likewise. | |
5829 | (info_spu_dma_cmdlist): Likewise. | |
5830 | (info_spu_dma_command): Likewise. | |
5831 | (info_spu_proxydma_command): Likewise. | |
5832 | (info_spu_command): Likewise. | |
5833 | (_initialize_spu_tdep): Install "info spu" commands. | |
5834 | ||
374c1d38 UW |
5835 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
5836 | ||
5837 | * spu-linux-nat.c (spu_proc_xfer_spu): Do not return failure when | |
5838 | accessing non-seekable spufs files. | |
5839 | ||
e76f05fa UW |
5840 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
5841 | ||
5842 | * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Replace by | |
5843 | gdbarch_skip_trampoline_code. | |
5844 | * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment). | |
5845 | * objc-lang.c (objc_skip_trampoline) | |
5846 | (objc_submethod_helper_data): Likewise. | |
5847 | * m32c-lang.c (m32c_skip_trampoline_code): Likewise (comment). | |
5848 | * infrun.c (handle_inferior_event): Likewise. | |
5849 | * gnu-v3-abi.c (gnuv3_skip_trampoline): Likewise. | |
5850 | * gdbarch.sh (IN_SOLIB_RETURN_TRAMPOLINE): Replace by | |
5851 | gdbarch_in_solib_return_trampoline. | |
5852 | * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment). | |
5853 | * infrun.c (handle_inferior_event): Likewise. | |
5854 | * hppa-tdep.c (hppa_stub_unwind_sniffer): Likewise. | |
5855 | * gdbarch.c, gdbarch.h: Regenerate. | |
5856 | ||
a433963d UW |
5857 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
5858 | ||
5859 | * gdbarch.sh (SKIP_PROLOGUE): Replace by gdbarch_skip_prologue. | |
5860 | * symtab.c (find_function_start_sal, in_prologue): Likewise. | |
5861 | * linespec.c (minsym_found): Likewise. | |
5862 | * infrun.c (step_into_function): Likewise. | |
5863 | * gdbarch.c, gdbarch.h: Regenerate. | |
5864 | ||
aea8766f UW |
5865 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
5866 | ||
5867 | * gdbarch.sh (NAME_OF_MALLOC): Replace by gdbarch_name_of_malloc. | |
5868 | * valops.c (value_allocate_space_in_inferior): Likewise. | |
5869 | * gdbarch.c, gdbarch.h: Regenerate. | |
5870 | ||
8da95a30 UW |
5871 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
5872 | ||
5873 | * gdbarch.sh (MEMORY_INSERT_BREAKPOINT): Replace by | |
5874 | gdbarch_memory_insert_breakpoint. | |
5875 | * mem-break.c (memory_insert_breakpoint): Likewise. | |
5876 | * gdbarch.sh (MEMORY_REMOVE_BREAKPOINT): Replace by | |
5877 | gdbarch_memory_remove_breakpoint. | |
5878 | * mem-break.c (memory_remove_breakpoint): Likewise. | |
5879 | * gdbarch.c, gdbarch.h: Regenerate. | |
5880 | ||
985969a9 UW |
5881 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
5882 | ||
5883 | * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS): Replace by | |
5884 | gdbarch_fetch_tls_load_module_address. | |
5885 | * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS_P): Replace by | |
5886 | gdbarch_fetch_tls_load_module_address_p. | |
5887 | * gdbarch.c, gdbarch.h: Regenerate. | |
5888 | ||
b798847d UW |
5889 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
5890 | ||
5891 | * gdbarch.sh (DECR_PC_AFTER_BREAK): Replace by | |
5892 | gdbarch_decr_pc_after_break. | |
5893 | * tracepoint.c (trace_dump_command): Likewise. | |
5894 | * solib-sunos.c (sunos_solib_create_inferior_hook): Likewise. | |
5895 | * linux-thread-db.c (check_event): Likewise. | |
5896 | * linux-nat.c (cancel_breakpoints_callback): Likewise. | |
5897 | * infrun.c (adjust_pc_after_break, normal_stop): Likewise. | |
5898 | * frame.h: Likewise (comment). | |
5899 | * dummy-frame.c (deprecated_pc_in_call_dummy): Likewise. | |
5900 | * aix-thread.c (aix_thread_wait): Likewise. | |
5901 | * gdbarch.c, gdbarch.h: Regenerate. | |
5902 | ||
849957d9 UW |
5903 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
5904 | ||
5905 | * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS): Replace by | |
5906 | gdbarch_address_class_type_flags. | |
5907 | * dwarf2read.c (read_tag_pointer_type): Likewise. | |
5908 | * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_P): Replace by | |
5909 | gdbarch_address_class_type_flags_p. | |
5910 | * dwarf2read.c (read_tag_pointer_type): Likewise. | |
5911 | * gdbarch.c, gdbarch.h: Regenerate. | |
5912 | ||
bf6ae464 UW |
5913 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
5914 | ||
5915 | * gdbarch.sh (ADDR_BITS_REMOVE): Replace by gdbarch_addr_bits_remove. | |
5916 | * value.c (value_as_address): Likewise (comment). | |
5917 | * remote-mips.c (common_breakpoint): Likewise. | |
5918 | * regcache.c (read_pc_pid): Likewise. | |
5919 | * printcmd.c (do_one_display): Likewise. | |
5920 | * monitor.c (monitor_write_memory, monitor_read_memory) | |
5921 | (monitor_insert_breakpoint): Likewise. | |
5922 | * mips-tdep.c (heuristic_proc_start): Likewise. | |
5923 | * infrun.c (insert_step_resume_breakpoint_at_frame) | |
5924 | (insert_step_resume_breakpoint_at_caller): Likewise. | |
5925 | * buildsym.c (record_line): Likewise. | |
5926 | * arm-tdep.c (arm_scan_prologue, thumb_get_next_pc) | |
5927 | (arm_get_next_pc): Likewise. | |
5928 | * armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register) | |
5929 | (store_regs): Likewise. | |
5930 | * arm-linux-tdep.c (arm_linux_supply_gregset): Likewise. | |
5931 | * arm-linux-nat.c (fetch_register, fetch_regs): Likewise. | |
5932 | * gdbarch.c, gdbarch.h: Regenerate. | |
5933 | ||
c9f4d572 UW |
5934 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
5935 | ||
5936 | * gdbarch.sh (REGISTER_NAME): Replace by gdbarch_register_name. | |
5937 | * tracepoint.c (scope_info): Likewise. | |
5938 | * target.c (debug_print_register): Likewise. | |
5939 | * stack.c (frame_info): Likewise. | |
5940 | * sh-tdep.c (sh_register_reggroup_p): Likewise. | |
5941 | * sh64-tdep.c (sh64_do_fp_register, sh64_do_register) | |
5942 | (sh64_media_print_registers_info) | |
5943 | (sh64_compact_print_registers_info): Likewise. | |
5944 | * rs6000-tdep.c (rs6000_register_reggroup_p): Likewise. | |
5945 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
5946 | * remote.c (packet_reg): Likewise (comment). | |
5947 | * reggroups.c (default_register_reggroup_p): Likewise. | |
5948 | * regcache.c (regcache_dump): Likewise. | |
5949 | * printcmd.c (address_info): Likewise. | |
5950 | * ppc-linux-nat.c (fetch_register, store_register): Likewise. | |
5951 | * mt-dep.c (mt_registers_info): Likewise. | |
5952 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Likewise (comment). | |
5953 | * mips-tdep.c (mips_register_reggroup_p, mips_read_fp_register_single) | |
5954 | (mips_read_fp_register_double, mips_print_fp_register) | |
5955 | (mips_print_register, print_gp_register_row, mips_print_registers_info) | |
5956 | (mips_register_sim_regno): Likewise. | |
5957 | * m68klinux-nat.c (regmap, fetch_register, store_register): Likewise. | |
5958 | * inf-ptrace.c (inf_ptrace_fetch_register) | |
5959 | (inf_ptrace_store_register): Likewise. | |
5960 | * infcmd.c (default_print_registers_info): Likewise. | |
5961 | * ia64-linux-nat.c (ia64_linux_fetch_register) | |
5962 | (ia64_linux_store_register): Likewise. | |
5963 | * i386-linux-nat.c (fetch_register, store_register): Likewise. | |
5964 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise. | |
5965 | * hppa-linux-nat.c (fetch_register, store_register): Likewise. | |
5966 | * hppa-hpux-nat.c (hppa_hpux_fetch_register) | |
5967 | (hppa_hpux_store_register): Likewise. | |
5968 | * findvar.c (locate_var_value): Likewise. | |
5969 | * dwarf2loc.c (locexpr_describe_location): Likewise. | |
5970 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
5971 | * arm-tdep.c (arm_push_dummy_call): Likewise. | |
5972 | * arch-utils.c (legacy_register_sim_regno): Likewise. | |
5973 | * alpha-tdep.c (alpha_register_reggroup_p): Likewise. | |
5974 | * alpha-nat.c (fetch_osf_core_registers): Likewise. | |
5975 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
5976 | (mi_cmd_data_list_changed_registers, mi_cmd_data_list_register_values) | |
5977 | (mi_cmd_data_write_register_values): Likewise. | |
5978 | * gdbarch.c, gdbarch.h: Regenerate. | |
5979 | ||
1fc01e03 DJ |
5980 | 2007-06-07 Daniel Jacobowitz <dan@codesourcery.com> |
5981 | ||
5982 | * target-memory.c (blocks_to_erase): Correct off-by-one error. | |
5983 | ||
632110b1 VP |
5984 | 2007-06-06 Vladimir Prus <vladimir@codesourcery.com> |
5985 | ||
5986 | * remote.c (process_g_packet): Don't check size. | |
5987 | * gdbarch.sh: Remove register_bytes_ok. | |
5988 | * gdbarch.c: Regenerated. | |
5989 | * gdbarch.h: Regenerated. | |
5990 | * m68k-tdep.c (REGISTER_BYTES_NOFP): Remove. | |
5991 | (m68k_register_bytes_ok): Remove. | |
5992 | (m68k_gdbarch_init): Don't register m68k_register_bytes_ok. | |
5993 | ||
f43ae3f1 AS |
5994 | 2007-06-06 Andreas Schwab <schwab@suse.de> |
5995 | ||
5996 | * libunwind-frame.c (unw_destroy_addr_space_p): Define. | |
5997 | (destroy_addr_space_name): Define. | |
5998 | (libunwind_load): Get address of destroy_addr_space function. | |
5999 | (libunwind_frame_cache): Destroy unw_addr_space_t object before | |
6000 | returning unsuccessfully. | |
6001 | (libunwind_frame_sniffer): Destroy unw_addr_space_t object before | |
6002 | returning. | |
6003 | (libunwind_sigtramp_frame_sniffer): Likewise. | |
6004 | (libunwind_get_reg_special): Likewise. | |
6005 | ||
d99344c0 UW |
6006 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
6007 | ||
6008 | * gdbarch.sh (FETCH_POINTER_ARGUMENT): Replace by | |
6009 | gdbarch_fetch_pointer_argument. | |
6010 | * objc-lang.c (OBJC_FETCH_POINTER_ARGUMENT): Likewise. | |
6011 | * gdbarch.c, gdbarch.h: Regenerate. | |
6012 | ||
e6cf7916 UW |
6013 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
6014 | ||
6015 | * gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Replace by | |
6016 | gdbarch_have_nonsteppable_watchpoint. | |
6017 | * infrun.c (handle_inferior_event, adjust_pc_after_break): Likewise. | |
6018 | * gdbarch.sh (CANNOT_STEP_BREAKPOINT): Replace by | |
6019 | gdbarch_cannot_step_breakpoint. | |
6020 | * infrun.c (resume): Likewise. | |
6021 | * gdbarch.c, gdbarch.h: Regenerate. | |
6022 | ||
bbcf301a UW |
6023 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
6024 | ||
6025 | * gdbarch.sh (FRAME_ARGS_SKIP): Replace by gdbarch_frame_args_skip. | |
6026 | * stack.c (print_frame_args): Likewise. | |
6027 | * gdbarch.sh (FRAME_NUM_ARGS): Replace by gdbarch_frame_num_args. | |
6028 | * stack.c (print_args_stub, frame_info): Likewise. | |
6029 | * gdbarch.sh (FRAME_NUM_ARGS_P): Replace by gdbarch_frame_num_args_p. | |
6030 | * stack.c (print_args_stub, frame_info): Likewise. | |
6031 | * gdbarch.c, gdbarch.h: Regenerate. | |
6032 | ||
95f1da47 UW |
6033 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
6034 | ||
6035 | * gdbarch.sh (COFF_MAKE_MSYMBOL_SPECIAL): Replace by | |
6036 | gdbarch_coff_make_msymbol_special. | |
6037 | * coffread.c (coff_symtab_read): Likewise. | |
6038 | * gdbarch.sh (ELF_MAKE_MSYMBOL_SPECIAL): Replace by | |
6039 | gdbarch_elf_make_msymbol_special. | |
6040 | * elfread.c (elf_symtab_read): Likewise. | |
6041 | * mips-tdep.c (mips_elf_make_msymbol_special): Likewise (comment). | |
6042 | * sh64-tdep.c (MSYMBOL_IS_SPECIAL): Likewise (comment). | |
6043 | * gdbarch.c, gdbarch.h: Regenerate. | |
6044 | ||
39e8369e UW |
6045 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
6046 | ||
6047 | * gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by | |
6048 | gdbarch_frame_red_zone_size. | |
6049 | * gdbarch.c, gdbarch.h: Regenerate. | |
6050 | ||
4d1e7dd1 UW |
6051 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
6052 | ||
6053 | * gdbarch.sh (INNER_THAN): Replace by gdbarch_inner_than. | |
6054 | * infcall.c (call_function_by_hand): Likewise. | |
6055 | * gcore.c (derive_stack_segment): Likewise. | |
6056 | * frame.c (frame_id_inner): Likewise. | |
6057 | * arch-utils.c (core_addr_lessthan): Likewise (comment). | |
6058 | * ada-lang.c (ensure_lval): Likewise. | |
6059 | * gdbarch.c, gdbarch.h: Regenerate. | |
6060 | ||
76e71323 UW |
6061 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
6062 | ||
6063 | * gdbarch.sh (ADDRESS_TO_POINTER): Replace by | |
6064 | gdbarch_address_to_pointer. | |
6065 | * findvar.c (store_typed_address): Likewise. | |
6066 | * gdbtypes.c (make_pointer_type): Likewise (comment). | |
6067 | * procfs.c (procfs_address_to_host_pointer): Likewise. | |
6068 | * std-regs.c (value_of_builtin_frame_reg): Likewise. | |
6069 | (value_of_builtin_frame_fp_reg): Likewise. | |
6070 | (value_of_builtin_frame_pc_reg): Likewise. | |
6071 | * utils.c (paddress): Likewise (comment). | |
6072 | * gdbarch.sh (POINTER_TO_ADDRESS): Replace by | |
6073 | gdbarch_pointer_to_address. | |
6074 | * findvar.c (extract_typed_address): Likewise. | |
6075 | * gdbtypes.c (make_pointer_type): Likewise (comment). | |
6076 | * valops.c (value_cast): Likewise (comment). | |
6077 | * gdbarch.c, gdbarch.h: Regenerate. | |
6078 | ||
91104499 UW |
6079 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
6080 | ||
6081 | * gdbarch.sh (GET_LONGJMP_TARGET): Replace by gdbarch_get_longjmp_target. | |
6082 | * infrun.c (handle_inferior_event): Likewise. | |
6083 | * gdbarch.sh (GET_LONGJMP_TARGET_P): Replace by | |
6084 | gdbarch_get_longjmp_target_p. | |
6085 | * breakpoint.c (breakpoint_re_set): Likewise. | |
6086 | * infrun.c (handle_inferior_event): Likewise. | |
6087 | * gdbarch.c, gdbarch.h: Regenerate. | |
6088 | ||
d3e9c991 UW |
6089 | 2007-06-06 Ulrich Weigand <uweigand@de.ibm.com> |
6090 | ||
6091 | * hppa-hpux-tdep.c (args_for_find_stub, HP_ACC_EH_notify_hook, | |
6092 | HP_ACC_EH_set_hook_value, HP_ACC_EH_notify_callback, HP_ACC_EH_break, | |
6093 | HP_ACC_EH_catch_throw, HP_ACC_EH_catch_catch, __eh_notification, | |
6094 | hp_cxx_exception_support, hp_cxx_exception_support_initialized, | |
6095 | eh_notify_hook_addr, eh_notify_callback_addr, eh_break_addr, | |
6096 | eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior, | |
6097 | find_stub_with_shl_get, cover_find_stub_with_shl_get, | |
6098 | initialize_hp_cxx_exception_support, child_enable_exception_callback, | |
6099 | current_ex_event, child_get_current_exception_event): Remove. | |
6100 | (hppa_hpux_inferior_created): Remove. | |
6101 | (hppa_hpux_init_abi): Do not install hppa_hpux_inferior_created. | |
6102 | ||
6103 | * breakpoint.h (deprecated_exception_catchpoints_are_fragile): Remove. | |
6104 | (deprecated_exception_support_initialized): Remove. | |
6105 | * breakpoint.c (deprecated_exception_catchpoints_are_fragile): Remove. | |
6106 | (deprecated_exception_support_initialized): Remove. | |
6107 | (breakpoint_init_inferior): Remove handling of non-zero | |
6108 | deprecated_exception_catchpoints_are_fragile. | |
6109 | ||
6110 | * symtab.h (deprecated_hp_som_som_object_present): Remove. | |
6111 | * symtab.c (deprecated_hp_som_som_object_present): Remove. | |
6112 | * c-typeprint.c (c_type_print_base): Remove handling of non-zero | |
6113 | deprecated_hp_som_som_object_present. | |
6114 | * eval.c (evaluate_subexp_standard): Likewise. | |
6115 | * valops.c (value_cast): Likewise. | |
6116 | ||
6117 | * parse.c (parse_nested_classes_for_hpacc, coloncolon): Remove. | |
6118 | * parser-defs.h (parse_nested_classes_for_hpacc): Remove. | |
6119 | * c-exp.y (yylex): Do not call parse_nested_classes_for_hpacc. | |
6120 | ||
5e787d22 UW |
6121 | 2007-06-06 Ulrich Weigand <uweigand@de.ibm.com> |
6122 | ||
6123 | * objfiles.h (ImportEntry, ExportEntry): Remove types. | |
6124 | (struct objfile): Remove import_list, import_list_size, | |
6125 | export_list, export_list_size members. | |
6126 | (is_in_import_list): Remove prototype. | |
6127 | * objfiles.c (is_in_import_list): Remove. | |
6128 | * somread.c (init_import_symbols, init_export_symbols): Remove. | |
6129 | (som_symfile_read): Do not call init_import_symbols. Do not | |
6130 | set objfile->export_list and objfile->export_list_size. | |
6131 | ||
93e7bd98 DJ |
6132 | 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com> |
6133 | ||
6134 | * dwarf2read.c (dwarf2_symbol_mark_computed): Fix formatting. | |
6135 | Use the original objfile if necessary. | |
6136 | ||
e1024ff1 DJ |
6137 | 2007-06-04 Daniel Jacobowitz <dan@codesourcery.com> |
6138 | ||
6139 | * defs.h (ldirname): New prototype. | |
6140 | * dwarf2read.c (read_file_scope): Use DW_AT_name if DW_AT_comp_dir is | |
6141 | missing. | |
6142 | * utils.c (ldirname): New function. | |
6143 | * xml-tdesc.c (file_read_description_xml): Use ldirname. | |
6144 | ||
ee82e879 UW |
6145 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
6146 | ||
6147 | * spu-tdep.c (spu_push_dummy_call): Store stack back chain. | |
6148 | ||
513f5903 JB |
6149 | 2007-06-01 Joel Brobecker <brobecker@adacore.com> |
6150 | ||
6151 | * solib-svr4.c (svr4_solib_create_inferior_hook): Remove warning. | |
6152 | ||
52a75740 UW |
6153 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
6154 | ||
6155 | * irix5-nat.c (JB_ELEMENT_SIZE, get_longjmp_target): Remove. | |
6156 | ||
c3fc7e62 UW |
6157 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
6158 | ||
6159 | * ppc-linux-tdep.c (INSTR_SC, INSTR_LI_R0_0x6666, INSTR_LI_R0_0x7777, | |
6160 | INSTR_LI_R0_NR_sigreturn, INSTR_LI_R0_NR_rt_sigreturn): Remove. | |
6161 | (PPC_LINUX_SIGNAL_FRAMESIZE, PPC_LINUX_REGS_PTR_OFFSET, | |
6162 | PPC_LINUX_HANDLER_PTR_OFFSET): Remove. | |
6163 | (ppc_linux_in_sigtramp, insn_is_sigreturn, | |
6164 | ppc_linux_at_sigtramp_return_path): Remove. | |
6165 | ||
4c6b5505 UW |
6166 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
6167 | ||
6168 | * xtensa-tdep.c (XTENSA_IS_ENTRY, extract_call_winsize) | |
6169 | (xtensa_register_write_masked, xtensa_register_read_masked) | |
6170 | (xtensa_extract_return_value, xtensa_store_return_value | |
6171 | (xtensa_push_dummy_call, xtensa_breakpoint_from_pc): Replace | |
6172 | TARGET_BYTE_ORDER by gdbarch_byte_order. | |
6173 | * sh-tdep.c (sh_breakpoint_from_pc, gdb_print_insn_sh) | |
6174 | (sh_justify_value_in_reg, sh_next_flt_argreg, sh_push_dummy_call_fpu) | |
6175 | (sh_extract_return_value_fpu, sh_store_return_value_fpu): Likewise. | |
6176 | * sh64-tdep.c (sh64_breakpoint_from_pc, gdb_print_insn_sh64) | |
6177 | (sh64_push_dummy_call, sh64_extract_return_value) | |
6178 | (sh64_store_return_value, sh64_register_convert_to_virtual) | |
6179 | (sh64_register_convert_to_raw, sh64_pseudo_register_read) | |
6180 | (sh64_pseudo_register_write, sh64_do_fp_register) | |
6181 | (sh64_frame_prev_register): Likewise. | |
6182 | * score-tdep.c (score_print_insn, score_breakpoint_from_pc) | |
6183 | (score_return_value, score_push_dummy_call, score_fetch_inst): Likewise. | |
6184 | * rs6000-tdep.c (rs6000_breakpoint_from_pc, rs6000_push_dummy_call) | |
6185 | (e500_move_ev_register,gdb_print_insn_powerpc): Likewise. | |
6186 | * remote-m32r-sdi.c (m32r_resume, m32r_wait): Likewise. | |
6187 | * ppc-linux-nat.c (store_register): Likewise. | |
6188 | * nto-tdep.c (nto_find_and_open_solib) | |
6189 | (nto_init_solib_absolute_prefix): Likewise. | |
6190 | * mips-tdep.c (mips_pseudo_register_read, mips_pseudo_register_write) | |
6191 | (mips_convert_register_p, mips_eabi_push_dummy_call) | |
6192 | (mips_n32n64_push_dummy_call, mips_n32n64_return_value) | |
6193 | (mips_o32_push_dummy_call, mips_o32_return_value) | |
6194 | (mips_o64_push_dummy_call, mips_o64_return_value, mips_o64_return_value) | |
6195 | (mips_read_fp_register_single, mips_read_fp_register_double) | |
6196 | (mips_print_register, print_gp_register_row, gdb_print_insn_mips) | |
6197 | (mips_breakpoint_from_pc): Likewise. | |
6198 | * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Likewise. | |
6199 | * mips-linux-tdep.c (mips64_supply_fpregset, mips64_fill_fpregset) | |
6200 | (mips_linux_o32_sigframe_init): Likewise. | |
6201 | * m32r-tdep.c (m32r_memory_insert_breakpoint) | |
6202 | (m32r_memory_remove_breakpoint, m32r_breakpoint_from_pc): Likewise. | |
6203 | * libunwind-frame.c (libunwind_frame_cache, libunwind_frame_sniffer) | |
6204 | (libunwind_sigtramp_frame_sniffer, libunwind_get_reg_special): Likewise. | |
6205 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Likewise. | |
6206 | * coffread.c (process_coff_symbol): Likewise. | |
6207 | * arm-tdep.c (convert_from_extended, convert_to_extended) | |
6208 | (gdb_print_insn_arm): Likewise. | |
6209 | ||
f57d151a UW |
6210 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
6211 | ||
6212 | * gdbarch.sh (NUM_REGS): Replace by gdbarch_num_regs. | |
6213 | * i386-tdep.c (i386_dbx_reg_to_regnum) | |
6214 | (i386_svr4_reg_to_regnum): Likewise. | |
6215 | * inf-ptrace.c (inf_ptrace_fetch_registers) | |
6216 | (inf_ptrace_store_registers): Likewise. | |
6217 | * corelow.c (get_core_registers): Likewise. | |
6218 | * i386-linux-nat.c (supply_gregset, fill_gregset) | |
6219 | (i386_linux_fetch_inferior_registers) | |
6220 | (i386_linux_store_inferior_registers): Likewise. | |
6221 | * remote.c (init_remote_state,packet_reg_from_regnum) | |
6222 | (packet_reg_from_pnum,process_g_packet,remote_fetch_registers) | |
6223 | (remote_prepare_to_store,store_registers_using_G) | |
6224 | (remote_store_registers,remote_arch_state): Likewise. | |
6225 | * tracepoint.c (encode_actions): Likewise. | |
6226 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
6227 | (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values) | |
6228 | (mi_cmd_data_write_register_values): Likewise. | |
6229 | * tui/tui-regs.c (tui_show_register_group) | |
6230 | (tui_show_register_group): Likewise. | |
6231 | * xtensa-tdep.h (FP_ALIAS): Likewise. | |
6232 | * xtensa-tdep.c (xtensa_register_name,xtensa_register_type) | |
6233 | (xtensa_reg_to_regnum,xtensa_pseudo_register_read) | |
6234 | (xtensa_pseudo_register_write,xtensa_register_reggroup_p): Likewise. | |
6235 | * win32-nat.c (do_win32_fetch_inferior_registers) | |
6236 | (do_win32_store_inferior_registers,fetch_elf_core_registers | |
6237 | * user-regs.h: Likewise (comment). | |
6238 | * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise. | |
6239 | * trad-frame.c (trad_frame_alloc_saved_regs): Likewise. | |
6240 | * target-descriptions.h: Likewise (comment). | |
6241 | * target-descriptions.c (tdesc_use_registers): Likewise (comment). | |
6242 | * target.c (debug_print_register): Likewise. | |
6243 | * stack.c (frame_info): Likewise. | |
6244 | * stabsread.c (define_symbol): Likewise. | |
6245 | * sh64-tdep.c (sh64_do_pseudo_register,sh64_print_register) | |
6246 | (sh64_media_print_registers_info) | |
6247 | (sh64_compact_print_registers_info): Likewise. | |
6248 | * rs6000-tdep.c (rs6000_register_sim_regno): Likewise. | |
6249 | * rs6000-nat.c (fetch_register,store_register): Likewise. | |
6250 | * remote-sim.c (one2one_register_sim_regno,gdbsim_fetch_register) | |
6251 | (gdbsim_fetch_register,gdbsim_store_register): Likewise. | |
6252 | * remote-mips.c (mips_fetch_registers,mips_store_registers): Likewise. | |
6253 | * remote-m32r-sdi.c (m32r_fetch_registers) | |
6254 | (m32r_store_registers): Likewise. | |
6255 | * reggroups.c (default_register_reggroup_p): Likewise. | |
6256 | * regcache.c (init_regcache_descr,register_size,regcache,regcache_save) | |
6257 | (regcache_restore,regcache_dump): Likewise. | |
6258 | * monitor.c (monitor_fetch_registers,monitor_store_registers): Likewise. | |
6259 | * mips-tdep.c (mips_xfer_register,mips_register_name) | |
6260 | (mips_register_reggroup_p,mips_pseudo_register_read) | |
6261 | (mips_pseudo_register_write,mips_convert_register_p,mips_register_type) | |
6262 | (mips_unwind_pc,mips_unwind_sp,mips_unwind_dummy_id,set_reg_offset) | |
6263 | (mips16_scan_prologue,mips_insn16_frame_cache,reset_saved_regs) | |
6264 | (mips32_scan_prologue,mips_insn32_frame_cache,read_next_frame_reg) | |
6265 | (mips_n32n64_return_value,mips_o32_return_value,mips_o64_return_value) | |
6266 | (print_gp_register_row,mips_print_registers_info) | |
6267 | (mips_stab_reg_to_regnum,mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
6268 | (mips_register_sim_regno): Likewise. | |
6269 | * mips-linux-tdep.c (mips_linux_o32_sigframe_init) | |
6270 | (mips_linux_n32n64_sigframe_init): Likewise. | |
6271 | * mips-linux-nat.c (mips_linux_register_addr) | |
6272 | (mips64_linux_register_addr): Likewise. | |
6273 | * findvar.c (value_of_register): Likewise. | |
6274 | * infcmd.c (default_print_registers_info,registers_info) | |
6275 | (print_vector_info,print_float_info): Likewise. | |
6276 | * mips64obsd-tdep.c (mips64obsd_sigframe_init): Likewise. | |
6277 | * inf-child.c (inf_child_fetch_inferior_registers): Likewise. | |
6278 | * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise. | |
6279 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache(: Likewise. | |
6280 | * m32r-tdep.c (m32r_frame_unwind_cache): Likewise. | |
6281 | * ia64-linux-nat.c (ia64_register_addr,ia64_cannot_fetch_register) | |
6282 | (ia64_cannot_store_register,ia64_linux_fetch_registers) | |
6283 | (ia64_linux_store_registers): Likewise. | |
6284 | * hpux-thread.c (hpux_thread_fetch_registers) | |
6285 | (hpux_thread_store_registers): Likewise. | |
6286 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM,E_PSEUDO_EXR_REGNUM) | |
6287 | (h8300_init_frame_cache,h8300_frame_cache,h8300_frame_prev_register) | |
6288 | (h8300_register_type): Likewise. | |
6289 | * dwarf2-frame.c (dwarf2_frame_cache) | |
6290 | (dwarf2_frame_state_alloc_regs): Likewise. | |
6291 | * cris-tdep.c (cris_register_size,cris_cannot_fetch_register) | |
6292 | (cris_cannot_store_register,crisv32_cannot_fetch_register) | |
6293 | (crisv32_cannot_store_register,cris_register_name): Likewise. | |
6294 | * avr-tdep.c (avr_frame_unwind_cache): Likewise. | |
6295 | * arch-utils.c (legacy_register_sim_regno) | |
6296 | (legacy_virtual_frame_pointer): Likewise. | |
6297 | * arm-tdep.c (arm_make_prologue_cache,arm_register_sim_regno):Likewise. | |
6298 | * arm-tdep.h: Likewise (comment). | |
6299 | * frv-tdep.c (frv_register_sim_regno): Likewise. | |
6300 | * m68klinux-nat.c (old_fetch_inferior_registers) | |
6301 | (old_store_inferior_registers): Likewise. | |
6302 | * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. | |
6303 | * irix5-nat.c (fetch_core_registers): Likewise. | |
6304 | * hppa-tdep.c (hppa_frame_cache): Likewise. | |
6305 | * hppa-linux-nat.c (hppa_linux_register_addr) | |
6306 | (hppa_linux_fetch_inferior_registers) | |
6307 | (hppa_linux_store_inferior_registers): Likewise. | |
6308 | * hppa-hpux-nat.c (hppa_hpux_fetch_inferior_registers) | |
6309 | (hppa_hpux_store_inferior_registers): Likewise. | |
6310 | * amd64-nat.c (amd64_native_gregset_reg_offset) | |
6311 | (amd64_supply_native_gregset,amd64_collect_native_gregset): Likewise. | |
6312 | * dbug-rom.c (dbug_regname): Likewise. | |
6313 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache) | |
6314 | (HARD_PAGE_REGNUM (comment)): Likewise. | |
6315 | * gdbarch.sh (NUM_PSEUDO_REGS): Replace by gdbarch_num_pseudo_regs. | |
6316 | * i386-tdep.c (i386_dbx_reg_to_regnum) | |
6317 | (i386_svr4_reg_to_regnum): Likewise. | |
6318 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
6319 | (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values) | |
6320 | (mi_cmd_data_write_register_values): Likewise. | |
6321 | * gdbarch.c, gdbarch.h: Regenerate. | |
6322 | * tui/tui-regs.c (tui_show_register_group): Likewise. | |
6323 | * xtensa-tdep.h (FP_ALIAS): Likewise. | |
6324 | * user-regs.h: Likewise (comment). | |
6325 | * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise. | |
6326 | * trad-frame.c (trad_frame_alloc_saved_regs): Likewise. | |
6327 | * target-descriptions.h: Likewise (comment). | |
6328 | * target.c (debug_print_register): Likewise. | |
6329 | * stack.c (frame_info): Likewise. | |
6330 | * stabsread.c (define_symbol): Likewise. | |
6331 | * sh64-tdep.c (sh64_print_register,sh64_media_print_registers_info) | |
6332 | (sh64_compact_print_registers_info): Likewise. | |
6333 | * rs6000-tdep.c (rs6000_register_sim_regno): Likewise. | |
6334 | * regcache.c (init_regcache_descr,register_size,regcache,regcache_save | |
6335 | (regcache_restore,regcache_dump): Likewise. | |
6336 | * mips-tdep.c (print_gp_register_row,mips_print_registers_info) | |
6337 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
6338 | (mips_stab_reg_to_regnum): Likewise. | |
6339 | * findvar.c (value_of_register): Likewise. | |
6340 | * infcmd.c (default_print_registers_info,registers_info) | |
6341 | (print_vector_info,print_float_info): Likewise. | |
6342 | * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise. | |
6343 | * h8300-tdep.c (h8300_register_type): Likewise. | |
6344 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
6345 | * frame.h (SIZEOF_FRAME_SAVED_REGS): Likewise. | |
6346 | * xtensa-tdep.c (xtensa_register_type,xtensa_reg_to_regnum) | |
6347 | (xtensa_pseudo_register_read,xtensa_pseudo_register_write): Likewise. | |
6348 | * parse.c: Remove comment. | |
6349 | * gdbarch.c, gdbarch.h: Regenerate | |
6350 | ||
8d4c1ba3 UW |
6351 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
6352 | ||
6353 | * gdbarch.sh (CANNOT_FETCH_REGISTER): Replace by | |
6354 | gdbarch_cannot_fetch_register. | |
6355 | * alpha-nat.c (fetch_osf_core_registers): Likewise. | |
6356 | * hppa-linux-nat.c (fetch_register): Likewise. | |
6357 | * inf-ptrace.c (inf_ptrace_fetch_register): Likewise. | |
6358 | * m68klinux-nat.c (fetch_register): Likewise. | |
6359 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): | |
6360 | Likewise. | |
6361 | * gdbarch.sh (CANNOT_STORE_REGISTER): Replace by | |
6362 | gdbarch_cannot_store_register. | |
6363 | * hppa-linux-nat.c (store_register): Likewise. | |
6364 | * inf-ptrace.c (inf_ptrace_store_register): Likewise. | |
6365 | * regcache.c (regcache_raw_write): Likewise. | |
6366 | * m68klinux-nat.c (store_register): Likewise. | |
6367 | * mipsnbsd-tdep.c (mipsnbsd_fill_reg, mipsnbsd_fill_fpreg): Likewise. | |
6368 | * gdbarch.c, gdbarch.h: Regenerate. | |
6369 | ||
3f4844da UW |
6370 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
6371 | ||
6372 | * gdbarch.sh (TARGET_OSABI): Replace by gdbarch_osabi. | |
6373 | * gdbarch.c, gdbarch.h: Regenerate. | |
6374 | ||
6c6b19fd UW |
6375 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
6376 | ||
6377 | * gdbarch.sh (TARGET_CHAR_SIGNED): Replace by gdbarch_char_signed. | |
6378 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
6379 | * gdbarch.c, gdbarch.h: Regenerate. | |
6380 | ||
0d20ae72 UW |
6381 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
6382 | ||
6383 | * gdbarch.sh (TARGET_BYTE_ORDER): Replace by gdbarch_byte_order. | |
6384 | * ax-gdb.c (gen_bitfield_ref): Likewise. | |
6385 | * mi/mi-main.c (get_register): Likewise. | |
6386 | * findvar.c (default_value_from_register, extract_signed_integer) | |
6387 | (extract_unsigned_integer, extract_long_unsigned_integer) | |
6388 | (store_signed_integer, store_unsigned_integer): Likewise. | |
6389 | * regcache.c (regcache_dump): Likewise. | |
6390 | * value.c (lookup_internalvar, value_of_internalvar) | |
6391 | (set_internalvar): Likewise. | |
6392 | * defs.h: Likewise. | |
6393 | * valprint.c (print_binary_chars, print_octal_chars) | |
6394 | (print_decimal_chars, print_hex_chars, print_char_chars): Likewise. | |
6395 | * infcmd.c (default_print_registers_info): Likewise. | |
6396 | * arch-utils.c (selected_byte_order, show_endian): Likewise. | |
6397 | * stabsread.c (define_symbol): Likewise. | |
6398 | * doublest.c (floatformat_from_length, floatformat_from_type) | |
6399 | (extract_typed_floating, store_typed_floating): Likewise. | |
6400 | * gdbarch.c, gdbarch.h: Regenerate. | |
6401 | ||
faaf634c UW |
6402 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
6403 | ||
6404 | * gdbarch.sh (CALL_DUMMY_LOCATION): Replace by | |
6405 | gdbarch_call_dummy_location. | |
6406 | * infcall.c (call_function_by_hand): Likewise. | |
6407 | * inferior.h: Change comment. | |
6408 | * arch-utils.c: Change comment. | |
6409 | * gdbarch.c, gdbarch.h: Regenerate. | |
6410 | ||
8905984d JB |
6411 | 2007-05-28 Joel Brobecker <brobecker@adacore.com> |
6412 | ||
6413 | * solib-aix5.c: Delete. | |
6414 | * Makefile.in (solib-aix5.o): Delete rule. | |
6415 | ||
ab14ee8d DJ |
6416 | 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com> |
6417 | ||
6418 | * breakpoint.h (enum bpstat_what_main_action): Remove | |
6419 | BPSTAT_WHAT_THROUGH_SIGTRAMP. | |
6420 | * infrun.c (process_event_stop_test): Do not check for it. | |
6421 | ||
23776285 MR |
6422 | 2007-05-22 Chris Dearman <chris@mips.com> |
6423 | Maciej W. Rozycki <macro@mips.com> | |
6424 | ||
6425 | * ser-unix.c (show_serial_hwflow): New function. | |
6426 | (hardwire_raw): Add hardware flow control support. | |
6427 | (_initialize_ser_hardwire): Add "set/show remoteflow". | |
6428 | * Makefile.in (ser-unix.o): Depend on $(gdbcmd_h). | |
6429 | * NEWS: Document the new command. | |
6430 | ||
eb368090 UW |
6431 | 2007-05-21 Ulrich Weigand <uweigand@de.ibm.com> |
6432 | ||
6433 | * config/i386/tm-linux.h (sys_quotactl): Do not define. | |
6434 | * configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not | |
6435 | define for i[[3456]]86-*-linux* native configurations. | |
6436 | * config.in, configure: Regenerate. | |
6437 | ||
8d08c9ce JB |
6438 | 2007-05-19 Joel Brobecker <brobecker@adacore.com> |
6439 | ||
6440 | * rs6000-nat.c (xcoff_relocate_symtab): Do nothing if debugging | |
6441 | a core file. Add comment in the function description. | |
6442 | ||
42be36b3 CT |
6443 | 2007-05-18 Caroline Tice <ctice@apple.com> |
6444 | ||
6445 | * c-valprint.c (c_value_print): If the initialized field of the | |
6446 | value struct is 0, print out "[uninitialized]" before the value. | |
6447 | * dwarf2expr.c (execute_stack_op): Initialize ctx->initialized field; | |
6448 | allow DW_OP_GNU_uninit as legal op following a DW_OP_reg op or a | |
6449 | DW_OP_regx op; add case for DW_OP_GNU_uninit and update | |
6450 | ctx->initialized appropriately. Verify no location op follows | |
6451 | DW_OP_GNU_uninit. | |
6452 | * dwarf2expr.h (struct dwarf_expr_context): New field, initialized. | |
6453 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Add call to | |
6454 | set_value_initialized. | |
6455 | * dwarf2read.c (dwarf_stack_op_name): Add case for DW_OP_GNU_uninit. | |
6456 | (decode_locdesc): Add case for DW_OP_GNU_uninit. | |
6457 | * value.c (struct value): New field, initialized. | |
6458 | (allocate_value): Initialize new field. | |
6459 | (set_value_initialized): New function. | |
6460 | (value_initialized): New function. | |
6461 | * value.h (value_initialized): New extern declaration. | |
6462 | (set_value_initialized): Likewise. | |
42be36b3 | 6463 | |
a7c569c8 CT |
6464 | 2007-05-18 Caroline Tice <ctice@apple.com> |
6465 | ||
6466 | * MAINTAINERS (Write After Approval): Add self. | |
6467 | ||
1e98b326 JB |
6468 | 2007-05-17 Joel Brobecker <brobecker@adacore.com> |
6469 | ||
6470 | * gdbtypes.c (make_reference_type): Preserve the type chain | |
6471 | and set the length of all the variants of the pointer type. | |
6472 | ||
053cb41b JB |
6473 | 2007-05-17 Joel Brobecker <brobecker@adacore.com> |
6474 | ||
6475 | * gdbtypes.c (make_pointer_type): Preserve the pointer type chain | |
6476 | and set the length of all the variants of the pointer type. | |
6477 | ||
436aafc4 MR |
6478 | 2007-05-17 Maciej W. Rozycki <macro@mips.com> |
6479 | ||
6480 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a | |
6481 | comment. | |
6482 | (mips_o64_push_dummy_call): Reformat a comment. | |
6483 | ||
98f4ab10 Q |
6484 | 2007-05-17 Qinwei <qinwei@sunnorth.com.cn> |
6485 | ||
6486 | * score-tdep.c (score_frame_cache->fp, score_analyze_prologue) | |
6487 | (score_prologue_frame_base_address): Return fp to keep gdb print | |
6488 | local variables correctly when debugging information is stabs. | |
6489 | ||
6490 | (score_analyze_prologue): For software watchpoint, fetch all the | |
6491 | instructions from range [startaddr, pc] once and identify them locally | |
6492 | to reduce memory access. | |
6493 | (score_malloc_and_get_memblock, score_free_memblock) | |
6494 | (score_adjust_memblock_ptr): New functions. | |
6495 | (score_fetch_inst): Fetch single instruction or mutiple instructions. | |
6496 | ||
6497 | (score_target_can_use_watch, score_stopped_by_watch) | |
6498 | (score_target_insert_watchpoint, score_target_remove_watchpoint) | |
6499 | (score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint): | |
6500 | New functions for remote & local hw-watchpoint and hw-breakpoint. | |
6501 | ||
60dfee72 AS |
6502 | 2007-05-16 Alfred M. Szmidt <ams@gnu.org> |
6503 | ||
6504 | * reply_mig_hack.awk: Check for `auto const mach_msg_type_t' | |
6505 | declarations as well. | |
6506 | ||
190dce09 UW |
6507 | 2007-05-16 Ulrich Weigand <uweigand@de.ibm.com> |
6508 | ||
6509 | * config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h. | |
6510 | * config/arm/tm-embed.h: Delete file. | |
6511 | ||
6512 | * arm-tdep.h (arm_software_single_step): Declare. | |
6513 | * arm-tdep.c (arm_software_single_step): Make global. | |
6514 | (arm_gdbarch_init): Move set_gdbarch_software_single_step call | |
6515 | from here to ... | |
6516 | * arm-linux-tdep.c (arm_linux_init_abi): ... here ... | |
6517 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): ... here ... | |
6518 | * armobsd-tdep.c (armobsd_init_abi): ... here ... | |
6519 | * arm-wince-tdep.c (arm_wince_init_abi): ... and here. | |
6520 | ||
6521 | * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT): No longer | |
6522 | allow defines to be overriden by TM file. | |
6523 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Likewise. Also, | |
6524 | change default to {0xbe,0xbe}. | |
6525 | * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint, | |
6526 | arm_obsd_thumb_be_breakpoint): New global variables. | |
6527 | (armobsd_init_abi): Override tdep->thumb_breakpoint and | |
6528 | tdep->thumb_breakpoint_size. | |
6529 | * arm-wince-tdep.c (arm_wince_thumb_le_breakpoint): New variable. | |
6530 | (arm_wince_init_abi): Override tdep->thumb_breakpoint and | |
6531 | tdep->thumb_breakpoint_size. | |
6532 | ||
6533 | * arm-tdep.c (arm_gdbarch_init): Add set_gdbarch_skip_trampoline_code. | |
6534 | ||
1a69e1e4 DJ |
6535 | 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com> |
6536 | ||
6537 | * NEWS: Mention removed "set mips stack-arg-size" and "set mips | |
6538 | saved-gpreg-size". | |
6539 | ||
6540 | * mips-tdep.c (MIPS32_REGSIZE, MIPS64_REGSIZE): New constants. | |
6541 | (size_auto, size_32, size_64, size_enums, mips_abi_regsize_string) | |
6542 | (mips_stack_argsize_string, mips_stack_argsize): Delete. | |
6543 | (mips_abi_regsize): Simplify. | |
6544 | (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) | |
6545 | (mips_n32n64_return_value, mips_o32_push_dummy_call) | |
6546 | (mips_o32_return_value, mips_o64_push_dummy_call) | |
6547 | (mips_o64_return_value): Propogate constant register sizes. Use the | |
6548 | ABI register size instead of mips_stack_argsize. | |
6549 | (mips_dump_tdep): Don't print mips_stack_argsize. | |
6550 | (_initialize_mips_tdep): Remove saved-gpreg-size and stack-arg-size | |
6551 | settings. | |
6552 | ||
7d522c90 DJ |
6553 | 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com> |
6554 | ||
6555 | * config/mips/linux.mt (DEPRECATED_TM_FILE): Delete. | |
6556 | * config/mips/tm-linux.h: Delete. | |
6557 | * mips-linux-tdep.c (mips_svr4_so_ops): New. | |
6558 | (mips_linux_in_dynsym_resolve_code): Make static. Use | |
6559 | svr4_in_dynsym_resolve_code. | |
6560 | (mips_linux_init_abi): Initialize mips_svr4_so_ops. Call | |
6561 | set_solib_ops. | |
6562 | * solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make | |
6563 | global. | |
6564 | * solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare. | |
6565 | * Makefile.in (mips-linux-tdep.o): Update. | |
6566 | * solib.c (set_solib_ops): New. | |
6567 | (current_target_so_ops): Update comment. | |
6568 | * solib.h (set_solib_ops): New prototype. | |
6569 | ||
5d51a2db MR |
6570 | 2007-05-16 Chris Dearman <chris@mips.com> |
6571 | ||
6572 | * printcmd.c (do_examine): Fix typos in a comment. | |
6573 | ||
07abfebf RS |
6574 | 2007-05-16 Richard Sandiford <richard@codesourcery.com> |
6575 | ||
6576 | * configure.ac: Allow sysroots to be relocated under $prefix as | |
6577 | well as $exec_prefix. | |
6578 | * configure: Regenerate. | |
6579 | ||
f5ce4941 UW |
6580 | 2007-05-14 Ulrich Weigand <uweigand@de.ibm.com> |
6581 | ||
6582 | * hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>. | |
6583 | (offsetof): Do not define. | |
6584 | (find_stub_with_shl_get): Use numerical value 3 instead of | |
6585 | symbolic value TYPE_PROCEDURE. | |
6586 | ||
76e1ee85 DJ |
6587 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
6588 | ||
6589 | * gdb_proc_service.h (paddr_t): Delete typedef. | |
6590 | * proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New. | |
6591 | (ps_xfer_memory): Take a psaddr_t. Use ps_addr_to_core_addr. | |
6592 | (ps_pglobal_lookup): Take a psaddr_t *. Use core_addr_to_ps_addr. | |
6593 | (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t. | |
6594 | * sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t. | |
6595 | * Makefile.in (proc-service.o): Update. | |
6596 | ||
2bd0c3d7 DJ |
6597 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
6598 | ||
6599 | * Makefile.in (mips-tdep.o): Update. | |
6600 | * mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI | |
6601 | unwinder. | |
6602 | ||
14d06750 DJ |
6603 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
6604 | ||
6605 | * dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long | |
6606 | instead of store_typed_address. | |
6607 | * value.c (pack_long): New. | |
6608 | (value_from_longest): Use it. | |
6609 | * value.h (pack_long): New prototype. | |
6610 | ||
f2fec864 DJ |
6611 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
6612 | ||
6613 | * dwarf2-frame.c (read_encoded_value): Correct typo. Use | |
6614 | DW_EH_PE_signed if appropriate. | |
6615 | ||
25e43795 DJ |
6616 | 2007-05-14 Paul Brook <paul@codesourcery.com> |
6617 | Daniel Jacobowitz <dan@codesourcery.com> | |
6618 | ||
6619 | * dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New | |
6620 | function. | |
6621 | (dwarf_decode_lines): Check for line info without a file. | |
6622 | ||
027c0295 DJ |
6623 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
6624 | ||
6625 | * linux-thread-db.c (thread_db_pid_to_str): Print thread IDs | |
6626 | as hexadecimal. | |
6627 | ||
dc5000e7 DJ |
6628 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
6629 | ||
6630 | * jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead of | |
6631 | STRUCTOP_STRUCT. | |
6632 | * jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of | |
6633 | STRUCTOP_STRUCT. | |
6634 | * jv-typeprint.c (java_print_type): Do not crash on NULL varstring. | |
6635 | ||
30244cd8 UW |
6636 | 2007-05-14 Ulrich Weigand <uweigand@de.ibm.com> |
6637 | ||
6638 | * gdbarch.sh (read_sp): Remove. | |
6639 | * gdbarch.c, gdbarch.h: Regenerate. | |
6640 | * frame.c (frame_sp_unwind): Do not call TARGET_READ_SP. | |
6641 | ||
6642 | * avr-tdep.c (avr_read_sp): Remove. | |
6643 | (avr_unwind_sp): New function. | |
6644 | (avr_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
6645 | * mips-tdep.c (mips_read_sp): Remove. | |
6646 | (mips_unwind_sp): New function. | |
6647 | (mips_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
6648 | * score-tdep.c (score_read_unsigned_register): Remove. | |
6649 | (score_read_sp): Remove. | |
6650 | (score_unwind_sp): New function. | |
6651 | (score_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
6652 | ||
84ba0adf DJ |
6653 | 2007-05-14 Maxim Grigoriev <maxim2405@gmail.com> |
6654 | ||
6655 | * buildsym.c (start_subfile): Handle absolute pathnames | |
6656 | while comparing subfile names. | |
6657 | ||
e7b17823 UW |
6658 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
6659 | ||
6660 | * hppa-hpux-tdep.c: Include "regcache.h". | |
6661 | * hppa-linux-tdep.c: Likewise. | |
6662 | * hppa-tdep.c: Include "gdb_stdint.h". | |
6663 | (find_unwind_entry): Cast host pointer to uintptr_t before passing | |
6664 | it to paddr_nz. | |
6665 | * Makefile.in: Update dependencies. | |
6666 | ||
7157eed4 UW |
6667 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
6668 | ||
6669 | * blockframe.c: Remove obsolete comments. | |
6670 | * alpha-nat.c (fetch_osf_core_registers): Update comment. | |
6671 | * arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment. | |
6672 | * hppa-tdep.h (enum hppa_regnum): Likewise. | |
6673 | * mips-tdep.h: Likewise. | |
6674 | * m68hc11-tdep.c: Likewise. | |
6675 | ||
fb4443d8 UW |
6676 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
6677 | ||
6678 | * inferior.h (read_sp): Remove prototype. | |
6679 | * regcache.c (read_sp): Remove. | |
6680 | * gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp. | |
6681 | * infcall.c (call_function_by_hand): Likewise. | |
6682 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead | |
6683 | of calling read_sp. | |
6684 | * rs6000-tdep.c (rs6000_push_dummy_call): Likewise. | |
6685 | ||
7b86a1b8 UW |
6686 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6687 | ||
6688 | * i386-linux-nat.c (i386_linux_resume): Use regcache functions | |
6689 | instead of read_register and read_register_pid. | |
6690 | ||
6691 | * ia64-linux-nat.c (enable_watchpoints_in_psr): Use REGCACHE | |
6692 | argument instead of PTID. Use regcache functions instead of | |
6693 | read_register_pid. | |
6694 | (ia64_linux_insert_watchpoint): Update call. | |
6695 | (ia64_linux_stopped_data_address): Use regcache functions | |
6696 | instead of read_register_pid and write_register_pid. | |
6697 | ||
45ecac4b UW |
6698 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6699 | ||
6700 | * libunwind-frame.h (struct regcache): Add forward declaration. | |
6701 | (libunwind_get_reg_special): Add REGCACHE argument. | |
6702 | * libunwind-frame.c (libunwind_get_reg_special): Add REGCACHE | |
6703 | argument. Pass it to unw_init_remote_p. | |
6704 | ||
6705 | * ia64-tdep.c (ia64_pseudo_register_read): Pass regcache to | |
6706 | libunwind_get_reg_special. | |
6707 | (ia64_access_reg): Remove "write" case. | |
6708 | (ia64_access_fpreg): Likewise. Read from next_frame passed | |
6709 | as callback argument instead of from current_regcache. | |
6710 | (ia64_access_rse_reg): Remove "write" case. Read from regcache | |
6711 | passed as callback argument instead of from current_regcache. | |
6712 | (ia64_access_rse_fpreg): New function. | |
6713 | (ia64_unw_rse_acce): Use it instead of ia64_access_fpreg. | |
6714 | ||
0ca420ce UW |
6715 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6716 | ||
6717 | * NEWS: Mention SPU overlay support. | |
6718 | ||
0a44cb36 UW |
6719 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6720 | ||
6721 | * spu-tdep.c (spu_frame_unwind_cache): Add comment. | |
6722 | ||
aa67235e UW |
6723 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6724 | ||
6725 | * breakpoint.c (remove_breakpoint): Do not remove software | |
6726 | breakpoints in unmapped overlay sections. | |
6727 | ||
dcf52cd8 UW |
6728 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6729 | ||
6730 | * spu-tdep.c: Include "observer.h". | |
6731 | (spu_frame_unwind_cache): Unwind PC through overlay return stubs. | |
6732 | (spu_overlay_data): New variable. | |
6733 | (struct spu_overlay_table): New type. | |
6734 | (spu_get_overlay_table, spu_overlay_update_osect, spu_overlay_update, | |
6735 | spu_overlay_new_objfile): New functions. | |
6736 | (spu_gdbarch_init): Install spu_overlay_update. | |
6737 | (_initialize_spu_tdep): Register spu_overlay_new_objfile, | |
6738 | allocate spu_overlay_data objfile data. | |
6739 | ||
1c772458 UW |
6740 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6741 | ||
6742 | * gdbarch.sh (overlay_update): New gdbarch function. | |
6743 | (struct obj_section): Add forward declaration. | |
6744 | * gdbarch.c, gdbarch.h: Regenerate. | |
6745 | ||
6746 | * symfile.c (simple_overlay_update): Make global. | |
6747 | (target_overlay_update): Remove variable. | |
6748 | (overlay_is_mapped): Call gdbarch_overlay_update instead of | |
6749 | target_overlay_update. | |
6750 | (overlay_load_command): Likewise. | |
6751 | * symfile.h (struct obj_section): Add forward declaration. | |
6752 | (simple_overlay_update): Add prototype. | |
6753 | ||
6754 | * m32r-tdep.c (m32r_gdbarch_init): Install simple_overlay_update. | |
6755 | ||
06d3b283 UW |
6756 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6757 | ||
6758 | * observer.sh: Add "struct objfile" forward declaration. | |
6759 | * target.h (deprecated_target_new_objfile_hook): Remove. | |
6760 | * symfile.c (deprecated_target_new_objfile_hook): Remove. | |
6761 | (clear_symtab_users): Call observer_notify_new_objfile. | |
6762 | (symbol_file_add_with_addrs_or_offsets): Likewise. | |
6763 | * rs6000-nat.c: Include "observer.h". | |
6764 | (vmap_ldinfo): Call observer_notify_new_objfile. | |
6765 | (xcoff_relocate_core): Likewise. | |
6766 | * remote.c (remote_new_objfile_chain): Remove. | |
6767 | (remote_new_objfile): Do not call remote_new_objfile_chain. | |
6768 | (_initialize_remote): Use observer_attach_new_objfile. | |
6769 | * tui/tui-hooks.c (tui_target_new_objfile_chain): Remove. | |
6770 | (tui_new_objfile_hook): Do not call tui_target_new_objfile_chain. | |
6771 | (_initialize_tui_hooks): Use observer_attach_new_objfile. | |
6772 | * aix-thread.c: Include "observer.h". | |
6773 | (target_new_objfile_chain): Remove. | |
6774 | (new_objfile): Do not call target_new_objfile_chain. | |
6775 | (_initialize_aix_thread): Use observer_attach_new_objfile. | |
6776 | * hpux-thread.c: Include "observer.h" | |
6777 | (target_new_objfile_chain): Remove. | |
6778 | (hpux_thread_new_objfile): Make static. Do not call | |
6779 | target_new_objfile_chain. | |
6780 | (_initialize_hpux_thread): Use observer_attach_new_objfile. | |
6781 | * linux-thread-db.c: Include "observer.h". | |
6782 | (target_new_objfile_chain): Remove. | |
6783 | (thread_db_new_objfile): Do not call target_new_objfile_chain. | |
6784 | (_initialize_thread_db): Use observer_attach_new_objfile. | |
6785 | * sol-thread.c: Include "observer.h". | |
6786 | (target_new_objfile_chain): Remove. | |
6787 | (sol_thread_new_objfile): Make static. Do not call | |
6788 | target_new_objfile_chain. | |
6789 | (_initialize_sol_thread): Use observer_attach_new_objfile. | |
6790 | * Makefile.in (aix-thread.o, hpux-thread.o, linux-thread-db.o, | |
6791 | rs6000-nat.o, sol-thread.o, tui-hooks.o): Add dependency on | |
6792 | $(observer_h). | |
6793 | ||
93ce7684 UW |
6794 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6795 | ||
6796 | * gdbarch.sh (remote_translate_xfer_address): Remove. | |
6797 | * gdbarch.h, gdbarch.c: Regenerate. | |
6798 | * arch-utils.c (generic_remote_translate_xfer_address): Remove. | |
6799 | * arch-utils.h (generic_remote_translate_xfer_address): Remove. | |
6800 | * remote.c (remote_write_bytes_aux, remote_read_bytes): Do not | |
6801 | call gdbarch_remote_translate_xfer_address. | |
6802 | * frv-tdep.c (frv_gdbarch_init): Do not call | |
6803 | set_gdbarch_remote_translate_xfer_address. | |
6804 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Remove. | |
6805 | (ia64_gdbarch_init): Do not install it. | |
6806 | ||
a6ec25f2 BW |
6807 | 2007-05-11 Bob Wilson <bob.wilson@acm.org> |
6808 | ||
6809 | * NEWS: Mention change in handling the -tui option. | |
6810 | ||
2ef52e77 DJ |
6811 | 2007-05-11 Daniel Jacobowitz <dan@codesourcery.com> |
6812 | ||
6813 | * linux-thread-db.c (enable_thread_event_reporting): Fix comment | |
6814 | typo. | |
6815 | ||
1aafd4da UW |
6816 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
6817 | ||
6818 | * breakpoint.c (single_step_breakpoint_inserted_here_p): New function. | |
6819 | (breakpoint_inserted_here_p): Call it. | |
6820 | (software_breakpoint_inserted_here_p): Likewise. | |
6821 | ||
7714d83a UW |
6822 | 2007-05-10 Ulrich Weigand <uweigand@de.ibm.com> |
6823 | ||
6824 | * inf-ptrace.c (inf_ptrace_register_u_offset): Adapt parameter list. | |
6825 | (inf_ptrace_fetch_register): Add register_u_offset callback parameters | |
6826 | GDBARCH and STORE_P. Handle callback (CORE_ADDR) -1 return value. | |
6827 | (inf_ptrace_store_register): Likewise. | |
6828 | (inf_ptrace_trad_target): Adapt register_u_offset parameter list. | |
6829 | * inf-ptrace.h (inf_ptrace_trad_target): Likewise. | |
6830 | ||
6831 | * vax-nat.c (vax_register_u_offset): Adapt parameter list. | |
6832 | ||
6833 | * linux-nat.c (linux_trad_target): Adapt parameter list. | |
6834 | * linux-nat.h (linux_trad_target): Likewise. | |
6835 | ||
6836 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Adapt parameters. | |
6837 | ||
6838 | * mips-linux-nat.c (mips_linux_cannot_fetch_register): Remove. | |
6839 | (mips_linux_cannot_store_register): Likewise. | |
6840 | (mips_linux_register_addr): Add GDBARCH and STORE_P parameters. | |
6841 | Return (CORE_ADDR) -1 for registers that cannot be fetched or | |
6842 | stored via ptrace. Use GDBARCH instead of current_gdbarch. | |
6843 | (mips64_linux_register_addr): Likewise. | |
6844 | (mips_linux_register_u_offset): Adapt parameter list. Pass | |
6845 | GDBARCH and STORE_P on to mips{64}_linux_register_addr. | |
6846 | ||
6847 | * config/mips/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
6848 | * config/mips/nm-linux.h: Delete file. | |
6849 | ||
4ddda9b5 PA |
6850 | 2007-05-10 Pedro Alves <pedro_alves@portugalmail.pt> |
6851 | ||
6852 | * remote.c (remote_detach): Error out if remote can't detach. | |
6853 | ||
24d45690 UW |
6854 | 2007-05-10 Luis Machado <luisgpm@br.ibm.com> |
6855 | ||
362f854e PA |
6856 | * rs6000-tdep.c: (deal_with_atomic_sequence) Stores branch |
6857 | instruction's opcode in the "opcode" variable and declares new | |
6858 | variable "closing_insn". | |
24d45690 | 6859 | |
1430be3e MR |
6860 | 2007-05-10 Chris Dearman <chris@mips.com> |
6861 | Maciej W. Rozycki <macro@mips.com> | |
6862 | ||
6863 | * cli/cli-setshow.c (do_setshow_command): Remove trailing | |
6864 | whitespace when setting a var_filename. | |
6865 | ||
b0da54f1 BW |
6866 | 2007-05-09 Bob Wilson <bob.wilson@acm.org> |
6867 | ||
6868 | * main.c (captured_main): Recognize -tui option and print an error | |
6869 | message when the TUI is not configured. | |
6870 | ||
9a88e5ee AS |
6871 | 2007-05-09 Andreas Schwab <schwab@suse.de> |
6872 | ||
6873 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't | |
6874 | set removed members. | |
6875 | (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. | |
6876 | ||
fc0d8df4 UW |
6877 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
6878 | ||
6879 | * gdbarch.sh (deprecated_store_struct_return): Remove. | |
6880 | * gdbarch.c, gdbarch.h: Regenerate. | |
6881 | * frv-tdep.c (frv_store_struct_return): Remove. | |
6882 | (frv_gdbarch_init): Do not install it. | |
6883 | ||
179101d6 UW |
6884 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
6885 | ||
6886 | * config/i386/nm-i386sol2.h (USE_PROC_FS): Do not define. | |
6887 | * config/mips/nm-irix5.h (USE_PROC_FS): Do not define. | |
6888 | * config/nm-linux.h (USE_PROC_FS): Do not undefine. | |
6889 | ||
b9efddcd UW |
6890 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
6891 | ||
6892 | * spu-linux-nat.c: Include "gdb_stdint.h". | |
6893 | (fetch_ppc_register): Use uint64_t instead of unsigned long long. | |
6894 | (fetch_ppc_memory_1, store_ppc_memory_1): Likewise. | |
6895 | (fetch_ppc_memory, store_ppc_memory): Fix coding style. | |
6896 | (spu_symbol_file_add_from_memory): Use strtoulst instead of sscanf. | |
6897 | (spu_child_wait): Mark up string for translation. | |
6898 | ||
ce5eab59 UW |
6899 | 2007-05-08 Paul Gilliam <pgilliam@us.ibm.com> |
6900 | Luis Machado <luisgpm@br.ibm.com> | |
6901 | ||
6902 | * rs6000-tdep.c: (LWARX_MASK, LWARX_INSTRUCTION, LDARX_INSTRUCTION, | |
6903 | STWCX_MASK, STWCX_INSTRUCTION, STDCX_INSTRUCTION, BC_MASK, | |
6904 | BC_INSTRUCTION): Define. | |
6905 | (deal_with_atomic_sequence): New function. | |
6906 | (rs6000_software_single_step): Call deal_with_atomic_sequence. | |
6907 | (rs6000_gdbarch_init): Install deal_with_atomic_sequence as | |
6908 | gdbarch_software_single_step routine. | |
6909 | ||
4179a487 UW |
6910 | 2007-05-07 Ulrich Weigand <uweigand@de.ibm.com> |
6911 | ||
6912 | * spu-linux-nat.c (fetch_ppc_register, fetch_ppc_memory_1, | |
6913 | store_ppc_memory_1, fetch_ppc_memory, store_ppc_memory, | |
6914 | parse_spufs_run, spu_bfd_iovec_pread, spu_bfd_open, | |
6915 | spu_symbol_file_add_from_memory, spu_child_post_startup_inferior, | |
6916 | spu_child_post_attach, spu_fetch_inferior_registers, | |
6917 | spu_store_inferior_registers, spu_xfer_partial): Store PPE-side | |
6918 | memory addresses as ULONGEST, not CORE_ADDR. | |
6919 | ||
6d350bb5 UW |
6920 | 2007-05-07 Ulrich Weigand <uweigand@de.ibm.com> |
6921 | ||
6922 | * gdbarch.sh: Add skip_permanent_breakpoint callback. | |
6923 | * gdbarch.h, gdbarch.c: Regenerate. | |
6924 | ||
6925 | * infrun.c (SKIP_PERMANENT_BREAKPOINT): Remove default definition. | |
6926 | (resume): Call gdbarch_skip_permanent_breakpoint instead of | |
6927 | SKIP_PERMANENT_BREAKPOINT. Inline default case. | |
6928 | ||
6929 | * hppa-hpux-tdep.c (hppa_skip_permanent_breakpoint): Make static. | |
6930 | Add REGCACHE argument. Use it instead of read/write_register. | |
6931 | (hppa_hpux_init_abi): Install hppa_skip_permanent_breakpoint. | |
6932 | ||
6933 | * config/pa/tm-hppah.h: Delete file. | |
6934 | * config/pa/hppa64.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h. | |
6935 | * config/pa/hppahpux.mt (DEPRECATED_TM_FILE): Likewise. | |
6936 | ||
b18be20d DJ |
6937 | 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com> |
6938 | ||
6939 | * Makefile.in (c-lang.o, gnu-v3-abi.o): Update. | |
6940 | * NEWS: Mention improved C++ thunk support. | |
6941 | * c-lang.c (cplus_language_defn): Mention cplus_skip_trampoline. | |
6942 | * cp-abi.c (cplus_skip_trampoline): New. | |
6943 | * cp-abi.h (cplus_skip_trampoline): New prototype. | |
6944 | (struct cp_abi_ops): Add skip_trampoline member. | |
6945 | * gnu-v3-abi.c (gnuv3_skip_trampoline): New. | |
6946 | (init_gnuv3_ops): Set skip_trampoline. | |
6947 | ||
dda9b909 DJ |
6948 | 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com> |
6949 | ||
6950 | * rs6000-tdep.c (struct frame_extra_info): Delete. | |
6951 | ||
34091d9b DJ |
6952 | 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com> |
6953 | ||
6954 | * linux-thread-db.c: Update some FIXME comments. | |
6955 | (thread_db_xfer_partial): Delete. | |
6956 | (init_thread_db_ops): Do not set to_xfer_partial. | |
6957 | ||
1da33a4a UW |
6958 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
6959 | ||
6960 | * inftarg.c, infptrace.c: Remove files. | |
6961 | * Makefile.in (ALLDEPFILES): Remove inftarg.c and infptrace.c | |
6962 | (inftarg.o, infptrace.o): Remove rules. | |
6963 | * gdbcore.h (register_addr): Remove prototype. | |
6964 | * inferior.h (kill_inferior, store_inferior_registers, | |
6965 | fetch_inferior_registers, attach, detach, ptrace_wait, child_resume, | |
6966 | call_ptrace, pre_fork_inferior): Remove prototypes. | |
6967 | * target.h (child_xfer_memory, child_pid_to_exec_file, | |
6968 | child_core_file_to_sym_file, child_post_attach, | |
6969 | child_post_startup_inferior, child_acknowledge_created_inferior, | |
6970 | child_insert_fork_catchpoint, child_remove_fork_catchpoint, | |
6971 | child_insert_vfork_catchpoint, child_remove_vfork_catchpoint, | |
6972 | child_insert_exec_catchpoint, child_remove_exec_catchpoint, | |
6973 | child_follow_fork, child_reported_exec_events_per_exec_call, | |
6974 | child_has_exited, child_thread_alive): Remove prototypes. | |
6975 | ||
6f7a27d5 UW |
6976 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
6977 | ||
6978 | * sparc-nat.h (sparc_fetch_inferior_registers): Add prototype. | |
6979 | (sparc_store_inferior_registers): Likewise. | |
6980 | * sparc-nat.c (fetch_inferior_registers): Rename to ... | |
6981 | (sparc_fetch_inferior_registers): ... this. | |
6982 | (store_inferior_registers): Rename to ... | |
6983 | (sparc_store_inferior_registers): ... this. | |
6984 | (sparc_target): Update callback names. | |
6985 | * sparc-linux.nat.c (_initialize_sparc_linux_nat): Likewise. | |
6986 | * sparc64-linux.nat.c (_initialize_sparc64_linux_nat): Likewise. | |
6987 | ||
6d8fd2b7 UW |
6988 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
6989 | ||
6990 | * linux-nat.c (child_post_attach): Rename to ... | |
6991 | (linux_child_post_attach): ... this. Make static. | |
6992 | (child_follow_fork): Rename to ... | |
6993 | (linux_child_follow_fork): ... this. Make static. | |
6994 | (child_insert_fork_catchpoint): Rename to ... | |
6995 | (linux_child_insert_fork_catchpoint): ... this. Make static. | |
6996 | (child_insert_vfork_catchpoint): Rename to ... | |
6997 | (linux_child_insert_vfork_catchpoint): ... this. Make static. | |
6998 | (child_insert_exec_catchpoint): Rename to ... | |
6999 | (linux_child_insert_exec_catchpoint): ... this. Make static. | |
7000 | (child_pid_to_exec_file): Rename to ... | |
7001 | (linux_child_pid_to_exec_file): ... this. Make static. | |
7002 | Add prototype. | |
7003 | (linux_handle_extended_wait): Update call. | |
7004 | (linux_xfer_partial): Update callback routine names. | |
7005 | ||
d08950c4 UW |
7006 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7007 | ||
7008 | * configure.host (alpha*-*-osf[12]*): Remove support. | |
7009 | * NEWS: Mention removed configurations. | |
7010 | ||
7011 | * config/alpha/alpha-osf1.mh: Delete file. | |
7012 | * config/alpha/alpha-osf2.mh: Delete file. | |
7013 | * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove inftarg.o | |
7014 | and infptrace.o. | |
7015 | * config/alpha/nm-osf.h: Delete file. | |
7016 | * config/alpha/nm-osf2.h: Delete file. | |
7017 | * config/alpha/nm-osf3.h: Do not include "nm-osf2.h". | |
7018 | (START_INFERIOR_TRAPS_EXPECTED): Copy from nm-osf.h. | |
7019 | (PROCFS_DONT_TRACE_FAULTS): Copy from nm-osf2.h. | |
7020 | ||
7021 | * alpha-nat.c (ALPHA_UNIQUE_PTRACE_ADDR): Do not define. | |
7022 | (register_addr, kernel_u_size): Remove. | |
7023 | Do not check for "defined(USE_PROC_FS) || defined(HAVE_GREGSET_T)". | |
7024 | ||
9c5ea4d9 UW |
7025 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7026 | ||
7027 | * regcache.c (regcache_invalidate): New function. | |
7028 | (register_cached): Remove. | |
7029 | (set_register_cached): Remove. | |
7030 | (deprecated_registers_fetched): Remove. | |
7031 | (registers_changed): Use regcache_invalidate instead | |
7032 | of set_register_cached. | |
7033 | (regcache_raw_read): Update comment. | |
7034 | ||
7035 | * regcache.h (regcache_invalidate): Add prototype. | |
7036 | (register_cached): Remove. | |
7037 | (set_register_cached): Remove. | |
7038 | (deprecated_registers_fetched): Remove. | |
7039 | ||
7040 | * findvar.c (value_of_register): Do not call register_cached. | |
7041 | * frame.c (frame_register): Likewise. | |
7042 | * tui/tui-regs.c (tui_get_register): Likewise. | |
7043 | ||
7044 | * remote.c (fetch_register_using_p): Do not call set_register_cached. | |
7045 | (process_g_packet): Likewise. | |
7046 | (remote_fetch_registers): Likewise. | |
7047 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
7048 | * mt-tdep.c (mt_select_coprocessor): Replace set_register_cached call | |
7049 | by regcache_invalidate. | |
7050 | (mt_pseudo_register_write): Likewise. | |
7051 | * sh-tdep.c (sh_pseudo_register_write): Likewise. | |
7052 | ||
7053 | * corelow.c (get_core_registers): Replace deprecated_registers_fetched | |
7054 | call by loop over regcache_raw_supply (..., NULL). | |
7055 | ||
316f2060 UW |
7056 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7057 | ||
7058 | * target.h (struct target_ops): Add REGCACHE parameter to | |
7059 | to_prepare_to_store. | |
7060 | (target_prepare_to_store): Likewise. | |
7061 | * target.c (debug_to_prepare_to_store): Add REGCACHE parameter. | |
7062 | (update_current_target): Adapt prepare_to_store de_fault rule. | |
7063 | ||
7064 | * regcache.c (regcache_raw_write): Pass regcache to | |
7065 | target_prepare_to_store. | |
7066 | ||
7067 | * inftarg.c (child_prepare_to_store): Add REGCACHE parameter. | |
7068 | Do not call CHILD_PREPARE_TO_STORE. | |
7069 | * gnu-nat.c (gnu_prepare_to_store): Likewise. | |
7070 | * procfs.c (procfs_prepare_to_store): Likewise. | |
7071 | ||
7072 | * inf-child.c (inf_child_prepare_to_store): Add REGCACHE parameter. | |
7073 | * go32-nat.c (go32_prepare_to_store): Likewise. | |
7074 | * monitor.c (monitor_prepare_to_store): Likewise. | |
7075 | * nto-procfs.c (procfs_prepare_to_store): Likewise. | |
7076 | * remote-m32r-sdi.c (m32r_prepare_to_store): Likewise. | |
7077 | * remote-mips.c (mips_prepare_to_store): Likewise. | |
7078 | * remote-sim.c (gdbsim_prepare_to_store): Likewise. | |
7079 | * win32-nat.c (win32_prepare_to_store): Likewise. | |
7080 | ||
7081 | * remote.c (remote_prepare_to_store): Add REGCACHE parameter. | |
7082 | Use it instead of current_regcache. | |
7083 | ||
7084 | * hpux-thread.c (hpux_thread_prepare_to_store): Add REGCACHE | |
7085 | parameter. Pass it on to next target. | |
7086 | * sol-thread.c (sol_thread_prepare_to_store): Likewise. | |
7087 | ||
56be3814 UW |
7088 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7089 | ||
7090 | * target.h (struct regcache): Add forward declaration. | |
7091 | (struct target_ops): Add REGCACHE parameter to to_fetch_registers | |
7092 | and to_store_registers target operations. | |
7093 | (target_fetch_registers, target_store_registers): Update. | |
7094 | ||
7095 | * regcache.c (regcache_raw_read): Replace register_cached by | |
7096 | regcache_valid_p. Pass regcache to target_fetch_registers. | |
7097 | (regcache_raw_write): Pass regcache to target_store_registers. | |
7098 | ||
7099 | * arm-linux-nat.c (store_fpregister, store_fpregs, store_register, | |
7100 | store_regs, store_wmmx_regs): Replace register_cached by | |
7101 | regcache_valid_p. | |
7102 | ||
7103 | * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd): Pass current_regcache | |
7104 | to target_fetch_registers calls. | |
7105 | * corelow.c (core_open): Likewise. | |
7106 | * linux-nat.c (linux_nat_corefile_thread_callback): Likewise. | |
7107 | * proc-service.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs, | |
7108 | ps_lsetfpregs): Likewise. | |
7109 | * sol-thread.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs, | |
7110 | ps_lsetfpregs): Likewise. | |
7111 | * win32-nat.c (win32_resume): Likewise. | |
7112 | * ia64-tdep.c (ia64_store_return_value): Pass current_regcache | |
7113 | to target_store_registers call. | |
7114 | * rs6000-tdep.c (rs6000_push_dummy_call): Likewise. | |
7115 | ||
7116 | * inferior.h (store_inferior_registers): Update prototype. | |
7117 | (fetch_inferior_registers): Likewise. | |
7118 | * gnu-nat.c (gnu_store_registers, gnu_fetch_registers): Likewise. | |
7119 | * mips-linux-nat.c (super_fetch_registers, super_store_registers): | |
7120 | Update function pointer signatures. | |
7121 | ||
7122 | * aix-thread.c (aix_thread_fetch_registers): Add REGCACHE parameter, | |
7123 | use it instead of current_regcache, update calls. | |
7124 | (aix_thread_store_registers): Likewise. | |
7125 | * alphabsd-nat.c (alphabsd_fetch_inferior_registers): Likewise. | |
7126 | (alphabsd_store_inferior_registers): Likewise. | |
7127 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Likewise. | |
7128 | (amd64bsd_store_inferior_registers): Likewise. | |
7129 | * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Likewise. | |
7130 | (amd64_linux_store_inferior_registers): Likewise. | |
7131 | * arm-linux-nat.c (fetch_fpregister, fetch_fpregs, store_fpregister, | |
7132 | store_fpregs, fetch_register, fetch_regs, store_register, store_regs, | |
7133 | fetch_wmmx_regs, store_wmmx_regs): Likewise. | |
7134 | (arm_linux_fetch_inferior_registers): Likewise. | |
7135 | (arm_linux_store_inferior_registers): Likewise. | |
7136 | * armnbsd-nat.c (fetch_register, fetch_regs, fetch_fp_register, | |
7137 | fetch_fp_regs, armnbsd_fetch_registers): Likewise. | |
7138 | (store_register, store_regs, store_fp_register, store_fp_regs, | |
7139 | armnbsd_store_registers): Likewise. | |
7140 | * bsd-kvm.c (bsd_kvm_fetch_pcb, bsd_kvm_fetch_registers): Likewise. | |
7141 | * bsd-uthread.c (bsd_uthread_fetch_registers): Likewise. | |
7142 | (bsd_uthread_store_registers): Likewise. | |
7143 | * corelow.c (get_core_registers): Likewise. | |
7144 | * go32-nat.c (fetch_register, go32_fetch_registers, store_register, | |
7145 | go32_store_registers): Likewise. | |
7146 | * hppabsd-nat.c (hppabsd_fetch_registers): Likewise. | |
7147 | (hppabsd_store_registers): Likewise. | |
7148 | * hppa-hpux-nat.c (hppa_hpux_fetch_register): Likewise. | |
7149 | (hppa_hpux_fetch_inferior_registers): Likewise. | |
7150 | (hppa_hpux_store_register): Likewise. | |
7151 | (hppa_hpux_store_inferior_registers): Likewise. | |
7152 | * hppa-linux-nat.c (fetch_register, store_register): Likewise. | |
7153 | (hppa_linux_fetch_inferior_registers): Likewise. | |
7154 | (hppa_linux_store_inferior_registers): Likewise. | |
7155 | * hpux-thread.c (hpux_thread_fetch_registers): Likewise. | |
7156 | (hpux_thread_store_registers): Likewise. | |
7157 | * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Likewise. | |
7158 | (i386bsd_store_inferior_registers): Likewise. | |
7159 | * i386gnu-nat.c (fetch_fpregs, gnu_fetch_registers, store_fpregs, | |
7160 | gnu_store_registers): Likewise. | |
7161 | * i386-linux-nat.c (fetch_register, store_register, fetch_regs, | |
7162 | store_regs, fetch_fpregs, store_fpregs, fetch_fpxregs, store_fpxregs): | |
7163 | Likewise. | |
7164 | (i386_linux_fetch_inferior_registers): Likewise. | |
7165 | (i386_linux_store_inferior_registers): Likewise. | |
7166 | * ia64-linux-nat.c (ia64_linux_fetch_register): Likewise. | |
7167 | (ia64_linux_fetch_registers): Likewise. | |
7168 | (ia64_linux_store_register): Likewise. | |
7169 | (ia64_linux_store_registers): Likewise. | |
7170 | * inf-child.c (inf_child_fetch_inferior_registers): Likewise. | |
7171 | (inf_child_store_inferior_registers): Likewise. | |
7172 | * inf-ptrace.c (inf_ptrace_fetch_register): Likewise. | |
7173 | (inf_ptrace_fetch_registers): Likewise. | |
7174 | (inf_ptrace_store_register): Likewise. | |
7175 | (inf_ptrace_store_registers): Likewise. | |
7176 | * infptrace.c (fetch_register, store_register): Likewise. | |
7177 | (fetch_inferior_registers, store_inferior_registers): Likewise. | |
7178 | * m32r-linux-nat.c (fetch_regs, store_regs): Likewise. | |
7179 | (m32r_linux_fetch_inferior_registers): Likewise. | |
7180 | (m32r_linux_store_inferior_registers): Likewise. | |
7181 | * m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Likewise. | |
7182 | (m68kbsd_store_inferior_registers): Likewise. | |
7183 | * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers, | |
7184 | store_register, old_store_inferior_registers, fetch_regs, store_regs, | |
7185 | fetch_fpregs, store_fpregs): Likewise. | |
7186 | (m68k_linux_fetch_inferior_registers): Likewise. | |
7187 | (m68k_linux_store_inferior_registers): Likewise. | |
7188 | * m88kbsd-nat.c (m88kbsd_fetch_inferior_registers): Likewise. | |
7189 | (m88kbsd_store_inferior_registers): Likewise. | |
7190 | * mips64obsd-nat.c (mips64obsd_fetch_inferior_registers): Likewise. | |
7191 | (mips64obsd_store_inferior_registers): Likewise. | |
7192 | * mips-linux-nat.c (mips64_linux_regsets_fetch_registers): Likewise. | |
7193 | (mips64_linux_regsets_store_registers): Likewise. | |
7194 | (mips64_linux_fetch_registers): Likewise. | |
7195 | (mips64_linux_store_registers): Likewise. | |
7196 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers): Likewise. | |
7197 | (mipsnbsd_store_inferior_registers): Likewise. | |
7198 | * monitor.c (monitor_fetch_register, monitor_store_register): Likewise. | |
7199 | (monitor_fetch_registers, monitor_store_registers): Likewise. | |
7200 | * nto-procfs.c (procfs_fetch_registers): Likewise. | |
7201 | (procfs_store_registers): Likewise. | |
7202 | * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register, | |
7203 | fetch_register, supply_vrregset, fetch_altivec_registers, | |
7204 | fetch_ppc_registers, ppc_linux_fetch_inferior_registers): Likewise. | |
7205 | (store_altivec_register, store_spe_register, store_register, | |
7206 | fill_vrregset, store_altivec_registers, store_ppc_registers, | |
7207 | ppc_linux_store_inferior_registers): Likewise. | |
7208 | * ppcnbsd-nat.c (ppcnbsd_fetch_inferior_registers): Likewise. | |
7209 | (ppcnbsd_store_inferior_registers): Likewise. | |
7210 | * ppcobsd-nat.c (ppcobsd_fetch_registers): Likewise. | |
7211 | (ppcobsd_store_registers): Likewise. | |
7212 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
7213 | * remote.c (fetch_register_using_p, process_g_packet, | |
7214 | fetch_registers_using_g, remote_fetch_registers): Likewise. | |
7215 | (store_register_using_P, store_registers_using_G, | |
7216 | remote_store_registers): Likewise. | |
7217 | * remote-m32r-sdi.c (m32r_fetch_registers, m32r_fetch_register, | |
7218 | m32r_store_register, m32r_store_register): Likewise. | |
7219 | * remote-mips.c (mips_fetch_registers, mips_store_registers): Likewise. | |
7220 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
7221 | (gdbsim_store_register): Likewise. | |
7222 | * rs6000-nat.c (fetch_register, store_register): Likewise. | |
7223 | (rs6000_fetch_inferior_registers): Likewise. | |
7224 | (rs6000_store_inferior_registers): Likewise. | |
7225 | * s390-nat.c (fetch_regs, store_regs): Likewise. | |
7226 | (fetch_fpregs, store_fpregs): Likewise. | |
7227 | (s390_linux_fetch_inferior_registers): Likewise. | |
7228 | (s390_linux_store_inferior_registers): Likewise. | |
7229 | * shnbsd-nat.c (shnbsd_fetch_inferior_registers): Likewise. | |
7230 | (shnbsd_store_inferior_registers): Likewise. | |
7231 | * sol-thread.c (sol_thread_fetch_registers): Likewise. | |
7232 | (sol_thread_store_registers): Likewise. | |
7233 | * sparc-nat.c (fetch_inferior_registers): Likewise. | |
7234 | (store_inferior_registers): Likewise. | |
7235 | * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise. | |
7236 | (spu_store_inferior_registers): Likewise. | |
7237 | * target.c (debug_print_register): Likewise. | |
7238 | (debug_to_fetch_registers, debug_to_store_registers): Likewise. | |
7239 | * vaxbsd-nat.c (vaxbsd_fetch_inferior_registers): Likewise. | |
7240 | (vaxbsd_store_inferior_registers): Likewise. | |
7241 | * win32-nat.c (do_win32_fetch_inferior_registers): Likewise. | |
7242 | (win32_fetch_inferior_registers): Likewise. | |
7243 | (win32_store_inferior_registers): Likewise. | |
7244 | ||
9eefc95f UW |
7245 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7246 | ||
7247 | * gdbcore.h (struct regcache): Add forward declaration. | |
7248 | (struct core_fns): Add REGCACHE argument to core_read_registers | |
7249 | callback. | |
7250 | * corelow.c (get_core_register_section): Add REGCACHE argument, | |
7251 | use it instead of current_regcache, pass it to core_read_registers | |
7252 | callback. | |
7253 | (get_core_registers): Add current_regcache as parameter to | |
7254 | get_core_register_section calls. | |
7255 | ||
7256 | * alpha-nat.c (fetch_osf_core_registers): Add REGCACHE argument, | |
7257 | use it instead of current_regcache. | |
7258 | * armnbsd-nat.c (fetch_core_registers): Likewise. | |
7259 | (fetch_elfcore_registers): Likewise. | |
7260 | * core-regset.c (fetch_core_registers): Likewise. | |
7261 | * cris-tdep.c (fetch_core_registers): Likewise. | |
7262 | * irix5-nat.c (fetch_core_registers): Likewise. | |
7263 | * m68klinux-nat.c (fetch_core_registers): Likewise. | |
7264 | * mips-linux-tdep.c (fetch_core_registers): Likewise. | |
7265 | * win32-nat.c (fetch_elf_core_registers): Likewise. | |
7266 | ||
7f7fe91e UW |
7267 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7268 | ||
7269 | * gregset.h (struct regcache): Add forward declaration. | |
7270 | (supply_gregset): Add REGCACHE parameter, make GREGS const. | |
7271 | (supply_fpregset): Add REGCACHE parameter, make FPREGS const. | |
7272 | (supply_fpxregset): Add REGCACHE parameter, make FPXREGS const. | |
7273 | (fill_gregset): Add REGCACHE parameter. | |
7274 | (fill_fpregset): Likewise. | |
7275 | (fill_fpxregset): Likewise. | |
7276 | ||
7277 | Update all definitions accordingly: | |
7278 | * alphabsd-nat.c, alpha-linux-nat.c, alpha-nat.c, amd64-linux-nat.c, | |
7279 | arm-linux-nat.c, hppa-linux-nat.c, i386gnu-nat.c, i386-linux-nat.c, | |
7280 | i386-sol2-nat.c, i386v4-nat.c, ia64-linux-nat.c, irix5-nat.c, | |
7281 | m32r-linux-nat.c, m68klinux-nat.c, mips-linux-nat.c, ppc-linux-nat.c, | |
7282 | s390-nat.c, sparc64-linux-nat.c, sparc-linux-nat.c, sparc-sol2-nat.c | |
7283 | (supply_gregset): Add REGCACHE parameter, use it instead of | |
7284 | current_regcache. Make GREGSETP parameter const, adapt casts. | |
7285 | (supply_fpregset): Add REGCACHE parameter, use it instead of | |
7286 | current_regcache. Make FPREGSETP parameter const, adapt casts. | |
7287 | (fill_gregset): Add REGCACHE parameter, use it instead of | |
7288 | current_regcache. | |
7289 | (fill_fpregset): Likewise. | |
7290 | ||
7291 | Update all callers to pass in current_regcache as the new argument: | |
7292 | * core-regset.c: Include "regcache.h". | |
7293 | (fetch_core_registers): Update supply_gregset,and supply_fpregset calls. | |
7294 | * procfs.c: Include "regcache.h". | |
7295 | (procfs_fetch_registers): Update supply_gregset, supply_fpregset calls. | |
7296 | (procfs_store_registers): Update fill_gregset, fill_fpregset calls. | |
7297 | (procfs_do_thread_registers): Likewise. | |
7298 | (procfs_make_note_section): Likewise. | |
7299 | * proc-service.c: Include "regcache.h". | |
7300 | (ps_lgetregs): Update fill_gregset call. | |
7301 | (ps_lsetregs): Update supply_gregset call. | |
7302 | (ps_lgetfpregs): Update fill_fpregset call. | |
7303 | (ps_lsetfpregs): Update supply_fpregset call. | |
7304 | * sol-thread.c (sol_thread_fetch_registers): Update supply_gregset, | |
7305 | supply_fpregset calls. | |
7306 | (sol_thread_store_registers): Update fill_gregset, fill_fpregset calls. | |
7307 | (ps_lgetregs): Update fill_gregset call. | |
7308 | (ps_lsetregs): Update supply_gregset call. | |
7309 | (ps_lgetfpregs): Update fill_fpregset call. | |
7310 | (ps_lsetfpregs): Update supply_fpregset call. | |
7311 | ||
7312 | * linux-nat.c (linux_nat_do_thread_registers): Update fill_gregset, | |
7313 | fill_fpregset, and fill_fpxregset calls. | |
7314 | * i386-linux-nat.c (fetch_regs): Update supply_gregset call. | |
7315 | (store_regs): Update fill_gregset call. | |
7316 | (fetch_fpregs): Update supply_fpregset call. | |
7317 | (store_fpregs): Update fill_fpregset call. | |
7318 | (fetch_fpxregs): Update supply_fpxregset call. | |
7319 | (store_fpxregs): Update fill_fpxregset call. | |
7320 | * m32r-linux-nat.c (fetch_regs): Update supply_gregset call. | |
7321 | (store_regs): Update fill_gregset call. | |
7322 | * m68klinux-nat.c (fetch_regs): Update supply_gregset call. | |
7323 | (store_regs): Update fill_gregset call. | |
7324 | (fetch_fpregs): Update supply_fpregset call. | |
7325 | (store_fpregs): Update fill_fpregset call. | |
7326 | (fetch_core_registers): Update supply_gregset, supply_fpregset calls. | |
7327 | * s390-nat.c (fetch_regs): Update supply_gregset call. | |
7328 | (store_regs): Update fill_gregset call. | |
7329 | (fetch_fpregs): Update supply_fpregset call. | |
7330 | (store_fpregs): Update fill_fpregset call. | |
7331 | ||
7332 | * Makefile.in (core-regset.o, procfs.o, proc-service.o): Update | |
7333 | dependencies. | |
7334 | ||
c410a84c UW |
7335 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7336 | ||
7337 | * monitor.c (monitor_supply_register): Add REGCACHE parameter, use | |
7338 | it instead of current_regcache. | |
7339 | (parse_register_dump): Add REGCACHE parameter, pass it to | |
7340 | supply_register callback. | |
7341 | (monitor_dump_reg_block): Add REGCACHE parameter, pass it to | |
7342 | parse_register_dump. | |
7343 | (monitor_dump_regs): Add REGCACHE parameter, pass it to | |
7344 | parse_register_dump and dumpregs callback. | |
7345 | (monitor_wait): Pass current_regcache to parse_register_dump and | |
7346 | monitor_dump_regs. | |
7347 | (monitor_fetch_register): Pass current_regcache to | |
7348 | monitor_supply_register. | |
7349 | (monitor_fetch_registers): Pass current_regcache to | |
7350 | monitor_dump_regs. | |
7351 | * monitor.h (struct monitor_ops): Add REGCACHE parameter to | |
7352 | supply_register and dumpregs callbacks. | |
7353 | (monitor_supply_register, monitor_dump_reg_block): Update | |
7354 | prototypes. | |
7355 | * dbug-rom.c (dbug_supply_register): Add REGCACHE parameter. Pass | |
7356 | it to monitor_supply_register. | |
7357 | * dink32-rom.c (dink32_supply_register): Likewise. | |
7358 | * ppcbug-rom.c (ppcbug_supply_register): Likewise. | |
7359 | * m32r-rom.c (m32r_supply_register): Likewise. Also, use REGCACHE | |
7360 | instead of current_regcache. | |
7361 | ||
468e3d51 UW |
7362 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7363 | ||
7364 | * i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset): | |
7365 | Add REGCACHE parameter. Use it instead of current_regcache. | |
7366 | (i386nto_supply_regset): Add REGCACHE parameter, pass it to | |
7367 | i386nto_supply_gregset and i386nto_supply_fpregset. | |
7368 | (i386nto_regset_fill): Add REGCACHE parameter; use it instead | |
7369 | of current_regcache. | |
7370 | ||
7371 | * nto-procfs.c (procfs_fetch_registers): Pass current_regcache to | |
7372 | nto_supply_ helper functions. | |
7373 | (procfs_store_registers): Pass current_regcache to nto_regset_fill. | |
7374 | ||
7375 | * nto-tdep.c (nto_dummy_supply_regset): Add REGCACHE parameter. | |
7376 | ||
7377 | * nto-tdep.h (struct nto_target_ops): Add REGCACHE parameter to | |
7378 | supply_greget, supply_fpregset, supply_altregset, supply_regset, | |
7379 | and regset_fill member function pointers. | |
7380 | (nto_dummy_supply_regset): Adapt prototype. | |
7381 | ||
4e3269e3 UW |
7382 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7383 | ||
7384 | * shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it | |
7385 | instead of current_regcache. Make REGS const. | |
7386 | (shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache. | |
7387 | * shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update | |
7388 | prototypes. | |
7389 | * shnbsd-nat.c: Include "regcache.h". | |
7390 | (shnbsd_fetch_inferior_registers): Pass current_regcache to | |
7391 | shnbsd_supply_reg. | |
7392 | (shnbsd_store_inferior_registers): Pass current_regcache to | |
7393 | shnbsd_fill_reg. | |
7394 | * Makefile.in (shbsd-nat.o): Update dependencies. | |
7395 | ||
28f5035f UW |
7396 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7397 | ||
7398 | * mips-linux-tdep.c (supply_32bit_reg): Add REGCACHE parameter. Use it | |
7399 | instead of current_regcache. | |
7400 | (mips_supply_gregset): Likewise. Pass REGCACHE to supply_32bit_reg. | |
7401 | Make GREGSETP const, remove superfluous casts. | |
7402 | (mips_fill_gregset): Add REGCACHE parameter; replace current_regcache. | |
7403 | (mips_supply_fpregset): Likewise. Make FPREGSETP const, remove | |
7404 | superfluous casts. | |
7405 | (mips_fill_fpregset): Add REGCACHE parameter; replace current_regcache. | |
7406 | (supply_64bit_reg): Likewise | |
7407 | (mips64_supply_gregset): Likewise. Pass REGCACHE to supply_64bit_reg. | |
7408 | Make GREGSETP const, adapt casts accordingly. | |
7409 | (mips64_fill_gregset): Add REGCACHE parameter; replace current_regcache. | |
7410 | (mips64_supply_fpregset): Likewise. Make FPREGSET const, adapt | |
7411 | casts accordingly. | |
7412 | (mips64_fill_fpregset): Add REGCACHE parameter; replace current_regcache. | |
7413 | (fetch_core_registers): Pass current_regcache to mips{64}_(supply|fill)_ | |
7414 | helper routines. | |
7415 | * mips-linux-tdep.h (mips_supply_gregset, mips_fill_gregset, | |
7416 | mips_supply_fpregset, mips_fill_fpregset, mips64_supply_gregset, | |
7417 | mips64_fill_gregset, mips64_supply_fpregset, mips64_fill_fpregset): | |
7418 | Adapt prototypes. | |
7419 | * mips-linux-nat.c: Include "regcache.h". | |
7420 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass | |
7421 | current_regcache to mips{64}_(supply|fill)_ helper routines. | |
7422 | (mips64_linux_regsets_fetch_registers): Likewise. | |
7423 | (mips64_linux_regsets_store_registers): Likewise. | |
7424 | ||
7425 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): Add | |
7426 | REGCACHE argument; replace current_regcache. Make REGS const. | |
7427 | (mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Add REGCACHE argument; | |
7428 | replace current_regcache. | |
7429 | * mipsnbsd-tdep.h (ipsnbsd_supply_reg, mipsnbsd_supply_fpreg, | |
7430 | mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Adapt prototypes. | |
7431 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers, | |
7432 | mipsnbsd_store_inferior_registers): Pass current_regcache to | |
7433 | mipsnbsd_(supply|fill)_... helper routines. | |
7434 | ||
7435 | * Makefile.in (mips-linux-nat.o): Update dependencies. | |
7436 | ||
26144df5 UW |
7437 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7438 | ||
7439 | * i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove. | |
7440 | * i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes. | |
7441 | * i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace | |
7442 | i387_fill_fsave and i387_fill_fxsave calls by inline copies. | |
7443 | * i386-nto-tdep.c (i386nto_regset_fill): Likewise. | |
7444 | * i386gnu-nat.c (store_fpregs): Likewise. | |
7445 | * i386v4-nat.c (fill_fpregset): Likewise. | |
7446 | * go32-nat.c (store_register, go32_store_registers): Likewise. | |
7447 | ||
c6b4e5a2 UW |
7448 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7449 | ||
7450 | * cris-tdep.c (supply_gregset): Rename to ... | |
7451 | (cris_supply_gregset): ... this. Add REGCACHE parameter. Use it | |
7452 | instead of current_regcache. | |
7453 | (fetch_core_registers): Update call. Pass current_regcache. | |
7454 | ||
d683e2b7 UW |
7455 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7456 | ||
7457 | * arnmnbsd-nat.c (supply_gregset): Rename to ... | |
7458 | (arm_supply_gregset): ... this. Add REGCACHE parameter. | |
7459 | Use it instead of current_regcache. | |
7460 | (supply_fparegset): Rename to ... | |
7461 | (arm_supply_fparegset): ... this. Add REGCACHE parameter. | |
7462 | Use it instead of current_regcache. | |
7463 | (fetch_regs, fetch_fp_regs): Update calls. Pass current_regcache. | |
7464 | (fetch_core_registers, fetch_elfcore_registers): Likewise. | |
7465 | ||
390c1522 UW |
7466 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7467 | ||
7468 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs, | |
7469 | alpha_supply_fp_regs, alpha_fill_fp_regs): Add REGCACHE parameter, | |
7470 | use it instead of current_regcache. | |
7471 | * alpha-tdep.h (struct regcache): Add forward declaration. | |
7472 | (alpha_supply_int_regs, alpha_fill_int_regs, alpha_supply_fp_regs, | |
7473 | alpha_fill_fp_regs): Update prototypes. | |
7474 | ||
7475 | * alpha-nat.c: (supply_gregset, fill_gregset, supply_fpregset, | |
7476 | fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines. | |
7477 | * alpha-linux-nat.c: Include "regcache.h". | |
7478 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass | |
7479 | current_regcache to alpha_supply/fill_ routines. | |
7480 | ||
7481 | * alphabsd-tdep.c: Include "regcache.h". | |
7482 | (alphabsd_supply_reg, alphabsd_supply_fpreg): Add REGCACHE paramter, | |
7483 | pass it to alpha_supply_ routines. Make REGS const. | |
7484 | (alphabsd_fill_reg, alphabsd_fill_fpreg): Add REGCACHE parameter, | |
7485 | pass it to alpha_fill_ routines. | |
7486 | * alphabsd-tdep.h (struct regcache): Add forward declaration. | |
7487 | (alphabsd_supply_reg, alphabsd_fill_reg, alphabsd_supply_fpreg, | |
7488 | alphabsd_fill_fpreg): Update prototypes. | |
7489 | ||
7490 | * alphanbsd-nat.c (supply_gregset, fill_gregset, supply_fpregset, | |
7491 | fill_fpregset, alphabsd_fetch_inferior_registers, | |
7492 | alphabsd_store_inferior_registers): Pass current_regcache to | |
7493 | alphabsd_supply/fill_ routines. | |
7494 | ||
7495 | * Makefile.in (alpha-linux-nat.o, alphabsd-tdep.o): Update | |
7496 | dependencies. | |
7497 | ||
647478e0 UW |
7498 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7499 | ||
7500 | * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs, | |
7501 | supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it | |
7502 | instead of current_regcache. | |
7503 | (fetch_regs_user_thread, fetch_regs_kernel_thread): Add | |
7504 | REGCACHE parameter, pass it to supply_ routines. | |
7505 | (aix_thread_fetch_registers): Pass current_regcache to | |
7506 | fetch_regs_user_thread and fetch_regs_kernel_thread. | |
7507 | ||
7508 | (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32): | |
7509 | Add REGCACHE parameter, use it instead of current_regcache. | |
7510 | Call regcache_valid_p instead of register_cached. | |
7511 | (store_regs_user_thread, store_regs_kernel_thread): Likewise. | |
7512 | Also, pass REGCACHE to fill_ routines. | |
7513 | (aix_thread_store_registers): Pass current_regcache to | |
7514 | store_regs_user_thread and store_regs_kernel_thread. | |
7515 | ||
d817e083 UW |
7516 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7517 | ||
7518 | * m32r-linux-nat.c (supply_gregset): Do not modify contents | |
7519 | pointed to by GREGSETP. | |
7520 | ||
6a1872e4 UW |
7521 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
7522 | ||
7523 | * irix5-nat.c (fill_gregset): Use regcache_raw_collect instead | |
7524 | of regcache_raw_read_signed. | |
7525 | (fill_fpregset): Use regcache_raw_collect instead of | |
7526 | regcache_raw_read. | |
7527 | ||
6da397e0 KB |
7528 | 2007-05-03 Kevin Buettner <kevinb@redhat.com> |
7529 | ||
7530 | * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating | |
7531 | point arguments, test explicitly for use of the EABI32 ABI | |
7532 | instead of inferring this condition from tests on register | |
7533 | sizes. | |
7534 | ||
2219d63c KB |
7535 | 2007-05-03 Kevin Buettner <kevinb@redhat.com> |
7536 | ||
7537 | * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address | |
7538 | prior to allocating its location. | |
7539 | ||
2afd3f0a MR |
7540 | 2007-05-02 Maciej W. Rozycki <macro@mips.com> |
7541 | ||
7542 | * mips-tdep.c (mips_o32_push_dummy_call): Remove conditions | |
7543 | based on mips_abi_regsize() whose result is known in advance. | |
7544 | (mips_o64_push_dummy_call): Likewise. | |
7545 | ||
3e00823e UW |
7546 | 2007-04-29 Ulrich Weigand <uweigand@de.ibm.com> |
7547 | ||
7548 | * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check. | |
7549 | * m68k-tdep.c: Remove code within #ifdef USE_PROC_FS. | |
7550 | ||
7551 | * mips-linux-nat.c: Include "gregset.h". | |
7552 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move | |
7553 | from mips-linux-tdep.c. Change parameter type to gdb_gregset_t. | |
7554 | * mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset, | |
7555 | fill_fpregset): Move to mips-linux-nat.c. | |
7556 | ||
7557 | * Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies. | |
7558 | ||
81c4a259 UW |
7559 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
7560 | ||
7561 | * regcache.c (deprecated_read_register_gen): Remove, inline ... | |
7562 | (read_register): ... here. | |
7563 | (deprecated_write_register_gen): Remove, inline ... | |
7564 | (write_register): ... here. | |
7565 | * regcache.h (deprecated_read_register_gen): Remove prototype. | |
7566 | (deprecated_write_register_gen): Likewise. | |
7567 | ||
7568 | * remote-sim.c (gdbsim_store_register): Replace call to | |
7569 | deprecated_read_register_gen with regcache_cooked_read. | |
7570 | * target.c (debug_print_register): Replace calls to | |
7571 | deprecated_read_register_gen and read_register with | |
7572 | regcache_cooked_read. | |
7573 | ||
8bb42077 UW |
7574 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
7575 | ||
7576 | * hpux-thread.c (hpux_thread_store_registers): Use | |
7577 | regcache_raw_collect, not regcache_raw_read. | |
7578 | * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply, | |
7579 | not regcache_raw_write. | |
7580 | ||
6ed7ea50 UW |
7581 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
7582 | ||
7583 | * gdbarch.sh: Remove deprecated_register_byte. | |
7584 | * gdbarch.c, gdbarch.h: Regenerate. | |
7585 | * arch-utils.h (generic_register_size, generic_register_byte): Remove. | |
7586 | * arch-utils.c (generic_register_size, generic_register_byte): Remove. | |
7587 | ||
7588 | * regcache.h (regcache_valid_p): Make REGCACHE parameter const. | |
7589 | * regcache.c (regcache_valid_p): Allow to query cooked registers in | |
7590 | read-only register caches. Make REGCACHE parameter const. | |
7591 | (regcache_dump): Do not check DEPRECATED_REGISTER_BYTE. | |
7592 | ||
7593 | * mi/mi-main.c (old_regs): Remove. | |
7594 | (mi_setup_architecture_data, _initialize_mi_main): Remove. | |
7595 | (register_changed_p): Reimplement to compare two register caches. | |
7596 | (mi_cmd_data_list_changed_registers): Update caller. | |
7597 | * mi/mi-main.h (mi_setup_architecture_data): Remove. | |
7598 | * mi/mi-interp.c (mi_interpreter_init): Do not call | |
7599 | mi_setup_architecture_data. | |
7600 | ||
efc72ef5 UW |
7601 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
7602 | ||
7603 | * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define, | |
7604 | inline definition at the places the macros are used. | |
7605 | * alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise. | |
7606 | ||
7a61a01c UW |
7607 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
7608 | ||
7609 | * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and | |
7610 | "gdb_string.h". | |
7611 | (rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables. | |
7612 | (rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions. | |
7613 | (rs6000_aix32_regset, rs6000_aix64_regset): New variables. | |
7614 | (rs6000_aix_regset_from_core_section): New function. | |
7615 | (rs6000_aix_init_osabi): Register it. | |
7616 | (_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and | |
7617 | sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000. | |
7618 | * rs6000-nat.c (CoreRegs): Do not define type. | |
7619 | (fetch_core_registers, rs6000_core_fns): Remove. | |
7620 | (_initialize_core_rs6000): Do not register it. Rename to ... | |
7621 | (_initialize_rs6000_nat): ... this. | |
7622 | * Makefile.in (rs6000-aix-tdep.o): Update dependencies. | |
7623 | ||
ace186d4 KB |
7624 | 2007-04-27 Kevin Buettner <kevinb@redhat.com> |
7625 | ||
7626 | * dwarf2expr.c (unsigned_address_type): Add forward declaration. | |
7627 | (dwarf2_read_address): Sign extend return address as required by | |
7628 | target architecture. | |
7629 | ||
89a7ee67 KB |
7630 | 2007-04-27 Kevin Buettner <kevinb@redhat.com> |
7631 | ||
7632 | * solib-frv.c (lm_base): Bail out if the main executable has | |
7633 | not been relocated. | |
7634 | ||
6afb1f32 UW |
7635 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
7636 | ||
7637 | * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location | |
7638 | of FPCR register in fpregset. | |
7639 | ||
66a0218a MR |
7640 | 2007-04-27 Maciej W. Rozycki <macro@mips.com> |
7641 | ||
7642 | * Makefile.in (gdbtk-wrapper.o): Update dependencies. | |
7643 | (gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise. | |
7644 | ||
482f7fee UW |
7645 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
7646 | ||
7647 | * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove. | |
7648 | * rs6000-nat.c (rs6000_wait): New function. | |
7649 | (_initialize_core_rs6000): Install it as to_wait target method. | |
7650 | * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS. | |
7651 | ||
1f480a5e UW |
7652 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
7653 | ||
7654 | * config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove. | |
7655 | * fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK. | |
7656 | * rs6000-nat.c (super_create_inferior): New variable. | |
7657 | (rs6000_create_inferior): Make static. Adapt argument list. Call | |
7658 | original version of create_inferior via super_create_inferior. | |
7659 | (_initialize_core_rs6000): Install to_create_inferior target method. | |
7660 | ||
037a727e UW |
7661 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
7662 | ||
7663 | * aix-thread.c (aix_thread_xfer_memory): Replace by ... | |
7664 | (aix_thread_xfer_partial): ... this. | |
7665 | (init_aix_thread_ops): Install to_xfer_partial instead | |
7666 | of deprecated_xfer_memory target method. | |
7667 | ||
7668 | * config/powerpc/aix.mh (NATDEPFILES): Remove infptrace.o | |
7669 | and inftarg.o, add inf-ptrace.o. | |
7670 | * config/rs6000/nm-rs6000.h (FETCH_INFERIOR_REGISTERS, | |
7671 | CHILD_XFER_MEMORY, KERNEL_U_SIZE, kernel_u_size): Remove. | |
7672 | * rs6000-nat.c: Include "inf-ptrace.h" and "gdb_stdint.h". | |
7673 | (fetch_inferior_registers): Rename to ... | |
7674 | (rs6000_fetch_inferior_registers): ... this. Make static. | |
7675 | (store_inferior_registers): Rename to ... | |
7676 | (rs6000_store_inferior_registers): ... this. Make static. | |
7677 | (read_word, child_xfer_memory): Remove. | |
7678 | (rs6000_xfer_partial): New function. | |
7679 | (kernel_u_size): Remove. | |
7680 | (_initialize_core_rs6000): Add inf_ptrace-based target. | |
7681 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
7682 | ||
f7dd0ed7 UW |
7683 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
7684 | ||
7685 | * inf-ptrace.c: Include "gdb_stdint.h". | |
7686 | (inf_ptrace_xfer_partial): Use "uintptr_t" instead of "long" as | |
7687 | intermediate type when casting CORE_ADDR to PTRACE_TYPE_ARG3. | |
7688 | (inf_ptrace_fetch_register): Add intermediate cast to "uintptr_t" | |
7689 | before casting CORE_ADDR to PTRACE_TYPE_ARG3. | |
7690 | (inf_ptrace_store_register): Likewise. | |
7691 | * Makefile.in (inf-ptrace.o): Update dependencies. | |
7692 | ||
d9178763 UW |
7693 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
7694 | ||
7695 | * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules. | |
7696 | * configure.tgt (rs6000-*-*): Likewise. | |
7697 | * config/rs6000/aix4.mh: Delete file. | |
7698 | * config/rs6000/aix4.mt: Delete file. | |
7699 | * config/rs6000/rs6000.mh: Delete file. | |
7700 | * config/rs6000/rs6000.mt: Delete file. | |
7701 | ||
7702 | * config/powerpc/nm-aix.h: Delete file. | |
7703 | * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h. | |
7704 | ||
0d16ee5d UW |
7705 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
7706 | ||
7707 | * aix-thread.c (fill_sprs32): Change argument types to "uint32_t *". | |
7708 | Remove obsolete part of comment. | |
7709 | (store_regs_user_thread): Use uint32_t temporaries when calling | |
7710 | fill_sprs32. | |
7711 | (store_regs_kernel_thread): Likewise. Add assertion to verify | |
7712 | correct size of struct ptsprs members. | |
7713 | (aix_thread_xfer_memory): Fix type of myaddr. | |
7714 | (aix_thread_extra_thread_info): Fix compiler warning. | |
7715 | * rs6000-nat.c (rs6000_ptrace64): Change type of buf to "void *". | |
7716 | (fetch_register, store_register): Adapt callers. | |
7717 | ||
1e8877aa UW |
7718 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
7719 | ||
7720 | * vec.h (vec_free): Rename to vec_free_. Adapt users. | |
7721 | ||
b02f9d57 UW |
7722 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
7723 | ||
7724 | * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h", | |
7725 | and "regcache.h". | |
7726 | (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New. | |
7727 | (alpha_linux_gregset, alpha_linux_fpregset): New variables. | |
7728 | (alpha_linux_regset_from_core_section): New function. | |
7729 | (alpha_linux_init_abi): Install it. | |
7730 | * alpha-linux-nat.c: Do not include "gdbcore.h". Include | |
7731 | "alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>, | |
7732 | <sys/procfs.h>, and "gregset.h". | |
7733 | (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR): | |
7734 | Move from config/alpha/nm-linux.h. | |
7735 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy | |
7736 | from alpha-nat.c. | |
7737 | (alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c. | |
7738 | * alpha-nat.c: Remove #ifdef __linux__ section. | |
7739 | (fetch_elf_core_registers, alpha_elf_core_fns): Remove. | |
7740 | (_initialize_core_alpha): Do not register alpha_elf_core_fns. | |
7741 | (ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally. | |
7742 | (ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h. | |
7743 | * config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
7744 | (NATDEPFILES): Remove alpha-nat.o. | |
7745 | * config/alpha/nm-linux.h: Delete file. | |
7746 | * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c. | |
7747 | * Makefile.in (alpha-linux-nat.o): Update dependencies. | |
7748 | (alpha-linux-tdep.o): Likewise. | |
7749 | ||
dda0c97e UW |
7750 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
7751 | ||
7752 | * mips-linux-nat.c: No longer include "gdbcore.h". | |
7753 | (mips_linux_register_addr): Move from mips-linux-tdep.c. | |
7754 | (mips64_linux_register_addr): Likewise. | |
7755 | (mips_linux_register_u_offset): Call mips_linux_register_addr or | |
7756 | mips64_linux_register_addr instead of register_addr. | |
7757 | * mips-linux-tdep.c (mips_linux_register_addr, | |
7758 | mips64_linux_register_addr): Move to mips-linux-nat.c. | |
7759 | (register_addr): Remove. | |
7760 | (register_addr_data, init_register_addr_data): Remove. | |
7761 | (_initialize_mips_linux_tdep): Do not initialize register_addr_data. | |
7762 | (set_mips_linux_register_addr): Remove. | |
7763 | (mips_linux_init_abi): Do not call set_mips_linux_register_addr. | |
7764 | * Makefile.in (mips-linux-nat.o): Update dependencies. | |
7765 | ||
910122bf UW |
7766 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
7767 | ||
7768 | * linux-nat.c (linux_register_u_offset): Remove. | |
7769 | (linux_target_install_ops): New function. | |
7770 | (linux_target): Use it. | |
7771 | (linux_trad_target): New function. | |
7772 | * linux-nat.h (linux_trad_target): Declare. | |
7773 | ||
7774 | * alpha-linux-nat.c: Include "gdbcore.h". | |
7775 | (alpha_linux_register_u_offset): New function. | |
7776 | (_initialize_alpha_linux_nat): Use linux_trad_target. | |
7777 | ||
7778 | * mips-linux-nat.c: Include "gdbcore.h". | |
7779 | (mips_linux_register_u_offset): New function. | |
7780 | (_initialize_mips_linux_nat): Use linux_trad_target. | |
7781 | ||
7782 | * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
7783 | * config/arm/nm-linux.h: Delete file. | |
7784 | ||
7785 | * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove. | |
7786 | * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove. | |
7787 | ||
7788 | * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
7789 | * config/ia64/nm-linux.h: Delete file. | |
7790 | ||
7791 | * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
7792 | * config/m32r/nm-linux.h: Delete file. | |
7793 | ||
7794 | * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
7795 | * config/m68k/nm-linux.h: Delete file. | |
7796 | ||
7797 | * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
7798 | * config/pa/nm-linux.h: Delete file. | |
7799 | ||
7800 | * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
7801 | * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise. | |
7802 | * config/powerpc/nm-linux.h: Delete file. | |
7803 | ||
7804 | * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h. | |
7805 | * config/s390/nm-linux.h: Delete file. | |
7806 | ||
7807 | * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
7808 | * config/sparc/linux64.mh (NAT_FILE): Likewise. | |
7809 | * config/sparc/nm-linux.h: Delete file. | |
7810 | ||
7811 | * Makefile.in (alpha-linux-nat.o): Update dependencies. | |
7812 | (mips-linux-nat.o): Likewise. | |
7813 | ||
de732108 UW |
7814 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
7815 | ||
7816 | * core-aout.c: Delete file. | |
7817 | * Makefile.in (ALLDEPFILES): Remove core-aout.c. | |
7818 | (core-aout.o): Delete rule. | |
7819 | * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove. | |
7820 | ||
7821 | * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove. | |
7822 | ||
7823 | * arm-linux-nat.c (arm_linux_kernel_u_size): Remove. | |
7824 | * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE, | |
7825 | KERNEL_U_ADDR): Remove. | |
7826 | ||
7827 | * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove. | |
7828 | (cannot_fetch_register, cannot_store_register): Remove. | |
7829 | (fetch_register): Inline cannot_fetch_register and register_addr. | |
7830 | (store_register): Inline cannot_store_register and register_addr. | |
7831 | * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o. | |
7832 | * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, | |
7833 | REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): | |
7834 | Remove. | |
7835 | ||
7836 | * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove. | |
7837 | (fetch_register): Inline register_addr. | |
7838 | (store_register): Inline register_addr. | |
7839 | * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o. | |
7840 | * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, | |
7841 | U_REGS_OFFSET, REGISTER_U_ADDR): Remove. | |
7842 | ||
7843 | * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove. | |
7844 | * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET, | |
7845 | REGISTER_U_ADDR): Remove. | |
7846 | ||
7847 | * hppa-linux-nat.c (register_addr): Rename to ... | |
7848 | (hppa_linux_register_addr): ... this. Make static. | |
7849 | (fetch_register, store_register): Adapt callers. | |
7850 | * config/pa/nm-linux.h (U_REGS_OFFSET): Remove. | |
7851 | ||
7852 | * ppc-linux-nat.c (kernel_u_size): Remove. | |
7853 | * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove. | |
7854 | ||
7855 | * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static. | |
7856 | * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o. | |
7857 | (NAT_FILE): Remove. | |
7858 | * config/vax/nm-vax.h: Delete file. | |
7859 | ||
1f90c757 MS |
7860 | 2007-04-20 Mark Shinwell <shinwell@codesourcery.com> |
7861 | ||
7862 | * MAINTAINERS (Write After Approval): Add myself. | |
7863 | ||
bf1242a5 MS |
7864 | 2007-04-20 Mark Shinwell <shinwell@codesourcery.com> |
7865 | ||
7866 | * Makefile.in: Adjust dependencies of m68klinux-tdep.c. | |
7867 | * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New. | |
7868 | (m68k_linux_sigcontext_reg_offset): Fix typo. | |
7869 | (target_is_uclinux): New. | |
7870 | (m68k_linux_inferior_created): New. | |
7871 | (m68k_linux_get_sigtramp_info): Check for uClinux or | |
7872 | normal Linux. Use m68k_uclinux_sigcontext_reg_offset for | |
7873 | uClinux. | |
7874 | (_initialize_m68k_linux_tdep): Register | |
7875 | m68k_linux_inferior_created. | |
7876 | ||
96998ce7 PA |
7877 | 2007-04-19 Pedro Alves <pedro_alves@portugalmail.pt> |
7878 | ||
7879 | * win32-nat.c (win32_detach): Remove delete_command call. | |
7880 | Resume inferior with win32_resume instead of win32_continue. | |
7881 | ||
7e71daaa JG |
7882 | 2007-04-19 Jerome Guitton <guitton@adacore.com> |
7883 | ||
7884 | * ser-mingw.c (fd_is_file): New function. | |
7885 | (file_select_thread): New function. | |
7886 | (ser_console_wait_handle): Add special handling for files. | |
7887 | ||
3d1f72c2 DP |
7888 | 2007-04-18 Denis Pilat <denis.pilat@st.com> |
7889 | ||
7890 | * dwarf2read.c (read_subrange_type): Use DW_ATE_signed default type | |
7891 | when missing from DW_TAG_subrange_type. Remove the handling of null | |
7892 | return from die_type. | |
7893 | ||
9ecf7166 MR |
7894 | 2007-04-18 Maciej W. Rozycki <macro@mips.com> |
7895 | ||
7896 | * mips-tdep.c (mips_eabi_push_dummy_call): Revert the last | |
7897 | change to rearrange some brackets. | |
7898 | (mips_n32n64_push_dummy_call): Likewise. | |
7899 | (mips_o32_push_dummy_call): Likewise. | |
7900 | (mips_o64_push_dummy_call): Likewise. | |
7901 | ||
b79599ff DP |
7902 | 2007-04-18 Denis Pilat <denis.pilat@st.com> |
7903 | ||
7904 | * infcmd.c (post_create_inferior): Start with a call to | |
3d1f72c2 | 7905 | target_terminal_ours. |
b79599ff | 7906 | |
06f9a1af MR |
7907 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
7908 | ||
7909 | * mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some | |
7910 | brackets. | |
7911 | (mips_n32n64_push_dummy_call): Likewise. Reformat some | |
7912 | expressions. | |
7913 | (mips_o32_push_dummy_call): Likewise. | |
7914 | (mips_o64_push_dummy_call): Likewise. | |
7915 | ||
ad018eee MR |
7916 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
7917 | ||
7918 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a | |
7919 | comment. | |
7920 | ||
e914cb17 MR |
7921 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
7922 | ||
7923 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a | |
7924 | comment. | |
7925 | (mips_o32_push_dummy_call): Likewise. | |
7926 | ||
91934273 AS |
7927 | 2007-04-17 Andreas Schwab <schwab@suse.de> |
7928 | ||
7929 | * symtab.c (skip_prologue_using_sal): Allow the end of the prologue | |
7930 | sal to be bigger than the end of the function. | |
7931 | ||
968b5391 MR |
7932 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
7933 | Nigel Stephens <nigel@mips.com> | |
7934 | ||
7935 | * mips-tdep.c (mips_o32_push_dummy_call): Take account of | |
7936 | argument alignment requirements when calculating stack space | |
7937 | required. When aligning an arg register to eight bytes | |
7938 | boundary, align stack_offset too. Write floating-point | |
7939 | arguments to the appropriate integer register if need go there. | |
7940 | (mips_o64_push_dummy_call): Likewise. | |
7941 | ||
e0cd558a UW |
7942 | 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com> |
7943 | ||
7944 | * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and | |
7945 | "sig" arguments, add "regcache" argument. | |
7946 | * gdbarch.c, gdbarch.h: Regenerate. | |
7947 | ||
7948 | * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments. | |
7949 | (handle_inferior_event): Call remove_single_step_breakpoints directly | |
7950 | instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints. | |
7951 | ||
7952 | * alpha-tdep.c (alpha_software_single_step): Update argument list. | |
7953 | Remove handling of !insert_breakpoints_p case. | |
7954 | * arm-tdep.c (arm_software_single_step): Likewise. | |
7955 | * cris-tdep.c (cris_software_single_step): Likewise. | |
7956 | * mips-tdep.c (mips_software_single_step): Likewise. | |
7957 | * rs6000-tdep.c (rs6000_software_single_step): Likewise. | |
7958 | * sparc-tdep.c (sparc_software_single_step): Likewise. | |
7959 | * spu-tdep.c (spu_software_single_step): Likewise. | |
7960 | ||
7961 | * alpha-tdep.h (alpha_software_single_step): Update prototype. | |
7962 | * mips-tdep.h (mips_software_single_step): Likewise. | |
7963 | * rs6000-tdep.h (rs6000_software_single_step): Likewise. | |
7964 | * sparc-tdep.h (sparc_software_single_step): Likewise. | |
7965 | ||
06a86285 UW |
7966 | 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com> |
7967 | ||
7968 | * alpha-tdep.c (alpha_software_single_step): Do not call write_pc | |
7969 | when removing single-step breakpoints. | |
7970 | ||
25d5ea92 VP |
7971 | 2007-04-14 Vladimir Prus <vladimir@codesourcery.com> |
7972 | ||
7973 | * varobj.h (varobj_set_frozen): New | |
7974 | (varobj_get_frozen): New. | |
7975 | (varobj_update): New parameter explicit. | |
7976 | * varobj.c (struct varobj): New fields frozen | |
7977 | and not_fetched. | |
7978 | (varobj_set_frozen, varobj_get_frozen): New. | |
7979 | (install_new_value): Don't fetch values for | |
7980 | frozen variable object, or children thereof. Allow | |
7981 | a frozen variable object to have non-fetched value. | |
7982 | (varobj_update): Allow updating child variables. | |
7983 | Don't traverse frozen children. | |
7984 | (new_variable): Initialize the frozen field. | |
7985 | (c_value_of_variable): Return NULL for frozen | |
7986 | variable without any value yet. | |
7987 | * mi/mi-cmd-var.c (varobj_update_one): New parameter | |
7988 | 'explicit'. | |
7989 | (mi_cmd_var_create): Output the 'frozen' field, | |
7990 | as soon as testsuite is adjusted to expect that field. | |
7991 | (mi_cmd_var_set_frozen): New. | |
7992 | (mi_cmd_var_update): Pass the 'explicit' parameter to | |
7993 | varobj_update_one. | |
7994 | * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'. | |
7995 | * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare. | |
7996 | ||
6e3bbd1a PB |
7997 | 2007-04-13 Paul Brook <paul@codesourcery.com> |
7998 | ||
7999 | * target-descriptions.c (tdesc_named_type): Add ieee_single and | |
8000 | ieee_double. | |
8001 | * doc/gdb.texinfo: Document ieee_single and ieee_double target types. | |
8002 | ||
ea35711c DJ |
8003 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
8004 | ||
8005 | * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c, | |
8006 | remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h, | |
8007 | scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c, | |
8008 | ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete. | |
8009 | * Makefile.in: Remove references to deleted files. | |
8010 | * README: Do not mention deleted ROM monitor interfaces. | |
8011 | * defs.h (enum language): Delete language_scm. | |
8012 | * expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING. | |
8013 | (dump_subexp_body_standard): Likewise. | |
8014 | * parse.c (operator_length_standard): Likewise. | |
8015 | * expression.h (enum exp_opcode): Delete OP_EXPRSTRING. | |
8016 | * remote-mips.c: Do not include remote-utils.h. | |
8017 | * remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug | |
8018 | throughout. | |
8019 | * value.c: Do not include scm-lang.h. | |
8020 | (unpack_long): Delete scm_unpack call. | |
8021 | * config/h8300/h8300.mt, config/mips/embed.mt, | |
8022 | config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt, | |
8023 | config/sh/embed.mt, config/sh/linux.mt: Remove references to | |
8024 | deleted files. | |
8025 | * NEWS: Mention removed files. | |
8026 | ||
058b9c07 DJ |
8027 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
8028 | ||
8029 | * symfile.c (add_psymbol_with_dem_name_to_list): Remove. | |
8030 | * symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype. | |
8031 | ||
54d61198 DJ |
8032 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
8033 | ||
8034 | * NEWS: Mention removal of HP aCC support. | |
8035 | ||
e499d0f1 DJ |
8036 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
8037 | ||
8038 | * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the | |
8039 | first entry for static executables. | |
8040 | (breakpoint_addr): Delete unused variable. | |
8041 | (elf_locate_base): Search for _r_debug in static executables. | |
8042 | (enable_break): Do not set breakpoint_addr. Scan solib_break_names | |
8043 | also. | |
8044 | ||
4d5b2cd7 DJ |
8045 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
8046 | ||
8047 | * breakpoint.c (update_breakpoints_after_exec, print_it_typical) | |
8048 | (bpstat_what, print_one_breakpoint, allocate_bp_location) | |
8049 | (mention): Remove bp_through_sigtramp support. | |
8050 | * breakpoint.h (enum bptype): Remove bp_through_sigtramp. | |
8051 | ||
46d57086 DJ |
8052 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
8053 | ||
8054 | * breakpoint.c (bpstat_what): Give step-resume higher priority than | |
8055 | shlib events. | |
8056 | ||
d3169d93 DJ |
8057 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
8058 | ||
8059 | * infrun.c: Doc fixes. | |
8060 | (handle_inferior_event): Clarify debug message. | |
8061 | (insert_step_resume_breakpoint_at_sal): Print a debug message. | |
8062 | ||
8c9e4384 UW |
8063 | 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com> |
8064 | ||
8065 | * configure.tgt (arm-*-nto*, sh-*-nto*): Remove. | |
8066 | ||
9418f048 UW |
8067 | 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com> |
8068 | ||
8069 | * config/m68k/tm-monitor.h: Delete file. | |
8070 | * config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove. | |
8071 | * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break | |
8072 | call moved to ... | |
8073 | * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ... | |
8074 | * m68klinux-tdep.c (m68k_linux_init_abi): ... here. | |
8075 | ||
e6590a1b UW |
8076 | 2007-04-12 Luis Machado <luisgpm@br.ibm.com> |
8077 | ||
8078 | * gdbarch.sh (software_single_step): Change the return type | |
8079 | from void to int and reformatted some comments to <= 80 | |
8080 | columns. | |
8081 | * gdbarch.c, gdbarch.h: Regenerated. | |
8082 | * alpha-tdep.c (alpha_software_single_step): Likewise. | |
8083 | * alpha-tdep.h (alpha_software_single_step): Likewise. | |
8084 | * arm-tdep.c (arm_software_single_step): Likewise. | |
8085 | * cris-tdep.c (cris_software_single_step): Likewise. | |
8086 | * mips-tdep.c (mips_software_single_step): Likewise. | |
8087 | * mips-tdep.h (mips_software_single_step): Likewise. | |
8088 | * rs6000-tdep.c (rs6000_software_single_step): Likewise. | |
8089 | * rs6000-tdep.h (rs6000_software_single_step): Likewise. | |
8090 | * sparc-tdep.c (sparc_software_single_step): Likewise. | |
8091 | * sparc-tdep.h (sparc_software_single_step): Likewise. | |
8092 | * spu-tdep.c (spu_software_single_step): Likewise. | |
8093 | * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP | |
8094 | and act accordingly. | |
8095 | ||
58b38ee2 SE |
8096 | 2007-04-11 Steve Ellcey <sje@cup.hp.com> |
8097 | ||
8098 | * configure.ac (build_warnings): Add -Wno-char-subscripts. | |
8099 | * configure: Regenerate. | |
8100 | * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts. | |
8101 | ||
70f575cc JK |
8102 | 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
8103 | ||
8104 | * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'. | |
8105 | ||
d77b6808 JK |
8106 | 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
8107 | ||
8108 | * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New | |
8109 | macros. | |
8110 | (TYPE_IS_OPAQUE): Empty vs. opaque structures are now | |
8111 | distinct on the TYPE_STUB_SUPPORTED debug targets. | |
8112 | * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED. | |
8113 | ||
b0b92586 JB |
8114 | 2007-04-11 Joel Brobecker <brobecker@adacore.com> |
8115 | ||
8116 | * sparc-tdep.c (X_RS2): New macro. | |
8117 | (sparc_skip_stack_check): New function. | |
8118 | (sparc_analyze_prologue): Adjust PC past stack probing | |
8119 | sequence if necessary. | |
8120 | ||
a489f789 AS |
8121 | 2007-04-10 Andreas Schwab <schwab@suse.de> |
8122 | ||
8123 | * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR | |
8124 | register. | |
8125 | ||
b0b13bb4 DJ |
8126 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
8127 | ||
8128 | * breakpoint.c (gdb_breakpoint_query): Really return an | |
8129 | enum gdb_rc. | |
8130 | (gdb_breakpoint): Likewise. | |
3f11755e DJ |
8131 | * thread.c (gdb_list_thread_ids): Likewise. |
8132 | (gdb_thread_select): Likewise. | |
b0b13bb4 DJ |
8133 | * mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc. |
8134 | (mi_cmd_thread_list_ids): Remove bogus initialization. | |
8135 | ||
1a92f856 DJ |
8136 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
8137 | ||
8138 | * Makefile.in (SFILES): Remove hpacc-abi.c. | |
8139 | (COMMON_OBS): Remove hpacc-abi.o. | |
8140 | (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE). | |
8141 | (hpacc-abi.o, hpread.o): Delete rules. | |
8142 | * somread.c: Delete extern declarations from hpread.c. | |
8143 | (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs. | |
8144 | (som_symfile_finish): Do not call hpread_symfile_finish. | |
8145 | (som_symfile_init): Do not call hpread_symfile_init. | |
8146 | * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o. | |
8147 | * config/pa/hppahpux.mt (TDEPFILES): Likewise. | |
8148 | * hpacc-abi.c, hpread.c: Deleted. | |
8149 | ||
542c95c2 DJ |
8150 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
8151 | ||
8152 | * solib-svr4.c (enable_break): Simplify return value. | |
8153 | (svr4_solib_create_inferior_hook): Do not warn if enable_break fails. | |
8154 | ||
cfaefc65 AS |
8155 | 2007-04-10 Andreas Schwab <schwab@suse.de> |
8156 | ||
8157 | * solib-svr4.h (struct link_map_offsets): Remove l_addr_size, | |
8158 | l_ld_size, l_next_size, l_prev_size, l_name_size. | |
8159 | ||
8160 | * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address | |
8161 | to extract addresses from link map. | |
8162 | (LM_DYNAMIC_FROM_LINK_MAP): Likewise. | |
8163 | (LM_NEXT): Likewise. | |
8164 | (LM_NAME): Likewise. | |
8165 | (IGNORE_FIRST_LINK_MAP_ENTRY): Likewise. | |
8166 | (elf_locate_base): Likewise. | |
8167 | (open_symbol_file_object): Likewise. | |
8168 | (svr4_fetch_objfile_link_map): Likewise. | |
8169 | (SOLIB_EXTRACT_ADDRESS): Remove unused macro. | |
8170 | (HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of | |
8171 | l_ld_size. | |
8172 | (svr4_ilp32_fetch_link_map_offsets): Don't set removed members. | |
8173 | (svr4_lp64_fetch_link_map_offsets): Likewise. | |
8174 | ||
8175 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set | |
8176 | removed members. Set l_ld_offset to -1 if not present. | |
8177 | ||
65cc4390 VP |
8178 | 2007-04-08 Vladimir Prus <vladimir@codesourcery.com> |
8179 | ||
8180 | Pass stderr of program run with "target remote |" | |
8181 | via gdb_stderr. | |
8182 | * serial.c (serial_open): Set error_fd to -1. | |
8183 | * serial.h (struct serial): New field error_fd. | |
8184 | (struct serial_opts): New field avail. | |
8185 | * ser-pipe.c (pipe_open): Create another pair | |
8186 | of sockets. Pass stderr to gdb. | |
8187 | * ser-mingw.c (pipe_windows_open): Pass | |
8188 | PEX_STDERR_TO_PIPE to pex_run. Initialize | |
8189 | sd->error_fd. | |
8190 | (pipe_avail): New. | |
8191 | (_initialize_ser_windows): Hook pipe_avail. | |
8192 | * ser-base.c (generic_readchar): Check if there's | |
8193 | anything in stderr channel and route that to gdb_stderr. | |
8194 | ||
e9112110 PA |
8195 | 2007-04-03 Pedro Alves <pedro_alves@portugalmail.pt> |
8196 | ||
8197 | * dbxread.c (read_ofile_symtab): Move current_objfile | |
8198 | clearing to after end_stabs. | |
8199 | ||
7f68ac27 AS |
8200 | 2007-04-01 Andreas Schwab <schwab@suse.de> |
8201 | ||
8202 | * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter | |
8203 | gdbarch instead of current_gdbarch. | |
8204 | ||
e55dccf0 VP |
8205 | 2007-04-01 Vladimir Prus <vladimir@codesourcery.com> |
8206 | ||
8207 | * varobj.c (varobj_create): Keep varobj value | |
8208 | NULL when evaluating the type. | |
8209 | ||
7c963485 PA |
8210 | 2007-03-31 Pedro Alves <pedro_alves@portugalmail.pt> |
8211 | ||
8212 | * NEWS: Mention new Windows CE support. | |
8213 | ||
ad527d2e PA |
8214 | 2007-03-30 Pedro Alves <pedro_alves@portugalmail.pt> |
8215 | ||
8216 | * configure.tgt: Move mips*-*-pe and sh*-*-pe to | |
8217 | the obsoletion stanza. | |
8218 | * NEWS: Mention deleted targets. | |
8219 | ||
8220 | * config/sh/tm-wince.h: Remove. | |
8221 | * config/sh/wince.mt: Remove. | |
8222 | * config/mips/tm-wince.h: Remove. | |
8223 | * config/mips/wince.mt: Remove. | |
8224 | ||
8225 | * wince.c: Remove. | |
8226 | * wince-stub.c: Remove. | |
8227 | * wince-stub.h: Remove. | |
8228 | * Makefile.in (wince.o): Remove rule. | |
8229 | (wince-stub.o): Likewise. | |
8230 | ||
8231 | * mips-tdep.c (mips_next_pc): Make static. | |
8232 | * mips-tdep.h (mips_next_pc): Remove declaration. | |
8233 | * arm-tdep.c (arm_pc_is_thumb): Make static. | |
8234 | (thumb_get_next_pc): Likewise. | |
8235 | (arm_get_next_pc): Likewise. | |
8236 | * arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration. | |
8237 | (arm_pc_is_thumb): Likewise. | |
8238 | (thumb_get_next_pc): Likewise. | |
8239 | (arm_get_next_pc): Likewise. | |
8240 | ||
7ce59000 DJ |
8241 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
8242 | ||
8243 | * MAINTAINERS: Remove d10v entry. | |
8244 | * Makefile.in (SFILES): Remove dwarfread.c. | |
8245 | (COMMON_OBS): Remove dwarfread.o. | |
8246 | (gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o) | |
8247 | (remote-est.o, rom68k-rom.o): Delete. | |
8248 | * NEWS: Mention removal of d10v, target abug, target cpu32bug, | |
8249 | target est, target rom68k, and DWARF 1. | |
8250 | * configure.tgt: Mark d10v as removed. | |
8251 | * dwarf2read.c: Doc update. | |
8252 | * elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset, | |
8253 | and lnsize. | |
8254 | (elf_locate_sections): Do not set them. | |
8255 | (elf_symfile_read): Do not call dwarf_build_psymtabs. | |
8256 | * symfile.h (dwarf_build_psymtabs): Delete prototype. | |
8257 | * config/m68k/monitor.mt (TDEPFILES): Prune. | |
8258 | * abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c, | |
8259 | remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete. | |
8260 | ||
20389057 DJ |
8261 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
8262 | ||
8263 | * doublest.c (convert_floatformat_to_doublest): Use | |
8264 | floatformat_classify. | |
8265 | (floatformat_is_nan): Rename to... | |
8266 | (floatformat_classify): ...this. Return more information. | |
8267 | * doublest.h (enum float_kind): New. | |
8268 | (floatformat_is_nan): Replace prototype... | |
8269 | (floatformat_classify): ...with this one. | |
8270 | * valprint.c (print_floating): Use floatformat_classify. Handle | |
8271 | infinity. | |
8272 | ||
30b50213 DJ |
8273 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
8274 | ||
8275 | * README: Mention ISO C library requirement. | |
8276 | ||
8807d78b DJ |
8277 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
8278 | ||
8279 | * Makefile.in (SFILES): Remove nlmread.c. | |
8280 | (COMMON_OBS): Remove nlmread.o. | |
8281 | (nlmread.o): Delete rule. | |
8282 | * README: Delete reference to remote-st.c. | |
8283 | * acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete. | |
8284 | * defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and | |
8285 | GDB_OSABI_LYNXOS. | |
8286 | * i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete. | |
8287 | (_initialize_i386_tdep): Do not reference them. | |
8288 | * nlmread.c: Delete file. | |
8289 | * osabi.c (gdb_osabi_names): Remove NetWare and LynxOS. | |
8290 | * target.c: Doc update. | |
8291 | * thread.c: Delete commented include. | |
8292 | * config/alpha/tm-alpha.h: Doc update. | |
8293 | ||
ced572fe MR |
8294 | 2007-03-30 Chris Dearman <chris@mips.com> |
8295 | ||
8296 | * utils.c (string_to_core_addr): Comment typo. | |
8297 | ||
8a9fc081 MR |
8298 | 2007-03-30 Chris Dearman <chris@mips.com> |
8299 | ||
8300 | * mips-tdep.c: Comment typo. | |
8301 | ||
5f402660 UW |
8302 | 2007-03-29 Ulrich Weigand <uweigand@de.ibm.com> |
8303 | ||
8304 | * config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove. | |
8305 | * config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove. | |
8306 | * config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove. | |
8307 | * config/powerpc/nm-ppc64-linux.h: Remove file. | |
8308 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h. | |
8309 | * inferior.h (PTRACE_ARG3_TYPE): Do not define. | |
8310 | (call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3. | |
8311 | * infptrace.c (call_ptrace): Likewise. | |
8312 | * m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define. | |
8313 | (fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3 | |
8314 | and PTRACE_XFER_TYPE by PTRACE_TYPE_RET. | |
8315 | (store_register): Likewise. | |
8316 | ||
bbf90c81 JB |
8317 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
8318 | ||
8319 | * Makefile.in (varobj.o): Add missing dependency. | |
8320 | ||
243c053b MS |
8321 | 2007-03-29 Michael Snyder <msnyder@access-company.com> |
8322 | ||
8323 | * MAINTAINERS: Update my email address. | |
8324 | ||
0259addd JB |
8325 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
8326 | ||
8327 | Add support for exception handling with multiple versions of | |
8328 | the Ada runtime: | |
8329 | * ada-lang.c: Update general comments on how Ada exception catchpoints | |
8330 | are implemented. | |
8331 | (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name) | |
8332 | (__gnat_raise_nodefer_with_msg): Delete. | |
8333 | (ada_unhandled_exception_name_addr_ftype): New type. | |
8334 | (exception_support_info): New type. | |
8335 | (ada_unhandled_exception_name_addr): Add forward declaration. | |
8336 | (ada_unhandled_exception_name_addr_from_raise): Likewise. | |
8337 | (default_exception_support_info): New constant. | |
8338 | (exception_support_info_fallback): Likewise. | |
8339 | (exception_info): New global variable. | |
8340 | (ada_exception_support_info_sniffer): New function. | |
8341 | (ada_executable_changed_observer): Likewise. | |
8342 | (ada_unhandled_exception_name_addr_from_raise): Renamed from | |
8343 | ada_unhandled_exception_name_addr. | |
8344 | (ada_unhandled_exception_name_addr): Reimplement to match the | |
8345 | latest Ada runtime implementation. | |
8346 | (error_breakpoint_runtime_sym_not_found): Delete. | |
8347 | (ada_exception_sym_name): Get the exception sym name from | |
8348 | exception_info rather than hardcoding it. | |
8349 | (ada_exception_sal): Add call to ada_exception_support_info_sniffer. | |
8350 | Update error handling. | |
8351 | * Makefile.in (ada-lang.o): Add dependency on observer.h. | |
8352 | ||
483367ee DJ |
8353 | 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com> |
8354 | ||
8355 | * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o) | |
8356 | (remote-st.o, uw-thread.o): Delete. | |
8357 | (HFILES_NO_SRCDIR, ALLDEPFILES): Update. | |
8358 | * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*, | |
8359 | i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*, | |
8360 | i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*, | |
8361 | i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*, | |
8362 | i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and | |
8363 | rs6000-*-lynxos* to an obsoletion stanza. | |
8364 | * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*, | |
8365 | i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*, | |
8366 | and rs6000-*-lynxos* to an obsoletion stanza. Do not mention | |
8367 | i[34567]86-*-netware*. | |
8368 | * NEWS: Mention deleted targets. | |
8369 | ||
8370 | * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c, | |
8371 | uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh, | |
8372 | config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh, | |
8373 | config/i386/i386v4.mh, config/i386/i386v42mp.mh, | |
8374 | config/i386/ncr3000.mh, config/i386/ncr3000.mt, | |
8375 | config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h, | |
8376 | config/i386/nm-i386sco5.h, config/i386/nm-i386v.h, | |
8377 | config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h, | |
8378 | config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt, | |
8379 | config/m68k/tm-cisco.h, config/m68k/tm-os68k.h, | |
8380 | config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt, | |
8381 | config/rs6000/tm-rs6000ly.h: Delete files. | |
8382 | ||
3adda9d8 DJ |
8383 | 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com> |
8384 | ||
8385 | * defs.h (deprecated_registers_changed_hook): Delete declaration. | |
8386 | * interps.c (clear_interpreter_hooks): Do not clear | |
8387 | deprecated_registers_changed_hook. | |
8388 | * regcache.c (registers_changed): Do not call it. | |
8389 | * top.c (deprecated_registers_changed_hook): Do not define it. | |
8390 | * mi/mi-interp.c (mi_command_loop): Do not clear it. | |
8391 | * tui/tui-hooks.c (tui_install_hooks): Do not install it. | |
8392 | (tui_remove_hooks): Do not remove it. | |
8393 | (tui_selected_frame_level_changed_hook): Check for negative level. | |
8394 | Use get_selected_frame. | |
8395 | (tui_registers_changed_hook): Deleted. | |
8396 | ||
bf362611 JB |
8397 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
8398 | ||
8399 | * stabsread.c (add_undefined_type): Add extra parameter. | |
8400 | Now handles nameless types separately. | |
8401 | (struct nat): New type. | |
8402 | (noname_undefs, noname_undefs_allocated, noname_undefs_length): | |
8403 | New static variables. | |
8404 | (read_type): Update calls to add_undefined_type. | |
8405 | (add_undefined_type_noname): New function. | |
8406 | (add_undefined_type_1): Renames from add_undefined_type. | |
8407 | (cleanup_undefined_types_noname): New function. | |
8408 | (cleanup_undefined_types_1): Renames cleanup_undefined_types. | |
8409 | (cleanup_undefined_types): New handles nameless types separately. | |
8410 | (_initialize_stabsread): Initialize our new static constants. | |
8411 | ||
436868fb DP |
8412 | 2007-03-29 Denis Pilat <denis.pilat@st.com> |
8413 | ||
8414 | * configure.ac: Test for signal.h. | |
8415 | * configure, config.in: Regenerate. | |
8416 | ||
aaf9e9fd DP |
8417 | 2007-03-29 Denis Pilat <denis.pilat@st.com> |
8418 | ||
8419 | * stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output. | |
8420 | * infrun.c (normal_stop): Remove MI specific frame printing treatment. | |
8421 | ||
68070c10 PA |
8422 | 2007-03-29 Pedro Alves <pedro_alves@portugalmail.pt> |
8423 | ||
8424 | * arm-wince-tdep.c: New. | |
8425 | * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h. | |
8426 | (MT_CFLAGS): Delete. | |
8427 | (TM_CLIBS): Delete. | |
8428 | (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o, | |
8429 | solib-legacy.o, solib-svr4.o, and remove wince.o. | |
8430 | * configure.tgt (arm*-*-mingw32ce*): Add. | |
8431 | * signals/signals.c [HAVE_SIGNAL_H]: Check. | |
8432 | (do_target_signal_to_host): Silence 'not used' warning. | |
8433 | * config/arm/tm-wince.h: Remove. | |
8434 | ||
74174d2e UW |
8435 | 2007-03-28 Ulrich Weigand <uweigand@de.ibm.com> |
8436 | ||
8437 | * arch-utils.c (legacy_pc_in_sigtramp): Remove. | |
8438 | * arch-utils.h (legacy_pc_in_sigtramp): Remove. | |
8439 | ||
8440 | * config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove. | |
8441 | * config/ia64/tm-linux.h: Remove file. | |
8442 | * ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback. | |
8443 | * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of | |
8444 | legacy_pc_in_sigtramp. | |
8445 | (ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp. | |
8446 | * ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static. | |
8447 | Remove func_name argument. | |
8448 | (ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp. | |
8449 | ||
8450 | * infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine. | |
8451 | * target.c (update_current_target): Add to_have_steppable_watchpoint. | |
8452 | * target.h (struct target_ops): Add to_have_steppable_watchpoint. | |
8453 | (HAVE_STEPPABLE_WATCHPOINT): Define. | |
8454 | ||
8455 | * config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o. | |
8456 | * config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET, | |
8457 | CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER, | |
8458 | TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT, | |
8459 | STOPPED_BY_WATCHPOINT, target_stopped_data_address, | |
8460 | target_insert_watchpoint, target_remove_watchpoint): Remove. | |
8461 | (FETCH_INFERIOR_REGISTERS): Define. | |
8462 | * ia64-linux-nat.c (ia64_register_addr): Make static. | |
8463 | (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise. | |
8464 | (ia64_linux_insert_watchpoint): Make static. Remove ptid_p argument. | |
8465 | (ia64_linux_remove_watchpoint): Likewise. Add type argument. | |
8466 | (ia64_linux_stopped_data_address): Make static. Add target_ops. | |
8467 | (ia64_linux_stopped_by_watchpoint): Make static. | |
8468 | (ia64_linux_can_use_hw_breakpoint): New function. | |
8469 | (ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise. | |
8470 | (ia64_linux_store_register, ia64_linux_store_registers): Likewise. | |
8471 | (_initialize_ia64_linux_nat): Install register and watchpoint ops. | |
8472 | ||
53c5240f PA |
8473 | 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt> |
8474 | ||
8475 | * linespec.c: Include language.h. | |
8476 | (find_methods): Add language parameter. Call | |
8477 | lookup_symbol_in_language. Pass language down. | |
8478 | (add_matching_methods): Likewise. Call | |
8479 | lookup_symbol_in_language. | |
8480 | (add_constructors): Likewise. | |
8481 | (find_method): Pass sym_class to collect_methods. | |
8482 | (collect_methods): Add sym_class parameter. Pass language | |
8483 | down. | |
8484 | * symtab.c (lookup_symbol): Rename to ... | |
8485 | (lookup_symbol_in_language): ... this. Add language | |
8486 | parameter. Use passed language instead of current_language. | |
8487 | (lookup_symbol): New as wrapper around | |
8488 | lookup_symbol_in_language. | |
8489 | (lookup_symbol_aux): Add language parameter. Use passed | |
8490 | language instead of current_language. | |
8491 | (search_symbols): Indent. | |
8492 | * symtab.h (enum language): Forward declare. | |
8493 | (lookup_symbol_in_language): Declare. | |
8494 | (lookup_symbol): Update description. | |
8495 | * ada-lang.h (lookup_symbol_in_language): Remove declaration. | |
8496 | * ada-lang.c (restore_language): Remove. | |
8497 | (lookup_symbol_in_language): Remove. | |
8498 | ||
8671a17b PA |
8499 | 2007-03-27 Pedro Alves <pedro_alves@portugalmail.pt> |
8500 | ||
8501 | * breakpoint.c (bpstat_num): Add int *num parameter. | |
8502 | * breakpoint.h (bpstat_num): Likewise. | |
8503 | * infcmd.c (continue_command): Adjust to new bpstat_num | |
8504 | interface. | |
8505 | (program_info): Likewise. | |
8506 | ||
214197f9 UW |
8507 | 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com> |
8508 | ||
8509 | * config/sh/tm-sh.h: Remove file. | |
8510 | * config/sh/embed.mt (DEPRECATED_TM_FILE): Remove. | |
8511 | * config/sh/linux.mt (DEPRECATED_TM_FILE): Remove. | |
8512 | * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
8513 | * config/sh/tm-wince.h: Do not include "sh/tm-sh.h". | |
8514 | ||
bac718a6 UW |
8515 | 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com> |
8516 | ||
8517 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT, | |
8518 | DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove. | |
8519 | * remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT, | |
8520 | DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT. | |
8521 | * sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint | |
8522 | sequence if target_shortname is "remote". | |
8523 | ||
de6a76fd DJ |
8524 | 2007-03-27 Anton Blanchard <anton@samba.org> |
8525 | ||
8526 | * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset | |
8527 | instead of wordsize when looking for the LR in a stack frame. | |
8528 | ||
4fc771b8 DJ |
8529 | 2007-03-27 Andreas Schwab <schwab@suse.de> |
8530 | Daniel Jacobowitz <dan@codesourcery.com> | |
8531 | ||
8532 | * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to... | |
8533 | (dwarf2_frame_adjust_regnum): ...this. Make static. Add eh_frame_p | |
8534 | argument. Update all callers. | |
8535 | (struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum. | |
8536 | (dwarf2_frame_set_eh_frame_regnum): Rename to... | |
8537 | (dwarf2_frame_set_adjust_regnum): ...this. Update argument type. | |
8538 | * dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to... | |
8539 | (dwarf2_frame_set_adjust_regnum): ...this. | |
8540 | (dwarf2_frame_eh_frame_regnum): Delete prototype. | |
8541 | * rs6000-tdep.c: Include "dwarf2-frame.h". | |
8542 | (rs6000_adjust_frame_regnum): Define. | |
8543 | (rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder. | |
8544 | Register rs6000_adjust_frame_regnum. | |
8545 | ||
8546 | * Makefile.in (rs6000-tdep.o): Update dependencies. | |
8547 | ||
9453113a DJ |
8548 | 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com> |
8549 | ||
8550 | * Makefile.in: Add support for a "pdf" target. | |
8551 | ||
d2449ee8 DJ |
8552 | 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com> |
8553 | ||
8554 | * amd64-tdep.c (amd64_init_frame_cache): New function. | |
8555 | (amd64_alloc_frame_cache, amd64_skip_prologue): Use it. | |
8556 | ||
a72d8a8e MR |
8557 | 2007-03-26 Nigel Stephens <nigel@mips.com> |
8558 | Maciej W. Rozycki <macro@mips.com> | |
8559 | ||
8560 | * ui-out.c (ui_out_field_core_addr): Truncate address to | |
8561 | TARGET_ADDR_BIT size before printing. | |
8562 | ||
5200c3f3 | 8563 | 2007-03-22 Nigel Stephens <nigel@mips.com> |
a72d8a8e | 8564 | Maciej W. Rozycki <macro@mips.com> |
5200c3f3 L |
8565 | |
8566 | * remote-mips.c (mips_xfer_memory): Update prototype. | |
8567 | ||
16708cba JB |
8568 | 2007-03-22 Joel Brobecker <brobecker@adacore.com> |
8569 | ||
8570 | * symfile.h: #include "symtab.h" | |
8571 | ||
0fe514e3 DP |
8572 | 2007-03-22 Denis Pilat <denis.pilat@st.com> |
8573 | ||
8574 | * utils.c (pagination_on_command, pagination_off_command): | |
8575 | Remove useless prototypes. | |
8576 | ||
4a52dc15 PM |
8577 | 2007-03-21 Pierre Muller <muller@ics.u-strasbg.fr> |
8578 | ||
8579 | Fix PR pascal/2232. | |
8580 | * p-valprint.c (pascal_object_print_value): Use type_name_no_tag | |
8581 | instead of TYPE_NAME for object base class name. | |
8582 | ||
8583 | ||
1c86fa97 KB |
8584 | 2007-03-19 Kevin Buettner <kevinb@redhat.com> |
8585 | ||
8586 | * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id): | |
8587 | Specify frame type in calls to frame_func_unwind(). | |
8588 | ||
4e463ff5 DJ |
8589 | 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com> |
8590 | ||
8591 | * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal. | |
8592 | (rs6000_in_function_epilogue_p): Use extract_unsigned_integer. | |
8593 | (refine_prologue_limit): Delete. | |
8594 | (skip_prologue): Don't call it. Use extract_unsigned_integer. | |
8595 | Assume lim_pc is set. Correct check for incomplete prologues. | |
8596 | Do not skip clobbers of the frame pointer. | |
8597 | * symtab.c (skip_prologue_using_sal): Fail if there is only one | |
8598 | sal. | |
8599 | ||
348473d5 NF |
8600 | 2007-03-13 Nathan Froyd <froydnj@codesourcery.com> |
8601 | ||
8602 | * frame.c (frame_pop): Check to see whether there's a frame to | |
8603 | which we can pop first. | |
8604 | ||
a2f9cf0d NF |
8605 | 2007-03-13 Nathan Froyd <froydnj@codesourcery.com> |
8606 | ||
8607 | * MAINTAINERS (Write After Approval): Add myself. | |
8608 | ||
569631c6 UW |
8609 | 2007-03-09 Markus Deuling <deuling@de.ibm.com> |
8610 | ||
8611 | * infrun.c (breakpoints_failed): Remove unnecessary variable. | |
8612 | (handle_inferior_event): Remove unnecessary braces. | |
8613 | * breakpoint.c (bpstat_what): Remove wrong comment. | |
8614 | ||
fe5febed UW |
8615 | 2007-03-09 Ulrich Weigand <uweigand@de.ibm.com> |
8616 | ||
8617 | * spu-tdep.c (spu_in_function_epilogue_p): New function. | |
8618 | (spu_gdbarch_init): Install it. | |
8619 | ||
9dea8ca2 UW |
8620 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
8621 | ||
8622 | * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported | |
8623 | object types, not 0. | |
8624 | ||
7b3dc0b7 UW |
8625 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
8626 | ||
8627 | * spu-tdep.c (spu_frame_align): New function. | |
8628 | (spu_gdbarch_init): Install it. Set call dummy location to ON_STACK. | |
8629 | ||
118dfbaf UW |
8630 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
8631 | ||
8632 | * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit. | |
8633 | (spu_software_single_step): Likewise. | |
8634 | (spu_read_pc, spu_write_pc): New functions. | |
8635 | (spu_gdbarch_init): Install them. | |
8636 | ||
29e4017d UW |
8637 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
8638 | ||
8639 | * cli/cli-dump.c (struct callback_data): load_offset needs to | |
8640 | have signed long type. | |
8641 | ||
6de5b849 JB |
8642 | 2007-03-07 Joel Brobecker <brobecker@adacore.com> |
8643 | ||
8644 | * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer): | |
8645 | Revert the previous change that had some unexpected side-effects | |
8646 | on mips32. | |
8647 | (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper | |
8648 | function to get the address of the calling instruction. | |
8649 | ||
7490ba4f DP |
8650 | 2007-03-07 Denis Pilat <denis.pilat@st.com> |
8651 | ||
8652 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace | |
8653 | get_selected_frame by deprecated_safe_get_selected_frame. | |
8654 | ||
861fb77c MK |
8655 | 2007-03-02 Mark Kettenis <kettenis@gnu.org> |
8656 | ||
8657 | * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and | |
8658 | "gdb_string.h". Don't include "nbsd-tdep.h". | |
8659 | (SIZEOF_STRUCT_REG): Remove. | |
8660 | (SHNBSD_SIZEOF_GREGS): New. | |
8661 | (shnbsd_supply_gregset, shnbsd_collect_gregset) | |
8662 | (shnbsd_regset_from_core_section): New functions. | |
8663 | (fetch_core_registers, fetch_elfcore_registers): Remove functions. | |
8664 | (shnbsd_supply_reg, shnbsd_fill_reg): Simply call | |
8665 | shnbsd_supply_gregset, shnbsd_collect_gregset. | |
8666 | (shnbsd_gregset): New variable. | |
8667 | (shnbsd_init_abi): Set regset_from_core_section. | |
8668 | (GDB_OSABI_NETBSD_CORE): New define. | |
8669 | (shnbsd_core_osabi_sniffer): New function. | |
8670 | (_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer. | |
8671 | * Makefile.in (shnbsd-tdep.o): Update dependencies. | |
8672 | * config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove | |
8673 | nbsd-tdep.o. | |
8674 | * config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o. | |
8675 | ||
787cbe14 JB |
8676 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
8677 | ||
8678 | * gdbtypes.c (replace_type): Fix typo that caused us to not update | |
8679 | length of the types referenced by the new type CV ring. | |
8680 | ||
35f196d9 DJ |
8681 | 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
8682 | ||
8683 | * frame.c (frame_pop, frame_observer_target_changed): Call | |
8684 | reinit_frame_cache. | |
8685 | (flush_cached_frames): Rename to reinit_frame_cache and delete | |
8686 | old implementation. | |
8687 | * frame.h (flush_cached_frames): Delete prototype and update comment. | |
8688 | ||
8689 | * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call | |
8690 | reinit_frame_cache instead of flush_cached_frames. Do not call | |
8691 | select_frame after reinit_frame_cache. | |
8692 | * corelow.c (core_open): Likewise. | |
8693 | * gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise. | |
8694 | * infrun.c (prepare_to_proceed, context_switch) | |
8695 | (handle_inferior_event): Likewise. | |
8696 | * linux-fork.c (fork_load_infrun_state): Likewise. | |
8697 | * ocd.c (ocd_start_remote): Likewise. | |
8698 | * remote-e7000.c (e7000_start_remote): Likewise. | |
8699 | * remote-mips.c (device): Likewise. | |
8700 | * thread.c (switch_to_thread): Likewise. | |
8701 | * tracepoint.c (finish_tfind_command): Likewise. | |
8702 | * gdbarch.c: Regenerated. | |
8703 | ||
c26f2453 JB |
8704 | 2007-02-28 Jerome Guitton <guitton@adacore.com> |
8705 | Joel Brobecker <brobecker@adacore.com> | |
8706 | ||
8707 | * gdbtypes.c (check_typedef): Do not replace stub type if | |
8708 | the resolved type is not defined in the same objfile. | |
8709 | ||
7d900f1a DJ |
8710 | 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
8711 | ||
8712 | * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion. | |
8713 | ||
76038652 | 8714 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
52eea4ce JB |
8715 | |
8716 | * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN | |
8717 | symbol for Ada units when the symbol is defined using 't' rather | |
8718 | than 'Tt' as symbol descriptor. | |
8719 | ||
d74fb156 | 8720 | 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
1344afe0 UW |
8721 | |
8722 | * config/mips/tm-nbsd.h: Delete file. | |
8723 | * config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
8724 | * config/sh/tm-nbsd.h: Delete file. | |
8725 | * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h. | |
8726 | ||
f8d225db JB |
8727 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
8728 | ||
8729 | * mi/mi-cmd-var.c (varobj_update_one): Remove reference to | |
8730 | unused WRONG_PARAM value since it was recently deleted. | |
8731 | ||
1bbfb19a NR |
8732 | 2007-02-28 Vladimir Prus <vladimir@codesourcery.com> |
8733 | ||
8734 | * varobj.c (varobj_update): Free temporary vectors. | |
8735 | ||
6f7f3f0d UW |
8736 | 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
8737 | ||
8738 | * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h. | |
8739 | * config/powerpc/tm-linux.h: Delete file. | |
8740 | * config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h". | |
8741 | (PROCESS_LINENUMBER_HOOK): Do not undefine. | |
8742 | (TEXT_SEGMENT_BASE): Do not redefine. | |
8743 | * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here | |
8744 | from config/rs6000/tm-rs6000.h. | |
8745 | (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise. | |
8746 | * config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration. | |
8747 | (TEXT_SEGMENT_BASE): Remove. | |
8748 | (IN_SOLIB_RETURN_TRAMPOLINE): Remove. | |
8749 | (rs6000_in_solib_return_trampoline): Remove. | |
8750 | (SKIP_TRAMPOLINE_CODE): Remove. | |
8751 | (rs6000_skip_trampoline_code): Remove. | |
8752 | (CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h. | |
8753 | (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise. | |
8754 | (FP0_REGNUM): Remove. | |
8755 | (rs6000_find_toc_address_hook): Move to rs6000-tdep.h. | |
8756 | (rs6000_set_host_arch_hook): Remove. | |
8757 | * Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h). | |
8758 | (rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h). | |
8759 | * ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base. | |
8760 | * rs6000-aix-tdep.c: Include "ppc-tdep.h". | |
8761 | (rs6000_aix_init_osabi): Set text_segment_base tdep field. | |
8762 | * rs6000-nat.c: Include "rs6000-tdep.h". | |
8763 | (exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field. | |
8764 | (set_host_arch): Rename to ... | |
8765 | (rs6000_create_inferior): ... this. Make public. | |
8766 | (_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook. | |
8767 | * rs6000-tdep.c (rs6000_set_host_arch_hook): Remove. | |
8768 | (rs6000_create_inferior): Remove. | |
8769 | (branch_dest): Replace TEXT_SEGMENT_BASE by tdep field. | |
8770 | (rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum, | |
8771 | set_gdbarch_in_solib_return_trampoline, and | |
8772 | set_gdbarch_skip_trampoline_code. | |
8773 | * rs6000-tdep.h (rs6000_find_toc_address_hook): Move here | |
8774 | from config/rs6000/tm-rs6000.h. | |
8775 | ||
63050a44 | 8776 | 2007-02-27 Joel Brobecker <brobecker@adacore.com> |
05279ca0 JB |
8777 | |
8778 | * buildsym.c (record_producer): Do nothing if no producer is provided. | |
8779 | ||
63050a44 | 8780 | 2007-02-27 Nick Roberts <nickrob@snap.net.nz> |
e0b75a46 NR |
8781 | |
8782 | * varobj.c (varobj_update): Remove unused local. Use gdb_assert | |
8783 | to check changelist is non-NULL. Call error if the frontend tries | |
8784 | to update a non-root variable. | |
8785 | ||
8786 | * varobj.h (enum varobj_update_error): Delete WRONG_PARAM value. | |
8787 | ||
93d42b30 DJ |
8788 | 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
8789 | ||
8790 | * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id) | |
8791 | (dwarf2_frame_sniffer): Update. | |
8792 | (dwarf2_signal_frame_this_id): New function. | |
8793 | (dwarf2_signal_frame_unwind): Use it. | |
8794 | (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block. | |
8795 | * frame.c (frame_func_unwind): Add this_type argument. | |
8796 | (get_frame_func): Update. | |
8797 | (frame_unwind_address_in_block): Add this_type argument and check it. | |
8798 | Fix a typo. | |
8799 | (get_frame_address_in_block): Update. | |
8800 | * frame.h (enum frame_type): Move higher in the file. | |
8801 | (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type | |
8802 | argument. | |
8803 | ||
8804 | * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c, | |
8805 | arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c, | |
8806 | hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c, | |
8807 | libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c, | |
8808 | m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c, | |
8809 | mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c, | |
8810 | score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c, | |
8811 | sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c, | |
8812 | xstormy16-tdep.c, xtensa-tdep.c: Update calls to | |
8813 | frame_func_unwind and frame_unwind_address_in_block to specify | |
8814 | the frame type. Use frame_unwind_address_in_block instead of | |
8815 | frame_pc_unwind in sniffers. | |
8816 | ||
206415a3 DJ |
8817 | 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
8818 | ||
8819 | * frame.c (deprecated_selected_frame): Rename to... | |
8820 | (selected_frame): ...this. Make static. | |
8821 | (get_selected_frame, select_frame): Update. | |
8822 | * frame.h (deprected_select_frame): Delete. | |
8823 | (deprecated_safe_get_selected_frame): Update comments. | |
8824 | ||
8825 | * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c, | |
8826 | infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c, | |
8827 | tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c, | |
8828 | parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c, | |
8829 | tui/tui.c: Replace references to deprecated_selected_frame. | |
8830 | ||
7313566f FF |
8831 | 2007-02-27 Fred Fish <fnf@specifix.com> |
8832 | ||
8833 | * rs6000-tdep.c (skip_prologue): Recognize addi instructions that | |
8834 | directly decrement the stack pointer, accumulate their operand into | |
8835 | the stack offset, and mark the function as not being frameless. | |
8836 | ||
b6d373df DJ |
8837 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
8838 | ||
8839 | * arch-utils.c (selected_byte_order): New. | |
8840 | * arch-utils.h (selected_byte_order): New prototype. | |
8841 | * remote-sim.c (gdbsim_open): Use selected_byte_order. | |
8842 | ||
2711e456 DJ |
8843 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
8844 | ||
8845 | * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA. | |
8846 | (default_symfile_offsets): Check VMA here. Update section VMAs. | |
8847 | ||
baef701f DJ |
8848 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
8849 | ||
8850 | * remote.c (init_remote_state): Add special handling for placeholder | |
8851 | registers. | |
8852 | ||
05a4558a DJ |
8853 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
8854 | ||
8855 | * Makefile.in (XMLFILES): Include $(TDEP_XML). | |
8856 | (filenames_h): New variable. | |
8857 | (clean): Clean up xml-builtin.c and stamp-xml. | |
8858 | (arm-linux-nat.o): Update. | |
8859 | * config/arm/linux.mh (TDEP_XML): Define. | |
8860 | * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. | |
8861 | (arm_linux_has_wmmx_registers): New. | |
8862 | (GET_THREAD_ID): Fix typo. | |
8863 | (IWMMXT_REGS_SIZE): Define. | |
8864 | (fetch_wmmx_regs, store_wmmx_regs): New. | |
8865 | (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs. | |
8866 | (arm_linux_store_inferior_registers): Use store_wmmx_regs. | |
8867 | (super_xfer_partial, arm_linux_xfer_partial): New. | |
8868 | (_initialize_arm_linux_nat): Use them. | |
8869 | * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT. | |
8870 | (xml_builtin_xfer_partial): New function. | |
8871 | * xml-support.h (xml_builtin_xfer_partial): New prototype. | |
8872 | * NEWS: Update mention of iWMMXt support. | |
8873 | ||
ff6f572f DJ |
8874 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
8875 | ||
8876 | * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves | |
8877 | if there are no FPA registers. | |
8878 | (arm_dwarf_reg_to_regnum): New function. | |
8879 | (arm_register_type, arm_register_name): Return minimal values for | |
8880 | unsupported registers. | |
8881 | (arm_register_sim_regno): Handle iWMMXt registers. | |
8882 | (arm_gdbarch_init): Record missing FPA registers if indicated by | |
8883 | a target description. Recognize iWMMXt registers. Only register | |
8884 | "info float" for FPA. Use ARM_NUM_REGS. Register | |
8885 | arm_dwarf_reg_to_regnum. | |
8886 | * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt | |
8887 | constants. | |
8888 | (struct gdbarch_tdep): Add have_fpa_registers. | |
8889 | * features/xscale-iwmmxt.xml: Update capitalization. | |
8890 | * regformats/arm-with-iwmmxt.dat: Regenerated. | |
8891 | ||
c077150c KB |
8892 | 2007-02-24 Kevin Buettner <kevinb@redhat.com> |
8893 | ||
8894 | * NEWS (New targets): Add entry for the Toshiba Media Processor. | |
8895 | ||
01c996c1 KB |
8896 | 2007-02-23 Kevin Buettner <kevinb@redhat.com> |
8897 | ||
8898 | * MAINTAINERS (mep): New target. | |
8899 | ||
aeb43123 KB |
8900 | 2007-02-23 Kevin Buettner <kevinb@redhat.com> |
8901 | ||
8902 | From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and | |
8903 | Richard Sandiford: | |
8904 | * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables. | |
8905 | (mep-tdep.o): New rule. | |
8906 | * configure.tgt (mep-*-*): New target. | |
8907 | * mep-tdep.c: New file. | |
8908 | * config/mep/mep.mt: New file. | |
8909 | ||
115d86cf UW |
8910 | 2007-02-22 Markus Deuling <deuling@de.ibm.com> |
8911 | ||
8912 | * infrun.c (inferior_stop_reason, print_stop_reason): Remove | |
8913 | BREAKPOINT_HIT and STOP_UNKNOWN. | |
8914 | ||
fef862e5 UW |
8915 | 2007-02-22 Markus Deuling <deuling@de.ibm.com> |
8916 | ||
8917 | * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT. | |
8918 | ||
9a7d5afb JB |
8919 | 2007-02-20 Joel Brobecker <brobecker@adacore.com> |
8920 | ||
8921 | * gdb_expat.h (XMLCALL): Define if not already defined. | |
8922 | ||
81de920d AS |
8923 | 2007-02-20 Andreas Schwab <schwab@suse.de> |
8924 | ||
8925 | * Makefile.in (symfile.o): Update dependencies. | |
8926 | ||
cb5c8c39 DJ |
8927 | 2007-02-20 Daniel Jacobowitz <dan@codesourcery.com> |
8928 | ||
8929 | * MAINTAINERS: Disable -Werror for cris simulator. Build | |
8930 | sparc64-solaris2.10 instead of the broken sparc-elf. | |
8931 | * solib-frv.c: Include "solib.h". | |
8932 | * Makefile.in (solib-frv.o): Update. | |
8933 | * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch. | |
8934 | * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int. | |
8935 | (xtensa_frame_this_id, xtensa_frame_prev_register) | |
8936 | (xtensa_push_dummy_call): Use %p. | |
8937 | ||
e6bb342a DJ |
8938 | 2007-02-16 Daniel Jacobowitz <dan@codesourcery.com> |
8939 | ||
8940 | * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, | |
8941 | ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c, | |
8942 | sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". | |
8943 | * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o) | |
8944 | (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o) | |
8945 | (sparc-linux-tdep.o): Update. | |
8946 | ||
ff7a4c00 MG |
8947 | 2007-02-15 Maxim Grigoriev <maxim2405@gmail.com> |
8948 | ||
8949 | * xtensa-tdep.h (xtensa_reg_mask_t): New. | |
8950 | (xtensa_mask_t): Change mask field to be a separate array. | |
8951 | * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read) | |
8952 | (xtensa_pseudo_register_write, xtensa_unwind_pc) | |
8953 | (xtensa_unwind_dummy_id, xtensa_push_dummy_call) | |
8954 | (xtensa_breakpoint_from_pc): Remove implicit type casting. | |
8955 | * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5) | |
8956 | (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13) | |
8957 | (mask14, mask15): Rename to | |
8958 | (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3) | |
8959 | (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7) | |
8960 | (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11) | |
8961 | (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this. | |
8962 | (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3) | |
8963 | (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7) | |
8964 | (xtensa_submask8, xtensa_submask9, xtensa_submask10) | |
8965 | (xtensa_submask11, xtensa_submask12, xtensa_submask13) | |
8966 | (xtensa_submask14, xtensa_submask15): New. | |
8967 | (rmap): Follow strict aliasing rules doing static initialization. | |
8968 | ||
d9cc5895 DJ |
8969 | 2007-02-13 Daniel Jacobowitz <dan@codesourcery.com> |
8970 | ||
8971 | * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr | |
8972 | handling from here... | |
8973 | (tdesc_register_type): ...to here. | |
8974 | * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr. | |
8975 | * features/arm-core.xml: Use code_ptr and data_ptr. | |
8976 | ||
8756216b DP |
8977 | 2007-02-13 Denis Pilat <denis.pilat@st.com> |
8978 | ||
8979 | * varobj.h (enum varobj_update_error): New enum. | |
8980 | * varobj.c (struct varobj_root): Add is_valid member. | |
8981 | (varobj_get_type): Check for invalid varobj. | |
8982 | (varobj_get_attributes): Likewise. | |
8983 | (variable_editable):Likewise. | |
8984 | (varobj_update): Likewise. Use varobj_update_error. | |
8985 | (new_root_variable): Set root varobj as valid by default. | |
8986 | (varobj_invalidate): New function. | |
8987 | * symfile.c (clear_symtab_users): Use varobj_invalidate. | |
8988 | * mi/mi-cmd-var.c (varobj_update_one): Change return type to void. | |
8989 | Use varobj_update_error. | |
8990 | ||
fe8e67fd PM |
8991 | 2007-02-12 Pierre Muller <muller@ics.u-strasbg.fr> |
8992 | ||
8993 | Fix PR pascal/2223. | |
8994 | * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as | |
8995 | Pascal language marker. | |
8996 | * dwarf2read.c (set_cu_language): Likewise. | |
8997 | ||
c44537cf CV |
8998 | 2007-02-12 Corinna Vinschen <vinschen@redhat.com> |
8999 | ||
9000 | * win32-nat.c (win32_wait): Reset terminal pgrp to GDB. | |
9001 | (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp | |
9002 | instead of target_terminal_init since inferior_ptid isn't set yet. | |
9003 | ||
20dad8ea PA |
9004 | 2007-02-10 Pedro Alves <pedro_alves@portugalmail.pt> |
9005 | ||
9006 | * MAINTAINERS (Write After Approval): Add myself. | |
9007 | ||
4ac94eda FF |
9008 | 2007-02-09 Fred Fish <fnf@specifix.com> |
9009 | ||
9010 | Based on work by Apple Computer, Inc. | |
9011 | * event-top.c (async_request_quit): Call quit() whenever either | |
9012 | quit_flag is set or immediate_quit is set. | |
9013 | ||
b260b6c1 GDR |
9014 | 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net> |
9015 | ||
9016 | * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's | |
9017 | type to a pointer to const struct block. | |
9018 | (ada_lookup_symbol_list): Don't cast away constness when calling | |
9019 | remove_out_of_scope_renamings. | |
9020 | ||
9021 | 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net> | |
9022 | ||
9023 | * linux-nat.c (linux_nat_find_memory_regions): Don't check the | |
9024 | address of 'filename'; it is always non null. | |
9025 | ||
0f5d55d8 JB |
9026 | 2007-02-09 Joel Brobecker <brobecker@adacore.com> |
9027 | ||
9028 | * exec.c (add_to_section_table): Do not discard empty sections. | |
9029 | ||
fb1e4ffc DJ |
9030 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
9031 | ||
9032 | * features/Makefile, features/arm-with-iwmmxt.xml, | |
9033 | features/gdbserver-regs.xsl, features/number-regs.xsl, | |
9034 | features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files. | |
9035 | * regformats/arm-with-iwmmxt.dat: Generate. | |
9036 | * NEWS: Mention iWMMXt. | |
9037 | ||
123dc839 DJ |
9038 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
9039 | ||
9040 | * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o) | |
9041 | (xml-tdesc.o): Update. | |
9042 | * xml-support.c: Add a comment. | |
9043 | (gdb_xml_enums_boolean): New variable. | |
9044 | (gdb_xml_parse_attr_enum): Use strcasecmp. | |
9045 | * xml-support.h (gdb_xml_enums_boolean): Declare. | |
9046 | * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature, | |
9047 | next_regnum, and current_union. | |
9048 | (tdesc_start_feature, tdesc_start_reg, tdesc_start_union) | |
9049 | (tdesc_end_union, tdesc_start_field, tdesc_start_vector) | |
9050 | (field_attributes, union_children, reg_attributes, union_attributes) | |
9051 | (vector_attributes, feature_attributes, feature_children): New. | |
9052 | (target_children): Make static. Add <feature>. | |
9053 | (tdesc_elements): Make static. | |
9054 | * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p) | |
9055 | (struct tdesc_feature, tdesc_feature_p): New types. | |
9056 | (struct target_desc): Add features member. | |
9057 | (struct tdesc_arch_data, tdesc_data): New. | |
9058 | (target_find_description): Clarify error message. Warn about | |
9059 | ignored register descriptions. | |
9060 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) | |
9061 | (tdesc_named_type, tdesc_data_init, tdesc_data_alloc) | |
9062 | (tdesc_data_cleanup, tdesc_numbered_register) | |
9063 | (tdesc_numbered_register_choices, tdesc_find_register) | |
9064 | (tdesc_register_name, tdesc_register_type) | |
9065 | (tdesc_remote_register_number, tdesc_register_reggroup_p) | |
9066 | (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type) | |
9067 | (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers) | |
9068 | (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature) | |
9069 | (tdesc_create_feature, tdesc_record_type): New. | |
9070 | (free_target_description): Free features. | |
9071 | (_initialize_target_descriptions): Initialize tdesc_data. | |
9072 | * arch-utils.c (default_remote_register_number): New. | |
9073 | * arch-utils.h (default_remote_register_number): New prototype. | |
9074 | * target-descriptions.h (set_tdesc_pseudo_register_name) | |
9075 | (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p) | |
9076 | (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup) | |
9077 | (tdesc_numbered_register, tdesc_numbered_register_choices) | |
9078 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) | |
9079 | (tdesc_named_type, tdesc_create_feature, tdesc_record_type) | |
9080 | (tdesc_create_reg): Declare. | |
9081 | * gdbarch.sh (remote_register_number): New entry. | |
9082 | * gdbarch.c, gdbarch.h: Regenerate. | |
9083 | * remote.c (init_remote_state): Use gdbarch_remote_register_number. | |
9084 | * features/gdb-target.dtd: Add feature, reg, vector, union, and field. | |
9085 | ||
9086 | * arm-tdep.c (arm_register_aliases): New. | |
9087 | (arm_register_name_strings): Rename to... | |
9088 | (arm_register_names): ...this. Make const. Delete the old version. | |
9089 | (current_option, arm_register_byte): Delete. | |
9090 | (set_disassembly_style): Simplify. Do not adjust arm_register_names. | |
9091 | (value_of_arm_user_reg): New. | |
9092 | (arm_gdbarch_init): Verify any described registers. Call | |
9093 | tdesc_use_registers. Don't use arm_register_byte. Create aliases | |
9094 | for standard register names. | |
9095 | (_initialize_arm_tdep): Do not adjust arm_register_names. | |
9096 | * user-regs.c (struct user_reg): Add baton member. | |
9097 | (append_user_reg, user_reg_add_builtin, user_regs_init) | |
9098 | (user_reg_add, value_of_user_reg): Use a baton for user | |
9099 | register functions. | |
9100 | * std-regs.c: Update. | |
9101 | * user-regs.h (user_reg_read_ftype, user_reg_add_builtin) | |
9102 | (user_reg_add): Add baton argument. | |
9103 | * NEWS: Mention target description register support. | |
9104 | * features/arm-core.xml, features/arm-fpa.xml: New. | |
9105 | * eval.c (evaluate_subexp_standard): Allow ptype $register | |
9106 | when the program is not running. | |
9107 | ||
87604222 NR |
9108 | 2007-02-09 Nick Roberts <nickrob@snap.net.nz> |
9109 | ||
9110 | * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field. | |
9111 | ||
ee4f0f76 DJ |
9112 | 2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com> |
9113 | ||
9114 | * rs6000-tdep.c (gdb_print_insn_powerpc): Set | |
9115 | info->disassembler_options to "any". | |
9116 | ||
7af9851d DJ |
9117 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
9118 | ||
9119 | * varobj.c (install_new_value): Only call value_get_print_value | |
9120 | if changeable. | |
9121 | ||
8944021f DJ |
9122 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
9123 | ||
9124 | Reported by timeless@gmail.com: | |
9125 | * gdb/target.c (target_flash_erase): Do not return void value. | |
9126 | (target_flash_done): Likewise. | |
9127 | * gdb/cli/cli-cmds.c (source_command): Likewise. | |
9128 | ||
9129 | 2007-02-08 Fred Fish <fnf@specifix.com> | |
5f960e00 | 9130 | |
4ac94eda | 9131 | Based on work by Apple Computer, Inc. |
5f960e00 FF |
9132 | * event-top.c (handle_sigint): Set quit_flag. |
9133 | (async_request_quit): Don't set quit_flag. Avoid calling quit() | |
9134 | if quit_flag has already been reset. | |
9135 | ||
4998c1df DJ |
9136 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
9137 | ||
9138 | * ser-mingw.c (pipe_windows_close): Move variable initialization back | |
9139 | up. | |
9140 | ||
79da184e FF |
9141 | 2007-02-08 Fred Fish <fnf@specifix.com> |
9142 | ||
9143 | * defs.h (request_quit): Remove declaration. | |
9144 | * utils.c (request_quit): Remove definition. | |
9145 | ||
3c77c82a DJ |
9146 | 2007-02-08 Joel Brobecker <brobecker@gnat.com> |
9147 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
9148 | Daniel Jacobowitz <dan@codesourcery.com> | |
9149 | ||
9150 | * rs6000-tdep.c (bl_to_blrl_insn_p): New function. | |
9151 | (skip_prologue): Allow bl->blrl used by PIC code. | |
9152 | ||
c1b6e682 DJ |
9153 | 2007-02-08 Mark Kettenis <kettenis@gnu.org> |
9154 | Daniel Jacobowitz <dan@codesourcery.com> | |
9155 | ||
9156 | * cp-valprint.c (cp_print_value_fields, cp_print_value): Always | |
9157 | initialize tmp_obstack. | |
9158 | * p-valprint.c (pascal_object_print_value_fields) | |
9159 | (pascal_object_print_value): Likewise. | |
9160 | ||
fe5dedf4 DJ |
9161 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
9162 | ||
9163 | * features/feature_to_c.sh: Use %s to avoid problems with nawk. | |
9164 | ||
3e461478 MK |
9165 | 2007-02-08 Mark Kettenis <kettenis@gnu.org> |
9166 | ||
9167 | * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". | |
9168 | * Makefile.in (sparcnbsd-tdep.o): Update dependencies. | |
9169 | ||
fc6e0168 DJ |
9170 | 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
9171 | ||
9172 | * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s) | |
9173 | (xml_cache): New. | |
9174 | (tdesc_parse_xml): Cache expanded descriptions. | |
9175 | ||
108546a0 DJ |
9176 | 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
9177 | ||
9178 | * Makefile.in (XMLFILES): New. | |
9179 | (COMMON_OBS): Add xml-builtin.o. | |
9180 | (xml-builtin.c, stamp-xml): New rules. | |
9181 | (xml-tdesc.o): Update. | |
9182 | * features/feature_to_c.sh: New file. | |
9183 | * xml-support.c (MAX_XINCLUDE_DEPTH): Define. | |
9184 | (struct gdb_xml_parser): Add dtd_name and is_xinclude. | |
9185 | (gdb_xml_start_element): Initialize scope after possibly reallocating | |
9186 | scopes. Move cleanup later. Handle the XInclude description | |
9187 | specially. | |
9188 | (gdb_xml_end_element): Only parse the body if there is a current element. | |
9189 | Call XML_DefaultCurrent if there is no element. | |
9190 | (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New. | |
9191 | (struct xinclude_parsing_data, xinclude_start_include) | |
9192 | (xinclude_end_include, xml_xinclude_default) | |
9193 | (xml_xinclude_start_doctype, xml_xinclude_end_doctype) | |
9194 | (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes) | |
9195 | (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New. | |
9196 | * xml-support.h (xml_fetch_another, xml_process_xincludes) | |
9197 | (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations. | |
9198 | * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand | |
9199 | XInclude directives. Use the compiled in DTD. | |
9200 | (fetch_xml_from_file): Add baton argument. Treat it as a containing | |
9201 | directory name. Do not warn here. | |
9202 | (file_read_description_xml): Update call. Warn here instead. Pass | |
9203 | a dirname as baton. | |
9204 | (fetch_available_features_from_target): New. | |
9205 | (target_read_description_xml): Use it. | |
9206 | * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd | |
9207 | to handle XInclude. | |
9208 | * features/xinclude.dtd: New file. | |
9209 | ||
b5057acd DJ |
9210 | 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com> |
9211 | ||
9212 | * linux-thread-db.c (check_for_thread_db): Return early if we have | |
9213 | no libthread_db support. | |
9214 | ||
6a089cf2 DJ |
9215 | 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com> |
9216 | ||
9217 | * mi/mi-parse.h: Include <sys/time.h>. | |
9218 | ||
9fbcbb40 NR |
9219 | 2007-02-05 Nick Roberts <nickrob@snap.net.nz> |
9220 | ||
9221 | * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print | |
9222 | instead of print_variable_value to print values. | |
9223 | ||
b3d2152a NR |
9224 | 2007-02-03 Nick Roberts <nickrob@snap.net.nz> |
9225 | ||
9226 | * mi/mi-main.c: Numerous formatting changes. | |
9227 | (mi_cmd_data_write_register_values): Replace clause inadvertantly | |
9228 | removed in my previous change. | |
9229 | ||
79f0a97a NR |
9230 | 2007-02-03 Eli Zaretskii <eliz@gnu.org> |
9231 | ||
9232 | * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now): | |
9233 | Use 1000000L instead of 1000000. | |
9234 | ||
95a98c01 | 9235 | 2007-02-03 Nick Roberts <nickrob@snap.net.nz> |
cd375699 NR |
9236 | |
9237 | Based on work by Apple Computer, Inc. | |
9238 | ||
9239 | * configure.ac: Test for sys/resource.h and getrusage. | |
9240 | * configure, config.in: Regenerate. | |
9241 | ||
9242 | * mi/mi-main.c: Include <sys/resource.h> if present. | |
9243 | (rusage): Declare if HAVE_GETRUSAGE. | |
9244 | (current_command_ts, do_timings): New static variables. | |
9245 | (timestamp, print_diff_now, print_diff, timeval_diff): | |
9246 | New static timing functions. | |
9247 | (mi_cmd_enable_timings): New function for new MI command. | |
9248 | (captured_mi_execute_command, mi_execute_async_cli_command): | |
9249 | Call timing functions. | |
9250 | ||
9251 | * mi/mi-cmds.c (mi_cmds): Add entry for new MI command | |
9252 | -enable-timings. | |
9253 | ||
9254 | * mi/mi-cmds.h (mi_cmd_enable_timings): New extern. | |
9255 | ||
9256 | * mi/mi-parse.h: (mi_timestamp): New structure. | |
9257 | (mi_parse): Add mi_timestamp* member. | |
9258 | ||
99b3d574 DP |
9259 | 2007-02-02 Denis Pilat <denis.pilat@st.com> |
9260 | ||
9261 | * thread.c (make_cleanup_restore_current_thread): New function. | |
9262 | (info_threads_command): Use of make_cleanup_restore_current_thread | |
9263 | to restore the current thread and the selected frame. | |
9264 | (restore_selected_frame): New function. | |
9265 | (struct current_thread_cleanup): Add frame_id field. | |
9266 | (do_restore_current_thread_cleanup): Add restoring of the selected | |
9267 | frame. | |
9268 | (make_cleanup_restore_current_thread): Likewise. | |
9269 | (thread_apply_all_command): backup the selected frame while | |
9270 | entering the function and restore it at exit. | |
9271 | (thread_apply_command): Likewise. | |
9272 | ||
d3c598de DP |
9273 | 2007-02-02 Denis Pilat <denis.pilat@st.com> |
9274 | ||
9275 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
9276 | ||
b69733ab | 9277 | 2007-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
3e41d55f KI |
9278 | |
9279 | * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask. | |
9280 | (m32r_store_register): Ditto. | |
9281 | ||
b69733ab | 9282 | 2007-01-30 Vladimir Prus <vladimir@codesourcery.com> |
ef7723eb VP |
9283 | |
9284 | * ser-mingw.c (pipe_windows_open) | |
9285 | (pipe_windows_read, pipe_windows_write): Declare | |
9286 | variables at the top of the function. | |
9287 | ||
8da61cc4 DJ |
9288 | 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com> |
9289 | ||
9290 | * doublest.c (floatformat_from_length): Use the right element from | |
9291 | gdbarch floatformats. | |
9292 | (floatformat_from_type, extract_typed_floating) | |
9293 | (store_typed_floating): Likewise. | |
9294 | * doublest.h: Remove declarations for undefined floatformat arrays. | |
9295 | * gdbarch.sh (float_format, double_format, long_double_format): Change | |
9296 | to pairs. | |
9297 | (pformat): Update for pairs. | |
9298 | * gdbarch.c, gdbarch.h: Regenerated. | |
9299 | * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double) | |
9300 | (floatformats_ieee_double_littlebyte_bigword) | |
9301 | (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext) | |
9302 | (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f) | |
9303 | (floatformats_vax_d): New variables. | |
9304 | (builtin_type_ieee_single, builtin_type_ieee_double) | |
9305 | (builtin_type_arm_ext, builtin_type_ia64_spill) | |
9306 | (builtin_type_ia64_quad): Replace arrays with individual types. | |
9307 | (builtin_type_ieee_single_big, builtin_type_ieee_single_little) | |
9308 | (builtin_type_ieee_double_big, builtin_type_ieee_double_little) | |
9309 | (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext) | |
9310 | (builtin_type_m88110_ext, builtin_type_m88110_harris_ext) | |
9311 | (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword) | |
9312 | (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little) | |
9313 | (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete | |
9314 | unused and endian-specific types. | |
9315 | (recursive_dump_type): Update for floatformat pairs. | |
9316 | (build_flt): Move higher. Handle bit == -1. Take a floatformat pair. | |
9317 | (build_gdbtypes): Use build_flt. | |
9318 | (_initialize_gdbtypes): Update set of initialized types. | |
9319 | * gdbtypes.h: Update declarations to match gdbtypes.c. | |
9320 | (struct main_type): Store a pointer to two floatformats. | |
9321 | * arch-utils.c (default_float_format, default_double_format): Delete. | |
9322 | * arch-utils.h (default_float_format, default_double_format): Delete. | |
9323 | ||
9324 | * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, | |
9325 | ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c, | |
9326 | mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c, | |
9327 | sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c, | |
9328 | vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update. | |
9329 | ||
87680a14 JB |
9330 | 2007-01-29 Joel Brobecker <brobecker@adacore.com> |
9331 | ||
9332 | * target.c (maintenance_print_target_stack): New function. | |
9333 | (initialize_targets): Add new "maintenance print target-stack" | |
9334 | command. | |
9335 | ||
1c3d648d MK |
9336 | 2007-01-28 Mark Kettenis <kettenis@gnu.org> |
9337 | ||
9338 | * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero. | |
9339 | ||
607269ae DJ |
9340 | 2007-01-27 Daniel Jacobowitz <dan@codesourcery.com> |
9341 | ||
9342 | * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long. | |
9343 | (struct dwarf2_loclist_baton): Likewise. | |
9344 | ||
40c03ae8 EZ |
9345 | 2007-01-27 Eli Zaretskii <eliz@gnu.org> |
9346 | ||
9347 | * cli/cli-script.c: Include breakpoint.h. | |
9348 | (build_command_line): Require arguments only for if and while | |
9349 | commands. | |
9350 | (get_command_line, execute_user_command, execute_control_command): | |
9351 | Fix wording of warning messages. | |
9352 | (print_command_lines): Print breakpoint commands. | |
9353 | (execute_control_command): Call commands_from_control_command to | |
9354 | handle the `commands' command inside a body of a flow-control | |
9355 | command. | |
9356 | (read_next_line): Recognize the `commands' command and build a | |
9357 | command line structure for it. | |
9358 | (recurse_read_control_structure, read_command_lines): Handle | |
9359 | `commands' similarly to `if' and `while'. | |
9360 | ||
9361 | * breakpoint.c (get_number_trailer): Document the special meaning | |
9362 | of NULL as the first argument PP. | |
9363 | (commands_from_control_command): New function. | |
9364 | ||
9365 | * breakpoint.h (commands_from_control_command): Add prototype. | |
9366 | ||
9367 | * defs.h (commands_control): New enumerated value for enum | |
9368 | command_control_type. | |
9369 | ||
4b9eee8c JB |
9370 | 2007-01-26 Joel Brobecker <brobecker@adacore.com> |
9371 | ||
9372 | * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name. | |
9373 | (ada_exception_sal): Update accordingly. | |
9374 | ||
e1f48ead JK |
9375 | 2007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com> |
9376 | ||
9377 | * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs. | |
9378 | * NEWS: Describe CHAR array vs. string identifcation rules. | |
9379 | ||
e150acc7 PB |
9380 | 2007-01-25 Paul Brook <paul@codesourcery.com> |
9381 | ||
9382 | * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error. | |
9383 | ||
10fb19b6 JB |
9384 | 2007-01-24 Jim Blandy <jimb@codesourcery.com> |
9385 | ||
9386 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location | |
9387 | expression is empty, bother to return the 'optimized out' value we | |
9388 | construct. (Thanks to Carl Burch.) | |
9389 | ||
85d93f1d VP |
9390 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
9391 | ||
9392 | * varobj.c (c_value_of_root, c_value_of_child) | |
9393 | (cplus_describe_child): Don't call release_value. | |
9394 | ||
fcbd8a5c TS |
9395 | 2007-01-24 Thiemo Seufer <ths@mips.com> |
9396 | ||
9397 | * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct | |
9398 | initialization. | |
9399 | ||
2024f65a VP |
9400 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
9401 | ||
9402 | Refactor getting children name, value and type access | |
9403 | for varobjs in C++. | |
9404 | * varobj.c (get_type_deref): Remove. | |
9405 | (adjust_value_for_child_access): New. | |
9406 | (c_number_of_children): Use the above. | |
9407 | (c_describe_child): Likewise. | |
9408 | (enum accessibility): New. | |
9409 | (match_accessibility): New function. | |
9410 | (cplus_describe_child): New function. | |
9411 | (cplus_name_of_child, cplus_value_of_child) | |
9412 | (cplus_type_of_child): Reimplement in terms | |
9413 | of cplus_describe_child. | |
9414 | (cplus_number_of_children): Use | |
9415 | adjust_value_for_child_access. | |
9416 | ||
6e2a9270 VP |
9417 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
9418 | ||
9419 | Fix computation of the 'editable' attribute and | |
9420 | value changeability for for references. | |
9421 | * varobj.c (get_value_type): New function. | |
9422 | (c_variable_editable): Use get_value_type. | |
9423 | (varobj_value_is_changeable): Likewise. | |
9424 | ||
56163ce1 JB |
9425 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
9426 | ||
9427 | * source.c (find_and_open_source): Try rewriting the source | |
9428 | path inside filename if dirname is NULL. | |
9429 | ||
8c6860bb JB |
9430 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
9431 | ||
9432 | * dwarf2read.c (add_partial_symbol): Create an extra partial | |
9433 | symbol in the VAR_DOMAIN for Ada structures, unions or enums. | |
9434 | (new_symbol): Likewise for symbols. | |
9435 | ||
6db6d2ca NR |
9436 | 2007-01-24 Nick Roberts <nickrob@snap.net.nz> |
9437 | ||
9438 | * mi/mi-main.c (mi_cmd_execute): Call free_all_values. | |
9439 | ||
7d85ee02 VP |
9440 | 2007-01-23 Vladimir Prus <vladimir@codesourcery.com> |
9441 | ||
9442 | * value.c (value_primitive_field): Copy the full 'location' | |
9443 | contents, instead of assuming that copying ADDRESS will | |
9444 | bring over everything in the union. Remove obsolete comment. | |
9445 | ||
f79b9530 DJ |
9446 | 2007-01-23 Masaki Muranaka <monaka@monami-software.com> |
9447 | ||
9448 | * m32c-tdep.c (make_regs, m32c_analyze_prologue) | |
9449 | (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer) | |
9450 | (m32c_m16c_pointer_to_address): Separate code from declarations. | |
9451 | ||
08d8bcd7 DJ |
9452 | 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com> |
9453 | ||
9454 | * target.c (update_current_target): Correct typo. | |
9455 | ||
57fdbbbe CV |
9456 | 2007-01-22 Masaki Muranaka <monaka@monami-software.com> |
9457 | ||
9458 | * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a | |
9459 | declaration. | |
9460 | ||
58894217 JK |
9461 | 2007-01-11 Andrew Cagney <cagney@redhat.com> |
9462 | Daniel Jacobowitz <dan@codesourcery.com> | |
9463 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
9464 | ||
9465 | * dwarf2-frame.c (execute_cfa_program): New support of | |
9466 | `DW_CFA_GNU_negative_offset_extended'. | |
9467 | ||
9ebce043 DJ |
9468 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
9469 | ||
9470 | * NEWS: Mention flash support for "load" and new remote packets. | |
9471 | ||
973d738b DJ |
9472 | 2007-01-21 Markus Deuling <deuling@de.ibm.com> |
9473 | ||
9474 | * breakpoint.c (delete_command): Skip redundant loop iterations. | |
9475 | ||
7b9ee6a8 DJ |
9476 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
9477 | ||
9478 | * gdbarch.sh (register_type): Update comment. | |
9479 | * gdbarch.h: Regenerated. | |
9480 | * arch-utils.c (generic_register_size): Call register_type. | |
9481 | * ia64-tdep.c (ia64_extract_return_value): Likewise. | |
9482 | * m32c-tdep.c (check_for_saved): Likewise. | |
9483 | * mips-tdep.c (mips_print_register, print_gp_register_row) | |
9484 | (mips_print_registers_info): Likewise. | |
9485 | * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write): | |
9486 | Likewise. | |
9487 | * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write) | |
9488 | (sh64_do_register, sh64_print_register) | |
9489 | (sh64_media_print_registers_info): Likewise. | |
9490 | * tui/tui-regs.c (tui_register_format): Likewise. | |
9491 | ||
11309657 DJ |
9492 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
9493 | ||
9494 | * objfiles.h (ALL_PRIMARY_SYMTABS): Define. | |
9495 | ||
9496 | * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list) | |
9497 | (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS. | |
9498 | * cp-support.c (make_symbol_overload_list_qualified): Likewise. | |
9499 | * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
9500 | (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols) | |
9501 | (make_symbol_completion_list): Likewise. | |
9502 | ||
cb1df416 DJ |
9503 | 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
9504 | Daniel Jacobowitz <dan@codesourcery.com> | |
9505 | ||
9506 | * buildsym.c (end_symtab): Use preallocated symtab if available. | |
9507 | Fill in SYMBOL_SYMTAB. | |
9508 | * buildsym.h (struct subfile): Add symtab member. | |
9509 | * dwarf2read.c (struct dwarf2_cu): Add line_header. | |
9510 | (struct file_entry): Add symtab. | |
9511 | (free_cu_line_header): New function. | |
9512 | (read_file_scope): Use it. Save line_header in the cu. Process | |
9513 | lines before DIEs. | |
9514 | (add_file_name): Initialize new symtab member. | |
9515 | (dwarf_decode_lines): Create symtabs for included files. | |
9516 | (new_symbol): Set SYMBOL_SYMTAB. | |
9517 | * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB. | |
9518 | (search_symbols): Likewise. | |
9519 | * symtab.h (struct symbol): Add symtab member. | |
9520 | (SYMBOL_SYMTAB): Define. | |
9521 | ||
727da900 DJ |
9522 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
9523 | ||
9524 | * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO. | |
9525 | ||
7b6b9e83 DJ |
9526 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
9527 | ||
9528 | * arch-utils.c (show_endian): Correct reversed condition. | |
9529 | ||
e767400c JK |
9530 | 2007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
9531 | ||
9532 | * MAINTAINERS (Write After Approval): Add myself. | |
9533 | ||
b20d8971 VP |
9534 | 2007-01-16 Daniel Jacobowitz <dan@codesourcery.com> |
9535 | Vladimir Prus <vladimir@codesourcery.com> | |
9536 | ||
9537 | Fix 'selected frame' varobjs. | |
9538 | * varobj.c (struct varobj): Remove the error field. | |
9539 | (varobj_set_value): Don't check var->error. | |
9540 | (install_new_value): Don't set var->error. | |
9541 | (varobj_update): Always pass the new value | |
9542 | of the root via install_new_value. | |
9543 | (create_child): Don't set error field. | |
9544 | (new_variable): Likewise. | |
9545 | (c_value_of_root): Always reevaluate the value | |
9546 | of selected frame varobjs in the selected frame. | |
9547 | Don't call reinit_frame_cache. | |
9548 | ||
7ef2b397 JB |
9549 | 2007-01-15 Joel Brobecker <brobecker@adacore.com> |
9550 | ||
9551 | * source.c (_initialize_source): Improve the help text of | |
9552 | the substitute-path commands. | |
9553 | ||
1208538e MK |
9554 | 2007-01-14 Mark Kettenis <kettenis@gnu.org> |
9555 | ||
9556 | * frv-tdep.c (frv_gdbarch_init, frv_register_name) | |
9557 | (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address) | |
9558 | (frv_skip_prologue): Remove prototypes. | |
9559 | (frv_adjust_breakpoint_address): Renamed from | |
9560 | frv_gdbarch_adjust_breakpoint_address. | |
9561 | (frv_gdbarch_init): Adjust. | |
9562 | ||
765f065a MK |
9563 | 2007-01-13 Mark Kettenis <kettenis@gnu.org> |
9564 | ||
5e66aab2 MK |
9565 | * gdbarch.sh (deprecated_extract_return_value) |
9566 | (deprecated_store_return_value): Remove. | |
9567 | (extract_return_value, store_return_value): Remove default values. | |
9568 | * gdbarch.c, gdbarch.h: Regenerate. | |
9569 | * arch-utils.c, arch-utils.h (legacy_extract_return_value) | |
9570 | (legacy_store_return_value): Remove. | |
9571 | * regcache.c, regcache.h (deprecated_grub_regcache_for_registers): | |
9572 | Remove. | |
9573 | ||
56178203 MK |
9574 | * mi/mi-main.c: Remove obsolete comment. |
9575 | ||
23303b2e MK |
9576 | * regcache.c, regcache.h (deprecated_register_bytes) |
9577 | (deprecated_read_register_bytes) | |
9578 | (deprecated_write_register_bytes): Remove. | |
9579 | ||
765f065a MK |
9580 | * frame.c (get_frame_register_bytes, put_frame_register_bytes): |
9581 | Don't forget to move destination pointer. | |
9582 | ||
610acfff MK |
9583 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
9584 | ||
9585 | * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove. | |
9586 | ||
12102450 UW |
9587 | 2007-01-11 Ulrich Weigand <uweigand@de.ibm.com> |
9588 | ||
9589 | * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace | |
9590 | past entry function with recent newlib. | |
9591 | ||
c8b2f53c VP |
9592 | 2007-01-11 Vladimir Prus <vladimir@codesourcery.com> |
9593 | ||
9594 | * gdb.texinfo (GDB/MI Variable Objects): Improve the | |
9595 | introduction. Specify -var-update more exactly. | |
9596 | ||
d57df5e4 DJ |
9597 | 2007-01-11 Daniel Jacobowitz <dan@codesourcery.com> |
9598 | ||
9599 | * frame.c (get_prev_frame_1): Check PC_REGNUM before using it. | |
9600 | ||
03f597d5 JB |
9601 | 2007-01-10 Jim Blandy <jimb@codesourcery.com> |
9602 | ||
9603 | * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted | |
9604 | the Global Maintainers' invitation to be a global maintainer. | |
9605 | ||
fd48f117 DJ |
9606 | 2007-01-10 Daniel Jacobowitz <dan@codesourcery.com> |
9607 | ||
9608 | * infrun.c (singlestep_pc): New variable. | |
9609 | (resume): Set singlestep_pc. | |
9610 | (context_switch): Add a debugging message. Flush the frame cache. | |
9611 | (handle_inferior_event): Add debugging messages. Handle thread | |
9612 | hops when a software single step has completed. Let context_switch | |
9613 | handle flushing the frame cache. | |
9614 | ||
23181151 DJ |
9615 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
9616 | ||
9617 | * NEWS: Mention target descriptions, "set tdesc filename", | |
9618 | "unset tdesc filename", "show tdesc filename", and | |
9619 | qXfer:features:read. | |
9620 | * arch-utils.c (choose_architecture_for_target): New function. | |
9621 | (gdbarch_info_fill): Call it. | |
9622 | * target-descriptions.c (struct property): Make members non-const. | |
9623 | (struct target_desc): Add arch member. | |
9624 | (target_description_filename): New variable. | |
9625 | (target_find_description): Try via XML first. | |
9626 | (tdesc_architecture): New. | |
9627 | (free_target_description, make_cleanup_free_target_description): New. | |
9628 | (set_tdesc_property): Call xstrdup. | |
9629 | (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist) | |
9630 | (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd) | |
9631 | (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd) | |
9632 | (show_tdesc_filename_cmd, _initialize_target_descriptions): New. | |
9633 | * target-descriptions.h (tdesc_architecture) | |
9634 | (make_cleanup_free_target_description, set_tdesc_architecture): New | |
9635 | prototypes. | |
9636 | * Makefile.in (SFILES): Add xml-tdesc.c. | |
9637 | (COMMON_OBS): Add xml-tdesc.o. | |
9638 | (target-descriptions.o): Update. | |
9639 | (xml-tdesc.o): New rule. | |
9640 | * xml-tdesc.c, xml-tdesc.h: New files. | |
9641 | * remote.c (PACKET_qXfer_features): New enum. | |
9642 | (remote_protocol_features): Add qXfer:features:read. | |
9643 | (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES. | |
9644 | (_initialize_remote): Register qXfer:features:read. | |
9645 | * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES. | |
9646 | * features/gdb-target.dtd: New file. | |
9647 | ||
3e9cb5f4 DJ |
9648 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
9649 | ||
9650 | * copyright.sh: Clarify error. | |
9651 | ||
818f79f6 DJ |
9652 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
9653 | ||
9654 | * symtab.c (matching_bfd_sections): Fix VMA matching for | |
9655 | prelinked objects. | |
9656 | ||
f7a6bb70 DJ |
9657 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
9658 | ||
9659 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle | |
9660 | nested symbols. | |
9661 | ||
20ac0504 DJ |
9662 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
9663 | ||
9664 | Updated copyright notices for most files. | |
9665 | ||
85bb0718 DJ |
9666 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
9667 | ||
9668 | * copyright.sh (prunes): Add step-line.inp and step-line.c. | |
9669 | ||
aa28a74e DJ |
9670 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
9671 | ||
9672 | * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside | |
9673 | exec_prefix. | |
9674 | (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being | |
9675 | '${prefix}'. | |
9676 | * configure, config.in: Regenerate. | |
9677 | * defs.h (debug_file_directory): Declare. | |
9678 | * main.c (captured_main): Canonicalize gdb_sysroot. Assume | |
9679 | TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and | |
9680 | relocate it if DEBUGDIR_RELOCATABLE. | |
9681 | * symfile.c (debug_file_directory): Make non-static. | |
9682 | (find_separate_debug_file): Look for debug info for SYSROOT/PATH | |
9683 | in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT. | |
9684 | (_initialize_symfile): Don't initialize debug_file_directory here. | |
9685 | ||
1cfd2c3e JB |
9686 | 2007-01-09 Jim Blandy <jimb@codesourcery.com> |
9687 | ||
9688 | * score-tdep.c (score_push_dummy_call): Don't mix declarations and | |
9689 | statements. | |
9690 | ||
5efde112 DJ |
9691 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
9692 | ||
9693 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use | |
9694 | frame_unwind_register to recurse. | |
9695 | * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise. | |
9696 | (alpha_heuristic_frame_prev_register): Likewise. | |
9697 | * h8300-tdep.c (h8300_frame_prev_register): Likewise. | |
9698 | * m32c-tdep.c (m32c_prev_register): Likewise. | |
9699 | * frame.c (frame_register_unwind_location): Remove FIXME. | |
9700 | ||
4de1f557 DJ |
9701 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
9702 | Eli Zaretskii <eliz@gnu.org> | |
9703 | ||
9704 | * copyright.sh: New file. | |
9705 | ||
ca4ca11e DJ |
9706 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
9707 | ||
9708 | * configure.ac: Check for XML_StopParser. | |
9709 | * xml-support.c (gdb_xml_body_text): Check for an error. | |
9710 | (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser. | |
9711 | (gdb_xml_end_element_wrapper): Likewise. | |
9712 | * config.in, configure: Regenerated. | |
9713 | ||
57e66780 DJ |
9714 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
9715 | ||
9716 | * varobj.c (install_new_value): Always update print_value. | |
9717 | (value_get_print_value): Immediately return NULL for missing | |
9718 | values. | |
9719 | ||
b523a1fd JB |
9720 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
9721 | ||
9722 | * configure.ac: Tighten pattern for extracting value of | |
9723 | DEPRECATED_TM_FILE from the target makefile fragment. | |
9724 | * configure: Regenerated. | |
9725 | ||
3d799a95 DJ |
9726 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
9727 | ||
9728 | * linux-nat.c (struct simple_pid_list): Add status. | |
9729 | (add_to_pid_list): Record the PID's status. | |
9730 | (linux_record_stopped_pid): Likewise. Make static. | |
9731 | (pull_pid_from_list): Return the saved status. | |
9732 | (linux_nat_handle_extended): Deleted. | |
9733 | (linux_handle_extended_wait): Combine with linux_nat_handle_extended. | |
9734 | Make static. Handle non-SIGSTOP for a new thread's first signal. | |
9735 | (flush_callback): Handle unexpected pending signals. | |
9736 | (linux_nat_wait): Update calls to changed functions. | |
9737 | * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait): | |
9738 | Remove prototypes for newly static functions. | |
9739 | ||
9acbedc0 UW |
9740 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
9741 | ||
9742 | * gdbarch.sh (value_from_register): New gdbarch function. | |
9743 | * gdbarch.c, gdbarch.h: Regenerate. | |
9744 | * findvar.c (default_value_from_register): New function. | |
9745 | (value_from_register): Use gdbarch_value_from_register. | |
9746 | * value.h (default_value_from_register): Declare. | |
9747 | * spu-tdep.c (spu_convert_register_p, spu_register_to_value, | |
9748 | spu_value_to_register): Remove. | |
9749 | (spu_value_from_register): New function. | |
9750 | (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
9751 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
9752 | Call set_gdbarch_value_from_register. | |
9753 | * s390-tdep.c (s390_convert_register_p, s390_register_to_value, | |
9754 | s390_value_to_register): Remove. | |
9755 | (s390_value_from_register): New function. | |
9756 | (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
9757 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
9758 | Call set_gdbarch_value_from_register. | |
9759 | ||
f822c95b DJ |
9760 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
9761 | ||
9762 | * NEWS: Add "set sysroot" and "show sysroot". | |
9763 | * solib.c (solib_absolute_prefix): Delete. Replace | |
9764 | all uses with gdb_sysroot. | |
9765 | (_initialize_solib): Add "set sysroot" and "show sysroot". | |
9766 | Make "solib-absolute-prefix" an alias to it. | |
9767 | ||
00fa51f6 UW |
9768 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
9769 | ||
9770 | * frame.c (get_frame_register_bytes): New function. | |
9771 | (put_frame_register_bytes): Likewise. | |
9772 | * frame.h (get_frame_register_bytes): Declare. | |
9773 | (put_frame_register_bytes): Likewise. | |
9774 | * findvar.c (value_from_register): Always construct lval_register | |
9775 | values. Use get_frame_register_bytes. | |
9776 | * valops.c (value_assign): Use get_frame_register_bytes and | |
9777 | put_frame_register_bytes. | |
9778 | ||
a95c9d06 JB |
9779 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
9780 | ||
9781 | * MAINTAINERS: Update Stan Shebs' email address. | |
9782 | ||
4ed6b5be JB |
9783 | 2007-01-07 Joel Brobecker <brobecker@adacore.com> |
9784 | ||
9785 | * ada-lang.c (is_known_support_routine): Improve the implementation. | |
9786 | ||
9bbc9174 JB |
9787 | 2007-01-06 Joel Brobecker <brobecker@adacore.com> |
9788 | ||
9789 | * ada-lang.c: Add include of source.h. | |
9790 | (is_known_support_routine): Improve the check verifying that the file | |
9791 | associated to this frame exists. | |
9792 | * Makefile.in (ada-lang.o): Add dependency on source.h. | |
9793 | ||
44a81774 JB |
9794 | 2007-01-07 Jim Blandy <jimb@codesourcery.com> |
9795 | ||
9796 | * ax-general.c (ax_const_l): Select proper opcode for the given | |
9797 | value. | |
9798 | ||
fcd19eb1 | 9799 | 2007-01-05 Vladimir Prus <vladimir@codesourcery.com> |
6fe1a487 NR |
9800 | |
9801 | * varobj.c (c_value_of_root): Don't select frame if variable | |
9802 | object is out of scope. | |
9803 | ||
fcd19eb1 | 9804 | 2007-01-05 Nick Roberts <nickrob@snap.net.nz> |
3fa6deb5 NR |
9805 | |
9806 | * varobj.c (struct varobj): New member print_value. | |
9807 | (install_new_value): Compare last printed value with current one | |
9808 | instead of contents. | |
9809 | (new_variable): Initialize var->print_value to NULL. | |
9810 | (free_variable): Free var->print_value. | |
9811 | (value_get_print_value): New function derived from | |
9812 | c_value_of_variable. | |
9813 | (c_value_of_variable): Use value_get_print_value. | |
9814 | ||
92a56b20 JB |
9815 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
9816 | ||
9817 | * i386-tdep.c (i386_analyze_stack_align): Add comment. | |
9818 | ||
0e420bd8 JB |
9819 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
9820 | ||
9821 | * NEWS: Add entries for new catch commands. | |
9822 | ||
b69733ab | 9823 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
fa4028e9 JB |
9824 | |
9825 | * dwarf2read.c (partial_die_info): Add field has_byte_size. | |
9826 | (add_partial_symbol): Correct identification of external references. | |
9827 | (process_structure_scope): Likewise. | |
9828 | (read_partial_die): Handle DW_AT_byte_size attribute. | |
9829 | ||
9830 | 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com> | |
d097fa3e DJ |
9831 | |
9832 | * xml-support.c (gdb_xml_end_element): Remove wrong backslashes. | |
9833 | ||
8e38af42 NR |
9834 | 2007-01-05 Nick Roberts <nickrob@snap.net.nz> |
9835 | ||
9836 | * varobj.c (get_type_deref): Fix variable objects for references to | |
9837 | pointers. | |
9838 | ||
d1c79ecd DJ |
9839 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
9840 | ||
9841 | * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs | |
9842 | with no symbols. | |
9843 | ||
e776119f DJ |
9844 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
9845 | ||
9846 | * memory-map.c (struct_memory_map_parsing_data): Remove most | |
9847 | members. Make property_name an array. | |
9848 | (free_memory_map_parsing_data, memory_map_start_element) | |
9849 | (memory_map_end_element, memory_map_character_data): Delete. | |
9850 | (memory_map_start_memory, memory_map_end_memory) | |
9851 | (memory_map_start_property, memory_map_end_property): New functions. | |
9852 | (property_attributes, memory_children, memory_type_enum) | |
9853 | (memory_attributes, memory_map_children, memory_map_elements): New. | |
9854 | (parse_memory_map): Rewrite. | |
9855 | * xml-support.c (debug_xml): New. | |
9856 | (xml_get_required_attribute, xml_get_integer_attribute) | |
9857 | (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser): | |
9858 | Delete. | |
9859 | (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text) | |
9860 | (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup) | |
9861 | (gdb_xml_start_element, gdb_xml_start_element_wrapper) | |
9862 | (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup) | |
9863 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse) | |
9864 | (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest) | |
9865 | (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support): | |
9866 | New. | |
9867 | * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler) | |
9868 | (enum gdb_xml_attribute_flag, struct gdb_xml_attribute) | |
9869 | (enum gdb_xml_element_flag, struct gdb_xml_element) | |
9870 | (gdb_xml_element_start_handler, gdb_xml_element_end_handler) | |
9871 | (struct gdb_xml_enum): New. | |
9872 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug) | |
9873 | (gdb_xml_error, gdb_xml_parse_attr_ulongest) | |
9874 | (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes. | |
9875 | (xml_get_required_attribute, xml_get_integer_attribute) | |
9876 | (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes. | |
9877 | * Makefile.in (xml_support_h, xml-support.o): Update. | |
9878 | ||
5e572bb4 DJ |
9879 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
9880 | ||
9881 | * Makefile.in (eval.o): Update dependencies. | |
9882 | * eval.c: Include "ui-out.h" and "exceptions.h". | |
9883 | (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable. | |
9884 | Use value_zero if an error occurs when avoiding side effects. | |
9885 | * varobj.c (c_value_of_root): Initialize new_val. | |
9886 | ||
74a44383 DJ |
9887 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
9888 | ||
9889 | * varobj.c (varobj_list_children): Stop if the number of children is | |
9890 | unknown. | |
9891 | (c_number_of_children): | |
9892 | ||
e8d2d628 MK |
9893 | 2007-01-04 Mark Kettenis <kettenis@gnu.org> |
9894 | ||
9895 | * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE. | |
9896 | (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start) | |
9897 | (alpha_heuristic_frame_unwind_cache, alpha_next_pc) | |
9898 | (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and | |
9899 | sizeof, instead of hardcoded constants. | |
9900 | ||
c941839d DJ |
9901 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
9902 | ||
9903 | * CONTRIBUTE: Use sourceware.org. | |
9904 | ||
303b6f5d | 9905 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
2d0720d9 | 9906 | |
303b6f5d DJ |
9907 | * buildsym.c (start_subfile): Handle producer. |
9908 | (record_producer): New function. | |
9909 | * buildsym.h (struct subfile): Include producer. | |
9910 | (record_producer): New prototype. | |
9911 | * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation. | |
9912 | (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and | |
9913 | armcc_cfa_offsets_reversed. | |
9914 | (execute_cfa_program): Handle armcc_cfa_offsets_sf. | |
9915 | (dwarf2_frame_find_quirks): New function. | |
9916 | (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed. | |
9917 | (decode_frame_entry_1): Record the CIE version. Record the | |
9918 | augmentation. Skip armcc augmentations. | |
9919 | * dwarf2read.c (read_file_scope): Save the producer. | |
9920 | * symtab.h (struct symtab): Rename unused version member to | |
9921 | producer. | |
2d0720d9 | 9922 | |
aa79a185 DJ |
9923 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
9924 | ||
9925 | * configure.ac (build_warnings): Use -Wall and | |
9926 | -Wdeclaration-after-statement. | |
9927 | * configure: Regenerated. | |
9928 | ||
bbec2603 VP |
9929 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
9930 | ||
9931 | Simplify access to variours properties of child | |
9932 | variable objects in C. | |
9933 | * varobj.c (value_struct_element_index): New function. | |
9934 | (c_describe_child): New function. | |
9935 | (c_name_of_child, c_value_of_child) | |
9936 | (c_type_of_child): Rewrite to use c_describe_child. | |
9937 | ||
28335dcc VP |
9938 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
9939 | ||
9940 | gdb/ | |
9941 | * varobj.c: Include "vec.h". | |
9942 | (varobj_p): New typedef, declare vector of those. | |
9943 | (struct varobj): Use vector for the 'children' member. | |
9944 | (child_exists): Remove. | |
9945 | (save_child_in_parent): Remove. | |
9946 | (remove_child_from_parent): Remove. | |
9947 | (struct varobj_child): Remove. | |
9948 | (struct vstack): Remove. | |
9949 | (vpush, vpop): Remove. | |
9950 | (varobj_list_children): Adjust to work work vector. | |
9951 | (varobj_update): Likewise. Use vectors for | |
9952 | working stack and result. | |
9953 | (delete_variable_1): Likewise. | |
9954 | * Makefile.in (varobj.o): Update dependencies. | |
9955 | ||
b2c2bd75 VP |
9956 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
9957 | ||
9958 | Port from Apple's version. | |
9959 | gdb/ | |
9960 | * varobj.c (type_changeable): Rename to... | |
9961 | (varobj_value_is_changeable_p): ...this. Adjust all callers. | |
9962 | (is_root_p): New function. Use it everywhere. | |
9963 | ||
bdfb3870 JB |
9964 | 2007-01-04 Jim Blandy <jimb@codesourcery.com> |
9965 | ||
9966 | * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup', | |
9967 | then plain 'fixup'. | |
9968 | ||
5d15052e JB |
9969 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
9970 | ||
9971 | * hpread.c (hpread_start_psymtab): Remove unnecessary extern. | |
9972 | ||
53103997 JB |
9973 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
9974 | ||
9975 | * hpread.c (hpread_type_lookup): Fix compilation failure. | |
9976 | ||
27fd2f50 Q |
9977 | 2007-01-04 Qinwei <qinwei@sunnorth.com.cn> |
9978 | ||
9979 | * NEWS: New port to S+core. | |
9980 | * MAINTAINERS (Write After Approval, Responsible Maintainers): | |
9981 | Add myself. | |
9982 | ||
9983 | * Makefile.in: Add dependencies for S+core files. | |
9984 | * configure.tgt (score*, score-*-*): Add S+core target. | |
9985 | * config/score/embed.mt: New file. | |
9986 | * score-tdep.c: New file. | |
9987 | * score-tdep.h: New file. | |
9988 | ||
a6cfbe68 JB |
9989 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
9990 | ||
9991 | * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with | |
9992 | the appropriate type rather than a bogus void type. | |
9993 | ||
67cf15b7 | 9994 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
f7f9143b JB |
9995 | |
9996 | * ada-lang.h (ada_find_printable_frame): Remove. | |
9997 | (ada_exception_catchpoint_p, ada_decode_exception_location) | |
9998 | (ada_decode_assert_location): Add declaration. | |
9999 | * ada-lang.c: Add include of annotate.h and valprint.h. | |
10000 | (exception_catchpoint_kind): New enum. | |
10001 | (function_name_from_pc, is_known_support_routine) | |
10002 | (ada_find_printable_frame, ada_unhandled_exception_name_addr) | |
10003 | (ada_exception_name_addr_1, ada_exception_name_addr) | |
10004 | (print_it_exception, print_one_exception, print_mention_exception) | |
10005 | (print_it_catch_exception, print_one_catch_exception) | |
10006 | (print_mention_catch_exception, catch_exception_breakpoint_ops) | |
10007 | (print_it_catch_exception_unhandled) | |
10008 | (print_one_catch_exception_unhandled) | |
10009 | (print_mention_catch_exception_unhandled, print_it_catch_assert) | |
10010 | (print_one_catch_assert, print_mention_catch_assert) | |
10011 | (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found) | |
10012 | (ada_get_next_arg, catch_ada_exception_command_split) | |
10013 | (ada_exception_sym_name, ada_exception_sym_name) | |
10014 | (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string) | |
10015 | (ada_parse_catchpoint_condition, ada_exception_sal) | |
10016 | (ada_decode_exception_location) | |
10017 | (ada_decode_assert_location): New function. | |
10018 | (catch_exception_unhandled_breakpoint_ops): New global variable. | |
10019 | (catch_assert_breakpoint_ops): New global variable. | |
10020 | * breakpoint.c: Add include of ada-lang.h. | |
10021 | (print_one_breakpoint): Do not print the condition for Ada | |
10022 | exception catchpoints. | |
10023 | (create_ada_exception_breakpoint): New function. | |
10024 | (catch_ada_exception_command, catch_assert_command): New function. | |
10025 | (catch_command_1): Add support for the new "catch exception" and | |
10026 | "catch assert" commands. | |
10027 | (_initialize_breakpoint): Add help description for the new catch | |
10028 | commands. | |
10029 | * Makefile.in (ada-lang.o): Add dependency on annotate.h and | |
10030 | valprint.h. | |
10031 | (breakpoint.o): Add dependency on ada-lang.h. | |
10032 | ||
05cfdb42 DJ |
10033 | 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt> |
10034 | ||
10035 | * coffread.c (cs_to_section): If bfd_section is found, always | |
10036 | return its section index. | |
10037 | (coff_symtab_read): Determine the minimal_symbol_type using the | |
10038 | bfd_section flags. | |
10039 | ||
2e03ee74 DJ |
10040 | 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
10041 | Daniel Jacobowitz <dan@codesourcery.com> | |
10042 | ||
10043 | * Makefile.in (top.o): Update. | |
10044 | * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result) | |
10045 | (saved_after_char_processing_hook, gdb_readline_wrapper_line) | |
10046 | (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup): | |
10047 | New. | |
10048 | (gdb_readline_wrapper): Rewrite to use asynchronous readline. | |
10049 | ||
1c63d086 MK |
10050 | 2007-01-03 Mark Kettenis <kettenis@gnu.org> |
10051 | ||
10052 | * arm-linux-tdep.c (arm_linux_extract_return_value): Remove. | |
10053 | (arm_linux_init_abi): Don't set deprecated_extract_return_value. | |
10054 | ||
d5d6fca5 DJ |
10055 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
10056 | ||
10057 | * ada-lang.c (find_struct_field): Initialize *byte_offset_p. | |
10058 | * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i. | |
10059 | * c-typeprint.c (c_type_print_varspec_suffix): Don't test length | |
10060 | greater than or equal to zero. | |
10061 | * m2-typeprint.c (m2_array): Likewise. | |
10062 | * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise. | |
10063 | * gdbtypes.c (copy_type_recursive): Correct == typo. | |
10064 | * i386-tdep.c (i386_skip_prologue): Remove stray semicolon. | |
10065 | * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer | |
10066 | greater than zero. | |
10067 | * macroscope.c (sal_macro_scope): Don't name a local variable "main". | |
10068 | (default_macro_scope): Remove unused variable. | |
10069 | * prologue-value.h (pv_area_find_reg): Don't name an argument | |
10070 | "register". | |
10071 | * remote-fileio.c (remote_fio_func_map): Add missing braces. | |
10072 | * remote.c (sigint_remote_twice_token, sigint_remote_token): Change | |
10073 | type. | |
10074 | (cleanup_sigint_signal_handler): Remove casts. | |
10075 | * valprint.c (val_print): Use a volatile local for the modified | |
10076 | argument. | |
10077 | * varobj.c (languages): Remove extra array dimension. | |
10078 | (varobj_create): Correct access to languages array. | |
10079 | * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add | |
10080 | missing braces. | |
10081 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise. | |
10082 | * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise. | |
10083 | * mi/mi-getopt.c (mi_valid_noargs): Likewise. | |
10084 | * mi/mi-main.c (mi_cmd_data_read_memory): Likewise. | |
10085 | (mi_cmd_data_write_memory): Likewise. | |
10086 | * signals/signals.c (target_signal_to_string): Cast to int before | |
10087 | comparing. | |
10088 | * tui/tui-layout.c (init_and_make_win): Take and return a void *. | |
10089 | Update all callers. | |
10090 | ||
0d5de010 DJ |
10091 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
10092 | ||
10093 | * NEWS: Mention pointer to member improvements. | |
10094 | * Makefile.in (gnu-v3-abi.o): Delete special rule. | |
10095 | (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update. | |
10096 | * ada-valprint.c (ada_print_scalar): Update for new type codes. | |
10097 | * c-typeprint.c (c_print_type): Update for new type codes. | |
10098 | (c_type_print_varspec_prefix, c_type_print_varspec_suffix) | |
10099 | (c_type_print_base): Likewise. | |
10100 | (c_type_print_args): Rewrite. | |
10101 | * c-valprint.c (c_val_print): Update for new type codes. Remove | |
10102 | support for references to members. Treat methods like functions. | |
10103 | * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size) | |
10104 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New. | |
10105 | * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size) | |
10106 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes. | |
10107 | (struct cp_abi_ops): Add corresponding members. | |
10108 | * cp-valprint.c (cp_print_class_method): Delete. | |
10109 | (cp_find_class_member): New function. | |
10110 | (cp_print_class_member): Use it. Simplify support for bogus | |
10111 | member pointers. | |
10112 | * dwarf2read.c (quirk_gcc_member_function_pointer): Use | |
10113 | lookup_methodptr_type. | |
10114 | (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type. | |
10115 | * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for | |
10116 | OP_SCOPE. Update call to value_aggregate_elt. Rewrite member | |
10117 | pointer support. | |
10118 | (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle | |
10119 | references returned by user defined operators. | |
10120 | * f-typeprint.c (f_print_type, f_type_print_varspec_prefix) | |
10121 | (f_type_print_varspec_suffix): Remove support for member pointers. | |
10122 | * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type | |
10123 | and adjusted. | |
10124 | (smash_to_memberptr_type): Likewise, from smash_to_member_type. | |
10125 | (lookup_methodptr_type): New. | |
10126 | (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR. | |
10127 | (recursive_dump_type): Update for new types. | |
10128 | * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with | |
10129 | TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR. | |
10130 | (lookup_memberptr_type, lookup_methodptr_type) | |
10131 | (smash_to_memberptr_type): New prototypes. | |
10132 | (smash_to_method_type): Formatting fix. | |
10133 | (lookup_member_type, smash_to_member_type): Delete prototypes. | |
10134 | * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New. | |
10135 | Do not rely on debug information for the vptr or the method's | |
10136 | enclosing type. Handle function descriptors for IA64. | |
10137 | (gnuv3_virtual_fn_field): Rewrite using the new functions. | |
10138 | (gnuv3_find_method_in, gnuv3_print_method_ptr) | |
10139 | (gnuv3_method_ptr_size, gnuv3_make_method_ptr) | |
10140 | (gnuv3_method_ptr_to_value): New. | |
10141 | (init_gnuv3_ops): Set new members of gnu_v3_abi_ops. | |
10142 | * hpread.c (hpread_type_lookup): Update for new types. | |
10143 | * infcall.c (value_arg_coerce): Likewise. | |
10144 | * m2-typeprint.c (m2_print_type): Remove explicit support | |
10145 | for member pointers. | |
10146 | * m2-valprint.c (m2_val_print): Likewise. | |
10147 | * p-typeprint.c (pascal_type_print_varspec_prefix) | |
10148 | (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise. | |
10149 | * p-valprint.c (pascal_val_print): Likewise. | |
10150 | (pascal_object_print_class_method, pascal_object_print_class_member): | |
10151 | Delete. | |
10152 | * p-lang.h (pascal_object_print_class_method) | |
10153 | (pascal_object_print_class_member): Delete prototypes. | |
10154 | * stabsread.c (read_type): Update for new types. | |
10155 | * typeprint.c (print_type_scalar): Likewise. | |
10156 | * valops.c (value_struct_elt_for_reference, value_namespace_elt) | |
10157 | (value_maybe_namespace_elt, value_aggregate_elt): Add want_address | |
10158 | argument. Construct a pointer to member if the address of a | |
10159 | function or data member is requested. | |
10160 | (value_cast_pointers): Don't modify the input value. | |
10161 | (value_cast): Adjust pointer to member handling for new types. | |
10162 | Allow null pointer to member constants. Don't modify the input | |
10163 | value. | |
10164 | (value_ind): Remove pointer to member check. Handle function | |
10165 | descriptors for function pointers. | |
10166 | (value_struct_elt, value_find_oload_method_list, check_field): | |
10167 | Remove pointer to member checks. | |
10168 | * value.c (unpack_long): Allow pointers to data members. | |
10169 | (value_from_longest): Allow member pointers. | |
10170 | * value.h (value_aggregate_elt): Add want_address. | |
10171 | * varobj.c (c_variable_editable): Remove check for members. | |
10172 | * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta. | |
10173 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors | |
10174 | in virtual tables. | |
10175 | (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors. | |
10176 | * c-lang.h (cp_print_class_method): Delete prototype. | |
10177 | * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta. | |
10178 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
10179 | * gdbarch.c, gdbarch.h: Regenerated. | |
10180 | ||
d217aaed MK |
10181 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
10182 | ||
10183 | * rs6000-tdep.c (rs6000_use_struct_convention) | |
10184 | (rs6000_extract_return_value, rs6000_store_return_value) | |
10185 | (rs6000_extract_struct_value_address): Remove. | |
10186 | (rs6000_return_value): New function. | |
10187 | (rs6000_gdbarch_init): Don't set deprecated_extract_return_value, | |
10188 | store_return_value, deprecated_extract_struct_value_address and | |
10189 | deprecated_use_struct_convention. Use rs6000_return_value | |
10190 | instead. | |
10191 | ||
02296b29 NR |
10192 | 2007-01-02 Nick Roberts <nickrob@snap.net.nz> |
10193 | ||
10194 | * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete, | |
10195 | -display-disable, -display-enable, -display-insert and | |
10196 | -display-list. | |
10197 | ||
b69733ab | 10198 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
ce186b30 JB |
10199 | |
10200 | * breakpoint.c (remove_breakpoint): Remove dead code. | |
10201 | ||
10202 | 2007-01-01 Nick Roberts <nickrob@snap.net.nz> | |
ab9245ed NR |
10203 | |
10204 | * varobj.c: Include block.h. | |
10205 | (c_value_of_root): Check scope within nested statements. | |
10206 | ||
9f3a1602 MK |
10207 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
10208 | ||
10209 | * mi/mi-main.c (mi_cmd_data_write_register_values): Use | |
10210 | regcache_cooked_write_signed instead of | |
10211 | deprecated_write_register_bytes. | |
10212 | ||
12349ccd JB |
10213 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
10214 | ||
10215 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006. | |
10216 | ||
8c48ebcf JB |
10217 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
10218 | ||
10219 | Followed the Start of New Year Procedure: | |
10220 | * ChangeLog-2006: New file, containing all the entries for 2006. | |
10221 | * ChangeLog: Removed all 2006 entries, and changed the reference | |
10222 | to the previous ChangeLog to point to ChangeLog 2006. | |
10223 | * top.c (print_gdb_version): Update copyright year. | |
10224 | ||
154927ff MK |
10225 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
10226 | ||
10227 | * Makefile.in (remote-sds.o): Remove. | |
10228 | * remote-sds.c: Delete. | |
10229 | ||
8c48ebcf | 10230 | For older changes see ChangeLog-2006. |
c906108c SS |
10231 | \f |
10232 | Local Variables: | |
10233 | mode: change-log | |
10234 | left-margin: 8 | |
10235 | fill-column: 74 | |
10236 | version-control: never | |
57da7796 | 10237 | coding: utf-8 |
c906108c | 10238 | End: |