Commit | Line | Data |
---|---|---|
648027cc JB |
1 | 2007-10-26 Jim Blandy <jimb@codesourcery.com> |
2 | ||
bfe10c0f JB |
3 | * ax-gdb.h (expr_to_address_and_size): Delete declaration for |
4 | deleted function. | |
5 | ||
e3dd034f JB |
6 | * tracepoint.c (tracepoint_operation): Report the deletion event |
7 | after we have unlinked the tracepoint from the list, and use the | |
8 | proper tracepoint number. | |
9 | ||
624d6fb7 JB |
10 | * ax-gdb.c (expr_to_agent): Delete unused function. |
11 | (expr_to_address_and_size): Delete #if 0'd function. | |
12 | * ax-gdb.h (expr_to_agent): Delete declaration. | |
13 | ||
74b35824 JB |
14 | * ax-gdb.c (gen_cast): Remove redundant assignment to |
15 | value->type. Doc fix. | |
16 | ||
648027cc JB |
17 | * ax-general.c (gen_traced_pop, gen_int_literal) |
18 | (gen_usual_arithmetic): Check for typedefs. | |
19 | ||
df2a60d0 JB |
20 | 2007-10-26 Joel Brobecker <brobecker@adacore.com> |
21 | ||
22 | * parse.c (prefixify_expression): Minor reformatting. | |
23 | ||
d76526c6 DJ |
24 | 2007-10-25 Daniel Jacobowitz <dan@codesourcery.com> |
25 | ||
26 | * version.in: Use dot instead of dash. | |
27 | ||
8f136895 DJ |
28 | 2007-10-25 Daniel Jacobowitz <dan@codesourcery.com> |
29 | ||
30 | * linux-thread-db.c (check_for_thread_db): Only print if info_verbose. | |
31 | ||
f6071bfa PA |
32 | 2007-10-25 Pedro Alves <pedro_alves@portugalmail.pt> |
33 | ||
34 | * memory-map.c (parse_memory_map): Don't use an empty struct | |
35 | initializer. | |
36 | ||
7e2dbecf PA |
37 | 2007-10-25 Pedro Alves <pedro_alves@portugalmail.pt> |
38 | ||
39 | * signals/signals.c (signals): Update pointer to enum | |
40 | target_signal declaration. | |
41 | ||
68511cec CES |
42 | 2007-10-25 Wu Zhou <woodzltc@cn.ibm.com> |
43 | Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> | |
44 | Jim Blandy <jimb@codesourcery.com> | |
45 | ||
46 | * dwarf2read.c (read_partial_die): check the value | |
47 | of DW_AT_calling_convention in Fortran programs. | |
48 | ||
27bc4d80 TJB |
49 | 2007-10-25 Wu Zhou <woodzltc@cn.ibm.com> |
50 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
51 | ||
52 | * c-exp.y (YYSTYPE): Add typed_val_decfloat for decimal | |
53 | floating point in YYSTYPE union. | |
54 | (DECFLOAT) Add token and expression element handling code. | |
55 | (parse_number): Parse DFP constants, which end with suffix 'df', | |
56 | 'dd' or 'dl'. Return DECFLOAT. | |
57 | * eval.c (evaluate_subexp_standard): Call value_from_decfloat to | |
58 | handle OP_DECFLOAT. | |
59 | * expression.h (enum exp_opcode): Add an opcode (OP_DECFLOAT) | |
60 | for DFP constants. | |
61 | (union exp_element): Add decfloatconst to represent DFP | |
62 | elements, which is 16 bytes by default. | |
63 | * parse.c (write_exp_elt_decfloatcst): New function to write a | |
64 | decimal float const into the expression. | |
65 | (operator_length_standard): Set operator length for OP_DECFLOAT | |
66 | to 4. | |
67 | * parser-defs.h (write_exp_elt_decfloatcst): Prototype. | |
68 | * valarith.c (value_neg): Add code to handle the negation | |
69 | operation of DFP values. | |
70 | * value.c (value_from_decfloat): New function to get the value | |
71 | from a decimal floating point. | |
72 | * value.h (value_from_decfloat): Prototype. | |
73 | ||
7678ef8f TJB |
74 | 2007-10-25 Wu Zhou <woodzltc@cn.ibm.com> |
75 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
76 | ||
77 | * c-lang.c (c_create_fundamental_type): Create fundamental | |
78 | types for DFP. | |
79 | * c-typeprint.c (c_type_print_varspec_prefix): Add | |
80 | TYPE_CODE_DECFLOAT to no prefix needed case. | |
81 | (c_type_print_varspec_suffix): Add TYPE_CODE_DECFLOAT to no | |
82 | suffix needed case. | |
83 | * c-valprint.c (c_val_print): Call print_decimal_floating to | |
84 | print DFP values. | |
85 | * dwarf2read.c (read_base_type): Read DW_ATE_decimal_float | |
86 | attribute code and return TYPE_CODE_DECFLOAT. | |
87 | (dwarf_base_type): Set dwarf2_fundamental_type for DFP values. | |
88 | * gdbtypes.c (gdbtypes_post_init): Initialize builtin_decfloat, | |
89 | builtin_decdouble and builtin_declong. | |
90 | * gdbtypes.h (enum type_code): Add TYPE_CODE_DECFLOAT as a | |
91 | type code for DFP. | |
92 | (FT_DECFLOAT, FT_DBL_PREC_DECFLOAT, FT_EXT_PREC_DECFLOAT): New | |
93 | types, for decimal floating point. | |
94 | (FT_NUM_MEMBERS): Increment, new types added. | |
95 | (struct builtin_type): Add builtin_decfloat, builtin_decdouble | |
96 | and builtin_declong. | |
97 | * valprint.c (print_decimal_floating): New function to print DFP | |
98 | values. | |
99 | * value.h (print_decimal_floating): Prototype. | |
100 | ||
9b913628 TJB |
101 | 2007-10-25 Wu Zhou <woodzltc@cn.ibm.com> |
102 | Thiago Jung Bauermann <bauerman@br.ibm.com> | |
103 | ||
104 | * Makefile.in (LIBDECNUMBER_DIR, LIBDECNUMBER, LIBDECNUMBER_SRC | |
105 | LIBDECNUMBER_CFLAGS): New macros for libdecnumber. | |
106 | (INTERNAL_CFLAGS_BASE): Add LIBDECNUMBER_CFLAGS in. | |
107 | (INSTALLED_LIBS): Add -ldecnumber in. | |
108 | (CLIBS): Add LIBDECNUMBER in. | |
109 | (decimal128_h, decimal64_h, decimal32_h): New macros for decimal | |
110 | headers. | |
111 | (dfp_h): New macros for decimal floating point. | |
112 | (dfp.o): New target. | |
113 | (COMMON_OBS): Add dfp.o in. | |
114 | (c-exp.o): Add dfp_h as dependency. | |
115 | (valprint.o): Add dfp_h as dependency. | |
116 | (value.o): Add dfp_h as dependency. | |
117 | * dfp.h: New header file for decimal floating point support in | |
118 | GDB. | |
119 | * dfp.c: New source file for decimal floating point support in | |
120 | GDB. Implement decimal_from_string and decimal_to_string based | |
121 | on libdecnumber API. | |
122 | * configure.ac: Add AC_C_BIGENDIAN test. | |
123 | * config.in, configure: Regenerate. | |
124 | ||
ad842144 MR |
125 | 2007-10-25 David Ung <davidu@mips.com> |
126 | Maciej W. Rozycki <macro@mips.com> | |
127 | ||
128 | PR exp/1926 | |
129 | * infcmd.c (registers_info): Check for a user register before | |
130 | calling target's gdbarch_print_registers_info(). If found to be | |
131 | so, extract the implicit value of user register and call | |
132 | print_scalar_formatted(). | |
133 | * Makefile.in: (infcmd.o): Add $(user_regs_h). | |
134 | ||
24a836bd JB |
135 | 2007-10-25 Joel Brobecker <brobecker@adacore.com> |
136 | ||
137 | * NEWS: Document status of hppa64-hpux support. | |
138 | ||
7e3cb44c UW |
139 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
140 | ||
141 | * solib-svr4.c (set_solib_svr4_fetch_link_map_offsets): Call | |
142 | set_solib_ops to install SVR4 operations. | |
143 | (_initialize_svr4_solib): Do not set current_target_so_ops. | |
144 | ||
145 | * config/i386/i386gnu.mh (NATDEPFILES): Move solib.o, solib-svr4.o ... | |
146 | * config/i386/i386gnu.mt (TDEPFILES): ... to here. | |
147 | ||
8d005789 UW |
148 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
149 | ||
150 | * solib-svr4.c (legacy_svr4_fetch_link_map_offsets_hook): Remove. | |
151 | (solib_svr4_init): Initialize fetch_link_map_offsets to NULL. | |
152 | * solib-svr4.h (legacy_svr4_fetch_link_map_offsets_hook): Remove. | |
153 | * solib-legacy.c: Remove file. | |
154 | ||
155 | * config/alpha/alpha-linux.mt (TDEPFILES): Remove solib-legacy.o. | |
156 | * config/arm/linux.mt (TDEPFILES): Likewise. | |
157 | * config/i386/i386gnu.mh (NATDEPFILES): Likewise. | |
158 | * config/ia64/linux.mt (TDEPFILES): Likewise. | |
159 | * config/m32r/linux.mt (TDEPFILES): Likewise. | |
160 | * config/powerpc/linux.mt (TDEPFILES): Likewise. | |
161 | * config/s390/s390.mt (TDEPFILES): Likewise. | |
162 | ||
163 | * alpha-linux-tdep.c (alpha_linux_init_abi): Call | |
164 | set_solib_svr4_fetch_link_map_offsets. | |
165 | * i386gnu-tdep.c (i386gnu_init_abi): Likewise. | |
166 | * ia64-linux-tdep.c (ia64_linux_init_abi): Likewise. | |
167 | ||
168 | * i386gnu-tdep.c: Include "solib-svr4.h". | |
169 | * Makefile.in: Update dependencies. | |
170 | ||
59215afb UW |
171 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
172 | ||
173 | * i386-nto-tdep.c: Include "solib.h". | |
174 | (i386nto_init_abi): Use set_solib_ops instead of overwriting | |
175 | current_target_so_ops members. | |
176 | * solist.h (TARGET_SO_RELOCATE_SECTION_ADDRESSES): Remove. | |
177 | (TARGET_SO_FIND_AND_OPEN_SOLIB): Remove. | |
178 | (TARGET_SO_IN_DYNSYM_RESOLVE_CODE): Remove. | |
179 | * Makefile.in: Update dependencies. | |
180 | ||
8d465389 UW |
181 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
182 | ||
183 | * arm-wince-tdep.c: Include "solib.h" and "solib-target.h". | |
184 | (arm_wince_init_abi): Call set_solib_ops. | |
185 | * i386-cygwin-tdep.c: Include "solib.h" and "solib-target.h". | |
186 | (i386_cygwin_init_abi): Call set_solib_ops. | |
187 | * solib-target.c: Include "solib-target.h". | |
188 | (solib_target_so_ops): Make global. | |
189 | (_initialize_solib_target): Do not set current_target_so_ops. | |
190 | * solib-target.h: New file. | |
191 | * Makefile.in: Update dependencies. | |
192 | ||
734598d9 UW |
193 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
194 | ||
195 | * mips-irix-tdep.c: Include "gdb_string.h", "solib.h", "solib-irix.h". | |
196 | (mips_irix_init_abi): Call set_solib_ops. | |
197 | * solib-irix.c: Include "solib.h" and "solib-irix.h". | |
198 | (irix_so_ops): Make global. | |
199 | (_initialize_irix_solib): Do not set current_target_so_ops. | |
200 | * solib-irix.h: New file. | |
201 | * Makefile.in: Update dependencies. | |
202 | ||
d542061a UW |
203 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
204 | ||
205 | * configure.tgt: Remove hppa*64*-*-hpux11* special case. | |
206 | * config/pa/hppa64.mt: Delete file. | |
207 | * config/pa/hppahpux.mt (MT_CFLAGS): Remove. | |
208 | (TDEPFILES): Move somread.o to ... | |
209 | * config/pa/hpux.mh (NATDEPFILES): ... here. | |
210 | ||
211 | * configure.ac: Add check for elf_hp.h header. | |
212 | Search libdl and libxpdl for dlgetmodinfo. | |
213 | * config.in, configure: Regenerate. | |
214 | * solib-pa64.c: Conditionalize compilation on #ifdef HAVE_ELF_HP_H | |
215 | instead of #ifndef PA_SOM_ONLY. Include "solib.h". | |
216 | (pa64_solib_select): Take gdbarch instead of tdep argument. Call | |
217 | set_solib_ops instead of modifying current_target_so_ops. | |
218 | * solib-pa64.h (pa64_solib_select): Update prototype. | |
219 | * solib-som.c: Remove include of "som.h". Include "solib.h". | |
220 | (som_solib_select): Take gdbarch instead of tdep argument. Call | |
221 | set_solib_ops instead of modifying current_target_so_ops. | |
222 | * solib-som.h (som_solib_select): Update prototype. | |
223 | * hppa-hpux-tdep.c (hppa_hpux_som_init_abi): Pass gdbarch instead | |
224 | of tdep to som_solib_select call. | |
225 | (hppa_hpux_elf_init_abi): Pass gdbarch instead of tdep to | |
226 | pa64_solib_select call. | |
227 | * Makefile.in: Update dependencies. | |
228 | ||
917630e4 UW |
229 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
230 | ||
231 | * frv-tdep.c: Include "solib.h". | |
232 | (frv_gdbarch_init): Call set_solib_ops. | |
233 | * frv-tdep.h (struct target_so_ops): Add forward reference. | |
234 | (frv_so_ops): Add extern declaration. | |
235 | * solib-frv.c (frv_so_ops): Make global. | |
236 | (_initialize_frv_solib): Do not set current_target_so_ops. | |
237 | * Makefile.in: Update dependencies. | |
238 | ||
e8a92f7b UW |
239 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
240 | ||
241 | * solib.c (solib_global_lookup): Use solib_ops instead of global | |
242 | current_target_so_ops. | |
243 | ||
8ff7bac7 UW |
244 | 2007-10-24 Ulrich Weigand <uweigand@de.ibm.com> |
245 | ||
246 | * config/frv/frv.mt (DEPRECATED_TM_FILE): Remove. | |
247 | * config/frv-tm-frv.h: Delete file. | |
248 | ||
523c4513 DJ |
249 | 2007-10-24 Daniel Jacobowitz <dan@codesourcery.com> |
250 | ||
251 | * NEWS: Mention gdbserver support for non-libthread_db operation. | |
252 | ||
83acabca DJ |
253 | 2007-10-24 Daniel Jacobowitz <dan@codesourcery.com> |
254 | ||
255 | * amd64-tdep.c (amd64_convert_register_p): Delete. | |
256 | (amd64_init_abi): Use i387_convert_register_p. | |
257 | * alpha-tdep.c (alpha_convert_register_p): Return zero for | |
258 | eight byte types. | |
259 | (alpha_register_to_value, alpha_value_to_register): Do not handle | |
260 | eight byte types. | |
261 | * i386-tdep.c (i386_convert_register_p): Use i387_convert_register_p. | |
262 | * i387-tdep.c (i387_convert_register_p): New. | |
263 | (i387_register_to_value, i387_value_to_register): Update comments. | |
264 | * i387-tdep.h (i387_convert_register_p): Declare. | |
265 | * ia64-tdep.c (ia64_convert_register_p): Return zero for | |
266 | builtin_type_ia64_ext. | |
267 | (ia64_gdbarch_init): Do not initialize builtin_type_ia64_ext here. | |
268 | (_initialize_ia64_tdep): Initialize builtin_type_ia64_ext here. | |
269 | * m68k-tdep.c (m68k_convert_register_p): Return zero for | |
270 | builtin_type_m68881_ext. | |
271 | (m68k_register_to_value, m68k_value_to_register): Update comments. | |
272 | ||
24bf05ac DJ |
273 | 2007-10-24 Nathan Sidwell <nathan@codesourcery.com> |
274 | ||
275 | * target-memory.c (claim_memory): Propagate baton for split memory | |
276 | requests. | |
277 | ||
e71c308d DJ |
278 | 2007-10-24 Pedro Alves <pedro_alves@portugalmail.pt> |
279 | ||
280 | PR gdb/2341 | |
281 | * sol-thread.c (sol_thread_fetch_registers): Work around gcc 3.4 | |
282 | alias warning bug. | |
283 | ||
51432cca CES |
284 | 2007-10-24 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
285 | ||
286 | * symtab.c (find_line_symtab): scan through psymtabs | |
287 | when exact_match is zero. | |
288 | ||
3d5f6d12 DJ |
289 | 2007-10-23 Atsushi Nemoto <anemo@mba.ocn.ne.jp> |
290 | ||
291 | * mips-tdep.c (LL_OPCODE, LLD_OPCODE, SC_OPCODE, SCD_OPCODE): Define. | |
292 | (deal_with_atomic_sequence): New. | |
293 | (mips_software_single_step): Use it. | |
294 | ||
7b3200f9 DJ |
295 | 2007-10-23 Daniel Jacobowitz <dan@codesourcery.com> |
296 | ||
297 | PR gdb/2336 | |
298 | * configure.ac: Modify $LIBINTL before the BFD check. | |
299 | * configure: Regenerated. | |
300 | ||
89ba75b1 JB |
301 | 2007-10-23 Joel Brobecker <brobecker@adacore.com> |
302 | ||
303 | * buildsym.c (free_pending_blocks): Remove commented-out code. | |
304 | (make_blockvector): Likewise. Re-use free_pending_blocks. | |
305 | (end_symtab): Remove commented-out code. | |
306 | ||
57ee890f DJ |
307 | 2007-10-22 Daniel Jacobowitz <dan@codesourcery.com> |
308 | ||
309 | * top.c (command_loop): Fix output for shrinkage. | |
310 | ||
44742d57 DJ |
311 | 2007-10-22 Daniel Jacobowitz <dan@codesourcery.com> |
312 | ||
313 | * cp-name-parser.y (exp1): Add & ( var ) as a reference expression. | |
314 | (exp): Remove and document function-like casts. | |
315 | ||
f88e9fd3 DJ |
316 | 2007-10-22 Daniel Jacobowitz <dan@codesourcery.com> |
317 | ||
318 | * cp-support.c: Include "safe-ctype.h". | |
319 | (cp_already_canonical): New function. | |
320 | (cp_canonicalize_string): Use it. Return NULL for already canonical | |
321 | strings. | |
322 | (mangled_name_to_comp): Update call to cp_demangled_name_to_comp. | |
323 | (cp_func_name, remove_params): Likewise. | |
324 | (cp_find_first_component_aux): Use ISSPACE. | |
325 | * cp-support.h (cp_demangled_name_to_comp): Correct comment. Remove | |
326 | MEMORY_P argument. | |
327 | * cp-name-parser.y (ALLOC_CHUNK): Define. | |
328 | (struct demangle_info): Add PREV and NEXT. Increase the size of | |
329 | COMPS. | |
330 | (d_grab): Convert to a function. | |
331 | (allocate_info): Rewrite. | |
332 | (cp_demangled_name_to_comp): Remove MEMORY argument. Do not use | |
333 | strlen. Update call to allocate_info. Do not free it on failure. | |
334 | (main): Update calls to cp_demangled_name_to_comp. | |
335 | * Makefile.in (cp-support.o): Update. | |
336 | ||
e9a4730f UW |
337 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
338 | ||
339 | * std-regs.c (value_of_builtin_frame_fp_reg) | |
340 | value_of_builtin_frame_pc_reg, value_of_builtin_frame_sp_reg) | |
341 | value_of_builtin_frame_ps_reg): Use get_frame_arch to get at the | |
342 | current architecture by frame_info. | |
343 | ||
6bcde365 UW |
344 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
345 | ||
346 | * reggroups.c (default_register_reggroup_p): Replace current_gdbarch | |
347 | by gdbarch. | |
348 | ||
a4bd449d UW |
349 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
350 | ||
351 | * infcmd.c (default_print_registers_info, print_return_value) | |
352 | (print_vector_info, print_float_info): Replace current_gdbarch by | |
353 | gdbarch. | |
354 | (registers_info): Use get_frame_arch to get at the current | |
355 | architecture by frame_info. | |
356 | ||
e071d1f6 UW |
357 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
358 | ||
359 | * i387-tdep.c (i387_collect_fsave, i387_collect_fxsave): Use | |
360 | get_regcache_arch to get at the current architecture by regcache. | |
361 | ||
f8d29908 UW |
362 | 2007-10-22 Markus Deuling <deuling@de.ibm.com> |
363 | ||
364 | * target.c (debug_print_register): Use get_regcache_arch to get at the | |
365 | current architecture by regcache. | |
366 | ||
39cbfefa DJ |
367 | 2007-10-21 Daniel Jacobowitz <dan@codesourcery.com> |
368 | ||
369 | * dwarf2read.c (read_file_scope): Add a comment. | |
370 | (dwarf2_add_field, dwarf2_add_member_fn, read_structure_type) | |
371 | (read_enumeration_type, process_enumeration_scope, read_array_type) | |
372 | (read_typedef, read_base_type, read_subrange_type) | |
373 | (read_unspecified_type): Use dwarf2_name. | |
374 | ||
fe3e1990 DJ |
375 | 2007-10-21 Daniel Jacobowitz <dan@codesourcery.com> |
376 | ||
377 | * coffread.c (coff_symfile_finish): Call dwarf2_free_objfile. | |
378 | * dwarf2read.c (dwarf2_free_objfile): New. | |
379 | * elfread.c (elf_symfile_finish): Call dwarf2_free_objfile. | |
380 | * symfile.h (dwarf2_free_objfile): Declare. | |
381 | ||
261224b2 JB |
382 | 2007-10-21 Joel Brobecker <brobecker@adacore.com> |
383 | ||
384 | * hppa-hpux-nat.c (hppa_hpux_store_register): Add missing semi-colon. | |
385 | ||
9274a07c LM |
386 | 2007-10-21 Luis Machado <luisgpm@br.ibm.com> |
387 | ||
388 | * rs6000-tdep.c (ppc_dwarf2_frame_init_reg): New function. | |
389 | * (rs6000_gdbarch_init): Install ppc_dwarf2_frame_init_reg as | |
390 | default dwarf2_frame_set_init_reg function. | |
391 | ||
430ebac9 PA |
392 | 2007-10-21 Pedro Alves <pedro_alves@portugalmail.pt> |
393 | ||
394 | * NEWS: Mention native MinGW configuration. | |
395 | ||
97030eea UW |
396 | 2007-10-19 Ulrich Weigand <uweigand@de.ibm.com> |
397 | ||
398 | * gdbarch.sh: Remove "macro" column of input table. Remove handling | |
399 | of "macro" column throughout the file. Remove (empty) "macro" entry | |
400 | of all gdbarch functions. | |
401 | ||
203c3895 UW |
402 | 2007-10-19 Ulrich Weigand <uweigand@de.ibm.com> |
403 | ||
404 | * gdbarch.sh (sofun_address_maybe_missing): New gdbarch variable. | |
405 | * gdbarch.c, gdbarch.h: Regenerate. | |
406 | * dbxread.c (find_stab_function_addr): Define unconditionally. | |
407 | (read_dbx_symtab): Use gdbarch_sofun_address_maybe_missing | |
408 | instead of SOFUN_ADDRESS_MAYBE_MISSING. | |
409 | (end_psymtab): Likewise. | |
410 | (process_one_symbol): Likewise. | |
411 | * mdebugread.c (parse_partial_symbols): Likewise. | |
412 | ||
413 | * symtab.h (struct minimal_symbol): Always define "filename" member. | |
414 | * elfread.c (elf_symtab_read): Use msym->filename unconditionally. | |
415 | * minsyms.c (lookup_minimal_symbol): Likewise. | |
416 | * symmisc.c (dump_msymbols): Likewise. | |
417 | ||
418 | * config/i386/i386sol2.mt (DEPRECATED_TM_FILE): Remove. | |
419 | * config/i386/linux.mt (DEPRECATED_TM_FILE): Remove. | |
420 | * config/i386/tm-i386sol2.h: Remove file. | |
421 | * config/i386/tm-linux.h: Remove file. | |
422 | * i386-linux-tdep.c (i386_linux_init_abi): Add call to | |
423 | set_gdbarch_sofun_address_maybe_missing. | |
424 | * i386-sol2-tdep.c (i386_sol2_init_abi): Likewise. | |
425 | ||
426 | * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Remove. | |
427 | * config/powerpc/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
428 | * config/powerpc/obsd.mt (DEPRECATED_TM_FILE): Remove. | |
429 | * config/powerpc/ppc-eabi.mt (DEPRECATED_TM_FILE): Remove. | |
430 | * config/powerpc/ppc-sim.mt (DEPRECATED_TM_FILE): Remove. | |
431 | * config/powerpc/tm-ppc-eabi.h: Remove file. | |
432 | * rs6000-tdep.c (rs6000_gdbarch_init): Add call to | |
433 | set_gdbarch_sofun_address_maybe_missing. | |
434 | ||
435 | * config/sparc/sol2-64.mt (DEPRECATED_TM_FILE): Remove. | |
436 | * config/sparc/sol2.mt (DEPRECATED_TM_FILE): Remove. | |
437 | * config/sparc/tm-sol2.h: Remove file. | |
438 | * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Add call to | |
439 | set_gdbarch_sofun_address_maybe_missing. | |
440 | * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Likewise. | |
441 | ||
149ad273 UW |
442 | 2007-10-19 Ulrich Weigand <uweigand@de.ibm.com> |
443 | ||
444 | * gdbarch.sh (static_transform_name): New gdbarch callback. | |
445 | * gdbarch.c, gdbarch.h: Regenerate. | |
446 | * dbxread.c (read_dbx_symtab): Use gdbarch_static_transform_name | |
447 | instead of STATIC_TRANSFORM_NAME. | |
448 | * mdebugread.c (parse_partial_symbols): Likewise. | |
449 | * stabsread.c (define_symbol): Likewise. | |
450 | * xcoffread.c (scan_xcoff_symtab): Likewise. | |
451 | ||
452 | * config/i368/tm-i386sol2.h (STATIC_TRANSFORM_NAME): Remove. | |
453 | (IS_STATIC_TRANSFORM_NAME): Remove. | |
454 | * i386-tdep.c (sunpro_static_transform_name): Remove, move to ... | |
455 | * i386-sol2-tdep.c (i386_sol2_static_transform_name): ... here. | |
456 | (i386_sol2_init_abi): Install it. | |
457 | ||
458 | * config/sparc/tm-sol2.h (STATIC_TRANSFORM_NAME): Remove. | |
459 | (IS_STATIC_TRANSFORM_NAME): Remove. | |
460 | * sparc-tdep.c (sparc_stabs_unglobalize_name): Remove, move to ... | |
461 | * sparc-sol2-tdep.c (sparc_sol2_static_transform_name): ... here. | |
462 | (sparc32_sol2_init_abi): Install it. | |
463 | * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Likewise. | |
464 | * sparc-tdep.h (sparc_sol2_static_transform_name): Add prototype. | |
465 | ||
ba32f989 DJ |
466 | 2007-10-18 Daniel Jacobowitz <dan@codesourcery.com> |
467 | ||
468 | * mips-tdep.c (mips_xfer_register): Take a gdbarch argument. | |
469 | (mips_n32n64_return_value, mips_o32_return_value) | |
470 | (mips_o64_return_value): Update calls to mips_xfer_register. | |
471 | ||
11411de3 DJ |
472 | 2007-10-17 Daniel Jacobowitz <dan@codesourcery.com> |
473 | ||
474 | * frame.c (frame_unwind_unsigned_register): Delete. | |
475 | (frame_sp_unwind): Use frame_unwind_register_unsigned instead. | |
476 | * frame.h (frame_unwind_unsigned_register): Delete prototype. | |
477 | ||
478 | * alpha-linux-tdep.c, alpha-mdebug-tdep.c, alpha-tdep.c, | |
479 | avr-tdep.c, cris-tdep.c, frv-tdep.c, m68hc11-tdep.c, mn10300-tdep.c, | |
480 | mt-tdep.c: Replace frame_unwind_unsigned_register with | |
481 | frame_unwind_register_unsigned. | |
482 | ||
10325bc5 PA |
483 | 2007-10-16 Pedro Alves <pedro_alves@portugalmail.pt> |
484 | ||
485 | * config/i386/mingw.mh, config/i386/mingw.mt: New files. | |
486 | * configure.tgt (i[34567]86-*-mingw32*): Set gdb_target = mingw. | |
487 | * win32-nat.c: Only include cygwin.h on Cygwin host. Don't | |
488 | include procfs.h. | |
489 | (cygwin_load_start, cygwin_load_end, cygwin_exceptions): Disable | |
490 | if not building on Cygwin. | |
491 | (win32_make_so, handle_output_debug_string, handle_exception) | |
492 | (do_initial_win32_stuff): Wrap Cygwin specific code in __CYGWIN__. | |
493 | (win32_attach): Only fallback to Cygwin pids if building on | |
494 | Cygwin. | |
495 | (win32_pid_to_exec_file): Disable Cygwin specific code, if not | |
496 | building on Cygwin. | |
497 | (win32_create_inferior): Disable starting the inferior through a | |
498 | shell, environment var processing and tty handling if not building | |
499 | on Cygwin. | |
500 | (cygwin_pid_to_str): Rename to ... | |
501 | (win32_pid_to_str): ... this. | |
502 | (init_win32_ops): Update use of win32_pid_to_str. Disable "shell" | |
503 | and "cygwin-exceptions" commands if not building on Cygwin. | |
504 | ||
844781a1 GM |
505 | 2007-10-16 Gaius Mulley <gaius@glam.ac.uk> |
506 | ||
507 | * doc/gdb.texinfo: Add TSIZE definition, removed | |
508 | statement about unbounded arrays being unimplemented. | |
509 | * m2-valprint.c (m2_print_array_contents): New function. | |
510 | (m2_print_unbounded_array): New function. | |
511 | (m2_print_array_contents): New function. | |
512 | * m2-typeprint.c (m2_unbounded_array): New function. | |
513 | (m2_is_unbounded_array): New function. | |
514 | (m2_print_type): Test for unbounded array when walking | |
515 | across structs. | |
516 | * m2-lang.h: Added extern m2_is_unbounded_array. | |
517 | * m2-lang.c (evaluate_subexp_modula2): New function. | |
518 | (exp_descriptor_modula2): New structure. | |
519 | (m2_language_defn): Use exp_descriptor_modula2. | |
520 | * m2-exp.y: Added TSIZE and binary subscript. | |
521 | ||
62c018fe DJ |
522 | 2007-10-16 Daniel Jacobowitz <dan@codesourcery.com> |
523 | ||
524 | * mi/mi-main.c (captured_mi_execute_command): Clear mi_error_message | |
525 | after freeing it. | |
526 | ||
9ffbf372 KB |
527 | 2007-10-16 Kevin Buettner <kevinb@redhat.com> |
528 | ||
529 | * m32r-tdep.c (decode_prologue): Sign extend offset for | |
530 | "addi sp, xx" case. | |
531 | (m32r_frame_unwind_cache): Likewise. | |
532 | ||
6a16c029 TJB |
533 | 2007-10-15 Thiago Jung Bauermann <bauerman@br.ibm.com> |
534 | ||
535 | * rs6000-tdep.c (skip_prologue): Restore comment with | |
536 | function description to its proper place. | |
537 | ||
d71340b8 DJ |
538 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
539 | ||
540 | * NEWS: Mention gdbserver PowerPC improvements. | |
541 | ||
30ed0a8f DJ |
542 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
543 | ||
544 | * features/Makefile (WHICH): Add PowerPC register definitions. | |
545 | (rs6000/powerpc-32-expedite, rs6000/powerpc-e500-expedite) | |
546 | (rs6000/powerpc-64-expedite): New macros. | |
547 | ($(outdir)/%.dat): Handle subdirectories. | |
548 | * regformats/rs6000/powerpc-32.dat, regformats/rs6000/powerpc-64.dat, | |
549 | regformats/rs6000/powerpc-e500.dat: New generated files. | |
550 | ||
310a98e1 DJ |
551 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
552 | ||
553 | * ppc-linux-nat.c (ppc_linux_read_description): New. | |
554 | (_initialize_ppc_linux_nat): Set to_read_description. | |
555 | * ppc-tdep.h (tdesc_powerpc_e500): Declare. | |
556 | ||
7cc46491 DJ |
557 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
558 | ||
559 | * NEWS: Document target described register support for PowerPC. | |
560 | * ppc-tdep.h: Remove ppc_spr constants. | |
561 | (struct gdbarch_tdep): Remove regs, ppc_sr0_regnum, and | |
562 | ppc_builtin_type_vec128 members. | |
563 | (PPC_R0_REGNUM, PPC_F0_REGNUM, PPC_PC_REGNUM, PPC_MSR_REGNUM) | |
564 | (PPC_CR_REGNUM, PPC_LR_REGNUM, PPC_CTR_REGNUM, PPC_XER_REGNUM) | |
565 | (PPC_FPSCR_REGNUM, PPC_MQ_REGNUM, PPC_SPE_UPPER_GP0_REGNUM) | |
566 | (PPC_SPE_ACC_REGNUM, PPC_SPE_FSCR_REGNUM, PPC_VR0_REGNUM) | |
567 | (PPC_VSCR_REGNUM, PPC_VRSAVE_REGNUM, PPC_NUM_REGS): New constants. | |
568 | * rs6000-tdep.c: Include preparsed descriptions. | |
569 | (init_sim_regno_table): Do not iterate over pseudo registers. | |
570 | Look up segment registers by name. Use sim_spr_register_name | |
571 | for SPRs. | |
572 | (rs6000_register_sim_regno): Call init_sim_regno_table here. | |
573 | (rs6000_builtin_type_vec128): Delete. | |
574 | (rs6000_register_name): Only handle SPE pseudo registers and upper | |
575 | halves. Call tdesc_register_name for everything else. | |
576 | (rs6000_register_type): Delete. Replace with... | |
577 | (rs6000_pseudo_register_type): ...this new function. Only handle | |
578 | SPE pseudo registers. | |
579 | (rs6000_register_reggroup_p): Delete. Replace with... | |
580 | (rs6000_pseudo_register_reggroup_p): ...this new function. Only | |
581 | handle SPE pseudo registers. | |
582 | (rs6000_convert_register_p): Use ppc_fp0_regnum instead of | |
583 | "struct reg". | |
584 | (rs6000_register_to_value, rs6000_value_to_register): Remove check | |
585 | of reg->fpr. | |
586 | (e500_register_reggroup_p): Delete. | |
587 | (STR, R, R4, R8, R16, F, P8, R32, R64, R0, A4, S, S4, SN4, S64) | |
588 | (COMMON_UISA_REGS, PPC_UISA_SPRS, PPC_UISA_NOFP_SPRS) | |
589 | (PPC_SEGMENT_REGS, PPC_OEA_SPRS, PPC_ALTIVEC_REGS, PPC_SPE_GP_REGS) | |
590 | (PPC_SPE_UPPER_GP_REGS, PPC_EV_PSEUDO_REGS): Delete macros. | |
591 | (registers_powerpc, registers_403, registers_403GC, registers_505) | |
592 | (registers_860, registers_601, registers_602, registers_603) | |
593 | (registers_604, registers_750, registers_7400, registers_e500): Delete | |
594 | variables. | |
595 | (struct variant): Delete nregs, npregs, num_tot_regs, and regs. Add | |
596 | tdesc. | |
597 | (tot_num_registers, num_registers, num_pseudo_registers): Delete. | |
598 | (variants): Delete outdated comment. Use standard target descriptions | |
599 | instead of "struct reg" arrays. | |
600 | (init_variants): Delete. | |
601 | (rs6000_gdbarch_init): Do not guess word size from the BFD | |
602 | architecture if we have a target description. Select a variant | |
603 | before creating a new architecture. Use the variant's target | |
604 | description if the target did not define a register layout. | |
605 | Validate target-supplied registers. Reject mismatches. Use | |
606 | fixed register numbers and new constants instead of magic | |
607 | numbers. Call set_gdbarch_ps_regnum. Call tdesc_use_registers. | |
608 | (_initialize_rs6000_tdep): Initialize the preparsed target | |
609 | descriptions. | |
610 | * target-descriptions.c (tdesc_predefined_types): Add int128 and | |
611 | uint128. | |
612 | (tdesc_find_register_early): New function. | |
613 | (tdesc_numbered_register): Use it. | |
614 | (tdesc_register_size): New function. | |
615 | (tdesc_use_registers): Take a target_desc argument. Do not use | |
616 | gdbarch_target_desc. | |
617 | * target-descriptions.h (tdesc_use_registers): Update prototype | |
618 | and comment. | |
619 | (tdesc_register_size): New prototype. | |
620 | * Makefile.in (powerpc_32_c, powerpc_403_c, powerpc_403gc_c) | |
621 | (powerpc_505_c, powerpc_601_c, powerpc_602_c, powerpc_603_c) | |
622 | (powerpc_604_c, powerpc_64_c, powerpc_7400_c, powerpc_750_c) | |
623 | (powerpc_860_c, powerpc_e500_c, rs6000_c): New macros. | |
624 | (rs6000-tdep.o): Update. | |
625 | * arm-tdep.c (arm_gdbarch_init): Update call to tdesc_use_registers. | |
626 | * m68k-tdep.c (m68k_gdbarch_init): Likewise. | |
627 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
628 | ||
324300c0 DJ |
629 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
630 | ||
631 | * features/rs6000/powerpc-32.c, features/rs6000/powerpc-403.c, | |
632 | features/rs6000/powerpc-403gc.c, features/rs6000/powerpc-505.c, | |
633 | features/rs6000/powerpc-601.c, features/rs6000/powerpc-602.c, | |
634 | features/rs6000/powerpc-603.c, features/rs6000/powerpc-604.c, | |
635 | features/rs6000/powerpc-64.c, features/rs6000/powerpc-7400.c, | |
636 | features/rs6000/powerpc-750.c, features/rs6000/powerpc-860.c, | |
637 | features/rs6000/powerpc-e500.c, features/rs6000/rs6000.c: New | |
638 | generated files. | |
639 | ||
8dc35b87 DJ |
640 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
641 | ||
642 | * features/rs6000/power-altivec.xml, features/rs6000/power-core.xml, | |
643 | features/rs6000/power-fpu.xml, features/rs6000/power-oea.xml, | |
644 | features/rs6000/power-spe.xml, features/rs6000/power64-core.xml: New | |
645 | feature descriptions for standard PowerPC register sets. | |
646 | ||
647 | * features/rs6000/powerpc-32.xml, features/rs6000/powerpc-403.xml, | |
648 | features/rs6000/powerpc-403gc.xml, features/rs6000/powerpc-505.xml, | |
649 | features/rs6000/powerpc-601.xml, features/rs6000/powerpc-602.xml, | |
650 | features/rs6000/powerpc-603.xml, features/rs6000/powerpc-604.xml, | |
651 | features/rs6000/powerpc-64.xml, features/rs6000/powerpc-7400.xml, | |
652 | features/rs6000/powerpc-750.xml, features/rs6000/powerpc-860.xml, | |
653 | features/rs6000/powerpc-e500.xml, features/rs6000/rs6000.xml: New | |
654 | target descriptions for PowerPC processors. | |
655 | ||
81adfced DJ |
656 | 2007-10-15 Daniel Jacobowitz <dan@codesourcery.com> |
657 | ||
658 | * target-descriptions.c (tdesc_predefined_types): New. | |
659 | (tdesc_named_type): Use it. | |
660 | (tdesc_type_id, maint_print_c_tdesc_cmd): New functions. | |
661 | (_intialize_target_descriptions): Register "maint print c-tdesc". | |
662 | * features/Makefile (XMLTOC, CFILES, GDB): New macros. | |
663 | (cfiles, %.c): New rules. | |
664 | * features/arm-with-iwmmxt.c, features/mips-linux.c, | |
665 | features/mips64-linux.c: New generated files. | |
666 | ||
667 | * arm-linux-nat.c: Include preparsed description instead of | |
668 | "xml-support.h". | |
669 | (super_xfer_partial, arm_linux_xfer_partial): Remove. | |
670 | (arm_linux_read_description): New function. | |
671 | (_initialize_arm_linux_nat): Set to_read_description instead of | |
672 | to_xfer_partial. Initialize preparsed description. | |
673 | * config/arm/linux.mh (TDEP_XML): Delete. | |
674 | * mips-linux-nat.c: Include preparsed descriptions instead of | |
675 | "xml-support.h". | |
676 | (super_xfer_partial, mips_linux_xfer_partial): Remove. | |
677 | (mips_linux_read_description): New function. | |
678 | (_initialize_mips_linux_nat): Set to_read_description instead of | |
679 | to_xfer_partial. Initialize preparsed description. | |
680 | * config/mips/linux.mh (TDEP_XML): Delete. | |
681 | * Makefile.in (XMLFILES): Remove $(TDEP_XML). | |
682 | (features_headers, arm_with_iwmmxt_c, mips_linux_c) | |
683 | (mips64_linux_c): New macros. | |
684 | (arm-linux-nat.o, mips-linux-nat.o): Update. | |
685 | ||
0dfdb8ba PM |
686 | 2007-10-15 Pierre Muller <muller@ics.u-strasbg.fr> |
687 | ||
688 | * cp-abi.c (set_cp_abi_as_auto_default): ARI fix: | |
689 | Replace xasprintf by xstrprintf. | |
690 | symfile-mem.c (add_vsyscall_page): Ditto. | |
691 | ||
2685572f UW |
692 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
693 | ||
694 | * ia64-linux-nat.c (ia64_register_addr): Add gdbarch parameter, | |
695 | replacing use of global current_gdbarch. | |
696 | (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise. | |
697 | (ia64_linux_fetch_register, ia64_linux_store_register): Update callers. | |
698 | ||
699 | * ia64-tdep.c (SIGCONTEXT_REGISTER_ADDRESS): Remove macro. | |
700 | (ia64_sigtramp_frame_init_saved_regs): Add next_frame parameter, | |
701 | replace uses of SIGCONTEXT_REGISTER_ADDRESS. | |
702 | (ia64_sigtramp_frame_cache): Update caller. | |
703 | ||
c1874924 UW |
704 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
705 | ||
706 | * gdbarch.sh (deprecated_use_struct_convention): Remove. | |
707 | (extract_return_value, store_return_value): Remove. | |
708 | (return_value): Remove default implementation. | |
709 | * gdbarch.c, gdbarch.h: Regenerate. | |
710 | ||
711 | * stack.c (return_command): Remove compatibility hack. | |
712 | * arch-utils.c (legacy_return_value): Remove. | |
713 | * arch-utils.h (legacy_return_value): Likewise. | |
714 | ||
715 | * arch-utils.c (always_use_struct_convention): Remove. | |
716 | * arch-utils.h (always_use_struct_convention): Likewise. | |
717 | * value.c (generic_use_struct_convention): Remove. | |
718 | * defs.h (generic_use_struct_convention): Likewise. | |
719 | ||
4c8b6ae0 UW |
720 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
721 | ||
722 | * avr-tdep.c (avr_return_value): New function. | |
723 | (avr_gdbarch_init): Call set_gdbarch_return_value instead of | |
724 | set_gdbarch_extract_return_value. | |
725 | ||
726 | * fvr-tdep.c (frv_return_value): New function. | |
727 | (frv_gdbarch_init): Call set_gdbarch_return_value instead of | |
728 | set_gdbarch_extract_return_value, set_gdbarch_store_return_value, | |
729 | and set_gdbarch_deprecated_use_struct_convention. | |
730 | ||
731 | * ia64-tdep.c (ia64_use_struct_convention): Make static. | |
732 | Add check for structure, union, or array types. | |
733 | (ia64_extract_return_value): Make static. | |
734 | (ia64_store_return_value): Make static. Support multi-word values. | |
735 | (ia64_return_value): New function. | |
736 | (ia64_gdbarch_init): Call set_gdbarch_return_value instead of | |
737 | set_gdbarch_extract_return_value, set_gdbarch_store_return_value, | |
738 | and set_gdbarch_deprecated_use_struct_convention. | |
739 | ||
899cff7a JB |
740 | 2007-10-12 Joel Brobecker <brobecker@adacore.com> |
741 | ||
742 | * solib-target.c (solib_target_parse_libraries) | |
743 | [HAVEHAVE_LIBEXPAT not defined]: Fix thinko in return type. | |
744 | ||
d41ebd5d JB |
745 | 2007-10-12 Jim Blandy <jimb@codesourcery.com> |
746 | ||
747 | * serial.h (struct serial_ops): Document read_prim to return zero | |
748 | at EOF. | |
749 | * ser-base.c (do_ser_base_readchar): Return SERIAL_EOF when | |
750 | read_prim returns zero, not SERIAL_TIMEOUT. | |
751 | ||
62f6180c UW |
752 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
753 | ||
754 | * alpha-mdebug-tdep.c: Include "gdb_string.h". | |
755 | (find_proc_desc): Add fix-up code for setjmp procedure descriptor. | |
756 | * mdebugread.c (parse_procedure): Remove setjmp fix-up code. | |
757 | * Makefile.in (alpha-mdebug-tdep.o): Update dependencies. | |
758 | ||
759 | * config/alpha/alpha.mt (DEPRECATED_TM_FILE): Remove. | |
760 | * config/alpha/alpha-linux.mt (DEPRECATED_TM_FILE): Remove. | |
761 | * config/alpha/alpha-osf1.mt (DEPRECATED_TM_FILE): Remove. | |
762 | * config/alpha/fbsd.mt (DEPRECATED_TM_FILE): Remove. | |
763 | * config/alpha/tm-alpha.h: Remove file. | |
764 | ||
ee53e872 UW |
765 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
766 | ||
767 | * breakpoint.c (breakpoint_sals_to_pc): Do not check for | |
768 | DEPRECATED_PC_REQUIRES_RUN_BEFORE_USE. | |
769 | ||
770 | * config/pa/tm-hppa.h: Delete file. | |
771 | * config/pa/hppa64.mt: Do not set DEPRECATED_TM_FILE. | |
772 | * config/pa/hppahpux.mt: Likewise. | |
773 | * config/pa/hppa.mt: Likewise. | |
774 | * config/pa/linux.mt: Likewise. | |
775 | * hppa-tdep.c (hppa_pc_requires_run_before_use): Delete. | |
776 | ||
3d5e6107 UW |
777 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
778 | ||
779 | * config/arm/nm-nbsdaout.h: Remove file. | |
780 | * config/nm-nbsdaout.h: Likewise. | |
781 | * config/nm-nbsd.h: Likewise. | |
782 | ||
82585c72 UW |
783 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
784 | ||
785 | * block.h (struct block): Remove "gcc_compile_flag" member. | |
786 | (BLOCK_GCC_COMPILED): Remove. | |
787 | * block.c (allocate_block): Do not clear BLOCK_GCC_COMPILED. | |
788 | * buildsym.c (finish_block): Do not set it. | |
789 | * symmisc.c (dump_symtab_1): Do not dump it. | |
790 | ||
791 | * value.h (using_struct_return): Remove "gcc_p" argument. | |
792 | * value.c (using_struct_return): Likewise. | |
793 | * eval.c (evaluate_subexp_standard): Adapt callers. | |
794 | * infcall.c (call_function_by_hand): Likewise. | |
795 | * stack.c (return_command): Likewise. | |
796 | * sparc-tdep.c (sparc32_push_dummy_code): Likewise. | |
797 | ||
798 | * gdbarch.sh (push_dummy_code): Remove "using_gcc" parameter. | |
799 | * gdbarch.c, gdbarch.h: Regenerate. | |
800 | * cris-tdep.c (cris_push_dummy_code): Adapt prototype. | |
801 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Likewise. | |
802 | * sparc-tdep.c (sparc32_push_dummy_code): Likewise. | |
803 | * infcall.c (generic_push_dummy_code, push_dummy_code): Likewise. | |
804 | (push_dummy_code, call_function_by_hand): Adapt callers. | |
805 | ||
8f536afe UW |
806 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
807 | ||
808 | * infcmd.c (print_return_value): Remove STRUCT_RETURN argument. | |
809 | (finish_command_continuation, finish_command): Adapt callers. | |
810 | ||
f156e33b UW |
811 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
812 | ||
813 | * infcall.c (call_function_by_hand): Remove special handling | |
814 | for HP aCC compiled code. | |
815 | ||
f6e56ab3 UW |
816 | 2007-10-12 Ulrich Weigand <uweigand@de.ibm.com> |
817 | ||
818 | * cris-tdep.c (cris_push_dummy_call): Support arguments passed by | |
819 | reference. Fix endianness bugs. | |
820 | (cris_reg_struct_has_address): Remove. | |
821 | (cris_gdbarch_init): Remove set_gdbarch_deprecated_reg_struct_has_addr | |
822 | and set_gdbarch_deprecated_use_struct_convention calls. | |
823 | ||
824 | * gdbarch.sh (deprecated_reg_struct_has_addr): Remove. | |
825 | * gdbarch.c, gdbarch.h: Regenerate. | |
826 | * infcall.c (call_function_by_hand): Remove handling of | |
827 | deprecated_reg_struct_has_addr. | |
828 | ||
b4c291bb KH |
829 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
830 | Kazu Hirata <kazu@codesourcery.com> | |
831 | ||
832 | * breakpoint.c (do_enable_breakpoint): Delay enabling until after | |
833 | checking watchpoint resources. | |
834 | ||
56cf5405 KH |
835 | 2007-10-11 Kazu Hirata <kazu@codesourcery.com> |
836 | ||
837 | * memattr.c (inaccessible_by_default): Change the initial | |
838 | value to 1. | |
839 | ||
3b016d57 DJ |
840 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
841 | ||
842 | PR gdb/2280 | |
843 | * coffread.c (read_one_sym): Check for read errors. | |
844 | ||
e9efe249 UW |
845 | 2007-10-11 Ulrich Weigand <uweigand@de.ibm.com> |
846 | ||
847 | * linux-nat.c (lin_lwp_attach_lwp): Use "Linux kernel 2.6.19" | |
848 | instead of "Linux 2.6.19" in comment. | |
849 | (linux_xfer_partial): Use "GNU/Linux target" instead of | |
850 | "Linux target" in comment. | |
851 | * m68klinux-tdep.c (m68k_linux_inferior_created): Likewise. | |
852 | (m68k_linux_get_sigtramp_info): Likewise. | |
853 | ||
b33682a7 DJ |
854 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
855 | ||
856 | * MAINTAINERS (language support): List Joel and Paul as | |
857 | Ada maintainers. | |
858 | ||
35156bae DJ |
859 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
860 | ||
861 | * dbxread.c (process_one_symbol): Remove VARIABLES_INSIDE_BLOCK | |
862 | checks. | |
863 | * config/arm/embed.mt, config/arm/linux.mt, config/arm/wince.mt: Do | |
864 | not set DEPRECATED_TM_FILE. | |
865 | * config/arm/tm-arm.h: Delete file. | |
866 | ||
3d47173c LM |
867 | 2007-10-11 Luis Machado <luisgpm@br.ibm.com> |
868 | ||
869 | * MAINTAINERS (Write After Approval): Add self. | |
870 | ||
607ae575 DJ |
871 | 2007-10-11 Daniel Jacobowitz <dan@codesourcery.com> |
872 | ||
873 | * buildsym.c (record_line): Remove empty lines followed by | |
874 | end-of-sequence markers. | |
875 | ||
b8d5e0ac KH |
876 | 2007-10-11 Kazu Hirata <kazu@codesourcery.com> |
877 | ||
878 | * configure.tgt: Recognize fido-*-elf. | |
879 | ||
86f26d2f | 880 | 2007-10-10 Joel Brobecker <brobecker@adacore.com> |
881 | ||
882 | GDB 6.7 released. | |
883 | ||
7500260a UW |
884 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
885 | ||
886 | * stack.c (print_frame_args, frame_info, return_command): Use | |
887 | get_regcache_arch or get_frame_arch to get at the current architecture | |
888 | by regcache or by frame, respectively. | |
889 | ||
8b164abb UW |
890 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
891 | ||
892 | * rs6000-nat.c (fetch_register, store_register) | |
893 | (rs6000_fetch_inferior_registers, rs6000_store_inferior_registers): Use | |
894 | get_regcache_arch to get at the current architecture by regcache. | |
895 | ||
896 | * rs6000-tdep.c (rs6000_push_dummy_call, rs6000_return_value) | |
897 | (rs6000_register_reggroup_p, e500_move_ev_registe, rs6000_unwind_pc) | |
898 | (rs6000_unwind_dummy_id, rs6000_frame_cache, rs6000_dump_tdep): Replace | |
899 | current_gdbarch by gdbarch. | |
900 | (rs6000_skip_trampoline_code, rs6000_register_to_value) | |
901 | (rs6000_value_to_register): Use get_frame_arch to get at the current | |
902 | architecture by frame_info. | |
903 | ||
e6d4f032 UW |
904 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
905 | ||
906 | * sparc-tdep.c (sparc_supply_rwindow, sparc_collect_rwindow): Use | |
907 | get_regcache_arch to get at the current architecture by regcache. | |
908 | ||
909 | * sparc64-tdep.c (sparc64_supply_gregset, sparc64_collect_gregset) | |
910 | (sparc64_supply_fpregset, sparc64_collect_fpregset): Use | |
911 | get_regcache_arch to get at the current architecture by regcache. | |
912 | ||
913 | * sparc64nbsd-nat. (sparc64nbsd_supply_gregset) | |
914 | (sparc64nbsd_collect_gregset, sparc64nbsd_supply_fpregset) | |
915 | (sparc64nbsd_collect_fpregset): Use get_regcache_arch to get at the | |
916 | current architecture by regcache. | |
917 | ||
2eb4d78b UW |
918 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
919 | ||
920 | * remote-mips.c (mips_wait, mips_fetch_registers) | |
921 | (mips_store_registers): Use get_regcache_arch to get at the | |
922 | current architecture by regcache. | |
923 | ||
924 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_fill_reg) | |
925 | (mipsnbsd_supply_fpreg, mipsnbsd_fill_fpreg): Use get_regcache_arch to | |
926 | get at the current architecture by regcache. | |
927 | (mipsnbsd_sigtramp_offset): Use get_frame_arch to get at the current | |
928 | architecture by frame_info. | |
929 | ||
930 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers) | |
931 | (mipsnbsd_store_inferior_registers): Use get_regcache_arch to get at | |
932 | the current architecture by regcache. | |
933 | ||
934 | * mips-linux-tdep.c (mips_linux_get_longjmp_target) | |
935 | (mips64_linux_get_longjmp_target, mips_linux_o32_sigframe_init) | |
936 | (mips_linux_n32n64_sigframe_init): Use get_frame_arch to get at the | |
937 | current architecture by frame_info. | |
938 | (supply_32bit_reg, mips_supply_gregset, mips_fill_gregset) | |
939 | (mips_supply_fpregset, mips_fill_fpregset, supply_64bit_reg) | |
940 | (mips64_supply_gregset, mips64_fill_gregset, mips64_supply_fpregset) | |
941 | (mips64_fill_fpregset, mips_linux_write_pc): Use get_regcache_arch to | |
942 | get at the current architecture by regcache. | |
943 | ||
944 | * mips-linux-nat.c (mips_linux_register_addr) | |
945 | (mips64_linux_register_addr): Replace current_gdbarch by gdbarch. | |
946 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset) | |
947 | (mips64_linux_regsets_fetch_registers) | |
948 | (mips64_linux_regsets_store_registers): Use get_regcache_arch to get at | |
949 | the current architecture by regcache. | |
950 | ||
951 | * mips64obsd-tdep.c (mips64obsd_sigframe_init): Use get_frame_arch to | |
952 | get at the current architecture by frame_info. | |
953 | ||
72a155b4 UW |
954 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
955 | ||
956 | * mips-tdep.c (mips_xfer_register): Use get_regcache_arch to get at the | |
957 | current architecture by regcache. | |
958 | (mips2_fp_compat, mips32_next_pc, mips16_scan_prologue) | |
959 | (mips_insn16_frame_cache, mips32_scan_prologue, mips_insn32_frame_cache) | |
960 | (mips_stub_frame_cache, mips_read_fp_register_single) | |
961 | (mips_read_fp_register_double, mips_print_fp_register) | |
962 | (mips_print_register, print_gp_register_row): Use get_frame_arch to get | |
963 | at the current architecture by frame_info. | |
964 | (mips_register_reggroup_p, mips_pseudo_register_read, mips_unwind_sp) | |
965 | (mips_pseudo_register_write, mips_register_type, mips_unwind_pc) | |
966 | (mips_unwind_dummy_id, mips_eabi_push_dummy_call) | |
967 | (mips_n32n64_push_dummy_call, mips_n32n64_return_value) | |
968 | (mips_o32_push_dummy_call, mips_o32_return_value) | |
969 | (mips_o64_push_dummy_call, mips_o64_return_value) | |
970 | (mips_print_registers_info, mips_dump_tdep): Replace current_gdbarch by | |
971 | gdbarch. | |
972 | ||
6b50c0b0 UW |
973 | 2007-10-10 Markus Deuling <deuling@de.ibm.com> |
974 | ||
975 | * xtensa-tdep.c (xtensa_register_type, xtensa_pseudo_register_read) | |
976 | (xtensa_pseudo_register_write, xtensa_register_reggroup_p) | |
977 | (xtensa_unwind_pc, xtensa_unwind_dummy_id, xtensa_push_dummy_call) | |
978 | (xtensa_dump_tdep): Replace current_gdbarch by gdbarch. | |
979 | (xtensa_register_write_masked, xtensa_register_read_masked) | |
980 | (xtensa_supply_gregset, xtensa_store_return_value) | |
981 | (xtensa_extract_return_value): Use get_regcache_arch to get at the | |
982 | current architecture by regcache. | |
983 | (xtensa_frame_cache, call0_frame_get_reg_at_entry, call0_frame_cache) | |
984 | (xtensa_frame_prev_register): Use get_frame_arch to get at the current | |
985 | architecture by frame_info. | |
986 | ||
4be43953 DJ |
987 | 2007-10-10 Daniel Jacobowitz <dan@codesourcery.com> |
988 | ||
989 | * arm-tdep.c (struct arm_prologue_cache): Remove frameoffset. | |
990 | (thumb_analyze_prologue): Move pv_area_store_would_trash call | |
991 | out of loop. Do not set cache->frameoffset. | |
992 | (arm_scan_prologue): Use prologue-value mechanism. Do not set | |
993 | frameoffset. Simplify framesize. | |
994 | (arm_make_prologue_cache, arm_normal_frame_base): Do not use | |
995 | frameoffset. | |
996 | * arm-tdep.h (enum gdb_regnum): Add ARM_IP_REGNUM. | |
997 | ||
b4b61fdb DJ |
998 | 2007-10-10 Daniel Jacobowitz <dan@codesourcery.com> |
999 | ||
1000 | * target.c (update_current_target): Call setup_target_debug. | |
1001 | (push_target): Do not call it here. | |
1002 | ||
8bb6c669 MS |
1003 | 2007-10-09 Michael Snyder <msnyder@specifix.com> |
1004 | ||
1005 | * MAINTAINERS: Update my email address. | |
1006 | ||
304fe255 UW |
1007 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
1008 | ||
1009 | * xtensa-tdep.c: Replace following current-gdbarch based macros by | |
1010 | their expression: | |
1011 | (xtensa_pseudo_register_read) | |
1012 | (xtensa_pseudo_register_write): XTENSA_TARGET_FLAGS. | |
1013 | (ARG_NOF, ARG_1ST, xtensa_extract_return_value) | |
1014 | (xtensa_store_return_value, xtensa_push_dummy_call): CALL_ABI. | |
1015 | (xtensa_pseudo_register_read) | |
1016 | (xtensa_pseudo_register_write): ISA_USE_WINDOWED_REGISTERS. | |
1017 | (xtensa_breakpoint_from_pc): ISA_USE_DENSITY_INSTRUCTIONS. | |
1018 | (xtensa_register_type, xtensa_supply_gregset, xtensa_frame_cache) | |
1019 | (xtensa_frame_prev_register): NUM_AREGS. | |
1020 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write, | |
1021 | (xtensa_supply_gregset, xtensa_frame_cache, xtensa_frame_prev_register, | |
1022 | (xtensa_extract_return_value, xtensa_store_return_value): WB_REGNUM. | |
1023 | (xtensa_supply_gregset, xtensa_frame_cache) | |
1024 | (xtensa_frame_prev_register): WS_REGNUM. | |
1025 | (xtensa_supply_gregset): LBEG_REGNUM, LEND_REGNUM, LCOUNT_REGNUM, | |
1026 | SAR_REGNUM, EXCCAUSE_REGNUM, EXCVADDR_REGNUM | |
1027 | (xtensa_register_name, xtensa_register_type, xtensa_reg_to_regnum) | |
1028 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write) | |
1029 | (xtensa_register_reggroup_p): REGMAP. | |
1030 | (call0_track_op): LITBASE_REGNUM. | |
1031 | (xtensa_register_type, xtensa_reg_to_regnum, call0_frame_cache):A0_BASE | |
1032 | (xtensa_supply_gregset, call0_frame_get_reg_at_entry) | |
1033 | (xtensa_frame_prev_register, AREG_NUMBER) | |
1034 | (xtensa_register_type): AR_BASE. | |
1035 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write): FP_ALIAS. | |
1036 | (AREG_NUMBER): AREGS_MASK, WB_MASK, A0_REGNUM. | |
1037 | (ARG_1ST, xtensa_pseudo_register_read, xtensa_pseudo_register_write) | |
1038 | (xtensa_frame_cache, xtensa_frame_prev_register) | |
1039 | (xtensa_extract_return_value, xtensa_store_return_value) | |
1040 | (xtensa_push_dummy_call, call0_frame_cache): A0_REGNUM. | |
1041 | (xtensa_register_type, xtensa_pseudo_register_read, xtensa_frame_cache) | |
1042 | (xtensa_pseudo_register_write, xtensa_unwind_dummy_id) | |
1043 | (xtensa_frame_prev_register, xtensa_push_dummy_call) | |
1044 | (call0_frame_cache): A1_REGNUM. | |
1045 | (xtensa_extract_return_value, xtensa_store_return_value): A2_REGNUM. | |
1046 | (xtensa_push_dummy_call): A4_REGNUM. | |
1047 | (ARGS_FIRST_REG): A6_REGNUM. | |
1048 | (xtensa_pseudo_register_read, xtensa_pseudo_register_write) | |
1049 | (xtensa_frame_prev_register): A15_REGNUM. | |
1050 | * xtensa-tdep.h: Delete current_gdbarch based macros after replacing | |
1051 | them in the appropriate source file: | |
1052 | XTENSA_TARGET_FLAGS, SPILL_LOCATION, SPILL_SIZE, CALL_ABI, NUM_AREGS, | |
1053 | ISA_USE_WINDOWED_REGISTERS, ISA_USE_DENSITY_INSTRUCTIONS, WB_REGNUM, | |
1054 | ISA_USE_EXCEPTIONS, ISA_USE_EXT_L32R, DEBUG_DATA_VADDR_TRAP_COUNT, | |
1055 | DEBUG_INST_VADDR_TRAP_COUNT, ISA_MAX_INSN_SIZE, DEBUG_NUM_IBREAKS, | |
1056 | DEBUG_NUM_DBREAKS, WS_REGNUM, LBEG_REGNUM, LEND_REGNUM, SAR_REGNUM, | |
1057 | REGMAP, LITBASE_REGNUM, DEBUGCAUSE_REGNUM, EXCCAUSE_REGNUM, AR_BASE, | |
1058 | EXCVADDR_REGNUM, NUM_IBREAKS, REGMAP_BYTES, NUM_CONTEXTS, FP_ALIAS, | |
1059 | FP_LAYOUT, FP_LAYOUT_BYTES, GREGMAP, AREGS_MASK, WB_MASK, A0_REGNUM, | |
1060 | A1_REGNUM, A2_REGNUM, A3_REGNUM, A4_REGNUM, A5_REGNUM, A6_REGNUM, | |
1061 | A7_REGNUM, A8_REGNUM, A9_REGNUM, A10_REGNUM, A11_REGNUM, A12_REGNUM, | |
1062 | A13_REGNUM, A14_REGNUM, A15_REGNUM. | |
1063 | ||
ea78bae4 UW |
1064 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
1065 | ||
1066 | * h8300-tdep.c (h8300_frame_cache): Use get_frame_arch to get at | |
1067 | the current architecture by frame_info. | |
1068 | (h8300_frame_prev_register | |
1069 | (h8300_print_register): Replace current_gdbarch by gdbarch. | |
1070 | (h8300_print_registers_info, h8300_register_type) | |
1071 | (h8300_register_type): Likewise. | |
1072 | ||
875f8d0e UW |
1073 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
1074 | ||
1075 | * i386-linux-nat.c (fetch_register): Use get_regcache_arch to get at | |
1076 | the current architecture by regcache. | |
1077 | (store_register, supply_gregset, fill_gregset, i386_linux_resume) | |
1078 | (i386_linux_fetch_inferior_registers) | |
1079 | (i386_linux_store_inferior_registers): Likewise. | |
1080 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise. | |
1081 | * i386-nto-tdep.c (i386nto_supply_gregset): Likewise. | |
1082 | * i386v4-nat.c (supply_fpregset, fill_fpregset): Likewise. | |
1083 | * i386-tdep.c (i386_unwind_pc): Replace current_gdbarch by gdbarch. | |
1084 | (i386_extract_return_value, i386_store_return_value): Likewise. | |
1085 | * i386-tdep.c (i386_frame_prev_register): Use get_frame_arch to get at | |
1086 | the current architecture by frame_info. | |
1087 | (i386_sigtramp_frame_cache, i386_get_longjmp_target) | |
1088 | (i386_register_to_value, i386_value_to_register): Likewise. | |
1089 | ||
9b072297 UW |
1090 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
1091 | ||
1092 | * monitor.c (monitor_supply_register): Use get_regcache_arch to get at | |
1093 | the current architecture by regcache. | |
1094 | (monitor_store_register, monitor_store_registers): Likewise. | |
1095 | ||
e76e7474 UW |
1096 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
1097 | ||
1098 | * dbug-rom.c (dbug_supply_register): Use get_regcache_arch to get at | |
1099 | the current architecture by regcache. | |
1100 | ||
d4f91178 UW |
1101 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
1102 | ||
1103 | * arch-utils.c (legacy_return_value): Replace current_gdbarch by | |
1104 | gdbarch. | |
1105 | ||
b1bd0044 UW |
1106 | 2007-10-09 Markus Deuling <deuling@de.ibm.com> |
1107 | ||
1108 | * frame.c (frame_pc_unwind): Use get_frame_arch to get at the current | |
1109 | architecture by frame. | |
1110 | (frame_save_as_regcache, frame_register_unwind, get_prev_frame_1) | |
1111 | (inside_main_func, frame_sp_unwind): Likewise. | |
1112 | ||
2ec9a4f8 DJ |
1113 | 2007-10-09 Daniel Jacobowitz <dan@codesourcery.com> |
1114 | ||
1115 | * solib-svr4.c (enable_break): Add the dynamic linker also if | |
1116 | auxv succeeds. | |
1117 | ||
7068dd53 CES |
1118 | 2007-10-09 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
1119 | ||
1120 | * MAINTAINERS (Write After Approval): Add self. | |
1121 | ||
51e9e0d4 PA |
1122 | 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt> |
1123 | ||
1124 | * stabsread.c (read_huge_number): Initialize local variable to 0. | |
1125 | ||
cd6c7346 PM |
1126 | 2007-10-09 Pierre Muller <muller@ics.u-strasbg.fr> |
1127 | ||
1128 | * p-lang.h (pascal_main_name): Add declaration. | |
1129 | * p-lang.c (GPC_P_INITIALIZE, GPC_MAIN_PROGRAM_NAME_1) | |
1130 | (GPC_MAIN_PROGRAM_NAME_2): New constants. | |
1131 | (pascal_main_name): New function. | |
1132 | * symtab.c: Include p-lang.h. | |
1133 | (find_main_name): Add call to pascal_main_name. | |
1134 | * Makefile.in (symtab.o): Add dependency on p-lang.h. | |
1135 | ||
a2699720 PA |
1136 | 2007-10-09 Pedro Alves <pedro_alves@portugalmail.pt> |
1137 | ||
1138 | * stabsread.c (read_huge_number): Fix handling of octal | |
1139 | representation when the bit width is known. | |
1140 | (read_range_type): Record unsigned integral types with their size, | |
1141 | when the type size is known. | |
1142 | ||
e05ebff4 TJB |
1143 | 2007-10-08 Thiago Jung Bauermann <bauerman@br.ibm.com> |
1144 | ||
1145 | * MAINTAINERS (Write After Approval): Add self. | |
1146 | ||
0c6773c1 PM |
1147 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
1148 | ||
1149 | * breakpoint.c (print_one_breakpoint_location): ARI fix: | |
1150 | Replace asprintf by xstrprintf. | |
1151 | ||
91c06669 PM |
1152 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
1153 | ||
1154 | * linux-fork.c: ARI fix: include "gdb_dirent.h" instead of <dirent.h>. | |
1155 | Makefile.in (linux-fork.o): Add gdb_dirent.h dependency. | |
1156 | ||
3c61c145 PM |
1157 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
1158 | ||
1159 | * linux-fork.c: Move "gdb_wait.h" include back to the position of | |
1160 | <sys/wait.h> include before last commit. | |
1161 | ||
313628cc MR |
1162 | 2007-10-08 Maciej W. Rozycki <macro@mips.com> |
1163 | ||
1164 | * mips-tdep.c (mips32_next_pc): Fix a typo in BGTZL. | |
1165 | ||
c7f30c7a UW |
1166 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
1167 | ||
1168 | * aix-thread.c (supply_gprs64, supply_fprs, supply_sprs64) | |
1169 | (supply_sprs32, fetch_regs_user_thread, fetch_regs_kernel_thread) | |
1170 | (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32) | |
1171 | (store_regs_user_thread, store_regs_kernel_thread): Use | |
1172 | get_regcache_arch or get_frame_arch to get at the current architecture | |
1173 | by regcache or by frame, respectively. | |
1174 | ||
58643501 UW |
1175 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
1176 | ||
1177 | * sh64-tdep.c (sh64_push_dummy_call, sh64_register_type) | |
1178 | (sh64_pseudo_register_read, sh64_pseudo_register_write) | |
1179 | (sh64_do_fp_register, sh64_do_pseudo_register, sh64_do_register) | |
1180 | (sh64_print_register, sh64_media_print_registers_info) | |
1181 | (sh64_compact_print_registers_info, sh64_unwind_sp) | |
1182 | (sh64_unwind_pc): Replace current_gdbarch by gdbarch. | |
1183 | (sh64_show_media_regs, sh64_show_compact_regs, sh64_frame_cache) | |
1184 | (sh64_frame_prev_register): Use FRAME to recognize current | |
1185 | architecture. | |
1186 | ||
b47193f7 UW |
1187 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
1188 | ||
1189 | * sh-tdep.c (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu) | |
1190 | (sh_sh2a_register_type, sh_sh3e_register_type, sh_sh4_register_type) | |
1191 | (sh_register_reggroup_p, sh_dwarf2_frame_init_reg): Replace | |
1192 | current_gdbarch by gdbarch. | |
1193 | (sh_generic_show_regs, sh3_show_reg, sh2e_show_regs, sh2a_show_regs) | |
1194 | (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs) | |
1195 | (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs, sh_frame_cache) | |
1196 | (sh_frame_prev_register, sh_unwind_sp, sh_unwind_pc): Use FRAME to | |
1197 | recognize current architecture. | |
1198 | ||
4a22f64d UW |
1199 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
1200 | ||
1201 | * remote.c (init_remote_state, fetch_register_using_p) | |
1202 | (process_g_packet, remote_fetch_registers, remote_prepare_to_store) | |
1203 | (store_register_using_P, store_registers_using_G) | |
1204 | (remote_store_registers): Use get_regcache_arch or get_frame_arch to | |
1205 | get at the current architecture by regcache or by frame, respectively. | |
1206 | ||
c984b7ff UW |
1207 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
1208 | ||
1209 | * m68k-tdep.c (m68k_register_to_value, m68k_value_to_register) | |
1210 | (m68k_svr4_extract_return_value, m68k_svr4_store_return_value) | |
1211 | (m68k_frame_prev_register, m68k_get_longjmp_target): Use | |
1212 | get_regcache_arch or get_frame_arch to get at the current architecture | |
1213 | by regcache or by frame, respectively. | |
1214 | * m68klinux-tdep.c (m68k_linux_sigtramp_frame_cache): Likewise. | |
1215 | * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers) | |
1216 | (store_register, old_store_inferior_registers, supply_gregset) | |
1217 | (supply_fpregset, fill_fpregset): Likewise. | |
1218 | * m68k-tdep.c (m68k_register_type, m68k_unwind_pc, m68k_dump_tdep): | |
1219 | Replace current_gdbarch by gdbarch. | |
1220 | ||
d611717a UW |
1221 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
1222 | ||
1223 | * irix5-nat.c (supply_gregset, fill_gregset, supply_fpregset) | |
1224 | (fill_fpregset, fetch_core_registers): Use get_regcache_arch or | |
1225 | get_frame_arch to get at the current architecture by regcache or by | |
1226 | frame, respectively. | |
1227 | ||
088568da UW |
1228 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
1229 | ||
1230 | * ia64-tdep.c (ia64_pseudo_register_read, ia64_pseudo_register_write): | |
1231 | Replace current_gdbarch by gdbarch. | |
1232 | * ia64-tdep.c (ia64_frame_prev_register | |
1233 | (ia64_sigtramp_frame_prev_register) | |
1234 | (ia64_libunwind_frame_prev_register): Use get_regcache_arch or | |
1235 | get_frame_arch to get at the current architecture by regcache or by | |
1236 | frame, respectively. | |
1237 | * ia64-linux-nat.c (ia64_linux_fetch_register) | |
1238 | (ia64_linux_fetch_registers, ia64_linux_store_register) | |
1239 | (ia64_linux_store_registers): Likewise. | |
1240 | ||
464963c9 UW |
1241 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
1242 | ||
1243 | * hppa-tdep.c (hppa_stub_unwind_sniffer, hppa_dump_tdep): Replace | |
1244 | current_gdbarch by gdbarch. | |
1245 | * hppa-linux-nat.c (fetch_register, store_register) | |
1246 | (hppa_linux_fetch_inferior_registers) | |
1247 | (hppa_linux_store_inferior_registers): Use get_regcache_arch or | |
1248 | get_frame_arch to get at the current architecture by regcache or by | |
1249 | frame, respectively. | |
1250 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code | |
1251 | (hppa_hpux_unwind_adjust_stub): Likewise. | |
1252 | * hppa-hpux-nat.c (hppa_hpux_fetch_register, hppa_hpux_store_register) | |
1253 | (hppa_hpux_fetch_inferior_registers) | |
1254 | (hppa_hpux_store_inferior_registers): Likewise. | |
1255 | ||
7fbe2eba UW |
1256 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
1257 | ||
1258 | * cris-tdep.c (cris_sigcontext_addr, cris_sigtramp_frame_unwind_cache) | |
1259 | (cris_scan_prologue, crisv32_scan_prologue, find_step_target) | |
1260 | (cris_software_single_step, cris_supply_gregset): Use get_regcache_arch | |
1261 | or get_frame_arch to get at the current architecture by regcache or by | |
1262 | frame, respectively. | |
1263 | * cris-tdep.c (crisv32_single_step_through_delay, cris_push_dummy_call) | |
1264 | (cris_unwind_pc, cris_unwind_sp, cris_register_type, cris_dump_tdep) | |
1265 | (crisv32_register_type, cris_dwarf2_frame_init_reg): Replace | |
1266 | current_gdbarch by gdbarch. | |
1267 | ||
2af46ca0 UW |
1268 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
1269 | ||
1270 | * arm-tdep.c (arm_scan_prologue, arm_make_prologue_cache) | |
1271 | (thumb_get_next_pc, arm_get_next_pc, arm_extract_return_value) | |
1272 | (arm_store_return_value): Use get_regcache_arch or get_frame_arch to | |
1273 | get at the current architecture by regcache or by·frame, respectively. | |
1274 | (arm_push_dummy_call, arm_dump_tdep): Replace current_gdbarch by | |
1275 | gdbarch. | |
1276 | ||
2ae02b47 UW |
1277 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
1278 | ||
1279 | * amd64-tdep.c (amd64_frame_prev_register, amd64_sigtramp_frame_cache): | |
1280 | Use get_regcache_arch or get_frame_arch to get at the current | |
1281 | architecture by regcache or by frame, respectively. | |
1282 | * amd64-linux-tdep.c (amd64_linux_sigcontext_addr): Likewise. | |
1283 | * amd64-nat.c (amd64_supply_native_gregset) | |
1284 | (amd64_collect_native_gregset): Replace current_gdbarch by gdbarch. | |
1285 | ||
ec7cc0e8 UW |
1286 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
1287 | ||
1288 | * alpha-tdep.c (alpha_register_reggroup_p): Replace current_gdbarch by | |
1289 | gdbarch. | |
1290 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. | |
1291 | (alpha_sigtramp_frame_unwind_cache, alpha_sigtramp_frame_this_id) | |
1292 | (alpha_sigtramp_frame_sniffer, alpha_next_pc): Use get_regcache_arch or | |
1293 | get_frame_arch to get at the current architecture by regcache or by | |
1294 | frame, respectively. | |
1295 | * alpha-nat.c (fetch_osf_core_registers): Likewise. | |
1296 | ||
ad010def UW |
1297 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
1298 | ||
1299 | * dwarf2-frame.c (read_reg, execute_cfa_program, dwarf2_frame_cache) | |
1300 | (dwarf2_frame_default_init_reg, dwarf2_frame_prev_register): Replace | |
1301 | current_gdbarch by gdbarch. | |
1302 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Likewise. | |
1303 | ||
214e098a UW |
1304 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
1305 | ||
1306 | * regcache.c (init_regcache_descr, register_type, read_pc_pid) | |
1307 | (write_pc_pid, regcache_dump): Replace current_gdbarch by gdbarch. | |
1308 | * regcache.c (regcache_raw_write): Use get_regcache_arch or | |
1309 | get_frame_arch to get at the current architecture by regcache or by | |
1310 | frame, respectively. | |
1311 | ||
e9e45075 UW |
1312 | 2007-10-08 Markus Deuling <deuling@de.ibm.com> |
1313 | ||
1314 | * findvar.c (value_of_register, locate_var_value): Use | |
1315 | get_regcache_arch or get_frame_arch to get at the current architecture | |
1316 | by regcache or by frame, respectively. | |
1317 | * findvar.c (default_value_from_register, value_from_register): Replace | |
1318 | current_gdbarch by gdbarch. | |
1319 | ||
136855cd PM |
1320 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
1321 | ||
1322 | * config/i386/nm-i386.h (CHILD_POST_STARTUP_INFERIOR): ARI fix: Remove. | |
1323 | ||
cdf43007 PM |
1324 | 2007-10-08 Pierre Muller <muller@ics.u-strasbg.fr> |
1325 | ||
1326 | * linux-fork.c: ARI fix: include "gdb_wait.h" instead of <sys/wait.h>. | |
1327 | Makefile.in (linux-fork.o): Add gdb_wait.h dependency. | |
1328 | ||
9ef895d6 DJ |
1329 | 2007-10-05 Daniel Jacobowitz <dan@codesourcery.com> |
1330 | ||
1331 | * remote.c (get_offsets): Only call free_symfile_segment_data if | |
1332 | data was allocated. | |
1333 | ||
cada2e7b PM |
1334 | 2007-10-03 Pierre Muller <muller@ics.u-strasbg.fr> |
1335 | ||
1336 | * objc-exp.y: ARI fix: remove 4 PARAMS. | |
1337 | ||
8d5f9c6f DJ |
1338 | 2007-10-03 Daniel Jacobowitz <dan@codesourcery.com> |
1339 | ||
1340 | * NEWS: Use uniform spacing. Correct version number for GDB 6.7 | |
1341 | news. Mention XML support for M68K in GDB 6.7. | |
1342 | ||
1969d2ed DJ |
1343 | 2007-10-03 Daniel Jacobowitz <dan@codesourcery.com> |
1344 | ||
1345 | * gdbtypes.c (create_range_type): Do not set TYPE_FIELD_TYPE for the | |
1346 | bounds. | |
1347 | (init_vector_type): Use builtin_type_int32. | |
1348 | ||
e31dcd20 UW |
1349 | 2007-10-02 Ulrich Weigand <uweigand@de.ibm.com> |
1350 | ||
1351 | * s390-tdep.c (s390_regset_from_core_section): Allow excess section | |
1352 | size to enable bi-arch generate-core-file support. | |
1353 | ||
b94c4f7d UW |
1354 | 2007-10-02 Markus Deuling <deuling@de.ibm.com> |
1355 | ||
1356 | * spu-tdep.c (info_spu_signal_command): Fix output for SPU signal. | |
1357 | ||
9612b5ec UW |
1358 | 2007-10-02 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com> |
1359 | ||
1360 | * tui/tui-interp.c (tui_init): Initialize tui's SIGWINCH | |
1361 | signal handler. | |
1362 | * tui/tui-win.c (tui_initialize_win): New function for | |
1363 | initializing tui's SIGWINCH signal handler. | |
1364 | * tui/tui-win.h (tui_initialize_win): Declare. | |
1365 | ||
407f1a2e UW |
1366 | 2007-10-02 Ulrich Weigand <uweigand@de.ibm.com> |
1367 | ||
1368 | * ppc-linux-nat.c (ppc_linux_stopped_data_address): Cast | |
1369 | pointer to uintptr_t before casting to CORE_ADDR. | |
1370 | ||
02d3ff8c UW |
1371 | 2007-10-02 Markus Deuling <deuling@de.ibm.com> |
1372 | ||
1373 | * linux-nat.c (PTRACE_GETSIGINFO): Add define. | |
1374 | ||
4577549b DJ |
1375 | 2007-10-02 Mark Mitchell <mark@codesourcery.com> |
1376 | ||
1377 | * mingw-hdep.c (gdb_select): Stop helper threads before returning. | |
1378 | * ser-mingw.c (enum select_thread_state): New type. | |
1379 | (struct ser_console_state): Add have_started and thread_state. | |
1380 | (select_thread_wait): New function. | |
1381 | (thread_fn_type): New type. | |
1382 | (create_select_thread): New function. | |
1383 | (destroy_select_thread): Likewise. | |
1384 | (start_select_thread): Likewise. | |
1385 | (stop_select_thread): Likewise. | |
1386 | (console_select_thread): Use new functions. | |
1387 | (pipe_select_thread): Likewise. | |
1388 | (file_select_thread): Likewise. | |
1389 | (ser_console_wait_handle): Likewise. | |
1390 | (ser_console_done_wait_handle): Likewise. | |
1391 | (ser_console_close): Likewise. | |
1392 | (free_pipe_state): Likewise. | |
1393 | (pipe_wait_handle): Likewise. | |
1394 | (pipe_done_wait_handle): Likewise. | |
1395 | (struct net_windows_state): Derive from ser_console_state. | |
1396 | (net_windows_select_thread): Use new functions. | |
1397 | (net_windows_wait_handle): Likewise. | |
1398 | (net_windows_done_wait_handle): Likewise. | |
1399 | (net_windows_close): Likewise. | |
1400 | ||
b0b951d9 DJ |
1401 | 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com> |
1402 | ||
1403 | * inflow.c (terminal_ours_1): Remove useless line. | |
1404 | ||
82e91389 DJ |
1405 | 2007-10-02 Daniel Jacobowitz <dan@codesourcery.com> |
1406 | ||
1407 | * mips-tdep.c (mips_read_fp_register_double): Correct check for | |
1408 | odd FP registers. | |
1409 | (mips_print_fp_register): Correct check for even FP registers. | |
1410 | (mips_virtual_frame_pointer): New function. | |
1411 | (mips_gdbarch_init): Call set_gdbarch_virtual_frame_pointer. | |
1412 | ||
c4a3d09a MF |
1413 | 2007-09-30 Mike Frysinger <vapier@gentoo.org> |
1414 | ||
1415 | * value.h (lookup_only_internalvar): New prototype. | |
1416 | (create_internalvar): Likewise. | |
1417 | * value.c (lookup_only_internalvar): New function. | |
1418 | (create_internalvar): Likewise. | |
1419 | (lookup_internalvar): Use new lookup_only_internalvar and | |
1420 | create_internalvar functions. | |
1421 | * parse.c (write_dollar_variable): Look up $ symbols in internal | |
1422 | table first rather than last. | |
1423 | ||
9f0bdab8 DJ |
1424 | 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com> |
1425 | ||
1426 | * linux-nat.c (linux_nat_new_thread): New variable. | |
1427 | (linux_child_follow_fork): Set inferior_ptid to include LWP ID. Use | |
1428 | linux_nat_switch_fork. | |
1429 | (lwp_list): Make public. | |
1430 | (add_lwp): Call linux_nat_new_thread. | |
1431 | (lin_lwp_attach_lwp, linux_nat_attach): Call add_lwp after stopping | |
1432 | the new thread. | |
1433 | (resume_callback): Clear lp->siginfo. Remove unused variable. | |
1434 | (linux_nat_resume): Assert that the LWP list is already initialized. | |
1435 | Clear lp->siginfo. | |
1436 | (save_siginfo): New. | |
1437 | (stop_wait_callback, linux_nat_wait): Call it. | |
1438 | (linux_nat_set_new_thread, linux_nat_get_siginfo): New. | |
1439 | * linux-nat.h (struct lwp_info): Add siginfo. | |
1440 | (lwp_list, linux_nat_set_new_thread, linux_nat_get_siginfo): Declare. | |
1441 | (ALL_LWPS): Define. | |
1442 | ||
1443 | * amd64-linux-nat.c (amd64_linux_dr): New. | |
1444 | (amd64_linux_dr_get): Take a PTID argument. Correct typo. | |
1445 | (amd64_linux_dr_set): Take a PTID argument. | |
1446 | (amd64_linux_dr_set_control, amd64_linux_dr_set_addr): Use ALL_LWPS. | |
1447 | (amd64_linux_dr_reset_addr): Use amd64_linux_dr_set_addr. | |
1448 | (amd64_linux_dr_get_status): Pass inferior_ptid to amd64_linux_dr_get. | |
1449 | (amd64_linux_new_thread): New. | |
1450 | (_initialize_amd64_linux_nat): Call linux_nat_set_new_thread. | |
1451 | * i386-linux-nat.c (i386_linux_dr): New. | |
1452 | (i386_linux_dr_get, i386_linux_dr_set): Take a PTID argument. | |
1453 | (i386_linux_dr_set_control, i386_linux_dr_set_addr): Use ALL_LWPS. | |
1454 | (i386_linux_dr_reset_addr): Use i386_linux_dr_set_addr. | |
1455 | (i386_linux_dr_get_status): Pass inferior_ptid to i386_linux_dr_get. | |
1456 | (i386_linux_new_thread): New. | |
1457 | (i386_linux_resume): Remove unnecessary PID check. | |
1458 | (_initialize_i386_linux_nat): Call linux_nat_set_new_thread. | |
1459 | * ia64-linux-nat.c (enable_watchpoints_in_psr): Take PTID argument. | |
1460 | (fetch_debug_register, fetch_debug_register_pair): Delete. | |
1461 | (debug_registers): New. | |
1462 | (ia64_linux_insert_watchpoint, ia64_linux_remove_watchpoint): Use | |
1463 | ALL_LWPS and debug_registers. | |
1464 | (ia64_linux_new_thread): New. | |
1465 | (ia64_linux_stopped_data_address): Use linux_nat_get_siginfo. | |
1466 | (_initialize_ia64_linux_nat): Call linux_nat_set_new_thread. | |
1467 | * ppc-linux-nat.c (last_stopped_data_address): Delete. | |
1468 | (saved_dabr_value): New. | |
1469 | (ppc_linux_insert_watchpoint, ppc_linux_remove_watchpoint): Use | |
1470 | ALL_LWPS. | |
1471 | (ppc_linux_new_thread): New. | |
1472 | (ppc_linux_stopped_data_address): Use linux_nat_get_siginfo. | |
1473 | (ppc_linux_stopped_by_watchpoint): Call ppc_linux_stopped_data_address. | |
1474 | (_initialize_ppc_linux_nat): Call linux_nat_set_new_thread. | |
1475 | * s390-nat.c (s390_stopped_by_watchpoint): Clear the watchpoint status | |
1476 | after reading it. | |
1477 | (s390_fix_watch_points): Take a PTID argument. | |
1478 | (s390_insert_watchpoint, s390_remove_watchpoint): Use ALL_LWPS. | |
1479 | (_initialize_s390_nat): Call linux_nat_set_new_thread. | |
1480 | ||
d983da9c DJ |
1481 | 2007-09-30 Daniel Jacobowitz <dan@codesourcery.com> |
1482 | Jeff Johnston <jjohnstn@redhat.com> | |
1483 | ||
1484 | * breakpoint.c (watchpoints_triggered): New. | |
1485 | (bpstat_stop_status): Remove STOPPED_BY_WATCHPOINT argument. | |
1486 | Check watchpoint_triggered instead. Combine handling for software | |
1487 | and hardware watchpoints. Do not use target_stopped_data_address | |
1488 | here. Always check a watchpoint if its scope breakpoint triggers. | |
1489 | Do not stop for thread or overlay events. Improve check for | |
1490 | triggered watchpoints without a value change. | |
1491 | (watch_command_1): Insert the scope breakpoint first. Link the | |
1492 | scope breakpoint to the watchpoint. | |
1493 | * breakpoint.h (enum watchpoint_triggered): New. | |
1494 | (struct breakpoint): Add watchpoint_triggered. | |
1495 | (bpstat_stop_status): Update prototype. | |
1496 | (watchpoints_triggered): Declare. | |
1497 | * infrun.c (enum infwait_status): Add infwait_step_watch_state. | |
1498 | (stepped_after_stopped_by_watchpoint): Delete. | |
1499 | (handle_inferior_event): Make stepped_after_stopped_by_watchpoint | |
1500 | local. Handle infwait_step_watch_state. Update calls to | |
1501 | bpstat_stop_status. Use watchpoints_triggered to check | |
1502 | watchpoints. | |
1503 | * remote.c (stepped_after_stopped_by_watchpoint): Remove extern. | |
1504 | (remote_stopped_data_address): Do not check it. | |
1505 | ||
7921a279 DJ |
1506 | 2007-09-29 Daniel Jacobowitz <dan@codesourcery.com> |
1507 | ||
1508 | * configure.ac: Add $LIBINTL when testing libbfd. | |
1509 | * configure: Regenerated. | |
1510 | ||
fe6fbf8b VP |
1511 | 2007-09-28 Vladimir Prus <vladimir@codesourcery.com> |
1512 | ||
1513 | * NEW: Mention pending breakpoint changes and | |
1514 | support for breakpoints at multiple locations. | |
1515 | ||
daddc3c1 DJ |
1516 | 2007-09-27 Daniel Jacobowitz <dan@codesourcery.com> |
1517 | ||
1518 | * arm-linux-tdep.c (arm_linux_software_single_step): New. | |
1519 | (arm_linux_init_abi): Use it. | |
1520 | * arm-tdep.c (arm_get_next_pc): Make global. Handle all-ones | |
1521 | condition correctly. | |
1522 | * arm-tdep.h (arm_get_next_pc): Declare. | |
1523 | * Makefile.in (arm-linux-tdep.o): Update. | |
1524 | ||
7a4d50bf VP |
1525 | 2007-09-26 Vladimir Prus <vladimir@codesourcery.com> |
1526 | ||
1527 | * varobj.c (install_new_value): Don't | |
1528 | call value_get_print_value when a value is | |
1529 | lazy. Update the print_value member in a | |
1530 | single place. | |
1531 | ||
d32a6982 VP |
1532 | 2007-09-26 Vladimir Prus <vladimir@codesourcery.com> |
1533 | ||
1534 | * breakpoint.c (create_breakpoint): Set | |
1535 | condition on each location, not on the first | |
1536 | location of breakpoint. | |
1537 | ||
489eaeba JB |
1538 | 2007-09-26 Jim Blandy <jimb@codesourcery.com> |
1539 | ||
1540 | * remote.c (getpkt_sane): Fix error message. No animals were | |
1541 | harmed in the making of this debugger. | |
1542 | ||
3e9313ab PM |
1543 | 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr> |
1544 | ||
1545 | * p-typeprint.c: Fix 11 ARI reported problems. | |
1546 | (pascal_print_type): Fix 4 operator at end of line. | |
1547 | (pascal_type_print_method_args) : Replace 2 DEPRECATED_STREQN macros | |
1548 | using strncmp function. | |
1549 | (pascal_type_print_base): Fix 2 operator at end of line. | |
1550 | (pascal_type_print_base) : Replace 3 DEPRECATED_STREQN macros | |
1551 | using strncmp function. | |
1552 | ||
1553 | ||
5b8101ae PM |
1554 | 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr> |
1555 | ||
1556 | * Fix PR pascal/2231 | |
1557 | dwarf2read.c (read_subroutine_type): | |
1558 | All pascal functions are prototyped. | |
1559 | ||
c45f11da PM |
1560 | 2007-09-26 Pierre Muller <muller@ics.u-strasbg.fr> |
1561 | ||
1562 | * Fix PR pascal/2283 | |
1563 | p-valprint.c (pascal_val_print): correct current language check. | |
1564 | Also print array of char as strings. | |
1565 | ||
1566 | ||
59aa1faa MR |
1567 | 2007-09-26 David Ung <davidu@mips.com> |
1568 | Maciej W. Rozycki <macro@mips.com> | |
1569 | ||
1570 | * mips-tdep.c (mips_n32n64_return_value): Fix a comment. | |
1571 | ||
0b058123 PM |
1572 | 2007-09-25 Pierre Muller <muller@ics.u-strasbg.fr> |
1573 | ||
1574 | * p-exp.y: Fix 12 ARI reported problems. | |
1575 | (name_not_typename): Fix 2 operator at end of line issues. | |
1576 | (yylex): Fix 3 operator at end of line issues. | |
1577 | Replace 7 DEPRECATED_STREQ macros using strcmp function. | |
1578 | ||
b18bb924 MR |
1579 | 2007-09-25 David Ung <davidu@mips.com> |
1580 | Maciej W. Rozycki <macro@mips.com> | |
1581 | ||
1582 | * mips-tdep.c (mips_n32n64_return_value): Per N32/N64 ABI | |
1583 | rules return composite types in registers as appropriate. | |
1584 | ||
28c32713 JB |
1585 | 2007-09-24 Jim Blandy <jimb@codesourcery.com> |
1586 | ||
1587 | * symfile.h (struct symfile_segment_data): Doc fixes. | |
1588 | * symfile.c (symfile_map_offsets_to_segments): Doc fixes. | |
1589 | Assert that we were passed some loaded segment addresses, | |
1590 | and that sections' segment numbers are valid. | |
1591 | Simplify offset calculation. | |
1592 | * remote.c (get_offsets): Clarify selection of relocate-by-segment | |
1593 | strategy, and set num_segments correctly. Delete redundant | |
1594 | assignments to do_sections. | |
1595 | ||
32276632 DJ |
1596 | 2007-09-24 Daniel Jacobowitz <dan@codesourcery.com> |
1597 | ||
1598 | * frame.c (get_prev_frame_1): Also check for PC in the same register. | |
1599 | ||
ed0616c6 VP |
1600 | 2007-09-24 Vladimir Prus <vladimir@codesourcery.com> |
1601 | ||
1602 | * breakpoint.c (remove_sal): New. | |
1603 | (expand_line_sal_maybe): New. | |
1604 | (create_breakpoints): Call expand_line_sal_maybe. | |
1605 | (clear_command): Add comment. | |
1606 | (breakpoint_re_set_one): Call expand_line_sal_maybe. | |
1607 | * linespec.c (decode_indirect): Set explicit_pc to 1. | |
1608 | (decode_all_digits): Set explicit_line to 1. | |
1609 | (append_expanded_sal): New. | |
1610 | (expand_line_sal): New. | |
1611 | * linespec.h (expand_line_sal): Declare. | |
1612 | * symtab.c (init_sal): Initialize explicit_pc | |
1613 | and explicit_line. | |
1614 | * symtab.h (struct symtab_and_line): New fields | |
1615 | explicit_pc and explicit_line. | |
1616 | ||
41f1b697 DJ |
1617 | 2007-09-23 Daniel Jacobowitz <dan@codesourcery.com> |
1618 | ||
1619 | * infcall.c (call_function_by_hand): Handle language-specific | |
1620 | pass and return by reference. | |
1621 | ||
1622 | * cp-abi.c (cp_pass_by_reference): New. | |
1623 | * cp-abi.h (cp_pass_by_reference): Declare. | |
1624 | (struct cp_abi_ops): Add pass_by_reference. | |
1625 | * gnu-v3-abi.c (gnuv3_pass_by_reference): New. | |
1626 | (init_gnuv3_ops): Set pass_by_reference. | |
1627 | ||
1628 | * language.c (language_pass_by_reference): New. | |
1629 | (default_pass_by_reference): New. | |
1630 | (unknown_language_defn, auto_language_defn, local_language_defn): Add | |
1631 | default_pass_by_reference. | |
1632 | * langauge.h (struct language_defn): Add la_pass_by_reference. | |
1633 | (language_pass_by_reference, default_pass_by_reference): Declare. | |
1634 | * ada-lang.c (ada_language_defn): Add default_pass_by_reference. | |
1635 | * c-lang.c (c_language_defn, asm_language_defn) | |
1636 | (minimal_language_defn): Likewise. | |
1637 | (cplus_language_defn): Add cp_pass_by_reference. | |
1638 | * f-lang.c (f_language_defn): Add default_pass_by_reference. | |
1639 | * jv-lang.c (java_language_defn): Likewise. | |
1640 | * m2-lang.c (m2_language_defn): Likewise. | |
1641 | * objc-lang.c (objc_language_defn): Likewise. | |
1642 | * p-lang.c (pascal_language_defn): Likewise. | |
1643 | * scm-lang.c (scm_language_defn): Likewise | |
1644 | ||
0d381245 VP |
1645 | 2007-09-23 Vladimir Prus <vladimir@codesourcery.com> |
1646 | ||
1647 | Allow a code breakpoint to have several locations | |
1648 | associated with it. | |
1649 | * breakpoint.h (enum enable_state): Remove the | |
1650 | bp_shlib_disabled enumerator. | |
1651 | (struct bp_location): New members shlib_disabled, | |
1652 | global_next, enabled and function_name. | |
1653 | Rename pending to condition_not_parsed. | |
1654 | ||
1655 | * breakpoint.c (ALL_BP_LOCATIONS): Iterate over global_next. | |
1656 | (ALL_BP_LOCATIONS_SAFE): Likewise. | |
1657 | (breakpoint_enabled): Don't check for pending. | |
1658 | (condition_command): Free and update all locations of | |
1659 | a breakpoint. | |
1660 | (insert_bp_location): Adjust. | |
1661 | (software_breakpoint_inserted_here_p): Don't care | |
1662 | if breakpoint is enabled, as soon as it's inserted. | |
1663 | (print_it_typical): Print bpstat's location, not | |
1664 | bpstat's breakpoint's location. | |
1665 | (bpstat_stop_status): Iterate over all locations, not | |
1666 | all breakpoints. | |
1667 | (print_breakpoint_location): New. | |
1668 | (print_one_breakpoint): Renamed to | |
1669 | (print_one_breakpoint_location): ...this. Take | |
1670 | parameters to describe which location is being | |
1671 | printed. Modify code to properly print header | |
1672 | for several locations and individual locations. | |
1673 | (print_one_breakpoint): Print all locations. | |
1674 | (breakpoint_has_pc): New. | |
1675 | (describe_other_breakpoints): Use the above. | |
1676 | (check_duplicates): Renamed to... | |
1677 | (check_duplicates_for): .. this. | |
1678 | (check_duplicates): Use check_duplicates_for. | |
1679 | (allocate_bp_location): Adjust. | |
1680 | (set_raw_breakpoint_without_location): New, | |
1681 | extracted from set_raw_breakpoint. | |
1682 | (set_breakpoint_location_function): New. | |
1683 | (set_raw_breakpoint): Use | |
1684 | set_raw_breakpoint_without_location. | |
1685 | (make_breakpoint_permanent): Mark all locations | |
1686 | as inserted. | |
1687 | (disable_breakpoints_in_shlibs): Iterate over | |
1688 | locations. | |
1689 | (disable_breakpoints_in_unloaded_shlib): Likewise. | |
1690 | (re_enable_breakpoints_in_shlibs): Likewise. | |
1691 | (mention): Say "pending" when breakpoint has | |
1692 | zero locations. If breakpoint has more than one | |
1693 | location, say so. | |
1694 | (add_location_to_breakpoint): New. | |
1695 | (create_breakpoint): Accept symtabs_and_lines, not | |
1696 | symtab_and_line. Pass extra sals to | |
1697 | add_location_to_breakpoint. | |
1698 | (create_breakpoints): Pass symtabs_and_lines to | |
1699 | create_breakpoints. | |
1700 | (break_command_1): Make pending breakpoints | |
1701 | have zero locations. | |
1702 | (do_captured_breakpoint): Remove wrong allocation. | |
1703 | (clear_command): Iterate over all locations. | |
1704 | (unlink_locations_from_global_list): Renamed | |
1705 | from unlink_location_from_global_list. Remove | |
1706 | all locations. | |
1707 | (delete_breakpoint): Remove all locations. | |
1708 | Iterate over all locations when deciding which | |
1709 | other location to re-enable. | |
1710 | (all_locations_are_pending): New. | |
1711 | (update_breakpoint_locations): Renamed from | |
1712 | update_breakpoint_location. Try to match old | |
1713 | and new locations using names of containing | |
1714 | functions. | |
1715 | (breakpoint_re_set_one): Adjust. | |
1716 | (find_location_by_number): New. | |
1717 | (disable_command): Allow disabling individual location. | |
1718 | (enable_command): Allow enabling individual location. | |
1719 | * breakpoint.c: Adjust all uses of breakpoint's | |
1720 | enable state to for bp_shlib_disabled change. | |
1721 | ||
fe3f5fa8 VP |
1722 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
1723 | ||
1724 | * breakpoint.c (do_restore_lang_radix_cleanup): Remove. | |
1725 | (resolve_pending_breakpoint): Remove. | |
1726 | (re_enable_breakpoints_in_shlibs): Remove. | |
1727 | (unlink_locations_from_global_list): New. | |
1728 | (update_breakpoint_locations): New. | |
1729 | (breakpoint_re_set_one): Don't bail out on pending breakpoints. | |
1730 | Use parse_condition and update_breakpoint_location to | |
1731 | reset breakpoint. Ignore 'symbol not found' error from | |
1732 | decode_line_1. | |
1733 | (breakpoint_re_set): Don't emit newline before the | |
1734 | reason why breakpoint is not reset. | |
1735 | (do_enable_breakpoint): Don't specially process pending | |
1736 | breakpoints. | |
1737 | (free_bp_location): New. | |
1738 | (break_command_1): For pending breakpoints, initialize | |
1739 | all fields of a sal with zeroes. | |
1740 | * breakpoint.h (re_enable_breakpoints_in_shlibs): Remove. | |
1741 | * infcmd.c (post_create_inferior): Don't call | |
1742 | re_enable_breakpoints_in_shlibs. | |
1743 | * infrun.c (handle_inferior_event): Likewise. | |
1744 | * solib-irix.c (irix_solib_create_inferior_hook): Likewise. | |
1745 | * solib-osf.c (osf_solib_create_inferior_hook): Likewise. | |
1746 | * win32-nat.c (get_win32_debug_event): Likewise. | |
1747 | ||
511a6cd4 VP |
1748 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
1749 | ||
018d34a4 VP |
1750 | * breakpoint.c (create_breakpoint): Split from |
1751 | create_breakpoints, implementing most of its logic. | |
1752 | Take just a single sal, single address string and | |
1753 | single condition. Do not take parsed condition at | |
1754 | all. | |
1755 | (create_breakpoints): Just call create_breakpoint | |
1756 | for each sal. | |
1757 | (find_condition_and_thread): New. | |
1758 | (break_command_1): Use find_condition_and_thread. | |
1759 | Do not keep parsed conditions. | |
1760 | (do_captured_breakpoint): Don't convert | |
1761 | condition string to struct expression. | |
1762 | ||
1763 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> | |
1764 | ||
511a6cd4 VP |
1765 | * breakpoint.h (struct breakpoint): Move the cond |
1766 | field to... | |
1767 | (struct bp_location): Here. | |
1768 | * breakpoint.c (condition_command, bpstat_stop_status) | |
1769 | (print_one_breakpoint, allocate_bp_location) | |
1770 | (solib_load_unload_1, create_fork_vfork_event_catchpoint) | |
1771 | (create_exec_event_catchpoint, create_breakpoints) | |
1772 | (break_command_1, watch_command_1, handle_gnu_v3_exceptions) | |
1773 | (create_ada_exception_breakpoint, set_breakpoint_sal) | |
1774 | (delete_breakpoint, breakpoint_re_set_one): Adjust. | |
1775 | * tui/tui-winsource.c (tui_update_breakpoint_info): Adjust. | |
1776 | ||
4f8d1dc6 VP |
1777 | 2007-09-22 Vladimir Prus <vladimir@codesourcery.com> |
1778 | ||
1779 | Associate bp_stat with bp_location, not breakpoint. | |
1780 | * breakpoint.h (breakpoint_at): Change type | |
1781 | to bp_location*. | |
1782 | * breakpoint.c (bpstat_alloc): Take bp_location, | |
1783 | not breakpoint. | |
1784 | (bpstat_find_breakpoint): Look at bpstat's location's | |
1785 | owner, not at bpstat->breakpoint_at. | |
1786 | (bpstat_find_step_resume_breakpoint): Likewise. | |
1787 | (bpstat_num): Likewise. | |
1788 | (print_it_typical): Likewise. | |
1789 | (print_bp_stop_message): Likewise. | |
1790 | (watchpoint_check): Likewise. | |
1791 | (bpstat_what): Likewise. | |
1792 | (bpstat_get_triggered_catchpoints): Likewise. | |
1793 | (breakpoint_auto_delete): Likewise. | |
1794 | (delete_breakpoint): Likewise. | |
1795 | (bpstat_stop_status): Pass location, not breakpoint, | |
1796 | to bpstat_alloc. Look at bpstat's location's | |
1797 | owner, not at bpstat->breakpoint_at. | |
1798 | ||
32623386 JB |
1799 | 2007-09-21 Jim Blandy <jimb@codesourcery.com> |
1800 | ||
1801 | * macrotab.h (new_macro_table): Document that removing information | |
1802 | from an obstack/bcache-managed macro table leaks memory. | |
1803 | * macrotab.c (macro_free, macro_bcache_free): Instead of asserting | |
1804 | that data is never freed in obstack/bcache-managed macro tables, | |
1805 | just leak the storage. | |
1806 | (macro_undef): If we're undefining a macro at exactly the same | |
1807 | source location that we defined it, simply remove the definition | |
1808 | altogether. | |
1809 | ||
c295b2e5 JB |
1810 | 2007-09-21 Joel Brobecker <brobecker@adacore.com> |
1811 | ||
1812 | * symfile.h (struct sym_fns): Add new field sym_read_linetable. | |
1813 | * coffread.c, dbxread.c, elfread.c, mipsread.c somread.c: | |
1814 | Adjust the struct sym_fns object accordingly by setting | |
1815 | the new field to NULL. | |
1816 | * xcoffread.c (aix_process_linenos): Make static. | |
1817 | (xcoff_sym_fns): Set new field to aix_process_linenos. | |
1818 | * buildsym.c (end_symtab): Replace call to PROCESS_LINENUMBER_HOOK | |
1819 | by call to new the new sym_fns sym_read_linetable function. | |
1820 | * config/powerpc/aix.mt (DEPRECATED_TM_FILE): Delete. | |
1821 | * config/rs6000/tm-rs6000.h: Delete. | |
1822 | ||
ab2e1992 MR |
1823 | 2007-09-21 David Ung <davidu@mips.com> |
1824 | Maciej W. Rozycki <macro@mips.com> | |
1825 | ||
1826 | * mips-tdep.c (mips_n32n64_push_dummy_call): Per N32/N64 ABI | |
1827 | rules do not treat composite types specially. | |
1828 | ||
97ab0fdd MR |
1829 | 2007-09-20 Maciej W. Rozycki <macro@mips.com> |
1830 | ||
1831 | * mips-tdep.c (mips32_in_function_epilogue_p): New function. | |
1832 | (mips16_in_function_epilogue_p): Likewise. | |
1833 | (mips_in_function_epilogue_p): Likewise. | |
1834 | (mips_gdbarch_init): Register mips_in_function_epilogue_p(). | |
1835 | ||
01fe12f6 JB |
1836 | 2007-09-19 Joel Brobecker <brobecker@adacore.com> |
1837 | ||
1838 | * configure.ac: Add check for "etext". | |
1839 | * configure, config.in: Regenerate. | |
1840 | * maint.c (TEXTEND): Only define if either _etext or etext | |
1841 | are available. | |
1842 | Disable the profiling functionality if TEXTEND is not defined. | |
1843 | ||
aa6c981f DJ |
1844 | 2007-09-19 Daniel Jacobowitz <dan@codesourcery.com> |
1845 | ||
1846 | * mips-tdep.c (mips_stub_frame_cache): Correct the saved return | |
1847 | address register. Correct the call to frame_id_build. | |
1848 | (mips_stub_frame_sniffer): Use the stub unwinder when the PC | |
1849 | is invalid. | |
1850 | ||
39312971 JB |
1851 | 2007-09-18 Joel Brobecker <brobecker@adacore.com> |
1852 | ||
1853 | * ia64-tdep.c (refine_prologue_limit): Make sure we don't scan | |
1854 | the linetable past the function end. | |
1855 | ||
558dc30a JW |
1856 | 2007-09-18 James E. Wilson <wilson@specifix.com> |
1857 | ||
1858 | * MAINTAINERS: Update my email address. | |
1859 | ||
60e2c248 JG |
1860 | 2007-09-18 Jerome Guitton <guitton@adacore.com> |
1861 | ||
1862 | * inf-ttrace.c (inf_ttrace_private_thread_info): New structure type. | |
1863 | (inf_ttrace_delete_dying_threads_callback): New function. | |
1864 | (inf_ttrace_resume): After resuming the execution, iterate over | |
1865 | the dying threads to delete them for the thread list. | |
1866 | (inf_ttrace_wait): on TTEVT_LWP_EXIT and TTEVT_LWP_TERMINATE, | |
1867 | mark the corresponding thread as dying instead of removing it | |
1868 | from the thread list. | |
1869 | (inf_ttrace_thread_alive): return 0 for dying threads. | |
1870 | ||
f4c1edd8 JB |
1871 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
1872 | ||
1873 | * infrun.c (insert_step_resume_breakpoint_at_frame): Add assertion | |
1874 | that return_frame is not null. | |
1875 | ||
8d4e36ba JB |
1876 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
1877 | ||
1878 | * solib-svr4.c: Add include of "auxv.h". | |
1879 | (enable_break): Use the AT_BASE auxiliary entry if available. | |
1880 | * Makefile.in (solib-svr4.o): Update dependencies. | |
1881 | ||
f9ed52be JB |
1882 | 2007-09-17 Joel Brobecker <brobecker@adacore.com> |
1883 | ||
1884 | * NEWS: Create a new section for the next release branch. | |
1885 | Rename the section of the current branch, now that it has | |
1886 | been cut. | |
1887 | ||
eff4f95e JG |
1888 | 2007-09-17 Jerome Guitton <guitton@adacore.com> |
1889 | ||
1890 | * dwarf2loc.c (dwarf_expr_frame_base): Guard against NULL. | |
1891 | * Makefile.in (dwarf2loc.o): Depend on gdb_assert.h. | |
1892 | ||
084344da VP |
1893 | 2007-09-16 Vladimir Prus <vladimir@codesourcery.com> |
1894 | ||
1895 | * mi/mi-cmds.c (mi_cmds): Register -list-features. | |
1896 | * mi/mi-cmds.h (mi_cmd_list_features): New. | |
1897 | * mi/mi-main.c (mi_cmd_list_features): New. | |
1898 | ||
50c7215d | 1899 | 2007-09-11 Joel Brobecker <brobecker@adacore.com> |
1900 | ||
1901 | GDB 6.7 branch created (branch timestamp: 2007-09-07 14:00 UTC) | |
1902 | * version.in: Bump version to 6.7.50-20070911-cvs. | |
1903 | ||
4d8453a5 DJ |
1904 | 2007-09-10 Daniel Jacobowitz <dan@codesourcery.com> |
1905 | ||
1906 | * thread.c (free_thread): Do not delete the step resume breakpoint | |
1907 | right away. | |
1908 | ||
4eb0ad19 DJ |
1909 | 2007-09-10 Daniel Jacobowitz <dan@codesourcery.com> |
1910 | ||
1911 | * arch-utils.c (gdbarch_info_fill): Also try core_bfd. | |
1912 | * corelow.c (core_read_description): New. | |
1913 | (init_core_ops): Set to_read_description. | |
1914 | * gdbarch.sh: Add gdbarch_core_read_description. | |
1915 | * mips-linux-tdep.c (mips_linux_core_read_description): New. | |
1916 | (mips_linux_init_abi): Call set_gdbarch_core_read_description. | |
1917 | * mips-tdep.c (mips_tdesc_gp32, mips_tdesc_gp64): New. | |
1918 | (mips_register_g_packet_guesses): Use them. | |
1919 | (_initialize_mips_tdep): Initialize them. | |
1920 | * mips-tdep.h (mips_tdesc_gp32, mips_tdesc_gp64): Declare. | |
1921 | * gdbarch.h, gdbarch.c: Regenerated. | |
1922 | ||
6a6b96b9 UW |
1923 | 2007-09-10 Ulrich Weigand <uweigand@de.ibm.com> |
1924 | ||
1925 | * infrun.c (stepping_past_breakpoint): New global variable. | |
1926 | (stepping_past_breakpoint_ptid): Likewise. | |
1927 | (prepare_to_proceed): Add STEP parameter. Do not check for Ctrl-C. | |
1928 | Only switch threads if we need to single-step over a breakpoint hit | |
1929 | in the previously selected thread. If stepping, remember previous | |
1930 | thread to switch back to in STEPPING_PAST_BREAKPOINT[_PTID]. Call | |
1931 | switch_to_thread instead of copying its contents. | |
1932 | (proceed): Pass STEP to prepare_to_proceed. Always set ONEPROC if | |
1933 | prepare_to_proceed returns true. | |
1934 | (init_wait_for_inferior): Reset STEPPING_PAST_BREAKPOINT. | |
1935 | (context_switch): Call switch_to_thread. | |
1936 | (handle_inferior_event): Switch back to previous thread if requested | |
1937 | in STEPPING_PAST_BREAKPOINT[_PTID] by prepare_to_proceed. | |
1938 | * gdbthread.h (switch_to_thread): Add prototype. | |
1939 | * thread.c (switch_to_thread): Make global. | |
1940 | ||
0b058123 | 1941 | 2007-09-07 Pierre Muller <muller@ics.u-strasbg.fr> |
b20a3440 PM |
1942 | |
1943 | * p-valprint.c: Fix 7 ARI reported problems. | |
1944 | (pascal_val_print): Fix one operator at end of line issue. | |
1945 | Use paddress function to remove use of | |
1946 | deprecated_print_address_numeric function (2 times). | |
1947 | Use SYMBOL_LINKAGE_NAME instead of DEPRECATED_SYMBOL_NAME. | |
1948 | (pascal_value_print): Fix 3 operator at end of line issues. | |
1949 | ||
faa95490 DJ |
1950 | 2007-09-07 Daniel Jacobowitz <dan@codesourcery.com> |
1951 | ||
1952 | PR gdb/2103 | |
1953 | * arm-tdep.c (arm_in_call_stub): Delete. | |
1954 | (arm_skip_stub): Handle from_arm and from_thumb stubs. | |
1955 | ||
f0027ce2 DJ |
1956 | 2007-09-06 Daniel Jacobowitz <dan@codesourcery.com> |
1957 | ||
1958 | * ppc-sysv-tdep.c (do_ppc_sysv_return_value): Handle other integer | |
1959 | types. | |
1960 | ||
ea37ba09 DJ |
1961 | 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com> |
1962 | Jim Blandy <jimb@codesourcery.com> | |
1963 | ||
1964 | * NEWS: Update description of string changes. Mention print/s. | |
1965 | * c-valprint.c (textual_element_type): New. | |
1966 | (c_val_print): Use it. Do not skip address printing for pointers | |
1967 | with a string format. | |
1968 | (c_value_print): Doc update. | |
1969 | * dwarf2read.c (read_array_type): Use make_vector_type. | |
1970 | * gdbtypes.c (make_vector_type): New. | |
1971 | (init_vector_type): Use it. | |
1972 | (gdbtypes_post_init): Initialize builtin_true_unsigned_char. | |
1973 | (_initialize_gdbtypes): Mark int8_t and uint8_t as TYPE_FLAG_NOTTEXT. | |
1974 | * gdbtypes.h (struct builtin_type): Add builtin_true_unsigned_char. | |
1975 | (TYPE_FLAG_NOTTEXT, TYPE_NOTTEXT): New. | |
1976 | (make_vector_type): New. | |
1977 | * printcmd.c (print_formatted): Only handle 's' and 'i' for examine. | |
1978 | Call the language print routine for string format. | |
1979 | (print_scalar_formatted): Call val_print for string format. Handle | |
1980 | unsigned original types for char format. | |
1981 | (validate_format): Do not reject string format. | |
1982 | * stabsread.c (read_type): Use make_vector_type. | |
1983 | * xml-tdesc.c (tdesc_start_vector): Use init_vector_type. | |
1984 | ||
8fb822e0 MS |
1985 | 2007-09-04 Michael Snyder <msnyder@access-company.com> |
1986 | ||
fcd776e5 MS |
1987 | * expprint.c (print_subexp_standard): Check strchr for null. |
1988 | * Makefile.in (expprint.o): Depend on gdb_assert.h. | |
1989 | ||
7d63ec12 MS |
1990 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Guard against null. |
1991 | ||
8fb822e0 MS |
1992 | * stabsread.c (patch_block_status): Guard against null. |
1993 | * Makefile.in (stabsread.o): Depend on gdb_assert.h. | |
1994 | ||
2025a643 DJ |
1995 | 2007-09-04 Daniel Jacobowitz <dan@codesourcery.com> |
1996 | ||
1997 | * printcmd.c (printf_command): Handle ptr_arg. Correct typo | |
1998 | in internal error message. | |
1999 | ||
de1b3c3d PA |
2000 | 2007-09-04 Pedro Alves <pedro_alves@portugalmail.pt> |
2001 | Daniel Jacobowitz <dan@codesourcery.com> | |
2002 | ||
2003 | * infcmd.c (post_create_inferior): Update comment. | |
2004 | (run_command_1): Always call post_create_inferior with 0 as | |
2005 | from_tty. | |
2006 | ||
2007 | * i386-cygwin-tdep.h: New. | |
2008 | * i386-cygwin-tdep.c: Include "i386-cygwin-tdep.h". | |
2009 | (win32_xfer_shared_library): Make it extern. | |
2010 | ||
2011 | * win32-nat.c: Include gdb_obstack.h and xml-support.h and | |
2012 | i386-cygwin-tdep.h. | |
2013 | (win32_so_ops): Delete. | |
2014 | (get_relocated_section_addrs): Delete. | |
2015 | (solib_symbols_add): Delete. | |
2016 | (register_loaded_dll): Delete. | |
2017 | (win32_make_so): New. | |
2018 | (handle_load_dll): Use win32_make_so. | |
2019 | (win32_free_so): Free the passed in so. | |
2020 | (win32_relocate_section_addresses): Delete. | |
2021 | (win32_solib_create_inferior_hook): Delete. | |
2022 | (handle_unload_dll): Don't add PE offset here. Free so with | |
2023 | win32_free_so instead of free_so. | |
2024 | (win32_special_symbol_handling): Delete. | |
2025 | (get_win32_debug_event): Remove unneeded calls. Set state to | |
2026 | TARGET_WAITKIND_LOADED on a dll unload. | |
2027 | (do_initial_win32_stuff): Clear cygwin_load_start and | |
2028 | cygwin_load_end. | |
2029 | (map_code_section_args): Delete. | |
2030 | (dll_code_sections_add): Delete. | |
2031 | (core_section_load_dll_symbols): Delete. | |
2032 | (win32_xfer_shared_libraries): New. | |
2033 | (win32_current_sos): Delete. | |
2034 | (win32_xfer_partial): New. | |
2035 | (open_symbol_file_object): Delete. | |
2036 | (in_dynsym_resolve_code): Delete. | |
2037 | (init_win32_ops): Set win32_xfer_partial as to_xfer_partial member | |
2038 | of win32_ops. Remove win32_so_ops settings. Don't set | |
2039 | current_target_so_ops here. | |
2040 | ||
2041 | * Makefile.in (i386_cygwin_tdep_h): New variable. | |
2042 | (i386-cygwin-tdep.o): Update dependencies. | |
2043 | (win32-nat.o): Update dependencies. | |
2044 | ||
de584861 PA |
2045 | 2007-09-04 Pedro Alves <pedro_alves@portugalmail.pt> |
2046 | Daniel Jacobowitz <dan@codesourcery.com> | |
2047 | ||
2048 | * gdbarch.sh (core_xfer_shared_libraries): New. | |
2049 | ||
2050 | * corelow.c (core_xfer_partial): Handle TARGET_OBJECT_LIBRARIES. | |
2051 | ||
2052 | * gdb_obstack.h (obstack_grow_str, obstack_grow_str0): New. | |
2053 | ||
2054 | * xml-support.c (gdb_xml_parse): Debug output tweaks. | |
2055 | (xml_escape_text): New. | |
2056 | * xml-support.h (xml_escape_text): Declare. | |
2057 | ||
2058 | * config/i386/cygwin.mh (NATDEPFILES): Move corelow.o to ... | |
2059 | * config/i386/cygwin.mt (TDEPFILES): ... here. | |
2060 | ||
2061 | * win32-nat.c: (fetch_elf_core_registers): Delete. | |
2062 | (win32_elf_core_fn): Delete. | |
2063 | (_initialize_core_win32): Delete. | |
2064 | ||
2065 | * i386-cygwin-tdep.c: Include "regset.h", "gdb_objstack.h", | |
2066 | "xml-support.h" and "gdbcore.h". | |
2067 | (i386_win32_gregset_reg_offset): New. | |
2068 | (I386_WIN32_SIZEOF_GREGSET): New. | |
2069 | (i386_win32_regset_from_core_section): New. | |
2070 | (win32_xfer_shared_library): New. | |
2071 | (struct cpms_data): New. | |
2072 | (core_process_module_section): New. | |
2073 | (win32_core_xfer_shared_libraries): New. | |
2074 | (i386_cygwin_skip_trampoline_code): Register gregset_reg_offset, | |
2075 | gregset_num_regs, sizeof_gregset members of tdep. Register | |
2076 | regset_from_core_section and core_xfer_shared_libraries callbacks. | |
2077 | ||
2078 | * Makefile.in (i386-cygwin-tdep.o): Update dependencies. | |
2079 | * gdbarch.h, gdbarch.c: Regenerate. | |
2080 | ||
7160c4c3 PA |
2081 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
2082 | ||
2083 | * corelow.c (core_xfer_partial): Pass writebuf to | |
2084 | deprecated_xfer_memory in TARGET_OBJECT_MEMORY write case. | |
2085 | ||
6dc13412 PA |
2086 | 2007-09-03 Pedro Alves <pedro_alves@portugalmail.pt> |
2087 | ||
2088 | * arm-tdep.h (arm_skip_stub): Declare. | |
2089 | * arm-wince-tdep.c: Don't include "solib-svr4.h". Include | |
2090 | "gdbcore.h". | |
2091 | (arm_pe_skip_trampoline_code): New function. | |
2092 | (arm_wince_init_abi): Register arm_pe_skip_trampoline_code as | |
2093 | gdbarch_skip_trampoline_code callback. | |
2094 | * Makefile.in (arm-wince-tdep.o): Update dependencies. | |
2095 | ||
ca8385e5 DJ |
2096 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
2097 | ||
2098 | * MAINTAINERS: Move Fred Fish to Past Maintainers. | |
2099 | ||
5c39566f DJ |
2100 | 2007-09-03 Daniel Jacobowitz <dan@codesourcery.com> |
2101 | ||
2102 | * configure.ac: Add --with-expat. | |
2103 | * configure: Regenerated. | |
2104 | ||
6a30b0a5 AS |
2105 | 2007-09-03 Andreas Schwab <schwab@suse.de> |
2106 | ||
2107 | * configure.ac: Accept --with-system-readline. | |
2108 | (READLINE, READLINE_DEPS, READLINE_CFLAGS): Define and substitute. | |
2109 | * configure: Regenerate. | |
2110 | * Makefile.in (READLINE, READLINE_DEPS, READLINE_CFLAGS): Use | |
2111 | substituted values. | |
2112 | (CDEPS): Use $(READLINE_DEPS) instead of $(READLINE). | |
2113 | ||
edff0c0a DJ |
2114 | 2007-09-03 Maxim Grigoriev <maxim2405@gmail.com> |
2115 | Daniel Jacobowitz <dan@codesourcery.com> | |
2116 | ||
2117 | * mi-main.c (mi_load_progress): Handle MI2 and MI3 interpreters. | |
2118 | ||
0b93d57c JK |
2119 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
2120 | ||
2121 | * top.c (print_gdb_version): Fixed a string end-of-line compiler error. | |
2122 | ||
b8533aec DJ |
2123 | 2007-09-02 Daniel Jacobowitz <dan@codesourcery.com> |
2124 | ||
2125 | * top.c (print_gdb_version): Update for GPL version 3. | |
2126 | ||
f5db8714 JK |
2127 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
2128 | ||
2129 | * NEWS: Mention the build-id .debug files verification. | |
2130 | ||
d99148ef JK |
2131 | 2007-09-02 Jan Kratochvil <jan.kratochvil@redhat.com> |
2132 | ||
2133 | * linux-nat.c (linux_nat_make_corefile_notes): Fixed a buffer overflow. | |
2134 | ||
77069918 JK |
2135 | 2007-09-01 Jan Kratochvil <jan.kratochvil@redhat.com> |
2136 | ||
2137 | * Makefile.in (symfile.o): Update dependencies. | |
2138 | * symfile.c (symbol_file_add_with_addrs_or_offsets): Initialize the | |
2139 | DEBUGFILE variable. FIND_SEPARATE_DEBUG_FILE called only if !PSYMTABS. | |
2140 | (struct build_id): New structure. | |
2141 | (build_id_bfd_get, build_id_verify, build_id_to_debug_filename): New. | |
2142 | (find_separate_debug_file): New variable BUILD_ID. | |
2143 | Call BUILD_ID_BFD_GET with BUILD_ID_TO_DEBUG_FILENAME as the first try. | |
2144 | ||
202ddcaa VP |
2145 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
2146 | ||
2147 | * varobj.c (struct varobj): Fix comment | |
2148 | for the type member not to lie when it can be | |
2149 | NULL. | |
2150 | ||
02142340 VP |
2151 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
2152 | ||
2153 | Implement -var-info-path-expression. | |
2154 | ||
2155 | * mi/mi-cmds.h (mi_cmd_var_info_path_expression): | |
2156 | Declare. | |
2157 | * mi/mi-cmds.c (mi_cmds): Register var-info-path-expression. | |
2158 | * mi/mi-cmd-var.c (mi_cmd_var_info_path_expression): New. | |
2159 | * varobj.c (struct varobj): New field 'path_expr'. | |
2160 | (c_path_expr_of_child, cplus_path_expr_of_child) | |
2161 | (java_path_expr_of_child): New. | |
2162 | (struct language_specific): New field path_expr_of_child. | |
2163 | (varobj_create): Initialize the path_expr field. | |
2164 | (varobj_get_path_expr): New. | |
2165 | (new_variable): Initialize the path_expr field. | |
2166 | (free_variable): Free the path_expr field. | |
2167 | (adjust_value_for_children_access): New parameter | |
2168 | WAS_TYPE. | |
2169 | (c_number_of_children): Adjust. | |
2170 | (c_describe_child): New parameter CFULL_EXPRESSION. | |
2171 | Compute full expression. | |
2172 | (c_value_of_child, c_type_of_child): Adjust. | |
2173 | (cplus_number_of_children): Adjust. | |
2174 | (cplus_describe_child): New parameter CFULL_EXPRESSION. | |
2175 | Compute full expression. | |
2176 | (cplus_name_of_child, cplus_value_of_child) | |
2177 | (cplus_type_of_child): Adjust. | |
2178 | * varobj.h (varobj_get_path_expr): Declare. | |
2179 | ||
bccc275a VP |
2180 | 2007-08-31 Vladimir Prus <vladimir@codesourcery.com> |
2181 | ||
2182 | * mi/mi-cmd-var.c (print_varobj): If a varobj | |
2183 | type is NULL, don't try to print it. | |
2184 | ||
f2db237a AM |
2185 | 2007-08-30 Alan Modra <amodra@bigpond.net.au> |
2186 | ||
2187 | * ppc-linux-nat.c (right_fill_reg): Delete. | |
2188 | (supply_gregset): Use ppc_supply_gregset. | |
2189 | (supply_fpregset): Use ppc_supply_fpregset. | |
2190 | (fill_gregset): Use ppc_collect_gregset. | |
2191 | (fill_fpregset): Use ppc_collect_fpregset. | |
2192 | * ppc-linux-tdep.c (PPC_LINUX_PT_*): Don't define. | |
2193 | (right_supply_register, ppc_linux_supply_gregset): Delete. | |
2194 | (ppc32_linux_supply_gregset, ppc64_linux_supply_gregset): Delete. | |
2195 | (ppc_linux_supply_fpregset): Delete. | |
2196 | (ppc_linux_collect_gregset): New function. | |
2197 | (ppc32_linux_reg_offsets, ppc64_linux_reg_offsets): New. | |
2198 | (ppc32_linux_gregset, ppc64_linux_gregset): Update to use reg offsets, | |
2199 | ppc_linux_supply_gregset, and ppc_collect_gregset. | |
2200 | (ppc_linux_fpregset): Rename to ppc32_linux_fpregset and update. | |
2201 | (ppc_linux_gregset, ppc_linux_fpregset): New functions. | |
2202 | (ppc_linux_regset_from_core_section): Update. | |
2203 | * ppc-tdep.h (ppc_linux_gregset, ppc_linux_fpregset): Declare. | |
2204 | (ppc_linux_supply_gregset, ppc_linux_supply_fpregset): Delete. | |
2205 | (struct ppc_reg_offsets): Add gpr_size, xr_size, fpscr_size fields. | |
2206 | * ppcobsd-tdep.c (ppcobsd_supply_gregset): Delete FIXME and assert. | |
2207 | (ppcobsd_collect_gregset): Likewise. | |
2208 | (_initialize_ppcnbsd_tdep): Init gpr_size, xr_size, fpscr_size. | |
2209 | * ppcnbsd-tdep.c (_initialize_ppcobsd_tdep): Likewise. | |
2210 | * ppcobsd-nat.c (_initialize_ppcobsd_nat): Likewise. | |
2211 | * rs6000-aix-tdep.c (rs6000_aix32_reg_offsets): Likewise. | |
2212 | (rs6000_aix64_reg_offsets): Likewise. | |
2213 | (rs6000_aix_supply_regset): Call ppc_supply_fpregset without testing | |
2214 | ppc_floating_point_unit_p. | |
2215 | (rs6000_aix_collect_regset): Similarly. | |
2216 | * rs6000-tdep.c (ppc_supply_reg): Add regsize param. Adjust offset | |
2217 | when regsize is larger than regcache register size. | |
2218 | (ppc_collect_reg): Similarly zero pad when regsize is larger than | |
2219 | regcache register size. | |
2220 | (ppc_greg_offset): New function, split out from.. | |
2221 | (ppc_supply_gregset): ..here. Separate code handling all regs from | |
2222 | single reg case. Correct xer offset. | |
2223 | (ppc_fpreg_offset): New function, split out from.. | |
2224 | (ppc_supply_fpregset): ..here. Separate code handling all regs from | |
2225 | single reg case. | |
2226 | (ppc_collect_gregset, ppc_collect_fpregset): Likewise. | |
2227 | (ppc_supply_fpregset, ppc_collect_fpregset): Don't assert we have | |
2228 | a fp unit, instead return if no fp. | |
2229 | ||
fe5aea2e JB |
2230 | 2007-08-29 Jim Blandy <jimb@codesourcery.com> |
2231 | ||
2232 | * breakpoint.c (watch_command_1): Remove '#ifdef HPUXHPPA' block; | |
2233 | this code has not been compiled for two years. | |
2234 | ||
13ce7133 MS |
2235 | 2007-08-29 Michael Snyder <msnyder@access-company.com> |
2236 | ||
2237 | * event-top.c (gdb_readline2): Return after EOF. | |
2238 | ||
fd4a0f2f JB |
2239 | 2007-08-29 Joel Brobecker <brobecker@adacore.com> |
2240 | ||
2241 | * symtab.c: Remove a function that has been commented out 3 years ago. | |
2242 | ||
d037d088 CD |
2243 | 2007-08-29 Randolph Chung <tausq@debian.org> |
2244 | ||
2245 | * hppa-tdep.c (hppa32_cannot_fetch_register) | |
2246 | (hppa64_cannot_fetch_register): New functions. | |
2247 | (hppa_gdbarch_init): Set cannot_fetch_register appropriately. | |
2248 | * hppa-tdep.h (hppa_regnum): Add HPPA_CR26_REGNUM. | |
2249 | ||
19d378fc MS |
2250 | 2007-08-28 Michael Snyder <msnyder@access-company.com> |
2251 | ||
57cdecd2 MS |
2252 | * mi/mi-cmd-var.c (mi_print_value_p): No longer necessary to |
2253 | check for null before calling check_typedef. | |
2254 | ||
19d378fc MS |
2255 | * NEWS: Mention Coverity bug fixes. |
2256 | ||
36acd84e UW |
2257 | 2007-08-27 Markus Deuling <deuling@de.ibm.com> |
2258 | ||
2259 | * spu-tdep.c (spu_pointer_to_address): New function. | |
2260 | (spu_integer_to_address): Likewise. | |
2261 | (spu_gdbarch_init): Add spu_pointer_to_address and | |
2262 | spu_integer_to_address to gdbarch. | |
2263 | ||
8ad7c2b9 PA |
2264 | 2007-08-26 Pedro Alves <pedro_alves@portugalmail.pt> |
2265 | ||
2266 | * arm-wince-tdep.c (ARM_WINCE_JB_PC): Change to 10. | |
2267 | ||
4de6a07e JB |
2268 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
2269 | ||
2270 | * Makefile.in (copying.c): Use the top-level COPYING3 as the file | |
2271 | that contains the GDB license. | |
2272 | * copying.awk: Adjust to the GPLv3 wording. | |
2273 | * copying.c: Regenerate. | |
2274 | ||
07aed0eb JB |
2275 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
2276 | ||
01d4100f | 2277 | * copying.awk: Protoization, and i18n markup. |
07aed0eb | 2278 | |
50efebf8 JB |
2279 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
2280 | ||
2281 | * config/djgpp/djconfig.sh: Switch license to GPLv3. | |
2282 | * copyright.sh: Likewise. | |
2283 | * gdb-events.sh: Likewise. | |
2284 | * gdb_gcore.sh: Likewise. | |
2285 | * gdb_mbuild.sh: Likewise. | |
2286 | * gdbarch.sh: Likewise. | |
2287 | * observer.sh: Likewise. | |
2288 | * features/feature_to_c.sh: Likewise. | |
2289 | * regformats/regdat.sh: Likewise. | |
2290 | ||
2291 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> | |
a9762ec7 JB |
2292 | |
2293 | Switch the license of all .c files to GPLv3. | |
2294 | Switch the license of all .h files to GPLv3. | |
2295 | Switch the license of all .cc files to GPLv3. | |
2296 | ||
5a0e3bd0 JB |
2297 | 2007-08-23 Joel Brobecker <brobecker@adacore.com> |
2298 | ||
2299 | * configure.ac: Switch license to GPLv3. | |
2300 | ||
609ca2b9 DJ |
2301 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
2302 | ||
2303 | * mips-tdep.c (mips_gdbarch_init): Use Tag_GNU_MIPS_ABI_FP to | |
2304 | determine the file's FPU type. | |
2305 | ||
8d26208a DJ |
2306 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
2307 | ||
2308 | * mips-tdep.c (mips_n32n64_fp_arg_chunk_p): New. | |
2309 | (mips_n32n64_push_dummy_call): Always increment float_argreg along | |
2310 | with argreg. Use mips_n32n64_fp_arg_chunk_p. | |
2311 | ||
65728c26 DJ |
2312 | 2007-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
2313 | ||
2314 | * solib-svr4.c (scan_dyntag): Only read target memory when necessary. | |
2315 | Fix formatting. | |
2316 | (elf_locate_base): Look for DT_MIPS_RLD_MAP first. Expand comments. | |
2317 | (elf_lookup_lib_symbol): Fix formatting. | |
2318 | ||
a2ca50ae MS |
2319 | 2007-08-21 Michael Snyder <msnyder@access-company.com> |
2320 | ||
6b2d86bd MS |
2321 | * dbxread.c (read_dbx_symtab): Guard null deref. |
2322 | Break up long line. | |
2323 | ||
a2ca50ae MS |
2324 | * valops.c (find_overload_match): Guard against NULL. |
2325 | ||
54e116dd DJ |
2326 | 2007-08-21 Daniel Jacobowitz <dan@codesourcery.com> |
2327 | ||
2328 | * MAINTAINERS (Patch Champions): Remove self. | |
2329 | ||
f429d7d0 DJ |
2330 | 2007-08-21 Chris Smith <chris.smith@st.com> |
2331 | ||
2332 | * cli/cli-script.c (read_command_lines): Call dont_repeat for each | |
2333 | line. | |
2334 | ||
a2ca50ae | 2335 | 2007-08-18 Michael Snyder <msnyder@access-company.com> |
a287cea6 | 2336 | |
31e9f6b6 MS |
2337 | * stabsread.c (dbx_lookup_type): Memory leak. |
2338 | ||
32107cd5 MS |
2339 | * event-loop.c (delete_async_signal_handler): Move pointer null |
2340 | test to before pointer dereference. | |
2341 | ||
44db85f8 MS |
2342 | * ui-out.c (append_header_to_list): Possible cut and paste error. |
2343 | ||
a287cea6 MS |
2344 | * MAINTAINERS: white space tweak. |
2345 | ||
0bd9908d MS |
2346 | 2007-08-17 Michael Snyder <msnyder@access-company.com> |
2347 | ||
f91162e1 MS |
2348 | * stack.c (print_frame): Memory leak. |
2349 | ||
1e8189fb MS |
2350 | * completer.c (filename_completer): Avoid memory leak. |
2351 | Remove unnecessary nested block. | |
2352 | ||
348038cd MS |
2353 | * c-exp.y (parse_number): Memory leak. |
2354 | ||
1f20ed91 MS |
2355 | * completer.c (location_completer): Must free 'fn_list', except |
2356 | in the one case where it is returned (as 'list'). | |
2357 | ||
74dddad3 MS |
2358 | * varobj.c (value_of_root): Memory leak. |
2359 | ||
0bd9908d MS |
2360 | * gdbtypes.h (virtual_base_list): Remove export decl. |
2361 | * gdbtypes.c (virtual_base_list): Make static. Not called outside. | |
2362 | (virtual_base_index): Memory leak. | |
2363 | (virtual_base_index_skip_primaries): Ditto. | |
2364 | ||
bdb4c075 MG |
2365 | 2007-08-17 Maxim Grigoriev <maxim2405@gmail.com> |
2366 | ||
2367 | * xtensa-tdep.c (ARG_NOF, ARG_1ST, PS_WOE, PS_EXC, C0_MAXOPDS) | |
2368 | (C0_NREGS, C0_CLESV, C0_SP, C0_FP, C0_RA, C0_ARGS, C0_NARGS) | |
2369 | (C0_CONST, C0_INEXP, C0_NOSTK): New macros. | |
2370 | (xtensa_read_register): New function. | |
2371 | (xtensa_windowed_frame_cache, xtensa_call0_frame_cache, xtensa_c0reg) | |
2372 | (xtensa_insn_kind): New types. | |
2373 | (xtensa_frame_cache, xtensa_alloc_frame_cache, xtensa_frame_cache) | |
2374 | (xtensa_frame_prev_register, xtensa_return_value, xtensa_skip_prologue) | |
2375 | (xtensa_verify_config, xtensa_pseudo_register_read) | |
2376 | (xtensa_pseudo_register_write, xtensa_extract_return_value) | |
2377 | (xtensa_store_return_value) | |
2378 | (xtensa_push_dummy_call): Extended to support Xtensa Call0 ABI. | |
2379 | (windowing_enabled, extract_call_winsize, xtensa_unwind_dummy_id) | |
2380 | (xtensa_frame_this_id, xtensa_frame_prev_register) | |
2381 | (xtensa_register_type, xtensa_reg_to_regnum): Cosmetic changes. | |
2382 | (call0_frame_cache, call0_frame_get_reg_at_entry) | |
2383 | (call0_classify_opcode, call0_track_op) | |
2384 | (call0_analyze_prologue, call0_frame_cache): New functions. | |
2385 | ||
198757a8 VP |
2386 | 2007-08-17 Vladimir Prus <vladimir@codesourcery.com> |
2387 | ||
2388 | * breakpoint.c (bpstat_free): New. | |
2389 | (bpstat_clear): Use bpstat_free. | |
2390 | (delete_breakpoint): Document why we cannot | |
2391 | remove bpstats from stop_bpstat. | |
2392 | * breakpoint.h (bpstat_free): Declare. | |
2393 | ||
dc66ab8a MS |
2394 | 2007-08-16 Michael Snyder <msnyder@access-company.com> |
2395 | ||
2396 | * event-loop.c (gdb_wait_for_event): Move statement into "if" block. | |
2397 | ||
40c8aaa9 JB |
2398 | 2007-08-15 Paul Hilfinger <hilfinger@adacore.com> |
2399 | Joel Brobecker <brobecker@adacore.com> | |
2400 | ||
2401 | * ada-lang.c (resolve_subexp): Correct arity of binary operators. | |
2402 | ||
ee90b9ab JB |
2403 | 2007-08-15 Paul Hilfinger <hilfinger@adacore.com> |
2404 | Joel Brobecker <brobecker@adacore.com> | |
2405 | ||
2406 | * ada-lang.c (possible_user_operator_p): Alternative fix to last | |
2407 | checkin guarding against NULL. | |
2408 | ||
5b6fe301 MS |
2409 | 2007-08-14 Michael Snyder <msnyder@access-company.com> |
2410 | ||
e5908723 MS |
2411 | * tui-command.c, tui-data.c, tui-disasm.c, tui-file.c, tui-io.c, |
2412 | tui-layout.c, tui-regs.c, tui-source.c, tui-win.c, tui-windata.c, | |
2413 | tui-wingeneral.c, tui-winsource.c: Coding standard, && and || | |
2414 | go at beginning of new line. | |
2415 | ||
08ef48c5 MS |
2416 | * tui-data.c, tui-data.h, tui-disasm.c, tui-disasm.h, tui-hooks.c, |
2417 | tui-io.c, tui-layout.c, tui-layout.h, tui-out.c, tui-regs.c, | |
2418 | tui-source.c, tui-source.h, tui-stack.c, tui-win.c, tui-win.h, | |
2419 | tui-windata.c, tui-windata.h, tui-wingeneral.c, tui-winsource.c, | |
2420 | tui-winsource.h, tui.c, tui.h: Function declarations and | |
2421 | definitions, wrap long lines. | |
2422 | ||
ef5eab5a MS |
2423 | * tui-command.c, tui-data.c, tui-disasm.c, tui-layout.c, |
2424 | tui-regs.c, tui-win.c, tui-windata.c, tui-winsource.c, tui.c: | |
2425 | Reformat block comments to GNU standard. | |
2426 | ||
1cc6d956 MS |
2427 | * tui-command.c, tui-data.c, tui-data.h, tui-disasm.c, tui-file.c, |
2428 | tui-hooks.c, tui-interp.c, tui-io.c, tui-layout.c, tui-out.c, | |
2429 | tui-regs.c, tui-regs.h, tui-source.c, tui-stack.c, tui-win.c, | |
2430 | tui-windata.c, tui-wingeneral.c, tui-winsource.c, tui-winsource.h, | |
2431 | tui.c, tui.h: Comment reformatting to coding standard (capitals, | |
2432 | spaces after periods, etc). | |
2433 | ||
5b6fe301 MS |
2434 | * tui-data.c, tui-data.h, tui-disasm.c, tui-hooks.c, tui-layout.c, |
2435 | tui-regs.c, tui-source.c, tui-stack.c, tui-win.c, tui-windata.c, | |
2436 | tui-wingeneral.c, tui-wingeneral.h, tui-winsource.c, tui.c, | |
2437 | tui-winsource.h: Whitespace changes, fix pointer declarations | |
2438 | to be consistant. | |
2439 | ||
64a1bf19 JB |
2440 | 2007-08-14 Joel Brobecker <brobecker@adacore.com> |
2441 | Michael Snyder <msnyder@access-company.com> | |
2442 | ||
2443 | * ada-lang.c (field_alignment): Guard against NULL. | |
2444 | ||
e933291e JB |
2445 | 2007-08-14 Joel Brobecker <brobecker@adacore.com> |
2446 | ||
2447 | * MAINTAINERS (Global Maintainers): Add self. | |
2448 | ||
348144ba MS |
2449 | 2007-08-14 Michael Snyder <msnyder@access-company.com> |
2450 | ||
068acb6c MS |
2451 | * mi/mi-interp.c (mi_cmd_interpreter_exec): Dead code, dead variable. |
2452 | ||
6d307763 MS |
2453 | * ada-lang.c (possible_user_operator_p): Guard against NULL. |
2454 | ||
348144ba MS |
2455 | * varobj.c (cplus_describe_child): Guard against null. |
2456 | Use "NULL" instead of "0" to initialize pointers. | |
2457 | ||
b8926edc DJ |
2458 | 2007-08-14 Daniel Jacobowitz <dan@codesourcery.com> |
2459 | ||
2460 | * arm-tdep.c (arm_gdbarch_init): Allow unknown ABI and FPU settings | |
2461 | to match any gdbarch with matching OSABI. Set default ABI and FPU | |
2462 | after running the OSABI handler. | |
2463 | ||
cdd6623c DJ |
2464 | 2007-08-14 Daniel Jacobowitz <dan@codesourcery.com> |
2465 | ||
2466 | * config/i386/linux.mh (NATDEPFILES): Move corelow.o from here... | |
2467 | * config/i386/linux.mt (TDEPFILES): ...to here. | |
2468 | ||
cb851954 VP |
2469 | 2007-08-14 Vladimir Prus <vladimir@codesourcery.com> |
2470 | ||
cb851954 VP |
2471 | * breakpoint.c (disable_breakpoints_in_shlibs): Remove |
2472 | the 'silent' parameter and code to implement that. | |
2473 | * breakpoint.h (disable_breakpoints_in_shlibs): Adjust | |
2474 | prototype. | |
2475 | * win32-nat.c: Adjust. | |
2476 | * solib.c: Adjust. | |
2477 | ||
e14a792b VP |
2478 | 2007-08-14 Vladimir Prus <vladimir@codesourcery.com> |
2479 | ||
e14a792b VP |
2480 | * breakpoint.c (update_breakpoints_after_exec): Don't |
2481 | set address to zero. | |
2482 | ||
be8ca11b MS |
2483 | 2007-08-13 Michael Snyder <msnyder@access-company.com> |
2484 | ||
ac3eeb49 MS |
2485 | * valops.c: Whitespace clean-up. |
2486 | ||
81b7c67a MS |
2487 | * tui/tui-winsource.c (tui_alloc_source_buffer): Clean up allocation. |
2488 | ||
f5b73fbb MS |
2489 | * event-top.c (command_line_handler): Memory leak. |
2490 | ||
b538c234 MS |
2491 | * mi/mi-cmd-var.c (mi_cmd_var_set_format): Memory leak. |
2492 | No need to make copy. | |
2493 | ||
be8ca11b MS |
2494 | * source.c (find_source_lines): Require symtab 's'. |
2495 | ||
489f0516 MS |
2496 | 2007-08-11 Michael Snyder <msnyder@access-company.com> |
2497 | ||
2498 | * completer.c: Spelling fix in comments. | |
2499 | ||
9c3f90bd MS |
2500 | 2007-08-10 Michael Snyder <msnyder@access-company.com> |
2501 | ||
687d6395 | 2502 | * gdbtypes.c: Coding standard cleanup. |
7ba81444 MS |
2503 | * gdbtypes.c: Comment/whitespace cleanup. |
2504 | ||
6aef78af MS |
2505 | * stabsread.c (read_huge_number): Attempt to compute value before |
2506 | values that it depends on. | |
2507 | ||
46be51c4 MS |
2508 | * linespec.c (decode_dollar): Dead code, ptr can't be non-null. |
2509 | (decode_objc): Use "NULL" instead of 0. | |
2510 | (find_method): Ditto. | |
2511 | (decode_all_digits): Ditto. | |
2512 | (decode_dollar): Ditto. | |
2513 | ||
412bbd6c MS |
2514 | * mi/mi-main.c (mi_cmd_data_evaluate_expression): Resource leak. |
2515 | ||
76bd6e0b MS |
2516 | * mi/mi-cmd-var.c (mi_cmd_var_list_children): Memory leak. |
2517 | ||
518f9d3c MS |
2518 | * solib-svr4.c (enable_break): Don't free tmp_pathname until |
2519 | after closing bfd. | |
2520 | ||
9c3f90bd MS |
2521 | * completer.c: Comment/whitespace cleanup. |
2522 | ||
adee0206 JB |
2523 | 2007-08-10 Joel Brobecker <brobecker@adacore.com> |
2524 | ||
2525 | * Makefile.in (i386nbsd-nat.o): Add missing dependency. | |
2526 | ||
2527 | 2007-08-10 Maxim Grigoriev <maxim2405@gmail.com> | |
9f8e6999 MG |
2528 | |
2529 | * remote-fileio.c (remote_fileio_resize_fd_map): Initialize newly | |
2530 | allocated file descriptors. | |
2531 | ||
271a27b8 JB |
2532 | 2007-08-10 Joel Brobecker <brobecker@adacore.com> |
2533 | ||
2534 | * Makefile.in: Minor cleanup throughout; add some missing variables, | |
2535 | add some missing rules, remove some rules that are no longer needed, | |
2536 | and fix the dependencies in several rules. | |
2537 | ||
57da7796 LC |
2538 | 2007-08-10 Ludovic Courtès <ludo@gnu.org> |
2539 | ||
d4310edb LC |
2540 | * Makefile.in (SFILES): Add scm-{exp,lang,valprint}.c. |
2541 | (scm_lang_h, scm_tags_h): New. | |
2542 | (COMMON_OBS): Add scm-{exp,lang,valprint}.o. | |
2543 | (scm-exp.o, scm-lang.o, scm-valprint.o): New targets. | |
2544 | * defs.h (enum language): Add `language_scm'. | |
2545 | ||
57da7796 LC |
2546 | * MAINTAINERS: Add Emacs local variables to use UTF-8 upon |
2547 | opening. | |
2548 | ||
93c06293 LC |
2549 | 2007-08-09 Ludovic Courtès <ludo@gnu.org> |
2550 | ||
2551 | * MAINTAINERS (Write After Approval): Add myself. | |
2552 | ||
0997b535 MS |
2553 | 2007-08-09 Michael Snyder <msnyder@access-company.com> |
2554 | ||
2555 | * solib.c (solib_open): Memory leak -- openp returns xmalloc buffer. | |
2556 | ||
4fec86cf JB |
2557 | 2007-08-09 Joel Brobecker <brobecker@adacore.com> |
2558 | ||
2559 | * solib-som.c (som_relocate_section_addresses): Stop saving | |
2560 | the $CODE$ section in the so_list structure. | |
2561 | ||
7b871568 MG |
2562 | 2007-08-08 Maxim Grigoriev <maxim2405@gmail.com> |
2563 | ||
2564 | * xtensa-tdep.h (XTENSA_MAX_COPROCESSOR): New. | |
2565 | (xtensa_register_group_t): Add entries for coprocessors. | |
2566 | * xtensa-tdep.c (xtensa_init_reggroups): New register groups. | |
2567 | (xtensa_add_reggroups): Likewise. | |
2568 | (xtensa_register_reggroup_p): Likewise. | |
2569 | (xtensa_coprocessor_register_group): New function. | |
2570 | (xtensa_cp): New. | |
2571 | ||
652aaa24 JK |
2572 | 2007-08-08 Jan Kratochvil <jan.kratochvil@redhat.com> |
2573 | ||
2574 | * serial.c (serial_open): Fix the OPEN parameter macro expansion. | |
2575 | ||
decbce07 MS |
2576 | 2007-08-08 Michael Snyder <msnyder@access-company.com> |
2577 | ||
6217bf3e MS |
2578 | * target.c (target_read_string): Guard against null. |
2579 | ||
6225abfa MS |
2580 | * varobj.c (value_of_root): Move alloc after return to avoid leak. |
2581 | ||
3e40160c | 2582 | * tui/tui-layout.c (tui_set_layout): Dead code, dead variable. |
3277c0e0 | 2583 | (tui_set_layout_for_display_command): Mem leak. |
3e40160c | 2584 | |
91d2803c MS |
2585 | * top.c (command_line_input): Memory leak. |
2586 | ||
ea5bf0a1 MS |
2587 | * solib-svr4.c (open_symbol_file_object): Memory leak. |
2588 | (svr4_current_sos): Ditto. | |
2589 | (enable_break): Ditto. | |
2590 | ||
34e2dfde MS |
2591 | * cp-valprint.c (cp_print_hpacc_virtual_table_entries): Memory leak. |
2592 | ||
decbce07 MS |
2593 | * dwarf2read.c (add_partial_symbol): Memory leak. |
2594 | ||
4cdfadb1 MS |
2595 | 2007-08-06 Michael Snyder <msnyder@access-company.com> |
2596 | ||
2597 | * ada-lang.c (desc_bounds): Comparison of function address to NULL. | |
2598 | ||
b1ddacc7 JB |
2599 | 2007-08-05 Jim Blandy <jimb@codesourcery.com> |
2600 | ||
2601 | * macroexp.c (init_buffer): Remove testing code that overrides the | |
2602 | caller's length guess. | |
2603 | (gather_arguments): Use a larger initial size, now that the vector | |
2604 | growth code has been exercised. | |
2605 | ||
5d9643ba PA |
2606 | 2007-08-05 Pedro Alves <pedro_alves@portugalmail.pt> |
2607 | ||
2608 | * solib-target.c (solib_target_relocate_section_addresses): Add | |
2609 | orig_delta to addr_high. | |
2610 | ||
27e06d3e MS |
2611 | 2007-08-04 Michael Snyder <msnyder@access-company.com> |
2612 | ||
1ed489bd MS |
2613 | * remote-fileio.c (remote_fileio_func_write): Memory leak. |
2614 | ||
c1f5197e MS |
2615 | * breakpoint.c (print_one_breakpoint): Off by one error. |
2616 | ||
27e06d3e MS |
2617 | * tracepoint.c (add_register): Off by one error. |
2618 | (stringify_collection_list): Free malloc buffer. | |
2619 | ||
03b4bca2 MS |
2620 | 2007-08-03 Michael Snyder <msnyder@access-company.com> |
2621 | ||
474d0d0c MS |
2622 | * mi-cmd-var.c (mi_cmd_var_delete): Remove unused variable, |
2623 | stop memory leak, straighten out cleanups. | |
2624 | ||
03b4bca2 MS |
2625 | * jv-lang.c (java_link_class_type): Guard against NULL. |
2626 | ||
423c0af8 MS |
2627 | 2007-08-02 Michael Snyder <msnyder@access-company.com> |
2628 | ||
f9780d5b MS |
2629 | * gdbtypes.c (create_set_type): Test should only be done within |
2630 | the preceeding if block. Otherwise, variable is uninitialized. | |
2631 | ||
423c0af8 MS |
2632 | * gdbtypes.c (check_typedef): Guard NULL. |
2633 | ||
c0645fb5 MS |
2634 | 2007-08-01 Michael Snyder <msnyder@access-company.com> |
2635 | ||
3cebf8d8 MS |
2636 | * cli/cli-decode.c (lookup_cmd): Check for null earlier, to |
2637 | avoid dereference in lookup_cmd_1. | |
2638 | ||
c0645fb5 MS |
2639 | * tui/tui-data.c (tui_alloc_content): Move assign out of if, |
2640 | clean up long lines. | |
2641 | (tui_alloc_generic_win_info): Tidy by using XMALLOC macro. | |
2642 | (tui_alloc_win_info): Ditto. | |
2643 | (tui_add_content_elements): Ditto. | |
2644 | * tui/tui-file.c (tui_file_magic): Ditto. | |
2645 | ||
abe34c35 MS |
2646 | 2007-07-31 Michael Snyder <msnyder@access-company.com> |
2647 | ||
967af18d MS |
2648 | * breakpoint.c (breakpoint_init_inferior): Add 'else' to 'if'. |
2649 | True and false paths are mutually exclusive. | |
2650 | ||
40742ab6 MS |
2651 | * event-top.c (command_line_handler): Add pedantic return. |
2652 | ||
7c6e0d48 MS |
2653 | * f-valprint.c (info_common_command): Bail out to prevent null |
2654 | pointer deref. Break up a long line. | |
2655 | ||
c7b1adc9 MS |
2656 | * exec.c (xfer_memory): Remove redundant condition from 'if'. |
2657 | ||
73780b3c MS |
2658 | * symfile.c (reread_separate_symbols): Free xmalloced memory. |
2659 | ||
abe34c35 MS |
2660 | * printcmd.c (build_address_symbolic): Remove dead code and dead |
2661 | variable. | |
2662 | ||
e48883f7 DJ |
2663 | 2007-07-31 Daniel Jacobowitz <dan@codesourcery.com> |
2664 | ||
2665 | * linespec.c (minsym_found): Advance to the next line if possible. | |
2666 | ||
57204837 PA |
2667 | 2007-07-31 Pedro Alves <pedro_alves@portugalmail.pt> |
2668 | ||
2669 | * arm-wince-tdep.c (arm_wince_init_abi): Remove svr4 related call. | |
2670 | * config/arm/wince.mt (TDEPFILES): Remove solib-legacy.o and | |
2671 | solib-svr4.o, and add solib-target.o | |
2672 | ||
fed8b01e MS |
2673 | 2007-07-27 Michael Snyder <msnyder@access-company.com> |
2674 | ||
2675 | * tui/tui-data.c (tui_alloc_generic_win_info): Wrong arg for sizeof. | |
2676 | ||
9ceb0b4c MR |
2677 | 2007-07-26 Maciej W. Rozycki <macro@linux-mips.org> |
2678 | ||
2679 | * MAINTAINERS (Write After Approval): Add myself. | |
2680 | ||
c80a96a8 MR |
2681 | 2007-07-26 Maciej W. Rozycki <macro@mips.com> |
2682 | ||
2683 | * Makefile.in (MAKEHTMLFLAGS): Also search the current directory | |
2684 | for include files. | |
2685 | ||
5b311828 MR |
2686 | 2007-07-25 Maciej W. Rozycki <macro@mips.com> |
2687 | ||
2688 | * Makefile.in (MAKEHTMLFLAGS): Remove "-glossary". | |
2689 | ||
f52df7d9 | 2690 | 2007-07-24 Michael Snyder <msnyder@access-company.com> |
55765a25 | 2691 | |
f52df7d9 MS |
2692 | * solib-svr4.c (svr4_fetch_objfile_link_map): Null pointer check of |
2693 | 'buffer' must cover both branches that call strcmp (Coverity). | |
55765a25 | 2694 | |
f52df7d9 | 2695 | * stack.c (print_frame_args): Check return value of lookup_symbol. |
747f3d18 MS |
2696 | |
2697 | * ax-gdb.c (find_field): Guard against null ptr. | |
2698 | ||
69ae91d3 UW |
2699 | 2007-07-24 Ulrich Weigand <uweigand@de.ibm.com> |
2700 | ||
2701 | * regformats/reg-spu.dat: Fix order of npc, id registers. | |
2702 | ||
98646950 UW |
2703 | 2007-07-24 Ulrich Weigand <uweigand@de.ibm.com> |
2704 | ||
2705 | * target.c (memory_xfer_partial): Accesses to unmapped overlay | |
2706 | sections should always go to the executable file. | |
2707 | ||
193774b3 MR |
2708 | 2004-07-20 Chris Dearman <chris@mips.com> |
2709 | ||
2710 | * mips-tdep.c (heuristic_proc_start): Add more MIPS16 function | |
2711 | prologue instructions. | |
2712 | ||
ce1f96de MR |
2713 | 2007-07-20 Maciej W. Rozycki <macro@mips.com> |
2714 | ||
2715 | * mips-tdep.c (mips_next_pc): Use is_mips16_addr() instead of | |
2716 | a direct test. | |
2717 | ||
bcf1ea1e MR |
2718 | 2007-07-20 Chris Dearman <chris@mips.com> |
2719 | Maciej W. Rozycki <macro@mips.com> | |
2720 | ||
2721 | * mips-tdep.c (fetch_mips_16): Fix typos and reformat the | |
2722 | description. | |
2723 | ||
255e7678 DJ |
2724 | 2007-07-17 Pedro Alves <pedro_alves@portugalmail.pt> |
2725 | Daniel Jacobowitz <dan@codesourcery.com> | |
2726 | ||
2727 | * config/i386/cygwin.mt (TDEPFILES): Add solib-target.o. | |
2728 | * coff-pe-read.c (read_pe_exported_syms): Delete verbose | |
2729 | printf. | |
2730 | * NEWS: Mention gdbserver DLL support. | |
2731 | ||
a8c50c1f DJ |
2732 | 2007-07-17 Daniel Jacobowitz <dan@codesourcery.com> |
2733 | ||
2734 | * dwarf2read.c (dwarf_decode_lines): Detect address size mismatches. | |
2735 | ||
2e024c20 L |
2736 | 2007-07-16 H.J. Lu <hongjiu.lu@intel.com> |
2737 | ||
2738 | * i386-linux-nat.c (fetch_regs): Work around gcc 3.4 alias | |
2739 | warning bug. | |
2740 | ||
f219aedc KB |
2741 | 2007-07-13 Kevin Buettner <kevinb@redhat.com> |
2742 | ||
2743 | * mep-tdep.c (mep_analyze_prologue): Update comment for BRA | |
2744 | instruction case. | |
2745 | ||
1ba3e7a3 KB |
2746 | 2007-07-12 Kevin Buettner <kevinb@redhat.com> |
2747 | ||
2748 | * mep-tdep.c (IS_BRA, BRA_DISP): New macros. | |
2749 | (mep_analyze_prologue): Add case for BRA instruction. | |
2750 | ||
f1e55806 UW |
2751 | 2007-07-12 Ulrich Weigand <uweigand@de.ibm.com> |
2752 | ||
2753 | * solib-svr4.c (LM_ADDR_CHECK): Relax prelink recognition heuristic. | |
2754 | ||
d9f71b56 NR |
2755 | 2007-07-10 Nick Roberts <nickrob@snap.net.nz> |
2756 | ||
2757 | * breakpoint.c: Include "top.h". | |
2758 | (breakpoint_1): Don't set convenience variable $_ if server prefix | |
2759 | is used. | |
2760 | (_initialize_breakpoint): Describe this behaviour in command help. | |
2761 | ||
358eb95e PA |
2762 | 2007-07-08 Pedro Alves <pedro_alves@portugalmail.pt> |
2763 | ||
2764 | * solib-target.c (library_list_start_segment): Cast address to | |
2765 | CORE_ADDR. | |
2766 | ||
a4e7b2e7 MK |
2767 | 2007-07-06 Mark Kettenis <kettenis@gnu.org> |
2768 | ||
2769 | * bsd-uthread.c (bsd_uthread_wait): Don't try to fetch thread IDs | |
2770 | for terminated processes. | |
2771 | ||
2ed23f5f MS |
2772 | 2007-07-05 Michael Snyder <msnyder@access-company.com> |
2773 | ||
2774 | * event-top.c (cli_command_loop): Prompt string can (and should) | |
2775 | be freed after call to readline (Coverity). Also move local var | |
2776 | declarations into block where they are used. | |
2777 | ||
2778 | * tui/tui-interp.c (tui_command_loop): Prompt string can (and | |
2779 | should) be freed after call to readline (Coverity). Also move | |
2780 | local var declarations into block where they are used. | |
2781 | ||
a25694b4 AS |
2782 | 2007-07-03 Andreas Schwab <schwab@suse.de> |
2783 | ||
2784 | * linux-nat.c (linux_nat_info_proc_cmd): Fix parsing of columns in | |
2785 | /proc/../stat. | |
2786 | ||
2bbe3cc1 DJ |
2787 | 2007-07-03 Paul Gilliam <pgilliam@us.ibm.com> |
2788 | Thiago Bauermann <bauerman@br.ibm.com> | |
2789 | Joseph S. Myers <joseph@codesourcery.com> | |
2790 | Daniel Jacobowitz <dan@codesourcery.com> | |
2791 | ||
2792 | * remote.c (remote_check_symbols): Use | |
2793 | gdbarch_convert_from_func_ptr_addr. | |
2794 | * infcall.c (find_function_addr): Handle function descriptors | |
2795 | without debugging information. | |
2796 | * ppc-linux-tdep.c (ppc_linux_convert_from_func_ptr_addr): Renamed | |
2797 | from ppc64_linux_convert_from_func_ptr_addr. Handle -msecure-plt. | |
2798 | (ppc_linux_init_abi): Always set convert_from_func_ptr_addr. | |
2799 | * solib-svr4.c (solib_break_names): Remove "._dl_debug_state". | |
2800 | (bfd_lookup_symbol): Do not take a SECT_FLAGS argument. Always | |
2801 | allow SEC_CODE and SEC_DATA. | |
2802 | (enable_break): Update calls. Pass current_target to solib_add. | |
2803 | Use gdbarch_convert_from_func_ptr_addr. | |
2804 | ||
9f43d28c DJ |
2805 | 2007-07-03 Ilko Iliev <iliev@ronetix.at> |
2806 | Daniel Jacobowitz <dan@codesourcery.com> | |
2807 | ||
2808 | * symfile.c (print_transfer_performance): Avoid integer overflow. | |
2809 | Use larger units. | |
2810 | ||
3a40aaa0 UW |
2811 | 2007-07-03 Markus Deuling <deuling@de.ibm.com> |
2812 | ||
2813 | * cp-namespace.c (lookup_symbol_file): Add block to | |
2814 | lookup_symbol_global call. | |
2815 | * Makefile.in (solist_h): Add dependency on symtab header. | |
2816 | (symtab.o): Add dependency on solist header. | |
2817 | * solib.c (solib_global_lookup): New function. | |
2818 | * solib-svr4.c (scan_dyntag): Likewise. | |
2819 | (elf_locate_base): Call helper routine scan_dyntag. | |
2820 | (elf_lookup_lib_symbol): New function. | |
2821 | (_initialize_svr4_solib): Add elf_lookup_lib_symbol to svr4_so_ops. | |
2822 | * solist.h (symtab.h): New include. | |
2823 | (struct target_so_ops): New member lookup_lib_global_symbol. | |
2824 | (solib_global_lookup): New prototype. | |
2825 | * symtab.c: New include solist.h. | |
2826 | (lookup_objfile_from_block): New function. | |
2827 | (lookup_global_symbol_from_objfile): New function. | |
2828 | (basic_lookup_symbol_nonlocal): Add block to lookup_symbol_global call. | |
2829 | (lookup_symbol_global): Call library-specific lookup procedure. | |
2830 | * symtab.h (lookup_global_symbol_from_objfile): New prototype. | |
2831 | ||
2832 | * NEWS: Document framework. | |
2833 | ||
c8c12293 DJ |
2834 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
2835 | ||
2836 | * target-descriptions.c (tdesc_create_reg): Do not set reg->type | |
2837 | to NULL. | |
2838 | ||
2839 | * cli/cli-script.c (build_command_line): Update NULL check. | |
2840 | ||
7877e977 MS |
2841 | 2007-07-02 Michael Snyder <msnyder@access-company.com> |
2842 | ||
2843 | * p-exp.y (yylex): Memory leak, 'uptokstart' must be freed (Coverity). | |
2844 | ||
cfa9d6d9 DJ |
2845 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
2846 | ||
2847 | * Makefile.in (XMLFILES): Add library-list.dtd. | |
2848 | (ALLDEPFILES): Add solib-target.o. | |
2849 | (solib-target.o): New rule. | |
2850 | * remote.c (PACKET_qXfer_libraries): New constant. | |
2851 | (remote_protocol_features): Add qXfer:libraries:read. | |
2852 | (remote_wait): Recognize library stop replies. | |
2853 | (remote_async_wait): Likewise. Fix typo. | |
2854 | (remote_xfer_partial): Handle TARGET_OBJECT_LIBRARIES. | |
2855 | (init_remote_async_ops): Fix typo. | |
2856 | (_initialize_remote): Register "set remote library-info-packet". | |
2857 | * solib-som.c (som_current_sos): Set addr_low and addr_high. | |
2858 | * solib-target.c: New file. | |
2859 | * solib.c (solib_map_sections): Use addr_low and addr_high instead | |
2860 | of textsection. | |
2861 | (info_sharedlibrary_command): Likewise. | |
2862 | (solib_add_library, solib_remove_library): New. | |
2863 | * solist.h (struct so_list): Replace textsection with addr_low and | |
2864 | addr_high. | |
2865 | * target.h (enum target_object): Add TARGET_OBJECT_LIBRARIES. | |
2866 | * NEWS: Describe new qXfer:libraries:read and shared library | |
2867 | event support. | |
2868 | * features/library-list.dtd: New. | |
2869 | ||
b0f4b84b DJ |
2870 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
2871 | ||
2872 | * infrun.c (inferior_ignoring_startup_exec_events): Delete. | |
2873 | (start_remote): Use STOP_QUIETLY_REMOTE. | |
2874 | (handle_inferior_event): Do not condition TARGET_WAITKIND_LOADED | |
2875 | support on a SOLIB_ADD definition. Update breakpoints_inserted. | |
2876 | Update to match shared library event breakpoint support. Only | |
2877 | resume if appropriate. Handle STOP_QUIETLY_REMOTE. | |
2878 | (normal_stop): Handle TARGET_WAITKIND_LOADED. | |
2879 | * fork-child.c (startup_inferior): Do not set | |
2880 | inferior_ignoring_startup_exec_events | |
2881 | * inferior.h (inferior_ignoring_startup_exec_events): Delete | |
2882 | declaration. | |
2883 | (enum stop_kind): Improve documentation. Add STOP_QUIETLY_REMOTE. | |
2884 | ||
9bbf65bb UW |
2885 | 2007-07-02 Markus Deuling <deuling@de.ibm.com> |
2886 | ||
2887 | * breakpoint.c (insert_bp_location): Remove dead code | |
2888 | (DISABLE_UNSETTABLE_BREAK). | |
2889 | (disable_breakpoints_in_shlibs) | |
2890 | (disable_breakpoints_in_unloaded_shlib): Likewise (comment). | |
2891 | ||
a4954f26 DJ |
2892 | 2007-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
2893 | ||
2894 | * breakpoint.c (reattach_breakpoints): Do not use remove_breakpoint. | |
2895 | Call insert_bp_location. | |
2896 | ||
b48516f9 L |
2897 | 2007-07-01 H.J. Lu <hongjiu.lu@intel.com> |
2898 | ||
2899 | * core-regset.c (fetch_core_registers): Work around gcc 3.4 | |
2900 | alias warning bug. | |
2901 | ||
96225718 DJ |
2902 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
2903 | ||
2904 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Search fewer | |
2905 | objfiles. | |
2906 | ||
1b05479a DJ |
2907 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
2908 | ||
2909 | * top.c (gdb_readline_wrapper_line): Call rl_callback_handler_remove. | |
2910 | (struct gdb_readline_wrapper_cleanup): Remove prompt_orig. | |
2911 | (gdb_readline_wrapper_cleanup): Do not reset the prompt. | |
2912 | (gdb_readline_wrapper): Do not save the prompt. Pass our prompt | |
2913 | to display_gdb_prompt. | |
2914 | ||
5ad3a4ca DJ |
2915 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
2916 | ||
2917 | PR symtab/2161 | |
2918 | * target.c (memory_xfer_partial): Do not continue past targets with | |
2919 | all memory. | |
2920 | ||
4ed77933 AS |
2921 | 2007-06-30 Andreas Schwab <schwab@suse.de> |
2922 | ||
4713453b AS |
2923 | * m68k-tdep.c (m68k_ps_type): New. |
2924 | (m68k_init_types): New. | |
2925 | (m68k_register_type): Use m68k_ps_type for PS register. | |
2926 | (_initialize_m68k_tdep): Call m68k_init_types. | |
2927 | ||
4ed77933 AS |
2928 | * m68k-tdep.c (m68k_gdbarch_init): Don't infer coldfire flavour |
2929 | from the generic m68k arch. | |
2930 | ||
dd3526aa MS |
2931 | 2007-06-28 Michael Snyder <msnyder@access-company.com> |
2932 | ||
f08312c2 MS |
2933 | * m2-typeprint.c (m2_print_type): Move pointer ref after null test |
2934 | (Coverity). | |
2935 | ||
a787bedf MS |
2936 | * linux-thread-db.c (thread_db_get_thread_local_address): Add |
2937 | gdb_assert before using return value of find_thread_pid (Coverity). | |
2938 | ||
77accacd MS |
2939 | * source.c (unset_substitute_path_command): Plug leak (Coverity). |
2940 | ||
dd3526aa MS |
2941 | * cli/cli-script.c (build_command_line): Add null pointer guard |
2942 | (Coverity). | |
2943 | ||
4105de34 DJ |
2944 | 2007-06-27 Daniel Jacobowitz <dan@codesourcery.com> |
2945 | ||
2946 | * linux-thread-db.c (thread_db_attach): Delete. | |
2947 | (thread_db_detach): Typo fix. Call target_mourn_inferior | |
2948 | instead of fixing up proc_handle. | |
2949 | (have_threads_callback, have_threads): New functions. | |
2950 | (thread_db_wait): Remove dead proc_handle.pid check. Only | |
2951 | translate PTIDs if we have registered threads. Check for new | |
2952 | threads if we have none. | |
2953 | (thread_db_create_inferior, thread_db_post_startup_inferior): Delete. | |
2954 | (find_new_threads_callback): Only enable event reporting if TID == 0. | |
2955 | (same_ptid_callback): New. | |
2956 | (thread_db_get_thread_local_address): Check for new threads. | |
2957 | (init_thread_db_ops): Don't set to_attach, to_create_inferior, | |
2958 | or to_post_startup_inferior. | |
2959 | ||
1c0fdd0e UW |
2960 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
2961 | ||
2962 | * infrun.c (adjust_pc_after_break): Do not assume software single-step | |
2963 | is always active if SOFTWARE_SINGLE_STEP_P is true. | |
2964 | (resume): Use gdbarch_software_single_step[_p] instead of | |
2965 | SOFTWARE_SINGLE_STEP[_P]. | |
2966 | (handle_inferior_event): Do not check for SOFTWARE_SINGLE_STEP_P. | |
2967 | ||
2968 | * gdbarch.sh (software_single_step): Remove target macro. | |
2969 | * gdbarch.h, gdbarch.c: Regenerate. | |
2970 | ||
e487cc15 UW |
2971 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
2972 | ||
2973 | * gdbarch.sh (gdbarch_swap_ftype, deprecated_register_gdbarch_swap, | |
2974 | DEPRECATED_REGISTER_GDBARCH_SWAP): Remove. | |
2975 | (struct gdbarch_swap, struct gdbarch_swap_registration, | |
2976 | struct gdbarch_swap_registry, gdbarch_swap_registry, | |
2977 | current_gdbarch_swap_init_hack, current_gdbarch_swap_out_hack, | |
2978 | current_gdbarch_swap_in_hack): Remove. | |
2979 | (find_arch_by_info): Do not call current_gdbarch_swap_init_hack. | |
2980 | (gdbarch_find_by_info): Do not call current_gdbarch_swap_in_hack | |
2981 | and current_gdbarch_swap_out_hack, update current_gdbarch directly. | |
2982 | (deprecated_current_gdbarch_select_hack): Likewise. | |
2983 | * gdbarch.h, gdbarch.c: Regenerate. | |
2984 | ||
d5c31457 UW |
2985 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
2986 | ||
2987 | * infrun.c (clear_proceed_status): Clean up stop_registers. | |
2988 | (normal_stop): Allocate regcache for stop_registers. | |
2989 | (struct inferior_status): Remove stop_registers member. | |
2990 | (save_inferior_status): Do not save stop_registers. | |
2991 | (restore_inferior_status): Do not restore stop_registers. | |
2992 | (discard_inferior_status): Do not discard stop_registers. | |
2993 | (build_infrun): Remove. | |
2994 | (_initialize_infrun): Do not swap stop_registers. | |
2995 | ||
911c95a5 UW |
2996 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
2997 | ||
2998 | * remote.c (remote_address_masked): If remote_address_size is zero, | |
2999 | default to target address size. | |
3000 | (build_remote_gdbarch_data): Remove. | |
3001 | (_initialize_remote): Do not swap remote_address_size. | |
3002 | ||
5674de60 UW |
3003 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
3004 | ||
3005 | * gdbtypes.h (builtin_type_true_char, builtin_type_void, | |
3006 | builtin_type_char, builtin_type_short, builtin_type_int, | |
3007 | builtin_type_long, builtin_type_signed_char, | |
3008 | builtin_type_unsigned_char, builtin_type_unsigned_short, | |
3009 | builtin_type_unsigned_int, builtin_type_unsigned_long, | |
3010 | builtin_type_float, builtin_type_double, builtin_type_long_double, | |
3011 | builtin_type_complex, builtin_type_double_complex, builtin_type_string, | |
3012 | builtin_type_bool, builtin_type_long_long, | |
3013 | builtin_type_unsigned_long_long, builtin_type_void_data_ptr, | |
3014 | builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Replace global | |
3015 | variable declaration with compatibility macro. | |
3016 | * gdbtypes.c (builtin_type_true_char, builtin_type_void, | |
3017 | builtin_type_char, builtin_type_short, builtin_type_int, | |
3018 | builtin_type_long, builtin_type_signed_char, | |
3019 | builtin_type_unsigned_char, builtin_type_unsigned_short, | |
3020 | builtin_type_unsigned_int, builtin_type_unsigned_long, | |
3021 | builtin_type_float, builtin_type_double, builtin_type_long_double, | |
3022 | builtin_type_complex, builtin_type_double_complex, builtin_type_string, | |
3023 | builtin_type_bool, builtin_type_long_long, | |
3024 | builtin_type_unsigned_long_long, builtin_type_void_data_ptr, | |
3025 | builtin_type_void_func_ptr, builtin_type_CORE_ADDR): Remove. | |
3026 | (build_gdbtypes): Remove. | |
3027 | (_initialize_gdbtypes): Do not call build_gdbtypes, move installing | |
3028 | opaque-type-resolution command here. Do not call | |
3029 | deprecated_register_gdbarch_swap. | |
3030 | ||
64c50499 UW |
3031 | 2007-06-22 Ulrich Weigand <uweigand@de.ibm.com> |
3032 | ||
3033 | * gdbtypes.h (struct builtin_type): New members nodebug_text_symbol, | |
3034 | nodebug_data_symbol, nodebug_unknown_symbol, and nodebug_tls_symbol. | |
3035 | * gdbtypes.c (gdbtypes_post_init): Initialize nodebug_ default types. | |
3036 | ||
3037 | * parse.c (msym_text_symbol_type, msym_data_symbol_type): Remove. | |
3038 | (msym_unknown_symbol_type, msym_tls_symbol_type): Remove. | |
3039 | (write_exp_msymbol): Use builtin nodebug_ types instead of them. | |
3040 | (build_parse): Remove. | |
3041 | (_initialize_parse): Do not call build_parse. Do not register | |
3042 | msym_ types for gdbarch-swapping. | |
3043 | ||
3044 | * dwarf2read.c (new_symbol): Use default nodebug_data_symbol type | |
3045 | instead of creating private type. | |
3046 | ||
3047 | * xcoffread.c (func_symbol_type, var_symbol_type): Remove. | |
3048 | (_initialize_xcoffread): Do not initialized them. | |
3049 | (process_xcoff_symbol): Use builtin nodebug_ types instead of them. | |
3050 | ||
3051 | * mdebugread.c (nodebug_func_symbol_type): Remove. | |
3052 | (nodebug_var_symbol_type): Remove. | |
3053 | (_initialize_mdebugread): Do not initialize them. | |
3054 | (parse_symbol): Use builtin nodebug_ type instead of them. | |
3055 | (parse_procedure): Likewise. | |
3056 | ||
6a2eb474 MR |
3057 | 2007-06-21 Chris Dearman <chris@mips.com> |
3058 | ||
3059 | * printcmd.c (do_one_display): If display/i, start with an initial | |
3060 | line feed to avoid bad layout if there is a branch delay slot. | |
3061 | ||
a4642986 MR |
3062 | 2007-06-21 Nigel Stephens <nigel@mips.com> |
3063 | Maciej W. Rozycki <macro@mips.com> | |
3064 | ||
3065 | * disasm.c (gdb_print_insn): Return the number of branch delay | |
3066 | slot instructions too. | |
3067 | * disasm.h (gdb_print_insn): Update prototype. | |
3068 | * printcmd.c (branch_delay_insns): New variable to record the | |
3069 | number of delay slot instructions after disassembling a branch. | |
3070 | (print_formatted): Record the number of branch delay slot | |
3071 | instructions. | |
3072 | (do_examine): When disassembling, if the last instruction | |
3073 | disassembled has any branch delay slots, then bump the count so | |
3074 | that they get disassembled too. | |
3075 | * tui/tui-disasm.c (tui_disassemble): Update the call to | |
3076 | gdb_print_insn(). | |
3077 | * NEWS: Document the new behaviour. | |
3078 | ||
ade28716 AS |
3079 | 2007-06-21 Andreas Schwab <schwab@suse.de> |
3080 | ||
3081 | * regcache.c (write_pc_pid): Restore missing else. | |
3082 | ||
28c38f10 UW |
3083 | 2007-06-20 Ulrich Weigand <uweigand@de.ibm.com> |
3084 | ||
3085 | * regcache.c (regcache_print): Use get_current_regcache () | |
3086 | instead of current_regcache. | |
3087 | ||
52b57208 L |
3088 | 2007-06-20 H.J. Lu <hongjiu.lu@intel.com> |
3089 | ||
3090 | PR 4606 | |
3091 | * gcore.c (gcore_command): Use bfd_make_section_anyway_with_flags | |
3092 | instead of bfd_make_section_anyway. | |
3093 | (gcore_create_callback): Likewise. Also set SEC_NEVER_LOAD | |
3094 | when clearing SEC_LOAD. | |
3095 | ||
8bf8793c JM |
3096 | 2007-06-19 Joseph Myers <joseph@codesourcery.com> |
3097 | ||
3098 | * arm-tdep.c (arm_push_dummy_call): Correct padding of partial | |
3099 | registers for big-endian. | |
3100 | ||
7f5c84d3 UW |
3101 | 2007-06-19 Markus Deuling <deuling@de.ibm.com> |
3102 | ||
3103 | * gdbarch.sh (TARGET_PRINT_INSN): Replace by gdbarch_print_insn. | |
3104 | * disasm.c (dump_insns, gdb_print_insn): Likewise. | |
3105 | * gdbarch.c, gdbarch.h: Regenerate. | |
3106 | ||
f73e88f9 UW |
3107 | 2007-06-19 Markus Deuling <deuling@de.ibm.com> |
3108 | ||
3109 | * gdbarch.sh (BELIEVE_PCC_PROMOTION): Replace by | |
3110 | gdbarch_believe_pcc_promotion. | |
3111 | * stabsread.c (define_symbol): Likewise. | |
3112 | Remove unnecessary definition. | |
3113 | * coffread.c (process_coff_symbol): Remove unnecessary code. | |
3114 | * gdbarch.c, gdbarch.h: Regenerate. | |
3115 | ||
cab58a69 DJ |
3116 | 2007-06-19 Daniel Jacobowitz <dan@codesourcery.com> |
3117 | ||
3118 | * configure.ac: Do not use ${objdir}. | |
3119 | * configure: Regenerated. | |
3120 | ||
f0c9063c UW |
3121 | 2007-06-18 Ulrich Weigand <uweigand@de.ibm.com> |
3122 | ||
3123 | * gdbarch.sh (deprecated_register_size): Remove. | |
3124 | * gdbarch.h, gdbarch.c: Regenerate. | |
3125 | ||
3126 | * arm-tdep.c (arm_push_dummy_call): Replace DEPRECATED_REGISTER_SIZE | |
3127 | by INT_REGISTER_SIZE. | |
3128 | (thumb_get_next_pc, arm_return_in_memory): Likewise. | |
3129 | (arm_gdbarch_init): Do not call set_gdbarch_deprecated_register_size. | |
3130 | * ia64-tdep.c (ia64_gdbarch_init): Do not call | |
3131 | set_gdbarch_deprecated_register_size. | |
3132 | ||
064f5156 UW |
3133 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
3134 | ||
3135 | * gdbarch.sh (DEPRECATED_FP_REGNUM): Replace by | |
3136 | gdbarch_deprecated_fp_regnum. | |
3137 | * std-regs.c (value_of_builtin_frame_fp_reg): Likewise. | |
3138 | * remote-mips.c (mips_wait, mips_fetch_registers): Likewise. | |
3139 | * arch-utils.c (legacy_virtual_frame_pointer): Likewise. | |
3140 | * arch-utils.h (gdbarch_virtual_frame_pointer_ftype): Likewise | |
3141 | (comment). | |
3142 | * gdbarch.c, gdbarch.h: Regenerate. | |
3143 | ||
3144 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> | |
3145 | ||
3146 | * gdbarch.sh (EXTRACT_RETURN_VALUE): Replace with | |
3147 | gdbarch_extract_return_value. | |
3148 | * value.c (generic_use_struct_convention): Likewise (comment). | |
3149 | * ia64-tdep.c (ia64_use_struct_convention): Likewise (comment). | |
3150 | * arch-utils.c (legacy_return_value): Likewise. | |
3151 | * arch-utils.h (legacy_return_value): Likewise (comment). | |
3152 | * gdbarch.sh (STORE_RETURN_VALUE): Replace by | |
3153 | gdbarch_store_return_value. | |
3154 | * stack.c (return_command): Likewise (comment). | |
3155 | * arch-utils.h (legacy_return_value): Likewise (comment). | |
3156 | * arch-utils.c (legacy_return_value): Likewise. | |
3157 | * gdbarch.c, gdbarch.h: Regenerate. | |
3158 | ||
b187c476 UW |
3159 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
3160 | ||
3161 | * gdbarch.sh (DEPRECATED_USE_STRUCT_CONVENTION): Replace by | |
3162 | gdbarch_deprecated_use_struct_convention. | |
3163 | * arch-utils.c (legacy_return_value): Likewise. | |
3164 | * gdbarch.c, gdbarch.h: Regenerate. | |
3165 | ||
cbf3b44a UW |
3166 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
3167 | ||
3168 | * gdbarch.sh (DEPRECATED_FUNCTION_START_OFFSET): Replace by | |
3169 | gdbarch_deprecated_function_start_offset. | |
3170 | * symtab.c (find_function_start_sal)skip_prologue_using_sal): Likewise. | |
3171 | * linespec.c (minsym_found): Likewise. | |
3172 | * infrun.c (handle_inferior_event): Likewise. | |
3173 | * infcall.c (find_function_addr): Likewise. | |
3174 | * cli/cli-cmds.c (disassemble_command): Likewise. | |
3175 | * gdbarch.c, gdbarch.h: Regenerate. | |
3176 | ||
bceb6e50 UW |
3177 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
3178 | ||
3179 | * gdbarch.sh (DEPRECATED_REG_STRUCT_HAS_ADDR): Replace by | |
3180 | gdbarch_deprecated_reg_struct_has_addr. | |
3181 | * infcall.c (call_function_by_hand): Likewise. | |
3182 | (DEPRECATED_REG_STRUCT_HAS_ADDR_P): Replace by | |
3183 | * gdbarch_deprecated_reg_struct_has_addr_p. | |
3184 | * infcall.c (call_function_by_hand): Likewise. | |
3185 | * gdbarch.c, gdbarch.h: Regenerate. | |
3186 | ||
8ed6a7ba UW |
3187 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
3188 | ||
3189 | * gdbarch.sh (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. | |
3190 | * sh-tdep.c (sh_extract_struct_value_address): Remove. | |
3191 | (sh_gdbarch_init): Remove | |
3192 | set_gdbarch_deprecated_extract_struct_value_address. | |
3193 | * sh64-tdep.c (sh64_extract_struct_value_address): Remove. | |
3194 | (sh64_gdbarch_init): Remove | |
3195 | set_gdbarch_deprecated_extract_struct_value_address. | |
3196 | * ia64-tdep.c (ia64_extract_struct_value_address): Remove. | |
3197 | (ia64_gdbarch_init): Remove | |
3198 | set_gdbarch_deprecated_extract_struct_value_address. | |
3199 | * frv-tdep.c (frv_extract_struct_value_address): Remove. | |
3200 | (frv_gdbarch_init): Remove | |
3201 | set_gdbarch_deprecated_extract_struct_value_address. | |
3202 | * gdbarch.c, gdbarch.h: Regenerate. | |
3203 | ||
3e8c568d UW |
3204 | 2007-06-18 Markus Deuling <deuling@de.ibm.com> |
3205 | ||
3206 | * gdbarch.sh (SP_REGNUM): Replace by gdbarch_sp_regnum. | |
3207 | * v850-tdep.c (v850_unwind_sp): Likewise. | |
3208 | * std-regs.c (value_of_builtin_frame_sp_reg): Likewise. | |
3209 | * stack.c (frame_info): Likewise. | |
3210 | * stabsread.c (define_symbol): Likewise. | |
3211 | * sh-tdep.c (sh_push_dummy_call_fpu, sh_push_dummy_call_nofpu) | |
3212 | (sh_dwarf2_frame_init_reg, sh_frame_cache, sh_frame_prev_register) | |
3213 | (sh_unwind_sp): Likewise. | |
3214 | * sh64-tdep.c (sh64_push_dummy_call, sh64_frame_cache) | |
3215 | (sh64_frame_prev_register, sh64_unwind_sp): Likewise. | |
3216 | * rs6000-tdep.c (rs6000_push_dummy_call, rs6000_unwind_dummy_id) | |
3217 | (rs6000_frame_cache): Likewise. | |
3218 | * rs6000-nat.c (store_register): Likewise. | |
3219 | * remote-mips.c (mips_wait): Likewise. | |
3220 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
3221 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call) | |
3222 | (ppc64_sysv_abi_push_dummy_call): Likewise. | |
3223 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise. | |
3224 | * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise. | |
3225 | * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise. | |
3226 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
3227 | * m32r-rom.c (m32r_supply_register): Likewise. | |
3228 | * frame.c (frame_sp_unwind): Likewise. | |
3229 | * mips-tdep.c (mips_insn16_frame_cache) | |
3230 | (mips_insn32_frame_cache): Likewise (comment). | |
3231 | * m68klinux-nat.c (supply_gregset): Likewise. | |
3232 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
3233 | * ia64-tdep.c (ia64_frame_prev_register): Likewise. | |
3234 | * i386-tdep.c (i386_get_longjmp_target): Likewise. | |
3235 | * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise. | |
3236 | * cris-tdep.c (cris_regnums, cris_sigcontext_addr) | |
3237 | (cris_sigtramp_frame_unwind_cache, cris_push_dummy_call) | |
3238 | (cris_scan_prologue, crisv32_scan_prologue, cris_unwind_sp) | |
3239 | (cris_register_type, crisv32_register_type) | |
3240 | (cris_dwarf2_frame_init_reg): Likewise. | |
3241 | * arch-utils.c (legacy_virtual_frame_pointer): Likewise. | |
3242 | * amd64-tdep.c (amd64_frame_prev_register): Likewise. | |
3243 | * amd64-linux-tdep.c (amd64_linux_sigcontext_addr): Likewise. | |
3244 | * libunwind-frame.c (libunwind_frame_cache): Likewise. | |
3245 | ||
3246 | * gdbarch.sh (PC_REGNUM): Replace by gdbarch_pc_regnum. | |
3247 | * regcache.c (read_pc_pid, generic_target_write_pc): Likewise. | |
3248 | * xtensa-tdep.c (xtensa_register_type, xtensa_supply_gregset) | |
3249 | (xtensa_unwind_pc, xtensa_frame_cache, xtensa_frame_prev_register) | |
3250 | (xtensa_extract_return_value, xtensa_store_return_value): Likewise. | |
3251 | * v850-tdep.c (v850_unwind_pc): Likewise. | |
3252 | * stack.c (frame_info): Likewise. | |
3253 | * sh-tdep.c (sh_generic_show_regs, sh3_show_regs, sh2e_show_regs) | |
3254 | (sh2a_show_regs, sh2a_nofpu_show_regs, sh3e_show_regs) | |
3255 | (sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs) | |
3256 | (sh_dwarf2_frame_init_reg, sh_frame_prev_register, sh_unwind_pc) | |
3257 | (sh_dsp_show_regs): Likewise. | |
3258 | * shnbsd-tdep.c (shnbsd_supply_gregset) | |
3259 | (shnbsd_collect_gregset): Likewise. | |
3260 | * shnbsd-nat.c (GETREGS_SUPPLIES): Likewise. | |
3261 | * sh64-tdep.c (sh64_compact_reg_base_num, sh64_show_media_regs) | |
3262 | (sh64_frame_prev_register, sh64_unwind_pc): Likewise. | |
3263 | * rs6000-tdep.c (ppc_supply_gregset, ppc_collect_gregset) | |
3264 | (6000_register_reggroup_p, rs6000_unwind_pc) | |
3265 | (rs6000_frame_cache): Likewise. | |
3266 | * rs6000-nat.c (regmap, rs6000_fetch_inferior_registers) | |
3267 | (rs6000_store_inferior_registers): Likewise. | |
3268 | * remote-mips.c (mips_wait, mips_load): Likewise. | |
3269 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
3270 | * ppcobsd-tdep.c (ppcobsd_sigtramp_frame_cache): Likewise. | |
3271 | * ppcobsd-nat.c (ppcobsd_supply_pcb): Likewise. | |
3272 | * ppcnbsd-tdep.c (ppcnbsd_sigtramp_cache_init): Likewise. | |
3273 | * ppcnbsd-nat.c (getregs_supplies, ppcnbsd_supply_pcb): Likewise. | |
3274 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
3275 | * ppc-linux-nat.c (ppc_register_u_addr, fetch_ppc_registers) | |
3276 | (store_ppc_registers, fill_gregset): Likewise. | |
3277 | * mips-tdep.c (mips_stub_frame_cache, mips_gdbarch_init): Likewise. | |
3278 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_fill_reg): Likewise. | |
3279 | * mipsnbsd-nat.c (getregs_supplies): Likewise. | |
3280 | * m68k-tdep.c (m68k_register_type, m68k_unwind_pc): Likewise. | |
3281 | * m68klinux-nat.c (supply_gregset): Likewise. | |
3282 | * irix5-nat.c (fill_gregset): Likewise. | |
3283 | * i386-tdep.c (i386_unwind_pc): Likewise. | |
3284 | * i386-linux-nat.c (i386_linux_resume): Likewise. | |
3285 | * frame.c (get_prev_frame_1): Likewise. | |
3286 | * dwarf2-frame.c (dwarf2_frame_default_init_reg): Likewise. | |
3287 | * dbug-rom.c (dbug_supply_register): Likewise. | |
3288 | * cris-tdep.c (cris_sigtramp_frame_unwind_cache, cris_scan_prologue) | |
3289 | (crisv32_scan_prologue, cris_unwind_pc, cris_register_size) | |
3290 | (cris_register_type, crisv32_register_type, crisv32_register_name) | |
3291 | (cris_dwarf2_frame_init_reg, find_step_target) | |
3292 | (cris_software_single_step, cris_supply_gregset) | |
3293 | (cris_regnums): Likewise. | |
3294 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. | |
3295 | * aix-thread.c (special_register_p, supply_sprs64, supply_sprs32) | |
3296 | (fill_sprs64, fill_sprs32, store_regs_user_thread): Likewise. | |
3297 | * std-regs.c (value_of_builtin_frame_pc_reg): Likewise. | |
3298 | * mips-linux-tdep.c (mips_linux_write_pc): Likewise. | |
3299 | ||
3300 | * gdbarch.sh (PS_REGNUM): Replace by gdbarch_ps_regnum. | |
3301 | * dbug-rom.c (dbug_supply_register): Likewise. | |
3302 | * xtensa-tdep.c (xtensa_supply_gregset, xtensa_frame_cache) | |
3303 | (xtensa_frame_prev_register, xtensa_push_dummy_call): Likewise. | |
3304 | * win32-nat.c (win32_resume): Likewise. | |
3305 | * std-regs.c (value_of_builtin_frame_ps_reg): Likewise. | |
3306 | * m68k-tdep.c (m68k_register_type): Likewise. | |
3307 | * m68klinux-nat.c (supply_gregset): Likewise. | |
3308 | ||
3309 | * gdbarch.sh (FP0_REGNUM): Replace by gdbarch_fp0_regnum. | |
3310 | * sh-tdep.c (sh_extract_return_value_fpu, sh_store_return_value_fpu) | |
3311 | (sh2e_show_regs, sh2a_show_regs, sh3e_show_regs, sh4_show_regs) | |
3312 | (sh_sh2a_register_type, sh_sh3e_register_type, sh_sh4_register_type) | |
3313 | (fv_reg_base_num, dr_reg_base_num): Likewise. | |
3314 | * sh64-tdep.c (sh64_fv_reg_base_num, sh64_dr_reg_base_num) | |
3315 | (sh64_fpp_reg_base_num, sh64_compact_reg_base_num, sh64_push_dummy_call) | |
3316 | (sh64_extract_return_value, sh64_store_return_value) | |
3317 | (sh64_show_media_regs, sh64_show_compact_regs, sh64_register_type) | |
3318 | (sh64_do_fp_register, sh64_media_print_registers_info): Likewise. | |
3319 | * procfs.c (procfs_fetch_registers, procfs_store_registers) | |
3320 | (invalidate_cache): Likewise. | |
3321 | * ppc-linux-tdep.c (ppc_linux_sigtramp_cache): Likewise. | |
3322 | * mipsnbsd-tdep.c (mipsnbsd_supply_fpreg) | |
3323 | (mipsnbsd_fill_fpreg): Likewise. | |
3324 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers) | |
3325 | (mipsnbsd_store_inferior_registers): Likewise. | |
3326 | * mips-linux-tdep.c (mips_supply_fpregset, mips_fill_fpregset) | |
3327 | (mips64_supply_fpregset, mips64_fill_fpregset): Likewise. | |
3328 | * mips-linux-nat.c (mips64_linux_register_addr): Likewise. | |
3329 | * m68k-tdep.c (m68k_register_type, m68k_convert_register_p): Likewise. | |
3330 | * m68klinux-nat.c (getfpregs_supplies, supply_fpregset) | |
3331 | (fill_fpregset): Likewise. | |
3332 | * irix5-nat.c (supply_fpregset, fill_fpregset): Likewise. | |
3333 | * i386-tdep.h (struct_return): Likewise (comment). | |
3334 | * i386-nto-tdep.c (i386nto_register_area): Likewise. | |
3335 | * go32-nat.c (fetch_register, go32_fetch_registers, store_register) | |
3336 | (go32_store_registers): Likewise. | |
3337 | * alpha-tdep.c (alpha_next_pc): Likewise. | |
3338 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Likewise. | |
3339 | * alphabsd-nat.c (alphabsd_fetch_inferior_registers) | |
3340 | (alphabsd_store_inferior_registers): Likewise. | |
3341 | * core-regset.c (fetch_core_registers): Likewise. | |
3342 | * i386v4-nat.c (supply_fpregset, fill_fpregset): Likewise. | |
3343 | ||
3344 | * gdbarch.c, gdbarch.h: Regenerate. | |
3345 | ||
31d99776 DJ |
3346 | 2007-06-18 Daniel Jacobowitz <dan@codesourcery.com> |
3347 | ||
3348 | * coffread.c (coff_sym_fns): Add default_symfile_segments. | |
3349 | * dbxread.c (start_psymtab): Check HAVE_ELF. | |
3350 | (aout_sym_fns): Likewise. | |
3351 | * elfread.c (elf_symfile_segments): New. | |
3352 | (elf_sym_fns): Add elf_symfile_segments. | |
3353 | * mipsread.c (ecoff_sym_fns): Add default_symfile_segments. | |
3354 | * remote.c (get_offsets): Use symfile_map_offsets_to_segments. | |
3355 | Skip if there is no symfile_objfile. Handle TextSeg and DataSeg. | |
3356 | * somread.c (som_sym_fns): Use default_symfile_segments. | |
3357 | * symfile.c (find_sym_fns): Take a BFD and return the sym_fns. | |
3358 | (init_objfile_sect_indices): Call symfile_find_segment_sections. | |
3359 | (default_symfile_segments): New function. | |
3360 | (syms_from_objfile): Update call to find_sym_fns. | |
3361 | (symfile_get_segment_data, free_symfile_segment_data): New. | |
3362 | (symfile_map_offsets_to_segments): New. | |
3363 | (symfile_find_segment_sections): New. | |
3364 | * symfile.h (struct symfile_segment_data): New. | |
3365 | (struct sym_fns): Add sym_segments. | |
3366 | (default_symfile_segments, symfile_get_segment_data) | |
3367 | (free_symfile_segment_data): New prototypes. | |
3368 | (symfile_map_offsets_to_segments): Likewise. | |
3369 | * xcoffread.c (xcoff_sym_fns): Add default_symfile_segments. | |
3370 | * Makefile.in (COMMON_OBS): Remove elfread.o. | |
3371 | (elf_internal_h): New. | |
3372 | (elfread.o): Update. | |
3373 | * configure.ac: Add elfread.o to COMMON_OBS if bfd/elf.o was | |
3374 | compiled. | |
3375 | * config.in, configure: Regenerated. | |
3376 | * NEWS: Mention qOffsets changes. | |
3377 | ||
5760b90a UW |
3378 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3379 | ||
3380 | * gdbtypes.h (builtin_type_m2_char, builtin_type_m2_int, | |
3381 | builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool): | |
3382 | Replace global variable declaration with compatibility macro. | |
3383 | (struct builtin_m2_type): New data type. | |
3384 | (builtin_m2_type): Add prototype. | |
3385 | * m2-lang.c (builtin_type_m2_char, builtin_type_m2_int, | |
3386 | builtin_type_m2_card, builtin_type_m2_real, builtin_type_m2_bool): | |
3387 | Remove global variables. | |
3388 | (m2_language_arch_info): Use builtin_m2_type instead of variables. | |
3389 | (build_m2_types): New function. | |
3390 | (m2_type_data): New variable. | |
3391 | (builtin_m2_type): New function. | |
3392 | (_initialize_m2_language): Do not build data types. Register | |
3393 | m2_type_data per-gdbarch data. | |
3394 | ||
54ef06c7 UW |
3395 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3396 | ||
3397 | * gdbtypes.h (builtin_type_f_character, builtin_type_f_logical, | |
3398 | builtin_type_f_logical_s1, builtin_type_f_logical_s2, | |
3399 | builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real, | |
3400 | builtin_type_f_real_s8, builtin_type_f_real_s16, | |
3401 | builtin_type_f_complex_s8, builtin_type_f_complex_s16, | |
3402 | builtin_type_f_complex_s32, builtin_type_f_void): Replace global | |
3403 | variable declaration with compatibility macro. | |
3404 | (struct builtin_f_type): New data type. | |
3405 | (builtin_f_type): Add prototype. | |
3406 | * f-lang.c (builtin_type_f_character, builtin_type_f_logical, | |
3407 | builtin_type_f_logical_s1, builtin_type_f_logical_s2, | |
3408 | builtin_type_f_integer, builtin_type_f_integer_s2, builtin_type_f_real, | |
3409 | builtin_type_f_real_s8, builtin_type_f_real_s16, | |
3410 | builtin_type_f_complex_s8, builtin_type_f_complex_s16, | |
3411 | builtin_type_f_complex_s32, builtin_type_f_void): Remove variables. | |
3412 | (f_language_arch_info): Use builtin_f_type instead of variables. | |
3413 | (build_fortran_types): Build builtin_f_type structure instead of | |
3414 | setting global type variables. | |
3415 | (f_type_data): New variable. | |
3416 | (builtin_f_type): New function. | |
3417 | (_initialize_f_language): Do not call build_fortran_types. Do not | |
3418 | swap global type variables. Register f_type_data per-gdbarch data. | |
3419 | ||
92e0cef4 UW |
3420 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3421 | ||
3422 | * f-lang.c (_initialize_f_language): Do not initialize or | |
3423 | swap builtin_type_string. | |
3424 | ||
5d8140d1 UW |
3425 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3426 | ||
0e7b1906 UW |
3427 | * std-regs.c (builtin_type_frame_reg, build_builtin_type_frame_reg, |
3428 | value_of_builtin_frame_reg): Remove. | |
3429 | (_initialize_frame_reg): Do not swap builtin_type_frame_reg. Remove | |
3430 | inactive call to value_of_builtin_frame_reg. | |
3431 | ||
3432 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> | |
3433 | ||
3434 | * gdbarch.sh (bfd_vma_bit): Remove. | |
5d8140d1 UW |
3435 | * gdbarch.c, gdbarch.h: Regenerate. |
3436 | ||
3437 | * gdbtypes.h (builtin_bfd_vma_type): Remove. | |
3438 | * gdbtypes.h (builtin_bfd_vma_type): Remove. | |
3439 | (build_gdbtypes): Do not initialize it. | |
3440 | (_initialize_gdbtypes): Do not swap it. | |
3441 | ||
794ac428 UW |
3442 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3443 | ||
3444 | * gdbtypes.c (builtin_type_v2_double, builtin_type_v4_float, | |
3445 | builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16, | |
3446 | builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32, | |
3447 | builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf, | |
3448 | builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi, | |
3449 | builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si, | |
3450 | builtin_type_vec64, builtin_type_vec128): Remove. | |
3451 | (init_simd_type): Remove. | |
3452 | (init_vector_type): Make global. | |
3453 | (build_builtin_type_vec64, build_builtin_type_vec128): Remove. | |
3454 | (build_gdbtypes): Do not build vector types. | |
3455 | (_initialize_gdbtypes): Do not swap vector types. | |
3456 | * gdbtypes.h (builtin_type_v2_double, builtin_type_v4_float, | |
3457 | builtin_type_v2_int64, builtin_type_v4_int32, builtin_type_v8_int16, | |
3458 | builtin_type_v16_int8, builtin_type_v2_float, builtin_type_v2_int32, | |
3459 | builtin_type_v4_int16, builtin_type_v8_int8, builtin_type_v4sf, | |
3460 | builtin_type_v4si, builtin_type_v16qi, builtin_type_v8qi, | |
3461 | builtin_type_v8hi, builtin_type_v4hi, builtin_type_v2si, | |
3462 | builtin_type_vec64, builtin_type_vec128): Remove declarations. | |
3463 | (init_vector_type): Add prototype. | |
3464 | ||
3465 | * i386-tdep.h (struct gdbarch_tdep): Add i386_mmx_type and | |
3466 | i386_sse_type members. | |
3467 | (i386_mmx_type, i386_sse_type): Change from variables to functions. | |
3468 | * i386-tdep.c (i386_mmx_type, i386_sse_type): Remove variables. | |
3469 | (i386_init_types): Do not build vector types. | |
3470 | (i386_mmx_type, i386_sse_type): New functions. | |
3471 | (i386_register_type): Call them instead of using global variables. | |
3472 | (i386_gdbarch_init): Use XCALLOC to allocate tdep structure. | |
3473 | * amd64-tdep.c (amd64_register_type): Call i386_sse_type instead | |
3474 | of using global variable. | |
3475 | ||
3476 | * rs6000-tdep.h (struct gdbarch_tdep): Add ppc_builtin_type_vec64 | |
3477 | and ppc_builtin_type_vec128 members. | |
3478 | * rs6000-tdep.c (rs6000_builtin_type_vec64): New function. | |
3479 | (rs6000_builtin_type_vec128): Likewise. | |
3480 | (rs6000_register_type): Call them instead of using builtin_type_vec64 | |
3481 | and builtin_type_vec128. | |
3482 | (rs6000_gdbarch_init): Use XCALLOC to allocate tdep structure. | |
3483 | ||
3484 | * spu-tdep.c (struct gdbarch_tdep): New data type. | |
3485 | (spu_builtin_type_vec128): Remove variable. | |
3486 | (spu_builtin_type_vec128): New function. | |
3487 | (spu_register_type): Call it instead of using global variable. | |
3488 | (spu_gdbarch_init): Allocate tdep structure. | |
3489 | (spu_init_vector_type): Remove function. | |
3490 | (_initialize_spu_tdep): Do not call it. | |
3491 | ||
6707b003 UW |
3492 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3493 | ||
3494 | * amd64-tdep.c (struct amd64_register_info): Remove. | |
3495 | (amd64_register_info): Remove. | |
3496 | (amd64_register_names): New static variable. | |
3497 | (AMD64_NUM_REGS): Use amd64_register_names instead of | |
3498 | amd64_register_info. | |
3499 | (amd64_register_name): Likewise. | |
3500 | (amd64_register_type): Do not refer to amd64_register_info. | |
3501 | ||
3502 | * s390-tdep.c (struct s390_register_info): Remove. | |
3503 | (s390_register_info): Remove. | |
3504 | (s390_register_name): Do not refer to s390_register_info. | |
3505 | (s390_register_type): Likewise. | |
3506 | ||
3507 | * sparc64-tdep.c (struct sparc64_register_info): Remove. | |
3508 | (sparc64_register_info, sparc64_pseudo_register_info): Remove. | |
3509 | (sparc64_register_names, sparc64_pseudo_register_names): New. | |
3510 | (SPARC64_NUM_REGS, SPARC64_NUM_PSEUDO_REGS): Use | |
3511 | sparc64_register_names and sparc64_pseudo_register_names instead of | |
3512 | sparc64_register_info and sparc64_pseudo_register_info. | |
3513 | (sparc64_register_name): Likewise. | |
3514 | (sparc64_register_type): Do not refer to sparc64_register_info | |
3515 | and sparc64_pseudo_register_info. | |
3516 | ||
cad351d1 UW |
3517 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3518 | ||
3519 | * c-lang.c (cplus_builtin_types): Remove. | |
3520 | (enum cplus_primitive_types): New data type. | |
3521 | (cplus_language_arch_info): New function. | |
3522 | (cplus_language_defn): Set la_language_arch_info member. Do not set | |
3523 | la_builtin_type_vector and string_char_type members. | |
3524 | ||
3525 | * f-lang.c (f_builtin_types): Remove. | |
3526 | (enum f_primitive_types): New data type. | |
3527 | (f_language_arch_info): New function. | |
3528 | (f_language_de): Set la_language_arch_info member. Do not set | |
3529 | la_builtin_type_vector and string_char_type members. | |
3530 | ||
3531 | * m2-lang.c (m2_builtin_types): Remove. | |
3532 | (enum m2_primitive_types): New data type. | |
3533 | (m2_language_arch_info): New function. | |
3534 | (m2_language_defn): Set la_language_arch_info member. Do not set | |
3535 | la_builtin_type_vector and string_char_type members. | |
3536 | ||
3537 | * objc-lang.c (objc_builtin_types): Remove. | |
3538 | (objc_language): Set la_language_arch_info member. Do not set | |
3539 | la_builtin_type_vector and string_char_type members. | |
3540 | ||
3541 | * p-lang.c (pascal_builtin_types): Remove. | |
3542 | (enum pascal_primitive_types): New data type. | |
3543 | (pascal_language_arch_info): New function. | |
3544 | (pascal_language_defn): Set la_language_arch_info member. Do not set | |
3545 | la_builtin_type_vector and string_char_type members. | |
3546 | ||
594f7785 UW |
3547 | 2007-06-16 Ulrich Weigand <uweigand@de.ibm.com> |
3548 | ||
3549 | * regcache.c (struct regcache): Add ptid_t member. | |
3550 | (regcache_xmalloc): Initialize it. | |
3551 | (regcache_cpy_no_passthrough): Do not refer to current_regcache. | |
3552 | (regcache_dup): Likewise. | |
3553 | (regcache_dup_no_passthrough): Likewise. | |
3554 | (current_regcache): Make static. | |
3555 | (registers_ptid): Remove variable. | |
3556 | (get_thread_regcache): New function. | |
3557 | (get_current_regcache): New function. | |
3558 | (registers_changed): Implement by freeing current regcache. | |
3559 | (regcache_raw_read): Do not refer to current_regcache. Set | |
3560 | inferior_ptid to regcache->ptid while calling target routines. | |
3561 | (regcache_raw_write): Likewise. | |
3562 | (regcache_raw_supply): Do not refer to current_regcache. | |
3563 | (read_pc_pid): Use thread regcache. Do not modify inferior_ptid. | |
3564 | (write_pc_pid): Likewise. | |
3565 | (build_regcache): Remove. | |
3566 | (_initialize_regcache): Do not call DEPRECATED_REGISTER_GDBARCH_SWAP | |
3567 | or deprecated_register_gdbarch_swap. Do not initialize | |
3568 | registers_ptid. | |
3569 | * regcache.h (get_current_regcache): Add prototype. | |
3570 | (get_thread_regcache): Likewise. | |
3571 | (current_regcache): Remove declaration. | |
3572 | ||
3573 | * corelow.c (core_open): Replace current_regcache by | |
3574 | get_current_regcache (). | |
3575 | * frame.c (frame_pop): Likewise. | |
3576 | (put_frame_register): Likewise. | |
3577 | (get_current_frame, create_new_frame): Likewise. | |
3578 | * mi/mi-main.c (mi_cmd_data_write_register_values): Likewise. | |
3579 | * stack.c (return_command): Likewise. | |
3580 | * infcall.c (call_function_by_hand): Likewise. | |
3581 | * infrun.c (resume): Likewise. | |
3582 | (save_inferior_status, restore_inferior_status): Likewise. | |
3583 | * linux-fork.c (fork_load_infrun_state): Likewise. | |
3584 | (fork_save_infrun_state): Likewise. | |
3585 | * win32-nat.c (win32_resume): Likewise. | |
3586 | * i386fbsd-nat.c (i386fbsd_resume): Likewise. | |
3587 | * monitor.c (monitor_wait): Likewise. | |
3588 | * remote.c (remote_wait): Likewise. | |
3589 | * remote-mips.c (mips_wait): Likewise. | |
3590 | ||
3591 | * bsd-kvm.c (bsd_kvm_open): Likewise | |
3592 | (bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Likewise. | |
3593 | * fbsd-nat.c (fbsd_make_corefile_notes): Likewise. | |
3594 | * i386-linux-nat.c (i386_linux_resume): Likewise. | |
3595 | * ia64-linux-nat.c (ia64_linux_insert_watchpoint): Likewise. | |
3596 | (ia64_linux_stopped_data_address): Likewise. | |
3597 | ||
3598 | * frv-tdep.c (frv_fdpic_loadmap_addresses): Likewise. | |
3599 | * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. | |
3600 | * mep-tdep.c (current_me_module, current_options): Likewise. | |
3601 | * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Likewise. | |
3602 | ||
3603 | * linux-nat.c (linux_nat_do_thread_registers): Use thread | |
3604 | regcache instead of current_regcache. Call target_fetch_registers. | |
3605 | (linux_nat_corefile_thread_callback): Update call site. | |
3606 | (linux_nat_do_registers): Likewise. | |
3607 | * procfs.c (procfs_do_thread_registers): Use thread regcache instead | |
3608 | of current_regcache. | |
3609 | (procfs_make_note_section): Likewise. | |
3610 | * proc-service.c (ps_lgetregs, ps_lsetregs): Likewise. | |
3611 | (ps_lgetfpregs, ps_lsetfpregs): Likewise. | |
3612 | * sol-thread.c (ps_lgetregs, ps_lsetregs): Likewise. | |
3613 | (ps_lgetfpregs, ps_lsetfpregs): Likewise. | |
3614 | ||
51a7a212 UW |
3615 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3616 | ||
3617 | * regcache.c (read_register, read_register_pid): Remove. | |
3618 | (write_register, write_register_pid): Likewise. | |
3619 | * regcache.h (read_register, read_register_pid): Remove prototype. | |
3620 | (write_register, write_register_pid): Likewise. | |
3621 | ||
61a1198a UW |
3622 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3623 | ||
3624 | * gdbarch.sh (read_pc): Add REGCACHE argument. Remove PTID argument. | |
3625 | (write_pc): Likewise. Remove default implementation, add predicate. | |
3626 | * gdbarch.c, gdbarch.h: Regenerate. | |
3627 | * regcache.c (read_pc_pid): Use current regcache instead of calling | |
3628 | read_register_pid. | |
3629 | (write_pc_pid): Check gdbarch_write_pc predicate, implement default | |
3630 | case inline. | |
3631 | (generic_target_write_pc): Remove. | |
3632 | * inferior.h (generic_target_write_pc): Remove. | |
3633 | * frv-tdep.c (frv_gdbarch_init): Do not install it. | |
3634 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Likewise. | |
3635 | * rs6000-tdep.c (rs6000_gdbarch_init): Likewise. | |
3636 | * sh64-tdep.c (sh64_gdbarch_init): Likewise. | |
3637 | * sh-tdep.c (sh_gdbarch_init): Likewise. | |
3638 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Likewise. | |
3639 | ||
3640 | * avr-tdep.c (avr_read_pc): Add REGCACHE argument. Remove PTID | |
3641 | argument. Use REGCACHE instead of calling read_register_pid. | |
3642 | * hppa-hpux-tdep.c (hppa_hpux_read_pc): Likewise. | |
3643 | * hppa-tdep.c (hppa_read_pc): Likewise. | |
3644 | * hppa-tdep.h (hppa_read_pc): Likewise. | |
3645 | * ia64-tdep.c (ia64_read_pc): Likewise. | |
3646 | * m32r-tdep.c (m32r_read_pc): Likewise. | |
3647 | * mep-tdep.c (mep_read_pc): Likewise. | |
3648 | * mn10300-tdep.c (mn10300_read_pc): Likewise. | |
3649 | * spu-tdep.c (spu_read_pc): Likewise. | |
3650 | ||
3651 | * arm-tdep.c (arm_write_pc): Add REGCACHE argument. Remove PTID | |
3652 | argument. Use REGCACHE instead of calling write_register_pid. | |
3653 | * avr-tdep.c (avr_write_pc): Likewise. | |
3654 | * hppa-hpux-tdep.c (hppa_hpux_write_pc): Likewise. | |
3655 | * hppa-tdep.c (hppa_write_pc): Likewise. | |
3656 | * hppa-tdep.h (hppa_write_pc): Likewise. | |
3657 | * i386-linux-tdep.c (i386_linux_write_pc): Likewise. | |
3658 | * amd64-linux-tdep.c (amd64_linux_write_pc): Likewise. | |
3659 | * ia64-linux-tdep.c (ia64_linux_write_pc): Likewise. | |
3660 | * ia64-tdep.c (ia64_write_pc): Likewise. | |
3661 | * ia64-tdep.h (ia64_write_pc): Likewise. | |
3662 | * m32r-tdep.c (m32r_write_pc): Likewise. | |
3663 | * m88k-tdep.c (m88k_write_pc): Likewise. | |
3664 | * mep-tdep.c (mep_write_pc): Likewise. | |
3665 | * mips-tdep.c (mips_write_pc): Likewise. | |
3666 | * mips-linux-tdep.c (mips_linux_write_pc): Likewise. | |
3667 | * mn10300-tdep.c (mn10300_write_pc): Likewise. | |
3668 | * sparc-tdep.c (sparc_write_pc): Likewise. | |
3669 | * spu-tdep.c (spu_write_pc): Likewise. | |
3670 | ||
3671 | * mips-tdep.c (read_signed_register): Remove. | |
3672 | (read_signed_register_pid): Likewise. | |
3673 | (mips_read_pc): Add REGCACHE argument. Remove PTID argument. | |
3674 | Use REGCACHE instead of calling read_signed_register_pid. | |
3675 | ||
e4fd649a UW |
3676 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3677 | ||
3678 | * gdbarch.sh (push_dummy_code): Add REGCACHE argument. | |
3679 | * gdbarch.c, gdbarch.h: Regenerate. | |
3680 | * infcall.c (generic_push_dummy_code): Add REGCACHE argument. | |
3681 | (push_dummy_code): Likewise. Pass it to callee. | |
3682 | (call_function_by_hand): Pass current regcache to push_dummy_code. | |
3683 | ||
3684 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Add REGCACHE | |
3685 | argument. Use it instead of current_regcache. | |
3686 | ||
3687 | * cris-tdep.c (cris_push_dummy_code): Add REGCACHE argument. | |
3688 | * sparc-tdep.c (sparc32_push_dummy_code): Likewise. | |
3689 | ||
60ade65d UW |
3690 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3691 | ||
3692 | * gdbarch.sh (get_longjmp_target): Add FRAME argument. | |
3693 | * gdbarch.c, gdbarch.h: Regenerate. | |
3694 | * infrun.c (handle_inferior_event): Pass current frame to | |
3695 | gdbarch_get_longjmp_target. | |
3696 | ||
3697 | * alpha-tdep.c (alpha_get_longjmp_target): Add FRAME argument. | |
3698 | Read registers from FRAME instead of using read_register. | |
3699 | Use get_frame_arch instead of current_gdbarch. | |
3700 | * arm-tdep.c (arm_get_longjmp_target): Likewise. | |
3701 | * i386-tdep.c (i386_get_longjmp_target): Likewise. | |
3702 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
3703 | * mips-linux-tdep.c (mips_linux_get_longjmp_target): Likewise. | |
3704 | (mips64_linux_get_longjmp_target): Likewise. | |
3705 | * mipsnbsd-tdep.c (mipsnbsd_get_longjmp_target): Likewise. | |
3706 | ||
52f729a7 UW |
3707 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3708 | ||
3709 | * gdbarch.sh (skip_trampoline_code): Add FRAME argument. | |
3710 | * gdbarch.c, gdbarch.h: Regenerate. | |
3711 | * arch-utils.c (generic_skip_trampoline_code): Add FRAME argument. | |
3712 | * arch-utils.h (generic_skip_trampoline_code): Likewise. | |
3713 | * infrun.c (handle_inferior_event): Pass current frame to | |
3714 | gdbarch_skip_trampoline_code and skip_language_trampoline. | |
3715 | ||
3716 | * language.c (unk_lang_trampoline): Add FRAME argument. | |
3717 | (skip_language_trampoline): Add FRAME argument. Pass it to | |
3718 | skip_trampoline callback. | |
3719 | * language.h: Add forward declaration of struct frame_info. | |
3720 | (struct language_defn): Add FRAME argument to skip_trampoline. | |
3721 | (skip_language_trampoline): Add FRAME argument. | |
3722 | * cp-abi.c (cplus_skip_trampoline): Add FRAME argument. Pass it | |
3723 | to skip_trampoline callback. | |
3724 | * cp-abi.h: Add forward declaration of struct frame_info. | |
3725 | (cplus_skip_trampoline): Add FRAME argument. | |
3726 | (struct cp_abi_ops): Add FRAME argument to skip_trampoline callback. | |
3727 | * gnu-v3-abi.c (gnuv3_skip_trampoline): Add FRAME argument. Pass it | |
3728 | to gdbarch_skip_trampoline_code. | |
3729 | * objc-lang.c (objc_skip_trampoline): Add FRAME argument. Pass it | |
3730 | to gdbarch_skip_trampoline_code. | |
3731 | ||
3732 | * minsyms.c (find_solib_trampoline_target): Add FRAME argument. | |
3733 | * symtab.h (find_solib_trampoline_target): Likewise. | |
3734 | * obsd-tdep.c (obsd_skip_solib_resolver): Pass current frame to | |
3735 | find_solib_trampoline_target. | |
3736 | ||
3737 | * arm-tdep.c (arm_skip_stub): Add FRAME argument. Read registers | |
3738 | from FRAME instead of calling read_register. | |
3739 | ||
3740 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Add FRAME | |
3741 | argument. Read registers from FRAME instead of using read_register. | |
3742 | * hppa-tdep.c (hppa_skip_trampoline_code): Likewise. | |
3743 | * hppa-tdep.h (hppa_skip_trampoline_code): Add FRAME argument. | |
3744 | ||
3745 | * i386-cygwin-tdep.c (i386_cygwin_skip_trampoline_code): Add FRAME | |
3746 | argument. | |
3747 | ||
3748 | * m32c-tdep.c (m32c_skip_trampoline_code): Add FRAME argument. | |
3749 | ||
3750 | * mips-tdep.c (mips_skip_trampoline_code): Add FRAME argument. Read | |
3751 | registers from FRAME instead of using read_signed_register. | |
3752 | ||
3753 | * ppc-linux-tdep.c (ppc_linux_skip_trampoline_code): Add FRAME | |
3754 | argument. | |
3755 | (ppc64_standard_linkage_target): Likewise. Read registers from FRAME | |
3756 | instead of using read_register. | |
3757 | (ppc64_skip_trampoline_code): Add FRAME argument. Pass it to | |
3758 | ppc64_standard_linkage_target. | |
3759 | * rs6000-tdep.c (rs6000_skip_trampoline_code): Add FRAME argument. | |
3760 | Pass it to find_solib_trampoline_target. Read registers from FRAME | |
3761 | instead of using read_register. | |
3762 | ||
3763 | * xstormy16-tdep.c (xstormy16_skip_trampoline_code): Add FRAME | |
3764 | argument. | |
3765 | ||
0b1b3e42 UW |
3766 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3767 | ||
3768 | * gdbarch.sh (software_single_step): Replace REGCACHE argument by | |
3769 | FRAME argument. | |
3770 | * gdbarch.c, gdbarch.h: Regenerate. | |
3771 | * infrun.c (resume): Pass current frame to SOFTWARE_SINGLE_STEP. | |
3772 | ||
3773 | * alpha-tdep.c (alpha_next_pc): Add FRAME argument. Retrieve | |
3774 | registers from FRAME instead of using read_register. | |
3775 | (alpha_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
3776 | to alpha_next_pc. Use get_frame_pc instead of read_pc. | |
3777 | * alpha-tdep.h (alpha_software_single_step): Replace REGCACHE | |
3778 | argument by FRAME. | |
3779 | ||
3780 | * arm-tdep.c (shifted_reg_val): Add FRAME argument. Read registers | |
3781 | from FRAME instead of using read_register. | |
3782 | (thumb_get_next_pc): Likewise. | |
3783 | (arm_get_next_pc): Likewise. | |
3784 | (arm_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
3785 | to arm_get_next_pc. Use get_frame_pc instead of read_register. | |
3786 | * arm-tdep.h (arm_software_single_step): Replace REGCACHE | |
3787 | argument by FRAME. | |
3788 | ||
3789 | * cris-tdep.c (find_step_target): Add FRAME argument. Read registers | |
3790 | from FRAME instead of using read_register. | |
3791 | (cris_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
3792 | to find_step_target. | |
3793 | ||
3794 | * mips-tdep.c (mips32_next_pc): Add FRAME argument. Read registers | |
3795 | from FRAME instead of using read_register / read_signed_register. | |
3796 | (extended_mips16_next_pc): Likewise. | |
3797 | (mips16_next_pc): Likewise. | |
3798 | (mips_next_pc): Likewise. | |
3799 | (mips_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
3800 | to mips_next_pc. Use get_frame_pc instead of read_pc. | |
3801 | * mips-tdep.h (mips_software_single_step): Replace REGCACHE | |
3802 | argument by FRAME. | |
3803 | ||
3804 | * rs6000-tdep.c (branch_dest): Add FRAME argument. Use it instead | |
3805 | of current frame. Read registers from FRAME. | |
3806 | (deal_with_atomic_sequence): Add FRAME argument. Pass it to | |
3807 | branch_dest. Use get_frame_pc instead of read_pc. | |
3808 | (rs6000_software_single_step): Likewise. | |
3809 | (bl_to_blrl_insn_p): Do not call branch_dest. | |
3810 | * rs6000-tdep.h (rs6000_software_single_step): Replace REGCACHE | |
3811 | argument by FRAME. | |
3812 | ||
3813 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): Add FRAME argument. | |
3814 | Read registers from FRAME instead of current regcache. | |
3815 | * sparc-linux-tdep.c (sparc32_linux_step_trap): Likewise. | |
3816 | * sparcnbsd-tdep.c (sparcnbsd_step_trap): Likewise. | |
3817 | * sparc-tdep.c (sparc_address_from_register): Remove. | |
3818 | (sparc_analyze_control_transfer): Pass FRAME argument instead of | |
3819 | GDBARCH. Pass FRAME to step_trap callback. | |
3820 | (sparc_step_trap): Add FRAME argument. | |
3821 | (space_software_single_step): Replace REGCACHE by FRAME. Pass FRAME | |
3822 | to sparc_analyze_control_transfer. Read registers from FRAME instead | |
3823 | of calling sparc_address_from_register. | |
3824 | * sparc-tdep.h (struct gdbarch_tdep): Add FRAME argument to | |
3825 | step_trap callback. | |
3826 | (sparc_address_from_register): Remove prototype. | |
3827 | (sparc_software_single_step): Replace REGCACHE argument by FRAME. | |
3828 | (sparcnbsd_step_trap): Add FRAME argument. | |
3829 | ||
3830 | * spu-tdep.c (spu_software_single_step): Replace REGCACHE argument | |
3831 | by FRAME. Read registers from FRAME instead of REGCACHE. | |
3832 | ||
9c9acae0 UW |
3833 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3834 | ||
3835 | * arm-tdep.c (arm_print_float_info): Use register value from FRAME | |
3836 | instead of calling read_register. | |
3837 | ||
3838 | * avr-tdep.c (avr_push_dummy_call): Write to REGCACHE instead of | |
3839 | calling write_register. | |
3840 | ||
3841 | * hppa-tdep.c (hppa32_push_dummy_call): Write to REGCACHE instead of | |
3842 | calling write_register. | |
3843 | ||
3844 | * ia64-tdep.c (find_func_descr): Add REGCACHE parameter. Use it | |
3845 | instead of calling read_register. | |
3846 | (ia64_push_dummy_call): Update call to find_func_descr. Use REGCACHE | |
3847 | instead of calling read_register and write_register. | |
3848 | ||
3849 | * m32r-tdep.c (m32r_linux_supply_gregset): Use REGCACHE parameter | |
3850 | instead of current_regcache. | |
3851 | ||
3852 | * mn10300-tdep.c (mn10300_push_dummy_call): Write to REGCACHE instead | |
3853 | of calling write_register. | |
3854 | * mn10300-linux-tdep.c (am33_supply_fpregset_method): Use REGCACHE | |
3855 | parameter instead of current_regcache. | |
3856 | ||
3857 | * mips-tdep.c (mips2_fp_compat): Add FRAME parameter. Use it | |
3858 | instead of calling read_register. | |
3859 | (mips_read_fp_register_double, mips_print_fp_register): Update calls. | |
3860 | (mips_eabi_push_dummy_call): Use REGCACHE instead of write_register. | |
3861 | (mips_n32n64_push_dummy_call): Likewise. | |
3862 | (mips_o32_push_dummy_call): Likewise. | |
3863 | (mips_o64_push_dummy_call): Likewise. | |
3864 | ||
3865 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use REGCACHE | |
3866 | parameter instead of current_regcache. | |
3867 | ||
3868 | * xtensa-tdep.c (xtensa_register_write_masked): Add REGCACHE parameter. | |
3869 | Use it instead of read_register and write_register. | |
3870 | (xtensa_register_read_masked): Likewise. | |
3871 | (xtensa_pseudo_register_read): Update call. | |
3872 | (xtensa_pseudo_register_write): Likewise. | |
3873 | (xtensa_frame_cache): Use register values unwound from NEXT_FRAME | |
3874 | instead of calling read_register. | |
3875 | (xtensa_push_dummy_call): Update comment. | |
3876 | ||
d2ca4222 UW |
3877 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3878 | ||
3879 | * mips-tdep.c (mips16_scan_prologue): Replace read_next_frame_reg | |
3880 | by frame_unwind_register_signed calls. | |
3881 | (mips32_scan_prologue): Likewise. Skip analysis of alloca stack | |
3882 | frame allocations when called with NULL NEXT_FRAME parameter. | |
3883 | (read_next_frame_reg): Remove. | |
3884 | ||
3885 | * sh-tdep.c (sh_analyze_prologue): Add FPSCR parameter. Use it | |
3886 | instead of reading the FPSCR register. | |
3887 | (sh_frame_cache): Pass unwound FPSCR register value to | |
3888 | sh_analyze_prologue. | |
3889 | (sh_skip_prologue): Pass dummy FPSCR value to sh_analyze_prologue. | |
3890 | ||
3891 | * v850-tdep.c (v850_analyze_prologue): Add CTBP parameter. Use it | |
3892 | instead of reading the CTBP register. | |
3893 | (v850_frame_cache): Pass unwound CTBP register value to | |
3894 | v850_analyze_prologue. | |
3895 | ||
c458d6db UW |
3896 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3897 | ||
3898 | * sh-tdep.h (sh_show_regs): Add FRAME parameter. | |
3899 | * sh-tdep.c (sh_show_regs): Likewise. | |
3900 | (sh_show_regs_command): Pass current frame to sh_show_regs routine. | |
3901 | (sh_generic_show_regs): Add FRAME parameter. Use register | |
3902 | values from that frame instead of calling read_register. | |
3903 | (sh3_show_regs, sh2e_show_regs, sh2a_show_regs, sh2a_nofpu_show_regs, | |
3904 | sh3e_show_regs, sh3_dsp_show_regs, sh4_show_regs, sh4_nofpu_show_regs, | |
3905 | sh_dsp_show_regs): Likewise. | |
3906 | * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs, | |
3907 | sh64_show_regs): Likewise. | |
3908 | ||
a9614958 UW |
3909 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3910 | ||
3911 | * mips-tdep.c (deprecated_mips_set_processor_regs_hack): Read from | |
3912 | current regcache instead of calling read_register. | |
3913 | ||
3d1a74ac UW |
3914 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3915 | ||
3916 | * mep-tdep.c (current_me_module): Read from current regcache | |
3917 | instead of calling read_register. | |
3918 | (current_options): Likewise. | |
3919 | ||
1b5a9a8f UW |
3920 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3921 | ||
3922 | * cris-tdep.c (cris_stopped_data_address): Read register values | |
3923 | from current frame instead of calling read_register. | |
3924 | * frv-tdep.c (frv_stopped_data_address): Likewise. | |
3925 | ||
982db460 UW |
3926 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3927 | ||
3928 | * solib-sunos.c (sunos_solib_create_inferior_hook): Use write_pc | |
3929 | instead of write_register (PC_REGNUM, ...). | |
3930 | ||
b4397864 UW |
3931 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3932 | ||
3933 | * solib-sunos.c (sunos_solib_create_inferior_hook): Add comment | |
3934 | explaining why the PC adjustment code is necessary. | |
3935 | ||
8ed86d01 VP |
3936 | 2007-06-15 Vladimir Prus <vladimir@codesourcery.com> |
3937 | ||
3938 | * m68k-tdep.h (enum m68k_flavour): New. | |
3939 | (struct gdbarch_tdep): New fields | |
3940 | float_return, flavour and fpregs_present. | |
3941 | * m68k-tdep.c (m68k_register_type): Use | |
3942 | fpregs_present and conditionalize floating | |
3943 | registers type on flavour. | |
3944 | (m68k_register_names): New. | |
3945 | (m68k_register_name): Use the above. | |
3946 | (m68k_convert_register_p): Consult fpregs_present. | |
3947 | (m68k_register_to_value, m68k_value_to_register): | |
3948 | Use register_type to obtain the type of floating | |
3949 | point registers. | |
3950 | (m68k_svr4_extract_return_value): Check tdep->float_return. | |
3951 | Use register_type to get the type of floating | |
3952 | point regiters. | |
3953 | (m68k_svr4_store_return_value): Likewise. | |
3954 | (m68k_dwarf_reg_to_regnum): Check tdep->fpregs_present. | |
3955 | (m68k_analyze_register_saves): Likewise. | |
3956 | (m68k_gdbarch_init): Extract infromation | |
3957 | from XML description, if present. Guess coldfire by | |
3958 | looking at the file, if present. Conditionalize | |
3959 | setting of long double format. Set decr_pc_after_break | |
3960 | to 2 on coldfire and fido. Enable XML-driven | |
3961 | register description. | |
3962 | * m68kbsd-tdep.c (m68kbsd_fpreg_offset): Use | |
3963 | size of tdep->fpreg_type, as opposed to hardcoded value. | |
3964 | * Makefile.in (m68k-tdep.o): Update dependencies. | |
3965 | ||
83cc5c53 UW |
3966 | 2007-06-15 Ulrich Weigand <uweigand@de.ibm.com> |
3967 | ||
3968 | * NEWS: Mention "info spu" commands and qXfer:spu:read and | |
3969 | qXfer:spu:write remote packet types. | |
3970 | ||
1780a0ed DJ |
3971 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
3972 | ||
3973 | * xml-tdesc.c (tdesc_start_target): New. | |
3974 | (target_attributes): New. | |
3975 | (tdesc_elements): Use it. | |
3976 | * features/gdb-target.dtd: Add #FIXED version attribute for | |
3977 | <target>. | |
3978 | ||
98a29c7e DJ |
3979 | 2007-06-13 Arthur Huillet <arthur.huillet@free.fr> |
3980 | ||
3981 | * mi/mi-cmd-var.c (mi_cmd_var_assign): Fix typo. | |
3982 | ||
9dcbb931 DJ |
3983 | 2007-06-13 Claudio Fontana <claudio.fontana@gmail.com> |
3984 | ||
3985 | * fork-child.c (fork_inferior): Update comment. | |
3986 | ||
117ce543 DJ |
3987 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
3988 | ||
3989 | * features/Makefile: Generate regformats for mips-linux and | |
3990 | mips64-linux. | |
3991 | * features/sort-regs.xsl: Correct typo. | |
3992 | * regformats/reg-mips.dat, regformats/reg-mips64.dat: Delete. | |
3993 | * regformats/mips-linux.dat, regformats/mips64-linux.dat: New generated | |
3994 | files. | |
3995 | ||
822b6570 DJ |
3996 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
3997 | ||
3998 | * config/mips/linux.mh (TDEP_XML): New. | |
3999 | * features/mips-linux.xml, features/mips64-linux.xml: New files. | |
4000 | * mips-linux-nat.c (mips_linux_register_addr): Handle | |
4001 | MIPS_RESTART_REGNUM. | |
4002 | (mips64_linux_register_addr): Likewise. | |
4003 | (super_xfer_partial, mips_linux_xfer_partial): New. | |
4004 | (_initialize_mips_linux_nat): Add them to the target_ops. | |
4005 | * mips-linux-tdep.c (mips_supply_gregset): Handle MIPS_RESTART_REGNUM. | |
4006 | (mips_fill_gregset, mips64_supply_gregset, mips64_fill_gregset) | |
4007 | (mips_linux_o32_sigframe_init) | |
4008 | (mips_linux_n32n64_sigframe_init): Likewise. | |
4009 | (mips_linux_write_pc, mips_linux_restart_reg_p): New. | |
4010 | (mips_linux_init_abi): Use mips_linux_write_pc. Check for the | |
4011 | "org.gnu.gdb.mips.linux" feature. | |
4012 | * mips-linux-tdep.h (MIPS_RESTART_REGNUM): New constant. | |
4013 | (mips_linux_restart_reg_p): New prototype. | |
4014 | * mips-tdep.c (mips_gdbarch_init): Pass tdesc_data to the OS/ABI | |
4015 | initialization routine. | |
4016 | * Makefile.in (mips-linux-tdep.o, mips-linux-nat.o): Update. | |
4017 | ||
f8b73d13 DJ |
4018 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
4019 | ||
4020 | * Makefile.in (mips-tdep.o): Update. | |
4021 | * mips-tdep.c (struct register_alias, mips_o32_aliases) | |
4022 | (mips_n32_n64_aliases, mips_register_aliases): New. | |
4023 | (mips_register_name): Call tdesc_register_name. | |
4024 | (mips_tdesc_register_reggroup_p): New. | |
4025 | (mips_pseudo_register_type, value_of_mips_user_reg): New. | |
4026 | (mips_gdbarch_init): Add target-described register support. | |
4027 | Register aliases for register names. | |
4028 | * target-descriptions.c (tdesc_register_name): Make global. | |
4029 | (tdesc_register_in_reggroup_p): New function, broken out from | |
4030 | tdesc_register_reggroup_p. | |
4031 | (tdesc_register_reggroup_p): Use it. | |
4032 | * target-descriptions.h (tdesc_register_name) | |
4033 | (tdesc_register_in_reggroup_p): New prototypes. | |
4034 | * NEWS: Correct formatting. Mention MIPS register support. | |
4035 | * features/mips-cp0.xml, features/mips-fpu.xml, | |
4036 | features/mips64-cp0.xml, gdb/features/mips64-fpu.xml, mips-cpu.xml, | |
4037 | features/mips64-cpu.xml: New files. | |
4038 | ||
17a912b6 UW |
4039 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
4040 | ||
4041 | * gdbarch.sh (TARGET_ADDR_BIT): Replace by gdbarch_addr_bit. | |
4042 | * valops.c (value_cast): Likewise. | |
4043 | * utils.c (strlen_paddr, paddr, paddr_nz, paddress): Likewise. | |
4044 | * ui-out.c (ui_out_field_core_addr): Likewise. | |
4045 | * tracepoint.c (tracepoints_info): Likewise. | |
4046 | * symtab.c (print_msymbol_info): Likewise. | |
4047 | * solib-irix.c (irix_current_sos) | |
4048 | (irix_open_symbol_file_object): Likewise. | |
4049 | * remote.c (build_remote_gdbarch_data): Likewise. | |
4050 | * prologue-value.c (make_pv_area): Likewise. | |
4051 | * procfs.c (info_mappings_callback): Likewise. | |
4052 | * printcmd.c (print_scalar_formatted) | |
4053 | (deprecated_print_address_numeric): Likewise. | |
4054 | * memattr.c (mem_info_command): Likewise. | |
4055 | * linux-nat.c (linux_nat_info_proc_cmd): Likewise. | |
4056 | * gdbtypes.c (build_flt, gdbtypes_post_init): Likewise. | |
4057 | * exec.c (print_section_info): Likewise. | |
4058 | * dwarf2read.c (read_subrange_type): Likewise. | |
4059 | * dwarf2loc.c (find_location_expression): Likewise. | |
4060 | * dwarf2expr.c (dwarf2_read_address, unsigned_address_type) | |
4061 | (signed_address_type, execute_stack_op): Likewise. | |
4062 | * breakpoint.c (print_one_breakpoint, breakpoint_1): Likewise. | |
4063 | * gdbarch.c, gdbarch.h: Regenerate. | |
4064 | ||
1143fffb UW |
4065 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
4066 | ||
4067 | * gdbarch.sh (TARGET_ARCHITECTURE): Replace by gdbarch_bfd_arch_info. | |
4068 | * arch-utils.c (show_architecture): Likewise. | |
4069 | * remote-mips.c (mips_open): Likewise | |
4070 | * nto-tdep.c (nto_find_and_open_solib) | |
4071 | (nto_init_solib_absolute_prefix): Likewise. | |
4072 | * nto-procfs (procfs_open): Likewise. | |
4073 | * m68hc11-tdep.c (gdb_print_insn_m68hc11): Likewise. | |
4074 | * gcore.c (default_gcore_mach, default_gcore_arch): Likewise. | |
4075 | * gdbarch.c, gdbarch.h: Regenerate. | |
4076 | ||
4fe99ffb UW |
4077 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
4078 | ||
4079 | * gdbarch.sh (TARGET_BFD_VMA_BIT): Replace by gdbarch_bfd_vma_bit. | |
4080 | * gdbtypes.c (build_flt): Likewise. | |
4081 | * gdbarch.c, gdbarch.h: Regenerate. | |
4082 | ||
3b3b875c UW |
4083 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
4084 | ||
4085 | * gdbarch.sh (BREAKPOINT_FROM_PC): Replace by | |
4086 | gdbarch_breakpoint_from_pc. | |
4087 | * s390-tdep.c (s390_gdbarch_init): Likewise (comment). | |
4088 | * remote.c (remote_insert_breakpoint) | |
4089 | (remote_insert_hw_breakpoint): Likewise. | |
4090 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise. | |
4091 | * mips-tdep.c (mips_breakpoint_from_pc): Likewise (comment). | |
4092 | * breakpoint.h (bp_target_info): Likewise (comment). | |
4093 | * breakpoint.c (read_memory_nobpt): Likewise. | |
4094 | * mem-break.c (default_memory_insert_breakpoint): Likewise. | |
4095 | (symtab.h, breakpoint.h): Remove include. Remove unnecessary comment. | |
4096 | * gdbarch.c, gdbarch.h: Regenerate. | |
4097 | ||
819844ad UW |
4098 | 2007-06-13 Markus Deuling <deuling@de.ibm.com> |
4099 | ||
4100 | * gdbarch.sh (TARGET_PTR_BIT): Replace with gdbarch_ptr_bit. | |
4101 | * solib-svr4.c (svr4_truncate_ptr): Likewise. | |
4102 | * solib-pa64.c (read_dynamic_info): Likewise. | |
4103 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise. | |
4104 | * solib.c (info_sharedlibrary_command): Likewise. | |
4105 | * s390-nat.c (SUBOFF): Likewise. | |
4106 | * p-valprint.c (pascal_val_print): Likewise. | |
4107 | * procfs.c (info_proc_mappings): Likewise. | |
4108 | * printcmd.c (decode_format): Likewise. | |
4109 | * nto-tdep.c (nto_truncate_ptr): Likewise. | |
4110 | * mips-linux-tdep.c (mips_linux_get_longjmp_target) | |
4111 | (mips64_linux_get_longjmp_target): Likewise. | |
4112 | * m68k-tdep.c (m68k_get_longjmp_target): Likewise. | |
4113 | * jv-valprint.c (java_value_print): Likewise. | |
4114 | * jv-lang.c (get_java_object_header_size): Likewise. | |
4115 | * hppa-tdep.c (skip_prologue_hard_way, hppa_frame_cache): Likewise. | |
4116 | * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code) | |
4117 | (hppa_hpux_unwind_adjust_stub): Likewise. | |
4118 | * gnu-v3-abi.c (build_gdb_vtable_type): Likewise. | |
4119 | * gdbtypes.c (make_pointer_type, make_reference_type) | |
4120 | (smash_to_memberptr_type): Likewise. | |
4121 | * gdbarch.c, gdbarch.h: Regenerate. | |
4122 | ||
0cc93a06 DJ |
4123 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
4124 | ||
4125 | * mips-tdep.c (mips_print_register): Remove unused ALL argument. | |
4126 | (print_gp_register_row): Stop before printing a register bigger | |
4127 | than the ABI register size. | |
4128 | (mips_print_registers_info): Update call to mips_print_register. | |
4129 | ||
67f3407f DJ |
4130 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
4131 | ||
4132 | * expression.h (enum exp_opcode): Document a register name for | |
4133 | OP_REGISTER. | |
4134 | * parse.c (write_dollar_variable): Write the register name for | |
4135 | OP_REGISTER. | |
4136 | (operator_length_standard): Expect the register name following | |
4137 | OP_REGISTER. | |
4138 | * ada-lang.c (resolve_subexp): Likewise. | |
4139 | * ax-gdb.c (gen_expr): Likewise. | |
4140 | * eval.c (evaluate_subexp_standard): Likewise. | |
4141 | * expprint.c (print_subexp_standard, dump_subexp_body_standard): | |
4142 | Likewise. | |
4143 | * tracepoint.c (encode_actions): Likewise. | |
4144 | ||
0caa462c DJ |
4145 | 2007-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
4146 | ||
4147 | * utils.c (set_screen_size): Use INT_MAX for default columns. | |
4148 | ||
4de6483e UW |
4149 | 2007-06-13 Ulrich Weigand <uweigand@de.ibm.com> |
4150 | ||
4151 | * remote.c (remote_protocol_features): Add qXfer:spu:read and | |
4152 | qXfer:spu:write packet types. | |
4153 | ||
cafad45b UW |
4154 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
4155 | ||
4156 | * gdbarch.sh (DEPRECATED_STACK_ALIGN): Remove. | |
4157 | * gdbarch.c, gdbarch.h: Regenerate. | |
4158 | ||
055d23b8 UW |
4159 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
4160 | ||
4161 | * gdbarch.sh (STAB_REG_TO_REGNUM): Replace by | |
4162 | gdbarch_stab_reg_to_regnum. | |
4163 | * stabsread.c (define_symbol): Likewise. | |
4164 | * gdbarch.sh (ECOFF_REG_TO_REGNUM): Replace by | |
4165 | gdbarch_ecoff_reg_to_regnum. | |
4166 | * mdebugread.c (parse_symbol): Likewise. | |
4167 | * i386-tdep.c (i386_gdbarch_init): Likewise (comment). | |
4168 | * gdbarch.sh (DWARF_REG_TO_REGNUM): Replace by | |
4169 | gdbarch_dwarf_reg_to_regnum. | |
4170 | * gdbarch.sh (SDB_REG_TO_REGNUM): Replace by gdbarch_sdb_reg_to_regnum. | |
4171 | * coffread.c (process_coff_symbol): Likewise. | |
4172 | * gdbarch.sh (DWARF2_REG_TO_REGNUM): Replace by | |
4173 | gdbarch_dwarf2_reg_to_regnum. | |
4174 | * dwarf2loc.c (dwarf_expr_read_reg,dwarf2_evaluate_loc_desc) | |
4175 | (locexpr_describe_location): Likewise. | |
4176 | * dwarf2-frame.c (read_reg,execute_cfa_program,dwarf2_frame_cache) | |
4177 | (dwarf2_frame_prev_register,dwarf2_signal_frame_this_id): Likewise. | |
4178 | * dwarf2loc.c (DWARF2_REG_TO_REGNUM): Remove macro. | |
4179 | * dwarf2read.c (DWARF2_REG_TO_REGNUM): Remove macro. | |
4180 | * gdbarch.c, gdbarch.h: Regenerate. | |
4181 | ||
260edbc2 UW |
4182 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
4183 | ||
4184 | * gdbarch.sh (SMASH_TEXT_ADDRESS): Replace by | |
4185 | gdbarch_smash_text_address. | |
4186 | * somread.c (som_symtab_read): Likewise. | |
4187 | * elfread.c (record_minimal_symbol): Likewise. | |
4188 | * dbxread.c (process_one_symbol): Likewise. | |
4189 | * coffread.c (coff_symtab_read): Likewise. | |
4190 | * gdbarch.c, gdbarch.h: Regenerate. | |
4191 | ||
c1afe53d UW |
4192 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
4193 | ||
4194 | * gdbarch.sh (REGISTER_TO_VALUE): Replace by gdbarch_register_to_value. | |
4195 | * findvar.c (value_from_register): Likewise. | |
4196 | * gdbarch.sh (VALUE_TO_REGISTER): Replace by gdbarch_value_to_register. | |
4197 | * valops.c (value_assign): Likewise. | |
4198 | * gdbarch.sh (CONVERT_REGISTER_P): Replace by | |
4199 | gdbarch_convert_register_p. | |
4200 | * findvar.c (value_from_register): Likewise. | |
4201 | * valops.c (value_assign): Likewise. | |
4202 | * gdbarch.c, gdbarch.h: Regenerate. | |
4203 | ||
474c1661 UW |
4204 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
4205 | ||
4206 | * gdbarch.sh (REGISTER_SIM_REGNO): Replace by | |
4207 | gdbarch_register_sim_regno. | |
4208 | * sim-regno.h (sim_regno): Likewise (comment). | |
4209 | * remote-sim.c (gdbsim_fetch_register, gdbsim_store_register): Likewise. | |
4210 | * gdbarch.c, gdbarch.h: Regenerate. | |
4211 | ||
c7bb205c UW |
4212 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
4213 | ||
4214 | * gdbarch.sh (TARGET_VIRTUAL_FRAME_POINTER): Replace by | |
4215 | gdbarch_virtual_frame_pointer. | |
4216 | * tracepoint.c (encode_actions): Likewise. | |
4217 | * dwarf2loc.c (dwarf2_loc_desc_needs_frame): Likewise. | |
4218 | * ax-gdb.c (gen_frame_args_address, gen_frame_locals_address): Likewise. | |
4219 | * gdbarch.c, gdbarch.h: Regenerate. | |
4220 | ||
ea06eb3d UW |
4221 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
4222 | ||
4223 | * gdbarch.sh (TARGET_FLOAT_BIT): Replace by gdbarch_float_bit. | |
4224 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
4225 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
4226 | * mdebugread.c (_initialize_mdebugread): Likewise. | |
4227 | * m2-lang.c (m2_create_fundamental_type) | |
4228 | (_initialize_m2_language): Likewise. | |
4229 | * gdbtypes.c (build_gdbtypes): Likewise. | |
4230 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
4231 | * doublest.c (floatformat_from_length): Likewise. | |
4232 | * c-lang.c (c_create_fundamental_type): Likewise. | |
4233 | * ada-lang.c (ada_create_fundamental_type) | |
4234 | (ada_language_arch_info): Likewise. | |
4235 | * gdbarch.sh (TARGET_FLOAT_FORMAT): Replace by gdbarch_float_format. | |
4236 | * value.c (unpack_double): Likewise (comment). | |
4237 | * gdbtypes.c (build_gdbtypes): Likewise. | |
4238 | * doublest.c (floatformat_from_length): Likewise. | |
4239 | * gdbarch.sh (TARGET_DOUBLE_BIT): Replace by gdbarch_double_bit. | |
4240 | * valarith.c (value_binop): Likewise. | |
4241 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
4242 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
4243 | * mdebugread.c (_initialize_mdebugread): Likewise. | |
4244 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
4245 | * gdbtypes.c (build_gdbtypes): Likewise. | |
4246 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
4247 | * doublest.c (floatformat_from_length): Likewise. | |
4248 | * cris-tdep.c (cris_gdbarch_init): Likewise (comment). | |
4249 | * c-lang.c (c_create_fundamental_type): Likewise. | |
4250 | * ada-lex.l (processReal): Likewise. | |
4251 | * ada-lang.c (ada_create_fundamental_type) | |
4252 | (ada_language_arch_info): Likewise. | |
4253 | * gdbarch.sh (TARGET_DOUBLE_FORMAT): Replace by gdbarch_double_format. | |
4254 | * value.c (unpack_double): Likewise (comment). | |
4255 | * gdbtypes.c (build_gdbtypes): Likewise. | |
4256 | * doublest.c (floatformat_from_length): Likewise. | |
4257 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Replace by | |
4258 | gdbarch_long_double_bit. | |
4259 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
4260 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
4261 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
4262 | * gdbtypes.c (build_gdbtypes): Likewise. | |
4263 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
4264 | * doublest.c (floatformat_from_length): Likewise. | |
4265 | * c-lang.c (c_create_fundamental_type): Likewise. | |
4266 | * ada-lex.l (processReal): Likewise. | |
4267 | * ada-lang.c (ada_create_fundamental_type) | |
4268 | (ada_language_arch_info): Likewise. | |
4269 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Replace by | |
4270 | gdbarch_long_double_format. | |
4271 | * gdbtypes.c (build_gdbtypes): Likewise. | |
4272 | * doublest.c (floatformat_from_length): Likewise. | |
4273 | * gdbarch.c, gdbarch.h: Regenerate. | |
4274 | ||
9a76efb6 UW |
4275 | 2007-06-12 Markus Deuling <deuling@de.ibm.com> |
4276 | ||
4277 | * gdbarch.sh (TARGET_SHORT_BIT): Replace by gdbarch_int_bit. | |
4278 | * ada-lang.c (ada_create_fundamental_type) | |
4279 | (ada_language_arch_info): Likewise. | |
4280 | * c-lang.c (c_create_fundamental_type): Likewise. | |
4281 | * f-lang.c (f_create_fundamental_type, build_fortran_types): Likewise. | |
4282 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
4283 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
4284 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
4285 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
4286 | * gdbarch.sh (TARGET_INT_BIT): Replace by gdbarch_int_bit. | |
4287 | * c-exp.y (parse_number): Likewise. | |
4288 | * objc-exp.y (parse_number): Likewise. | |
4289 | * ada-lex.l (processInt): Likewise. | |
4290 | * f-exp.y (parse_number): Likewise. | |
4291 | * p-exp.y (parse_number): Likewise. | |
4292 | * ada-lang.c (ada_create_fundamental_type, ada_language_arch_info) | |
4293 | (gdbtypes_post_init, build_gdbtypes): Likewise. | |
4294 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
4295 | * parse.c (build_parse): Likewise. | |
4296 | * xcoffread.c (_initialize_xcoffread): Likewise. | |
4297 | * stabsread.c (define_symbol, read_one_struct_field, read_enum_type) | |
4298 | (read_range_type): Likewise. | |
4299 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
4300 | * f-lang.c (build_fortran_types, f_create_fundamental_type): Likewise. | |
4301 | * m2-lang.c (m2_create_fundamental_type, _initialize_m2_language) | |
4302 | (m2_create_fundamental_type): Likewise. | |
4303 | * c-lang.c (c_create_fundamental_type): Likewise. | |
4304 | * coffread.c (coff_read_enum_type): Likewise. | |
4305 | * mdebugread.c (parse_symbol, _initialize_mdebugread): Likewise. | |
4306 | * dwarf2read.c (new_symbol): Likewise. | |
4307 | * gdbarch.sh (TARGET_LONG_BIT): Replace by gdbarch_long_bit. | |
4308 | * c-exp.y (parse_number): Likewise. | |
4309 | * objc-exp.y (parse_number): Likewise. | |
4310 | * ada-lex.l (processInt): Likewise. | |
4311 | * f-exp.y (parse_number): Likewise. | |
4312 | * p-exp.y (parse_number): Likewise. | |
4313 | * valarith.c (value_binop): Likewise. | |
4314 | * symfile.c (read_target_long_array, simple_overlay_update_1): Likewise. | |
4315 | * ada-lang.c (ada_create_fundamental_type) | |
4316 | (ada_language_arch_info): Likewise. | |
4317 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
4318 | * symfile.c (TARGET_LONG_BYTES): Likewise. | |
4319 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
4320 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
4321 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
4322 | * f-lang.c (f_create_fundamental_type): Likewise. | |
4323 | * c-lang.c (c_create_fundamental_type): Likewise. | |
4324 | * coffread.c (decode_base_type): Likewise. | |
4325 | * gdbarch.sh (TARGET_LONG_LONG_BIT): Replace by gdbarch_long_long_bit. | |
4326 | * c-exp.y (parse_number): Likewise. | |
4327 | * objc-exp.y (parse_number): Likewise. | |
4328 | * p-exp.y (parse_number): Likewise. | |
4329 | * ada-lang.c (ada_create_fundamental_type) | |
4330 | (ada_language_arch_info): Likewise. | |
4331 | * gdbtypes.c (gdbtypes_post_init, build_gdbtypes): Likewise. | |
4332 | * stabsread.c (read_range_type): Likewise. | |
4333 | * p-lang.c (pascal_create_fundamental_type): Likewise. | |
4334 | * objc-lang.c (objc_create_fundamental_type): Likewise. | |
4335 | * m2-lang.c (m2_create_fundamental_type): Likewise. | |
4336 | * f-lang.c (f_create_fundamental_type): Likewise. | |
4337 | * c-lang.c (c_create_fundamental_type): Likewise. | |
4338 | * gdbarch.c, gdbarch.h: Regenerate. | |
4339 | ||
272dfcfd AS |
4340 | 2007-06-12 Andreas Schwab <schwab@suse.de> |
4341 | ||
4342 | * frame-unwind.h (frame_dealloc_cache_ftype): Define. | |
4343 | (struct frame_unwind): Add dealloc_cache. | |
4344 | * frame.c (reinit_frame_cache): Call dealloc_cache on all caches. | |
4345 | ||
4346 | * libunwind-frame.h (libunwind_frame_dealloc_cache): Declare. | |
4347 | * libunwind-frame.c (libunwind_frame_dealloc_cache): Define. | |
4348 | (libunwind_frame_unwind): Set dealloc_cache. | |
4349 | * ia64-tdep.c (ia64_libunwind_frame_unwind): Set dealloc_cache. | |
4350 | ||
0e7f50da UW |
4351 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
4352 | Markus Deuling <deuling@de.ibm.com> | |
4353 | ||
4354 | * remote.c (remote_write_qxfer): New function. | |
4355 | (remote_xfer_partial): Add handling for TARGET_OBJECT_SPU. | |
4356 | (remote_read_qxfer): Do not cache empty objects. | |
4357 | (_initialize_remote): Add PACKET_qXfer_spu_read and | |
4358 | PACKET_qXfer_spu_write. | |
4359 | ||
23d964e7 UW |
4360 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
4361 | ||
4362 | * target.h (enum target_object): Add TARGET_OBJECT_SPU. | |
4363 | * spu-linux-nat.c (spu_xfer_partial): Handle TARGET_OBJECT_SPU. | |
4364 | ||
4365 | * spu-tdep.h (SPU_NUM_PSEUDO_REGS): Add 5 pseudo registers. | |
4366 | (enum spu_regnum): Add SPU_FPSCR_REGNUM, SPU_SRR0_REGNUM, | |
4367 | SPU_LSLR_REGNUM, SPU_DECR_REGNUM, SPU_DECR_STATUS_REGNUM. | |
4368 | * spu-tdep.c (infospucmdlist): New variable. | |
4369 | (spu_register_name): Handle additional pseudo registers. | |
4370 | (spu_register_type): Likewise. | |
4371 | (spu_pseudo_register_read): Likewise. | |
4372 | (spu_pseudo_register_write): Likewise. | |
4373 | (spu_pseudo_register_read_spu): New function. | |
4374 | (spu_pseudo_register_write_spu): Likewise. | |
4375 | (info_spu_event_command): New function. | |
4376 | (info_spu_signal_command): Likewise. | |
4377 | (info_spu_mailbox_list): Likewise. | |
4378 | (info_spu_mailbox_command): Likewise. | |
4379 | (spu_mfc_get_bitfield): Likewise. | |
4380 | (info_spu_dma_cmdlist): Likewise. | |
4381 | (info_spu_dma_command): Likewise. | |
4382 | (info_spu_proxydma_command): Likewise. | |
4383 | (info_spu_command): Likewise. | |
4384 | (_initialize_spu_tdep): Install "info spu" commands. | |
4385 | ||
374c1d38 UW |
4386 | 2007-06-12 Ulrich Weigand <uweigand@de.ibm.com> |
4387 | ||
4388 | * spu-linux-nat.c (spu_proc_xfer_spu): Do not return failure when | |
4389 | accessing non-seekable spufs files. | |
4390 | ||
e76f05fa UW |
4391 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4392 | ||
4393 | * gdbarch.sh (SKIP_TRAMPOLINE_CODE): Replace by | |
4394 | gdbarch_skip_trampoline_code. | |
4395 | * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment). | |
4396 | * objc-lang.c (objc_skip_trampoline) | |
4397 | (objc_submethod_helper_data): Likewise. | |
4398 | * m32c-lang.c (m32c_skip_trampoline_code): Likewise (comment). | |
4399 | * infrun.c (handle_inferior_event): Likewise. | |
4400 | * gnu-v3-abi.c (gnuv3_skip_trampoline): Likewise. | |
4401 | * gdbarch.sh (IN_SOLIB_RETURN_TRAMPOLINE): Replace by | |
4402 | gdbarch_in_solib_return_trampoline. | |
4403 | * rs6000-tdep.c (rs6000_in_solib_return_trampoline): Likewise (comment). | |
4404 | * infrun.c (handle_inferior_event): Likewise. | |
4405 | * hppa-tdep.c (hppa_stub_unwind_sniffer): Likewise. | |
4406 | * gdbarch.c, gdbarch.h: Regenerate. | |
4407 | ||
a433963d UW |
4408 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4409 | ||
4410 | * gdbarch.sh (SKIP_PROLOGUE): Replace by gdbarch_skip_prologue. | |
4411 | * symtab.c (find_function_start_sal, in_prologue): Likewise. | |
4412 | * linespec.c (minsym_found): Likewise. | |
4413 | * infrun.c (step_into_function): Likewise. | |
4414 | * gdbarch.c, gdbarch.h: Regenerate. | |
4415 | ||
aea8766f UW |
4416 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4417 | ||
4418 | * gdbarch.sh (NAME_OF_MALLOC): Replace by gdbarch_name_of_malloc. | |
4419 | * valops.c (value_allocate_space_in_inferior): Likewise. | |
4420 | * gdbarch.c, gdbarch.h: Regenerate. | |
4421 | ||
8da95a30 UW |
4422 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4423 | ||
4424 | * gdbarch.sh (MEMORY_INSERT_BREAKPOINT): Replace by | |
4425 | gdbarch_memory_insert_breakpoint. | |
4426 | * mem-break.c (memory_insert_breakpoint): Likewise. | |
4427 | * gdbarch.sh (MEMORY_REMOVE_BREAKPOINT): Replace by | |
4428 | gdbarch_memory_remove_breakpoint. | |
4429 | * mem-break.c (memory_remove_breakpoint): Likewise. | |
4430 | * gdbarch.c, gdbarch.h: Regenerate. | |
4431 | ||
985969a9 UW |
4432 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4433 | ||
4434 | * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS): Replace by | |
4435 | gdbarch_fetch_tls_load_module_address. | |
4436 | * gdbarch.sh (FETCH_TLS_LOAD_MODULE_ADDRESS_P): Replace by | |
4437 | gdbarch_fetch_tls_load_module_address_p. | |
4438 | * gdbarch.c, gdbarch.h: Regenerate. | |
4439 | ||
b798847d UW |
4440 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4441 | ||
4442 | * gdbarch.sh (DECR_PC_AFTER_BREAK): Replace by | |
4443 | gdbarch_decr_pc_after_break. | |
4444 | * tracepoint.c (trace_dump_command): Likewise. | |
4445 | * solib-sunos.c (sunos_solib_create_inferior_hook): Likewise. | |
4446 | * linux-thread-db.c (check_event): Likewise. | |
4447 | * linux-nat.c (cancel_breakpoints_callback): Likewise. | |
4448 | * infrun.c (adjust_pc_after_break, normal_stop): Likewise. | |
4449 | * frame.h: Likewise (comment). | |
4450 | * dummy-frame.c (deprecated_pc_in_call_dummy): Likewise. | |
4451 | * aix-thread.c (aix_thread_wait): Likewise. | |
4452 | * gdbarch.c, gdbarch.h: Regenerate. | |
4453 | ||
849957d9 UW |
4454 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4455 | ||
4456 | * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS): Replace by | |
4457 | gdbarch_address_class_type_flags. | |
4458 | * dwarf2read.c (read_tag_pointer_type): Likewise. | |
4459 | * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS_P): Replace by | |
4460 | gdbarch_address_class_type_flags_p. | |
4461 | * dwarf2read.c (read_tag_pointer_type): Likewise. | |
4462 | * gdbarch.c, gdbarch.h: Regenerate. | |
4463 | ||
bf6ae464 UW |
4464 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4465 | ||
4466 | * gdbarch.sh (ADDR_BITS_REMOVE): Replace by gdbarch_addr_bits_remove. | |
4467 | * value.c (value_as_address): Likewise (comment). | |
4468 | * remote-mips.c (common_breakpoint): Likewise. | |
4469 | * regcache.c (read_pc_pid): Likewise. | |
4470 | * printcmd.c (do_one_display): Likewise. | |
4471 | * monitor.c (monitor_write_memory, monitor_read_memory) | |
4472 | (monitor_insert_breakpoint): Likewise. | |
4473 | * mips-tdep.c (heuristic_proc_start): Likewise. | |
4474 | * infrun.c (insert_step_resume_breakpoint_at_frame) | |
4475 | (insert_step_resume_breakpoint_at_caller): Likewise. | |
4476 | * buildsym.c (record_line): Likewise. | |
4477 | * arm-tdep.c (arm_scan_prologue, thumb_get_next_pc) | |
4478 | (arm_get_next_pc): Likewise. | |
4479 | * armnbsd-nat.c (arm_supply_gregset, fetch_register, store_register) | |
4480 | (store_regs): Likewise. | |
4481 | * arm-linux-tdep.c (arm_linux_supply_gregset): Likewise. | |
4482 | * arm-linux-nat.c (fetch_register, fetch_regs): Likewise. | |
4483 | * gdbarch.c, gdbarch.h: Regenerate. | |
4484 | ||
c9f4d572 UW |
4485 | 2007-06-09 Markus Deuling <deuling@de.ibm.com> |
4486 | ||
4487 | * gdbarch.sh (REGISTER_NAME): Replace by gdbarch_register_name. | |
4488 | * tracepoint.c (scope_info): Likewise. | |
4489 | * target.c (debug_print_register): Likewise. | |
4490 | * stack.c (frame_info): Likewise. | |
4491 | * sh-tdep.c (sh_register_reggroup_p): Likewise. | |
4492 | * sh64-tdep.c (sh64_do_fp_register, sh64_do_register) | |
4493 | (sh64_media_print_registers_info) | |
4494 | (sh64_compact_print_registers_info): Likewise. | |
4495 | * rs6000-tdep.c (rs6000_register_reggroup_p): Likewise. | |
4496 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
4497 | * remote.c (packet_reg): Likewise (comment). | |
4498 | * reggroups.c (default_register_reggroup_p): Likewise. | |
4499 | * regcache.c (regcache_dump): Likewise. | |
4500 | * printcmd.c (address_info): Likewise. | |
4501 | * ppc-linux-nat.c (fetch_register, store_register): Likewise. | |
4502 | * mt-dep.c (mt_registers_info): Likewise. | |
4503 | * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Likewise (comment). | |
4504 | * mips-tdep.c (mips_register_reggroup_p, mips_read_fp_register_single) | |
4505 | (mips_read_fp_register_double, mips_print_fp_register) | |
4506 | (mips_print_register, print_gp_register_row, mips_print_registers_info) | |
4507 | (mips_register_sim_regno): Likewise. | |
4508 | * m68klinux-nat.c (regmap, fetch_register, store_register): Likewise. | |
4509 | * inf-ptrace.c (inf_ptrace_fetch_register) | |
4510 | (inf_ptrace_store_register): Likewise. | |
4511 | * infcmd.c (default_print_registers_info): Likewise. | |
4512 | * ia64-linux-nat.c (ia64_linux_fetch_register) | |
4513 | (ia64_linux_store_register): Likewise. | |
4514 | * i386-linux-nat.c (fetch_register, store_register): Likewise. | |
4515 | * i386gnu-nat.c (gnu_fetch_registers, gnu_store_registers): Likewise. | |
4516 | * hppa-linux-nat.c (fetch_register, store_register): Likewise. | |
4517 | * hppa-hpux-nat.c (hppa_hpux_fetch_register) | |
4518 | (hppa_hpux_store_register): Likewise. | |
4519 | * findvar.c (locate_var_value): Likewise. | |
4520 | * dwarf2loc.c (locexpr_describe_location): Likewise. | |
4521 | * dwarf2-frame.c (execute_cfa_program): Likewise. | |
4522 | * arm-tdep.c (arm_push_dummy_call): Likewise. | |
4523 | * arch-utils.c (legacy_register_sim_regno): Likewise. | |
4524 | * alpha-tdep.c (alpha_register_reggroup_p): Likewise. | |
4525 | * alpha-nat.c (fetch_osf_core_registers): Likewise. | |
4526 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
4527 | (mi_cmd_data_list_changed_registers, mi_cmd_data_list_register_values) | |
4528 | (mi_cmd_data_write_register_values): Likewise. | |
4529 | * gdbarch.c, gdbarch.h: Regenerate. | |
4530 | ||
1fc01e03 DJ |
4531 | 2007-06-07 Daniel Jacobowitz <dan@codesourcery.com> |
4532 | ||
4533 | * target-memory.c (blocks_to_erase): Correct off-by-one error. | |
4534 | ||
632110b1 VP |
4535 | 2007-06-06 Vladimir Prus <vladimir@codesourcery.com> |
4536 | ||
4537 | * remote.c (process_g_packet): Don't check size. | |
4538 | * gdbarch.sh: Remove register_bytes_ok. | |
4539 | * gdbarch.c: Regenerated. | |
4540 | * gdbarch.h: Regenerated. | |
4541 | * m68k-tdep.c (REGISTER_BYTES_NOFP): Remove. | |
4542 | (m68k_register_bytes_ok): Remove. | |
4543 | (m68k_gdbarch_init): Don't register m68k_register_bytes_ok. | |
4544 | ||
f43ae3f1 AS |
4545 | 2007-06-06 Andreas Schwab <schwab@suse.de> |
4546 | ||
4547 | * libunwind-frame.c (unw_destroy_addr_space_p): Define. | |
4548 | (destroy_addr_space_name): Define. | |
4549 | (libunwind_load): Get address of destroy_addr_space function. | |
4550 | (libunwind_frame_cache): Destroy unw_addr_space_t object before | |
4551 | returning unsuccessfully. | |
4552 | (libunwind_frame_sniffer): Destroy unw_addr_space_t object before | |
4553 | returning. | |
4554 | (libunwind_sigtramp_frame_sniffer): Likewise. | |
4555 | (libunwind_get_reg_special): Likewise. | |
4556 | ||
d99344c0 UW |
4557 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4558 | ||
4559 | * gdbarch.sh (FETCH_POINTER_ARGUMENT): Replace by | |
4560 | gdbarch_fetch_pointer_argument. | |
4561 | * objc-lang.c (OBJC_FETCH_POINTER_ARGUMENT): Likewise. | |
4562 | * gdbarch.c, gdbarch.h: Regenerate. | |
4563 | ||
e6cf7916 UW |
4564 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4565 | ||
4566 | * gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Replace by | |
4567 | gdbarch_have_nonsteppable_watchpoint. | |
4568 | * infrun.c (handle_inferior_event, adjust_pc_after_break): Likewise. | |
4569 | * gdbarch.sh (CANNOT_STEP_BREAKPOINT): Replace by | |
4570 | gdbarch_cannot_step_breakpoint. | |
4571 | * infrun.c (resume): Likewise. | |
4572 | * gdbarch.c, gdbarch.h: Regenerate. | |
4573 | ||
bbcf301a UW |
4574 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4575 | ||
4576 | * gdbarch.sh (FRAME_ARGS_SKIP): Replace by gdbarch_frame_args_skip. | |
4577 | * stack.c (print_frame_args): Likewise. | |
4578 | * gdbarch.sh (FRAME_NUM_ARGS): Replace by gdbarch_frame_num_args. | |
4579 | * stack.c (print_args_stub, frame_info): Likewise. | |
4580 | * gdbarch.sh (FRAME_NUM_ARGS_P): Replace by gdbarch_frame_num_args_p. | |
4581 | * stack.c (print_args_stub, frame_info): Likewise. | |
4582 | * gdbarch.c, gdbarch.h: Regenerate. | |
4583 | ||
95f1da47 UW |
4584 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4585 | ||
4586 | * gdbarch.sh (COFF_MAKE_MSYMBOL_SPECIAL): Replace by | |
4587 | gdbarch_coff_make_msymbol_special. | |
4588 | * coffread.c (coff_symtab_read): Likewise. | |
4589 | * gdbarch.sh (ELF_MAKE_MSYMBOL_SPECIAL): Replace by | |
4590 | gdbarch_elf_make_msymbol_special. | |
4591 | * elfread.c (elf_symtab_read): Likewise. | |
4592 | * mips-tdep.c (mips_elf_make_msymbol_special): Likewise (comment). | |
4593 | * sh64-tdep.c (MSYMBOL_IS_SPECIAL): Likewise (comment). | |
4594 | * gdbarch.c, gdbarch.h: Regenerate. | |
4595 | ||
39e8369e UW |
4596 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4597 | ||
4598 | * gdbarch.sh (FRAME_RED_ZONE_SIZE): Replace by | |
4599 | gdbarch_frame_red_zone_size. | |
4600 | * gdbarch.c, gdbarch.h: Regenerate. | |
4601 | ||
4d1e7dd1 UW |
4602 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4603 | ||
4604 | * gdbarch.sh (INNER_THAN): Replace by gdbarch_inner_than. | |
4605 | * infcall.c (call_function_by_hand): Likewise. | |
4606 | * gcore.c (derive_stack_segment): Likewise. | |
4607 | * frame.c (frame_id_inner): Likewise. | |
4608 | * arch-utils.c (core_addr_lessthan): Likewise (comment). | |
4609 | * ada-lang.c (ensure_lval): Likewise. | |
4610 | * gdbarch.c, gdbarch.h: Regenerate. | |
4611 | ||
76e71323 UW |
4612 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4613 | ||
4614 | * gdbarch.sh (ADDRESS_TO_POINTER): Replace by | |
4615 | gdbarch_address_to_pointer. | |
4616 | * findvar.c (store_typed_address): Likewise. | |
4617 | * gdbtypes.c (make_pointer_type): Likewise (comment). | |
4618 | * procfs.c (procfs_address_to_host_pointer): Likewise. | |
4619 | * std-regs.c (value_of_builtin_frame_reg): Likewise. | |
4620 | (value_of_builtin_frame_fp_reg): Likewise. | |
4621 | (value_of_builtin_frame_pc_reg): Likewise. | |
4622 | * utils.c (paddress): Likewise (comment). | |
4623 | * gdbarch.sh (POINTER_TO_ADDRESS): Replace by | |
4624 | gdbarch_pointer_to_address. | |
4625 | * findvar.c (extract_typed_address): Likewise. | |
4626 | * gdbtypes.c (make_pointer_type): Likewise (comment). | |
4627 | * valops.c (value_cast): Likewise (comment). | |
4628 | * gdbarch.c, gdbarch.h: Regenerate. | |
4629 | ||
91104499 UW |
4630 | 2007-06-06 Markus Deuling <deuling@de.ibm.com> |
4631 | ||
4632 | * gdbarch.sh (GET_LONGJMP_TARGET): Replace by gdbarch_get_longjmp_target. | |
4633 | * infrun.c (handle_inferior_event): Likewise. | |
4634 | * gdbarch.sh (GET_LONGJMP_TARGET_P): Replace by | |
4635 | gdbarch_get_longjmp_target_p. | |
4636 | * breakpoint.c (breakpoint_re_set): Likewise. | |
4637 | * infrun.c (handle_inferior_event): Likewise. | |
4638 | * gdbarch.c, gdbarch.h: Regenerate. | |
4639 | ||
d3e9c991 UW |
4640 | 2007-06-06 Ulrich Weigand <uweigand@de.ibm.com> |
4641 | ||
4642 | * hppa-hpux-tdep.c (args_for_find_stub, HP_ACC_EH_notify_hook, | |
4643 | HP_ACC_EH_set_hook_value, HP_ACC_EH_notify_callback, HP_ACC_EH_break, | |
4644 | HP_ACC_EH_catch_throw, HP_ACC_EH_catch_catch, __eh_notification, | |
4645 | hp_cxx_exception_support, hp_cxx_exception_support_initialized, | |
4646 | eh_notify_hook_addr, eh_notify_callback_addr, eh_break_addr, | |
4647 | eh_catch_throw_addr, break_callback_sal, setup_d_pid_in_inferior, | |
4648 | find_stub_with_shl_get, cover_find_stub_with_shl_get, | |
4649 | initialize_hp_cxx_exception_support, child_enable_exception_callback, | |
4650 | current_ex_event, child_get_current_exception_event): Remove. | |
4651 | (hppa_hpux_inferior_created): Remove. | |
4652 | (hppa_hpux_init_abi): Do not install hppa_hpux_inferior_created. | |
4653 | ||
4654 | * breakpoint.h (deprecated_exception_catchpoints_are_fragile): Remove. | |
4655 | (deprecated_exception_support_initialized): Remove. | |
4656 | * breakpoint.c (deprecated_exception_catchpoints_are_fragile): Remove. | |
4657 | (deprecated_exception_support_initialized): Remove. | |
4658 | (breakpoint_init_inferior): Remove handling of non-zero | |
4659 | deprecated_exception_catchpoints_are_fragile. | |
4660 | ||
4661 | * symtab.h (deprecated_hp_som_som_object_present): Remove. | |
4662 | * symtab.c (deprecated_hp_som_som_object_present): Remove. | |
4663 | * c-typeprint.c (c_type_print_base): Remove handling of non-zero | |
4664 | deprecated_hp_som_som_object_present. | |
4665 | * eval.c (evaluate_subexp_standard): Likewise. | |
4666 | * valops.c (value_cast): Likewise. | |
4667 | ||
4668 | * parse.c (parse_nested_classes_for_hpacc, coloncolon): Remove. | |
4669 | * parser-defs.h (parse_nested_classes_for_hpacc): Remove. | |
4670 | * c-exp.y (yylex): Do not call parse_nested_classes_for_hpacc. | |
4671 | ||
5e787d22 UW |
4672 | 2007-06-06 Ulrich Weigand <uweigand@de.ibm.com> |
4673 | ||
4674 | * objfiles.h (ImportEntry, ExportEntry): Remove types. | |
4675 | (struct objfile): Remove import_list, import_list_size, | |
4676 | export_list, export_list_size members. | |
4677 | (is_in_import_list): Remove prototype. | |
4678 | * objfiles.c (is_in_import_list): Remove. | |
4679 | * somread.c (init_import_symbols, init_export_symbols): Remove. | |
4680 | (som_symfile_read): Do not call init_import_symbols. Do not | |
4681 | set objfile->export_list and objfile->export_list_size. | |
4682 | ||
93e7bd98 DJ |
4683 | 2007-06-05 Daniel Jacobowitz <dan@codesourcery.com> |
4684 | ||
4685 | * dwarf2read.c (dwarf2_symbol_mark_computed): Fix formatting. | |
4686 | Use the original objfile if necessary. | |
4687 | ||
e1024ff1 DJ |
4688 | 2007-06-04 Daniel Jacobowitz <dan@codesourcery.com> |
4689 | ||
4690 | * defs.h (ldirname): New prototype. | |
4691 | * dwarf2read.c (read_file_scope): Use DW_AT_name if DW_AT_comp_dir is | |
4692 | missing. | |
4693 | * utils.c (ldirname): New function. | |
4694 | * xml-tdesc.c (file_read_description_xml): Use ldirname. | |
4695 | ||
ee82e879 UW |
4696 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
4697 | ||
4698 | * spu-tdep.c (spu_push_dummy_call): Store stack back chain. | |
4699 | ||
513f5903 JB |
4700 | 2007-06-01 Joel Brobecker <brobecker@adacore.com> |
4701 | ||
4702 | * solib-svr4.c (svr4_solib_create_inferior_hook): Remove warning. | |
4703 | ||
52a75740 UW |
4704 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
4705 | ||
4706 | * irix5-nat.c (JB_ELEMENT_SIZE, get_longjmp_target): Remove. | |
4707 | ||
c3fc7e62 UW |
4708 | 2007-06-01 Ulrich Weigand <uweigand@de.ibm.com> |
4709 | ||
4710 | * ppc-linux-tdep.c (INSTR_SC, INSTR_LI_R0_0x6666, INSTR_LI_R0_0x7777, | |
4711 | INSTR_LI_R0_NR_sigreturn, INSTR_LI_R0_NR_rt_sigreturn): Remove. | |
4712 | (PPC_LINUX_SIGNAL_FRAMESIZE, PPC_LINUX_REGS_PTR_OFFSET, | |
4713 | PPC_LINUX_HANDLER_PTR_OFFSET): Remove. | |
4714 | (ppc_linux_in_sigtramp, insn_is_sigreturn, | |
4715 | ppc_linux_at_sigtramp_return_path): Remove. | |
4716 | ||
4c6b5505 UW |
4717 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4718 | ||
4719 | * xtensa-tdep.c (XTENSA_IS_ENTRY, extract_call_winsize) | |
4720 | (xtensa_register_write_masked, xtensa_register_read_masked) | |
4721 | (xtensa_extract_return_value, xtensa_store_return_value | |
4722 | (xtensa_push_dummy_call, xtensa_breakpoint_from_pc): Replace | |
4723 | TARGET_BYTE_ORDER by gdbarch_byte_order. | |
4724 | * sh-tdep.c (sh_breakpoint_from_pc, gdb_print_insn_sh) | |
4725 | (sh_justify_value_in_reg, sh_next_flt_argreg, sh_push_dummy_call_fpu) | |
4726 | (sh_extract_return_value_fpu, sh_store_return_value_fpu): Likewise. | |
4727 | * sh64-tdep.c (sh64_breakpoint_from_pc, gdb_print_insn_sh64) | |
4728 | (sh64_push_dummy_call, sh64_extract_return_value) | |
4729 | (sh64_store_return_value, sh64_register_convert_to_virtual) | |
4730 | (sh64_register_convert_to_raw, sh64_pseudo_register_read) | |
4731 | (sh64_pseudo_register_write, sh64_do_fp_register) | |
4732 | (sh64_frame_prev_register): Likewise. | |
4733 | * score-tdep.c (score_print_insn, score_breakpoint_from_pc) | |
4734 | (score_return_value, score_push_dummy_call, score_fetch_inst): Likewise. | |
4735 | * rs6000-tdep.c (rs6000_breakpoint_from_pc, rs6000_push_dummy_call) | |
4736 | (e500_move_ev_register,gdb_print_insn_powerpc): Likewise. | |
4737 | * remote-m32r-sdi.c (m32r_resume, m32r_wait): Likewise. | |
4738 | * ppc-linux-nat.c (store_register): Likewise. | |
4739 | * nto-tdep.c (nto_find_and_open_solib) | |
4740 | (nto_init_solib_absolute_prefix): Likewise. | |
4741 | * mips-tdep.c (mips_pseudo_register_read, mips_pseudo_register_write) | |
4742 | (mips_convert_register_p, mips_eabi_push_dummy_call) | |
4743 | (mips_n32n64_push_dummy_call, mips_n32n64_return_value) | |
4744 | (mips_o32_push_dummy_call, mips_o32_return_value) | |
4745 | (mips_o64_push_dummy_call, mips_o64_return_value, mips_o64_return_value) | |
4746 | (mips_read_fp_register_single, mips_read_fp_register_double) | |
4747 | (mips_print_register, print_gp_register_row, gdb_print_insn_mips) | |
4748 | (mips_breakpoint_from_pc): Likewise. | |
4749 | * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset): Likewise. | |
4750 | * mips-linux-tdep.c (mips64_supply_fpregset, mips64_fill_fpregset) | |
4751 | (mips_linux_o32_sigframe_init): Likewise. | |
4752 | * m32r-tdep.c (m32r_memory_insert_breakpoint) | |
4753 | (m32r_memory_remove_breakpoint, m32r_breakpoint_from_pc): Likewise. | |
4754 | * libunwind-frame.c (libunwind_frame_cache, libunwind_frame_sniffer) | |
4755 | (libunwind_sigtramp_frame_sniffer, libunwind_get_reg_special): Likewise. | |
4756 | * iq2000-tdep.c (iq2000_breakpoint_from_pc): Likewise. | |
4757 | * coffread.c (process_coff_symbol): Likewise. | |
4758 | * arm-tdep.c (convert_from_extended, convert_to_extended) | |
4759 | (gdb_print_insn_arm): Likewise. | |
4760 | ||
f57d151a UW |
4761 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4762 | ||
4763 | * gdbarch.sh (NUM_REGS): Replace by gdbarch_num_regs. | |
4764 | * i386-tdep.c (i386_dbx_reg_to_regnum) | |
4765 | (i386_svr4_reg_to_regnum): Likewise. | |
4766 | * inf-ptrace.c (inf_ptrace_fetch_registers) | |
4767 | (inf_ptrace_store_registers): Likewise. | |
4768 | * corelow.c (get_core_registers): Likewise. | |
4769 | * i386-linux-nat.c (supply_gregset, fill_gregset) | |
4770 | (i386_linux_fetch_inferior_registers) | |
4771 | (i386_linux_store_inferior_registers): Likewise. | |
4772 | * remote.c (init_remote_state,packet_reg_from_regnum) | |
4773 | (packet_reg_from_pnum,process_g_packet,remote_fetch_registers) | |
4774 | (remote_prepare_to_store,store_registers_using_G) | |
4775 | (remote_store_registers,remote_arch_state): Likewise. | |
4776 | * tracepoint.c (encode_actions): Likewise. | |
4777 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
4778 | (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values) | |
4779 | (mi_cmd_data_write_register_values): Likewise. | |
4780 | * tui/tui-regs.c (tui_show_register_group) | |
4781 | (tui_show_register_group): Likewise. | |
4782 | * xtensa-tdep.h (FP_ALIAS): Likewise. | |
4783 | * xtensa-tdep.c (xtensa_register_name,xtensa_register_type) | |
4784 | (xtensa_reg_to_regnum,xtensa_pseudo_register_read) | |
4785 | (xtensa_pseudo_register_write,xtensa_register_reggroup_p): Likewise. | |
4786 | * win32-nat.c (do_win32_fetch_inferior_registers) | |
4787 | (do_win32_store_inferior_registers,fetch_elf_core_registers | |
4788 | * user-regs.h: Likewise (comment). | |
4789 | * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise. | |
4790 | * trad-frame.c (trad_frame_alloc_saved_regs): Likewise. | |
4791 | * target-descriptions.h: Likewise (comment). | |
4792 | * target-descriptions.c (tdesc_use_registers): Likewise (comment). | |
4793 | * target.c (debug_print_register): Likewise. | |
4794 | * stack.c (frame_info): Likewise. | |
4795 | * stabsread.c (define_symbol): Likewise. | |
4796 | * sh64-tdep.c (sh64_do_pseudo_register,sh64_print_register) | |
4797 | (sh64_media_print_registers_info) | |
4798 | (sh64_compact_print_registers_info): Likewise. | |
4799 | * rs6000-tdep.c (rs6000_register_sim_regno): Likewise. | |
4800 | * rs6000-nat.c (fetch_register,store_register): Likewise. | |
4801 | * remote-sim.c (one2one_register_sim_regno,gdbsim_fetch_register) | |
4802 | (gdbsim_fetch_register,gdbsim_store_register): Likewise. | |
4803 | * remote-mips.c (mips_fetch_registers,mips_store_registers): Likewise. | |
4804 | * remote-m32r-sdi.c (m32r_fetch_registers) | |
4805 | (m32r_store_registers): Likewise. | |
4806 | * reggroups.c (default_register_reggroup_p): Likewise. | |
4807 | * regcache.c (init_regcache_descr,register_size,regcache,regcache_save) | |
4808 | (regcache_restore,regcache_dump): Likewise. | |
4809 | * monitor.c (monitor_fetch_registers,monitor_store_registers): Likewise. | |
4810 | * mips-tdep.c (mips_xfer_register,mips_register_name) | |
4811 | (mips_register_reggroup_p,mips_pseudo_register_read) | |
4812 | (mips_pseudo_register_write,mips_convert_register_p,mips_register_type) | |
4813 | (mips_unwind_pc,mips_unwind_sp,mips_unwind_dummy_id,set_reg_offset) | |
4814 | (mips16_scan_prologue,mips_insn16_frame_cache,reset_saved_regs) | |
4815 | (mips32_scan_prologue,mips_insn32_frame_cache,read_next_frame_reg) | |
4816 | (mips_n32n64_return_value,mips_o32_return_value,mips_o64_return_value) | |
4817 | (print_gp_register_row,mips_print_registers_info) | |
4818 | (mips_stab_reg_to_regnum,mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
4819 | (mips_register_sim_regno): Likewise. | |
4820 | * mips-linux-tdep.c (mips_linux_o32_sigframe_init) | |
4821 | (mips_linux_n32n64_sigframe_init): Likewise. | |
4822 | * mips-linux-nat.c (mips_linux_register_addr) | |
4823 | (mips64_linux_register_addr): Likewise. | |
4824 | * findvar.c (value_of_register): Likewise. | |
4825 | * infcmd.c (default_print_registers_info,registers_info) | |
4826 | (print_vector_info,print_float_info): Likewise. | |
4827 | * mips64obsd-tdep.c (mips64obsd_sigframe_init): Likewise. | |
4828 | * inf-child.c (inf_child_fetch_inferior_registers): Likewise. | |
4829 | * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise. | |
4830 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache(: Likewise. | |
4831 | * m32r-tdep.c (m32r_frame_unwind_cache): Likewise. | |
4832 | * ia64-linux-nat.c (ia64_register_addr,ia64_cannot_fetch_register) | |
4833 | (ia64_cannot_store_register,ia64_linux_fetch_registers) | |
4834 | (ia64_linux_store_registers): Likewise. | |
4835 | * hpux-thread.c (hpux_thread_fetch_registers) | |
4836 | (hpux_thread_store_registers): Likewise. | |
4837 | * h8300-tdep.c (E_PSEUDO_CCR_REGNUM,E_PSEUDO_EXR_REGNUM) | |
4838 | (h8300_init_frame_cache,h8300_frame_cache,h8300_frame_prev_register) | |
4839 | (h8300_register_type): Likewise. | |
4840 | * dwarf2-frame.c (dwarf2_frame_cache) | |
4841 | (dwarf2_frame_state_alloc_regs): Likewise. | |
4842 | * cris-tdep.c (cris_register_size,cris_cannot_fetch_register) | |
4843 | (cris_cannot_store_register,crisv32_cannot_fetch_register) | |
4844 | (crisv32_cannot_store_register,cris_register_name): Likewise. | |
4845 | * avr-tdep.c (avr_frame_unwind_cache): Likewise. | |
4846 | * arch-utils.c (legacy_register_sim_regno) | |
4847 | (legacy_virtual_frame_pointer): Likewise. | |
4848 | * arm-tdep.c (arm_make_prologue_cache,arm_register_sim_regno):Likewise. | |
4849 | * arm-tdep.h: Likewise (comment). | |
4850 | * frv-tdep.c (frv_register_sim_regno): Likewise. | |
4851 | * m68klinux-nat.c (old_fetch_inferior_registers) | |
4852 | (old_store_inferior_registers): Likewise. | |
4853 | * m32c-tdep.c (m32c_virtual_frame_pointer): Likewise. | |
4854 | * irix5-nat.c (fetch_core_registers): Likewise. | |
4855 | * hppa-tdep.c (hppa_frame_cache): Likewise. | |
4856 | * hppa-linux-nat.c (hppa_linux_register_addr) | |
4857 | (hppa_linux_fetch_inferior_registers) | |
4858 | (hppa_linux_store_inferior_registers): Likewise. | |
4859 | * hppa-hpux-nat.c (hppa_hpux_fetch_inferior_registers) | |
4860 | (hppa_hpux_store_inferior_registers): Likewise. | |
4861 | * amd64-nat.c (amd64_native_gregset_reg_offset) | |
4862 | (amd64_supply_native_gregset,amd64_collect_native_gregset): Likewise. | |
4863 | * dbug-rom.c (dbug_regname): Likewise. | |
4864 | * m68hc11-tdep.c (m68hc11_frame_unwind_cache) | |
4865 | (HARD_PAGE_REGNUM (comment)): Likewise. | |
4866 | * gdbarch.sh (NUM_PSEUDO_REGS): Replace by gdbarch_num_pseudo_regs. | |
4867 | * i386-tdep.c (i386_dbx_reg_to_regnum) | |
4868 | (i386_svr4_reg_to_regnum): Likewise. | |
4869 | * mi/mi-main.c (mi_cmd_data_list_register_names) | |
4870 | (mi_cmd_data_list_changed_registers,mi_cmd_data_list_register_values) | |
4871 | (mi_cmd_data_write_register_values): Likewise. | |
4872 | * gdbarch.c, gdbarch.h: Regenerate. | |
4873 | * tui/tui-regs.c (tui_show_register_group): Likewise. | |
4874 | * xtensa-tdep.h (FP_ALIAS): Likewise. | |
4875 | * user-regs.h: Likewise (comment). | |
4876 | * user-regs.c (user_reg, user_reg_map_name_to_regnum): Likewise. | |
4877 | * trad-frame.c (trad_frame_alloc_saved_regs): Likewise. | |
4878 | * target-descriptions.h: Likewise (comment). | |
4879 | * target.c (debug_print_register): Likewise. | |
4880 | * stack.c (frame_info): Likewise. | |
4881 | * stabsread.c (define_symbol): Likewise. | |
4882 | * sh64-tdep.c (sh64_print_register,sh64_media_print_registers_info) | |
4883 | (sh64_compact_print_registers_info): Likewise. | |
4884 | * rs6000-tdep.c (rs6000_register_sim_regno): Likewise. | |
4885 | * regcache.c (init_regcache_descr,register_size,regcache,regcache_save | |
4886 | (regcache_restore,regcache_dump): Likewise. | |
4887 | * mips-tdep.c (print_gp_register_row,mips_print_registers_info) | |
4888 | (mips_dwarf_dwarf2_ecoff_reg_to_regnum) | |
4889 | (mips_stab_reg_to_regnum): Likewise. | |
4890 | * findvar.c (value_of_register): Likewise. | |
4891 | * infcmd.c (default_print_registers_info,registers_info) | |
4892 | (print_vector_info,print_float_info): Likewise. | |
4893 | * m68k-tdep.c (m68k_dwarf_reg_to_regnum): Likewise. | |
4894 | * h8300-tdep.c (h8300_register_type): Likewise. | |
4895 | * dwarf2-frame.c (dwarf2_frame_cache): Likewise. | |
4896 | * frame.h (SIZEOF_FRAME_SAVED_REGS): Likewise. | |
4897 | * xtensa-tdep.c (xtensa_register_type,xtensa_reg_to_regnum) | |
4898 | (xtensa_pseudo_register_read,xtensa_pseudo_register_write): Likewise. | |
4899 | * parse.c: Remove comment. | |
4900 | * gdbarch.c, gdbarch.h: Regenerate | |
4901 | ||
8d4c1ba3 UW |
4902 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4903 | ||
4904 | * gdbarch.sh (CANNOT_FETCH_REGISTER): Replace by | |
4905 | gdbarch_cannot_fetch_register. | |
4906 | * alpha-nat.c (fetch_osf_core_registers): Likewise. | |
4907 | * hppa-linux-nat.c (fetch_register): Likewise. | |
4908 | * inf-ptrace.c (inf_ptrace_fetch_register): Likewise. | |
4909 | * m68klinux-nat.c (fetch_register): Likewise. | |
4910 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): | |
4911 | Likewise. | |
4912 | * gdbarch.sh (CANNOT_STORE_REGISTER): Replace by | |
4913 | gdbarch_cannot_store_register. | |
4914 | * hppa-linux-nat.c (store_register): Likewise. | |
4915 | * inf-ptrace.c (inf_ptrace_store_register): Likewise. | |
4916 | * regcache.c (regcache_raw_write): Likewise. | |
4917 | * m68klinux-nat.c (store_register): Likewise. | |
4918 | * mipsnbsd-tdep.c (mipsnbsd_fill_reg, mipsnbsd_fill_fpreg): Likewise. | |
4919 | * gdbarch.c, gdbarch.h: Regenerate. | |
4920 | ||
3f4844da UW |
4921 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4922 | ||
4923 | * gdbarch.sh (TARGET_OSABI): Replace by gdbarch_osabi. | |
4924 | * gdbarch.c, gdbarch.h: Regenerate. | |
4925 | ||
6c6b19fd UW |
4926 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4927 | ||
4928 | * gdbarch.sh (TARGET_CHAR_SIGNED): Replace by gdbarch_char_signed. | |
4929 | * gdbtypes.c (build_gdbtypes, gdbtypes_post_init): Likewise. | |
4930 | * gdbarch.c, gdbarch.h: Regenerate. | |
4931 | ||
0d20ae72 UW |
4932 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4933 | ||
4934 | * gdbarch.sh (TARGET_BYTE_ORDER): Replace by gdbarch_byte_order. | |
4935 | * ax-gdb.c (gen_bitfield_ref): Likewise. | |
4936 | * mi/mi-main.c (get_register): Likewise. | |
4937 | * findvar.c (default_value_from_register, extract_signed_integer) | |
4938 | (extract_unsigned_integer, extract_long_unsigned_integer) | |
4939 | (store_signed_integer, store_unsigned_integer): Likewise. | |
4940 | * regcache.c (regcache_dump): Likewise. | |
4941 | * value.c (lookup_internalvar, value_of_internalvar) | |
4942 | (set_internalvar): Likewise. | |
4943 | * defs.h: Likewise. | |
4944 | * valprint.c (print_binary_chars, print_octal_chars) | |
4945 | (print_decimal_chars, print_hex_chars, print_char_chars): Likewise. | |
4946 | * infcmd.c (default_print_registers_info): Likewise. | |
4947 | * arch-utils.c (selected_byte_order, show_endian): Likewise. | |
4948 | * stabsread.c (define_symbol): Likewise. | |
4949 | * doublest.c (floatformat_from_length, floatformat_from_type) | |
4950 | (extract_typed_floating, store_typed_floating): Likewise. | |
4951 | * gdbarch.c, gdbarch.h: Regenerate. | |
4952 | ||
faaf634c UW |
4953 | 2007-05-31 Markus Deuling <deuling@de.ibm.com> |
4954 | ||
4955 | * gdbarch.sh (CALL_DUMMY_LOCATION): Replace by | |
4956 | gdbarch_call_dummy_location. | |
4957 | * infcall.c (call_function_by_hand): Likewise. | |
4958 | * inferior.h: Change comment. | |
4959 | * arch-utils.c: Change comment. | |
4960 | * gdbarch.c, gdbarch.h: Regenerate. | |
4961 | ||
8905984d JB |
4962 | 2007-05-28 Joel Brobecker <brobecker@adacore.com> |
4963 | ||
4964 | * solib-aix5.c: Delete. | |
4965 | * Makefile.in (solib-aix5.o): Delete rule. | |
4966 | ||
ab14ee8d DJ |
4967 | 2007-05-23 Daniel Jacobowitz <dan@codesourcery.com> |
4968 | ||
4969 | * breakpoint.h (enum bpstat_what_main_action): Remove | |
4970 | BPSTAT_WHAT_THROUGH_SIGTRAMP. | |
4971 | * infrun.c (process_event_stop_test): Do not check for it. | |
4972 | ||
23776285 MR |
4973 | 2007-05-22 Chris Dearman <chris@mips.com> |
4974 | Maciej W. Rozycki <macro@mips.com> | |
4975 | ||
4976 | * ser-unix.c (show_serial_hwflow): New function. | |
4977 | (hardwire_raw): Add hardware flow control support. | |
4978 | (_initialize_ser_hardwire): Add "set/show remoteflow". | |
4979 | * Makefile.in (ser-unix.o): Depend on $(gdbcmd_h). | |
4980 | * NEWS: Document the new command. | |
4981 | ||
eb368090 UW |
4982 | 2007-05-21 Ulrich Weigand <uweigand@de.ibm.com> |
4983 | ||
4984 | * config/i386/tm-linux.h (sys_quotactl): Do not define. | |
4985 | * configure.ac (sys_quotactl, START_INFERIOR_TRAPS_EXPECTED): Do not | |
4986 | define for i[[3456]]86-*-linux* native configurations. | |
4987 | * config.in, configure: Regenerate. | |
4988 | ||
8d08c9ce JB |
4989 | 2007-05-19 Joel Brobecker <brobecker@adacore.com> |
4990 | ||
4991 | * rs6000-nat.c (xcoff_relocate_symtab): Do nothing if debugging | |
4992 | a core file. Add comment in the function description. | |
4993 | ||
42be36b3 CT |
4994 | 2007-05-18 Caroline Tice <ctice@apple.com> |
4995 | ||
4996 | * c-valprint.c (c_value_print): If the initialized field of the | |
4997 | value struct is 0, print out "[uninitialized]" before the value. | |
4998 | * dwarf2expr.c (execute_stack_op): Initialize ctx->initialized field; | |
4999 | allow DW_OP_GNU_uninit as legal op following a DW_OP_reg op or a | |
5000 | DW_OP_regx op; add case for DW_OP_GNU_uninit and update | |
5001 | ctx->initialized appropriately. Verify no location op follows | |
5002 | DW_OP_GNU_uninit. | |
5003 | * dwarf2expr.h (struct dwarf_expr_context): New field, initialized. | |
5004 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): Add call to | |
5005 | set_value_initialized. | |
5006 | * dwarf2read.c (dwarf_stack_op_name): Add case for DW_OP_GNU_uninit. | |
5007 | (decode_locdesc): Add case for DW_OP_GNU_uninit. | |
5008 | * value.c (struct value): New field, initialized. | |
5009 | (allocate_value): Initialize new field. | |
5010 | (set_value_initialized): New function. | |
5011 | (value_initialized): New function. | |
5012 | * value.h (value_initialized): New extern declaration. | |
5013 | (set_value_initialized): Likewise. | |
42be36b3 | 5014 | |
a7c569c8 CT |
5015 | 2007-05-18 Caroline Tice <ctice@apple.com> |
5016 | ||
5017 | * MAINTAINERS (Write After Approval): Add self. | |
5018 | ||
1e98b326 JB |
5019 | 2007-05-17 Joel Brobecker <brobecker@adacore.com> |
5020 | ||
5021 | * gdbtypes.c (make_reference_type): Preserve the type chain | |
5022 | and set the length of all the variants of the pointer type. | |
5023 | ||
053cb41b JB |
5024 | 2007-05-17 Joel Brobecker <brobecker@adacore.com> |
5025 | ||
5026 | * gdbtypes.c (make_pointer_type): Preserve the pointer type chain | |
5027 | and set the length of all the variants of the pointer type. | |
5028 | ||
436aafc4 MR |
5029 | 2007-05-17 Maciej W. Rozycki <macro@mips.com> |
5030 | ||
5031 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix and reformat a | |
5032 | comment. | |
5033 | (mips_o64_push_dummy_call): Reformat a comment. | |
5034 | ||
98f4ab10 Q |
5035 | 2007-05-17 Qinwei <qinwei@sunnorth.com.cn> |
5036 | ||
5037 | * score-tdep.c (score_frame_cache->fp, score_analyze_prologue) | |
5038 | (score_prologue_frame_base_address): Return fp to keep gdb print | |
5039 | local variables correctly when debugging information is stabs. | |
5040 | ||
5041 | (score_analyze_prologue): For software watchpoint, fetch all the | |
5042 | instructions from range [startaddr, pc] once and identify them locally | |
5043 | to reduce memory access. | |
5044 | (score_malloc_and_get_memblock, score_free_memblock) | |
5045 | (score_adjust_memblock_ptr): New functions. | |
5046 | (score_fetch_inst): Fetch single instruction or mutiple instructions. | |
5047 | ||
5048 | (score_target_can_use_watch, score_stopped_by_watch) | |
5049 | (score_target_insert_watchpoint, score_target_remove_watchpoint) | |
5050 | (score_target_insert_hw_breakpoint, score_target_remove_hw_breakpoint): | |
5051 | New functions for remote & local hw-watchpoint and hw-breakpoint. | |
5052 | ||
60dfee72 AS |
5053 | 2007-05-16 Alfred M. Szmidt <ams@gnu.org> |
5054 | ||
5055 | * reply_mig_hack.awk: Check for `auto const mach_msg_type_t' | |
5056 | declarations as well. | |
5057 | ||
190dce09 UW |
5058 | 2007-05-16 Ulrich Weigand <uweigand@de.ibm.com> |
5059 | ||
5060 | * config/arm/embed.mt (DEPRECATED_TM_FILE): Set to tm-arm.h. | |
5061 | * config/arm/tm-embed.h: Delete file. | |
5062 | ||
5063 | * arm-tdep.h (arm_software_single_step): Declare. | |
5064 | * arm-tdep.c (arm_software_single_step): Make global. | |
5065 | (arm_gdbarch_init): Move set_gdbarch_software_single_step call | |
5066 | from here to ... | |
5067 | * arm-linux-tdep.c (arm_linux_init_abi): ... here ... | |
5068 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): ... here ... | |
5069 | * armobsd-tdep.c (armobsd_init_abi): ... here ... | |
5070 | * arm-wince-tdep.c (arm_wince_init_abi): ... and here. | |
5071 | ||
5072 | * arm-tdep.c (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT): No longer | |
5073 | allow defines to be overriden by TM file. | |
5074 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Likewise. Also, | |
5075 | change default to {0xbe,0xbe}. | |
5076 | * armobsd-tdep.c (arm_obsd_thumb_le_breakpoint, | |
5077 | arm_obsd_thumb_be_breakpoint): New global variables. | |
5078 | (armobsd_init_abi): Override tdep->thumb_breakpoint and | |
5079 | tdep->thumb_breakpoint_size. | |
5080 | * arm-wince-tdep.c (arm_wince_thumb_le_breakpoint): New variable. | |
5081 | (arm_wince_init_abi): Override tdep->thumb_breakpoint and | |
5082 | tdep->thumb_breakpoint_size. | |
5083 | ||
5084 | * arm-tdep.c (arm_gdbarch_init): Add set_gdbarch_skip_trampoline_code. | |
5085 | ||
1a69e1e4 DJ |
5086 | 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com> |
5087 | ||
5088 | * NEWS: Mention removed "set mips stack-arg-size" and "set mips | |
5089 | saved-gpreg-size". | |
5090 | ||
5091 | * mips-tdep.c (MIPS32_REGSIZE, MIPS64_REGSIZE): New constants. | |
5092 | (size_auto, size_32, size_64, size_enums, mips_abi_regsize_string) | |
5093 | (mips_stack_argsize_string, mips_stack_argsize): Delete. | |
5094 | (mips_abi_regsize): Simplify. | |
5095 | (mips_eabi_push_dummy_call, mips_n32n64_push_dummy_call) | |
5096 | (mips_n32n64_return_value, mips_o32_push_dummy_call) | |
5097 | (mips_o32_return_value, mips_o64_push_dummy_call) | |
5098 | (mips_o64_return_value): Propogate constant register sizes. Use the | |
5099 | ABI register size instead of mips_stack_argsize. | |
5100 | (mips_dump_tdep): Don't print mips_stack_argsize. | |
5101 | (_initialize_mips_tdep): Remove saved-gpreg-size and stack-arg-size | |
5102 | settings. | |
5103 | ||
7d522c90 DJ |
5104 | 2007-05-16 Daniel Jacobowitz <dan@codesourcery.com> |
5105 | ||
5106 | * config/mips/linux.mt (DEPRECATED_TM_FILE): Delete. | |
5107 | * config/mips/tm-linux.h: Delete. | |
5108 | * mips-linux-tdep.c (mips_svr4_so_ops): New. | |
5109 | (mips_linux_in_dynsym_resolve_code): Make static. Use | |
5110 | svr4_in_dynsym_resolve_code. | |
5111 | (mips_linux_init_abi): Initialize mips_svr4_so_ops. Call | |
5112 | set_solib_ops. | |
5113 | * solib-svr4.c (svr4_in_dynsym_resolve_code, svr4_so_ops): Make | |
5114 | global. | |
5115 | * solib-svr4.h (svr4_so_ops, svr4_in_dynsym_resolve_code): Declare. | |
5116 | * Makefile.in (mips-linux-tdep.o): Update. | |
5117 | * solib.c (set_solib_ops): New. | |
5118 | (current_target_so_ops): Update comment. | |
5119 | * solib.h (set_solib_ops): New prototype. | |
5120 | ||
5d51a2db MR |
5121 | 2007-05-16 Chris Dearman <chris@mips.com> |
5122 | ||
5123 | * printcmd.c (do_examine): Fix typos in a comment. | |
5124 | ||
07abfebf RS |
5125 | 2007-05-16 Richard Sandiford <richard@codesourcery.com> |
5126 | ||
5127 | * configure.ac: Allow sysroots to be relocated under $prefix as | |
5128 | well as $exec_prefix. | |
5129 | * configure: Regenerate. | |
5130 | ||
f5ce4941 UW |
5131 | 2007-05-14 Ulrich Weigand <uweigand@de.ibm.com> |
5132 | ||
5133 | * hppa-hpux-tdep.c: Do not include <dl.h> or <machine/save_state.h>. | |
5134 | (offsetof): Do not define. | |
5135 | (find_stub_with_shl_get): Use numerical value 3 instead of | |
5136 | symbolic value TYPE_PROCEDURE. | |
5137 | ||
76e1ee85 DJ |
5138 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
5139 | ||
5140 | * gdb_proc_service.h (paddr_t): Delete typedef. | |
5141 | * proc-service.c (ps_addr_to_core_addr, core_addr_to_ps_addr): New. | |
5142 | (ps_xfer_memory): Take a psaddr_t. Use ps_addr_to_core_addr. | |
5143 | (ps_pglobal_lookup): Take a psaddr_t *. Use core_addr_to_ps_addr. | |
5144 | (ps_pdread, ps_pdwrite, ps_ptread, ps_ptwrite): Take a psaddr_t. | |
5145 | * sol-thread.c (gdb_ps_addr_t): Use psaddr_t instead of paddr_t. | |
5146 | * Makefile.in (proc-service.o): Update. | |
5147 | ||
2bd0c3d7 DJ |
5148 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
5149 | ||
5150 | * Makefile.in (mips-tdep.o): Update. | |
5151 | * mips-tdep.c (mips_gdbarch_init): Register the dwarf2 CFI | |
5152 | unwinder. | |
5153 | ||
14d06750 DJ |
5154 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
5155 | ||
5156 | * dwarf2-frame.c (dwarf2_frame_prev_register): Use pack_long | |
5157 | instead of store_typed_address. | |
5158 | * value.c (pack_long): New. | |
5159 | (value_from_longest): Use it. | |
5160 | * value.h (pack_long): New prototype. | |
5161 | ||
f2fec864 DJ |
5162 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
5163 | ||
5164 | * dwarf2-frame.c (read_encoded_value): Correct typo. Use | |
5165 | DW_EH_PE_signed if appropriate. | |
5166 | ||
25e43795 DJ |
5167 | 2007-05-14 Paul Brook <paul@codesourcery.com> |
5168 | Daniel Jacobowitz <dan@codesourcery.com> | |
5169 | ||
5170 | * dwarf2read.c (dwarf2_debug_line_missing_file_complaint): New | |
5171 | function. | |
5172 | (dwarf_decode_lines): Check for line info without a file. | |
5173 | ||
027c0295 DJ |
5174 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
5175 | ||
5176 | * linux-thread-db.c (thread_db_pid_to_str): Print thread IDs | |
5177 | as hexadecimal. | |
5178 | ||
dc5000e7 DJ |
5179 | 2007-05-14 Daniel Jacobowitz <dan@codesourcery.com> |
5180 | ||
5181 | * jv-exp.y (push_fieldnames): Use STRUCTOP_PTR instead of | |
5182 | STRUCTOP_STRUCT. | |
5183 | * jv-lang.c (evaluate_subexp_java): Handle STRUCTOP_PTR instead of | |
5184 | STRUCTOP_STRUCT. | |
5185 | * jv-typeprint.c (java_print_type): Do not crash on NULL varstring. | |
5186 | ||
30244cd8 UW |
5187 | 2007-05-14 Ulrich Weigand <uweigand@de.ibm.com> |
5188 | ||
5189 | * gdbarch.sh (read_sp): Remove. | |
5190 | * gdbarch.c, gdbarch.h: Regenerate. | |
5191 | * frame.c (frame_sp_unwind): Do not call TARGET_READ_SP. | |
5192 | ||
5193 | * avr-tdep.c (avr_read_sp): Remove. | |
5194 | (avr_unwind_sp): New function. | |
5195 | (avr_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
5196 | * mips-tdep.c (mips_read_sp): Remove. | |
5197 | (mips_unwind_sp): New function. | |
5198 | (mips_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
5199 | * score-tdep.c (score_read_unsigned_register): Remove. | |
5200 | (score_read_sp): Remove. | |
5201 | (score_unwind_sp): New function. | |
5202 | (score_gdbarch_init): Install unwind_sp instead of read_sp callback. | |
5203 | ||
84ba0adf DJ |
5204 | 2007-05-14 Maxim Grigoriev <maxim2405@gmail.com> |
5205 | ||
5206 | * buildsym.c (start_subfile): Handle absolute pathnames | |
5207 | while comparing subfile names. | |
5208 | ||
e7b17823 UW |
5209 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
5210 | ||
5211 | * hppa-hpux-tdep.c: Include "regcache.h". | |
5212 | * hppa-linux-tdep.c: Likewise. | |
5213 | * hppa-tdep.c: Include "gdb_stdint.h". | |
5214 | (find_unwind_entry): Cast host pointer to uintptr_t before passing | |
5215 | it to paddr_nz. | |
5216 | * Makefile.in: Update dependencies. | |
5217 | ||
7157eed4 UW |
5218 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
5219 | ||
5220 | * blockframe.c: Remove obsolete comments. | |
5221 | * alpha-nat.c (fetch_osf_core_registers): Update comment. | |
5222 | * arm-tdep.h (enum gdb_regnum): Remove obsolete part of comment. | |
5223 | * hppa-tdep.h (enum hppa_regnum): Likewise. | |
5224 | * mips-tdep.h: Likewise. | |
5225 | * m68hc11-tdep.c: Likewise. | |
5226 | ||
fb4443d8 UW |
5227 | 2007-05-13 Ulrich Weigand <uweigand@de.ibm.com> |
5228 | ||
5229 | * inferior.h (read_sp): Remove prototype. | |
5230 | * regcache.c (read_sp): Remove. | |
5231 | * gcore.c (derive_stack_segment): Use get_frame_sp instead of read_sp. | |
5232 | * infcall.c (call_function_by_hand): Likewise. | |
5233 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Use regcache instead | |
5234 | of calling read_sp. | |
5235 | * rs6000-tdep.c (rs6000_push_dummy_call): Likewise. | |
5236 | ||
7b86a1b8 UW |
5237 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
5238 | ||
5239 | * i386-linux-nat.c (i386_linux_resume): Use regcache functions | |
5240 | instead of read_register and read_register_pid. | |
5241 | ||
5242 | * ia64-linux-nat.c (enable_watchpoints_in_psr): Use REGCACHE | |
5243 | argument instead of PTID. Use regcache functions instead of | |
5244 | read_register_pid. | |
5245 | (ia64_linux_insert_watchpoint): Update call. | |
5246 | (ia64_linux_stopped_data_address): Use regcache functions | |
5247 | instead of read_register_pid and write_register_pid. | |
5248 | ||
45ecac4b UW |
5249 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
5250 | ||
5251 | * libunwind-frame.h (struct regcache): Add forward declaration. | |
5252 | (libunwind_get_reg_special): Add REGCACHE argument. | |
5253 | * libunwind-frame.c (libunwind_get_reg_special): Add REGCACHE | |
5254 | argument. Pass it to unw_init_remote_p. | |
5255 | ||
5256 | * ia64-tdep.c (ia64_pseudo_register_read): Pass regcache to | |
5257 | libunwind_get_reg_special. | |
5258 | (ia64_access_reg): Remove "write" case. | |
5259 | (ia64_access_fpreg): Likewise. Read from next_frame passed | |
5260 | as callback argument instead of from current_regcache. | |
5261 | (ia64_access_rse_reg): Remove "write" case. Read from regcache | |
5262 | passed as callback argument instead of from current_regcache. | |
5263 | (ia64_access_rse_fpreg): New function. | |
5264 | (ia64_unw_rse_acce): Use it instead of ia64_access_fpreg. | |
5265 | ||
0ca420ce UW |
5266 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
5267 | ||
5268 | * NEWS: Mention SPU overlay support. | |
5269 | ||
0a44cb36 UW |
5270 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
5271 | ||
5272 | * spu-tdep.c (spu_frame_unwind_cache): Add comment. | |
5273 | ||
aa67235e UW |
5274 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
5275 | ||
5276 | * breakpoint.c (remove_breakpoint): Do not remove software | |
5277 | breakpoints in unmapped overlay sections. | |
5278 | ||
dcf52cd8 UW |
5279 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
5280 | ||
5281 | * spu-tdep.c: Include "observer.h". | |
5282 | (spu_frame_unwind_cache): Unwind PC through overlay return stubs. | |
5283 | (spu_overlay_data): New variable. | |
5284 | (struct spu_overlay_table): New type. | |
5285 | (spu_get_overlay_table, spu_overlay_update_osect, spu_overlay_update, | |
5286 | spu_overlay_new_objfile): New functions. | |
5287 | (spu_gdbarch_init): Install spu_overlay_update. | |
5288 | (_initialize_spu_tdep): Register spu_overlay_new_objfile, | |
5289 | allocate spu_overlay_data objfile data. | |
5290 | ||
1c772458 UW |
5291 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
5292 | ||
5293 | * gdbarch.sh (overlay_update): New gdbarch function. | |
5294 | (struct obj_section): Add forward declaration. | |
5295 | * gdbarch.c, gdbarch.h: Regenerate. | |
5296 | ||
5297 | * symfile.c (simple_overlay_update): Make global. | |
5298 | (target_overlay_update): Remove variable. | |
5299 | (overlay_is_mapped): Call gdbarch_overlay_update instead of | |
5300 | target_overlay_update. | |
5301 | (overlay_load_command): Likewise. | |
5302 | * symfile.h (struct obj_section): Add forward declaration. | |
5303 | (simple_overlay_update): Add prototype. | |
5304 | ||
5305 | * m32r-tdep.c (m32r_gdbarch_init): Install simple_overlay_update. | |
5306 | ||
06d3b283 UW |
5307 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
5308 | ||
5309 | * observer.sh: Add "struct objfile" forward declaration. | |
5310 | * target.h (deprecated_target_new_objfile_hook): Remove. | |
5311 | * symfile.c (deprecated_target_new_objfile_hook): Remove. | |
5312 | (clear_symtab_users): Call observer_notify_new_objfile. | |
5313 | (symbol_file_add_with_addrs_or_offsets): Likewise. | |
5314 | * rs6000-nat.c: Include "observer.h". | |
5315 | (vmap_ldinfo): Call observer_notify_new_objfile. | |
5316 | (xcoff_relocate_core): Likewise. | |
5317 | * remote.c (remote_new_objfile_chain): Remove. | |
5318 | (remote_new_objfile): Do not call remote_new_objfile_chain. | |
5319 | (_initialize_remote): Use observer_attach_new_objfile. | |
5320 | * tui/tui-hooks.c (tui_target_new_objfile_chain): Remove. | |
5321 | (tui_new_objfile_hook): Do not call tui_target_new_objfile_chain. | |
5322 | (_initialize_tui_hooks): Use observer_attach_new_objfile. | |
5323 | * aix-thread.c: Include "observer.h". | |
5324 | (target_new_objfile_chain): Remove. | |
5325 | (new_objfile): Do not call target_new_objfile_chain. | |
5326 | (_initialize_aix_thread): Use observer_attach_new_objfile. | |
5327 | * hpux-thread.c: Include "observer.h" | |
5328 | (target_new_objfile_chain): Remove. | |
5329 | (hpux_thread_new_objfile): Make static. Do not call | |
5330 | target_new_objfile_chain. | |
5331 | (_initialize_hpux_thread): Use observer_attach_new_objfile. | |
5332 | * linux-thread-db.c: Include "observer.h". | |
5333 | (target_new_objfile_chain): Remove. | |
5334 | (thread_db_new_objfile): Do not call target_new_objfile_chain. | |
5335 | (_initialize_thread_db): Use observer_attach_new_objfile. | |
5336 | * sol-thread.c: Include "observer.h". | |
5337 | (target_new_objfile_chain): Remove. | |
5338 | (sol_thread_new_objfile): Make static. Do not call | |
5339 | target_new_objfile_chain. | |
5340 | (_initialize_sol_thread): Use observer_attach_new_objfile. | |
5341 | * Makefile.in (aix-thread.o, hpux-thread.o, linux-thread-db.o, | |
5342 | rs6000-nat.o, sol-thread.o, tui-hooks.o): Add dependency on | |
5343 | $(observer_h). | |
5344 | ||
93ce7684 UW |
5345 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
5346 | ||
5347 | * gdbarch.sh (remote_translate_xfer_address): Remove. | |
5348 | * gdbarch.h, gdbarch.c: Regenerate. | |
5349 | * arch-utils.c (generic_remote_translate_xfer_address): Remove. | |
5350 | * arch-utils.h (generic_remote_translate_xfer_address): Remove. | |
5351 | * remote.c (remote_write_bytes_aux, remote_read_bytes): Do not | |
5352 | call gdbarch_remote_translate_xfer_address. | |
5353 | * frv-tdep.c (frv_gdbarch_init): Do not call | |
5354 | set_gdbarch_remote_translate_xfer_address. | |
5355 | * ia64-tdep.c (ia64_remote_translate_xfer_address): Remove. | |
5356 | (ia64_gdbarch_init): Do not install it. | |
5357 | ||
a6ec25f2 BW |
5358 | 2007-05-11 Bob Wilson <bob.wilson@acm.org> |
5359 | ||
5360 | * NEWS: Mention change in handling the -tui option. | |
5361 | ||
2ef52e77 DJ |
5362 | 2007-05-11 Daniel Jacobowitz <dan@codesourcery.com> |
5363 | ||
5364 | * linux-thread-db.c (enable_thread_event_reporting): Fix comment | |
5365 | typo. | |
5366 | ||
1aafd4da UW |
5367 | 2007-05-11 Ulrich Weigand <uweigand@de.ibm.com> |
5368 | ||
5369 | * breakpoint.c (single_step_breakpoint_inserted_here_p): New function. | |
5370 | (breakpoint_inserted_here_p): Call it. | |
5371 | (software_breakpoint_inserted_here_p): Likewise. | |
5372 | ||
7714d83a UW |
5373 | 2007-05-10 Ulrich Weigand <uweigand@de.ibm.com> |
5374 | ||
5375 | * inf-ptrace.c (inf_ptrace_register_u_offset): Adapt parameter list. | |
5376 | (inf_ptrace_fetch_register): Add register_u_offset callback parameters | |
5377 | GDBARCH and STORE_P. Handle callback (CORE_ADDR) -1 return value. | |
5378 | (inf_ptrace_store_register): Likewise. | |
5379 | (inf_ptrace_trad_target): Adapt register_u_offset parameter list. | |
5380 | * inf-ptrace.h (inf_ptrace_trad_target): Likewise. | |
5381 | ||
5382 | * vax-nat.c (vax_register_u_offset): Adapt parameter list. | |
5383 | ||
5384 | * linux-nat.c (linux_trad_target): Adapt parameter list. | |
5385 | * linux-nat.h (linux_trad_target): Likewise. | |
5386 | ||
5387 | * alpha-linux-nat.c (alpha_linux_register_u_offset): Adapt parameters. | |
5388 | ||
5389 | * mips-linux-nat.c (mips_linux_cannot_fetch_register): Remove. | |
5390 | (mips_linux_cannot_store_register): Likewise. | |
5391 | (mips_linux_register_addr): Add GDBARCH and STORE_P parameters. | |
5392 | Return (CORE_ADDR) -1 for registers that cannot be fetched or | |
5393 | stored via ptrace. Use GDBARCH instead of current_gdbarch. | |
5394 | (mips64_linux_register_addr): Likewise. | |
5395 | (mips_linux_register_u_offset): Adapt parameter list. Pass | |
5396 | GDBARCH and STORE_P on to mips{64}_linux_register_addr. | |
5397 | ||
5398 | * config/mips/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
5399 | * config/mips/nm-linux.h: Delete file. | |
5400 | ||
4ddda9b5 PA |
5401 | 2007-05-10 Pedro Alves <pedro_alves@portugalmail.pt> |
5402 | ||
5403 | * remote.c (remote_detach): Error out if remote can't detach. | |
5404 | ||
24d45690 UW |
5405 | 2007-05-10 Luis Machado <luisgpm@br.ibm.com> |
5406 | ||
362f854e PA |
5407 | * rs6000-tdep.c: (deal_with_atomic_sequence) Stores branch |
5408 | instruction's opcode in the "opcode" variable and declares new | |
5409 | variable "closing_insn". | |
24d45690 | 5410 | |
1430be3e MR |
5411 | 2007-05-10 Chris Dearman <chris@mips.com> |
5412 | Maciej W. Rozycki <macro@mips.com> | |
5413 | ||
5414 | * cli/cli-setshow.c (do_setshow_command): Remove trailing | |
5415 | whitespace when setting a var_filename. | |
5416 | ||
b0da54f1 BW |
5417 | 2007-05-09 Bob Wilson <bob.wilson@acm.org> |
5418 | ||
5419 | * main.c (captured_main): Recognize -tui option and print an error | |
5420 | message when the TUI is not configured. | |
5421 | ||
9a88e5ee AS |
5422 | 2007-05-09 Andreas Schwab <schwab@suse.de> |
5423 | ||
5424 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Don't | |
5425 | set removed members. | |
5426 | (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. | |
5427 | ||
fc0d8df4 UW |
5428 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
5429 | ||
5430 | * gdbarch.sh (deprecated_store_struct_return): Remove. | |
5431 | * gdbarch.c, gdbarch.h: Regenerate. | |
5432 | * frv-tdep.c (frv_store_struct_return): Remove. | |
5433 | (frv_gdbarch_init): Do not install it. | |
5434 | ||
179101d6 UW |
5435 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
5436 | ||
5437 | * config/i386/nm-i386sol2.h (USE_PROC_FS): Do not define. | |
5438 | * config/mips/nm-irix5.h (USE_PROC_FS): Do not define. | |
5439 | * config/nm-linux.h (USE_PROC_FS): Do not undefine. | |
5440 | ||
b9efddcd UW |
5441 | 2007-05-08 Ulrich Weigand <uweigand@de.ibm.com> |
5442 | ||
5443 | * spu-linux-nat.c: Include "gdb_stdint.h". | |
5444 | (fetch_ppc_register): Use uint64_t instead of unsigned long long. | |
5445 | (fetch_ppc_memory_1, store_ppc_memory_1): Likewise. | |
5446 | (fetch_ppc_memory, store_ppc_memory): Fix coding style. | |
5447 | (spu_symbol_file_add_from_memory): Use strtoulst instead of sscanf. | |
5448 | (spu_child_wait): Mark up string for translation. | |
5449 | ||
ce5eab59 UW |
5450 | 2007-05-08 Paul Gilliam <pgilliam@us.ibm.com> |
5451 | Luis Machado <luisgpm@br.ibm.com> | |
5452 | ||
5453 | * rs6000-tdep.c: (LWARX_MASK, LWARX_INSTRUCTION, LDARX_INSTRUCTION, | |
5454 | STWCX_MASK, STWCX_INSTRUCTION, STDCX_INSTRUCTION, BC_MASK, | |
5455 | BC_INSTRUCTION): Define. | |
5456 | (deal_with_atomic_sequence): New function. | |
5457 | (rs6000_software_single_step): Call deal_with_atomic_sequence. | |
5458 | (rs6000_gdbarch_init): Install deal_with_atomic_sequence as | |
5459 | gdbarch_software_single_step routine. | |
5460 | ||
4179a487 UW |
5461 | 2007-05-07 Ulrich Weigand <uweigand@de.ibm.com> |
5462 | ||
5463 | * spu-linux-nat.c (fetch_ppc_register, fetch_ppc_memory_1, | |
5464 | store_ppc_memory_1, fetch_ppc_memory, store_ppc_memory, | |
5465 | parse_spufs_run, spu_bfd_iovec_pread, spu_bfd_open, | |
5466 | spu_symbol_file_add_from_memory, spu_child_post_startup_inferior, | |
5467 | spu_child_post_attach, spu_fetch_inferior_registers, | |
5468 | spu_store_inferior_registers, spu_xfer_partial): Store PPE-side | |
5469 | memory addresses as ULONGEST, not CORE_ADDR. | |
5470 | ||
6d350bb5 UW |
5471 | 2007-05-07 Ulrich Weigand <uweigand@de.ibm.com> |
5472 | ||
5473 | * gdbarch.sh: Add skip_permanent_breakpoint callback. | |
5474 | * gdbarch.h, gdbarch.c: Regenerate. | |
5475 | ||
5476 | * infrun.c (SKIP_PERMANENT_BREAKPOINT): Remove default definition. | |
5477 | (resume): Call gdbarch_skip_permanent_breakpoint instead of | |
5478 | SKIP_PERMANENT_BREAKPOINT. Inline default case. | |
5479 | ||
5480 | * hppa-hpux-tdep.c (hppa_skip_permanent_breakpoint): Make static. | |
5481 | Add REGCACHE argument. Use it instead of read/write_register. | |
5482 | (hppa_hpux_init_abi): Install hppa_skip_permanent_breakpoint. | |
5483 | ||
5484 | * config/pa/tm-hppah.h: Delete file. | |
5485 | * config/pa/hppa64.mt (DEPRECATED_TM_FILE): Set to tm-hppa.h. | |
5486 | * config/pa/hppahpux.mt (DEPRECATED_TM_FILE): Likewise. | |
5487 | ||
b18be20d DJ |
5488 | 2007-05-07 Daniel Jacobowitz <dan@codesourcery.com> |
5489 | ||
5490 | * Makefile.in (c-lang.o, gnu-v3-abi.o): Update. | |
5491 | * NEWS: Mention improved C++ thunk support. | |
5492 | * c-lang.c (cplus_language_defn): Mention cplus_skip_trampoline. | |
5493 | * cp-abi.c (cplus_skip_trampoline): New. | |
5494 | * cp-abi.h (cplus_skip_trampoline): New prototype. | |
5495 | (struct cp_abi_ops): Add skip_trampoline member. | |
5496 | * gnu-v3-abi.c (gnuv3_skip_trampoline): New. | |
5497 | (init_gnuv3_ops): Set skip_trampoline. | |
5498 | ||
dda9b909 DJ |
5499 | 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com> |
5500 | ||
5501 | * rs6000-tdep.c (struct frame_extra_info): Delete. | |
5502 | ||
34091d9b DJ |
5503 | 2007-05-06 Daniel Jacobowitz <dan@codesourcery.com> |
5504 | ||
5505 | * linux-thread-db.c: Update some FIXME comments. | |
5506 | (thread_db_xfer_partial): Delete. | |
5507 | (init_thread_db_ops): Do not set to_xfer_partial. | |
5508 | ||
1da33a4a UW |
5509 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5510 | ||
5511 | * inftarg.c, infptrace.c: Remove files. | |
5512 | * Makefile.in (ALLDEPFILES): Remove inftarg.c and infptrace.c | |
5513 | (inftarg.o, infptrace.o): Remove rules. | |
5514 | * gdbcore.h (register_addr): Remove prototype. | |
5515 | * inferior.h (kill_inferior, store_inferior_registers, | |
5516 | fetch_inferior_registers, attach, detach, ptrace_wait, child_resume, | |
5517 | call_ptrace, pre_fork_inferior): Remove prototypes. | |
5518 | * target.h (child_xfer_memory, child_pid_to_exec_file, | |
5519 | child_core_file_to_sym_file, child_post_attach, | |
5520 | child_post_startup_inferior, child_acknowledge_created_inferior, | |
5521 | child_insert_fork_catchpoint, child_remove_fork_catchpoint, | |
5522 | child_insert_vfork_catchpoint, child_remove_vfork_catchpoint, | |
5523 | child_insert_exec_catchpoint, child_remove_exec_catchpoint, | |
5524 | child_follow_fork, child_reported_exec_events_per_exec_call, | |
5525 | child_has_exited, child_thread_alive): Remove prototypes. | |
5526 | ||
6f7a27d5 UW |
5527 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5528 | ||
5529 | * sparc-nat.h (sparc_fetch_inferior_registers): Add prototype. | |
5530 | (sparc_store_inferior_registers): Likewise. | |
5531 | * sparc-nat.c (fetch_inferior_registers): Rename to ... | |
5532 | (sparc_fetch_inferior_registers): ... this. | |
5533 | (store_inferior_registers): Rename to ... | |
5534 | (sparc_store_inferior_registers): ... this. | |
5535 | (sparc_target): Update callback names. | |
5536 | * sparc-linux.nat.c (_initialize_sparc_linux_nat): Likewise. | |
5537 | * sparc64-linux.nat.c (_initialize_sparc64_linux_nat): Likewise. | |
5538 | ||
6d8fd2b7 UW |
5539 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5540 | ||
5541 | * linux-nat.c (child_post_attach): Rename to ... | |
5542 | (linux_child_post_attach): ... this. Make static. | |
5543 | (child_follow_fork): Rename to ... | |
5544 | (linux_child_follow_fork): ... this. Make static. | |
5545 | (child_insert_fork_catchpoint): Rename to ... | |
5546 | (linux_child_insert_fork_catchpoint): ... this. Make static. | |
5547 | (child_insert_vfork_catchpoint): Rename to ... | |
5548 | (linux_child_insert_vfork_catchpoint): ... this. Make static. | |
5549 | (child_insert_exec_catchpoint): Rename to ... | |
5550 | (linux_child_insert_exec_catchpoint): ... this. Make static. | |
5551 | (child_pid_to_exec_file): Rename to ... | |
5552 | (linux_child_pid_to_exec_file): ... this. Make static. | |
5553 | Add prototype. | |
5554 | (linux_handle_extended_wait): Update call. | |
5555 | (linux_xfer_partial): Update callback routine names. | |
5556 | ||
d08950c4 UW |
5557 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5558 | ||
5559 | * configure.host (alpha*-*-osf[12]*): Remove support. | |
5560 | * NEWS: Mention removed configurations. | |
5561 | ||
5562 | * config/alpha/alpha-osf1.mh: Delete file. | |
5563 | * config/alpha/alpha-osf2.mh: Delete file. | |
5564 | * config/alpha/alpha-osf3.mh (NATDEPFILES): Remove inftarg.o | |
5565 | and infptrace.o. | |
5566 | * config/alpha/nm-osf.h: Delete file. | |
5567 | * config/alpha/nm-osf2.h: Delete file. | |
5568 | * config/alpha/nm-osf3.h: Do not include "nm-osf2.h". | |
5569 | (START_INFERIOR_TRAPS_EXPECTED): Copy from nm-osf.h. | |
5570 | (PROCFS_DONT_TRACE_FAULTS): Copy from nm-osf2.h. | |
5571 | ||
5572 | * alpha-nat.c (ALPHA_UNIQUE_PTRACE_ADDR): Do not define. | |
5573 | (register_addr, kernel_u_size): Remove. | |
5574 | Do not check for "defined(USE_PROC_FS) || defined(HAVE_GREGSET_T)". | |
5575 | ||
9c5ea4d9 UW |
5576 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5577 | ||
5578 | * regcache.c (regcache_invalidate): New function. | |
5579 | (register_cached): Remove. | |
5580 | (set_register_cached): Remove. | |
5581 | (deprecated_registers_fetched): Remove. | |
5582 | (registers_changed): Use regcache_invalidate instead | |
5583 | of set_register_cached. | |
5584 | (regcache_raw_read): Update comment. | |
5585 | ||
5586 | * regcache.h (regcache_invalidate): Add prototype. | |
5587 | (register_cached): Remove. | |
5588 | (set_register_cached): Remove. | |
5589 | (deprecated_registers_fetched): Remove. | |
5590 | ||
5591 | * findvar.c (value_of_register): Do not call register_cached. | |
5592 | * frame.c (frame_register): Likewise. | |
5593 | * tui/tui-regs.c (tui_get_register): Likewise. | |
5594 | ||
5595 | * remote.c (fetch_register_using_p): Do not call set_register_cached. | |
5596 | (process_g_packet): Likewise. | |
5597 | (remote_fetch_registers): Likewise. | |
5598 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
5599 | * mt-tdep.c (mt_select_coprocessor): Replace set_register_cached call | |
5600 | by regcache_invalidate. | |
5601 | (mt_pseudo_register_write): Likewise. | |
5602 | * sh-tdep.c (sh_pseudo_register_write): Likewise. | |
5603 | ||
5604 | * corelow.c (get_core_registers): Replace deprecated_registers_fetched | |
5605 | call by loop over regcache_raw_supply (..., NULL). | |
5606 | ||
316f2060 UW |
5607 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5608 | ||
5609 | * target.h (struct target_ops): Add REGCACHE parameter to | |
5610 | to_prepare_to_store. | |
5611 | (target_prepare_to_store): Likewise. | |
5612 | * target.c (debug_to_prepare_to_store): Add REGCACHE parameter. | |
5613 | (update_current_target): Adapt prepare_to_store de_fault rule. | |
5614 | ||
5615 | * regcache.c (regcache_raw_write): Pass regcache to | |
5616 | target_prepare_to_store. | |
5617 | ||
5618 | * inftarg.c (child_prepare_to_store): Add REGCACHE parameter. | |
5619 | Do not call CHILD_PREPARE_TO_STORE. | |
5620 | * gnu-nat.c (gnu_prepare_to_store): Likewise. | |
5621 | * procfs.c (procfs_prepare_to_store): Likewise. | |
5622 | ||
5623 | * inf-child.c (inf_child_prepare_to_store): Add REGCACHE parameter. | |
5624 | * go32-nat.c (go32_prepare_to_store): Likewise. | |
5625 | * monitor.c (monitor_prepare_to_store): Likewise. | |
5626 | * nto-procfs.c (procfs_prepare_to_store): Likewise. | |
5627 | * remote-m32r-sdi.c (m32r_prepare_to_store): Likewise. | |
5628 | * remote-mips.c (mips_prepare_to_store): Likewise. | |
5629 | * remote-sim.c (gdbsim_prepare_to_store): Likewise. | |
5630 | * win32-nat.c (win32_prepare_to_store): Likewise. | |
5631 | ||
5632 | * remote.c (remote_prepare_to_store): Add REGCACHE parameter. | |
5633 | Use it instead of current_regcache. | |
5634 | ||
5635 | * hpux-thread.c (hpux_thread_prepare_to_store): Add REGCACHE | |
5636 | parameter. Pass it on to next target. | |
5637 | * sol-thread.c (sol_thread_prepare_to_store): Likewise. | |
5638 | ||
56be3814 UW |
5639 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5640 | ||
5641 | * target.h (struct regcache): Add forward declaration. | |
5642 | (struct target_ops): Add REGCACHE parameter to to_fetch_registers | |
5643 | and to_store_registers target operations. | |
5644 | (target_fetch_registers, target_store_registers): Update. | |
5645 | ||
5646 | * regcache.c (regcache_raw_read): Replace register_cached by | |
5647 | regcache_valid_p. Pass regcache to target_fetch_registers. | |
5648 | (regcache_raw_write): Pass regcache to target_store_registers. | |
5649 | ||
5650 | * arm-linux-nat.c (store_fpregister, store_fpregs, store_register, | |
5651 | store_regs, store_wmmx_regs): Replace register_cached by | |
5652 | regcache_valid_p. | |
5653 | ||
5654 | * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd): Pass current_regcache | |
5655 | to target_fetch_registers calls. | |
5656 | * corelow.c (core_open): Likewise. | |
5657 | * linux-nat.c (linux_nat_corefile_thread_callback): Likewise. | |
5658 | * proc-service.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs, | |
5659 | ps_lsetfpregs): Likewise. | |
5660 | * sol-thread.c (ps_lgetregs, ps_lsetregs, ps_lgetfpregs, | |
5661 | ps_lsetfpregs): Likewise. | |
5662 | * win32-nat.c (win32_resume): Likewise. | |
5663 | * ia64-tdep.c (ia64_store_return_value): Pass current_regcache | |
5664 | to target_store_registers call. | |
5665 | * rs6000-tdep.c (rs6000_push_dummy_call): Likewise. | |
5666 | ||
5667 | * inferior.h (store_inferior_registers): Update prototype. | |
5668 | (fetch_inferior_registers): Likewise. | |
5669 | * gnu-nat.c (gnu_store_registers, gnu_fetch_registers): Likewise. | |
5670 | * mips-linux-nat.c (super_fetch_registers, super_store_registers): | |
5671 | Update function pointer signatures. | |
5672 | ||
5673 | * aix-thread.c (aix_thread_fetch_registers): Add REGCACHE parameter, | |
5674 | use it instead of current_regcache, update calls. | |
5675 | (aix_thread_store_registers): Likewise. | |
5676 | * alphabsd-nat.c (alphabsd_fetch_inferior_registers): Likewise. | |
5677 | (alphabsd_store_inferior_registers): Likewise. | |
5678 | * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers): Likewise. | |
5679 | (amd64bsd_store_inferior_registers): Likewise. | |
5680 | * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers): Likewise. | |
5681 | (amd64_linux_store_inferior_registers): Likewise. | |
5682 | * arm-linux-nat.c (fetch_fpregister, fetch_fpregs, store_fpregister, | |
5683 | store_fpregs, fetch_register, fetch_regs, store_register, store_regs, | |
5684 | fetch_wmmx_regs, store_wmmx_regs): Likewise. | |
5685 | (arm_linux_fetch_inferior_registers): Likewise. | |
5686 | (arm_linux_store_inferior_registers): Likewise. | |
5687 | * armnbsd-nat.c (fetch_register, fetch_regs, fetch_fp_register, | |
5688 | fetch_fp_regs, armnbsd_fetch_registers): Likewise. | |
5689 | (store_register, store_regs, store_fp_register, store_fp_regs, | |
5690 | armnbsd_store_registers): Likewise. | |
5691 | * bsd-kvm.c (bsd_kvm_fetch_pcb, bsd_kvm_fetch_registers): Likewise. | |
5692 | * bsd-uthread.c (bsd_uthread_fetch_registers): Likewise. | |
5693 | (bsd_uthread_store_registers): Likewise. | |
5694 | * corelow.c (get_core_registers): Likewise. | |
5695 | * go32-nat.c (fetch_register, go32_fetch_registers, store_register, | |
5696 | go32_store_registers): Likewise. | |
5697 | * hppabsd-nat.c (hppabsd_fetch_registers): Likewise. | |
5698 | (hppabsd_store_registers): Likewise. | |
5699 | * hppa-hpux-nat.c (hppa_hpux_fetch_register): Likewise. | |
5700 | (hppa_hpux_fetch_inferior_registers): Likewise. | |
5701 | (hppa_hpux_store_register): Likewise. | |
5702 | (hppa_hpux_store_inferior_registers): Likewise. | |
5703 | * hppa-linux-nat.c (fetch_register, store_register): Likewise. | |
5704 | (hppa_linux_fetch_inferior_registers): Likewise. | |
5705 | (hppa_linux_store_inferior_registers): Likewise. | |
5706 | * hpux-thread.c (hpux_thread_fetch_registers): Likewise. | |
5707 | (hpux_thread_store_registers): Likewise. | |
5708 | * i386bsd-nat.c (i386bsd_fetch_inferior_registers): Likewise. | |
5709 | (i386bsd_store_inferior_registers): Likewise. | |
5710 | * i386gnu-nat.c (fetch_fpregs, gnu_fetch_registers, store_fpregs, | |
5711 | gnu_store_registers): Likewise. | |
5712 | * i386-linux-nat.c (fetch_register, store_register, fetch_regs, | |
5713 | store_regs, fetch_fpregs, store_fpregs, fetch_fpxregs, store_fpxregs): | |
5714 | Likewise. | |
5715 | (i386_linux_fetch_inferior_registers): Likewise. | |
5716 | (i386_linux_store_inferior_registers): Likewise. | |
5717 | * ia64-linux-nat.c (ia64_linux_fetch_register): Likewise. | |
5718 | (ia64_linux_fetch_registers): Likewise. | |
5719 | (ia64_linux_store_register): Likewise. | |
5720 | (ia64_linux_store_registers): Likewise. | |
5721 | * inf-child.c (inf_child_fetch_inferior_registers): Likewise. | |
5722 | (inf_child_store_inferior_registers): Likewise. | |
5723 | * inf-ptrace.c (inf_ptrace_fetch_register): Likewise. | |
5724 | (inf_ptrace_fetch_registers): Likewise. | |
5725 | (inf_ptrace_store_register): Likewise. | |
5726 | (inf_ptrace_store_registers): Likewise. | |
5727 | * infptrace.c (fetch_register, store_register): Likewise. | |
5728 | (fetch_inferior_registers, store_inferior_registers): Likewise. | |
5729 | * m32r-linux-nat.c (fetch_regs, store_regs): Likewise. | |
5730 | (m32r_linux_fetch_inferior_registers): Likewise. | |
5731 | (m32r_linux_store_inferior_registers): Likewise. | |
5732 | * m68kbsd-nat.c (m68kbsd_fetch_inferior_registers): Likewise. | |
5733 | (m68kbsd_store_inferior_registers): Likewise. | |
5734 | * m68klinux-nat.c (fetch_register, old_fetch_inferior_registers, | |
5735 | store_register, old_store_inferior_registers, fetch_regs, store_regs, | |
5736 | fetch_fpregs, store_fpregs): Likewise. | |
5737 | (m68k_linux_fetch_inferior_registers): Likewise. | |
5738 | (m68k_linux_store_inferior_registers): Likewise. | |
5739 | * m88kbsd-nat.c (m88kbsd_fetch_inferior_registers): Likewise. | |
5740 | (m88kbsd_store_inferior_registers): Likewise. | |
5741 | * mips64obsd-nat.c (mips64obsd_fetch_inferior_registers): Likewise. | |
5742 | (mips64obsd_store_inferior_registers): Likewise. | |
5743 | * mips-linux-nat.c (mips64_linux_regsets_fetch_registers): Likewise. | |
5744 | (mips64_linux_regsets_store_registers): Likewise. | |
5745 | (mips64_linux_fetch_registers): Likewise. | |
5746 | (mips64_linux_store_registers): Likewise. | |
5747 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers): Likewise. | |
5748 | (mipsnbsd_store_inferior_registers): Likewise. | |
5749 | * monitor.c (monitor_fetch_register, monitor_store_register): Likewise. | |
5750 | (monitor_fetch_registers, monitor_store_registers): Likewise. | |
5751 | * nto-procfs.c (procfs_fetch_registers): Likewise. | |
5752 | (procfs_store_registers): Likewise. | |
5753 | * ppc-linux-nat.c (fetch_altivec_register, fetch_spe_register, | |
5754 | fetch_register, supply_vrregset, fetch_altivec_registers, | |
5755 | fetch_ppc_registers, ppc_linux_fetch_inferior_registers): Likewise. | |
5756 | (store_altivec_register, store_spe_register, store_register, | |
5757 | fill_vrregset, store_altivec_registers, store_ppc_registers, | |
5758 | ppc_linux_store_inferior_registers): Likewise. | |
5759 | * ppcnbsd-nat.c (ppcnbsd_fetch_inferior_registers): Likewise. | |
5760 | (ppcnbsd_store_inferior_registers): Likewise. | |
5761 | * ppcobsd-nat.c (ppcobsd_fetch_registers): Likewise. | |
5762 | (ppcobsd_store_registers): Likewise. | |
5763 | * procfs.c (procfs_fetch_registers, procfs_store_registers): Likewise. | |
5764 | * remote.c (fetch_register_using_p, process_g_packet, | |
5765 | fetch_registers_using_g, remote_fetch_registers): Likewise. | |
5766 | (store_register_using_P, store_registers_using_G, | |
5767 | remote_store_registers): Likewise. | |
5768 | * remote-m32r-sdi.c (m32r_fetch_registers, m32r_fetch_register, | |
5769 | m32r_store_register, m32r_store_register): Likewise. | |
5770 | * remote-mips.c (mips_fetch_registers, mips_store_registers): Likewise. | |
5771 | * remote-sim.c (gdbsim_fetch_register): Likewise. | |
5772 | (gdbsim_store_register): Likewise. | |
5773 | * rs6000-nat.c (fetch_register, store_register): Likewise. | |
5774 | (rs6000_fetch_inferior_registers): Likewise. | |
5775 | (rs6000_store_inferior_registers): Likewise. | |
5776 | * s390-nat.c (fetch_regs, store_regs): Likewise. | |
5777 | (fetch_fpregs, store_fpregs): Likewise. | |
5778 | (s390_linux_fetch_inferior_registers): Likewise. | |
5779 | (s390_linux_store_inferior_registers): Likewise. | |
5780 | * shnbsd-nat.c (shnbsd_fetch_inferior_registers): Likewise. | |
5781 | (shnbsd_store_inferior_registers): Likewise. | |
5782 | * sol-thread.c (sol_thread_fetch_registers): Likewise. | |
5783 | (sol_thread_store_registers): Likewise. | |
5784 | * sparc-nat.c (fetch_inferior_registers): Likewise. | |
5785 | (store_inferior_registers): Likewise. | |
5786 | * spu-linux-nat.c (spu_fetch_inferior_registers): Likewise. | |
5787 | (spu_store_inferior_registers): Likewise. | |
5788 | * target.c (debug_print_register): Likewise. | |
5789 | (debug_to_fetch_registers, debug_to_store_registers): Likewise. | |
5790 | * vaxbsd-nat.c (vaxbsd_fetch_inferior_registers): Likewise. | |
5791 | (vaxbsd_store_inferior_registers): Likewise. | |
5792 | * win32-nat.c (do_win32_fetch_inferior_registers): Likewise. | |
5793 | (win32_fetch_inferior_registers): Likewise. | |
5794 | (win32_store_inferior_registers): Likewise. | |
5795 | ||
9eefc95f UW |
5796 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5797 | ||
5798 | * gdbcore.h (struct regcache): Add forward declaration. | |
5799 | (struct core_fns): Add REGCACHE argument to core_read_registers | |
5800 | callback. | |
5801 | * corelow.c (get_core_register_section): Add REGCACHE argument, | |
5802 | use it instead of current_regcache, pass it to core_read_registers | |
5803 | callback. | |
5804 | (get_core_registers): Add current_regcache as parameter to | |
5805 | get_core_register_section calls. | |
5806 | ||
5807 | * alpha-nat.c (fetch_osf_core_registers): Add REGCACHE argument, | |
5808 | use it instead of current_regcache. | |
5809 | * armnbsd-nat.c (fetch_core_registers): Likewise. | |
5810 | (fetch_elfcore_registers): Likewise. | |
5811 | * core-regset.c (fetch_core_registers): Likewise. | |
5812 | * cris-tdep.c (fetch_core_registers): Likewise. | |
5813 | * irix5-nat.c (fetch_core_registers): Likewise. | |
5814 | * m68klinux-nat.c (fetch_core_registers): Likewise. | |
5815 | * mips-linux-tdep.c (fetch_core_registers): Likewise. | |
5816 | * win32-nat.c (fetch_elf_core_registers): Likewise. | |
5817 | ||
7f7fe91e UW |
5818 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5819 | ||
5820 | * gregset.h (struct regcache): Add forward declaration. | |
5821 | (supply_gregset): Add REGCACHE parameter, make GREGS const. | |
5822 | (supply_fpregset): Add REGCACHE parameter, make FPREGS const. | |
5823 | (supply_fpxregset): Add REGCACHE parameter, make FPXREGS const. | |
5824 | (fill_gregset): Add REGCACHE parameter. | |
5825 | (fill_fpregset): Likewise. | |
5826 | (fill_fpxregset): Likewise. | |
5827 | ||
5828 | Update all definitions accordingly: | |
5829 | * alphabsd-nat.c, alpha-linux-nat.c, alpha-nat.c, amd64-linux-nat.c, | |
5830 | arm-linux-nat.c, hppa-linux-nat.c, i386gnu-nat.c, i386-linux-nat.c, | |
5831 | i386-sol2-nat.c, i386v4-nat.c, ia64-linux-nat.c, irix5-nat.c, | |
5832 | m32r-linux-nat.c, m68klinux-nat.c, mips-linux-nat.c, ppc-linux-nat.c, | |
5833 | s390-nat.c, sparc64-linux-nat.c, sparc-linux-nat.c, sparc-sol2-nat.c | |
5834 | (supply_gregset): Add REGCACHE parameter, use it instead of | |
5835 | current_regcache. Make GREGSETP parameter const, adapt casts. | |
5836 | (supply_fpregset): Add REGCACHE parameter, use it instead of | |
5837 | current_regcache. Make FPREGSETP parameter const, adapt casts. | |
5838 | (fill_gregset): Add REGCACHE parameter, use it instead of | |
5839 | current_regcache. | |
5840 | (fill_fpregset): Likewise. | |
5841 | ||
5842 | Update all callers to pass in current_regcache as the new argument: | |
5843 | * core-regset.c: Include "regcache.h". | |
5844 | (fetch_core_registers): Update supply_gregset,and supply_fpregset calls. | |
5845 | * procfs.c: Include "regcache.h". | |
5846 | (procfs_fetch_registers): Update supply_gregset, supply_fpregset calls. | |
5847 | (procfs_store_registers): Update fill_gregset, fill_fpregset calls. | |
5848 | (procfs_do_thread_registers): Likewise. | |
5849 | (procfs_make_note_section): Likewise. | |
5850 | * proc-service.c: Include "regcache.h". | |
5851 | (ps_lgetregs): Update fill_gregset call. | |
5852 | (ps_lsetregs): Update supply_gregset call. | |
5853 | (ps_lgetfpregs): Update fill_fpregset call. | |
5854 | (ps_lsetfpregs): Update supply_fpregset call. | |
5855 | * sol-thread.c (sol_thread_fetch_registers): Update supply_gregset, | |
5856 | supply_fpregset calls. | |
5857 | (sol_thread_store_registers): Update fill_gregset, fill_fpregset calls. | |
5858 | (ps_lgetregs): Update fill_gregset call. | |
5859 | (ps_lsetregs): Update supply_gregset call. | |
5860 | (ps_lgetfpregs): Update fill_fpregset call. | |
5861 | (ps_lsetfpregs): Update supply_fpregset call. | |
5862 | ||
5863 | * linux-nat.c (linux_nat_do_thread_registers): Update fill_gregset, | |
5864 | fill_fpregset, and fill_fpxregset calls. | |
5865 | * i386-linux-nat.c (fetch_regs): Update supply_gregset call. | |
5866 | (store_regs): Update fill_gregset call. | |
5867 | (fetch_fpregs): Update supply_fpregset call. | |
5868 | (store_fpregs): Update fill_fpregset call. | |
5869 | (fetch_fpxregs): Update supply_fpxregset call. | |
5870 | (store_fpxregs): Update fill_fpxregset call. | |
5871 | * m32r-linux-nat.c (fetch_regs): Update supply_gregset call. | |
5872 | (store_regs): Update fill_gregset call. | |
5873 | * m68klinux-nat.c (fetch_regs): Update supply_gregset call. | |
5874 | (store_regs): Update fill_gregset call. | |
5875 | (fetch_fpregs): Update supply_fpregset call. | |
5876 | (store_fpregs): Update fill_fpregset call. | |
5877 | (fetch_core_registers): Update supply_gregset, supply_fpregset calls. | |
5878 | * s390-nat.c (fetch_regs): Update supply_gregset call. | |
5879 | (store_regs): Update fill_gregset call. | |
5880 | (fetch_fpregs): Update supply_fpregset call. | |
5881 | (store_fpregs): Update fill_fpregset call. | |
5882 | ||
5883 | * Makefile.in (core-regset.o, procfs.o, proc-service.o): Update | |
5884 | dependencies. | |
5885 | ||
c410a84c UW |
5886 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5887 | ||
5888 | * monitor.c (monitor_supply_register): Add REGCACHE parameter, use | |
5889 | it instead of current_regcache. | |
5890 | (parse_register_dump): Add REGCACHE parameter, pass it to | |
5891 | supply_register callback. | |
5892 | (monitor_dump_reg_block): Add REGCACHE parameter, pass it to | |
5893 | parse_register_dump. | |
5894 | (monitor_dump_regs): Add REGCACHE parameter, pass it to | |
5895 | parse_register_dump and dumpregs callback. | |
5896 | (monitor_wait): Pass current_regcache to parse_register_dump and | |
5897 | monitor_dump_regs. | |
5898 | (monitor_fetch_register): Pass current_regcache to | |
5899 | monitor_supply_register. | |
5900 | (monitor_fetch_registers): Pass current_regcache to | |
5901 | monitor_dump_regs. | |
5902 | * monitor.h (struct monitor_ops): Add REGCACHE parameter to | |
5903 | supply_register and dumpregs callbacks. | |
5904 | (monitor_supply_register, monitor_dump_reg_block): Update | |
5905 | prototypes. | |
5906 | * dbug-rom.c (dbug_supply_register): Add REGCACHE parameter. Pass | |
5907 | it to monitor_supply_register. | |
5908 | * dink32-rom.c (dink32_supply_register): Likewise. | |
5909 | * ppcbug-rom.c (ppcbug_supply_register): Likewise. | |
5910 | * m32r-rom.c (m32r_supply_register): Likewise. Also, use REGCACHE | |
5911 | instead of current_regcache. | |
5912 | ||
468e3d51 UW |
5913 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5914 | ||
5915 | * i386-nto-tdep.c (i386nto_supply_gregset, i386nto_supply_fpregset): | |
5916 | Add REGCACHE parameter. Use it instead of current_regcache. | |
5917 | (i386nto_supply_regset): Add REGCACHE parameter, pass it to | |
5918 | i386nto_supply_gregset and i386nto_supply_fpregset. | |
5919 | (i386nto_regset_fill): Add REGCACHE parameter; use it instead | |
5920 | of current_regcache. | |
5921 | ||
5922 | * nto-procfs.c (procfs_fetch_registers): Pass current_regcache to | |
5923 | nto_supply_ helper functions. | |
5924 | (procfs_store_registers): Pass current_regcache to nto_regset_fill. | |
5925 | ||
5926 | * nto-tdep.c (nto_dummy_supply_regset): Add REGCACHE parameter. | |
5927 | ||
5928 | * nto-tdep.h (struct nto_target_ops): Add REGCACHE parameter to | |
5929 | supply_greget, supply_fpregset, supply_altregset, supply_regset, | |
5930 | and regset_fill member function pointers. | |
5931 | (nto_dummy_supply_regset): Adapt prototype. | |
5932 | ||
4e3269e3 UW |
5933 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5934 | ||
5935 | * shnbsd-tdep.c (shnbsd_supply_reg): Add REGCACHE parameter, use it | |
5936 | instead of current_regcache. Make REGS const. | |
5937 | (shnbsd_fill_reg): Add REGCACHE parameter; replace current_regcache. | |
5938 | * shnbsd-tdep.h (shnbsd_supply_reg, shnbsd_fill_reg): Update | |
5939 | prototypes. | |
5940 | * shnbsd-nat.c: Include "regcache.h". | |
5941 | (shnbsd_fetch_inferior_registers): Pass current_regcache to | |
5942 | shnbsd_supply_reg. | |
5943 | (shnbsd_store_inferior_registers): Pass current_regcache to | |
5944 | shnbsd_fill_reg. | |
5945 | * Makefile.in (shbsd-nat.o): Update dependencies. | |
5946 | ||
28f5035f UW |
5947 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5948 | ||
5949 | * mips-linux-tdep.c (supply_32bit_reg): Add REGCACHE parameter. Use it | |
5950 | instead of current_regcache. | |
5951 | (mips_supply_gregset): Likewise. Pass REGCACHE to supply_32bit_reg. | |
5952 | Make GREGSETP const, remove superfluous casts. | |
5953 | (mips_fill_gregset): Add REGCACHE parameter; replace current_regcache. | |
5954 | (mips_supply_fpregset): Likewise. Make FPREGSETP const, remove | |
5955 | superfluous casts. | |
5956 | (mips_fill_fpregset): Add REGCACHE parameter; replace current_regcache. | |
5957 | (supply_64bit_reg): Likewise | |
5958 | (mips64_supply_gregset): Likewise. Pass REGCACHE to supply_64bit_reg. | |
5959 | Make GREGSETP const, adapt casts accordingly. | |
5960 | (mips64_fill_gregset): Add REGCACHE parameter; replace current_regcache. | |
5961 | (mips64_supply_fpregset): Likewise. Make FPREGSET const, adapt | |
5962 | casts accordingly. | |
5963 | (mips64_fill_fpregset): Add REGCACHE parameter; replace current_regcache. | |
5964 | (fetch_core_registers): Pass current_regcache to mips{64}_(supply|fill)_ | |
5965 | helper routines. | |
5966 | * mips-linux-tdep.h (mips_supply_gregset, mips_fill_gregset, | |
5967 | mips_supply_fpregset, mips_fill_fpregset, mips64_supply_gregset, | |
5968 | mips64_fill_gregset, mips64_supply_fpregset, mips64_fill_fpregset): | |
5969 | Adapt prototypes. | |
5970 | * mips-linux-nat.c: Include "regcache.h". | |
5971 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass | |
5972 | current_regcache to mips{64}_(supply|fill)_ helper routines. | |
5973 | (mips64_linux_regsets_fetch_registers): Likewise. | |
5974 | (mips64_linux_regsets_store_registers): Likewise. | |
5975 | ||
5976 | * mipsnbsd-tdep.c (mipsnbsd_supply_reg, mipsnbsd_supply_fpreg): Add | |
5977 | REGCACHE argument; replace current_regcache. Make REGS const. | |
5978 | (mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Add REGCACHE argument; | |
5979 | replace current_regcache. | |
5980 | * mipsnbsd-tdep.h (ipsnbsd_supply_reg, mipsnbsd_supply_fpreg, | |
5981 | mipsnbds_fill_reg, mipsnbsd_fill_fpreg): Adapt prototypes. | |
5982 | * mipsnbsd-nat.c (mipsnbsd_fetch_inferior_registers, | |
5983 | mipsnbsd_store_inferior_registers): Pass current_regcache to | |
5984 | mipsnbsd_(supply|fill)_... helper routines. | |
5985 | ||
5986 | * Makefile.in (mips-linux-nat.o): Update dependencies. | |
5987 | ||
26144df5 UW |
5988 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
5989 | ||
5990 | * i387-tdep.c (i387_fill_fsave, i387_fill_fxsave): Remove. | |
5991 | * i387-tdep.h (i387_fill_fsave, i387_fill_fxsave): Remove prototypes. | |
5992 | * i368-linux-nat.c (supply_fpregset, supply_fpxregset): Replace | |
5993 | i387_fill_fsave and i387_fill_fxsave calls by inline copies. | |
5994 | * i386-nto-tdep.c (i386nto_regset_fill): Likewise. | |
5995 | * i386gnu-nat.c (store_fpregs): Likewise. | |
5996 | * i386v4-nat.c (fill_fpregset): Likewise. | |
5997 | * go32-nat.c (store_register, go32_store_registers): Likewise. | |
5998 | ||
c6b4e5a2 UW |
5999 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
6000 | ||
6001 | * cris-tdep.c (supply_gregset): Rename to ... | |
6002 | (cris_supply_gregset): ... this. Add REGCACHE parameter. Use it | |
6003 | instead of current_regcache. | |
6004 | (fetch_core_registers): Update call. Pass current_regcache. | |
6005 | ||
d683e2b7 UW |
6006 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
6007 | ||
6008 | * arnmnbsd-nat.c (supply_gregset): Rename to ... | |
6009 | (arm_supply_gregset): ... this. Add REGCACHE parameter. | |
6010 | Use it instead of current_regcache. | |
6011 | (supply_fparegset): Rename to ... | |
6012 | (arm_supply_fparegset): ... this. Add REGCACHE parameter. | |
6013 | Use it instead of current_regcache. | |
6014 | (fetch_regs, fetch_fp_regs): Update calls. Pass current_regcache. | |
6015 | (fetch_core_registers, fetch_elfcore_registers): Likewise. | |
6016 | ||
390c1522 UW |
6017 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
6018 | ||
6019 | * alpha-tdep.c (alpha_supply_int_regs, alpha_fill_int_regs, | |
6020 | alpha_supply_fp_regs, alpha_fill_fp_regs): Add REGCACHE parameter, | |
6021 | use it instead of current_regcache. | |
6022 | * alpha-tdep.h (struct regcache): Add forward declaration. | |
6023 | (alpha_supply_int_regs, alpha_fill_int_regs, alpha_supply_fp_regs, | |
6024 | alpha_fill_fp_regs): Update prototypes. | |
6025 | ||
6026 | * alpha-nat.c: (supply_gregset, fill_gregset, supply_fpregset, | |
6027 | fill_fpregset): Pass current_regcache to alpha_supply/fill_ routines. | |
6028 | * alpha-linux-nat.c: Include "regcache.h". | |
6029 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Pass | |
6030 | current_regcache to alpha_supply/fill_ routines. | |
6031 | ||
6032 | * alphabsd-tdep.c: Include "regcache.h". | |
6033 | (alphabsd_supply_reg, alphabsd_supply_fpreg): Add REGCACHE paramter, | |
6034 | pass it to alpha_supply_ routines. Make REGS const. | |
6035 | (alphabsd_fill_reg, alphabsd_fill_fpreg): Add REGCACHE parameter, | |
6036 | pass it to alpha_fill_ routines. | |
6037 | * alphabsd-tdep.h (struct regcache): Add forward declaration. | |
6038 | (alphabsd_supply_reg, alphabsd_fill_reg, alphabsd_supply_fpreg, | |
6039 | alphabsd_fill_fpreg): Update prototypes. | |
6040 | ||
6041 | * alphanbsd-nat.c (supply_gregset, fill_gregset, supply_fpregset, | |
6042 | fill_fpregset, alphabsd_fetch_inferior_registers, | |
6043 | alphabsd_store_inferior_registers): Pass current_regcache to | |
6044 | alphabsd_supply/fill_ routines. | |
6045 | ||
6046 | * Makefile.in (alpha-linux-nat.o, alphabsd-tdep.o): Update | |
6047 | dependencies. | |
6048 | ||
647478e0 UW |
6049 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
6050 | ||
6051 | * aix-thread.c (supply_gprs64, supply_reg32, supply_fprs, | |
6052 | supply_sprs64, supply_sprs32): Add REGCACHE parameter, use it | |
6053 | instead of current_regcache. | |
6054 | (fetch_regs_user_thread, fetch_regs_kernel_thread): Add | |
6055 | REGCACHE parameter, pass it to supply_ routines. | |
6056 | (aix_thread_fetch_registers): Pass current_regcache to | |
6057 | fetch_regs_user_thread and fetch_regs_kernel_thread. | |
6058 | ||
6059 | (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs64, fill_sprs32): | |
6060 | Add REGCACHE parameter, use it instead of current_regcache. | |
6061 | Call regcache_valid_p instead of register_cached. | |
6062 | (store_regs_user_thread, store_regs_kernel_thread): Likewise. | |
6063 | Also, pass REGCACHE to fill_ routines. | |
6064 | (aix_thread_store_registers): Pass current_regcache to | |
6065 | store_regs_user_thread and store_regs_kernel_thread. | |
6066 | ||
d817e083 UW |
6067 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
6068 | ||
6069 | * m32r-linux-nat.c (supply_gregset): Do not modify contents | |
6070 | pointed to by GREGSETP. | |
6071 | ||
6a1872e4 UW |
6072 | 2007-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
6073 | ||
6074 | * irix5-nat.c (fill_gregset): Use regcache_raw_collect instead | |
6075 | of regcache_raw_read_signed. | |
6076 | (fill_fpregset): Use regcache_raw_collect instead of | |
6077 | regcache_raw_read. | |
6078 | ||
6da397e0 KB |
6079 | 2007-05-03 Kevin Buettner <kevinb@redhat.com> |
6080 | ||
6081 | * mips-tdep.c (mips_eabi_push_dummy_call): When pushing floating | |
6082 | point arguments, test explicitly for use of the EABI32 ABI | |
6083 | instead of inferring this condition from tests on register | |
6084 | sizes. | |
6085 | ||
2219d63c KB |
6086 | 2007-05-03 Kevin Buettner <kevinb@redhat.com> |
6087 | ||
6088 | * breakpoint.c (set_raw_breakpoint): Adjust breakpoint's address | |
6089 | prior to allocating its location. | |
6090 | ||
2afd3f0a MR |
6091 | 2007-05-02 Maciej W. Rozycki <macro@mips.com> |
6092 | ||
6093 | * mips-tdep.c (mips_o32_push_dummy_call): Remove conditions | |
6094 | based on mips_abi_regsize() whose result is known in advance. | |
6095 | (mips_o64_push_dummy_call): Likewise. | |
6096 | ||
3e00823e UW |
6097 | 2007-04-29 Ulrich Weigand <uweigand@de.ibm.com> |
6098 | ||
6099 | * m68klinux-nat.c: Remove #ifndef USE_PROC_FS check. | |
6100 | * m68k-tdep.c: Remove code within #ifdef USE_PROC_FS. | |
6101 | ||
6102 | * mips-linux-nat.c: Include "gregset.h". | |
6103 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Move | |
6104 | from mips-linux-tdep.c. Change parameter type to gdb_gregset_t. | |
6105 | * mips-linux-tdep.c (supply_gregset, fill_gregset, supply_fpregset, | |
6106 | fill_fpregset): Move to mips-linux-nat.c. | |
6107 | ||
6108 | * Makefile.in (m68k-tdep.o, mips-linux-nat.o): Update dependencies. | |
6109 | ||
81c4a259 UW |
6110 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
6111 | ||
6112 | * regcache.c (deprecated_read_register_gen): Remove, inline ... | |
6113 | (read_register): ... here. | |
6114 | (deprecated_write_register_gen): Remove, inline ... | |
6115 | (write_register): ... here. | |
6116 | * regcache.h (deprecated_read_register_gen): Remove prototype. | |
6117 | (deprecated_write_register_gen): Likewise. | |
6118 | ||
6119 | * remote-sim.c (gdbsim_store_register): Replace call to | |
6120 | deprecated_read_register_gen with regcache_cooked_read. | |
6121 | * target.c (debug_print_register): Replace calls to | |
6122 | deprecated_read_register_gen and read_register with | |
6123 | regcache_cooked_read. | |
6124 | ||
8bb42077 UW |
6125 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
6126 | ||
6127 | * hpux-thread.c (hpux_thread_store_registers): Use | |
6128 | regcache_raw_collect, not regcache_raw_read. | |
6129 | * irix5-nat.c (fetch_core_registers): Use regcache_raw_supply, | |
6130 | not regcache_raw_write. | |
6131 | ||
6ed7ea50 UW |
6132 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
6133 | ||
6134 | * gdbarch.sh: Remove deprecated_register_byte. | |
6135 | * gdbarch.c, gdbarch.h: Regenerate. | |
6136 | * arch-utils.h (generic_register_size, generic_register_byte): Remove. | |
6137 | * arch-utils.c (generic_register_size, generic_register_byte): Remove. | |
6138 | ||
6139 | * regcache.h (regcache_valid_p): Make REGCACHE parameter const. | |
6140 | * regcache.c (regcache_valid_p): Allow to query cooked registers in | |
6141 | read-only register caches. Make REGCACHE parameter const. | |
6142 | (regcache_dump): Do not check DEPRECATED_REGISTER_BYTE. | |
6143 | ||
6144 | * mi/mi-main.c (old_regs): Remove. | |
6145 | (mi_setup_architecture_data, _initialize_mi_main): Remove. | |
6146 | (register_changed_p): Reimplement to compare two register caches. | |
6147 | (mi_cmd_data_list_changed_registers): Update caller. | |
6148 | * mi/mi-main.h (mi_setup_architecture_data): Remove. | |
6149 | * mi/mi-interp.c (mi_interpreter_init): Do not call | |
6150 | mi_setup_architecture_data. | |
6151 | ||
efc72ef5 UW |
6152 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
6153 | ||
6154 | * alpha-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Do not define, | |
6155 | inline definition at the places the macros are used. | |
6156 | * alpha-linux-nat.c (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE): Likewise. | |
6157 | ||
7a61a01c UW |
6158 | 2007-04-28 Ulrich Weigand <uweigand@de.ibm.com> |
6159 | ||
6160 | * rs6000-aix-tdep.c: Include "regcache.h", "regset.h", and | |
6161 | "gdb_string.h". | |
6162 | (rs6000_aix32_reg_offsets, rs6000_aix64_reg_offsets): New variables. | |
6163 | (rs6000_aix_supply_regset, rs6000_aix_collect_regset): New functions. | |
6164 | (rs6000_aix32_regset, rs6000_aix64_regset): New variables. | |
6165 | (rs6000_aix_regset_from_core_section): New function. | |
6166 | (rs6000_aix_init_osabi): Register it. | |
6167 | (_initialize_rs6000_aix_tdep): Register GDB_OSABI_AIX osabi and | |
6168 | sniffer for bfd_arch_powerpc as well as bfd_arch_rs6000. | |
6169 | * rs6000-nat.c (CoreRegs): Do not define type. | |
6170 | (fetch_core_registers, rs6000_core_fns): Remove. | |
6171 | (_initialize_core_rs6000): Do not register it. Rename to ... | |
6172 | (_initialize_rs6000_nat): ... this. | |
6173 | * Makefile.in (rs6000-aix-tdep.o): Update dependencies. | |
6174 | ||
ace186d4 KB |
6175 | 2007-04-27 Kevin Buettner <kevinb@redhat.com> |
6176 | ||
6177 | * dwarf2expr.c (unsigned_address_type): Add forward declaration. | |
6178 | (dwarf2_read_address): Sign extend return address as required by | |
6179 | target architecture. | |
6180 | ||
89a7ee67 KB |
6181 | 2007-04-27 Kevin Buettner <kevinb@redhat.com> |
6182 | ||
6183 | * solib-frv.c (lm_base): Bail out if the main executable has | |
6184 | not been relocated. | |
6185 | ||
6afb1f32 UW |
6186 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
6187 | ||
6188 | * alpha-linux-tdep.c (alpha_linux_supply_fpregset): Correct location | |
6189 | of FPCR register in fpregset. | |
6190 | ||
66a0218a MR |
6191 | 2007-04-27 Maciej W. Rozycki <macro@mips.com> |
6192 | ||
6193 | * Makefile.in (gdbtk-wrapper.o): Update dependencies. | |
6194 | (gdbtk-varobj.o, gdbtk-cmds.o, gdbtk-stack.o): Likewise. | |
6195 | ||
482f7fee UW |
6196 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
6197 | ||
6198 | * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Remove. | |
6199 | * rs6000-nat.c (rs6000_wait): New function. | |
6200 | (_initialize_core_rs6000): Install it as to_wait target method. | |
6201 | * target.c (store_waitstatus): Don't check CHILD_SPECIAL_WAITSTATUS. | |
6202 | ||
1f480a5e UW |
6203 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
6204 | ||
6205 | * config/rs6000/nm-rs6000.h (TARGET_CREATE_INFERIOR_HOOK): Remove. | |
6206 | * fork-child.c (fork_inferior): Don't call TARGET_CREATE_INFERIOR_HOOK. | |
6207 | * rs6000-nat.c (super_create_inferior): New variable. | |
6208 | (rs6000_create_inferior): Make static. Adapt argument list. Call | |
6209 | original version of create_inferior via super_create_inferior. | |
6210 | (_initialize_core_rs6000): Install to_create_inferior target method. | |
6211 | ||
037a727e UW |
6212 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
6213 | ||
6214 | * aix-thread.c (aix_thread_xfer_memory): Replace by ... | |
6215 | (aix_thread_xfer_partial): ... this. | |
6216 | (init_aix_thread_ops): Install to_xfer_partial instead | |
6217 | of deprecated_xfer_memory target method. | |
6218 | ||
6219 | * config/powerpc/aix.mh (NATDEPFILES): Remove infptrace.o | |
6220 | and inftarg.o, add inf-ptrace.o. | |
6221 | * config/rs6000/nm-rs6000.h (FETCH_INFERIOR_REGISTERS, | |
6222 | CHILD_XFER_MEMORY, KERNEL_U_SIZE, kernel_u_size): Remove. | |
6223 | * rs6000-nat.c: Include "inf-ptrace.h" and "gdb_stdint.h". | |
6224 | (fetch_inferior_registers): Rename to ... | |
6225 | (rs6000_fetch_inferior_registers): ... this. Make static. | |
6226 | (store_inferior_registers): Rename to ... | |
6227 | (rs6000_store_inferior_registers): ... this. Make static. | |
6228 | (read_word, child_xfer_memory): Remove. | |
6229 | (rs6000_xfer_partial): New function. | |
6230 | (kernel_u_size): Remove. | |
6231 | (_initialize_core_rs6000): Add inf_ptrace-based target. | |
6232 | * Makefile.in (rs6000-nat.o): Update dependencies. | |
6233 | ||
f7dd0ed7 UW |
6234 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
6235 | ||
6236 | * inf-ptrace.c: Include "gdb_stdint.h". | |
6237 | (inf_ptrace_xfer_partial): Use "uintptr_t" instead of "long" as | |
6238 | intermediate type when casting CORE_ADDR to PTRACE_TYPE_ARG3. | |
6239 | (inf_ptrace_fetch_register): Add intermediate cast to "uintptr_t" | |
6240 | before casting CORE_ADDR to PTRACE_TYPE_ARG3. | |
6241 | (inf_ptrace_store_register): Likewise. | |
6242 | * Makefile.in (inf-ptrace.o): Update dependencies. | |
6243 | ||
d9178763 UW |
6244 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
6245 | ||
6246 | * configure.host (rs6000-*-*): Merge with powerpc-*-aix* rules. | |
6247 | * configure.tgt (rs6000-*-*): Likewise. | |
6248 | * config/rs6000/aix4.mh: Delete file. | |
6249 | * config/rs6000/aix4.mt: Delete file. | |
6250 | * config/rs6000/rs6000.mh: Delete file. | |
6251 | * config/rs6000/rs6000.mt: Delete file. | |
6252 | ||
6253 | * config/powerpc/nm-aix.h: Delete file. | |
6254 | * config/powerpc/aix.mh (NAT_FILE): Set to config/rs6000/nm-rs6000.h. | |
6255 | ||
0d16ee5d UW |
6256 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
6257 | ||
6258 | * aix-thread.c (fill_sprs32): Change argument types to "uint32_t *". | |
6259 | Remove obsolete part of comment. | |
6260 | (store_regs_user_thread): Use uint32_t temporaries when calling | |
6261 | fill_sprs32. | |
6262 | (store_regs_kernel_thread): Likewise. Add assertion to verify | |
6263 | correct size of struct ptsprs members. | |
6264 | (aix_thread_xfer_memory): Fix type of myaddr. | |
6265 | (aix_thread_extra_thread_info): Fix compiler warning. | |
6266 | * rs6000-nat.c (rs6000_ptrace64): Change type of buf to "void *". | |
6267 | (fetch_register, store_register): Adapt callers. | |
6268 | ||
1e8877aa UW |
6269 | 2007-04-27 Ulrich Weigand <uweigand@de.ibm.com> |
6270 | ||
6271 | * vec.h (vec_free): Rename to vec_free_. Adapt users. | |
6272 | ||
b02f9d57 UW |
6273 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
6274 | ||
6275 | * alpha-linux-tdep.c: Include "gdb_string.h", "regset.h", | |
6276 | and "regcache.h". | |
6277 | (alpha_linux_supply_gregset, alpha_linux_supply_fpregset): New. | |
6278 | (alpha_linux_gregset, alpha_linux_fpregset): New variables. | |
6279 | (alpha_linux_regset_from_core_section): New function. | |
6280 | (alpha_linux_init_abi): Install it. | |
6281 | * alpha-linux-nat.c: Do not include "gdbcore.h". Include | |
6282 | "alpha-tdep.h", <sys/ptrace.h>, <alpha/ptrace.h>, | |
6283 | <sys/procfs.h>, and "gregset.h". | |
6284 | (ALPHA_REGSET_BASE, ALPHA_REGSET_UNIQUE, ALPHA_UNIQUE_PTRACE_ADDR): | |
6285 | Move from config/alpha/nm-linux.h. | |
6286 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): Copy | |
6287 | from alpha-nat.c. | |
6288 | (alpha_linux_register_u_offset): Inline register_addr from alpha-nat.c. | |
6289 | * alpha-nat.c: Remove #ifdef __linux__ section. | |
6290 | (fetch_elf_core_registers, alpha_elf_core_fns): Remove. | |
6291 | (_initialize_core_alpha): Do not register alpha_elf_core_fns. | |
6292 | (ALPHA_UNIQUE_PTRACE_ADDR, ALPHA_REGSET_UNIQUE): Define unconditionally. | |
6293 | (ALPHA_REGSET_BASE): Move from config/alpha/nm-osf.h. | |
6294 | * config/alpha/alpha-linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
6295 | (NATDEPFILES): Remove alpha-nat.o. | |
6296 | * config/alpha/nm-linux.h: Delete file. | |
6297 | * config/alpha/nm-osf.h (ALPHA_REGSET_BASE): Move to alpha-nat.c. | |
6298 | * Makefile.in (alpha-linux-nat.o): Update dependencies. | |
6299 | (alpha-linux-tdep.o): Likewise. | |
6300 | ||
dda0c97e UW |
6301 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
6302 | ||
6303 | * mips-linux-nat.c: No longer include "gdbcore.h". | |
6304 | (mips_linux_register_addr): Move from mips-linux-tdep.c. | |
6305 | (mips64_linux_register_addr): Likewise. | |
6306 | (mips_linux_register_u_offset): Call mips_linux_register_addr or | |
6307 | mips64_linux_register_addr instead of register_addr. | |
6308 | * mips-linux-tdep.c (mips_linux_register_addr, | |
6309 | mips64_linux_register_addr): Move to mips-linux-nat.c. | |
6310 | (register_addr): Remove. | |
6311 | (register_addr_data, init_register_addr_data): Remove. | |
6312 | (_initialize_mips_linux_tdep): Do not initialize register_addr_data. | |
6313 | (set_mips_linux_register_addr): Remove. | |
6314 | (mips_linux_init_abi): Do not call set_mips_linux_register_addr. | |
6315 | * Makefile.in (mips-linux-nat.o): Update dependencies. | |
6316 | ||
910122bf UW |
6317 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
6318 | ||
6319 | * linux-nat.c (linux_register_u_offset): Remove. | |
6320 | (linux_target_install_ops): New function. | |
6321 | (linux_target): Use it. | |
6322 | (linux_trad_target): New function. | |
6323 | * linux-nat.h (linux_trad_target): Declare. | |
6324 | ||
6325 | * alpha-linux-nat.c: Include "gdbcore.h". | |
6326 | (alpha_linux_register_u_offset): New function. | |
6327 | (_initialize_alpha_linux_nat): Use linux_trad_target. | |
6328 | ||
6329 | * mips-linux-nat.c: Include "gdbcore.h". | |
6330 | (mips_linux_register_u_offset): New function. | |
6331 | (_initialize_mips_linux_nat): Use linux_trad_target. | |
6332 | ||
6333 | * config/arm/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
6334 | * config/arm/nm-linux.h: Delete file. | |
6335 | ||
6336 | * config/i386/nm-linux64.h (FETCH_INFERIOR_REGISTERS): Remove. | |
6337 | * config/i386/nm-linux.h (FETCH_INFERIOR_REGISTERS): Remove. | |
6338 | ||
6339 | * config/ia64/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
6340 | * config/ia64/nm-linux.h: Delete file. | |
6341 | ||
6342 | * config/m32r/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
6343 | * config/m32r/nm-linux.h: Delete file. | |
6344 | ||
6345 | * config/m68k/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
6346 | * config/m68k/nm-linux.h: Delete file. | |
6347 | ||
6348 | * config/pa/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
6349 | * config/pa/nm-linux.h: Delete file. | |
6350 | ||
6351 | * config/powerpc/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
6352 | * config/powerpc/ppc64-linux.mh (NAT_FILE): Likewise. | |
6353 | * config/powerpc/nm-linux.h: Delete file. | |
6354 | ||
6355 | * config/s390/s390.mh (NAT_FILE): Set to config/nm-linux.h. | |
6356 | * config/s390/nm-linux.h: Delete file. | |
6357 | ||
6358 | * config/sparc/linux.mh (NAT_FILE): Set to config/nm-linux.h. | |
6359 | * config/sparc/linux64.mh (NAT_FILE): Likewise. | |
6360 | * config/sparc/nm-linux.h: Delete file. | |
6361 | ||
6362 | * Makefile.in (alpha-linux-nat.o): Update dependencies. | |
6363 | (mips-linux-nat.o): Likewise. | |
6364 | ||
de732108 UW |
6365 | 2007-04-25 Ulrich Weigand <uweigand@de.ibm.com> |
6366 | ||
6367 | * core-aout.c: Delete file. | |
6368 | * Makefile.in (ALLDEPFILES): Remove core-aout.c. | |
6369 | (core-aout.o): Delete rule. | |
6370 | * gdbcore.h (kernel_u_addr, KERNEL_U_ADDR): Remove. | |
6371 | ||
6372 | * config/alpha/nm-linux.h (U_REGS_OFFSET): Remove. | |
6373 | ||
6374 | * arm-linux-nat.c (arm_linux_kernel_u_size): Remove. | |
6375 | * config/arm/nm-linux.h (U_REGS_OFFSET, KERNEL_U_SIZE, | |
6376 | KERNEL_U_ADDR): Remove. | |
6377 | ||
6378 | * i386-linux-nat.c (register_u_addr, kernel_u_size): Remove. | |
6379 | (cannot_fetch_register, cannot_store_register): Remove. | |
6380 | (fetch_register): Inline cannot_fetch_register and register_addr. | |
6381 | (store_register): Inline cannot_store_register and register_addr. | |
6382 | * config/i386/linux.mh (NATDEPFILES): Remove core-aout.o. | |
6383 | * config/i386/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, | |
6384 | REGISTER_U_ADDR, CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER): | |
6385 | Remove. | |
6386 | ||
6387 | * m68klinux-nat.c (m68k_linux_register_u_addr, kernel_u_size): Remove. | |
6388 | (fetch_register): Inline register_addr. | |
6389 | (store_register): Inline register_addr. | |
6390 | * config/m68k/linux.mh (NATDEPFILES): Remove core-aout.o. | |
6391 | * config/m68k/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR, | |
6392 | U_REGS_OFFSET, REGISTER_U_ADDR): Remove. | |
6393 | ||
6394 | * config/mips/nm-irix5.h (REGISTER_U_ADDR): Remove. | |
6395 | * config/mips/nm-linux.h (KERNEL_U_SIZE, U_REGS_OFFSET, | |
6396 | REGISTER_U_ADDR): Remove. | |
6397 | ||
6398 | * hppa-linux-nat.c (register_addr): Rename to ... | |
6399 | (hppa_linux_register_addr): ... this. Make static. | |
6400 | (fetch_register, store_register): Adapt callers. | |
6401 | * config/pa/nm-linux.h (U_REGS_OFFSET): Remove. | |
6402 | ||
6403 | * ppc-linux-nat.c (kernel_u_size): Remove. | |
6404 | * config/powerpc/nm-linux.h (KERNEL_U_SIZE, KERNEL_U_ADDR): Remove. | |
6405 | ||
6406 | * vax-nat.c (vax_kernel_u_addr, vax_register_u_addr): Make static. | |
6407 | * config/vax/vax.mh (NATDEPFILES): Remove core-aout.o. | |
6408 | (NAT_FILE): Remove. | |
6409 | * config/vax/nm-vax.h: Delete file. | |
6410 | ||
1f90c757 MS |
6411 | 2007-04-20 Mark Shinwell <shinwell@codesourcery.com> |
6412 | ||
6413 | * MAINTAINERS (Write After Approval): Add myself. | |
6414 | ||
bf1242a5 MS |
6415 | 2007-04-20 Mark Shinwell <shinwell@codesourcery.com> |
6416 | ||
6417 | * Makefile.in: Adjust dependencies of m68klinux-tdep.c. | |
6418 | * m68klinux-tdep.c (m68k_uclinux_sigcontext_reg_offset): New. | |
6419 | (m68k_linux_sigcontext_reg_offset): Fix typo. | |
6420 | (target_is_uclinux): New. | |
6421 | (m68k_linux_inferior_created): New. | |
6422 | (m68k_linux_get_sigtramp_info): Check for uClinux or | |
6423 | normal Linux. Use m68k_uclinux_sigcontext_reg_offset for | |
6424 | uClinux. | |
6425 | (_initialize_m68k_linux_tdep): Register | |
6426 | m68k_linux_inferior_created. | |
6427 | ||
96998ce7 PA |
6428 | 2007-04-19 Pedro Alves <pedro_alves@portugalmail.pt> |
6429 | ||
6430 | * win32-nat.c (win32_detach): Remove delete_command call. | |
6431 | Resume inferior with win32_resume instead of win32_continue. | |
6432 | ||
7e71daaa JG |
6433 | 2007-04-19 Jerome Guitton <guitton@adacore.com> |
6434 | ||
6435 | * ser-mingw.c (fd_is_file): New function. | |
6436 | (file_select_thread): New function. | |
6437 | (ser_console_wait_handle): Add special handling for files. | |
6438 | ||
3d1f72c2 DP |
6439 | 2007-04-18 Denis Pilat <denis.pilat@st.com> |
6440 | ||
6441 | * dwarf2read.c (read_subrange_type): Use DW_ATE_signed default type | |
6442 | when missing from DW_TAG_subrange_type. Remove the handling of null | |
6443 | return from die_type. | |
6444 | ||
9ecf7166 MR |
6445 | 2007-04-18 Maciej W. Rozycki <macro@mips.com> |
6446 | ||
6447 | * mips-tdep.c (mips_eabi_push_dummy_call): Revert the last | |
6448 | change to rearrange some brackets. | |
6449 | (mips_n32n64_push_dummy_call): Likewise. | |
6450 | (mips_o32_push_dummy_call): Likewise. | |
6451 | (mips_o64_push_dummy_call): Likewise. | |
6452 | ||
b79599ff DP |
6453 | 2007-04-18 Denis Pilat <denis.pilat@st.com> |
6454 | ||
6455 | * infcmd.c (post_create_inferior): Start with a call to | |
3d1f72c2 | 6456 | target_terminal_ours. |
b79599ff | 6457 | |
06f9a1af MR |
6458 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
6459 | ||
6460 | * mips-tdep.c (mips_eabi_push_dummy_call): Rearrange some | |
6461 | brackets. | |
6462 | (mips_n32n64_push_dummy_call): Likewise. Reformat some | |
6463 | expressions. | |
6464 | (mips_o32_push_dummy_call): Likewise. | |
6465 | (mips_o64_push_dummy_call): Likewise. | |
6466 | ||
ad018eee MR |
6467 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
6468 | ||
6469 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a | |
6470 | comment. | |
6471 | ||
e914cb17 MR |
6472 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
6473 | ||
6474 | * mips-tdep.c (mips_n32n64_push_dummy_call): Fix a typo in a | |
6475 | comment. | |
6476 | (mips_o32_push_dummy_call): Likewise. | |
6477 | ||
91934273 AS |
6478 | 2007-04-17 Andreas Schwab <schwab@suse.de> |
6479 | ||
6480 | * symtab.c (skip_prologue_using_sal): Allow the end of the prologue | |
6481 | sal to be bigger than the end of the function. | |
6482 | ||
968b5391 MR |
6483 | 2007-04-17 Maciej W. Rozycki <macro@mips.com> |
6484 | Nigel Stephens <nigel@mips.com> | |
6485 | ||
6486 | * mips-tdep.c (mips_o32_push_dummy_call): Take account of | |
6487 | argument alignment requirements when calculating stack space | |
6488 | required. When aligning an arg register to eight bytes | |
6489 | boundary, align stack_offset too. Write floating-point | |
6490 | arguments to the appropriate integer register if need go there. | |
6491 | (mips_o64_push_dummy_call): Likewise. | |
6492 | ||
e0cd558a UW |
6493 | 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com> |
6494 | ||
6495 | * gdbarch.sh (software_single_step): Remove "insert_breakpoints_p" and | |
6496 | "sig" arguments, add "regcache" argument. | |
6497 | * gdbarch.c, gdbarch.h: Regenerate. | |
6498 | ||
6499 | * infrun.c (resume): Update SOFTWARE_SINGLE_STEP call arguments. | |
6500 | (handle_inferior_event): Call remove_single_step_breakpoints directly | |
6501 | instead of calling SOFTWARE_SINGLE_STEP to remove breakpoints. | |
6502 | ||
6503 | * alpha-tdep.c (alpha_software_single_step): Update argument list. | |
6504 | Remove handling of !insert_breakpoints_p case. | |
6505 | * arm-tdep.c (arm_software_single_step): Likewise. | |
6506 | * cris-tdep.c (cris_software_single_step): Likewise. | |
6507 | * mips-tdep.c (mips_software_single_step): Likewise. | |
6508 | * rs6000-tdep.c (rs6000_software_single_step): Likewise. | |
6509 | * sparc-tdep.c (sparc_software_single_step): Likewise. | |
6510 | * spu-tdep.c (spu_software_single_step): Likewise. | |
6511 | ||
6512 | * alpha-tdep.h (alpha_software_single_step): Update prototype. | |
6513 | * mips-tdep.h (mips_software_single_step): Likewise. | |
6514 | * rs6000-tdep.h (rs6000_software_single_step): Likewise. | |
6515 | * sparc-tdep.h (sparc_software_single_step): Likewise. | |
6516 | ||
06a86285 UW |
6517 | 2007-04-14 Ulrich Weigand <uweigand@de.ibm.com> |
6518 | ||
6519 | * alpha-tdep.c (alpha_software_single_step): Do not call write_pc | |
6520 | when removing single-step breakpoints. | |
6521 | ||
25d5ea92 VP |
6522 | 2007-04-14 Vladimir Prus <vladimir@codesourcery.com> |
6523 | ||
6524 | * varobj.h (varobj_set_frozen): New | |
6525 | (varobj_get_frozen): New. | |
6526 | (varobj_update): New parameter explicit. | |
6527 | * varobj.c (struct varobj): New fields frozen | |
6528 | and not_fetched. | |
6529 | (varobj_set_frozen, varobj_get_frozen): New. | |
6530 | (install_new_value): Don't fetch values for | |
6531 | frozen variable object, or children thereof. Allow | |
6532 | a frozen variable object to have non-fetched value. | |
6533 | (varobj_update): Allow updating child variables. | |
6534 | Don't traverse frozen children. | |
6535 | (new_variable): Initialize the frozen field. | |
6536 | (c_value_of_variable): Return NULL for frozen | |
6537 | variable without any value yet. | |
6538 | * mi/mi-cmd-var.c (varobj_update_one): New parameter | |
6539 | 'explicit'. | |
6540 | (mi_cmd_var_create): Output the 'frozen' field, | |
6541 | as soon as testsuite is adjusted to expect that field. | |
6542 | (mi_cmd_var_set_frozen): New. | |
6543 | (mi_cmd_var_update): Pass the 'explicit' parameter to | |
6544 | varobj_update_one. | |
6545 | * mi/mi-cmds.c (mi_cmds): Register '-var-set-frozen'. | |
6546 | * mi/mi-cmds.h (mi_cmd_var_set_frozen): Declare. | |
6547 | ||
6e3bbd1a PB |
6548 | 2007-04-13 Paul Brook <paul@codesourcery.com> |
6549 | ||
6550 | * target-descriptions.c (tdesc_named_type): Add ieee_single and | |
6551 | ieee_double. | |
6552 | * doc/gdb.texinfo: Document ieee_single and ieee_double target types. | |
6553 | ||
ea35711c DJ |
6554 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6555 | ||
6556 | * mips-mdebug-tdep.c, mips-mdebug-tdep.h, ocd.c, ocd.h, ppc-bdm.c, | |
6557 | remote-e7000.c, remote-hms.c, remote-utils.c, remote-utils.h, | |
6558 | scm-exp.c, scm-lang.c, scm-lang.h, scm-tags.h, scm-valprint.c, | |
6559 | ser-e7kpc.c, sh3-rom.c, stop-gdb.c: Delete. | |
6560 | * Makefile.in: Remove references to deleted files. | |
6561 | * README: Do not mention deleted ROM monitor interfaces. | |
6562 | * defs.h (enum language): Delete language_scm. | |
6563 | * expprint.c (print_subexp_standard): Do not handle OP_EXPRSTRING. | |
6564 | (dump_subexp_body_standard): Likewise. | |
6565 | * parse.c (operator_length_standard): Likewise. | |
6566 | * expression.h (enum exp_opcode): Delete OP_EXPRSTRING. | |
6567 | * remote-mips.c: Do not include remote-utils.h. | |
6568 | * remote-sim.c: Likewise. Use remote_debug instead of sr_get_debug | |
6569 | throughout. | |
6570 | * value.c: Do not include scm-lang.h. | |
6571 | (unpack_long): Delete scm_unpack call. | |
6572 | * config/h8300/h8300.mt, config/mips/embed.mt, | |
6573 | config/powerpc/ppc-eabi.mt, config/powerpc/ppc-sim.mt, | |
6574 | config/sh/embed.mt, config/sh/linux.mt: Remove references to | |
6575 | deleted files. | |
6576 | * NEWS: Mention removed files. | |
6577 | ||
058b9c07 DJ |
6578 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6579 | ||
6580 | * symfile.c (add_psymbol_with_dem_name_to_list): Remove. | |
6581 | * symfile.h (add_psymbol_with_dem_name_to_list): Remove prototype. | |
6582 | ||
54d61198 DJ |
6583 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6584 | ||
6585 | * NEWS: Mention removal of HP aCC support. | |
6586 | ||
e499d0f1 DJ |
6587 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6588 | ||
6589 | * solib-svr4.c (IGNORE_FIRST_LINK_MAP_ENTRY): Do not ignore the | |
6590 | first entry for static executables. | |
6591 | (breakpoint_addr): Delete unused variable. | |
6592 | (elf_locate_base): Search for _r_debug in static executables. | |
6593 | (enable_break): Do not set breakpoint_addr. Scan solib_break_names | |
6594 | also. | |
6595 | ||
4d5b2cd7 DJ |
6596 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6597 | ||
6598 | * breakpoint.c (update_breakpoints_after_exec, print_it_typical) | |
6599 | (bpstat_what, print_one_breakpoint, allocate_bp_location) | |
6600 | (mention): Remove bp_through_sigtramp support. | |
6601 | * breakpoint.h (enum bptype): Remove bp_through_sigtramp. | |
6602 | ||
46d57086 DJ |
6603 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6604 | ||
6605 | * breakpoint.c (bpstat_what): Give step-resume higher priority than | |
6606 | shlib events. | |
6607 | ||
d3169d93 DJ |
6608 | 2007-04-13 Daniel Jacobowitz <dan@codesourcery.com> |
6609 | ||
6610 | * infrun.c: Doc fixes. | |
6611 | (handle_inferior_event): Clarify debug message. | |
6612 | (insert_step_resume_breakpoint_at_sal): Print a debug message. | |
6613 | ||
8c9e4384 UW |
6614 | 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com> |
6615 | ||
6616 | * configure.tgt (arm-*-nto*, sh-*-nto*): Remove. | |
6617 | ||
9418f048 UW |
6618 | 2007-04-12 Ulrich Weigand <uweigand@de.ibm.com> |
6619 | ||
6620 | * config/m68k/tm-monitor.h: Delete file. | |
6621 | * config/m68k/monitor.mt (DEPRECATED_TM_FILE): Remove. | |
6622 | * m68k-tdep.c (m68k_gdbarch_init): set_gdbarch_decr_pc_after_break | |
6623 | call moved to ... | |
6624 | * m68kbsd-tdep.c (m68kbsd_init_abi): ... here and ... | |
6625 | * m68klinux-tdep.c (m68k_linux_init_abi): ... here. | |
6626 | ||
e6590a1b UW |
6627 | 2007-04-12 Luis Machado <luisgpm@br.ibm.com> |
6628 | ||
6629 | * gdbarch.sh (software_single_step): Change the return type | |
6630 | from void to int and reformatted some comments to <= 80 | |
6631 | columns. | |
6632 | * gdbarch.c, gdbarch.h: Regenerated. | |
6633 | * alpha-tdep.c (alpha_software_single_step): Likewise. | |
6634 | * alpha-tdep.h (alpha_software_single_step): Likewise. | |
6635 | * arm-tdep.c (arm_software_single_step): Likewise. | |
6636 | * cris-tdep.c (cris_software_single_step): Likewise. | |
6637 | * mips-tdep.c (mips_software_single_step): Likewise. | |
6638 | * mips-tdep.h (mips_software_single_step): Likewise. | |
6639 | * rs6000-tdep.c (rs6000_software_single_step): Likewise. | |
6640 | * rs6000-tdep.h (rs6000_software_single_step): Likewise. | |
6641 | * sparc-tdep.c (sparc_software_single_step): Likewise. | |
6642 | * sparc-tdep.h (sparc_software_single_step): Likewise. | |
6643 | * spu-tdep.c (spu_software_single_step): Likewise. | |
6644 | * infrun.c (resume): Check the return value from SOFTWARE_SINGLE_STEP | |
6645 | and act accordingly. | |
6646 | ||
58b38ee2 SE |
6647 | 2007-04-11 Steve Ellcey <sje@cup.hp.com> |
6648 | ||
6649 | * configure.ac (build_warnings): Add -Wno-char-subscripts. | |
6650 | * configure: Regenerate. | |
6651 | * doc/gdbint.texinfo (warning flags): Add -Wno-char-subscripts. | |
6652 | ||
70f575cc JK |
6653 | 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
6654 | ||
6655 | * libunwind-frame.c (LIBUNWIND_SO): Use major version number for `.so'. | |
6656 | ||
d77b6808 JK |
6657 | 2007-04-11 Jan Kratochvil <jan.kratochvil@redhat.com> |
6658 | ||
6659 | * gdbtypes.h (TYPE_FLAG_STUB_SUPPORTED, TYPE_STUB_SUPPORTED): New | |
6660 | macros. | |
6661 | (TYPE_IS_OPAQUE): Empty vs. opaque structures are now | |
6662 | distinct on the TYPE_STUB_SUPPORTED debug targets. | |
6663 | * dwarf2read.c (read_structure_type): Set TYPE_FLAG_STUB_SUPPORTED. | |
6664 | ||
b0b92586 JB |
6665 | 2007-04-11 Joel Brobecker <brobecker@adacore.com> |
6666 | ||
6667 | * sparc-tdep.c (X_RS2): New macro. | |
6668 | (sparc_skip_stack_check): New function. | |
6669 | (sparc_analyze_prologue): Adjust PC past stack probing | |
6670 | sequence if necessary. | |
6671 | ||
a489f789 AS |
6672 | 2007-04-10 Andreas Schwab <schwab@suse.de> |
6673 | ||
6674 | * rs6000-tdep.c (rs6000_dwarf2_reg_to_regnum): Decode 64 as CR | |
6675 | register. | |
6676 | ||
b0b13bb4 DJ |
6677 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
6678 | ||
6679 | * breakpoint.c (gdb_breakpoint_query): Really return an | |
6680 | enum gdb_rc. | |
6681 | (gdb_breakpoint): Likewise. | |
3f11755e DJ |
6682 | * thread.c (gdb_list_thread_ids): Likewise. |
6683 | (gdb_thread_select): Likewise. | |
b0b13bb4 DJ |
6684 | * mi/mi-main.c (mi_cmd_thread_select): Expect an enum gdb_rc. |
6685 | (mi_cmd_thread_list_ids): Remove bogus initialization. | |
6686 | ||
1a92f856 DJ |
6687 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
6688 | ||
6689 | * Makefile.in (SFILES): Remove hpacc-abi.c. | |
6690 | (COMMON_OBS): Remove hpacc-abi.o. | |
6691 | (ALLDEPFILES): Remove hpread.c and $(HPREAD_SOURCE). | |
6692 | (hpacc-abi.o, hpread.o): Delete rules. | |
6693 | * somread.c: Delete extern declarations from hpread.c. | |
6694 | (som_symfile_read): Do not call do_pxdb or hpread_build_psymtabs. | |
6695 | (som_symfile_finish): Do not call hpread_symfile_finish. | |
6696 | (som_symfile_init): Do not call hpread_symfile_init. | |
6697 | * config/pa/hppa64.mt (TDEPFILES): Remove hpread.o. | |
6698 | * config/pa/hppahpux.mt (TDEPFILES): Likewise. | |
6699 | * hpacc-abi.c, hpread.c: Deleted. | |
6700 | ||
542c95c2 DJ |
6701 | 2007-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
6702 | ||
6703 | * solib-svr4.c (enable_break): Simplify return value. | |
6704 | (svr4_solib_create_inferior_hook): Do not warn if enable_break fails. | |
6705 | ||
cfaefc65 AS |
6706 | 2007-04-10 Andreas Schwab <schwab@suse.de> |
6707 | ||
6708 | * solib-svr4.h (struct link_map_offsets): Remove l_addr_size, | |
6709 | l_ld_size, l_next_size, l_prev_size, l_name_size. | |
6710 | ||
6711 | * solib-svr4.c (LM_ADDR_FROM_LINK_MAP): Use extract_typed_address | |
6712 | to extract addresses from link map. | |
6713 | (LM_DYNAMIC_FROM_LINK_MAP): Likewise. | |
6714 | (LM_NEXT): Likewise. | |
6715 | (LM_NAME): Likewise. | |
6716 | (IGNORE_FIRST_LINK_MAP_ENTRY): Likewise. | |
6717 | (elf_locate_base): Likewise. | |
6718 | (open_symbol_file_object): Likewise. | |
6719 | (svr4_fetch_objfile_link_map): Likewise. | |
6720 | (SOLIB_EXTRACT_ADDRESS): Remove unused macro. | |
6721 | (HAS_LM_DYNAMIC_FROM_LINK_MAP): Test l_ld_offset instead of | |
6722 | l_ld_size. | |
6723 | (svr4_ilp32_fetch_link_map_offsets): Don't set removed members. | |
6724 | (svr4_lp64_fetch_link_map_offsets): Likewise. | |
6725 | ||
6726 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Don't set | |
6727 | removed members. Set l_ld_offset to -1 if not present. | |
6728 | ||
65cc4390 VP |
6729 | 2007-04-08 Vladimir Prus <vladimir@codesourcery.com> |
6730 | ||
6731 | Pass stderr of program run with "target remote |" | |
6732 | via gdb_stderr. | |
6733 | * serial.c (serial_open): Set error_fd to -1. | |
6734 | * serial.h (struct serial): New field error_fd. | |
6735 | (struct serial_opts): New field avail. | |
6736 | * ser-pipe.c (pipe_open): Create another pair | |
6737 | of sockets. Pass stderr to gdb. | |
6738 | * ser-mingw.c (pipe_windows_open): Pass | |
6739 | PEX_STDERR_TO_PIPE to pex_run. Initialize | |
6740 | sd->error_fd. | |
6741 | (pipe_avail): New. | |
6742 | (_initialize_ser_windows): Hook pipe_avail. | |
6743 | * ser-base.c (generic_readchar): Check if there's | |
6744 | anything in stderr channel and route that to gdb_stderr. | |
6745 | ||
e9112110 PA |
6746 | 2007-04-03 Pedro Alves <pedro_alves@portugalmail.pt> |
6747 | ||
6748 | * dbxread.c (read_ofile_symtab): Move current_objfile | |
6749 | clearing to after end_stabs. | |
6750 | ||
7f68ac27 AS |
6751 | 2007-04-01 Andreas Schwab <schwab@suse.de> |
6752 | ||
6753 | * rs6000-tdep.c (rs6000_convert_from_func_ptr_addr): Use parameter | |
6754 | gdbarch instead of current_gdbarch. | |
6755 | ||
e55dccf0 VP |
6756 | 2007-04-01 Vladimir Prus <vladimir@codesourcery.com> |
6757 | ||
6758 | * varobj.c (varobj_create): Keep varobj value | |
6759 | NULL when evaluating the type. | |
6760 | ||
7c963485 PA |
6761 | 2007-03-31 Pedro Alves <pedro_alves@portugalmail.pt> |
6762 | ||
6763 | * NEWS: Mention new Windows CE support. | |
6764 | ||
ad527d2e PA |
6765 | 2007-03-30 Pedro Alves <pedro_alves@portugalmail.pt> |
6766 | ||
6767 | * configure.tgt: Move mips*-*-pe and sh*-*-pe to | |
6768 | the obsoletion stanza. | |
6769 | * NEWS: Mention deleted targets. | |
6770 | ||
6771 | * config/sh/tm-wince.h: Remove. | |
6772 | * config/sh/wince.mt: Remove. | |
6773 | * config/mips/tm-wince.h: Remove. | |
6774 | * config/mips/wince.mt: Remove. | |
6775 | ||
6776 | * wince.c: Remove. | |
6777 | * wince-stub.c: Remove. | |
6778 | * wince-stub.h: Remove. | |
6779 | * Makefile.in (wince.o): Remove rule. | |
6780 | (wince-stub.o): Likewise. | |
6781 | ||
6782 | * mips-tdep.c (mips_next_pc): Make static. | |
6783 | * mips-tdep.h (mips_next_pc): Remove declaration. | |
6784 | * arm-tdep.c (arm_pc_is_thumb): Make static. | |
6785 | (thumb_get_next_pc): Likewise. | |
6786 | (arm_get_next_pc): Likewise. | |
6787 | * arm-tdep.h (arm_pc_is_thumb_dummy): Remove declaration. | |
6788 | (arm_pc_is_thumb): Likewise. | |
6789 | (thumb_get_next_pc): Likewise. | |
6790 | (arm_get_next_pc): Likewise. | |
6791 | ||
7ce59000 DJ |
6792 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
6793 | ||
6794 | * MAINTAINERS: Remove d10v entry. | |
6795 | * Makefile.in (SFILES): Remove dwarfread.c. | |
6796 | (COMMON_OBS): Remove dwarfread.o. | |
6797 | (gdb_sim_d10v_h, abug-rom.o, cpu32bug-rom.o, d10v-tdep.o, dwarfread.o) | |
6798 | (remote-est.o, rom68k-rom.o): Delete. | |
6799 | * NEWS: Mention removal of d10v, target abug, target cpu32bug, | |
6800 | target est, target rom68k, and DWARF 1. | |
6801 | * configure.tgt: Mark d10v as removed. | |
6802 | * dwarf2read.c: Doc update. | |
6803 | * elfread.c (struct elfinfo): Remove dboffset, dbsize, lnoffset, | |
6804 | and lnsize. | |
6805 | (elf_locate_sections): Do not set them. | |
6806 | (elf_symfile_read): Do not call dwarf_build_psymtabs. | |
6807 | * symfile.h (dwarf_build_psymtabs): Delete prototype. | |
6808 | * config/m68k/monitor.mt (TDEPFILES): Prune. | |
6809 | * abug-rom.c, cpu32bug-rom.c, d10v-tdep.c, dwarfread.c, | |
6810 | remote-est.c, rom68k-rom.c, config/d10v/d10v.mt: Delete. | |
6811 | ||
20389057 DJ |
6812 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
6813 | ||
6814 | * doublest.c (convert_floatformat_to_doublest): Use | |
6815 | floatformat_classify. | |
6816 | (floatformat_is_nan): Rename to... | |
6817 | (floatformat_classify): ...this. Return more information. | |
6818 | * doublest.h (enum float_kind): New. | |
6819 | (floatformat_is_nan): Replace prototype... | |
6820 | (floatformat_classify): ...with this one. | |
6821 | * valprint.c (print_floating): Use floatformat_classify. Handle | |
6822 | infinity. | |
6823 | ||
30b50213 DJ |
6824 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
6825 | ||
6826 | * README: Mention ISO C library requirement. | |
6827 | ||
8807d78b DJ |
6828 | 2007-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
6829 | ||
6830 | * Makefile.in (SFILES): Remove nlmread.c. | |
6831 | (COMMON_OBS): Remove nlmread.o. | |
6832 | (nlmread.o): Delete rule. | |
6833 | * README: Delete reference to remote-st.c. | |
6834 | * acinclude.m4 (CY_AC_TCL_LYNX_POSIX): Delete. | |
6835 | * defs.h (enum gdb_osabi): Delete GDB_OSABI_NETWARE and | |
6836 | GDB_OSABI_LYNXOS. | |
6837 | * i386-tdep.c (i386_nw_init_abi, i386_nlm_osabi_sniffer): Delete. | |
6838 | (_initialize_i386_tdep): Do not reference them. | |
6839 | * nlmread.c: Delete file. | |
6840 | * osabi.c (gdb_osabi_names): Remove NetWare and LynxOS. | |
6841 | * target.c: Doc update. | |
6842 | * thread.c: Delete commented include. | |
6843 | * config/alpha/tm-alpha.h: Doc update. | |
6844 | ||
ced572fe MR |
6845 | 2007-03-30 Chris Dearman <chris@mips.com> |
6846 | ||
6847 | * utils.c (string_to_core_addr): Comment typo. | |
6848 | ||
8a9fc081 MR |
6849 | 2007-03-30 Chris Dearman <chris@mips.com> |
6850 | ||
6851 | * mips-tdep.c: Comment typo. | |
6852 | ||
5f402660 UW |
6853 | 2007-03-29 Ulrich Weigand <uweigand@de.ibm.com> |
6854 | ||
6855 | * config/alpha/nm-osf.h (PTRACE_XFER_TYPE): Remove. | |
6856 | * config/mips/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove. | |
6857 | * config/sparc/nm-linux.h (PTRACE_ARG3_TYPE, PTRACE_XFER_TYPE): Remove. | |
6858 | * config/powerpc/nm-ppc64-linux.h: Remove file. | |
6859 | * config/powerpc/ppc64-linux.mh (NATDEPFILES): Set to nm-linux.h. | |
6860 | * inferior.h (PTRACE_ARG3_TYPE): Do not define. | |
6861 | (call_ptrace): Change type of third argument to PTRACE_TYPE_ARG3. | |
6862 | * infptrace.c (call_ptrace): Likewise. | |
6863 | * m68klinux-nat.c (PTRACE_XFER_TYPE): Do not define. | |
6864 | (fetch_register): Replace PTRACE_ARG3_TYPE by PTRACE_TYPE_ARG3 | |
6865 | and PTRACE_XFER_TYPE by PTRACE_TYPE_RET. | |
6866 | (store_register): Likewise. | |
6867 | ||
bbf90c81 JB |
6868 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
6869 | ||
6870 | * Makefile.in (varobj.o): Add missing dependency. | |
6871 | ||
243c053b MS |
6872 | 2007-03-29 Michael Snyder <msnyder@access-company.com> |
6873 | ||
6874 | * MAINTAINERS: Update my email address. | |
6875 | ||
0259addd JB |
6876 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
6877 | ||
6878 | Add support for exception handling with multiple versions of | |
6879 | the Ada runtime: | |
6880 | * ada-lang.c: Update general comments on how Ada exception catchpoints | |
6881 | are implemented. | |
6882 | (raise_sym_name, raise_unhandled_sym_name, raise_assert_sym_name) | |
6883 | (__gnat_raise_nodefer_with_msg): Delete. | |
6884 | (ada_unhandled_exception_name_addr_ftype): New type. | |
6885 | (exception_support_info): New type. | |
6886 | (ada_unhandled_exception_name_addr): Add forward declaration. | |
6887 | (ada_unhandled_exception_name_addr_from_raise): Likewise. | |
6888 | (default_exception_support_info): New constant. | |
6889 | (exception_support_info_fallback): Likewise. | |
6890 | (exception_info): New global variable. | |
6891 | (ada_exception_support_info_sniffer): New function. | |
6892 | (ada_executable_changed_observer): Likewise. | |
6893 | (ada_unhandled_exception_name_addr_from_raise): Renamed from | |
6894 | ada_unhandled_exception_name_addr. | |
6895 | (ada_unhandled_exception_name_addr): Reimplement to match the | |
6896 | latest Ada runtime implementation. | |
6897 | (error_breakpoint_runtime_sym_not_found): Delete. | |
6898 | (ada_exception_sym_name): Get the exception sym name from | |
6899 | exception_info rather than hardcoding it. | |
6900 | (ada_exception_sal): Add call to ada_exception_support_info_sniffer. | |
6901 | Update error handling. | |
6902 | * Makefile.in (ada-lang.o): Add dependency on observer.h. | |
6903 | ||
483367ee DJ |
6904 | 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com> |
6905 | ||
6906 | * Makefile.in (coff_solib_h, coff-solib.o, i386v-nat.o, lynx-nat.o) | |
6907 | (remote-st.o, uw-thread.o): Delete. | |
6908 | (HFILES_NO_SRCDIR, ALLDEPFILES): Update. | |
6909 | * configure.host: Move hppa*-*-hiux*, i[34567]86-ncr-*, | |
6910 | i[34567]86-*-dgux*, i[34567]86-*-lynxos*, i[34567]86-*-sco3.2v5*, | |
6911 | i[34567]86-*-sco3.2v4*, i[34567]86-*-sco*, i[34567]86-*-sysv4.2*, | |
6912 | i[34567]86-*-sysv4*, i[34567]86-*-sysv5*, i[34567]86-*-unixware2*, | |
6913 | i[34567]86-*-unixware*, i[34567]86-*-sysv*, i[34567]86-*-isc*, and | |
6914 | rs6000-*-lynxos* to an obsoletion stanza. | |
6915 | * configure.tgt: Move hppa*-*-hiux*, i[34567]86-ncr-*, | |
6916 | i[34567]86-*-lynxos*, m68*-cisco*-*, m68*-tandem-*, m68*-*-os68k*, | |
6917 | and rs6000-*-lynxos* to an obsoletion stanza. Do not mention | |
6918 | i[34567]86-*-netware*. | |
6919 | * NEWS: Mention deleted targets. | |
6920 | ||
6921 | * coff-solib.c, coff-solib.h, i386v-nat.c, lynx-nat.c, remote-st.c, | |
6922 | uw-thread.c, config/nm-lynx.h, config/i386/i386sco.mh, | |
6923 | config/i386/i386sco4.mh, config/i386/i386sco5.mh, config/i386/i386v.mh, | |
6924 | config/i386/i386v4.mh, config/i386/i386v42mp.mh, | |
6925 | config/i386/ncr3000.mh, config/i386/ncr3000.mt, | |
6926 | config/i386/nm-i386sco.h, config/i386/nm-i386sco4.h, | |
6927 | config/i386/nm-i386sco5.h, config/i386/nm-i386v.h, | |
6928 | config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h, | |
6929 | config/m68k/cisco.mt, config/m68k/os68k.mt, config/m68k/st2000.mt, | |
6930 | config/m68k/tm-cisco.h, config/m68k/tm-os68k.h, | |
6931 | config/rs6000/rs6000lynx.mh, config/rs6000/rs6000lynx.mt, | |
6932 | config/rs6000/tm-rs6000ly.h: Delete files. | |
6933 | ||
3adda9d8 DJ |
6934 | 2007-03-29 Daniel Jacobowitz <dan@codesourcery.com> |
6935 | ||
6936 | * defs.h (deprecated_registers_changed_hook): Delete declaration. | |
6937 | * interps.c (clear_interpreter_hooks): Do not clear | |
6938 | deprecated_registers_changed_hook. | |
6939 | * regcache.c (registers_changed): Do not call it. | |
6940 | * top.c (deprecated_registers_changed_hook): Do not define it. | |
6941 | * mi/mi-interp.c (mi_command_loop): Do not clear it. | |
6942 | * tui/tui-hooks.c (tui_install_hooks): Do not install it. | |
6943 | (tui_remove_hooks): Do not remove it. | |
6944 | (tui_selected_frame_level_changed_hook): Check for negative level. | |
6945 | Use get_selected_frame. | |
6946 | (tui_registers_changed_hook): Deleted. | |
6947 | ||
bf362611 JB |
6948 | 2007-03-29 Joel Brobecker <brobecker@adacore.com> |
6949 | ||
6950 | * stabsread.c (add_undefined_type): Add extra parameter. | |
6951 | Now handles nameless types separately. | |
6952 | (struct nat): New type. | |
6953 | (noname_undefs, noname_undefs_allocated, noname_undefs_length): | |
6954 | New static variables. | |
6955 | (read_type): Update calls to add_undefined_type. | |
6956 | (add_undefined_type_noname): New function. | |
6957 | (add_undefined_type_1): Renames from add_undefined_type. | |
6958 | (cleanup_undefined_types_noname): New function. | |
6959 | (cleanup_undefined_types_1): Renames cleanup_undefined_types. | |
6960 | (cleanup_undefined_types): New handles nameless types separately. | |
6961 | (_initialize_stabsread): Initialize our new static constants. | |
6962 | ||
436868fb DP |
6963 | 2007-03-29 Denis Pilat <denis.pilat@st.com> |
6964 | ||
6965 | * configure.ac: Test for signal.h. | |
6966 | * configure, config.in: Regenerate. | |
6967 | ||
aaf9e9fd DP |
6968 | 2007-03-29 Denis Pilat <denis.pilat@st.com> |
6969 | ||
6970 | * stack.c (print_stack_frame): Always use LOC_AND_ADDRESS in MI output. | |
6971 | * infrun.c (normal_stop): Remove MI specific frame printing treatment. | |
6972 | ||
68070c10 PA |
6973 | 2007-03-29 Pedro Alves <pedro_alves@portugalmail.pt> |
6974 | ||
6975 | * arm-wince-tdep.c: New. | |
6976 | * config/arm/wince.mt (DEPRECATED_TM_FILE): Use tm-arm.h. | |
6977 | (MT_CFLAGS): Delete. | |
6978 | (TM_CLIBS): Delete. | |
6979 | (TDEPFILES): Add arm-wince-tdep.o, corelow.o, solib.o, | |
6980 | solib-legacy.o, solib-svr4.o, and remove wince.o. | |
6981 | * configure.tgt (arm*-*-mingw32ce*): Add. | |
6982 | * signals/signals.c [HAVE_SIGNAL_H]: Check. | |
6983 | (do_target_signal_to_host): Silence 'not used' warning. | |
6984 | * config/arm/tm-wince.h: Remove. | |
6985 | ||
74174d2e UW |
6986 | 2007-03-28 Ulrich Weigand <uweigand@de.ibm.com> |
6987 | ||
6988 | * arch-utils.c (legacy_pc_in_sigtramp): Remove. | |
6989 | * arch-utils.h (legacy_pc_in_sigtramp): Remove. | |
6990 | ||
6991 | * config/ia64/linux.mt (DEPRECATED_TM_FILE): Remove. | |
6992 | * config/ia64/tm-linux.h: Remove file. | |
6993 | * ia64-tdep.h (struct gdbarch_tdep): Add pc_in_sigtramp callback. | |
6994 | * ia64-tdep.c (ia64_sigtramp_frame_sniffer): Use it instead of | |
6995 | legacy_pc_in_sigtramp. | |
6996 | (ia64_gdbarch_init): Initialize tdep->pc_in_sigtramp. | |
6997 | * ia64-linux-tdep.c (ia64_linux_pc_in_sigtramp): Make static. | |
6998 | Remove func_name argument. | |
6999 | (ia64_linux_init_abi): Install it as tdep->pc_in_sigtramp. | |
7000 | ||
7001 | * infrun.c (HAVE_STEPPABLE_WATCHPOINT): Do not redefine. | |
7002 | * target.c (update_current_target): Add to_have_steppable_watchpoint. | |
7003 | * target.h (struct target_ops): Add to_have_steppable_watchpoint. | |
7004 | (HAVE_STEPPABLE_WATCHPOINT): Define. | |
7005 | ||
7006 | * config/ia64/linux.mh (NATDEPFILES): Remove core-aout.o. | |
7007 | * config/ia64/nm-linux.h (KERNEL_U_ADDR, U_REGS_OFFSET, | |
7008 | CANNOT_FETCH_REGISTER, CANNOT_STORE_REGISTER, | |
7009 | TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_STEPPABLE_WATCHPOINT, | |
7010 | STOPPED_BY_WATCHPOINT, target_stopped_data_address, | |
7011 | target_insert_watchpoint, target_remove_watchpoint): Remove. | |
7012 | (FETCH_INFERIOR_REGISTERS): Define. | |
7013 | * ia64-linux-nat.c (ia64_register_addr): Make static. | |
7014 | (ia64_cannot_fetch_register, ia64_cannot_store_register): Likewise. | |
7015 | (ia64_linux_insert_watchpoint): Make static. Remove ptid_p argument. | |
7016 | (ia64_linux_remove_watchpoint): Likewise. Add type argument. | |
7017 | (ia64_linux_stopped_data_address): Make static. Add target_ops. | |
7018 | (ia64_linux_stopped_by_watchpoint): Make static. | |
7019 | (ia64_linux_can_use_hw_breakpoint): New function. | |
7020 | (ia64_linux_fetch_register, ia64_linux_fetch_registers): Likewise. | |
7021 | (ia64_linux_store_register, ia64_linux_store_registers): Likewise. | |
7022 | (_initialize_ia64_linux_nat): Install register and watchpoint ops. | |
7023 | ||
53c5240f PA |
7024 | 2007-03-28 Pedro Alves <pedro_alves@portugalmail.pt> |
7025 | ||
7026 | * linespec.c: Include language.h. | |
7027 | (find_methods): Add language parameter. Call | |
7028 | lookup_symbol_in_language. Pass language down. | |
7029 | (add_matching_methods): Likewise. Call | |
7030 | lookup_symbol_in_language. | |
7031 | (add_constructors): Likewise. | |
7032 | (find_method): Pass sym_class to collect_methods. | |
7033 | (collect_methods): Add sym_class parameter. Pass language | |
7034 | down. | |
7035 | * symtab.c (lookup_symbol): Rename to ... | |
7036 | (lookup_symbol_in_language): ... this. Add language | |
7037 | parameter. Use passed language instead of current_language. | |
7038 | (lookup_symbol): New as wrapper around | |
7039 | lookup_symbol_in_language. | |
7040 | (lookup_symbol_aux): Add language parameter. Use passed | |
7041 | language instead of current_language. | |
7042 | (search_symbols): Indent. | |
7043 | * symtab.h (enum language): Forward declare. | |
7044 | (lookup_symbol_in_language): Declare. | |
7045 | (lookup_symbol): Update description. | |
7046 | * ada-lang.h (lookup_symbol_in_language): Remove declaration. | |
7047 | * ada-lang.c (restore_language): Remove. | |
7048 | (lookup_symbol_in_language): Remove. | |
7049 | ||
8671a17b PA |
7050 | 2007-03-27 Pedro Alves <pedro_alves@portugalmail.pt> |
7051 | ||
7052 | * breakpoint.c (bpstat_num): Add int *num parameter. | |
7053 | * breakpoint.h (bpstat_num): Likewise. | |
7054 | * infcmd.c (continue_command): Adjust to new bpstat_num | |
7055 | interface. | |
7056 | (program_info): Likewise. | |
7057 | ||
214197f9 UW |
7058 | 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com> |
7059 | ||
7060 | * config/sh/tm-sh.h: Remove file. | |
7061 | * config/sh/embed.mt (DEPRECATED_TM_FILE): Remove. | |
7062 | * config/sh/linux.mt (DEPRECATED_TM_FILE): Remove. | |
7063 | * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
7064 | * config/sh/tm-wince.h: Do not include "sh/tm-sh.h". | |
7065 | ||
bac718a6 UW |
7066 | 2007-03-27 Ulrich Weigand <uweigand@de.ibm.com> |
7067 | ||
7068 | * config/sh/tm-sh.h (DEPRECATED_BIG_REMOTE_BREAKPOINT, | |
7069 | DEPRECATED_LITTLE_REMOTE_BREAKPOINT): Remove. | |
7070 | * remote.c: Remove code under #ifdef DEPRECATED_REMOTE_BREAKPOINT, | |
7071 | DEPRECATED_BIG_REMOTE_BREAKPOINT, DEPRECATED_LITTLE_REMOTE_BREAKPOINT. | |
7072 | * sh-tdep.c (sh_breakpoint_from_pc): Return remote breakpoint | |
7073 | sequence if target_shortname is "remote". | |
7074 | ||
de6a76fd DJ |
7075 | 2007-03-27 Anton Blanchard <anton@samba.org> |
7076 | ||
7077 | * rs6000-tdep.c (rs6000_frame_cache): Use tdep->lr_frame_offset | |
7078 | instead of wordsize when looking for the LR in a stack frame. | |
7079 | ||
4fc771b8 DJ |
7080 | 2007-03-27 Andreas Schwab <schwab@suse.de> |
7081 | Daniel Jacobowitz <dan@codesourcery.com> | |
7082 | ||
7083 | * dwarf2-frame.c (dwarf2_frame_eh_frame_regnum): Rename to... | |
7084 | (dwarf2_frame_adjust_regnum): ...this. Make static. Add eh_frame_p | |
7085 | argument. Update all callers. | |
7086 | (struct dwarf2_frame_ops): Replace eh_frame_regnum with adjust_regnum. | |
7087 | (dwarf2_frame_set_eh_frame_regnum): Rename to... | |
7088 | (dwarf2_frame_set_adjust_regnum): ...this. Update argument type. | |
7089 | * dwarf2frame.h (dwarf2_frame_set_eh_frame_regnum): Rename to... | |
7090 | (dwarf2_frame_set_adjust_regnum): ...this. | |
7091 | (dwarf2_frame_eh_frame_regnum): Delete prototype. | |
7092 | * rs6000-tdep.c: Include "dwarf2-frame.h". | |
7093 | (rs6000_adjust_frame_regnum): Define. | |
7094 | (rs6000_gdbarch_init): Enable use of DWARF CFI frame unwinder. | |
7095 | Register rs6000_adjust_frame_regnum. | |
7096 | ||
7097 | * Makefile.in (rs6000-tdep.o): Update dependencies. | |
7098 | ||
9453113a DJ |
7099 | 2007-03-27 Brooks Moses <brooks.moses@codesourcery.com> |
7100 | ||
7101 | * Makefile.in: Add support for a "pdf" target. | |
7102 | ||
d2449ee8 DJ |
7103 | 2007-03-27 Daniel Jacobowitz <dan@codesourcery.com> |
7104 | ||
7105 | * amd64-tdep.c (amd64_init_frame_cache): New function. | |
7106 | (amd64_alloc_frame_cache, amd64_skip_prologue): Use it. | |
7107 | ||
a72d8a8e MR |
7108 | 2007-03-26 Nigel Stephens <nigel@mips.com> |
7109 | Maciej W. Rozycki <macro@mips.com> | |
7110 | ||
7111 | * ui-out.c (ui_out_field_core_addr): Truncate address to | |
7112 | TARGET_ADDR_BIT size before printing. | |
7113 | ||
5200c3f3 | 7114 | 2007-03-22 Nigel Stephens <nigel@mips.com> |
a72d8a8e | 7115 | Maciej W. Rozycki <macro@mips.com> |
5200c3f3 L |
7116 | |
7117 | * remote-mips.c (mips_xfer_memory): Update prototype. | |
7118 | ||
16708cba JB |
7119 | 2007-03-22 Joel Brobecker <brobecker@adacore.com> |
7120 | ||
7121 | * symfile.h: #include "symtab.h" | |
7122 | ||
0fe514e3 DP |
7123 | 2007-03-22 Denis Pilat <denis.pilat@st.com> |
7124 | ||
7125 | * utils.c (pagination_on_command, pagination_off_command): | |
7126 | Remove useless prototypes. | |
7127 | ||
4a52dc15 PM |
7128 | 2007-03-21 Pierre Muller <muller@ics.u-strasbg.fr> |
7129 | ||
7130 | Fix PR pascal/2232. | |
7131 | * p-valprint.c (pascal_object_print_value): Use type_name_no_tag | |
7132 | instead of TYPE_NAME for object base class name. | |
7133 | ||
7134 | ||
1c86fa97 KB |
7135 | 2007-03-19 Kevin Buettner <kevinb@redhat.com> |
7136 | ||
7137 | * mep-tdep.c (mep_analyze_frame_prologue, mep_frame_this_id): | |
7138 | Specify frame type in calls to frame_func_unwind(). | |
7139 | ||
4e463ff5 DJ |
7140 | 2007-03-13 Daniel Jacobowitz <dan@codesourcery.com> |
7141 | ||
7142 | * rs6000-tdep.c (rs6000_skip_prologue): Use skip_prologue_using_sal. | |
7143 | (rs6000_in_function_epilogue_p): Use extract_unsigned_integer. | |
7144 | (refine_prologue_limit): Delete. | |
7145 | (skip_prologue): Don't call it. Use extract_unsigned_integer. | |
7146 | Assume lim_pc is set. Correct check for incomplete prologues. | |
7147 | Do not skip clobbers of the frame pointer. | |
7148 | * symtab.c (skip_prologue_using_sal): Fail if there is only one | |
7149 | sal. | |
7150 | ||
348473d5 NF |
7151 | 2007-03-13 Nathan Froyd <froydnj@codesourcery.com> |
7152 | ||
7153 | * frame.c (frame_pop): Check to see whether there's a frame to | |
7154 | which we can pop first. | |
7155 | ||
a2f9cf0d NF |
7156 | 2007-03-13 Nathan Froyd <froydnj@codesourcery.com> |
7157 | ||
7158 | * MAINTAINERS (Write After Approval): Add myself. | |
7159 | ||
569631c6 UW |
7160 | 2007-03-09 Markus Deuling <deuling@de.ibm.com> |
7161 | ||
7162 | * infrun.c (breakpoints_failed): Remove unnecessary variable. | |
7163 | (handle_inferior_event): Remove unnecessary braces. | |
7164 | * breakpoint.c (bpstat_what): Remove wrong comment. | |
7165 | ||
fe5febed UW |
7166 | 2007-03-09 Ulrich Weigand <uweigand@de.ibm.com> |
7167 | ||
7168 | * spu-tdep.c (spu_in_function_epilogue_p): New function. | |
7169 | (spu_gdbarch_init): Install it. | |
7170 | ||
9dea8ca2 UW |
7171 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
7172 | ||
7173 | * spu-linux-nat.c (spu_xfer_partial): Return -1 for unsupported | |
7174 | object types, not 0. | |
7175 | ||
7b3dc0b7 UW |
7176 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
7177 | ||
7178 | * spu-tdep.c (spu_frame_align): New function. | |
7179 | (spu_gdbarch_init): Install it. Set call dummy location to ON_STACK. | |
7180 | ||
118dfbaf UW |
7181 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
7182 | ||
7183 | * spu-tdep.c (spu_unwind_pc): Mask off interrupt enable bit. | |
7184 | (spu_software_single_step): Likewise. | |
7185 | (spu_read_pc, spu_write_pc): New functions. | |
7186 | (spu_gdbarch_init): Install them. | |
7187 | ||
29e4017d UW |
7188 | 2007-03-08 Ulrich Weigand <uweigand@de.ibm.com> |
7189 | ||
7190 | * cli/cli-dump.c (struct callback_data): load_offset needs to | |
7191 | have signed long type. | |
7192 | ||
6de5b849 JB |
7193 | 2007-03-07 Joel Brobecker <brobecker@adacore.com> |
7194 | ||
7195 | * mips-tdep.c (mips_insn16_frame_cache, mips_insn32_frame_sniffer): | |
7196 | Revert the previous change that had some unexpected side-effects | |
7197 | on mips32. | |
7198 | (mips_insn16_frame_cache, mips_insn32_frame_cache): Use the proper | |
7199 | function to get the address of the calling instruction. | |
7200 | ||
7490ba4f DP |
7201 | 2007-03-07 Denis Pilat <denis.pilat@st.com> |
7202 | ||
7203 | * tui/tui-hooks.c (tui_selected_frame_level_changed_hook): Replace | |
7204 | get_selected_frame by deprecated_safe_get_selected_frame. | |
7205 | ||
861fb77c MK |
7206 | 2007-03-02 Mark Kettenis <kettenis@gnu.org> |
7207 | ||
7208 | * shnbsd-tdep.c: Include "regset.h", "gdb_assert.h" and | |
7209 | "gdb_string.h". Don't include "nbsd-tdep.h". | |
7210 | (SIZEOF_STRUCT_REG): Remove. | |
7211 | (SHNBSD_SIZEOF_GREGS): New. | |
7212 | (shnbsd_supply_gregset, shnbsd_collect_gregset) | |
7213 | (shnbsd_regset_from_core_section): New functions. | |
7214 | (fetch_core_registers, fetch_elfcore_registers): Remove functions. | |
7215 | (shnbsd_supply_reg, shnbsd_fill_reg): Simply call | |
7216 | shnbsd_supply_gregset, shnbsd_collect_gregset. | |
7217 | (shnbsd_gregset): New variable. | |
7218 | (shnbsd_init_abi): Set regset_from_core_section. | |
7219 | (GDB_OSABI_NETBSD_CORE): New define. | |
7220 | (shnbsd_core_osabi_sniffer): New function. | |
7221 | (_initialize_shnbsd_tdep): Register shnbsd_core_osabi_sniffer. | |
7222 | * Makefile.in (shnbsd-tdep.o): Update dependencies. | |
7223 | * config/sh/nbsd.mt (TDEPFILES): Add corelow.o, remove | |
7224 | nbsd-tdep.o. | |
7225 | * config/sh/obsd.mt (TDEPFILES): Remove nbsd-tdep.o. | |
7226 | ||
787cbe14 JB |
7227 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
7228 | ||
7229 | * gdbtypes.c (replace_type): Fix typo that caused us to not update | |
7230 | length of the types referenced by the new type CV ring. | |
7231 | ||
35f196d9 DJ |
7232 | 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
7233 | ||
7234 | * frame.c (frame_pop, frame_observer_target_changed): Call | |
7235 | reinit_frame_cache. | |
7236 | (flush_cached_frames): Rename to reinit_frame_cache and delete | |
7237 | old implementation. | |
7238 | * frame.h (flush_cached_frames): Delete prototype and update comment. | |
7239 | ||
7240 | * bsd-kvm.c (bsd_kvm_open, bsd_kvm_proc_cmd, bsd_kvm_pcb_cmd): Call | |
7241 | reinit_frame_cache instead of flush_cached_frames. Do not call | |
7242 | select_frame after reinit_frame_cache. | |
7243 | * corelow.c (core_open): Likewise. | |
7244 | * gdbarch.sh (deprecated_current_gdbarch_select_hack): Likewise. | |
7245 | * infrun.c (prepare_to_proceed, context_switch) | |
7246 | (handle_inferior_event): Likewise. | |
7247 | * linux-fork.c (fork_load_infrun_state): Likewise. | |
7248 | * ocd.c (ocd_start_remote): Likewise. | |
7249 | * remote-e7000.c (e7000_start_remote): Likewise. | |
7250 | * remote-mips.c (device): Likewise. | |
7251 | * thread.c (switch_to_thread): Likewise. | |
7252 | * tracepoint.c (finish_tfind_command): Likewise. | |
7253 | * gdbarch.c: Regenerated. | |
7254 | ||
c26f2453 JB |
7255 | 2007-02-28 Jerome Guitton <guitton@adacore.com> |
7256 | Joel Brobecker <brobecker@adacore.com> | |
7257 | ||
7258 | * gdbtypes.c (check_typedef): Do not replace stub type if | |
7259 | the resolved type is not defined in the same objfile. | |
7260 | ||
7d900f1a DJ |
7261 | 2007-02-28 Daniel Jacobowitz <dan@codesourcery.com> |
7262 | ||
7263 | * top.c (gdb_readline_wrapper_cleanup): Remove invalid assertion. | |
7264 | ||
76038652 | 7265 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
52eea4ce JB |
7266 | |
7267 | * stabsread.c (define_symbol): Create an associated STRUCT_DOMAIN | |
7268 | symbol for Ada units when the symbol is defined using 't' rather | |
7269 | than 'Tt' as symbol descriptor. | |
7270 | ||
d74fb156 | 7271 | 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
1344afe0 UW |
7272 | |
7273 | * config/mips/tm-nbsd.h: Delete file. | |
7274 | * config/mips/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
7275 | * config/sh/tm-nbsd.h: Delete file. | |
7276 | * config/sh/nbsd.mt (DEPRECATED_TM_FILE): Set to tm-sh.h. | |
7277 | ||
f8d225db JB |
7278 | 2007-02-28 Joel Brobecker <brobecker@adacore.com> |
7279 | ||
7280 | * mi/mi-cmd-var.c (varobj_update_one): Remove reference to | |
7281 | unused WRONG_PARAM value since it was recently deleted. | |
7282 | ||
1bbfb19a NR |
7283 | 2007-02-28 Vladimir Prus <vladimir@codesourcery.com> |
7284 | ||
7285 | * varobj.c (varobj_update): Free temporary vectors. | |
7286 | ||
6f7f3f0d UW |
7287 | 2007-02-28 Ulrich Weigand <uweigand@de.ibm.com> |
7288 | ||
7289 | * config/powerpc/linux.mt (DEPRECATED_TM_FILE): Set to tm-ppc-eabi.h. | |
7290 | * config/powerpc/tm-linux.h: Delete file. | |
7291 | * config/powerpc/tm-ppc-eabi.h: Do not include "rs6000/tm-rs6000.h". | |
7292 | (PROCESS_LINENUMBER_HOOK): Do not undefine. | |
7293 | (TEXT_SEGMENT_BASE): Do not redefine. | |
7294 | * config/rs6000/nm-rs6000.h (CHILD_SPECIAL_WAITSTATUS): Move here | |
7295 | from config/rs6000/tm-rs6000.h. | |
7296 | (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise. | |
7297 | * config/rs6000/tm-rs6000.h (struct frame_info): Remove declaration. | |
7298 | (TEXT_SEGMENT_BASE): Remove. | |
7299 | (IN_SOLIB_RETURN_TRAMPOLINE): Remove. | |
7300 | (rs6000_in_solib_return_trampoline): Remove. | |
7301 | (SKIP_TRAMPOLINE_CODE): Remove. | |
7302 | (rs6000_skip_trampoline_code): Remove. | |
7303 | (CHILD_SPECIAL_WAITSTATUS): Move to config/rs6000/nm-rs6000.h. | |
7304 | (TARGET_CREATE_INFERIOR_HOOK, rs6000_create_inferior): Likewise. | |
7305 | (FP0_REGNUM): Remove. | |
7306 | (rs6000_find_toc_address_hook): Move to rs6000-tdep.h. | |
7307 | (rs6000_set_host_arch_hook): Remove. | |
7308 | * Makefile.in (rs6000-nat.o): Add dependency on $(rs6000_tdep_h). | |
7309 | (rs6000-aix-tdep.o): Add dependency on $(ppc_tdep_h). | |
7310 | * ppc-tdep.h (struct gdbarch_tdep): Add field text_segment_base. | |
7311 | * rs6000-aix-tdep.c: Include "ppc-tdep.h". | |
7312 | (rs6000_aix_init_osabi): Set text_segment_base tdep field. | |
7313 | * rs6000-nat.c: Include "rs6000-tdep.h". | |
7314 | (exec_one_dummy_insn): Replace TEXT_SEGMENT_BASE by tdep field. | |
7315 | (set_host_arch): Rename to ... | |
7316 | (rs6000_create_inferior): ... this. Make public. | |
7317 | (_initialize_core_rs6000): Do not set rs6000_set_host_arch_hook. | |
7318 | * rs6000-tdep.c (rs6000_set_host_arch_hook): Remove. | |
7319 | (rs6000_create_inferior): Remove. | |
7320 | (branch_dest): Replace TEXT_SEGMENT_BASE by tdep field. | |
7321 | (rs6000_gdbarch_init): Call set_gdbarch_fp0_regnum, | |
7322 | set_gdbarch_in_solib_return_trampoline, and | |
7323 | set_gdbarch_skip_trampoline_code. | |
7324 | * rs6000-tdep.h (rs6000_find_toc_address_hook): Move here | |
7325 | from config/rs6000/tm-rs6000.h. | |
7326 | ||
63050a44 | 7327 | 2007-02-27 Joel Brobecker <brobecker@adacore.com> |
05279ca0 JB |
7328 | |
7329 | * buildsym.c (record_producer): Do nothing if no producer is provided. | |
7330 | ||
63050a44 | 7331 | 2007-02-27 Nick Roberts <nickrob@snap.net.nz> |
e0b75a46 NR |
7332 | |
7333 | * varobj.c (varobj_update): Remove unused local. Use gdb_assert | |
7334 | to check changelist is non-NULL. Call error if the frontend tries | |
7335 | to update a non-root variable. | |
7336 | ||
7337 | * varobj.h (enum varobj_update_error): Delete WRONG_PARAM value. | |
7338 | ||
93d42b30 DJ |
7339 | 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
7340 | ||
7341 | * dwarf2-frame.c (dwarf2_frame_cache, dwarf2_frame_this_id) | |
7342 | (dwarf2_frame_sniffer): Update. | |
7343 | (dwarf2_signal_frame_this_id): New function. | |
7344 | (dwarf2_signal_frame_unwind): Use it. | |
7345 | (dwarf2_frame_base_sniffer): Use frame_unwind_address_in_block. | |
7346 | * frame.c (frame_func_unwind): Add this_type argument. | |
7347 | (get_frame_func): Update. | |
7348 | (frame_unwind_address_in_block): Add this_type argument and check it. | |
7349 | Fix a typo. | |
7350 | (get_frame_address_in_block): Update. | |
7351 | * frame.h (enum frame_type): Move higher in the file. | |
7352 | (frame_unwind_address_in_block, frame_func_unwind): Add enum frame_type | |
7353 | argument. | |
7354 | ||
7355 | * alpha-mdebug-tdep.c, alpha-tdep.c, amd64-tdep.c, amd64obsd-tdep.c, | |
7356 | arm-tdep.c, avr-tdep.c, cris-tdep.c, frv-tdep.c, h8300-tdep.c, | |
7357 | hppa-tdep.c, i386-tdep.c, i386obsd-tdep.c, ia64-tdep.c, | |
7358 | libunwind-frame.c, m32c-tdep.c, m32r-linux-tdep.c, m32r-tdep.c, | |
7359 | m68hc11-tdep.c, m68k-tdep.c, m88k-tdep.c, mips-mdebug-tdep.c, | |
7360 | mips-tdep.c, mn10300-tdep.c, mt-tdep.c, rs6000-tdep.c, s390-tdep.c, | |
7361 | score-tdep.c, sh-tdep.c, sh64-tdep.c, sparc-tdep.c, | |
7362 | sparc64obsd-tdep.c, spu-tdep.c, v850-tdep.c, vax-tdep.c, | |
7363 | xstormy16-tdep.c, xtensa-tdep.c: Update calls to | |
7364 | frame_func_unwind and frame_unwind_address_in_block to specify | |
7365 | the frame type. Use frame_unwind_address_in_block instead of | |
7366 | frame_pc_unwind in sniffers. | |
7367 | ||
206415a3 DJ |
7368 | 2007-02-27 Daniel Jacobowitz <dan@codesourcery.com> |
7369 | ||
7370 | * frame.c (deprecated_selected_frame): Rename to... | |
7371 | (selected_frame): ...this. Make static. | |
7372 | (get_selected_frame, select_frame): Update. | |
7373 | * frame.h (deprected_select_frame): Delete. | |
7374 | (deprecated_safe_get_selected_frame): Update comments. | |
7375 | ||
7376 | * breakpoint.c, cli/cli-cmds.c, f-valprint.c, infcmd.c, inflow.c, | |
7377 | infrun.c, stack.c, tui/tui-disasm.c, tui/tui-source.c, | |
7378 | tui/tui-winsource.c, valops.c, varobj.c, findvar.c, macroscope.c, | |
7379 | parse.c, regcache.h, sh64-tdep.c, tui/tui-hooks.c, tui/tui-win.c, | |
7380 | tui/tui.c: Replace references to deprecated_selected_frame. | |
7381 | ||
7313566f FF |
7382 | 2007-02-27 Fred Fish <fnf@specifix.com> |
7383 | ||
7384 | * rs6000-tdep.c (skip_prologue): Recognize addi instructions that | |
7385 | directly decrement the stack pointer, accumulate their operand into | |
7386 | the stack offset, and mark the function as not being frameless. | |
7387 | ||
b6d373df DJ |
7388 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
7389 | ||
7390 | * arch-utils.c (selected_byte_order): New. | |
7391 | * arch-utils.h (selected_byte_order): New prototype. | |
7392 | * remote-sim.c (gdbsim_open): Use selected_byte_order. | |
7393 | ||
2711e456 DJ |
7394 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
7395 | ||
7396 | * symfile.c (place_section): Check SEC_ALLOC. Do not check VMA. | |
7397 | (default_symfile_offsets): Check VMA here. Update section VMAs. | |
7398 | ||
baef701f DJ |
7399 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
7400 | ||
7401 | * remote.c (init_remote_state): Add special handling for placeholder | |
7402 | registers. | |
7403 | ||
05a4558a DJ |
7404 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
7405 | ||
7406 | * Makefile.in (XMLFILES): Include $(TDEP_XML). | |
7407 | (filenames_h): New variable. | |
7408 | (clean): Clean up xml-builtin.c and stamp-xml. | |
7409 | (arm-linux-nat.o): Update. | |
7410 | * config/arm/linux.mh (TDEP_XML): Define. | |
7411 | * arm-linux-nat.c (PTRACE_GETWMMXREGS, PTRACE_SETWMMXREGS): Define. | |
7412 | (arm_linux_has_wmmx_registers): New. | |
7413 | (GET_THREAD_ID): Fix typo. | |
7414 | (IWMMXT_REGS_SIZE): Define. | |
7415 | (fetch_wmmx_regs, store_wmmx_regs): New. | |
7416 | (arm_linux_fetch_inferior_registers): Use fetch_wmmx_regs. | |
7417 | (arm_linux_store_inferior_registers): Use store_wmmx_regs. | |
7418 | (super_xfer_partial, arm_linux_xfer_partial): New. | |
7419 | (_initialize_arm_linux_nat): Use them. | |
7420 | * xml-support.c (fetch_xml_builtin): Move outside HAVE_LIBEXPAT. | |
7421 | (xml_builtin_xfer_partial): New function. | |
7422 | * xml-support.h (xml_builtin_xfer_partial): New prototype. | |
7423 | * NEWS: Update mention of iWMMXt support. | |
7424 | ||
ff6f572f DJ |
7425 | 2007-02-26 Daniel Jacobowitz <dan@codesourcery.com> |
7426 | ||
7427 | * arm-tdep.c (arm_scan_prologue): Do not record FPA register saves | |
7428 | if there are no FPA registers. | |
7429 | (arm_dwarf_reg_to_regnum): New function. | |
7430 | (arm_register_type, arm_register_name): Return minimal values for | |
7431 | unsupported registers. | |
7432 | (arm_register_sim_regno): Handle iWMMXt registers. | |
7433 | (arm_gdbarch_init): Record missing FPA registers if indicated by | |
7434 | a target description. Recognize iWMMXt registers. Only register | |
7435 | "info float" for FPA. Use ARM_NUM_REGS. Register | |
7436 | arm_dwarf_reg_to_regnum. | |
7437 | * arm-tdep.h (enum gdb_regnum): Add ARM_NUM_REGS and iWMMXt | |
7438 | constants. | |
7439 | (struct gdbarch_tdep): Add have_fpa_registers. | |
7440 | * features/xscale-iwmmxt.xml: Update capitalization. | |
7441 | * regformats/arm-with-iwmmxt.dat: Regenerated. | |
7442 | ||
c077150c KB |
7443 | 2007-02-24 Kevin Buettner <kevinb@redhat.com> |
7444 | ||
7445 | * NEWS (New targets): Add entry for the Toshiba Media Processor. | |
7446 | ||
01c996c1 KB |
7447 | 2007-02-23 Kevin Buettner <kevinb@redhat.com> |
7448 | ||
7449 | * MAINTAINERS (mep): New target. | |
7450 | ||
aeb43123 KB |
7451 | 2007-02-23 Kevin Buettner <kevinb@redhat.com> |
7452 | ||
7453 | From Jim Blandy, Dave Brolley, Kevin Buettner, Don Howard, and | |
7454 | Richard Sandiford: | |
7455 | * Makefile.in (elf_mep_h, mep_desc_h, mep_opc_h): New variables. | |
7456 | (mep-tdep.o): New rule. | |
7457 | * configure.tgt (mep-*-*): New target. | |
7458 | * mep-tdep.c: New file. | |
7459 | * config/mep/mep.mt: New file. | |
7460 | ||
115d86cf UW |
7461 | 2007-02-22 Markus Deuling <deuling@de.ibm.com> |
7462 | ||
7463 | * infrun.c (inferior_stop_reason, print_stop_reason): Remove | |
7464 | BREAKPOINT_HIT and STOP_UNKNOWN. | |
7465 | ||
fef862e5 UW |
7466 | 2007-02-22 Markus Deuling <deuling@de.ibm.com> |
7467 | ||
7468 | * valops.c (value_ind): Fix unary * handling of TYPE_CODE_INT. | |
7469 | ||
9a7d5afb JB |
7470 | 2007-02-20 Joel Brobecker <brobecker@adacore.com> |
7471 | ||
7472 | * gdb_expat.h (XMLCALL): Define if not already defined. | |
7473 | ||
81de920d AS |
7474 | 2007-02-20 Andreas Schwab <schwab@suse.de> |
7475 | ||
7476 | * Makefile.in (symfile.o): Update dependencies. | |
7477 | ||
cb5c8c39 DJ |
7478 | 2007-02-20 Daniel Jacobowitz <dan@codesourcery.com> |
7479 | ||
7480 | * MAINTAINERS: Disable -Werror for cris simulator. Build | |
7481 | sparc64-solaris2.10 instead of the broken sparc-elf. | |
7482 | * solib-frv.c: Include "solib.h". | |
7483 | * Makefile.in (solib-frv.o): Update. | |
7484 | * mt-tdep.c (mt_gdbarch_init): Correct typo in floatformats patch. | |
7485 | * xtensa-tdep.c (xtensa_regset_from_core_section): Cast size_t to int. | |
7486 | (xtensa_frame_this_id, xtensa_frame_prev_register) | |
7487 | (xtensa_push_dummy_call): Use %p. | |
7488 | ||
e6bb342a DJ |
7489 | 2007-02-16 Daniel Jacobowitz <dan@codesourcery.com> |
7490 | ||
7491 | * avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, | |
7492 | ia64-tdep.c, m68k-tdep.c, mips-linux-tdep.c, ppcobsd-tdep.c, | |
7493 | sparc-linux-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". | |
7494 | * Makefile.in (avr-tdep.o, hppabsd-tdep.o, hppa-tdep.o, i386-tdep.o) | |
7495 | (ia64-tdep.o, m68k-tdep.o, mips-linux-tdep.o, ppcobsd-tdep.o) | |
7496 | (sparc-linux-tdep.o): Update. | |
7497 | ||
ff7a4c00 MG |
7498 | 2007-02-15 Maxim Grigoriev <maxim2405@gmail.com> |
7499 | ||
7500 | * xtensa-tdep.h (xtensa_reg_mask_t): New. | |
7501 | (xtensa_mask_t): Change mask field to be a separate array. | |
7502 | * xtensa-tdep.c (extract_call_winsize, xtensa_pseudo_register_read) | |
7503 | (xtensa_pseudo_register_write, xtensa_unwind_pc) | |
7504 | (xtensa_unwind_dummy_id, xtensa_push_dummy_call) | |
7505 | (xtensa_breakpoint_from_pc): Remove implicit type casting. | |
7506 | * xtensa-config.c (mask0, mask1, mask2, mask3, mask4, mask5) | |
7507 | (mask6, mask7, mask8, mask9, mask10, mask11, mask12, mask13) | |
7508 | (mask14, mask15): Rename to | |
7509 | (xtensa_mask0, xtensa_mask1, xtensa_mask2, xtensa_mask3) | |
7510 | (xtensa_mask4, xtensa_mask5, xtensa_mask6, xtensa_mask7) | |
7511 | (xtensa_mask8, xtensa_mask9, xtensa_mask10, xtensa_mask11) | |
7512 | (xtensa_mask12, xtensa_mask13, xtensa_mask14, xtensa_mask15): this. | |
7513 | (xtensa_submask0, xtensa_submask1, xtensa_submask2, xtensa_submask3) | |
7514 | (xtensa_submask4, xtensa_submask5, xtensa_submask6, xtensa_submask7) | |
7515 | (xtensa_submask8, xtensa_submask9, xtensa_submask10) | |
7516 | (xtensa_submask11, xtensa_submask12, xtensa_submask13) | |
7517 | (xtensa_submask14, xtensa_submask15): New. | |
7518 | (rmap): Follow strict aliasing rules doing static initialization. | |
7519 | ||
d9cc5895 DJ |
7520 | 2007-02-13 Daniel Jacobowitz <dan@codesourcery.com> |
7521 | ||
7522 | * target-descriptions.c (tdesc_named_type): Move code_ptr and data_ptr | |
7523 | handling from here... | |
7524 | (tdesc_register_type): ...to here. | |
7525 | * xml-tdesc.c (tdesc_start_reg): Allow code_ptr and data_ptr. | |
7526 | * features/arm-core.xml: Use code_ptr and data_ptr. | |
7527 | ||
8756216b DP |
7528 | 2007-02-13 Denis Pilat <denis.pilat@st.com> |
7529 | ||
7530 | * varobj.h (enum varobj_update_error): New enum. | |
7531 | * varobj.c (struct varobj_root): Add is_valid member. | |
7532 | (varobj_get_type): Check for invalid varobj. | |
7533 | (varobj_get_attributes): Likewise. | |
7534 | (variable_editable):Likewise. | |
7535 | (varobj_update): Likewise. Use varobj_update_error. | |
7536 | (new_root_variable): Set root varobj as valid by default. | |
7537 | (varobj_invalidate): New function. | |
7538 | * symfile.c (clear_symtab_users): Use varobj_invalidate. | |
7539 | * mi/mi-cmd-var.c (varobj_update_one): Change return type to void. | |
7540 | Use varobj_update_error. | |
7541 | ||
fe8e67fd PM |
7542 | 2007-02-12 Pierre Muller <muller@ics.u-strasbg.fr> |
7543 | ||
7544 | Fix PR pascal/2223. | |
7545 | * dwarfread.c (set_cu_language): Recognize DW_LANG_Pascal83 as | |
7546 | Pascal language marker. | |
7547 | * dwarf2read.c (set_cu_language): Likewise. | |
7548 | ||
c44537cf CV |
7549 | 2007-02-12 Corinna Vinschen <vinschen@redhat.com> |
7550 | ||
7551 | * win32-nat.c (win32_wait): Reset terminal pgrp to GDB. | |
7552 | (do_initial_win32_stuff): Call terminal_init_inferior_with_pgrp | |
7553 | instead of target_terminal_init since inferior_ptid isn't set yet. | |
7554 | ||
20dad8ea PA |
7555 | 2007-02-10 Pedro Alves <pedro_alves@portugalmail.pt> |
7556 | ||
7557 | * MAINTAINERS (Write After Approval): Add myself. | |
7558 | ||
4ac94eda FF |
7559 | 2007-02-09 Fred Fish <fnf@specifix.com> |
7560 | ||
7561 | Based on work by Apple Computer, Inc. | |
7562 | * event-top.c (async_request_quit): Call quit() whenever either | |
7563 | quit_flag is set or immediate_quit is set. | |
7564 | ||
b260b6c1 GDR |
7565 | 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net> |
7566 | ||
7567 | * ada-lang.c (remove_out_of_scope_renamings): Change third parameter's | |
7568 | type to a pointer to const struct block. | |
7569 | (ada_lookup_symbol_list): Don't cast away constness when calling | |
7570 | remove_out_of_scope_renamings. | |
7571 | ||
7572 | 2007-02-09 Gabriel Dos Reis <gdr@integrable-solutions.net> | |
7573 | ||
7574 | * linux-nat.c (linux_nat_find_memory_regions): Don't check the | |
7575 | address of 'filename'; it is always non null. | |
7576 | ||
0f5d55d8 JB |
7577 | 2007-02-09 Joel Brobecker <brobecker@adacore.com> |
7578 | ||
7579 | * exec.c (add_to_section_table): Do not discard empty sections. | |
7580 | ||
fb1e4ffc DJ |
7581 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
7582 | ||
7583 | * features/Makefile, features/arm-with-iwmmxt.xml, | |
7584 | features/gdbserver-regs.xsl, features/number-regs.xsl, | |
7585 | features/sort-regs.xsl, features/xscale-iwmmxt.xml: New files. | |
7586 | * regformats/arm-with-iwmmxt.dat: Generate. | |
7587 | * NEWS: Mention iWMMXt. | |
7588 | ||
123dc839 DJ |
7589 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
7590 | ||
7591 | * Makefile.in (arm-tdep.o, eval.o, target-descriptions.o) | |
7592 | (xml-tdesc.o): Update. | |
7593 | * xml-support.c: Add a comment. | |
7594 | (gdb_xml_enums_boolean): New variable. | |
7595 | (gdb_xml_parse_attr_enum): Use strcasecmp. | |
7596 | * xml-support.h (gdb_xml_enums_boolean): Declare. | |
7597 | * xml-tdesc.c (struct tdesc_parsing_data): Record current_feature, | |
7598 | next_regnum, and current_union. | |
7599 | (tdesc_start_feature, tdesc_start_reg, tdesc_start_union) | |
7600 | (tdesc_end_union, tdesc_start_field, tdesc_start_vector) | |
7601 | (field_attributes, union_children, reg_attributes, union_attributes) | |
7602 | (vector_attributes, feature_attributes, feature_children): New. | |
7603 | (target_children): Make static. Add <feature>. | |
7604 | (tdesc_elements): Make static. | |
7605 | * target-descriptions.c (struct tdesc_reg, tdesc_reg_p, type_p) | |
7606 | (struct tdesc_feature, tdesc_feature_p): New types. | |
7607 | (struct target_desc): Add features member. | |
7608 | (struct tdesc_arch_data, tdesc_data): New. | |
7609 | (target_find_description): Clarify error message. Warn about | |
7610 | ignored register descriptions. | |
7611 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) | |
7612 | (tdesc_named_type, tdesc_data_init, tdesc_data_alloc) | |
7613 | (tdesc_data_cleanup, tdesc_numbered_register) | |
7614 | (tdesc_numbered_register_choices, tdesc_find_register) | |
7615 | (tdesc_register_name, tdesc_register_type) | |
7616 | (tdesc_remote_register_number, tdesc_register_reggroup_p) | |
7617 | (set_tdesc_pseudo_register_name, set_tdesc_pseudo_register_type) | |
7618 | (set_tdesc_pseudo_register_reggroup_p, tdesc_use_registers) | |
7619 | (tdesc_free_reg, tdesc_create_reg, tdesc_free_feature) | |
7620 | (tdesc_create_feature, tdesc_record_type): New. | |
7621 | (free_target_description): Free features. | |
7622 | (_initialize_target_descriptions): Initialize tdesc_data. | |
7623 | * arch-utils.c (default_remote_register_number): New. | |
7624 | * arch-utils.h (default_remote_register_number): New prototype. | |
7625 | * target-descriptions.h (set_tdesc_pseudo_register_name) | |
7626 | (set_tdesc_pseudo_register_type, set_tdesc_pseudo_register_reggroup_p) | |
7627 | (tdesc_use_registers, tdesc_data_alloc, tdesc_data_cleanup) | |
7628 | (tdesc_numbered_register, tdesc_numbered_register_choices) | |
7629 | (tdesc_has_registers, tdesc_find_feature, tdesc_feature_name) | |
7630 | (tdesc_named_type, tdesc_create_feature, tdesc_record_type) | |
7631 | (tdesc_create_reg): Declare. | |
7632 | * gdbarch.sh (remote_register_number): New entry. | |
7633 | * gdbarch.c, gdbarch.h: Regenerate. | |
7634 | * remote.c (init_remote_state): Use gdbarch_remote_register_number. | |
7635 | * features/gdb-target.dtd: Add feature, reg, vector, union, and field. | |
7636 | ||
7637 | * arm-tdep.c (arm_register_aliases): New. | |
7638 | (arm_register_name_strings): Rename to... | |
7639 | (arm_register_names): ...this. Make const. Delete the old version. | |
7640 | (current_option, arm_register_byte): Delete. | |
7641 | (set_disassembly_style): Simplify. Do not adjust arm_register_names. | |
7642 | (value_of_arm_user_reg): New. | |
7643 | (arm_gdbarch_init): Verify any described registers. Call | |
7644 | tdesc_use_registers. Don't use arm_register_byte. Create aliases | |
7645 | for standard register names. | |
7646 | (_initialize_arm_tdep): Do not adjust arm_register_names. | |
7647 | * user-regs.c (struct user_reg): Add baton member. | |
7648 | (append_user_reg, user_reg_add_builtin, user_regs_init) | |
7649 | (user_reg_add, value_of_user_reg): Use a baton for user | |
7650 | register functions. | |
7651 | * std-regs.c: Update. | |
7652 | * user-regs.h (user_reg_read_ftype, user_reg_add_builtin) | |
7653 | (user_reg_add): Add baton argument. | |
7654 | * NEWS: Mention target description register support. | |
7655 | * features/arm-core.xml, features/arm-fpa.xml: New. | |
7656 | * eval.c (evaluate_subexp_standard): Allow ptype $register | |
7657 | when the program is not running. | |
7658 | ||
87604222 NR |
7659 | 2007-02-09 Nick Roberts <nickrob@snap.net.nz> |
7660 | ||
7661 | * mi/mi-cmd-var.c (mi_cmd_var_create): Add value field. | |
7662 | ||
ee4f0f76 DJ |
7663 | 2007-02-08 Thiago Jung Bauermann <bauerman@br.ibm.com> |
7664 | ||
7665 | * rs6000-tdep.c (gdb_print_insn_powerpc): Set | |
7666 | info->disassembler_options to "any". | |
7667 | ||
7af9851d DJ |
7668 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
7669 | ||
7670 | * varobj.c (install_new_value): Only call value_get_print_value | |
7671 | if changeable. | |
7672 | ||
8944021f DJ |
7673 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
7674 | ||
7675 | Reported by timeless@gmail.com: | |
7676 | * gdb/target.c (target_flash_erase): Do not return void value. | |
7677 | (target_flash_done): Likewise. | |
7678 | * gdb/cli/cli-cmds.c (source_command): Likewise. | |
7679 | ||
7680 | 2007-02-08 Fred Fish <fnf@specifix.com> | |
5f960e00 | 7681 | |
4ac94eda | 7682 | Based on work by Apple Computer, Inc. |
5f960e00 FF |
7683 | * event-top.c (handle_sigint): Set quit_flag. |
7684 | (async_request_quit): Don't set quit_flag. Avoid calling quit() | |
7685 | if quit_flag has already been reset. | |
7686 | ||
4998c1df DJ |
7687 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
7688 | ||
7689 | * ser-mingw.c (pipe_windows_close): Move variable initialization back | |
7690 | up. | |
7691 | ||
79da184e FF |
7692 | 2007-02-08 Fred Fish <fnf@specifix.com> |
7693 | ||
7694 | * defs.h (request_quit): Remove declaration. | |
7695 | * utils.c (request_quit): Remove definition. | |
7696 | ||
3c77c82a DJ |
7697 | 2007-02-08 Joel Brobecker <brobecker@gnat.com> |
7698 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
7699 | Daniel Jacobowitz <dan@codesourcery.com> | |
7700 | ||
7701 | * rs6000-tdep.c (bl_to_blrl_insn_p): New function. | |
7702 | (skip_prologue): Allow bl->blrl used by PIC code. | |
7703 | ||
c1b6e682 DJ |
7704 | 2007-02-08 Mark Kettenis <kettenis@gnu.org> |
7705 | Daniel Jacobowitz <dan@codesourcery.com> | |
7706 | ||
7707 | * cp-valprint.c (cp_print_value_fields, cp_print_value): Always | |
7708 | initialize tmp_obstack. | |
7709 | * p-valprint.c (pascal_object_print_value_fields) | |
7710 | (pascal_object_print_value): Likewise. | |
7711 | ||
fe5dedf4 DJ |
7712 | 2007-02-08 Daniel Jacobowitz <dan@codesourcery.com> |
7713 | ||
7714 | * features/feature_to_c.sh: Use %s to avoid problems with nawk. | |
7715 | ||
3e461478 MK |
7716 | 2007-02-08 Mark Kettenis <kettenis@gnu.org> |
7717 | ||
7718 | * sparcnbsd-tdep.c: Include "gdbtypes.h" instead of "floatformat.h". | |
7719 | * Makefile.in (sparcnbsd-tdep.o): Update dependencies. | |
7720 | ||
fc6e0168 DJ |
7721 | 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
7722 | ||
7723 | * xml-tdesc.c (struct tdesc_xml_cache, tdesc_xml_cache_s) | |
7724 | (xml_cache): New. | |
7725 | (tdesc_parse_xml): Cache expanded descriptions. | |
7726 | ||
108546a0 DJ |
7727 | 2007-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
7728 | ||
7729 | * Makefile.in (XMLFILES): New. | |
7730 | (COMMON_OBS): Add xml-builtin.o. | |
7731 | (xml-builtin.c, stamp-xml): New rules. | |
7732 | (xml-tdesc.o): Update. | |
7733 | * features/feature_to_c.sh: New file. | |
7734 | * xml-support.c (MAX_XINCLUDE_DEPTH): Define. | |
7735 | (struct gdb_xml_parser): Add dtd_name and is_xinclude. | |
7736 | (gdb_xml_start_element): Initialize scope after possibly reallocating | |
7737 | scopes. Move cleanup later. Handle the XInclude description | |
7738 | specially. | |
7739 | (gdb_xml_end_element): Only parse the body if there is a current element. | |
7740 | Call XML_DefaultCurrent if there is no element. | |
7741 | (gdb_xml_fetch_external_entity, gdb_xml_use_dtd): New. | |
7742 | (struct xinclude_parsing_data, xinclude_start_include) | |
7743 | (xinclude_end_include, xml_xinclude_default) | |
7744 | (xml_xinclude_start_doctype, xml_xinclude_end_doctype) | |
7745 | (xml_xinclude_xml_decl, xml_xinclude_cleanup, xinclude_attributes) | |
7746 | (xinclude_elements, xml_process_xincludes, fetch_xml_builtin): New. | |
7747 | * xml-support.h (xml_fetch_another, xml_process_xincludes) | |
7748 | (fetch_xml_builtin, xml_builtin, gdb_xml_use_dtd): New declarations. | |
7749 | * xml-tdesc.c (tdesc_parse_xml): Add fetcher_baton argument. Expand | |
7750 | XInclude directives. Use the compiled in DTD. | |
7751 | (fetch_xml_from_file): Add baton argument. Treat it as a containing | |
7752 | directory name. Do not warn here. | |
7753 | (file_read_description_xml): Update call. Warn here instead. Pass | |
7754 | a dirname as baton. | |
7755 | (fetch_available_features_from_target): New. | |
7756 | (target_read_description_xml): Use it. | |
7757 | * features/gdb-target.dtd: Add copyright notice. Use xinclude.dtd | |
7758 | to handle XInclude. | |
7759 | * features/xinclude.dtd: New file. | |
7760 | ||
b5057acd DJ |
7761 | 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com> |
7762 | ||
7763 | * linux-thread-db.c (check_for_thread_db): Return early if we have | |
7764 | no libthread_db support. | |
7765 | ||
6a089cf2 DJ |
7766 | 2007-02-05 Daniel Jacobowitz <dan@codesourcery.com> |
7767 | ||
7768 | * mi/mi-parse.h: Include <sys/time.h>. | |
7769 | ||
9fbcbb40 NR |
7770 | 2007-02-05 Nick Roberts <nickrob@snap.net.nz> |
7771 | ||
7772 | * mi/mi-cmd-stack.c (list_args_or_locals): Use common_val_print | |
7773 | instead of print_variable_value to print values. | |
7774 | ||
b3d2152a NR |
7775 | 2007-02-03 Nick Roberts <nickrob@snap.net.nz> |
7776 | ||
7777 | * mi/mi-main.c: Numerous formatting changes. | |
7778 | (mi_cmd_data_write_register_values): Replace clause inadvertantly | |
7779 | removed in my previous change. | |
7780 | ||
79f0a97a NR |
7781 | 2007-02-03 Eli Zaretskii <eliz@gnu.org> |
7782 | ||
7783 | * mi/mi-main.c (mi_load_progress, timestamp, print_diff_now): | |
7784 | Use 1000000L instead of 1000000. | |
7785 | ||
95a98c01 | 7786 | 2007-02-03 Nick Roberts <nickrob@snap.net.nz> |
cd375699 NR |
7787 | |
7788 | Based on work by Apple Computer, Inc. | |
7789 | ||
7790 | * configure.ac: Test for sys/resource.h and getrusage. | |
7791 | * configure, config.in: Regenerate. | |
7792 | ||
7793 | * mi/mi-main.c: Include <sys/resource.h> if present. | |
7794 | (rusage): Declare if HAVE_GETRUSAGE. | |
7795 | (current_command_ts, do_timings): New static variables. | |
7796 | (timestamp, print_diff_now, print_diff, timeval_diff): | |
7797 | New static timing functions. | |
7798 | (mi_cmd_enable_timings): New function for new MI command. | |
7799 | (captured_mi_execute_command, mi_execute_async_cli_command): | |
7800 | Call timing functions. | |
7801 | ||
7802 | * mi/mi-cmds.c (mi_cmds): Add entry for new MI command | |
7803 | -enable-timings. | |
7804 | ||
7805 | * mi/mi-cmds.h (mi_cmd_enable_timings): New extern. | |
7806 | ||
7807 | * mi/mi-parse.h: (mi_timestamp): New structure. | |
7808 | (mi_parse): Add mi_timestamp* member. | |
7809 | ||
99b3d574 DP |
7810 | 2007-02-02 Denis Pilat <denis.pilat@st.com> |
7811 | ||
7812 | * thread.c (make_cleanup_restore_current_thread): New function. | |
7813 | (info_threads_command): Use of make_cleanup_restore_current_thread | |
7814 | to restore the current thread and the selected frame. | |
7815 | (restore_selected_frame): New function. | |
7816 | (struct current_thread_cleanup): Add frame_id field. | |
7817 | (do_restore_current_thread_cleanup): Add restoring of the selected | |
7818 | frame. | |
7819 | (make_cleanup_restore_current_thread): Likewise. | |
7820 | (thread_apply_all_command): backup the selected frame while | |
7821 | entering the function and restore it at exit. | |
7822 | (thread_apply_command): Likewise. | |
7823 | ||
d3c598de DP |
7824 | 2007-02-02 Denis Pilat <denis.pilat@st.com> |
7825 | ||
7826 | * MAINTAINERS (Write After Approval): Add myself to the list. | |
7827 | ||
b69733ab | 7828 | 2007-02-01 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
3e41d55f KI |
7829 | |
7830 | * gdb/remote-m32r.sdi.c (m32r_fetch_register): Change PWD mask. | |
7831 | (m32r_store_register): Ditto. | |
7832 | ||
b69733ab | 7833 | 2007-01-30 Vladimir Prus <vladimir@codesourcery.com> |
ef7723eb VP |
7834 | |
7835 | * ser-mingw.c (pipe_windows_open) | |
7836 | (pipe_windows_read, pipe_windows_write): Declare | |
7837 | variables at the top of the function. | |
7838 | ||
8da61cc4 DJ |
7839 | 2007-01-29 Daniel Jacobowitz <dan@codesourcery.com> |
7840 | ||
7841 | * doublest.c (floatformat_from_length): Use the right element from | |
7842 | gdbarch floatformats. | |
7843 | (floatformat_from_type, extract_typed_floating) | |
7844 | (store_typed_floating): Likewise. | |
7845 | * doublest.h: Remove declarations for undefined floatformat arrays. | |
7846 | * gdbarch.sh (float_format, double_format, long_double_format): Change | |
7847 | to pairs. | |
7848 | (pformat): Update for pairs. | |
7849 | * gdbarch.c, gdbarch.h: Regenerated. | |
7850 | * gdbtypes.c (floatformats_ieee_single, floatformats_ieee_double) | |
7851 | (floatformats_ieee_double_littlebyte_bigword) | |
7852 | (floatformats_i387_ext, floatformats_m68881_ext, floatformats_arm_ext) | |
7853 | (floatformats_ia64_spill, floatformats_ia64_quad, floatformats_vax_f) | |
7854 | (floatformats_vax_d): New variables. | |
7855 | (builtin_type_ieee_single, builtin_type_ieee_double) | |
7856 | (builtin_type_arm_ext, builtin_type_ia64_spill) | |
7857 | (builtin_type_ia64_quad): Replace arrays with individual types. | |
7858 | (builtin_type_ieee_single_big, builtin_type_ieee_single_little) | |
7859 | (builtin_type_ieee_double_big, builtin_type_ieee_double_little) | |
7860 | (builtin_type_ieee_double_littlebyte_bigword, builtin_type_i960_ext) | |
7861 | (builtin_type_m88110_ext, builtin_type_m88110_harris_ext) | |
7862 | (builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword) | |
7863 | (builtin_type_ia64_spill_big, builtin_type_ia64_spill_little) | |
7864 | (builtin_type_ia64_quad_big, builtin_type_ia64_quad_little): Delete | |
7865 | unused and endian-specific types. | |
7866 | (recursive_dump_type): Update for floatformat pairs. | |
7867 | (build_flt): Move higher. Handle bit == -1. Take a floatformat pair. | |
7868 | (build_gdbtypes): Use build_flt. | |
7869 | (_initialize_gdbtypes): Update set of initialized types. | |
7870 | * gdbtypes.h: Update declarations to match gdbtypes.c. | |
7871 | (struct main_type): Store a pointer to two floatformats. | |
7872 | * arch-utils.c (default_float_format, default_double_format): Delete. | |
7873 | * arch-utils.h (default_float_format, default_double_format): Delete. | |
7874 | ||
7875 | * arm-tdep.c, avr-tdep.c, hppa-tdep.c, hppabsd-tdep.c, i386-tdep.c, | |
7876 | ia64-tdep.c, iq2000-tdep.c, m68k-tdep.c, m88k-tdep.c, | |
7877 | mips-linux-tdep.c, mips-tdep.c, mt-tdep.c, ppcobsd-tdep.c, | |
7878 | sparc-linux-tdep.c, sparc-tdep.c, sparcnbsd-tdep.c, spu-tdep.c, | |
7879 | vax-tdep.c, alpha-tdep.c, ppc-sysv-tdep.c: Update. | |
7880 | ||
87680a14 JB |
7881 | 2007-01-29 Joel Brobecker <brobecker@adacore.com> |
7882 | ||
7883 | * target.c (maintenance_print_target_stack): New function. | |
7884 | (initialize_targets): Add new "maintenance print target-stack" | |
7885 | command. | |
7886 | ||
1c3d648d MK |
7887 | 2007-01-28 Mark Kettenis <kettenis@gnu.org> |
7888 | ||
7889 | * dwarf2read.c (new_symbol): Handle DW_AT_decl_file being zero. | |
7890 | ||
607269ae DJ |
7891 | 2007-01-27 Daniel Jacobowitz <dan@codesourcery.com> |
7892 | ||
7893 | * dwarf2loc.h (struct dwarf2_locexpr_baton): Change size to a long. | |
7894 | (struct dwarf2_loclist_baton): Likewise. | |
7895 | ||
40c03ae8 EZ |
7896 | 2007-01-27 Eli Zaretskii <eliz@gnu.org> |
7897 | ||
7898 | * cli/cli-script.c: Include breakpoint.h. | |
7899 | (build_command_line): Require arguments only for if and while | |
7900 | commands. | |
7901 | (get_command_line, execute_user_command, execute_control_command): | |
7902 | Fix wording of warning messages. | |
7903 | (print_command_lines): Print breakpoint commands. | |
7904 | (execute_control_command): Call commands_from_control_command to | |
7905 | handle the `commands' command inside a body of a flow-control | |
7906 | command. | |
7907 | (read_next_line): Recognize the `commands' command and build a | |
7908 | command line structure for it. | |
7909 | (recurse_read_control_structure, read_command_lines): Handle | |
7910 | `commands' similarly to `if' and `while'. | |
7911 | ||
7912 | * breakpoint.c (get_number_trailer): Document the special meaning | |
7913 | of NULL as the first argument PP. | |
7914 | (commands_from_control_command): New function. | |
7915 | ||
7916 | * breakpoint.h (commands_from_control_command): Add prototype. | |
7917 | ||
7918 | * defs.h (commands_control): New enumerated value for enum | |
7919 | command_control_type. | |
7920 | ||
4b9eee8c JB |
7921 | 2007-01-26 Joel Brobecker <brobecker@adacore.com> |
7922 | ||
7923 | * ada-lang.c (ada_exception_breakpoint_ops): Fix typo in function name. | |
7924 | (ada_exception_sal): Update accordingly. | |
7925 | ||
e1f48ead JK |
7926 | 2007-01-26 Jan Kratochvil <jan.kratochvil@redhat.com> |
7927 | ||
7928 | * c-valprint.c (c_val_print): Require strings to be of no-signed CHARs. | |
7929 | * NEWS: Describe CHAR array vs. string identifcation rules. | |
7930 | ||
e150acc7 PB |
7931 | 2007-01-25 Paul Brook <paul@codesourcery.com> |
7932 | ||
7933 | * arm-tdep.c (arm_get_next_pc): Fix bitfield off-by-one error. | |
7934 | ||
10fb19b6 JB |
7935 | 2007-01-24 Jim Blandy <jimb@codesourcery.com> |
7936 | ||
7937 | * dwarf2loc.c (dwarf2_evaluate_loc_desc): When the location | |
7938 | expression is empty, bother to return the 'optimized out' value we | |
7939 | construct. (Thanks to Carl Burch.) | |
7940 | ||
85d93f1d VP |
7941 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
7942 | ||
7943 | * varobj.c (c_value_of_root, c_value_of_child) | |
7944 | (cplus_describe_child): Don't call release_value. | |
7945 | ||
fcbd8a5c TS |
7946 | 2007-01-24 Thiemo Seufer <ths@mips.com> |
7947 | ||
7948 | * mips-linux-tdep.c (mips_linux_n64_rt_sigframe): Fix struct | |
7949 | initialization. | |
7950 | ||
2024f65a VP |
7951 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
7952 | ||
7953 | Refactor getting children name, value and type access | |
7954 | for varobjs in C++. | |
7955 | * varobj.c (get_type_deref): Remove. | |
7956 | (adjust_value_for_child_access): New. | |
7957 | (c_number_of_children): Use the above. | |
7958 | (c_describe_child): Likewise. | |
7959 | (enum accessibility): New. | |
7960 | (match_accessibility): New function. | |
7961 | (cplus_describe_child): New function. | |
7962 | (cplus_name_of_child, cplus_value_of_child) | |
7963 | (cplus_type_of_child): Reimplement in terms | |
7964 | of cplus_describe_child. | |
7965 | (cplus_number_of_children): Use | |
7966 | adjust_value_for_child_access. | |
7967 | ||
6e2a9270 VP |
7968 | 2007-01-24 Vladimir Prus <vladimir@codesourcery.com> |
7969 | ||
7970 | Fix computation of the 'editable' attribute and | |
7971 | value changeability for for references. | |
7972 | * varobj.c (get_value_type): New function. | |
7973 | (c_variable_editable): Use get_value_type. | |
7974 | (varobj_value_is_changeable): Likewise. | |
7975 | ||
56163ce1 JB |
7976 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
7977 | ||
7978 | * source.c (find_and_open_source): Try rewriting the source | |
7979 | path inside filename if dirname is NULL. | |
7980 | ||
8c6860bb JB |
7981 | 2007-01-24 Joel Brobecker <brobecker@adacore.com> |
7982 | ||
7983 | * dwarf2read.c (add_partial_symbol): Create an extra partial | |
7984 | symbol in the VAR_DOMAIN for Ada structures, unions or enums. | |
7985 | (new_symbol): Likewise for symbols. | |
7986 | ||
6db6d2ca NR |
7987 | 2007-01-24 Nick Roberts <nickrob@snap.net.nz> |
7988 | ||
7989 | * mi/mi-main.c (mi_cmd_execute): Call free_all_values. | |
7990 | ||
7d85ee02 VP |
7991 | 2007-01-23 Vladimir Prus <vladimir@codesourcery.com> |
7992 | ||
7993 | * value.c (value_primitive_field): Copy the full 'location' | |
7994 | contents, instead of assuming that copying ADDRESS will | |
7995 | bring over everything in the union. Remove obsolete comment. | |
7996 | ||
f79b9530 DJ |
7997 | 2007-01-23 Masaki Muranaka <monaka@monami-software.com> |
7998 | ||
7999 | * m32c-tdep.c (make_regs, m32c_analyze_prologue) | |
8000 | (m32c_skip_trampoline_code, m32c_m16c_address_to_pointer) | |
8001 | (m32c_m16c_pointer_to_address): Separate code from declarations. | |
8002 | ||
08d8bcd7 DJ |
8003 | 2007-01-23 Nick Hudson <nick.hudson@dsl.pipex.com> |
8004 | ||
8005 | * target.c (update_current_target): Correct typo. | |
8006 | ||
57fdbbbe CV |
8007 | 2007-01-22 Masaki Muranaka <monaka@monami-software.com> |
8008 | ||
8009 | * xstormy16-tdep.c (xstormy16_skip_prologue): Separate code from a | |
8010 | declaration. | |
8011 | ||
58894217 JK |
8012 | 2007-01-11 Andrew Cagney <cagney@redhat.com> |
8013 | Daniel Jacobowitz <dan@codesourcery.com> | |
8014 | Jan Kratochvil <jan.kratochvil@redhat.com> | |
8015 | ||
8016 | * dwarf2-frame.c (execute_cfa_program): New support of | |
8017 | `DW_CFA_GNU_negative_offset_extended'. | |
8018 | ||
9ebce043 DJ |
8019 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
8020 | ||
8021 | * NEWS: Mention flash support for "load" and new remote packets. | |
8022 | ||
973d738b DJ |
8023 | 2007-01-21 Markus Deuling <deuling@de.ibm.com> |
8024 | ||
8025 | * breakpoint.c (delete_command): Skip redundant loop iterations. | |
8026 | ||
7b9ee6a8 DJ |
8027 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
8028 | ||
8029 | * gdbarch.sh (register_type): Update comment. | |
8030 | * gdbarch.h: Regenerated. | |
8031 | * arch-utils.c (generic_register_size): Call register_type. | |
8032 | * ia64-tdep.c (ia64_extract_return_value): Likewise. | |
8033 | * m32c-tdep.c (check_for_saved): Likewise. | |
8034 | * mips-tdep.c (mips_print_register, print_gp_register_row) | |
8035 | (mips_print_registers_info): Likewise. | |
8036 | * sh-tdep.c (sh_pseudo_register_read, sh_pseudo_register_write): | |
8037 | Likewise. | |
8038 | * sh64-tdep.c (sh64_pseudo_register_read, sh64_pseudo_register_write) | |
8039 | (sh64_do_register, sh64_print_register) | |
8040 | (sh64_media_print_registers_info): Likewise. | |
8041 | * tui/tui-regs.c (tui_register_format): Likewise. | |
8042 | ||
11309657 DJ |
8043 | 2007-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
8044 | ||
8045 | * objfiles.h (ALL_PRIMARY_SYMTABS): Define. | |
8046 | ||
8047 | * ada-lang.c (symtab_for_sym, ada_lookup_symbol_list) | |
8048 | (ada_lookup_symbol): Use ALL_PRIMARY_SYMTABS. | |
8049 | * cp-support.c (make_symbol_overload_list_qualified): Likewise. | |
8050 | * symtab.c (lookup_symbol_aux_block, lookup_symbol_aux_symtabs) | |
8051 | (basic_lookup_transparent_type, find_pc_sect_symtab, search_symbols) | |
8052 | (make_symbol_completion_list): Likewise. | |
8053 | ||
cb1df416 DJ |
8054 | 2007-01-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
8055 | Daniel Jacobowitz <dan@codesourcery.com> | |
8056 | ||
8057 | * buildsym.c (end_symtab): Use preallocated symtab if available. | |
8058 | Fill in SYMBOL_SYMTAB. | |
8059 | * buildsym.h (struct subfile): Add symtab member. | |
8060 | * dwarf2read.c (struct dwarf2_cu): Add line_header. | |
8061 | (struct file_entry): Add symtab. | |
8062 | (free_cu_line_header): New function. | |
8063 | (read_file_scope): Use it. Save line_header in the cu. Process | |
8064 | lines before DIEs. | |
8065 | (add_file_name): Initialize new symtab member. | |
8066 | (dwarf_decode_lines): Create symtabs for included files. | |
8067 | (new_symbol): Set SYMBOL_SYMTAB. | |
8068 | * symtab.c (lookup_symbol): Use SYMBOL_SYMTAB. | |
8069 | (search_symbols): Likewise. | |
8070 | * symtab.h (struct symbol): Add symtab member. | |
8071 | (SYMBOL_SYMTAB): Define. | |
8072 | ||
727da900 DJ |
8073 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
8074 | ||
8075 | * symfile.c (allocate_symtab): Remove INIT_EXTRA_SYMTAB_INFO. | |
8076 | ||
7b6b9e83 DJ |
8077 | 2007-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
8078 | ||
8079 | * arch-utils.c (show_endian): Correct reversed condition. | |
8080 | ||
e767400c JK |
8081 | 2007-01-19 Jan Kratochvil <jan.kratochvil@redhat.com> |
8082 | ||
8083 | * MAINTAINERS (Write After Approval): Add myself. | |
8084 | ||
b20d8971 VP |
8085 | 2007-01-16 Daniel Jacobowitz <dan@codesourcery.com> |
8086 | Vladimir Prus <vladimir@codesourcery.com> | |
8087 | ||
8088 | Fix 'selected frame' varobjs. | |
8089 | * varobj.c (struct varobj): Remove the error field. | |
8090 | (varobj_set_value): Don't check var->error. | |
8091 | (install_new_value): Don't set var->error. | |
8092 | (varobj_update): Always pass the new value | |
8093 | of the root via install_new_value. | |
8094 | (create_child): Don't set error field. | |
8095 | (new_variable): Likewise. | |
8096 | (c_value_of_root): Always reevaluate the value | |
8097 | of selected frame varobjs in the selected frame. | |
8098 | Don't call reinit_frame_cache. | |
8099 | ||
7ef2b397 JB |
8100 | 2007-01-15 Joel Brobecker <brobecker@adacore.com> |
8101 | ||
8102 | * source.c (_initialize_source): Improve the help text of | |
8103 | the substitute-path commands. | |
8104 | ||
1208538e MK |
8105 | 2007-01-14 Mark Kettenis <kettenis@gnu.org> |
8106 | ||
8107 | * frv-tdep.c (frv_gdbarch_init, frv_register_name) | |
8108 | (frv_breakpoint_from_pc, frv_gdbarch_adjust_breakpoint_address) | |
8109 | (frv_skip_prologue): Remove prototypes. | |
8110 | (frv_adjust_breakpoint_address): Renamed from | |
8111 | frv_gdbarch_adjust_breakpoint_address. | |
8112 | (frv_gdbarch_init): Adjust. | |
8113 | ||
765f065a MK |
8114 | 2007-01-13 Mark Kettenis <kettenis@gnu.org> |
8115 | ||
5e66aab2 MK |
8116 | * gdbarch.sh (deprecated_extract_return_value) |
8117 | (deprecated_store_return_value): Remove. | |
8118 | (extract_return_value, store_return_value): Remove default values. | |
8119 | * gdbarch.c, gdbarch.h: Regenerate. | |
8120 | * arch-utils.c, arch-utils.h (legacy_extract_return_value) | |
8121 | (legacy_store_return_value): Remove. | |
8122 | * regcache.c, regcache.h (deprecated_grub_regcache_for_registers): | |
8123 | Remove. | |
8124 | ||
56178203 MK |
8125 | * mi/mi-main.c: Remove obsolete comment. |
8126 | ||
23303b2e MK |
8127 | * regcache.c, regcache.h (deprecated_register_bytes) |
8128 | (deprecated_read_register_bytes) | |
8129 | (deprecated_write_register_bytes): Remove. | |
8130 | ||
765f065a MK |
8131 | * frame.c (get_frame_register_bytes, put_frame_register_bytes): |
8132 | Don't forget to move destination pointer. | |
8133 | ||
610acfff MK |
8134 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
8135 | ||
8136 | * config/i386/nm-i386gnu.h (CHILD_PREPARE_TO_STORE): Remove. | |
8137 | ||
12102450 UW |
8138 | 2007-01-11 Ulrich Weigand <uweigand@de.ibm.com> |
8139 | ||
8140 | * spu-tdep.c (spu_analyze_prologue): Fix erroneous backtrace | |
8141 | past entry function with recent newlib. | |
8142 | ||
c8b2f53c VP |
8143 | 2007-01-11 Vladimir Prus <vladimir@codesourcery.com> |
8144 | ||
8145 | * gdb.texinfo (GDB/MI Variable Objects): Improve the | |
8146 | introduction. Specify -var-update more exactly. | |
8147 | ||
d57df5e4 DJ |
8148 | 2007-01-11 Daniel Jacobowitz <dan@codesourcery.com> |
8149 | ||
8150 | * frame.c (get_prev_frame_1): Check PC_REGNUM before using it. | |
8151 | ||
03f597d5 JB |
8152 | 2007-01-10 Jim Blandy <jimb@codesourcery.com> |
8153 | ||
8154 | * MAINTAINERS (Global Maintainers): Ulrich Weigand has accepted | |
8155 | the Global Maintainers' invitation to be a global maintainer. | |
8156 | ||
fd48f117 DJ |
8157 | 2007-01-10 Daniel Jacobowitz <dan@codesourcery.com> |
8158 | ||
8159 | * infrun.c (singlestep_pc): New variable. | |
8160 | (resume): Set singlestep_pc. | |
8161 | (context_switch): Add a debugging message. Flush the frame cache. | |
8162 | (handle_inferior_event): Add debugging messages. Handle thread | |
8163 | hops when a software single step has completed. Let context_switch | |
8164 | handle flushing the frame cache. | |
8165 | ||
23181151 DJ |
8166 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
8167 | ||
8168 | * NEWS: Mention target descriptions, "set tdesc filename", | |
8169 | "unset tdesc filename", "show tdesc filename", and | |
8170 | qXfer:features:read. | |
8171 | * arch-utils.c (choose_architecture_for_target): New function. | |
8172 | (gdbarch_info_fill): Call it. | |
8173 | * target-descriptions.c (struct property): Make members non-const. | |
8174 | (struct target_desc): Add arch member. | |
8175 | (target_description_filename): New variable. | |
8176 | (target_find_description): Try via XML first. | |
8177 | (tdesc_architecture): New. | |
8178 | (free_target_description, make_cleanup_free_target_description): New. | |
8179 | (set_tdesc_property): Call xstrdup. | |
8180 | (set_tdesc_architecture, tdesc_set_cmdlist, tdesc_show_cmdlist) | |
8181 | (tdesc_unset_cmdlist, unset_tdesc_cmd, unset_tdesc_filename_cmd) | |
8182 | (set_tdesc_cmd, show_tdesc_cmd, set_tdesc_filename_cmd) | |
8183 | (show_tdesc_filename_cmd, _initialize_target_descriptions): New. | |
8184 | * target-descriptions.h (tdesc_architecture) | |
8185 | (make_cleanup_free_target_description, set_tdesc_architecture): New | |
8186 | prototypes. | |
8187 | * Makefile.in (SFILES): Add xml-tdesc.c. | |
8188 | (COMMON_OBS): Add xml-tdesc.o. | |
8189 | (target-descriptions.o): Update. | |
8190 | (xml-tdesc.o): New rule. | |
8191 | * xml-tdesc.c, xml-tdesc.h: New files. | |
8192 | * remote.c (PACKET_qXfer_features): New enum. | |
8193 | (remote_protocol_features): Add qXfer:features:read. | |
8194 | (remote_xfer_partial): Handle TARGET_OBJECT_AVAILABLE_FEATURES. | |
8195 | (_initialize_remote): Register qXfer:features:read. | |
8196 | * target.h (enum target_object): Add TARGET_OBJECT_AVAILABLE_FEATURES. | |
8197 | * features/gdb-target.dtd: New file. | |
8198 | ||
3e9cb5f4 DJ |
8199 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
8200 | ||
8201 | * copyright.sh: Clarify error. | |
8202 | ||
818f79f6 DJ |
8203 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
8204 | ||
8205 | * symtab.c (matching_bfd_sections): Fix VMA matching for | |
8206 | prelinked objects. | |
8207 | ||
f7a6bb70 DJ |
8208 | 2007-01-09 Jan Kratochvil <jan.kratochvil@redhat.com> |
8209 | ||
8210 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle | |
8211 | nested symbols. | |
8212 | ||
20ac0504 DJ |
8213 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
8214 | ||
8215 | Updated copyright notices for most files. | |
8216 | ||
85bb0718 DJ |
8217 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
8218 | ||
8219 | * copyright.sh (prunes): Add step-line.inp and step-line.c. | |
8220 | ||
aa28a74e DJ |
8221 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
8222 | ||
8223 | * configure.ac (DEBUGDIR_RELOCATABLE): Define for debugdir inside | |
8224 | exec_prefix. | |
8225 | (TARGET_SYSTEM_ROOT_RELOCATABLE): Allow for exec_prefix being | |
8226 | '${prefix}'. | |
8227 | * configure, config.in: Regenerate. | |
8228 | * defs.h (debug_file_directory): Declare. | |
8229 | * main.c (captured_main): Canonicalize gdb_sysroot. Assume | |
8230 | TARGET_SYSTEM_ROOT is defined. Initialize debug_file_directory and | |
8231 | relocate it if DEBUGDIR_RELOCATABLE. | |
8232 | * symfile.c (debug_file_directory): Make non-static. | |
8233 | (find_separate_debug_file): Look for debug info for SYSROOT/PATH | |
8234 | in DEBUGDIR/PATH if DEBUGDIR is inside SYSROOT. | |
8235 | (_initialize_symfile): Don't initialize debug_file_directory here. | |
8236 | ||
1cfd2c3e JB |
8237 | 2007-01-09 Jim Blandy <jimb@codesourcery.com> |
8238 | ||
8239 | * score-tdep.c (score_push_dummy_call): Don't mix declarations and | |
8240 | statements. | |
8241 | ||
5efde112 DJ |
8242 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
8243 | ||
8244 | * alpha-mdebug-tdep.c (alpha_mdebug_frame_prev_register): Use | |
8245 | frame_unwind_register to recurse. | |
8246 | * alpha-tdep.c (alpha_sigtramp_frame_prev_register): Likewise. | |
8247 | (alpha_heuristic_frame_prev_register): Likewise. | |
8248 | * h8300-tdep.c (h8300_frame_prev_register): Likewise. | |
8249 | * m32c-tdep.c (m32c_prev_register): Likewise. | |
8250 | * frame.c (frame_register_unwind_location): Remove FIXME. | |
8251 | ||
4de1f557 DJ |
8252 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
8253 | Eli Zaretskii <eliz@gnu.org> | |
8254 | ||
8255 | * copyright.sh: New file. | |
8256 | ||
ca4ca11e DJ |
8257 | 2007-01-09 Daniel Jacobowitz <dan@codesourcery.com> |
8258 | ||
8259 | * configure.ac: Check for XML_StopParser. | |
8260 | * xml-support.c (gdb_xml_body_text): Check for an error. | |
8261 | (gdb_xml_start_element_wrapper): Conditionalize call to XML_StopParser. | |
8262 | (gdb_xml_end_element_wrapper): Likewise. | |
8263 | * config.in, configure: Regenerated. | |
8264 | ||
57e66780 DJ |
8265 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
8266 | ||
8267 | * varobj.c (install_new_value): Always update print_value. | |
8268 | (value_get_print_value): Immediately return NULL for missing | |
8269 | values. | |
8270 | ||
b523a1fd JB |
8271 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
8272 | ||
8273 | * configure.ac: Tighten pattern for extracting value of | |
8274 | DEPRECATED_TM_FILE from the target makefile fragment. | |
8275 | * configure: Regenerated. | |
8276 | ||
3d799a95 DJ |
8277 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
8278 | ||
8279 | * linux-nat.c (struct simple_pid_list): Add status. | |
8280 | (add_to_pid_list): Record the PID's status. | |
8281 | (linux_record_stopped_pid): Likewise. Make static. | |
8282 | (pull_pid_from_list): Return the saved status. | |
8283 | (linux_nat_handle_extended): Deleted. | |
8284 | (linux_handle_extended_wait): Combine with linux_nat_handle_extended. | |
8285 | Make static. Handle non-SIGSTOP for a new thread's first signal. | |
8286 | (flush_callback): Handle unexpected pending signals. | |
8287 | (linux_nat_wait): Update calls to changed functions. | |
8288 | * linux-nat.h (linux_record_stopped_pid, linux_handle_extended_wait): | |
8289 | Remove prototypes for newly static functions. | |
8290 | ||
9acbedc0 UW |
8291 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
8292 | ||
8293 | * gdbarch.sh (value_from_register): New gdbarch function. | |
8294 | * gdbarch.c, gdbarch.h: Regenerate. | |
8295 | * findvar.c (default_value_from_register): New function. | |
8296 | (value_from_register): Use gdbarch_value_from_register. | |
8297 | * value.h (default_value_from_register): Declare. | |
8298 | * spu-tdep.c (spu_convert_register_p, spu_register_to_value, | |
8299 | spu_value_to_register): Remove. | |
8300 | (spu_value_from_register): New function. | |
8301 | (spu_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
8302 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
8303 | Call set_gdbarch_value_from_register. | |
8304 | * s390-tdep.c (s390_convert_register_p, s390_register_to_value, | |
8305 | s390_value_to_register): Remove. | |
8306 | (s390_value_from_register): New function. | |
8307 | (s390_gdbarch_init): Do not call set_gdbarch_convert_register_p, | |
8308 | set_gdbarch_register_to_value, set_gdbarch_value_to_register. | |
8309 | Call set_gdbarch_value_from_register. | |
8310 | ||
f822c95b DJ |
8311 | 2007-01-08 Daniel Jacobowitz <dan@codesourcery.com> |
8312 | ||
8313 | * NEWS: Add "set sysroot" and "show sysroot". | |
8314 | * solib.c (solib_absolute_prefix): Delete. Replace | |
8315 | all uses with gdb_sysroot. | |
8316 | (_initialize_solib): Add "set sysroot" and "show sysroot". | |
8317 | Make "solib-absolute-prefix" an alias to it. | |
8318 | ||
00fa51f6 UW |
8319 | 2007-01-08 Ulrich Weigand <uweigand@de.ibm.com> |
8320 | ||
8321 | * frame.c (get_frame_register_bytes): New function. | |
8322 | (put_frame_register_bytes): Likewise. | |
8323 | * frame.h (get_frame_register_bytes): Declare. | |
8324 | (put_frame_register_bytes): Likewise. | |
8325 | * findvar.c (value_from_register): Always construct lval_register | |
8326 | values. Use get_frame_register_bytes. | |
8327 | * valops.c (value_assign): Use get_frame_register_bytes and | |
8328 | put_frame_register_bytes. | |
8329 | ||
a95c9d06 JB |
8330 | 2007-01-08 Jim Blandy <jimb@codesourcery.com> |
8331 | ||
8332 | * MAINTAINERS: Update Stan Shebs' email address. | |
8333 | ||
4ed6b5be JB |
8334 | 2007-01-07 Joel Brobecker <brobecker@adacore.com> |
8335 | ||
8336 | * ada-lang.c (is_known_support_routine): Improve the implementation. | |
8337 | ||
9bbc9174 JB |
8338 | 2007-01-06 Joel Brobecker <brobecker@adacore.com> |
8339 | ||
8340 | * ada-lang.c: Add include of source.h. | |
8341 | (is_known_support_routine): Improve the check verifying that the file | |
8342 | associated to this frame exists. | |
8343 | * Makefile.in (ada-lang.o): Add dependency on source.h. | |
8344 | ||
44a81774 JB |
8345 | 2007-01-07 Jim Blandy <jimb@codesourcery.com> |
8346 | ||
8347 | * ax-general.c (ax_const_l): Select proper opcode for the given | |
8348 | value. | |
8349 | ||
fcd19eb1 | 8350 | 2007-01-05 Vladimir Prus <vladimir@codesourcery.com> |
6fe1a487 NR |
8351 | |
8352 | * varobj.c (c_value_of_root): Don't select frame if variable | |
8353 | object is out of scope. | |
8354 | ||
fcd19eb1 | 8355 | 2007-01-05 Nick Roberts <nickrob@snap.net.nz> |
3fa6deb5 NR |
8356 | |
8357 | * varobj.c (struct varobj): New member print_value. | |
8358 | (install_new_value): Compare last printed value with current one | |
8359 | instead of contents. | |
8360 | (new_variable): Initialize var->print_value to NULL. | |
8361 | (free_variable): Free var->print_value. | |
8362 | (value_get_print_value): New function derived from | |
8363 | c_value_of_variable. | |
8364 | (c_value_of_variable): Use value_get_print_value. | |
8365 | ||
92a56b20 JB |
8366 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
8367 | ||
8368 | * i386-tdep.c (i386_analyze_stack_align): Add comment. | |
8369 | ||
0e420bd8 JB |
8370 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
8371 | ||
8372 | * NEWS: Add entries for new catch commands. | |
8373 | ||
b69733ab | 8374 | 2007-01-05 Joel Brobecker <brobecker@adacore.com> |
fa4028e9 JB |
8375 | |
8376 | * dwarf2read.c (partial_die_info): Add field has_byte_size. | |
8377 | (add_partial_symbol): Correct identification of external references. | |
8378 | (process_structure_scope): Likewise. | |
8379 | (read_partial_die): Handle DW_AT_byte_size attribute. | |
8380 | ||
8381 | 2007-01-05 Daniel Jacobowitz <dan@codesourcery.com> | |
d097fa3e DJ |
8382 | |
8383 | * xml-support.c (gdb_xml_end_element): Remove wrong backslashes. | |
8384 | ||
8e38af42 NR |
8385 | 2007-01-05 Nick Roberts <nickrob@snap.net.nz> |
8386 | ||
8387 | * varobj.c (get_type_deref): Fix variable objects for references to | |
8388 | pointers. | |
8389 | ||
d1c79ecd DJ |
8390 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
8391 | ||
8392 | * symtab.c (find_pc_sect_psymtab): Add comments. Handle psymtabs | |
8393 | with no symbols. | |
8394 | ||
e776119f DJ |
8395 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
8396 | ||
8397 | * memory-map.c (struct_memory_map_parsing_data): Remove most | |
8398 | members. Make property_name an array. | |
8399 | (free_memory_map_parsing_data, memory_map_start_element) | |
8400 | (memory_map_end_element, memory_map_character_data): Delete. | |
8401 | (memory_map_start_memory, memory_map_end_memory) | |
8402 | (memory_map_start_property, memory_map_end_property): New functions. | |
8403 | (property_attributes, memory_children, memory_type_enum) | |
8404 | (memory_attributes, memory_map_children, memory_map_elements): New. | |
8405 | (parse_memory_map): Rewrite. | |
8406 | * xml-support.c (debug_xml): New. | |
8407 | (xml_get_required_attribute, xml_get_integer_attribute) | |
8408 | (xml_get_enum_value, free_xml_parser, make_cleanup_free_xml_parser): | |
8409 | Delete. | |
8410 | (struct scope_level, struct gdb_xml_parser, gdb_xml_body_text) | |
8411 | (gdb_xml_debug, gdb_xml_error, gdb_xml_values_cleanup) | |
8412 | (gdb_xml_start_element, gdb_xml_start_element_wrapper) | |
8413 | (gdb_xml_end_element, gdb_xml_end_element_wrapper, gdb_xml_cleanup) | |
8414 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse) | |
8415 | (gdb_xml_parse_ulongest, gdb_xml_parse_attr_ulongest) | |
8416 | (gdb_xml_parse_attr_enum, show_debug_xml, _initialize_xml_support): | |
8417 | New. | |
8418 | * xml-support.h (struct gdb_xml_value, gdb_xml_attribute_handler) | |
8419 | (enum gdb_xml_attribute_flag, struct gdb_xml_attribute) | |
8420 | (enum gdb_xml_element_flag, struct gdb_xml_element) | |
8421 | (gdb_xml_element_start_handler, gdb_xml_element_end_handler) | |
8422 | (struct gdb_xml_enum): New. | |
8423 | (gdb_xml_create_parser_and_cleanup, gdb_xml_parse, gdb_xml_debug) | |
8424 | (gdb_xml_error, gdb_xml_parse_attr_ulongest) | |
8425 | (gdb_xml_parse_attr_enum, gdb_xml_parse_ulongest): New prototypes. | |
8426 | (xml_get_required_attribute, xml_get_integer_attribute) | |
8427 | (xml_get_enum_value, make_cleanup_free_xml_parser): Delete prototypes. | |
8428 | * Makefile.in (xml_support_h, xml-support.o): Update. | |
8429 | ||
5e572bb4 DJ |
8430 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
8431 | ||
8432 | * Makefile.in (eval.o): Update dependencies. | |
8433 | * eval.c: Include "ui-out.h" and "exceptions.h". | |
8434 | (evaluate_subexp_standard): Use TRY_CATCH around value_of_variable. | |
8435 | Use value_zero if an error occurs when avoiding side effects. | |
8436 | * varobj.c (c_value_of_root): Initialize new_val. | |
8437 | ||
74a44383 DJ |
8438 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
8439 | ||
8440 | * varobj.c (varobj_list_children): Stop if the number of children is | |
8441 | unknown. | |
8442 | (c_number_of_children): | |
8443 | ||
e8d2d628 MK |
8444 | 2007-01-04 Mark Kettenis <kettenis@gnu.org> |
8445 | ||
8446 | * alpha-tdep.c (alpha_register_name): Use ARRAY_SIZE. | |
8447 | (alpha_read_insn, alpha_skip_prologue, alpha_heuristic_proc_start) | |
8448 | (alpha_heuristic_frame_unwind_cache, alpha_next_pc) | |
8449 | (alpha_gdbarch_init): Use ALPHA_INSN_SIZE, ALPHA_REGISTER_SIZE and | |
8450 | sizeof, instead of hardcoded constants. | |
8451 | ||
c941839d DJ |
8452 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
8453 | ||
8454 | * CONTRIBUTE: Use sourceware.org. | |
8455 | ||
303b6f5d | 8456 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
2d0720d9 | 8457 | |
303b6f5d DJ |
8458 | * buildsym.c (start_subfile): Handle producer. |
8459 | (record_producer): New function. | |
8460 | * buildsym.h (struct subfile): Include producer. | |
8461 | (record_producer): New prototype. | |
8462 | * dwarf2-frame.c (struct dwarf2_cie): Add version and augmentation. | |
8463 | (struct dwarf2_frame_state): Add armcc_cfa_offsets_sf and | |
8464 | armcc_cfa_offsets_reversed. | |
8465 | (execute_cfa_program): Handle armcc_cfa_offsets_sf. | |
8466 | (dwarf2_frame_find_quirks): New function. | |
8467 | (dwarf2_frame_cache): Call it. Handle armcc_cfa_offsets_reversed. | |
8468 | (decode_frame_entry_1): Record the CIE version. Record the | |
8469 | augmentation. Skip armcc augmentations. | |
8470 | * dwarf2read.c (read_file_scope): Save the producer. | |
8471 | * symtab.h (struct symtab): Rename unused version member to | |
8472 | producer. | |
2d0720d9 | 8473 | |
aa79a185 DJ |
8474 | 2007-01-04 Daniel Jacobowitz <dan@codesourcery.com> |
8475 | ||
8476 | * configure.ac (build_warnings): Use -Wall and | |
8477 | -Wdeclaration-after-statement. | |
8478 | * configure: Regenerated. | |
8479 | ||
bbec2603 VP |
8480 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
8481 | ||
8482 | Simplify access to variours properties of child | |
8483 | variable objects in C. | |
8484 | * varobj.c (value_struct_element_index): New function. | |
8485 | (c_describe_child): New function. | |
8486 | (c_name_of_child, c_value_of_child) | |
8487 | (c_type_of_child): Rewrite to use c_describe_child. | |
8488 | ||
28335dcc VP |
8489 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
8490 | ||
8491 | gdb/ | |
8492 | * varobj.c: Include "vec.h". | |
8493 | (varobj_p): New typedef, declare vector of those. | |
8494 | (struct varobj): Use vector for the 'children' member. | |
8495 | (child_exists): Remove. | |
8496 | (save_child_in_parent): Remove. | |
8497 | (remove_child_from_parent): Remove. | |
8498 | (struct varobj_child): Remove. | |
8499 | (struct vstack): Remove. | |
8500 | (vpush, vpop): Remove. | |
8501 | (varobj_list_children): Adjust to work work vector. | |
8502 | (varobj_update): Likewise. Use vectors for | |
8503 | working stack and result. | |
8504 | (delete_variable_1): Likewise. | |
8505 | * Makefile.in (varobj.o): Update dependencies. | |
8506 | ||
b2c2bd75 VP |
8507 | 2007-01-04 Vladimir Prus <vladimir@codesourcery.com> |
8508 | ||
8509 | Port from Apple's version. | |
8510 | gdb/ | |
8511 | * varobj.c (type_changeable): Rename to... | |
8512 | (varobj_value_is_changeable_p): ...this. Adjust all callers. | |
8513 | (is_root_p): New function. Use it everywhere. | |
8514 | ||
bdfb3870 JB |
8515 | 2007-01-04 Jim Blandy <jimb@codesourcery.com> |
8516 | ||
8517 | * glibc-tdep.c (glibc_skip_solib_resolver): Look for '_dl_fixup', | |
8518 | then plain 'fixup'. | |
8519 | ||
5d15052e JB |
8520 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
8521 | ||
8522 | * hpread.c (hpread_start_psymtab): Remove unnecessary extern. | |
8523 | ||
53103997 JB |
8524 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
8525 | ||
8526 | * hpread.c (hpread_type_lookup): Fix compilation failure. | |
8527 | ||
27fd2f50 Q |
8528 | 2007-01-04 Qinwei <qinwei@sunnorth.com.cn> |
8529 | ||
8530 | * NEWS: New port to S+core. | |
8531 | * MAINTAINERS (Write After Approval, Responsible Maintainers): | |
8532 | Add myself. | |
8533 | ||
8534 | * Makefile.in: Add dependencies for S+core files. | |
8535 | * configure.tgt (score*, score-*-*): Add S+core target. | |
8536 | * config/score/embed.mt: New file. | |
8537 | * score-tdep.c: New file. | |
8538 | * score-tdep.h: New file. | |
8539 | ||
a6cfbe68 JB |
8540 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
8541 | ||
8542 | * ada-lang.c (ada_evaluate_subexp) [OP_TYPE]: Return a value with | |
8543 | the appropriate type rather than a bogus void type. | |
8544 | ||
67cf15b7 | 8545 | 2007-01-04 Joel Brobecker <brobecker@adacore.com> |
f7f9143b JB |
8546 | |
8547 | * ada-lang.h (ada_find_printable_frame): Remove. | |
8548 | (ada_exception_catchpoint_p, ada_decode_exception_location) | |
8549 | (ada_decode_assert_location): Add declaration. | |
8550 | * ada-lang.c: Add include of annotate.h and valprint.h. | |
8551 | (exception_catchpoint_kind): New enum. | |
8552 | (function_name_from_pc, is_known_support_routine) | |
8553 | (ada_find_printable_frame, ada_unhandled_exception_name_addr) | |
8554 | (ada_exception_name_addr_1, ada_exception_name_addr) | |
8555 | (print_it_exception, print_one_exception, print_mention_exception) | |
8556 | (print_it_catch_exception, print_one_catch_exception) | |
8557 | (print_mention_catch_exception, catch_exception_breakpoint_ops) | |
8558 | (print_it_catch_exception_unhandled) | |
8559 | (print_one_catch_exception_unhandled) | |
8560 | (print_mention_catch_exception_unhandled, print_it_catch_assert) | |
8561 | (print_one_catch_assert, print_mention_catch_assert) | |
8562 | (ada_exception_catchpoint_p, error_breakpoint_runtime_sym_not_found) | |
8563 | (ada_get_next_arg, catch_ada_exception_command_split) | |
8564 | (ada_exception_sym_name, ada_exception_sym_name) | |
8565 | (ada_exception_breakption_ops, ada_exception_catchpoint_cond_string) | |
8566 | (ada_parse_catchpoint_condition, ada_exception_sal) | |
8567 | (ada_decode_exception_location) | |
8568 | (ada_decode_assert_location): New function. | |
8569 | (catch_exception_unhandled_breakpoint_ops): New global variable. | |
8570 | (catch_assert_breakpoint_ops): New global variable. | |
8571 | * breakpoint.c: Add include of ada-lang.h. | |
8572 | (print_one_breakpoint): Do not print the condition for Ada | |
8573 | exception catchpoints. | |
8574 | (create_ada_exception_breakpoint): New function. | |
8575 | (catch_ada_exception_command, catch_assert_command): New function. | |
8576 | (catch_command_1): Add support for the new "catch exception" and | |
8577 | "catch assert" commands. | |
8578 | (_initialize_breakpoint): Add help description for the new catch | |
8579 | commands. | |
8580 | * Makefile.in (ada-lang.o): Add dependency on annotate.h and | |
8581 | valprint.h. | |
8582 | (breakpoint.o): Add dependency on ada-lang.h. | |
8583 | ||
05cfdb42 DJ |
8584 | 2007-01-03 Pedro Alves <pedro_alves@portugalmail.pt> |
8585 | ||
8586 | * coffread.c (cs_to_section): If bfd_section is found, always | |
8587 | return its section index. | |
8588 | (coff_symtab_read): Determine the minimal_symbol_type using the | |
8589 | bfd_section flags. | |
8590 | ||
2e03ee74 DJ |
8591 | 2007-01-03 Jan Kratochvil <jan.kratochvil@redhat.com> |
8592 | Daniel Jacobowitz <dan@codesourcery.com> | |
8593 | ||
8594 | * Makefile.in (top.o): Update. | |
8595 | * top.c (gdb_readline_wrapper_done, gdb_readline_wrapper_result) | |
8596 | (saved_after_char_processing_hook, gdb_readline_wrapper_line) | |
8597 | (struct gdb_readline_wrapper_cleanup, gdb_readline_wrapper_cleanup): | |
8598 | New. | |
8599 | (gdb_readline_wrapper): Rewrite to use asynchronous readline. | |
8600 | ||
1c63d086 MK |
8601 | 2007-01-03 Mark Kettenis <kettenis@gnu.org> |
8602 | ||
8603 | * arm-linux-tdep.c (arm_linux_extract_return_value): Remove. | |
8604 | (arm_linux_init_abi): Don't set deprecated_extract_return_value. | |
8605 | ||
d5d6fca5 DJ |
8606 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
8607 | ||
8608 | * ada-lang.c (find_struct_field): Initialize *byte_offset_p. | |
8609 | * breakpoint.c (do_enable_breakpoint): Ignore both mem_cnt and i. | |
8610 | * c-typeprint.c (c_type_print_varspec_suffix): Don't test length | |
8611 | greater than or equal to zero. | |
8612 | * m2-typeprint.c (m2_array): Likewise. | |
8613 | * p-typeprint.c (pascal_type_print_varspec_prefix): Likewise. | |
8614 | * gdbtypes.c (copy_type_recursive): Correct == typo. | |
8615 | * i386-tdep.c (i386_skip_prologue): Remove stray semicolon. | |
8616 | * linux-nat.c (linux_nat_info_proc_cmd): Don't compare a pointer | |
8617 | greater than zero. | |
8618 | * macroscope.c (sal_macro_scope): Don't name a local variable "main". | |
8619 | (default_macro_scope): Remove unused variable. | |
8620 | * prologue-value.h (pv_area_find_reg): Don't name an argument | |
8621 | "register". | |
8622 | * remote-fileio.c (remote_fio_func_map): Add missing braces. | |
8623 | * remote.c (sigint_remote_twice_token, sigint_remote_token): Change | |
8624 | type. | |
8625 | (cleanup_sigint_signal_handler): Remove casts. | |
8626 | * valprint.c (val_print): Use a volatile local for the modified | |
8627 | argument. | |
8628 | * varobj.c (languages): Remove extra array dimension. | |
8629 | (varobj_create): Correct access to languages array. | |
8630 | * mi/mi-cmd-break.c (mi_cmd_break_insert, mi_cmd_break_watch): Add | |
8631 | missing braces. | |
8632 | * mi/mi-cmd-disas.c (mi_cmd_disassemble): Likewise. | |
8633 | * mi/mi-cmd-env.c (mi_cmd_env_path, mi_cmd_env_dir): Likewise. | |
8634 | * mi/mi-getopt.c (mi_valid_noargs): Likewise. | |
8635 | * mi/mi-main.c (mi_cmd_data_read_memory): Likewise. | |
8636 | (mi_cmd_data_write_memory): Likewise. | |
8637 | * signals/signals.c (target_signal_to_string): Cast to int before | |
8638 | comparing. | |
8639 | * tui/tui-layout.c (init_and_make_win): Take and return a void *. | |
8640 | Update all callers. | |
8641 | ||
0d5de010 DJ |
8642 | 2007-01-03 Daniel Jacobowitz <dan@codesourcery.com> |
8643 | ||
8644 | * NEWS: Mention pointer to member improvements. | |
8645 | * Makefile.in (gnu-v3-abi.o): Delete special rule. | |
8646 | (eval.o, gnu-v3-abi.o, ia64-tdep.o): Update. | |
8647 | * ada-valprint.c (ada_print_scalar): Update for new type codes. | |
8648 | * c-typeprint.c (c_print_type): Update for new type codes. | |
8649 | (c_type_print_varspec_prefix, c_type_print_varspec_suffix) | |
8650 | (c_type_print_base): Likewise. | |
8651 | (c_type_print_args): Rewrite. | |
8652 | * c-valprint.c (c_val_print): Update for new type codes. Remove | |
8653 | support for references to members. Treat methods like functions. | |
8654 | * cp-abi.c (cplus_print_method_ptr, cplus_method_ptr_size) | |
8655 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New. | |
8656 | * cp-abi.h (cplus_print_method_ptr, cplus_method_ptr_size) | |
8657 | (cplus_make_method_ptr, cplus_method_ptr_to_value): New prototypes. | |
8658 | (struct cp_abi_ops): Add corresponding members. | |
8659 | * cp-valprint.c (cp_print_class_method): Delete. | |
8660 | (cp_find_class_member): New function. | |
8661 | (cp_print_class_member): Use it. Simplify support for bogus | |
8662 | member pointers. | |
8663 | * dwarf2read.c (quirk_gcc_member_function_pointer): Use | |
8664 | lookup_methodptr_type. | |
8665 | (read_tag_ptr_to_member_type): Likewise, and lookup_memberptr_type. | |
8666 | * eval.c (evaluate_subexp_standard): Implement EVAL_SKIP for | |
8667 | OP_SCOPE. Update call to value_aggregate_elt. Rewrite member | |
8668 | pointer support. | |
8669 | (evaluate_subexp_for_address): Handle OP_SCOPE explicitly. Handle | |
8670 | references returned by user defined operators. | |
8671 | * f-typeprint.c (f_print_type, f_type_print_varspec_prefix) | |
8672 | (f_type_print_varspec_suffix): Remove support for member pointers. | |
8673 | * gdbtypes.c (lookup_memberptr_type): Renamed from lookup_member_type | |
8674 | and adjusted. | |
8675 | (smash_to_memberptr_type): Likewise, from smash_to_member_type. | |
8676 | (lookup_methodptr_type): New. | |
8677 | (rank_one_type): Adjust for TYPE_CODE_MEMBERPTR. | |
8678 | (recursive_dump_type): Update for new types. | |
8679 | * gdbtypes.h (enum type_code): Replace TYPE_CODE_MEMBER with | |
8680 | TYPE_CODE_MEMBERPTR and TYPE_CODE_METHODPTR. | |
8681 | (lookup_memberptr_type, lookup_methodptr_type) | |
8682 | (smash_to_memberptr_type): New prototypes. | |
8683 | (smash_to_method_type): Formatting fix. | |
8684 | (lookup_member_type, smash_to_member_type): Delete prototypes. | |
8685 | * gnu-v3-abi.c (gnuv3_get_vtable, gnuv3_get_virtual_fn): New. | |
8686 | Do not rely on debug information for the vptr or the method's | |
8687 | enclosing type. Handle function descriptors for IA64. | |
8688 | (gnuv3_virtual_fn_field): Rewrite using the new functions. | |
8689 | (gnuv3_find_method_in, gnuv3_print_method_ptr) | |
8690 | (gnuv3_method_ptr_size, gnuv3_make_method_ptr) | |
8691 | (gnuv3_method_ptr_to_value): New. | |
8692 | (init_gnuv3_ops): Set new members of gnu_v3_abi_ops. | |
8693 | * hpread.c (hpread_type_lookup): Update for new types. | |
8694 | * infcall.c (value_arg_coerce): Likewise. | |
8695 | * m2-typeprint.c (m2_print_type): Remove explicit support | |
8696 | for member pointers. | |
8697 | * m2-valprint.c (m2_val_print): Likewise. | |
8698 | * p-typeprint.c (pascal_type_print_varspec_prefix) | |
8699 | (pascal_type_print_varspec_suffix, pascal_type_print_base): Likewise. | |
8700 | * p-valprint.c (pascal_val_print): Likewise. | |
8701 | (pascal_object_print_class_method, pascal_object_print_class_member): | |
8702 | Delete. | |
8703 | * p-lang.h (pascal_object_print_class_method) | |
8704 | (pascal_object_print_class_member): Delete prototypes. | |
8705 | * stabsread.c (read_type): Update for new types. | |
8706 | * typeprint.c (print_type_scalar): Likewise. | |
8707 | * valops.c (value_struct_elt_for_reference, value_namespace_elt) | |
8708 | (value_maybe_namespace_elt, value_aggregate_elt): Add want_address | |
8709 | argument. Construct a pointer to member if the address of a | |
8710 | function or data member is requested. | |
8711 | (value_cast_pointers): Don't modify the input value. | |
8712 | (value_cast): Adjust pointer to member handling for new types. | |
8713 | Allow null pointer to member constants. Don't modify the input | |
8714 | value. | |
8715 | (value_ind): Remove pointer to member check. Handle function | |
8716 | descriptors for function pointers. | |
8717 | (value_struct_elt, value_find_oload_method_list, check_field): | |
8718 | Remove pointer to member checks. | |
8719 | * value.c (unpack_long): Allow pointers to data members. | |
8720 | (value_from_longest): Allow member pointers. | |
8721 | * value.h (value_aggregate_elt): Add want_address. | |
8722 | * varobj.c (c_variable_editable): Remove check for members. | |
8723 | * gdbarch.sh: Add vtable_function_descriptors and vbit_in_delta. | |
8724 | * ia64-tdep.c (ia64_convert_from_func_ptr_addr): Handle descriptors | |
8725 | in virtual tables. | |
8726 | (ia64_gdbarch_init): Call set_gdbarch_vtable_function_descriptors. | |
8727 | * c-lang.h (cp_print_class_method): Delete prototype. | |
8728 | * arm-tdep.c (arm_gdbarch_init): Call set_gdbarch_vbit_in_delta. | |
8729 | * mips-tdep.c (mips_gdbarch_init): Likewise. | |
8730 | * gdbarch.c, gdbarch.h: Regenerated. | |
8731 | ||
d217aaed MK |
8732 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
8733 | ||
8734 | * rs6000-tdep.c (rs6000_use_struct_convention) | |
8735 | (rs6000_extract_return_value, rs6000_store_return_value) | |
8736 | (rs6000_extract_struct_value_address): Remove. | |
8737 | (rs6000_return_value): New function. | |
8738 | (rs6000_gdbarch_init): Don't set deprecated_extract_return_value, | |
8739 | store_return_value, deprecated_extract_struct_value_address and | |
8740 | deprecated_use_struct_convention. Use rs6000_return_value | |
8741 | instead. | |
8742 | ||
02296b29 NR |
8743 | 2007-01-02 Nick Roberts <nickrob@snap.net.nz> |
8744 | ||
8745 | * mi/mi-cmds.c (mi_cmds): Remove entries for -display-delete, | |
8746 | -display-disable, -display-enable, -display-insert and | |
8747 | -display-list. | |
8748 | ||
b69733ab | 8749 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
ce186b30 JB |
8750 | |
8751 | * breakpoint.c (remove_breakpoint): Remove dead code. | |
8752 | ||
8753 | 2007-01-01 Nick Roberts <nickrob@snap.net.nz> | |
ab9245ed NR |
8754 | |
8755 | * varobj.c: Include block.h. | |
8756 | (c_value_of_root): Check scope within nested statements. | |
8757 | ||
9f3a1602 MK |
8758 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
8759 | ||
8760 | * mi/mi-main.c (mi_cmd_data_write_register_values): Use | |
8761 | regcache_cooked_write_signed instead of | |
8762 | deprecated_write_register_bytes. | |
8763 | ||
12349ccd JB |
8764 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
8765 | ||
8766 | * config/djgpp/fnchange.lst: Add entry for ChangeLog-2006. | |
8767 | ||
8c48ebcf JB |
8768 | 2007-01-01 Joel Brobecker <brobecker@adacore.com> |
8769 | ||
8770 | Followed the Start of New Year Procedure: | |
8771 | * ChangeLog-2006: New file, containing all the entries for 2006. | |
8772 | * ChangeLog: Removed all 2006 entries, and changed the reference | |
8773 | to the previous ChangeLog to point to ChangeLog 2006. | |
8774 | * top.c (print_gdb_version): Update copyright year. | |
8775 | ||
154927ff MK |
8776 | 2007-01-01 Mark Kettenis <kettenis@gnu.org> |
8777 | ||
8778 | * Makefile.in (remote-sds.o): Remove. | |
8779 | * remote-sds.c: Delete. | |
8780 | ||
8c48ebcf | 8781 | For older changes see ChangeLog-2006. |
c906108c SS |
8782 | \f |
8783 | Local Variables: | |
8784 | mode: change-log | |
8785 | left-margin: 8 | |
8786 | fill-column: 74 | |
8787 | version-control: never | |
57da7796 | 8788 | coding: utf-8 |
c906108c | 8789 | End: |