Commit | Line | Data |
---|---|---|
e9a4730f UW |
1 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
2 | ||
3 | * std-regs.c (value_of_builtin_frame_fp_reg) | |
4 | value_of_builtin_frame_pc_reg, value_of_builtin_frame_sp_reg) | |
5 | value_of_builtin_frame_ps_reg): Use get_frame_arch to get at the | |
6 | current architecture by frame_info. | |
7 | ||
6bcde365 UW |
8 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
9 | ||
10 | * reggroups.c (default_register_reggroup_p): Replace current_gdbarch | |
11 | by gdbarch. | |
12 | ||
a4bd449d UW |
13 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
14 | ||
15 | * infcmd.c (default_print_registers_info, print_return_value) | |
16 | (print_vector_info, print_float_info): Replace current_gdbarch by | |
17 | gdbarch. | |
18 | (registers_info): Use get_frame_arch to get at the current | |
19 | architecture by frame_info. | |
20 | ||
e071d1f6 UW |
21 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
22 | ||
23 | * i387-tdep.c (i387_collect_fsave, i387_collect_fxsave): Use | |
24 | get_regcache_arch to get at the current architecture by regcache. | |
25 | ||
f8d29908 UW |
26 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
27 | ||
28 | * target.c (debug_print_register): Use get_regcache_arch to get at the | |
29 | current architecture by regcache. | |
30 | ||
39cbfefa DJ |
31 | 2007-10-21 Daniel Jacobowitz <dan@codesourcery.com> |
32 | ||
33 | * dwarf2read.c (read_file_scope): Add a comment. | |
34 | (dwarf2_add_field, dwarf2_add_member_fn, read_structure_type) | |
35 | (read_enumeration_type, process_enumeration_scope, read_array_type) | |
36 | (read_typedef, read_base_type, read_subrange_type) | |
37 | (read_unspecified_type): Use dwarf2_name. | |
38 | ||
fe3e1990 DJ |
39 | 2007-10-21 Daniel Jacobowitz <dan@codesourcery.com> |
40 | ||
41 | * coffread.c (coff_symfile_finish): Call dwarf2_free_objfile. | |
42 | * dwarf2read.c (dwarf2_free_objfile): New. | |
43 | * elfread.c (elf_symfile_finish): Call dwarf2_free_objfile. | |
44 | * symfile.h (dwarf2_free_objfile): Declare. | |
45 | ||
261224b2 JB |
46 | 2007-10-21 Joel Brobecker <brobecker@adacore.com> |
47 | ||
48 | * hppa-hpux-nat.c (hppa_hpux_store_register): Add missing semi-colon. | |
49 | ||
9274a07c LM |
50 | 2007-10-21 Luis Machado <luisgpm@br.ibm.com> |
51 | ||
52 | * rs6000-tdep.c (ppc_dwarf2_frame_init_reg): New function. | |
53 | * (rs6000_gdbarch_init): Install ppc_dwarf2_frame_init_reg as | |
54 | default dwarf2_frame_set_init_reg function. | |
55 | ||
430ebac9 PA |
56 | 2007-10-21 Pedro Alves <pedro_alves@portugalmail.pt> |
57 | ||
58 | * NEWS: Mention native MinGW configuration. | |
59 | ||
97030eea UW |
60 | 2007-10-19 Ulrich Weigand <uweigand@de.ibm.com> |
61 | ||
62 | * gdbarch.sh: Remove "macro" column of input table. Remove handling | |
63 | of "macro" column throughout the file. Remove (empty) "macro" entry | |
64 | of all gdbarch functions. | |
65 | ||
203c3895 UW |
66 | 2007-10-19 Ulrich Weigand <uweigand@de.ibm.com> |
67 | ||
68 | * gdbarch.sh (sofun_address_maybe_missing): New gdbarch variable. | |
69 | * gdbarch.c, gdbarch.h: Regenerate. | |
70 | * dbxread.c (find_stab_function_addr): Define unconditionally. | |
71 | (read_dbx_symtab): Use gdbarch_sofun_address_maybe_missing | |
72 | instead of SOFUN_ADDRESS_MAYBE_MISSING. | |
73 | (end_psymtab): Likewise. | |
74 | (process_one_symbol): Likewise. | |
75 | * mdebugread.c (parse_partial_symbols): Likewise. | |
76 | ||
77 | * symtab.h (struct minimal_symbol): Always define "filename" member. | |
78 | * elfread.c (elf_symtab_read): Use msym->filename unconditionally. | |
79 | * minsyms.c (lookup_minimal_symbol): Likewise. | |
80 | * symmisc.c (dump_msymbols): Likewise. | |
81 | ||
82 | * config/i386/i386sol2.mt (DEPRECATED_TM_FILE): Remove. | |
83 | * config/i386/linux.mt (DEPRECATED_TM_FILE): Remove. | |
84 | * config/i386/tm-i386sol2.h: Remove file. | |
85 | * config/i386/tm-linux.h: Remove file. | |
86 | * i386-linux-tdep.c (i386_linux_init_abi): Add call to | |
87 | set_gdbarch_sofun_address_maybe_missing. | |
88 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
89 | ||
90 | * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Remove. | |
91 | * config/powerpc/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
92 | * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Remove. | |
93 | * config/powerpc/ppc-eabi.mt (DEPRECATED_TM_FILE): Remove. | |
94 | * config/powerpc/ppc-sim.mt (DEPRECATED_TM_FILE): Remove. | |
95 | * config/powerpc/tm-ppc-eabi.h: Remove file. | |
96 | * rs6000-tdep.c (rs6000_gdbarch_init): Add call to | |
97 | set_gdbarch_sofun_address_maybe_missing. | |
98 | ||
99 | * config/sparc/sol2-64.mt (DEPRECATED_TM_FILE): Remove. | |
100 | * config/sparc/sol2.mt (DEPRECATED_TM_FILE): Remove. | |
101 | * config/sparc/tm-sol2.h: Remove file. | |
102 | * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Add call to | |
103 | set_gdbarch_sofun_address_maybe_missing. | |
104 | * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Likewise. | |
105 | ||
149ad273 UW |
106 | 2007-10-19 Ulrich Weigand <uweigand@de.ibm.com> |
107 | ||
108 | * gdbarch.sh (static_transform_name): New gdbarch callback. | |
109 | * gdbarch.c, gdbarch.h: Regenerate. | |
110 | * dbxread.c (read_dbx_symtab): Use gdbarch_static_transform_name | |
111 | instead of STATIC_TRANSFORM_NAME. | |
112 | * mdebugread.c (parse_partial_symbols): Likewise. | |
113 | * stabsread.c (define_symbol): Likewise. | |
114 | * xcoffread.c (scan_xcoff_symtab): Likewise. | |
115 | ||
116 | * config/i368/tm-i386sol2.h (STATIC_TRANSFORM_NAME): Remove. | |
117 | (IS_STATIC_TRANSFORM_NAME): Remove. | |
118 | * i386-tdep.c (sunpro_static_transform_name): Remove, move to ... | |
119 | * i386-sol2-tdep.c (i386_sol2_static_transform_name): ... here. | |
120 | (i386_sol2_init_abi): Install it. | |
121 | ||
122 | * config/sparc/tm-sol2.h (STATIC_TRANSFORM_NAME): Remove. | |
123 | (IS_STATIC_TRANSFORM_NAME): Remove. | |
124 | * sparc-tdep.c (sparc_stabs_unglobalize_name): Remove, move to ... | |
125 | * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): ... here. | |
126 | (sparc32_sol2_init_abi): Install it. | |
127 | * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Likewise. | |
128 | * sparc-tdep.h (sparc_sol2_static_transform_name): Add prototype. | |
129 | ||
ba32f989 DJ |
130 | 2007-10-18 Daniel Jacobowitz <dan@codesourcery.com> |
131 | ||
132 | * mips-tdep.c (mips_xfer_register): Take a gdbarch argument. | |
133 | (mips_n32n64_return_value, mips_o32_return_value) | |
134 | (mips_o64_return_value): Update calls to mips_xfer_register. | |
135 | ||
11411de3 DJ |
136 | 2007-10-17 Daniel Jacobowitz <dan@codesourcery.com> |
137 | ||
138 | * frame.c (frame_unwind_unsigned_register): Delete. | |
139 | (frame_sp_unwind): Use frame_unwind_register_unsigned instead. | |
140 | * frame.h (frame_unwind_unsigned_register): Delete prototype. | |
141 | ||
142 | * alpha-linux-tdep.c, alpha-mdebug-tdep.c, alpha-tdep.c, | |
143 | avr-tdep.c, cris-tdep.c, frv-tdep.c, m68hc11-tdep.c, mn10300-tdep.c, | |
144 | mt-tdep.c: Replace frame_unwind_unsigned_register with | |
145 | frame_unwind_register_unsigned. | |
146 | ||
10325bc5 PA |
147 | 2007-10-16 Pedro Alves <pedro_alves@portugalmail.pt> |
148 | ||
149 | * config/i386/mingw.mh, config/i386/mingw.mt: New files. | |
150 | * configure.tgt (i[34567]86-*-mingw32*): Set gdb_target = mingw. | |
151 | * win32-nat.c: Only include cygwin.h on Cygwin host. Don't | |
152 | include procfs.h. | |
153 | (cygwin_load_start, cygwin_load_end, cygwin_exceptions): Disable | |
154 | if not building on Cygwin. | |
155 | (win32_make_so, handle_output_debug_string, handle_exception) | |
156 | (do_initial_win32_stuff): Wrap Cygwin specific code in __CYGWIN__. | |
157 | (win32_attach): Only fallback to Cygwin pids if building on | |
158 | Cygwin. | |
159 | (win32_pid_to_exec_file): Disable Cygwin specific code, if not | |
160 | building on Cygwin. | |
161 | (win32_create_inferior): Disable starting the inferior through a | |
162 | shell, environment var processing and tty handling if not building | |
163 | on Cygwin. | |
164 | (cygwin_pid_to_str): Rename to ... | |
165 | (win32_pid_to_str): ... this. | |
166 | (init_win32_ops): Update use of win32_pid_to_str. Disable "shell" | |
167 | and "cygwin-exceptions" commands if not building on Cygwin. | |
168 | ||
844781a1 GM |
169 | 2007-10-16 Gaius Mulley <gaius@glam.ac.uk> |
170 | ||
171 | * doc/gdb.texinfo: Add TSIZE definition, removed | |
172 | statement about unbounded arrays being unimplemented. | |
173 | * m2-valprint.c (m2_print_array_contents): New function. | |
174 | (m2_print_unbounded_array): New function. | |
175 | (m2_print_array_contents): New function. | |
176 | * m2-typeprint.c (m2_unbounded_array): New function. | |
177 | (m2_is_unbounded_array): New function. | |
178 | (m2_print_type): Test for unbounded array when walking | |
179 | across structs. | |
180 | * m2-lang.h: Added extern m2_is_unbounded_array. | |
181 | * m2-lang.c (evaluate_subexp_modula2): New function. | |
182 | (exp_descriptor_modula2): New structure. | |
183 | (m2_language_defn): Use exp_descriptor_modula2. | |
184 | * m2-exp.y: Added TSIZE and binary subscript. | |
185 | ||
62c018fe DJ |
186 | 2007-10-16 Daniel Jacobowitz <dan@codesourcery.com> |
187 | ||
188 | * mi/mi-main.c (captured_mi_execute_command): Clear mi_error_message | |
189 | after freeing it. | |
190 | ||
9ffbf372 KB |
191 | 2007-10-16 Kevin Buettner <kevinb@redhat.com> |
192 | ||
193 | * m32r-tdep.c (decode_prologue): Sign extend offset for | |
194 | "addi sp, xx" case. | |
195 | (m32r_frame_unwind_cache): Likewise. | |
196 | ||
6a16c029 TJB |
197 | 2007-10-15 Thiago Jung Bauermann <bauerman@br.ibm.com> |
198 | ||
199 | * rs6000-tdep.c (skip_prologue): Restore comment with | |
200 | function description to its proper place. | |
201 | ||
d71340b8 DJ |
202 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
203 | ||
204 | * NEWS: Mention gdbserver PowerPC improvements. | |
205 | ||
30ed0a8f DJ |
206 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
207 | ||
208 | * features/Makefile (WHICH): Add PowerPC register definitions. | |
209 | (rs6000/powerpc-32-expedite, rs6000/powerpc-e500-expedite) | |
210 | (rs6000/powerpc-64-expedite): New macros. | |
211 | ($(outdir)/%.dat): Handle subdirectories. | |
212 | * regformats/rs6000/powerpc-32.dat, regformats/rs6000/powerpc-64.dat, | |
213 | regformats/rs6000/powerpc-e500.dat: New generated files. | |
214 | ||
310a98e1 DJ |
215 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
216 | ||
217 | * ppc-linux-nat.c (ppc_linux_read_description): New. | |
218 | (_initialize_ppc_linux_nat): Set to_read_description. | |
219 | * ppc-tdep.h (tdesc_powerpc_e500): Declare. | |
220 | ||
7cc46491 DJ |
221 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
222 | ||
223 | * NEWS: Document target described register support for PowerPC. | |
224 | * ppc-tdep.h: Remove ppc_spr constants. | |
225 | (struct gdbarch_tdep): Remove regs, ppc_sr0_regnum, and | |
226 | ppc_builtin_type_vec128 members. | |
227 | (PPC_R0_REGNUM, PPC_F0_REGNUM, PPC_PC_REGNUM, PPC_MSR_REGNUM) | |
228 | (PPC_CR_REGNUM, PPC_LR_REGNUM, PPC_CTR_REGNUM, PPC_XER_REGNUM) | |
229 | (PPC_FPSCR_REGNUM, PPC_MQ_REGNUM, PPC_SPE_UPPER_GP0_REGNUM) | |
230 | (PPC_SPE_ACC_REGNUM, PPC_SPE_FSCR_REGNUM, PPC_VR0_REGNUM) | |
231 | (PPC_VSCR_REGNUM, PPC_VRSAVE_REGNUM, PPC_NUM_REGS): New constants. | |
232 | * rs6000-tdep.c: Include preparsed descriptions. | |
233 | (init_sim_regno_table): Do not iterate over pseudo registers. | |
234 | Look up segment registers by name. Use sim_spr_register_name | |
235 | for SPRs. | |
236 | (rs6000_register_sim_regno): Call init_sim_regno_table here. | |
237 | (rs6000_builtin_type_vec128): Delete. | |
238 | (rs6000_register_name): Only handle SPE pseudo registers and upper | |
239 | halves. Call tdesc_register_name for everything else. | |
240 | (rs6000_register_type): Delete. Replace with... | |
241 | (rs6000_pseudo_register_type): ...this new function. Only handle | |
242 | SPE pseudo registers. | |
243 | (rs6000_register_reggroup_p): Delete. Replace with... | |
244 | (rs6000_pseudo_register_reggroup_p): ...this new function. Only | |
245 | handle SPE pseudo registers. | |
246 | (rs6000_convert_register_p): Use ppc_fp0_regnum instead of | |
247 | "struct reg". | |
248 | (rs6000_register_to_value, rs6000_value_to_register): Remove check | |
249 | of reg->fpr. | |
250 | (e500_register_reggroup_p): Delete. | |
251 | (STR, R, R4, R8, R16, F, P8, R32, R64, R0, A4, S, S4, SN4, S64) | |
252 | (COMMON_UISA_REGS, PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS) | |
253 | (PPC_SEGMENT_REGS, PPC_OEA_SPRS, PPC_ALTIVEC_REGS, PPC_SPE_GP_REGS) | |
254 | (PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): Delete macros. | |
255 | (registers_powerpc, registers_403, registers_403GC, registers_505) | |
256 | (registers_860, registers_601, registers_602, registers_603) | |
257 | (registers_604, registers_750, registers_7400, registers_e500): Delete | |
258 | variables. | |
259 | (struct variant): Delete nregs, npregs, num_tot_regs, and regs. Add | |
260 | tdesc. | |
261 | (tot_num_registers, num_registers, num_pseudo_registers): Delete. | |
262 | (variants): Delete outdated comment. Use standard target descriptions | |
263 | instead of "struct reg" arrays. | |
264 | (init_variants): Delete. | |
265 | (rs6000_gdbarch_init): Do not guess word size from the BFD | |
266 | architecture if we have a target description. Select a variant | |
267 | before creating a new architecture. Use the variant's target | |
268 | description if the target did not define a register layout. | |
269 | Validate target-supplied registers. Reject mismatches. Use | |
270 | fixed register numbers and new constants instead of magic | |
271 | numbers. Call set_gdbarch_ps_regnum. Call tdesc_use_registers. | |
272 | (_initialize_rs6000_tdep): Initialize the preparsed target | |
273 | descriptions. | |
274 | * target-descriptions.c (tdesc_predefined_types): Add int128 and | |
275 | uint128. | |
276 | (tdesc_find_register_early): New function. | |
277 | (tdesc_numbered_register): Use it. | |
278 | (tdesc_register_size): New function. | |
279 | (tdesc_use_registers): Take a target_desc argument. Do not use | |
280 | gdbarch_target_desc. | |
281 | * target-descriptions.h (tdesc_use_registers): Update prototype | |
282 | and comment. | |
283 | (tdesc_register_size): New prototype. | |
284 | * Makefile.in (powerpc_32_c, powerpc_403_c, powerpc_403gc_c) | |
285 | (powerpc_505_c, powerpc_601_c, powerpc_602_c, powerpc_603_c) | |
286 | (powerpc_604_c, powerpc_64_c, powerpc_7400_c, powerpc_750_c) | |
287 | (powerpc_860_c, powerpc_e500_c, rs6000_c): New macros. | |
288 | (rs6000-tdep.o): Update. | |
289 | * arm-tdep.c (arm_gdbarch_init): Update call to tdesc_use_registers. | |
290 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
291 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
292 | ||
324300c0 DJ |
293 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
294 | ||
295 | * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c, | |
296 | features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c, | |
297 | features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c, | |
298 | features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c, | |
299 | features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c, | |
300 | features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c, | |
301 | features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: New | |
302 | generated files. | |
303 | ||
8dc35b87 DJ |
304 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
305 | ||
306 | * features/rs6000/power-altivec.xml, features/rs6000/power-core.xml, | |
307 | features/rs6000/power-fpu.xml, features/rs6000/power-oea.xml, | |
308 | features/rs6000/power-spe.xml, features/rs6000/power64-core.xml: New | |
309 | feature descriptions for standard PowerPC register sets. | |
310 | ||
311 | * features/rs6000/powerpc-32.xml, features/rs6000/powerpc-403.xml, | |
312 | features/rs6000/powerpc-403gc.xml, features/rs6000/powerpc-505.xml, | |
313 | features/rs6000/powerpc-601.xml, features/rs6000/powerpc-602.xml, | |
314 | features/rs6000/powerpc-603.xml, features/rs6000/powerpc-604.xml, | |
315 | features/rs6000/powerpc-64.xml, features/rs6000/powerpc-7400.xml, | |
316 | features/rs6000/powerpc-750.xml, features/rs6000/powerpc-860.xml, | |
317 | features/rs6000/powerpc-e500.xml, features/rs6000/rs6000.xml: New | |
318 | target descriptions for PowerPC processors. | |
319 | ||
81adfced DJ |
320 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
321 | ||
322 | * target-descriptions.c (tdesc_predefined_types): New. | |
323 | (tdesc_named_type): Use it. | |
324 | (tdesc_type_id, maint_print_c_tdesc_cmd): New functions. | |
325 | (_intialize_target_descriptions): Register "maint print c-tdesc". | |
326 | * features/Makefile (XMLTOC, CFILES, GDB): New macros. | |
327 | (cfiles, %.c): New rules. | |
328 | * features/arm-with-iwmmxt.c, features/mips-linux.c, | |
329 | features/mips64-linux.c: New generated files. | |
330 | ||
331 | * arm-linux-nat.c: Include preparsed description instead of | |
332 | "xml-support.h". | |
333 | (super_xfer_partial, arm_linux_xfer_partial): Remove. | |
334 | (arm_linux_read_description): New function. | |
335 | (_initialize_arm_linux_nat): Set to_read_description instead of | |
336 | to_xfer_partial. Initialize preparsed description. | |
337 | * config/arm/linux.mh (TDEP_XML): Delete. | |
338 | * mips-linux-nat.c: Include preparsed descriptions instead of | |
339 | "xml-support.h". | |
340 | (super_xfer_partial, mips_linux_xfer_partial): Remove. | |
341 | (mips_linux_read_description): New function. | |
342 | (_initialize_mips_linux_nat): Set to_read_description instead of | |
343 | to_xfer_partial. Initialize preparsed description. | |
344 | * config/mips/linux.mh (TDEP_XML): Delete. | |
345 | * Makefile.in (XMLFILES): Remove $(TDEP_XML). | |
346 | (features_headers, arm_with_iwmmxt_c, mips_linux_c) | |
347 | (mips64_linux_c): New macros. | |
348 | (arm-linux-nat.o, mips-linux-nat.o): Update. | |
349 | ||
0dfdb8ba PM |
350 | 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr> |
351 | ||
352 | * cp-abi.c (set_cp_abi_as_auto_default): ARI fix: | |
353 | Replace xasprintf by xstrprintf. | |
354 | symfile-mem.c (add_vsyscall_page): Ditto. | |
355 | ||
2685572f UW |
356 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
357 | ||
358 | * ia64-linux-nat.c (ia64_register_addr): Add gdbarch parameter, | |
359 | replacing use of global current_gdbarch. | |
360 | (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise. | |
361 | (ia64_linux_fetch_register, ia64_linux_store_register): Update callers. | |
362 | ||
363 | * ia64-tdep.c (SIGCONTEXT_REGISTER_ADDRESS): Remove macro. | |
364 | (ia64_sigtramp_frame_init_saved_regs): Add next_frame parameter, | |
365 | replace uses of SIGCONTEXT_REGISTER_ADDRESS. | |
366 | (ia64_sigtramp_frame_cache): Update caller. | |
367 | ||
c1874924 UW |
368 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
369 | ||
370 | * gdbarch.sh (deprecated_use_struct_convention): Remove. | |
371 | (extract_return_value, store_return_value): Remove. | |
372 | (return_value): Remove default implementation. | |
373 | * gdbarch.c, gdbarch.h: Regenerate. | |
374 | ||
375 | * stack.c (return_command): Remove compatibility hack. | |
376 | * arch-utils.c (legacy_return_value): Remove. | |
377 | * arch-utils.h (legacy_return_value): Likewise. | |
378 | ||
379 | * arch-utils.c (always_use_struct_convention): Remove. | |
380 | * arch-utils.h (always_use_struct_convention): Likewise. | |
381 | * value.c (generic_use_struct_convention): Remove. | |
382 | * defs.h (generic_use_struct_convention): Likewise. | |
383 | ||
4c8b6ae0 UW |
384 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
385 | ||
386 | * avr-tdep.c (avr_return_value): New function. | |
387 | (avr_gdbarch_init): Call set_gdbarch_return_value instead of | |
388 | set_gdbarch_extract_return_value. | |
389 | ||
390 | * fvr-tdep.c (frv_return_value): New function. | |
391 | (frv_gdbarch_init): Call set_gdbarch_return_value instead of | |
392 | set_gdbarch_extract_return_value, set_gdbarch_store_return_value, | |
393 | and set_gdbarch_deprecated_use_struct_convention. | |
394 | ||
395 | * ia64-tdep.c (ia64_use_struct_convention): Make static. | |
396 | Add check for structure, union, or array types. | |
397 | (ia64_extract_return_value): Make static. | |
398 | (ia64_store_return_value): Make static. Support multi-word values. | |
399 | (ia64_return_value): New function. | |
400 | (ia64_gdbarch_init): Call set_gdbarch_return_value instead of | |
401 | set_gdbarch_extract_return_value, set_gdbarch_store_return_value, | |
402 | and set_gdbarch_deprecated_use_struct_convention. | |
403 | ||
899cff7a JB |
404 | 2007-10-12 Joel Brobecker <brobecker@adacore.com> |
405 | ||
406 | * solib-target.c (solib_target_parse_libraries) | |
407 | [HAVEHAVE_LIBEXPAT not defined]: Fix thinko in return type. | |
408 | ||
d41ebd5d JB |
409 | 2007-10-12 Jim Blandy <jimb@codesourcery.com> |
410 | ||
411 | * serial.h (struct serial_ops): Document read_prim to return zero | |
412 | at EOF. | |
413 | * ser-base.c (do_ser_base_readchar): Return SERIAL_EOF when | |
414 | read_prim returns zero, not SERIAL_TIMEOUT. | |
415 | ||
62f6180c UW |
416 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
417 | ||
418 | * alpha-mdebug-tdep.c: Include "gdb_string.h". | |
419 | (find_proc_desc): Add fix-up code for setjmp procedure descriptor. | |
420 | * mdebugread.c (parse_procedure): Remove setjmp fix-up code. | |
421 | * Makefile.in (alpha-mdebug-tdep.o): Update dependencies. | |
422 | ||
423 | * config/alpha/alpha.mt (DEPRECATED_TM_FILE): Remove. | |
424 | * config/alpha/alpha-linux.mt (DEPRECATED_TM_FILE): Remove. | |
425 | * config/alpha/alpha-osf1.mt (DEPRECATED_TM_FILE): Remove. | |
426 | * config/alpha/fbsd.mt (DEPRECATED_TM_FILE): Remove. | |
427 | * config/alpha/tm-alpha.h: Remove file. | |
428 | ||
ee53e872 UW |
429 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
430 | ||
431 | * breakpoint.c (breakpoint_sals_to_pc): Do not check for | |
432 | DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE. | |
433 | ||
434 | * config/pa/tm-hppa.h: Delete file. | |
435 | * config/pa/hppa64.mt: Do not set DEPRECATED_TM_FILE. | |
436 | * config/pa/hppahpux.mt: Likewise. | |
437 | * config/pa/hppa.mt: Likewise. | |
438 | * config/pa/linux.mt: Likewise. | |
439 | * hppa-tdep.c (hppa_pc_requires_run_before_use): Delete. | |
440 | ||
3d5e6107 UW |
441 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
442 | ||
443 | * config/arm/nm-nbsdaout.h: Remove file. | |
444 | * config/nm-nbsdaout.h: Likewise. | |
445 | * config/nm-nbsd.h: Likewise. | |
446 | ||
82585c72 UW |
447 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
448 | ||
449 | * block.h (struct block): Remove "gcc_compile_flag" member. | |
450 | (BLOCK_GCC_COMPILED): Remove. | |
451 | * block.c (allocate_block): Do not clear BLOCK_GCC_COMPILED. | |
452 | * buildsym.c (finish_block): Do not set it. | |
453 | * symmisc.c (dump_symtab_1): Do not dump it. | |
454 | ||
455 | * value.h (using_struct_return): Remove "gcc_p" argument. | |
456 | * value.c (using_struct_return): Likewise. | |
457 | * eval.c (evaluate_subexp_standard): Adapt callers. | |
458 | * infcall.c (call_function_by_hand): Likewise. | |
459 | * stack.c (return_command): Likewise. | |
460 | * sparc-tdep.c (sparc32_push_dummy_code): Likewise. | |
461 | ||
462 | * gdbarch.sh (push_dummy_code): Remove "using_gcc" parameter. | |
463 | * gdbarch.c, gdbarch.h: Regenerate. | |
464 | * cris-tdep.c (cris_push_dummy_code): Adapt prototype. | |
465 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Likewise. | |
466 | * sparc-tdep.c (sparc32_push_dummy_code): Likewise. | |
467 | * infcall.c (generic_push_dummy_code, push_dummy_code): Likewise. | |
468 | (push_dummy_code, call_function_by_hand): Adapt callers. | |
469 | ||
8f536afe UW |
470 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
471 | ||
472 | * infcmd.c (print_return_value): Remove STRUCT_RETURN argument. | |
473 | (finish_command_continuation, finish_command): Adapt callers. | |
474 | ||
f156e33b UW |
475 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
476 | ||
477 | * infcall.c (call_function_by_hand): Remove special handling | |
478 | for HP aCC compiled code. | |
479 | ||
f6e56ab3 UW |
480 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
481 | ||
482 | * cris-tdep.c (cris_push_dummy_call): Support arguments passed by | |
483 | reference. Fix endianness bugs. | |
484 | (cris_reg_struct_has_address): Remove. | |
485 | (cris_gdbarch_init): Remove set_gdbarch_deprecated_reg_struct_has_addr | |
486 | and set_gdbarch_deprecated_use_struct_convention calls. | |
487 | ||
488 | * gdbarch.sh (deprecated_reg_struct_has_addr): Remove. | |
489 | * gdbarch.c, gdbarch.h: Regenerate. | |
490 | * infcall.c (call_function_by_hand): Remove handling of | |
491 | deprecated_reg_struct_has_addr. | |
492 | ||
b4c291bb KH |
493 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
494 | Kazu Hirata <kazu@codesourcery.com> | |
495 | ||
496 | * breakpoint.c (do_enable_breakpoint): Delay enabling until after | |
497 | checking watchpoint resources. | |
498 | ||
56cf5405 KH |
499 | 2007-10-11 Kazu Hirata <kazu@codesourcery.com> |
500 | ||
501 | * memattr.c (inaccessible_by_default): Change the initial | |
502 | value to 1. | |
503 | ||
3b016d57 DJ |
504 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
505 | ||
506 | PR gdb/2280 | |
507 | * coffread.c (read_one_sym): Check for read errors. | |
508 | ||
e9efe249 UW |
509 | 2007-10-11 Ulrich Weigand <uweigand@de.ibm.com> |
510 | ||
511 | * linux-nat.c (lin_lwp_attach_lwp): Use "Linux kernel 2.6.19" | |
512 | instead of "Linux 2.6.19" in comment. | |
513 | (linux_xfer_partial): Use "GNU/Linux target" instead of | |
514 | "Linux target" in comment. | |
515 | * m68klinux-tdep.c (m68k_linux_inferior_created): Likewise. | |
516 | (m68k_linux_get_sigtramp_info): Likewise. | |
517 | ||
b33682a7 DJ |
518 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
519 | ||
520 | * MAINTAINERS (language support): List Joel and Paul as | |
521 | Ada maintainers. | |
522 | ||
35156bae DJ |
523 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
524 | ||
525 | * dbxread.c (process_one_symbol): Remove VARIABLES_INSIDE_BLOCK | |
526 | checks. | |
527 | * config/arm/embed.mt, config/arm/linux.mt, config/arm/wince.mt: Do | |
528 | not set DEPRECATED_TM_FILE. | |
529 | * config/arm/tm-arm.h: Delete file. | |
530 | ||
3d47173c LM |
531 | 2007-10-11 Luis Machado <luisgpm@br.ibm.com> |
532 | ||
533 | * MAINTAINERS (Write After Approval): Add self. | |
534 | ||
607ae575 DJ |
535 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
536 | ||
537 | * buildsym.c (record_line): Remove empty lines followed by | |
538 | end-of-sequence markers. | |
539 | ||
b8d5e0ac KH |
540 | 2007-10-11 Kazu Hirata <kazu@codesourcery.com> |
541 | ||
542 | * configure.tgt: Recognize fido-*-elf. | |
543 | ||
86f26d2f | 544 | 2007-10-10 Joel Brobecker <brobecker@adacore.com> |
545 | ||
546 | GDB 6.7 released. | |
547 | ||
7500260a UW |
548 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
549 | ||
550 | * stack.c (print_frame_args, frame_info, return_command): Use | |
551 | get_regcache_arch or get_frame_arch to get at the current architecture | |
552 | by regcache or by frame, respectively. | |
553 | ||
8b164abb UW |
554 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
555 | ||
556 | * rs6000-nat.c (fetch_register, store_register) | |
557 | (rs6000_fetch_inferior_registers, rs6000_store_inferior_registers): Use | |
558 | get_regcache_arch to get at the current architecture by regcache. | |
559 | ||
560 | * rs6000-tdep.c (rs6000_push_dummy_call, rs6000_return_value) | |
561 | (rs6000_register_reggroup_p, e500_move_ev_registe, rs6000_unwind_pc) | |
562 | (rs6000_unwind_dummy_id, rs6000_frame_cache, rs6000_dump_tdep): Replace | |
563 | current_gdbarch by gdbarch. | |
564 | (rs6000_skip_trampoline_code, rs6000_register_to_value) | |
565 | (rs6000_value_to_register): Use get_frame_arch to get at the current | |
566 | architecture by frame_info. | |
567 | ||
e6d4f032 UW |
568 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
569 | ||
570 | * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow): Use | |
571 | get_regcache_arch to get at the current architecture by regcache. | |
572 | ||
573 | * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset) | |
574 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Use | |
575 | get_regcache_arch to get at the current architecture by regcache. | |
576 | ||
577 | * sparc64nbsd-nat. (sparc64nbsd_supply_gregset) | |
578 | (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset) | |
579 | (sparc64nbsd_collect_fpregset): Use get_regcache_arch to get at the | |
580 | current architecture by regcache. | |
581 | ||
2eb4d78b UW |
582 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
583 | ||
584 | * remote-mips.c (mips_wait, mips_fetch_registers) | |
585 | (mips_store_registers): Use get_regcache_arch to get at the | |
586 | current architecture by regcache. | |
587 | ||
588 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_fill_reg) | |
589 | (mipsnbsd_supply_fpreg, mipsnbsd_fill_fpreg): Use get_regcache_arch to | |
590 | get at the current architecture by regcache. | |
591 | (mipsnbsd_sigtramp_offset): Use get_frame_arch to get at the current | |
592 | architecture by frame_info. | |
593 | ||
594 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers) | |
595 | (mipsnbsd_store_inferior_registers): Use get_regcache_arch to get at | |
596 | the current architecture by regcache. | |
597 | ||
598 | * mips-linux-tdep.c (mips_linux_get_longjmp_target) | |
599 | (mips64_linux_get_longjmp_target, mips_linux_o32_sigframe_init) | |
600 | (mips_linux_n32n64_sigframe_init): Use get_frame_arch to get at the | |
601 | current architecture by frame_info. | |
602 | (supply_32bit_reg, mips_supply_gregset, mips_fill_gregset) | |
603 | (mips_supply_fpregset, mips_fill_fpregset, supply_64bit_reg) | |
604 | (mips64_supply_gregset, mips64_fill_gregset, mips64_supply_fpregset) | |
605 | (mips64_fill_fpregset, mips_linux_write_pc): Use get_regcache_arch to | |
606 | get at the current architecture by regcache. | |
607 | ||
608 | * mips-linux-nat.c (mips_linux_register_addr) | |
609 | (mips64_linux_register_addr): Replace current_gdbarch by gdbarch. | |
610 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset) | |
611 | (mips64_linux_regsets_fetch_registers) | |
612 | (mips64_linux_regsets_store_registers): Use get_regcache_arch to get at | |
613 | the current architecture by regcache. | |
614 | ||
615 | * mips64obsd-tdep.c (mips64obsd_sigframe_init): Use get_frame_arch to | |
616 | get at the current architecture by frame_info. | |
617 | ||
72a155b4 UW |
618 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
619 | ||
620 | * mips-tdep.c (mips_xfer_register): Use get_regcache_arch to get at the | |
621 | current architecture by regcache. | |
622 | (mips2_fp_compat, mips32_next_pc, mips16_scan_prologue) | |
623 | (mips_insn16_frame_cache, mips32_scan_prologue, mips_insn32_frame_cache) | |
624 | (mips_stub_frame_cache, mips_read_fp_register_single) | |
625 | (mips_read_fp_register_double, mips_print_fp_register) | |
626 | (mips_print_register, print_gp_register_row): Use get_frame_arch to get | |
627 | at the current architecture by frame_info. | |
628 | (mips_register_reggroup_p, mips_pseudo_register_read, mips_unwind_sp) | |
629 | (mips_pseudo_register_write, mips_register_type, mips_unwind_pc) | |
630 | (mips_unwind_dummy_id, mips_eabi_push_dummy_call) | |
631 | (mips_n32n64_push_dummy_call, mips_n32n64_return_value) | |
632 | (mips_o32_push_dummy_call, mips_o32_return_value) | |
633 | (mips_o64_push_dummy_call, mips_o64_return_value) | |
634 | (mips_print_registers_info, mips_dump_tdep): Replace current_gdbarch by | |
635 | gdbarch. | |
636 | ||
6b50c0b0 UW |
637 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
638 | ||
639 | * xtensa-tdep.c (xtensa_register_type, xtensa_pseudo_register_read) | |
640 | (xtensa_pseudo_register_write, xtensa_register_reggroup_p) | |
641 | (xtensa_unwind_pc, xtensa_unwind_dummy_id, xtensa_push_dummy_call) | |
642 | (xtensa_dump_tdep): Replace current_gdbarch by gdbarch. | |
643 | (xtensa_register_write_masked, xtensa_register_read_masked) | |
644 | (xtensa_supply_gregset, xtensa_store_return_value) | |
645 | (xtensa_extract_return_value): Use get_regcache_arch to get at the | |
646 | current architecture by regcache. | |
647 | (xtensa_frame_cache, call0_frame_get_reg_at_entry, call0_frame_cache) | |
648 | (xtensa_frame_prev_register): Use get_frame_arch to get at the current | |
649 | architecture by frame_info. | |
650 | ||
4be43953 DJ |
651 | 2007-10-10 Daniel Jacobowitz <dan@codesourcery.com> |
652 | ||
653 | * arm-tdep.c (struct arm_prologue_cache): Remove frameoffset. | |
654 | (thumb_analyze_prologue): Move pv_area_store_would_trash call | |
655 | out of loop. Do not set cache->frameoffset. | |
656 | (arm_scan_prologue): Use prologue-value mechanism. Do not set | |
657 | frameoffset. Simplify framesize. | |
658 | (arm_make_prologue_cache, arm_normal_frame_base): Do not use | |
659 | frameoffset. | |
660 | * arm-tdep.h (enum gdb_regnum): Add ARM_IP_REGNUM. | |
661 | ||
b4b61fdb DJ |
662 | 2007-10-10 Daniel Jacobowitz <dan@codesourcery.com> |
663 | ||
664 | * target.c (update_current_target): Call setup_target_debug. | |
665 | (push_target): Do not call it here. | |
666 | ||
8bb6c669 MS |
667 | 2007-10-09 Michael Snyder <msnyder@specifix.com> |
668 | ||
669 | * MAINTAINERS: Update my email address. | |
670 | ||
304fe255 UW |
671 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
672 | ||
673 | * xtensa-tdep.c: Replace following current-gdbarch based macros by | |
674 | their expression: | |
675 | (xtensa_pseudo_register_read) | |
676 | (xtensa_pseudo_register_write): XTENSA_TARGET_FLAGS. | |
677 | (ARG_NOF, ARG_1ST, xtensa_extract_return_value) | |
678 | (xtensa_store_return_value, xtensa_push_dummy_call): CALL_ABI. | |
679 | (xtensa_pseudo_register_read) | |
680 | (xtensa_pseudo_register_write): ISA_USE_WINDOWED_REGISTERS. | |
681 | (xtensa_breakpoint_from_pc): ISA_USE_DENSITY_INSTRUCTIONS. | |
682 | (xtensa_register_type, xtensa_supply_gregset, xtensa_frame_cache) | |
683 | (xtensa_frame_prev_register): NUM_AREGS. | |
684 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write, | |
685 | (xtensa_supply_gregset, xtensa_frame_cache, xtensa_frame_prev_register, | |
686 | (xtensa_extract_return_value, xtensa_store_return_value): WB_REGNUM. | |
687 | (xtensa_supply_gregset, xtensa_frame_cache) | |
688 | (xtensa_frame_prev_register): WS_REGNUM. | |
689 | (xtensa_supply_gregset): LBEG_REGNUM, LEND_REGNUM, LCOUNT_REGNUM, | |
690 | SAR_REGNUM, EXCCAUSE_REGNUM, EXCVADDR_REGNUM | |
691 | (xtensa_register_name, xtensa_register_type, xtensa_reg_to_regnum) | |
692 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write) | |
693 | (xtensa_register_reggroup_p): REGMAP. | |
694 | (call0_track_op): LITBASE_REGNUM. | |
695 | (xtensa_register_type, xtensa_reg_to_regnum, call0_frame_cache):A0_BASE | |
696 | (xtensa_supply_gregset, call0_frame_get_reg_at_entry) | |
697 | (xtensa_frame_prev_register, AREG_NUMBER) | |
698 | (xtensa_register_type): AR_BASE. | |
699 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write): FP_ALIAS. | |
700 | (AREG_NUMBER): AREGS_MASK, WB_MASK, A0_REGNUM. | |
701 | (ARG_1ST, xtensa_pseudo_register_read, xtensa_pseudo_register_write) | |
702 | (xtensa_frame_cache, xtensa_frame_prev_register) | |
703 | (xtensa_extract_return_value, xtensa_store_return_value) | |
704 | (xtensa_push_dummy_call, call0_frame_cache): A0_REGNUM. | |
705 | (xtensa_register_type, xtensa_pseudo_register_read, xtensa_frame_cache) | |
706 | (xtensa_pseudo_register_write, xtensa_unwind_dummy_id) | |
707 | (xtensa_frame_prev_register, xtensa_push_dummy_call) | |
708 | (call0_frame_cache): A1_REGNUM. | |
709 | (xtensa_extract_return_value, xtensa_store_return_value): A2_REGNUM. | |
710 | (xtensa_push_dummy_call): A4_REGNUM. | |
711 | (ARGS_FIRST_REG): A6_REGNUM. | |
712 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write) | |
713 | (xtensa_frame_prev_register): A15_REGNUM. | |
714 | * xtensa-tdep.h: Delete current_gdbarch based macros after replacing | |
715 | them in the appropriate source file: | |
716 | XTENSA_TARGET_FLAGS, SPILL_LOCATION, SPILL_SIZE, CALL_ABI, NUM_AREGS, | |
717 | ISA_USE_WINDOWED_REGISTERS, ISA_USE_DENSITY_INSTRUCTIONS, WB_REGNUM, | |
718 | ISA_USE_EXCEPTIONS, ISA_USE_EXT_L32R, DEBUG_DATA_VADDR_TRAP_COUNT, | |
719 | DEBUG_INST_VADDR_TRAP_COUNT, ISA_MAX_INSN_SIZE, DEBUG_NUM_IBREAKS, | |
720 | DEBUG_NUM_DBREAKS, WS_REGNUM, LBEG_REGNUM, LEND_REGNUM, SAR_REGNUM, | |
721 | REGMAP, LITBASE_REGNUM, DEBUGCAUSE_REGNUM, EXCCAUSE_REGNUM, AR_BASE, | |
722 | EXCVADDR_REGNUM, NUM_IBREAKS, REGMAP_BYTES, NUM_CONTEXTS, FP_ALIAS, | |
723 | FP_LAYOUT, FP_LAYOUT_BYTES, GREGMAP, AREGS_MASK, WB_MASK, A0_REGNUM, | |
724 | A1_REGNUM, A2_REGNUM, A3_REGNUM, A4_REGNUM, A5_REGNUM, A6_REGNUM, | |
725 | A7_REGNUM, A8_REGNUM, A9_REGNUM, A10_REGNUM, A11_REGNUM, A12_REGNUM, | |
726 | A13_REGNUM, A14_REGNUM, A15_REGNUM. | |
727 | ||
ea78bae4 UW |
728 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
729 | ||
730 | * h8300-tdep.c (h8300_frame_cache): Use get_frame_arch to get at | |
731 | the current architecture by frame_info. | |
732 | (h8300_frame_prev_register | |
733 | (h8300_print_register): Replace current_gdbarch by gdbarch. | |
734 | (h8300_print_registers_info, h8300_register_type) | |
735 | (h8300_register_type): Likewise. | |
736 | ||
875f8d0e UW |
737 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
738 | ||
739 | * i386-linux-nat.c (fetch_register): Use get_regcache_arch to get at | |
740 | the current architecture by regcache. | |
741 | (store_register, supply_gregset, fill_gregset, i386_linux_resume) | |
742 | (i386_linux_fetch_inferior_registers) | |
743 | (i386_linux_store_inferior_registers): Likewise. | |
744 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise. | |
745 | * i386-nto-tdep.c (i386nto_supply_gregset): Likewise. | |
746 | * i386v4-nat.c (supply_fpregset, fill_fpregset): Likewise. | |
747 | * i386-tdep.c (i386_unwind_pc): Replace current_gdbarch by gdbarch. | |
748 | (i386_extract_return_value, i386_store_return_value): Likewise. | |
749 | * i386-tdep.c (i386_frame_prev_register): Use get_frame_arch to get at | |
750 | the current architecture by frame_info. | |
751 | (i386_sigtramp_frame_cache, i386_get_longjmp_target) | |
752 | (i386_register_to_value, i386_value_to_register): Likewise. | |
753 | ||
9b072297 UW |
754 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
755 | ||
756 | * monitor.c (monitor_supply_register): Use get_regcache_arch to get at | |
757 | the current architecture by regcache. | |
758 | (monitor_store_register, monitor_store_registers): Likewise. | |
759 | ||
e76e7474 UW |
760 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
761 | ||
762 | * dbug-rom.c (dbug_supply_register): Use get_regcache_arch to get at | |
763 | the current architecture by regcache. | |
764 | ||
d4f91178 UW |
765 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
766 | ||
767 | * arch-utils.c (legacy_return_value): Replace current_gdbarch by | |
768 | gdbarch. | |
769 | ||
b1bd0044 UW |
770 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
771 | ||
772 | * frame.c (frame_pc_unwind): Use get_frame_arch to get at the current | |
773 | architecture by frame. | |
774 | (frame_save_as_regcache, frame_register_unwind, get_prev_frame_1) | |
775 | (inside_main_func, frame_sp_unwind): Likewise. | |
776 | ||
2ec9a4f8 DJ |
777 | 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com> |
778 | ||
779 | * solib-svr4.c (enable_break): Add the dynamic linker also if | |
780 | auxv succeeds. | |
781 | ||
7068dd53 CES |
782 | 2007-10-09 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
783 | ||
784 | * MAINTAINERS (Write After Approval): Add self. | |
785 | ||
51e9e0d4 PA |
786 | 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt> |
787 | ||
788 | * stabsread.c (read_huge_number): Initialize local variable to 0. | |
789 | ||
cd6c7346 PM |
790 | 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr> |
791 | ||
792 | * p-lang.h (pascal_main_name): Add declaration. | |
793 | * p-lang.c (GPC_P_INITIALIZE, GPC_MAIN_PROGRAM_NAME_1) | |
794 | (GPC_MAIN_PROGRAM_NAME_2): New constants. | |
795 | (pascal_main_name): New function. | |
796 | * symtab.c: Include p-lang.h. | |
797 | (find_main_name): Add call to pascal_main_name. | |
798 | * Makefile.in (symtab.o): Add dependency on p-lang.h. | |
799 | ||
a2699720 PA |
800 | 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt> |
801 | ||
802 | * stabsread.c (read_huge_number): Fix handling of octal | |
803 | representation when the bit width is known. | |
804 | (read_range_type): Record unsigned integral types with their size, | |
805 | when the type size is known. | |
806 | ||
e05ebff4 TJB |
807 | 2007-10-08 Thiago Jung Bauermann <bauerman@br.ibm.com> |
808 | ||
809 | * MAINTAINERS (Write After Approval): Add self. | |
810 | ||
0c6773c1 PM |
811 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
812 | ||
813 | * breakpoint.c (print_one_breakpoint_location): ARI fix: | |
814 | Replace asprintf by xstrprintf. | |
815 | ||
91c06669 PM |
816 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
817 | ||
818 | * linux-fork.c: ARI fix: include "gdb_dirent.h" instead of <dirent.h>. | |
819 | Makefile.in (linux-fork.o): Add gdb_dirent.h dependency. | |
820 | ||
3c61c145 PM |
821 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
822 | ||
823 | * linux-fork.c: Move "gdb_wait.h" include back to the position of | |
824 | <sys/wait.h> include before last commit. | |
825 | ||
313628cc MR |
826 | 2007-10-08 Maciej W. Rozycki <macro@mips.com> |
827 | ||
828 | * mips-tdep.c (mips32_next_pc): Fix a typo in BGTZL. | |
829 | ||
c7f30c7a UW |
830 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
831 | ||
832 | * aix-thread.c (supply_gprs64, supply_fprs, supply_sprs64) | |
833 | (supply_sprs32, fetch_regs_user_thread, fetch_regs_kernel_thread) | |
834 | (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32) | |
835 | (store_regs_user_thread, store_regs_kernel_thread): Use | |
836 | get_regcache_arch or get_frame_arch to get at the current architecture | |
837 | by regcache or by frame, respectively. | |
838 | ||
58643501 UW |
839 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
840 | ||
841 | * sh64-tdep.c (sh64_push_dummy_call, sh64_register_type) | |
842 | (sh64_pseudo_register_read, sh64_pseudo_register_write) | |
843 | (sh64_do_fp_register, sh64_do_pseudo_register, sh64_do_register) | |
844 | (sh64_print_register, sh64_media_print_registers_info) | |
845 | (sh64_compact_print_registers_info, sh64_unwind_sp) | |
846 | (sh64_unwind_pc): Replace current_gdbarch by gdbarch. | |
847 | (sh64_show_media_regs, sh64_show_compact_regs, sh64_frame_cache) | |
848 | (sh64_frame_prev_register): Use FRAME to recognize current | |
849 | architecture. | |
850 | ||
b47193f7 UW |
851 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
852 | ||
853 | * sh-tdep.c (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu) | |
854 | (sh_sh2a_register_type, sh_sh3e_register_type, sh_sh4_register_type) | |
855 | (sh_register_reggroup_p, sh_dwarf2_frame_init_reg): Replace | |
856 | current_gdbarch by gdbarch. | |
857 | (sh_generic_show_regs, sh3_show_reg, sh2e_show_regs, sh2a_show_regs) | |
858 | (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs) | |
859 | (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs, sh_frame_cache) | |
860 | (sh_frame_prev_register, sh_unwind_sp, sh_unwind_pc): Use FRAME to | |
861 | recognize current architecture. | |
862 | ||
4a22f64d UW |
863 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
864 | ||
865 | * remote.c (init_remote_state, fetch_register_using_p) | |
866 | (process_g_packet, remote_fetch_registers, remote_prepare_to_store) | |
867 | (store_register_using_P, store_registers_using_G) | |
868 | (remote_store_registers): Use get_regcache_arch or get_frame_arch to | |
869 | get at the current architecture by regcache or by frame, respectively. | |
870 | ||
c984b7ff UW |
871 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
872 | ||
873 | * m68k-tdep.c (m68k_register_to_value, m68k_value_to_register) | |
874 | (m68k_svr4_extract_return_value, m68k_svr4_store_return_value) | |
875 | (m68k_frame_prev_register, m68k_get_longjmp_target): Use | |
876 | get_regcache_arch or get_frame_arch to get at the current architecture | |
877 | by regcache or by frame, respectively. | |
878 | * m68klinux-tdep.c (m68k_linux_sigtramp_frame_cache): Likewise. | |
879 | * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers) | |
880 | (store_register, old_store_inferior_registers, supply_gregset) | |
881 | (supply_fpregset, fill_fpregset): Likewise. | |
882 | * m68k-tdep.c (m68k_register_type, m68k_unwind_pc, m68k_dump_tdep): | |
883 | Replace current_gdbarch by gdbarch. | |
884 | ||
d611717a UW |
885 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
886 | ||
887 | * irix5-nat.c (supply_gregset, fill_gregset, supply_fpregset) | |
888 | (fill_fpregset, fetch_core_registers): Use get_regcache_arch or | |
889 | get_frame_arch to get at the current architecture by regcache or by | |
890 | frame, respectively. | |
891 | ||
088568da UW |
892 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
893 | ||
894 | * ia64-tdep.c (ia64_pseudo_register_read, ia64_pseudo_register_write): | |
895 | Replace current_gdbarch by gdbarch. | |
896 | * ia64-tdep.c (ia64_frame_prev_register | |
897 | (ia64_sigtramp_frame_prev_register) | |
898 | (ia64_libunwind_frame_prev_register): Use get_regcache_arch or | |
899 | get_frame_arch to get at the current architecture by regcache or by | |
900 | frame, respectively. | |
901 | * ia64-linux-nat.c (ia64_linux_fetch_register) | |
902 | (ia64_linux_fetch_registers, ia64_linux_store_register) | |
903 | (ia64_linux_store_registers): Likewise. | |
904 | ||
464963c9 UW |
905 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
906 | ||
907 | * hppa-tdep.c (hppa_stub_unwind_sniffer, hppa_dump_tdep): Replace | |
908 | current_gdbarch by gdbarch. | |
909 | * hppa-linux-nat.c (fetch_register, store_register) | |
910 | (hppa_linux_fetch_inferior_registers) | |
911 | (hppa_linux_store_inferior_registers): Use get_regcache_arch or | |
912 | get_frame_arch to get at the current architecture by regcache or by | |
913 | frame, respectively. | |
914 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code | |
915 | (hppa_hpux_unwind_adjust_stub): Likewise. | |
916 | * hppa-hpux-nat.c (hppa_hpux_fetch_register, hppa_hpux_store_register) | |
917 | (hppa_hpux_fetch_inferior_registers) | |
918 | (hppa_hpux_store_inferior_registers): Likewise. | |
919 | ||
7fbe2eba UW |
920 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
921 | ||
922 | * cris-tdep.c (cris_sigcontext_addr, cris_sigtramp_frame_unwind_cache) | |
923 | (cris_scan_prologue, crisv32_scan_prologue, find_step_target) | |
924 | (cris_software_single_step, cris_supply_gregset): Use get_regcache_arch | |
925 | or get_frame_arch to get at the current architecture by regcache or by | |
926 | frame, respectively. | |
927 | * cris-tdep.c (crisv32_single_step_through_delay, cris_push_dummy_call) | |
928 | (cris_unwind_pc, cris_unwind_sp, cris_register_type, cris_dump_tdep) | |
929 | (crisv32_register_type, cris_dwarf2_frame_init_reg): Replace | |
930 | current_gdbarch by gdbarch. | |
931 | ||
2af46ca0 UW |
932 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
933 | ||
934 | * arm-tdep.c (arm_scan_prologue, arm_make_prologue_cache) | |
935 | (thumb_get_next_pc, arm_get_next_pc, arm_extract_return_value) | |
936 | (arm_store_return_value): Use get_regcache_arch or get_frame_arch to | |
937 | get at the current architecture by regcache or by·frame, respectively. | |
938 | (arm_push_dummy_call, arm_dump_tdep): Replace current_gdbarch by | |
939 | gdbarch. | |
940 | ||
2ae02b47 UW |
941 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
942 | ||
943 | * amd64-tdep.c (amd64_frame_prev_register, amd64_sigtramp_frame_cache): | |
944 | Use get_regcache_arch or get_frame_arch to get at the current | |
945 | architecture by regcache or by frame, respectively. | |
946 | * amd64-linux-tdep.c (amd64_linux_sigcontext_addr): Likewise. | |
947 | * amd64-nat.c (amd64_supply_native_gregset) | |
948 | (amd64_collect_native_gregset): Replace current_gdbarch by gdbarch. | |
949 | ||
ec7cc0e8 UW |
950 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
951 | ||
952 | * alpha-tdep.c (alpha_register_reggroup_p): Replace current_gdbarch by | |
953 | gdbarch. | |
954 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. | |
955 | (alpha_sigtramp_frame_unwind_cache, alpha_sigtramp_frame_this_id) | |
956 | (alpha_sigtramp_frame_sniffer, alpha_next_pc): Use get_regcache_arch or | |
957 | get_frame_arch to get at the current architecture by regcache or by | |
958 | frame, respectively. | |
959 | * alpha-nat.c (fetch_osf_core_registers): Likewise. | |
960 | ||
ad010def UW |
961 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
962 | ||
963 | * dwarf2-frame.c (read_reg, execute_cfa_program, dwarf2_frame_cache) | |
964 | (dwarf2_frame_default_init_reg, dwarf2_frame_prev_register): Replace | |
965 | current_gdbarch by gdbarch. | |
966 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Likewise. | |
967 | ||
214e098a UW |
968 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
969 | ||
970 | * regcache.c (init_regcache_descr, register_type, read_pc_pid) | |
971 | (write_pc_pid, regcache_dump): Replace current_gdbarch by gdbarch. | |
972 | * regcache.c (regcache_raw_write): Use get_regcache_arch or | |
973 | get_frame_arch to get at the current architecture by regcache or by | |
974 | frame, respectively. | |
975 | ||
e9e45075 UW |
976 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
977 | ||
978 | * findvar.c (value_of_register, locate_var_value): Use | |
979 | get_regcache_arch or get_frame_arch to get at the current architecture | |
980 | by regcache or by frame, respectively. | |
981 | * findvar.c (default_value_from_register, value_from_register): Replace | |
982 | current_gdbarch by gdbarch. | |
983 | ||
136855cd PM |
984 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
985 | ||
986 | * config/i386/nm-i386.h (CHILD_POST_STARTUP_INFERIOR): ARI fix: Remove. | |
987 | ||
cdf43007 PM |
988 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
989 | ||
990 | * linux-fork.c: ARI fix: include "gdb_wait.h" instead of <sys/wait.h>. | |
991 | Makefile.in (linux-fork.o): Add gdb_wait.h dependency. | |
992 | ||
9ef895d6 DJ |
993 | 2007-10-05 Daniel Jacobowitz <dan@codesourcery.com> |
994 | ||
995 | * remote.c (get_offsets): Only call free_symfile_segment_data if | |
996 | data was allocated. | |
997 | ||
cada2e7b PM |
998 | 2007-10-03 Pierre Muller <muller@ics.u-strasbg.fr> |
999 | ||
1000 | * objc-exp.y: ARI fix: remove 4 PARAMS. | |
1001 | ||
8d5f9c6f DJ |
1002 | 2007-10-03 Daniel Jacobowitz <dan@codesourcery.com> |
1003 | ||
1004 | * NEWS: Use uniform spacing. Correct version number for GDB 6.7 | |
1005 | news. Mention XML support for M68K in GDB 6.7. | |
1006 | ||
1969d2ed DJ |
1007 | 2007-10-03 Daniel Jacobowitz <dan@codesourcery.com> |
1008 | ||
1009 | * gdbtypes.c (create_range_type): Do not set TYPE_FIELD_TYPE for the | |
1010 | bounds. | |
1011 | (init_vector_type): Use builtin_type_int32. | |
1012 | ||
e31dcd20 UW |
1013 | 2007-10-02 Ulrich Weigand <uweigand@de.ibm.com> |
1014 | ||
1015 | * s390-tdep.c (s390_regset_from_core_section): Allow excess section | |
1016 | size to enable bi-arch generate-core-file support. | |
1017 | ||
b94c4f7d UW |
1018 | 2007-10-02 Markus Deuling <deuling@de.ibm.com> |
1019 | ||
1020 | * spu-tdep.c (info_spu_signal_command): Fix output for SPU signal. | |
1021 | ||
9612b5ec UW |
1022 | 2007-10-02 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
1023 | ||
1024 | * tui/tui-interp.c (tui_init): Initialize tui's SIGWINCH | |
1025 | signal handler. | |
1026 | * tui/tui-win.c (tui_initialize_win): New function for | |
1027 | initializing tui's SIGWINCH signal handler. | |
1028 | * tui/tui-win.h (tui_initialize_win): Declare. | |
1029 | ||
407f1a2e UW |
1030 | 2007-10-02 Ulrich Weigand <uweigand@de.ibm.com> |
1031 | ||
1032 | * ppc-linux-nat.c (ppc_linux_stopped_data_address): Cast | |
1033 | pointer to uintptr_t before casting to CORE_ADDR. | |
1034 | ||
02d3ff8c UW |
1035 | 2007-10-02 Markus Deuling <deuling@de.ibm.com> |
1036 | ||
1037 | * linux-nat.c (PTRACE_GETSIGINFO): Add define. | |
1038 | ||
4577549b DJ |
1039 | 2007-10-02 Mark Mitchell <mark@codesourcery.com> |
1040 | ||
1041 | * mingw-hdep.c (gdb_select): Stop helper threads before returning. | |
1042 | * ser-mingw.c (enum select_thread_state): New type. | |
1043 | (struct ser_console_state): Add have_started and thread_state. | |
1044 | (select_thread_wait): New function. | |
1045 | (thread_fn_type): New type. | |
1046 | (create_select_thread): New function. | |
1047 | (destroy_select_thread): Likewise. | |
1048 | (start_select_thread): Likewise. | |
1049 | (stop_select_thread): Likewise. | |
1050 | (console_select_thread): Use new functions. | |
1051 | (pipe_select_thread): Likewise. | |
1052 | (file_select_thread): Likewise. | |
1053 | (ser_console_wait_handle): Likewise. | |
1054 | (ser_console_done_wait_handle): Likewise. | |
1055 | (ser_console_close): Likewise. | |
1056 | (free_pipe_state): Likewise. | |
1057 | (pipe_wait_handle): Likewise. | |
1058 | (pipe_done_wait_handle): Likewise. | |
1059 | (struct net_windows_state): Derive from ser_console_state. | |
1060 | (net_windows_select_thread): Use new functions. | |
1061 | (net_windows_wait_handle): Likewise. | |
1062 | (net_windows_done_wait_handle): Likewise. | |
1063 | (net_windows_close): Likewise. | |
1064 | ||
b0b951d9 DJ |
1065 | 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com> |
1066 | ||
1067 | * inflow.c (terminal_ours_1): Remove useless line. | |
1068 | ||
82e91389 DJ |
1069 | 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com> |
1070 | ||
1071 | * mips-tdep.c (mips_read_fp_register_double): Correct check for | |
1072 | odd FP registers. | |
1073 | (mips_print_fp_register): Correct check for even FP registers. | |
1074 | (mips_virtual_frame_pointer): New function. | |
1075 | (mips_gdbarch_init): Call set_gdbarch_virtual_frame_pointer. | |
1076 | ||
c4a3d09a MF |
1077 | 2007-09-30 Mike Frysinger <vapier@gentoo.org> |
1078 | ||
1079 | * value.h (lookup_only_internalvar): New prototype. | |
1080 | (create_internalvar): Likewise. | |
1081 | * value.c (lookup_only_internalvar): New function. | |
1082 | (create_internalvar): Likewise. | |
1083 | (lookup_internalvar): Use new lookup_only_internalvar and | |
1084 | create_internalvar functions. | |
1085 | * parse.c (write_dollar_variable): Look up $ symbols in internal | |
1086 | table first rather than last. | |
1087 | ||
9f0bdab8 DJ |
1088 | 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com> |
1089 | ||
1090 | * linux-nat.c (linux_nat_new_thread): New variable. | |
1091 | (linux_child_follow_fork): Set inferior_ptid to include LWP ID. Use | |
1092 | linux_nat_switch_fork. | |
1093 | (lwp_list): Make public. | |
1094 | (add_lwp): Call linux_nat_new_thread. | |
1095 | (lin_lwp_attach_lwp, linux_nat_attach): Call add_lwp after stopping | |
1096 | the new thread. | |
1097 | (resume_callback): Clear lp->siginfo. Remove unused variable. | |
1098 | (linux_nat_resume): Assert that the LWP list is already initialized. | |
1099 | Clear lp->siginfo. | |
1100 | (save_siginfo): New. | |
1101 | (stop_wait_callback, linux_nat_wait): Call it. | |
1102 | (linux_nat_set_new_thread, linux_nat_get_siginfo): New. | |
1103 | * linux-nat.h (struct lwp_info): Add siginfo. | |
1104 | (lwp_list, linux_nat_set_new_thread, linux_nat_get_siginfo): Declare. | |
1105 | (ALL_LWPS): Define. | |
1106 | ||
1107 | * amd64-linux-nat.c (amd64_linux_dr): New. | |
1108 | (amd64_linux_dr_get): Take a PTID argument. Correct typo. | |
1109 | (amd64_linux_dr_set): Take a PTID argument. | |
1110 | (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use ALL_LWPS. | |
1111 | (amd64_linux_dr_reset_addr): Use amd64_linux_dr_set_addr. | |
1112 | (amd64_linux_dr_get_status): Pass inferior_ptid to amd64_linux_dr_get. | |
1113 | (amd64_linux_new_thread): New. | |
1114 | (_initialize_amd64_linux_nat): Call linux_nat_set_new_thread. | |
1115 | * i386-linux-nat.c (i386_linux_dr): New. | |
1116 | (i386_linux_dr_get, i386_linux_dr_set): Take a PTID argument. | |
1117 | (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use ALL_LWPS. | |
1118 | (i386_linux_dr_reset_addr): Use i386_linux_dr_set_addr. | |
1119 | (i386_linux_dr_get_status): Pass inferior_ptid to i386_linux_dr_get. | |
1120 | (i386_linux_new_thread): New. | |
1121 | (i386_linux_resume): Remove unnecessary PID check. | |
1122 | (_initialize_i386_linux_nat): Call linux_nat_set_new_thread. | |
1123 | * ia64-linux-nat.c (enable_watchpoints_in_psr): Take PTID argument. | |
1124 | (fetch_debug_register, fetch_debug_register_pair): Delete. | |
1125 | (debug_registers): New. | |
1126 | (ia64_linux_insert_watchpoint, ia64_linux_remove_watchpoint): Use | |
1127 | ALL_LWPS and debug_registers. | |
1128 | (ia64_linux_new_thread): New. | |
1129 | (ia64_linux_stopped_data_address): Use linux_nat_get_siginfo. | |
1130 | (_initialize_ia64_linux_nat): Call linux_nat_set_new_thread. | |
1131 | * ppc-linux-nat.c (last_stopped_data_address): Delete. | |
1132 | (saved_dabr_value): New. | |
1133 | (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use | |
1134 | ALL_LWPS. | |
1135 | (ppc_linux_new_thread): New. | |
1136 | (ppc_linux_stopped_data_address): Use linux_nat_get_siginfo. | |
1137 | (ppc_linux_stopped_by_watchpoint): Call ppc_linux_stopped_data_address. | |
1138 | (_initialize_ppc_linux_nat): Call linux_nat_set_new_thread. | |
1139 | * s390-nat.c (s390_stopped_by_watchpoint): Clear the watchpoint status | |
1140 | after reading it. | |
1141 | (s390_fix_watch_points): Take a PTID argument. | |
1142 | (s390_insert_watchpoint, s390_remove_watchpoint): Use ALL_LWPS. | |
1143 | (_initialize_s390_nat): Call linux_nat_set_new_thread. | |
1144 | ||
d983da9c DJ |
1145 | 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com> |
1146 | Jeff Johnston <jjohnstn@redhat.com> | |
1147 | ||
1148 | * breakpoint.c (watchpoints_triggered): New. | |
1149 | (bpstat_stop_status): Remove STOPPED_BY_WATCHPOINT argument. | |
1150 | Check watchpoint_triggered instead. Combine handling for software | |
1151 | and hardware watchpoints. Do not use target_stopped_data_address | |
1152 | here. Always check a watchpoint if its scope breakpoint triggers. | |
1153 | Do not stop for thread or overlay events. Improve check for | |
1154 | triggered watchpoints without a value change. | |
1155 | (watch_command_1): Insert the scope breakpoint first. Link the | |
1156 | scope breakpoint to the watchpoint. | |
1157 | * breakpoint.h (enum watchpoint_triggered): New. | |
1158 | (struct breakpoint): Add watchpoint_triggered. | |
1159 | (bpstat_stop_status): Update prototype. | |
1160 | (watchpoints_triggered): Declare. | |
1161 | * infrun.c (enum infwait_status): Add infwait_step_watch_state. | |
1162 | (stepped_after_stopped_by_watchpoint): Delete. | |
1163 | (handle_inferior_event): Make stepped_after_stopped_by_watchpoint | |
1164 | local. Handle infwait_step_watch_state. Update calls to | |
1165 | bpstat_stop_status. Use watchpoints_triggered to check | |
1166 | watchpoints. | |
1167 | * remote.c (stepped_after_stopped_by_watchpoint): Remove extern. | |
1168 | (remote_stopped_data_address): Do not check it. | |
1169 | ||
7921a279 DJ |
1170 | 2007-09-29 Daniel Jacobowitz <dan@codesourcery.com> |
1171 | ||
1172 | * configure.ac: Add $LIBINTL when testing libbfd. | |
1173 | * configure: Regenerated. | |
1174 | ||
fe6fbf8b VP |
1175 | 2007-09-28 Vladimir Prus <vladimir@codesourcery.com> |
1176 | ||
1177 | * NEW: Mention pending breakpoint changes and | |
1178 | support for breakpoints at multiple locations. | |
1179 | ||
daddc3c1 DJ |
1180 | 2007-09-27 Daniel Jacobowitz <dan@codesourcery.com> |
1181 | ||
1182 | * arm-linux-tdep.c (arm_linux_software_single_step): New. | |
1183 | (arm_linux_init_abi): Use it. | |
1184 | * arm-tdep.c (arm_get_next_pc): Make global. Handle all-ones | |
1185 | condition correctly. | |
1186 | * arm-tdep.h (arm_get_next_pc): Declare. | |
1187 | * Makefile.in (arm-linux-tdep.o): Update. | |
1188 | ||
7a4d50bf VP |
1189 | 2007-09-26 Vladimir Prus <vladimir@codesourcery.com> |
1190 | ||
1191 | * varobj.c (install_new_value): Don't | |
1192 | call value_get_print_value when a value is | |
1193 | lazy. Update the print_value member in a | |
1194 | single place. | |
1195 | ||
d32a6982 VP |
1196 | 2007-09-26 Vladimir Prus <vladimir@codesourcery.com> |
1197 | ||
1198 | * breakpoint.c (create_breakpoint): Set | |
1199 | condition on each location, not on the first | |
1200 | location of breakpoint. | |
1201 | ||
489eaeba JB |
1202 | 2007-09-26 Jim Blandy <jimb@codesourcery.com> |
1203 | ||
1204 | * remote.c (getpkt_sane): Fix error message. No animals were | |
1205 | harmed in the making of this debugger. | |
1206 | ||
3e9313ab PM |
1207 | 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr> |
1208 | ||
1209 | * p-typeprint.c: Fix 11 ARI reported problems. | |
1210 | (pascal_print_type): Fix 4 operator at end of line. | |
1211 | (pascal_type_print_method_args) : Replace 2 DEPRECATED_STREQN macros | |
1212 | using strncmp function. | |
1213 | (pascal_type_print_base): Fix 2 operator at end of line. | |
1214 | (pascal_type_print_base) : Replace 3 DEPRECATED_STREQN macros | |
1215 | using strncmp function. | |
1216 | ||
1217 | ||
5b8101ae PM |
1218 | 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr> |
1219 | ||
1220 | * Fix PR pascal/2231 | |
1221 | dwarf2read.c (read_subroutine_type): | |
1222 | All pascal functions are prototyped. | |
1223 | ||
c45f11da PM |
1224 | 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr> |
1225 | ||
1226 | * Fix PR pascal/2283 | |
1227 | p-valprint.c (pascal_val_print): correct current language check. | |
1228 | Also print array of char as strings. | |
1229 | ||
1230 | ||
59aa1faa MR |
1231 | 2007-09-26 David Ung <davidu@mips.com> |
1232 | Maciej W. Rozycki <macro@mips.com> | |
1233 | ||
1234 | * mips-tdep.c (mips_n32n64_return_value): Fix a comment. | |
1235 | ||
0b058123 PM |
1236 | 2007-09-25 Pierre Muller <muller@ics.u-strasbg.fr> |
1237 | ||
1238 | * p-exp.y: Fix 12 ARI reported problems. | |
1239 | (name_not_typename): Fix 2 operator at end of line issues. | |
1240 | (yylex): Fix 3 operator at end of line issues. | |
1241 | Replace 7 DEPRECATED_STREQ macros using strcmp function. | |
1242 | ||
b18bb924 MR |
1243 | 2007-09-25 David Ung <davidu@mips.com> |
1244 | Maciej W. Rozycki <macro@mips.com> | |
1245 | ||
1246 | * mips-tdep.c (mips_n32n64_return_value): Per N32/N64 ABI | |
1247 | rules return composite types in registers as appropriate. | |
1248 | ||
28c32713 JB |
1249 | 2007-09-24 Jim Blandy <jimb@codesourcery.com> |
1250 | ||
1251 | * symfile.h (struct symfile_segment_data): Doc fixes. | |
1252 | * symfile.c (symfile_map_offsets_to_segments): Doc fixes. | |
1253 | Assert that we were passed some loaded segment addresses, | |
1254 | and that sections' segment numbers are valid. | |
1255 | Simplify offset calculation. | |
1256 | * remote.c (get_offsets): Clarify selection of relocate-by-segment | |
1257 | strategy, and set num_segments correctly. Delete redundant | |
1258 | assignments to do_sections. | |
1259 | ||
32276632 DJ |
1260 | 2007-09-24 Daniel Jacobowitz <dan@codesourcery.com> |
1261 | ||
1262 | * frame.c (get_prev_frame_1): Also check for PC in the same register. | |
1263 | ||
ed0616c6 VP |
1264 | 2007-09-24 Vladimir Prus <vladimir@codesourcery.com> |
1265 | ||
1266 | * breakpoint.c (remove_sal): New. | |
1267 | (expand_line_sal_maybe): New. | |
1268 | (create_breakpoints): Call expand_line_sal_maybe. | |
1269 | (clear_command): Add comment. | |
1270 | (breakpoint_re_set_one): Call expand_line_sal_maybe. | |
1271 | * linespec.c (decode_indirect): Set explicit_pc to 1. | |
1272 | (decode_all_digits): Set explicit_line to 1. | |
1273 | (append_expanded_sal): New. | |
1274 | (expand_line_sal): New. | |
1275 | * linespec.h (expand_line_sal): Declare. | |
1276 | * symtab.c (init_sal): Initialize explicit_pc | |
1277 | and explicit_line. | |
1278 | * symtab.h (struct symtab_and_line): New fields | |
1279 | explicit_pc and explicit_line. | |
1280 | ||
41f1b697 DJ |
1281 | 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com> |
1282 | ||
1283 | * infcall.c (call_function_by_hand): Handle language-specific | |
1284 | pass and return by reference. | |
1285 | ||
1286 | * cp-abi.c (cp_pass_by_reference): New. | |
1287 | * cp-abi.h (cp_pass_by_reference): Declare. | |
1288 | (struct cp_abi_ops): Add pass_by_reference. | |
1289 | * gnu-v3-abi.c (gnuv3_pass_by_reference): New. | |
1290 | (init_gnuv3_ops): Set pass_by_reference. | |
1291 | ||
1292 | * language.c (language_pass_by_reference): New. | |
1293 | (default_pass_by_reference): New. | |
1294 | (unknown_language_defn, auto_language_defn, local_language_defn): Add | |
1295 | default_pass_by_reference. | |
1296 | * langauge.h (struct language_defn): Add la_pass_by_reference. | |
1297 | (language_pass_by_reference, default_pass_by_reference): Declare. | |
1298 | * ada-lang.c (ada_language_defn): Add default_pass_by_reference. | |
1299 | * c-lang.c (c_language_defn, asm_language_defn) | |
1300 | (minimal_language_defn): Likewise. | |
1301 | (cplus_language_defn): Add cp_pass_by_reference. | |
1302 | * f-lang.c (f_language_defn): Add default_pass_by_reference. | |
1303 | * jv-lang.c (java_language_defn): Likewise. | |
1304 | * m2-lang.c (m2_language_defn): Likewise. | |
1305 | * objc-lang.c (objc_language_defn): Likewise. | |
1306 | * p-lang.c (pascal_language_defn): Likewise. | |
1307 | * scm-lang.c (scm_language_defn): Likewise | |
1308 | ||
0d381245 VP |
1309 | 2007-09-23 Vladimir Prus <vladimir@codesourcery.com> |
1310 | ||
1311 | Allow a code breakpoint to have several locations | |
1312 | associated with it. | |
1313 | * breakpoint.h (enum enable_state): Remove the | |
1314 | bp_shlib_disabled enumerator. | |
1315 | (struct bp_location): New members shlib_disabled, | |
1316 | global_next, enabled and function_name. | |
1317 | Rename pending to condition_not_parsed. | |
1318 | ||
1319 | * breakpoint.c (ALL_BP_LOCATIONS): Iterate over global_next. | |
1320 | (ALL_BP_LOCATIONS_SAFE): Likewise. | |
1321 | (breakpoint_enabled): Don't check for pending. | |
1322 | (condition_command): Free and update all locations of | |
1323 | a breakpoint. | |
1324 | (insert_bp_location): Adjust. | |
1325 | (software_breakpoint_inserted_here_p): Don't care | |
1326 | if breakpoint is enabled, as soon as it's inserted. | |
1327 | (print_it_typical): Print bpstat's location, not | |
1328 | bpstat's breakpoint's location. | |
1329 | (bpstat_stop_status): Iterate over all locations, not | |
1330 | all breakpoints. | |
1331 | (print_breakpoint_location): New. | |
1332 | (print_one_breakpoint): Renamed to | |
1333 | (print_one_breakpoint_location): ...this. Take | |
1334 | parameters to describe which location is being | |
1335 | printed. Modify code to properly print header | |
1336 | for several locations and individual locations. | |
1337 | (print_one_breakpoint): Print all locations. | |
1338 | (breakpoint_has_pc): New. | |
1339 | (describe_other_breakpoints): Use the above. | |
1340 | (check_duplicates): Renamed to... | |
1341 | (check_duplicates_for): .. this. | |
1342 | (check_duplicates): Use check_duplicates_for. | |
1343 | (allocate_bp_location): Adjust. | |
1344 | (set_raw_breakpoint_without_location): New, | |
1345 | extracted from set_raw_breakpoint. | |
1346 | (set_breakpoint_location_function): New. | |
1347 | (set_raw_breakpoint): Use | |
1348 | set_raw_breakpoint_without_location. | |
1349 | (make_breakpoint_permanent): Mark all locations | |
1350 | as inserted. | |
1351 | (disable_breakpoints_in_shlibs): Iterate over | |
1352 | locations. | |
1353 | (disable_breakpoints_in_unloaded_shlib): Likewise. | |
1354 | (re_enable_breakpoints_in_shlibs): Likewise. | |
1355 | (mention): Say "pending" when breakpoint has | |
1356 | zero locations. If breakpoint has more than one | |
1357 | location, say so. | |
1358 | (add_location_to_breakpoint): New. | |
1359 | (create_breakpoint): Accept symtabs_and_lines, not | |
1360 | symtab_and_line. Pass extra sals to | |
1361 | add_location_to_breakpoint. | |
1362 | (create_breakpoints): Pass symtabs_and_lines to | |
1363 | create_breakpoints. | |
1364 | (break_command_1): Make pending breakpoints | |
1365 | have zero locations. | |
1366 | (do_captured_breakpoint): Remove wrong allocation. | |
1367 | (clear_command): Iterate over all locations. | |
1368 | (unlink_locations_from_global_list): Renamed | |
1369 | from unlink_location_from_global_list. Remove | |
1370 | all locations. | |
1371 | (delete_breakpoint): Remove all locations. | |
1372 | Iterate over all locations when deciding which | |
1373 | other location to re-enable. | |
1374 | (all_locations_are_pending): New. | |
1375 | (update_breakpoint_locations): Renamed from | |
1376 | update_breakpoint_location. Try to match old | |
1377 | and new locations using names of containing | |
1378 | functions. | |
1379 | (breakpoint_re_set_one): Adjust. | |
1380 | (find_location_by_number): New. | |
1381 | (disable_command): Allow disabling individual location. | |
1382 | (enable_command): Allow enabling individual location. | |
1383 | * breakpoint.c: Adjust all uses of breakpoint's | |
1384 | enable state to for bp_shlib_disabled change. | |
1385 | ||
fe3f5fa8 VP |
1386 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
1387 | ||
1388 | * breakpoint.c (do_restore_lang_radix_cleanup): Remove. | |
1389 | (resolve_pending_breakpoint): Remove. | |
1390 | (re_enable_breakpoints_in_shlibs): Remove. | |
1391 | (unlink_locations_from_global_list): New. | |
1392 | (update_breakpoint_locations): New. | |
1393 | (breakpoint_re_set_one): Don't bail out on pending breakpoints. | |
1394 | Use parse_condition and update_breakpoint_location to | |
1395 | reset breakpoint. Ignore 'symbol not found' error from | |
1396 | decode_line_1. | |
1397 | (breakpoint_re_set): Don't emit newline before the | |
1398 | reason why breakpoint is not reset. | |
1399 | (do_enable_breakpoint): Don't specially process pending | |
1400 | breakpoints. | |
1401 | (free_bp_location): New. | |
1402 | (break_command_1): For pending breakpoints, initialize | |
1403 | all fields of a sal with zeroes. | |
1404 | * breakpoint.h (re_enable_breakpoints_in_shlibs): Remove. | |
1405 | * infcmd.c (post_create_inferior): Don't call | |
1406 | re_enable_breakpoints_in_shlibs. | |
1407 | * infrun.c (handle_inferior_event): Likewise. | |
1408 | * solib-irix.c (irix_solib_create_inferior_hook): Likewise. | |
1409 | * solib-osf.c (osf_solib_create_inferior_hook): Likewise. | |
1410 | * win32-nat.c (get_win32_debug_event): Likewise. | |
1411 | ||
511a6cd4 VP |
1412 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
1413 | ||
018d34a4 VP |
1414 | * breakpoint.c (create_breakpoint): Split from |
1415 | create_breakpoints, implementing most of its logic. | |
1416 | Take just a single sal, single address string and | |
1417 | single condition. Do not take parsed condition at | |
1418 | all. | |
1419 | (create_breakpoints): Just call create_breakpoint | |
1420 | for each sal. | |
1421 | (find_condition_and_thread): New. | |
1422 | (break_command_1): Use find_condition_and_thread. | |
1423 | Do not keep parsed conditions. | |
1424 | (do_captured_breakpoint): Don't convert | |
1425 | condition string to struct expression. | |
1426 | ||
1427 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> | |
1428 | ||
511a6cd4 VP |
1429 | * breakpoint.h (struct breakpoint): Move the cond |
1430 | field to... | |
1431 | (struct bp_location): Here. | |
1432 | * breakpoint.c (condition_command, bpstat_stop_status) | |
1433 | (print_one_breakpoint, allocate_bp_location) | |
1434 | (solib_load_unload_1, create_fork_vfork_event_catchpoint) | |
1435 | (create_exec_event_catchpoint, create_breakpoints) | |
1436 | (break_command_1, watch_command_1, handle_gnu_v3_exceptions) | |
1437 | (create_ada_exception_breakpoint, set_breakpoint_sal) | |
1438 | (delete_breakpoint, breakpoint_re_set_one): Adjust. | |
1439 | * tui/tui-winsource.c (tui_update_breakpoint_info): Adjust. | |
1440 | ||
4f8d1dc6 VP |
1441 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
1442 | ||
1443 | Associate bp_stat with bp_location, not breakpoint. | |
1444 | * breakpoint.h (breakpoint_at): Change type | |
1445 | to bp_location*. | |
1446 | * breakpoint.c (bpstat_alloc): Take bp_location, | |
1447 | not breakpoint. | |
1448 | (bpstat_find_breakpoint): Look at bpstat's location's | |
1449 | owner, not at bpstat->breakpoint_at. | |
1450 | (bpstat_find_step_resume_breakpoint): Likewise. | |
1451 | (bpstat_num): Likewise. | |
1452 | (print_it_typical): Likewise. | |
1453 | (print_bp_stop_message): Likewise. | |
1454 | (watchpoint_check): Likewise. | |
1455 | (bpstat_what): Likewise. | |
1456 | (bpstat_get_triggered_catchpoints): Likewise. | |
1457 | (breakpoint_auto_delete): Likewise. | |
1458 | (delete_breakpoint): Likewise. | |
1459 | (bpstat_stop_status): Pass location, not breakpoint, | |
1460 | to bpstat_alloc. Look at bpstat's location's | |
1461 | owner, not at bpstat->breakpoint_at. | |
1462 | ||
32623386 JB |
1463 | 2007-09-21 Jim Blandy <jimb@codesourcery.com> |
1464 | ||
1465 | * macrotab.h (new_macro_table): Document that removing information | |
1466 | from an obstack/bcache-managed macro table leaks memory. | |
1467 | * macrotab.c (macro_free, macro_bcache_free): Instead of asserting | |
1468 | that data is never freed in obstack/bcache-managed macro tables, | |
1469 | just leak the storage. | |
1470 | (macro_undef): If we're undefining a macro at exactly the same | |
1471 | source location that we defined it, simply remove the definition | |
1472 | altogether. | |
1473 | ||
c295b2e5 JB |
1474 | 2007-09-21 Joel Brobecker <brobecker@adacore.com> |
1475 | ||
1476 | * symfile.h (struct sym_fns): Add new field sym_read_linetable. | |
1477 | * coffread.c, dbxread.c, elfread.c, mipsread.c somread.c: | |
1478 | Adjust the struct sym_fns object accordingly by setting | |
1479 | the new field to NULL. | |
1480 | * xcoffread.c (aix_process_linenos): Make static. | |
1481 | (xcoff_sym_fns): Set new field to aix_process_linenos. | |
1482 | * buildsym.c (end_symtab): Replace call to PROCESS_LINENUMBER_HOOK | |
1483 | by call to new the new sym_fns sym_read_linetable function. | |
1484 | * config/powerpc/aix.mt (DEPRECATED_TM_FILE): Delete. | |
1485 | * config/rs6000/tm-rs6000.h: Delete. | |
1486 | ||
ab2e1992 MR |
1487 | 2007-09-21 David Ung <davidu@mips.com> |
1488 | Maciej W. Rozycki <macro@mips.com> | |
1489 | ||
1490 | * mips-tdep.c (mips_n32n64_push_dummy_call): Per N32/N64 ABI | |
1491 | rules do not treat composite types specially. | |
1492 | ||
97ab0fdd MR |
1493 | 2007-09-20 Maciej W. Rozycki <macro@mips.com> |
1494 | ||
1495 | * mips-tdep.c (mips32_in_function_epilogue_p): New function. | |
1496 | (mips16_in_function_epilogue_p): Likewise. | |
1497 | (mips_in_function_epilogue_p): Likewise. | |
1498 | (mips_gdbarch_init): Register mips_in_function_epilogue_p(). | |
1499 | ||
01fe12f6 JB |
1500 | 2007-09-19 Joel Brobecker <brobecker@adacore.com> |
1501 | ||
1502 | * configure.ac: Add check for "etext". | |
1503 | * configure, config.in: Regenerate. | |
1504 | * maint.c (TEXTEND): Only define if either _etext or etext | |
1505 | are available. | |
1506 | Disable the profiling functionality if TEXTEND is not defined. | |
1507 | ||
aa6c981f DJ |
1508 | 2007-09-19 Daniel Jacobowitz <dan@codesourcery.com> |
1509 | ||
1510 | * mips-tdep.c (mips_stub_frame_cache): Correct the saved return | |
1511 | address register. Correct the call to frame_id_build. | |
1512 | (mips_stub_frame_sniffer): Use the stub unwinder when the PC | |
1513 | is invalid. | |
1514 | ||
39312971 JB |
1515 | 2007-09-18 Joel Brobecker <brobecker@adacore.com> |
1516 | ||
1517 | * ia64-tdep.c (refine_prologue_limit): Make sure we don't scan | |
1518 | the linetable past the function end. | |
1519 | ||
558dc30a JW |
1520 | 2007-09-18 James E. Wilson <wilson@specifix.com> |
1521 | ||
1522 | * MAINTAINERS: Update my email address. | |
1523 | ||
60e2c248 JG |
1524 | 2007-09-18 Jerome Guitton <guitton@adacore.com> |
1525 | ||
1526 | * inf-ttrace.c (inf_ttrace_private_thread_info): New structure type. | |
1527 | (inf_ttrace_delete_dying_threads_callback): New function. | |
1528 | (inf_ttrace_resume): After resuming the execution, iterate over | |
1529 | the dying threads to delete them for the thread list. | |
1530 | (inf_ttrace_wait): on TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE, | |
1531 | mark the corresponding thread as dying instead of removing it | |
1532 | from the thread list. | |
1533 | (inf_ttrace_thread_alive): return 0 for dying threads. | |
1534 | ||
f4c1edd8 JB |
1535 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
1536 | ||
1537 | * infrun.c (insert_step_resume_breakpoint_at_frame): Add assertion | |
1538 | that return_frame is not null. | |
1539 | ||
8d4e36ba JB |
1540 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
1541 | ||
1542 | * solib-svr4.c: Add include of "auxv.h". | |
1543 | (enable_break): Use the AT_BASE auxiliary entry if available. | |
1544 | * Makefile.in (solib-svr4.o): Update dependencies. | |
1545 | ||
f9ed52be JB |
1546 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
1547 | ||
1548 | * NEWS: Create a new section for the next release branch. | |
1549 | Rename the section of the current branch, now that it has | |
1550 | been cut. | |
1551 | ||
eff4f95e JG |
1552 | 2007-09-17 Jerome Guitton <guitton@adacore.com> |
1553 | ||
1554 | * dwarf2loc.c (dwarf_expr_frame_base): Guard against NULL. | |
1555 | * Makefile.in (dwarf2loc.o): Depend on gdb_assert.h. | |
1556 | ||
084344da VP |
1557 | 2007-09-16 Vladimir Prus <vladimir@codesourcery.com> |
1558 | ||
1559 | * mi/mi-cmds.c (mi_cmds): Register -list-features. | |
1560 | * mi/mi-cmds.h (mi_cmd_list_features): New. | |
1561 | * mi/mi-main.c (mi_cmd_list_features): New. | |
1562 | ||
50c7215d | 1563 | 2007-09-11 Joel Brobecker <brobecker@adacore.com> |
1564 | ||
1565 | GDB 6.7 branch created (branch timestamp: 2007-09-07 14:00 UTC) | |
1566 | * version.in: Bump version to 6.7.50-20070911-cvs. | |
1567 | ||
4d8453a5 DJ |
1568 | 2007-09-10 Daniel Jacobowitz <dan@codesourcery.com> |
1569 | ||
1570 | * thread.c (free_thread): Do not delete the step resume breakpoint | |
1571 | right away. | |
1572 | ||
4eb0ad19 DJ |
1573 | 2007-09-10 Daniel Jacobowitz <dan@codesourcery.com> |
1574 | ||
1575 | * arch-utils.c (gdbarch_info_fill): Also try core_bfd. | |
1576 | * corelow.c (core_read_description): New. | |
1577 | (init_core_ops): Set to_read_description. | |
1578 | * gdbarch.sh: Add gdbarch_core_read_description. | |
1579 | * mips-linux-tdep.c (mips_linux_core_read_description): New. | |
1580 | (mips_linux_init_abi): Call set_gdbarch_core_read_description. | |
1581 | * mips-tdep.c (mips_tdesc_gp32, mips_tdesc_gp64): New. | |
1582 | (mips_register_g_packet_guesses): Use them. | |
1583 | (_initialize_mips_tdep): Initialize them. | |
1584 | * mips-tdep.h (mips_tdesc_gp32, mips_tdesc_gp64): Declare. | |
1585 | * gdbarch.h, gdbarch.c: Regenerated. | |
1586 | ||
6a6b96b9 UW |
1587 | 2007-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
1588 | ||
1589 | * infrun.c (stepping_past_breakpoint): New global variable. | |
1590 | (stepping_past_breakpoint_ptid): Likewise. | |
1591 | (prepare_to_proceed): Add STEP parameter. Do not check for Ctrl-C. | |
1592 | Only switch threads if we need to single-step over a breakpoint hit | |
1593 | in the previously selected thread. If stepping, remember previous | |
1594 | thread to switch back to in STEPPING_PAST_BREAKPOINT[_PTID]. Call | |
1595 | switch_to_thread instead of copying its contents. | |
1596 | (proceed): Pass STEP to prepare_to_proceed. Always set ONEPROC if | |
1597 | prepare_to_proceed returns true. | |
1598 | (init_wait_for_inferior): Reset STEPPING_PAST_BREAKPOINT. | |
1599 | (context_switch): Call switch_to_thread. | |
1600 | (handle_inferior_event): Switch back to previous thread if requested | |
1601 | in STEPPING_PAST_BREAKPOINT[_PTID] by prepare_to_proceed. | |
1602 | * gdbthread.h (switch_to_thread): Add prototype. | |
1603 | * thread.c (switch_to_thread): Make global. | |
1604 | ||
0b058123 | 1605 | 2007-09-07 Pierre Muller <muller@ics.u-strasbg.fr> |
b20a3440 PM |
1606 | |
1607 | * p-valprint.c: Fix 7 ARI reported problems. | |
1608 | (pascal_val_print): Fix one operator at end of line issue. | |
1609 | Use paddress function to remove use of | |
1610 | deprecated_print_address_numeric function (2 times). | |
1611 | Use SYMBOL_LINKAGE_NAME instead of DEPRECATED_SYMBOL_NAME. | |
1612 | (pascal_value_print): Fix 3 operator at end of line issues. | |
1613 | ||
faa95490 DJ |
1614 | 2007-09-07 Daniel Jacobowitz <dan@codesourcery.com> |
1615 | ||
1616 | PR gdb/2103 | |
1617 | * arm-tdep.c (arm_in_call_stub): Delete. | |
1618 | (arm_skip_stub): Handle from_arm and from_thumb stubs. | |
1619 | ||
f0027ce2 DJ |
1620 | 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com> |
1621 | ||
1622 | * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Handle other integer | |
1623 | types. | |
1624 | ||
ea37ba09 DJ |
1625 | 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com> |
1626 | Jim Blandy <jimb@codesourcery.com> | |
1627 | ||
1628 | * NEWS: Update description of string changes. Mention print/s. | |
1629 | * c-valprint.c (textual_element_type): New. | |
1630 | (c_val_print): Use it. Do not skip address printing for pointers | |
1631 | with a string format. | |
1632 | (c_value_print): Doc update. | |
1633 | * dwarf2read.c (read_array_type): Use make_vector_type. | |
1634 | * gdbtypes.c (make_vector_type): New. | |
1635 | (init_vector_type): Use it. | |
1636 | (gdbtypes_post_init): Initialize builtin_true_unsigned_char. | |
1637 | (_initialize_gdbtypes): Mark int8_t and uint8_t as TYPE_FLAG_NOTTEXT. | |
1638 | * gdbtypes.h (struct builtin_type): Add builtin_true_unsigned_char. | |
1639 | (TYPE_FLAG_NOTTEXT, TYPE_NOTTEXT): New. | |
1640 | (make_vector_type): New. | |
1641 | * printcmd.c (print_formatted): Only handle 's' and 'i' for examine. | |
1642 | Call the language print routine for string format. | |
1643 | (print_scalar_formatted): Call val_print for string format. Handle | |
1644 | unsigned original types for char format. | |
1645 | (validate_format): Do not reject string format. | |
1646 | * stabsread.c (read_type): Use make_vector_type. | |
1647 | * xml-tdesc.c (tdesc_start_vector): Use init_vector_type. | |
1648 | ||
8fb822e0 MS |
1649 | 2007-09-04 Michael Snyder <msnyder@access-company.com> |
1650 | ||
fcd776e5 MS |
1651 | * expprint.c (print_subexp_standard): Check strchr for null. |
1652 | * Makefile.in (expprint.o): Depend on gdb_assert.h. | |
1653 | ||
7d63ec12 MS |
1654 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Guard against null. |
1655 | ||
8fb822e0 MS |
1656 | * stabsread.c (patch_block_status): Guard against null. |
1657 | * Makefile.in (stabsread.o): Depend on gdb_assert.h. | |
1658 | ||
2025a643 DJ |
1659 | 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com> |
1660 | ||
1661 | * printcmd.c (printf_command): Handle ptr_arg. Correct typo | |
1662 | in internal error message. | |
1663 | ||
de1b3c3d PA |
1664 | 2007-09-04 Pedro Alves <pedro_alves@portugalmail.pt> |
1665 | Daniel Jacobowitz <dan@codesourcery.com> | |
1666 | ||
1667 | * infcmd.c (post_create_inferior): Update comment. | |
1668 | (run_command_1): Always call post_create_inferior with 0 as | |
1669 | from_tty. | |
1670 | ||
1671 | * i386-cygwin-tdep.h: New. | |
1672 | * i386-cygwin-tdep.c: Include "i386-cygwin-tdep.h". | |
1673 | (win32_xfer_shared_library): Make it extern. | |
1674 | ||
1675 | * win32-nat.c: Include gdb_obstack.h and xml-support.h and | |
1676 | i386-cygwin-tdep.h. | |
1677 | (win32_so_ops): Delete. | |
1678 | (get_relocated_section_addrs): Delete. | |
1679 | (solib_symbols_add): Delete. | |
1680 | (register_loaded_dll): Delete. | |
1681 | (win32_make_so): New. | |
1682 | (handle_load_dll): Use win32_make_so. | |
1683 | (win32_free_so): Free the passed in so. | |
1684 | (win32_relocate_section_addresses): Delete. | |
1685 | (win32_solib_create_inferior_hook): Delete. | |
1686 | (handle_unload_dll): Don't add PE offset here. Free so with | |
1687 | win32_free_so instead of free_so. | |
1688 | (win32_special_symbol_handling): Delete. | |
1689 | (get_win32_debug_event): Remove unneeded calls. Set state to | |
1690 | TARGET_WAITKIND_LOADED on a dll unload. | |
1691 | (do_initial_win32_stuff): Clear cygwin_load_start and | |
1692 | cygwin_load_end. | |
1693 | (map_code_section_args): Delete. | |
1694 | (dll_code_sections_add): Delete. | |
1695 | (core_section_load_dll_symbols): Delete. | |
1696 | (win32_xfer_shared_libraries): New. | |
1697 | (win32_current_sos): Delete. | |
1698 | (win32_xfer_partial): New. | |
1699 | (open_symbol_file_object): Delete. | |
1700 | (in_dynsym_resolve_code): Delete. | |
1701 | (init_win32_ops): Set win32_xfer_partial as to_xfer_partial member | |
1702 | of win32_ops. Remove win32_so_ops settings. Don't set | |
1703 | current_target_so_ops here. | |
1704 | ||
1705 | * Makefile.in (i386_cygwin_tdep_h): New variable. | |
1706 | (i386-cygwin-tdep.o): Update dependencies. | |
1707 | (win32-nat.o): Update dependencies. | |
1708 | ||
de584861 PA |
1709 | 2007-09-04 Pedro Alves <pedro_alves@portugalmail.pt> |
1710 | Daniel Jacobowitz <dan@codesourcery.com> | |
1711 | ||
1712 | * gdbarch.sh (core_xfer_shared_libraries): New. | |
1713 | ||
1714 | * corelow.c (core_xfer_partial): Handle TARGET_OBJECT_LIBRARIES. | |
1715 | ||
1716 | * gdb_obstack.h (obstack_grow_str, obstack_grow_str0): New. | |
1717 | ||
1718 | * xml-support.c (gdb_xml_parse): Debug output tweaks. | |
1719 | (xml_escape_text): New. | |
1720 | * xml-support.h (xml_escape_text): Declare. | |
1721 | ||
1722 | * config/i386/cygwin.mh (NATDEPFILES): Move corelow.o to ... | |
1723 | * config/i386/cygwin.mt (TDEPFILES): ... here. | |
1724 | ||
1725 | * win32-nat.c: (fetch_elf_core_registers): Delete. | |
1726 | (win32_elf_core_fn): Delete. | |
1727 | (_initialize_core_win32): Delete. | |
1728 | ||
1729 | * i386-cygwin-tdep.c: Include "regset.h", "gdb_objstack.h", | |
1730 | "xml-support.h" and "gdbcore.h". | |
1731 | (i386_win32_gregset_reg_offset): New. | |
1732 | (I386_WIN32_SIZEOF_GREGSET): New. | |
1733 | (i386_win32_regset_from_core_section): New. | |
1734 | (win32_xfer_shared_library): New. | |
1735 | (struct cpms_data): New. | |
1736 | (core_process_module_section): New. | |
1737 | (win32_core_xfer_shared_libraries): New. | |
1738 | (i386_cygwin_skip_trampoline_code): Register gregset_reg_offset, | |
1739 | gregset_num_regs, sizeof_gregset members of tdep. Register | |
1740 | regset_from_core_section and core_xfer_shared_libraries callbacks. | |
1741 | ||
1742 | * Makefile.in (i386-cygwin-tdep.o): Update dependencies. | |
1743 | * gdbarch.h, gdbarch.c: Regenerate. | |
1744 | ||
7160c4c3 PA |
1745 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
1746 | ||
1747 | * corelow.c (core_xfer_partial): Pass writebuf to | |
1748 | deprecated_xfer_memory in TARGET_OBJECT_MEMORY write case. | |
1749 | ||
6dc13412 PA |
1750 | 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt> |
1751 | ||
1752 | * arm-tdep.h (arm_skip_stub): Declare. | |
1753 | * arm-wince-tdep.c: Don't include "solib-svr4.h". Include | |
1754 | "gdbcore.h". | |
1755 | (arm_pe_skip_trampoline_code): New function. | |
1756 | (arm_wince_init_abi): Register arm_pe_skip_trampoline_code as | |
1757 | gdbarch_skip_trampoline_code callback. | |
1758 | * Makefile.in (arm-wince-tdep.o): Update dependencies. | |
1759 | ||
ca8385e5 DJ |
1760 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
1761 | ||
1762 | * MAINTAINERS: Move Fred Fish to Past Maintainers. | |
1763 | ||
5c39566f DJ |
1764 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
1765 | ||
1766 | * configure.ac: Add --with-expat. | |
1767 | * configure: Regenerated. | |
1768 | ||
6a30b0a5 AS |
1769 | 2007-09-03 Andreas Schwab <schwab@suse.de> |
1770 | ||
1771 | * configure.ac: Accept --with-system-readline. | |
1772 | (READLINE, READLINE_DEPS, READLINE_CFLAGS): Define and substitute. | |
1773 | * configure: Regenerate. | |
1774 | * Makefile.in (READLINE, READLINE_DEPS, READLINE_CFLAGS): Use | |
1775 | substituted values. | |
1776 | (CDEPS): Use $(READLINE_DEPS) instead of $(READLINE). | |
1777 | ||
edff0c0a DJ |
1778 | 2007-09-03 Maxim Grigoriev <maxim2405@gmail.com> |
1779 | Daniel Jacobowitz <dan@codesourcery.com> | |
1780 | ||
1781 | * mi-main.c (mi_load_progress): Handle MI2 and MI3 interpreters. | |
1782 | ||
0b93d57c JK |
1783 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
1784 | ||
1785 | * top.c (print_gdb_version): Fixed a string end-of-line compiler error. | |
1786 | ||
b8533aec DJ |
1787 | 2007-09-02 Daniel Jacobowitz <dan@codesourcery.com> |
1788 | ||
1789 | * top.c (print_gdb_version): Update for GPL version 3. | |
1790 | ||
f5db8714 JK |
1791 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
1792 | ||
1793 | * NEWS: Mention the build-id .debug files verification. | |
1794 | ||
d99148ef JK |
1795 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
1796 | ||
1797 | * linux-nat.c (linux_nat_make_corefile_notes): Fixed a buffer overflow. | |
1798 | ||
77069918 JK |
1799 | 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
1800 | ||
1801 | * Makefile.in (symfile.o): Update dependencies. | |
1802 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Initialize the | |
1803 | DEBUGFILE variable. FIND_SEPARATE_DEBUG_FILE called only if !PSYMTABS. | |
1804 | (struct build_id): New structure. | |
1805 | (build_id_bfd_get, build_id_verify, build_id_to_debug_filename): New. | |
1806 | (find_separate_debug_file): New variable BUILD_ID. | |
1807 | Call BUILD_ID_BFD_GET with BUILD_ID_TO_DEBUG_FILENAME as the first try. | |
1808 | ||
202ddcaa VP |
1809 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
1810 | ||
1811 | * varobj.c (struct varobj): Fix comment | |
1812 | for the type member not to lie when it can be | |
1813 | NULL. | |
1814 | ||
02142340 VP |
1815 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
1816 | ||
1817 | Implement -var-info-path-expression. | |
1818 | ||
1819 | * mi/mi-cmds.h (mi_cmd_var_info_path_expression): | |
1820 | Declare. | |
1821 | * mi/mi-cmds.c (mi_cmds): Register var-info-path-expression. | |
1822 | * mi/mi-cmd-var.c (mi_cmd_var_info_path_expression): New. | |
1823 | * varobj.c (struct varobj): New field 'path_expr'. | |
1824 | (c_path_expr_of_child, cplus_path_expr_of_child) | |
1825 | (java_path_expr_of_child): New. | |
1826 | (struct language_specific): New field path_expr_of_child. | |
1827 | (varobj_create): Initialize the path_expr field. | |
1828 | (varobj_get_path_expr): New. | |
1829 | (new_variable): Initialize the path_expr field. | |
1830 | (free_variable): Free the path_expr field. | |
1831 | (adjust_value_for_children_access): New parameter | |
1832 | WAS_TYPE. | |
1833 | (c_number_of_children): Adjust. | |
1834 | (c_describe_child): New parameter CFULL_EXPRESSION. | |
1835 | Compute full expression. | |
1836 | (c_value_of_child, c_type_of_child): Adjust. | |
1837 | (cplus_number_of_children): Adjust. | |
1838 | (cplus_describe_child): New parameter CFULL_EXPRESSION. | |
1839 | Compute full expression. | |
1840 | (cplus_name_of_child, cplus_value_of_child) | |
1841 | (cplus_type_of_child): Adjust. | |
1842 | * varobj.h (varobj_get_path_expr): Declare. | |
1843 | ||
bccc275a VP |
1844 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
1845 | ||
1846 | * mi/mi-cmd-var.c (print_varobj): If a varobj | |
1847 | type is NULL, don't try to print it. | |
1848 | ||
f2db237a AM |
1849 | 2007-08-30 Alan Modra <amodra@bigpond.net.au> |
1850 | ||
1851 | * ppc-linux-nat.c (right_fill_reg): Delete. | |
1852 | (supply_gregset): Use ppc_supply_gregset. | |
1853 | (supply_fpregset): Use ppc_supply_fpregset. | |
1854 | (fill_gregset): Use ppc_collect_gregset. | |
1855 | (fill_fpregset): Use ppc_collect_fpregset. | |
1856 | * ppc-linux-tdep.c (PPC_LINUX_PT_*): Don't define. | |
1857 | (right_supply_register, ppc_linux_supply_gregset): Delete. | |
1858 | (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): Delete. | |
1859 | (ppc_linux_supply_fpregset): Delete. | |
1860 | (ppc_linux_collect_gregset): New function. | |
1861 | (ppc32_linux_reg_offsets, ppc64_linux_reg_offsets): New. | |
1862 | (ppc32_linux_gregset, ppc64_linux_gregset): Update to use reg offsets, | |
1863 | ppc_linux_supply_gregset, and ppc_collect_gregset. | |
1864 | (ppc_linux_fpregset): Rename to ppc32_linux_fpregset and update. | |
1865 | (ppc_linux_gregset, ppc_linux_fpregset): New functions. | |
1866 | (ppc_linux_regset_from_core_section): Update. | |
1867 | * ppc-tdep.h (ppc_linux_gregset, ppc_linux_fpregset): Declare. | |
1868 | (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Delete. | |
1869 | (struct ppc_reg_offsets): Add gpr_size, xr_size, fpscr_size fields. | |
1870 | * ppcobsd-tdep.c (ppcobsd_supply_gregset): Delete FIXME and assert. | |
1871 | (ppcobsd_collect_gregset): Likewise. | |
1872 | (_initialize_ppcnbsd_tdep): Init gpr_size, xr_size, fpscr_size. | |
1873 | * ppcnbsd-tdep.c (_initialize_ppcobsd_tdep): Likewise. | |
1874 | * ppcobsd-nat.c (_initialize_ppcobsd_nat): Likewise. | |
1875 | * rs6000-aix-tdep.c (rs6000_aix32_reg_offsets): Likewise. | |
1876 | (rs6000_aix64_reg_offsets): Likewise. | |
1877 | (rs6000_aix_supply_regset): Call ppc_supply_fpregset without testing | |
1878 | ppc_floating_point_unit_p. | |
1879 | (rs6000_aix_collect_regset): Similarly. | |
1880 | * rs6000-tdep.c (ppc_supply_reg): Add regsize param. Adjust offset | |
1881 | when regsize is larger than regcache register size. | |
1882 | (ppc_collect_reg): Similarly zero pad when regsize is larger than | |
1883 | regcache register size. | |
1884 | (ppc_greg_offset): New function, split out from.. | |
1885 | (ppc_supply_gregset): ..here. Separate code handling all regs from | |
1886 | single reg case. Correct xer offset. | |
1887 | (ppc_fpreg_offset): New function, split out from.. | |
1888 | (ppc_supply_fpregset): ..here. Separate code handling all regs from | |
1889 | single reg case. | |
1890 | (ppc_collect_gregset, ppc_collect_fpregset): Likewise. | |
1891 | (ppc_supply_fpregset, ppc_collect_fpregset): Don't assert we have | |
1892 | a fp unit, instead return if no fp. | |
1893 | ||
fe5aea2e JB |
1894 | 2007-08-29 Jim Blandy <jimb@codesourcery.com> |
1895 | ||
1896 | * breakpoint.c (watch_command_1): Remove '#ifdef HPUXHPPA' block; | |
1897 | this code has not been compiled for two years. | |
1898 | ||
13ce7133 MS |
1899 | 2007-08-29 Michael Snyder <msnyder@access-company.com> |
1900 | ||
1901 | * event-top.c (gdb_readline2): Return after EOF. | |
1902 | ||
fd4a0f2f JB |
1903 | 2007-08-29 Joel Brobecker <brobecker@adacore.com> |
1904 | ||
1905 | * symtab.c: Remove a function that has been commented out 3 years ago. | |
1906 | ||
d037d088 CD |
1907 | 2007-08-29 Randolph Chung <tausq@debian.org> |
1908 | ||
1909 | * hppa-tdep.c (hppa32_cannot_fetch_register) | |
1910 | (hppa64_cannot_fetch_register): New functions. | |
1911 | (hppa_gdbarch_init): Set cannot_fetch_register appropriately. | |
1912 | * hppa-tdep.h (hppa_regnum): Add HPPA_CR26_REGNUM. | |
1913 | ||
19d378fc MS |
1914 | 2007-08-28 Michael Snyder <msnyder@access-company.com> |
1915 | ||
57cdecd2 MS |
1916 | * mi/mi-cmd-var.c (mi_print_value_p): No longer necessary to |
1917 | check for null before calling check_typedef. | |
1918 | ||
19d378fc MS |
1919 | * NEWS: Mention Coverity bug fixes. |
1920 | ||
36acd84e UW |
1921 | 2007-08-27 Markus Deuling <deuling@de.ibm.com> |
1922 | ||
1923 | * spu-tdep.c (spu_pointer_to_address): New function. | |
1924 | (spu_integer_to_address): Likewise. | |
1925 | (spu_gdbarch_init): Add spu_pointer_to_address and | |
1926 | spu_integer_to_address to gdbarch. | |
1927 | ||
8ad7c2b9 PA |
1928 | 2007-08-26 Pedro Alves <pedro_alves@portugalmail.pt> |
1929 | ||
1930 | * arm-wince-tdep.c (ARM_WINCE_JB_PC): Change to 10. | |
1931 | ||
4de6a07e JB |
1932 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
1933 | ||
1934 | * Makefile.in (copying.c): Use the top-level COPYING3 as the file | |
1935 | that contains the GDB license. | |
1936 | * copying.awk: Adjust to the GPLv3 wording. | |
1937 | * copying.c: Regenerate. | |
1938 | ||
07aed0eb JB |
1939 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
1940 | ||
01d4100f | 1941 | * copying.awk: Protoization, and i18n markup. |
07aed0eb | 1942 | |
50efebf8 JB |
1943 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
1944 | ||
1945 | * config/djgpp/djconfig.sh: Switch license to GPLv3. | |
1946 | * copyright.sh: Likewise. | |
1947 | * gdb-events.sh: Likewise. | |
1948 | * gdb_gcore.sh: Likewise. | |
1949 | * gdb_mbuild.sh: Likewise. | |
1950 | * gdbarch.sh: Likewise. | |
1951 | * observer.sh: Likewise. | |
1952 | * features/feature_to_c.sh: Likewise. | |
1953 | * regformats/regdat.sh: Likewise. | |
1954 | ||
1955 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> | |
a9762ec7 JB |
1956 | |
1957 | Switch the license of all .c files to GPLv3. | |
1958 | Switch the license of all .h files to GPLv3. | |
1959 | Switch the license of all .cc files to GPLv3. | |
1960 | ||
5a0e3bd0 JB |
1961 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
1962 | ||
1963 | * configure.ac: Switch license to GPLv3. | |
1964 | ||
609ca2b9 DJ |
1965 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
1966 | ||
1967 | * mips-tdep.c (mips_gdbarch_init): Use Tag_GNU_MIPS_ABI_FP to | |
1968 | determine the file's FPU type. | |
1969 | ||
8d26208a DJ |
1970 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
1971 | ||
1972 | * mips-tdep.c (mips_n32n64_fp_arg_chunk_p): New. | |
1973 | (mips_n32n64_push_dummy_call): Always increment float_argreg along | |
1974 | with argreg. Use mips_n32n64_fp_arg_chunk_p. | |
1975 | ||
65728c26 DJ |
1976 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
1977 | ||
1978 | * solib-svr4.c (scan_dyntag): Only read target memory when necessary. | |
1979 | Fix formatting. | |
1980 | (elf_locate_base): Look for DT_MIPS_RLD_MAP first. Expand comments. | |
1981 | (elf_lookup_lib_symbol): Fix formatting. | |
1982 | ||
a2ca50ae MS |
1983 | 2007-08-21 Michael Snyder <msnyder@access-company.com> |
1984 | ||
6b2d86bd MS |
1985 | * dbxread.c (read_dbx_symtab): Guard null deref. |
1986 | Break up long line. | |
1987 | ||
a2ca50ae MS |
1988 | * valops.c (find_overload_match): Guard against NULL. |
1989 | ||
54e116dd DJ |
1990 | 2007-08-21 Daniel Jacobowitz <dan@codesourcery.com> |
1991 | ||
1992 | * MAINTAINERS (Patch Champions): Remove self. | |
1993 | ||
f429d7d0 DJ |
1994 | 2007-08-21 Chris Smith <chris.smith@st.com> |
1995 | ||
1996 | * cli/cli-script.c (read_command_lines): Call dont_repeat for each | |
1997 | line. | |
1998 | ||
a2ca50ae | 1999 | 2007-08-18 Michael Snyder <msnyder@access-company.com> |
a287cea6 | 2000 | |
31e9f6b6 MS |
2001 | * stabsread.c (dbx_lookup_type): Memory leak. |
2002 | ||
32107cd5 MS |
2003 | * event-loop.c (delete_async_signal_handler): Move pointer null |
2004 | test to before pointer dereference. | |
2005 | ||
44db85f8 MS |
2006 | * ui-out.c (append_header_to_list): Possible cut and paste error. |
2007 | ||
a287cea6 MS |
2008 | * MAINTAINERS: white space tweak. |
2009 | ||
0bd9908d MS |
2010 | 2007-08-17 Michael Snyder <msnyder@access-company.com> |
2011 | ||
f91162e1 MS |
2012 | * stack.c (print_frame): Memory leak. |
2013 | ||
1e8189fb MS |
2014 | * completer.c (filename_completer): Avoid memory leak. |
2015 | Remove unnecessary nested block. | |
2016 | ||
348038cd MS |
2017 | * c-exp.y (parse_number): Memory leak. |
2018 | ||
1f20ed91 MS |
2019 | * completer.c (location_completer): Must free 'fn_list', except |
2020 | in the one case where it is returned (as 'list'). | |
2021 | ||
74dddad3 MS |
2022 | * varobj.c (value_of_root): Memory leak. |
2023 | ||
0bd9908d MS |
2024 | * gdbtypes.h (virtual_base_list): Remove export decl. |
2025 | * gdbtypes.c (virtual_base_list): Make static. Not called outside. | |
2026 | (virtual_base_index): Memory leak. | |
2027 | (virtual_base_index_skip_primaries): Ditto. | |
2028 | ||
bdb4c075 MG |
2029 | 2007-08-17 Maxim Grigoriev <maxim2405@gmail.com> |
2030 | ||
2031 | * xtensa-tdep.c (ARG_NOF, ARG_1ST, PS_WOE, PS_EXC, C0_MAXOPDS) | |
2032 | (C0_NREGS, C0_CLESV, C0_SP, C0_FP, C0_RA, C0_ARGS, C0_NARGS) | |
2033 | (C0_CONST, C0_INEXP, C0_NOSTK): New macros. | |
2034 | (xtensa_read_register): New function. | |
2035 | (xtensa_windowed_frame_cache, xtensa_call0_frame_cache, xtensa_c0reg) | |
2036 | (xtensa_insn_kind): New types. | |
2037 | (xtensa_frame_cache, xtensa_alloc_frame_cache, xtensa_frame_cache) | |
2038 | (xtensa_frame_prev_register, xtensa_return_value, xtensa_skip_prologue) | |
2039 | (xtensa_verify_config, xtensa_pseudo_register_read) | |
2040 | (xtensa_pseudo_register_write, xtensa_extract_return_value) | |
2041 | (xtensa_store_return_value) | |
2042 | (xtensa_push_dummy_call): Extended to support Xtensa Call0 ABI. | |
2043 | (windowing_enabled, extract_call_winsize, xtensa_unwind_dummy_id) | |
2044 | (xtensa_frame_this_id, xtensa_frame_prev_register) | |
2045 | (xtensa_register_type, xtensa_reg_to_regnum): Cosmetic changes. | |
2046 | (call0_frame_cache, call0_frame_get_reg_at_entry) | |
2047 | (call0_classify_opcode, call0_track_op) | |
2048 | (call0_analyze_prologue, call0_frame_cache): New functions. | |
2049 | ||
198757a8 VP |
2050 | 2007-08-17 Vladimir Prus <vladimir@codesourcery.com> |
2051 | ||
2052 | * breakpoint.c (bpstat_free): New. | |
2053 | (bpstat_clear): Use bpstat_free. | |
2054 | (delete_breakpoint): Document why we cannot | |
2055 | remove bpstats from stop_bpstat. | |
2056 | * breakpoint.h (bpstat_free): Declare. | |
2057 | ||
dc66ab8a MS |
2058 | 2007-08-16 Michael Snyder <msnyder@access-company.com> |
2059 | ||
2060 | * event-loop.c (gdb_wait_for_event): Move statement into "if" block. | |
2061 | ||
40c8aaa9 JB |
2062 | 2007-08-15 Paul Hilfinger <hilfinger@adacore.com> |
2063 | Joel Brobecker <brobecker@adacore.com> | |
2064 | ||
2065 | * ada-lang.c (resolve_subexp): Correct arity of binary operators. | |
2066 | ||
ee90b9ab JB |
2067 | 2007-08-15 Paul Hilfinger <hilfinger@adacore.com> |
2068 | Joel Brobecker <brobecker@adacore.com> | |
2069 | ||
2070 | * ada-lang.c (possible_user_operator_p): Alternative fix to last | |
2071 | checkin guarding against NULL. | |
2072 | ||
5b6fe301 MS |
2073 | 2007-08-14 Michael Snyder <msnyder@access-company.com> |
2074 | ||
e5908723 MS |
2075 | * tui-command.c, tui-data.c, tui-disasm.c, tui-file.c, tui-io.c, |
2076 | tui-layout.c, tui-regs.c, tui-source.c, tui-win.c, tui-windata.c, | |
2077 | tui-wingeneral.c, tui-winsource.c: Coding standard, && and || | |
2078 | go at beginning of new line. | |
2079 | ||
08ef48c5 MS |
2080 | * tui-data.c, tui-data.h, tui-disasm.c, tui-disasm.h, tui-hooks.c, |
2081 | tui-io.c, tui-layout.c, tui-layout.h, tui-out.c, tui-regs.c, | |
2082 | tui-source.c, tui-source.h, tui-stack.c, tui-win.c, tui-win.h, | |
2083 | tui-windata.c, tui-windata.h, tui-wingeneral.c, tui-winsource.c, | |
2084 | tui-winsource.h, tui.c, tui.h: Function declarations and | |
2085 | definitions, wrap long lines. | |
2086 | ||
ef5eab5a MS |
2087 | * tui-command.c, tui-data.c, tui-disasm.c, tui-layout.c, |
2088 | tui-regs.c, tui-win.c, tui-windata.c, tui-winsource.c, tui.c: | |
2089 | Reformat block comments to GNU standard. | |
2090 | ||
1cc6d956 MS |
2091 | * tui-command.c, tui-data.c, tui-data.h, tui-disasm.c, tui-file.c, |
2092 | tui-hooks.c, tui-interp.c, tui-io.c, tui-layout.c, tui-out.c, | |
2093 | tui-regs.c, tui-regs.h, tui-source.c, tui-stack.c, tui-win.c, | |
2094 | tui-windata.c, tui-wingeneral.c, tui-winsource.c, tui-winsource.h, | |
2095 | tui.c, tui.h: Comment reformatting to coding standard (capitals, | |
2096 | spaces after periods, etc). | |
2097 | ||
5b6fe301 MS |
2098 | * tui-data.c, tui-data.h, tui-disasm.c, tui-hooks.c, tui-layout.c, |
2099 | tui-regs.c, tui-source.c, tui-stack.c, tui-win.c, tui-windata.c, | |
2100 | tui-wingeneral.c, tui-wingeneral.h, tui-winsource.c, tui.c, | |
2101 | tui-winsource.h: Whitespace changes, fix pointer declarations | |
2102 | to be consistant. | |
2103 | ||
64a1bf19 JB |
2104 | 2007-08-14 Joel Brobecker <brobecker@adacore.com> |
2105 | Michael Snyder <msnyder@access-company.com> | |
2106 | ||
2107 | * ada-lang.c (field_alignment): Guard against NULL. | |
2108 | ||
e933291e JB |
2109 | 2007-08-14 Joel Brobecker <brobecker@adacore.com> |
2110 | ||
2111 | * MAINTAINERS (Global Maintainers): Add self. | |
2112 | ||
348144ba MS |
2113 | 2007-08-14 Michael Snyder <msnyder@access-company.com> |
2114 | ||
068acb6c MS |
2115 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Dead code, dead variable. |
2116 | ||
6d307763 MS |
2117 | * ada-lang.c (possible_user_operator_p): Guard against NULL. |
2118 | ||
348144ba MS |
2119 | * varobj.c (cplus_describe_child): Guard against null. |
2120 | Use "NULL" instead of "0" to initialize pointers. | |
2121 | ||
b8926edc DJ |
2122 | 2007-08-14 Daniel Jacobowitz <dan@codesourcery.com> |
2123 | ||
2124 | * arm-tdep.c (arm_gdbarch_init): Allow unknown ABI and FPU settings | |
2125 | to match any gdbarch with matching OSABI. Set default ABI and FPU | |
2126 | after running the OSABI handler. | |
2127 | ||
cdd6623c DJ |
2128 | 2007-08-14 Daniel Jacobowitz <dan@codesourcery.com> |
2129 | ||
2130 | * config/i386/linux.mh (NATDEPFILES): Move corelow.o from here... | |
2131 | * config/i386/linux.mt (TDEPFILES): ...to here. | |
2132 | ||
cb851954 VP |
2133 | 2007-08-14 Vladimir Prus <vladimir@codesourcery.com> |
2134 | ||
cb851954 VP |
2135 | * breakpoint.c (disable_breakpoints_in_shlibs): Remove |
2136 | the 'silent' parameter and code to implement that. | |
2137 | * breakpoint.h (disable_breakpoints_in_shlibs): Adjust | |
2138 | prototype. | |
2139 | * win32-nat.c: Adjust. | |
2140 | * solib.c: Adjust. | |
2141 | ||
e14a792b VP |
2142 | 2007-08-14 Vladimir Prus <vladimir@codesourcery.com> |
2143 | ||
e14a792b VP |
2144 | * breakpoint.c (update_breakpoints_after_exec): Don't |
2145 | set address to zero. | |
2146 | ||
be8ca11b MS |
2147 | 2007-08-13 Michael Snyder <msnyder@access-company.com> |
2148 | ||
ac3eeb49 MS |
2149 | * valops.c: Whitespace clean-up. |
2150 | ||
81b7c67a MS |
2151 | * tui/tui-winsource.c (tui_alloc_source_buffer): Clean up allocation. |
2152 | ||
f5b73fbb MS |
2153 | * event-top.c (command_line_handler): Memory leak. |
2154 | ||
b538c234 MS |
2155 | * mi/mi-cmd-var.c (mi_cmd_var_set_format): Memory leak. |
2156 | No need to make copy. | |
2157 | ||
be8ca11b MS |
2158 | * source.c (find_source_lines): Require symtab 's'. |
2159 | ||
489f0516 MS |
2160 | 2007-08-11 Michael Snyder <msnyder@access-company.com> |
2161 | ||
2162 | * completer.c: Spelling fix in comments. | |
2163 | ||
9c3f90bd MS |
2164 | 2007-08-10 Michael Snyder <msnyder@access-company.com> |
2165 | ||
687d6395 | 2166 | * gdbtypes.c: Coding standard cleanup. |
7ba81444 MS |
2167 | * gdbtypes.c: Comment/whitespace cleanup. |
2168 | ||
6aef78af MS |
2169 | * stabsread.c (read_huge_number): Attempt to compute value before |
2170 | values that it depends on. | |
2171 | ||
46be51c4 MS |
2172 | * linespec.c (decode_dollar): Dead code, ptr can't be non-null. |
2173 | (decode_objc): Use "NULL" instead of 0. | |
2174 | (find_method): Ditto. | |
2175 | (decode_all_digits): Ditto. | |
2176 | (decode_dollar): Ditto. | |
2177 | ||
412bbd6c MS |
2178 | * mi/mi-main.c (mi_cmd_data_evaluate_expression): Resource leak. |
2179 | ||
76bd6e0b MS |
2180 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Memory leak. |
2181 | ||
518f9d3c MS |
2182 | * solib-svr4.c (enable_break): Don't free tmp_pathname until |
2183 | after closing bfd. | |
2184 | ||
9c3f90bd MS |
2185 | * completer.c: Comment/whitespace cleanup. |
2186 | ||
adee0206 JB |
2187 | 2007-08-10 Joel Brobecker <brobecker@adacore.com> |
2188 | ||
2189 | * Makefile.in (i386nbsd-nat.o): Add missing dependency. | |
2190 | ||
2191 | 2007-08-10 Maxim Grigoriev <maxim2405@gmail.com> | |
9f8e6999 MG |
2192 | |
2193 | * remote-fileio.c (remote_fileio_resize_fd_map): Initialize newly | |
2194 | allocated file descriptors. | |
2195 | ||
271a27b8 JB |
2196 | 2007-08-10 Joel Brobecker <brobecker@adacore.com> |
2197 | ||
2198 | * Makefile.in: Minor cleanup throughout; add some missing variables, | |
2199 | add some missing rules, remove some rules that are no longer needed, | |
2200 | and fix the dependencies in several rules. | |
2201 | ||
57da7796 LC |
2202 | 2007-08-10 Ludovic Courtès <ludo@gnu.org> |
2203 | ||
d4310edb LC |
2204 | * Makefile.in (SFILES): Add scm-{exp,lang,valprint}.c. |
2205 | (scm_lang_h, scm_tags_h): New. | |
2206 | (COMMON_OBS): Add scm-{exp,lang,valprint}.o. | |
2207 | (scm-exp.o, scm-lang.o, scm-valprint.o): New targets. | |
2208 | * defs.h (enum language): Add `language_scm'. | |
2209 | ||
57da7796 LC |
2210 | * MAINTAINERS: Add Emacs local variables to use UTF-8 upon |
2211 | opening. | |
2212 | ||
93c06293 LC |
2213 | 2007-08-09 Ludovic Courtès <ludo@gnu.org> |
2214 | ||
2215 | * MAINTAINERS (Write After Approval): Add myself. | |
2216 | ||
0997b535 MS |
2217 | 2007-08-09 Michael Snyder <msnyder@access-company.com> |
2218 | ||
2219 | * solib.c (solib_open): Memory leak -- openp returns xmalloc buffer. | |
2220 | ||
4fec86cf JB |
2221 | 2007-08-09 Joel Brobecker <brobecker@adacore.com> |
2222 | ||
2223 | * solib-som.c (som_relocate_section_addresses): Stop saving | |
2224 | the $CODE$ section in the so_list structure. | |
2225 | ||
7b871568 MG |
2226 | 2007-08-08 Maxim Grigoriev <maxim2405@gmail.com> |
2227 | ||
2228 | * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): New. | |
2229 | (xtensa_register_group_t): Add entries for coprocessors. | |
2230 | * xtensa-tdep.c (xtensa_init_reggroups): New register groups. | |
2231 | (xtensa_add_reggroups): Likewise. | |
2232 | (xtensa_register_reggroup_p): Likewise. | |
2233 | (xtensa_coprocessor_register_group): New function. | |
2234 | (xtensa_cp): New. | |
2235 | ||
652aaa24 JK |
2236 | 2007-08-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
2237 | ||
2238 | * serial.c (serial_open): Fix the OPEN parameter macro expansion. | |
2239 | ||
decbce07 MS |
2240 | 2007-08-08 Michael Snyder <msnyder@access-company.com> |
2241 | ||
6217bf3e MS |
2242 | * target.c (target_read_string): Guard against null. |
2243 | ||
6225abfa MS |
2244 | * varobj.c (value_of_root): Move alloc after return to avoid leak. |
2245 | ||
3e40160c | 2246 | * tui/tui-layout.c (tui_set_layout): Dead code, dead variable. |
3277c0e0 | 2247 | (tui_set_layout_for_display_command): Mem leak. |
3e40160c | 2248 | |
91d2803c MS |
2249 | * top.c (command_line_input): Memory leak. |
2250 | ||
ea5bf0a1 MS |
2251 | * solib-svr4.c (open_symbol_file_object): Memory leak. |
2252 | (svr4_current_sos): Ditto. | |
2253 | (enable_break): Ditto. | |
2254 | ||
34e2dfde MS |
2255 | * cp-valprint.c (cp_print_hpacc_virtual_table_entries): Memory leak. |
2256 | ||
decbce07 MS |
2257 | * dwarf2read.c (add_partial_symbol): Memory leak. |
2258 | ||
4cdfadb1 MS |
2259 | 2007-08-06 Michael Snyder <msnyder@access-company.com> |
2260 | ||
2261 | * ada-lang.c (desc_bounds): Comparison of function address to NULL. | |
2262 | ||
b1ddacc7 JB |
2263 | 2007-08-05 Jim Blandy <jimb@codesourcery.com> |
2264 | ||
2265 | * macroexp.c (init_buffer): Remove testing code that overrides the | |
2266 | caller's length guess. | |
2267 | (gather_arguments): Use a larger initial size, now that the vector | |
2268 | growth code has been exercised. | |
2269 | ||
5d9643ba PA |
2270 | 2007-08-05 Pedro Alves <pedro_alves@portugalmail.pt> |
2271 | ||
2272 | * solib-target.c (solib_target_relocate_section_addresses): Add | |
2273 | orig_delta to addr_high. | |
2274 | ||
27e06d3e MS |
2275 | 2007-08-04 Michael Snyder <msnyder@access-company.com> |
2276 | ||
1ed489bd MS |
2277 | * remote-fileio.c (remote_fileio_func_write): Memory leak. |
2278 | ||
c1f5197e MS |
2279 | * breakpoint.c (print_one_breakpoint): Off by one error. |
2280 | ||
27e06d3e MS |
2281 | * tracepoint.c (add_register): Off by one error. |
2282 | (stringify_collection_list): Free malloc buffer. | |
2283 | ||
03b4bca2 MS |
2284 | 2007-08-03 Michael Snyder <msnyder@access-company.com> |
2285 | ||
474d0d0c MS |
2286 | * mi-cmd-var.c (mi_cmd_var_delete): Remove unused variable, |
2287 | stop memory leak, straighten out cleanups. | |
2288 | ||
03b4bca2 MS |
2289 | * jv-lang.c (java_link_class_type): Guard against NULL. |
2290 | ||
423c0af8 MS |
2291 | 2007-08-02 Michael Snyder <msnyder@access-company.com> |
2292 | ||
f9780d5b MS |
2293 | * gdbtypes.c (create_set_type): Test should only be done within |
2294 | the preceeding if block. Otherwise, variable is uninitialized. | |
2295 | ||
423c0af8 MS |
2296 | * gdbtypes.c (check_typedef): Guard NULL. |
2297 | ||
c0645fb5 MS |
2298 | 2007-08-01 Michael Snyder <msnyder@access-company.com> |
2299 | ||
3cebf8d8 MS |
2300 | * cli/cli-decode.c (lookup_cmd): Check for null earlier, to |
2301 | avoid dereference in lookup_cmd_1. | |
2302 | ||
c0645fb5 MS |
2303 | * tui/tui-data.c (tui_alloc_content): Move assign out of if, |
2304 | clean up long lines. | |
2305 | (tui_alloc_generic_win_info): Tidy by using XMALLOC macro. | |
2306 | (tui_alloc_win_info): Ditto. | |
2307 | (tui_add_content_elements): Ditto. | |
2308 | * tui/tui-file.c (tui_file_magic): Ditto. | |
2309 | ||
abe34c35 MS |
2310 | 2007-07-31 Michael Snyder <msnyder@access-company.com> |
2311 | ||
967af18d MS |
2312 | * breakpoint.c (breakpoint_init_inferior): Add 'else' to 'if'. |
2313 | True and false paths are mutually exclusive. | |
2314 | ||
40742ab6 MS |
2315 | * event-top.c (command_line_handler): Add pedantic return. |
2316 | ||
7c6e0d48 MS |
2317 | * f-valprint.c (info_common_command): Bail out to prevent null |
2318 | pointer deref. Break up a long line. | |
2319 | ||
c7b1adc9 MS |
2320 | * exec.c (xfer_memory): Remove redundant condition from 'if'. |
2321 | ||
73780b3c MS |
2322 | * symfile.c (reread_separate_symbols): Free xmalloced memory. |
2323 | ||
abe34c35 MS |
2324 | * printcmd.c (build_address_symbolic): Remove dead code and dead |
2325 | variable. | |
2326 | ||
e48883f7 DJ |
2327 | 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com> |
2328 | ||
2329 | * linespec.c (minsym_found): Advance to the next line if possible. | |
2330 | ||
57204837 PA |
2331 | 2007-07-31 Pedro Alves <pedro_alves@portugalmail.pt> |
2332 | ||
2333 | * arm-wince-tdep.c (arm_wince_init_abi): Remove svr4 related call. | |
2334 | * config/arm/wince.mt (TDEPFILES): Remove solib-legacy.o and | |
2335 | solib-svr4.o, and add solib-target.o | |
2336 | ||
fed8b01e MS |
2337 | 2007-07-27 Michael Snyder <msnyder@access-company.com> |
2338 | ||
2339 | * tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof. | |
2340 | ||
9ceb0b4c MR |
2341 | 2007-07-26 Maciej W. Rozycki <macro@linux-mips.org> |
2342 | ||
2343 | * MAINTAINERS (Write After Approval): Add myself. | |
2344 | ||
c80a96a8 MR |
2345 | 2007-07-26 Maciej W. Rozycki <macro@mips.com> |
2346 | ||
2347 | * Makefile.in (MAKEHTMLFLAGS): Also search the current directory | |
2348 | for include files. | |
2349 | ||
5b311828 MR |
2350 | 2007-07-25 Maciej W. Rozycki <macro@mips.com> |
2351 | ||
2352 | * Makefile.in (MAKEHTMLFLAGS): Remove "-glossary". | |
2353 | ||
f52df7d9 | 2354 | 2007-07-24 Michael Snyder <msnyder@access-company.com> |
55765a25 | 2355 | |
f52df7d9 MS |
2356 | * solib-svr4.c (svr4_fetch_objfile_link_map): Null pointer check of |
2357 | 'buffer' must cover both branches that call strcmp (Coverity). | |
55765a25 | 2358 | |
f52df7d9 | 2359 | * stack.c (print_frame_args): Check return value of lookup_symbol. |
747f3d18 MS |
2360 | |
2361 | * ax-gdb.c (find_field): Guard against null ptr. | |
2362 | ||
69ae91d3 UW |
2363 | 2007-07-24 Ulrich Weigand <uweigand@de.ibm.com> |
2364 | ||
2365 | * regformats/reg-spu.dat: Fix order of npc, id registers. | |
2366 | ||
98646950 UW |
2367 | 2007-07-24 Ulrich Weigand <uweigand@de.ibm.com> |
2368 | ||
2369 | * target.c (memory_xfer_partial): Accesses to unmapped overlay | |
2370 | sections should always go to the executable file. | |
2371 | ||
193774b3 MR |
2372 | 2004-07-20 Chris Dearman <chris@mips.com> |
2373 | ||
2374 | * mips-tdep.c (heuristic_proc_start): Add more MIPS16 function | |
2375 | prologue instructions. | |
2376 | ||
ce1f96de MR |
2377 | 2007-07-20 Maciej W. Rozycki <macro@mips.com> |
2378 | ||
2379 | * mips-tdep.c (mips_next_pc): Use is_mips16_addr() instead of | |
2380 | a direct test. | |
2381 | ||
bcf1ea1e MR |
2382 | 2007-07-20 Chris Dearman <chris@mips.com> |
2383 | Maciej W. Rozycki <macro@mips.com> | |
2384 | ||
2385 | * mips-tdep.c (fetch_mips_16): Fix typos and reformat the | |
2386 | description. | |
2387 | ||
255e7678 DJ |
2388 | 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt> |
2389 | Daniel Jacobowitz <dan@codesourcery.com> | |
2390 | ||
2391 | * config/i386/cygwin.mt (TDEPFILES): Add solib-target.o. | |
2392 | * coff-pe-read.c (read_pe_exported_syms): Delete verbose | |
2393 | printf. | |
2394 | * NEWS: Mention gdbserver DLL support. | |
2395 | ||
a8c50c1f DJ |
2396 | 2007-07-17 Daniel Jacobowitz <dan@codesourcery.com> |
2397 | ||
2398 | * dwarf2read.c (dwarf_decode_lines): Detect address size mismatches. | |
2399 | ||
2e024c20 L |
2400 | 2007-07-16 H.J. Lu <hongjiu.lu@intel.com> |
2401 | ||
2402 | * i386-linux-nat.c (fetch_regs): Work around gcc 3.4 alias | |
2403 | warning bug. | |
2404 | ||
f219aedc KB |
2405 | 2007-07-13 Kevin Buettner <kevinb@redhat.com> |
2406 | ||
2407 | * mep-tdep.c (mep_analyze_prologue): Update comment for BRA | |
2408 | instruction case. | |
2409 | ||
1ba3e7a3 KB |
2410 | 2007-07-12 Kevin Buettner <kevinb@redhat.com> |
2411 | ||
2412 | * mep-tdep.c (IS_BRA, BRA_DISP): New macros. | |
2413 | (mep_analyze_prologue): Add case for BRA instruction. | |
2414 | ||
f1e55806 UW |
2415 | 2007-07-12 Ulrich Weigand <uweigand@de.ibm.com> |
2416 | ||
2417 | * solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic. | |
2418 | ||
d9f71b56 NR |
2419 | 2007-07-10 Nick Roberts <nickrob@snap.net.nz> |
2420 | ||
2421 | * breakpoint.c: Include "top.h". | |
2422 | (breakpoint_1): Don't set convenience variable $_ if server prefix | |
2423 | is used. | |
2424 | (_initialize_breakpoint): Describe this behaviour in command help. | |
2425 | ||
358eb95e PA |
2426 | 2007-07-08 Pedro Alves <pedro_alves@portugalmail.pt> |
2427 | ||
2428 | * solib-target.c (library_list_start_segment): Cast address to | |
2429 | CORE_ADDR. | |
2430 | ||
a4e7b2e7 MK |
2431 | 2007-07-06 Mark Kettenis <kettenis@gnu.org> |
2432 | ||
2433 | * bsd-uthread.c (bsd_uthread_wait): Don't try to fetch thread IDs | |
2434 | for terminated processes. | |
2435 | ||
2ed23f5f MS |
2436 | 2007-07-05 Michael Snyder <msnyder@access-company.com> |
2437 | ||
2438 | * event-top.c (cli_command_loop): Prompt string can (and should) | |
2439 | be freed after call to readline (Coverity). Also move local var | |
2440 | declarations into block where they are used. | |
2441 | ||
2442 | * tui/tui-interp.c (tui_command_loop): Prompt string can (and | |
2443 | should) be freed after call to readline (Coverity). Also move | |
2444 | local var declarations into block where they are used. | |
2445 | ||
a25694b4 AS |
2446 | 2007-07-03 Andreas Schwab <schwab@suse.de> |
2447 | ||
2448 | * linux-nat.c (linux_nat_info_proc_cmd): Fix parsing of columns in | |
2449 | /proc/../stat. | |
2450 | ||
2bbe3cc1 DJ |
2451 | 2007-07-03 Paul Gilliam <pgilliam@us.ibm.com> |
2452 | Thiago Bauermann <bauerman@br.ibm.com> | |
2453 | Joseph S. Myers <joseph@codesourcery.com> | |
2454 | Daniel Jacobowitz <dan@codesourcery.com> | |
2455 | ||
2456 | * remote.c (remote_check_symbols): Use | |
2457 | gdbarch_convert_from_func_ptr_addr. | |
2458 | * infcall.c (find_function_addr): Handle function descriptors | |
2459 | without debugging information. | |
2460 | * ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Renamed | |
2461 | from ppc64_linux_convert_from_func_ptr_addr. Handle -msecure-plt. | |
2462 | (ppc_linux_init_abi): Always set convert_from_func_ptr_addr. | |
2463 | * solib-svr4.c (solib_break_names): Remove "._dl_debug_state". | |
2464 | (bfd_lookup_symbol): Do not take a SECT_FLAGS argument. Always | |
2465 | allow SEC_CODE and SEC_DATA. | |
2466 | (enable_break): Update calls. Pass current_target to solib_add. | |
2467 | Use gdbarch_convert_from_func_ptr_addr. | |
2468 | ||
9f43d28c DJ |
2469 | 2007-07-03 Ilko Iliev <iliev@ronetix.at> |
2470 | Daniel Jacobowitz <dan@codesourcery.com> | |
2471 | ||
2472 | * symfile.c (print_transfer_performance): Avoid integer overflow. | |
2473 | Use larger units. | |
2474 | ||
3a40aaa0 UW |
2475 | 2007-07-03 Markus Deuling <deuling@de.ibm.com> |
2476 | ||
2477 | * cp-namespace.c (lookup_symbol_file): Add block to | |
2478 | lookup_symbol_global call. | |
2479 | * Makefile.in (solist_h): Add dependency on symtab header. | |
2480 | (symtab.o): Add dependency on solist header. | |
2481 | * solib.c (solib_global_lookup): New function. | |
2482 | * solib-svr4.c (scan_dyntag): Likewise. | |
2483 | (elf_locate_base): Call helper routine scan_dyntag. | |
2484 | (elf_lookup_lib_symbol): New function. | |
2485 | (_initialize_svr4_solib): Add elf_lookup_lib_symbol to svr4_so_ops. | |
2486 | * solist.h (symtab.h): New include. | |
2487 | (struct target_so_ops): New member lookup_lib_global_symbol. | |
2488 | (solib_global_lookup): New prototype. | |
2489 | * symtab.c: New include solist.h. | |
2490 | (lookup_objfile_from_block): New function. | |
2491 | (lookup_global_symbol_from_objfile): New function. | |
2492 | (basic_lookup_symbol_nonlocal): Add block to lookup_symbol_global call. | |
2493 | (lookup_symbol_global): Call library-specific lookup procedure. | |
2494 | * symtab.h (lookup_global_symbol_from_objfile): New prototype. | |
2495 | ||
2496 | * NEWS: Document framework. | |
2497 | ||
c8c12293 DJ |
2498 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
2499 | ||
2500 | * target-descriptions.c (tdesc_create_reg): Do not set reg->type | |
2501 | to NULL. | |
2502 | ||
2503 | * cli/cli-script.c (build_command_line): Update NULL check. | |
2504 | ||
7877e977 MS |
2505 | 2007-07-02 Michael Snyder <msnyder@access-company.com> |
2506 | ||
2507 | * p-exp.y (yylex): Memory leak, 'uptokstart' must be freed (Coverity). | |
2508 | ||
cfa9d6d9 DJ |
2509 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
2510 | ||
2511 | * Makefile.in (XMLFILES): Add library-list.dtd. | |
2512 | (ALLDEPFILES): Add solib-target.o. | |
2513 | (solib-target.o): New rule. | |
2514 | * remote.c (PACKET_qXfer_libraries): New constant. | |
2515 | (remote_protocol_features): Add qXfer:libraries:read. | |
2516 | (remote_wait): Recognize library stop replies. | |
2517 | (remote_async_wait): Likewise. Fix typo. | |
2518 | (remote_xfer_partial): Handle TARGET_OBJECT_LIBRARIES. | |
2519 | (init_remote_async_ops): Fix typo. | |
2520 | (_initialize_remote): Register "set remote library-info-packet". | |
2521 | * solib-som.c (som_current_sos): Set addr_low and addr_high. | |
2522 | * solib-target.c: New file. | |
2523 | * solib.c (solib_map_sections): Use addr_low and addr_high instead | |
2524 | of textsection. | |
2525 | (info_sharedlibrary_command): Likewise. | |
2526 | (solib_add_library, solib_remove_library): New. | |
2527 | * solist.h (struct so_list): Replace textsection with addr_low and | |
2528 | addr_high. | |
2529 | * target.h (enum target_object): Add TARGET_OBJECT_LIBRARIES. | |
2530 | * NEWS: Describe new qXfer:libraries:read and shared library | |
2531 | event support. | |
2532 | * features/library-list.dtd: New. | |
2533 | ||
b0f4b84b DJ |
2534 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
2535 | ||
2536 | * infrun.c (inferior_ignoring_startup_exec_events): Delete. | |
2537 | (start_remote): Use STOP_QUIETLY_REMOTE. | |
2538 | (handle_inferior_event): Do not condition TARGET_WAITKIND_LOADED | |
2539 | support on a SOLIB_ADD definition. Update breakpoints_inserted. | |
2540 | Update to match shared library event breakpoint support. Only | |
2541 | resume if appropriate. Handle STOP_QUIETLY_REMOTE. | |
2542 | (normal_stop): Handle TARGET_WAITKIND_LOADED. | |
2543 | * fork-child.c (startup_inferior): Do not set | |
2544 | inferior_ignoring_startup_exec_events | |
2545 | * inferior.h (inferior_ignoring_startup_exec_events): Delete | |
2546 | declaration. | |
2547 | (enum stop_kind): Improve documentation. Add STOP_QUIETLY_REMOTE. | |
2548 | ||
9bbf65bb UW |
2549 | 2007-07-02 Markus Deuling <deuling@de.ibm.com> |
2550 | ||
2551 | * breakpoint.c (insert_bp_location): Remove dead code | |
2552 | (DISABLE_UNSETTABLE_BREAK). | |
2553 | (disable_breakpoints_in_shlibs) | |
2554 | (disable_breakpoints_in_unloaded_shlib): Likewise (comment). | |
2555 | ||
a4954f26 DJ |
2556 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
2557 | ||
2558 | * breakpoint.c (reattach_breakpoints): Do not use remove_breakpoint. | |
2559 | Call insert_bp_location. | |
2560 | ||
b48516f9 L |
2561 | 2007-07-01 H.J. Lu <hongjiu.lu@intel.com> |
2562 | ||
2563 | * core-regset.c (fetch_core_registers): Work around gcc 3.4 | |
2564 | alias warning bug. | |
2565 | ||
96225718 DJ |
2566 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
2567 | ||
2568 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Search fewer | |
2569 | objfiles. | |
2570 | ||
1b05479a DJ |
2571 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
2572 | ||
2573 | * top.c (gdb_readline_wrapper_line): Call rl_callback_handler_remove. | |
2574 | (struct gdb_readline_wrapper_cleanup): Remove prompt_orig. | |
2575 | (gdb_readline_wrapper_cleanup): Do not reset the prompt. | |
2576 | (gdb_readline_wrapper): Do not save the prompt. Pass our prompt | |
2577 | to display_gdb_prompt. | |
2578 | ||
5ad3a4ca DJ |
2579 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
2580 | ||
2581 | PR symtab/2161 | |
2582 | * target.c (memory_xfer_partial): Do not continue past targets with | |
2583 | all memory. | |
2584 | ||
4ed77933 AS |
2585 | 2007-06-30 Andreas Schwab <schwab@suse.de> |
2586 | ||
4713453b AS |
2587 | * m68k-tdep.c (m68k_ps_type): New. |
2588 | (m68k_init_types): New. | |
2589 | (m68k_register_type): Use m68k_ps_type for PS register. | |
2590 | (_initialize_m68k_tdep): Call m68k_init_types. | |
2591 | ||
4ed77933 AS |
2592 | * m68k-tdep.c (m68k_gdbarch_init): Don't infer coldfire flavour |
2593 | from the generic m68k arch. | |
2594 | ||
dd3526aa MS |
2595 | 2007-06-28 Michael Snyder <msnyder@access-company.com> |
2596 | ||
f08312c2 MS |
2597 | * m2-typeprint.c (m2_print_type): Move pointer ref after null test |
2598 | (Coverity). | |
2599 | ||
a787bedf MS |
2600 | * linux-thread-db.c (thread_db_get_thread_local_address): Add |
2601 | gdb_assert before using return value of find_thread_pid (Coverity). | |
2602 | ||
77accacd MS |
2603 | * source.c (unset_substitute_path_command): Plug leak (Coverity). |
2604 | ||
dd3526aa MS |
2605 | * cli/cli-script.c (build_command_line): Add null pointer guard |
2606 | (Coverity). | |
2607 | ||
4105de34 DJ |
2608 | 2007-06-27 Daniel Jacobowitz <dan@codesourcery.com> |
2609 | ||
2610 | * linux-thread-db.c (thread_db_attach): Delete. | |
2611 | (thread_db_detach): Typo fix. Call target_mourn_inferior | |
2612 | instead of fixing up proc_handle. | |
2613 | (have_threads_callback, have_threads): New functions. | |
2614 | (thread_db_wait): Remove dead proc_handle.pid check. Only | |
2615 | translate PTIDs if we have registered threads. Check for new | |
2616 | threads if we have none. | |
2617 | (thread_db_create_inferior, thread_db_post_startup_inferior): Delete. | |
2618 | (find_new_threads_callback): Only enable event reporting if TID == 0. | |
2619 | (same_ptid_callback): New. | |
2620 | (thread_db_get_thread_local_address): Check for new threads. | |
2621 | (init_thread_db_ops): Don't set to_attach, to_create_inferior, | |
2622 | or to_post_startup_inferior. | |
2623 | ||
1c0fdd0e UW |
2624 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
2625 | ||
2626 | * infrun.c (adjust_pc_after_break): Do not assume software single-step | |
2627 | is always active if SOFTWARE_SINGLE_STEP_P is true. | |
2628 | (resume): Use gdbarch_software_single_step[_p] instead of | |
2629 | SOFTWARE_SINGLE_STEP[_P]. | |
2630 | (handle_inferior_event): Do not check for SOFTWARE_SINGLE_STEP_P. | |
2631 | ||
2632 | * gdbarch.sh (software_single_step): Remove target macro. | |
2633 | * gdbarch.h, gdbarch.c: Regenerate. | |
2634 | ||
e487cc15 UW |
2635 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
2636 | ||
2637 | * gdbarch.sh (gdbarch_swap_ftype, deprecated_register_gdbarch_swap, | |
2638 | DEPRECATED_REGISTER_GDBARCH_SWAP): Remove. | |
2639 | (struct gdbarch_swap, struct gdbarch_swap_registration, | |
2640 | struct gdbarch_swap_registry, gdbarch_swap_registry, | |
2641 | current_gdbarch_swap_init_hack, current_gdbarch_swap_out_hack, | |
2642 | current_gdbarch_swap_in_hack): Remove. | |
2643 | (find_arch_by_info): Do not call current_gdbarch_swap_init_hack. | |
2644 | (gdbarch_find_by_info): Do not call current_gdbarch_swap_in_hack | |
2645 | and current_gdbarch_swap_out_hack, update current_gdbarch directly. | |
2646 | (deprecated_current_gdbarch_select_hack): Likewise. | |
2647 | * gdbarch.h, gdbarch.c: Regenerate. | |
2648 | ||
d5c31457 UW |
2649 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
2650 | ||
2651 | * infrun.c (clear_proceed_status): Clean up stop_registers. | |
2652 | (normal_stop): Allocate regcache for stop_registers. | |
2653 | (struct inferior_status): Remove stop_registers member. | |
2654 | (save_inferior_status): Do not save stop_registers. | |
2655 | (restore_inferior_status): Do not restore stop_registers. | |
2656 | (discard_inferior_status): Do not discard stop_registers. | |
2657 | (build_infrun): Remove. | |
2658 | (_initialize_infrun): Do not swap stop_registers. | |
2659 | ||
911c95a5 UW |
2660 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
2661 | ||
2662 | * remote.c (remote_address_masked): If remote_address_size is zero, | |
2663 | default to target address size. | |
2664 | (build_remote_gdbarch_data): Remove. | |
2665 | (_initialize_remote): Do not swap remote_address_size. | |
2666 | ||
5674de60 UW |
2667 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
2668 | ||
2669 | * gdbtypes.h (builtin_type_true_char, builtin_type_void, | |
2670 | builtin_type_char, builtin_type_short, builtin_type_int, | |
2671 | builtin_type_long, builtin_type_signed_char, | |
2672 | builtin_type_unsigned_char, builtin_type_unsigned_short, | |
2673 | builtin_type_unsigned_int, builtin_type_unsigned_long, | |
2674 | builtin_type_float, builtin_type_double, builtin_type_long_double, | |
2675 | builtin_type_complex, builtin_type_double_complex, builtin_type_string, | |
2676 | builtin_type_bool, builtin_type_long_long, | |
2677 | builtin_type_unsigned_long_long, builtin_type_void_data_ptr, | |
2678 | builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Replace global | |
2679 | variable declaration with compatibility macro. | |
2680 | * gdbtypes.c (builtin_type_true_char, builtin_type_void, | |
2681 | builtin_type_char, builtin_type_short, builtin_type_int, | |
2682 | builtin_type_long, builtin_type_signed_char, | |
2683 | builtin_type_unsigned_char, builtin_type_unsigned_short, | |
2684 | builtin_type_unsigned_int, builtin_type_unsigned_long, | |
2685 | builtin_type_float, builtin_type_double, builtin_type_long_double, | |
2686 | builtin_type_complex, builtin_type_double_complex, builtin_type_string, | |
2687 | builtin_type_bool, builtin_type_long_long, | |
2688 | builtin_type_unsigned_long_long, builtin_type_void_data_ptr, | |
2689 | builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Remove. | |
2690 | (build_gdbtypes): Remove. | |
2691 | (_initialize_gdbtypes): Do not call build_gdbtypes, move installing | |
2692 | opaque-type-resolution command here. Do not call | |
2693 | deprecated_register_gdbarch_swap. | |
2694 | ||
64c50499 UW |
2695 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
2696 | ||
2697 | * gdbtypes.h (struct builtin_type): New members nodebug_text_symbol, | |
2698 | nodebug_data_symbol, nodebug_unknown_symbol, and nodebug_tls_symbol. | |
2699 | * gdbtypes.c (gdbtypes_post_init): Initialize nodebug_ default types. | |
2700 | ||
2701 | * parse.c (msym_text_symbol_type, msym_data_symbol_type): Remove. | |
2702 | (msym_unknown_symbol_type, msym_tls_symbol_type): Remove. | |
2703 | (write_exp_msymbol): Use builtin nodebug_ types instead of them. | |
2704 | (build_parse): Remove. | |
2705 | (_initialize_parse): Do not call build_parse. Do not register | |
2706 | msym_ types for gdbarch-swapping. | |
2707 | ||
2708 | * dwarf2read.c (new_symbol): Use default nodebug_data_symbol type | |
2709 | instead of creating private type. | |
2710 | ||
2711 | * xcoffread.c (func_symbol_type, var_symbol_type): Remove. | |
2712 | (_initialize_xcoffread): Do not initialized them. | |
2713 | (process_xcoff_symbol): Use builtin nodebug_ types instead of them. | |
2714 | ||
2715 | * mdebugread.c (nodebug_func_symbol_type): Remove. | |
2716 | (nodebug_var_symbol_type): Remove. | |
2717 | (_initialize_mdebugread): Do not initialize them. | |
2718 | (parse_symbol): Use builtin nodebug_ type instead of them. | |
2719 | (parse_procedure): Likewise. | |
2720 | ||
6a2eb474 MR |
2721 | 2007-06-21 Chris Dearman <chris@mips.com> |
2722 | ||
2723 | * printcmd.c (do_one_display): If display/i, start with an initial | |
2724 | line feed to avoid bad layout if there is a branch delay slot. | |
2725 | ||
a4642986 MR |
2726 | 2007-06-21 Nigel Stephens <nigel@mips.com> |
2727 | Maciej W. Rozycki <macro@mips.com> | |
2728 | ||
2729 | * disasm.c (gdb_print_insn): Return the number of branch delay | |
2730 | slot instructions too. | |
2731 | * disasm.h (gdb_print_insn): Update prototype. | |
2732 | * printcmd.c (branch_delay_insns): New variable to record the | |
2733 | number of delay slot instructions after disassembling a branch. | |
2734 | (print_formatted): Record the number of branch delay slot | |
2735 | instructions. | |
2736 | (do_examine): When disassembling, if the last instruction | |
2737 | disassembled has any branch delay slots, then bump the count so | |
2738 | that they get disassembled too. | |
2739 | * tui/tui-disasm.c (tui_disassemble): Update the call to | |
2740 | gdb_print_insn(). | |
2741 | * NEWS: Document the new behaviour. | |
2742 | ||
ade28716 AS |
2743 | 2007-06-21 Andreas Schwab <schwab@suse.de> |
2744 | ||
2745 | * regcache.c (write_pc_pid): Restore missing else. | |
2746 | ||
28c38f10 UW |
2747 | 2007-06-20 Ulrich Weigand <uweigand@de.ibm.com> |
2748 | ||
2749 | * regcache.c (regcache_print): Use get_current_regcache () | |
2750 | instead of current_regcache. | |
2751 | ||
52b57208 L |
2752 | 2007-06-20 H.J. Lu <hongjiu.lu@intel.com> |
2753 | ||
2754 | PR 4606 | |
2755 | * gcore.c (gcore_command): Use bfd_make_section_anyway_with_flags | |
2756 | instead of bfd_make_section_anyway. | |
2757 | (gcore_create_callback): Likewise. Also set SEC_NEVER_LOAD | |
2758 | when clearing SEC_LOAD. | |
2759 | ||
8bf8793c JM |
2760 | 2007-06-19 Joseph Myers <joseph@codesourcery.com> |
2761 | ||
2762 | * arm-tdep.c (arm_push_dummy_call): Correct padding of partial | |
2763 | registers for big-endian. | |
2764 | ||
7f5c84d3 UW |
2765 | 2007-06-19 Markus Deuling <deuling@de.ibm.com> |
2766 | ||
2767 | * gdbarch.sh (TARGET_PRINT_INSN): Replace by gdbarch_print_insn. | |
2768 | * disasm.c (dump_insns, gdb_print_insn): Likewise. | |
2769 | * gdbarch.c, gdbarch.h: Regenerate. | |
2770 | ||
f73e88f9 UW |
2771 | 2007-06-19 Markus Deuling <deuling@de.ibm.com> |
2772 | ||
2773 | * gdbarch.sh (BELIEVE_PCC_PROMOTION): Replace by | |
2774 | gdbarch_believe_pcc_promotion. | |
2775 | * stabsread.c (define_symbol): Likewise. | |
2776 | Remove unnecessary definition. | |
2777 | * coffread.c (process_coff_symbol): Remove unnecessary code. | |
2778 | * gdbarch.c, gdbarch.h: Regenerate. | |
2779 | ||
cab58a69 DJ |
2780 | 2007-06-19 Daniel Jacobowitz <dan@codesourcery.com> |
2781 | ||
2782 | * configure.ac: Do not use ${objdir}. | |
2783 | * configure: Regenerated. | |
2784 | ||
f0c9063c UW |
2785 | 2007-06-18 Ulrich Weigand <uweigand@de.ibm.com> |
2786 | ||
2787 | * gdbarch.sh (deprecated_register_size): Remove. | |
2788 | * gdbarch.h, gdbarch.c: Regenerate. | |
2789 | ||
2790 | * arm-tdep.c (arm_push_dummy_call): Replace DEPRECATED_REGISTER_SIZE | |
2791 | by INT_REGISTER_SIZE. | |
2792 | (thumb_get_next_pc, arm_return_in_memory): Likewise. | |
2793 | (arm_gdbarch_init): Do not call set_gdbarch_deprecated_register_size. | |
2794 | * ia64-tdep.c (ia64_gdbarch_init): Do not call | |
2795 | set_gdbarch_deprecated_register_size. | |
2796 | ||
064f5156 UW |
2797 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
2798 | ||
2799 | * gdbarch.sh (DEPRECATED_FP_REGNUM): Replace by | |
2800 | gdbarch_deprecated_fp_regnum. | |
2801 | * std-regs.c (value_of_builtin_frame_fp_reg): Likewise. | |
2802 | * remote-mips.c (mips_wait, mips_fetch_registers): Likewise. | |
2803 | * arch-utils.c (legacy_virtual_frame_pointer): Likewise. | |
2804 | * arch-utils.h (gdbarch_virtual_frame_pointer_ftype): Likewise | |
2805 | (comment). | |
2806 | * gdbarch.c, gdbarch.h: Regenerate. | |
2807 | ||
2808 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> | |
2809 | ||
2810 | * gdbarch.sh (EXTRACT_RETURN_VALUE): Replace with | |
2811 | gdbarch_extract_return_value. | |
2812 | * value.c (generic_use_struct_convention): Likewise (comment). | |
2813 | * ia64-tdep.c (ia64_use_struct_convention): Likewise (comment). | |
2814 | * arch-utils.c (legacy_return_value): Likewise. | |
2815 | * arch-utils.h (legacy_return_value): Likewise (comment). | |
2816 | * gdbarch.sh (STORE_RETURN_VALUE): Replace by | |
2817 | gdbarch_store_return_value. | |
2818 | * stack.c (return_command): Likewise (comment). | |
2819 | * arch-utils.h (legacy_return_value): Likewise (comment). | |
2820 | * arch-utils.c (legacy_return_value): Likewise. | |
2821 | * gdbarch.c, gdbarch.h: Regenerate. | |
2822 | ||
b187c476 UW |
2823 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
2824 | ||
2825 | * gdbarch.sh (DEPRECATED_USE_STRUCT_CONVENTION): Replace by | |
2826 | gdbarch_deprecated_use_struct_convention. | |
2827 | * arch-utils.c (legacy_return_value): Likewise. | |
2828 | * gdbarch.c, gdbarch.h: Regenerate. | |
2829 | ||
cbf3b44a UW |
2830 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
2831 | ||
2832 | * gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Replace by | |
2833 | gdbarch_deprecated_function_start_offset. | |
2834 | * symtab.c (find_function_start_sal)skip_prologue_using_sal): Likewise. | |
2835 | * linespec.c (minsym_found): Likewise. | |
2836 | * infrun.c (handle_inferior_event): Likewise. | |
2837 | * infcall.c (find_function_addr): Likewise. | |
2838 | * cli/cli-cmds.c (disassemble_command): Likewise. | |
2839 | * gdbarch.c, gdbarch.h: Regenerate. | |
2840 | ||
bceb6e50 UW |
2841 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
2842 | ||
2843 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Replace by | |
2844 | gdbarch_deprecated_reg_struct_has_addr. | |
2845 | * infcall.c (call_function_by_hand): Likewise. | |
2846 | (DEPRECATED_REG_STRUCT_HAS_ADDR_P): Replace by | |
2847 | * gdbarch_deprecated_reg_struct_has_addr_p. | |
2848 | * infcall.c (call_function_by_hand): Likewise. | |
2849 | * gdbarch.c, gdbarch.h: Regenerate. | |
2850 | ||
8ed6a7ba UW |
2851 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
2852 | ||
2853 | * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
2854 | * sh-tdep.c (sh_extract_struct_value_address): Remove. | |
2855 | (sh_gdbarch_init): Remove | |
2856 | set_gdbarch_deprecated_extract_struct_value_address. | |
2857 | * sh64-tdep.c (sh64_extract_struct_value_address): Remove. | |
2858 | (sh64_gdbarch_init): Remove | |
2859 | set_gdbarch_deprecated_extract_struct_value_address. | |
2860 | * ia64-tdep.c (ia64_extract_struct_value_address): Remove. | |
2861 | (ia64_gdbarch_init): Remove | |
2862 | set_gdbarch_deprecated_extract_struct_value_address. | |
2863 | * frv-tdep.c (frv_extract_struct_value_address): Remove. | |
2864 | (frv_gdbarch_init): Remove | |
2865 | set_gdbarch_deprecated_extract_struct_value_address. | |
2866 | * gdbarch.c, gdbarch.h: Regenerate. | |
2867 | ||
3e8c568d UW |
2868 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
2869 | ||
2870 | * gdbarch.sh (SP_REGNUM): Replace by gdbarch_sp_regnum. | |
2871 | * v850-tdep.c (v850_unwind_sp): Likewise. | |
2872 | * std-regs.c (value_of_builtin_frame_sp_reg): Likewise. | |
2873 | * stack.c (frame_info): Likewise. | |
2874 | * stabsread.c (define_symbol): Likewise. | |
2875 | * sh-tdep.c (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu) | |
2876 | (sh_dwarf2_frame_init_reg, sh_frame_cache, sh_frame_prev_register) | |
2877 | (sh_unwind_sp): Likewise. | |
2878 | * sh64-tdep.c (sh64_push_dummy_call, sh64_frame_cache) | |
2879 | (sh64_frame_prev_register, sh64_unwind_sp): Likewise. | |
2880 | * rs6000-tdep.c (rs6000_push_dummy_call, rs6000_unwind_dummy_id) | |
2881 | (rs6000_frame_cache): Likewise. | |
2882 | * rs6000-nat.c (store_register): Likewise. | |
2883 | * remote-mips.c (mips_wait): Likewise. | |
2884 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
2885 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call) | |
2886 | (ppc64_sysv_abi_push_dummy_call): Likewise. | |
2887 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise. | |
2888 | * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise. | |
2889 | * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise. | |
2890 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
2891 | * m32r-rom.c (m32r_supply_register): Likewise. | |
2892 | * frame.c (frame_sp_unwind): Likewise. | |
2893 | * mips-tdep.c (mips_insn16_frame_cache) | |
2894 | (mips_insn32_frame_cache): Likewise (comment). | |
2895 | * m68klinux-nat.c (supply_gregset): Likewise. | |
2896 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
2897 | * ia64-tdep.c (ia64_frame_prev_register): Likewise. | |
2898 | * i386-tdep.c (i386_get_longjmp_target): Likewise. | |
2899 | * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise. | |
2900 | * cris-tdep.c (cris_regnums, cris_sigcontext_addr) | |
2901 | (cris_sigtramp_frame_unwind_cache, cris_push_dummy_call) | |
2902 | (cris_scan_prologue, crisv32_scan_prologue, cris_unwind_sp) | |
2903 | (cris_register_type, crisv32_register_type) | |
2904 | (cris_dwarf2_frame_init_reg): Likewise. | |
2905 | * arch-utils.c (legacy_virtual_frame_pointer): Likewise. | |
2906 | * amd64-tdep.c (amd64_frame_prev_register): Likewise. | |
2907 | * amd64-linux-tdep.c (amd64_linux_sigcontext_addr): Likewise. | |
2908 | * libunwind-frame.c (libunwind_frame_cache): Likewise. | |
2909 | ||
2910 | * gdbarch.sh (PC_REGNUM): Replace by gdbarch_pc_regnum. | |
2911 | * regcache.c (read_pc_pid, generic_target_write_pc): Likewise. | |
2912 | * xtensa-tdep.c (xtensa_register_type, xtensa_supply_gregset) | |
2913 | (xtensa_unwind_pc, xtensa_frame_cache, xtensa_frame_prev_register) | |
2914 | (xtensa_extract_return_value, xtensa_store_return_value): Likewise. | |
2915 | * v850-tdep.c (v850_unwind_pc): Likewise. | |
2916 | * stack.c (frame_info): Likewise. | |
2917 | * sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh2e_show_regs) | |
2918 | (sh2a_show_regs, sh2a_nofpu_show_regs, sh3e_show_regs) | |
2919 | (sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs) | |
2920 | (sh_dwarf2_frame_init_reg, sh_frame_prev_register, sh_unwind_pc) | |
2921 | (sh_dsp_show_regs): Likewise. | |
2922 | * shnbsd-tdep.c (shnbsd_supply_gregset) | |
2923 | (shnbsd_collect_gregset): Likewise. | |
2924 | * shnbsd-nat.c (GETREGS_SUPPLIES): Likewise. | |
2925 | * sh64-tdep.c (sh64_compact_reg_base_num, sh64_show_media_regs) | |
2926 | (sh64_frame_prev_register, sh64_unwind_pc): Likewise. | |
2927 | * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset) | |
2928 | (6000_register_reggroup_p, rs6000_unwind_pc) | |
2929 | (rs6000_frame_cache): Likewise. | |
2930 | * rs6000-nat.c (regmap, rs6000_fetch_inferior_registers) | |
2931 | (rs6000_store_inferior_registers): Likewise. | |
2932 | * remote-mips.c (mips_wait, mips_load): Likewise. | |
2933 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
2934 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise. | |
2935 | * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise. | |
2936 | * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise. | |
2937 | * ppcnbsd-nat.c (getregs_supplies, ppcnbsd_supply_pcb): Likewise. | |
2938 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
2939 | * ppc-linux-nat.c (ppc_register_u_addr, fetch_ppc_registers) | |
2940 | (store_ppc_registers, fill_gregset): Likewise. | |
2941 | * mips-tdep.c (mips_stub_frame_cache, mips_gdbarch_init): Likewise. | |
2942 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_fill_reg): Likewise. | |
2943 | * mipsnbsd-nat.c (getregs_supplies): Likewise. | |
2944 | * m68k-tdep.c (m68k_register_type, m68k_unwind_pc): Likewise. | |
2945 | * m68klinux-nat.c (supply_gregset): Likewise. | |
2946 | * irix5-nat.c (fill_gregset): Likewise. | |
2947 | * i386-tdep.c (i386_unwind_pc): Likewise. | |
2948 | * i386-linux-nat.c (i386_linux_resume): Likewise. | |
2949 | * frame.c (get_prev_frame_1): Likewise. | |
2950 | * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise. | |
2951 | * dbug-rom.c (dbug_supply_register): Likewise. | |
2952 | * cris-tdep.c (cris_sigtramp_frame_unwind_cache, cris_scan_prologue) | |
2953 | (crisv32_scan_prologue, cris_unwind_pc, cris_register_size) | |
2954 | (cris_register_type, crisv32_register_type, crisv32_register_name) | |
2955 | (cris_dwarf2_frame_init_reg, find_step_target) | |
2956 | (cris_software_single_step, cris_supply_gregset) | |
2957 | (cris_regnums): Likewise. | |
2958 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. | |
2959 | * aix-thread.c (special_register_p, supply_sprs64, supply_sprs32) | |
2960 | (fill_sprs64, fill_sprs32, store_regs_user_thread): Likewise. | |
2961 | * std-regs.c (value_of_builtin_frame_pc_reg): Likewise. | |
2962 | * mips-linux-tdep.c (mips_linux_write_pc): Likewise. | |
2963 | ||
2964 | * gdbarch.sh (PS_REGNUM): Replace by gdbarch_ps_regnum. | |
2965 | * dbug-rom.c (dbug_supply_register): Likewise. | |
2966 | * xtensa-tdep.c (xtensa_supply_gregset, xtensa_frame_cache) | |
2967 | (xtensa_frame_prev_register, xtensa_push_dummy_call): Likewise. | |
2968 | * win32-nat.c (win32_resume): Likewise. | |
2969 | * std-regs.c (value_of_builtin_frame_ps_reg): Likewise. | |
2970 | * m68k-tdep.c (m68k_register_type): Likewise. | |
2971 | * m68klinux-nat.c (supply_gregset): Likewise. | |
2972 | ||
2973 | * gdbarch.sh (FP0_REGNUM): Replace by gdbarch_fp0_regnum. | |
2974 | * sh-tdep.c (sh_extract_return_value_fpu, sh_store_return_value_fpu) | |
2975 | (sh2e_show_regs, sh2a_show_regs, sh3e_show_regs, sh4_show_regs) | |
2976 | (sh_sh2a_register_type, sh_sh3e_register_type, sh_sh4_register_type) | |
2977 | (fv_reg_base_num, dr_reg_base_num): Likewise. | |
2978 | * sh64-tdep.c (sh64_fv_reg_base_num, sh64_dr_reg_base_num) | |
2979 | (sh64_fpp_reg_base_num, sh64_compact_reg_base_num, sh64_push_dummy_call) | |
2980 | (sh64_extract_return_value, sh64_store_return_value) | |
2981 | (sh64_show_media_regs, sh64_show_compact_regs, sh64_register_type) | |
2982 | (sh64_do_fp_register, sh64_media_print_registers_info): Likewise. | |
2983 | * procfs.c (procfs_fetch_registers, procfs_store_registers) | |
2984 | (invalidate_cache): Likewise. | |
2985 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
2986 | * mipsnbsd-tdep.c (mipsnbsd_supply_fpreg) | |
2987 | (mipsnbsd_fill_fpreg): Likewise. | |
2988 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers) | |
2989 | (mipsnbsd_store_inferior_registers): Likewise. | |
2990 | * mips-linux-tdep.c (mips_supply_fpregset, mips_fill_fpregset) | |
2991 | (mips64_supply_fpregset, mips64_fill_fpregset): Likewise. | |
2992 | * mips-linux-nat.c (mips64_linux_register_addr): Likewise. | |
2993 | * m68k-tdep.c (m68k_register_type, m68k_convert_register_p): Likewise. | |
2994 | * m68klinux-nat.c (getfpregs_supplies, supply_fpregset) | |
2995 | (fill_fpregset): Likewise. | |
2996 | * irix5-nat.c (supply_fpregset, fill_fpregset): Likewise. | |
2997 | * i386-tdep.h (struct_return): Likewise (comment). | |
2998 | * i386-nto-tdep.c (i386nto_register_area): Likewise. | |
2999 | * go32-nat.c (fetch_register, go32_fetch_registers, store_register) | |
3000 | (go32_store_registers): Likewise. | |
3001 | * alpha-tdep.c (alpha_next_pc): Likewise. | |
3002 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. | |
3003 | * alphabsd-nat.c (alphabsd_fetch_inferior_registers) | |
3004 | (alphabsd_store_inferior_registers): Likewise. | |
3005 | * core-regset.c (fetch_core_registers): Likewise. | |
3006 | * i386v4-nat.c (supply_fpregset, fill_fpregset): Likewise. | |
3007 | ||
3008 | * gdbarch.c, gdbarch.h: Regenerate. | |
3009 | ||
31d99776 DJ |
3010 | 2007-06-18 Daniel Jacobowitz <dan@codesourcery.com> |
3011 | ||
3012 | * coffread.c (coff_sym_fns): Add default_symfile_segments. | |
3013 | * dbxread.c (start_psymtab): Check HAVE_ELF. | |
3014 | (aout_sym_fns): Likewise. | |
3015 | * elfread.c (elf_symfile_segments): New. | |
3016 | (elf_sym_fns): Add elf_symfile_segments. | |
3017 | * mipsread.c (ecoff_sym_fns): Add default_symfile_segments. | |
3018 | * remote.c (get_offsets): Use symfile_map_offsets_to_segments. | |
3019 | Skip if there is no symfile_objfile. Handle TextSeg and DataSeg. | |
3020 | * somread.c (som_sym_fns): Use default_symfile_segments. | |
3021 | * symfile.c (find_sym_fns): Take a BFD and return the sym_fns. | |
3022 | (init_objfile_sect_indices): Call symfile_find_segment_sections. | |
3023 | (default_symfile_segments): New function. | |
3024 | (syms_from_objfile): Update call to find_sym_fns. | |
3025 | (symfile_get_segment_data, free_symfile_segment_data): New. | |
3026 | (symfile_map_offsets_to_segments): New. | |
3027 | (symfile_find_segment_sections): New. | |
3028 | * symfile.h (struct symfile_segment_data): New. | |
3029 | (struct sym_fns): Add sym_segments. | |
3030 | (default_symfile_segments, symfile_get_segment_data) | |
3031 | (free_symfile_segment_data): New prototypes. | |
3032 | (symfile_map_offsets_to_segments): Likewise. | |
3033 | * xcoffread.c (xcoff_sym_fns): Add default_symfile_segments. | |
3034 | * Makefile.in (COMMON_OBS): Remove elfread.o. | |
3035 | (elf_internal_h): New. | |
3036 | (elfread.o): Update. | |
3037 | * configure.ac: Add elfread.o to COMMON_OBS if bfd/elf.o was | |
3038 | compiled. | |
3039 | * config.in, configure: Regenerated. | |
3040 | * NEWS: Mention qOffsets changes. | |
3041 | ||
5760b90a UW |
3042 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3043 | ||
3044 | * gdbtypes.h (builtin_type_m2_char, builtin_type_m2_int, | |
3045 | builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool): | |
3046 | Replace global variable declaration with compatibility macro. | |
3047 | (struct builtin_m2_type): New data type. | |
3048 | (builtin_m2_type): Add prototype. | |
3049 | * m2-lang.c (builtin_type_m2_char, builtin_type_m2_int, | |
3050 | builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool): | |
3051 | Remove global variables. | |
3052 | (m2_language_arch_info): Use builtin_m2_type instead of variables. | |
3053 | (build_m2_types): New function. | |
3054 | (m2_type_data): New variable. | |
3055 | (builtin_m2_type): New function. | |
3056 | (_initialize_m2_language): Do not build data types. Register | |
3057 | m2_type_data per-gdbarch data. | |
3058 | ||
54ef06c7 UW |
3059 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3060 | ||
3061 | * gdbtypes.h (builtin_type_f_character, builtin_type_f_logical, | |
3062 | builtin_type_f_logical_s1, builtin_type_f_logical_s2, | |
3063 | builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real, | |
3064 | builtin_type_f_real_s8, builtin_type_f_real_s16, | |
3065 | builtin_type_f_complex_s8, builtin_type_f_complex_s16, | |
3066 | builtin_type_f_complex_s32, builtin_type_f_void): Replace global | |
3067 | variable declaration with compatibility macro. | |
3068 | (struct builtin_f_type): New data type. | |
3069 | (builtin_f_type): Add prototype. | |
3070 | * f-lang.c (builtin_type_f_character, builtin_type_f_logical, | |
3071 | builtin_type_f_logical_s1, builtin_type_f_logical_s2, | |
3072 | builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real, | |
3073 | builtin_type_f_real_s8, builtin_type_f_real_s16, | |
3074 | builtin_type_f_complex_s8, builtin_type_f_complex_s16, | |
3075 | builtin_type_f_complex_s32, builtin_type_f_void): Remove variables. | |
3076 | (f_language_arch_info): Use builtin_f_type instead of variables. | |
3077 | (build_fortran_types): Build builtin_f_type structure instead of | |
3078 | setting global type variables. | |
3079 | (f_type_data): New variable. | |
3080 | (builtin_f_type): New function. | |
3081 | (_initialize_f_language): Do not call build_fortran_types. Do not | |
3082 | swap global type variables. Register f_type_data per-gdbarch data. | |
3083 | ||
92e0cef4 UW |
3084 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3085 | ||
3086 | * f-lang.c (_initialize_f_language): Do not initialize or | |
3087 | swap builtin_type_string. | |
3088 | ||
5d8140d1 UW |
3089 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3090 | ||
0e7b1906 UW |
3091 | * std-regs.c (builtin_type_frame_reg, build_builtin_type_frame_reg, |
3092 | value_of_builtin_frame_reg): Remove. | |
3093 | (_initialize_frame_reg): Do not swap builtin_type_frame_reg. Remove | |
3094 | inactive call to value_of_builtin_frame_reg. | |
3095 | ||
3096 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> | |
3097 | ||
3098 | * gdbarch.sh (bfd_vma_bit): Remove. | |
5d8140d1 UW |
3099 | * gdbarch.c, gdbarch.h: Regenerate. |
3100 | ||
3101 | * gdbtypes.h (builtin_bfd_vma_type): Remove. | |
3102 | * gdbtypes.h (builtin_bfd_vma_type): Remove. | |
3103 | (build_gdbtypes): Do not initialize it. | |
3104 | (_initialize_gdbtypes): Do not swap it. | |
3105 | ||
794ac428 UW |
3106 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3107 | ||
3108 | * gdbtypes.c (builtin_type_v2_double, builtin_type_v4_float, | |
3109 | builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16, | |
3110 | builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32, | |
3111 | builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf, | |
3112 | builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi, | |
3113 | builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si, | |
3114 | builtin_type_vec64, builtin_type_vec128): Remove. | |
3115 | (init_simd_type): Remove. | |
3116 | (init_vector_type): Make global. | |
3117 | (build_builtin_type_vec64, build_builtin_type_vec128): Remove. | |
3118 | (build_gdbtypes): Do not build vector types. | |
3119 | (_initialize_gdbtypes): Do not swap vector types. | |
3120 | * gdbtypes.h (builtin_type_v2_double, builtin_type_v4_float, | |
3121 | builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16, | |
3122 | builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32, | |
3123 | builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf, | |
3124 | builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi, | |
3125 | builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si, | |
3126 | builtin_type_vec64, builtin_type_vec128): Remove declarations. | |
3127 | (init_vector_type): Add prototype. | |
3128 | ||
3129 | * i386-tdep.h (struct gdbarch_tdep): Add i386_mmx_type and | |
3130 | i386_sse_type members. | |
3131 | (i386_mmx_type, i386_sse_type): Change from variables to functions. | |
3132 | * i386-tdep.c (i386_mmx_type, i386_sse_type): Remove variables. | |
3133 | (i386_init_types): Do not build vector types. | |
3134 | (i386_mmx_type, i386_sse_type): New functions. | |
3135 | (i386_register_type): Call them instead of using global variables. | |
3136 | (i386_gdbarch_init): Use XCALLOC to allocate tdep structure. | |
3137 | * amd64-tdep.c (amd64_register_type): Call i386_sse_type instead | |
3138 | of using global variable. | |
3139 | ||
3140 | * rs6000-tdep.h (struct gdbarch_tdep): Add ppc_builtin_type_vec64 | |
3141 | and ppc_builtin_type_vec128 members. | |
3142 | * rs6000-tdep.c (rs6000_builtin_type_vec64): New function. | |
3143 | (rs6000_builtin_type_vec128): Likewise. | |
3144 | (rs6000_register_type): Call them instead of using builtin_type_vec64 | |
3145 | and builtin_type_vec128. | |
3146 | (rs6000_gdbarch_init): Use XCALLOC to allocate tdep structure. | |
3147 | ||
3148 | * spu-tdep.c (struct gdbarch_tdep): New data type. | |
3149 | (spu_builtin_type_vec128): Remove variable. | |
3150 | (spu_builtin_type_vec128): New function. | |
3151 | (spu_register_type): Call it instead of using global variable. | |
3152 | (spu_gdbarch_init): Allocate tdep structure. | |
3153 | (spu_init_vector_type): Remove function. | |
3154 | (_initialize_spu_tdep): Do not call it. | |
3155 | ||
6707b003 UW |
3156 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3157 | ||
3158 | * amd64-tdep.c (struct amd64_register_info): Remove. | |
3159 | (amd64_register_info): Remove. | |
3160 | (amd64_register_names): New static variable. | |
3161 | (AMD64_NUM_REGS): Use amd64_register_names instead of | |
3162 | amd64_register_info. | |
3163 | (amd64_register_name): Likewise. | |
3164 | (amd64_register_type): Do not refer to amd64_register_info. | |
3165 | ||
3166 | * s390-tdep.c (struct s390_register_info): Remove. | |
3167 | (s390_register_info): Remove. | |
3168 | (s390_register_name): Do not refer to s390_register_info. | |
3169 | (s390_register_type): Likewise. | |
3170 | ||
3171 | * sparc64-tdep.c (struct sparc64_register_info): Remove. | |
3172 | (sparc64_register_info, sparc64_pseudo_register_info): Remove. | |
3173 | (sparc64_register_names, sparc64_pseudo_register_names): New. | |
3174 | (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use | |
3175 | sparc64_register_names and sparc64_pseudo_register_names instead of | |
3176 | sparc64_register_info and sparc64_pseudo_register_info. | |
3177 | (sparc64_register_name): Likewise. | |
3178 | (sparc64_register_type): Do not refer to sparc64_register_info | |
3179 | and sparc64_pseudo_register_info. | |
3180 | ||
cad351d1 UW |
3181 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3182 | ||
3183 | * c-lang.c (cplus_builtin_types): Remove. | |
3184 | (enum cplus_primitive_types): New data type. | |
3185 | (cplus_language_arch_info): New function. | |
3186 | (cplus_language_defn): Set la_language_arch_info member. Do not set | |
3187 | la_builtin_type_vector and string_char_type members. | |
3188 | ||
3189 | * f-lang.c (f_builtin_types): Remove. | |
3190 | (enum f_primitive_types): New data type. | |
3191 | (f_language_arch_info): New function. | |
3192 | (f_language_de): Set la_language_arch_info member. Do not set | |
3193 | la_builtin_type_vector and string_char_type members. | |
3194 | ||
3195 | * m2-lang.c (m2_builtin_types): Remove. | |
3196 | (enum m2_primitive_types): New data type. | |
3197 | (m2_language_arch_info): New function. | |
3198 | (m2_language_defn): Set la_language_arch_info member. Do not set | |
3199 | la_builtin_type_vector and string_char_type members. | |
3200 | ||
3201 | * objc-lang.c (objc_builtin_types): Remove. | |
3202 | (objc_language): Set la_language_arch_info member. Do not set | |
3203 | la_builtin_type_vector and string_char_type members. | |
3204 | ||
3205 | * p-lang.c (pascal_builtin_types): Remove. | |
3206 | (enum pascal_primitive_types): New data type. | |
3207 | (pascal_language_arch_info): New function. | |
3208 | (pascal_language_defn): Set la_language_arch_info member. Do not set | |
3209 | la_builtin_type_vector and string_char_type members. | |
3210 | ||
594f7785 UW |
3211 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3212 | ||
3213 | * regcache.c (struct regcache): Add ptid_t member. | |
3214 | (regcache_xmalloc): Initialize it. | |
3215 | (regcache_cpy_no_passthrough): Do not refer to current_regcache. | |
3216 | (regcache_dup): Likewise. | |
3217 | (regcache_dup_no_passthrough): Likewise. | |
3218 | (current_regcache): Make static. | |
3219 | (registers_ptid): Remove variable. | |
3220 | (get_thread_regcache): New function. | |
3221 | (get_current_regcache): New function. | |
3222 | (registers_changed): Implement by freeing current regcache. | |
3223 | (regcache_raw_read): Do not refer to current_regcache. Set | |
3224 | inferior_ptid to regcache->ptid while calling target routines. | |
3225 | (regcache_raw_write): Likewise. | |
3226 | (regcache_raw_supply): Do not refer to current_regcache. | |
3227 | (read_pc_pid): Use thread regcache. Do not modify inferior_ptid. | |
3228 | (write_pc_pid): Likewise. | |
3229 | (build_regcache): Remove. | |
3230 | (_initialize_regcache): Do not call DEPRECATED_REGISTER_GDBARCH_SWAP | |
3231 | or deprecated_register_gdbarch_swap. Do not initialize | |
3232 | registers_ptid. | |
3233 | * regcache.h (get_current_regcache): Add prototype. | |
3234 | (get_thread_regcache): Likewise. | |
3235 | (current_regcache): Remove declaration. | |
3236 | ||
3237 | * corelow.c (core_open): Replace current_regcache by | |
3238 | get_current_regcache (). | |
3239 | * frame.c (frame_pop): Likewise. | |
3240 | (put_frame_register): Likewise. | |
3241 | (get_current_frame, create_new_frame): Likewise. | |
3242 | * mi/mi-main.c (mi_cmd_data_write_register_values): Likewise. | |
3243 | * stack.c (return_command): Likewise. | |
3244 | * infcall.c (call_function_by_hand): Likewise. | |
3245 | * infrun.c (resume): Likewise. | |
3246 | (save_inferior_status, restore_inferior_status): Likewise. | |
3247 | * linux-fork.c (fork_load_infrun_state): Likewise. | |
3248 | (fork_save_infrun_state): Likewise. | |
3249 | * win32-nat.c (win32_resume): Likewise. | |
3250 | * i386fbsd-nat.c (i386fbsd_resume): Likewise. | |
3251 | * monitor.c (monitor_wait): Likewise. | |
3252 | * remote.c (remote_wait): Likewise. | |
3253 | * remote-mips.c (mips_wait): Likewise. | |
3254 | ||
3255 | * bsd-kvm.c (bsd_kvm_open): Likewise | |
3256 | (bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Likewise. | |
3257 | * fbsd-nat.c (fbsd_make_corefile_notes): Likewise. | |
3258 | * i386-linux-nat.c (i386_linux_resume): Likewise. | |
3259 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Likewise. | |
3260 | (ia64_linux_stopped_data_address): Likewise. | |
3261 | ||
3262 | * frv-tdep.c (frv_fdpic_loadmap_addresses): Likewise. | |
3263 | * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. | |
3264 | * mep-tdep.c (current_me_module, current_options): Likewise. | |
3265 | * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Likewise. | |
3266 | ||
3267 | * linux-nat.c (linux_nat_do_thread_registers): Use thread | |
3268 | regcache instead of current_regcache. Call target_fetch_registers. | |
3269 | (linux_nat_corefile_thread_callback): Update call site. | |
3270 | (linux_nat_do_registers): Likewise. | |
3271 | * procfs.c (procfs_do_thread_registers): Use thread regcache instead | |
3272 | of current_regcache. | |
3273 | (procfs_make_note_section): Likewise. | |
3274 | * proc-service.c (ps_lgetregs, ps_lsetregs): Likewise. | |
3275 | (ps_lgetfpregs, ps_lsetfpregs): Likewise. | |
3276 | * sol-thread.c (ps_lgetregs, ps_lsetregs): Likewise. | |
3277 | (ps_lgetfpregs, ps_lsetfpregs): Likewise. | |
3278 | ||
51a7a212 UW |
3279 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3280 | ||
3281 | * regcache.c (read_register, read_register_pid): Remove. | |
3282 | (write_register, write_register_pid): Likewise. | |
3283 | * regcache.h (read_register, read_register_pid): Remove prototype. | |
3284 | (write_register, write_register_pid): Likewise. | |
3285 | ||
61a1198a UW |
3286 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3287 | ||
3288 | * gdbarch.sh (read_pc): Add REGCACHE argument. Remove PTID argument. | |
3289 | (write_pc): Likewise. Remove default implementation, add predicate. | |
3290 | * gdbarch.c, gdbarch.h: Regenerate. | |
3291 | * regcache.c (read_pc_pid): Use current regcache instead of calling | |
3292 | read_register_pid. | |
3293 | (write_pc_pid): Check gdbarch_write_pc predicate, implement default | |
3294 | case inline. | |
3295 | (generic_target_write_pc): Remove. | |
3296 | * inferior.h (generic_target_write_pc): Remove. | |
3297 | * frv-tdep.c (frv_gdbarch_init): Do not install it. | |
3298 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
3299 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
3300 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
3301 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
3302 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
3303 | ||
3304 | * avr-tdep.c (avr_read_pc): Add REGCACHE argument. Remove PTID | |
3305 | argument. Use REGCACHE instead of calling read_register_pid. | |
3306 | * hppa-hpux-tdep.c (hppa_hpux_read_pc): Likewise. | |
3307 | * hppa-tdep.c (hppa_read_pc): Likewise. | |
3308 | * hppa-tdep.h (hppa_read_pc): Likewise. | |
3309 | * ia64-tdep.c (ia64_read_pc): Likewise. | |
3310 | * m32r-tdep.c (m32r_read_pc): Likewise. | |
3311 | * mep-tdep.c (mep_read_pc): Likewise. | |
3312 | * mn10300-tdep.c (mn10300_read_pc): Likewise. | |
3313 | * spu-tdep.c (spu_read_pc): Likewise. | |
3314 | ||
3315 | * arm-tdep.c (arm_write_pc): Add REGCACHE argument. Remove PTID | |
3316 | argument. Use REGCACHE instead of calling write_register_pid. | |
3317 | * avr-tdep.c (avr_write_pc): Likewise. | |
3318 | * hppa-hpux-tdep.c (hppa_hpux_write_pc): Likewise. | |
3319 | * hppa-tdep.c (hppa_write_pc): Likewise. | |
3320 | * hppa-tdep.h (hppa_write_pc): Likewise. | |
3321 | * i386-linux-tdep.c (i386_linux_write_pc): Likewise. | |
3322 | * amd64-linux-tdep.c (amd64_linux_write_pc): Likewise. | |
3323 | * ia64-linux-tdep.c (ia64_linux_write_pc): Likewise. | |
3324 | * ia64-tdep.c (ia64_write_pc): Likewise. | |
3325 | * ia64-tdep.h (ia64_write_pc): Likewise. | |
3326 | * m32r-tdep.c (m32r_write_pc): Likewise. | |
3327 | * m88k-tdep.c (m88k_write_pc): Likewise. | |
3328 | * mep-tdep.c (mep_write_pc): Likewise. | |
3329 | * mips-tdep.c (mips_write_pc): Likewise. | |
3330 | * mips-linux-tdep.c (mips_linux_write_pc): Likewise. | |
3331 | * mn10300-tdep.c (mn10300_write_pc): Likewise. | |
3332 | * sparc-tdep.c (sparc_write_pc): Likewise. | |
3333 | * spu-tdep.c (spu_write_pc): Likewise. | |
3334 | ||
3335 | * mips-tdep.c (read_signed_register): Remove. | |
3336 | (read_signed_register_pid): Likewise. | |
3337 | (mips_read_pc): Add REGCACHE argument. Remove PTID argument. | |
3338 | Use REGCACHE instead of calling read_signed_register_pid. | |
3339 | ||
e4fd649a UW |
3340 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3341 | ||
3342 | * gdbarch.sh (push_dummy_code): Add REGCACHE argument. | |
3343 | * gdbarch.c, gdbarch.h: Regenerate. | |
3344 | * infcall.c (generic_push_dummy_code): Add REGCACHE argument. | |
3345 | (push_dummy_code): Likewise. Pass it to callee. | |
3346 | (call_function_by_hand): Pass current regcache to push_dummy_code. | |
3347 | ||
3348 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Add REGCACHE | |
3349 | argument. Use it instead of current_regcache. | |
3350 | ||
3351 | * cris-tdep.c (cris_push_dummy_code): Add REGCACHE argument. | |
3352 | * sparc-tdep.c (sparc32_push_dummy_code): Likewise. | |
3353 | ||
60ade65d UW |
3354 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3355 | ||
3356 | * gdbarch.sh (get_longjmp_target): Add FRAME argument. | |
3357 | * gdbarch.c, gdbarch.h: Regenerate. | |
3358 | * infrun.c (handle_inferior_event): Pass current frame to | |
3359 | gdbarch_get_longjmp_target. | |
3360 | ||
3361 | * alpha-tdep.c (alpha_get_longjmp_target): Add FRAME argument. | |
3362 | Read registers from FRAME instead of using read_register. | |
3363 | Use get_frame_arch instead of current_gdbarch. | |
3364 | * arm-tdep.c (arm_get_longjmp_target): Likewise. | |
3365 | * i386-tdep.c (i386_get_longjmp_target): Likewise. | |
3366 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
3367 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Likewise. | |
3368 | (mips64_linux_get_longjmp_target): Likewise. | |
3369 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Likewise. | |
3370 | ||
52f729a7 UW |
3371 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3372 | ||
3373 | * gdbarch.sh (skip_trampoline_code): Add FRAME argument. | |
3374 | * gdbarch.c, gdbarch.h: Regenerate. | |
3375 | * arch-utils.c (generic_skip_trampoline_code): Add FRAME argument. | |
3376 | * arch-utils.h (generic_skip_trampoline_code): Likewise. | |
3377 | * infrun.c (handle_inferior_event): Pass current frame to | |
3378 | gdbarch_skip_trampoline_code and skip_language_trampoline. | |
3379 | ||
3380 | * language.c (unk_lang_trampoline): Add FRAME argument. | |
3381 | (skip_language_trampoline): Add FRAME argument. Pass it to | |
3382 | skip_trampoline callback. | |
3383 | * language.h: Add forward declaration of struct frame_info. | |
3384 | (struct language_defn): Add FRAME argument to skip_trampoline. | |
3385 | (skip_language_trampoline): Add FRAME argument. | |
3386 | * cp-abi.c (cplus_skip_trampoline): Add FRAME argument. Pass it | |
3387 | to skip_trampoline callback. | |
3388 | * cp-abi.h: Add forward declaration of struct frame_info. | |
3389 | (cplus_skip_trampoline): Add FRAME argument. | |
3390 | (struct cp_abi_ops): Add FRAME argument to skip_trampoline callback. | |
3391 | * gnu-v3-abi.c (gnuv3_skip_trampoline): Add FRAME argument. Pass it | |
3392 | to gdbarch_skip_trampoline_code. | |
3393 | * objc-lang.c (objc_skip_trampoline): Add FRAME argument. Pass it | |
3394 | to gdbarch_skip_trampoline_code. | |
3395 | ||
3396 | * minsyms.c (find_solib_trampoline_target): Add FRAME argument. | |
3397 | * symtab.h (find_solib_trampoline_target): Likewise. | |
3398 | * obsd-tdep.c (obsd_skip_solib_resolver): Pass current frame to | |
3399 | find_solib_trampoline_target. | |
3400 | ||
3401 | * arm-tdep.c (arm_skip_stub): Add FRAME argument. Read registers | |
3402 | from FRAME instead of calling read_register. | |
3403 | ||
3404 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Add FRAME | |
3405 | argument. Read registers from FRAME instead of using read_register. | |
3406 | * hppa-tdep.c (hppa_skip_trampoline_code): Likewise. | |
3407 | * hppa-tdep.h (hppa_skip_trampoline_code): Add FRAME argument. | |
3408 | ||
3409 | * i386-cygwin-tdep.c (i386_cygwin_skip_trampoline_code): Add FRAME | |
3410 | argument. | |
3411 | ||
3412 | * m32c-tdep.c (m32c_skip_trampoline_code): Add FRAME argument. | |
3413 | ||
3414 | * mips-tdep.c (mips_skip_trampoline_code): Add FRAME argument. Read | |
3415 | registers from FRAME instead of using read_signed_register. | |
3416 | ||
3417 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Add FRAME | |
3418 | argument. | |
3419 | (ppc64_standard_linkage_target): Likewise. Read registers from FRAME | |
3420 | instead of using read_register. | |
3421 | (ppc64_skip_trampoline_code): Add FRAME argument. Pass it to | |
3422 | ppc64_standard_linkage_target. | |
3423 | * rs6000-tdep.c (rs6000_skip_trampoline_code): Add FRAME argument. | |
3424 | Pass it to find_solib_trampoline_target. Read registers from FRAME | |
3425 | instead of using read_register. | |
3426 | ||
3427 | * xstormy16-tdep.c (xstormy16_skip_trampoline_code): Add FRAME | |
3428 | argument. | |
3429 | ||
0b1b3e42 UW |
3430 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3431 | ||
3432 | * gdbarch.sh (software_single_step): Replace REGCACHE argument by | |
3433 | FRAME argument. | |
3434 | * gdbarch.c, gdbarch.h: Regenerate. | |
3435 | * infrun.c (resume): Pass current frame to SOFTWARE_SINGLE_STEP. | |
3436 | ||
3437 | * alpha-tdep.c (alpha_next_pc): Add FRAME argument. Retrieve | |
3438 | registers from FRAME instead of using read_register. | |
3439 | (alpha_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
3440 | to alpha_next_pc. Use get_frame_pc instead of read_pc. | |
3441 | * alpha-tdep.h (alpha_software_single_step): Replace REGCACHE | |
3442 | argument by FRAME. | |
3443 | ||
3444 | * arm-tdep.c (shifted_reg_val): Add FRAME argument. Read registers | |
3445 | from FRAME instead of using read_register. | |
3446 | (thumb_get_next_pc): Likewise. | |
3447 | (arm_get_next_pc): Likewise. | |
3448 | (arm_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
3449 | to arm_get_next_pc. Use get_frame_pc instead of read_register. | |
3450 | * arm-tdep.h (arm_software_single_step): Replace REGCACHE | |
3451 | argument by FRAME. | |
3452 | ||
3453 | * cris-tdep.c (find_step_target): Add FRAME argument. Read registers | |
3454 | from FRAME instead of using read_register. | |
3455 | (cris_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
3456 | to find_step_target. | |
3457 | ||
3458 | * mips-tdep.c (mips32_next_pc): Add FRAME argument. Read registers | |
3459 | from FRAME instead of using read_register / read_signed_register. | |
3460 | (extended_mips16_next_pc): Likewise. | |
3461 | (mips16_next_pc): Likewise. | |
3462 | (mips_next_pc): Likewise. | |
3463 | (mips_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
3464 | to mips_next_pc. Use get_frame_pc instead of read_pc. | |
3465 | * mips-tdep.h (mips_software_single_step): Replace REGCACHE | |
3466 | argument by FRAME. | |
3467 | ||
3468 | * rs6000-tdep.c (branch_dest): Add FRAME argument. Use it instead | |
3469 | of current frame. Read registers from FRAME. | |
3470 | (deal_with_atomic_sequence): Add FRAME argument. Pass it to | |
3471 | branch_dest. Use get_frame_pc instead of read_pc. | |
3472 | (rs6000_software_single_step): Likewise. | |
3473 | (bl_to_blrl_insn_p): Do not call branch_dest. | |
3474 | * rs6000-tdep.h (rs6000_software_single_step): Replace REGCACHE | |
3475 | argument by FRAME. | |
3476 | ||
3477 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Add FRAME argument. | |
3478 | Read registers from FRAME instead of current regcache. | |
3479 | * sparc-linux-tdep.c (sparc32_linux_step_trap): Likewise. | |
3480 | * sparcnbsd-tdep.c (sparcnbsd_step_trap): Likewise. | |
3481 | * sparc-tdep.c (sparc_address_from_register): Remove. | |
3482 | (sparc_analyze_control_transfer): Pass FRAME argument instead of | |
3483 | GDBARCH. Pass FRAME to step_trap callback. | |
3484 | (sparc_step_trap): Add FRAME argument. | |
3485 | (space_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
3486 | to sparc_analyze_control_transfer. Read registers from FRAME instead | |
3487 | of calling sparc_address_from_register. | |
3488 | * sparc-tdep.h (struct gdbarch_tdep): Add FRAME argument to | |
3489 | step_trap callback. | |
3490 | (sparc_address_from_register): Remove prototype. | |
3491 | (sparc_software_single_step): Replace REGCACHE argument by FRAME. | |
3492 | (sparcnbsd_step_trap): Add FRAME argument. | |
3493 | ||
3494 | * spu-tdep.c (spu_software_single_step): Replace REGCACHE argument | |
3495 | by FRAME. Read registers from FRAME instead of REGCACHE. | |
3496 | ||
9c9acae0 UW |
3497 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3498 | ||
3499 | * arm-tdep.c (arm_print_float_info): Use register value from FRAME | |
3500 | instead of calling read_register. | |
3501 | ||
3502 | * avr-tdep.c (avr_push_dummy_call): Write to REGCACHE instead of | |
3503 | calling write_register. | |
3504 | ||
3505 | * hppa-tdep.c (hppa32_push_dummy_call): Write to REGCACHE instead of | |
3506 | calling write_register. | |
3507 | ||
3508 | * ia64-tdep.c (find_func_descr): Add REGCACHE parameter. Use it | |
3509 | instead of calling read_register. | |
3510 | (ia64_push_dummy_call): Update call to find_func_descr. Use REGCACHE | |
3511 | instead of calling read_register and write_register. | |
3512 | ||
3513 | * m32r-tdep.c (m32r_linux_supply_gregset): Use REGCACHE parameter | |
3514 | instead of current_regcache. | |
3515 | ||
3516 | * mn10300-tdep.c (mn10300_push_dummy_call): Write to REGCACHE instead | |
3517 | of calling write_register. | |
3518 | * mn10300-linux-tdep.c (am33_supply_fpregset_method): Use REGCACHE | |
3519 | parameter instead of current_regcache. | |
3520 | ||
3521 | * mips-tdep.c (mips2_fp_compat): Add FRAME parameter. Use it | |
3522 | instead of calling read_register. | |
3523 | (mips_read_fp_register_double, mips_print_fp_register): Update calls. | |
3524 | (mips_eabi_push_dummy_call): Use REGCACHE instead of write_register. | |
3525 | (mips_n32n64_push_dummy_call): Likewise. | |
3526 | (mips_o32_push_dummy_call): Likewise. | |
3527 | (mips_o64_push_dummy_call): Likewise. | |
3528 | ||
3529 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use REGCACHE | |
3530 | parameter instead of current_regcache. | |
3531 | ||
3532 | * xtensa-tdep.c (xtensa_register_write_masked): Add REGCACHE parameter. | |
3533 | Use it instead of read_register and write_register. | |
3534 | (xtensa_register_read_masked): Likewise. | |
3535 | (xtensa_pseudo_register_read): Update call. | |
3536 | (xtensa_pseudo_register_write): Likewise. | |
3537 | (xtensa_frame_cache): Use register values unwound from NEXT_FRAME | |
3538 | instead of calling read_register. | |
3539 | (xtensa_push_dummy_call): Update comment. | |
3540 | ||
d2ca4222 UW |
3541 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3542 | ||
3543 | * mips-tdep.c (mips16_scan_prologue): Replace read_next_frame_reg | |
3544 | by frame_unwind_register_signed calls. | |
3545 | (mips32_scan_prologue): Likewise. Skip analysis of alloca stack | |
3546 | frame allocations when called with NULL NEXT_FRAME parameter. | |
3547 | (read_next_frame_reg): Remove. | |
3548 | ||
3549 | * sh-tdep.c (sh_analyze_prologue): Add FPSCR parameter. Use it | |
3550 | instead of reading the FPSCR register. | |
3551 | (sh_frame_cache): Pass unwound FPSCR register value to | |
3552 | sh_analyze_prologue. | |
3553 | (sh_skip_prologue): Pass dummy FPSCR value to sh_analyze_prologue. | |
3554 | ||
3555 | * v850-tdep.c (v850_analyze_prologue): Add CTBP parameter. Use it | |
3556 | instead of reading the CTBP register. | |
3557 | (v850_frame_cache): Pass unwound CTBP register value to | |
3558 | v850_analyze_prologue. | |
3559 | ||
c458d6db UW |
3560 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3561 | ||
3562 | * sh-tdep.h (sh_show_regs): Add FRAME parameter. | |
3563 | * sh-tdep.c (sh_show_regs): Likewise. | |
3564 | (sh_show_regs_command): Pass current frame to sh_show_regs routine. | |
3565 | (sh_generic_show_regs): Add FRAME parameter. Use register | |
3566 | values from that frame instead of calling read_register. | |
3567 | (sh3_show_regs, sh2e_show_regs, sh2a_show_regs, sh2a_nofpu_show_regs, | |
3568 | sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs, | |
3569 | sh_dsp_show_regs): Likewise. | |
3570 | * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs, | |
3571 | sh64_show_regs): Likewise. | |
3572 | ||
a9614958 UW |
3573 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3574 | ||
3575 | * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Read from | |
3576 | current regcache instead of calling read_register. | |
3577 | ||
3d1a74ac UW |
3578 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3579 | ||
3580 | * mep-tdep.c (current_me_module): Read from current regcache | |
3581 | instead of calling read_register. | |
3582 | (current_options): Likewise. | |
3583 | ||
1b5a9a8f UW |
3584 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3585 | ||
3586 | * cris-tdep.c (cris_stopped_data_address): Read register values | |
3587 | from current frame instead of calling read_register. | |
3588 | * frv-tdep.c (frv_stopped_data_address): Likewise. | |
3589 | ||
982db460 UW |
3590 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3591 | ||
3592 | * solib-sunos.c (sunos_solib_create_inferior_hook): Use write_pc | |
3593 | instead of write_register (PC_REGNUM, ...). | |
3594 | ||
b4397864 UW |
3595 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3596 | ||
3597 | * solib-sunos.c (sunos_solib_create_inferior_hook): Add comment | |
3598 | explaining why the PC adjustment code is necessary. | |
3599 | ||
8ed86d01 VP |
3600 | 2007-06-15 Vladimir Prus <vladimir@codesourcery.com> |
3601 | ||
3602 | * m68k-tdep.h (enum m68k_flavour): New. | |
3603 | (struct gdbarch_tdep): New fields | |
3604 | float_return, flavour and fpregs_present. | |
3605 | * m68k-tdep.c (m68k_register_type): Use | |
3606 | fpregs_present and conditionalize floating | |
3607 | registers type on flavour. | |
3608 | (m68k_register_names): New. | |
3609 | (m68k_register_name): Use the above. | |
3610 | (m68k_convert_register_p): Consult fpregs_present. | |
3611 | (m68k_register_to_value, m68k_value_to_register): | |
3612 | Use register_type to obtain the type of floating | |
3613 | point registers. | |
3614 | (m68k_svr4_extract_return_value): Check tdep->float_return. | |
3615 | Use register_type to get the type of floating | |
3616 | point regiters. | |
3617 | (m68k_svr4_store_return_value): Likewise. | |
3618 | (m68k_dwarf_reg_to_regnum): Check tdep->fpregs_present. | |
3619 | (m68k_analyze_register_saves): Likewise. | |
3620 | (m68k_gdbarch_init): Extract infromation | |
3621 | from XML description, if present. Guess coldfire by | |
3622 | looking at the file, if present. Conditionalize | |
3623 | setting of long double format. Set decr_pc_after_break | |
3624 | to 2 on coldfire and fido. Enable XML-driven | |
3625 | register description. | |
3626 | * m68kbsd-tdep.c (m68kbsd_fpreg_offset): Use | |
3627 | size of tdep->fpreg_type, as opposed to hardcoded value. | |
3628 | * Makefile.in (m68k-tdep.o): Update dependencies. | |
3629 | ||
83cc5c53 UW |
3630 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3631 | ||
3632 | * NEWS: Mention "info spu" commands and qXfer:spu:read and | |
3633 | qXfer:spu:write remote packet types. | |
3634 | ||
1780a0ed DJ |
3635 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
3636 | ||
3637 | * xml-tdesc.c (tdesc_start_target): New. | |
3638 | (target_attributes): New. | |
3639 | (tdesc_elements): Use it. | |
3640 | * features/gdb-target.dtd: Add #FIXED version attribute for | |
3641 | <target>. | |
3642 | ||
98a29c7e DJ |
3643 | 2007-06-13 Arthur Huillet <arthur.huillet@free.fr> |
3644 | ||
3645 | * mi/mi-cmd-var.c (mi_cmd_var_assign): Fix typo. | |
3646 | ||
9dcbb931 DJ |
3647 | 2007-06-13 Claudio Fontana <claudio.fontana@gmail.com> |
3648 | ||
3649 | * fork-child.c (fork_inferior): Update comment. | |
3650 | ||
117ce543 DJ |
3651 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
3652 | ||
3653 | * features/Makefile: Generate regformats for mips-linux and | |
3654 | mips64-linux. | |
3655 | * features/sort-regs.xsl: Correct typo. | |
3656 | * regformats/reg-mips.dat, regformats/reg-mips64.dat: Delete. | |
3657 | * regformats/mips-linux.dat, regformats/mips64-linux.dat: New generated | |
3658 | files. | |
3659 | ||
822b6570 DJ |
3660 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
3661 | ||
3662 | * config/mips/linux.mh (TDEP_XML): New. | |
3663 | * features/mips-linux.xml, features/mips64-linux.xml: New files. | |
3664 | * mips-linux-nat.c (mips_linux_register_addr): Handle | |
3665 | MIPS_RESTART_REGNUM. | |
3666 | (mips64_linux_register_addr): Likewise. | |
3667 | (super_xfer_partial, mips_linux_xfer_partial): New. | |
3668 | (_initialize_mips_linux_nat): Add them to the target_ops. | |
3669 | * mips-linux-tdep.c (mips_supply_gregset): Handle MIPS_RESTART_REGNUM. | |
3670 | (mips_fill_gregset, mips64_supply_gregset, mips64_fill_gregset) | |
3671 | (mips_linux_o32_sigframe_init) | |
3672 | (mips_linux_n32n64_sigframe_init): Likewise. | |
3673 | (mips_linux_write_pc, mips_linux_restart_reg_p): New. | |
3674 | (mips_linux_init_abi): Use mips_linux_write_pc. Check for the | |
3675 | "org.gnu.gdb.mips.linux" feature. | |
3676 | * mips-linux-tdep.h (MIPS_RESTART_REGNUM): New constant. | |
3677 | (mips_linux_restart_reg_p): New prototype. | |
3678 | * mips-tdep.c (mips_gdbarch_init): Pass tdesc_data to the OS/ABI | |
3679 | initialization routine. | |
3680 | * Makefile.in (mips-linux-tdep.o, mips-linux-nat.o): Update. | |
3681 | ||
f8b73d13 DJ |
3682 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
3683 | ||
3684 | * Makefile.in (mips-tdep.o): Update. | |
3685 | * mips-tdep.c (struct register_alias, mips_o32_aliases) | |
3686 | (mips_n32_n64_aliases, mips_register_aliases): New. | |
3687 | (mips_register_name): Call tdesc_register_name. | |
3688 | (mips_tdesc_register_reggroup_p): New. | |
3689 | (mips_pseudo_register_type, value_of_mips_user_reg): New. | |
3690 | (mips_gdbarch_init): Add target-described register support. | |
3691 | Register aliases for register names. | |
3692 | * target-descriptions.c (tdesc_register_name): Make global. | |
3693 | (tdesc_register_in_reggroup_p): New function, broken out from | |
3694 | tdesc_register_reggroup_p. | |
3695 | (tdesc_register_reggroup_p): Use it. | |
3696 | * target-descriptions.h (tdesc_register_name) | |
3697 | (tdesc_register_in_reggroup_p): New prototypes. | |
3698 | * NEWS: Correct formatting. Mention MIPS register support. | |
3699 | * features/mips-cp0.xml, features/mips-fpu.xml, | |
3700 | features/mips64-cp0.xml, gdb/features/mips64-fpu.xml, mips-cpu.xml, | |
3701 | features/mips64-cpu.xml: New files. | |
3702 | ||
17a912b6 UW |
3703 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
3704 | ||
3705 | * gdbarch.sh (TARGET_ADDR_BIT): Replace by gdbarch_addr_bit. | |
3706 | * valops.c (value_cast): Likewise. | |
3707 | * utils.c (strlen_paddr, paddr, paddr_nz, paddress): Likewise. | |
3708 | * ui-out.c (ui_out_field_core_addr): Likewise. | |
3709 | * tracepoint.c (tracepoints_info): Likewise. | |
3710 | * symtab.c (print_msymbol_info): Likewise. | |
3711 | * solib-irix.c (irix_current_sos) | |
3712 | (irix_open_symbol_file_object): Likewise. | |
3713 | * remote.c (build_remote_gdbarch_data): Likewise. | |
3714 | * prologue-value.c (make_pv_area): Likewise. | |
3715 | * procfs.c (info_mappings_callback): Likewise. | |
3716 | * printcmd.c (print_scalar_formatted) | |
3717 | (deprecated_print_address_numeric): Likewise. | |
3718 | * memattr.c (mem_info_command): Likewise. | |
3719 | * linux-nat.c (linux_nat_info_proc_cmd): Likewise. | |
3720 | * gdbtypes.c (build_flt, gdbtypes_post_init): Likewise. | |
3721 | * exec.c (print_section_info): Likewise. | |
3722 | * dwarf2read.c (read_subrange_type): Likewise. | |
3723 | * dwarf2loc.c (find_location_expression): Likewise. | |
3724 | * dwarf2expr.c (dwarf2_read_address, unsigned_address_type) | |
3725 | (signed_address_type, execute_stack_op): Likewise. | |
3726 | * breakpoint.c (print_one_breakpoint, breakpoint_1): Likewise. | |
3727 | * gdbarch.c, gdbarch.h: Regenerate. | |
3728 | ||
1143fffb UW |
3729 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
3730 | ||
3731 | * gdbarch.sh (TARGET_ARCHITECTURE): Replace by gdbarch_bfd_arch_info. | |
3732 | * arch-utils.c (show_architecture): Likewise. | |
3733 | * remote-mips.c (mips_open): Likewise | |
3734 | * nto-tdep.c (nto_find_and_open_solib) | |
3735 | (nto_init_solib_absolute_prefix): Likewise. | |
3736 | * nto-procfs (procfs_open): Likewise. | |
3737 | * m68hc11-tdep.c (gdb_print_insn_m68hc11): Likewise. | |
3738 | * gcore.c (default_gcore_mach, default_gcore_arch): Likewise. | |
3739 | * gdbarch.c, gdbarch.h: Regenerate. | |
3740 | ||
4fe99ffb UW |
3741 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
3742 | ||
3743 | * gdbarch.sh (TARGET_BFD_VMA_BIT): Replace by gdbarch_bfd_vma_bit. | |
3744 | * gdbtypes.c (build_flt): Likewise. | |
3745 | * gdbarch.c, gdbarch.h: Regenerate. | |
3746 | ||
3b3b875c UW |
3747 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
3748 | ||
3749 | * gdbarch.sh (BREAKPOINT_FROM_PC): Replace by | |
3750 | gdbarch_breakpoint_from_pc. | |
3751 | * s390-tdep.c (s390_gdbarch_init): Likewise (comment). | |
3752 | * remote.c (remote_insert_breakpoint) | |
3753 | (remote_insert_hw_breakpoint): Likewise. | |
3754 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise. | |
3755 | * mips-tdep.c (mips_breakpoint_from_pc): Likewise (comment). | |
3756 | * breakpoint.h (bp_target_info): Likewise (comment). | |
3757 | * breakpoint.c (read_memory_nobpt): Likewise. | |
3758 | * mem-break.c (default_memory_insert_breakpoint): Likewise. | |
3759 | (symtab.h, breakpoint.h): Remove include. Remove unnecessary comment. | |
3760 | * gdbarch.c, gdbarch.h: Regenerate. | |
3761 | ||
819844ad UW |
3762 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
3763 | ||
3764 | * gdbarch.sh (TARGET_PTR_BIT): Replace with gdbarch_ptr_bit. | |
3765 | * solib-svr4.c (svr4_truncate_ptr): Likewise. | |
3766 | * solib-pa64.c (read_dynamic_info): Likewise. | |
3767 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise. | |
3768 | * solib.c (info_sharedlibrary_command): Likewise. | |
3769 | * s390-nat.c (SUBOFF): Likewise. | |
3770 | * p-valprint.c (pascal_val_print): Likewise. | |
3771 | * procfs.c (info_proc_mappings): Likewise. | |
3772 | * printcmd.c (decode_format): Likewise. | |
3773 | * nto-tdep.c (nto_truncate_ptr): Likewise. | |
3774 | * mips-linux-tdep.c (mips_linux_get_longjmp_target) | |
3775 | (mips64_linux_get_longjmp_target): Likewise. | |
3776 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
3777 | * jv-valprint.c (java_value_print): Likewise. | |
3778 | * jv-lang.c (get_java_object_header_size): Likewise. | |
3779 | * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Likewise. | |
3780 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) | |
3781 | (hppa_hpux_unwind_adjust_stub): Likewise. | |
3782 | * gnu-v3-abi.c (build_gdb_vtable_type): Likewise. | |
3783 | * gdbtypes.c (make_pointer_type, make_reference_type) | |
3784 | (smash_to_memberptr_type): Likewise. | |
3785 | * gdbarch.c, gdbarch.h: Regenerate. | |
3786 | ||
0cc93a06 DJ |
3787 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
3788 | ||
3789 | * mips-tdep.c (mips_print_register): Remove unused ALL argument. | |
3790 | (print_gp_register_row): Stop before printing a register bigger | |
3791 | than the ABI register size. | |
3792 | (mips_print_registers_info): Update call to mips_print_register. | |
3793 | ||
67f3407f DJ |
3794 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
3795 | ||
3796 | * expression.h (enum exp_opcode): Document a register name for | |
3797 | OP_REGISTER. | |
3798 | * parse.c (write_dollar_variable): Write the register name for | |
3799 | OP_REGISTER. | |
3800 | (operator_length_standard): Expect the register name following | |
3801 | OP_REGISTER. | |
3802 | * ada-lang.c (resolve_subexp): Likewise. | |
3803 | * ax-gdb.c (gen_expr): Likewise. | |
3804 | * eval.c (evaluate_subexp_standard): Likewise. | |
3805 | * expprint.c (print_subexp_standard, dump_subexp_body_standard): | |
3806 | Likewise. | |
3807 | * tracepoint.c (encode_actions): Likewise. | |
3808 | ||
0caa462c DJ |
3809 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
3810 | ||
3811 | * utils.c (set_screen_size): Use INT_MAX for default columns. | |
3812 | ||
4de6483e UW |
3813 | 2007-06-13 Ulrich Weigand <uweigand@de.ibm.com> |
3814 | ||
3815 | * remote.c (remote_protocol_features): Add qXfer:spu:read and | |
3816 | qXfer:spu:write packet types. | |
3817 | ||
cafad45b UW |
3818 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
3819 | ||
3820 | * gdbarch.sh (DEPRECATED_STACK_ALIGN): Remove. | |
3821 | * gdbarch.c, gdbarch.h: Regenerate. | |
3822 | ||
055d23b8 UW |
3823 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
3824 | ||
3825 | * gdbarch.sh (STAB_REG_TO_REGNUM): Replace by | |
3826 | gdbarch_stab_reg_to_regnum. | |
3827 | * stabsread.c (define_symbol): Likewise. | |
3828 | * gdbarch.sh (ECOFF_REG_TO_REGNUM): Replace by | |
3829 | gdbarch_ecoff_reg_to_regnum. | |
3830 | * mdebugread.c (parse_symbol): Likewise. | |
3831 | * i386-tdep.c (i386_gdbarch_init): Likewise (comment). | |
3832 | * gdbarch.sh (DWARF_REG_TO_REGNUM): Replace by | |
3833 | gdbarch_dwarf_reg_to_regnum. | |
3834 | * gdbarch.sh (SDB_REG_TO_REGNUM): Replace by gdbarch_sdb_reg_to_regnum. | |
3835 | * coffread.c (process_coff_symbol): Likewise. | |
3836 | * gdbarch.sh (DWARF2_REG_TO_REGNUM): Replace by | |
3837 | gdbarch_dwarf2_reg_to_regnum. | |
3838 | * dwarf2loc.c (dwarf_expr_read_reg,dwarf2_evaluate_loc_desc) | |
3839 | (locexpr_describe_location): Likewise. | |
3840 | * dwarf2-frame.c (read_reg,execute_cfa_program,dwarf2_frame_cache) | |
3841 | (dwarf2_frame_prev_register,dwarf2_signal_frame_this_id): Likewise. | |
3842 | * dwarf2loc.c (DWARF2_REG_TO_REGNUM): Remove macro. | |
3843 | * dwarf2read.c (DWARF2_REG_TO_REGNUM): Remove macro. | |
3844 | * gdbarch.c, gdbarch.h: Regenerate. | |
3845 | ||
260edbc2 UW |
3846 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
3847 | ||
3848 | * gdbarch.sh (SMASH_TEXT_ADDRESS): Replace by | |
3849 | gdbarch_smash_text_address. | |
3850 | * somread.c (som_symtab_read): Likewise. | |
3851 | * elfread.c (record_minimal_symbol): Likewise. | |
3852 | * dbxread.c (process_one_symbol): Likewise. | |
3853 | * coffread.c (coff_symtab_read): Likewise. | |
3854 | * gdbarch.c, gdbarch.h: Regenerate. | |
3855 | ||
c1afe53d UW |
3856 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
3857 | ||
3858 | * gdbarch.sh (REGISTER_TO_VALUE): Replace by gdbarch_register_to_value. | |
3859 | * findvar.c (value_from_register): Likewise. | |
3860 | * gdbarch.sh (VALUE_TO_REGISTER): Replace by gdbarch_value_to_register. | |
3861 | * valops.c (value_assign): Likewise. | |
3862 | * gdbarch.sh (CONVERT_REGISTER_P): Replace by | |
3863 | gdbarch_convert_register_p. | |
3864 | * findvar.c (value_from_register): Likewise. | |
3865 | * valops.c (value_assign): Likewise. | |
3866 | * gdbarch.c, gdbarch.h: Regenerate. | |
3867 | ||
474c1661 UW |
3868 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
3869 | ||
3870 | * gdbarch.sh (REGISTER_SIM_REGNO): Replace by | |
3871 | gdbarch_register_sim_regno. | |
3872 | * sim-regno.h (sim_regno): Likewise (comment). | |
3873 | * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise. | |
3874 | * gdbarch.c, gdbarch.h: Regenerate. | |
3875 | ||
c7bb205c UW |
3876 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
3877 | ||
3878 | * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Replace by | |
3879 | gdbarch_virtual_frame_pointer. | |
3880 | * tracepoint.c (encode_actions): Likewise. | |
3881 | * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Likewise. | |
3882 | * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address): Likewise. | |
3883 | * gdbarch.c, gdbarch.h: Regenerate. | |
3884 | ||
ea06eb3d UW |
3885 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
3886 | ||
3887 | * gdbarch.sh (TARGET_FLOAT_BIT): Replace by gdbarch_float_bit. | |
3888 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
3889 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
3890 | * mdebugread.c (_initialize_mdebugread): Likewise. | |
3891 | * m2-lang.c (m2_create_fundamental_type) | |
3892 | (_initialize_m2_language): Likewise. | |
3893 | * gdbtypes.c (build_gdbtypes): Likewise. | |
3894 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
3895 | * doublest.c (floatformat_from_length): Likewise. | |
3896 | * c-lang.c (c_create_fundamental_type): Likewise. | |
3897 | * ada-lang.c (ada_create_fundamental_type) | |
3898 | (ada_language_arch_info): Likewise. | |
3899 | * gdbarch.sh (TARGET_FLOAT_FORMAT): Replace by gdbarch_float_format. | |
3900 | * value.c (unpack_double): Likewise (comment). | |
3901 | * gdbtypes.c (build_gdbtypes): Likewise. | |
3902 | * doublest.c (floatformat_from_length): Likewise. | |
3903 | * gdbarch.sh (TARGET_DOUBLE_BIT): Replace by gdbarch_double_bit. | |
3904 | * valarith.c (value_binop): Likewise. | |
3905 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
3906 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
3907 | * mdebugread.c (_initialize_mdebugread): Likewise. | |
3908 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
3909 | * gdbtypes.c (build_gdbtypes): Likewise. | |
3910 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
3911 | * doublest.c (floatformat_from_length): Likewise. | |
3912 | * cris-tdep.c (cris_gdbarch_init): Likewise (comment). | |
3913 | * c-lang.c (c_create_fundamental_type): Likewise. | |
3914 | * ada-lex.l (processReal): Likewise. | |
3915 | * ada-lang.c (ada_create_fundamental_type) | |
3916 | (ada_language_arch_info): Likewise. | |
3917 | * gdbarch.sh (TARGET_DOUBLE_FORMAT): Replace by gdbarch_double_format. | |
3918 | * value.c (unpack_double): Likewise (comment). | |
3919 | * gdbtypes.c (build_gdbtypes): Likewise. | |
3920 | * doublest.c (floatformat_from_length): Likewise. | |
3921 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Replace by | |
3922 | gdbarch_long_double_bit. | |
3923 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
3924 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
3925 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
3926 | * gdbtypes.c (build_gdbtypes): Likewise. | |
3927 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
3928 | * doublest.c (floatformat_from_length): Likewise. | |
3929 | * c-lang.c (c_create_fundamental_type): Likewise. | |
3930 | * ada-lex.l (processReal): Likewise. | |
3931 | * ada-lang.c (ada_create_fundamental_type) | |
3932 | (ada_language_arch_info): Likewise. | |
3933 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Replace by | |
3934 | gdbarch_long_double_format. | |
3935 | * gdbtypes.c (build_gdbtypes): Likewise. | |
3936 | * doublest.c (floatformat_from_length): Likewise. | |
3937 | * gdbarch.c, gdbarch.h: Regenerate. | |
3938 | ||
9a76efb6 UW |
3939 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
3940 | ||
3941 | * gdbarch.sh (TARGET_SHORT_BIT): Replace by gdbarch_int_bit. | |
3942 | * ada-lang.c (ada_create_fundamental_type) | |
3943 | (ada_language_arch_info): Likewise. | |
3944 | * c-lang.c (c_create_fundamental_type): Likewise. | |
3945 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
3946 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
3947 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
3948 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
3949 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
3950 | * gdbarch.sh (TARGET_INT_BIT): Replace by gdbarch_int_bit. | |
3951 | * c-exp.y (parse_number): Likewise. | |
3952 | * objc-exp.y (parse_number): Likewise. | |
3953 | * ada-lex.l (processInt): Likewise. | |
3954 | * f-exp.y (parse_number): Likewise. | |
3955 | * p-exp.y (parse_number): Likewise. | |
3956 | * ada-lang.c (ada_create_fundamental_type, ada_language_arch_info) | |
3957 | (gdbtypes_post_init, build_gdbtypes): Likewise. | |
3958 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
3959 | * parse.c (build_parse): Likewise. | |
3960 | * xcoffread.c (_initialize_xcoffread): Likewise. | |
3961 | * stabsread.c (define_symbol, read_one_struct_field, read_enum_type) | |
3962 | (read_range_type): Likewise. | |
3963 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
3964 | * f-lang.c (build_fortran_types, f_create_fundamental_type): Likewise. | |
3965 | * m2-lang.c (m2_create_fundamental_type, _initialize_m2_language) | |
3966 | (m2_create_fundamental_type): Likewise. | |
3967 | * c-lang.c (c_create_fundamental_type): Likewise. | |
3968 | * coffread.c (coff_read_enum_type): Likewise. | |
3969 | * mdebugread.c (parse_symbol, _initialize_mdebugread): Likewise. | |
3970 | * dwarf2read.c (new_symbol): Likewise. | |
3971 | * gdbarch.sh (TARGET_LONG_BIT): Replace by gdbarch_long_bit. | |
3972 | * c-exp.y (parse_number): Likewise. | |
3973 | * objc-exp.y (parse_number): Likewise. | |
3974 | * ada-lex.l (processInt): Likewise. | |
3975 | * f-exp.y (parse_number): Likewise. | |
3976 | * p-exp.y (parse_number): Likewise. | |
3977 | * valarith.c (value_binop): Likewise. | |
3978 | * symfile.c (read_target_long_array, simple_overlay_update_1): Likewise. | |
3979 | * ada-lang.c (ada_create_fundamental_type) | |
3980 | (ada_language_arch_info): Likewise. | |
3981 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
3982 | * symfile.c (TARGET_LONG_BYTES): Likewise. | |
3983 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
3984 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
3985 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
3986 | * f-lang.c (f_create_fundamental_type): Likewise. | |
3987 | * c-lang.c (c_create_fundamental_type): Likewise. | |
3988 | * coffread.c (decode_base_type): Likewise. | |
3989 | * gdbarch.sh (TARGET_LONG_LONG_BIT): Replace by gdbarch_long_long_bit. | |
3990 | * c-exp.y (parse_number): Likewise. | |
3991 | * objc-exp.y (parse_number): Likewise. | |
3992 | * p-exp.y (parse_number): Likewise. | |
3993 | * ada-lang.c (ada_create_fundamental_type) | |
3994 | (ada_language_arch_info): Likewise. | |
3995 | * gdbtypes.c (gdbtypes_post_init, build_gdbtypes): Likewise. | |
3996 | * stabsread.c (read_range_type): Likewise. | |
3997 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
3998 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
3999 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
4000 | * f-lang.c (f_create_fundamental_type): Likewise. | |
4001 | * c-lang.c (c_create_fundamental_type): Likewise. | |
4002 | * gdbarch.c, gdbarch.h: Regenerate. | |
4003 | ||
272dfcfd AS |
4004 | 2007-06-12 Andreas Schwab <schwab@suse.de> |
4005 | ||
4006 | * frame-unwind.h (frame_dealloc_cache_ftype): Define. | |
4007 | (struct frame_unwind): Add dealloc_cache. | |
4008 | * frame.c (reinit_frame_cache): Call dealloc_cache on all caches. | |
4009 | ||
4010 | * libunwind-frame.h (libunwind_frame_dealloc_cache): Declare. | |
4011 | * libunwind-frame.c (libunwind_frame_dealloc_cache): Define. | |
4012 | (libunwind_frame_unwind): Set dealloc_cache. | |
4013 | * ia64-tdep.c (ia64_libunwind_frame_unwind): Set dealloc_cache. | |
4014 | ||
0e7f50da UW |
4015 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
4016 | Markus Deuling <deuling@de.ibm.com> | |
4017 | ||
4018 | * remote.c (remote_write_qxfer): New function. | |
4019 | (remote_xfer_partial): Add handling for TARGET_OBJECT_SPU. | |
4020 | (remote_read_qxfer): Do not cache empty objects. | |
4021 | (_initialize_remote): Add PACKET_qXfer_spu_read and | |
4022 | PACKET_qXfer_spu_write. | |
4023 | ||
23d964e7 UW |
4024 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
4025 | ||
4026 | * target.h (enum target_object): Add TARGET_OBJECT_SPU. | |
4027 | * spu-linux-nat.c (spu_xfer_partial): Handle TARGET_OBJECT_SPU. | |
4028 | ||
4029 | * spu-tdep.h (SPU_NUM_PSEUDO_REGS): Add 5 pseudo registers. | |
4030 | (enum spu_regnum): Add SPU_FPSCR_REGNUM, SPU_SRR0_REGNUM, | |
4031 | SPU_LSLR_REGNUM, SPU_DECR_REGNUM, SPU_DECR_STATUS_REGNUM. | |
4032 | * spu-tdep.c (infospucmdlist): New variable. | |
4033 | (spu_register_name): Handle additional pseudo registers. | |
4034 | (spu_register_type): Likewise. | |
4035 | (spu_pseudo_register_read): Likewise. | |
4036 | (spu_pseudo_register_write): Likewise. | |
4037 | (spu_pseudo_register_read_spu): New function. | |
4038 | (spu_pseudo_register_write_spu): Likewise. | |
4039 | (info_spu_event_command): New function. | |
4040 | (info_spu_signal_command): Likewise. | |
4041 | (info_spu_mailbox_list): Likewise. | |
4042 | (info_spu_mailbox_command): Likewise. | |
4043 | (spu_mfc_get_bitfield): Likewise. | |
4044 | (info_spu_dma_cmdlist): Likewise. | |
4045 | (info_spu_dma_command): Likewise. | |
4046 | (info_spu_proxydma_command): Likewise. | |
4047 | (info_spu_command): Likewise. | |
4048 | (_initialize_spu_tdep): Install "info spu" commands. | |
4049 | ||
374c1d38 UW |
4050 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
4051 | ||
4052 | * spu-linux-nat.c (spu_proc_xfer_spu): Do not return failure when | |
4053 | accessing non-seekable spufs files. | |
4054 | ||
e76f05fa UW |
4055 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4056 | ||
4057 | * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Replace by | |
4058 | gdbarch_skip_trampoline_code. | |
4059 | * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment). | |
4060 | * objc-lang.c (objc_skip_trampoline) | |
4061 | (objc_submethod_helper_data): Likewise. | |
4062 | * m32c-lang.c (m32c_skip_trampoline_code): Likewise (comment). | |
4063 | * infrun.c (handle_inferior_event): Likewise. | |
4064 | * gnu-v3-abi.c (gnuv3_skip_trampoline): Likewise. | |
4065 | * gdbarch.sh (IN_SOLIB_RETURN_TRAMPOLINE): Replace by | |
4066 | gdbarch_in_solib_return_trampoline. | |
4067 | * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment). | |
4068 | * infrun.c (handle_inferior_event): Likewise. | |
4069 | * hppa-tdep.c (hppa_stub_unwind_sniffer): Likewise. | |
4070 | * gdbarch.c, gdbarch.h: Regenerate. | |
4071 | ||
a433963d UW |
4072 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4073 | ||
4074 | * gdbarch.sh (SKIP_PROLOGUE): Replace by gdbarch_skip_prologue. | |
4075 | * symtab.c (find_function_start_sal, in_prologue): Likewise. | |
4076 | * linespec.c (minsym_found): Likewise. | |
4077 | * infrun.c (step_into_function): Likewise. | |
4078 | * gdbarch.c, gdbarch.h: Regenerate. | |
4079 | ||
aea8766f UW |
4080 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4081 | ||
4082 | * gdbarch.sh (NAME_OF_MALLOC): Replace by gdbarch_name_of_malloc. | |
4083 | * valops.c (value_allocate_space_in_inferior): Likewise. | |
4084 | * gdbarch.c, gdbarch.h: Regenerate. | |
4085 | ||
8da95a30 UW |
4086 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4087 | ||
4088 | * gdbarch.sh (MEMORY_INSERT_BREAKPOINT): Replace by | |
4089 | gdbarch_memory_insert_breakpoint. | |
4090 | * mem-break.c (memory_insert_breakpoint): Likewise. | |
4091 | * gdbarch.sh (MEMORY_REMOVE_BREAKPOINT): Replace by | |
4092 | gdbarch_memory_remove_breakpoint. | |
4093 | * mem-break.c (memory_remove_breakpoint): Likewise. | |
4094 | * gdbarch.c, gdbarch.h: Regenerate. | |
4095 | ||
985969a9 UW |
4096 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4097 | ||
4098 | * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS): Replace by | |
4099 | gdbarch_fetch_tls_load_module_address. | |
4100 | * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS_P): Replace by | |
4101 | gdbarch_fetch_tls_load_module_address_p. | |
4102 | * gdbarch.c, gdbarch.h: Regenerate. | |
4103 | ||
b798847d UW |
4104 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4105 | ||
4106 | * gdbarch.sh (DECR_PC_AFTER_BREAK): Replace by | |
4107 | gdbarch_decr_pc_after_break. | |
4108 | * tracepoint.c (trace_dump_command): Likewise. | |
4109 | * solib-sunos.c (sunos_solib_create_inferior_hook): Likewise. | |
4110 | * linux-thread-db.c (check_event): Likewise. | |
4111 | * linux-nat.c (cancel_breakpoints_callback): Likewise. | |
4112 | * infrun.c (adjust_pc_after_break, normal_stop): Likewise. | |
4113 | * frame.h: Likewise (comment). | |
4114 | * dummy-frame.c (deprecated_pc_in_call_dummy): Likewise. | |
4115 | * aix-thread.c (aix_thread_wait): Likewise. | |
4116 | * gdbarch.c, gdbarch.h: Regenerate. | |
4117 | ||
849957d9 UW |
4118 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4119 | ||
4120 | * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS): Replace by | |
4121 | gdbarch_address_class_type_flags. | |
4122 | * dwarf2read.c (read_tag_pointer_type): Likewise. | |
4123 | * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_P): Replace by | |
4124 | gdbarch_address_class_type_flags_p. | |
4125 | * dwarf2read.c (read_tag_pointer_type): Likewise. | |
4126 | * gdbarch.c, gdbarch.h: Regenerate. | |
4127 | ||
bf6ae464 UW |
4128 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4129 | ||
4130 | * gdbarch.sh (ADDR_BITS_REMOVE): Replace by gdbarch_addr_bits_remove. | |
4131 | * value.c (value_as_address): Likewise (comment). | |
4132 | * remote-mips.c (common_breakpoint): Likewise. | |
4133 | * regcache.c (read_pc_pid): Likewise. | |
4134 | * printcmd.c (do_one_display): Likewise. | |
4135 | * monitor.c (monitor_write_memory, monitor_read_memory) | |
4136 | (monitor_insert_breakpoint): Likewise. | |
4137 | * mips-tdep.c (heuristic_proc_start): Likewise. | |
4138 | * infrun.c (insert_step_resume_breakpoint_at_frame) | |
4139 | (insert_step_resume_breakpoint_at_caller): Likewise. | |
4140 | * buildsym.c (record_line): Likewise. | |
4141 | * arm-tdep.c (arm_scan_prologue, thumb_get_next_pc) | |
4142 | (arm_get_next_pc): Likewise. | |
4143 | * armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register) | |
4144 | (store_regs): Likewise. | |
4145 | * arm-linux-tdep.c (arm_linux_supply_gregset): Likewise. | |
4146 | * arm-linux-nat.c (fetch_register, fetch_regs): Likewise. | |
4147 | * gdbarch.c, gdbarch.h: Regenerate. | |
4148 | ||
c9f4d572 UW |
4149 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4150 | ||
4151 | * gdbarch.sh (REGISTER_NAME): Replace by gdbarch_register_name. | |
4152 | * tracepoint.c (scope_info): Likewise. | |
4153 | * target.c (debug_print_register): Likewise. | |
4154 | * stack.c (frame_info): Likewise. | |
4155 | * sh-tdep.c (sh_register_reggroup_p): Likewise. | |
4156 | * sh64-tdep.c (sh64_do_fp_register, sh64_do_register) | |
4157 | (sh64_media_print_registers_info) | |
4158 | (sh64_compact_print_registers_info): Likewise. | |
4159 | * rs6000-tdep.c (rs6000_register_reggroup_p): Likewise. | |
4160 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
4161 | * remote.c (packet_reg): Likewise (comment). | |
4162 | * reggroups.c (default_register_reggroup_p): Likewise. | |
4163 | * regcache.c (regcache_dump): Likewise. | |
4164 | * printcmd.c (address_info): Likewise. | |
4165 | * ppc-linux-nat.c (fetch_register, store_register): Likewise. | |
4166 | * mt-dep.c (mt_registers_info): Likewise. | |
4167 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Likewise (comment). | |
4168 | * mips-tdep.c (mips_register_reggroup_p, mips_read_fp_register_single) | |
4169 | (mips_read_fp_register_double, mips_print_fp_register) | |
4170 | (mips_print_register, print_gp_register_row, mips_print_registers_info) | |
4171 | (mips_register_sim_regno): Likewise. | |
4172 | * m68klinux-nat.c (regmap, fetch_register, store_register): Likewise. | |
4173 | * inf-ptrace.c (inf_ptrace_fetch_register) | |
4174 | (inf_ptrace_store_register): Likewise. | |
4175 | * infcmd.c (default_print_registers_info): Likewise. | |
4176 | * ia64-linux-nat.c (ia64_linux_fetch_register) | |
4177 | (ia64_linux_store_register): Likewise. | |
4178 | * i386-linux-nat.c (fetch_register, store_register): Likewise. | |
4179 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise. | |
4180 | * hppa-linux-nat.c (fetch_register, store_register): Likewise. | |
4181 | * hppa-hpux-nat.c (hppa_hpux_fetch_register) | |
4182 | (hppa_hpux_store_register): Likewise. | |
4183 | * findvar.c (locate_var_value): Likewise. | |
4184 | * dwarf2loc.c (locexpr_describe_location): Likewise. | |
4185 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
4186 | * arm-tdep.c (arm_push_dummy_call): Likewise. | |
4187 | * arch-utils.c (legacy_register_sim_regno): Likewise. | |
4188 | * alpha-tdep.c (alpha_register_reggroup_p): Likewise. | |
4189 | * alpha-nat.c (fetch_osf_core_registers): Likewise. | |
4190 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
4191 | (mi_cmd_data_list_changed_registers, mi_cmd_data_list_register_values) | |
4192 | (mi_cmd_data_write_register_values): Likewise. | |
4193 | * gdbarch.c, gdbarch.h: Regenerate. | |
4194 | ||
1fc01e03 DJ |
4195 | 2007-06-07 Daniel Jacobowitz <dan@codesourcery.com> |
4196 | ||
4197 | * target-memory.c (blocks_to_erase): Correct off-by-one error. | |
4198 | ||
632110b1 VP |
4199 | 2007-06-06 Vladimir Prus <vladimir@codesourcery.com> |
4200 | ||
4201 | * remote.c (process_g_packet): Don't check size. | |
4202 | * gdbarch.sh: Remove register_bytes_ok. | |
4203 | * gdbarch.c: Regenerated. | |
4204 | * gdbarch.h: Regenerated. | |
4205 | * m68k-tdep.c (REGISTER_BYTES_NOFP): Remove. | |
4206 | (m68k_register_bytes_ok): Remove. | |
4207 | (m68k_gdbarch_init): Don't register m68k_register_bytes_ok. | |
4208 | ||
f43ae3f1 AS |
4209 | 2007-06-06 Andreas Schwab <schwab@suse.de> |
4210 | ||
4211 | * libunwind-frame.c (unw_destroy_addr_space_p): Define. | |
4212 | (destroy_addr_space_name): Define. | |
4213 | (libunwind_load): Get address of destroy_addr_space function. | |
4214 | (libunwind_frame_cache): Destroy unw_addr_space_t object before | |
4215 | returning unsuccessfully. | |
4216 | (libunwind_frame_sniffer): Destroy unw_addr_space_t object before | |
4217 | returning. | |
4218 | (libunwind_sigtramp_frame_sniffer): Likewise. | |
4219 | (libunwind_get_reg_special): Likewise. | |
4220 | ||
d99344c0 UW |
4221 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4222 | ||
4223 | * gdbarch.sh (FETCH_POINTER_ARGUMENT): Replace by | |
4224 | gdbarch_fetch_pointer_argument. | |
4225 | * objc-lang.c (OBJC_FETCH_POINTER_ARGUMENT): Likewise. | |
4226 | * gdbarch.c, gdbarch.h: Regenerate. | |
4227 | ||
e6cf7916 UW |
4228 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4229 | ||
4230 | * gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Replace by | |
4231 | gdbarch_have_nonsteppable_watchpoint. | |
4232 | * infrun.c (handle_inferior_event, adjust_pc_after_break): Likewise. | |
4233 | * gdbarch.sh (CANNOT_STEP_BREAKPOINT): Replace by | |
4234 | gdbarch_cannot_step_breakpoint. | |
4235 | * infrun.c (resume): Likewise. | |
4236 | * gdbarch.c, gdbarch.h: Regenerate. | |
4237 | ||
bbcf301a UW |
4238 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4239 | ||
4240 | * gdbarch.sh (FRAME_ARGS_SKIP): Replace by gdbarch_frame_args_skip. | |
4241 | * stack.c (print_frame_args): Likewise. | |
4242 | * gdbarch.sh (FRAME_NUM_ARGS): Replace by gdbarch_frame_num_args. | |
4243 | * stack.c (print_args_stub, frame_info): Likewise. | |
4244 | * gdbarch.sh (FRAME_NUM_ARGS_P): Replace by gdbarch_frame_num_args_p. | |
4245 | * stack.c (print_args_stub, frame_info): Likewise. | |
4246 | * gdbarch.c, gdbarch.h: Regenerate. | |
4247 | ||
95f1da47 UW |
4248 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4249 | ||
4250 | * gdbarch.sh (COFF_MAKE_MSYMBOL_SPECIAL): Replace by | |
4251 | gdbarch_coff_make_msymbol_special. | |
4252 | * coffread.c (coff_symtab_read): Likewise. | |
4253 | * gdbarch.sh (ELF_MAKE_MSYMBOL_SPECIAL): Replace by | |
4254 | gdbarch_elf_make_msymbol_special. | |
4255 | * elfread.c (elf_symtab_read): Likewise. | |
4256 | * mips-tdep.c (mips_elf_make_msymbol_special): Likewise (comment). | |
4257 | * sh64-tdep.c (MSYMBOL_IS_SPECIAL): Likewise (comment). | |
4258 | * gdbarch.c, gdbarch.h: Regenerate. | |
4259 | ||
39e8369e UW |
4260 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4261 | ||
4262 | * gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by | |
4263 | gdbarch_frame_red_zone_size. | |
4264 | * gdbarch.c, gdbarch.h: Regenerate. | |
4265 | ||
4d1e7dd1 UW |
4266 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4267 | ||
4268 | * gdbarch.sh (INNER_THAN): Replace by gdbarch_inner_than. | |
4269 | * infcall.c (call_function_by_hand): Likewise. | |
4270 | * gcore.c (derive_stack_segment): Likewise. | |
4271 | * frame.c (frame_id_inner): Likewise. | |
4272 | * arch-utils.c (core_addr_lessthan): Likewise (comment). | |
4273 | * ada-lang.c (ensure_lval): Likewise. | |
4274 | * gdbarch.c, gdbarch.h: Regenerate. | |
4275 | ||
76e71323 UW |
4276 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4277 | ||
4278 | * gdbarch.sh (ADDRESS_TO_POINTER): Replace by | |
4279 | gdbarch_address_to_pointer. | |
4280 | * findvar.c (store_typed_address): Likewise. | |
4281 | * gdbtypes.c (make_pointer_type): Likewise (comment). | |
4282 | * procfs.c (procfs_address_to_host_pointer): Likewise. | |
4283 | * std-regs.c (value_of_builtin_frame_reg): Likewise. | |
4284 | (value_of_builtin_frame_fp_reg): Likewise. | |
4285 | (value_of_builtin_frame_pc_reg): Likewise. | |
4286 | * utils.c (paddress): Likewise (comment). | |
4287 | * gdbarch.sh (POINTER_TO_ADDRESS): Replace by | |
4288 | gdbarch_pointer_to_address. | |
4289 | * findvar.c (extract_typed_address): Likewise. | |
4290 | * gdbtypes.c (make_pointer_type): Likewise (comment). | |
4291 | * valops.c (value_cast): Likewise (comment). | |
4292 | * gdbarch.c, gdbarch.h: Regenerate. | |
4293 | ||
91104499 UW |
4294 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4295 | ||
4296 | * gdbarch.sh (GET_LONGJMP_TARGET): Replace by gdbarch_get_longjmp_target. | |
4297 | * infrun.c (handle_inferior_event): Likewise. | |
4298 | * gdbarch.sh (GET_LONGJMP_TARGET_P): Replace by | |
4299 | gdbarch_get_longjmp_target_p. | |
4300 | * breakpoint.c (breakpoint_re_set): Likewise. | |
4301 | * infrun.c (handle_inferior_event): Likewise. | |
4302 | * gdbarch.c, gdbarch.h: Regenerate. | |
4303 | ||
d3e9c991 UW |
4304 | 2007-06-06 Ulrich Weigand <uweigand@de.ibm.com> |
4305 | ||
4306 | * hppa-hpux-tdep.c (args_for_find_stub, HP_ACC_EH_notify_hook, | |
4307 | HP_ACC_EH_set_hook_value, HP_ACC_EH_notify_callback, HP_ACC_EH_break, | |
4308 | HP_ACC_EH_catch_throw, HP_ACC_EH_catch_catch, __eh_notification, | |
4309 | hp_cxx_exception_support, hp_cxx_exception_support_initialized, | |
4310 | eh_notify_hook_addr, eh_notify_callback_addr, eh_break_addr, | |
4311 | eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior, | |
4312 | find_stub_with_shl_get, cover_find_stub_with_shl_get, | |
4313 | initialize_hp_cxx_exception_support, child_enable_exception_callback, | |
4314 | current_ex_event, child_get_current_exception_event): Remove. | |
4315 | (hppa_hpux_inferior_created): Remove. | |
4316 | (hppa_hpux_init_abi): Do not install hppa_hpux_inferior_created. | |
4317 | ||
4318 | * breakpoint.h (deprecated_exception_catchpoints_are_fragile): Remove. | |
4319 | (deprecated_exception_support_initialized): Remove. | |
4320 | * breakpoint.c (deprecated_exception_catchpoints_are_fragile): Remove. | |
4321 | (deprecated_exception_support_initialized): Remove. | |
4322 | (breakpoint_init_inferior): Remove handling of non-zero | |
4323 | deprecated_exception_catchpoints_are_fragile. | |
4324 | ||
4325 | * symtab.h (deprecated_hp_som_som_object_present): Remove. | |
4326 | * symtab.c (deprecated_hp_som_som_object_present): Remove. | |
4327 | * c-typeprint.c (c_type_print_base): Remove handling of non-zero | |
4328 | deprecated_hp_som_som_object_present. | |
4329 | * eval.c (evaluate_subexp_standard): Likewise. | |
4330 | * valops.c (value_cast): Likewise. | |
4331 | ||
4332 | * parse.c (parse_nested_classes_for_hpacc, coloncolon): Remove. | |
4333 | * parser-defs.h (parse_nested_classes_for_hpacc): Remove. | |
4334 | * c-exp.y (yylex): Do not call parse_nested_classes_for_hpacc. | |
4335 | ||
5e787d22 UW |
4336 | 2007-06-06 Ulrich Weigand <uweigand@de.ibm.com> |
4337 | ||
4338 | * objfiles.h (ImportEntry, ExportEntry): Remove types. | |
4339 | (struct objfile): Remove import_list, import_list_size, | |
4340 | export_list, export_list_size members. | |
4341 | (is_in_import_list): Remove prototype. | |
4342 | * objfiles.c (is_in_import_list): Remove. | |
4343 | * somread.c (init_import_symbols, init_export_symbols): Remove. | |
4344 | (som_symfile_read): Do not call init_import_symbols. Do not | |
4345 | set objfile->export_list and objfile->export_list_size. | |
4346 | ||
93e7bd98 DJ |
4347 | 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com> |
4348 | ||
4349 | * dwarf2read.c (dwarf2_symbol_mark_computed): Fix formatting. | |
4350 | Use the original objfile if necessary. | |
4351 | ||
e1024ff1 DJ |
4352 | 2007-06-04 Daniel Jacobowitz <dan@codesourcery.com> |
4353 | ||
4354 | * defs.h (ldirname): New prototype. | |
4355 | * dwarf2read.c (read_file_scope): Use DW_AT_name if DW_AT_comp_dir is | |
4356 | missing. | |
4357 | * utils.c (ldirname): New function. | |
4358 | * xml-tdesc.c (file_read_description_xml): Use ldirname. | |
4359 | ||
ee82e879 UW |
4360 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
4361 | ||
4362 | * spu-tdep.c (spu_push_dummy_call): Store stack back chain. | |
4363 | ||
513f5903 JB |
4364 | 2007-06-01 Joel Brobecker <brobecker@adacore.com> |
4365 | ||
4366 | * solib-svr4.c (svr4_solib_create_inferior_hook): Remove warning. | |
4367 | ||
52a75740 UW |
4368 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
4369 | ||
4370 | * irix5-nat.c (JB_ELEMENT_SIZE, get_longjmp_target): Remove. | |
4371 | ||
c3fc7e62 UW |
4372 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
4373 | ||
4374 | * ppc-linux-tdep.c (INSTR_SC, INSTR_LI_R0_0x6666, INSTR_LI_R0_0x7777, | |
4375 | INSTR_LI_R0_NR_sigreturn, INSTR_LI_R0_NR_rt_sigreturn): Remove. | |
4376 | (PPC_LINUX_SIGNAL_FRAMESIZE, PPC_LINUX_REGS_PTR_OFFSET, | |
4377 | PPC_LINUX_HANDLER_PTR_OFFSET): Remove. | |
4378 | (ppc_linux_in_sigtramp, insn_is_sigreturn, | |
4379 | ppc_linux_at_sigtramp_return_path): Remove. | |
4380 | ||
4c6b5505 UW |
4381 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4382 | ||
4383 | * xtensa-tdep.c (XTENSA_IS_ENTRY, extract_call_winsize) | |
4384 | (xtensa_register_write_masked, xtensa_register_read_masked) | |
4385 | (xtensa_extract_return_value, xtensa_store_return_value | |
4386 | (xtensa_push_dummy_call, xtensa_breakpoint_from_pc): Replace | |
4387 | TARGET_BYTE_ORDER by gdbarch_byte_order. | |
4388 | * sh-tdep.c (sh_breakpoint_from_pc, gdb_print_insn_sh) | |
4389 | (sh_justify_value_in_reg, sh_next_flt_argreg, sh_push_dummy_call_fpu) | |
4390 | (sh_extract_return_value_fpu, sh_store_return_value_fpu): Likewise. | |
4391 | * sh64-tdep.c (sh64_breakpoint_from_pc, gdb_print_insn_sh64) | |
4392 | (sh64_push_dummy_call, sh64_extract_return_value) | |
4393 | (sh64_store_return_value, sh64_register_convert_to_virtual) | |
4394 | (sh64_register_convert_to_raw, sh64_pseudo_register_read) | |
4395 | (sh64_pseudo_register_write, sh64_do_fp_register) | |
4396 | (sh64_frame_prev_register): Likewise. | |
4397 | * score-tdep.c (score_print_insn, score_breakpoint_from_pc) | |
4398 | (score_return_value, score_push_dummy_call, score_fetch_inst): Likewise. | |
4399 | * rs6000-tdep.c (rs6000_breakpoint_from_pc, rs6000_push_dummy_call) | |
4400 | (e500_move_ev_register,gdb_print_insn_powerpc): Likewise. | |
4401 | * remote-m32r-sdi.c (m32r_resume, m32r_wait): Likewise. | |
4402 | * ppc-linux-nat.c (store_register): Likewise. | |
4403 | * nto-tdep.c (nto_find_and_open_solib) | |
4404 | (nto_init_solib_absolute_prefix): Likewise. | |
4405 | * mips-tdep.c (mips_pseudo_register_read, mips_pseudo_register_write) | |
4406 | (mips_convert_register_p, mips_eabi_push_dummy_call) | |
4407 | (mips_n32n64_push_dummy_call, mips_n32n64_return_value) | |
4408 | (mips_o32_push_dummy_call, mips_o32_return_value) | |
4409 | (mips_o64_push_dummy_call, mips_o64_return_value, mips_o64_return_value) | |
4410 | (mips_read_fp_register_single, mips_read_fp_register_double) | |
4411 | (mips_print_register, print_gp_register_row, gdb_print_insn_mips) | |
4412 | (mips_breakpoint_from_pc): Likewise. | |
4413 | * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Likewise. | |
4414 | * mips-linux-tdep.c (mips64_supply_fpregset, mips64_fill_fpregset) | |
4415 | (mips_linux_o32_sigframe_init): Likewise. | |
4416 | * m32r-tdep.c (m32r_memory_insert_breakpoint) | |
4417 | (m32r_memory_remove_breakpoint, m32r_breakpoint_from_pc): Likewise. | |
4418 | * libunwind-frame.c (libunwind_frame_cache, libunwind_frame_sniffer) | |
4419 | (libunwind_sigtramp_frame_sniffer, libunwind_get_reg_special): Likewise. | |
4420 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Likewise. | |
4421 | * coffread.c (process_coff_symbol): Likewise. | |
4422 | * arm-tdep.c (convert_from_extended, convert_to_extended) | |
4423 | (gdb_print_insn_arm): Likewise. | |
4424 | ||
f57d151a UW |
4425 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4426 | ||
4427 | * gdbarch.sh (NUM_REGS): Replace by gdbarch_num_regs. | |
4428 | * i386-tdep.c (i386_dbx_reg_to_regnum) | |
4429 | (i386_svr4_reg_to_regnum): Likewise. | |
4430 | * inf-ptrace.c (inf_ptrace_fetch_registers) | |
4431 | (inf_ptrace_store_registers): Likewise. | |
4432 | * corelow.c (get_core_registers): Likewise. | |
4433 | * i386-linux-nat.c (supply_gregset, fill_gregset) | |
4434 | (i386_linux_fetch_inferior_registers) | |
4435 | (i386_linux_store_inferior_registers): Likewise. | |
4436 | * remote.c (init_remote_state,packet_reg_from_regnum) | |
4437 | (packet_reg_from_pnum,process_g_packet,remote_fetch_registers) | |
4438 | (remote_prepare_to_store,store_registers_using_G) | |
4439 | (remote_store_registers,remote_arch_state): Likewise. | |
4440 | * tracepoint.c (encode_actions): Likewise. | |
4441 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
4442 | (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values) | |
4443 | (mi_cmd_data_write_register_values): Likewise. | |
4444 | * tui/tui-regs.c (tui_show_register_group) | |
4445 | (tui_show_register_group): Likewise. | |
4446 | * xtensa-tdep.h (FP_ALIAS): Likewise. | |
4447 | * xtensa-tdep.c (xtensa_register_name,xtensa_register_type) | |
4448 | (xtensa_reg_to_regnum,xtensa_pseudo_register_read) | |
4449 | (xtensa_pseudo_register_write,xtensa_register_reggroup_p): Likewise. | |
4450 | * win32-nat.c (do_win32_fetch_inferior_registers) | |
4451 | (do_win32_store_inferior_registers,fetch_elf_core_registers | |
4452 | * user-regs.h: Likewise (comment). | |
4453 | * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise. | |
4454 | * trad-frame.c (trad_frame_alloc_saved_regs): Likewise. | |
4455 | * target-descriptions.h: Likewise (comment). | |
4456 | * target-descriptions.c (tdesc_use_registers): Likewise (comment). | |
4457 | * target.c (debug_print_register): Likewise. | |
4458 | * stack.c (frame_info): Likewise. | |
4459 | * stabsread.c (define_symbol): Likewise. | |
4460 | * sh64-tdep.c (sh64_do_pseudo_register,sh64_print_register) | |
4461 | (sh64_media_print_registers_info) | |
4462 | (sh64_compact_print_registers_info): Likewise. | |
4463 | * rs6000-tdep.c (rs6000_register_sim_regno): Likewise. | |
4464 | * rs6000-nat.c (fetch_register,store_register): Likewise. | |
4465 | * remote-sim.c (one2one_register_sim_regno,gdbsim_fetch_register) | |
4466 | (gdbsim_fetch_register,gdbsim_store_register): Likewise. | |
4467 | * remote-mips.c (mips_fetch_registers,mips_store_registers): Likewise. | |
4468 | * remote-m32r-sdi.c (m32r_fetch_registers) | |
4469 | (m32r_store_registers): Likewise. | |
4470 | * reggroups.c (default_register_reggroup_p): Likewise. | |
4471 | * regcache.c (init_regcache_descr,register_size,regcache,regcache_save) | |
4472 | (regcache_restore,regcache_dump): Likewise. | |
4473 | * monitor.c (monitor_fetch_registers,monitor_store_registers): Likewise. | |
4474 | * mips-tdep.c (mips_xfer_register,mips_register_name) | |
4475 | (mips_register_reggroup_p,mips_pseudo_register_read) | |
4476 | (mips_pseudo_register_write,mips_convert_register_p,mips_register_type) | |
4477 | (mips_unwind_pc,mips_unwind_sp,mips_unwind_dummy_id,set_reg_offset) | |
4478 | (mips16_scan_prologue,mips_insn16_frame_cache,reset_saved_regs) | |
4479 | (mips32_scan_prologue,mips_insn32_frame_cache,read_next_frame_reg) | |
4480 | (mips_n32n64_return_value,mips_o32_return_value,mips_o64_return_value) | |
4481 | (print_gp_register_row,mips_print_registers_info) | |
4482 | (mips_stab_reg_to_regnum,mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
4483 | (mips_register_sim_regno): Likewise. | |
4484 | * mips-linux-tdep.c (mips_linux_o32_sigframe_init) | |
4485 | (mips_linux_n32n64_sigframe_init): Likewise. | |
4486 | * mips-linux-nat.c (mips_linux_register_addr) | |
4487 | (mips64_linux_register_addr): Likewise. | |
4488 | * findvar.c (value_of_register): Likewise. | |
4489 | * infcmd.c (default_print_registers_info,registers_info) | |
4490 | (print_vector_info,print_float_info): Likewise. | |
4491 | * mips64obsd-tdep.c (mips64obsd_sigframe_init): Likewise. | |
4492 | * inf-child.c (inf_child_fetch_inferior_registers): Likewise. | |
4493 | * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise. | |
4494 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache(: Likewise. | |
4495 | * m32r-tdep.c (m32r_frame_unwind_cache): Likewise. | |
4496 | * ia64-linux-nat.c (ia64_register_addr,ia64_cannot_fetch_register) | |
4497 | (ia64_cannot_store_register,ia64_linux_fetch_registers) | |
4498 | (ia64_linux_store_registers): Likewise. | |
4499 | * hpux-thread.c (hpux_thread_fetch_registers) | |
4500 | (hpux_thread_store_registers): Likewise. | |
4501 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM,E_PSEUDO_EXR_REGNUM) | |
4502 | (h8300_init_frame_cache,h8300_frame_cache,h8300_frame_prev_register) | |
4503 | (h8300_register_type): Likewise. | |
4504 | * dwarf2-frame.c (dwarf2_frame_cache) | |
4505 | (dwarf2_frame_state_alloc_regs): Likewise. | |
4506 | * cris-tdep.c (cris_register_size,cris_cannot_fetch_register) | |
4507 | (cris_cannot_store_register,crisv32_cannot_fetch_register) | |
4508 | (crisv32_cannot_store_register,cris_register_name): Likewise. | |
4509 | * avr-tdep.c (avr_frame_unwind_cache): Likewise. | |
4510 | * arch-utils.c (legacy_register_sim_regno) | |
4511 | (legacy_virtual_frame_pointer): Likewise. | |
4512 | * arm-tdep.c (arm_make_prologue_cache,arm_register_sim_regno):Likewise. | |
4513 | * arm-tdep.h: Likewise (comment). | |
4514 | * frv-tdep.c (frv_register_sim_regno): Likewise. | |
4515 | * m68klinux-nat.c (old_fetch_inferior_registers) | |
4516 | (old_store_inferior_registers): Likewise. | |
4517 | * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. | |
4518 | * irix5-nat.c (fetch_core_registers): Likewise. | |
4519 | * hppa-tdep.c (hppa_frame_cache): Likewise. | |
4520 | * hppa-linux-nat.c (hppa_linux_register_addr) | |
4521 | (hppa_linux_fetch_inferior_registers) | |
4522 | (hppa_linux_store_inferior_registers): Likewise. | |
4523 | * hppa-hpux-nat.c (hppa_hpux_fetch_inferior_registers) | |
4524 | (hppa_hpux_store_inferior_registers): Likewise. | |
4525 | * amd64-nat.c (amd64_native_gregset_reg_offset) | |
4526 | (amd64_supply_native_gregset,amd64_collect_native_gregset): Likewise. | |
4527 | * dbug-rom.c (dbug_regname): Likewise. | |
4528 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache) | |
4529 | (HARD_PAGE_REGNUM (comment)): Likewise. | |
4530 | * gdbarch.sh (NUM_PSEUDO_REGS): Replace by gdbarch_num_pseudo_regs. | |
4531 | * i386-tdep.c (i386_dbx_reg_to_regnum) | |
4532 | (i386_svr4_reg_to_regnum): Likewise. | |
4533 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
4534 | (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values) | |
4535 | (mi_cmd_data_write_register_values): Likewise. | |
4536 | * gdbarch.c, gdbarch.h: Regenerate. | |
4537 | * tui/tui-regs.c (tui_show_register_group): Likewise. | |
4538 | * xtensa-tdep.h (FP_ALIAS): Likewise. | |
4539 | * user-regs.h: Likewise (comment). | |
4540 | * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise. | |
4541 | * trad-frame.c (trad_frame_alloc_saved_regs): Likewise. | |
4542 | * target-descriptions.h: Likewise (comment). | |
4543 | * target.c (debug_print_register): Likewise. | |
4544 | * stack.c (frame_info): Likewise. | |
4545 | * stabsread.c (define_symbol): Likewise. | |
4546 | * sh64-tdep.c (sh64_print_register,sh64_media_print_registers_info) | |
4547 | (sh64_compact_print_registers_info): Likewise. | |
4548 | * rs6000-tdep.c (rs6000_register_sim_regno): Likewise. | |
4549 | * regcache.c (init_regcache_descr,register_size,regcache,regcache_save | |
4550 | (regcache_restore,regcache_dump): Likewise. | |
4551 | * mips-tdep.c (print_gp_register_row,mips_print_registers_info) | |
4552 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
4553 | (mips_stab_reg_to_regnum): Likewise. | |
4554 | * findvar.c (value_of_register): Likewise. | |
4555 | * infcmd.c (default_print_registers_info,registers_info) | |
4556 | (print_vector_info,print_float_info): Likewise. | |
4557 | * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise. | |
4558 | * h8300-tdep.c (h8300_register_type): Likewise. | |
4559 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
4560 | * frame.h (SIZEOF_FRAME_SAVED_REGS): Likewise. | |
4561 | * xtensa-tdep.c (xtensa_register_type,xtensa_reg_to_regnum) | |
4562 | (xtensa_pseudo_register_read,xtensa_pseudo_register_write): Likewise. | |
4563 | * parse.c: Remove comment. | |
4564 | * gdbarch.c, gdbarch.h: Regenerate | |
4565 | ||
8d4c1ba3 UW |
4566 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4567 | ||
4568 | * gdbarch.sh (CANNOT_FETCH_REGISTER): Replace by | |
4569 | gdbarch_cannot_fetch_register. | |
4570 | * alpha-nat.c (fetch_osf_core_registers): Likewise. | |
4571 | * hppa-linux-nat.c (fetch_register): Likewise. | |
4572 | * inf-ptrace.c (inf_ptrace_fetch_register): Likewise. | |
4573 | * m68klinux-nat.c (fetch_register): Likewise. | |
4574 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): | |
4575 | Likewise. | |
4576 | * gdbarch.sh (CANNOT_STORE_REGISTER): Replace by | |
4577 | gdbarch_cannot_store_register. | |
4578 | * hppa-linux-nat.c (store_register): Likewise. | |
4579 | * inf-ptrace.c (inf_ptrace_store_register): Likewise. | |
4580 | * regcache.c (regcache_raw_write): Likewise. | |
4581 | * m68klinux-nat.c (store_register): Likewise. | |
4582 | * mipsnbsd-tdep.c (mipsnbsd_fill_reg, mipsnbsd_fill_fpreg): Likewise. | |
4583 | * gdbarch.c, gdbarch.h: Regenerate. | |
4584 | ||
3f4844da UW |
4585 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4586 | ||
4587 | * gdbarch.sh (TARGET_OSABI): Replace by gdbarch_osabi. | |
4588 | * gdbarch.c, gdbarch.h: Regenerate. | |
4589 | ||
6c6b19fd UW |
4590 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4591 | ||
4592 | * gdbarch.sh (TARGET_CHAR_SIGNED): Replace by gdbarch_char_signed. | |
4593 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
4594 | * gdbarch.c, gdbarch.h: Regenerate. | |
4595 | ||
0d20ae72 UW |
4596 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4597 | ||
4598 | * gdbarch.sh (TARGET_BYTE_ORDER): Replace by gdbarch_byte_order. | |
4599 | * ax-gdb.c (gen_bitfield_ref): Likewise. | |
4600 | * mi/mi-main.c (get_register): Likewise. | |
4601 | * findvar.c (default_value_from_register, extract_signed_integer) | |
4602 | (extract_unsigned_integer, extract_long_unsigned_integer) | |
4603 | (store_signed_integer, store_unsigned_integer): Likewise. | |
4604 | * regcache.c (regcache_dump): Likewise. | |
4605 | * value.c (lookup_internalvar, value_of_internalvar) | |
4606 | (set_internalvar): Likewise. | |
4607 | * defs.h: Likewise. | |
4608 | * valprint.c (print_binary_chars, print_octal_chars) | |
4609 | (print_decimal_chars, print_hex_chars, print_char_chars): Likewise. | |
4610 | * infcmd.c (default_print_registers_info): Likewise. | |
4611 | * arch-utils.c (selected_byte_order, show_endian): Likewise. | |
4612 | * stabsread.c (define_symbol): Likewise. | |
4613 | * doublest.c (floatformat_from_length, floatformat_from_type) | |
4614 | (extract_typed_floating, store_typed_floating): Likewise. | |
4615 | * gdbarch.c, gdbarch.h: Regenerate. | |
4616 | ||
faaf634c UW |
4617 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4618 | ||
4619 | * gdbarch.sh (CALL_DUMMY_LOCATION): Replace by | |
4620 | gdbarch_call_dummy_location. | |
4621 | * infcall.c (call_function_by_hand): Likewise. | |
4622 | * inferior.h: Change comment. | |
4623 | * arch-utils.c: Change comment. | |
4624 | * gdbarch.c, gdbarch.h: Regenerate. | |
4625 | ||
8905984d JB |
4626 | 2007-05-28 Joel Brobecker <brobecker@adacore.com> |
4627 | ||
4628 | * solib-aix5.c: Delete. | |
4629 | * Makefile.in (solib-aix5.o): Delete rule. | |
4630 | ||
ab14ee8d DJ |
4631 | 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com> |
4632 | ||
4633 | * breakpoint.h (enum bpstat_what_main_action): Remove | |
4634 | BPSTAT_WHAT_THROUGH_SIGTRAMP. | |
4635 | * infrun.c (process_event_stop_test): Do not check for it. | |
4636 | ||
23776285 MR |
4637 | 2007-05-22 Chris Dearman <chris@mips.com> |
4638 | Maciej W. Rozycki <macro@mips.com> | |
4639 | ||
4640 | * ser-unix.c (show_serial_hwflow): New function. | |
4641 | (hardwire_raw): Add hardware flow control support. | |
4642 | (_initialize_ser_hardwire): Add "set/show remoteflow". | |
4643 | * Makefile.in (ser-unix.o): Depend on $(gdbcmd_h). | |
4644 | * NEWS: Document the new command. | |
4645 | ||
eb368090 UW |
4646 | 2007-05-21 Ulrich Weigand <uweigand@de.ibm.com> |
4647 | ||
4648 | * config/i386/tm-linux.h (sys_quotactl): Do not define. | |
4649 | * configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not | |
4650 | define for i[[3456]]86-*-linux* native configurations. | |
4651 | * config.in, configure: Regenerate. | |
4652 | ||
8d08c9ce JB |
4653 | 2007-05-19 Joel Brobecker <brobecker@adacore.com> |
4654 | ||
4655 | * rs6000-nat.c (xcoff_relocate_symtab): Do nothing if debugging | |
4656 | a core file. Add comment in the function description. | |
4657 | ||
42be36b3 CT |
4658 | 2007-05-18 Caroline Tice <ctice@apple.com> |
4659 | ||
4660 | * c-valprint.c (c_value_print): If the initialized field of the | |
4661 | value struct is 0, print out "[uninitialized]" before the value. | |
4662 | * dwarf2expr.c (execute_stack_op): Initialize ctx->initialized field; | |
4663 | allow DW_OP_GNU_uninit as legal op following a DW_OP_reg op or a | |
4664 | DW_OP_regx op; add case for DW_OP_GNU_uninit and update | |
4665 | ctx->initialized appropriately. Verify no location op follows | |
4666 | DW_OP_GNU_uninit. | |
4667 | * dwarf2expr.h (struct dwarf_expr_context): New field, initialized. | |
4668 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Add call to | |
4669 | set_value_initialized. | |
4670 | * dwarf2read.c (dwarf_stack_op_name): Add case for DW_OP_GNU_uninit. | |
4671 | (decode_locdesc): Add case for DW_OP_GNU_uninit. | |
4672 | * value.c (struct value): New field, initialized. | |
4673 | (allocate_value): Initialize new field. | |
4674 | (set_value_initialized): New function. | |
4675 | (value_initialized): New function. | |
4676 | * value.h (value_initialized): New extern declaration. | |
4677 | (set_value_initialized): Likewise. | |
42be36b3 | 4678 | |
a7c569c8 CT |
4679 | 2007-05-18 Caroline Tice <ctice@apple.com> |
4680 | ||
4681 | * MAINTAINERS (Write After Approval): Add self. | |
4682 | ||
1e98b326 JB |
4683 | 2007-05-17 Joel Brobecker <brobecker@adacore.com> |
4684 | ||
4685 | * gdbtypes.c (make_reference_type): Preserve the type chain | |
4686 | and set the length of all the variants of the pointer type. | |
4687 | ||
053cb41b JB |
4688 | 2007-05-17 Joel Brobecker <brobecker@adacore.com> |
4689 | ||
4690 | * gdbtypes.c (make_pointer_type): Preserve the pointer type chain | |
4691 | and set the length of all the variants of the pointer type. | |
4692 | ||
436aafc4 MR |
4693 | 2007-05-17 Maciej W. Rozycki <macro@mips.com> |
4694 | ||
4695 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a | |
4696 | comment. | |
4697 | (mips_o64_push_dummy_call): Reformat a comment. | |
4698 | ||
98f4ab10 Q |
4699 | 2007-05-17 Qinwei <qinwei@sunnorth.com.cn> |
4700 | ||
4701 | * score-tdep.c (score_frame_cache->fp, score_analyze_prologue) | |
4702 | (score_prologue_frame_base_address): Return fp to keep gdb print | |
4703 | local variables correctly when debugging information is stabs. | |
4704 | ||
4705 | (score_analyze_prologue): For software watchpoint, fetch all the | |
4706 | instructions from range [startaddr, pc] once and identify them locally | |
4707 | to reduce memory access. | |
4708 | (score_malloc_and_get_memblock, score_free_memblock) | |
4709 | (score_adjust_memblock_ptr): New functions. | |
4710 | (score_fetch_inst): Fetch single instruction or mutiple instructions. | |
4711 | ||
4712 | (score_target_can_use_watch, score_stopped_by_watch) | |
4713 | (score_target_insert_watchpoint, score_target_remove_watchpoint) | |
4714 | (score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint): | |
4715 | New functions for remote & local hw-watchpoint and hw-breakpoint. | |
4716 | ||
60dfee72 AS |
4717 | 2007-05-16 Alfred M. Szmidt <ams@gnu.org> |
4718 | ||
4719 | * reply_mig_hack.awk: Check for `auto const mach_msg_type_t' | |
4720 | declarations as well. | |
4721 | ||
190dce09 UW |
4722 | 2007-05-16 Ulrich Weigand <uweigand@de.ibm.com> |
4723 | ||
4724 | * config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h. | |
4725 | * config/arm/tm-embed.h: Delete file. | |
4726 | ||
4727 | * arm-tdep.h (arm_software_single_step): Declare. | |
4728 | * arm-tdep.c (arm_software_single_step): Make global. | |
4729 | (arm_gdbarch_init): Move set_gdbarch_software_single_step call | |
4730 | from here to ... | |
4731 | * arm-linux-tdep.c (arm_linux_init_abi): ... here ... | |
4732 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): ... here ... | |
4733 | * armobsd-tdep.c (armobsd_init_abi): ... here ... | |
4734 | * arm-wince-tdep.c (arm_wince_init_abi): ... and here. | |
4735 | ||
4736 | * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT): No longer | |
4737 | allow defines to be overriden by TM file. | |
4738 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Likewise. Also, | |
4739 | change default to {0xbe,0xbe}. | |
4740 | * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint, | |
4741 | arm_obsd_thumb_be_breakpoint): New global variables. | |
4742 | (armobsd_init_abi): Override tdep->thumb_breakpoint and | |
4743 | tdep->thumb_breakpoint_size. | |
4744 | * arm-wince-tdep.c (arm_wince_thumb_le_breakpoint): New variable. | |
4745 | (arm_wince_init_abi): Override tdep->thumb_breakpoint and | |
4746 | tdep->thumb_breakpoint_size. | |
4747 | ||
4748 | * arm-tdep.c (arm_gdbarch_init): Add set_gdbarch_skip_trampoline_code. | |
4749 | ||
1a69e1e4 DJ |
4750 | 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com> |
4751 | ||
4752 | * NEWS: Mention removed "set mips stack-arg-size" and "set mips | |
4753 | saved-gpreg-size". | |
4754 | ||
4755 | * mips-tdep.c (MIPS32_REGSIZE, MIPS64_REGSIZE): New constants. | |
4756 | (size_auto, size_32, size_64, size_enums, mips_abi_regsize_string) | |
4757 | (mips_stack_argsize_string, mips_stack_argsize): Delete. | |
4758 | (mips_abi_regsize): Simplify. | |
4759 | (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) | |
4760 | (mips_n32n64_return_value, mips_o32_push_dummy_call) | |
4761 | (mips_o32_return_value, mips_o64_push_dummy_call) | |
4762 | (mips_o64_return_value): Propogate constant register sizes. Use the | |
4763 | ABI register size instead of mips_stack_argsize. | |
4764 | (mips_dump_tdep): Don't print mips_stack_argsize. | |
4765 | (_initialize_mips_tdep): Remove saved-gpreg-size and stack-arg-size | |
4766 | settings. | |
4767 | ||
7d522c90 DJ |
4768 | 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com> |
4769 | ||
4770 | * config/mips/linux.mt (DEPRECATED_TM_FILE): Delete. | |
4771 | * config/mips/tm-linux.h: Delete. | |
4772 | * mips-linux-tdep.c (mips_svr4_so_ops): New. | |
4773 | (mips_linux_in_dynsym_resolve_code): Make static. Use | |
4774 | svr4_in_dynsym_resolve_code. | |
4775 | (mips_linux_init_abi): Initialize mips_svr4_so_ops. Call | |
4776 | set_solib_ops. | |
4777 | * solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make | |
4778 | global. | |
4779 | * solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare. | |
4780 | * Makefile.in (mips-linux-tdep.o): Update. | |
4781 | * solib.c (set_solib_ops): New. | |
4782 | (current_target_so_ops): Update comment. | |
4783 | * solib.h (set_solib_ops): New prototype. | |
4784 | ||
5d51a2db MR |
4785 | 2007-05-16 Chris Dearman <chris@mips.com> |
4786 | ||
4787 | * printcmd.c (do_examine): Fix typos in a comment. | |
4788 | ||
07abfebf RS |
4789 | 2007-05-16 Richard Sandiford <richard@codesourcery.com> |
4790 | ||
4791 | * configure.ac: Allow sysroots to be relocated under $prefix as | |
4792 | well as $exec_prefix. | |
4793 | * configure: Regenerate. | |
4794 | ||
f5ce4941 UW |
4795 | 2007-05-14 Ulrich Weigand <uweigand@de.ibm.com> |
4796 | ||
4797 | * hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>. | |
4798 | (offsetof): Do not define. | |
4799 | (find_stub_with_shl_get): Use numerical value 3 instead of | |
4800 | symbolic value TYPE_PROCEDURE. | |
4801 | ||
76e1ee85 DJ |
4802 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
4803 | ||
4804 | * gdb_proc_service.h (paddr_t): Delete typedef. | |
4805 | * proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New. | |
4806 | (ps_xfer_memory): Take a psaddr_t. Use ps_addr_to_core_addr. | |
4807 | (ps_pglobal_lookup): Take a psaddr_t *. Use core_addr_to_ps_addr. | |
4808 | (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t. | |
4809 | * sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t. | |
4810 | * Makefile.in (proc-service.o): Update. | |
4811 | ||
2bd0c3d7 DJ |
4812 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
4813 | ||
4814 | * Makefile.in (mips-tdep.o): Update. | |
4815 | * mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI | |
4816 | unwinder. | |
4817 | ||
14d06750 DJ |
4818 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
4819 | ||
4820 | * dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long | |
4821 | instead of store_typed_address. | |
4822 | * value.c (pack_long): New. | |
4823 | (value_from_longest): Use it. | |
4824 | * value.h (pack_long): New prototype. | |
4825 | ||
f2fec864 DJ |
4826 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
4827 | ||
4828 | * dwarf2-frame.c (read_encoded_value): Correct typo. Use | |
4829 | DW_EH_PE_signed if appropriate. | |
4830 | ||
25e43795 DJ |
4831 | 2007-05-14 Paul Brook <paul@codesourcery.com> |
4832 | Daniel Jacobowitz <dan@codesourcery.com> | |
4833 | ||
4834 | * dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New | |
4835 | function. | |
4836 | (dwarf_decode_lines): Check for line info without a file. | |
4837 | ||
027c0295 DJ |
4838 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
4839 | ||
4840 | * linux-thread-db.c (thread_db_pid_to_str): Print thread IDs | |
4841 | as hexadecimal. | |
4842 | ||
dc5000e7 DJ |
4843 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
4844 | ||
4845 | * jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead of | |
4846 | STRUCTOP_STRUCT. | |
4847 | * jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of | |
4848 | STRUCTOP_STRUCT. | |
4849 | * jv-typeprint.c (java_print_type): Do not crash on NULL varstring. | |
4850 | ||
30244cd8 UW |
4851 | 2007-05-14 Ulrich Weigand <uweigand@de.ibm.com> |
4852 | ||
4853 | * gdbarch.sh (read_sp): Remove. | |
4854 | * gdbarch.c, gdbarch.h: Regenerate. | |
4855 | * frame.c (frame_sp_unwind): Do not call TARGET_READ_SP. | |
4856 | ||
4857 | * avr-tdep.c (avr_read_sp): Remove. | |
4858 | (avr_unwind_sp): New function. | |
4859 | (avr_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
4860 | * mips-tdep.c (mips_read_sp): Remove. | |
4861 | (mips_unwind_sp): New function. | |
4862 | (mips_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
4863 | * score-tdep.c (score_read_unsigned_register): Remove. | |
4864 | (score_read_sp): Remove. | |
4865 | (score_unwind_sp): New function. | |
4866 | (score_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
4867 | ||
84ba0adf DJ |
4868 | 2007-05-14 Maxim Grigoriev <maxim2405@gmail.com> |
4869 | ||
4870 | * buildsym.c (start_subfile): Handle absolute pathnames | |
4871 | while comparing subfile names. | |
4872 | ||
e7b17823 UW |
4873 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
4874 | ||
4875 | * hppa-hpux-tdep.c: Include "regcache.h". | |
4876 | * hppa-linux-tdep.c: Likewise. | |
4877 | * hppa-tdep.c: Include "gdb_stdint.h". | |
4878 | (find_unwind_entry): Cast host pointer to uintptr_t before passing | |
4879 | it to paddr_nz. | |
4880 | * Makefile.in: Update dependencies. | |
4881 | ||
7157eed4 UW |
4882 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
4883 | ||
4884 | * blockframe.c: Remove obsolete comments. | |
4885 | * alpha-nat.c (fetch_osf_core_registers): Update comment. | |
4886 | * arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment. | |
4887 | * hppa-tdep.h (enum hppa_regnum): Likewise. | |
4888 | * mips-tdep.h: Likewise. | |
4889 | * m68hc11-tdep.c: Likewise. | |
4890 | ||
fb4443d8 UW |
4891 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
4892 | ||
4893 | * inferior.h (read_sp): Remove prototype. | |
4894 | * regcache.c (read_sp): Remove. | |
4895 | * gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp. | |
4896 | * infcall.c (call_function_by_hand): Likewise. | |
4897 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead | |
4898 | of calling read_sp. | |
4899 | * rs6000-tdep.c (rs6000_push_dummy_call): Likewise. | |
4900 | ||
7b86a1b8 UW |
4901 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
4902 | ||
4903 | * i386-linux-nat.c (i386_linux_resume): Use regcache functions | |
4904 | instead of read_register and read_register_pid. | |
4905 | ||
4906 | * ia64-linux-nat.c (enable_watchpoints_in_psr): Use REGCACHE | |
4907 | argument instead of PTID. Use regcache functions instead of | |
4908 | read_register_pid. | |
4909 | (ia64_linux_insert_watchpoint): Update call. | |
4910 | (ia64_linux_stopped_data_address): Use regcache functions | |
4911 | instead of read_register_pid and write_register_pid. | |
4912 | ||
45ecac4b UW |
4913 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
4914 | ||
4915 | * libunwind-frame.h (struct regcache): Add forward declaration. | |
4916 | (libunwind_get_reg_special): Add REGCACHE argument. | |
4917 | * libunwind-frame.c (libunwind_get_reg_special): Add REGCACHE | |
4918 | argument. Pass it to unw_init_remote_p. | |
4919 | ||
4920 | * ia64-tdep.c (ia64_pseudo_register_read): Pass regcache to | |
4921 | libunwind_get_reg_special. | |
4922 | (ia64_access_reg): Remove "write" case. | |
4923 | (ia64_access_fpreg): Likewise. Read from next_frame passed | |
4924 | as callback argument instead of from current_regcache. | |
4925 | (ia64_access_rse_reg): Remove "write" case. Read from regcache | |
4926 | passed as callback argument instead of from current_regcache. | |
4927 | (ia64_access_rse_fpreg): New function. | |
4928 | (ia64_unw_rse_acce): Use it instead of ia64_access_fpreg. | |
4929 | ||
0ca420ce UW |
4930 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
4931 | ||
4932 | * NEWS: Mention SPU overlay support. | |
4933 | ||
0a44cb36 UW |
4934 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
4935 | ||
4936 | * spu-tdep.c (spu_frame_unwind_cache): Add comment. | |
4937 | ||
aa67235e UW |
4938 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
4939 | ||
4940 | * breakpoint.c (remove_breakpoint): Do not remove software | |
4941 | breakpoints in unmapped overlay sections. | |
4942 | ||
dcf52cd8 UW |
4943 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
4944 | ||
4945 | * spu-tdep.c: Include "observer.h". | |
4946 | (spu_frame_unwind_cache): Unwind PC through overlay return stubs. | |
4947 | (spu_overlay_data): New variable. | |
4948 | (struct spu_overlay_table): New type. | |
4949 | (spu_get_overlay_table, spu_overlay_update_osect, spu_overlay_update, | |
4950 | spu_overlay_new_objfile): New functions. | |
4951 | (spu_gdbarch_init): Install spu_overlay_update. | |
4952 | (_initialize_spu_tdep): Register spu_overlay_new_objfile, | |
4953 | allocate spu_overlay_data objfile data. | |
4954 | ||
1c772458 UW |
4955 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
4956 | ||
4957 | * gdbarch.sh (overlay_update): New gdbarch function. | |
4958 | (struct obj_section): Add forward declaration. | |
4959 | * gdbarch.c, gdbarch.h: Regenerate. | |
4960 | ||
4961 | * symfile.c (simple_overlay_update): Make global. | |
4962 | (target_overlay_update): Remove variable. | |
4963 | (overlay_is_mapped): Call gdbarch_overlay_update instead of | |
4964 | target_overlay_update. | |
4965 | (overlay_load_command): Likewise. | |
4966 | * symfile.h (struct obj_section): Add forward declaration. | |
4967 | (simple_overlay_update): Add prototype. | |
4968 | ||
4969 | * m32r-tdep.c (m32r_gdbarch_init): Install simple_overlay_update. | |
4970 | ||
06d3b283 UW |
4971 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
4972 | ||
4973 | * observer.sh: Add "struct objfile" forward declaration. | |
4974 | * target.h (deprecated_target_new_objfile_hook): Remove. | |
4975 | * symfile.c (deprecated_target_new_objfile_hook): Remove. | |
4976 | (clear_symtab_users): Call observer_notify_new_objfile. | |
4977 | (symbol_file_add_with_addrs_or_offsets): Likewise. | |
4978 | * rs6000-nat.c: Include "observer.h". | |
4979 | (vmap_ldinfo): Call observer_notify_new_objfile. | |
4980 | (xcoff_relocate_core): Likewise. | |
4981 | * remote.c (remote_new_objfile_chain): Remove. | |
4982 | (remote_new_objfile): Do not call remote_new_objfile_chain. | |
4983 | (_initialize_remote): Use observer_attach_new_objfile. | |
4984 | * tui/tui-hooks.c (tui_target_new_objfile_chain): Remove. | |
4985 | (tui_new_objfile_hook): Do not call tui_target_new_objfile_chain. | |
4986 | (_initialize_tui_hooks): Use observer_attach_new_objfile. | |
4987 | * aix-thread.c: Include "observer.h". | |
4988 | (target_new_objfile_chain): Remove. | |
4989 | (new_objfile): Do not call target_new_objfile_chain. | |
4990 | (_initialize_aix_thread): Use observer_attach_new_objfile. | |
4991 | * hpux-thread.c: Include "observer.h" | |
4992 | (target_new_objfile_chain): Remove. | |
4993 | (hpux_thread_new_objfile): Make static. Do not call | |
4994 | target_new_objfile_chain. | |
4995 | (_initialize_hpux_thread): Use observer_attach_new_objfile. | |
4996 | * linux-thread-db.c: Include "observer.h". | |
4997 | (target_new_objfile_chain): Remove. | |
4998 | (thread_db_new_objfile): Do not call target_new_objfile_chain. | |
4999 | (_initialize_thread_db): Use observer_attach_new_objfile. | |
5000 | * sol-thread.c: Include "observer.h". | |
5001 | (target_new_objfile_chain): Remove. | |
5002 | (sol_thread_new_objfile): Make static. Do not call | |
5003 | target_new_objfile_chain. | |
5004 | (_initialize_sol_thread): Use observer_attach_new_objfile. | |
5005 | * Makefile.in (aix-thread.o, hpux-thread.o, linux-thread-db.o, | |
5006 | rs6000-nat.o, sol-thread.o, tui-hooks.o): Add dependency on | |
5007 | $(observer_h). | |
5008 | ||
93ce7684 UW |
5009 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
5010 | ||
5011 | * gdbarch.sh (remote_translate_xfer_address): Remove. | |
5012 | * gdbarch.h, gdbarch.c: Regenerate. | |
5013 | * arch-utils.c (generic_remote_translate_xfer_address): Remove. | |
5014 | * arch-utils.h (generic_remote_translate_xfer_address): Remove. | |
5015 | * remote.c (remote_write_bytes_aux, remote_read_bytes): Do not | |
5016 | call gdbarch_remote_translate_xfer_address. | |
5017 | * frv-tdep.c (frv_gdbarch_init): Do not call | |
5018 | set_gdbarch_remote_translate_xfer_address. | |
5019 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Remove. | |
5020 | (ia64_gdbarch_init): Do not install it. | |
5021 | ||
a6ec25f2 BW |
5022 | 2007-05-11 Bob Wilson <bob.wilson@acm.org> |
5023 | ||
5024 | * NEWS: Mention change in handling the -tui option. | |
5025 | ||
2ef52e77 DJ |
5026 | 2007-05-11 Daniel Jacobowitz <dan@codesourcery.com> |
5027 | ||
5028 | * linux-thread-db.c (enable_thread_event_reporting): Fix comment | |
5029 | typo. | |
5030 | ||
1aafd4da UW |
5031 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
5032 | ||
5033 | * breakpoint.c (single_step_breakpoint_inserted_here_p): New function. | |
5034 | (breakpoint_inserted_here_p): Call it. | |
5035 | (software_breakpoint_inserted_here_p): Likewise. | |
5036 | ||
7714d83a UW |
5037 | 2007-05-10 Ulrich Weigand <uweigand@de.ibm.com> |
5038 | ||
5039 | * inf-ptrace.c (inf_ptrace_register_u_offset): Adapt parameter list. | |
5040 | (inf_ptrace_fetch_register): Add register_u_offset callback parameters | |
5041 | GDBARCH and STORE_P. Handle callback (CORE_ADDR) -1 return value. | |
5042 | (inf_ptrace_store_register): Likewise. | |
5043 | (inf_ptrace_trad_target): Adapt register_u_offset parameter list. | |
5044 | * inf-ptrace.h (inf_ptrace_trad_target): Likewise. | |
5045 | ||
5046 | * vax-nat.c (vax_register_u_offset): Adapt parameter list. | |
5047 | ||
5048 | * linux-nat.c (linux_trad_target): Adapt parameter list. | |
5049 | * linux-nat.h (linux_trad_target): Likewise. | |
5050 | ||
5051 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Adapt parameters. | |
5052 | ||
5053 | * mips-linux-nat.c (mips_linux_cannot_fetch_register): Remove. | |
5054 | (mips_linux_cannot_store_register): Likewise. | |
5055 | (mips_linux_register_addr): Add GDBARCH and STORE_P parameters. | |
5056 | Return (CORE_ADDR) -1 for registers that cannot be fetched or | |
5057 | stored via ptrace. Use GDBARCH instead of current_gdbarch. | |
5058 | (mips64_linux_register_addr): Likewise. | |
5059 | (mips_linux_register_u_offset): Adapt parameter list. Pass | |
5060 | GDBARCH and STORE_P on to mips{64}_linux_register_addr. | |
5061 | ||
5062 | * config/mips/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
5063 | * config/mips/nm-linux.h: Delete file. | |
5064 | ||
4ddda9b5 PA |
5065 | 2007-05-10 Pedro Alves <pedro_alves@portugalmail.pt> |
5066 | ||
5067 | * remote.c (remote_detach): Error out if remote can't detach. | |
5068 | ||
24d45690 UW |
5069 | 2007-05-10 Luis Machado <luisgpm@br.ibm.com> |
5070 | ||
362f854e PA |
5071 | * rs6000-tdep.c: (deal_with_atomic_sequence) Stores branch |
5072 | instruction's opcode in the "opcode" variable and declares new | |
5073 | variable "closing_insn". | |
24d45690 | 5074 | |
1430be3e MR |
5075 | 2007-05-10 Chris Dearman <chris@mips.com> |
5076 | Maciej W. Rozycki <macro@mips.com> | |
5077 | ||
5078 | * cli/cli-setshow.c (do_setshow_command): Remove trailing | |
5079 | whitespace when setting a var_filename. | |
5080 | ||
b0da54f1 BW |
5081 | 2007-05-09 Bob Wilson <bob.wilson@acm.org> |
5082 | ||
5083 | * main.c (captured_main): Recognize -tui option and print an error | |
5084 | message when the TUI is not configured. | |
5085 | ||
9a88e5ee AS |
5086 | 2007-05-09 Andreas Schwab <schwab@suse.de> |
5087 | ||
5088 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't | |
5089 | set removed members. | |
5090 | (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. | |
5091 | ||
fc0d8df4 UW |
5092 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
5093 | ||
5094 | * gdbarch.sh (deprecated_store_struct_return): Remove. | |
5095 | * gdbarch.c, gdbarch.h: Regenerate. | |
5096 | * frv-tdep.c (frv_store_struct_return): Remove. | |
5097 | (frv_gdbarch_init): Do not install it. | |
5098 | ||
179101d6 UW |
5099 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
5100 | ||
5101 | * config/i386/nm-i386sol2.h (USE_PROC_FS): Do not define. | |
5102 | * config/mips/nm-irix5.h (USE_PROC_FS): Do not define. | |
5103 | * config/nm-linux.h (USE_PROC_FS): Do not undefine. | |
5104 | ||
b9efddcd UW |
5105 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
5106 | ||
5107 | * spu-linux-nat.c: Include "gdb_stdint.h". | |
5108 | (fetch_ppc_register): Use uint64_t instead of unsigned long long. | |
5109 | (fetch_ppc_memory_1, store_ppc_memory_1): Likewise. | |
5110 | (fetch_ppc_memory, store_ppc_memory): Fix coding style. | |
5111 | (spu_symbol_file_add_from_memory): Use strtoulst instead of sscanf. | |
5112 | (spu_child_wait): Mark up string for translation. | |
5113 | ||
ce5eab59 UW |
5114 | 2007-05-08 Paul Gilliam <pgilliam@us.ibm.com> |
5115 | Luis Machado <luisgpm@br.ibm.com> | |
5116 | ||
5117 | * rs6000-tdep.c: (LWARX_MASK, LWARX_INSTRUCTION, LDARX_INSTRUCTION, | |
5118 | STWCX_MASK, STWCX_INSTRUCTION, STDCX_INSTRUCTION, BC_MASK, | |
5119 | BC_INSTRUCTION): Define. | |
5120 | (deal_with_atomic_sequence): New function. | |
5121 | (rs6000_software_single_step): Call deal_with_atomic_sequence. | |
5122 | (rs6000_gdbarch_init): Install deal_with_atomic_sequence as | |
5123 | gdbarch_software_single_step routine. | |
5124 | ||
4179a487 UW |
5125 | 2007-05-07 Ulrich Weigand <uweigand@de.ibm.com> |
5126 | ||
5127 | * spu-linux-nat.c (fetch_ppc_register, fetch_ppc_memory_1, | |
5128 | store_ppc_memory_1, fetch_ppc_memory, store_ppc_memory, | |
5129 | parse_spufs_run, spu_bfd_iovec_pread, spu_bfd_open, | |
5130 | spu_symbol_file_add_from_memory, spu_child_post_startup_inferior, | |
5131 | spu_child_post_attach, spu_fetch_inferior_registers, | |
5132 | spu_store_inferior_registers, spu_xfer_partial): Store PPE-side | |
5133 | memory addresses as ULONGEST, not CORE_ADDR. | |
5134 | ||
6d350bb5 UW |
5135 | 2007-05-07 Ulrich Weigand <uweigand@de.ibm.com> |
5136 | ||
5137 | * gdbarch.sh: Add skip_permanent_breakpoint callback. | |
5138 | * gdbarch.h, gdbarch.c: Regenerate. | |
5139 | ||
5140 | * infrun.c (SKIP_PERMANENT_BREAKPOINT): Remove default definition. | |
5141 | (resume): Call gdbarch_skip_permanent_breakpoint instead of | |
5142 | SKIP_PERMANENT_BREAKPOINT. Inline default case. | |
5143 | ||
5144 | * hppa-hpux-tdep.c (hppa_skip_permanent_breakpoint): Make static. | |
5145 | Add REGCACHE argument. Use it instead of read/write_register. | |
5146 | (hppa_hpux_init_abi): Install hppa_skip_permanent_breakpoint. | |
5147 | ||
5148 | * config/pa/tm-hppah.h: Delete file. | |
5149 | * config/pa/hppa64.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h. | |
5150 | * config/pa/hppahpux.mt (DEPRECATED_TM_FILE): Likewise. | |
5151 | ||
b18be20d DJ |
5152 | 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com> |
5153 | ||
5154 | * Makefile.in (c-lang.o, gnu-v3-abi.o): Update. | |
5155 | * NEWS: Mention improved C++ thunk support. | |
5156 | * c-lang.c (cplus_language_defn): Mention cplus_skip_trampoline. | |
5157 | * cp-abi.c (cplus_skip_trampoline): New. | |
5158 | * cp-abi.h (cplus_skip_trampoline): New prototype. | |
5159 | (struct cp_abi_ops): Add skip_trampoline member. | |
5160 | * gnu-v3-abi.c (gnuv3_skip_trampoline): New. | |
5161 | (init_gnuv3_ops): Set skip_trampoline. | |
5162 | ||
dda9b909 DJ |
5163 | 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com> |
5164 | ||
5165 | * rs6000-tdep.c (struct frame_extra_info): Delete. | |
5166 | ||
34091d9b DJ |
5167 | 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com> |
5168 | ||
5169 | * linux-thread-db.c: Update some FIXME comments. | |
5170 | (thread_db_xfer_partial): Delete. | |
5171 | (init_thread_db_ops): Do not set to_xfer_partial. | |
5172 | ||
1da33a4a UW |
5173 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5174 | ||
5175 | * inftarg.c, infptrace.c: Remove files. | |
5176 | * Makefile.in (ALLDEPFILES): Remove inftarg.c and infptrace.c | |
5177 | (inftarg.o, infptrace.o): Remove rules. | |
5178 | * gdbcore.h (register_addr): Remove prototype. | |
5179 | * inferior.h (kill_inferior, store_inferior_registers, | |
5180 | fetch_inferior_registers, attach, detach, ptrace_wait, child_resume, | |
5181 | call_ptrace, pre_fork_inferior): Remove prototypes. | |
5182 | * target.h (child_xfer_memory, child_pid_to_exec_file, | |
5183 | child_core_file_to_sym_file, child_post_attach, | |
5184 | child_post_startup_inferior, child_acknowledge_created_inferior, | |
5185 | child_insert_fork_catchpoint, child_remove_fork_catchpoint, | |
5186 | child_insert_vfork_catchpoint, child_remove_vfork_catchpoint, | |
5187 | child_insert_exec_catchpoint, child_remove_exec_catchpoint, | |
5188 | child_follow_fork, child_reported_exec_events_per_exec_call, | |
5189 | child_has_exited, child_thread_alive): Remove prototypes. | |
5190 | ||
6f7a27d5 UW |
5191 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5192 | ||
5193 | * sparc-nat.h (sparc_fetch_inferior_registers): Add prototype. | |
5194 | (sparc_store_inferior_registers): Likewise. | |
5195 | * sparc-nat.c (fetch_inferior_registers): Rename to ... | |
5196 | (sparc_fetch_inferior_registers): ... this. | |
5197 | (store_inferior_registers): Rename to ... | |
5198 | (sparc_store_inferior_registers): ... this. | |
5199 | (sparc_target): Update callback names. | |
5200 | * sparc-linux.nat.c (_initialize_sparc_linux_nat): Likewise. | |
5201 | * sparc64-linux.nat.c (_initialize_sparc64_linux_nat): Likewise. | |
5202 | ||
6d8fd2b7 UW |
5203 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5204 | ||
5205 | * linux-nat.c (child_post_attach): Rename to ... | |
5206 | (linux_child_post_attach): ... this. Make static. | |
5207 | (child_follow_fork): Rename to ... | |
5208 | (linux_child_follow_fork): ... this. Make static. | |
5209 | (child_insert_fork_catchpoint): Rename to ... | |
5210 | (linux_child_insert_fork_catchpoint): ... this. Make static. | |
5211 | (child_insert_vfork_catchpoint): Rename to ... | |
5212 | (linux_child_insert_vfork_catchpoint): ... this. Make static. | |
5213 | (child_insert_exec_catchpoint): Rename to ... | |
5214 | (linux_child_insert_exec_catchpoint): ... this. Make static. | |
5215 | (child_pid_to_exec_file): Rename to ... | |
5216 | (linux_child_pid_to_exec_file): ... this. Make static. | |
5217 | Add prototype. | |
5218 | (linux_handle_extended_wait): Update call. | |
5219 | (linux_xfer_partial): Update callback routine names. | |
5220 | ||
d08950c4 UW |
5221 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5222 | ||
5223 | * configure.host (alpha*-*-osf[12]*): Remove support. | |
5224 | * NEWS: Mention removed configurations. | |
5225 | ||
5226 | * config/alpha/alpha-osf1.mh: Delete file. | |
5227 | * config/alpha/alpha-osf2.mh: Delete file. | |
5228 | * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove inftarg.o | |
5229 | and infptrace.o. | |
5230 | * config/alpha/nm-osf.h: Delete file. | |
5231 | * config/alpha/nm-osf2.h: Delete file. | |
5232 | * config/alpha/nm-osf3.h: Do not include "nm-osf2.h". | |
5233 | (START_INFERIOR_TRAPS_EXPECTED): Copy from nm-osf.h. | |
5234 | (PROCFS_DONT_TRACE_FAULTS): Copy from nm-osf2.h. | |
5235 | ||
5236 | * alpha-nat.c (ALPHA_UNIQUE_PTRACE_ADDR): Do not define. | |
5237 | (register_addr, kernel_u_size): Remove. | |
5238 | Do not check for "defined(USE_PROC_FS) || defined(HAVE_GREGSET_T)". | |
5239 | ||
9c5ea4d9 UW |
5240 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5241 | ||
5242 | * regcache.c (regcache_invalidate): New function. | |
5243 | (register_cached): Remove. | |
5244 | (set_register_cached): Remove. | |
5245 | (deprecated_registers_fetched): Remove. | |
5246 | (registers_changed): Use regcache_invalidate instead | |
5247 | of set_register_cached. | |
5248 | (regcache_raw_read): Update comment. | |
5249 | ||
5250 | * regcache.h (regcache_invalidate): Add prototype. | |
5251 | (register_cached): Remove. | |
5252 | (set_register_cached): Remove. | |
5253 | (deprecated_registers_fetched): Remove. | |
5254 | ||
5255 | * findvar.c (value_of_register): Do not call register_cached. | |
5256 | * frame.c (frame_register): Likewise. | |
5257 | * tui/tui-regs.c (tui_get_register): Likewise. | |
5258 | ||
5259 | * remote.c (fetch_register_using_p): Do not call set_register_cached. | |
5260 | (process_g_packet): Likewise. | |
5261 | (remote_fetch_registers): Likewise. | |
5262 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
5263 | * mt-tdep.c (mt_select_coprocessor): Replace set_register_cached call | |
5264 | by regcache_invalidate. | |
5265 | (mt_pseudo_register_write): Likewise. | |
5266 | * sh-tdep.c (sh_pseudo_register_write): Likewise. | |
5267 | ||
5268 | * corelow.c (get_core_registers): Replace deprecated_registers_fetched | |
5269 | call by loop over regcache_raw_supply (..., NULL). | |
5270 | ||
316f2060 UW |
5271 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5272 | ||
5273 | * target.h (struct target_ops): Add REGCACHE parameter to | |
5274 | to_prepare_to_store. | |
5275 | (target_prepare_to_store): Likewise. | |
5276 | * target.c (debug_to_prepare_to_store): Add REGCACHE parameter. | |
5277 | (update_current_target): Adapt prepare_to_store de_fault rule. | |
5278 | ||
5279 | * regcache.c (regcache_raw_write): Pass regcache to | |
5280 | target_prepare_to_store. | |
5281 | ||
5282 | * inftarg.c (child_prepare_to_store): Add REGCACHE parameter. | |
5283 | Do not call CHILD_PREPARE_TO_STORE. | |
5284 | * gnu-nat.c (gnu_prepare_to_store): Likewise. | |
5285 | * procfs.c (procfs_prepare_to_store): Likewise. | |
5286 | ||
5287 | * inf-child.c (inf_child_prepare_to_store): Add REGCACHE parameter. | |
5288 | * go32-nat.c (go32_prepare_to_store): Likewise. | |
5289 | * monitor.c (monitor_prepare_to_store): Likewise. | |
5290 | * nto-procfs.c (procfs_prepare_to_store): Likewise. | |
5291 | * remote-m32r-sdi.c (m32r_prepare_to_store): Likewise. | |
5292 | * remote-mips.c (mips_prepare_to_store): Likewise. | |
5293 | * remote-sim.c (gdbsim_prepare_to_store): Likewise. | |
5294 | * win32-nat.c (win32_prepare_to_store): Likewise. | |
5295 | ||
5296 | * remote.c (remote_prepare_to_store): Add REGCACHE parameter. | |
5297 | Use it instead of current_regcache. | |
5298 | ||
5299 | * hpux-thread.c (hpux_thread_prepare_to_store): Add REGCACHE | |
5300 | parameter. Pass it on to next target. | |
5301 | * sol-thread.c (sol_thread_prepare_to_store): Likewise. | |
5302 | ||
56be3814 UW |
5303 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5304 | ||
5305 | * target.h (struct regcache): Add forward declaration. | |
5306 | (struct target_ops): Add REGCACHE parameter to to_fetch_registers | |
5307 | and to_store_registers target operations. | |
5308 | (target_fetch_registers, target_store_registers): Update. | |
5309 | ||
5310 | * regcache.c (regcache_raw_read): Replace register_cached by | |
5311 | regcache_valid_p. Pass regcache to target_fetch_registers. | |
5312 | (regcache_raw_write): Pass regcache to target_store_registers. | |
5313 | ||
5314 | * arm-linux-nat.c (store_fpregister, store_fpregs, store_register, | |
5315 | store_regs, store_wmmx_regs): Replace register_cached by | |
5316 | regcache_valid_p. | |
5317 | ||
5318 | * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd): Pass current_regcache | |
5319 | to target_fetch_registers calls. | |
5320 | * corelow.c (core_open): Likewise. | |
5321 | * linux-nat.c (linux_nat_corefile_thread_callback): Likewise. | |
5322 | * proc-service.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs, | |
5323 | ps_lsetfpregs): Likewise. | |
5324 | * sol-thread.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs, | |
5325 | ps_lsetfpregs): Likewise. | |
5326 | * win32-nat.c (win32_resume): Likewise. | |
5327 | * ia64-tdep.c (ia64_store_return_value): Pass current_regcache | |
5328 | to target_store_registers call. | |
5329 | * rs6000-tdep.c (rs6000_push_dummy_call): Likewise. | |
5330 | ||
5331 | * inferior.h (store_inferior_registers): Update prototype. | |
5332 | (fetch_inferior_registers): Likewise. | |
5333 | * gnu-nat.c (gnu_store_registers, gnu_fetch_registers): Likewise. | |
5334 | * mips-linux-nat.c (super_fetch_registers, super_store_registers): | |
5335 | Update function pointer signatures. | |
5336 | ||
5337 | * aix-thread.c (aix_thread_fetch_registers): Add REGCACHE parameter, | |
5338 | use it instead of current_regcache, update calls. | |
5339 | (aix_thread_store_registers): Likewise. | |
5340 | * alphabsd-nat.c (alphabsd_fetch_inferior_registers): Likewise. | |
5341 | (alphabsd_store_inferior_registers): Likewise. | |
5342 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Likewise. | |
5343 | (amd64bsd_store_inferior_registers): Likewise. | |
5344 | * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Likewise. | |
5345 | (amd64_linux_store_inferior_registers): Likewise. | |
5346 | * arm-linux-nat.c (fetch_fpregister, fetch_fpregs, store_fpregister, | |
5347 | store_fpregs, fetch_register, fetch_regs, store_register, store_regs, | |
5348 | fetch_wmmx_regs, store_wmmx_regs): Likewise. | |
5349 | (arm_linux_fetch_inferior_registers): Likewise. | |
5350 | (arm_linux_store_inferior_registers): Likewise. | |
5351 | * armnbsd-nat.c (fetch_register, fetch_regs, fetch_fp_register, | |
5352 | fetch_fp_regs, armnbsd_fetch_registers): Likewise. | |
5353 | (store_register, store_regs, store_fp_register, store_fp_regs, | |
5354 | armnbsd_store_registers): Likewise. | |
5355 | * bsd-kvm.c (bsd_kvm_fetch_pcb, bsd_kvm_fetch_registers): Likewise. | |
5356 | * bsd-uthread.c (bsd_uthread_fetch_registers): Likewise. | |
5357 | (bsd_uthread_store_registers): Likewise. | |
5358 | * corelow.c (get_core_registers): Likewise. | |
5359 | * go32-nat.c (fetch_register, go32_fetch_registers, store_register, | |
5360 | go32_store_registers): Likewise. | |
5361 | * hppabsd-nat.c (hppabsd_fetch_registers): Likewise. | |
5362 | (hppabsd_store_registers): Likewise. | |
5363 | * hppa-hpux-nat.c (hppa_hpux_fetch_register): Likewise. | |
5364 | (hppa_hpux_fetch_inferior_registers): Likewise. | |
5365 | (hppa_hpux_store_register): Likewise. | |
5366 | (hppa_hpux_store_inferior_registers): Likewise. | |
5367 | * hppa-linux-nat.c (fetch_register, store_register): Likewise. | |
5368 | (hppa_linux_fetch_inferior_registers): Likewise. | |
5369 | (hppa_linux_store_inferior_registers): Likewise. | |
5370 | * hpux-thread.c (hpux_thread_fetch_registers): Likewise. | |
5371 | (hpux_thread_store_registers): Likewise. | |
5372 | * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Likewise. | |
5373 | (i386bsd_store_inferior_registers): Likewise. | |
5374 | * i386gnu-nat.c (fetch_fpregs, gnu_fetch_registers, store_fpregs, | |
5375 | gnu_store_registers): Likewise. | |
5376 | * i386-linux-nat.c (fetch_register, store_register, fetch_regs, | |
5377 | store_regs, fetch_fpregs, store_fpregs, fetch_fpxregs, store_fpxregs): | |
5378 | Likewise. | |
5379 | (i386_linux_fetch_inferior_registers): Likewise. | |
5380 | (i386_linux_store_inferior_registers): Likewise. | |
5381 | * ia64-linux-nat.c (ia64_linux_fetch_register): Likewise. | |
5382 | (ia64_linux_fetch_registers): Likewise. | |
5383 | (ia64_linux_store_register): Likewise. | |
5384 | (ia64_linux_store_registers): Likewise. | |
5385 | * inf-child.c (inf_child_fetch_inferior_registers): Likewise. | |
5386 | (inf_child_store_inferior_registers): Likewise. | |
5387 | * inf-ptrace.c (inf_ptrace_fetch_register): Likewise. | |
5388 | (inf_ptrace_fetch_registers): Likewise. | |
5389 | (inf_ptrace_store_register): Likewise. | |
5390 | (inf_ptrace_store_registers): Likewise. | |
5391 | * infptrace.c (fetch_register, store_register): Likewise. | |
5392 | (fetch_inferior_registers, store_inferior_registers): Likewise. | |
5393 | * m32r-linux-nat.c (fetch_regs, store_regs): Likewise. | |
5394 | (m32r_linux_fetch_inferior_registers): Likewise. | |
5395 | (m32r_linux_store_inferior_registers): Likewise. | |
5396 | * m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Likewise. | |
5397 | (m68kbsd_store_inferior_registers): Likewise. | |
5398 | * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers, | |
5399 | store_register, old_store_inferior_registers, fetch_regs, store_regs, | |
5400 | fetch_fpregs, store_fpregs): Likewise. | |
5401 | (m68k_linux_fetch_inferior_registers): Likewise. | |
5402 | (m68k_linux_store_inferior_registers): Likewise. | |
5403 | * m88kbsd-nat.c (m88kbsd_fetch_inferior_registers): Likewise. | |
5404 | (m88kbsd_store_inferior_registers): Likewise. | |
5405 | * mips64obsd-nat.c (mips64obsd_fetch_inferior_registers): Likewise. | |
5406 | (mips64obsd_store_inferior_registers): Likewise. | |
5407 | * mips-linux-nat.c (mips64_linux_regsets_fetch_registers): Likewise. | |
5408 | (mips64_linux_regsets_store_registers): Likewise. | |
5409 | (mips64_linux_fetch_registers): Likewise. | |
5410 | (mips64_linux_store_registers): Likewise. | |
5411 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers): Likewise. | |
5412 | (mipsnbsd_store_inferior_registers): Likewise. | |
5413 | * monitor.c (monitor_fetch_register, monitor_store_register): Likewise. | |
5414 | (monitor_fetch_registers, monitor_store_registers): Likewise. | |
5415 | * nto-procfs.c (procfs_fetch_registers): Likewise. | |
5416 | (procfs_store_registers): Likewise. | |
5417 | * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register, | |
5418 | fetch_register, supply_vrregset, fetch_altivec_registers, | |
5419 | fetch_ppc_registers, ppc_linux_fetch_inferior_registers): Likewise. | |
5420 | (store_altivec_register, store_spe_register, store_register, | |
5421 | fill_vrregset, store_altivec_registers, store_ppc_registers, | |
5422 | ppc_linux_store_inferior_registers): Likewise. | |
5423 | * ppcnbsd-nat.c (ppcnbsd_fetch_inferior_registers): Likewise. | |
5424 | (ppcnbsd_store_inferior_registers): Likewise. | |
5425 | * ppcobsd-nat.c (ppcobsd_fetch_registers): Likewise. | |
5426 | (ppcobsd_store_registers): Likewise. | |
5427 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
5428 | * remote.c (fetch_register_using_p, process_g_packet, | |
5429 | fetch_registers_using_g, remote_fetch_registers): Likewise. | |
5430 | (store_register_using_P, store_registers_using_G, | |
5431 | remote_store_registers): Likewise. | |
5432 | * remote-m32r-sdi.c (m32r_fetch_registers, m32r_fetch_register, | |
5433 | m32r_store_register, m32r_store_register): Likewise. | |
5434 | * remote-mips.c (mips_fetch_registers, mips_store_registers): Likewise. | |
5435 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
5436 | (gdbsim_store_register): Likewise. | |
5437 | * rs6000-nat.c (fetch_register, store_register): Likewise. | |
5438 | (rs6000_fetch_inferior_registers): Likewise. | |
5439 | (rs6000_store_inferior_registers): Likewise. | |
5440 | * s390-nat.c (fetch_regs, store_regs): Likewise. | |
5441 | (fetch_fpregs, store_fpregs): Likewise. | |
5442 | (s390_linux_fetch_inferior_registers): Likewise. | |
5443 | (s390_linux_store_inferior_registers): Likewise. | |
5444 | * shnbsd-nat.c (shnbsd_fetch_inferior_registers): Likewise. | |
5445 | (shnbsd_store_inferior_registers): Likewise. | |
5446 | * sol-thread.c (sol_thread_fetch_registers): Likewise. | |
5447 | (sol_thread_store_registers): Likewise. | |
5448 | * sparc-nat.c (fetch_inferior_registers): Likewise. | |
5449 | (store_inferior_registers): Likewise. | |
5450 | * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise. | |
5451 | (spu_store_inferior_registers): Likewise. | |
5452 | * target.c (debug_print_register): Likewise. | |
5453 | (debug_to_fetch_registers, debug_to_store_registers): Likewise. | |
5454 | * vaxbsd-nat.c (vaxbsd_fetch_inferior_registers): Likewise. | |
5455 | (vaxbsd_store_inferior_registers): Likewise. | |
5456 | * win32-nat.c (do_win32_fetch_inferior_registers): Likewise. | |
5457 | (win32_fetch_inferior_registers): Likewise. | |
5458 | (win32_store_inferior_registers): Likewise. | |
5459 | ||
9eefc95f UW |
5460 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5461 | ||
5462 | * gdbcore.h (struct regcache): Add forward declaration. | |
5463 | (struct core_fns): Add REGCACHE argument to core_read_registers | |
5464 | callback. | |
5465 | * corelow.c (get_core_register_section): Add REGCACHE argument, | |
5466 | use it instead of current_regcache, pass it to core_read_registers | |
5467 | callback. | |
5468 | (get_core_registers): Add current_regcache as parameter to | |
5469 | get_core_register_section calls. | |
5470 | ||
5471 | * alpha-nat.c (fetch_osf_core_registers): Add REGCACHE argument, | |
5472 | use it instead of current_regcache. | |
5473 | * armnbsd-nat.c (fetch_core_registers): Likewise. | |
5474 | (fetch_elfcore_registers): Likewise. | |
5475 | * core-regset.c (fetch_core_registers): Likewise. | |
5476 | * cris-tdep.c (fetch_core_registers): Likewise. | |
5477 | * irix5-nat.c (fetch_core_registers): Likewise. | |
5478 | * m68klinux-nat.c (fetch_core_registers): Likewise. | |
5479 | * mips-linux-tdep.c (fetch_core_registers): Likewise. | |
5480 | * win32-nat.c (fetch_elf_core_registers): Likewise. | |
5481 | ||
7f7fe91e UW |
5482 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5483 | ||
5484 | * gregset.h (struct regcache): Add forward declaration. | |
5485 | (supply_gregset): Add REGCACHE parameter, make GREGS const. | |
5486 | (supply_fpregset): Add REGCACHE parameter, make FPREGS const. | |
5487 | (supply_fpxregset): Add REGCACHE parameter, make FPXREGS const. | |
5488 | (fill_gregset): Add REGCACHE parameter. | |
5489 | (fill_fpregset): Likewise. | |
5490 | (fill_fpxregset): Likewise. | |
5491 | ||
5492 | Update all definitions accordingly: | |
5493 | * alphabsd-nat.c, alpha-linux-nat.c, alpha-nat.c, amd64-linux-nat.c, | |
5494 | arm-linux-nat.c, hppa-linux-nat.c, i386gnu-nat.c, i386-linux-nat.c, | |
5495 | i386-sol2-nat.c, i386v4-nat.c, ia64-linux-nat.c, irix5-nat.c, | |
5496 | m32r-linux-nat.c, m68klinux-nat.c, mips-linux-nat.c, ppc-linux-nat.c, | |
5497 | s390-nat.c, sparc64-linux-nat.c, sparc-linux-nat.c, sparc-sol2-nat.c | |
5498 | (supply_gregset): Add REGCACHE parameter, use it instead of | |
5499 | current_regcache. Make GREGSETP parameter const, adapt casts. | |
5500 | (supply_fpregset): Add REGCACHE parameter, use it instead of | |
5501 | current_regcache. Make FPREGSETP parameter const, adapt casts. | |
5502 | (fill_gregset): Add REGCACHE parameter, use it instead of | |
5503 | current_regcache. | |
5504 | (fill_fpregset): Likewise. | |
5505 | ||
5506 | Update all callers to pass in current_regcache as the new argument: | |
5507 | * core-regset.c: Include "regcache.h". | |
5508 | (fetch_core_registers): Update supply_gregset,and supply_fpregset calls. | |
5509 | * procfs.c: Include "regcache.h". | |
5510 | (procfs_fetch_registers): Update supply_gregset, supply_fpregset calls. | |
5511 | (procfs_store_registers): Update fill_gregset, fill_fpregset calls. | |
5512 | (procfs_do_thread_registers): Likewise. | |
5513 | (procfs_make_note_section): Likewise. | |
5514 | * proc-service.c: Include "regcache.h". | |
5515 | (ps_lgetregs): Update fill_gregset call. | |
5516 | (ps_lsetregs): Update supply_gregset call. | |
5517 | (ps_lgetfpregs): Update fill_fpregset call. | |
5518 | (ps_lsetfpregs): Update supply_fpregset call. | |
5519 | * sol-thread.c (sol_thread_fetch_registers): Update supply_gregset, | |
5520 | supply_fpregset calls. | |
5521 | (sol_thread_store_registers): Update fill_gregset, fill_fpregset calls. | |
5522 | (ps_lgetregs): Update fill_gregset call. | |
5523 | (ps_lsetregs): Update supply_gregset call. | |
5524 | (ps_lgetfpregs): Update fill_fpregset call. | |
5525 | (ps_lsetfpregs): Update supply_fpregset call. | |
5526 | ||
5527 | * linux-nat.c (linux_nat_do_thread_registers): Update fill_gregset, | |
5528 | fill_fpregset, and fill_fpxregset calls. | |
5529 | * i386-linux-nat.c (fetch_regs): Update supply_gregset call. | |
5530 | (store_regs): Update fill_gregset call. | |
5531 | (fetch_fpregs): Update supply_fpregset call. | |
5532 | (store_fpregs): Update fill_fpregset call. | |
5533 | (fetch_fpxregs): Update supply_fpxregset call. | |
5534 | (store_fpxregs): Update fill_fpxregset call. | |
5535 | * m32r-linux-nat.c (fetch_regs): Update supply_gregset call. | |
5536 | (store_regs): Update fill_gregset call. | |
5537 | * m68klinux-nat.c (fetch_regs): Update supply_gregset call. | |
5538 | (store_regs): Update fill_gregset call. | |
5539 | (fetch_fpregs): Update supply_fpregset call. | |
5540 | (store_fpregs): Update fill_fpregset call. | |
5541 | (fetch_core_registers): Update supply_gregset, supply_fpregset calls. | |
5542 | * s390-nat.c (fetch_regs): Update supply_gregset call. | |
5543 | (store_regs): Update fill_gregset call. | |
5544 | (fetch_fpregs): Update supply_fpregset call. | |
5545 | (store_fpregs): Update fill_fpregset call. | |
5546 | ||
5547 | * Makefile.in (core-regset.o, procfs.o, proc-service.o): Update | |
5548 | dependencies. | |
5549 | ||
c410a84c UW |
5550 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5551 | ||
5552 | * monitor.c (monitor_supply_register): Add REGCACHE parameter, use | |
5553 | it instead of current_regcache. | |
5554 | (parse_register_dump): Add REGCACHE parameter, pass it to | |
5555 | supply_register callback. | |
5556 | (monitor_dump_reg_block): Add REGCACHE parameter, pass it to | |
5557 | parse_register_dump. | |
5558 | (monitor_dump_regs): Add REGCACHE parameter, pass it to | |
5559 | parse_register_dump and dumpregs callback. | |
5560 | (monitor_wait): Pass current_regcache to parse_register_dump and | |
5561 | monitor_dump_regs. | |
5562 | (monitor_fetch_register): Pass current_regcache to | |
5563 | monitor_supply_register. | |
5564 | (monitor_fetch_registers): Pass current_regcache to | |
5565 | monitor_dump_regs. | |
5566 | * monitor.h (struct monitor_ops): Add REGCACHE parameter to | |
5567 | supply_register and dumpregs callbacks. | |
5568 | (monitor_supply_register, monitor_dump_reg_block): Update | |
5569 | prototypes. | |
5570 | * dbug-rom.c (dbug_supply_register): Add REGCACHE parameter. Pass | |
5571 | it to monitor_supply_register. | |
5572 | * dink32-rom.c (dink32_supply_register): Likewise. | |
5573 | * ppcbug-rom.c (ppcbug_supply_register): Likewise. | |
5574 | * m32r-rom.c (m32r_supply_register): Likewise. Also, use REGCACHE | |
5575 | instead of current_regcache. | |
5576 | ||
468e3d51 UW |
5577 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5578 | ||
5579 | * i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset): | |
5580 | Add REGCACHE parameter. Use it instead of current_regcache. | |
5581 | (i386nto_supply_regset): Add REGCACHE parameter, pass it to | |
5582 | i386nto_supply_gregset and i386nto_supply_fpregset. | |
5583 | (i386nto_regset_fill): Add REGCACHE parameter; use it instead | |
5584 | of current_regcache. | |
5585 | ||
5586 | * nto-procfs.c (procfs_fetch_registers): Pass current_regcache to | |
5587 | nto_supply_ helper functions. | |
5588 | (procfs_store_registers): Pass current_regcache to nto_regset_fill. | |
5589 | ||
5590 | * nto-tdep.c (nto_dummy_supply_regset): Add REGCACHE parameter. | |
5591 | ||
5592 | * nto-tdep.h (struct nto_target_ops): Add REGCACHE parameter to | |
5593 | supply_greget, supply_fpregset, supply_altregset, supply_regset, | |
5594 | and regset_fill member function pointers. | |
5595 | (nto_dummy_supply_regset): Adapt prototype. | |
5596 | ||
4e3269e3 UW |
5597 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5598 | ||
5599 | * shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it | |
5600 | instead of current_regcache. Make REGS const. | |
5601 | (shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache. | |
5602 | * shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update | |
5603 | prototypes. | |
5604 | * shnbsd-nat.c: Include "regcache.h". | |
5605 | (shnbsd_fetch_inferior_registers): Pass current_regcache to | |
5606 | shnbsd_supply_reg. | |
5607 | (shnbsd_store_inferior_registers): Pass current_regcache to | |
5608 | shnbsd_fill_reg. | |
5609 | * Makefile.in (shbsd-nat.o): Update dependencies. | |
5610 | ||
28f5035f UW |
5611 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5612 | ||
5613 | * mips-linux-tdep.c (supply_32bit_reg): Add REGCACHE parameter. Use it | |
5614 | instead of current_regcache. | |
5615 | (mips_supply_gregset): Likewise. Pass REGCACHE to supply_32bit_reg. | |
5616 | Make GREGSETP const, remove superfluous casts. | |
5617 | (mips_fill_gregset): Add REGCACHE parameter; replace current_regcache. | |
5618 | (mips_supply_fpregset): Likewise. Make FPREGSETP const, remove | |
5619 | superfluous casts. | |
5620 | (mips_fill_fpregset): Add REGCACHE parameter; replace current_regcache. | |
5621 | (supply_64bit_reg): Likewise | |
5622 | (mips64_supply_gregset): Likewise. Pass REGCACHE to supply_64bit_reg. | |
5623 | Make GREGSETP const, adapt casts accordingly. | |
5624 | (mips64_fill_gregset): Add REGCACHE parameter; replace current_regcache. | |
5625 | (mips64_supply_fpregset): Likewise. Make FPREGSET const, adapt | |
5626 | casts accordingly. | |
5627 | (mips64_fill_fpregset): Add REGCACHE parameter; replace current_regcache. | |
5628 | (fetch_core_registers): Pass current_regcache to mips{64}_(supply|fill)_ | |
5629 | helper routines. | |
5630 | * mips-linux-tdep.h (mips_supply_gregset, mips_fill_gregset, | |
5631 | mips_supply_fpregset, mips_fill_fpregset, mips64_supply_gregset, | |
5632 | mips64_fill_gregset, mips64_supply_fpregset, mips64_fill_fpregset): | |
5633 | Adapt prototypes. | |
5634 | * mips-linux-nat.c: Include "regcache.h". | |
5635 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass | |
5636 | current_regcache to mips{64}_(supply|fill)_ helper routines. | |
5637 | (mips64_linux_regsets_fetch_registers): Likewise. | |
5638 | (mips64_linux_regsets_store_registers): Likewise. | |
5639 | ||
5640 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): Add | |
5641 | REGCACHE argument; replace current_regcache. Make REGS const. | |
5642 | (mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Add REGCACHE argument; | |
5643 | replace current_regcache. | |
5644 | * mipsnbsd-tdep.h (ipsnbsd_supply_reg, mipsnbsd_supply_fpreg, | |
5645 | mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Adapt prototypes. | |
5646 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers, | |
5647 | mipsnbsd_store_inferior_registers): Pass current_regcache to | |
5648 | mipsnbsd_(supply|fill)_... helper routines. | |
5649 | ||
5650 | * Makefile.in (mips-linux-nat.o): Update dependencies. | |
5651 | ||
26144df5 UW |
5652 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5653 | ||
5654 | * i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove. | |
5655 | * i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes. | |
5656 | * i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace | |
5657 | i387_fill_fsave and i387_fill_fxsave calls by inline copies. | |
5658 | * i386-nto-tdep.c (i386nto_regset_fill): Likewise. | |
5659 | * i386gnu-nat.c (store_fpregs): Likewise. | |
5660 | * i386v4-nat.c (fill_fpregset): Likewise. | |
5661 | * go32-nat.c (store_register, go32_store_registers): Likewise. | |
5662 | ||
c6b4e5a2 UW |
5663 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5664 | ||
5665 | * cris-tdep.c (supply_gregset): Rename to ... | |
5666 | (cris_supply_gregset): ... this. Add REGCACHE parameter. Use it | |
5667 | instead of current_regcache. | |
5668 | (fetch_core_registers): Update call. Pass current_regcache. | |
5669 | ||
d683e2b7 UW |
5670 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5671 | ||
5672 | * arnmnbsd-nat.c (supply_gregset): Rename to ... | |
5673 | (arm_supply_gregset): ... this. Add REGCACHE parameter. | |
5674 | Use it instead of current_regcache. | |
5675 | (supply_fparegset): Rename to ... | |
5676 | (arm_supply_fparegset): ... this. Add REGCACHE parameter. | |
5677 | Use it instead of current_regcache. | |
5678 | (fetch_regs, fetch_fp_regs): Update calls. Pass current_regcache. | |
5679 | (fetch_core_registers, fetch_elfcore_registers): Likewise. | |
5680 | ||
390c1522 UW |
5681 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5682 | ||
5683 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs, | |
5684 | alpha_supply_fp_regs, alpha_fill_fp_regs): Add REGCACHE parameter, | |
5685 | use it instead of current_regcache. | |
5686 | * alpha-tdep.h (struct regcache): Add forward declaration. | |
5687 | (alpha_supply_int_regs, alpha_fill_int_regs, alpha_supply_fp_regs, | |
5688 | alpha_fill_fp_regs): Update prototypes. | |
5689 | ||
5690 | * alpha-nat.c: (supply_gregset, fill_gregset, supply_fpregset, | |
5691 | fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines. | |
5692 | * alpha-linux-nat.c: Include "regcache.h". | |
5693 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass | |
5694 | current_regcache to alpha_supply/fill_ routines. | |
5695 | ||
5696 | * alphabsd-tdep.c: Include "regcache.h". | |
5697 | (alphabsd_supply_reg, alphabsd_supply_fpreg): Add REGCACHE paramter, | |
5698 | pass it to alpha_supply_ routines. Make REGS const. | |
5699 | (alphabsd_fill_reg, alphabsd_fill_fpreg): Add REGCACHE parameter, | |
5700 | pass it to alpha_fill_ routines. | |
5701 | * alphabsd-tdep.h (struct regcache): Add forward declaration. | |
5702 | (alphabsd_supply_reg, alphabsd_fill_reg, alphabsd_supply_fpreg, | |
5703 | alphabsd_fill_fpreg): Update prototypes. | |
5704 | ||
5705 | * alphanbsd-nat.c (supply_gregset, fill_gregset, supply_fpregset, | |
5706 | fill_fpregset, alphabsd_fetch_inferior_registers, | |
5707 | alphabsd_store_inferior_registers): Pass current_regcache to | |
5708 | alphabsd_supply/fill_ routines. | |
5709 | ||
5710 | * Makefile.in (alpha-linux-nat.o, alphabsd-tdep.o): Update | |
5711 | dependencies. | |
5712 | ||
647478e0 UW |
5713 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5714 | ||
5715 | * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs, | |
5716 | supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it | |
5717 | instead of current_regcache. | |
5718 | (fetch_regs_user_thread, fetch_regs_kernel_thread): Add | |
5719 | REGCACHE parameter, pass it to supply_ routines. | |
5720 | (aix_thread_fetch_registers): Pass current_regcache to | |
5721 | fetch_regs_user_thread and fetch_regs_kernel_thread. | |
5722 | ||
5723 | (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32): | |
5724 | Add REGCACHE parameter, use it instead of current_regcache. | |
5725 | Call regcache_valid_p instead of register_cached. | |
5726 | (store_regs_user_thread, store_regs_kernel_thread): Likewise. | |
5727 | Also, pass REGCACHE to fill_ routines. | |
5728 | (aix_thread_store_registers): Pass current_regcache to | |
5729 | store_regs_user_thread and store_regs_kernel_thread. | |
5730 | ||
d817e083 UW |
5731 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5732 | ||
5733 | * m32r-linux-nat.c (supply_gregset): Do not modify contents | |
5734 | pointed to by GREGSETP. | |
5735 | ||
6a1872e4 UW |
5736 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5737 | ||
5738 | * irix5-nat.c (fill_gregset): Use regcache_raw_collect instead | |
5739 | of regcache_raw_read_signed. | |
5740 | (fill_fpregset): Use regcache_raw_collect instead of | |
5741 | regcache_raw_read. | |
5742 | ||
6da397e0 KB |
5743 | 2007-05-03 Kevin Buettner <kevinb@redhat.com> |
5744 | ||
5745 | * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating | |
5746 | point arguments, test explicitly for use of the EABI32 ABI | |
5747 | instead of inferring this condition from tests on register | |
5748 | sizes. | |
5749 | ||
2219d63c KB |
5750 | 2007-05-03 Kevin Buettner <kevinb@redhat.com> |
5751 | ||
5752 | * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address | |
5753 | prior to allocating its location. | |
5754 | ||
2afd3f0a MR |
5755 | 2007-05-02 Maciej W. Rozycki <macro@mips.com> |
5756 | ||
5757 | * mips-tdep.c (mips_o32_push_dummy_call): Remove conditions | |
5758 | based on mips_abi_regsize() whose result is known in advance. | |
5759 | (mips_o64_push_dummy_call): Likewise. | |
5760 | ||
3e00823e UW |
5761 | 2007-04-29 Ulrich Weigand <uweigand@de.ibm.com> |
5762 | ||
5763 | * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check. | |
5764 | * m68k-tdep.c: Remove code within #ifdef USE_PROC_FS. | |
5765 | ||
5766 | * mips-linux-nat.c: Include "gregset.h". | |
5767 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move | |
5768 | from mips-linux-tdep.c. Change parameter type to gdb_gregset_t. | |
5769 | * mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset, | |
5770 | fill_fpregset): Move to mips-linux-nat.c. | |
5771 | ||
5772 | * Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies. | |
5773 | ||
81c4a259 UW |
5774 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
5775 | ||
5776 | * regcache.c (deprecated_read_register_gen): Remove, inline ... | |
5777 | (read_register): ... here. | |
5778 | (deprecated_write_register_gen): Remove, inline ... | |
5779 | (write_register): ... here. | |
5780 | * regcache.h (deprecated_read_register_gen): Remove prototype. | |
5781 | (deprecated_write_register_gen): Likewise. | |
5782 | ||
5783 | * remote-sim.c (gdbsim_store_register): Replace call to | |
5784 | deprecated_read_register_gen with regcache_cooked_read. | |
5785 | * target.c (debug_print_register): Replace calls to | |
5786 | deprecated_read_register_gen and read_register with | |
5787 | regcache_cooked_read. | |
5788 | ||
8bb42077 UW |
5789 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
5790 | ||
5791 | * hpux-thread.c (hpux_thread_store_registers): Use | |
5792 | regcache_raw_collect, not regcache_raw_read. | |
5793 | * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply, | |
5794 | not regcache_raw_write. | |
5795 | ||
6ed7ea50 UW |
5796 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
5797 | ||
5798 | * gdbarch.sh: Remove deprecated_register_byte. | |
5799 | * gdbarch.c, gdbarch.h: Regenerate. | |
5800 | * arch-utils.h (generic_register_size, generic_register_byte): Remove. | |
5801 | * arch-utils.c (generic_register_size, generic_register_byte): Remove. | |
5802 | ||
5803 | * regcache.h (regcache_valid_p): Make REGCACHE parameter const. | |
5804 | * regcache.c (regcache_valid_p): Allow to query cooked registers in | |
5805 | read-only register caches. Make REGCACHE parameter const. | |
5806 | (regcache_dump): Do not check DEPRECATED_REGISTER_BYTE. | |
5807 | ||
5808 | * mi/mi-main.c (old_regs): Remove. | |
5809 | (mi_setup_architecture_data, _initialize_mi_main): Remove. | |
5810 | (register_changed_p): Reimplement to compare two register caches. | |
5811 | (mi_cmd_data_list_changed_registers): Update caller. | |
5812 | * mi/mi-main.h (mi_setup_architecture_data): Remove. | |
5813 | * mi/mi-interp.c (mi_interpreter_init): Do not call | |
5814 | mi_setup_architecture_data. | |
5815 | ||
efc72ef5 UW |
5816 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
5817 | ||
5818 | * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define, | |
5819 | inline definition at the places the macros are used. | |
5820 | * alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise. | |
5821 | ||
7a61a01c UW |
5822 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
5823 | ||
5824 | * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and | |
5825 | "gdb_string.h". | |
5826 | (rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables. | |
5827 | (rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions. | |
5828 | (rs6000_aix32_regset, rs6000_aix64_regset): New variables. | |
5829 | (rs6000_aix_regset_from_core_section): New function. | |
5830 | (rs6000_aix_init_osabi): Register it. | |
5831 | (_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and | |
5832 | sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000. | |
5833 | * rs6000-nat.c (CoreRegs): Do not define type. | |
5834 | (fetch_core_registers, rs6000_core_fns): Remove. | |
5835 | (_initialize_core_rs6000): Do not register it. Rename to ... | |
5836 | (_initialize_rs6000_nat): ... this. | |
5837 | * Makefile.in (rs6000-aix-tdep.o): Update dependencies. | |
5838 | ||
ace186d4 KB |
5839 | 2007-04-27 Kevin Buettner <kevinb@redhat.com> |
5840 | ||
5841 | * dwarf2expr.c (unsigned_address_type): Add forward declaration. | |
5842 | (dwarf2_read_address): Sign extend return address as required by | |
5843 | target architecture. | |
5844 | ||
89a7ee67 KB |
5845 | 2007-04-27 Kevin Buettner <kevinb@redhat.com> |
5846 | ||
5847 | * solib-frv.c (lm_base): Bail out if the main executable has | |
5848 | not been relocated. | |
5849 | ||
6afb1f32 UW |
5850 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
5851 | ||
5852 | * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location | |
5853 | of FPCR register in fpregset. | |
5854 | ||
66a0218a MR |
5855 | 2007-04-27 Maciej W. Rozycki <macro@mips.com> |
5856 | ||
5857 | * Makefile.in (gdbtk-wrapper.o): Update dependencies. | |
5858 | (gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise. | |
5859 | ||
482f7fee UW |
5860 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
5861 | ||
5862 | * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove. | |
5863 | * rs6000-nat.c (rs6000_wait): New function. | |
5864 | (_initialize_core_rs6000): Install it as to_wait target method. | |
5865 | * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS. | |
5866 | ||
1f480a5e UW |
5867 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
5868 | ||
5869 | * config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove. | |
5870 | * fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK. | |
5871 | * rs6000-nat.c (super_create_inferior): New variable. | |
5872 | (rs6000_create_inferior): Make static. Adapt argument list. Call | |
5873 | original version of create_inferior via super_create_inferior. | |
5874 | (_initialize_core_rs6000): Install to_create_inferior target method. | |
5875 | ||
037a727e UW |
5876 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
5877 | ||
5878 | * aix-thread.c (aix_thread_xfer_memory): Replace by ... | |
5879 | (aix_thread_xfer_partial): ... this. | |
5880 | (init_aix_thread_ops): Install to_xfer_partial instead | |
5881 | of deprecated_xfer_memory target method. | |
5882 | ||
5883 | * config/powerpc/aix.mh (NATDEPFILES): Remove infptrace.o | |
5884 | and inftarg.o, add inf-ptrace.o. | |
5885 | * config/rs6000/nm-rs6000.h (FETCH_INFERIOR_REGISTERS, | |
5886 | CHILD_XFER_MEMORY, KERNEL_U_SIZE, kernel_u_size): Remove. | |
5887 | * rs6000-nat.c: Include "inf-ptrace.h" and "gdb_stdint.h". | |
5888 | (fetch_inferior_registers): Rename to ... | |
5889 | (rs6000_fetch_inferior_registers): ... this. Make static. | |
5890 | (store_inferior_registers): Rename to ... | |
5891 | (rs6000_store_inferior_registers): ... this. Make static. | |
5892 | (read_word, child_xfer_memory): Remove. | |
5893 | (rs6000_xfer_partial): New function. | |
5894 | (kernel_u_size): Remove. | |
5895 | (_initialize_core_rs6000): Add inf_ptrace-based target. | |
5896 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
5897 | ||
f7dd0ed7 UW |
5898 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
5899 | ||
5900 | * inf-ptrace.c: Include "gdb_stdint.h". | |
5901 | (inf_ptrace_xfer_partial): Use "uintptr_t" instead of "long" as | |
5902 | intermediate type when casting CORE_ADDR to PTRACE_TYPE_ARG3. | |
5903 | (inf_ptrace_fetch_register): Add intermediate cast to "uintptr_t" | |
5904 | before casting CORE_ADDR to PTRACE_TYPE_ARG3. | |
5905 | (inf_ptrace_store_register): Likewise. | |
5906 | * Makefile.in (inf-ptrace.o): Update dependencies. | |
5907 | ||
d9178763 UW |
5908 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
5909 | ||
5910 | * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules. | |
5911 | * configure.tgt (rs6000-*-*): Likewise. | |
5912 | * config/rs6000/aix4.mh: Delete file. | |
5913 | * config/rs6000/aix4.mt: Delete file. | |
5914 | * config/rs6000/rs6000.mh: Delete file. | |
5915 | * config/rs6000/rs6000.mt: Delete file. | |
5916 | ||
5917 | * config/powerpc/nm-aix.h: Delete file. | |
5918 | * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h. | |
5919 | ||
0d16ee5d UW |
5920 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
5921 | ||
5922 | * aix-thread.c (fill_sprs32): Change argument types to "uint32_t *". | |
5923 | Remove obsolete part of comment. | |
5924 | (store_regs_user_thread): Use uint32_t temporaries when calling | |
5925 | fill_sprs32. | |
5926 | (store_regs_kernel_thread): Likewise. Add assertion to verify | |
5927 | correct size of struct ptsprs members. | |
5928 | (aix_thread_xfer_memory): Fix type of myaddr. | |
5929 | (aix_thread_extra_thread_info): Fix compiler warning. | |
5930 | * rs6000-nat.c (rs6000_ptrace64): Change type of buf to "void *". | |
5931 | (fetch_register, store_register): Adapt callers. | |
5932 | ||
1e8877aa UW |
5933 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
5934 | ||
5935 | * vec.h (vec_free): Rename to vec_free_. Adapt users. | |
5936 | ||
b02f9d57 UW |
5937 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
5938 | ||
5939 | * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h", | |
5940 | and "regcache.h". | |
5941 | (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New. | |
5942 | (alpha_linux_gregset, alpha_linux_fpregset): New variables. | |
5943 | (alpha_linux_regset_from_core_section): New function. | |
5944 | (alpha_linux_init_abi): Install it. | |
5945 | * alpha-linux-nat.c: Do not include "gdbcore.h". Include | |
5946 | "alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>, | |
5947 | <sys/procfs.h>, and "gregset.h". | |
5948 | (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR): | |
5949 | Move from config/alpha/nm-linux.h. | |
5950 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy | |
5951 | from alpha-nat.c. | |
5952 | (alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c. | |
5953 | * alpha-nat.c: Remove #ifdef __linux__ section. | |
5954 | (fetch_elf_core_registers, alpha_elf_core_fns): Remove. | |
5955 | (_initialize_core_alpha): Do not register alpha_elf_core_fns. | |
5956 | (ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally. | |
5957 | (ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h. | |
5958 | * config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
5959 | (NATDEPFILES): Remove alpha-nat.o. | |
5960 | * config/alpha/nm-linux.h: Delete file. | |
5961 | * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c. | |
5962 | * Makefile.in (alpha-linux-nat.o): Update dependencies. | |
5963 | (alpha-linux-tdep.o): Likewise. | |
5964 | ||
dda0c97e UW |
5965 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
5966 | ||
5967 | * mips-linux-nat.c: No longer include "gdbcore.h". | |
5968 | (mips_linux_register_addr): Move from mips-linux-tdep.c. | |
5969 | (mips64_linux_register_addr): Likewise. | |
5970 | (mips_linux_register_u_offset): Call mips_linux_register_addr or | |
5971 | mips64_linux_register_addr instead of register_addr. | |
5972 | * mips-linux-tdep.c (mips_linux_register_addr, | |
5973 | mips64_linux_register_addr): Move to mips-linux-nat.c. | |
5974 | (register_addr): Remove. | |
5975 | (register_addr_data, init_register_addr_data): Remove. | |
5976 | (_initialize_mips_linux_tdep): Do not initialize register_addr_data. | |
5977 | (set_mips_linux_register_addr): Remove. | |
5978 | (mips_linux_init_abi): Do not call set_mips_linux_register_addr. | |
5979 | * Makefile.in (mips-linux-nat.o): Update dependencies. | |
5980 | ||
910122bf UW |
5981 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
5982 | ||
5983 | * linux-nat.c (linux_register_u_offset): Remove. | |
5984 | (linux_target_install_ops): New function. | |
5985 | (linux_target): Use it. | |
5986 | (linux_trad_target): New function. | |
5987 | * linux-nat.h (linux_trad_target): Declare. | |
5988 | ||
5989 | * alpha-linux-nat.c: Include "gdbcore.h". | |
5990 | (alpha_linux_register_u_offset): New function. | |
5991 | (_initialize_alpha_linux_nat): Use linux_trad_target. | |
5992 | ||
5993 | * mips-linux-nat.c: Include "gdbcore.h". | |
5994 | (mips_linux_register_u_offset): New function. | |
5995 | (_initialize_mips_linux_nat): Use linux_trad_target. | |
5996 | ||
5997 | * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
5998 | * config/arm/nm-linux.h: Delete file. | |
5999 | ||
6000 | * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove. | |
6001 | * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove. | |
6002 | ||
6003 | * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
6004 | * config/ia64/nm-linux.h: Delete file. | |
6005 | ||
6006 | * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
6007 | * config/m32r/nm-linux.h: Delete file. | |
6008 | ||
6009 | * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
6010 | * config/m68k/nm-linux.h: Delete file. | |
6011 | ||
6012 | * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
6013 | * config/pa/nm-linux.h: Delete file. | |
6014 | ||
6015 | * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
6016 | * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise. | |
6017 | * config/powerpc/nm-linux.h: Delete file. | |
6018 | ||
6019 | * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h. | |
6020 | * config/s390/nm-linux.h: Delete file. | |
6021 | ||
6022 | * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
6023 | * config/sparc/linux64.mh (NAT_FILE): Likewise. | |
6024 | * config/sparc/nm-linux.h: Delete file. | |
6025 | ||
6026 | * Makefile.in (alpha-linux-nat.o): Update dependencies. | |
6027 | (mips-linux-nat.o): Likewise. | |
6028 | ||
de732108 UW |
6029 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
6030 | ||
6031 | * core-aout.c: Delete file. | |
6032 | * Makefile.in (ALLDEPFILES): Remove core-aout.c. | |
6033 | (core-aout.o): Delete rule. | |
6034 | * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove. | |
6035 | ||
6036 | * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove. | |
6037 | ||
6038 | * arm-linux-nat.c (arm_linux_kernel_u_size): Remove. | |
6039 | * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE, | |
6040 | KERNEL_U_ADDR): Remove. | |
6041 | ||
6042 | * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove. | |
6043 | (cannot_fetch_register, cannot_store_register): Remove. | |
6044 | (fetch_register): Inline cannot_fetch_register and register_addr. | |
6045 | (store_register): Inline cannot_store_register and register_addr. | |
6046 | * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o. | |
6047 | * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, | |
6048 | REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): | |
6049 | Remove. | |
6050 | ||
6051 | * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove. | |
6052 | (fetch_register): Inline register_addr. | |
6053 | (store_register): Inline register_addr. | |
6054 | * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o. | |
6055 | * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, | |
6056 | U_REGS_OFFSET, REGISTER_U_ADDR): Remove. | |
6057 | ||
6058 | * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove. | |
6059 | * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET, | |
6060 | REGISTER_U_ADDR): Remove. | |
6061 | ||
6062 | * hppa-linux-nat.c (register_addr): Rename to ... | |
6063 | (hppa_linux_register_addr): ... this. Make static. | |
6064 | (fetch_register, store_register): Adapt callers. | |
6065 | * config/pa/nm-linux.h (U_REGS_OFFSET): Remove. | |
6066 | ||
6067 | * ppc-linux-nat.c (kernel_u_size): Remove. | |
6068 | * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove. | |
6069 | ||
6070 | * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static. | |
6071 | * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o. | |
6072 | (NAT_FILE): Remove. | |
6073 | * config/vax/nm-vax.h: Delete file. | |
6074 | ||
1f90c757 MS |
6075 | 2007-04-20 Mark Shinwell <shinwell@codesourcery.com> |
6076 | ||
6077 | * MAINTAINERS (Write After Approval): Add myself. | |
6078 | ||
bf1242a5 MS |
6079 | 2007-04-20 Mark Shinwell <shinwell@codesourcery.com> |
6080 | ||
6081 | * Makefile.in: Adjust dependencies of m68klinux-tdep.c. | |
6082 | * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New. | |
6083 | (m68k_linux_sigcontext_reg_offset): Fix typo. | |
6084 | (target_is_uclinux): New. | |
6085 | (m68k_linux_inferior_created): New. | |
6086 | (m68k_linux_get_sigtramp_info): Check for uClinux or | |
6087 | normal Linux. Use m68k_uclinux_sigcontext_reg_offset for | |
6088 | uClinux. | |
6089 | (_initialize_m68k_linux_tdep): Register | |
6090 | m68k_linux_inferior_created. | |
6091 | ||
96998ce7 PA |
6092 | 2007-04-19 Pedro Alves <pedro_alves@portugalmail.pt> |
6093 | ||
6094 | * win32-nat.c (win32_detach): Remove delete_command call. | |
6095 | Resume inferior with win32_resume instead of win32_continue. | |
6096 | ||
7e71daaa JG |
6097 | 2007-04-19 Jerome Guitton <guitton@adacore.com> |
6098 | ||
6099 | * ser-mingw.c (fd_is_file): New function. | |
6100 | (file_select_thread): New function. | |
6101 | (ser_console_wait_handle): Add special handling for files. | |
6102 | ||
3d1f72c2 DP |
6103 | 2007-04-18 Denis Pilat <denis.pilat@st.com> |
6104 | ||
6105 | * dwarf2read.c (read_subrange_type): Use DW_ATE_signed default type | |
6106 | when missing from DW_TAG_subrange_type. Remove the handling of null | |
6107 | return from die_type. | |
6108 | ||
9ecf7166 MR |
6109 | 2007-04-18 Maciej W. Rozycki <macro@mips.com> |
6110 | ||
6111 | * mips-tdep.c (mips_eabi_push_dummy_call): Revert the last | |
6112 | change to rearrange some brackets. | |
6113 | (mips_n32n64_push_dummy_call): Likewise. | |
6114 | (mips_o32_push_dummy_call): Likewise. | |
6115 | (mips_o64_push_dummy_call): Likewise. | |
6116 | ||
b79599ff DP |
6117 | 2007-04-18 Denis Pilat <denis.pilat@st.com> |
6118 | ||
6119 | * infcmd.c (post_create_inferior): Start with a call to | |
3d1f72c2 | 6120 | target_terminal_ours. |
b79599ff | 6121 | |
06f9a1af MR |
6122 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
6123 | ||
6124 | * mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some | |
6125 | brackets. | |
6126 | (mips_n32n64_push_dummy_call): Likewise. Reformat some | |
6127 | expressions. | |
6128 | (mips_o32_push_dummy_call): Likewise. | |
6129 | (mips_o64_push_dummy_call): Likewise. | |
6130 | ||
ad018eee MR |
6131 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
6132 | ||
6133 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a | |
6134 | comment. | |
6135 | ||
e914cb17 MR |
6136 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
6137 | ||
6138 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a | |
6139 | comment. | |
6140 | (mips_o32_push_dummy_call): Likewise. | |
6141 | ||
91934273 AS |
6142 | 2007-04-17 Andreas Schwab <schwab@suse.de> |
6143 | ||
6144 | * symtab.c (skip_prologue_using_sal): Allow the end of the prologue | |
6145 | sal to be bigger than the end of the function. | |
6146 | ||
968b5391 MR |
6147 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
6148 | Nigel Stephens <nigel@mips.com> | |
6149 | ||
6150 | * mips-tdep.c (mips_o32_push_dummy_call): Take account of | |
6151 | argument alignment requirements when calculating stack space | |
6152 | required. When aligning an arg register to eight bytes | |
6153 | boundary, align stack_offset too. Write floating-point | |
6154 | arguments to the appropriate integer register if need go there. | |
6155 | (mips_o64_push_dummy_call): Likewise. | |
6156 | ||
e0cd558a UW |
6157 | 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com> |
6158 | ||
6159 | * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and | |
6160 | "sig" arguments, add "regcache" argument. | |
6161 | * gdbarch.c, gdbarch.h: Regenerate. | |
6162 | ||
6163 | * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments. | |
6164 | (handle_inferior_event): Call remove_single_step_breakpoints directly | |
6165 | instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints. | |
6166 | ||
6167 | * alpha-tdep.c (alpha_software_single_step): Update argument list. | |
6168 | Remove handling of !insert_breakpoints_p case. | |
6169 | * arm-tdep.c (arm_software_single_step): Likewise. | |
6170 | * cris-tdep.c (cris_software_single_step): Likewise. | |
6171 | * mips-tdep.c (mips_software_single_step): Likewise. | |
6172 | * rs6000-tdep.c (rs6000_software_single_step): Likewise. | |
6173 | * sparc-tdep.c (sparc_software_single_step): Likewise. | |
6174 | * spu-tdep.c (spu_software_single_step): Likewise. | |
6175 | ||
6176 | * alpha-tdep.h (alpha_software_single_step): Update prototype. | |
6177 | * mips-tdep.h (mips_software_single_step): Likewise. | |
6178 | * rs6000-tdep.h (rs6000_software_single_step): Likewise. | |
6179 | * sparc-tdep.h (sparc_software_single_step): Likewise. | |
6180 | ||
06a86285 UW |
6181 | 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com> |
6182 | ||
6183 | * alpha-tdep.c (alpha_software_single_step): Do not call write_pc | |
6184 | when removing single-step breakpoints. | |
6185 | ||
25d5ea92 VP |
6186 | 2007-04-14 Vladimir Prus <vladimir@codesourcery.com> |
6187 | ||
6188 | * varobj.h (varobj_set_frozen): New | |
6189 | (varobj_get_frozen): New. | |
6190 | (varobj_update): New parameter explicit. | |
6191 | * varobj.c (struct varobj): New fields frozen | |
6192 | and not_fetched. | |
6193 | (varobj_set_frozen, varobj_get_frozen): New. | |
6194 | (install_new_value): Don't fetch values for | |
6195 | frozen variable object, or children thereof. Allow | |
6196 | a frozen variable object to have non-fetched value. | |
6197 | (varobj_update): Allow updating child variables. | |
6198 | Don't traverse frozen children. | |
6199 | (new_variable): Initialize the frozen field. | |
6200 | (c_value_of_variable): Return NULL for frozen | |
6201 | variable without any value yet. | |
6202 | * mi/mi-cmd-var.c (varobj_update_one): New parameter | |
6203 | 'explicit'. | |
6204 | (mi_cmd_var_create): Output the 'frozen' field, | |
6205 | as soon as testsuite is adjusted to expect that field. | |
6206 | (mi_cmd_var_set_frozen): New. | |
6207 | (mi_cmd_var_update): Pass the 'explicit' parameter to | |
6208 | varobj_update_one. | |
6209 | * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'. | |
6210 | * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare. | |
6211 | ||
6e3bbd1a PB |
6212 | 2007-04-13 Paul Brook <paul@codesourcery.com> |
6213 | ||
6214 | * target-descriptions.c (tdesc_named_type): Add ieee_single and | |
6215 | ieee_double. | |
6216 | * doc/gdb.texinfo: Document ieee_single and ieee_double target types. | |
6217 | ||
ea35711c DJ |
6218 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6219 | ||
6220 | * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c, | |
6221 | remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h, | |
6222 | scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c, | |
6223 | ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete. | |
6224 | * Makefile.in: Remove references to deleted files. | |
6225 | * README: Do not mention deleted ROM monitor interfaces. | |
6226 | * defs.h (enum language): Delete language_scm. | |
6227 | * expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING. | |
6228 | (dump_subexp_body_standard): Likewise. | |
6229 | * parse.c (operator_length_standard): Likewise. | |
6230 | * expression.h (enum exp_opcode): Delete OP_EXPRSTRING. | |
6231 | * remote-mips.c: Do not include remote-utils.h. | |
6232 | * remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug | |
6233 | throughout. | |
6234 | * value.c: Do not include scm-lang.h. | |
6235 | (unpack_long): Delete scm_unpack call. | |
6236 | * config/h8300/h8300.mt, config/mips/embed.mt, | |
6237 | config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt, | |
6238 | config/sh/embed.mt, config/sh/linux.mt: Remove references to | |
6239 | deleted files. | |
6240 | * NEWS: Mention removed files. | |
6241 | ||
058b9c07 DJ |
6242 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6243 | ||
6244 | * symfile.c (add_psymbol_with_dem_name_to_list): Remove. | |
6245 | * symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype. | |
6246 | ||
54d61198 DJ |
6247 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6248 | ||
6249 | * NEWS: Mention removal of HP aCC support. | |
6250 | ||
e499d0f1 DJ |
6251 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6252 | ||
6253 | * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the | |
6254 | first entry for static executables. | |
6255 | (breakpoint_addr): Delete unused variable. | |
6256 | (elf_locate_base): Search for _r_debug in static executables. | |
6257 | (enable_break): Do not set breakpoint_addr. Scan solib_break_names | |
6258 | also. | |
6259 | ||
4d5b2cd7 DJ |
6260 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6261 | ||
6262 | * breakpoint.c (update_breakpoints_after_exec, print_it_typical) | |
6263 | (bpstat_what, print_one_breakpoint, allocate_bp_location) | |
6264 | (mention): Remove bp_through_sigtramp support. | |
6265 | * breakpoint.h (enum bptype): Remove bp_through_sigtramp. | |
6266 | ||
46d57086 DJ |
6267 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6268 | ||
6269 | * breakpoint.c (bpstat_what): Give step-resume higher priority than | |
6270 | shlib events. | |
6271 | ||
d3169d93 DJ |
6272 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6273 | ||
6274 | * infrun.c: Doc fixes. | |
6275 | (handle_inferior_event): Clarify debug message. | |
6276 | (insert_step_resume_breakpoint_at_sal): Print a debug message. | |
6277 | ||
8c9e4384 UW |
6278 | 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com> |
6279 | ||
6280 | * configure.tgt (arm-*-nto*, sh-*-nto*): Remove. | |
6281 | ||
9418f048 UW |
6282 | 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com> |
6283 | ||
6284 | * config/m68k/tm-monitor.h: Delete file. | |
6285 | * config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove. | |
6286 | * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break | |
6287 | call moved to ... | |
6288 | * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ... | |
6289 | * m68klinux-tdep.c (m68k_linux_init_abi): ... here. | |
6290 | ||
e6590a1b UW |
6291 | 2007-04-12 Luis Machado <luisgpm@br.ibm.com> |
6292 | ||
6293 | * gdbarch.sh (software_single_step): Change the return type | |
6294 | from void to int and reformatted some comments to <= 80 | |
6295 | columns. | |
6296 | * gdbarch.c, gdbarch.h: Regenerated. | |
6297 | * alpha-tdep.c (alpha_software_single_step): Likewise. | |
6298 | * alpha-tdep.h (alpha_software_single_step): Likewise. | |
6299 | * arm-tdep.c (arm_software_single_step): Likewise. | |
6300 | * cris-tdep.c (cris_software_single_step): Likewise. | |
6301 | * mips-tdep.c (mips_software_single_step): Likewise. | |
6302 | * mips-tdep.h (mips_software_single_step): Likewise. | |
6303 | * rs6000-tdep.c (rs6000_software_single_step): Likewise. | |
6304 | * rs6000-tdep.h (rs6000_software_single_step): Likewise. | |
6305 | * sparc-tdep.c (sparc_software_single_step): Likewise. | |
6306 | * sparc-tdep.h (sparc_software_single_step): Likewise. | |
6307 | * spu-tdep.c (spu_software_single_step): Likewise. | |
6308 | * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP | |
6309 | and act accordingly. | |
6310 | ||
58b38ee2 SE |
6311 | 2007-04-11 Steve Ellcey <sje@cup.hp.com> |
6312 | ||
6313 | * configure.ac (build_warnings): Add -Wno-char-subscripts. | |
6314 | * configure: Regenerate. | |
6315 | * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts. | |
6316 | ||
70f575cc JK |
6317 | 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
6318 | ||
6319 | * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'. | |
6320 | ||
d77b6808 JK |
6321 | 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
6322 | ||
6323 | * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New | |
6324 | macros. | |
6325 | (TYPE_IS_OPAQUE): Empty vs. opaque structures are now | |
6326 | distinct on the TYPE_STUB_SUPPORTED debug targets. | |
6327 | * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED. | |
6328 | ||
b0b92586 JB |
6329 | 2007-04-11 Joel Brobecker <brobecker@adacore.com> |
6330 | ||
6331 | * sparc-tdep.c (X_RS2): New macro. | |
6332 | (sparc_skip_stack_check): New function. | |
6333 | (sparc_analyze_prologue): Adjust PC past stack probing | |
6334 | sequence if necessary. | |
6335 | ||
a489f789 AS |
6336 | 2007-04-10 Andreas Schwab <schwab@suse.de> |
6337 | ||
6338 | * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR | |
6339 | register. | |
6340 | ||
b0b13bb4 DJ |
6341 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
6342 | ||
6343 | * breakpoint.c (gdb_breakpoint_query): Really return an | |
6344 | enum gdb_rc. | |
6345 | (gdb_breakpoint): Likewise. | |
3f11755e DJ |
6346 | * thread.c (gdb_list_thread_ids): Likewise. |
6347 | (gdb_thread_select): Likewise. | |
b0b13bb4 DJ |
6348 | * mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc. |
6349 | (mi_cmd_thread_list_ids): Remove bogus initialization. | |
6350 | ||
1a92f856 DJ |
6351 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
6352 | ||
6353 | * Makefile.in (SFILES): Remove hpacc-abi.c. | |
6354 | (COMMON_OBS): Remove hpacc-abi.o. | |
6355 | (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE). | |
6356 | (hpacc-abi.o, hpread.o): Delete rules. | |
6357 | * somread.c: Delete extern declarations from hpread.c. | |
6358 | (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs. | |
6359 | (som_symfile_finish): Do not call hpread_symfile_finish. | |
6360 | (som_symfile_init): Do not call hpread_symfile_init. | |
6361 | * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o. | |
6362 | * config/pa/hppahpux.mt (TDEPFILES): Likewise. | |
6363 | * hpacc-abi.c, hpread.c: Deleted. | |
6364 | ||
542c95c2 DJ |
6365 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
6366 | ||
6367 | * solib-svr4.c (enable_break): Simplify return value. | |
6368 | (svr4_solib_create_inferior_hook): Do not warn if enable_break fails. | |
6369 | ||
cfaefc65 AS |
6370 | 2007-04-10 Andreas Schwab <schwab@suse.de> |
6371 | ||
6372 | * solib-svr4.h (struct link_map_offsets): Remove l_addr_size, | |
6373 | l_ld_size, l_next_size, l_prev_size, l_name_size. | |
6374 | ||
6375 | * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address | |
6376 | to extract addresses from link map. | |
6377 | (LM_DYNAMIC_FROM_LINK_MAP): Likewise. | |
6378 | (LM_NEXT): Likewise. | |
6379 | (LM_NAME): Likewise. | |
6380 | (IGNORE_FIRST_LINK_MAP_ENTRY): Likewise. | |
6381 | (elf_locate_base): Likewise. | |
6382 | (open_symbol_file_object): Likewise. | |
6383 | (svr4_fetch_objfile_link_map): Likewise. | |
6384 | (SOLIB_EXTRACT_ADDRESS): Remove unused macro. | |
6385 | (HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of | |
6386 | l_ld_size. | |
6387 | (svr4_ilp32_fetch_link_map_offsets): Don't set removed members. | |
6388 | (svr4_lp64_fetch_link_map_offsets): Likewise. | |
6389 | ||
6390 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set | |
6391 | removed members. Set l_ld_offset to -1 if not present. | |
6392 | ||
65cc4390 VP |
6393 | 2007-04-08 Vladimir Prus <vladimir@codesourcery.com> |
6394 | ||
6395 | Pass stderr of program run with "target remote |" | |
6396 | via gdb_stderr. | |
6397 | * serial.c (serial_open): Set error_fd to -1. | |
6398 | * serial.h (struct serial): New field error_fd. | |
6399 | (struct serial_opts): New field avail. | |
6400 | * ser-pipe.c (pipe_open): Create another pair | |
6401 | of sockets. Pass stderr to gdb. | |
6402 | * ser-mingw.c (pipe_windows_open): Pass | |
6403 | PEX_STDERR_TO_PIPE to pex_run. Initialize | |
6404 | sd->error_fd. | |
6405 | (pipe_avail): New. | |
6406 | (_initialize_ser_windows): Hook pipe_avail. | |
6407 | * ser-base.c (generic_readchar): Check if there's | |
6408 | anything in stderr channel and route that to gdb_stderr. | |
6409 | ||
e9112110 PA |
6410 | 2007-04-03 Pedro Alves <pedro_alves@portugalmail.pt> |
6411 | ||
6412 | * dbxread.c (read_ofile_symtab): Move current_objfile | |
6413 | clearing to after end_stabs. | |
6414 | ||
7f68ac27 AS |
6415 | 2007-04-01 Andreas Schwab <schwab@suse.de> |
6416 | ||
6417 | * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter | |
6418 | gdbarch instead of current_gdbarch. | |
6419 | ||
e55dccf0 VP |
6420 | 2007-04-01 Vladimir Prus <vladimir@codesourcery.com> |
6421 | ||
6422 | * varobj.c (varobj_create): Keep varobj value | |
6423 | NULL when evaluating the type. | |
6424 | ||
7c963485 PA |
6425 | 2007-03-31 Pedro Alves <pedro_alves@portugalmail.pt> |
6426 | ||
6427 | * NEWS: Mention new Windows CE support. | |
6428 | ||
ad527d2e PA |
6429 | 2007-03-30 Pedro Alves <pedro_alves@portugalmail.pt> |
6430 | ||
6431 | * configure.tgt: Move mips*-*-pe and sh*-*-pe to | |
6432 | the obsoletion stanza. | |
6433 | * NEWS: Mention deleted targets. | |
6434 | ||
6435 | * config/sh/tm-wince.h: Remove. | |
6436 | * config/sh/wince.mt: Remove. | |
6437 | * config/mips/tm-wince.h: Remove. | |
6438 | * config/mips/wince.mt: Remove. | |
6439 | ||
6440 | * wince.c: Remove. | |
6441 | * wince-stub.c: Remove. | |
6442 | * wince-stub.h: Remove. | |
6443 | * Makefile.in (wince.o): Remove rule. | |
6444 | (wince-stub.o): Likewise. | |
6445 | ||
6446 | * mips-tdep.c (mips_next_pc): Make static. | |
6447 | * mips-tdep.h (mips_next_pc): Remove declaration. | |
6448 | * arm-tdep.c (arm_pc_is_thumb): Make static. | |
6449 | (thumb_get_next_pc): Likewise. | |
6450 | (arm_get_next_pc): Likewise. | |
6451 | * arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration. | |
6452 | (arm_pc_is_thumb): Likewise. | |
6453 | (thumb_get_next_pc): Likewise. | |
6454 | (arm_get_next_pc): Likewise. | |
6455 | ||
7ce59000 DJ |
6456 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
6457 | ||
6458 | * MAINTAINERS: Remove d10v entry. | |
6459 | * Makefile.in (SFILES): Remove dwarfread.c. | |
6460 | (COMMON_OBS): Remove dwarfread.o. | |
6461 | (gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o) | |
6462 | (remote-est.o, rom68k-rom.o): Delete. | |
6463 | * NEWS: Mention removal of d10v, target abug, target cpu32bug, | |
6464 | target est, target rom68k, and DWARF 1. | |
6465 | * configure.tgt: Mark d10v as removed. | |
6466 | * dwarf2read.c: Doc update. | |
6467 | * elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset, | |
6468 | and lnsize. | |
6469 | (elf_locate_sections): Do not set them. | |
6470 | (elf_symfile_read): Do not call dwarf_build_psymtabs. | |
6471 | * symfile.h (dwarf_build_psymtabs): Delete prototype. | |
6472 | * config/m68k/monitor.mt (TDEPFILES): Prune. | |
6473 | * abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c, | |
6474 | remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete. | |
6475 | ||
20389057 DJ |
6476 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
6477 | ||
6478 | * doublest.c (convert_floatformat_to_doublest): Use | |
6479 | floatformat_classify. | |
6480 | (floatformat_is_nan): Rename to... | |
6481 | (floatformat_classify): ...this. Return more information. | |
6482 | * doublest.h (enum float_kind): New. | |
6483 | (floatformat_is_nan): Replace prototype... | |
6484 | (floatformat_classify): ...with this one. | |
6485 | * valprint.c (print_floating): Use floatformat_classify. Handle | |
6486 | infinity. | |
6487 | ||
30b50213 DJ |
6488 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
6489 | ||
6490 | * README: Mention ISO C library requirement. | |
6491 | ||
8807d78b DJ |
6492 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
6493 | ||
6494 | * Makefile.in (SFILES): Remove nlmread.c. | |
6495 | (COMMON_OBS): Remove nlmread.o. | |
6496 | (nlmread.o): Delete rule. | |
6497 | * README: Delete reference to remote-st.c. | |
6498 | * acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete. | |
6499 | * defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and | |
6500 | GDB_OSABI_LYNXOS. | |
6501 | * i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete. | |
6502 | (_initialize_i386_tdep): Do not reference them. | |
6503 | * nlmread.c: Delete file. | |
6504 | * osabi.c (gdb_osabi_names): Remove NetWare and LynxOS. | |
6505 | * target.c: Doc update. | |
6506 | * thread.c: Delete commented include. | |
6507 | * config/alpha/tm-alpha.h: Doc update. | |
6508 | ||
ced572fe MR |
6509 | 2007-03-30 Chris Dearman <chris@mips.com> |
6510 | ||
6511 | * utils.c (string_to_core_addr): Comment typo. | |
6512 | ||
8a9fc081 MR |
6513 | 2007-03-30 Chris Dearman <chris@mips.com> |
6514 | ||
6515 | * mips-tdep.c: Comment typo. | |
6516 | ||
5f402660 UW |
6517 | 2007-03-29 Ulrich Weigand <uweigand@de.ibm.com> |
6518 | ||
6519 | * config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove. | |
6520 | * config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove. | |
6521 | * config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove. | |
6522 | * config/powerpc/nm-ppc64-linux.h: Remove file. | |
6523 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h. | |
6524 | * inferior.h (PTRACE_ARG3_TYPE): Do not define. | |
6525 | (call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3. | |
6526 | * infptrace.c (call_ptrace): Likewise. | |
6527 | * m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define. | |
6528 | (fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3 | |
6529 | and PTRACE_XFER_TYPE by PTRACE_TYPE_RET. | |
6530 | (store_register): Likewise. | |
6531 | ||
bbf90c81 JB |
6532 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
6533 | ||
6534 | * Makefile.in (varobj.o): Add missing dependency. | |
6535 | ||
243c053b MS |
6536 | 2007-03-29 Michael Snyder <msnyder@access-company.com> |
6537 | ||
6538 | * MAINTAINERS: Update my email address. | |
6539 | ||
0259addd JB |
6540 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
6541 | ||
6542 | Add support for exception handling with multiple versions of | |
6543 | the Ada runtime: | |
6544 | * ada-lang.c: Update general comments on how Ada exception catchpoints | |
6545 | are implemented. | |
6546 | (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name) | |
6547 | (__gnat_raise_nodefer_with_msg): Delete. | |
6548 | (ada_unhandled_exception_name_addr_ftype): New type. | |
6549 | (exception_support_info): New type. | |
6550 | (ada_unhandled_exception_name_addr): Add forward declaration. | |
6551 | (ada_unhandled_exception_name_addr_from_raise): Likewise. | |
6552 | (default_exception_support_info): New constant. | |
6553 | (exception_support_info_fallback): Likewise. | |
6554 | (exception_info): New global variable. | |
6555 | (ada_exception_support_info_sniffer): New function. | |
6556 | (ada_executable_changed_observer): Likewise. | |
6557 | (ada_unhandled_exception_name_addr_from_raise): Renamed from | |
6558 | ada_unhandled_exception_name_addr. | |
6559 | (ada_unhandled_exception_name_addr): Reimplement to match the | |
6560 | latest Ada runtime implementation. | |
6561 | (error_breakpoint_runtime_sym_not_found): Delete. | |
6562 | (ada_exception_sym_name): Get the exception sym name from | |
6563 | exception_info rather than hardcoding it. | |
6564 | (ada_exception_sal): Add call to ada_exception_support_info_sniffer. | |
6565 | Update error handling. | |
6566 | * Makefile.in (ada-lang.o): Add dependency on observer.h. | |
6567 | ||
483367ee DJ |
6568 | 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com> |
6569 | ||
6570 | * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o) | |
6571 | (remote-st.o, uw-thread.o): Delete. | |
6572 | (HFILES_NO_SRCDIR, ALLDEPFILES): Update. | |
6573 | * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*, | |
6574 | i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*, | |
6575 | i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*, | |
6576 | i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*, | |
6577 | i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and | |
6578 | rs6000-*-lynxos* to an obsoletion stanza. | |
6579 | * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*, | |
6580 | i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*, | |
6581 | and rs6000-*-lynxos* to an obsoletion stanza. Do not mention | |
6582 | i[34567]86-*-netware*. | |
6583 | * NEWS: Mention deleted targets. | |
6584 | ||
6585 | * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c, | |
6586 | uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh, | |
6587 | config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh, | |
6588 | config/i386/i386v4.mh, config/i386/i386v42mp.mh, | |
6589 | config/i386/ncr3000.mh, config/i386/ncr3000.mt, | |
6590 | config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h, | |
6591 | config/i386/nm-i386sco5.h, config/i386/nm-i386v.h, | |
6592 | config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h, | |
6593 | config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt, | |
6594 | config/m68k/tm-cisco.h, config/m68k/tm-os68k.h, | |
6595 | config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt, | |
6596 | config/rs6000/tm-rs6000ly.h: Delete files. | |
6597 | ||
3adda9d8 DJ |
6598 | 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com> |
6599 | ||
6600 | * defs.h (deprecated_registers_changed_hook): Delete declaration. | |
6601 | * interps.c (clear_interpreter_hooks): Do not clear | |
6602 | deprecated_registers_changed_hook. | |
6603 | * regcache.c (registers_changed): Do not call it. | |
6604 | * top.c (deprecated_registers_changed_hook): Do not define it. | |
6605 | * mi/mi-interp.c (mi_command_loop): Do not clear it. | |
6606 | * tui/tui-hooks.c (tui_install_hooks): Do not install it. | |
6607 | (tui_remove_hooks): Do not remove it. | |
6608 | (tui_selected_frame_level_changed_hook): Check for negative level. | |
6609 | Use get_selected_frame. | |
6610 | (tui_registers_changed_hook): Deleted. | |
6611 | ||
bf362611 JB |
6612 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
6613 | ||
6614 | * stabsread.c (add_undefined_type): Add extra parameter. | |
6615 | Now handles nameless types separately. | |
6616 | (struct nat): New type. | |
6617 | (noname_undefs, noname_undefs_allocated, noname_undefs_length): | |
6618 | New static variables. | |
6619 | (read_type): Update calls to add_undefined_type. | |
6620 | (add_undefined_type_noname): New function. | |
6621 | (add_undefined_type_1): Renames from add_undefined_type. | |
6622 | (cleanup_undefined_types_noname): New function. | |
6623 | (cleanup_undefined_types_1): Renames cleanup_undefined_types. | |
6624 | (cleanup_undefined_types): New handles nameless types separately. | |
6625 | (_initialize_stabsread): Initialize our new static constants. | |
6626 | ||
436868fb DP |
6627 | 2007-03-29 Denis Pilat <denis.pilat@st.com> |
6628 | ||
6629 | * configure.ac: Test for signal.h. | |
6630 | * configure, config.in: Regenerate. | |
6631 | ||
aaf9e9fd DP |
6632 | 2007-03-29 Denis Pilat <denis.pilat@st.com> |
6633 | ||
6634 | * stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output. | |
6635 | * infrun.c (normal_stop): Remove MI specific frame printing treatment. | |
6636 | ||
68070c10 PA |
6637 | 2007-03-29 Pedro Alves <pedro_alves@portugalmail.pt> |
6638 | ||
6639 | * arm-wince-tdep.c: New. | |
6640 | * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h. | |
6641 | (MT_CFLAGS): Delete. | |
6642 | (TM_CLIBS): Delete. | |
6643 | (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o, | |
6644 | solib-legacy.o, solib-svr4.o, and remove wince.o. | |
6645 | * configure.tgt (arm*-*-mingw32ce*): Add. | |
6646 | * signals/signals.c [HAVE_SIGNAL_H]: Check. | |
6647 | (do_target_signal_to_host): Silence 'not used' warning. | |
6648 | * config/arm/tm-wince.h: Remove. | |
6649 | ||
74174d2e UW |
6650 | 2007-03-28 Ulrich Weigand <uweigand@de.ibm.com> |
6651 | ||
6652 | * arch-utils.c (legacy_pc_in_sigtramp): Remove. | |
6653 | * arch-utils.h (legacy_pc_in_sigtramp): Remove. | |
6654 | ||
6655 | * config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove. | |
6656 | * config/ia64/tm-linux.h: Remove file. | |
6657 | * ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback. | |
6658 | * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of | |
6659 | legacy_pc_in_sigtramp. | |
6660 | (ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp. | |
6661 | * ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static. | |
6662 | Remove func_name argument. | |
6663 | (ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp. | |
6664 | ||
6665 | * infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine. | |
6666 | * target.c (update_current_target): Add to_have_steppable_watchpoint. | |
6667 | * target.h (struct target_ops): Add to_have_steppable_watchpoint. | |
6668 | (HAVE_STEPPABLE_WATCHPOINT): Define. | |
6669 | ||
6670 | * config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o. | |
6671 | * config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET, | |
6672 | CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER, | |
6673 | TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT, | |
6674 | STOPPED_BY_WATCHPOINT, target_stopped_data_address, | |
6675 | target_insert_watchpoint, target_remove_watchpoint): Remove. | |
6676 | (FETCH_INFERIOR_REGISTERS): Define. | |
6677 | * ia64-linux-nat.c (ia64_register_addr): Make static. | |
6678 | (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise. | |
6679 | (ia64_linux_insert_watchpoint): Make static. Remove ptid_p argument. | |
6680 | (ia64_linux_remove_watchpoint): Likewise. Add type argument. | |
6681 | (ia64_linux_stopped_data_address): Make static. Add target_ops. | |
6682 | (ia64_linux_stopped_by_watchpoint): Make static. | |
6683 | (ia64_linux_can_use_hw_breakpoint): New function. | |
6684 | (ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise. | |
6685 | (ia64_linux_store_register, ia64_linux_store_registers): Likewise. | |
6686 | (_initialize_ia64_linux_nat): Install register and watchpoint ops. | |
6687 | ||
53c5240f PA |
6688 | 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt> |
6689 | ||
6690 | * linespec.c: Include language.h. | |
6691 | (find_methods): Add language parameter. Call | |
6692 | lookup_symbol_in_language. Pass language down. | |
6693 | (add_matching_methods): Likewise. Call | |
6694 | lookup_symbol_in_language. | |
6695 | (add_constructors): Likewise. | |
6696 | (find_method): Pass sym_class to collect_methods. | |
6697 | (collect_methods): Add sym_class parameter. Pass language | |
6698 | down. | |
6699 | * symtab.c (lookup_symbol): Rename to ... | |
6700 | (lookup_symbol_in_language): ... this. Add language | |
6701 | parameter. Use passed language instead of current_language. | |
6702 | (lookup_symbol): New as wrapper around | |
6703 | lookup_symbol_in_language. | |
6704 | (lookup_symbol_aux): Add language parameter. Use passed | |
6705 | language instead of current_language. | |
6706 | (search_symbols): Indent. | |
6707 | * symtab.h (enum language): Forward declare. | |
6708 | (lookup_symbol_in_language): Declare. | |
6709 | (lookup_symbol): Update description. | |
6710 | * ada-lang.h (lookup_symbol_in_language): Remove declaration. | |
6711 | * ada-lang.c (restore_language): Remove. | |
6712 | (lookup_symbol_in_language): Remove. | |
6713 | ||
8671a17b PA |
6714 | 2007-03-27 Pedro Alves <pedro_alves@portugalmail.pt> |
6715 | ||
6716 | * breakpoint.c (bpstat_num): Add int *num parameter. | |
6717 | * breakpoint.h (bpstat_num): Likewise. | |
6718 | * infcmd.c (continue_command): Adjust to new bpstat_num | |
6719 | interface. | |
6720 | (program_info): Likewise. | |
6721 | ||
214197f9 UW |
6722 | 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com> |
6723 | ||
6724 | * config/sh/tm-sh.h: Remove file. | |
6725 | * config/sh/embed.mt (DEPRECATED_TM_FILE): Remove. | |
6726 | * config/sh/linux.mt (DEPRECATED_TM_FILE): Remove. | |
6727 | * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
6728 | * config/sh/tm-wince.h: Do not include "sh/tm-sh.h". | |
6729 | ||
bac718a6 UW |
6730 | 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com> |
6731 | ||
6732 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT, | |
6733 | DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove. | |
6734 | * remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT, | |
6735 | DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT. | |
6736 | * sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint | |
6737 | sequence if target_shortname is "remote". | |
6738 | ||
de6a76fd DJ |
6739 | 2007-03-27 Anton Blanchard <anton@samba.org> |
6740 | ||
6741 | * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset | |
6742 | instead of wordsize when looking for the LR in a stack frame. | |
6743 | ||
4fc771b8 DJ |
6744 | 2007-03-27 Andreas Schwab <schwab@suse.de> |
6745 | Daniel Jacobowitz <dan@codesourcery.com> | |
6746 | ||
6747 | * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to... | |
6748 | (dwarf2_frame_adjust_regnum): ...this. Make static. Add eh_frame_p | |
6749 | argument. Update all callers. | |
6750 | (struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum. | |
6751 | (dwarf2_frame_set_eh_frame_regnum): Rename to... | |
6752 | (dwarf2_frame_set_adjust_regnum): ...this. Update argument type. | |
6753 | * dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to... | |
6754 | (dwarf2_frame_set_adjust_regnum): ...this. | |
6755 | (dwarf2_frame_eh_frame_regnum): Delete prototype. | |
6756 | * rs6000-tdep.c: Include "dwarf2-frame.h". | |
6757 | (rs6000_adjust_frame_regnum): Define. | |
6758 | (rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder. | |
6759 | Register rs6000_adjust_frame_regnum. | |
6760 | ||
6761 | * Makefile.in (rs6000-tdep.o): Update dependencies. | |
6762 | ||
9453113a DJ |
6763 | 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com> |
6764 | ||
6765 | * Makefile.in: Add support for a "pdf" target. | |
6766 | ||
d2449ee8 DJ |
6767 | 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com> |
6768 | ||
6769 | * amd64-tdep.c (amd64_init_frame_cache): New function. | |
6770 | (amd64_alloc_frame_cache, amd64_skip_prologue): Use it. | |
6771 | ||
a72d8a8e MR |
6772 | 2007-03-26 Nigel Stephens <nigel@mips.com> |
6773 | Maciej W. Rozycki <macro@mips.com> | |
6774 | ||
6775 | * ui-out.c (ui_out_field_core_addr): Truncate address to | |
6776 | TARGET_ADDR_BIT size before printing. | |
6777 | ||
5200c3f3 | 6778 | 2007-03-22 Nigel Stephens <nigel@mips.com> |
a72d8a8e | 6779 | Maciej W. Rozycki <macro@mips.com> |
5200c3f3 L |
6780 | |
6781 | * remote-mips.c (mips_xfer_memory): Update prototype. | |
6782 | ||
16708cba JB |
6783 | 2007-03-22 Joel Brobecker <brobecker@adacore.com> |
6784 | ||
6785 | * symfile.h: #include "symtab.h" | |
6786 | ||
0fe514e3 DP |
6787 | 2007-03-22 Denis Pilat <denis.pilat@st.com> |
6788 | ||
6789 | * utils.c (pagination_on_command, pagination_off_command): | |
6790 | Remove useless prototypes. | |
6791 | ||
4a52dc15 PM |
6792 | 2007-03-21 Pierre Muller <muller@ics.u-strasbg.fr> |
6793 | ||
6794 | Fix PR pascal/2232. | |
6795 | * p-valprint.c (pascal_object_print_value): Use type_name_no_tag | |
6796 | instead of TYPE_NAME for object base class name. | |
6797 | ||
6798 | ||
1c86fa97 KB |
6799 | 2007-03-19 Kevin Buettner <kevinb@redhat.com> |
6800 | ||
6801 | * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id): | |
6802 | Specify frame type in calls to frame_func_unwind(). | |
6803 | ||
4e463ff5 DJ |
6804 | 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com> |
6805 | ||
6806 | * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal. | |
6807 | (rs6000_in_function_epilogue_p): Use extract_unsigned_integer. | |
6808 | (refine_prologue_limit): Delete. | |
6809 | (skip_prologue): Don't call it. Use extract_unsigned_integer. | |
6810 | Assume lim_pc is set. Correct check for incomplete prologues. | |
6811 | Do not skip clobbers of the frame pointer. | |
6812 | * symtab.c (skip_prologue_using_sal): Fail if there is only one | |
6813 | sal. | |
6814 | ||
348473d5 NF |
6815 | 2007-03-13 Nathan Froyd <froydnj@codesourcery.com> |
6816 | ||
6817 | * frame.c (frame_pop): Check to see whether there's a frame to | |
6818 | which we can pop first. | |
6819 | ||
a2f9cf0d NF |
6820 | 2007-03-13 Nathan Froyd <froydnj@codesourcery.com> |
6821 | ||
6822 | * MAINTAINERS (Write After Approval): Add myself. | |
6823 | ||
569631c6 UW |
6824 | 2007-03-09 Markus Deuling <deuling@de.ibm.com> |
6825 | ||
6826 | * infrun.c (breakpoints_failed): Remove unnecessary variable. | |
6827 | (handle_inferior_event): Remove unnecessary braces. | |
6828 | * breakpoint.c (bpstat_what): Remove wrong comment. | |
6829 | ||
fe5febed UW |
6830 | 2007-03-09 Ulrich Weigand <uweigand@de.ibm.com> |
6831 | ||
6832 | * spu-tdep.c (spu_in_function_epilogue_p): New function. | |
6833 | (spu_gdbarch_init): Install it. | |
6834 | ||
9dea8ca2 UW |
6835 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
6836 | ||
6837 | * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported | |
6838 | object types, not 0. | |
6839 | ||
7b3dc0b7 UW |
6840 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
6841 | ||
6842 | * spu-tdep.c (spu_frame_align): New function. | |
6843 | (spu_gdbarch_init): Install it. Set call dummy location to ON_STACK. | |
6844 | ||
118dfbaf UW |
6845 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
6846 | ||
6847 | * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit. | |
6848 | (spu_software_single_step): Likewise. | |
6849 | (spu_read_pc, spu_write_pc): New functions. | |
6850 | (spu_gdbarch_init): Install them. | |
6851 | ||
29e4017d UW |
6852 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
6853 | ||
6854 | * cli/cli-dump.c (struct callback_data): load_offset needs to | |
6855 | have signed long type. | |
6856 | ||
6de5b849 JB |
6857 | 2007-03-07 Joel Brobecker <brobecker@adacore.com> |
6858 | ||
6859 | * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer): | |
6860 | Revert the previous change that had some unexpected side-effects | |
6861 | on mips32. | |
6862 | (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper | |
6863 | function to get the address of the calling instruction. | |
6864 | ||
7490ba4f DP |
6865 | 2007-03-07 Denis Pilat <denis.pilat@st.com> |
6866 | ||
6867 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace | |
6868 | get_selected_frame by deprecated_safe_get_selected_frame. | |
6869 | ||
861fb77c MK |
6870 | 2007-03-02 Mark Kettenis <kettenis@gnu.org> |
6871 | ||
6872 | * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and | |
6873 | "gdb_string.h". Don't include "nbsd-tdep.h". | |
6874 | (SIZEOF_STRUCT_REG): Remove. | |
6875 | (SHNBSD_SIZEOF_GREGS): New. | |
6876 | (shnbsd_supply_gregset, shnbsd_collect_gregset) | |
6877 | (shnbsd_regset_from_core_section): New functions. | |
6878 | (fetch_core_registers, fetch_elfcore_registers): Remove functions. | |
6879 | (shnbsd_supply_reg, shnbsd_fill_reg): Simply call | |
6880 | shnbsd_supply_gregset, shnbsd_collect_gregset. | |
6881 | (shnbsd_gregset): New variable. | |
6882 | (shnbsd_init_abi): Set regset_from_core_section. | |
6883 | (GDB_OSABI_NETBSD_CORE): New define. | |
6884 | (shnbsd_core_osabi_sniffer): New function. | |
6885 | (_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer. | |
6886 | * Makefile.in (shnbsd-tdep.o): Update dependencies. | |
6887 | * config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove | |
6888 | nbsd-tdep.o. | |
6889 | * config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o. | |
6890 | ||
787cbe14 JB |
6891 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
6892 | ||
6893 | * gdbtypes.c (replace_type): Fix typo that caused us to not update | |
6894 | length of the types referenced by the new type CV ring. | |
6895 | ||
35f196d9 DJ |
6896 | 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
6897 | ||
6898 | * frame.c (frame_pop, frame_observer_target_changed): Call | |
6899 | reinit_frame_cache. | |
6900 | (flush_cached_frames): Rename to reinit_frame_cache and delete | |
6901 | old implementation. | |
6902 | * frame.h (flush_cached_frames): Delete prototype and update comment. | |
6903 | ||
6904 | * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call | |
6905 | reinit_frame_cache instead of flush_cached_frames. Do not call | |
6906 | select_frame after reinit_frame_cache. | |
6907 | * corelow.c (core_open): Likewise. | |
6908 | * gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise. | |
6909 | * infrun.c (prepare_to_proceed, context_switch) | |
6910 | (handle_inferior_event): Likewise. | |
6911 | * linux-fork.c (fork_load_infrun_state): Likewise. | |
6912 | * ocd.c (ocd_start_remote): Likewise. | |
6913 | * remote-e7000.c (e7000_start_remote): Likewise. | |
6914 | * remote-mips.c (device): Likewise. | |
6915 | * thread.c (switch_to_thread): Likewise. | |
6916 | * tracepoint.c (finish_tfind_command): Likewise. | |
6917 | * gdbarch.c: Regenerated. | |
6918 | ||
c26f2453 JB |
6919 | 2007-02-28 Jerome Guitton <guitton@adacore.com> |
6920 | Joel Brobecker <brobecker@adacore.com> | |
6921 | ||
6922 | * gdbtypes.c (check_typedef): Do not replace stub type if | |
6923 | the resolved type is not defined in the same objfile. | |
6924 | ||
7d900f1a DJ |
6925 | 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
6926 | ||
6927 | * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion. | |
6928 | ||
76038652 | 6929 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
52eea4ce JB |
6930 | |
6931 | * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN | |
6932 | symbol for Ada units when the symbol is defined using 't' rather | |
6933 | than 'Tt' as symbol descriptor. | |
6934 | ||
d74fb156 | 6935 | 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
1344afe0 UW |
6936 | |
6937 | * config/mips/tm-nbsd.h: Delete file. | |
6938 | * config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
6939 | * config/sh/tm-nbsd.h: Delete file. | |
6940 | * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h. | |
6941 | ||
f8d225db JB |
6942 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
6943 | ||
6944 | * mi/mi-cmd-var.c (varobj_update_one): Remove reference to | |
6945 | unused WRONG_PARAM value since it was recently deleted. | |
6946 | ||
1bbfb19a NR |
6947 | 2007-02-28 Vladimir Prus <vladimir@codesourcery.com> |
6948 | ||
6949 | * varobj.c (varobj_update): Free temporary vectors. | |
6950 | ||
6f7f3f0d UW |
6951 | 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
6952 | ||
6953 | * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h. | |
6954 | * config/powerpc/tm-linux.h: Delete file. | |
6955 | * config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h". | |
6956 | (PROCESS_LINENUMBER_HOOK): Do not undefine. | |
6957 | (TEXT_SEGMENT_BASE): Do not redefine. | |
6958 | * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here | |
6959 | from config/rs6000/tm-rs6000.h. | |
6960 | (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise. | |
6961 | * config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration. | |
6962 | (TEXT_SEGMENT_BASE): Remove. | |
6963 | (IN_SOLIB_RETURN_TRAMPOLINE): Remove. | |
6964 | (rs6000_in_solib_return_trampoline): Remove. | |
6965 | (SKIP_TRAMPOLINE_CODE): Remove. | |
6966 | (rs6000_skip_trampoline_code): Remove. | |
6967 | (CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h. | |
6968 | (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise. | |
6969 | (FP0_REGNUM): Remove. | |
6970 | (rs6000_find_toc_address_hook): Move to rs6000-tdep.h. | |
6971 | (rs6000_set_host_arch_hook): Remove. | |
6972 | * Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h). | |
6973 | (rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h). | |
6974 | * ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base. | |
6975 | * rs6000-aix-tdep.c: Include "ppc-tdep.h". | |
6976 | (rs6000_aix_init_osabi): Set text_segment_base tdep field. | |
6977 | * rs6000-nat.c: Include "rs6000-tdep.h". | |
6978 | (exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field. | |
6979 | (set_host_arch): Rename to ... | |
6980 | (rs6000_create_inferior): ... this. Make public. | |
6981 | (_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook. | |
6982 | * rs6000-tdep.c (rs6000_set_host_arch_hook): Remove. | |
6983 | (rs6000_create_inferior): Remove. | |
6984 | (branch_dest): Replace TEXT_SEGMENT_BASE by tdep field. | |
6985 | (rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum, | |
6986 | set_gdbarch_in_solib_return_trampoline, and | |
6987 | set_gdbarch_skip_trampoline_code. | |
6988 | * rs6000-tdep.h (rs6000_find_toc_address_hook): Move here | |
6989 | from config/rs6000/tm-rs6000.h. | |
6990 | ||
63050a44 | 6991 | 2007-02-27 Joel Brobecker <brobecker@adacore.com> |
05279ca0 JB |
6992 | |
6993 | * buildsym.c (record_producer): Do nothing if no producer is provided. | |
6994 | ||
63050a44 | 6995 | 2007-02-27 Nick Roberts <nickrob@snap.net.nz> |
e0b75a46 NR |
6996 | |
6997 | * varobj.c (varobj_update): Remove unused local. Use gdb_assert | |
6998 | to check changelist is non-NULL. Call error if the frontend tries | |
6999 | to update a non-root variable. | |
7000 | ||
7001 | * varobj.h (enum varobj_update_error): Delete WRONG_PARAM value. | |
7002 | ||
93d42b30 DJ |
7003 | 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
7004 | ||
7005 | * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id) | |
7006 | (dwarf2_frame_sniffer): Update. | |
7007 | (dwarf2_signal_frame_this_id): New function. | |
7008 | (dwarf2_signal_frame_unwind): Use it. | |
7009 | (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block. | |
7010 | * frame.c (frame_func_unwind): Add this_type argument. | |
7011 | (get_frame_func): Update. | |
7012 | (frame_unwind_address_in_block): Add this_type argument and check it. | |
7013 | Fix a typo. | |
7014 | (get_frame_address_in_block): Update. | |
7015 | * frame.h (enum frame_type): Move higher in the file. | |
7016 | (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type | |
7017 | argument. | |
7018 | ||
7019 | * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c, | |
7020 | arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c, | |
7021 | hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c, | |
7022 | libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c, | |
7023 | m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c, | |
7024 | mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c, | |
7025 | score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c, | |
7026 | sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c, | |
7027 | xstormy16-tdep.c, xtensa-tdep.c: Update calls to | |
7028 | frame_func_unwind and frame_unwind_address_in_block to specify | |
7029 | the frame type. Use frame_unwind_address_in_block instead of | |
7030 | frame_pc_unwind in sniffers. | |
7031 | ||
206415a3 DJ |
7032 | 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
7033 | ||
7034 | * frame.c (deprecated_selected_frame): Rename to... | |
7035 | (selected_frame): ...this. Make static. | |
7036 | (get_selected_frame, select_frame): Update. | |
7037 | * frame.h (deprected_select_frame): Delete. | |
7038 | (deprecated_safe_get_selected_frame): Update comments. | |
7039 | ||
7040 | * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c, | |
7041 | infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c, | |
7042 | tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c, | |
7043 | parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c, | |
7044 | tui/tui.c: Replace references to deprecated_selected_frame. | |
7045 | ||
7313566f FF |
7046 | 2007-02-27 Fred Fish <fnf@specifix.com> |
7047 | ||
7048 | * rs6000-tdep.c (skip_prologue): Recognize addi instructions that | |
7049 | directly decrement the stack pointer, accumulate their operand into | |
7050 | the stack offset, and mark the function as not being frameless. | |
7051 | ||
b6d373df DJ |
7052 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
7053 | ||
7054 | * arch-utils.c (selected_byte_order): New. | |
7055 | * arch-utils.h (selected_byte_order): New prototype. | |
7056 | * remote-sim.c (gdbsim_open): Use selected_byte_order. | |
7057 | ||
2711e456 DJ |
7058 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
7059 | ||
7060 | * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA. | |
7061 | (default_symfile_offsets): Check VMA here. Update section VMAs. | |
7062 | ||
baef701f DJ |
7063 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
7064 | ||
7065 | * remote.c (init_remote_state): Add special handling for placeholder | |
7066 | registers. | |
7067 | ||
05a4558a DJ |
7068 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
7069 | ||
7070 | * Makefile.in (XMLFILES): Include $(TDEP_XML). | |
7071 | (filenames_h): New variable. | |
7072 | (clean): Clean up xml-builtin.c and stamp-xml. | |
7073 | (arm-linux-nat.o): Update. | |
7074 | * config/arm/linux.mh (TDEP_XML): Define. | |
7075 | * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. | |
7076 | (arm_linux_has_wmmx_registers): New. | |
7077 | (GET_THREAD_ID): Fix typo. | |
7078 | (IWMMXT_REGS_SIZE): Define. | |
7079 | (fetch_wmmx_regs, store_wmmx_regs): New. | |
7080 | (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs. | |
7081 | (arm_linux_store_inferior_registers): Use store_wmmx_regs. | |
7082 | (super_xfer_partial, arm_linux_xfer_partial): New. | |
7083 | (_initialize_arm_linux_nat): Use them. | |
7084 | * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT. | |
7085 | (xml_builtin_xfer_partial): New function. | |
7086 | * xml-support.h (xml_builtin_xfer_partial): New prototype. | |
7087 | * NEWS: Update mention of iWMMXt support. | |
7088 | ||
ff6f572f DJ |
7089 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
7090 | ||
7091 | * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves | |
7092 | if there are no FPA registers. | |
7093 | (arm_dwarf_reg_to_regnum): New function. | |
7094 | (arm_register_type, arm_register_name): Return minimal values for | |
7095 | unsupported registers. | |
7096 | (arm_register_sim_regno): Handle iWMMXt registers. | |
7097 | (arm_gdbarch_init): Record missing FPA registers if indicated by | |
7098 | a target description. Recognize iWMMXt registers. Only register | |
7099 | "info float" for FPA. Use ARM_NUM_REGS. Register | |
7100 | arm_dwarf_reg_to_regnum. | |
7101 | * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt | |
7102 | constants. | |
7103 | (struct gdbarch_tdep): Add have_fpa_registers. | |
7104 | * features/xscale-iwmmxt.xml: Update capitalization. | |
7105 | * regformats/arm-with-iwmmxt.dat: Regenerated. | |
7106 | ||
c077150c KB |
7107 | 2007-02-24 Kevin Buettner <kevinb@redhat.com> |
7108 | ||
7109 | * NEWS (New targets): Add entry for the Toshiba Media Processor. | |
7110 | ||
01c996c1 KB |
7111 | 2007-02-23 Kevin Buettner <kevinb@redhat.com> |
7112 | ||
7113 | * MAINTAINERS (mep): New target. | |
7114 | ||
aeb43123 KB |
7115 | 2007-02-23 Kevin Buettner <kevinb@redhat.com> |
7116 | ||
7117 | From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and | |
7118 | Richard Sandiford: | |
7119 | * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables. | |
7120 | (mep-tdep.o): New rule. | |
7121 | * configure.tgt (mep-*-*): New target. | |
7122 | * mep-tdep.c: New file. | |
7123 | * config/mep/mep.mt: New file. | |
7124 | ||
115d86cf UW |
7125 | 2007-02-22 Markus Deuling <deuling@de.ibm.com> |
7126 | ||
7127 | * infrun.c (inferior_stop_reason, print_stop_reason): Remove | |
7128 | BREAKPOINT_HIT and STOP_UNKNOWN. | |
7129 | ||
fef862e5 UW |
7130 | 2007-02-22 Markus Deuling <deuling@de.ibm.com> |
7131 | ||
7132 | * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT. | |
7133 | ||
9a7d5afb JB |
7134 | 2007-02-20 Joel Brobecker <brobecker@adacore.com> |
7135 | ||
7136 | * gdb_expat.h (XMLCALL): Define if not already defined. | |
7137 | ||
81de920d AS |
7138 | 2007-02-20 Andreas Schwab <schwab@suse.de> |
7139 | ||
7140 | * Makefile.in (symfile.o): Update dependencies. | |
7141 | ||
cb5c8c39 DJ |
7142 | 2007-02-20 Daniel Jacobowitz <dan@codesourcery.com> |
7143 | ||
7144 | * MAINTAINERS: Disable -Werror for cris simulator. Build | |
7145 | sparc64-solaris2.10 instead of the broken sparc-elf. | |
7146 | * solib-frv.c: Include "solib.h". | |
7147 | * Makefile.in (solib-frv.o): Update. | |
7148 | * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch. | |
7149 | * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int. | |
7150 | (xtensa_frame_this_id, xtensa_frame_prev_register) | |
7151 | (xtensa_push_dummy_call): Use %p. | |
7152 | ||
e6bb342a DJ |
7153 | 2007-02-16 Daniel Jacobowitz <dan@codesourcery.com> |
7154 | ||
7155 | * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, | |
7156 | ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c, | |
7157 | sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". | |
7158 | * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o) | |
7159 | (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o) | |
7160 | (sparc-linux-tdep.o): Update. | |
7161 | ||
ff7a4c00 MG |
7162 | 2007-02-15 Maxim Grigoriev <maxim2405@gmail.com> |
7163 | ||
7164 | * xtensa-tdep.h (xtensa_reg_mask_t): New. | |
7165 | (xtensa_mask_t): Change mask field to be a separate array. | |
7166 | * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read) | |
7167 | (xtensa_pseudo_register_write, xtensa_unwind_pc) | |
7168 | (xtensa_unwind_dummy_id, xtensa_push_dummy_call) | |
7169 | (xtensa_breakpoint_from_pc): Remove implicit type casting. | |
7170 | * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5) | |
7171 | (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13) | |
7172 | (mask14, mask15): Rename to | |
7173 | (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3) | |
7174 | (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7) | |
7175 | (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11) | |
7176 | (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this. | |
7177 | (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3) | |
7178 | (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7) | |
7179 | (xtensa_submask8, xtensa_submask9, xtensa_submask10) | |
7180 | (xtensa_submask11, xtensa_submask12, xtensa_submask13) | |
7181 | (xtensa_submask14, xtensa_submask15): New. | |
7182 | (rmap): Follow strict aliasing rules doing static initialization. | |
7183 | ||
d9cc5895 DJ |
7184 | 2007-02-13 Daniel Jacobowitz <dan@codesourcery.com> |
7185 | ||
7186 | * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr | |
7187 | handling from here... | |
7188 | (tdesc_register_type): ...to here. | |
7189 | * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr. | |
7190 | * features/arm-core.xml: Use code_ptr and data_ptr. | |
7191 | ||
8756216b DP |
7192 | 2007-02-13 Denis Pilat <denis.pilat@st.com> |
7193 | ||
7194 | * varobj.h (enum varobj_update_error): New enum. | |
7195 | * varobj.c (struct varobj_root): Add is_valid member. | |
7196 | (varobj_get_type): Check for invalid varobj. | |
7197 | (varobj_get_attributes): Likewise. | |
7198 | (variable_editable):Likewise. | |
7199 | (varobj_update): Likewise. Use varobj_update_error. | |
7200 | (new_root_variable): Set root varobj as valid by default. | |
7201 | (varobj_invalidate): New function. | |
7202 | * symfile.c (clear_symtab_users): Use varobj_invalidate. | |
7203 | * mi/mi-cmd-var.c (varobj_update_one): Change return type to void. | |
7204 | Use varobj_update_error. | |
7205 | ||
fe8e67fd PM |
7206 | 2007-02-12 Pierre Muller <muller@ics.u-strasbg.fr> |
7207 | ||
7208 | Fix PR pascal/2223. | |
7209 | * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as | |
7210 | Pascal language marker. | |
7211 | * dwarf2read.c (set_cu_language): Likewise. | |
7212 | ||
c44537cf CV |
7213 | 2007-02-12 Corinna Vinschen <vinschen@redhat.com> |
7214 | ||
7215 | * win32-nat.c (win32_wait): Reset terminal pgrp to GDB. | |
7216 | (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp | |
7217 | instead of target_terminal_init since inferior_ptid isn't set yet. | |
7218 | ||
20dad8ea PA |
7219 | 2007-02-10 Pedro Alves <pedro_alves@portugalmail.pt> |
7220 | ||
7221 | * MAINTAINERS (Write After Approval): Add myself. | |
7222 | ||
4ac94eda FF |
7223 | 2007-02-09 Fred Fish <fnf@specifix.com> |
7224 | ||
7225 | Based on work by Apple Computer, Inc. | |
7226 | * event-top.c (async_request_quit): Call quit() whenever either | |
7227 | quit_flag is set or immediate_quit is set. | |
7228 | ||
b260b6c1 GDR |
7229 | 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net> |
7230 | ||
7231 | * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's | |
7232 | type to a pointer to const struct block. | |
7233 | (ada_lookup_symbol_list): Don't cast away constness when calling | |
7234 | remove_out_of_scope_renamings. | |
7235 | ||
7236 | 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net> | |
7237 | ||
7238 | * linux-nat.c (linux_nat_find_memory_regions): Don't check the | |
7239 | address of 'filename'; it is always non null. | |
7240 | ||
0f5d55d8 JB |
7241 | 2007-02-09 Joel Brobecker <brobecker@adacore.com> |
7242 | ||
7243 | * exec.c (add_to_section_table): Do not discard empty sections. | |
7244 | ||
fb1e4ffc DJ |
7245 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
7246 | ||
7247 | * features/Makefile, features/arm-with-iwmmxt.xml, | |
7248 | features/gdbserver-regs.xsl, features/number-regs.xsl, | |
7249 | features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files. | |
7250 | * regformats/arm-with-iwmmxt.dat: Generate. | |
7251 | * NEWS: Mention iWMMXt. | |
7252 | ||
123dc839 DJ |
7253 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
7254 | ||
7255 | * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o) | |
7256 | (xml-tdesc.o): Update. | |
7257 | * xml-support.c: Add a comment. | |
7258 | (gdb_xml_enums_boolean): New variable. | |
7259 | (gdb_xml_parse_attr_enum): Use strcasecmp. | |
7260 | * xml-support.h (gdb_xml_enums_boolean): Declare. | |
7261 | * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature, | |
7262 | next_regnum, and current_union. | |
7263 | (tdesc_start_feature, tdesc_start_reg, tdesc_start_union) | |
7264 | (tdesc_end_union, tdesc_start_field, tdesc_start_vector) | |
7265 | (field_attributes, union_children, reg_attributes, union_attributes) | |
7266 | (vector_attributes, feature_attributes, feature_children): New. | |
7267 | (target_children): Make static. Add <feature>. | |
7268 | (tdesc_elements): Make static. | |
7269 | * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p) | |
7270 | (struct tdesc_feature, tdesc_feature_p): New types. | |
7271 | (struct target_desc): Add features member. | |
7272 | (struct tdesc_arch_data, tdesc_data): New. | |
7273 | (target_find_description): Clarify error message. Warn about | |
7274 | ignored register descriptions. | |
7275 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) | |
7276 | (tdesc_named_type, tdesc_data_init, tdesc_data_alloc) | |
7277 | (tdesc_data_cleanup, tdesc_numbered_register) | |
7278 | (tdesc_numbered_register_choices, tdesc_find_register) | |
7279 | (tdesc_register_name, tdesc_register_type) | |
7280 | (tdesc_remote_register_number, tdesc_register_reggroup_p) | |
7281 | (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type) | |
7282 | (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers) | |
7283 | (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature) | |
7284 | (tdesc_create_feature, tdesc_record_type): New. | |
7285 | (free_target_description): Free features. | |
7286 | (_initialize_target_descriptions): Initialize tdesc_data. | |
7287 | * arch-utils.c (default_remote_register_number): New. | |
7288 | * arch-utils.h (default_remote_register_number): New prototype. | |
7289 | * target-descriptions.h (set_tdesc_pseudo_register_name) | |
7290 | (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p) | |
7291 | (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup) | |
7292 | (tdesc_numbered_register, tdesc_numbered_register_choices) | |
7293 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) | |
7294 | (tdesc_named_type, tdesc_create_feature, tdesc_record_type) | |
7295 | (tdesc_create_reg): Declare. | |
7296 | * gdbarch.sh (remote_register_number): New entry. | |
7297 | * gdbarch.c, gdbarch.h: Regenerate. | |
7298 | * remote.c (init_remote_state): Use gdbarch_remote_register_number. | |
7299 | * features/gdb-target.dtd: Add feature, reg, vector, union, and field. | |
7300 | ||
7301 | * arm-tdep.c (arm_register_aliases): New. | |
7302 | (arm_register_name_strings): Rename to... | |
7303 | (arm_register_names): ...this. Make const. Delete the old version. | |
7304 | (current_option, arm_register_byte): Delete. | |
7305 | (set_disassembly_style): Simplify. Do not adjust arm_register_names. | |
7306 | (value_of_arm_user_reg): New. | |
7307 | (arm_gdbarch_init): Verify any described registers. Call | |
7308 | tdesc_use_registers. Don't use arm_register_byte. Create aliases | |
7309 | for standard register names. | |
7310 | (_initialize_arm_tdep): Do not adjust arm_register_names. | |
7311 | * user-regs.c (struct user_reg): Add baton member. | |
7312 | (append_user_reg, user_reg_add_builtin, user_regs_init) | |
7313 | (user_reg_add, value_of_user_reg): Use a baton for user | |
7314 | register functions. | |
7315 | * std-regs.c: Update. | |
7316 | * user-regs.h (user_reg_read_ftype, user_reg_add_builtin) | |
7317 | (user_reg_add): Add baton argument. | |
7318 | * NEWS: Mention target description register support. | |
7319 | * features/arm-core.xml, features/arm-fpa.xml: New. | |
7320 | * eval.c (evaluate_subexp_standard): Allow ptype $register | |
7321 | when the program is not running. | |
7322 | ||
87604222 NR |
7323 | 2007-02-09 Nick Roberts <nickrob@snap.net.nz> |
7324 | ||
7325 | * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field. | |
7326 | ||
ee4f0f76 DJ |
7327 | 2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com> |
7328 | ||
7329 | * rs6000-tdep.c (gdb_print_insn_powerpc): Set | |
7330 | info->disassembler_options to "any". | |
7331 | ||
7af9851d DJ |
7332 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
7333 | ||
7334 | * varobj.c (install_new_value): Only call value_get_print_value | |
7335 | if changeable. | |
7336 | ||
8944021f DJ |
7337 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
7338 | ||
7339 | Reported by timeless@gmail.com: | |
7340 | * gdb/target.c (target_flash_erase): Do not return void value. | |
7341 | (target_flash_done): Likewise. | |
7342 | * gdb/cli/cli-cmds.c (source_command): Likewise. | |
7343 | ||
7344 | 2007-02-08 Fred Fish <fnf@specifix.com> | |
5f960e00 | 7345 | |
4ac94eda | 7346 | Based on work by Apple Computer, Inc. |
5f960e00 FF |
7347 | * event-top.c (handle_sigint): Set quit_flag. |
7348 | (async_request_quit): Don't set quit_flag. Avoid calling quit() | |
7349 | if quit_flag has already been reset. | |
7350 | ||
4998c1df DJ |
7351 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
7352 | ||
7353 | * ser-mingw.c (pipe_windows_close): Move variable initialization back | |
7354 | up. | |
7355 | ||
79da184e FF |
7356 | 2007-02-08 Fred Fish <fnf@specifix.com> |
7357 | ||
7358 | * defs.h (request_quit): Remove declaration. | |
7359 | * utils.c (request_quit): Remove definition. | |
7360 | ||
3c77c82a DJ |
7361 | 2007-02-08 Joel Brobecker <brobecker@gnat.com> |
7362 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
7363 | Daniel Jacobowitz <dan@codesourcery.com> | |
7364 | ||
7365 | * rs6000-tdep.c (bl_to_blrl_insn_p): New function. | |
7366 | (skip_prologue): Allow bl->blrl used by PIC code. | |
7367 | ||
c1b6e682 DJ |
7368 | 2007-02-08 Mark Kettenis <kettenis@gnu.org> |
7369 | Daniel Jacobowitz <dan@codesourcery.com> | |
7370 | ||
7371 | * cp-valprint.c (cp_print_value_fields, cp_print_value): Always | |
7372 | initialize tmp_obstack. | |
7373 | * p-valprint.c (pascal_object_print_value_fields) | |
7374 | (pascal_object_print_value): Likewise. | |
7375 | ||
fe5dedf4 DJ |
7376 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
7377 | ||
7378 | * features/feature_to_c.sh: Use %s to avoid problems with nawk. | |
7379 | ||
3e461478 MK |
7380 | 2007-02-08 Mark Kettenis <kettenis@gnu.org> |
7381 | ||
7382 | * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". | |
7383 | * Makefile.in (sparcnbsd-tdep.o): Update dependencies. | |
7384 | ||
fc6e0168 DJ |
7385 | 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
7386 | ||
7387 | * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s) | |
7388 | (xml_cache): New. | |
7389 | (tdesc_parse_xml): Cache expanded descriptions. | |
7390 | ||
108546a0 DJ |
7391 | 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
7392 | ||
7393 | * Makefile.in (XMLFILES): New. | |
7394 | (COMMON_OBS): Add xml-builtin.o. | |
7395 | (xml-builtin.c, stamp-xml): New rules. | |
7396 | (xml-tdesc.o): Update. | |
7397 | * features/feature_to_c.sh: New file. | |
7398 | * xml-support.c (MAX_XINCLUDE_DEPTH): Define. | |
7399 | (struct gdb_xml_parser): Add dtd_name and is_xinclude. | |
7400 | (gdb_xml_start_element): Initialize scope after possibly reallocating | |
7401 | scopes. Move cleanup later. Handle the XInclude description | |
7402 | specially. | |
7403 | (gdb_xml_end_element): Only parse the body if there is a current element. | |
7404 | Call XML_DefaultCurrent if there is no element. | |
7405 | (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New. | |
7406 | (struct xinclude_parsing_data, xinclude_start_include) | |
7407 | (xinclude_end_include, xml_xinclude_default) | |
7408 | (xml_xinclude_start_doctype, xml_xinclude_end_doctype) | |
7409 | (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes) | |
7410 | (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New. | |
7411 | * xml-support.h (xml_fetch_another, xml_process_xincludes) | |
7412 | (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations. | |
7413 | * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand | |
7414 | XInclude directives. Use the compiled in DTD. | |
7415 | (fetch_xml_from_file): Add baton argument. Treat it as a containing | |
7416 | directory name. Do not warn here. | |
7417 | (file_read_description_xml): Update call. Warn here instead. Pass | |
7418 | a dirname as baton. | |
7419 | (fetch_available_features_from_target): New. | |
7420 | (target_read_description_xml): Use it. | |
7421 | * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd | |
7422 | to handle XInclude. | |
7423 | * features/xinclude.dtd: New file. | |
7424 | ||
b5057acd DJ |
7425 | 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com> |
7426 | ||
7427 | * linux-thread-db.c (check_for_thread_db): Return early if we have | |
7428 | no libthread_db support. | |
7429 | ||
6a089cf2 DJ |
7430 | 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com> |
7431 | ||
7432 | * mi/mi-parse.h: Include <sys/time.h>. | |
7433 | ||
9fbcbb40 NR |
7434 | 2007-02-05 Nick Roberts <nickrob@snap.net.nz> |
7435 | ||
7436 | * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print | |
7437 | instead of print_variable_value to print values. | |
7438 | ||
b3d2152a NR |
7439 | 2007-02-03 Nick Roberts <nickrob@snap.net.nz> |
7440 | ||
7441 | * mi/mi-main.c: Numerous formatting changes. | |
7442 | (mi_cmd_data_write_register_values): Replace clause inadvertantly | |
7443 | removed in my previous change. | |
7444 | ||
79f0a97a NR |
7445 | 2007-02-03 Eli Zaretskii <eliz@gnu.org> |
7446 | ||
7447 | * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now): | |
7448 | Use 1000000L instead of 1000000. | |
7449 | ||
95a98c01 | 7450 | 2007-02-03 Nick Roberts <nickrob@snap.net.nz> |
cd375699 NR |
7451 | |
7452 | Based on work by Apple Computer, Inc. | |
7453 | ||
7454 | * configure.ac: Test for sys/resource.h and getrusage. | |
7455 | * configure, config.in: Regenerate. | |
7456 | ||
7457 | * mi/mi-main.c: Include <sys/resource.h> if present. | |
7458 | (rusage): Declare if HAVE_GETRUSAGE. | |
7459 | (current_command_ts, do_timings): New static variables. | |
7460 | (timestamp, print_diff_now, print_diff, timeval_diff): | |
7461 | New static timing functions. | |
7462 | (mi_cmd_enable_timings): New function for new MI command. | |
7463 | (captured_mi_execute_command, mi_execute_async_cli_command): | |
7464 | Call timing functions. | |
7465 | ||
7466 | * mi/mi-cmds.c (mi_cmds): Add entry for new MI command | |
7467 | -enable-timings. | |
7468 | ||
7469 | * mi/mi-cmds.h (mi_cmd_enable_timings): New extern. | |
7470 | ||
7471 | * mi/mi-parse.h: (mi_timestamp): New structure. | |
7472 | (mi_parse): Add mi_timestamp* member. | |
7473 | ||
99b3d574 DP |
7474 | 2007-02-02 Denis Pilat <denis.pilat@st.com> |
7475 | ||
7476 | * thread.c (make_cleanup_restore_current_thread): New function. | |
7477 | (info_threads_command): Use of make_cleanup_restore_current_thread | |
7478 | to restore the current thread and the selected frame. | |
7479 | (restore_selected_frame): New function. | |
7480 | (struct current_thread_cleanup): Add frame_id field. | |
7481 | (do_restore_current_thread_cleanup): Add restoring of the selected | |
7482 | frame. | |
7483 | (make_cleanup_restore_current_thread): Likewise. | |
7484 | (thread_apply_all_command): backup the selected frame while | |
7485 | entering the function and restore it at exit. | |
7486 | (thread_apply_command): Likewise. | |
7487 | ||
d3c598de DP |
7488 | 2007-02-02 Denis Pilat <denis.pilat@st.com> |
7489 | ||
7490 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
7491 | ||
b69733ab | 7492 | 2007-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
3e41d55f KI |
7493 | |
7494 | * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask. | |
7495 | (m32r_store_register): Ditto. | |
7496 | ||
b69733ab | 7497 | 2007-01-30 Vladimir Prus <vladimir@codesourcery.com> |
ef7723eb VP |
7498 | |
7499 | * ser-mingw.c (pipe_windows_open) | |
7500 | (pipe_windows_read, pipe_windows_write): Declare | |
7501 | variables at the top of the function. | |
7502 | ||
8da61cc4 DJ |
7503 | 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com> |
7504 | ||
7505 | * doublest.c (floatformat_from_length): Use the right element from | |
7506 | gdbarch floatformats. | |
7507 | (floatformat_from_type, extract_typed_floating) | |
7508 | (store_typed_floating): Likewise. | |
7509 | * doublest.h: Remove declarations for undefined floatformat arrays. | |
7510 | * gdbarch.sh (float_format, double_format, long_double_format): Change | |
7511 | to pairs. | |
7512 | (pformat): Update for pairs. | |
7513 | * gdbarch.c, gdbarch.h: Regenerated. | |
7514 | * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double) | |
7515 | (floatformats_ieee_double_littlebyte_bigword) | |
7516 | (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext) | |
7517 | (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f) | |
7518 | (floatformats_vax_d): New variables. | |
7519 | (builtin_type_ieee_single, builtin_type_ieee_double) | |
7520 | (builtin_type_arm_ext, builtin_type_ia64_spill) | |
7521 | (builtin_type_ia64_quad): Replace arrays with individual types. | |
7522 | (builtin_type_ieee_single_big, builtin_type_ieee_single_little) | |
7523 | (builtin_type_ieee_double_big, builtin_type_ieee_double_little) | |
7524 | (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext) | |
7525 | (builtin_type_m88110_ext, builtin_type_m88110_harris_ext) | |
7526 | (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword) | |
7527 | (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little) | |
7528 | (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete | |
7529 | unused and endian-specific types. | |
7530 | (recursive_dump_type): Update for floatformat pairs. | |
7531 | (build_flt): Move higher. Handle bit == -1. Take a floatformat pair. | |
7532 | (build_gdbtypes): Use build_flt. | |
7533 | (_initialize_gdbtypes): Update set of initialized types. | |
7534 | * gdbtypes.h: Update declarations to match gdbtypes.c. | |
7535 | (struct main_type): Store a pointer to two floatformats. | |
7536 | * arch-utils.c (default_float_format, default_double_format): Delete. | |
7537 | * arch-utils.h (default_float_format, default_double_format): Delete. | |
7538 | ||
7539 | * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, | |
7540 | ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c, | |
7541 | mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c, | |
7542 | sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c, | |
7543 | vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update. | |
7544 | ||
87680a14 JB |
7545 | 2007-01-29 Joel Brobecker <brobecker@adacore.com> |
7546 | ||
7547 | * target.c (maintenance_print_target_stack): New function. | |
7548 | (initialize_targets): Add new "maintenance print target-stack" | |
7549 | command. | |
7550 | ||
1c3d648d MK |
7551 | 2007-01-28 Mark Kettenis <kettenis@gnu.org> |
7552 | ||
7553 | * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero. | |
7554 | ||
607269ae DJ |
7555 | 2007-01-27 Daniel Jacobowitz <dan@codesourcery.com> |
7556 | ||
7557 | * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long. | |
7558 | (struct dwarf2_loclist_baton): Likewise. | |
7559 | ||
40c03ae8 EZ |
7560 | 2007-01-27 Eli Zaretskii <eliz@gnu.org> |
7561 | ||
7562 | * cli/cli-script.c: Include breakpoint.h. | |
7563 | (build_command_line): Require arguments only for if and while | |
7564 | commands. | |
7565 | (get_command_line, execute_user_command, execute_control_command): | |
7566 | Fix wording of warning messages. | |
7567 | (print_command_lines): Print breakpoint commands. | |
7568 | (execute_control_command): Call commands_from_control_command to | |
7569 | handle the `commands' command inside a body of a flow-control | |
7570 | command. | |
7571 | (read_next_line): Recognize the `commands' command and build a | |
7572 | command line structure for it. | |
7573 | (recurse_read_control_structure, read_command_lines): Handle | |
7574 | `commands' similarly to `if' and `while'. | |
7575 | ||
7576 | * breakpoint.c (get_number_trailer): Document the special meaning | |
7577 | of NULL as the first argument PP. | |
7578 | (commands_from_control_command): New function. | |
7579 | ||
7580 | * breakpoint.h (commands_from_control_command): Add prototype. | |
7581 | ||
7582 | * defs.h (commands_control): New enumerated value for enum | |
7583 | command_control_type. | |
7584 | ||
4b9eee8c JB |
7585 | 2007-01-26 Joel Brobecker <brobecker@adacore.com> |
7586 | ||
7587 | * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name. | |
7588 | (ada_exception_sal): Update accordingly. | |
7589 | ||
e1f48ead JK |
7590 | 2007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com> |
7591 | ||
7592 | * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs. | |
7593 | * NEWS: Describe CHAR array vs. string identifcation rules. | |
7594 | ||
e150acc7 PB |
7595 | 2007-01-25 Paul Brook <paul@codesourcery.com> |
7596 | ||
7597 | * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error. | |
7598 | ||
10fb19b6 JB |
7599 | 2007-01-24 Jim Blandy <jimb@codesourcery.com> |
7600 | ||
7601 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location | |
7602 | expression is empty, bother to return the 'optimized out' value we | |
7603 | construct. (Thanks to Carl Burch.) | |
7604 | ||
85d93f1d VP |
7605 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
7606 | ||
7607 | * varobj.c (c_value_of_root, c_value_of_child) | |
7608 | (cplus_describe_child): Don't call release_value. | |
7609 | ||
fcbd8a5c TS |
7610 | 2007-01-24 Thiemo Seufer <ths@mips.com> |
7611 | ||
7612 | * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct | |
7613 | initialization. | |
7614 | ||
2024f65a VP |
7615 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
7616 | ||
7617 | Refactor getting children name, value and type access | |
7618 | for varobjs in C++. | |
7619 | * varobj.c (get_type_deref): Remove. | |
7620 | (adjust_value_for_child_access): New. | |
7621 | (c_number_of_children): Use the above. | |
7622 | (c_describe_child): Likewise. | |
7623 | (enum accessibility): New. | |
7624 | (match_accessibility): New function. | |
7625 | (cplus_describe_child): New function. | |
7626 | (cplus_name_of_child, cplus_value_of_child) | |
7627 | (cplus_type_of_child): Reimplement in terms | |
7628 | of cplus_describe_child. | |
7629 | (cplus_number_of_children): Use | |
7630 | adjust_value_for_child_access. | |
7631 | ||
6e2a9270 VP |
7632 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
7633 | ||
7634 | Fix computation of the 'editable' attribute and | |
7635 | value changeability for for references. | |
7636 | * varobj.c (get_value_type): New function. | |
7637 | (c_variable_editable): Use get_value_type. | |
7638 | (varobj_value_is_changeable): Likewise. | |
7639 | ||
56163ce1 JB |
7640 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
7641 | ||
7642 | * source.c (find_and_open_source): Try rewriting the source | |
7643 | path inside filename if dirname is NULL. | |
7644 | ||
8c6860bb JB |
7645 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
7646 | ||
7647 | * dwarf2read.c (add_partial_symbol): Create an extra partial | |
7648 | symbol in the VAR_DOMAIN for Ada structures, unions or enums. | |
7649 | (new_symbol): Likewise for symbols. | |
7650 | ||
6db6d2ca NR |
7651 | 2007-01-24 Nick Roberts <nickrob@snap.net.nz> |
7652 | ||
7653 | * mi/mi-main.c (mi_cmd_execute): Call free_all_values. | |
7654 | ||
7d85ee02 VP |
7655 | 2007-01-23 Vladimir Prus <vladimir@codesourcery.com> |
7656 | ||
7657 | * value.c (value_primitive_field): Copy the full 'location' | |
7658 | contents, instead of assuming that copying ADDRESS will | |
7659 | bring over everything in the union. Remove obsolete comment. | |
7660 | ||
f79b9530 DJ |
7661 | 2007-01-23 Masaki Muranaka <monaka@monami-software.com> |
7662 | ||
7663 | * m32c-tdep.c (make_regs, m32c_analyze_prologue) | |
7664 | (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer) | |
7665 | (m32c_m16c_pointer_to_address): Separate code from declarations. | |
7666 | ||
08d8bcd7 DJ |
7667 | 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com> |
7668 | ||
7669 | * target.c (update_current_target): Correct typo. | |
7670 | ||
57fdbbbe CV |
7671 | 2007-01-22 Masaki Muranaka <monaka@monami-software.com> |
7672 | ||
7673 | * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a | |
7674 | declaration. | |
7675 | ||
58894217 JK |
7676 | 2007-01-11 Andrew Cagney <cagney@redhat.com> |
7677 | Daniel Jacobowitz <dan@codesourcery.com> | |
7678 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
7679 | ||
7680 | * dwarf2-frame.c (execute_cfa_program): New support of | |
7681 | `DW_CFA_GNU_negative_offset_extended'. | |
7682 | ||
9ebce043 DJ |
7683 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
7684 | ||
7685 | * NEWS: Mention flash support for "load" and new remote packets. | |
7686 | ||
973d738b DJ |
7687 | 2007-01-21 Markus Deuling <deuling@de.ibm.com> |
7688 | ||
7689 | * breakpoint.c (delete_command): Skip redundant loop iterations. | |
7690 | ||
7b9ee6a8 DJ |
7691 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
7692 | ||
7693 | * gdbarch.sh (register_type): Update comment. | |
7694 | * gdbarch.h: Regenerated. | |
7695 | * arch-utils.c (generic_register_size): Call register_type. | |
7696 | * ia64-tdep.c (ia64_extract_return_value): Likewise. | |
7697 | * m32c-tdep.c (check_for_saved): Likewise. | |
7698 | * mips-tdep.c (mips_print_register, print_gp_register_row) | |
7699 | (mips_print_registers_info): Likewise. | |
7700 | * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write): | |
7701 | Likewise. | |
7702 | * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write) | |
7703 | (sh64_do_register, sh64_print_register) | |
7704 | (sh64_media_print_registers_info): Likewise. | |
7705 | * tui/tui-regs.c (tui_register_format): Likewise. | |
7706 | ||
11309657 DJ |
7707 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
7708 | ||
7709 | * objfiles.h (ALL_PRIMARY_SYMTABS): Define. | |
7710 | ||
7711 | * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list) | |
7712 | (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS. | |
7713 | * cp-support.c (make_symbol_overload_list_qualified): Likewise. | |
7714 | * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
7715 | (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols) | |
7716 | (make_symbol_completion_list): Likewise. | |
7717 | ||
cb1df416 DJ |
7718 | 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
7719 | Daniel Jacobowitz <dan@codesourcery.com> | |
7720 | ||
7721 | * buildsym.c (end_symtab): Use preallocated symtab if available. | |
7722 | Fill in SYMBOL_SYMTAB. | |
7723 | * buildsym.h (struct subfile): Add symtab member. | |
7724 | * dwarf2read.c (struct dwarf2_cu): Add line_header. | |
7725 | (struct file_entry): Add symtab. | |
7726 | (free_cu_line_header): New function. | |
7727 | (read_file_scope): Use it. Save line_header in the cu. Process | |
7728 | lines before DIEs. | |
7729 | (add_file_name): Initialize new symtab member. | |
7730 | (dwarf_decode_lines): Create symtabs for included files. | |
7731 | (new_symbol): Set SYMBOL_SYMTAB. | |
7732 | * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB. | |
7733 | (search_symbols): Likewise. | |
7734 | * symtab.h (struct symbol): Add symtab member. | |
7735 | (SYMBOL_SYMTAB): Define. | |
7736 | ||
727da900 DJ |
7737 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
7738 | ||
7739 | * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO. | |
7740 | ||
7b6b9e83 DJ |
7741 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
7742 | ||
7743 | * arch-utils.c (show_endian): Correct reversed condition. | |
7744 | ||
e767400c JK |
7745 | 2007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
7746 | ||
7747 | * MAINTAINERS (Write After Approval): Add myself. | |
7748 | ||
b20d8971 VP |
7749 | 2007-01-16 Daniel Jacobowitz <dan@codesourcery.com> |
7750 | Vladimir Prus <vladimir@codesourcery.com> | |
7751 | ||
7752 | Fix 'selected frame' varobjs. | |
7753 | * varobj.c (struct varobj): Remove the error field. | |
7754 | (varobj_set_value): Don't check var->error. | |
7755 | (install_new_value): Don't set var->error. | |
7756 | (varobj_update): Always pass the new value | |
7757 | of the root via install_new_value. | |
7758 | (create_child): Don't set error field. | |
7759 | (new_variable): Likewise. | |
7760 | (c_value_of_root): Always reevaluate the value | |
7761 | of selected frame varobjs in the selected frame. | |
7762 | Don't call reinit_frame_cache. | |
7763 | ||
7ef2b397 JB |
7764 | 2007-01-15 Joel Brobecker <brobecker@adacore.com> |
7765 | ||
7766 | * source.c (_initialize_source): Improve the help text of | |
7767 | the substitute-path commands. | |
7768 | ||
1208538e MK |
7769 | 2007-01-14 Mark Kettenis <kettenis@gnu.org> |
7770 | ||
7771 | * frv-tdep.c (frv_gdbarch_init, frv_register_name) | |
7772 | (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address) | |
7773 | (frv_skip_prologue): Remove prototypes. | |
7774 | (frv_adjust_breakpoint_address): Renamed from | |
7775 | frv_gdbarch_adjust_breakpoint_address. | |
7776 | (frv_gdbarch_init): Adjust. | |
7777 | ||
765f065a MK |
7778 | 2007-01-13 Mark Kettenis <kettenis@gnu.org> |
7779 | ||
5e66aab2 MK |
7780 | * gdbarch.sh (deprecated_extract_return_value) |
7781 | (deprecated_store_return_value): Remove. | |
7782 | (extract_return_value, store_return_value): Remove default values. | |
7783 | * gdbarch.c, gdbarch.h: Regenerate. | |
7784 | * arch-utils.c, arch-utils.h (legacy_extract_return_value) | |
7785 | (legacy_store_return_value): Remove. | |
7786 | * regcache.c, regcache.h (deprecated_grub_regcache_for_registers): | |
7787 | Remove. | |
7788 | ||
56178203 MK |
7789 | * mi/mi-main.c: Remove obsolete comment. |
7790 | ||
23303b2e MK |
7791 | * regcache.c, regcache.h (deprecated_register_bytes) |
7792 | (deprecated_read_register_bytes) | |
7793 | (deprecated_write_register_bytes): Remove. | |
7794 | ||
765f065a MK |
7795 | * frame.c (get_frame_register_bytes, put_frame_register_bytes): |
7796 | Don't forget to move destination pointer. | |
7797 | ||
610acfff MK |
7798 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
7799 | ||
7800 | * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove. | |
7801 | ||
12102450 UW |
7802 | 2007-01-11 Ulrich Weigand <uweigand@de.ibm.com> |
7803 | ||
7804 | * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace | |
7805 | past entry function with recent newlib. | |
7806 | ||
c8b2f53c VP |
7807 | 2007-01-11 Vladimir Prus <vladimir@codesourcery.com> |
7808 | ||
7809 | * gdb.texinfo (GDB/MI Variable Objects): Improve the | |
7810 | introduction. Specify -var-update more exactly. | |
7811 | ||
d57df5e4 DJ |
7812 | 2007-01-11 Daniel Jacobowitz <dan@codesourcery.com> |
7813 | ||
7814 | * frame.c (get_prev_frame_1): Check PC_REGNUM before using it. | |
7815 | ||
03f597d5 JB |
7816 | 2007-01-10 Jim Blandy <jimb@codesourcery.com> |
7817 | ||
7818 | * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted | |
7819 | the Global Maintainers' invitation to be a global maintainer. | |
7820 | ||
fd48f117 DJ |
7821 | 2007-01-10 Daniel Jacobowitz <dan@codesourcery.com> |
7822 | ||
7823 | * infrun.c (singlestep_pc): New variable. | |
7824 | (resume): Set singlestep_pc. | |
7825 | (context_switch): Add a debugging message. Flush the frame cache. | |
7826 | (handle_inferior_event): Add debugging messages. Handle thread | |
7827 | hops when a software single step has completed. Let context_switch | |
7828 | handle flushing the frame cache. | |
7829 | ||
23181151 DJ |
7830 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
7831 | ||
7832 | * NEWS: Mention target descriptions, "set tdesc filename", | |
7833 | "unset tdesc filename", "show tdesc filename", and | |
7834 | qXfer:features:read. | |
7835 | * arch-utils.c (choose_architecture_for_target): New function. | |
7836 | (gdbarch_info_fill): Call it. | |
7837 | * target-descriptions.c (struct property): Make members non-const. | |
7838 | (struct target_desc): Add arch member. | |
7839 | (target_description_filename): New variable. | |
7840 | (target_find_description): Try via XML first. | |
7841 | (tdesc_architecture): New. | |
7842 | (free_target_description, make_cleanup_free_target_description): New. | |
7843 | (set_tdesc_property): Call xstrdup. | |
7844 | (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist) | |
7845 | (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd) | |
7846 | (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd) | |
7847 | (show_tdesc_filename_cmd, _initialize_target_descriptions): New. | |
7848 | * target-descriptions.h (tdesc_architecture) | |
7849 | (make_cleanup_free_target_description, set_tdesc_architecture): New | |
7850 | prototypes. | |
7851 | * Makefile.in (SFILES): Add xml-tdesc.c. | |
7852 | (COMMON_OBS): Add xml-tdesc.o. | |
7853 | (target-descriptions.o): Update. | |
7854 | (xml-tdesc.o): New rule. | |
7855 | * xml-tdesc.c, xml-tdesc.h: New files. | |
7856 | * remote.c (PACKET_qXfer_features): New enum. | |
7857 | (remote_protocol_features): Add qXfer:features:read. | |
7858 | (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES. | |
7859 | (_initialize_remote): Register qXfer:features:read. | |
7860 | * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES. | |
7861 | * features/gdb-target.dtd: New file. | |
7862 | ||
3e9cb5f4 DJ |
7863 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
7864 | ||
7865 | * copyright.sh: Clarify error. | |
7866 | ||
818f79f6 DJ |
7867 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
7868 | ||
7869 | * symtab.c (matching_bfd_sections): Fix VMA matching for | |
7870 | prelinked objects. | |
7871 | ||
f7a6bb70 DJ |
7872 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
7873 | ||
7874 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle | |
7875 | nested symbols. | |
7876 | ||
20ac0504 DJ |
7877 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
7878 | ||
7879 | Updated copyright notices for most files. | |
7880 | ||
85bb0718 DJ |
7881 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
7882 | ||
7883 | * copyright.sh (prunes): Add step-line.inp and step-line.c. | |
7884 | ||
aa28a74e DJ |
7885 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
7886 | ||
7887 | * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside | |
7888 | exec_prefix. | |
7889 | (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being | |
7890 | '${prefix}'. | |
7891 | * configure, config.in: Regenerate. | |
7892 | * defs.h (debug_file_directory): Declare. | |
7893 | * main.c (captured_main): Canonicalize gdb_sysroot. Assume | |
7894 | TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and | |
7895 | relocate it if DEBUGDIR_RELOCATABLE. | |
7896 | * symfile.c (debug_file_directory): Make non-static. | |
7897 | (find_separate_debug_file): Look for debug info for SYSROOT/PATH | |
7898 | in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT. | |
7899 | (_initialize_symfile): Don't initialize debug_file_directory here. | |
7900 | ||
1cfd2c3e JB |
7901 | 2007-01-09 Jim Blandy <jimb@codesourcery.com> |
7902 | ||
7903 | * score-tdep.c (score_push_dummy_call): Don't mix declarations and | |
7904 | statements. | |
7905 | ||
5efde112 DJ |
7906 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
7907 | ||
7908 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use | |
7909 | frame_unwind_register to recurse. | |
7910 | * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise. | |
7911 | (alpha_heuristic_frame_prev_register): Likewise. | |
7912 | * h8300-tdep.c (h8300_frame_prev_register): Likewise. | |
7913 | * m32c-tdep.c (m32c_prev_register): Likewise. | |
7914 | * frame.c (frame_register_unwind_location): Remove FIXME. | |
7915 | ||
4de1f557 DJ |
7916 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
7917 | Eli Zaretskii <eliz@gnu.org> | |
7918 | ||
7919 | * copyright.sh: New file. | |
7920 | ||
ca4ca11e DJ |
7921 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
7922 | ||
7923 | * configure.ac: Check for XML_StopParser. | |
7924 | * xml-support.c (gdb_xml_body_text): Check for an error. | |
7925 | (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser. | |
7926 | (gdb_xml_end_element_wrapper): Likewise. | |
7927 | * config.in, configure: Regenerated. | |
7928 | ||
57e66780 DJ |
7929 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
7930 | ||
7931 | * varobj.c (install_new_value): Always update print_value. | |
7932 | (value_get_print_value): Immediately return NULL for missing | |
7933 | values. | |
7934 | ||
b523a1fd JB |
7935 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
7936 | ||
7937 | * configure.ac: Tighten pattern for extracting value of | |
7938 | DEPRECATED_TM_FILE from the target makefile fragment. | |
7939 | * configure: Regenerated. | |
7940 | ||
3d799a95 DJ |
7941 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
7942 | ||
7943 | * linux-nat.c (struct simple_pid_list): Add status. | |
7944 | (add_to_pid_list): Record the PID's status. | |
7945 | (linux_record_stopped_pid): Likewise. Make static. | |
7946 | (pull_pid_from_list): Return the saved status. | |
7947 | (linux_nat_handle_extended): Deleted. | |
7948 | (linux_handle_extended_wait): Combine with linux_nat_handle_extended. | |
7949 | Make static. Handle non-SIGSTOP for a new thread's first signal. | |
7950 | (flush_callback): Handle unexpected pending signals. | |
7951 | (linux_nat_wait): Update calls to changed functions. | |
7952 | * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait): | |
7953 | Remove prototypes for newly static functions. | |
7954 | ||
9acbedc0 UW |
7955 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
7956 | ||
7957 | * gdbarch.sh (value_from_register): New gdbarch function. | |
7958 | * gdbarch.c, gdbarch.h: Regenerate. | |
7959 | * findvar.c (default_value_from_register): New function. | |
7960 | (value_from_register): Use gdbarch_value_from_register. | |
7961 | * value.h (default_value_from_register): Declare. | |
7962 | * spu-tdep.c (spu_convert_register_p, spu_register_to_value, | |
7963 | spu_value_to_register): Remove. | |
7964 | (spu_value_from_register): New function. | |
7965 | (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
7966 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
7967 | Call set_gdbarch_value_from_register. | |
7968 | * s390-tdep.c (s390_convert_register_p, s390_register_to_value, | |
7969 | s390_value_to_register): Remove. | |
7970 | (s390_value_from_register): New function. | |
7971 | (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
7972 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
7973 | Call set_gdbarch_value_from_register. | |
7974 | ||
f822c95b DJ |
7975 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
7976 | ||
7977 | * NEWS: Add "set sysroot" and "show sysroot". | |
7978 | * solib.c (solib_absolute_prefix): Delete. Replace | |
7979 | all uses with gdb_sysroot. | |
7980 | (_initialize_solib): Add "set sysroot" and "show sysroot". | |
7981 | Make "solib-absolute-prefix" an alias to it. | |
7982 | ||
00fa51f6 UW |
7983 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
7984 | ||
7985 | * frame.c (get_frame_register_bytes): New function. | |
7986 | (put_frame_register_bytes): Likewise. | |
7987 | * frame.h (get_frame_register_bytes): Declare. | |
7988 | (put_frame_register_bytes): Likewise. | |
7989 | * findvar.c (value_from_register): Always construct lval_register | |
7990 | values. Use get_frame_register_bytes. | |
7991 | * valops.c (value_assign): Use get_frame_register_bytes and | |
7992 | put_frame_register_bytes. | |
7993 | ||
a95c9d06 JB |
7994 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
7995 | ||
7996 | * MAINTAINERS: Update Stan Shebs' email address. | |
7997 | ||
4ed6b5be JB |
7998 | 2007-01-07 Joel Brobecker <brobecker@adacore.com> |
7999 | ||
8000 | * ada-lang.c (is_known_support_routine): Improve the implementation. | |
8001 | ||
9bbc9174 JB |
8002 | 2007-01-06 Joel Brobecker <brobecker@adacore.com> |
8003 | ||
8004 | * ada-lang.c: Add include of source.h. | |
8005 | (is_known_support_routine): Improve the check verifying that the file | |
8006 | associated to this frame exists. | |
8007 | * Makefile.in (ada-lang.o): Add dependency on source.h. | |
8008 | ||
44a81774 JB |
8009 | 2007-01-07 Jim Blandy <jimb@codesourcery.com> |
8010 | ||
8011 | * ax-general.c (ax_const_l): Select proper opcode for the given | |
8012 | value. | |
8013 | ||
fcd19eb1 | 8014 | 2007-01-05 Vladimir Prus <vladimir@codesourcery.com> |
6fe1a487 NR |
8015 | |
8016 | * varobj.c (c_value_of_root): Don't select frame if variable | |
8017 | object is out of scope. | |
8018 | ||
fcd19eb1 | 8019 | 2007-01-05 Nick Roberts <nickrob@snap.net.nz> |
3fa6deb5 NR |
8020 | |
8021 | * varobj.c (struct varobj): New member print_value. | |
8022 | (install_new_value): Compare last printed value with current one | |
8023 | instead of contents. | |
8024 | (new_variable): Initialize var->print_value to NULL. | |
8025 | (free_variable): Free var->print_value. | |
8026 | (value_get_print_value): New function derived from | |
8027 | c_value_of_variable. | |
8028 | (c_value_of_variable): Use value_get_print_value. | |
8029 | ||
92a56b20 JB |
8030 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
8031 | ||
8032 | * i386-tdep.c (i386_analyze_stack_align): Add comment. | |
8033 | ||
0e420bd8 JB |
8034 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
8035 | ||
8036 | * NEWS: Add entries for new catch commands. | |
8037 | ||
b69733ab | 8038 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
fa4028e9 JB |
8039 | |
8040 | * dwarf2read.c (partial_die_info): Add field has_byte_size. | |
8041 | (add_partial_symbol): Correct identification of external references. | |
8042 | (process_structure_scope): Likewise. | |
8043 | (read_partial_die): Handle DW_AT_byte_size attribute. | |
8044 | ||
8045 | 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com> | |
d097fa3e DJ |
8046 | |
8047 | * xml-support.c (gdb_xml_end_element): Remove wrong backslashes. | |
8048 | ||
8e38af42 NR |
8049 | 2007-01-05 Nick Roberts <nickrob@snap.net.nz> |
8050 | ||
8051 | * varobj.c (get_type_deref): Fix variable objects for references to | |
8052 | pointers. | |
8053 | ||
d1c79ecd DJ |
8054 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
8055 | ||
8056 | * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs | |
8057 | with no symbols. | |
8058 | ||
e776119f DJ |
8059 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
8060 | ||
8061 | * memory-map.c (struct_memory_map_parsing_data): Remove most | |
8062 | members. Make property_name an array. | |
8063 | (free_memory_map_parsing_data, memory_map_start_element) | |
8064 | (memory_map_end_element, memory_map_character_data): Delete. | |
8065 | (memory_map_start_memory, memory_map_end_memory) | |
8066 | (memory_map_start_property, memory_map_end_property): New functions. | |
8067 | (property_attributes, memory_children, memory_type_enum) | |
8068 | (memory_attributes, memory_map_children, memory_map_elements): New. | |
8069 | (parse_memory_map): Rewrite. | |
8070 | * xml-support.c (debug_xml): New. | |
8071 | (xml_get_required_attribute, xml_get_integer_attribute) | |
8072 | (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser): | |
8073 | Delete. | |
8074 | (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text) | |
8075 | (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup) | |
8076 | (gdb_xml_start_element, gdb_xml_start_element_wrapper) | |
8077 | (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup) | |
8078 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse) | |
8079 | (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest) | |
8080 | (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support): | |
8081 | New. | |
8082 | * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler) | |
8083 | (enum gdb_xml_attribute_flag, struct gdb_xml_attribute) | |
8084 | (enum gdb_xml_element_flag, struct gdb_xml_element) | |
8085 | (gdb_xml_element_start_handler, gdb_xml_element_end_handler) | |
8086 | (struct gdb_xml_enum): New. | |
8087 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug) | |
8088 | (gdb_xml_error, gdb_xml_parse_attr_ulongest) | |
8089 | (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes. | |
8090 | (xml_get_required_attribute, xml_get_integer_attribute) | |
8091 | (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes. | |
8092 | * Makefile.in (xml_support_h, xml-support.o): Update. | |
8093 | ||
5e572bb4 DJ |
8094 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
8095 | ||
8096 | * Makefile.in (eval.o): Update dependencies. | |
8097 | * eval.c: Include "ui-out.h" and "exceptions.h". | |
8098 | (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable. | |
8099 | Use value_zero if an error occurs when avoiding side effects. | |
8100 | * varobj.c (c_value_of_root): Initialize new_val. | |
8101 | ||
74a44383 DJ |
8102 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
8103 | ||
8104 | * varobj.c (varobj_list_children): Stop if the number of children is | |
8105 | unknown. | |
8106 | (c_number_of_children): | |
8107 | ||
e8d2d628 MK |
8108 | 2007-01-04 Mark Kettenis <kettenis@gnu.org> |
8109 | ||
8110 | * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE. | |
8111 | (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start) | |
8112 | (alpha_heuristic_frame_unwind_cache, alpha_next_pc) | |
8113 | (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and | |
8114 | sizeof, instead of hardcoded constants. | |
8115 | ||
c941839d DJ |
8116 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
8117 | ||
8118 | * CONTRIBUTE: Use sourceware.org. | |
8119 | ||
303b6f5d | 8120 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
2d0720d9 | 8121 | |
303b6f5d DJ |
8122 | * buildsym.c (start_subfile): Handle producer. |
8123 | (record_producer): New function. | |
8124 | * buildsym.h (struct subfile): Include producer. | |
8125 | (record_producer): New prototype. | |
8126 | * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation. | |
8127 | (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and | |
8128 | armcc_cfa_offsets_reversed. | |
8129 | (execute_cfa_program): Handle armcc_cfa_offsets_sf. | |
8130 | (dwarf2_frame_find_quirks): New function. | |
8131 | (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed. | |
8132 | (decode_frame_entry_1): Record the CIE version. Record the | |
8133 | augmentation. Skip armcc augmentations. | |
8134 | * dwarf2read.c (read_file_scope): Save the producer. | |
8135 | * symtab.h (struct symtab): Rename unused version member to | |
8136 | producer. | |
2d0720d9 | 8137 | |
aa79a185 DJ |
8138 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
8139 | ||
8140 | * configure.ac (build_warnings): Use -Wall and | |
8141 | -Wdeclaration-after-statement. | |
8142 | * configure: Regenerated. | |
8143 | ||
bbec2603 VP |
8144 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
8145 | ||
8146 | Simplify access to variours properties of child | |
8147 | variable objects in C. | |
8148 | * varobj.c (value_struct_element_index): New function. | |
8149 | (c_describe_child): New function. | |
8150 | (c_name_of_child, c_value_of_child) | |
8151 | (c_type_of_child): Rewrite to use c_describe_child. | |
8152 | ||
28335dcc VP |
8153 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
8154 | ||
8155 | gdb/ | |
8156 | * varobj.c: Include "vec.h". | |
8157 | (varobj_p): New typedef, declare vector of those. | |
8158 | (struct varobj): Use vector for the 'children' member. | |
8159 | (child_exists): Remove. | |
8160 | (save_child_in_parent): Remove. | |
8161 | (remove_child_from_parent): Remove. | |
8162 | (struct varobj_child): Remove. | |
8163 | (struct vstack): Remove. | |
8164 | (vpush, vpop): Remove. | |
8165 | (varobj_list_children): Adjust to work work vector. | |
8166 | (varobj_update): Likewise. Use vectors for | |
8167 | working stack and result. | |
8168 | (delete_variable_1): Likewise. | |
8169 | * Makefile.in (varobj.o): Update dependencies. | |
8170 | ||
b2c2bd75 VP |
8171 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
8172 | ||
8173 | Port from Apple's version. | |
8174 | gdb/ | |
8175 | * varobj.c (type_changeable): Rename to... | |
8176 | (varobj_value_is_changeable_p): ...this. Adjust all callers. | |
8177 | (is_root_p): New function. Use it everywhere. | |
8178 | ||
bdfb3870 JB |
8179 | 2007-01-04 Jim Blandy <jimb@codesourcery.com> |
8180 | ||
8181 | * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup', | |
8182 | then plain 'fixup'. | |
8183 | ||
5d15052e JB |
8184 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
8185 | ||
8186 | * hpread.c (hpread_start_psymtab): Remove unnecessary extern. | |
8187 | ||
53103997 JB |
8188 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
8189 | ||
8190 | * hpread.c (hpread_type_lookup): Fix compilation failure. | |
8191 | ||
27fd2f50 Q |
8192 | 2007-01-04 Qinwei <qinwei@sunnorth.com.cn> |
8193 | ||
8194 | * NEWS: New port to S+core. | |
8195 | * MAINTAINERS (Write After Approval, Responsible Maintainers): | |
8196 | Add myself. | |
8197 | ||
8198 | * Makefile.in: Add dependencies for S+core files. | |
8199 | * configure.tgt (score*, score-*-*): Add S+core target. | |
8200 | * config/score/embed.mt: New file. | |
8201 | * score-tdep.c: New file. | |
8202 | * score-tdep.h: New file. | |
8203 | ||
a6cfbe68 JB |
8204 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
8205 | ||
8206 | * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with | |
8207 | the appropriate type rather than a bogus void type. | |
8208 | ||
67cf15b7 | 8209 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
f7f9143b JB |
8210 | |
8211 | * ada-lang.h (ada_find_printable_frame): Remove. | |
8212 | (ada_exception_catchpoint_p, ada_decode_exception_location) | |
8213 | (ada_decode_assert_location): Add declaration. | |
8214 | * ada-lang.c: Add include of annotate.h and valprint.h. | |
8215 | (exception_catchpoint_kind): New enum. | |
8216 | (function_name_from_pc, is_known_support_routine) | |
8217 | (ada_find_printable_frame, ada_unhandled_exception_name_addr) | |
8218 | (ada_exception_name_addr_1, ada_exception_name_addr) | |
8219 | (print_it_exception, print_one_exception, print_mention_exception) | |
8220 | (print_it_catch_exception, print_one_catch_exception) | |
8221 | (print_mention_catch_exception, catch_exception_breakpoint_ops) | |
8222 | (print_it_catch_exception_unhandled) | |
8223 | (print_one_catch_exception_unhandled) | |
8224 | (print_mention_catch_exception_unhandled, print_it_catch_assert) | |
8225 | (print_one_catch_assert, print_mention_catch_assert) | |
8226 | (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found) | |
8227 | (ada_get_next_arg, catch_ada_exception_command_split) | |
8228 | (ada_exception_sym_name, ada_exception_sym_name) | |
8229 | (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string) | |
8230 | (ada_parse_catchpoint_condition, ada_exception_sal) | |
8231 | (ada_decode_exception_location) | |
8232 | (ada_decode_assert_location): New function. | |
8233 | (catch_exception_unhandled_breakpoint_ops): New global variable. | |
8234 | (catch_assert_breakpoint_ops): New global variable. | |
8235 | * breakpoint.c: Add include of ada-lang.h. | |
8236 | (print_one_breakpoint): Do not print the condition for Ada | |
8237 | exception catchpoints. | |
8238 | (create_ada_exception_breakpoint): New function. | |
8239 | (catch_ada_exception_command, catch_assert_command): New function. | |
8240 | (catch_command_1): Add support for the new "catch exception" and | |
8241 | "catch assert" commands. | |
8242 | (_initialize_breakpoint): Add help description for the new catch | |
8243 | commands. | |
8244 | * Makefile.in (ada-lang.o): Add dependency on annotate.h and | |
8245 | valprint.h. | |
8246 | (breakpoint.o): Add dependency on ada-lang.h. | |
8247 | ||
05cfdb42 DJ |
8248 | 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt> |
8249 | ||
8250 | * coffread.c (cs_to_section): If bfd_section is found, always | |
8251 | return its section index. | |
8252 | (coff_symtab_read): Determine the minimal_symbol_type using the | |
8253 | bfd_section flags. | |
8254 | ||
2e03ee74 DJ |
8255 | 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
8256 | Daniel Jacobowitz <dan@codesourcery.com> | |
8257 | ||
8258 | * Makefile.in (top.o): Update. | |
8259 | * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result) | |
8260 | (saved_after_char_processing_hook, gdb_readline_wrapper_line) | |
8261 | (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup): | |
8262 | New. | |
8263 | (gdb_readline_wrapper): Rewrite to use asynchronous readline. | |
8264 | ||
1c63d086 MK |
8265 | 2007-01-03 Mark Kettenis <kettenis@gnu.org> |
8266 | ||
8267 | * arm-linux-tdep.c (arm_linux_extract_return_value): Remove. | |
8268 | (arm_linux_init_abi): Don't set deprecated_extract_return_value. | |
8269 | ||
d5d6fca5 DJ |
8270 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
8271 | ||
8272 | * ada-lang.c (find_struct_field): Initialize *byte_offset_p. | |
8273 | * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i. | |
8274 | * c-typeprint.c (c_type_print_varspec_suffix): Don't test length | |
8275 | greater than or equal to zero. | |
8276 | * m2-typeprint.c (m2_array): Likewise. | |
8277 | * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise. | |
8278 | * gdbtypes.c (copy_type_recursive): Correct == typo. | |
8279 | * i386-tdep.c (i386_skip_prologue): Remove stray semicolon. | |
8280 | * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer | |
8281 | greater than zero. | |
8282 | * macroscope.c (sal_macro_scope): Don't name a local variable "main". | |
8283 | (default_macro_scope): Remove unused variable. | |
8284 | * prologue-value.h (pv_area_find_reg): Don't name an argument | |
8285 | "register". | |
8286 | * remote-fileio.c (remote_fio_func_map): Add missing braces. | |
8287 | * remote.c (sigint_remote_twice_token, sigint_remote_token): Change | |
8288 | type. | |
8289 | (cleanup_sigint_signal_handler): Remove casts. | |
8290 | * valprint.c (val_print): Use a volatile local for the modified | |
8291 | argument. | |
8292 | * varobj.c (languages): Remove extra array dimension. | |
8293 | (varobj_create): Correct access to languages array. | |
8294 | * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add | |
8295 | missing braces. | |
8296 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise. | |
8297 | * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise. | |
8298 | * mi/mi-getopt.c (mi_valid_noargs): Likewise. | |
8299 | * mi/mi-main.c (mi_cmd_data_read_memory): Likewise. | |
8300 | (mi_cmd_data_write_memory): Likewise. | |
8301 | * signals/signals.c (target_signal_to_string): Cast to int before | |
8302 | comparing. | |
8303 | * tui/tui-layout.c (init_and_make_win): Take and return a void *. | |
8304 | Update all callers. | |
8305 | ||
0d5de010 DJ |
8306 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
8307 | ||
8308 | * NEWS: Mention pointer to member improvements. | |
8309 | * Makefile.in (gnu-v3-abi.o): Delete special rule. | |
8310 | (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update. | |
8311 | * ada-valprint.c (ada_print_scalar): Update for new type codes. | |
8312 | * c-typeprint.c (c_print_type): Update for new type codes. | |
8313 | (c_type_print_varspec_prefix, c_type_print_varspec_suffix) | |
8314 | (c_type_print_base): Likewise. | |
8315 | (c_type_print_args): Rewrite. | |
8316 | * c-valprint.c (c_val_print): Update for new type codes. Remove | |
8317 | support for references to members. Treat methods like functions. | |
8318 | * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size) | |
8319 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New. | |
8320 | * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size) | |
8321 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes. | |
8322 | (struct cp_abi_ops): Add corresponding members. | |
8323 | * cp-valprint.c (cp_print_class_method): Delete. | |
8324 | (cp_find_class_member): New function. | |
8325 | (cp_print_class_member): Use it. Simplify support for bogus | |
8326 | member pointers. | |
8327 | * dwarf2read.c (quirk_gcc_member_function_pointer): Use | |
8328 | lookup_methodptr_type. | |
8329 | (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type. | |
8330 | * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for | |
8331 | OP_SCOPE. Update call to value_aggregate_elt. Rewrite member | |
8332 | pointer support. | |
8333 | (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle | |
8334 | references returned by user defined operators. | |
8335 | * f-typeprint.c (f_print_type, f_type_print_varspec_prefix) | |
8336 | (f_type_print_varspec_suffix): Remove support for member pointers. | |
8337 | * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type | |
8338 | and adjusted. | |
8339 | (smash_to_memberptr_type): Likewise, from smash_to_member_type. | |
8340 | (lookup_methodptr_type): New. | |
8341 | (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR. | |
8342 | (recursive_dump_type): Update for new types. | |
8343 | * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with | |
8344 | TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR. | |
8345 | (lookup_memberptr_type, lookup_methodptr_type) | |
8346 | (smash_to_memberptr_type): New prototypes. | |
8347 | (smash_to_method_type): Formatting fix. | |
8348 | (lookup_member_type, smash_to_member_type): Delete prototypes. | |
8349 | * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New. | |
8350 | Do not rely on debug information for the vptr or the method's | |
8351 | enclosing type. Handle function descriptors for IA64. | |
8352 | (gnuv3_virtual_fn_field): Rewrite using the new functions. | |
8353 | (gnuv3_find_method_in, gnuv3_print_method_ptr) | |
8354 | (gnuv3_method_ptr_size, gnuv3_make_method_ptr) | |
8355 | (gnuv3_method_ptr_to_value): New. | |
8356 | (init_gnuv3_ops): Set new members of gnu_v3_abi_ops. | |
8357 | * hpread.c (hpread_type_lookup): Update for new types. | |
8358 | * infcall.c (value_arg_coerce): Likewise. | |
8359 | * m2-typeprint.c (m2_print_type): Remove explicit support | |
8360 | for member pointers. | |
8361 | * m2-valprint.c (m2_val_print): Likewise. | |
8362 | * p-typeprint.c (pascal_type_print_varspec_prefix) | |
8363 | (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise. | |
8364 | * p-valprint.c (pascal_val_print): Likewise. | |
8365 | (pascal_object_print_class_method, pascal_object_print_class_member): | |
8366 | Delete. | |
8367 | * p-lang.h (pascal_object_print_class_method) | |
8368 | (pascal_object_print_class_member): Delete prototypes. | |
8369 | * stabsread.c (read_type): Update for new types. | |
8370 | * typeprint.c (print_type_scalar): Likewise. | |
8371 | * valops.c (value_struct_elt_for_reference, value_namespace_elt) | |
8372 | (value_maybe_namespace_elt, value_aggregate_elt): Add want_address | |
8373 | argument. Construct a pointer to member if the address of a | |
8374 | function or data member is requested. | |
8375 | (value_cast_pointers): Don't modify the input value. | |
8376 | (value_cast): Adjust pointer to member handling for new types. | |
8377 | Allow null pointer to member constants. Don't modify the input | |
8378 | value. | |
8379 | (value_ind): Remove pointer to member check. Handle function | |
8380 | descriptors for function pointers. | |
8381 | (value_struct_elt, value_find_oload_method_list, check_field): | |
8382 | Remove pointer to member checks. | |
8383 | * value.c (unpack_long): Allow pointers to data members. | |
8384 | (value_from_longest): Allow member pointers. | |
8385 | * value.h (value_aggregate_elt): Add want_address. | |
8386 | * varobj.c (c_variable_editable): Remove check for members. | |
8387 | * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta. | |
8388 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors | |
8389 | in virtual tables. | |
8390 | (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors. | |
8391 | * c-lang.h (cp_print_class_method): Delete prototype. | |
8392 | * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta. | |
8393 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
8394 | * gdbarch.c, gdbarch.h: Regenerated. | |
8395 | ||
d217aaed MK |
8396 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
8397 | ||
8398 | * rs6000-tdep.c (rs6000_use_struct_convention) | |
8399 | (rs6000_extract_return_value, rs6000_store_return_value) | |
8400 | (rs6000_extract_struct_value_address): Remove. | |
8401 | (rs6000_return_value): New function. | |
8402 | (rs6000_gdbarch_init): Don't set deprecated_extract_return_value, | |
8403 | store_return_value, deprecated_extract_struct_value_address and | |
8404 | deprecated_use_struct_convention. Use rs6000_return_value | |
8405 | instead. | |
8406 | ||
02296b29 NR |
8407 | 2007-01-02 Nick Roberts <nickrob@snap.net.nz> |
8408 | ||
8409 | * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete, | |
8410 | -display-disable, -display-enable, -display-insert and | |
8411 | -display-list. | |
8412 | ||
b69733ab | 8413 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
ce186b30 JB |
8414 | |
8415 | * breakpoint.c (remove_breakpoint): Remove dead code. | |
8416 | ||
8417 | 2007-01-01 Nick Roberts <nickrob@snap.net.nz> | |
ab9245ed NR |
8418 | |
8419 | * varobj.c: Include block.h. | |
8420 | (c_value_of_root): Check scope within nested statements. | |
8421 | ||
9f3a1602 MK |
8422 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
8423 | ||
8424 | * mi/mi-main.c (mi_cmd_data_write_register_values): Use | |
8425 | regcache_cooked_write_signed instead of | |
8426 | deprecated_write_register_bytes. | |
8427 | ||
12349ccd JB |
8428 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
8429 | ||
8430 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006. | |
8431 | ||
8c48ebcf JB |
8432 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
8433 | ||
8434 | Followed the Start of New Year Procedure: | |
8435 | * ChangeLog-2006: New file, containing all the entries for 2006. | |
8436 | * ChangeLog: Removed all 2006 entries, and changed the reference | |
8437 | to the previous ChangeLog to point to ChangeLog 2006. | |
8438 | * top.c (print_gdb_version): Update copyright year. | |
8439 | ||
154927ff MK |
8440 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
8441 | ||
8442 | * Makefile.in (remote-sds.o): Remove. | |
8443 | * remote-sds.c: Delete. | |
8444 | ||
8c48ebcf | 8445 | For older changes see ChangeLog-2006. |
c906108c SS |
8446 | \f |
8447 | Local Variables: | |
8448 | mode: change-log | |
8449 | left-margin: 8 | |
8450 | fill-column: 74 | |
8451 | version-control: never | |
57da7796 | 8452 | coding: utf-8 |
c906108c | 8453 | End: |