]>
Commit | Line | Data |
---|---|---|
7160c4c3 PA |
1 | 2007-09-03 Daniel Jacobowitz <[email protected]> |
2 | ||
3 | * corelow.c (core_xfer_partial): Pass writebuf to | |
4 | deprecated_xfer_memory in TARGET_OBJECT_MEMORY write case. | |
5 | ||
6dc13412 PA |
6 | 2007-09-03 Pedro Alves <[email protected]> |
7 | ||
8 | * arm-tdep.h (arm_skip_stub): Declare. | |
9 | * arm-wince-tdep.c: Don't include "solib-svr4.h". Include | |
10 | "gdbcore.h". | |
11 | (arm_pe_skip_trampoline_code): New function. | |
12 | (arm_wince_init_abi): Register arm_pe_skip_trampoline_code as | |
13 | gdbarch_skip_trampoline_code callback. | |
14 | * Makefile.in (arm-wince-tdep.o): Update dependencies. | |
15 | ||
ca8385e5 DJ |
16 | 2007-09-03 Daniel Jacobowitz <[email protected]> |
17 | ||
18 | * MAINTAINERS: Move Fred Fish to Past Maintainers. | |
19 | ||
5c39566f DJ |
20 | 2007-09-03 Daniel Jacobowitz <[email protected]> |
21 | ||
22 | * configure.ac: Add --with-expat. | |
23 | * configure: Regenerated. | |
24 | ||
6a30b0a5 AS |
25 | 2007-09-03 Andreas Schwab <[email protected]> |
26 | ||
27 | * configure.ac: Accept --with-system-readline. | |
28 | (READLINE, READLINE_DEPS, READLINE_CFLAGS): Define and substitute. | |
29 | * configure: Regenerate. | |
30 | * Makefile.in (READLINE, READLINE_DEPS, READLINE_CFLAGS): Use | |
31 | substituted values. | |
32 | (CDEPS): Use $(READLINE_DEPS) instead of $(READLINE). | |
33 | ||
edff0c0a DJ |
34 | 2007-09-03 Maxim Grigoriev <[email protected]> |
35 | Daniel Jacobowitz <[email protected]> | |
36 | ||
37 | * mi-main.c (mi_load_progress): Handle MI2 and MI3 interpreters. | |
38 | ||
0b93d57c JK |
39 | 2007-09-02 Jan Kratochvil <[email protected]> |
40 | ||
41 | * top.c (print_gdb_version): Fixed a string end-of-line compiler error. | |
42 | ||
b8533aec DJ |
43 | 2007-09-02 Daniel Jacobowitz <[email protected]> |
44 | ||
45 | * top.c (print_gdb_version): Update for GPL version 3. | |
46 | ||
f5db8714 JK |
47 | 2007-09-02 Jan Kratochvil <[email protected]> |
48 | ||
49 | * NEWS: Mention the build-id .debug files verification. | |
50 | ||
d99148ef JK |
51 | 2007-09-02 Jan Kratochvil <[email protected]> |
52 | ||
53 | * linux-nat.c (linux_nat_make_corefile_notes): Fixed a buffer overflow. | |
54 | ||
77069918 JK |
55 | 2007-09-01 Jan Kratochvil <[email protected]> |
56 | ||
57 | * Makefile.in (symfile.o): Update dependencies. | |
58 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Initialize the | |
59 | DEBUGFILE variable. FIND_SEPARATE_DEBUG_FILE called only if !PSYMTABS. | |
60 | (struct build_id): New structure. | |
61 | (build_id_bfd_get, build_id_verify, build_id_to_debug_filename): New. | |
62 | (find_separate_debug_file): New variable BUILD_ID. | |
63 | Call BUILD_ID_BFD_GET with BUILD_ID_TO_DEBUG_FILENAME as the first try. | |
64 | ||
202ddcaa VP |
65 | 2007-08-31 Vladimir Prus <[email protected]> |
66 | ||
67 | * varobj.c (struct varobj): Fix comment | |
68 | for the type member not to lie when it can be | |
69 | NULL. | |
70 | ||
02142340 VP |
71 | 2007-08-31 Vladimir Prus <[email protected]> |
72 | ||
73 | Implement -var-info-path-expression. | |
74 | ||
75 | * mi/mi-cmds.h (mi_cmd_var_info_path_expression): | |
76 | Declare. | |
77 | * mi/mi-cmds.c (mi_cmds): Register var-info-path-expression. | |
78 | * mi/mi-cmd-var.c (mi_cmd_var_info_path_expression): New. | |
79 | * varobj.c (struct varobj): New field 'path_expr'. | |
80 | (c_path_expr_of_child, cplus_path_expr_of_child) | |
81 | (java_path_expr_of_child): New. | |
82 | (struct language_specific): New field path_expr_of_child. | |
83 | (varobj_create): Initialize the path_expr field. | |
84 | (varobj_get_path_expr): New. | |
85 | (new_variable): Initialize the path_expr field. | |
86 | (free_variable): Free the path_expr field. | |
87 | (adjust_value_for_children_access): New parameter | |
88 | WAS_TYPE. | |
89 | (c_number_of_children): Adjust. | |
90 | (c_describe_child): New parameter CFULL_EXPRESSION. | |
91 | Compute full expression. | |
92 | (c_value_of_child, c_type_of_child): Adjust. | |
93 | (cplus_number_of_children): Adjust. | |
94 | (cplus_describe_child): New parameter CFULL_EXPRESSION. | |
95 | Compute full expression. | |
96 | (cplus_name_of_child, cplus_value_of_child) | |
97 | (cplus_type_of_child): Adjust. | |
98 | * varobj.h (varobj_get_path_expr): Declare. | |
99 | ||
bccc275a VP |
100 | 2007-08-31 Vladimir Prus <[email protected]> |
101 | ||
102 | * mi/mi-cmd-var.c (print_varobj): If a varobj | |
103 | type is NULL, don't try to print it. | |
104 | ||
f2db237a AM |
105 | 2007-08-30 Alan Modra <[email protected]> |
106 | ||
107 | * ppc-linux-nat.c (right_fill_reg): Delete. | |
108 | (supply_gregset): Use ppc_supply_gregset. | |
109 | (supply_fpregset): Use ppc_supply_fpregset. | |
110 | (fill_gregset): Use ppc_collect_gregset. | |
111 | (fill_fpregset): Use ppc_collect_fpregset. | |
112 | * ppc-linux-tdep.c (PPC_LINUX_PT_*): Don't define. | |
113 | (right_supply_register, ppc_linux_supply_gregset): Delete. | |
114 | (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): Delete. | |
115 | (ppc_linux_supply_fpregset): Delete. | |
116 | (ppc_linux_collect_gregset): New function. | |
117 | (ppc32_linux_reg_offsets, ppc64_linux_reg_offsets): New. | |
118 | (ppc32_linux_gregset, ppc64_linux_gregset): Update to use reg offsets, | |
119 | ppc_linux_supply_gregset, and ppc_collect_gregset. | |
120 | (ppc_linux_fpregset): Rename to ppc32_linux_fpregset and update. | |
121 | (ppc_linux_gregset, ppc_linux_fpregset): New functions. | |
122 | (ppc_linux_regset_from_core_section): Update. | |
123 | * ppc-tdep.h (ppc_linux_gregset, ppc_linux_fpregset): Declare. | |
124 | (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Delete. | |
125 | (struct ppc_reg_offsets): Add gpr_size, xr_size, fpscr_size fields. | |
126 | * ppcobsd-tdep.c (ppcobsd_supply_gregset): Delete FIXME and assert. | |
127 | (ppcobsd_collect_gregset): Likewise. | |
128 | (_initialize_ppcnbsd_tdep): Init gpr_size, xr_size, fpscr_size. | |
129 | * ppcnbsd-tdep.c (_initialize_ppcobsd_tdep): Likewise. | |
130 | * ppcobsd-nat.c (_initialize_ppcobsd_nat): Likewise. | |
131 | * rs6000-aix-tdep.c (rs6000_aix32_reg_offsets): Likewise. | |
132 | (rs6000_aix64_reg_offsets): Likewise. | |
133 | (rs6000_aix_supply_regset): Call ppc_supply_fpregset without testing | |
134 | ppc_floating_point_unit_p. | |
135 | (rs6000_aix_collect_regset): Similarly. | |
136 | * rs6000-tdep.c (ppc_supply_reg): Add regsize param. Adjust offset | |
137 | when regsize is larger than regcache register size. | |
138 | (ppc_collect_reg): Similarly zero pad when regsize is larger than | |
139 | regcache register size. | |
140 | (ppc_greg_offset): New function, split out from.. | |
141 | (ppc_supply_gregset): ..here. Separate code handling all regs from | |
142 | single reg case. Correct xer offset. | |
143 | (ppc_fpreg_offset): New function, split out from.. | |
144 | (ppc_supply_fpregset): ..here. Separate code handling all regs from | |
145 | single reg case. | |
146 | (ppc_collect_gregset, ppc_collect_fpregset): Likewise. | |
147 | (ppc_supply_fpregset, ppc_collect_fpregset): Don't assert we have | |
148 | a fp unit, instead return if no fp. | |
149 | ||
fe5aea2e JB |
150 | 2007-08-29 Jim Blandy <[email protected]> |
151 | ||
152 | * breakpoint.c (watch_command_1): Remove '#ifdef HPUXHPPA' block; | |
153 | this code has not been compiled for two years. | |
154 | ||
13ce7133 MS |
155 | 2007-08-29 Michael Snyder <[email protected]> |
156 | ||
157 | * event-top.c (gdb_readline2): Return after EOF. | |
158 | ||
fd4a0f2f JB |
159 | 2007-08-29 Joel Brobecker <[email protected]> |
160 | ||
161 | * symtab.c: Remove a function that has been commented out 3 years ago. | |
162 | ||
d037d088 CD |
163 | 2007-08-29 Randolph Chung <[email protected]> |
164 | ||
165 | * hppa-tdep.c (hppa32_cannot_fetch_register) | |
166 | (hppa64_cannot_fetch_register): New functions. | |
167 | (hppa_gdbarch_init): Set cannot_fetch_register appropriately. | |
168 | * hppa-tdep.h (hppa_regnum): Add HPPA_CR26_REGNUM. | |
169 | ||
19d378fc MS |
170 | 2007-08-28 Michael Snyder <[email protected]> |
171 | ||
57cdecd2 MS |
172 | * mi/mi-cmd-var.c (mi_print_value_p): No longer necessary to |
173 | check for null before calling check_typedef. | |
174 | ||
19d378fc MS |
175 | * NEWS: Mention Coverity bug fixes. |
176 | ||
36acd84e UW |
177 | 2007-08-27 Markus Deuling <[email protected]> |
178 | ||
179 | * spu-tdep.c (spu_pointer_to_address): New function. | |
180 | (spu_integer_to_address): Likewise. | |
181 | (spu_gdbarch_init): Add spu_pointer_to_address and | |
182 | spu_integer_to_address to gdbarch. | |
183 | ||
8ad7c2b9 PA |
184 | 2007-08-26 Pedro Alves <[email protected]> |
185 | ||
186 | * arm-wince-tdep.c (ARM_WINCE_JB_PC): Change to 10. | |
187 | ||
4de6a07e JB |
188 | 2007-08-23 Joel Brobecker <[email protected]> |
189 | ||
190 | * Makefile.in (copying.c): Use the top-level COPYING3 as the file | |
191 | that contains the GDB license. | |
192 | * copying.awk: Adjust to the GPLv3 wording. | |
193 | * copying.c: Regenerate. | |
194 | ||
07aed0eb JB |
195 | 2007-08-23 Joel Brobecker <[email protected]> |
196 | ||
01d4100f | 197 | * copying.awk: Protoization, and i18n markup. |
07aed0eb | 198 | |
50efebf8 JB |
199 | 2007-08-23 Joel Brobecker <[email protected]> |
200 | ||
201 | * config/djgpp/djconfig.sh: Switch license to GPLv3. | |
202 | * copyright.sh: Likewise. | |
203 | * gdb-events.sh: Likewise. | |
204 | * gdb_gcore.sh: Likewise. | |
205 | * gdb_mbuild.sh: Likewise. | |
206 | * gdbarch.sh: Likewise. | |
207 | * observer.sh: Likewise. | |
208 | * features/feature_to_c.sh: Likewise. | |
209 | * regformats/regdat.sh: Likewise. | |
210 | ||
211 | 2007-08-23 Joel Brobecker <[email protected]> | |
a9762ec7 JB |
212 | |
213 | Switch the license of all .c files to GPLv3. | |
214 | Switch the license of all .h files to GPLv3. | |
215 | Switch the license of all .cc files to GPLv3. | |
216 | ||
5a0e3bd0 JB |
217 | 2007-08-23 Joel Brobecker <[email protected]> |
218 | ||
219 | * configure.ac: Switch license to GPLv3. | |
220 | ||
609ca2b9 DJ |
221 | 2007-08-22 Daniel Jacobowitz <[email protected]> |
222 | ||
223 | * mips-tdep.c (mips_gdbarch_init): Use Tag_GNU_MIPS_ABI_FP to | |
224 | determine the file's FPU type. | |
225 | ||
8d26208a DJ |
226 | 2007-08-22 Daniel Jacobowitz <[email protected]> |
227 | ||
228 | * mips-tdep.c (mips_n32n64_fp_arg_chunk_p): New. | |
229 | (mips_n32n64_push_dummy_call): Always increment float_argreg along | |
230 | with argreg. Use mips_n32n64_fp_arg_chunk_p. | |
231 | ||
65728c26 DJ |
232 | 2007-08-22 Daniel Jacobowitz <[email protected]> |
233 | ||
234 | * solib-svr4.c (scan_dyntag): Only read target memory when necessary. | |
235 | Fix formatting. | |
236 | (elf_locate_base): Look for DT_MIPS_RLD_MAP first. Expand comments. | |
237 | (elf_lookup_lib_symbol): Fix formatting. | |
238 | ||
a2ca50ae MS |
239 | 2007-08-21 Michael Snyder <[email protected]> |
240 | ||
6b2d86bd MS |
241 | * dbxread.c (read_dbx_symtab): Guard null deref. |
242 | Break up long line. | |
243 | ||
a2ca50ae MS |
244 | * valops.c (find_overload_match): Guard against NULL. |
245 | ||
54e116dd DJ |
246 | 2007-08-21 Daniel Jacobowitz <[email protected]> |
247 | ||
248 | * MAINTAINERS (Patch Champions): Remove self. | |
249 | ||
f429d7d0 DJ |
250 | 2007-08-21 Chris Smith <[email protected]> |
251 | ||
252 | * cli/cli-script.c (read_command_lines): Call dont_repeat for each | |
253 | line. | |
254 | ||
a2ca50ae | 255 | 2007-08-18 Michael Snyder <[email protected]> |
a287cea6 | 256 | |
31e9f6b6 MS |
257 | * stabsread.c (dbx_lookup_type): Memory leak. |
258 | ||
32107cd5 MS |
259 | * event-loop.c (delete_async_signal_handler): Move pointer null |
260 | test to before pointer dereference. | |
261 | ||
44db85f8 MS |
262 | * ui-out.c (append_header_to_list): Possible cut and paste error. |
263 | ||
a287cea6 MS |
264 | * MAINTAINERS: white space tweak. |
265 | ||
0bd9908d MS |
266 | 2007-08-17 Michael Snyder <[email protected]> |
267 | ||
f91162e1 MS |
268 | * stack.c (print_frame): Memory leak. |
269 | ||
1e8189fb MS |
270 | * completer.c (filename_completer): Avoid memory leak. |
271 | Remove unnecessary nested block. | |
272 | ||
348038cd MS |
273 | * c-exp.y (parse_number): Memory leak. |
274 | ||
1f20ed91 MS |
275 | * completer.c (location_completer): Must free 'fn_list', except |
276 | in the one case where it is returned (as 'list'). | |
277 | ||
74dddad3 MS |
278 | * varobj.c (value_of_root): Memory leak. |
279 | ||
0bd9908d MS |
280 | * gdbtypes.h (virtual_base_list): Remove export decl. |
281 | * gdbtypes.c (virtual_base_list): Make static. Not called outside. | |
282 | (virtual_base_index): Memory leak. | |
283 | (virtual_base_index_skip_primaries): Ditto. | |
284 | ||
bdb4c075 MG |
285 | 2007-08-17 Maxim Grigoriev <[email protected]> |
286 | ||
287 | * xtensa-tdep.c (ARG_NOF, ARG_1ST, PS_WOE, PS_EXC, C0_MAXOPDS) | |
288 | (C0_NREGS, C0_CLESV, C0_SP, C0_FP, C0_RA, C0_ARGS, C0_NARGS) | |
289 | (C0_CONST, C0_INEXP, C0_NOSTK): New macros. | |
290 | (xtensa_read_register): New function. | |
291 | (xtensa_windowed_frame_cache, xtensa_call0_frame_cache, xtensa_c0reg) | |
292 | (xtensa_insn_kind): New types. | |
293 | (xtensa_frame_cache, xtensa_alloc_frame_cache, xtensa_frame_cache) | |
294 | (xtensa_frame_prev_register, xtensa_return_value, xtensa_skip_prologue) | |
295 | (xtensa_verify_config, xtensa_pseudo_register_read) | |
296 | (xtensa_pseudo_register_write, xtensa_extract_return_value) | |
297 | (xtensa_store_return_value) | |
298 | (xtensa_push_dummy_call): Extended to support Xtensa Call0 ABI. | |
299 | (windowing_enabled, extract_call_winsize, xtensa_unwind_dummy_id) | |
300 | (xtensa_frame_this_id, xtensa_frame_prev_register) | |
301 | (xtensa_register_type, xtensa_reg_to_regnum): Cosmetic changes. | |
302 | (call0_frame_cache, call0_frame_get_reg_at_entry) | |
303 | (call0_classify_opcode, call0_track_op) | |
304 | (call0_analyze_prologue, call0_frame_cache): New functions. | |
305 | ||
198757a8 VP |
306 | 2007-08-17 Vladimir Prus <[email protected]> |
307 | ||
308 | * breakpoint.c (bpstat_free): New. | |
309 | (bpstat_clear): Use bpstat_free. | |
310 | (delete_breakpoint): Document why we cannot | |
311 | remove bpstats from stop_bpstat. | |
312 | * breakpoint.h (bpstat_free): Declare. | |
313 | ||
dc66ab8a MS |
314 | 2007-08-16 Michael Snyder <[email protected]> |
315 | ||
316 | * event-loop.c (gdb_wait_for_event): Move statement into "if" block. | |
317 | ||
40c8aaa9 JB |
318 | 2007-08-15 Paul Hilfinger <[email protected]> |
319 | Joel Brobecker <[email protected]> | |
320 | ||
321 | * ada-lang.c (resolve_subexp): Correct arity of binary operators. | |
322 | ||
ee90b9ab JB |
323 | 2007-08-15 Paul Hilfinger <[email protected]> |
324 | Joel Brobecker <[email protected]> | |
325 | ||
326 | * ada-lang.c (possible_user_operator_p): Alternative fix to last | |
327 | checkin guarding against NULL. | |
328 | ||
5b6fe301 MS |
329 | 2007-08-14 Michael Snyder <[email protected]> |
330 | ||
e5908723 MS |
331 | * tui-command.c, tui-data.c, tui-disasm.c, tui-file.c, tui-io.c, |
332 | tui-layout.c, tui-regs.c, tui-source.c, tui-win.c, tui-windata.c, | |
333 | tui-wingeneral.c, tui-winsource.c: Coding standard, && and || | |
334 | go at beginning of new line. | |
335 | ||
08ef48c5 MS |
336 | * tui-data.c, tui-data.h, tui-disasm.c, tui-disasm.h, tui-hooks.c, |
337 | tui-io.c, tui-layout.c, tui-layout.h, tui-out.c, tui-regs.c, | |
338 | tui-source.c, tui-source.h, tui-stack.c, tui-win.c, tui-win.h, | |
339 | tui-windata.c, tui-windata.h, tui-wingeneral.c, tui-winsource.c, | |
340 | tui-winsource.h, tui.c, tui.h: Function declarations and | |
341 | definitions, wrap long lines. | |
342 | ||
ef5eab5a MS |
343 | * tui-command.c, tui-data.c, tui-disasm.c, tui-layout.c, |
344 | tui-regs.c, tui-win.c, tui-windata.c, tui-winsource.c, tui.c: | |
345 | Reformat block comments to GNU standard. | |
346 | ||
1cc6d956 MS |
347 | * tui-command.c, tui-data.c, tui-data.h, tui-disasm.c, tui-file.c, |
348 | tui-hooks.c, tui-interp.c, tui-io.c, tui-layout.c, tui-out.c, | |
349 | tui-regs.c, tui-regs.h, tui-source.c, tui-stack.c, tui-win.c, | |
350 | tui-windata.c, tui-wingeneral.c, tui-winsource.c, tui-winsource.h, | |
351 | tui.c, tui.h: Comment reformatting to coding standard (capitals, | |
352 | spaces after periods, etc). | |
353 | ||
5b6fe301 MS |
354 | * tui-data.c, tui-data.h, tui-disasm.c, tui-hooks.c, tui-layout.c, |
355 | tui-regs.c, tui-source.c, tui-stack.c, tui-win.c, tui-windata.c, | |
356 | tui-wingeneral.c, tui-wingeneral.h, tui-winsource.c, tui.c, | |
357 | tui-winsource.h: Whitespace changes, fix pointer declarations | |
358 | to be consistant. | |
359 | ||
64a1bf19 JB |
360 | 2007-08-14 Joel Brobecker <[email protected]> |
361 | Michael Snyder <[email protected]> | |
362 | ||
363 | * ada-lang.c (field_alignment): Guard against NULL. | |
364 | ||
e933291e JB |
365 | 2007-08-14 Joel Brobecker <[email protected]> |
366 | ||
367 | * MAINTAINERS (Global Maintainers): Add self. | |
368 | ||
348144ba MS |
369 | 2007-08-14 Michael Snyder <[email protected]> |
370 | ||
068acb6c MS |
371 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Dead code, dead variable. |
372 | ||
6d307763 MS |
373 | * ada-lang.c (possible_user_operator_p): Guard against NULL. |
374 | ||
348144ba MS |
375 | * varobj.c (cplus_describe_child): Guard against null. |
376 | Use "NULL" instead of "0" to initialize pointers. | |
377 | ||
b8926edc DJ |
378 | 2007-08-14 Daniel Jacobowitz <[email protected]> |
379 | ||
380 | * arm-tdep.c (arm_gdbarch_init): Allow unknown ABI and FPU settings | |
381 | to match any gdbarch with matching OSABI. Set default ABI and FPU | |
382 | after running the OSABI handler. | |
383 | ||
cdd6623c DJ |
384 | 2007-08-14 Daniel Jacobowitz <[email protected]> |
385 | ||
386 | * config/i386/linux.mh (NATDEPFILES): Move corelow.o from here... | |
387 | * config/i386/linux.mt (TDEPFILES): ...to here. | |
388 | ||
cb851954 VP |
389 | 2007-08-14 Vladimir Prus <[email protected]> |
390 | ||
cb851954 VP |
391 | * breakpoint.c (disable_breakpoints_in_shlibs): Remove |
392 | the 'silent' parameter and code to implement that. | |
393 | * breakpoint.h (disable_breakpoints_in_shlibs): Adjust | |
394 | prototype. | |
395 | * win32-nat.c: Adjust. | |
396 | * solib.c: Adjust. | |
397 | ||
e14a792b VP |
398 | 2007-08-14 Vladimir Prus <[email protected]> |
399 | ||
e14a792b VP |
400 | * breakpoint.c (update_breakpoints_after_exec): Don't |
401 | set address to zero. | |
402 | ||
be8ca11b MS |
403 | 2007-08-13 Michael Snyder <[email protected]> |
404 | ||
ac3eeb49 MS |
405 | * valops.c: Whitespace clean-up. |
406 | ||
81b7c67a MS |
407 | * tui/tui-winsource.c (tui_alloc_source_buffer): Clean up allocation. |
408 | ||
f5b73fbb MS |
409 | * event-top.c (command_line_handler): Memory leak. |
410 | ||
b538c234 MS |
411 | * mi/mi-cmd-var.c (mi_cmd_var_set_format): Memory leak. |
412 | No need to make copy. | |
413 | ||
be8ca11b MS |
414 | * source.c (find_source_lines): Require symtab 's'. |
415 | ||
489f0516 MS |
416 | 2007-08-11 Michael Snyder <[email protected]> |
417 | ||
418 | * completer.c: Spelling fix in comments. | |
419 | ||
9c3f90bd MS |
420 | 2007-08-10 Michael Snyder <[email protected]> |
421 | ||
687d6395 | 422 | * gdbtypes.c: Coding standard cleanup. |
7ba81444 MS |
423 | * gdbtypes.c: Comment/whitespace cleanup. |
424 | ||
6aef78af MS |
425 | * stabsread.c (read_huge_number): Attempt to compute value before |
426 | values that it depends on. | |
427 | ||
46be51c4 MS |
428 | * linespec.c (decode_dollar): Dead code, ptr can't be non-null. |
429 | (decode_objc): Use "NULL" instead of 0. | |
430 | (find_method): Ditto. | |
431 | (decode_all_digits): Ditto. | |
432 | (decode_dollar): Ditto. | |
433 | ||
412bbd6c MS |
434 | * mi/mi-main.c (mi_cmd_data_evaluate_expression): Resource leak. |
435 | ||
76bd6e0b MS |
436 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Memory leak. |
437 | ||
518f9d3c MS |
438 | * solib-svr4.c (enable_break): Don't free tmp_pathname until |
439 | after closing bfd. | |
440 | ||
9c3f90bd MS |
441 | * completer.c: Comment/whitespace cleanup. |
442 | ||
adee0206 JB |
443 | 2007-08-10 Joel Brobecker <[email protected]> |
444 | ||
445 | * Makefile.in (i386nbsd-nat.o): Add missing dependency. | |
446 | ||
447 | 2007-08-10 Maxim Grigoriev <[email protected]> | |
9f8e6999 MG |
448 | |
449 | * remote-fileio.c (remote_fileio_resize_fd_map): Initialize newly | |
450 | allocated file descriptors. | |
451 | ||
271a27b8 JB |
452 | 2007-08-10 Joel Brobecker <[email protected]> |
453 | ||
454 | * Makefile.in: Minor cleanup throughout; add some missing variables, | |
455 | add some missing rules, remove some rules that are no longer needed, | |
456 | and fix the dependencies in several rules. | |
457 | ||
57da7796 LC |
458 | 2007-08-10 Ludovic Courtès <[email protected]> |
459 | ||
d4310edb LC |
460 | * Makefile.in (SFILES): Add scm-{exp,lang,valprint}.c. |
461 | (scm_lang_h, scm_tags_h): New. | |
462 | (COMMON_OBS): Add scm-{exp,lang,valprint}.o. | |
463 | (scm-exp.o, scm-lang.o, scm-valprint.o): New targets. | |
464 | * defs.h (enum language): Add `language_scm'. | |
465 | ||
57da7796 LC |
466 | * MAINTAINERS: Add Emacs local variables to use UTF-8 upon |
467 | opening. | |
468 | ||
93c06293 LC |
469 | 2007-08-09 Ludovic Courtès <[email protected]> |
470 | ||
471 | * MAINTAINERS (Write After Approval): Add myself. | |
472 | ||
0997b535 MS |
473 | 2007-08-09 Michael Snyder <[email protected]> |
474 | ||
475 | * solib.c (solib_open): Memory leak -- openp returns xmalloc buffer. | |
476 | ||
4fec86cf JB |
477 | 2007-08-09 Joel Brobecker <[email protected]> |
478 | ||
479 | * solib-som.c (som_relocate_section_addresses): Stop saving | |
480 | the $CODE$ section in the so_list structure. | |
481 | ||
7b871568 MG |
482 | 2007-08-08 Maxim Grigoriev <[email protected]> |
483 | ||
484 | * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): New. | |
485 | (xtensa_register_group_t): Add entries for coprocessors. | |
486 | * xtensa-tdep.c (xtensa_init_reggroups): New register groups. | |
487 | (xtensa_add_reggroups): Likewise. | |
488 | (xtensa_register_reggroup_p): Likewise. | |
489 | (xtensa_coprocessor_register_group): New function. | |
490 | (xtensa_cp): New. | |
491 | ||
652aaa24 JK |
492 | 2007-08-08 Jan Kratochvil <[email protected]> |
493 | ||
494 | * serial.c (serial_open): Fix the OPEN parameter macro expansion. | |
495 | ||
decbce07 MS |
496 | 2007-08-08 Michael Snyder <[email protected]> |
497 | ||
6217bf3e MS |
498 | * target.c (target_read_string): Guard against null. |
499 | ||
6225abfa MS |
500 | * varobj.c (value_of_root): Move alloc after return to avoid leak. |
501 | ||
3e40160c | 502 | * tui/tui-layout.c (tui_set_layout): Dead code, dead variable. |
3277c0e0 | 503 | (tui_set_layout_for_display_command): Mem leak. |
3e40160c | 504 | |
91d2803c MS |
505 | * top.c (command_line_input): Memory leak. |
506 | ||
ea5bf0a1 MS |
507 | * solib-svr4.c (open_symbol_file_object): Memory leak. |
508 | (svr4_current_sos): Ditto. | |
509 | (enable_break): Ditto. | |
510 | ||
34e2dfde MS |
511 | * cp-valprint.c (cp_print_hpacc_virtual_table_entries): Memory leak. |
512 | ||
decbce07 MS |
513 | * dwarf2read.c (add_partial_symbol): Memory leak. |
514 | ||
4cdfadb1 MS |
515 | 2007-08-06 Michael Snyder <[email protected]> |
516 | ||
517 | * ada-lang.c (desc_bounds): Comparison of function address to NULL. | |
518 | ||
b1ddacc7 JB |
519 | 2007-08-05 Jim Blandy <[email protected]> |
520 | ||
521 | * macroexp.c (init_buffer): Remove testing code that overrides the | |
522 | caller's length guess. | |
523 | (gather_arguments): Use a larger initial size, now that the vector | |
524 | growth code has been exercised. | |
525 | ||
5d9643ba PA |
526 | 2007-08-05 Pedro Alves <[email protected]> |
527 | ||
528 | * solib-target.c (solib_target_relocate_section_addresses): Add | |
529 | orig_delta to addr_high. | |
530 | ||
27e06d3e MS |
531 | 2007-08-04 Michael Snyder <[email protected]> |
532 | ||
1ed489bd MS |
533 | * remote-fileio.c (remote_fileio_func_write): Memory leak. |
534 | ||
c1f5197e MS |
535 | * breakpoint.c (print_one_breakpoint): Off by one error. |
536 | ||
27e06d3e MS |
537 | * tracepoint.c (add_register): Off by one error. |
538 | (stringify_collection_list): Free malloc buffer. | |
539 | ||
03b4bca2 MS |
540 | 2007-08-03 Michael Snyder <[email protected]> |
541 | ||
474d0d0c MS |
542 | * mi-cmd-var.c (mi_cmd_var_delete): Remove unused variable, |
543 | stop memory leak, straighten out cleanups. | |
544 | ||
03b4bca2 MS |
545 | * jv-lang.c (java_link_class_type): Guard against NULL. |
546 | ||
423c0af8 MS |
547 | 2007-08-02 Michael Snyder <[email protected]> |
548 | ||
f9780d5b MS |
549 | * gdbtypes.c (create_set_type): Test should only be done within |
550 | the preceeding if block. Otherwise, variable is uninitialized. | |
551 | ||
423c0af8 MS |
552 | * gdbtypes.c (check_typedef): Guard NULL. |
553 | ||
c0645fb5 MS |
554 | 2007-08-01 Michael Snyder <[email protected]> |
555 | ||
3cebf8d8 MS |
556 | * cli/cli-decode.c (lookup_cmd): Check for null earlier, to |
557 | avoid dereference in lookup_cmd_1. | |
558 | ||
c0645fb5 MS |
559 | * tui/tui-data.c (tui_alloc_content): Move assign out of if, |
560 | clean up long lines. | |
561 | (tui_alloc_generic_win_info): Tidy by using XMALLOC macro. | |
562 | (tui_alloc_win_info): Ditto. | |
563 | (tui_add_content_elements): Ditto. | |
564 | * tui/tui-file.c (tui_file_magic): Ditto. | |
565 | ||
abe34c35 MS |
566 | 2007-07-31 Michael Snyder <[email protected]> |
567 | ||
967af18d MS |
568 | * breakpoint.c (breakpoint_init_inferior): Add 'else' to 'if'. |
569 | True and false paths are mutually exclusive. | |
570 | ||
40742ab6 MS |
571 | * event-top.c (command_line_handler): Add pedantic return. |
572 | ||
7c6e0d48 MS |
573 | * f-valprint.c (info_common_command): Bail out to prevent null |
574 | pointer deref. Break up a long line. | |
575 | ||
c7b1adc9 MS |
576 | * exec.c (xfer_memory): Remove redundant condition from 'if'. |
577 | ||
73780b3c MS |
578 | * symfile.c (reread_separate_symbols): Free xmalloced memory. |
579 | ||
abe34c35 MS |
580 | * printcmd.c (build_address_symbolic): Remove dead code and dead |
581 | variable. | |
582 | ||
e48883f7 DJ |
583 | 2007-07-31 Daniel Jacobowitz <[email protected]> |
584 | ||
585 | * linespec.c (minsym_found): Advance to the next line if possible. | |
586 | ||
57204837 PA |
587 | 2007-07-31 Pedro Alves <[email protected]> |
588 | ||
589 | * arm-wince-tdep.c (arm_wince_init_abi): Remove svr4 related call. | |
590 | * config/arm/wince.mt (TDEPFILES): Remove solib-legacy.o and | |
591 | solib-svr4.o, and add solib-target.o | |
592 | ||
fed8b01e MS |
593 | 2007-07-27 Michael Snyder <[email protected]> |
594 | ||
595 | * tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof. | |
596 | ||
9ceb0b4c MR |
597 | 2007-07-26 Maciej W. Rozycki <[email protected]> |
598 | ||
599 | * MAINTAINERS (Write After Approval): Add myself. | |
600 | ||
c80a96a8 MR |
601 | 2007-07-26 Maciej W. Rozycki <[email protected]> |
602 | ||
603 | * Makefile.in (MAKEHTMLFLAGS): Also search the current directory | |
604 | for include files. | |
605 | ||
5b311828 MR |
606 | 2007-07-25 Maciej W. Rozycki <[email protected]> |
607 | ||
608 | * Makefile.in (MAKEHTMLFLAGS): Remove "-glossary". | |
609 | ||
f52df7d9 | 610 | 2007-07-24 Michael Snyder <[email protected]> |
55765a25 | 611 | |
f52df7d9 MS |
612 | * solib-svr4.c (svr4_fetch_objfile_link_map): Null pointer check of |
613 | 'buffer' must cover both branches that call strcmp (Coverity). | |
55765a25 | 614 | |
f52df7d9 | 615 | * stack.c (print_frame_args): Check return value of lookup_symbol. |
747f3d18 MS |
616 | |
617 | * ax-gdb.c (find_field): Guard against null ptr. | |
618 | ||
69ae91d3 UW |
619 | 2007-07-24 Ulrich Weigand <[email protected]> |
620 | ||
621 | * regformats/reg-spu.dat: Fix order of npc, id registers. | |
622 | ||
98646950 UW |
623 | 2007-07-24 Ulrich Weigand <[email protected]> |
624 | ||
625 | * target.c (memory_xfer_partial): Accesses to unmapped overlay | |
626 | sections should always go to the executable file. | |
627 | ||
193774b3 MR |
628 | 2004-07-20 Chris Dearman <[email protected]> |
629 | ||
630 | * mips-tdep.c (heuristic_proc_start): Add more MIPS16 function | |
631 | prologue instructions. | |
632 | ||
ce1f96de MR |
633 | 2007-07-20 Maciej W. Rozycki <[email protected]> |
634 | ||
635 | * mips-tdep.c (mips_next_pc): Use is_mips16_addr() instead of | |
636 | a direct test. | |
637 | ||
bcf1ea1e MR |
638 | 2007-07-20 Chris Dearman <[email protected]> |
639 | Maciej W. Rozycki <[email protected]> | |
640 | ||
641 | * mips-tdep.c (fetch_mips_16): Fix typos and reformat the | |
642 | description. | |
643 | ||
255e7678 DJ |
644 | 2007-07-17 Pedro Alves <[email protected]> |
645 | Daniel Jacobowitz <[email protected]> | |
646 | ||
647 | * config/i386/cygwin.mt (TDEPFILES): Add solib-target.o. | |
648 | * coff-pe-read.c (read_pe_exported_syms): Delete verbose | |
649 | printf. | |
650 | * NEWS: Mention gdbserver DLL support. | |
651 | ||
a8c50c1f DJ |
652 | 2007-07-17 Daniel Jacobowitz <[email protected]> |
653 | ||
654 | * dwarf2read.c (dwarf_decode_lines): Detect address size mismatches. | |
655 | ||
2e024c20 L |
656 | 2007-07-16 H.J. Lu <[email protected]> |
657 | ||
658 | * i386-linux-nat.c (fetch_regs): Work around gcc 3.4 alias | |
659 | warning bug. | |
660 | ||
f219aedc KB |
661 | 2007-07-13 Kevin Buettner <[email protected]> |
662 | ||
663 | * mep-tdep.c (mep_analyze_prologue): Update comment for BRA | |
664 | instruction case. | |
665 | ||
1ba3e7a3 KB |
666 | 2007-07-12 Kevin Buettner <[email protected]> |
667 | ||
668 | * mep-tdep.c (IS_BRA, BRA_DISP): New macros. | |
669 | (mep_analyze_prologue): Add case for BRA instruction. | |
670 | ||
f1e55806 UW |
671 | 2007-07-12 Ulrich Weigand <[email protected]> |
672 | ||
673 | * solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic. | |
674 | ||
d9f71b56 NR |
675 | 2007-07-10 Nick Roberts <[email protected]> |
676 | ||
677 | * breakpoint.c: Include "top.h". | |
678 | (breakpoint_1): Don't set convenience variable $_ if server prefix | |
679 | is used. | |
680 | (_initialize_breakpoint): Describe this behaviour in command help. | |
681 | ||
358eb95e PA |
682 | 2007-07-08 Pedro Alves <[email protected]> |
683 | ||
684 | * solib-target.c (library_list_start_segment): Cast address to | |
685 | CORE_ADDR. | |
686 | ||
a4e7b2e7 MK |
687 | 2007-07-06 Mark Kettenis <[email protected]> |
688 | ||
689 | * bsd-uthread.c (bsd_uthread_wait): Don't try to fetch thread IDs | |
690 | for terminated processes. | |
691 | ||
2ed23f5f MS |
692 | 2007-07-05 Michael Snyder <[email protected]> |
693 | ||
694 | * event-top.c (cli_command_loop): Prompt string can (and should) | |
695 | be freed after call to readline (Coverity). Also move local var | |
696 | declarations into block where they are used. | |
697 | ||
698 | * tui/tui-interp.c (tui_command_loop): Prompt string can (and | |
699 | should) be freed after call to readline (Coverity). Also move | |
700 | local var declarations into block where they are used. | |
701 | ||
a25694b4 AS |
702 | 2007-07-03 Andreas Schwab <[email protected]> |
703 | ||
704 | * linux-nat.c (linux_nat_info_proc_cmd): Fix parsing of columns in | |
705 | /proc/../stat. | |
706 | ||
2bbe3cc1 DJ |
707 | 2007-07-03 Paul Gilliam <[email protected]> |
708 | Thiago Bauermann <[email protected]> | |
709 | Joseph S. Myers <[email protected]> | |
710 | Daniel Jacobowitz <[email protected]> | |
711 | ||
712 | * remote.c (remote_check_symbols): Use | |
713 | gdbarch_convert_from_func_ptr_addr. | |
714 | * infcall.c (find_function_addr): Handle function descriptors | |
715 | without debugging information. | |
716 | * ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Renamed | |
717 | from ppc64_linux_convert_from_func_ptr_addr. Handle -msecure-plt. | |
718 | (ppc_linux_init_abi): Always set convert_from_func_ptr_addr. | |
719 | * solib-svr4.c (solib_break_names): Remove "._dl_debug_state". | |
720 | (bfd_lookup_symbol): Do not take a SECT_FLAGS argument. Always | |
721 | allow SEC_CODE and SEC_DATA. | |
722 | (enable_break): Update calls. Pass current_target to solib_add. | |
723 | Use gdbarch_convert_from_func_ptr_addr. | |
724 | ||
9f43d28c DJ |
725 | 2007-07-03 Ilko Iliev <[email protected]> |
726 | Daniel Jacobowitz <[email protected]> | |
727 | ||
728 | * symfile.c (print_transfer_performance): Avoid integer overflow. | |
729 | Use larger units. | |
730 | ||
3a40aaa0 UW |
731 | 2007-07-03 Markus Deuling <[email protected]> |
732 | ||
733 | * cp-namespace.c (lookup_symbol_file): Add block to | |
734 | lookup_symbol_global call. | |
735 | * Makefile.in (solist_h): Add dependency on symtab header. | |
736 | (symtab.o): Add dependency on solist header. | |
737 | * solib.c (solib_global_lookup): New function. | |
738 | * solib-svr4.c (scan_dyntag): Likewise. | |
739 | (elf_locate_base): Call helper routine scan_dyntag. | |
740 | (elf_lookup_lib_symbol): New function. | |
741 | (_initialize_svr4_solib): Add elf_lookup_lib_symbol to svr4_so_ops. | |
742 | * solist.h (symtab.h): New include. | |
743 | (struct target_so_ops): New member lookup_lib_global_symbol. | |
744 | (solib_global_lookup): New prototype. | |
745 | * symtab.c: New include solist.h. | |
746 | (lookup_objfile_from_block): New function. | |
747 | (lookup_global_symbol_from_objfile): New function. | |
748 | (basic_lookup_symbol_nonlocal): Add block to lookup_symbol_global call. | |
749 | (lookup_symbol_global): Call library-specific lookup procedure. | |
750 | * symtab.h (lookup_global_symbol_from_objfile): New prototype. | |
751 | ||
752 | * NEWS: Document framework. | |
753 | ||
c8c12293 DJ |
754 | 2007-07-02 Daniel Jacobowitz <[email protected]> |
755 | ||
756 | * target-descriptions.c (tdesc_create_reg): Do not set reg->type | |
757 | to NULL. | |
758 | ||
759 | * cli/cli-script.c (build_command_line): Update NULL check. | |
760 | ||
7877e977 MS |
761 | 2007-07-02 Michael Snyder <[email protected]> |
762 | ||
763 | * p-exp.y (yylex): Memory leak, 'uptokstart' must be freed (Coverity). | |
764 | ||
cfa9d6d9 DJ |
765 | 2007-07-02 Daniel Jacobowitz <[email protected]> |
766 | ||
767 | * Makefile.in (XMLFILES): Add library-list.dtd. | |
768 | (ALLDEPFILES): Add solib-target.o. | |
769 | (solib-target.o): New rule. | |
770 | * remote.c (PACKET_qXfer_libraries): New constant. | |
771 | (remote_protocol_features): Add qXfer:libraries:read. | |
772 | (remote_wait): Recognize library stop replies. | |
773 | (remote_async_wait): Likewise. Fix typo. | |
774 | (remote_xfer_partial): Handle TARGET_OBJECT_LIBRARIES. | |
775 | (init_remote_async_ops): Fix typo. | |
776 | (_initialize_remote): Register "set remote library-info-packet". | |
777 | * solib-som.c (som_current_sos): Set addr_low and addr_high. | |
778 | * solib-target.c: New file. | |
779 | * solib.c (solib_map_sections): Use addr_low and addr_high instead | |
780 | of textsection. | |
781 | (info_sharedlibrary_command): Likewise. | |
782 | (solib_add_library, solib_remove_library): New. | |
783 | * solist.h (struct so_list): Replace textsection with addr_low and | |
784 | addr_high. | |
785 | * target.h (enum target_object): Add TARGET_OBJECT_LIBRARIES. | |
786 | * NEWS: Describe new qXfer:libraries:read and shared library | |
787 | event support. | |
788 | * features/library-list.dtd: New. | |
789 | ||
b0f4b84b DJ |
790 | 2007-07-02 Daniel Jacobowitz <[email protected]> |
791 | ||
792 | * infrun.c (inferior_ignoring_startup_exec_events): Delete. | |
793 | (start_remote): Use STOP_QUIETLY_REMOTE. | |
794 | (handle_inferior_event): Do not condition TARGET_WAITKIND_LOADED | |
795 | support on a SOLIB_ADD definition. Update breakpoints_inserted. | |
796 | Update to match shared library event breakpoint support. Only | |
797 | resume if appropriate. Handle STOP_QUIETLY_REMOTE. | |
798 | (normal_stop): Handle TARGET_WAITKIND_LOADED. | |
799 | * fork-child.c (startup_inferior): Do not set | |
800 | inferior_ignoring_startup_exec_events | |
801 | * inferior.h (inferior_ignoring_startup_exec_events): Delete | |
802 | declaration. | |
803 | (enum stop_kind): Improve documentation. Add STOP_QUIETLY_REMOTE. | |
804 | ||
9bbf65bb UW |
805 | 2007-07-02 Markus Deuling <[email protected]> |
806 | ||
807 | * breakpoint.c (insert_bp_location): Remove dead code | |
808 | (DISABLE_UNSETTABLE_BREAK). | |
809 | (disable_breakpoints_in_shlibs) | |
810 | (disable_breakpoints_in_unloaded_shlib): Likewise (comment). | |
811 | ||
a4954f26 DJ |
812 | 2007-07-02 Daniel Jacobowitz <[email protected]> |
813 | ||
814 | * breakpoint.c (reattach_breakpoints): Do not use remove_breakpoint. | |
815 | Call insert_bp_location. | |
816 | ||
b48516f9 L |
817 | 2007-07-01 H.J. Lu <[email protected]> |
818 | ||
819 | * core-regset.c (fetch_core_registers): Work around gcc 3.4 | |
820 | alias warning bug. | |
821 | ||
96225718 DJ |
822 | 2007-07-01 Daniel Jacobowitz <[email protected]> |
823 | ||
824 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Search fewer | |
825 | objfiles. | |
826 | ||
1b05479a DJ |
827 | 2007-07-01 Daniel Jacobowitz <[email protected]> |
828 | ||
829 | * top.c (gdb_readline_wrapper_line): Call rl_callback_handler_remove. | |
830 | (struct gdb_readline_wrapper_cleanup): Remove prompt_orig. | |
831 | (gdb_readline_wrapper_cleanup): Do not reset the prompt. | |
832 | (gdb_readline_wrapper): Do not save the prompt. Pass our prompt | |
833 | to display_gdb_prompt. | |
834 | ||
5ad3a4ca DJ |
835 | 2007-07-01 Daniel Jacobowitz <[email protected]> |
836 | ||
837 | PR symtab/2161 | |
838 | * target.c (memory_xfer_partial): Do not continue past targets with | |
839 | all memory. | |
840 | ||
4ed77933 AS |
841 | 2007-06-30 Andreas Schwab <[email protected]> |
842 | ||
4713453b AS |
843 | * m68k-tdep.c (m68k_ps_type): New. |
844 | (m68k_init_types): New. | |
845 | (m68k_register_type): Use m68k_ps_type for PS register. | |
846 | (_initialize_m68k_tdep): Call m68k_init_types. | |
847 | ||
4ed77933 AS |
848 | * m68k-tdep.c (m68k_gdbarch_init): Don't infer coldfire flavour |
849 | from the generic m68k arch. | |
850 | ||
dd3526aa MS |
851 | 2007-06-28 Michael Snyder <[email protected]> |
852 | ||
f08312c2 MS |
853 | * m2-typeprint.c (m2_print_type): Move pointer ref after null test |
854 | (Coverity). | |
855 | ||
a787bedf MS |
856 | * linux-thread-db.c (thread_db_get_thread_local_address): Add |
857 | gdb_assert before using return value of find_thread_pid (Coverity). | |
858 | ||
77accacd MS |
859 | * source.c (unset_substitute_path_command): Plug leak (Coverity). |
860 | ||
dd3526aa MS |
861 | * cli/cli-script.c (build_command_line): Add null pointer guard |
862 | (Coverity). | |
863 | ||
4105de34 DJ |
864 | 2007-06-27 Daniel Jacobowitz <[email protected]> |
865 | ||
866 | * linux-thread-db.c (thread_db_attach): Delete. | |
867 | (thread_db_detach): Typo fix. Call target_mourn_inferior | |
868 | instead of fixing up proc_handle. | |
869 | (have_threads_callback, have_threads): New functions. | |
870 | (thread_db_wait): Remove dead proc_handle.pid check. Only | |
871 | translate PTIDs if we have registered threads. Check for new | |
872 | threads if we have none. | |
873 | (thread_db_create_inferior, thread_db_post_startup_inferior): Delete. | |
874 | (find_new_threads_callback): Only enable event reporting if TID == 0. | |
875 | (same_ptid_callback): New. | |
876 | (thread_db_get_thread_local_address): Check for new threads. | |
877 | (init_thread_db_ops): Don't set to_attach, to_create_inferior, | |
878 | or to_post_startup_inferior. | |
879 | ||
1c0fdd0e UW |
880 | 2007-06-22 Ulrich Weigand <[email protected]> |
881 | ||
882 | * infrun.c (adjust_pc_after_break): Do not assume software single-step | |
883 | is always active if SOFTWARE_SINGLE_STEP_P is true. | |
884 | (resume): Use gdbarch_software_single_step[_p] instead of | |
885 | SOFTWARE_SINGLE_STEP[_P]. | |
886 | (handle_inferior_event): Do not check for SOFTWARE_SINGLE_STEP_P. | |
887 | ||
888 | * gdbarch.sh (software_single_step): Remove target macro. | |
889 | * gdbarch.h, gdbarch.c: Regenerate. | |
890 | ||
e487cc15 UW |
891 | 2007-06-22 Ulrich Weigand <[email protected]> |
892 | ||
893 | * gdbarch.sh (gdbarch_swap_ftype, deprecated_register_gdbarch_swap, | |
894 | DEPRECATED_REGISTER_GDBARCH_SWAP): Remove. | |
895 | (struct gdbarch_swap, struct gdbarch_swap_registration, | |
896 | struct gdbarch_swap_registry, gdbarch_swap_registry, | |
897 | current_gdbarch_swap_init_hack, current_gdbarch_swap_out_hack, | |
898 | current_gdbarch_swap_in_hack): Remove. | |
899 | (find_arch_by_info): Do not call current_gdbarch_swap_init_hack. | |
900 | (gdbarch_find_by_info): Do not call current_gdbarch_swap_in_hack | |
901 | and current_gdbarch_swap_out_hack, update current_gdbarch directly. | |
902 | (deprecated_current_gdbarch_select_hack): Likewise. | |
903 | * gdbarch.h, gdbarch.c: Regenerate. | |
904 | ||
d5c31457 UW |
905 | 2007-06-22 Ulrich Weigand <[email protected]> |
906 | ||
907 | * infrun.c (clear_proceed_status): Clean up stop_registers. | |
908 | (normal_stop): Allocate regcache for stop_registers. | |
909 | (struct inferior_status): Remove stop_registers member. | |
910 | (save_inferior_status): Do not save stop_registers. | |
911 | (restore_inferior_status): Do not restore stop_registers. | |
912 | (discard_inferior_status): Do not discard stop_registers. | |
913 | (build_infrun): Remove. | |
914 | (_initialize_infrun): Do not swap stop_registers. | |
915 | ||
911c95a5 UW |
916 | 2007-06-22 Ulrich Weigand <[email protected]> |
917 | ||
918 | * remote.c (remote_address_masked): If remote_address_size is zero, | |
919 | default to target address size. | |
920 | (build_remote_gdbarch_data): Remove. | |
921 | (_initialize_remote): Do not swap remote_address_size. | |
922 | ||
5674de60 UW |
923 | 2007-06-22 Ulrich Weigand <[email protected]> |
924 | ||
925 | * gdbtypes.h (builtin_type_true_char, builtin_type_void, | |
926 | builtin_type_char, builtin_type_short, builtin_type_int, | |
927 | builtin_type_long, builtin_type_signed_char, | |
928 | builtin_type_unsigned_char, builtin_type_unsigned_short, | |
929 | builtin_type_unsigned_int, builtin_type_unsigned_long, | |
930 | builtin_type_float, builtin_type_double, builtin_type_long_double, | |
931 | builtin_type_complex, builtin_type_double_complex, builtin_type_string, | |
932 | builtin_type_bool, builtin_type_long_long, | |
933 | builtin_type_unsigned_long_long, builtin_type_void_data_ptr, | |
934 | builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Replace global | |
935 | variable declaration with compatibility macro. | |
936 | * gdbtypes.c (builtin_type_true_char, builtin_type_void, | |
937 | builtin_type_char, builtin_type_short, builtin_type_int, | |
938 | builtin_type_long, builtin_type_signed_char, | |
939 | builtin_type_unsigned_char, builtin_type_unsigned_short, | |
940 | builtin_type_unsigned_int, builtin_type_unsigned_long, | |
941 | builtin_type_float, builtin_type_double, builtin_type_long_double, | |
942 | builtin_type_complex, builtin_type_double_complex, builtin_type_string, | |
943 | builtin_type_bool, builtin_type_long_long, | |
944 | builtin_type_unsigned_long_long, builtin_type_void_data_ptr, | |
945 | builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Remove. | |
946 | (build_gdbtypes): Remove. | |
947 | (_initialize_gdbtypes): Do not call build_gdbtypes, move installing | |
948 | opaque-type-resolution command here. Do not call | |
949 | deprecated_register_gdbarch_swap. | |
950 | ||
64c50499 UW |
951 | 2007-06-22 Ulrich Weigand <[email protected]> |
952 | ||
953 | * gdbtypes.h (struct builtin_type): New members nodebug_text_symbol, | |
954 | nodebug_data_symbol, nodebug_unknown_symbol, and nodebug_tls_symbol. | |
955 | * gdbtypes.c (gdbtypes_post_init): Initialize nodebug_ default types. | |
956 | ||
957 | * parse.c (msym_text_symbol_type, msym_data_symbol_type): Remove. | |
958 | (msym_unknown_symbol_type, msym_tls_symbol_type): Remove. | |
959 | (write_exp_msymbol): Use builtin nodebug_ types instead of them. | |
960 | (build_parse): Remove. | |
961 | (_initialize_parse): Do not call build_parse. Do not register | |
962 | msym_ types for gdbarch-swapping. | |
963 | ||
964 | * dwarf2read.c (new_symbol): Use default nodebug_data_symbol type | |
965 | instead of creating private type. | |
966 | ||
967 | * xcoffread.c (func_symbol_type, var_symbol_type): Remove. | |
968 | (_initialize_xcoffread): Do not initialized them. | |
969 | (process_xcoff_symbol): Use builtin nodebug_ types instead of them. | |
970 | ||
971 | * mdebugread.c (nodebug_func_symbol_type): Remove. | |
972 | (nodebug_var_symbol_type): Remove. | |
973 | (_initialize_mdebugread): Do not initialize them. | |
974 | (parse_symbol): Use builtin nodebug_ type instead of them. | |
975 | (parse_procedure): Likewise. | |
976 | ||
6a2eb474 MR |
977 | 2007-06-21 Chris Dearman <[email protected]> |
978 | ||
979 | * printcmd.c (do_one_display): If display/i, start with an initial | |
980 | line feed to avoid bad layout if there is a branch delay slot. | |
981 | ||
a4642986 MR |
982 | 2007-06-21 Nigel Stephens <[email protected]> |
983 | Maciej W. Rozycki <[email protected]> | |
984 | ||
985 | * disasm.c (gdb_print_insn): Return the number of branch delay | |
986 | slot instructions too. | |
987 | * disasm.h (gdb_print_insn): Update prototype. | |
988 | * printcmd.c (branch_delay_insns): New variable to record the | |
989 | number of delay slot instructions after disassembling a branch. | |
990 | (print_formatted): Record the number of branch delay slot | |
991 | instructions. | |
992 | (do_examine): When disassembling, if the last instruction | |
993 | disassembled has any branch delay slots, then bump the count so | |
994 | that they get disassembled too. | |
995 | * tui/tui-disasm.c (tui_disassemble): Update the call to | |
996 | gdb_print_insn(). | |
997 | * NEWS: Document the new behaviour. | |
998 | ||
ade28716 AS |
999 | 2007-06-21 Andreas Schwab <[email protected]> |
1000 | ||
1001 | * regcache.c (write_pc_pid): Restore missing else. | |
1002 | ||
28c38f10 UW |
1003 | 2007-06-20 Ulrich Weigand <[email protected]> |
1004 | ||
1005 | * regcache.c (regcache_print): Use get_current_regcache () | |
1006 | instead of current_regcache. | |
1007 | ||
52b57208 L |
1008 | 2007-06-20 H.J. Lu <[email protected]> |
1009 | ||
1010 | PR 4606 | |
1011 | * gcore.c (gcore_command): Use bfd_make_section_anyway_with_flags | |
1012 | instead of bfd_make_section_anyway. | |
1013 | (gcore_create_callback): Likewise. Also set SEC_NEVER_LOAD | |
1014 | when clearing SEC_LOAD. | |
1015 | ||
8bf8793c JM |
1016 | 2007-06-19 Joseph Myers <[email protected]> |
1017 | ||
1018 | * arm-tdep.c (arm_push_dummy_call): Correct padding of partial | |
1019 | registers for big-endian. | |
1020 | ||
7f5c84d3 UW |
1021 | 2007-06-19 Markus Deuling <[email protected]> |
1022 | ||
1023 | * gdbarch.sh (TARGET_PRINT_INSN): Replace by gdbarch_print_insn. | |
1024 | * disasm.c (dump_insns, gdb_print_insn): Likewise. | |
1025 | * gdbarch.c, gdbarch.h: Regenerate. | |
1026 | ||
f73e88f9 UW |
1027 | 2007-06-19 Markus Deuling <[email protected]> |
1028 | ||
1029 | * gdbarch.sh (BELIEVE_PCC_PROMOTION): Replace by | |
1030 | gdbarch_believe_pcc_promotion. | |
1031 | * stabsread.c (define_symbol): Likewise. | |
1032 | Remove unnecessary definition. | |
1033 | * coffread.c (process_coff_symbol): Remove unnecessary code. | |
1034 | * gdbarch.c, gdbarch.h: Regenerate. | |
1035 | ||
cab58a69 DJ |
1036 | 2007-06-19 Daniel Jacobowitz <[email protected]> |
1037 | ||
1038 | * configure.ac: Do not use ${objdir}. | |
1039 | * configure: Regenerated. | |
1040 | ||
f0c9063c UW |
1041 | 2007-06-18 Ulrich Weigand <[email protected]> |
1042 | ||
1043 | * gdbarch.sh (deprecated_register_size): Remove. | |
1044 | * gdbarch.h, gdbarch.c: Regenerate. | |
1045 | ||
1046 | * arm-tdep.c (arm_push_dummy_call): Replace DEPRECATED_REGISTER_SIZE | |
1047 | by INT_REGISTER_SIZE. | |
1048 | (thumb_get_next_pc, arm_return_in_memory): Likewise. | |
1049 | (arm_gdbarch_init): Do not call set_gdbarch_deprecated_register_size. | |
1050 | * ia64-tdep.c (ia64_gdbarch_init): Do not call | |
1051 | set_gdbarch_deprecated_register_size. | |
1052 | ||
064f5156 UW |
1053 | 2007-06-18 Markus Deuling <[email protected]> |
1054 | ||
1055 | * gdbarch.sh (DEPRECATED_FP_REGNUM): Replace by | |
1056 | gdbarch_deprecated_fp_regnum. | |
1057 | * std-regs.c (value_of_builtin_frame_fp_reg): Likewise. | |
1058 | * remote-mips.c (mips_wait, mips_fetch_registers): Likewise. | |
1059 | * arch-utils.c (legacy_virtual_frame_pointer): Likewise. | |
1060 | * arch-utils.h (gdbarch_virtual_frame_pointer_ftype): Likewise | |
1061 | (comment). | |
1062 | * gdbarch.c, gdbarch.h: Regenerate. | |
1063 | ||
1064 | 2007-06-18 Markus Deuling <[email protected]> | |
1065 | ||
1066 | * gdbarch.sh (EXTRACT_RETURN_VALUE): Replace with | |
1067 | gdbarch_extract_return_value. | |
1068 | * value.c (generic_use_struct_convention): Likewise (comment). | |
1069 | * ia64-tdep.c (ia64_use_struct_convention): Likewise (comment). | |
1070 | * arch-utils.c (legacy_return_value): Likewise. | |
1071 | * arch-utils.h (legacy_return_value): Likewise (comment). | |
1072 | * gdbarch.sh (STORE_RETURN_VALUE): Replace by | |
1073 | gdbarch_store_return_value. | |
1074 | * stack.c (return_command): Likewise (comment). | |
1075 | * arch-utils.h (legacy_return_value): Likewise (comment). | |
1076 | * arch-utils.c (legacy_return_value): Likewise. | |
1077 | * gdbarch.c, gdbarch.h: Regenerate. | |
1078 | ||
b187c476 UW |
1079 | 2007-06-18 Markus Deuling <[email protected]> |
1080 | ||
1081 | * gdbarch.sh (DEPRECATED_USE_STRUCT_CONVENTION): Replace by | |
1082 | gdbarch_deprecated_use_struct_convention. | |
1083 | * arch-utils.c (legacy_return_value): Likewise. | |
1084 | * gdbarch.c, gdbarch.h: Regenerate. | |
1085 | ||
cbf3b44a UW |
1086 | 2007-06-18 Markus Deuling <[email protected]> |
1087 | ||
1088 | * gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Replace by | |
1089 | gdbarch_deprecated_function_start_offset. | |
1090 | * symtab.c (find_function_start_sal)skip_prologue_using_sal): Likewise. | |
1091 | * linespec.c (minsym_found): Likewise. | |
1092 | * infrun.c (handle_inferior_event): Likewise. | |
1093 | * infcall.c (find_function_addr): Likewise. | |
1094 | * cli/cli-cmds.c (disassemble_command): Likewise. | |
1095 | * gdbarch.c, gdbarch.h: Regenerate. | |
1096 | ||
bceb6e50 UW |
1097 | 2007-06-18 Markus Deuling <[email protected]> |
1098 | ||
1099 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Replace by | |
1100 | gdbarch_deprecated_reg_struct_has_addr. | |
1101 | * infcall.c (call_function_by_hand): Likewise. | |
1102 | (DEPRECATED_REG_STRUCT_HAS_ADDR_P): Replace by | |
1103 | * gdbarch_deprecated_reg_struct_has_addr_p. | |
1104 | * infcall.c (call_function_by_hand): Likewise. | |
1105 | * gdbarch.c, gdbarch.h: Regenerate. | |
1106 | ||
8ed6a7ba UW |
1107 | 2007-06-18 Markus Deuling <[email protected]> |
1108 | ||
1109 | * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
1110 | * sh-tdep.c (sh_extract_struct_value_address): Remove. | |
1111 | (sh_gdbarch_init): Remove | |
1112 | set_gdbarch_deprecated_extract_struct_value_address. | |
1113 | * sh64-tdep.c (sh64_extract_struct_value_address): Remove. | |
1114 | (sh64_gdbarch_init): Remove | |
1115 | set_gdbarch_deprecated_extract_struct_value_address. | |
1116 | * ia64-tdep.c (ia64_extract_struct_value_address): Remove. | |
1117 | (ia64_gdbarch_init): Remove | |
1118 | set_gdbarch_deprecated_extract_struct_value_address. | |
1119 | * frv-tdep.c (frv_extract_struct_value_address): Remove. | |
1120 | (frv_gdbarch_init): Remove | |
1121 | set_gdbarch_deprecated_extract_struct_value_address. | |
1122 | * gdbarch.c, gdbarch.h: Regenerate. | |
1123 | ||
3e8c568d UW |
1124 | 2007-06-18 Markus Deuling <[email protected]> |
1125 | ||
1126 | * gdbarch.sh (SP_REGNUM): Replace by gdbarch_sp_regnum. | |
1127 | * v850-tdep.c (v850_unwind_sp): Likewise. | |
1128 | * std-regs.c (value_of_builtin_frame_sp_reg): Likewise. | |
1129 | * stack.c (frame_info): Likewise. | |
1130 | * stabsread.c (define_symbol): Likewise. | |
1131 | * sh-tdep.c (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu) | |
1132 | (sh_dwarf2_frame_init_reg, sh_frame_cache, sh_frame_prev_register) | |
1133 | (sh_unwind_sp): Likewise. | |
1134 | * sh64-tdep.c (sh64_push_dummy_call, sh64_frame_cache) | |
1135 | (sh64_frame_prev_register, sh64_unwind_sp): Likewise. | |
1136 | * rs6000-tdep.c (rs6000_push_dummy_call, rs6000_unwind_dummy_id) | |
1137 | (rs6000_frame_cache): Likewise. | |
1138 | * rs6000-nat.c (store_register): Likewise. | |
1139 | * remote-mips.c (mips_wait): Likewise. | |
1140 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
1141 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call) | |
1142 | (ppc64_sysv_abi_push_dummy_call): Likewise. | |
1143 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise. | |
1144 | * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise. | |
1145 | * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise. | |
1146 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
1147 | * m32r-rom.c (m32r_supply_register): Likewise. | |
1148 | * frame.c (frame_sp_unwind): Likewise. | |
1149 | * mips-tdep.c (mips_insn16_frame_cache) | |
1150 | (mips_insn32_frame_cache): Likewise (comment). | |
1151 | * m68klinux-nat.c (supply_gregset): Likewise. | |
1152 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
1153 | * ia64-tdep.c (ia64_frame_prev_register): Likewise. | |
1154 | * i386-tdep.c (i386_get_longjmp_target): Likewise. | |
1155 | * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise. | |
1156 | * cris-tdep.c (cris_regnums, cris_sigcontext_addr) | |
1157 | (cris_sigtramp_frame_unwind_cache, cris_push_dummy_call) | |
1158 | (cris_scan_prologue, crisv32_scan_prologue, cris_unwind_sp) | |
1159 | (cris_register_type, crisv32_register_type) | |
1160 | (cris_dwarf2_frame_init_reg): Likewise. | |
1161 | * arch-utils.c (legacy_virtual_frame_pointer): Likewise. | |
1162 | * amd64-tdep.c (amd64_frame_prev_register): Likewise. | |
1163 | * amd64-linux-tdep.c (amd64_linux_sigcontext_addr): Likewise. | |
1164 | * libunwind-frame.c (libunwind_frame_cache): Likewise. | |
1165 | ||
1166 | * gdbarch.sh (PC_REGNUM): Replace by gdbarch_pc_regnum. | |
1167 | * regcache.c (read_pc_pid, generic_target_write_pc): Likewise. | |
1168 | * xtensa-tdep.c (xtensa_register_type, xtensa_supply_gregset) | |
1169 | (xtensa_unwind_pc, xtensa_frame_cache, xtensa_frame_prev_register) | |
1170 | (xtensa_extract_return_value, xtensa_store_return_value): Likewise. | |
1171 | * v850-tdep.c (v850_unwind_pc): Likewise. | |
1172 | * stack.c (frame_info): Likewise. | |
1173 | * sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh2e_show_regs) | |
1174 | (sh2a_show_regs, sh2a_nofpu_show_regs, sh3e_show_regs) | |
1175 | (sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs) | |
1176 | (sh_dwarf2_frame_init_reg, sh_frame_prev_register, sh_unwind_pc) | |
1177 | (sh_dsp_show_regs): Likewise. | |
1178 | * shnbsd-tdep.c (shnbsd_supply_gregset) | |
1179 | (shnbsd_collect_gregset): Likewise. | |
1180 | * shnbsd-nat.c (GETREGS_SUPPLIES): Likewise. | |
1181 | * sh64-tdep.c (sh64_compact_reg_base_num, sh64_show_media_regs) | |
1182 | (sh64_frame_prev_register, sh64_unwind_pc): Likewise. | |
1183 | * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset) | |
1184 | (6000_register_reggroup_p, rs6000_unwind_pc) | |
1185 | (rs6000_frame_cache): Likewise. | |
1186 | * rs6000-nat.c (regmap, rs6000_fetch_inferior_registers) | |
1187 | (rs6000_store_inferior_registers): Likewise. | |
1188 | * remote-mips.c (mips_wait, mips_load): Likewise. | |
1189 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
1190 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise. | |
1191 | * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise. | |
1192 | * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise. | |
1193 | * ppcnbsd-nat.c (getregs_supplies, ppcnbsd_supply_pcb): Likewise. | |
1194 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
1195 | * ppc-linux-nat.c (ppc_register_u_addr, fetch_ppc_registers) | |
1196 | (store_ppc_registers, fill_gregset): Likewise. | |
1197 | * mips-tdep.c (mips_stub_frame_cache, mips_gdbarch_init): Likewise. | |
1198 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_fill_reg): Likewise. | |
1199 | * mipsnbsd-nat.c (getregs_supplies): Likewise. | |
1200 | * m68k-tdep.c (m68k_register_type, m68k_unwind_pc): Likewise. | |
1201 | * m68klinux-nat.c (supply_gregset): Likewise. | |
1202 | * irix5-nat.c (fill_gregset): Likewise. | |
1203 | * i386-tdep.c (i386_unwind_pc): Likewise. | |
1204 | * i386-linux-nat.c (i386_linux_resume): Likewise. | |
1205 | * frame.c (get_prev_frame_1): Likewise. | |
1206 | * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise. | |
1207 | * dbug-rom.c (dbug_supply_register): Likewise. | |
1208 | * cris-tdep.c (cris_sigtramp_frame_unwind_cache, cris_scan_prologue) | |
1209 | (crisv32_scan_prologue, cris_unwind_pc, cris_register_size) | |
1210 | (cris_register_type, crisv32_register_type, crisv32_register_name) | |
1211 | (cris_dwarf2_frame_init_reg, find_step_target) | |
1212 | (cris_software_single_step, cris_supply_gregset) | |
1213 | (cris_regnums): Likewise. | |
1214 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. | |
1215 | * aix-thread.c (special_register_p, supply_sprs64, supply_sprs32) | |
1216 | (fill_sprs64, fill_sprs32, store_regs_user_thread): Likewise. | |
1217 | * std-regs.c (value_of_builtin_frame_pc_reg): Likewise. | |
1218 | * mips-linux-tdep.c (mips_linux_write_pc): Likewise. | |
1219 | ||
1220 | * gdbarch.sh (PS_REGNUM): Replace by gdbarch_ps_regnum. | |
1221 | * dbug-rom.c (dbug_supply_register): Likewise. | |
1222 | * xtensa-tdep.c (xtensa_supply_gregset, xtensa_frame_cache) | |
1223 | (xtensa_frame_prev_register, xtensa_push_dummy_call): Likewise. | |
1224 | * win32-nat.c (win32_resume): Likewise. | |
1225 | * std-regs.c (value_of_builtin_frame_ps_reg): Likewise. | |
1226 | * m68k-tdep.c (m68k_register_type): Likewise. | |
1227 | * m68klinux-nat.c (supply_gregset): Likewise. | |
1228 | ||
1229 | * gdbarch.sh (FP0_REGNUM): Replace by gdbarch_fp0_regnum. | |
1230 | * sh-tdep.c (sh_extract_return_value_fpu, sh_store_return_value_fpu) | |
1231 | (sh2e_show_regs, sh2a_show_regs, sh3e_show_regs, sh4_show_regs) | |
1232 | (sh_sh2a_register_type, sh_sh3e_register_type, sh_sh4_register_type) | |
1233 | (fv_reg_base_num, dr_reg_base_num): Likewise. | |
1234 | * sh64-tdep.c (sh64_fv_reg_base_num, sh64_dr_reg_base_num) | |
1235 | (sh64_fpp_reg_base_num, sh64_compact_reg_base_num, sh64_push_dummy_call) | |
1236 | (sh64_extract_return_value, sh64_store_return_value) | |
1237 | (sh64_show_media_regs, sh64_show_compact_regs, sh64_register_type) | |
1238 | (sh64_do_fp_register, sh64_media_print_registers_info): Likewise. | |
1239 | * procfs.c (procfs_fetch_registers, procfs_store_registers) | |
1240 | (invalidate_cache): Likewise. | |
1241 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
1242 | * mipsnbsd-tdep.c (mipsnbsd_supply_fpreg) | |
1243 | (mipsnbsd_fill_fpreg): Likewise. | |
1244 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers) | |
1245 | (mipsnbsd_store_inferior_registers): Likewise. | |
1246 | * mips-linux-tdep.c (mips_supply_fpregset, mips_fill_fpregset) | |
1247 | (mips64_supply_fpregset, mips64_fill_fpregset): Likewise. | |
1248 | * mips-linux-nat.c (mips64_linux_register_addr): Likewise. | |
1249 | * m68k-tdep.c (m68k_register_type, m68k_convert_register_p): Likewise. | |
1250 | * m68klinux-nat.c (getfpregs_supplies, supply_fpregset) | |
1251 | (fill_fpregset): Likewise. | |
1252 | * irix5-nat.c (supply_fpregset, fill_fpregset): Likewise. | |
1253 | * i386-tdep.h (struct_return): Likewise (comment). | |
1254 | * i386-nto-tdep.c (i386nto_register_area): Likewise. | |
1255 | * go32-nat.c (fetch_register, go32_fetch_registers, store_register) | |
1256 | (go32_store_registers): Likewise. | |
1257 | * alpha-tdep.c (alpha_next_pc): Likewise. | |
1258 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. | |
1259 | * alphabsd-nat.c (alphabsd_fetch_inferior_registers) | |
1260 | (alphabsd_store_inferior_registers): Likewise. | |
1261 | * core-regset.c (fetch_core_registers): Likewise. | |
1262 | * i386v4-nat.c (supply_fpregset, fill_fpregset): Likewise. | |
1263 | ||
1264 | * gdbarch.c, gdbarch.h: Regenerate. | |
1265 | ||
31d99776 DJ |
1266 | 2007-06-18 Daniel Jacobowitz <[email protected]> |
1267 | ||
1268 | * coffread.c (coff_sym_fns): Add default_symfile_segments. | |
1269 | * dbxread.c (start_psymtab): Check HAVE_ELF. | |
1270 | (aout_sym_fns): Likewise. | |
1271 | * elfread.c (elf_symfile_segments): New. | |
1272 | (elf_sym_fns): Add elf_symfile_segments. | |
1273 | * mipsread.c (ecoff_sym_fns): Add default_symfile_segments. | |
1274 | * remote.c (get_offsets): Use symfile_map_offsets_to_segments. | |
1275 | Skip if there is no symfile_objfile. Handle TextSeg and DataSeg. | |
1276 | * somread.c (som_sym_fns): Use default_symfile_segments. | |
1277 | * symfile.c (find_sym_fns): Take a BFD and return the sym_fns. | |
1278 | (init_objfile_sect_indices): Call symfile_find_segment_sections. | |
1279 | (default_symfile_segments): New function. | |
1280 | (syms_from_objfile): Update call to find_sym_fns. | |
1281 | (symfile_get_segment_data, free_symfile_segment_data): New. | |
1282 | (symfile_map_offsets_to_segments): New. | |
1283 | (symfile_find_segment_sections): New. | |
1284 | * symfile.h (struct symfile_segment_data): New. | |
1285 | (struct sym_fns): Add sym_segments. | |
1286 | (default_symfile_segments, symfile_get_segment_data) | |
1287 | (free_symfile_segment_data): New prototypes. | |
1288 | (symfile_map_offsets_to_segments): Likewise. | |
1289 | * xcoffread.c (xcoff_sym_fns): Add default_symfile_segments. | |
1290 | * Makefile.in (COMMON_OBS): Remove elfread.o. | |
1291 | (elf_internal_h): New. | |
1292 | (elfread.o): Update. | |
1293 | * configure.ac: Add elfread.o to COMMON_OBS if bfd/elf.o was | |
1294 | compiled. | |
1295 | * config.in, configure: Regenerated. | |
1296 | * NEWS: Mention qOffsets changes. | |
1297 | ||
5760b90a UW |
1298 | 2007-06-16 Ulrich Weigand <[email protected]> |
1299 | ||
1300 | * gdbtypes.h (builtin_type_m2_char, builtin_type_m2_int, | |
1301 | builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool): | |
1302 | Replace global variable declaration with compatibility macro. | |
1303 | (struct builtin_m2_type): New data type. | |
1304 | (builtin_m2_type): Add prototype. | |
1305 | * m2-lang.c (builtin_type_m2_char, builtin_type_m2_int, | |
1306 | builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool): | |
1307 | Remove global variables. | |
1308 | (m2_language_arch_info): Use builtin_m2_type instead of variables. | |
1309 | (build_m2_types): New function. | |
1310 | (m2_type_data): New variable. | |
1311 | (builtin_m2_type): New function. | |
1312 | (_initialize_m2_language): Do not build data types. Register | |
1313 | m2_type_data per-gdbarch data. | |
1314 | ||
54ef06c7 UW |
1315 | 2007-06-16 Ulrich Weigand <[email protected]> |
1316 | ||
1317 | * gdbtypes.h (builtin_type_f_character, builtin_type_f_logical, | |
1318 | builtin_type_f_logical_s1, builtin_type_f_logical_s2, | |
1319 | builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real, | |
1320 | builtin_type_f_real_s8, builtin_type_f_real_s16, | |
1321 | builtin_type_f_complex_s8, builtin_type_f_complex_s16, | |
1322 | builtin_type_f_complex_s32, builtin_type_f_void): Replace global | |
1323 | variable declaration with compatibility macro. | |
1324 | (struct builtin_f_type): New data type. | |
1325 | (builtin_f_type): Add prototype. | |
1326 | * f-lang.c (builtin_type_f_character, builtin_type_f_logical, | |
1327 | builtin_type_f_logical_s1, builtin_type_f_logical_s2, | |
1328 | builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real, | |
1329 | builtin_type_f_real_s8, builtin_type_f_real_s16, | |
1330 | builtin_type_f_complex_s8, builtin_type_f_complex_s16, | |
1331 | builtin_type_f_complex_s32, builtin_type_f_void): Remove variables. | |
1332 | (f_language_arch_info): Use builtin_f_type instead of variables. | |
1333 | (build_fortran_types): Build builtin_f_type structure instead of | |
1334 | setting global type variables. | |
1335 | (f_type_data): New variable. | |
1336 | (builtin_f_type): New function. | |
1337 | (_initialize_f_language): Do not call build_fortran_types. Do not | |
1338 | swap global type variables. Register f_type_data per-gdbarch data. | |
1339 | ||
92e0cef4 UW |
1340 | 2007-06-16 Ulrich Weigand <[email protected]> |
1341 | ||
1342 | * f-lang.c (_initialize_f_language): Do not initialize or | |
1343 | swap builtin_type_string. | |
1344 | ||
5d8140d1 UW |
1345 | 2007-06-16 Ulrich Weigand <[email protected]> |
1346 | ||
0e7b1906 UW |
1347 | * std-regs.c (builtin_type_frame_reg, build_builtin_type_frame_reg, |
1348 | value_of_builtin_frame_reg): Remove. | |
1349 | (_initialize_frame_reg): Do not swap builtin_type_frame_reg. Remove | |
1350 | inactive call to value_of_builtin_frame_reg. | |
1351 | ||
1352 | 2007-06-16 Ulrich Weigand <[email protected]> | |
1353 | ||
1354 | * gdbarch.sh (bfd_vma_bit): Remove. | |
5d8140d1 UW |
1355 | * gdbarch.c, gdbarch.h: Regenerate. |
1356 | ||
1357 | * gdbtypes.h (builtin_bfd_vma_type): Remove. | |
1358 | * gdbtypes.h (builtin_bfd_vma_type): Remove. | |
1359 | (build_gdbtypes): Do not initialize it. | |
1360 | (_initialize_gdbtypes): Do not swap it. | |
1361 | ||
794ac428 UW |
1362 | 2007-06-16 Ulrich Weigand <[email protected]> |
1363 | ||
1364 | * gdbtypes.c (builtin_type_v2_double, builtin_type_v4_float, | |
1365 | builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16, | |
1366 | builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32, | |
1367 | builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf, | |
1368 | builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi, | |
1369 | builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si, | |
1370 | builtin_type_vec64, builtin_type_vec128): Remove. | |
1371 | (init_simd_type): Remove. | |
1372 | (init_vector_type): Make global. | |
1373 | (build_builtin_type_vec64, build_builtin_type_vec128): Remove. | |
1374 | (build_gdbtypes): Do not build vector types. | |
1375 | (_initialize_gdbtypes): Do not swap vector types. | |
1376 | * gdbtypes.h (builtin_type_v2_double, builtin_type_v4_float, | |
1377 | builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16, | |
1378 | builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32, | |
1379 | builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf, | |
1380 | builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi, | |
1381 | builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si, | |
1382 | builtin_type_vec64, builtin_type_vec128): Remove declarations. | |
1383 | (init_vector_type): Add prototype. | |
1384 | ||
1385 | * i386-tdep.h (struct gdbarch_tdep): Add i386_mmx_type and | |
1386 | i386_sse_type members. | |
1387 | (i386_mmx_type, i386_sse_type): Change from variables to functions. | |
1388 | * i386-tdep.c (i386_mmx_type, i386_sse_type): Remove variables. | |
1389 | (i386_init_types): Do not build vector types. | |
1390 | (i386_mmx_type, i386_sse_type): New functions. | |
1391 | (i386_register_type): Call them instead of using global variables. | |
1392 | (i386_gdbarch_init): Use XCALLOC to allocate tdep structure. | |
1393 | * amd64-tdep.c (amd64_register_type): Call i386_sse_type instead | |
1394 | of using global variable. | |
1395 | ||
1396 | * rs6000-tdep.h (struct gdbarch_tdep): Add ppc_builtin_type_vec64 | |
1397 | and ppc_builtin_type_vec128 members. | |
1398 | * rs6000-tdep.c (rs6000_builtin_type_vec64): New function. | |
1399 | (rs6000_builtin_type_vec128): Likewise. | |
1400 | (rs6000_register_type): Call them instead of using builtin_type_vec64 | |
1401 | and builtin_type_vec128. | |
1402 | (rs6000_gdbarch_init): Use XCALLOC to allocate tdep structure. | |
1403 | ||
1404 | * spu-tdep.c (struct gdbarch_tdep): New data type. | |
1405 | (spu_builtin_type_vec128): Remove variable. | |
1406 | (spu_builtin_type_vec128): New function. | |
1407 | (spu_register_type): Call it instead of using global variable. | |
1408 | (spu_gdbarch_init): Allocate tdep structure. | |
1409 | (spu_init_vector_type): Remove function. | |
1410 | (_initialize_spu_tdep): Do not call it. | |
1411 | ||
6707b003 UW |
1412 | 2007-06-16 Ulrich Weigand <[email protected]> |
1413 | ||
1414 | * amd64-tdep.c (struct amd64_register_info): Remove. | |
1415 | (amd64_register_info): Remove. | |
1416 | (amd64_register_names): New static variable. | |
1417 | (AMD64_NUM_REGS): Use amd64_register_names instead of | |
1418 | amd64_register_info. | |
1419 | (amd64_register_name): Likewise. | |
1420 | (amd64_register_type): Do not refer to amd64_register_info. | |
1421 | ||
1422 | * s390-tdep.c (struct s390_register_info): Remove. | |
1423 | (s390_register_info): Remove. | |
1424 | (s390_register_name): Do not refer to s390_register_info. | |
1425 | (s390_register_type): Likewise. | |
1426 | ||
1427 | * sparc64-tdep.c (struct sparc64_register_info): Remove. | |
1428 | (sparc64_register_info, sparc64_pseudo_register_info): Remove. | |
1429 | (sparc64_register_names, sparc64_pseudo_register_names): New. | |
1430 | (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use | |
1431 | sparc64_register_names and sparc64_pseudo_register_names instead of | |
1432 | sparc64_register_info and sparc64_pseudo_register_info. | |
1433 | (sparc64_register_name): Likewise. | |
1434 | (sparc64_register_type): Do not refer to sparc64_register_info | |
1435 | and sparc64_pseudo_register_info. | |
1436 | ||
cad351d1 UW |
1437 | 2007-06-16 Ulrich Weigand <[email protected]> |
1438 | ||
1439 | * c-lang.c (cplus_builtin_types): Remove. | |
1440 | (enum cplus_primitive_types): New data type. | |
1441 | (cplus_language_arch_info): New function. | |
1442 | (cplus_language_defn): Set la_language_arch_info member. Do not set | |
1443 | la_builtin_type_vector and string_char_type members. | |
1444 | ||
1445 | * f-lang.c (f_builtin_types): Remove. | |
1446 | (enum f_primitive_types): New data type. | |
1447 | (f_language_arch_info): New function. | |
1448 | (f_language_de): Set la_language_arch_info member. Do not set | |
1449 | la_builtin_type_vector and string_char_type members. | |
1450 | ||
1451 | * m2-lang.c (m2_builtin_types): Remove. | |
1452 | (enum m2_primitive_types): New data type. | |
1453 | (m2_language_arch_info): New function. | |
1454 | (m2_language_defn): Set la_language_arch_info member. Do not set | |
1455 | la_builtin_type_vector and string_char_type members. | |
1456 | ||
1457 | * objc-lang.c (objc_builtin_types): Remove. | |
1458 | (objc_language): Set la_language_arch_info member. Do not set | |
1459 | la_builtin_type_vector and string_char_type members. | |
1460 | ||
1461 | * p-lang.c (pascal_builtin_types): Remove. | |
1462 | (enum pascal_primitive_types): New data type. | |
1463 | (pascal_language_arch_info): New function. | |
1464 | (pascal_language_defn): Set la_language_arch_info member. Do not set | |
1465 | la_builtin_type_vector and string_char_type members. | |
1466 | ||
594f7785 UW |
1467 | 2007-06-16 Ulrich Weigand <[email protected]> |
1468 | ||
1469 | * regcache.c (struct regcache): Add ptid_t member. | |
1470 | (regcache_xmalloc): Initialize it. | |
1471 | (regcache_cpy_no_passthrough): Do not refer to current_regcache. | |
1472 | (regcache_dup): Likewise. | |
1473 | (regcache_dup_no_passthrough): Likewise. | |
1474 | (current_regcache): Make static. | |
1475 | (registers_ptid): Remove variable. | |
1476 | (get_thread_regcache): New function. | |
1477 | (get_current_regcache): New function. | |
1478 | (registers_changed): Implement by freeing current regcache. | |
1479 | (regcache_raw_read): Do not refer to current_regcache. Set | |
1480 | inferior_ptid to regcache->ptid while calling target routines. | |
1481 | (regcache_raw_write): Likewise. | |
1482 | (regcache_raw_supply): Do not refer to current_regcache. | |
1483 | (read_pc_pid): Use thread regcache. Do not modify inferior_ptid. | |
1484 | (write_pc_pid): Likewise. | |
1485 | (build_regcache): Remove. | |
1486 | (_initialize_regcache): Do not call DEPRECATED_REGISTER_GDBARCH_SWAP | |
1487 | or deprecated_register_gdbarch_swap. Do not initialize | |
1488 | registers_ptid. | |
1489 | * regcache.h (get_current_regcache): Add prototype. | |
1490 | (get_thread_regcache): Likewise. | |
1491 | (current_regcache): Remove declaration. | |
1492 | ||
1493 | * corelow.c (core_open): Replace current_regcache by | |
1494 | get_current_regcache (). | |
1495 | * frame.c (frame_pop): Likewise. | |
1496 | (put_frame_register): Likewise. | |
1497 | (get_current_frame, create_new_frame): Likewise. | |
1498 | * mi/mi-main.c (mi_cmd_data_write_register_values): Likewise. | |
1499 | * stack.c (return_command): Likewise. | |
1500 | * infcall.c (call_function_by_hand): Likewise. | |
1501 | * infrun.c (resume): Likewise. | |
1502 | (save_inferior_status, restore_inferior_status): Likewise. | |
1503 | * linux-fork.c (fork_load_infrun_state): Likewise. | |
1504 | (fork_save_infrun_state): Likewise. | |
1505 | * win32-nat.c (win32_resume): Likewise. | |
1506 | * i386fbsd-nat.c (i386fbsd_resume): Likewise. | |
1507 | * monitor.c (monitor_wait): Likewise. | |
1508 | * remote.c (remote_wait): Likewise. | |
1509 | * remote-mips.c (mips_wait): Likewise. | |
1510 | ||
1511 | * bsd-kvm.c (bsd_kvm_open): Likewise | |
1512 | (bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Likewise. | |
1513 | * fbsd-nat.c (fbsd_make_corefile_notes): Likewise. | |
1514 | * i386-linux-nat.c (i386_linux_resume): Likewise. | |
1515 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Likewise. | |
1516 | (ia64_linux_stopped_data_address): Likewise. | |
1517 | ||
1518 | * frv-tdep.c (frv_fdpic_loadmap_addresses): Likewise. | |
1519 | * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. | |
1520 | * mep-tdep.c (current_me_module, current_options): Likewise. | |
1521 | * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Likewise. | |
1522 | ||
1523 | * linux-nat.c (linux_nat_do_thread_registers): Use thread | |
1524 | regcache instead of current_regcache. Call target_fetch_registers. | |
1525 | (linux_nat_corefile_thread_callback): Update call site. | |
1526 | (linux_nat_do_registers): Likewise. | |
1527 | * procfs.c (procfs_do_thread_registers): Use thread regcache instead | |
1528 | of current_regcache. | |
1529 | (procfs_make_note_section): Likewise. | |
1530 | * proc-service.c (ps_lgetregs, ps_lsetregs): Likewise. | |
1531 | (ps_lgetfpregs, ps_lsetfpregs): Likewise. | |
1532 | * sol-thread.c (ps_lgetregs, ps_lsetregs): Likewise. | |
1533 | (ps_lgetfpregs, ps_lsetfpregs): Likewise. | |
1534 | ||
51a7a212 UW |
1535 | 2007-06-15 Ulrich Weigand <[email protected]> |
1536 | ||
1537 | * regcache.c (read_register, read_register_pid): Remove. | |
1538 | (write_register, write_register_pid): Likewise. | |
1539 | * regcache.h (read_register, read_register_pid): Remove prototype. | |
1540 | (write_register, write_register_pid): Likewise. | |
1541 | ||
61a1198a UW |
1542 | 2007-06-15 Ulrich Weigand <[email protected]> |
1543 | ||
1544 | * gdbarch.sh (read_pc): Add REGCACHE argument. Remove PTID argument. | |
1545 | (write_pc): Likewise. Remove default implementation, add predicate. | |
1546 | * gdbarch.c, gdbarch.h: Regenerate. | |
1547 | * regcache.c (read_pc_pid): Use current regcache instead of calling | |
1548 | read_register_pid. | |
1549 | (write_pc_pid): Check gdbarch_write_pc predicate, implement default | |
1550 | case inline. | |
1551 | (generic_target_write_pc): Remove. | |
1552 | * inferior.h (generic_target_write_pc): Remove. | |
1553 | * frv-tdep.c (frv_gdbarch_init): Do not install it. | |
1554 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
1555 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
1556 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
1557 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
1558 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
1559 | ||
1560 | * avr-tdep.c (avr_read_pc): Add REGCACHE argument. Remove PTID | |
1561 | argument. Use REGCACHE instead of calling read_register_pid. | |
1562 | * hppa-hpux-tdep.c (hppa_hpux_read_pc): Likewise. | |
1563 | * hppa-tdep.c (hppa_read_pc): Likewise. | |
1564 | * hppa-tdep.h (hppa_read_pc): Likewise. | |
1565 | * ia64-tdep.c (ia64_read_pc): Likewise. | |
1566 | * m32r-tdep.c (m32r_read_pc): Likewise. | |
1567 | * mep-tdep.c (mep_read_pc): Likewise. | |
1568 | * mn10300-tdep.c (mn10300_read_pc): Likewise. | |
1569 | * spu-tdep.c (spu_read_pc): Likewise. | |
1570 | ||
1571 | * arm-tdep.c (arm_write_pc): Add REGCACHE argument. Remove PTID | |
1572 | argument. Use REGCACHE instead of calling write_register_pid. | |
1573 | * avr-tdep.c (avr_write_pc): Likewise. | |
1574 | * hppa-hpux-tdep.c (hppa_hpux_write_pc): Likewise. | |
1575 | * hppa-tdep.c (hppa_write_pc): Likewise. | |
1576 | * hppa-tdep.h (hppa_write_pc): Likewise. | |
1577 | * i386-linux-tdep.c (i386_linux_write_pc): Likewise. | |
1578 | * amd64-linux-tdep.c (amd64_linux_write_pc): Likewise. | |
1579 | * ia64-linux-tdep.c (ia64_linux_write_pc): Likewise. | |
1580 | * ia64-tdep.c (ia64_write_pc): Likewise. | |
1581 | * ia64-tdep.h (ia64_write_pc): Likewise. | |
1582 | * m32r-tdep.c (m32r_write_pc): Likewise. | |
1583 | * m88k-tdep.c (m88k_write_pc): Likewise. | |
1584 | * mep-tdep.c (mep_write_pc): Likewise. | |
1585 | * mips-tdep.c (mips_write_pc): Likewise. | |
1586 | * mips-linux-tdep.c (mips_linux_write_pc): Likewise. | |
1587 | * mn10300-tdep.c (mn10300_write_pc): Likewise. | |
1588 | * sparc-tdep.c (sparc_write_pc): Likewise. | |
1589 | * spu-tdep.c (spu_write_pc): Likewise. | |
1590 | ||
1591 | * mips-tdep.c (read_signed_register): Remove. | |
1592 | (read_signed_register_pid): Likewise. | |
1593 | (mips_read_pc): Add REGCACHE argument. Remove PTID argument. | |
1594 | Use REGCACHE instead of calling read_signed_register_pid. | |
1595 | ||
e4fd649a UW |
1596 | 2007-06-15 Ulrich Weigand <[email protected]> |
1597 | ||
1598 | * gdbarch.sh (push_dummy_code): Add REGCACHE argument. | |
1599 | * gdbarch.c, gdbarch.h: Regenerate. | |
1600 | * infcall.c (generic_push_dummy_code): Add REGCACHE argument. | |
1601 | (push_dummy_code): Likewise. Pass it to callee. | |
1602 | (call_function_by_hand): Pass current regcache to push_dummy_code. | |
1603 | ||
1604 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Add REGCACHE | |
1605 | argument. Use it instead of current_regcache. | |
1606 | ||
1607 | * cris-tdep.c (cris_push_dummy_code): Add REGCACHE argument. | |
1608 | * sparc-tdep.c (sparc32_push_dummy_code): Likewise. | |
1609 | ||
60ade65d UW |
1610 | 2007-06-15 Ulrich Weigand <[email protected]> |
1611 | ||
1612 | * gdbarch.sh (get_longjmp_target): Add FRAME argument. | |
1613 | * gdbarch.c, gdbarch.h: Regenerate. | |
1614 | * infrun.c (handle_inferior_event): Pass current frame to | |
1615 | gdbarch_get_longjmp_target. | |
1616 | ||
1617 | * alpha-tdep.c (alpha_get_longjmp_target): Add FRAME argument. | |
1618 | Read registers from FRAME instead of using read_register. | |
1619 | Use get_frame_arch instead of current_gdbarch. | |
1620 | * arm-tdep.c (arm_get_longjmp_target): Likewise. | |
1621 | * i386-tdep.c (i386_get_longjmp_target): Likewise. | |
1622 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
1623 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Likewise. | |
1624 | (mips64_linux_get_longjmp_target): Likewise. | |
1625 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Likewise. | |
1626 | ||
52f729a7 UW |
1627 | 2007-06-15 Ulrich Weigand <[email protected]> |
1628 | ||
1629 | * gdbarch.sh (skip_trampoline_code): Add FRAME argument. | |
1630 | * gdbarch.c, gdbarch.h: Regenerate. | |
1631 | * arch-utils.c (generic_skip_trampoline_code): Add FRAME argument. | |
1632 | * arch-utils.h (generic_skip_trampoline_code): Likewise. | |
1633 | * infrun.c (handle_inferior_event): Pass current frame to | |
1634 | gdbarch_skip_trampoline_code and skip_language_trampoline. | |
1635 | ||
1636 | * language.c (unk_lang_trampoline): Add FRAME argument. | |
1637 | (skip_language_trampoline): Add FRAME argument. Pass it to | |
1638 | skip_trampoline callback. | |
1639 | * language.h: Add forward declaration of struct frame_info. | |
1640 | (struct language_defn): Add FRAME argument to skip_trampoline. | |
1641 | (skip_language_trampoline): Add FRAME argument. | |
1642 | * cp-abi.c (cplus_skip_trampoline): Add FRAME argument. Pass it | |
1643 | to skip_trampoline callback. | |
1644 | * cp-abi.h: Add forward declaration of struct frame_info. | |
1645 | (cplus_skip_trampoline): Add FRAME argument. | |
1646 | (struct cp_abi_ops): Add FRAME argument to skip_trampoline callback. | |
1647 | * gnu-v3-abi.c (gnuv3_skip_trampoline): Add FRAME argument. Pass it | |
1648 | to gdbarch_skip_trampoline_code. | |
1649 | * objc-lang.c (objc_skip_trampoline): Add FRAME argument. Pass it | |
1650 | to gdbarch_skip_trampoline_code. | |
1651 | ||
1652 | * minsyms.c (find_solib_trampoline_target): Add FRAME argument. | |
1653 | * symtab.h (find_solib_trampoline_target): Likewise. | |
1654 | * obsd-tdep.c (obsd_skip_solib_resolver): Pass current frame to | |
1655 | find_solib_trampoline_target. | |
1656 | ||
1657 | * arm-tdep.c (arm_skip_stub): Add FRAME argument. Read registers | |
1658 | from FRAME instead of calling read_register. | |
1659 | ||
1660 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Add FRAME | |
1661 | argument. Read registers from FRAME instead of using read_register. | |
1662 | * hppa-tdep.c (hppa_skip_trampoline_code): Likewise. | |
1663 | * hppa-tdep.h (hppa_skip_trampoline_code): Add FRAME argument. | |
1664 | ||
1665 | * i386-cygwin-tdep.c (i386_cygwin_skip_trampoline_code): Add FRAME | |
1666 | argument. | |
1667 | ||
1668 | * m32c-tdep.c (m32c_skip_trampoline_code): Add FRAME argument. | |
1669 | ||
1670 | * mips-tdep.c (mips_skip_trampoline_code): Add FRAME argument. Read | |
1671 | registers from FRAME instead of using read_signed_register. | |
1672 | ||
1673 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Add FRAME | |
1674 | argument. | |
1675 | (ppc64_standard_linkage_target): Likewise. Read registers from FRAME | |
1676 | instead of using read_register. | |
1677 | (ppc64_skip_trampoline_code): Add FRAME argument. Pass it to | |
1678 | ppc64_standard_linkage_target. | |
1679 | * rs6000-tdep.c (rs6000_skip_trampoline_code): Add FRAME argument. | |
1680 | Pass it to find_solib_trampoline_target. Read registers from FRAME | |
1681 | instead of using read_register. | |
1682 | ||
1683 | * xstormy16-tdep.c (xstormy16_skip_trampoline_code): Add FRAME | |
1684 | argument. | |
1685 | ||
0b1b3e42 UW |
1686 | 2007-06-15 Ulrich Weigand <[email protected]> |
1687 | ||
1688 | * gdbarch.sh (software_single_step): Replace REGCACHE argument by | |
1689 | FRAME argument. | |
1690 | * gdbarch.c, gdbarch.h: Regenerate. | |
1691 | * infrun.c (resume): Pass current frame to SOFTWARE_SINGLE_STEP. | |
1692 | ||
1693 | * alpha-tdep.c (alpha_next_pc): Add FRAME argument. Retrieve | |
1694 | registers from FRAME instead of using read_register. | |
1695 | (alpha_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
1696 | to alpha_next_pc. Use get_frame_pc instead of read_pc. | |
1697 | * alpha-tdep.h (alpha_software_single_step): Replace REGCACHE | |
1698 | argument by FRAME. | |
1699 | ||
1700 | * arm-tdep.c (shifted_reg_val): Add FRAME argument. Read registers | |
1701 | from FRAME instead of using read_register. | |
1702 | (thumb_get_next_pc): Likewise. | |
1703 | (arm_get_next_pc): Likewise. | |
1704 | (arm_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
1705 | to arm_get_next_pc. Use get_frame_pc instead of read_register. | |
1706 | * arm-tdep.h (arm_software_single_step): Replace REGCACHE | |
1707 | argument by FRAME. | |
1708 | ||
1709 | * cris-tdep.c (find_step_target): Add FRAME argument. Read registers | |
1710 | from FRAME instead of using read_register. | |
1711 | (cris_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
1712 | to find_step_target. | |
1713 | ||
1714 | * mips-tdep.c (mips32_next_pc): Add FRAME argument. Read registers | |
1715 | from FRAME instead of using read_register / read_signed_register. | |
1716 | (extended_mips16_next_pc): Likewise. | |
1717 | (mips16_next_pc): Likewise. | |
1718 | (mips_next_pc): Likewise. | |
1719 | (mips_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
1720 | to mips_next_pc. Use get_frame_pc instead of read_pc. | |
1721 | * mips-tdep.h (mips_software_single_step): Replace REGCACHE | |
1722 | argument by FRAME. | |
1723 | ||
1724 | * rs6000-tdep.c (branch_dest): Add FRAME argument. Use it instead | |
1725 | of current frame. Read registers from FRAME. | |
1726 | (deal_with_atomic_sequence): Add FRAME argument. Pass it to | |
1727 | branch_dest. Use get_frame_pc instead of read_pc. | |
1728 | (rs6000_software_single_step): Likewise. | |
1729 | (bl_to_blrl_insn_p): Do not call branch_dest. | |
1730 | * rs6000-tdep.h (rs6000_software_single_step): Replace REGCACHE | |
1731 | argument by FRAME. | |
1732 | ||
1733 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Add FRAME argument. | |
1734 | Read registers from FRAME instead of current regcache. | |
1735 | * sparc-linux-tdep.c (sparc32_linux_step_trap): Likewise. | |
1736 | * sparcnbsd-tdep.c (sparcnbsd_step_trap): Likewise. | |
1737 | * sparc-tdep.c (sparc_address_from_register): Remove. | |
1738 | (sparc_analyze_control_transfer): Pass FRAME argument instead of | |
1739 | GDBARCH. Pass FRAME to step_trap callback. | |
1740 | (sparc_step_trap): Add FRAME argument. | |
1741 | (space_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
1742 | to sparc_analyze_control_transfer. Read registers from FRAME instead | |
1743 | of calling sparc_address_from_register. | |
1744 | * sparc-tdep.h (struct gdbarch_tdep): Add FRAME argument to | |
1745 | step_trap callback. | |
1746 | (sparc_address_from_register): Remove prototype. | |
1747 | (sparc_software_single_step): Replace REGCACHE argument by FRAME. | |
1748 | (sparcnbsd_step_trap): Add FRAME argument. | |
1749 | ||
1750 | * spu-tdep.c (spu_software_single_step): Replace REGCACHE argument | |
1751 | by FRAME. Read registers from FRAME instead of REGCACHE. | |
1752 | ||
9c9acae0 UW |
1753 | 2007-06-15 Ulrich Weigand <[email protected]> |
1754 | ||
1755 | * arm-tdep.c (arm_print_float_info): Use register value from FRAME | |
1756 | instead of calling read_register. | |
1757 | ||
1758 | * avr-tdep.c (avr_push_dummy_call): Write to REGCACHE instead of | |
1759 | calling write_register. | |
1760 | ||
1761 | * hppa-tdep.c (hppa32_push_dummy_call): Write to REGCACHE instead of | |
1762 | calling write_register. | |
1763 | ||
1764 | * ia64-tdep.c (find_func_descr): Add REGCACHE parameter. Use it | |
1765 | instead of calling read_register. | |
1766 | (ia64_push_dummy_call): Update call to find_func_descr. Use REGCACHE | |
1767 | instead of calling read_register and write_register. | |
1768 | ||
1769 | * m32r-tdep.c (m32r_linux_supply_gregset): Use REGCACHE parameter | |
1770 | instead of current_regcache. | |
1771 | ||
1772 | * mn10300-tdep.c (mn10300_push_dummy_call): Write to REGCACHE instead | |
1773 | of calling write_register. | |
1774 | * mn10300-linux-tdep.c (am33_supply_fpregset_method): Use REGCACHE | |
1775 | parameter instead of current_regcache. | |
1776 | ||
1777 | * mips-tdep.c (mips2_fp_compat): Add FRAME parameter. Use it | |
1778 | instead of calling read_register. | |
1779 | (mips_read_fp_register_double, mips_print_fp_register): Update calls. | |
1780 | (mips_eabi_push_dummy_call): Use REGCACHE instead of write_register. | |
1781 | (mips_n32n64_push_dummy_call): Likewise. | |
1782 | (mips_o32_push_dummy_call): Likewise. | |
1783 | (mips_o64_push_dummy_call): Likewise. | |
1784 | ||
1785 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use REGCACHE | |
1786 | parameter instead of current_regcache. | |
1787 | ||
1788 | * xtensa-tdep.c (xtensa_register_write_masked): Add REGCACHE parameter. | |
1789 | Use it instead of read_register and write_register. | |
1790 | (xtensa_register_read_masked): Likewise. | |
1791 | (xtensa_pseudo_register_read): Update call. | |
1792 | (xtensa_pseudo_register_write): Likewise. | |
1793 | (xtensa_frame_cache): Use register values unwound from NEXT_FRAME | |
1794 | instead of calling read_register. | |
1795 | (xtensa_push_dummy_call): Update comment. | |
1796 | ||
d2ca4222 UW |
1797 | 2007-06-15 Ulrich Weigand <[email protected]> |
1798 | ||
1799 | * mips-tdep.c (mips16_scan_prologue): Replace read_next_frame_reg | |
1800 | by frame_unwind_register_signed calls. | |
1801 | (mips32_scan_prologue): Likewise. Skip analysis of alloca stack | |
1802 | frame allocations when called with NULL NEXT_FRAME parameter. | |
1803 | (read_next_frame_reg): Remove. | |
1804 | ||
1805 | * sh-tdep.c (sh_analyze_prologue): Add FPSCR parameter. Use it | |
1806 | instead of reading the FPSCR register. | |
1807 | (sh_frame_cache): Pass unwound FPSCR register value to | |
1808 | sh_analyze_prologue. | |
1809 | (sh_skip_prologue): Pass dummy FPSCR value to sh_analyze_prologue. | |
1810 | ||
1811 | * v850-tdep.c (v850_analyze_prologue): Add CTBP parameter. Use it | |
1812 | instead of reading the CTBP register. | |
1813 | (v850_frame_cache): Pass unwound CTBP register value to | |
1814 | v850_analyze_prologue. | |
1815 | ||
c458d6db UW |
1816 | 2007-06-15 Ulrich Weigand <[email protected]> |
1817 | ||
1818 | * sh-tdep.h (sh_show_regs): Add FRAME parameter. | |
1819 | * sh-tdep.c (sh_show_regs): Likewise. | |
1820 | (sh_show_regs_command): Pass current frame to sh_show_regs routine. | |
1821 | (sh_generic_show_regs): Add FRAME parameter. Use register | |
1822 | values from that frame instead of calling read_register. | |
1823 | (sh3_show_regs, sh2e_show_regs, sh2a_show_regs, sh2a_nofpu_show_regs, | |
1824 | sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs, | |
1825 | sh_dsp_show_regs): Likewise. | |
1826 | * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs, | |
1827 | sh64_show_regs): Likewise. | |
1828 | ||
a9614958 UW |
1829 | 2007-06-15 Ulrich Weigand <[email protected]> |
1830 | ||
1831 | * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Read from | |
1832 | current regcache instead of calling read_register. | |
1833 | ||
3d1a74ac UW |
1834 | 2007-06-15 Ulrich Weigand <[email protected]> |
1835 | ||
1836 | * mep-tdep.c (current_me_module): Read from current regcache | |
1837 | instead of calling read_register. | |
1838 | (current_options): Likewise. | |
1839 | ||
1b5a9a8f UW |
1840 | 2007-06-15 Ulrich Weigand <[email protected]> |
1841 | ||
1842 | * cris-tdep.c (cris_stopped_data_address): Read register values | |
1843 | from current frame instead of calling read_register. | |
1844 | * frv-tdep.c (frv_stopped_data_address): Likewise. | |
1845 | ||
982db460 UW |
1846 | 2007-06-15 Ulrich Weigand <[email protected]> |
1847 | ||
1848 | * solib-sunos.c (sunos_solib_create_inferior_hook): Use write_pc | |
1849 | instead of write_register (PC_REGNUM, ...). | |
1850 | ||
b4397864 UW |
1851 | 2007-06-15 Ulrich Weigand <[email protected]> |
1852 | ||
1853 | * solib-sunos.c (sunos_solib_create_inferior_hook): Add comment | |
1854 | explaining why the PC adjustment code is necessary. | |
1855 | ||
8ed86d01 VP |
1856 | 2007-06-15 Vladimir Prus <[email protected]> |
1857 | ||
1858 | * m68k-tdep.h (enum m68k_flavour): New. | |
1859 | (struct gdbarch_tdep): New fields | |
1860 | float_return, flavour and fpregs_present. | |
1861 | * m68k-tdep.c (m68k_register_type): Use | |
1862 | fpregs_present and conditionalize floating | |
1863 | registers type on flavour. | |
1864 | (m68k_register_names): New. | |
1865 | (m68k_register_name): Use the above. | |
1866 | (m68k_convert_register_p): Consult fpregs_present. | |
1867 | (m68k_register_to_value, m68k_value_to_register): | |
1868 | Use register_type to obtain the type of floating | |
1869 | point registers. | |
1870 | (m68k_svr4_extract_return_value): Check tdep->float_return. | |
1871 | Use register_type to get the type of floating | |
1872 | point regiters. | |
1873 | (m68k_svr4_store_return_value): Likewise. | |
1874 | (m68k_dwarf_reg_to_regnum): Check tdep->fpregs_present. | |
1875 | (m68k_analyze_register_saves): Likewise. | |
1876 | (m68k_gdbarch_init): Extract infromation | |
1877 | from XML description, if present. Guess coldfire by | |
1878 | looking at the file, if present. Conditionalize | |
1879 | setting of long double format. Set decr_pc_after_break | |
1880 | to 2 on coldfire and fido. Enable XML-driven | |
1881 | register description. | |
1882 | * m68kbsd-tdep.c (m68kbsd_fpreg_offset): Use | |
1883 | size of tdep->fpreg_type, as opposed to hardcoded value. | |
1884 | * Makefile.in (m68k-tdep.o): Update dependencies. | |
1885 | ||
83cc5c53 UW |
1886 | 2007-06-15 Ulrich Weigand <[email protected]> |
1887 | ||
1888 | * NEWS: Mention "info spu" commands and qXfer:spu:read and | |
1889 | qXfer:spu:write remote packet types. | |
1890 | ||
1780a0ed DJ |
1891 | 2007-06-13 Daniel Jacobowitz <[email protected]> |
1892 | ||
1893 | * xml-tdesc.c (tdesc_start_target): New. | |
1894 | (target_attributes): New. | |
1895 | (tdesc_elements): Use it. | |
1896 | * features/gdb-target.dtd: Add #FIXED version attribute for | |
1897 | <target>. | |
1898 | ||
98a29c7e DJ |
1899 | 2007-06-13 Arthur Huillet <[email protected]> |
1900 | ||
1901 | * mi/mi-cmd-var.c (mi_cmd_var_assign): Fix typo. | |
1902 | ||
9dcbb931 DJ |
1903 | 2007-06-13 Claudio Fontana <[email protected]> |
1904 | ||
1905 | * fork-child.c (fork_inferior): Update comment. | |
1906 | ||
117ce543 DJ |
1907 | 2007-06-13 Daniel Jacobowitz <[email protected]> |
1908 | ||
1909 | * features/Makefile: Generate regformats for mips-linux and | |
1910 | mips64-linux. | |
1911 | * features/sort-regs.xsl: Correct typo. | |
1912 | * regformats/reg-mips.dat, regformats/reg-mips64.dat: Delete. | |
1913 | * regformats/mips-linux.dat, regformats/mips64-linux.dat: New generated | |
1914 | files. | |
1915 | ||
822b6570 DJ |
1916 | 2007-06-13 Daniel Jacobowitz <[email protected]> |
1917 | ||
1918 | * config/mips/linux.mh (TDEP_XML): New. | |
1919 | * features/mips-linux.xml, features/mips64-linux.xml: New files. | |
1920 | * mips-linux-nat.c (mips_linux_register_addr): Handle | |
1921 | MIPS_RESTART_REGNUM. | |
1922 | (mips64_linux_register_addr): Likewise. | |
1923 | (super_xfer_partial, mips_linux_xfer_partial): New. | |
1924 | (_initialize_mips_linux_nat): Add them to the target_ops. | |
1925 | * mips-linux-tdep.c (mips_supply_gregset): Handle MIPS_RESTART_REGNUM. | |
1926 | (mips_fill_gregset, mips64_supply_gregset, mips64_fill_gregset) | |
1927 | (mips_linux_o32_sigframe_init) | |
1928 | (mips_linux_n32n64_sigframe_init): Likewise. | |
1929 | (mips_linux_write_pc, mips_linux_restart_reg_p): New. | |
1930 | (mips_linux_init_abi): Use mips_linux_write_pc. Check for the | |
1931 | "org.gnu.gdb.mips.linux" feature. | |
1932 | * mips-linux-tdep.h (MIPS_RESTART_REGNUM): New constant. | |
1933 | (mips_linux_restart_reg_p): New prototype. | |
1934 | * mips-tdep.c (mips_gdbarch_init): Pass tdesc_data to the OS/ABI | |
1935 | initialization routine. | |
1936 | * Makefile.in (mips-linux-tdep.o, mips-linux-nat.o): Update. | |
1937 | ||
f8b73d13 DJ |
1938 | 2007-06-13 Daniel Jacobowitz <[email protected]> |
1939 | ||
1940 | * Makefile.in (mips-tdep.o): Update. | |
1941 | * mips-tdep.c (struct register_alias, mips_o32_aliases) | |
1942 | (mips_n32_n64_aliases, mips_register_aliases): New. | |
1943 | (mips_register_name): Call tdesc_register_name. | |
1944 | (mips_tdesc_register_reggroup_p): New. | |
1945 | (mips_pseudo_register_type, value_of_mips_user_reg): New. | |
1946 | (mips_gdbarch_init): Add target-described register support. | |
1947 | Register aliases for register names. | |
1948 | * target-descriptions.c (tdesc_register_name): Make global. | |
1949 | (tdesc_register_in_reggroup_p): New function, broken out from | |
1950 | tdesc_register_reggroup_p. | |
1951 | (tdesc_register_reggroup_p): Use it. | |
1952 | * target-descriptions.h (tdesc_register_name) | |
1953 | (tdesc_register_in_reggroup_p): New prototypes. | |
1954 | * NEWS: Correct formatting. Mention MIPS register support. | |
1955 | * features/mips-cp0.xml, features/mips-fpu.xml, | |
1956 | features/mips64-cp0.xml, gdb/features/mips64-fpu.xml, mips-cpu.xml, | |
1957 | features/mips64-cpu.xml: New files. | |
1958 | ||
17a912b6 UW |
1959 | 2007-06-13 Markus Deuling <[email protected]> |
1960 | ||
1961 | * gdbarch.sh (TARGET_ADDR_BIT): Replace by gdbarch_addr_bit. | |
1962 | * valops.c (value_cast): Likewise. | |
1963 | * utils.c (strlen_paddr, paddr, paddr_nz, paddress): Likewise. | |
1964 | * ui-out.c (ui_out_field_core_addr): Likewise. | |
1965 | * tracepoint.c (tracepoints_info): Likewise. | |
1966 | * symtab.c (print_msymbol_info): Likewise. | |
1967 | * solib-irix.c (irix_current_sos) | |
1968 | (irix_open_symbol_file_object): Likewise. | |
1969 | * remote.c (build_remote_gdbarch_data): Likewise. | |
1970 | * prologue-value.c (make_pv_area): Likewise. | |
1971 | * procfs.c (info_mappings_callback): Likewise. | |
1972 | * printcmd.c (print_scalar_formatted) | |
1973 | (deprecated_print_address_numeric): Likewise. | |
1974 | * memattr.c (mem_info_command): Likewise. | |
1975 | * linux-nat.c (linux_nat_info_proc_cmd): Likewise. | |
1976 | * gdbtypes.c (build_flt, gdbtypes_post_init): Likewise. | |
1977 | * exec.c (print_section_info): Likewise. | |
1978 | * dwarf2read.c (read_subrange_type): Likewise. | |
1979 | * dwarf2loc.c (find_location_expression): Likewise. | |
1980 | * dwarf2expr.c (dwarf2_read_address, unsigned_address_type) | |
1981 | (signed_address_type, execute_stack_op): Likewise. | |
1982 | * breakpoint.c (print_one_breakpoint, breakpoint_1): Likewise. | |
1983 | * gdbarch.c, gdbarch.h: Regenerate. | |
1984 | ||
1143fffb UW |
1985 | 2007-06-13 Markus Deuling <[email protected]> |
1986 | ||
1987 | * gdbarch.sh (TARGET_ARCHITECTURE): Replace by gdbarch_bfd_arch_info. | |
1988 | * arch-utils.c (show_architecture): Likewise. | |
1989 | * remote-mips.c (mips_open): Likewise | |
1990 | * nto-tdep.c (nto_find_and_open_solib) | |
1991 | (nto_init_solib_absolute_prefix): Likewise. | |
1992 | * nto-procfs (procfs_open): Likewise. | |
1993 | * m68hc11-tdep.c (gdb_print_insn_m68hc11): Likewise. | |
1994 | * gcore.c (default_gcore_mach, default_gcore_arch): Likewise. | |
1995 | * gdbarch.c, gdbarch.h: Regenerate. | |
1996 | ||
4fe99ffb UW |
1997 | 2007-06-13 Markus Deuling <[email protected]> |
1998 | ||
1999 | * gdbarch.sh (TARGET_BFD_VMA_BIT): Replace by gdbarch_bfd_vma_bit. | |
2000 | * gdbtypes.c (build_flt): Likewise. | |
2001 | * gdbarch.c, gdbarch.h: Regenerate. | |
2002 | ||
3b3b875c UW |
2003 | 2007-06-13 Markus Deuling <[email protected]> |
2004 | ||
2005 | * gdbarch.sh (BREAKPOINT_FROM_PC): Replace by | |
2006 | gdbarch_breakpoint_from_pc. | |
2007 | * s390-tdep.c (s390_gdbarch_init): Likewise (comment). | |
2008 | * remote.c (remote_insert_breakpoint) | |
2009 | (remote_insert_hw_breakpoint): Likewise. | |
2010 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise. | |
2011 | * mips-tdep.c (mips_breakpoint_from_pc): Likewise (comment). | |
2012 | * breakpoint.h (bp_target_info): Likewise (comment). | |
2013 | * breakpoint.c (read_memory_nobpt): Likewise. | |
2014 | * mem-break.c (default_memory_insert_breakpoint): Likewise. | |
2015 | (symtab.h, breakpoint.h): Remove include. Remove unnecessary comment. | |
2016 | * gdbarch.c, gdbarch.h: Regenerate. | |
2017 | ||
819844ad UW |
2018 | 2007-06-13 Markus Deuling <[email protected]> |
2019 | ||
2020 | * gdbarch.sh (TARGET_PTR_BIT): Replace with gdbarch_ptr_bit. | |
2021 | * solib-svr4.c (svr4_truncate_ptr): Likewise. | |
2022 | * solib-pa64.c (read_dynamic_info): Likewise. | |
2023 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise. | |
2024 | * solib.c (info_sharedlibrary_command): Likewise. | |
2025 | * s390-nat.c (SUBOFF): Likewise. | |
2026 | * p-valprint.c (pascal_val_print): Likewise. | |
2027 | * procfs.c (info_proc_mappings): Likewise. | |
2028 | * printcmd.c (decode_format): Likewise. | |
2029 | * nto-tdep.c (nto_truncate_ptr): Likewise. | |
2030 | * mips-linux-tdep.c (mips_linux_get_longjmp_target) | |
2031 | (mips64_linux_get_longjmp_target): Likewise. | |
2032 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
2033 | * jv-valprint.c (java_value_print): Likewise. | |
2034 | * jv-lang.c (get_java_object_header_size): Likewise. | |
2035 | * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Likewise. | |
2036 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) | |
2037 | (hppa_hpux_unwind_adjust_stub): Likewise. | |
2038 | * gnu-v3-abi.c (build_gdb_vtable_type): Likewise. | |
2039 | * gdbtypes.c (make_pointer_type, make_reference_type) | |
2040 | (smash_to_memberptr_type): Likewise. | |
2041 | * gdbarch.c, gdbarch.h: Regenerate. | |
2042 | ||
0cc93a06 DJ |
2043 | 2007-06-13 Daniel Jacobowitz <[email protected]> |
2044 | ||
2045 | * mips-tdep.c (mips_print_register): Remove unused ALL argument. | |
2046 | (print_gp_register_row): Stop before printing a register bigger | |
2047 | than the ABI register size. | |
2048 | (mips_print_registers_info): Update call to mips_print_register. | |
2049 | ||
67f3407f DJ |
2050 | 2007-06-13 Daniel Jacobowitz <[email protected]> |
2051 | ||
2052 | * expression.h (enum exp_opcode): Document a register name for | |
2053 | OP_REGISTER. | |
2054 | * parse.c (write_dollar_variable): Write the register name for | |
2055 | OP_REGISTER. | |
2056 | (operator_length_standard): Expect the register name following | |
2057 | OP_REGISTER. | |
2058 | * ada-lang.c (resolve_subexp): Likewise. | |
2059 | * ax-gdb.c (gen_expr): Likewise. | |
2060 | * eval.c (evaluate_subexp_standard): Likewise. | |
2061 | * expprint.c (print_subexp_standard, dump_subexp_body_standard): | |
2062 | Likewise. | |
2063 | * tracepoint.c (encode_actions): Likewise. | |
2064 | ||
0caa462c DJ |
2065 | 2007-06-13 Daniel Jacobowitz <[email protected]> |
2066 | ||
2067 | * utils.c (set_screen_size): Use INT_MAX for default columns. | |
2068 | ||
4de6483e UW |
2069 | 2007-06-13 Ulrich Weigand <[email protected]> |
2070 | ||
2071 | * remote.c (remote_protocol_features): Add qXfer:spu:read and | |
2072 | qXfer:spu:write packet types. | |
2073 | ||
cafad45b UW |
2074 | 2007-06-12 Markus Deuling <[email protected]> |
2075 | ||
2076 | * gdbarch.sh (DEPRECATED_STACK_ALIGN): Remove. | |
2077 | * gdbarch.c, gdbarch.h: Regenerate. | |
2078 | ||
055d23b8 UW |
2079 | 2007-06-12 Markus Deuling <[email protected]> |
2080 | ||
2081 | * gdbarch.sh (STAB_REG_TO_REGNUM): Replace by | |
2082 | gdbarch_stab_reg_to_regnum. | |
2083 | * stabsread.c (define_symbol): Likewise. | |
2084 | * gdbarch.sh (ECOFF_REG_TO_REGNUM): Replace by | |
2085 | gdbarch_ecoff_reg_to_regnum. | |
2086 | * mdebugread.c (parse_symbol): Likewise. | |
2087 | * i386-tdep.c (i386_gdbarch_init): Likewise (comment). | |
2088 | * gdbarch.sh (DWARF_REG_TO_REGNUM): Replace by | |
2089 | gdbarch_dwarf_reg_to_regnum. | |
2090 | * gdbarch.sh (SDB_REG_TO_REGNUM): Replace by gdbarch_sdb_reg_to_regnum. | |
2091 | * coffread.c (process_coff_symbol): Likewise. | |
2092 | * gdbarch.sh (DWARF2_REG_TO_REGNUM): Replace by | |
2093 | gdbarch_dwarf2_reg_to_regnum. | |
2094 | * dwarf2loc.c (dwarf_expr_read_reg,dwarf2_evaluate_loc_desc) | |
2095 | (locexpr_describe_location): Likewise. | |
2096 | * dwarf2-frame.c (read_reg,execute_cfa_program,dwarf2_frame_cache) | |
2097 | (dwarf2_frame_prev_register,dwarf2_signal_frame_this_id): Likewise. | |
2098 | * dwarf2loc.c (DWARF2_REG_TO_REGNUM): Remove macro. | |
2099 | * dwarf2read.c (DWARF2_REG_TO_REGNUM): Remove macro. | |
2100 | * gdbarch.c, gdbarch.h: Regenerate. | |
2101 | ||
260edbc2 UW |
2102 | 2007-06-12 Markus Deuling <[email protected]> |
2103 | ||
2104 | * gdbarch.sh (SMASH_TEXT_ADDRESS): Replace by | |
2105 | gdbarch_smash_text_address. | |
2106 | * somread.c (som_symtab_read): Likewise. | |
2107 | * elfread.c (record_minimal_symbol): Likewise. | |
2108 | * dbxread.c (process_one_symbol): Likewise. | |
2109 | * coffread.c (coff_symtab_read): Likewise. | |
2110 | * gdbarch.c, gdbarch.h: Regenerate. | |
2111 | ||
c1afe53d UW |
2112 | 2007-06-12 Markus Deuling <[email protected]> |
2113 | ||
2114 | * gdbarch.sh (REGISTER_TO_VALUE): Replace by gdbarch_register_to_value. | |
2115 | * findvar.c (value_from_register): Likewise. | |
2116 | * gdbarch.sh (VALUE_TO_REGISTER): Replace by gdbarch_value_to_register. | |
2117 | * valops.c (value_assign): Likewise. | |
2118 | * gdbarch.sh (CONVERT_REGISTER_P): Replace by | |
2119 | gdbarch_convert_register_p. | |
2120 | * findvar.c (value_from_register): Likewise. | |
2121 | * valops.c (value_assign): Likewise. | |
2122 | * gdbarch.c, gdbarch.h: Regenerate. | |
2123 | ||
474c1661 UW |
2124 | 2007-06-12 Markus Deuling <[email protected]> |
2125 | ||
2126 | * gdbarch.sh (REGISTER_SIM_REGNO): Replace by | |
2127 | gdbarch_register_sim_regno. | |
2128 | * sim-regno.h (sim_regno): Likewise (comment). | |
2129 | * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise. | |
2130 | * gdbarch.c, gdbarch.h: Regenerate. | |
2131 | ||
c7bb205c UW |
2132 | 2007-06-12 Markus Deuling <[email protected]> |
2133 | ||
2134 | * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Replace by | |
2135 | gdbarch_virtual_frame_pointer. | |
2136 | * tracepoint.c (encode_actions): Likewise. | |
2137 | * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Likewise. | |
2138 | * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address): Likewise. | |
2139 | * gdbarch.c, gdbarch.h: Regenerate. | |
2140 | ||
ea06eb3d UW |
2141 | 2007-06-12 Markus Deuling <[email protected]> |
2142 | ||
2143 | * gdbarch.sh (TARGET_FLOAT_BIT): Replace by gdbarch_float_bit. | |
2144 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
2145 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
2146 | * mdebugread.c (_initialize_mdebugread): Likewise. | |
2147 | * m2-lang.c (m2_create_fundamental_type) | |
2148 | (_initialize_m2_language): Likewise. | |
2149 | * gdbtypes.c (build_gdbtypes): Likewise. | |
2150 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
2151 | * doublest.c (floatformat_from_length): Likewise. | |
2152 | * c-lang.c (c_create_fundamental_type): Likewise. | |
2153 | * ada-lang.c (ada_create_fundamental_type) | |
2154 | (ada_language_arch_info): Likewise. | |
2155 | * gdbarch.sh (TARGET_FLOAT_FORMAT): Replace by gdbarch_float_format. | |
2156 | * value.c (unpack_double): Likewise (comment). | |
2157 | * gdbtypes.c (build_gdbtypes): Likewise. | |
2158 | * doublest.c (floatformat_from_length): Likewise. | |
2159 | * gdbarch.sh (TARGET_DOUBLE_BIT): Replace by gdbarch_double_bit. | |
2160 | * valarith.c (value_binop): Likewise. | |
2161 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
2162 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
2163 | * mdebugread.c (_initialize_mdebugread): Likewise. | |
2164 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
2165 | * gdbtypes.c (build_gdbtypes): Likewise. | |
2166 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
2167 | * doublest.c (floatformat_from_length): Likewise. | |
2168 | * cris-tdep.c (cris_gdbarch_init): Likewise (comment). | |
2169 | * c-lang.c (c_create_fundamental_type): Likewise. | |
2170 | * ada-lex.l (processReal): Likewise. | |
2171 | * ada-lang.c (ada_create_fundamental_type) | |
2172 | (ada_language_arch_info): Likewise. | |
2173 | * gdbarch.sh (TARGET_DOUBLE_FORMAT): Replace by gdbarch_double_format. | |
2174 | * value.c (unpack_double): Likewise (comment). | |
2175 | * gdbtypes.c (build_gdbtypes): Likewise. | |
2176 | * doublest.c (floatformat_from_length): Likewise. | |
2177 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Replace by | |
2178 | gdbarch_long_double_bit. | |
2179 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
2180 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
2181 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
2182 | * gdbtypes.c (build_gdbtypes): Likewise. | |
2183 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
2184 | * doublest.c (floatformat_from_length): Likewise. | |
2185 | * c-lang.c (c_create_fundamental_type): Likewise. | |
2186 | * ada-lex.l (processReal): Likewise. | |
2187 | * ada-lang.c (ada_create_fundamental_type) | |
2188 | (ada_language_arch_info): Likewise. | |
2189 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Replace by | |
2190 | gdbarch_long_double_format. | |
2191 | * gdbtypes.c (build_gdbtypes): Likewise. | |
2192 | * doublest.c (floatformat_from_length): Likewise. | |
2193 | * gdbarch.c, gdbarch.h: Regenerate. | |
2194 | ||
9a76efb6 UW |
2195 | 2007-06-12 Markus Deuling <[email protected]> |
2196 | ||
2197 | * gdbarch.sh (TARGET_SHORT_BIT): Replace by gdbarch_int_bit. | |
2198 | * ada-lang.c (ada_create_fundamental_type) | |
2199 | (ada_language_arch_info): Likewise. | |
2200 | * c-lang.c (c_create_fundamental_type): Likewise. | |
2201 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
2202 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
2203 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
2204 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
2205 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
2206 | * gdbarch.sh (TARGET_INT_BIT): Replace by gdbarch_int_bit. | |
2207 | * c-exp.y (parse_number): Likewise. | |
2208 | * objc-exp.y (parse_number): Likewise. | |
2209 | * ada-lex.l (processInt): Likewise. | |
2210 | * f-exp.y (parse_number): Likewise. | |
2211 | * p-exp.y (parse_number): Likewise. | |
2212 | * ada-lang.c (ada_create_fundamental_type, ada_language_arch_info) | |
2213 | (gdbtypes_post_init, build_gdbtypes): Likewise. | |
2214 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
2215 | * parse.c (build_parse): Likewise. | |
2216 | * xcoffread.c (_initialize_xcoffread): Likewise. | |
2217 | * stabsread.c (define_symbol, read_one_struct_field, read_enum_type) | |
2218 | (read_range_type): Likewise. | |
2219 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
2220 | * f-lang.c (build_fortran_types, f_create_fundamental_type): Likewise. | |
2221 | * m2-lang.c (m2_create_fundamental_type, _initialize_m2_language) | |
2222 | (m2_create_fundamental_type): Likewise. | |
2223 | * c-lang.c (c_create_fundamental_type): Likewise. | |
2224 | * coffread.c (coff_read_enum_type): Likewise. | |
2225 | * mdebugread.c (parse_symbol, _initialize_mdebugread): Likewise. | |
2226 | * dwarf2read.c (new_symbol): Likewise. | |
2227 | * gdbarch.sh (TARGET_LONG_BIT): Replace by gdbarch_long_bit. | |
2228 | * c-exp.y (parse_number): Likewise. | |
2229 | * objc-exp.y (parse_number): Likewise. | |
2230 | * ada-lex.l (processInt): Likewise. | |
2231 | * f-exp.y (parse_number): Likewise. | |
2232 | * p-exp.y (parse_number): Likewise. | |
2233 | * valarith.c (value_binop): Likewise. | |
2234 | * symfile.c (read_target_long_array, simple_overlay_update_1): Likewise. | |
2235 | * ada-lang.c (ada_create_fundamental_type) | |
2236 | (ada_language_arch_info): Likewise. | |
2237 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
2238 | * symfile.c (TARGET_LONG_BYTES): Likewise. | |
2239 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
2240 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
2241 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
2242 | * f-lang.c (f_create_fundamental_type): Likewise. | |
2243 | * c-lang.c (c_create_fundamental_type): Likewise. | |
2244 | * coffread.c (decode_base_type): Likewise. | |
2245 | * gdbarch.sh (TARGET_LONG_LONG_BIT): Replace by gdbarch_long_long_bit. | |
2246 | * c-exp.y (parse_number): Likewise. | |
2247 | * objc-exp.y (parse_number): Likewise. | |
2248 | * p-exp.y (parse_number): Likewise. | |
2249 | * ada-lang.c (ada_create_fundamental_type) | |
2250 | (ada_language_arch_info): Likewise. | |
2251 | * gdbtypes.c (gdbtypes_post_init, build_gdbtypes): Likewise. | |
2252 | * stabsread.c (read_range_type): Likewise. | |
2253 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
2254 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
2255 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
2256 | * f-lang.c (f_create_fundamental_type): Likewise. | |
2257 | * c-lang.c (c_create_fundamental_type): Likewise. | |
2258 | * gdbarch.c, gdbarch.h: Regenerate. | |
2259 | ||
272dfcfd AS |
2260 | 2007-06-12 Andreas Schwab <[email protected]> |
2261 | ||
2262 | * frame-unwind.h (frame_dealloc_cache_ftype): Define. | |
2263 | (struct frame_unwind): Add dealloc_cache. | |
2264 | * frame.c (reinit_frame_cache): Call dealloc_cache on all caches. | |
2265 | ||
2266 | * libunwind-frame.h (libunwind_frame_dealloc_cache): Declare. | |
2267 | * libunwind-frame.c (libunwind_frame_dealloc_cache): Define. | |
2268 | (libunwind_frame_unwind): Set dealloc_cache. | |
2269 | * ia64-tdep.c (ia64_libunwind_frame_unwind): Set dealloc_cache. | |
2270 | ||
0e7f50da UW |
2271 | 2007-06-12 Ulrich Weigand <[email protected]> |
2272 | Markus Deuling <[email protected]> | |
2273 | ||
2274 | * remote.c (remote_write_qxfer): New function. | |
2275 | (remote_xfer_partial): Add handling for TARGET_OBJECT_SPU. | |
2276 | (remote_read_qxfer): Do not cache empty objects. | |
2277 | (_initialize_remote): Add PACKET_qXfer_spu_read and | |
2278 | PACKET_qXfer_spu_write. | |
2279 | ||
23d964e7 UW |
2280 | 2007-06-12 Ulrich Weigand <[email protected]> |
2281 | ||
2282 | * target.h (enum target_object): Add TARGET_OBJECT_SPU. | |
2283 | * spu-linux-nat.c (spu_xfer_partial): Handle TARGET_OBJECT_SPU. | |
2284 | ||
2285 | * spu-tdep.h (SPU_NUM_PSEUDO_REGS): Add 5 pseudo registers. | |
2286 | (enum spu_regnum): Add SPU_FPSCR_REGNUM, SPU_SRR0_REGNUM, | |
2287 | SPU_LSLR_REGNUM, SPU_DECR_REGNUM, SPU_DECR_STATUS_REGNUM. | |
2288 | * spu-tdep.c (infospucmdlist): New variable. | |
2289 | (spu_register_name): Handle additional pseudo registers. | |
2290 | (spu_register_type): Likewise. | |
2291 | (spu_pseudo_register_read): Likewise. | |
2292 | (spu_pseudo_register_write): Likewise. | |
2293 | (spu_pseudo_register_read_spu): New function. | |
2294 | (spu_pseudo_register_write_spu): Likewise. | |
2295 | (info_spu_event_command): New function. | |
2296 | (info_spu_signal_command): Likewise. | |
2297 | (info_spu_mailbox_list): Likewise. | |
2298 | (info_spu_mailbox_command): Likewise. | |
2299 | (spu_mfc_get_bitfield): Likewise. | |
2300 | (info_spu_dma_cmdlist): Likewise. | |
2301 | (info_spu_dma_command): Likewise. | |
2302 | (info_spu_proxydma_command): Likewise. | |
2303 | (info_spu_command): Likewise. | |
2304 | (_initialize_spu_tdep): Install "info spu" commands. | |
2305 | ||
374c1d38 UW |
2306 | 2007-06-12 Ulrich Weigand <[email protected]> |
2307 | ||
2308 | * spu-linux-nat.c (spu_proc_xfer_spu): Do not return failure when | |
2309 | accessing non-seekable spufs files. | |
2310 | ||
e76f05fa UW |
2311 | 2007-06-09 Markus Deuling <[email protected]> |
2312 | ||
2313 | * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Replace by | |
2314 | gdbarch_skip_trampoline_code. | |
2315 | * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment). | |
2316 | * objc-lang.c (objc_skip_trampoline) | |
2317 | (objc_submethod_helper_data): Likewise. | |
2318 | * m32c-lang.c (m32c_skip_trampoline_code): Likewise (comment). | |
2319 | * infrun.c (handle_inferior_event): Likewise. | |
2320 | * gnu-v3-abi.c (gnuv3_skip_trampoline): Likewise. | |
2321 | * gdbarch.sh (IN_SOLIB_RETURN_TRAMPOLINE): Replace by | |
2322 | gdbarch_in_solib_return_trampoline. | |
2323 | * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment). | |
2324 | * infrun.c (handle_inferior_event): Likewise. | |
2325 | * hppa-tdep.c (hppa_stub_unwind_sniffer): Likewise. | |
2326 | * gdbarch.c, gdbarch.h: Regenerate. | |
2327 | ||
a433963d UW |
2328 | 2007-06-09 Markus Deuling <[email protected]> |
2329 | ||
2330 | * gdbarch.sh (SKIP_PROLOGUE): Replace by gdbarch_skip_prologue. | |
2331 | * symtab.c (find_function_start_sal, in_prologue): Likewise. | |
2332 | * linespec.c (minsym_found): Likewise. | |
2333 | * infrun.c (step_into_function): Likewise. | |
2334 | * gdbarch.c, gdbarch.h: Regenerate. | |
2335 | ||
aea8766f UW |
2336 | 2007-06-09 Markus Deuling <[email protected]> |
2337 | ||
2338 | * gdbarch.sh (NAME_OF_MALLOC): Replace by gdbarch_name_of_malloc. | |
2339 | * valops.c (value_allocate_space_in_inferior): Likewise. | |
2340 | * gdbarch.c, gdbarch.h: Regenerate. | |
2341 | ||
8da95a30 UW |
2342 | 2007-06-09 Markus Deuling <[email protected]> |
2343 | ||
2344 | * gdbarch.sh (MEMORY_INSERT_BREAKPOINT): Replace by | |
2345 | gdbarch_memory_insert_breakpoint. | |
2346 | * mem-break.c (memory_insert_breakpoint): Likewise. | |
2347 | * gdbarch.sh (MEMORY_REMOVE_BREAKPOINT): Replace by | |
2348 | gdbarch_memory_remove_breakpoint. | |
2349 | * mem-break.c (memory_remove_breakpoint): Likewise. | |
2350 | * gdbarch.c, gdbarch.h: Regenerate. | |
2351 | ||
985969a9 UW |
2352 | 2007-06-09 Markus Deuling <[email protected]> |
2353 | ||
2354 | * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS): Replace by | |
2355 | gdbarch_fetch_tls_load_module_address. | |
2356 | * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS_P): Replace by | |
2357 | gdbarch_fetch_tls_load_module_address_p. | |
2358 | * gdbarch.c, gdbarch.h: Regenerate. | |
2359 | ||
b798847d UW |
2360 | 2007-06-09 Markus Deuling <[email protected]> |
2361 | ||
2362 | * gdbarch.sh (DECR_PC_AFTER_BREAK): Replace by | |
2363 | gdbarch_decr_pc_after_break. | |
2364 | * tracepoint.c (trace_dump_command): Likewise. | |
2365 | * solib-sunos.c (sunos_solib_create_inferior_hook): Likewise. | |
2366 | * linux-thread-db.c (check_event): Likewise. | |
2367 | * linux-nat.c (cancel_breakpoints_callback): Likewise. | |
2368 | * infrun.c (adjust_pc_after_break, normal_stop): Likewise. | |
2369 | * frame.h: Likewise (comment). | |
2370 | * dummy-frame.c (deprecated_pc_in_call_dummy): Likewise. | |
2371 | * aix-thread.c (aix_thread_wait): Likewise. | |
2372 | * gdbarch.c, gdbarch.h: Regenerate. | |
2373 | ||
849957d9 UW |
2374 | 2007-06-09 Markus Deuling <[email protected]> |
2375 | ||
2376 | * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS): Replace by | |
2377 | gdbarch_address_class_type_flags. | |
2378 | * dwarf2read.c (read_tag_pointer_type): Likewise. | |
2379 | * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_P): Replace by | |
2380 | gdbarch_address_class_type_flags_p. | |
2381 | * dwarf2read.c (read_tag_pointer_type): Likewise. | |
2382 | * gdbarch.c, gdbarch.h: Regenerate. | |
2383 | ||
bf6ae464 UW |
2384 | 2007-06-09 Markus Deuling <[email protected]> |
2385 | ||
2386 | * gdbarch.sh (ADDR_BITS_REMOVE): Replace by gdbarch_addr_bits_remove. | |
2387 | * value.c (value_as_address): Likewise (comment). | |
2388 | * remote-mips.c (common_breakpoint): Likewise. | |
2389 | * regcache.c (read_pc_pid): Likewise. | |
2390 | * printcmd.c (do_one_display): Likewise. | |
2391 | * monitor.c (monitor_write_memory, monitor_read_memory) | |
2392 | (monitor_insert_breakpoint): Likewise. | |
2393 | * mips-tdep.c (heuristic_proc_start): Likewise. | |
2394 | * infrun.c (insert_step_resume_breakpoint_at_frame) | |
2395 | (insert_step_resume_breakpoint_at_caller): Likewise. | |
2396 | * buildsym.c (record_line): Likewise. | |
2397 | * arm-tdep.c (arm_scan_prologue, thumb_get_next_pc) | |
2398 | (arm_get_next_pc): Likewise. | |
2399 | * armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register) | |
2400 | (store_regs): Likewise. | |
2401 | * arm-linux-tdep.c (arm_linux_supply_gregset): Likewise. | |
2402 | * arm-linux-nat.c (fetch_register, fetch_regs): Likewise. | |
2403 | * gdbarch.c, gdbarch.h: Regenerate. | |
2404 | ||
c9f4d572 UW |
2405 | 2007-06-09 Markus Deuling <[email protected]> |
2406 | ||
2407 | * gdbarch.sh (REGISTER_NAME): Replace by gdbarch_register_name. | |
2408 | * tracepoint.c (scope_info): Likewise. | |
2409 | * target.c (debug_print_register): Likewise. | |
2410 | * stack.c (frame_info): Likewise. | |
2411 | * sh-tdep.c (sh_register_reggroup_p): Likewise. | |
2412 | * sh64-tdep.c (sh64_do_fp_register, sh64_do_register) | |
2413 | (sh64_media_print_registers_info) | |
2414 | (sh64_compact_print_registers_info): Likewise. | |
2415 | * rs6000-tdep.c (rs6000_register_reggroup_p): Likewise. | |
2416 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
2417 | * remote.c (packet_reg): Likewise (comment). | |
2418 | * reggroups.c (default_register_reggroup_p): Likewise. | |
2419 | * regcache.c (regcache_dump): Likewise. | |
2420 | * printcmd.c (address_info): Likewise. | |
2421 | * ppc-linux-nat.c (fetch_register, store_register): Likewise. | |
2422 | * mt-dep.c (mt_registers_info): Likewise. | |
2423 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Likewise (comment). | |
2424 | * mips-tdep.c (mips_register_reggroup_p, mips_read_fp_register_single) | |
2425 | (mips_read_fp_register_double, mips_print_fp_register) | |
2426 | (mips_print_register, print_gp_register_row, mips_print_registers_info) | |
2427 | (mips_register_sim_regno): Likewise. | |
2428 | * m68klinux-nat.c (regmap, fetch_register, store_register): Likewise. | |
2429 | * inf-ptrace.c (inf_ptrace_fetch_register) | |
2430 | (inf_ptrace_store_register): Likewise. | |
2431 | * infcmd.c (default_print_registers_info): Likewise. | |
2432 | * ia64-linux-nat.c (ia64_linux_fetch_register) | |
2433 | (ia64_linux_store_register): Likewise. | |
2434 | * i386-linux-nat.c (fetch_register, store_register): Likewise. | |
2435 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise. | |
2436 | * hppa-linux-nat.c (fetch_register, store_register): Likewise. | |
2437 | * hppa-hpux-nat.c (hppa_hpux_fetch_register) | |
2438 | (hppa_hpux_store_register): Likewise. | |
2439 | * findvar.c (locate_var_value): Likewise. | |
2440 | * dwarf2loc.c (locexpr_describe_location): Likewise. | |
2441 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
2442 | * arm-tdep.c (arm_push_dummy_call): Likewise. | |
2443 | * arch-utils.c (legacy_register_sim_regno): Likewise. | |
2444 | * alpha-tdep.c (alpha_register_reggroup_p): Likewise. | |
2445 | * alpha-nat.c (fetch_osf_core_registers): Likewise. | |
2446 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
2447 | (mi_cmd_data_list_changed_registers, mi_cmd_data_list_register_values) | |
2448 | (mi_cmd_data_write_register_values): Likewise. | |
2449 | * gdbarch.c, gdbarch.h: Regenerate. | |
2450 | ||
1fc01e03 DJ |
2451 | 2007-06-07 Daniel Jacobowitz <[email protected]> |
2452 | ||
2453 | * target-memory.c (blocks_to_erase): Correct off-by-one error. | |
2454 | ||
632110b1 VP |
2455 | 2007-06-06 Vladimir Prus <[email protected]> |
2456 | ||
2457 | * remote.c (process_g_packet): Don't check size. | |
2458 | * gdbarch.sh: Remove register_bytes_ok. | |
2459 | * gdbarch.c: Regenerated. | |
2460 | * gdbarch.h: Regenerated. | |
2461 | * m68k-tdep.c (REGISTER_BYTES_NOFP): Remove. | |
2462 | (m68k_register_bytes_ok): Remove. | |
2463 | (m68k_gdbarch_init): Don't register m68k_register_bytes_ok. | |
2464 | ||
f43ae3f1 AS |
2465 | 2007-06-06 Andreas Schwab <[email protected]> |
2466 | ||
2467 | * libunwind-frame.c (unw_destroy_addr_space_p): Define. | |
2468 | (destroy_addr_space_name): Define. | |
2469 | (libunwind_load): Get address of destroy_addr_space function. | |
2470 | (libunwind_frame_cache): Destroy unw_addr_space_t object before | |
2471 | returning unsuccessfully. | |
2472 | (libunwind_frame_sniffer): Destroy unw_addr_space_t object before | |
2473 | returning. | |
2474 | (libunwind_sigtramp_frame_sniffer): Likewise. | |
2475 | (libunwind_get_reg_special): Likewise. | |
2476 | ||
d99344c0 UW |
2477 | 2007-06-06 Markus Deuling <[email protected]> |
2478 | ||
2479 | * gdbarch.sh (FETCH_POINTER_ARGUMENT): Replace by | |
2480 | gdbarch_fetch_pointer_argument. | |
2481 | * objc-lang.c (OBJC_FETCH_POINTER_ARGUMENT): Likewise. | |
2482 | * gdbarch.c, gdbarch.h: Regenerate. | |
2483 | ||
e6cf7916 UW |
2484 | 2007-06-06 Markus Deuling <[email protected]> |
2485 | ||
2486 | * gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Replace by | |
2487 | gdbarch_have_nonsteppable_watchpoint. | |
2488 | * infrun.c (handle_inferior_event, adjust_pc_after_break): Likewise. | |
2489 | * gdbarch.sh (CANNOT_STEP_BREAKPOINT): Replace by | |
2490 | gdbarch_cannot_step_breakpoint. | |
2491 | * infrun.c (resume): Likewise. | |
2492 | * gdbarch.c, gdbarch.h: Regenerate. | |
2493 | ||
bbcf301a UW |
2494 | 2007-06-06 Markus Deuling <[email protected]> |
2495 | ||
2496 | * gdbarch.sh (FRAME_ARGS_SKIP): Replace by gdbarch_frame_args_skip. | |
2497 | * stack.c (print_frame_args): Likewise. | |
2498 | * gdbarch.sh (FRAME_NUM_ARGS): Replace by gdbarch_frame_num_args. | |
2499 | * stack.c (print_args_stub, frame_info): Likewise. | |
2500 | * gdbarch.sh (FRAME_NUM_ARGS_P): Replace by gdbarch_frame_num_args_p. | |
2501 | * stack.c (print_args_stub, frame_info): Likewise. | |
2502 | * gdbarch.c, gdbarch.h: Regenerate. | |
2503 | ||
95f1da47 UW |
2504 | 2007-06-06 Markus Deuling <[email protected]> |
2505 | ||
2506 | * gdbarch.sh (COFF_MAKE_MSYMBOL_SPECIAL): Replace by | |
2507 | gdbarch_coff_make_msymbol_special. | |
2508 | * coffread.c (coff_symtab_read): Likewise. | |
2509 | * gdbarch.sh (ELF_MAKE_MSYMBOL_SPECIAL): Replace by | |
2510 | gdbarch_elf_make_msymbol_special. | |
2511 | * elfread.c (elf_symtab_read): Likewise. | |
2512 | * mips-tdep.c (mips_elf_make_msymbol_special): Likewise (comment). | |
2513 | * sh64-tdep.c (MSYMBOL_IS_SPECIAL): Likewise (comment). | |
2514 | * gdbarch.c, gdbarch.h: Regenerate. | |
2515 | ||
39e8369e UW |
2516 | 2007-06-06 Markus Deuling <[email protected]> |
2517 | ||
2518 | * gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by | |
2519 | gdbarch_frame_red_zone_size. | |
2520 | * gdbarch.c, gdbarch.h: Regenerate. | |
2521 | ||
4d1e7dd1 UW |
2522 | 2007-06-06 Markus Deuling <[email protected]> |
2523 | ||
2524 | * gdbarch.sh (INNER_THAN): Replace by gdbarch_inner_than. | |
2525 | * infcall.c (call_function_by_hand): Likewise. | |
2526 | * gcore.c (derive_stack_segment): Likewise. | |
2527 | * frame.c (frame_id_inner): Likewise. | |
2528 | * arch-utils.c (core_addr_lessthan): Likewise (comment). | |
2529 | * ada-lang.c (ensure_lval): Likewise. | |
2530 | * gdbarch.c, gdbarch.h: Regenerate. | |
2531 | ||
76e71323 UW |
2532 | 2007-06-06 Markus Deuling <[email protected]> |
2533 | ||
2534 | * gdbarch.sh (ADDRESS_TO_POINTER): Replace by | |
2535 | gdbarch_address_to_pointer. | |
2536 | * findvar.c (store_typed_address): Likewise. | |
2537 | * gdbtypes.c (make_pointer_type): Likewise (comment). | |
2538 | * procfs.c (procfs_address_to_host_pointer): Likewise. | |
2539 | * std-regs.c (value_of_builtin_frame_reg): Likewise. | |
2540 | (value_of_builtin_frame_fp_reg): Likewise. | |
2541 | (value_of_builtin_frame_pc_reg): Likewise. | |
2542 | * utils.c (paddress): Likewise (comment). | |
2543 | * gdbarch.sh (POINTER_TO_ADDRESS): Replace by | |
2544 | gdbarch_pointer_to_address. | |
2545 | * findvar.c (extract_typed_address): Likewise. | |
2546 | * gdbtypes.c (make_pointer_type): Likewise (comment). | |
2547 | * valops.c (value_cast): Likewise (comment). | |
2548 | * gdbarch.c, gdbarch.h: Regenerate. | |
2549 | ||
91104499 UW |
2550 | 2007-06-06 Markus Deuling <[email protected]> |
2551 | ||
2552 | * gdbarch.sh (GET_LONGJMP_TARGET): Replace by gdbarch_get_longjmp_target. | |
2553 | * infrun.c (handle_inferior_event): Likewise. | |
2554 | * gdbarch.sh (GET_LONGJMP_TARGET_P): Replace by | |
2555 | gdbarch_get_longjmp_target_p. | |
2556 | * breakpoint.c (breakpoint_re_set): Likewise. | |
2557 | * infrun.c (handle_inferior_event): Likewise. | |
2558 | * gdbarch.c, gdbarch.h: Regenerate. | |
2559 | ||
d3e9c991 UW |
2560 | 2007-06-06 Ulrich Weigand <[email protected]> |
2561 | ||
2562 | * hppa-hpux-tdep.c (args_for_find_stub, HP_ACC_EH_notify_hook, | |
2563 | HP_ACC_EH_set_hook_value, HP_ACC_EH_notify_callback, HP_ACC_EH_break, | |
2564 | HP_ACC_EH_catch_throw, HP_ACC_EH_catch_catch, __eh_notification, | |
2565 | hp_cxx_exception_support, hp_cxx_exception_support_initialized, | |
2566 | eh_notify_hook_addr, eh_notify_callback_addr, eh_break_addr, | |
2567 | eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior, | |
2568 | find_stub_with_shl_get, cover_find_stub_with_shl_get, | |
2569 | initialize_hp_cxx_exception_support, child_enable_exception_callback, | |
2570 | current_ex_event, child_get_current_exception_event): Remove. | |
2571 | (hppa_hpux_inferior_created): Remove. | |
2572 | (hppa_hpux_init_abi): Do not install hppa_hpux_inferior_created. | |
2573 | ||
2574 | * breakpoint.h (deprecated_exception_catchpoints_are_fragile): Remove. | |
2575 | (deprecated_exception_support_initialized): Remove. | |
2576 | * breakpoint.c (deprecated_exception_catchpoints_are_fragile): Remove. | |
2577 | (deprecated_exception_support_initialized): Remove. | |
2578 | (breakpoint_init_inferior): Remove handling of non-zero | |
2579 | deprecated_exception_catchpoints_are_fragile. | |
2580 | ||
2581 | * symtab.h (deprecated_hp_som_som_object_present): Remove. | |
2582 | * symtab.c (deprecated_hp_som_som_object_present): Remove. | |
2583 | * c-typeprint.c (c_type_print_base): Remove handling of non-zero | |
2584 | deprecated_hp_som_som_object_present. | |
2585 | * eval.c (evaluate_subexp_standard): Likewise. | |
2586 | * valops.c (value_cast): Likewise. | |
2587 | ||
2588 | * parse.c (parse_nested_classes_for_hpacc, coloncolon): Remove. | |
2589 | * parser-defs.h (parse_nested_classes_for_hpacc): Remove. | |
2590 | * c-exp.y (yylex): Do not call parse_nested_classes_for_hpacc. | |
2591 | ||
5e787d22 UW |
2592 | 2007-06-06 Ulrich Weigand <[email protected]> |
2593 | ||
2594 | * objfiles.h (ImportEntry, ExportEntry): Remove types. | |
2595 | (struct objfile): Remove import_list, import_list_size, | |
2596 | export_list, export_list_size members. | |
2597 | (is_in_import_list): Remove prototype. | |
2598 | * objfiles.c (is_in_import_list): Remove. | |
2599 | * somread.c (init_import_symbols, init_export_symbols): Remove. | |
2600 | (som_symfile_read): Do not call init_import_symbols. Do not | |
2601 | set objfile->export_list and objfile->export_list_size. | |
2602 | ||
93e7bd98 DJ |
2603 | 2007-06-05 Daniel Jacobowitz <[email protected]> |
2604 | ||
2605 | * dwarf2read.c (dwarf2_symbol_mark_computed): Fix formatting. | |
2606 | Use the original objfile if necessary. | |
2607 | ||
e1024ff1 DJ |
2608 | 2007-06-04 Daniel Jacobowitz <[email protected]> |
2609 | ||
2610 | * defs.h (ldirname): New prototype. | |
2611 | * dwarf2read.c (read_file_scope): Use DW_AT_name if DW_AT_comp_dir is | |
2612 | missing. | |
2613 | * utils.c (ldirname): New function. | |
2614 | * xml-tdesc.c (file_read_description_xml): Use ldirname. | |
2615 | ||
ee82e879 UW |
2616 | 2007-06-01 Ulrich Weigand <[email protected]> |
2617 | ||
2618 | * spu-tdep.c (spu_push_dummy_call): Store stack back chain. | |
2619 | ||
513f5903 JB |
2620 | 2007-06-01 Joel Brobecker <[email protected]> |
2621 | ||
2622 | * solib-svr4.c (svr4_solib_create_inferior_hook): Remove warning. | |
2623 | ||
52a75740 UW |
2624 | 2007-06-01 Ulrich Weigand <[email protected]> |
2625 | ||
2626 | * irix5-nat.c (JB_ELEMENT_SIZE, get_longjmp_target): Remove. | |
2627 | ||
c3fc7e62 UW |
2628 | 2007-06-01 Ulrich Weigand <[email protected]> |
2629 | ||
2630 | * ppc-linux-tdep.c (INSTR_SC, INSTR_LI_R0_0x6666, INSTR_LI_R0_0x7777, | |
2631 | INSTR_LI_R0_NR_sigreturn, INSTR_LI_R0_NR_rt_sigreturn): Remove. | |
2632 | (PPC_LINUX_SIGNAL_FRAMESIZE, PPC_LINUX_REGS_PTR_OFFSET, | |
2633 | PPC_LINUX_HANDLER_PTR_OFFSET): Remove. | |
2634 | (ppc_linux_in_sigtramp, insn_is_sigreturn, | |
2635 | ppc_linux_at_sigtramp_return_path): Remove. | |
2636 | ||
4c6b5505 UW |
2637 | 2007-05-31 Markus Deuling <[email protected]> |
2638 | ||
2639 | * xtensa-tdep.c (XTENSA_IS_ENTRY, extract_call_winsize) | |
2640 | (xtensa_register_write_masked, xtensa_register_read_masked) | |
2641 | (xtensa_extract_return_value, xtensa_store_return_value | |
2642 | (xtensa_push_dummy_call, xtensa_breakpoint_from_pc): Replace | |
2643 | TARGET_BYTE_ORDER by gdbarch_byte_order. | |
2644 | * sh-tdep.c (sh_breakpoint_from_pc, gdb_print_insn_sh) | |
2645 | (sh_justify_value_in_reg, sh_next_flt_argreg, sh_push_dummy_call_fpu) | |
2646 | (sh_extract_return_value_fpu, sh_store_return_value_fpu): Likewise. | |
2647 | * sh64-tdep.c (sh64_breakpoint_from_pc, gdb_print_insn_sh64) | |
2648 | (sh64_push_dummy_call, sh64_extract_return_value) | |
2649 | (sh64_store_return_value, sh64_register_convert_to_virtual) | |
2650 | (sh64_register_convert_to_raw, sh64_pseudo_register_read) | |
2651 | (sh64_pseudo_register_write, sh64_do_fp_register) | |
2652 | (sh64_frame_prev_register): Likewise. | |
2653 | * score-tdep.c (score_print_insn, score_breakpoint_from_pc) | |
2654 | (score_return_value, score_push_dummy_call, score_fetch_inst): Likewise. | |
2655 | * rs6000-tdep.c (rs6000_breakpoint_from_pc, rs6000_push_dummy_call) | |
2656 | (e500_move_ev_register,gdb_print_insn_powerpc): Likewise. | |
2657 | * remote-m32r-sdi.c (m32r_resume, m32r_wait): Likewise. | |
2658 | * ppc-linux-nat.c (store_register): Likewise. | |
2659 | * nto-tdep.c (nto_find_and_open_solib) | |
2660 | (nto_init_solib_absolute_prefix): Likewise. | |
2661 | * mips-tdep.c (mips_pseudo_register_read, mips_pseudo_register_write) | |
2662 | (mips_convert_register_p, mips_eabi_push_dummy_call) | |
2663 | (mips_n32n64_push_dummy_call, mips_n32n64_return_value) | |
2664 | (mips_o32_push_dummy_call, mips_o32_return_value) | |
2665 | (mips_o64_push_dummy_call, mips_o64_return_value, mips_o64_return_value) | |
2666 | (mips_read_fp_register_single, mips_read_fp_register_double) | |
2667 | (mips_print_register, print_gp_register_row, gdb_print_insn_mips) | |
2668 | (mips_breakpoint_from_pc): Likewise. | |
2669 | * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Likewise. | |
2670 | * mips-linux-tdep.c (mips64_supply_fpregset, mips64_fill_fpregset) | |
2671 | (mips_linux_o32_sigframe_init): Likewise. | |
2672 | * m32r-tdep.c (m32r_memory_insert_breakpoint) | |
2673 | (m32r_memory_remove_breakpoint, m32r_breakpoint_from_pc): Likewise. | |
2674 | * libunwind-frame.c (libunwind_frame_cache, libunwind_frame_sniffer) | |
2675 | (libunwind_sigtramp_frame_sniffer, libunwind_get_reg_special): Likewise. | |
2676 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Likewise. | |
2677 | * coffread.c (process_coff_symbol): Likewise. | |
2678 | * arm-tdep.c (convert_from_extended, convert_to_extended) | |
2679 | (gdb_print_insn_arm): Likewise. | |
2680 | ||
f57d151a UW |
2681 | 2007-05-31 Markus Deuling <[email protected]> |
2682 | ||
2683 | * gdbarch.sh (NUM_REGS): Replace by gdbarch_num_regs. | |
2684 | * i386-tdep.c (i386_dbx_reg_to_regnum) | |
2685 | (i386_svr4_reg_to_regnum): Likewise. | |
2686 | * inf-ptrace.c (inf_ptrace_fetch_registers) | |
2687 | (inf_ptrace_store_registers): Likewise. | |
2688 | * corelow.c (get_core_registers): Likewise. | |
2689 | * i386-linux-nat.c (supply_gregset, fill_gregset) | |
2690 | (i386_linux_fetch_inferior_registers) | |
2691 | (i386_linux_store_inferior_registers): Likewise. | |
2692 | * remote.c (init_remote_state,packet_reg_from_regnum) | |
2693 | (packet_reg_from_pnum,process_g_packet,remote_fetch_registers) | |
2694 | (remote_prepare_to_store,store_registers_using_G) | |
2695 | (remote_store_registers,remote_arch_state): Likewise. | |
2696 | * tracepoint.c (encode_actions): Likewise. | |
2697 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
2698 | (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values) | |
2699 | (mi_cmd_data_write_register_values): Likewise. | |
2700 | * tui/tui-regs.c (tui_show_register_group) | |
2701 | (tui_show_register_group): Likewise. | |
2702 | * xtensa-tdep.h (FP_ALIAS): Likewise. | |
2703 | * xtensa-tdep.c (xtensa_register_name,xtensa_register_type) | |
2704 | (xtensa_reg_to_regnum,xtensa_pseudo_register_read) | |
2705 | (xtensa_pseudo_register_write,xtensa_register_reggroup_p): Likewise. | |
2706 | * win32-nat.c (do_win32_fetch_inferior_registers) | |
2707 | (do_win32_store_inferior_registers,fetch_elf_core_registers | |
2708 | * user-regs.h: Likewise (comment). | |
2709 | * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise. | |
2710 | * trad-frame.c (trad_frame_alloc_saved_regs): Likewise. | |
2711 | * target-descriptions.h: Likewise (comment). | |
2712 | * target-descriptions.c (tdesc_use_registers): Likewise (comment). | |
2713 | * target.c (debug_print_register): Likewise. | |
2714 | * stack.c (frame_info): Likewise. | |
2715 | * stabsread.c (define_symbol): Likewise. | |
2716 | * sh64-tdep.c (sh64_do_pseudo_register,sh64_print_register) | |
2717 | (sh64_media_print_registers_info) | |
2718 | (sh64_compact_print_registers_info): Likewise. | |
2719 | * rs6000-tdep.c (rs6000_register_sim_regno): Likewise. | |
2720 | * rs6000-nat.c (fetch_register,store_register): Likewise. | |
2721 | * remote-sim.c (one2one_register_sim_regno,gdbsim_fetch_register) | |
2722 | (gdbsim_fetch_register,gdbsim_store_register): Likewise. | |
2723 | * remote-mips.c (mips_fetch_registers,mips_store_registers): Likewise. | |
2724 | * remote-m32r-sdi.c (m32r_fetch_registers) | |
2725 | (m32r_store_registers): Likewise. | |
2726 | * reggroups.c (default_register_reggroup_p): Likewise. | |
2727 | * regcache.c (init_regcache_descr,register_size,regcache,regcache_save) | |
2728 | (regcache_restore,regcache_dump): Likewise. | |
2729 | * monitor.c (monitor_fetch_registers,monitor_store_registers): Likewise. | |
2730 | * mips-tdep.c (mips_xfer_register,mips_register_name) | |
2731 | (mips_register_reggroup_p,mips_pseudo_register_read) | |
2732 | (mips_pseudo_register_write,mips_convert_register_p,mips_register_type) | |
2733 | (mips_unwind_pc,mips_unwind_sp,mips_unwind_dummy_id,set_reg_offset) | |
2734 | (mips16_scan_prologue,mips_insn16_frame_cache,reset_saved_regs) | |
2735 | (mips32_scan_prologue,mips_insn32_frame_cache,read_next_frame_reg) | |
2736 | (mips_n32n64_return_value,mips_o32_return_value,mips_o64_return_value) | |
2737 | (print_gp_register_row,mips_print_registers_info) | |
2738 | (mips_stab_reg_to_regnum,mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
2739 | (mips_register_sim_regno): Likewise. | |
2740 | * mips-linux-tdep.c (mips_linux_o32_sigframe_init) | |
2741 | (mips_linux_n32n64_sigframe_init): Likewise. | |
2742 | * mips-linux-nat.c (mips_linux_register_addr) | |
2743 | (mips64_linux_register_addr): Likewise. | |
2744 | * findvar.c (value_of_register): Likewise. | |
2745 | * infcmd.c (default_print_registers_info,registers_info) | |
2746 | (print_vector_info,print_float_info): Likewise. | |
2747 | * mips64obsd-tdep.c (mips64obsd_sigframe_init): Likewise. | |
2748 | * inf-child.c (inf_child_fetch_inferior_registers): Likewise. | |
2749 | * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise. | |
2750 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache(: Likewise. | |
2751 | * m32r-tdep.c (m32r_frame_unwind_cache): Likewise. | |
2752 | * ia64-linux-nat.c (ia64_register_addr,ia64_cannot_fetch_register) | |
2753 | (ia64_cannot_store_register,ia64_linux_fetch_registers) | |
2754 | (ia64_linux_store_registers): Likewise. | |
2755 | * hpux-thread.c (hpux_thread_fetch_registers) | |
2756 | (hpux_thread_store_registers): Likewise. | |
2757 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM,E_PSEUDO_EXR_REGNUM) | |
2758 | (h8300_init_frame_cache,h8300_frame_cache,h8300_frame_prev_register) | |
2759 | (h8300_register_type): Likewise. | |
2760 | * dwarf2-frame.c (dwarf2_frame_cache) | |
2761 | (dwarf2_frame_state_alloc_regs): Likewise. | |
2762 | * cris-tdep.c (cris_register_size,cris_cannot_fetch_register) | |
2763 | (cris_cannot_store_register,crisv32_cannot_fetch_register) | |
2764 | (crisv32_cannot_store_register,cris_register_name): Likewise. | |
2765 | * avr-tdep.c (avr_frame_unwind_cache): Likewise. | |
2766 | * arch-utils.c (legacy_register_sim_regno) | |
2767 | (legacy_virtual_frame_pointer): Likewise. | |
2768 | * arm-tdep.c (arm_make_prologue_cache,arm_register_sim_regno):Likewise. | |
2769 | * arm-tdep.h: Likewise (comment). | |
2770 | * frv-tdep.c (frv_register_sim_regno): Likewise. | |
2771 | * m68klinux-nat.c (old_fetch_inferior_registers) | |
2772 | (old_store_inferior_registers): Likewise. | |
2773 | * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. | |
2774 | * irix5-nat.c (fetch_core_registers): Likewise. | |
2775 | * hppa-tdep.c (hppa_frame_cache): Likewise. | |
2776 | * hppa-linux-nat.c (hppa_linux_register_addr) | |
2777 | (hppa_linux_fetch_inferior_registers) | |
2778 | (hppa_linux_store_inferior_registers): Likewise. | |
2779 | * hppa-hpux-nat.c (hppa_hpux_fetch_inferior_registers) | |
2780 | (hppa_hpux_store_inferior_registers): Likewise. | |
2781 | * amd64-nat.c (amd64_native_gregset_reg_offset) | |
2782 | (amd64_supply_native_gregset,amd64_collect_native_gregset): Likewise. | |
2783 | * dbug-rom.c (dbug_regname): Likewise. | |
2784 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache) | |
2785 | (HARD_PAGE_REGNUM (comment)): Likewise. | |
2786 | * gdbarch.sh (NUM_PSEUDO_REGS): Replace by gdbarch_num_pseudo_regs. | |
2787 | * i386-tdep.c (i386_dbx_reg_to_regnum) | |
2788 | (i386_svr4_reg_to_regnum): Likewise. | |
2789 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
2790 | (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values) | |
2791 | (mi_cmd_data_write_register_values): Likewise. | |
2792 | * gdbarch.c, gdbarch.h: Regenerate. | |
2793 | * tui/tui-regs.c (tui_show_register_group): Likewise. | |
2794 | * xtensa-tdep.h (FP_ALIAS): Likewise. | |
2795 | * user-regs.h: Likewise (comment). | |
2796 | * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise. | |
2797 | * trad-frame.c (trad_frame_alloc_saved_regs): Likewise. | |
2798 | * target-descriptions.h: Likewise (comment). | |
2799 | * target.c (debug_print_register): Likewise. | |
2800 | * stack.c (frame_info): Likewise. | |
2801 | * stabsread.c (define_symbol): Likewise. | |
2802 | * sh64-tdep.c (sh64_print_register,sh64_media_print_registers_info) | |
2803 | (sh64_compact_print_registers_info): Likewise. | |
2804 | * rs6000-tdep.c (rs6000_register_sim_regno): Likewise. | |
2805 | * regcache.c (init_regcache_descr,register_size,regcache,regcache_save | |
2806 | (regcache_restore,regcache_dump): Likewise. | |
2807 | * mips-tdep.c (print_gp_register_row,mips_print_registers_info) | |
2808 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
2809 | (mips_stab_reg_to_regnum): Likewise. | |
2810 | * findvar.c (value_of_register): Likewise. | |
2811 | * infcmd.c (default_print_registers_info,registers_info) | |
2812 | (print_vector_info,print_float_info): Likewise. | |
2813 | * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise. | |
2814 | * h8300-tdep.c (h8300_register_type): Likewise. | |
2815 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
2816 | * frame.h (SIZEOF_FRAME_SAVED_REGS): Likewise. | |
2817 | * xtensa-tdep.c (xtensa_register_type,xtensa_reg_to_regnum) | |
2818 | (xtensa_pseudo_register_read,xtensa_pseudo_register_write): Likewise. | |
2819 | * parse.c: Remove comment. | |
2820 | * gdbarch.c, gdbarch.h: Regenerate | |
2821 | ||
8d4c1ba3 UW |
2822 | 2007-05-31 Markus Deuling <[email protected]> |
2823 | ||
2824 | * gdbarch.sh (CANNOT_FETCH_REGISTER): Replace by | |
2825 | gdbarch_cannot_fetch_register. | |
2826 | * alpha-nat.c (fetch_osf_core_registers): Likewise. | |
2827 | * hppa-linux-nat.c (fetch_register): Likewise. | |
2828 | * inf-ptrace.c (inf_ptrace_fetch_register): Likewise. | |
2829 | * m68klinux-nat.c (fetch_register): Likewise. | |
2830 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): | |
2831 | Likewise. | |
2832 | * gdbarch.sh (CANNOT_STORE_REGISTER): Replace by | |
2833 | gdbarch_cannot_store_register. | |
2834 | * hppa-linux-nat.c (store_register): Likewise. | |
2835 | * inf-ptrace.c (inf_ptrace_store_register): Likewise. | |
2836 | * regcache.c (regcache_raw_write): Likewise. | |
2837 | * m68klinux-nat.c (store_register): Likewise. | |
2838 | * mipsnbsd-tdep.c (mipsnbsd_fill_reg, mipsnbsd_fill_fpreg): Likewise. | |
2839 | * gdbarch.c, gdbarch.h: Regenerate. | |
2840 | ||
3f4844da UW |
2841 | 2007-05-31 Markus Deuling <[email protected]> |
2842 | ||
2843 | * gdbarch.sh (TARGET_OSABI): Replace by gdbarch_osabi. | |
2844 | * gdbarch.c, gdbarch.h: Regenerate. | |
2845 | ||
6c6b19fd UW |
2846 | 2007-05-31 Markus Deuling <[email protected]> |
2847 | ||
2848 | * gdbarch.sh (TARGET_CHAR_SIGNED): Replace by gdbarch_char_signed. | |
2849 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
2850 | * gdbarch.c, gdbarch.h: Regenerate. | |
2851 | ||
0d20ae72 UW |
2852 | 2007-05-31 Markus Deuling <[email protected]> |
2853 | ||
2854 | * gdbarch.sh (TARGET_BYTE_ORDER): Replace by gdbarch_byte_order. | |
2855 | * ax-gdb.c (gen_bitfield_ref): Likewise. | |
2856 | * mi/mi-main.c (get_register): Likewise. | |
2857 | * findvar.c (default_value_from_register, extract_signed_integer) | |
2858 | (extract_unsigned_integer, extract_long_unsigned_integer) | |
2859 | (store_signed_integer, store_unsigned_integer): Likewise. | |
2860 | * regcache.c (regcache_dump): Likewise. | |
2861 | * value.c (lookup_internalvar, value_of_internalvar) | |
2862 | (set_internalvar): Likewise. | |
2863 | * defs.h: Likewise. | |
2864 | * valprint.c (print_binary_chars, print_octal_chars) | |
2865 | (print_decimal_chars, print_hex_chars, print_char_chars): Likewise. | |
2866 | * infcmd.c (default_print_registers_info): Likewise. | |
2867 | * arch-utils.c (selected_byte_order, show_endian): Likewise. | |
2868 | * stabsread.c (define_symbol): Likewise. | |
2869 | * doublest.c (floatformat_from_length, floatformat_from_type) | |
2870 | (extract_typed_floating, store_typed_floating): Likewise. | |
2871 | * gdbarch.c, gdbarch.h: Regenerate. | |
2872 | ||
faaf634c UW |
2873 | 2007-05-31 Markus Deuling <[email protected]> |
2874 | ||
2875 | * gdbarch.sh (CALL_DUMMY_LOCATION): Replace by | |
2876 | gdbarch_call_dummy_location. | |
2877 | * infcall.c (call_function_by_hand): Likewise. | |
2878 | * inferior.h: Change comment. | |
2879 | * arch-utils.c: Change comment. | |
2880 | * gdbarch.c, gdbarch.h: Regenerate. | |
2881 | ||
8905984d JB |
2882 | 2007-05-28 Joel Brobecker <[email protected]> |
2883 | ||
2884 | * solib-aix5.c: Delete. | |
2885 | * Makefile.in (solib-aix5.o): Delete rule. | |
2886 | ||
ab14ee8d DJ |
2887 | 2007-05-23 Daniel Jacobowitz <[email protected]> |
2888 | ||
2889 | * breakpoint.h (enum bpstat_what_main_action): Remove | |
2890 | BPSTAT_WHAT_THROUGH_SIGTRAMP. | |
2891 | * infrun.c (process_event_stop_test): Do not check for it. | |
2892 | ||
23776285 MR |
2893 | 2007-05-22 Chris Dearman <[email protected]> |
2894 | Maciej W. Rozycki <[email protected]> | |
2895 | ||
2896 | * ser-unix.c (show_serial_hwflow): New function. | |
2897 | (hardwire_raw): Add hardware flow control support. | |
2898 | (_initialize_ser_hardwire): Add "set/show remoteflow". | |
2899 | * Makefile.in (ser-unix.o): Depend on $(gdbcmd_h). | |
2900 | * NEWS: Document the new command. | |
2901 | ||
eb368090 UW |
2902 | 2007-05-21 Ulrich Weigand <[email protected]> |
2903 | ||
2904 | * config/i386/tm-linux.h (sys_quotactl): Do not define. | |
2905 | * configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not | |
2906 | define for i[[3456]]86-*-linux* native configurations. | |
2907 | * config.in, configure: Regenerate. | |
2908 | ||
8d08c9ce JB |
2909 | 2007-05-19 Joel Brobecker <[email protected]> |
2910 | ||
2911 | * rs6000-nat.c (xcoff_relocate_symtab): Do nothing if debugging | |
2912 | a core file. Add comment in the function description. | |
2913 | ||
42be36b3 CT |
2914 | 2007-05-18 Caroline Tice <[email protected]> |
2915 | ||
2916 | * c-valprint.c (c_value_print): If the initialized field of the | |
2917 | value struct is 0, print out "[uninitialized]" before the value. | |
2918 | * dwarf2expr.c (execute_stack_op): Initialize ctx->initialized field; | |
2919 | allow DW_OP_GNU_uninit as legal op following a DW_OP_reg op or a | |
2920 | DW_OP_regx op; add case for DW_OP_GNU_uninit and update | |
2921 | ctx->initialized appropriately. Verify no location op follows | |
2922 | DW_OP_GNU_uninit. | |
2923 | * dwarf2expr.h (struct dwarf_expr_context): New field, initialized. | |
2924 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Add call to | |
2925 | set_value_initialized. | |
2926 | * dwarf2read.c (dwarf_stack_op_name): Add case for DW_OP_GNU_uninit. | |
2927 | (decode_locdesc): Add case for DW_OP_GNU_uninit. | |
2928 | * value.c (struct value): New field, initialized. | |
2929 | (allocate_value): Initialize new field. | |
2930 | (set_value_initialized): New function. | |
2931 | (value_initialized): New function. | |
2932 | * value.h (value_initialized): New extern declaration. | |
2933 | (set_value_initialized): Likewise. | |
42be36b3 | 2934 | |
a7c569c8 CT |
2935 | 2007-05-18 Caroline Tice <[email protected]> |
2936 | ||
2937 | * MAINTAINERS (Write After Approval): Add self. | |
2938 | ||
1e98b326 JB |
2939 | 2007-05-17 Joel Brobecker <[email protected]> |
2940 | ||
2941 | * gdbtypes.c (make_reference_type): Preserve the type chain | |
2942 | and set the length of all the variants of the pointer type. | |
2943 | ||
053cb41b JB |
2944 | 2007-05-17 Joel Brobecker <[email protected]> |
2945 | ||
2946 | * gdbtypes.c (make_pointer_type): Preserve the pointer type chain | |
2947 | and set the length of all the variants of the pointer type. | |
2948 | ||
436aafc4 MR |
2949 | 2007-05-17 Maciej W. Rozycki <[email protected]> |
2950 | ||
2951 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a | |
2952 | comment. | |
2953 | (mips_o64_push_dummy_call): Reformat a comment. | |
2954 | ||
98f4ab10 Q |
2955 | 2007-05-17 Qinwei <[email protected]> |
2956 | ||
2957 | * score-tdep.c (score_frame_cache->fp, score_analyze_prologue) | |
2958 | (score_prologue_frame_base_address): Return fp to keep gdb print | |
2959 | local variables correctly when debugging information is stabs. | |
2960 | ||
2961 | (score_analyze_prologue): For software watchpoint, fetch all the | |
2962 | instructions from range [startaddr, pc] once and identify them locally | |
2963 | to reduce memory access. | |
2964 | (score_malloc_and_get_memblock, score_free_memblock) | |
2965 | (score_adjust_memblock_ptr): New functions. | |
2966 | (score_fetch_inst): Fetch single instruction or mutiple instructions. | |
2967 | ||
2968 | (score_target_can_use_watch, score_stopped_by_watch) | |
2969 | (score_target_insert_watchpoint, score_target_remove_watchpoint) | |
2970 | (score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint): | |
2971 | New functions for remote & local hw-watchpoint and hw-breakpoint. | |
2972 | ||
60dfee72 AS |
2973 | 2007-05-16 Alfred M. Szmidt <[email protected]> |
2974 | ||
2975 | * reply_mig_hack.awk: Check for `auto const mach_msg_type_t' | |
2976 | declarations as well. | |
2977 | ||
190dce09 UW |
2978 | 2007-05-16 Ulrich Weigand <[email protected]> |
2979 | ||
2980 | * config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h. | |
2981 | * config/arm/tm-embed.h: Delete file. | |
2982 | ||
2983 | * arm-tdep.h (arm_software_single_step): Declare. | |
2984 | * arm-tdep.c (arm_software_single_step): Make global. | |
2985 | (arm_gdbarch_init): Move set_gdbarch_software_single_step call | |
2986 | from here to ... | |
2987 | * arm-linux-tdep.c (arm_linux_init_abi): ... here ... | |
2988 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): ... here ... | |
2989 | * armobsd-tdep.c (armobsd_init_abi): ... here ... | |
2990 | * arm-wince-tdep.c (arm_wince_init_abi): ... and here. | |
2991 | ||
2992 | * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT): No longer | |
2993 | allow defines to be overriden by TM file. | |
2994 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Likewise. Also, | |
2995 | change default to {0xbe,0xbe}. | |
2996 | * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint, | |
2997 | arm_obsd_thumb_be_breakpoint): New global variables. | |
2998 | (armobsd_init_abi): Override tdep->thumb_breakpoint and | |
2999 | tdep->thumb_breakpoint_size. | |
3000 | * arm-wince-tdep.c (arm_wince_thumb_le_breakpoint): New variable. | |
3001 | (arm_wince_init_abi): Override tdep->thumb_breakpoint and | |
3002 | tdep->thumb_breakpoint_size. | |
3003 | ||
3004 | * arm-tdep.c (arm_gdbarch_init): Add set_gdbarch_skip_trampoline_code. | |
3005 | ||
1a69e1e4 DJ |
3006 | 2007-05-16 Daniel Jacobowitz <[email protected]> |
3007 | ||
3008 | * NEWS: Mention removed "set mips stack-arg-size" and "set mips | |
3009 | saved-gpreg-size". | |
3010 | ||
3011 | * mips-tdep.c (MIPS32_REGSIZE, MIPS64_REGSIZE): New constants. | |
3012 | (size_auto, size_32, size_64, size_enums, mips_abi_regsize_string) | |
3013 | (mips_stack_argsize_string, mips_stack_argsize): Delete. | |
3014 | (mips_abi_regsize): Simplify. | |
3015 | (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) | |
3016 | (mips_n32n64_return_value, mips_o32_push_dummy_call) | |
3017 | (mips_o32_return_value, mips_o64_push_dummy_call) | |
3018 | (mips_o64_return_value): Propogate constant register sizes. Use the | |
3019 | ABI register size instead of mips_stack_argsize. | |
3020 | (mips_dump_tdep): Don't print mips_stack_argsize. | |
3021 | (_initialize_mips_tdep): Remove saved-gpreg-size and stack-arg-size | |
3022 | settings. | |
3023 | ||
7d522c90 DJ |
3024 | 2007-05-16 Daniel Jacobowitz <[email protected]> |
3025 | ||
3026 | * config/mips/linux.mt (DEPRECATED_TM_FILE): Delete. | |
3027 | * config/mips/tm-linux.h: Delete. | |
3028 | * mips-linux-tdep.c (mips_svr4_so_ops): New. | |
3029 | (mips_linux_in_dynsym_resolve_code): Make static. Use | |
3030 | svr4_in_dynsym_resolve_code. | |
3031 | (mips_linux_init_abi): Initialize mips_svr4_so_ops. Call | |
3032 | set_solib_ops. | |
3033 | * solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make | |
3034 | global. | |
3035 | * solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare. | |
3036 | * Makefile.in (mips-linux-tdep.o): Update. | |
3037 | * solib.c (set_solib_ops): New. | |
3038 | (current_target_so_ops): Update comment. | |
3039 | * solib.h (set_solib_ops): New prototype. | |
3040 | ||
5d51a2db MR |
3041 | 2007-05-16 Chris Dearman <[email protected]> |
3042 | ||
3043 | * printcmd.c (do_examine): Fix typos in a comment. | |
3044 | ||
07abfebf RS |
3045 | 2007-05-16 Richard Sandiford <[email protected]> |
3046 | ||
3047 | * configure.ac: Allow sysroots to be relocated under $prefix as | |
3048 | well as $exec_prefix. | |
3049 | * configure: Regenerate. | |
3050 | ||
f5ce4941 UW |
3051 | 2007-05-14 Ulrich Weigand <[email protected]> |
3052 | ||
3053 | * hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>. | |
3054 | (offsetof): Do not define. | |
3055 | (find_stub_with_shl_get): Use numerical value 3 instead of | |
3056 | symbolic value TYPE_PROCEDURE. | |
3057 | ||
76e1ee85 DJ |
3058 | 2007-05-14 Daniel Jacobowitz <[email protected]> |
3059 | ||
3060 | * gdb_proc_service.h (paddr_t): Delete typedef. | |
3061 | * proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New. | |
3062 | (ps_xfer_memory): Take a psaddr_t. Use ps_addr_to_core_addr. | |
3063 | (ps_pglobal_lookup): Take a psaddr_t *. Use core_addr_to_ps_addr. | |
3064 | (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t. | |
3065 | * sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t. | |
3066 | * Makefile.in (proc-service.o): Update. | |
3067 | ||
2bd0c3d7 DJ |
3068 | 2007-05-14 Daniel Jacobowitz <[email protected]> |
3069 | ||
3070 | * Makefile.in (mips-tdep.o): Update. | |
3071 | * mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI | |
3072 | unwinder. | |
3073 | ||
14d06750 DJ |
3074 | 2007-05-14 Daniel Jacobowitz <[email protected]> |
3075 | ||
3076 | * dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long | |
3077 | instead of store_typed_address. | |
3078 | * value.c (pack_long): New. | |
3079 | (value_from_longest): Use it. | |
3080 | * value.h (pack_long): New prototype. | |
3081 | ||
f2fec864 DJ |
3082 | 2007-05-14 Daniel Jacobowitz <[email protected]> |
3083 | ||
3084 | * dwarf2-frame.c (read_encoded_value): Correct typo. Use | |
3085 | DW_EH_PE_signed if appropriate. | |
3086 | ||
25e43795 DJ |
3087 | 2007-05-14 Paul Brook <[email protected]> |
3088 | Daniel Jacobowitz <[email protected]> | |
3089 | ||
3090 | * dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New | |
3091 | function. | |
3092 | (dwarf_decode_lines): Check for line info without a file. | |
3093 | ||
027c0295 DJ |
3094 | 2007-05-14 Daniel Jacobowitz <[email protected]> |
3095 | ||
3096 | * linux-thread-db.c (thread_db_pid_to_str): Print thread IDs | |
3097 | as hexadecimal. | |
3098 | ||
dc5000e7 DJ |
3099 | 2007-05-14 Daniel Jacobowitz <[email protected]> |
3100 | ||
3101 | * jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead of | |
3102 | STRUCTOP_STRUCT. | |
3103 | * jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of | |
3104 | STRUCTOP_STRUCT. | |
3105 | * jv-typeprint.c (java_print_type): Do not crash on NULL varstring. | |
3106 | ||
30244cd8 UW |
3107 | 2007-05-14 Ulrich Weigand <[email protected]> |
3108 | ||
3109 | * gdbarch.sh (read_sp): Remove. | |
3110 | * gdbarch.c, gdbarch.h: Regenerate. | |
3111 | * frame.c (frame_sp_unwind): Do not call TARGET_READ_SP. | |
3112 | ||
3113 | * avr-tdep.c (avr_read_sp): Remove. | |
3114 | (avr_unwind_sp): New function. | |
3115 | (avr_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
3116 | * mips-tdep.c (mips_read_sp): Remove. | |
3117 | (mips_unwind_sp): New function. | |
3118 | (mips_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
3119 | * score-tdep.c (score_read_unsigned_register): Remove. | |
3120 | (score_read_sp): Remove. | |
3121 | (score_unwind_sp): New function. | |
3122 | (score_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
3123 | ||
84ba0adf DJ |
3124 | 2007-05-14 Maxim Grigoriev <[email protected]> |
3125 | ||
3126 | * buildsym.c (start_subfile): Handle absolute pathnames | |
3127 | while comparing subfile names. | |
3128 | ||
e7b17823 UW |
3129 | 2007-05-13 Ulrich Weigand <[email protected]> |
3130 | ||
3131 | * hppa-hpux-tdep.c: Include "regcache.h". | |
3132 | * hppa-linux-tdep.c: Likewise. | |
3133 | * hppa-tdep.c: Include "gdb_stdint.h". | |
3134 | (find_unwind_entry): Cast host pointer to uintptr_t before passing | |
3135 | it to paddr_nz. | |
3136 | * Makefile.in: Update dependencies. | |
3137 | ||
7157eed4 UW |
3138 | 2007-05-13 Ulrich Weigand <[email protected]> |
3139 | ||
3140 | * blockframe.c: Remove obsolete comments. | |
3141 | * alpha-nat.c (fetch_osf_core_registers): Update comment. | |
3142 | * arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment. | |
3143 | * hppa-tdep.h (enum hppa_regnum): Likewise. | |
3144 | * mips-tdep.h: Likewise. | |
3145 | * m68hc11-tdep.c: Likewise. | |
3146 | ||
fb4443d8 UW |
3147 | 2007-05-13 Ulrich Weigand <[email protected]> |
3148 | ||
3149 | * inferior.h (read_sp): Remove prototype. | |
3150 | * regcache.c (read_sp): Remove. | |
3151 | * gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp. | |
3152 | * infcall.c (call_function_by_hand): Likewise. | |
3153 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead | |
3154 | of calling read_sp. | |
3155 | * rs6000-tdep.c (rs6000_push_dummy_call): Likewise. | |
3156 | ||
7b86a1b8 UW |
3157 | 2007-05-11 Ulrich Weigand <[email protected]> |
3158 | ||
3159 | * i386-linux-nat.c (i386_linux_resume): Use regcache functions | |
3160 | instead of read_register and read_register_pid. | |
3161 | ||
3162 | * ia64-linux-nat.c (enable_watchpoints_in_psr): Use REGCACHE | |
3163 | argument instead of PTID. Use regcache functions instead of | |
3164 | read_register_pid. | |
3165 | (ia64_linux_insert_watchpoint): Update call. | |
3166 | (ia64_linux_stopped_data_address): Use regcache functions | |
3167 | instead of read_register_pid and write_register_pid. | |
3168 | ||
45ecac4b UW |
3169 | 2007-05-11 Ulrich Weigand <[email protected]> |
3170 | ||
3171 | * libunwind-frame.h (struct regcache): Add forward declaration. | |
3172 | (libunwind_get_reg_special): Add REGCACHE argument. | |
3173 | * libunwind-frame.c (libunwind_get_reg_special): Add REGCACHE | |
3174 | argument. Pass it to unw_init_remote_p. | |
3175 | ||
3176 | * ia64-tdep.c (ia64_pseudo_register_read): Pass regcache to | |
3177 | libunwind_get_reg_special. | |
3178 | (ia64_access_reg): Remove "write" case. | |
3179 | (ia64_access_fpreg): Likewise. Read from next_frame passed | |
3180 | as callback argument instead of from current_regcache. | |
3181 | (ia64_access_rse_reg): Remove "write" case. Read from regcache | |
3182 | passed as callback argument instead of from current_regcache. | |
3183 | (ia64_access_rse_fpreg): New function. | |
3184 | (ia64_unw_rse_acce): Use it instead of ia64_access_fpreg. | |
3185 | ||
0ca420ce UW |
3186 | 2007-05-11 Ulrich Weigand <[email protected]> |
3187 | ||
3188 | * NEWS: Mention SPU overlay support. | |
3189 | ||
0a44cb36 UW |
3190 | 2007-05-11 Ulrich Weigand <[email protected]> |
3191 | ||
3192 | * spu-tdep.c (spu_frame_unwind_cache): Add comment. | |
3193 | ||
aa67235e UW |
3194 | 2007-05-11 Ulrich Weigand <[email protected]> |
3195 | ||
3196 | * breakpoint.c (remove_breakpoint): Do not remove software | |
3197 | breakpoints in unmapped overlay sections. | |
3198 | ||
dcf52cd8 UW |
3199 | 2007-05-11 Ulrich Weigand <[email protected]> |
3200 | ||
3201 | * spu-tdep.c: Include "observer.h". | |
3202 | (spu_frame_unwind_cache): Unwind PC through overlay return stubs. | |
3203 | (spu_overlay_data): New variable. | |
3204 | (struct spu_overlay_table): New type. | |
3205 | (spu_get_overlay_table, spu_overlay_update_osect, spu_overlay_update, | |
3206 | spu_overlay_new_objfile): New functions. | |
3207 | (spu_gdbarch_init): Install spu_overlay_update. | |
3208 | (_initialize_spu_tdep): Register spu_overlay_new_objfile, | |
3209 | allocate spu_overlay_data objfile data. | |
3210 | ||
1c772458 UW |
3211 | 2007-05-11 Ulrich Weigand <[email protected]> |
3212 | ||
3213 | * gdbarch.sh (overlay_update): New gdbarch function. | |
3214 | (struct obj_section): Add forward declaration. | |
3215 | * gdbarch.c, gdbarch.h: Regenerate. | |
3216 | ||
3217 | * symfile.c (simple_overlay_update): Make global. | |
3218 | (target_overlay_update): Remove variable. | |
3219 | (overlay_is_mapped): Call gdbarch_overlay_update instead of | |
3220 | target_overlay_update. | |
3221 | (overlay_load_command): Likewise. | |
3222 | * symfile.h (struct obj_section): Add forward declaration. | |
3223 | (simple_overlay_update): Add prototype. | |
3224 | ||
3225 | * m32r-tdep.c (m32r_gdbarch_init): Install simple_overlay_update. | |
3226 | ||
06d3b283 UW |
3227 | 2007-05-11 Ulrich Weigand <[email protected]> |
3228 | ||
3229 | * observer.sh: Add "struct objfile" forward declaration. | |
3230 | * target.h (deprecated_target_new_objfile_hook): Remove. | |
3231 | * symfile.c (deprecated_target_new_objfile_hook): Remove. | |
3232 | (clear_symtab_users): Call observer_notify_new_objfile. | |
3233 | (symbol_file_add_with_addrs_or_offsets): Likewise. | |
3234 | * rs6000-nat.c: Include "observer.h". | |
3235 | (vmap_ldinfo): Call observer_notify_new_objfile. | |
3236 | (xcoff_relocate_core): Likewise. | |
3237 | * remote.c (remote_new_objfile_chain): Remove. | |
3238 | (remote_new_objfile): Do not call remote_new_objfile_chain. | |
3239 | (_initialize_remote): Use observer_attach_new_objfile. | |
3240 | * tui/tui-hooks.c (tui_target_new_objfile_chain): Remove. | |
3241 | (tui_new_objfile_hook): Do not call tui_target_new_objfile_chain. | |
3242 | (_initialize_tui_hooks): Use observer_attach_new_objfile. | |
3243 | * aix-thread.c: Include "observer.h". | |
3244 | (target_new_objfile_chain): Remove. | |
3245 | (new_objfile): Do not call target_new_objfile_chain. | |
3246 | (_initialize_aix_thread): Use observer_attach_new_objfile. | |
3247 | * hpux-thread.c: Include "observer.h" | |
3248 | (target_new_objfile_chain): Remove. | |
3249 | (hpux_thread_new_objfile): Make static. Do not call | |
3250 | target_new_objfile_chain. | |
3251 | (_initialize_hpux_thread): Use observer_attach_new_objfile. | |
3252 | * linux-thread-db.c: Include "observer.h". | |
3253 | (target_new_objfile_chain): Remove. | |
3254 | (thread_db_new_objfile): Do not call target_new_objfile_chain. | |
3255 | (_initialize_thread_db): Use observer_attach_new_objfile. | |
3256 | * sol-thread.c: Include "observer.h". | |
3257 | (target_new_objfile_chain): Remove. | |
3258 | (sol_thread_new_objfile): Make static. Do not call | |
3259 | target_new_objfile_chain. | |
3260 | (_initialize_sol_thread): Use observer_attach_new_objfile. | |
3261 | * Makefile.in (aix-thread.o, hpux-thread.o, linux-thread-db.o, | |
3262 | rs6000-nat.o, sol-thread.o, tui-hooks.o): Add dependency on | |
3263 | $(observer_h). | |
3264 | ||
93ce7684 UW |
3265 | 2007-05-11 Ulrich Weigand <[email protected]> |
3266 | ||
3267 | * gdbarch.sh (remote_translate_xfer_address): Remove. | |
3268 | * gdbarch.h, gdbarch.c: Regenerate. | |
3269 | * arch-utils.c (generic_remote_translate_xfer_address): Remove. | |
3270 | * arch-utils.h (generic_remote_translate_xfer_address): Remove. | |
3271 | * remote.c (remote_write_bytes_aux, remote_read_bytes): Do not | |
3272 | call gdbarch_remote_translate_xfer_address. | |
3273 | * frv-tdep.c (frv_gdbarch_init): Do not call | |
3274 | set_gdbarch_remote_translate_xfer_address. | |
3275 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Remove. | |
3276 | (ia64_gdbarch_init): Do not install it. | |
3277 | ||
a6ec25f2 BW |
3278 | 2007-05-11 Bob Wilson <[email protected]> |
3279 | ||
3280 | * NEWS: Mention change in handling the -tui option. | |
3281 | ||
2ef52e77 DJ |
3282 | 2007-05-11 Daniel Jacobowitz <[email protected]> |
3283 | ||
3284 | * linux-thread-db.c (enable_thread_event_reporting): Fix comment | |
3285 | typo. | |
3286 | ||
1aafd4da UW |
3287 | 2007-05-11 Ulrich Weigand <[email protected]> |
3288 | ||
3289 | * breakpoint.c (single_step_breakpoint_inserted_here_p): New function. | |
3290 | (breakpoint_inserted_here_p): Call it. | |
3291 | (software_breakpoint_inserted_here_p): Likewise. | |
3292 | ||
7714d83a UW |
3293 | 2007-05-10 Ulrich Weigand <[email protected]> |
3294 | ||
3295 | * inf-ptrace.c (inf_ptrace_register_u_offset): Adapt parameter list. | |
3296 | (inf_ptrace_fetch_register): Add register_u_offset callback parameters | |
3297 | GDBARCH and STORE_P. Handle callback (CORE_ADDR) -1 return value. | |
3298 | (inf_ptrace_store_register): Likewise. | |
3299 | (inf_ptrace_trad_target): Adapt register_u_offset parameter list. | |
3300 | * inf-ptrace.h (inf_ptrace_trad_target): Likewise. | |
3301 | ||
3302 | * vax-nat.c (vax_register_u_offset): Adapt parameter list. | |
3303 | ||
3304 | * linux-nat.c (linux_trad_target): Adapt parameter list. | |
3305 | * linux-nat.h (linux_trad_target): Likewise. | |
3306 | ||
3307 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Adapt parameters. | |
3308 | ||
3309 | * mips-linux-nat.c (mips_linux_cannot_fetch_register): Remove. | |
3310 | (mips_linux_cannot_store_register): Likewise. | |
3311 | (mips_linux_register_addr): Add GDBARCH and STORE_P parameters. | |
3312 | Return (CORE_ADDR) -1 for registers that cannot be fetched or | |
3313 | stored via ptrace. Use GDBARCH instead of current_gdbarch. | |
3314 | (mips64_linux_register_addr): Likewise. | |
3315 | (mips_linux_register_u_offset): Adapt parameter list. Pass | |
3316 | GDBARCH and STORE_P on to mips{64}_linux_register_addr. | |
3317 | ||
3318 | * config/mips/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
3319 | * config/mips/nm-linux.h: Delete file. | |
3320 | ||
4ddda9b5 PA |
3321 | 2007-05-10 Pedro Alves <[email protected]> |
3322 | ||
3323 | * remote.c (remote_detach): Error out if remote can't detach. | |
3324 | ||
24d45690 UW |
3325 | 2007-05-10 Luis Machado <[email protected]> |
3326 | ||
362f854e PA |
3327 | * rs6000-tdep.c: (deal_with_atomic_sequence) Stores branch |
3328 | instruction's opcode in the "opcode" variable and declares new | |
3329 | variable "closing_insn". | |
24d45690 | 3330 | |
1430be3e MR |
3331 | 2007-05-10 Chris Dearman <[email protected]> |
3332 | Maciej W. Rozycki <[email protected]> | |
3333 | ||
3334 | * cli/cli-setshow.c (do_setshow_command): Remove trailing | |
3335 | whitespace when setting a var_filename. | |
3336 | ||
b0da54f1 BW |
3337 | 2007-05-09 Bob Wilson <[email protected]> |
3338 | ||
3339 | * main.c (captured_main): Recognize -tui option and print an error | |
3340 | message when the TUI is not configured. | |
3341 | ||
9a88e5ee AS |
3342 | 2007-05-09 Andreas Schwab <[email protected]> |
3343 | ||
3344 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't | |
3345 | set removed members. | |
3346 | (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. | |
3347 | ||
fc0d8df4 UW |
3348 | 2007-05-08 Ulrich Weigand <[email protected]> |
3349 | ||
3350 | * gdbarch.sh (deprecated_store_struct_return): Remove. | |
3351 | * gdbarch.c, gdbarch.h: Regenerate. | |
3352 | * frv-tdep.c (frv_store_struct_return): Remove. | |
3353 | (frv_gdbarch_init): Do not install it. | |
3354 | ||
179101d6 UW |
3355 | 2007-05-08 Ulrich Weigand <[email protected]> |
3356 | ||
3357 | * config/i386/nm-i386sol2.h (USE_PROC_FS): Do not define. | |
3358 | * config/mips/nm-irix5.h (USE_PROC_FS): Do not define. | |
3359 | * config/nm-linux.h (USE_PROC_FS): Do not undefine. | |
3360 | ||
b9efddcd UW |
3361 | 2007-05-08 Ulrich Weigand <[email protected]> |
3362 | ||
3363 | * spu-linux-nat.c: Include "gdb_stdint.h". | |
3364 | (fetch_ppc_register): Use uint64_t instead of unsigned long long. | |
3365 | (fetch_ppc_memory_1, store_ppc_memory_1): Likewise. | |
3366 | (fetch_ppc_memory, store_ppc_memory): Fix coding style. | |
3367 | (spu_symbol_file_add_from_memory): Use strtoulst instead of sscanf. | |
3368 | (spu_child_wait): Mark up string for translation. | |
3369 | ||
ce5eab59 UW |
3370 | 2007-05-08 Paul Gilliam <[email protected]> |
3371 | Luis Machado <[email protected]> | |
3372 | ||
3373 | * rs6000-tdep.c: (LWARX_MASK, LWARX_INSTRUCTION, LDARX_INSTRUCTION, | |
3374 | STWCX_MASK, STWCX_INSTRUCTION, STDCX_INSTRUCTION, BC_MASK, | |
3375 | BC_INSTRUCTION): Define. | |
3376 | (deal_with_atomic_sequence): New function. | |
3377 | (rs6000_software_single_step): Call deal_with_atomic_sequence. | |
3378 | (rs6000_gdbarch_init): Install deal_with_atomic_sequence as | |
3379 | gdbarch_software_single_step routine. | |
3380 | ||
4179a487 UW |
3381 | 2007-05-07 Ulrich Weigand <[email protected]> |
3382 | ||
3383 | * spu-linux-nat.c (fetch_ppc_register, fetch_ppc_memory_1, | |
3384 | store_ppc_memory_1, fetch_ppc_memory, store_ppc_memory, | |
3385 | parse_spufs_run, spu_bfd_iovec_pread, spu_bfd_open, | |
3386 | spu_symbol_file_add_from_memory, spu_child_post_startup_inferior, | |
3387 | spu_child_post_attach, spu_fetch_inferior_registers, | |
3388 | spu_store_inferior_registers, spu_xfer_partial): Store PPE-side | |
3389 | memory addresses as ULONGEST, not CORE_ADDR. | |
3390 | ||
6d350bb5 UW |
3391 | 2007-05-07 Ulrich Weigand <[email protected]> |
3392 | ||
3393 | * gdbarch.sh: Add skip_permanent_breakpoint callback. | |
3394 | * gdbarch.h, gdbarch.c: Regenerate. | |
3395 | ||
3396 | * infrun.c (SKIP_PERMANENT_BREAKPOINT): Remove default definition. | |
3397 | (resume): Call gdbarch_skip_permanent_breakpoint instead of | |
3398 | SKIP_PERMANENT_BREAKPOINT. Inline default case. | |
3399 | ||
3400 | * hppa-hpux-tdep.c (hppa_skip_permanent_breakpoint): Make static. | |
3401 | Add REGCACHE argument. Use it instead of read/write_register. | |
3402 | (hppa_hpux_init_abi): Install hppa_skip_permanent_breakpoint. | |
3403 | ||
3404 | * config/pa/tm-hppah.h: Delete file. | |
3405 | * config/pa/hppa64.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h. | |
3406 | * config/pa/hppahpux.mt (DEPRECATED_TM_FILE): Likewise. | |
3407 | ||
b18be20d DJ |
3408 | 2007-05-07 Daniel Jacobowitz <[email protected]> |
3409 | ||
3410 | * Makefile.in (c-lang.o, gnu-v3-abi.o): Update. | |
3411 | * NEWS: Mention improved C++ thunk support. | |
3412 | * c-lang.c (cplus_language_defn): Mention cplus_skip_trampoline. | |
3413 | * cp-abi.c (cplus_skip_trampoline): New. | |
3414 | * cp-abi.h (cplus_skip_trampoline): New prototype. | |
3415 | (struct cp_abi_ops): Add skip_trampoline member. | |
3416 | * gnu-v3-abi.c (gnuv3_skip_trampoline): New. | |
3417 | (init_gnuv3_ops): Set skip_trampoline. | |
3418 | ||
dda9b909 DJ |
3419 | 2007-05-06 Daniel Jacobowitz <[email protected]> |
3420 | ||
3421 | * rs6000-tdep.c (struct frame_extra_info): Delete. | |
3422 | ||
34091d9b DJ |
3423 | 2007-05-06 Daniel Jacobowitz <[email protected]> |
3424 | ||
3425 | * linux-thread-db.c: Update some FIXME comments. | |
3426 | (thread_db_xfer_partial): Delete. | |
3427 | (init_thread_db_ops): Do not set to_xfer_partial. | |
3428 | ||
1da33a4a UW |
3429 | 2007-05-06 Ulrich Weigand <[email protected]> |
3430 | ||
3431 | * inftarg.c, infptrace.c: Remove files. | |
3432 | * Makefile.in (ALLDEPFILES): Remove inftarg.c and infptrace.c | |
3433 | (inftarg.o, infptrace.o): Remove rules. | |
3434 | * gdbcore.h (register_addr): Remove prototype. | |
3435 | * inferior.h (kill_inferior, store_inferior_registers, | |
3436 | fetch_inferior_registers, attach, detach, ptrace_wait, child_resume, | |
3437 | call_ptrace, pre_fork_inferior): Remove prototypes. | |
3438 | * target.h (child_xfer_memory, child_pid_to_exec_file, | |
3439 | child_core_file_to_sym_file, child_post_attach, | |
3440 | child_post_startup_inferior, child_acknowledge_created_inferior, | |
3441 | child_insert_fork_catchpoint, child_remove_fork_catchpoint, | |
3442 | child_insert_vfork_catchpoint, child_remove_vfork_catchpoint, | |
3443 | child_insert_exec_catchpoint, child_remove_exec_catchpoint, | |
3444 | child_follow_fork, child_reported_exec_events_per_exec_call, | |
3445 | child_has_exited, child_thread_alive): Remove prototypes. | |
3446 | ||
6f7a27d5 UW |
3447 | 2007-05-06 Ulrich Weigand <[email protected]> |
3448 | ||
3449 | * sparc-nat.h (sparc_fetch_inferior_registers): Add prototype. | |
3450 | (sparc_store_inferior_registers): Likewise. | |
3451 | * sparc-nat.c (fetch_inferior_registers): Rename to ... | |
3452 | (sparc_fetch_inferior_registers): ... this. | |
3453 | (store_inferior_registers): Rename to ... | |
3454 | (sparc_store_inferior_registers): ... this. | |
3455 | (sparc_target): Update callback names. | |
3456 | * sparc-linux.nat.c (_initialize_sparc_linux_nat): Likewise. | |
3457 | * sparc64-linux.nat.c (_initialize_sparc64_linux_nat): Likewise. | |
3458 | ||
6d8fd2b7 UW |
3459 | 2007-05-06 Ulrich Weigand <[email protected]> |
3460 | ||
3461 | * linux-nat.c (child_post_attach): Rename to ... | |
3462 | (linux_child_post_attach): ... this. Make static. | |
3463 | (child_follow_fork): Rename to ... | |
3464 | (linux_child_follow_fork): ... this. Make static. | |
3465 | (child_insert_fork_catchpoint): Rename to ... | |
3466 | (linux_child_insert_fork_catchpoint): ... this. Make static. | |
3467 | (child_insert_vfork_catchpoint): Rename to ... | |
3468 | (linux_child_insert_vfork_catchpoint): ... this. Make static. | |
3469 | (child_insert_exec_catchpoint): Rename to ... | |
3470 | (linux_child_insert_exec_catchpoint): ... this. Make static. | |
3471 | (child_pid_to_exec_file): Rename to ... | |
3472 | (linux_child_pid_to_exec_file): ... this. Make static. | |
3473 | Add prototype. | |
3474 | (linux_handle_extended_wait): Update call. | |
3475 | (linux_xfer_partial): Update callback routine names. | |
3476 | ||
d08950c4 UW |
3477 | 2007-05-06 Ulrich Weigand <[email protected]> |
3478 | ||
3479 | * configure.host (alpha*-*-osf[12]*): Remove support. | |
3480 | * NEWS: Mention removed configurations. | |
3481 | ||
3482 | * config/alpha/alpha-osf1.mh: Delete file. | |
3483 | * config/alpha/alpha-osf2.mh: Delete file. | |
3484 | * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove inftarg.o | |
3485 | and infptrace.o. | |
3486 | * config/alpha/nm-osf.h: Delete file. | |
3487 | * config/alpha/nm-osf2.h: Delete file. | |
3488 | * config/alpha/nm-osf3.h: Do not include "nm-osf2.h". | |
3489 | (START_INFERIOR_TRAPS_EXPECTED): Copy from nm-osf.h. | |
3490 | (PROCFS_DONT_TRACE_FAULTS): Copy from nm-osf2.h. | |
3491 | ||
3492 | * alpha-nat.c (ALPHA_UNIQUE_PTRACE_ADDR): Do not define. | |
3493 | (register_addr, kernel_u_size): Remove. | |
3494 | Do not check for "defined(USE_PROC_FS) || defined(HAVE_GREGSET_T)". | |
3495 | ||
9c5ea4d9 UW |
3496 | 2007-05-06 Ulrich Weigand <[email protected]> |
3497 | ||
3498 | * regcache.c (regcache_invalidate): New function. | |
3499 | (register_cached): Remove. | |
3500 | (set_register_cached): Remove. | |
3501 | (deprecated_registers_fetched): Remove. | |
3502 | (registers_changed): Use regcache_invalidate instead | |
3503 | of set_register_cached. | |
3504 | (regcache_raw_read): Update comment. | |
3505 | ||
3506 | * regcache.h (regcache_invalidate): Add prototype. | |
3507 | (register_cached): Remove. | |
3508 | (set_register_cached): Remove. | |
3509 | (deprecated_registers_fetched): Remove. | |
3510 | ||
3511 | * findvar.c (value_of_register): Do not call register_cached. | |
3512 | * frame.c (frame_register): Likewise. | |
3513 | * tui/tui-regs.c (tui_get_register): Likewise. | |
3514 | ||
3515 | * remote.c (fetch_register_using_p): Do not call set_register_cached. | |
3516 | (process_g_packet): Likewise. | |
3517 | (remote_fetch_registers): Likewise. | |
3518 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
3519 | * mt-tdep.c (mt_select_coprocessor): Replace set_register_cached call | |
3520 | by regcache_invalidate. | |
3521 | (mt_pseudo_register_write): Likewise. | |
3522 | * sh-tdep.c (sh_pseudo_register_write): Likewise. | |
3523 | ||
3524 | * corelow.c (get_core_registers): Replace deprecated_registers_fetched | |
3525 | call by loop over regcache_raw_supply (..., NULL). | |
3526 | ||
316f2060 UW |
3527 | 2007-05-06 Ulrich Weigand <[email protected]> |
3528 | ||
3529 | * target.h (struct target_ops): Add REGCACHE parameter to | |
3530 | to_prepare_to_store. | |
3531 | (target_prepare_to_store): Likewise. | |
3532 | * target.c (debug_to_prepare_to_store): Add REGCACHE parameter. | |
3533 | (update_current_target): Adapt prepare_to_store de_fault rule. | |
3534 | ||
3535 | * regcache.c (regcache_raw_write): Pass regcache to | |
3536 | target_prepare_to_store. | |
3537 | ||
3538 | * inftarg.c (child_prepare_to_store): Add REGCACHE parameter. | |
3539 | Do not call CHILD_PREPARE_TO_STORE. | |
3540 | * gnu-nat.c (gnu_prepare_to_store): Likewise. | |
3541 | * procfs.c (procfs_prepare_to_store): Likewise. | |
3542 | ||
3543 | * inf-child.c (inf_child_prepare_to_store): Add REGCACHE parameter. | |
3544 | * go32-nat.c (go32_prepare_to_store): Likewise. | |
3545 | * monitor.c (monitor_prepare_to_store): Likewise. | |
3546 | * nto-procfs.c (procfs_prepare_to_store): Likewise. | |
3547 | * remote-m32r-sdi.c (m32r_prepare_to_store): Likewise. | |
3548 | * remote-mips.c (mips_prepare_to_store): Likewise. | |
3549 | * remote-sim.c (gdbsim_prepare_to_store): Likewise. | |
3550 | * win32-nat.c (win32_prepare_to_store): Likewise. | |
3551 | ||
3552 | * remote.c (remote_prepare_to_store): Add REGCACHE parameter. | |
3553 | Use it instead of current_regcache. | |
3554 | ||
3555 | * hpux-thread.c (hpux_thread_prepare_to_store): Add REGCACHE | |
3556 | parameter. Pass it on to next target. | |
3557 | * sol-thread.c (sol_thread_prepare_to_store): Likewise. | |
3558 | ||
56be3814 UW |
3559 | 2007-05-06 Ulrich Weigand <[email protected]> |
3560 | ||
3561 | * target.h (struct regcache): Add forward declaration. | |
3562 | (struct target_ops): Add REGCACHE parameter to to_fetch_registers | |
3563 | and to_store_registers target operations. | |
3564 | (target_fetch_registers, target_store_registers): Update. | |
3565 | ||
3566 | * regcache.c (regcache_raw_read): Replace register_cached by | |
3567 | regcache_valid_p. Pass regcache to target_fetch_registers. | |
3568 | (regcache_raw_write): Pass regcache to target_store_registers. | |
3569 | ||
3570 | * arm-linux-nat.c (store_fpregister, store_fpregs, store_register, | |
3571 | store_regs, store_wmmx_regs): Replace register_cached by | |
3572 | regcache_valid_p. | |
3573 | ||
3574 | * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd): Pass current_regcache | |
3575 | to target_fetch_registers calls. | |
3576 | * corelow.c (core_open): Likewise. | |
3577 | * linux-nat.c (linux_nat_corefile_thread_callback): Likewise. | |
3578 | * proc-service.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs, | |
3579 | ps_lsetfpregs): Likewise. | |
3580 | * sol-thread.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs, | |
3581 | ps_lsetfpregs): Likewise. | |
3582 | * win32-nat.c (win32_resume): Likewise. | |
3583 | * ia64-tdep.c (ia64_store_return_value): Pass current_regcache | |
3584 | to target_store_registers call. | |
3585 | * rs6000-tdep.c (rs6000_push_dummy_call): Likewise. | |
3586 | ||
3587 | * inferior.h (store_inferior_registers): Update prototype. | |
3588 | (fetch_inferior_registers): Likewise. | |
3589 | * gnu-nat.c (gnu_store_registers, gnu_fetch_registers): Likewise. | |
3590 | * mips-linux-nat.c (super_fetch_registers, super_store_registers): | |
3591 | Update function pointer signatures. | |
3592 | ||
3593 | * aix-thread.c (aix_thread_fetch_registers): Add REGCACHE parameter, | |
3594 | use it instead of current_regcache, update calls. | |
3595 | (aix_thread_store_registers): Likewise. | |
3596 | * alphabsd-nat.c (alphabsd_fetch_inferior_registers): Likewise. | |
3597 | (alphabsd_store_inferior_registers): Likewise. | |
3598 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Likewise. | |
3599 | (amd64bsd_store_inferior_registers): Likewise. | |
3600 | * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Likewise. | |
3601 | (amd64_linux_store_inferior_registers): Likewise. | |
3602 | * arm-linux-nat.c (fetch_fpregister, fetch_fpregs, store_fpregister, | |
3603 | store_fpregs, fetch_register, fetch_regs, store_register, store_regs, | |
3604 | fetch_wmmx_regs, store_wmmx_regs): Likewise. | |
3605 | (arm_linux_fetch_inferior_registers): Likewise. | |
3606 | (arm_linux_store_inferior_registers): Likewise. | |
3607 | * armnbsd-nat.c (fetch_register, fetch_regs, fetch_fp_register, | |
3608 | fetch_fp_regs, armnbsd_fetch_registers): Likewise. | |
3609 | (store_register, store_regs, store_fp_register, store_fp_regs, | |
3610 | armnbsd_store_registers): Likewise. | |
3611 | * bsd-kvm.c (bsd_kvm_fetch_pcb, bsd_kvm_fetch_registers): Likewise. | |
3612 | * bsd-uthread.c (bsd_uthread_fetch_registers): Likewise. | |
3613 | (bsd_uthread_store_registers): Likewise. | |
3614 | * corelow.c (get_core_registers): Likewise. | |
3615 | * go32-nat.c (fetch_register, go32_fetch_registers, store_register, | |
3616 | go32_store_registers): Likewise. | |
3617 | * hppabsd-nat.c (hppabsd_fetch_registers): Likewise. | |
3618 | (hppabsd_store_registers): Likewise. | |
3619 | * hppa-hpux-nat.c (hppa_hpux_fetch_register): Likewise. | |
3620 | (hppa_hpux_fetch_inferior_registers): Likewise. | |
3621 | (hppa_hpux_store_register): Likewise. | |
3622 | (hppa_hpux_store_inferior_registers): Likewise. | |
3623 | * hppa-linux-nat.c (fetch_register, store_register): Likewise. | |
3624 | (hppa_linux_fetch_inferior_registers): Likewise. | |
3625 | (hppa_linux_store_inferior_registers): Likewise. | |
3626 | * hpux-thread.c (hpux_thread_fetch_registers): Likewise. | |
3627 | (hpux_thread_store_registers): Likewise. | |
3628 | * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Likewise. | |
3629 | (i386bsd_store_inferior_registers): Likewise. | |
3630 | * i386gnu-nat.c (fetch_fpregs, gnu_fetch_registers, store_fpregs, | |
3631 | gnu_store_registers): Likewise. | |
3632 | * i386-linux-nat.c (fetch_register, store_register, fetch_regs, | |
3633 | store_regs, fetch_fpregs, store_fpregs, fetch_fpxregs, store_fpxregs): | |
3634 | Likewise. | |
3635 | (i386_linux_fetch_inferior_registers): Likewise. | |
3636 | (i386_linux_store_inferior_registers): Likewise. | |
3637 | * ia64-linux-nat.c (ia64_linux_fetch_register): Likewise. | |
3638 | (ia64_linux_fetch_registers): Likewise. | |
3639 | (ia64_linux_store_register): Likewise. | |
3640 | (ia64_linux_store_registers): Likewise. | |
3641 | * inf-child.c (inf_child_fetch_inferior_registers): Likewise. | |
3642 | (inf_child_store_inferior_registers): Likewise. | |
3643 | * inf-ptrace.c (inf_ptrace_fetch_register): Likewise. | |
3644 | (inf_ptrace_fetch_registers): Likewise. | |
3645 | (inf_ptrace_store_register): Likewise. | |
3646 | (inf_ptrace_store_registers): Likewise. | |
3647 | * infptrace.c (fetch_register, store_register): Likewise. | |
3648 | (fetch_inferior_registers, store_inferior_registers): Likewise. | |
3649 | * m32r-linux-nat.c (fetch_regs, store_regs): Likewise. | |
3650 | (m32r_linux_fetch_inferior_registers): Likewise. | |
3651 | (m32r_linux_store_inferior_registers): Likewise. | |
3652 | * m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Likewise. | |
3653 | (m68kbsd_store_inferior_registers): Likewise. | |
3654 | * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers, | |
3655 | store_register, old_store_inferior_registers, fetch_regs, store_regs, | |
3656 | fetch_fpregs, store_fpregs): Likewise. | |
3657 | (m68k_linux_fetch_inferior_registers): Likewise. | |
3658 | (m68k_linux_store_inferior_registers): Likewise. | |
3659 | * m88kbsd-nat.c (m88kbsd_fetch_inferior_registers): Likewise. | |
3660 | (m88kbsd_store_inferior_registers): Likewise. | |
3661 | * mips64obsd-nat.c (mips64obsd_fetch_inferior_registers): Likewise. | |
3662 | (mips64obsd_store_inferior_registers): Likewise. | |
3663 | * mips-linux-nat.c (mips64_linux_regsets_fetch_registers): Likewise. | |
3664 | (mips64_linux_regsets_store_registers): Likewise. | |
3665 | (mips64_linux_fetch_registers): Likewise. | |
3666 | (mips64_linux_store_registers): Likewise. | |
3667 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers): Likewise. | |
3668 | (mipsnbsd_store_inferior_registers): Likewise. | |
3669 | * monitor.c (monitor_fetch_register, monitor_store_register): Likewise. | |
3670 | (monitor_fetch_registers, monitor_store_registers): Likewise. | |
3671 | * nto-procfs.c (procfs_fetch_registers): Likewise. | |
3672 | (procfs_store_registers): Likewise. | |
3673 | * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register, | |
3674 | fetch_register, supply_vrregset, fetch_altivec_registers, | |
3675 | fetch_ppc_registers, ppc_linux_fetch_inferior_registers): Likewise. | |
3676 | (store_altivec_register, store_spe_register, store_register, | |
3677 | fill_vrregset, store_altivec_registers, store_ppc_registers, | |
3678 | ppc_linux_store_inferior_registers): Likewise. | |
3679 | * ppcnbsd-nat.c (ppcnbsd_fetch_inferior_registers): Likewise. | |
3680 | (ppcnbsd_store_inferior_registers): Likewise. | |
3681 | * ppcobsd-nat.c (ppcobsd_fetch_registers): Likewise. | |
3682 | (ppcobsd_store_registers): Likewise. | |
3683 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
3684 | * remote.c (fetch_register_using_p, process_g_packet, | |
3685 | fetch_registers_using_g, remote_fetch_registers): Likewise. | |
3686 | (store_register_using_P, store_registers_using_G, | |
3687 | remote_store_registers): Likewise. | |
3688 | * remote-m32r-sdi.c (m32r_fetch_registers, m32r_fetch_register, | |
3689 | m32r_store_register, m32r_store_register): Likewise. | |
3690 | * remote-mips.c (mips_fetch_registers, mips_store_registers): Likewise. | |
3691 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
3692 | (gdbsim_store_register): Likewise. | |
3693 | * rs6000-nat.c (fetch_register, store_register): Likewise. | |
3694 | (rs6000_fetch_inferior_registers): Likewise. | |
3695 | (rs6000_store_inferior_registers): Likewise. | |
3696 | * s390-nat.c (fetch_regs, store_regs): Likewise. | |
3697 | (fetch_fpregs, store_fpregs): Likewise. | |
3698 | (s390_linux_fetch_inferior_registers): Likewise. | |
3699 | (s390_linux_store_inferior_registers): Likewise. | |
3700 | * shnbsd-nat.c (shnbsd_fetch_inferior_registers): Likewise. | |
3701 | (shnbsd_store_inferior_registers): Likewise. | |
3702 | * sol-thread.c (sol_thread_fetch_registers): Likewise. | |
3703 | (sol_thread_store_registers): Likewise. | |
3704 | * sparc-nat.c (fetch_inferior_registers): Likewise. | |
3705 | (store_inferior_registers): Likewise. | |
3706 | * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise. | |
3707 | (spu_store_inferior_registers): Likewise. | |
3708 | * target.c (debug_print_register): Likewise. | |
3709 | (debug_to_fetch_registers, debug_to_store_registers): Likewise. | |
3710 | * vaxbsd-nat.c (vaxbsd_fetch_inferior_registers): Likewise. | |
3711 | (vaxbsd_store_inferior_registers): Likewise. | |
3712 | * win32-nat.c (do_win32_fetch_inferior_registers): Likewise. | |
3713 | (win32_fetch_inferior_registers): Likewise. | |
3714 | (win32_store_inferior_registers): Likewise. | |
3715 | ||
9eefc95f UW |
3716 | 2007-05-06 Ulrich Weigand <[email protected]> |
3717 | ||
3718 | * gdbcore.h (struct regcache): Add forward declaration. | |
3719 | (struct core_fns): Add REGCACHE argument to core_read_registers | |
3720 | callback. | |
3721 | * corelow.c (get_core_register_section): Add REGCACHE argument, | |
3722 | use it instead of current_regcache, pass it to core_read_registers | |
3723 | callback. | |
3724 | (get_core_registers): Add current_regcache as parameter to | |
3725 | get_core_register_section calls. | |
3726 | ||
3727 | * alpha-nat.c (fetch_osf_core_registers): Add REGCACHE argument, | |
3728 | use it instead of current_regcache. | |
3729 | * armnbsd-nat.c (fetch_core_registers): Likewise. | |
3730 | (fetch_elfcore_registers): Likewise. | |
3731 | * core-regset.c (fetch_core_registers): Likewise. | |
3732 | * cris-tdep.c (fetch_core_registers): Likewise. | |
3733 | * irix5-nat.c (fetch_core_registers): Likewise. | |
3734 | * m68klinux-nat.c (fetch_core_registers): Likewise. | |
3735 | * mips-linux-tdep.c (fetch_core_registers): Likewise. | |
3736 | * win32-nat.c (fetch_elf_core_registers): Likewise. | |
3737 | ||
7f7fe91e UW |
3738 | 2007-05-06 Ulrich Weigand <[email protected]> |
3739 | ||
3740 | * gregset.h (struct regcache): Add forward declaration. | |
3741 | (supply_gregset): Add REGCACHE parameter, make GREGS const. | |
3742 | (supply_fpregset): Add REGCACHE parameter, make FPREGS const. | |
3743 | (supply_fpxregset): Add REGCACHE parameter, make FPXREGS const. | |
3744 | (fill_gregset): Add REGCACHE parameter. | |
3745 | (fill_fpregset): Likewise. | |
3746 | (fill_fpxregset): Likewise. | |
3747 | ||
3748 | Update all definitions accordingly: | |
3749 | * alphabsd-nat.c, alpha-linux-nat.c, alpha-nat.c, amd64-linux-nat.c, | |
3750 | arm-linux-nat.c, hppa-linux-nat.c, i386gnu-nat.c, i386-linux-nat.c, | |
3751 | i386-sol2-nat.c, i386v4-nat.c, ia64-linux-nat.c, irix5-nat.c, | |
3752 | m32r-linux-nat.c, m68klinux-nat.c, mips-linux-nat.c, ppc-linux-nat.c, | |
3753 | s390-nat.c, sparc64-linux-nat.c, sparc-linux-nat.c, sparc-sol2-nat.c | |
3754 | (supply_gregset): Add REGCACHE parameter, use it instead of | |
3755 | current_regcache. Make GREGSETP parameter const, adapt casts. | |
3756 | (supply_fpregset): Add REGCACHE parameter, use it instead of | |
3757 | current_regcache. Make FPREGSETP parameter const, adapt casts. | |
3758 | (fill_gregset): Add REGCACHE parameter, use it instead of | |
3759 | current_regcache. | |
3760 | (fill_fpregset): Likewise. | |
3761 | ||
3762 | Update all callers to pass in current_regcache as the new argument: | |
3763 | * core-regset.c: Include "regcache.h". | |
3764 | (fetch_core_registers): Update supply_gregset,and supply_fpregset calls. | |
3765 | * procfs.c: Include "regcache.h". | |
3766 | (procfs_fetch_registers): Update supply_gregset, supply_fpregset calls. | |
3767 | (procfs_store_registers): Update fill_gregset, fill_fpregset calls. | |
3768 | (procfs_do_thread_registers): Likewise. | |
3769 | (procfs_make_note_section): Likewise. | |
3770 | * proc-service.c: Include "regcache.h". | |
3771 | (ps_lgetregs): Update fill_gregset call. | |
3772 | (ps_lsetregs): Update supply_gregset call. | |
3773 | (ps_lgetfpregs): Update fill_fpregset call. | |
3774 | (ps_lsetfpregs): Update supply_fpregset call. | |
3775 | * sol-thread.c (sol_thread_fetch_registers): Update supply_gregset, | |
3776 | supply_fpregset calls. | |
3777 | (sol_thread_store_registers): Update fill_gregset, fill_fpregset calls. | |
3778 | (ps_lgetregs): Update fill_gregset call. | |
3779 | (ps_lsetregs): Update supply_gregset call. | |
3780 | (ps_lgetfpregs): Update fill_fpregset call. | |
3781 | (ps_lsetfpregs): Update supply_fpregset call. | |
3782 | ||
3783 | * linux-nat.c (linux_nat_do_thread_registers): Update fill_gregset, | |
3784 | fill_fpregset, and fill_fpxregset calls. | |
3785 | * i386-linux-nat.c (fetch_regs): Update supply_gregset call. | |
3786 | (store_regs): Update fill_gregset call. | |
3787 | (fetch_fpregs): Update supply_fpregset call. | |
3788 | (store_fpregs): Update fill_fpregset call. | |
3789 | (fetch_fpxregs): Update supply_fpxregset call. | |
3790 | (store_fpxregs): Update fill_fpxregset call. | |
3791 | * m32r-linux-nat.c (fetch_regs): Update supply_gregset call. | |
3792 | (store_regs): Update fill_gregset call. | |
3793 | * m68klinux-nat.c (fetch_regs): Update supply_gregset call. | |
3794 | (store_regs): Update fill_gregset call. | |
3795 | (fetch_fpregs): Update supply_fpregset call. | |
3796 | (store_fpregs): Update fill_fpregset call. | |
3797 | (fetch_core_registers): Update supply_gregset, supply_fpregset calls. | |
3798 | * s390-nat.c (fetch_regs): Update supply_gregset call. | |
3799 | (store_regs): Update fill_gregset call. | |
3800 | (fetch_fpregs): Update supply_fpregset call. | |
3801 | (store_fpregs): Update fill_fpregset call. | |
3802 | ||
3803 | * Makefile.in (core-regset.o, procfs.o, proc-service.o): Update | |
3804 | dependencies. | |
3805 | ||
c410a84c UW |
3806 | 2007-05-06 Ulrich Weigand <[email protected]> |
3807 | ||
3808 | * monitor.c (monitor_supply_register): Add REGCACHE parameter, use | |
3809 | it instead of current_regcache. | |
3810 | (parse_register_dump): Add REGCACHE parameter, pass it to | |
3811 | supply_register callback. | |
3812 | (monitor_dump_reg_block): Add REGCACHE parameter, pass it to | |
3813 | parse_register_dump. | |
3814 | (monitor_dump_regs): Add REGCACHE parameter, pass it to | |
3815 | parse_register_dump and dumpregs callback. | |
3816 | (monitor_wait): Pass current_regcache to parse_register_dump and | |
3817 | monitor_dump_regs. | |
3818 | (monitor_fetch_register): Pass current_regcache to | |
3819 | monitor_supply_register. | |
3820 | (monitor_fetch_registers): Pass current_regcache to | |
3821 | monitor_dump_regs. | |
3822 | * monitor.h (struct monitor_ops): Add REGCACHE parameter to | |
3823 | supply_register and dumpregs callbacks. | |
3824 | (monitor_supply_register, monitor_dump_reg_block): Update | |
3825 | prototypes. | |
3826 | * dbug-rom.c (dbug_supply_register): Add REGCACHE parameter. Pass | |
3827 | it to monitor_supply_register. | |
3828 | * dink32-rom.c (dink32_supply_register): Likewise. | |
3829 | * ppcbug-rom.c (ppcbug_supply_register): Likewise. | |
3830 | * m32r-rom.c (m32r_supply_register): Likewise. Also, use REGCACHE | |
3831 | instead of current_regcache. | |
3832 | ||
468e3d51 UW |
3833 | 2007-05-06 Ulrich Weigand <[email protected]> |
3834 | ||
3835 | * i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset): | |
3836 | Add REGCACHE parameter. Use it instead of current_regcache. | |
3837 | (i386nto_supply_regset): Add REGCACHE parameter, pass it to | |
3838 | i386nto_supply_gregset and i386nto_supply_fpregset. | |
3839 | (i386nto_regset_fill): Add REGCACHE parameter; use it instead | |
3840 | of current_regcache. | |
3841 | ||
3842 | * nto-procfs.c (procfs_fetch_registers): Pass current_regcache to | |
3843 | nto_supply_ helper functions. | |
3844 | (procfs_store_registers): Pass current_regcache to nto_regset_fill. | |
3845 | ||
3846 | * nto-tdep.c (nto_dummy_supply_regset): Add REGCACHE parameter. | |
3847 | ||
3848 | * nto-tdep.h (struct nto_target_ops): Add REGCACHE parameter to | |
3849 | supply_greget, supply_fpregset, supply_altregset, supply_regset, | |
3850 | and regset_fill member function pointers. | |
3851 | (nto_dummy_supply_regset): Adapt prototype. | |
3852 | ||
4e3269e3 UW |
3853 | 2007-05-06 Ulrich Weigand <[email protected]> |
3854 | ||
3855 | * shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it | |
3856 | instead of current_regcache. Make REGS const. | |
3857 | (shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache. | |
3858 | * shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update | |
3859 | prototypes. | |
3860 | * shnbsd-nat.c: Include "regcache.h". | |
3861 | (shnbsd_fetch_inferior_registers): Pass current_regcache to | |
3862 | shnbsd_supply_reg. | |
3863 | (shnbsd_store_inferior_registers): Pass current_regcache to | |
3864 | shnbsd_fill_reg. | |
3865 | * Makefile.in (shbsd-nat.o): Update dependencies. | |
3866 | ||
28f5035f UW |
3867 | 2007-05-06 Ulrich Weigand <[email protected]> |
3868 | ||
3869 | * mips-linux-tdep.c (supply_32bit_reg): Add REGCACHE parameter. Use it | |
3870 | instead of current_regcache. | |
3871 | (mips_supply_gregset): Likewise. Pass REGCACHE to supply_32bit_reg. | |
3872 | Make GREGSETP const, remove superfluous casts. | |
3873 | (mips_fill_gregset): Add REGCACHE parameter; replace current_regcache. | |
3874 | (mips_supply_fpregset): Likewise. Make FPREGSETP const, remove | |
3875 | superfluous casts. | |
3876 | (mips_fill_fpregset): Add REGCACHE parameter; replace current_regcache. | |
3877 | (supply_64bit_reg): Likewise | |
3878 | (mips64_supply_gregset): Likewise. Pass REGCACHE to supply_64bit_reg. | |
3879 | Make GREGSETP const, adapt casts accordingly. | |
3880 | (mips64_fill_gregset): Add REGCACHE parameter; replace current_regcache. | |
3881 | (mips64_supply_fpregset): Likewise. Make FPREGSET const, adapt | |
3882 | casts accordingly. | |
3883 | (mips64_fill_fpregset): Add REGCACHE parameter; replace current_regcache. | |
3884 | (fetch_core_registers): Pass current_regcache to mips{64}_(supply|fill)_ | |
3885 | helper routines. | |
3886 | * mips-linux-tdep.h (mips_supply_gregset, mips_fill_gregset, | |
3887 | mips_supply_fpregset, mips_fill_fpregset, mips64_supply_gregset, | |
3888 | mips64_fill_gregset, mips64_supply_fpregset, mips64_fill_fpregset): | |
3889 | Adapt prototypes. | |
3890 | * mips-linux-nat.c: Include "regcache.h". | |
3891 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass | |
3892 | current_regcache to mips{64}_(supply|fill)_ helper routines. | |
3893 | (mips64_linux_regsets_fetch_registers): Likewise. | |
3894 | (mips64_linux_regsets_store_registers): Likewise. | |
3895 | ||
3896 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): Add | |
3897 | REGCACHE argument; replace current_regcache. Make REGS const. | |
3898 | (mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Add REGCACHE argument; | |
3899 | replace current_regcache. | |
3900 | * mipsnbsd-tdep.h (ipsnbsd_supply_reg, mipsnbsd_supply_fpreg, | |
3901 | mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Adapt prototypes. | |
3902 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers, | |
3903 | mipsnbsd_store_inferior_registers): Pass current_regcache to | |
3904 | mipsnbsd_(supply|fill)_... helper routines. | |
3905 | ||
3906 | * Makefile.in (mips-linux-nat.o): Update dependencies. | |
3907 | ||
26144df5 UW |
3908 | 2007-05-06 Ulrich Weigand <[email protected]> |
3909 | ||
3910 | * i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove. | |
3911 | * i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes. | |
3912 | * i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace | |
3913 | i387_fill_fsave and i387_fill_fxsave calls by inline copies. | |
3914 | * i386-nto-tdep.c (i386nto_regset_fill): Likewise. | |
3915 | * i386gnu-nat.c (store_fpregs): Likewise. | |
3916 | * i386v4-nat.c (fill_fpregset): Likewise. | |
3917 | * go32-nat.c (store_register, go32_store_registers): Likewise. | |
3918 | ||
c6b4e5a2 UW |
3919 | 2007-05-06 Ulrich Weigand <[email protected]> |
3920 | ||
3921 | * cris-tdep.c (supply_gregset): Rename to ... | |
3922 | (cris_supply_gregset): ... this. Add REGCACHE parameter. Use it | |
3923 | instead of current_regcache. | |
3924 | (fetch_core_registers): Update call. Pass current_regcache. | |
3925 | ||
d683e2b7 UW |
3926 | 2007-05-06 Ulrich Weigand <[email protected]> |
3927 | ||
3928 | * arnmnbsd-nat.c (supply_gregset): Rename to ... | |
3929 | (arm_supply_gregset): ... this. Add REGCACHE parameter. | |
3930 | Use it instead of current_regcache. | |
3931 | (supply_fparegset): Rename to ... | |
3932 | (arm_supply_fparegset): ... this. Add REGCACHE parameter. | |
3933 | Use it instead of current_regcache. | |
3934 | (fetch_regs, fetch_fp_regs): Update calls. Pass current_regcache. | |
3935 | (fetch_core_registers, fetch_elfcore_registers): Likewise. | |
3936 | ||
390c1522 UW |
3937 | 2007-05-06 Ulrich Weigand <[email protected]> |
3938 | ||
3939 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs, | |
3940 | alpha_supply_fp_regs, alpha_fill_fp_regs): Add REGCACHE parameter, | |
3941 | use it instead of current_regcache. | |
3942 | * alpha-tdep.h (struct regcache): Add forward declaration. | |
3943 | (alpha_supply_int_regs, alpha_fill_int_regs, alpha_supply_fp_regs, | |
3944 | alpha_fill_fp_regs): Update prototypes. | |
3945 | ||
3946 | * alpha-nat.c: (supply_gregset, fill_gregset, supply_fpregset, | |
3947 | fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines. | |
3948 | * alpha-linux-nat.c: Include "regcache.h". | |
3949 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass | |
3950 | current_regcache to alpha_supply/fill_ routines. | |
3951 | ||
3952 | * alphabsd-tdep.c: Include "regcache.h". | |
3953 | (alphabsd_supply_reg, alphabsd_supply_fpreg): Add REGCACHE paramter, | |
3954 | pass it to alpha_supply_ routines. Make REGS const. | |
3955 | (alphabsd_fill_reg, alphabsd_fill_fpreg): Add REGCACHE parameter, | |
3956 | pass it to alpha_fill_ routines. | |
3957 | * alphabsd-tdep.h (struct regcache): Add forward declaration. | |
3958 | (alphabsd_supply_reg, alphabsd_fill_reg, alphabsd_supply_fpreg, | |
3959 | alphabsd_fill_fpreg): Update prototypes. | |
3960 | ||
3961 | * alphanbsd-nat.c (supply_gregset, fill_gregset, supply_fpregset, | |
3962 | fill_fpregset, alphabsd_fetch_inferior_registers, | |
3963 | alphabsd_store_inferior_registers): Pass current_regcache to | |
3964 | alphabsd_supply/fill_ routines. | |
3965 | ||
3966 | * Makefile.in (alpha-linux-nat.o, alphabsd-tdep.o): Update | |
3967 | dependencies. | |
3968 | ||
647478e0 UW |
3969 | 2007-05-06 Ulrich Weigand <[email protected]> |
3970 | ||
3971 | * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs, | |
3972 | supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it | |
3973 | instead of current_regcache. | |
3974 | (fetch_regs_user_thread, fetch_regs_kernel_thread): Add | |
3975 | REGCACHE parameter, pass it to supply_ routines. | |
3976 | (aix_thread_fetch_registers): Pass current_regcache to | |
3977 | fetch_regs_user_thread and fetch_regs_kernel_thread. | |
3978 | ||
3979 | (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32): | |
3980 | Add REGCACHE parameter, use it instead of current_regcache. | |
3981 | Call regcache_valid_p instead of register_cached. | |
3982 | (store_regs_user_thread, store_regs_kernel_thread): Likewise. | |
3983 | Also, pass REGCACHE to fill_ routines. | |
3984 | (aix_thread_store_registers): Pass current_regcache to | |
3985 | store_regs_user_thread and store_regs_kernel_thread. | |
3986 | ||
d817e083 UW |
3987 | 2007-05-06 Ulrich Weigand <[email protected]> |
3988 | ||
3989 | * m32r-linux-nat.c (supply_gregset): Do not modify contents | |
3990 | pointed to by GREGSETP. | |
3991 | ||
6a1872e4 UW |
3992 | 2007-05-06 Ulrich Weigand <[email protected]> |
3993 | ||
3994 | * irix5-nat.c (fill_gregset): Use regcache_raw_collect instead | |
3995 | of regcache_raw_read_signed. | |
3996 | (fill_fpregset): Use regcache_raw_collect instead of | |
3997 | regcache_raw_read. | |
3998 | ||
6da397e0 KB |
3999 | 2007-05-03 Kevin Buettner <[email protected]> |
4000 | ||
4001 | * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating | |
4002 | point arguments, test explicitly for use of the EABI32 ABI | |
4003 | instead of inferring this condition from tests on register | |
4004 | sizes. | |
4005 | ||
2219d63c KB |
4006 | 2007-05-03 Kevin Buettner <[email protected]> |
4007 | ||
4008 | * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address | |
4009 | prior to allocating its location. | |
4010 | ||
2afd3f0a MR |
4011 | 2007-05-02 Maciej W. Rozycki <[email protected]> |
4012 | ||
4013 | * mips-tdep.c (mips_o32_push_dummy_call): Remove conditions | |
4014 | based on mips_abi_regsize() whose result is known in advance. | |
4015 | (mips_o64_push_dummy_call): Likewise. | |
4016 | ||
3e00823e UW |
4017 | 2007-04-29 Ulrich Weigand <[email protected]> |
4018 | ||
4019 | * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check. | |
4020 | * m68k-tdep.c: Remove code within #ifdef USE_PROC_FS. | |
4021 | ||
4022 | * mips-linux-nat.c: Include "gregset.h". | |
4023 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move | |
4024 | from mips-linux-tdep.c. Change parameter type to gdb_gregset_t. | |
4025 | * mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset, | |
4026 | fill_fpregset): Move to mips-linux-nat.c. | |
4027 | ||
4028 | * Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies. | |
4029 | ||
81c4a259 UW |
4030 | 2007-04-28 Ulrich Weigand <[email protected]> |
4031 | ||
4032 | * regcache.c (deprecated_read_register_gen): Remove, inline ... | |
4033 | (read_register): ... here. | |
4034 | (deprecated_write_register_gen): Remove, inline ... | |
4035 | (write_register): ... here. | |
4036 | * regcache.h (deprecated_read_register_gen): Remove prototype. | |
4037 | (deprecated_write_register_gen): Likewise. | |
4038 | ||
4039 | * remote-sim.c (gdbsim_store_register): Replace call to | |
4040 | deprecated_read_register_gen with regcache_cooked_read. | |
4041 | * target.c (debug_print_register): Replace calls to | |
4042 | deprecated_read_register_gen and read_register with | |
4043 | regcache_cooked_read. | |
4044 | ||
8bb42077 UW |
4045 | 2007-04-28 Ulrich Weigand <[email protected]> |
4046 | ||
4047 | * hpux-thread.c (hpux_thread_store_registers): Use | |
4048 | regcache_raw_collect, not regcache_raw_read. | |
4049 | * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply, | |
4050 | not regcache_raw_write. | |
4051 | ||
6ed7ea50 UW |
4052 | 2007-04-28 Ulrich Weigand <[email protected]> |
4053 | ||
4054 | * gdbarch.sh: Remove deprecated_register_byte. | |
4055 | * gdbarch.c, gdbarch.h: Regenerate. | |
4056 | * arch-utils.h (generic_register_size, generic_register_byte): Remove. | |
4057 | * arch-utils.c (generic_register_size, generic_register_byte): Remove. | |
4058 | ||
4059 | * regcache.h (regcache_valid_p): Make REGCACHE parameter const. | |
4060 | * regcache.c (regcache_valid_p): Allow to query cooked registers in | |
4061 | read-only register caches. Make REGCACHE parameter const. | |
4062 | (regcache_dump): Do not check DEPRECATED_REGISTER_BYTE. | |
4063 | ||
4064 | * mi/mi-main.c (old_regs): Remove. | |
4065 | (mi_setup_architecture_data, _initialize_mi_main): Remove. | |
4066 | (register_changed_p): Reimplement to compare two register caches. | |
4067 | (mi_cmd_data_list_changed_registers): Update caller. | |
4068 | * mi/mi-main.h (mi_setup_architecture_data): Remove. | |
4069 | * mi/mi-interp.c (mi_interpreter_init): Do not call | |
4070 | mi_setup_architecture_data. | |
4071 | ||
efc72ef5 UW |
4072 | 2007-04-28 Ulrich Weigand <[email protected]> |
4073 | ||
4074 | * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define, | |
4075 | inline definition at the places the macros are used. | |
4076 | * alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise. | |
4077 | ||
7a61a01c UW |
4078 | 2007-04-28 Ulrich Weigand <[email protected]> |
4079 | ||
4080 | * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and | |
4081 | "gdb_string.h". | |
4082 | (rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables. | |
4083 | (rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions. | |
4084 | (rs6000_aix32_regset, rs6000_aix64_regset): New variables. | |
4085 | (rs6000_aix_regset_from_core_section): New function. | |
4086 | (rs6000_aix_init_osabi): Register it. | |
4087 | (_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and | |
4088 | sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000. | |
4089 | * rs6000-nat.c (CoreRegs): Do not define type. | |
4090 | (fetch_core_registers, rs6000_core_fns): Remove. | |
4091 | (_initialize_core_rs6000): Do not register it. Rename to ... | |
4092 | (_initialize_rs6000_nat): ... this. | |
4093 | * Makefile.in (rs6000-aix-tdep.o): Update dependencies. | |
4094 | ||
ace186d4 KB |
4095 | 2007-04-27 Kevin Buettner <[email protected]> |
4096 | ||
4097 | * dwarf2expr.c (unsigned_address_type): Add forward declaration. | |
4098 | (dwarf2_read_address): Sign extend return address as required by | |
4099 | target architecture. | |
4100 | ||
89a7ee67 KB |
4101 | 2007-04-27 Kevin Buettner <[email protected]> |
4102 | ||
4103 | * solib-frv.c (lm_base): Bail out if the main executable has | |
4104 | not been relocated. | |
4105 | ||
6afb1f32 UW |
4106 | 2007-04-27 Ulrich Weigand <[email protected]> |
4107 | ||
4108 | * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location | |
4109 | of FPCR register in fpregset. | |
4110 | ||
66a0218a MR |
4111 | 2007-04-27 Maciej W. Rozycki <[email protected]> |
4112 | ||
4113 | * Makefile.in (gdbtk-wrapper.o): Update dependencies. | |
4114 | (gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise. | |
4115 | ||
482f7fee UW |
4116 | 2007-04-27 Ulrich Weigand <[email protected]> |
4117 | ||
4118 | * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove. | |
4119 | * rs6000-nat.c (rs6000_wait): New function. | |
4120 | (_initialize_core_rs6000): Install it as to_wait target method. | |
4121 | * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS. | |
4122 | ||
1f480a5e UW |
4123 | 2007-04-27 Ulrich Weigand <[email protected]> |
4124 | ||
4125 | * config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove. | |
4126 | * fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK. | |
4127 | * rs6000-nat.c (super_create_inferior): New variable. | |
4128 | (rs6000_create_inferior): Make static. Adapt argument list. Call | |
4129 | original version of create_inferior via super_create_inferior. | |
4130 | (_initialize_core_rs6000): Install to_create_inferior target method. | |
4131 | ||
037a727e UW |
4132 | 2007-04-27 Ulrich Weigand <[email protected]> |
4133 | ||
4134 | * aix-thread.c (aix_thread_xfer_memory): Replace by ... | |
4135 | (aix_thread_xfer_partial): ... this. | |
4136 | (init_aix_thread_ops): Install to_xfer_partial instead | |
4137 | of deprecated_xfer_memory target method. | |
4138 | ||
4139 | * config/powerpc/aix.mh (NATDEPFILES): Remove infptrace.o | |
4140 | and inftarg.o, add inf-ptrace.o. | |
4141 | * config/rs6000/nm-rs6000.h (FETCH_INFERIOR_REGISTERS, | |
4142 | CHILD_XFER_MEMORY, KERNEL_U_SIZE, kernel_u_size): Remove. | |
4143 | * rs6000-nat.c: Include "inf-ptrace.h" and "gdb_stdint.h". | |
4144 | (fetch_inferior_registers): Rename to ... | |
4145 | (rs6000_fetch_inferior_registers): ... this. Make static. | |
4146 | (store_inferior_registers): Rename to ... | |
4147 | (rs6000_store_inferior_registers): ... this. Make static. | |
4148 | (read_word, child_xfer_memory): Remove. | |
4149 | (rs6000_xfer_partial): New function. | |
4150 | (kernel_u_size): Remove. | |
4151 | (_initialize_core_rs6000): Add inf_ptrace-based target. | |
4152 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
4153 | ||
f7dd0ed7 UW |
4154 | 2007-04-27 Ulrich Weigand <[email protected]> |
4155 | ||
4156 | * inf-ptrace.c: Include "gdb_stdint.h". | |
4157 | (inf_ptrace_xfer_partial): Use "uintptr_t" instead of "long" as | |
4158 | intermediate type when casting CORE_ADDR to PTRACE_TYPE_ARG3. | |
4159 | (inf_ptrace_fetch_register): Add intermediate cast to "uintptr_t" | |
4160 | before casting CORE_ADDR to PTRACE_TYPE_ARG3. | |
4161 | (inf_ptrace_store_register): Likewise. | |
4162 | * Makefile.in (inf-ptrace.o): Update dependencies. | |
4163 | ||
d9178763 UW |
4164 | 2007-04-27 Ulrich Weigand <[email protected]> |
4165 | ||
4166 | * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules. | |
4167 | * configure.tgt (rs6000-*-*): Likewise. | |
4168 | * config/rs6000/aix4.mh: Delete file. | |
4169 | * config/rs6000/aix4.mt: Delete file. | |
4170 | * config/rs6000/rs6000.mh: Delete file. | |
4171 | * config/rs6000/rs6000.mt: Delete file. | |
4172 | ||
4173 | * config/powerpc/nm-aix.h: Delete file. | |
4174 | * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h. | |
4175 | ||
0d16ee5d UW |
4176 | 2007-04-27 Ulrich Weigand <[email protected]> |
4177 | ||
4178 | * aix-thread.c (fill_sprs32): Change argument types to "uint32_t *". | |
4179 | Remove obsolete part of comment. | |
4180 | (store_regs_user_thread): Use uint32_t temporaries when calling | |
4181 | fill_sprs32. | |
4182 | (store_regs_kernel_thread): Likewise. Add assertion to verify | |
4183 | correct size of struct ptsprs members. | |
4184 | (aix_thread_xfer_memory): Fix type of myaddr. | |
4185 | (aix_thread_extra_thread_info): Fix compiler warning. | |
4186 | * rs6000-nat.c (rs6000_ptrace64): Change type of buf to "void *". | |
4187 | (fetch_register, store_register): Adapt callers. | |
4188 | ||
1e8877aa UW |
4189 | 2007-04-27 Ulrich Weigand <[email protected]> |
4190 | ||
4191 | * vec.h (vec_free): Rename to vec_free_. Adapt users. | |
4192 | ||
b02f9d57 UW |
4193 | 2007-04-25 Ulrich Weigand <[email protected]> |
4194 | ||
4195 | * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h", | |
4196 | and "regcache.h". | |
4197 | (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New. | |
4198 | (alpha_linux_gregset, alpha_linux_fpregset): New variables. | |
4199 | (alpha_linux_regset_from_core_section): New function. | |
4200 | (alpha_linux_init_abi): Install it. | |
4201 | * alpha-linux-nat.c: Do not include "gdbcore.h". Include | |
4202 | "alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>, | |
4203 | <sys/procfs.h>, and "gregset.h". | |
4204 | (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR): | |
4205 | Move from config/alpha/nm-linux.h. | |
4206 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy | |
4207 | from alpha-nat.c. | |
4208 | (alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c. | |
4209 | * alpha-nat.c: Remove #ifdef __linux__ section. | |
4210 | (fetch_elf_core_registers, alpha_elf_core_fns): Remove. | |
4211 | (_initialize_core_alpha): Do not register alpha_elf_core_fns. | |
4212 | (ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally. | |
4213 | (ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h. | |
4214 | * config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
4215 | (NATDEPFILES): Remove alpha-nat.o. | |
4216 | * config/alpha/nm-linux.h: Delete file. | |
4217 | * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c. | |
4218 | * Makefile.in (alpha-linux-nat.o): Update dependencies. | |
4219 | (alpha-linux-tdep.o): Likewise. | |
4220 | ||
dda0c97e UW |
4221 | 2007-04-25 Ulrich Weigand <[email protected]> |
4222 | ||
4223 | * mips-linux-nat.c: No longer include "gdbcore.h". | |
4224 | (mips_linux_register_addr): Move from mips-linux-tdep.c. | |
4225 | (mips64_linux_register_addr): Likewise. | |
4226 | (mips_linux_register_u_offset): Call mips_linux_register_addr or | |
4227 | mips64_linux_register_addr instead of register_addr. | |
4228 | * mips-linux-tdep.c (mips_linux_register_addr, | |
4229 | mips64_linux_register_addr): Move to mips-linux-nat.c. | |
4230 | (register_addr): Remove. | |
4231 | (register_addr_data, init_register_addr_data): Remove. | |
4232 | (_initialize_mips_linux_tdep): Do not initialize register_addr_data. | |
4233 | (set_mips_linux_register_addr): Remove. | |
4234 | (mips_linux_init_abi): Do not call set_mips_linux_register_addr. | |
4235 | * Makefile.in (mips-linux-nat.o): Update dependencies. | |
4236 | ||
910122bf UW |
4237 | 2007-04-25 Ulrich Weigand <[email protected]> |
4238 | ||
4239 | * linux-nat.c (linux_register_u_offset): Remove. | |
4240 | (linux_target_install_ops): New function. | |
4241 | (linux_target): Use it. | |
4242 | (linux_trad_target): New function. | |
4243 | * linux-nat.h (linux_trad_target): Declare. | |
4244 | ||
4245 | * alpha-linux-nat.c: Include "gdbcore.h". | |
4246 | (alpha_linux_register_u_offset): New function. | |
4247 | (_initialize_alpha_linux_nat): Use linux_trad_target. | |
4248 | ||
4249 | * mips-linux-nat.c: Include "gdbcore.h". | |
4250 | (mips_linux_register_u_offset): New function. | |
4251 | (_initialize_mips_linux_nat): Use linux_trad_target. | |
4252 | ||
4253 | * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
4254 | * config/arm/nm-linux.h: Delete file. | |
4255 | ||
4256 | * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove. | |
4257 | * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove. | |
4258 | ||
4259 | * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
4260 | * config/ia64/nm-linux.h: Delete file. | |
4261 | ||
4262 | * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
4263 | * config/m32r/nm-linux.h: Delete file. | |
4264 | ||
4265 | * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
4266 | * config/m68k/nm-linux.h: Delete file. | |
4267 | ||
4268 | * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
4269 | * config/pa/nm-linux.h: Delete file. | |
4270 | ||
4271 | * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
4272 | * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise. | |
4273 | * config/powerpc/nm-linux.h: Delete file. | |
4274 | ||
4275 | * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h. | |
4276 | * config/s390/nm-linux.h: Delete file. | |
4277 | ||
4278 | * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
4279 | * config/sparc/linux64.mh (NAT_FILE): Likewise. | |
4280 | * config/sparc/nm-linux.h: Delete file. | |
4281 | ||
4282 | * Makefile.in (alpha-linux-nat.o): Update dependencies. | |
4283 | (mips-linux-nat.o): Likewise. | |
4284 | ||
de732108 UW |
4285 | 2007-04-25 Ulrich Weigand <[email protected]> |
4286 | ||
4287 | * core-aout.c: Delete file. | |
4288 | * Makefile.in (ALLDEPFILES): Remove core-aout.c. | |
4289 | (core-aout.o): Delete rule. | |
4290 | * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove. | |
4291 | ||
4292 | * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove. | |
4293 | ||
4294 | * arm-linux-nat.c (arm_linux_kernel_u_size): Remove. | |
4295 | * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE, | |
4296 | KERNEL_U_ADDR): Remove. | |
4297 | ||
4298 | * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove. | |
4299 | (cannot_fetch_register, cannot_store_register): Remove. | |
4300 | (fetch_register): Inline cannot_fetch_register and register_addr. | |
4301 | (store_register): Inline cannot_store_register and register_addr. | |
4302 | * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o. | |
4303 | * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, | |
4304 | REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): | |
4305 | Remove. | |
4306 | ||
4307 | * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove. | |
4308 | (fetch_register): Inline register_addr. | |
4309 | (store_register): Inline register_addr. | |
4310 | * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o. | |
4311 | * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, | |
4312 | U_REGS_OFFSET, REGISTER_U_ADDR): Remove. | |
4313 | ||
4314 | * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove. | |
4315 | * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET, | |
4316 | REGISTER_U_ADDR): Remove. | |
4317 | ||
4318 | * hppa-linux-nat.c (register_addr): Rename to ... | |
4319 | (hppa_linux_register_addr): ... this. Make static. | |
4320 | (fetch_register, store_register): Adapt callers. | |
4321 | * config/pa/nm-linux.h (U_REGS_OFFSET): Remove. | |
4322 | ||
4323 | * ppc-linux-nat.c (kernel_u_size): Remove. | |
4324 | * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove. | |
4325 | ||
4326 | * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static. | |
4327 | * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o. | |
4328 | (NAT_FILE): Remove. | |
4329 | * config/vax/nm-vax.h: Delete file. | |
4330 | ||
1f90c757 MS |
4331 | 2007-04-20 Mark Shinwell <[email protected]> |
4332 | ||
4333 | * MAINTAINERS (Write After Approval): Add myself. | |
4334 | ||
bf1242a5 MS |
4335 | 2007-04-20 Mark Shinwell <[email protected]> |
4336 | ||
4337 | * Makefile.in: Adjust dependencies of m68klinux-tdep.c. | |
4338 | * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New. | |
4339 | (m68k_linux_sigcontext_reg_offset): Fix typo. | |
4340 | (target_is_uclinux): New. | |
4341 | (m68k_linux_inferior_created): New. | |
4342 | (m68k_linux_get_sigtramp_info): Check for uClinux or | |
4343 | normal Linux. Use m68k_uclinux_sigcontext_reg_offset for | |
4344 | uClinux. | |
4345 | (_initialize_m68k_linux_tdep): Register | |
4346 | m68k_linux_inferior_created. | |
4347 | ||
96998ce7 PA |
4348 | 2007-04-19 Pedro Alves <[email protected]> |
4349 | ||
4350 | * win32-nat.c (win32_detach): Remove delete_command call. | |
4351 | Resume inferior with win32_resume instead of win32_continue. | |
4352 | ||
7e71daaa JG |
4353 | 2007-04-19 Jerome Guitton <[email protected]> |
4354 | ||
4355 | * ser-mingw.c (fd_is_file): New function. | |
4356 | (file_select_thread): New function. | |
4357 | (ser_console_wait_handle): Add special handling for files. | |
4358 | ||
3d1f72c2 DP |
4359 | 2007-04-18 Denis Pilat <[email protected]> |
4360 | ||
4361 | * dwarf2read.c (read_subrange_type): Use DW_ATE_signed default type | |
4362 | when missing from DW_TAG_subrange_type. Remove the handling of null | |
4363 | return from die_type. | |
4364 | ||
9ecf7166 MR |
4365 | 2007-04-18 Maciej W. Rozycki <[email protected]> |
4366 | ||
4367 | * mips-tdep.c (mips_eabi_push_dummy_call): Revert the last | |
4368 | change to rearrange some brackets. | |
4369 | (mips_n32n64_push_dummy_call): Likewise. | |
4370 | (mips_o32_push_dummy_call): Likewise. | |
4371 | (mips_o64_push_dummy_call): Likewise. | |
4372 | ||
b79599ff DP |
4373 | 2007-04-18 Denis Pilat <[email protected]> |
4374 | ||
4375 | * infcmd.c (post_create_inferior): Start with a call to | |
3d1f72c2 | 4376 | target_terminal_ours. |
b79599ff | 4377 | |
06f9a1af MR |
4378 | 2007-04-17 Maciej W. Rozycki <[email protected]> |
4379 | ||
4380 | * mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some | |
4381 | brackets. | |
4382 | (mips_n32n64_push_dummy_call): Likewise. Reformat some | |
4383 | expressions. | |
4384 | (mips_o32_push_dummy_call): Likewise. | |
4385 | (mips_o64_push_dummy_call): Likewise. | |
4386 | ||
ad018eee MR |
4387 | 2007-04-17 Maciej W. Rozycki <[email protected]> |
4388 | ||
4389 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a | |
4390 | comment. | |
4391 | ||
e914cb17 MR |
4392 | 2007-04-17 Maciej W. Rozycki <[email protected]> |
4393 | ||
4394 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a | |
4395 | comment. | |
4396 | (mips_o32_push_dummy_call): Likewise. | |
4397 | ||
91934273 AS |
4398 | 2007-04-17 Andreas Schwab <[email protected]> |
4399 | ||
4400 | * symtab.c (skip_prologue_using_sal): Allow the end of the prologue | |
4401 | sal to be bigger than the end of the function. | |
4402 | ||
968b5391 MR |
4403 | 2007-04-17 Maciej W. Rozycki <[email protected]> |
4404 | Nigel Stephens <[email protected]> | |
4405 | ||
4406 | * mips-tdep.c (mips_o32_push_dummy_call): Take account of | |
4407 | argument alignment requirements when calculating stack space | |
4408 | required. When aligning an arg register to eight bytes | |
4409 | boundary, align stack_offset too. Write floating-point | |
4410 | arguments to the appropriate integer register if need go there. | |
4411 | (mips_o64_push_dummy_call): Likewise. | |
4412 | ||
e0cd558a UW |
4413 | 2007-04-14 Ulrich Weigand <[email protected]> |
4414 | ||
4415 | * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and | |
4416 | "sig" arguments, add "regcache" argument. | |
4417 | * gdbarch.c, gdbarch.h: Regenerate. | |
4418 | ||
4419 | * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments. | |
4420 | (handle_inferior_event): Call remove_single_step_breakpoints directly | |
4421 | instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints. | |
4422 | ||
4423 | * alpha-tdep.c (alpha_software_single_step): Update argument list. | |
4424 | Remove handling of !insert_breakpoints_p case. | |
4425 | * arm-tdep.c (arm_software_single_step): Likewise. | |
4426 | * cris-tdep.c (cris_software_single_step): Likewise. | |
4427 | * mips-tdep.c (mips_software_single_step): Likewise. | |
4428 | * rs6000-tdep.c (rs6000_software_single_step): Likewise. | |
4429 | * sparc-tdep.c (sparc_software_single_step): Likewise. | |
4430 | * spu-tdep.c (spu_software_single_step): Likewise. | |
4431 | ||
4432 | * alpha-tdep.h (alpha_software_single_step): Update prototype. | |
4433 | * mips-tdep.h (mips_software_single_step): Likewise. | |
4434 | * rs6000-tdep.h (rs6000_software_single_step): Likewise. | |
4435 | * sparc-tdep.h (sparc_software_single_step): Likewise. | |
4436 | ||
06a86285 UW |
4437 | 2007-04-14 Ulrich Weigand <[email protected]> |
4438 | ||
4439 | * alpha-tdep.c (alpha_software_single_step): Do not call write_pc | |
4440 | when removing single-step breakpoints. | |
4441 | ||
25d5ea92 VP |
4442 | 2007-04-14 Vladimir Prus <[email protected]> |
4443 | ||
4444 | * varobj.h (varobj_set_frozen): New | |
4445 | (varobj_get_frozen): New. | |
4446 | (varobj_update): New parameter explicit. | |
4447 | * varobj.c (struct varobj): New fields frozen | |
4448 | and not_fetched. | |
4449 | (varobj_set_frozen, varobj_get_frozen): New. | |
4450 | (install_new_value): Don't fetch values for | |
4451 | frozen variable object, or children thereof. Allow | |
4452 | a frozen variable object to have non-fetched value. | |
4453 | (varobj_update): Allow updating child variables. | |
4454 | Don't traverse frozen children. | |
4455 | (new_variable): Initialize the frozen field. | |
4456 | (c_value_of_variable): Return NULL for frozen | |
4457 | variable without any value yet. | |
4458 | * mi/mi-cmd-var.c (varobj_update_one): New parameter | |
4459 | 'explicit'. | |
4460 | (mi_cmd_var_create): Output the 'frozen' field, | |
4461 | as soon as testsuite is adjusted to expect that field. | |
4462 | (mi_cmd_var_set_frozen): New. | |
4463 | (mi_cmd_var_update): Pass the 'explicit' parameter to | |
4464 | varobj_update_one. | |
4465 | * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'. | |
4466 | * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare. | |
4467 | ||
6e3bbd1a PB |
4468 | 2007-04-13 Paul Brook <[email protected]> |
4469 | ||
4470 | * target-descriptions.c (tdesc_named_type): Add ieee_single and | |
4471 | ieee_double. | |
4472 | * doc/gdb.texinfo: Document ieee_single and ieee_double target types. | |
4473 | ||
ea35711c DJ |
4474 | 2007-04-13 Daniel Jacobowitz <[email protected]> |
4475 | ||
4476 | * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c, | |
4477 | remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h, | |
4478 | scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c, | |
4479 | ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete. | |
4480 | * Makefile.in: Remove references to deleted files. | |
4481 | * README: Do not mention deleted ROM monitor interfaces. | |
4482 | * defs.h (enum language): Delete language_scm. | |
4483 | * expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING. | |
4484 | (dump_subexp_body_standard): Likewise. | |
4485 | * parse.c (operator_length_standard): Likewise. | |
4486 | * expression.h (enum exp_opcode): Delete OP_EXPRSTRING. | |
4487 | * remote-mips.c: Do not include remote-utils.h. | |
4488 | * remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug | |
4489 | throughout. | |
4490 | * value.c: Do not include scm-lang.h. | |
4491 | (unpack_long): Delete scm_unpack call. | |
4492 | * config/h8300/h8300.mt, config/mips/embed.mt, | |
4493 | config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt, | |
4494 | config/sh/embed.mt, config/sh/linux.mt: Remove references to | |
4495 | deleted files. | |
4496 | * NEWS: Mention removed files. | |
4497 | ||
058b9c07 DJ |
4498 | 2007-04-13 Daniel Jacobowitz <[email protected]> |
4499 | ||
4500 | * symfile.c (add_psymbol_with_dem_name_to_list): Remove. | |
4501 | * symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype. | |
4502 | ||
54d61198 DJ |
4503 | 2007-04-13 Daniel Jacobowitz <[email protected]> |
4504 | ||
4505 | * NEWS: Mention removal of HP aCC support. | |
4506 | ||
e499d0f1 DJ |
4507 | 2007-04-13 Daniel Jacobowitz <[email protected]> |
4508 | ||
4509 | * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the | |
4510 | first entry for static executables. | |
4511 | (breakpoint_addr): Delete unused variable. | |
4512 | (elf_locate_base): Search for _r_debug in static executables. | |
4513 | (enable_break): Do not set breakpoint_addr. Scan solib_break_names | |
4514 | also. | |
4515 | ||
4d5b2cd7 DJ |
4516 | 2007-04-13 Daniel Jacobowitz <[email protected]> |
4517 | ||
4518 | * breakpoint.c (update_breakpoints_after_exec, print_it_typical) | |
4519 | (bpstat_what, print_one_breakpoint, allocate_bp_location) | |
4520 | (mention): Remove bp_through_sigtramp support. | |
4521 | * breakpoint.h (enum bptype): Remove bp_through_sigtramp. | |
4522 | ||
46d57086 DJ |
4523 | 2007-04-13 Daniel Jacobowitz <[email protected]> |
4524 | ||
4525 | * breakpoint.c (bpstat_what): Give step-resume higher priority than | |
4526 | shlib events. | |
4527 | ||
d3169d93 DJ |
4528 | 2007-04-13 Daniel Jacobowitz <[email protected]> |
4529 | ||
4530 | * infrun.c: Doc fixes. | |
4531 | (handle_inferior_event): Clarify debug message. | |
4532 | (insert_step_resume_breakpoint_at_sal): Print a debug message. | |
4533 | ||
8c9e4384 UW |
4534 | 2007-04-12 Ulrich Weigand <[email protected]> |
4535 | ||
4536 | * configure.tgt (arm-*-nto*, sh-*-nto*): Remove. | |
4537 | ||
9418f048 UW |
4538 | 2007-04-12 Ulrich Weigand <[email protected]> |
4539 | ||
4540 | * config/m68k/tm-monitor.h: Delete file. | |
4541 | * config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove. | |
4542 | * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break | |
4543 | call moved to ... | |
4544 | * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ... | |
4545 | * m68klinux-tdep.c (m68k_linux_init_abi): ... here. | |
4546 | ||
e6590a1b UW |
4547 | 2007-04-12 Luis Machado <[email protected]> |
4548 | ||
4549 | * gdbarch.sh (software_single_step): Change the return type | |
4550 | from void to int and reformatted some comments to <= 80 | |
4551 | columns. | |
4552 | * gdbarch.c, gdbarch.h: Regenerated. | |
4553 | * alpha-tdep.c (alpha_software_single_step): Likewise. | |
4554 | * alpha-tdep.h (alpha_software_single_step): Likewise. | |
4555 | * arm-tdep.c (arm_software_single_step): Likewise. | |
4556 | * cris-tdep.c (cris_software_single_step): Likewise. | |
4557 | * mips-tdep.c (mips_software_single_step): Likewise. | |
4558 | * mips-tdep.h (mips_software_single_step): Likewise. | |
4559 | * rs6000-tdep.c (rs6000_software_single_step): Likewise. | |
4560 | * rs6000-tdep.h (rs6000_software_single_step): Likewise. | |
4561 | * sparc-tdep.c (sparc_software_single_step): Likewise. | |
4562 | * sparc-tdep.h (sparc_software_single_step): Likewise. | |
4563 | * spu-tdep.c (spu_software_single_step): Likewise. | |
4564 | * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP | |
4565 | and act accordingly. | |
4566 | ||
58b38ee2 SE |
4567 | 2007-04-11 Steve Ellcey <[email protected]> |
4568 | ||
4569 | * configure.ac (build_warnings): Add -Wno-char-subscripts. | |
4570 | * configure: Regenerate. | |
4571 | * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts. | |
4572 | ||
70f575cc JK |
4573 | 2007-04-11 Jan Kratochvil <[email protected]> |
4574 | ||
4575 | * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'. | |
4576 | ||
d77b6808 JK |
4577 | 2007-04-11 Jan Kratochvil <[email protected]> |
4578 | ||
4579 | * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New | |
4580 | macros. | |
4581 | (TYPE_IS_OPAQUE): Empty vs. opaque structures are now | |
4582 | distinct on the TYPE_STUB_SUPPORTED debug targets. | |
4583 | * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED. | |
4584 | ||
b0b92586 JB |
4585 | 2007-04-11 Joel Brobecker <[email protected]> |
4586 | ||
4587 | * sparc-tdep.c (X_RS2): New macro. | |
4588 | (sparc_skip_stack_check): New function. | |
4589 | (sparc_analyze_prologue): Adjust PC past stack probing | |
4590 | sequence if necessary. | |
4591 | ||
a489f789 AS |
4592 | 2007-04-10 Andreas Schwab <[email protected]> |
4593 | ||
4594 | * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR | |
4595 | register. | |
4596 | ||
b0b13bb4 DJ |
4597 | 2007-04-10 Daniel Jacobowitz <[email protected]> |
4598 | ||
4599 | * breakpoint.c (gdb_breakpoint_query): Really return an | |
4600 | enum gdb_rc. | |
4601 | (gdb_breakpoint): Likewise. | |
3f11755e DJ |
4602 | * thread.c (gdb_list_thread_ids): Likewise. |
4603 | (gdb_thread_select): Likewise. | |
b0b13bb4 DJ |
4604 | * mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc. |
4605 | (mi_cmd_thread_list_ids): Remove bogus initialization. | |
4606 | ||
1a92f856 DJ |
4607 | 2007-04-10 Daniel Jacobowitz <[email protected]> |
4608 | ||
4609 | * Makefile.in (SFILES): Remove hpacc-abi.c. | |
4610 | (COMMON_OBS): Remove hpacc-abi.o. | |
4611 | (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE). | |
4612 | (hpacc-abi.o, hpread.o): Delete rules. | |
4613 | * somread.c: Delete extern declarations from hpread.c. | |
4614 | (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs. | |
4615 | (som_symfile_finish): Do not call hpread_symfile_finish. | |
4616 | (som_symfile_init): Do not call hpread_symfile_init. | |
4617 | * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o. | |
4618 | * config/pa/hppahpux.mt (TDEPFILES): Likewise. | |
4619 | * hpacc-abi.c, hpread.c: Deleted. | |
4620 | ||
542c95c2 DJ |
4621 | 2007-04-10 Daniel Jacobowitz <[email protected]> |
4622 | ||
4623 | * solib-svr4.c (enable_break): Simplify return value. | |
4624 | (svr4_solib_create_inferior_hook): Do not warn if enable_break fails. | |
4625 | ||
cfaefc65 AS |
4626 | 2007-04-10 Andreas Schwab <[email protected]> |
4627 | ||
4628 | * solib-svr4.h (struct link_map_offsets): Remove l_addr_size, | |
4629 | l_ld_size, l_next_size, l_prev_size, l_name_size. | |
4630 | ||
4631 | * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address | |
4632 | to extract addresses from link map. | |
4633 | (LM_DYNAMIC_FROM_LINK_MAP): Likewise. | |
4634 | (LM_NEXT): Likewise. | |
4635 | (LM_NAME): Likewise. | |
4636 | (IGNORE_FIRST_LINK_MAP_ENTRY): Likewise. | |
4637 | (elf_locate_base): Likewise. | |
4638 | (open_symbol_file_object): Likewise. | |
4639 | (svr4_fetch_objfile_link_map): Likewise. | |
4640 | (SOLIB_EXTRACT_ADDRESS): Remove unused macro. | |
4641 | (HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of | |
4642 | l_ld_size. | |
4643 | (svr4_ilp32_fetch_link_map_offsets): Don't set removed members. | |
4644 | (svr4_lp64_fetch_link_map_offsets): Likewise. | |
4645 | ||
4646 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set | |
4647 | removed members. Set l_ld_offset to -1 if not present. | |
4648 | ||
65cc4390 VP |
4649 | 2007-04-08 Vladimir Prus <[email protected]> |
4650 | ||
4651 | Pass stderr of program run with "target remote |" | |
4652 | via gdb_stderr. | |
4653 | * serial.c (serial_open): Set error_fd to -1. | |
4654 | * serial.h (struct serial): New field error_fd. | |
4655 | (struct serial_opts): New field avail. | |
4656 | * ser-pipe.c (pipe_open): Create another pair | |
4657 | of sockets. Pass stderr to gdb. | |
4658 | * ser-mingw.c (pipe_windows_open): Pass | |
4659 | PEX_STDERR_TO_PIPE to pex_run. Initialize | |
4660 | sd->error_fd. | |
4661 | (pipe_avail): New. | |
4662 | (_initialize_ser_windows): Hook pipe_avail. | |
4663 | * ser-base.c (generic_readchar): Check if there's | |
4664 | anything in stderr channel and route that to gdb_stderr. | |
4665 | ||
e9112110 PA |
4666 | 2007-04-03 Pedro Alves <[email protected]> |
4667 | ||
4668 | * dbxread.c (read_ofile_symtab): Move current_objfile | |
4669 | clearing to after end_stabs. | |
4670 | ||
7f68ac27 AS |
4671 | 2007-04-01 Andreas Schwab <[email protected]> |
4672 | ||
4673 | * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter | |
4674 | gdbarch instead of current_gdbarch. | |
4675 | ||
e55dccf0 VP |
4676 | 2007-04-01 Vladimir Prus <[email protected]> |
4677 | ||
4678 | * varobj.c (varobj_create): Keep varobj value | |
4679 | NULL when evaluating the type. | |
4680 | ||
7c963485 PA |
4681 | 2007-03-31 Pedro Alves <[email protected]> |
4682 | ||
4683 | * NEWS: Mention new Windows CE support. | |
4684 | ||
ad527d2e PA |
4685 | 2007-03-30 Pedro Alves <[email protected]> |
4686 | ||
4687 | * configure.tgt: Move mips*-*-pe and sh*-*-pe to | |
4688 | the obsoletion stanza. | |
4689 | * NEWS: Mention deleted targets. | |
4690 | ||
4691 | * config/sh/tm-wince.h: Remove. | |
4692 | * config/sh/wince.mt: Remove. | |
4693 | * config/mips/tm-wince.h: Remove. | |
4694 | * config/mips/wince.mt: Remove. | |
4695 | ||
4696 | * wince.c: Remove. | |
4697 | * wince-stub.c: Remove. | |
4698 | * wince-stub.h: Remove. | |
4699 | * Makefile.in (wince.o): Remove rule. | |
4700 | (wince-stub.o): Likewise. | |
4701 | ||
4702 | * mips-tdep.c (mips_next_pc): Make static. | |
4703 | * mips-tdep.h (mips_next_pc): Remove declaration. | |
4704 | * arm-tdep.c (arm_pc_is_thumb): Make static. | |
4705 | (thumb_get_next_pc): Likewise. | |
4706 | (arm_get_next_pc): Likewise. | |
4707 | * arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration. | |
4708 | (arm_pc_is_thumb): Likewise. | |
4709 | (thumb_get_next_pc): Likewise. | |
4710 | (arm_get_next_pc): Likewise. | |
4711 | ||
7ce59000 DJ |
4712 | 2007-03-30 Daniel Jacobowitz <[email protected]> |
4713 | ||
4714 | * MAINTAINERS: Remove d10v entry. | |
4715 | * Makefile.in (SFILES): Remove dwarfread.c. | |
4716 | (COMMON_OBS): Remove dwarfread.o. | |
4717 | (gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o) | |
4718 | (remote-est.o, rom68k-rom.o): Delete. | |
4719 | * NEWS: Mention removal of d10v, target abug, target cpu32bug, | |
4720 | target est, target rom68k, and DWARF 1. | |
4721 | * configure.tgt: Mark d10v as removed. | |
4722 | * dwarf2read.c: Doc update. | |
4723 | * elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset, | |
4724 | and lnsize. | |
4725 | (elf_locate_sections): Do not set them. | |
4726 | (elf_symfile_read): Do not call dwarf_build_psymtabs. | |
4727 | * symfile.h (dwarf_build_psymtabs): Delete prototype. | |
4728 | * config/m68k/monitor.mt (TDEPFILES): Prune. | |
4729 | * abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c, | |
4730 | remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete. | |
4731 | ||
20389057 DJ |
4732 | 2007-03-30 Daniel Jacobowitz <[email protected]> |
4733 | ||
4734 | * doublest.c (convert_floatformat_to_doublest): Use | |
4735 | floatformat_classify. | |
4736 | (floatformat_is_nan): Rename to... | |
4737 | (floatformat_classify): ...this. Return more information. | |
4738 | * doublest.h (enum float_kind): New. | |
4739 | (floatformat_is_nan): Replace prototype... | |
4740 | (floatformat_classify): ...with this one. | |
4741 | * valprint.c (print_floating): Use floatformat_classify. Handle | |
4742 | infinity. | |
4743 | ||
30b50213 DJ |
4744 | 2007-03-30 Daniel Jacobowitz <[email protected]> |
4745 | ||
4746 | * README: Mention ISO C library requirement. | |
4747 | ||
8807d78b DJ |
4748 | 2007-03-30 Daniel Jacobowitz <[email protected]> |
4749 | ||
4750 | * Makefile.in (SFILES): Remove nlmread.c. | |
4751 | (COMMON_OBS): Remove nlmread.o. | |
4752 | (nlmread.o): Delete rule. | |
4753 | * README: Delete reference to remote-st.c. | |
4754 | * acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete. | |
4755 | * defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and | |
4756 | GDB_OSABI_LYNXOS. | |
4757 | * i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete. | |
4758 | (_initialize_i386_tdep): Do not reference them. | |
4759 | * nlmread.c: Delete file. | |
4760 | * osabi.c (gdb_osabi_names): Remove NetWare and LynxOS. | |
4761 | * target.c: Doc update. | |
4762 | * thread.c: Delete commented include. | |
4763 | * config/alpha/tm-alpha.h: Doc update. | |
4764 | ||
ced572fe MR |
4765 | 2007-03-30 Chris Dearman <[email protected]> |
4766 | ||
4767 | * utils.c (string_to_core_addr): Comment typo. | |
4768 | ||
8a9fc081 MR |
4769 | 2007-03-30 Chris Dearman <[email protected]> |
4770 | ||
4771 | * mips-tdep.c: Comment typo. | |
4772 | ||
5f402660 UW |
4773 | 2007-03-29 Ulrich Weigand <[email protected]> |
4774 | ||
4775 | * config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove. | |
4776 | * config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove. | |
4777 | * config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove. | |
4778 | * config/powerpc/nm-ppc64-linux.h: Remove file. | |
4779 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h. | |
4780 | * inferior.h (PTRACE_ARG3_TYPE): Do not define. | |
4781 | (call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3. | |
4782 | * infptrace.c (call_ptrace): Likewise. | |
4783 | * m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define. | |
4784 | (fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3 | |
4785 | and PTRACE_XFER_TYPE by PTRACE_TYPE_RET. | |
4786 | (store_register): Likewise. | |
4787 | ||
bbf90c81 JB |
4788 | 2007-03-29 Joel Brobecker <[email protected]> |
4789 | ||
4790 | * Makefile.in (varobj.o): Add missing dependency. | |
4791 | ||
243c053b MS |
4792 | 2007-03-29 Michael Snyder <[email protected]> |
4793 | ||
4794 | * MAINTAINERS: Update my email address. | |
4795 | ||
0259addd JB |
4796 | 2007-03-29 Joel Brobecker <[email protected]> |
4797 | ||
4798 | Add support for exception handling with multiple versions of | |
4799 | the Ada runtime: | |
4800 | * ada-lang.c: Update general comments on how Ada exception catchpoints | |
4801 | are implemented. | |
4802 | (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name) | |
4803 | (__gnat_raise_nodefer_with_msg): Delete. | |
4804 | (ada_unhandled_exception_name_addr_ftype): New type. | |
4805 | (exception_support_info): New type. | |
4806 | (ada_unhandled_exception_name_addr): Add forward declaration. | |
4807 | (ada_unhandled_exception_name_addr_from_raise): Likewise. | |
4808 | (default_exception_support_info): New constant. | |
4809 | (exception_support_info_fallback): Likewise. | |
4810 | (exception_info): New global variable. | |
4811 | (ada_exception_support_info_sniffer): New function. | |
4812 | (ada_executable_changed_observer): Likewise. | |
4813 | (ada_unhandled_exception_name_addr_from_raise): Renamed from | |
4814 | ada_unhandled_exception_name_addr. | |
4815 | (ada_unhandled_exception_name_addr): Reimplement to match the | |
4816 | latest Ada runtime implementation. | |
4817 | (error_breakpoint_runtime_sym_not_found): Delete. | |
4818 | (ada_exception_sym_name): Get the exception sym name from | |
4819 | exception_info rather than hardcoding it. | |
4820 | (ada_exception_sal): Add call to ada_exception_support_info_sniffer. | |
4821 | Update error handling. | |
4822 | * Makefile.in (ada-lang.o): Add dependency on observer.h. | |
4823 | ||
483367ee DJ |
4824 | 2007-03-29 Daniel Jacobowitz <[email protected]> |
4825 | ||
4826 | * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o) | |
4827 | (remote-st.o, uw-thread.o): Delete. | |
4828 | (HFILES_NO_SRCDIR, ALLDEPFILES): Update. | |
4829 | * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*, | |
4830 | i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*, | |
4831 | i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*, | |
4832 | i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*, | |
4833 | i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and | |
4834 | rs6000-*-lynxos* to an obsoletion stanza. | |
4835 | * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*, | |
4836 | i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*, | |
4837 | and rs6000-*-lynxos* to an obsoletion stanza. Do not mention | |
4838 | i[34567]86-*-netware*. | |
4839 | * NEWS: Mention deleted targets. | |
4840 | ||
4841 | * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c, | |
4842 | uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh, | |
4843 | config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh, | |
4844 | config/i386/i386v4.mh, config/i386/i386v42mp.mh, | |
4845 | config/i386/ncr3000.mh, config/i386/ncr3000.mt, | |
4846 | config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h, | |
4847 | config/i386/nm-i386sco5.h, config/i386/nm-i386v.h, | |
4848 | config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h, | |
4849 | config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt, | |
4850 | config/m68k/tm-cisco.h, config/m68k/tm-os68k.h, | |
4851 | config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt, | |
4852 | config/rs6000/tm-rs6000ly.h: Delete files. | |
4853 | ||
3adda9d8 DJ |
4854 | 2007-03-29 Daniel Jacobowitz <[email protected]> |
4855 | ||
4856 | * defs.h (deprecated_registers_changed_hook): Delete declaration. | |
4857 | * interps.c (clear_interpreter_hooks): Do not clear | |
4858 | deprecated_registers_changed_hook. | |
4859 | * regcache.c (registers_changed): Do not call it. | |
4860 | * top.c (deprecated_registers_changed_hook): Do not define it. | |
4861 | * mi/mi-interp.c (mi_command_loop): Do not clear it. | |
4862 | * tui/tui-hooks.c (tui_install_hooks): Do not install it. | |
4863 | (tui_remove_hooks): Do not remove it. | |
4864 | (tui_selected_frame_level_changed_hook): Check for negative level. | |
4865 | Use get_selected_frame. | |
4866 | (tui_registers_changed_hook): Deleted. | |
4867 | ||
bf362611 JB |
4868 | 2007-03-29 Joel Brobecker <[email protected]> |
4869 | ||
4870 | * stabsread.c (add_undefined_type): Add extra parameter. | |
4871 | Now handles nameless types separately. | |
4872 | (struct nat): New type. | |
4873 | (noname_undefs, noname_undefs_allocated, noname_undefs_length): | |
4874 | New static variables. | |
4875 | (read_type): Update calls to add_undefined_type. | |
4876 | (add_undefined_type_noname): New function. | |
4877 | (add_undefined_type_1): Renames from add_undefined_type. | |
4878 | (cleanup_undefined_types_noname): New function. | |
4879 | (cleanup_undefined_types_1): Renames cleanup_undefined_types. | |
4880 | (cleanup_undefined_types): New handles nameless types separately. | |
4881 | (_initialize_stabsread): Initialize our new static constants. | |
4882 | ||
436868fb DP |
4883 | 2007-03-29 Denis Pilat <[email protected]> |
4884 | ||
4885 | * configure.ac: Test for signal.h. | |
4886 | * configure, config.in: Regenerate. | |
4887 | ||
aaf9e9fd DP |
4888 | 2007-03-29 Denis Pilat <[email protected]> |
4889 | ||
4890 | * stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output. | |
4891 | * infrun.c (normal_stop): Remove MI specific frame printing treatment. | |
4892 | ||
68070c10 PA |
4893 | 2007-03-29 Pedro Alves <[email protected]> |
4894 | ||
4895 | * arm-wince-tdep.c: New. | |
4896 | * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h. | |
4897 | (MT_CFLAGS): Delete. | |
4898 | (TM_CLIBS): Delete. | |
4899 | (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o, | |
4900 | solib-legacy.o, solib-svr4.o, and remove wince.o. | |
4901 | * configure.tgt (arm*-*-mingw32ce*): Add. | |
4902 | * signals/signals.c [HAVE_SIGNAL_H]: Check. | |
4903 | (do_target_signal_to_host): Silence 'not used' warning. | |
4904 | * config/arm/tm-wince.h: Remove. | |
4905 | ||
74174d2e UW |
4906 | 2007-03-28 Ulrich Weigand <[email protected]> |
4907 | ||
4908 | * arch-utils.c (legacy_pc_in_sigtramp): Remove. | |
4909 | * arch-utils.h (legacy_pc_in_sigtramp): Remove. | |
4910 | ||
4911 | * config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove. | |
4912 | * config/ia64/tm-linux.h: Remove file. | |
4913 | * ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback. | |
4914 | * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of | |
4915 | legacy_pc_in_sigtramp. | |
4916 | (ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp. | |
4917 | * ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static. | |
4918 | Remove func_name argument. | |
4919 | (ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp. | |
4920 | ||
4921 | * infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine. | |
4922 | * target.c (update_current_target): Add to_have_steppable_watchpoint. | |
4923 | * target.h (struct target_ops): Add to_have_steppable_watchpoint. | |
4924 | (HAVE_STEPPABLE_WATCHPOINT): Define. | |
4925 | ||
4926 | * config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o. | |
4927 | * config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET, | |
4928 | CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER, | |
4929 | TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT, | |
4930 | STOPPED_BY_WATCHPOINT, target_stopped_data_address, | |
4931 | target_insert_watchpoint, target_remove_watchpoint): Remove. | |
4932 | (FETCH_INFERIOR_REGISTERS): Define. | |
4933 | * ia64-linux-nat.c (ia64_register_addr): Make static. | |
4934 | (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise. | |
4935 | (ia64_linux_insert_watchpoint): Make static. Remove ptid_p argument. | |
4936 | (ia64_linux_remove_watchpoint): Likewise. Add type argument. | |
4937 | (ia64_linux_stopped_data_address): Make static. Add target_ops. | |
4938 | (ia64_linux_stopped_by_watchpoint): Make static. | |
4939 | (ia64_linux_can_use_hw_breakpoint): New function. | |
4940 | (ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise. | |
4941 | (ia64_linux_store_register, ia64_linux_store_registers): Likewise. | |
4942 | (_initialize_ia64_linux_nat): Install register and watchpoint ops. | |
4943 | ||
53c5240f PA |
4944 | 2007-03-28 Pedro Alves <[email protected]> |
4945 | ||
4946 | * linespec.c: Include language.h. | |
4947 | (find_methods): Add language parameter. Call | |
4948 | lookup_symbol_in_language. Pass language down. | |
4949 | (add_matching_methods): Likewise. Call | |
4950 | lookup_symbol_in_language. | |
4951 | (add_constructors): Likewise. | |
4952 | (find_method): Pass sym_class to collect_methods. | |
4953 | (collect_methods): Add sym_class parameter. Pass language | |
4954 | down. | |
4955 | * symtab.c (lookup_symbol): Rename to ... | |
4956 | (lookup_symbol_in_language): ... this. Add language | |
4957 | parameter. Use passed language instead of current_language. | |
4958 | (lookup_symbol): New as wrapper around | |
4959 | lookup_symbol_in_language. | |
4960 | (lookup_symbol_aux): Add language parameter. Use passed | |
4961 | language instead of current_language. | |
4962 | (search_symbols): Indent. | |
4963 | * symtab.h (enum language): Forward declare. | |
4964 | (lookup_symbol_in_language): Declare. | |
4965 | (lookup_symbol): Update description. | |
4966 | * ada-lang.h (lookup_symbol_in_language): Remove declaration. | |
4967 | * ada-lang.c (restore_language): Remove. | |
4968 | (lookup_symbol_in_language): Remove. | |
4969 | ||
8671a17b PA |
4970 | 2007-03-27 Pedro Alves <[email protected]> |
4971 | ||
4972 | * breakpoint.c (bpstat_num): Add int *num parameter. | |
4973 | * breakpoint.h (bpstat_num): Likewise. | |
4974 | * infcmd.c (continue_command): Adjust to new bpstat_num | |
4975 | interface. | |
4976 | (program_info): Likewise. | |
4977 | ||
214197f9 UW |
4978 | 2007-03-27 Ulrich Weigand <[email protected]> |
4979 | ||
4980 | * config/sh/tm-sh.h: Remove file. | |
4981 | * config/sh/embed.mt (DEPRECATED_TM_FILE): Remove. | |
4982 | * config/sh/linux.mt (DEPRECATED_TM_FILE): Remove. | |
4983 | * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
4984 | * config/sh/tm-wince.h: Do not include "sh/tm-sh.h". | |
4985 | ||
bac718a6 UW |
4986 | 2007-03-27 Ulrich Weigand <[email protected]> |
4987 | ||
4988 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT, | |
4989 | DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove. | |
4990 | * remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT, | |
4991 | DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT. | |
4992 | * sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint | |
4993 | sequence if target_shortname is "remote". | |
4994 | ||
de6a76fd DJ |
4995 | 2007-03-27 Anton Blanchard <[email protected]> |
4996 | ||
4997 | * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset | |
4998 | instead of wordsize when looking for the LR in a stack frame. | |
4999 | ||
4fc771b8 DJ |
5000 | 2007-03-27 Andreas Schwab <[email protected]> |
5001 | Daniel Jacobowitz <[email protected]> | |
5002 | ||
5003 | * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to... | |
5004 | (dwarf2_frame_adjust_regnum): ...this. Make static. Add eh_frame_p | |
5005 | argument. Update all callers. | |
5006 | (struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum. | |
5007 | (dwarf2_frame_set_eh_frame_regnum): Rename to... | |
5008 | (dwarf2_frame_set_adjust_regnum): ...this. Update argument type. | |
5009 | * dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to... | |
5010 | (dwarf2_frame_set_adjust_regnum): ...this. | |
5011 | (dwarf2_frame_eh_frame_regnum): Delete prototype. | |
5012 | * rs6000-tdep.c: Include "dwarf2-frame.h". | |
5013 | (rs6000_adjust_frame_regnum): Define. | |
5014 | (rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder. | |
5015 | Register rs6000_adjust_frame_regnum. | |
5016 | ||
5017 | * Makefile.in (rs6000-tdep.o): Update dependencies. | |
5018 | ||
9453113a DJ |
5019 | 2007-03-27 Brooks Moses <[email protected]> |
5020 | ||
5021 | * Makefile.in: Add support for a "pdf" target. | |
5022 | ||
d2449ee8 DJ |
5023 | 2007-03-27 Daniel Jacobowitz <[email protected]> |
5024 | ||
5025 | * amd64-tdep.c (amd64_init_frame_cache): New function. | |
5026 | (amd64_alloc_frame_cache, amd64_skip_prologue): Use it. | |
5027 | ||
a72d8a8e MR |
5028 | 2007-03-26 Nigel Stephens <[email protected]> |
5029 | Maciej W. Rozycki <[email protected]> | |
5030 | ||
5031 | * ui-out.c (ui_out_field_core_addr): Truncate address to | |
5032 | TARGET_ADDR_BIT size before printing. | |
5033 | ||
5200c3f3 | 5034 | 2007-03-22 Nigel Stephens <[email protected]> |
a72d8a8e | 5035 | Maciej W. Rozycki <[email protected]> |
5200c3f3 L |
5036 | |
5037 | * remote-mips.c (mips_xfer_memory): Update prototype. | |
5038 | ||
16708cba JB |
5039 | 2007-03-22 Joel Brobecker <[email protected]> |
5040 | ||
5041 | * symfile.h: #include "symtab.h" | |
5042 | ||
0fe514e3 DP |
5043 | 2007-03-22 Denis Pilat <[email protected]> |
5044 | ||
5045 | * utils.c (pagination_on_command, pagination_off_command): | |
5046 | Remove useless prototypes. | |
5047 | ||
4a52dc15 PM |
5048 | 2007-03-21 Pierre Muller <[email protected]> |
5049 | ||
5050 | Fix PR pascal/2232. | |
5051 | * p-valprint.c (pascal_object_print_value): Use type_name_no_tag | |
5052 | instead of TYPE_NAME for object base class name. | |
5053 | ||
5054 | ||
1c86fa97 KB |
5055 | 2007-03-19 Kevin Buettner <[email protected]> |
5056 | ||
5057 | * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id): | |
5058 | Specify frame type in calls to frame_func_unwind(). | |
5059 | ||
4e463ff5 DJ |
5060 | 2007-03-13 Daniel Jacobowitz <[email protected]> |
5061 | ||
5062 | * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal. | |
5063 | (rs6000_in_function_epilogue_p): Use extract_unsigned_integer. | |
5064 | (refine_prologue_limit): Delete. | |
5065 | (skip_prologue): Don't call it. Use extract_unsigned_integer. | |
5066 | Assume lim_pc is set. Correct check for incomplete prologues. | |
5067 | Do not skip clobbers of the frame pointer. | |
5068 | * symtab.c (skip_prologue_using_sal): Fail if there is only one | |
5069 | sal. | |
5070 | ||
348473d5 NF |
5071 | 2007-03-13 Nathan Froyd <[email protected]> |
5072 | ||
5073 | * frame.c (frame_pop): Check to see whether there's a frame to | |
5074 | which we can pop first. | |
5075 | ||
a2f9cf0d NF |
5076 | 2007-03-13 Nathan Froyd <[email protected]> |
5077 | ||
5078 | * MAINTAINERS (Write After Approval): Add myself. | |
5079 | ||
569631c6 UW |
5080 | 2007-03-09 Markus Deuling <[email protected]> |
5081 | ||
5082 | * infrun.c (breakpoints_failed): Remove unnecessary variable. | |
5083 | (handle_inferior_event): Remove unnecessary braces. | |
5084 | * breakpoint.c (bpstat_what): Remove wrong comment. | |
5085 | ||
fe5febed UW |
5086 | 2007-03-09 Ulrich Weigand <[email protected]> |
5087 | ||
5088 | * spu-tdep.c (spu_in_function_epilogue_p): New function. | |
5089 | (spu_gdbarch_init): Install it. | |
5090 | ||
9dea8ca2 UW |
5091 | 2007-03-08 Ulrich Weigand <[email protected]> |
5092 | ||
5093 | * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported | |
5094 | object types, not 0. | |
5095 | ||
7b3dc0b7 UW |
5096 | 2007-03-08 Ulrich Weigand <[email protected]> |
5097 | ||
5098 | * spu-tdep.c (spu_frame_align): New function. | |
5099 | (spu_gdbarch_init): Install it. Set call dummy location to ON_STACK. | |
5100 | ||
118dfbaf UW |
5101 | 2007-03-08 Ulrich Weigand <[email protected]> |
5102 | ||
5103 | * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit. | |
5104 | (spu_software_single_step): Likewise. | |
5105 | (spu_read_pc, spu_write_pc): New functions. | |
5106 | (spu_gdbarch_init): Install them. | |
5107 | ||
29e4017d UW |
5108 | 2007-03-08 Ulrich Weigand <[email protected]> |
5109 | ||
5110 | * cli/cli-dump.c (struct callback_data): load_offset needs to | |
5111 | have signed long type. | |
5112 | ||
6de5b849 JB |
5113 | 2007-03-07 Joel Brobecker <[email protected]> |
5114 | ||
5115 | * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer): | |
5116 | Revert the previous change that had some unexpected side-effects | |
5117 | on mips32. | |
5118 | (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper | |
5119 | function to get the address of the calling instruction. | |
5120 | ||
7490ba4f DP |
5121 | 2007-03-07 Denis Pilat <[email protected]> |
5122 | ||
5123 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace | |
5124 | get_selected_frame by deprecated_safe_get_selected_frame. | |
5125 | ||
861fb77c MK |
5126 | 2007-03-02 Mark Kettenis <[email protected]> |
5127 | ||
5128 | * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and | |
5129 | "gdb_string.h". Don't include "nbsd-tdep.h". | |
5130 | (SIZEOF_STRUCT_REG): Remove. | |
5131 | (SHNBSD_SIZEOF_GREGS): New. | |
5132 | (shnbsd_supply_gregset, shnbsd_collect_gregset) | |
5133 | (shnbsd_regset_from_core_section): New functions. | |
5134 | (fetch_core_registers, fetch_elfcore_registers): Remove functions. | |
5135 | (shnbsd_supply_reg, shnbsd_fill_reg): Simply call | |
5136 | shnbsd_supply_gregset, shnbsd_collect_gregset. | |
5137 | (shnbsd_gregset): New variable. | |
5138 | (shnbsd_init_abi): Set regset_from_core_section. | |
5139 | (GDB_OSABI_NETBSD_CORE): New define. | |
5140 | (shnbsd_core_osabi_sniffer): New function. | |
5141 | (_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer. | |
5142 | * Makefile.in (shnbsd-tdep.o): Update dependencies. | |
5143 | * config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove | |
5144 | nbsd-tdep.o. | |
5145 | * config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o. | |
5146 | ||
787cbe14 JB |
5147 | 2007-02-28 Joel Brobecker <[email protected]> |
5148 | ||
5149 | * gdbtypes.c (replace_type): Fix typo that caused us to not update | |
5150 | length of the types referenced by the new type CV ring. | |
5151 | ||
35f196d9 DJ |
5152 | 2007-02-28 Daniel Jacobowitz <[email protected]> |
5153 | ||
5154 | * frame.c (frame_pop, frame_observer_target_changed): Call | |
5155 | reinit_frame_cache. | |
5156 | (flush_cached_frames): Rename to reinit_frame_cache and delete | |
5157 | old implementation. | |
5158 | * frame.h (flush_cached_frames): Delete prototype and update comment. | |
5159 | ||
5160 | * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call | |
5161 | reinit_frame_cache instead of flush_cached_frames. Do not call | |
5162 | select_frame after reinit_frame_cache. | |
5163 | * corelow.c (core_open): Likewise. | |
5164 | * gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise. | |
5165 | * infrun.c (prepare_to_proceed, context_switch) | |
5166 | (handle_inferior_event): Likewise. | |
5167 | * linux-fork.c (fork_load_infrun_state): Likewise. | |
5168 | * ocd.c (ocd_start_remote): Likewise. | |
5169 | * remote-e7000.c (e7000_start_remote): Likewise. | |
5170 | * remote-mips.c (device): Likewise. | |
5171 | * thread.c (switch_to_thread): Likewise. | |
5172 | * tracepoint.c (finish_tfind_command): Likewise. | |
5173 | * gdbarch.c: Regenerated. | |
5174 | ||
c26f2453 JB |
5175 | 2007-02-28 Jerome Guitton <[email protected]> |
5176 | Joel Brobecker <[email protected]> | |
5177 | ||
5178 | * gdbtypes.c (check_typedef): Do not replace stub type if | |
5179 | the resolved type is not defined in the same objfile. | |
5180 | ||
7d900f1a DJ |
5181 | 2007-02-28 Daniel Jacobowitz <[email protected]> |
5182 | ||
5183 | * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion. | |
5184 | ||
76038652 | 5185 | 2007-02-28 Joel Brobecker <[email protected]> |
52eea4ce JB |
5186 | |
5187 | * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN | |
5188 | symbol for Ada units when the symbol is defined using 't' rather | |
5189 | than 'Tt' as symbol descriptor. | |
5190 | ||
d74fb156 | 5191 | 2007-02-28 Ulrich Weigand <[email protected]> |
1344afe0 UW |
5192 | |
5193 | * config/mips/tm-nbsd.h: Delete file. | |
5194 | * config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
5195 | * config/sh/tm-nbsd.h: Delete file. | |
5196 | * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h. | |
5197 | ||
f8d225db JB |
5198 | 2007-02-28 Joel Brobecker <[email protected]> |
5199 | ||
5200 | * mi/mi-cmd-var.c (varobj_update_one): Remove reference to | |
5201 | unused WRONG_PARAM value since it was recently deleted. | |
5202 | ||
1bbfb19a NR |
5203 | 2007-02-28 Vladimir Prus <[email protected]> |
5204 | ||
5205 | * varobj.c (varobj_update): Free temporary vectors. | |
5206 | ||
6f7f3f0d UW |
5207 | 2007-02-28 Ulrich Weigand <[email protected]> |
5208 | ||
5209 | * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h. | |
5210 | * config/powerpc/tm-linux.h: Delete file. | |
5211 | * config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h". | |
5212 | (PROCESS_LINENUMBER_HOOK): Do not undefine. | |
5213 | (TEXT_SEGMENT_BASE): Do not redefine. | |
5214 | * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here | |
5215 | from config/rs6000/tm-rs6000.h. | |
5216 | (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise. | |
5217 | * config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration. | |
5218 | (TEXT_SEGMENT_BASE): Remove. | |
5219 | (IN_SOLIB_RETURN_TRAMPOLINE): Remove. | |
5220 | (rs6000_in_solib_return_trampoline): Remove. | |
5221 | (SKIP_TRAMPOLINE_CODE): Remove. | |
5222 | (rs6000_skip_trampoline_code): Remove. | |
5223 | (CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h. | |
5224 | (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise. | |
5225 | (FP0_REGNUM): Remove. | |
5226 | (rs6000_find_toc_address_hook): Move to rs6000-tdep.h. | |
5227 | (rs6000_set_host_arch_hook): Remove. | |
5228 | * Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h). | |
5229 | (rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h). | |
5230 | * ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base. | |
5231 | * rs6000-aix-tdep.c: Include "ppc-tdep.h". | |
5232 | (rs6000_aix_init_osabi): Set text_segment_base tdep field. | |
5233 | * rs6000-nat.c: Include "rs6000-tdep.h". | |
5234 | (exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field. | |
5235 | (set_host_arch): Rename to ... | |
5236 | (rs6000_create_inferior): ... this. Make public. | |
5237 | (_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook. | |
5238 | * rs6000-tdep.c (rs6000_set_host_arch_hook): Remove. | |
5239 | (rs6000_create_inferior): Remove. | |
5240 | (branch_dest): Replace TEXT_SEGMENT_BASE by tdep field. | |
5241 | (rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum, | |
5242 | set_gdbarch_in_solib_return_trampoline, and | |
5243 | set_gdbarch_skip_trampoline_code. | |
5244 | * rs6000-tdep.h (rs6000_find_toc_address_hook): Move here | |
5245 | from config/rs6000/tm-rs6000.h. | |
5246 | ||
63050a44 | 5247 | 2007-02-27 Joel Brobecker <[email protected]> |
05279ca0 JB |
5248 | |
5249 | * buildsym.c (record_producer): Do nothing if no producer is provided. | |
5250 | ||
63050a44 | 5251 | 2007-02-27 Nick Roberts <[email protected]> |
e0b75a46 NR |
5252 | |
5253 | * varobj.c (varobj_update): Remove unused local. Use gdb_assert | |
5254 | to check changelist is non-NULL. Call error if the frontend tries | |
5255 | to update a non-root variable. | |
5256 | ||
5257 | * varobj.h (enum varobj_update_error): Delete WRONG_PARAM value. | |
5258 | ||
93d42b30 DJ |
5259 | 2007-02-27 Daniel Jacobowitz <[email protected]> |
5260 | ||
5261 | * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id) | |
5262 | (dwarf2_frame_sniffer): Update. | |
5263 | (dwarf2_signal_frame_this_id): New function. | |
5264 | (dwarf2_signal_frame_unwind): Use it. | |
5265 | (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block. | |
5266 | * frame.c (frame_func_unwind): Add this_type argument. | |
5267 | (get_frame_func): Update. | |
5268 | (frame_unwind_address_in_block): Add this_type argument and check it. | |
5269 | Fix a typo. | |
5270 | (get_frame_address_in_block): Update. | |
5271 | * frame.h (enum frame_type): Move higher in the file. | |
5272 | (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type | |
5273 | argument. | |
5274 | ||
5275 | * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c, | |
5276 | arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c, | |
5277 | hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c, | |
5278 | libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c, | |
5279 | m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c, | |
5280 | mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c, | |
5281 | score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c, | |
5282 | sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c, | |
5283 | xstormy16-tdep.c, xtensa-tdep.c: Update calls to | |
5284 | frame_func_unwind and frame_unwind_address_in_block to specify | |
5285 | the frame type. Use frame_unwind_address_in_block instead of | |
5286 | frame_pc_unwind in sniffers. | |
5287 | ||
206415a3 DJ |
5288 | 2007-02-27 Daniel Jacobowitz <[email protected]> |
5289 | ||
5290 | * frame.c (deprecated_selected_frame): Rename to... | |
5291 | (selected_frame): ...this. Make static. | |
5292 | (get_selected_frame, select_frame): Update. | |
5293 | * frame.h (deprected_select_frame): Delete. | |
5294 | (deprecated_safe_get_selected_frame): Update comments. | |
5295 | ||
5296 | * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c, | |
5297 | infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c, | |
5298 | tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c, | |
5299 | parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c, | |
5300 | tui/tui.c: Replace references to deprecated_selected_frame. | |
5301 | ||
7313566f FF |
5302 | 2007-02-27 Fred Fish <[email protected]> |
5303 | ||
5304 | * rs6000-tdep.c (skip_prologue): Recognize addi instructions that | |
5305 | directly decrement the stack pointer, accumulate their operand into | |
5306 | the stack offset, and mark the function as not being frameless. | |
5307 | ||
b6d373df DJ |
5308 | 2007-02-26 Daniel Jacobowitz <[email protected]> |
5309 | ||
5310 | * arch-utils.c (selected_byte_order): New. | |
5311 | * arch-utils.h (selected_byte_order): New prototype. | |
5312 | * remote-sim.c (gdbsim_open): Use selected_byte_order. | |
5313 | ||
2711e456 DJ |
5314 | 2007-02-26 Daniel Jacobowitz <[email protected]> |
5315 | ||
5316 | * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA. | |
5317 | (default_symfile_offsets): Check VMA here. Update section VMAs. | |
5318 | ||
baef701f DJ |
5319 | 2007-02-26 Daniel Jacobowitz <[email protected]> |
5320 | ||
5321 | * remote.c (init_remote_state): Add special handling for placeholder | |
5322 | registers. | |
5323 | ||
05a4558a DJ |
5324 | 2007-02-26 Daniel Jacobowitz <[email protected]> |
5325 | ||
5326 | * Makefile.in (XMLFILES): Include $(TDEP_XML). | |
5327 | (filenames_h): New variable. | |
5328 | (clean): Clean up xml-builtin.c and stamp-xml. | |
5329 | (arm-linux-nat.o): Update. | |
5330 | * config/arm/linux.mh (TDEP_XML): Define. | |
5331 | * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. | |
5332 | (arm_linux_has_wmmx_registers): New. | |
5333 | (GET_THREAD_ID): Fix typo. | |
5334 | (IWMMXT_REGS_SIZE): Define. | |
5335 | (fetch_wmmx_regs, store_wmmx_regs): New. | |
5336 | (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs. | |
5337 | (arm_linux_store_inferior_registers): Use store_wmmx_regs. | |
5338 | (super_xfer_partial, arm_linux_xfer_partial): New. | |
5339 | (_initialize_arm_linux_nat): Use them. | |
5340 | * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT. | |
5341 | (xml_builtin_xfer_partial): New function. | |
5342 | * xml-support.h (xml_builtin_xfer_partial): New prototype. | |
5343 | * NEWS: Update mention of iWMMXt support. | |
5344 | ||
ff6f572f DJ |
5345 | 2007-02-26 Daniel Jacobowitz <[email protected]> |
5346 | ||
5347 | * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves | |
5348 | if there are no FPA registers. | |
5349 | (arm_dwarf_reg_to_regnum): New function. | |
5350 | (arm_register_type, arm_register_name): Return minimal values for | |
5351 | unsupported registers. | |
5352 | (arm_register_sim_regno): Handle iWMMXt registers. | |
5353 | (arm_gdbarch_init): Record missing FPA registers if indicated by | |
5354 | a target description. Recognize iWMMXt registers. Only register | |
5355 | "info float" for FPA. Use ARM_NUM_REGS. Register | |
5356 | arm_dwarf_reg_to_regnum. | |
5357 | * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt | |
5358 | constants. | |
5359 | (struct gdbarch_tdep): Add have_fpa_registers. | |
5360 | * features/xscale-iwmmxt.xml: Update capitalization. | |
5361 | * regformats/arm-with-iwmmxt.dat: Regenerated. | |
5362 | ||
c077150c KB |
5363 | 2007-02-24 Kevin Buettner <[email protected]> |
5364 | ||
5365 | * NEWS (New targets): Add entry for the Toshiba Media Processor. | |
5366 | ||
01c996c1 KB |
5367 | 2007-02-23 Kevin Buettner <[email protected]> |
5368 | ||
5369 | * MAINTAINERS (mep): New target. | |
5370 | ||
aeb43123 KB |
5371 | 2007-02-23 Kevin Buettner <[email protected]> |
5372 | ||
5373 | From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and | |
5374 | Richard Sandiford: | |
5375 | * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables. | |
5376 | (mep-tdep.o): New rule. | |
5377 | * configure.tgt (mep-*-*): New target. | |
5378 | * mep-tdep.c: New file. | |
5379 | * config/mep/mep.mt: New file. | |
5380 | ||
115d86cf UW |
5381 | 2007-02-22 Markus Deuling <[email protected]> |
5382 | ||
5383 | * infrun.c (inferior_stop_reason, print_stop_reason): Remove | |
5384 | BREAKPOINT_HIT and STOP_UNKNOWN. | |
5385 | ||
fef862e5 UW |
5386 | 2007-02-22 Markus Deuling <[email protected]> |
5387 | ||
5388 | * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT. | |
5389 | ||
9a7d5afb JB |
5390 | 2007-02-20 Joel Brobecker <[email protected]> |
5391 | ||
5392 | * gdb_expat.h (XMLCALL): Define if not already defined. | |
5393 | ||
81de920d AS |
5394 | 2007-02-20 Andreas Schwab <[email protected]> |
5395 | ||
5396 | * Makefile.in (symfile.o): Update dependencies. | |
5397 | ||
cb5c8c39 DJ |
5398 | 2007-02-20 Daniel Jacobowitz <[email protected]> |
5399 | ||
5400 | * MAINTAINERS: Disable -Werror for cris simulator. Build | |
5401 | sparc64-solaris2.10 instead of the broken sparc-elf. | |
5402 | * solib-frv.c: Include "solib.h". | |
5403 | * Makefile.in (solib-frv.o): Update. | |
5404 | * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch. | |
5405 | * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int. | |
5406 | (xtensa_frame_this_id, xtensa_frame_prev_register) | |
5407 | (xtensa_push_dummy_call): Use %p. | |
5408 | ||
e6bb342a DJ |
5409 | 2007-02-16 Daniel Jacobowitz <[email protected]> |
5410 | ||
5411 | * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, | |
5412 | ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c, | |
5413 | sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". | |
5414 | * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o) | |
5415 | (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o) | |
5416 | (sparc-linux-tdep.o): Update. | |
5417 | ||
ff7a4c00 MG |
5418 | 2007-02-15 Maxim Grigoriev <[email protected]> |
5419 | ||
5420 | * xtensa-tdep.h (xtensa_reg_mask_t): New. | |
5421 | (xtensa_mask_t): Change mask field to be a separate array. | |
5422 | * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read) | |
5423 | (xtensa_pseudo_register_write, xtensa_unwind_pc) | |
5424 | (xtensa_unwind_dummy_id, xtensa_push_dummy_call) | |
5425 | (xtensa_breakpoint_from_pc): Remove implicit type casting. | |
5426 | * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5) | |
5427 | (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13) | |
5428 | (mask14, mask15): Rename to | |
5429 | (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3) | |
5430 | (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7) | |
5431 | (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11) | |
5432 | (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this. | |
5433 | (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3) | |
5434 | (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7) | |
5435 | (xtensa_submask8, xtensa_submask9, xtensa_submask10) | |
5436 | (xtensa_submask11, xtensa_submask12, xtensa_submask13) | |
5437 | (xtensa_submask14, xtensa_submask15): New. | |
5438 | (rmap): Follow strict aliasing rules doing static initialization. | |
5439 | ||
d9cc5895 DJ |
5440 | 2007-02-13 Daniel Jacobowitz <[email protected]> |
5441 | ||
5442 | * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr | |
5443 | handling from here... | |
5444 | (tdesc_register_type): ...to here. | |
5445 | * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr. | |
5446 | * features/arm-core.xml: Use code_ptr and data_ptr. | |
5447 | ||
8756216b DP |
5448 | 2007-02-13 Denis Pilat <[email protected]> |
5449 | ||
5450 | * varobj.h (enum varobj_update_error): New enum. | |
5451 | * varobj.c (struct varobj_root): Add is_valid member. | |
5452 | (varobj_get_type): Check for invalid varobj. | |
5453 | (varobj_get_attributes): Likewise. | |
5454 | (variable_editable):Likewise. | |
5455 | (varobj_update): Likewise. Use varobj_update_error. | |
5456 | (new_root_variable): Set root varobj as valid by default. | |
5457 | (varobj_invalidate): New function. | |
5458 | * symfile.c (clear_symtab_users): Use varobj_invalidate. | |
5459 | * mi/mi-cmd-var.c (varobj_update_one): Change return type to void. | |
5460 | Use varobj_update_error. | |
5461 | ||
fe8e67fd PM |
5462 | 2007-02-12 Pierre Muller <[email protected]> |
5463 | ||
5464 | Fix PR pascal/2223. | |
5465 | * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as | |
5466 | Pascal language marker. | |
5467 | * dwarf2read.c (set_cu_language): Likewise. | |
5468 | ||
c44537cf CV |
5469 | 2007-02-12 Corinna Vinschen <[email protected]> |
5470 | ||
5471 | * win32-nat.c (win32_wait): Reset terminal pgrp to GDB. | |
5472 | (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp | |
5473 | instead of target_terminal_init since inferior_ptid isn't set yet. | |
5474 | ||
20dad8ea PA |
5475 | 2007-02-10 Pedro Alves <[email protected]> |
5476 | ||
5477 | * MAINTAINERS (Write After Approval): Add myself. | |
5478 | ||
4ac94eda FF |
5479 | 2007-02-09 Fred Fish <[email protected]> |
5480 | ||
5481 | Based on work by Apple Computer, Inc. | |
5482 | * event-top.c (async_request_quit): Call quit() whenever either | |
5483 | quit_flag is set or immediate_quit is set. | |
5484 | ||
b260b6c1 GDR |
5485 | 2007-02-09 Gabriel Dos Reis <[email protected]> |
5486 | ||
5487 | * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's | |
5488 | type to a pointer to const struct block. | |
5489 | (ada_lookup_symbol_list): Don't cast away constness when calling | |
5490 | remove_out_of_scope_renamings. | |
5491 | ||
5492 | 2007-02-09 Gabriel Dos Reis <[email protected]> | |
5493 | ||
5494 | * linux-nat.c (linux_nat_find_memory_regions): Don't check the | |
5495 | address of 'filename'; it is always non null. | |
5496 | ||
0f5d55d8 JB |
5497 | 2007-02-09 Joel Brobecker <[email protected]> |
5498 | ||
5499 | * exec.c (add_to_section_table): Do not discard empty sections. | |
5500 | ||
fb1e4ffc DJ |
5501 | 2007-02-08 Daniel Jacobowitz <[email protected]> |
5502 | ||
5503 | * features/Makefile, features/arm-with-iwmmxt.xml, | |
5504 | features/gdbserver-regs.xsl, features/number-regs.xsl, | |
5505 | features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files. | |
5506 | * regformats/arm-with-iwmmxt.dat: Generate. | |
5507 | * NEWS: Mention iWMMXt. | |
5508 | ||
123dc839 DJ |
5509 | 2007-02-08 Daniel Jacobowitz <[email protected]> |
5510 | ||
5511 | * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o) | |
5512 | (xml-tdesc.o): Update. | |
5513 | * xml-support.c: Add a comment. | |
5514 | (gdb_xml_enums_boolean): New variable. | |
5515 | (gdb_xml_parse_attr_enum): Use strcasecmp. | |
5516 | * xml-support.h (gdb_xml_enums_boolean): Declare. | |
5517 | * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature, | |
5518 | next_regnum, and current_union. | |
5519 | (tdesc_start_feature, tdesc_start_reg, tdesc_start_union) | |
5520 | (tdesc_end_union, tdesc_start_field, tdesc_start_vector) | |
5521 | (field_attributes, union_children, reg_attributes, union_attributes) | |
5522 | (vector_attributes, feature_attributes, feature_children): New. | |
5523 | (target_children): Make static. Add <feature>. | |
5524 | (tdesc_elements): Make static. | |
5525 | * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p) | |
5526 | (struct tdesc_feature, tdesc_feature_p): New types. | |
5527 | (struct target_desc): Add features member. | |
5528 | (struct tdesc_arch_data, tdesc_data): New. | |
5529 | (target_find_description): Clarify error message. Warn about | |
5530 | ignored register descriptions. | |
5531 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) | |
5532 | (tdesc_named_type, tdesc_data_init, tdesc_data_alloc) | |
5533 | (tdesc_data_cleanup, tdesc_numbered_register) | |
5534 | (tdesc_numbered_register_choices, tdesc_find_register) | |
5535 | (tdesc_register_name, tdesc_register_type) | |
5536 | (tdesc_remote_register_number, tdesc_register_reggroup_p) | |
5537 | (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type) | |
5538 | (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers) | |
5539 | (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature) | |
5540 | (tdesc_create_feature, tdesc_record_type): New. | |
5541 | (free_target_description): Free features. | |
5542 | (_initialize_target_descriptions): Initialize tdesc_data. | |
5543 | * arch-utils.c (default_remote_register_number): New. | |
5544 | * arch-utils.h (default_remote_register_number): New prototype. | |
5545 | * target-descriptions.h (set_tdesc_pseudo_register_name) | |
5546 | (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p) | |
5547 | (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup) | |
5548 | (tdesc_numbered_register, tdesc_numbered_register_choices) | |
5549 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) | |
5550 | (tdesc_named_type, tdesc_create_feature, tdesc_record_type) | |
5551 | (tdesc_create_reg): Declare. | |
5552 | * gdbarch.sh (remote_register_number): New entry. | |
5553 | * gdbarch.c, gdbarch.h: Regenerate. | |
5554 | * remote.c (init_remote_state): Use gdbarch_remote_register_number. | |
5555 | * features/gdb-target.dtd: Add feature, reg, vector, union, and field. | |
5556 | ||
5557 | * arm-tdep.c (arm_register_aliases): New. | |
5558 | (arm_register_name_strings): Rename to... | |
5559 | (arm_register_names): ...this. Make const. Delete the old version. | |
5560 | (current_option, arm_register_byte): Delete. | |
5561 | (set_disassembly_style): Simplify. Do not adjust arm_register_names. | |
5562 | (value_of_arm_user_reg): New. | |
5563 | (arm_gdbarch_init): Verify any described registers. Call | |
5564 | tdesc_use_registers. Don't use arm_register_byte. Create aliases | |
5565 | for standard register names. | |
5566 | (_initialize_arm_tdep): Do not adjust arm_register_names. | |
5567 | * user-regs.c (struct user_reg): Add baton member. | |
5568 | (append_user_reg, user_reg_add_builtin, user_regs_init) | |
5569 | (user_reg_add, value_of_user_reg): Use a baton for user | |
5570 | register functions. | |
5571 | * std-regs.c: Update. | |
5572 | * user-regs.h (user_reg_read_ftype, user_reg_add_builtin) | |
5573 | (user_reg_add): Add baton argument. | |
5574 | * NEWS: Mention target description register support. | |
5575 | * features/arm-core.xml, features/arm-fpa.xml: New. | |
5576 | * eval.c (evaluate_subexp_standard): Allow ptype $register | |
5577 | when the program is not running. | |
5578 | ||
87604222 NR |
5579 | 2007-02-09 Nick Roberts <[email protected]> |
5580 | ||
5581 | * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field. | |
5582 | ||
ee4f0f76 DJ |
5583 | 2007-02-08 Thiago Jung Bauermann <[email protected]> |
5584 | ||
5585 | * rs6000-tdep.c (gdb_print_insn_powerpc): Set | |
5586 | info->disassembler_options to "any". | |
5587 | ||
7af9851d DJ |
5588 | 2007-02-08 Daniel Jacobowitz <[email protected]> |
5589 | ||
5590 | * varobj.c (install_new_value): Only call value_get_print_value | |
5591 | if changeable. | |
5592 | ||
8944021f DJ |
5593 | 2007-02-08 Daniel Jacobowitz <[email protected]> |
5594 | ||
5595 | Reported by [email protected]: | |
5596 | * gdb/target.c (target_flash_erase): Do not return void value. | |
5597 | (target_flash_done): Likewise. | |
5598 | * gdb/cli/cli-cmds.c (source_command): Likewise. | |
5599 | ||
5600 | 2007-02-08 Fred Fish <[email protected]> | |
5f960e00 | 5601 | |
4ac94eda | 5602 | Based on work by Apple Computer, Inc. |
5f960e00 FF |
5603 | * event-top.c (handle_sigint): Set quit_flag. |
5604 | (async_request_quit): Don't set quit_flag. Avoid calling quit() | |
5605 | if quit_flag has already been reset. | |
5606 | ||
4998c1df DJ |
5607 | 2007-02-08 Daniel Jacobowitz <[email protected]> |
5608 | ||
5609 | * ser-mingw.c (pipe_windows_close): Move variable initialization back | |
5610 | up. | |
5611 | ||
79da184e FF |
5612 | 2007-02-08 Fred Fish <[email protected]> |
5613 | ||
5614 | * defs.h (request_quit): Remove declaration. | |
5615 | * utils.c (request_quit): Remove definition. | |
5616 | ||
3c77c82a DJ |
5617 | 2007-02-08 Joel Brobecker <[email protected]> |
5618 | Jan Kratochvil <[email protected]> | |
5619 | Daniel Jacobowitz <[email protected]> | |
5620 | ||
5621 | * rs6000-tdep.c (bl_to_blrl_insn_p): New function. | |
5622 | (skip_prologue): Allow bl->blrl used by PIC code. | |
5623 | ||
c1b6e682 DJ |
5624 | 2007-02-08 Mark Kettenis <[email protected]> |
5625 | Daniel Jacobowitz <[email protected]> | |
5626 | ||
5627 | * cp-valprint.c (cp_print_value_fields, cp_print_value): Always | |
5628 | initialize tmp_obstack. | |
5629 | * p-valprint.c (pascal_object_print_value_fields) | |
5630 | (pascal_object_print_value): Likewise. | |
5631 | ||
fe5dedf4 DJ |
5632 | 2007-02-08 Daniel Jacobowitz <[email protected]> |
5633 | ||
5634 | * features/feature_to_c.sh: Use %s to avoid problems with nawk. | |
5635 | ||
3e461478 MK |
5636 | 2007-02-08 Mark Kettenis <[email protected]> |
5637 | ||
5638 | * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". | |
5639 | * Makefile.in (sparcnbsd-tdep.o): Update dependencies. | |
5640 | ||
fc6e0168 DJ |
5641 | 2007-02-07 Daniel Jacobowitz <[email protected]> |
5642 | ||
5643 | * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s) | |
5644 | (xml_cache): New. | |
5645 | (tdesc_parse_xml): Cache expanded descriptions. | |
5646 | ||
108546a0 DJ |
5647 | 2007-02-07 Daniel Jacobowitz <[email protected]> |
5648 | ||
5649 | * Makefile.in (XMLFILES): New. | |
5650 | (COMMON_OBS): Add xml-builtin.o. | |
5651 | (xml-builtin.c, stamp-xml): New rules. | |
5652 | (xml-tdesc.o): Update. | |
5653 | * features/feature_to_c.sh: New file. | |
5654 | * xml-support.c (MAX_XINCLUDE_DEPTH): Define. | |
5655 | (struct gdb_xml_parser): Add dtd_name and is_xinclude. | |
5656 | (gdb_xml_start_element): Initialize scope after possibly reallocating | |
5657 | scopes. Move cleanup later. Handle the XInclude description | |
5658 | specially. | |
5659 | (gdb_xml_end_element): Only parse the body if there is a current element. | |
5660 | Call XML_DefaultCurrent if there is no element. | |
5661 | (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New. | |
5662 | (struct xinclude_parsing_data, xinclude_start_include) | |
5663 | (xinclude_end_include, xml_xinclude_default) | |
5664 | (xml_xinclude_start_doctype, xml_xinclude_end_doctype) | |
5665 | (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes) | |
5666 | (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New. | |
5667 | * xml-support.h (xml_fetch_another, xml_process_xincludes) | |
5668 | (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations. | |
5669 | * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand | |
5670 | XInclude directives. Use the compiled in DTD. | |
5671 | (fetch_xml_from_file): Add baton argument. Treat it as a containing | |
5672 | directory name. Do not warn here. | |
5673 | (file_read_description_xml): Update call. Warn here instead. Pass | |
5674 | a dirname as baton. | |
5675 | (fetch_available_features_from_target): New. | |
5676 | (target_read_description_xml): Use it. | |
5677 | * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd | |
5678 | to handle XInclude. | |
5679 | * features/xinclude.dtd: New file. | |
5680 | ||
b5057acd DJ |
5681 | 2007-02-05 Daniel Jacobowitz <[email protected]> |
5682 | ||
5683 | * linux-thread-db.c (check_for_thread_db): Return early if we have | |
5684 | no libthread_db support. | |
5685 | ||
6a089cf2 DJ |
5686 | 2007-02-05 Daniel Jacobowitz <[email protected]> |
5687 | ||
5688 | * mi/mi-parse.h: Include <sys/time.h>. | |
5689 | ||
9fbcbb40 NR |
5690 | 2007-02-05 Nick Roberts <[email protected]> |
5691 | ||
5692 | * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print | |
5693 | instead of print_variable_value to print values. | |
5694 | ||
b3d2152a NR |
5695 | 2007-02-03 Nick Roberts <[email protected]> |
5696 | ||
5697 | * mi/mi-main.c: Numerous formatting changes. | |
5698 | (mi_cmd_data_write_register_values): Replace clause inadvertantly | |
5699 | removed in my previous change. | |
5700 | ||
79f0a97a NR |
5701 | 2007-02-03 Eli Zaretskii <[email protected]> |
5702 | ||
5703 | * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now): | |
5704 | Use 1000000L instead of 1000000. | |
5705 | ||
95a98c01 | 5706 | 2007-02-03 Nick Roberts <[email protected]> |
cd375699 NR |
5707 | |
5708 | Based on work by Apple Computer, Inc. | |
5709 | ||
5710 | * configure.ac: Test for sys/resource.h and getrusage. | |
5711 | * configure, config.in: Regenerate. | |
5712 | ||
5713 | * mi/mi-main.c: Include <sys/resource.h> if present. | |
5714 | (rusage): Declare if HAVE_GETRUSAGE. | |
5715 | (current_command_ts, do_timings): New static variables. | |
5716 | (timestamp, print_diff_now, print_diff, timeval_diff): | |
5717 | New static timing functions. | |
5718 | (mi_cmd_enable_timings): New function for new MI command. | |
5719 | (captured_mi_execute_command, mi_execute_async_cli_command): | |
5720 | Call timing functions. | |
5721 | ||
5722 | * mi/mi-cmds.c (mi_cmds): Add entry for new MI command | |
5723 | -enable-timings. | |
5724 | ||
5725 | * mi/mi-cmds.h (mi_cmd_enable_timings): New extern. | |
5726 | ||
5727 | * mi/mi-parse.h: (mi_timestamp): New structure. | |
5728 | (mi_parse): Add mi_timestamp* member. | |
5729 | ||
99b3d574 DP |
5730 | 2007-02-02 Denis Pilat <[email protected]> |
5731 | ||
5732 | * thread.c (make_cleanup_restore_current_thread): New function. | |
5733 | (info_threads_command): Use of make_cleanup_restore_current_thread | |
5734 | to restore the current thread and the selected frame. | |
5735 | (restore_selected_frame): New function. | |
5736 | (struct current_thread_cleanup): Add frame_id field. | |
5737 | (do_restore_current_thread_cleanup): Add restoring of the selected | |
5738 | frame. | |
5739 | (make_cleanup_restore_current_thread): Likewise. | |
5740 | (thread_apply_all_command): backup the selected frame while | |
5741 | entering the function and restore it at exit. | |
5742 | (thread_apply_command): Likewise. | |
5743 | ||
d3c598de DP |
5744 | 2007-02-02 Denis Pilat <[email protected]> |
5745 | ||
5746 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
5747 | ||
b69733ab | 5748 | 2007-02-01 Kazuhiro Inaoka <[email protected]> |
3e41d55f KI |
5749 | |
5750 | * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask. | |
5751 | (m32r_store_register): Ditto. | |
5752 | ||
b69733ab | 5753 | 2007-01-30 Vladimir Prus <[email protected]> |
ef7723eb VP |
5754 | |
5755 | * ser-mingw.c (pipe_windows_open) | |
5756 | (pipe_windows_read, pipe_windows_write): Declare | |
5757 | variables at the top of the function. | |
5758 | ||
8da61cc4 DJ |
5759 | 2007-01-29 Daniel Jacobowitz <[email protected]> |
5760 | ||
5761 | * doublest.c (floatformat_from_length): Use the right element from | |
5762 | gdbarch floatformats. | |
5763 | (floatformat_from_type, extract_typed_floating) | |
5764 | (store_typed_floating): Likewise. | |
5765 | * doublest.h: Remove declarations for undefined floatformat arrays. | |
5766 | * gdbarch.sh (float_format, double_format, long_double_format): Change | |
5767 | to pairs. | |
5768 | (pformat): Update for pairs. | |
5769 | * gdbarch.c, gdbarch.h: Regenerated. | |
5770 | * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double) | |
5771 | (floatformats_ieee_double_littlebyte_bigword) | |
5772 | (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext) | |
5773 | (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f) | |
5774 | (floatformats_vax_d): New variables. | |
5775 | (builtin_type_ieee_single, builtin_type_ieee_double) | |
5776 | (builtin_type_arm_ext, builtin_type_ia64_spill) | |
5777 | (builtin_type_ia64_quad): Replace arrays with individual types. | |
5778 | (builtin_type_ieee_single_big, builtin_type_ieee_single_little) | |
5779 | (builtin_type_ieee_double_big, builtin_type_ieee_double_little) | |
5780 | (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext) | |
5781 | (builtin_type_m88110_ext, builtin_type_m88110_harris_ext) | |
5782 | (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword) | |
5783 | (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little) | |
5784 | (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete | |
5785 | unused and endian-specific types. | |
5786 | (recursive_dump_type): Update for floatformat pairs. | |
5787 | (build_flt): Move higher. Handle bit == -1. Take a floatformat pair. | |
5788 | (build_gdbtypes): Use build_flt. | |
5789 | (_initialize_gdbtypes): Update set of initialized types. | |
5790 | * gdbtypes.h: Update declarations to match gdbtypes.c. | |
5791 | (struct main_type): Store a pointer to two floatformats. | |
5792 | * arch-utils.c (default_float_format, default_double_format): Delete. | |
5793 | * arch-utils.h (default_float_format, default_double_format): Delete. | |
5794 | ||
5795 | * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, | |
5796 | ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c, | |
5797 | mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c, | |
5798 | sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c, | |
5799 | vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update. | |
5800 | ||
87680a14 JB |
5801 | 2007-01-29 Joel Brobecker <[email protected]> |
5802 | ||
5803 | * target.c (maintenance_print_target_stack): New function. | |
5804 | (initialize_targets): Add new "maintenance print target-stack" | |
5805 | command. | |
5806 | ||
1c3d648d MK |
5807 | 2007-01-28 Mark Kettenis <[email protected]> |
5808 | ||
5809 | * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero. | |
5810 | ||
607269ae DJ |
5811 | 2007-01-27 Daniel Jacobowitz <[email protected]> |
5812 | ||
5813 | * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long. | |
5814 | (struct dwarf2_loclist_baton): Likewise. | |
5815 | ||
40c03ae8 EZ |
5816 | 2007-01-27 Eli Zaretskii <[email protected]> |
5817 | ||
5818 | * cli/cli-script.c: Include breakpoint.h. | |
5819 | (build_command_line): Require arguments only for if and while | |
5820 | commands. | |
5821 | (get_command_line, execute_user_command, execute_control_command): | |
5822 | Fix wording of warning messages. | |
5823 | (print_command_lines): Print breakpoint commands. | |
5824 | (execute_control_command): Call commands_from_control_command to | |
5825 | handle the `commands' command inside a body of a flow-control | |
5826 | command. | |
5827 | (read_next_line): Recognize the `commands' command and build a | |
5828 | command line structure for it. | |
5829 | (recurse_read_control_structure, read_command_lines): Handle | |
5830 | `commands' similarly to `if' and `while'. | |
5831 | ||
5832 | * breakpoint.c (get_number_trailer): Document the special meaning | |
5833 | of NULL as the first argument PP. | |
5834 | (commands_from_control_command): New function. | |
5835 | ||
5836 | * breakpoint.h (commands_from_control_command): Add prototype. | |
5837 | ||
5838 | * defs.h (commands_control): New enumerated value for enum | |
5839 | command_control_type. | |
5840 | ||
4b9eee8c JB |
5841 | 2007-01-26 Joel Brobecker <[email protected]> |
5842 | ||
5843 | * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name. | |
5844 | (ada_exception_sal): Update accordingly. | |
5845 | ||
e1f48ead JK |
5846 | 2007-01-26 Jan Kratochvil <[email protected]> |
5847 | ||
5848 | * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs. | |
5849 | * NEWS: Describe CHAR array vs. string identifcation rules. | |
5850 | ||
e150acc7 PB |
5851 | 2007-01-25 Paul Brook <[email protected]> |
5852 | ||
5853 | * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error. | |
5854 | ||
10fb19b6 JB |
5855 | 2007-01-24 Jim Blandy <[email protected]> |
5856 | ||
5857 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location | |
5858 | expression is empty, bother to return the 'optimized out' value we | |
5859 | construct. (Thanks to Carl Burch.) | |
5860 | ||
85d93f1d VP |
5861 | 2007-01-24 Vladimir Prus <[email protected]> |
5862 | ||
5863 | * varobj.c (c_value_of_root, c_value_of_child) | |
5864 | (cplus_describe_child): Don't call release_value. | |
5865 | ||
fcbd8a5c TS |
5866 | 2007-01-24 Thiemo Seufer <[email protected]> |
5867 | ||
5868 | * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct | |
5869 | initialization. | |
5870 | ||
2024f65a VP |
5871 | 2007-01-24 Vladimir Prus <[email protected]> |
5872 | ||
5873 | Refactor getting children name, value and type access | |
5874 | for varobjs in C++. | |
5875 | * varobj.c (get_type_deref): Remove. | |
5876 | (adjust_value_for_child_access): New. | |
5877 | (c_number_of_children): Use the above. | |
5878 | (c_describe_child): Likewise. | |
5879 | (enum accessibility): New. | |
5880 | (match_accessibility): New function. | |
5881 | (cplus_describe_child): New function. | |
5882 | (cplus_name_of_child, cplus_value_of_child) | |
5883 | (cplus_type_of_child): Reimplement in terms | |
5884 | of cplus_describe_child. | |
5885 | (cplus_number_of_children): Use | |
5886 | adjust_value_for_child_access. | |
5887 | ||
6e2a9270 VP |
5888 | 2007-01-24 Vladimir Prus <[email protected]> |
5889 | ||
5890 | Fix computation of the 'editable' attribute and | |
5891 | value changeability for for references. | |
5892 | * varobj.c (get_value_type): New function. | |
5893 | (c_variable_editable): Use get_value_type. | |
5894 | (varobj_value_is_changeable): Likewise. | |
5895 | ||
56163ce1 JB |
5896 | 2007-01-24 Joel Brobecker <[email protected]> |
5897 | ||
5898 | * source.c (find_and_open_source): Try rewriting the source | |
5899 | path inside filename if dirname is NULL. | |
5900 | ||
8c6860bb JB |
5901 | 2007-01-24 Joel Brobecker <[email protected]> |
5902 | ||
5903 | * dwarf2read.c (add_partial_symbol): Create an extra partial | |
5904 | symbol in the VAR_DOMAIN for Ada structures, unions or enums. | |
5905 | (new_symbol): Likewise for symbols. | |
5906 | ||
6db6d2ca NR |
5907 | 2007-01-24 Nick Roberts <[email protected]> |
5908 | ||
5909 | * mi/mi-main.c (mi_cmd_execute): Call free_all_values. | |
5910 | ||
7d85ee02 VP |
5911 | 2007-01-23 Vladimir Prus <[email protected]> |
5912 | ||
5913 | * value.c (value_primitive_field): Copy the full 'location' | |
5914 | contents, instead of assuming that copying ADDRESS will | |
5915 | bring over everything in the union. Remove obsolete comment. | |
5916 | ||
f79b9530 DJ |
5917 | 2007-01-23 Masaki Muranaka <[email protected]> |
5918 | ||
5919 | * m32c-tdep.c (make_regs, m32c_analyze_prologue) | |
5920 | (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer) | |
5921 | (m32c_m16c_pointer_to_address): Separate code from declarations. | |
5922 | ||
08d8bcd7 DJ |
5923 | 2007-01-23 Nick Hudson <[email protected]> |
5924 | ||
5925 | * target.c (update_current_target): Correct typo. | |
5926 | ||
57fdbbbe CV |
5927 | 2007-01-22 Masaki Muranaka <[email protected]> |
5928 | ||
5929 | * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a | |
5930 | declaration. | |
5931 | ||
58894217 JK |
5932 | 2007-01-11 Andrew Cagney <[email protected]> |
5933 | Daniel Jacobowitz <[email protected]> | |
5934 | Jan Kratochvil <[email protected]> | |
5935 | ||
5936 | * dwarf2-frame.c (execute_cfa_program): New support of | |
5937 | `DW_CFA_GNU_negative_offset_extended'. | |
5938 | ||
9ebce043 DJ |
5939 | 2007-01-21 Daniel Jacobowitz <[email protected]> |
5940 | ||
5941 | * NEWS: Mention flash support for "load" and new remote packets. | |
5942 | ||
973d738b DJ |
5943 | 2007-01-21 Markus Deuling <[email protected]> |
5944 | ||
5945 | * breakpoint.c (delete_command): Skip redundant loop iterations. | |
5946 | ||
7b9ee6a8 DJ |
5947 | 2007-01-21 Daniel Jacobowitz <[email protected]> |
5948 | ||
5949 | * gdbarch.sh (register_type): Update comment. | |
5950 | * gdbarch.h: Regenerated. | |
5951 | * arch-utils.c (generic_register_size): Call register_type. | |
5952 | * ia64-tdep.c (ia64_extract_return_value): Likewise. | |
5953 | * m32c-tdep.c (check_for_saved): Likewise. | |
5954 | * mips-tdep.c (mips_print_register, print_gp_register_row) | |
5955 | (mips_print_registers_info): Likewise. | |
5956 | * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write): | |
5957 | Likewise. | |
5958 | * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write) | |
5959 | (sh64_do_register, sh64_print_register) | |
5960 | (sh64_media_print_registers_info): Likewise. | |
5961 | * tui/tui-regs.c (tui_register_format): Likewise. | |
5962 | ||
11309657 DJ |
5963 | 2007-01-21 Daniel Jacobowitz <[email protected]> |
5964 | ||
5965 | * objfiles.h (ALL_PRIMARY_SYMTABS): Define. | |
5966 | ||
5967 | * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list) | |
5968 | (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS. | |
5969 | * cp-support.c (make_symbol_overload_list_qualified): Likewise. | |
5970 | * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
5971 | (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols) | |
5972 | (make_symbol_completion_list): Likewise. | |
5973 | ||
cb1df416 DJ |
5974 | 2007-01-21 Jan Kratochvil <[email protected]> |
5975 | Daniel Jacobowitz <[email protected]> | |
5976 | ||
5977 | * buildsym.c (end_symtab): Use preallocated symtab if available. | |
5978 | Fill in SYMBOL_SYMTAB. | |
5979 | * buildsym.h (struct subfile): Add symtab member. | |
5980 | * dwarf2read.c (struct dwarf2_cu): Add line_header. | |
5981 | (struct file_entry): Add symtab. | |
5982 | (free_cu_line_header): New function. | |
5983 | (read_file_scope): Use it. Save line_header in the cu. Process | |
5984 | lines before DIEs. | |
5985 | (add_file_name): Initialize new symtab member. | |
5986 | (dwarf_decode_lines): Create symtabs for included files. | |
5987 | (new_symbol): Set SYMBOL_SYMTAB. | |
5988 | * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB. | |
5989 | (search_symbols): Likewise. | |
5990 | * symtab.h (struct symbol): Add symtab member. | |
5991 | (SYMBOL_SYMTAB): Define. | |
5992 | ||
727da900 DJ |
5993 | 2007-01-20 Daniel Jacobowitz <[email protected]> |
5994 | ||
5995 | * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO. | |
5996 | ||
7b6b9e83 DJ |
5997 | 2007-01-20 Daniel Jacobowitz <[email protected]> |
5998 | ||
5999 | * arch-utils.c (show_endian): Correct reversed condition. | |
6000 | ||
e767400c JK |
6001 | 2007-01-19 Jan Kratochvil <[email protected]> |
6002 | ||
6003 | * MAINTAINERS (Write After Approval): Add myself. | |
6004 | ||
b20d8971 VP |
6005 | 2007-01-16 Daniel Jacobowitz <[email protected]> |
6006 | Vladimir Prus <[email protected]> | |
6007 | ||
6008 | Fix 'selected frame' varobjs. | |
6009 | * varobj.c (struct varobj): Remove the error field. | |
6010 | (varobj_set_value): Don't check var->error. | |
6011 | (install_new_value): Don't set var->error. | |
6012 | (varobj_update): Always pass the new value | |
6013 | of the root via install_new_value. | |
6014 | (create_child): Don't set error field. | |
6015 | (new_variable): Likewise. | |
6016 | (c_value_of_root): Always reevaluate the value | |
6017 | of selected frame varobjs in the selected frame. | |
6018 | Don't call reinit_frame_cache. | |
6019 | ||
7ef2b397 JB |
6020 | 2007-01-15 Joel Brobecker <[email protected]> |
6021 | ||
6022 | * source.c (_initialize_source): Improve the help text of | |
6023 | the substitute-path commands. | |
6024 | ||
1208538e MK |
6025 | 2007-01-14 Mark Kettenis <[email protected]> |
6026 | ||
6027 | * frv-tdep.c (frv_gdbarch_init, frv_register_name) | |
6028 | (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address) | |
6029 | (frv_skip_prologue): Remove prototypes. | |
6030 | (frv_adjust_breakpoint_address): Renamed from | |
6031 | frv_gdbarch_adjust_breakpoint_address. | |
6032 | (frv_gdbarch_init): Adjust. | |
6033 | ||
765f065a MK |
6034 | 2007-01-13 Mark Kettenis <[email protected]> |
6035 | ||
5e66aab2 MK |
6036 | * gdbarch.sh (deprecated_extract_return_value) |
6037 | (deprecated_store_return_value): Remove. | |
6038 | (extract_return_value, store_return_value): Remove default values. | |
6039 | * gdbarch.c, gdbarch.h: Regenerate. | |
6040 | * arch-utils.c, arch-utils.h (legacy_extract_return_value) | |
6041 | (legacy_store_return_value): Remove. | |
6042 | * regcache.c, regcache.h (deprecated_grub_regcache_for_registers): | |
6043 | Remove. | |
6044 | ||
56178203 MK |
6045 | * mi/mi-main.c: Remove obsolete comment. |
6046 | ||
23303b2e MK |
6047 | * regcache.c, regcache.h (deprecated_register_bytes) |
6048 | (deprecated_read_register_bytes) | |
6049 | (deprecated_write_register_bytes): Remove. | |
6050 | ||
765f065a MK |
6051 | * frame.c (get_frame_register_bytes, put_frame_register_bytes): |
6052 | Don't forget to move destination pointer. | |
6053 | ||
610acfff MK |
6054 | 2007-01-01 Mark Kettenis <[email protected]> |
6055 | ||
6056 | * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove. | |
6057 | ||
12102450 UW |
6058 | 2007-01-11 Ulrich Weigand <[email protected]> |
6059 | ||
6060 | * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace | |
6061 | past entry function with recent newlib. | |
6062 | ||
c8b2f53c VP |
6063 | 2007-01-11 Vladimir Prus <[email protected]> |
6064 | ||
6065 | * gdb.texinfo (GDB/MI Variable Objects): Improve the | |
6066 | introduction. Specify -var-update more exactly. | |
6067 | ||
d57df5e4 DJ |
6068 | 2007-01-11 Daniel Jacobowitz <[email protected]> |
6069 | ||
6070 | * frame.c (get_prev_frame_1): Check PC_REGNUM before using it. | |
6071 | ||
03f597d5 JB |
6072 | 2007-01-10 Jim Blandy <[email protected]> |
6073 | ||
6074 | * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted | |
6075 | the Global Maintainers' invitation to be a global maintainer. | |
6076 | ||
fd48f117 DJ |
6077 | 2007-01-10 Daniel Jacobowitz <[email protected]> |
6078 | ||
6079 | * infrun.c (singlestep_pc): New variable. | |
6080 | (resume): Set singlestep_pc. | |
6081 | (context_switch): Add a debugging message. Flush the frame cache. | |
6082 | (handle_inferior_event): Add debugging messages. Handle thread | |
6083 | hops when a software single step has completed. Let context_switch | |
6084 | handle flushing the frame cache. | |
6085 | ||
23181151 DJ |
6086 | 2007-01-09 Daniel Jacobowitz <[email protected]> |
6087 | ||
6088 | * NEWS: Mention target descriptions, "set tdesc filename", | |
6089 | "unset tdesc filename", "show tdesc filename", and | |
6090 | qXfer:features:read. | |
6091 | * arch-utils.c (choose_architecture_for_target): New function. | |
6092 | (gdbarch_info_fill): Call it. | |
6093 | * target-descriptions.c (struct property): Make members non-const. | |
6094 | (struct target_desc): Add arch member. | |
6095 | (target_description_filename): New variable. | |
6096 | (target_find_description): Try via XML first. | |
6097 | (tdesc_architecture): New. | |
6098 | (free_target_description, make_cleanup_free_target_description): New. | |
6099 | (set_tdesc_property): Call xstrdup. | |
6100 | (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist) | |
6101 | (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd) | |
6102 | (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd) | |
6103 | (show_tdesc_filename_cmd, _initialize_target_descriptions): New. | |
6104 | * target-descriptions.h (tdesc_architecture) | |
6105 | (make_cleanup_free_target_description, set_tdesc_architecture): New | |
6106 | prototypes. | |
6107 | * Makefile.in (SFILES): Add xml-tdesc.c. | |
6108 | (COMMON_OBS): Add xml-tdesc.o. | |
6109 | (target-descriptions.o): Update. | |
6110 | (xml-tdesc.o): New rule. | |
6111 | * xml-tdesc.c, xml-tdesc.h: New files. | |
6112 | * remote.c (PACKET_qXfer_features): New enum. | |
6113 | (remote_protocol_features): Add qXfer:features:read. | |
6114 | (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES. | |
6115 | (_initialize_remote): Register qXfer:features:read. | |
6116 | * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES. | |
6117 | * features/gdb-target.dtd: New file. | |
6118 | ||
3e9cb5f4 DJ |
6119 | 2007-01-09 Daniel Jacobowitz <[email protected]> |
6120 | ||
6121 | * copyright.sh: Clarify error. | |
6122 | ||
818f79f6 DJ |
6123 | 2007-01-09 Jan Kratochvil <[email protected]> |
6124 | ||
6125 | * symtab.c (matching_bfd_sections): Fix VMA matching for | |
6126 | prelinked objects. | |
6127 | ||
f7a6bb70 DJ |
6128 | 2007-01-09 Jan Kratochvil <[email protected]> |
6129 | ||
6130 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle | |
6131 | nested symbols. | |
6132 | ||
20ac0504 DJ |
6133 | 2007-01-09 Daniel Jacobowitz <[email protected]> |
6134 | ||
6135 | Updated copyright notices for most files. | |
6136 | ||
85bb0718 DJ |
6137 | 2007-01-09 Daniel Jacobowitz <[email protected]> |
6138 | ||
6139 | * copyright.sh (prunes): Add step-line.inp and step-line.c. | |
6140 | ||
aa28a74e DJ |
6141 | 2007-01-09 Daniel Jacobowitz <[email protected]> |
6142 | ||
6143 | * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside | |
6144 | exec_prefix. | |
6145 | (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being | |
6146 | '${prefix}'. | |
6147 | * configure, config.in: Regenerate. | |
6148 | * defs.h (debug_file_directory): Declare. | |
6149 | * main.c (captured_main): Canonicalize gdb_sysroot. Assume | |
6150 | TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and | |
6151 | relocate it if DEBUGDIR_RELOCATABLE. | |
6152 | * symfile.c (debug_file_directory): Make non-static. | |
6153 | (find_separate_debug_file): Look for debug info for SYSROOT/PATH | |
6154 | in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT. | |
6155 | (_initialize_symfile): Don't initialize debug_file_directory here. | |
6156 | ||
1cfd2c3e JB |
6157 | 2007-01-09 Jim Blandy <[email protected]> |
6158 | ||
6159 | * score-tdep.c (score_push_dummy_call): Don't mix declarations and | |
6160 | statements. | |
6161 | ||
5efde112 DJ |
6162 | 2007-01-09 Daniel Jacobowitz <[email protected]> |
6163 | ||
6164 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use | |
6165 | frame_unwind_register to recurse. | |
6166 | * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise. | |
6167 | (alpha_heuristic_frame_prev_register): Likewise. | |
6168 | * h8300-tdep.c (h8300_frame_prev_register): Likewise. | |
6169 | * m32c-tdep.c (m32c_prev_register): Likewise. | |
6170 | * frame.c (frame_register_unwind_location): Remove FIXME. | |
6171 | ||
4de1f557 DJ |
6172 | 2007-01-09 Daniel Jacobowitz <[email protected]> |
6173 | Eli Zaretskii <[email protected]> | |
6174 | ||
6175 | * copyright.sh: New file. | |
6176 | ||
ca4ca11e DJ |
6177 | 2007-01-09 Daniel Jacobowitz <[email protected]> |
6178 | ||
6179 | * configure.ac: Check for XML_StopParser. | |
6180 | * xml-support.c (gdb_xml_body_text): Check for an error. | |
6181 | (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser. | |
6182 | (gdb_xml_end_element_wrapper): Likewise. | |
6183 | * config.in, configure: Regenerated. | |
6184 | ||
57e66780 DJ |
6185 | 2007-01-08 Daniel Jacobowitz <[email protected]> |
6186 | ||
6187 | * varobj.c (install_new_value): Always update print_value. | |
6188 | (value_get_print_value): Immediately return NULL for missing | |
6189 | values. | |
6190 | ||
b523a1fd JB |
6191 | 2007-01-08 Jim Blandy <[email protected]> |
6192 | ||
6193 | * configure.ac: Tighten pattern for extracting value of | |
6194 | DEPRECATED_TM_FILE from the target makefile fragment. | |
6195 | * configure: Regenerated. | |
6196 | ||
3d799a95 DJ |
6197 | 2007-01-08 Daniel Jacobowitz <[email protected]> |
6198 | ||
6199 | * linux-nat.c (struct simple_pid_list): Add status. | |
6200 | (add_to_pid_list): Record the PID's status. | |
6201 | (linux_record_stopped_pid): Likewise. Make static. | |
6202 | (pull_pid_from_list): Return the saved status. | |
6203 | (linux_nat_handle_extended): Deleted. | |
6204 | (linux_handle_extended_wait): Combine with linux_nat_handle_extended. | |
6205 | Make static. Handle non-SIGSTOP for a new thread's first signal. | |
6206 | (flush_callback): Handle unexpected pending signals. | |
6207 | (linux_nat_wait): Update calls to changed functions. | |
6208 | * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait): | |
6209 | Remove prototypes for newly static functions. | |
6210 | ||
9acbedc0 UW |
6211 | 2007-01-08 Ulrich Weigand <[email protected]> |
6212 | ||
6213 | * gdbarch.sh (value_from_register): New gdbarch function. | |
6214 | * gdbarch.c, gdbarch.h: Regenerate. | |
6215 | * findvar.c (default_value_from_register): New function. | |
6216 | (value_from_register): Use gdbarch_value_from_register. | |
6217 | * value.h (default_value_from_register): Declare. | |
6218 | * spu-tdep.c (spu_convert_register_p, spu_register_to_value, | |
6219 | spu_value_to_register): Remove. | |
6220 | (spu_value_from_register): New function. | |
6221 | (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
6222 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
6223 | Call set_gdbarch_value_from_register. | |
6224 | * s390-tdep.c (s390_convert_register_p, s390_register_to_value, | |
6225 | s390_value_to_register): Remove. | |
6226 | (s390_value_from_register): New function. | |
6227 | (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
6228 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
6229 | Call set_gdbarch_value_from_register. | |
6230 | ||
f822c95b DJ |
6231 | 2007-01-08 Daniel Jacobowitz <[email protected]> |
6232 | ||
6233 | * NEWS: Add "set sysroot" and "show sysroot". | |
6234 | * solib.c (solib_absolute_prefix): Delete. Replace | |
6235 | all uses with gdb_sysroot. | |
6236 | (_initialize_solib): Add "set sysroot" and "show sysroot". | |
6237 | Make "solib-absolute-prefix" an alias to it. | |
6238 | ||
00fa51f6 UW |
6239 | 2007-01-08 Ulrich Weigand <[email protected]> |
6240 | ||
6241 | * frame.c (get_frame_register_bytes): New function. | |
6242 | (put_frame_register_bytes): Likewise. | |
6243 | * frame.h (get_frame_register_bytes): Declare. | |
6244 | (put_frame_register_bytes): Likewise. | |
6245 | * findvar.c (value_from_register): Always construct lval_register | |
6246 | values. Use get_frame_register_bytes. | |
6247 | * valops.c (value_assign): Use get_frame_register_bytes and | |
6248 | put_frame_register_bytes. | |
6249 | ||
a95c9d06 JB |
6250 | 2007-01-08 Jim Blandy <[email protected]> |
6251 | ||
6252 | * MAINTAINERS: Update Stan Shebs' email address. | |
6253 | ||
4ed6b5be JB |
6254 | 2007-01-07 Joel Brobecker <[email protected]> |
6255 | ||
6256 | * ada-lang.c (is_known_support_routine): Improve the implementation. | |
6257 | ||
9bbc9174 JB |
6258 | 2007-01-06 Joel Brobecker <[email protected]> |
6259 | ||
6260 | * ada-lang.c: Add include of source.h. | |
6261 | (is_known_support_routine): Improve the check verifying that the file | |
6262 | associated to this frame exists. | |
6263 | * Makefile.in (ada-lang.o): Add dependency on source.h. | |
6264 | ||
44a81774 JB |
6265 | 2007-01-07 Jim Blandy <[email protected]> |
6266 | ||
6267 | * ax-general.c (ax_const_l): Select proper opcode for the given | |
6268 | value. | |
6269 | ||
fcd19eb1 | 6270 | 2007-01-05 Vladimir Prus <[email protected]> |
6fe1a487 NR |
6271 | |
6272 | * varobj.c (c_value_of_root): Don't select frame if variable | |
6273 | object is out of scope. | |
6274 | ||
fcd19eb1 | 6275 | 2007-01-05 Nick Roberts <[email protected]> |
3fa6deb5 NR |
6276 | |
6277 | * varobj.c (struct varobj): New member print_value. | |
6278 | (install_new_value): Compare last printed value with current one | |
6279 | instead of contents. | |
6280 | (new_variable): Initialize var->print_value to NULL. | |
6281 | (free_variable): Free var->print_value. | |
6282 | (value_get_print_value): New function derived from | |
6283 | c_value_of_variable. | |
6284 | (c_value_of_variable): Use value_get_print_value. | |
6285 | ||
92a56b20 JB |
6286 | 2007-01-05 Joel Brobecker <[email protected]> |
6287 | ||
6288 | * i386-tdep.c (i386_analyze_stack_align): Add comment. | |
6289 | ||
0e420bd8 JB |
6290 | 2007-01-05 Joel Brobecker <[email protected]> |
6291 | ||
6292 | * NEWS: Add entries for new catch commands. | |
6293 | ||
b69733ab | 6294 | 2007-01-05 Joel Brobecker <[email protected]> |
fa4028e9 JB |
6295 | |
6296 | * dwarf2read.c (partial_die_info): Add field has_byte_size. | |
6297 | (add_partial_symbol): Correct identification of external references. | |
6298 | (process_structure_scope): Likewise. | |
6299 | (read_partial_die): Handle DW_AT_byte_size attribute. | |
6300 | ||
6301 | 2007-01-05 Daniel Jacobowitz <[email protected]> | |
d097fa3e DJ |
6302 | |
6303 | * xml-support.c (gdb_xml_end_element): Remove wrong backslashes. | |
6304 | ||
8e38af42 NR |
6305 | 2007-01-05 Nick Roberts <[email protected]> |
6306 | ||
6307 | * varobj.c (get_type_deref): Fix variable objects for references to | |
6308 | pointers. | |
6309 | ||
d1c79ecd DJ |
6310 | 2007-01-04 Daniel Jacobowitz <[email protected]> |
6311 | ||
6312 | * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs | |
6313 | with no symbols. | |
6314 | ||
e776119f DJ |
6315 | 2007-01-04 Daniel Jacobowitz <[email protected]> |
6316 | ||
6317 | * memory-map.c (struct_memory_map_parsing_data): Remove most | |
6318 | members. Make property_name an array. | |
6319 | (free_memory_map_parsing_data, memory_map_start_element) | |
6320 | (memory_map_end_element, memory_map_character_data): Delete. | |
6321 | (memory_map_start_memory, memory_map_end_memory) | |
6322 | (memory_map_start_property, memory_map_end_property): New functions. | |
6323 | (property_attributes, memory_children, memory_type_enum) | |
6324 | (memory_attributes, memory_map_children, memory_map_elements): New. | |
6325 | (parse_memory_map): Rewrite. | |
6326 | * xml-support.c (debug_xml): New. | |
6327 | (xml_get_required_attribute, xml_get_integer_attribute) | |
6328 | (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser): | |
6329 | Delete. | |
6330 | (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text) | |
6331 | (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup) | |
6332 | (gdb_xml_start_element, gdb_xml_start_element_wrapper) | |
6333 | (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup) | |
6334 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse) | |
6335 | (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest) | |
6336 | (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support): | |
6337 | New. | |
6338 | * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler) | |
6339 | (enum gdb_xml_attribute_flag, struct gdb_xml_attribute) | |
6340 | (enum gdb_xml_element_flag, struct gdb_xml_element) | |
6341 | (gdb_xml_element_start_handler, gdb_xml_element_end_handler) | |
6342 | (struct gdb_xml_enum): New. | |
6343 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug) | |
6344 | (gdb_xml_error, gdb_xml_parse_attr_ulongest) | |
6345 | (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes. | |
6346 | (xml_get_required_attribute, xml_get_integer_attribute) | |
6347 | (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes. | |
6348 | * Makefile.in (xml_support_h, xml-support.o): Update. | |
6349 | ||
5e572bb4 DJ |
6350 | 2007-01-04 Daniel Jacobowitz <[email protected]> |
6351 | ||
6352 | * Makefile.in (eval.o): Update dependencies. | |
6353 | * eval.c: Include "ui-out.h" and "exceptions.h". | |
6354 | (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable. | |
6355 | Use value_zero if an error occurs when avoiding side effects. | |
6356 | * varobj.c (c_value_of_root): Initialize new_val. | |
6357 | ||
74a44383 DJ |
6358 | 2007-01-04 Daniel Jacobowitz <[email protected]> |
6359 | ||
6360 | * varobj.c (varobj_list_children): Stop if the number of children is | |
6361 | unknown. | |
6362 | (c_number_of_children): | |
6363 | ||
e8d2d628 MK |
6364 | 2007-01-04 Mark Kettenis <[email protected]> |
6365 | ||
6366 | * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE. | |
6367 | (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start) | |
6368 | (alpha_heuristic_frame_unwind_cache, alpha_next_pc) | |
6369 | (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and | |
6370 | sizeof, instead of hardcoded constants. | |
6371 | ||
c941839d DJ |
6372 | 2007-01-04 Daniel Jacobowitz <[email protected]> |
6373 | ||
6374 | * CONTRIBUTE: Use sourceware.org. | |
6375 | ||
303b6f5d | 6376 | 2007-01-04 Daniel Jacobowitz <[email protected]> |
2d0720d9 | 6377 | |
303b6f5d DJ |
6378 | * buildsym.c (start_subfile): Handle producer. |
6379 | (record_producer): New function. | |
6380 | * buildsym.h (struct subfile): Include producer. | |
6381 | (record_producer): New prototype. | |
6382 | * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation. | |
6383 | (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and | |
6384 | armcc_cfa_offsets_reversed. | |
6385 | (execute_cfa_program): Handle armcc_cfa_offsets_sf. | |
6386 | (dwarf2_frame_find_quirks): New function. | |
6387 | (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed. | |
6388 | (decode_frame_entry_1): Record the CIE version. Record the | |
6389 | augmentation. Skip armcc augmentations. | |
6390 | * dwarf2read.c (read_file_scope): Save the producer. | |
6391 | * symtab.h (struct symtab): Rename unused version member to | |
6392 | producer. | |
2d0720d9 | 6393 | |
aa79a185 DJ |
6394 | 2007-01-04 Daniel Jacobowitz <[email protected]> |
6395 | ||
6396 | * configure.ac (build_warnings): Use -Wall and | |
6397 | -Wdeclaration-after-statement. | |
6398 | * configure: Regenerated. | |
6399 | ||
bbec2603 VP |
6400 | 2007-01-04 Vladimir Prus <[email protected]> |
6401 | ||
6402 | Simplify access to variours properties of child | |
6403 | variable objects in C. | |
6404 | * varobj.c (value_struct_element_index): New function. | |
6405 | (c_describe_child): New function. | |
6406 | (c_name_of_child, c_value_of_child) | |
6407 | (c_type_of_child): Rewrite to use c_describe_child. | |
6408 | ||
28335dcc VP |
6409 | 2007-01-04 Vladimir Prus <[email protected]> |
6410 | ||
6411 | gdb/ | |
6412 | * varobj.c: Include "vec.h". | |
6413 | (varobj_p): New typedef, declare vector of those. | |
6414 | (struct varobj): Use vector for the 'children' member. | |
6415 | (child_exists): Remove. | |
6416 | (save_child_in_parent): Remove. | |
6417 | (remove_child_from_parent): Remove. | |
6418 | (struct varobj_child): Remove. | |
6419 | (struct vstack): Remove. | |
6420 | (vpush, vpop): Remove. | |
6421 | (varobj_list_children): Adjust to work work vector. | |
6422 | (varobj_update): Likewise. Use vectors for | |
6423 | working stack and result. | |
6424 | (delete_variable_1): Likewise. | |
6425 | * Makefile.in (varobj.o): Update dependencies. | |
6426 | ||
b2c2bd75 VP |
6427 | 2007-01-04 Vladimir Prus <[email protected]> |
6428 | ||
6429 | Port from Apple's version. | |
6430 | gdb/ | |
6431 | * varobj.c (type_changeable): Rename to... | |
6432 | (varobj_value_is_changeable_p): ...this. Adjust all callers. | |
6433 | (is_root_p): New function. Use it everywhere. | |
6434 | ||
bdfb3870 JB |
6435 | 2007-01-04 Jim Blandy <[email protected]> |
6436 | ||
6437 | * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup', | |
6438 | then plain 'fixup'. | |
6439 | ||
5d15052e JB |
6440 | 2007-01-04 Joel Brobecker <[email protected]> |
6441 | ||
6442 | * hpread.c (hpread_start_psymtab): Remove unnecessary extern. | |
6443 | ||
53103997 JB |
6444 | 2007-01-04 Joel Brobecker <[email protected]> |
6445 | ||
6446 | * hpread.c (hpread_type_lookup): Fix compilation failure. | |
6447 | ||
27fd2f50 Q |
6448 | 2007-01-04 Qinwei <[email protected]> |
6449 | ||
6450 | * NEWS: New port to S+core. | |
6451 | * MAINTAINERS (Write After Approval, Responsible Maintainers): | |
6452 | Add myself. | |
6453 | ||
6454 | * Makefile.in: Add dependencies for S+core files. | |
6455 | * configure.tgt (score*, score-*-*): Add S+core target. | |
6456 | * config/score/embed.mt: New file. | |
6457 | * score-tdep.c: New file. | |
6458 | * score-tdep.h: New file. | |
6459 | ||
a6cfbe68 JB |
6460 | 2007-01-04 Joel Brobecker <[email protected]> |
6461 | ||
6462 | * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with | |
6463 | the appropriate type rather than a bogus void type. | |
6464 | ||
67cf15b7 | 6465 | 2007-01-04 Joel Brobecker <[email protected]> |
f7f9143b JB |
6466 | |
6467 | * ada-lang.h (ada_find_printable_frame): Remove. | |
6468 | (ada_exception_catchpoint_p, ada_decode_exception_location) | |
6469 | (ada_decode_assert_location): Add declaration. | |
6470 | * ada-lang.c: Add include of annotate.h and valprint.h. | |
6471 | (exception_catchpoint_kind): New enum. | |
6472 | (function_name_from_pc, is_known_support_routine) | |
6473 | (ada_find_printable_frame, ada_unhandled_exception_name_addr) | |
6474 | (ada_exception_name_addr_1, ada_exception_name_addr) | |
6475 | (print_it_exception, print_one_exception, print_mention_exception) | |
6476 | (print_it_catch_exception, print_one_catch_exception) | |
6477 | (print_mention_catch_exception, catch_exception_breakpoint_ops) | |
6478 | (print_it_catch_exception_unhandled) | |
6479 | (print_one_catch_exception_unhandled) | |
6480 | (print_mention_catch_exception_unhandled, print_it_catch_assert) | |
6481 | (print_one_catch_assert, print_mention_catch_assert) | |
6482 | (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found) | |
6483 | (ada_get_next_arg, catch_ada_exception_command_split) | |
6484 | (ada_exception_sym_name, ada_exception_sym_name) | |
6485 | (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string) | |
6486 | (ada_parse_catchpoint_condition, ada_exception_sal) | |
6487 | (ada_decode_exception_location) | |
6488 | (ada_decode_assert_location): New function. | |
6489 | (catch_exception_unhandled_breakpoint_ops): New global variable. | |
6490 | (catch_assert_breakpoint_ops): New global variable. | |
6491 | * breakpoint.c: Add include of ada-lang.h. | |
6492 | (print_one_breakpoint): Do not print the condition for Ada | |
6493 | exception catchpoints. | |
6494 | (create_ada_exception_breakpoint): New function. | |
6495 | (catch_ada_exception_command, catch_assert_command): New function. | |
6496 | (catch_command_1): Add support for the new "catch exception" and | |
6497 | "catch assert" commands. | |
6498 | (_initialize_breakpoint): Add help description for the new catch | |
6499 | commands. | |
6500 | * Makefile.in (ada-lang.o): Add dependency on annotate.h and | |
6501 | valprint.h. | |
6502 | (breakpoint.o): Add dependency on ada-lang.h. | |
6503 | ||
05cfdb42 DJ |
6504 | 2007-01-03 Pedro Alves <[email protected]> |
6505 | ||
6506 | * coffread.c (cs_to_section): If bfd_section is found, always | |
6507 | return its section index. | |
6508 | (coff_symtab_read): Determine the minimal_symbol_type using the | |
6509 | bfd_section flags. | |
6510 | ||
2e03ee74 DJ |
6511 | 2007-01-03 Jan Kratochvil <[email protected]> |
6512 | Daniel Jacobowitz <[email protected]> | |
6513 | ||
6514 | * Makefile.in (top.o): Update. | |
6515 | * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result) | |
6516 | (saved_after_char_processing_hook, gdb_readline_wrapper_line) | |
6517 | (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup): | |
6518 | New. | |
6519 | (gdb_readline_wrapper): Rewrite to use asynchronous readline. | |
6520 | ||
1c63d086 MK |
6521 | 2007-01-03 Mark Kettenis <[email protected]> |
6522 | ||
6523 | * arm-linux-tdep.c (arm_linux_extract_return_value): Remove. | |
6524 | (arm_linux_init_abi): Don't set deprecated_extract_return_value. | |
6525 | ||
d5d6fca5 DJ |
6526 | 2007-01-03 Daniel Jacobowitz <[email protected]> |
6527 | ||
6528 | * ada-lang.c (find_struct_field): Initialize *byte_offset_p. | |
6529 | * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i. | |
6530 | * c-typeprint.c (c_type_print_varspec_suffix): Don't test length | |
6531 | greater than or equal to zero. | |
6532 | * m2-typeprint.c (m2_array): Likewise. | |
6533 | * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise. | |
6534 | * gdbtypes.c (copy_type_recursive): Correct == typo. | |
6535 | * i386-tdep.c (i386_skip_prologue): Remove stray semicolon. | |
6536 | * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer | |
6537 | greater than zero. | |
6538 | * macroscope.c (sal_macro_scope): Don't name a local variable "main". | |
6539 | (default_macro_scope): Remove unused variable. | |
6540 | * prologue-value.h (pv_area_find_reg): Don't name an argument | |
6541 | "register". | |
6542 | * remote-fileio.c (remote_fio_func_map): Add missing braces. | |
6543 | * remote.c (sigint_remote_twice_token, sigint_remote_token): Change | |
6544 | type. | |
6545 | (cleanup_sigint_signal_handler): Remove casts. | |
6546 | * valprint.c (val_print): Use a volatile local for the modified | |
6547 | argument. | |
6548 | * varobj.c (languages): Remove extra array dimension. | |
6549 | (varobj_create): Correct access to languages array. | |
6550 | * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add | |
6551 | missing braces. | |
6552 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise. | |
6553 | * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise. | |
6554 | * mi/mi-getopt.c (mi_valid_noargs): Likewise. | |
6555 | * mi/mi-main.c (mi_cmd_data_read_memory): Likewise. | |
6556 | (mi_cmd_data_write_memory): Likewise. | |
6557 | * signals/signals.c (target_signal_to_string): Cast to int before | |
6558 | comparing. | |
6559 | * tui/tui-layout.c (init_and_make_win): Take and return a void *. | |
6560 | Update all callers. | |
6561 | ||
0d5de010 DJ |
6562 | 2007-01-03 Daniel Jacobowitz <[email protected]> |
6563 | ||
6564 | * NEWS: Mention pointer to member improvements. | |
6565 | * Makefile.in (gnu-v3-abi.o): Delete special rule. | |
6566 | (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update. | |
6567 | * ada-valprint.c (ada_print_scalar): Update for new type codes. | |
6568 | * c-typeprint.c (c_print_type): Update for new type codes. | |
6569 | (c_type_print_varspec_prefix, c_type_print_varspec_suffix) | |
6570 | (c_type_print_base): Likewise. | |
6571 | (c_type_print_args): Rewrite. | |
6572 | * c-valprint.c (c_val_print): Update for new type codes. Remove | |
6573 | support for references to members. Treat methods like functions. | |
6574 | * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size) | |
6575 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New. | |
6576 | * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size) | |
6577 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes. | |
6578 | (struct cp_abi_ops): Add corresponding members. | |
6579 | * cp-valprint.c (cp_print_class_method): Delete. | |
6580 | (cp_find_class_member): New function. | |
6581 | (cp_print_class_member): Use it. Simplify support for bogus | |
6582 | member pointers. | |
6583 | * dwarf2read.c (quirk_gcc_member_function_pointer): Use | |
6584 | lookup_methodptr_type. | |
6585 | (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type. | |
6586 | * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for | |
6587 | OP_SCOPE. Update call to value_aggregate_elt. Rewrite member | |
6588 | pointer support. | |
6589 | (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle | |
6590 | references returned by user defined operators. | |
6591 | * f-typeprint.c (f_print_type, f_type_print_varspec_prefix) | |
6592 | (f_type_print_varspec_suffix): Remove support for member pointers. | |
6593 | * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type | |
6594 | and adjusted. | |
6595 | (smash_to_memberptr_type): Likewise, from smash_to_member_type. | |
6596 | (lookup_methodptr_type): New. | |
6597 | (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR. | |
6598 | (recursive_dump_type): Update for new types. | |
6599 | * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with | |
6600 | TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR. | |
6601 | (lookup_memberptr_type, lookup_methodptr_type) | |
6602 | (smash_to_memberptr_type): New prototypes. | |
6603 | (smash_to_method_type): Formatting fix. | |
6604 | (lookup_member_type, smash_to_member_type): Delete prototypes. | |
6605 | * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New. | |
6606 | Do not rely on debug information for the vptr or the method's | |
6607 | enclosing type. Handle function descriptors for IA64. | |
6608 | (gnuv3_virtual_fn_field): Rewrite using the new functions. | |
6609 | (gnuv3_find_method_in, gnuv3_print_method_ptr) | |
6610 | (gnuv3_method_ptr_size, gnuv3_make_method_ptr) | |
6611 | (gnuv3_method_ptr_to_value): New. | |
6612 | (init_gnuv3_ops): Set new members of gnu_v3_abi_ops. | |
6613 | * hpread.c (hpread_type_lookup): Update for new types. | |
6614 | * infcall.c (value_arg_coerce): Likewise. | |
6615 | * m2-typeprint.c (m2_print_type): Remove explicit support | |
6616 | for member pointers. | |
6617 | * m2-valprint.c (m2_val_print): Likewise. | |
6618 | * p-typeprint.c (pascal_type_print_varspec_prefix) | |
6619 | (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise. | |
6620 | * p-valprint.c (pascal_val_print): Likewise. | |
6621 | (pascal_object_print_class_method, pascal_object_print_class_member): | |
6622 | Delete. | |
6623 | * p-lang.h (pascal_object_print_class_method) | |
6624 | (pascal_object_print_class_member): Delete prototypes. | |
6625 | * stabsread.c (read_type): Update for new types. | |
6626 | * typeprint.c (print_type_scalar): Likewise. | |
6627 | * valops.c (value_struct_elt_for_reference, value_namespace_elt) | |
6628 | (value_maybe_namespace_elt, value_aggregate_elt): Add want_address | |
6629 | argument. Construct a pointer to member if the address of a | |
6630 | function or data member is requested. | |
6631 | (value_cast_pointers): Don't modify the input value. | |
6632 | (value_cast): Adjust pointer to member handling for new types. | |
6633 | Allow null pointer to member constants. Don't modify the input | |
6634 | value. | |
6635 | (value_ind): Remove pointer to member check. Handle function | |
6636 | descriptors for function pointers. | |
6637 | (value_struct_elt, value_find_oload_method_list, check_field): | |
6638 | Remove pointer to member checks. | |
6639 | * value.c (unpack_long): Allow pointers to data members. | |
6640 | (value_from_longest): Allow member pointers. | |
6641 | * value.h (value_aggregate_elt): Add want_address. | |
6642 | * varobj.c (c_variable_editable): Remove check for members. | |
6643 | * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta. | |
6644 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors | |
6645 | in virtual tables. | |
6646 | (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors. | |
6647 | * c-lang.h (cp_print_class_method): Delete prototype. | |
6648 | * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta. | |
6649 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
6650 | * gdbarch.c, gdbarch.h: Regenerated. | |
6651 | ||
d217aaed MK |
6652 | 2007-01-01 Mark Kettenis <[email protected]> |
6653 | ||
6654 | * rs6000-tdep.c (rs6000_use_struct_convention) | |
6655 | (rs6000_extract_return_value, rs6000_store_return_value) | |
6656 | (rs6000_extract_struct_value_address): Remove. | |
6657 | (rs6000_return_value): New function. | |
6658 | (rs6000_gdbarch_init): Don't set deprecated_extract_return_value, | |
6659 | store_return_value, deprecated_extract_struct_value_address and | |
6660 | deprecated_use_struct_convention. Use rs6000_return_value | |
6661 | instead. | |
6662 | ||
02296b29 NR |
6663 | 2007-01-02 Nick Roberts <[email protected]> |
6664 | ||
6665 | * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete, | |
6666 | -display-disable, -display-enable, -display-insert and | |
6667 | -display-list. | |
6668 | ||
b69733ab | 6669 | 2007-01-01 Joel Brobecker <[email protected]> |
ce186b30 JB |
6670 | |
6671 | * breakpoint.c (remove_breakpoint): Remove dead code. | |
6672 | ||
6673 | 2007-01-01 Nick Roberts <[email protected]> | |
ab9245ed NR |
6674 | |
6675 | * varobj.c: Include block.h. | |
6676 | (c_value_of_root): Check scope within nested statements. | |
6677 | ||
9f3a1602 MK |
6678 | 2007-01-01 Mark Kettenis <[email protected]> |
6679 | ||
6680 | * mi/mi-main.c (mi_cmd_data_write_register_values): Use | |
6681 | regcache_cooked_write_signed instead of | |
6682 | deprecated_write_register_bytes. | |
6683 | ||
12349ccd JB |
6684 | 2007-01-01 Joel Brobecker <[email protected]> |
6685 | ||
6686 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006. | |
6687 | ||
8c48ebcf JB |
6688 | 2007-01-01 Joel Brobecker <[email protected]> |
6689 | ||
6690 | Followed the Start of New Year Procedure: | |
6691 | * ChangeLog-2006: New file, containing all the entries for 2006. | |
6692 | * ChangeLog: Removed all 2006 entries, and changed the reference | |
6693 | to the previous ChangeLog to point to ChangeLog 2006. | |
6694 | * top.c (print_gdb_version): Update copyright year. | |
6695 | ||
154927ff MK |
6696 | 2007-01-01 Mark Kettenis <[email protected]> |
6697 | ||
6698 | * Makefile.in (remote-sds.o): Remove. | |
6699 | * remote-sds.c: Delete. | |
6700 | ||
8c48ebcf | 6701 | For older changes see ChangeLog-2006. |
c906108c SS |
6702 | \f |
6703 | Local Variables: | |
6704 | mode: change-log | |
6705 | left-margin: 8 | |
6706 | fill-column: 74 | |
6707 | version-control: never | |
57da7796 | 6708 | coding: utf-8 |
c906108c | 6709 | End: |