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