Commit | Line | Data |
---|---|---|
97030eea UW |
1 | 2007-10-19 Ulrich Weigand <uweigand@de.ibm.com> |
2 | ||
3 | * gdbarch.sh: Remove "macro" column of input table. Remove handling | |
4 | of "macro" column throughout the file. Remove (empty) "macro" entry | |
5 | of all gdbarch functions. | |
6 | ||
203c3895 UW |
7 | 2007-10-19 Ulrich Weigand <uweigand@de.ibm.com> |
8 | ||
9 | * gdbarch.sh (sofun_address_maybe_missing): New gdbarch variable. | |
10 | * gdbarch.c, gdbarch.h: Regenerate. | |
11 | * dbxread.c (find_stab_function_addr): Define unconditionally. | |
12 | (read_dbx_symtab): Use gdbarch_sofun_address_maybe_missing | |
13 | instead of SOFUN_ADDRESS_MAYBE_MISSING. | |
14 | (end_psymtab): Likewise. | |
15 | (process_one_symbol): Likewise. | |
16 | * mdebugread.c (parse_partial_symbols): Likewise. | |
17 | ||
18 | * symtab.h (struct minimal_symbol): Always define "filename" member. | |
19 | * elfread.c (elf_symtab_read): Use msym->filename unconditionally. | |
20 | * minsyms.c (lookup_minimal_symbol): Likewise. | |
21 | * symmisc.c (dump_msymbols): Likewise. | |
22 | ||
23 | * config/i386/i386sol2.mt (DEPRECATED_TM_FILE): Remove. | |
24 | * config/i386/linux.mt (DEPRECATED_TM_FILE): Remove. | |
25 | * config/i386/tm-i386sol2.h: Remove file. | |
26 | * config/i386/tm-linux.h: Remove file. | |
27 | * i386-linux-tdep.c (i386_linux_init_abi): Add call to | |
28 | set_gdbarch_sofun_address_maybe_missing. | |
29 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
30 | ||
31 | * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Remove. | |
32 | * config/powerpc/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
33 | * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Remove. | |
34 | * config/powerpc/ppc-eabi.mt (DEPRECATED_TM_FILE): Remove. | |
35 | * config/powerpc/ppc-sim.mt (DEPRECATED_TM_FILE): Remove. | |
36 | * config/powerpc/tm-ppc-eabi.h: Remove file. | |
37 | * rs6000-tdep.c (rs6000_gdbarch_init): Add call to | |
38 | set_gdbarch_sofun_address_maybe_missing. | |
39 | ||
40 | * config/sparc/sol2-64.mt (DEPRECATED_TM_FILE): Remove. | |
41 | * config/sparc/sol2.mt (DEPRECATED_TM_FILE): Remove. | |
42 | * config/sparc/tm-sol2.h: Remove file. | |
43 | * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Add call to | |
44 | set_gdbarch_sofun_address_maybe_missing. | |
45 | * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Likewise. | |
46 | ||
149ad273 UW |
47 | 2007-10-19 Ulrich Weigand <uweigand@de.ibm.com> |
48 | ||
49 | * gdbarch.sh (static_transform_name): New gdbarch callback. | |
50 | * gdbarch.c, gdbarch.h: Regenerate. | |
51 | * dbxread.c (read_dbx_symtab): Use gdbarch_static_transform_name | |
52 | instead of STATIC_TRANSFORM_NAME. | |
53 | * mdebugread.c (parse_partial_symbols): Likewise. | |
54 | * stabsread.c (define_symbol): Likewise. | |
55 | * xcoffread.c (scan_xcoff_symtab): Likewise. | |
56 | ||
57 | * config/i368/tm-i386sol2.h (STATIC_TRANSFORM_NAME): Remove. | |
58 | (IS_STATIC_TRANSFORM_NAME): Remove. | |
59 | * i386-tdep.c (sunpro_static_transform_name): Remove, move to ... | |
60 | * i386-sol2-tdep.c (i386_sol2_static_transform_name): ... here. | |
61 | (i386_sol2_init_abi): Install it. | |
62 | ||
63 | * config/sparc/tm-sol2.h (STATIC_TRANSFORM_NAME): Remove. | |
64 | (IS_STATIC_TRANSFORM_NAME): Remove. | |
65 | * sparc-tdep.c (sparc_stabs_unglobalize_name): Remove, move to ... | |
66 | * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): ... here. | |
67 | (sparc32_sol2_init_abi): Install it. | |
68 | * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Likewise. | |
69 | * sparc-tdep.h (sparc_sol2_static_transform_name): Add prototype. | |
70 | ||
ba32f989 DJ |
71 | 2007-10-18 Daniel Jacobowitz <dan@codesourcery.com> |
72 | ||
73 | * mips-tdep.c (mips_xfer_register): Take a gdbarch argument. | |
74 | (mips_n32n64_return_value, mips_o32_return_value) | |
75 | (mips_o64_return_value): Update calls to mips_xfer_register. | |
76 | ||
11411de3 DJ |
77 | 2007-10-17 Daniel Jacobowitz <dan@codesourcery.com> |
78 | ||
79 | * frame.c (frame_unwind_unsigned_register): Delete. | |
80 | (frame_sp_unwind): Use frame_unwind_register_unsigned instead. | |
81 | * frame.h (frame_unwind_unsigned_register): Delete prototype. | |
82 | ||
83 | * alpha-linux-tdep.c, alpha-mdebug-tdep.c, alpha-tdep.c, | |
84 | avr-tdep.c, cris-tdep.c, frv-tdep.c, m68hc11-tdep.c, mn10300-tdep.c, | |
85 | mt-tdep.c: Replace frame_unwind_unsigned_register with | |
86 | frame_unwind_register_unsigned. | |
87 | ||
10325bc5 PA |
88 | 2007-10-16 Pedro Alves <pedro_alves@portugalmail.pt> |
89 | ||
90 | * config/i386/mingw.mh, config/i386/mingw.mt: New files. | |
91 | * configure.tgt (i[34567]86-*-mingw32*): Set gdb_target = mingw. | |
92 | * win32-nat.c: Only include cygwin.h on Cygwin host. Don't | |
93 | include procfs.h. | |
94 | (cygwin_load_start, cygwin_load_end, cygwin_exceptions): Disable | |
95 | if not building on Cygwin. | |
96 | (win32_make_so, handle_output_debug_string, handle_exception) | |
97 | (do_initial_win32_stuff): Wrap Cygwin specific code in __CYGWIN__. | |
98 | (win32_attach): Only fallback to Cygwin pids if building on | |
99 | Cygwin. | |
100 | (win32_pid_to_exec_file): Disable Cygwin specific code, if not | |
101 | building on Cygwin. | |
102 | (win32_create_inferior): Disable starting the inferior through a | |
103 | shell, environment var processing and tty handling if not building | |
104 | on Cygwin. | |
105 | (cygwin_pid_to_str): Rename to ... | |
106 | (win32_pid_to_str): ... this. | |
107 | (init_win32_ops): Update use of win32_pid_to_str. Disable "shell" | |
108 | and "cygwin-exceptions" commands if not building on Cygwin. | |
109 | ||
844781a1 GM |
110 | 2007-10-16 Gaius Mulley <gaius@glam.ac.uk> |
111 | ||
112 | * doc/gdb.texinfo: Add TSIZE definition, removed | |
113 | statement about unbounded arrays being unimplemented. | |
114 | * m2-valprint.c (m2_print_array_contents): New function. | |
115 | (m2_print_unbounded_array): New function. | |
116 | (m2_print_array_contents): New function. | |
117 | * m2-typeprint.c (m2_unbounded_array): New function. | |
118 | (m2_is_unbounded_array): New function. | |
119 | (m2_print_type): Test for unbounded array when walking | |
120 | across structs. | |
121 | * m2-lang.h: Added extern m2_is_unbounded_array. | |
122 | * m2-lang.c (evaluate_subexp_modula2): New function. | |
123 | (exp_descriptor_modula2): New structure. | |
124 | (m2_language_defn): Use exp_descriptor_modula2. | |
125 | * m2-exp.y: Added TSIZE and binary subscript. | |
126 | ||
62c018fe DJ |
127 | 2007-10-16 Daniel Jacobowitz <dan@codesourcery.com> |
128 | ||
129 | * mi/mi-main.c (captured_mi_execute_command): Clear mi_error_message | |
130 | after freeing it. | |
131 | ||
9ffbf372 KB |
132 | 2007-10-16 Kevin Buettner <kevinb@redhat.com> |
133 | ||
134 | * m32r-tdep.c (decode_prologue): Sign extend offset for | |
135 | "addi sp, xx" case. | |
136 | (m32r_frame_unwind_cache): Likewise. | |
137 | ||
6a16c029 TJB |
138 | 2007-10-15 Thiago Jung Bauermann <bauerman@br.ibm.com> |
139 | ||
140 | * rs6000-tdep.c (skip_prologue): Restore comment with | |
141 | function description to its proper place. | |
142 | ||
d71340b8 DJ |
143 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
144 | ||
145 | * NEWS: Mention gdbserver PowerPC improvements. | |
146 | ||
30ed0a8f DJ |
147 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
148 | ||
149 | * features/Makefile (WHICH): Add PowerPC register definitions. | |
150 | (rs6000/powerpc-32-expedite, rs6000/powerpc-e500-expedite) | |
151 | (rs6000/powerpc-64-expedite): New macros. | |
152 | ($(outdir)/%.dat): Handle subdirectories. | |
153 | * regformats/rs6000/powerpc-32.dat, regformats/rs6000/powerpc-64.dat, | |
154 | regformats/rs6000/powerpc-e500.dat: New generated files. | |
155 | ||
310a98e1 DJ |
156 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
157 | ||
158 | * ppc-linux-nat.c (ppc_linux_read_description): New. | |
159 | (_initialize_ppc_linux_nat): Set to_read_description. | |
160 | * ppc-tdep.h (tdesc_powerpc_e500): Declare. | |
161 | ||
7cc46491 DJ |
162 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
163 | ||
164 | * NEWS: Document target described register support for PowerPC. | |
165 | * ppc-tdep.h: Remove ppc_spr constants. | |
166 | (struct gdbarch_tdep): Remove regs, ppc_sr0_regnum, and | |
167 | ppc_builtin_type_vec128 members. | |
168 | (PPC_R0_REGNUM, PPC_F0_REGNUM, PPC_PC_REGNUM, PPC_MSR_REGNUM) | |
169 | (PPC_CR_REGNUM, PPC_LR_REGNUM, PPC_CTR_REGNUM, PPC_XER_REGNUM) | |
170 | (PPC_FPSCR_REGNUM, PPC_MQ_REGNUM, PPC_SPE_UPPER_GP0_REGNUM) | |
171 | (PPC_SPE_ACC_REGNUM, PPC_SPE_FSCR_REGNUM, PPC_VR0_REGNUM) | |
172 | (PPC_VSCR_REGNUM, PPC_VRSAVE_REGNUM, PPC_NUM_REGS): New constants. | |
173 | * rs6000-tdep.c: Include preparsed descriptions. | |
174 | (init_sim_regno_table): Do not iterate over pseudo registers. | |
175 | Look up segment registers by name. Use sim_spr_register_name | |
176 | for SPRs. | |
177 | (rs6000_register_sim_regno): Call init_sim_regno_table here. | |
178 | (rs6000_builtin_type_vec128): Delete. | |
179 | (rs6000_register_name): Only handle SPE pseudo registers and upper | |
180 | halves. Call tdesc_register_name for everything else. | |
181 | (rs6000_register_type): Delete. Replace with... | |
182 | (rs6000_pseudo_register_type): ...this new function. Only handle | |
183 | SPE pseudo registers. | |
184 | (rs6000_register_reggroup_p): Delete. Replace with... | |
185 | (rs6000_pseudo_register_reggroup_p): ...this new function. Only | |
186 | handle SPE pseudo registers. | |
187 | (rs6000_convert_register_p): Use ppc_fp0_regnum instead of | |
188 | "struct reg". | |
189 | (rs6000_register_to_value, rs6000_value_to_register): Remove check | |
190 | of reg->fpr. | |
191 | (e500_register_reggroup_p): Delete. | |
192 | (STR, R, R4, R8, R16, F, P8, R32, R64, R0, A4, S, S4, SN4, S64) | |
193 | (COMMON_UISA_REGS, PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS) | |
194 | (PPC_SEGMENT_REGS, PPC_OEA_SPRS, PPC_ALTIVEC_REGS, PPC_SPE_GP_REGS) | |
195 | (PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): Delete macros. | |
196 | (registers_powerpc, registers_403, registers_403GC, registers_505) | |
197 | (registers_860, registers_601, registers_602, registers_603) | |
198 | (registers_604, registers_750, registers_7400, registers_e500): Delete | |
199 | variables. | |
200 | (struct variant): Delete nregs, npregs, num_tot_regs, and regs. Add | |
201 | tdesc. | |
202 | (tot_num_registers, num_registers, num_pseudo_registers): Delete. | |
203 | (variants): Delete outdated comment. Use standard target descriptions | |
204 | instead of "struct reg" arrays. | |
205 | (init_variants): Delete. | |
206 | (rs6000_gdbarch_init): Do not guess word size from the BFD | |
207 | architecture if we have a target description. Select a variant | |
208 | before creating a new architecture. Use the variant's target | |
209 | description if the target did not define a register layout. | |
210 | Validate target-supplied registers. Reject mismatches. Use | |
211 | fixed register numbers and new constants instead of magic | |
212 | numbers. Call set_gdbarch_ps_regnum. Call tdesc_use_registers. | |
213 | (_initialize_rs6000_tdep): Initialize the preparsed target | |
214 | descriptions. | |
215 | * target-descriptions.c (tdesc_predefined_types): Add int128 and | |
216 | uint128. | |
217 | (tdesc_find_register_early): New function. | |
218 | (tdesc_numbered_register): Use it. | |
219 | (tdesc_register_size): New function. | |
220 | (tdesc_use_registers): Take a target_desc argument. Do not use | |
221 | gdbarch_target_desc. | |
222 | * target-descriptions.h (tdesc_use_registers): Update prototype | |
223 | and comment. | |
224 | (tdesc_register_size): New prototype. | |
225 | * Makefile.in (powerpc_32_c, powerpc_403_c, powerpc_403gc_c) | |
226 | (powerpc_505_c, powerpc_601_c, powerpc_602_c, powerpc_603_c) | |
227 | (powerpc_604_c, powerpc_64_c, powerpc_7400_c, powerpc_750_c) | |
228 | (powerpc_860_c, powerpc_e500_c, rs6000_c): New macros. | |
229 | (rs6000-tdep.o): Update. | |
230 | * arm-tdep.c (arm_gdbarch_init): Update call to tdesc_use_registers. | |
231 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
232 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
233 | ||
324300c0 DJ |
234 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
235 | ||
236 | * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c, | |
237 | features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c, | |
238 | features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c, | |
239 | features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c, | |
240 | features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c, | |
241 | features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c, | |
242 | features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: New | |
243 | generated files. | |
244 | ||
8dc35b87 DJ |
245 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
246 | ||
247 | * features/rs6000/power-altivec.xml, features/rs6000/power-core.xml, | |
248 | features/rs6000/power-fpu.xml, features/rs6000/power-oea.xml, | |
249 | features/rs6000/power-spe.xml, features/rs6000/power64-core.xml: New | |
250 | feature descriptions for standard PowerPC register sets. | |
251 | ||
252 | * features/rs6000/powerpc-32.xml, features/rs6000/powerpc-403.xml, | |
253 | features/rs6000/powerpc-403gc.xml, features/rs6000/powerpc-505.xml, | |
254 | features/rs6000/powerpc-601.xml, features/rs6000/powerpc-602.xml, | |
255 | features/rs6000/powerpc-603.xml, features/rs6000/powerpc-604.xml, | |
256 | features/rs6000/powerpc-64.xml, features/rs6000/powerpc-7400.xml, | |
257 | features/rs6000/powerpc-750.xml, features/rs6000/powerpc-860.xml, | |
258 | features/rs6000/powerpc-e500.xml, features/rs6000/rs6000.xml: New | |
259 | target descriptions for PowerPC processors. | |
260 | ||
81adfced DJ |
261 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
262 | ||
263 | * target-descriptions.c (tdesc_predefined_types): New. | |
264 | (tdesc_named_type): Use it. | |
265 | (tdesc_type_id, maint_print_c_tdesc_cmd): New functions. | |
266 | (_intialize_target_descriptions): Register "maint print c-tdesc". | |
267 | * features/Makefile (XMLTOC, CFILES, GDB): New macros. | |
268 | (cfiles, %.c): New rules. | |
269 | * features/arm-with-iwmmxt.c, features/mips-linux.c, | |
270 | features/mips64-linux.c: New generated files. | |
271 | ||
272 | * arm-linux-nat.c: Include preparsed description instead of | |
273 | "xml-support.h". | |
274 | (super_xfer_partial, arm_linux_xfer_partial): Remove. | |
275 | (arm_linux_read_description): New function. | |
276 | (_initialize_arm_linux_nat): Set to_read_description instead of | |
277 | to_xfer_partial. Initialize preparsed description. | |
278 | * config/arm/linux.mh (TDEP_XML): Delete. | |
279 | * mips-linux-nat.c: Include preparsed descriptions instead of | |
280 | "xml-support.h". | |
281 | (super_xfer_partial, mips_linux_xfer_partial): Remove. | |
282 | (mips_linux_read_description): New function. | |
283 | (_initialize_mips_linux_nat): Set to_read_description instead of | |
284 | to_xfer_partial. Initialize preparsed description. | |
285 | * config/mips/linux.mh (TDEP_XML): Delete. | |
286 | * Makefile.in (XMLFILES): Remove $(TDEP_XML). | |
287 | (features_headers, arm_with_iwmmxt_c, mips_linux_c) | |
288 | (mips64_linux_c): New macros. | |
289 | (arm-linux-nat.o, mips-linux-nat.o): Update. | |
290 | ||
0dfdb8ba PM |
291 | 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr> |
292 | ||
293 | * cp-abi.c (set_cp_abi_as_auto_default): ARI fix: | |
294 | Replace xasprintf by xstrprintf. | |
295 | symfile-mem.c (add_vsyscall_page): Ditto. | |
296 | ||
2685572f UW |
297 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
298 | ||
299 | * ia64-linux-nat.c (ia64_register_addr): Add gdbarch parameter, | |
300 | replacing use of global current_gdbarch. | |
301 | (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise. | |
302 | (ia64_linux_fetch_register, ia64_linux_store_register): Update callers. | |
303 | ||
304 | * ia64-tdep.c (SIGCONTEXT_REGISTER_ADDRESS): Remove macro. | |
305 | (ia64_sigtramp_frame_init_saved_regs): Add next_frame parameter, | |
306 | replace uses of SIGCONTEXT_REGISTER_ADDRESS. | |
307 | (ia64_sigtramp_frame_cache): Update caller. | |
308 | ||
c1874924 UW |
309 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
310 | ||
311 | * gdbarch.sh (deprecated_use_struct_convention): Remove. | |
312 | (extract_return_value, store_return_value): Remove. | |
313 | (return_value): Remove default implementation. | |
314 | * gdbarch.c, gdbarch.h: Regenerate. | |
315 | ||
316 | * stack.c (return_command): Remove compatibility hack. | |
317 | * arch-utils.c (legacy_return_value): Remove. | |
318 | * arch-utils.h (legacy_return_value): Likewise. | |
319 | ||
320 | * arch-utils.c (always_use_struct_convention): Remove. | |
321 | * arch-utils.h (always_use_struct_convention): Likewise. | |
322 | * value.c (generic_use_struct_convention): Remove. | |
323 | * defs.h (generic_use_struct_convention): Likewise. | |
324 | ||
4c8b6ae0 UW |
325 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
326 | ||
327 | * avr-tdep.c (avr_return_value): New function. | |
328 | (avr_gdbarch_init): Call set_gdbarch_return_value instead of | |
329 | set_gdbarch_extract_return_value. | |
330 | ||
331 | * fvr-tdep.c (frv_return_value): New function. | |
332 | (frv_gdbarch_init): Call set_gdbarch_return_value instead of | |
333 | set_gdbarch_extract_return_value, set_gdbarch_store_return_value, | |
334 | and set_gdbarch_deprecated_use_struct_convention. | |
335 | ||
336 | * ia64-tdep.c (ia64_use_struct_convention): Make static. | |
337 | Add check for structure, union, or array types. | |
338 | (ia64_extract_return_value): Make static. | |
339 | (ia64_store_return_value): Make static. Support multi-word values. | |
340 | (ia64_return_value): New function. | |
341 | (ia64_gdbarch_init): Call set_gdbarch_return_value instead of | |
342 | set_gdbarch_extract_return_value, set_gdbarch_store_return_value, | |
343 | and set_gdbarch_deprecated_use_struct_convention. | |
344 | ||
899cff7a JB |
345 | 2007-10-12 Joel Brobecker <brobecker@adacore.com> |
346 | ||
347 | * solib-target.c (solib_target_parse_libraries) | |
348 | [HAVEHAVE_LIBEXPAT not defined]: Fix thinko in return type. | |
349 | ||
d41ebd5d JB |
350 | 2007-10-12 Jim Blandy <jimb@codesourcery.com> |
351 | ||
352 | * serial.h (struct serial_ops): Document read_prim to return zero | |
353 | at EOF. | |
354 | * ser-base.c (do_ser_base_readchar): Return SERIAL_EOF when | |
355 | read_prim returns zero, not SERIAL_TIMEOUT. | |
356 | ||
62f6180c UW |
357 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
358 | ||
359 | * alpha-mdebug-tdep.c: Include "gdb_string.h". | |
360 | (find_proc_desc): Add fix-up code for setjmp procedure descriptor. | |
361 | * mdebugread.c (parse_procedure): Remove setjmp fix-up code. | |
362 | * Makefile.in (alpha-mdebug-tdep.o): Update dependencies. | |
363 | ||
364 | * config/alpha/alpha.mt (DEPRECATED_TM_FILE): Remove. | |
365 | * config/alpha/alpha-linux.mt (DEPRECATED_TM_FILE): Remove. | |
366 | * config/alpha/alpha-osf1.mt (DEPRECATED_TM_FILE): Remove. | |
367 | * config/alpha/fbsd.mt (DEPRECATED_TM_FILE): Remove. | |
368 | * config/alpha/tm-alpha.h: Remove file. | |
369 | ||
ee53e872 UW |
370 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
371 | ||
372 | * breakpoint.c (breakpoint_sals_to_pc): Do not check for | |
373 | DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE. | |
374 | ||
375 | * config/pa/tm-hppa.h: Delete file. | |
376 | * config/pa/hppa64.mt: Do not set DEPRECATED_TM_FILE. | |
377 | * config/pa/hppahpux.mt: Likewise. | |
378 | * config/pa/hppa.mt: Likewise. | |
379 | * config/pa/linux.mt: Likewise. | |
380 | * hppa-tdep.c (hppa_pc_requires_run_before_use): Delete. | |
381 | ||
3d5e6107 UW |
382 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
383 | ||
384 | * config/arm/nm-nbsdaout.h: Remove file. | |
385 | * config/nm-nbsdaout.h: Likewise. | |
386 | * config/nm-nbsd.h: Likewise. | |
387 | ||
82585c72 UW |
388 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
389 | ||
390 | * block.h (struct block): Remove "gcc_compile_flag" member. | |
391 | (BLOCK_GCC_COMPILED): Remove. | |
392 | * block.c (allocate_block): Do not clear BLOCK_GCC_COMPILED. | |
393 | * buildsym.c (finish_block): Do not set it. | |
394 | * symmisc.c (dump_symtab_1): Do not dump it. | |
395 | ||
396 | * value.h (using_struct_return): Remove "gcc_p" argument. | |
397 | * value.c (using_struct_return): Likewise. | |
398 | * eval.c (evaluate_subexp_standard): Adapt callers. | |
399 | * infcall.c (call_function_by_hand): Likewise. | |
400 | * stack.c (return_command): Likewise. | |
401 | * sparc-tdep.c (sparc32_push_dummy_code): Likewise. | |
402 | ||
403 | * gdbarch.sh (push_dummy_code): Remove "using_gcc" parameter. | |
404 | * gdbarch.c, gdbarch.h: Regenerate. | |
405 | * cris-tdep.c (cris_push_dummy_code): Adapt prototype. | |
406 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Likewise. | |
407 | * sparc-tdep.c (sparc32_push_dummy_code): Likewise. | |
408 | * infcall.c (generic_push_dummy_code, push_dummy_code): Likewise. | |
409 | (push_dummy_code, call_function_by_hand): Adapt callers. | |
410 | ||
8f536afe UW |
411 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
412 | ||
413 | * infcmd.c (print_return_value): Remove STRUCT_RETURN argument. | |
414 | (finish_command_continuation, finish_command): Adapt callers. | |
415 | ||
f156e33b UW |
416 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
417 | ||
418 | * infcall.c (call_function_by_hand): Remove special handling | |
419 | for HP aCC compiled code. | |
420 | ||
f6e56ab3 UW |
421 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
422 | ||
423 | * cris-tdep.c (cris_push_dummy_call): Support arguments passed by | |
424 | reference. Fix endianness bugs. | |
425 | (cris_reg_struct_has_address): Remove. | |
426 | (cris_gdbarch_init): Remove set_gdbarch_deprecated_reg_struct_has_addr | |
427 | and set_gdbarch_deprecated_use_struct_convention calls. | |
428 | ||
429 | * gdbarch.sh (deprecated_reg_struct_has_addr): Remove. | |
430 | * gdbarch.c, gdbarch.h: Regenerate. | |
431 | * infcall.c (call_function_by_hand): Remove handling of | |
432 | deprecated_reg_struct_has_addr. | |
433 | ||
b4c291bb KH |
434 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
435 | Kazu Hirata <kazu@codesourcery.com> | |
436 | ||
437 | * breakpoint.c (do_enable_breakpoint): Delay enabling until after | |
438 | checking watchpoint resources. | |
439 | ||
56cf5405 KH |
440 | 2007-10-11 Kazu Hirata <kazu@codesourcery.com> |
441 | ||
442 | * memattr.c (inaccessible_by_default): Change the initial | |
443 | value to 1. | |
444 | ||
3b016d57 DJ |
445 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
446 | ||
447 | PR gdb/2280 | |
448 | * coffread.c (read_one_sym): Check for read errors. | |
449 | ||
e9efe249 UW |
450 | 2007-10-11 Ulrich Weigand <uweigand@de.ibm.com> |
451 | ||
452 | * linux-nat.c (lin_lwp_attach_lwp): Use "Linux kernel 2.6.19" | |
453 | instead of "Linux 2.6.19" in comment. | |
454 | (linux_xfer_partial): Use "GNU/Linux target" instead of | |
455 | "Linux target" in comment. | |
456 | * m68klinux-tdep.c (m68k_linux_inferior_created): Likewise. | |
457 | (m68k_linux_get_sigtramp_info): Likewise. | |
458 | ||
b33682a7 DJ |
459 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
460 | ||
461 | * MAINTAINERS (language support): List Joel and Paul as | |
462 | Ada maintainers. | |
463 | ||
35156bae DJ |
464 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
465 | ||
466 | * dbxread.c (process_one_symbol): Remove VARIABLES_INSIDE_BLOCK | |
467 | checks. | |
468 | * config/arm/embed.mt, config/arm/linux.mt, config/arm/wince.mt: Do | |
469 | not set DEPRECATED_TM_FILE. | |
470 | * config/arm/tm-arm.h: Delete file. | |
471 | ||
3d47173c LM |
472 | 2007-10-11 Luis Machado <luisgpm@br.ibm.com> |
473 | ||
474 | * MAINTAINERS (Write After Approval): Add self. | |
475 | ||
607ae575 DJ |
476 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
477 | ||
478 | * buildsym.c (record_line): Remove empty lines followed by | |
479 | end-of-sequence markers. | |
480 | ||
b8d5e0ac KH |
481 | 2007-10-11 Kazu Hirata <kazu@codesourcery.com> |
482 | ||
483 | * configure.tgt: Recognize fido-*-elf. | |
484 | ||
86f26d2f | 485 | 2007-10-10 Joel Brobecker <brobecker@adacore.com> |
486 | ||
487 | GDB 6.7 released. | |
488 | ||
7500260a UW |
489 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
490 | ||
491 | * stack.c (print_frame_args, frame_info, return_command): Use | |
492 | get_regcache_arch or get_frame_arch to get at the current architecture | |
493 | by regcache or by frame, respectively. | |
494 | ||
8b164abb UW |
495 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
496 | ||
497 | * rs6000-nat.c (fetch_register, store_register) | |
498 | (rs6000_fetch_inferior_registers, rs6000_store_inferior_registers): Use | |
499 | get_regcache_arch to get at the current architecture by regcache. | |
500 | ||
501 | * rs6000-tdep.c (rs6000_push_dummy_call, rs6000_return_value) | |
502 | (rs6000_register_reggroup_p, e500_move_ev_registe, rs6000_unwind_pc) | |
503 | (rs6000_unwind_dummy_id, rs6000_frame_cache, rs6000_dump_tdep): Replace | |
504 | current_gdbarch by gdbarch. | |
505 | (rs6000_skip_trampoline_code, rs6000_register_to_value) | |
506 | (rs6000_value_to_register): Use get_frame_arch to get at the current | |
507 | architecture by frame_info. | |
508 | ||
e6d4f032 UW |
509 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
510 | ||
511 | * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow): Use | |
512 | get_regcache_arch to get at the current architecture by regcache. | |
513 | ||
514 | * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset) | |
515 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Use | |
516 | get_regcache_arch to get at the current architecture by regcache. | |
517 | ||
518 | * sparc64nbsd-nat. (sparc64nbsd_supply_gregset) | |
519 | (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset) | |
520 | (sparc64nbsd_collect_fpregset): Use get_regcache_arch to get at the | |
521 | current architecture by regcache. | |
522 | ||
2eb4d78b UW |
523 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
524 | ||
525 | * remote-mips.c (mips_wait, mips_fetch_registers) | |
526 | (mips_store_registers): Use get_regcache_arch to get at the | |
527 | current architecture by regcache. | |
528 | ||
529 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_fill_reg) | |
530 | (mipsnbsd_supply_fpreg, mipsnbsd_fill_fpreg): Use get_regcache_arch to | |
531 | get at the current architecture by regcache. | |
532 | (mipsnbsd_sigtramp_offset): Use get_frame_arch to get at the current | |
533 | architecture by frame_info. | |
534 | ||
535 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers) | |
536 | (mipsnbsd_store_inferior_registers): Use get_regcache_arch to get at | |
537 | the current architecture by regcache. | |
538 | ||
539 | * mips-linux-tdep.c (mips_linux_get_longjmp_target) | |
540 | (mips64_linux_get_longjmp_target, mips_linux_o32_sigframe_init) | |
541 | (mips_linux_n32n64_sigframe_init): Use get_frame_arch to get at the | |
542 | current architecture by frame_info. | |
543 | (supply_32bit_reg, mips_supply_gregset, mips_fill_gregset) | |
544 | (mips_supply_fpregset, mips_fill_fpregset, supply_64bit_reg) | |
545 | (mips64_supply_gregset, mips64_fill_gregset, mips64_supply_fpregset) | |
546 | (mips64_fill_fpregset, mips_linux_write_pc): Use get_regcache_arch to | |
547 | get at the current architecture by regcache. | |
548 | ||
549 | * mips-linux-nat.c (mips_linux_register_addr) | |
550 | (mips64_linux_register_addr): Replace current_gdbarch by gdbarch. | |
551 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset) | |
552 | (mips64_linux_regsets_fetch_registers) | |
553 | (mips64_linux_regsets_store_registers): Use get_regcache_arch to get at | |
554 | the current architecture by regcache. | |
555 | ||
556 | * mips64obsd-tdep.c (mips64obsd_sigframe_init): Use get_frame_arch to | |
557 | get at the current architecture by frame_info. | |
558 | ||
72a155b4 UW |
559 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
560 | ||
561 | * mips-tdep.c (mips_xfer_register): Use get_regcache_arch to get at the | |
562 | current architecture by regcache. | |
563 | (mips2_fp_compat, mips32_next_pc, mips16_scan_prologue) | |
564 | (mips_insn16_frame_cache, mips32_scan_prologue, mips_insn32_frame_cache) | |
565 | (mips_stub_frame_cache, mips_read_fp_register_single) | |
566 | (mips_read_fp_register_double, mips_print_fp_register) | |
567 | (mips_print_register, print_gp_register_row): Use get_frame_arch to get | |
568 | at the current architecture by frame_info. | |
569 | (mips_register_reggroup_p, mips_pseudo_register_read, mips_unwind_sp) | |
570 | (mips_pseudo_register_write, mips_register_type, mips_unwind_pc) | |
571 | (mips_unwind_dummy_id, mips_eabi_push_dummy_call) | |
572 | (mips_n32n64_push_dummy_call, mips_n32n64_return_value) | |
573 | (mips_o32_push_dummy_call, mips_o32_return_value) | |
574 | (mips_o64_push_dummy_call, mips_o64_return_value) | |
575 | (mips_print_registers_info, mips_dump_tdep): Replace current_gdbarch by | |
576 | gdbarch. | |
577 | ||
6b50c0b0 UW |
578 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
579 | ||
580 | * xtensa-tdep.c (xtensa_register_type, xtensa_pseudo_register_read) | |
581 | (xtensa_pseudo_register_write, xtensa_register_reggroup_p) | |
582 | (xtensa_unwind_pc, xtensa_unwind_dummy_id, xtensa_push_dummy_call) | |
583 | (xtensa_dump_tdep): Replace current_gdbarch by gdbarch. | |
584 | (xtensa_register_write_masked, xtensa_register_read_masked) | |
585 | (xtensa_supply_gregset, xtensa_store_return_value) | |
586 | (xtensa_extract_return_value): Use get_regcache_arch to get at the | |
587 | current architecture by regcache. | |
588 | (xtensa_frame_cache, call0_frame_get_reg_at_entry, call0_frame_cache) | |
589 | (xtensa_frame_prev_register): Use get_frame_arch to get at the current | |
590 | architecture by frame_info. | |
591 | ||
4be43953 DJ |
592 | 2007-10-10 Daniel Jacobowitz <dan@codesourcery.com> |
593 | ||
594 | * arm-tdep.c (struct arm_prologue_cache): Remove frameoffset. | |
595 | (thumb_analyze_prologue): Move pv_area_store_would_trash call | |
596 | out of loop. Do not set cache->frameoffset. | |
597 | (arm_scan_prologue): Use prologue-value mechanism. Do not set | |
598 | frameoffset. Simplify framesize. | |
599 | (arm_make_prologue_cache, arm_normal_frame_base): Do not use | |
600 | frameoffset. | |
601 | * arm-tdep.h (enum gdb_regnum): Add ARM_IP_REGNUM. | |
602 | ||
b4b61fdb DJ |
603 | 2007-10-10 Daniel Jacobowitz <dan@codesourcery.com> |
604 | ||
605 | * target.c (update_current_target): Call setup_target_debug. | |
606 | (push_target): Do not call it here. | |
607 | ||
8bb6c669 MS |
608 | 2007-10-09 Michael Snyder <msnyder@specifix.com> |
609 | ||
610 | * MAINTAINERS: Update my email address. | |
611 | ||
304fe255 UW |
612 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
613 | ||
614 | * xtensa-tdep.c: Replace following current-gdbarch based macros by | |
615 | their expression: | |
616 | (xtensa_pseudo_register_read) | |
617 | (xtensa_pseudo_register_write): XTENSA_TARGET_FLAGS. | |
618 | (ARG_NOF, ARG_1ST, xtensa_extract_return_value) | |
619 | (xtensa_store_return_value, xtensa_push_dummy_call): CALL_ABI. | |
620 | (xtensa_pseudo_register_read) | |
621 | (xtensa_pseudo_register_write): ISA_USE_WINDOWED_REGISTERS. | |
622 | (xtensa_breakpoint_from_pc): ISA_USE_DENSITY_INSTRUCTIONS. | |
623 | (xtensa_register_type, xtensa_supply_gregset, xtensa_frame_cache) | |
624 | (xtensa_frame_prev_register): NUM_AREGS. | |
625 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write, | |
626 | (xtensa_supply_gregset, xtensa_frame_cache, xtensa_frame_prev_register, | |
627 | (xtensa_extract_return_value, xtensa_store_return_value): WB_REGNUM. | |
628 | (xtensa_supply_gregset, xtensa_frame_cache) | |
629 | (xtensa_frame_prev_register): WS_REGNUM. | |
630 | (xtensa_supply_gregset): LBEG_REGNUM, LEND_REGNUM, LCOUNT_REGNUM, | |
631 | SAR_REGNUM, EXCCAUSE_REGNUM, EXCVADDR_REGNUM | |
632 | (xtensa_register_name, xtensa_register_type, xtensa_reg_to_regnum) | |
633 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write) | |
634 | (xtensa_register_reggroup_p): REGMAP. | |
635 | (call0_track_op): LITBASE_REGNUM. | |
636 | (xtensa_register_type, xtensa_reg_to_regnum, call0_frame_cache):A0_BASE | |
637 | (xtensa_supply_gregset, call0_frame_get_reg_at_entry) | |
638 | (xtensa_frame_prev_register, AREG_NUMBER) | |
639 | (xtensa_register_type): AR_BASE. | |
640 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write): FP_ALIAS. | |
641 | (AREG_NUMBER): AREGS_MASK, WB_MASK, A0_REGNUM. | |
642 | (ARG_1ST, xtensa_pseudo_register_read, xtensa_pseudo_register_write) | |
643 | (xtensa_frame_cache, xtensa_frame_prev_register) | |
644 | (xtensa_extract_return_value, xtensa_store_return_value) | |
645 | (xtensa_push_dummy_call, call0_frame_cache): A0_REGNUM. | |
646 | (xtensa_register_type, xtensa_pseudo_register_read, xtensa_frame_cache) | |
647 | (xtensa_pseudo_register_write, xtensa_unwind_dummy_id) | |
648 | (xtensa_frame_prev_register, xtensa_push_dummy_call) | |
649 | (call0_frame_cache): A1_REGNUM. | |
650 | (xtensa_extract_return_value, xtensa_store_return_value): A2_REGNUM. | |
651 | (xtensa_push_dummy_call): A4_REGNUM. | |
652 | (ARGS_FIRST_REG): A6_REGNUM. | |
653 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write) | |
654 | (xtensa_frame_prev_register): A15_REGNUM. | |
655 | * xtensa-tdep.h: Delete current_gdbarch based macros after replacing | |
656 | them in the appropriate source file: | |
657 | XTENSA_TARGET_FLAGS, SPILL_LOCATION, SPILL_SIZE, CALL_ABI, NUM_AREGS, | |
658 | ISA_USE_WINDOWED_REGISTERS, ISA_USE_DENSITY_INSTRUCTIONS, WB_REGNUM, | |
659 | ISA_USE_EXCEPTIONS, ISA_USE_EXT_L32R, DEBUG_DATA_VADDR_TRAP_COUNT, | |
660 | DEBUG_INST_VADDR_TRAP_COUNT, ISA_MAX_INSN_SIZE, DEBUG_NUM_IBREAKS, | |
661 | DEBUG_NUM_DBREAKS, WS_REGNUM, LBEG_REGNUM, LEND_REGNUM, SAR_REGNUM, | |
662 | REGMAP, LITBASE_REGNUM, DEBUGCAUSE_REGNUM, EXCCAUSE_REGNUM, AR_BASE, | |
663 | EXCVADDR_REGNUM, NUM_IBREAKS, REGMAP_BYTES, NUM_CONTEXTS, FP_ALIAS, | |
664 | FP_LAYOUT, FP_LAYOUT_BYTES, GREGMAP, AREGS_MASK, WB_MASK, A0_REGNUM, | |
665 | A1_REGNUM, A2_REGNUM, A3_REGNUM, A4_REGNUM, A5_REGNUM, A6_REGNUM, | |
666 | A7_REGNUM, A8_REGNUM, A9_REGNUM, A10_REGNUM, A11_REGNUM, A12_REGNUM, | |
667 | A13_REGNUM, A14_REGNUM, A15_REGNUM. | |
668 | ||
ea78bae4 UW |
669 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
670 | ||
671 | * h8300-tdep.c (h8300_frame_cache): Use get_frame_arch to get at | |
672 | the current architecture by frame_info. | |
673 | (h8300_frame_prev_register | |
674 | (h8300_print_register): Replace current_gdbarch by gdbarch. | |
675 | (h8300_print_registers_info, h8300_register_type) | |
676 | (h8300_register_type): Likewise. | |
677 | ||
875f8d0e UW |
678 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
679 | ||
680 | * i386-linux-nat.c (fetch_register): Use get_regcache_arch to get at | |
681 | the current architecture by regcache. | |
682 | (store_register, supply_gregset, fill_gregset, i386_linux_resume) | |
683 | (i386_linux_fetch_inferior_registers) | |
684 | (i386_linux_store_inferior_registers): Likewise. | |
685 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise. | |
686 | * i386-nto-tdep.c (i386nto_supply_gregset): Likewise. | |
687 | * i386v4-nat.c (supply_fpregset, fill_fpregset): Likewise. | |
688 | * i386-tdep.c (i386_unwind_pc): Replace current_gdbarch by gdbarch. | |
689 | (i386_extract_return_value, i386_store_return_value): Likewise. | |
690 | * i386-tdep.c (i386_frame_prev_register): Use get_frame_arch to get at | |
691 | the current architecture by frame_info. | |
692 | (i386_sigtramp_frame_cache, i386_get_longjmp_target) | |
693 | (i386_register_to_value, i386_value_to_register): Likewise. | |
694 | ||
9b072297 UW |
695 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
696 | ||
697 | * monitor.c (monitor_supply_register): Use get_regcache_arch to get at | |
698 | the current architecture by regcache. | |
699 | (monitor_store_register, monitor_store_registers): Likewise. | |
700 | ||
e76e7474 UW |
701 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
702 | ||
703 | * dbug-rom.c (dbug_supply_register): Use get_regcache_arch to get at | |
704 | the current architecture by regcache. | |
705 | ||
d4f91178 UW |
706 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
707 | ||
708 | * arch-utils.c (legacy_return_value): Replace current_gdbarch by | |
709 | gdbarch. | |
710 | ||
b1bd0044 UW |
711 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
712 | ||
713 | * frame.c (frame_pc_unwind): Use get_frame_arch to get at the current | |
714 | architecture by frame. | |
715 | (frame_save_as_regcache, frame_register_unwind, get_prev_frame_1) | |
716 | (inside_main_func, frame_sp_unwind): Likewise. | |
717 | ||
2ec9a4f8 DJ |
718 | 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com> |
719 | ||
720 | * solib-svr4.c (enable_break): Add the dynamic linker also if | |
721 | auxv succeeds. | |
722 | ||
7068dd53 CES |
723 | 2007-10-09 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
724 | ||
725 | * MAINTAINERS (Write After Approval): Add self. | |
726 | ||
51e9e0d4 PA |
727 | 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt> |
728 | ||
729 | * stabsread.c (read_huge_number): Initialize local variable to 0. | |
730 | ||
cd6c7346 PM |
731 | 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr> |
732 | ||
733 | * p-lang.h (pascal_main_name): Add declaration. | |
734 | * p-lang.c (GPC_P_INITIALIZE, GPC_MAIN_PROGRAM_NAME_1) | |
735 | (GPC_MAIN_PROGRAM_NAME_2): New constants. | |
736 | (pascal_main_name): New function. | |
737 | * symtab.c: Include p-lang.h. | |
738 | (find_main_name): Add call to pascal_main_name. | |
739 | * Makefile.in (symtab.o): Add dependency on p-lang.h. | |
740 | ||
a2699720 PA |
741 | 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt> |
742 | ||
743 | * stabsread.c (read_huge_number): Fix handling of octal | |
744 | representation when the bit width is known. | |
745 | (read_range_type): Record unsigned integral types with their size, | |
746 | when the type size is known. | |
747 | ||
e05ebff4 TJB |
748 | 2007-10-08 Thiago Jung Bauermann <bauerman@br.ibm.com> |
749 | ||
750 | * MAINTAINERS (Write After Approval): Add self. | |
751 | ||
0c6773c1 PM |
752 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
753 | ||
754 | * breakpoint.c (print_one_breakpoint_location): ARI fix: | |
755 | Replace asprintf by xstrprintf. | |
756 | ||
91c06669 PM |
757 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
758 | ||
759 | * linux-fork.c: ARI fix: include "gdb_dirent.h" instead of <dirent.h>. | |
760 | Makefile.in (linux-fork.o): Add gdb_dirent.h dependency. | |
761 | ||
3c61c145 PM |
762 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
763 | ||
764 | * linux-fork.c: Move "gdb_wait.h" include back to the position of | |
765 | <sys/wait.h> include before last commit. | |
766 | ||
313628cc MR |
767 | 2007-10-08 Maciej W. Rozycki <macro@mips.com> |
768 | ||
769 | * mips-tdep.c (mips32_next_pc): Fix a typo in BGTZL. | |
770 | ||
c7f30c7a UW |
771 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
772 | ||
773 | * aix-thread.c (supply_gprs64, supply_fprs, supply_sprs64) | |
774 | (supply_sprs32, fetch_regs_user_thread, fetch_regs_kernel_thread) | |
775 | (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32) | |
776 | (store_regs_user_thread, store_regs_kernel_thread): Use | |
777 | get_regcache_arch or get_frame_arch to get at the current architecture | |
778 | by regcache or by frame, respectively. | |
779 | ||
58643501 UW |
780 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
781 | ||
782 | * sh64-tdep.c (sh64_push_dummy_call, sh64_register_type) | |
783 | (sh64_pseudo_register_read, sh64_pseudo_register_write) | |
784 | (sh64_do_fp_register, sh64_do_pseudo_register, sh64_do_register) | |
785 | (sh64_print_register, sh64_media_print_registers_info) | |
786 | (sh64_compact_print_registers_info, sh64_unwind_sp) | |
787 | (sh64_unwind_pc): Replace current_gdbarch by gdbarch. | |
788 | (sh64_show_media_regs, sh64_show_compact_regs, sh64_frame_cache) | |
789 | (sh64_frame_prev_register): Use FRAME to recognize current | |
790 | architecture. | |
791 | ||
b47193f7 UW |
792 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
793 | ||
794 | * sh-tdep.c (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu) | |
795 | (sh_sh2a_register_type, sh_sh3e_register_type, sh_sh4_register_type) | |
796 | (sh_register_reggroup_p, sh_dwarf2_frame_init_reg): Replace | |
797 | current_gdbarch by gdbarch. | |
798 | (sh_generic_show_regs, sh3_show_reg, sh2e_show_regs, sh2a_show_regs) | |
799 | (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs) | |
800 | (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs, sh_frame_cache) | |
801 | (sh_frame_prev_register, sh_unwind_sp, sh_unwind_pc): Use FRAME to | |
802 | recognize current architecture. | |
803 | ||
4a22f64d UW |
804 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
805 | ||
806 | * remote.c (init_remote_state, fetch_register_using_p) | |
807 | (process_g_packet, remote_fetch_registers, remote_prepare_to_store) | |
808 | (store_register_using_P, store_registers_using_G) | |
809 | (remote_store_registers): Use get_regcache_arch or get_frame_arch to | |
810 | get at the current architecture by regcache or by frame, respectively. | |
811 | ||
c984b7ff UW |
812 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
813 | ||
814 | * m68k-tdep.c (m68k_register_to_value, m68k_value_to_register) | |
815 | (m68k_svr4_extract_return_value, m68k_svr4_store_return_value) | |
816 | (m68k_frame_prev_register, m68k_get_longjmp_target): Use | |
817 | get_regcache_arch or get_frame_arch to get at the current architecture | |
818 | by regcache or by frame, respectively. | |
819 | * m68klinux-tdep.c (m68k_linux_sigtramp_frame_cache): Likewise. | |
820 | * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers) | |
821 | (store_register, old_store_inferior_registers, supply_gregset) | |
822 | (supply_fpregset, fill_fpregset): Likewise. | |
823 | * m68k-tdep.c (m68k_register_type, m68k_unwind_pc, m68k_dump_tdep): | |
824 | Replace current_gdbarch by gdbarch. | |
825 | ||
d611717a UW |
826 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
827 | ||
828 | * irix5-nat.c (supply_gregset, fill_gregset, supply_fpregset) | |
829 | (fill_fpregset, fetch_core_registers): Use get_regcache_arch or | |
830 | get_frame_arch to get at the current architecture by regcache or by | |
831 | frame, respectively. | |
832 | ||
088568da UW |
833 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
834 | ||
835 | * ia64-tdep.c (ia64_pseudo_register_read, ia64_pseudo_register_write): | |
836 | Replace current_gdbarch by gdbarch. | |
837 | * ia64-tdep.c (ia64_frame_prev_register | |
838 | (ia64_sigtramp_frame_prev_register) | |
839 | (ia64_libunwind_frame_prev_register): Use get_regcache_arch or | |
840 | get_frame_arch to get at the current architecture by regcache or by | |
841 | frame, respectively. | |
842 | * ia64-linux-nat.c (ia64_linux_fetch_register) | |
843 | (ia64_linux_fetch_registers, ia64_linux_store_register) | |
844 | (ia64_linux_store_registers): Likewise. | |
845 | ||
464963c9 UW |
846 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
847 | ||
848 | * hppa-tdep.c (hppa_stub_unwind_sniffer, hppa_dump_tdep): Replace | |
849 | current_gdbarch by gdbarch. | |
850 | * hppa-linux-nat.c (fetch_register, store_register) | |
851 | (hppa_linux_fetch_inferior_registers) | |
852 | (hppa_linux_store_inferior_registers): Use get_regcache_arch or | |
853 | get_frame_arch to get at the current architecture by regcache or by | |
854 | frame, respectively. | |
855 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code | |
856 | (hppa_hpux_unwind_adjust_stub): Likewise. | |
857 | * hppa-hpux-nat.c (hppa_hpux_fetch_register, hppa_hpux_store_register) | |
858 | (hppa_hpux_fetch_inferior_registers) | |
859 | (hppa_hpux_store_inferior_registers): Likewise. | |
860 | ||
7fbe2eba UW |
861 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
862 | ||
863 | * cris-tdep.c (cris_sigcontext_addr, cris_sigtramp_frame_unwind_cache) | |
864 | (cris_scan_prologue, crisv32_scan_prologue, find_step_target) | |
865 | (cris_software_single_step, cris_supply_gregset): Use get_regcache_arch | |
866 | or get_frame_arch to get at the current architecture by regcache or by | |
867 | frame, respectively. | |
868 | * cris-tdep.c (crisv32_single_step_through_delay, cris_push_dummy_call) | |
869 | (cris_unwind_pc, cris_unwind_sp, cris_register_type, cris_dump_tdep) | |
870 | (crisv32_register_type, cris_dwarf2_frame_init_reg): Replace | |
871 | current_gdbarch by gdbarch. | |
872 | ||
2af46ca0 UW |
873 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
874 | ||
875 | * arm-tdep.c (arm_scan_prologue, arm_make_prologue_cache) | |
876 | (thumb_get_next_pc, arm_get_next_pc, arm_extract_return_value) | |
877 | (arm_store_return_value): Use get_regcache_arch or get_frame_arch to | |
878 | get at the current architecture by regcache or by·frame, respectively. | |
879 | (arm_push_dummy_call, arm_dump_tdep): Replace current_gdbarch by | |
880 | gdbarch. | |
881 | ||
2ae02b47 UW |
882 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
883 | ||
884 | * amd64-tdep.c (amd64_frame_prev_register, amd64_sigtramp_frame_cache): | |
885 | Use get_regcache_arch or get_frame_arch to get at the current | |
886 | architecture by regcache or by frame, respectively. | |
887 | * amd64-linux-tdep.c (amd64_linux_sigcontext_addr): Likewise. | |
888 | * amd64-nat.c (amd64_supply_native_gregset) | |
889 | (amd64_collect_native_gregset): Replace current_gdbarch by gdbarch. | |
890 | ||
ec7cc0e8 UW |
891 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
892 | ||
893 | * alpha-tdep.c (alpha_register_reggroup_p): Replace current_gdbarch by | |
894 | gdbarch. | |
895 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. | |
896 | (alpha_sigtramp_frame_unwind_cache, alpha_sigtramp_frame_this_id) | |
897 | (alpha_sigtramp_frame_sniffer, alpha_next_pc): Use get_regcache_arch or | |
898 | get_frame_arch to get at the current architecture by regcache or by | |
899 | frame, respectively. | |
900 | * alpha-nat.c (fetch_osf_core_registers): Likewise. | |
901 | ||
ad010def UW |
902 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
903 | ||
904 | * dwarf2-frame.c (read_reg, execute_cfa_program, dwarf2_frame_cache) | |
905 | (dwarf2_frame_default_init_reg, dwarf2_frame_prev_register): Replace | |
906 | current_gdbarch by gdbarch. | |
907 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Likewise. | |
908 | ||
214e098a UW |
909 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
910 | ||
911 | * regcache.c (init_regcache_descr, register_type, read_pc_pid) | |
912 | (write_pc_pid, regcache_dump): Replace current_gdbarch by gdbarch. | |
913 | * regcache.c (regcache_raw_write): Use get_regcache_arch or | |
914 | get_frame_arch to get at the current architecture by regcache or by | |
915 | frame, respectively. | |
916 | ||
e9e45075 UW |
917 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
918 | ||
919 | * findvar.c (value_of_register, locate_var_value): Use | |
920 | get_regcache_arch or get_frame_arch to get at the current architecture | |
921 | by regcache or by frame, respectively. | |
922 | * findvar.c (default_value_from_register, value_from_register): Replace | |
923 | current_gdbarch by gdbarch. | |
924 | ||
136855cd PM |
925 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
926 | ||
927 | * config/i386/nm-i386.h (CHILD_POST_STARTUP_INFERIOR): ARI fix: Remove. | |
928 | ||
cdf43007 PM |
929 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
930 | ||
931 | * linux-fork.c: ARI fix: include "gdb_wait.h" instead of <sys/wait.h>. | |
932 | Makefile.in (linux-fork.o): Add gdb_wait.h dependency. | |
933 | ||
9ef895d6 DJ |
934 | 2007-10-05 Daniel Jacobowitz <dan@codesourcery.com> |
935 | ||
936 | * remote.c (get_offsets): Only call free_symfile_segment_data if | |
937 | data was allocated. | |
938 | ||
cada2e7b PM |
939 | 2007-10-03 Pierre Muller <muller@ics.u-strasbg.fr> |
940 | ||
941 | * objc-exp.y: ARI fix: remove 4 PARAMS. | |
942 | ||
8d5f9c6f DJ |
943 | 2007-10-03 Daniel Jacobowitz <dan@codesourcery.com> |
944 | ||
945 | * NEWS: Use uniform spacing. Correct version number for GDB 6.7 | |
946 | news. Mention XML support for M68K in GDB 6.7. | |
947 | ||
1969d2ed DJ |
948 | 2007-10-03 Daniel Jacobowitz <dan@codesourcery.com> |
949 | ||
950 | * gdbtypes.c (create_range_type): Do not set TYPE_FIELD_TYPE for the | |
951 | bounds. | |
952 | (init_vector_type): Use builtin_type_int32. | |
953 | ||
e31dcd20 UW |
954 | 2007-10-02 Ulrich Weigand <uweigand@de.ibm.com> |
955 | ||
956 | * s390-tdep.c (s390_regset_from_core_section): Allow excess section | |
957 | size to enable bi-arch generate-core-file support. | |
958 | ||
b94c4f7d UW |
959 | 2007-10-02 Markus Deuling <deuling@de.ibm.com> |
960 | ||
961 | * spu-tdep.c (info_spu_signal_command): Fix output for SPU signal. | |
962 | ||
9612b5ec UW |
963 | 2007-10-02 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
964 | ||
965 | * tui/tui-interp.c (tui_init): Initialize tui's SIGWINCH | |
966 | signal handler. | |
967 | * tui/tui-win.c (tui_initialize_win): New function for | |
968 | initializing tui's SIGWINCH signal handler. | |
969 | * tui/tui-win.h (tui_initialize_win): Declare. | |
970 | ||
407f1a2e UW |
971 | 2007-10-02 Ulrich Weigand <uweigand@de.ibm.com> |
972 | ||
973 | * ppc-linux-nat.c (ppc_linux_stopped_data_address): Cast | |
974 | pointer to uintptr_t before casting to CORE_ADDR. | |
975 | ||
02d3ff8c UW |
976 | 2007-10-02 Markus Deuling <deuling@de.ibm.com> |
977 | ||
978 | * linux-nat.c (PTRACE_GETSIGINFO): Add define. | |
979 | ||
4577549b DJ |
980 | 2007-10-02 Mark Mitchell <mark@codesourcery.com> |
981 | ||
982 | * mingw-hdep.c (gdb_select): Stop helper threads before returning. | |
983 | * ser-mingw.c (enum select_thread_state): New type. | |
984 | (struct ser_console_state): Add have_started and thread_state. | |
985 | (select_thread_wait): New function. | |
986 | (thread_fn_type): New type. | |
987 | (create_select_thread): New function. | |
988 | (destroy_select_thread): Likewise. | |
989 | (start_select_thread): Likewise. | |
990 | (stop_select_thread): Likewise. | |
991 | (console_select_thread): Use new functions. | |
992 | (pipe_select_thread): Likewise. | |
993 | (file_select_thread): Likewise. | |
994 | (ser_console_wait_handle): Likewise. | |
995 | (ser_console_done_wait_handle): Likewise. | |
996 | (ser_console_close): Likewise. | |
997 | (free_pipe_state): Likewise. | |
998 | (pipe_wait_handle): Likewise. | |
999 | (pipe_done_wait_handle): Likewise. | |
1000 | (struct net_windows_state): Derive from ser_console_state. | |
1001 | (net_windows_select_thread): Use new functions. | |
1002 | (net_windows_wait_handle): Likewise. | |
1003 | (net_windows_done_wait_handle): Likewise. | |
1004 | (net_windows_close): Likewise. | |
1005 | ||
b0b951d9 DJ |
1006 | 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com> |
1007 | ||
1008 | * inflow.c (terminal_ours_1): Remove useless line. | |
1009 | ||
82e91389 DJ |
1010 | 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com> |
1011 | ||
1012 | * mips-tdep.c (mips_read_fp_register_double): Correct check for | |
1013 | odd FP registers. | |
1014 | (mips_print_fp_register): Correct check for even FP registers. | |
1015 | (mips_virtual_frame_pointer): New function. | |
1016 | (mips_gdbarch_init): Call set_gdbarch_virtual_frame_pointer. | |
1017 | ||
c4a3d09a MF |
1018 | 2007-09-30 Mike Frysinger <vapier@gentoo.org> |
1019 | ||
1020 | * value.h (lookup_only_internalvar): New prototype. | |
1021 | (create_internalvar): Likewise. | |
1022 | * value.c (lookup_only_internalvar): New function. | |
1023 | (create_internalvar): Likewise. | |
1024 | (lookup_internalvar): Use new lookup_only_internalvar and | |
1025 | create_internalvar functions. | |
1026 | * parse.c (write_dollar_variable): Look up $ symbols in internal | |
1027 | table first rather than last. | |
1028 | ||
9f0bdab8 DJ |
1029 | 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com> |
1030 | ||
1031 | * linux-nat.c (linux_nat_new_thread): New variable. | |
1032 | (linux_child_follow_fork): Set inferior_ptid to include LWP ID. Use | |
1033 | linux_nat_switch_fork. | |
1034 | (lwp_list): Make public. | |
1035 | (add_lwp): Call linux_nat_new_thread. | |
1036 | (lin_lwp_attach_lwp, linux_nat_attach): Call add_lwp after stopping | |
1037 | the new thread. | |
1038 | (resume_callback): Clear lp->siginfo. Remove unused variable. | |
1039 | (linux_nat_resume): Assert that the LWP list is already initialized. | |
1040 | Clear lp->siginfo. | |
1041 | (save_siginfo): New. | |
1042 | (stop_wait_callback, linux_nat_wait): Call it. | |
1043 | (linux_nat_set_new_thread, linux_nat_get_siginfo): New. | |
1044 | * linux-nat.h (struct lwp_info): Add siginfo. | |
1045 | (lwp_list, linux_nat_set_new_thread, linux_nat_get_siginfo): Declare. | |
1046 | (ALL_LWPS): Define. | |
1047 | ||
1048 | * amd64-linux-nat.c (amd64_linux_dr): New. | |
1049 | (amd64_linux_dr_get): Take a PTID argument. Correct typo. | |
1050 | (amd64_linux_dr_set): Take a PTID argument. | |
1051 | (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use ALL_LWPS. | |
1052 | (amd64_linux_dr_reset_addr): Use amd64_linux_dr_set_addr. | |
1053 | (amd64_linux_dr_get_status): Pass inferior_ptid to amd64_linux_dr_get. | |
1054 | (amd64_linux_new_thread): New. | |
1055 | (_initialize_amd64_linux_nat): Call linux_nat_set_new_thread. | |
1056 | * i386-linux-nat.c (i386_linux_dr): New. | |
1057 | (i386_linux_dr_get, i386_linux_dr_set): Take a PTID argument. | |
1058 | (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use ALL_LWPS. | |
1059 | (i386_linux_dr_reset_addr): Use i386_linux_dr_set_addr. | |
1060 | (i386_linux_dr_get_status): Pass inferior_ptid to i386_linux_dr_get. | |
1061 | (i386_linux_new_thread): New. | |
1062 | (i386_linux_resume): Remove unnecessary PID check. | |
1063 | (_initialize_i386_linux_nat): Call linux_nat_set_new_thread. | |
1064 | * ia64-linux-nat.c (enable_watchpoints_in_psr): Take PTID argument. | |
1065 | (fetch_debug_register, fetch_debug_register_pair): Delete. | |
1066 | (debug_registers): New. | |
1067 | (ia64_linux_insert_watchpoint, ia64_linux_remove_watchpoint): Use | |
1068 | ALL_LWPS and debug_registers. | |
1069 | (ia64_linux_new_thread): New. | |
1070 | (ia64_linux_stopped_data_address): Use linux_nat_get_siginfo. | |
1071 | (_initialize_ia64_linux_nat): Call linux_nat_set_new_thread. | |
1072 | * ppc-linux-nat.c (last_stopped_data_address): Delete. | |
1073 | (saved_dabr_value): New. | |
1074 | (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use | |
1075 | ALL_LWPS. | |
1076 | (ppc_linux_new_thread): New. | |
1077 | (ppc_linux_stopped_data_address): Use linux_nat_get_siginfo. | |
1078 | (ppc_linux_stopped_by_watchpoint): Call ppc_linux_stopped_data_address. | |
1079 | (_initialize_ppc_linux_nat): Call linux_nat_set_new_thread. | |
1080 | * s390-nat.c (s390_stopped_by_watchpoint): Clear the watchpoint status | |
1081 | after reading it. | |
1082 | (s390_fix_watch_points): Take a PTID argument. | |
1083 | (s390_insert_watchpoint, s390_remove_watchpoint): Use ALL_LWPS. | |
1084 | (_initialize_s390_nat): Call linux_nat_set_new_thread. | |
1085 | ||
d983da9c DJ |
1086 | 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com> |
1087 | Jeff Johnston <jjohnstn@redhat.com> | |
1088 | ||
1089 | * breakpoint.c (watchpoints_triggered): New. | |
1090 | (bpstat_stop_status): Remove STOPPED_BY_WATCHPOINT argument. | |
1091 | Check watchpoint_triggered instead. Combine handling for software | |
1092 | and hardware watchpoints. Do not use target_stopped_data_address | |
1093 | here. Always check a watchpoint if its scope breakpoint triggers. | |
1094 | Do not stop for thread or overlay events. Improve check for | |
1095 | triggered watchpoints without a value change. | |
1096 | (watch_command_1): Insert the scope breakpoint first. Link the | |
1097 | scope breakpoint to the watchpoint. | |
1098 | * breakpoint.h (enum watchpoint_triggered): New. | |
1099 | (struct breakpoint): Add watchpoint_triggered. | |
1100 | (bpstat_stop_status): Update prototype. | |
1101 | (watchpoints_triggered): Declare. | |
1102 | * infrun.c (enum infwait_status): Add infwait_step_watch_state. | |
1103 | (stepped_after_stopped_by_watchpoint): Delete. | |
1104 | (handle_inferior_event): Make stepped_after_stopped_by_watchpoint | |
1105 | local. Handle infwait_step_watch_state. Update calls to | |
1106 | bpstat_stop_status. Use watchpoints_triggered to check | |
1107 | watchpoints. | |
1108 | * remote.c (stepped_after_stopped_by_watchpoint): Remove extern. | |
1109 | (remote_stopped_data_address): Do not check it. | |
1110 | ||
7921a279 DJ |
1111 | 2007-09-29 Daniel Jacobowitz <dan@codesourcery.com> |
1112 | ||
1113 | * configure.ac: Add $LIBINTL when testing libbfd. | |
1114 | * configure: Regenerated. | |
1115 | ||
fe6fbf8b VP |
1116 | 2007-09-28 Vladimir Prus <vladimir@codesourcery.com> |
1117 | ||
1118 | * NEW: Mention pending breakpoint changes and | |
1119 | support for breakpoints at multiple locations. | |
1120 | ||
daddc3c1 DJ |
1121 | 2007-09-27 Daniel Jacobowitz <dan@codesourcery.com> |
1122 | ||
1123 | * arm-linux-tdep.c (arm_linux_software_single_step): New. | |
1124 | (arm_linux_init_abi): Use it. | |
1125 | * arm-tdep.c (arm_get_next_pc): Make global. Handle all-ones | |
1126 | condition correctly. | |
1127 | * arm-tdep.h (arm_get_next_pc): Declare. | |
1128 | * Makefile.in (arm-linux-tdep.o): Update. | |
1129 | ||
7a4d50bf VP |
1130 | 2007-09-26 Vladimir Prus <vladimir@codesourcery.com> |
1131 | ||
1132 | * varobj.c (install_new_value): Don't | |
1133 | call value_get_print_value when a value is | |
1134 | lazy. Update the print_value member in a | |
1135 | single place. | |
1136 | ||
d32a6982 VP |
1137 | 2007-09-26 Vladimir Prus <vladimir@codesourcery.com> |
1138 | ||
1139 | * breakpoint.c (create_breakpoint): Set | |
1140 | condition on each location, not on the first | |
1141 | location of breakpoint. | |
1142 | ||
489eaeba JB |
1143 | 2007-09-26 Jim Blandy <jimb@codesourcery.com> |
1144 | ||
1145 | * remote.c (getpkt_sane): Fix error message. No animals were | |
1146 | harmed in the making of this debugger. | |
1147 | ||
3e9313ab PM |
1148 | 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr> |
1149 | ||
1150 | * p-typeprint.c: Fix 11 ARI reported problems. | |
1151 | (pascal_print_type): Fix 4 operator at end of line. | |
1152 | (pascal_type_print_method_args) : Replace 2 DEPRECATED_STREQN macros | |
1153 | using strncmp function. | |
1154 | (pascal_type_print_base): Fix 2 operator at end of line. | |
1155 | (pascal_type_print_base) : Replace 3 DEPRECATED_STREQN macros | |
1156 | using strncmp function. | |
1157 | ||
1158 | ||
5b8101ae PM |
1159 | 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr> |
1160 | ||
1161 | * Fix PR pascal/2231 | |
1162 | dwarf2read.c (read_subroutine_type): | |
1163 | All pascal functions are prototyped. | |
1164 | ||
c45f11da PM |
1165 | 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr> |
1166 | ||
1167 | * Fix PR pascal/2283 | |
1168 | p-valprint.c (pascal_val_print): correct current language check. | |
1169 | Also print array of char as strings. | |
1170 | ||
1171 | ||
59aa1faa MR |
1172 | 2007-09-26 David Ung <davidu@mips.com> |
1173 | Maciej W. Rozycki <macro@mips.com> | |
1174 | ||
1175 | * mips-tdep.c (mips_n32n64_return_value): Fix a comment. | |
1176 | ||
0b058123 PM |
1177 | 2007-09-25 Pierre Muller <muller@ics.u-strasbg.fr> |
1178 | ||
1179 | * p-exp.y: Fix 12 ARI reported problems. | |
1180 | (name_not_typename): Fix 2 operator at end of line issues. | |
1181 | (yylex): Fix 3 operator at end of line issues. | |
1182 | Replace 7 DEPRECATED_STREQ macros using strcmp function. | |
1183 | ||
b18bb924 MR |
1184 | 2007-09-25 David Ung <davidu@mips.com> |
1185 | Maciej W. Rozycki <macro@mips.com> | |
1186 | ||
1187 | * mips-tdep.c (mips_n32n64_return_value): Per N32/N64 ABI | |
1188 | rules return composite types in registers as appropriate. | |
1189 | ||
28c32713 JB |
1190 | 2007-09-24 Jim Blandy <jimb@codesourcery.com> |
1191 | ||
1192 | * symfile.h (struct symfile_segment_data): Doc fixes. | |
1193 | * symfile.c (symfile_map_offsets_to_segments): Doc fixes. | |
1194 | Assert that we were passed some loaded segment addresses, | |
1195 | and that sections' segment numbers are valid. | |
1196 | Simplify offset calculation. | |
1197 | * remote.c (get_offsets): Clarify selection of relocate-by-segment | |
1198 | strategy, and set num_segments correctly. Delete redundant | |
1199 | assignments to do_sections. | |
1200 | ||
32276632 DJ |
1201 | 2007-09-24 Daniel Jacobowitz <dan@codesourcery.com> |
1202 | ||
1203 | * frame.c (get_prev_frame_1): Also check for PC in the same register. | |
1204 | ||
ed0616c6 VP |
1205 | 2007-09-24 Vladimir Prus <vladimir@codesourcery.com> |
1206 | ||
1207 | * breakpoint.c (remove_sal): New. | |
1208 | (expand_line_sal_maybe): New. | |
1209 | (create_breakpoints): Call expand_line_sal_maybe. | |
1210 | (clear_command): Add comment. | |
1211 | (breakpoint_re_set_one): Call expand_line_sal_maybe. | |
1212 | * linespec.c (decode_indirect): Set explicit_pc to 1. | |
1213 | (decode_all_digits): Set explicit_line to 1. | |
1214 | (append_expanded_sal): New. | |
1215 | (expand_line_sal): New. | |
1216 | * linespec.h (expand_line_sal): Declare. | |
1217 | * symtab.c (init_sal): Initialize explicit_pc | |
1218 | and explicit_line. | |
1219 | * symtab.h (struct symtab_and_line): New fields | |
1220 | explicit_pc and explicit_line. | |
1221 | ||
41f1b697 DJ |
1222 | 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com> |
1223 | ||
1224 | * infcall.c (call_function_by_hand): Handle language-specific | |
1225 | pass and return by reference. | |
1226 | ||
1227 | * cp-abi.c (cp_pass_by_reference): New. | |
1228 | * cp-abi.h (cp_pass_by_reference): Declare. | |
1229 | (struct cp_abi_ops): Add pass_by_reference. | |
1230 | * gnu-v3-abi.c (gnuv3_pass_by_reference): New. | |
1231 | (init_gnuv3_ops): Set pass_by_reference. | |
1232 | ||
1233 | * language.c (language_pass_by_reference): New. | |
1234 | (default_pass_by_reference): New. | |
1235 | (unknown_language_defn, auto_language_defn, local_language_defn): Add | |
1236 | default_pass_by_reference. | |
1237 | * langauge.h (struct language_defn): Add la_pass_by_reference. | |
1238 | (language_pass_by_reference, default_pass_by_reference): Declare. | |
1239 | * ada-lang.c (ada_language_defn): Add default_pass_by_reference. | |
1240 | * c-lang.c (c_language_defn, asm_language_defn) | |
1241 | (minimal_language_defn): Likewise. | |
1242 | (cplus_language_defn): Add cp_pass_by_reference. | |
1243 | * f-lang.c (f_language_defn): Add default_pass_by_reference. | |
1244 | * jv-lang.c (java_language_defn): Likewise. | |
1245 | * m2-lang.c (m2_language_defn): Likewise. | |
1246 | * objc-lang.c (objc_language_defn): Likewise. | |
1247 | * p-lang.c (pascal_language_defn): Likewise. | |
1248 | * scm-lang.c (scm_language_defn): Likewise | |
1249 | ||
0d381245 VP |
1250 | 2007-09-23 Vladimir Prus <vladimir@codesourcery.com> |
1251 | ||
1252 | Allow a code breakpoint to have several locations | |
1253 | associated with it. | |
1254 | * breakpoint.h (enum enable_state): Remove the | |
1255 | bp_shlib_disabled enumerator. | |
1256 | (struct bp_location): New members shlib_disabled, | |
1257 | global_next, enabled and function_name. | |
1258 | Rename pending to condition_not_parsed. | |
1259 | ||
1260 | * breakpoint.c (ALL_BP_LOCATIONS): Iterate over global_next. | |
1261 | (ALL_BP_LOCATIONS_SAFE): Likewise. | |
1262 | (breakpoint_enabled): Don't check for pending. | |
1263 | (condition_command): Free and update all locations of | |
1264 | a breakpoint. | |
1265 | (insert_bp_location): Adjust. | |
1266 | (software_breakpoint_inserted_here_p): Don't care | |
1267 | if breakpoint is enabled, as soon as it's inserted. | |
1268 | (print_it_typical): Print bpstat's location, not | |
1269 | bpstat's breakpoint's location. | |
1270 | (bpstat_stop_status): Iterate over all locations, not | |
1271 | all breakpoints. | |
1272 | (print_breakpoint_location): New. | |
1273 | (print_one_breakpoint): Renamed to | |
1274 | (print_one_breakpoint_location): ...this. Take | |
1275 | parameters to describe which location is being | |
1276 | printed. Modify code to properly print header | |
1277 | for several locations and individual locations. | |
1278 | (print_one_breakpoint): Print all locations. | |
1279 | (breakpoint_has_pc): New. | |
1280 | (describe_other_breakpoints): Use the above. | |
1281 | (check_duplicates): Renamed to... | |
1282 | (check_duplicates_for): .. this. | |
1283 | (check_duplicates): Use check_duplicates_for. | |
1284 | (allocate_bp_location): Adjust. | |
1285 | (set_raw_breakpoint_without_location): New, | |
1286 | extracted from set_raw_breakpoint. | |
1287 | (set_breakpoint_location_function): New. | |
1288 | (set_raw_breakpoint): Use | |
1289 | set_raw_breakpoint_without_location. | |
1290 | (make_breakpoint_permanent): Mark all locations | |
1291 | as inserted. | |
1292 | (disable_breakpoints_in_shlibs): Iterate over | |
1293 | locations. | |
1294 | (disable_breakpoints_in_unloaded_shlib): Likewise. | |
1295 | (re_enable_breakpoints_in_shlibs): Likewise. | |
1296 | (mention): Say "pending" when breakpoint has | |
1297 | zero locations. If breakpoint has more than one | |
1298 | location, say so. | |
1299 | (add_location_to_breakpoint): New. | |
1300 | (create_breakpoint): Accept symtabs_and_lines, not | |
1301 | symtab_and_line. Pass extra sals to | |
1302 | add_location_to_breakpoint. | |
1303 | (create_breakpoints): Pass symtabs_and_lines to | |
1304 | create_breakpoints. | |
1305 | (break_command_1): Make pending breakpoints | |
1306 | have zero locations. | |
1307 | (do_captured_breakpoint): Remove wrong allocation. | |
1308 | (clear_command): Iterate over all locations. | |
1309 | (unlink_locations_from_global_list): Renamed | |
1310 | from unlink_location_from_global_list. Remove | |
1311 | all locations. | |
1312 | (delete_breakpoint): Remove all locations. | |
1313 | Iterate over all locations when deciding which | |
1314 | other location to re-enable. | |
1315 | (all_locations_are_pending): New. | |
1316 | (update_breakpoint_locations): Renamed from | |
1317 | update_breakpoint_location. Try to match old | |
1318 | and new locations using names of containing | |
1319 | functions. | |
1320 | (breakpoint_re_set_one): Adjust. | |
1321 | (find_location_by_number): New. | |
1322 | (disable_command): Allow disabling individual location. | |
1323 | (enable_command): Allow enabling individual location. | |
1324 | * breakpoint.c: Adjust all uses of breakpoint's | |
1325 | enable state to for bp_shlib_disabled change. | |
1326 | ||
fe3f5fa8 VP |
1327 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
1328 | ||
1329 | * breakpoint.c (do_restore_lang_radix_cleanup): Remove. | |
1330 | (resolve_pending_breakpoint): Remove. | |
1331 | (re_enable_breakpoints_in_shlibs): Remove. | |
1332 | (unlink_locations_from_global_list): New. | |
1333 | (update_breakpoint_locations): New. | |
1334 | (breakpoint_re_set_one): Don't bail out on pending breakpoints. | |
1335 | Use parse_condition and update_breakpoint_location to | |
1336 | reset breakpoint. Ignore 'symbol not found' error from | |
1337 | decode_line_1. | |
1338 | (breakpoint_re_set): Don't emit newline before the | |
1339 | reason why breakpoint is not reset. | |
1340 | (do_enable_breakpoint): Don't specially process pending | |
1341 | breakpoints. | |
1342 | (free_bp_location): New. | |
1343 | (break_command_1): For pending breakpoints, initialize | |
1344 | all fields of a sal with zeroes. | |
1345 | * breakpoint.h (re_enable_breakpoints_in_shlibs): Remove. | |
1346 | * infcmd.c (post_create_inferior): Don't call | |
1347 | re_enable_breakpoints_in_shlibs. | |
1348 | * infrun.c (handle_inferior_event): Likewise. | |
1349 | * solib-irix.c (irix_solib_create_inferior_hook): Likewise. | |
1350 | * solib-osf.c (osf_solib_create_inferior_hook): Likewise. | |
1351 | * win32-nat.c (get_win32_debug_event): Likewise. | |
1352 | ||
511a6cd4 VP |
1353 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
1354 | ||
018d34a4 VP |
1355 | * breakpoint.c (create_breakpoint): Split from |
1356 | create_breakpoints, implementing most of its logic. | |
1357 | Take just a single sal, single address string and | |
1358 | single condition. Do not take parsed condition at | |
1359 | all. | |
1360 | (create_breakpoints): Just call create_breakpoint | |
1361 | for each sal. | |
1362 | (find_condition_and_thread): New. | |
1363 | (break_command_1): Use find_condition_and_thread. | |
1364 | Do not keep parsed conditions. | |
1365 | (do_captured_breakpoint): Don't convert | |
1366 | condition string to struct expression. | |
1367 | ||
1368 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> | |
1369 | ||
511a6cd4 VP |
1370 | * breakpoint.h (struct breakpoint): Move the cond |
1371 | field to... | |
1372 | (struct bp_location): Here. | |
1373 | * breakpoint.c (condition_command, bpstat_stop_status) | |
1374 | (print_one_breakpoint, allocate_bp_location) | |
1375 | (solib_load_unload_1, create_fork_vfork_event_catchpoint) | |
1376 | (create_exec_event_catchpoint, create_breakpoints) | |
1377 | (break_command_1, watch_command_1, handle_gnu_v3_exceptions) | |
1378 | (create_ada_exception_breakpoint, set_breakpoint_sal) | |
1379 | (delete_breakpoint, breakpoint_re_set_one): Adjust. | |
1380 | * tui/tui-winsource.c (tui_update_breakpoint_info): Adjust. | |
1381 | ||
4f8d1dc6 VP |
1382 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
1383 | ||
1384 | Associate bp_stat with bp_location, not breakpoint. | |
1385 | * breakpoint.h (breakpoint_at): Change type | |
1386 | to bp_location*. | |
1387 | * breakpoint.c (bpstat_alloc): Take bp_location, | |
1388 | not breakpoint. | |
1389 | (bpstat_find_breakpoint): Look at bpstat's location's | |
1390 | owner, not at bpstat->breakpoint_at. | |
1391 | (bpstat_find_step_resume_breakpoint): Likewise. | |
1392 | (bpstat_num): Likewise. | |
1393 | (print_it_typical): Likewise. | |
1394 | (print_bp_stop_message): Likewise. | |
1395 | (watchpoint_check): Likewise. | |
1396 | (bpstat_what): Likewise. | |
1397 | (bpstat_get_triggered_catchpoints): Likewise. | |
1398 | (breakpoint_auto_delete): Likewise. | |
1399 | (delete_breakpoint): Likewise. | |
1400 | (bpstat_stop_status): Pass location, not breakpoint, | |
1401 | to bpstat_alloc. Look at bpstat's location's | |
1402 | owner, not at bpstat->breakpoint_at. | |
1403 | ||
32623386 JB |
1404 | 2007-09-21 Jim Blandy <jimb@codesourcery.com> |
1405 | ||
1406 | * macrotab.h (new_macro_table): Document that removing information | |
1407 | from an obstack/bcache-managed macro table leaks memory. | |
1408 | * macrotab.c (macro_free, macro_bcache_free): Instead of asserting | |
1409 | that data is never freed in obstack/bcache-managed macro tables, | |
1410 | just leak the storage. | |
1411 | (macro_undef): If we're undefining a macro at exactly the same | |
1412 | source location that we defined it, simply remove the definition | |
1413 | altogether. | |
1414 | ||
c295b2e5 JB |
1415 | 2007-09-21 Joel Brobecker <brobecker@adacore.com> |
1416 | ||
1417 | * symfile.h (struct sym_fns): Add new field sym_read_linetable. | |
1418 | * coffread.c, dbxread.c, elfread.c, mipsread.c somread.c: | |
1419 | Adjust the struct sym_fns object accordingly by setting | |
1420 | the new field to NULL. | |
1421 | * xcoffread.c (aix_process_linenos): Make static. | |
1422 | (xcoff_sym_fns): Set new field to aix_process_linenos. | |
1423 | * buildsym.c (end_symtab): Replace call to PROCESS_LINENUMBER_HOOK | |
1424 | by call to new the new sym_fns sym_read_linetable function. | |
1425 | * config/powerpc/aix.mt (DEPRECATED_TM_FILE): Delete. | |
1426 | * config/rs6000/tm-rs6000.h: Delete. | |
1427 | ||
ab2e1992 MR |
1428 | 2007-09-21 David Ung <davidu@mips.com> |
1429 | Maciej W. Rozycki <macro@mips.com> | |
1430 | ||
1431 | * mips-tdep.c (mips_n32n64_push_dummy_call): Per N32/N64 ABI | |
1432 | rules do not treat composite types specially. | |
1433 | ||
97ab0fdd MR |
1434 | 2007-09-20 Maciej W. Rozycki <macro@mips.com> |
1435 | ||
1436 | * mips-tdep.c (mips32_in_function_epilogue_p): New function. | |
1437 | (mips16_in_function_epilogue_p): Likewise. | |
1438 | (mips_in_function_epilogue_p): Likewise. | |
1439 | (mips_gdbarch_init): Register mips_in_function_epilogue_p(). | |
1440 | ||
01fe12f6 JB |
1441 | 2007-09-19 Joel Brobecker <brobecker@adacore.com> |
1442 | ||
1443 | * configure.ac: Add check for "etext". | |
1444 | * configure, config.in: Regenerate. | |
1445 | * maint.c (TEXTEND): Only define if either _etext or etext | |
1446 | are available. | |
1447 | Disable the profiling functionality if TEXTEND is not defined. | |
1448 | ||
aa6c981f DJ |
1449 | 2007-09-19 Daniel Jacobowitz <dan@codesourcery.com> |
1450 | ||
1451 | * mips-tdep.c (mips_stub_frame_cache): Correct the saved return | |
1452 | address register. Correct the call to frame_id_build. | |
1453 | (mips_stub_frame_sniffer): Use the stub unwinder when the PC | |
1454 | is invalid. | |
1455 | ||
39312971 JB |
1456 | 2007-09-18 Joel Brobecker <brobecker@adacore.com> |
1457 | ||
1458 | * ia64-tdep.c (refine_prologue_limit): Make sure we don't scan | |
1459 | the linetable past the function end. | |
1460 | ||
558dc30a JW |
1461 | 2007-09-18 James E. Wilson <wilson@specifix.com> |
1462 | ||
1463 | * MAINTAINERS: Update my email address. | |
1464 | ||
60e2c248 JG |
1465 | 2007-09-18 Jerome Guitton <guitton@adacore.com> |
1466 | ||
1467 | * inf-ttrace.c (inf_ttrace_private_thread_info): New structure type. | |
1468 | (inf_ttrace_delete_dying_threads_callback): New function. | |
1469 | (inf_ttrace_resume): After resuming the execution, iterate over | |
1470 | the dying threads to delete them for the thread list. | |
1471 | (inf_ttrace_wait): on TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE, | |
1472 | mark the corresponding thread as dying instead of removing it | |
1473 | from the thread list. | |
1474 | (inf_ttrace_thread_alive): return 0 for dying threads. | |
1475 | ||
f4c1edd8 JB |
1476 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
1477 | ||
1478 | * infrun.c (insert_step_resume_breakpoint_at_frame): Add assertion | |
1479 | that return_frame is not null. | |
1480 | ||
8d4e36ba JB |
1481 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
1482 | ||
1483 | * solib-svr4.c: Add include of "auxv.h". | |
1484 | (enable_break): Use the AT_BASE auxiliary entry if available. | |
1485 | * Makefile.in (solib-svr4.o): Update dependencies. | |
1486 | ||
f9ed52be JB |
1487 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
1488 | ||
1489 | * NEWS: Create a new section for the next release branch. | |
1490 | Rename the section of the current branch, now that it has | |
1491 | been cut. | |
1492 | ||
eff4f95e JG |
1493 | 2007-09-17 Jerome Guitton <guitton@adacore.com> |
1494 | ||
1495 | * dwarf2loc.c (dwarf_expr_frame_base): Guard against NULL. | |
1496 | * Makefile.in (dwarf2loc.o): Depend on gdb_assert.h. | |
1497 | ||
084344da VP |
1498 | 2007-09-16 Vladimir Prus <vladimir@codesourcery.com> |
1499 | ||
1500 | * mi/mi-cmds.c (mi_cmds): Register -list-features. | |
1501 | * mi/mi-cmds.h (mi_cmd_list_features): New. | |
1502 | * mi/mi-main.c (mi_cmd_list_features): New. | |
1503 | ||
50c7215d | 1504 | 2007-09-11 Joel Brobecker <brobecker@adacore.com> |
1505 | ||
1506 | GDB 6.7 branch created (branch timestamp: 2007-09-07 14:00 UTC) | |
1507 | * version.in: Bump version to 6.7.50-20070911-cvs. | |
1508 | ||
4d8453a5 DJ |
1509 | 2007-09-10 Daniel Jacobowitz <dan@codesourcery.com> |
1510 | ||
1511 | * thread.c (free_thread): Do not delete the step resume breakpoint | |
1512 | right away. | |
1513 | ||
4eb0ad19 DJ |
1514 | 2007-09-10 Daniel Jacobowitz <dan@codesourcery.com> |
1515 | ||
1516 | * arch-utils.c (gdbarch_info_fill): Also try core_bfd. | |
1517 | * corelow.c (core_read_description): New. | |
1518 | (init_core_ops): Set to_read_description. | |
1519 | * gdbarch.sh: Add gdbarch_core_read_description. | |
1520 | * mips-linux-tdep.c (mips_linux_core_read_description): New. | |
1521 | (mips_linux_init_abi): Call set_gdbarch_core_read_description. | |
1522 | * mips-tdep.c (mips_tdesc_gp32, mips_tdesc_gp64): New. | |
1523 | (mips_register_g_packet_guesses): Use them. | |
1524 | (_initialize_mips_tdep): Initialize them. | |
1525 | * mips-tdep.h (mips_tdesc_gp32, mips_tdesc_gp64): Declare. | |
1526 | * gdbarch.h, gdbarch.c: Regenerated. | |
1527 | ||
6a6b96b9 UW |
1528 | 2007-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
1529 | ||
1530 | * infrun.c (stepping_past_breakpoint): New global variable. | |
1531 | (stepping_past_breakpoint_ptid): Likewise. | |
1532 | (prepare_to_proceed): Add STEP parameter. Do not check for Ctrl-C. | |
1533 | Only switch threads if we need to single-step over a breakpoint hit | |
1534 | in the previously selected thread. If stepping, remember previous | |
1535 | thread to switch back to in STEPPING_PAST_BREAKPOINT[_PTID]. Call | |
1536 | switch_to_thread instead of copying its contents. | |
1537 | (proceed): Pass STEP to prepare_to_proceed. Always set ONEPROC if | |
1538 | prepare_to_proceed returns true. | |
1539 | (init_wait_for_inferior): Reset STEPPING_PAST_BREAKPOINT. | |
1540 | (context_switch): Call switch_to_thread. | |
1541 | (handle_inferior_event): Switch back to previous thread if requested | |
1542 | in STEPPING_PAST_BREAKPOINT[_PTID] by prepare_to_proceed. | |
1543 | * gdbthread.h (switch_to_thread): Add prototype. | |
1544 | * thread.c (switch_to_thread): Make global. | |
1545 | ||
0b058123 | 1546 | 2007-09-07 Pierre Muller <muller@ics.u-strasbg.fr> |
b20a3440 PM |
1547 | |
1548 | * p-valprint.c: Fix 7 ARI reported problems. | |
1549 | (pascal_val_print): Fix one operator at end of line issue. | |
1550 | Use paddress function to remove use of | |
1551 | deprecated_print_address_numeric function (2 times). | |
1552 | Use SYMBOL_LINKAGE_NAME instead of DEPRECATED_SYMBOL_NAME. | |
1553 | (pascal_value_print): Fix 3 operator at end of line issues. | |
1554 | ||
faa95490 DJ |
1555 | 2007-09-07 Daniel Jacobowitz <dan@codesourcery.com> |
1556 | ||
1557 | PR gdb/2103 | |
1558 | * arm-tdep.c (arm_in_call_stub): Delete. | |
1559 | (arm_skip_stub): Handle from_arm and from_thumb stubs. | |
1560 | ||
f0027ce2 DJ |
1561 | 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com> |
1562 | ||
1563 | * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Handle other integer | |
1564 | types. | |
1565 | ||
ea37ba09 DJ |
1566 | 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com> |
1567 | Jim Blandy <jimb@codesourcery.com> | |
1568 | ||
1569 | * NEWS: Update description of string changes. Mention print/s. | |
1570 | * c-valprint.c (textual_element_type): New. | |
1571 | (c_val_print): Use it. Do not skip address printing for pointers | |
1572 | with a string format. | |
1573 | (c_value_print): Doc update. | |
1574 | * dwarf2read.c (read_array_type): Use make_vector_type. | |
1575 | * gdbtypes.c (make_vector_type): New. | |
1576 | (init_vector_type): Use it. | |
1577 | (gdbtypes_post_init): Initialize builtin_true_unsigned_char. | |
1578 | (_initialize_gdbtypes): Mark int8_t and uint8_t as TYPE_FLAG_NOTTEXT. | |
1579 | * gdbtypes.h (struct builtin_type): Add builtin_true_unsigned_char. | |
1580 | (TYPE_FLAG_NOTTEXT, TYPE_NOTTEXT): New. | |
1581 | (make_vector_type): New. | |
1582 | * printcmd.c (print_formatted): Only handle 's' and 'i' for examine. | |
1583 | Call the language print routine for string format. | |
1584 | (print_scalar_formatted): Call val_print for string format. Handle | |
1585 | unsigned original types for char format. | |
1586 | (validate_format): Do not reject string format. | |
1587 | * stabsread.c (read_type): Use make_vector_type. | |
1588 | * xml-tdesc.c (tdesc_start_vector): Use init_vector_type. | |
1589 | ||
8fb822e0 MS |
1590 | 2007-09-04 Michael Snyder <msnyder@access-company.com> |
1591 | ||
fcd776e5 MS |
1592 | * expprint.c (print_subexp_standard): Check strchr for null. |
1593 | * Makefile.in (expprint.o): Depend on gdb_assert.h. | |
1594 | ||
7d63ec12 MS |
1595 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Guard against null. |
1596 | ||
8fb822e0 MS |
1597 | * stabsread.c (patch_block_status): Guard against null. |
1598 | * Makefile.in (stabsread.o): Depend on gdb_assert.h. | |
1599 | ||
2025a643 DJ |
1600 | 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com> |
1601 | ||
1602 | * printcmd.c (printf_command): Handle ptr_arg. Correct typo | |
1603 | in internal error message. | |
1604 | ||
de1b3c3d PA |
1605 | 2007-09-04 Pedro Alves <pedro_alves@portugalmail.pt> |
1606 | Daniel Jacobowitz <dan@codesourcery.com> | |
1607 | ||
1608 | * infcmd.c (post_create_inferior): Update comment. | |
1609 | (run_command_1): Always call post_create_inferior with 0 as | |
1610 | from_tty. | |
1611 | ||
1612 | * i386-cygwin-tdep.h: New. | |
1613 | * i386-cygwin-tdep.c: Include "i386-cygwin-tdep.h". | |
1614 | (win32_xfer_shared_library): Make it extern. | |
1615 | ||
1616 | * win32-nat.c: Include gdb_obstack.h and xml-support.h and | |
1617 | i386-cygwin-tdep.h. | |
1618 | (win32_so_ops): Delete. | |
1619 | (get_relocated_section_addrs): Delete. | |
1620 | (solib_symbols_add): Delete. | |
1621 | (register_loaded_dll): Delete. | |
1622 | (win32_make_so): New. | |
1623 | (handle_load_dll): Use win32_make_so. | |
1624 | (win32_free_so): Free the passed in so. | |
1625 | (win32_relocate_section_addresses): Delete. | |
1626 | (win32_solib_create_inferior_hook): Delete. | |
1627 | (handle_unload_dll): Don't add PE offset here. Free so with | |
1628 | win32_free_so instead of free_so. | |
1629 | (win32_special_symbol_handling): Delete. | |
1630 | (get_win32_debug_event): Remove unneeded calls. Set state to | |
1631 | TARGET_WAITKIND_LOADED on a dll unload. | |
1632 | (do_initial_win32_stuff): Clear cygwin_load_start and | |
1633 | cygwin_load_end. | |
1634 | (map_code_section_args): Delete. | |
1635 | (dll_code_sections_add): Delete. | |
1636 | (core_section_load_dll_symbols): Delete. | |
1637 | (win32_xfer_shared_libraries): New. | |
1638 | (win32_current_sos): Delete. | |
1639 | (win32_xfer_partial): New. | |
1640 | (open_symbol_file_object): Delete. | |
1641 | (in_dynsym_resolve_code): Delete. | |
1642 | (init_win32_ops): Set win32_xfer_partial as to_xfer_partial member | |
1643 | of win32_ops. Remove win32_so_ops settings. Don't set | |
1644 | current_target_so_ops here. | |
1645 | ||
1646 | * Makefile.in (i386_cygwin_tdep_h): New variable. | |
1647 | (i386-cygwin-tdep.o): Update dependencies. | |
1648 | (win32-nat.o): Update dependencies. | |
1649 | ||
de584861 PA |
1650 | 2007-09-04 Pedro Alves <pedro_alves@portugalmail.pt> |
1651 | Daniel Jacobowitz <dan@codesourcery.com> | |
1652 | ||
1653 | * gdbarch.sh (core_xfer_shared_libraries): New. | |
1654 | ||
1655 | * corelow.c (core_xfer_partial): Handle TARGET_OBJECT_LIBRARIES. | |
1656 | ||
1657 | * gdb_obstack.h (obstack_grow_str, obstack_grow_str0): New. | |
1658 | ||
1659 | * xml-support.c (gdb_xml_parse): Debug output tweaks. | |
1660 | (xml_escape_text): New. | |
1661 | * xml-support.h (xml_escape_text): Declare. | |
1662 | ||
1663 | * config/i386/cygwin.mh (NATDEPFILES): Move corelow.o to ... | |
1664 | * config/i386/cygwin.mt (TDEPFILES): ... here. | |
1665 | ||
1666 | * win32-nat.c: (fetch_elf_core_registers): Delete. | |
1667 | (win32_elf_core_fn): Delete. | |
1668 | (_initialize_core_win32): Delete. | |
1669 | ||
1670 | * i386-cygwin-tdep.c: Include "regset.h", "gdb_objstack.h", | |
1671 | "xml-support.h" and "gdbcore.h". | |
1672 | (i386_win32_gregset_reg_offset): New. | |
1673 | (I386_WIN32_SIZEOF_GREGSET): New. | |
1674 | (i386_win32_regset_from_core_section): New. | |
1675 | (win32_xfer_shared_library): New. | |
1676 | (struct cpms_data): New. | |
1677 | (core_process_module_section): New. | |
1678 | (win32_core_xfer_shared_libraries): New. | |
1679 | (i386_cygwin_skip_trampoline_code): Register gregset_reg_offset, | |
1680 | gregset_num_regs, sizeof_gregset members of tdep. Register | |
1681 | regset_from_core_section and core_xfer_shared_libraries callbacks. | |
1682 | ||
1683 | * Makefile.in (i386-cygwin-tdep.o): Update dependencies. | |
1684 | * gdbarch.h, gdbarch.c: Regenerate. | |
1685 | ||
7160c4c3 PA |
1686 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
1687 | ||
1688 | * corelow.c (core_xfer_partial): Pass writebuf to | |
1689 | deprecated_xfer_memory in TARGET_OBJECT_MEMORY write case. | |
1690 | ||
6dc13412 PA |
1691 | 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt> |
1692 | ||
1693 | * arm-tdep.h (arm_skip_stub): Declare. | |
1694 | * arm-wince-tdep.c: Don't include "solib-svr4.h". Include | |
1695 | "gdbcore.h". | |
1696 | (arm_pe_skip_trampoline_code): New function. | |
1697 | (arm_wince_init_abi): Register arm_pe_skip_trampoline_code as | |
1698 | gdbarch_skip_trampoline_code callback. | |
1699 | * Makefile.in (arm-wince-tdep.o): Update dependencies. | |
1700 | ||
ca8385e5 DJ |
1701 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
1702 | ||
1703 | * MAINTAINERS: Move Fred Fish to Past Maintainers. | |
1704 | ||
5c39566f DJ |
1705 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
1706 | ||
1707 | * configure.ac: Add --with-expat. | |
1708 | * configure: Regenerated. | |
1709 | ||
6a30b0a5 AS |
1710 | 2007-09-03 Andreas Schwab <schwab@suse.de> |
1711 | ||
1712 | * configure.ac: Accept --with-system-readline. | |
1713 | (READLINE, READLINE_DEPS, READLINE_CFLAGS): Define and substitute. | |
1714 | * configure: Regenerate. | |
1715 | * Makefile.in (READLINE, READLINE_DEPS, READLINE_CFLAGS): Use | |
1716 | substituted values. | |
1717 | (CDEPS): Use $(READLINE_DEPS) instead of $(READLINE). | |
1718 | ||
edff0c0a DJ |
1719 | 2007-09-03 Maxim Grigoriev <maxim2405@gmail.com> |
1720 | Daniel Jacobowitz <dan@codesourcery.com> | |
1721 | ||
1722 | * mi-main.c (mi_load_progress): Handle MI2 and MI3 interpreters. | |
1723 | ||
0b93d57c JK |
1724 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
1725 | ||
1726 | * top.c (print_gdb_version): Fixed a string end-of-line compiler error. | |
1727 | ||
b8533aec DJ |
1728 | 2007-09-02 Daniel Jacobowitz <dan@codesourcery.com> |
1729 | ||
1730 | * top.c (print_gdb_version): Update for GPL version 3. | |
1731 | ||
f5db8714 JK |
1732 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
1733 | ||
1734 | * NEWS: Mention the build-id .debug files verification. | |
1735 | ||
d99148ef JK |
1736 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
1737 | ||
1738 | * linux-nat.c (linux_nat_make_corefile_notes): Fixed a buffer overflow. | |
1739 | ||
77069918 JK |
1740 | 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
1741 | ||
1742 | * Makefile.in (symfile.o): Update dependencies. | |
1743 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Initialize the | |
1744 | DEBUGFILE variable. FIND_SEPARATE_DEBUG_FILE called only if !PSYMTABS. | |
1745 | (struct build_id): New structure. | |
1746 | (build_id_bfd_get, build_id_verify, build_id_to_debug_filename): New. | |
1747 | (find_separate_debug_file): New variable BUILD_ID. | |
1748 | Call BUILD_ID_BFD_GET with BUILD_ID_TO_DEBUG_FILENAME as the first try. | |
1749 | ||
202ddcaa VP |
1750 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
1751 | ||
1752 | * varobj.c (struct varobj): Fix comment | |
1753 | for the type member not to lie when it can be | |
1754 | NULL. | |
1755 | ||
02142340 VP |
1756 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
1757 | ||
1758 | Implement -var-info-path-expression. | |
1759 | ||
1760 | * mi/mi-cmds.h (mi_cmd_var_info_path_expression): | |
1761 | Declare. | |
1762 | * mi/mi-cmds.c (mi_cmds): Register var-info-path-expression. | |
1763 | * mi/mi-cmd-var.c (mi_cmd_var_info_path_expression): New. | |
1764 | * varobj.c (struct varobj): New field 'path_expr'. | |
1765 | (c_path_expr_of_child, cplus_path_expr_of_child) | |
1766 | (java_path_expr_of_child): New. | |
1767 | (struct language_specific): New field path_expr_of_child. | |
1768 | (varobj_create): Initialize the path_expr field. | |
1769 | (varobj_get_path_expr): New. | |
1770 | (new_variable): Initialize the path_expr field. | |
1771 | (free_variable): Free the path_expr field. | |
1772 | (adjust_value_for_children_access): New parameter | |
1773 | WAS_TYPE. | |
1774 | (c_number_of_children): Adjust. | |
1775 | (c_describe_child): New parameter CFULL_EXPRESSION. | |
1776 | Compute full expression. | |
1777 | (c_value_of_child, c_type_of_child): Adjust. | |
1778 | (cplus_number_of_children): Adjust. | |
1779 | (cplus_describe_child): New parameter CFULL_EXPRESSION. | |
1780 | Compute full expression. | |
1781 | (cplus_name_of_child, cplus_value_of_child) | |
1782 | (cplus_type_of_child): Adjust. | |
1783 | * varobj.h (varobj_get_path_expr): Declare. | |
1784 | ||
bccc275a VP |
1785 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
1786 | ||
1787 | * mi/mi-cmd-var.c (print_varobj): If a varobj | |
1788 | type is NULL, don't try to print it. | |
1789 | ||
f2db237a AM |
1790 | 2007-08-30 Alan Modra <amodra@bigpond.net.au> |
1791 | ||
1792 | * ppc-linux-nat.c (right_fill_reg): Delete. | |
1793 | (supply_gregset): Use ppc_supply_gregset. | |
1794 | (supply_fpregset): Use ppc_supply_fpregset. | |
1795 | (fill_gregset): Use ppc_collect_gregset. | |
1796 | (fill_fpregset): Use ppc_collect_fpregset. | |
1797 | * ppc-linux-tdep.c (PPC_LINUX_PT_*): Don't define. | |
1798 | (right_supply_register, ppc_linux_supply_gregset): Delete. | |
1799 | (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): Delete. | |
1800 | (ppc_linux_supply_fpregset): Delete. | |
1801 | (ppc_linux_collect_gregset): New function. | |
1802 | (ppc32_linux_reg_offsets, ppc64_linux_reg_offsets): New. | |
1803 | (ppc32_linux_gregset, ppc64_linux_gregset): Update to use reg offsets, | |
1804 | ppc_linux_supply_gregset, and ppc_collect_gregset. | |
1805 | (ppc_linux_fpregset): Rename to ppc32_linux_fpregset and update. | |
1806 | (ppc_linux_gregset, ppc_linux_fpregset): New functions. | |
1807 | (ppc_linux_regset_from_core_section): Update. | |
1808 | * ppc-tdep.h (ppc_linux_gregset, ppc_linux_fpregset): Declare. | |
1809 | (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Delete. | |
1810 | (struct ppc_reg_offsets): Add gpr_size, xr_size, fpscr_size fields. | |
1811 | * ppcobsd-tdep.c (ppcobsd_supply_gregset): Delete FIXME and assert. | |
1812 | (ppcobsd_collect_gregset): Likewise. | |
1813 | (_initialize_ppcnbsd_tdep): Init gpr_size, xr_size, fpscr_size. | |
1814 | * ppcnbsd-tdep.c (_initialize_ppcobsd_tdep): Likewise. | |
1815 | * ppcobsd-nat.c (_initialize_ppcobsd_nat): Likewise. | |
1816 | * rs6000-aix-tdep.c (rs6000_aix32_reg_offsets): Likewise. | |
1817 | (rs6000_aix64_reg_offsets): Likewise. | |
1818 | (rs6000_aix_supply_regset): Call ppc_supply_fpregset without testing | |
1819 | ppc_floating_point_unit_p. | |
1820 | (rs6000_aix_collect_regset): Similarly. | |
1821 | * rs6000-tdep.c (ppc_supply_reg): Add regsize param. Adjust offset | |
1822 | when regsize is larger than regcache register size. | |
1823 | (ppc_collect_reg): Similarly zero pad when regsize is larger than | |
1824 | regcache register size. | |
1825 | (ppc_greg_offset): New function, split out from.. | |
1826 | (ppc_supply_gregset): ..here. Separate code handling all regs from | |
1827 | single reg case. Correct xer offset. | |
1828 | (ppc_fpreg_offset): New function, split out from.. | |
1829 | (ppc_supply_fpregset): ..here. Separate code handling all regs from | |
1830 | single reg case. | |
1831 | (ppc_collect_gregset, ppc_collect_fpregset): Likewise. | |
1832 | (ppc_supply_fpregset, ppc_collect_fpregset): Don't assert we have | |
1833 | a fp unit, instead return if no fp. | |
1834 | ||
fe5aea2e JB |
1835 | 2007-08-29 Jim Blandy <jimb@codesourcery.com> |
1836 | ||
1837 | * breakpoint.c (watch_command_1): Remove '#ifdef HPUXHPPA' block; | |
1838 | this code has not been compiled for two years. | |
1839 | ||
13ce7133 MS |
1840 | 2007-08-29 Michael Snyder <msnyder@access-company.com> |
1841 | ||
1842 | * event-top.c (gdb_readline2): Return after EOF. | |
1843 | ||
fd4a0f2f JB |
1844 | 2007-08-29 Joel Brobecker <brobecker@adacore.com> |
1845 | ||
1846 | * symtab.c: Remove a function that has been commented out 3 years ago. | |
1847 | ||
d037d088 CD |
1848 | 2007-08-29 Randolph Chung <tausq@debian.org> |
1849 | ||
1850 | * hppa-tdep.c (hppa32_cannot_fetch_register) | |
1851 | (hppa64_cannot_fetch_register): New functions. | |
1852 | (hppa_gdbarch_init): Set cannot_fetch_register appropriately. | |
1853 | * hppa-tdep.h (hppa_regnum): Add HPPA_CR26_REGNUM. | |
1854 | ||
19d378fc MS |
1855 | 2007-08-28 Michael Snyder <msnyder@access-company.com> |
1856 | ||
57cdecd2 MS |
1857 | * mi/mi-cmd-var.c (mi_print_value_p): No longer necessary to |
1858 | check for null before calling check_typedef. | |
1859 | ||
19d378fc MS |
1860 | * NEWS: Mention Coverity bug fixes. |
1861 | ||
36acd84e UW |
1862 | 2007-08-27 Markus Deuling <deuling@de.ibm.com> |
1863 | ||
1864 | * spu-tdep.c (spu_pointer_to_address): New function. | |
1865 | (spu_integer_to_address): Likewise. | |
1866 | (spu_gdbarch_init): Add spu_pointer_to_address and | |
1867 | spu_integer_to_address to gdbarch. | |
1868 | ||
8ad7c2b9 PA |
1869 | 2007-08-26 Pedro Alves <pedro_alves@portugalmail.pt> |
1870 | ||
1871 | * arm-wince-tdep.c (ARM_WINCE_JB_PC): Change to 10. | |
1872 | ||
4de6a07e JB |
1873 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
1874 | ||
1875 | * Makefile.in (copying.c): Use the top-level COPYING3 as the file | |
1876 | that contains the GDB license. | |
1877 | * copying.awk: Adjust to the GPLv3 wording. | |
1878 | * copying.c: Regenerate. | |
1879 | ||
07aed0eb JB |
1880 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
1881 | ||
01d4100f | 1882 | * copying.awk: Protoization, and i18n markup. |
07aed0eb | 1883 | |
50efebf8 JB |
1884 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
1885 | ||
1886 | * config/djgpp/djconfig.sh: Switch license to GPLv3. | |
1887 | * copyright.sh: Likewise. | |
1888 | * gdb-events.sh: Likewise. | |
1889 | * gdb_gcore.sh: Likewise. | |
1890 | * gdb_mbuild.sh: Likewise. | |
1891 | * gdbarch.sh: Likewise. | |
1892 | * observer.sh: Likewise. | |
1893 | * features/feature_to_c.sh: Likewise. | |
1894 | * regformats/regdat.sh: Likewise. | |
1895 | ||
1896 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> | |
a9762ec7 JB |
1897 | |
1898 | Switch the license of all .c files to GPLv3. | |
1899 | Switch the license of all .h files to GPLv3. | |
1900 | Switch the license of all .cc files to GPLv3. | |
1901 | ||
5a0e3bd0 JB |
1902 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
1903 | ||
1904 | * configure.ac: Switch license to GPLv3. | |
1905 | ||
609ca2b9 DJ |
1906 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
1907 | ||
1908 | * mips-tdep.c (mips_gdbarch_init): Use Tag_GNU_MIPS_ABI_FP to | |
1909 | determine the file's FPU type. | |
1910 | ||
8d26208a DJ |
1911 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
1912 | ||
1913 | * mips-tdep.c (mips_n32n64_fp_arg_chunk_p): New. | |
1914 | (mips_n32n64_push_dummy_call): Always increment float_argreg along | |
1915 | with argreg. Use mips_n32n64_fp_arg_chunk_p. | |
1916 | ||
65728c26 DJ |
1917 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
1918 | ||
1919 | * solib-svr4.c (scan_dyntag): Only read target memory when necessary. | |
1920 | Fix formatting. | |
1921 | (elf_locate_base): Look for DT_MIPS_RLD_MAP first. Expand comments. | |
1922 | (elf_lookup_lib_symbol): Fix formatting. | |
1923 | ||
a2ca50ae MS |
1924 | 2007-08-21 Michael Snyder <msnyder@access-company.com> |
1925 | ||
6b2d86bd MS |
1926 | * dbxread.c (read_dbx_symtab): Guard null deref. |
1927 | Break up long line. | |
1928 | ||
a2ca50ae MS |
1929 | * valops.c (find_overload_match): Guard against NULL. |
1930 | ||
54e116dd DJ |
1931 | 2007-08-21 Daniel Jacobowitz <dan@codesourcery.com> |
1932 | ||
1933 | * MAINTAINERS (Patch Champions): Remove self. | |
1934 | ||
f429d7d0 DJ |
1935 | 2007-08-21 Chris Smith <chris.smith@st.com> |
1936 | ||
1937 | * cli/cli-script.c (read_command_lines): Call dont_repeat for each | |
1938 | line. | |
1939 | ||
a2ca50ae | 1940 | 2007-08-18 Michael Snyder <msnyder@access-company.com> |
a287cea6 | 1941 | |
31e9f6b6 MS |
1942 | * stabsread.c (dbx_lookup_type): Memory leak. |
1943 | ||
32107cd5 MS |
1944 | * event-loop.c (delete_async_signal_handler): Move pointer null |
1945 | test to before pointer dereference. | |
1946 | ||
44db85f8 MS |
1947 | * ui-out.c (append_header_to_list): Possible cut and paste error. |
1948 | ||
a287cea6 MS |
1949 | * MAINTAINERS: white space tweak. |
1950 | ||
0bd9908d MS |
1951 | 2007-08-17 Michael Snyder <msnyder@access-company.com> |
1952 | ||
f91162e1 MS |
1953 | * stack.c (print_frame): Memory leak. |
1954 | ||
1e8189fb MS |
1955 | * completer.c (filename_completer): Avoid memory leak. |
1956 | Remove unnecessary nested block. | |
1957 | ||
348038cd MS |
1958 | * c-exp.y (parse_number): Memory leak. |
1959 | ||
1f20ed91 MS |
1960 | * completer.c (location_completer): Must free 'fn_list', except |
1961 | in the one case where it is returned (as 'list'). | |
1962 | ||
74dddad3 MS |
1963 | * varobj.c (value_of_root): Memory leak. |
1964 | ||
0bd9908d MS |
1965 | * gdbtypes.h (virtual_base_list): Remove export decl. |
1966 | * gdbtypes.c (virtual_base_list): Make static. Not called outside. | |
1967 | (virtual_base_index): Memory leak. | |
1968 | (virtual_base_index_skip_primaries): Ditto. | |
1969 | ||
bdb4c075 MG |
1970 | 2007-08-17 Maxim Grigoriev <maxim2405@gmail.com> |
1971 | ||
1972 | * xtensa-tdep.c (ARG_NOF, ARG_1ST, PS_WOE, PS_EXC, C0_MAXOPDS) | |
1973 | (C0_NREGS, C0_CLESV, C0_SP, C0_FP, C0_RA, C0_ARGS, C0_NARGS) | |
1974 | (C0_CONST, C0_INEXP, C0_NOSTK): New macros. | |
1975 | (xtensa_read_register): New function. | |
1976 | (xtensa_windowed_frame_cache, xtensa_call0_frame_cache, xtensa_c0reg) | |
1977 | (xtensa_insn_kind): New types. | |
1978 | (xtensa_frame_cache, xtensa_alloc_frame_cache, xtensa_frame_cache) | |
1979 | (xtensa_frame_prev_register, xtensa_return_value, xtensa_skip_prologue) | |
1980 | (xtensa_verify_config, xtensa_pseudo_register_read) | |
1981 | (xtensa_pseudo_register_write, xtensa_extract_return_value) | |
1982 | (xtensa_store_return_value) | |
1983 | (xtensa_push_dummy_call): Extended to support Xtensa Call0 ABI. | |
1984 | (windowing_enabled, extract_call_winsize, xtensa_unwind_dummy_id) | |
1985 | (xtensa_frame_this_id, xtensa_frame_prev_register) | |
1986 | (xtensa_register_type, xtensa_reg_to_regnum): Cosmetic changes. | |
1987 | (call0_frame_cache, call0_frame_get_reg_at_entry) | |
1988 | (call0_classify_opcode, call0_track_op) | |
1989 | (call0_analyze_prologue, call0_frame_cache): New functions. | |
1990 | ||
198757a8 VP |
1991 | 2007-08-17 Vladimir Prus <vladimir@codesourcery.com> |
1992 | ||
1993 | * breakpoint.c (bpstat_free): New. | |
1994 | (bpstat_clear): Use bpstat_free. | |
1995 | (delete_breakpoint): Document why we cannot | |
1996 | remove bpstats from stop_bpstat. | |
1997 | * breakpoint.h (bpstat_free): Declare. | |
1998 | ||
dc66ab8a MS |
1999 | 2007-08-16 Michael Snyder <msnyder@access-company.com> |
2000 | ||
2001 | * event-loop.c (gdb_wait_for_event): Move statement into "if" block. | |
2002 | ||
40c8aaa9 JB |
2003 | 2007-08-15 Paul Hilfinger <hilfinger@adacore.com> |
2004 | Joel Brobecker <brobecker@adacore.com> | |
2005 | ||
2006 | * ada-lang.c (resolve_subexp): Correct arity of binary operators. | |
2007 | ||
ee90b9ab JB |
2008 | 2007-08-15 Paul Hilfinger <hilfinger@adacore.com> |
2009 | Joel Brobecker <brobecker@adacore.com> | |
2010 | ||
2011 | * ada-lang.c (possible_user_operator_p): Alternative fix to last | |
2012 | checkin guarding against NULL. | |
2013 | ||
5b6fe301 MS |
2014 | 2007-08-14 Michael Snyder <msnyder@access-company.com> |
2015 | ||
e5908723 MS |
2016 | * tui-command.c, tui-data.c, tui-disasm.c, tui-file.c, tui-io.c, |
2017 | tui-layout.c, tui-regs.c, tui-source.c, tui-win.c, tui-windata.c, | |
2018 | tui-wingeneral.c, tui-winsource.c: Coding standard, && and || | |
2019 | go at beginning of new line. | |
2020 | ||
08ef48c5 MS |
2021 | * tui-data.c, tui-data.h, tui-disasm.c, tui-disasm.h, tui-hooks.c, |
2022 | tui-io.c, tui-layout.c, tui-layout.h, tui-out.c, tui-regs.c, | |
2023 | tui-source.c, tui-source.h, tui-stack.c, tui-win.c, tui-win.h, | |
2024 | tui-windata.c, tui-windata.h, tui-wingeneral.c, tui-winsource.c, | |
2025 | tui-winsource.h, tui.c, tui.h: Function declarations and | |
2026 | definitions, wrap long lines. | |
2027 | ||
ef5eab5a MS |
2028 | * tui-command.c, tui-data.c, tui-disasm.c, tui-layout.c, |
2029 | tui-regs.c, tui-win.c, tui-windata.c, tui-winsource.c, tui.c: | |
2030 | Reformat block comments to GNU standard. | |
2031 | ||
1cc6d956 MS |
2032 | * tui-command.c, tui-data.c, tui-data.h, tui-disasm.c, tui-file.c, |
2033 | tui-hooks.c, tui-interp.c, tui-io.c, tui-layout.c, tui-out.c, | |
2034 | tui-regs.c, tui-regs.h, tui-source.c, tui-stack.c, tui-win.c, | |
2035 | tui-windata.c, tui-wingeneral.c, tui-winsource.c, tui-winsource.h, | |
2036 | tui.c, tui.h: Comment reformatting to coding standard (capitals, | |
2037 | spaces after periods, etc). | |
2038 | ||
5b6fe301 MS |
2039 | * tui-data.c, tui-data.h, tui-disasm.c, tui-hooks.c, tui-layout.c, |
2040 | tui-regs.c, tui-source.c, tui-stack.c, tui-win.c, tui-windata.c, | |
2041 | tui-wingeneral.c, tui-wingeneral.h, tui-winsource.c, tui.c, | |
2042 | tui-winsource.h: Whitespace changes, fix pointer declarations | |
2043 | to be consistant. | |
2044 | ||
64a1bf19 JB |
2045 | 2007-08-14 Joel Brobecker <brobecker@adacore.com> |
2046 | Michael Snyder <msnyder@access-company.com> | |
2047 | ||
2048 | * ada-lang.c (field_alignment): Guard against NULL. | |
2049 | ||
e933291e JB |
2050 | 2007-08-14 Joel Brobecker <brobecker@adacore.com> |
2051 | ||
2052 | * MAINTAINERS (Global Maintainers): Add self. | |
2053 | ||
348144ba MS |
2054 | 2007-08-14 Michael Snyder <msnyder@access-company.com> |
2055 | ||
068acb6c MS |
2056 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Dead code, dead variable. |
2057 | ||
6d307763 MS |
2058 | * ada-lang.c (possible_user_operator_p): Guard against NULL. |
2059 | ||
348144ba MS |
2060 | * varobj.c (cplus_describe_child): Guard against null. |
2061 | Use "NULL" instead of "0" to initialize pointers. | |
2062 | ||
b8926edc DJ |
2063 | 2007-08-14 Daniel Jacobowitz <dan@codesourcery.com> |
2064 | ||
2065 | * arm-tdep.c (arm_gdbarch_init): Allow unknown ABI and FPU settings | |
2066 | to match any gdbarch with matching OSABI. Set default ABI and FPU | |
2067 | after running the OSABI handler. | |
2068 | ||
cdd6623c DJ |
2069 | 2007-08-14 Daniel Jacobowitz <dan@codesourcery.com> |
2070 | ||
2071 | * config/i386/linux.mh (NATDEPFILES): Move corelow.o from here... | |
2072 | * config/i386/linux.mt (TDEPFILES): ...to here. | |
2073 | ||
cb851954 VP |
2074 | 2007-08-14 Vladimir Prus <vladimir@codesourcery.com> |
2075 | ||
cb851954 VP |
2076 | * breakpoint.c (disable_breakpoints_in_shlibs): Remove |
2077 | the 'silent' parameter and code to implement that. | |
2078 | * breakpoint.h (disable_breakpoints_in_shlibs): Adjust | |
2079 | prototype. | |
2080 | * win32-nat.c: Adjust. | |
2081 | * solib.c: Adjust. | |
2082 | ||
e14a792b VP |
2083 | 2007-08-14 Vladimir Prus <vladimir@codesourcery.com> |
2084 | ||
e14a792b VP |
2085 | * breakpoint.c (update_breakpoints_after_exec): Don't |
2086 | set address to zero. | |
2087 | ||
be8ca11b MS |
2088 | 2007-08-13 Michael Snyder <msnyder@access-company.com> |
2089 | ||
ac3eeb49 MS |
2090 | * valops.c: Whitespace clean-up. |
2091 | ||
81b7c67a MS |
2092 | * tui/tui-winsource.c (tui_alloc_source_buffer): Clean up allocation. |
2093 | ||
f5b73fbb MS |
2094 | * event-top.c (command_line_handler): Memory leak. |
2095 | ||
b538c234 MS |
2096 | * mi/mi-cmd-var.c (mi_cmd_var_set_format): Memory leak. |
2097 | No need to make copy. | |
2098 | ||
be8ca11b MS |
2099 | * source.c (find_source_lines): Require symtab 's'. |
2100 | ||
489f0516 MS |
2101 | 2007-08-11 Michael Snyder <msnyder@access-company.com> |
2102 | ||
2103 | * completer.c: Spelling fix in comments. | |
2104 | ||
9c3f90bd MS |
2105 | 2007-08-10 Michael Snyder <msnyder@access-company.com> |
2106 | ||
687d6395 | 2107 | * gdbtypes.c: Coding standard cleanup. |
7ba81444 MS |
2108 | * gdbtypes.c: Comment/whitespace cleanup. |
2109 | ||
6aef78af MS |
2110 | * stabsread.c (read_huge_number): Attempt to compute value before |
2111 | values that it depends on. | |
2112 | ||
46be51c4 MS |
2113 | * linespec.c (decode_dollar): Dead code, ptr can't be non-null. |
2114 | (decode_objc): Use "NULL" instead of 0. | |
2115 | (find_method): Ditto. | |
2116 | (decode_all_digits): Ditto. | |
2117 | (decode_dollar): Ditto. | |
2118 | ||
412bbd6c MS |
2119 | * mi/mi-main.c (mi_cmd_data_evaluate_expression): Resource leak. |
2120 | ||
76bd6e0b MS |
2121 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Memory leak. |
2122 | ||
518f9d3c MS |
2123 | * solib-svr4.c (enable_break): Don't free tmp_pathname until |
2124 | after closing bfd. | |
2125 | ||
9c3f90bd MS |
2126 | * completer.c: Comment/whitespace cleanup. |
2127 | ||
adee0206 JB |
2128 | 2007-08-10 Joel Brobecker <brobecker@adacore.com> |
2129 | ||
2130 | * Makefile.in (i386nbsd-nat.o): Add missing dependency. | |
2131 | ||
2132 | 2007-08-10 Maxim Grigoriev <maxim2405@gmail.com> | |
9f8e6999 MG |
2133 | |
2134 | * remote-fileio.c (remote_fileio_resize_fd_map): Initialize newly | |
2135 | allocated file descriptors. | |
2136 | ||
271a27b8 JB |
2137 | 2007-08-10 Joel Brobecker <brobecker@adacore.com> |
2138 | ||
2139 | * Makefile.in: Minor cleanup throughout; add some missing variables, | |
2140 | add some missing rules, remove some rules that are no longer needed, | |
2141 | and fix the dependencies in several rules. | |
2142 | ||
57da7796 LC |
2143 | 2007-08-10 Ludovic Courtès <ludo@gnu.org> |
2144 | ||
d4310edb LC |
2145 | * Makefile.in (SFILES): Add scm-{exp,lang,valprint}.c. |
2146 | (scm_lang_h, scm_tags_h): New. | |
2147 | (COMMON_OBS): Add scm-{exp,lang,valprint}.o. | |
2148 | (scm-exp.o, scm-lang.o, scm-valprint.o): New targets. | |
2149 | * defs.h (enum language): Add `language_scm'. | |
2150 | ||
57da7796 LC |
2151 | * MAINTAINERS: Add Emacs local variables to use UTF-8 upon |
2152 | opening. | |
2153 | ||
93c06293 LC |
2154 | 2007-08-09 Ludovic Courtès <ludo@gnu.org> |
2155 | ||
2156 | * MAINTAINERS (Write After Approval): Add myself. | |
2157 | ||
0997b535 MS |
2158 | 2007-08-09 Michael Snyder <msnyder@access-company.com> |
2159 | ||
2160 | * solib.c (solib_open): Memory leak -- openp returns xmalloc buffer. | |
2161 | ||
4fec86cf JB |
2162 | 2007-08-09 Joel Brobecker <brobecker@adacore.com> |
2163 | ||
2164 | * solib-som.c (som_relocate_section_addresses): Stop saving | |
2165 | the $CODE$ section in the so_list structure. | |
2166 | ||
7b871568 MG |
2167 | 2007-08-08 Maxim Grigoriev <maxim2405@gmail.com> |
2168 | ||
2169 | * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): New. | |
2170 | (xtensa_register_group_t): Add entries for coprocessors. | |
2171 | * xtensa-tdep.c (xtensa_init_reggroups): New register groups. | |
2172 | (xtensa_add_reggroups): Likewise. | |
2173 | (xtensa_register_reggroup_p): Likewise. | |
2174 | (xtensa_coprocessor_register_group): New function. | |
2175 | (xtensa_cp): New. | |
2176 | ||
652aaa24 JK |
2177 | 2007-08-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
2178 | ||
2179 | * serial.c (serial_open): Fix the OPEN parameter macro expansion. | |
2180 | ||
decbce07 MS |
2181 | 2007-08-08 Michael Snyder <msnyder@access-company.com> |
2182 | ||
6217bf3e MS |
2183 | * target.c (target_read_string): Guard against null. |
2184 | ||
6225abfa MS |
2185 | * varobj.c (value_of_root): Move alloc after return to avoid leak. |
2186 | ||
3e40160c | 2187 | * tui/tui-layout.c (tui_set_layout): Dead code, dead variable. |
3277c0e0 | 2188 | (tui_set_layout_for_display_command): Mem leak. |
3e40160c | 2189 | |
91d2803c MS |
2190 | * top.c (command_line_input): Memory leak. |
2191 | ||
ea5bf0a1 MS |
2192 | * solib-svr4.c (open_symbol_file_object): Memory leak. |
2193 | (svr4_current_sos): Ditto. | |
2194 | (enable_break): Ditto. | |
2195 | ||
34e2dfde MS |
2196 | * cp-valprint.c (cp_print_hpacc_virtual_table_entries): Memory leak. |
2197 | ||
decbce07 MS |
2198 | * dwarf2read.c (add_partial_symbol): Memory leak. |
2199 | ||
4cdfadb1 MS |
2200 | 2007-08-06 Michael Snyder <msnyder@access-company.com> |
2201 | ||
2202 | * ada-lang.c (desc_bounds): Comparison of function address to NULL. | |
2203 | ||
b1ddacc7 JB |
2204 | 2007-08-05 Jim Blandy <jimb@codesourcery.com> |
2205 | ||
2206 | * macroexp.c (init_buffer): Remove testing code that overrides the | |
2207 | caller's length guess. | |
2208 | (gather_arguments): Use a larger initial size, now that the vector | |
2209 | growth code has been exercised. | |
2210 | ||
5d9643ba PA |
2211 | 2007-08-05 Pedro Alves <pedro_alves@portugalmail.pt> |
2212 | ||
2213 | * solib-target.c (solib_target_relocate_section_addresses): Add | |
2214 | orig_delta to addr_high. | |
2215 | ||
27e06d3e MS |
2216 | 2007-08-04 Michael Snyder <msnyder@access-company.com> |
2217 | ||
1ed489bd MS |
2218 | * remote-fileio.c (remote_fileio_func_write): Memory leak. |
2219 | ||
c1f5197e MS |
2220 | * breakpoint.c (print_one_breakpoint): Off by one error. |
2221 | ||
27e06d3e MS |
2222 | * tracepoint.c (add_register): Off by one error. |
2223 | (stringify_collection_list): Free malloc buffer. | |
2224 | ||
03b4bca2 MS |
2225 | 2007-08-03 Michael Snyder <msnyder@access-company.com> |
2226 | ||
474d0d0c MS |
2227 | * mi-cmd-var.c (mi_cmd_var_delete): Remove unused variable, |
2228 | stop memory leak, straighten out cleanups. | |
2229 | ||
03b4bca2 MS |
2230 | * jv-lang.c (java_link_class_type): Guard against NULL. |
2231 | ||
423c0af8 MS |
2232 | 2007-08-02 Michael Snyder <msnyder@access-company.com> |
2233 | ||
f9780d5b MS |
2234 | * gdbtypes.c (create_set_type): Test should only be done within |
2235 | the preceeding if block. Otherwise, variable is uninitialized. | |
2236 | ||
423c0af8 MS |
2237 | * gdbtypes.c (check_typedef): Guard NULL. |
2238 | ||
c0645fb5 MS |
2239 | 2007-08-01 Michael Snyder <msnyder@access-company.com> |
2240 | ||
3cebf8d8 MS |
2241 | * cli/cli-decode.c (lookup_cmd): Check for null earlier, to |
2242 | avoid dereference in lookup_cmd_1. | |
2243 | ||
c0645fb5 MS |
2244 | * tui/tui-data.c (tui_alloc_content): Move assign out of if, |
2245 | clean up long lines. | |
2246 | (tui_alloc_generic_win_info): Tidy by using XMALLOC macro. | |
2247 | (tui_alloc_win_info): Ditto. | |
2248 | (tui_add_content_elements): Ditto. | |
2249 | * tui/tui-file.c (tui_file_magic): Ditto. | |
2250 | ||
abe34c35 MS |
2251 | 2007-07-31 Michael Snyder <msnyder@access-company.com> |
2252 | ||
967af18d MS |
2253 | * breakpoint.c (breakpoint_init_inferior): Add 'else' to 'if'. |
2254 | True and false paths are mutually exclusive. | |
2255 | ||
40742ab6 MS |
2256 | * event-top.c (command_line_handler): Add pedantic return. |
2257 | ||
7c6e0d48 MS |
2258 | * f-valprint.c (info_common_command): Bail out to prevent null |
2259 | pointer deref. Break up a long line. | |
2260 | ||
c7b1adc9 MS |
2261 | * exec.c (xfer_memory): Remove redundant condition from 'if'. |
2262 | ||
73780b3c MS |
2263 | * symfile.c (reread_separate_symbols): Free xmalloced memory. |
2264 | ||
abe34c35 MS |
2265 | * printcmd.c (build_address_symbolic): Remove dead code and dead |
2266 | variable. | |
2267 | ||
e48883f7 DJ |
2268 | 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com> |
2269 | ||
2270 | * linespec.c (minsym_found): Advance to the next line if possible. | |
2271 | ||
57204837 PA |
2272 | 2007-07-31 Pedro Alves <pedro_alves@portugalmail.pt> |
2273 | ||
2274 | * arm-wince-tdep.c (arm_wince_init_abi): Remove svr4 related call. | |
2275 | * config/arm/wince.mt (TDEPFILES): Remove solib-legacy.o and | |
2276 | solib-svr4.o, and add solib-target.o | |
2277 | ||
fed8b01e MS |
2278 | 2007-07-27 Michael Snyder <msnyder@access-company.com> |
2279 | ||
2280 | * tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof. | |
2281 | ||
9ceb0b4c MR |
2282 | 2007-07-26 Maciej W. Rozycki <macro@linux-mips.org> |
2283 | ||
2284 | * MAINTAINERS (Write After Approval): Add myself. | |
2285 | ||
c80a96a8 MR |
2286 | 2007-07-26 Maciej W. Rozycki <macro@mips.com> |
2287 | ||
2288 | * Makefile.in (MAKEHTMLFLAGS): Also search the current directory | |
2289 | for include files. | |
2290 | ||
5b311828 MR |
2291 | 2007-07-25 Maciej W. Rozycki <macro@mips.com> |
2292 | ||
2293 | * Makefile.in (MAKEHTMLFLAGS): Remove "-glossary". | |
2294 | ||
f52df7d9 | 2295 | 2007-07-24 Michael Snyder <msnyder@access-company.com> |
55765a25 | 2296 | |
f52df7d9 MS |
2297 | * solib-svr4.c (svr4_fetch_objfile_link_map): Null pointer check of |
2298 | 'buffer' must cover both branches that call strcmp (Coverity). | |
55765a25 | 2299 | |
f52df7d9 | 2300 | * stack.c (print_frame_args): Check return value of lookup_symbol. |
747f3d18 MS |
2301 | |
2302 | * ax-gdb.c (find_field): Guard against null ptr. | |
2303 | ||
69ae91d3 UW |
2304 | 2007-07-24 Ulrich Weigand <uweigand@de.ibm.com> |
2305 | ||
2306 | * regformats/reg-spu.dat: Fix order of npc, id registers. | |
2307 | ||
98646950 UW |
2308 | 2007-07-24 Ulrich Weigand <uweigand@de.ibm.com> |
2309 | ||
2310 | * target.c (memory_xfer_partial): Accesses to unmapped overlay | |
2311 | sections should always go to the executable file. | |
2312 | ||
193774b3 MR |
2313 | 2004-07-20 Chris Dearman <chris@mips.com> |
2314 | ||
2315 | * mips-tdep.c (heuristic_proc_start): Add more MIPS16 function | |
2316 | prologue instructions. | |
2317 | ||
ce1f96de MR |
2318 | 2007-07-20 Maciej W. Rozycki <macro@mips.com> |
2319 | ||
2320 | * mips-tdep.c (mips_next_pc): Use is_mips16_addr() instead of | |
2321 | a direct test. | |
2322 | ||
bcf1ea1e MR |
2323 | 2007-07-20 Chris Dearman <chris@mips.com> |
2324 | Maciej W. Rozycki <macro@mips.com> | |
2325 | ||
2326 | * mips-tdep.c (fetch_mips_16): Fix typos and reformat the | |
2327 | description. | |
2328 | ||
255e7678 DJ |
2329 | 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt> |
2330 | Daniel Jacobowitz <dan@codesourcery.com> | |
2331 | ||
2332 | * config/i386/cygwin.mt (TDEPFILES): Add solib-target.o. | |
2333 | * coff-pe-read.c (read_pe_exported_syms): Delete verbose | |
2334 | printf. | |
2335 | * NEWS: Mention gdbserver DLL support. | |
2336 | ||
a8c50c1f DJ |
2337 | 2007-07-17 Daniel Jacobowitz <dan@codesourcery.com> |
2338 | ||
2339 | * dwarf2read.c (dwarf_decode_lines): Detect address size mismatches. | |
2340 | ||
2e024c20 L |
2341 | 2007-07-16 H.J. Lu <hongjiu.lu@intel.com> |
2342 | ||
2343 | * i386-linux-nat.c (fetch_regs): Work around gcc 3.4 alias | |
2344 | warning bug. | |
2345 | ||
f219aedc KB |
2346 | 2007-07-13 Kevin Buettner <kevinb@redhat.com> |
2347 | ||
2348 | * mep-tdep.c (mep_analyze_prologue): Update comment for BRA | |
2349 | instruction case. | |
2350 | ||
1ba3e7a3 KB |
2351 | 2007-07-12 Kevin Buettner <kevinb@redhat.com> |
2352 | ||
2353 | * mep-tdep.c (IS_BRA, BRA_DISP): New macros. | |
2354 | (mep_analyze_prologue): Add case for BRA instruction. | |
2355 | ||
f1e55806 UW |
2356 | 2007-07-12 Ulrich Weigand <uweigand@de.ibm.com> |
2357 | ||
2358 | * solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic. | |
2359 | ||
d9f71b56 NR |
2360 | 2007-07-10 Nick Roberts <nickrob@snap.net.nz> |
2361 | ||
2362 | * breakpoint.c: Include "top.h". | |
2363 | (breakpoint_1): Don't set convenience variable $_ if server prefix | |
2364 | is used. | |
2365 | (_initialize_breakpoint): Describe this behaviour in command help. | |
2366 | ||
358eb95e PA |
2367 | 2007-07-08 Pedro Alves <pedro_alves@portugalmail.pt> |
2368 | ||
2369 | * solib-target.c (library_list_start_segment): Cast address to | |
2370 | CORE_ADDR. | |
2371 | ||
a4e7b2e7 MK |
2372 | 2007-07-06 Mark Kettenis <kettenis@gnu.org> |
2373 | ||
2374 | * bsd-uthread.c (bsd_uthread_wait): Don't try to fetch thread IDs | |
2375 | for terminated processes. | |
2376 | ||
2ed23f5f MS |
2377 | 2007-07-05 Michael Snyder <msnyder@access-company.com> |
2378 | ||
2379 | * event-top.c (cli_command_loop): Prompt string can (and should) | |
2380 | be freed after call to readline (Coverity). Also move local var | |
2381 | declarations into block where they are used. | |
2382 | ||
2383 | * tui/tui-interp.c (tui_command_loop): Prompt string can (and | |
2384 | should) be freed after call to readline (Coverity). Also move | |
2385 | local var declarations into block where they are used. | |
2386 | ||
a25694b4 AS |
2387 | 2007-07-03 Andreas Schwab <schwab@suse.de> |
2388 | ||
2389 | * linux-nat.c (linux_nat_info_proc_cmd): Fix parsing of columns in | |
2390 | /proc/../stat. | |
2391 | ||
2bbe3cc1 DJ |
2392 | 2007-07-03 Paul Gilliam <pgilliam@us.ibm.com> |
2393 | Thiago Bauermann <bauerman@br.ibm.com> | |
2394 | Joseph S. Myers <joseph@codesourcery.com> | |
2395 | Daniel Jacobowitz <dan@codesourcery.com> | |
2396 | ||
2397 | * remote.c (remote_check_symbols): Use | |
2398 | gdbarch_convert_from_func_ptr_addr. | |
2399 | * infcall.c (find_function_addr): Handle function descriptors | |
2400 | without debugging information. | |
2401 | * ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Renamed | |
2402 | from ppc64_linux_convert_from_func_ptr_addr. Handle -msecure-plt. | |
2403 | (ppc_linux_init_abi): Always set convert_from_func_ptr_addr. | |
2404 | * solib-svr4.c (solib_break_names): Remove "._dl_debug_state". | |
2405 | (bfd_lookup_symbol): Do not take a SECT_FLAGS argument. Always | |
2406 | allow SEC_CODE and SEC_DATA. | |
2407 | (enable_break): Update calls. Pass current_target to solib_add. | |
2408 | Use gdbarch_convert_from_func_ptr_addr. | |
2409 | ||
9f43d28c DJ |
2410 | 2007-07-03 Ilko Iliev <iliev@ronetix.at> |
2411 | Daniel Jacobowitz <dan@codesourcery.com> | |
2412 | ||
2413 | * symfile.c (print_transfer_performance): Avoid integer overflow. | |
2414 | Use larger units. | |
2415 | ||
3a40aaa0 UW |
2416 | 2007-07-03 Markus Deuling <deuling@de.ibm.com> |
2417 | ||
2418 | * cp-namespace.c (lookup_symbol_file): Add block to | |
2419 | lookup_symbol_global call. | |
2420 | * Makefile.in (solist_h): Add dependency on symtab header. | |
2421 | (symtab.o): Add dependency on solist header. | |
2422 | * solib.c (solib_global_lookup): New function. | |
2423 | * solib-svr4.c (scan_dyntag): Likewise. | |
2424 | (elf_locate_base): Call helper routine scan_dyntag. | |
2425 | (elf_lookup_lib_symbol): New function. | |
2426 | (_initialize_svr4_solib): Add elf_lookup_lib_symbol to svr4_so_ops. | |
2427 | * solist.h (symtab.h): New include. | |
2428 | (struct target_so_ops): New member lookup_lib_global_symbol. | |
2429 | (solib_global_lookup): New prototype. | |
2430 | * symtab.c: New include solist.h. | |
2431 | (lookup_objfile_from_block): New function. | |
2432 | (lookup_global_symbol_from_objfile): New function. | |
2433 | (basic_lookup_symbol_nonlocal): Add block to lookup_symbol_global call. | |
2434 | (lookup_symbol_global): Call library-specific lookup procedure. | |
2435 | * symtab.h (lookup_global_symbol_from_objfile): New prototype. | |
2436 | ||
2437 | * NEWS: Document framework. | |
2438 | ||
c8c12293 DJ |
2439 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
2440 | ||
2441 | * target-descriptions.c (tdesc_create_reg): Do not set reg->type | |
2442 | to NULL. | |
2443 | ||
2444 | * cli/cli-script.c (build_command_line): Update NULL check. | |
2445 | ||
7877e977 MS |
2446 | 2007-07-02 Michael Snyder <msnyder@access-company.com> |
2447 | ||
2448 | * p-exp.y (yylex): Memory leak, 'uptokstart' must be freed (Coverity). | |
2449 | ||
cfa9d6d9 DJ |
2450 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
2451 | ||
2452 | * Makefile.in (XMLFILES): Add library-list.dtd. | |
2453 | (ALLDEPFILES): Add solib-target.o. | |
2454 | (solib-target.o): New rule. | |
2455 | * remote.c (PACKET_qXfer_libraries): New constant. | |
2456 | (remote_protocol_features): Add qXfer:libraries:read. | |
2457 | (remote_wait): Recognize library stop replies. | |
2458 | (remote_async_wait): Likewise. Fix typo. | |
2459 | (remote_xfer_partial): Handle TARGET_OBJECT_LIBRARIES. | |
2460 | (init_remote_async_ops): Fix typo. | |
2461 | (_initialize_remote): Register "set remote library-info-packet". | |
2462 | * solib-som.c (som_current_sos): Set addr_low and addr_high. | |
2463 | * solib-target.c: New file. | |
2464 | * solib.c (solib_map_sections): Use addr_low and addr_high instead | |
2465 | of textsection. | |
2466 | (info_sharedlibrary_command): Likewise. | |
2467 | (solib_add_library, solib_remove_library): New. | |
2468 | * solist.h (struct so_list): Replace textsection with addr_low and | |
2469 | addr_high. | |
2470 | * target.h (enum target_object): Add TARGET_OBJECT_LIBRARIES. | |
2471 | * NEWS: Describe new qXfer:libraries:read and shared library | |
2472 | event support. | |
2473 | * features/library-list.dtd: New. | |
2474 | ||
b0f4b84b DJ |
2475 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
2476 | ||
2477 | * infrun.c (inferior_ignoring_startup_exec_events): Delete. | |
2478 | (start_remote): Use STOP_QUIETLY_REMOTE. | |
2479 | (handle_inferior_event): Do not condition TARGET_WAITKIND_LOADED | |
2480 | support on a SOLIB_ADD definition. Update breakpoints_inserted. | |
2481 | Update to match shared library event breakpoint support. Only | |
2482 | resume if appropriate. Handle STOP_QUIETLY_REMOTE. | |
2483 | (normal_stop): Handle TARGET_WAITKIND_LOADED. | |
2484 | * fork-child.c (startup_inferior): Do not set | |
2485 | inferior_ignoring_startup_exec_events | |
2486 | * inferior.h (inferior_ignoring_startup_exec_events): Delete | |
2487 | declaration. | |
2488 | (enum stop_kind): Improve documentation. Add STOP_QUIETLY_REMOTE. | |
2489 | ||
9bbf65bb UW |
2490 | 2007-07-02 Markus Deuling <deuling@de.ibm.com> |
2491 | ||
2492 | * breakpoint.c (insert_bp_location): Remove dead code | |
2493 | (DISABLE_UNSETTABLE_BREAK). | |
2494 | (disable_breakpoints_in_shlibs) | |
2495 | (disable_breakpoints_in_unloaded_shlib): Likewise (comment). | |
2496 | ||
a4954f26 DJ |
2497 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
2498 | ||
2499 | * breakpoint.c (reattach_breakpoints): Do not use remove_breakpoint. | |
2500 | Call insert_bp_location. | |
2501 | ||
b48516f9 L |
2502 | 2007-07-01 H.J. Lu <hongjiu.lu@intel.com> |
2503 | ||
2504 | * core-regset.c (fetch_core_registers): Work around gcc 3.4 | |
2505 | alias warning bug. | |
2506 | ||
96225718 DJ |
2507 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
2508 | ||
2509 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Search fewer | |
2510 | objfiles. | |
2511 | ||
1b05479a DJ |
2512 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
2513 | ||
2514 | * top.c (gdb_readline_wrapper_line): Call rl_callback_handler_remove. | |
2515 | (struct gdb_readline_wrapper_cleanup): Remove prompt_orig. | |
2516 | (gdb_readline_wrapper_cleanup): Do not reset the prompt. | |
2517 | (gdb_readline_wrapper): Do not save the prompt. Pass our prompt | |
2518 | to display_gdb_prompt. | |
2519 | ||
5ad3a4ca DJ |
2520 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
2521 | ||
2522 | PR symtab/2161 | |
2523 | * target.c (memory_xfer_partial): Do not continue past targets with | |
2524 | all memory. | |
2525 | ||
4ed77933 AS |
2526 | 2007-06-30 Andreas Schwab <schwab@suse.de> |
2527 | ||
4713453b AS |
2528 | * m68k-tdep.c (m68k_ps_type): New. |
2529 | (m68k_init_types): New. | |
2530 | (m68k_register_type): Use m68k_ps_type for PS register. | |
2531 | (_initialize_m68k_tdep): Call m68k_init_types. | |
2532 | ||
4ed77933 AS |
2533 | * m68k-tdep.c (m68k_gdbarch_init): Don't infer coldfire flavour |
2534 | from the generic m68k arch. | |
2535 | ||
dd3526aa MS |
2536 | 2007-06-28 Michael Snyder <msnyder@access-company.com> |
2537 | ||
f08312c2 MS |
2538 | * m2-typeprint.c (m2_print_type): Move pointer ref after null test |
2539 | (Coverity). | |
2540 | ||
a787bedf MS |
2541 | * linux-thread-db.c (thread_db_get_thread_local_address): Add |
2542 | gdb_assert before using return value of find_thread_pid (Coverity). | |
2543 | ||
77accacd MS |
2544 | * source.c (unset_substitute_path_command): Plug leak (Coverity). |
2545 | ||
dd3526aa MS |
2546 | * cli/cli-script.c (build_command_line): Add null pointer guard |
2547 | (Coverity). | |
2548 | ||
4105de34 DJ |
2549 | 2007-06-27 Daniel Jacobowitz <dan@codesourcery.com> |
2550 | ||
2551 | * linux-thread-db.c (thread_db_attach): Delete. | |
2552 | (thread_db_detach): Typo fix. Call target_mourn_inferior | |
2553 | instead of fixing up proc_handle. | |
2554 | (have_threads_callback, have_threads): New functions. | |
2555 | (thread_db_wait): Remove dead proc_handle.pid check. Only | |
2556 | translate PTIDs if we have registered threads. Check for new | |
2557 | threads if we have none. | |
2558 | (thread_db_create_inferior, thread_db_post_startup_inferior): Delete. | |
2559 | (find_new_threads_callback): Only enable event reporting if TID == 0. | |
2560 | (same_ptid_callback): New. | |
2561 | (thread_db_get_thread_local_address): Check for new threads. | |
2562 | (init_thread_db_ops): Don't set to_attach, to_create_inferior, | |
2563 | or to_post_startup_inferior. | |
2564 | ||
1c0fdd0e UW |
2565 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
2566 | ||
2567 | * infrun.c (adjust_pc_after_break): Do not assume software single-step | |
2568 | is always active if SOFTWARE_SINGLE_STEP_P is true. | |
2569 | (resume): Use gdbarch_software_single_step[_p] instead of | |
2570 | SOFTWARE_SINGLE_STEP[_P]. | |
2571 | (handle_inferior_event): Do not check for SOFTWARE_SINGLE_STEP_P. | |
2572 | ||
2573 | * gdbarch.sh (software_single_step): Remove target macro. | |
2574 | * gdbarch.h, gdbarch.c: Regenerate. | |
2575 | ||
e487cc15 UW |
2576 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
2577 | ||
2578 | * gdbarch.sh (gdbarch_swap_ftype, deprecated_register_gdbarch_swap, | |
2579 | DEPRECATED_REGISTER_GDBARCH_SWAP): Remove. | |
2580 | (struct gdbarch_swap, struct gdbarch_swap_registration, | |
2581 | struct gdbarch_swap_registry, gdbarch_swap_registry, | |
2582 | current_gdbarch_swap_init_hack, current_gdbarch_swap_out_hack, | |
2583 | current_gdbarch_swap_in_hack): Remove. | |
2584 | (find_arch_by_info): Do not call current_gdbarch_swap_init_hack. | |
2585 | (gdbarch_find_by_info): Do not call current_gdbarch_swap_in_hack | |
2586 | and current_gdbarch_swap_out_hack, update current_gdbarch directly. | |
2587 | (deprecated_current_gdbarch_select_hack): Likewise. | |
2588 | * gdbarch.h, gdbarch.c: Regenerate. | |
2589 | ||
d5c31457 UW |
2590 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
2591 | ||
2592 | * infrun.c (clear_proceed_status): Clean up stop_registers. | |
2593 | (normal_stop): Allocate regcache for stop_registers. | |
2594 | (struct inferior_status): Remove stop_registers member. | |
2595 | (save_inferior_status): Do not save stop_registers. | |
2596 | (restore_inferior_status): Do not restore stop_registers. | |
2597 | (discard_inferior_status): Do not discard stop_registers. | |
2598 | (build_infrun): Remove. | |
2599 | (_initialize_infrun): Do not swap stop_registers. | |
2600 | ||
911c95a5 UW |
2601 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
2602 | ||
2603 | * remote.c (remote_address_masked): If remote_address_size is zero, | |
2604 | default to target address size. | |
2605 | (build_remote_gdbarch_data): Remove. | |
2606 | (_initialize_remote): Do not swap remote_address_size. | |
2607 | ||
5674de60 UW |
2608 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
2609 | ||
2610 | * gdbtypes.h (builtin_type_true_char, builtin_type_void, | |
2611 | builtin_type_char, builtin_type_short, builtin_type_int, | |
2612 | builtin_type_long, builtin_type_signed_char, | |
2613 | builtin_type_unsigned_char, builtin_type_unsigned_short, | |
2614 | builtin_type_unsigned_int, builtin_type_unsigned_long, | |
2615 | builtin_type_float, builtin_type_double, builtin_type_long_double, | |
2616 | builtin_type_complex, builtin_type_double_complex, builtin_type_string, | |
2617 | builtin_type_bool, builtin_type_long_long, | |
2618 | builtin_type_unsigned_long_long, builtin_type_void_data_ptr, | |
2619 | builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Replace global | |
2620 | variable declaration with compatibility macro. | |
2621 | * gdbtypes.c (builtin_type_true_char, builtin_type_void, | |
2622 | builtin_type_char, builtin_type_short, builtin_type_int, | |
2623 | builtin_type_long, builtin_type_signed_char, | |
2624 | builtin_type_unsigned_char, builtin_type_unsigned_short, | |
2625 | builtin_type_unsigned_int, builtin_type_unsigned_long, | |
2626 | builtin_type_float, builtin_type_double, builtin_type_long_double, | |
2627 | builtin_type_complex, builtin_type_double_complex, builtin_type_string, | |
2628 | builtin_type_bool, builtin_type_long_long, | |
2629 | builtin_type_unsigned_long_long, builtin_type_void_data_ptr, | |
2630 | builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Remove. | |
2631 | (build_gdbtypes): Remove. | |
2632 | (_initialize_gdbtypes): Do not call build_gdbtypes, move installing | |
2633 | opaque-type-resolution command here. Do not call | |
2634 | deprecated_register_gdbarch_swap. | |
2635 | ||
64c50499 UW |
2636 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
2637 | ||
2638 | * gdbtypes.h (struct builtin_type): New members nodebug_text_symbol, | |
2639 | nodebug_data_symbol, nodebug_unknown_symbol, and nodebug_tls_symbol. | |
2640 | * gdbtypes.c (gdbtypes_post_init): Initialize nodebug_ default types. | |
2641 | ||
2642 | * parse.c (msym_text_symbol_type, msym_data_symbol_type): Remove. | |
2643 | (msym_unknown_symbol_type, msym_tls_symbol_type): Remove. | |
2644 | (write_exp_msymbol): Use builtin nodebug_ types instead of them. | |
2645 | (build_parse): Remove. | |
2646 | (_initialize_parse): Do not call build_parse. Do not register | |
2647 | msym_ types for gdbarch-swapping. | |
2648 | ||
2649 | * dwarf2read.c (new_symbol): Use default nodebug_data_symbol type | |
2650 | instead of creating private type. | |
2651 | ||
2652 | * xcoffread.c (func_symbol_type, var_symbol_type): Remove. | |
2653 | (_initialize_xcoffread): Do not initialized them. | |
2654 | (process_xcoff_symbol): Use builtin nodebug_ types instead of them. | |
2655 | ||
2656 | * mdebugread.c (nodebug_func_symbol_type): Remove. | |
2657 | (nodebug_var_symbol_type): Remove. | |
2658 | (_initialize_mdebugread): Do not initialize them. | |
2659 | (parse_symbol): Use builtin nodebug_ type instead of them. | |
2660 | (parse_procedure): Likewise. | |
2661 | ||
6a2eb474 MR |
2662 | 2007-06-21 Chris Dearman <chris@mips.com> |
2663 | ||
2664 | * printcmd.c (do_one_display): If display/i, start with an initial | |
2665 | line feed to avoid bad layout if there is a branch delay slot. | |
2666 | ||
a4642986 MR |
2667 | 2007-06-21 Nigel Stephens <nigel@mips.com> |
2668 | Maciej W. Rozycki <macro@mips.com> | |
2669 | ||
2670 | * disasm.c (gdb_print_insn): Return the number of branch delay | |
2671 | slot instructions too. | |
2672 | * disasm.h (gdb_print_insn): Update prototype. | |
2673 | * printcmd.c (branch_delay_insns): New variable to record the | |
2674 | number of delay slot instructions after disassembling a branch. | |
2675 | (print_formatted): Record the number of branch delay slot | |
2676 | instructions. | |
2677 | (do_examine): When disassembling, if the last instruction | |
2678 | disassembled has any branch delay slots, then bump the count so | |
2679 | that they get disassembled too. | |
2680 | * tui/tui-disasm.c (tui_disassemble): Update the call to | |
2681 | gdb_print_insn(). | |
2682 | * NEWS: Document the new behaviour. | |
2683 | ||
ade28716 AS |
2684 | 2007-06-21 Andreas Schwab <schwab@suse.de> |
2685 | ||
2686 | * regcache.c (write_pc_pid): Restore missing else. | |
2687 | ||
28c38f10 UW |
2688 | 2007-06-20 Ulrich Weigand <uweigand@de.ibm.com> |
2689 | ||
2690 | * regcache.c (regcache_print): Use get_current_regcache () | |
2691 | instead of current_regcache. | |
2692 | ||
52b57208 L |
2693 | 2007-06-20 H.J. Lu <hongjiu.lu@intel.com> |
2694 | ||
2695 | PR 4606 | |
2696 | * gcore.c (gcore_command): Use bfd_make_section_anyway_with_flags | |
2697 | instead of bfd_make_section_anyway. | |
2698 | (gcore_create_callback): Likewise. Also set SEC_NEVER_LOAD | |
2699 | when clearing SEC_LOAD. | |
2700 | ||
8bf8793c JM |
2701 | 2007-06-19 Joseph Myers <joseph@codesourcery.com> |
2702 | ||
2703 | * arm-tdep.c (arm_push_dummy_call): Correct padding of partial | |
2704 | registers for big-endian. | |
2705 | ||
7f5c84d3 UW |
2706 | 2007-06-19 Markus Deuling <deuling@de.ibm.com> |
2707 | ||
2708 | * gdbarch.sh (TARGET_PRINT_INSN): Replace by gdbarch_print_insn. | |
2709 | * disasm.c (dump_insns, gdb_print_insn): Likewise. | |
2710 | * gdbarch.c, gdbarch.h: Regenerate. | |
2711 | ||
f73e88f9 UW |
2712 | 2007-06-19 Markus Deuling <deuling@de.ibm.com> |
2713 | ||
2714 | * gdbarch.sh (BELIEVE_PCC_PROMOTION): Replace by | |
2715 | gdbarch_believe_pcc_promotion. | |
2716 | * stabsread.c (define_symbol): Likewise. | |
2717 | Remove unnecessary definition. | |
2718 | * coffread.c (process_coff_symbol): Remove unnecessary code. | |
2719 | * gdbarch.c, gdbarch.h: Regenerate. | |
2720 | ||
cab58a69 DJ |
2721 | 2007-06-19 Daniel Jacobowitz <dan@codesourcery.com> |
2722 | ||
2723 | * configure.ac: Do not use ${objdir}. | |
2724 | * configure: Regenerated. | |
2725 | ||
f0c9063c UW |
2726 | 2007-06-18 Ulrich Weigand <uweigand@de.ibm.com> |
2727 | ||
2728 | * gdbarch.sh (deprecated_register_size): Remove. | |
2729 | * gdbarch.h, gdbarch.c: Regenerate. | |
2730 | ||
2731 | * arm-tdep.c (arm_push_dummy_call): Replace DEPRECATED_REGISTER_SIZE | |
2732 | by INT_REGISTER_SIZE. | |
2733 | (thumb_get_next_pc, arm_return_in_memory): Likewise. | |
2734 | (arm_gdbarch_init): Do not call set_gdbarch_deprecated_register_size. | |
2735 | * ia64-tdep.c (ia64_gdbarch_init): Do not call | |
2736 | set_gdbarch_deprecated_register_size. | |
2737 | ||
064f5156 UW |
2738 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
2739 | ||
2740 | * gdbarch.sh (DEPRECATED_FP_REGNUM): Replace by | |
2741 | gdbarch_deprecated_fp_regnum. | |
2742 | * std-regs.c (value_of_builtin_frame_fp_reg): Likewise. | |
2743 | * remote-mips.c (mips_wait, mips_fetch_registers): Likewise. | |
2744 | * arch-utils.c (legacy_virtual_frame_pointer): Likewise. | |
2745 | * arch-utils.h (gdbarch_virtual_frame_pointer_ftype): Likewise | |
2746 | (comment). | |
2747 | * gdbarch.c, gdbarch.h: Regenerate. | |
2748 | ||
2749 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> | |
2750 | ||
2751 | * gdbarch.sh (EXTRACT_RETURN_VALUE): Replace with | |
2752 | gdbarch_extract_return_value. | |
2753 | * value.c (generic_use_struct_convention): Likewise (comment). | |
2754 | * ia64-tdep.c (ia64_use_struct_convention): Likewise (comment). | |
2755 | * arch-utils.c (legacy_return_value): Likewise. | |
2756 | * arch-utils.h (legacy_return_value): Likewise (comment). | |
2757 | * gdbarch.sh (STORE_RETURN_VALUE): Replace by | |
2758 | gdbarch_store_return_value. | |
2759 | * stack.c (return_command): Likewise (comment). | |
2760 | * arch-utils.h (legacy_return_value): Likewise (comment). | |
2761 | * arch-utils.c (legacy_return_value): Likewise. | |
2762 | * gdbarch.c, gdbarch.h: Regenerate. | |
2763 | ||
b187c476 UW |
2764 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
2765 | ||
2766 | * gdbarch.sh (DEPRECATED_USE_STRUCT_CONVENTION): Replace by | |
2767 | gdbarch_deprecated_use_struct_convention. | |
2768 | * arch-utils.c (legacy_return_value): Likewise. | |
2769 | * gdbarch.c, gdbarch.h: Regenerate. | |
2770 | ||
cbf3b44a UW |
2771 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
2772 | ||
2773 | * gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Replace by | |
2774 | gdbarch_deprecated_function_start_offset. | |
2775 | * symtab.c (find_function_start_sal)skip_prologue_using_sal): Likewise. | |
2776 | * linespec.c (minsym_found): Likewise. | |
2777 | * infrun.c (handle_inferior_event): Likewise. | |
2778 | * infcall.c (find_function_addr): Likewise. | |
2779 | * cli/cli-cmds.c (disassemble_command): Likewise. | |
2780 | * gdbarch.c, gdbarch.h: Regenerate. | |
2781 | ||
bceb6e50 UW |
2782 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
2783 | ||
2784 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Replace by | |
2785 | gdbarch_deprecated_reg_struct_has_addr. | |
2786 | * infcall.c (call_function_by_hand): Likewise. | |
2787 | (DEPRECATED_REG_STRUCT_HAS_ADDR_P): Replace by | |
2788 | * gdbarch_deprecated_reg_struct_has_addr_p. | |
2789 | * infcall.c (call_function_by_hand): Likewise. | |
2790 | * gdbarch.c, gdbarch.h: Regenerate. | |
2791 | ||
8ed6a7ba UW |
2792 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
2793 | ||
2794 | * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
2795 | * sh-tdep.c (sh_extract_struct_value_address): Remove. | |
2796 | (sh_gdbarch_init): Remove | |
2797 | set_gdbarch_deprecated_extract_struct_value_address. | |
2798 | * sh64-tdep.c (sh64_extract_struct_value_address): Remove. | |
2799 | (sh64_gdbarch_init): Remove | |
2800 | set_gdbarch_deprecated_extract_struct_value_address. | |
2801 | * ia64-tdep.c (ia64_extract_struct_value_address): Remove. | |
2802 | (ia64_gdbarch_init): Remove | |
2803 | set_gdbarch_deprecated_extract_struct_value_address. | |
2804 | * frv-tdep.c (frv_extract_struct_value_address): Remove. | |
2805 | (frv_gdbarch_init): Remove | |
2806 | set_gdbarch_deprecated_extract_struct_value_address. | |
2807 | * gdbarch.c, gdbarch.h: Regenerate. | |
2808 | ||
3e8c568d UW |
2809 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
2810 | ||
2811 | * gdbarch.sh (SP_REGNUM): Replace by gdbarch_sp_regnum. | |
2812 | * v850-tdep.c (v850_unwind_sp): Likewise. | |
2813 | * std-regs.c (value_of_builtin_frame_sp_reg): Likewise. | |
2814 | * stack.c (frame_info): Likewise. | |
2815 | * stabsread.c (define_symbol): Likewise. | |
2816 | * sh-tdep.c (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu) | |
2817 | (sh_dwarf2_frame_init_reg, sh_frame_cache, sh_frame_prev_register) | |
2818 | (sh_unwind_sp): Likewise. | |
2819 | * sh64-tdep.c (sh64_push_dummy_call, sh64_frame_cache) | |
2820 | (sh64_frame_prev_register, sh64_unwind_sp): Likewise. | |
2821 | * rs6000-tdep.c (rs6000_push_dummy_call, rs6000_unwind_dummy_id) | |
2822 | (rs6000_frame_cache): Likewise. | |
2823 | * rs6000-nat.c (store_register): Likewise. | |
2824 | * remote-mips.c (mips_wait): Likewise. | |
2825 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
2826 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call) | |
2827 | (ppc64_sysv_abi_push_dummy_call): Likewise. | |
2828 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise. | |
2829 | * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise. | |
2830 | * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise. | |
2831 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
2832 | * m32r-rom.c (m32r_supply_register): Likewise. | |
2833 | * frame.c (frame_sp_unwind): Likewise. | |
2834 | * mips-tdep.c (mips_insn16_frame_cache) | |
2835 | (mips_insn32_frame_cache): Likewise (comment). | |
2836 | * m68klinux-nat.c (supply_gregset): Likewise. | |
2837 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
2838 | * ia64-tdep.c (ia64_frame_prev_register): Likewise. | |
2839 | * i386-tdep.c (i386_get_longjmp_target): Likewise. | |
2840 | * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise. | |
2841 | * cris-tdep.c (cris_regnums, cris_sigcontext_addr) | |
2842 | (cris_sigtramp_frame_unwind_cache, cris_push_dummy_call) | |
2843 | (cris_scan_prologue, crisv32_scan_prologue, cris_unwind_sp) | |
2844 | (cris_register_type, crisv32_register_type) | |
2845 | (cris_dwarf2_frame_init_reg): Likewise. | |
2846 | * arch-utils.c (legacy_virtual_frame_pointer): Likewise. | |
2847 | * amd64-tdep.c (amd64_frame_prev_register): Likewise. | |
2848 | * amd64-linux-tdep.c (amd64_linux_sigcontext_addr): Likewise. | |
2849 | * libunwind-frame.c (libunwind_frame_cache): Likewise. | |
2850 | ||
2851 | * gdbarch.sh (PC_REGNUM): Replace by gdbarch_pc_regnum. | |
2852 | * regcache.c (read_pc_pid, generic_target_write_pc): Likewise. | |
2853 | * xtensa-tdep.c (xtensa_register_type, xtensa_supply_gregset) | |
2854 | (xtensa_unwind_pc, xtensa_frame_cache, xtensa_frame_prev_register) | |
2855 | (xtensa_extract_return_value, xtensa_store_return_value): Likewise. | |
2856 | * v850-tdep.c (v850_unwind_pc): Likewise. | |
2857 | * stack.c (frame_info): Likewise. | |
2858 | * sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh2e_show_regs) | |
2859 | (sh2a_show_regs, sh2a_nofpu_show_regs, sh3e_show_regs) | |
2860 | (sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs) | |
2861 | (sh_dwarf2_frame_init_reg, sh_frame_prev_register, sh_unwind_pc) | |
2862 | (sh_dsp_show_regs): Likewise. | |
2863 | * shnbsd-tdep.c (shnbsd_supply_gregset) | |
2864 | (shnbsd_collect_gregset): Likewise. | |
2865 | * shnbsd-nat.c (GETREGS_SUPPLIES): Likewise. | |
2866 | * sh64-tdep.c (sh64_compact_reg_base_num, sh64_show_media_regs) | |
2867 | (sh64_frame_prev_register, sh64_unwind_pc): Likewise. | |
2868 | * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset) | |
2869 | (6000_register_reggroup_p, rs6000_unwind_pc) | |
2870 | (rs6000_frame_cache): Likewise. | |
2871 | * rs6000-nat.c (regmap, rs6000_fetch_inferior_registers) | |
2872 | (rs6000_store_inferior_registers): Likewise. | |
2873 | * remote-mips.c (mips_wait, mips_load): Likewise. | |
2874 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
2875 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise. | |
2876 | * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise. | |
2877 | * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise. | |
2878 | * ppcnbsd-nat.c (getregs_supplies, ppcnbsd_supply_pcb): Likewise. | |
2879 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
2880 | * ppc-linux-nat.c (ppc_register_u_addr, fetch_ppc_registers) | |
2881 | (store_ppc_registers, fill_gregset): Likewise. | |
2882 | * mips-tdep.c (mips_stub_frame_cache, mips_gdbarch_init): Likewise. | |
2883 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_fill_reg): Likewise. | |
2884 | * mipsnbsd-nat.c (getregs_supplies): Likewise. | |
2885 | * m68k-tdep.c (m68k_register_type, m68k_unwind_pc): Likewise. | |
2886 | * m68klinux-nat.c (supply_gregset): Likewise. | |
2887 | * irix5-nat.c (fill_gregset): Likewise. | |
2888 | * i386-tdep.c (i386_unwind_pc): Likewise. | |
2889 | * i386-linux-nat.c (i386_linux_resume): Likewise. | |
2890 | * frame.c (get_prev_frame_1): Likewise. | |
2891 | * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise. | |
2892 | * dbug-rom.c (dbug_supply_register): Likewise. | |
2893 | * cris-tdep.c (cris_sigtramp_frame_unwind_cache, cris_scan_prologue) | |
2894 | (crisv32_scan_prologue, cris_unwind_pc, cris_register_size) | |
2895 | (cris_register_type, crisv32_register_type, crisv32_register_name) | |
2896 | (cris_dwarf2_frame_init_reg, find_step_target) | |
2897 | (cris_software_single_step, cris_supply_gregset) | |
2898 | (cris_regnums): Likewise. | |
2899 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. | |
2900 | * aix-thread.c (special_register_p, supply_sprs64, supply_sprs32) | |
2901 | (fill_sprs64, fill_sprs32, store_regs_user_thread): Likewise. | |
2902 | * std-regs.c (value_of_builtin_frame_pc_reg): Likewise. | |
2903 | * mips-linux-tdep.c (mips_linux_write_pc): Likewise. | |
2904 | ||
2905 | * gdbarch.sh (PS_REGNUM): Replace by gdbarch_ps_regnum. | |
2906 | * dbug-rom.c (dbug_supply_register): Likewise. | |
2907 | * xtensa-tdep.c (xtensa_supply_gregset, xtensa_frame_cache) | |
2908 | (xtensa_frame_prev_register, xtensa_push_dummy_call): Likewise. | |
2909 | * win32-nat.c (win32_resume): Likewise. | |
2910 | * std-regs.c (value_of_builtin_frame_ps_reg): Likewise. | |
2911 | * m68k-tdep.c (m68k_register_type): Likewise. | |
2912 | * m68klinux-nat.c (supply_gregset): Likewise. | |
2913 | ||
2914 | * gdbarch.sh (FP0_REGNUM): Replace by gdbarch_fp0_regnum. | |
2915 | * sh-tdep.c (sh_extract_return_value_fpu, sh_store_return_value_fpu) | |
2916 | (sh2e_show_regs, sh2a_show_regs, sh3e_show_regs, sh4_show_regs) | |
2917 | (sh_sh2a_register_type, sh_sh3e_register_type, sh_sh4_register_type) | |
2918 | (fv_reg_base_num, dr_reg_base_num): Likewise. | |
2919 | * sh64-tdep.c (sh64_fv_reg_base_num, sh64_dr_reg_base_num) | |
2920 | (sh64_fpp_reg_base_num, sh64_compact_reg_base_num, sh64_push_dummy_call) | |
2921 | (sh64_extract_return_value, sh64_store_return_value) | |
2922 | (sh64_show_media_regs, sh64_show_compact_regs, sh64_register_type) | |
2923 | (sh64_do_fp_register, sh64_media_print_registers_info): Likewise. | |
2924 | * procfs.c (procfs_fetch_registers, procfs_store_registers) | |
2925 | (invalidate_cache): Likewise. | |
2926 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
2927 | * mipsnbsd-tdep.c (mipsnbsd_supply_fpreg) | |
2928 | (mipsnbsd_fill_fpreg): Likewise. | |
2929 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers) | |
2930 | (mipsnbsd_store_inferior_registers): Likewise. | |
2931 | * mips-linux-tdep.c (mips_supply_fpregset, mips_fill_fpregset) | |
2932 | (mips64_supply_fpregset, mips64_fill_fpregset): Likewise. | |
2933 | * mips-linux-nat.c (mips64_linux_register_addr): Likewise. | |
2934 | * m68k-tdep.c (m68k_register_type, m68k_convert_register_p): Likewise. | |
2935 | * m68klinux-nat.c (getfpregs_supplies, supply_fpregset) | |
2936 | (fill_fpregset): Likewise. | |
2937 | * irix5-nat.c (supply_fpregset, fill_fpregset): Likewise. | |
2938 | * i386-tdep.h (struct_return): Likewise (comment). | |
2939 | * i386-nto-tdep.c (i386nto_register_area): Likewise. | |
2940 | * go32-nat.c (fetch_register, go32_fetch_registers, store_register) | |
2941 | (go32_store_registers): Likewise. | |
2942 | * alpha-tdep.c (alpha_next_pc): Likewise. | |
2943 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. | |
2944 | * alphabsd-nat.c (alphabsd_fetch_inferior_registers) | |
2945 | (alphabsd_store_inferior_registers): Likewise. | |
2946 | * core-regset.c (fetch_core_registers): Likewise. | |
2947 | * i386v4-nat.c (supply_fpregset, fill_fpregset): Likewise. | |
2948 | ||
2949 | * gdbarch.c, gdbarch.h: Regenerate. | |
2950 | ||
31d99776 DJ |
2951 | 2007-06-18 Daniel Jacobowitz <dan@codesourcery.com> |
2952 | ||
2953 | * coffread.c (coff_sym_fns): Add default_symfile_segments. | |
2954 | * dbxread.c (start_psymtab): Check HAVE_ELF. | |
2955 | (aout_sym_fns): Likewise. | |
2956 | * elfread.c (elf_symfile_segments): New. | |
2957 | (elf_sym_fns): Add elf_symfile_segments. | |
2958 | * mipsread.c (ecoff_sym_fns): Add default_symfile_segments. | |
2959 | * remote.c (get_offsets): Use symfile_map_offsets_to_segments. | |
2960 | Skip if there is no symfile_objfile. Handle TextSeg and DataSeg. | |
2961 | * somread.c (som_sym_fns): Use default_symfile_segments. | |
2962 | * symfile.c (find_sym_fns): Take a BFD and return the sym_fns. | |
2963 | (init_objfile_sect_indices): Call symfile_find_segment_sections. | |
2964 | (default_symfile_segments): New function. | |
2965 | (syms_from_objfile): Update call to find_sym_fns. | |
2966 | (symfile_get_segment_data, free_symfile_segment_data): New. | |
2967 | (symfile_map_offsets_to_segments): New. | |
2968 | (symfile_find_segment_sections): New. | |
2969 | * symfile.h (struct symfile_segment_data): New. | |
2970 | (struct sym_fns): Add sym_segments. | |
2971 | (default_symfile_segments, symfile_get_segment_data) | |
2972 | (free_symfile_segment_data): New prototypes. | |
2973 | (symfile_map_offsets_to_segments): Likewise. | |
2974 | * xcoffread.c (xcoff_sym_fns): Add default_symfile_segments. | |
2975 | * Makefile.in (COMMON_OBS): Remove elfread.o. | |
2976 | (elf_internal_h): New. | |
2977 | (elfread.o): Update. | |
2978 | * configure.ac: Add elfread.o to COMMON_OBS if bfd/elf.o was | |
2979 | compiled. | |
2980 | * config.in, configure: Regenerated. | |
2981 | * NEWS: Mention qOffsets changes. | |
2982 | ||
5760b90a UW |
2983 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
2984 | ||
2985 | * gdbtypes.h (builtin_type_m2_char, builtin_type_m2_int, | |
2986 | builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool): | |
2987 | Replace global variable declaration with compatibility macro. | |
2988 | (struct builtin_m2_type): New data type. | |
2989 | (builtin_m2_type): Add prototype. | |
2990 | * m2-lang.c (builtin_type_m2_char, builtin_type_m2_int, | |
2991 | builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool): | |
2992 | Remove global variables. | |
2993 | (m2_language_arch_info): Use builtin_m2_type instead of variables. | |
2994 | (build_m2_types): New function. | |
2995 | (m2_type_data): New variable. | |
2996 | (builtin_m2_type): New function. | |
2997 | (_initialize_m2_language): Do not build data types. Register | |
2998 | m2_type_data per-gdbarch data. | |
2999 | ||
54ef06c7 UW |
3000 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3001 | ||
3002 | * gdbtypes.h (builtin_type_f_character, builtin_type_f_logical, | |
3003 | builtin_type_f_logical_s1, builtin_type_f_logical_s2, | |
3004 | builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real, | |
3005 | builtin_type_f_real_s8, builtin_type_f_real_s16, | |
3006 | builtin_type_f_complex_s8, builtin_type_f_complex_s16, | |
3007 | builtin_type_f_complex_s32, builtin_type_f_void): Replace global | |
3008 | variable declaration with compatibility macro. | |
3009 | (struct builtin_f_type): New data type. | |
3010 | (builtin_f_type): Add prototype. | |
3011 | * f-lang.c (builtin_type_f_character, builtin_type_f_logical, | |
3012 | builtin_type_f_logical_s1, builtin_type_f_logical_s2, | |
3013 | builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real, | |
3014 | builtin_type_f_real_s8, builtin_type_f_real_s16, | |
3015 | builtin_type_f_complex_s8, builtin_type_f_complex_s16, | |
3016 | builtin_type_f_complex_s32, builtin_type_f_void): Remove variables. | |
3017 | (f_language_arch_info): Use builtin_f_type instead of variables. | |
3018 | (build_fortran_types): Build builtin_f_type structure instead of | |
3019 | setting global type variables. | |
3020 | (f_type_data): New variable. | |
3021 | (builtin_f_type): New function. | |
3022 | (_initialize_f_language): Do not call build_fortran_types. Do not | |
3023 | swap global type variables. Register f_type_data per-gdbarch data. | |
3024 | ||
92e0cef4 UW |
3025 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3026 | ||
3027 | * f-lang.c (_initialize_f_language): Do not initialize or | |
3028 | swap builtin_type_string. | |
3029 | ||
5d8140d1 UW |
3030 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3031 | ||
0e7b1906 UW |
3032 | * std-regs.c (builtin_type_frame_reg, build_builtin_type_frame_reg, |
3033 | value_of_builtin_frame_reg): Remove. | |
3034 | (_initialize_frame_reg): Do not swap builtin_type_frame_reg. Remove | |
3035 | inactive call to value_of_builtin_frame_reg. | |
3036 | ||
3037 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> | |
3038 | ||
3039 | * gdbarch.sh (bfd_vma_bit): Remove. | |
5d8140d1 UW |
3040 | * gdbarch.c, gdbarch.h: Regenerate. |
3041 | ||
3042 | * gdbtypes.h (builtin_bfd_vma_type): Remove. | |
3043 | * gdbtypes.h (builtin_bfd_vma_type): Remove. | |
3044 | (build_gdbtypes): Do not initialize it. | |
3045 | (_initialize_gdbtypes): Do not swap it. | |
3046 | ||
794ac428 UW |
3047 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3048 | ||
3049 | * gdbtypes.c (builtin_type_v2_double, builtin_type_v4_float, | |
3050 | builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16, | |
3051 | builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32, | |
3052 | builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf, | |
3053 | builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi, | |
3054 | builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si, | |
3055 | builtin_type_vec64, builtin_type_vec128): Remove. | |
3056 | (init_simd_type): Remove. | |
3057 | (init_vector_type): Make global. | |
3058 | (build_builtin_type_vec64, build_builtin_type_vec128): Remove. | |
3059 | (build_gdbtypes): Do not build vector types. | |
3060 | (_initialize_gdbtypes): Do not swap vector types. | |
3061 | * gdbtypes.h (builtin_type_v2_double, builtin_type_v4_float, | |
3062 | builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16, | |
3063 | builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32, | |
3064 | builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf, | |
3065 | builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi, | |
3066 | builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si, | |
3067 | builtin_type_vec64, builtin_type_vec128): Remove declarations. | |
3068 | (init_vector_type): Add prototype. | |
3069 | ||
3070 | * i386-tdep.h (struct gdbarch_tdep): Add i386_mmx_type and | |
3071 | i386_sse_type members. | |
3072 | (i386_mmx_type, i386_sse_type): Change from variables to functions. | |
3073 | * i386-tdep.c (i386_mmx_type, i386_sse_type): Remove variables. | |
3074 | (i386_init_types): Do not build vector types. | |
3075 | (i386_mmx_type, i386_sse_type): New functions. | |
3076 | (i386_register_type): Call them instead of using global variables. | |
3077 | (i386_gdbarch_init): Use XCALLOC to allocate tdep structure. | |
3078 | * amd64-tdep.c (amd64_register_type): Call i386_sse_type instead | |
3079 | of using global variable. | |
3080 | ||
3081 | * rs6000-tdep.h (struct gdbarch_tdep): Add ppc_builtin_type_vec64 | |
3082 | and ppc_builtin_type_vec128 members. | |
3083 | * rs6000-tdep.c (rs6000_builtin_type_vec64): New function. | |
3084 | (rs6000_builtin_type_vec128): Likewise. | |
3085 | (rs6000_register_type): Call them instead of using builtin_type_vec64 | |
3086 | and builtin_type_vec128. | |
3087 | (rs6000_gdbarch_init): Use XCALLOC to allocate tdep structure. | |
3088 | ||
3089 | * spu-tdep.c (struct gdbarch_tdep): New data type. | |
3090 | (spu_builtin_type_vec128): Remove variable. | |
3091 | (spu_builtin_type_vec128): New function. | |
3092 | (spu_register_type): Call it instead of using global variable. | |
3093 | (spu_gdbarch_init): Allocate tdep structure. | |
3094 | (spu_init_vector_type): Remove function. | |
3095 | (_initialize_spu_tdep): Do not call it. | |
3096 | ||
6707b003 UW |
3097 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3098 | ||
3099 | * amd64-tdep.c (struct amd64_register_info): Remove. | |
3100 | (amd64_register_info): Remove. | |
3101 | (amd64_register_names): New static variable. | |
3102 | (AMD64_NUM_REGS): Use amd64_register_names instead of | |
3103 | amd64_register_info. | |
3104 | (amd64_register_name): Likewise. | |
3105 | (amd64_register_type): Do not refer to amd64_register_info. | |
3106 | ||
3107 | * s390-tdep.c (struct s390_register_info): Remove. | |
3108 | (s390_register_info): Remove. | |
3109 | (s390_register_name): Do not refer to s390_register_info. | |
3110 | (s390_register_type): Likewise. | |
3111 | ||
3112 | * sparc64-tdep.c (struct sparc64_register_info): Remove. | |
3113 | (sparc64_register_info, sparc64_pseudo_register_info): Remove. | |
3114 | (sparc64_register_names, sparc64_pseudo_register_names): New. | |
3115 | (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use | |
3116 | sparc64_register_names and sparc64_pseudo_register_names instead of | |
3117 | sparc64_register_info and sparc64_pseudo_register_info. | |
3118 | (sparc64_register_name): Likewise. | |
3119 | (sparc64_register_type): Do not refer to sparc64_register_info | |
3120 | and sparc64_pseudo_register_info. | |
3121 | ||
cad351d1 UW |
3122 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3123 | ||
3124 | * c-lang.c (cplus_builtin_types): Remove. | |
3125 | (enum cplus_primitive_types): New data type. | |
3126 | (cplus_language_arch_info): New function. | |
3127 | (cplus_language_defn): Set la_language_arch_info member. Do not set | |
3128 | la_builtin_type_vector and string_char_type members. | |
3129 | ||
3130 | * f-lang.c (f_builtin_types): Remove. | |
3131 | (enum f_primitive_types): New data type. | |
3132 | (f_language_arch_info): New function. | |
3133 | (f_language_de): Set la_language_arch_info member. Do not set | |
3134 | la_builtin_type_vector and string_char_type members. | |
3135 | ||
3136 | * m2-lang.c (m2_builtin_types): Remove. | |
3137 | (enum m2_primitive_types): New data type. | |
3138 | (m2_language_arch_info): New function. | |
3139 | (m2_language_defn): Set la_language_arch_info member. Do not set | |
3140 | la_builtin_type_vector and string_char_type members. | |
3141 | ||
3142 | * objc-lang.c (objc_builtin_types): Remove. | |
3143 | (objc_language): Set la_language_arch_info member. Do not set | |
3144 | la_builtin_type_vector and string_char_type members. | |
3145 | ||
3146 | * p-lang.c (pascal_builtin_types): Remove. | |
3147 | (enum pascal_primitive_types): New data type. | |
3148 | (pascal_language_arch_info): New function. | |
3149 | (pascal_language_defn): Set la_language_arch_info member. Do not set | |
3150 | la_builtin_type_vector and string_char_type members. | |
3151 | ||
594f7785 UW |
3152 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3153 | ||
3154 | * regcache.c (struct regcache): Add ptid_t member. | |
3155 | (regcache_xmalloc): Initialize it. | |
3156 | (regcache_cpy_no_passthrough): Do not refer to current_regcache. | |
3157 | (regcache_dup): Likewise. | |
3158 | (regcache_dup_no_passthrough): Likewise. | |
3159 | (current_regcache): Make static. | |
3160 | (registers_ptid): Remove variable. | |
3161 | (get_thread_regcache): New function. | |
3162 | (get_current_regcache): New function. | |
3163 | (registers_changed): Implement by freeing current regcache. | |
3164 | (regcache_raw_read): Do not refer to current_regcache. Set | |
3165 | inferior_ptid to regcache->ptid while calling target routines. | |
3166 | (regcache_raw_write): Likewise. | |
3167 | (regcache_raw_supply): Do not refer to current_regcache. | |
3168 | (read_pc_pid): Use thread regcache. Do not modify inferior_ptid. | |
3169 | (write_pc_pid): Likewise. | |
3170 | (build_regcache): Remove. | |
3171 | (_initialize_regcache): Do not call DEPRECATED_REGISTER_GDBARCH_SWAP | |
3172 | or deprecated_register_gdbarch_swap. Do not initialize | |
3173 | registers_ptid. | |
3174 | * regcache.h (get_current_regcache): Add prototype. | |
3175 | (get_thread_regcache): Likewise. | |
3176 | (current_regcache): Remove declaration. | |
3177 | ||
3178 | * corelow.c (core_open): Replace current_regcache by | |
3179 | get_current_regcache (). | |
3180 | * frame.c (frame_pop): Likewise. | |
3181 | (put_frame_register): Likewise. | |
3182 | (get_current_frame, create_new_frame): Likewise. | |
3183 | * mi/mi-main.c (mi_cmd_data_write_register_values): Likewise. | |
3184 | * stack.c (return_command): Likewise. | |
3185 | * infcall.c (call_function_by_hand): Likewise. | |
3186 | * infrun.c (resume): Likewise. | |
3187 | (save_inferior_status, restore_inferior_status): Likewise. | |
3188 | * linux-fork.c (fork_load_infrun_state): Likewise. | |
3189 | (fork_save_infrun_state): Likewise. | |
3190 | * win32-nat.c (win32_resume): Likewise. | |
3191 | * i386fbsd-nat.c (i386fbsd_resume): Likewise. | |
3192 | * monitor.c (monitor_wait): Likewise. | |
3193 | * remote.c (remote_wait): Likewise. | |
3194 | * remote-mips.c (mips_wait): Likewise. | |
3195 | ||
3196 | * bsd-kvm.c (bsd_kvm_open): Likewise | |
3197 | (bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Likewise. | |
3198 | * fbsd-nat.c (fbsd_make_corefile_notes): Likewise. | |
3199 | * i386-linux-nat.c (i386_linux_resume): Likewise. | |
3200 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Likewise. | |
3201 | (ia64_linux_stopped_data_address): Likewise. | |
3202 | ||
3203 | * frv-tdep.c (frv_fdpic_loadmap_addresses): Likewise. | |
3204 | * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. | |
3205 | * mep-tdep.c (current_me_module, current_options): Likewise. | |
3206 | * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Likewise. | |
3207 | ||
3208 | * linux-nat.c (linux_nat_do_thread_registers): Use thread | |
3209 | regcache instead of current_regcache. Call target_fetch_registers. | |
3210 | (linux_nat_corefile_thread_callback): Update call site. | |
3211 | (linux_nat_do_registers): Likewise. | |
3212 | * procfs.c (procfs_do_thread_registers): Use thread regcache instead | |
3213 | of current_regcache. | |
3214 | (procfs_make_note_section): Likewise. | |
3215 | * proc-service.c (ps_lgetregs, ps_lsetregs): Likewise. | |
3216 | (ps_lgetfpregs, ps_lsetfpregs): Likewise. | |
3217 | * sol-thread.c (ps_lgetregs, ps_lsetregs): Likewise. | |
3218 | (ps_lgetfpregs, ps_lsetfpregs): Likewise. | |
3219 | ||
51a7a212 UW |
3220 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3221 | ||
3222 | * regcache.c (read_register, read_register_pid): Remove. | |
3223 | (write_register, write_register_pid): Likewise. | |
3224 | * regcache.h (read_register, read_register_pid): Remove prototype. | |
3225 | (write_register, write_register_pid): Likewise. | |
3226 | ||
61a1198a UW |
3227 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3228 | ||
3229 | * gdbarch.sh (read_pc): Add REGCACHE argument. Remove PTID argument. | |
3230 | (write_pc): Likewise. Remove default implementation, add predicate. | |
3231 | * gdbarch.c, gdbarch.h: Regenerate. | |
3232 | * regcache.c (read_pc_pid): Use current regcache instead of calling | |
3233 | read_register_pid. | |
3234 | (write_pc_pid): Check gdbarch_write_pc predicate, implement default | |
3235 | case inline. | |
3236 | (generic_target_write_pc): Remove. | |
3237 | * inferior.h (generic_target_write_pc): Remove. | |
3238 | * frv-tdep.c (frv_gdbarch_init): Do not install it. | |
3239 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
3240 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
3241 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
3242 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
3243 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
3244 | ||
3245 | * avr-tdep.c (avr_read_pc): Add REGCACHE argument. Remove PTID | |
3246 | argument. Use REGCACHE instead of calling read_register_pid. | |
3247 | * hppa-hpux-tdep.c (hppa_hpux_read_pc): Likewise. | |
3248 | * hppa-tdep.c (hppa_read_pc): Likewise. | |
3249 | * hppa-tdep.h (hppa_read_pc): Likewise. | |
3250 | * ia64-tdep.c (ia64_read_pc): Likewise. | |
3251 | * m32r-tdep.c (m32r_read_pc): Likewise. | |
3252 | * mep-tdep.c (mep_read_pc): Likewise. | |
3253 | * mn10300-tdep.c (mn10300_read_pc): Likewise. | |
3254 | * spu-tdep.c (spu_read_pc): Likewise. | |
3255 | ||
3256 | * arm-tdep.c (arm_write_pc): Add REGCACHE argument. Remove PTID | |
3257 | argument. Use REGCACHE instead of calling write_register_pid. | |
3258 | * avr-tdep.c (avr_write_pc): Likewise. | |
3259 | * hppa-hpux-tdep.c (hppa_hpux_write_pc): Likewise. | |
3260 | * hppa-tdep.c (hppa_write_pc): Likewise. | |
3261 | * hppa-tdep.h (hppa_write_pc): Likewise. | |
3262 | * i386-linux-tdep.c (i386_linux_write_pc): Likewise. | |
3263 | * amd64-linux-tdep.c (amd64_linux_write_pc): Likewise. | |
3264 | * ia64-linux-tdep.c (ia64_linux_write_pc): Likewise. | |
3265 | * ia64-tdep.c (ia64_write_pc): Likewise. | |
3266 | * ia64-tdep.h (ia64_write_pc): Likewise. | |
3267 | * m32r-tdep.c (m32r_write_pc): Likewise. | |
3268 | * m88k-tdep.c (m88k_write_pc): Likewise. | |
3269 | * mep-tdep.c (mep_write_pc): Likewise. | |
3270 | * mips-tdep.c (mips_write_pc): Likewise. | |
3271 | * mips-linux-tdep.c (mips_linux_write_pc): Likewise. | |
3272 | * mn10300-tdep.c (mn10300_write_pc): Likewise. | |
3273 | * sparc-tdep.c (sparc_write_pc): Likewise. | |
3274 | * spu-tdep.c (spu_write_pc): Likewise. | |
3275 | ||
3276 | * mips-tdep.c (read_signed_register): Remove. | |
3277 | (read_signed_register_pid): Likewise. | |
3278 | (mips_read_pc): Add REGCACHE argument. Remove PTID argument. | |
3279 | Use REGCACHE instead of calling read_signed_register_pid. | |
3280 | ||
e4fd649a UW |
3281 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3282 | ||
3283 | * gdbarch.sh (push_dummy_code): Add REGCACHE argument. | |
3284 | * gdbarch.c, gdbarch.h: Regenerate. | |
3285 | * infcall.c (generic_push_dummy_code): Add REGCACHE argument. | |
3286 | (push_dummy_code): Likewise. Pass it to callee. | |
3287 | (call_function_by_hand): Pass current regcache to push_dummy_code. | |
3288 | ||
3289 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Add REGCACHE | |
3290 | argument. Use it instead of current_regcache. | |
3291 | ||
3292 | * cris-tdep.c (cris_push_dummy_code): Add REGCACHE argument. | |
3293 | * sparc-tdep.c (sparc32_push_dummy_code): Likewise. | |
3294 | ||
60ade65d UW |
3295 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3296 | ||
3297 | * gdbarch.sh (get_longjmp_target): Add FRAME argument. | |
3298 | * gdbarch.c, gdbarch.h: Regenerate. | |
3299 | * infrun.c (handle_inferior_event): Pass current frame to | |
3300 | gdbarch_get_longjmp_target. | |
3301 | ||
3302 | * alpha-tdep.c (alpha_get_longjmp_target): Add FRAME argument. | |
3303 | Read registers from FRAME instead of using read_register. | |
3304 | Use get_frame_arch instead of current_gdbarch. | |
3305 | * arm-tdep.c (arm_get_longjmp_target): Likewise. | |
3306 | * i386-tdep.c (i386_get_longjmp_target): Likewise. | |
3307 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
3308 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Likewise. | |
3309 | (mips64_linux_get_longjmp_target): Likewise. | |
3310 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Likewise. | |
3311 | ||
52f729a7 UW |
3312 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3313 | ||
3314 | * gdbarch.sh (skip_trampoline_code): Add FRAME argument. | |
3315 | * gdbarch.c, gdbarch.h: Regenerate. | |
3316 | * arch-utils.c (generic_skip_trampoline_code): Add FRAME argument. | |
3317 | * arch-utils.h (generic_skip_trampoline_code): Likewise. | |
3318 | * infrun.c (handle_inferior_event): Pass current frame to | |
3319 | gdbarch_skip_trampoline_code and skip_language_trampoline. | |
3320 | ||
3321 | * language.c (unk_lang_trampoline): Add FRAME argument. | |
3322 | (skip_language_trampoline): Add FRAME argument. Pass it to | |
3323 | skip_trampoline callback. | |
3324 | * language.h: Add forward declaration of struct frame_info. | |
3325 | (struct language_defn): Add FRAME argument to skip_trampoline. | |
3326 | (skip_language_trampoline): Add FRAME argument. | |
3327 | * cp-abi.c (cplus_skip_trampoline): Add FRAME argument. Pass it | |
3328 | to skip_trampoline callback. | |
3329 | * cp-abi.h: Add forward declaration of struct frame_info. | |
3330 | (cplus_skip_trampoline): Add FRAME argument. | |
3331 | (struct cp_abi_ops): Add FRAME argument to skip_trampoline callback. | |
3332 | * gnu-v3-abi.c (gnuv3_skip_trampoline): Add FRAME argument. Pass it | |
3333 | to gdbarch_skip_trampoline_code. | |
3334 | * objc-lang.c (objc_skip_trampoline): Add FRAME argument. Pass it | |
3335 | to gdbarch_skip_trampoline_code. | |
3336 | ||
3337 | * minsyms.c (find_solib_trampoline_target): Add FRAME argument. | |
3338 | * symtab.h (find_solib_trampoline_target): Likewise. | |
3339 | * obsd-tdep.c (obsd_skip_solib_resolver): Pass current frame to | |
3340 | find_solib_trampoline_target. | |
3341 | ||
3342 | * arm-tdep.c (arm_skip_stub): Add FRAME argument. Read registers | |
3343 | from FRAME instead of calling read_register. | |
3344 | ||
3345 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Add FRAME | |
3346 | argument. Read registers from FRAME instead of using read_register. | |
3347 | * hppa-tdep.c (hppa_skip_trampoline_code): Likewise. | |
3348 | * hppa-tdep.h (hppa_skip_trampoline_code): Add FRAME argument. | |
3349 | ||
3350 | * i386-cygwin-tdep.c (i386_cygwin_skip_trampoline_code): Add FRAME | |
3351 | argument. | |
3352 | ||
3353 | * m32c-tdep.c (m32c_skip_trampoline_code): Add FRAME argument. | |
3354 | ||
3355 | * mips-tdep.c (mips_skip_trampoline_code): Add FRAME argument. Read | |
3356 | registers from FRAME instead of using read_signed_register. | |
3357 | ||
3358 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Add FRAME | |
3359 | argument. | |
3360 | (ppc64_standard_linkage_target): Likewise. Read registers from FRAME | |
3361 | instead of using read_register. | |
3362 | (ppc64_skip_trampoline_code): Add FRAME argument. Pass it to | |
3363 | ppc64_standard_linkage_target. | |
3364 | * rs6000-tdep.c (rs6000_skip_trampoline_code): Add FRAME argument. | |
3365 | Pass it to find_solib_trampoline_target. Read registers from FRAME | |
3366 | instead of using read_register. | |
3367 | ||
3368 | * xstormy16-tdep.c (xstormy16_skip_trampoline_code): Add FRAME | |
3369 | argument. | |
3370 | ||
0b1b3e42 UW |
3371 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3372 | ||
3373 | * gdbarch.sh (software_single_step): Replace REGCACHE argument by | |
3374 | FRAME argument. | |
3375 | * gdbarch.c, gdbarch.h: Regenerate. | |
3376 | * infrun.c (resume): Pass current frame to SOFTWARE_SINGLE_STEP. | |
3377 | ||
3378 | * alpha-tdep.c (alpha_next_pc): Add FRAME argument. Retrieve | |
3379 | registers from FRAME instead of using read_register. | |
3380 | (alpha_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
3381 | to alpha_next_pc. Use get_frame_pc instead of read_pc. | |
3382 | * alpha-tdep.h (alpha_software_single_step): Replace REGCACHE | |
3383 | argument by FRAME. | |
3384 | ||
3385 | * arm-tdep.c (shifted_reg_val): Add FRAME argument. Read registers | |
3386 | from FRAME instead of using read_register. | |
3387 | (thumb_get_next_pc): Likewise. | |
3388 | (arm_get_next_pc): Likewise. | |
3389 | (arm_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
3390 | to arm_get_next_pc. Use get_frame_pc instead of read_register. | |
3391 | * arm-tdep.h (arm_software_single_step): Replace REGCACHE | |
3392 | argument by FRAME. | |
3393 | ||
3394 | * cris-tdep.c (find_step_target): Add FRAME argument. Read registers | |
3395 | from FRAME instead of using read_register. | |
3396 | (cris_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
3397 | to find_step_target. | |
3398 | ||
3399 | * mips-tdep.c (mips32_next_pc): Add FRAME argument. Read registers | |
3400 | from FRAME instead of using read_register / read_signed_register. | |
3401 | (extended_mips16_next_pc): Likewise. | |
3402 | (mips16_next_pc): Likewise. | |
3403 | (mips_next_pc): Likewise. | |
3404 | (mips_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
3405 | to mips_next_pc. Use get_frame_pc instead of read_pc. | |
3406 | * mips-tdep.h (mips_software_single_step): Replace REGCACHE | |
3407 | argument by FRAME. | |
3408 | ||
3409 | * rs6000-tdep.c (branch_dest): Add FRAME argument. Use it instead | |
3410 | of current frame. Read registers from FRAME. | |
3411 | (deal_with_atomic_sequence): Add FRAME argument. Pass it to | |
3412 | branch_dest. Use get_frame_pc instead of read_pc. | |
3413 | (rs6000_software_single_step): Likewise. | |
3414 | (bl_to_blrl_insn_p): Do not call branch_dest. | |
3415 | * rs6000-tdep.h (rs6000_software_single_step): Replace REGCACHE | |
3416 | argument by FRAME. | |
3417 | ||
3418 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Add FRAME argument. | |
3419 | Read registers from FRAME instead of current regcache. | |
3420 | * sparc-linux-tdep.c (sparc32_linux_step_trap): Likewise. | |
3421 | * sparcnbsd-tdep.c (sparcnbsd_step_trap): Likewise. | |
3422 | * sparc-tdep.c (sparc_address_from_register): Remove. | |
3423 | (sparc_analyze_control_transfer): Pass FRAME argument instead of | |
3424 | GDBARCH. Pass FRAME to step_trap callback. | |
3425 | (sparc_step_trap): Add FRAME argument. | |
3426 | (space_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
3427 | to sparc_analyze_control_transfer. Read registers from FRAME instead | |
3428 | of calling sparc_address_from_register. | |
3429 | * sparc-tdep.h (struct gdbarch_tdep): Add FRAME argument to | |
3430 | step_trap callback. | |
3431 | (sparc_address_from_register): Remove prototype. | |
3432 | (sparc_software_single_step): Replace REGCACHE argument by FRAME. | |
3433 | (sparcnbsd_step_trap): Add FRAME argument. | |
3434 | ||
3435 | * spu-tdep.c (spu_software_single_step): Replace REGCACHE argument | |
3436 | by FRAME. Read registers from FRAME instead of REGCACHE. | |
3437 | ||
9c9acae0 UW |
3438 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3439 | ||
3440 | * arm-tdep.c (arm_print_float_info): Use register value from FRAME | |
3441 | instead of calling read_register. | |
3442 | ||
3443 | * avr-tdep.c (avr_push_dummy_call): Write to REGCACHE instead of | |
3444 | calling write_register. | |
3445 | ||
3446 | * hppa-tdep.c (hppa32_push_dummy_call): Write to REGCACHE instead of | |
3447 | calling write_register. | |
3448 | ||
3449 | * ia64-tdep.c (find_func_descr): Add REGCACHE parameter. Use it | |
3450 | instead of calling read_register. | |
3451 | (ia64_push_dummy_call): Update call to find_func_descr. Use REGCACHE | |
3452 | instead of calling read_register and write_register. | |
3453 | ||
3454 | * m32r-tdep.c (m32r_linux_supply_gregset): Use REGCACHE parameter | |
3455 | instead of current_regcache. | |
3456 | ||
3457 | * mn10300-tdep.c (mn10300_push_dummy_call): Write to REGCACHE instead | |
3458 | of calling write_register. | |
3459 | * mn10300-linux-tdep.c (am33_supply_fpregset_method): Use REGCACHE | |
3460 | parameter instead of current_regcache. | |
3461 | ||
3462 | * mips-tdep.c (mips2_fp_compat): Add FRAME parameter. Use it | |
3463 | instead of calling read_register. | |
3464 | (mips_read_fp_register_double, mips_print_fp_register): Update calls. | |
3465 | (mips_eabi_push_dummy_call): Use REGCACHE instead of write_register. | |
3466 | (mips_n32n64_push_dummy_call): Likewise. | |
3467 | (mips_o32_push_dummy_call): Likewise. | |
3468 | (mips_o64_push_dummy_call): Likewise. | |
3469 | ||
3470 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use REGCACHE | |
3471 | parameter instead of current_regcache. | |
3472 | ||
3473 | * xtensa-tdep.c (xtensa_register_write_masked): Add REGCACHE parameter. | |
3474 | Use it instead of read_register and write_register. | |
3475 | (xtensa_register_read_masked): Likewise. | |
3476 | (xtensa_pseudo_register_read): Update call. | |
3477 | (xtensa_pseudo_register_write): Likewise. | |
3478 | (xtensa_frame_cache): Use register values unwound from NEXT_FRAME | |
3479 | instead of calling read_register. | |
3480 | (xtensa_push_dummy_call): Update comment. | |
3481 | ||
d2ca4222 UW |
3482 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3483 | ||
3484 | * mips-tdep.c (mips16_scan_prologue): Replace read_next_frame_reg | |
3485 | by frame_unwind_register_signed calls. | |
3486 | (mips32_scan_prologue): Likewise. Skip analysis of alloca stack | |
3487 | frame allocations when called with NULL NEXT_FRAME parameter. | |
3488 | (read_next_frame_reg): Remove. | |
3489 | ||
3490 | * sh-tdep.c (sh_analyze_prologue): Add FPSCR parameter. Use it | |
3491 | instead of reading the FPSCR register. | |
3492 | (sh_frame_cache): Pass unwound FPSCR register value to | |
3493 | sh_analyze_prologue. | |
3494 | (sh_skip_prologue): Pass dummy FPSCR value to sh_analyze_prologue. | |
3495 | ||
3496 | * v850-tdep.c (v850_analyze_prologue): Add CTBP parameter. Use it | |
3497 | instead of reading the CTBP register. | |
3498 | (v850_frame_cache): Pass unwound CTBP register value to | |
3499 | v850_analyze_prologue. | |
3500 | ||
c458d6db UW |
3501 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3502 | ||
3503 | * sh-tdep.h (sh_show_regs): Add FRAME parameter. | |
3504 | * sh-tdep.c (sh_show_regs): Likewise. | |
3505 | (sh_show_regs_command): Pass current frame to sh_show_regs routine. | |
3506 | (sh_generic_show_regs): Add FRAME parameter. Use register | |
3507 | values from that frame instead of calling read_register. | |
3508 | (sh3_show_regs, sh2e_show_regs, sh2a_show_regs, sh2a_nofpu_show_regs, | |
3509 | sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs, | |
3510 | sh_dsp_show_regs): Likewise. | |
3511 | * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs, | |
3512 | sh64_show_regs): Likewise. | |
3513 | ||
a9614958 UW |
3514 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3515 | ||
3516 | * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Read from | |
3517 | current regcache instead of calling read_register. | |
3518 | ||
3d1a74ac UW |
3519 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3520 | ||
3521 | * mep-tdep.c (current_me_module): Read from current regcache | |
3522 | instead of calling read_register. | |
3523 | (current_options): Likewise. | |
3524 | ||
1b5a9a8f UW |
3525 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3526 | ||
3527 | * cris-tdep.c (cris_stopped_data_address): Read register values | |
3528 | from current frame instead of calling read_register. | |
3529 | * frv-tdep.c (frv_stopped_data_address): Likewise. | |
3530 | ||
982db460 UW |
3531 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3532 | ||
3533 | * solib-sunos.c (sunos_solib_create_inferior_hook): Use write_pc | |
3534 | instead of write_register (PC_REGNUM, ...). | |
3535 | ||
b4397864 UW |
3536 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3537 | ||
3538 | * solib-sunos.c (sunos_solib_create_inferior_hook): Add comment | |
3539 | explaining why the PC adjustment code is necessary. | |
3540 | ||
8ed86d01 VP |
3541 | 2007-06-15 Vladimir Prus <vladimir@codesourcery.com> |
3542 | ||
3543 | * m68k-tdep.h (enum m68k_flavour): New. | |
3544 | (struct gdbarch_tdep): New fields | |
3545 | float_return, flavour and fpregs_present. | |
3546 | * m68k-tdep.c (m68k_register_type): Use | |
3547 | fpregs_present and conditionalize floating | |
3548 | registers type on flavour. | |
3549 | (m68k_register_names): New. | |
3550 | (m68k_register_name): Use the above. | |
3551 | (m68k_convert_register_p): Consult fpregs_present. | |
3552 | (m68k_register_to_value, m68k_value_to_register): | |
3553 | Use register_type to obtain the type of floating | |
3554 | point registers. | |
3555 | (m68k_svr4_extract_return_value): Check tdep->float_return. | |
3556 | Use register_type to get the type of floating | |
3557 | point regiters. | |
3558 | (m68k_svr4_store_return_value): Likewise. | |
3559 | (m68k_dwarf_reg_to_regnum): Check tdep->fpregs_present. | |
3560 | (m68k_analyze_register_saves): Likewise. | |
3561 | (m68k_gdbarch_init): Extract infromation | |
3562 | from XML description, if present. Guess coldfire by | |
3563 | looking at the file, if present. Conditionalize | |
3564 | setting of long double format. Set decr_pc_after_break | |
3565 | to 2 on coldfire and fido. Enable XML-driven | |
3566 | register description. | |
3567 | * m68kbsd-tdep.c (m68kbsd_fpreg_offset): Use | |
3568 | size of tdep->fpreg_type, as opposed to hardcoded value. | |
3569 | * Makefile.in (m68k-tdep.o): Update dependencies. | |
3570 | ||
83cc5c53 UW |
3571 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3572 | ||
3573 | * NEWS: Mention "info spu" commands and qXfer:spu:read and | |
3574 | qXfer:spu:write remote packet types. | |
3575 | ||
1780a0ed DJ |
3576 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
3577 | ||
3578 | * xml-tdesc.c (tdesc_start_target): New. | |
3579 | (target_attributes): New. | |
3580 | (tdesc_elements): Use it. | |
3581 | * features/gdb-target.dtd: Add #FIXED version attribute for | |
3582 | <target>. | |
3583 | ||
98a29c7e DJ |
3584 | 2007-06-13 Arthur Huillet <arthur.huillet@free.fr> |
3585 | ||
3586 | * mi/mi-cmd-var.c (mi_cmd_var_assign): Fix typo. | |
3587 | ||
9dcbb931 DJ |
3588 | 2007-06-13 Claudio Fontana <claudio.fontana@gmail.com> |
3589 | ||
3590 | * fork-child.c (fork_inferior): Update comment. | |
3591 | ||
117ce543 DJ |
3592 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
3593 | ||
3594 | * features/Makefile: Generate regformats for mips-linux and | |
3595 | mips64-linux. | |
3596 | * features/sort-regs.xsl: Correct typo. | |
3597 | * regformats/reg-mips.dat, regformats/reg-mips64.dat: Delete. | |
3598 | * regformats/mips-linux.dat, regformats/mips64-linux.dat: New generated | |
3599 | files. | |
3600 | ||
822b6570 DJ |
3601 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
3602 | ||
3603 | * config/mips/linux.mh (TDEP_XML): New. | |
3604 | * features/mips-linux.xml, features/mips64-linux.xml: New files. | |
3605 | * mips-linux-nat.c (mips_linux_register_addr): Handle | |
3606 | MIPS_RESTART_REGNUM. | |
3607 | (mips64_linux_register_addr): Likewise. | |
3608 | (super_xfer_partial, mips_linux_xfer_partial): New. | |
3609 | (_initialize_mips_linux_nat): Add them to the target_ops. | |
3610 | * mips-linux-tdep.c (mips_supply_gregset): Handle MIPS_RESTART_REGNUM. | |
3611 | (mips_fill_gregset, mips64_supply_gregset, mips64_fill_gregset) | |
3612 | (mips_linux_o32_sigframe_init) | |
3613 | (mips_linux_n32n64_sigframe_init): Likewise. | |
3614 | (mips_linux_write_pc, mips_linux_restart_reg_p): New. | |
3615 | (mips_linux_init_abi): Use mips_linux_write_pc. Check for the | |
3616 | "org.gnu.gdb.mips.linux" feature. | |
3617 | * mips-linux-tdep.h (MIPS_RESTART_REGNUM): New constant. | |
3618 | (mips_linux_restart_reg_p): New prototype. | |
3619 | * mips-tdep.c (mips_gdbarch_init): Pass tdesc_data to the OS/ABI | |
3620 | initialization routine. | |
3621 | * Makefile.in (mips-linux-tdep.o, mips-linux-nat.o): Update. | |
3622 | ||
f8b73d13 DJ |
3623 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
3624 | ||
3625 | * Makefile.in (mips-tdep.o): Update. | |
3626 | * mips-tdep.c (struct register_alias, mips_o32_aliases) | |
3627 | (mips_n32_n64_aliases, mips_register_aliases): New. | |
3628 | (mips_register_name): Call tdesc_register_name. | |
3629 | (mips_tdesc_register_reggroup_p): New. | |
3630 | (mips_pseudo_register_type, value_of_mips_user_reg): New. | |
3631 | (mips_gdbarch_init): Add target-described register support. | |
3632 | Register aliases for register names. | |
3633 | * target-descriptions.c (tdesc_register_name): Make global. | |
3634 | (tdesc_register_in_reggroup_p): New function, broken out from | |
3635 | tdesc_register_reggroup_p. | |
3636 | (tdesc_register_reggroup_p): Use it. | |
3637 | * target-descriptions.h (tdesc_register_name) | |
3638 | (tdesc_register_in_reggroup_p): New prototypes. | |
3639 | * NEWS: Correct formatting. Mention MIPS register support. | |
3640 | * features/mips-cp0.xml, features/mips-fpu.xml, | |
3641 | features/mips64-cp0.xml, gdb/features/mips64-fpu.xml, mips-cpu.xml, | |
3642 | features/mips64-cpu.xml: New files. | |
3643 | ||
17a912b6 UW |
3644 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
3645 | ||
3646 | * gdbarch.sh (TARGET_ADDR_BIT): Replace by gdbarch_addr_bit. | |
3647 | * valops.c (value_cast): Likewise. | |
3648 | * utils.c (strlen_paddr, paddr, paddr_nz, paddress): Likewise. | |
3649 | * ui-out.c (ui_out_field_core_addr): Likewise. | |
3650 | * tracepoint.c (tracepoints_info): Likewise. | |
3651 | * symtab.c (print_msymbol_info): Likewise. | |
3652 | * solib-irix.c (irix_current_sos) | |
3653 | (irix_open_symbol_file_object): Likewise. | |
3654 | * remote.c (build_remote_gdbarch_data): Likewise. | |
3655 | * prologue-value.c (make_pv_area): Likewise. | |
3656 | * procfs.c (info_mappings_callback): Likewise. | |
3657 | * printcmd.c (print_scalar_formatted) | |
3658 | (deprecated_print_address_numeric): Likewise. | |
3659 | * memattr.c (mem_info_command): Likewise. | |
3660 | * linux-nat.c (linux_nat_info_proc_cmd): Likewise. | |
3661 | * gdbtypes.c (build_flt, gdbtypes_post_init): Likewise. | |
3662 | * exec.c (print_section_info): Likewise. | |
3663 | * dwarf2read.c (read_subrange_type): Likewise. | |
3664 | * dwarf2loc.c (find_location_expression): Likewise. | |
3665 | * dwarf2expr.c (dwarf2_read_address, unsigned_address_type) | |
3666 | (signed_address_type, execute_stack_op): Likewise. | |
3667 | * breakpoint.c (print_one_breakpoint, breakpoint_1): Likewise. | |
3668 | * gdbarch.c, gdbarch.h: Regenerate. | |
3669 | ||
1143fffb UW |
3670 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
3671 | ||
3672 | * gdbarch.sh (TARGET_ARCHITECTURE): Replace by gdbarch_bfd_arch_info. | |
3673 | * arch-utils.c (show_architecture): Likewise. | |
3674 | * remote-mips.c (mips_open): Likewise | |
3675 | * nto-tdep.c (nto_find_and_open_solib) | |
3676 | (nto_init_solib_absolute_prefix): Likewise. | |
3677 | * nto-procfs (procfs_open): Likewise. | |
3678 | * m68hc11-tdep.c (gdb_print_insn_m68hc11): Likewise. | |
3679 | * gcore.c (default_gcore_mach, default_gcore_arch): Likewise. | |
3680 | * gdbarch.c, gdbarch.h: Regenerate. | |
3681 | ||
4fe99ffb UW |
3682 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
3683 | ||
3684 | * gdbarch.sh (TARGET_BFD_VMA_BIT): Replace by gdbarch_bfd_vma_bit. | |
3685 | * gdbtypes.c (build_flt): Likewise. | |
3686 | * gdbarch.c, gdbarch.h: Regenerate. | |
3687 | ||
3b3b875c UW |
3688 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
3689 | ||
3690 | * gdbarch.sh (BREAKPOINT_FROM_PC): Replace by | |
3691 | gdbarch_breakpoint_from_pc. | |
3692 | * s390-tdep.c (s390_gdbarch_init): Likewise (comment). | |
3693 | * remote.c (remote_insert_breakpoint) | |
3694 | (remote_insert_hw_breakpoint): Likewise. | |
3695 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise. | |
3696 | * mips-tdep.c (mips_breakpoint_from_pc): Likewise (comment). | |
3697 | * breakpoint.h (bp_target_info): Likewise (comment). | |
3698 | * breakpoint.c (read_memory_nobpt): Likewise. | |
3699 | * mem-break.c (default_memory_insert_breakpoint): Likewise. | |
3700 | (symtab.h, breakpoint.h): Remove include. Remove unnecessary comment. | |
3701 | * gdbarch.c, gdbarch.h: Regenerate. | |
3702 | ||
819844ad UW |
3703 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
3704 | ||
3705 | * gdbarch.sh (TARGET_PTR_BIT): Replace with gdbarch_ptr_bit. | |
3706 | * solib-svr4.c (svr4_truncate_ptr): Likewise. | |
3707 | * solib-pa64.c (read_dynamic_info): Likewise. | |
3708 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise. | |
3709 | * solib.c (info_sharedlibrary_command): Likewise. | |
3710 | * s390-nat.c (SUBOFF): Likewise. | |
3711 | * p-valprint.c (pascal_val_print): Likewise. | |
3712 | * procfs.c (info_proc_mappings): Likewise. | |
3713 | * printcmd.c (decode_format): Likewise. | |
3714 | * nto-tdep.c (nto_truncate_ptr): Likewise. | |
3715 | * mips-linux-tdep.c (mips_linux_get_longjmp_target) | |
3716 | (mips64_linux_get_longjmp_target): Likewise. | |
3717 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
3718 | * jv-valprint.c (java_value_print): Likewise. | |
3719 | * jv-lang.c (get_java_object_header_size): Likewise. | |
3720 | * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Likewise. | |
3721 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) | |
3722 | (hppa_hpux_unwind_adjust_stub): Likewise. | |
3723 | * gnu-v3-abi.c (build_gdb_vtable_type): Likewise. | |
3724 | * gdbtypes.c (make_pointer_type, make_reference_type) | |
3725 | (smash_to_memberptr_type): Likewise. | |
3726 | * gdbarch.c, gdbarch.h: Regenerate. | |
3727 | ||
0cc93a06 DJ |
3728 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
3729 | ||
3730 | * mips-tdep.c (mips_print_register): Remove unused ALL argument. | |
3731 | (print_gp_register_row): Stop before printing a register bigger | |
3732 | than the ABI register size. | |
3733 | (mips_print_registers_info): Update call to mips_print_register. | |
3734 | ||
67f3407f DJ |
3735 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
3736 | ||
3737 | * expression.h (enum exp_opcode): Document a register name for | |
3738 | OP_REGISTER. | |
3739 | * parse.c (write_dollar_variable): Write the register name for | |
3740 | OP_REGISTER. | |
3741 | (operator_length_standard): Expect the register name following | |
3742 | OP_REGISTER. | |
3743 | * ada-lang.c (resolve_subexp): Likewise. | |
3744 | * ax-gdb.c (gen_expr): Likewise. | |
3745 | * eval.c (evaluate_subexp_standard): Likewise. | |
3746 | * expprint.c (print_subexp_standard, dump_subexp_body_standard): | |
3747 | Likewise. | |
3748 | * tracepoint.c (encode_actions): Likewise. | |
3749 | ||
0caa462c DJ |
3750 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
3751 | ||
3752 | * utils.c (set_screen_size): Use INT_MAX for default columns. | |
3753 | ||
4de6483e UW |
3754 | 2007-06-13 Ulrich Weigand <uweigand@de.ibm.com> |
3755 | ||
3756 | * remote.c (remote_protocol_features): Add qXfer:spu:read and | |
3757 | qXfer:spu:write packet types. | |
3758 | ||
cafad45b UW |
3759 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
3760 | ||
3761 | * gdbarch.sh (DEPRECATED_STACK_ALIGN): Remove. | |
3762 | * gdbarch.c, gdbarch.h: Regenerate. | |
3763 | ||
055d23b8 UW |
3764 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
3765 | ||
3766 | * gdbarch.sh (STAB_REG_TO_REGNUM): Replace by | |
3767 | gdbarch_stab_reg_to_regnum. | |
3768 | * stabsread.c (define_symbol): Likewise. | |
3769 | * gdbarch.sh (ECOFF_REG_TO_REGNUM): Replace by | |
3770 | gdbarch_ecoff_reg_to_regnum. | |
3771 | * mdebugread.c (parse_symbol): Likewise. | |
3772 | * i386-tdep.c (i386_gdbarch_init): Likewise (comment). | |
3773 | * gdbarch.sh (DWARF_REG_TO_REGNUM): Replace by | |
3774 | gdbarch_dwarf_reg_to_regnum. | |
3775 | * gdbarch.sh (SDB_REG_TO_REGNUM): Replace by gdbarch_sdb_reg_to_regnum. | |
3776 | * coffread.c (process_coff_symbol): Likewise. | |
3777 | * gdbarch.sh (DWARF2_REG_TO_REGNUM): Replace by | |
3778 | gdbarch_dwarf2_reg_to_regnum. | |
3779 | * dwarf2loc.c (dwarf_expr_read_reg,dwarf2_evaluate_loc_desc) | |
3780 | (locexpr_describe_location): Likewise. | |
3781 | * dwarf2-frame.c (read_reg,execute_cfa_program,dwarf2_frame_cache) | |
3782 | (dwarf2_frame_prev_register,dwarf2_signal_frame_this_id): Likewise. | |
3783 | * dwarf2loc.c (DWARF2_REG_TO_REGNUM): Remove macro. | |
3784 | * dwarf2read.c (DWARF2_REG_TO_REGNUM): Remove macro. | |
3785 | * gdbarch.c, gdbarch.h: Regenerate. | |
3786 | ||
260edbc2 UW |
3787 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
3788 | ||
3789 | * gdbarch.sh (SMASH_TEXT_ADDRESS): Replace by | |
3790 | gdbarch_smash_text_address. | |
3791 | * somread.c (som_symtab_read): Likewise. | |
3792 | * elfread.c (record_minimal_symbol): Likewise. | |
3793 | * dbxread.c (process_one_symbol): Likewise. | |
3794 | * coffread.c (coff_symtab_read): Likewise. | |
3795 | * gdbarch.c, gdbarch.h: Regenerate. | |
3796 | ||
c1afe53d UW |
3797 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
3798 | ||
3799 | * gdbarch.sh (REGISTER_TO_VALUE): Replace by gdbarch_register_to_value. | |
3800 | * findvar.c (value_from_register): Likewise. | |
3801 | * gdbarch.sh (VALUE_TO_REGISTER): Replace by gdbarch_value_to_register. | |
3802 | * valops.c (value_assign): Likewise. | |
3803 | * gdbarch.sh (CONVERT_REGISTER_P): Replace by | |
3804 | gdbarch_convert_register_p. | |
3805 | * findvar.c (value_from_register): Likewise. | |
3806 | * valops.c (value_assign): Likewise. | |
3807 | * gdbarch.c, gdbarch.h: Regenerate. | |
3808 | ||
474c1661 UW |
3809 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
3810 | ||
3811 | * gdbarch.sh (REGISTER_SIM_REGNO): Replace by | |
3812 | gdbarch_register_sim_regno. | |
3813 | * sim-regno.h (sim_regno): Likewise (comment). | |
3814 | * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise. | |
3815 | * gdbarch.c, gdbarch.h: Regenerate. | |
3816 | ||
c7bb205c UW |
3817 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
3818 | ||
3819 | * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Replace by | |
3820 | gdbarch_virtual_frame_pointer. | |
3821 | * tracepoint.c (encode_actions): Likewise. | |
3822 | * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Likewise. | |
3823 | * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address): Likewise. | |
3824 | * gdbarch.c, gdbarch.h: Regenerate. | |
3825 | ||
ea06eb3d UW |
3826 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
3827 | ||
3828 | * gdbarch.sh (TARGET_FLOAT_BIT): Replace by gdbarch_float_bit. | |
3829 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
3830 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
3831 | * mdebugread.c (_initialize_mdebugread): Likewise. | |
3832 | * m2-lang.c (m2_create_fundamental_type) | |
3833 | (_initialize_m2_language): Likewise. | |
3834 | * gdbtypes.c (build_gdbtypes): Likewise. | |
3835 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
3836 | * doublest.c (floatformat_from_length): Likewise. | |
3837 | * c-lang.c (c_create_fundamental_type): Likewise. | |
3838 | * ada-lang.c (ada_create_fundamental_type) | |
3839 | (ada_language_arch_info): Likewise. | |
3840 | * gdbarch.sh (TARGET_FLOAT_FORMAT): Replace by gdbarch_float_format. | |
3841 | * value.c (unpack_double): Likewise (comment). | |
3842 | * gdbtypes.c (build_gdbtypes): Likewise. | |
3843 | * doublest.c (floatformat_from_length): Likewise. | |
3844 | * gdbarch.sh (TARGET_DOUBLE_BIT): Replace by gdbarch_double_bit. | |
3845 | * valarith.c (value_binop): Likewise. | |
3846 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
3847 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
3848 | * mdebugread.c (_initialize_mdebugread): Likewise. | |
3849 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
3850 | * gdbtypes.c (build_gdbtypes): Likewise. | |
3851 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
3852 | * doublest.c (floatformat_from_length): Likewise. | |
3853 | * cris-tdep.c (cris_gdbarch_init): Likewise (comment). | |
3854 | * c-lang.c (c_create_fundamental_type): Likewise. | |
3855 | * ada-lex.l (processReal): Likewise. | |
3856 | * ada-lang.c (ada_create_fundamental_type) | |
3857 | (ada_language_arch_info): Likewise. | |
3858 | * gdbarch.sh (TARGET_DOUBLE_FORMAT): Replace by gdbarch_double_format. | |
3859 | * value.c (unpack_double): Likewise (comment). | |
3860 | * gdbtypes.c (build_gdbtypes): Likewise. | |
3861 | * doublest.c (floatformat_from_length): Likewise. | |
3862 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Replace by | |
3863 | gdbarch_long_double_bit. | |
3864 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
3865 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
3866 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
3867 | * gdbtypes.c (build_gdbtypes): Likewise. | |
3868 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
3869 | * doublest.c (floatformat_from_length): Likewise. | |
3870 | * c-lang.c (c_create_fundamental_type): Likewise. | |
3871 | * ada-lex.l (processReal): Likewise. | |
3872 | * ada-lang.c (ada_create_fundamental_type) | |
3873 | (ada_language_arch_info): Likewise. | |
3874 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Replace by | |
3875 | gdbarch_long_double_format. | |
3876 | * gdbtypes.c (build_gdbtypes): Likewise. | |
3877 | * doublest.c (floatformat_from_length): Likewise. | |
3878 | * gdbarch.c, gdbarch.h: Regenerate. | |
3879 | ||
9a76efb6 UW |
3880 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
3881 | ||
3882 | * gdbarch.sh (TARGET_SHORT_BIT): Replace by gdbarch_int_bit. | |
3883 | * ada-lang.c (ada_create_fundamental_type) | |
3884 | (ada_language_arch_info): Likewise. | |
3885 | * c-lang.c (c_create_fundamental_type): Likewise. | |
3886 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
3887 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
3888 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
3889 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
3890 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
3891 | * gdbarch.sh (TARGET_INT_BIT): Replace by gdbarch_int_bit. | |
3892 | * c-exp.y (parse_number): Likewise. | |
3893 | * objc-exp.y (parse_number): Likewise. | |
3894 | * ada-lex.l (processInt): Likewise. | |
3895 | * f-exp.y (parse_number): Likewise. | |
3896 | * p-exp.y (parse_number): Likewise. | |
3897 | * ada-lang.c (ada_create_fundamental_type, ada_language_arch_info) | |
3898 | (gdbtypes_post_init, build_gdbtypes): Likewise. | |
3899 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
3900 | * parse.c (build_parse): Likewise. | |
3901 | * xcoffread.c (_initialize_xcoffread): Likewise. | |
3902 | * stabsread.c (define_symbol, read_one_struct_field, read_enum_type) | |
3903 | (read_range_type): Likewise. | |
3904 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
3905 | * f-lang.c (build_fortran_types, f_create_fundamental_type): Likewise. | |
3906 | * m2-lang.c (m2_create_fundamental_type, _initialize_m2_language) | |
3907 | (m2_create_fundamental_type): Likewise. | |
3908 | * c-lang.c (c_create_fundamental_type): Likewise. | |
3909 | * coffread.c (coff_read_enum_type): Likewise. | |
3910 | * mdebugread.c (parse_symbol, _initialize_mdebugread): Likewise. | |
3911 | * dwarf2read.c (new_symbol): Likewise. | |
3912 | * gdbarch.sh (TARGET_LONG_BIT): Replace by gdbarch_long_bit. | |
3913 | * c-exp.y (parse_number): Likewise. | |
3914 | * objc-exp.y (parse_number): Likewise. | |
3915 | * ada-lex.l (processInt): Likewise. | |
3916 | * f-exp.y (parse_number): Likewise. | |
3917 | * p-exp.y (parse_number): Likewise. | |
3918 | * valarith.c (value_binop): Likewise. | |
3919 | * symfile.c (read_target_long_array, simple_overlay_update_1): Likewise. | |
3920 | * ada-lang.c (ada_create_fundamental_type) | |
3921 | (ada_language_arch_info): Likewise. | |
3922 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
3923 | * symfile.c (TARGET_LONG_BYTES): Likewise. | |
3924 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
3925 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
3926 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
3927 | * f-lang.c (f_create_fundamental_type): Likewise. | |
3928 | * c-lang.c (c_create_fundamental_type): Likewise. | |
3929 | * coffread.c (decode_base_type): Likewise. | |
3930 | * gdbarch.sh (TARGET_LONG_LONG_BIT): Replace by gdbarch_long_long_bit. | |
3931 | * c-exp.y (parse_number): Likewise. | |
3932 | * objc-exp.y (parse_number): Likewise. | |
3933 | * p-exp.y (parse_number): Likewise. | |
3934 | * ada-lang.c (ada_create_fundamental_type) | |
3935 | (ada_language_arch_info): Likewise. | |
3936 | * gdbtypes.c (gdbtypes_post_init, build_gdbtypes): Likewise. | |
3937 | * stabsread.c (read_range_type): Likewise. | |
3938 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
3939 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
3940 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
3941 | * f-lang.c (f_create_fundamental_type): Likewise. | |
3942 | * c-lang.c (c_create_fundamental_type): Likewise. | |
3943 | * gdbarch.c, gdbarch.h: Regenerate. | |
3944 | ||
272dfcfd AS |
3945 | 2007-06-12 Andreas Schwab <schwab@suse.de> |
3946 | ||
3947 | * frame-unwind.h (frame_dealloc_cache_ftype): Define. | |
3948 | (struct frame_unwind): Add dealloc_cache. | |
3949 | * frame.c (reinit_frame_cache): Call dealloc_cache on all caches. | |
3950 | ||
3951 | * libunwind-frame.h (libunwind_frame_dealloc_cache): Declare. | |
3952 | * libunwind-frame.c (libunwind_frame_dealloc_cache): Define. | |
3953 | (libunwind_frame_unwind): Set dealloc_cache. | |
3954 | * ia64-tdep.c (ia64_libunwind_frame_unwind): Set dealloc_cache. | |
3955 | ||
0e7f50da UW |
3956 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
3957 | Markus Deuling <deuling@de.ibm.com> | |
3958 | ||
3959 | * remote.c (remote_write_qxfer): New function. | |
3960 | (remote_xfer_partial): Add handling for TARGET_OBJECT_SPU. | |
3961 | (remote_read_qxfer): Do not cache empty objects. | |
3962 | (_initialize_remote): Add PACKET_qXfer_spu_read and | |
3963 | PACKET_qXfer_spu_write. | |
3964 | ||
23d964e7 UW |
3965 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
3966 | ||
3967 | * target.h (enum target_object): Add TARGET_OBJECT_SPU. | |
3968 | * spu-linux-nat.c (spu_xfer_partial): Handle TARGET_OBJECT_SPU. | |
3969 | ||
3970 | * spu-tdep.h (SPU_NUM_PSEUDO_REGS): Add 5 pseudo registers. | |
3971 | (enum spu_regnum): Add SPU_FPSCR_REGNUM, SPU_SRR0_REGNUM, | |
3972 | SPU_LSLR_REGNUM, SPU_DECR_REGNUM, SPU_DECR_STATUS_REGNUM. | |
3973 | * spu-tdep.c (infospucmdlist): New variable. | |
3974 | (spu_register_name): Handle additional pseudo registers. | |
3975 | (spu_register_type): Likewise. | |
3976 | (spu_pseudo_register_read): Likewise. | |
3977 | (spu_pseudo_register_write): Likewise. | |
3978 | (spu_pseudo_register_read_spu): New function. | |
3979 | (spu_pseudo_register_write_spu): Likewise. | |
3980 | (info_spu_event_command): New function. | |
3981 | (info_spu_signal_command): Likewise. | |
3982 | (info_spu_mailbox_list): Likewise. | |
3983 | (info_spu_mailbox_command): Likewise. | |
3984 | (spu_mfc_get_bitfield): Likewise. | |
3985 | (info_spu_dma_cmdlist): Likewise. | |
3986 | (info_spu_dma_command): Likewise. | |
3987 | (info_spu_proxydma_command): Likewise. | |
3988 | (info_spu_command): Likewise. | |
3989 | (_initialize_spu_tdep): Install "info spu" commands. | |
3990 | ||
374c1d38 UW |
3991 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
3992 | ||
3993 | * spu-linux-nat.c (spu_proc_xfer_spu): Do not return failure when | |
3994 | accessing non-seekable spufs files. | |
3995 | ||
e76f05fa UW |
3996 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
3997 | ||
3998 | * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Replace by | |
3999 | gdbarch_skip_trampoline_code. | |
4000 | * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment). | |
4001 | * objc-lang.c (objc_skip_trampoline) | |
4002 | (objc_submethod_helper_data): Likewise. | |
4003 | * m32c-lang.c (m32c_skip_trampoline_code): Likewise (comment). | |
4004 | * infrun.c (handle_inferior_event): Likewise. | |
4005 | * gnu-v3-abi.c (gnuv3_skip_trampoline): Likewise. | |
4006 | * gdbarch.sh (IN_SOLIB_RETURN_TRAMPOLINE): Replace by | |
4007 | gdbarch_in_solib_return_trampoline. | |
4008 | * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment). | |
4009 | * infrun.c (handle_inferior_event): Likewise. | |
4010 | * hppa-tdep.c (hppa_stub_unwind_sniffer): Likewise. | |
4011 | * gdbarch.c, gdbarch.h: Regenerate. | |
4012 | ||
a433963d UW |
4013 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4014 | ||
4015 | * gdbarch.sh (SKIP_PROLOGUE): Replace by gdbarch_skip_prologue. | |
4016 | * symtab.c (find_function_start_sal, in_prologue): Likewise. | |
4017 | * linespec.c (minsym_found): Likewise. | |
4018 | * infrun.c (step_into_function): Likewise. | |
4019 | * gdbarch.c, gdbarch.h: Regenerate. | |
4020 | ||
aea8766f UW |
4021 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4022 | ||
4023 | * gdbarch.sh (NAME_OF_MALLOC): Replace by gdbarch_name_of_malloc. | |
4024 | * valops.c (value_allocate_space_in_inferior): Likewise. | |
4025 | * gdbarch.c, gdbarch.h: Regenerate. | |
4026 | ||
8da95a30 UW |
4027 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4028 | ||
4029 | * gdbarch.sh (MEMORY_INSERT_BREAKPOINT): Replace by | |
4030 | gdbarch_memory_insert_breakpoint. | |
4031 | * mem-break.c (memory_insert_breakpoint): Likewise. | |
4032 | * gdbarch.sh (MEMORY_REMOVE_BREAKPOINT): Replace by | |
4033 | gdbarch_memory_remove_breakpoint. | |
4034 | * mem-break.c (memory_remove_breakpoint): Likewise. | |
4035 | * gdbarch.c, gdbarch.h: Regenerate. | |
4036 | ||
985969a9 UW |
4037 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4038 | ||
4039 | * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS): Replace by | |
4040 | gdbarch_fetch_tls_load_module_address. | |
4041 | * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS_P): Replace by | |
4042 | gdbarch_fetch_tls_load_module_address_p. | |
4043 | * gdbarch.c, gdbarch.h: Regenerate. | |
4044 | ||
b798847d UW |
4045 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4046 | ||
4047 | * gdbarch.sh (DECR_PC_AFTER_BREAK): Replace by | |
4048 | gdbarch_decr_pc_after_break. | |
4049 | * tracepoint.c (trace_dump_command): Likewise. | |
4050 | * solib-sunos.c (sunos_solib_create_inferior_hook): Likewise. | |
4051 | * linux-thread-db.c (check_event): Likewise. | |
4052 | * linux-nat.c (cancel_breakpoints_callback): Likewise. | |
4053 | * infrun.c (adjust_pc_after_break, normal_stop): Likewise. | |
4054 | * frame.h: Likewise (comment). | |
4055 | * dummy-frame.c (deprecated_pc_in_call_dummy): Likewise. | |
4056 | * aix-thread.c (aix_thread_wait): Likewise. | |
4057 | * gdbarch.c, gdbarch.h: Regenerate. | |
4058 | ||
849957d9 UW |
4059 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4060 | ||
4061 | * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS): Replace by | |
4062 | gdbarch_address_class_type_flags. | |
4063 | * dwarf2read.c (read_tag_pointer_type): Likewise. | |
4064 | * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_P): Replace by | |
4065 | gdbarch_address_class_type_flags_p. | |
4066 | * dwarf2read.c (read_tag_pointer_type): Likewise. | |
4067 | * gdbarch.c, gdbarch.h: Regenerate. | |
4068 | ||
bf6ae464 UW |
4069 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4070 | ||
4071 | * gdbarch.sh (ADDR_BITS_REMOVE): Replace by gdbarch_addr_bits_remove. | |
4072 | * value.c (value_as_address): Likewise (comment). | |
4073 | * remote-mips.c (common_breakpoint): Likewise. | |
4074 | * regcache.c (read_pc_pid): Likewise. | |
4075 | * printcmd.c (do_one_display): Likewise. | |
4076 | * monitor.c (monitor_write_memory, monitor_read_memory) | |
4077 | (monitor_insert_breakpoint): Likewise. | |
4078 | * mips-tdep.c (heuristic_proc_start): Likewise. | |
4079 | * infrun.c (insert_step_resume_breakpoint_at_frame) | |
4080 | (insert_step_resume_breakpoint_at_caller): Likewise. | |
4081 | * buildsym.c (record_line): Likewise. | |
4082 | * arm-tdep.c (arm_scan_prologue, thumb_get_next_pc) | |
4083 | (arm_get_next_pc): Likewise. | |
4084 | * armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register) | |
4085 | (store_regs): Likewise. | |
4086 | * arm-linux-tdep.c (arm_linux_supply_gregset): Likewise. | |
4087 | * arm-linux-nat.c (fetch_register, fetch_regs): Likewise. | |
4088 | * gdbarch.c, gdbarch.h: Regenerate. | |
4089 | ||
c9f4d572 UW |
4090 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4091 | ||
4092 | * gdbarch.sh (REGISTER_NAME): Replace by gdbarch_register_name. | |
4093 | * tracepoint.c (scope_info): Likewise. | |
4094 | * target.c (debug_print_register): Likewise. | |
4095 | * stack.c (frame_info): Likewise. | |
4096 | * sh-tdep.c (sh_register_reggroup_p): Likewise. | |
4097 | * sh64-tdep.c (sh64_do_fp_register, sh64_do_register) | |
4098 | (sh64_media_print_registers_info) | |
4099 | (sh64_compact_print_registers_info): Likewise. | |
4100 | * rs6000-tdep.c (rs6000_register_reggroup_p): Likewise. | |
4101 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
4102 | * remote.c (packet_reg): Likewise (comment). | |
4103 | * reggroups.c (default_register_reggroup_p): Likewise. | |
4104 | * regcache.c (regcache_dump): Likewise. | |
4105 | * printcmd.c (address_info): Likewise. | |
4106 | * ppc-linux-nat.c (fetch_register, store_register): Likewise. | |
4107 | * mt-dep.c (mt_registers_info): Likewise. | |
4108 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Likewise (comment). | |
4109 | * mips-tdep.c (mips_register_reggroup_p, mips_read_fp_register_single) | |
4110 | (mips_read_fp_register_double, mips_print_fp_register) | |
4111 | (mips_print_register, print_gp_register_row, mips_print_registers_info) | |
4112 | (mips_register_sim_regno): Likewise. | |
4113 | * m68klinux-nat.c (regmap, fetch_register, store_register): Likewise. | |
4114 | * inf-ptrace.c (inf_ptrace_fetch_register) | |
4115 | (inf_ptrace_store_register): Likewise. | |
4116 | * infcmd.c (default_print_registers_info): Likewise. | |
4117 | * ia64-linux-nat.c (ia64_linux_fetch_register) | |
4118 | (ia64_linux_store_register): Likewise. | |
4119 | * i386-linux-nat.c (fetch_register, store_register): Likewise. | |
4120 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise. | |
4121 | * hppa-linux-nat.c (fetch_register, store_register): Likewise. | |
4122 | * hppa-hpux-nat.c (hppa_hpux_fetch_register) | |
4123 | (hppa_hpux_store_register): Likewise. | |
4124 | * findvar.c (locate_var_value): Likewise. | |
4125 | * dwarf2loc.c (locexpr_describe_location): Likewise. | |
4126 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
4127 | * arm-tdep.c (arm_push_dummy_call): Likewise. | |
4128 | * arch-utils.c (legacy_register_sim_regno): Likewise. | |
4129 | * alpha-tdep.c (alpha_register_reggroup_p): Likewise. | |
4130 | * alpha-nat.c (fetch_osf_core_registers): Likewise. | |
4131 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
4132 | (mi_cmd_data_list_changed_registers, mi_cmd_data_list_register_values) | |
4133 | (mi_cmd_data_write_register_values): Likewise. | |
4134 | * gdbarch.c, gdbarch.h: Regenerate. | |
4135 | ||
1fc01e03 DJ |
4136 | 2007-06-07 Daniel Jacobowitz <dan@codesourcery.com> |
4137 | ||
4138 | * target-memory.c (blocks_to_erase): Correct off-by-one error. | |
4139 | ||
632110b1 VP |
4140 | 2007-06-06 Vladimir Prus <vladimir@codesourcery.com> |
4141 | ||
4142 | * remote.c (process_g_packet): Don't check size. | |
4143 | * gdbarch.sh: Remove register_bytes_ok. | |
4144 | * gdbarch.c: Regenerated. | |
4145 | * gdbarch.h: Regenerated. | |
4146 | * m68k-tdep.c (REGISTER_BYTES_NOFP): Remove. | |
4147 | (m68k_register_bytes_ok): Remove. | |
4148 | (m68k_gdbarch_init): Don't register m68k_register_bytes_ok. | |
4149 | ||
f43ae3f1 AS |
4150 | 2007-06-06 Andreas Schwab <schwab@suse.de> |
4151 | ||
4152 | * libunwind-frame.c (unw_destroy_addr_space_p): Define. | |
4153 | (destroy_addr_space_name): Define. | |
4154 | (libunwind_load): Get address of destroy_addr_space function. | |
4155 | (libunwind_frame_cache): Destroy unw_addr_space_t object before | |
4156 | returning unsuccessfully. | |
4157 | (libunwind_frame_sniffer): Destroy unw_addr_space_t object before | |
4158 | returning. | |
4159 | (libunwind_sigtramp_frame_sniffer): Likewise. | |
4160 | (libunwind_get_reg_special): Likewise. | |
4161 | ||
d99344c0 UW |
4162 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4163 | ||
4164 | * gdbarch.sh (FETCH_POINTER_ARGUMENT): Replace by | |
4165 | gdbarch_fetch_pointer_argument. | |
4166 | * objc-lang.c (OBJC_FETCH_POINTER_ARGUMENT): Likewise. | |
4167 | * gdbarch.c, gdbarch.h: Regenerate. | |
4168 | ||
e6cf7916 UW |
4169 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4170 | ||
4171 | * gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Replace by | |
4172 | gdbarch_have_nonsteppable_watchpoint. | |
4173 | * infrun.c (handle_inferior_event, adjust_pc_after_break): Likewise. | |
4174 | * gdbarch.sh (CANNOT_STEP_BREAKPOINT): Replace by | |
4175 | gdbarch_cannot_step_breakpoint. | |
4176 | * infrun.c (resume): Likewise. | |
4177 | * gdbarch.c, gdbarch.h: Regenerate. | |
4178 | ||
bbcf301a UW |
4179 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4180 | ||
4181 | * gdbarch.sh (FRAME_ARGS_SKIP): Replace by gdbarch_frame_args_skip. | |
4182 | * stack.c (print_frame_args): Likewise. | |
4183 | * gdbarch.sh (FRAME_NUM_ARGS): Replace by gdbarch_frame_num_args. | |
4184 | * stack.c (print_args_stub, frame_info): Likewise. | |
4185 | * gdbarch.sh (FRAME_NUM_ARGS_P): Replace by gdbarch_frame_num_args_p. | |
4186 | * stack.c (print_args_stub, frame_info): Likewise. | |
4187 | * gdbarch.c, gdbarch.h: Regenerate. | |
4188 | ||
95f1da47 UW |
4189 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4190 | ||
4191 | * gdbarch.sh (COFF_MAKE_MSYMBOL_SPECIAL): Replace by | |
4192 | gdbarch_coff_make_msymbol_special. | |
4193 | * coffread.c (coff_symtab_read): Likewise. | |
4194 | * gdbarch.sh (ELF_MAKE_MSYMBOL_SPECIAL): Replace by | |
4195 | gdbarch_elf_make_msymbol_special. | |
4196 | * elfread.c (elf_symtab_read): Likewise. | |
4197 | * mips-tdep.c (mips_elf_make_msymbol_special): Likewise (comment). | |
4198 | * sh64-tdep.c (MSYMBOL_IS_SPECIAL): Likewise (comment). | |
4199 | * gdbarch.c, gdbarch.h: Regenerate. | |
4200 | ||
39e8369e UW |
4201 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4202 | ||
4203 | * gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by | |
4204 | gdbarch_frame_red_zone_size. | |
4205 | * gdbarch.c, gdbarch.h: Regenerate. | |
4206 | ||
4d1e7dd1 UW |
4207 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4208 | ||
4209 | * gdbarch.sh (INNER_THAN): Replace by gdbarch_inner_than. | |
4210 | * infcall.c (call_function_by_hand): Likewise. | |
4211 | * gcore.c (derive_stack_segment): Likewise. | |
4212 | * frame.c (frame_id_inner): Likewise. | |
4213 | * arch-utils.c (core_addr_lessthan): Likewise (comment). | |
4214 | * ada-lang.c (ensure_lval): Likewise. | |
4215 | * gdbarch.c, gdbarch.h: Regenerate. | |
4216 | ||
76e71323 UW |
4217 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4218 | ||
4219 | * gdbarch.sh (ADDRESS_TO_POINTER): Replace by | |
4220 | gdbarch_address_to_pointer. | |
4221 | * findvar.c (store_typed_address): Likewise. | |
4222 | * gdbtypes.c (make_pointer_type): Likewise (comment). | |
4223 | * procfs.c (procfs_address_to_host_pointer): Likewise. | |
4224 | * std-regs.c (value_of_builtin_frame_reg): Likewise. | |
4225 | (value_of_builtin_frame_fp_reg): Likewise. | |
4226 | (value_of_builtin_frame_pc_reg): Likewise. | |
4227 | * utils.c (paddress): Likewise (comment). | |
4228 | * gdbarch.sh (POINTER_TO_ADDRESS): Replace by | |
4229 | gdbarch_pointer_to_address. | |
4230 | * findvar.c (extract_typed_address): Likewise. | |
4231 | * gdbtypes.c (make_pointer_type): Likewise (comment). | |
4232 | * valops.c (value_cast): Likewise (comment). | |
4233 | * gdbarch.c, gdbarch.h: Regenerate. | |
4234 | ||
91104499 UW |
4235 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4236 | ||
4237 | * gdbarch.sh (GET_LONGJMP_TARGET): Replace by gdbarch_get_longjmp_target. | |
4238 | * infrun.c (handle_inferior_event): Likewise. | |
4239 | * gdbarch.sh (GET_LONGJMP_TARGET_P): Replace by | |
4240 | gdbarch_get_longjmp_target_p. | |
4241 | * breakpoint.c (breakpoint_re_set): Likewise. | |
4242 | * infrun.c (handle_inferior_event): Likewise. | |
4243 | * gdbarch.c, gdbarch.h: Regenerate. | |
4244 | ||
d3e9c991 UW |
4245 | 2007-06-06 Ulrich Weigand <uweigand@de.ibm.com> |
4246 | ||
4247 | * hppa-hpux-tdep.c (args_for_find_stub, HP_ACC_EH_notify_hook, | |
4248 | HP_ACC_EH_set_hook_value, HP_ACC_EH_notify_callback, HP_ACC_EH_break, | |
4249 | HP_ACC_EH_catch_throw, HP_ACC_EH_catch_catch, __eh_notification, | |
4250 | hp_cxx_exception_support, hp_cxx_exception_support_initialized, | |
4251 | eh_notify_hook_addr, eh_notify_callback_addr, eh_break_addr, | |
4252 | eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior, | |
4253 | find_stub_with_shl_get, cover_find_stub_with_shl_get, | |
4254 | initialize_hp_cxx_exception_support, child_enable_exception_callback, | |
4255 | current_ex_event, child_get_current_exception_event): Remove. | |
4256 | (hppa_hpux_inferior_created): Remove. | |
4257 | (hppa_hpux_init_abi): Do not install hppa_hpux_inferior_created. | |
4258 | ||
4259 | * breakpoint.h (deprecated_exception_catchpoints_are_fragile): Remove. | |
4260 | (deprecated_exception_support_initialized): Remove. | |
4261 | * breakpoint.c (deprecated_exception_catchpoints_are_fragile): Remove. | |
4262 | (deprecated_exception_support_initialized): Remove. | |
4263 | (breakpoint_init_inferior): Remove handling of non-zero | |
4264 | deprecated_exception_catchpoints_are_fragile. | |
4265 | ||
4266 | * symtab.h (deprecated_hp_som_som_object_present): Remove. | |
4267 | * symtab.c (deprecated_hp_som_som_object_present): Remove. | |
4268 | * c-typeprint.c (c_type_print_base): Remove handling of non-zero | |
4269 | deprecated_hp_som_som_object_present. | |
4270 | * eval.c (evaluate_subexp_standard): Likewise. | |
4271 | * valops.c (value_cast): Likewise. | |
4272 | ||
4273 | * parse.c (parse_nested_classes_for_hpacc, coloncolon): Remove. | |
4274 | * parser-defs.h (parse_nested_classes_for_hpacc): Remove. | |
4275 | * c-exp.y (yylex): Do not call parse_nested_classes_for_hpacc. | |
4276 | ||
5e787d22 UW |
4277 | 2007-06-06 Ulrich Weigand <uweigand@de.ibm.com> |
4278 | ||
4279 | * objfiles.h (ImportEntry, ExportEntry): Remove types. | |
4280 | (struct objfile): Remove import_list, import_list_size, | |
4281 | export_list, export_list_size members. | |
4282 | (is_in_import_list): Remove prototype. | |
4283 | * objfiles.c (is_in_import_list): Remove. | |
4284 | * somread.c (init_import_symbols, init_export_symbols): Remove. | |
4285 | (som_symfile_read): Do not call init_import_symbols. Do not | |
4286 | set objfile->export_list and objfile->export_list_size. | |
4287 | ||
93e7bd98 DJ |
4288 | 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com> |
4289 | ||
4290 | * dwarf2read.c (dwarf2_symbol_mark_computed): Fix formatting. | |
4291 | Use the original objfile if necessary. | |
4292 | ||
e1024ff1 DJ |
4293 | 2007-06-04 Daniel Jacobowitz <dan@codesourcery.com> |
4294 | ||
4295 | * defs.h (ldirname): New prototype. | |
4296 | * dwarf2read.c (read_file_scope): Use DW_AT_name if DW_AT_comp_dir is | |
4297 | missing. | |
4298 | * utils.c (ldirname): New function. | |
4299 | * xml-tdesc.c (file_read_description_xml): Use ldirname. | |
4300 | ||
ee82e879 UW |
4301 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
4302 | ||
4303 | * spu-tdep.c (spu_push_dummy_call): Store stack back chain. | |
4304 | ||
513f5903 JB |
4305 | 2007-06-01 Joel Brobecker <brobecker@adacore.com> |
4306 | ||
4307 | * solib-svr4.c (svr4_solib_create_inferior_hook): Remove warning. | |
4308 | ||
52a75740 UW |
4309 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
4310 | ||
4311 | * irix5-nat.c (JB_ELEMENT_SIZE, get_longjmp_target): Remove. | |
4312 | ||
c3fc7e62 UW |
4313 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
4314 | ||
4315 | * ppc-linux-tdep.c (INSTR_SC, INSTR_LI_R0_0x6666, INSTR_LI_R0_0x7777, | |
4316 | INSTR_LI_R0_NR_sigreturn, INSTR_LI_R0_NR_rt_sigreturn): Remove. | |
4317 | (PPC_LINUX_SIGNAL_FRAMESIZE, PPC_LINUX_REGS_PTR_OFFSET, | |
4318 | PPC_LINUX_HANDLER_PTR_OFFSET): Remove. | |
4319 | (ppc_linux_in_sigtramp, insn_is_sigreturn, | |
4320 | ppc_linux_at_sigtramp_return_path): Remove. | |
4321 | ||
4c6b5505 UW |
4322 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4323 | ||
4324 | * xtensa-tdep.c (XTENSA_IS_ENTRY, extract_call_winsize) | |
4325 | (xtensa_register_write_masked, xtensa_register_read_masked) | |
4326 | (xtensa_extract_return_value, xtensa_store_return_value | |
4327 | (xtensa_push_dummy_call, xtensa_breakpoint_from_pc): Replace | |
4328 | TARGET_BYTE_ORDER by gdbarch_byte_order. | |
4329 | * sh-tdep.c (sh_breakpoint_from_pc, gdb_print_insn_sh) | |
4330 | (sh_justify_value_in_reg, sh_next_flt_argreg, sh_push_dummy_call_fpu) | |
4331 | (sh_extract_return_value_fpu, sh_store_return_value_fpu): Likewise. | |
4332 | * sh64-tdep.c (sh64_breakpoint_from_pc, gdb_print_insn_sh64) | |
4333 | (sh64_push_dummy_call, sh64_extract_return_value) | |
4334 | (sh64_store_return_value, sh64_register_convert_to_virtual) | |
4335 | (sh64_register_convert_to_raw, sh64_pseudo_register_read) | |
4336 | (sh64_pseudo_register_write, sh64_do_fp_register) | |
4337 | (sh64_frame_prev_register): Likewise. | |
4338 | * score-tdep.c (score_print_insn, score_breakpoint_from_pc) | |
4339 | (score_return_value, score_push_dummy_call, score_fetch_inst): Likewise. | |
4340 | * rs6000-tdep.c (rs6000_breakpoint_from_pc, rs6000_push_dummy_call) | |
4341 | (e500_move_ev_register,gdb_print_insn_powerpc): Likewise. | |
4342 | * remote-m32r-sdi.c (m32r_resume, m32r_wait): Likewise. | |
4343 | * ppc-linux-nat.c (store_register): Likewise. | |
4344 | * nto-tdep.c (nto_find_and_open_solib) | |
4345 | (nto_init_solib_absolute_prefix): Likewise. | |
4346 | * mips-tdep.c (mips_pseudo_register_read, mips_pseudo_register_write) | |
4347 | (mips_convert_register_p, mips_eabi_push_dummy_call) | |
4348 | (mips_n32n64_push_dummy_call, mips_n32n64_return_value) | |
4349 | (mips_o32_push_dummy_call, mips_o32_return_value) | |
4350 | (mips_o64_push_dummy_call, mips_o64_return_value, mips_o64_return_value) | |
4351 | (mips_read_fp_register_single, mips_read_fp_register_double) | |
4352 | (mips_print_register, print_gp_register_row, gdb_print_insn_mips) | |
4353 | (mips_breakpoint_from_pc): Likewise. | |
4354 | * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Likewise. | |
4355 | * mips-linux-tdep.c (mips64_supply_fpregset, mips64_fill_fpregset) | |
4356 | (mips_linux_o32_sigframe_init): Likewise. | |
4357 | * m32r-tdep.c (m32r_memory_insert_breakpoint) | |
4358 | (m32r_memory_remove_breakpoint, m32r_breakpoint_from_pc): Likewise. | |
4359 | * libunwind-frame.c (libunwind_frame_cache, libunwind_frame_sniffer) | |
4360 | (libunwind_sigtramp_frame_sniffer, libunwind_get_reg_special): Likewise. | |
4361 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Likewise. | |
4362 | * coffread.c (process_coff_symbol): Likewise. | |
4363 | * arm-tdep.c (convert_from_extended, convert_to_extended) | |
4364 | (gdb_print_insn_arm): Likewise. | |
4365 | ||
f57d151a UW |
4366 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4367 | ||
4368 | * gdbarch.sh (NUM_REGS): Replace by gdbarch_num_regs. | |
4369 | * i386-tdep.c (i386_dbx_reg_to_regnum) | |
4370 | (i386_svr4_reg_to_regnum): Likewise. | |
4371 | * inf-ptrace.c (inf_ptrace_fetch_registers) | |
4372 | (inf_ptrace_store_registers): Likewise. | |
4373 | * corelow.c (get_core_registers): Likewise. | |
4374 | * i386-linux-nat.c (supply_gregset, fill_gregset) | |
4375 | (i386_linux_fetch_inferior_registers) | |
4376 | (i386_linux_store_inferior_registers): Likewise. | |
4377 | * remote.c (init_remote_state,packet_reg_from_regnum) | |
4378 | (packet_reg_from_pnum,process_g_packet,remote_fetch_registers) | |
4379 | (remote_prepare_to_store,store_registers_using_G) | |
4380 | (remote_store_registers,remote_arch_state): Likewise. | |
4381 | * tracepoint.c (encode_actions): Likewise. | |
4382 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
4383 | (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values) | |
4384 | (mi_cmd_data_write_register_values): Likewise. | |
4385 | * tui/tui-regs.c (tui_show_register_group) | |
4386 | (tui_show_register_group): Likewise. | |
4387 | * xtensa-tdep.h (FP_ALIAS): Likewise. | |
4388 | * xtensa-tdep.c (xtensa_register_name,xtensa_register_type) | |
4389 | (xtensa_reg_to_regnum,xtensa_pseudo_register_read) | |
4390 | (xtensa_pseudo_register_write,xtensa_register_reggroup_p): Likewise. | |
4391 | * win32-nat.c (do_win32_fetch_inferior_registers) | |
4392 | (do_win32_store_inferior_registers,fetch_elf_core_registers | |
4393 | * user-regs.h: Likewise (comment). | |
4394 | * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise. | |
4395 | * trad-frame.c (trad_frame_alloc_saved_regs): Likewise. | |
4396 | * target-descriptions.h: Likewise (comment). | |
4397 | * target-descriptions.c (tdesc_use_registers): Likewise (comment). | |
4398 | * target.c (debug_print_register): Likewise. | |
4399 | * stack.c (frame_info): Likewise. | |
4400 | * stabsread.c (define_symbol): Likewise. | |
4401 | * sh64-tdep.c (sh64_do_pseudo_register,sh64_print_register) | |
4402 | (sh64_media_print_registers_info) | |
4403 | (sh64_compact_print_registers_info): Likewise. | |
4404 | * rs6000-tdep.c (rs6000_register_sim_regno): Likewise. | |
4405 | * rs6000-nat.c (fetch_register,store_register): Likewise. | |
4406 | * remote-sim.c (one2one_register_sim_regno,gdbsim_fetch_register) | |
4407 | (gdbsim_fetch_register,gdbsim_store_register): Likewise. | |
4408 | * remote-mips.c (mips_fetch_registers,mips_store_registers): Likewise. | |
4409 | * remote-m32r-sdi.c (m32r_fetch_registers) | |
4410 | (m32r_store_registers): Likewise. | |
4411 | * reggroups.c (default_register_reggroup_p): Likewise. | |
4412 | * regcache.c (init_regcache_descr,register_size,regcache,regcache_save) | |
4413 | (regcache_restore,regcache_dump): Likewise. | |
4414 | * monitor.c (monitor_fetch_registers,monitor_store_registers): Likewise. | |
4415 | * mips-tdep.c (mips_xfer_register,mips_register_name) | |
4416 | (mips_register_reggroup_p,mips_pseudo_register_read) | |
4417 | (mips_pseudo_register_write,mips_convert_register_p,mips_register_type) | |
4418 | (mips_unwind_pc,mips_unwind_sp,mips_unwind_dummy_id,set_reg_offset) | |
4419 | (mips16_scan_prologue,mips_insn16_frame_cache,reset_saved_regs) | |
4420 | (mips32_scan_prologue,mips_insn32_frame_cache,read_next_frame_reg) | |
4421 | (mips_n32n64_return_value,mips_o32_return_value,mips_o64_return_value) | |
4422 | (print_gp_register_row,mips_print_registers_info) | |
4423 | (mips_stab_reg_to_regnum,mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
4424 | (mips_register_sim_regno): Likewise. | |
4425 | * mips-linux-tdep.c (mips_linux_o32_sigframe_init) | |
4426 | (mips_linux_n32n64_sigframe_init): Likewise. | |
4427 | * mips-linux-nat.c (mips_linux_register_addr) | |
4428 | (mips64_linux_register_addr): Likewise. | |
4429 | * findvar.c (value_of_register): Likewise. | |
4430 | * infcmd.c (default_print_registers_info,registers_info) | |
4431 | (print_vector_info,print_float_info): Likewise. | |
4432 | * mips64obsd-tdep.c (mips64obsd_sigframe_init): Likewise. | |
4433 | * inf-child.c (inf_child_fetch_inferior_registers): Likewise. | |
4434 | * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise. | |
4435 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache(: Likewise. | |
4436 | * m32r-tdep.c (m32r_frame_unwind_cache): Likewise. | |
4437 | * ia64-linux-nat.c (ia64_register_addr,ia64_cannot_fetch_register) | |
4438 | (ia64_cannot_store_register,ia64_linux_fetch_registers) | |
4439 | (ia64_linux_store_registers): Likewise. | |
4440 | * hpux-thread.c (hpux_thread_fetch_registers) | |
4441 | (hpux_thread_store_registers): Likewise. | |
4442 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM,E_PSEUDO_EXR_REGNUM) | |
4443 | (h8300_init_frame_cache,h8300_frame_cache,h8300_frame_prev_register) | |
4444 | (h8300_register_type): Likewise. | |
4445 | * dwarf2-frame.c (dwarf2_frame_cache) | |
4446 | (dwarf2_frame_state_alloc_regs): Likewise. | |
4447 | * cris-tdep.c (cris_register_size,cris_cannot_fetch_register) | |
4448 | (cris_cannot_store_register,crisv32_cannot_fetch_register) | |
4449 | (crisv32_cannot_store_register,cris_register_name): Likewise. | |
4450 | * avr-tdep.c (avr_frame_unwind_cache): Likewise. | |
4451 | * arch-utils.c (legacy_register_sim_regno) | |
4452 | (legacy_virtual_frame_pointer): Likewise. | |
4453 | * arm-tdep.c (arm_make_prologue_cache,arm_register_sim_regno):Likewise. | |
4454 | * arm-tdep.h: Likewise (comment). | |
4455 | * frv-tdep.c (frv_register_sim_regno): Likewise. | |
4456 | * m68klinux-nat.c (old_fetch_inferior_registers) | |
4457 | (old_store_inferior_registers): Likewise. | |
4458 | * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. | |
4459 | * irix5-nat.c (fetch_core_registers): Likewise. | |
4460 | * hppa-tdep.c (hppa_frame_cache): Likewise. | |
4461 | * hppa-linux-nat.c (hppa_linux_register_addr) | |
4462 | (hppa_linux_fetch_inferior_registers) | |
4463 | (hppa_linux_store_inferior_registers): Likewise. | |
4464 | * hppa-hpux-nat.c (hppa_hpux_fetch_inferior_registers) | |
4465 | (hppa_hpux_store_inferior_registers): Likewise. | |
4466 | * amd64-nat.c (amd64_native_gregset_reg_offset) | |
4467 | (amd64_supply_native_gregset,amd64_collect_native_gregset): Likewise. | |
4468 | * dbug-rom.c (dbug_regname): Likewise. | |
4469 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache) | |
4470 | (HARD_PAGE_REGNUM (comment)): Likewise. | |
4471 | * gdbarch.sh (NUM_PSEUDO_REGS): Replace by gdbarch_num_pseudo_regs. | |
4472 | * i386-tdep.c (i386_dbx_reg_to_regnum) | |
4473 | (i386_svr4_reg_to_regnum): Likewise. | |
4474 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
4475 | (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values) | |
4476 | (mi_cmd_data_write_register_values): Likewise. | |
4477 | * gdbarch.c, gdbarch.h: Regenerate. | |
4478 | * tui/tui-regs.c (tui_show_register_group): Likewise. | |
4479 | * xtensa-tdep.h (FP_ALIAS): Likewise. | |
4480 | * user-regs.h: Likewise (comment). | |
4481 | * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise. | |
4482 | * trad-frame.c (trad_frame_alloc_saved_regs): Likewise. | |
4483 | * target-descriptions.h: Likewise (comment). | |
4484 | * target.c (debug_print_register): Likewise. | |
4485 | * stack.c (frame_info): Likewise. | |
4486 | * stabsread.c (define_symbol): Likewise. | |
4487 | * sh64-tdep.c (sh64_print_register,sh64_media_print_registers_info) | |
4488 | (sh64_compact_print_registers_info): Likewise. | |
4489 | * rs6000-tdep.c (rs6000_register_sim_regno): Likewise. | |
4490 | * regcache.c (init_regcache_descr,register_size,regcache,regcache_save | |
4491 | (regcache_restore,regcache_dump): Likewise. | |
4492 | * mips-tdep.c (print_gp_register_row,mips_print_registers_info) | |
4493 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
4494 | (mips_stab_reg_to_regnum): Likewise. | |
4495 | * findvar.c (value_of_register): Likewise. | |
4496 | * infcmd.c (default_print_registers_info,registers_info) | |
4497 | (print_vector_info,print_float_info): Likewise. | |
4498 | * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise. | |
4499 | * h8300-tdep.c (h8300_register_type): Likewise. | |
4500 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
4501 | * frame.h (SIZEOF_FRAME_SAVED_REGS): Likewise. | |
4502 | * xtensa-tdep.c (xtensa_register_type,xtensa_reg_to_regnum) | |
4503 | (xtensa_pseudo_register_read,xtensa_pseudo_register_write): Likewise. | |
4504 | * parse.c: Remove comment. | |
4505 | * gdbarch.c, gdbarch.h: Regenerate | |
4506 | ||
8d4c1ba3 UW |
4507 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4508 | ||
4509 | * gdbarch.sh (CANNOT_FETCH_REGISTER): Replace by | |
4510 | gdbarch_cannot_fetch_register. | |
4511 | * alpha-nat.c (fetch_osf_core_registers): Likewise. | |
4512 | * hppa-linux-nat.c (fetch_register): Likewise. | |
4513 | * inf-ptrace.c (inf_ptrace_fetch_register): Likewise. | |
4514 | * m68klinux-nat.c (fetch_register): Likewise. | |
4515 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): | |
4516 | Likewise. | |
4517 | * gdbarch.sh (CANNOT_STORE_REGISTER): Replace by | |
4518 | gdbarch_cannot_store_register. | |
4519 | * hppa-linux-nat.c (store_register): Likewise. | |
4520 | * inf-ptrace.c (inf_ptrace_store_register): Likewise. | |
4521 | * regcache.c (regcache_raw_write): Likewise. | |
4522 | * m68klinux-nat.c (store_register): Likewise. | |
4523 | * mipsnbsd-tdep.c (mipsnbsd_fill_reg, mipsnbsd_fill_fpreg): Likewise. | |
4524 | * gdbarch.c, gdbarch.h: Regenerate. | |
4525 | ||
3f4844da UW |
4526 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4527 | ||
4528 | * gdbarch.sh (TARGET_OSABI): Replace by gdbarch_osabi. | |
4529 | * gdbarch.c, gdbarch.h: Regenerate. | |
4530 | ||
6c6b19fd UW |
4531 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4532 | ||
4533 | * gdbarch.sh (TARGET_CHAR_SIGNED): Replace by gdbarch_char_signed. | |
4534 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
4535 | * gdbarch.c, gdbarch.h: Regenerate. | |
4536 | ||
0d20ae72 UW |
4537 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4538 | ||
4539 | * gdbarch.sh (TARGET_BYTE_ORDER): Replace by gdbarch_byte_order. | |
4540 | * ax-gdb.c (gen_bitfield_ref): Likewise. | |
4541 | * mi/mi-main.c (get_register): Likewise. | |
4542 | * findvar.c (default_value_from_register, extract_signed_integer) | |
4543 | (extract_unsigned_integer, extract_long_unsigned_integer) | |
4544 | (store_signed_integer, store_unsigned_integer): Likewise. | |
4545 | * regcache.c (regcache_dump): Likewise. | |
4546 | * value.c (lookup_internalvar, value_of_internalvar) | |
4547 | (set_internalvar): Likewise. | |
4548 | * defs.h: Likewise. | |
4549 | * valprint.c (print_binary_chars, print_octal_chars) | |
4550 | (print_decimal_chars, print_hex_chars, print_char_chars): Likewise. | |
4551 | * infcmd.c (default_print_registers_info): Likewise. | |
4552 | * arch-utils.c (selected_byte_order, show_endian): Likewise. | |
4553 | * stabsread.c (define_symbol): Likewise. | |
4554 | * doublest.c (floatformat_from_length, floatformat_from_type) | |
4555 | (extract_typed_floating, store_typed_floating): Likewise. | |
4556 | * gdbarch.c, gdbarch.h: Regenerate. | |
4557 | ||
faaf634c UW |
4558 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4559 | ||
4560 | * gdbarch.sh (CALL_DUMMY_LOCATION): Replace by | |
4561 | gdbarch_call_dummy_location. | |
4562 | * infcall.c (call_function_by_hand): Likewise. | |
4563 | * inferior.h: Change comment. | |
4564 | * arch-utils.c: Change comment. | |
4565 | * gdbarch.c, gdbarch.h: Regenerate. | |
4566 | ||
8905984d JB |
4567 | 2007-05-28 Joel Brobecker <brobecker@adacore.com> |
4568 | ||
4569 | * solib-aix5.c: Delete. | |
4570 | * Makefile.in (solib-aix5.o): Delete rule. | |
4571 | ||
ab14ee8d DJ |
4572 | 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com> |
4573 | ||
4574 | * breakpoint.h (enum bpstat_what_main_action): Remove | |
4575 | BPSTAT_WHAT_THROUGH_SIGTRAMP. | |
4576 | * infrun.c (process_event_stop_test): Do not check for it. | |
4577 | ||
23776285 MR |
4578 | 2007-05-22 Chris Dearman <chris@mips.com> |
4579 | Maciej W. Rozycki <macro@mips.com> | |
4580 | ||
4581 | * ser-unix.c (show_serial_hwflow): New function. | |
4582 | (hardwire_raw): Add hardware flow control support. | |
4583 | (_initialize_ser_hardwire): Add "set/show remoteflow". | |
4584 | * Makefile.in (ser-unix.o): Depend on $(gdbcmd_h). | |
4585 | * NEWS: Document the new command. | |
4586 | ||
eb368090 UW |
4587 | 2007-05-21 Ulrich Weigand <uweigand@de.ibm.com> |
4588 | ||
4589 | * config/i386/tm-linux.h (sys_quotactl): Do not define. | |
4590 | * configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not | |
4591 | define for i[[3456]]86-*-linux* native configurations. | |
4592 | * config.in, configure: Regenerate. | |
4593 | ||
8d08c9ce JB |
4594 | 2007-05-19 Joel Brobecker <brobecker@adacore.com> |
4595 | ||
4596 | * rs6000-nat.c (xcoff_relocate_symtab): Do nothing if debugging | |
4597 | a core file. Add comment in the function description. | |
4598 | ||
42be36b3 CT |
4599 | 2007-05-18 Caroline Tice <ctice@apple.com> |
4600 | ||
4601 | * c-valprint.c (c_value_print): If the initialized field of the | |
4602 | value struct is 0, print out "[uninitialized]" before the value. | |
4603 | * dwarf2expr.c (execute_stack_op): Initialize ctx->initialized field; | |
4604 | allow DW_OP_GNU_uninit as legal op following a DW_OP_reg op or a | |
4605 | DW_OP_regx op; add case for DW_OP_GNU_uninit and update | |
4606 | ctx->initialized appropriately. Verify no location op follows | |
4607 | DW_OP_GNU_uninit. | |
4608 | * dwarf2expr.h (struct dwarf_expr_context): New field, initialized. | |
4609 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Add call to | |
4610 | set_value_initialized. | |
4611 | * dwarf2read.c (dwarf_stack_op_name): Add case for DW_OP_GNU_uninit. | |
4612 | (decode_locdesc): Add case for DW_OP_GNU_uninit. | |
4613 | * value.c (struct value): New field, initialized. | |
4614 | (allocate_value): Initialize new field. | |
4615 | (set_value_initialized): New function. | |
4616 | (value_initialized): New function. | |
4617 | * value.h (value_initialized): New extern declaration. | |
4618 | (set_value_initialized): Likewise. | |
42be36b3 | 4619 | |
a7c569c8 CT |
4620 | 2007-05-18 Caroline Tice <ctice@apple.com> |
4621 | ||
4622 | * MAINTAINERS (Write After Approval): Add self. | |
4623 | ||
1e98b326 JB |
4624 | 2007-05-17 Joel Brobecker <brobecker@adacore.com> |
4625 | ||
4626 | * gdbtypes.c (make_reference_type): Preserve the type chain | |
4627 | and set the length of all the variants of the pointer type. | |
4628 | ||
053cb41b JB |
4629 | 2007-05-17 Joel Brobecker <brobecker@adacore.com> |
4630 | ||
4631 | * gdbtypes.c (make_pointer_type): Preserve the pointer type chain | |
4632 | and set the length of all the variants of the pointer type. | |
4633 | ||
436aafc4 MR |
4634 | 2007-05-17 Maciej W. Rozycki <macro@mips.com> |
4635 | ||
4636 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a | |
4637 | comment. | |
4638 | (mips_o64_push_dummy_call): Reformat a comment. | |
4639 | ||
98f4ab10 Q |
4640 | 2007-05-17 Qinwei <qinwei@sunnorth.com.cn> |
4641 | ||
4642 | * score-tdep.c (score_frame_cache->fp, score_analyze_prologue) | |
4643 | (score_prologue_frame_base_address): Return fp to keep gdb print | |
4644 | local variables correctly when debugging information is stabs. | |
4645 | ||
4646 | (score_analyze_prologue): For software watchpoint, fetch all the | |
4647 | instructions from range [startaddr, pc] once and identify them locally | |
4648 | to reduce memory access. | |
4649 | (score_malloc_and_get_memblock, score_free_memblock) | |
4650 | (score_adjust_memblock_ptr): New functions. | |
4651 | (score_fetch_inst): Fetch single instruction or mutiple instructions. | |
4652 | ||
4653 | (score_target_can_use_watch, score_stopped_by_watch) | |
4654 | (score_target_insert_watchpoint, score_target_remove_watchpoint) | |
4655 | (score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint): | |
4656 | New functions for remote & local hw-watchpoint and hw-breakpoint. | |
4657 | ||
60dfee72 AS |
4658 | 2007-05-16 Alfred M. Szmidt <ams@gnu.org> |
4659 | ||
4660 | * reply_mig_hack.awk: Check for `auto const mach_msg_type_t' | |
4661 | declarations as well. | |
4662 | ||
190dce09 UW |
4663 | 2007-05-16 Ulrich Weigand <uweigand@de.ibm.com> |
4664 | ||
4665 | * config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h. | |
4666 | * config/arm/tm-embed.h: Delete file. | |
4667 | ||
4668 | * arm-tdep.h (arm_software_single_step): Declare. | |
4669 | * arm-tdep.c (arm_software_single_step): Make global. | |
4670 | (arm_gdbarch_init): Move set_gdbarch_software_single_step call | |
4671 | from here to ... | |
4672 | * arm-linux-tdep.c (arm_linux_init_abi): ... here ... | |
4673 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): ... here ... | |
4674 | * armobsd-tdep.c (armobsd_init_abi): ... here ... | |
4675 | * arm-wince-tdep.c (arm_wince_init_abi): ... and here. | |
4676 | ||
4677 | * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT): No longer | |
4678 | allow defines to be overriden by TM file. | |
4679 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Likewise. Also, | |
4680 | change default to {0xbe,0xbe}. | |
4681 | * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint, | |
4682 | arm_obsd_thumb_be_breakpoint): New global variables. | |
4683 | (armobsd_init_abi): Override tdep->thumb_breakpoint and | |
4684 | tdep->thumb_breakpoint_size. | |
4685 | * arm-wince-tdep.c (arm_wince_thumb_le_breakpoint): New variable. | |
4686 | (arm_wince_init_abi): Override tdep->thumb_breakpoint and | |
4687 | tdep->thumb_breakpoint_size. | |
4688 | ||
4689 | * arm-tdep.c (arm_gdbarch_init): Add set_gdbarch_skip_trampoline_code. | |
4690 | ||
1a69e1e4 DJ |
4691 | 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com> |
4692 | ||
4693 | * NEWS: Mention removed "set mips stack-arg-size" and "set mips | |
4694 | saved-gpreg-size". | |
4695 | ||
4696 | * mips-tdep.c (MIPS32_REGSIZE, MIPS64_REGSIZE): New constants. | |
4697 | (size_auto, size_32, size_64, size_enums, mips_abi_regsize_string) | |
4698 | (mips_stack_argsize_string, mips_stack_argsize): Delete. | |
4699 | (mips_abi_regsize): Simplify. | |
4700 | (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) | |
4701 | (mips_n32n64_return_value, mips_o32_push_dummy_call) | |
4702 | (mips_o32_return_value, mips_o64_push_dummy_call) | |
4703 | (mips_o64_return_value): Propogate constant register sizes. Use the | |
4704 | ABI register size instead of mips_stack_argsize. | |
4705 | (mips_dump_tdep): Don't print mips_stack_argsize. | |
4706 | (_initialize_mips_tdep): Remove saved-gpreg-size and stack-arg-size | |
4707 | settings. | |
4708 | ||
7d522c90 DJ |
4709 | 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com> |
4710 | ||
4711 | * config/mips/linux.mt (DEPRECATED_TM_FILE): Delete. | |
4712 | * config/mips/tm-linux.h: Delete. | |
4713 | * mips-linux-tdep.c (mips_svr4_so_ops): New. | |
4714 | (mips_linux_in_dynsym_resolve_code): Make static. Use | |
4715 | svr4_in_dynsym_resolve_code. | |
4716 | (mips_linux_init_abi): Initialize mips_svr4_so_ops. Call | |
4717 | set_solib_ops. | |
4718 | * solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make | |
4719 | global. | |
4720 | * solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare. | |
4721 | * Makefile.in (mips-linux-tdep.o): Update. | |
4722 | * solib.c (set_solib_ops): New. | |
4723 | (current_target_so_ops): Update comment. | |
4724 | * solib.h (set_solib_ops): New prototype. | |
4725 | ||
5d51a2db MR |
4726 | 2007-05-16 Chris Dearman <chris@mips.com> |
4727 | ||
4728 | * printcmd.c (do_examine): Fix typos in a comment. | |
4729 | ||
07abfebf RS |
4730 | 2007-05-16 Richard Sandiford <richard@codesourcery.com> |
4731 | ||
4732 | * configure.ac: Allow sysroots to be relocated under $prefix as | |
4733 | well as $exec_prefix. | |
4734 | * configure: Regenerate. | |
4735 | ||
f5ce4941 UW |
4736 | 2007-05-14 Ulrich Weigand <uweigand@de.ibm.com> |
4737 | ||
4738 | * hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>. | |
4739 | (offsetof): Do not define. | |
4740 | (find_stub_with_shl_get): Use numerical value 3 instead of | |
4741 | symbolic value TYPE_PROCEDURE. | |
4742 | ||
76e1ee85 DJ |
4743 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
4744 | ||
4745 | * gdb_proc_service.h (paddr_t): Delete typedef. | |
4746 | * proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New. | |
4747 | (ps_xfer_memory): Take a psaddr_t. Use ps_addr_to_core_addr. | |
4748 | (ps_pglobal_lookup): Take a psaddr_t *. Use core_addr_to_ps_addr. | |
4749 | (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t. | |
4750 | * sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t. | |
4751 | * Makefile.in (proc-service.o): Update. | |
4752 | ||
2bd0c3d7 DJ |
4753 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
4754 | ||
4755 | * Makefile.in (mips-tdep.o): Update. | |
4756 | * mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI | |
4757 | unwinder. | |
4758 | ||
14d06750 DJ |
4759 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
4760 | ||
4761 | * dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long | |
4762 | instead of store_typed_address. | |
4763 | * value.c (pack_long): New. | |
4764 | (value_from_longest): Use it. | |
4765 | * value.h (pack_long): New prototype. | |
4766 | ||
f2fec864 DJ |
4767 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
4768 | ||
4769 | * dwarf2-frame.c (read_encoded_value): Correct typo. Use | |
4770 | DW_EH_PE_signed if appropriate. | |
4771 | ||
25e43795 DJ |
4772 | 2007-05-14 Paul Brook <paul@codesourcery.com> |
4773 | Daniel Jacobowitz <dan@codesourcery.com> | |
4774 | ||
4775 | * dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New | |
4776 | function. | |
4777 | (dwarf_decode_lines): Check for line info without a file. | |
4778 | ||
027c0295 DJ |
4779 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
4780 | ||
4781 | * linux-thread-db.c (thread_db_pid_to_str): Print thread IDs | |
4782 | as hexadecimal. | |
4783 | ||
dc5000e7 DJ |
4784 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
4785 | ||
4786 | * jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead of | |
4787 | STRUCTOP_STRUCT. | |
4788 | * jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of | |
4789 | STRUCTOP_STRUCT. | |
4790 | * jv-typeprint.c (java_print_type): Do not crash on NULL varstring. | |
4791 | ||
30244cd8 UW |
4792 | 2007-05-14 Ulrich Weigand <uweigand@de.ibm.com> |
4793 | ||
4794 | * gdbarch.sh (read_sp): Remove. | |
4795 | * gdbarch.c, gdbarch.h: Regenerate. | |
4796 | * frame.c (frame_sp_unwind): Do not call TARGET_READ_SP. | |
4797 | ||
4798 | * avr-tdep.c (avr_read_sp): Remove. | |
4799 | (avr_unwind_sp): New function. | |
4800 | (avr_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
4801 | * mips-tdep.c (mips_read_sp): Remove. | |
4802 | (mips_unwind_sp): New function. | |
4803 | (mips_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
4804 | * score-tdep.c (score_read_unsigned_register): Remove. | |
4805 | (score_read_sp): Remove. | |
4806 | (score_unwind_sp): New function. | |
4807 | (score_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
4808 | ||
84ba0adf DJ |
4809 | 2007-05-14 Maxim Grigoriev <maxim2405@gmail.com> |
4810 | ||
4811 | * buildsym.c (start_subfile): Handle absolute pathnames | |
4812 | while comparing subfile names. | |
4813 | ||
e7b17823 UW |
4814 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
4815 | ||
4816 | * hppa-hpux-tdep.c: Include "regcache.h". | |
4817 | * hppa-linux-tdep.c: Likewise. | |
4818 | * hppa-tdep.c: Include "gdb_stdint.h". | |
4819 | (find_unwind_entry): Cast host pointer to uintptr_t before passing | |
4820 | it to paddr_nz. | |
4821 | * Makefile.in: Update dependencies. | |
4822 | ||
7157eed4 UW |
4823 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
4824 | ||
4825 | * blockframe.c: Remove obsolete comments. | |
4826 | * alpha-nat.c (fetch_osf_core_registers): Update comment. | |
4827 | * arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment. | |
4828 | * hppa-tdep.h (enum hppa_regnum): Likewise. | |
4829 | * mips-tdep.h: Likewise. | |
4830 | * m68hc11-tdep.c: Likewise. | |
4831 | ||
fb4443d8 UW |
4832 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
4833 | ||
4834 | * inferior.h (read_sp): Remove prototype. | |
4835 | * regcache.c (read_sp): Remove. | |
4836 | * gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp. | |
4837 | * infcall.c (call_function_by_hand): Likewise. | |
4838 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead | |
4839 | of calling read_sp. | |
4840 | * rs6000-tdep.c (rs6000_push_dummy_call): Likewise. | |
4841 | ||
7b86a1b8 UW |
4842 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
4843 | ||
4844 | * i386-linux-nat.c (i386_linux_resume): Use regcache functions | |
4845 | instead of read_register and read_register_pid. | |
4846 | ||
4847 | * ia64-linux-nat.c (enable_watchpoints_in_psr): Use REGCACHE | |
4848 | argument instead of PTID. Use regcache functions instead of | |
4849 | read_register_pid. | |
4850 | (ia64_linux_insert_watchpoint): Update call. | |
4851 | (ia64_linux_stopped_data_address): Use regcache functions | |
4852 | instead of read_register_pid and write_register_pid. | |
4853 | ||
45ecac4b UW |
4854 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
4855 | ||
4856 | * libunwind-frame.h (struct regcache): Add forward declaration. | |
4857 | (libunwind_get_reg_special): Add REGCACHE argument. | |
4858 | * libunwind-frame.c (libunwind_get_reg_special): Add REGCACHE | |
4859 | argument. Pass it to unw_init_remote_p. | |
4860 | ||
4861 | * ia64-tdep.c (ia64_pseudo_register_read): Pass regcache to | |
4862 | libunwind_get_reg_special. | |
4863 | (ia64_access_reg): Remove "write" case. | |
4864 | (ia64_access_fpreg): Likewise. Read from next_frame passed | |
4865 | as callback argument instead of from current_regcache. | |
4866 | (ia64_access_rse_reg): Remove "write" case. Read from regcache | |
4867 | passed as callback argument instead of from current_regcache. | |
4868 | (ia64_access_rse_fpreg): New function. | |
4869 | (ia64_unw_rse_acce): Use it instead of ia64_access_fpreg. | |
4870 | ||
0ca420ce UW |
4871 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
4872 | ||
4873 | * NEWS: Mention SPU overlay support. | |
4874 | ||
0a44cb36 UW |
4875 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
4876 | ||
4877 | * spu-tdep.c (spu_frame_unwind_cache): Add comment. | |
4878 | ||
aa67235e UW |
4879 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
4880 | ||
4881 | * breakpoint.c (remove_breakpoint): Do not remove software | |
4882 | breakpoints in unmapped overlay sections. | |
4883 | ||
dcf52cd8 UW |
4884 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
4885 | ||
4886 | * spu-tdep.c: Include "observer.h". | |
4887 | (spu_frame_unwind_cache): Unwind PC through overlay return stubs. | |
4888 | (spu_overlay_data): New variable. | |
4889 | (struct spu_overlay_table): New type. | |
4890 | (spu_get_overlay_table, spu_overlay_update_osect, spu_overlay_update, | |
4891 | spu_overlay_new_objfile): New functions. | |
4892 | (spu_gdbarch_init): Install spu_overlay_update. | |
4893 | (_initialize_spu_tdep): Register spu_overlay_new_objfile, | |
4894 | allocate spu_overlay_data objfile data. | |
4895 | ||
1c772458 UW |
4896 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
4897 | ||
4898 | * gdbarch.sh (overlay_update): New gdbarch function. | |
4899 | (struct obj_section): Add forward declaration. | |
4900 | * gdbarch.c, gdbarch.h: Regenerate. | |
4901 | ||
4902 | * symfile.c (simple_overlay_update): Make global. | |
4903 | (target_overlay_update): Remove variable. | |
4904 | (overlay_is_mapped): Call gdbarch_overlay_update instead of | |
4905 | target_overlay_update. | |
4906 | (overlay_load_command): Likewise. | |
4907 | * symfile.h (struct obj_section): Add forward declaration. | |
4908 | (simple_overlay_update): Add prototype. | |
4909 | ||
4910 | * m32r-tdep.c (m32r_gdbarch_init): Install simple_overlay_update. | |
4911 | ||
06d3b283 UW |
4912 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
4913 | ||
4914 | * observer.sh: Add "struct objfile" forward declaration. | |
4915 | * target.h (deprecated_target_new_objfile_hook): Remove. | |
4916 | * symfile.c (deprecated_target_new_objfile_hook): Remove. | |
4917 | (clear_symtab_users): Call observer_notify_new_objfile. | |
4918 | (symbol_file_add_with_addrs_or_offsets): Likewise. | |
4919 | * rs6000-nat.c: Include "observer.h". | |
4920 | (vmap_ldinfo): Call observer_notify_new_objfile. | |
4921 | (xcoff_relocate_core): Likewise. | |
4922 | * remote.c (remote_new_objfile_chain): Remove. | |
4923 | (remote_new_objfile): Do not call remote_new_objfile_chain. | |
4924 | (_initialize_remote): Use observer_attach_new_objfile. | |
4925 | * tui/tui-hooks.c (tui_target_new_objfile_chain): Remove. | |
4926 | (tui_new_objfile_hook): Do not call tui_target_new_objfile_chain. | |
4927 | (_initialize_tui_hooks): Use observer_attach_new_objfile. | |
4928 | * aix-thread.c: Include "observer.h". | |
4929 | (target_new_objfile_chain): Remove. | |
4930 | (new_objfile): Do not call target_new_objfile_chain. | |
4931 | (_initialize_aix_thread): Use observer_attach_new_objfile. | |
4932 | * hpux-thread.c: Include "observer.h" | |
4933 | (target_new_objfile_chain): Remove. | |
4934 | (hpux_thread_new_objfile): Make static. Do not call | |
4935 | target_new_objfile_chain. | |
4936 | (_initialize_hpux_thread): Use observer_attach_new_objfile. | |
4937 | * linux-thread-db.c: Include "observer.h". | |
4938 | (target_new_objfile_chain): Remove. | |
4939 | (thread_db_new_objfile): Do not call target_new_objfile_chain. | |
4940 | (_initialize_thread_db): Use observer_attach_new_objfile. | |
4941 | * sol-thread.c: Include "observer.h". | |
4942 | (target_new_objfile_chain): Remove. | |
4943 | (sol_thread_new_objfile): Make static. Do not call | |
4944 | target_new_objfile_chain. | |
4945 | (_initialize_sol_thread): Use observer_attach_new_objfile. | |
4946 | * Makefile.in (aix-thread.o, hpux-thread.o, linux-thread-db.o, | |
4947 | rs6000-nat.o, sol-thread.o, tui-hooks.o): Add dependency on | |
4948 | $(observer_h). | |
4949 | ||
93ce7684 UW |
4950 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
4951 | ||
4952 | * gdbarch.sh (remote_translate_xfer_address): Remove. | |
4953 | * gdbarch.h, gdbarch.c: Regenerate. | |
4954 | * arch-utils.c (generic_remote_translate_xfer_address): Remove. | |
4955 | * arch-utils.h (generic_remote_translate_xfer_address): Remove. | |
4956 | * remote.c (remote_write_bytes_aux, remote_read_bytes): Do not | |
4957 | call gdbarch_remote_translate_xfer_address. | |
4958 | * frv-tdep.c (frv_gdbarch_init): Do not call | |
4959 | set_gdbarch_remote_translate_xfer_address. | |
4960 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Remove. | |
4961 | (ia64_gdbarch_init): Do not install it. | |
4962 | ||
a6ec25f2 BW |
4963 | 2007-05-11 Bob Wilson <bob.wilson@acm.org> |
4964 | ||
4965 | * NEWS: Mention change in handling the -tui option. | |
4966 | ||
2ef52e77 DJ |
4967 | 2007-05-11 Daniel Jacobowitz <dan@codesourcery.com> |
4968 | ||
4969 | * linux-thread-db.c (enable_thread_event_reporting): Fix comment | |
4970 | typo. | |
4971 | ||
1aafd4da UW |
4972 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
4973 | ||
4974 | * breakpoint.c (single_step_breakpoint_inserted_here_p): New function. | |
4975 | (breakpoint_inserted_here_p): Call it. | |
4976 | (software_breakpoint_inserted_here_p): Likewise. | |
4977 | ||
7714d83a UW |
4978 | 2007-05-10 Ulrich Weigand <uweigand@de.ibm.com> |
4979 | ||
4980 | * inf-ptrace.c (inf_ptrace_register_u_offset): Adapt parameter list. | |
4981 | (inf_ptrace_fetch_register): Add register_u_offset callback parameters | |
4982 | GDBARCH and STORE_P. Handle callback (CORE_ADDR) -1 return value. | |
4983 | (inf_ptrace_store_register): Likewise. | |
4984 | (inf_ptrace_trad_target): Adapt register_u_offset parameter list. | |
4985 | * inf-ptrace.h (inf_ptrace_trad_target): Likewise. | |
4986 | ||
4987 | * vax-nat.c (vax_register_u_offset): Adapt parameter list. | |
4988 | ||
4989 | * linux-nat.c (linux_trad_target): Adapt parameter list. | |
4990 | * linux-nat.h (linux_trad_target): Likewise. | |
4991 | ||
4992 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Adapt parameters. | |
4993 | ||
4994 | * mips-linux-nat.c (mips_linux_cannot_fetch_register): Remove. | |
4995 | (mips_linux_cannot_store_register): Likewise. | |
4996 | (mips_linux_register_addr): Add GDBARCH and STORE_P parameters. | |
4997 | Return (CORE_ADDR) -1 for registers that cannot be fetched or | |
4998 | stored via ptrace. Use GDBARCH instead of current_gdbarch. | |
4999 | (mips64_linux_register_addr): Likewise. | |
5000 | (mips_linux_register_u_offset): Adapt parameter list. Pass | |
5001 | GDBARCH and STORE_P on to mips{64}_linux_register_addr. | |
5002 | ||
5003 | * config/mips/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
5004 | * config/mips/nm-linux.h: Delete file. | |
5005 | ||
4ddda9b5 PA |
5006 | 2007-05-10 Pedro Alves <pedro_alves@portugalmail.pt> |
5007 | ||
5008 | * remote.c (remote_detach): Error out if remote can't detach. | |
5009 | ||
24d45690 UW |
5010 | 2007-05-10 Luis Machado <luisgpm@br.ibm.com> |
5011 | ||
362f854e PA |
5012 | * rs6000-tdep.c: (deal_with_atomic_sequence) Stores branch |
5013 | instruction's opcode in the "opcode" variable and declares new | |
5014 | variable "closing_insn". | |
24d45690 | 5015 | |
1430be3e MR |
5016 | 2007-05-10 Chris Dearman <chris@mips.com> |
5017 | Maciej W. Rozycki <macro@mips.com> | |
5018 | ||
5019 | * cli/cli-setshow.c (do_setshow_command): Remove trailing | |
5020 | whitespace when setting a var_filename. | |
5021 | ||
b0da54f1 BW |
5022 | 2007-05-09 Bob Wilson <bob.wilson@acm.org> |
5023 | ||
5024 | * main.c (captured_main): Recognize -tui option and print an error | |
5025 | message when the TUI is not configured. | |
5026 | ||
9a88e5ee AS |
5027 | 2007-05-09 Andreas Schwab <schwab@suse.de> |
5028 | ||
5029 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't | |
5030 | set removed members. | |
5031 | (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. | |
5032 | ||
fc0d8df4 UW |
5033 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
5034 | ||
5035 | * gdbarch.sh (deprecated_store_struct_return): Remove. | |
5036 | * gdbarch.c, gdbarch.h: Regenerate. | |
5037 | * frv-tdep.c (frv_store_struct_return): Remove. | |
5038 | (frv_gdbarch_init): Do not install it. | |
5039 | ||
179101d6 UW |
5040 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
5041 | ||
5042 | * config/i386/nm-i386sol2.h (USE_PROC_FS): Do not define. | |
5043 | * config/mips/nm-irix5.h (USE_PROC_FS): Do not define. | |
5044 | * config/nm-linux.h (USE_PROC_FS): Do not undefine. | |
5045 | ||
b9efddcd UW |
5046 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
5047 | ||
5048 | * spu-linux-nat.c: Include "gdb_stdint.h". | |
5049 | (fetch_ppc_register): Use uint64_t instead of unsigned long long. | |
5050 | (fetch_ppc_memory_1, store_ppc_memory_1): Likewise. | |
5051 | (fetch_ppc_memory, store_ppc_memory): Fix coding style. | |
5052 | (spu_symbol_file_add_from_memory): Use strtoulst instead of sscanf. | |
5053 | (spu_child_wait): Mark up string for translation. | |
5054 | ||
ce5eab59 UW |
5055 | 2007-05-08 Paul Gilliam <pgilliam@us.ibm.com> |
5056 | Luis Machado <luisgpm@br.ibm.com> | |
5057 | ||
5058 | * rs6000-tdep.c: (LWARX_MASK, LWARX_INSTRUCTION, LDARX_INSTRUCTION, | |
5059 | STWCX_MASK, STWCX_INSTRUCTION, STDCX_INSTRUCTION, BC_MASK, | |
5060 | BC_INSTRUCTION): Define. | |
5061 | (deal_with_atomic_sequence): New function. | |
5062 | (rs6000_software_single_step): Call deal_with_atomic_sequence. | |
5063 | (rs6000_gdbarch_init): Install deal_with_atomic_sequence as | |
5064 | gdbarch_software_single_step routine. | |
5065 | ||
4179a487 UW |
5066 | 2007-05-07 Ulrich Weigand <uweigand@de.ibm.com> |
5067 | ||
5068 | * spu-linux-nat.c (fetch_ppc_register, fetch_ppc_memory_1, | |
5069 | store_ppc_memory_1, fetch_ppc_memory, store_ppc_memory, | |
5070 | parse_spufs_run, spu_bfd_iovec_pread, spu_bfd_open, | |
5071 | spu_symbol_file_add_from_memory, spu_child_post_startup_inferior, | |
5072 | spu_child_post_attach, spu_fetch_inferior_registers, | |
5073 | spu_store_inferior_registers, spu_xfer_partial): Store PPE-side | |
5074 | memory addresses as ULONGEST, not CORE_ADDR. | |
5075 | ||
6d350bb5 UW |
5076 | 2007-05-07 Ulrich Weigand <uweigand@de.ibm.com> |
5077 | ||
5078 | * gdbarch.sh: Add skip_permanent_breakpoint callback. | |
5079 | * gdbarch.h, gdbarch.c: Regenerate. | |
5080 | ||
5081 | * infrun.c (SKIP_PERMANENT_BREAKPOINT): Remove default definition. | |
5082 | (resume): Call gdbarch_skip_permanent_breakpoint instead of | |
5083 | SKIP_PERMANENT_BREAKPOINT. Inline default case. | |
5084 | ||
5085 | * hppa-hpux-tdep.c (hppa_skip_permanent_breakpoint): Make static. | |
5086 | Add REGCACHE argument. Use it instead of read/write_register. | |
5087 | (hppa_hpux_init_abi): Install hppa_skip_permanent_breakpoint. | |
5088 | ||
5089 | * config/pa/tm-hppah.h: Delete file. | |
5090 | * config/pa/hppa64.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h. | |
5091 | * config/pa/hppahpux.mt (DEPRECATED_TM_FILE): Likewise. | |
5092 | ||
b18be20d DJ |
5093 | 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com> |
5094 | ||
5095 | * Makefile.in (c-lang.o, gnu-v3-abi.o): Update. | |
5096 | * NEWS: Mention improved C++ thunk support. | |
5097 | * c-lang.c (cplus_language_defn): Mention cplus_skip_trampoline. | |
5098 | * cp-abi.c (cplus_skip_trampoline): New. | |
5099 | * cp-abi.h (cplus_skip_trampoline): New prototype. | |
5100 | (struct cp_abi_ops): Add skip_trampoline member. | |
5101 | * gnu-v3-abi.c (gnuv3_skip_trampoline): New. | |
5102 | (init_gnuv3_ops): Set skip_trampoline. | |
5103 | ||
dda9b909 DJ |
5104 | 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com> |
5105 | ||
5106 | * rs6000-tdep.c (struct frame_extra_info): Delete. | |
5107 | ||
34091d9b DJ |
5108 | 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com> |
5109 | ||
5110 | * linux-thread-db.c: Update some FIXME comments. | |
5111 | (thread_db_xfer_partial): Delete. | |
5112 | (init_thread_db_ops): Do not set to_xfer_partial. | |
5113 | ||
1da33a4a UW |
5114 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5115 | ||
5116 | * inftarg.c, infptrace.c: Remove files. | |
5117 | * Makefile.in (ALLDEPFILES): Remove inftarg.c and infptrace.c | |
5118 | (inftarg.o, infptrace.o): Remove rules. | |
5119 | * gdbcore.h (register_addr): Remove prototype. | |
5120 | * inferior.h (kill_inferior, store_inferior_registers, | |
5121 | fetch_inferior_registers, attach, detach, ptrace_wait, child_resume, | |
5122 | call_ptrace, pre_fork_inferior): Remove prototypes. | |
5123 | * target.h (child_xfer_memory, child_pid_to_exec_file, | |
5124 | child_core_file_to_sym_file, child_post_attach, | |
5125 | child_post_startup_inferior, child_acknowledge_created_inferior, | |
5126 | child_insert_fork_catchpoint, child_remove_fork_catchpoint, | |
5127 | child_insert_vfork_catchpoint, child_remove_vfork_catchpoint, | |
5128 | child_insert_exec_catchpoint, child_remove_exec_catchpoint, | |
5129 | child_follow_fork, child_reported_exec_events_per_exec_call, | |
5130 | child_has_exited, child_thread_alive): Remove prototypes. | |
5131 | ||
6f7a27d5 UW |
5132 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5133 | ||
5134 | * sparc-nat.h (sparc_fetch_inferior_registers): Add prototype. | |
5135 | (sparc_store_inferior_registers): Likewise. | |
5136 | * sparc-nat.c (fetch_inferior_registers): Rename to ... | |
5137 | (sparc_fetch_inferior_registers): ... this. | |
5138 | (store_inferior_registers): Rename to ... | |
5139 | (sparc_store_inferior_registers): ... this. | |
5140 | (sparc_target): Update callback names. | |
5141 | * sparc-linux.nat.c (_initialize_sparc_linux_nat): Likewise. | |
5142 | * sparc64-linux.nat.c (_initialize_sparc64_linux_nat): Likewise. | |
5143 | ||
6d8fd2b7 UW |
5144 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5145 | ||
5146 | * linux-nat.c (child_post_attach): Rename to ... | |
5147 | (linux_child_post_attach): ... this. Make static. | |
5148 | (child_follow_fork): Rename to ... | |
5149 | (linux_child_follow_fork): ... this. Make static. | |
5150 | (child_insert_fork_catchpoint): Rename to ... | |
5151 | (linux_child_insert_fork_catchpoint): ... this. Make static. | |
5152 | (child_insert_vfork_catchpoint): Rename to ... | |
5153 | (linux_child_insert_vfork_catchpoint): ... this. Make static. | |
5154 | (child_insert_exec_catchpoint): Rename to ... | |
5155 | (linux_child_insert_exec_catchpoint): ... this. Make static. | |
5156 | (child_pid_to_exec_file): Rename to ... | |
5157 | (linux_child_pid_to_exec_file): ... this. Make static. | |
5158 | Add prototype. | |
5159 | (linux_handle_extended_wait): Update call. | |
5160 | (linux_xfer_partial): Update callback routine names. | |
5161 | ||
d08950c4 UW |
5162 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5163 | ||
5164 | * configure.host (alpha*-*-osf[12]*): Remove support. | |
5165 | * NEWS: Mention removed configurations. | |
5166 | ||
5167 | * config/alpha/alpha-osf1.mh: Delete file. | |
5168 | * config/alpha/alpha-osf2.mh: Delete file. | |
5169 | * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove inftarg.o | |
5170 | and infptrace.o. | |
5171 | * config/alpha/nm-osf.h: Delete file. | |
5172 | * config/alpha/nm-osf2.h: Delete file. | |
5173 | * config/alpha/nm-osf3.h: Do not include "nm-osf2.h". | |
5174 | (START_INFERIOR_TRAPS_EXPECTED): Copy from nm-osf.h. | |
5175 | (PROCFS_DONT_TRACE_FAULTS): Copy from nm-osf2.h. | |
5176 | ||
5177 | * alpha-nat.c (ALPHA_UNIQUE_PTRACE_ADDR): Do not define. | |
5178 | (register_addr, kernel_u_size): Remove. | |
5179 | Do not check for "defined(USE_PROC_FS) || defined(HAVE_GREGSET_T)". | |
5180 | ||
9c5ea4d9 UW |
5181 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5182 | ||
5183 | * regcache.c (regcache_invalidate): New function. | |
5184 | (register_cached): Remove. | |
5185 | (set_register_cached): Remove. | |
5186 | (deprecated_registers_fetched): Remove. | |
5187 | (registers_changed): Use regcache_invalidate instead | |
5188 | of set_register_cached. | |
5189 | (regcache_raw_read): Update comment. | |
5190 | ||
5191 | * regcache.h (regcache_invalidate): Add prototype. | |
5192 | (register_cached): Remove. | |
5193 | (set_register_cached): Remove. | |
5194 | (deprecated_registers_fetched): Remove. | |
5195 | ||
5196 | * findvar.c (value_of_register): Do not call register_cached. | |
5197 | * frame.c (frame_register): Likewise. | |
5198 | * tui/tui-regs.c (tui_get_register): Likewise. | |
5199 | ||
5200 | * remote.c (fetch_register_using_p): Do not call set_register_cached. | |
5201 | (process_g_packet): Likewise. | |
5202 | (remote_fetch_registers): Likewise. | |
5203 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
5204 | * mt-tdep.c (mt_select_coprocessor): Replace set_register_cached call | |
5205 | by regcache_invalidate. | |
5206 | (mt_pseudo_register_write): Likewise. | |
5207 | * sh-tdep.c (sh_pseudo_register_write): Likewise. | |
5208 | ||
5209 | * corelow.c (get_core_registers): Replace deprecated_registers_fetched | |
5210 | call by loop over regcache_raw_supply (..., NULL). | |
5211 | ||
316f2060 UW |
5212 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5213 | ||
5214 | * target.h (struct target_ops): Add REGCACHE parameter to | |
5215 | to_prepare_to_store. | |
5216 | (target_prepare_to_store): Likewise. | |
5217 | * target.c (debug_to_prepare_to_store): Add REGCACHE parameter. | |
5218 | (update_current_target): Adapt prepare_to_store de_fault rule. | |
5219 | ||
5220 | * regcache.c (regcache_raw_write): Pass regcache to | |
5221 | target_prepare_to_store. | |
5222 | ||
5223 | * inftarg.c (child_prepare_to_store): Add REGCACHE parameter. | |
5224 | Do not call CHILD_PREPARE_TO_STORE. | |
5225 | * gnu-nat.c (gnu_prepare_to_store): Likewise. | |
5226 | * procfs.c (procfs_prepare_to_store): Likewise. | |
5227 | ||
5228 | * inf-child.c (inf_child_prepare_to_store): Add REGCACHE parameter. | |
5229 | * go32-nat.c (go32_prepare_to_store): Likewise. | |
5230 | * monitor.c (monitor_prepare_to_store): Likewise. | |
5231 | * nto-procfs.c (procfs_prepare_to_store): Likewise. | |
5232 | * remote-m32r-sdi.c (m32r_prepare_to_store): Likewise. | |
5233 | * remote-mips.c (mips_prepare_to_store): Likewise. | |
5234 | * remote-sim.c (gdbsim_prepare_to_store): Likewise. | |
5235 | * win32-nat.c (win32_prepare_to_store): Likewise. | |
5236 | ||
5237 | * remote.c (remote_prepare_to_store): Add REGCACHE parameter. | |
5238 | Use it instead of current_regcache. | |
5239 | ||
5240 | * hpux-thread.c (hpux_thread_prepare_to_store): Add REGCACHE | |
5241 | parameter. Pass it on to next target. | |
5242 | * sol-thread.c (sol_thread_prepare_to_store): Likewise. | |
5243 | ||
56be3814 UW |
5244 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5245 | ||
5246 | * target.h (struct regcache): Add forward declaration. | |
5247 | (struct target_ops): Add REGCACHE parameter to to_fetch_registers | |
5248 | and to_store_registers target operations. | |
5249 | (target_fetch_registers, target_store_registers): Update. | |
5250 | ||
5251 | * regcache.c (regcache_raw_read): Replace register_cached by | |
5252 | regcache_valid_p. Pass regcache to target_fetch_registers. | |
5253 | (regcache_raw_write): Pass regcache to target_store_registers. | |
5254 | ||
5255 | * arm-linux-nat.c (store_fpregister, store_fpregs, store_register, | |
5256 | store_regs, store_wmmx_regs): Replace register_cached by | |
5257 | regcache_valid_p. | |
5258 | ||
5259 | * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd): Pass current_regcache | |
5260 | to target_fetch_registers calls. | |
5261 | * corelow.c (core_open): Likewise. | |
5262 | * linux-nat.c (linux_nat_corefile_thread_callback): Likewise. | |
5263 | * proc-service.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs, | |
5264 | ps_lsetfpregs): Likewise. | |
5265 | * sol-thread.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs, | |
5266 | ps_lsetfpregs): Likewise. | |
5267 | * win32-nat.c (win32_resume): Likewise. | |
5268 | * ia64-tdep.c (ia64_store_return_value): Pass current_regcache | |
5269 | to target_store_registers call. | |
5270 | * rs6000-tdep.c (rs6000_push_dummy_call): Likewise. | |
5271 | ||
5272 | * inferior.h (store_inferior_registers): Update prototype. | |
5273 | (fetch_inferior_registers): Likewise. | |
5274 | * gnu-nat.c (gnu_store_registers, gnu_fetch_registers): Likewise. | |
5275 | * mips-linux-nat.c (super_fetch_registers, super_store_registers): | |
5276 | Update function pointer signatures. | |
5277 | ||
5278 | * aix-thread.c (aix_thread_fetch_registers): Add REGCACHE parameter, | |
5279 | use it instead of current_regcache, update calls. | |
5280 | (aix_thread_store_registers): Likewise. | |
5281 | * alphabsd-nat.c (alphabsd_fetch_inferior_registers): Likewise. | |
5282 | (alphabsd_store_inferior_registers): Likewise. | |
5283 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Likewise. | |
5284 | (amd64bsd_store_inferior_registers): Likewise. | |
5285 | * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Likewise. | |
5286 | (amd64_linux_store_inferior_registers): Likewise. | |
5287 | * arm-linux-nat.c (fetch_fpregister, fetch_fpregs, store_fpregister, | |
5288 | store_fpregs, fetch_register, fetch_regs, store_register, store_regs, | |
5289 | fetch_wmmx_regs, store_wmmx_regs): Likewise. | |
5290 | (arm_linux_fetch_inferior_registers): Likewise. | |
5291 | (arm_linux_store_inferior_registers): Likewise. | |
5292 | * armnbsd-nat.c (fetch_register, fetch_regs, fetch_fp_register, | |
5293 | fetch_fp_regs, armnbsd_fetch_registers): Likewise. | |
5294 | (store_register, store_regs, store_fp_register, store_fp_regs, | |
5295 | armnbsd_store_registers): Likewise. | |
5296 | * bsd-kvm.c (bsd_kvm_fetch_pcb, bsd_kvm_fetch_registers): Likewise. | |
5297 | * bsd-uthread.c (bsd_uthread_fetch_registers): Likewise. | |
5298 | (bsd_uthread_store_registers): Likewise. | |
5299 | * corelow.c (get_core_registers): Likewise. | |
5300 | * go32-nat.c (fetch_register, go32_fetch_registers, store_register, | |
5301 | go32_store_registers): Likewise. | |
5302 | * hppabsd-nat.c (hppabsd_fetch_registers): Likewise. | |
5303 | (hppabsd_store_registers): Likewise. | |
5304 | * hppa-hpux-nat.c (hppa_hpux_fetch_register): Likewise. | |
5305 | (hppa_hpux_fetch_inferior_registers): Likewise. | |
5306 | (hppa_hpux_store_register): Likewise. | |
5307 | (hppa_hpux_store_inferior_registers): Likewise. | |
5308 | * hppa-linux-nat.c (fetch_register, store_register): Likewise. | |
5309 | (hppa_linux_fetch_inferior_registers): Likewise. | |
5310 | (hppa_linux_store_inferior_registers): Likewise. | |
5311 | * hpux-thread.c (hpux_thread_fetch_registers): Likewise. | |
5312 | (hpux_thread_store_registers): Likewise. | |
5313 | * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Likewise. | |
5314 | (i386bsd_store_inferior_registers): Likewise. | |
5315 | * i386gnu-nat.c (fetch_fpregs, gnu_fetch_registers, store_fpregs, | |
5316 | gnu_store_registers): Likewise. | |
5317 | * i386-linux-nat.c (fetch_register, store_register, fetch_regs, | |
5318 | store_regs, fetch_fpregs, store_fpregs, fetch_fpxregs, store_fpxregs): | |
5319 | Likewise. | |
5320 | (i386_linux_fetch_inferior_registers): Likewise. | |
5321 | (i386_linux_store_inferior_registers): Likewise. | |
5322 | * ia64-linux-nat.c (ia64_linux_fetch_register): Likewise. | |
5323 | (ia64_linux_fetch_registers): Likewise. | |
5324 | (ia64_linux_store_register): Likewise. | |
5325 | (ia64_linux_store_registers): Likewise. | |
5326 | * inf-child.c (inf_child_fetch_inferior_registers): Likewise. | |
5327 | (inf_child_store_inferior_registers): Likewise. | |
5328 | * inf-ptrace.c (inf_ptrace_fetch_register): Likewise. | |
5329 | (inf_ptrace_fetch_registers): Likewise. | |
5330 | (inf_ptrace_store_register): Likewise. | |
5331 | (inf_ptrace_store_registers): Likewise. | |
5332 | * infptrace.c (fetch_register, store_register): Likewise. | |
5333 | (fetch_inferior_registers, store_inferior_registers): Likewise. | |
5334 | * m32r-linux-nat.c (fetch_regs, store_regs): Likewise. | |
5335 | (m32r_linux_fetch_inferior_registers): Likewise. | |
5336 | (m32r_linux_store_inferior_registers): Likewise. | |
5337 | * m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Likewise. | |
5338 | (m68kbsd_store_inferior_registers): Likewise. | |
5339 | * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers, | |
5340 | store_register, old_store_inferior_registers, fetch_regs, store_regs, | |
5341 | fetch_fpregs, store_fpregs): Likewise. | |
5342 | (m68k_linux_fetch_inferior_registers): Likewise. | |
5343 | (m68k_linux_store_inferior_registers): Likewise. | |
5344 | * m88kbsd-nat.c (m88kbsd_fetch_inferior_registers): Likewise. | |
5345 | (m88kbsd_store_inferior_registers): Likewise. | |
5346 | * mips64obsd-nat.c (mips64obsd_fetch_inferior_registers): Likewise. | |
5347 | (mips64obsd_store_inferior_registers): Likewise. | |
5348 | * mips-linux-nat.c (mips64_linux_regsets_fetch_registers): Likewise. | |
5349 | (mips64_linux_regsets_store_registers): Likewise. | |
5350 | (mips64_linux_fetch_registers): Likewise. | |
5351 | (mips64_linux_store_registers): Likewise. | |
5352 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers): Likewise. | |
5353 | (mipsnbsd_store_inferior_registers): Likewise. | |
5354 | * monitor.c (monitor_fetch_register, monitor_store_register): Likewise. | |
5355 | (monitor_fetch_registers, monitor_store_registers): Likewise. | |
5356 | * nto-procfs.c (procfs_fetch_registers): Likewise. | |
5357 | (procfs_store_registers): Likewise. | |
5358 | * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register, | |
5359 | fetch_register, supply_vrregset, fetch_altivec_registers, | |
5360 | fetch_ppc_registers, ppc_linux_fetch_inferior_registers): Likewise. | |
5361 | (store_altivec_register, store_spe_register, store_register, | |
5362 | fill_vrregset, store_altivec_registers, store_ppc_registers, | |
5363 | ppc_linux_store_inferior_registers): Likewise. | |
5364 | * ppcnbsd-nat.c (ppcnbsd_fetch_inferior_registers): Likewise. | |
5365 | (ppcnbsd_store_inferior_registers): Likewise. | |
5366 | * ppcobsd-nat.c (ppcobsd_fetch_registers): Likewise. | |
5367 | (ppcobsd_store_registers): Likewise. | |
5368 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
5369 | * remote.c (fetch_register_using_p, process_g_packet, | |
5370 | fetch_registers_using_g, remote_fetch_registers): Likewise. | |
5371 | (store_register_using_P, store_registers_using_G, | |
5372 | remote_store_registers): Likewise. | |
5373 | * remote-m32r-sdi.c (m32r_fetch_registers, m32r_fetch_register, | |
5374 | m32r_store_register, m32r_store_register): Likewise. | |
5375 | * remote-mips.c (mips_fetch_registers, mips_store_registers): Likewise. | |
5376 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
5377 | (gdbsim_store_register): Likewise. | |
5378 | * rs6000-nat.c (fetch_register, store_register): Likewise. | |
5379 | (rs6000_fetch_inferior_registers): Likewise. | |
5380 | (rs6000_store_inferior_registers): Likewise. | |
5381 | * s390-nat.c (fetch_regs, store_regs): Likewise. | |
5382 | (fetch_fpregs, store_fpregs): Likewise. | |
5383 | (s390_linux_fetch_inferior_registers): Likewise. | |
5384 | (s390_linux_store_inferior_registers): Likewise. | |
5385 | * shnbsd-nat.c (shnbsd_fetch_inferior_registers): Likewise. | |
5386 | (shnbsd_store_inferior_registers): Likewise. | |
5387 | * sol-thread.c (sol_thread_fetch_registers): Likewise. | |
5388 | (sol_thread_store_registers): Likewise. | |
5389 | * sparc-nat.c (fetch_inferior_registers): Likewise. | |
5390 | (store_inferior_registers): Likewise. | |
5391 | * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise. | |
5392 | (spu_store_inferior_registers): Likewise. | |
5393 | * target.c (debug_print_register): Likewise. | |
5394 | (debug_to_fetch_registers, debug_to_store_registers): Likewise. | |
5395 | * vaxbsd-nat.c (vaxbsd_fetch_inferior_registers): Likewise. | |
5396 | (vaxbsd_store_inferior_registers): Likewise. | |
5397 | * win32-nat.c (do_win32_fetch_inferior_registers): Likewise. | |
5398 | (win32_fetch_inferior_registers): Likewise. | |
5399 | (win32_store_inferior_registers): Likewise. | |
5400 | ||
9eefc95f UW |
5401 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5402 | ||
5403 | * gdbcore.h (struct regcache): Add forward declaration. | |
5404 | (struct core_fns): Add REGCACHE argument to core_read_registers | |
5405 | callback. | |
5406 | * corelow.c (get_core_register_section): Add REGCACHE argument, | |
5407 | use it instead of current_regcache, pass it to core_read_registers | |
5408 | callback. | |
5409 | (get_core_registers): Add current_regcache as parameter to | |
5410 | get_core_register_section calls. | |
5411 | ||
5412 | * alpha-nat.c (fetch_osf_core_registers): Add REGCACHE argument, | |
5413 | use it instead of current_regcache. | |
5414 | * armnbsd-nat.c (fetch_core_registers): Likewise. | |
5415 | (fetch_elfcore_registers): Likewise. | |
5416 | * core-regset.c (fetch_core_registers): Likewise. | |
5417 | * cris-tdep.c (fetch_core_registers): Likewise. | |
5418 | * irix5-nat.c (fetch_core_registers): Likewise. | |
5419 | * m68klinux-nat.c (fetch_core_registers): Likewise. | |
5420 | * mips-linux-tdep.c (fetch_core_registers): Likewise. | |
5421 | * win32-nat.c (fetch_elf_core_registers): Likewise. | |
5422 | ||
7f7fe91e UW |
5423 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5424 | ||
5425 | * gregset.h (struct regcache): Add forward declaration. | |
5426 | (supply_gregset): Add REGCACHE parameter, make GREGS const. | |
5427 | (supply_fpregset): Add REGCACHE parameter, make FPREGS const. | |
5428 | (supply_fpxregset): Add REGCACHE parameter, make FPXREGS const. | |
5429 | (fill_gregset): Add REGCACHE parameter. | |
5430 | (fill_fpregset): Likewise. | |
5431 | (fill_fpxregset): Likewise. | |
5432 | ||
5433 | Update all definitions accordingly: | |
5434 | * alphabsd-nat.c, alpha-linux-nat.c, alpha-nat.c, amd64-linux-nat.c, | |
5435 | arm-linux-nat.c, hppa-linux-nat.c, i386gnu-nat.c, i386-linux-nat.c, | |
5436 | i386-sol2-nat.c, i386v4-nat.c, ia64-linux-nat.c, irix5-nat.c, | |
5437 | m32r-linux-nat.c, m68klinux-nat.c, mips-linux-nat.c, ppc-linux-nat.c, | |
5438 | s390-nat.c, sparc64-linux-nat.c, sparc-linux-nat.c, sparc-sol2-nat.c | |
5439 | (supply_gregset): Add REGCACHE parameter, use it instead of | |
5440 | current_regcache. Make GREGSETP parameter const, adapt casts. | |
5441 | (supply_fpregset): Add REGCACHE parameter, use it instead of | |
5442 | current_regcache. Make FPREGSETP parameter const, adapt casts. | |
5443 | (fill_gregset): Add REGCACHE parameter, use it instead of | |
5444 | current_regcache. | |
5445 | (fill_fpregset): Likewise. | |
5446 | ||
5447 | Update all callers to pass in current_regcache as the new argument: | |
5448 | * core-regset.c: Include "regcache.h". | |
5449 | (fetch_core_registers): Update supply_gregset,and supply_fpregset calls. | |
5450 | * procfs.c: Include "regcache.h". | |
5451 | (procfs_fetch_registers): Update supply_gregset, supply_fpregset calls. | |
5452 | (procfs_store_registers): Update fill_gregset, fill_fpregset calls. | |
5453 | (procfs_do_thread_registers): Likewise. | |
5454 | (procfs_make_note_section): Likewise. | |
5455 | * proc-service.c: Include "regcache.h". | |
5456 | (ps_lgetregs): Update fill_gregset call. | |
5457 | (ps_lsetregs): Update supply_gregset call. | |
5458 | (ps_lgetfpregs): Update fill_fpregset call. | |
5459 | (ps_lsetfpregs): Update supply_fpregset call. | |
5460 | * sol-thread.c (sol_thread_fetch_registers): Update supply_gregset, | |
5461 | supply_fpregset calls. | |
5462 | (sol_thread_store_registers): Update fill_gregset, fill_fpregset calls. | |
5463 | (ps_lgetregs): Update fill_gregset call. | |
5464 | (ps_lsetregs): Update supply_gregset call. | |
5465 | (ps_lgetfpregs): Update fill_fpregset call. | |
5466 | (ps_lsetfpregs): Update supply_fpregset call. | |
5467 | ||
5468 | * linux-nat.c (linux_nat_do_thread_registers): Update fill_gregset, | |
5469 | fill_fpregset, and fill_fpxregset calls. | |
5470 | * i386-linux-nat.c (fetch_regs): Update supply_gregset call. | |
5471 | (store_regs): Update fill_gregset call. | |
5472 | (fetch_fpregs): Update supply_fpregset call. | |
5473 | (store_fpregs): Update fill_fpregset call. | |
5474 | (fetch_fpxregs): Update supply_fpxregset call. | |
5475 | (store_fpxregs): Update fill_fpxregset call. | |
5476 | * m32r-linux-nat.c (fetch_regs): Update supply_gregset call. | |
5477 | (store_regs): Update fill_gregset call. | |
5478 | * m68klinux-nat.c (fetch_regs): Update supply_gregset call. | |
5479 | (store_regs): Update fill_gregset call. | |
5480 | (fetch_fpregs): Update supply_fpregset call. | |
5481 | (store_fpregs): Update fill_fpregset call. | |
5482 | (fetch_core_registers): Update supply_gregset, supply_fpregset calls. | |
5483 | * s390-nat.c (fetch_regs): Update supply_gregset call. | |
5484 | (store_regs): Update fill_gregset call. | |
5485 | (fetch_fpregs): Update supply_fpregset call. | |
5486 | (store_fpregs): Update fill_fpregset call. | |
5487 | ||
5488 | * Makefile.in (core-regset.o, procfs.o, proc-service.o): Update | |
5489 | dependencies. | |
5490 | ||
c410a84c UW |
5491 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5492 | ||
5493 | * monitor.c (monitor_supply_register): Add REGCACHE parameter, use | |
5494 | it instead of current_regcache. | |
5495 | (parse_register_dump): Add REGCACHE parameter, pass it to | |
5496 | supply_register callback. | |
5497 | (monitor_dump_reg_block): Add REGCACHE parameter, pass it to | |
5498 | parse_register_dump. | |
5499 | (monitor_dump_regs): Add REGCACHE parameter, pass it to | |
5500 | parse_register_dump and dumpregs callback. | |
5501 | (monitor_wait): Pass current_regcache to parse_register_dump and | |
5502 | monitor_dump_regs. | |
5503 | (monitor_fetch_register): Pass current_regcache to | |
5504 | monitor_supply_register. | |
5505 | (monitor_fetch_registers): Pass current_regcache to | |
5506 | monitor_dump_regs. | |
5507 | * monitor.h (struct monitor_ops): Add REGCACHE parameter to | |
5508 | supply_register and dumpregs callbacks. | |
5509 | (monitor_supply_register, monitor_dump_reg_block): Update | |
5510 | prototypes. | |
5511 | * dbug-rom.c (dbug_supply_register): Add REGCACHE parameter. Pass | |
5512 | it to monitor_supply_register. | |
5513 | * dink32-rom.c (dink32_supply_register): Likewise. | |
5514 | * ppcbug-rom.c (ppcbug_supply_register): Likewise. | |
5515 | * m32r-rom.c (m32r_supply_register): Likewise. Also, use REGCACHE | |
5516 | instead of current_regcache. | |
5517 | ||
468e3d51 UW |
5518 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5519 | ||
5520 | * i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset): | |
5521 | Add REGCACHE parameter. Use it instead of current_regcache. | |
5522 | (i386nto_supply_regset): Add REGCACHE parameter, pass it to | |
5523 | i386nto_supply_gregset and i386nto_supply_fpregset. | |
5524 | (i386nto_regset_fill): Add REGCACHE parameter; use it instead | |
5525 | of current_regcache. | |
5526 | ||
5527 | * nto-procfs.c (procfs_fetch_registers): Pass current_regcache to | |
5528 | nto_supply_ helper functions. | |
5529 | (procfs_store_registers): Pass current_regcache to nto_regset_fill. | |
5530 | ||
5531 | * nto-tdep.c (nto_dummy_supply_regset): Add REGCACHE parameter. | |
5532 | ||
5533 | * nto-tdep.h (struct nto_target_ops): Add REGCACHE parameter to | |
5534 | supply_greget, supply_fpregset, supply_altregset, supply_regset, | |
5535 | and regset_fill member function pointers. | |
5536 | (nto_dummy_supply_regset): Adapt prototype. | |
5537 | ||
4e3269e3 UW |
5538 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5539 | ||
5540 | * shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it | |
5541 | instead of current_regcache. Make REGS const. | |
5542 | (shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache. | |
5543 | * shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update | |
5544 | prototypes. | |
5545 | * shnbsd-nat.c: Include "regcache.h". | |
5546 | (shnbsd_fetch_inferior_registers): Pass current_regcache to | |
5547 | shnbsd_supply_reg. | |
5548 | (shnbsd_store_inferior_registers): Pass current_regcache to | |
5549 | shnbsd_fill_reg. | |
5550 | * Makefile.in (shbsd-nat.o): Update dependencies. | |
5551 | ||
28f5035f UW |
5552 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5553 | ||
5554 | * mips-linux-tdep.c (supply_32bit_reg): Add REGCACHE parameter. Use it | |
5555 | instead of current_regcache. | |
5556 | (mips_supply_gregset): Likewise. Pass REGCACHE to supply_32bit_reg. | |
5557 | Make GREGSETP const, remove superfluous casts. | |
5558 | (mips_fill_gregset): Add REGCACHE parameter; replace current_regcache. | |
5559 | (mips_supply_fpregset): Likewise. Make FPREGSETP const, remove | |
5560 | superfluous casts. | |
5561 | (mips_fill_fpregset): Add REGCACHE parameter; replace current_regcache. | |
5562 | (supply_64bit_reg): Likewise | |
5563 | (mips64_supply_gregset): Likewise. Pass REGCACHE to supply_64bit_reg. | |
5564 | Make GREGSETP const, adapt casts accordingly. | |
5565 | (mips64_fill_gregset): Add REGCACHE parameter; replace current_regcache. | |
5566 | (mips64_supply_fpregset): Likewise. Make FPREGSET const, adapt | |
5567 | casts accordingly. | |
5568 | (mips64_fill_fpregset): Add REGCACHE parameter; replace current_regcache. | |
5569 | (fetch_core_registers): Pass current_regcache to mips{64}_(supply|fill)_ | |
5570 | helper routines. | |
5571 | * mips-linux-tdep.h (mips_supply_gregset, mips_fill_gregset, | |
5572 | mips_supply_fpregset, mips_fill_fpregset, mips64_supply_gregset, | |
5573 | mips64_fill_gregset, mips64_supply_fpregset, mips64_fill_fpregset): | |
5574 | Adapt prototypes. | |
5575 | * mips-linux-nat.c: Include "regcache.h". | |
5576 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass | |
5577 | current_regcache to mips{64}_(supply|fill)_ helper routines. | |
5578 | (mips64_linux_regsets_fetch_registers): Likewise. | |
5579 | (mips64_linux_regsets_store_registers): Likewise. | |
5580 | ||
5581 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): Add | |
5582 | REGCACHE argument; replace current_regcache. Make REGS const. | |
5583 | (mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Add REGCACHE argument; | |
5584 | replace current_regcache. | |
5585 | * mipsnbsd-tdep.h (ipsnbsd_supply_reg, mipsnbsd_supply_fpreg, | |
5586 | mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Adapt prototypes. | |
5587 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers, | |
5588 | mipsnbsd_store_inferior_registers): Pass current_regcache to | |
5589 | mipsnbsd_(supply|fill)_... helper routines. | |
5590 | ||
5591 | * Makefile.in (mips-linux-nat.o): Update dependencies. | |
5592 | ||
26144df5 UW |
5593 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5594 | ||
5595 | * i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove. | |
5596 | * i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes. | |
5597 | * i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace | |
5598 | i387_fill_fsave and i387_fill_fxsave calls by inline copies. | |
5599 | * i386-nto-tdep.c (i386nto_regset_fill): Likewise. | |
5600 | * i386gnu-nat.c (store_fpregs): Likewise. | |
5601 | * i386v4-nat.c (fill_fpregset): Likewise. | |
5602 | * go32-nat.c (store_register, go32_store_registers): Likewise. | |
5603 | ||
c6b4e5a2 UW |
5604 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5605 | ||
5606 | * cris-tdep.c (supply_gregset): Rename to ... | |
5607 | (cris_supply_gregset): ... this. Add REGCACHE parameter. Use it | |
5608 | instead of current_regcache. | |
5609 | (fetch_core_registers): Update call. Pass current_regcache. | |
5610 | ||
d683e2b7 UW |
5611 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5612 | ||
5613 | * arnmnbsd-nat.c (supply_gregset): Rename to ... | |
5614 | (arm_supply_gregset): ... this. Add REGCACHE parameter. | |
5615 | Use it instead of current_regcache. | |
5616 | (supply_fparegset): Rename to ... | |
5617 | (arm_supply_fparegset): ... this. Add REGCACHE parameter. | |
5618 | Use it instead of current_regcache. | |
5619 | (fetch_regs, fetch_fp_regs): Update calls. Pass current_regcache. | |
5620 | (fetch_core_registers, fetch_elfcore_registers): Likewise. | |
5621 | ||
390c1522 UW |
5622 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5623 | ||
5624 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs, | |
5625 | alpha_supply_fp_regs, alpha_fill_fp_regs): Add REGCACHE parameter, | |
5626 | use it instead of current_regcache. | |
5627 | * alpha-tdep.h (struct regcache): Add forward declaration. | |
5628 | (alpha_supply_int_regs, alpha_fill_int_regs, alpha_supply_fp_regs, | |
5629 | alpha_fill_fp_regs): Update prototypes. | |
5630 | ||
5631 | * alpha-nat.c: (supply_gregset, fill_gregset, supply_fpregset, | |
5632 | fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines. | |
5633 | * alpha-linux-nat.c: Include "regcache.h". | |
5634 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass | |
5635 | current_regcache to alpha_supply/fill_ routines. | |
5636 | ||
5637 | * alphabsd-tdep.c: Include "regcache.h". | |
5638 | (alphabsd_supply_reg, alphabsd_supply_fpreg): Add REGCACHE paramter, | |
5639 | pass it to alpha_supply_ routines. Make REGS const. | |
5640 | (alphabsd_fill_reg, alphabsd_fill_fpreg): Add REGCACHE parameter, | |
5641 | pass it to alpha_fill_ routines. | |
5642 | * alphabsd-tdep.h (struct regcache): Add forward declaration. | |
5643 | (alphabsd_supply_reg, alphabsd_fill_reg, alphabsd_supply_fpreg, | |
5644 | alphabsd_fill_fpreg): Update prototypes. | |
5645 | ||
5646 | * alphanbsd-nat.c (supply_gregset, fill_gregset, supply_fpregset, | |
5647 | fill_fpregset, alphabsd_fetch_inferior_registers, | |
5648 | alphabsd_store_inferior_registers): Pass current_regcache to | |
5649 | alphabsd_supply/fill_ routines. | |
5650 | ||
5651 | * Makefile.in (alpha-linux-nat.o, alphabsd-tdep.o): Update | |
5652 | dependencies. | |
5653 | ||
647478e0 UW |
5654 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5655 | ||
5656 | * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs, | |
5657 | supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it | |
5658 | instead of current_regcache. | |
5659 | (fetch_regs_user_thread, fetch_regs_kernel_thread): Add | |
5660 | REGCACHE parameter, pass it to supply_ routines. | |
5661 | (aix_thread_fetch_registers): Pass current_regcache to | |
5662 | fetch_regs_user_thread and fetch_regs_kernel_thread. | |
5663 | ||
5664 | (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32): | |
5665 | Add REGCACHE parameter, use it instead of current_regcache. | |
5666 | Call regcache_valid_p instead of register_cached. | |
5667 | (store_regs_user_thread, store_regs_kernel_thread): Likewise. | |
5668 | Also, pass REGCACHE to fill_ routines. | |
5669 | (aix_thread_store_registers): Pass current_regcache to | |
5670 | store_regs_user_thread and store_regs_kernel_thread. | |
5671 | ||
d817e083 UW |
5672 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5673 | ||
5674 | * m32r-linux-nat.c (supply_gregset): Do not modify contents | |
5675 | pointed to by GREGSETP. | |
5676 | ||
6a1872e4 UW |
5677 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5678 | ||
5679 | * irix5-nat.c (fill_gregset): Use regcache_raw_collect instead | |
5680 | of regcache_raw_read_signed. | |
5681 | (fill_fpregset): Use regcache_raw_collect instead of | |
5682 | regcache_raw_read. | |
5683 | ||
6da397e0 KB |
5684 | 2007-05-03 Kevin Buettner <kevinb@redhat.com> |
5685 | ||
5686 | * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating | |
5687 | point arguments, test explicitly for use of the EABI32 ABI | |
5688 | instead of inferring this condition from tests on register | |
5689 | sizes. | |
5690 | ||
2219d63c KB |
5691 | 2007-05-03 Kevin Buettner <kevinb@redhat.com> |
5692 | ||
5693 | * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address | |
5694 | prior to allocating its location. | |
5695 | ||
2afd3f0a MR |
5696 | 2007-05-02 Maciej W. Rozycki <macro@mips.com> |
5697 | ||
5698 | * mips-tdep.c (mips_o32_push_dummy_call): Remove conditions | |
5699 | based on mips_abi_regsize() whose result is known in advance. | |
5700 | (mips_o64_push_dummy_call): Likewise. | |
5701 | ||
3e00823e UW |
5702 | 2007-04-29 Ulrich Weigand <uweigand@de.ibm.com> |
5703 | ||
5704 | * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check. | |
5705 | * m68k-tdep.c: Remove code within #ifdef USE_PROC_FS. | |
5706 | ||
5707 | * mips-linux-nat.c: Include "gregset.h". | |
5708 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move | |
5709 | from mips-linux-tdep.c. Change parameter type to gdb_gregset_t. | |
5710 | * mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset, | |
5711 | fill_fpregset): Move to mips-linux-nat.c. | |
5712 | ||
5713 | * Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies. | |
5714 | ||
81c4a259 UW |
5715 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
5716 | ||
5717 | * regcache.c (deprecated_read_register_gen): Remove, inline ... | |
5718 | (read_register): ... here. | |
5719 | (deprecated_write_register_gen): Remove, inline ... | |
5720 | (write_register): ... here. | |
5721 | * regcache.h (deprecated_read_register_gen): Remove prototype. | |
5722 | (deprecated_write_register_gen): Likewise. | |
5723 | ||
5724 | * remote-sim.c (gdbsim_store_register): Replace call to | |
5725 | deprecated_read_register_gen with regcache_cooked_read. | |
5726 | * target.c (debug_print_register): Replace calls to | |
5727 | deprecated_read_register_gen and read_register with | |
5728 | regcache_cooked_read. | |
5729 | ||
8bb42077 UW |
5730 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
5731 | ||
5732 | * hpux-thread.c (hpux_thread_store_registers): Use | |
5733 | regcache_raw_collect, not regcache_raw_read. | |
5734 | * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply, | |
5735 | not regcache_raw_write. | |
5736 | ||
6ed7ea50 UW |
5737 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
5738 | ||
5739 | * gdbarch.sh: Remove deprecated_register_byte. | |
5740 | * gdbarch.c, gdbarch.h: Regenerate. | |
5741 | * arch-utils.h (generic_register_size, generic_register_byte): Remove. | |
5742 | * arch-utils.c (generic_register_size, generic_register_byte): Remove. | |
5743 | ||
5744 | * regcache.h (regcache_valid_p): Make REGCACHE parameter const. | |
5745 | * regcache.c (regcache_valid_p): Allow to query cooked registers in | |
5746 | read-only register caches. Make REGCACHE parameter const. | |
5747 | (regcache_dump): Do not check DEPRECATED_REGISTER_BYTE. | |
5748 | ||
5749 | * mi/mi-main.c (old_regs): Remove. | |
5750 | (mi_setup_architecture_data, _initialize_mi_main): Remove. | |
5751 | (register_changed_p): Reimplement to compare two register caches. | |
5752 | (mi_cmd_data_list_changed_registers): Update caller. | |
5753 | * mi/mi-main.h (mi_setup_architecture_data): Remove. | |
5754 | * mi/mi-interp.c (mi_interpreter_init): Do not call | |
5755 | mi_setup_architecture_data. | |
5756 | ||
efc72ef5 UW |
5757 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
5758 | ||
5759 | * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define, | |
5760 | inline definition at the places the macros are used. | |
5761 | * alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise. | |
5762 | ||
7a61a01c UW |
5763 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
5764 | ||
5765 | * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and | |
5766 | "gdb_string.h". | |
5767 | (rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables. | |
5768 | (rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions. | |
5769 | (rs6000_aix32_regset, rs6000_aix64_regset): New variables. | |
5770 | (rs6000_aix_regset_from_core_section): New function. | |
5771 | (rs6000_aix_init_osabi): Register it. | |
5772 | (_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and | |
5773 | sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000. | |
5774 | * rs6000-nat.c (CoreRegs): Do not define type. | |
5775 | (fetch_core_registers, rs6000_core_fns): Remove. | |
5776 | (_initialize_core_rs6000): Do not register it. Rename to ... | |
5777 | (_initialize_rs6000_nat): ... this. | |
5778 | * Makefile.in (rs6000-aix-tdep.o): Update dependencies. | |
5779 | ||
ace186d4 KB |
5780 | 2007-04-27 Kevin Buettner <kevinb@redhat.com> |
5781 | ||
5782 | * dwarf2expr.c (unsigned_address_type): Add forward declaration. | |
5783 | (dwarf2_read_address): Sign extend return address as required by | |
5784 | target architecture. | |
5785 | ||
89a7ee67 KB |
5786 | 2007-04-27 Kevin Buettner <kevinb@redhat.com> |
5787 | ||
5788 | * solib-frv.c (lm_base): Bail out if the main executable has | |
5789 | not been relocated. | |
5790 | ||
6afb1f32 UW |
5791 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
5792 | ||
5793 | * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location | |
5794 | of FPCR register in fpregset. | |
5795 | ||
66a0218a MR |
5796 | 2007-04-27 Maciej W. Rozycki <macro@mips.com> |
5797 | ||
5798 | * Makefile.in (gdbtk-wrapper.o): Update dependencies. | |
5799 | (gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise. | |
5800 | ||
482f7fee UW |
5801 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
5802 | ||
5803 | * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove. | |
5804 | * rs6000-nat.c (rs6000_wait): New function. | |
5805 | (_initialize_core_rs6000): Install it as to_wait target method. | |
5806 | * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS. | |
5807 | ||
1f480a5e UW |
5808 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
5809 | ||
5810 | * config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove. | |
5811 | * fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK. | |
5812 | * rs6000-nat.c (super_create_inferior): New variable. | |
5813 | (rs6000_create_inferior): Make static. Adapt argument list. Call | |
5814 | original version of create_inferior via super_create_inferior. | |
5815 | (_initialize_core_rs6000): Install to_create_inferior target method. | |
5816 | ||
037a727e UW |
5817 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
5818 | ||
5819 | * aix-thread.c (aix_thread_xfer_memory): Replace by ... | |
5820 | (aix_thread_xfer_partial): ... this. | |
5821 | (init_aix_thread_ops): Install to_xfer_partial instead | |
5822 | of deprecated_xfer_memory target method. | |
5823 | ||
5824 | * config/powerpc/aix.mh (NATDEPFILES): Remove infptrace.o | |
5825 | and inftarg.o, add inf-ptrace.o. | |
5826 | * config/rs6000/nm-rs6000.h (FETCH_INFERIOR_REGISTERS, | |
5827 | CHILD_XFER_MEMORY, KERNEL_U_SIZE, kernel_u_size): Remove. | |
5828 | * rs6000-nat.c: Include "inf-ptrace.h" and "gdb_stdint.h". | |
5829 | (fetch_inferior_registers): Rename to ... | |
5830 | (rs6000_fetch_inferior_registers): ... this. Make static. | |
5831 | (store_inferior_registers): Rename to ... | |
5832 | (rs6000_store_inferior_registers): ... this. Make static. | |
5833 | (read_word, child_xfer_memory): Remove. | |
5834 | (rs6000_xfer_partial): New function. | |
5835 | (kernel_u_size): Remove. | |
5836 | (_initialize_core_rs6000): Add inf_ptrace-based target. | |
5837 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
5838 | ||
f7dd0ed7 UW |
5839 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
5840 | ||
5841 | * inf-ptrace.c: Include "gdb_stdint.h". | |
5842 | (inf_ptrace_xfer_partial): Use "uintptr_t" instead of "long" as | |
5843 | intermediate type when casting CORE_ADDR to PTRACE_TYPE_ARG3. | |
5844 | (inf_ptrace_fetch_register): Add intermediate cast to "uintptr_t" | |
5845 | before casting CORE_ADDR to PTRACE_TYPE_ARG3. | |
5846 | (inf_ptrace_store_register): Likewise. | |
5847 | * Makefile.in (inf-ptrace.o): Update dependencies. | |
5848 | ||
d9178763 UW |
5849 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
5850 | ||
5851 | * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules. | |
5852 | * configure.tgt (rs6000-*-*): Likewise. | |
5853 | * config/rs6000/aix4.mh: Delete file. | |
5854 | * config/rs6000/aix4.mt: Delete file. | |
5855 | * config/rs6000/rs6000.mh: Delete file. | |
5856 | * config/rs6000/rs6000.mt: Delete file. | |
5857 | ||
5858 | * config/powerpc/nm-aix.h: Delete file. | |
5859 | * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h. | |
5860 | ||
0d16ee5d UW |
5861 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
5862 | ||
5863 | * aix-thread.c (fill_sprs32): Change argument types to "uint32_t *". | |
5864 | Remove obsolete part of comment. | |
5865 | (store_regs_user_thread): Use uint32_t temporaries when calling | |
5866 | fill_sprs32. | |
5867 | (store_regs_kernel_thread): Likewise. Add assertion to verify | |
5868 | correct size of struct ptsprs members. | |
5869 | (aix_thread_xfer_memory): Fix type of myaddr. | |
5870 | (aix_thread_extra_thread_info): Fix compiler warning. | |
5871 | * rs6000-nat.c (rs6000_ptrace64): Change type of buf to "void *". | |
5872 | (fetch_register, store_register): Adapt callers. | |
5873 | ||
1e8877aa UW |
5874 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
5875 | ||
5876 | * vec.h (vec_free): Rename to vec_free_. Adapt users. | |
5877 | ||
b02f9d57 UW |
5878 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
5879 | ||
5880 | * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h", | |
5881 | and "regcache.h". | |
5882 | (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New. | |
5883 | (alpha_linux_gregset, alpha_linux_fpregset): New variables. | |
5884 | (alpha_linux_regset_from_core_section): New function. | |
5885 | (alpha_linux_init_abi): Install it. | |
5886 | * alpha-linux-nat.c: Do not include "gdbcore.h". Include | |
5887 | "alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>, | |
5888 | <sys/procfs.h>, and "gregset.h". | |
5889 | (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR): | |
5890 | Move from config/alpha/nm-linux.h. | |
5891 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy | |
5892 | from alpha-nat.c. | |
5893 | (alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c. | |
5894 | * alpha-nat.c: Remove #ifdef __linux__ section. | |
5895 | (fetch_elf_core_registers, alpha_elf_core_fns): Remove. | |
5896 | (_initialize_core_alpha): Do not register alpha_elf_core_fns. | |
5897 | (ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally. | |
5898 | (ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h. | |
5899 | * config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
5900 | (NATDEPFILES): Remove alpha-nat.o. | |
5901 | * config/alpha/nm-linux.h: Delete file. | |
5902 | * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c. | |
5903 | * Makefile.in (alpha-linux-nat.o): Update dependencies. | |
5904 | (alpha-linux-tdep.o): Likewise. | |
5905 | ||
dda0c97e UW |
5906 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
5907 | ||
5908 | * mips-linux-nat.c: No longer include "gdbcore.h". | |
5909 | (mips_linux_register_addr): Move from mips-linux-tdep.c. | |
5910 | (mips64_linux_register_addr): Likewise. | |
5911 | (mips_linux_register_u_offset): Call mips_linux_register_addr or | |
5912 | mips64_linux_register_addr instead of register_addr. | |
5913 | * mips-linux-tdep.c (mips_linux_register_addr, | |
5914 | mips64_linux_register_addr): Move to mips-linux-nat.c. | |
5915 | (register_addr): Remove. | |
5916 | (register_addr_data, init_register_addr_data): Remove. | |
5917 | (_initialize_mips_linux_tdep): Do not initialize register_addr_data. | |
5918 | (set_mips_linux_register_addr): Remove. | |
5919 | (mips_linux_init_abi): Do not call set_mips_linux_register_addr. | |
5920 | * Makefile.in (mips-linux-nat.o): Update dependencies. | |
5921 | ||
910122bf UW |
5922 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
5923 | ||
5924 | * linux-nat.c (linux_register_u_offset): Remove. | |
5925 | (linux_target_install_ops): New function. | |
5926 | (linux_target): Use it. | |
5927 | (linux_trad_target): New function. | |
5928 | * linux-nat.h (linux_trad_target): Declare. | |
5929 | ||
5930 | * alpha-linux-nat.c: Include "gdbcore.h". | |
5931 | (alpha_linux_register_u_offset): New function. | |
5932 | (_initialize_alpha_linux_nat): Use linux_trad_target. | |
5933 | ||
5934 | * mips-linux-nat.c: Include "gdbcore.h". | |
5935 | (mips_linux_register_u_offset): New function. | |
5936 | (_initialize_mips_linux_nat): Use linux_trad_target. | |
5937 | ||
5938 | * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
5939 | * config/arm/nm-linux.h: Delete file. | |
5940 | ||
5941 | * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove. | |
5942 | * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove. | |
5943 | ||
5944 | * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
5945 | * config/ia64/nm-linux.h: Delete file. | |
5946 | ||
5947 | * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
5948 | * config/m32r/nm-linux.h: Delete file. | |
5949 | ||
5950 | * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
5951 | * config/m68k/nm-linux.h: Delete file. | |
5952 | ||
5953 | * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
5954 | * config/pa/nm-linux.h: Delete file. | |
5955 | ||
5956 | * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
5957 | * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise. | |
5958 | * config/powerpc/nm-linux.h: Delete file. | |
5959 | ||
5960 | * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h. | |
5961 | * config/s390/nm-linux.h: Delete file. | |
5962 | ||
5963 | * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
5964 | * config/sparc/linux64.mh (NAT_FILE): Likewise. | |
5965 | * config/sparc/nm-linux.h: Delete file. | |
5966 | ||
5967 | * Makefile.in (alpha-linux-nat.o): Update dependencies. | |
5968 | (mips-linux-nat.o): Likewise. | |
5969 | ||
de732108 UW |
5970 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
5971 | ||
5972 | * core-aout.c: Delete file. | |
5973 | * Makefile.in (ALLDEPFILES): Remove core-aout.c. | |
5974 | (core-aout.o): Delete rule. | |
5975 | * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove. | |
5976 | ||
5977 | * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove. | |
5978 | ||
5979 | * arm-linux-nat.c (arm_linux_kernel_u_size): Remove. | |
5980 | * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE, | |
5981 | KERNEL_U_ADDR): Remove. | |
5982 | ||
5983 | * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove. | |
5984 | (cannot_fetch_register, cannot_store_register): Remove. | |
5985 | (fetch_register): Inline cannot_fetch_register and register_addr. | |
5986 | (store_register): Inline cannot_store_register and register_addr. | |
5987 | * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o. | |
5988 | * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, | |
5989 | REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): | |
5990 | Remove. | |
5991 | ||
5992 | * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove. | |
5993 | (fetch_register): Inline register_addr. | |
5994 | (store_register): Inline register_addr. | |
5995 | * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o. | |
5996 | * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, | |
5997 | U_REGS_OFFSET, REGISTER_U_ADDR): Remove. | |
5998 | ||
5999 | * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove. | |
6000 | * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET, | |
6001 | REGISTER_U_ADDR): Remove. | |
6002 | ||
6003 | * hppa-linux-nat.c (register_addr): Rename to ... | |
6004 | (hppa_linux_register_addr): ... this. Make static. | |
6005 | (fetch_register, store_register): Adapt callers. | |
6006 | * config/pa/nm-linux.h (U_REGS_OFFSET): Remove. | |
6007 | ||
6008 | * ppc-linux-nat.c (kernel_u_size): Remove. | |
6009 | * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove. | |
6010 | ||
6011 | * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static. | |
6012 | * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o. | |
6013 | (NAT_FILE): Remove. | |
6014 | * config/vax/nm-vax.h: Delete file. | |
6015 | ||
1f90c757 MS |
6016 | 2007-04-20 Mark Shinwell <shinwell@codesourcery.com> |
6017 | ||
6018 | * MAINTAINERS (Write After Approval): Add myself. | |
6019 | ||
bf1242a5 MS |
6020 | 2007-04-20 Mark Shinwell <shinwell@codesourcery.com> |
6021 | ||
6022 | * Makefile.in: Adjust dependencies of m68klinux-tdep.c. | |
6023 | * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New. | |
6024 | (m68k_linux_sigcontext_reg_offset): Fix typo. | |
6025 | (target_is_uclinux): New. | |
6026 | (m68k_linux_inferior_created): New. | |
6027 | (m68k_linux_get_sigtramp_info): Check for uClinux or | |
6028 | normal Linux. Use m68k_uclinux_sigcontext_reg_offset for | |
6029 | uClinux. | |
6030 | (_initialize_m68k_linux_tdep): Register | |
6031 | m68k_linux_inferior_created. | |
6032 | ||
96998ce7 PA |
6033 | 2007-04-19 Pedro Alves <pedro_alves@portugalmail.pt> |
6034 | ||
6035 | * win32-nat.c (win32_detach): Remove delete_command call. | |
6036 | Resume inferior with win32_resume instead of win32_continue. | |
6037 | ||
7e71daaa JG |
6038 | 2007-04-19 Jerome Guitton <guitton@adacore.com> |
6039 | ||
6040 | * ser-mingw.c (fd_is_file): New function. | |
6041 | (file_select_thread): New function. | |
6042 | (ser_console_wait_handle): Add special handling for files. | |
6043 | ||
3d1f72c2 DP |
6044 | 2007-04-18 Denis Pilat <denis.pilat@st.com> |
6045 | ||
6046 | * dwarf2read.c (read_subrange_type): Use DW_ATE_signed default type | |
6047 | when missing from DW_TAG_subrange_type. Remove the handling of null | |
6048 | return from die_type. | |
6049 | ||
9ecf7166 MR |
6050 | 2007-04-18 Maciej W. Rozycki <macro@mips.com> |
6051 | ||
6052 | * mips-tdep.c (mips_eabi_push_dummy_call): Revert the last | |
6053 | change to rearrange some brackets. | |
6054 | (mips_n32n64_push_dummy_call): Likewise. | |
6055 | (mips_o32_push_dummy_call): Likewise. | |
6056 | (mips_o64_push_dummy_call): Likewise. | |
6057 | ||
b79599ff DP |
6058 | 2007-04-18 Denis Pilat <denis.pilat@st.com> |
6059 | ||
6060 | * infcmd.c (post_create_inferior): Start with a call to | |
3d1f72c2 | 6061 | target_terminal_ours. |
b79599ff | 6062 | |
06f9a1af MR |
6063 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
6064 | ||
6065 | * mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some | |
6066 | brackets. | |
6067 | (mips_n32n64_push_dummy_call): Likewise. Reformat some | |
6068 | expressions. | |
6069 | (mips_o32_push_dummy_call): Likewise. | |
6070 | (mips_o64_push_dummy_call): Likewise. | |
6071 | ||
ad018eee MR |
6072 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
6073 | ||
6074 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a | |
6075 | comment. | |
6076 | ||
e914cb17 MR |
6077 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
6078 | ||
6079 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a | |
6080 | comment. | |
6081 | (mips_o32_push_dummy_call): Likewise. | |
6082 | ||
91934273 AS |
6083 | 2007-04-17 Andreas Schwab <schwab@suse.de> |
6084 | ||
6085 | * symtab.c (skip_prologue_using_sal): Allow the end of the prologue | |
6086 | sal to be bigger than the end of the function. | |
6087 | ||
968b5391 MR |
6088 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
6089 | Nigel Stephens <nigel@mips.com> | |
6090 | ||
6091 | * mips-tdep.c (mips_o32_push_dummy_call): Take account of | |
6092 | argument alignment requirements when calculating stack space | |
6093 | required. When aligning an arg register to eight bytes | |
6094 | boundary, align stack_offset too. Write floating-point | |
6095 | arguments to the appropriate integer register if need go there. | |
6096 | (mips_o64_push_dummy_call): Likewise. | |
6097 | ||
e0cd558a UW |
6098 | 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com> |
6099 | ||
6100 | * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and | |
6101 | "sig" arguments, add "regcache" argument. | |
6102 | * gdbarch.c, gdbarch.h: Regenerate. | |
6103 | ||
6104 | * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments. | |
6105 | (handle_inferior_event): Call remove_single_step_breakpoints directly | |
6106 | instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints. | |
6107 | ||
6108 | * alpha-tdep.c (alpha_software_single_step): Update argument list. | |
6109 | Remove handling of !insert_breakpoints_p case. | |
6110 | * arm-tdep.c (arm_software_single_step): Likewise. | |
6111 | * cris-tdep.c (cris_software_single_step): Likewise. | |
6112 | * mips-tdep.c (mips_software_single_step): Likewise. | |
6113 | * rs6000-tdep.c (rs6000_software_single_step): Likewise. | |
6114 | * sparc-tdep.c (sparc_software_single_step): Likewise. | |
6115 | * spu-tdep.c (spu_software_single_step): Likewise. | |
6116 | ||
6117 | * alpha-tdep.h (alpha_software_single_step): Update prototype. | |
6118 | * mips-tdep.h (mips_software_single_step): Likewise. | |
6119 | * rs6000-tdep.h (rs6000_software_single_step): Likewise. | |
6120 | * sparc-tdep.h (sparc_software_single_step): Likewise. | |
6121 | ||
06a86285 UW |
6122 | 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com> |
6123 | ||
6124 | * alpha-tdep.c (alpha_software_single_step): Do not call write_pc | |
6125 | when removing single-step breakpoints. | |
6126 | ||
25d5ea92 VP |
6127 | 2007-04-14 Vladimir Prus <vladimir@codesourcery.com> |
6128 | ||
6129 | * varobj.h (varobj_set_frozen): New | |
6130 | (varobj_get_frozen): New. | |
6131 | (varobj_update): New parameter explicit. | |
6132 | * varobj.c (struct varobj): New fields frozen | |
6133 | and not_fetched. | |
6134 | (varobj_set_frozen, varobj_get_frozen): New. | |
6135 | (install_new_value): Don't fetch values for | |
6136 | frozen variable object, or children thereof. Allow | |
6137 | a frozen variable object to have non-fetched value. | |
6138 | (varobj_update): Allow updating child variables. | |
6139 | Don't traverse frozen children. | |
6140 | (new_variable): Initialize the frozen field. | |
6141 | (c_value_of_variable): Return NULL for frozen | |
6142 | variable without any value yet. | |
6143 | * mi/mi-cmd-var.c (varobj_update_one): New parameter | |
6144 | 'explicit'. | |
6145 | (mi_cmd_var_create): Output the 'frozen' field, | |
6146 | as soon as testsuite is adjusted to expect that field. | |
6147 | (mi_cmd_var_set_frozen): New. | |
6148 | (mi_cmd_var_update): Pass the 'explicit' parameter to | |
6149 | varobj_update_one. | |
6150 | * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'. | |
6151 | * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare. | |
6152 | ||
6e3bbd1a PB |
6153 | 2007-04-13 Paul Brook <paul@codesourcery.com> |
6154 | ||
6155 | * target-descriptions.c (tdesc_named_type): Add ieee_single and | |
6156 | ieee_double. | |
6157 | * doc/gdb.texinfo: Document ieee_single and ieee_double target types. | |
6158 | ||
ea35711c DJ |
6159 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6160 | ||
6161 | * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c, | |
6162 | remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h, | |
6163 | scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c, | |
6164 | ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete. | |
6165 | * Makefile.in: Remove references to deleted files. | |
6166 | * README: Do not mention deleted ROM monitor interfaces. | |
6167 | * defs.h (enum language): Delete language_scm. | |
6168 | * expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING. | |
6169 | (dump_subexp_body_standard): Likewise. | |
6170 | * parse.c (operator_length_standard): Likewise. | |
6171 | * expression.h (enum exp_opcode): Delete OP_EXPRSTRING. | |
6172 | * remote-mips.c: Do not include remote-utils.h. | |
6173 | * remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug | |
6174 | throughout. | |
6175 | * value.c: Do not include scm-lang.h. | |
6176 | (unpack_long): Delete scm_unpack call. | |
6177 | * config/h8300/h8300.mt, config/mips/embed.mt, | |
6178 | config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt, | |
6179 | config/sh/embed.mt, config/sh/linux.mt: Remove references to | |
6180 | deleted files. | |
6181 | * NEWS: Mention removed files. | |
6182 | ||
058b9c07 DJ |
6183 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6184 | ||
6185 | * symfile.c (add_psymbol_with_dem_name_to_list): Remove. | |
6186 | * symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype. | |
6187 | ||
54d61198 DJ |
6188 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6189 | ||
6190 | * NEWS: Mention removal of HP aCC support. | |
6191 | ||
e499d0f1 DJ |
6192 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6193 | ||
6194 | * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the | |
6195 | first entry for static executables. | |
6196 | (breakpoint_addr): Delete unused variable. | |
6197 | (elf_locate_base): Search for _r_debug in static executables. | |
6198 | (enable_break): Do not set breakpoint_addr. Scan solib_break_names | |
6199 | also. | |
6200 | ||
4d5b2cd7 DJ |
6201 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6202 | ||
6203 | * breakpoint.c (update_breakpoints_after_exec, print_it_typical) | |
6204 | (bpstat_what, print_one_breakpoint, allocate_bp_location) | |
6205 | (mention): Remove bp_through_sigtramp support. | |
6206 | * breakpoint.h (enum bptype): Remove bp_through_sigtramp. | |
6207 | ||
46d57086 DJ |
6208 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6209 | ||
6210 | * breakpoint.c (bpstat_what): Give step-resume higher priority than | |
6211 | shlib events. | |
6212 | ||
d3169d93 DJ |
6213 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6214 | ||
6215 | * infrun.c: Doc fixes. | |
6216 | (handle_inferior_event): Clarify debug message. | |
6217 | (insert_step_resume_breakpoint_at_sal): Print a debug message. | |
6218 | ||
8c9e4384 UW |
6219 | 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com> |
6220 | ||
6221 | * configure.tgt (arm-*-nto*, sh-*-nto*): Remove. | |
6222 | ||
9418f048 UW |
6223 | 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com> |
6224 | ||
6225 | * config/m68k/tm-monitor.h: Delete file. | |
6226 | * config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove. | |
6227 | * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break | |
6228 | call moved to ... | |
6229 | * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ... | |
6230 | * m68klinux-tdep.c (m68k_linux_init_abi): ... here. | |
6231 | ||
e6590a1b UW |
6232 | 2007-04-12 Luis Machado <luisgpm@br.ibm.com> |
6233 | ||
6234 | * gdbarch.sh (software_single_step): Change the return type | |
6235 | from void to int and reformatted some comments to <= 80 | |
6236 | columns. | |
6237 | * gdbarch.c, gdbarch.h: Regenerated. | |
6238 | * alpha-tdep.c (alpha_software_single_step): Likewise. | |
6239 | * alpha-tdep.h (alpha_software_single_step): Likewise. | |
6240 | * arm-tdep.c (arm_software_single_step): Likewise. | |
6241 | * cris-tdep.c (cris_software_single_step): Likewise. | |
6242 | * mips-tdep.c (mips_software_single_step): Likewise. | |
6243 | * mips-tdep.h (mips_software_single_step): Likewise. | |
6244 | * rs6000-tdep.c (rs6000_software_single_step): Likewise. | |
6245 | * rs6000-tdep.h (rs6000_software_single_step): Likewise. | |
6246 | * sparc-tdep.c (sparc_software_single_step): Likewise. | |
6247 | * sparc-tdep.h (sparc_software_single_step): Likewise. | |
6248 | * spu-tdep.c (spu_software_single_step): Likewise. | |
6249 | * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP | |
6250 | and act accordingly. | |
6251 | ||
58b38ee2 SE |
6252 | 2007-04-11 Steve Ellcey <sje@cup.hp.com> |
6253 | ||
6254 | * configure.ac (build_warnings): Add -Wno-char-subscripts. | |
6255 | * configure: Regenerate. | |
6256 | * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts. | |
6257 | ||
70f575cc JK |
6258 | 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
6259 | ||
6260 | * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'. | |
6261 | ||
d77b6808 JK |
6262 | 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
6263 | ||
6264 | * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New | |
6265 | macros. | |
6266 | (TYPE_IS_OPAQUE): Empty vs. opaque structures are now | |
6267 | distinct on the TYPE_STUB_SUPPORTED debug targets. | |
6268 | * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED. | |
6269 | ||
b0b92586 JB |
6270 | 2007-04-11 Joel Brobecker <brobecker@adacore.com> |
6271 | ||
6272 | * sparc-tdep.c (X_RS2): New macro. | |
6273 | (sparc_skip_stack_check): New function. | |
6274 | (sparc_analyze_prologue): Adjust PC past stack probing | |
6275 | sequence if necessary. | |
6276 | ||
a489f789 AS |
6277 | 2007-04-10 Andreas Schwab <schwab@suse.de> |
6278 | ||
6279 | * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR | |
6280 | register. | |
6281 | ||
b0b13bb4 DJ |
6282 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
6283 | ||
6284 | * breakpoint.c (gdb_breakpoint_query): Really return an | |
6285 | enum gdb_rc. | |
6286 | (gdb_breakpoint): Likewise. | |
3f11755e DJ |
6287 | * thread.c (gdb_list_thread_ids): Likewise. |
6288 | (gdb_thread_select): Likewise. | |
b0b13bb4 DJ |
6289 | * mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc. |
6290 | (mi_cmd_thread_list_ids): Remove bogus initialization. | |
6291 | ||
1a92f856 DJ |
6292 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
6293 | ||
6294 | * Makefile.in (SFILES): Remove hpacc-abi.c. | |
6295 | (COMMON_OBS): Remove hpacc-abi.o. | |
6296 | (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE). | |
6297 | (hpacc-abi.o, hpread.o): Delete rules. | |
6298 | * somread.c: Delete extern declarations from hpread.c. | |
6299 | (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs. | |
6300 | (som_symfile_finish): Do not call hpread_symfile_finish. | |
6301 | (som_symfile_init): Do not call hpread_symfile_init. | |
6302 | * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o. | |
6303 | * config/pa/hppahpux.mt (TDEPFILES): Likewise. | |
6304 | * hpacc-abi.c, hpread.c: Deleted. | |
6305 | ||
542c95c2 DJ |
6306 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
6307 | ||
6308 | * solib-svr4.c (enable_break): Simplify return value. | |
6309 | (svr4_solib_create_inferior_hook): Do not warn if enable_break fails. | |
6310 | ||
cfaefc65 AS |
6311 | 2007-04-10 Andreas Schwab <schwab@suse.de> |
6312 | ||
6313 | * solib-svr4.h (struct link_map_offsets): Remove l_addr_size, | |
6314 | l_ld_size, l_next_size, l_prev_size, l_name_size. | |
6315 | ||
6316 | * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address | |
6317 | to extract addresses from link map. | |
6318 | (LM_DYNAMIC_FROM_LINK_MAP): Likewise. | |
6319 | (LM_NEXT): Likewise. | |
6320 | (LM_NAME): Likewise. | |
6321 | (IGNORE_FIRST_LINK_MAP_ENTRY): Likewise. | |
6322 | (elf_locate_base): Likewise. | |
6323 | (open_symbol_file_object): Likewise. | |
6324 | (svr4_fetch_objfile_link_map): Likewise. | |
6325 | (SOLIB_EXTRACT_ADDRESS): Remove unused macro. | |
6326 | (HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of | |
6327 | l_ld_size. | |
6328 | (svr4_ilp32_fetch_link_map_offsets): Don't set removed members. | |
6329 | (svr4_lp64_fetch_link_map_offsets): Likewise. | |
6330 | ||
6331 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set | |
6332 | removed members. Set l_ld_offset to -1 if not present. | |
6333 | ||
65cc4390 VP |
6334 | 2007-04-08 Vladimir Prus <vladimir@codesourcery.com> |
6335 | ||
6336 | Pass stderr of program run with "target remote |" | |
6337 | via gdb_stderr. | |
6338 | * serial.c (serial_open): Set error_fd to -1. | |
6339 | * serial.h (struct serial): New field error_fd. | |
6340 | (struct serial_opts): New field avail. | |
6341 | * ser-pipe.c (pipe_open): Create another pair | |
6342 | of sockets. Pass stderr to gdb. | |
6343 | * ser-mingw.c (pipe_windows_open): Pass | |
6344 | PEX_STDERR_TO_PIPE to pex_run. Initialize | |
6345 | sd->error_fd. | |
6346 | (pipe_avail): New. | |
6347 | (_initialize_ser_windows): Hook pipe_avail. | |
6348 | * ser-base.c (generic_readchar): Check if there's | |
6349 | anything in stderr channel and route that to gdb_stderr. | |
6350 | ||
e9112110 PA |
6351 | 2007-04-03 Pedro Alves <pedro_alves@portugalmail.pt> |
6352 | ||
6353 | * dbxread.c (read_ofile_symtab): Move current_objfile | |
6354 | clearing to after end_stabs. | |
6355 | ||
7f68ac27 AS |
6356 | 2007-04-01 Andreas Schwab <schwab@suse.de> |
6357 | ||
6358 | * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter | |
6359 | gdbarch instead of current_gdbarch. | |
6360 | ||
e55dccf0 VP |
6361 | 2007-04-01 Vladimir Prus <vladimir@codesourcery.com> |
6362 | ||
6363 | * varobj.c (varobj_create): Keep varobj value | |
6364 | NULL when evaluating the type. | |
6365 | ||
7c963485 PA |
6366 | 2007-03-31 Pedro Alves <pedro_alves@portugalmail.pt> |
6367 | ||
6368 | * NEWS: Mention new Windows CE support. | |
6369 | ||
ad527d2e PA |
6370 | 2007-03-30 Pedro Alves <pedro_alves@portugalmail.pt> |
6371 | ||
6372 | * configure.tgt: Move mips*-*-pe and sh*-*-pe to | |
6373 | the obsoletion stanza. | |
6374 | * NEWS: Mention deleted targets. | |
6375 | ||
6376 | * config/sh/tm-wince.h: Remove. | |
6377 | * config/sh/wince.mt: Remove. | |
6378 | * config/mips/tm-wince.h: Remove. | |
6379 | * config/mips/wince.mt: Remove. | |
6380 | ||
6381 | * wince.c: Remove. | |
6382 | * wince-stub.c: Remove. | |
6383 | * wince-stub.h: Remove. | |
6384 | * Makefile.in (wince.o): Remove rule. | |
6385 | (wince-stub.o): Likewise. | |
6386 | ||
6387 | * mips-tdep.c (mips_next_pc): Make static. | |
6388 | * mips-tdep.h (mips_next_pc): Remove declaration. | |
6389 | * arm-tdep.c (arm_pc_is_thumb): Make static. | |
6390 | (thumb_get_next_pc): Likewise. | |
6391 | (arm_get_next_pc): Likewise. | |
6392 | * arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration. | |
6393 | (arm_pc_is_thumb): Likewise. | |
6394 | (thumb_get_next_pc): Likewise. | |
6395 | (arm_get_next_pc): Likewise. | |
6396 | ||
7ce59000 DJ |
6397 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
6398 | ||
6399 | * MAINTAINERS: Remove d10v entry. | |
6400 | * Makefile.in (SFILES): Remove dwarfread.c. | |
6401 | (COMMON_OBS): Remove dwarfread.o. | |
6402 | (gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o) | |
6403 | (remote-est.o, rom68k-rom.o): Delete. | |
6404 | * NEWS: Mention removal of d10v, target abug, target cpu32bug, | |
6405 | target est, target rom68k, and DWARF 1. | |
6406 | * configure.tgt: Mark d10v as removed. | |
6407 | * dwarf2read.c: Doc update. | |
6408 | * elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset, | |
6409 | and lnsize. | |
6410 | (elf_locate_sections): Do not set them. | |
6411 | (elf_symfile_read): Do not call dwarf_build_psymtabs. | |
6412 | * symfile.h (dwarf_build_psymtabs): Delete prototype. | |
6413 | * config/m68k/monitor.mt (TDEPFILES): Prune. | |
6414 | * abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c, | |
6415 | remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete. | |
6416 | ||
20389057 DJ |
6417 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
6418 | ||
6419 | * doublest.c (convert_floatformat_to_doublest): Use | |
6420 | floatformat_classify. | |
6421 | (floatformat_is_nan): Rename to... | |
6422 | (floatformat_classify): ...this. Return more information. | |
6423 | * doublest.h (enum float_kind): New. | |
6424 | (floatformat_is_nan): Replace prototype... | |
6425 | (floatformat_classify): ...with this one. | |
6426 | * valprint.c (print_floating): Use floatformat_classify. Handle | |
6427 | infinity. | |
6428 | ||
30b50213 DJ |
6429 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
6430 | ||
6431 | * README: Mention ISO C library requirement. | |
6432 | ||
8807d78b DJ |
6433 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
6434 | ||
6435 | * Makefile.in (SFILES): Remove nlmread.c. | |
6436 | (COMMON_OBS): Remove nlmread.o. | |
6437 | (nlmread.o): Delete rule. | |
6438 | * README: Delete reference to remote-st.c. | |
6439 | * acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete. | |
6440 | * defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and | |
6441 | GDB_OSABI_LYNXOS. | |
6442 | * i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete. | |
6443 | (_initialize_i386_tdep): Do not reference them. | |
6444 | * nlmread.c: Delete file. | |
6445 | * osabi.c (gdb_osabi_names): Remove NetWare and LynxOS. | |
6446 | * target.c: Doc update. | |
6447 | * thread.c: Delete commented include. | |
6448 | * config/alpha/tm-alpha.h: Doc update. | |
6449 | ||
ced572fe MR |
6450 | 2007-03-30 Chris Dearman <chris@mips.com> |
6451 | ||
6452 | * utils.c (string_to_core_addr): Comment typo. | |
6453 | ||
8a9fc081 MR |
6454 | 2007-03-30 Chris Dearman <chris@mips.com> |
6455 | ||
6456 | * mips-tdep.c: Comment typo. | |
6457 | ||
5f402660 UW |
6458 | 2007-03-29 Ulrich Weigand <uweigand@de.ibm.com> |
6459 | ||
6460 | * config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove. | |
6461 | * config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove. | |
6462 | * config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove. | |
6463 | * config/powerpc/nm-ppc64-linux.h: Remove file. | |
6464 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h. | |
6465 | * inferior.h (PTRACE_ARG3_TYPE): Do not define. | |
6466 | (call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3. | |
6467 | * infptrace.c (call_ptrace): Likewise. | |
6468 | * m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define. | |
6469 | (fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3 | |
6470 | and PTRACE_XFER_TYPE by PTRACE_TYPE_RET. | |
6471 | (store_register): Likewise. | |
6472 | ||
bbf90c81 JB |
6473 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
6474 | ||
6475 | * Makefile.in (varobj.o): Add missing dependency. | |
6476 | ||
243c053b MS |
6477 | 2007-03-29 Michael Snyder <msnyder@access-company.com> |
6478 | ||
6479 | * MAINTAINERS: Update my email address. | |
6480 | ||
0259addd JB |
6481 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
6482 | ||
6483 | Add support for exception handling with multiple versions of | |
6484 | the Ada runtime: | |
6485 | * ada-lang.c: Update general comments on how Ada exception catchpoints | |
6486 | are implemented. | |
6487 | (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name) | |
6488 | (__gnat_raise_nodefer_with_msg): Delete. | |
6489 | (ada_unhandled_exception_name_addr_ftype): New type. | |
6490 | (exception_support_info): New type. | |
6491 | (ada_unhandled_exception_name_addr): Add forward declaration. | |
6492 | (ada_unhandled_exception_name_addr_from_raise): Likewise. | |
6493 | (default_exception_support_info): New constant. | |
6494 | (exception_support_info_fallback): Likewise. | |
6495 | (exception_info): New global variable. | |
6496 | (ada_exception_support_info_sniffer): New function. | |
6497 | (ada_executable_changed_observer): Likewise. | |
6498 | (ada_unhandled_exception_name_addr_from_raise): Renamed from | |
6499 | ada_unhandled_exception_name_addr. | |
6500 | (ada_unhandled_exception_name_addr): Reimplement to match the | |
6501 | latest Ada runtime implementation. | |
6502 | (error_breakpoint_runtime_sym_not_found): Delete. | |
6503 | (ada_exception_sym_name): Get the exception sym name from | |
6504 | exception_info rather than hardcoding it. | |
6505 | (ada_exception_sal): Add call to ada_exception_support_info_sniffer. | |
6506 | Update error handling. | |
6507 | * Makefile.in (ada-lang.o): Add dependency on observer.h. | |
6508 | ||
483367ee DJ |
6509 | 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com> |
6510 | ||
6511 | * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o) | |
6512 | (remote-st.o, uw-thread.o): Delete. | |
6513 | (HFILES_NO_SRCDIR, ALLDEPFILES): Update. | |
6514 | * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*, | |
6515 | i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*, | |
6516 | i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*, | |
6517 | i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*, | |
6518 | i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and | |
6519 | rs6000-*-lynxos* to an obsoletion stanza. | |
6520 | * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*, | |
6521 | i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*, | |
6522 | and rs6000-*-lynxos* to an obsoletion stanza. Do not mention | |
6523 | i[34567]86-*-netware*. | |
6524 | * NEWS: Mention deleted targets. | |
6525 | ||
6526 | * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c, | |
6527 | uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh, | |
6528 | config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh, | |
6529 | config/i386/i386v4.mh, config/i386/i386v42mp.mh, | |
6530 | config/i386/ncr3000.mh, config/i386/ncr3000.mt, | |
6531 | config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h, | |
6532 | config/i386/nm-i386sco5.h, config/i386/nm-i386v.h, | |
6533 | config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h, | |
6534 | config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt, | |
6535 | config/m68k/tm-cisco.h, config/m68k/tm-os68k.h, | |
6536 | config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt, | |
6537 | config/rs6000/tm-rs6000ly.h: Delete files. | |
6538 | ||
3adda9d8 DJ |
6539 | 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com> |
6540 | ||
6541 | * defs.h (deprecated_registers_changed_hook): Delete declaration. | |
6542 | * interps.c (clear_interpreter_hooks): Do not clear | |
6543 | deprecated_registers_changed_hook. | |
6544 | * regcache.c (registers_changed): Do not call it. | |
6545 | * top.c (deprecated_registers_changed_hook): Do not define it. | |
6546 | * mi/mi-interp.c (mi_command_loop): Do not clear it. | |
6547 | * tui/tui-hooks.c (tui_install_hooks): Do not install it. | |
6548 | (tui_remove_hooks): Do not remove it. | |
6549 | (tui_selected_frame_level_changed_hook): Check for negative level. | |
6550 | Use get_selected_frame. | |
6551 | (tui_registers_changed_hook): Deleted. | |
6552 | ||
bf362611 JB |
6553 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
6554 | ||
6555 | * stabsread.c (add_undefined_type): Add extra parameter. | |
6556 | Now handles nameless types separately. | |
6557 | (struct nat): New type. | |
6558 | (noname_undefs, noname_undefs_allocated, noname_undefs_length): | |
6559 | New static variables. | |
6560 | (read_type): Update calls to add_undefined_type. | |
6561 | (add_undefined_type_noname): New function. | |
6562 | (add_undefined_type_1): Renames from add_undefined_type. | |
6563 | (cleanup_undefined_types_noname): New function. | |
6564 | (cleanup_undefined_types_1): Renames cleanup_undefined_types. | |
6565 | (cleanup_undefined_types): New handles nameless types separately. | |
6566 | (_initialize_stabsread): Initialize our new static constants. | |
6567 | ||
436868fb DP |
6568 | 2007-03-29 Denis Pilat <denis.pilat@st.com> |
6569 | ||
6570 | * configure.ac: Test for signal.h. | |
6571 | * configure, config.in: Regenerate. | |
6572 | ||
aaf9e9fd DP |
6573 | 2007-03-29 Denis Pilat <denis.pilat@st.com> |
6574 | ||
6575 | * stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output. | |
6576 | * infrun.c (normal_stop): Remove MI specific frame printing treatment. | |
6577 | ||
68070c10 PA |
6578 | 2007-03-29 Pedro Alves <pedro_alves@portugalmail.pt> |
6579 | ||
6580 | * arm-wince-tdep.c: New. | |
6581 | * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h. | |
6582 | (MT_CFLAGS): Delete. | |
6583 | (TM_CLIBS): Delete. | |
6584 | (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o, | |
6585 | solib-legacy.o, solib-svr4.o, and remove wince.o. | |
6586 | * configure.tgt (arm*-*-mingw32ce*): Add. | |
6587 | * signals/signals.c [HAVE_SIGNAL_H]: Check. | |
6588 | (do_target_signal_to_host): Silence 'not used' warning. | |
6589 | * config/arm/tm-wince.h: Remove. | |
6590 | ||
74174d2e UW |
6591 | 2007-03-28 Ulrich Weigand <uweigand@de.ibm.com> |
6592 | ||
6593 | * arch-utils.c (legacy_pc_in_sigtramp): Remove. | |
6594 | * arch-utils.h (legacy_pc_in_sigtramp): Remove. | |
6595 | ||
6596 | * config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove. | |
6597 | * config/ia64/tm-linux.h: Remove file. | |
6598 | * ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback. | |
6599 | * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of | |
6600 | legacy_pc_in_sigtramp. | |
6601 | (ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp. | |
6602 | * ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static. | |
6603 | Remove func_name argument. | |
6604 | (ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp. | |
6605 | ||
6606 | * infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine. | |
6607 | * target.c (update_current_target): Add to_have_steppable_watchpoint. | |
6608 | * target.h (struct target_ops): Add to_have_steppable_watchpoint. | |
6609 | (HAVE_STEPPABLE_WATCHPOINT): Define. | |
6610 | ||
6611 | * config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o. | |
6612 | * config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET, | |
6613 | CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER, | |
6614 | TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT, | |
6615 | STOPPED_BY_WATCHPOINT, target_stopped_data_address, | |
6616 | target_insert_watchpoint, target_remove_watchpoint): Remove. | |
6617 | (FETCH_INFERIOR_REGISTERS): Define. | |
6618 | * ia64-linux-nat.c (ia64_register_addr): Make static. | |
6619 | (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise. | |
6620 | (ia64_linux_insert_watchpoint): Make static. Remove ptid_p argument. | |
6621 | (ia64_linux_remove_watchpoint): Likewise. Add type argument. | |
6622 | (ia64_linux_stopped_data_address): Make static. Add target_ops. | |
6623 | (ia64_linux_stopped_by_watchpoint): Make static. | |
6624 | (ia64_linux_can_use_hw_breakpoint): New function. | |
6625 | (ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise. | |
6626 | (ia64_linux_store_register, ia64_linux_store_registers): Likewise. | |
6627 | (_initialize_ia64_linux_nat): Install register and watchpoint ops. | |
6628 | ||
53c5240f PA |
6629 | 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt> |
6630 | ||
6631 | * linespec.c: Include language.h. | |
6632 | (find_methods): Add language parameter. Call | |
6633 | lookup_symbol_in_language. Pass language down. | |
6634 | (add_matching_methods): Likewise. Call | |
6635 | lookup_symbol_in_language. | |
6636 | (add_constructors): Likewise. | |
6637 | (find_method): Pass sym_class to collect_methods. | |
6638 | (collect_methods): Add sym_class parameter. Pass language | |
6639 | down. | |
6640 | * symtab.c (lookup_symbol): Rename to ... | |
6641 | (lookup_symbol_in_language): ... this. Add language | |
6642 | parameter. Use passed language instead of current_language. | |
6643 | (lookup_symbol): New as wrapper around | |
6644 | lookup_symbol_in_language. | |
6645 | (lookup_symbol_aux): Add language parameter. Use passed | |
6646 | language instead of current_language. | |
6647 | (search_symbols): Indent. | |
6648 | * symtab.h (enum language): Forward declare. | |
6649 | (lookup_symbol_in_language): Declare. | |
6650 | (lookup_symbol): Update description. | |
6651 | * ada-lang.h (lookup_symbol_in_language): Remove declaration. | |
6652 | * ada-lang.c (restore_language): Remove. | |
6653 | (lookup_symbol_in_language): Remove. | |
6654 | ||
8671a17b PA |
6655 | 2007-03-27 Pedro Alves <pedro_alves@portugalmail.pt> |
6656 | ||
6657 | * breakpoint.c (bpstat_num): Add int *num parameter. | |
6658 | * breakpoint.h (bpstat_num): Likewise. | |
6659 | * infcmd.c (continue_command): Adjust to new bpstat_num | |
6660 | interface. | |
6661 | (program_info): Likewise. | |
6662 | ||
214197f9 UW |
6663 | 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com> |
6664 | ||
6665 | * config/sh/tm-sh.h: Remove file. | |
6666 | * config/sh/embed.mt (DEPRECATED_TM_FILE): Remove. | |
6667 | * config/sh/linux.mt (DEPRECATED_TM_FILE): Remove. | |
6668 | * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
6669 | * config/sh/tm-wince.h: Do not include "sh/tm-sh.h". | |
6670 | ||
bac718a6 UW |
6671 | 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com> |
6672 | ||
6673 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT, | |
6674 | DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove. | |
6675 | * remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT, | |
6676 | DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT. | |
6677 | * sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint | |
6678 | sequence if target_shortname is "remote". | |
6679 | ||
de6a76fd DJ |
6680 | 2007-03-27 Anton Blanchard <anton@samba.org> |
6681 | ||
6682 | * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset | |
6683 | instead of wordsize when looking for the LR in a stack frame. | |
6684 | ||
4fc771b8 DJ |
6685 | 2007-03-27 Andreas Schwab <schwab@suse.de> |
6686 | Daniel Jacobowitz <dan@codesourcery.com> | |
6687 | ||
6688 | * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to... | |
6689 | (dwarf2_frame_adjust_regnum): ...this. Make static. Add eh_frame_p | |
6690 | argument. Update all callers. | |
6691 | (struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum. | |
6692 | (dwarf2_frame_set_eh_frame_regnum): Rename to... | |
6693 | (dwarf2_frame_set_adjust_regnum): ...this. Update argument type. | |
6694 | * dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to... | |
6695 | (dwarf2_frame_set_adjust_regnum): ...this. | |
6696 | (dwarf2_frame_eh_frame_regnum): Delete prototype. | |
6697 | * rs6000-tdep.c: Include "dwarf2-frame.h". | |
6698 | (rs6000_adjust_frame_regnum): Define. | |
6699 | (rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder. | |
6700 | Register rs6000_adjust_frame_regnum. | |
6701 | ||
6702 | * Makefile.in (rs6000-tdep.o): Update dependencies. | |
6703 | ||
9453113a DJ |
6704 | 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com> |
6705 | ||
6706 | * Makefile.in: Add support for a "pdf" target. | |
6707 | ||
d2449ee8 DJ |
6708 | 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com> |
6709 | ||
6710 | * amd64-tdep.c (amd64_init_frame_cache): New function. | |
6711 | (amd64_alloc_frame_cache, amd64_skip_prologue): Use it. | |
6712 | ||
a72d8a8e MR |
6713 | 2007-03-26 Nigel Stephens <nigel@mips.com> |
6714 | Maciej W. Rozycki <macro@mips.com> | |
6715 | ||
6716 | * ui-out.c (ui_out_field_core_addr): Truncate address to | |
6717 | TARGET_ADDR_BIT size before printing. | |
6718 | ||
5200c3f3 | 6719 | 2007-03-22 Nigel Stephens <nigel@mips.com> |
a72d8a8e | 6720 | Maciej W. Rozycki <macro@mips.com> |
5200c3f3 L |
6721 | |
6722 | * remote-mips.c (mips_xfer_memory): Update prototype. | |
6723 | ||
16708cba JB |
6724 | 2007-03-22 Joel Brobecker <brobecker@adacore.com> |
6725 | ||
6726 | * symfile.h: #include "symtab.h" | |
6727 | ||
0fe514e3 DP |
6728 | 2007-03-22 Denis Pilat <denis.pilat@st.com> |
6729 | ||
6730 | * utils.c (pagination_on_command, pagination_off_command): | |
6731 | Remove useless prototypes. | |
6732 | ||
4a52dc15 PM |
6733 | 2007-03-21 Pierre Muller <muller@ics.u-strasbg.fr> |
6734 | ||
6735 | Fix PR pascal/2232. | |
6736 | * p-valprint.c (pascal_object_print_value): Use type_name_no_tag | |
6737 | instead of TYPE_NAME for object base class name. | |
6738 | ||
6739 | ||
1c86fa97 KB |
6740 | 2007-03-19 Kevin Buettner <kevinb@redhat.com> |
6741 | ||
6742 | * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id): | |
6743 | Specify frame type in calls to frame_func_unwind(). | |
6744 | ||
4e463ff5 DJ |
6745 | 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com> |
6746 | ||
6747 | * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal. | |
6748 | (rs6000_in_function_epilogue_p): Use extract_unsigned_integer. | |
6749 | (refine_prologue_limit): Delete. | |
6750 | (skip_prologue): Don't call it. Use extract_unsigned_integer. | |
6751 | Assume lim_pc is set. Correct check for incomplete prologues. | |
6752 | Do not skip clobbers of the frame pointer. | |
6753 | * symtab.c (skip_prologue_using_sal): Fail if there is only one | |
6754 | sal. | |
6755 | ||
348473d5 NF |
6756 | 2007-03-13 Nathan Froyd <froydnj@codesourcery.com> |
6757 | ||
6758 | * frame.c (frame_pop): Check to see whether there's a frame to | |
6759 | which we can pop first. | |
6760 | ||
a2f9cf0d NF |
6761 | 2007-03-13 Nathan Froyd <froydnj@codesourcery.com> |
6762 | ||
6763 | * MAINTAINERS (Write After Approval): Add myself. | |
6764 | ||
569631c6 UW |
6765 | 2007-03-09 Markus Deuling <deuling@de.ibm.com> |
6766 | ||
6767 | * infrun.c (breakpoints_failed): Remove unnecessary variable. | |
6768 | (handle_inferior_event): Remove unnecessary braces. | |
6769 | * breakpoint.c (bpstat_what): Remove wrong comment. | |
6770 | ||
fe5febed UW |
6771 | 2007-03-09 Ulrich Weigand <uweigand@de.ibm.com> |
6772 | ||
6773 | * spu-tdep.c (spu_in_function_epilogue_p): New function. | |
6774 | (spu_gdbarch_init): Install it. | |
6775 | ||
9dea8ca2 UW |
6776 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
6777 | ||
6778 | * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported | |
6779 | object types, not 0. | |
6780 | ||
7b3dc0b7 UW |
6781 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
6782 | ||
6783 | * spu-tdep.c (spu_frame_align): New function. | |
6784 | (spu_gdbarch_init): Install it. Set call dummy location to ON_STACK. | |
6785 | ||
118dfbaf UW |
6786 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
6787 | ||
6788 | * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit. | |
6789 | (spu_software_single_step): Likewise. | |
6790 | (spu_read_pc, spu_write_pc): New functions. | |
6791 | (spu_gdbarch_init): Install them. | |
6792 | ||
29e4017d UW |
6793 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
6794 | ||
6795 | * cli/cli-dump.c (struct callback_data): load_offset needs to | |
6796 | have signed long type. | |
6797 | ||
6de5b849 JB |
6798 | 2007-03-07 Joel Brobecker <brobecker@adacore.com> |
6799 | ||
6800 | * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer): | |
6801 | Revert the previous change that had some unexpected side-effects | |
6802 | on mips32. | |
6803 | (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper | |
6804 | function to get the address of the calling instruction. | |
6805 | ||
7490ba4f DP |
6806 | 2007-03-07 Denis Pilat <denis.pilat@st.com> |
6807 | ||
6808 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace | |
6809 | get_selected_frame by deprecated_safe_get_selected_frame. | |
6810 | ||
861fb77c MK |
6811 | 2007-03-02 Mark Kettenis <kettenis@gnu.org> |
6812 | ||
6813 | * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and | |
6814 | "gdb_string.h". Don't include "nbsd-tdep.h". | |
6815 | (SIZEOF_STRUCT_REG): Remove. | |
6816 | (SHNBSD_SIZEOF_GREGS): New. | |
6817 | (shnbsd_supply_gregset, shnbsd_collect_gregset) | |
6818 | (shnbsd_regset_from_core_section): New functions. | |
6819 | (fetch_core_registers, fetch_elfcore_registers): Remove functions. | |
6820 | (shnbsd_supply_reg, shnbsd_fill_reg): Simply call | |
6821 | shnbsd_supply_gregset, shnbsd_collect_gregset. | |
6822 | (shnbsd_gregset): New variable. | |
6823 | (shnbsd_init_abi): Set regset_from_core_section. | |
6824 | (GDB_OSABI_NETBSD_CORE): New define. | |
6825 | (shnbsd_core_osabi_sniffer): New function. | |
6826 | (_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer. | |
6827 | * Makefile.in (shnbsd-tdep.o): Update dependencies. | |
6828 | * config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove | |
6829 | nbsd-tdep.o. | |
6830 | * config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o. | |
6831 | ||
787cbe14 JB |
6832 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
6833 | ||
6834 | * gdbtypes.c (replace_type): Fix typo that caused us to not update | |
6835 | length of the types referenced by the new type CV ring. | |
6836 | ||
35f196d9 DJ |
6837 | 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
6838 | ||
6839 | * frame.c (frame_pop, frame_observer_target_changed): Call | |
6840 | reinit_frame_cache. | |
6841 | (flush_cached_frames): Rename to reinit_frame_cache and delete | |
6842 | old implementation. | |
6843 | * frame.h (flush_cached_frames): Delete prototype and update comment. | |
6844 | ||
6845 | * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call | |
6846 | reinit_frame_cache instead of flush_cached_frames. Do not call | |
6847 | select_frame after reinit_frame_cache. | |
6848 | * corelow.c (core_open): Likewise. | |
6849 | * gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise. | |
6850 | * infrun.c (prepare_to_proceed, context_switch) | |
6851 | (handle_inferior_event): Likewise. | |
6852 | * linux-fork.c (fork_load_infrun_state): Likewise. | |
6853 | * ocd.c (ocd_start_remote): Likewise. | |
6854 | * remote-e7000.c (e7000_start_remote): Likewise. | |
6855 | * remote-mips.c (device): Likewise. | |
6856 | * thread.c (switch_to_thread): Likewise. | |
6857 | * tracepoint.c (finish_tfind_command): Likewise. | |
6858 | * gdbarch.c: Regenerated. | |
6859 | ||
c26f2453 JB |
6860 | 2007-02-28 Jerome Guitton <guitton@adacore.com> |
6861 | Joel Brobecker <brobecker@adacore.com> | |
6862 | ||
6863 | * gdbtypes.c (check_typedef): Do not replace stub type if | |
6864 | the resolved type is not defined in the same objfile. | |
6865 | ||
7d900f1a DJ |
6866 | 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
6867 | ||
6868 | * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion. | |
6869 | ||
76038652 | 6870 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
52eea4ce JB |
6871 | |
6872 | * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN | |
6873 | symbol for Ada units when the symbol is defined using 't' rather | |
6874 | than 'Tt' as symbol descriptor. | |
6875 | ||
d74fb156 | 6876 | 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
1344afe0 UW |
6877 | |
6878 | * config/mips/tm-nbsd.h: Delete file. | |
6879 | * config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
6880 | * config/sh/tm-nbsd.h: Delete file. | |
6881 | * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h. | |
6882 | ||
f8d225db JB |
6883 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
6884 | ||
6885 | * mi/mi-cmd-var.c (varobj_update_one): Remove reference to | |
6886 | unused WRONG_PARAM value since it was recently deleted. | |
6887 | ||
1bbfb19a NR |
6888 | 2007-02-28 Vladimir Prus <vladimir@codesourcery.com> |
6889 | ||
6890 | * varobj.c (varobj_update): Free temporary vectors. | |
6891 | ||
6f7f3f0d UW |
6892 | 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
6893 | ||
6894 | * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h. | |
6895 | * config/powerpc/tm-linux.h: Delete file. | |
6896 | * config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h". | |
6897 | (PROCESS_LINENUMBER_HOOK): Do not undefine. | |
6898 | (TEXT_SEGMENT_BASE): Do not redefine. | |
6899 | * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here | |
6900 | from config/rs6000/tm-rs6000.h. | |
6901 | (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise. | |
6902 | * config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration. | |
6903 | (TEXT_SEGMENT_BASE): Remove. | |
6904 | (IN_SOLIB_RETURN_TRAMPOLINE): Remove. | |
6905 | (rs6000_in_solib_return_trampoline): Remove. | |
6906 | (SKIP_TRAMPOLINE_CODE): Remove. | |
6907 | (rs6000_skip_trampoline_code): Remove. | |
6908 | (CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h. | |
6909 | (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise. | |
6910 | (FP0_REGNUM): Remove. | |
6911 | (rs6000_find_toc_address_hook): Move to rs6000-tdep.h. | |
6912 | (rs6000_set_host_arch_hook): Remove. | |
6913 | * Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h). | |
6914 | (rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h). | |
6915 | * ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base. | |
6916 | * rs6000-aix-tdep.c: Include "ppc-tdep.h". | |
6917 | (rs6000_aix_init_osabi): Set text_segment_base tdep field. | |
6918 | * rs6000-nat.c: Include "rs6000-tdep.h". | |
6919 | (exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field. | |
6920 | (set_host_arch): Rename to ... | |
6921 | (rs6000_create_inferior): ... this. Make public. | |
6922 | (_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook. | |
6923 | * rs6000-tdep.c (rs6000_set_host_arch_hook): Remove. | |
6924 | (rs6000_create_inferior): Remove. | |
6925 | (branch_dest): Replace TEXT_SEGMENT_BASE by tdep field. | |
6926 | (rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum, | |
6927 | set_gdbarch_in_solib_return_trampoline, and | |
6928 | set_gdbarch_skip_trampoline_code. | |
6929 | * rs6000-tdep.h (rs6000_find_toc_address_hook): Move here | |
6930 | from config/rs6000/tm-rs6000.h. | |
6931 | ||
63050a44 | 6932 | 2007-02-27 Joel Brobecker <brobecker@adacore.com> |
05279ca0 JB |
6933 | |
6934 | * buildsym.c (record_producer): Do nothing if no producer is provided. | |
6935 | ||
63050a44 | 6936 | 2007-02-27 Nick Roberts <nickrob@snap.net.nz> |
e0b75a46 NR |
6937 | |
6938 | * varobj.c (varobj_update): Remove unused local. Use gdb_assert | |
6939 | to check changelist is non-NULL. Call error if the frontend tries | |
6940 | to update a non-root variable. | |
6941 | ||
6942 | * varobj.h (enum varobj_update_error): Delete WRONG_PARAM value. | |
6943 | ||
93d42b30 DJ |
6944 | 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
6945 | ||
6946 | * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id) | |
6947 | (dwarf2_frame_sniffer): Update. | |
6948 | (dwarf2_signal_frame_this_id): New function. | |
6949 | (dwarf2_signal_frame_unwind): Use it. | |
6950 | (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block. | |
6951 | * frame.c (frame_func_unwind): Add this_type argument. | |
6952 | (get_frame_func): Update. | |
6953 | (frame_unwind_address_in_block): Add this_type argument and check it. | |
6954 | Fix a typo. | |
6955 | (get_frame_address_in_block): Update. | |
6956 | * frame.h (enum frame_type): Move higher in the file. | |
6957 | (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type | |
6958 | argument. | |
6959 | ||
6960 | * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c, | |
6961 | arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c, | |
6962 | hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c, | |
6963 | libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c, | |
6964 | m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c, | |
6965 | mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c, | |
6966 | score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c, | |
6967 | sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c, | |
6968 | xstormy16-tdep.c, xtensa-tdep.c: Update calls to | |
6969 | frame_func_unwind and frame_unwind_address_in_block to specify | |
6970 | the frame type. Use frame_unwind_address_in_block instead of | |
6971 | frame_pc_unwind in sniffers. | |
6972 | ||
206415a3 DJ |
6973 | 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
6974 | ||
6975 | * frame.c (deprecated_selected_frame): Rename to... | |
6976 | (selected_frame): ...this. Make static. | |
6977 | (get_selected_frame, select_frame): Update. | |
6978 | * frame.h (deprected_select_frame): Delete. | |
6979 | (deprecated_safe_get_selected_frame): Update comments. | |
6980 | ||
6981 | * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c, | |
6982 | infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c, | |
6983 | tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c, | |
6984 | parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c, | |
6985 | tui/tui.c: Replace references to deprecated_selected_frame. | |
6986 | ||
7313566f FF |
6987 | 2007-02-27 Fred Fish <fnf@specifix.com> |
6988 | ||
6989 | * rs6000-tdep.c (skip_prologue): Recognize addi instructions that | |
6990 | directly decrement the stack pointer, accumulate their operand into | |
6991 | the stack offset, and mark the function as not being frameless. | |
6992 | ||
b6d373df DJ |
6993 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
6994 | ||
6995 | * arch-utils.c (selected_byte_order): New. | |
6996 | * arch-utils.h (selected_byte_order): New prototype. | |
6997 | * remote-sim.c (gdbsim_open): Use selected_byte_order. | |
6998 | ||
2711e456 DJ |
6999 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
7000 | ||
7001 | * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA. | |
7002 | (default_symfile_offsets): Check VMA here. Update section VMAs. | |
7003 | ||
baef701f DJ |
7004 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
7005 | ||
7006 | * remote.c (init_remote_state): Add special handling for placeholder | |
7007 | registers. | |
7008 | ||
05a4558a DJ |
7009 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
7010 | ||
7011 | * Makefile.in (XMLFILES): Include $(TDEP_XML). | |
7012 | (filenames_h): New variable. | |
7013 | (clean): Clean up xml-builtin.c and stamp-xml. | |
7014 | (arm-linux-nat.o): Update. | |
7015 | * config/arm/linux.mh (TDEP_XML): Define. | |
7016 | * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. | |
7017 | (arm_linux_has_wmmx_registers): New. | |
7018 | (GET_THREAD_ID): Fix typo. | |
7019 | (IWMMXT_REGS_SIZE): Define. | |
7020 | (fetch_wmmx_regs, store_wmmx_regs): New. | |
7021 | (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs. | |
7022 | (arm_linux_store_inferior_registers): Use store_wmmx_regs. | |
7023 | (super_xfer_partial, arm_linux_xfer_partial): New. | |
7024 | (_initialize_arm_linux_nat): Use them. | |
7025 | * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT. | |
7026 | (xml_builtin_xfer_partial): New function. | |
7027 | * xml-support.h (xml_builtin_xfer_partial): New prototype. | |
7028 | * NEWS: Update mention of iWMMXt support. | |
7029 | ||
ff6f572f DJ |
7030 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
7031 | ||
7032 | * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves | |
7033 | if there are no FPA registers. | |
7034 | (arm_dwarf_reg_to_regnum): New function. | |
7035 | (arm_register_type, arm_register_name): Return minimal values for | |
7036 | unsupported registers. | |
7037 | (arm_register_sim_regno): Handle iWMMXt registers. | |
7038 | (arm_gdbarch_init): Record missing FPA registers if indicated by | |
7039 | a target description. Recognize iWMMXt registers. Only register | |
7040 | "info float" for FPA. Use ARM_NUM_REGS. Register | |
7041 | arm_dwarf_reg_to_regnum. | |
7042 | * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt | |
7043 | constants. | |
7044 | (struct gdbarch_tdep): Add have_fpa_registers. | |
7045 | * features/xscale-iwmmxt.xml: Update capitalization. | |
7046 | * regformats/arm-with-iwmmxt.dat: Regenerated. | |
7047 | ||
c077150c KB |
7048 | 2007-02-24 Kevin Buettner <kevinb@redhat.com> |
7049 | ||
7050 | * NEWS (New targets): Add entry for the Toshiba Media Processor. | |
7051 | ||
01c996c1 KB |
7052 | 2007-02-23 Kevin Buettner <kevinb@redhat.com> |
7053 | ||
7054 | * MAINTAINERS (mep): New target. | |
7055 | ||
aeb43123 KB |
7056 | 2007-02-23 Kevin Buettner <kevinb@redhat.com> |
7057 | ||
7058 | From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and | |
7059 | Richard Sandiford: | |
7060 | * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables. | |
7061 | (mep-tdep.o): New rule. | |
7062 | * configure.tgt (mep-*-*): New target. | |
7063 | * mep-tdep.c: New file. | |
7064 | * config/mep/mep.mt: New file. | |
7065 | ||
115d86cf UW |
7066 | 2007-02-22 Markus Deuling <deuling@de.ibm.com> |
7067 | ||
7068 | * infrun.c (inferior_stop_reason, print_stop_reason): Remove | |
7069 | BREAKPOINT_HIT and STOP_UNKNOWN. | |
7070 | ||
fef862e5 UW |
7071 | 2007-02-22 Markus Deuling <deuling@de.ibm.com> |
7072 | ||
7073 | * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT. | |
7074 | ||
9a7d5afb JB |
7075 | 2007-02-20 Joel Brobecker <brobecker@adacore.com> |
7076 | ||
7077 | * gdb_expat.h (XMLCALL): Define if not already defined. | |
7078 | ||
81de920d AS |
7079 | 2007-02-20 Andreas Schwab <schwab@suse.de> |
7080 | ||
7081 | * Makefile.in (symfile.o): Update dependencies. | |
7082 | ||
cb5c8c39 DJ |
7083 | 2007-02-20 Daniel Jacobowitz <dan@codesourcery.com> |
7084 | ||
7085 | * MAINTAINERS: Disable -Werror for cris simulator. Build | |
7086 | sparc64-solaris2.10 instead of the broken sparc-elf. | |
7087 | * solib-frv.c: Include "solib.h". | |
7088 | * Makefile.in (solib-frv.o): Update. | |
7089 | * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch. | |
7090 | * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int. | |
7091 | (xtensa_frame_this_id, xtensa_frame_prev_register) | |
7092 | (xtensa_push_dummy_call): Use %p. | |
7093 | ||
e6bb342a DJ |
7094 | 2007-02-16 Daniel Jacobowitz <dan@codesourcery.com> |
7095 | ||
7096 | * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, | |
7097 | ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c, | |
7098 | sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". | |
7099 | * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o) | |
7100 | (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o) | |
7101 | (sparc-linux-tdep.o): Update. | |
7102 | ||
ff7a4c00 MG |
7103 | 2007-02-15 Maxim Grigoriev <maxim2405@gmail.com> |
7104 | ||
7105 | * xtensa-tdep.h (xtensa_reg_mask_t): New. | |
7106 | (xtensa_mask_t): Change mask field to be a separate array. | |
7107 | * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read) | |
7108 | (xtensa_pseudo_register_write, xtensa_unwind_pc) | |
7109 | (xtensa_unwind_dummy_id, xtensa_push_dummy_call) | |
7110 | (xtensa_breakpoint_from_pc): Remove implicit type casting. | |
7111 | * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5) | |
7112 | (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13) | |
7113 | (mask14, mask15): Rename to | |
7114 | (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3) | |
7115 | (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7) | |
7116 | (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11) | |
7117 | (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this. | |
7118 | (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3) | |
7119 | (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7) | |
7120 | (xtensa_submask8, xtensa_submask9, xtensa_submask10) | |
7121 | (xtensa_submask11, xtensa_submask12, xtensa_submask13) | |
7122 | (xtensa_submask14, xtensa_submask15): New. | |
7123 | (rmap): Follow strict aliasing rules doing static initialization. | |
7124 | ||
d9cc5895 DJ |
7125 | 2007-02-13 Daniel Jacobowitz <dan@codesourcery.com> |
7126 | ||
7127 | * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr | |
7128 | handling from here... | |
7129 | (tdesc_register_type): ...to here. | |
7130 | * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr. | |
7131 | * features/arm-core.xml: Use code_ptr and data_ptr. | |
7132 | ||
8756216b DP |
7133 | 2007-02-13 Denis Pilat <denis.pilat@st.com> |
7134 | ||
7135 | * varobj.h (enum varobj_update_error): New enum. | |
7136 | * varobj.c (struct varobj_root): Add is_valid member. | |
7137 | (varobj_get_type): Check for invalid varobj. | |
7138 | (varobj_get_attributes): Likewise. | |
7139 | (variable_editable):Likewise. | |
7140 | (varobj_update): Likewise. Use varobj_update_error. | |
7141 | (new_root_variable): Set root varobj as valid by default. | |
7142 | (varobj_invalidate): New function. | |
7143 | * symfile.c (clear_symtab_users): Use varobj_invalidate. | |
7144 | * mi/mi-cmd-var.c (varobj_update_one): Change return type to void. | |
7145 | Use varobj_update_error. | |
7146 | ||
fe8e67fd PM |
7147 | 2007-02-12 Pierre Muller <muller@ics.u-strasbg.fr> |
7148 | ||
7149 | Fix PR pascal/2223. | |
7150 | * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as | |
7151 | Pascal language marker. | |
7152 | * dwarf2read.c (set_cu_language): Likewise. | |
7153 | ||
c44537cf CV |
7154 | 2007-02-12 Corinna Vinschen <vinschen@redhat.com> |
7155 | ||
7156 | * win32-nat.c (win32_wait): Reset terminal pgrp to GDB. | |
7157 | (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp | |
7158 | instead of target_terminal_init since inferior_ptid isn't set yet. | |
7159 | ||
20dad8ea PA |
7160 | 2007-02-10 Pedro Alves <pedro_alves@portugalmail.pt> |
7161 | ||
7162 | * MAINTAINERS (Write After Approval): Add myself. | |
7163 | ||
4ac94eda FF |
7164 | 2007-02-09 Fred Fish <fnf@specifix.com> |
7165 | ||
7166 | Based on work by Apple Computer, Inc. | |
7167 | * event-top.c (async_request_quit): Call quit() whenever either | |
7168 | quit_flag is set or immediate_quit is set. | |
7169 | ||
b260b6c1 GDR |
7170 | 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net> |
7171 | ||
7172 | * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's | |
7173 | type to a pointer to const struct block. | |
7174 | (ada_lookup_symbol_list): Don't cast away constness when calling | |
7175 | remove_out_of_scope_renamings. | |
7176 | ||
7177 | 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net> | |
7178 | ||
7179 | * linux-nat.c (linux_nat_find_memory_regions): Don't check the | |
7180 | address of 'filename'; it is always non null. | |
7181 | ||
0f5d55d8 JB |
7182 | 2007-02-09 Joel Brobecker <brobecker@adacore.com> |
7183 | ||
7184 | * exec.c (add_to_section_table): Do not discard empty sections. | |
7185 | ||
fb1e4ffc DJ |
7186 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
7187 | ||
7188 | * features/Makefile, features/arm-with-iwmmxt.xml, | |
7189 | features/gdbserver-regs.xsl, features/number-regs.xsl, | |
7190 | features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files. | |
7191 | * regformats/arm-with-iwmmxt.dat: Generate. | |
7192 | * NEWS: Mention iWMMXt. | |
7193 | ||
123dc839 DJ |
7194 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
7195 | ||
7196 | * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o) | |
7197 | (xml-tdesc.o): Update. | |
7198 | * xml-support.c: Add a comment. | |
7199 | (gdb_xml_enums_boolean): New variable. | |
7200 | (gdb_xml_parse_attr_enum): Use strcasecmp. | |
7201 | * xml-support.h (gdb_xml_enums_boolean): Declare. | |
7202 | * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature, | |
7203 | next_regnum, and current_union. | |
7204 | (tdesc_start_feature, tdesc_start_reg, tdesc_start_union) | |
7205 | (tdesc_end_union, tdesc_start_field, tdesc_start_vector) | |
7206 | (field_attributes, union_children, reg_attributes, union_attributes) | |
7207 | (vector_attributes, feature_attributes, feature_children): New. | |
7208 | (target_children): Make static. Add <feature>. | |
7209 | (tdesc_elements): Make static. | |
7210 | * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p) | |
7211 | (struct tdesc_feature, tdesc_feature_p): New types. | |
7212 | (struct target_desc): Add features member. | |
7213 | (struct tdesc_arch_data, tdesc_data): New. | |
7214 | (target_find_description): Clarify error message. Warn about | |
7215 | ignored register descriptions. | |
7216 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) | |
7217 | (tdesc_named_type, tdesc_data_init, tdesc_data_alloc) | |
7218 | (tdesc_data_cleanup, tdesc_numbered_register) | |
7219 | (tdesc_numbered_register_choices, tdesc_find_register) | |
7220 | (tdesc_register_name, tdesc_register_type) | |
7221 | (tdesc_remote_register_number, tdesc_register_reggroup_p) | |
7222 | (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type) | |
7223 | (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers) | |
7224 | (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature) | |
7225 | (tdesc_create_feature, tdesc_record_type): New. | |
7226 | (free_target_description): Free features. | |
7227 | (_initialize_target_descriptions): Initialize tdesc_data. | |
7228 | * arch-utils.c (default_remote_register_number): New. | |
7229 | * arch-utils.h (default_remote_register_number): New prototype. | |
7230 | * target-descriptions.h (set_tdesc_pseudo_register_name) | |
7231 | (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p) | |
7232 | (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup) | |
7233 | (tdesc_numbered_register, tdesc_numbered_register_choices) | |
7234 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) | |
7235 | (tdesc_named_type, tdesc_create_feature, tdesc_record_type) | |
7236 | (tdesc_create_reg): Declare. | |
7237 | * gdbarch.sh (remote_register_number): New entry. | |
7238 | * gdbarch.c, gdbarch.h: Regenerate. | |
7239 | * remote.c (init_remote_state): Use gdbarch_remote_register_number. | |
7240 | * features/gdb-target.dtd: Add feature, reg, vector, union, and field. | |
7241 | ||
7242 | * arm-tdep.c (arm_register_aliases): New. | |
7243 | (arm_register_name_strings): Rename to... | |
7244 | (arm_register_names): ...this. Make const. Delete the old version. | |
7245 | (current_option, arm_register_byte): Delete. | |
7246 | (set_disassembly_style): Simplify. Do not adjust arm_register_names. | |
7247 | (value_of_arm_user_reg): New. | |
7248 | (arm_gdbarch_init): Verify any described registers. Call | |
7249 | tdesc_use_registers. Don't use arm_register_byte. Create aliases | |
7250 | for standard register names. | |
7251 | (_initialize_arm_tdep): Do not adjust arm_register_names. | |
7252 | * user-regs.c (struct user_reg): Add baton member. | |
7253 | (append_user_reg, user_reg_add_builtin, user_regs_init) | |
7254 | (user_reg_add, value_of_user_reg): Use a baton for user | |
7255 | register functions. | |
7256 | * std-regs.c: Update. | |
7257 | * user-regs.h (user_reg_read_ftype, user_reg_add_builtin) | |
7258 | (user_reg_add): Add baton argument. | |
7259 | * NEWS: Mention target description register support. | |
7260 | * features/arm-core.xml, features/arm-fpa.xml: New. | |
7261 | * eval.c (evaluate_subexp_standard): Allow ptype $register | |
7262 | when the program is not running. | |
7263 | ||
87604222 NR |
7264 | 2007-02-09 Nick Roberts <nickrob@snap.net.nz> |
7265 | ||
7266 | * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field. | |
7267 | ||
ee4f0f76 DJ |
7268 | 2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com> |
7269 | ||
7270 | * rs6000-tdep.c (gdb_print_insn_powerpc): Set | |
7271 | info->disassembler_options to "any". | |
7272 | ||
7af9851d DJ |
7273 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
7274 | ||
7275 | * varobj.c (install_new_value): Only call value_get_print_value | |
7276 | if changeable. | |
7277 | ||
8944021f DJ |
7278 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
7279 | ||
7280 | Reported by timeless@gmail.com: | |
7281 | * gdb/target.c (target_flash_erase): Do not return void value. | |
7282 | (target_flash_done): Likewise. | |
7283 | * gdb/cli/cli-cmds.c (source_command): Likewise. | |
7284 | ||
7285 | 2007-02-08 Fred Fish <fnf@specifix.com> | |
5f960e00 | 7286 | |
4ac94eda | 7287 | Based on work by Apple Computer, Inc. |
5f960e00 FF |
7288 | * event-top.c (handle_sigint): Set quit_flag. |
7289 | (async_request_quit): Don't set quit_flag. Avoid calling quit() | |
7290 | if quit_flag has already been reset. | |
7291 | ||
4998c1df DJ |
7292 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
7293 | ||
7294 | * ser-mingw.c (pipe_windows_close): Move variable initialization back | |
7295 | up. | |
7296 | ||
79da184e FF |
7297 | 2007-02-08 Fred Fish <fnf@specifix.com> |
7298 | ||
7299 | * defs.h (request_quit): Remove declaration. | |
7300 | * utils.c (request_quit): Remove definition. | |
7301 | ||
3c77c82a DJ |
7302 | 2007-02-08 Joel Brobecker <brobecker@gnat.com> |
7303 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
7304 | Daniel Jacobowitz <dan@codesourcery.com> | |
7305 | ||
7306 | * rs6000-tdep.c (bl_to_blrl_insn_p): New function. | |
7307 | (skip_prologue): Allow bl->blrl used by PIC code. | |
7308 | ||
c1b6e682 DJ |
7309 | 2007-02-08 Mark Kettenis <kettenis@gnu.org> |
7310 | Daniel Jacobowitz <dan@codesourcery.com> | |
7311 | ||
7312 | * cp-valprint.c (cp_print_value_fields, cp_print_value): Always | |
7313 | initialize tmp_obstack. | |
7314 | * p-valprint.c (pascal_object_print_value_fields) | |
7315 | (pascal_object_print_value): Likewise. | |
7316 | ||
fe5dedf4 DJ |
7317 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
7318 | ||
7319 | * features/feature_to_c.sh: Use %s to avoid problems with nawk. | |
7320 | ||
3e461478 MK |
7321 | 2007-02-08 Mark Kettenis <kettenis@gnu.org> |
7322 | ||
7323 | * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". | |
7324 | * Makefile.in (sparcnbsd-tdep.o): Update dependencies. | |
7325 | ||
fc6e0168 DJ |
7326 | 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
7327 | ||
7328 | * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s) | |
7329 | (xml_cache): New. | |
7330 | (tdesc_parse_xml): Cache expanded descriptions. | |
7331 | ||
108546a0 DJ |
7332 | 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
7333 | ||
7334 | * Makefile.in (XMLFILES): New. | |
7335 | (COMMON_OBS): Add xml-builtin.o. | |
7336 | (xml-builtin.c, stamp-xml): New rules. | |
7337 | (xml-tdesc.o): Update. | |
7338 | * features/feature_to_c.sh: New file. | |
7339 | * xml-support.c (MAX_XINCLUDE_DEPTH): Define. | |
7340 | (struct gdb_xml_parser): Add dtd_name and is_xinclude. | |
7341 | (gdb_xml_start_element): Initialize scope after possibly reallocating | |
7342 | scopes. Move cleanup later. Handle the XInclude description | |
7343 | specially. | |
7344 | (gdb_xml_end_element): Only parse the body if there is a current element. | |
7345 | Call XML_DefaultCurrent if there is no element. | |
7346 | (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New. | |
7347 | (struct xinclude_parsing_data, xinclude_start_include) | |
7348 | (xinclude_end_include, xml_xinclude_default) | |
7349 | (xml_xinclude_start_doctype, xml_xinclude_end_doctype) | |
7350 | (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes) | |
7351 | (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New. | |
7352 | * xml-support.h (xml_fetch_another, xml_process_xincludes) | |
7353 | (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations. | |
7354 | * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand | |
7355 | XInclude directives. Use the compiled in DTD. | |
7356 | (fetch_xml_from_file): Add baton argument. Treat it as a containing | |
7357 | directory name. Do not warn here. | |
7358 | (file_read_description_xml): Update call. Warn here instead. Pass | |
7359 | a dirname as baton. | |
7360 | (fetch_available_features_from_target): New. | |
7361 | (target_read_description_xml): Use it. | |
7362 | * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd | |
7363 | to handle XInclude. | |
7364 | * features/xinclude.dtd: New file. | |
7365 | ||
b5057acd DJ |
7366 | 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com> |
7367 | ||
7368 | * linux-thread-db.c (check_for_thread_db): Return early if we have | |
7369 | no libthread_db support. | |
7370 | ||
6a089cf2 DJ |
7371 | 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com> |
7372 | ||
7373 | * mi/mi-parse.h: Include <sys/time.h>. | |
7374 | ||
9fbcbb40 NR |
7375 | 2007-02-05 Nick Roberts <nickrob@snap.net.nz> |
7376 | ||
7377 | * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print | |
7378 | instead of print_variable_value to print values. | |
7379 | ||
b3d2152a NR |
7380 | 2007-02-03 Nick Roberts <nickrob@snap.net.nz> |
7381 | ||
7382 | * mi/mi-main.c: Numerous formatting changes. | |
7383 | (mi_cmd_data_write_register_values): Replace clause inadvertantly | |
7384 | removed in my previous change. | |
7385 | ||
79f0a97a NR |
7386 | 2007-02-03 Eli Zaretskii <eliz@gnu.org> |
7387 | ||
7388 | * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now): | |
7389 | Use 1000000L instead of 1000000. | |
7390 | ||
95a98c01 | 7391 | 2007-02-03 Nick Roberts <nickrob@snap.net.nz> |
cd375699 NR |
7392 | |
7393 | Based on work by Apple Computer, Inc. | |
7394 | ||
7395 | * configure.ac: Test for sys/resource.h and getrusage. | |
7396 | * configure, config.in: Regenerate. | |
7397 | ||
7398 | * mi/mi-main.c: Include <sys/resource.h> if present. | |
7399 | (rusage): Declare if HAVE_GETRUSAGE. | |
7400 | (current_command_ts, do_timings): New static variables. | |
7401 | (timestamp, print_diff_now, print_diff, timeval_diff): | |
7402 | New static timing functions. | |
7403 | (mi_cmd_enable_timings): New function for new MI command. | |
7404 | (captured_mi_execute_command, mi_execute_async_cli_command): | |
7405 | Call timing functions. | |
7406 | ||
7407 | * mi/mi-cmds.c (mi_cmds): Add entry for new MI command | |
7408 | -enable-timings. | |
7409 | ||
7410 | * mi/mi-cmds.h (mi_cmd_enable_timings): New extern. | |
7411 | ||
7412 | * mi/mi-parse.h: (mi_timestamp): New structure. | |
7413 | (mi_parse): Add mi_timestamp* member. | |
7414 | ||
99b3d574 DP |
7415 | 2007-02-02 Denis Pilat <denis.pilat@st.com> |
7416 | ||
7417 | * thread.c (make_cleanup_restore_current_thread): New function. | |
7418 | (info_threads_command): Use of make_cleanup_restore_current_thread | |
7419 | to restore the current thread and the selected frame. | |
7420 | (restore_selected_frame): New function. | |
7421 | (struct current_thread_cleanup): Add frame_id field. | |
7422 | (do_restore_current_thread_cleanup): Add restoring of the selected | |
7423 | frame. | |
7424 | (make_cleanup_restore_current_thread): Likewise. | |
7425 | (thread_apply_all_command): backup the selected frame while | |
7426 | entering the function and restore it at exit. | |
7427 | (thread_apply_command): Likewise. | |
7428 | ||
d3c598de DP |
7429 | 2007-02-02 Denis Pilat <denis.pilat@st.com> |
7430 | ||
7431 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
7432 | ||
b69733ab | 7433 | 2007-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
3e41d55f KI |
7434 | |
7435 | * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask. | |
7436 | (m32r_store_register): Ditto. | |
7437 | ||
b69733ab | 7438 | 2007-01-30 Vladimir Prus <vladimir@codesourcery.com> |
ef7723eb VP |
7439 | |
7440 | * ser-mingw.c (pipe_windows_open) | |
7441 | (pipe_windows_read, pipe_windows_write): Declare | |
7442 | variables at the top of the function. | |
7443 | ||
8da61cc4 DJ |
7444 | 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com> |
7445 | ||
7446 | * doublest.c (floatformat_from_length): Use the right element from | |
7447 | gdbarch floatformats. | |
7448 | (floatformat_from_type, extract_typed_floating) | |
7449 | (store_typed_floating): Likewise. | |
7450 | * doublest.h: Remove declarations for undefined floatformat arrays. | |
7451 | * gdbarch.sh (float_format, double_format, long_double_format): Change | |
7452 | to pairs. | |
7453 | (pformat): Update for pairs. | |
7454 | * gdbarch.c, gdbarch.h: Regenerated. | |
7455 | * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double) | |
7456 | (floatformats_ieee_double_littlebyte_bigword) | |
7457 | (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext) | |
7458 | (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f) | |
7459 | (floatformats_vax_d): New variables. | |
7460 | (builtin_type_ieee_single, builtin_type_ieee_double) | |
7461 | (builtin_type_arm_ext, builtin_type_ia64_spill) | |
7462 | (builtin_type_ia64_quad): Replace arrays with individual types. | |
7463 | (builtin_type_ieee_single_big, builtin_type_ieee_single_little) | |
7464 | (builtin_type_ieee_double_big, builtin_type_ieee_double_little) | |
7465 | (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext) | |
7466 | (builtin_type_m88110_ext, builtin_type_m88110_harris_ext) | |
7467 | (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword) | |
7468 | (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little) | |
7469 | (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete | |
7470 | unused and endian-specific types. | |
7471 | (recursive_dump_type): Update for floatformat pairs. | |
7472 | (build_flt): Move higher. Handle bit == -1. Take a floatformat pair. | |
7473 | (build_gdbtypes): Use build_flt. | |
7474 | (_initialize_gdbtypes): Update set of initialized types. | |
7475 | * gdbtypes.h: Update declarations to match gdbtypes.c. | |
7476 | (struct main_type): Store a pointer to two floatformats. | |
7477 | * arch-utils.c (default_float_format, default_double_format): Delete. | |
7478 | * arch-utils.h (default_float_format, default_double_format): Delete. | |
7479 | ||
7480 | * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, | |
7481 | ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c, | |
7482 | mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c, | |
7483 | sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c, | |
7484 | vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update. | |
7485 | ||
87680a14 JB |
7486 | 2007-01-29 Joel Brobecker <brobecker@adacore.com> |
7487 | ||
7488 | * target.c (maintenance_print_target_stack): New function. | |
7489 | (initialize_targets): Add new "maintenance print target-stack" | |
7490 | command. | |
7491 | ||
1c3d648d MK |
7492 | 2007-01-28 Mark Kettenis <kettenis@gnu.org> |
7493 | ||
7494 | * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero. | |
7495 | ||
607269ae DJ |
7496 | 2007-01-27 Daniel Jacobowitz <dan@codesourcery.com> |
7497 | ||
7498 | * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long. | |
7499 | (struct dwarf2_loclist_baton): Likewise. | |
7500 | ||
40c03ae8 EZ |
7501 | 2007-01-27 Eli Zaretskii <eliz@gnu.org> |
7502 | ||
7503 | * cli/cli-script.c: Include breakpoint.h. | |
7504 | (build_command_line): Require arguments only for if and while | |
7505 | commands. | |
7506 | (get_command_line, execute_user_command, execute_control_command): | |
7507 | Fix wording of warning messages. | |
7508 | (print_command_lines): Print breakpoint commands. | |
7509 | (execute_control_command): Call commands_from_control_command to | |
7510 | handle the `commands' command inside a body of a flow-control | |
7511 | command. | |
7512 | (read_next_line): Recognize the `commands' command and build a | |
7513 | command line structure for it. | |
7514 | (recurse_read_control_structure, read_command_lines): Handle | |
7515 | `commands' similarly to `if' and `while'. | |
7516 | ||
7517 | * breakpoint.c (get_number_trailer): Document the special meaning | |
7518 | of NULL as the first argument PP. | |
7519 | (commands_from_control_command): New function. | |
7520 | ||
7521 | * breakpoint.h (commands_from_control_command): Add prototype. | |
7522 | ||
7523 | * defs.h (commands_control): New enumerated value for enum | |
7524 | command_control_type. | |
7525 | ||
4b9eee8c JB |
7526 | 2007-01-26 Joel Brobecker <brobecker@adacore.com> |
7527 | ||
7528 | * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name. | |
7529 | (ada_exception_sal): Update accordingly. | |
7530 | ||
e1f48ead JK |
7531 | 2007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com> |
7532 | ||
7533 | * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs. | |
7534 | * NEWS: Describe CHAR array vs. string identifcation rules. | |
7535 | ||
e150acc7 PB |
7536 | 2007-01-25 Paul Brook <paul@codesourcery.com> |
7537 | ||
7538 | * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error. | |
7539 | ||
10fb19b6 JB |
7540 | 2007-01-24 Jim Blandy <jimb@codesourcery.com> |
7541 | ||
7542 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location | |
7543 | expression is empty, bother to return the 'optimized out' value we | |
7544 | construct. (Thanks to Carl Burch.) | |
7545 | ||
85d93f1d VP |
7546 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
7547 | ||
7548 | * varobj.c (c_value_of_root, c_value_of_child) | |
7549 | (cplus_describe_child): Don't call release_value. | |
7550 | ||
fcbd8a5c TS |
7551 | 2007-01-24 Thiemo Seufer <ths@mips.com> |
7552 | ||
7553 | * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct | |
7554 | initialization. | |
7555 | ||
2024f65a VP |
7556 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
7557 | ||
7558 | Refactor getting children name, value and type access | |
7559 | for varobjs in C++. | |
7560 | * varobj.c (get_type_deref): Remove. | |
7561 | (adjust_value_for_child_access): New. | |
7562 | (c_number_of_children): Use the above. | |
7563 | (c_describe_child): Likewise. | |
7564 | (enum accessibility): New. | |
7565 | (match_accessibility): New function. | |
7566 | (cplus_describe_child): New function. | |
7567 | (cplus_name_of_child, cplus_value_of_child) | |
7568 | (cplus_type_of_child): Reimplement in terms | |
7569 | of cplus_describe_child. | |
7570 | (cplus_number_of_children): Use | |
7571 | adjust_value_for_child_access. | |
7572 | ||
6e2a9270 VP |
7573 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
7574 | ||
7575 | Fix computation of the 'editable' attribute and | |
7576 | value changeability for for references. | |
7577 | * varobj.c (get_value_type): New function. | |
7578 | (c_variable_editable): Use get_value_type. | |
7579 | (varobj_value_is_changeable): Likewise. | |
7580 | ||
56163ce1 JB |
7581 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
7582 | ||
7583 | * source.c (find_and_open_source): Try rewriting the source | |
7584 | path inside filename if dirname is NULL. | |
7585 | ||
8c6860bb JB |
7586 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
7587 | ||
7588 | * dwarf2read.c (add_partial_symbol): Create an extra partial | |
7589 | symbol in the VAR_DOMAIN for Ada structures, unions or enums. | |
7590 | (new_symbol): Likewise for symbols. | |
7591 | ||
6db6d2ca NR |
7592 | 2007-01-24 Nick Roberts <nickrob@snap.net.nz> |
7593 | ||
7594 | * mi/mi-main.c (mi_cmd_execute): Call free_all_values. | |
7595 | ||
7d85ee02 VP |
7596 | 2007-01-23 Vladimir Prus <vladimir@codesourcery.com> |
7597 | ||
7598 | * value.c (value_primitive_field): Copy the full 'location' | |
7599 | contents, instead of assuming that copying ADDRESS will | |
7600 | bring over everything in the union. Remove obsolete comment. | |
7601 | ||
f79b9530 DJ |
7602 | 2007-01-23 Masaki Muranaka <monaka@monami-software.com> |
7603 | ||
7604 | * m32c-tdep.c (make_regs, m32c_analyze_prologue) | |
7605 | (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer) | |
7606 | (m32c_m16c_pointer_to_address): Separate code from declarations. | |
7607 | ||
08d8bcd7 DJ |
7608 | 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com> |
7609 | ||
7610 | * target.c (update_current_target): Correct typo. | |
7611 | ||
57fdbbbe CV |
7612 | 2007-01-22 Masaki Muranaka <monaka@monami-software.com> |
7613 | ||
7614 | * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a | |
7615 | declaration. | |
7616 | ||
58894217 JK |
7617 | 2007-01-11 Andrew Cagney <cagney@redhat.com> |
7618 | Daniel Jacobowitz <dan@codesourcery.com> | |
7619 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
7620 | ||
7621 | * dwarf2-frame.c (execute_cfa_program): New support of | |
7622 | `DW_CFA_GNU_negative_offset_extended'. | |
7623 | ||
9ebce043 DJ |
7624 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
7625 | ||
7626 | * NEWS: Mention flash support for "load" and new remote packets. | |
7627 | ||
973d738b DJ |
7628 | 2007-01-21 Markus Deuling <deuling@de.ibm.com> |
7629 | ||
7630 | * breakpoint.c (delete_command): Skip redundant loop iterations. | |
7631 | ||
7b9ee6a8 DJ |
7632 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
7633 | ||
7634 | * gdbarch.sh (register_type): Update comment. | |
7635 | * gdbarch.h: Regenerated. | |
7636 | * arch-utils.c (generic_register_size): Call register_type. | |
7637 | * ia64-tdep.c (ia64_extract_return_value): Likewise. | |
7638 | * m32c-tdep.c (check_for_saved): Likewise. | |
7639 | * mips-tdep.c (mips_print_register, print_gp_register_row) | |
7640 | (mips_print_registers_info): Likewise. | |
7641 | * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write): | |
7642 | Likewise. | |
7643 | * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write) | |
7644 | (sh64_do_register, sh64_print_register) | |
7645 | (sh64_media_print_registers_info): Likewise. | |
7646 | * tui/tui-regs.c (tui_register_format): Likewise. | |
7647 | ||
11309657 DJ |
7648 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
7649 | ||
7650 | * objfiles.h (ALL_PRIMARY_SYMTABS): Define. | |
7651 | ||
7652 | * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list) | |
7653 | (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS. | |
7654 | * cp-support.c (make_symbol_overload_list_qualified): Likewise. | |
7655 | * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
7656 | (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols) | |
7657 | (make_symbol_completion_list): Likewise. | |
7658 | ||
cb1df416 DJ |
7659 | 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
7660 | Daniel Jacobowitz <dan@codesourcery.com> | |
7661 | ||
7662 | * buildsym.c (end_symtab): Use preallocated symtab if available. | |
7663 | Fill in SYMBOL_SYMTAB. | |
7664 | * buildsym.h (struct subfile): Add symtab member. | |
7665 | * dwarf2read.c (struct dwarf2_cu): Add line_header. | |
7666 | (struct file_entry): Add symtab. | |
7667 | (free_cu_line_header): New function. | |
7668 | (read_file_scope): Use it. Save line_header in the cu. Process | |
7669 | lines before DIEs. | |
7670 | (add_file_name): Initialize new symtab member. | |
7671 | (dwarf_decode_lines): Create symtabs for included files. | |
7672 | (new_symbol): Set SYMBOL_SYMTAB. | |
7673 | * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB. | |
7674 | (search_symbols): Likewise. | |
7675 | * symtab.h (struct symbol): Add symtab member. | |
7676 | (SYMBOL_SYMTAB): Define. | |
7677 | ||
727da900 DJ |
7678 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
7679 | ||
7680 | * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO. | |
7681 | ||
7b6b9e83 DJ |
7682 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
7683 | ||
7684 | * arch-utils.c (show_endian): Correct reversed condition. | |
7685 | ||
e767400c JK |
7686 | 2007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
7687 | ||
7688 | * MAINTAINERS (Write After Approval): Add myself. | |
7689 | ||
b20d8971 VP |
7690 | 2007-01-16 Daniel Jacobowitz <dan@codesourcery.com> |
7691 | Vladimir Prus <vladimir@codesourcery.com> | |
7692 | ||
7693 | Fix 'selected frame' varobjs. | |
7694 | * varobj.c (struct varobj): Remove the error field. | |
7695 | (varobj_set_value): Don't check var->error. | |
7696 | (install_new_value): Don't set var->error. | |
7697 | (varobj_update): Always pass the new value | |
7698 | of the root via install_new_value. | |
7699 | (create_child): Don't set error field. | |
7700 | (new_variable): Likewise. | |
7701 | (c_value_of_root): Always reevaluate the value | |
7702 | of selected frame varobjs in the selected frame. | |
7703 | Don't call reinit_frame_cache. | |
7704 | ||
7ef2b397 JB |
7705 | 2007-01-15 Joel Brobecker <brobecker@adacore.com> |
7706 | ||
7707 | * source.c (_initialize_source): Improve the help text of | |
7708 | the substitute-path commands. | |
7709 | ||
1208538e MK |
7710 | 2007-01-14 Mark Kettenis <kettenis@gnu.org> |
7711 | ||
7712 | * frv-tdep.c (frv_gdbarch_init, frv_register_name) | |
7713 | (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address) | |
7714 | (frv_skip_prologue): Remove prototypes. | |
7715 | (frv_adjust_breakpoint_address): Renamed from | |
7716 | frv_gdbarch_adjust_breakpoint_address. | |
7717 | (frv_gdbarch_init): Adjust. | |
7718 | ||
765f065a MK |
7719 | 2007-01-13 Mark Kettenis <kettenis@gnu.org> |
7720 | ||
5e66aab2 MK |
7721 | * gdbarch.sh (deprecated_extract_return_value) |
7722 | (deprecated_store_return_value): Remove. | |
7723 | (extract_return_value, store_return_value): Remove default values. | |
7724 | * gdbarch.c, gdbarch.h: Regenerate. | |
7725 | * arch-utils.c, arch-utils.h (legacy_extract_return_value) | |
7726 | (legacy_store_return_value): Remove. | |
7727 | * regcache.c, regcache.h (deprecated_grub_regcache_for_registers): | |
7728 | Remove. | |
7729 | ||
56178203 MK |
7730 | * mi/mi-main.c: Remove obsolete comment. |
7731 | ||
23303b2e MK |
7732 | * regcache.c, regcache.h (deprecated_register_bytes) |
7733 | (deprecated_read_register_bytes) | |
7734 | (deprecated_write_register_bytes): Remove. | |
7735 | ||
765f065a MK |
7736 | * frame.c (get_frame_register_bytes, put_frame_register_bytes): |
7737 | Don't forget to move destination pointer. | |
7738 | ||
610acfff MK |
7739 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
7740 | ||
7741 | * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove. | |
7742 | ||
12102450 UW |
7743 | 2007-01-11 Ulrich Weigand <uweigand@de.ibm.com> |
7744 | ||
7745 | * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace | |
7746 | past entry function with recent newlib. | |
7747 | ||
c8b2f53c VP |
7748 | 2007-01-11 Vladimir Prus <vladimir@codesourcery.com> |
7749 | ||
7750 | * gdb.texinfo (GDB/MI Variable Objects): Improve the | |
7751 | introduction. Specify -var-update more exactly. | |
7752 | ||
d57df5e4 DJ |
7753 | 2007-01-11 Daniel Jacobowitz <dan@codesourcery.com> |
7754 | ||
7755 | * frame.c (get_prev_frame_1): Check PC_REGNUM before using it. | |
7756 | ||
03f597d5 JB |
7757 | 2007-01-10 Jim Blandy <jimb@codesourcery.com> |
7758 | ||
7759 | * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted | |
7760 | the Global Maintainers' invitation to be a global maintainer. | |
7761 | ||
fd48f117 DJ |
7762 | 2007-01-10 Daniel Jacobowitz <dan@codesourcery.com> |
7763 | ||
7764 | * infrun.c (singlestep_pc): New variable. | |
7765 | (resume): Set singlestep_pc. | |
7766 | (context_switch): Add a debugging message. Flush the frame cache. | |
7767 | (handle_inferior_event): Add debugging messages. Handle thread | |
7768 | hops when a software single step has completed. Let context_switch | |
7769 | handle flushing the frame cache. | |
7770 | ||
23181151 DJ |
7771 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
7772 | ||
7773 | * NEWS: Mention target descriptions, "set tdesc filename", | |
7774 | "unset tdesc filename", "show tdesc filename", and | |
7775 | qXfer:features:read. | |
7776 | * arch-utils.c (choose_architecture_for_target): New function. | |
7777 | (gdbarch_info_fill): Call it. | |
7778 | * target-descriptions.c (struct property): Make members non-const. | |
7779 | (struct target_desc): Add arch member. | |
7780 | (target_description_filename): New variable. | |
7781 | (target_find_description): Try via XML first. | |
7782 | (tdesc_architecture): New. | |
7783 | (free_target_description, make_cleanup_free_target_description): New. | |
7784 | (set_tdesc_property): Call xstrdup. | |
7785 | (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist) | |
7786 | (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd) | |
7787 | (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd) | |
7788 | (show_tdesc_filename_cmd, _initialize_target_descriptions): New. | |
7789 | * target-descriptions.h (tdesc_architecture) | |
7790 | (make_cleanup_free_target_description, set_tdesc_architecture): New | |
7791 | prototypes. | |
7792 | * Makefile.in (SFILES): Add xml-tdesc.c. | |
7793 | (COMMON_OBS): Add xml-tdesc.o. | |
7794 | (target-descriptions.o): Update. | |
7795 | (xml-tdesc.o): New rule. | |
7796 | * xml-tdesc.c, xml-tdesc.h: New files. | |
7797 | * remote.c (PACKET_qXfer_features): New enum. | |
7798 | (remote_protocol_features): Add qXfer:features:read. | |
7799 | (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES. | |
7800 | (_initialize_remote): Register qXfer:features:read. | |
7801 | * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES. | |
7802 | * features/gdb-target.dtd: New file. | |
7803 | ||
3e9cb5f4 DJ |
7804 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
7805 | ||
7806 | * copyright.sh: Clarify error. | |
7807 | ||
818f79f6 DJ |
7808 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
7809 | ||
7810 | * symtab.c (matching_bfd_sections): Fix VMA matching for | |
7811 | prelinked objects. | |
7812 | ||
f7a6bb70 DJ |
7813 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
7814 | ||
7815 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle | |
7816 | nested symbols. | |
7817 | ||
20ac0504 DJ |
7818 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
7819 | ||
7820 | Updated copyright notices for most files. | |
7821 | ||
85bb0718 DJ |
7822 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
7823 | ||
7824 | * copyright.sh (prunes): Add step-line.inp and step-line.c. | |
7825 | ||
aa28a74e DJ |
7826 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
7827 | ||
7828 | * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside | |
7829 | exec_prefix. | |
7830 | (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being | |
7831 | '${prefix}'. | |
7832 | * configure, config.in: Regenerate. | |
7833 | * defs.h (debug_file_directory): Declare. | |
7834 | * main.c (captured_main): Canonicalize gdb_sysroot. Assume | |
7835 | TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and | |
7836 | relocate it if DEBUGDIR_RELOCATABLE. | |
7837 | * symfile.c (debug_file_directory): Make non-static. | |
7838 | (find_separate_debug_file): Look for debug info for SYSROOT/PATH | |
7839 | in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT. | |
7840 | (_initialize_symfile): Don't initialize debug_file_directory here. | |
7841 | ||
1cfd2c3e JB |
7842 | 2007-01-09 Jim Blandy <jimb@codesourcery.com> |
7843 | ||
7844 | * score-tdep.c (score_push_dummy_call): Don't mix declarations and | |
7845 | statements. | |
7846 | ||
5efde112 DJ |
7847 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
7848 | ||
7849 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use | |
7850 | frame_unwind_register to recurse. | |
7851 | * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise. | |
7852 | (alpha_heuristic_frame_prev_register): Likewise. | |
7853 | * h8300-tdep.c (h8300_frame_prev_register): Likewise. | |
7854 | * m32c-tdep.c (m32c_prev_register): Likewise. | |
7855 | * frame.c (frame_register_unwind_location): Remove FIXME. | |
7856 | ||
4de1f557 DJ |
7857 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
7858 | Eli Zaretskii <eliz@gnu.org> | |
7859 | ||
7860 | * copyright.sh: New file. | |
7861 | ||
ca4ca11e DJ |
7862 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
7863 | ||
7864 | * configure.ac: Check for XML_StopParser. | |
7865 | * xml-support.c (gdb_xml_body_text): Check for an error. | |
7866 | (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser. | |
7867 | (gdb_xml_end_element_wrapper): Likewise. | |
7868 | * config.in, configure: Regenerated. | |
7869 | ||
57e66780 DJ |
7870 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
7871 | ||
7872 | * varobj.c (install_new_value): Always update print_value. | |
7873 | (value_get_print_value): Immediately return NULL for missing | |
7874 | values. | |
7875 | ||
b523a1fd JB |
7876 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
7877 | ||
7878 | * configure.ac: Tighten pattern for extracting value of | |
7879 | DEPRECATED_TM_FILE from the target makefile fragment. | |
7880 | * configure: Regenerated. | |
7881 | ||
3d799a95 DJ |
7882 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
7883 | ||
7884 | * linux-nat.c (struct simple_pid_list): Add status. | |
7885 | (add_to_pid_list): Record the PID's status. | |
7886 | (linux_record_stopped_pid): Likewise. Make static. | |
7887 | (pull_pid_from_list): Return the saved status. | |
7888 | (linux_nat_handle_extended): Deleted. | |
7889 | (linux_handle_extended_wait): Combine with linux_nat_handle_extended. | |
7890 | Make static. Handle non-SIGSTOP for a new thread's first signal. | |
7891 | (flush_callback): Handle unexpected pending signals. | |
7892 | (linux_nat_wait): Update calls to changed functions. | |
7893 | * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait): | |
7894 | Remove prototypes for newly static functions. | |
7895 | ||
9acbedc0 UW |
7896 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
7897 | ||
7898 | * gdbarch.sh (value_from_register): New gdbarch function. | |
7899 | * gdbarch.c, gdbarch.h: Regenerate. | |
7900 | * findvar.c (default_value_from_register): New function. | |
7901 | (value_from_register): Use gdbarch_value_from_register. | |
7902 | * value.h (default_value_from_register): Declare. | |
7903 | * spu-tdep.c (spu_convert_register_p, spu_register_to_value, | |
7904 | spu_value_to_register): Remove. | |
7905 | (spu_value_from_register): New function. | |
7906 | (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
7907 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
7908 | Call set_gdbarch_value_from_register. | |
7909 | * s390-tdep.c (s390_convert_register_p, s390_register_to_value, | |
7910 | s390_value_to_register): Remove. | |
7911 | (s390_value_from_register): New function. | |
7912 | (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
7913 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
7914 | Call set_gdbarch_value_from_register. | |
7915 | ||
f822c95b DJ |
7916 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
7917 | ||
7918 | * NEWS: Add "set sysroot" and "show sysroot". | |
7919 | * solib.c (solib_absolute_prefix): Delete. Replace | |
7920 | all uses with gdb_sysroot. | |
7921 | (_initialize_solib): Add "set sysroot" and "show sysroot". | |
7922 | Make "solib-absolute-prefix" an alias to it. | |
7923 | ||
00fa51f6 UW |
7924 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
7925 | ||
7926 | * frame.c (get_frame_register_bytes): New function. | |
7927 | (put_frame_register_bytes): Likewise. | |
7928 | * frame.h (get_frame_register_bytes): Declare. | |
7929 | (put_frame_register_bytes): Likewise. | |
7930 | * findvar.c (value_from_register): Always construct lval_register | |
7931 | values. Use get_frame_register_bytes. | |
7932 | * valops.c (value_assign): Use get_frame_register_bytes and | |
7933 | put_frame_register_bytes. | |
7934 | ||
a95c9d06 JB |
7935 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
7936 | ||
7937 | * MAINTAINERS: Update Stan Shebs' email address. | |
7938 | ||
4ed6b5be JB |
7939 | 2007-01-07 Joel Brobecker <brobecker@adacore.com> |
7940 | ||
7941 | * ada-lang.c (is_known_support_routine): Improve the implementation. | |
7942 | ||
9bbc9174 JB |
7943 | 2007-01-06 Joel Brobecker <brobecker@adacore.com> |
7944 | ||
7945 | * ada-lang.c: Add include of source.h. | |
7946 | (is_known_support_routine): Improve the check verifying that the file | |
7947 | associated to this frame exists. | |
7948 | * Makefile.in (ada-lang.o): Add dependency on source.h. | |
7949 | ||
44a81774 JB |
7950 | 2007-01-07 Jim Blandy <jimb@codesourcery.com> |
7951 | ||
7952 | * ax-general.c (ax_const_l): Select proper opcode for the given | |
7953 | value. | |
7954 | ||
fcd19eb1 | 7955 | 2007-01-05 Vladimir Prus <vladimir@codesourcery.com> |
6fe1a487 NR |
7956 | |
7957 | * varobj.c (c_value_of_root): Don't select frame if variable | |
7958 | object is out of scope. | |
7959 | ||
fcd19eb1 | 7960 | 2007-01-05 Nick Roberts <nickrob@snap.net.nz> |
3fa6deb5 NR |
7961 | |
7962 | * varobj.c (struct varobj): New member print_value. | |
7963 | (install_new_value): Compare last printed value with current one | |
7964 | instead of contents. | |
7965 | (new_variable): Initialize var->print_value to NULL. | |
7966 | (free_variable): Free var->print_value. | |
7967 | (value_get_print_value): New function derived from | |
7968 | c_value_of_variable. | |
7969 | (c_value_of_variable): Use value_get_print_value. | |
7970 | ||
92a56b20 JB |
7971 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
7972 | ||
7973 | * i386-tdep.c (i386_analyze_stack_align): Add comment. | |
7974 | ||
0e420bd8 JB |
7975 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
7976 | ||
7977 | * NEWS: Add entries for new catch commands. | |
7978 | ||
b69733ab | 7979 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
fa4028e9 JB |
7980 | |
7981 | * dwarf2read.c (partial_die_info): Add field has_byte_size. | |
7982 | (add_partial_symbol): Correct identification of external references. | |
7983 | (process_structure_scope): Likewise. | |
7984 | (read_partial_die): Handle DW_AT_byte_size attribute. | |
7985 | ||
7986 | 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com> | |
d097fa3e DJ |
7987 | |
7988 | * xml-support.c (gdb_xml_end_element): Remove wrong backslashes. | |
7989 | ||
8e38af42 NR |
7990 | 2007-01-05 Nick Roberts <nickrob@snap.net.nz> |
7991 | ||
7992 | * varobj.c (get_type_deref): Fix variable objects for references to | |
7993 | pointers. | |
7994 | ||
d1c79ecd DJ |
7995 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
7996 | ||
7997 | * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs | |
7998 | with no symbols. | |
7999 | ||
e776119f DJ |
8000 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
8001 | ||
8002 | * memory-map.c (struct_memory_map_parsing_data): Remove most | |
8003 | members. Make property_name an array. | |
8004 | (free_memory_map_parsing_data, memory_map_start_element) | |
8005 | (memory_map_end_element, memory_map_character_data): Delete. | |
8006 | (memory_map_start_memory, memory_map_end_memory) | |
8007 | (memory_map_start_property, memory_map_end_property): New functions. | |
8008 | (property_attributes, memory_children, memory_type_enum) | |
8009 | (memory_attributes, memory_map_children, memory_map_elements): New. | |
8010 | (parse_memory_map): Rewrite. | |
8011 | * xml-support.c (debug_xml): New. | |
8012 | (xml_get_required_attribute, xml_get_integer_attribute) | |
8013 | (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser): | |
8014 | Delete. | |
8015 | (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text) | |
8016 | (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup) | |
8017 | (gdb_xml_start_element, gdb_xml_start_element_wrapper) | |
8018 | (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup) | |
8019 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse) | |
8020 | (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest) | |
8021 | (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support): | |
8022 | New. | |
8023 | * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler) | |
8024 | (enum gdb_xml_attribute_flag, struct gdb_xml_attribute) | |
8025 | (enum gdb_xml_element_flag, struct gdb_xml_element) | |
8026 | (gdb_xml_element_start_handler, gdb_xml_element_end_handler) | |
8027 | (struct gdb_xml_enum): New. | |
8028 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug) | |
8029 | (gdb_xml_error, gdb_xml_parse_attr_ulongest) | |
8030 | (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes. | |
8031 | (xml_get_required_attribute, xml_get_integer_attribute) | |
8032 | (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes. | |
8033 | * Makefile.in (xml_support_h, xml-support.o): Update. | |
8034 | ||
5e572bb4 DJ |
8035 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
8036 | ||
8037 | * Makefile.in (eval.o): Update dependencies. | |
8038 | * eval.c: Include "ui-out.h" and "exceptions.h". | |
8039 | (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable. | |
8040 | Use value_zero if an error occurs when avoiding side effects. | |
8041 | * varobj.c (c_value_of_root): Initialize new_val. | |
8042 | ||
74a44383 DJ |
8043 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
8044 | ||
8045 | * varobj.c (varobj_list_children): Stop if the number of children is | |
8046 | unknown. | |
8047 | (c_number_of_children): | |
8048 | ||
e8d2d628 MK |
8049 | 2007-01-04 Mark Kettenis <kettenis@gnu.org> |
8050 | ||
8051 | * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE. | |
8052 | (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start) | |
8053 | (alpha_heuristic_frame_unwind_cache, alpha_next_pc) | |
8054 | (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and | |
8055 | sizeof, instead of hardcoded constants. | |
8056 | ||
c941839d DJ |
8057 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
8058 | ||
8059 | * CONTRIBUTE: Use sourceware.org. | |
8060 | ||
303b6f5d | 8061 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
2d0720d9 | 8062 | |
303b6f5d DJ |
8063 | * buildsym.c (start_subfile): Handle producer. |
8064 | (record_producer): New function. | |
8065 | * buildsym.h (struct subfile): Include producer. | |
8066 | (record_producer): New prototype. | |
8067 | * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation. | |
8068 | (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and | |
8069 | armcc_cfa_offsets_reversed. | |
8070 | (execute_cfa_program): Handle armcc_cfa_offsets_sf. | |
8071 | (dwarf2_frame_find_quirks): New function. | |
8072 | (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed. | |
8073 | (decode_frame_entry_1): Record the CIE version. Record the | |
8074 | augmentation. Skip armcc augmentations. | |
8075 | * dwarf2read.c (read_file_scope): Save the producer. | |
8076 | * symtab.h (struct symtab): Rename unused version member to | |
8077 | producer. | |
2d0720d9 | 8078 | |
aa79a185 DJ |
8079 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
8080 | ||
8081 | * configure.ac (build_warnings): Use -Wall and | |
8082 | -Wdeclaration-after-statement. | |
8083 | * configure: Regenerated. | |
8084 | ||
bbec2603 VP |
8085 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
8086 | ||
8087 | Simplify access to variours properties of child | |
8088 | variable objects in C. | |
8089 | * varobj.c (value_struct_element_index): New function. | |
8090 | (c_describe_child): New function. | |
8091 | (c_name_of_child, c_value_of_child) | |
8092 | (c_type_of_child): Rewrite to use c_describe_child. | |
8093 | ||
28335dcc VP |
8094 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
8095 | ||
8096 | gdb/ | |
8097 | * varobj.c: Include "vec.h". | |
8098 | (varobj_p): New typedef, declare vector of those. | |
8099 | (struct varobj): Use vector for the 'children' member. | |
8100 | (child_exists): Remove. | |
8101 | (save_child_in_parent): Remove. | |
8102 | (remove_child_from_parent): Remove. | |
8103 | (struct varobj_child): Remove. | |
8104 | (struct vstack): Remove. | |
8105 | (vpush, vpop): Remove. | |
8106 | (varobj_list_children): Adjust to work work vector. | |
8107 | (varobj_update): Likewise. Use vectors for | |
8108 | working stack and result. | |
8109 | (delete_variable_1): Likewise. | |
8110 | * Makefile.in (varobj.o): Update dependencies. | |
8111 | ||
b2c2bd75 VP |
8112 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
8113 | ||
8114 | Port from Apple's version. | |
8115 | gdb/ | |
8116 | * varobj.c (type_changeable): Rename to... | |
8117 | (varobj_value_is_changeable_p): ...this. Adjust all callers. | |
8118 | (is_root_p): New function. Use it everywhere. | |
8119 | ||
bdfb3870 JB |
8120 | 2007-01-04 Jim Blandy <jimb@codesourcery.com> |
8121 | ||
8122 | * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup', | |
8123 | then plain 'fixup'. | |
8124 | ||
5d15052e JB |
8125 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
8126 | ||
8127 | * hpread.c (hpread_start_psymtab): Remove unnecessary extern. | |
8128 | ||
53103997 JB |
8129 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
8130 | ||
8131 | * hpread.c (hpread_type_lookup): Fix compilation failure. | |
8132 | ||
27fd2f50 Q |
8133 | 2007-01-04 Qinwei <qinwei@sunnorth.com.cn> |
8134 | ||
8135 | * NEWS: New port to S+core. | |
8136 | * MAINTAINERS (Write After Approval, Responsible Maintainers): | |
8137 | Add myself. | |
8138 | ||
8139 | * Makefile.in: Add dependencies for S+core files. | |
8140 | * configure.tgt (score*, score-*-*): Add S+core target. | |
8141 | * config/score/embed.mt: New file. | |
8142 | * score-tdep.c: New file. | |
8143 | * score-tdep.h: New file. | |
8144 | ||
a6cfbe68 JB |
8145 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
8146 | ||
8147 | * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with | |
8148 | the appropriate type rather than a bogus void type. | |
8149 | ||
67cf15b7 | 8150 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
f7f9143b JB |
8151 | |
8152 | * ada-lang.h (ada_find_printable_frame): Remove. | |
8153 | (ada_exception_catchpoint_p, ada_decode_exception_location) | |
8154 | (ada_decode_assert_location): Add declaration. | |
8155 | * ada-lang.c: Add include of annotate.h and valprint.h. | |
8156 | (exception_catchpoint_kind): New enum. | |
8157 | (function_name_from_pc, is_known_support_routine) | |
8158 | (ada_find_printable_frame, ada_unhandled_exception_name_addr) | |
8159 | (ada_exception_name_addr_1, ada_exception_name_addr) | |
8160 | (print_it_exception, print_one_exception, print_mention_exception) | |
8161 | (print_it_catch_exception, print_one_catch_exception) | |
8162 | (print_mention_catch_exception, catch_exception_breakpoint_ops) | |
8163 | (print_it_catch_exception_unhandled) | |
8164 | (print_one_catch_exception_unhandled) | |
8165 | (print_mention_catch_exception_unhandled, print_it_catch_assert) | |
8166 | (print_one_catch_assert, print_mention_catch_assert) | |
8167 | (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found) | |
8168 | (ada_get_next_arg, catch_ada_exception_command_split) | |
8169 | (ada_exception_sym_name, ada_exception_sym_name) | |
8170 | (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string) | |
8171 | (ada_parse_catchpoint_condition, ada_exception_sal) | |
8172 | (ada_decode_exception_location) | |
8173 | (ada_decode_assert_location): New function. | |
8174 | (catch_exception_unhandled_breakpoint_ops): New global variable. | |
8175 | (catch_assert_breakpoint_ops): New global variable. | |
8176 | * breakpoint.c: Add include of ada-lang.h. | |
8177 | (print_one_breakpoint): Do not print the condition for Ada | |
8178 | exception catchpoints. | |
8179 | (create_ada_exception_breakpoint): New function. | |
8180 | (catch_ada_exception_command, catch_assert_command): New function. | |
8181 | (catch_command_1): Add support for the new "catch exception" and | |
8182 | "catch assert" commands. | |
8183 | (_initialize_breakpoint): Add help description for the new catch | |
8184 | commands. | |
8185 | * Makefile.in (ada-lang.o): Add dependency on annotate.h and | |
8186 | valprint.h. | |
8187 | (breakpoint.o): Add dependency on ada-lang.h. | |
8188 | ||
05cfdb42 DJ |
8189 | 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt> |
8190 | ||
8191 | * coffread.c (cs_to_section): If bfd_section is found, always | |
8192 | return its section index. | |
8193 | (coff_symtab_read): Determine the minimal_symbol_type using the | |
8194 | bfd_section flags. | |
8195 | ||
2e03ee74 DJ |
8196 | 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
8197 | Daniel Jacobowitz <dan@codesourcery.com> | |
8198 | ||
8199 | * Makefile.in (top.o): Update. | |
8200 | * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result) | |
8201 | (saved_after_char_processing_hook, gdb_readline_wrapper_line) | |
8202 | (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup): | |
8203 | New. | |
8204 | (gdb_readline_wrapper): Rewrite to use asynchronous readline. | |
8205 | ||
1c63d086 MK |
8206 | 2007-01-03 Mark Kettenis <kettenis@gnu.org> |
8207 | ||
8208 | * arm-linux-tdep.c (arm_linux_extract_return_value): Remove. | |
8209 | (arm_linux_init_abi): Don't set deprecated_extract_return_value. | |
8210 | ||
d5d6fca5 DJ |
8211 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
8212 | ||
8213 | * ada-lang.c (find_struct_field): Initialize *byte_offset_p. | |
8214 | * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i. | |
8215 | * c-typeprint.c (c_type_print_varspec_suffix): Don't test length | |
8216 | greater than or equal to zero. | |
8217 | * m2-typeprint.c (m2_array): Likewise. | |
8218 | * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise. | |
8219 | * gdbtypes.c (copy_type_recursive): Correct == typo. | |
8220 | * i386-tdep.c (i386_skip_prologue): Remove stray semicolon. | |
8221 | * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer | |
8222 | greater than zero. | |
8223 | * macroscope.c (sal_macro_scope): Don't name a local variable "main". | |
8224 | (default_macro_scope): Remove unused variable. | |
8225 | * prologue-value.h (pv_area_find_reg): Don't name an argument | |
8226 | "register". | |
8227 | * remote-fileio.c (remote_fio_func_map): Add missing braces. | |
8228 | * remote.c (sigint_remote_twice_token, sigint_remote_token): Change | |
8229 | type. | |
8230 | (cleanup_sigint_signal_handler): Remove casts. | |
8231 | * valprint.c (val_print): Use a volatile local for the modified | |
8232 | argument. | |
8233 | * varobj.c (languages): Remove extra array dimension. | |
8234 | (varobj_create): Correct access to languages array. | |
8235 | * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add | |
8236 | missing braces. | |
8237 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise. | |
8238 | * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise. | |
8239 | * mi/mi-getopt.c (mi_valid_noargs): Likewise. | |
8240 | * mi/mi-main.c (mi_cmd_data_read_memory): Likewise. | |
8241 | (mi_cmd_data_write_memory): Likewise. | |
8242 | * signals/signals.c (target_signal_to_string): Cast to int before | |
8243 | comparing. | |
8244 | * tui/tui-layout.c (init_and_make_win): Take and return a void *. | |
8245 | Update all callers. | |
8246 | ||
0d5de010 DJ |
8247 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
8248 | ||
8249 | * NEWS: Mention pointer to member improvements. | |
8250 | * Makefile.in (gnu-v3-abi.o): Delete special rule. | |
8251 | (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update. | |
8252 | * ada-valprint.c (ada_print_scalar): Update for new type codes. | |
8253 | * c-typeprint.c (c_print_type): Update for new type codes. | |
8254 | (c_type_print_varspec_prefix, c_type_print_varspec_suffix) | |
8255 | (c_type_print_base): Likewise. | |
8256 | (c_type_print_args): Rewrite. | |
8257 | * c-valprint.c (c_val_print): Update for new type codes. Remove | |
8258 | support for references to members. Treat methods like functions. | |
8259 | * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size) | |
8260 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New. | |
8261 | * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size) | |
8262 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes. | |
8263 | (struct cp_abi_ops): Add corresponding members. | |
8264 | * cp-valprint.c (cp_print_class_method): Delete. | |
8265 | (cp_find_class_member): New function. | |
8266 | (cp_print_class_member): Use it. Simplify support for bogus | |
8267 | member pointers. | |
8268 | * dwarf2read.c (quirk_gcc_member_function_pointer): Use | |
8269 | lookup_methodptr_type. | |
8270 | (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type. | |
8271 | * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for | |
8272 | OP_SCOPE. Update call to value_aggregate_elt. Rewrite member | |
8273 | pointer support. | |
8274 | (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle | |
8275 | references returned by user defined operators. | |
8276 | * f-typeprint.c (f_print_type, f_type_print_varspec_prefix) | |
8277 | (f_type_print_varspec_suffix): Remove support for member pointers. | |
8278 | * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type | |
8279 | and adjusted. | |
8280 | (smash_to_memberptr_type): Likewise, from smash_to_member_type. | |
8281 | (lookup_methodptr_type): New. | |
8282 | (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR. | |
8283 | (recursive_dump_type): Update for new types. | |
8284 | * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with | |
8285 | TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR. | |
8286 | (lookup_memberptr_type, lookup_methodptr_type) | |
8287 | (smash_to_memberptr_type): New prototypes. | |
8288 | (smash_to_method_type): Formatting fix. | |
8289 | (lookup_member_type, smash_to_member_type): Delete prototypes. | |
8290 | * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New. | |
8291 | Do not rely on debug information for the vptr or the method's | |
8292 | enclosing type. Handle function descriptors for IA64. | |
8293 | (gnuv3_virtual_fn_field): Rewrite using the new functions. | |
8294 | (gnuv3_find_method_in, gnuv3_print_method_ptr) | |
8295 | (gnuv3_method_ptr_size, gnuv3_make_method_ptr) | |
8296 | (gnuv3_method_ptr_to_value): New. | |
8297 | (init_gnuv3_ops): Set new members of gnu_v3_abi_ops. | |
8298 | * hpread.c (hpread_type_lookup): Update for new types. | |
8299 | * infcall.c (value_arg_coerce): Likewise. | |
8300 | * m2-typeprint.c (m2_print_type): Remove explicit support | |
8301 | for member pointers. | |
8302 | * m2-valprint.c (m2_val_print): Likewise. | |
8303 | * p-typeprint.c (pascal_type_print_varspec_prefix) | |
8304 | (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise. | |
8305 | * p-valprint.c (pascal_val_print): Likewise. | |
8306 | (pascal_object_print_class_method, pascal_object_print_class_member): | |
8307 | Delete. | |
8308 | * p-lang.h (pascal_object_print_class_method) | |
8309 | (pascal_object_print_class_member): Delete prototypes. | |
8310 | * stabsread.c (read_type): Update for new types. | |
8311 | * typeprint.c (print_type_scalar): Likewise. | |
8312 | * valops.c (value_struct_elt_for_reference, value_namespace_elt) | |
8313 | (value_maybe_namespace_elt, value_aggregate_elt): Add want_address | |
8314 | argument. Construct a pointer to member if the address of a | |
8315 | function or data member is requested. | |
8316 | (value_cast_pointers): Don't modify the input value. | |
8317 | (value_cast): Adjust pointer to member handling for new types. | |
8318 | Allow null pointer to member constants. Don't modify the input | |
8319 | value. | |
8320 | (value_ind): Remove pointer to member check. Handle function | |
8321 | descriptors for function pointers. | |
8322 | (value_struct_elt, value_find_oload_method_list, check_field): | |
8323 | Remove pointer to member checks. | |
8324 | * value.c (unpack_long): Allow pointers to data members. | |
8325 | (value_from_longest): Allow member pointers. | |
8326 | * value.h (value_aggregate_elt): Add want_address. | |
8327 | * varobj.c (c_variable_editable): Remove check for members. | |
8328 | * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta. | |
8329 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors | |
8330 | in virtual tables. | |
8331 | (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors. | |
8332 | * c-lang.h (cp_print_class_method): Delete prototype. | |
8333 | * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta. | |
8334 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
8335 | * gdbarch.c, gdbarch.h: Regenerated. | |
8336 | ||
d217aaed MK |
8337 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
8338 | ||
8339 | * rs6000-tdep.c (rs6000_use_struct_convention) | |
8340 | (rs6000_extract_return_value, rs6000_store_return_value) | |
8341 | (rs6000_extract_struct_value_address): Remove. | |
8342 | (rs6000_return_value): New function. | |
8343 | (rs6000_gdbarch_init): Don't set deprecated_extract_return_value, | |
8344 | store_return_value, deprecated_extract_struct_value_address and | |
8345 | deprecated_use_struct_convention. Use rs6000_return_value | |
8346 | instead. | |
8347 | ||
02296b29 NR |
8348 | 2007-01-02 Nick Roberts <nickrob@snap.net.nz> |
8349 | ||
8350 | * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete, | |
8351 | -display-disable, -display-enable, -display-insert and | |
8352 | -display-list. | |
8353 | ||
b69733ab | 8354 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
ce186b30 JB |
8355 | |
8356 | * breakpoint.c (remove_breakpoint): Remove dead code. | |
8357 | ||
8358 | 2007-01-01 Nick Roberts <nickrob@snap.net.nz> | |
ab9245ed NR |
8359 | |
8360 | * varobj.c: Include block.h. | |
8361 | (c_value_of_root): Check scope within nested statements. | |
8362 | ||
9f3a1602 MK |
8363 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
8364 | ||
8365 | * mi/mi-main.c (mi_cmd_data_write_register_values): Use | |
8366 | regcache_cooked_write_signed instead of | |
8367 | deprecated_write_register_bytes. | |
8368 | ||
12349ccd JB |
8369 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
8370 | ||
8371 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006. | |
8372 | ||
8c48ebcf JB |
8373 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
8374 | ||
8375 | Followed the Start of New Year Procedure: | |
8376 | * ChangeLog-2006: New file, containing all the entries for 2006. | |
8377 | * ChangeLog: Removed all 2006 entries, and changed the reference | |
8378 | to the previous ChangeLog to point to ChangeLog 2006. | |
8379 | * top.c (print_gdb_version): Update copyright year. | |
8380 | ||
154927ff MK |
8381 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
8382 | ||
8383 | * Makefile.in (remote-sds.o): Remove. | |
8384 | * remote-sds.c: Delete. | |
8385 | ||
8c48ebcf | 8386 | For older changes see ChangeLog-2006. |
c906108c SS |
8387 | \f |
8388 | Local Variables: | |
8389 | mode: change-log | |
8390 | left-margin: 8 | |
8391 | fill-column: 74 | |
8392 | version-control: never | |
57da7796 | 8393 | coding: utf-8 |
c906108c | 8394 | End: |