ChangeLog-2010 revision 1.1 1 1.1 christos 2010-12-31 Michael Snyder <msnyder (a] vmware.com>
2 1.1 christos
3 1.1 christos * annotate.c: Comment cleanup, shorten long lines.
4 1.1 christos * arch-utils.c: Ditto.
5 1.1 christos * arch-utils.h: Ditto.
6 1.1 christos * auxv.c: Ditto.
7 1.1 christos * auxv.h: Ditto.
8 1.1 christos * ax-gdb.c: Ditto.
9 1.1 christos * ax-gdb.h: Ditto.
10 1.1 christos * ax-general.c: Ditto.
11 1.1 christos * breakpoint.h: Ditto.
12 1.1 christos * buildsym.h: Ditto.
13 1.1 christos
14 1.1 christos * charset.c: Ditto.
15 1.1 christos * charset.h: Ditto.
16 1.1 christos * c-lang.c: Ditto.
17 1.1 christos * c-lang.h: Ditto.
18 1.1 christos * coff-pe-read.c: Ditto.
19 1.1 christos * coff-pe-read.h: Ditto.
20 1.1 christos * coffread.c: Ditto.
21 1.1 christos * command.h: Ditto.
22 1.1 christos * complaints.c: Ditto.
23 1.1 christos * complaints.h: Ditto.
24 1.1 christos * completer.c: Ditto.
25 1.1 christos * completer.h: Ditto.
26 1.1 christos * corefile.c: Ditto.
27 1.1 christos * corelow.c: Ditto.
28 1.1 christos * core-regset.c: Ditto.
29 1.1 christos * cp-abi.c: Ditto.
30 1.1 christos * cp-abi.h: Ditto.
31 1.1 christos * cp-namespace.c: Ditto.
32 1.1 christos * cp-support.c: Ditto.
33 1.1 christos * cp-support.h: Ditto.
34 1.1 christos * cp-valprint.c: Ditto.
35 1.1 christos * cp-typeprint.c: Ditto.
36 1.1 christos * c-valprint.c: Ditto.
37 1.1 christos
38 1.1 christos 2010-12-30 Mike Frysinger <vapier (a] gentoo.org>
39 1.1 christos
40 1.1 christos * bfin-tdep.c (bfin_register_type): Move || to start of line.
41 1.1 christos
42 1.1 christos 2010-12-29 Michael Snyder <msnyder (a] vmware.com>
43 1.1 christos
44 1.1 christos * bcache.c: Comment clean-up, shorten long lines..
45 1.1 christos * block.c: Ditto.
46 1.1 christos * blockframe.c: Ditto.
47 1.1 christos * breakpoint.c: Ditto.
48 1.1 christos * bsd-kvm.c: Ditto.
49 1.1 christos * buildsym.c: Ditto.
50 1.1 christos
51 1.1 christos 2010-12-29 Jie Zhang <jie.zhang (a] analog.com>
52 1.1 christos
53 1.1 christos * configure.tgt (bfin-*-*): Set build_gdbserver to yes.
54 1.1 christos * NEWS: Mention new Blackfin support.
55 1.1 christos * regformats/reg-bfin.dat: New file.
56 1.1 christos
57 1.1 christos 2010-12-29 Jie Zhang <jie.zhang (a] analog.com>
58 1.1 christos Mike Frysinger <vapier (a] gentoo.org>
59 1.1 christos
60 1.1 christos * Makefile.in (ALLDEPFILES): Add bfin-linux-tdep.c and bfin-tdep.c.
61 1.1 christos (HFILES_NO_SRCDIR): Add bfin-tdep.h.
62 1.1 christos (ALL_TARGET_OBS): Add bfin-linux-tdep.o and bfin-tdep.o.
63 1.1 christos * NEWS: Mention new Blackfin port.
64 1.1 christos * bfin-tdep.c, bfin-tdep.h, bfin-linux-tdep.c,
65 1.1 christos syscalls/bfin-linux.xml: New files.
66 1.1 christos * configure.tgt (bfin-*-*): Handle bfin targets.
67 1.1 christos
68 1.1 christos 2010-12-29 Hui Zhu <teawater (a] gmail.com>
69 1.1 christos
70 1.1 christos * ax-gdb.c (gen_expr): Change error message.
71 1.1 christos
72 1.1 christos 2010-12-29 Joel Brobecker <brobecker (a] adacore.com>
73 1.1 christos
74 1.1 christos * gdb.c: Revert the previous change, which was probably committed
75 1.1 christos by accident.
76 1.1 christos
77 1.1 christos 2010-12-29 Joel Brobecker <brobecker (a] adacore.com>
78 1.1 christos
79 1.1 christos * ada-lang.c: Fix typo in comment.
80 1.1 christos
81 1.1 christos 2010-12-29 Joel Brobecker <brobecker (a] adacore.com>
82 1.1 christos
83 1.1 christos * ada-valprint.c (ada_val_print_1): Print null array pointers as
84 1.1 christos `0x0' rather than `(null)'. Add assertion.
85 1.1 christos
86 1.1 christos 2010-12-29 Joel Brobecker <brobecker (a] adacore.com>
87 1.1 christos
88 1.1 christos * ada-lang.h (ada_coerce_to_simple_array): Add declaration.
89 1.1 christos * ada-lang.c (ada_typedef_target_type): New function.
90 1.1 christos (desc_base_type): Add handling of fat pointer typedefs.
91 1.1 christos (ada_coerce_to_simple_array): Make non-static.
92 1.1 christos (decode_packed_array_bitsize): Add handling of fat pointer typedefs.
93 1.1 christos Add assertion.
94 1.1 christos (ada_template_to_fixed_record_type_1, ada_to_fixed_type)
95 1.1 christos (ada_check_typedef): Add handling of fat pointer typedefs.
96 1.1 christos (ada_evaluate_subexp) [OP_FUNCALL]: Likewise.
97 1.1 christos * ada-typeprint.c (ada_print_type): Add handling of fat pointer
98 1.1 christos typedefs.
99 1.1 christos * ada-valprint.c (ada_val_print_1): Convert fat pointers that are not
100 1.1 christos array accesses to simple arrays rather than simple array pointers.
101 1.1 christos (ada_value_print): In the case of array descriptors, do not print
102 1.1 christos the value type description unless it is an array access.
103 1.1 christos
104 1.1 christos 2010-12-29 Joel Brobecker <brobecker (a] adacore.com>
105 1.1 christos
106 1.1 christos * target.h (enum target_object): Expand the documentation of
107 1.1 christos TARGET_OBJECT_OSDATA a bit.
108 1.1 christos
109 1.1 christos 2010-12-28 Michael Snyder <msnyder (a] vmware.com>
110 1.1 christos
111 1.1 christos * command.h: Comment clean-up, shorten long lines.
112 1.1 christos * cli/cli-cmds.c: Ditto.
113 1.1 christos * cli/cli-cmds.h: Ditto.
114 1.1 christos * cli/cli-decode.c: Ditto.
115 1.1 christos * cli/cli-decode.h: Ditto.
116 1.1 christos * cli/cli-dump.c: Ditto.
117 1.1 christos * cli/cli-interp.c: Ditto.
118 1.1 christos * cli/cli-logging.c: Ditto.
119 1.1 christos * cli/cli-script.c: Ditto.
120 1.1 christos * cli/cli-setshow.c: Ditto.
121 1.1 christos * cli/cli-setshow.h: Ditto.
122 1.1 christos
123 1.1 christos 2010-12-28 Michael Snyder <msnyder (a] vmware.com>
124 1.1 christos
125 1.1 christos * event-loop.c: Comment clean-up, shorten long lines.
126 1.1 christos * event-loop.h: Ditto.
127 1.1 christos * event-top.c: Ditto.
128 1.1 christos * gdb.c: Ditto.
129 1.1 christos * gdb.h: Ditto.
130 1.1 christos * main.c: Ditto.
131 1.1 christos * top.c: Ditto.
132 1.1 christos * top.h: Ditto.
133 1.1 christos
134 1.1 christos 2010-12-28 Pedro Alves <pedro (a] codesourcery.com>
135 1.1 christos
136 1.1 christos * ax-gdb.c (gen_expr) <OP_REGISTER>: Error out if trying to
137 1.1 christos collect a user register.
138 1.1 christos
139 1.1 christos 2010-12-28 Hui Zhu <teawater (a] gmail.com>
140 1.1 christos
141 1.1 christos * gdbarch.sh (ax_pseudo_register_collect,
142 1.1 christos ax_pseudo_register_push_stack): new callbacks.
143 1.1 christos (agent_expr): Forward declare.
144 1.1 christos * gdbarch.h, gdbarch.c: Regenerate.
145 1.1 christos * ax-gdb.c (gen_expr): Remove pseudo-register check code.
146 1.1 christos * ax-general.c (user-regs.h): New include.
147 1.1 christos (ax_reg): Call gdbarch_ax_pseudo_register_push_stack.
148 1.1 christos (ax_reg_mask): Call gdbarch_ax_pseudo_register_collect.
149 1.1 christos * mips-tdep.c (ax.h): New include.
150 1.1 christos (mips_ax_pseudo_register_collect,
151 1.1 christos mips_ax_pseudo_register_push_stack): New functions.
152 1.1 christos (mips_gdbarch_init): Set mips_ax_pseudo_register_collect and
153 1.1 christos mips_ax_pseudo_register_push_stack.
154 1.1 christos
155 1.1 christos 2010-12-28 Yao Qi <yao (a] codesourcery.com>
156 1.1 christos
157 1.1 christos * arm-tdep.c (arm_register_aliases): Remove sp, pc, and fp.
158 1.1 christos
159 1.1 christos 2010-12-28 Joel Brobecker <brobecker (a] adacore.com>
160 1.1 christos
161 1.1 christos * inf-child.c (inf_child_acknowledge_created_inferior): Delete.
162 1.1 christos (inf_child_target): Do not set t->to_acknowledge_created_inferior.
163 1.1 christos * inf-ptrace.c (inf_ptrace_create_inferior): Remove call to
164 1.1 christos target_acknowledge_created_inferior.
165 1.1 christos * inf-ttrace.c (inf_ttrace_him): Likewise.
166 1.1 christos * target.h (struct target_ops): Delete to_acknowledge_created_inferior
167 1.1 christos field.
168 1.1 christos (target_acknowledge_created_inferior): Delete.
169 1.1 christos * target.c (update_current_target): Remove setting of
170 1.1 christos to_acknowledge_created_inferior field. Do default value for that
171 1.1 christos field either.
172 1.1 christos (debug_to_acknowledge_created_inferior): Delete.
173 1.1 christos (setup_target_debug): Remove setting of
174 1.1 christos current_target.to_acknowledge_created_inferior.
175 1.1 christos
176 1.1 christos 2010-12-27 Pedro Alves <pedro (a] codesourcery.com>
177 1.1 christos
178 1.1 christos gdb/
179 1.1 christos * breakpoint.c (breakpoint_restore_shadows): When looking for the
180 1.1 christos location with the lowest address that overlaps the memory range we
181 1.1 christos want to restore shadows for, account for multiple locations at the
182 1.1 christos same address.
183 1.1 christos
184 1.1 christos 2010-12-27 Jan Kratochvil <jan.kratochvil (a] redhat.com>
185 1.1 christos
186 1.1 christos Code cleanup - renaming.
187 1.1 christos * breakpoint.c: Use bl for `*bp_location' variables, blp_tmp for
188 1.1 christos `**bp_location' helper variables, b_tmp for `*breakpoint' helper
189 1.1 christos variables.
190 1.1 christos
191 1.1 christos 2010-12-27 Kevin Buettner <kevinb (a] redhat.com>
192 1.1 christos Hui Zhu <teawater (a] gmail.com>
193 1.1 christos
194 1.1 christos * mips-tedp.c (mips_register_name): Add comments.
195 1.1 christos
196 1.1 christos 2010-12-23 Yao Qi <yao (a] codesourcery.com>
197 1.1 christos
198 1.1 christos * arm-tdep.c (thumb_analyze_prologue): Move some code ...
199 1.1 christos (EXTRACT_MOVW_MOVT_IMM_T): ... here. New macro.
200 1.1 christos (EXTRACT_MOVW_MOVT_IMM_A): New macro.
201 1.1 christos (arm_analyze_load_stack_chk_guard): New.
202 1.1 christos (arm_skip_stack_protector): New.
203 1.1 christos (arm_skip_prologue): Adjust post_prologue_pc by
204 1.1 christos arm_skip_stack_protector.
205 1.1 christos
206 1.1 christos
207 1.1 christos 2010-12-23 Yao Qi <yao (a] codesourcery.com>
208 1.1 christos
209 1.1 christos * arm-tdep.c (arm_gdbarch_init): Remove invoke to
210 1.1 christos set_gdbarch_deprecated_fp_regnum.
211 1.1 christos
212 1.1 christos 2010-12-22 Marc Khouzam <marc.khouzam (a] ericsson.com>
213 1.1 christos
214 1.1 christos * inferior.c (remove_inferior_command): Don't remove an active inferior.
215 1.1 christos * mi/mi-main.c (mi_cmd_remove_inferior): Ditto.
216 1.1 christos
217 1.1 christos 2010-12-21 Tom Tromey <tromey (a] redhat.com>
218 1.1 christos
219 1.1 christos * thread.c (print_thread_info): Make a ui-out table in CLI mode.
220 1.1 christos
221 1.1 christos 2010-12-20 Yao Qi <yao (a] codesourcery.com>
222 1.1 christos
223 1.1 christos * arm-tdep.c (arm_register_reggroup_p): New.
224 1.1 christos (arm_gdbarch_init): Set arm_register_reggroup_p for hook
225 1.1 christos register_reggroup_p.
226 1.1 christos
227 1.1 christos 2010-12-20 Yao Qi <yao (a] codesourcery.com>
228 1.1 christos
229 1.1 christos * features/arm-core.xml: Add attribute type to reg from r0 to r12.
230 1.1 christos * features/arm-with-iwmmxt.c: Regenerate.
231 1.1 christos * features/arm-with-neon.c: Regenerate.
232 1.1 christos * features/arm-with-vfpv2.c: Regenerate.
233 1.1 christos * features/arm-with-vfpv3.c: Regenerate.
234 1.1 christos
235 1.1 christos 2010-12-17 Marc Khouzam <marc.khouzam (a] ericsson.com>
236 1.1 christos
237 1.1 christos * mi/mi-main.c (mi_cmd_remove_inferior): Don't delete current inferior.
238 1.1 christos (get_other_inferior): New.
239 1.1 christos
240 1.1 christos 2010-12-17 Marc Khouzam <marc.khouzam (a] ericsson.com>
241 1.1 christos
242 1.1 christos * python/py-progspace.c (py_free_pspace): Obtain arch another
243 1.1 christos way to avoid dereferencing a null pointer.
244 1.1 christos
245 1.1 christos 2010-12-17 Michael Snyder <msnyder (a] vmware.com>
246 1.1 christos
247 1.1 christos * utils.c (do_my_cleanups): Comment fix-up.
248 1.1 christos
249 1.1 christos 2010-12-17 Kevin Buettner <kevinb (a] redhat.com>
250 1.1 christos
251 1.1 christos * mips-tdep.c (make_mips16_addr): New function.
252 1.1 christos (mips_elf_make_msymbol_special): Don't set the low bit in the
253 1.1 christos symbol's address.
254 1.1 christos (mips_read_pc, mips_unwind_pc, mips_addr_bits_remove): Strip bit
255 1.1 christos indicating mips16 address, if present.
256 1.1 christos (mips_write_pc): Set bit indicating mips16 address when in a mips16
257 1.1 christos function.
258 1.1 christos (mips_eabi_push_dummy_call, mips_o64_push_dummy_call): Likewise,
259 1.1 christos but for each function pointer argument to inferior function call.
260 1.1 christos
261 1.1 christos 2010-12-17 Tom Tromey <tromey (a] redhat.com>
262 1.1 christos
263 1.1 christos * psympriv.h (struct partial_symtab) <readin>: Move field
264 1.1 christos earlier.
265 1.1 christos
266 1.1 christos 2010-12-16 Kevin Buettner <kevinb (a] redhat.com>
267 1.1 christos
268 1.1 christos * mips-tdep.c (mips_convert_register_float_case_p)
269 1.1 christos (mips_convert_register_gpreg_case_p): New functions.
270 1.1 christos (mips_convert_register_p): Invoke new functions above.
271 1.1 christos (mips_register_to_value): Add case for fetching value shorter
272 1.1 christos than 64 bits from a 64-bit register.
273 1.1 christos (mips_value_to_register): Add case for storing value shorter
274 1.1 christos than 64 bits into a 64-bit register.
275 1.1 christos
276 1.1 christos 2010-12-16 Joel Borggrn-Franck <joel.borggren.franck (a] gmail.com>
277 1.1 christos
278 1.1 christos * python/py-value.c (value_object_type) <tp_flags>: Add
279 1.1 christos Py_TPFLAGS_BASETYPE.
280 1.1 christos
281 1.1 christos 2010-12-16 Mike Frysinger <vapier (a] gentoo.org>
282 1.1 christos
283 1.1 christos * NEWS: Mention new sim --map-info flag.
284 1.1 christos
285 1.1 christos 2010-12-15 Doug Evans <dje (a] google.com>
286 1.1 christos
287 1.1 christos * dwarf2read.c (_initialize_dwarf2_read): Fix help text of
288 1.1 christos "save gdb-index" command.
289 1.1 christos
290 1.1 christos 2010-12-15 Tom Tromey <tromey (a] redhat.com>
291 1.1 christos
292 1.1 christos * infrun.c (save_infcall_control_state): Handle the
293 1.1 christos exception-resume breakpoint.
294 1.1 christos (restore_infcall_control_state): Likewise.
295 1.1 christos (discard_infcall_control_state): Likewise.
296 1.1 christos
297 1.1 christos 2010-12-15 Kevin Buettner <kevinb (a] redhat.com>
298 1.1 christos
299 1.1 christos * mips-tdep.c (mips_pseudo_register_write): Sign extend 32-bit
300 1.1 christos cooked values that are being transferred to 64-bit raw registers.
301 1.1 christos (mips_pseudo_register_read): Revise to preserve symmetry with
302 1.1 christos mips_pseudo_register_write().
303 1.1 christos
304 1.1 christos 2010-12-15 Greg Watson <g.watson (a] computer.org>
305 1.1 christos
306 1.1 christos * f-exp.y (yylex): Check entire token against keywords.
307 1.1 christos
308 1.1 christos 2010-12-15 Doug Evans <dje (a] google.com>
309 1.1 christos
310 1.1 christos Rename "maint set python auto-load" to "set auto-load-scripts".
311 1.1 christos * NEWS: Mention it.
312 1.1 christos * python/py-auto-load.c (auto_load_scripts): Renamed from
313 1.1 christos gdbpy_auto_load.
314 1.1 christos (load_auto_scripts_for_objfile): Update.
315 1.1 christos (gdbpy_initialize_auto_load): Rename "maint set python auto-load" to
316 1.1 christos "set auto-load-scripts".
317 1.1 christos
318 1.1 christos 2010-12-14 Kevin Buettner <kevinb (a] redhat.com>
319 1.1 christos
320 1.1 christos * mips-tdep.c (mips_eabi_push_dummy_call): Place signed, rather
321 1.1 christos than unsigned, values in registers.
322 1.1 christos
323 1.1 christos 2010-12-14 Ken Werner <ken.werner (a] de.ibm.com>
324 1.1 christos
325 1.1 christos * valops.c (value_one): Use get_array_bounds to compute the number
326 1.1 christos of array elements instead of dividing the length of the array by the
327 1.1 christos length of the element types.
328 1.1 christos * valarith.c (value_complement, value_neg): Likewise.
329 1.1 christos
330 1.1 christos 2010-12-14 Joel Brobecker <brobecker (a] adacore.com>
331 1.1 christos
332 1.1 christos * irix5-nat.c: Replace fp_r, fp_regs and fp_scr by __fp_r, __fp_regs
333 1.1 christos and __fp_scr respectively throughout.
334 1.1 christos * configure.ac: Compile with -Dsiginfo=__siginfo if building with
335 1.1 christos Python using GCC on IRIX.
336 1.1 christos * configure: Regenerate.
337 1.1 christos
338 1.1 christos 2010-12-13 Kevin Buettner <kevinb (a] redhat.com>
339 1.1 christos
340 1.1 christos * solib-svr4.c (enable_break): Don't attempt to place breakpoints,
341 1.1 christos when attaching, on the names in bkpt_names: _start, __start, and
342 1.1 christos main.
343 1.1 christos
344 1.1 christos 2010-12-12 Stan Shebs <stan (a] codesourcery.com>
345 1.1 christos
346 1.1 christos * value.c (value_of_internalvar): Add case for trace state
347 1.1 christos variables.
348 1.1 christos
349 1.1 christos 2010-12-12 Doug Evans <dje (a] google.com>
350 1.1 christos
351 1.1 christos * dwarf2read.c (dwarf2_per_objfile): New member quick_file_names_table.
352 1.1 christos (dwarf2_per_cu_quick_data): Move definition down to "quick functions"
353 1.1 christos section. Delete members lines full_names. Rename read_lines to
354 1.1 christos no_file_data.
355 1.1 christos (quick_file_names): New struct.
356 1.1 christos (hash_file_name_entry, eq_file_name_entry): New functions.
357 1.1 christos (delete_file_name_entry, create_quick_file_names_table): New functions.
358 1.1 christos (dwarf2_read_index): Initialize quick_file_names_table.
359 1.1 christos (dw2_get_file_names): Renamed from dw2_require_line_header.
360 1.1 christos Return pointer to quick_file_names entry. All callers updated.
361 1.1 christos (dw2_get_real_path): Renamed from dw2_require_full_path.
362 1.1 christos Replace per_cu arg with pointer to quick_file_names entry.
363 1.1 christos All callers updated.
364 1.1 christos (dw2_free_cached_file_names): New function.
365 1.1 christos (dw2_forget_cached_source_info): Call it (via htab_traverse_noresize).
366 1.1 christos (dwarf2_initialize_objfile): Initialize quick_file_names_table in
367 1.1 christos the OBJF_READNOW case.
368 1.1 christos (dwarf2_free_objfile): Rewrite freeing of quick file names tables.
369 1.1 christos
370 1.1 christos 2010-12-12 Mark Kettenis <kettenis (a] gnu.org>
371 1.1 christos
372 1.1 christos * mips64obsd-tdep.c (floatformats_mips64_quad): New define.
373 1.1 christos (mips64obsd_init_abi): Set long_double_bit and long_double_format.
374 1.1 christos
375 1.1 christos 2010-12-12 Mark Kettenis <kettenis (a] gnu.org>
376 1.1 christos
377 1.1 christos * sparc-tdep.c: Fix typo in comment.
378 1.1 christos
379 1.1 christos 2010-12-10 Doug Evans <dje (a] google.com>
380 1.1 christos
381 1.1 christos * dwarf2read.c: Whitespace cleanup, plus comment additions.
382 1.1 christos No code changes.
383 1.1 christos
384 1.1 christos 2010-12-10 Tom Tromey <tromey (a] redhat.com>
385 1.1 christos
386 1.1 christos * NEWS: Document exception-handling change.
387 1.1 christos
388 1.1 christos 2010-12-09 Marc Khouzam <marc.khouzam (a] ericsson.com>
389 1.1 christos
390 1.1 christos * mi/mi-parse.c (mi_parse): Wrong error message.
391 1.1 christos
392 1.1 christos 2010-12-09 Doug Evans <dje (a] google.com>
393 1.1 christos
394 1.1 christos * symfile.h (quick_symbol_functions): Clarify usage of
395 1.1 christos map_symbol_filenames.
396 1.1 christos
397 1.1 christos 2010-12-09 Tom Tromey <tromey (a] redhat.com>
398 1.1 christos
399 1.1 christos * mi/mi-parse.h (mi_parse): Update.
400 1.1 christos * mi/mi-parse.c (mi_parse_cleanup): New function.
401 1.1 christos (mi_parse): Add 'token' argument. Throw exception on error.
402 1.1 christos * mi/mi-main.c (mi_print_exception): New function.
403 1.1 christos (mi_execute_command): Use mi_print_exception. Catch exceptions
404 1.1 christos from mi_parse.
405 1.1 christos
406 1.1 christos 2010-12-09 Tom Tromey <tromey (a] redhat.com>
407 1.1 christos
408 1.1 christos PR c++/9593:
409 1.1 christos * thread.c (clear_thread_inferior_resources): Call
410 1.1 christos delete_longjmp_breakpoint.
411 1.1 christos * infrun.c (handle_inferior_event): Handle exception breakpoints.
412 1.1 christos (handle_inferior_event): Likewise.
413 1.1 christos (insert_exception_resume_breakpoint): New function.
414 1.1 christos (check_exception_resume): Likewise.
415 1.1 christos * inferior.h (delete_longjmp_breakpoint_cleanup): Declare.
416 1.1 christos * infcmd.c (delete_longjmp_breakpoint_cleanup): No longer static.
417 1.1 christos (step_1): Set thread's initiating frame.
418 1.1 christos (until_next_continuation): New function.
419 1.1 christos (until_next_command): Support exception breakpoints.
420 1.1 christos (finish_command_continuation): Delete longjmp breakpoint.
421 1.1 christos (finish_forward): Support exception breakpoints.
422 1.1 christos * gdbthread.h (struct thread_info) <initiating_frame>: New field.
423 1.1 christos * breakpoint.h (enum bptype) <bp_exception, bp_exception_resume,
424 1.1 christos bp_exception_master>: New constants.
425 1.1 christos (struct bpstat_what) <is_longjmp>: New field.
426 1.1 christos (set_longjmp_breakpoint): Update.
427 1.1 christos * breakpoint.c (create_exception_master_breakpoint): New function.
428 1.1 christos (update_breakpoints_after_exec): Handle bp_exception_master. Call
429 1.1 christos create_exception_master_breakpoint.
430 1.1 christos (print_it_typical): Handle bp_exception_master, bp_exception.
431 1.1 christos (bpstat_stop_status): Handle bp_exception_master.
432 1.1 christos (bpstat_what): Handle bp_exception_master, bp_exception,
433 1.1 christos bp_exception_resume.
434 1.1 christos (bptype_string): Likewise.
435 1.1 christos (print_one_breakpoint_location): Likewise.
436 1.1 christos (allocate_bp_location): Likewise.
437 1.1 christos (set_longjmp_breakpoint): Handle exception breakpoints. Change
438 1.1 christos interface.
439 1.1 christos (delete_longjmp_breakpoint): Handle exception breakpoints.
440 1.1 christos (mention): Likewise.
441 1.1 christos (struct until_break_command_continuation_args) <thread_num>: New
442 1.1 christos field.
443 1.1 christos (until_break_command_continuation): Call
444 1.1 christos delete_longjmp_breakpoint.
445 1.1 christos (until_break_command): Support exception breakpoints.
446 1.1 christos (delete_command): Likewise.
447 1.1 christos (breakpoint_re_set_one): Likewise.
448 1.1 christos (breakpoint_re_set): Likewise.
449 1.1 christos
450 1.1 christos 2010-12-08 Doug Evans <dje (a] google.com>
451 1.1 christos
452 1.1 christos * gdbtypes.h (TYPE_IS_OPAQUE): Reformat.
453 1.1 christos
454 1.1 christos * gdbtypes.c (check_typedef): Tweak comment.
455 1.1 christos
456 1.1 christos PR symtab/12302
457 1.1 christos * dwarf2read.c (struct psymtab_cu_index_map): New struct.
458 1.1 christos (hash_psymtab_cu_index, eq_psymtab_cu_index): New functions.
459 1.1 christos (struct addrmap_index_data): New struct.
460 1.1 christos (add_address_entry): Remove arg `pst', new args `start', `end'.
461 1.1 christos (add_address_entry_worker, write_address_map): New functions.
462 1.1 christos (write_psymtabs_to_index): Address table generation moved to
463 1.1 christos write_address_map. Build a table mapping psymtab to CU index
464 1.1 christos to pass to it.
465 1.1 christos
466 1.1 christos * dwarf2read.c (write_psymtabs_to_index): When stat fails, pass file
467 1.1 christos name to perror.
468 1.1 christos
469 1.1 christos * symfile.h (quick_symbol_functions): Clarify usage of
470 1.1 christos expand_symtabs_with_filename.
471 1.1 christos * dwarf2read.c (dw2_expand_symtabs_with_filename): Only iterate over
472 1.1 christos comp units, ignore type units.
473 1.1 christos
474 1.1 christos * dwarf2read.c (dw2_expand_symtabs_with_filename): Use FILENAME_CMP.
475 1.1 christos
476 1.1 christos 2010-12-07 Doug Evans <dje (a] google.com>
477 1.1 christos
478 1.1 christos * dwarf2read.c (dw2_lookup_symtab): Remove duplicate call to
479 1.1 christos gdb_realpath.
480 1.1 christos
481 1.1 christos PR python/12227
482 1.1 christos * NEWS: Mention -data-directory.
483 1.1 christos * main.c (captured_main): Recognize -data-directory.
484 1.1 christos
485 1.1 christos 2010-12-06 Marc Khouzam <marc.khouzam (a] ericsson.com>
486 1.1 christos
487 1.1 christos * mi/mi-parse.c (mi_parse): Missing else.
488 1.1 christos
489 1.1 christos 2010-12-04 Masaki Muranaka <monaka (a] monami-software.com>
490 1.1 christos
491 1.1 christos * configure.tgt: Accept microblaze*-*-linux* for linux target
492 1.1 christos and microblaze*-*-* for as target.
493 1.1 christos
494 1.1 christos 2010-12-02 Keith Seitz <keiths (a] redhat.com>
495 1.1 christos
496 1.1 christos * linespec.c (find_method): Move name canonicalization outside
497 1.1 christos the loop.
498 1.1 christos Be paranoid and use a cleanup.
499 1.1 christos
500 1.1 christos 2010-12-01 Doug Evans <dje (a] google.com>
501 1.1 christos
502 1.1 christos * dwarf2read.c (save_gdb_index_command): Add comment.
503 1.1 christos
504 1.1 christos 2010-12-01 Ulrich Weigand <uweigand (a] de.ibm.com>
505 1.1 christos
506 1.1 christos * valops.c (value_assign): Returned value is never lazy. If a
507 1.1 christos C++ class type is returned, fix incorrect enclosing type / embedded
508 1.1 christos offset. If internal variable is returned, allocate new internalvar
509 1.1 christos value using value_of_internalvar.
510 1.1 christos
511 1.1 christos * NEWS: Document changes in behavior of "print x = 0" and similar
512 1.1 christos expressions.
513 1.1 christos
514 1.1 christos 2010-11-29 Doug Evans <dje (a] google.com>
515 1.1 christos
516 1.1 christos * python/lib/gdb/printing.py (register_pretty_printer): Change
517 1.1 christos printer-name:subprinter-name to printer-name;subprinter-name.
518 1.1 christos * python/lib/gdb/command/pretty_printers.py (parse_printer_regexps):
519 1.1 christos Ditto.
520 1.1 christos (InfoPrettyPrinter, EnablePrettyPrinter, DisablePrettyPrinter): Ditto.
521 1.1 christos
522 1.1 christos 2010-11-29 Tom Tromey <tromey (a] redhat.com>
523 1.1 christos
524 1.1 christos * opencl-lang.c (lval_func_check_synthetic_pointer): New
525 1.1 christos function.
526 1.1 christos * value.h (struct lval_funcs) <indirect, check_synthetic_pointer>:
527 1.1 christos New fields.
528 1.1 christos (value_bits_synthetic_pointer): Declare.
529 1.1 christos * value.c (value_bits_synthetic_pointer): New function.
530 1.1 christos * valprint.c (valprint_check_validity): Handle synthetic
531 1.1 christos pointers.
532 1.1 christos * valops.c (value_ind): Use new 'indirect' lval_funcs method.
533 1.1 christos * valarith.c (value_ptradd): Use set_value_component_location.
534 1.1 christos * p-valprint.c (pascal_object_print_value_fields): Handle
535 1.1 christos synthetic pointers.
536 1.1 christos * jv-valprint.c (java_print_value_fields): Handle synthetic
537 1.1 christos pointers.
538 1.1 christos * dwarf2read.c (dwarf_stack_op_name): Add
539 1.1 christos DW_OP_GNU_implicit_pointer.
540 1.1 christos (dwarf2_fetch_die_location_block): Add get_frame_pc, baton
541 1.1 christos arguments. Handle location lists.
542 1.1 christos (fill_in_loclist_baton): New function.
543 1.1 christos (dwarf2_symbol_mark_computed): Use it.
544 1.1 christos * dwarf2loc.h (dwarf2_find_location_expression): Declare.
545 1.1 christos (dwarf2_fetch_die_location_block): Add get_frame_pc, baton
546 1.1 christos arguments.
547 1.1 christos * dwarf2loc.c (dwarf2_find_location_expression): Rename from
548 1.1 christos find_location_expression. No longer static. Update all callers.
549 1.1 christos (dwarf_expr_frame_pc): New function.
550 1.1 christos (per_cu_dwarf_call): Add get_frame_pc, baton arguments. Update
551 1.1 christos all callers.
552 1.1 christos (struct piece_closure) <per_cu>: New field.
553 1.1 christos (allocate_piece_closure): Add per_cu argument.
554 1.1 christos (read_pieced_value): Handle DWARF_VALUE_IMPLICIT_POINTER.
555 1.1 christos (check_pieced_value_bits): Remove validity argument, add check_for
556 1.1 christos argument. Handle DWARF_VALUE_IMPLICIT_POINTER.
557 1.1 christos (check_pieced_value_validity, check_pieced_value_invalid):
558 1.1 christos Update.
559 1.1 christos (check_pieced_synthetic_pointer): New function.
560 1.1 christos (get_frame_address_in_block_wrapper): New function.
561 1.1 christos (indirect_pieced_value): New function.
562 1.1 christos (pieced_value_funcs): Update.
563 1.1 christos (invalid_synthetic_pointer): New function.
564 1.1 christos (dwarf2_evaluate_loc_desc_full): Rename from
565 1.1 christos dwarf2_evaluate_loc_desc. Add byte_offset argument.
566 1.1 christos (dwarf2_evaluate_loc_desc): Rewrite.
567 1.1 christos (dwarf2_loc_desc_needs_frame): Set new field on context.
568 1.1 christos (get_ax_pc): New function.
569 1.1 christos (disassemble_dwarf_expression): Handle
570 1.1 christos DW_OP_GNU_implicit_pointer.
571 1.1 christos * dwarf2expr.h (enum dwarf_value_location)
572 1.1 christos <DWARF_VALUE_IMPLICIT_POINTER>: New constant.
573 1.1 christos (struct dwarf_expr_context) <get_frame_pc>: New field.
574 1.1 christos (struct dwarf_expr_piece) <v.ptr>: New field.
575 1.1 christos * dwarf2expr.c (add_piece): Handle DWARF_VALUE_IMPLICIT_POINTER.
576 1.1 christos (execute_stack_op): Handle DW_OP_GNU_implicit_pointer.
577 1.1 christos * dwarf2-frame.c (no_get_frame_pc): New function.
578 1.1 christos (execute_stack_op): Set new field on context.
579 1.1 christos * cp-valprint.c (cp_print_value_fields): Handle synthetic
580 1.1 christos pointers.
581 1.1 christos
582 1.1 christos 2010-11-29 Phil Muldoon <pmuldoon (a] redhat.com>
583 1.1 christos
584 1.1 christos PR python/12199
585 1.1 christos
586 1.1 christos * python/py-breakpoint.c (bppy_delete_breakpoint): New function.
587 1.1 christos
588 1.1 christos 2010-11-28 Jan Kratochvil <jan.kratochvil (a] redhat.com>
589 1.1 christos
590 1.1 christos Fix step_resume_breakpoint unsaved during an infcall.
591 1.1 christos * gdbthread.h (struct thread_control_state): Move here field
592 1.1 christos step_resume_breakpoint ...
593 1.1 christos (struct thread_info): ... from here.
594 1.1 christos * infrun.c (save_infcall_control_state): Reset
595 1.1 christos control.step_resume_breakpoint to NULL.
596 1.1 christos (restore_infcall_control_state, discard_infcall_control_state): Delete
597 1.1 christos control.step_resume_breakpoint.
598 1.1 christos * arm-linux-tdep.c, infrun.c, thread.c: Update all the references to
599 1.1 christos the moved field.
600 1.1 christos
601 1.1 christos 2010-11-28 Jan Kratochvil <jan.kratochvil (a] redhat.com>
602 1.1 christos
603 1.1 christos Rename and move inferior_thread_state and inferior_status.
604 1.1 christos * gdbthread.h (struct thread_control_state): New struct, move fields
605 1.1 christos step_range_start, step_range_end, step_frame_id, step_stack_frame_id,
606 1.1 christos trap_expected, proceed_to_finish, in_infcall, step_over_calls,
607 1.1 christos stop_step and stop_bpstat here from struct thread_info.
608 1.1 christos (struct thread_suspend_state): New struct, move field stop_signal here
609 1.1 christos from struct thread_info.
610 1.1 christos (struct thread_info): Move the fields above from this struct.
611 1.1 christos * inferior.h: Move the inferior_thread_state and inferior_status
612 1.1 christos declarations comment to their definitions at infrun.c.
613 1.1 christos (struct inferior_control_state): New struct, move field stop_soon from
614 1.1 christos struct inferior here.
615 1.1 christos (struct inferior_suspend_state): New empty struct.
616 1.1 christos (struct inferior): New fields control and suspend. Move out field
617 1.1 christos stop_soon.
618 1.1 christos * infrun.c (struct inferior_thread_state): Rename to ...
619 1.1 christos (infcall_suspend_state): ... here. Replace field stop_signal by
620 1.1 christos fields thread_suspend and inferior_suspend.
621 1.1 christos (save_inferior_thread_state): Rename to ...
622 1.1 christos (save_infcall_suspend_state): ... here. New variable inf. Update the
623 1.1 christos code for new fields.
624 1.1 christos (restore_inferior_thread_state): Rename to ...
625 1.1 christos (restore_infcall_suspend_state): ... here. New variable inf. Update
626 1.1 christos the code for new fields.
627 1.1 christos (do_restore_inferior_thread_state_cleanup): Rename to ...
628 1.1 christos (do_restore_infcall_suspend_state_cleanup): ... here.
629 1.1 christos (make_cleanup_restore_inferior_thread_state): Rename to ...
630 1.1 christos (make_cleanup_restore_infcall_suspend_state): ... here.
631 1.1 christos (discard_inferior_thread_state): Rename to ...
632 1.1 christos (discard_infcall_suspend_state): ... here.
633 1.1 christos (get_inferior_thread_state_regcache): Rename to ...
634 1.1 christos (get_infcall_suspend_state_regcache): ... here.
635 1.1 christos (struct inferior_status): Rename to ...
636 1.1 christos (struct infcall_control_state): ... here. Replace fields
637 1.1 christos step_range_start, step_range_end, step_frame_id, step_stack_frame_id,
638 1.1 christos trap_expected, proceed_to_finish, in_infcall, step_over_calls,
639 1.1 christos stop_step, stop_bpstat and stop_soon by fields thread_control and
640 1.1 christos inferior_control.
641 1.1 christos (save_inferior_status): Rename to ...
642 1.1 christos (save_infcall_control_state): ... here. Update the code for new
643 1.1 christos fields.
644 1.1 christos (restore_inferior_status): Rename to ...
645 1.1 christos (restore_infcall_control_state): ... here. Update the code for new
646 1.1 christos fields.
647 1.1 christos (do_restore_inferior_status_cleanup): Rename to ...
648 1.1 christos (do_restore_infcall_control_state_cleanup): ... here.
649 1.1 christos (make_cleanup_restore_inferior_status): Rename to ...
650 1.1 christos (make_cleanup_restore_infcall_control_state): ... here.
651 1.1 christos (discard_inferior_status): Rename to ...
652 1.1 christos (discard_infcall_control_state): ... here.
653 1.1 christos * alpha-tdep.c, breakpoint.c, dummy-frame.c, dummy-frame.h,
654 1.1 christos exceptions.c, fbsd-nat.c, gdbthread.h, infcall.c, infcmd.c,
655 1.1 christos inferior.c, inferior.h, infrun.c, linux-nat.c, mi/mi-interp.c,
656 1.1 christos mips-tdep.c, procfs.c, solib-irix.c, solib-osf.c, solib-spu.c,
657 1.1 christos solib-sunos.c, solib-svr4.c, thread.c, windows-nat.c: Update all the
658 1.1 christos references to the moved fields and renamed functions.
659 1.1 christos
660 1.1 christos 2010-11-26 Jan Kratochvil <jan.kratochvil (a] redhat.com>
661 1.1 christos
662 1.1 christos * infcall.c (struct inferior_thread_state) <siginfo_gdbarch>: Fix up
663 1.1 christos the comment.
664 1.1 christos (save_inferior_thread_state): Reset tp->stop_signal.
665 1.1 christos
666 1.1 christos 2010-11-26 Jan Kratochvil <jan.kratochvil (a] redhat.com>
667 1.1 christos
668 1.1 christos * infcall.c (call_function_by_hand): Remove variable
669 1.1 christos caller_state_cleanup.
670 1.1 christos
671 1.1 christos 2010-11-25 Marc Khouzam <marc.khouzam (a] ericsson.com>
672 1.1 christos
673 1.1 christos PR breakpoints/12217
674 1.1 christos
675 1.1 christos * breakpoint.c (is_marker_spec): Check for NULL.
676 1.1 christos
677 1.1 christos 2010-11-25 Pedro Alves <pedro (a] codesourcery.com>
678 1.1 christos
679 1.1 christos * breakpoint.h: No longer include python.h or python-internal.h.
680 1.1 christos (struct breakpoint_object): Forward declare.
681 1.1 christos * defs.h (PyObject) [!HAVE_PYTHON]: Don't define.
682 1.1 christos * varobj.c (PyObject) [!HAVE_PYTHON]: Define.
683 1.1 christos * python/py-breakpoint.c (build_bp_list): Cast py_bp_object to
684 1.1 christos PyObject pointer.
685 1.1 christos (gdbpy_breakpoint_created): Remove casts around py_bp_object
686 1.1 christos accesses.
687 1.1 christos
688 1.1 christos 2010-11-24 Joel Brobecker <brobecker (a] adacore.com>
689 1.1 christos
690 1.1 christos * rs6000-tdep.c (bfd_uses_spe_extensions): Use bfd_elf_get_obj_attr_int
691 1.1 christos only if HAVE_ELF is defined.
692 1.1 christos
693 1.1 christos 2010-11-24 Jan Kratochvil <jan.kratochvil (a] redhat.com>
694 1.1 christos
695 1.1 christos Code cleanup.
696 1.1 christos * infrun.c (struct inferior_status) <stepping_over_breakpoint>
697 1.1 christos (save_inferior_status) <stepping_over_breakpoint>
698 1.1 christos (restore_inferior_status) <stepping_over_breakpoint>: Rename to
699 1.1 christos trap_expected.
700 1.1 christos (struct inferior_status) <step_resume_break_address>: Remove.
701 1.1 christos
702 1.1 christos 2010-11-24 Jan Kratochvil <jan.kratochvil (a] redhat.com>
703 1.1 christos
704 1.1 christos Code cleanup.
705 1.1 christos * infrun.c (struct inferior_status, save_inferior_status)
706 1.1 christos (restore_inferior_status): Group and reorder the fields, comment their
707 1.1 christos groups.
708 1.1 christos
709 1.1 christos 2010-11-24 Jan Kratochvil <jan.kratochvil (a] redhat.com>
710 1.1 christos
711 1.1 christos Code cleanup.
712 1.1 christos * dictionary.c
713 1.1 christos (struct dict_vector) <iter_match_first, iter_match_next>
714 1.1 christos (iter_match_first_hashed, iter_match_next_hashed)
715 1.1 christos (iter_match_first_linear, iter_match_next_linear)
716 1.1 christos (dict_iter_match_first, dict_iter_match_next, iter_match_first_hashed)
717 1.1 christos (iter_match_next_hashed, iter_match_first_linear)
718 1.1 christos (iter_match_next_linear): Use symbol_compare_ftype.
719 1.1 christos * dictionary.h: Include symfile.h.
720 1.1 christos (dict_iter_match_first, dict_iter_match_next): Use
721 1.1 christos symbol_compare_ftype.
722 1.1 christos * dwarf2read.c (dw2_map_matching_symbols): Likewise.
723 1.1 christos * psymtab.c (match_partial_symbol, match_partial_symbol, map_block)
724 1.1 christos (map_matching_symbols_psymtab): Likewise.
725 1.1 christos * symfile.h (symbol_compare_ftype): New typedef.
726 1.1 christos (struct quick_symbol_functions) <map_matching_symbols): Use
727 1.1 christos symbol_compare_ftype.
728 1.1 christos
729 1.1 christos 2010-11-23 Tom Tromey <tromey (a] redhat.com>
730 1.1 christos
731 1.1 christos * configure: Rebuild.
732 1.1 christos * configure.ac (READLINE_TEXI_INCFLAG): New subst.
733 1.1 christos
734 1.1 christos 2010-11-19 Tom Tromey <tromey (a] redhat.com>
735 1.1 christos
736 1.1 christos * Makefile.in (SUBDIRS): Add doc.
737 1.1 christos * configure: Rebuild.
738 1.1 christos * configure.ac: Don't configure in doc. Create doc/Makefile.
739 1.1 christos
740 1.1 christos 2010-11-23 Phil Muldoon <pmuldoon (a] redhat.com>
741 1.1 christos
742 1.1 christos PR python/12212
743 1.1 christos
744 1.1 christos * python/py-inferior.c (find_thread_object): Check if PIDGET
745 1.1 christos returns 0.
746 1.1 christos
747 1.1 christos 010-11-22 Joel Brobecker <brobecker (a] adacore.com>
748 1.1 christos
749 1.1 christos * ada-lang.c (ada_template_to_fixed_record_type_1): Delete bit_incr.
750 1.1 christos
751 1.1 christos 2010-11-22 Joel Brobecker <brobecker (a] adacore.com>
752 1.1 christos
753 1.1 christos * ada-lang.c (ada_to_fixed_type): Expand function documentation.
754 1.1 christos Return the original type if the main type portions match rather
755 1.1 christos than when the type themselves match.
756 1.1 christos
757 1.1 christos 2010-11-22 Joel Brobecker <brobecker (a] adacore.com>
758 1.1 christos
759 1.1 christos * ada-lang.c (ada_template_to_fixed_record_type_1):
760 1.1 christos For dynamic fields, check the field size against the maximum
761 1.1 christos object size.
762 1.1 christos
763 1.1 christos 2010-11-22 Joel Brobecker <brobecker (a] adacore.com>
764 1.1 christos
765 1.1 christos * mips-irix-tdep.c (mips_irix_n32_stack_tramp_frame_init): New
766 1.1 christos function.
767 1.1 christos (mips_irix_n32_stack_tramp_frame): New static global.
768 1.1 christos (mips_irix_init_abi): Add mips_irix_n32_stack_tramp_frame to
769 1.1 christos list of unwinder.
770 1.1 christos
771 1.1 christos 2010-11-22 Jerome Guitton <guitton (a] adacore.com>
772 1.1 christos
773 1.1 christos * ada-tasks.c (get_tcb_types_info): Use C lookups to get
774 1.1 christos ATCB symbols.
775 1.1 christos
776 1.1 christos 2010-11-22 Joel Brobecker <brobecker (a] adacore.com>
777 1.1 christos
778 1.1 christos * ada-lang.c (ada_check_typedef): Call ada_check_typedef only
779 1.1 christos if type1 is a typedef.
780 1.1 christos
781 1.1 christos 2010-11-22 Joel Brobecker <brobecker (a] adacore.com>
782 1.1 christos
783 1.1 christos * ada-lang.h (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Add
784 1.1 christos "_finalizer" to the list.
785 1.1 christos
786 1.1 christos 2010-11-22 Joel Brobecker <brobecker (a] adacore.com>
787 1.1 christos
788 1.1 christos * symfile.c: Remove all "#if 0"/"#endif" blocks.
789 1.1 christos
790 1.1 christos 2010-11-22 Joel Brobecker <brobecker (a] adacore.com>
791 1.1 christos
792 1.1 christos * symfile.c: Add missing second space after period in various comments.
793 1.1 christos
794 1.1 christos 2010-11-22 Joel Brobecker <brobecker (a] adacore.com>
795 1.1 christos
796 1.1 christos * ada-typeprint.c (print_array_type): Fix formatting in comment.
797 1.1 christos (print_selected_record_field_types): Fix formatting in function
798 1.1 christos documentation.
799 1.1 christos
800 1.1 christos 2010-11-22 Joel Brobecker <brobecker (a] adacore.com>
801 1.1 christos
802 1.1 christos * ravenscar-thread.c (_initialize_ravenscar): Fix copy/paste typo
803 1.1 christos in name of "show ravenscar" prefix command name.
804 1.1 christos
805 1.1 christos 2010-11-22 Joel Brobecker <brobecker (a] adacore.com>
806 1.1 christos
807 1.1 christos * ravenscar-thread.c (show_ravenscar_task_switching_command):
808 1.1 christos Add missing '\n' in output.
809 1.1 christos
810 1.1 christos 2010-11-22 Joel Brobecker <brobecker (a] adacore.com>
811 1.1 christos
812 1.1 christos * ravenscar-thread.c (running_thread_name): Change value.
813 1.1 christos (read_thread_id): Remove advance declaration.
814 1.1 christos (get_running_thread_msymbol): New function.
815 1.1 christos (has_ravenscar_runtime): Use get_running_thread_msymbol to
816 1.1 christos compute msym_running_thread.
817 1.1 christos (get_running_thread_id): Renames read_thread_id. Slight modifications
818 1.1 christos to not take any argument anymore, using get_running_thread_msymbol
819 1.1 christos to determine which symbol to use instead.
820 1.1 christos (ravenscar_running_thread): Use get_running_thread_id instead of
821 1.1 christos read_thread_id.
822 1.1 christos
823 1.1 christos 2010-11-22 Joel Brobecker <brobecker (a] adacore.com>
824 1.1 christos
825 1.1 christos * ravenscar-sparc-thread.c (supply_register_at_address):
826 1.1 christos Fix passing of buf in call to regcache_raw_supply.
827 1.1 christos
828 1.1 christos 2010-11-22 Jan Kratochvil <jan.kratochvil (a] redhat.com>
829 1.1 christos
830 1.1 christos * dwarf2read.c (dwarf2_read_index): Ignore higher .gdb_index versions.
831 1.1 christos
832 1.1 christos 2010-11-22 Tom Tromey <tromey (a] redhat.com>
833 1.1 christos
834 1.1 christos * Makefile.in (.PRECIOUS): Reference ada-lex.c.
835 1.1 christos
836 1.1 christos 2010-11-19 Keith Seitz <keiths (a] redhat.com>
837 1.1 christos
838 1.1 christos * data-directory/Makefile.in (SYSCALLS_INSTALL_DIR):
839 1.1 christos Remove extraneous '/' after $(DESTDIR).
840 1.1 christos (PYTHON_INSTALL_DIR): Likewise.
841 1.1 christos
842 1.1 christos 2010-11-19 Jan Kratochvil <jan.kratochvil (a] redhat.com>
843 1.1 christos
844 1.1 christos Fix stale memory references.
845 1.1 christos * elfread.c (elf_symfile_read): Replace xmalloc by bfd_alloc, drop
846 1.1 christos xfree, new comment.
847 1.1 christos
848 1.1 christos 2010-11-19 Jan Kratochvil <jan.kratochvil (a] redhat.com>
849 1.1 christos Tom Tromey <tromey (a] redhat.com>
850 1.1 christos
851 1.1 christos * Makefile.in (.y.c): Directly create $@ from YLWRAP.
852 1.1 christos (.PHONY): Remove for .y outputs.
853 1.1 christos
854 1.1 christos 2010-11-19 Will Drewry <wad (a] google.com>
855 1.1 christos Tavis Ormandy <taviso (a] google.com>
856 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com>
857 1.1 christos
858 1.1 christos * dwarf2read.c (decode_locdesc): Enforce location description stack
859 1.1 christos boundaries.
860 1.1 christos
861 1.1 christos 2010-11-18 Pierre Muller <muller (a] ics.u-strasbg.fr>
862 1.1 christos
863 1.1 christos * arm-tdep.c (arm_in_function_epilogue_p): Fix code when "MOV SP"
864 1.1 christos instruction is found.
865 1.1 christos
866 1.1 christos 2010-11-17 Tom Tromey <tromey (a] redhat.com>
867 1.1 christos
868 1.1 christos * value.c (value_entirely_optimized_out): Check the
869 1.1 christos 'check_any_valid' field.
870 1.1 christos
871 1.1 christos 2010-11-16 Jan Kratochvil <jan.kratochvil (a] redhat.com>
872 1.1 christos
873 1.1 christos * ada-lang.c (modify_general_field): Remove.
874 1.1 christos (make_array_descriptor): Replace all modify_general_field calls by
875 1.1 christos modify_field.
876 1.1 christos * value.c (modify_field): Update comment. New variable bytesize.
877 1.1 christos Normalize BITPOS. Initialize BYTESIZE, use it.
878 1.1 christos
879 1.1 christos 2010-11-16 Jan Kratochvil <jan.kratochvil (a] redhat.com>
880 1.1 christos
881 1.1 christos * dwarf2read.c (dw2_forget_cached_source_info): Clear the FULL_NAMES
882 1.1 christos elements after xfree.
883 1.1 christos
884 1.1 christos 2010-11-16 Tom Tromey <tromey (a] redhat.com>
885 1.1 christos
886 1.1 christos * gdb-add-index.sh: Really remove.
887 1.1 christos
888 1.1 christos 2010-11-16 Jan Kratochvil <jan.kratochvil (a] redhat.com>
889 1.1 christos
890 1.1 christos Code cleanup.
891 1.1 christos * dwarf2read.c (alloc_one_comp_unit): Rename prototype to ...
892 1.1 christos (init_one_comp_unit): ... this one.
893 1.1 christos (prepare_one_comp_unit): New prototype.
894 1.1 christos (dw2_require_line_header, process_psymtab_comp_unit): Use
895 1.1 christos init_one_comp_unit.
896 1.1 christos (process_psymtab_comp_unit): Use prepare_one_comp_unit.
897 1.1 christos (load_partial_comp_unit): Remove variable attr. Use
898 1.1 christos init_one_comp_unit with xmalloc. Use prepare_one_comp_unit.
899 1.1 christos (load_full_comp_unit): Use init_one_comp_unit with xmalloc. Use
900 1.1 christos prepare_one_comp_unit.
901 1.1 christos (read_signatured_type): Remove variable attr. Use init_one_comp_unit.
902 1.1 christos Use prepare_one_comp_unit.
903 1.1 christos (alloc_one_comp_unit): Rename to ...
904 1.1 christos (init_one_comp_unit): ... here and remove there calloc, new parameter
905 1.1 christos cu.
906 1.1 christos (prepare_one_comp_unit): New function.
907 1.1 christos
908 1.1 christos 2010-11-14 Pierre Muller <muller (a] ics.u-strasbg.fr>
909 1.1 christos
910 1.1 christos * arm-tdep.c (arm_in_function_epilogue_p): Fix code to avoid
911 1.1 christos possible used of uninitialized variable.
912 1.1 christos
913 1.1 christos 2010-11-12 Nathan Froyd <froydnj (a] codesourcery.com>
914 1.1 christos
915 1.1 christos * rs6000-tdep.c (bfd_uses_spe_extensions): New function.
916 1.1 christos (rs6000_gdbarch_init): Call it.
917 1.1 christos
918 1.1 christos 2010-11-12 Nathan Froyd <froydnj (a] codesourcery.com>
919 1.1 christos
920 1.1 christos * rs6000-tdep.c (gdb_print_insn_powerpc): Disassemble e500
921 1.1 christos instructions if debugging an E500 binary.
922 1.1 christos
923 1.1 christos 2010-11-12 Tom Tromey <tromey (a] redhat.com>
924 1.1 christos
925 1.1 christos * varobj.c (value_get_print_value): Rearrange. Pass stream to
926 1.1 christos apply_varobj_pretty_printer.
927 1.1 christos * c-lang.c: Include exceptions.h.
928 1.1 christos (c_get_string): Throw MEMORY_ERROR when appropriate.
929 1.1 christos * python/py-prettyprint.c (enum string_repr_result): New.
930 1.1 christos (print_stack_unless_memory_error): New function.
931 1.1 christos (print_string_repr): Change return type. Use
932 1.1 christos print_stack_unless_memory_error.
933 1.1 christos (print_children): Use print_stack_unless_memory_error.
934 1.1 christos (apply_val_pretty_printer): Update. Don't print children if
935 1.1 christos string representation threw an exception.
936 1.1 christos (apply_varobj_pretty_printer): Add 'stream' argument. Use
937 1.1 christos print_stack_unless_memory_error.
938 1.1 christos * python/python.c (gdbpy_gdb_error, gdbpy_gdb_memory_error): New
939 1.1 christos globals.
940 1.1 christos (_initialize_python): Initialize them.
941 1.1 christos * python/python-internal.h (GDB_PY_HANDLE_EXCEPTION): Use
942 1.1 christos gdbpy_convert_exception.
943 1.1 christos (GDB_PY_SET_HANDLE_EXCEPTION): Likewise.
944 1.1 christos (gdbpy_gdb_error, gdbpy_gdb_memory_error): Declare.
945 1.1 christos (gdbpy_convert_exception): Declare.
946 1.1 christos (apply_varobj_pretty_printer): Update.
947 1.1 christos * python/py-utils.c (gdbpy_convert_exception): New function.
948 1.1 christos
949 1.1 christos 2010-11-12 Marc Khouzam <marc.khouzam (a] ericsson.com>
950 1.1 christos
951 1.1 christos * mi/mi-main.c (mi_cmd_target_detach): Accept new
952 1.1 christos thread-group id format.
953 1.1 christos
954 1.1 christos 2010-11-12 Jan Kratochvil <jan.kratochvil (a] redhat.com>
955 1.1 christos
956 1.1 christos * spu-tdep.c (spu_catch_start): Fix compilation error typo.
957 1.1 christos
958 1.1 christos 2010-11-11 Phil Muldoon <pmuldoon (a] redhat.com>
959 1.1 christos
960 1.1 christos * python/py-breakpoint.c (BPPY_REQUIRE_VALID): Check if bp is
961 1.1 christos NULL.
962 1.1 christos (BPPY_SET_REQUIRE_VALID): Ditto.
963 1.1 christos (bpnum_is_valid): Delete function.
964 1.1 christos (bppy_get_visibility): New function.
965 1.1 christos (bppy_new): Parse for, and validate internal keyword. Pass
966 1.1 christos internal keyword to breakpoint or watchpoint functions.
967 1.1 christos (build_bp_list): New function.
968 1.1 christos (gdbpy_breakpoints): Rewrite. Use build_bp_list and
969 1.1 christos iterate_over_breakpoints.
970 1.1 christos (gdbpy_breakpoint_created): Rewrite. Do not store breakpoints in a
971 1.1 christos look-aside vector.
972 1.1 christos (gdbpy_breakpoint_deleted): Rewrite, defer breakpoint management
973 1.1 christos to internal breakpoint chain.
974 1.1 christos
975 1.1 christos * breakpoint.c (set_breakpoint_number): New function.
976 1.1 christos (breakpoint_1): Check if breakpoint number is more than zero.
977 1.1 christos (set_raw_breakpoint_without_location): Set py_bp_object to NULL.
978 1.1 christos (create_breakpoint_sal): Take a new parameter called internal.
979 1.1 christos Call set_breakpoint_number with internal parameter. Do not
980 1.1 christos mention internal breakpoints. All callers updated.
981 1.1 christos (create_breakpoint): Ditto.
982 1.1 christos (create_breakpoints_sal): Ditto.
983 1.1 christos (watch_command_1): Ditto.
984 1.1 christos (watch_command_wrapper): Take a new parameter called internal.
985 1.1 christos All callers updated.
986 1.1 christos (rwatch_command_wrapper): Ditto.
987 1.1 christos (awatch_command_wrapper): Ditto.
988 1.1 christos (save_breakpoints): Update breakpoint save condition check.
989 1.1 christos (iterate_over_breakpoints): New function.
990 1.1 christos * breakpoint.h: Add conditional python includes. Add py_bp_object
991 1.1 christos and comment to struct breakpoint. Update all callers.
992 1.1 christos * defs.h: Add PyObject definition for GDB builds without Python.
993 1.1 christos
994 1.1 christos 2010-11-10 Doug Evans <dje (a] google.com>
995 1.1 christos
996 1.1 christos * python/lib/gdb/command/pretty_printers.py
997 1.1 christos (do_enable_pretty_printer_1): Handle printer.subprinters is None.
998 1.1 christos
999 1.1 christos * value.c (set_value_enclosing_type): Renamed from
1000 1.1 christos value_change_enclosing_type. All callers updated.
1001 1.1 christos * value.h (set_value_enclosing_type): Update.
1002 1.1 christos * valops.c (value_full_object): Always return a copy if we need to
1003 1.1 christos make changes to the input value.
1004 1.1 christos
1005 1.1 christos 2010-11-09 Pedro Alves <pedro (a] codesourcery.com>
1006 1.1 christos
1007 1.1 christos * breakpoint.c (watch_command_1): Get a pointer of the lazy
1008 1.1 christos version of the expression's value, even if reading the value from
1009 1.1 christos memory fails. When creating a -location watchpoint, get the
1010 1.1 christos value's address from the lazy value pointer.
1011 1.1 christos
1012 1.1 christos 2010-11-07 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1013 1.1 christos
1014 1.1 christos * infrun.c (restore_inferior_thread_state): Use
1015 1.1 christos discard_inferior_thread_state to free the data.
1016 1.1 christos (discard_inferior_thread_state): xfree also siginfo_data.
1017 1.1 christos
1018 1.1 christos 2010-11-05 Doug Evans <dje (a] google.com>
1019 1.1 christos
1020 1.1 christos Make gdb.parameter("directories") work.
1021 1.1 christos New command "set directories".
1022 1.1 christos * NEWS: Document them.
1023 1.1 christos * source.c (set_directories_command): New function.
1024 1.1 christos (show_directories_1): Renamed from show_directories.
1025 1.1 christos All callers updated.
1026 1.1 christos (show_directories_command): New function.
1027 1.1 christos (_initialize_source): Install "directories" as a set/show
1028 1.1 christos variable instead of just a show command.
1029 1.1 christos
1030 1.1 christos 2010-11-05 Ken Werner <ken.werner (a] de.ibm.com>
1031 1.1 christos
1032 1.1 christos * NEWS: Mention OpenCL C language support.
1033 1.1 christos * Makefile.in (SFILES): Add opencl-lang.c.
1034 1.1 christos (COMMON_OBS): Add opencl-lang.o.
1035 1.1 christos * opencl-lang.c: New File
1036 1.1 christos * defs.h (enum language): Add language_opencl.
1037 1.1 christos * dwarf2read.c (read_file_scope): Handle DW_AT_producer for the
1038 1.1 christos IBM XL C OpenCL compiler.
1039 1.1 christos * c-lang.h: Include "parser-defs.h".
1040 1.1 christos (evaluate_subexp_c): Declare.
1041 1.1 christos * c-lang.c (evaluate_subexp_c): Remove the static qualifier.
1042 1.1 christos (c_op_print_tab): Add declaration.
1043 1.1 christos * eval.c (binop_promote): Handle language_opencl.
1044 1.1 christos * c-exp.y: Lookup the primitive types instead of referring to the
1045 1.1 christos builtins.
1046 1.1 christos
1047 1.1 christos 2010-11-05 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1048 1.1 christos
1049 1.1 christos Fix configure --enable-plugins --without-python.
1050 1.1 christos * configure.ac (for ELF support in BFD) <"$plugins" = "yes">: New.
1051 1.1 christos * configure: Regenerate.
1052 1.1 christos
1053 1.1 christos 2010-11-05 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1054 1.1 christos
1055 1.1 christos * solib.c (solib_read_symbols): Call exception_fprintf even without
1056 1.1 christos FROM_TTY. Print also so->so_name.
1057 1.1 christos
1058 1.1 christos 2010-11-04 Sami Wagiaalla <swagiaal (a] redhat.com>
1059 1.1 christos
1060 1.1 christos * gdbtypes.h (struct rank): Created subrank.
1061 1.1 christos * gdbtypes.c: Initialized subrank for all
1062 1.1 christos 'BADNESS' constants.
1063 1.1 christos (distance_to_ancestor): New function.
1064 1.1 christos (is_ancestor): Use distance_to_ancestor.
1065 1.1 christos (is_public_ancestor): Ditto.
1066 1.1 christos (sum_ranks): Handle subrank.
1067 1.1 christos (compare_ranks): Ditto.
1068 1.1 christos (rank_one_type): Subrank base conversions.
1069 1.1 christos
1070 1.1 christos 2010-11-04 Sami Wagiaalla <swagiaal (a] redhat.com>
1071 1.1 christos
1072 1.1 christos * gdbtypes.h: Create struct rank.
1073 1.1 christos Convert all 'BADNESS' macros to const struct rank declarations.
1074 1.1 christos (sum_ranks): New function.
1075 1.1 christos (compare_ranks): New function.
1076 1.1 christos * valops.c (find_oload_champ): Updated.
1077 1.1 christos (classify_oload_match): Use compare_ranks.
1078 1.1 christos Improved comments.
1079 1.1 christos (compare_parameters): Use compare_ranks.
1080 1.1 christos * gdbtypes.c: Initialize 'BADNESS' constants.
1081 1.1 christos (sum_ranks): New function.
1082 1.1 christos (compare_ranks): New function.
1083 1.1 christos (compare_badness): Use compare_ranks.
1084 1.1 christos (rank_function): Use global constants instead of literals.
1085 1.1 christos (rank_one_type): Ditto.
1086 1.1 christos Return struct rank.
1087 1.1 christos Use sum_ranks.
1088 1.1 christos
1089 1.1 christos 2010-11-04 Doug Evans <dje (a] google.com>
1090 1.1 christos
1091 1.1 christos * python/py-prettyprint.c (find_pretty_printer_from_gdb): Fix comment.
1092 1.1 christos (find_pretty_printer): Fix comments.
1093 1.1 christos
1094 1.1 christos 2010-11-04 Hui Zhu <teawater (a] gmail.com>
1095 1.1 christos
1096 1.1 christos * tracepoint.c (remote_trace_set_readonly_regions): Change lma to vma.
1097 1.1 christos
1098 1.1 christos 2010-11-03 Joel Brobecker <brobecker (a] adacore.com>
1099 1.1 christos
1100 1.1 christos * ada-valprint.c (ada_val_print_array): Move variables `eltlen'
1101 1.1 christos and `len' declaration and computation inside block where they
1102 1.1 christos are being used.
1103 1.1 christos
1104 1.1 christos 2010-11-03 Joel Brobecker <brobecker (a] adacore.com>
1105 1.1 christos
1106 1.1 christos * valprint.c (val_print_array_elements): Put back handling of
1107 1.1 christos empty arrays.
1108 1.1 christos
1109 1.1 christos 2010-11-03 Ken Werner <ken.werner (a] de.ibm.com>
1110 1.1 christos
1111 1.1 christos * dwarf2read.c (read_array_type): Read the DW_AT_byte_size from the
1112 1.1 christos DIE and set the length of the type.
1113 1.1 christos * gdbtypes.h (get_array_bounds): Move here from valprint.h.
1114 1.1 christos * gdbtypes.c (get_array_bounds): Move here from valprint.c and
1115 1.1 christos return 0 if the corresponding bounds of the type are undefined.
1116 1.1 christos * valprint.h (get_array_bounds): Move declaration to gdbtypes.h.
1117 1.1 christos * valprint.c (get_array_bounds): Move implementation to gdbtypes.c.
1118 1.1 christos (val_print_array_elements): Use get_array_bounds to compute the number
1119 1.1 christos of array elements instead of dividing the length of the array by the
1120 1.1 christos length of the element types.
1121 1.1 christos * valarith.c (vector_binop): Likewise.
1122 1.1 christos * valops.c (value_cast): Likewise.
1123 1.1 christos * c-valprint.c (c_val_print): Likewise.
1124 1.1 christos * c-typeprint.c (c_type_print_varspec_suffix): Likewise.
1125 1.1 christos
1126 1.1 christos 2010-11-03 Ken Werner <ken.werner (a] de.ibm.com>
1127 1.1 christos
1128 1.1 christos * valarith.c (value_pos, value_neg, value_complement): Handle
1129 1.1 christos vector types.
1130 1.1 christos * valops.c (value_one): Likewise.
1131 1.1 christos
1132 1.1 christos 2010-11-03 Ken Werner <ken.werner (a] de.ibm.com>
1133 1.1 christos
1134 1.1 christos * value.h (value_non_lval): Declare.
1135 1.1 christos * value.c (value_non_lval): New function.
1136 1.1 christos * eval.c (evaluate_subexp_standard) <UNOP_POSTINCREMENT,
1137 1.1 christos UNOP_POSTDECREMENT>: Call value_non_lval to ensure to return a
1138 1.1 christos non-lvalue.
1139 1.1 christos
1140 1.1 christos 2010-11-02 Doug Evans <dje (a] google.com>
1141 1.1 christos
1142 1.1 christos New python module gdb.printing, and new commands info pretty-printer,
1143 1.1 christos enable pretty-printer, disable pretty-printer.
1144 1.1 christos * NEWS: Mention them.
1145 1.1 christos * data-directory/Makefile.in (PYTHON_FILES): Add gdb/printing.py,
1146 1.1 christos gdb/command/__init__.py, gdb/command/pretty_printers.py.
1147 1.1 christos * python/lib/gdb/__init__.py: Install pretty-printer commands.
1148 1.1 christos * python/lib/gdb/printing.py: New file.
1149 1.1 christos * python/lib/gdb/command/__init__.py: New file.
1150 1.1 christos * python/lib/gdb/command/pretty_printers.py: New file.
1151 1.1 christos
1152 1.1 christos 2010-11-02 Tom Tromey <tromey (a] redhat.com>
1153 1.1 christos
1154 1.1 christos * NEWS: Mention Guile removal.
1155 1.1 christos * defs.h (enum language) <language_scm>: Remove.
1156 1.1 christos * Makefile.in (SFILES): Remove scm-exp.c, scm-lang.c,
1157 1.1 christos scm-valprint.c.
1158 1.1 christos (HFILES_NO_SRCDIR): Remove scm-lang.h, scm-tags.h.
1159 1.1 christos (COMMON_OBS): Remove scm-exp.o, scm-lang.o, scm-valprint.o.
1160 1.1 christos * scm-exp.c, scm-lang.c, scm-valprint.c, scm-lang.h, scm-tags.h:
1161 1.1 christos Remove.
1162 1.1 christos
1163 1.1 christos 2010-11-02 Doug Evans <dje (a] google.com>
1164 1.1 christos
1165 1.1 christos * top.c: #include "python/python.h".
1166 1.1 christos (gdb_init): Add a comment regarding initialize_all_files.
1167 1.1 christos Call finish_python_initialization at the end.
1168 1.1 christos * python/python.h (finish_python_initialization): Declare.
1169 1.1 christos * python/python.c (finish_python_initialization): New function.
1170 1.1 christos (_initialize_python): Move python-implemented initialization there
1171 1.1 christos and call it.
1172 1.1 christos (GdbMethods): Use #ifdef HAVE_PYTHON for consistency.
1173 1.1 christos
1174 1.1 christos 2010-11-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1175 1.1 christos
1176 1.1 christos Revert:
1177 1.1 christos 2010-10-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1178 1.1 christos Pedro Alves <pedro (a] codesourcery.com>
1179 1.1 christos * gdbthread.h (currently_stepping): New declaration.
1180 1.1 christos * infrun.c (currently_stepping): Remove the forward declaration.
1181 1.1 christos (currently_stepping): Make it global.
1182 1.1 christos * linux-nat.c (resume_callback) <lp->stopped && lp->status == 0>: New
1183 1.1 christos variables tp and step, initialized them. Pass STEP to to_resume.
1184 1.1 christos Print also possibly "PTRACE_SINGLESTEP" if STEP. Initialize LP->STEP.
1185 1.1 christos * remote.c (currently_stepping_callback): New.
1186 1.1 christos (remote_vcont_resume)
1187 1.1 christos <ptid_equal (ptid, minus_one_ptid) || ptid_is_pid (ptid)>:
1188 1.1 christos New variable tp. Call currently_stepping_callback and step such
1189 1.1 christos thread.
1190 1.1 christos
1191 1.1 christos 2010-11-01 Hui Zhu <teawater (a] gmail.com>
1192 1.1 christos
1193 1.1 christos * tracepoint.c (tfile_xfer_partial): Change lma to vma.
1194 1.1 christos
1195 1.1 christos 2010-10-28 Hui Zhu <teawater (a] gmail.com>
1196 1.1 christos
1197 1.1 christos * tracepoint.c (trace_save): Change utp->actions to
1198 1.1 christos utp->step_actions.
1199 1.1 christos
1200 1.1 christos 2010-10-26 Joel Brobecker <brobecker (a] adacore.com>
1201 1.1 christos
1202 1.1 christos * (_FILE_OFFSET_BITS): Fix typo in comment.
1203 1.1 christos
1204 1.1 christos 2010-10-26 Joel Brobecker <brobecker (a] adacore.com>
1205 1.1 christos
1206 1.1 christos * python/python-internal.h (_FILE_OFFSET_BITS): Undefine.
1207 1.1 christos (PyEval_InitThreads): Remove duplicate. Define as nothing.
1208 1.1 christos (PyEval_ReleaseLock): Define as nothing.
1209 1.1 christos
1210 1.1 christos 2010-10-26 Joel Brobecker <brobecker (a] adacore.com>
1211 1.1 christos
1212 1.1 christos * dwarf2read.c (psymtab_include_file_name): Replace call to strcmp
1213 1.1 christos by call to FILENAME_CMP.
1214 1.1 christos
1215 1.1 christos 2010-10-26 Joel Brobecker <brobecker (a] adacore.com>
1216 1.1 christos
1217 1.1 christos * dictionary.c (dict_hash): Move assignment out of if condition.
1218 1.1 christos
1219 1.1 christos 2010-10-22 Jie Zhang <jie (a] codesourcery.com>
1220 1.1 christos
1221 1.1 christos * Makefile.in (install): Remove dependency of install-only and
1222 1.1 christos recursively invoke make for install-only.
1223 1.1 christos * data-directory/Makefile.in: Add FLAGS_TO_PASS variable.
1224 1.1 christos (install): Pass FLAGS_TO_PASS when recursively make install-only.
1225 1.1 christos
1226 1.1 christos 2010-10-20 Hui Zhu <teawater (a] gmail.com>
1227 1.1 christos
1228 1.1 christos * tracepoint.c (tfile_get_traceframe_address): Call
1229 1.1 christos extract_signed_integer.
1230 1.1 christos (tfile_trace_find): Call extract_signed_integer and
1231 1.1 christos extract_unsigned_integer. Change data_size to unsigned int.
1232 1.1 christos (tfile_fetch_registers): Call extract_unsigned_integer.
1233 1.1 christos (tfile_xfer_partial): Ditto.
1234 1.1 christos (tfile_get_trace_state_variable_value): Call
1235 1.1 christos extract_signed_integer and extract_unsigned_integer.
1236 1.1 christos
1237 1.1 christos 2010-10-20 Vladimir Prus <vladimir (a] codesourcery.com>
1238 1.1 christos
1239 1.1 christos * remote.c (remote_get_threadlist): If we got empty
1240 1.1 christos response, bail out immediately, and don't emit any
1241 1.1 christos warnings.
1242 1.1 christos
1243 1.1 christos 2010-10-19 Ulrich Weigand <uweigand (a] de.ibm.com>
1244 1.1 christos
1245 1.1 christos * arm-tdep.c (thumb_get_next_pc_raw): Handle Thumb-16 encoding
1246 1.1 christos for "mov pc, REG" as well.
1247 1.1 christos (thumb_instruction_changes_pc): Likewise.
1248 1.1 christos
1249 1.1 christos 2010-10-19 Sami Wagiaalla <swagiaal (a] redhat.com>
1250 1.1 christos
1251 1.1 christos PR C++/11500:
1252 1.1 christos * valarith.c (value_x_unop): Handle STRUCTOP_PTR.
1253 1.1 christos * eval.c (evaluate_subexp_standard): Check for overload of
1254 1.1 christos 'operator->'.
1255 1.1 christos * valarith.c (value_x_binop): Throw NOT_FOUND_ERROR.
1256 1.1 christos (value_x_unop): Ditto.
1257 1.1 christos * valops.c: Include "exceptions.h".
1258 1.1 christos (find_overload_match): Throw NOT_FOUND_ERROR.
1259 1.1 christos (value_struct_elt): Ditto.
1260 1.1 christos
1261 1.1 christos 2010-10-19 Tom Tromey <tromey (a] redhat.com>
1262 1.1 christos
1263 1.1 christos * python/py-cmd.c (cmdpy_function): Unreference exception state.
1264 1.1 christos
1265 1.1 christos 2010-10-19 Sami Wagiaalla <swagiaal (a] redhat.com>
1266 1.1 christos
1267 1.1 christos * gdbtypes.h: Introduce BOOL_PTR_CONVERSION_BADNESS.
1268 1.1 christos * gdbtypes.c (rank_one_type): Use BOOL_PTR_CONVERSION_BADNESS
1269 1.1 christos for conversion.
1270 1.1 christos Make all other conversions illegal.
1271 1.1 christos
1272 1.1 christos 2010-10-18 Doug Evans <dje (a] google.com>
1273 1.1 christos
1274 1.1 christos * c-typeprint.c (c_type_print_base, case TYPE_CODE_TYPEDEF): Verify
1275 1.1 christos assumptions of when this case happens. Print "<unnamed typedef>".
1276 1.1 christos
1277 1.1 christos 2010-10-18 Tom Tromey <tromey (a] redhat.com>
1278 1.1 christos
1279 1.1 christos * valprint.c (val_print_string): Pass 'encoding' to
1280 1.1 christos LA_PRINT_STRING.
1281 1.1 christos
1282 1.1 christos 2010-10-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1283 1.1 christos
1284 1.1 christos Fix the `stopped language detection' testcase for gcc-4.5.
1285 1.1 christos * dwarf2read.c (read_partial_die): Set also LANGUAGE_OF_MAIN.
1286 1.1 christos * symfile.c (set_initial_language): Move variable filename to a more
1287 1.1 christos inner block. Prefer LANGUAGE_OF_MAIN.
1288 1.1 christos * symtab.c (language_of_main): New variable.
1289 1.1 christos (set_main_name): Always reset LANGUAGE_OF_MAIN.
1290 1.1 christos * symtab.h (language_of_main): New declaration.
1291 1.1 christos
1292 1.1 christos 2010-10-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1293 1.1 christos Pedro Alves <pedro (a] codesourcery.com>
1294 1.1 christos
1295 1.1 christos * gdbthread.h (currently_stepping): New declaration.
1296 1.1 christos * infrun.c (currently_stepping): Remove the forward declaration.
1297 1.1 christos (currently_stepping): Make it global.
1298 1.1 christos * linux-nat.c (resume_callback) <lp->stopped && lp->status == 0>: New
1299 1.1 christos variables tp and step, initialized them. Pass STEP to to_resume.
1300 1.1 christos Print also possibly "PTRACE_SINGLESTEP" if STEP. Initialize LP->STEP.
1301 1.1 christos * remote.c (currently_stepping_callback): New.
1302 1.1 christos (remote_vcont_resume)
1303 1.1 christos <ptid_equal (ptid, minus_one_ptid) || ptid_is_pid (ptid)>:
1304 1.1 christos New variable tp. Call currently_stepping_callback and step such
1305 1.1 christos thread.
1306 1.1 christos
1307 1.1 christos 2010-10-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1308 1.1 christos
1309 1.1 christos * infrun.c (follow_exec): Replace symbol_file_add_main by
1310 1.1 christos symbol_file_add with SYMFILE_DEFER_BP_RESET, set_initial_language and
1311 1.1 christos breakpoint_re_set.
1312 1.1 christos * m32r-rom.c (m32r_load, m32r_upload_command): Use parameter 0 for
1313 1.1 christos clear_symtab_users.
1314 1.1 christos * objfiles.c (free_all_objfiles): Likewise.
1315 1.1 christos * remote-m32r-sdi.c (m32r_load): Likewise.
1316 1.1 christos * solib-som.c (som_solib_create_inferior_hook): Likewise.
1317 1.1 christos * symfile.c (new_symfile_objfile): New comment for add_flags. Call
1318 1.1 christos clear_symtab_users with ADD_FLAGS.
1319 1.1 christos (reread_symbols): Use parameter 0 for clear_symtab_users.
1320 1.1 christos (clear_symtab_users): New parameter add_flags. Do not call
1321 1.1 christos breakpoint_re_set if SYMFILE_DEFER_BP_RESET.
1322 1.1 christos (clear_symtab_users_cleanup): Use parameter 0 for clear_symtab_users.
1323 1.1 christos * symtab.h (clear_symtab_users): New parameter add_flags.
1324 1.1 christos
1325 1.1 christos 2010-10-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1326 1.1 christos
1327 1.1 christos Fix GCC false warning.
1328 1.1 christos * varobj.c (value_get_print_value) <str_addr>: Initialize it.
1329 1.1 christos
1330 1.1 christos 2010-10-16 Pierre Muller <muller (a] ics.u-strasbg.fr>
1331 1.1 christos
1332 1.1 christos * p-typeprint.c (pascal_type_print_method_args): Fix problem in
1333 1.1 christos display of type of method arguments.
1334 1.1 christos
1335 1.1 christos 2010-10-15 Tom Tromey <tromey (a] redhat.com>
1336 1.1 christos
1337 1.1 christos PR python/11948:
1338 1.1 christos * varobj.c (value_get_print_value): Use val_print_string to print
1339 1.1 christos lazy strings.
1340 1.1 christos * python/py-prettyprint.c (print_string_repr): Use
1341 1.1 christos val_print_string to print lazy strings. Fix cleanup logic.
1342 1.1 christos (print_children): Likewise.
1343 1.1 christos * python/python-internal.h (gdbpy_extract_lazy_string): Update.
1344 1.1 christos * python/py-lazy-string.c (gdbpy_extract_lazy_string): Rewrite.
1345 1.1 christos Change return type to 'void', add 'addr' argument.
1346 1.1 christos * value.h (val_print_string): Update.
1347 1.1 christos * valprint.c (val_print_string): Add 'encoding' argument.
1348 1.1 christos * printcmd.c (print_formatted): Update.
1349 1.1 christos * p-valprint.c (pascal_val_print): Update.
1350 1.1 christos * m2-valprint.c (print_unpacked_pointer): Update.
1351 1.1 christos (m2_print_array_contents): Likewise.
1352 1.1 christos * jv-valprint.c (java_value_print): Update.
1353 1.1 christos * f-valprint.c (f_val_print): Update.
1354 1.1 christos * c-valprint.c (c_val_print): Update.
1355 1.1 christos * auxv.c (fprint_target_auxv): Update.
1356 1.1 christos
1357 1.1 christos 2010-10-15 Doug Evans <dje (a] google.com>
1358 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com>
1359 1.1 christos
1360 1.1 christos PR exp/12117
1361 1.1 christos * gdbtypes.c (check_typedef): Clean up function comment.
1362 1.1 christos Keep track of instance flags as we strip typedefs and create a new
1363 1.1 christos type to preserve them if necessary.
1364 1.1 christos * gdbtypes.h (type) <instance_flags>: Extend the comment.
1365 1.1 christos
1366 1.1 christos 2010-10-15 Pierre Muller <muller (a] ics.u-strasbg.fr>
1367 1.1 christos
1368 1.1 christos * p-lang.c (is_pascal_string_type): Use TYPE_FIELD_NAME accessor.
1369 1.1 christos
1370 1.1 christos 2010-10-14 Sami Wagiaalla <swagiaal (a] redhat.com>
1371 1.1 christos
1372 1.1 christos * gdbtypes.h: Create BASE_PTR_CONVERSION_BADNESS.
1373 1.1 christos * gdbtypes.c (rank_one_type): Move type comparison code out of here
1374 1.1 christos to...
1375 1.1 christos (types_equal): ...here. And changed it as follows:
1376 1.1 christos Outside of typedefs type must be of the same TYPE_CODE.
1377 1.1 christos When compairing two pointers or references they are equal if their
1378 1.1 christos targets are equal.
1379 1.1 christos Correct pointer conversions.
1380 1.1 christos
1381 1.1 christos 2010-10-14 Pierre Muller <muller (a] ics.u-strasbg.fr>
1382 1.1 christos
1383 1.1 christos * p-lang.c (is_pascal_string_type): Avoid crashes on structures
1384 1.1 christos having fields without names.
1385 1.1 christos
1386 1.1 christos 2010-10-13 Tom Tromey <tromey (a] redhat.com>
1387 1.1 christos
1388 1.1 christos * language.h (LA_PRINT_ARRAY_INDEX): Fix argument name.
1389 1.1 christos
1390 1.1 christos 2010-10-13 Doug Evans <dje (a] google.com>
1391 1.1 christos
1392 1.1 christos New python module gdb.types.
1393 1.1 christos * NEWS: Document it.
1394 1.1 christos * data-directory/Makefile.in (PYTHON_FILES): Add gdb/types.py.
1395 1.1 christos * python/lib/gdb/types.py: New file.
1396 1.1 christos
1397 1.1 christos * c-typeprint.c: Whitespace cleanup.
1398 1.1 christos (cp_type_print_method_args): Remove unnecessary forward decl.
1399 1.1 christos (cp_type_print_derivation_info): Ditto.
1400 1.1 christos (c_type_print_varspec_prefix): Mark as static at definition.
1401 1.1 christos (c_type_print_modifier): Fix arg descriptions.
1402 1.1 christos
1403 1.1 christos 2010-10-13 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1404 1.1 christos
1405 1.1 christos * python/py-breakpoint.c (bppy_set_condition): New comment.
1406 1.1 christos * python/py-cmd.c (cmdpy_function): Call also gdbpy_print_stack for
1407 1.1 christos failed PyUnicode_Decode.
1408 1.1 christos (cmdpy_completer): Skip element for failed
1409 1.1 christos python_string_to_host_string.
1410 1.1 christos (cmdpy_init): Return -1 on failed python_string_to_host_string.
1411 1.1 christos * python/py-frame.c (frapy_read_var): Extend the function comment.
1412 1.1 christos * python/py-function.c (fnpy_init): Return -1 on failed
1413 1.1 christos python_string_to_host_string.
1414 1.1 christos * python/py-inferior.c (infpy_read_memory, infpy_write_memory): Extend
1415 1.1 christos the function comment.
1416 1.1 christos (infpy_search_memory): Extend the function comment. Remove the
1417 1.1 christos PyErr_SetString call on already set error state.
1418 1.1 christos * python/py-param.c (set_parameter_value): Extend the function
1419 1.1 christos comment. Return -1 on failed python_string_to_host_string, twice.
1420 1.1 christos (set_attr): Extend the function comment.
1421 1.1 christos (compute_enum_values): Extend the function comment. New variable
1422 1.1 christos back_to. Protect self->enumeration by BACK_TO cleanups. Return 0 on
1423 1.1 christos failed python_string_to_host_string.
1424 1.1 christos (get_doc_string): Call gdbpy_print_stack on failed
1425 1.1 christos python_string_to_host_string.
1426 1.1 christos (parmpy_init): Extend the function comment.
1427 1.1 christos * python/py-prettyprint.c (pretty_print_one_value): Likewise.
1428 1.1 christos (gdbpy_get_display_hint, print_children): Call gdbpy_print_stack on
1429 1.1 christos failed python_string_to_host_string.
1430 1.1 christos * python/py-value.c (valpy_new, valpy_getitem, valpy_call)
1431 1.1 christos (valpy_binop, valpy_richcompare): Extend the function comment.
1432 1.1 christos * python/python.c
1433 1.1 christos (struct python_env) <error_type, error_value, error_traceback>: New
1434 1.1 christos fields.
1435 1.1 christos (restore_python_env): Handle PyErr_Occurred. Call PyErr_Restore.
1436 1.1 christos (ensure_python_env): Call PyErr_Fetch.
1437 1.1 christos * varobj.c (update_dynamic_varobj_children): Call gdbpy_print_stack on
1438 1.1 christos failed convert_value_from_python.
1439 1.1 christos (value_get_print_value): Call gdbpy_print_stack on failed
1440 1.1 christos python_string_to_target_python_string.
1441 1.1 christos
1442 1.1 christos 2010-10-12 Tom Tromey <tromey (a] redhat.com>
1443 1.1 christos
1444 1.1 christos * python/py-prettyprint.c (search_pp_list): Fix error checking.
1445 1.1 christos
1446 1.1 christos 2010-10-12 Sami Wagiaalla <swagiaal (a] redhat.com>
1447 1.1 christos
1448 1.1 christos * gdbtypes.c (do_is_ancestor): New function.
1449 1.1 christos (is_ancestor): Use do_is_ancestor.
1450 1.1 christos (is_public_ancestor): Use do_is_ancestor.
1451 1.1 christos
1452 1.1 christos 2010-10-12 Pierre Muller <muller (a] ics.u-strasbg.fr>
1453 1.1 christos
1454 1.1 christos * ser-go32.c (struct dos_ops): Add missing fdopen field.
1455 1.1 christos
1456 1.1 christos 2010-10-12 Matthew Gretton-Dann <matthew.gretton-dann (a] arm.com>
1457 1.1 christos
1458 1.1 christos * arm-tdep.c (arm_mode_strings): Add NULL entry at end of array.
1459 1.1 christos
1460 1.1 christos 2010-10-11 Doug Evans <dje (a] google.com>
1461 1.1 christos
1462 1.1 christos * c-typeprint.c (c_type_print_modifier): Add note that this prints
1463 1.1 christos the address space id too.
1464 1.1 christos
1465 1.1 christos 2010-10-11 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1466 1.1 christos
1467 1.1 christos Fix attaching to re-prelinked executables on ppc64.
1468 1.1 christos * solib-svr4.c (svr4_exec_displacement): New variable plt2_asect,
1469 1.1 christos initialize it, try to adjust FILESZ field by it.
1470 1.1 christos
1471 1.1 christos 2010-10-08 Daniel Jacobowitz <dan (a] codesourcery.com>
1472 1.1 christos
1473 1.1 christos * tracepoint.c (merge_uploaded_trace_state_variables): Only print
1474 1.1 christos messages if info_verbose.
1475 1.1 christos
1476 1.1 christos 2010-10-08 Ken Werner <ken.werner (a] de.ibm.com>
1477 1.1 christos
1478 1.1 christos * valops.c (value_cast): Handle vector types.
1479 1.1 christos * valarith.c (value_binop): Widen scalar to vector if appropriate.
1480 1.1 christos
1481 1.1 christos 2010-10-08 Ulrich Weigand <uweigand (a] de.ibm.com>
1482 1.1 christos
1483 1.1 christos * arm-tdep.c (thumb_expand_immediate): New function.
1484 1.1 christos (thumb_instruction_changes_pc): Likewise.
1485 1.1 christos (thumb2_instruction_changes_pc): Likewise.
1486 1.1 christos (thumb_analyze_prologue): Handle 32-bit Thumb instructions during
1487 1.1 christos prologue parsing. Improved support for optimized code.
1488 1.1 christos (thumb_scan_prologue): Do not reply on line-number information,
1489 1.1 christos use same heuristics as arm_scan_prologue insead.
1490 1.1 christos (skip_prologue_function): Accept functions
1491 1.1 christos "__tls_get_addr" and "__aeabi_read_tp".
1492 1.1 christos
1493 1.1 christos 2010-10-08 Ulrich Weigand <uweigand (a] de.ibm.com>
1494 1.1 christos Daniel Jacobowitz <dan (a] codesourcery.com>
1495 1.1 christos
1496 1.1 christos * arm-tdep.c (thumb_in_function_epilogue_p)
1497 1.1 christos (arm_in_function_epilogue_p): New.
1498 1.1 christos (arm_gdbarch_init): Install arm_in_function_epilogue_p as
1499 1.1 christos gdbarch_in_function_epilogue_p callback.
1500 1.1 christos
1501 1.1 christos 2010-10-07 Doug Evans <dje (a] google.com>
1502 1.1 christos
1503 1.1 christos * cc-with-index.sh (output_file): Default to a.out.
1504 1.1 christos
1505 1.1 christos * dwarf2read.c (mapped_index): Rename member index_table to
1506 1.1 christos symbol_table and index_table_slots to symbol_table_slots.
1507 1.1 christos All uses updated.
1508 1.1 christos (create_symbol_hash_table): Renamed from create_index_table.
1509 1.1 christos All callers updated.
1510 1.1 christos (add_indices_to_cpool): Rename arg index_table to symbol_hash_table.
1511 1.1 christos (write_hash_table): Rename local index_table to symbol_hash_table.
1512 1.1 christos
1513 1.1 christos * addrmap.h (addrmap_foreach_fn): New typedef.
1514 1.1 christos (addrmap_foreach): Declare.
1515 1.1 christos * addrmap.c (struct addrmap_funcs): New member foreach.
1516 1.1 christos (addrmap_foreach): New function.
1517 1.1 christos (addrmap_fixed_foreach): New function.
1518 1.1 christos (addrmap_fixed_funcs): Update.
1519 1.1 christos (struct mutable_foreach_data): New struct.
1520 1.1 christos (addrmap_mutable_foreach_worker): New function.
1521 1.1 christos (addrmap_mutable_foreach): New function.
1522 1.1 christos (addrmap_mutable_funcs): Update.
1523 1.1 christos
1524 1.1 christos 2010-10-07 Paul Hilfinger <hilfinger (a] adacore.com>
1525 1.1 christos
1526 1.1 christos * dictionary.c (dict_hash): Revert to msymbol_hash_iw in
1527 1.1 christos more cases.
1528 1.1 christos
1529 1.1 christos 2010-10-07 Paul Hilfinger <hilfinger (a] adacore.com>
1530 1.1 christos
1531 1.1 christos * ada-lang.c (full_match): Declare.
1532 1.1 christos (ada_match_name): Rename to match_name (we should avoid prefixing static
1533 1.1 christos symbols with "ada_").
1534 1.1 christos (match_name): New name for ada_match_name.
1535 1.1 christos (struct ada_psym_data): Remove and replace with...
1536 1.1 christos (struct match_data): User data for map_matching_symbols.
1537 1.1 christos (ada_add_psyms): Remove.
1538 1.1 christos (aux_add_nonlocal_symbols): New function, used as callback for
1539 1.1 christos map_matching_symbols.
1540 1.1 christos (compare_names): Ordering function adopted from strcmp_iw for Ada-encoded
1541 1.1 christos symbols.
1542 1.1 christos (ada_add_non_local_symbols): Rename to add_nonlocal_symbols.
1543 1.1 christos (add_nonlocal_symbols): Renamed from ada_add_non_local_symbols.
1544 1.1 christos Rework to use map_matching_symbols instead of map_ada_symtabs.
1545 1.1 christos (ada_lookup_symbol_list): Use add_nonlocal_symbols.
1546 1.1 christos * psymtab.c: Include dependency on dictionary.h.
1547 1.1 christos (match_partial_symbol): New function.
1548 1.1 christos (ada_lookup_partial_symbol): Remove.
1549 1.1 christos (map_block): New function, auxiliary to map_matching_symbols_psymtab.
1550 1.1 christos (map_matching_symbols_psymtab): New function.
1551 1.1 christos (psym_functions): Replace map_ada_symtabs with map_matching_symbols_psymtab.
1552 1.1 christos * symfile.h: Replace map_ada_symtabs definition with map_matching_symbols.
1553 1.1 christos
1554 1.1 christos 2010-10-06 Paul Hilfinger <hilfinger (a] adacore.com>
1555 1.1 christos
1556 1.1 christos * ada-lang.c (ada_match_name): Use new API for wild_match.
1557 1.1 christos (wild_match): Change API to be consistent with that of strcmp_iw;
1558 1.1 christos return 0 for a match, and switch operand order.
1559 1.1 christos (full_match): New function.
1560 1.1 christos (ada_add_block_symbols): Use dict_iter_match_{first,next} for
1561 1.1 christos matching to allow use of hashing.
1562 1.1 christos * dictionary.c (struct dict_vector): Generalize iter_name_first,
1563 1.1 christos iter_name_next ot iter_match_first, iter_match_next.
1564 1.1 christos (iter_name_first_hashed): Replace with iter_match_first_hashed.
1565 1.1 christos (iter_name_next_hashed): Replace with iter_match_next_hashed.
1566 1.1 christos (iter_name_first_linear): Replace with iter_match_first_linear.
1567 1.1 christos (iter_name_next_linear): Replace with iter_match_next_linear.
1568 1.1 christos (dict_iter_name_first): Re-implement to use dict_iter_match_first.
1569 1.1 christos (dict_iter_name_next): Re-implement to use dict_iter_match_next.
1570 1.1 christos (dict_iter_match_first): New function.
1571 1.1 christos (dict_iter_match_next): New function.
1572 1.1 christos (dict_hash): New function.
1573 1.1 christos * dictionary.h (dict_iter_match_first, dict_iter_match_next): Declare.
1574 1.1 christos * psymtab.c (ada_lookup_partial_symbol): Use new wild_match API.
1575 1.1 christos
1576 1.1 christos 2010-10-06 Doug Evans <dje (a] google.com>
1577 1.1 christos
1578 1.1 christos * data-directory/Makefile.in: Remove @host_makefile_frag@, @frags@.
1579 1.1 christos
1580 1.1 christos 2010-10-06 Ken Werner <ken.werner (a] de.ibm.com>
1581 1.1 christos
1582 1.1 christos * dwarf2read.c (read_tag_const_type): Handle const arrays.
1583 1.1 christos
1584 1.1 christos 2010-10-06 Doug Evans <dje (a] google.com>
1585 1.1 christos
1586 1.1 christos * Makefile.in (REQUIRED_SUBDIRS): New var.
1587 1.1 christos (subdir_do): Verify required subdir Makefiles exist.
1588 1.1 christos
1589 1.1 christos Create subdir data-directory.
1590 1.1 christos * Makefile.in (XML_SYSCALL_DIR, XML_SYSCALL_FILES): Moved to
1591 1.1 christos data-directory/Makefile.in.
1592 1.1 christos (SUBDIRS): Add data-directory.
1593 1.1 christos (all): Remove xml-syscall-copy dependency.
1594 1.1 christos (xml-syscall-copy): Moved to data-directory/Makefile.in as
1595 1.1 christos stamp-syscalls.
1596 1.1 christos (xml-syscall-install): Moved to data-directory/Makefile.in as
1597 1.1 christos install-syscalls.
1598 1.1 christos (install-only): Remove xml-syscall-install dependency.
1599 1.1 christos (all-data-directory): New rule.
1600 1.1 christos (data-directory/Makefile): New rule.
1601 1.1 christos * configure.ac (AC_OUTPUT): Add data-directory/Makefile.
1602 1.1 christos * configure: Regenerate.
1603 1.1 christos * data-directory/Makefile.in: New file.
1604 1.1 christos * python/lib/gdb/__init__.py: New file.
1605 1.1 christos
1606 1.1 christos 2010-10-06 Joel Brobecker <brobecker (a] adacore.com>
1607 1.1 christos
1608 1.1 christos Fix ARI warnings in advance_wild_match.
1609 1.1 christos * ada-lang.c (advance_wild_match): Delete local variable t2.
1610 1.1 christos Adjust code accordingly. Minor reformatting.
1611 1.1 christos
1612 1.1 christos 2010-10-06 Ken Werner <ken.werner (a] de.ibm.com>
1613 1.1 christos
1614 1.1 christos * gdbtypes.h (struct main_type): Remove flag_nottext.
1615 1.1 christos (enum type_flag_value): Remove TYPE_FLAG_NOTTEXT.
1616 1.1 christos (enum type_instance_flag_value): Add TYPE_INSTANCE_FLAG_NOTTEXT.
1617 1.1 christos (TYPE_NOTTEXT): Use TYPE_INSTANCE_FLAG_NOTTEXT instead of flag_nottext.
1618 1.1 christos * gdbtypes.c (make_vector_type): Use TYPE_INSTANCE_FLAG_NOTTEXT instead
1619 1.1 christos of TYPE_FLAG_NOTTEXT.
1620 1.1 christos (init_type): Remove the initialization of the flag_nottext field.
1621 1.1 christos (gdbtypes_post_init): Use TYPE_INSTANCE_FLAG_NOTTEXT instead of
1622 1.1 christos TYPE_FLAG_NOTTEXT.
1623 1.1 christos * c-valprint.c (c_val_print): Remove TYPE_VECTOR check.
1624 1.1 christos
1625 1.1 christos 2010-10-04 Doug Evans <dje (a] google.com>
1626 1.1 christos
1627 1.1 christos * cc-with-index.sh: New file.
1628 1.1 christos
1629 1.1 christos * dwarf2read.c (dw2_do_instantiate_symtab): Insert blank line after
1630 1.1 christos function comment.
1631 1.1 christos (dw2_instantiate_symtab, dw2_get_cu, extract_cu_value): Ditto.
1632 1.1 christos (create_cus_from_index, create_addrmap_from_index): Ditto.
1633 1.1 christos (mapped_index_string_hash, find_slot_in_mapped_hash): Ditto.
1634 1.1 christos (dw2_setup, dw2_require_line_header, dw2_require_full_path): Ditto.
1635 1.1 christos (dw2_do_expand_symtabs_matching): Ditto.
1636 1.1 christos (eq_strtab_entry, create_strtab, add_string): Ditto.
1637 1.1 christos (hash_strtab_entry): Ditto.
1638 1.1 christos (hash_symtab_entry, eq_symtab_entry, delete_symtab_entry): Ditto.
1639 1.1 christos (create_index_table, create_mapped_symtab, find_slot): Ditto.
1640 1.1 christos (hash_expand, add_index_entry, add_indices_to_cpool): Ditto.
1641 1.1 christos (write_hash_table, add_address_entry, write_psymbols): Ditto.
1642 1.1 christos (write_obstack, unlink_if_set, write_one_signatured_type): Ditto.
1643 1.1 christos (write_psymtabs_to_index): Ditto.
1644 1.1 christos
1645 1.1 christos 2010-10-04 Joel Brobecker <brobecker (a] adacore.com>
1646 1.1 christos
1647 1.1 christos * ada-lang.c: #include "value.h".
1648 1.1 christos (ensure_lval): Delete advance declaration. Remove gdbarch and sp
1649 1.1 christos arguments. Implement using value_allocate_space_in_inferior
1650 1.1 christos instead of allocating memory from the stack.
1651 1.1 christos (make_array_descriptor): Remove gdbarch and sp parameters. Update
1652 1.1 christos calls to ensure_lval.
1653 1.1 christos (ada_convert_actual): Remove gdbarch and sp parameters. Update
1654 1.1 christos calls to make_array_descriptor and ensure_lval.
1655 1.1 christos * ada-lang.h (ada_convert_actual): Update declaration.
1656 1.1 christos * infcall.c (value_arg_coerce): Update call to ada_convert_actual.
1657 1.1 christos
1658 1.1 christos 2010-10-04 Doug Evans <dje (a] google.com>
1659 1.1 christos
1660 1.1 christos * python/python.c (_initialize_python): Define new function
1661 1.1 christos GdbSetPythonDirectory in python. Use it to update sys.path and
1662 1.1 christos gdb.__path__.
1663 1.1 christos
1664 1.1 christos 2010-10-03 Paul Hilfinger <hilfinger (a] adacore.com>
1665 1.1 christos
1666 1.1 christos * gdb/ada-typeprint.c (print_selected_record_field_types): New function,
1667 1.1 christos incorporating and generalizing print_record_field_types.
1668 1.1 christos (print_record_field_types): Change return value and update comment.
1669 1.1 christos Re-implement using print_selected_record_field_types.
1670 1.1 christos (print_choices): Print "=>" here.
1671 1.1 christos Handle case of unencoded variant branch.
1672 1.1 christos (print_variant_clauses): Reformat comment.
1673 1.1 christos Special-case unencoded variant branch.
1674 1.1 christos
1675 1.1 christos 2010-10-03 Paul Hilfinger <hilfinger (a] adacore.com>
1676 1.1 christos
1677 1.1 christos * ada-lang.c (wild_match): Reimplement.
1678 1.1 christos Change API to eliminate unused length argument, reverse arguments and
1679 1.1 christos make 0 the 'true' return value.
1680 1.1 christos (advance_wild_match): New auxiliary function for wild_match to improve
1681 1.1 christos readability.
1682 1.1 christos (ada_match_name, ada_add_block_symbols): Use new API for wild_match.
1683 1.1 christos * psymtab.c (ada_lookup_partial_symbol, map_ada_symtabs): Use new
1684 1.1 christos API for wild_match.
1685 1.1 christos * symfile.h (map_ada_symtabs): Modify declaration to use new API for
1686 1.1 christos wild_match.
1687 1.1 christos * dwarf2read.c (dw2_map_ada_symtabs): Ditto.
1688 1.1 christos
1689 1.1 christos 2010-10-01 Doug Evans <dje (a] google.com>
1690 1.1 christos
1691 1.1 christos * dwarf2read.c (_initialize_dwarf2_read): Add usage info to help text
1692 1.1 christos for `save gdb-index' command.
1693 1.1 christos
1694 1.1 christos 2010-10-01 Tom Tromey <tromey (a] redhat.com>
1695 1.1 christos
1696 1.1 christos * symfile.h (allocate_symtab): Update.
1697 1.1 christos * symfile.c (allocate_symtab): Make 'filename' const.
1698 1.1 christos * psymtab.c (add_psymbol_to_bcache): Make 'name' const.
1699 1.1 christos (add_psymbol_to_list): Likewise.
1700 1.1 christos * psympriv.h (struct partial_symtab) <filename, dirname>: Now
1701 1.1 christos const.
1702 1.1 christos (add_psymbol_to_list): Update.
1703 1.1 christos * mdebugread.c (new_symtab): Make 'name' const.
1704 1.1 christos (psymtab_to_symtab_1): Make 'filename' const.
1705 1.1 christos * elfread.c (elfstab_offset_sections): Update.
1706 1.1 christos * dwarf2read.c (dwarf_decode_lines): Make 'comp_dir' const.
1707 1.1 christos (dwarf2_start_subfile): Make 'dirname' and 'comp_dir' const.
1708 1.1 christos (psymtab_include_file_name): Update.
1709 1.1 christos * dbxread.c (find_stab_function_addr): Make 'filename' const.
1710 1.1 christos * buildsym.h (start_subfile): Update.
1711 1.1 christos * buildsym.c (start_subfile): Make arguments const.
1712 1.1 christos
1713 1.1 christos 2010-09-30 Ali Lakhia <lakhia (a] alumni.utexas.net>
1714 1.1 christos
1715 1.1 christos * fork-child.c (breakup_args): Fix crash if shell forking is
1716 1.1 christos disabled at compile time.
1717 1.1 christos
1718 1.1 christos 2010-10-01 Joel Brobecker <brobecker (a] adacore.com>
1719 1.1 christos
1720 1.1 christos * ada-lang.c (desc_bounds): Add handling of the case where
1721 1.1 christos the P_BOUNDS field is a pointer to a stub.
1722 1.1 christos (desc_data_target_type): Same for P_ARRAY field.
1723 1.1 christos (ada_check_typedef): Strip the typedef layers from the type
1724 1.1 christos found by ada_find_any_type.
1725 1.1 christos
1726 1.1 christos 2010-10-01 Joel Brobecker <brobecker (a] adacore.com>
1727 1.1 christos
1728 1.1 christos * sparc-tdep.c (sparc32_frame_align): New function.
1729 1.1 christos (sparc32_gdbarch_init): Set the frame_align gdbarch method.
1730 1.1 christos * sparc64-tdep.c (sparc64_frame_align): New function.
1731 1.1 christos (sparc64_gdbarch_init): Set the frame_align gdbarch method.
1732 1.1 christos
1733 1.1 christos 2010-09-30 H.J. Lu <hongjiu.lu (a] intel.com>
1734 1.1 christos
1735 1.1 christos * defs.h (MAX_REGISTER_SIZE): Set to 64.
1736 1.1 christos
1737 1.1 christos 2010-09-30 Tom Tromey <tromey (a] redhat.com>
1738 1.1 christos
1739 1.1 christos * symfile.h (struct sym_fns) <next>: Remove.
1740 1.1 christos (add_symtab_fns): Update.
1741 1.1 christos * symfile.c (sym_fns_ptr): New typedef.
1742 1.1 christos (symtab_fns): Now a VEC.
1743 1.1 christos (add_symtab_fns): Update. Change argument type.
1744 1.1 christos (find_sym_fns): Update. Change return type.
1745 1.1 christos (get_symfile_segment_data): Update.
1746 1.1 christos * objfiles.h (struct objfile) <sf>: Now const.
1747 1.1 christos * somread.c (som_sym_fns): Now const. Update.
1748 1.1 christos * xcoffread.c (xcoff_sym_fns): Now const. Update.
1749 1.1 christos * mipsread.c (ecoff_sym_fns): Now const. Update.
1750 1.1 christos * machoread.c (macho_sym_fns): Now const. Update.
1751 1.1 christos * elfread.c (elf_sym_fns): Now const. Update.
1752 1.1 christos (elf_sym_fns_gdb_index): Likewise.
1753 1.1 christos * dbxread.c (aout_sym_fns): Now const. Update.
1754 1.1 christos * coffread.c (coff_sym_fns): Now const. Update.
1755 1.1 christos
1756 1.1 christos 2010-09-30 Tom Tromey <tromey (a] redhat.com>
1757 1.1 christos
1758 1.1 christos * value.c (value_primitive_field): Take 'offset' into account for
1759 1.1 christos packed field.
1760 1.1 christos
1761 1.1 christos 2010-09-30 Tom Tromey <tromey (a] redhat.com>
1762 1.1 christos
1763 1.1 christos * completer.c (count_struct_fields): Handle anonymous structs and
1764 1.1 christos unions.
1765 1.1 christos (add_struct_fields): Likewise.
1766 1.1 christos
1767 1.1 christos 2010-09-30 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1768 1.1 christos
1769 1.1 christos Fix printing parameters of inlined functions.
1770 1.1 christos * ada-lang.c (is_known_support_routine)
1771 1.1 christos (ada_unhandled_exception_name_addr_from_raise): Provide NULL parameter
1772 1.1 christos for find_frame_funname.
1773 1.1 christos * python/py-frame.c (frapy_name): Likewise.
1774 1.1 christos * stack.c (find_frame_funname): New parameter funcp. Update the
1775 1.1 christos function comment. Fill it in.
1776 1.1 christos (print_frame): New variable func. Initialize it by
1777 1.1 christos find_frame_funname. Print arguments only if FUNC is not NULL. Use
1778 1.1 christos FUNC as the parameter of print_args_stub.
1779 1.1 christos * stack.h (find_frame_funname): New parameter funcp. Remove the
1780 1.1 christos function declaration comment.
1781 1.1 christos
1782 1.1 christos 2010-09-30 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1783 1.1 christos
1784 1.1 christos PR corefiles/12071.
1785 1.1 christos * inferior.c (have_live_inferiors): New variables old_chain, inf and
1786 1.1 christos tp. Iterate INFERIOR_LIST and call target_has_execution.
1787 1.1 christos
1788 1.1 christos 2010-09-29 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1789 1.1 christos
1790 1.1 christos Fix GDB crash on inferior calls with self-referencing classes.
1791 1.1 christos * gnu-v3-abi.c (gnuv3_pass_by_reference): Do not call itself on static
1792 1.1 christos member fields.
1793 1.1 christos
1794 1.1 christos 2010-09-29 Doug Evans <dje (a] google.com>
1795 1.1 christos
1796 1.1 christos Workaround for gcc/45682.
1797 1.1 christos * dwarf2read.c (partial_die_info): New fields fixup_called,
1798 1.1 christos linkage_name.
1799 1.1 christos (guess_partial_die_structure_name): Renamed from guess_structure_name.
1800 1.1 christos Move definition next to use. Use linkage_name to determine if class
1801 1.1 christos is in a namespace. All callers updated.
1802 1.1 christos (fixup_partial_die): Return early if already called.
1803 1.1 christos Set fixup_called when done.
1804 1.1 christos (guess_full_die_structure_name): New function.
1805 1.1 christos (determine_prefix): Call it for class/struct/union dies if c++ and
1806 1.1 christos .debug_types section is present and parent is DW_TAG_compile_unit.
1807 1.1 christos
1808 1.1 christos 2010-09-28 Joel Brobecker <brobecker (a] adacore.com>
1809 1.1 christos
1810 1.1 christos * configure.tgt (sparc-*-*): Set gdb_sim to ../sim/erc32/libsim.a.
1811 1.1 christos (sparc-*-rtems*): Delete. Now redundant with sparc-*-*.
1812 1.1 christos
1813 1.1 christos 2010-09-28 Joel Brobecker <brobecker (a] adacore.com>
1814 1.1 christos
1815 1.1 christos * NEWS: Announce Ravenscar Profile support.
1816 1.1 christos
1817 1.1 christos 2010-09-28 Joel Brobecker <brobecker (a] adacore.com>
1818 1.1 christos Jerome Guitton <guitton (a] adacore.com>
1819 1.1 christos
1820 1.1 christos * ravenscar-thread.c, ravenscar-thread.h, ravenscar-sparc-thread.c:
1821 1.1 christos New files.
1822 1.1 christos * configure.tgt (sparc-*-*): Add ravenscar-thread.o and
1823 1.1 christos ravenscar-sparc-thread.o to gdb_target_obs.
1824 1.1 christos
1825 1.1 christos 2010-09-28 Joel Brobecker <brobecker (a] adacore.com>
1826 1.1 christos
1827 1.1 christos * ada-tasks.c (iterate_over_live_ada_tasks): New function.
1828 1.1 christos * ada-lang.h (iterate_over_live_ada_tasks): Declare.
1829 1.1 christos
1830 1.1 christos 2010-09-27 Pierre Muller <muller (a] ics.u-strasbg.fr>
1831 1.1 christos
1832 1.1 christos * amd64-windows-tdep.c (amd64_skip_main_prologue): New function.
1833 1.1 christos (amd64_windows_init_abi): Register amd64_skip_main_prologue as gdbarch
1834 1.1 christos skip_main_prologue method.
1835 1.1 christos
1836 1.1 christos 2010-09-27 Tom Tromey <tromey (a] redhat.com>
1837 1.1 christos
1838 1.1 christos * dwarf2read.c (dwarf2_read_index): Only allow version 3.
1839 1.1 christos (write_psymbols): Add 'psyms_seen' and 'is_static' arguments.
1840 1.1 christos Only emit a given psymbol once.
1841 1.1 christos (struct signatured_type_index_data) <psyms_seen>: New field.
1842 1.1 christos (write_one_signatured_type): Update.
1843 1.1 christos (cleanup_htab): New function.
1844 1.1 christos (write_psymtabs_to_index): Update. Create psyms_seen hash. Bump
1845 1.1 christos version to 3.
1846 1.1 christos (save_gdb_index_command): Update index documentation.
1847 1.1 christos
1848 1.1 christos 2010-09-27 Tom Tromey <tromey (a] redhat.com>
1849 1.1 christos
1850 1.1 christos * bcache.c (expand_hash_table): Use hash_function, not hash.
1851 1.1 christos
1852 1.1 christos 2010-09-27 Tom Tromey <tromey (a] redhat.com>
1853 1.1 christos
1854 1.1 christos * gdb_wchar.h: Change minimum libiconv to 0x108.
1855 1.1 christos
1856 1.1 christos 2010-09-24 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1857 1.1 christos
1858 1.1 christos Fix lost siginfo_t for inferior calls.
1859 1.1 christos * infrun.c
1860 1.1 christos (struct inferior_thread_state) <siginfo_gdbarch, siginfo_data>: New.
1861 1.1 christos (save_inferior_thread_state): New variables regcache, gdbarch and
1862 1.1 christos siginfo_data. Initialize SIGINFO_DATA if gdbarch_get_siginfo_type_p.
1863 1.1 christos Move INF_STATE allocation later, pre-clear it. Initialize REGISTERS
1864 1.1 christos using REGCACHE.
1865 1.1 christos (restore_inferior_thread_state): New variables regcache and gdbarch.
1866 1.1 christos Restore SIGINFO_DATA for matching GDBARCH. Restore REGISTERS using
1867 1.1 christos REGCACHE. Free also SIGINFO_DATA.
1868 1.1 christos
1869 1.1 christos 2010-09-24 Tom Tromey <tromey (a] redhat.com>
1870 1.1 christos
1871 1.1 christos * dwarf2read.c (dw2_expand_symtabs_matching): Add missing
1872 1.1 christos MAYBE_SWAPs.
1873 1.1 christos (dw2_map_symbol_names): Likewise.
1874 1.1 christos
1875 1.1 christos 2010-09-24 Sami Wagiaalla <swagiaal (a] redhat.com>
1876 1.1 christos
1877 1.1 christos * valops.c (find_oload_champ_namespace_loop): replace incorrect
1878 1.1 christos discard_cleanups do_cleanups.
1879 1.1 christos
1880 1.1 christos 2010-09-24 Pedro Alves <pedro (a] codesourcery.com>
1881 1.1 christos
1882 1.1 christos PR gdb/11842
1883 1.1 christos
1884 1.1 christos * amd64-linux-nat.c (compat_siginfo_from_siginfo)
1885 1.1 christos (siginfo_from_compat_siginfo): Also copy si_pid and si_uid when
1886 1.1 christos si_code is < 0. Check for si_code == SI_TIMER before checking for
1887 1.1 christos si_code < 0.
1888 1.1 christos
1889 1.1 christos 2010-09-24 Pedro Alves <pedro (a] codesourcery.com>
1890 1.1 christos
1891 1.1 christos * objfiles.h (ALL_OBJSECTIONS): Handle breaks in the inner loop.
1892 1.1 christos
1893 1.1 christos 2010-09-22 Joel Brobecker <brobecker (a] adacore.com>
1894 1.1 christos
1895 1.1 christos * ada-tasks.c (read_atcb): Do not compute the task ptid when
1896 1.1 christos debugging a core file.
1897 1.1 christos
1898 1.1 christos 2010-09-22 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1899 1.1 christos
1900 1.1 christos Code cleanup.
1901 1.1 christos * objfiles.c (allocate_objfile) <objfile->name != NULL>: Remove.
1902 1.1 christos (free_objfile) <objfile->name != NULL>: Remove the conditional around
1903 1.1 christos xfree.
1904 1.1 christos * objfiles.h (struct objfile) <name>: New comment it is never NULL.
1905 1.1 christos * python/py-auto-load.c (auto_load_new_objfile) <!objfile->name>:
1906 1.1 christos Remove.
1907 1.1 christos * python/py-objfile.c (objfpy_get_filename) <obj->objfile->name>
1908 1.1 christos Remove the conditional.
1909 1.1 christos * python/py-progspace.c (pspy_get_filename) <objfile->name>: Likewise.
1910 1.1 christos
1911 1.1 christos 2010-09-22 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1912 1.1 christos
1913 1.1 christos * main.c: Include objfiles.h.
1914 1.1 christos (captured_main): New variable objfile. Call
1915 1.1 christos load_auto_scripts_for_objfile for ALL_OBJFILES.
1916 1.1 christos
1917 1.1 christos 2010-09-22 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1918 1.1 christos
1919 1.1 christos * dwarf2read.c (die_needs_namespace) <DW_TAG_variable>: Add also
1920 1.1 christos DW_TAG_constant.
1921 1.1 christos
1922 1.1 christos 2010-09-22 Joel Brobecker <brobecker (a] adacore.com>
1923 1.1 christos
1924 1.1 christos * dwarf2read.c (scan_partial_symbols): Add handling of
1925 1.1 christos DW_TAG_constant DIEs.
1926 1.1 christos (add_partial_symbol, load_partial_dies, new_symbol): Likewise.
1927 1.1 christos
1928 1.1 christos 2010-09-22 Joel Brobecker <brobecker (a] adacore.com>
1929 1.1 christos
1930 1.1 christos * configure.ac: Add support for --enable-gdbserver.
1931 1.1 christos * configure: Regenerate.
1932 1.1 christos
1933 1.1 christos 2010-09-22 Sami Wagiaalla <swagiaal (a] redhat.com>
1934 1.1 christos
1935 1.1 christos PR C++/12028
1936 1.1 christos * valops.c (find_oload_champ_namespace_loop): removed incorrect
1937 1.1 christos 'old_cleanups' reassignment.
1938 1.1 christos
1939 1.1 christos 2010-09-16 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1940 1.1 christos
1941 1.1 christos * charset.c (wchar_iterate) <EILSEQ>: Return any possibly converted
1942 1.1 christos characters.
1943 1.1 christos
1944 1.1 christos 2010-09-16 Phil Muldoon <pmuldoon (a] redhat.com>
1945 1.1 christos
1946 1.1 christos PR mi/11407
1947 1.1 christos * mi/mi-cmd-stack.c (list_args_or_locals): Catch exceptions from
1948 1.1 christos read_var_value and common_val_print and print a warning.
1949 1.1 christos
1950 1.1 christos 2010-09-15 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1951 1.1 christos
1952 1.1 christos * MAINTAINERS (GLOBAL MAINTAINERS) <Jan Kratochvil>: Move the entry to
1953 1.1 christos keep the list in alphabetical order. Use longer e-mail address.
1954 1.1 christos
1955 1.1 christos 2010-09-15 Tom Tromey <tromey (a] redhat.com>
1956 1.1 christos
1957 1.1 christos * MAINTAINERS (GLOBAL MAINTAINERS): Add Jan Kratochvil.
1958 1.1 christos
1959 1.1 christos 2010-09-15 Tom Tromey <tromey (a] redhat.com>
1960 1.1 christos
1961 1.1 christos * charset.c (iconv_open): New define.
1962 1.1 christos (iconv): Likewise.
1963 1.1 christos (iconv_close): Likewise.
1964 1.1 christos (phony_iconv_open): Add "phony_" prefix.
1965 1.1 christos (phony_iconv_close): Likewise.
1966 1.1 christos (phony_iconv): Likewise.
1967 1.1 christos * gdb_wchar.h: Check _LIBICONV_VERSION, __STDC_ISO_10646__.
1968 1.1 christos Change how INTERMEDIATE_ENCODING is defined.
1969 1.1 christos
1970 1.1 christos 2010-09-15 Doug Evans <dje (a] google.com>
1971 1.1 christos
1972 1.1 christos * dwarf2read.c (struct die_info): Fix comment.
1973 1.1 christos
1974 1.1 christos 2010-09-15 Alan Modra <amodra (a] gmail.com>
1975 1.1 christos
1976 1.1 christos PR 4606
1977 1.1 christos * gcore.c (gcore_create_callback): Clear SEC_HAS_CONTENTS rather
1978 1.1 christos than setting SEC_NEVER_LOAD on sections that need not be copied.
1979 1.1 christos
1980 1.1 christos 2010-09-14 Tom Tromey <tromey (a] redhat.com>
1981 1.1 christos
1982 1.1 christos * psympriv.h (add_psymbol_to_list, init_psymbol_list)
1983 1.1 christos (start_psymtab_common, allocate_psymtab, discard_psymtab):
1984 1.1 christos Declare.
1985 1.1 christos * symfile.h (extend_psymbol_list): Remove.
1986 1.1 christos (add_psymbol_to_list, init_psymbol_list, start_psymtab_common)
1987 1.1 christos (allocate_psymtab, discard_psymtab): Move to psympriv.h.
1988 1.1 christos * psymtab.c (extend_psymbol_list): Move earlier. Now static.
1989 1.1 christos
1990 1.1 christos 2010-09-14 Jan Kratochvil <jan.kratochvil (a] redhat.com>
1991 1.1 christos
1992 1.1 christos * dwarf2read.c (dw2_map_ada_symtabs): Remove the internal_error.
1993 1.1 christos Update the comment.
1994 1.1 christos
1995 1.1 christos 2010-09-14 Tom Tromey <tromey (a] redhat.com>
1996 1.1 christos
1997 1.1 christos PR symtab/8399:
1998 1.1 christos * dwarf2loc.c (locexpr_describe_location_piece): Don't call error
1999 1.1 christos for unrecognized frame base expression.
2000 1.1 christos
2001 1.1 christos 2010-09-14 Tom Tromey <tromey (a] redhat.com>
2002 1.1 christos
2003 1.1 christos PR exp/11803:
2004 1.1 christos * value.c (value_static_field): Use value_of_variable.
2005 1.1 christos
2006 1.1 christos 2010-09-14 Pierre Muller <muller (a] ics.u-strasbg.fr>
2007 1.1 christos
2008 1.1 christos * m32r-rom.c: Replace winsock.h with winsock2.h header.
2009 1.1 christos * remote-m32r-sdi.c: Replace winsock.h by winsock2.h.
2010 1.1 christos
2011 1.1 christos 2010-09-13 Sami Wagiaalla <swagiaal (a] redhat.com>
2012 1.1 christos
2013 1.1 christos PR symtab/11992:
2014 1.1 christos * c-exp.y (classify_name): Check is_a_member_of_this before returning
2015 1.1 christos UNKNOWN_CPP_NAME.
2016 1.1 christos
2017 1.1 christos 2010-09-13 Joel Brobecker <brobecker (a] adacore.com>
2018 1.1 christos
2019 1.1 christos * NEWS: Add x86-lynxos to the list of platforms supported by
2020 1.1 christos gdbserver.
2021 1.1 christos
2022 1.1 christos 2010-09-13 Joel Brobecker <brobecker (a] adacore.com>
2023 1.1 christos
2024 1.1 christos * NEWS: Announce GDBserver support for version 5.x of ppc-lynxos.
2025 1.1 christos
2026 1.1 christos 2010-09-13 Tom Tromey <tromey (a] redhat.com>
2027 1.1 christos
2028 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Add progspace.h.
2029 1.1 christos
2030 1.1 christos 2010-09-13 H.J. Lu <hongjiu.lu (a] intel.com>
2031 1.1 christos
2032 1.1 christos * i386-tdep.c (i386_ymm_type): Set type name to
2033 1.1 christos builtin_type_vec256i.
2034 1.1 christos
2035 1.1 christos 2010-09-12 Michael Snyder <msnyder (a] vmware.com>
2036 1.1 christos
2037 1.1 christos * i386-tdep.c (i386_gdbarch_init): Fix typo in comments.
2038 1.1 christos
2039 1.1 christos 2010-09-12 H.J. Lu <hongjiu.lu (a] intel.com>
2040 1.1 christos
2041 1.1 christos * i386-tdep.c (i386_gdbarch_init): Fix typo in comments.
2042 1.1 christos
2043 1.1 christos 2010-09-11 H.J. Lu <hongjiu.lu (a] intel.com>
2044 1.1 christos
2045 1.1 christos * amd64-tdep.c (amd64_register_name): Removed.
2046 1.1 christos (amd64_init_abi): Don't call set_gdbarch_register_name.
2047 1.1 christos
2048 1.1 christos * i386-tdep.c (i386_ymmh_regnum_p): Make it static.
2049 1.1 christos
2050 1.1 christos * i386-tdep.h (i386_ymmh_regnum_p): Removed.
2051 1.1 christos
2052 1.1 christos 2010-09-11 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2053 1.1 christos Paul Bolle <pebolle (a] tiscali.nl>
2054 1.1 christos
2055 1.1 christos Redirect also uiout and stdtarg{,err} in execute_command_to_string.
2056 1.1 christos * cli-logging.c (struct saved_output_files) <targerr>: New.
2057 1.1 christos (set_logging_redirect, pop_output_files, handle_redirections):
2058 1.1 christos Redirect also gdb_stdtargerr.
2059 1.1 christos * defs.h (struct ui_out, make_cleanup_ui_out_redirect_pop): New
2060 1.1 christos declarations.
2061 1.1 christos * event-top.c (gdb_setup_readline, gdb_disable_readline): Redirect
2062 1.1 christos also gdb_stdtargerr.
2063 1.1 christos * top.c (execute_command_to_string): Move make_cleanup_ui_file_delete
2064 1.1 christos to the top. Redirect also gdb_stdlog, gdb_stdtarg and gdb_stdtargerr.
2065 1.1 christos Use ui_out_redirect, register make_cleanup_ui_out_redirect_pop.
2066 1.1 christos * tui/tui-io.c (tui_setup_io): Redirect also gdb_stdtargerr.
2067 1.1 christos * utils.c (do_ui_out_redirect_pop, make_cleanup_ui_out_redirect_pop):
2068 1.1 christos New functions.
2069 1.1 christos
2070 1.1 christos 2010-09-10 Pierre Muller <muller (a] ics.u-strasbg.fr>
2071 1.1 christos
2072 1.1 christos * hppa-tdep.c (unwind_command): Use host_address_to_string function
2073 1.1 christos to display a host address.
2074 1.1 christos * monitor.c (monitor_read_memory): Likewise.
2075 1.1 christos * xtensa-tdep.c (xtensa_push_dummy_call): Likewise.
2076 1.1 christos
2077 1.1 christos 2010-09-10 Pierre Muller <muller (a] ics.u-strasbg.fr>
2078 1.1 christos
2079 1.1 christos * coffread.c (struct coff_symbol): Change c_value type from `long' to
2080 1.1 christos `CORE_ADDRESS' as it might contain target addresses.
2081 1.1 christos
2082 1.1 christos 2010-09-10 Pierre Muller <muller (a] ics.u-strasbg.fr>
2083 1.1 christos
2084 1.1 christos * alpha-mdebug-tdep.c (find_proc_desc): Use SYMBOL_VALUE_BYTES macro
2085 1.1 christos before cast to pointer to avoid warning.
2086 1.1 christos
2087 1.1 christos 2010-09-09 Kevin Buettner <kevinb (a] redhat.com>
2088 1.1 christos
2089 1.1 christos * v850-tdep.c (v850_gdbarch_init): Change the v850's `char'
2090 1.1 christos type to be signed.
2091 1.1 christos
2092 1.1 christos 2010-09-09 Ulrich Weigand <uweigand (a] de.ibm.com>
2093 1.1 christos
2094 1.1 christos * dwarf2read.c (fixup_partial_die): Do not set dummy name for
2095 1.1 christos anonymous class partial DIEs.
2096 1.1 christos
2097 1.1 christos 2010-09-08 Daniel Jacobowitz <dan (a] codesourcery.com>
2098 1.1 christos
2099 1.1 christos * dwarf2read.c (dwarf2_compute_name): Check that the first
2100 1.1 christos argument is a pointer.
2101 1.1 christos
2102 1.1 christos 2010-09-08 Daniel Jacobowitz <dan (a] codesourcery.com>
2103 1.1 christos
2104 1.1 christos * dwarf2read.c (read_func_scope, read_structure_type)
2105 1.1 christos (read_common_block): Check for a NULL return from new_symbol.
2106 1.1 christos
2107 1.1 christos 2010-09-08 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2108 1.1 christos
2109 1.1 christos * dwarf2read.c (dwarf2_read_index): Return on no SEC_HAS_CONTENTS.
2110 1.1 christos
2111 1.1 christos 2010-09-08 Daniel Jacobowitz <dan (a] codesourcery.com>
2112 1.1 christos
2113 1.1 christos * dwarf2read.c (read_structure_type): Move processing of
2114 1.1 christos fields and member functions from here...
2115 1.1 christos (process_structure_scope): ... to here.
2116 1.1 christos
2117 1.1 christos 2010-09-08 Daniel Jacobowitz <dan (a] codesourcery.com>
2118 1.1 christos
2119 1.1 christos * gnu-v3-abi.c (gnuv3_print_method_ptr): Do not use
2120 1.1 christos the domain type.
2121 1.1 christos (gnuv3_make_method_ptr): Likewise.
2122 1.1 christos
2123 1.1 christos 2010-09-08 Tom Tromey <tromey (a] redhat.com>
2124 1.1 christos
2125 1.1 christos * breakpoint.c (create_breakpoint): Add missing _().
2126 1.1 christos
2127 1.1 christos 2010-09-08 Doug Evans <dje (a] google.com>
2128 1.1 christos
2129 1.1 christos * dwarf2-frame.h (dwarf2_frame_build_info): Delete, unused.
2130 1.1 christos
2131 1.1 christos 2010-09-08 Tom Tromey <tromey (a] redhat.com>
2132 1.1 christos
2133 1.1 christos Revert:
2134 1.1 christos 2010-09-01 Tom Tromey <tromey (a] redhat.com>
2135 1.1 christos * dwarf2read.c, gdbtypes.c, psymtab.c, symfile.h, symtab.c,
2136 1.1 christos symtab.h: Revert earlier change.
2137 1.1 christos
2138 1.1 christos 2010-09-09 Sami Wagiaalla <swagiaal (a] redhat.com>
2139 1.1 christos
2140 1.1 christos * psymtab.c (add_psymbol_to_bcache): Initialize
2141 1.1 christos obj_section.
2142 1.1 christos memset psymbol.ginfo.value to 0.
2143 1.1 christos
2144 1.1 christos 2010-09-06 Pedro Alves <pedro (a] codesourcery.com>
2145 1.1 christos
2146 1.1 christos * infrun.c (resume): Extend comment on ignoring single-step
2147 1.1 christos requests on vfork parents waiting for a vfork-done.
2148 1.1 christos
2149 1.1 christos 2010-09-06 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2150 1.1 christos Pedro Alves <pedro (a] codesourcery.com>
2151 1.1 christos
2152 1.1 christos * corelow.c (core_open): Use target_signal_from_host if CORE_GDBARCH
2153 1.1 christos is NULL.
2154 1.1 christos * fork-child.c (startup_inferior) <resume_signal>: Use enum
2155 1.1 christos target_signal type.
2156 1.1 christos * linux-nat.c (linux_nat_resume): Use target_signal_to_host before
2157 1.1 christos calling strsignal. Use enum target_signal type for saved_signo.
2158 1.1 christos (linux_handle_extended_wait) <signo>: Use enum target_signal type.
2159 1.1 christos (linux_nat_wait_1): Use enum target_signal type for signo. Use
2160 1.1 christos target_signal_to_host before calling strsignal.
2161 1.1 christos * remote-m32r-sdi.c (m32r_wait, m32r_detach): Replace 0 by
2162 1.1 christos TARGET_SIGNAL_0.
2163 1.1 christos
2164 1.1 christos 2010-09-06 Pedro Alves <pedro (a] codesourcery.com>
2165 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com>
2166 1.1 christos
2167 1.1 christos * common/signals.c (ANY): Remove.
2168 1.1 christos (SET): No longer use ANY.
2169 1.1 christos
2170 1.1 christos 2010-09-06 Yao Qi <yao (a] codesourcery.com>
2171 1.1 christos
2172 1.1 christos * infrunc(resume): When inferior is waiting_for_vfork_done,
2173 1.1 christos clear step and don't use displaced stepping.
2174 1.1 christos
2175 1.1 christos 2010-09-04 Daniel Jacobowitz <dan (a] codesourcery.com>
2176 1.1 christos
2177 1.1 christos * breakpoint.c (can_use_hardware_watchpoint): Handle the first
2178 1.1 christos value specially.
2179 1.1 christos
2180 1.1 christos 2010-09-04 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2181 1.1 christos
2182 1.1 christos Code cleanup - split print_stop_reason.
2183 1.1 christos * infrun.c (enum inferior_stop_reason): Remove.
2184 1.1 christos (print_stop_reason): Remove by splitting into ...
2185 1.1 christos (print_exited_reason, print_signal_exited_reason)
2186 1.1 christos (print_no_history_reason, print_signal_received_reason)
2187 1.1 christos (print_end_stepping_range_reason): ... these new functions. Update
2188 1.1 christos the preceding comment.
2189 1.1 christos (handle_inferior_event): Change the calls to print_exited_reason,
2190 1.1 christos print_signal_exited_reason, print_no_history_reason,
2191 1.1 christos print_signal_received_reason, print_end_stepping_range_reason.
2192 1.1 christos (handle_step_into_function, handle_step_into_function_backward):
2193 1.1 christos Change the calls to print_end_stepping_range_reason.
2194 1.1 christos
2195 1.1 christos 2010-09-03 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2196 1.1 christos
2197 1.1 christos * breakpoint.c (save_breakpoints): Use RETURN_MASK_ALL.
2198 1.1 christos * cli-out.c: Include vec.h.
2199 1.1 christos (cli_field_fmt, cli_spaces, cli_text, cli_message, cli_flush): New
2200 1.1 christos variable stream, initialize it, use it.
2201 1.1 christos (cli_redirect): New function comment. Replace the stream and
2202 1.1 christos original_stream fields by the new streams field. Remove the
2203 1.1 christos original_stream != NULL conditional, assert error on NULL instead.
2204 1.1 christos (out_field_fmt, field_separator): New variable stream, initialize it, use it.
2205 1.1 christos (cli_out_data_ctor): Assert non-NULL stream. Replace the stream and
2206 1.1 christos original_stream fields by the new streams field.
2207 1.1 christos (cli_out_set_stream): Replace the stream field by the new streams
2208 1.1 christos field.
2209 1.1 christos * cli-out.h: Include vec.h.
2210 1.1 christos (ui_filep): New typedef, call DEF_VEC_P for it.
2211 1.1 christos (struct cli_ui_out_data): Replace the stream and original_stream
2212 1.1 christos fields by the new streams field.
2213 1.1 christos * cli/cli-logging.c (set_logging_redirect): Call ui_out_redirect with
2214 1.1 christos NULL first. Extend the comment.
2215 1.1 christos (handle_redirections): Call ui_out_redirect with output.
2216 1.1 christos * python/py-breakpoint.c (bppy_get_commands): Move ui_out_redirect
2217 1.1 christos calls outside of the TRY_CATCH block.
2218 1.1 christos
2219 1.1 christos 2010-09-03 Joel Brobecker <brobecker (a] adacore.com>
2220 1.1 christos
2221 1.1 christos GDB 7.2 released.
2222 1.1 christos
2223 1.1 christos 2010-09-02 Joel Brobecker <brobecker (a] adacore.com>
2224 1.1 christos
2225 1.1 christos Back out the following change:
2226 1.1 christos | 2010-06-29 Hui Zhu <teawater (a] gmail.com>
2227 1.1 christos | * record.c (set_record_pic_cmdlist,
2228 1.1 christos | show_record_pic_cmdlist): New variables.
2229 1.1 christos | (set_record_pic_command,
2230 1.1 christos | show_record_pic_command): New functions.
2231 1.1 christos | (record_pic_function, record_pic_line, record_pic_enum,
2232 1.1 christos | set_record_pic_type, record_pic_hide_nofunction,
2233 1.1 christos | record_pic_hide_nosource, record_pic_hide_same): New variables.
2234 1.1 christos | (record_pic_fputs): New function.
2235 1.1 christos | (function_list, node_list, edge_list): New struct.
2236 1.1 christos | (function_list, node_list, edge_list): New variables.
2237 1.1 christos | (record_pic_cleanups, record_pic_node,
2238 1.1 christos | record_pic_edge, cmd_record_pic): New functions.
2239 1.1 christos | (_initialize_record): Add new commands for record pic.
2240 1.1 christos
2241 1.1 christos 2010-09-02 Daniel Jacobowitz <dan (a] codesourcery.com>
2242 1.1 christos
2243 1.1 christos * config.in, configure: Regenerated.
2244 1.1 christos * configure.ac: Check for waitpid.
2245 1.1 christos * ser-pipe.c (pipe_close): Wait for the program to exit.
2246 1.1 christos
2247 1.1 christos 2010-09-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2248 1.1 christos
2249 1.1 christos * cli/cli-logging.c: Include gdb_assert.h.
2250 1.1 christos (set_logging_overwrite): New function.
2251 1.1 christos (logging_redirect): New comment.
2252 1.1 christos (logging_no_redirect_file, set_logging_redirect)
2253 1.1 christos (pop_output_files) <logging_no_redirect_file>: New.
2254 1.1 christos (handle_redirections) <!logging_redirect>: New variable
2255 1.1 christos no_redirect_file. Remove file autoclose for tee_file_new. No longer
2256 1.1 christos discard cleanup for the close of former OUTPUT. Set
2257 1.1 christos LOGGING_NO_REDIRECT_FILE.
2258 1.1 christos (handle_redirections) <logging_redirect>: gdb_assert
2259 1.1 christos LOGGING_NO_REDIRECT_FILE.
2260 1.1 christos (show_logging_command) <logging_redirect handling>: Adjust messages
2261 1.1 christos for SAVED_FILENAME not NULL.
2262 1.1 christos (_initialize_cli_logging): Install set_logging_overwrite and
2263 1.1 christos set_logging_redirect.
2264 1.1 christos
2265 1.1 christos 2010-09-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2266 1.1 christos
2267 1.1 christos * iq2000-tdep.c (iq2000_scan_prologue): Initialize SAL.END.
2268 1.1 christos
2269 1.1 christos 2010-09-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2270 1.1 christos
2271 1.1 christos * Makefile.in (GDB_WARN_CFLAGS_NO_FORMAT): Convert it to the no- form.
2272 1.1 christos (monitor.o): Replace $(INTERNAL_WARN_CFLAGS) by $(INTERNAL_CFLAGS) and
2273 1.1 christos add $(GDB_WARN_CFLAGS_NO_FORMAT).
2274 1.1 christos (printcmd.o): Replace $(INTERNAL_CFLAGS_BASE) by $(INTERNAL_CFLAGS).
2275 1.1 christos
2276 1.1 christos 2010-09-02 Yao Qi <yao (a] codesourcery.com>
2277 1.1 christos
2278 1.1 christos * linux-nat.c (status_to_str): Use WTERMSIG to extract the signal
2279 1.1 christos number from a WIFSIGNALED status.
2280 1.1 christos
2281 1.1 christos 2010-09-01 Tom Tromey <tromey (a] redhat.com>
2282 1.1 christos
2283 1.1 christos * symtab.h (lookup_type_symbol): Declare.
2284 1.1 christos * symtab.c (lookup_symbol_in_language_full): Rename from
2285 1.1 christos lookup_symbol_in_language. Add 'for_type' argument.
2286 1.1 christos (lookup_symbol_in_language): New function.
2287 1.1 christos (lookup_type_symbol): Likewise.
2288 1.1 christos (lookup_symbol_aux): Add 'for_type' argument.
2289 1.1 christos (match_symbol_aux): New function.
2290 1.1 christos (lookup_symbol_aux_symtabs): Use expand_one_symtab_matching.
2291 1.1 christos (match_transparent_type): New function.
2292 1.1 christos (basic_lookup_transparent_type): Use expand_one_symtab_matching.
2293 1.1 christos * symfile.h (struct quick_symbol_functions)
2294 1.1 christos <pre_expand_symtabs_matching>: Remove.
2295 1.1 christos <expand_one_symtab_matching>: New field.
2296 1.1 christos * psymtab.c (expand_one_symtab_matching_psymtabs): New function.
2297 1.1 christos (pre_expand_symtabs_matching_psymtabs): Remove.
2298 1.1 christos (psym_functions): Update.
2299 1.1 christos * gdbtypes.c (lookup_typename): Use lookup_type_symbol.
2300 1.1 christos * dwarf2read.c (dw2_lookup_symbol): Update comment.
2301 1.1 christos (dw2_pre_expand_symtabs_matching): Remove.
2302 1.1 christos (dw2_expand_one_symtab_matching): New function.
2303 1.1 christos (dwarf2_gdb_index_functions): Update.
2304 1.1 christos
2305 1.1 christos 2010-09-01 Joel Brobecker <brobecker (a] adacore.com>
2306 1.1 christos
2307 1.1 christos * NEWS: Add entry announcing GDBserver support on powerpc-lynxos.
2308 1.1 christos
2309 1.1 christos 2010-09-01 Marc Khouzam <marc.khouzam (a] ericsson.com>
2310 1.1 christos
2311 1.1 christos * mi/mi-main.c (mi_cmd_list_target_features): Add `reverse'
2312 1.1 christos as a feature reported by -list-target-features.
2313 1.1 christos
2314 1.1 christos 2010-09-01 Joel Brobecker <brobecker (a] adacore.com>
2315 1.1 christos
2316 1.1 christos * features/Makefile (WHICH): Add rs6000/powerpc-32.
2317 1.1 christos (powerpc-32.o, powerpc-32.c): New rules.
2318 1.1 christos (clean): Also remove powerpc-32.c.
2319 1.1 christos * regformats/rs6000/powerpc-32.dat: Generate.
2320 1.1 christos
2321 1.1 christos 2010-08-31 Sami Wagiaalla <swagiaal (a] redhat.com>
2322 1.1 christos
2323 1.1 christos * symfile.c (reread_symbols): Use psymbol_bcache_free, and
2324 1.1 christos psymbol_bcache_init.
2325 1.1 christos * psymtab.h (psymbol_bcache_init): New function prototype.
2326 1.1 christos (psymbol_bcache_free): New function prototype.
2327 1.1 christos (psymbol_bcache_get_bcache): New function prototype.
2328 1.1 christos * psymtab.c (psymbol_bcache_init): New function.
2329 1.1 christos (psymbol_bcache_free): New function.
2330 1.1 christos (psymbol_bcache_full): New function.
2331 1.1 christos (psymbol_bcache_get_bcache): New function.
2332 1.1 christos (add_psymbol_to_bcache): use psymbol_bcache_full.
2333 1.1 christos * objfiles.h (psymbol_cache): Change type of psymbol_cache to
2334 1.1 christos psymbol_bcache.
2335 1.1 christos * symmisc.c (print_symbol_bcache_statistics): Updated.
2336 1.1 christos (print_objfile_statistics): Updated.
2337 1.1 christos * objfiles.c (allocate_objfile): Use psymbol_bcache_init to initialize
2338 1.1 christos psymbol_cache.
2339 1.1 christos (free_objfile): Use psymbol_bcache_free.
2340 1.1 christos
2341 1.1 christos 2010-08-31 Tom Tromey <tromey (a] redhat.com>
2342 1.1 christos
2343 1.1 christos PR c++/11961:
2344 1.1 christos * dwarf2read.c (new_symbol_full) <DW_TAG_template_type_param>:
2345 1.1 christos Don't set TYPE_NAME on the type.
2346 1.1 christos
2347 1.1 christos 2010-08-31 Michael Snyder <msnyder (a] msnyder-server.eng.vmware.com>
2348 1.1 christos
2349 1.1 christos * infrun.c (set_exec_direction_func): Error out if target does not
2350 1.1 christos support reverse execution.
2351 1.1 christos
2352 1.1 christos 2010-08-31 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2353 1.1 christos
2354 1.1 christos Make linux_get_siginfo_type `type *' unique.
2355 1.1 christos * linux-tdep.c (linux_gdbarch_data_handle, struct linux_gdbarch_data)
2356 1.1 christos (init_linux_gdbarch_data, get_linux_gdbarch_data): New.
2357 1.1 christos (linux_get_siginfo_type): New variable linux_gdbarch_data. Initialize
2358 1.1 christos it. Use linux_gdbarch_data->siginfo_type as a persistent storage.
2359 1.1 christos (_initialize_linux_tdep): New.
2360 1.1 christos
2361 1.1 christos 2010-08-31 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2362 1.1 christos
2363 1.1 christos Code cleanup.
2364 1.1 christos * defs.h (find_memory_region_ftype): New typedef.
2365 1.1 christos (exec_set_find_memory_regions): Use it.
2366 1.1 christos * exec.c (exec_set_find_memory_regions): Use find_memory_region_ftype.
2367 1.1 christos * fbsd-nat.c (fbsd_find_memory_regions): Likewise.
2368 1.1 christos * gcore.c (objfile_find_memory_regions): Likewise.
2369 1.1 christos * gnu-nat.c (gnu_find_memory_regions): Likewise.
2370 1.1 christos * linux-nat.c (linux_nat_find_memory_regions): Likewise.
2371 1.1 christos * procfs.c (iterate_over_mappings_cb_ftype): Remove.
2372 1.1 christos (iterate_over_mappings): Rename iterate_over_mappings_cb_ftype to
2373 1.1 christos find_memory_region_ftype.
2374 1.1 christos (insert_dbx_link_bpt_in_region): Likewise.
2375 1.1 christos (iterate_over_mappings): Likewise. Drop the comment part about the
2376 1.1 christos function prototype.
2377 1.1 christos (find_memory_regions_callback): Use find_memory_region_ftype.
2378 1.1 christos (proc_find_memory_regions): Likewise.
2379 1.1 christos (info_mappings_callback): Rename iterate_over_mappings_cb_ftype to
2380 1.1 christos find_memory_region_ftype.
2381 1.1 christos * target.c (dummy_find_memory_regions): Use find_memory_region_ftype.
2382 1.1 christos * target.h (struct target_ops) <to_find_memory_regions>: Likewise.
2383 1.1 christos
2384 1.1 christos 2010-08-31 Sami Wagiaalla <swagiaal (a] redhat.com>
2385 1.1 christos
2386 1.1 christos * psymtab.c (add_psymbol_to_bcache): Remove 'static' from
2387 1.1 christos 'static partial_symbol psymbol'.
2388 1.1 christos (psymbol_hash): New function.
2389 1.1 christos (psymbol_compare): New function.
2390 1.1 christos * bcache.c (hash_continue): New.
2391 1.1 christos (hash): Use hash_continue.
2392 1.1 christos * bcache.c: Add hash_function and compare_function
2393 1.1 christos pointers to bcache struct.
2394 1.1 christos (bcache_full): Use bcache->hash_function, and
2395 1.1 christos bcache->compare_function.
2396 1.1 christos (bcache_compare): New function.
2397 1.1 christos (bcache_xmalloc): Take hash_function and
2398 1.1 christos compare_function arguments and initialize the
2399 1.1 christos bcach's pointers.
2400 1.1 christos Updated comment.
2401 1.1 christos * objfiles.c (allocate_objfile): Updated.
2402 1.1 christos * symfile.c (reread_symbols): Updated.
2403 1.1 christos * python/py-type.c (typy_richcompare): Updated.
2404 1.1 christos
2405 1.1 christos 2010-08-30 Andre Poenitz <andre.poenitz (a] nokia.com>
2406 1.1 christos Tom Tromey <tromey (a] redhat.com>
2407 1.1 christos
2408 1.1 christos PR python/11792:
2409 1.1 christos * python/py-value.c (valpy_get_dynamic_type): New function.
2410 1.1 christos (value_object_getset): Add "dynamic_type".
2411 1.1 christos (valpy_get_type): Fail on error.
2412 1.1 christos
2413 1.1 christos 2010-08-30 Yao Qi <yao (a] codesourcery.com>
2414 1.1 christos
2415 1.1 christos * arm-linux-tdep.c (arm_linux_sigreturn_return_addr): New.
2416 1.1 christos (arm_linux_syscall_next_pc): New.
2417 1.1 christos (arm_linux_copy_svc): Use arm_linux_sigreturn_return_addr instead.
2418 1.1 christos (arm_linux_init_abi): Initialize syscall_next_pc.
2419 1.1 christos * arm-tdep.c (thumb_get_next_pc_raw): Get next pc of SWI in Thumb mode.
2420 1.1 christos (arm_get_next_pc_raw): Get next pc of SWI in ARM mode.
2421 1.1 christos * arm-tdep.h (struct gdbarch_tdep): Add a function pointer syscall_next_pc.
2422 1.1 christos Declare arm_frame_is_thumb.
2423 1.1 christos
2424 1.1 christos 2010-08-30 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2425 1.1 christos
2426 1.1 christos Code cleanup.
2427 1.1 christos * breakpoint.c (bpstat_alloc): Remove unused prototype.
2428 1.1 christos (bpstat_alloc): Change parameters cbs to bs_link_pointer. Adjust the
2429 1.1 christos code.
2430 1.1 christos (bpstat_stop_status): Change root_bs into bs_head and bs_link. Adjust
2431 1.1 christos calls of bpstat_alloc. Remove explicit bs chain termination.
2432 1.1 christos
2433 1.1 christos 2010-08-28 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2434 1.1 christos
2435 1.1 christos Code cleanup.
2436 1.1 christos * linux-nat.c (pull_pid_from_list): Rename status to statusp.
2437 1.1 christos (my_waitpid): Likewise.
2438 1.1 christos
2439 1.1 christos 2010-08-27 Doug Evans <dje (a] google.com>
2440 1.1 christos
2441 1.1 christos * dwarf2read.c (dw2_require_line_header): Read from .debug_types
2442 1.1 christos as appropriate.
2443 1.1 christos
2444 1.1 christos 2010-08-27 Tom Tromey <tromey (a] redhat.com>
2445 1.1 christos
2446 1.1 christos * dwarf2read.c (dwarf2_attach_fields_to_type): Don't set
2447 1.1 christos TYPE_FIELD_IGNORE_BITS.
2448 1.1 christos
2449 1.1 christos 2010-08-27 Doug Evans <dje (a] google.com>
2450 1.1 christos
2451 1.1 christos * dwarf2read.c (dwarf2_per_objfile_free): Reorganize buffers to match
2452 1.1 christos the order they're defined in. munmap .debug_types buffer.
2453 1.1 christos
2454 1.1 christos 2010-08-26 Doug Evans <dje (a] google.com>
2455 1.1 christos
2456 1.1 christos * dwarf2read.c (dw2_require_full_path): Rename parameter cu to per_cu.
2457 1.1 christos (dw2_forget_cached_source_info): Rename local cu to per_cu.
2458 1.1 christos (dw2_lookup_symtab, dw2_do_expand_symtabs_matching): Ditto.
2459 1.1 christos (dw2_print_stats, dw2_expand_all_symtabs): Ditto.
2460 1.1 christos (dw2_expand_symtabs_with_filename, dw2_find_symbol_file): Ditto.
2461 1.1 christos (dw2_find_symbol_file, dw2_expand_symtabs_matching): Ditto.
2462 1.1 christos (dw2_map_symbol_filenames, dwarf2_initialize_objfile): Ditto.
2463 1.1 christos (dwarf2_free_objfile, write_one_signatured_type): Ditto.
2464 1.1 christos (write_psymtabs_to_index): Ditto.
2465 1.1 christos
2466 1.1 christos 2010-08-26 Pedro Alves <pedro (a] codesourcery.com>
2467 1.1 christos
2468 1.1 christos * NEWS: Mention libthread_db debugging with core files.
2469 1.1 christos
2470 1.1 christos 2010-08-26 Doug Evans <dje (a] google.com>
2471 1.1 christos
2472 1.1 christos * dwarf2read.c (dwarf2_build_include_psymtabs): Remove unnecessary
2473 1.1 christos forward decl. Pass pst->dirname to dwarf_decode_lines.
2474 1.1 christos (psymtab_include_file_name): New function.
2475 1.1 christos (dwarf_decode_lines): Call it. Update comments.
2476 1.1 christos
2477 1.1 christos 2010-08-25 Pedro Alves <pedro (a] codesourcery.com>
2478 1.1 christos
2479 1.1 christos * dwarf2read.c (inherit_abstract_dies): Handle origin die's
2480 1.1 christos compilation unit being different from target die's.
2481 1.1 christos
2482 1.1 christos 2010-08-24 Doug Evans <dje (a] google.com>
2483 1.1 christos
2484 1.1 christos PR symtab/11942
2485 1.1 christos * dwarf2read.c (dwarf2_per_objfile): New members debug_info_type_hash,
2486 1.1 christos debug_types_type_hash.
2487 1.1 christos (dwarf2_cu, dwarf2_per_cu_data): Delete member type_hash.
2488 1.1 christos All uses updated.
2489 1.1 christos (lookup_die_type): Renamed from tag_type_to_tag. First look in
2490 1.1 christos appropriate type_hash table. All callers updated.
2491 1.1 christos (allocate_signatured_type_table): Renamed from
2492 1.1 christos allocate_signatured_type_hash_table. All callers updated.
2493 1.1 christos (create_signatured_type_table_from_index): Renamed from
2494 1.1 christos create_signatured_type_hash_from_index. All callers updated.
2495 1.1 christos (read_die_type): Add comment. Move actual reading to ...
2496 1.1 christos (read_die_type_1): ... here. New function.
2497 1.1 christos (follow_die_ref_or_sig): Tweak comment.
2498 1.1 christos (set_die_type): Rewrite to use appropriate choice of
2499 1.1 christos debug_info_type_hash or debug_types_type_hash.
2500 1.1 christos (get_die_type_at_offset): New function.
2501 1.1 christos (get_die_type): Call it.
2502 1.1 christos
2503 1.1 christos 2010-08-24 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2504 1.1 christos
2505 1.1 christos * python/py-type.c (typy_richcompare): Initialize worklist.
2506 1.1 christos
2507 1.1 christos 2010-08-24 Daniel Jacobowitz <dan (a] codesourcery.com>
2508 1.1 christos Kazu Hirata <kazu (a] codesourcery.com>
2509 1.1 christos Jonathan Larmour <jifl (a] eCosCentric.com>
2510 1.1 christos
2511 1.1 christos * arm-tdep.c: Include features/arm-with-m.c.
2512 1.1 christos (arm_psr_thumb_bit): New. Update all uses of CPSR_T to
2513 1.1 christos call this function.
2514 1.1 christos (arm_pc_is_thumb): Add a gdbarch argument. Update all callers.
2515 1.1 christos Check is_m after force-mode.
2516 1.1 christos (arm_gdbarch_init): Check the binary before the target description.
2517 1.1 christos Add check for M profile attribute. If we have an M-profile device,
2518 1.1 christos but no target register description, use arm-with-m. Recognize the
2519 1.1 christos new org.gnu.gdb.arm.m-profile feature and its xpsr register.
2520 1.1 christos (_initialize_arm_tdep): Call initialize_tdesc_arm_with_m.
2521 1.1 christos * arm-tdep.h (XPSR_T): Define.
2522 1.1 christos (struct gdbarch_tdep): Add is_m member.
2523 1.1 christos * features/arm-m-profile.xml, features/arm-with-m.c,
2524 1.1 christos features/arm-with-m.xml: New files.
2525 1.1 christos
2526 1.1 christos 2010-08-23 Doug Evans <dje (a] google.com>
2527 1.1 christos
2528 1.1 christos * dwarf2read.c (read_structure_type): Add comment.
2529 1.1 christos (read_enumeration_type): Add comment.
2530 1.1 christos (process_enumeration_scope): Move definition of some locals
2531 1.1 christos closer to their use.
2532 1.1 christos (read_namespace_type): Add comment.
2533 1.1 christos (set_die_type): Fix typo in comment.
2534 1.1 christos
2535 1.1 christos 2010-08-23 Tom Tromey <tromey (a] redhat.com>
2536 1.1 christos
2537 1.1 christos PR python/11145:
2538 1.1 christos * python/py-value.c: Include expression.h.
2539 1.1 christos (valpy_do_cast): New function.
2540 1.1 christos (valpy_cast): Use it.
2541 1.1 christos (valpy_dynamic_cast): New function.
2542 1.1 christos (valpy_reinterpret_cast): Likewise.
2543 1.1 christos (value_object_methods): Add dynamic_cast, reinterpret_cast.
2544 1.1 christos
2545 1.1 christos 2010-08-23 Tom Tromey <tromey (a] redhat.com>
2546 1.1 christos
2547 1.1 christos PR python/11391:
2548 1.1 christos * python/py-value.c (valpy_nonzero): Don't throw error for other
2549 1.1 christos Value types.
2550 1.1 christos
2551 1.1 christos 2010-08-23 Tom Tromey <tromey (a] redhat.com>
2552 1.1 christos
2553 1.1 christos PR python/10676:
2554 1.1 christos * python/py-type.c: Include bcache.h, vec.h.
2555 1.1 christos (struct type_equality_entry): New.
2556 1.1 christos (compare_strings): New function.
2557 1.1 christos (check_types_equal): Likewise.
2558 1.1 christos (check_types_worklist): Likewise.
2559 1.1 christos (typy_richcompare): Likewise.
2560 1.1 christos (type_object_type): Set tp_richcompare field.
2561 1.1 christos
2562 1.1 christos 2010-08-23 Tom Tromey <tromey (a] redhat.com>
2563 1.1 christos
2564 1.1 christos PR python/10953:
2565 1.1 christos * python/py-type.c (typy_fields): Call check_typedef.
2566 1.1 christos (typy_template_argument): Add TRY_CATCH.
2567 1.1 christos
2568 1.1 christos 2010-08-23 Tom Tromey <tromey (a] redhat.com>
2569 1.1 christos
2570 1.1 christos PR python/11915:
2571 1.1 christos * python/py-type.c (typy_array): New function.
2572 1.1 christos (type_object_methods): Add "array".
2573 1.1 christos
2574 1.1 christos 2010-08-20 Pedro Alves <pedro (a] codesourcery.com>
2575 1.1 christos
2576 1.1 christos * python/python.c: Include "serial.h".
2577 1.1 christos (gdbpy_event_fds): Change type to `struct serial *' a array from
2578 1.1 christos int array.
2579 1.1 christos (gdbpy_run_events): Change parameters. Use serial_readchar in
2580 1.1 christos place of read.
2581 1.1 christos (gdbpy_post_event): Use serial_write in place of write.
2582 1.1 christos (gdbpy_initialize_events): Use serial_pipe instead of pipe, and
2583 1.1 christos serial_async in place of add_file_handler.
2584 1.1 christos
2585 1.1 christos 2010-08-20 Pedro Alves <pedro (a] codesourcery.com>
2586 1.1 christos
2587 1.1 christos * serial.h (gdb_pipe, serial_pipe): Declare.
2588 1.1 christos * serial.c (serial_interface_lookup): Take a const char pointer.
2589 1.1 christos (serial_fdopen): Rename to ...
2590 1.1 christos (serial_fdopen_ops): ... this. Add an OPS parameter and use it.
2591 1.1 christos Call the OPS' fdopen function if there is one.
2592 1.1 christos (serial_fdopen): Rewrite as wrapper to serial_fdopen_ops.
2593 1.1 christos (serial_pipe): New.
2594 1.1 christos (struct serial_ops) <fdopen>: New field.
2595 1.1 christos
2596 1.1 christos * ser-mingw.c (free_pipe_state):
2597 1.1 christos (free_pipe_state): Close output on non-pex pipes.
2598 1.1 christos (pipe_windows_fdopen): New.
2599 1.1 christos (gdb_pipe): New.
2600 1.1 christos (_initialize_ser_windows): Register pipe_windows_fdopen.
2601 1.1 christos * ser-go32.c (gdb_pipe): New.
2602 1.1 christos * ser-pipe.c (pipe_close): Close file descriptor even if there's
2603 1.1 christos no state pointer.
2604 1.1 christos (pipe_ops): Delete.
2605 1.1 christos (gdb_pipe): New.
2606 1.1 christos
2607 1.1 christos 2010-08-20 Keith Seitz <keiths (a] redhat.com>
2608 1.1 christos
2609 1.1 christos PR symtab/11465:
2610 1.1 christos * dwarf2read.c (struct delayed_method_info): New struct.
2611 1.1 christos (struct dwarf2_cu): Add vector method_list.
2612 1.1 christos (scan_partial_symbols): Count methods for union, class, structure,
2613 1.1 christos and interface types.
2614 1.1 christos (add_to_method_list): New function.
2615 1.1 christos (free_delayed_list): New function.
2616 1.1 christos (compute_delayed_physnames): New function.
2617 1.1 christos (process_full_comp_unit): Make a cleanup for the CU's delayed
2618 1.1 christos physname list, compute the delayed physnames, and free the
2619 1.1 christos the list.
2620 1.1 christos (dwarf2_add_member_fn): For C++ and Java, delay the computation
2621 1.1 christos of the physname until after the CU is read.
2622 1.1 christos
2623 1.1 christos * dwarf2read.c (read_structure_type): Check if the current
2624 1.1 christos DIE's type was already completed after dwarf2_full_name
2625 1.1 christos was called.
2626 1.1 christos
2627 1.1 christos 2010-08-19 Stan Shebs <stan (a] codesourcery.com>
2628 1.1 christos
2629 1.1 christos * NEWS: Mention some additional changes.
2630 1.1 christos
2631 1.1 christos 2010-08-19 Tom Tromey <tromey (a] redhat.com>
2632 1.1 christos
2633 1.1 christos * Makefile.in (install-python): Add DESTDIR.
2634 1.1 christos
2635 1.1 christos 2010-08-19 Doug Evans <dje (a] google.com>
2636 1.1 christos
2637 1.1 christos PR exp/11926
2638 1.1 christos * parser-defs.h (parse_float, parse_c_float): Declare.
2639 1.1 christos * parse.c (parse_float, parse_c_float): New function.
2640 1.1 christos * c-exp.y (parse_number): Call parse_c_float.
2641 1.1 christos * objc-exp.y (parse_number): Ditto.
2642 1.1 christos * p-exp.y (parse_number): Ditto. Use ANSI/ISO-style definition.
2643 1.1 christos * jv-exp.y (parse_number): Call parse_float, fix suffix handling.
2644 1.1 christos
2645 1.1 christos 2010-08-19 Joel Brobecker <brobecker (a] adacore.com>
2646 1.1 christos
2647 1.1 christos * psymtab.c (map_symbol_filenames_psymtab): Call FUN with
2648 1.1 christos the arguments in the correct order.
2649 1.1 christos * symtab.c (maybe_add_partial_symtab_filename): Declare
2650 1.1 christos the arguments in the correct order.
2651 1.1 christos
2652 1.1 christos 2010-08-19 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2653 1.1 christos
2654 1.1 christos * varobj.c (varobj_create): Replace variable old_fi with old_id,
2655 1.1 christos initialize it by null_frame_id, wrap its usage by get_frame_id,
2656 1.1 christos frame_id_p and frame_find_by_id.
2657 1.1 christos
2658 1.1 christos 2010-08-18 Tom Tromey <tromey (a] redhat.com>
2659 1.1 christos
2660 1.1 christos PR python/11900:
2661 1.1 christos * configure: Rebuild.
2662 1.1 christos * configure.ac: Add install-python to CONFIG_INSTALL.
2663 1.1 christos * Makefile.in (install-python): New.
2664 1.1 christos
2665 1.1 christos 2010-08-18 Doug Evans <dje (a] google.com>
2666 1.1 christos
2667 1.1 christos * gdb_assert.h (gdb_assert_not_reached): New macro.
2668 1.1 christos (gdb_assert_fail): Fix typo in comment.
2669 1.1 christos * avr-tdep.c (avr_return_value): Use gdb_assert_not_reached instead of
2670 1.1 christos gdb_assert (0).
2671 1.1 christos * darwin-nat.c (darwin_check_new_threads): Ditto.
2672 1.1 christos * dwarf2read.c (dwarf2_get_section_info): Ditto.
2673 1.1 christos (munmap_section_buffer): Ditto.
2674 1.1 christos * m32c-tdep.c (make_types): Ditto.
2675 1.1 christos (m32c_decode_srcdest4, m32c_decode_sd23, m32c_frame_base): Ditto.
2676 1.1 christos * macroexp.c (get_character_constant): Ditto.
2677 1.1 christos (get_string_literal): Ditto.
2678 1.1 christos * mep-tdep.c (mep_pseudo_cr_size): Ditto.
2679 1.1 christos (mep_pseudo_cr_index, mep_register_type): Ditto.
2680 1.1 christos (mep_pseudo_register_read, mep_pseudo_register_write): Ditto.
2681 1.1 christos (mep_get_insn, mep_analyze_prologue): Ditto.
2682 1.1 christos * objfiles.c (qsort_cmp): Ditto.
2683 1.1 christos * prologue-value.c (pv_is_identical): Ditto.
2684 1.1 christos * record.c (record_get_loc): Ditto.
2685 1.1 christos * value.c (value_static_field): Ditto.
2686 1.1 christos * xtensa-tdep.c (call0_track_op): Ditto.
2687 1.1 christos
2688 1.1 christos 2010-08-18 Tom Tromey <tromey (a] redhat.com>
2689 1.1 christos
2690 1.1 christos PR symtab/11919:
2691 1.1 christos * gdbtypes.c (lookup_struct_elt_type): Clean up error emission.
2692 1.1 christos * parse.c (parse_field_expression): Use RETURN_MASK_ERROR. Move
2693 1.1 christos name-copying lower. Document exception behavior.
2694 1.1 christos * completer.c (expression_completer): Catch exceptions from
2695 1.1 christos parse_field_expression.
2696 1.1 christos
2697 1.1 christos 2010-08-18 Pedro Alves <pedro (a] codesourcery.com>
2698 1.1 christos
2699 1.1 christos PR corefile/8210
2700 1.1 christos
2701 1.1 christos * linux-thread-db.c (add_thread_db_info): Skip glibc/BZ5983
2702 1.1 christos workaround on core files.
2703 1.1 christos (try_thread_db_load_1): Don't try enabling thread event reporting
2704 1.1 christos on core files.
2705 1.1 christos (thread_db_load): Allow thread_db on core files.
2706 1.1 christos (attach_thread): Don't check thread signals on core files, nor try
2707 1.1 christos really attaching to the thread, nor enabling thread event event
2708 1.1 christos reporting.
2709 1.1 christos (thread_db_detach): Don't try disabing thread event reporting or
2710 1.1 christos removing thread event breakpoints when debugging a core file.
2711 1.1 christos (find_new_threads_callback): Don't try enabling thread event
2712 1.1 christos reporting on core files.
2713 1.1 christos (thread_db_find_new_threads_2): Don't look for a stopped lwp when
2714 1.1 christos debugging a core file.
2715 1.1 christos (thread_db_find_new_threads): Don't update thread
2716 1.1 christos cores (processors) when debugging a core (dump).
2717 1.1 christos
2718 1.1 christos 2010-08-18 Pedro Alves <pedro (a] codesourcery.com>
2719 1.1 christos
2720 1.1 christos PR corefile/8210
2721 1.1 christos
2722 1.1 christos * corelow.c (add_to_thread_list): Don't use
2723 1.1 christos gdbarch_core_reg_section_encodes_pid. Use bfd_core_file_pid.
2724 1.1 christos (get_core_register_section): Don't use
2725 1.1 christos gdbarch_core_reg_section_encodes_pid.
2726 1.1 christos
2727 1.1 christos * gdbarch.sh (core_reg_section_encodes_pid): Delete.
2728 1.1 christos * gdbarch.h, gdbarch.c: Regenerate.
2729 1.1 christos * amd64-sol2-tdep.c (amd64_sol2_init_abi): Don't set
2730 1.1 christos gdbarch_core_reg_section_encodes_pid.
2731 1.1 christos * i386-sol2-tdep.c (i386_sol2_init_abi): Ditto.
2732 1.1 christos * sparc-sol2-tdep.c (sparc32_sol2_init_abi): Ditto.
2733 1.1 christos * sparc64-sol2-tdep.c (sparc64_sol2_init_abi): Ditto.
2734 1.1 christos
2735 1.1 christos 2010-08-18 Yao Qi <yao (a] codesourcery.com>
2736 1.1 christos
2737 1.1 christos * MAINTAINERS : Add myself under Write After Approval.
2738 1.1 christos
2739 1.1 christos 2010-08-17 Tom Tromey <tromey (a] redhat.com>
2740 1.1 christos
2741 1.1 christos * NEWS: Mention template parameter support.
2742 1.1 christos
2743 1.1 christos 2010-08-17 Pedro Alves <pedro (a] codesourcery.com>
2744 1.1 christos
2745 1.1 christos PR breakpoints/11371
2746 1.1 christos
2747 1.1 christos * breakpoint.c (decref_bp_location): Assert the reference count is
2748 1.1 christos sane.
2749 1.1 christos
2750 1.1 christos 2010-08-17 Pedro Alves <pedro (a] codesourcery.com>
2751 1.1 christos
2752 1.1 christos PR breakpoints/11371
2753 1.1 christos
2754 1.1 christos * breakpoint.c (breakpoint_init_inferior): Decrement the
2755 1.1 christos location's reference count instead of deleting right away.
2756 1.1 christos (bpstat_free): Decrement the location's reference count. Make
2757 1.1 christos static.
2758 1.1 christos (bpstat_copy): Increment the location's reference count.
2759 1.1 christos (bpstat_find_breakpoint): Adjust.
2760 1.1 christos (bpstat_num): Adjust.
2761 1.1 christos (print_it_typical): Adjust. Use the breakpoint pointer in the
2762 1.1 christos bpstat instead of the location's owner.
2763 1.1 christos (bpstat_alloc): Remove const qualifier from the 'bl' parameter.
2764 1.1 christos Adjust to record the location's owner in the bpstat.
2765 1.1 christos (watchpoint_check): Use the breakpoint pointer in the bpstat
2766 1.1 christos instead of the location's owner.
2767 1.1 christos (bpstat_check_breakpoint_conditions): Don't handle
2768 1.1 christos bp_watchpoint_scope here. Use the breakpoint pointer in the
2769 1.1 christos bpstat instead of the location's owner.
2770 1.1 christos (bpstat_stop_status): Defer inferior function calls to after
2771 1.1 christos building the bpstat list. Handle bp_watchpoint_scope here. Use
2772 1.1 christos the breakpoint pointer in the bpstat instead of the location's
2773 1.1 christos owner.
2774 1.1 christos (bpstat_what): Use the breakpoint pointer in the bpstat instead of
2775 1.1 christos the location's owner.
2776 1.1 christos (free_bp_location): Don't walk bpstats clearing locations.
2777 1.1 christos (incref_bp_location): New.
2778 1.1 christos (decref_bp_location): New.
2779 1.1 christos (breakpoint_auto_delete): Use the breakpoint pointer in the bpstat
2780 1.1 christos instead of the location's owner.
2781 1.1 christos (update_global_location_list): Clear the location's owner, and
2782 1.1 christos decrement the location's reference count instead of deleting it
2783 1.1 christos right away.
2784 1.1 christos (breakpoint_retire_moribund): Decrement the location's reference
2785 1.1 christos count instead of deleting it right away.
2786 1.1 christos (bpstat_remove_bp_location): Delete.
2787 1.1 christos (bpstat_remove_breakpoint): New.
2788 1.1 christos (bpstat_remove_bp_location_callback): Delete.
2789 1.1 christos (bpstat_remove_breakpoint_callback): New.
2790 1.1 christos (delete_breakpoint): Iterate over all threads' stop_bpstat's
2791 1.1 christos clearing references to the breakpoint that is being deleted.
2792 1.1 christos
2793 1.1 christos * breakpoint.h (struct bp_location) <refc>: New field.
2794 1.1 christos <owner>: Update comments.
2795 1.1 christos (bpstat_free): Delete declaration.
2796 1.1 christos (struct bpstats): Change the type of the breakpoint_at field to
2797 1.1 christos struct breakpoint point, from struct bp_location pointer. Add new
2798 1.1 christos field bp_location_at.
2799 1.1 christos
2800 1.1 christos 2010-08-16 Tom Tromey <tromey (a] redhat.com>
2801 1.1 christos
2802 1.1 christos * NEWS: Fix typo.
2803 1.1 christos
2804 1.1 christos 2010-08-16 Tom Tromey <tromey (a] redhat.com>
2805 1.1 christos
2806 1.1 christos * NEWS: Mention watch -location.
2807 1.1 christos
2808 1.1 christos 2010-08-16 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2809 1.1 christos
2810 1.1 christos * breakpoint.c (update_watchpoint): Add source empty line. Prefer
2811 1.1 christos EXP_STRING_REPARSE to EXP_STRING.
2812 1.1 christos (watch_command_1): Set also EXP_STRING_REPARSE.
2813 1.1 christos (delete_breakpoint): Free also EXP_STRING_REPARSE.
2814 1.1 christos * breakpoint.h (struct breakpoint): New field exp_string_reparse.
2815 1.1 christos Update comment for exp_string.
2816 1.1 christos
2817 1.1 christos 2010-08-16 Tom Tromey <tromey (a] redhat.com>
2818 1.1 christos
2819 1.1 christos * value.c (release_value): Clear 'next' pointer.
2820 1.1 christos * breakpoint.c (watch_command_1): Add 'just_location' argument.
2821 1.1 christos (watch_command_wrapper): Update.
2822 1.1 christos (watch_maybe_just_location): New function.
2823 1.1 christos (watch_command): Update.
2824 1.1 christos (rwatch_command_wrapper): Update.
2825 1.1 christos (rwatch_command): Update.
2826 1.1 christos (awatch_command_wrapper): Update.
2827 1.1 christos (awatch_command): Update.
2828 1.1 christos (check_for_argument): New function.
2829 1.1 christos (_initialize_breakpoint): Update help text.
2830 1.1 christos
2831 1.1 christos 2010-08-14 Ulrich Weigand <uweigand (a] de.ibm.com>
2832 1.1 christos
2833 1.1 christos * arm-tdep.c (arm_push_dummy_call): Handle pointers to
2834 1.1 christos typedef'ed function types correctly.
2835 1.1 christos
2836 1.1 christos 2010-08-13 Tom Tromey <tromey (a] redhat.com>
2837 1.1 christos
2838 1.1 christos * python/python-internal.h (gdbpy_get_hook_function): Don't
2839 1.1 christos declare.
2840 1.1 christos
2841 1.1 christos 2010-08-13 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2842 1.1 christos
2843 1.1 christos * cli/cli-logging.c (logging_overwrite, logging_redirect): Make them
2844 1.1 christos static.
2845 1.1 christos
2846 1.1 christos 2010-08-13 Ken Werner <ken.werner (a] de.ibm.com>
2847 1.1 christos
2848 1.1 christos * python/python.c (gdbpy_solib_name): Remove the const qualifier of
2849 1.1 christos the format strings to be compatible with Python 2.4.
2850 1.1 christos
2851 1.1 christos 2010-08-13 Vladimir Prus <vladimir (a] codesourcery.com>
2852 1.1 christos
2853 1.1 christos Easier and more stubborn MI memory read commands.
2854 1.1 christos
2855 1.1 christos * mi/mi-cmds.c (mi_cmds): Register data-read-memory-bytes
2856 1.1 christos and data-write-memory-bytes.
2857 1.1 christos * mi/mi-cmds.h (mi_cmd_data_read_memory_bytes)
2858 1.1 christos (mi_cmd_data_write_memory_bytes): New.
2859 1.1 christos * mi/mi-main.c (mi_cmd_data_read_memory): Use regular target_read.
2860 1.1 christos (mi_cmd_data_read_memory_bytes, mi_cmd_data_write_memory_bytes):
2861 1.1 christos New.
2862 1.1 christos (mi_cmd_list_features): Add "data-read-memory-bytes" feature.
2863 1.1 christos * target.c (target_read_until_error): Remove.
2864 1.1 christos (read_whatever_is_readable, free_memory_read_result_vector)
2865 1.1 christos (read_memory_robust): New.
2866 1.1 christos * target.h (target_read_until_error): Remove.
2867 1.1 christos (struct memory_read_result, free_memory_read_result_vector)
2868 1.1 christos (read_memory_robust): New.
2869 1.1 christos
2870 1.1 christos 2010-08-13 Hui Zhu <teawater (a] gmail.com>
2871 1.1 christos
2872 1.1 christos * dwarf2read.c (load_partial_comp_unit): Initialize free_cu_cleanup.
2873 1.1 christos (read_comp_unit): Initialize back_to.
2874 1.1 christos
2875 1.1 christos 2010-08-12 Daniel Jacobowitz <dan (a] codesourcery.com>
2876 1.1 christos Pedro Alves <pedro (a] codesourcery.com>
2877 1.1 christos
2878 1.1 christos * dwarf2read.c: Include "c-lang.h" and "valprint.h".
2879 1.1 christos (struct dwarf2_per_objfile) <reading_partial_symbols>: New field.
2880 1.1 christos (struct partial_die_info) <has_template_arguments>: New field.
2881 1.1 christos <num_attrs>: Change type to unsigned char.
2882 1.1 christos <building_fullname>: New field.
2883 1.1 christos (dwarf2_build_psymtabs_hard): Set reading_partial_symbols. Only
2884 1.1 christos allocate a CU if we don't have one already. Add a cleanup for the
2885 1.1 christos CU.
2886 1.1 christos (partial_die_full_name): Handle template arguments not in
2887 1.1 christos DW_AT_name.
2888 1.1 christos (dwarf2_psymtab_to_symtab): Clear reading_partial_symbols.
2889 1.1 christos (load_full_comp_unit): Only allocate a CU if we don't have one
2890 1.1 christos already.
2891 1.1 christos (do_ui_file_peek_last): New.
2892 1.1 christos (dwarf2_compute_name): Handle template parameters not in
2893 1.1 christos DW_AT_name.
2894 1.1 christos (read_comp_unit): Read and free abbrevs if not read yet.
2895 1.1 christos (load_partial_dies): Handle template arguments not in DW_AT_name.
2896 1.1 christos (find_partial_die): If we have a CU, but no a partial dies yet,
2897 1.1 christos also read in the CU.
2898 1.1 christos (dwarf2_const_value_attr): New, abstracted out from
2899 1.1 christos dwarf2_const_value.
2900 1.1 christos (dwarf2_const_value, dwarf2_const_value_data): Adjust to use
2901 1.1 christos dwarf2_const_value_attr.
2902 1.1 christos (determine_prefix): Detect and break loops created by RCVT's debug
2903 1.1 christos info.
2904 1.1 christos (maybe_queue_comp_unit): Bail out early if reading partial
2905 1.1 christos symbols.
2906 1.1 christos (follow_die_offset): Load full CU if we have no dies.
2907 1.1 christos * dwarf2loc.c (dwarf2_evaluate_loc_desc): Make public.
2908 1.1 christos * dwarf2loc.h (dwarf2_evaluate_loc_desc): Declare.
2909 1.1 christos
2910 1.1 christos 2010-08-11 Tom Tromey <tromey (a] redhat.com>
2911 1.1 christos Phil Muldoon <pmuldoon (a] redhat.com>
2912 1.1 christos
2913 1.1 christos * python/python.c (gdbpy_run_events): New function.
2914 1.1 christos (gdbpy_post_event): Likewise.
2915 1.1 christos (gdbpy_initialize_events): Likewise.
2916 1.1 christos (_initialize_python): Call gdbpy_initialize_events.
2917 1.1 christos
2918 1.1 christos 2010-08-11 Ken Werner <ken.werner (a] de.ibm.com>
2919 1.1 christos
2920 1.1 christos * gdb/valarith.c (vector_binop): New function.
2921 1.1 christos (scalar_binop): Likewise.
2922 1.1 christos (value_binop): Call scalar_binop or vector_binop depending on the types.
2923 1.1 christos * gdb/eval.c (ptrmath_type_p): Return 0 in case of TYPE_VECTOR.
2924 1.1 christos (evaluate_subexp_with_coercion): Add vector check to not convert vectors
2925 1.1 christos to pointers.
2926 1.1 christos * gdb/value.c (coerce_array): Add vector check to not coerce vectors.
2927 1.1 christos
2928 1.1 christos 2010-08-11 Brad Roberts <braddr (a] puremagic.com>
2929 1.1 christos
2930 1.1 christos * d-lang.c (extract_identifiers): Handle multiple digits.
2931 1.1 christos
2932 1.1 christos 2010-08-11 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2933 1.1 christos
2934 1.1 christos Code cleanup.
2935 1.1 christos * dummy-frame.c (dummy_frame_unwinder): Remove its static qualifier.
2936 1.1 christos Rename to dummy_frame_unwind.
2937 1.1 christos (dummy_frame_unwind): Remove.
2938 1.1 christos * dummy-frame.h (dummy_frame_unwind): Reference directly the struct.
2939 1.1 christos * frame-unwind.c (frame_unwind_init): Use address of
2940 1.1 christos dummy_frame_unwind and inline_frame_unwind.
2941 1.1 christos * frame.c (create_sentinel_frame): Use address of
2942 1.1 christos sentinel_frame_unwind.
2943 1.1 christos * inline-frame.c (inline_frame_unwinder): Rename to
2944 1.1 christos inline_frame_unwind.
2945 1.1 christos (inline_frame_unwind): Remove.
2946 1.1 christos * inline-frame.h (inline_frame_unwind): Reference directly the struct.
2947 1.1 christos * sentinel-frame.c (sentinel_frame_unwinder): Rename to
2948 1.1 christos sentinel_frame_unwind.
2949 1.1 christos (sentinel_frame_unwind): Remove.
2950 1.1 christos * sentinel-frame.h (sentinel_frame_unwind): Reference directly the
2951 1.1 christos struct.
2952 1.1 christos
2953 1.1 christos 2010-08-11 Jan Kratochvil <jan.kratochvil (a] redhat.com>
2954 1.1 christos
2955 1.1 christos Code cleanup.
2956 1.1 christos * frame-unwind.c (frame_unwind_find_by_frame): Remove the return type
2957 1.1 christos and returned value. New comment from frame-unwind.h.
2958 1.1 christos * frame-unwind.h (frame_unwind_find_by_frame): Remove the return type.
2959 1.1 christos Extend the comment.
2960 1.1 christos * frame.c (get_frame_id, frame_unwind_register_value)
2961 1.1 christos (create_new_frame, get_prev_frame_1, frame_unwinder_is)
2962 1.1 christos (get_frame_type, frame_unwind_arch): Do not use the return value of
2963 1.1 christos frame_unwind_find_by_frame.
2964 1.1 christos
2965 1.1 christos 2010-08-11 Phil Muldoon <pmuldoon (a] redhat.com>
2966 1.1 christos Thiago Jung Bauermann <bauerman (a] br.ibm.com>
2967 1.1 christos Tom Tromey <tromey (a] redhat.com>
2968 1.1 christos
2969 1.1 christos * python/python.c (gdbpy_solib_address): New function.
2970 1.1 christos (gdbpy_decode_line): Likewise.
2971 1.1 christos
2972 1.1 christos 2010-08-10 Tom Tromey <tromey (a] redhat.com>
2973 1.1 christos
2974 1.1 christos Revert gdb-add-index addition:
2975 1.1 christos * Makefile.in (install-only): Don't install gdb-add-index.
2976 1.1 christos * gdb-add-index.sh: Remove.
2977 1.1 christos
2978 1.1 christos 2010-08-09 Kevin Buettner <kevinb (a] redhat.com>
2979 1.1 christos
2980 1.1 christos * remote-sim.c (gdbsim_xfer_inferior_memory): Replace
2981 1.1 christos `target_has_execution' check with `to_has_memory' check.
2982 1.1 christos (gdbsim_has_all_memory, gdbsim_has_memory): New functions.
2983 1.1 christos (init_gdbsym_ops): Initialize relevant fields of `gdbsim_ops'
2984 1.1 christos with `gdbsim_has_all_memory' and `gdbsim_has_memory'.
2985 1.1 christos
2986 1.1 christos 2010-08-09 Kevin Buettner <kevinb (a] redhat.com>
2987 1.1 christos
2988 1.1 christos * remote-sim.c (program_loaded, gdbsim_desc, remote_sim_ptid)
2989 1.1 christos (resume_siggnal, resume_step): Move these static globals...
2990 1.1 christos (struct sim_inferior_data): ...into this new struct.
2991 1.1 christos (sim_inferior_data_key, next_pid, sim_argv, gdbsim_is_open):
2992 1.1 christos New static globals.
2993 1.1 christos (gdb_callback, callbacks_initialized): Move these globals to
2994 1.1 christos a point earlier in the file.
2995 1.1 christos (check_for_duplicate_sim_descriptor, get_sim_inferior_data)
2996 1.1 christos (get_sim_inferior_data_by_ptid, sim_inferior_data_cleanup)
2997 1.1 christos (gdbsim_close_inferior, gdbsim_resume_inferior)
2998 1.1 christos (gdbsim_stop_inferior): New functions.
2999 1.1 christos (SIM_INSTANCE_NOT_NEEDED, SIM_INSTANCE_NEEDED, INITIAL_PID):
3000 1.1 christos New constants.
3001 1.1 christos (gdbsim_fetch_register, gdbsim_store_register, gdbsim_load)
3002 1.1 christos (gdbsim_create_inferior, gdbsim_open, gdbsim_close, gdbsim_resume)
3003 1.1 christos (gdbsim_stop, gdbsim_cntrl_c, gdbsim_wait)
3004 1.1 christos (gdbsim_xfer_inferior_memory, gdbsim_files_info)
3005 1.1 christos (gdbsim_mourn_inferior, simulator_command, gdbsim_thread_alive,
3006 1.1 christos (gdbsim_pid_to_str): Invoke `get_sim_inferior_data' to set
3007 1.1 christos new local variable `sim_data' in each of these functions. Use
3008 1.1 christos `sim_data' to reference former globals `program_loaded',
3009 1.1 christos `gdbsim_desc', `remote_sim_ptid', `resume_siggnal', and
3010 1.1 christos `resume_step'.
3011 1.1 christos (gdbsim_open): Remove local variable `argv'. Put results of call
3012 1.1 christos to `gdb_buildargv' in `sim_argv' rather than in `argv'. Don't
3013 1.1 christos make a cleanup for it. Free it though when a sim instance cannot
3014 1.1 christos be obtained.
3015 1.1 christos (gdbsim_close): Free sim_argv and null it out as appropriate.
3016 1.1 christos Close sim instances in all inferiors.
3017 1.1 christos (gdbsim_cntrl_c): Stop all inferiors.
3018 1.1 christos (gdbsim_wait):
3019 1.1 christos (_initialize_remote_sim): Initialize `sim_inferior_data_key'.
3020 1.1 christos
3021 1.1 christos 2010-08-09 Sami Wagiaalla <swagiaal (a] redhat.com>
3022 1.1 christos
3023 1.1 christos * dwarf2read.c (new_symbol): Add symbol to variable list at end of
3024 1.1 christos function after symbol construction is complete.
3025 1.1 christos Do the same for template symbol addition to template_symbols list.
3026 1.1 christos
3027 1.1 christos 2010-08-09 Sami Wagiaalla <swagiaal (a] redhat.com>
3028 1.1 christos
3029 1.1 christos * symtab.c (symbol_get_demangled_name): Remove assertion and
3030 1.1 christos return NULL when language_specific.cplus_specific is not initialized.
3031 1.1 christos * stabsread.c (define_symbol): Set the name before calling
3032 1.1 christos cp_scan_for_anonymous_namespaces.
3033 1.1 christos
3034 1.1 christos 2010-08-09 Sami Wagiaalla <swagiaal (a] redhat.com>
3035 1.1 christos
3036 1.1 christos * symtab.h: Renamed SYMBOL_INIT_LANGUAGE_SPECIFIC to
3037 1.1 christos SYMBOL_SET_LANGUAGE.
3038 1.1 christos (symbol_init_language_specific): Renamed to symbol_set_language.
3039 1.1 christos * symtab.c (symbol_init_language_specific): Removed redundant check
3040 1.1 christos for language_cplus.
3041 1.1 christos Renamed to symbol_set_language.
3042 1.1 christos * stabsread.c (define_symbol): Updated.
3043 1.1 christos (read_enum_type): Updated
3044 1.1 christos * psymtab.c (add_psymbol_to_bcache): Updated.
3045 1.1 christos * minsyms.c (install_minimal_symbols): Updated.
3046 1.1 christos * coffread.c (process_coff_symbol): SYMBOL_SET_LANGUAGE instead of
3047 1.1 christos SYMBOL_LANGUAGE to set the language.
3048 1.1 christos * minsyms.c (prim_record_minimal_symbol_full): Ditto.
3049 1.1 christos * mdebugread.c (new_symbol): Ditto.
3050 1.1 christos * cp-namespace.c (check_one_possible_namespace_symbol): Ditto.
3051 1.1 christos * dwarf2read.c (new_symbol_full): Ditto.
3052 1.1 christos * jv-lang.c (add_class_symbol): Ditto.
3053 1.1 christos
3054 1.1 christos 2010-08-07 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3055 1.1 christos
3056 1.1 christos * defs.h (make_cleanup_restore_uinteger, make_cleanup_restore_ui_file)
3057 1.1 christos (make_cleanup_restore_page_info)
3058 1.1 christos (set_batch_flag_and_make_cleanup_restore_page_info): New declarations.
3059 1.1 christos * gdbcmd.h (execute_command_to_string): New declaration.
3060 1.1 christos * python/python.c (struct restore_ui_file_closure, restore_ui_file)
3061 1.1 christos (make_cleanup_restore_ui_file): Move to utils.c
3062 1.1 christos (execute_gdb_command) <to_string>: Move ...
3063 1.1 christos * top.c (execute_command_to_string): ... here. Call
3064 1.1 christos set_batch_flag_and_make_cleanup_restore_page_info.
3065 1.1 christos * utils.c (make_cleanup_restore_integer): New source file blank line.
3066 1.1 christos (make_cleanup_restore_uinteger): New.
3067 1.1 christos (struct restore_ui_file_closure, do_restore_ui_file)
3068 1.1 christos (make_cleanup_restore_ui_file): Move here from python/python.c.
3069 1.1 christos (init_page_info) <batch_flag>
3070 1.1 christos (do_restore_page_info_cleanup, make_cleanup_restore_page_info)
3071 1.1 christos (set_batch_flag_and_make_cleanup_restore_page_info): New.
3072 1.1 christos
3073 1.1 christos 2010-08-06 Maciej W. Rozycki <macro (a] codesourcery.com>
3074 1.1 christos
3075 1.1 christos * thread.c (add_thread_silent): Use null_ptid instead of
3076 1.1 christos minus_one_ptid while getting rid of stale inferior_ptid.
3077 1.1 christos
3078 1.1 christos 2010-08-06 Corinna Vinschen <vinschen (a] redhat.com>
3079 1.1 christos
3080 1.1 christos * dwarf2-frame.c (struct dwarf2_cie): Add ptr_size member.
3081 1.1 christos Throughout, call read_encoded_value with ptr_size rather than addr_size.
3082 1.1 christos (decode_frame_entry_1): Remove redundant setting of
3083 1.1 christos addr_size. Call gdbarch_dwarf2_addr_size rather than gdbarch_ptr_bit
3084 1.1 christos to determine addr_size in Dwarf versions < 4. Set ptr_size dependent
3085 1.1 christos on examined frame section. Add comment to explain why.
3086 1.1 christos * gdbarch.sh (dwarf2_addr_size): Define as variable. Add lengthy
3087 1.1 christos comment to explain usage.
3088 1.1 christos * gdbarch.c: Regenerate.
3089 1.1 christos * gdbarch.h: Regenerate.
3090 1.1 christos
3091 1.1 christos * xstormy16-tdep.c (xstormy16_gdbarch_init): Set dwarf2_addr_size to 4.
3092 1.1 christos
3093 1.1 christos 2010-08-06 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3094 1.1 christos
3095 1.1 christos Code cleanup.
3096 1.1 christos * varobj.c (varobj_create): Move variables fi, old_fi and block to
3097 1.1 christos a more inner block.
3098 1.1 christos
3099 1.1 christos 2010-08-05 Pedro Alves <pedro (a] codesourcery.com>
3100 1.1 christos
3101 1.1 christos * configure.tgt (alpha*-*-linux*, am33_2.0*-*-linux*, frv-*-*)
3102 1.1 christos (hppa*-*-linux*, ia64-*-linux*, m32r*-*-linux*, m68*-*-linux*)
3103 1.1 christos (microblaze*-linux-*, mips*-*-linux*, sh*-*-linux*)
3104 1.1 christos (sparc-*-linux*, sparc64-*-linux*, xtensa*-*-linux*): Add
3105 1.1 christos linux-tdep.o to gdb_target_obs.
3106 1.1 christos
3107 1.1 christos 2010-08-05 Marc Khouzam <marc.khouzam (a] ericsson.com>
3108 1.1 christos
3109 1.1 christos * mi/mi-main.c (mi_cmd_remove_inferior): Properly access first
3110 1.1 christos argument.
3111 1.1 christos
3112 1.1 christos 2010-08-05 Hui Zhu <teawater (a] gmail.com>
3113 1.1 christos
3114 1.1 christos * mips-linux-tdep.c(regset.h): New include.
3115 1.1 christos (mips_supply_gregset_wrapper, mips_fill_gregset_wrapper,
3116 1.1 christos mips_supply_fpregset_wrapper, mips_fill_fpregset_wrapper,
3117 1.1 christos mips64_supply_gregset_wrapper, mips64_fill_gregset_wrapper,
3118 1.1 christos mips64_supply_fpregset_wrapper, mips64_fill_fpregset_wrapper,
3119 1.1 christos mips_linux_regset_from_core_section): New functions.
3120 1.1 christos (fetch_core_registers, regset_core_fns): Deleted.
3121 1.1 christos (mips_linux_init_abi): Add mips_linux_regset_from_core_section.
3122 1.1 christos Deleted regset_core_fns.
3123 1.1 christos * mips-tdep.c(mips_gdbarch_init): Initialize tdep->gregset,
3124 1.1 christos tdep->gregset64, tdep->fpregset and tdep->fpregset64.
3125 1.1 christos * mips-tdep.h(gdbarch_tdep): Add gregset, gregset64, fpregset
3126 1.1 christos and fpregset64.
3127 1.1 christos
3128 1.1 christos 2010-08-04 Pedro Alves <pedro (a] codesourcery.com>
3129 1.1 christos
3130 1.1 christos * s390-tdep.c: Include linux-tdep.h.
3131 1.1 christos (s390_gdbarch_init): Call linux_init_abi.
3132 1.1 christos
3133 1.1 christos 2010-08-04 Pedro Alves <pedro (a] codesourcery.com>
3134 1.1 christos
3135 1.1 christos * corelow.c (core_pid_to_str): Default to using normal_pid_to_str
3136 1.1 christos instead of printing "Thread" here.
3137 1.1 christos * linux-tdep.c: Include inferior.h.
3138 1.1 christos (linux_core_pid_to_str): New.
3139 1.1 christos (linux_init_abi): New.
3140 1.1 christos * linux-tdep.h (linux_init_abi): Declare.
3141 1.1 christos * alpha-linux-tdep.c: Include linux-tdep.h.
3142 1.1 christos (alpha_linux_init_abi): Call linux_init_abi.
3143 1.1 christos * amd64-linux-tdep.c (amd64_linux_init_abi): Call linux_init_abi.
3144 1.1 christos * arm-linux-tdep.c (arm_linux_init_abi): Call linux_init_abi.
3145 1.1 christos * frv-linux-tdep.c: Include linux-tdep.h
3146 1.1 christos (frv_linux_init_abi): Call linux_init_abi.
3147 1.1 christos * hppa-linux-tdep.c: Include linux-tdep.h
3148 1.1 christos (hppa_linux_init_abi): Call linux_init_abi.
3149 1.1 christos * i386-linux-tdep.c (i386_linux_init_abi): Call linux_init_abi.
3150 1.1 christos * ia64-linux-tdep.c: Include linux-tdep.h.
3151 1.1 christos (ia64_linux_init_abi): Call linux_init_abi.
3152 1.1 christos * m32r-linux-tdep.c: Include linux-tdep.h.
3153 1.1 christos (m32r_linux_init_abi): Call linux_init_abi.
3154 1.1 christos * m68klinux-tdep.c: Include linux-tdep.h.
3155 1.1 christos (m68k_linux_init_abi): Call linux_init_abi.
3156 1.1 christos * microblaze-linux-tdep.c: Include linux-tdep.h.
3157 1.1 christos (microblaze_linux_init_abi): Call linux_init_abi.
3158 1.1 christos * mips-linux-tdep.c: Include linux-tdep.h.
3159 1.1 christos (mips_linux_init_abi): Call linux_init_abi.
3160 1.1 christos * mn10300-linux-tdep.c: Include linux-tdep.h.
3161 1.1 christos (am33_linux_init_osabi): Call linux_init_abi. Rename the
3162 1.1 christos 'gdbinfo' parameter to 'info'.
3163 1.1 christos * ppc-linux-tdep.c: Include linux-tdep.h.
3164 1.1 christos (ppc_linux_init_abi): Call linux_init_abi.
3165 1.1 christos * sh-linux-tdep.c: Include linux-tdep.h.
3166 1.1 christos (sh_linux_init_abi): Call linux_init_abi.
3167 1.1 christos * sparc-linux-tdep.c: Include linux-tdep.h.
3168 1.1 christos (sparc32_linux_init_abi): Call linux_init_abi.
3169 1.1 christos * sparc64-linux-tdep.c: Include linux-tdep.h.
3170 1.1 christos (sparc64_linux_init_abi): Call linux_init_abi.
3171 1.1 christos * xtensa-linux-tdep.c: Include linux-tdep.h.
3172 1.1 christos (xtensa_linux_init_abi): Call linux_init_abi.
3173 1.1 christos * i386-cygwin-tdep.c (i386_windows_core_pid_to_str): New.
3174 1.1 christos (i386_cygwin_init_abi): Install it as gdbarch_core_pid_to_str
3175 1.1 christos callback.
3176 1.1 christos
3177 1.1 christos 2010-08-03 Doug Evans <dje (a] google.com>
3178 1.1 christos
3179 1.1 christos * breakpoint.c (bpdisp_text): Constify bpdisps.
3180 1.1 christos * solib-svr4.c (solib_break_names): Constify.
3181 1.1 christos (bkpt_names, main_name_list): Constify.
3182 1.1 christos (match_main): Constify soname arg.
3183 1.1 christos (bfd_lookup_symbol): Remove unnecessary forward decl.
3184 1.1 christos Constify symname arg.
3185 1.1 christos (enable_break): Constify bkpt_namep.
3186 1.1 christos * symtab.c (search_symbols): Constify types, types2, types3, types4.
3187 1.1 christos (symtab_symbol_info): Constify classnames.
3188 1.1 christos
3189 1.1 christos 2010-08-03 Phil Muldoon <pmuldoon (a] redhat.com>
3190 1.1 christos
3191 1.1 christos * NEWS: Document Python value inferior function calls.
3192 1.1 christos
3193 1.1 christos 2010-08-02 Doug Evans <dje (a] google.com>
3194 1.1 christos
3195 1.1 christos * dwarf2read.c (dwarf_attr_name): Add DW_AT_GNU_odr_signature.
3196 1.1 christos
3197 1.1 christos 2010-07-31 Paul Pluzhnikov <ppluzhnikov (a] google.com>
3198 1.1 christos
3199 1.1 christos * linux-thread-db.c (libthread_db_debug): New variable.
3200 1.1 christos (thread_db_find_new_threads_silently): Control verbosity with it.
3201 1.1 christos (try_thread_db_load_1, try_thread_db_load): Likewise.
3202 1.1 christos (find_new_threads_once): Likewise.
3203 1.1 christos (_initialize_thread_db): Set/show it.
3204 1.1 christos
3205 1.1 christos 2010-07-31 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3206 1.1 christos
3207 1.1 christos * common/signals.c (signals): Move the content to signals.def.
3208 1.1 christos Include it. Remove the INDENT comments.
3209 1.1 christos
3210 1.1 christos 2010-07-30 Tom Tromey <tromey (a] redhat.com>
3211 1.1 christos
3212 1.1 christos * Makefile.in (install-only): Install gdb-add-index.
3213 1.1 christos * gdb-add-index.sh: New file.
3214 1.1 christos
3215 1.1 christos 2010-07-31 Renquan Cheng <crq (a] gcc.gnu.org>
3216 1.1 christos
3217 1.1 christos * MAINTAINERS: Add myself for write after approval privileges.
3218 1.1 christos
3219 1.1 christos 2010-07-30 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3220 1.1 christos
3221 1.1 christos * symfile.c (addr_section_name): New function.
3222 1.1 christos (addrs_section_compar): Use it.
3223 1.1 christos (addr_info_make_relative): Use it. Move variable sect_name into a more
3224 1.1 christos inner block. Make ".dynbss" and ".sdynbss" checks more strict.
3225 1.1 christos
3226 1.1 christos 2010-07-30 Tom Tromey <tromey (a] redhat.com>
3227 1.1 christos
3228 1.1 christos * configure: Rebuild.
3229 1.1 christos * configure.ac: Add missing case for Python 2.7.
3230 1.1 christos
3231 1.1 christos 2010-07-29 DJ Delorie <dj (a] redhat.com>
3232 1.1 christos
3233 1.1 christos * rx-tdep.c (rx_analyze_prologue): Don't require branches to have
3234 1.1 christos conditions.
3235 1.1 christos
3236 1.1 christos 2010-07-29 Pedro Alves <pedro (a] codesourcery.com>
3237 1.1 christos
3238 1.1 christos * PROBLEMS: Remove mention of all problems.
3239 1.1 christos
3240 1.1 christos 2010-07-28 Pedro Alves <pedro (a] codesourcery.com>
3241 1.1 christos
3242 1.1 christos PR build/11848
3243 1.1 christos * configure.ac: Check for wresize.
3244 1.1 christos * configure, config.in: Regenerate.
3245 1.1 christos * tui/tui-win.c (make_visible_with_new_height): Wrap wresize call
3246 1.1 christos with HAVE_WRESIZE.
3247 1.1 christos
3248 1.1 christos 2010-07-28 Tom Tromey <tromey (a] redhat.com>
3249 1.1 christos
3250 1.1 christos PR python/11060:
3251 1.1 christos * python/py-type.c (typy_legacy_template_argument): New function,
3252 1.1 christos extracted from typy_template_argument.
3253 1.1 christos (typy_template_argument): Use TYPE_TEMPLATE_ARGUMENT. Return a
3254 1.1 christos value when needed.
3255 1.1 christos
3256 1.1 christos 2010-07-28 Oleg Nesterov <oleg (a] redhat.com>
3257 1.1 christos
3258 1.1 christos * remote.c (readchar): Call pop_target in case of SERIAL_ERROR.
3259 1.1 christos
3260 1.1 christos 2010-07-27 Tom Tromey <tromey (a] redhat.com>
3261 1.1 christos
3262 1.1 christos * dwarf2read.c (dwarf2_const_value_data): Never sign extend.
3263 1.1 christos
3264 1.1 christos 2010-07-28 Daniel Jacobowitz <dan (a] codesourcery.com>
3265 1.1 christos
3266 1.1 christos * dwarf2read.c (read_subroutine_type): Improve THIS detection,
3267 1.1 christos handling DW_AT_object_pointer, and workaround GCC PR 43053.
3268 1.1 christos
3269 1.1 christos 2010-07-28 Tom Tromey <tromey (a] redhat.com>
3270 1.1 christos
3271 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Remove link-warning.h.
3272 1.1 christos
3273 1.1 christos 2010-07-28 Joel Brobecker <brobecker (a] adacore.com>
3274 1.1 christos
3275 1.1 christos * remote.c (remote_download_tracepoint): Add missing gettext markup.
3276 1.1 christos * tracepoint.c (parse_static_tracepoint_marker_definition): Likewise.
3277 1.1 christos
3278 1.1 christos 2010-07-28 Joel Brobecker <brobecker (a] adacore.com>
3279 1.1 christos
3280 1.1 christos * breakpoint.c (breakpoint_re_set_one): Move call to set_language
3281 1.1 christos down, just before the block that parse the breakpoint addr_string.
3282 1.1 christos
3283 1.1 christos 2010-07-28 Tom Tromey <tromey (a] redhat.com>
3284 1.1 christos
3285 1.1 christos PR c++/9946:
3286 1.1 christos * symfile.c (reread_symbols): Clear template_symbols.
3287 1.1 christos * symtab.h (struct symbol) <is_cplus_template_function>: New
3288 1.1 christos field.
3289 1.1 christos (SYMBOL_IS_CPLUS_TEMPLATE_FUNCTION): New macro.
3290 1.1 christos (struct template_symbol): New.
3291 1.1 christos * symtab.c (lookup_symbol_aux_local): Use
3292 1.1 christos cp_lookup_symbol_imports_or_template.
3293 1.1 christos * objfiles.h (struct objfile) <template_symbols>: New field.
3294 1.1 christos * objfiles.c (relocate_one_symbol): New function.
3295 1.1 christos (objfile_relocate1): Use it. Relocate isolated symbols.
3296 1.1 christos * gdbtypes.h (struct cplus_struct_type) <n_template_arguments,
3297 1.1 christos template_arguments>: New fields.
3298 1.1 christos (TYPE_N_TEMPLATE_ARGUMENTS): New macro.
3299 1.1 christos (TYPE_TEMPLATE_ARGUMENTS): Likewise.
3300 1.1 christos (TYPE_TEMPLATE_ARGUMENT): Likewise.
3301 1.1 christos (lookup_typename): Update.
3302 1.1 christos * gdbtypes.c (lookup_typename): Constify "block" argument.
3303 1.1 christos * dwarf2read.c: Include vec.h.
3304 1.1 christos (symbolp): New typedef.
3305 1.1 christos (read_func_scope): Read template arguments. Allocate a
3306 1.1 christos template_symbol when needed.
3307 1.1 christos (read_structure_type): Read template arguments.
3308 1.1 christos (new_symbol_full): New function, from new_symbol. Handle
3309 1.1 christos DW_TAG_template_type_param and DW_TAG_template_value_param.
3310 1.1 christos (new_symbol): Rewrite as wrapper.
3311 1.1 christos * cp-support.h (cp_lookup_symbol_imports_or_template): Declare.
3312 1.1 christos * cp-namespace.c: Include language.h.
3313 1.1 christos (search_symbol_list): New function.
3314 1.1 christos (cp_lookup_symbol_imports_or_template): Likewise.
3315 1.1 christos
3316 1.1 christos 2010-07-28 Balazs Kezes <rlblaster (a] gmail.com>
3317 1.1 christos
3318 1.1 christos * tui/tui-win.c (make_visible_with_new_height): Resize and move
3319 1.1 christos the command window to the new size and position.
3320 1.1 christos
3321 1.1 christos 2010-07-28 Balazs Kezes <rlblaster (a] gmail.com>
3322 1.1 christos
3323 1.1 christos * tui/tui-win.c (tui_resize_all): Update the locator's origin's
3324 1.1 christos coordinates.
3325 1.1 christos
3326 1.1 christos 2010-07-28 Balazs Kezes <rlblaster (a] gmail.com>
3327 1.1 christos
3328 1.1 christos * tui/tui-io.c (tui_handle_resize_during_io): Call tui_resize_all
3329 1.1 christos after a detecting a resize.
3330 1.1 christos * tui/tui-win.c (tui_resize_all): Remove tui_set_win_resized_to
3331 1.1 christos call.
3332 1.1 christos
3333 1.1 christos 2010-07-28 Pedro Alves <pedro (a] codesourcery.com>
3334 1.1 christos
3335 1.1 christos * configure.ac: Check for resize_term.
3336 1.1 christos * configure, config.in: Regenerate.
3337 1.1 christos
3338 1.1 christos 2010-07-27 Joel Brobecker <brobecker (a] adacore.com>
3339 1.1 christos
3340 1.1 christos * MAINTAINERS (Write After Approval): Reorder a couple of entries.
3341 1.1 christos
3342 1.1 christos 2010-07-27 Daniel Jacobowitz <dan (a] codesourcery.com>
3343 1.1 christos
3344 1.1 christos * dwarf2read.c (read_string): Rename to ...
3345 1.1 christos (read_direct_string): ... this.
3346 1.1 christos (skip_one_die, read_attribute_value, dwarf_decode_line_header)
3347 1.1 christos (dwarf_decode_lines, dwarf_decode_macros): Adjust.
3348 1.1 christos
3349 1.1 christos 2010-07-27 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3350 1.1 christos
3351 1.1 christos * linux-nat.c (linux_nat_lp_status_is_event): New function.
3352 1.1 christos (count_events_callback, select_event_lwp_callback)
3353 1.1 christos (cancel_breakpoints_callback, linux_nat_wait_1): Use it.
3354 1.1 christos
3355 1.1 christos 2010-07-27 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3356 1.1 christos
3357 1.1 christos * ia64-linux-nat.c (ia64_linux_status_is_event): New function.
3358 1.1 christos (_initialize_ia64_linux_nat): Install it.
3359 1.1 christos * linux-nat.c (sigtrap_is_event, linux_nat_status_is_event)
3360 1.1 christos (linux_nat_set_status_is_event): New.
3361 1.1 christos (stop_wait_callback, count_events_callback, select_event_lwp_callback)
3362 1.1 christos cancel_breakpoints_callback, linux_nat_filter_event)
3363 1.1 christos (linux_nat_wait_1): Use linux_nat_status_is_event.
3364 1.1 christos * linux-nat.h (linux_nat_set_status_is_event): New prototype.
3365 1.1 christos
3366 1.1 christos 2010-07-27 Tom Tromey <tromey (a] redhat.com>
3367 1.1 christos
3368 1.1 christos * NEWS: Mention labels, .gdb_index.
3369 1.1 christos
3370 1.1 christos 2010-07-28 CHENG Renquan <rqcheng (a] smu.edu.sg>
3371 1.1 christos
3372 1.1 christos * cli/cli-cmds.c (disassemble_command): Add support of disassemble
3373 1.1 christos "start,+length" form of arguments.
3374 1.1 christos * NEWS: Add "Changed commands" (disassemble) section for "Changes
3375 1.1 christos since GDB 7.1"; and merge two separated paragraphs of disassemble
3376 1.1 christos description in "Changes in GDB 7.0".
3377 1.1 christos
3378 1.1 christos 2010-07-27 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3379 1.1 christos
3380 1.1 christos * top.c (input_from_terminal_p): Return 0 on BATCH_FLAG.
3381 1.1 christos * utils.c (defaulted_query): Do not explicitly check for BATCH_FLAG.
3382 1.1 christos (fputs_maybe_filtered): Do not do filtering also on
3383 1.1 christos ! INPUT_FROM_TERMINAL_P.
3384 1.1 christos
3385 1.1 christos 2010-07-27 Joel Brobecker <brobecker (a] adacore.com>
3386 1.1 christos
3387 1.1 christos * dwarf2read.c (dw2_find_pc_sect_symtab): Remove trailing newline
3388 1.1 christos in warning message.
3389 1.1 christos
3390 1.1 christos 2010-07-27 Phil Muldoon <pmuldoon (a] redhat.com>
3391 1.1 christos
3392 1.1 christos * python/py-value.c (valpy_call): New Function.
3393 1.1 christos
3394 1.1 christos 2010-07-27 Ken Werner <ken.werner (a] de.ibm.com>
3395 1.1 christos
3396 1.1 christos * dwarf2read.c (dwarf2_read_index): Initialize the types_list and
3397 1.1 christos types_list_elements variables.
3398 1.1 christos
3399 1.1 christos 2010-07-26 Tom Tromey <tromey (a] redhat.com>
3400 1.1 christos
3401 1.1 christos * dwarf2loc.c (locexpr_describe_location_piece): Also recognize
3402 1.1 christos TLS with DW_OP_const4u or DW_OP_const8u.
3403 1.1 christos
3404 1.1 christos 2010-07-26 Thiago Jung Bauermann <bauerman (a] br.ibm.com>
3405 1.1 christos
3406 1.1 christos * ppc-linux-nat.c (store_vsx_register): Use PTRACE_GETVSXREGS to get
3407 1.1 christos VSX registers contents.
3408 1.1 christos
3409 1.1 christos 2010-07-26 Jerome Guitton <guitton (a] adacore.com>
3410 1.1 christos
3411 1.1 christos * dwarf2read.c (add_partial_symbol): Do not add a global variable if
3412 1.1 christos its adress is null. Add comment to explain why.
3413 1.1 christos (new_symbol): Ditto.
3414 1.1 christos
3415 1.1 christos 2010-07-25 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3416 1.1 christos
3417 1.1 christos * linux-nat.c (linux_nat_do_thread_registers): Convert STOP_SIGNAL to
3418 1.1 christos the host signal first.
3419 1.1 christos
3420 1.1 christos 2010-07-23 Tom Tromey <tromey (a] redhat.com>
3421 1.1 christos
3422 1.1 christos * dwarf2read.c (struct dwarf2_per_objfile) <n_type_comp_units,
3423 1.1 christos type_comp_units>: New fields.
3424 1.1 christos (dw2_get_cu): New function.
3425 1.1 christos (create_cus_from_index): Remove unused argument.
3426 1.1 christos (create_signatured_type_hash_from_index): New function.
3427 1.1 christos (create_addrmap_from_index): Update.
3428 1.1 christos (dwarf2_read_index): Handle version 2.
3429 1.1 christos (dw2_find_last_source_symtab, dw2_forget_cached_source_info)
3430 1.1 christos (dw2_lookup_symtab, dw2_do_expand_symtabs_matching)
3431 1.1 christos (dw2_print_stats, dw2_expand_all_symtabs)
3432 1.1 christos (dw2_expand_symtabs_with_filename, dw2_find_symbol_file)
3433 1.1 christos (dw2_expand_symtabs_matching, dw2_map_symbol_filenames): Update.
3434 1.1 christos (dwarf2_initialize_objfile): Call create_debug_types_hash_table.
3435 1.1 christos (allocate_signatured_type_hash_table): New function.
3436 1.1 christos (add_signatured_type_cu_to_list): Likewise.
3437 1.1 christos (create_debug_types_hash_table): Use them. Set type_comp_units.
3438 1.1 christos (read_signatured_type): Ensure section data is available.
3439 1.1 christos (add_address_entry): Don't record empty ranges.
3440 1.1 christos (struct signatured_type_index_data): New.
3441 1.1 christos (write_one_signatured_type): New function.
3442 1.1 christos (write_psymtabs_to_index): Write type CUs.
3443 1.1 christos (save_gdb_index_command): Update comment.
3444 1.1 christos (process_type_comp_unit): Move inititalization of
3445 1.1 christos from_debug_types...
3446 1.1 christos (create_debug_types_hash_table): ... here.
3447 1.1 christos
3448 1.1 christos 2010-07-23 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3449 1.1 christos
3450 1.1 christos * gdb_gcore.sh (tmpfile): Remove the variable, its initialization,
3451 1.1 christos cleanup and generating of gdb script to it.
3452 1.1 christos (gdb): Use redirection from /dev/null. Use --nx. Turn off pagination
3453 1.1 christos and terminal size. Convert $tmpfile to a series of -ex-es.
3454 1.1 christos
3455 1.1 christos 2010-07-23 Keith Seitz <keiths (a] redhat.com>
3456 1.1 christos
3457 1.1 christos * symtab.c (basic_lookup_transparent_type): Call pre-expand
3458 1.1 christos hook for STATIC_BLOCK types, too.
3459 1.1 christos
3460 1.1 christos 2010-07-23 Keith Seitz <keiths (a] redhat.com>
3461 1.1 christos
3462 1.1 christos * dwarf2read.c: Remove unused typedef dwarf2_cu_per_cu_data_ptr
3463 1.1 christos and vector definition.
3464 1.1 christos
3465 1.1 christos 2010-07-23 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3466 1.1 christos
3467 1.1 christos * linux-nat.c (cancel_breakpoint): Remove unused forward declaration.
3468 1.1 christos
3469 1.1 christos 2010-07-22 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3470 1.1 christos
3471 1.1 christos * dwarf2read.c: Include completer.h.
3472 1.1 christos (save_gdb_index_command): Use matching usage command name.
3473 1.1 christos (_initialize_dwarf2_read): New variable c, initialize it by add_cmd.
3474 1.1 christos Set filename_completer for it.
3475 1.1 christos
3476 1.1 christos 2010-07-22 Tom Tromey <tromey (a] redhat.com>
3477 1.1 christos
3478 1.1 christos * dwarf2read.c (create_debug_types_hash_table): Set objfile on
3479 1.1 christos type signature's per-CU data.
3480 1.1 christos
3481 1.1 christos 2010-07-22 Pedro Alves <pedro (a] codesourcery.com>
3482 1.1 christos
3483 1.1 christos * NEWS: Mention target reported shared libraries support by
3484 1.1 christos default.
3485 1.1 christos
3486 1.1 christos 2010-07-21 Pedro Alves <pedro (a] codesourcery.com>
3487 1.1 christos
3488 1.1 christos PR symtab/11827
3489 1.1 christos
3490 1.1 christos Revert:
3491 1.1 christos 2010-05-21 Pierre Muller <muller (a] ics.u-strasbg.fr>
3492 1.1 christos * dwarf2read.c (process_die): Also allow DW_TAG_const_type
3493 1.1 christos and DW_TAG_volatile_type.
3494 1.1 christos (new_symbol): Likewise.
3495 1.1 christos
3496 1.1 christos 2010-07-21 Sami Wagiaalla <swagiaal (a] redhat.com>
3497 1.1 christos
3498 1.1 christos * eval.c (evaluate_subexp_standard): Disabled evaluation of C++
3499 1.1 christos function symbols before overload resolution.
3500 1.1 christos
3501 1.1 christos 2010-07-21 Pedro Alves <pedro (a] codesourcery.com>
3502 1.1 christos
3503 1.1 christos * breakpoint.c (bptype_string): New, abstracted out from
3504 1.1 christos print_one_breakpoint_location.
3505 1.1 christos (print_one_breakpoint_location): Adjust.
3506 1.1 christos (breakpoint_1): Adjust the type column width dynamically.
3507 1.1 christos
3508 1.1 christos 2010-07-20 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3509 1.1 christos
3510 1.1 christos * symfile.c (find_separate_debug_file_by_debuglink): Remove
3511 1.1 christos a gdb_assert call, new comment.
3512 1.1 christos
3513 1.1 christos 2010-07-20 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3514 1.1 christos
3515 1.1 christos * linux-nat.c (linux_handle_extended_wait): Handle case when
3516 1.1 christos event == PTRACE_EVENT_CLONE && stopping && WSTOPSIG (status) != SIGSTOP.
3517 1.1 christos
3518 1.1 christos 2010-07-20 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3519 1.1 christos
3520 1.1 christos Code cleanup.
3521 1.1 christos * linux-nat.c (linux_nat_wait_1): Reset STATUS after calling
3522 1.1 christos linux_nat_wait_1. Use always LP->STATUS afterwards.
3523 1.1 christos
3524 1.1 christos 2010-07-20 Hui Zhu <teawater (a] gmail.com>
3525 1.1 christos
3526 1.1 christos * inf-ptrace.c (inf_ptrace_create_inferior): Initialize back_to.
3527 1.1 christos (inf_ptrace_attach): Ditto.
3528 1.1 christos
3529 1.1 christos 2010-07-19 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3530 1.1 christos
3531 1.1 christos Make core files the process_stratum.
3532 1.1 christos * corefile.c (core_target): New variable.
3533 1.1 christos (core_file_command): Remove variable t, use core_target.
3534 1.1 christos * corelow.c (core_ops): Make it static.
3535 1.1 christos (init_core_ops): Change to process_stratum. Initialize CORE_TARGET.
3536 1.1 christos * defs.h (make_cleanup_unpush_target): New prototype.
3537 1.1 christos * gdbarch.h: Regenerate.
3538 1.1 christos * gdbarch.sh (core_pid_to_str): Remove core_stratum from its comment.
3539 1.1 christos * gdbcore.h (core_target): New declaration.
3540 1.1 christos * inf-ptrace.c (inf_ptrace_create_inferior, inf_ptrace_attach): New
3541 1.1 christos variables ops_already_pushed and back_to. Use push_target,
3542 1.1 christos make_cleanup_unpush_target and discard_cleanups calls.
3543 1.1 christos * record.c (record_open): Replace core_stratum by a core_bfd check.
3544 1.1 christos * target.c (target_is_pushed): New function.
3545 1.1 christos (find_core_target): Remove.
3546 1.1 christos * target.h (enum strata) <core_stratum>: Remove.
3547 1.1 christos (target_is_pushed): New declaration.
3548 1.1 christos (find_core_target): Remove declaration.
3549 1.1 christos * tracepoint.c (init_tfile_ops) <to_stratum>: Remove comment.
3550 1.1 christos * utils.c (do_unpush_target, make_cleanup_unpush_target): New functions.
3551 1.1 christos
3552 1.1 christos 2010-07-19 Hui Zhu <teawater (a] gmail.com>
3553 1.1 christos
3554 1.1 christos * breakpoint.c (single_step_breakpoints_inserted): New
3555 1.1 christos function.
3556 1.1 christos * breakpoint.h (single_step_breakpoints_inserted): Extern.
3557 1.1 christos * infrun.c (maybe_software_singlestep): Add check code.
3558 1.1 christos * record.c (record_resume): Add code for software single step.
3559 1.1 christos (record_wait): Ditto.
3560 1.1 christos
3561 1.1 christos 2010-07-18 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3562 1.1 christos
3563 1.1 christos * linux-nat.c (linux_handle_extended_wait): Move variable new_lp into
3564 1.1 christos a more inner block. Remove its unused declaration initializer.
3565 1.1 christos
3566 1.1 christos 2010-07-16 Thiago Jung Bauermann <bauerman (a] br.ibm.com>
3567 1.1 christos
3568 1.1 christos * NEWS: Mention support for the new ptrace interface and hardware
3569 1.1 christos accelerated watchpoint conditions on powerpc-linux.
3570 1.1 christos
3571 1.1 christos 2010-07-16 Ozkan Sezer <sezeroz (a] gmail.com>
3572 1.1 christos
3573 1.1 christos * target.c (debug_to_insert_breakpoint): Instead of casting to unsigned
3574 1.1 christos long and %ld, use core_addr_to_string() and %s to print CORE_ADDR vars
3575 1.1 christos and host_address_to_string() and %s for pointers.
3576 1.1 christos (debug_to_remove_breakpoint): Likewise.
3577 1.1 christos (debug_to_region_ok_for_hw_watchpoint): Likewise.
3578 1.1 christos (debug_to_can_accel_watchpoint_condition): Likewise.
3579 1.1 christos (debug_to_stopped_data_address): Likewise.
3580 1.1 christos (debug_to_watchpoint_addr_within_range): Likewise.
3581 1.1 christos (debug_to_insert_hw_breakpoint): Likewise.
3582 1.1 christos (debug_to_remove_hw_breakpoint): Likewise.
3583 1.1 christos (debug_to_insert_watchpoint): Likewise.
3584 1.1 christos (debug_to_remove_watchpoint): Likewise.
3585 1.1 christos
3586 1.1 christos 2010-07-16 Sami Wagiaalla <swagiaal (a] redhat.com>
3587 1.1 christos
3588 1.1 christos * symtab.h (symbol_set_demangled_name): Now takes an optional objfile*
3589 1.1 christos argument.
3590 1.1 christos (cplus_specific): New struct.
3591 1.1 christos * symtab.c (symbol_set_demangled_name): Updated.
3592 1.1 christos Use cplus_specific for cplus symbols.
3593 1.1 christos (symbol_get_demangled_name): Retrive the name from the cplus_specific
3594 1.1 christos struct for cplus symbols.
3595 1.1 christos (symbol_init_language_specific): Set cplus_specific for cplus symbols.
3596 1.1 christos (symbol_set_names): Pass objfile to symbol_set_demangled_name.
3597 1.1 christos * symtab.c (symbol_init_cplus_specific): New function.
3598 1.1 christos
3599 1.1 christos 2010-07-16 Sami Wagiaalla <swagiaal (a] redhat.com>
3600 1.1 christos
3601 1.1 christos * symtab.h (symbol_set_demangled_name): New function.
3602 1.1 christos (symbol_get_demangled_name): New function.
3603 1.1 christos * symtab.c (symbol_set_demangled_name): New function.
3604 1.1 christos (symbol_get_demangled_name): New function.
3605 1.1 christos (symbol_init_language_specific): Use demangled_name setter and getter.
3606 1.1 christos (symbol_set_names): Ditto.
3607 1.1 christos (symbol_natural_name): Ditto.
3608 1.1 christos (symbol_demangled_name): Ditto.
3609 1.1 christos * dwarf2read.c (new_symbol): Ditto.
3610 1.1 christos
3611 1.1 christos 2010-07-16 Sami Wagiaalla <swagiaal (a] redhat.com>
3612 1.1 christos
3613 1.1 christos * symtab.h: Renamed cplus_specific to mangled_lang.
3614 1.1 christos * symtab.c (symbol_init_language_specific): Updated.
3615 1.1 christos (symbol_set_names): Updated.
3616 1.1 christos (symbol_natural_name): Updated.
3617 1.1 christos (symbol_demangled_name): Updated.
3618 1.1 christos * ada-lang.c (ada_decode_symbol): Updated.
3619 1.1 christos * dwarf2read.c (new_symbol): Updated.
3620 1.1 christos
3621 1.1 christos 2010-07-14 Ken Werner <ken.werner (a] de.ibm.com>
3622 1.1 christos
3623 1.1 christos * valops.c (value_assign): Do not call to value_coerce_to_target.
3624 1.1 christos (value_must_coerce_to_target): Return 0 in case of TYPE_VECTOR.
3625 1.1 christos
3626 1.1 christos 2010-07-14 Ken Werner <ken.werner (a] de.ibm.com>
3627 1.1 christos
3628 1.1 christos * MAINTAINERS: Add myself for write after approval privileges.
3629 1.1 christos
3630 1.1 christos 2010-07-13 Emmanuel Thom <Emmanuel.Thome (a] gmail.com>
3631 1.1 christos
3632 1.1 christos * c-valprint.c (c_val_print): Add embedded_offset to address in
3633 1.1 christos call to val_print_array_elements.
3634 1.1 christos
3635 1.1 christos 2010-07-13 Tom Tromey <tromey (a] redhat.com>
3636 1.1 christos
3637 1.1 christos * dwarf2read.c (dwarf2_read_index): Correctly set 'total_size'.
3638 1.1 christos
3639 1.1 christos 2010-07-13 Tom Tromey <tromey (a] redhat.com>
3640 1.1 christos
3641 1.1 christos * dwarf2read.c (dwarf2_per_cu_text_offset): Fix reference to
3642 1.1 christos objfile.
3643 1.1 christos
3644 1.1 christos 2010-07-13 Tom Tromey <tromey (a] redhat.com>
3645 1.1 christos
3646 1.1 christos * symfile.c (set_initial_language): Update.
3647 1.1 christos (deduce_language_from_filename): Argument type now const.
3648 1.1 christos * symtab.h (find_main_filename): Update.
3649 1.1 christos (deduce_language_from_filename): Update.
3650 1.1 christos * symtab.c (find_main_filename): Make result const.
3651 1.1 christos * dwarf2read.c (dw2_find_symbol_file): Change return type.
3652 1.1 christos * psymtab.c (find_symbol_file_from_partial): Change return type.
3653 1.1 christos * symfile.h (struct quick_symbol_functions) <find_symbol_file>:
3654 1.1 christos Make result const.
3655 1.1 christos
3656 1.1 christos 2010-07-13 Tom Tromey <tromey (a] redhat.com>
3657 1.1 christos
3658 1.1 christos * breakpoint.c (save_cmdlist): No longer static.
3659 1.1 christos * gdbcmd.h (save_cmdlist): Declare.
3660 1.1 christos * symfile.c (symbol_file_add_with_addrs_or_offsets): Set
3661 1.1 christos OBJF_READNOW on objfile if readnow_symbol_files.
3662 1.1 christos * elfread.c (elf_symfile_read): Use dwarf2_initialize_objfile.
3663 1.1 christos (elf_sym_fns_gdb_index): New global.
3664 1.1 christos * dwarf2read.c: Include exceptions.h.
3665 1.1 christos (offset_type): New.
3666 1.1 christos (struct mapped_index): New.
3667 1.1 christos (dwarf2_per_cu_data_ptr): New typedef.
3668 1.1 christos (struct dwarf2_per_objfile) <using_index, index_table, gdb_index>:
3669 1.1 christos New fields.
3670 1.1 christos (GDB_INDEX_SECTION): New define.
3671 1.1 christos (struct dwarf2_per_cu_quick_data): New.
3672 1.1 christos (struct dwarf2_per_cu_data) <objfile>: New field.
3673 1.1 christos <psymtab>: Removed.
3674 1.1 christos <v>: New field.
3675 1.1 christos (byte_swap): New function.
3676 1.1 christos (MAYBE_SWAP): New macro.
3677 1.1 christos (INDEX_SUFFIX): New macro.
3678 1.1 christos (dw2_do_instantiate_symtab): New function.
3679 1.1 christos (dw2_instantiate_symtab): Likewise.
3680 1.1 christos (create_cus_from_index): Likewise.
3681 1.1 christos (create_addrmap_from_index): Likewise.
3682 1.1 christos (mapped_index_string_hash): Likewise.
3683 1.1 christos (find_slot_in_mapped_hash): Likewise.
3684 1.1 christos (dwarf2_read_index): Likewise.
3685 1.1 christos (dw2_setup): Likewise.
3686 1.1 christos (dw2_require_line_header): Likewise.
3687 1.1 christos (dw2_require_full_path): Likewise.
3688 1.1 christos (dw2_find_last_source_symtab): Likewise.
3689 1.1 christos (dw2_forget_cached_source_info): Likewise.
3690 1.1 christos (dw2_lookup_symtab): Likewise.
3691 1.1 christos (dw2_lookup_symbol): Likewise.
3692 1.1 christos (dw2_do_expand_symtabs_matching): Likewise.
3693 1.1 christos (dw2_pre_expand_symtabs_matching): Likewise.
3694 1.1 christos (dw2_print_stats): Likewise.
3695 1.1 christos (dw2_dump): Likewise.
3696 1.1 christos (dw2_relocate): Likewise.
3697 1.1 christos (dw2_expand_symtabs_for_function): Likewise.
3698 1.1 christos (dw2_expand_all_symtabs): Likewise.
3699 1.1 christos (dw2_expand_symtabs_with_filename): Likewise.
3700 1.1 christos (dw2_find_symbol_file): Likewise.
3701 1.1 christos (dw2_map_ada_symtabs): Likewise.
3702 1.1 christos (dw2_expand_symtabs_matching): Likewise.
3703 1.1 christos (dw2_find_pc_sect_symtab): Likewise.
3704 1.1 christos (dw2_map_symbol_names): Likewise.
3705 1.1 christos (dw2_map_symbol_filenames): Likewise.
3706 1.1 christos (dw2_has_symbols): Likewise.
3707 1.1 christos (dwarf2_gdb_index_functions): New global.
3708 1.1 christos (dwarf2_initialize_objfile): New function.
3709 1.1 christos (process_psymtab_comp_unit): Update.
3710 1.1 christos (add_partial_subprogram): Likewise.
3711 1.1 christos (dwarf2_psymtab_to_symtab): Likewise.
3712 1.1 christos (psymtab_to_symtab_1): Use dw2_do_instantiate_symtab.
3713 1.1 christos (process_full_comp_unit): Update.
3714 1.1 christos (find_file_and_directory): New function.
3715 1.1 christos (read_file_scope): Use find_file_and_directory.
3716 1.1 christos (dwarf2_per_cu_objfile): Update.
3717 1.1 christos (dwarf2_per_cu_addr_size): Update.
3718 1.1 christos (dwarf2_per_cu_offset_size): Update.
3719 1.1 christos (dwarf2_free_objfile): Free the index, if needed.
3720 1.1 christos (dwarf2_per_objfile_free): Unmap the index, if needed.
3721 1.1 christos (struct strtab_entry): New.
3722 1.1 christos (hash_strtab_entry): New function.
3723 1.1 christos (eq_strtab_entry): Likewise.
3724 1.1 christos (create_strtab): Likewise.
3725 1.1 christos (add_string): Likewise.
3726 1.1 christos (struct symtab_index_entry): New.
3727 1.1 christos (struct mapped_symtab): New.
3728 1.1 christos (hash_symtab_entry): New function.
3729 1.1 christos (eq_symtab_entry): Likewise.
3730 1.1 christos (delete_symtab_entry): Likewise.
3731 1.1 christos (create_index_table): Likewise.
3732 1.1 christos (create_mapped_symtab): Likewise.
3733 1.1 christos (cleanup_mapped_symtab): Likewise.
3734 1.1 christos (find_slot): Likewise.
3735 1.1 christos (hash_expand): Likewise.
3736 1.1 christos (add_index_entry): Likewise.
3737 1.1 christos (add_indices_to_cpool): Likewise.
3738 1.1 christos (write_hash_table): Likewise.
3739 1.1 christos (add_address_entry): Likewise.
3740 1.1 christos (write_psymbols): Likewise.
3741 1.1 christos (write_obstack): Likewise.
3742 1.1 christos (unlink_if_set): Likewise.
3743 1.1 christos (write_psymtabs_to_index): Likewise.
3744 1.1 christos (save_gdb_index_command): Likewise.
3745 1.1 christos (_initialize_dwarf2_read): Install "save gdb-index"
3746 1.1 christos command.
3747 1.1 christos (create_all_comp_units): Initialize 'objfile' field of CU.
3748 1.1 christos (dwarf2_locate_sections): Check for .gdb_index.
3749 1.1 christos * psymtab.h (dwarf2_gdb_index_functions): Declare.
3750 1.1 christos * symfile.h (dwarf2_initialize_objfile): Declare.
3751 1.1 christos
3752 1.1 christos 2010-07-13 Tom Tromey <tromey (a] redhat.com>
3753 1.1 christos
3754 1.1 christos * symtab.c (lookup_symbol_aux_symtabs): Call pre-expand hook.
3755 1.1 christos (basic_lookup_transparent_type): Likewise.
3756 1.1 christos * symfile.h (struct quick_symbol_functions)
3757 1.1 christos <pre_expand_symtabs_matching>: New field.
3758 1.1 christos * psymtab.c (pre_expand_symtabs_matching_psymtabs): New function.
3759 1.1 christos (psym_functions): Update.
3760 1.1 christos
3761 1.1 christos 2010-07-13 Tom Tromey <tromey (a] redhat.com>
3762 1.1 christos
3763 1.1 christos PR breakpoints/8357:
3764 1.1 christos * symtab.h (domain_enum_tag) <LABEL_DOMAIN>: Update comment.
3765 1.1 christos * linespec.c (decode_line_1): Update comment. Call decode_label.
3766 1.1 christos (decode_label): New function.
3767 1.1 christos (symbol_found): Handle LOC_LABEL.
3768 1.1 christos * dwarf2read.c (new_symbol) <DW_TAG_label>: Set symbol's type and
3769 1.1 christos domain. Call add_symbol_to_list.
3770 1.1 christos
3771 1.1 christos 2010-07-13 Tom Tromey <tromey (a] redhat.com>
3772 1.1 christos
3773 1.1 christos * dwarf2loc.h (dwarf2_per_cu_text_offset): Declare.
3774 1.1 christos * dwarf2loc.c (find_location_expression): Use
3775 1.1 christos dwarf2_per_cu_text_offset.
3776 1.1 christos (dwarf2_evaluate_loc_desc): Likewise.
3777 1.1 christos (dwarf2_loc_desc_needs_frame): Likewise.
3778 1.1 christos (compile_dwarf_to_ax): Likewise.
3779 1.1 christos (loclist_describe_location): Likewise.
3780 1.1 christos * dwarf2read.c (dwarf2_per_cu_text_offset): New function.
3781 1.1 christos (dwarf2_per_cu_objfile): Update comment.
3782 1.1 christos
3783 1.1 christos 2010-07-12 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3784 1.1 christos
3785 1.1 christos * dwarf2read.c (read_subrange_type): Call read_subrange_type.
3786 1.1 christos * p-lang.c (pascal_printstr): Likewise.
3787 1.1 christos
3788 1.1 christos 2010-07-09 Tom Tromey <tromey (a] redhat.com>
3789 1.1 christos
3790 1.1 christos * python/py-prettyprint.c (gdbpy_get_display_hint): Don't use
3791 1.1 christos 'hint' if it is NULL.
3792 1.1 christos
3793 1.1 christos 2010-07-09 Hui Zhu <teawater (a] gmail.com>
3794 1.1 christos
3795 1.1 christos * source.c (print_source_lines_base): Add check for noprint.
3796 1.1 christos
3797 1.1 christos 2010-07-08 Joel Brobecker <brobecker (a] adacore.com>
3798 1.1 christos
3799 1.1 christos * python/python-config.py: Resync with Python 2.7 version of this
3800 1.1 christos script.
3801 1.1 christos
3802 1.1 christos 2010-07-08 Joel Brobecker <brobecker (a] adacore.com>
3803 1.1 christos
3804 1.1 christos * NEWS: Fix typo in section name (s/GDB 7.1/GDB 7.2).
3805 1.1 christos
3806 1.1 christos 2010-07-07 Joel Brobecker <brobecker (a] adacore.com>
3807 1.1 christos
3808 1.1 christos * NEWS: Create a new section for the next release branch.
3809 1.1 christos Rename the section of the current branch, now that it has
3810 1.1 christos been cut.
3811 1.1 christos
3812 1.1 christos 2010-07-07 Joel Brobecker <brobecker (a] adacore.com>
3813 1.1 christos
3814 1.1 christos GDB 7.2 branch created (branch timestamp: 2010-07-07 17:00 UTC)
3815 1.1 christos * version.in: Bump version to 7.2.50.20100707-cvs.
3816 1.1 christos
3817 1.1 christos 2010-07-07 Tom Tromey <tromey (a] redhat.com>
3818 1.1 christos
3819 1.1 christos * dwarf2read.c (dwarf2_const_value) <DW_form_addr>: Create a
3820 1.1 christos LOC_COMPUTED symbol.
3821 1.1 christos * dwarf2loc.c (dwarf2_evaluate_loc_desc): Set new field.
3822 1.1 christos (dwarf2_loc_desc_needs_frame): Likewise.
3823 1.1 christos (compile_dwarf_to_ax) <DW_OP_addr>: Use offset.
3824 1.1 christos * dwarf2expr.h (struct dwarf_expr_context) <offset>: New field.
3825 1.1 christos * dwarf2expr.c (execute_stack_op) <DW_OP_addr>: Use offset.
3826 1.1 christos * dwarf2-frame.c (execute_stack_op): Set 'offset' field. Add
3827 1.1 christos 'offset' argument.
3828 1.1 christos (struct dwarf2_frame_cache) <text_offset>: New field.
3829 1.1 christos (dwarf2_frame_cache): Set new field.
3830 1.1 christos (dwarf2_frame_prev_register): Update.
3831 1.1 christos (dwarf2_frame_sniffer): Update.
3832 1.1 christos (dwarf2_frame_base_sniffer): Update.
3833 1.1 christos (dwarf2_frame_find_fde): Add 'out_offset' argument.
3834 1.1 christos
3835 1.1 christos 2010-07-07 Sergio Durigan Junior <sergiodj (a] linux.vnet.ibm.com>
3836 1.1 christos Thiago Jung Bauermann <bauerman (a] br.ibm.com>
3837 1.1 christos
3838 1.1 christos Support for hw accelerated condition watchpoints in booke powerpc.
3839 1.1 christos
3840 1.1 christos * breakpoint.c (fetch_watchpoint_value): Rename to fetch_subexp_value
3841 1.1 christos and move to eval.c. Change callers.
3842 1.1 christos (insert_bp_location): Pass watchpoint condition in
3843 1.1 christos target_insert_watchpoint.
3844 1.1 christos (remove_breakpoint_1) Pass watchpoint condition in
3845 1.1 christos target_remove_watchpoint.
3846 1.1 christos (watchpoint_locations_match): Call
3847 1.1 christos target_can_accel_watchpoint_condition.
3848 1.1 christos * eval.c: Include wrapper.h.
3849 1.1 christos (fetch_subexp_value): Moved from breakpoint.c.
3850 1.1 christos * ppc-linux-nat.c (ppc_linux_region_ok_for_hw_watchpoint):
3851 1.1 christos Formatting fix.
3852 1.1 christos (can_use_watchpoint_cond_accel): New function.
3853 1.1 christos (calculate_dvc): Likewise.
3854 1.1 christos (num_memory_accesses): Likewise.
3855 1.1 christos (check_condition): Likewise.
3856 1.1 christos (ppc_linux_can_accel_watchpoint_condition): Likewise
3857 1.1 christos (ppc_linux_insert_watchpoint): Call can_use_watchpoint_cond_accel,
3858 1.1 christos check_condition and calculate_dvc.
3859 1.1 christos (ppc_linux_remove_watchpoint): Likewise.
3860 1.1 christos (_initialize_ppc_linux_nat): Set to_can_accel_watchpoint_condition to
3861 1.1 christos ppc_linux_can_accel_watchpoint_condition
3862 1.1 christos * target.c (debug_to_insert_watchpoint): Add argument for watchpoint
3863 1.1 christos condition.
3864 1.1 christos (debug_to_remove_watchpoint): Likewise.
3865 1.1 christos (debug_to_can_accel_watchpoint_condition): New function.
3866 1.1 christos (update_current_target): Set to_can_accel_watchpoint_condition.
3867 1.1 christos (setup_target_debug): Set to_can_accel_watchpoint_condition.
3868 1.1 christos * target.h: Add opaque declaration for struct expression.
3869 1.1 christos (struct target_ops) <to_insert_watchpoint>,
3870 1.1 christos <to_remove_watchpoint>: Add new arguments to pass the watchpoint
3871 1.1 christos <to_can_accel_watchpoint_condition>: New member.
3872 1.1 christos condition. Update all callers and implementations.
3873 1.1 christos (target_can_accel_watchpoint_condition): New macro.
3874 1.1 christos * value.c (free_value_chain): New function.
3875 1.1 christos * value.h (fetch_subexp_value): New prototype.
3876 1.1 christos (free_value_chain): Likewise.
3877 1.1 christos
3878 1.1 christos 2010-07-07 Ulrich Weigand <uweigand (a] de.ibm.com>
3879 1.1 christos
3880 1.1 christos * linux-nat.c (linux_nat_do_thread_registers): Use section size
3881 1.1 christos from gdbarch_core_regset_sections also for .reg if present.
3882 1.1 christos
3883 1.1 christos * amd64-linux-tdep.c (amd64_linux_regset_sections): Fix incorrect
3884 1.1 christos section size for .reg.
3885 1.1 christos * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections): Likewise.
3886 1.1 christos (ppc_linux_vmx_regset_sections): Likewise.
3887 1.1 christos (ppc_linux_fp_regset_sections): Likewise.
3888 1.1 christos (ppc64_linux_vsx_regset_sections): New variable.
3889 1.1 christos (ppc64_linux_vmx_regset_sections): Likewise.
3890 1.1 christos (ppc64_linux_fp_regset_sections): Likewise.
3891 1.1 christos (ppc_linux_init_abi): Install core_regset_section lists appropriate
3892 1.1 christos for current word size.
3893 1.1 christos
3894 1.1 christos 2010-07-06 Joel Brobecker <brobecker (a] adacore.com>
3895 1.1 christos
3896 1.1 christos * server.c (myresume): Make static.
3897 1.1 christos
3898 1.1 christos 2010-07-06 Tom Tromey <tromey (a] redhat.com>
3899 1.1 christos
3900 1.1 christos * configure, config.in: Rebuild.
3901 1.1 christos * configure.ac (HAVE_LIBPYTHON2_7): New define.
3902 1.1 christos * python/python-internal.h: Handle HAVE_LIBPYTHON2_7.
3903 1.1 christos
3904 1.1 christos 2010-07-06 Andreas Schwab <schwab (a] linux-m68k.org>
3905 1.1 christos
3906 1.1 christos * breakpoint.c (_initialize_breakpoint): Add "cl" as alias for
3907 1.1 christos "clear".
3908 1.1 christos
3909 1.1 christos 2010-07-06 Ken Werner <ken.werner (a] de.ibm.com>
3910 1.1 christos
3911 1.1 christos * gdbtypes.h (floatformats_ieee_half): Add declaration.
3912 1.1 christos * gdbtypes.c (floatformats_ieee_half): New variable.
3913 1.1 christos * doublest.c (floatformat_from_length): Set format to
3914 1.1 christos gdbarch_half_format if length matches.
3915 1.1 christos * gdbarch.sh (half_bit): New architecture method.
3916 1.1 christos (half_format): Likewise.
3917 1.1 christos * gdbarch.h: Regenerate.
3918 1.1 christos * gdbarch.c: Likewise.
3919 1.1 christos
3920 1.1 christos 2010-07-05 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3921 1.1 christos Joel Brobecker <brobecker (a] adacore.com>
3922 1.1 christos
3923 1.1 christos Fix re-run of PIE executable, PR shlibs/11776.
3924 1.1 christos * solib-svr4.c (svr4_relocate_main_executable) <symfile_objfile>: Remove
3925 1.1 christos the part of pre-set SYMFILE_OBJFILE->SECTION_OFFSETS.
3926 1.1 christos
3927 1.1 christos 2010-07-05 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3928 1.1 christos Joel Brobecker <brobecker (a] adacore.com>
3929 1.1 christos
3930 1.1 christos * auxv.c (memory_xfer_auxv): Update attach comment.
3931 1.1 christos * solib-svr4.c (svr4_special_symbol_handling): Remove the call to
3932 1.1 christos svr4_relocate_main_executable.
3933 1.1 christos (svr4_solib_create_inferior_hook): Make the call to
3934 1.1 christos svr4_relocate_main_executable unconditional.
3935 1.1 christos
3936 1.1 christos 2010-07-05 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3937 1.1 christos Joel Brobecker <brobecker (a] adacore.com>
3938 1.1 christos
3939 1.1 christos * auxv.c (ld_so_xfer_auxv): Do not error on failed read of data_address.
3940 1.1 christos
3941 1.1 christos 2010-07-05 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3942 1.1 christos Joel Brobecker <brobecker (a] adacore.com>
3943 1.1 christos
3944 1.1 christos Fix attaching to PIEs prelinked on the disk after the process was
3945 1.1 christos started.
3946 1.1 christos * solib-svr4.c (svr4_exec_displacement): New variable arch_size.
3947 1.1 christos Verify it against bfd_get_arch_size. Try to match arbitrary
3948 1.1 christos displacement for the phdrs comparison.
3949 1.1 christos
3950 1.1 christos 2010-07-02 Tom Tromey <tromey (a] redhat.com>
3951 1.1 christos
3952 1.1 christos PR exp/11780:
3953 1.1 christos * libunwind-frame.c (libunwind_frame_prev_register): Don't set
3954 1.1 christos value as optimized-out.
3955 1.1 christos
3956 1.1 christos 2010-07-02 Ulrich Weigand <uweigand (a] de.ibm.com>
3957 1.1 christos Thiago Jung Bauermann <bauerman (a] br.ibm.com>
3958 1.1 christos
3959 1.1 christos * breakpoint.c (can_use_hardware_watchpoint): Answer "what does this
3960 1.1 christos represent?" question in comment. Change comment to a proper sentence.
3961 1.1 christos
3962 1.1 christos 2010-07-02 Ken Werner <ken.werner (a] de.ibm.com>
3963 1.1 christos
3964 1.1 christos * c-valprint.c (c_val_print): Fix printing of character vectors.
3965 1.1 christos
3966 1.1 christos 2010-07-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
3967 1.1 christos
3968 1.1 christos * spu-tdep.c (spu_catch_start): Adjust the caller of changed
3969 1.1 christos create_breakpoint prototype.
3970 1.1 christos
3971 1.1 christos 2010-07-01 Pedro Alves <pedro (a] codesourcery.com>
3972 1.1 christos
3973 1.1 christos * breakpoint.c (BREAK_ARGS_HELP, _initialize_breakpoint): Clarify
3974 1.1 christos usefulness suggestion of multiple breakpoints at same location.
3975 1.1 christos
3976 1.1 christos 2010-07-01 Pedro Alves <pedro (a] codesourcery.com>
3977 1.1 christos
3978 1.1 christos * breakpoint.c (BREAK_ARGS_HELP): Add missing `the'.
3979 1.1 christos
3980 1.1 christos 2010-07-01 Pedro Alves <pedro (a] codesourcery.com>
3981 1.1 christos
3982 1.1 christos * dwarf2loc.c (locexpr_tracepoint_var_ref)
3983 1.1 christos (loclist_tracepoint_var_ref): Handle optimized out values.
3984 1.1 christos
3985 1.1 christos 2010-07-01 Pedro Alves <pedro (a] codesourcery.com>
3986 1.1 christos
3987 1.1 christos * breakpoint.c (update_watchpoint, _initialize_breakpoint): Remove
3988 1.1 christos unnecessary space in string.
3989 1.1 christos * filesystem.c (_initialize_filesystem): Ditto.
3990 1.1 christos * frame.c (_initialize_frame): Ditto.
3991 1.1 christos * infcmd.c (step_once): Ditto.
3992 1.1 christos * infrun.c (_initialize_infrun): Ditto.
3993 1.1 christos * linux-nat.c (linux_child_follow_fork): Ditto.
3994 1.1 christos * maint.c (maintenance_deprecate): Ditto.
3995 1.1 christos * memattr.c (_initialize_mem): Ditto.
3996 1.1 christos * mips-tdep.c (_initialize_mips_tdep): Ditto.
3997 1.1 christos * monitor.c (monitor_open): Ditto.
3998 1.1 christos * procfs.c (procfs_xfer_memory): Ditto.
3999 1.1 christos * reverse.c (bookmarks_info): Ditto.
4000 1.1 christos * sh64-tdep.c (sh64_show_media_regs, sh64_show_compact_regs): Ditto.
4001 1.1 christos * stack.c (_initialize_stack): Ditto.
4002 1.1 christos * tracepoint.c (_initialize_tracepoint): Ditto.
4003 1.1 christos * xtensa-tdep.c (xtensa_supply_gregset,
4004 1.1 christos xtensa_regset_from_core_section): Ditto.
4005 1.1 christos
4006 1.1 christos 2010-07-01 Tom Tromey <tromey (a] redhat.com>
4007 1.1 christos
4008 1.1 christos * value.h (struct lval_funcs) <check_any_valid>: Rename from
4009 1.1 christos check_all_valid.
4010 1.1 christos * value.c (value_entirely_optimized_out): Invert result. Update
4011 1.1 christos for new function name.
4012 1.1 christos
4013 1.1 christos 2010-07-01 Pedro Alves <pedro (a] codesourcery.com>
4014 1.1 christos
4015 1.1 christos Static tracepoints support.
4016 1.1 christos
4017 1.1 christos * NEWS: Mention new support for static tracepoints.
4018 1.1 christos (New packets): Mention qTfSTM, qTsSTM, qTSTMat and
4019 1.1 christos qXfer:statictrace:read.
4020 1.1 christos (New features in the GDB remote stub, GDBserver): Mention static
4021 1.1 christos tracepoints support using an UST based backend.
4022 1.1 christos (New commands): Mention "info static-tracepoint-markers" and
4023 1.1 christos "strace".
4024 1.1 christos * breakpoint.c (is_marker_spec): New.
4025 1.1 christos (is_tracepoint): Handle static tracepoints.
4026 1.1 christos (validate_commands_for_breakpoint): Static tracepoints can't do
4027 1.1 christos while-stepping.
4028 1.1 christos (static_tracepoints_here): New.
4029 1.1 christos (bpstat_what): Handle static tracepoints.
4030 1.1 christos (print_one_breakpoint_location, allocate_bp_location, mention):
4031 1.1 christos Ditto.
4032 1.1 christos (create_breakpoint_sal): Ditto.
4033 1.1 christos (decode_static_tracepoint_spec): New.
4034 1.1 christos (create_breakpoint): Replace `hardwareflag', and `traceflag' with
4035 1.1 christos `type_wanted'. Adjust. Handle static tracepoint marker
4036 1.1 christos locations.
4037 1.1 christos (break_command_1): Adjust.
4038 1.1 christos (update_static_tracepoint): New.
4039 1.1 christos (update_breakpoint_locations): Handle static tracepoints.
4040 1.1 christos (breakpoint_re_set_one): Handle static tracepoint marker
4041 1.1 christos locations.
4042 1.1 christos (disable_command, enable_command): Handle static tracepoints.
4043 1.1 christos (trace_command, ftrace_command): Adjust.
4044 1.1 christos (strace_command): New.
4045 1.1 christos (create_tracepoint_from_upload): Adjust.
4046 1.1 christos (save_breakpoints): Handle static tracepoints.
4047 1.1 christos (_initialize_breakpoint): Install the "strace" command.
4048 1.1 christos * breakpoint.h (enum bptype): New bp_static_tracepoint type.
4049 1.1 christos (struct breakpoint): New fields static_trace_marker_id and
4050 1.1 christos static_trace_marker_id_idx.
4051 1.1 christos (breakpoints_here_p): Declare.
4052 1.1 christos (create_breakpoint): Adjust.
4053 1.1 christos (static_tracepoints_here): Declare.
4054 1.1 christos * remote.c (struct remote_state) <static_tracepoints>: New field.
4055 1.1 christos (PACKET_qXfer_statictrace_read, PACKET_StaticTracepoints): New.
4056 1.1 christos (remote_static_tracepoint_marker_at): New.
4057 1.1 christos (remote_static_tracepoint_markers_by_strid): New.
4058 1.1 christos (remote_static_tracepoint_feature): New.
4059 1.1 christos (remote_disconnected_tracing_feature): Handle "StaticTracepoints".
4060 1.1 christos (remote_xfer_partial): Handle TARGET_OBJECT_STATIC_TRACE_DATA.
4061 1.1 christos (remote_supports_static_tracepoints): New.
4062 1.1 christos (remote_download_tracepoint): Download static tracepoints.
4063 1.1 christos (init_remote_ops): Install remote_static_tracepoint_marker_at and
4064 1.1 christos remote_static_tracepoint_markers_by_strid.
4065 1.1 christos (_initialize_remote): Install set|show remote static-tracepoints,
4066 1.1 christos and set|show remote read-sdata-object commands.
4067 1.1 christos * target.c (update_current_target): Inherit and default
4068 1.1 christos to_static_tracepoint_marker_at, and
4069 1.1 christos to_static_tracepoint_markers_by_strid.
4070 1.1 christos * target.h (static_tracepoint_marker): Forward declare.
4071 1.1 christos (enum target_object): New object TARGET_OBJECT_STATIC_TRACE_DATA.
4072 1.1 christos (static_tracepoint_marker_p): New typedef.
4073 1.1 christos (DEF_VEC_P(static_tracepoint_marker_p)): New VEC type.
4074 1.1 christos (struct target_ops): New fields to_static_tracepoint_marker_at and
4075 1.1 christos to_static_tracepoint_markers_by_strid.
4076 1.1 christos (target_static_tracepoint_marker_at)
4077 1.1 christos (target_static_tracepoint_markers_by_strid): New.
4078 1.1 christos * tracepoint.c: Include source.h.
4079 1.1 christos (validate_actionline): Handle $_sdata.
4080 1.1 christos (struct collection_list): New field strace_data.
4081 1.1 christos (add_static_trace_data): New.
4082 1.1 christos (clear_collection_list): Clear strace_data.
4083 1.1 christos (stringify_collection_list): Account for a possible static trace
4084 1.1 christos data collection.
4085 1.1 christos (encode_actions_1): Encode an $_sdata collection.
4086 1.1 christos (parse_tracepoint_definition): Handle static tracepoints.
4087 1.1 christos (parse_static_tracepoint_marker_definition): New.
4088 1.1 christos (release_static_tracepoint_marker): New.
4089 1.1 christos (print_one_static_tracepoint_marker): New.
4090 1.1 christos (info_static_tracepoint_markers_command): New.
4091 1.1 christos (sdata_make_value): New.
4092 1.1 christos (_initialize_tracepoint): Create the $_sdata convenience variable.
4093 1.1 christos Add the "info static-tracepoint-markers" command.
4094 1.1 christos Mention $_sdata in the "collect" command's help output.
4095 1.1 christos * tracepoint.h (struct static_tracepoint_marker): New.
4096 1.1 christos (parse_static_tracepoint_marker_definition)
4097 1.1 christos (release_static_tracepoint_marker): Declare.
4098 1.1 christos * mi/mi-cmd-break.c (mi_cmd_break_insert): Adjust.
4099 1.1 christos * python/py-breakpoint.c (bppy_new): Adjust.
4100 1.1 christos
4101 1.1 christos 2010-06-30 Joel Brobecker <brobecker (a] adacore.com>
4102 1.1 christos
4103 1.1 christos * python/python-internal.h (_XOPEN_SOURCE): Undefine before
4104 1.1 christos including Python.h.
4105 1.1 christos
4106 1.1 christos 2010-06-29 Doug Evans <dje (a] google.com>
4107 1.1 christos
4108 1.1 christos PR gdb/11702
4109 1.1 christos * dwarf2read.c (dwarf2_add_field): Only create a symbol if
4110 1.1 christos DW_AT_external is present.
4111 1.1 christos
4112 1.1 christos PR gdb/11702
4113 1.1 christos * NEWS: Add entry.
4114 1.1 christos * dwarf2read.c (dwarf2_add_field): If DW_AT_const_value is present,
4115 1.1 christos create a symbol for the field and record the value.
4116 1.1 christos (new_symbol): Handle DW_TAG_member.
4117 1.1 christos * gdbtypes.c (field_is_static): Remove FIXME.
4118 1.1 christos * symtab.c (search_symbols): When searching for VARIABLES_DOMAIN,
4119 1.1 christos only ignore LOC_CONST symbols that are enums.
4120 1.1 christos
4121 1.1 christos * dwarf2read.c: Remove trailing whitespace.
4122 1.1 christos
4123 1.1 christos Delete FIELD_LOC_KIND_DWARF_BLOCK, unused.
4124 1.1 christos * gdbtypes.h (enum field_loc_kind): Delete FIELD_LOC_KIND_DWARF_BLOCK.
4125 1.1 christos (struct main_type, field loc): Delete dwarf_block.
4126 1.1 christos (FIELD_DWARF_BLOCK): Delete.
4127 1.1 christos (SET_FIELD_DWARF_BLOCK): Delete.
4128 1.1 christos (TYPE_FIELD_DWARF_BLOCK): Delete.
4129 1.1 christos * gdb-gdb.py (StructMainTypePrettyPrinter.struct_field_location_img):
4130 1.1 christos Update.
4131 1.1 christos
4132 1.1 christos 2010-06-29 Hui Zhu <teawater (a] gmail.com>
4133 1.1 christos
4134 1.1 christos * record.c (set_record_pic_cmdlist,
4135 1.1 christos show_record_pic_cmdlist): New variables.
4136 1.1 christos (set_record_pic_command,
4137 1.1 christos show_record_pic_command): New functions.
4138 1.1 christos (record_pic_function, record_pic_line, record_pic_enum,
4139 1.1 christos set_record_pic_type, record_pic_hide_nofunction,
4140 1.1 christos record_pic_hide_nosource, record_pic_hide_same): New variables.
4141 1.1 christos (record_pic_fputs): New function.
4142 1.1 christos (function_list, node_list, edge_list): New struct.
4143 1.1 christos (function_list, node_list, edge_list): New variables.
4144 1.1 christos (record_pic_cleanups, record_pic_node,
4145 1.1 christos record_pic_edge, cmd_record_pic): New functions.
4146 1.1 christos (_initialize_record): Add new commands for record pic.
4147 1.1 christos
4148 1.1 christos 2010-06-28 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4149 1.1 christos
4150 1.1 christos * dwarf2read.c (read_structure_type) <fi.typedef_field_list>: Call
4151 1.1 christos ALLOCATE_CPLUS_STRUCT_TYPE.
4152 1.1 christos
4153 1.1 christos 2010-06-28 Phil Muldoon <pmuldoon (a] redhat.com>
4154 1.1 christos Tom Tromey <tromey (a] redhat.com>
4155 1.1 christos Thiago Jung Bauermann <bauerman (a] br.ibm.com>
4156 1.1 christos
4157 1.1 christos * value.c (pack_unsigned_long): New function.
4158 1.1 christos (value_from_ulongest): New function.
4159 1.1 christos * value.h (value_from_ulongest): Declare.
4160 1.1 christos * python/python.c (_initialize_python): Call
4161 1.1 christos gdbpy_initialize_thread and gdbpy_initialize_inferior.
4162 1.1 christos * python/python-internal.h: Define thread_object.
4163 1.1 christos (gdbpy_inferiors, gdbpy_selected_thread)
4164 1.1 christos (frame_info_to_frame_object, create_thread_object)
4165 1.1 christos (find_thread_object, find_inferior_object)
4166 1.1 christos (gdbpy_initialize_thread, gdbpy_initialize_inferiors)
4167 1.1 christos (gdbpy_is_value_object, get_addr_from_python): Declare.
4168 1.1 christos * python/py-value.c (builtin_type_upylong): Define.
4169 1.1 christos (convert_value_from_python): Add logic for ulongest.
4170 1.1 christos (gdbpy_is_value_object): New function.
4171 1.1 christos * python/py-utils.c (get_addr_from_python): New function.
4172 1.1 christos * python/py-frame.c (frame_info_to_frame_object): Return a PyObject.
4173 1.1 christos (gdbpy_selected_frame): Use PyObject over frame_info.
4174 1.1 christos * Makefile.in (SUBDIR_PYTHON_OBS): Add py-inferior and
4175 1.1 christos py-infthread.
4176 1.1 christos (SUBDIR_PYTHON_SRCS): Likewise.
4177 1.1 christos (py-inferior.o): New Rule.
4178 1.1 christos (py-infthread.o): New Rule.
4179 1.1 christos * python/py-inferior.c: New File.
4180 1.1 christos * python/py-infthread.c: New File.
4181 1.1 christos
4182 1.1 christos 2010-06-28 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4183 1.1 christos
4184 1.1 christos * c-typeprint.c (c_type_print_base): For no fields check include also
4185 1.1 christos TYPE_TYPEDEF_FIELD_COUNT. Print new typedefs section.
4186 1.1 christos * dwarf2read.c (struct typedef_field_list)
4187 1.1 christos (struct field_info) <typedef_field_list, typedef_field_list_count>: New.
4188 1.1 christos (dwarf2_add_typedef): New.
4189 1.1 christos (read_structure_type): Call dwarf2_add_typedef for DW_TAG_typedef.
4190 1.1 christos Copy also FI.TYPEDEF_FIELD_LIST.
4191 1.1 christos * gdbtypes.h (struct typedef_field)
4192 1.1 christos (struct cplus_struct_type) <typedef_field, typedef_field_count>
4193 1.1 christos (TYPE_TYPEDEF_FIELD_ARRAY, TYPE_TYPEDEF_FIELD, TYPE_TYPEDEF_FIELD_NAME)
4194 1.1 christos (TYPE_TYPEDEF_FIELD_TYPE, TYPE_TYPEDEF_FIELD_COUNT): New.
4195 1.1 christos
4196 1.1 christos 2010-06-28 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4197 1.1 christos
4198 1.1 christos * cp-namespace.c (cp_lookup_nested_type): New variable
4199 1.1 christos concatenated_name. Turn the current return condition into a reverse
4200 1.1 christos one. Call also lookup_static_symbol_aux on the constructed qualified
4201 1.1 christos name.
4202 1.1 christos * symtab.c (lookup_symbol_aux): Move variable objfile and searching in
4203 1.1 christos other files into a called ...
4204 1.1 christos (lookup_static_symbol_aux): ... new function here.
4205 1.1 christos * symtab.h (lookup_static_symbol_aux): New prototype.
4206 1.1 christos * valops.c (value_maybe_namespace_elt): Call also
4207 1.1 christos lookup_static_symbol_aux if we failed otherwise.
4208 1.1 christos
4209 1.1 christos 2010-06-28 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4210 1.1 christos
4211 1.1 christos Fix PR c++/11703 and PR gdb/1448.
4212 1.1 christos * c-exp.y (yylex) <last_was_coloncolon && first_was_coloncolon>: Add
4213 1.1 christos FIRST_ITER check.
4214 1.1 christos
4215 1.1 christos 2010-06-28 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4216 1.1 christos
4217 1.1 christos Fix modification of cplus_struct_default.
4218 1.1 christos * dwarf2read.c (dwarf2_add_member_fn) <no DW_AT_vtable_elem_location>:
4219 1.1 christos Call ALLOCATE_CPLUS_STRUCT_TYPE.
4220 1.1 christos * gdbtypes.c (cplus_struct_default): New empty initializer, comment it.
4221 1.1 christos
4222 1.1 christos 2010-06-28 Joel Brobecker <brobecker (a] adacore.com>
4223 1.1 christos
4224 1.1 christos * NEWS: Add entry announcing the python directory.
4225 1.1 christos
4226 1.1 christos 2010-06-28 Tom Tromey <tromey (a] redhat.com>
4227 1.1 christos
4228 1.1 christos * dwarf2read.c (read_structure_type): Allocate null cleanup later.
4229 1.1 christos
4230 1.1 christos 2010-06-28 Doug Evans <dje (a] google.com>
4231 1.1 christos
4232 1.1 christos * breakpoint.c (breakpoint_sals_to_pc): Delete arg address, unused.
4233 1.1 christos All callers updated.
4234 1.1 christos
4235 1.1 christos 2010-06-28 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4236 1.1 christos
4237 1.1 christos * cp-valprint.c (cp_print_value_fields) <recurse == 0>: Call
4238 1.1 christos obstack_begin after each obstack_free.
4239 1.1 christos
4240 1.1 christos 2010-06-27 Doug Evans <dje (a] google.com>
4241 1.1 christos
4242 1.1 christos * value.c (value_static_field): Use `switch' instead of `if'.
4243 1.1 christos Assert-fail if passed invalid TYPE_FIELD_LOC_KIND.
4244 1.1 christos
4245 1.1 christos * valops.c (search_struct_field): Fix typo in error message.
4246 1.1 christos
4247 1.1 christos 2010-06-26 Ulrich Weigand <uweigand (a] de.ibm.com>
4248 1.1 christos
4249 1.1 christos * dwarf2expr.c (execute_stack_op): Place preprocessor
4250 1.1 christos directives at the start of the source line.
4251 1.1 christos
4252 1.1 christos 2010-06-25 Paul Hilfinger <hilfinger (a] adacore.com>
4253 1.1 christos
4254 1.1 christos * defs.h (make_command_stats_cleanup): Declare.
4255 1.1 christos (set_display_time): Declare.
4256 1.1 christos (set_display_space): Declare.
4257 1.1 christos * event-top.c (command_handler): Use make_command_stats_cleanup.
4258 1.1 christos * main.c (display_time, display_space): Move definitions to utils.c.
4259 1.1 christos (captured_main): Use make_command_stats_cleanup to get start-up
4260 1.1 christos statistics.
4261 1.1 christos Use set_display_time and set_display_space for processing OPT_STATISTICS
4262 1.1 christos case.
4263 1.1 christos * maint.c (maintenance_time_display): Use set_display_time.
4264 1.1 christos (maintenance_space_display): Use set_display_space.
4265 1.1 christos * top.c (execute_command): Remove obsolete 'maint time' code.
4266 1.1 christos (command_loop): Use make_command_stats_cleanup.
4267 1.1 christos * utils.c (struct cmd_stats): Structure for storing initial time
4268 1.1 christos and space usage.
4269 1.1 christos (display_time, display_space): Move definitions here from utils.c.
4270 1.1 christos (set_display_time): New function.
4271 1.1 christos (set_display_space): New function.
4272 1.1 christos (make_command_stats_cleanup): New function.
4273 1.1 christos (report_command_stats): New auxiliary function for
4274 1.1 christos make_command_stats_cleanup.
4275 1.1 christos
4276 1.1 christos 2010-06-25 Ulrich Weigand <uweigand (a] de.ibm.com>
4277 1.1 christos
4278 1.1 christos * solib-spu.c (append_ocl_sos): Fix xsnprintf statement for
4279 1.1 christos hosts where CORE_ADDR is long long.
4280 1.1 christos
4281 1.1 christos 2010-06-25 Tom Tromey <tromey (a] redhat.com>
4282 1.1 christos
4283 1.1 christos PR python/10808:
4284 1.1 christos * python/python.c (execute_gdb_command): Add keywords. Accept
4285 1.1 christos "to_string" argument.
4286 1.1 christos (struct restore_ui_file_closure): New.
4287 1.1 christos (restore_ui_file): New function.
4288 1.1 christos (make_cleanup_restore_ui_file): Likewise.
4289 1.1 christos (GdbMethods) <execute>: Update.
4290 1.1 christos
4291 1.1 christos 2010-06-25 Ulrich Weigand <uweigand (a] de.ibm.com>
4292 1.1 christos
4293 1.1 christos * s390-tdep.c (s390_push_dummy_call): Error on stack overflow
4294 1.1 christos during inferior call stack frame setup.
4295 1.1 christos
4296 1.1 christos 2010-06-25 Ken Werner <ken.werner (a] de.ibm.com>
4297 1.1 christos
4298 1.1 christos * solib-spu.c: Include "exception.h".
4299 1.1 christos (ocl_program_data_key): New variable.
4300 1.1 christos (append_ocl_sos): New function.
4301 1.1 christos (ocl_enable_break): Likewise.
4302 1.1 christos (spu_current_sos): Call append_ocl_sos.
4303 1.1 christos (spu_solib_loaded): Call ocl_enable_break.
4304 1.1 christos (_initialize_spu_solib): Register ocl_program_data_key.
4305 1.1 christos
4306 1.1 christos 2010-06-25 Ulrich Weigand <uweigand (a] de.ibm.com>
4307 1.1 christos
4308 1.1 christos * cp-support.c (reset_directive_searched): New function.
4309 1.1 christos (make_symbol_overload_list_using): Prevent recursive calls.
4310 1.1 christos
4311 1.1 christos 2010-06-25 Phil Muldoon <pmuldoon (a] redhat.com>
4312 1.1 christos
4313 1.1 christos * printcmd.c (print_variable_and_value): Print error message on
4314 1.1 christos caught exception.
4315 1.1 christos
4316 1.1 christos 2010-06-25 Ulrich Weigand <uweigand (a] de.ibm.com>
4317 1.1 christos
4318 1.1 christos * dwarf2expr.h (struct dwarf_value_location): Use ULONGEST as type
4319 1.1 christos of stack values.
4320 1.1 christos (struct dwarf_expr_piece): Rename "expr" member to "mem". Add new
4321 1.1 christos "value" member.
4322 1.1 christos (dwarf_expr_push): Change input type to ULONGEST.
4323 1.1 christos (dwarf_expr_fetch): Change return type to ULONGEST.
4324 1.1 christos (dwarf_expr_fetch_address): Add prototype.
4325 1.1 christos (dwarf2_read_address): Remove prototype.
4326 1.1 christos * dwarf2expr.c (dwarf_expr_push): Use ULONGEST as type of stack values.
4327 1.1 christos Truncate stack values to ctx->addr_size bytes.
4328 1.1 christos (dwarf_expr_fetch): Change return value to ULONGEST.
4329 1.1 christos (dwarf_expr_fetch_address): New function.
4330 1.1 christos (add_piece): Use dwarf_expr_fetch_address instead of dwarf_expr_fetch
4331 1.1 christos when appropriate. Update for struct dwarf_expr_piece changes.
4332 1.1 christos (dwarf2_read_address): Remove.
4333 1.1 christos (unsigned_address_type): Remove.
4334 1.1 christos (signed_address_type): Remove.
4335 1.1 christos (execute_stack_op): Use dwarf_expr_fetch_address instead of
4336 1.1 christos dwarf_expr_fetch when appropriate. Use ULONGEST as type of stack
4337 1.1 christos values. Perform operations on ULONGEST instead of on GDB values,
4338 1.1 christos sign-extending from ctx->addr_size bytes as needed. Read DW_OP_addr
4339 1.1 christos values and DW_OP_deref results as unsigned integers.
4340 1.1 christos * dwarf2loc.c (read_pieced_value): Update for struct dwarf_expr_piece
4341 1.1 christos changes.
4342 1.1 christos (write_pieced_value): Likewise.
4343 1.1 christos (dwarf2_evaluate_loc_desc): Use dwarf_expr_fetch_address instead of
4344 1.1 christos dwarf_expr_fetch when appropriate.
4345 1.1 christos (compile_dwarf_to_ax): Read DW_OP_addr values as unsigned integers.
4346 1.1 christos * dwarf2-frame.c (execute_stack_op): Use dwarf_expr_fetch_address
4347 1.1 christos instead of dwarf_expr_fetch when appropriate.
4348 1.1 christos
4349 1.1 christos 2010-06-25 Pierre Muller <muller (a] ics.u-strasbg.fr>
4350 1.1 christos
4351 1.1 christos * c-typeprint.c (c_print_typedef): Append new type name for typedefs.
4352 1.1 christos
4353 1.1 christos 2010-06-24 Joel Brobecker <brobecker (a] adacore.com>
4354 1.1 christos
4355 1.1 christos * python/python.c (_initialize_python): Add new "constant"
4356 1.1 christos PYTHONDIR in gdb module. Insert this path at the head of
4357 1.1 christos sys.path. Set gdb.__path__ to gdb.PYTHONDIR + '/gdb' and
4358 1.1 christos exec its __init__.py script if it exists in that directory.
4359 1.1 christos
4360 1.1 christos 2010-06-24 Kevin Buettner <kevinb (a] redhat.com>
4361 1.1 christos
4362 1.1 christos * rx-tdep.c (RX_ACC_REGNUM): Define.
4363 1.1 christos (RX_NUM_REGS): Redefine to 26.
4364 1.1 christos (rx_register_name): Add register "acc". Change order of several
4365 1.1 christos registers. Change name of "vct" register to "fintv" to match RX
4366 1.1 christos documentation.
4367 1.1 christos (rx_register_type): Add case for RX_ACC_REGNUM.
4368 1.1 christos
4369 1.1 christos 2010-06-24 Tom Tromey <tromey (a] redhat.com>
4370 1.1 christos
4371 1.1 christos * psymtab.c (lookup_partial_symbol): Mark definition as static.
4372 1.1 christos
4373 1.1 christos 2010-06-24 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4374 1.1 christos Tom Tromey <tromey (a] redhat.com>
4375 1.1 christos
4376 1.1 christos Fix GDB startup on readonly filesystem.
4377 1.1 christos * charset.c (find_charset_names): Use PEX_USE_PIPES for pex_init.
4378 1.1 christos
4379 1.1 christos 2010-06-24 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4380 1.1 christos Pedro Alves <pedro (a] codesourcery.com>
4381 1.1 christos
4382 1.1 christos Fix PR 9436.
4383 1.1 christos * breakpoint.c (handle_jit_event): New function.
4384 1.1 christos (bpstat_what): Remove enum class, kc, ss, sn, sgl, slr, clr, sr, shl,
4385 1.1 christos jit, err, table and bs_class. New variables shlib_event, jit_event,
4386 1.1 christos this_action and bptype. Change bs_class assignments to this_action
4387 1.1 christos assignments. new unhandled bptype internal error. Move here
4388 1.1 christos shlib_event and jit_event handling from handle_inferior_event.
4389 1.1 christos * breakpoint.h (enum bpstat_what_main_action): Extend the comment.
4390 1.1 christos Reorder items. Remove BPSTAT_WHAT_CHECK_SHLIBS and
4391 1.1 christos BPSTAT_WHAT_CHECK_JIT.
4392 1.1 christos * inferior.h (debug_infrun, stop_on_solib_events): New declarations.
4393 1.1 christos * infrun.c (debug_infrun, stop_on_solib_events): Remove static.
4394 1.1 christos (handle_inferior_event): Reinitialize frame and gdbarch after
4395 1.1 christos bpstat_what call. Move BPSTAT_WHAT_CHECK_SHLIBS and
4396 1.1 christos BPSTAT_WHAT_CHECK_JIT handling to bpstat_what. Reinitialize even
4397 1.1 christos gdbarch when frame gets reinitialized.
4398 1.1 christos
4399 1.1 christos 2010-06-24 Hui Zhu <teawater (a] gmail.com>
4400 1.1 christos
4401 1.1 christos * printcmd.c (ui_printf): New function.
4402 1.1 christos (printf_command): Call ui_printf.
4403 1.1 christos (_initialize_printcmd): New command "eval".
4404 1.1 christos
4405 1.1 christos 2010-06-23 Ulrich Weigand <uweigand (a] de.ibm.com>
4406 1.1 christos
4407 1.1 christos * infrun.c (handle_inferior_event): Handle presence of single-step
4408 1.1 christos breakpoints for TARGET_WAITKIND_FORKED and TARGET_WAITKIND_VFORKED.
4409 1.1 christos Cancel single-step breakpoints for TARGET_WAITKIND_EXITED,
4410 1.1 christos TARGET_WAITKIND_SIGNALED, and TARGET_WAITKIND_EXECD.
4411 1.1 christos * breakpoint.c (detach_single_step_breakpoints): New function.
4412 1.1 christos (detach_breakpoints): Call it.
4413 1.1 christos (cancel_single_step_breakpoints): New function.
4414 1.1 christos * breakpoint.h (cancel_single_step_breakpoints): Add prototype.
4415 1.1 christos
4416 1.1 christos * spu-tdep.c (spu_memory_remove_breakpoint): New function.
4417 1.1 christos (spu_gdbarch_init): Install it.
4418 1.1 christos
4419 1.1 christos 2010-06-23 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4420 1.1 christos
4421 1.1 christos * configure.ac: Always set RDYNAMIC at least as `-rdynamic'.
4422 1.1 christos * configure: Regenerate.
4423 1.1 christos
4424 1.1 christos 2010-06-22 Hui Zhu <teawater (a] gmail.com>
4425 1.1 christos
4426 1.1 christos * i386-tdep.c (i386_record_lea_modrm): Change warning to query.
4427 1.1 christos (i386_process_record): Ditto.
4428 1.1 christos * record.c (record_memory_query): New variable.
4429 1.1 christos (_initialize_record): New command "set record memory-query".
4430 1.1 christos * record.h (record_memory_query): New extern.
4431 1.1 christos
4432 1.1 christos 2010-06-21 Doug Evans <dje (a] google.com>
4433 1.1 christos
4434 1.1 christos * i386-tdep.h (i386_displaced_step_copy_insn): Declare.
4435 1.1 christos * i386-tdep.c (i386_displaced_step_copy_insn): New function.
4436 1.1 christos (i386_syscall_p): Change type of lengthp to int.
4437 1.1 christos (i386_displaced_step_fixup): Handle kernels that run one past a
4438 1.1 christos syscall insn.
4439 1.1 christos * i386-linux-tdep.c (i386_linux_init_abi): Use
4440 1.1 christos i386_displaced_step_copy_insn instead of
4441 1.1 christos simple_displaced_step_copy_insn.
4442 1.1 christos
4443 1.1 christos 2010-06-21 Tom Tromey <tromey (a] redhat.com>
4444 1.1 christos
4445 1.1 christos * dwarf2read.c (read_base_type): Handle DW_ATE_UTF.
4446 1.1 christos (dwarf_type_encoding_name): Likewise.
4447 1.1 christos
4448 1.1 christos 2010-06-21 Tom Tromey <tromey (a] redhat.com>
4449 1.1 christos
4450 1.1 christos * p-valprint.c (pascal_val_print): Use TYPE_ERROR_NAME.
4451 1.1 christos * p-typeprint.c (pascal_type_print_base): Use TYPE_ERROR_NAME.
4452 1.1 christos * m2-valprint.c (m2_val_print): Use TYPE_ERROR_NAME.
4453 1.1 christos * gdbtypes.h (TYPE_ERROR_NAME): New macro.
4454 1.1 christos * f-valprint.c (f_val_print): Use TYPE_ERROR_NAME.
4455 1.1 christos * f-typeprint.c (f_type_print_base): Use TYPE_ERROR_NAME.
4456 1.1 christos * dwarf2read.c (tag_type_to_type): Create a new error type on
4457 1.1 christos failure.
4458 1.1 christos * c-valprint.c (c_val_print): Use TYPE_ERROR_NAME.
4459 1.1 christos * c-typeprint.c (c_type_print_base): Use TYPE_ERROR_NAME.
4460 1.1 christos
4461 1.1 christos 2010-06-21 Michael Snyder <msnyder (a] vmware.com>
4462 1.1 christos
4463 1.1 christos * breakpoint.c (_initialize_breakpoint): Use add_prefix_cmd,
4464 1.1 christos not add_abbrev_prefix_cmd, for "enable breakpoints".
4465 1.1 christos
4466 1.1 christos 2010-06-21 Ulrich Weigand <uweigand (a] de.ibm.com>
4467 1.1 christos
4468 1.1 christos * dwarf2loc.c (find_location_expression): Add relocation offset
4469 1.1 christos to base-address-selection entry base addresses. Read addresses
4470 1.1 christos (and offsets) as signed/unsigned integers, depending on the
4471 1.1 christos BFD's sign_extend_vma flag. Do not call dwarf2_read_address.
4472 1.1 christos (loclist_describe_location): Likewise.
4473 1.1 christos (disassemble_dwarf_expression): Read DW_OP_addr operand as
4474 1.1 christos unsigned integer. Do not call dwarf2_read_address.
4475 1.1 christos (locexpr_describe_location): Likewise for DW_OP_GNU_push_tls_address.
4476 1.1 christos
4477 1.1 christos 2010-06-19 Ulrich Weigand <uweigand (a] de.ibm.com>
4478 1.1 christos
4479 1.1 christos * spu-tdep.c (spu_frame_unwind_cache): Use LSLR register
4480 1.1 christos value instead of hard-coded SPU_LS_SIZE.
4481 1.1 christos (spu_software_single_step): Likewise.
4482 1.1 christos * spu-tdep.h (SPU_LS_SIZE): Remove.
4483 1.1 christos
4484 1.1 christos 2010-06-19 Ulrich Weigand <uweigand (a] de.ibm.com>
4485 1.1 christos
4486 1.1 christos * spu-multiarch.c (spu_xfer_partial): Wrap around local store
4487 1.1 christos limit on local store memory accesses.
4488 1.1 christos * spu-linux-nat.c (spu_xfer_partial): Likewise.
4489 1.1 christos * spu-tdep.c (spu_lslr): Remove.
4490 1.1 christos (spu_pointer_to_address): Do not truncate addresses.
4491 1.1 christos (spu_integer_to_address): Likewise.
4492 1.1 christos (spu_overlay_new_objfile): Use SPU_OVERLAY_LMA.
4493 1.1 christos * spu-tdep.h: Add comments.
4494 1.1 christos (SPUADDR_SPU): Respect SPU_OVERLAY_LMA bit.
4495 1.1 christos (SPU_OVERLAY_LMA): Define.
4496 1.1 christos
4497 1.1 christos 2010-06-18 Stan Shebs <stan (a] codesourcery.com>
4498 1.1 christos
4499 1.1 christos * osdata.c (get_osdata): Warn separately if target does not report
4500 1.1 christos type list.
4501 1.1 christos (info_osdata_command): Allow empty type, report error if target
4502 1.1 christos does not return available types of OS data.
4503 1.1 christos * linux-nat.c (linux_nat_xfer_osdata): Report list of OS data
4504 1.1 christos types if no annex supplied.
4505 1.1 christos
4506 1.1 christos * thread.c (thread_id_make_value): Make a value representing the
4507 1.1 christos current thread.
4508 1.1 christos (_initialize_thread): Create $_thread.
4509 1.1 christos
4510 1.1 christos 2010-06-17 Joel Brobecker <brobecker (a] adacore.com>
4511 1.1 christos
4512 1.1 christos * dwarf2read.c (psymtabs_addrmap_cleanup): Add empty line after
4513 1.1 christos last local variable declaration. No real code change.
4514 1.1 christos
4515 1.1 christos 2010-06-17 Tom Tromey <tromey (a] redhat.com>
4516 1.1 christos
4517 1.1 christos * dwarf2read.c (psymtabs_addrmap_cleanup): New function.
4518 1.1 christos (dwarf2_build_psymtabs_hard): Use it. Create addrmap on a
4519 1.1 christos temporary obstack.
4520 1.1 christos
4521 1.1 christos 2010-06-16 Sergio Durigan Junior <sergiodj (a] redhat.com>
4522 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com>
4523 1.1 christos
4524 1.1 christos * breakpoint.c: Include parser-defs.h.
4525 1.1 christos (watchpoint_exp_is_const): New function.
4526 1.1 christos (watch_command_1): Call watchpoint_exp_is_const to check
4527 1.1 christos if the expression is constant.
4528 1.1 christos
4529 1.1 christos 2010-06-15 Andreas Schwab <schwab (a] linux-m68k.org>
4530 1.1 christos
4531 1.1 christos * configure.ac: Check for RDYNAMIC also for cross builds.
4532 1.1 christos * configure: Regenerate.
4533 1.1 christos
4534 1.1 christos 2010-06-15 Pedro Alves <pedro (a] codesourcery.com>
4535 1.1 christos
4536 1.1 christos * Makefile.in (ALL_TARGET_OBS): Remove solib-target.o.
4537 1.1 christos (SFILES): Remove solib-null.c, add solib-target.c.
4538 1.1 christos (COMMON_OBS): Remove solib-null.o, add solib-target.o.
4539 1.1 christos (ALLDEPFILES): Remove solib-target.c.
4540 1.1 christos * solib-target.c (_initialize_solib_target): Set
4541 1.1 christos current_target_so_ops to solib_target_so_ops if not already set.
4542 1.1 christos * solib-null.c: Delete.
4543 1.1 christos
4544 1.1 christos 2010-06-14 Pedro Alves <pedro (a] codesourcery.com>
4545 1.1 christos
4546 1.1 christos * NEWS: Mention GDBserver's JIT compilation of tracepoint
4547 1.1 christos bytecode.
4548 1.1 christos
4549 1.1 christos 2010-06-14 Ulrich Weigand <uweigand (a] de.ibm.com>
4550 1.1 christos
4551 1.1 christos * cp-valprint.c (cp_print_static_field): Members of
4552 1.1 christos dont_print_stat_array_obstack are of type "struct type *".
4553 1.1 christos (_initialize_cp_valprint): Likewise.
4554 1.1 christos
4555 1.1 christos 2010-06-14 Ulrich Weigand <uweigand (a] de.ibm.com>
4556 1.1 christos
4557 1.1 christos * frame.c (frame_register_unwind): Do not access contents
4558 1.1 christos of "optimized out" unwound register value.
4559 1.1 christos
4560 1.1 christos 2010-06-14 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4561 1.1 christos
4562 1.1 christos * ada-lang.h (ada_print_type): Make varstring const.
4563 1.1 christos * ada-typeprint.c (print_func_type): Make name const.
4564 1.1 christos (ada_print_type): Make varstring const.
4565 1.1 christos * c-lang.h (c_print_type): Make varstring const.
4566 1.1 christos * c-typeprint.c (c_print_type): Likewise.
4567 1.1 christos * f-lang.h (f_print_type): Likewise.
4568 1.1 christos * f-typeprint.c (f_print_type): Likewise.
4569 1.1 christos * jv-lang.h (java_print_type): Likewise.
4570 1.1 christos * jv-typeprint.c (java_print_type): Likewise.
4571 1.1 christos * language.c (unk_lang_print_type): Likewise.
4572 1.1 christos * language.h (struct language_defn) <la_print_type>: Likewise.
4573 1.1 christos * m2-lang.h (m2_print_type): Likewise.
4574 1.1 christos * m2-typeprint.c (m2_print_type): Likewise.
4575 1.1 christos * p-lang.h (pascal_print_type): Likewise.
4576 1.1 christos * p-typeprint.c (pascal_print_type): Likewise.
4577 1.1 christos
4578 1.1 christos 2010-06-11 Stan Shebs <stan (a] codesourcery.com>
4579 1.1 christos
4580 1.1 christos Add per-operation permission flags.
4581 1.1 christos
4582 1.1 christos * target.h (struct target_ops): New method to_set_permissions.
4583 1.1 christos (target_set_permissions): New macro.
4584 1.1 christos (target_insert_breakpoint): Change macro to function.
4585 1.1 christos (target_remove_breakpoint): Ditto.
4586 1.1 christos (target_stop): Ditto.
4587 1.1 christos (may_write_registers): Declare.
4588 1.1 christos (may_write_memory): Declare.
4589 1.1 christos (may_insert_breakpoints): Declare.
4590 1.1 christos (may_insert_tracepoints): Declare.
4591 1.1 christos (may_insert_fast_tracepoints): Declare.
4592 1.1 christos (may_stop): Declare.
4593 1.1 christos * target.c (may_write_registers, may_write_registers_1): New globals.
4594 1.1 christos (may_write_memory, may_write_memory_1): New globals.
4595 1.1 christos (may_insert_breakpoints, may_insert_breakpoints_1): New globals.
4596 1.1 christos (may_insert_tracepoints, may_insert_tracepoints_1): New globals.
4597 1.1 christos (may_insert_fast_tracepoints, may_insert_fast_tracepoints_1): New
4598 1.1 christos globals.
4599 1.1 christos (may_stop, may_stop_1): New global.
4600 1.1 christos (target_xfer_partial): Test for write permission.
4601 1.1 christos (target_store_registers): Ditto.
4602 1.1 christos (target_insert_breakpoint): New function.
4603 1.1 christos (target_remove_breakpoint): New function.
4604 1.1 christos (target_stop): New function.
4605 1.1 christos (_initialize_targets): Add new set/show variables.
4606 1.1 christos (set_write_memory_permission): New function.
4607 1.1 christos (update_target_permissions): New function.
4608 1.1 christos (set_target_permissions): New function.
4609 1.1 christos (update_current_target): Default to_set_permissions.
4610 1.1 christos (_initialize_targets): Use new globals and setter function.
4611 1.1 christos * tracepoint.c (start_tracing): Test for permission.
4612 1.1 christos * inferior.h (update_observer_mode): Declare.
4613 1.1 christos * infrun.c (non_stop_1): Define earlier.
4614 1.1 christos (observer_mode, observer_mode_1): New globals.
4615 1.1 christos (set_observer_mode, show_observer_mode): New functions.
4616 1.1 christos (update_observer_mode): New function.
4617 1.1 christos (_initialize_infrun): Define "set observer" command.
4618 1.1 christos * remote.c (PACKET_QAllow): New optional packet.
4619 1.1 christos (remote_protocol_features): Add QAllow.
4620 1.1 christos (remote_set_permissions): New function.
4621 1.1 christos (remote_start_remote): Call it.
4622 1.1 christos (init_remote_ops): Add it to target vector.
4623 1.1 christos (_initialize_remote): Add config command for QAllow.
4624 1.1 christos
4625 1.1 christos 2010-06-11 Tom Tromey <tromey (a] redhat.com>
4626 1.1 christos
4627 1.1 christos * dwarf2read.c (dwarf2_add_member_fn): Handle correct form of
4628 1.1 christos DW_AT_vtable_elem_location even when GCC extension is seen.
4629 1.1 christos
4630 1.1 christos 2010-06-11 Tom Tromey <tromey (a] redhat.com>
4631 1.1 christos
4632 1.1 christos PR gdb/9977, PR exp/11636:
4633 1.1 christos * value.h (value_offset): Update.
4634 1.1 christos (struct lval_funcs) <check_validity>: New field.
4635 1.1 christos <copy_closure>: Make argument const.
4636 1.1 christos (value_computed_closure): Update.
4637 1.1 christos (value_contents_for_printing): Declare.
4638 1.1 christos (value_bits_valid): Likewise.
4639 1.1 christos (val_print): Likewise.
4640 1.1 christos (set_value_component_location): Update.
4641 1.1 christos (value_entirely_optimized_out): Declare.
4642 1.1 christos * value.c (value_offset): Argument now const.
4643 1.1 christos (require_not_optimized_out): New function.
4644 1.1 christos (value_contents_for_printing): New function.
4645 1.1 christos (value_contents_all): Call require_not_optimized_out.
4646 1.1 christos (value_contents): Likewise.
4647 1.1 christos (value_bits_valid): New function.
4648 1.1 christos (value_computed_closure): Argument now const.
4649 1.1 christos (set_value_component_location): Make 'whole' argument const.
4650 1.1 christos (value_entirely_optimized_out): New function.
4651 1.1 christos (value_bitsize): Argument now 'const'.
4652 1.1 christos (value_bitpos): Likewise.
4653 1.1 christos (value_type): Likewise.
4654 1.1 christos * valprint.h (val_print_array_elements): Update.
4655 1.1 christos * valprint.c (val_print): Add 'val' argument. Use
4656 1.1 christos valprint_check_validity.
4657 1.1 christos (valprint_check_validity): New function.
4658 1.1 christos (value_check_printable): Use value_entirely_optimized_out.
4659 1.1 christos (common_val_print): Update.
4660 1.1 christos (value_print): Likewise.
4661 1.1 christos (val_print_array_elements): Add 'val' argument.
4662 1.1 christos * valops.c (value_fetch_lazy): Use value_contents_for_printing,
4663 1.1 christos value_bits_valid. Reinit frame cache for lval_computed.
4664 1.1 christos * sh64-tdep.c (sh64_do_register): Update.
4665 1.1 christos * scm-valprint.c (scm_val_print): Add 'val' argument.
4666 1.1 christos * scm-lang.h (scm_val_print): Update.
4667 1.1 christos * python/python.h (apply_val_pretty_printer): Update.
4668 1.1 christos * python/py-prettyprint.c (apply_val_pretty_printer): Add 'val'
4669 1.1 christos argument. Call set_value_component_location.
4670 1.1 christos * printcmd.c (print_scalar_formatted): Update.
4671 1.1 christos * p-valprint.c (pascal_val_print): Add 'val' argument.
4672 1.1 christos (pascal_object_print_value_fields): Likewise.
4673 1.1 christos (pascal_object_print_value): Likewise.
4674 1.1 christos (pascal_object_print_static_field): Update.
4675 1.1 christos * p-lang.h (pascal_val_print): Update.
4676 1.1 christos (pascal_object_print_value_fields): Update.
4677 1.1 christos * mt-tdep.c (mt_registers_info): Update.
4678 1.1 christos * mi/mi-main.c (get_register): Update.
4679 1.1 christos (mi_cmd_data_evaluate_expression): Use common_val_print.
4680 1.1 christos * m2-valprint.c (m2_print_array_contents): Add 'val' argument.
4681 1.1 christos (m2_print_unbounded_array): Likewise.
4682 1.1 christos (m2_val_print): Likewise.
4683 1.1 christos * m2-lang.h (m2_val_print): Update.
4684 1.1 christos * language.h (struct language_defn) <la_val_print>: Add 'val'
4685 1.1 christos argument.
4686 1.1 christos (LA_VAL_PRINT): Likewise.
4687 1.1 christos * language.c (unk_lang_val_print): Add 'val' argument.
4688 1.1 christos * jv-valprint.c (java_print_value_fields): Add 'val' argument.
4689 1.1 christos (java_val_print): Likewise.
4690 1.1 christos * jv-lang.h (java_val_print): Add 'val' argument.
4691 1.1 christos * infcmd.c (default_print_registers_info): Update.
4692 1.1 christos * f-valprint.c (f77_print_array_1): Add 'val' argument.
4693 1.1 christos (f77_print_array): Likewise.
4694 1.1 christos (f_val_print): Likewise.
4695 1.1 christos * f-lang.h (f_val_print): Add 'val' argument.
4696 1.1 christos * dwarf2loc.c (read_pieced_value): Use value_bitsize and
4697 1.1 christos value_bitpos.
4698 1.1 christos <DWARF_VALUE_OPTIMIZED_OUT>: Don't print warning. Call
4699 1.1 christos set_value_optimized_out.
4700 1.1 christos (write_pieced_value): Use value_bitsize and value_bitpos.
4701 1.1 christos <default>: Don't exit loop.
4702 1.1 christos (check_pieced_value_validity): New function.
4703 1.1 christos (pieced_value_funcs): Reference check_pieced_value_validity,
4704 1.1 christos check_pieced_value_invalid.
4705 1.1 christos (copy_pieced_value_closure): Update.
4706 1.1 christos (check_pieced_value_bits): New function.
4707 1.1 christos (check_pieced_value_invalid): New function.
4708 1.1 christos * d-valprint.c (dynamic_array_type): Add 'val' argument.
4709 1.1 christos (d_val_print): Likewise.
4710 1.1 christos * d-lang.h (d_val_print): Update.
4711 1.1 christos * cp-valprint.c (cp_print_value_fields): Add 'val' argument.
4712 1.1 christos (cp_print_value_fields_rtti): Likewise.
4713 1.1 christos (cp_print_value): Likewise.
4714 1.1 christos (cp_print_static_field): Update.
4715 1.1 christos * c-valprint.c (c_val_print): Add 'val' argument.
4716 1.1 christos (c_value_print): Update.
4717 1.1 christos * c-lang.h (c_val_print): Update.
4718 1.1 christos (cp_print_value_fields): Likewise.
4719 1.1 christos (cp_print_value_fields_rtti): Likewise.
4720 1.1 christos * ada-valprint.c (struct ada_val_print_args): Remove.
4721 1.1 christos (val_print_packed_array_elements): Add 'val' argument.
4722 1.1 christos (ada_val_print): Likewise. Rewrite.
4723 1.1 christos (ada_val_print_stub): Remove.
4724 1.1 christos (ada_val_print_array): Add 'val' argument.
4725 1.1 christos (ada_val_print_1): Likewise.
4726 1.1 christos (print_variant_part): Likewise.
4727 1.1 christos (ada_value_print): Update.
4728 1.1 christos (print_record): Add 'val' argument.
4729 1.1 christos (print_field_values): Likewise.
4730 1.1 christos * ada-lang.h (ada_val_print): Update.
4731 1.1 christos
4732 1.1 christos 2010-06-11 Tom Tromey <tromey (a] redhat.com>
4733 1.1 christos
4734 1.1 christos * vec.h (VEC_cleanup): New macro.
4735 1.1 christos (DEF_VEC_ALLOC_FUNC_I): Update.
4736 1.1 christos (DEF_VEC_ALLOC_FUNC_P): Likewise.
4737 1.1 christos (DEF_VEC_ALLOC_FUNC_O): Likewise.
4738 1.1 christos * dwarf2loc.c (struct axs_var_loc): Remove.
4739 1.1 christos (unimplemented): New function.
4740 1.1 christos (translate_register): Likewise.
4741 1.1 christos (access_memory): Likewise.
4742 1.1 christos (compile_dwarf_to_ax): Likewise.
4743 1.1 christos (dwarf2_tracepoint_var_loc): Remove.
4744 1.1 christos (dwarf2_tracepoint_var_access): Likewise.
4745 1.1 christos (dwarf2_tracepoint_var_ref): Likewise.
4746 1.1 christos (locexpr_tracepoint_var_ref): Use compile_dwarf_to_ax.
4747 1.1 christos (loclist_tracepoint_var_ref): Likewise.
4748 1.1 christos * dwarf2expr.h (dwarf_expr_require_composition): Declare.
4749 1.1 christos * dwarf2expr.c (dwarf_expr_require_composition): Rename from
4750 1.1 christos require_composition. No longer static.
4751 1.1 christos (execute_stack_op): Update.
4752 1.1 christos * ax-gdb.h (trace_kludge): Declare.
4753 1.1 christos
4754 1.1 christos 2010-06-11 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4755 1.1 christos
4756 1.1 christos * breakpoint.c (breakpoint_restore_shadows): New OWNER comment.
4757 1.1 christos (should_be_inserted): Return zero also on NULL OWNER.
4758 1.1 christos (breakpoint_program_space_exit): New OWNER comment.
4759 1.1 christos (insert_breakpoint_locations): Extend comment for OWNER.
4760 1.1 christos (remove_breakpoint_1, remove_breakpoint): Assert on OWNER.
4761 1.1 christos (breakpoint_init_inferior, breakpoint_here_p, breakpoint_thread_match):
4762 1.1 christos New OWNER comment.
4763 1.1 christos (print_it_typical): Return PRINT_UNKNOWN on NULL OWNER.
4764 1.1 christos (watchpoint_check): New assert on BREAKPOINT_AT and OWNER.
4765 1.1 christos (bpstat_check_location): New assert on OWNER.
4766 1.1 christos (bpstat_check_watchpoint, bpstat_check_breakpoint_conditions): Move BL
4767 1.1 christos and B initializations to the code block. New assert on them.
4768 1.1 christos (print_one_breakpoint_location): New OWNER comment.
4769 1.1 christos (watchpoint_locations_match): Assert on OWNER.
4770 1.1 christos (breakpoint_locations_match): Move HW_POINT1 and HW_POINT2
4771 1.1 christos initializations to the code block. New assert on OWNER.
4772 1.1 christos (set_breakpoint_location_function): New assert on OWNER.
4773 1.1 christos (disable_breakpoints_in_shlibs, disable_breakpoints_in_unloaded_shlib)
4774 1.1 christos (bp_location_compare, update_global_location_list)
4775 1.1 christos (update_global_location_list): New OWNER comment.
4776 1.1 christos
4777 1.1 christos 2010-06-09 Ulrich Weigand <uweigand (a] de.ibm.com>
4778 1.1 christos
4779 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Remove config/i386/nm-linux.h
4780 1.1 christos
4781 1.1 christos 2010-06-09 Ulrich Weigand <uweigand (a] de.ibm.com>
4782 1.1 christos
4783 1.1 christos * config/nm-linux.h (struct target_ops): Remove forward declaration.
4784 1.1 christos (lin_thread_get_thread_signals): Remove prototype.
4785 1.1 christos (GET_THREAD_SIGNALS): Remove.
4786 1.1 christos * linux-nat.h (lin_thread_get_thread_signals): Add prototype.
4787 1.1 christos * linux-thread-db.c (check_thread_signals): Directly call
4788 1.1 christos lin_thread_get_thread_signals; do not check GET_THREAD_SIGNALS.
4789 1.1 christos
4790 1.1 christos 2010-06-09 Ulrich Weigand <uweigand (a] de.ibm.com>
4791 1.1 christos
4792 1.1 christos * gregset.h (GDB_FPXREGSET_T): Remove.
4793 1.1 christos (gdb_fpxregset_t): Likewise.
4794 1.1 christos (supply_fpxregset): Remove prototype.
4795 1.1 christos (fill_fpxregset): Likewise.
4796 1.1 christos * i386-linux-nat.c (supply_fpxregset): Remove.
4797 1.1 christos (fill_fpxregset): Likewise.
4798 1.1 christos (fetch_fpxregs): Inline supply_fpxregset call.
4799 1.1 christos (store_fpxregs): Inline fill_fpxregset call.
4800 1.1 christos
4801 1.1 christos * config/i386/linux.mh: Set NAT_FILE to config/nm-linux.h.
4802 1.1 christos * config/i386/nm-linux.h: Remove file.
4803 1.1 christos
4804 1.1 christos 2010-06-09 Michael Snyder <msnyder (a] vmware.com>
4805 1.1 christos
4806 1.1 christos * target.c (update_current_target): Fix spelling error in comment.
4807 1.1 christos (target_mourn_inferior): Fix spelling error in error message.
4808 1.1 christos
4809 1.1 christos 2010-06-08 Paul Hilfinger <hilfingr (a] adacore.com>
4810 1.1 christos
4811 1.1 christos * dictionary.h (dict_iter_name_first, dict_iter_name_next): Refer to
4812 1.1 christos SYMBOL_SEARCH_NAME, not SYMBOL_BEST_NAME, in comments.
4813 1.1 christos
4814 1.1 christos 2010-06-08 Michael Snyder <msnyder (a] vmware.com>
4815 1.1 christos
4816 1.1 christos * remote.c (remote_close): Set inferior_ptid to null_ptid.
4817 1.1 christos
4818 1.1 christos 2010-06-08 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4819 1.1 christos
4820 1.1 christos * configure.ac <"${have_libpython}" != no>: New workaround of
4821 1.1 christos python#4434.
4822 1.1 christos * configure: Regenerate.
4823 1.1 christos
4824 1.1 christos 2010-06-08 Hui Zhu <teawater (a] gmail.com>
4825 1.1 christos
4826 1.1 christos * record.c (record_wait): Move signal out of replay code.
4827 1.1 christos
4828 1.1 christos 2010-06-07 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4829 1.1 christos
4830 1.1 christos Fix PR 10640.
4831 1.1 christos * dwarf2-frame.c (no_dwarf_call): New function.
4832 1.1 christos (execute_stack_op): Set CTX->DWARF_CALL.
4833 1.1 christos * dwarf2expr.c (execute_stack_op) <DW_OP_call2, DW_OP_call4>: New.
4834 1.1 christos * dwarf2expr.h (struct dwarf_expr_context) <dwarf_call>: New.
4835 1.1 christos (struct dwarf_expr_context) <get_subr>: Remove the #if0-ed field.
4836 1.1 christos * dwarf2loc.c (per_cu_dwarf_call, dwarf_expr_dwarf_call): New functions.
4837 1.1 christos (dwarf2_evaluate_loc_desc): Initialize CTX->DWARF_CALL.
4838 1.1 christos (needs_frame_dwarf_call): New function.
4839 1.1 christos (dwarf2_loc_desc_needs_frame): Initialize CTX->DWARF_CALL.
4840 1.1 christos * dwarf2read.c (follow_die_offset): Based on former follow_die_ref.
4841 1.1 christos Update the comment. Move variables die, offset and error call to ...
4842 1.1 christos (follow_die_ref): ... a new function.
4843 1.1 christos (dwarf2_fetch_die_location_block): New function.
4844 1.1 christos * dwarf2loc.h (dwarf2_fetch_die_location_block): New prototype.
4845 1.1 christos
4846 1.1 christos 2010-06-07 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4847 1.1 christos
4848 1.1 christos * dwarf2loc.c (struct dwarf_expr_baton) Replace objfile by per_cu.
4849 1.1 christos (dwarf_expr_tls_address): Use per_cu instead of objfile.
4850 1.1 christos (dwarf2_evaluate_loc_desc): Drop initialization of BATON.OBJFILE.
4851 1.1 christos Initialize new BATON.PER_CU. Adjust CTX->GDBARCH initialization for
4852 1.1 christos this change.
4853 1.1 christos (struct needs_frame_baton): New field per_cu.
4854 1.1 christos (dwarf2_loc_desc_needs_frame): Initialize new BATON.PER_CU.
4855 1.1 christos * dwarf2read.c (struct dwarf2_per_cu_data) <cu>: Extend the comment.
4856 1.1 christos
4857 1.1 christos 2010-06-07 Sami Wagiaalla <swagiaal (a] redhat.com>
4858 1.1 christos
4859 1.1 christos * cp-support.c (make_symbol_overload_list_namespace): Only search
4860 1.1 christos static and global blocks.
4861 1.1 christos (make_symbol_overload_list_block): New function.
4862 1.1 christos (make_symbol_overload_list): Separate namespace search from block
4863 1.1 christos search.
4864 1.1 christos (make_symbol_overload_list_qualified): Use
4865 1.1 christos make_symbol_overload_list_block.
4866 1.1 christos
4867 1.1 christos 2010-06-07 Sami Wagiaalla <swagiaal (a] redhat.com>
4868 1.1 christos
4869 1.1 christos * value.h: Created oload_search_type enum.
4870 1.1 christos (find_overload_match): Use oload_search_type enum.
4871 1.1 christos * valops.c (find_overload_match): Support combined member and
4872 1.1 christos non-member search.
4873 1.1 christos * eval.c (evaluate_subexp_standard): Calls to
4874 1.1 christos find_overload_match now use oload_search_type enum.
4875 1.1 christos (oload_method_static): Verify index is a proper value.
4876 1.1 christos * valarith.c (value_user_defined_cpp_op): Search for and handle
4877 1.1 christos both member and non-member operators.
4878 1.1 christos (value_user_defined_cpp_op): New function.
4879 1.1 christos (value_user_defined_op): New function.
4880 1.1 christos (value_x_unop): Use value_user_defined_op.
4881 1.1 christos (value_x_binop): Ditto.
4882 1.1 christos * cp-support.c (make_symbol_overload_list_using): Added block
4883 1.1 christos iteration.
4884 1.1 christos Add check for namespace aliases and imported declarations.
4885 1.1 christos
4886 1.1 christos 2010-06-07 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4887 1.1 christos
4888 1.1 christos * breakpoint.h (owner): Extend the comment.
4889 1.1 christos
4890 1.1 christos 2010-06-07 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4891 1.1 christos
4892 1.1 christos Clear stale specific bp_location from former whole breakpoint.
4893 1.1 christos * breakpoint.c (delete_breakpoint): Move the stale referencing clear
4894 1.1 christos code ...
4895 1.1 christos (free_bp_location): ... here. Rename there the called function to
4896 1.1 christos bpstat_remove_bp_location_callback.
4897 1.1 christos (bpstat_remove_breakpoint_callback): Rename to ...
4898 1.1 christos (bpstat_remove_bp_location_callback): ... here, change DATA resolution
4899 1.1 christos to struct bp_location. Change the called function to
4900 1.1 christos bpstat_remove_bp_location. Create new declaration for the function.
4901 1.1 christos (bpstat_remove_breakpoint): Rename to ...
4902 1.1 christos (bpstat_remove_bp_location): ..., change the parameter to loc, adjust
4903 1.1 christos code for the new parameter type.
4904 1.1 christos
4905 1.1 christos 2010-06-07 Nathan Sidwell <nathan (a] codesourcery.com>
4906 1.1 christos
4907 1.1 christos * README: Make version-agnostic.
4908 1.1 christos
4909 1.1 christos 2010-06-05 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4910 1.1 christos
4911 1.1 christos Fix duplicate types for single DIE.
4912 1.1 christos * dwarf2read.c (read_structure_type): Move set_descriptive_type after
4913 1.1 christos set_die_type.
4914 1.1 christos (read_array_type): Remove type initialization. Recheck get_die_type
4915 1.1 christos after initial die_type. Move set_die_type before set_descriptive_type.
4916 1.1 christos (read_set_type): New variable domain_type. Recheck get_die_type after
4917 1.1 christos initial die_type. Move attr initialization later.
4918 1.1 christos (read_tag_pointer_type, read_tag_reference_type): New variable
4919 1.1 christos target_type. Recheck get_die_type after initial die_type.
4920 1.1 christos (read_tag_ptr_to_member_type): Recheck get_die_type after initial
4921 1.1 christos die_type and die_containing_type.
4922 1.1 christos (read_tag_const_type, read_tag_volatile_type, read_subroutine_type):
4923 1.1 christos Recheck get_die_type after initial die_type.
4924 1.1 christos (read_subrange_type): Recheck get_die_type after initial die_type.
4925 1.1 christos Move set_die_type before set_descriptive_type.
4926 1.1 christos (set_die_type): Extend the function comment. Call complaint if DIE has
4927 1.1 christos some type already set.
4928 1.1 christos
4929 1.1 christos 2010-06-05 Vladimir Prus <vladimir (a] codesourcery.com>
4930 1.1 christos
4931 1.1 christos * mi/mi-main.c (mi_cmd_list_thread_groups): Adjust
4932 1.1 christos for current naming of thread groups (iN, not N).
4933 1.1 christos
4934 1.1 christos 2010-06-04 Sergio Durigan Junior <sergiodj (a] redhat.com>
4935 1.1 christos
4936 1.1 christos * ada-lang.c (ada_operator_length): Constify `struct expression'.
4937 1.1 christos * parse.c (operator_length): Likewise.
4938 1.1 christos (operator_length_standard): Likewise.
4939 1.1 christos * parser-defs.h (operator_length): Likewise.
4940 1.1 christos (operator_length_standard): Likewise.
4941 1.1 christos (struct exp_descriptor <operator_length>): Likewise.
4942 1.1 christos
4943 1.1 christos 2010-06-04 Doug Evans <dje (a] google.com>
4944 1.1 christos
4945 1.1 christos Add support for enabling/disabling individual pretty-printers.
4946 1.1 christos * python/py-prettyprint.c (search_pp_list): Skip disabled printers.
4947 1.1 christos * python/python-internal.h (gdbpy_enabled_cst): Declare.
4948 1.1 christos * python/python.c (gdbpy_enabled_cst): Define.
4949 1.1 christos (_initialize_python): Initialize gdbpy_enabled_cst.
4950 1.1 christos * NEWS: Add entry.
4951 1.1 christos
4952 1.1 christos 2010-06-04 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4953 1.1 christos
4954 1.1 christos * breakpoint.c (update_global_location_list): Fix comment typo.
4955 1.1 christos
4956 1.1 christos 2010-06-04 Hui Zhu <teawater (a] gmail.com>
4957 1.1 christos
4958 1.1 christos * dwarf2loc.c (disassemble_dwarf_expression): Change ul to l.
4959 1.1 christos
4960 1.1 christos 2010-06-03 Doug Evans <dje (a] google.com>
4961 1.1 christos
4962 1.1 christos * configure.ac: Don't fail if python is unusable when
4963 1.1 christos configured with --with-python=auto.
4964 1.1 christos * configure: Regenerate.
4965 1.1 christos
4966 1.1 christos 2010-06-03 Sami Wagiaalla <swagiaal (a] redhat.com>
4967 1.1 christos
4968 1.1 christos * dwarf2read.c (new_symbol): Remove redundant naming of symbol.
4969 1.1 christos
4970 1.1 christos 2010-06-03 Pierre Muller <muller (a] ics.u-strasbg.fr>
4971 1.1 christos
4972 1.1 christos * valprint.h (get_array_bounds): Change low and high parameter types
4973 1.1 christos to LONGEST *.
4974 1.1 christos * valprint.c (get_array_bounds): Use get_discrete_bounds call to
4975 1.1 christos compute bounds.
4976 1.1 christos (val_print_array_elements): Adapt to change above.
4977 1.1 christos * ada-valprint.c (print_optional_low_bound): Adapt to change above.
4978 1.1 christos * p-valprint.c (pascal_val_print): Likewise.
4979 1.1 christos
4980 1.1 christos 2010-06-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4981 1.1 christos
4982 1.1 christos * symfile.c (init_filename_language_table): New extensions .for, .FOR,
4983 1.1 christos .ftn, .FTN, .fpp, .FPP, .f90, .F90, .f95, .F95, .f03, .F03, .f08 and
4984 1.1 christos .F08.
4985 1.1 christos
4986 1.1 christos 2010-06-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
4987 1.1 christos
4988 1.1 christos Support DW_TAG_module as separate namespaces.
4989 1.1 christos * dwarf2read.c (typename_concat): New parameter physname.
4990 1.1 christos (read_module_type): New function and declaration.
4991 1.1 christos (scan_partial_symbols): Scan also DW_TAG_module children.
4992 1.1 christos (partial_die_parent_scope): Accept scope even from DW_TAG_module. Pass
4993 1.1 christos to typename_concat backward compatible physname value 0.
4994 1.1 christos (partial_die_full_name, read_namespace_type): Pass to typename_concat
4995 1.1 christos backward compatible physname value 0.
4996 1.1 christos (add_partial_module, read_module): Remove FIXME comment.
4997 1.1 christos (process_die) <DW_TAG_module>: Set PROCESSING_HAS_NAMESPACE_INFO.
4998 1.1 christos (die_needs_namespace) <DW_TAG_variable>: Allow returning true even for
4999 1.1 christos DIEs under DW_TAG_module.
5000 1.1 christos (dwarf2_compute_name): Move the ada block for DW_AT_linkage_name and
5001 1.1 christos DW_AT_MIPS_linkage_name first, extend it for language_fortran
5002 1.1 christos && physname and return there instead of just setting NAME. Extend
5003 1.1 christos the main block for language_fortran. Pass physname parameter to the
5004 1.1 christos typename_concat call.
5005 1.1 christos (read_import_statement, read_func_scope, get_scope_pc_bounds)
5006 1.1 christos (load_partial_dies, determine_prefix): Support also DW_TAG_module.
5007 1.1 christos (new_symbol): Fill in cplus_specific.demangled_name if it is still
5008 1.1 christos missing from SYMBOL_SET_NAMES in the language_fortran case.
5009 1.1 christos (new_symbol) <DW_TAG_variable>: Force LOC_UNRESOLVED for gfortran module
5010 1.1 christos variables.
5011 1.1 christos (read_type_die) <DW_TAG_module>: New.
5012 1.1 christos (MAX_SEP_LEN): Increase to 7.
5013 1.1 christos (typename_concat): New parameter physname. New variable lead. Support
5014 1.1 christos also language_fortran.
5015 1.1 christos * f-exp.y (yylex): Consider : also as a symbol name character class.
5016 1.1 christos * f-lang.c: Include cp-support.h.
5017 1.1 christos (f_word_break_characters, f_make_symbol_completion_list): New functions.
5018 1.1 christos (f_language_defn): Use cp_lookup_symbol_nonlocal,
5019 1.1 christos f_word_break_characters and f_make_symbol_completion_list.
5020 1.1 christos * f-typeprint.c (f_type_print_base) <TYPE_CODE_MODULE>: New.
5021 1.1 christos * gdbtypes.h (enum type_code) <TYPE_CODE_MODULE>: New.
5022 1.1 christos * symtab.c (symbol_init_language_specific): Support language_fortran.
5023 1.1 christos (symbol_find_demangled_name): New comment on language_fortran.
5024 1.1 christos (symbol_natural_name, symbol_demangled_name): Use demangled_name even
5025 1.1 christos for language_fortran.
5026 1.1 christos (lookup_symbol_aux_local): Check imports also for language_fortran.
5027 1.1 christos (default_make_symbol_completion_list): Rename to ...
5028 1.1 christos (default_make_symbol_completion_list_break_on): ... this name. New
5029 1.1 christos parameter break_on, use it.
5030 1.1 christos (default_make_symbol_completion_list): New stub.
5031 1.1 christos * symtab.h (default_make_symbol_completion_list_break_on): New
5032 1.1 christos prototype.
5033 1.1 christos
5034 1.1 christos 2010-06-02 Joel Brobecker <brobecker (a] adacore.com>
5035 1.1 christos
5036 1.1 christos * remote.c (remote_get_noisy_reply): Remove trailing "\n" in call
5037 1.1 christos to error.
5038 1.1 christos
5039 1.1 christos 2010-06-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5040 1.1 christos
5041 1.1 christos * dwarf2read.c (typename_concat): Add const to the variable sep.
5042 1.1 christos
5043 1.1 christos 2010-06-02 Tom Tromey <tromey (a] redhat.com>
5044 1.1 christos
5045 1.1 christos * dwarf2loc.h (dwarf2_per_cu_data): Declare.
5046 1.1 christos * dwarf2read.c (dwarf_stack_op_name): No longer static. Return
5047 1.1 christos type is const. Add 'def' argument. Add missing operators, remove
5048 1.1 christos unhandled ones.
5049 1.1 christos (decode_locdesc): Update.
5050 1.1 christos (dwarf2_always_disassemble): New global.
5051 1.1 christos (show_dwarf2_always_disassemble): New function.
5052 1.1 christos (_initialize_dwarf2_read): Add always-disassemble.
5053 1.1 christos (dwarf2_per_cu_offset_size): New function.
5054 1.1 christos * dwarf2loc.c (dwarf2_always_disassemble): Declare.
5055 1.1 christos (piece_end_p): New function.
5056 1.1 christos (locexpr_describe_location_piece): Replace 'size' argument with
5057 1.1 christos 'end'. Use piece_end_p. Rewrite recognition of TLS. Recognize
5058 1.1 christos some constants. Remove errors.
5059 1.1 christos (disassemble_dwarf_expression): New function.
5060 1.1 christos (locexpr_describe_location_1): Use disassemble_dwarf_expression.
5061 1.1 christos Add 'offset_size' argument.
5062 1.1 christos (loclist_describe_location): Change output formatting.
5063 1.1 christos * dwarf2expr.h (dwarf_stack_op_name): Declare.
5064 1.1 christos
5065 1.1 christos 2010-06-02 Sami Wagiaalla <swagiaal (a] redhat.com>
5066 1.1 christos
5067 1.1 christos * cp-support.c (make_symbol_overload_list_adl_namespace): Handle
5068 1.1 christos anonymous type case.
5069 1.1 christos
5070 1.1 christos 2010-06-02 Pierre Muller <muller (a] ics.u-strasbg.fr>
5071 1.1 christos
5072 1.1 christos * dwarf2read.c (read_subrange_type): Handle missing base type
5073 1.1 christos according to Dwarf-2 specifications.
5074 1.1 christos
5075 1.1 christos 2010-06-01 Sergio Durigan Junior <sergiodj (a] redhat.com>
5076 1.1 christos
5077 1.1 christos * expprint.c (print_subexp_standard): Remove exp_opcodes BINOP_INCL,
5078 1.1 christos BINOP_EXCL.
5079 1.1 christos (op_name_standard): Remove exp_opcodes BINOP_INCL, BINOP_EXCL,
5080 1.1 christos UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH.
5081 1.1 christos (dump_subexp_body_standard): Remove exp_opcodes BINOP_INCL,
5082 1.1 christos BINOP_EXCL, UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH, UNOP_CARD,
5083 1.1 christos UNOP_CHMAX, UNOP_CHMIN.
5084 1.1 christos * expression.h (enum exp_opcode) <BINOP_INCL, BINOP_EXCL,
5085 1.1 christos UNOP_LOWER, UNOP_UPPER, UNOP_LENGTH, UNOP_CARD, UNOP_CHMAX,
5086 1.1 christos UNOP_CHMIN>: Remove opcodes.
5087 1.1 christos
5088 1.1 christos 2010-06-01 Pierre Muller <muller (a] ics.u-strasbg.fr>
5089 1.1 christos
5090 1.1 christos * dwarf2read.c (read_func_scope): Do not complain for
5091 1.1 christos external function if bounds are not found.
5092 1.1 christos
5093 1.1 christos 2010-06-01 Pedro Alves <pedro (a] codesourcery.com>
5094 1.1 christos
5095 1.1 christos * NEWS: Mention gdbserver fast tracepoints support.
5096 1.1 christos
5097 1.1 christos 2010-05-31 Pierre Muller <muller (a] ics.u-strasbg.fr>
5098 1.1 christos
5099 1.1 christos * windows-nat.c (GetConsoleFontSize, GetCurrentConsoleFont):
5100 1.1 christos New macros.
5101 1.1 christos (windows_set_console_info): New function.
5102 1.1 christos (windows_create_inferior): Call windows_set_console_info
5103 1.1 christos if NEW_CONSOLE is true.
5104 1.1 christos (bad_GetCurrentConsoleFont, bad_GetConsoleFontSize): New functions.
5105 1.1 christos (_initialize_loadable): Initialize GetConsoleFontSize and
5106 1.1 christos GetCurrentConsoleFont.
5107 1.1 christos
5108 1.1 christos 2010-05-28 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5109 1.1 christos
5110 1.1 christos * Makefile.in (RDYNAMIC): New.
5111 1.1 christos (SFILES): Add proc-service.list.
5112 1.1 christos * config/alpha/alpha-linux.mh (NAT_CDEPS): New.
5113 1.1 christos (LOADLIBES): Replace -rdynamic by $(RDYNAMIC).
5114 1.1 christos * config/arm/linux.mh: Likewise.
5115 1.1 christos * config/i386/linux.mh: Likewise.
5116 1.1 christos * config/i386/linux64.mh: Likewise.
5117 1.1 christos * config/ia64/linux.mh: Likewise.
5118 1.1 christos * config/m32r/linux.mh: Likewise.
5119 1.1 christos * config/m68k/linux.mh: Likewise.
5120 1.1 christos * config/mips/linux.mh: Likewise.
5121 1.1 christos * config/pa/linux.mh: Likewise.
5122 1.1 christos * config/powerpc/linux.mh: Likewise.
5123 1.1 christos * config/powerpc/ppc64-linux.mh: Likewise.
5124 1.1 christos * config/s390/s390.mh: Likewise.
5125 1.1 christos * config/sparc/linux.mh: Likewise.
5126 1.1 christos * config/sparc/linux64.mh: Likewise.
5127 1.1 christos * config/xtensa/linux.mh: Likewise.
5128 1.1 christos * configure.ac: New RDYNAMIC on native host and GCC.
5129 1.1 christos (solaris*): Replace -Wl,-export-dynamic by $RDYNAMIC.
5130 1.1 christos * configure: Regenerate.
5131 1.1 christos * proc-service.list: New.
5132 1.1 christos
5133 1.1 christos 2010-05-28 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5134 1.1 christos
5135 1.1 christos * linux-nat.c (linux_nat_core_of_thread_1): Fix crash on invalid
5136 1.1 christos CONTENT.
5137 1.1 christos
5138 1.1 christos 2010-05-28 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5139 1.1 christos
5140 1.1 christos * linux-nat.c (linux_nat_wait_1): Do not call
5141 1.1 christos linux_nat_core_of_thread_1 on TARGET_WAITKIND_EXITED or
5142 1.1 christos TARGET_WAITKIND_SIGNALLED.
5143 1.1 christos
5144 1.1 christos 2010-05-27 Joel Brobecker <brobecker (a] adacore.com>
5145 1.1 christos
5146 1.1 christos * ada-lang.c (ada_inferior_data): New struct.
5147 1.1 christos (ada_inferior_data): New static global.
5148 1.1 christos (ada_inferior_data_cleanup, get_ada_inferior_data, ada_inferior_exit)
5149 1.1 christos (ada_get_tsd_type): New functions.
5150 1.1 christos (ada_tag_name_2): Use ada_get_tsd_type instead of ada_find_any_type
5151 1.1 christos to look the tsd type up.
5152 1.1 christos (_initialize_ada_language): Attach ada_inferior_exit to inferior_exit
5153 1.1 christos event. Set ada_inferior_data.
5154 1.1 christos
5155 1.1 christos 2010-05-27 Pedro Alves <pedro (a] codesourcery.com>
5156 1.1 christos
5157 1.1 christos * remote.c (unpack_varlen_hex): Remove forward declaration.
5158 1.1 christos (remote_console_output): Make static, and add forward declaration.
5159 1.1 christos * remote.h: Drop FIXME comment.
5160 1.1 christos (unpack_varlen_hex): Declare.
5161 1.1 christos (remote_console_output, remote_cisco_objfile_relocate)
5162 1.1 christos (deprecated_target_resume_hook, deprecated_target_wait_loop_hook):
5163 1.1 christos Delete declarations.
5164 1.1 christos * tracepoint.c: Include "remote.h".
5165 1.1 christos (unpack_varlen_hex): Delete declaration.
5166 1.1 christos
5167 1.1 christos 2010-05-27 Tom Tromey <tromey (a] redhat.com>
5168 1.1 christos
5169 1.1 christos * dwarf2loc.c (struct piece_closure) <refc>: New field.
5170 1.1 christos (allocate_piece_closure): Initialize refc.
5171 1.1 christos (copy_pieced_value_closure): Use refc.
5172 1.1 christos (free_pieced_value_closure): Likewise.
5173 1.1 christos
5174 1.1 christos 2010-05-27 Tom Tromey <tromey (a] redhat.com>
5175 1.1 christos
5176 1.1 christos * arm-tdep.c (push_stack_item): 'contents' now const.
5177 1.1 christos (arm_push_dummy_call): Make 'val' const. Use value_contents, not
5178 1.1 christos value_contents_writeable. Introduce new temporary.
5179 1.1 christos
5180 1.1 christos 2010-05-27 Tom Tromey <tromey (a] redhat.com>
5181 1.1 christos
5182 1.1 christos * findcmd.c (parse_find_args): Use value_contents, not
5183 1.1 christos value_contents_raw.
5184 1.1 christos
5185 1.1 christos 2010-05-27 Tom Tromey <tromey (a] redhat.com>
5186 1.1 christos
5187 1.1 christos * alpha-tdep.c (alpha_push_dummy_call): Make alpha_arg.contents
5188 1.1 christos const. Use value_contents, not value_contents_writeable.
5189 1.1 christos
5190 1.1 christos 2010-05-27 Joel Brobecker <brobecker (a] adacore.com>
5191 1.1 christos
5192 1.1 christos * ada-lang.c (ensure_lval): Replace call to value_contents_raw
5193 1.1 christos by call to value_contents.
5194 1.1 christos
5195 1.1 christos 2010-05-27 Ozkan Sezer <sezeroz (a] gmail.com>
5196 1.1 christos
5197 1.1 christos * MAINTAINERS: Add myself for write after approval privileges.
5198 1.1 christos
5199 1.1 christos 2010-05-26 Doug Evans <dje (a] google.com>
5200 1.1 christos
5201 1.1 christos Allow python to find its files if moved from original location.
5202 1.1 christos * acinclude.m4 (GDB_AC_DEFINE_RELOCATABLE): New function.
5203 1.1 christos (GDB_AC_WITH_DIR): Call it.
5204 1.1 christos * configure.ac: Define WITH_PYTHON_PATH if we can find the
5205 1.1 christos python installation directory.
5206 1.1 christos * config.in: Regenerate.
5207 1.1 christos * configure: Regenerate.
5208 1.1 christos * defs.h (python_libdir): Declare.
5209 1.1 christos * main.c (python_libdir): Define.
5210 1.1 christos (captured_main): Initialize python_libdir.
5211 1.1 christos * python/python.c (_initialize_python): #ifdef WITH_PYTHON_PATH,
5212 1.1 christos call Py_SetProgramName to make sure python can find its libraries
5213 1.1 christos and modules.
5214 1.1 christos
5215 1.1 christos * configure.ac: Try to use python's distutils to fetch compilation
5216 1.1 christos parameters.
5217 1.1 christos * configure: Regenerate.
5218 1.1 christos * python/python-config.py: New file.
5219 1.1 christos
5220 1.1 christos 2010-05-26 Ozkan Sezer <sezeroz (a] gmail.com>
5221 1.1 christos
5222 1.1 christos * ser-tcp.c (net_open): Check error return from socket() call by its
5223 1.1 christos equality to -1 not by it being negative.
5224 1.1 christos (net_close): Likewise.
5225 1.1 christos
5226 1.1 christos 2010-05-26 Pedro Alves <pedro (a] codesourcery.com>
5227 1.1 christos
5228 1.1 christos * NEWS: Mention the `qRelocInsn' feature.
5229 1.1 christos * gdbarch.sh (relocate_instruction): New.
5230 1.1 christos * amd64-tdep.c (rip_relative_offset): New.
5231 1.1 christos (append_insns): New.
5232 1.1 christos (amd64_relocate_instruction): New.
5233 1.1 christos (amd64_init_abi): Install it.
5234 1.1 christos * i386-tdep.c (append_insns): New.
5235 1.1 christos (i386_relocate_instruction): New.
5236 1.1 christos (i386_gdbarch_init): Install it.
5237 1.1 christos * remote.c (remote_get_noisy_reply): Handle qRelocInsn requests.
5238 1.1 christos * gdbarch.h, gdbarch.c: Regenerate.
5239 1.1 christos
5240 1.1 christos 2010-05-26 Tom Tromey <tromey (a] redhat.com>
5241 1.1 christos
5242 1.1 christos * dwarf2loc.h (struct dwarf2_locexpr_baton) <data>: Now const.
5243 1.1 christos (struct dwarf2_loclist_baton) <data>: Likewise.
5244 1.1 christos * dwarf2loc.c (find_location_expression): Constify return type.
5245 1.1 christos (dwarf2_evaluate_loc_desc): Make 'data' argument const.
5246 1.1 christos (dwarf2_loc_desc_needs_frame): Likewise.
5247 1.1 christos (loclist_read_variable): Constify.
5248 1.1 christos (loclist_describe_location): Likewise.
5249 1.1 christos (loclist_tracepoint_var_ref): Likewise.
5250 1.1 christos
5251 1.1 christos 2010-05-25 Tom Tromey <tromey (a] redhat.com>
5252 1.1 christos
5253 1.1 christos * dwarf2loc.c (dwarf_expr_frame_base): Constify.
5254 1.1 christos (dwarf_expr_frame_base_1): Likewise.
5255 1.1 christos (read_pieced_value): Update.
5256 1.1 christos (needs_frame_frame_base): Constify.
5257 1.1 christos (dwarf2_tracepoint_var_loc): Likewise.
5258 1.1 christos (dwarf2_tracepoint_var_access): Likewise.
5259 1.1 christos (locexpr_describe_location_piece): Likewise.
5260 1.1 christos (locexpr_describe_location_1): Likewise.
5261 1.1 christos * dwarf2expr.h (struct dwarf_expr_context) <get_frame_base>:
5262 1.1 christos Constify.
5263 1.1 christos (data): Now const.
5264 1.1 christos (struct dwarf_expr_piece) <v.literal.data>: Likewise.
5265 1.1 christos (dwarf_expr_eval, read_uleb128, read_sleb128)
5266 1.1 christos (dwarf2_read_address): Update.
5267 1.1 christos * dwarf2expr.c (dwarf_expr_eval): Constify.
5268 1.1 christos (read_uleb128): Likewise.
5269 1.1 christos (read_sleb128): Likewise.
5270 1.1 christos (dwarf2_read_address): Likewise.
5271 1.1 christos (require_composition): Likewise.
5272 1.1 christos (execute_stack_op): Likewise.
5273 1.1 christos * dwarf2-frame.h (struct dwarf2_frame_state_reg) <loc.exp>: Now a
5274 1.1 christos "const gdb_byte *".
5275 1.1 christos * dwarf2-frame.c (struct dwarf2_frame_state_reg_info) <cfa_exp>:
5276 1.1 christos Now const.
5277 1.1 christos (no_get_frame_base): Constify.
5278 1.1 christos (execute_stack_op): Likewise.
5279 1.1 christos (execute_cfa_program): Likewise.
5280 1.1 christos (read_encoded_value): Likewise.
5281 1.1 christos
5282 1.1 christos 2010-05-25 Doug Evans <dje (a] google.com>
5283 1.1 christos
5284 1.1 christos * ser-pipe.c (pipe_open): Ignore SIGINTs in child.
5285 1.1 christos
5286 1.1 christos * event-loop.h (GDB_READABLE, GDB_WRITABLE, GDB_EXCEPTION): Move to ...
5287 1.1 christos * event-loop.c: ... here.
5288 1.1 christos * tui/tui-io.c (tui_readline_output): Rename parameter `code' to
5289 1.1 christos `error' for clarity.
5290 1.1 christos (tui_getc): Pass correct value for `error' parameter to
5291 1.1 christos tui_readline_output.
5292 1.1 christos
5293 1.1 christos Add python gdb.GdbError and gdb.string_to_argv.
5294 1.1 christos * NEWS: Document them.
5295 1.1 christos * python/py-cmd.c (cmdpy_function): Don't print a traceback if
5296 1.1 christos the exception is gdb.GdbError. Print a second traceback if there's
5297 1.1 christos an error computing the error message.
5298 1.1 christos (gdbpy_string_to_argv): New function.
5299 1.1 christos * python/py-utils.c (gdbpy_obj_to_string): New function.
5300 1.1 christos (gdbpy_exception_to_string): New function.
5301 1.1 christos * python/python-internal.h (gdbpy_string_to_argv): Declare.
5302 1.1 christos (gdbpy_obj_to_string, gdbpy_exception_to_string): Declare.
5303 1.1 christos (gdbpy_gdberror_exc): Declare.
5304 1.1 christos * python/python.c (gdbpy_gdberror_exc): New global.
5305 1.1 christos (_initialize_python): Initialize gdbpy_gdberror_exc and create
5306 1.1 christos gdb.GdbError.
5307 1.1 christos (GdbMethods): Add string_to_argv.
5308 1.1 christos
5309 1.1 christos 2010-05-21 Pierre Muller <muller (a] ics.u-strasbg.fr>
5310 1.1 christos
5311 1.1 christos * windows-nat.c (display_selector): Call GetLastError to give better
5312 1.1 christos failure explanation.
5313 1.1 christos
5314 1.1 christos 2010-05-24 Pedro Alves <pedro (a] codesourcery.com>
5315 1.1 christos
5316 1.1 christos * config.in: Regenerate.
5317 1.1 christos
5318 1.1 christos 2010-05-23 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5319 1.1 christos
5320 1.1 christos Code cleanup.
5321 1.1 christos * target.c (push_target): Return only void. Remove the return value
5322 1.1 christos comment.
5323 1.1 christos * target.h (push_target): Return only void.
5324 1.1 christos
5325 1.1 christos 2010-05-23 Pedro Alves <pedro (a] codesourcery.com>
5326 1.1 christos
5327 1.1 christos Update gnulib from latest git.
5328 1.1 christos (250b80067c1e1d8faa0c42fb572f721975b929c5)
5329 1.1 christos
5330 1.1 christos * gnulib/memcmp.c: Removed.
5331 1.1 christos * gnulib/memchr.valgrind: New.
5332 1.1 christos * gnulib/stddef.in.h: New.
5333 1.1 christos * gnulib/Makefile.am: Updated.
5334 1.1 christos * gnulib/memchr.c: Updated.
5335 1.1 christos * gnulib/memmem.c: Updated.
5336 1.1 christos * gnulib/stdint.in.h: Updated.
5337 1.1 christos * gnulib/str-two-way.h: Updated.
5338 1.1 christos * gnulib/string.in.h: Updated.
5339 1.1 christos * gnulib/wchar.in.h: Updated.
5340 1.1 christos
5341 1.1 christos * gnulib/extra/link-warning.h: Removed.
5342 1.1 christos * gnulib/extra/c++defs.h: New.
5343 1.1 christos * gnulib/extra/warn-on-use.h: New.
5344 1.1 christos * gnulib/extra/arg-nonnull.h: Updated.
5345 1.1 christos
5346 1.1 christos * gnulib/m4/extensions.m4: Updated.
5347 1.1 christos * gnulib/m4/gnulib-cache.m4: Updated.
5348 1.1 christos * gnulib/m4/gnulib-common.m4: Updated.
5349 1.1 christos * gnulib/m4/gnulib-comp.m4: Updated.
5350 1.1 christos * gnulib/m4/gnulib-tool.m4: Updated.
5351 1.1 christos * gnulib/m4/include_next.m4: Updated.
5352 1.1 christos * gnulib/m4/longlong.m4: Updated.
5353 1.1 christos * gnulib/m4/memchr.m4: Updated.
5354 1.1 christos * gnulib/m4/memmem.m4: Updated.
5355 1.1 christos * gnulib/m4/stdint.m4: Updated.
5356 1.1 christos * gnulib/m4/string_h.m4: Updated.
5357 1.1 christos * gnulib/m4/memcmp.m4: Removed.
5358 1.1 christos * gnulib/m4/onceonly_2_57.m4: Removed.
5359 1.1 christos * gnulib/m4/00gnulib.m4: New.
5360 1.1 christos * gnulib/m4/mmap-anon.m4: New.
5361 1.1 christos * gnulib/m4/multiarch.m4: New.
5362 1.1 christos * gnulib/m4/onceonly.m4: New.
5363 1.1 christos * gnulib/m4/stddef_h.m4: New.
5364 1.1 christos * gnulib/m4/warn-on-use.m4: New.
5365 1.1 christos * gnulib/m4/wchar.m4: Removed.
5366 1.1 christos * gnulib/m4/wchar_h.m4: New.
5367 1.1 christos * gnulib/m4/wchar_t.m4: New.
5368 1.1 christos * gnulib/m4/wint_t.m4: New.
5369 1.1 christos
5370 1.1 christos * aclocal.m4: Regenerate.
5371 1.1 christos * config.in: Likewise.
5372 1.1 christos * configure: Likewise.
5373 1.1 christos * gnulib/Makefile.in: Likewise.
5374 1.1 christos
5375 1.1 christos 2010-05-21 Tom Tromey <tromey (a] redhat.com>
5376 1.1 christos
5377 1.1 christos * dwarf2loc.c (extract_bits_primitive): New function.
5378 1.1 christos (extract_bits): Likewise.
5379 1.1 christos (insert_bits): Likewise.
5380 1.1 christos (copy_bitwise): Likewise.
5381 1.1 christos (read_pieced_value): Do all operations in bits.
5382 1.1 christos (write_pieced_value): Likewise.
5383 1.1 christos * dwarf2expr.h (struct dwarf_expr_piece) <offset>: New field.
5384 1.1 christos * dwarf2expr.c (add_piece): New arguments bit_piece, offset.
5385 1.1 christos Always use xrealloc to resize piece array.
5386 1.1 christos (execute_stack_op) <DW_OP_reg0>: Handle DW_OP_bit_piece.
5387 1.1 christos <DW_OP_piece>: Update.
5388 1.1 christos <DW_OP_bit_piece>: New case.
5389 1.1 christos
5390 1.1 christos 2010-05-21 Tom Tromey <tromey (a] redhat.com>
5391 1.1 christos
5392 1.1 christos * dwarf2loc.c (read_pieced_value): Exit loop when result is full.
5393 1.1 christos <DWARF_VALUE_OPTIMIZED_OUT>: New case.
5394 1.1 christos * dwarf2expr.h (enum dwarf_value_location)
5395 1.1 christos <DWARF_VALUE_OPTIMIZED_OUT>: New constant.
5396 1.1 christos * dwarf2expr.c (dwarf_expr_stack_empty_p): New function.
5397 1.1 christos (add_piece): Handle empty piece.
5398 1.1 christos (execute_stack_op) <DW_OP_piece>: Handle
5399 1.1 christos DWARF_VALUE_OPTIMIZED_OUT.
5400 1.1 christos
5401 1.1 christos 2010-05-21 Tom Tromey <tromey (a] redhat.com>
5402 1.1 christos
5403 1.1 christos * eval.c (evaluate_subexp_standard) <BINOP_SUBSCRIPT>: Call
5404 1.1 christos evaluate_subexp, not evaluate_subexp_with_coercion.
5405 1.1 christos
5406 1.1 christos 2010-05-21 Pierre Muller <muller (a] ics.u-strasbg.fr>
5407 1.1 christos
5408 1.1 christos * dwarf2read.c (new_symbol): Handle DW_AT_variable_parameter
5409 1.1 christos attribute.
5410 1.1 christos
5411 1.1 christos 2010-05-21 Tom Tromey <tromey (a] redhat.com>
5412 1.1 christos
5413 1.1 christos * dwarf2loc.c (read_pieced_value): Work properly when 'v' has an
5414 1.1 christos offset.
5415 1.1 christos (write_pieced_value): Likewise.
5416 1.1 christos
5417 1.1 christos 2010-05-21 Pierre Muller <muller (a] ics.u-strasbg.fr>
5418 1.1 christos
5419 1.1 christos * dwarf2read.c (process_die): Also allow DW_TAG_const_type
5420 1.1 christos and DW_TAG_volatile_type.
5421 1.1 christos (new_symbol): Likewise.
5422 1.1 christos
5423 1.1 christos 2010-05-20 Pierre Muller <muller (a] ics.u-strasbg.fr>
5424 1.1 christos
5425 1.1 christos * p-valprint.c (pascal_val_print): Call get_array_bounds
5426 1.1 christos to obtain the number of elements in an array.
5427 1.1 christos
5428 1.1 christos 2010-05-19 Doug Evans <dje (a] google.com>
5429 1.1 christos
5430 1.1 christos * python.c (gdbpy_print_stack): Ensure output ends with a newline.
5431 1.1 christos
5432 1.1 christos * python.c (source_python_script): Add comment.
5433 1.1 christos (source_python_script_for_objfile): Remove unnecessary call to
5434 1.1 christos gdbpy_print_stack.
5435 1.1 christos
5436 1.1 christos 2010-05-18 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5437 1.1 christos Sergio Durigan Junior <sergiodj (a] redhat.com>
5438 1.1 christos
5439 1.1 christos Code cleanup.
5440 1.1 christos * parse.c (exp_iterate): Use operator_length wrapper function.
5441 1.1 christos
5442 1.1 christos 2010-05-18 Michael Snyder <msnyder (a] vmware.com>
5443 1.1 christos
5444 1.1 christos * ada-lang.c: White space.
5445 1.1 christos * ada-typeprint.c: White space.
5446 1.1 christos * ada-valprint.c: White space.
5447 1.1 christos * addrmap.c: White space.
5448 1.1 christos * auxv.c: White space.
5449 1.1 christos * ax-gdb.c: White space.
5450 1.1 christos
5451 1.1 christos 2010-05-18 Hui Zhu <teawater (a] gmail.com>
5452 1.1 christos
5453 1.1 christos * linux-fork.c (inferior_call_waitpid_cleanup): Add check
5454 1.1 christos for oldfp.
5455 1.1 christos (inferior_call_waitpid): Move make_cleanup out of check.
5456 1.1 christos Check the return of waitpid.
5457 1.1 christos (delete_checkpoint_command): Add pptid to save fi->parent_ptid.
5458 1.1 christos
5459 1.1 christos 2010-05-17 Michael Snyder <msnyder (a] vmware.com>
5460 1.1 christos
5461 1.1 christos * tui/tui.c: White space.
5462 1.1 christos * tui/tui-data.c: White space.
5463 1.1 christos * tui/tui-disasm.c: White space.
5464 1.1 christos * tui/tui-file.c: White space.
5465 1.1 christos * tui/tui-interp.c: White space.
5466 1.1 christos * tui/tui-main.c: White space.
5467 1.1 christos * tui/tui-out.c: White space.
5468 1.1 christos * tui/tui-regs.c: White space.
5469 1.1 christos * tui/tui-source.c: White space.
5470 1.1 christos * tui/tui-stack.c: White space.
5471 1.1 christos * tui/tui-win.c: White space.
5472 1.1 christos * tui/tui-winsource.c: White space.
5473 1.1 christos
5474 1.1 christos * procfs.c: White space.
5475 1.1 christos
5476 1.1 christos * python/py-auto-load.c: White space.
5477 1.1 christos * python/py-block.c: White space.
5478 1.1 christos * python/py-breakpoint.c: White space.
5479 1.1 christos * python/py-cmd.c: White space.
5480 1.1 christos * python/py-function.c: White space.
5481 1.1 christos * python/py-lazy-string.c: White space.
5482 1.1 christos * python/py-objfile.c: White space.
5483 1.1 christos * python/py-param.c: White space.
5484 1.1 christos * python/py-prettyprint.c: White space.
5485 1.1 christos * python/py-progspace.c: White space.
5486 1.1 christos * python/py-symtab.c: White space.
5487 1.1 christos * python/python.c: White space.
5488 1.1 christos * python/py-type.c: White space.
5489 1.1 christos * python/py-utils.c: White space.
5490 1.1 christos * python/py-value.c: White space.
5491 1.1 christos
5492 1.1 christos * mi/mi-cmd-break.c: White space.
5493 1.1 christos * mi/mi-cmd-env.c: White space.
5494 1.1 christos * mi/mi-cmds.c: White space.
5495 1.1 christos * mi/mi-cmd-stack.c: White space.
5496 1.1 christos * mi/mi-cmd-var.c: White space.
5497 1.1 christos * mi/mi-console.c: White space.
5498 1.1 christos * mi/mi-getopt.c: White space.
5499 1.1 christos * mi/mi-interp.c: White space.
5500 1.1 christos * mi/mi-main.c: White space.
5501 1.1 christos * mi/mi-out.c: White space.
5502 1.1 christos * mi/mi-parse.c: White space.
5503 1.1 christos
5504 1.1 christos * cli/cli-cmds.c: White space.
5505 1.1 christos * cli/cli-decode.c: White space.
5506 1.1 christos * cli/cli-dump.c: White space.
5507 1.1 christos * cli/cli-interp.c: White space.
5508 1.1 christos * cli/cli-logging.c: White space.
5509 1.1 christos * cli/cli-script.c: White space.
5510 1.1 christos * cli/cli-setshow.c: White space.
5511 1.1 christos
5512 1.1 christos * valarith.c: White space.
5513 1.1 christos * valops.c: White space.
5514 1.1 christos * valprint.c: White space.
5515 1.1 christos * value.c: White space.
5516 1.1 christos * varobj.c: White space.
5517 1.1 christos * xcoffread.c: White space.
5518 1.1 christos * xml-support.c: White space.
5519 1.1 christos * xml-tdesc.c: White space.
5520 1.1 christos
5521 1.1 christos 2010-05-17 Andreas Schwab <schwab (a] redhat.com>
5522 1.1 christos
5523 1.1 christos PR gdb/11092
5524 1.1 christos * c-lang.c (c_printstr): Compute real length of NUL terminated
5525 1.1 christos string at first.
5526 1.1 christos
5527 1.1 christos 2010-05-17 Joel Brobecker <brobecker (a] adacore.com>
5528 1.1 christos
5529 1.1 christos * parse.c (parse_exp_in_context): When block is not NULL, use
5530 1.1 christos its associated language to parse the expression instead of
5531 1.1 christos the current_language.
5532 1.1 christos
5533 1.1 christos 2010-05-17 Joel Brobecker <brobecker (a] adacore.com>
5534 1.1 christos
5535 1.1 christos * jv-lang.c (java_lookup_class): Remove commented out code.
5536 1.1 christos (type_from_class): Likewise.
5537 1.1 christos (java_op_print_tab): Remove commented-out elements.
5538 1.1 christos
5539 1.1 christos 2010-05-17 Joel Brobecker <brobecker (a] adacore.com>
5540 1.1 christos
5541 1.1 christos * ada-lang.c (to_fixed_range_type): The the raw index type as
5542 1.1 christos argument instead of the raw type name. Remove orig_type parameter.
5543 1.1 christos Update calls throughout.
5544 1.1 christos (ada_fixup_array_indexes_type): New function.
5545 1.1 christos (ada_array_bound_from_type): Add call to ada_fixup_array_indexes_type.
5546 1.1 christos * ada-lang.h (ada_fixup_array_indexes_type): Add declaration.
5547 1.1 christos * ada-typeprint.c (print_range_type): Renames print_range_type_named.
5548 1.1 christos Remove name parameter.
5549 1.1 christos (print_array_type): Add call to ada_fixup_array_indexes_type.
5550 1.1 christos Update calls to print_range_type.
5551 1.1 christos (ada_print_type): Update calls to print_range_type.
5552 1.1 christos
5553 1.1 christos 2010-05-17 Pierre Muller <muller (a] ics.u-strasbg.fr>
5554 1.1 christos
5555 1.1 christos * dwarf2read.c (read_set_type): Set type length if
5556 1.1 christos DW_AT_byte_size attribute is present.
5557 1.1 christos
5558 1.1 christos 2010-05-17 Pierre Muller <muller (a] ics.u-strasbg.fr>
5559 1.1 christos
5560 1.1 christos * p-valprint.c (pascal_val_print): Handle set type if range limits
5561 1.1 christos are undefined but size is known.
5562 1.1 christos
5563 1.1 christos 2010-05-17 Pedro Alves <pedro (a] codesourcery.com>
5564 1.1 christos
5565 1.1 christos * procfs.c: Reformat.
5566 1.1 christos
5567 1.1 christos 2010-05-16 Michael Snyder <msnyder (a] vmware.com>
5568 1.1 christos
5569 1.1 christos * target.c: White space.
5570 1.1 christos * target-descriptions.c: White space.
5571 1.1 christos * target-memory.c: White space.
5572 1.1 christos * thread.c: White space.
5573 1.1 christos * top.c: White space.
5574 1.1 christos * tracepoint.c: White space.
5575 1.1 christos * trad-frame.c: White space.
5576 1.1 christos * tramp-frame.c: White space.
5577 1.1 christos * ui-file.c: White space.
5578 1.1 christos * ui-out.c: White space.
5579 1.1 christos * user-regs.c: White space.
5580 1.1 christos * utils.c: White space.
5581 1.1 christos
5582 1.1 christos * scm-exp.c: White space.
5583 1.1 christos * scm-lang.c: White space.
5584 1.1 christos * scm-valprint.c: White space.
5585 1.1 christos * sentinel-frame.c: White space.
5586 1.1 christos * ser-base.c: White space.
5587 1.1 christos * ser-go32.c: White space.
5588 1.1 christos * serial.c: White space.
5589 1.1 christos * ser-mingw.c: White space.
5590 1.1 christos * ser-pipe.c: White space.
5591 1.1 christos * ser-tcp.c: White space.
5592 1.1 christos * ser-unix.c: White space.
5593 1.1 christos * solib.c: White space.
5594 1.1 christos * solib-darwin.c: White space.
5595 1.1 christos * solib-frv.c: White space.
5596 1.1 christos * solib-irix.c: White space.
5597 1.1 christos * solib-osf.c: White space.
5598 1.1 christos * solib-pa64.c: White space.
5599 1.1 christos * solib-som.c: White space.
5600 1.1 christos * solib-spu.c: White space.
5601 1.1 christos * solib-svr4.c: White space.
5602 1.1 christos * solib-target.c: White space.
5603 1.1 christos * source.c: White space.
5604 1.1 christos * stabsread.c: White space.
5605 1.1 christos * stack.c: White space.
5606 1.1 christos * std-regs.c: White space.
5607 1.1 christos * symfile.c: White space.
5608 1.1 christos * symmisc.c: White space.
5609 1.1 christos * symtab.c: White space.
5610 1.1 christos
5611 1.1 christos 2010-05-16 Michael Snyder <msnyder (a] vmware.com>
5612 1.1 christos
5613 1.1 christos * source.c (_initialize_source): Add "rev" as an abbreviation
5614 1.1 christos for the "reverse-search" command.
5615 1.1 christos
5616 1.1 christos 2010-05-16 Michael Snyder <msnyder (a] vmware.com>
5617 1.1 christos
5618 1.1 christos * record.c: White space.
5619 1.1 christos * regcache.c: White space.
5620 1.1 christos * reggroups.c: White space.
5621 1.1 christos * remote-fileio.c: White space.
5622 1.1 christos * remote-m32r-sdi.c: White space.
5623 1.1 christos * remote-mips.c: White space.
5624 1.1 christos * remote-sim.c: White space.
5625 1.1 christos * remote.c: White space.
5626 1.1 christos (process_g_packet): Remove orphan braces.
5627 1.1 christos
5628 1.1 christos 2010-05-15 Michael Snyder <msnyder (a] vmware.com>
5629 1.1 christos
5630 1.1 christos * parse.c: White space.
5631 1.1 christos * p-lang.c: White space.
5632 1.1 christos * posix-hdep.c: White space.
5633 1.1 christos * printcmd.c: White space.
5634 1.1 christos * progspace.c: White space.
5635 1.1 christos * prologue-value.c: White space.
5636 1.1 christos * psymtab.c: White space.
5637 1.1 christos * p-typeprint.c: White space.
5638 1.1 christos * p-valprint.c: White space.
5639 1.1 christos
5640 1.1 christos * objc-lang.c: White space.
5641 1.1 christos * objfiles.c: White space.
5642 1.1 christos * observer.c: White space.
5643 1.1 christos * osabi.c: White space.
5644 1.1 christos * osdata.c: White space.
5645 1.1 christos
5646 1.1 christos * m2-lang.c: White space.
5647 1.1 christos * m2-valprint.c: White space.
5648 1.1 christos * macrocmd.c: White space.
5649 1.1 christos * macroexp.c: White space.
5650 1.1 christos * macroscope.c: White space.
5651 1.1 christos * macrotab.c: White space.
5652 1.1 christos * main.c: White space.
5653 1.1 christos * maint.c: White space.
5654 1.1 christos * mdebugread.c: White space.
5655 1.1 christos * memattr.c: White space.
5656 1.1 christos * minsyms.c: White space.
5657 1.1 christos * monitor.c: White space.
5658 1.1 christos
5659 1.1 christos 2010-05-14 Michael Snyder <msnyder (a] vmware.com>
5660 1.1 christos
5661 1.1 christos * jv-lang.c: White space.
5662 1.1 christos * jv-typeprint.c: White space.
5663 1.1 christos * jv-valprint.c: White space.
5664 1.1 christos * language.c: White space.
5665 1.1 christos * libunwind-frame.c: White space.
5666 1.1 christos * linespec.c: White space.
5667 1.1 christos * linux-nat.c: White space.
5668 1.1 christos * linux-record.c: White space.
5669 1.1 christos * linux-thread-db.c: White space.
5670 1.1 christos
5671 1.1 christos * infcall.c: White space.
5672 1.1 christos * inf-child.c: White space.
5673 1.1 christos * infcmd.c: White space.
5674 1.1 christos * inferior.c: White space.
5675 1.1 christos * inf-loop.c: White space.
5676 1.1 christos * inflow.c: White space.
5677 1.1 christos * inline-frame.c: White space.
5678 1.1 christos * interps.c: White space.
5679 1.1 christos
5680 1.1 christos * gcore.c: White space.
5681 1.1 christos * gdb.c: White space.
5682 1.1 christos * gdbtypes.c: White space.
5683 1.1 christos * gnu-nat.c: White space.
5684 1.1 christos * gnu-v2-abi.c: White space.
5685 1.1 christos * gnu-v3-abi.c: White space.
5686 1.1 christos
5687 1.1 christos * findcmd.c: White space.
5688 1.1 christos * findvar.c: White space.
5689 1.1 christos * fork-child.c: White space.
5690 1.1 christos * frame-base.c: White space.
5691 1.1 christos * frame.c: White space.
5692 1.1 christos * frame-unwind.c: White space.
5693 1.1 christos * f-valprint.c: White space.
5694 1.1 christos
5695 1.1 christos * elfread.c: White space.
5696 1.1 christos * environ.c: White space.
5697 1.1 christos * eval.c: White space.
5698 1.1 christos * event-loop.c: White space.
5699 1.1 christos * event-top.c: White space.
5700 1.1 christos * exceptions.c: White space.
5701 1.1 christos * exec.c: White space.
5702 1.1 christos * expprint.c: White space.
5703 1.1 christos
5704 1.1 christos * dbxread.c: White space.
5705 1.1 christos * dcache.c: White space.
5706 1.1 christos * disasm.c: White space.
5707 1.1 christos * doublest.c: White space.
5708 1.1 christos * dsrec.c: White space.
5709 1.1 christos * dummy-frame.c: White space.
5710 1.1 christos * dwarf2expr.c: White space.
5711 1.1 christos * dwarf2-frame.c: White space.
5712 1.1 christos * dwarf2loc.c: White space.
5713 1.1 christos * dwarf2read.c: White space.
5714 1.1 christos
5715 1.1 christos 2010-05-14 Phil Muldoon <pmuldoon (a] redhat.com>
5716 1.1 christos
5717 1.1 christos PR python/11482
5718 1.1 christos
5719 1.1 christos * python/py-value.c (valpy_hash): New function.
5720 1.1 christos (value_object_type): Register valpy_hash.
5721 1.1 christos
5722 1.1 christos 2010-05-14 Hui Zhu <teawater (a] gmail.com>
5723 1.1 christos Michael Snyder <msnyder (a] vmware.com>
5724 1.1 christos
5725 1.1 christos * linux-fork.c (gdbthread.h): New include.
5726 1.1 christos (fork_info): Add parent_ptid.
5727 1.1 christos (inferior_call_waitpid_cleanup, inferior_call_waitpid): New
5728 1.1 christos functions.
5729 1.1 christos (delete_checkpoint_command): Call inferior_call_waitpid.
5730 1.1 christos (checkpoint_command): Set parent_ptid.
5731 1.1 christos
5732 1.1 christos 2010-05-13 Michael Snyder <msnyder (a] vmware.com>
5733 1.1 christos
5734 1.1 christos * dictionary.c: Re-indent to GNU coding standard.
5735 1.1 christos
5736 1.1 christos * charset.c: White space.
5737 1.1 christos * c-lang.c: White space.
5738 1.1 christos * cli-out.c: White space.
5739 1.1 christos * coffread.c: White space.
5740 1.1 christos * complaints.c: White space.
5741 1.1 christos * completer.c: White space.
5742 1.1 christos * corefile.c: White space.
5743 1.1 christos * corelow.c: White space.
5744 1.1 christos * cp-abi.c: White space.
5745 1.1 christos * cp-namespace.c: White space.
5746 1.1 christos * cp-support.c: White space.
5747 1.1 christos * cp-valprint.c: White space.
5748 1.1 christos * c-typeprint.c: White space.
5749 1.1 christos * c-valprint.c: White space.
5750 1.1 christos * blockframe.c: White space.
5751 1.1 christos * breakpoint.c: White space.
5752 1.1 christos * buildsym.c: White space.
5753 1.1 christos * blockframe.c: White space.
5754 1.1 christos * bcache.c: White space.
5755 1.1 christos * gdbarch.sh: White space, add blank lines.
5756 1.1 christos * arch-utils.c: Ditto.
5757 1.1 christos * gdbarch.c: Regenerate.
5758 1.1 christos * frame.c: White space, add blank lines.
5759 1.1 christos * stack.c: White space, add blank lines.
5760 1.1 christos (initialize_stack): Remove long-dead code.
5761 1.1 christos
5762 1.1 christos 2010-05-13 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5763 1.1 christos
5764 1.1 christos Code cleanup.
5765 1.1 christos * dwarf2loc.c (dwarf2_evaluate_loc_desc): Change the parameter to type.
5766 1.1 christos (locexpr_read_variable, loclist_read_variable): Update the callers.
5767 1.1 christos
5768 1.1 christos 2010-05-13 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5769 1.1 christos
5770 1.1 christos Code cleanup.
5771 1.1 christos * dwarf2read.c (die_type, die_descriptive_type): Remove variable type.
5772 1.1 christos Remove check of NULL returned by tag_type_to_type.
5773 1.1 christos (die_containing_type): Remove variable type. Remove type_die variable
5774 1.1 christos initialization. Remove check of NULL returned by tag_type_to_type.
5775 1.1 christos
5776 1.1 christos 2010-05-11 Pierre Muller <muller (a] ics.u-strasbg.fr>
5777 1.1 christos
5778 1.1 christos PR exp/11530.
5779 1.1 christos * gdbtypes.c (lookup_struct_elt_type): Also lookup
5780 1.1 christos names of unnamed structures or unions.
5781 1.1 christos
5782 1.1 christos 2010-05-11 Pierre Muller <muller (a] ics.u-strasbg.fr>
5783 1.1 christos
5784 1.1 christos * procfs.c (proc_watchpoint_address): New function.
5785 1.1 christos (procfs_stopped_by_watchpoint): Remove useless check after
5786 1.1 christos find_procinfo_or_die call.
5787 1.1 christos (procfs_stopped_data_address): New function.
5788 1.1 christos (procfs_use_watchpoints): Register new watchpoint related function.
5789 1.1 christos
5790 1.1 christos 2010-05-11 Tom Tromey <tromey (a] redhat.com>
5791 1.1 christos
5792 1.1 christos * eval.c (evaluate_subexp_standard): Revert inadvertent change.
5793 1.1 christos
5794 1.1 christos 2010-05-10 Michael Snyder <msnyder (a] vmware.com>
5795 1.1 christos
5796 1.1 christos * utils.c: White space cleanup.
5797 1.1 christos
5798 1.1 christos 2010-05-10 Tom Tromey <tromey (a] redhat.com>
5799 1.1 christos
5800 1.1 christos * eval.c (ptrmath_type_p): Add 'lang' argument.
5801 1.1 christos (evaluate_subexp_standard): Update.
5802 1.1 christos (evaluate_subexp_with_coercion): Update.
5803 1.1 christos * language.h (CAST_IS_CONVERSION): Add 'LANG' argument.
5804 1.1 christos
5805 1.1 christos 2010-05-10 Michael Snyder <msnyder (a] vmware.com>
5806 1.1 christos
5807 1.1 christos * utils.c (do_fclose_cleanup) Restore local variable.
5808 1.1 christos
5809 1.1 christos 2010-05-09 Doug Evans <dje (a] google.com>
5810 1.1 christos
5811 1.1 christos * record.c (init_record_core_ops): Rename record_core to record-core.
5812 1.1 christos
5813 1.1 christos 2010-05-08 Joel Brobecker <brobecker (a] adacore.com>
5814 1.1 christos
5815 1.1 christos Implement task switching on pa-hpux.
5816 1.1 christos * inf-ttrace.c (inf_ttrace_get_ada_task_ptid): New function.
5817 1.1 christos (inf_ttrace_target): Set t->to_get_ada_task_ptid.
5818 1.1 christos
5819 1.1 christos 2010-05-08 Pierre Muller <muller (a] ics.u-strasbg.fr>
5820 1.1 christos
5821 1.1 christos * valops.c (find_overload_match): Add missing i18n markup.
5822 1.1 christos
5823 1.1 christos 2010-05-08 Pierre Muller <muller (a] ics.u-strasbg.fr>
5824 1.1 christos
5825 1.1 christos * p-exp.y (exp : SIZEOF '(' exp ')'): New rule.
5826 1.1 christos
5827 1.1 christos 2010-05-08 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5828 1.1 christos
5829 1.1 christos * dwarf2read.c (typename_concat): Use (char *) NULL terminated stdarg
5830 1.1 christos list for the obconcat call.
5831 1.1 christos * mdebugread.c (parse_symbol): Likewise.
5832 1.1 christos * stabsread.c (define_symbol, read_member_functions, read_cpp_abbrev):
5833 1.1 christos Likewise.
5834 1.1 christos * symfile.c (obconcat): Replace the s1, s2 and s3 parameters by `...'.
5835 1.1 christos New variable ap. Remove variables len and val.
5836 1.1 christos * symfile.h (obconcat): Likewise for the prototype.
5837 1.1 christos
5838 1.1 christos 2010-05-07 Michael Snyder <msnyder (a] vmware.com>
5839 1.1 christos
5840 1.1 christos * python/python.c (execute_gdb_command): Remove unused variables.
5841 1.1 christos * python/py-block.c (gdbpy_block_for_pc): Remove unused variable.
5842 1.1 christos * python/py-breakpoint.c (gdbpy_breakpoint_created):
5843 1.1 christos Remove unused variable.
5844 1.1 christos * python/py-cmd.c (cmdpy_function): Remove unused variable.
5845 1.1 christos (cmdpy_completer): Remove unused variable.
5846 1.1 christos * python/py-frame.c (frapy_find_sal): Remove unused variable.
5847 1.1 christos * python/py-function.c (fnpy_call): Remove unused variable.
5848 1.1 christos * python/py-objfile.c (objfile_to_objfile_object):
5849 1.1 christos Remove unused variable.
5850 1.1 christos * python/py-param.c (parmpy_init): Remove unused variable.
5851 1.1 christos * python/py-prettyprint.c (apply_varobj_pretty_printer):
5852 1.1 christos Remove unused variable.
5853 1.1 christos (gdbpy_default_visualizer): Remove unused variable.
5854 1.1 christos * python/py-progspace.c (pspace_to_pspace_object):
5855 1.1 christos Remove unused variable.
5856 1.1 christos * python/py-symtab.c (symtab_and_line_to_sal_object):
5857 1.1 christos Remove unused variable.
5858 1.1 christos * python/py-type.c (typy_template_argument):
5859 1.1 christos Remove unused variable.
5860 1.1 christos * python/py-value.c (valpy_string): Remove unused variable.
5861 1.1 christos (convert_value_from_python): Remove unused variables.
5862 1.1 christos
5863 1.1 christos 2010-05-07 Michael Snyder <msnyder (a] vmware.com>
5864 1.1 christos
5865 1.1 christos * valops.c (value_cast_pointers): Restore unused variable 'type1',
5866 1.1 christos and use it to compute variable 't1'.
5867 1.1 christos
5868 1.1 christos 2010-05-07 Joel Brobecker <brobecker (a] adacore.com>
5869 1.1 christos
5870 1.1 christos * ada-lang.c (assign_aggregate): Remove unused variable.
5871 1.1 christos
5872 1.1 christos 2010-05-07 Sami Wagiaalla <swagiaal (a] redhat.com>
5873 1.1 christos
5874 1.1 christos PR C++/7943:
5875 1.1 christos * valops.c (find_overload_match): Handle fsym == NULL case.
5876 1.1 christos Add int no_adl argument.
5877 1.1 christos (find_oload_champ_namespace_loop): Call make_symbol_overload_list_adl
5878 1.1 christos when appropriate.
5879 1.1 christos Add int no_adl argument.
5880 1.1 christos (find_oload_champ_namespace): Add int no_adl argument.
5881 1.1 christos * parse.c (operator_length_standard): Return length for OP_ADL_FUNC
5882 1.1 christos expression.
5883 1.1 christos * expprint.c (op_name_standard): Added string for OP_ADL_FUNC case.
5884 1.1 christos * eval.c (evaluate_subexp_standard): Added OP_ADL_FUNC case.
5885 1.1 christos Evaluate arguments and use them to perform ADL lookup.
5886 1.1 christos Pass no_adl argument to find_overload_match.
5887 1.1 christos Disable adl lookup when evaluating a fully qualified OP_FUNCALL.
5888 1.1 christos * cp-support.h: Added prototype for
5889 1.1 christos make_symbol_overload_list_namespace.
5890 1.1 christos * cp-support.c (make_symbol_overload_list_namespace): New function.
5891 1.1 christos (make_symbol_overload_list_adl_namespace): New function.
5892 1.1 christos (make_symbol_overload_list_adl): New function.
5893 1.1 christos (make_symbol_overload_list_using): Moved code to add function to
5894 1.1 christos overload set to make_symbol_overload_list_namespace.
5895 1.1 christos * c-exp.y: create UNKNOWN_CPP_NAME token.
5896 1.1 christos Add parse rule for ADL functions.
5897 1.1 christos (classify_name): Recognize an UNKNOWN_CPP_NAME.
5898 1.1 christos
5899 1.1 christos 2010-05-07 Jan Kratochvil <jan.kratochvil (a] redhat.com>
5900 1.1 christos
5901 1.1 christos * fbsd-nat.c (fbsd_make_corefile_notes): Add cast to NULL used as
5902 1.1 christos sentinel.
5903 1.1 christos
5904 1.1 christos 2010-05-07 Joel Brobecker <brobecker (a] adacore.com>
5905 1.1 christos
5906 1.1 christos Implement task switching on solaris targets.
5907 1.1 christos * sol-thread.c (thread_db_find_thread_from_tid)
5908 1.1 christos (sol_get_ada_task_ptid): New functions.
5909 1.1 christos (init_sol_thread_ops): Set sol_thread_ops.to_get_ada_task_ptid.
5910 1.1 christos
5911 1.1 christos 2010-05-07 Pedro Alves <pedro (a] codesourcery.com>
5912 1.1 christos
5913 1.1 christos * remote.c (remote_query_supported_append): Use reconcat.
5914 1.1 christos (remote_query_supported): Install a cleanup. Use reconcat.
5915 1.1 christos
5916 1.1 christos 2010-05-07 Pedro Alves <pedro (a] codesourcery.com>
5917 1.1 christos
5918 1.1 christos * gdbarch.sh (qsupported): Delete.
5919 1.1 christos * gdbarch.h, gdbarch.c: Regenerate.
5920 1.1 christos * remote.c (remote_query_supported): Remove use of
5921 1.1 christos gdbarch_qsupported.
5922 1.1 christos
5923 1.1 christos 2010-05-06 Sergio Durigan Junior <sergiodj (a] redhat.com>
5924 1.1 christos
5925 1.1 christos * xml-syscall.c (syscall_start_syscalls_info): Remove unused
5926 1.1 christos function.
5927 1.1 christos
5928 1.1 christos 2010-05-06 Michael Snyder <msnyder (a] vmware.com>
5929 1.1 christos
5930 1.1 christos * xml-support.c (xinclude_start_include): Delete unused variable.
5931 1.1 christos (xml_process_xincludes): Delete unused variable.
5932 1.1 christos * xml-syscall.c (syscall_parse_xml): Delete unused variable.
5933 1.1 christos * target-descriptions.c (tdesc_gdb_type): Delete unused variable.
5934 1.1 christos (tdesc_find_arch_register): Delete unused variable.
5935 1.1 christos (tdesc_use_registers): Delete unused variable.
5936 1.1 christos * xml-tdesc.c (tdesc_start_target): Delete unused variable.
5937 1.1 christos * inferior.c (print_inferior): Delete unused variable.
5938 1.1 christos * record.c (record_open_1): Delete unused variable.
5939 1.1 christos (record_restore): Delete unused variable.
5940 1.1 christos (cmd_record_save): Delete unused variable.
5941 1.1 christos * gcore.c (derive_heap_segment): Delete unused variable.
5942 1.1 christos (objfile_find_memory_regions): Use unused variable.
5943 1.1 christos * jit.c (jit_inferior_init): Delete unused variable.
5944 1.1 christos * progspace.c (clone_program_space): Delete unused variable.
5945 1.1 christos (pspace_empty_p): Delete unused variable.
5946 1.1 christos
5947 1.1 christos * frame-unwind.c (frame_unwind_find_by_frame):
5948 1.1 christos Delete unused variable.
5949 1.1 christos * gnu-v2-abi.c (gnuv2_value_rtti_type): Delete unused variable.
5950 1.1 christos * cp-support.c (mangled_name_to_comp): Delete unused variable.
5951 1.1 christos (method_name_from_physname): Delete unused variable.
5952 1.1 christos (cp_func_name): Delete unused variable.
5953 1.1 christos (cp_validate_operator): Delete unused variable.
5954 1.1 christos * cp-namespace.c (cp_scan_for_anonymous_namespaces):
5955 1.1 christos Delete unused variable.
5956 1.1 christos * trad-frame.c (trad_frame_get_prev_register):
5957 1.1 christos Delete unused variable.
5958 1.1 christos * tramp-frame.c (tramp_frame_cache): Delete unused variable.
5959 1.1 christos
5960 1.1 christos * serial.c (serial_for_fd): Delete unused variable.
5961 1.1 christos * mdebugread.c (psymtab_to_symtab_1): Delete unused variable.
5962 1.1 christos * top.c (execute_command): Delete unused variable.
5963 1.1 christos (init_main): Delete unused variable.
5964 1.1 christos * utils.c (do_fclose_cleanup): Delete unused variable.
5965 1.1 christos (do_all_inferior_continuations): Delete unused variable.
5966 1.1 christos (initialize_utils): Delete unused variable.
5967 1.1 christos (internal_problem_mode): Delete unused global.
5968 1.1 christos * frame.c (get_prev_frame): Delete unused global.
5969 1.1 christos (get_frame_locals_address): Delete unused global.
5970 1.1 christos (get_frame_args_address): Delete unused global.
5971 1.1 christos
5972 1.1 christos * p-typeprint.c (pascal_type_print_base): Delete unused variable.
5973 1.1 christos (pascal_type_print_varspec_prefix): Delete unused variable.
5974 1.1 christos * f-typeprint.c (f_type_print_base): Delete unused variable.
5975 1.1 christos (f_type_print_varspec_suffix): Delete unused variable.
5976 1.1 christos * m2-typeprint.c (m2_print_type): Delete unused variable.
5977 1.1 christos (m2_long_set): Delete unused variable.
5978 1.1 christos * ada-valprint.c (ada_val_print_1): Delete unused variable.
5979 1.1 christos * d-valprint.c (dynamic_array_type): Delete unused variable.
5980 1.1 christos * f-valprint.c (f77_get_dynamic_length_of_aggregate):
5981 1.1 christos Delete unused variable.
5982 1.1 christos (f77_create_arrayprint_offset_tbl): Delete unused variable.
5983 1.1 christos * m2-valprint.c (m2_val_print): Delete unused variable.
5984 1.1 christos
5985 1.1 christos * ui-out.c (ui_out_field_int): Delete unused variable.
5986 1.1 christos (ui_out_field_fmt_int): Delete unused variable.
5987 1.1 christos * varobj.c (varobj_list_children): Delete unused variable.
5988 1.1 christos (varobj_set_value): Delete unused variable.
5989 1.1 christos (install_new_value_visualizer): Delete unused variable.
5990 1.1 christos (varobj_set_visualizer): Delete unused variable.
5991 1.1 christos (varobj_update): Delete unused variable.
5992 1.1 christos (varobj_editable_p): Delete unused variable.
5993 1.1 christos (c_value_of_root): Delete unused variable.
5994 1.1 christos (cplus_describe_child): Delete unused variable.
5995 1.1 christos
5996 1.1 christos * ada-lang.c (add_defn_to_vec): Delete unused variable.
5997 1.1 christos (decode_constrained_packed_array_type): Delete unused variable.
5998 1.1 christos (add_defn_to_vec): Delete unused variable.
5999 1.1 christos (symbol_completion_match): Delete unused variable.
6000 1.1 christos (value_tag_from_contents_and_address): Delete unused variable.
6001 1.1 christos (ada_evaluate_subexp): Delete unused variable.
6002 1.1 christos * c-lang.c (classify_type): Delete unused variable.
6003 1.1 christos * f-lang.c (f_printstr): Delete unused variable.
6004 1.1 christos * objc-lang.c (objc_printstr): Delete unused variable.
6005 1.1 christos * ada-tasks.c (get_known_tasks_addr): Delete unused variable.
6006 1.1 christos * jv-lang.c (type_from_class): ifdef unused variable.
6007 1.1 christos (java_class_name_from_physname): Delete unused variable.
6008 1.1 christos * m2-lang.c (m2_printstr): Delete unused variable.
6009 1.1 christos
6010 1.1 christos * objfiles.c (objfile_relocate): Delete unused variable.
6011 1.1 christos * maint.c (_initialize_maint_cmds): Delete unused variable.
6012 1.1 christos * demangle.c (_initialize_demangler): Delete unused variable.
6013 1.1 christos * corefile.c (reopen_exec_file): Delete unused variable.
6014 1.1 christos * dwarf2expr.c (dwarf2_read_address): Delete unused variable.
6015 1.1 christos * dwarf2-frame.c (decode_frame_entry): Delete unused variable.
6016 1.1 christos
6017 1.1 christos * osabi.c (_initialize_gdb_osabi): Delete unused variable.
6018 1.1 christos * memattr.c (mem_delete): Delete unused variable.
6019 1.1 christos (invalidate_target_mem_regions): Delete unused variable.
6020 1.1 christos * mem-break.c (default_memory_insert_breakpoint):
6021 1.1 christos Delete unused variable.
6022 1.1 christos * target.c (target_get_osdata): Delete unused variable.
6023 1.1 christos * parse.c (length_of_subexp): Delete unused variable.
6024 1.1 christos (prefixify_subexp): Delete unused variable.
6025 1.1 christos (exp_iterate): Delete unused variable.
6026 1.1 christos * reverse.c (delete_bookmark_command): Delete unused variable.
6027 1.1 christos
6028 1.1 christos * macrocmd.c (_initialize_macrocmd): Delete unused variable.
6029 1.1 christos * macroexp.c (gather_arguments): Delete unused variable.
6030 1.1 christos (substitute_args): Delete unused variable.
6031 1.1 christos * completer.c (gdb_completer_loc_break_characters): Unused, delete.
6032 1.1 christos * gdbarch.sh (gdbarch_printable_names): Delete unused variable.
6033 1.1 christos (_initialize_gdbarch): Delete unused variable.
6034 1.1 christos * gdbarch.c, gdbarch.h: Regenerate.
6035 1.1 christos * arch-utils.c (initialize_current_architecture):
6036 1.1 christos Delete unused variable.
6037 1.1 christos (_initialize_gdbarch_utils): Delete unused variable.
6038 1.1 christos * gdbtypes.c (make_cv_type): Delete unused variable.
6039 1.1 christos (make_type_with_address_space): Delete unused variable.
6040 1.1 christos
6041 1.1 christos * linespec.c (decode_compound): Delete unused variable.
6042 1.1 christos * dictionary.c (iterator_next_hashed): Delete unused variable.
6043 1.1 christos * infcall.c (call_function_by_hand): Delete unused variable.
6044 1.1 christos * infcmd.c (step_1): Delete unused variable.
6045 1.1 christos (registers_info): Delete unused variable.
6046 1.1 christos (attach_command): Delete unused variable.
6047 1.1 christos * infrun.c (follow_exec): Delete unused variable.
6048 1.1 christos (handle_step_into_function_backwards): Delete unused variable.
6049 1.1 christos (_initialize_infrun): Delete unused variable.
6050 1.1 christos * stack.c (parse_frame_specification_1): Delete unused variable.
6051 1.1 christos (frame_info): Delete unused variable.
6052 1.1 christos (backtrace_command_1): Delete unused variable.
6053 1.1 christos (catch_info): Delete unused variable.
6054 1.1 christos
6055 1.1 christos * eval.c (evaluate_subexp_standard): Delete unused variable.
6056 1.1 christos * valops.c (value_cast_pointers): Delete unused variable.
6057 1.1 christos (value_dynamic_cast): Delete unused variable.
6058 1.1 christos (value_array): Delete unused variable.
6059 1.1 christos (find_overload_match): Delete unused variable.
6060 1.1 christos * valarith.c (value_subscript): Delete unused variable.
6061 1.1 christos (value_binop): Delete unused variable.
6062 1.1 christos * valprint.c (_initialize_valprint): Delete unused variable.
6063 1.1 christos * printcmd.c (print_command_1): Delete unused variable.
6064 1.1 christos (address_info): Delete unused variable.
6065 1.1 christos (printf_command): Delete unused variable.
6066 1.1 christos
6067 1.1 christos * auxv.c (target_auxv_search): Delete unused variable.
6068 1.1 christos * blockframe.c (get_frame_block): Delete unused variable.
6069 1.1 christos * regcache.c (regcache_cpy): Delete unused variable.
6070 1.1 christos (regcache_cpy_no_passthrough): Delete unused variable.
6071 1.1 christos * charset.c (wchar_iterate): Delete unused variable.
6072 1.1 christos (find_charset_names): Delete unused variable.
6073 1.1 christos (_initialize_charset): Delete unused variable.
6074 1.1 christos * disasm.c (do_mixed_source_and_assembly):
6075 1.1 christos Delete unused variable.
6076 1.1 christos * source.c (set_default_source_symtab_and_line):
6077 1.1 christos Delete unused variable.
6078 1.1 christos (set_substitute_path_command): Delete unused variable.
6079 1.1 christos * value.c (preserve_values): Delete unused variable.
6080 1.1 christos (value_from_double): Delete unused variable.
6081 1.1 christos
6082 1.1 christos 2010-05-05 Michael Snyder <msnyder (a] vmware.com>
6083 1.1 christos
6084 1.1 christos * psymtab.c (lookup_partial_symbol): Delete unused variable.
6085 1.1 christos (find_last_source_symtab_from_partial): Delete unused variable.
6086 1.1 christos * symfile.c (place_section): Delete unused variable.
6087 1.1 christos (default_symfile_offsets): Delete unused variable.
6088 1.1 christos (get_debug_link_info): Delete unused variable.
6089 1.1 christos (find_separate_debug_file_by_debuglink): Delete unused variable.
6090 1.1 christos (add_symbol_file_command): Delete unused variable.
6091 1.1 christos (symfile_find_segment_sections): Delete unused variable.
6092 1.1 christos * symmisc.c (free_symtab): Delete unused variable.
6093 1.1 christos (dump_symtab_1): Delete unused variable.
6094 1.1 christos * symtab.c (lookup_symbil_aux_quick): Delete unused variable.
6095 1.1 christos (find_pc_sect_symtab): Delete unused variable.
6096 1.1 christos (skip_prologue_using_lineinfo): Delete unused variable.
6097 1.1 christos (sources_info): Delete unused variable.
6098 1.1 christos (completion_list_add_name): Delete unused variable.
6099 1.1 christos (expand_line_sal): Delete unused variable.
6100 1.1 christos
6101 1.1 christos * breakpoint.c (validate_commands_for_breakpoint):
6102 1.1 christos Delete unused variables.
6103 1.1 christos (insert_catchpoint): Delete unused variable.
6104 1.1 christos (update_watchpoint): Delete unused variable.
6105 1.1 christos (insert_bp_location): Delete unused variable.
6106 1.1 christos (insert_breakpoint_locations): Delete unused variable.
6107 1.1 christos (remove_breakpoint_1): Delete unused variable.
6108 1.1 christos (software_breakpoint_inserted_here_p): Delete unused variable.
6109 1.1 christos (watchpoints_triggered): Delete unused variable.
6110 1.1 christos (bpstat_check_watchpoint): Delete unused variable.
6111 1.1 christos (bpstat_stop_status): Delete unused variable.
6112 1.1 christos (print_one_breakpoint_location): Delete unused variable.
6113 1.1 christos (allocate_bp_location): Delete unused variable.
6114 1.1 christos (create_breakpoint): Delete unused variable.
6115 1.1 christos (watch_command_1): Delete unused variable.
6116 1.1 christos (catch_exception_command_1): Delete unused variable.
6117 1.1 christos (catch_ada_exception_command): Delete unused variable.
6118 1.1 christos (delete_breakpoint): Delete unused variable.
6119 1.1 christos (breakpoint_re_set_one): Delete unused variable.
6120 1.1 christos (do_enable_breakpoint): Delete unused variable.
6121 1.1 christos
6122 1.1 christos 2010-05-06 Pedro Alves <pedro (a] codesourcery.com>
6123 1.1 christos
6124 1.1 christos * amd64-tdep.c: Include disasm.h.
6125 1.1 christos (amd64_insn_length_fprintf, amd64_insn_length_init_dis)
6126 1.1 christos (amd64_insn_length): Moved to disasm.c and renamed.
6127 1.1 christos (fixup_riprel): Adjust.
6128 1.1 christos * disasm.c (do_ui_file_delete): New.
6129 1.1 christos (gdb_insn_length): New.
6130 1.1 christos (gdb_buffered_insn_length_fprintf)
6131 1.1 christos (gdb_buffered_insn_length_init_dis)
6132 1.1 christos (gdb_buffered_insn_length): New, moved from amd64-tdep.c, and
6133 1.1 christos renamed.
6134 1.1 christos * disasm.h (gdb_insn_length): Declare.
6135 1.1 christos (gdb_buffered_insn_length): Declare.
6136 1.1 christos
6137 1.1 christos 2010-05-06 Pedro Alves <pedro (a] codesourcery.com>
6138 1.1 christos
6139 1.1 christos * remote.c (clear_threads_parsing_context): New.
6140 1.1 christos (remote_threads_info): Delete unused null_cleanup. Install a
6141 1.1 christos cleanup to clear the threads_parsing_context in case parsing
6142 1.1 christos throws.
6143 1.1 christos
6144 1.1 christos 2010-05-05 Michael Snyder <msnyder (a] vmware.com>
6145 1.1 christos
6146 1.1 christos * c-exp.y (parse_string_or_char): Delete unused variable.
6147 1.1 christos (c_lex): Delete unused variable.
6148 1.1 christos * cp-name-parser.y (cpname_lex): Delete unused variable.
6149 1.1 christos * ada-exp.y (find_primitive_type): Delete unused variable.
6150 1.1 christos (write_var_or_type): Delete unused variable.
6151 1.1 christos * jv-exp.y (java_parse): Delete unused variable.
6152 1.1 christos (push_expression_name): Delete unused variable.
6153 1.1 christos * p-exp.y (pascal_lex): Delete unused variable.
6154 1.1 christos
6155 1.1 christos 2010-05-05 Pedro Alves <pedro (a] codesourcery.com>
6156 1.1 christos
6157 1.1 christos * remote.c (remote_threads_info): Really revert previous previous
6158 1.1 christos change.
6159 1.1 christos
6160 1.1 christos 2010-05-05 Michael Snyder <msnyder (a] vmware.com>
6161 1.1 christos
6162 1.1 christos * elfread.c (elf_symtab_read): Delete unused variable.
6163 1.1 christos (find_separate_debug_file_by_buildid): Delete unused variables.
6164 1.1 christos (elf_symfile_read): Delete unused variable.
6165 1.1 christos
6166 1.1 christos * coffread.c (coff_symfile_read): Delete unused variables.
6167 1.1 christos
6168 1.1 christos * coff-pe-read.c (add_pe_exported_sym): Delete unused variable.
6169 1.1 christos (read_pe_exported_syms): Delete unused variable.
6170 1.1 christos
6171 1.1 christos * stabsread.c (define_symbol): Delete unused variable.
6172 1.1 christos
6173 1.1 christos * dwarf2read.c (read_type_comp_unit_head): Delete unused variable.
6174 1.1 christos (process_psymtab_comp_unit): Delete unused variable.
6175 1.1 christos (dwarf2_build_psymtabs_hard): Delete unused variable.
6176 1.1 christos (load_partial_comp_unit): Delete unused variable.
6177 1.1 christos (create_all_comp_units): Delete unused variable.
6178 1.1 christos (scan_partial_symbols): Delete unused variable.
6179 1.1 christos (add_partial_symbol): Delete unused variable.
6180 1.1 christos (add_partial_namespace): Delete unused variable.
6181 1.1 christos (add_partial_enumeration): Delete unused variable.
6182 1.1 christos (load_full_comp_unit): Delete unused variable.
6183 1.1 christos (process_full_comp_unit): Delete unused variable.
6184 1.1 christos (read_file_scope): Delete unused variable.
6185 1.1 christos (read_type_unit_scope): Delete unused variable.
6186 1.1 christos (process_structure_scope): Delete unused variable.
6187 1.1 christos (process_enumeration_scope): Delete unused variable.
6188 1.1 christos (read_tag_ptr_to_member_type): Delete unused variable.
6189 1.1 christos (read_typedef): Delete unused variable.
6190 1.1 christos (read_partial_die): Delete unused variable.
6191 1.1 christos (decode_locdesc): Delete unused variable.
6192 1.1 christos (zeroed_partial_die): Delete unused global variable.
6193 1.1 christos
6194 1.1 christos * tui/tui-interp.c (_initialize_tui_interp):
6195 1.1 christos Delete unused variable.
6196 1.1 christos * tui/tui-regs.c tui_display_registers_from):
6197 1.1 christos Delete unused variable.
6198 1.1 christos (tui_check_register_values): Delete unused variable.
6199 1.1 christos (tui_register_format): Delete unused variable.
6200 1.1 christos * tui/tui-win.c (_initialize_tui_win): Delete unused variable.
6201 1.1 christos * tui/tui-windata.c (tui_display_data_from_line):
6202 1.1 christos Delete unused variables.
6203 1.1 christos (tui_vertical_data_scroll): Delete unused variables.
6204 1.1 christos
6205 1.1 christos 2010-05-05 Michael Snyder <msnyder (a] vmware.com>
6206 1.1 christos
6207 1.1 christos * remote.c (remote_threads_info): Revert questionable part of
6208 1.1 christos the previous change.
6209 1.1 christos
6210 1.1 christos 2010-05-05 Michael Snyder <msnyder (a] vmware.com>
6211 1.1 christos
6212 1.1 christos * mi/mi-out.c (mi_table_begin): Delete unused variable.
6213 1.1 christos * mi/mi-cmd-var.c (print_varobj): Delete unused variable.
6214 1.1 christos (mi_cmd_var_list_children): Delete unused variable.
6215 1.1 christos (varobj_update_one): Delete unused variable.
6216 1.1 christos * mi/mi-cmd-break.c (mi_cmd_break_insert): Delete unused variables.
6217 1.1 christos * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals):
6218 1.1 christos Delete unused variable.
6219 1.1 christos (mi_cmd_stack_list_variables): Delete unused variable.
6220 1.1 christos (list_args_or_locals): Delete unused variable.
6221 1.1 christos * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file):
6222 1.1 christos Delete unused variables.
6223 1.1 christos (mi_cmd_file_list_exec_source_files): Delete unused variable.
6224 1.1 christos * mi/mi-cmd-target.c (mi_cmd_target_file_delete):
6225 1.1 christos Delete unused variable.
6226 1.1 christos * mi/mi-interp.c (mi_interpreter_exec): Delete unused variable.
6227 1.1 christos (mi_cmd_interpreter_exec): Delete unused variable.
6228 1.1 christos (mi_on_normal_stop): Delete unused variable.
6229 1.1 christos * mi/mi-main.c (run_one_inferior): Delete unused variable.
6230 1.1 christos (print_one_inferior): Delete unused variables.
6231 1.1 christos (mi_execute_command): Delete unused variable.
6232 1.1 christos (mi_cmd_execute): Delete unused variable.
6233 1.1 christos (timestamp): Delete unused variable.
6234 1.1 christos
6235 1.1 christos * cli/cli-dump.c (dump_memory_to_file): Delete unused variable.
6236 1.1 christos (restore_binary_file): Delete unused variable.
6237 1.1 christos * cli/cli-decode.c (deprecated_cmd_warning): Delete unused variables.
6238 1.1 christos * cli/cli-script.c (define_command): Delete unused variables.
6239 1.1 christos (recurse_read_control_structure): Delete unused variable.
6240 1.1 christos (script_from_file): Delete unused variable.
6241 1.1 christos * cli/cli-cmds.c (complete_command): Delete unused variable.
6242 1.1 christos (disassemble_command): Delete unused variable.
6243 1.1 christos
6244 1.1 christos * ax-gdb.c (gen_struct_elt_for_reference): Delete unused variables.
6245 1.1 christos * tracepoint.c (delete_trace_variable_command):
6246 1.1 christos Delete unused variables.
6247 1.1 christos (encode_actions_1): Delete unused variables.
6248 1.1 christos (start_tracing): Delete unused variable.
6249 1.1 christos (trace_status_mi): Delete unused variable.
6250 1.1 christos (tfind_1): Delete unused variable.
6251 1.1 christos (trace_find_pc_command): Delete unused variable.
6252 1.1 christos (trace_find_line_command): Delete unused variables.
6253 1.1 christos (trace_find_range_command): Delete unused variables.
6254 1.1 christos (trace_find_outside_command): Delete unused variables.
6255 1.1 christos (parse_tracepoint_definition): Delete unused variables.
6256 1.1 christos (tfile_fetch_registers): Delete unused variable.
6257 1.1 christos
6258 1.1 christos * dcache.c (dcache_init): Delete unused variable.
6259 1.1 christos (dcache_info): Delete unused variable.
6260 1.1 christos
6261 1.1 christos * remote.c (remote_threads_info): Delete unused variable.
6262 1.1 christos (process_stop_reply) :Delete unused variable.
6263 1.1 christos (remote_get_trace_status): Delete unused variables.
6264 1.1 christos
6265 1.1 christos * linux-thread-db.c (add_thread_db_info): Delete unused variable.
6266 1.1 christos (thread_from_lwp): Delete unused variable.
6267 1.1 christos (enable_thread_event_reporting): Delete unused variable.
6268 1.1 christos (check_for_thread_db): Delete unused variables.
6269 1.1 christos (thread_db_find_new_threads_2): Delete unused variable.
6270 1.1 christos
6271 1.1 christos * linux-fork.c (info_checkpoints_command): Delete unused variables.
6272 1.1 christos (checkpoint_command): Delete unused variable.
6273 1.1 christos (linux_fork_context): Delete unused variables.
6274 1.1 christos
6275 1.1 christos * linux-nat.c (linux_parent_pid): Delete unused global variable.
6276 1.1 christos (linux_tracefork_child): Delete unused variable.
6277 1.1 christos (linux_child_follow_fork): Delete unused variable.
6278 1.1 christos (linux_nat_detach): Delete unused variable.
6279 1.1 christos (linux_handle_extended_wait): Delete unused variable.
6280 1.1 christos (linux_nat_has_pending_sigint): Delete unused variable.
6281 1.1 christos (linux_nat_find_memory_regions): Delete unused variable.
6282 1.1 christos (linux_nat_make_corefile_notes): Delete unused variables.
6283 1.1 christos (linux_nat_info_proc_cmd): Delete unused variable.
6284 1.1 christos (linux_proc_pending_signals): Delete unused variable.
6285 1.1 christos (linux_nat_stop_lwp): Delete unused variables.
6286 1.1 christos (_initialize_linux_nat): Delete unused variable.
6287 1.1 christos
6288 1.1 christos * ser-pipe.c (pipe_ops): Delete unused global variable.
6289 1.1 christos
6290 1.1 christos * linux-record.c (record_linux_system_call):
6291 1.1 christos Delete unused variables.
6292 1.1 christos
6293 1.1 christos * corelow.c (core_xfer_partial): Delete unused variables.
6294 1.1 christos
6295 1.1 christos * solib-svr4.c (find_program_interpreter): Delete unused variable.
6296 1.1 christos (svr4_solib_create_inferior_hook): Add ifdef around
6297 1.1 christos conditionally-used variable declarations.
6298 1.1 christos
6299 1.1 christos * solib.c (solib_find): Delete unused variable.
6300 1.1 christos (free_so_symbols): Delete unused variable.
6301 1.1 christos (info_sharedlibrary_command): Delete unused variable.
6302 1.1 christos (reload_shared_libraries_1): Delete unused variable.
6303 1.1 christos (_initialize_solib): Delete unused variable.
6304 1.1 christos
6305 1.1 christos * i386-tdep.c (i386_supply_xstateregset) Delete unused variable.
6306 1.1 christos (i386_collect_xstateregset): Delete unused variable.
6307 1.1 christos * i387-tdep.c (i387_print_float_info): Delete unused variable.
6308 1.1 christos
6309 1.1 christos * features/i386/i386-mmx.c (initialize_tdesc_i386_mmx):
6310 1.1 christos Delete unused variable 'type'.
6311 1.1 christos
6312 1.1 christos 2010-05-05 Joel Brobecker <brobecker (a] adacore.com>
6313 1.1 christos
6314 1.1 christos * gdbtypes.h (MAX_OF_TYPE, MIN_OF_TYPE): Delete macros. *
6315 1.1 christos ada-lang.c: Remove comment mentioning these macros.
6316 1.1 christos * m2-exp.y: Delete commented out code.
6317 1.1 christos
6318 1.1 christos 2010-05-05 Joel Brobecker <brobecker (a] adacore.com>
6319 1.1 christos
6320 1.1 christos * sparc-tdep.c (sparc_structure_or_union_p): Return non-zero
6321 1.1 christos for array types.
6322 1.1 christos * sparc64-tdep.c (sparc64_structure_or_union_p): Likewise.
6323 1.1 christos
6324 1.1 christos 2010-05-04 Pierre Muller <muller (a] ics.u-strasbg.fr>
6325 1.1 christos
6326 1.1 christos ARI fix: Remove ATTRIBUTE_UNUSED throughout.
6327 1.1 christos * arm-linux-tdep.c (arm_linux_cleanup_svc): Remove
6328 1.1 christos ATTRIBUTE_UNUSED.
6329 1.1 christos (cleanup_kernel_helper_return): Likewise.
6330 1.1 christos * arm-tdep.c (copy_unmodified): Likewise.
6331 1.1 christos (copy_preload): Likewise.
6332 1.1 christos (copy_copro_load_store): Likewise.
6333 1.1 christos (cleanup_branch): Likewise.
6334 1.1 christos (copy_b_bl_blx): Likewise.
6335 1.1 christos (copy_bx_blx_reg): Likewise.
6336 1.1 christos (copy_alu_imm): Likewise.
6337 1.1 christos (copy_alu_reg): Likewise.
6338 1.1 christos (copy_alu_shifted_reg): Likewise.
6339 1.1 christos (cleanup_load): Likewise.
6340 1.1 christos (cleanup_store): Likewise.
6341 1.1 christos (cleanup_block_load_pc): Likewise.
6342 1.1 christos (cleanup_svc): Likewise.
6343 1.1 christos (copy_undef): Likewise.
6344 1.1 christos (copy_unpred): Likewise.
6345 1.1 christos * remote.c (register_remote_support_xml): Likewise.
6346 1.1 christos
6347 1.1 christos 2010-05-05 Hui Zhu <teawater (a] gmail.com>
6348 1.1 christos
6349 1.1 christos * gdbarch.h (gdbarch_has_dos_based_file_system): Update comment.
6350 1.1 christos
6351 1.1 christos 2010-05-04 Mark Kettenis <kettenis (a] gnu.org>
6352 1.1 christos
6353 1.1 christos * remote.c (register_remote_support_xml)
6354 1.1 christos (remote_query_supported_append, remote_query_supported): Add cast
6355 1.1 christos to NULL used as sentinel.
6356 1.1 christos * tracepoint.c (tvariables_info_1): Likewise.
6357 1.1 christos * utils.c (add_internal_problem_command): Likewise.
6358 1.1 christos
6359 1.1 christos 2010-05-04 Matthew Gretton-Dann <matthew.gretton-dann (a] arm.com>
6360 1.1 christos
6361 1.1 christos * dwarf2loc.c (read_pieced_value, write_pieced_value,
6362 1.1 christos dwarf2_evaluate_loc_desc): Handle not being able to access DWARF
6363 1.1 christos registers gracefully.
6364 1.1 christos
6365 1.1 christos 2010-05-04 Matthew Gretton-Dann <matthew.gretton-dann (a] arm.com>
6366 1.1 christos
6367 1.1 christos * exec.c (print_section_info): Display entry point without arch
6368 1.1 christos specific parts.
6369 1.1 christos
6370 1.1 christos 2010-05-04 Pierre Muller <muller (a] ics.u-strasbg.fr>
6371 1.1 christos
6372 1.1 christos PR exp/11349.
6373 1.1 christos * printcmd.c (x_command): Only dereference once implicitly for
6374 1.1 christos TYPE_CODE_REF.
6375 1.1 christos
6376 1.1 christos 2010-05-03 Doug Evans <dje (a] google.com>
6377 1.1 christos
6378 1.1 christos * event-loop.c (gdb_timer): Delete unused global.
6379 1.1 christos (create_timer): Update.
6380 1.1 christos
6381 1.1 christos 2010-05-03 Jan Kratochvil <jan.kratochvil (a] redhat.com>
6382 1.1 christos
6383 1.1 christos * cp-namespace.c (cp_lookup_symbol_imports): Support ALIAS for the
6384 1.1 christos CURRENT->DECLARATION case.
6385 1.1 christos * cp-support.h (struct using_direct): Provide extended comment.
6386 1.1 christos
6387 1.1 christos 2010-05-03 Mark Kettenis <kettenis (a] gnu.org>
6388 1.1 christos
6389 1.1 christos * hppaobsd-tdep.c (HPPAOBSD_SIZEOF_GREGS): Renamed from
6390 1.1 christos HPPABSD_SIZEOF_GREGS.
6391 1.1 christos (HPPAOBSD_SIZEOF_FPREGS): New define.
6392 1.1 christos (hppaobsd_supply_gregset): Renamed from hppabsd_supply_gregset.
6393 1.1 christos (hppaobsd_supply_fpregset): New function.
6394 1.1 christos (hppaobsd_gregset): Renamed from hppabsd_gregset.
6395 1.1 christos (hppaobsd_fpregset): New variable.
6396 1.1 christos (hppaobsd_regset_from_core_section): Handle floating-point registers.
6397 1.1 christos (_initialize_hppabsd_tdep): Remove spurious blank line.
6398 1.1 christos
6399 1.1 christos 2010-05-03 Pierre Muller <muller (a] ics.u-strasbg.fr>
6400 1.1 christos
6401 1.1 christos PR pascal/11349.
6402 1.1 christos * p-valprint.c (pascal_value_print): Always dereference a value with
6403 1.1 christos type code TYPE_CODE_REF.
6404 1.1 christos
6405 1.1 christos 2010-05-03 Pedro Alves <pedro (a] codesourcery.com>
6406 1.1 christos
6407 1.1 christos * remote.c (remote_notice_signals): New.
6408 1.1 christos (remote_start_remote): In non-stop mode, update the remote end on
6409 1.1 christos which signals it can silently pass.
6410 1.1 christos (init_remote_ops): Install remote_notice_signals.
6411 1.1 christos
6412 1.1 christos 2010-05-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
6413 1.1 christos
6414 1.1 christos * cli/cli-cmds.h (error_no_arg): Remove. Move the comment ...
6415 1.1 christos * command.h (error_no_arg): ... here. Remove NORETURN, change
6416 1.1 christos ATTR_NORETURN to ATTRIBUTE_NORETURN.
6417 1.1 christos * defs.h (NORETURN, ATTR_NORETURN): Remove.
6418 1.1 christos (perror_with_name, verror, error, error_stream, vfatal, fatal)
6419 1.1 christos (internal_verror, internal_error, nomem): Remove NORETURN, change
6420 1.1 christos ATTR_NORETURN to ATTRIBUTE_NORETURN.
6421 1.1 christos * exceptions.c (throw_exception, deprecated_throw_reason, throw_verror)
6422 1.1 christos (throw_vfatal, throw_error): Remove NORETURN.
6423 1.1 christos (throw_it): Remove NORETURN, change ATTR_NORETURN to ATTRIBUTE_NORETURN.
6424 1.1 christos * exceptions.h (throw_exception, throw_verror, throw_vfatal)
6425 1.1 christos (throw_error, deprecated_throw_reason): Remove NORETURN, change
6426 1.1 christos ATTR_NORETURN to ATTRIBUTE_NORETURN.
6427 1.1 christos * linespec.c (cplusplus_error): Remove NORETURN, change ATTR_NORETURN
6428 1.1 christos to ATTRIBUTE_NORETURN for prototype, for the definition only remove
6429 1.1 christos NORETURN.
6430 1.1 christos * remote-mips.c (mips_error): Change NORETURN to ATTRIBUTE_NORETURN.
6431 1.1 christos * remote-sim.c (gdb_os_error): Change ATTR_NORETURN to
6432 1.1 christos ATTRIBUTE_NORETURN.
6433 1.1 christos * target.c (tcomplain): Likewise.
6434 1.1 christos * target.h (noprocess): Remove NORETURN, change ATTR_NORETURN to
6435 1.1 christos ATTRIBUTE_NORETURN.
6436 1.1 christos * utils.c (verror, error, vfatal, fatal, error_stream, internal_verror)
6437 1.1 christos (internal_error, perror_with_name, nomem): Remove NORETURN.
6438 1.1 christos * xml-support.h (gdb_xml_error): Change ATTR_NORETURN to
6439 1.1 christos ATTRIBUTE_NORETURN.
6440 1.1 christos
6441 1.1 christos 2010-05-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
6442 1.1 christos
6443 1.1 christos * ada-lang.c (lim_warning): Change ATTR_FORMAT to ATTRIBUTE_PRINTF.
6444 1.1 christos * amd64-tdep.c (amd64_insn_length_fprintf): Likewise.
6445 1.1 christos * cli-out.c (cli_field_fmt): New ATTRIBUTE_PRINTF.
6446 1.1 christos (cli_message, out_field_fmt): Change ATTR_FORMAT to ATTRIBUTE_PRINTF.
6447 1.1 christos * complaints.c (find_complaint): New ATTRIBUTE_PRINTF.
6448 1.1 christos (vcomplaint): Change ATTR_FORMAT to ATTRIBUTE_PRINTF.
6449 1.1 christos * complaints.h (complaint, internal_complaint): Likewise.
6450 1.1 christos * defs.h: Change ATTR_FORMAT to ATTRIBUTE_PRINTF in the top comment.
6451 1.1 christos (ATTR_FORMAT): Remove.
6452 1.1 christos (query, nquery, yquery, vprintf_filtered, vfprintf_filtered)
6453 1.1 christos (fprintf_filtered, fprintfi_filtered, printf_filtered, printfi_filtered)
6454 1.1 christos (vprintf_unfiltered, vfprintf_unfiltered, fprintf_unfiltered)
6455 1.1 christos (printf_unfiltered, xasprintf, xvasprintf, xstrprintf, xstrvprintf)
6456 1.1 christos (xsnprintf, verror, error, vfatal, fatal, internal_verror)
6457 1.1 christos (internal_error, internal_vwarning, internal_warning, warning)
6458 1.1 christos (vwarning): Change ATTR_FORMAT to ATTRIBUTE_PRINTF.
6459 1.1 christos * disasm.c (fprintf_disasm): Likewise.
6460 1.1 christos * exceptions.c (throw_it): Likewise.
6461 1.1 christos * exceptions.h (exception_fprintf, throw_verror, throw_vfatal)
6462 1.1 christos (throw_error): Likewise.
6463 1.1 christos * language.h (type_error, range_error): Likewise.
6464 1.1 christos * linespec.c (cplusplus_error): Likewise.
6465 1.1 christos * mi/mi-interp.c (mi_interp_query_hook): Likewise.
6466 1.1 christos * mi/mi-out.c (mi_field_fmt, mi_message): Likewise.
6467 1.1 christos * monitor.c (monitor_debug): Likewise.
6468 1.1 christos * parser-defs.h (parser_fprintf): Likewise.
6469 1.1 christos * serial.h (serial_printf): Likewise.
6470 1.1 christos * tui/tui-hooks.c (tui_query_hook): Likewise.
6471 1.1 christos * ui-out.c (default_field_fmt, default_message, uo_field_fmt)
6472 1.1 christos (uo_message): Likewise.
6473 1.1 christos * ui-out.h (ui_out_field_fmt, ui_out_message): Likewise.
6474 1.1 christos * utils.c (vfprintf_maybe_filtered, internal_vproblem, defaulted_query):
6475 1.1 christos Likewise.
6476 1.1 christos * xml-support.h (gdb_xml_debug, gdb_xml_error): Likewise.
6477 1.1 christos
6478 1.1 christos 2010-05-02 Pedro Alves <pedro (a] codesourcery.com>
6479 1.1 christos
6480 1.1 christos * cli-out.c (cli_table_begin, cli_table_body, cli_table_end)
6481 1.1 christos (cli_table_header, cli_begin, cli_end, cli_field_int)
6482 1.1 christos (cli_field_skip, cli_field_string, cli_field_fmt, cli_spaces)
6483 1.1 christos (cli_text, cli_message, cli_wrap_hint, cli_flush, cli_redirect):
6484 1.1 christos Delete forward declarations.
6485 1.1 christos (cli_ui_out_impl): Move below the callbacks.
6486 1.1 christos (_initialize_cli_out): Delete.
6487 1.1 christos
6488 1.1 christos 2010-05-02 Pedro Alves <pedro (a] codesourcery.com>
6489 1.1 christos
6490 1.1 christos * README: Use consistent `GDB' and `GDBserver' spellings.
6491 1.1 christos
6492 1.1 christos 2010-05-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
6493 1.1 christos
6494 1.1 christos * cli/cli-dump.h (parse_and_eval_with_error): Remove the declaration.
6495 1.1 christos
6496 1.1 christos 2010-05-01 Pedro Alves <pedro (a] codesourcery.com>
6497 1.1 christos
6498 1.1 christos * infrun.c (prepare_for_detach): In non-stop, context switch to
6499 1.1 christos the thread that got the event before handling the event.
6500 1.1 christos
6501 1.1 christos 2010-04-30 Tom Tromey <tromey (a] redhat.com>
6502 1.1 christos
6503 1.1 christos * symtab.c (symbol_set_names): Fix typo.
6504 1.1 christos
6505 1.1 christos 2010-04-30 Pierre Muller <muller (a] ics.u-strasbg.fr>
6506 1.1 christos
6507 1.1 christos * python/py-param.c (parm_constants): Avoid ARI warning
6508 1.1 christos by adding ARI comment.
6509 1.1 christos (parmpy_init): Likewise.
6510 1.1 christos
6511 1.1 christos 2010-04-30 Pierre Muller <muller (a] ics.u-strasbg.fr>
6512 1.1 christos
6513 1.1 christos * windows-tdep.c (windows_get_tlb_type): Remember last GDBARCH
6514 1.1 christos and created type for re-use.
6515 1.1 christos
6516 1.1 christos 2010-04-30 Pierre Muller <muller (a] ics.u-strasbg.fr>
6517 1.1 christos
6518 1.1 christos * NEWS: Mention gdbserver support for x86_64 Windows 64-bit.
6519 1.1 christos
6520 1.1 christos 2010-04-29 Doug Evans <dje (a] google.com>
6521 1.1 christos
6522 1.1 christos * ser-base.h (reschedule): Delete prototype.
6523 1.1 christos * ser-base.c (reschedule): Make static.
6524 1.1 christos
6525 1.1 christos 2010-04-29 Matthew Gretton-Dann <matthew.gretton-dann (a] arm.com>
6526 1.1 christos
6527 1.1 christos * arm-linux-tdep.c (ARM_LINUX_JB_PC): Remove.
6528 1.1 christos (ARM_LINUX_JB_PC_FPA): Add, offset of PC in longjmp buffer for FPA.
6529 1.1 christos (ARM_LINUX_JB_PC_EABI): Add, offset of PC in longjmp buffer for
6530 1.1 christos EABI.
6531 1.1 christos (arm_linux_init_abi): Set up JB_PC field dependent on FP model in
6532 1.1 christos use.
6533 1.1 christos
6534 1.1 christos 2010-04-29 Pedro Alves <pedro (a] codesourcery.com>
6535 1.1 christos
6536 1.1 christos PR gdb/11557
6537 1.1 christos
6538 1.1 christos * regcache.c (registers_changed): Rename to ...
6539 1.1 christos (registers_changed_ptid): ... this, and only delete register cache
6540 1.1 christos entries matching the ptid filter argument.
6541 1.1 christos (registers_changed): Reimplement on top of registers_changed_ptid.
6542 1.1 christos * regcache.h (registers_changed_ptid): Declare.
6543 1.1 christos * target.c (target_resume): Flush register caches.
6544 1.1 christos
6545 1.1 christos 2010-04-29 Phil Muldoon <pmuldoon (a] redhat.com>
6546 1.1 christos Tom Tromey <tromey (a] redhat.com>
6547 1.1 christos Thiago Jung Bauermann <bauerman (a] br.ibm.com>
6548 1.1 christos
6549 1.1 christos * Makefile.in (SUBDIR_PYTHON_OBS): Add py-parameter.
6550 1.1 christos (SUBDIR_PYTHON_SRCS): Likewise.
6551 1.1 christos (py-parameter.o): New rule.
6552 1.1 christos * python/py-parameter.c: New file.
6553 1.1 christos * python/python-internal.h (gdbpy_initialize_parameter)
6554 1.1 christos (gdbpy_parameter, gdbpy_parameter_value)
6555 1.1 christos (gdbpy_parse_command_name): Declare.
6556 1.1 christos * python/py-cmd.c (parse_command_name): Rename to
6557 1.1 christos gdbpy_parse_command_name.
6558 1.1 christos (gdbpy_parse_command_name): Accept a starting list parameter and
6559 1.1 christos use over cmdlist.
6560 1.1 christos (cmdpy_init): Use gdbpy_parse_command_name.
6561 1.1 christos * python/python.c (parameter_to_python): Rename to
6562 1.1 christos gdbpy_parameter_to_python. Accept enum var_types and value.
6563 1.1 christos (gdbpy_parameter): Use gdbpy_parameter_value.
6564 1.1 christos (_initialize_python): Call gdbpy_initialize_parameters.
6565 1.1 christos
6566 1.1 christos 2010-04-29 Matthew Gretton-Dann <matthew.gretton-dann (a] arm.com>
6567 1.1 christos
6568 1.1 christos * MAINTAINERS: Add myself for write after approval privileges.
6569 1.1 christos
6570 1.1 christos 2010-04-29 Mihail Zenkov <mihail.zenkov (a] gmail.com>
6571 1.1 christos
6572 1.1 christos D language support.
6573 1.1 christos * Makefile.in (SFILES): Add d-lang.c d-valprint.c.
6574 1.1 christos (COMMON_OBS): Add d-lang.o d-valprint.o.
6575 1.1 christos (HFILES_NO_SRCDIR): Add d-lang.h.
6576 1.1 christos * NEWS: Mention D language support.
6577 1.1 christos * c-lang.c (c_emit_char, exp_descriptor_c): Make public.
6578 1.1 christos * c-lang.h (c_emit_char, exp_descriptor_c): Add declaration.
6579 1.1 christos * d-lang.c: New file.
6580 1.1 christos * d-lang.h: New file.
6581 1.1 christos * d-valprint.c: New file.
6582 1.1 christos * defs.h (enum language): Add language_d.
6583 1.1 christos * dwarf2read.c (set_cu_language): Add DW_LANG_D.
6584 1.1 christos * language.c (binop_result_type, integral_type, character_type)
6585 1.1 christos (string_type, boolean_type, structured_type): Add language_d.
6586 1.1 christos * symfile.c (init_filename_language_table): Add language_d.
6587 1.1 christos * symtab.c: Include d-lang.h.
6588 1.1 christos (symbol_init_language_specific, symbol_find_demangled_name)
6589 1.1 christos (symbol_natural_name, lookup_symbol_in_language)
6590 1.1 christos (symbol_demangled_name, symbol_matches_domain): Add language_d.
6591 1.1 christos
6592 1.1 christos 2010-04-27 Joel Brobecker <brobecker (a] adacore.com>
6593 1.1 christos
6594 1.1 christos * solib-svr4.c (solib_svr4_r_map): Expand function description.
6595 1.1 christos
6596 1.1 christos 2010-04-27 Joel Brobecker <brobecker (a] adacore.com>
6597 1.1 christos
6598 1.1 christos * symfile.c (init_filename_language_table): Register .dg files
6599 1.1 christos with language_ada.
6600 1.1 christos
6601 1.1 christos 2010-04-27 Joel Brobecker <brobecker (a] adacore.com>
6602 1.1 christos
6603 1.1 christos * gdbtypes.h (struct main_type): Expand comment about target_type
6604 1.1 christos field.
6605 1.1 christos
6606 1.1 christos 2010-04-27 Pedro Alves <pedro (a] codesourcery.com>
6607 1.1 christos Tristan Gingold <gingold (a] adacore.com>
6608 1.1 christos
6609 1.1 christos * symfile.c (reread_symbols): Also search for file in libraries.
6610 1.1 christos Update comment.
6611 1.1 christos
6612 1.1 christos 2010-04-27 Joel Brobecker <brobecker (a] adacore.com>
6613 1.1 christos
6614 1.1 christos * configure.tgt: Treat x86-lynxos targets as x86 bareboard targets
6615 1.1 christos in terms of configuration.
6616 1.1 christos
6617 1.1 christos 2010-04-27 Jan Kratochvil <jan.kratochvil (a] redhat.com>
6618 1.1 christos
6619 1.1 christos * objfiles.c: Include solist.h.
6620 1.1 christos (free_all_objfiles): New variable so. Check stale solist objfiles.
6621 1.1 christos * symfile.c (symbol_file_clear): Swap the order of free_all_objfiles
6622 1.1 christos and no_shared_libraries.
6623 1.1 christos
6624 1.1 christos 2010-04-27 Joel Brobecker <brobecker (a] adacore.com>
6625 1.1 christos
6626 1.1 christos ARI warning fix.
6627 1.1 christos * python/py-auto-load.c (source_section_scripts): Remove trailing
6628 1.1 christos new-line in i18n string.
6629 1.1 christos
6630 1.1 christos 2010-04-26 Doug Evans <dje (a] google.com>
6631 1.1 christos
6632 1.1 christos * serial.c (serial_write): Handle serial_debug_p akin to serial_read.
6633 1.1 christos
6634 1.1 christos 2010-04-26 Tom Tromey <tromey (a] redhat.com>
6635 1.1 christos
6636 1.1 christos * cli/cli-decode.c (complete_on_cmdlist): Make two passes over the
6637 1.1 christos command list.
6638 1.1 christos
6639 1.1 christos 2010-04-26 Pierre Muller <muller (a] ics.u-strasbg.fr>
6640 1.1 christos
6641 1.1 christos Removal of config/i386/nm-i386sol2.h native configuration file.
6642 1.1 christos * config/i386/nm-i386sol2.h: Remove file.
6643 1.1 christos * config/i386/i386sol2.mh: Remove NAT_FILE definition.
6644 1.1 christos * config/i386/sol2-64.mh: Idem.
6645 1.1 christos * config/djgpp/fnchange.lst: Remove reference to that file.
6646 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Idem.
6647 1.1 christos
6648 1.1 christos 2010-04-26 Pierre Muller <muller (a] ics.u-strasbg.fr>
6649 1.1 christos
6650 1.1 christos PR breakpoints/11531.
6651 1.1 christos * config/i386/nm-i386sol2.h (CANNOT_STEP_HW_WATCHPOINTS): Remove
6652 1.1 christos macro definition and related comment.
6653 1.1 christos * infrun.c (CANNOT_STEP_HW_WATCHPOINTS): Remove macro.
6654 1.1 christos (resume): Remove code and comment related to this macro.
6655 1.1 christos
6656 1.1 christos 2010-04-26 Jan Kratochvil <jan.kratochvil (a] redhat.com>
6657 1.1 christos
6658 1.1 christos * cp-namespace.c (cp_lookup_symbol_in_namespace): Fix alloca size.
6659 1.1 christos Fix whitespace.
6660 1.1 christos
6661 1.1 christos 2010-04-24 Pedro Alves <pedro (a] codesourcery.com>
6662 1.1 christos
6663 1.1 christos * defs.h: Adjust comment.
6664 1.1 christos * filesystem.h, filesystem.c: New files.
6665 1.1 christos * Makefile.in (SFILES): Add filesystem.c.
6666 1.1 christos (COMMON_OBS): Add filesystem.o.
6667 1.1 christos * solib.c (solib_find): Handle DOS-based filesystems. Handle
6668 1.1 christos different target and host path flavours.
6669 1.1 christos * arm-symbian-tdep.c (arm_symbian_init_abi): Set
6670 1.1 christos has_dos_based_file_system on the gdbarch.
6671 1.1 christos * arm-wince-tdep.c (arm_wince_init_abi): Ditto.
6672 1.1 christos * i386-cygwin-tdep.c (i386_cygwin_init_abi): Ditto.
6673 1.1 christos * i386-tdep.c (i386_go32_init_abi): Ditto.
6674 1.1 christos * gdbarch.sh (has_dos_based_file_system): New.
6675 1.1 christos * gdbarch.h, gdbarch.c: Regenerate.
6676 1.1 christos * NEWS: Mention improved support for remote targets with DOS-based
6677 1.1 christos filesystems. Mention new `set/show target-file-system-kind'
6678 1.1 christos commands.
6679 1.1 christos
6680 1.1 christos 2010-04-23 Stan Shebs <stan (a] codesourcery.com>
6681 1.1 christos
6682 1.1 christos * ax.h (struct agent_expr): Merge in agent_reqs fields, add some
6683 1.1 christos comments.
6684 1.1 christos (struct agent_reqs): Remove.
6685 1.1 christos (ax_reg_mask): Declare.
6686 1.1 christos * ax-general.c (new_agent_expr): Add gdbarch argument, set new fields.
6687 1.1 christos (free_agent_expr): Free reg_mask.
6688 1.1 christos (ax_print): Add scope and register mask info.
6689 1.1 christos (ax_reqs): Remove agent_reqs argument, use agent expression
6690 1.1 christos fields, and move part of register mask computation to...
6691 1.1 christos (ax_reg_mask): New function.
6692 1.1 christos * ax-gdb.c (gen_trace_static_fields): Call it.
6693 1.1 christos (gen_traced_pop): Ditto.
6694 1.1 christos (is_nontrivial_conversion): Add dummy gdbarch to new_agent_expr.
6695 1.1 christos (gen_trace_for_var): Pass gdbarch to new_agent_expr.
6696 1.1 christos (gen_trace_for_expr): Ditto, and clear optimized_out flag.
6697 1.1 christos (gen_eval_for_expr): Ditto, and require an rvalue.
6698 1.1 christos (agent_command): Call ax_reqs.
6699 1.1 christos (agent_eval_command): Ditto.
6700 1.1 christos * tracepoint.c (report_agent_reqs_errors): Use agent expression fields.
6701 1.1 christos (validate_action_line): Ditto.
6702 1.1 christos (collect_symbol): Ditto.
6703 1.1 christos (encode_actions_1): Ditto.
6704 1.1 christos
6705 1.1 christos 2010-04-23 Daniel Jacobowitz <dan (a] codesourcery.com>
6706 1.1 christos Paul Pluzhnikov <ppluzhnikov (a] google.com>
6707 1.1 christos Jan Kratochvil <jan.kratochvil (a] redhat.com>
6708 1.1 christos
6709 1.1 christos Fix deadlock on looped list of loaded shared objects.
6710 1.1 christos * solib-svr4.c (LM_PREV): New function.
6711 1.1 christos (IGNORE_FIRST_LINK_MAP_ENTRY): Use it.
6712 1.1 christos (svr4_current_sos): Check for correct l_prev. New variables prev_lm
6713 1.1 christos and next_lm. Clear prev_lm for solib_svr4_r_ldsomap.
6714 1.1 christos * config/djgpp/fnchange.lst: Add translation for solib-corrupted.exp.
6715 1.1 christos
6716 1.1 christos 2010-04-23 Doug Evans <dje (a] google.com>
6717 1.1 christos
6718 1.1 christos * configure.ac (CONFIG_SRCS): Add py-auto-load.o even if not using
6719 1.1 christos python.
6720 1.1 christos * configure: Regenerate.
6721 1.1 christos * main.c: #include "python/python.h".
6722 1.1 christos (captured_main): Defer loading auto-loaded scripts until after
6723 1.1 christos local_gdbinit has been sourced.
6724 1.1 christos * python/py-auto-load.c (gdbpy_global_auto_load): New global.
6725 1.1 christos (load_auto_scripts_for_objfile): New function.
6726 1.1 christos (auto_load_new_objfile): Call it.
6727 1.1 christos * python/python.h (gdbpy_global_auto_load): Declare.
6728 1.1 christos (load_auto_scripts_for_objfile): Declare.
6729 1.1 christos
6730 1.1 christos Add support for auto-loading scripts from .debug_gdb_scripts section.
6731 1.1 christos * NEWS: Add entry for .debug_gdb_scripts.
6732 1.1 christos * Makefile.in SUBDIR_PYTHON_OBS): Add py-auto-load.o.
6733 1.1 christos (SUBDIR_PYTHON_SRCS): Add py-auto-load.c.
6734 1.1 christos (py-auto-load.o): New rule.
6735 1.1 christos * cli/cli-cmds.c (find_and_open_script): Make externally visible.
6736 1.1 christos * cli/cli-cmds.h (find_and_open_script): Update prototype.
6737 1.1 christos * python/py-auto-load.c: New file.
6738 1.1 christos * python/python-internal.h: #include <stdio.h>.
6739 1.1 christos (set_python_list, show_python_list): Declare.
6740 1.1 christos (gdbpy_initialize_auto_load): Declare.
6741 1.1 christos (source_python_script_for_objfile): Declare.
6742 1.1 christos * python/python.c: Remove #include of observer.h.
6743 1.1 christos (gdbpy_auto_load): Moved to py-auto-load.c.
6744 1.1 christos (GDBPY_AUTO_FILENAME): Ditto.
6745 1.1 christos (gdbpy_new_objfile): Delete.
6746 1.1 christos (source_python_script_for_objfile): New function.
6747 1.1 christos (set_python_list, show_python_list): Make externally visible.
6748 1.1 christos (_initialize_python): Move "auto-load" command to py-auto-load.c
6749 1.1 christos and observer_attach_new_objfile to py-auto-load.c.
6750 1.1 christos
6751 1.1 christos 2010-04-23 Jerome Guitton <guitton (a] adacore.com>
6752 1.1 christos
6753 1.1 christos * alpha-tdep.c (INSN_OPCODE, MEM_RA, MEM_RB, MEM_DISP, BR_RA)
6754 1.1 christos (OPR_FUNCTION, OPR_HAS_IMMEDIATE, OPR_RA, OPR_RC, OPR_LIT): New macros.
6755 1.1 christos (lda_opcode, stq_opcode, bne_opcode, subq_opcode, subq_function):
6756 1.1 christos New constants.
6757 1.1 christos (alpha_heuristic_analyze_probing_loop): New function.
6758 1.1 christos (alpha_heuristic_frame_unwind_cache): In the prologue analysis, detect
6759 1.1 christos and handle cases when a stack probe loop is generated.
6760 1.1 christos * alpha-mdebug-tdep.c (alpha_mdebug_frameless): New function.
6761 1.1 christos (alpha_mdebug_max_frame_size_exceeded): New function.
6762 1.1 christos (alpha_mdebug_after_prologue): Use alpha_mdebug_frameless.
6763 1.1 christos (alpha_mdebug_frame_sniffer, alpha_mdebug_frame_base_sniffer):
6764 1.1 christos Return 0 when the maximum debuggable frame size has been exceeded.
6765 1.1 christos
6766 1.1 christos 2010-04-23 Joel Brobecker <brobecker (a] adacore.com>
6767 1.1 christos
6768 1.1 christos Fix ARI warning.
6769 1.1 christos * ppc-linux-nat.c (booke_cmp_hw_point): Do not mark inline.
6770 1.1 christos
6771 1.1 christos 2010-04-20 Chris Moller <cmoller (a] redhat.com>
6772 1.1 christos
6773 1.1 christos PR 10179
6774 1.1 christos
6775 1.1 christos * symtab.c (rbreak_command): Added code to include a filename
6776 1.1 christos specification in the rbreak argument.
6777 1.1 christos * NEWS: Added a brief description of filename-qualified rbreak.
6778 1.1 christos
6779 1.1 christos 2010-04-22 Jan Kratochvil <jan.kratochvil (a] redhat.com>
6780 1.1 christos
6781 1.1 christos Fix crashes on dangling display expressions.
6782 1.1 christos * ada-lang.c (ada_operator_check): New function.
6783 1.1 christos (ada_exp_descriptor): Fill-in the field operator_check.
6784 1.1 christos * c-lang.c (exp_descriptor_c): Fill-in the field operator_check.
6785 1.1 christos * jv-lang.c (exp_descriptor_java): Likewise.
6786 1.1 christos * m2-lang.c (exp_descriptor_modula2): Likewise.
6787 1.1 christos * scm-lang.c (exp_descriptor_scm): Likewise.
6788 1.1 christos * parse.c (exp_descriptor_standard): Likewise.
6789 1.1 christos (operator_check_standard): New function.
6790 1.1 christos (exp_iterate, exp_uses_objfile_iter, exp_uses_objfile): New functions.
6791 1.1 christos * parser-defs.h (struct exp_descriptor): New field operator_check.
6792 1.1 christos (operator_check_standard, exp_uses_objfile): New declarations.
6793 1.1 christos * printcmd.c: Remove the inclusion of solib.h.
6794 1.1 christos (display_uses_solib_p): Remove the function.
6795 1.1 christos (clear_dangling_display_expressions): Call lookup_objfile_from_block
6796 1.1 christos and exp_uses_objfile instead of display_uses_solib_p.
6797 1.1 christos * solist.h (struct so_list) <objfile>: New comment.
6798 1.1 christos * symtab.c (lookup_objfile_from_block): Remove the static qualifier.
6799 1.1 christos * symtab.h (lookup_objfile_from_block): New declaration.
6800 1.1 christos (struct general_symbol_info) <obj_section>: Extend the comment.
6801 1.1 christos
6802 1.1 christos 2010-04-22 Sergio Durigan Junior <sergiodj (a] linux.vnet.ibm.com>
6803 1.1 christos Thiago Jung Bauermann <bauerman (a] br.ibm.com>
6804 1.1 christos
6805 1.1 christos * ppc-linux-nat.c (PTRACE_GET_DEBUGREG): Update comment.
6806 1.1 christos (PPC_PTRACE_GETWDBGINFO, PPC_PTRACE_SETHWDEBUG, PPC_PTRACE_DELHWDEBUG,
6807 1.1 christos ppc_debug_info, PPC_DEBUG_FEATURE_INSN_BP_RANGE,
6808 1.1 christos PPC_DEBUG_FEATURE_INSN_BP_MASK, PPC_DEBUG_FEATURE_DATA_BP_RANGE,
6809 1.1 christos PPC_DEBUG_FEATURE_DATA_BP_MASK, ppc_hw_breakpoint,
6810 1.1 christos PPC_BREAKPOINT_TRIGGER_EXECUTE, PPC_BREAKPOINT_TRIGGER READ,
6811 1.1 christos PPC_BREAKPOINT_TRIGGER_WRITE, PPC_BREAKPOINT_TRIGGER_RW,
6812 1.1 christos PPC_BREAKPOINT_MODE_EXACT PPC_BREAKPOINT_MODE_RANGE_INCLUSIVE,
6813 1.1 christos PPC_BREAKPOINT_MODE_RANGE_EXCLUSIVE, PPC_BREAKPOINT_MODE_MASK,
6814 1.1 christos PPC_BREAKPOINT_CONDITION_NONE, PPC_BREAKPOINT_CONDITION_AND,
6815 1.1 christos PPC_BREAKPOINT_CONDITION_EXACT, PPC_BREAKPOINT_CONDITION_OR,
6816 1.1 christos PPC_BREAKPOINT_CONDITION_AND_OR, PPC_BREAKPOINT_CONDITION_BE_ALL,
6817 1.1 christos PPC_BREAKPOINT_CONDITION_BE_SHIFT, PPC_BREAKPOINT_CONDITION_BE):
6818 1.1 christos Define, in case <ptrace.h> doesn't provide it.
6819 1.1 christos (booke_debug_info): New variable.
6820 1.1 christos (max_slots_number): Ditto.
6821 1.1 christos (hw_break_tuple): New struct.
6822 1.1 christos (thread_points): Ditto.
6823 1.1 christos (ppc_threads): New variable.
6824 1.1 christos (PPC_DEBUG_CURRENT_VERSION): New define.
6825 1.1 christos (have_ptrace_new_debug_booke): New function.
6826 1.1 christos (ppc_linux_check_watch_resources): Renamed to ...
6827 1.1 christos (ppc_linux_can_use_hw_breakpoint): ... this. Handle BookE processors.
6828 1.1 christos (ppc_linux_region_ok_for_hw_watchpoint): Handle BookE processors.
6829 1.1 christos (booke_cmp_hw_point): New function.
6830 1.1 christos (booke_find_thread_points_by_tid): Ditto.
6831 1.1 christos (booke_insert_point): Ditto.
6832 1.1 christos (booke_remove_point): Ditto.
6833 1.1 christos (ppc_linux_insert_hw_breakpoint): Ditto.
6834 1.1 christos (ppc_linux_remove_hw_breakpoint): Ditto.
6835 1.1 christos (get_trigger_type): Ditto.
6836 1.1 christos (ppc_linux_insert_watchpoint): Handle BookE processors.
6837 1.1 christos (ppc_linux_remove_watchpoint): Ditto.
6838 1.1 christos (ppc_linux_new_thread): Ditto.
6839 1.1 christos (ppc_linux_thread_exit): New function..
6840 1.1 christos (ppc_linux_stopped_data_address): Handle BookE processors.
6841 1.1 christos (ppc_linux_watchpoint_addr_within_range): Ditto.
6842 1.1 christos (_initialize_ppc_linux_nat): Initialize to_insert_hw_breakpoint and
6843 1.1 christos to_remove_hw_breakpoint fields of the target operations struct.
6844 1.1 christos Add observe for the thread_exit event.
6845 1.1 christos
6846 1.1 christos 2010-04-22 H.J. Lu <hongjiu.lu (a] intel.com>
6847 1.1 christos
6848 1.1 christos * i386-linux-nat.c (regmap): Removed.
6849 1.1 christos (fetch_register): Replace regmap with
6850 1.1 christos i386_linux_gregset_reg_offset.
6851 1.1 christos (store_register): Likewise.
6852 1.1 christos (supply_gregset): Likewise.
6853 1.1 christos (fill_gregset): Likewise.
6854 1.1 christos
6855 1.1 christos * i386-linux-tdep.c (i386_linux_gregset_reg_offset): Make it
6856 1.1 christos global.
6857 1.1 christos
6858 1.1 christos * i386-linux-tdep.h (i386_linux_gregset_reg_offset): New.
6859 1.1 christos
6860 1.1 christos 2010-04-22 Chris Moller <cmoller (a] redhat.com>
6861 1.1 christos
6862 1.1 christos * cp-valprint.c (cp_print_value_fields): Replaced obstack_base()
6863 1.1 christos method of popping recursion-detection stack with a method based on
6864 1.1 christos obstack_object_size(). (Similar to the PR9167 patch below, but for
6865 1.1 christos the static array obstack rather than the static member obstack.)
6866 1.1 christos
6867 1.1 christos 2010-04-22 H.J. Lu <hongjiu.lu (a] intel.com>
6868 1.1 christos
6869 1.1 christos * amd64-linux-nat.c (amd64_linux_gregset64_reg_offset): Removed.
6870 1.1 christos (_initialize_amd64_linux_nat): Replace
6871 1.1 christos amd64_linux_gregset64_reg_offset with
6872 1.1 christos amd64_linux_gregset_reg_offset.
6873 1.1 christos
6874 1.1 christos * amd64-linux-tdep.c (amd64_linux_gregset_reg_offset): Make it
6875 1.1 christos global.
6876 1.1 christos
6877 1.1 christos * amd64-tdep.h (amd64_linux_gregset_reg_offset): New.
6878 1.1 christos
6879 1.1 christos 2010-04-22 Pierre Muller <muller (a] ics.u-strasbg.fr>
6880 1.1 christos
6881 1.1 christos PR stabs/11479.
6882 1.1 christos * stabsread.c (set_length_in_type_chain): New function.
6883 1.1 christos (read_struct_type): Call set_length_in_type_chain function.
6884 1.1 christos (read_enum_type): Idem.
6885 1.1 christos
6886 1.1 christos 2010-04-21 Stan Shebs <stan (a] codesourcery.com>
6887 1.1 christos Nathan Sidwell <nathan (a] codesourcery.com>
6888 1.1 christos
6889 1.1 christos * tracepoint.c (trace_save): Open in binary mode.
6890 1.1 christos
6891 1.1 christos 2010-04-22 Pierre Muller <muller (a] ics.u-strasbg.fr>
6892 1.1 christos
6893 1.1 christos * gdbtypes.h (builtin_type): Add builtin_char16 and builtin_char32
6894 1.1 christos fields.
6895 1.1 christos * gdbtypes.c (gdbtypes_post_init): Set builtin_char16 and
6896 1.1 christos builtin_char32 fields.
6897 1.1 christos * printcmd.c (decode_format): Set char size to '\0'
6898 1.1 christos for strings unless explicit size is given.
6899 1.1 christos (print_formatted): Correct calculation of NEXT_ADDRESS
6900 1.1 christos for 16 or 32 bit strings.
6901 1.1 christos (do_examine): Do not force byte size for strings.
6902 1.1 christos Use builtin_char16 and builtin_char32 types to display
6903 1.1 christos 16 or 32 bit-wide strings.
6904 1.1 christos (x_command): Set LAST_SIZE to 'b' for string type.
6905 1.1 christos
6906 1.1 christos 2010-04-21 H.J. Lu <hongjiu.lu (a] intel.com>
6907 1.1 christos
6908 1.1 christos PR corefiles/11523
6909 1.1 christos * amd64-linux-tdep.c (amd64_linux_core_read_description): Check
6910 1.1 christos XCR0 first.
6911 1.1 christos
6912 1.1 christos * i386-linux-tdep.c (i386_linux_core_read_xcr0): Return 0 if
6913 1.1 christos there is no .reg-xstate section.
6914 1.1 christos (i386_linux_core_read_description): Check XCR0 first.
6915 1.1 christos
6916 1.1 christos 2010-04-21 Mike Frysinger <vapier (a] gentoo.org>
6917 1.1 christos
6918 1.1 christos * gdb/sparc-tdep.c (sparc32_store_return_value): Add gdb_assert ()
6919 1.1 christos for len <= 8.
6920 1.1 christos
6921 1.1 christos 2010-04-21 Chris Moller <cmoller (a] redhat.com>
6922 1.1 christos
6923 1.1 christos PR 9167
6924 1.1 christos * cp-valprint.c (cp_print_value_fields): Replaced obstack_base()
6925 1.1 christos method of popping recursion-detection stack with a method based on
6926 1.1 christos obstack_object_size().
6927 1.1 christos
6928 1.1 christos 2010-04-21 Pierre Muller <muller (a] ics.u-strasbg.fr>
6929 1.1 christos
6930 1.1 christos PR pascal/11492.
6931 1.1 christos * p-valprint.c (pascal_val_print): Fix default printing of integer
6932 1.1 christos arrays.
6933 1.1 christos
6934 1.1 christos 2010-04-21 Pierre Muller <muller (a] ics.u-strasbg.fr>
6935 1.1 christos
6936 1.1 christos Fix compilation warning on gcc-4.1.2.
6937 1.1 christos * rs6000-aix-tdep.c (rs6000_convert_from_func_ptr_addr): Initialize
6938 1.1 christos local variable`pc' to zero.
6939 1.1 christos
6940 1.1 christos 2010-04-20 Joel Brobecker <brobecker (a] adacore.com>
6941 1.1 christos
6942 1.1 christos Implement thread support with core files on alpha-tru64.
6943 1.1 christos * dec-thread.c (dec_thread_find_new_threads): New function,
6944 1.1 christos extracted from resync_thread_list.
6945 1.1 christos (resync_thread_list): Add OPS parameter. Replace extracted-out
6946 1.1 christos code by call to dec_thread_find_new_threads.
6947 1.1 christos (dec_thread_wait): Update call to resync_thread_list.
6948 1.1 christos (init_dec_thread_ops): Set dec_thread_ops.to_find_new_threads.
6949 1.1 christos
6950 1.1 christos 2010-04-20 Joel Brobecker <brobecker (a] adacore.com>
6951 1.1 christos
6952 1.1 christos * ada-lang.c (value_pointer): New function.
6953 1.1 christos (make_array_descriptor): Call value_pointer to convert addresses to
6954 1.1 christos pointers.
6955 1.1 christos
6956 1.1 christos 2010-04-20 Joel Brobecker <brobecker (a] adacore.com>
6957 1.1 christos
6958 1.1 christos * rs6000-aix-tdep.c: #include exceptions.h.
6959 1.1 christos (rs6000_convert_from_func_ptr_addr): If an exception is thrown
6960 1.1 christos while reading the memory at ADDR, then ADDR cannot be a function
6961 1.1 christos descriptor.
6962 1.1 christos
6963 1.1 christos 2010-04-20 Joel Brobecker <brobecker (a] adacore.com>
6964 1.1 christos
6965 1.1 christos * ada-typeprint.c (ada_print_typedef): New function.
6966 1.1 christos * ada-lang.h (ada_print_typedef): Add declaration.
6967 1.1 christos * ada-lang.c (ada_language_defn): set la_print_typdef field
6968 1.1 christos to ada_print_typedef.
6969 1.1 christos
6970 1.1 christos 2010-04-20 Joel Brobecker <brobecker (a] adacore.com>
6971 1.1 christos
6972 1.1 christos * procfs.c (procfs_address_to_host_pointer): Only define when used.
6973 1.1 christos
6974 1.1 christos 2010-04-20 Joel Brobecker <brobecker (a] adacore.com>
6975 1.1 christos
6976 1.1 christos * procfs.c (iterate_over_mappings_cb_ftype): New typedef.
6977 1.1 christos (iterate_over_mappings): Adjust function profile. Add declaration.
6978 1.1 christos (insert_dbx_link_bpt_in_region, info_mappings_callback):
6979 1.1 christos Adjust accordingly.
6980 1.1 christos
6981 1.1 christos 2010-04-20 Joel Brobecker <brobecker (a] adacore.com>
6982 1.1 christos
6983 1.1 christos * procfs.c (solib_mappings_callback): Move function up to avoid
6984 1.1 christos a compiler warning.
6985 1.1 christos
6986 1.1 christos 2010-04-20 Joel Brobecker <brobecker (a] adacore.com>
6987 1.1 christos
6988 1.1 christos * procfs.c (find_signalled_thread, find_stop_signal): Move
6989 1.1 christos these functions down to define them only when used.
6990 1.1 christos
6991 1.1 christos 2010-04-20 Joel Brobecker <brobecker (a] adacore.com>
6992 1.1 christos
6993 1.1 christos * valprint.c (common_val_print): Fix the value before extracting
6994 1.1 christos its contents.
6995 1.1 christos * ada-lang.c (ada_to_fixed_value): Make this function extern.
6996 1.1 christos * ada-lang.h (ada_to_fixed_value): New function declaration.
6997 1.1 christos * ada-valprint.c (ada_value_print): Use ada_to_fixed_value
6998 1.1 christos to avoid code duplication and fix a bug in the handling of
6999 1.1 christos fixed types contents.
7000 1.1 christos
7001 1.1 christos 2010-04-20 Tom Tromey <tromey (a] redhat.com>
7002 1.1 christos
7003 1.1 christos * dwarf2read.c (dwarf2_compute_name): Handle DW_AT_linkage_name.
7004 1.1 christos (read_partial_die): Likewise.
7005 1.1 christos (dwarf_attr_name): Likewise.
7006 1.1 christos
7007 1.1 christos 2010-04-20 Chris Moller <cmoller (a] redhat.com>
7008 1.1 christos
7009 1.1 christos PR 10867
7010 1.1 christos
7011 1.1 christos * cp-valprint.c (global): Adding new static array recursion
7012 1.1 christos detection obstack.
7013 1.1 christos (cp_print_value_fields, cp_print_static_field): Added new static
7014 1.1 christos array recursion detection code.
7015 1.1 christos
7016 1.1 christos 2010-04-20 Mark Kettenis <kettenis (a] gnu.org>
7017 1.1 christos
7018 1.1 christos * i386-linux-tdep.c (i386_linux_regset_sections): Size of the
7019 1.1 christos general-purpose register set should be 68 instead of 144.
7020 1.1 christos (i386_linux_sse_regset_sections): Likewise.
7021 1.1 christos (i386_linux_avx_regset_sections): Likewise.
7022 1.1 christos
7023 1.1 christos 2010-04-20 Stan Shebs <stan (a] codesourcery.com>
7024 1.1 christos Nathan Sidwell <nathan (a] codesourcery.com>
7025 1.1 christos
7026 1.1 christos * dwarf2loc.c (struct axs_var_loc): New struct.
7027 1.1 christos (dwarf2_tracepoint_var_loc): New function.
7028 1.1 christos (dwarf2_tracepoint_var_access): New function.
7029 1.1 christos (dwarf2_tracepoint_var_ref): Use dwarf2_tracepoint_var_loc, deal
7030 1.1 christos with DW_OP_piece.
7031 1.1 christos (locexpr_describe_location_piece): New function.
7032 1.1 christos (locexpr_describe_location_1): New function.
7033 1.1 christos (locexpr_describe_location): Call it, update signature.
7034 1.1 christos (loclist_describe_location): Rewrite to loop over locations,
7035 1.1 christos update signature.
7036 1.1 christos * symtab.h (struct symbol_computed_ops): Add address to
7037 1.1 christos describe_location arguments, return void.
7038 1.1 christos * printcmd.c (address_info): Get context PC, pass to computed
7039 1.1 christos location description.
7040 1.1 christos * tracepoint.c (scope_info): Ditto.
7041 1.1 christos * ax-gdb.c (trace_kludge): Export.
7042 1.1 christos
7043 1.1 christos 2010-04-20 Tom Tromey <tromey (a] redhat.com>
7044 1.1 christos
7045 1.1 christos * dwarf2-frame.c (decode_frame_entry_1): Handle CIE version 4.
7046 1.1 christos (struct dwarf2_cie) <segment_size>: New field.
7047 1.1 christos * dwarf2read.c (partial_read_comp_unit_head): Accept DWARF 4.
7048 1.1 christos (skip_one_die): Handle DW_FORM_flag_present, DW_FORM_sec_offset,
7049 1.1 christos DW_FORM_exprloc.
7050 1.1 christos (read_attribute_value): Handle DW_FORM_flag_present,
7051 1.1 christos DW_FORM_sec_offset, DW_FORM_exprloc.
7052 1.1 christos (dump_die_shallow): Likewise.
7053 1.1 christos (attr_form_is_section_offset): Handle DW_FORM_sec_offset.
7054 1.1 christos (dwarf2_const_value): Handle DW_FORM_exprloc.
7055 1.1 christos (attr_form_is_block): Likewise.
7056 1.1 christos (struct line_header) <maximum_ops_per_instruction>: New field.
7057 1.1 christos (dwarf_decode_line_header): Set new field.
7058 1.1 christos (dwarf_decode_lines): Handle new field.
7059 1.1 christos
7060 1.1 christos 2010-04-20 Jan Kratochvil <jan.kratochvil (a] redhat.com>
7061 1.1 christos
7062 1.1 christos * f-exp.y: Add new production to recognize the `logical*8' type.
7063 1.1 christos (LOGICAL_S8_KEYWORD): New token.
7064 1.1 christos * f-lang.c (enum f_primitive_types)
7065 1.1 christos <f_primitive_type_logical_s8>: New field.
7066 1.1 christos (f_language_arch_info): Handling `logical*8' type.
7067 1.1 christos (build_fortran_types): Building `logical*8' type.
7068 1.1 christos * f-lang.h (struct builtin_f_type) <builtin_logical_s8>: New field.
7069 1.1 christos
7070 1.1 christos 2010-04-19 Doug Evans <dje (a] google.com>
7071 1.1 christos
7072 1.1 christos * ser-base.c (generic_readchar): Watch for EOF in read of error_fd.
7073 1.1 christos * ser-pipe.c (pipe_open): Fix file descriptor leaks.
7074 1.1 christos (pipe_close): Ditto.
7075 1.1 christos
7076 1.1 christos 2010-04-19 Pierre Muller <muller (a] ics.u-strasbg.fr>
7077 1.1 christos
7078 1.1 christos * configure.tgt (x86_64-*-mingw*): Set BUILD_GDBSERVER to yes.
7079 1.1 christos
7080 1.1 christos 2010-04-19 Pierre Muller <muller (a] ics.u-strasbg.fr>
7081 1.1 christos
7082 1.1 christos * windows-tdep.c (windows_get_tlb_type): Change current_seh.handle
7083 1.1 christos type to void function.
7084 1.1 christos
7085 1.1 christos 2010-04-19 Stan Shebs <stan (a] codesourcery.com>
7086 1.1 christos Vladimir Prus <vladimir (a] codesourcery.com>
7087 1.1 christos
7088 1.1 christos * tracepoint.c (tfind_1): Add missing newline, report exit from
7089 1.1 christos tfind mode as such.
7090 1.1 christos * target.c (update_current_target): Make default
7091 1.1 christos to_trace_find return -1.
7092 1.1 christos
7093 1.1 christos 2010-04-19 Mike Frysinger <vapier (a] gentoo.org>
7094 1.1 christos
7095 1.1 christos * objc-lang.c (find_methods): Move symname check up.
7096 1.1 christos
7097 1.1 christos 2010-04-19 Pedro Alves <pedro (a] codesourcery.com>
7098 1.1 christos
7099 1.1 christos * ada-lang.c (print_recreate_exception)
7100 1.1 christos <ex_catch_exception_unhandled>: It's "catch exception unhandled",
7101 1.1 christos not "catch unhandled".
7102 1.1 christos
7103 1.1 christos 2010-04-19 Pedro Alves <pedro (a] codesourcery.com>
7104 1.1 christos
7105 1.1 christos PR breakpoints/8554.
7106 1.1 christos
7107 1.1 christos Implement `save-breakpoints'.
7108 1.1 christos
7109 1.1 christos * breakpoint.c (save_cmdlist): New.
7110 1.1 christos (breakpoint_set_cmdlist, breakpoint_show_cmdlist): Moved up close
7111 1.1 christos to save_cmdlist.
7112 1.1 christos (print_recreate_catch_fork): New.
7113 1.1 christos (catch_fork_breakpoint_ops): Install it.
7114 1.1 christos (print_recreate_catch_vfork): New.
7115 1.1 christos (catch_vfork_breakpoint_ops): Install it.
7116 1.1 christos (print_recreate_catch_syscall): New.
7117 1.1 christos (catch_syscall_breakpoint_ops): Install it.
7118 1.1 christos (print_recreate_catch_exec): New.
7119 1.1 christos (catch_exec_breakpoint_ops): Install it.
7120 1.1 christos (print_recreate_exception_catchpoint): New.
7121 1.1 christos (gnu_v3_exception_catchpoint_ops): Install it.
7122 1.1 christos (save_breakpoints): New, based on tracepoint_save_command, but
7123 1.1 christos handle all breakpoint types.
7124 1.1 christos (save_breakpoints_command): New.
7125 1.1 christos (tracepoint_save_command): Rename to...
7126 1.1 christos (save_tracepoints_command): ... this, and reimplement using
7127 1.1 christos save_breakpoints.
7128 1.1 christos (save_command): New.
7129 1.1 christos (_initialize_breakpoints): Install the "save" command prefix.
7130 1.1 christos Install the "save breakpoints" command. Make "save-tracepoints" a
7131 1.1 christos deprecated alias for "save tracepoints".
7132 1.1 christos * breakpoint.h (struct breakpoint_ops): New field `print_recreate'.
7133 1.1 christos * ada-lang.c (print_recreate_exception): New.
7134 1.1 christos (print_recreate_catch_exception): New.
7135 1.1 christos (catch_exception_breakpoint_ops): Install it.
7136 1.1 christos (print_recreate_catch_exception_unhandled): New.
7137 1.1 christos (catch_exception_unhandled_breakpoint_ops): Install it.
7138 1.1 christos (print_recreate_catch_assert): New.
7139 1.1 christos (catch_assert_breakpoint_ops): Install it.
7140 1.1 christos
7141 1.1 christos * NEWS: Mention the new `save breakpoints' command. Mention the
7142 1.1 christos new `save tracepoints' alias and that `save-tracepoints' is now
7143 1.1 christos deprecated.
7144 1.1 christos
7145 1.1 christos 2010-04-18 Pedro Alves <pedro (a] codesourcery.com>
7146 1.1 christos
7147 1.1 christos PR tui/9217
7148 1.1 christos
7149 1.1 christos * tui/tui-out.c: Include cli-out.h.
7150 1.1 christos (tui_table_begin, tui_table_body, tui_table_end, tui_table_header)
7151 1.1 christos (tui_begin, tui_end, tui_field_int, tui_field_skip)
7152 1.1 christos (tui_field_string, tui_field_fmt, tui_spaces, tui_text)
7153 1.1 christos (tui_message, tui_wrap_hint, tui_flush): Delete forward
7154 1.1 christos declarations.
7155 1.1 christos (struct ui_out_data): Rename to...
7156 1.1 christos (struct tui_ui_out_data): ... this. Remove `stream' and
7157 1.1 christos `suppress_output' fields, and inherit cli_ui_out_data.
7158 1.1 christos (tui_out_data): New typedef.
7159 1.1 christos (tui_ui_out_impl): Don't initialize fields staticaly.
7160 1.1 christos (tui_table_begin, tui_table_body, tui_table_end, tui_table_header)
7161 1.1 christos (tui_begin, tui_end): Delete.
7162 1.1 christos (tui_field_int): Adjust to delegate most work to the base type.
7163 1.1 christos (tui_field_skip): Delete.
7164 1.1 christos (tui_field_string, tui_field_fmt): Adjust comment. Adjust to
7165 1.1 christos delegate most work to the base type.
7166 1.1 christos (tui_spaces): Delete.
7167 1.1 christos (tui_text): Adjust to delegate most work to the base type.
7168 1.1 christos (tui_message): Delete.
7169 1.1 christos (tui_wrap_hint): Delete.
7170 1.1 christos (tui_flush): Delete.
7171 1.1 christos (out_field_fmt): Delete.
7172 1.1 christos (field_separator): Delete.
7173 1.1 christos (tui_out_new): Adjust to initialize the base type.
7174 1.1 christos (_initialize_tui_out): Initialize tui_ui_out_impl.
7175 1.1 christos * cli-out.c (struct ui_out_data): Moved out to cli-out.h, renamed
7176 1.1 christos cli_ui_out_data.
7177 1.1 christos (cli_out_data): Adjust.
7178 1.1 christos (cli_ui_out_impl): Make extern.
7179 1.1 christos (cli_table_header, cli_field_int, cli_field_skip): Use
7180 1.1 christos uo_field_string instead of cli_field_string.
7181 1.1 christos (cli_redirect): Adjust to use cli_out_data.
7182 1.1 christos (cli_out_data_ctor): New.
7183 1.1 christos (cli_out_new): Use it.
7184 1.1 christos * cli-out.h (struct ui_file): Remove forward declaration.
7185 1.1 christos (struct cli_ui_out_data): New, moved from cli-out.c, and renamed.
7186 1.1 christos (cli_ui_out_impl): Declare.
7187 1.1 christos (cli_out_data_ctor): Declare.
7188 1.1 christos * ui-out.c (struct ui_out) <data>: Change type to void pointer.
7189 1.1 christos (uo_field_string): No longer static.
7190 1.1 christos (ui_out_data): Change return type to void pointer.
7191 1.1 christos (ui_out_new): Change `data' parameter type to void pointer.
7192 1.1 christos * ui-out.h (struct ui_out_data): Don't forward declare.
7193 1.1 christos (ui_out_data): Change return type to void pointer.
7194 1.1 christos (ui_out_new): Change `data' parameter type to void pointer.
7195 1.1 christos (uo_field_string): Declare.
7196 1.1 christos
7197 1.1 christos 2010-04-17 Pedro Alves <pedro (a] codesourcery.com>
7198 1.1 christos
7199 1.1 christos * ui-file.c (tee_file_isatty): Return whether `tee->one' is a tty,
7200 1.1 christos instead of always false.
7201 1.1 christos
7202 1.1 christos 2010-04-17 H.J. Lu <hongjiu.lu (a] intel.com>
7203 1.1 christos
7204 1.1 christos PR corefiles/11511
7205 1.1 christos * amd64-linux-tdep.c (amd64_linux_gregset_reg_offset): Support
7206 1.1 christos orig_rax.
7207 1.1 christos
7208 1.1 christos 2010-04-17 Pedro Alves <pedro (a] codesourcery.com>
7209 1.1 christos
7210 1.1 christos * breakpoint.c (watchpoints_triggered): Use
7211 1.1 christos is_hardware_watchpoint.
7212 1.1 christos (watchpoints_triggered): Ditto.
7213 1.1 christos (bpstat_check_location): Use is_watchpoint and
7214 1.1 christos is_hardware_watchpoint.
7215 1.1 christos (bpstat_check_watchpoint): Use is_watchpoint and
7216 1.1 christos is_hardware_watchpoint.
7217 1.1 christos (bpstat_stop_status): Fix comment.
7218 1.1 christos (user_settable_breakpoint): Use is_watchpoint.
7219 1.1 christos (hw_watchpoint_used_count): Use is_hardware_watchpoint.
7220 1.1 christos (disable_watchpoints_before_interactive_call_start): Use
7221 1.1 christos is_watchpoint.
7222 1.1 christos (enable_watchpoints_after_interactive_call_stop): Use
7223 1.1 christos is_watchpoint.
7224 1.1 christos (clear_command): Use is_watchpoint.
7225 1.1 christos (do_enable_breakpoint): Use is_watchpoint.
7226 1.1 christos
7227 1.1 christos 2010-04-16 Mike Frysinger <vapier (a] gentoo.org>
7228 1.1 christos
7229 1.1 christos * solib-frv.c (enable_break1_done): Delete.
7230 1.1 christos (enable_break2): Do not check enable_break1_done. Move the
7231 1.1 christos enable_break2_done setting and call to
7232 1.1 christos remove_solib_event_breakpoints() to the end. Return without
7233 1.1 christos warning when the contents of _dl_debug_addr are 0.
7234 1.1 christos (enable_break): Do not set enable_break1_done.
7235 1.1 christos (frv_clear_solib): Likewise.
7236 1.1 christos
7237 1.1 christos 2010-04-16 Kevin Buettner <kevinb (a] redhat.com>
7238 1.1 christos
7239 1.1 christos * m32c-tdep.c (m32c_m16c_address_to_pointer): Print warning
7240 1.1 christos instead of an error if no PLT entry is found. Return a
7241 1.1 christos potentially useful result.
7242 1.1 christos (m32c_m16c_pointer_to_address): Add code to search for function
7243 1.1 christos address when no .plt entry is found.
7244 1.1 christos
7245 1.1 christos 2010-04-16 Stan Shebs <stan (a] codesourcery.com>
7246 1.1 christos
7247 1.1 christos * tracepoint.c (trace_variable_command): Run a cleanup.
7248 1.1 christos
7249 1.1 christos 2010-04-16 Pierre Muller <muller (a] ics.u-strasbg.fr>
7250 1.1 christos
7251 1.1 christos * p-lang.c (pascal_one_char): Do not restrict C to 0..255 range.
7252 1.1 christos
7253 1.1 christos 2010-04-16 Pierre Muller <muller (a] ics.u-strasbg.fr>
7254 1.1 christos
7255 1.1 christos Support for Windows OS Thread Information Block.
7256 1.1 christos * NEWS: Document new feature.
7257 1.1 christos * remote.c (PACKET_qGetTIBAddr): New enum element.
7258 1.1 christos (remote_get_tib_address): New function.
7259 1.1 christos (init_remote_ops): Set to_get_tib_address field
7260 1.1 christos to remote_get_tib_address.
7261 1.1 christos (_initialize_remote): Add add_packet_config_cmd
7262 1.1 christos for PACKET_qGetTIBAddr.
7263 1.1 christos * target.c (update_current_target): Set default value for
7264 1.1 christos new to_get_tib_address field.
7265 1.1 christos * target.h (target_ops): New field to_get_tib_address.
7266 1.1 christos (target_get_tib_address): New macro.
7267 1.1 christos * windows-nat.c (thread_info): Add thread_local_base field.
7268 1.1 christos (windows_add_thread): Add tlb argument of type 'void *'.
7269 1.1 christos (fake_create_process): Adapt windows_add_thread call.
7270 1.1 christos (get_windows_debug_event): Idem.
7271 1.1 christos (windows_get_tib_address): New function.
7272 1.1 christos (init_windows_ops): Set to_get_tib_address field
7273 1.1 christos to remote_get_tib_address.
7274 1.1 christos (_initialize_windows_nat): Replace info_w32_cmdlist
7275 1.1 christos initialization by a call to init_w32_command_list.
7276 1.1 christos (info_w32_command, info_w32_cmdlist): Removed from here...
7277 1.1 christos to windows-tdep.c file.
7278 1.1 christos * windows-tdep.h (info_w32_cmdlist): Declare.
7279 1.1 christos (init_w32_command_list): New external function
7280 1.1 christos declaration.
7281 1.1 christos * windows-tdep.c: Add several headers.
7282 1.1 christos (info_w32_cmdlist): to here, made global.
7283 1.1 christos (thread_information_32): New struct.
7284 1.1 christos (thread_information_64): New struct.
7285 1.1 christos (TIB_NAME): New char array.
7286 1.1 christos (MAX_TIB32, MAX_TIB64, FULL_TIB_SIZE): New constants.
7287 1.1 christos (maint_display_all_tib): New static variable.
7288 1.1 christos (windows_get_tlb_type): New function.
7289 1.1 christos (tlb_value_read, tlb_value_write): New functions.
7290 1.1 christos (tlb_value_funcs): New static struct.
7291 1.1 christos (tlb_make_value): New function.
7292 1.1 christos (display_one_tib): New function.
7293 1.1 christos (display_tib): New function.
7294 1.1 christos (show_maint_show_all_tib):New function.
7295 1.1 christos (info_w32_command): Moved from windows-nat.c.
7296 1.1 christos (init_w32_command_list): New function.
7297 1.1 christos (_initialize_windows_tdep): New function.
7298 1.1 christos New "maint set/show show-all-tib" command
7299 1.1 christos New "$_tlb" internal variable.
7300 1.1 christos
7301 1.1 christos 2010-04-16 Joel Brobecker <brobecker (a] adacore.com>
7302 1.1 christos
7303 1.1 christos * tui/tui-regs.c (tui_display_register): Add comment about
7304 1.1 christos a couple of casts.
7305 1.1 christos * tui/tui-stack.c (tui_show_locator_content): Ditto.
7306 1.1 christos
7307 1.1 christos 2010-04-15 Stan Shebs <stan (a] codesourcery.com>
7308 1.1 christos
7309 1.1 christos * frame.c: Include tracepoint.h.
7310 1.1 christos (get_current_frame): Allow a trace frame to be an alternate source
7311 1.1 christos of stack frame data.
7312 1.1 christos * tracepoint.c (tfind_1): Don't try to get current stack frame if
7313 1.1 christos it won't succeed.
7314 1.1 christos
7315 1.1 christos 2010-04-15 Pedro Alves <pedro (a] codesourcery.com>
7316 1.1 christos
7317 1.1 christos * ppc-linux-tdep.c (bsd_uthread_solib_loaded): Always pass 0 for
7318 1.1 christos flags.
7319 1.1 christos * solib-spu.c (spu_solib_loaded): Always pass 0 for flags.
7320 1.1 christos
7321 1.1 christos 2010-04-15 Doug Evans <dje (a] google.com>
7322 1.1 christos
7323 1.1 christos * NEWS: Add entry for python program space support.
7324 1.1 christos * Makefile.in (SUBDIR_PYTHON_OBS): Add py-progspace.o.
7325 1.1 christos (SUBDIR_PYTHON_SRCS): Add py-progspace.c.
7326 1.1 christos (py-progspace.o): New rule.
7327 1.1 christos * python/py-prettyprint.c (find_pretty_printer_from_objfiles): New
7328 1.1 christos function.
7329 1.1 christos (find_pretty_printer_from_progspace): New function.
7330 1.1 christos (find_pretty_printer_from_gdb): New function.
7331 1.1 christos (find_pretty_printer): Rewrite.
7332 1.1 christos * python/py-progspace.c: New file.
7333 1.1 christos * python/python-internal.h (program_space): Add forward decl.
7334 1.1 christos (pspace_to_pspace_object, pspy_get_printers): Declare.
7335 1.1 christos (gdbpy_initialize_pspace): Declare.
7336 1.1 christos * python/python.c: #include "progspace.h".
7337 1.1 christos (gdbpy_get_current_progspace, gdbpy_progspaces): New functions.
7338 1.1 christos (_initialize_python): Call gdbpy_initialize_pspace.
7339 1.1 christos (GdbMethods): Add current_progspace, progspaces.
7340 1.1 christos
7341 1.1 christos Add -s option to source command.
7342 1.1 christos * NEWS: Document new option.
7343 1.1 christos * cli/cli-cmds.c (find_and_open_script): Add function comment.
7344 1.1 christos Delete from_tty and cleanupp args. Split filep arg into file and
7345 1.1 christos full_pathp. New arg search_path.
7346 1.1 christos (source_script_from_stream): New function.
7347 1.1 christos (source_script_with_search): New function.
7348 1.1 christos (source_script): Rewrite.
7349 1.1 christos (source_command): Parse "-s" option.
7350 1.1 christos (init_cli_cmds): Add "-s" docs to source command help, and reformat.
7351 1.1 christos * python/python.c (source_python_script): Make file arg a const char *.
7352 1.1 christos Don't call fclose, leave for caller.
7353 1.1 christos * python/python.h (source_python_script): Update.
7354 1.1 christos
7355 1.1 christos 2010-04-14 Daniel Jacobowitz <dan (a] codesourcery.com>
7356 1.1 christos Pedro Alves <pedro (a] codesourcery.com>
7357 1.1 christos
7358 1.1 christos Avoid rereading shared libraries that haven't changed.
7359 1.1 christos
7360 1.1 christos * solib.c (free_so_symbols): New function, from ...
7361 1.1 christos (free_so): ... here. Call it.
7362 1.1 christos (solib_read_symbols): Don't warn here if symbols have already been
7363 1.1 christos loaded.
7364 1.1 christos (solib_add): Warn here instead, if a pattern was specified.
7365 1.1 christos (reload_shared_libraries_1): New.
7366 1.1 christos (reload_shared_libraries): Rewrite to not fetch the library list.
7367 1.1 christos
7368 1.1 christos 2010-04-14 Doug Evans <dje (a] google.com>
7369 1.1 christos
7370 1.1 christos * source.c (openp): Strip DOS drive letter if present before
7371 1.1 christos concatenating string to search path.
7372 1.1 christos
7373 1.1 christos 2010-04-14 Pedro Alves <pedro (a] codesourcery.com>
7374 1.1 christos
7375 1.1 christos * objfiles.h (gdb_bfd_close_or_warn): Declare.
7376 1.1 christos * objfiles.c (gdb_bfd_close_or_warn): New.
7377 1.1 christos * corelow.c: Include objfiles.h
7378 1.1 christos (core_close): Use gdb_bfd_close_or_warn.
7379 1.1 christos * elfread.c (build_id_verify): Ditto.
7380 1.1 christos * exec.c (exec_close, exec_close_1): Ditto.
7381 1.1 christos
7382 1.1 christos 2010-04-14 Daniel Jacobowitz <dan (a] codesourcery.com>
7383 1.1 christos Pedro Alves <pedro (a] codesourcery.com>
7384 1.1 christos
7385 1.1 christos Group errors for many missing shared libraries.
7386 1.1 christos
7387 1.1 christos * solist.h (struct so_list): Remove from_tty.
7388 1.1 christos * solib.c (solib_bfd_open): Return NULL if we failed to open a BFD.
7389 1.1 christos (solib_map_sections): Take so_list argument. Return 0 if we
7390 1.1 christos failed to open a BFD. Add target sections here.
7391 1.1 christos (symbol_add_stub): Delete.
7392 1.1 christos (solib_read_symbols): Inline symbol_add_stub. Use current flags,
7393 1.1 christos not from_tty copied from the so_list. Don't warn a second time
7394 1.1 christos for a missing library.
7395 1.1 christos (update_solib_list): Don't save from_tty. Use TRY_CATCH. Do not
7396 1.1 christos add to the section table here. Print out a single warning for all
7397 1.1 christos missing libraries.
7398 1.1 christos * bsd-uthread.c (bsd_uthread_solib_loaded): Always pass 0 for
7399 1.1 christos flags.
7400 1.1 christos
7401 1.1 christos 2010-04-14 Phil Muldoon <pmuldoon (a] redhat.com>
7402 1.1 christos
7403 1.1 christos * python/py-block.c (gdbpy_block_for_pc): Use i8n to encompass
7404 1.1 christos error/warning messages. Capitalize and use complete sentences.
7405 1.1 christos (blpy_block_syms_iternext): Likewise.
7406 1.1 christos * python/py-cmd.c (parse_command_name, cmdpy_init): Likewise.
7407 1.1 christos * python/py-frame.c (FRAPY_REQUIRE_VALID, frapy_block)
7408 1.1 christos (frame_info_to_frame_object, frapy_read_var)
7409 1.1 christos (gdbpy_frame_stop_reason_string): Likewise.
7410 1.1 christos * python/py-lazy-string.c (stpy_convert_to_value)
7411 1.1 christos (gdbpy_create_lazy_string_object): Likewise.
7412 1.1 christos * python/py-objfile.c (objfpy_set_printers): Likewise.
7413 1.1 christos * python/py-prettyprint.c (gdbpy_default_visualizer): Likewise.
7414 1.1 christos * python/python.c (parameter_to_python): Likewise.
7415 1.1 christos * python/py-type.c (typy_range, typy_target): Likewise.
7416 1.1 christos * python/py-value.c (valpy_cast, valpy_length, valpy_getitem)
7417 1.1 christos (valpy_richcompare, valpy_int, valpy_long, valpy_float): Likewise.
7418 1.1 christos
7419 1.1 christos
7420 1.1 christos 2010-04-14 Phil Muldoon <pmuldoon (a] redhat.com>
7421 1.1 christos
7422 1.1 christos PR python/11381
7423 1.1 christos
7424 1.1 christos * python/py-prettyprint.c (pretty_print_one_value): Test for
7425 1.1 christos Py_None.
7426 1.1 christos (print_string_repr): Test for Py_None. Set flags accordingly.
7427 1.1 christos Return value depending on return type.
7428 1.1 christos (print_children): Take a value indicating whether data was printed
7429 1.1 christos before this function was called. Alter output accordingly.
7430 1.1 christos (apply_val_pretty_printer): Capture return value from
7431 1.1 christos print_string_repr and pass to print_children.
7432 1.1 christos
7433 1.1 christos 2010-04-13 Mark Kettenis <kettenis (a] gnu.org>
7434 1.1 christos
7435 1.1 christos PR corefiles/11481
7436 1.1 christos * i386-linux-tdep.c (i386_linux_regset_sections): Remove extended
7437 1.1 christos register note sections.
7438 1.1 christos (i386_linux_sse_regset_sections, i386_linux_avx_regset_sections):
7439 1.1 christos New variables.
7440 1.1 christos (i386_linux_init_abi): Install list of supported register note
7441 1.1 christos sections that matches the target description.
7442 1.1 christos
7443 1.1 christos 2010-04-13 Pedro Alves <pedro (a] codesourcery.com>
7444 1.1 christos
7445 1.1 christos * remote.c (remote_get_noisy_reply): Don't error out on empty
7446 1.1 christos replies.
7447 1.1 christos (remote_start_remote): Update and merge tracepoints and trace
7448 1.1 christos state variables as long as the target supports tracepoints.
7449 1.1 christos (remote_trace_init): Fix prototype.
7450 1.1 christos (remote_download_trace_state_variable): Validate reply.
7451 1.1 christos (remote_trace_set_readonly_regions): Fix prototype.
7452 1.1 christos (remote_trace_start): Fix prototype. Check for empty reply.
7453 1.1 christos (remote_get_trace_status): Small cleanup.
7454 1.1 christos (remote_trace_stop): Fix prototype. Check for empty reply.
7455 1.1 christos (remote_trace_find): Check for empty reply.
7456 1.1 christos (remote_save_trace_data): Validate reply.
7457 1.1 christos (remote_set_disconnected_tracing): Check for empty reply, and
7458 1.1 christos validate reply.
7459 1.1 christos (remote_set_circular_trace_buffer): Ditto.
7460 1.1 christos
7461 1.1 christos 2010-04-13 Pierre Muller <muller (a] ics.u-strasbg.fr>
7462 1.1 christos
7463 1.1 christos Suppress unused value warning during compilation.
7464 1.1 christos * tui/tui-regs.c (tui_display_register): Cast wstandout and wstandend
7465 1.1 christos calls to void.
7466 1.1 christos * tui/tui-stack.c (tui_show_locator_content): Likewise.
7467 1.1 christos
7468 1.1 christos 2010-04-12 Stan Shebs <stan (a] codesourcery.com>
7469 1.1 christos
7470 1.1 christos * tracepoint.c (tfile_xfer_partial): Check read result.
7471 1.1 christos
7472 1.1 christos 2010-04-12 Mike Frysinger <vapier (a] gentoo.org>
7473 1.1 christos
7474 1.1 christos * remote-m32r-sdi.c (m32r_files_info): Add const to local "file" var.
7475 1.1 christos * remote-sim.c (gdbsim_files_info): Likewise.
7476 1.1 christos
7477 1.1 christos 2010-04-12 Matthew Gretton-Dann <matthew.gretton-dann (a] arm.com>
7478 1.1 christos
7479 1.1 christos * arm-tdep.h (gdb_regnum): Add ARM_FPSCR_REGNUM
7480 1.1 christos * arm-linux-nat.c (arm_linux_vfp_register_count): New
7481 1.1 christos variable.
7482 1.1 christos (fetch_vfp_registers): New function to fetch VFP registers.
7483 1.1 christos (store_vfp_registers): New function to store VFP registers.
7484 1.1 christos (arm_linux_fetch_inferior_registers): Add support for VFP
7485 1.1 christos registers.
7486 1.1 christos (arm_linux_store_inferior_registers): Likewise.
7487 1.1 christos (arm_linux_read_description): Likewise.
7488 1.1 christos (_initialize_arm_linux_nat): Delay initialising iWMMX tdesc
7489 1.1 christos until we need it.
7490 1.1 christos
7491 1.1 christos 2010-04-11 H.J. Lu <hongjiu.lu (a] intel.com>
7492 1.1 christos
7493 1.1 christos * amd64-tdep.c (amd64_supply_xstateregset): Remove the unused
7494 1.1 christos tdep.
7495 1.1 christos (amd64_collect_xstateregset): Likewise.
7496 1.1 christos
7497 1.1 christos 2010-04-09 Stan Shebs <stan (a] codesourcery.com>
7498 1.1 christos
7499 1.1 christos * tracepoint.c (trace_status_mi): Report frames created.
7500 1.1 christos
7501 1.1 christos * tracepoint.c (trace_dump_command): Include default-collect
7502 1.1 christos expressions.
7503 1.1 christos
7504 1.1 christos 2010-04-09 Ulrich Weigand <uweigand (a] de.ibm.com>
7505 1.1 christos
7506 1.1 christos * symtab.c (find_function_start_sal): Never return SAL pointing
7507 1.1 christos before function start address, even if line info is missing.
7508 1.1 christos
7509 1.1 christos 2010-04-09 Pedro Alves <pedro (a] codesourcery.com>
7510 1.1 christos
7511 1.1 christos * NEWS: Mention tracepoints support.
7512 1.1 christos
7513 1.1 christos 2010-04-09 Pedro Alves <pedro (a] codesourcery.com>
7514 1.1 christos
7515 1.1 christos * tracepoint.c (trace_status_mi): Report disconnected tracing and
7516 1.1 christos circular trace buffer statuses.
7517 1.1 christos
7518 1.1 christos 2010-04-09 Jan Kratochvil <jan.kratochvil (a] redhat.com>
7519 1.1 christos
7520 1.1 christos * config/djgpp/fnchange.lst: Fix typo in translations for
7521 1.1 christos symbol-without-target_section.exp and symbol-without-target_section.c.
7522 1.1 christos
7523 1.1 christos 2010-04-09 Pedro Alves <pedro (a] codesourcery.com>
7524 1.1 christos
7525 1.1 christos * breakpoint.c (condition_command): Pass condition expression to
7526 1.1 christos set_breakpoint_condition stripped from breakpoint number.
7527 1.1 christos
7528 1.1 christos 2010-04-09 Phil Muldoon <pmuldoon (a] redhat.com>
7529 1.1 christos Thiago Jung Bauermann <bauerman (a] br.ibm.com>
7530 1.1 christos Tom Tromey <tromey (a] redhat.com>
7531 1.1 christos
7532 1.1 christos * breakpoint.c (condition_command): Simplify. Move condition
7533 1.1 christos setting code to ...
7534 1.1 christos (set_breakpoint_condition): ... here. New function.
7535 1.1 christos * breakpoint.h (set_breakpoint_condition): Declare.
7536 1.1 christos * Makefile.in (SUBDIR_PYTHON_OBS): Add py-breakpoint.
7537 1.1 christos (SUBDIR_PYTHON_SRCS): Likewise.
7538 1.1 christos (py-breakpoint.o): New rule.
7539 1.1 christos * python/py-breakpoint.c: New file.
7540 1.1 christos * python/python-internal.h (gdbpy_breakpoints)
7541 1.1 christos (gdbpy_initialize_breakpoints): Declare.
7542 1.1 christos (GDB_PY_SET_HANDLE_EXCEPTION) Define.
7543 1.1 christos
7544 1.1 christos 2010-04-09 Pedro Alves <pedro (a] codesourcery.com>
7545 1.1 christos
7546 1.1 christos * regformats/regdat.sh: Include server.h. Don't include
7547 1.1 christos regcache.h.
7548 1.1 christos
7549 1.1 christos 2010-04-08 Stan Shebs <stan (a] codesourcery.com>
7550 1.1 christos Pedro Alves <pedro (a] codesourcery.com>
7551 1.1 christos
7552 1.1 christos * tracepoint.h (struct trace_status): New fields disconnected_tracing
7553 1.1 christos and circular_buffer.
7554 1.1 christos (disconnect_tracing): Rename from disconnect_or_stop_tracing.
7555 1.1 christos * tracepoint.c (trace_status_command): Display target's status for
7556 1.1 christos disconnected tracing and circular buffer.
7557 1.1 christos (disconnect_tracing): Rename from disconnect_or_stop_tracing, add
7558 1.1 christos query for non-disconnected-tracing case, remove the stop_tracing
7559 1.1 christos call.
7560 1.1 christos (tfile_open): Clear disconnected and circular buffer status.
7561 1.1 christos (trace_save): Save disconnected and circular buffer status.
7562 1.1 christos (parse_trace_status): Parse disconnected and circular buffer status,
7563 1.1 christos also recognize disconnected as a stop reason.
7564 1.1 christos * remote.c (remote_set_disconnected_tracing): Only set
7565 1.1 christos QTDisconnected if the remote end supports disconnected tracing.
7566 1.1 christos Warn otherwise, if trying to enable disconnected tracing.
7567 1.1 christos * infcmd.c (detach_command): Update disconnect_tracing call.
7568 1.1 christos * cli/cli-cmds.c (quit_command): Ditto.
7569 1.1 christos
7570 1.1 christos 2010-04-08 H.J. Lu <hongjiu.lu (a] intel.com>
7571 1.1 christos
7572 1.1 christos * i387-tdep.c (i387_collect_xsave): Replace abort with
7573 1.1 christos internal_error.
7574 1.1 christos
7575 1.1 christos 2010-04-08 Stan Shebs <stan (a] codesourcery.com>
7576 1.1 christos
7577 1.1 christos * breakpoint.c (default_collect_info): New function.
7578 1.1 christos (breakpoints_info): Call it.
7579 1.1 christos (maintenance_info_breakpoints): Ditto.
7580 1.1 christos (tracepoints_info): Ditto.
7581 1.1 christos
7582 1.1 christos 2010-04-08 H.J. Lu <hongjiu.lu (a] intel.com>
7583 1.1 christos
7584 1.1 christos * i387-tdep.c (i387_collect_xsave): Re-indent.
7585 1.1 christos
7586 1.1 christos 2010-04-08 H.J. Lu <hongjiu.lu (a] intel.com>
7587 1.1 christos
7588 1.1 christos * i386-linux-nat.c (have_ptrace_getfpxregs): Initialize to -1
7589 1.1 christos if HAVE_PTRACE_GETFPXREGS is defined.
7590 1.1 christos (i386_linux_read_description): Set have_ptrace_getfpxregs and
7591 1.1 christos have_ptrace_getregset to 0 if ptrace PTRACE_GETFPXREGS failed.
7592 1.1 christos
7593 1.1 christos * i386-linux-tdep.c: Include "features/i386/i386-mmx-linux.c"
7594 1.1 christos (i386_linux_core_read_description): Return tdesc_i386_mmx_linux
7595 1.1 christos if .reg-xfp section doesn't exist.
7596 1.1 christos (_initialize_i386_linux_tdep): Call initialize_tdesc_i386_mmx_linux.
7597 1.1 christos
7598 1.1 christos * i386-linux-tdep.h (tdesc_i386_mmx_linux): New.
7599 1.1 christos
7600 1.1 christos * i386-tdep.c: Include "features/i386/i386-mmx.c".
7601 1.1 christos (i386_go32_init_abi): Set tdesc to tdesc_i386_mmx.
7602 1.1 christos (i386_validate_tdesc_p): Make org.gnu.gdb.i386.sse optional. Set
7603 1.1 christos xcr0 to I386_XSTATE_X87_MASK if SSE isn't available.
7604 1.1 christos (i386_gdbarch_init): Update comments.
7605 1.1 christos (_initialize_i386_tdep): Call initialize_tdesc_i386_mmx.
7606 1.1 christos
7607 1.1 christos * common/i386-xstate.h (I386_XSTATE_X87_MASK): New.
7608 1.1 christos
7609 1.1 christos * config/djgpp/fnchange.lst: Add i386 MMX XML files.
7610 1.1 christos
7611 1.1 christos * features/Makefile (i386/i386-mmx-expedite): New.
7612 1.1 christos (i386/i386-mmx-linux-expedite): Likewise.
7613 1.1 christos ($(outdir)/i386/i386-mmx.dat): Likewise.
7614 1.1 christos ($(outdir)/i386/i386-mmx-linux.dat): Likewise.
7615 1.1 christos
7616 1.1 christos * features/i386/i386-mmx-linux.c: New.
7617 1.1 christos * features/i386/i386-mmx-linux.xml: Likewise.
7618 1.1 christos * features/i386/i386-mmx.c: Likewise.
7619 1.1 christos * features/i386/i386-mmx.xml: Likewise.
7620 1.1 christos * regformats/i386/i386-mmx-linux.dat: Likewise.
7621 1.1 christos * regformats/i386/i386-mmx.dat: Likewise.
7622 1.1 christos
7623 1.1 christos * features/Makefile (WHICH): Add i386/i386-mmx and
7624 1.1 christos i386/i386-mmx-linux.
7625 1.1 christos
7626 1.1 christos 2010-04-08 Doug Evans <dje (a] google.com>
7627 1.1 christos
7628 1.1 christos * source.c (openp): Skip $cdir in PATH.
7629 1.1 christos
7630 1.1 christos 2010-04-08 Phil Muldoon <pmuldoon (a] redhat.com>
7631 1.1 christos
7632 1.1 christos PR python/11417
7633 1.1 christos * python/py-lazy-string.c (stpy_convert_to_value): Check for
7634 1.1 christos a NULL address.
7635 1.1 christos (gdbpy_create_lazy_string_object): Allow strings with a NULL
7636 1.1 christos address and a zero length.
7637 1.1 christos
7638 1.1 christos 2010-04-08 Hui Zhu <teawater (a] gmail.com>
7639 1.1 christos
7640 1.1 christos * i386-tdep.c (i386_process_record): Add support for insn
7641 1.1 christos rdtsc.
7642 1.1 christos
7643 1.1 christos 2010-04-07 Doug Evans <dje (a] google.com>
7644 1.1 christos
7645 1.1 christos * python/python.c (source_python_script): Use ensure_python_env
7646 1.1 christos to prepare environment for script.
7647 1.1 christos
7648 1.1 christos 2010-04-07 H.J. Lu <hongjiu.lu (a] intel.com>
7649 1.1 christos
7650 1.1 christos * amd64-linux-nat.c: Include "regset.h", "elf/common.h",
7651 1.1 christos <sys/uio.h> and "i386-xstate.h".
7652 1.1 christos (PTRACE_GETREGSET): New.
7653 1.1 christos (PTRACE_SETREGSET): Likewise.
7654 1.1 christos (have_ptrace_getregset): Likewise.
7655 1.1 christos (amd64_linux_gregset64_reg_offset): Include 16 upper YMM
7656 1.1 christos registers.
7657 1.1 christos (amd64_linux_gregset32_reg_offset): Include 8 upper YMM
7658 1.1 christos registers.
7659 1.1 christos (amd64_linux_fetch_inferior_registers): Support PTRACE_GETFPREGS.
7660 1.1 christos (amd64_linux_store_inferior_registers): Likewise.
7661 1.1 christos (amd64_linux_read_description): Check and enable AVX target
7662 1.1 christos descriptions.
7663 1.1 christos
7664 1.1 christos * amd64-linux-tdep.c: Include "regset.h", "i386-linux-tdep.h"
7665 1.1 christos and "features/i386/amd64-avx-linux.c".
7666 1.1 christos (amd64_linux_regset_sections): New.
7667 1.1 christos (amd64_linux_core_read_description): Check and enable AVX
7668 1.1 christos target description.
7669 1.1 christos (amd64_linux_init_abi): Set xsave_xcr0_offset. Call
7670 1.1 christos set_gdbarch_core_regset_sections.
7671 1.1 christos (_initialize_amd64_linux_tdep): Call
7672 1.1 christos initialize_tdesc_amd64_avx_linux.
7673 1.1 christos
7674 1.1 christos * amd64-linux-tdep.h (AMD64_LINUX_ORIG_RAX_REGNUM): Replace
7675 1.1 christos AMD64_MXCSR_REGNUM with AMD64_YMM15H_REGNUM.
7676 1.1 christos (tdesc_amd64_avx_linux): New.
7677 1.1 christos (amd64_linux_update_xstateregset): Likewise.
7678 1.1 christos
7679 1.1 christos * amd64-tdep.c: Include "features/i386/amd64-avx.c".
7680 1.1 christos (amd64_ymm_names): New.
7681 1.1 christos (amd64_ymmh_names): Likewise.
7682 1.1 christos (amd64_register_name): Likewise.
7683 1.1 christos (amd64_supply_xstateregset): Likewise.
7684 1.1 christos (amd64_collect_xstateregset): Likewise.
7685 1.1 christos (amd64_supply_xsave): Likewise.
7686 1.1 christos (amd64_collect_xsave): Likewise.
7687 1.1 christos (AMD64_NUM_REGS): Removed.
7688 1.1 christos (amd64_dwarf_reg_to_regnum): Return %ymmN register number for
7689 1.1 christos %xmmN if AVX is available.
7690 1.1 christos (amd64_pseudo_register_name): Support pseudo YMM registers.
7691 1.1 christos (amd64_regset_from_core_section): Support .reg-xstate section.
7692 1.1 christos (amd64_init_abi): Set ymmh_register_names, num_ymm_regs
7693 1.1 christos and ymm0h_regnum. Call set_gdbarch_register_name.
7694 1.1 christos (amd64_init_abi): Call initialize_tdesc_amd64_avx.
7695 1.1 christos
7696 1.1 christos * amd64-tdep.h (amd64_regnum): Add AMD64_YMM0H_REGNUM and
7697 1.1 christos AMD64_YMM15H_REGNUM.
7698 1.1 christos (AMD64_NUM_REGS): New.
7699 1.1 christos (amd64_supply_xsave): Likewise.
7700 1.1 christos (amd64_collect_xsave): Likewise.
7701 1.1 christos (amd64_register_name): Removed.
7702 1.1 christos (amd64_register_type): Likewise.
7703 1.1 christos
7704 1.1 christos 2010-04-07 H.J. Lu <hongjiu.lu (a] intel.com>
7705 1.1 christos
7706 1.1 christos * i387-tdep.c: Include "i386-xstate.h".
7707 1.1 christos (XSAVE_XSTATE_BV_ADDR): New.
7708 1.1 christos (xsave_avxh_offset): Likewise.
7709 1.1 christos (XSAVE_AVXH_ADDR): Likewise.
7710 1.1 christos (i387_supply_xsave): Likewise.
7711 1.1 christos (i387_collect_xsave): Likewise.
7712 1.1 christos
7713 1.1 christos * i387-tdep.h (I387_NUM_YMM_REGS): New.
7714 1.1 christos (I387_YMM0H_REGNUM): Likewise.
7715 1.1 christos (I387_YMMENDH_REGNUM): Likewise.
7716 1.1 christos (i387_supply_xsave): Likewise.
7717 1.1 christos (i387_collect_xsave): Likewise.
7718 1.1 christos
7719 1.1 christos 2010-04-07 H.J. Lu <hongjiu.lu (a] intel.com>
7720 1.1 christos
7721 1.1 christos * i386-linux-nat.c: Include "regset.h", "elf/common.h",
7722 1.1 christos <sys/uio.h> and "i386-xstate.h".
7723 1.1 christos (PTRACE_GETREGSET): New.
7724 1.1 christos (PTRACE_SETREGSET): Likewise.
7725 1.1 christos (fetch_xstateregs): Likewise.
7726 1.1 christos (store_xstateregs): Likewise.
7727 1.1 christos (GETXSTATEREGS_SUPPLIES): Likewise.
7728 1.1 christos (regmap): Include 8 upper YMM registers.
7729 1.1 christos (i386_linux_fetch_inferior_registers): Support XSAVE extended
7730 1.1 christos state.
7731 1.1 christos (i386_linux_store_inferior_registers): Likewise.
7732 1.1 christos (i386_linux_read_description): Check and enable AVX target
7733 1.1 christos descriptions.
7734 1.1 christos
7735 1.1 christos * i386-linux-tdep.c: Include "regset.h", "i387-tdep.h",
7736 1.1 christos "i386-xstate.h" and "features/i386/i386-avx-linux.c".
7737 1.1 christos (i386_linux_regset_sections): Add ".reg-xstate".
7738 1.1 christos (i386_linux_gregset_reg_offset): Include 8 upper YMM registers.
7739 1.1 christos (i386_linux_core_read_xcr0): New.
7740 1.1 christos (i386_linux_core_read_description): Check and enable AVX target
7741 1.1 christos description.
7742 1.1 christos (i386_linux_init_abi): Set xsave_xcr0_offset.
7743 1.1 christos (_initialize_i386_linux_tdep): Call
7744 1.1 christos initialize_tdesc_i386_avx_linux.
7745 1.1 christos
7746 1.1 christos * i386-linux-tdep.h (I386_LINUX_ORIG_EAX_REGNUM): Replace
7747 1.1 christos I386_SSE_NUM_REGS with I386_AVX_NUM_REGS.
7748 1.1 christos (i386_linux_core_read_xcr0): New.
7749 1.1 christos (tdesc_i386_avx_linux): Likewise.
7750 1.1 christos (I386_LINUX_XSAVE_XCR0_OFFSET): Likewise.
7751 1.1 christos
7752 1.1 christos * i386-tdep.c: Include "i386-xstate.h" and
7753 1.1 christos "features/i386/i386-avx.c".
7754 1.1 christos (i386_ymm_names): New.
7755 1.1 christos (i386_ymmh_names): Likewise.
7756 1.1 christos (i386_ymmh_regnum_p): Likewise.
7757 1.1 christos (i386_ymm_regnum_p): Likewise.
7758 1.1 christos (i386_xmm_regnum_p): Likewise.
7759 1.1 christos (i386_register_name): Likewise.
7760 1.1 christos (i386_ymm_type): Likewise.
7761 1.1 christos (i386_supply_xstateregset): Likewise.
7762 1.1 christos (i386_collect_xstateregset): Likewise.
7763 1.1 christos (i386_sse_regnum_p): Removed.
7764 1.1 christos (i386_pseudo_register_name): Support pseudo YMM registers.
7765 1.1 christos (i386_pseudo_register_type): Likewise.
7766 1.1 christos (i386_pseudo_register_read): Likewise.
7767 1.1 christos (i386_pseudo_register_write): Likewise.
7768 1.1 christos (i386_dbx_reg_to_regnum): Return %ymmN register number for
7769 1.1 christos %xmmN if AVX is available.
7770 1.1 christos (i386_regset_from_core_section): Support .reg-xstate section.
7771 1.1 christos (i386_register_reggroup_p): Supper upper YMM and YMM registers.
7772 1.1 christos (i386_process_record): Replace i386_sse_regnum_p with
7773 1.1 christos i386_xmm_regnum_p.
7774 1.1 christos (i386_validate_tdesc_p): Support org.gnu.gdb.i386.avx feature.
7775 1.1 christos Set ymmh_register_names, num_ymm_regs, ymm0h_regnum and xcr0.
7776 1.1 christos (i386_gdbarch_init): Set xstateregset. Set xsave_xcr0_offset.
7777 1.1 christos Call set_gdbarch_register_name. Replace I386_SSE_NUM_REGS with
7778 1.1 christos I386_AVX_NUM_REGS. Set ymmh_register_names, ymm0h_regnum and
7779 1.1 christos num_ymm_regs. Add num_ymm_regs to set_gdbarch_num_pseudo_regs.
7780 1.1 christos Set ymm0_regnum.
7781 1.1 christos (_initialize_i386_tdep): Call initialize_tdesc_i386_avx.
7782 1.1 christos
7783 1.1 christos * i386-tdep.h (gdbarch_tdep): Add xstateregset, ymm0_regnum,
7784 1.1 christos xcr0, xsave_xcr0_offset, ymm0h_regnum, ymmh_register_names and
7785 1.1 christos i386_ymm_type.
7786 1.1 christos (i386_regnum): Add I386_YMM0H_REGNUM, and I386_YMM7H_REGNUM.
7787 1.1 christos (I386_AVX_NUM_REGS): New.
7788 1.1 christos (i386_xmm_regnum_p): Likewise.
7789 1.1 christos (i386_ymm_regnum_p): Likewise.
7790 1.1 christos (i386_ymmh_regnum_p): Likewise.
7791 1.1 christos
7792 1.1 christos * common/i386-xstate.h: New.
7793 1.1 christos
7794 1.1 christos 2010-04-07 H.J. Lu <hongjiu.lu (a] intel.com>
7795 1.1 christos
7796 1.1 christos * config/djgpp/fnchange.lst: Add x86 AVX XML files.
7797 1.1 christos
7798 1.1 christos * features/Makefile (WHICH): Add i386/i386-avx,
7799 1.1 christos i386/i386-avx-linux, i386/x86-64-avx and i386/x86-64-avx-linux.
7800 1.1 christos (i386/i386-avx-expedite): New.
7801 1.1 christos (i386/i386-avx-linux-expedite): Likewise.
7802 1.1 christos (i386/x86-64-avx-expedite):Likewise.
7803 1.1 christos (i386/x86-64-avx-linux-expedite): Likewise.
7804 1.1 christos ($(outdir)/i386/i386-avx.dat): New dependency.
7805 1.1 christos ($(outdir)/i386/i386-avx-linux.dat): Likewise.
7806 1.1 christos ($(outdir)/i386/x86-avx-64.dat): Likewise.
7807 1.1 christos ($(outdir)/i386/x86-64-avx-linux.dat): Likewise.
7808 1.1 christos
7809 1.1 christos * features/i386/32bit-avx.xml: New.
7810 1.1 christos * features/i386/64bit-avx.xml: Likewise.
7811 1.1 christos * features/i386/i386-avx-linux.c: Likewise.
7812 1.1 christos * features/i386/i386-avx-linux.xml: Likewise.
7813 1.1 christos * features/i386/i386-avx.c: Likewise.
7814 1.1 christos * features/i386/i386-avx.xml: Likewise.
7815 1.1 christos * features/i386/x86-64-avx-linux.c: Likewise.
7816 1.1 christos * features/i386/x86-64-avx-linux.xml: Likewise.
7817 1.1 christos * features/i386/x86-64-avx.c: Likewise.
7818 1.1 christos * features/i386/x86-64-avx.xml: Likewise.
7819 1.1 christos * regformats/i386/i386-avx-linux.dat: Likewise.
7820 1.1 christos * regformats/i386/i386-avx.dat: Likewise.
7821 1.1 christos * regformats/i386/x86-64-avx-linux.dat: Likewise.
7822 1.1 christos * regformats/i386/x86-64-avx.dat: Likewise.
7823 1.1 christos
7824 1.1 christos 2010-04-07 Doug Evans <dje (a] google.com>
7825 1.1 christos
7826 1.1 christos * top.c (source_file_name): Make const char *.
7827 1.1 christos * top.h (source_file_name): Update.
7828 1.1 christos * cli/cli-script.c (source_cleanup_lines_args): Make old_file
7829 1.1 christos const char *.
7830 1.1 christos (script_from_file): Change `file' arg to const char *.
7831 1.1 christos * cli/cli-script.h (script_from_file): Update.
7832 1.1 christos
7833 1.1 christos 2010-04-06 Doug Evans <dje (a] google.com>
7834 1.1 christos
7835 1.1 christos * cli/cli-cmds.c (source_command): Run cleanups.
7836 1.1 christos
7837 1.1 christos 2010-04-06 Stan Shebs <stan (a] codesourcery.com>
7838 1.1 christos
7839 1.1 christos * defs.h (char_ptr): Move typedef here from...
7840 1.1 christos * ada-lang.c (char_ptr): Remove.
7841 1.1 christos * charset.c (char_ptr): Remove.
7842 1.1 christos * tracepoint.h (struct uploaded_string): Remove.
7843 1.1 christos (struct uploaded_tp): Use vectors for string arrays.
7844 1.1 christos * tracepoint.c (trace_save): Use vectors of actions.
7845 1.1 christos (parse_tracepoint_definition): Ditto.
7846 1.1 christos (get_uploaded_tp): Clear vectors.
7847 1.1 christos * breakpoint.c (create_tracepoint_from_upload): Use vectors.
7848 1.1 christos (next_cmd): Change to an int.
7849 1.1 christos (read_next_cmd): Use vector of command strings.
7850 1.1 christos
7851 1.1 christos 2010-04-06 Doug Evans <dje (a] google.com>
7852 1.1 christos
7853 1.1 christos * top.h (source_script, cd_command): Delete.
7854 1.1 christos * main.c: #include "cli/cli-cmds.h"
7855 1.1 christos
7856 1.1 christos 2010-04-06 Kevin Buettner <kevinb (a] redhat.com>
7857 1.1 christos
7858 1.1 christos * m32c-tdep.c (make_types): When calling `arch_type', pass size of
7859 1.1 christos type in bytes, not bits.
7860 1.1 christos
7861 1.1 christos 2010-04-06 Pierre Muller <muller (a] ics.u-strasbg.fr>
7862 1.1 christos
7863 1.1 christos * stabsread.c (define_symbol): Add support for char
7864 1.1 christos and string constants.
7865 1.1 christos
7866 1.1 christos 2010-04-06 Pierre Muller <muller (a] ics.u-strasbg.fr>
7867 1.1 christos
7868 1.1 christos Remove remaining "%ll" uses.
7869 1.1 christos * go32-nat.c (go32_pte_for_address): Replace "0x%llx" using
7870 1.1 christos hex_string call.
7871 1.1 christos * rs6000-nat.c (rs6000_ptrace64): Idem.
7872 1.1 christos * solib-pa64.c (pa64_current_sos): Idem.
7873 1.1 christos * solib-spu.c (spu_current_sos): Idem.
7874 1.1 christos * linux-nat.c (linux_nat_find_memory_regions): Replace "%lld" using
7875 1.1 christos plongest call.
7876 1.1 christos * nto-procfs.c (procfs_meminfo): Replace "0x%016llx" using
7877 1.1 christos phex (VAR, 8) call.
7878 1.1 christos * sh64-tdep.c (sh64_show_media_regs): Idem.
7879 1.1 christos
7880 1.1 christos 2010-04-05 Stan Shebs <stan (a] codesourcery.com>
7881 1.1 christos
7882 1.1 christos * tracepoint.c: Include gdbcore.h.
7883 1.1 christos (tfile_xfer_partial): Return partial results, also try reading
7884 1.1 christos from executable.
7885 1.1 christos (tfile_has_all_memory): New function.
7886 1.1 christos (init_tfile_ops): Use it.
7887 1.1 christos
7888 1.1 christos 2010-04-05 Sergio Durigan Junior <sergiodj (a] redhat.com>
7889 1.1 christos
7890 1.1 christos PR gdb/10736:
7891 1.1 christos * xml-syscall.c (my_gdb_datadir): New variable to keep track of
7892 1.1 christos the changes in data-directory.
7893 1.1 christos (init_sysinfo): Reload the syscall XML file if the data-directory
7894 1.1 christos has changed.
7895 1.1 christos
7896 1.1 christos 2010-04-05 Jan Kratochvil <jan.kratochvil (a] redhat.com>
7897 1.1 christos
7898 1.1 christos Code cleanup.
7899 1.1 christos * breakpoint.c (bpstat_stop_status): Use bpstat_causes_stop.
7900 1.1 christos
7901 1.1 christos 2010-04-04 Stan Shebs <stan (a] codesourcery.com>
7902 1.1 christos Nathan Sidwell <nathan (a] codesourcery.com>
7903 1.1 christos
7904 1.1 christos * breakpoint.c (breakpoint_1): Add filter argument, return number of
7905 1.1 christos breakpoints printed.
7906 1.1 christos (is_hardware_watchpoint): Make argument const.
7907 1.1 christos (is_watchpoint): Ditto.
7908 1.1 christos (is_tracepoint): Merge of tracepoint_type and breakpoint_is_tracepoint,
7909 1.1 christos use it everywhere.
7910 1.1 christos (breakpoints_info): Pass NULL to breakpoint_1.
7911 1.1 christos (maintenance_info_breakpoints): Ditto.
7912 1.1 christos (watchpoints_info): New function.
7913 1.1 christos (tracepoints_info): Use breakpoint_1 filter.
7914 1.1 christos (set_ignore_count): Warn that tracepoint ignore count will be ignored.
7915 1.1 christos (_initialize_breakpoint): Make "info watchpoints" its own command.
7916 1.1 christos * breakpoint.h (is_tracepoint): Rename from breakpoint_is_tracepoint.
7917 1.1 christos * mi/mi-cmd-break.c (mi_cmd_break_commands): Use is_tracepoint.
7918 1.1 christos
7919 1.1 christos 2010-04-04 Stan Shebs <stan (a] codesourcery.com>
7920 1.1 christos
7921 1.1 christos * tracepoint.c (tfile_fetch_registers): Add fallback case.
7922 1.1 christos
7923 1.1 christos 2010-04-04 Jan Kratochvil <jan.kratochvil (a] redhat.com>
7924 1.1 christos
7925 1.1 christos * infcmd.c (run_command_1): Call proceed with regcache_read_pc address.
7926 1.1 christos * config/djgpp/fnchange.lst: Add translation for break-entry.exp.
7927 1.1 christos
7928 1.1 christos 2010-04-04 Jan Kratochvil <jan.kratochvil (a] redhat.com>
7929 1.1 christos
7930 1.1 christos * breakpoint.c (bpstat_find_step_resume_breakpoint): Remove.
7931 1.1 christos * breakpoint.h (bpstat_find_step_resume_breakpoint): Remove.
7932 1.1 christos
7933 1.1 christos 2010-04-02 Jan Kratochvil <jan.kratochvil (a] redhat.com>
7934 1.1 christos
7935 1.1 christos * dwarf2read.c (read_namespace_type): Use common "return set_die_type"
7936 1.1 christos code form.
7937 1.1 christos
7938 1.1 christos 2010-04-02 Hui Zhu <teawater (a] gmail.com>
7939 1.1 christos
7940 1.1 christos * i386-tdep.c (OT_DQUAD): New enum.
7941 1.1 christos (i386_process_record): Add code for MMX, 3DNow!, SSE, SSE2,
7942 1.1 christos SSE3, SSSE3 and SSE4.
7943 1.1 christos
7944 1.1 christos 2010-04-02 Hui Zhu <teawater (a] gmail.com>
7945 1.1 christos
7946 1.1 christos * i386-tdep.c (i386_record_lea_modrm_addr): Remove useless
7947 1.1 christos "*addr = 0".
7948 1.1 christos
7949 1.1 christos 2010-04-02 Pedro Alves <pedro (a] codesourcery.com>
7950 1.1 christos
7951 1.1 christos * tracepoint.c (trace_dump_actions): New, factored out from
7952 1.1 christos trace_dump_command, and adjusted to recurse into while-stepping's
7953 1.1 christos action list.
7954 1.1 christos (trace_dump_command): Use it.
7955 1.1 christos
7956 1.1 christos 2010-04-02 Pedro Alves <pedro (a] codesourcery.com>
7957 1.1 christos
7958 1.1 christos * breakpoint.h (struct counted_command_line): Moved definition to
7959 1.1 christos breakpoint.c, and forward declare.
7960 1.1 christos (breakpoint_commands): Declare.
7961 1.1 christos * breakpoint.c (struct counted_command_line): Moved here.
7962 1.1 christos (breakpoint_commands): New.
7963 1.1 christos * tracepoint.c (encode_actions): Use breakpoint_commands.
7964 1.1 christos * remote.c (remote_download_tracepoint): Ditto.
7965 1.1 christos
7966 1.1 christos 2010-04-01 H.J. Lu <hongjiu.lu (a] intel.com>
7967 1.1 christos
7968 1.1 christos * remote.c (remote_parse_stop_reply): Use hex_string instead
7969 1.1 christos of phex_nz for error.
7970 1.1 christos
7971 1.1 christos 2010-04-01 Stan Shebs <stan (a] codesourcery.com>
7972 1.1 christos Nathan Sidwell <nathan (a] codesourcery.com>
7973 1.1 christos
7974 1.1 christos * tracepoint.h (enum actionline_type): Remove.
7975 1.1 christos (validate_actionline): Change return to void.
7976 1.1 christos * tracepoint.c (report_agent_reqs_errors): New function.
7977 1.1 christos (validate_actionline): Call it, change return to void, report errors
7978 1.1 christos more consistently.
7979 1.1 christos (collect_symbol): Call report_agent_reqs_errors.
7980 1.1 christos (encode_actions_1): Ditto.
7981 1.1 christos (encode_actions): Don't expect a result from validate_actionline.
7982 1.1 christos
7983 1.1 christos 2010-04-01 Stan Shebs <stan (a] codesourcery.com>
7984 1.1 christos
7985 1.1 christos * tracepoint.c (trace_start_command): Confirm if trace is running.
7986 1.1 christos (trace_stop_command): Error if trace not running.
7987 1.1 christos
7988 1.1 christos 2010-04-01 H.J. Lu <hongjiu.lu (a] intel.com>
7989 1.1 christos
7990 1.1 christos * amd64-tdep.c (amd64_byte_names): Add "ah", "bh", "ch", "dh".
7991 1.1 christos (AMD64_NUM_LOWER_BYTE_REGS): New.
7992 1.1 christos (amd64_pseudo_register_read): Handle "ah", "bh", "ch", "dh".
7993 1.1 christos (amd64_pseudo_register_write): Likewise.
7994 1.1 christos (amd64_init_abi): Set num_byte_regs to 20.
7995 1.1 christos
7996 1.1 christos 2010-04-01 Pedro Alves <pedro (a] codesourcery.com>
7997 1.1 christos
7998 1.1 christos * breakpoint.c (multi_start, multi_end, last_was_multi): Delete.
7999 1.1 christos (prev_breakpoint_count): New.
8000 1.1 christos (set_breakpoint_count): Adjust.
8001 1.1 christos (rbreak_start_breakpoint_count): New.
8002 1.1 christos (start_rbreak_breakpoints): Adjust.
8003 1.1 christos (end_rbreak_breakpoints): Adjust.
8004 1.1 christos (struct commands_info) <arg>: New field.
8005 1.1 christos (do_map_commands_command): Tweak output to include breakpoint spec
8006 1.1 christos range.
8007 1.1 christos (commands_command_1): Adjust. Avoid setting an xfree cleanup if
8008 1.1 christos ARG was empty on entry. Set INFO's arg.
8009 1.1 christos (create_breakpoint): Adjust.
8010 1.1 christos
8011 1.1 christos * NEWS: Clarify `commands' changes.
8012 1.1 christos
8013 1.1 christos 2010-04-01 Pedro Alves <pedro (a] codesourcery.com>
8014 1.1 christos
8015 1.1 christos * tracepoint.c: Include stack.h.
8016 1.1 christos (struct add_local_symbols_data): New.
8017 1.1 christos (do_collect_symbol): New.
8018 1.1 christos (add_local_symbols): Rewrite using iterate_over_block_arg_vars and
8019 1.1 christos iterate_over_block_local_vars.
8020 1.1 christos * stack.c (print_block_frame_locals): Rewrite as ...
8021 1.1 christos (iterate_over_block_locals): ... this. Take a callback function
8022 1.1 christos pointer and generic data pointer, and call that instead of
8023 1.1 christos print_variable_and_value.
8024 1.1 christos (struct print_variable_and_value_data): New.
8025 1.1 christos (do_print_variable_and_value): New.
8026 1.1 christos (iterate_over_block_local_vars): New, abstracted out from
8027 1.1 christos print_frame_local_vars.
8028 1.1 christos (print_frame_local_vars): Rewrite using
8029 1.1 christos iterate_over_block_local_vars.
8030 1.1 christos (iterate_over_block_arg_vars): New, abstracted out from
8031 1.1 christos print_frame_arg_vars.
8032 1.1 christos (print_frame_arg_vars): Rewrite using iterate_over_block_arg_vars.
8033 1.1 christos * stack.h (iterate_over_block_arg_local_vars_cb): New typedef.
8034 1.1 christos (iterate_over_block_arg_vars, iterate_over_block_local_vars): Declare.
8035 1.1 christos
8036 1.1 christos 2010-03-31 Richard Earnshaw <rearnsha (a] arm.com>
8037 1.1 christos
8038 1.1 christos * arm-tdep.c (thumb_get_next_pc_raw): Correctly detect TBH
8039 1.1 christos instructions. Use the PC+4 if the base of the TBB or TBH is the
8040 1.1 christos PC register.
8041 1.1 christos
8042 1.1 christos 2010-03-31 Jan Kratochvil <jan.kratochvil (a] redhat.com>
8043 1.1 christos
8044 1.1 christos Fix crash on reading wrong function declaration DWARF.
8045 1.1 christos * dwarf2read.c (read_subroutine_type): New variable void_type.
8046 1.1 christos Pre-fill all TYPE_FIELD_TYPEs. Move nparams and iparams initialization
8047 1.1 christos more close to their use.
8048 1.1 christos
8049 1.1 christos 2010-03-31 Stan Shebs <stan (a] codesourcery.com>
8050 1.1 christos
8051 1.1 christos * breakpoint.c (tracepoint_save_command): Include variables,
8052 1.1 christos conditionals, tracepoint types, and default-collect.
8053 1.1 christos * tracepoint.c (save_trace_state_variables): New function.
8054 1.1 christos * tracepoint.h (save_trace_state_variables): Declare it.
8055 1.1 christos
8056 1.1 christos 2010-03-31 Pierre Muller <muller (a] ics.u-strasbg.fr>
8057 1.1 christos
8058 1.1 christos * remote.c (end_thread): ARI fix: Use xstrdup instead of strdup.
8059 1.1 christos
8060 1.1 christos 2010-03-30 Keith Seitz <keiths (a] redhat.com>
8061 1.1 christos
8062 1.1 christos * c-typeprint.c (c_type_print_args): Don't print "void"
8063 1.1 christos for java, regardless of whether it is TYPE_PROTOTYPED.
8064 1.1 christos Use the passed-in language instead of current_language.
8065 1.1 christos (c_type_print_varspec_suffix): Use current_language instead
8066 1.1 christos of assuming language_c.
8067 1.1 christos * jv-typeprint.c (java_type_print_base): (bz 9320) Strip off
8068 1.1 christos any return type specifier from the physname.
8069 1.1 christos
8070 1.1 christos 2010-03-30 Pedro Alves <pedro (a] codesourcery.com>
8071 1.1 christos
8072 1.1 christos * tui/tui-interp.c (tui_is_toplevel): New.
8073 1.1 christos (tui_init): Set it.
8074 1.1 christos (tui_allowed_p): New.
8075 1.1 christos * tui/tui.c (tui_enable): Check if the TUI is allowed before
8076 1.1 christos enabling it.
8077 1.1 christos * tui/tui.h (tui_allowed_p): Declare.
8078 1.1 christos
8079 1.1 christos 2010-03-30 Ozkan Sezer <sezeroz (a] gmail.com>
8080 1.1 christos
8081 1.1 christos * serial.h: Include winsock2.h before windows.h.
8082 1.1 christos
8083 1.1 christos 2010-03-30 H.J. Lu <hongjiu.lu (a] intel.com>
8084 1.1 christos
8085 1.1 christos * NEWS: Mention xmlRegisters= in qSupported packet.
8086 1.1 christos
8087 1.1 christos * i386-tdep.c: Include "remote.h".
8088 1.1 christos (_initialize_i386_tdep): Call register_remote_support_xml.
8089 1.1 christos
8090 1.1 christos * remote.c (remote_support_xml): New.
8091 1.1 christos (register_remote_support_xml): Likewise.
8092 1.1 christos (remote_query_supported_append): Likewise.
8093 1.1 christos (remote_query_supported): Support remote_support_xml.
8094 1.1 christos
8095 1.1 christos * remote.h (register_remote_support_xml): New.
8096 1.1 christos
8097 1.1 christos 2010-03-29 Stan Shebs <stan (a] codesourcery.com>
8098 1.1 christos
8099 1.1 christos * tracepoint.c (trace_find_line_command): Remove dead code.
8100 1.1 christos
8101 1.1 christos * tracepoint.h (struct uploaded_string): New struct.
8102 1.1 christos (struct uploaded_tp): New fields for source strings.
8103 1.1 christos * breakpoint.c (this_utp, next_cmd): New globals.
8104 1.1 christos (read_uploaded_action): New function.
8105 1.1 christos (create_tracepoint_from_upload): Fill in more parts
8106 1.1 christos of a tracepoint.
8107 1.1 christos * tracepoint.c (encode_source_string): New function.
8108 1.1 christos (trace_save): Write out source strings, fix error checks.
8109 1.1 christos (parse_tracepoint_definition): Add source string parsing.
8110 1.1 christos * remote.c (PACKET_TracepointSource): New packet type.
8111 1.1 christos (remote_download_command_source): New function.
8112 1.1 christos (remote_download_tracepoint): Download source pieces also.
8113 1.1 christos (_initialize_remote): Add packet config command.
8114 1.1 christos
8115 1.1 christos * tracepoint.c (collect_symbol): Send LOC_UNRESOLVED symbols to
8116 1.1 christos expression handler.
8117 1.1 christos
8118 1.1 christos * tracepoint.c (start_tracing): Check tracepoints before sending
8119 1.1 christos commands to target, don't start if all tracepoints disabled.
8120 1.1 christos
8121 1.1 christos 2010-03-28 Pedro Alves <pedro (a] codesourcery.com>
8122 1.1 christos
8123 1.1 christos * cli/cli-script.c (process_next_line): Handle 'stepping'.
8124 1.1 christos
8125 1.1 christos 2010-03-26 Stan Shebs <stan (a] codesourcery.com>
8126 1.1 christos
8127 1.1 christos * tracepoint.c (disconnect_or_stop_tracing): Get out of tfind mode.
8128 1.1 christos
8129 1.1 christos 2010-03-26 Tom Tromey <tromey (a] redhat.com>
8130 1.1 christos
8131 1.1 christos * breakpoint.c (commands_command_1): Duplicate 'arg'.
8132 1.1 christos
8133 1.1 christos 2010-03-26 Ulrich Weigand <uweigand (a] de.ibm.com>
8134 1.1 christos
8135 1.1 christos * breakpoint.c (expand_line_sal_maybe): Always call skip_prologue_sal.
8136 1.1 christos (skip_prologue_sal): Remove local definition.
8137 1.1 christos (resolve_sal_pc): Remove now unnecessary code.
8138 1.1 christos * linespec.c (minsym_found): Call skip_prologue_sal.
8139 1.1 christos * symtab.c (find_function_start_pc): Remove.
8140 1.1 christos (find_function_start_sal): Extract prologue skipping into ...
8141 1.1 christos (skip_prologue_sal): ... this new function. Handle code both
8142 1.1 christos with and without debug info. Respect SAL's explicit_pc and
8143 1.1 christos explicit_line flags. Inline old find_function_start_pc.
8144 1.1 christos * symtab.h (find_function_start_pc): Remove.
8145 1.1 christos (skip_prologue_sal): Add prototype.
8146 1.1 christos
8147 1.1 christos 2010-03-26 Ulrich Weigand <uweigand (a] de.ibm.com>
8148 1.1 christos
8149 1.1 christos * dwarf2read.c (read_func_scope): Also scan specification DIEs
8150 1.1 christos for DW_TAG_imported_module children.
8151 1.1 christos
8152 1.1 christos 2010-03-26 Ulrich Weigand <uweigand (a] de.ibm.com>
8153 1.1 christos
8154 1.1 christos * dwarf2read.c (dwarf2_name): Work around GCC bugzilla debug/41828 by
8155 1.1 christos ignoring spurious DW_AT_name attributes for unnamed structs or unions.
8156 1.1 christos * completer.c (add_struct_fields): Fix inverted logic.
8157 1.1 christos
8158 1.1 christos 2010-03-26 Ulrich Weigand <uweigand (a] de.ibm.com>
8159 1.1 christos
8160 1.1 christos * breakpoint.c (bpstat_clear_actions): Reset bs->commands_left.
8161 1.1 christos
8162 1.1 christos 2010-03-26 Pedro Alves <pedro (a] codesourcery.com>
8163 1.1 christos
8164 1.1 christos * tracepoint.c (current_trace_status): Don't make sure error_desc
8165 1.1 christos is non-NULL here.
8166 1.1 christos (parse_trace_status): Release a previous error_desc string, and
8167 1.1 christos set it to NULL by default. If stop reason is tracepoint_error,
8168 1.1 christos make sure error_desc is not left NULL.
8169 1.1 christos
8170 1.1 christos 2010-03-26 Pedro Alves <pedro (a] codesourcery.com>
8171 1.1 christos
8172 1.1 christos * tracepoint.c (trace_save): Remove X from tracepoint error
8173 1.1 christos description.
8174 1.1 christos
8175 1.1 christos 2010-03-26 Pedro Alves <pedro (a] codesourcery.com>
8176 1.1 christos
8177 1.1 christos * tracepoint.c (parse_trace_status): Don't allow plain strings in
8178 1.1 christos the terror description. Don't expect an X prefix.
8179 1.1 christos
8180 1.1 christos 2010-03-25 Stan Shebs <stan (a] codesourcery.com>
8181 1.1 christos
8182 1.1 christos * tracepoint.h (trace_stop_reason): Add tracepoint_error.
8183 1.1 christos (struct trace_status): New field error_desc.
8184 1.1 christos * tracepoint.c (stop_reason_names): Add terror.
8185 1.1 christos (current_trace_status): Ensure non-NULL error description.
8186 1.1 christos (trace_status_command): Add error report.
8187 1.1 christos (trace_status_mi): Ditto.
8188 1.1 christos (trace_save): Add special case for error description.
8189 1.1 christos (parse_trace_status): Add case for errors.
8190 1.1 christos
8191 1.1 christos 2010-03-25 Keith Seitz <keiths (a] redhat.com>
8192 1.1 christos
8193 1.1 christos * dwarf2read.c (read_subroutine_type): If the compilation unit
8194 1.1 christos language is Java, mark any formal parameter named "this" as
8195 1.1 christos artificial (GCC/43521).
8196 1.1 christos (dwarf2_name): Add special handling for Java constructors.
8197 1.1 christos
8198 1.1 christos 2010-03-25 Tom Tromey <tromey (a] redhat.com>
8199 1.1 christos
8200 1.1 christos PR gdb/11327, PR gdb/11328, PR breakpoints/11368:
8201 1.1 christos * infrun.c (handle_inferior_event): Change initialization of
8202 1.1 christos stop_stack_dummy.
8203 1.1 christos (handle_inferior_event): Change assignment to stop_stack_dummy.
8204 1.1 christos (normal_stop): Update use of stop_stack_dummy.
8205 1.1 christos (struct inferior_status) <stop_stack_dummy>: Change type.
8206 1.1 christos * inferior.h (stop_stack_dummy): Update.
8207 1.1 christos * infcmd.c (stop_stack_dummy): Change type.
8208 1.1 christos * infcall.c (cleanup_delete_std_terminate_breakpoint): New
8209 1.1 christos function.
8210 1.1 christos (call_function_by_hand): Call set_std_terminate_breakpoint.
8211 1.1 christos Rewrite std::terminate handling.
8212 1.1 christos * breakpoint.h (enum bptype) <bp_std_terminate,
8213 1.1 christos bp_std_terminate_master>: New.
8214 1.1 christos (enum stop_stack_kind): New.
8215 1.1 christos (struct bpstat_what) <call_dummy>: Change type.
8216 1.1 christos (set_std_terminate_breakpoint, delete_std_terminate_breakpoint):
8217 1.1 christos Declare.
8218 1.1 christos * breakpoint.c (create_std_terminate_master_breakpoint): New
8219 1.1 christos function.
8220 1.1 christos (update_breakpoints_after_exec): Handle bp_std_terminate_master.
8221 1.1 christos Call create_std_terminate_master_breakpoint.
8222 1.1 christos (print_it_typical): Handle new breakpoint kinds.
8223 1.1 christos (bpstat_stop_status): Handle bp_std_terminate_master.
8224 1.1 christos (bpstat_what): Correctly set call_dummy field. Handle
8225 1.1 christos bp_std_terminate_master and bp_std_terminate.
8226 1.1 christos (print_one_breakpoint_location): Update.
8227 1.1 christos (allocate_bp_location): Update.
8228 1.1 christos (set_std_terminate_breakpoint): New function.
8229 1.1 christos (delete_std_terminate_breakpoint): Likewise.
8230 1.1 christos (create_thread_event_breakpoint): Update.
8231 1.1 christos (delete_command): Update.
8232 1.1 christos (breakpoint_re_set_one): Update.
8233 1.1 christos (breakpoint_re_set): Call create_std_terminate_master_breakpoint.
8234 1.1 christos
8235 1.1 christos 2010-03-25 Jan Kratochvil <jan.kratochvil (a] redhat.com>
8236 1.1 christos
8237 1.1 christos * symfile.c (build_section_addr_info_from_bfd): New.
8238 1.1 christos (build_section_addr_info_from_objfile): Base it on
8239 1.1 christos build_section_addr_info_from_bfd.
8240 1.1 christos (addrs_section_compar, addrs_section_sort): New.
8241 1.1 christos (addr_info_make_relative): New variables my_cleanup, abfd_addrs,
8242 1.1 christos addrs_sorted, abfd_addrs_sorted and addrs_to_abfd_addrs. Build
8243 1.1 christos addrs_to_abfd_addrs. Use it for recalculating ADDRS.
8244 1.1 christos
8245 1.1 christos 2010-03-24 Michael Snyder <msnyder (a] localhost.localdomain>
8246 1.1 christos
8247 1.1 christos * elfread.c (find_separate_debug_file_by_buildid):
8248 1.1 christos Remove unused local variable.
8249 1.1 christos
8250 1.1 christos 2010-03-24 Tom Tromey <tromey (a] redhat.com>
8251 1.1 christos
8252 1.1 christos PR breakpoints/9352:
8253 1.1 christos * NEWS: Mention changes to `commands' and `rbreak'.
8254 1.1 christos * symtab.c (do_end_rbreak_breakpoints): New function.
8255 1.1 christos (rbreak_command): Call start_rbreak_breakpoints; arrange to call
8256 1.1 christos end_rbreak_breakpoints.
8257 1.1 christos * breakpoint.c (breakpoint_count, tracepoint_count): Now static.
8258 1.1 christos (set_breakpoint_count): Likewise. Clear last_was_multi.
8259 1.1 christos (multi_start, multi_end, last_was_multi): New globals.
8260 1.1 christos (start_rbreak_breakpoints, end_rbreak_breakpoints): New
8261 1.1 christos functions.
8262 1.1 christos (struct commands_info): New
8263 1.1 christos (do_map_commands_command): New function.
8264 1.1 christos (commands_command_1): New function.
8265 1.1 christos (commands_command): Use it.
8266 1.1 christos (commands_from_control_command): Likewise.
8267 1.1 christos (do_delete_breakpoint): New function.
8268 1.1 christos (delete_command): Use it.
8269 1.1 christos (map_breakpoint_numbers): Add 'data' argument. Pass to callback.
8270 1.1 christos (do_map_disable_breakpoint): New function.
8271 1.1 christos (disable_command): Use it.
8272 1.1 christos (do_map_enable_breakpoint): New function.
8273 1.1 christos (enable_command): Use it.
8274 1.1 christos (enable_once_breakpoint): Add argument.
8275 1.1 christos (enable_once_command): Update.
8276 1.1 christos (enable_delete_breakpoint): Add argument.
8277 1.1 christos (enable_delete_command): Update.
8278 1.1 christos (break_command_really): Set last_was_multi when needed.
8279 1.1 christos (check_tracepoint_command): Fix formatting.
8280 1.1 christos (validate_commands_for_breakpoint): New function.
8281 1.1 christos (breakpoint_set_commands): Use it.
8282 1.1 christos (tracepoint_save_command): Update.
8283 1.1 christos * breakpoint.h (start_rbreak_breakpoints, end_rbreak_breakpoints):
8284 1.1 christos Declare.
8285 1.1 christos
8286 1.1 christos 2010-03-24 Tom Tromey <tromey (a] redhat.com>
8287 1.1 christos
8288 1.1 christos * breakpoint.h (struct counted_command_line): New struct.
8289 1.1 christos (struct breakpoint) <commands>: Change type.
8290 1.1 christos (struct bpstats) <commands>: Change type.
8291 1.1 christos <commands_left>: New field.
8292 1.1 christos * breakpoint.c (alloc_counted_command_line): New function.
8293 1.1 christos (incref_counted_command_line): Likewise.
8294 1.1 christos (decref_counted_command_line): Likewise.
8295 1.1 christos (do_cleanup_counted_command_line): Likewise.
8296 1.1 christos (make_cleanup_decref_counted_command_line): Likewise.
8297 1.1 christos (breakpoint_set_commands): Use decref_counted_command_line and
8298 1.1 christos alloc_counted_command_line.
8299 1.1 christos (commands_command): Don't error if breakpoint commands are
8300 1.1 christos executing.
8301 1.1 christos (commands_from_control_command): Likewise.
8302 1.1 christos (bpstat_free): Update.
8303 1.1 christos (bpstat_copy): Likewise.
8304 1.1 christos (bpstat_clear_actions): Likewise.
8305 1.1 christos (bpstat_do_actions_1): Likewise.
8306 1.1 christos (bpstat_stop_status): Likewise.
8307 1.1 christos (print_one_breakpoint_location): Likewise.
8308 1.1 christos (delete_breakpoint): Likewise.
8309 1.1 christos (bpstat_alloc): Initialize new field.
8310 1.1 christos (tracepoint_save_command): Update.
8311 1.1 christos * tracepoint.c (encode_actions): Update.
8312 1.1 christos (trace_dump_command): Update.
8313 1.1 christos
8314 1.1 christos 2010-03-24 Daniel Jacobowitz <dan (a] codesourcery.com>
8315 1.1 christos
8316 1.1 christos * dwarf2-frame.c (dwarf2_frame_find_quirks): Use producer_is_realview.
8317 1.1 christos * dwarf2read.c (load_full_comp_unit): Read DW_AT_producer.
8318 1.1 christos (read_structure_type): For RealView, set TYPE_STUB on structures with
8319 1.1 christos no byte size and no children.
8320 1.1 christos (read_subroutine_type): Mark functions as prototyped by default.
8321 1.1 christos * symtab.c (producer_is_realview): New function.
8322 1.1 christos * symtab.h (expand_line_sal): Fix declaration formatting.
8323 1.1 christos (producer_is_realview): Declare.
8324 1.1 christos
8325 1.1 christos 2010-03-24 Daniel Jacobowitz <dan (a] codesourcery.com>
8326 1.1 christos
8327 1.1 christos * arm-tdep.c (skip_prologue_function): New function.
8328 1.1 christos (submask, bit, bits, sbits, BranchDest): Move higher in the file.
8329 1.1 christos (thumb_analyze_prologue): Document return value. Recognize more
8330 1.1 christos Thumb instructions, skippable calls, and some Thumb-2 instructions.
8331 1.1 christos Add debug output.
8332 1.1 christos (arm_skip_prologue): Remove call dummy check. Check the prologue
8333 1.1 christos for non-GNU compilers.
8334 1.1 christos (arm_instruction_changes_pc): New function.
8335 1.1 christos (arm_analyze_prologue): New function, broken out from
8336 1.1 christos arm_scan_prologue. Recognize more ARM instructions and skippable
8337 1.1 christos calls. Update comments. Handle NULL cache. Return the address
8338 1.1 christos of the first unrecognized instruction. Do not skip past other
8339 1.1 christos instructions which change control flow. Add debug output.
8340 1.1 christos (arm_scan_prologue): Use arm_analyze_prologue.
8341 1.1 christos (ARM_PC_32): Delete.
8342 1.1 christos (shifted_reg_val): Simplify ARM_PC_32 check.
8343 1.1 christos
8344 1.1 christos 2010-03-24 Vladimir Prus <vladimir (a] codesourcery.com>
8345 1.1 christos
8346 1.1 christos * tracepoint.c (tvariables_info_1): Actually compute
8347 1.1 christos the number of rows in the result.
8348 1.1 christos
8349 1.1 christos 2010-03-24 Pedro Alves <pedro (a] codesourcery.com>
8350 1.1 christos
8351 1.1 christos * remote.c (crc32): Constify `buf' parameter.
8352 1.1 christos (remote_verify_memory): New, abstracted out from...
8353 1.1 christos (compare_sections_command): ... this. Remove hardcoded target
8354 1.1 christos checks.
8355 1.1 christos (init_remote_ops): Install remote_verify_memory.
8356 1.1 christos * target.c (target_verify_memory): New.
8357 1.1 christos * target.h (struct target_ops) <to_verify_memory>: New field.
8358 1.1 christos (target_verify_memory): Declare.
8359 1.1 christos
8360 1.1 christos 2010-03-24 Vladimir Prus <vladimir (a] codesourcery.com>
8361 1.1 christos
8362 1.1 christos Implement -trace-save.
8363 1.1 christos
8364 1.1 christos * mi-cmds.h (mi_cmds_trace_save): Declare.
8365 1.1 christos * mi-cmds.c (mi_cmds): Register -trace-save.
8366 1.1 christos * mi/mi-main.c (mi_cmd_trace_save): New.
8367 1.1 christos * remote.c (remote_save_trace_data): Take const parameter.
8368 1.1 christos * target.h (struct target_ops::to_save_trace_data): Take
8369 1.1 christos const parameter.
8370 1.1 christos * target.c (update_current_target): Adjust to the above.
8371 1.1 christos * tracepoint.c (trave_save): New, extracted from
8372 1.1 christos (trace_save_command): ...this.
8373 1.1 christos (tfile_trace_find): Remove message that is unnecessary now
8374 1.1 christos that 'tfind' reports found frame.
8375 1.1 christos * tracepoint.h (trace_save): Declare.
8376 1.1 christos
8377 1.1 christos 2010-03-24 Vladimir Prus <vladimir (a] codesourcery.com>
8378 1.1 christos
8379 1.1 christos Implement -trace-find.
8380 1.1 christos
8381 1.1 christos * mi/mi-cmds.c (mi_cmds): Register -trace-find.
8382 1.1 christos * mi/mi-cmds.h (mi_cmd_trace_find): Declare.
8383 1.1 christos * mi/mi-main.c (mi_cmd_trace_find): New.
8384 1.1 christos * target.h (struct target_ops): Document to_trace_find.
8385 1.1 christos * tracepoint.h (tfind_1): Declare.
8386 1.1 christos * tracepoint.c (finish_tfind_command): Rename to...
8387 1.1 christos (tfind_1): ...this.
8388 1.1 christos * remote.c (remote_trace_find): Return -1 if target say
8389 1.1 christos there's no frame. Improve error diagnostics.
8390 1.1 christos
8391 1.1 christos 2010-03-24 Vladimir Prus <vladimir (a] codesourcery.com>
8392 1.1 christos
8393 1.1 christos -trace-define-variable and -trace-list-variables.
8394 1.1 christos
8395 1.1 christos * tracepoint.c (create_trace_state_variable): Make
8396 1.1 christos private copy of name, as opposed to assuming the
8397 1.1 christos pointer lives forever.
8398 1.1 christos (tvariables_info_1): New.
8399 1.1 christos (tvariables_info): Use the above.
8400 1.1 christos * tracepoint.h (create_trace_state_variable, tvariables_info_1):
8401 1.1 christos Declare.
8402 1.1 christos * mi/mi-cmds.c (mi_cmds): Register -trace-define-variable
8403 1.1 christos and -trace-list-variables.
8404 1.1 christos * mi/mi-cmds.h (mi_cmd_trace_define_variable)
8405 1.1 christos (mi_cmd_trace_list_variables): New.
8406 1.1 christos * mi/mi-main.c (mi_cmd_trace_define_variable)
8407 1.1 christos (mi_cmd_trace_list_variables): New.
8408 1.1 christos
8409 1.1 christos 2010-03-24 Vladimir Prus <vladimir (a] codesourcery.com>
8410 1.1 christos
8411 1.1 christos Implement -break-passcount.
8412 1.1 christos
8413 1.1 christos * mi/mi-cmd-break.c (mi_cmd_break_passcount): New.
8414 1.1 christos * mi/mi-cmds.c (mi_cmds): Register -break-passcount.
8415 1.1 christos * mi/mi-cmds.h (mi_cmd_break_passcount): Declare.
8416 1.1 christos
8417 1.1 christos 2010-03-24 Vladimir Prus <vladimir (a] codesourcery.com>
8418 1.1 christos
8419 1.1 christos -trace-start/-trace-end/-trace-status.
8420 1.1 christos
8421 1.1 christos * mi/mi-cmds.c (mi_cmds): Register -trace-start, -trace-status
8422 1.1 christos and -trace-stop.
8423 1.1 christos * mi/mi-cmds.h (mi_cmd_trace_start, mi_cmd_trace_status)
8424 1.1 christos (mi_cmd_trace_stop): Declare.
8425 1.1 christos * mi/mi-main.c (mi_cmd_trace_start, mi_cmd_trace_status)
8426 1.1 christos (mi_cmd_trace_stop): New.
8427 1.1 christos * tracepoint.c (start_tracing): New, extracted from...
8428 1.1 christos (trace_start_command): ...this.
8429 1.1 christos (trace_status_mi): New.
8430 1.1 christos * tracepoint.h (struct trace_status): Document
8431 1.1 christos stopping_tracepoint.
8432 1.1 christos (start_tracing, stop_tracing, trace_status_mi): Declare.
8433 1.1 christos
8434 1.1 christos 2010-03-24 Vladimir Prus <vladimir (a] codesourcery.com>
8435 1.1 christos
8436 1.1 christos Implement creating tracepoints with -break-insert.
8437 1.1 christos
8438 1.1 christos * mi/mi-cmd-break.c (mi_cmd_break_insert): Handle -a
8439 1.1 christos to mean that tracepoint should be created.
8440 1.1 christos
8441 1.1 christos 2010-03-24 Vladimir Prus <vladimir (a] codesourcery.com>
8442 1.1 christos
8443 1.1 christos * breakpoint.c (check_no_tracepoint_commands): Use
8444 1.1 christos current spelling of 'teval'.
8445 1.1 christos
8446 1.1 christos 2010-03-24 Vladimir Prus <vladimir (a] codesourcery.com>
8447 1.1 christos
8448 1.1 christos Unify actions and commands
8449 1.1 christos
8450 1.1 christos * defs.h (read_command_lines, read_command_lines_1): New
8451 1.1 christos parameters validator and closure.
8452 1.1 christos * tracepoint.h (struct action_line): Remove.
8453 1.1 christos * breakpoint.h (struct breakpoint): Remove the 'actions'
8454 1.1 christos field.
8455 1.1 christos * defs.h (enum command_control_type): New value
8456 1.1 christos while_stepping_control.
8457 1.1 christos (struct command_line): Add comments.
8458 1.1 christos * breakpoint.c (breakoint_is_tracepoint): New.
8459 1.1 christos (breakpoint_set_commands): For tracepoints,
8460 1.1 christos verify the commands are permissible.
8461 1.1 christos (check_tracepoint_commands): New.
8462 1.1 christos (commands_command): Require that each new line is validated using
8463 1.1 christos check_tracepoint_command, if we set commands for a tracepoint.
8464 1.1 christos (create_tracepoint_from_upload): Likewise.
8465 1.1 christos (print_one_breakpoint_location): Remove the code to print
8466 1.1 christos actions specifically.
8467 1.1 christos (tracepoint_save_command): Relay to print_command_lines.
8468 1.1 christos * cli/cli-script.c (process_next_line): New parameters validator
8469 1.1 christos and closure. Handle 'while-stepping'. Call validator if not null.
8470 1.1 christos (read_command_lines, read_command_lines1): Likewise.
8471 1.1 christos (recurse_read_control_structure): New parameters validator and
8472 1.1 christos closure. Handle while_stepping_control.
8473 1.1 christos (print_command_lines): Handle while-stepping.
8474 1.1 christos (get_command_line, define_command, document_command): Adjust.
8475 1.1 christos * remote.c (remote_download_tracepoint): Adjust.
8476 1.1 christos * tracepoint.c (make_cleanup_free_actions, read_actions)
8477 1.1 christos (free_actions, do_free_actions_cleanup): Remove.
8478 1.1 christos (trace_actions_command): Use read_command_lines.
8479 1.1 christos (validate_actionline): Use error in one place.
8480 1.1 christos (encode_actions_1): New, extracted from...
8481 1.1 christos (encode_actions): ...this. Also use cleanups for exception
8482 1.1 christos safety.
8483 1.1 christos (trace_dump_command): Adjust.
8484 1.1 christos * mi/mi-cmd-break (mi_cmd_break_commands): Validate commands if
8485 1.1 christos it's tracepoint.
8486 1.1 christos
8487 1.1 christos 2010-03-23 Mike Frysinger <vapier (a] gentoo.org>
8488 1.1 christos
8489 1.1 christos * Makefile.in (OPCODES_CFLAGS): Add -I$(OPCODES_SRC)/..
8490 1.1 christos
8491 1.1 christos 2010-03-22 Stan Shebs <stan (a] codesourcery.com>
8492 1.1 christos
8493 1.1 christos * value.c (value_static_field): Be lazy about the field's value.
8494 1.1 christos
8495 1.1 christos 2010-03-22 Reid Kleckner <reid (a] kleckner.net>
8496 1.1 christos
8497 1.1 christos PR gdb/11094
8498 1.1 christos * breakpoint.c (disable_breakpoints_in_unloaded_shlib): Add
8499 1.1 christos bp_jit_event.
8500 1.1 christos (disable_breakpoints_in_shlibs): Likewise.
8501 1.1 christos
8502 1.1 christos 2010-03-22 Ulrich Weigand <uweigand (a] de.ibm.com>
8503 1.1 christos
8504 1.1 christos * dwarf2read.c (partial_die_parent_scope): Work around buggy
8505 1.1 christos GCC 4.1 debug info generation (GCC PR c++/28460).
8506 1.1 christos (determine_prefix): Likewise.
8507 1.1 christos
8508 1.1 christos 2010-03-20 Daniel Jacobowitz <dan (a] codesourcery.com>
8509 1.1 christos
8510 1.1 christos * tui/tui-disasm.c (tui_get_begin_asm_address): Default to
8511 1.1 christos get_current_arch.
8512 1.1 christos * tui/tui-layout.c (extract_display_start_addr): Likewise.
8513 1.1 christos
8514 1.1 christos 2010-03-19 Stan Shebs <stan (a] codesourcery.com>
8515 1.1 christos
8516 1.1 christos * ax-gdb.c (gen_fetch): Handle bool.
8517 1.1 christos (gen_usual_unary): Ditto.
8518 1.1 christos (gen_cast): Ditto.
8519 1.1 christos (gen_equal): New function.
8520 1.1 christos (gen_less): New function.
8521 1.1 christos (gen_expr_binop_rest): Call them, also return integer type from
8522 1.1 christos logical operations.
8523 1.1 christos (gen_expr): Ditto.
8524 1.1 christos
8525 1.1 christos 2010-03-19 Tom Tromey <tromey (a] redhat.com>
8526 1.1 christos
8527 1.1 christos * jv-lang.c (jv_dynamics_objfile_data_key)
8528 1.1 christos (jv_type_objfile_data_key): New globals.
8529 1.1 christos (class_symtab): Move earlier.
8530 1.1 christos (jv_per_objfile_free): New function.
8531 1.1 christos (get_dynamics_objfile): Call set_objfile_data. Add 'gdbarch'
8532 1.1 christos parameter.
8533 1.1 christos Remove ancient #if 1.
8534 1.1 christos (add_class_symbol): Remove redundant declaration.
8535 1.1 christos (java_lookup_class): Use alloc_type, not alloc_type_arch.
8536 1.1 christos (java_link_class_type): Mark as static. Update.
8537 1.1 christos (jv_clear_object_type): New function.
8538 1.1 christos (set_java_object_type): Likewise.
8539 1.1 christos (get_java_object_type): Use set_java_object_type.
8540 1.1 christos (is_object_type): Likewise.
8541 1.1 christos (_initialize_java_language): Register new objfile keys.
8542 1.1 christos (get_java_class_symtab): Add 'gdbarch' parameter.
8543 1.1 christos (add_class_symtab_symbol): Update.
8544 1.1 christos (type_from_class): Update.
8545 1.1 christos
8546 1.1 christos 2010-03-19 Stan Shebs <stan (a] codesourcery.com>
8547 1.1 christos
8548 1.1 christos * ax-general.c (ax_const_l): Fix a sizing bug.
8549 1.1 christos
8550 1.1 christos 2010-03-18 Joel Brobecker <brobecker (a] adacore.com>
8551 1.1 christos
8552 1.1 christos GDB 7.1 released.
8553 1.1 christos
8554 1.1 christos 2010-03-18 Stan Shebs <stan (a] codesourcery.com>
8555 1.1 christos Pedro Alves <pedro (a] codesourcery.com>
8556 1.1 christos
8557 1.1 christos * target.h (struct target_ops): New method
8558 1.1 christos to_set_circular_trace_buffer.
8559 1.1 christos (target_set_circular_trace_buffer): New macro.
8560 1.1 christos * target.c (update_current_target): Add
8561 1.1 christos to_set_circular_trace_buffer, fix to_set_disconnected_tracing
8562 1.1 christos default behavior.
8563 1.1 christos * remote.c (remote_set_circular_trace_buffer): New function.
8564 1.1 christos (init_remote_ops): Add it to vector.
8565 1.1 christos * tracepoint.h (struct trace_status): New field traceframes_created,
8566 1.1 christos change buffer_size and buffer_free to int.
8567 1.1 christos * tracepoint.c (circular_trace_buffer): New global.
8568 1.1 christos (start_tracing): Send values of disconnected tracing and circular
8569 1.1 christos trace buffer settings.
8570 1.1 christos (set_circular_trace_buffer): New function.
8571 1.1 christos (parse_trace_state): Handle total space and frames created.
8572 1.1 christos (trace_status_command): Display total space and total frames
8573 1.1 christos created.
8574 1.1 christos (trace_save): Write out new status values.
8575 1.1 christos (parse_trace_status): Set traceframe_count, traceframes_created,
8576 1.1 christos buffer_free and buffer_size to -1 by default.
8577 1.1 christos (_initialize_tracepoint): New setshow for circular-trace-buffer.
8578 1.1 christos * NEWS: Mention the circular trace buffer option.
8579 1.1 christos
8580 1.1 christos 2010-03-18 Tom Tromey <tromey (a] redhat.com>
8581 1.1 christos
8582 1.1 christos * infcmd.c (finish_command_continuation): Wrap print_return_value
8583 1.1 christos in TRY_CATCH.
8584 1.1 christos
8585 1.1 christos 2010-03-18 Joel Brobecker <brobecker (a] adacore.com>
8586 1.1 christos
8587 1.1 christos * dwarf2read.c (add_partial_subprogram): Make sure the subprogram
8588 1.1 christos DIE has a name before creating the associated partial symbol.
8589 1.1 christos (read_func_scope): Emit a complaint if the subprogram does not
8590 1.1 christos have a name or when we can't extract the subprogram PC bounds.
8591 1.1 christos
8592 1.1 christos 2010-03-18 Ulrich Weigand <uweigand (a] de.ibm.com>
8593 1.1 christos
8594 1.1 christos * mi/mi-main.c (mi_cmd_list_thread_groups): Use get_current_arch
8595 1.1 christos instead of selected frame architecture.
8596 1.1 christos
8597 1.1 christos 2010-03-18 Pedro Alves <pedro (a] codesourcery.com>
8598 1.1 christos
8599 1.1 christos * infcmd.c (until_command): Use ERROR_NO_INFERIOR. Ensure there's
8600 1.1 christos a valid selected thread, and that it is not running.
8601 1.1 christos (advance_command): Ditto.
8602 1.1 christos (finish_command): Ditto.
8603 1.1 christos
8604 1.1 christos 2010-03-17 Stan Shebs <stan (a] codesourcery.com>
8605 1.1 christos
8606 1.1 christos * ax-gdb.c (require_rvalue): Disallow non-scalars.
8607 1.1 christos
8608 1.1 christos * infcall.c: Include tracepoint.h.
8609 1.1 christos (call_function_by_hand): Disallow calls in tfind mode.
8610 1.1 christos * infcmd.c: Include tracepoint.h.
8611 1.1 christos (ensure_not_tfind_mode): New function.
8612 1.1 christos (continue_1): Call it.
8613 1.1 christos (step_1) Ditto.
8614 1.1 christos (jump_command): Ditto.
8615 1.1 christos (signal_command): Ditto.
8616 1.1 christos (advance_command): Ditto.
8617 1.1 christos (until_command): Ditto.
8618 1.1 christos (finish_command): Ditto.
8619 1.1 christos * tracepoint.h (disconnect_or_stop_tracing): Declare.
8620 1.1 christos
8621 1.1 christos * ax-gdb.h (struct axs_value): New field optimized_out.
8622 1.1 christos (gen_trace_for_var): Add gdbarch argument.
8623 1.1 christos * ax-gdb.c (gen_trace_static_fields): New function.
8624 1.1 christos (gen_traced_pop): Call it, add gdbarch argument.
8625 1.1 christos (gen_trace_for_expr): Update call to it.
8626 1.1 christos (gen_trace_for_var): Ditto, and report optimized-out variables.
8627 1.1 christos (gen_struct_ref_recursive): Check for optimized-out value.
8628 1.1 christos (gen_struct_elt_for_reference): Ditto.
8629 1.1 christos (gen_static_field): Pass gdbarch instead of expression, assume
8630 1.1 christos optimization if field not found.
8631 1.1 christos (gen_var_ref): Set the optimized_out flag.
8632 1.1 christos (gen_expr): Error on optimized-out variable.
8633 1.1 christos * tracepoint.c (collect_symbol): Handle struct-valued vars as
8634 1.1 christos expressions, skip optimized-out variables with computed locations.
8635 1.1 christos * dwarf2loc.c (dwarf2_tracepoint_var_ref): Flag instead of
8636 1.1 christos erroring out if location expression missing.
8637 1.1 christos (loclist_tracepoint_var_ref): Don't error out here.
8638 1.1 christos
8639 1.1 christos 2010-03-17 Tom Tromey <tromey (a] redhat.com>
8640 1.1 christos
8641 1.1 christos * dwarf2read.c (dwarf2_get_section_info): Handle case where no
8642 1.1 christos DWARF data is available.
8643 1.1 christos
8644 1.1 christos 2010-03-17 Daniel Jacobowitz <dan (a] codesourcery.com>
8645 1.1 christos
8646 1.1 christos * symfile.c (generic_load): Reset breakpoints after loading.
8647 1.1 christos
8648 1.1 christos 2010-03-17 Tom Tromey <tromey (a] redhat.com>
8649 1.1 christos
8650 1.1 christos * linux-nat.c (linux_nat_detach): Check debug_linux_nat.
8651 1.1 christos
8652 1.1 christos 2010-03-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
8653 1.1 christos
8654 1.1 christos * spu-tdep.c (spu_catch_start): Replace set_breakpoint call with the
8655 1.1 christos create_breakpoint call, adjust the parameters.
8656 1.1 christos
8657 1.1 christos 2010-03-16 Jan Kratochvil <jan.kratochvil (a] redhat.com>
8658 1.1 christos Chandru <chandru (a] in.ibm.com>
8659 1.1 christos
8660 1.1 christos * dwarf2read.c (read_subrange_type): Set TYPE_HIGH_BOUND_UNDEFINED.
8661 1.1 christos * valarith.c (value_subscripted_rvalue): Suppress error if
8662 1.1 christos TYPE_ARRAY_UPPER_BOUND_IS_UNDEFINED.
8663 1.1 christos
8664 1.1 christos 2010-03-16 Holger Hans Peter Freyther <zecke (a] selfish.org>
8665 1.1 christos
8666 1.1 christos * linux-record.c (record_linux_msghdr): Remove unintended semicolons.
8667 1.1 christos
8668 1.1 christos 2010-03-16 Joel Brobecker <brobecker (a] adacore.com>
8669 1.1 christos
8670 1.1 christos * ada-tasks.c (task_command_1): Check that the task ptid is valid
8671 1.1 christos before doing the associated thread switch.
8672 1.1 christos
8673 1.1 christos 2010-03-16 Daniel Jacobowitz <dan (a] codesourcery.com>
8674 1.1 christos
8675 1.1 christos * MAINTAINERS: Update my email address.
8676 1.1 christos
8677 1.1 christos 2010-03-16 Vladimir Prus <vladimir (a] codesourcery.com>
8678 1.1 christos
8679 1.1 christos Simplify MI breakpoint setting.
8680 1.1 christos
8681 1.1 christos * breakpoint.c (break_command_really): Make nonstatic and
8682 1.1 christos rename to...
8683 1.1 christos (create_breakpoint): ...this. Rename prior function by this name
8684 1.1 christos to...
8685 1.1 christos (create_breakpoint_sal): ...this.
8686 1.1 christos (create_breakpoints): Rename to...
8687 1.1 christos (create_breakpoints_sal): ...this.
8688 1.1 christos (set_breakpoint): Remove.
8689 1.1 christos * breakpoint.h: Adjust to above changes.
8690 1.1 christos * mi/mi-cmd-break.c (mi_cmd_break_insert): Simplify.
8691 1.1 christos
8692 1.1 christos 2010-03-15 Stan Shebs <stan (a] codesourcery.com>
8693 1.1 christos
8694 1.1 christos * ax-gdb.c: Include cp-support.h.
8695 1.1 christos (find_field): Remove.
8696 1.1 christos (gen_primitive_field): New function.
8697 1.1 christos (gen_struct_ref_recursive): New function.
8698 1.1 christos (gen_struct_ref): Rewrite to call gen_struct_ref_recursive instead
8699 1.1 christos of find_field.
8700 1.1 christos (gen_static_field): New function.
8701 1.1 christos (gen_struct_elt_for_reference): New.
8702 1.1 christos (gen_namespace_elt): New.
8703 1.1 christos (gen_maybe_namespace_elt): New.
8704 1.1 christos (gen_aggregate_elt_ref): New.
8705 1.1 christos (gen_expr): Add OP_SCOPE, display opcode name in error message.
8706 1.1 christos
8707 1.1 christos 2010-03-15 Tom Tromey <tromey (a] redhat.com>
8708 1.1 christos
8709 1.1 christos * dwarf2read.c (die_needs_namespace): Also return 0 for
8710 1.1 christos DW_TAG_subprogram.
8711 1.1 christos
8712 1.1 christos 2010-03-15 Sami Wagiaalla <swagiaal (a] redhat.com>
8713 1.1 christos
8714 1.1 christos PR c++/7936:
8715 1.1 christos * cp-support.h: Added char *declaration element to using_direct
8716 1.1 christos data struct.
8717 1.1 christos (cp_add_using): Added char *declaration argument.
8718 1.1 christos (cp_add_using_directive): Ditto.
8719 1.1 christos (cp_lookup_symbol_imports): made extern.
8720 1.1 christos * cp-namespace.c: Updated with the above changes.
8721 1.1 christos * dwarf2read.c (read_import_statement): Ditto.
8722 1.1 christos (read_namespace): Ditto.
8723 1.1 christos (read_import_statement): Support import declarations.
8724 1.1 christos * cp-namespace.c (cp_lookup_symbol_imports): Check for imported
8725 1.1 christos declarations.
8726 1.1 christos Added support for 'declaration_only' search.
8727 1.1 christos (cp_lookup_symbol_namespace): Attempt to search for the name as
8728 1.1 christos is before consideration of imports.
8729 1.1 christos * symtab.c (lookup_symbol_aux_local): Added a 'declaration_only'
8730 1.1 christos search at every block level search.
8731 1.1 christos Now takes language argument.
8732 1.1 christos (lookup_symbol_aux): Updated.
8733 1.1 christos
8734 1.1 christos 2010-03-15 Tom Tromey <tromey (a] redhat.com>
8735 1.1 christos
8736 1.1 christos * c-exp.y (name_not_typename): Add 'operator' clause.
8737 1.1 christos
8738 1.1 christos 2010-03-15 Ralf Corsepius <ralf.corsepius (a] rtems.org> (tiny change)
8739 1.1 christos
8740 1.1 christos * configure.ac: Exit if ${gdb_target_obs}" is not set.
8741 1.1 christos * configure: Regenerate.
8742 1.1 christos
8743 1.1 christos 2010-03-15 Jan Kratochvil <jan.kratochvil (a] redhat.com>
8744 1.1 christos
8745 1.1 christos * symfile.c (addr_info_make_relative): Ignore also missing ".dynbss"
8746 1.1 christos and ".sdynbss". Update the comment.
8747 1.1 christos
8748 1.1 christos 2010-03-15 Jie Zhang <jie (a] codesourcery.com>
8749 1.1 christos
8750 1.1 christos * MAINTAINERS: Update my email address.
8751 1.1 christos
8752 1.1 christos 2010-03-14 Daniel Jacobowitz <dan (a] codesourcery.com>
8753 1.1 christos
8754 1.1 christos * gdbtypes.h (TYPE_IS_OPAQUE): Correct HAVE_CPLUS_STRUCT check.
8755 1.1 christos
8756 1.1 christos 2010-03-14 Daniel Jacobowitz <dan (a] codesourcery.com>
8757 1.1 christos
8758 1.1 christos * charset.c [USE_WIN32API]: Include <windows.h>.
8759 1.1 christos (_initialize_charset): Correct type of w32_host_default_charset.
8760 1.1 christos
8761 1.1 christos 2010-03-14 Pedro Alves <pedro (a] codesourcery.com>
8762 1.1 christos
8763 1.1 christos * infrun.c (ptid_match): Don't assert that PTID is not a pid ptid.
8764 1.1 christos
8765 1.1 christos 2010-03-12 Tom Tromey <tromey (a] redhat.com>
8766 1.1 christos
8767 1.1 christos PR c++/9708:
8768 1.1 christos * dwarf2read.c (die_needs_namespace) <DW_TAG_variable>: A variable
8769 1.1 christos in a lexical block does not need a namespace.
8770 1.1 christos (new_symbol) <DW_TAG_variable>: Put extern variables on
8771 1.1 christos list_in_scope in all cases.
8772 1.1 christos
8773 1.1 christos 2010-03-12 Stan Shebs <stan (a] codesourcery.com>
8774 1.1 christos
8775 1.1 christos * ax-gdb.c (gen_expr): Add shift expressions.
8776 1.1 christos (gen_expr_binop_rest): Ditto.
8777 1.1 christos
8778 1.1 christos 2010-03-12 Sami Wagiaalla <swagiaal (a] redhat.com>
8779 1.1 christos
8780 1.1 christos * buildsym.c (finish_block): Reset using_directives pointer
8781 1.1 christos after block initialization.
8782 1.1 christos
8783 1.1 christos 2010-03-12 H.J. Lu <hongjiu.lu (a] intel.com>
8784 1.1 christos
8785 1.1 christos * amd64-tdep.c (amd64_word_names): Replace "sp" with "".
8786 1.1 christos * i386-tdep.c (i386_word_names): Likewise.
8787 1.1 christos
8788 1.1 christos 2010-03-12 Pedro Alves <pedro (a] codesourcery.com>
8789 1.1 christos
8790 1.1 christos * target.c (memory_xfer_partial): Don't use the stack cache if
8791 1.1 christos inspecting trace frames.
8792 1.1 christos * tracepoint.c (finish_tfind_command): Invalidate the target
8793 1.1 christos dcache.
8794 1.1 christos
8795 1.1 christos 2010-03-11 Jan Kratochvil <jan.kratochvil (a] redhat.com>
8796 1.1 christos
8797 1.1 christos * solib-svr4.c (LM_ADDR_CHECK) <info_verbose>: Use printf_unfiltered
8798 1.1 christos for the PIC displacement, print also the displacement value.
8799 1.1 christos (svr4_exec_displacement): Print DISPLACEMENT if INFO_VERBOSE.
8800 1.1 christos
8801 1.1 christos 2010-03-10 Kevin Buettner <kevinb (a] redhat.com>
8802 1.1 christos
8803 1.1 christos * remote-mips.c (close_ports, mips_initialize_cleanups)
8804 1.1 christos (mips_exit_cleanups, mips_send_command, mips_open, pmon_open)
8805 1.1 christos (ddb_open, lsi_open, mips_remove_breakpoint, mips_remove_watchpoint)
8806 1.1 christos (mips_stopped_by_watchpoint, send_srec, pmon_checkset)
8807 1.1 christos (pmon_make_fastrec, pmon_check_ack, mips_expect_download)
8808 1.1 christos (pmon_check_entry_address, pmon_check_total, pmon_end_download)
8809 1.1 christos (pmon_download, pmon_load_fast, _initialize_remote_mips): Add
8810 1.1 christos comments describing each of these functions.
8811 1.1 christos (mips_enter_debug, mips_exit_debug, common_open)
8812 1.1 christos (mips_signal_from_protocol, pmon_makeb64, pmon_zeroset): Add
8813 1.1 christos blank line after the comment describing the function.
8814 1.1 christos
8815 1.1 christos 2010-03-10 Jan Kratochvil <jan.kratochvil (a] redhat.com>
8816 1.1 christos
8817 1.1 christos * solib-svr4.c (svr4_exec_displacement): Return now success, new
8818 1.1 christos parameter displacementp. Update comment.
8819 1.1 christos (svr4_relocate_main_executable): Return if non-zero SECTION_OFFSETS
8820 1.1 christos element exists. Return if svr4_exec_displacement was not successful.
8821 1.1 christos Update comment.
8822 1.1 christos
8823 1.1 christos 2010-03-10 Jan Kratochvil <jan.kratochvil (a] redhat.com>
8824 1.1 christos Daniel Jacobowitz <dan (a] codesourcery.com>
8825 1.1 christos
8826 1.1 christos * solib-svr4.c (read_program_header): Support type == -1 to read
8827 1.1 christos all program headers.
8828 1.1 christos (read_program_headers_from_bfd): New function.
8829 1.1 christos (svr4_static_exec_displacement): Remove and move the comment ...
8830 1.1 christos (svr4_exec_displacement): ... here. Remove variable found. New
8831 1.1 christos variable displacement. Check also DYNAMIC. Verify DISPLACEMENT
8832 1.1 christos alignment for ELF targets. Compare target vs. exec_bfd PHDRs for ELF
8833 1.1 christos targets using read_program_headers_from_bfd. Remove the call of
8834 1.1 christos svr4_static_exec_displacement.
8835 1.1 christos
8836 1.1 christos 2010-03-10 Tom Tromey <tromey (a] redhat.com>
8837 1.1 christos
8838 1.1 christos * dwarf2read.c (struct pubnames_header): Remove.
8839 1.1 christos (_PUBNAMES_HEADER): Remove.
8840 1.1 christos (_ACTUAL_PUBNAMES_HEADER_SIZE): Remove.
8841 1.1 christos (struct aranges_header): Remove.
8842 1.1 christos (_ARANGES_HEADER, _ACTUAL_ARANGES_HEADER_SIZE): Remove.
8843 1.1 christos (struct dwarf2_per_objfile) <pubnames, aranges>: Remove.
8844 1.1 christos (PUBNAMES_SECTION): Remove.
8845 1.1 christos (ARANGES_SECTION): Remove.
8846 1.1 christos (dwarf2_locate_sections): Don't handle pubnames or aranges.
8847 1.1 christos (dwarf2_build_psymtabs): Remove dead code.
8848 1.1 christos (dwarf2_build_psymtabs_easy): Remove.
8849 1.1 christos
8850 1.1 christos 2010-03-10 Tom Tromey <tromey (a] redhat.com>
8851 1.1 christos
8852 1.1 christos * elfread.c (elf_symfile_read): Don't call
8853 1.1 christos dwarf2_build_frame_info.
8854 1.1 christos * dwarf2read.c (struct dwarf2_section_info) <readin>: New field.
8855 1.1 christos (struct dwarf2_per_objfile) <objfile>: New field.
8856 1.1 christos (dwarf2_has_info): Now idempotent. Set objfile field.
8857 1.1 christos (dwarf2_read_section): Check and set readin field. Call
8858 1.1 christos posix_madvise.
8859 1.1 christos (dwarf2_build_psymtabs): Don't read all sections.
8860 1.1 christos (read_type_comp_unit_head): Read types section.
8861 1.1 christos (create_debug_types_hash_table): Likewise.
8862 1.1 christos (init_cu_die_reader): Add asserts.
8863 1.1 christos (process_type_comp_unit): Add assert.
8864 1.1 christos (dwarf2_build_psymtabs_hard): Read info section.
8865 1.1 christos (load_partial_comp_unit): Add assert.
8866 1.1 christos (create_all_comp_units): Read info section.
8867 1.1 christos (load_full_comp_unit): Likewise.
8868 1.1 christos (dwarf2_ranges_read): Read ranges section.
8869 1.1 christos (dwarf2_record_block_ranges): Add assert.
8870 1.1 christos (dwarf2_read_abbrevs): Read abbrev section.
8871 1.1 christos (read_indirect_string): Read str section.
8872 1.1 christos (dwarf_decode_line_header): Read line section.
8873 1.1 christos (read_signatured_type_at_offset): Read types section.
8874 1.1 christos (dwarf_decode_macros): Read macinfo section.
8875 1.1 christos (dwarf2_symbol_mark_computed): Read loc section.
8876 1.1 christos * dwarf2-frame.c (dwarf2_frame_find_fde): Call
8877 1.1 christos dwarf2_build_frame_info.
8878 1.1 christos (dwarf2_build_frame_info): Unconditionally set
8879 1.1 christos dwarf2_frame_objfile_data on the objfile.
8880 1.1 christos * configure.ac: Check for posix_madvise.
8881 1.1 christos * config.in, configure: Rebuild.
8882 1.1 christos
8883 1.1 christos 2010-03-10 Tom Tromey <tromey (a] redhat.com>
8884 1.1 christos
8885 1.1 christos * xcoffread.c (xcoff_start_psymtab): Update.
8886 1.1 christos (xcoff_end_psymtab): Update.
8887 1.1 christos * psymtab.c (allocate_psymtab): Remove dead code.
8888 1.1 christos * psympriv.h (struct partial_symtab) <read_symtab_private>: Now
8889 1.1 christos void*.
8890 1.1 christos * mdebugread.c (parse_partial_symbols): Update.
8891 1.1 christos (new_psymtab): Likewise.
8892 1.1 christos * dwarf2read.c (process_psymtab_comp_unit): Update.
8893 1.1 christos (psymtab_to_symtab_1): Update.
8894 1.1 christos * dbxread.c (start_psymtab): Update.
8895 1.1 christos (end_psymtab): Likewise.
8896 1.1 christos
8897 1.1 christos 2010-03-10 Tom Tromey <tromey (a] redhat.com>
8898 1.1 christos
8899 1.1 christos * xcoffread.c: Include psymtab.h.
8900 1.1 christos (xcoff_sym_fns): Update.
8901 1.1 christos * symtab.h (struct partial_symbol): Remove.
8902 1.1 christos (PSYMBOL_DOMAIN, PSYMBOL_CLASS): Remove.
8903 1.1 christos (struct partial_symtab): Remove.
8904 1.1 christos (PSYMTAB_TO_SYMTAB): Remove.
8905 1.1 christos (lookup_partial_symbol, lookup_partial_symtab, find_pc_psymtab)
8906 1.1 christos (find_pc_sect_psymtab): Remove.
8907 1.1 christos (find_pc_sect_symtab_via_partial): Declare.
8908 1.1 christos (find_pc_psymtab, find_pc_sect_psymbol, psymtab_to_symtab)
8909 1.1 christos (find_main_psymtab): Remove.
8910 1.1 christos (find_main_filename): Declare.
8911 1.1 christos (fixup_psymbol_section): Remove.
8912 1.1 christos (fixup_section): Declare.
8913 1.1 christos * symtab.c: Include psymtab.h.
8914 1.1 christos (lookup_symtab): Use lookup_symtab method.
8915 1.1 christos (lookup_partial_symtab): Remove.
8916 1.1 christos (find_pc_sect_psymtab_closer): Remove.
8917 1.1 christos (find_pc_sect_psymtab): Remove.
8918 1.1 christos (find_pc_sect_symtab_via_partial): New function.
8919 1.1 christos (find_pc_psymtab, find_pc_sect_psymbol, find_pc_psymbol): Remove.
8920 1.1 christos (fixup_section): No longer static.
8921 1.1 christos (fixup_psymbol_section): Remove.
8922 1.1 christos (lookup_symbol_aux): Use lookup_symbol_aux_quick.
8923 1.1 christos (lookup_global_symbol_from_objfile): Likewise.
8924 1.1 christos (lookup_symbol_aux_psymtabs): Remove.
8925 1.1 christos (lookup_symbol_aux_quick): New function.
8926 1.1 christos (lookup_symbol_global): Use lookup_symbol_aux_quick.
8927 1.1 christos (lookup_partial_symbol): Remove.
8928 1.1 christos (basic_lookup_transparent_type_quick): New function.
8929 1.1 christos (basic_lookup_transparent_type): Use it.
8930 1.1 christos (find_main_psymtab): Remove.
8931 1.1 christos (find_main_filename): New function.
8932 1.1 christos (find_pc_sect_symtab): Use find_pc_sect_symtab method.
8933 1.1 christos (find_line_symtab): Use expand_symtabs_with_filename method.
8934 1.1 christos (output_partial_symbol_filename): New function.
8935 1.1 christos (sources_info): Use map_partial_symbol_filenames.
8936 1.1 christos (struct search_symbols_data): New type.
8937 1.1 christos (search_symbols_file_matches): New function.
8938 1.1 christos (search_symbols_name_matches): Likewise.
8939 1.1 christos (search_symbols): Use expand_symtabs_matching method.
8940 1.1 christos (struct add_name_data): Rename from add_macro_name_data.
8941 1.1 christos (add_macro_name): Update.
8942 1.1 christos (add_partial_symbol_name): New function.
8943 1.1 christos (default_make_symbol_completion_list): Use
8944 1.1 christos map_partial_symbol_names.
8945 1.1 christos (struct add_partial_symbol_name): New type.
8946 1.1 christos (maybe_add_partial_symtab_filename): New function.
8947 1.1 christos (make_source_files_completion_list): Use
8948 1.1 christos map_partial_symbol_filenames.
8949 1.1 christos (expand_line_sal): Use expand_symtabs_with_filename method.
8950 1.1 christos * symmisc.c: Include psymtab.h.
8951 1.1 christos (print_objfile_statistics): Use print_stats method.
8952 1.1 christos (dump_objfile): Use dump method.
8953 1.1 christos (dump_psymtab, maintenance_print_psymbols)
8954 1.1 christos (maintenance_info_psymtabs, maintenance_check_symtabs)
8955 1.1 christos (extend_psymbol_list): Remove.
8956 1.1 christos * symfile.h (struct quick_symbol_functions): New struct.
8957 1.1 christos (struct sym_fns) <qf>: New field.
8958 1.1 christos (sort_pst_symbols): Remove.
8959 1.1 christos (increment_reading_symtab): Declare.
8960 1.1 christos * symfile.c: Include psymtab.h.
8961 1.1 christos (compare_psymbols, sort_pst_symbols): Remove.
8962 1.1 christos (psymtab_to_symtab): Remove.
8963 1.1 christos (increment_reading_symtab): New function.
8964 1.1 christos (symbol_file_add_with_addrs_or_offsets): Use expand_all_symtabs
8965 1.1 christos method.
8966 1.1 christos (set_initial_language): Use find_main_filename.
8967 1.1 christos (allocate_psymtab, discard_psymtab, cashier_psymtab): Remove.
8968 1.1 christos (free_named_symtabs): Remove unused code.
8969 1.1 christos (start_psymtab_common, add_psymbol_to_bcache)
8970 1.1 christos (append_psymbol_to_list, add_psymbol_to_list, init_psymbol_list):
8971 1.1 christos Remove.
8972 1.1 christos * stack.c: Include psymtab.h, symfile.h.
8973 1.1 christos (backtrace_command_1): Use find_pc_sect_symtab_via_partial.
8974 1.1 christos * source.h (psymtab_to_fullname): Don't declare.
8975 1.1 christos * source.c: Include psymtab.h.
8976 1.1 christos (select_source_symtab): Use find_last_source_symtab method.
8977 1.1 christos (forget_cached_source_info): Use forget_cached_source_info
8978 1.1 christos method.
8979 1.1 christos (find_and_open_source): No longer static.
8980 1.1 christos (psymtab_to_fullname): Remove.
8981 1.1 christos * somread.c: Include psymtab.h.
8982 1.1 christos (som_sym_fns): Update.
8983 1.1 christos * psympriv.h: New file.
8984 1.1 christos * psymtab.h: New file.
8985 1.1 christos * psymtab.c: New file.
8986 1.1 christos * objfiles.h: (ALL_OBJFILE_PSYMTABS): Remove.
8987 1.1 christos (ALL_PSYMTABS, ALL_PSPACE_PSYMTABS): Likewise.
8988 1.1 christos * objfiles.c: Include psymtab.h.
8989 1.1 christos (objfile_relocate1): Use relocate method.
8990 1.1 christos (objfile_has_partial_symbols): Use has_symbols method.
8991 1.1 christos * mipsread.c: Include psymtab.h.
8992 1.1 christos (ecoff_sym_fns): Update.
8993 1.1 christos * mi/mi-cmd-file.c: Include psymtab.h.
8994 1.1 christos (print_partial_file_name): New function.
8995 1.1 christos (mi_cmd_file_list_exec_source_files): Use
8996 1.1 christos map_partial_symbol_filenames.
8997 1.1 christos * mdebugread.c: Include psympriv.h.
8998 1.1 christos * machoread.c: Include psympriv.h.
8999 1.1 christos (macho_sym_fns): Update.
9000 1.1 christos * m2-exp.y (yylex): Use lookup_symtab.
9001 1.1 christos * elfread.c: Include psympriv.h.
9002 1.1 christos (elf_sym_fns): Update.
9003 1.1 christos * dwarf2read.c: Include psympriv.h.
9004 1.1 christos * dbxread.c: Include psympriv.h.
9005 1.1 christos (aout_sym_fns): Update.
9006 1.1 christos * cp-support.c: Include psymtab.h.
9007 1.1 christos (read_in_psymtabs): Remove.
9008 1.1 christos (make_symbol_overload_list_qualified): Use
9009 1.1 christos expand_symtabs_for_function method.
9010 1.1 christos * coffread.c: Include psympriv.h.
9011 1.1 christos (coff_sym_fns): Update.
9012 1.1 christos * blockframe.c: Include psymtab.h.
9013 1.1 christos (find_pc_partial_function): Use find_pc_sect_symtab method.
9014 1.1 christos * ada-lang.h (ada_update_initial_language): Update.
9015 1.1 christos * ada-lang.c: Include psymtab.h.
9016 1.1 christos (ada_update_initial_language): Remove 'main_pst' argument.
9017 1.1 christos (ada_lookup_partial_symbol): Remove.
9018 1.1 christos (struct ada_psym_data): New type.
9019 1.1 christos (ada_add_psyms): New function.
9020 1.1 christos (ada_add_non_local_symbols): Use map_ada_symtabs method.
9021 1.1 christos (struct add_partial_datum): New type.
9022 1.1 christos (ada_add_partial_symbol_completions): New function.
9023 1.1 christos (ada_make_symbol_completion_list): Use map_partial_symbol_names.
9024 1.1 christos (ada_exception_support_info_sniffer): Update.
9025 1.1 christos * Makefile.in (SFILES): Add psymtab.c.
9026 1.1 christos (COMMON_OBS): Add psymtab.o.
9027 1.1 christos (HFILES_NO_SRCDIR): Add psymtab.h, psympriv.h.
9028 1.1 christos
9029 1.1 christos 2010-03-10 Pierre Muller <muller (a] ics.u-strasbg.fr>
9030 1.1 christos
9031 1.1 christos * remote-fileio.c (cygwin_conv_path): Define macro for old cygwin API.
9032 1.1 christos
9033 1.1 christos 2010-03-10 Sami Wagiaalla <swagiaal (a] redhat.com>
9034 1.1 christos
9035 1.1 christos PR C++/11236:
9036 1.1 christos * cp-namespace.c (cp_add_using): Deleted.
9037 1.1 christos (cp_add_using_directive): Use obstack allocations.
9038 1.1 christos Merged the function cp_add_using into this one.
9039 1.1 christos Added 'struct obstack *' argument.
9040 1.1 christos (cp_scan_for_anonymous_namespaces): Updated.
9041 1.1 christos * cp-support.h: Updated.
9042 1.1 christos * dwarf2read.c (read_import_statement): Updated.
9043 1.1 christos (read_namespace): Updated.
9044 1.1 christos
9045 1.1 christos 2010-03-10 Pierre Muller <muller (a] ics.u-strasbg.fr>
9046 1.1 christos
9047 1.1 christos * windows-nat.c (cygwin_conv_path): Remove old macro.
9048 1.1 christos
9049 1.1 christos 2010-03-10 Pedro Alves <pedro (a] codesourcery.com>
9050 1.1 christos
9051 1.1 christos * breakpoint.c (condition_command): Handle watchpoint conditions.
9052 1.1 christos (is_hardware_watchpoint): Add comment.
9053 1.1 christos (is_watchpoint): New.
9054 1.1 christos (update_watchpoint): Don't reparse the watchpoint's condition
9055 1.1 christos unless necessary.
9056 1.1 christos (WP_IGNORE): New.
9057 1.1 christos (watchpoint_check): Use it.
9058 1.1 christos (bpstat_check_watchpoint): Handle it.
9059 1.1 christos (bpstat_check_breakpoint_conditions): Evaluate watchpoint local
9060 1.1 christos conditions in a frame where it makes sense.
9061 1.1 christos (watch_command_1): Store the innermost block of the condition
9062 1.1 christos expression.
9063 1.1 christos (delete_breakpoint): Delete the watchpoint condition expression.
9064 1.1 christos * breakpoint.h (struct bp_location) <cond>: Update comment.
9065 1.1 christos (struct breakpoint): New field `cond_exp_valid_block'.
9066 1.1 christos
9067 1.1 christos 2010-03-09 Joel Brobecker <brobecker (a] adacore.com>
9068 1.1 christos
9069 1.1 christos Adjust handling of Ada DIEs after dwarf2_physname patch.
9070 1.1 christos * dwarf2read.c (dwarf2_compute_name): Add handling of Ada DIEs.
9071 1.1 christos
9072 1.1 christos 2010-03-09 Christopher Faylor <me+cygwin (a] cgf.cx>
9073 1.1 christos Pierre Muller <muller (a] ics.u-strasbg.fr>
9074 1.1 christos
9075 1.1 christos * windows-nat.c (cygwin_conv_path): Redefine to properly convert
9076 1.1 christos from/to posix/win32.
9077 1.1 christos (windows_make_so): Use non-Cygwin 1.7 specific function.
9078 1.1 christos (windows_create_inferior): Make sure that cygallargs points to
9079 1.1 christos original args in non Cygwin 1.7. case.
9080 1.1 christos
9081 1.1 christos 2010-03-09 Michael Snyder <msnyder (a] vmware.com>
9082 1.1 christos
9083 1.1 christos * i386-tdep.c (i386_record_lea_modrm_addr): Use extract_signed_int
9084 1.1 christos after target_read_memory to get host byte order.
9085 1.1 christos (i386_process_record): Ditto.
9086 1.1 christos
9087 1.1 christos 2010-03-09 Keith Seitz <keiths (a] redhat.com>
9088 1.1 christos
9089 1.1 christos Based on work from Daniel Jacobowitz <dan (a] codesourcery.com>
9090 1.1 christos * c-typeprint.c (cp_type_print_method_args): For non-static methods,
9091 1.1 christos print out const or volatile qualifiers, too.
9092 1.1 christos (c_type_print_args): Add parameters show_artificial and language.
9093 1.1 christos Skip artificial parameters when requested.
9094 1.1 christos Use the appropriate language printer.
9095 1.1 christos (c_type_print_varspec): Tell c_type_print_args to skip artificial
9096 1.1 christos parameters and pass language_c.
9097 1.1 christos * dwarf2read.c (die_list): New file global.
9098 1.1 christos (struct partial_die_info): Update comments for name field.
9099 1.1 christos (pdi_needs_namespace): Renamed to ...
9100 1.1 christos (die_needs_namespace): ... this. Rewrite.
9101 1.1 christos (dwarf2_linkage_name): Remove.
9102 1.1 christos (add_partial_symbol): Do not predicate the call to
9103 1.1 christos partial_die_full_name based on pdi_needs_namespace.
9104 1.1 christos Remove call to cp_check_possible_namespace_symbols and associated
9105 1.1 christos outdated comments.
9106 1.1 christos (guess_structure_name): Do not inspect child subprogram DIEs.
9107 1.1 christos (dwarf2_fullname): Update comments.
9108 1.1 christos Use die_needs_namespace to assist in computing the name.
9109 1.1 christos (read_func_scope): Use dwarf2_name to get the DIE's name.
9110 1.1 christos Use dwarf2_physname to get the "linkage name" of the DIE.
9111 1.1 christos (dwarf2_add_member_field): Use dwarf2_physname instead of
9112 1.1 christos dwarf2_linkage_name.
9113 1.1 christos (read_structure_type): For structs and classes, set TYPE_NAME, too.
9114 1.1 christos (determine_class): Remove.
9115 1.1 christos (read_partial_die): Ignore DW_AT_MIPS_linkage_name for all languages
9116 1.1 christos except Ada.
9117 1.1 christos (new_symbol): Unconditionally call dwarf2_name.
9118 1.1 christos Compute the "linkage name" using dwarf2_physname.
9119 1.1 christos Use dwarf2_name instead of dwarf2_full_name for enumerator DIEs.
9120 1.1 christos When determining to scan for anonymous C++ namespaces, ignore
9121 1.1 christos the linkage name.
9122 1.1 christos (dwarf2_physname): New function.
9123 1.1 christos (dwarf2_full_name): Move content to new function and call
9124 1.1 christos that.
9125 1.1 christos (dwarf2_compute_name): "New" function.
9126 1.1 christos (_initialize_dwarf2_read): Initialize die_list.
9127 1.1 christos * gnu-v3-eabi.c (gnu_v3_find_method_in): Remove unused variable
9128 1.1 christos physname.
9129 1.1 christos (gnu_v3_print_method_ptr): Use the physname for virtual methods
9130 1.1 christos without a demangled name.
9131 1.1 christos Print out type information for non-virtual methods.
9132 1.1 christos * linespec.c (decode_line_1): Force ANY string using "::" (or
9133 1.1 christos "." for java) to use decode_compound, and clean up any stray quoting.
9134 1.1 christos If we found a file symtab, re-evaluate whether the remainder is_quoted.
9135 1.1 christos (decode_compound): Stop consuming at an open parenthesis.
9136 1.1 christos Keep template parameters.
9137 1.1 christos Keep any overload information.
9138 1.1 christos Keep keywords like "const".
9139 1.1 christos Remove paren_pointer.
9140 1.1 christos Move is_quoted check from set_flags to here.
9141 1.1 christos Remove #if 0 code from 2000. Ten years is long enough.
9142 1.1 christos (find_method): Before comparing symbol names, canonicalize the string
9143 1.1 christos from the user.
9144 1.1 christos If a specific overload is requested, find it. Otherwise throw an error.
9145 1.1 christos (find_method_overload_end): New function.
9146 1.1 christos (set_flags): Remove.
9147 1.1 christos (decode_compound): Assume that parentheses are matched.
9148 1.1 christos It's a lot easier.
9149 1.1 christos * symtab.c (symbol_find_demangled_name): Add DMGL_VERBOSE flag
9150 1.1 christos to cplus_demangle.
9151 1.1 christos * linespec.c (decode_line_1): Keep important keywords like
9152 1.1 christos "const" and "volatile".
9153 1.1 christos * symtab.h (SYMBOL_CPLUS_DEMANGLED_NAME): Remove.
9154 1.1 christos * typeprint.h (c_type_print_args): Add declaration.
9155 1.1 christos * ui-file.c (do_ui_file_obsavestring): New function.
9156 1.1 christos (ui_file_obsavestring): New function.
9157 1.1 christos * ui-file.h (ui_file_obsavestring): Add declaration.
9158 1.1 christos * valops.c (find_overload_match): Resolve the object to
9159 1.1 christos a non-pointer type.
9160 1.1 christos If the object is a data member, search the object for the member
9161 1.1 christos and return with staticp set.
9162 1.1 christos Use SYMBOL_NATURAL_NAME instead of SYMBOL_CPLUS_DEMANGLED_NAME.
9163 1.1 christos Do not attempt to extract a function name from non-function types.
9164 1.1 christos If the extracted function name and the original name are the same,
9165 1.1 christos we don't have a C++ method.
9166 1.1 christos
9167 1.1 christos From Jan Kratochvil <jan.kratochvil (a] redhat.com>:
9168 1.1 christos * dwarf2read.c (new_symbol <DW_TAG_enumerator>): Call dwarf2_full_name.
9169 1.1 christos
9170 1.1 christos * ada-lang.c (ada_lookup_symbol): Remove linkage_name parameters
9171 1.1 christos and arguments from symbol lookups.
9172 1.1 christos * ax-gdb.c (gen_expr): Likewise.
9173 1.1 christos * cp-namespace.c (cp_lookup_symbol_nonlocal, lookup_namespace_scope,
9174 1.1 christos cp_lookup_symbol_namespace, lookup_symbol_file, lookup_nested_type,
9175 1.1 christos lookup_possible_namespace_symbol): Likewise.
9176 1.1 christos * cp-support.c (read_in_psymtabs): Likewise.
9177 1.1 christos * cp-support.h (cp_lookup_symbol_nonlocal): Likewise.
9178 1.1 christos * language.h (la_lookup_symbol_nonlocal): Likewise.
9179 1.1 christos * scm-valprint.c (scm_inferior_print): Likewise.
9180 1.1 christos * solib-darwin.c (darwin_relocate_section_addresses): Likewise.
9181 1.1 christos * solib-svr.c (elf_lookup_lib): Likewise.
9182 1.1 christos * solib.c (show_auto_solib_add): Likewise.
9183 1.1 christos * solist.h (lookup_lib_global, solib_global_lookup): Likewise.
9184 1.1 christos * symmisc.c (maintenance_check_symtabs): Likewise.
9185 1.1 christos * symtab.c (lookup_symbol_in_language, lookup_symbol_aux,
9186 1.1 christos lookup_symbol_aux_local, lookup_symbol_aux_block,
9187 1.1 christos lookup_symbol_from_objfile, lookup_symbol_aux_symtabs,
9188 1.1 christos lookup_symbol_aux_psymtabs,basic_lookup_symbol_nonlocal,
9189 1.1 christos lookup_symbol_static, lookup_symbol_global, symbol_matches_domain,
9190 1.1 christos basic_lookup_transparent_type, find_main_psymtab,
9191 1.1 christos lookup_block_symbol): Likewise.
9192 1.1 christos * symtab.h (basic_lookp_symbol_nonlocal, lookup_symbol_static,
9193 1.1 christos lookup_symbol_global, lookup_symbol_aux_block,
9194 1.1 christos lookup_symbol_partial_symbol, lookup_block_symbol,
9195 1.1 christos lookup_global_symbol, value_maybe_namespace_elt): Likewise.
9196 1.1 christos
9197 1.1 christos 2010-03-09 Pierre Muller <muller (a] ics.u-strasbg.fr>
9198 1.1 christos
9199 1.1 christos * python/python-internal.h: Include symtab.h.
9200 1.1 christos
9201 1.1 christos 2010-03-09 Joel Brobecker <brobecker (a] adacore.com>
9202 1.1 christos Pierre Muller <muller (a] ics.u-strasbg.fr>
9203 1.1 christos
9204 1.1 christos * p-lang.c (is_pascal_string_type): Remove unneeded parentheses.
9205 1.1 christos * p-valprint.c (pascal_val_print): Remove undeed block and fix
9206 1.1 christos indentation.
9207 1.1 christos
9208 1.1 christos 2010-03-08 Tom Tromey <tromey (a] redhat.com>
9209 1.1 christos
9210 1.1 christos * breakpoint.c (breakpoint_1): Add "QUIT".
9211 1.1 christos
9212 1.1 christos 2010-03-08 Daniel Jacobowitz <dan (a] codesourcery.com>
9213 1.1 christos Pedro Alves <pedro (a] codesourcery.com>
9214 1.1 christos
9215 1.1 christos * solib.c (solib_find): Replace extension if
9216 1.1 christos solib_symbols_extension is set in the target gdbarch.
9217 1.1 christos * arm-symbian-tdep.c (arm_symbian_init_abi): Set
9218 1.1 christos solib_symbols_extension to "sym".
9219 1.1 christos * gdbarch.sh (solib_symbols_extension): New variable.
9220 1.1 christos (pstring): New function.
9221 1.1 christos * gdbarch.h, gdbarch.c: Regenerate.
9222 1.1 christos
9223 1.1 christos 2010-03-08 Tom Tromey <tromey (a] redhat.com>
9224 1.1 christos
9225 1.1 christos PR cli/9591:
9226 1.1 christos * NEWS: Update.
9227 1.1 christos * utils.c: Include main.h.
9228 1.1 christos (fputs_maybe_filtered): Don't paginate if `batch_flag'.
9229 1.1 christos (defaulted_query): Use default answer if `batch_flag'.
9230 1.1 christos * main.h (batch_flag): Declare.
9231 1.1 christos * main.c (batch_flag): New global.
9232 1.1 christos (captured_main): Remove 'batch'. Update.
9233 1.1 christos
9234 1.1 christos 2010-03-08 Kevin Buettner <kevinb (a] redhat.com>
9235 1.1 christos
9236 1.1 christos From Richard Sandiford, Martin M. Hunt, Corinna Vinschen,
9237 1.1 christos and Kevin Buettner:
9238 1.1 christos
9239 1.1 christos * remote-mips.c (rockhopper_ops): New target_ops struct.
9240 1.1 christos (MON_ROCKHOPPER): New mips_monitor_type.
9241 1.1 christos (read_hex_value): New function.
9242 1.1 christos (mips_request): Send 8-byte values with a 'T' packet. Read the
9243 1.1 christos packet argument as a string and use read_hex_value to parse it.
9244 1.1 christos (mips_exit_debug): Wait for response when using MON_ROCKHOPPER.
9245 1.1 christos (rockhopper_open): New function.
9246 1.1 christos (mips_wait): Read the PC, FP and SP fields as strings. Use
9247 1.1 christos read_hex_value to parse them and mips_set_register to commit them.
9248 1.1 christos (mips_set_register): New function.
9249 1.1 christos (mips_fetch_registers): Do not cast register value to "unsigned"
9250 1.1 christos when reading a MON_ROCKHOPPER 't' packet. Use mips_set_register.
9251 1.1 christos (mips_store_registers): Use a 'T' packet to set registers when
9252 1.1 christos using MON_ROCKHOPPER.
9253 1.1 christos (pmon_end_download): Don't run initEther if using MON_ROCKHOPPER
9254 1.1 christos and expect the total to be printed before the entry address.
9255 1.1 christos (_initialize_remote_mips): Initialize and add rockhopper_ops.
9256 1.1 christos
9257 1.1 christos 2010-03-08 Kevin Buettner <kevinb (a] redhat.com>
9258 1.1 christos
9259 1.1 christos * remote-mips.c (mips_fetch_word): Add new parameter, `valp'.
9260 1.1 christos Change return value to int. Store value fetched in location
9261 1.1 christos addressed by `val'. Use function's return value as success
9262 1.1 christos or failure indicator. Adjust all callers.
9263 1.1 christos
9264 1.1 christos 2010-03-08 Pierre Muller <muller (a] ics.u-strasbg.fr>
9265 1.1 christos
9266 1.1 christos * p-lang.c (is_pascal_string_type): Check that TYPE arg is non NULL.
9267 1.1 christos
9268 1.1 christos 2010-03-08 Jan Kratochvil <jan.kratochvil (a] redhat.com>
9269 1.1 christos Hui Zhu <teawater (a] gmail.com>
9270 1.1 christos
9271 1.1 christos * record.c (record_open_1): Check tmp_to_stopped_by_watchpoint and
9272 1.1 christos tmp_to_stopped_data_address.
9273 1.1 christos (record_open): Reset tmp_to_stopped_by_watchpoint and
9274 1.1 christos tmp_to_stopped_data_address.
9275 1.1 christos * target.c (init_dummy_target): Add to_stopped_by_watchpoint and
9276 1.1 christos to_stopped_data_address.
9277 1.1 christos
9278 1.1 christos 2010-03-08 Hui Zhu <teawater (a] gmail.com>
9279 1.1 christos
9280 1.1 christos * i386-tdep.c (i386_process_record): Initialize regnum.
9281 1.1 christos
9282 1.1 christos 2010-03-08 Jan Kratochvil <jan.kratochvil (a] redhat.com>
9283 1.1 christos
9284 1.1 christos * symfile.c (addr_info_make_relative): New variable sect_name, use it.
9285 1.1 christos Do not warn on ".gnu.liblist" and ".gnu.conflict".
9286 1.1 christos
9287 1.1 christos 2010-03-08 Joel Brobecker <brobecker (a] adacore.com>
9288 1.1 christos
9289 1.1 christos Memory error when reading wrong core file.
9290 1.1 christos * solib-svr4.c (solib_svr4_r_map): catch and print all exception
9291 1.1 christos errors while reading the inferior memory, and return zero if
9292 1.1 christos an exception was raised.
9293 1.1 christos
9294 1.1 christos 2010-03-07 Michael Snyder <msnyder (a] vmware.com>
9295 1.1 christos
9296 1.1 christos * record.c (record_restore): Rename tmpu8 to rectype.
9297 1.1 christos
9298 1.1 christos * i386-tdep.c (i386_record_lea_modrm_addr): Rename local variables
9299 1.1 christos tmpu8, tmpi16, tmpi32, tmpulongest to addr8, addr16, addr32, addr64.
9300 1.1 christos
9301 1.1 christos (i386_record_push): Rename local tmpulongest to addr.
9302 1.1 christos
9303 1.1 christos (i386_process_record): Rename local tmpulongest to addr.
9304 1.1 christos
9305 1.1 christos Rename local variables tmpu16, tmpu32, tmpu64 to addr16, addr32,
9306 1.1 christos addr64.
9307 1.1 christos
9308 1.1 christos Rename local variable tmpu8 to opcode8 and regnum.
9309 1.1 christos
9310 1.1 christos 2010-03-07 Joel Brobecker <brobecker (a] adacore.com>
9311 1.1 christos
9312 1.1 christos * remote.c (remote_get_ada_task_ptid): New function.
9313 1.1 christos (init_remote_ops): Set remote_ops.to_get_ada_task_ptid.
9314 1.1 christos
9315 1.1 christos 2010-03-06 Christopher Faylor <me+cygwin (a] cgf.cx>
9316 1.1 christos
9317 1.1 christos * windows-nat.c: Reorganize #ifdef __CYGWIN__ considerations into one
9318 1.1 christos block. Define helper macros to reduce ifdefs in code.
9319 1.1 christos (get_module_name): Use cygwin_buf_t for buffer and __PMAX for buffer
9320 1.1 christos size. Call unadorned GetModuleFileNameEx rather than
9321 1.1 christos GetModuleFileNameEx*.
9322 1.1 christos (windows_make_so): Use __PMAX to denote maximum buffer size and
9323 1.1 christos cygwin_buf_t for buffer type. Use GetSystemDirectory{W,A} as
9324 1.1 christos appropriate.
9325 1.1 christos (get_image_name): Use __PMAX to denote maximum buffer size.
9326 1.1 christos (handle_load_dll): Likewise.
9327 1.1 christos (windows_pid_to_exec_file): Likewise.
9328 1.1 christos (windows_create_inferior): Add many accommodations for older Cygwin and
9329 1.1 christos non-Cygwin.
9330 1.1 christos (bad_GetModuleFileNameExW): Control inclusion of this function based on
9331 1.1 christos __USEWIDE conditional.
9332 1.1 christos (bad_GetModuleFileNameExA): Likewise.
9333 1.1 christos (_initialize_loadable): Just use real function names without the dyn_
9334 1.1 christos part since they are defined earlier.
9335 1.1 christos
9336 1.1 christos 2010-03-05 Corinna Vinschen <vinschen (a] redhat.com>
9337 1.1 christos Tom Tromey <tromey (a] redhat.com>
9338 1.1 christos
9339 1.1 christos * utils.c (host_char_to_target): Add 'gdbarch' argument.
9340 1.1 christos (parse_escape): Likewise.
9341 1.1 christos * python/py-utils.c (unicode_to_target_string): Update.
9342 1.1 christos (unicode_to_target_python_string): Update.
9343 1.1 christos (target_string_to_unicode): Update.
9344 1.1 christos * printcmd.c (printf_command): Update.
9345 1.1 christos * p-exp.y (yylex): Update.
9346 1.1 christos * objc-exp.y (yylex): Update.
9347 1.1 christos * mi/mi-parse.c: Include charset.h.
9348 1.1 christos (mi_parse_escape): New function.
9349 1.1 christos (mi_parse_argv): Use it.
9350 1.1 christos * jv-exp.y (yylex): Update.
9351 1.1 christos * i386-cygwin-tdep.c (i386_cygwin_auto_wide_charset): New
9352 1.1 christos function.
9353 1.1 christos (i386_cygwin_init_abi): Call set_gdbarch_auto_wide_charset.
9354 1.1 christos * gdbarch.sh (auto_charset, auto_wide_charset): New.
9355 1.1 christos * gdbarch.c: Rebuild.
9356 1.1 christos * gdbarch.h: Rebuild.
9357 1.1 christos * defs.h (parse_escape): Update.
9358 1.1 christos * cli/cli-setshow.c: Include arch-utils.h.
9359 1.1 christos (do_setshow_command): Update.
9360 1.1 christos * cli/cli-cmds.c (echo_command): Update.
9361 1.1 christos * charset.h (target_charset, target_wide_charset): Update.
9362 1.1 christos * charset.c: Include arch-utils.h.
9363 1.1 christos (target_charset_name): Default to "auto".
9364 1.1 christos (target_wide_charset_name): Likewise.
9365 1.1 christos (show_target_charset_name): Handle "auto".
9366 1.1 christos (show_target_wide_charset_name): Likewise.
9367 1.1 christos (be_le_arch): New global.
9368 1.1 christos (set_be_le_names): Add 'gdbarch' argument.
9369 1.1 christos (validate): Likewise. Don't call set_be_le_names.
9370 1.1 christos (set_charset_sfunc, set_host_charset_sfunc)
9371 1.1 christos (set_target_charset_sfunc, set_target_wide_charset_sfunc):
9372 1.1 christos Update.
9373 1.1 christos (target_charset): Add 'gdbarch' argument.
9374 1.1 christos (target_wide_charset): Likewise. Remove 'byte_order' argument.
9375 1.1 christos (auto_target_charset_name): New global.
9376 1.1 christos (default_auto_charset, default_auto_wide_charset): New functions.
9377 1.1 christos (_initialize_charset): Set auto_target_charset_name. Allow "auto"
9378 1.1 christos for target charsets. Copy result of nl_langinfo. Use GetACP if
9379 1.1 christos USE_WIN32API.
9380 1.1 christos * c-lang.c (charset_for_string_type): Add 'gdbarch' argument,
9381 1.1 christos remove 'byte_order' argument. Update.
9382 1.1 christos (classify_type): Likewise.
9383 1.1 christos (c_emit_char): Update.
9384 1.1 christos (c_printchar): Update.
9385 1.1 christos (c_printstr): Update.
9386 1.1 christos (c_get_string): Update.
9387 1.1 christos (evaluate_subexp_c): Update.
9388 1.1 christos * arch-utils.h (default_auto_charset, default_auto_wide_charset):
9389 1.1 christos Declare.
9390 1.1 christos * python/python.c (gdbpy_target_charset): New function.
9391 1.1 christos (gdbpy_target_wide_charset): Likewise.
9392 1.1 christos (GdbMethods): Update.
9393 1.1 christos * NEWS: Update.
9394 1.1 christos
9395 1.1 christos 2010-03-05 Ulrich Weigand <uweigand (a] de.ibm.com>
9396 1.1 christos
9397 1.1 christos * symfile.c (build_section_addr_info_from_objfile): Do not mask
9398 1.1 christos off high address bits.
9399 1.1 christos
9400 1.1 christos 2010-03-05 Ulrich Weigand <uweigand (a] de.ibm.com>
9401 1.1 christos
9402 1.1 christos * python/py-lazy-string.c (gdbpy_extract_lazy_string): Extract
9403 1.1 christos address as UnsignedLongLong, not LongLong.
9404 1.1 christos
9405 1.1 christos 2010-03-05 Kevin Buettner <kevinb (a] redhat.com>
9406 1.1 christos Pedro Alves <pedro (a] codesourcery.com>
9407 1.1 christos
9408 1.1 christos * remote-mips.c (gdbthread.h): Include.
9409 1.1 christos (remote_mips_ptid): Declare.
9410 1.1 christos (mips_error): Only mourn the inferior when inferior_ptid is non-null.
9411 1.1 christos (common_open): Set inferior_ptid, add it as an inferior, and
9412 1.1 christos as a thread too. Delete FIXME comment regarding start_remote().
9413 1.1 christos (mips_close): Invoke generic_mourn_inferior().
9414 1.1 christos (mips_kill): Make sure that target_mourn_inferior is invoked.
9415 1.1 christos (mips_mourn_inferior): Don't invoke generic_mourn_inferior, as
9416 1.1 christos it's now invoked from mips_close().
9417 1.1 christos (mips_load): Don't null out inferior_ptid. Don't call
9418 1.1 christos clear_symtab_users().
9419 1.1 christos (mips_thread_alive, mips_pid_to_str): New functions.
9420 1.1 christos (_initialize_remote_mips): Initialize remote_mips_ptid. Initialize
9421 1.1 christos to_thread_alive and to_pid_to_str operations.
9422 1.1 christos
9423 1.1 christos 2010-03-04 Tom Tromey <tromey (a] redhat.com>
9424 1.1 christos
9425 1.1 christos * dwarf2read.c (skip_one_die) <DW_FORM_ref_addr>: Use offset size
9426 1.1 christos in DWARF 3 and later.
9427 1.1 christos (read_attribute_value) <DW_FORM_ref_addr>: Likewise.
9428 1.1 christos
9429 1.1 christos 2010-03-04 Keith Seitz <keiths (a] redhat.com>
9430 1.1 christos
9431 1.1 christos * linespec.c (decode_line_1): Update comments for is_quote_enclosed.
9432 1.1 christos If the filename portion of the linespec was quoted, recheck the
9433 1.1 christos remainder for additional quoting.
9434 1.1 christos (locate_first_half): Skip over completer chars, too.
9435 1.1 christos
9436 1.1 christos 2010-03-04 Tom Tromey <tromey (a] redhat.com>
9437 1.1 christos
9438 1.1 christos * printcmd.c (printf_command): Pass dummy argument to
9439 1.1 christos printf_filtered.
9440 1.1 christos
9441 1.1 christos 2010-03-04 Doug Evans <dje (a] google.com>
9442 1.1 christos
9443 1.1 christos * arm-tdep.c (arm_make_stub_cache): Delete unused locals reg,
9444 1.1 christos unwound_fp.
9445 1.1 christos
9446 1.1 christos * arm-tdep.c (arm_stub_unwind_sniffer): Add comment.
9447 1.1 christos
9448 1.1 christos 2010-03-04 Pedro Alves <pedro (a] codesourcery.com>
9449 1.1 christos
9450 1.1 christos * breakpoint.c (update_watchpoint): Create a sentinel location if
9451 1.1 christos the software watchpoint isn't watching any memory.
9452 1.1 christos (breakpoint_address_bits): Skip dummy software watchpoint locations.
9453 1.1 christos
9454 1.1 christos 2010-03-04 Pedro Alves <pedro (a] codesourcery.com>
9455 1.1 christos
9456 1.1 christos * utils.c (fputs_maybe_filtered): Check if there's already a top
9457 1.1 christos level interpreter before dereferencing it. If there isn't one,
9458 1.1 christos don't paginate either.
9459 1.1 christos
9460 1.1 christos 2010-03-04 Matthew Gretton-Dann <matthew.gretton-dann (a] arm.com>
9461 1.1 christos
9462 1.1 christos * arm-tdep.c (arm_pc_is_thumb): Add heuristic that tries to get
9463 1.1 christos the state right when single stepping.
9464 1.1 christos (arm_get_next_pc_raw, thumb_get_next_pc_raw): New functions.
9465 1.1 christos Get the next PC along with the instruction state.
9466 1.1 christos (thumb_get_next_pc): Remove.
9467 1.1 christos (arm_get_next_pc): Modified to use arm_get_next_pc_raw.
9468 1.1 christos
9469 1.1 christos 2010-03-04 Hui Zhu <teawater (a] gmail.com>
9470 1.1 christos
9471 1.1 christos * i386-tdep.c (i386_process_record): Change "addr" to "tmpu64".
9472 1.1 christos
9473 1.1 christos 2010-03-03 Pedro Alves <pedro (a] codesourcery.com>
9474 1.1 christos
9475 1.1 christos * utils.c (fputs_maybe_filtered): Always disable pagination if the
9476 1.1 christos top level interpreter is MI.
9477 1.1 christos
9478 1.1 christos 2010-03-03 Stan Shebs <stan (a] codesourcery.com>
9479 1.1 christos
9480 1.1 christos * remote.c (remote_download_tracepoint): Iterate over locations.
9481 1.1 christos * tracepoint.c (validate_actionline): Ditto.
9482 1.1 christos (encode_actions): Add location argument.
9483 1.1 christos (trace_dump_command): Check all locations to see if stepping
9484 1.1 christos frame.
9485 1.1 christos
9486 1.1 christos 2010-03-03 H.J. Lu <hongjiu.lu (a] intel.com>
9487 1.1 christos Eli Zaretskii <eliz (a] gnu.org>
9488 1.1 christos
9489 1.1 christos * NEWS: Add X86 general purpose registers section.
9490 1.1 christos
9491 1.1 christos 2010-03-03 Tom Tromey <tromey (a] redhat.com>
9492 1.1 christos
9493 1.1 christos PR mi/11098:
9494 1.1 christos * varobj.c (install_new_value): Handle case where new print_value
9495 1.1 christos is NULL.
9496 1.1 christos
9497 1.1 christos 2010-03-03 Dainis Jonitis <jonitis (a] gmail.com>
9498 1.1 christos
9499 1.1 christos PR gdb/11345:
9500 1.1 christos * printcmd.c (printf_command): Print end of format string using
9501 1.1 christos printf_filtered.
9502 1.1 christos
9503 1.1 christos 2010-03-02 Tom Tromey <tromey (a] redhat.com>
9504 1.1 christos
9505 1.1 christos * mi/mi-cmd-break.c (mi_read_next_line): Add missing 'void'.
9506 1.1 christos * defs.h (read_command_lines_1): Add missing 'void'.
9507 1.1 christos * cli/cli-script.c (recurse_read_control_structure): Add missing
9508 1.1 christos 'void'.
9509 1.1 christos (read_next_line): Likewise.
9510 1.1 christos (read_command_lines_1): Likewise.
9511 1.1 christos
9512 1.1 christos 2010-03-02 Ulrich Weigand <uweigand (a] de.ibm.com>
9513 1.1 christos
9514 1.1 christos * spu-tdep.c (spu_analyze_prologue): Track instruction to
9515 1.1 christos store backchain as part of prologue.
9516 1.1 christos
9517 1.1 christos 2010-03-02 Daniel Jacobowitz <dan (a] codesourcery.com>
9518 1.1 christos
9519 1.1 christos * progspace.c (update_address_spaces): Update inferior address spaces
9520 1.1 christos also.
9521 1.1 christos
9522 1.1 christos 2010-03-02 Doug Evans <dje (a] google.com>
9523 1.1 christos
9524 1.1 christos * dwarf2read.c (add_partial_subprogram): Add missing baseaddr to
9525 1.1 christos lowpc,highpc args to addrmap_set_empty.
9526 1.1 christos
9527 1.1 christos 2010-03-02 H.J. Lu <hongjiu.lu (a] intel.com>
9528 1.1 christos
9529 1.1 christos * amd64-tdep.c (amd64_byte_names): New.
9530 1.1 christos (amd64_word_names): Likewise.
9531 1.1 christos (amd64_dword_names): Likewise.
9532 1.1 christos (amd64_pseudo_register_name): Likewise.
9533 1.1 christos (amd64_pseudo_register_read): Likewise.
9534 1.1 christos (amd64_pseudo_register_write): Likewise.
9535 1.1 christos (amd64_init_abi): Set num_byte_regs, num_word_regs, num_dword_regs
9536 1.1 christos and num_mmx_regs. Call set_gdbarch_pseudo_register_read,
9537 1.1 christos set_gdbarch_pseudo_register_write and
9538 1.1 christos set_tdesc_pseudo_register_name. Don't call
9539 1.1 christos set_gdbarch_num_pseudo_regs. Don't set mm0_regnum.
9540 1.1 christos
9541 1.1 christos * i386-tdep.c (i386_num_mmx_regs): Removed.
9542 1.1 christos (i386_num_pseudo_regs): Likewise.
9543 1.1 christos (i386_byte_names): New.
9544 1.1 christos (i386_word_names): Likewise.
9545 1.1 christos (i386_byte_regnum_p): Likewise.
9546 1.1 christos (i386_word_regnum_p): Likewise.
9547 1.1 christos (i386_mmx_regnum_p): Updated.
9548 1.1 christos (i386_pseudo_register_name): Make it global. Handle byte and
9549 1.1 christos word pseudo-registers.
9550 1.1 christos (i386_pseudo_register_read): Likewise.
9551 1.1 christos (i386_pseudo_register_write): Likewise.
9552 1.1 christos (i386_pseudo_register_type): Handle byte, word and dword
9553 1.1 christos pseudo-registers
9554 1.1 christos (i386_register_reggroup_p): Don't include pseudo
9555 1.1 christos registers, except for MXX, in any register groups. Don't
9556 1.1 christos include pseudo byte, word, dword registers in general_reggroup.
9557 1.1 christos (i386_gdbarch_init): Set num_byte_regs, num_word_regs,
9558 1.1 christos num_dword_regs, al_regnum, ax_regnum and eax_regnum. Put MMX
9559 1.1 christos pseudo-registers after word pseudo-registers. Call
9560 1.1 christos set_gdbarch_num_pseudo_regs after calling gdbarch_init_osabi.
9561 1.1 christos
9562 1.1 christos * i386-tdep.h (gdbarch_tdep): Add num_mmx_regs, num_byte_regs,
9563 1.1 christos al_regnum, num_word_regs, ax_regnum, num_dword_regs and
9564 1.1 christos eax_regnum.
9565 1.1 christos (i386_byte_regnum_p): New.
9566 1.1 christos (i386_word_regnum_p): Likewise.
9567 1.1 christos (i386_dword_regnum_p): Likewise.
9568 1.1 christos (i386_pseudo_register_name): Likewise.
9569 1.1 christos (i386_pseudo_register_read): Likewise.
9570 1.1 christos (i386_pseudo_register_write): Likewise.
9571 1.1 christos
9572 1.1 christos 2010-03-01 H.J. Lu <hongjiu.lu (a] intel.com>
9573 1.1 christos
9574 1.1 christos * target-descriptions.c (tdesc_type): Remove
9575 1.1 christos TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR.
9576 1.1 christos (tdesc_predefined_types): Likewise.
9577 1.1 christos (tdesc_gdb_type): Likewise. Pass NULL to append_flags_type_flag
9578 1.1 christos if flag name is empty.
9579 1.1 christos (maint_print_c_tdesc_cmd): Handle TDESC_TYPE_FLAGS.
9580 1.1 christos
9581 1.1 christos * features/i386/32bit-core.xml: Define i386_eflags.
9582 1.1 christos * features/i386/64bit-core.xml: Likewise.
9583 1.1 christos
9584 1.1 christos * features/i386/32bit-sse.xml: Define i386_mxcsr.
9585 1.1 christos * features/i386/64bit-sse.xml: Likewise.
9586 1.1 christos
9587 1.1 christos * features/i386/amd64-linux.c: Regenerated.
9588 1.1 christos * features/i386/amd64.c: Likewise.
9589 1.1 christos * features/i386/i386-linux.c: Likewise.
9590 1.1 christos * features/i386/i386.c: Likewise.
9591 1.1 christos
9592 1.1 christos 2010-03-01 Daniel Jacobowitz <dan (a] codesourcery.com>
9593 1.1 christos
9594 1.1 christos * gdbtypes.c (append_composite_type_field_raw): New.
9595 1.1 christos (append_composite_type_field_aligned): Use the new function.
9596 1.1 christos * gdbtypes.h (append_composite_type_field_raw): Declare.
9597 1.1 christos * target-descriptions.c (struct tdesc_type_field): Add start and end.
9598 1.1 christos (struct tdesc_type_flag): New type.
9599 1.1 christos (struct tdesc_type): Add TDESC_TYPE_STRUCT and TDESC_TYPE_FLAGS to
9600 1.1 christos kind. Add size to u.u. Add u.f for flags.
9601 1.1 christos (tdesc_gdb_type): Handle TDESC_TYPE_STRUCT and TDESC_TYPE_FLAGS.
9602 1.1 christos (tdesc_free_type): Likewise.
9603 1.1 christos (tdesc_create_struct, tdesc_set_struct_size, tdesc_create_flags): New.
9604 1.1 christos (tdesc_add_field): Handle TDESC_TYPE_STRUCT.
9605 1.1 christos (tdesc_add_bitfield, tdesc_add_flag): New.
9606 1.1 christos * target-descriptions.h (tdesc_create_struct, tdesc_set_struct_size)
9607 1.1 christos (tdesc_create_flags, tdesc_add_bitfield, tdesc_add_flag): Declare.
9608 1.1 christos * xml-tdesc.c (struct tdesc_parsing_data): Rename current_union to
9609 1.1 christos current_type. Add current_type_size and current_type_is_flags.
9610 1.1 christos (tdesc_start_union): Clear the new fields.
9611 1.1 christos (tdesc_start_struct, tdesc_start_flags): New.
9612 1.1 christos (tdesc_start_field): Handle struct fields, including bitfields.
9613 1.1 christos (field_attributes): Make type optional. Add start and end.
9614 1.1 christos (union_children): Rename to struct_union_children.
9615 1.1 christos (union_attributes): Rename to struct_union_attributes. Add optional
9616 1.1 christos size.
9617 1.1 christos (flags_attributes): New.
9618 1.1 christos (feature_children): Add struct and flags.
9619 1.1 christos * features/gdb-target.dtd: Add flags and struct to features.
9620 1.1 christos Make field type optional. Add field start and end.
9621 1.1 christos
9622 1.1 christos 2010-03-01 H.J. Lu <hongjiu.lu (a] intel.com>
9623 1.1 christos
9624 1.1 christos * amd64-linux-nat.c (AMD64_LINUX_USER64_CS): New.
9625 1.1 christos (amd64_linux_read_description): Likewise.
9626 1.1 christos (_initialize_amd64_linux_nat): Set to_read_description to
9627 1.1 christos amd64_linux_read_description.
9628 1.1 christos
9629 1.1 christos * amd64-linux-tdep.c: Include "features/i386/amd64-linux.c".
9630 1.1 christos (amd64_linux_register_name): Removed.
9631 1.1 christos (amd64_linux_register_type): Likewise.
9632 1.1 christos (amd64_linux_core_read_description): New.
9633 1.1 christos (amd64_linux_init_abi): Set target description to
9634 1.1 christos tdesc_amd64_linux if needed. Support orig_rax in target
9635 1.1 christos description. Don't call set_gdbarch_register_name nor
9636 1.1 christos set_gdbarch_register_type. Call
9637 1.1 christos set_gdbarch_core_read_description.
9638 1.1 christos (_initialize_amd64_linux_tdep): Call
9639 1.1 christos initialize_tdesc_amd64_linux.
9640 1.1 christos
9641 1.1 christos * amd64-linux-tdep.h (tdesc_amd64_linux): New.
9642 1.1 christos
9643 1.1 christos * amd64-tdep.c: Include "features/i386/amd64.c".
9644 1.1 christos (amd64_register_names): Removed.
9645 1.1 christos (amd64_register_name): Likewise.
9646 1.1 christos (amd64_register_type): Likewise.
9647 1.1 christos (amd64_init_abi): Set num_core_regs and register_names. Set
9648 1.1 christos target description to tdesc_amd64 if needed. Don't call
9649 1.1 christos set_gdbarch_register_name nor set_gdbarch_register_type.
9650 1.1 christos (_initialize_amd64_tdep): New.
9651 1.1 christos
9652 1.1 christos * i386-linux-nat.c (i386_linux_read_description): New.
9653 1.1 christos (_initialize_i386_linux_nat): Set to_read_description to
9654 1.1 christos i386_linux_read_description.
9655 1.1 christos
9656 1.1 christos * i386-linux-tdep.c: Include "features/i386/i386-linux.c".
9657 1.1 christos (i386_linux_register_name): Removed.
9658 1.1 christos (i386_linux_core_read_description): New.
9659 1.1 christos (i386_linux_read_description): Likewise.
9660 1.1 christos (i386_linux_init_abi): Don't call set_gdbarch_register_name.
9661 1.1 christos Set target description to tdesc_i386_linux if needed. Support
9662 1.1 christos orig_eax. Set register_reggroup_p. Call
9663 1.1 christos set_gdbarch_core_read_description.
9664 1.1 christos (_initialize_i386_linux_tdep): Call initialize_tdesc_i386_linux.
9665 1.1 christos
9666 1.1 christos * i386-linux-tdep.h (tdesc_i386_linux): New.
9667 1.1 christos
9668 1.1 christos * i386-nto-tdep.c (i386nto_regset_id): Replace I386_NUM_FREGS
9669 1.1 christos with I387_NUM_REGS.
9670 1.1 christos
9671 1.1 christos * i386-tdep.c: Include "features/i386/i386.c".
9672 1.1 christos (i386_register_names): Make it const.
9673 1.1 christos (i386_mmx_names): Likewise.
9674 1.1 christos (i386_num_register_names): Removed.
9675 1.1 christos (i386_register_name): Likewise.
9676 1.1 christos (i386_eflags_type): Likewise.
9677 1.1 christos (i386_mxcsr_type): Likewise.
9678 1.1 christos (i386_sse_type): Likewise.
9679 1.1 christos (i386_register_type): Likewise.
9680 1.1 christos (i387_ext_type): Call tdesc_find_type instead of arch_float_type.
9681 1.1 christos (i386_pseudo_register_name): New.
9682 1.1 christos (i386_pseudo_register_type): Likewise.
9683 1.1 christos (i386_mmx_type): Make it static.
9684 1.1 christos (i386_gdbarch_init): Check arch. Replace I386_NUM_FREGS with
9685 1.1 christos I387_NUM_REGS. Set num_core_regs and register_names. Don't
9686 1.1 christos call set_gdbarch_register_name nor set_gdbarch_register_type.
9687 1.1 christos Set register_reggroup_p. Set target description to tdesc_i386
9688 1.1 christos if needed. Call set_tdesc_pseudo_register_type,
9689 1.1 christos set_tdesc_pseudo_register_name and tdesc_use_registers.
9690 1.1 christos (_initialize_i386_tdep): Call initialize_tdesc_i386.
9691 1.1 christos initialize_tdesc_x86_64.
9692 1.1 christos
9693 1.1 christos * i386-tdep.h (gdbarch_tdep): Remove i386_eflags_type,
9694 1.1 christos i386_mxcsr_type and i386_sse_type. Add num_core_regs,
9695 1.1 christos register_names, tdesc and register_reggroup_p.
9696 1.1 christos (I386_NUM_FREGS): Removed.
9697 1.1 christos (i386_eflags_type): Likewise.
9698 1.1 christos (i386_mxcsr_type): Likewise.
9699 1.1 christos (i386_mmx_type): Likewise.
9700 1.1 christos (i386_sse_type): Likewise.
9701 1.1 christos (i386_register_name): Likewise.
9702 1.1 christos (i386_regnum): Add I386_MXCSR_REGNUM.
9703 1.1 christos (I386_SSE_NUM_REGS): Defined with I386_MXCSR_REGNUM.
9704 1.1 christos
9705 1.1 christos * i387-tdep.h (I387_NUM_REGS): New.
9706 1.1 christos
9707 1.1 christos * regformats/i386/i386-linux.dat: Generated.
9708 1.1 christos * regformats/i386/i386.dat: Likewise.
9709 1.1 christos * regformats/i386/amd64-linux.dat: Likewise.
9710 1.1 christos * regformats/i386/amd64.dat: Likewise.
9711 1.1 christos
9712 1.1 christos * regformats/reg-i386-linux.dat: Removed.
9713 1.1 christos * regformats/reg-i386.dat: Likewise.
9714 1.1 christos * regformats/reg-x86-64-linux.dat: Likewise.
9715 1.1 christos * regformats/reg-x86-64.dat: Likewise.
9716 1.1 christos
9717 1.1 christos 2010-03-01 Corinna Vinschen <vinschen (a] redhat.com>
9718 1.1 christos
9719 1.1 christos * remote-fileio.c (remote_fileio_func_rename): Use Cygwin 1.7
9720 1.1 christos cygwin_conv_path API rather than the deprecated
9721 1.1 christos cygwin_conv_to_full_posix_path.
9722 1.1 christos * windows-nat.c:
9723 1.1 christos (GetModuleFileNameExA): Undefine for Cygwin.
9724 1.1 christos (GetModuleFileNameExW): Define for Cygwin.
9725 1.1 christos (get_module_name): Change size of pathbuf to PATH_MAX for Cygwin.
9726 1.1 christos Call GetModuleFileNameExW and convert path to POSIX using
9727 1.1 christos cygwin_conv_path.
9728 1.1 christos (windows_make_so): Always define p. Drop unused variable m.
9729 1.1 christos Don't use Win32 functions to check file existance, rather use
9730 1.1 christos access on Cygwin. Fetch system directory using GetSystemDirectoryW.
9731 1.1 christos Use canonicalize_file_name to get full path.
9732 1.1 christos (get_image_name): Use wcstombs, rather than WideCharToMultiByte
9733 1.1 christos to convert Unicode pathname to multibyte on Cygwin. Otherwise,
9734 1.1 christos use correct target buffer size in call to WideCharToMultiByte.
9735 1.1 christos (handle_load_dll): Change size of dll_buf to PATH_MAX for Cygwin.
9736 1.1 christos (windows_pid_to_exec_file): Change size of path to PATH_MAX for Cygwin.
9737 1.1 christos (windows_create_inferior): Convert all paths and arguments to wchar_t
9738 1.1 christos and use CreateProcessW on Cygwin.
9739 1.1 christos (_initialize_windows_nat): Disable DOS-style path warning on Cygwin.
9740 1.1 christos (bad_GetModuleFileNameExA): Undefine for Cygwin.
9741 1.1 christos (bad_GetModuleFileNameExW): Define for Cygwin.
9742 1.1 christos (_initialize_loadable): Load GetModuleFileNameExW into
9743 1.1 christos dyn_GetModuleFileNameExW on Cygwin. Don't load ANSI function on Cygwin.
9744 1.1 christos
9745 1.1 christos 2010-02-28 Phil Muldoon <pmuldoon (a] redhat.com>
9746 1.1 christos
9747 1.1 christos PR python/11036
9748 1.1 christos * python/py-frame.c (frapy_read_var): Add block argument and logic
9749 1.1 christos to cope with user provided blocks.
9750 1.1 christos
9751 1.1 christos 2010-02-28 Jan Kratochvil <jan.kratochvil (a] redhat.com>
9752 1.1 christos
9753 1.1 christos * infcall.c (call_function_by_hand): Remove gdb_assert on sp and old_sp.
9754 1.1 christos New comment.
9755 1.1 christos
9756 1.1 christos 2010-02-28 Corinna Vinschen <vinschen (a] redhat.com>
9757 1.1 christos
9758 1.1 christos * Makefile.in (SUBDIR_MI_OBS): Move mi-common.o from here...
9759 1.1 christos (COMMON_OBS): ... to here since it's used unconditionally.
9760 1.1 christos (SUBDIR_MI_SRCS): Move mi/mi-common.c from here...
9761 1.1 christos (SFILES): To here.
9762 1.1 christos
9763 1.1 christos 2010-02-26 David Daney <ddaney (a] caviumnetworks.com>
9764 1.1 christos
9765 1.1 christos * mips-linux-tdep.c: Update struct sigframe comments.
9766 1.1 christos (SIGFRAME_CODE_OFFSET): Delete macro.
9767 1.1 christos (mips_linux_o32_sigframe_init): Calculate sigcontext_base using
9768 1.1 christos this_frame's sp.
9769 1.1 christos (mips_linux_n32n64_sigframe_init): Same.
9770 1.1 christos
9771 1.1 christos 2010-02-26 Kevin Buettner <kevinb (a] redhat.com>
9772 1.1 christos
9773 1.1 christos * remote-mips.c (mips_load): Don't use pseudo-register when
9774 1.1 christos invalidating regcache.
9775 1.1 christos
9776 1.1 christos 2010-02-26 Daniel Jacobowitz <dan (a] codesourcery.com>
9777 1.1 christos
9778 1.1 christos * arm-tdep.c (thumb_get_next_pc): Correct conditional branch opcode.
9779 1.1 christos
9780 1.1 christos 2010-02-26 Pedro Alves <pedro (a] codesourcery.com>
9781 1.1 christos
9782 1.1 christos * NEWS: Add "New targets" section, and mention ARM Symbian
9783 1.1 christos support.
9784 1.1 christos
9785 1.1 christos 2010-02-26 Ulrich Weigand <uweigand (a] de.ibm.com>
9786 1.1 christos
9787 1.1 christos * dwarf2loc.c (struct piece_closure): Remove ARCH member,
9788 1.1 christos add ADDR_SIZE member.
9789 1.1 christos (allocate_piece_closure): Update.
9790 1.1 christos (copy_pieced_value_closure): Likewise.
9791 1.1 christos (dwarf2_evaluate_loc_desc): Likewise.
9792 1.1 christos (read_pieced_value): Use DWARF address size instead of
9793 1.1 christos GDB's gdbarch_addr_bit as size of values on the DWARF stack.
9794 1.1 christos
9795 1.1 christos 2010-02-26 Phil Muldoon <pmuldoon (a] redhat.com>
9796 1.1 christos Tom Tromey <tromey (a] redhat.com>
9797 1.1 christos
9798 1.1 christos * python/py-type.c (typy_lookup_typename): Add in block argument.
9799 1.1 christos If provided restrict lookup to specified blocks.
9800 1.1 christos (gdbpy_lookup_type): Likewise.
9801 1.1 christos (typy_lookup_type): Likewise.
9802 1.1 christos
9803 1.1 christos 2010-02-25 Daniel Jacobowitz <dan (a] codesourcery.com>
9804 1.1 christos
9805 1.1 christos Symbian config
9806 1.1 christos
9807 1.1 christos gdb/
9808 1.1 christos * arm-symbian-tdep.c: New.
9809 1.1 christos * configure.tgt (arm*-*-symbianelf*): New target.
9810 1.1 christos (*-*-symbianelf*): New OS.
9811 1.1 christos * osabi.c (gdb_osabi_names): Add Symbian.
9812 1.1 christos * defs.h (gdb_osabi): Add GDB_OSABI_SYMBIAN.
9813 1.1 christos * Makefile.in (ALL_TARGET_OBJS): Add arm-symbian-tdep.o.
9814 1.1 christos (ALLDEPFILES): Add arm-symbian-tdep.c.
9815 1.1 christos
9816 1.1 christos 2010-02-25 Daniel Jacobowitz <dan (a] codesourcery.com>
9817 1.1 christos
9818 1.1 christos * symfile.c (find_lowest_section): Include SEC_ALLOC sections.
9819 1.1 christos
9820 1.1 christos 2010-02-24 Pedro Alves <pedro (a] codesourcery.com>
9821 1.1 christos
9822 1.1 christos * mi/mi-main.c (mi_cmd_execute): Fix typo.
9823 1.1 christos
9824 1.1 christos 2010-02-24 Phil Muldoon <pmuldoon (a] redhat.com>
9825 1.1 christos Tom Tromey <tromey (a] redhat.com>
9826 1.1 christos Thiago Jung Bauermann <bauerman (a] br.ibm.com>
9827 1.1 christos
9828 1.1 christos * python/python.c (_initialize_python): Call
9829 1.1 christos gdbpy_initialize_symtabs, gdbpy_initialize_symbols and
9830 1.1 christos gdbpy_initialize_blocks.
9831 1.1 christos * python/python-internal.h: Declare struct symbol, block and
9832 1.1 christos symtab_and_line. Declare block_object_type and
9833 1.1 christos symbol_object_type
9834 1.1 christos (gdbpy_lookup_symbol gdbpy_block_for_pc)
9835 1.1 christos (symtab_and_line_to_sal_object, symtab_to_symtab_object)
9836 1.1 christos (symbol_to_symbol_object, block_to_block_object)
9837 1.1 christos (gdbpy_initialize_symtabs,gdbpy_initialize_symbols)
9838 1.1 christos (gdbpy_initialize_blocks ): Declare.
9839 1.1 christos * python/py-frame.c (frapy_block, frapy_function, frapy_find_sal)
9840 1.1 christos (frapy_select): Add methods.
9841 1.1 christos (frapy_read_var): Add symbol branch.
9842 1.1 christos * Makefile.in (SUBDIR_PYTHON_OBS): Add py-symbol, py-symtab,
9843 1.1 christos py-block.
9844 1.1 christos (SUBDIR_PYTHON_SRCS): Likewise.
9845 1.1 christos (py-symbol.o): New rule.
9846 1.1 christos (py-symtab.o): Likewise.
9847 1.1 christos (py-block.o): Likewise.
9848 1.1 christos * python/py-symbol.c: New file.
9849 1.1 christos * python/py-symtab.c: Likewise.
9850 1.1 christos * python/py-block.c: Likewise.
9851 1.1 christos
9852 1.1 christos 2010-02-24 Pedro Alves <pedro (a] codesourcery.com>
9853 1.1 christos
9854 1.1 christos PR gdb/11321
9855 1.1 christos
9856 1.1 christos * inferior.h (prepare_for_detach): Declare.
9857 1.1 christos (struct inferior) <detaching>: New field.
9858 1.1 christos * infrun.c (prepare_for_detach): New.
9859 1.1 christos (handle_inferior_event) <random signal>: Don't stop if detaching.
9860 1.1 christos * target.c (target_detach): Call prepare_for_detach.
9861 1.1 christos
9862 1.1 christos 2010-02-24 Pedro Alves <pedro (a] codesourcery.com>
9863 1.1 christos
9864 1.1 christos Per-process displaced stepping queue.
9865 1.1 christos
9866 1.1 christos * infrun.c (displaced_step_ptid, displaced_step_request_queue)
9867 1.1 christos (displaced_step_gdbarch, displaced_step_closure,
9868 1.1 christos (displaced_step_original, displaced_step_copy): Move globals to
9869 1.1 christos this...
9870 1.1 christos (struct displaced_step_inferior_state): ... new structure.
9871 1.1 christos (displaced_step_inferior_states): New global.
9872 1.1 christos (get_displaced_stepping_state, add_displaced_stepping_state)
9873 1.1 christos (remove_displaced_stepping_state, infrun_inferior_exit): New
9874 1.1 christos functions.
9875 1.1 christos (displaced_step_clear): Add displaced_step_inferior_state
9876 1.1 christos parameter, and adjust to handle it.
9877 1.1 christos (displaced_step_clear_cleanup): Parameter is now a
9878 1.1 christos displaced_step_inferior_state. Adjust.
9879 1.1 christos (displaced_step_prepare): Adjust.
9880 1.1 christos (displaced_step_fixup, displaced_step_fixup)
9881 1.1 christos (infrun_thread_ptid_changed, resume): Adjust.
9882 1.1 christos (init_wait_for_inferior): Don't call displaced_step_clear.
9883 1.1 christos (infrun_thread_stop_requested): Rewrite.
9884 1.1 christos (_initialize_infrun): Install infrun_inferior_exit as
9885 1.1 christos inferior_exit observer.
9886 1.1 christos
9887 1.1 christos 2010-02-24 Pedro Alves <pedro (a] codesourcery.com>
9888 1.1 christos
9889 1.1 christos * inferior.h (ptid_match): Declare.
9890 1.1 christos * infrun.c (ptid_match): New.
9891 1.1 christos * remote.c (queued_stop_reply): Rewrite and use ptid_match.
9892 1.1 christos (handle_notification): Add debug output.
9893 1.1 christos * linux-nat.c (ptid_match): Delete.
9894 1.1 christos
9895 1.1 christos 2010-02-24 David S. Miller <davem (a] davemloft.net>
9896 1.1 christos
9897 1.1 christos * gdb_ptrace.h (PT_SYSCALL): If PTRACE_SYSCALL is available, use it.
9898 1.1 christos * syscalls/sparc-linux.xml: New.
9899 1.1 christos * syscalls/sparc64-linux.xml: New.
9900 1.1 christos * Makefile.in (XML_SYSCALL_FILES): Add new syscall XML files.
9901 1.1 christos * sparc-linux-tdep.c (XML_SYSCALL_FILENAME_SPARC32): Define.
9902 1.1 christos (sparc32_linux_get_syscall_number): New function.
9903 1.1 christos (sparc32_linux_init_abi): Set syscall XML file name and hook up
9904 1.1 christos syscall number fetcher.
9905 1.1 christos * sparc64-linux-tdep.c (XML_SYSCALL_FILENAME_SPARC64): Define.
9906 1.1 christos (sparc64_linux_get_syscall_number): New function.
9907 1.1 christos (sparc64_linux_init_abi): Set syscall XML file name and hook up
9908 1.1 christos syscall number fetcher.
9909 1.1 christos
9910 1.1 christos 2010-02-24 Vladimir Prus <vladimir (a] codesourcery.com>
9911 1.1 christos
9912 1.1 christos Multiexec MI
9913 1.1 christos
9914 1.1 christos * breakpoint.c (clear_syscall_counts): Take struct inferior*.
9915 1.1 christos * inferior.c (add_inferior_silent): Notify inferior_added
9916 1.1 christos observer.
9917 1.1 christos (delete_inferior_1): Notify inferior_removed observer.
9918 1.1 christos (exit_inferior_1): Pass inferior, not pid, to observer.
9919 1.1 christos (inferior_appeared): Likewise.
9920 1.1 christos (add_inferior_with_spaces): New.
9921 1.1 christos (add_inferior_command): Use the above.
9922 1.1 christos * inferior.h (delete_inferior_1, add_inferior_with_spaces):
9923 1.1 christos Declare.
9924 1.1 christos
9925 1.1 christos * inflow.c (inflow_inferior_exit): Likewise.
9926 1.1 christos * jit.c (jit_inferior_exit_hook): Likewise.
9927 1.1 christos
9928 1.1 christos * mi/mi-cmds.c (mi_cmds): Register add-inferior and
9929 1.1 christos remove-inferior.
9930 1.1 christos * mi/mi-cmds.h (mi_cmd_add_inferior, mi_cmd_remove_inferior): New.
9931 1.1 christos * mi/mi-interp.c (mi_inferior_added, mi_inferior_removed): New.
9932 1.1 christos (report_initial_inferior): New.
9933 1.1 christos (mi_inferior_removed): Register the above. Make sure
9934 1.1 christos inferior_added observer is called on the first inferior.
9935 1.1 christos (mi_new_thread, mi_thread_exit): Thread group is now identified by
9936 1.1 christos inferior number, not pid.
9937 1.1 christos (mi_solib_loaded, mi_solib_unloaded): Report which inferiors are
9938 1.1 christos affected.
9939 1.1 christos * mi/mi-main.c (current_context): New.
9940 1.1 christos (proceed_thread_callback): Use typed closure.
9941 1.1 christos Proceed everything if pid is 0. Most implementation split into
9942 1.1 christos (proceed_thread): ... this.
9943 1.1 christos (run_one_inferior): New.
9944 1.1 christos (mi_cmd_exec_continue, mi_cmd_exec_interrupt, mi_cmd_exec_run):
9945 1.1 christos Adjust for multiexec behaviour.
9946 1.1 christos (mi_cmd_add_inferior, mi_cmd_remove_inferior): New.
9947 1.1 christos (mi_cmd_execute): Handle the 'thread-group' option here.
9948 1.1 christos Do some extra checks.
9949 1.1 christos * mi-parse.c (mi_parse): Handle the --all and --thread-group
9950 1.1 christos options.
9951 1.1 christos * mi-parse.h (struct mi_parse): New fields all and thread_group.
9952 1.1 christos
9953 1.1 christos 2010-02-24 Vladimir Prus <vladimir (a] codesourcery.com>
9954 1.1 christos
9955 1.1 christos Make -exec-run a proper MI commands.
9956 1.1 christos
9957 1.1 christos * mi/mi-cmds.h (mi_cmd_exec_run): Declare.
9958 1.1 christos * mi/mi-cmds.c (mi_cmds): Adjust.
9959 1.1 christos * mi/mi-main.c (mi_cmd_exec_run): New.
9960 1.1 christos
9961 1.1 christos 2010-02-24 Pedro Alves <pedro (a] codesourcery.com>
9962 1.1 christos Stan Shebs <stan (a] codesourcery.com>
9963 1.1 christos
9964 1.1 christos * tracepoint.h (set_traceframe_number)
9965 1.1 christos (cleanup_restore_current_traceframe): Declare.
9966 1.1 christos * tracepoint.c (set_traceframe_number): New.
9967 1.1 christos (struct current_traceframe_cleanup): New.
9968 1.1 christos (do_restore_current_traceframe_cleanup)
9969 1.1 christos (restore_current_traceframe_cleanup_dtor)
9970 1.1 christos (make_cleanup_restore_current_traceframe): New.
9971 1.1 christos * infrun.c: Include tracepoint.h.
9972 1.1 christos (fetch_inferior_event): Switch out and in of tfind mode.
9973 1.1 christos
9974 1.1 christos 2010-02-24 Pedro Alves <pedro (a] codesourcery.com>
9975 1.1 christos
9976 1.1 christos * breakpoint.c (breakpoint_init_inferior): Also delete
9977 1.1 christos bp_shlib_event breakpoints.
9978 1.1 christos * solib-frv.c (enable_break): Remove call to
9979 1.1 christos remove_solib_event_breakpoints.
9980 1.1 christos * solib-svr4.c (enable_break): Ditto.
9981 1.1 christos * solib-darwin.c (darwin_solib_create_inferior_hook): Ditto.
9982 1.1 christos * solib-pa64.c (pa64_solib_create_inferior_hook): Ditto.
9983 1.1 christos * solib-som.c (som_solib_create_inferior_hook): Ditto.
9984 1.1 christos * solib-spu.c (spu_enable_break): Ditto.
9985 1.1 christos
9986 1.1 christos 2010-02-23 Harald Koenig <H.Koenig (a] science-computing.de>
9987 1.1 christos
9988 1.1 christos * c-exp.y (token_and_value): s/union YYSTYPE/YYSTYPE.
9989 1.1 christos
9990 1.1 christos 2010-02-23 Harald Koenig <H.Koenig (a] science-computing.de>
9991 1.1 christos
9992 1.1 christos * varobj.c (varobj_update): Avoid non-constants in initializers.
9993 1.1 christos
9994 1.1 christos 2010-02-23 Tom Tromey <tromey (a] redhat.com>
9995 1.1 christos
9996 1.1 christos * dwarf2loc.c (read_pieced_value) <DWARF_VALUE_STACK>: Correctly
9997 1.1 christos handle big-endian values.
9998 1.1 christos (dwarf2_evaluate_loc_desc) <DWARF_VALUE_STACK>: Likewise.
9999 1.1 christos
10000 1.1 christos 2010-02-22 Pedro Alves <pedro (a] codesourcery.com>
10001 1.1 christos
10002 1.1 christos PR9605
10003 1.1 christos
10004 1.1 christos gdb/
10005 1.1 christos * breakpoint.c (insert_bp_location): If inserting the read
10006 1.1 christos watchpoint failed, fallback to an access watchpoint.
10007 1.1 christos (bpstat_check_watchpoint): Stop for read watchpoint triggers even
10008 1.1 christos if the value changed, if not watching the same memory for writes.
10009 1.1 christos (watchpoint_locations_match): Add comment.
10010 1.1 christos (update_global_location_list): Copy the location's watchpoint type.
10011 1.1 christos * i386-nat.c (i386_length_and_rw_bits): It's an internal error to
10012 1.1 christos handle read watchpoints here.
10013 1.1 christos (i386_insert_watchpoint): Read watchpoints aren't supported.
10014 1.1 christos * remote.c (remote_insert_watchpoint): Return 1 for unsupported
10015 1.1 christos packets.
10016 1.1 christos * target.h (target_insert_watchpoint): Update description.
10017 1.1 christos
10018 1.1 christos 2010-02-19 Tom Tromey <tromey (a] redhat.com>
10019 1.1 christos
10020 1.1 christos * p-typeprint.c (pascal_type_print_varspec_prefix): Update.
10021 1.1 christos * m2-typeprint.c (m2_print_type): Update.
10022 1.1 christos * gdbtypes.c (recursive_dump_type): Update.
10023 1.1 christos (copy_type_recursive): Update.
10024 1.1 christos * c-typeprint.c (c_type_print_varspec_prefix): Update.
10025 1.1 christos (c_type_print_base): Update.
10026 1.1 christos * gdbtypes.h (TYPE_CODE_TEMPLATE, TYPE_CODE_TEMPLATE_ARG):
10027 1.1 christos Remove.
10028 1.1 christos (struct cplus_struct_type) <ntemplate_args>: Remove.
10029 1.1 christos <struct template_arg>: Remove.
10030 1.1 christos <is_dynamic>: Move earlier.
10031 1.1 christos (TYPE_TEMPLATE_ARGS): Remove.
10032 1.1 christos (TYPE_NTEMPLATE_ARGS): Remove.
10033 1.1 christos (TYPE_TEMPLATE_ARG): Remove.
10034 1.1 christos
10035 1.1 christos 2010-02-19 Tom Tromey <tromey (a] redhat.com>
10036 1.1 christos
10037 1.1 christos PR c++/8693, PR c++/9496:
10038 1.1 christos * cp-namespace.c (cp_lookup_nested_type): Handle TYPE_CODE_UNION.
10039 1.1 christos * c-exp.y (lex_one_token): Rename from yylex. Don't call
10040 1.1 christos write_dollar_variable. Don't try to classify NAME tokens.
10041 1.1 christos (token_and_value): New type.
10042 1.1 christos (token_fifo, popping, name_obstack): New globals.
10043 1.1 christos (classify_name): New function.
10044 1.1 christos (classify_inner_name): Likewise.
10045 1.1 christos (yylex): Likewise.
10046 1.1 christos (VARIABLE): Now has type sval.
10047 1.1 christos (exp : VARIABLE): Call write_dollar_variable.
10048 1.1 christos (qualified_name): Use TYPENAME, not typebase. Add production for
10049 1.1 christos multiple "::" instances.
10050 1.1 christos (variable): Use name_not_typename.
10051 1.1 christos (qualified_type): Remove.
10052 1.1 christos (typebase): Update.
10053 1.1 christos
10054 1.1 christos 2010-02-19 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10055 1.1 christos
10056 1.1 christos * symfile.c (addr_info_make_relative): Extend comment. Move SECT to
10057 1.1 christos a more inner block. Initialize ADDR by LOWER_OFFSET only if it was
10058 1.1 christos found by bfd_get_section_by_name.
10059 1.1 christos * symfile.h (struct section_addr_info) <sectindex>: New comment.
10060 1.1 christos
10061 1.1 christos 2010-02-19 Joel Brobecker <brobecker (a] adacore.com>
10062 1.1 christos
10063 1.1 christos * NEWS: Add new "[...] since 7.1" section. Rename the "[...] since
10064 1.1 christos 7.0 section" into "Changes in 7.1".
10065 1.1 christos
10066 1.1 christos 2010-02-19 Joel Brobecker <brobecker (a] adacore.com>
10067 1.1 christos
10068 1.1 christos GDB 7.1 branch created (branch timestamp: 2010-02-18 20:00 UTC)
10069 1.1 christos * version.in: Bump version to 7.1.50.20100219-cvs.
10070 1.1 christos
10071 1.1 christos 2010-02-18 Harald Koenig <H.Koenig (a] science-computing.de>
10072 1.1 christos
10073 1.1 christos * mi/mi-main.c (mi_cmd_exec_jump): Drop unneeded `return'.
10074 1.1 christos * symfile.c (symfile_map_offsets_to_segments): Fix assertion.
10075 1.1 christos
10076 1.1 christos 2010-02-17 Tom Tromey <tromey (a] redhat.com>
10077 1.1 christos
10078 1.1 christos * NEWS: Add Python API Improvements section.
10079 1.1 christos
10080 1.1 christos 2010-02-18 Daniel Jacobowitz <dan (a] codesourcery.com>
10081 1.1 christos
10082 1.1 christos * NEWS: Correct typo.
10083 1.1 christos
10084 1.1 christos 2010-02-17 Tom Tromey <tromey (a] redhat.com>
10085 1.1 christos
10086 1.1 christos * objfiles.c (gdb_bfd_ref): Handle abfd==NULL.
10087 1.1 christos
10088 1.1 christos 2010-02-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10089 1.1 christos
10090 1.1 christos * symfile.c (build_section_addr_info_from_objfile): Include sections
10091 1.1 christos only if they are SEC_ALLOC or SEC_LOAD.
10092 1.1 christos
10093 1.1 christos 2010-02-17 H.J. Lu <hongjiu.lu (a] intel.com>
10094 1.1 christos
10095 1.1 christos PR shlibs/11293
10096 1.1 christos * solib-svr4.c (enable_break): Check size of CORE_ADDR instead
10097 1.1 christos of ULONGEST for address size.
10098 1.1 christos
10099 1.1 christos 2010-02-17 Tom Tromey <tromey (a] redhat.com>
10100 1.1 christos
10101 1.1 christos * NEWS: Add C++ improvements section.
10102 1.1 christos
10103 1.1 christos 2010-02-17 Ulrich Weigand <uweigand (a] de.ibm.com>
10104 1.1 christos
10105 1.1 christos * python/python-internal.h [!WITH_THREAD] (PyGILState_Release,
10106 1.1 christos PyThreadState_Swap): Avoid "statement with no effect" warning.
10107 1.1 christos
10108 1.1 christos 2010-02-17 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10109 1.1 christos
10110 1.1 christos * solib-svr4.c (enable_break <target_auxv_search>): New variable
10111 1.1 christos addr_bit. Adjust LOAD_ADDR sign for cross-arch inferiors.
10112 1.1 christos
10113 1.1 christos 2010-02-17 Tristan Gingold <gingold (a] adacore.com>
10114 1.1 christos Petr Hluzin <petr.hluzin (a] gmail.com>
10115 1.1 christos
10116 1.1 christos * avr-tdep.c (avr_scan_prologue): Convert an if statement to a
10117 1.1 christos gdb_assert. Fix info->size for SIG prologue.
10118 1.1 christos
10119 1.1 christos 2010-02-16 Daniel Jacobowitz <dan (a] codesourcery.com>
10120 1.1 christos
10121 1.1 christos * infcmd.c (show_inferior_tty_command): Check for NULL.
10122 1.1 christos Correct output message.
10123 1.1 christos
10124 1.1 christos 2010-02-16 Daniel Jacobowitz <dan (a] codesourcery.com>
10125 1.1 christos
10126 1.1 christos * linespec.c (decode_line_1): Handle FILE:FUNCTION even if
10127 1.1 christos FUNCTION contains parentheses. Improve removal of a trailing
10128 1.1 christos single quote.
10129 1.1 christos
10130 1.1 christos 2010-02-16 Daniel Jacobowitz <dan (a] codesourcery.com>
10131 1.1 christos
10132 1.1 christos * gcore.c (do_bfd_delete_cleanup): New function.
10133 1.1 christos (gcore_command): Use it. Discard the cleanup after success.
10134 1.1 christos (gcore_copy_callback): Delete dead code.
10135 1.1 christos
10136 1.1 christos 2010-02-16 Daniel Jacobowitz <dan (a] codesourcery.com>
10137 1.1 christos
10138 1.1 christos * symfile.c (addr_info_make_relative): Always use
10139 1.1 christos find_lowest_section.
10140 1.1 christos
10141 1.1 christos 2010-02-16 Sami Wagiaalla <swagiaal (a] redhat.com>
10142 1.1 christos
10143 1.1 christos * NEWS: Added entry for namespace fixes.
10144 1.1 christos
10145 1.1 christos 2010-02-15 Tom Tromey <tromey (a] redhat.com>
10146 1.1 christos
10147 1.1 christos * dwarf2read.c (guess_structure_name): Allocate name on the
10148 1.1 christos objfile obstack.
10149 1.1 christos
10150 1.1 christos 2010-02-15 Tom Tromey <tromey (a] redhat.com>
10151 1.1 christos
10152 1.1 christos * c-typeprint.c (c_type_print_base): Reverse order of test.
10153 1.1 christos
10154 1.1 christos 2010-02-15 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10155 1.1 christos
10156 1.1 christos * solib-svr4.c (LM_ADDR_CHECK): New variable minpagesize. Optionally
10157 1.1 christos initialize it from ELF BFD. Extend the prelink condition by it.
10158 1.1 christos
10159 1.1 christos 2010-02-15 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10160 1.1 christos
10161 1.1 christos * defs.h (parse_pid_to_attach): New.
10162 1.1 christos * utils.c (parse_pid_to_attach): New.
10163 1.1 christos * darwin-nat.c (darwin_attach): Replace ARGS parsing by parse_pid.
10164 1.1 christos * gnu-nat.c (gnu_attach): Likewise.
10165 1.1 christos * nto-procfs.c (procfs_attach): Likewise.
10166 1.1 christos * procfs.c (procfs_attach): Likewise.
10167 1.1 christos * windows-nat.c (windows_attach): Likewise.
10168 1.1 christos * inf-ptrace.c (inf_ptrace_attach): Likewise. Remove variable dummy.
10169 1.1 christos * inf-ttrace.c (inf_ttrace_attach): Likewise.
10170 1.1 christos * remote.c (extended_remote_attach_1): Likewise. New comment on getpid
10171 1.1 christos check.
10172 1.1 christos
10173 1.1 christos 2010-02-14 Masaki Muranaka <monaka (a] monami-software.com>
10174 1.1 christos
10175 1.1 christos * MAINTAINERS: Add myself for write after approval privileges.
10176 1.1 christos
10177 1.1 christos 2010-02-13 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10178 1.1 christos
10179 1.1 christos * solib-svr4.c: (LM_ADDR_CHECK): Move variable align to a more inner
10180 1.1 christos block.
10181 1.1 christos
10182 1.1 christos 2010-02-13 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10183 1.1 christos
10184 1.1 christos * solib-svr4.c: (LM_ADDR_CHECK): Print successful prelink adjustment
10185 1.1 christos only if INFO_VERBOSE.
10186 1.1 christos
10187 1.1 christos 2010-02-12 Tomas Holmberg <th (a] virtutech.com>
10188 1.1 christos
10189 1.1 christos * mi/mi-main.c: Added the --reverse flag to the following MI
10190 1.1 christos commands: exec-continue, exec-finish, exec-next, exec-step,
10191 1.1 christos exec-next-instruction, exec-step-instruction. This is to
10192 1.1 christos support reverse execution over the MI interface to gdb.
10193 1.1 christos
10194 1.1 christos 2010-02-12 Pedro Alves <pedro (a] codesourcery.com>
10195 1.1 christos
10196 1.1 christos * tracepoint.c (_initialize_tracepoint): Specify that the address
10197 1.1 christos range of `tfind outsize' is exclusive, and that the address range
10198 1.1 christos of `tfind range' is inclusive, in the commands' help strings.
10199 1.1 christos
10200 1.1 christos 2010-02-12 Joel Brobecker <brobecker (a] adacore.com>
10201 1.1 christos
10202 1.1 christos Spurious "dll not found" error messages on x64-windows.
10203 1.1 christos * windows-nat.c: Add include of complaints.h.
10204 1.1 christos (handle_unload_dll): Change dll-not-found error into a complaint.
10205 1.1 christos
10206 1.1 christos 2010-02-12 Pedro Alves <pedro (a] codesourcery.com>
10207 1.1 christos
10208 1.1 christos * breakpoint.c (allocate_bp_location): Use bp_loc_other for
10209 1.1 christos bp_tracepoint and bp_fast_tracepoint, not
10210 1.1 christos bp_loc_software_breakpoint.
10211 1.1 christos (update_global_location_list): Tracepoints are never duplicates of
10212 1.1 christos anything.
10213 1.1 christos
10214 1.1 christos 2010-02-12 Pedro Alves <pedro (a] codesourcery.com>
10215 1.1 christos
10216 1.1 christos * breakpoint.c (break_command_really): Change return type to int.
10217 1.1 christos Return false if no breakpoint was created, true otherwise.
10218 1.1 christos (trace_command): Don't set the tracepoint count if no tracepoint
10219 1.1 christos was created.
10220 1.1 christos (ftrace_command): Ditto.
10221 1.1 christos (create_tracepoint_from_upload): Bail out if the tracepoint wasn't
10222 1.1 christos created in the breakpoints table.
10223 1.1 christos
10224 1.1 christos 2010-02-11 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10225 1.1 christos Ulrich Weigand <uweigand (a] de.ibm.com>
10226 1.1 christos
10227 1.1 christos * solib-svr4.c (LM_ADDR_CHECK): New comment on PPC-aware condition.
10228 1.1 christos
10229 1.1 christos 2010-02-11 Pedro Alves <pedro (a] codesourcery.com>
10230 1.1 christos
10231 1.1 christos * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out if
10232 1.1 christos the offset value isn't of integral type.
10233 1.1 christos
10234 1.1 christos 2010-02-11 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10235 1.1 christos
10236 1.1 christos * breakpoint.c (delete_breakpoint) <bpt->related_breakpoint != NULL>:
10237 1.1 christos New.
10238 1.1 christos
10239 1.1 christos 2010-02-11 Pedro Alves <pedro (a] codesourcery.com>
10240 1.1 christos
10241 1.1 christos * ax-gdb.c (gen_exp_binop_rest) [BINOP_SUBSCRIPT]: Error out on
10242 1.1 christos non-subscriptable types.
10243 1.1 christos * valarith.c (binop_types_user_defined_p): New, abstracted out
10244 1.1 christos from ...
10245 1.1 christos (binop_user_defined_p): ... this.
10246 1.1 christos * value.h (binop_types_user_defined_p): Declare.
10247 1.1 christos
10248 1.1 christos 2010-02-11 Pedro Alves <pedro (a] codesourcery.com>
10249 1.1 christos
10250 1.1 christos * tracepoint.c (tfile_open): Remove spurious discard_cleanups.
10251 1.1 christos Merge uploaded TSVs before merging uploaded tracepoints.
10252 1.1 christos
10253 1.1 christos 2010-02-11 Pedro Alves <pedro (a] codesourcery.com>
10254 1.1 christos
10255 1.1 christos * ax-gdb.c (gen_deref): Don't allow dereferencing void pointers.
10256 1.1 christos
10257 1.1 christos 2010-02-11 Vladimir Prus <vladimir (a] codesourcery.com>
10258 1.1 christos
10259 1.1 christos * mi/mi-cmd-stack.c (mi_cmd_stack_list_locals): Add extra
10260 1.1 christos whitespace character after a dot in comment.
10261 1.1 christos (mi_cmd_stack_list_arguments, mi_cmd_stack_list_variables):
10262 1.1 christos Likewise.
10263 1.1 christos (list_args_or_locals): For the 'all' (that is
10264 1.1 christos -stack-list-variables) case, always output list of tuples.
10265 1.1 christos Output 'arg' field if variable is argument.
10266 1.1 christos
10267 1.1 christos 2010-02-10 Tom Tromey <tromey (a] redhat.com>
10268 1.1 christos
10269 1.1 christos * parser-defs.h (parser_debug): Declare.
10270 1.1 christos * parse.c (_initialize_parse): Install "debug parser" set/show
10271 1.1 christos command.
10272 1.1 christos (parser_debug): New global.
10273 1.1 christos (show_parserdebug): New function.
10274 1.1 christos * c-exp.y (c_parse): Set yydebug.
10275 1.1 christos
10276 1.1 christos 2010-02-10 H.J. Lu <hongjiu.lu (a] intel.com>
10277 1.1 christos
10278 1.1 christos * target-descriptions.c (tdesc_type): Add TDESC_TYPE_I387_EXT,
10279 1.1 christos TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR.
10280 1.1 christos (tdesc_predefined_types): Add i387_ext, i386_eflags and
10281 1.1 christos i386_mxcsr.
10282 1.1 christos (tdesc_find_type): New.
10283 1.1 christos (tdesc_gdb_type): Use tdesc_find_type. Handle TDESC_TYPE_I387_EXT,
10284 1.1 christos TDESC_TYPE_I386_EFLAGS and TDESC_TYPE_I386_MXCSR.
10285 1.1 christos
10286 1.1 christos * target-descriptions.h (tdesc_find_type): New.
10287 1.1 christos
10288 1.1 christos 2010-02-10 Michael Snyder <msnyder (a] vmware.com>
10289 1.1 christos
10290 1.1 christos * gdb-gdb.py: Comment fix.
10291 1.1 christos
10292 1.1 christos 2010-02-09 Tristan Gingold <gingold (a] adacore.com>
10293 1.1 christos
10294 1.1 christos * machoread.c (macho_symfile_relocate): New function.
10295 1.1 christos (macho_sym_fns): Use macho_symfile_relocate instead of
10296 1.1 christos default_symfile_relocate.
10297 1.1 christos (macho_oso_data): New type.
10298 1.1 christos (current_oso): New variable.
10299 1.1 christos (macho_add_oso_symfile): Do not compute section_addr_info, but
10300 1.1 christos instead set vma of sections.
10301 1.1 christos Do not set SYMFILE_VERBOSE to call symbol_file_add_from_bfd.
10302 1.1 christos Set and clear current_oso.
10303 1.1 christos
10304 1.1 christos 2010-02-09 Joel Brobecker <brobecker (a] adacore.com>
10305 1.1 christos
10306 1.1 christos Wrong type description for tagged type parameter.
10307 1.1 christos * ada-lang.c (ada_evaluate_subexp) [OP_VAR_VALUE]: When noside is
10308 1.1 christos EVAL_AVOID_SIDE_EFFECTS, also handle the case when type is a
10309 1.1 christos reference to a tagged type.
10310 1.1 christos
10311 1.1 christos 2010-02-09 Tristan Gingold <gingold (a] adacore.com>
10312 1.1 christos
10313 1.1 christos * objfiles.c (objfile_separate_debug_iterate): Do not iterate on
10314 1.1 christos brothers of the parent.
10315 1.1 christos
10316 1.1 christos 2010-02-08 Tom Tromey <tromey (a] redhat.com>
10317 1.1 christos
10318 1.1 christos PR c++/8017:
10319 1.1 christos * value.h: Update.
10320 1.1 christos * valops.c (search_struct_field): Make 'name' const.
10321 1.1 christos (search_struct_method): Likewise.
10322 1.1 christos (find_method_list): Make 'method' const.
10323 1.1 christos (value_struct_elt): Make 'name' and 'err' const.
10324 1.1 christos (value_find_oload_method_list): Make 'method' const.
10325 1.1 christos (find_overload_match): Make 'name' const.
10326 1.1 christos * eval.c (evaluate_subexp_standard): New locals function,
10327 1.1 christos function_name.
10328 1.1 christos <OP_FUNCALL>: Handle OP_SCOPE specially.
10329 1.1 christos
10330 1.1 christos 2010-02-08 Ulrich Weigand <uweigand (a] de.ibm.com>
10331 1.1 christos
10332 1.1 christos * infrun.c (handle_inferior_event): Do not look up regcache
10333 1.1 christos for exited processes.
10334 1.1 christos
10335 1.1 christos 2010-02-08 Chris Moller <moller (a] mollerware.com>
10336 1.1 christos
10337 1.1 christos PR gdb/10728
10338 1.1 christos * valarith.c (value_ptrdiff): Added a test for a zero type length,
10339 1.1 christos warn if found, and assume length = 1.
10340 1.1 christos
10341 1.1 christos 2010-02-08 Chris Moller <cmoller (a] redhat.com>
10342 1.1 christos
10343 1.1 christos PR gdb/9067
10344 1.1 christos * cp-valprint.c (cp_print_value_fields) Fix use of obstacks.
10345 1.1 christos (cp_print_static_field) Fix use of obstacks.
10346 1.1 christos
10347 1.1 christos 2010-02-08 Pedro Alves <pedro (a] codesourcery.com>
10348 1.1 christos
10349 1.1 christos * linux-nat.c (linux_nat_resume): In non-stop, also only tag
10350 1.1 christos resumed LWPs as resumed.
10351 1.1 christos (linux_nat_wait_1): If there's no resumed LWP in the set of LWPs
10352 1.1 christos we're waiting for, bail out with TARGET_WAITKIND_IGNORE, instead
10353 1.1 christos of throwing an internal error. If an LWP of a process we're not
10354 1.1 christos waiting for reports a signal, don't force collecting a SIGSTOP,
10355 1.1 christos and if it was breakpoint hit in non-stop mode, cancel it. Don't
10356 1.1 christos go through all LWPs cancelling breakpoints in non-stop mode.
10357 1.1 christos (resume_stopped_resumed_lwps): New.
10358 1.1 christos (linux_nat_wait): Use it.
10359 1.1 christos
10360 1.1 christos 2010-02-07 H.J. Lu <hongjiu.lu (a] intel.com>
10361 1.1 christos
10362 1.1 christos * features/Makefile (WHICH): Add i386/i386, i386/i386-linux,
10363 1.1 christos i386/amd64 and i386/amd64-linux.
10364 1.1 christos (i386/i386-expedite): New.
10365 1.1 christos (i386/i386-linux-expedite): Likewise.
10366 1.1 christos (i386/amd64-expedite):Likewise.
10367 1.1 christos (i386/amd64-linux-expedite): Likewise.
10368 1.1 christos ($(outdir)/i386/i386-linux.dat): Likewise.
10369 1.1 christos ($(outdir)/i386/amd64.dat): Likewise.
10370 1.1 christos ($(outdir)/i386/amd64-linux.dat): Likewise.
10371 1.1 christos
10372 1.1 christos * features/i386/32bit-core.xml: New.
10373 1.1 christos * features/i386/32bit-linux.xml: Likewise.
10374 1.1 christos * features/i386/32bit-sse.xml: Likewise.
10375 1.1 christos * features/i386/64bit-core.xml: Likewise.
10376 1.1 christos * features/i386/64bit-linux.xml: Likewise.
10377 1.1 christos * features/i386/64bit-sse.xml: Likewise.
10378 1.1 christos * features/i386/i386-linux.xml: Likewise.
10379 1.1 christos * features/i386/i386.xml: Likewise.
10380 1.1 christos * features/i386/amd64-linux.xml: Likewise.
10381 1.1 christos * features/i386/amd64.xml: Likewise.
10382 1.1 christos * features/i386/i386-linux.c: Likewise.
10383 1.1 christos * features/i386/i386.c: Likewise.
10384 1.1 christos * features/i386/amd64-linux.c: Likewise.
10385 1.1 christos * features/i386/amd64.c: Likewise.
10386 1.1 christos
10387 1.1 christos 2010-02-05 Sami Wagiaalla <swagiaal (a] redhat.com>
10388 1.1 christos
10389 1.1 christos PR c++/7935:
10390 1.1 christos * cp-support.h: Added char* alias element to using_direct data
10391 1.1 christos struct.
10392 1.1 christos (cp_add_using): Added char* alias argument.
10393 1.1 christos (cp_add_using_directive): Ditto.
10394 1.1 christos * cp-namespace.c: Updated with the above changes.
10395 1.1 christos (cp_lookup_symbol_imports): Check for aliases.
10396 1.1 christos * dwarf2read.c (read_import_statement): Figure out local alias
10397 1.1 christos for the import and pass it on to cp_add_using.
10398 1.1 christos (read_namespace): Pass alias argument to cp_add_using.
10399 1.1 christos
10400 1.1 christos 2010-02-05 Hui Zhu <teawater (a] gmail.com>
10401 1.1 christos
10402 1.1 christos * defs.h (gdb_bfd_errmsg): New extern.
10403 1.1 christos * exec.c (exec_file_attach): Change bfd_errmsg to
10404 1.1 christos gdb_bfd_errmsg.
10405 1.1 christos * utils.c (AMBIGUOUS_MESS1): New macro.
10406 1.1 christos (AMBIGUOUS_MESS2): New macro.
10407 1.1 christos (gdb_bfd_errmsg): New function.
10408 1.1 christos
10409 1.1 christos 2010-02-04 Doug Evans <dje (a] google.com>
10410 1.1 christos
10411 1.1 christos * solib-svr4.c (enable_break): Add comment.
10412 1.1 christos
10413 1.1 christos 2010-02-04 Anthony Green <green (a] moxielogic.com>
10414 1.1 christos
10415 1.1 christos * moxie-tdep.c (moxie_analyze_prologue): Fail protocol analysis
10416 1.1 christos gracefully.
10417 1.1 christos
10418 1.1 christos 2010-02-04 Tom Tromey <tromey (a] redhat.com>
10419 1.1 christos
10420 1.1 christos * valops.c (search_struct_field): Account for
10421 1.1 christos value_embedded_offset. Fix check for virtual base past the end of
10422 1.1 christos the object. Use value_copy when making a slice of the value.
10423 1.1 christos
10424 1.1 christos 2010-02-04 H.J. Lu <hongjiu.lu (a] intel.com>
10425 1.1 christos
10426 1.1 christos PR tui/9622
10427 1.1 christos * tui/tui-interp.c (tui_init): Call tui_initialize_readline
10428 1.1 christos only if gdb_stdout is a tty.
10429 1.1 christos
10430 1.1 christos 2010-02-04 H.J. Lu <hongjiu.lu (a] intel.com>
10431 1.1 christos
10432 1.1 christos * target-descriptions.c: Include "osabi.h".
10433 1.1 christos (maint_print_c_tdesc_cmd): Generate set_tdesc_osabi for valid
10434 1.1 christos OSABI.
10435 1.1 christos
10436 1.1 christos 2010-02-04 Tristan Gingold <gingold (a] adacore.com>
10437 1.1 christos
10438 1.1 christos * machoread.c (macho_add_oso): Renamed to macho_register_oso.
10439 1.1 christos (macho_symtab_read): Adjust calls to macho_add_oso.
10440 1.1 christos (macho_oso_symfile): Renamed to macho_symfile_read_all_oso.
10441 1.1 christos (macho_symfile_read): Adjust call to macho_oso_symfile.
10442 1.1 christos (macho_new_init): Move this function after declarations.
10443 1.1 christos (macho_symfile_init): Ditto.
10444 1.1 christos * darwin-nat-info.c (darwin_lib_gdb_ports): Remove.
10445 1.1 christos * darwin-nat.c (darwin_lookup_task): Remove unused prototype.
10446 1.1 christos
10447 1.1 christos 2010-02-04 Vladimir Prus <vladimir (a] codesourcery.com>
10448 1.1 christos
10449 1.1 christos Include MI command in remotelog.
10450 1.1 christos
10451 1.1 christos * mi/mi-main.c (mi_execute_command): Call target_log_command.
10452 1.1 christos
10453 1.1 christos 2010-02-03 H.J. Lu <hongjiu.lu (a] intel.com>
10454 1.1 christos
10455 1.1 christos * remote.c (remote_state): Remove gdbarch.
10456 1.1 christos (init_remote_state): Don't set gdbarch.
10457 1.1 christos (remote_query_supported): Pass target_gdbarch instead of
10458 1.1 christos rs->gdbarch to gdbarch_qsupported.
10459 1.1 christos
10460 1.1 christos 2010-02-03 H.J. Lu <hongjiu.lu (a] intel.com>
10461 1.1 christos
10462 1.1 christos * gdbarch.sh: Add qsupported.
10463 1.1 christos
10464 1.1 christos * gdbarch.c: Regenerated.
10465 1.1 christos * gdbarch.h: Likewise.
10466 1.1 christos
10467 1.1 christos * remote.c (remote_state): Add gdbarch.
10468 1.1 christos (init_remote_state): Set gdbarch.
10469 1.1 christos (remote_query_supported): Support gdbarch_qsupported.
10470 1.1 christos
10471 1.1 christos 2010-02-03 Daniel Jacobowitz <dan (a] codesourcery.com>
10472 1.1 christos
10473 1.1 christos * amd64fbsd-nat.c (amd64fbsd_supply_pcb): Also check for
10474 1.1 christos __FreeBSD_kernel_version.
10475 1.1 christos
10476 1.1 christos 2010-02-03 Tristan Gingold <gingold (a] adacore.com>
10477 1.1 christos
10478 1.1 christos * symfile.h (struct sym_fns): Add sym_relocate field.
10479 1.1 christos (default_symfile_relocate): New prototype.
10480 1.1 christos (symfile_relocate_debug_section): First argument is now an objfile.
10481 1.1 christos * symfile.c (default_symfile_relocate): Rename from
10482 1.1 christos symfile_relocate_debug_section, first argument is now an objfile.
10483 1.1 christos (symfile_relocate_debug_section): New function.
10484 1.1 christos * coffread.c (coff_sym_fns): Set sym_relocate field.
10485 1.1 christos * somread.c (som_sym_fns): Ditto.
10486 1.1 christos * mipsread.c (ecoff_sym_fns): Ditto.
10487 1.1 christos * machoread.c (macho_sym_fns): Ditto.
10488 1.1 christos * elfread.c (elf_sym_fns): Ditto.
10489 1.1 christos * dwarf2read.c (dwarf2_read_section): Ditto.
10490 1.1 christos * xcoffread.c (xcoff_sym_fns): Ditto.
10491 1.1 christos * dbxread.c (aout_sym_fns): Ditto.
10492 1.1 christos (dbx_psymtab_to_symtab): Adjust call to symfile_relocate_debug_section.
10493 1.1 christos (elfstab_build_psymtabs): Ditto.
10494 1.1 christos
10495 1.1 christos 2010-02-03 H.J. Lu <hongjiu.lu (a] intel.com>
10496 1.1 christos
10497 1.1 christos * defs.h (MAX_REGISTER_SIZE): Increase to 32.
10498 1.1 christos
10499 1.1 christos 2010-02-02 Tom Tromey <tromey (a] redhat.com>
10500 1.1 christos
10501 1.1 christos * valops.c (value_cast_structs): Try downcasting using the RTTI
10502 1.1 christos type.
10503 1.1 christos
10504 1.1 christos 2010-02-02 Tom Tromey <tromey (a] redhat.com>
10505 1.1 christos
10506 1.1 christos * gnu-v2-abi.c: Don't include gnu-v2-abi.h.
10507 1.1 christos (gnuv2_baseclass_offset): Now static.
10508 1.1 christos * Makefile.in (HFILES_NO_SRCDIR): Remove gnu-v2-abi.h.
10509 1.1 christos * gnu-v2-abi.h: Remove.
10510 1.1 christos
10511 1.1 christos 2010-02-02 Tom Tromey <tromey (a] redhat.com>
10512 1.1 christos
10513 1.1 christos * m2-typeprint.c (m2_record_fields): Don't use
10514 1.1 christos TYPE_DECLARED_TYPE.
10515 1.1 christos * gdbtypes.h (TYPE_DECLARED_CLASS): New macro.
10516 1.1 christos (struct main_type) <flag_declared_class>: New field.
10517 1.1 christos (struct cplus_struct_type) <declared_type>: Remove.
10518 1.1 christos <ntemplate_args>: Move earlier.
10519 1.1 christos (DECLARED_TYPE_CLASS, DECLARED_TYPE_UNION, DECLARED_TYPE_STRUCT)
10520 1.1 christos (DECLARED_TYPE_TEMPLATE): Remove.
10521 1.1 christos (TYPE_DECLARED_TYPE): Remove.
10522 1.1 christos * gdbtypes.c (lookup_union): Don't use TYPE_DECLARED_TYPE.
10523 1.1 christos * dwarf2read.c (read_structure_type): Set TYPE_DECLARED_CLASS.
10524 1.1 christos * c-typeprint.c (c_type_print_base): Use TYPE_DECLARED_CLASS, not
10525 1.1 christos TYPE_DECLARED_TYPE.
10526 1.1 christos
10527 1.1 christos 2010-02-02 Tom Tromey <tromey (a] redhat.com>
10528 1.1 christos
10529 1.1 christos PR c++/11226, PR c++/9629, PR c++/9688, PR c++/8890:
10530 1.1 christos * valops.c (search_struct_field): Compute nbases after calling
10531 1.1 christos CHECK_TYPEDEF.
10532 1.1 christos (check_field): Call CHECK_TYPEDEF.
10533 1.1 christos * cp-valprint.c (cp_print_value): Pass correct address to
10534 1.1 christos baseclass_offset. Fix check for virtual base past the end of the
10535 1.1 christos object. Don't offset address passed to cp_print_value_fields or
10536 1.1 christos apply_val_pretty_printer.
10537 1.1 christos (cp_print_value_fields): Fix call to val_print.
10538 1.1 christos (cp_print_value_fields_rtti): New function.
10539 1.1 christos * c-valprint.c (c_val_print): Use cp_print_value_fields_rtti.
10540 1.1 christos * p-valprint.c (pascal_object_print_value_fields): Fix call to
10541 1.1 christos val_print.
10542 1.1 christos * python/py-prettyprint.c (apply_val_pretty_printer): Add embedded
10543 1.1 christos offset to address.
10544 1.1 christos * language.h (struct language_defn) <la_val_print>: Document.
10545 1.1 christos * c-lang.h (cp_print_value_fields_rtti): Declare.
10546 1.1 christos
10547 1.1 christos 2010-02-01 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10548 1.1 christos
10549 1.1 christos PR libc/11214:
10550 1.1 christos * linux-low.c (linux_tracefork_child) [!(__UCLIBC__ && HAS_NOMMU)]: New.
10551 1.1 christos (linux_test_for_tracefork): Move `stack' into [__UCLIBC__ && HAS_NOMMU].
10552 1.1 christos (linux_test_for_tracefork) [!(__UCLIBC__ && HAS_NOMMU)]: New.
10553 1.1 christos
10554 1.1 christos 2010-02-01 Michael Matz <matz (a] suse.de>
10555 1.1 christos Daniel Jacobowitz <dan (a] codesourcery.com>
10556 1.1 christos
10557 1.1 christos * i386-tdep.c (i386_frame_cache): Assume valid anonymous
10558 1.1 christos functions use a frame pointer.
10559 1.1 christos
10560 1.1 christos 2010-02-01 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10561 1.1 christos
10562 1.1 christos * solib-svr4.c (scan_dyntag): New variable dyn_addr. Replace gdb_assert
10563 1.1 christos by a conditional setting DYN_ADDR. Use DYN_ADDR.
10564 1.1 christos * config/djgpp/fnchange.lst: Add translations for
10565 1.1 christos symbol-without-target_section.exp and symbol-without-target_section.c.
10566 1.1 christos
10567 1.1 christos 2010-02-01 Daniel Jacobowitz <dan (a] codesourcery.com>
10568 1.1 christos
10569 1.1 christos * gdbarch.sh: Set LANG and LC_ALL to C, not c.
10570 1.1 christos (remote_breakpoint_for_pc): Correct invalid_p check.
10571 1.1 christos * gdbarch.c: Regenerated.
10572 1.1 christos
10573 1.1 christos 2010-02-01 Daniel Jacobowitz <dan (a] codesourcery.com>
10574 1.1 christos
10575 1.1 christos * arm-tdep.c (arm_find_mapping_symbol): New function, from
10576 1.1 christos arm_pc_is_thumb.
10577 1.1 christos (arm_pc_is_thumb): Use arm_find_mapping_symbol.
10578 1.1 christos (extend_buffer_earlier): New function.
10579 1.1 christos (MAX_IT_BLOCK_PREFIX, IT_SCAN_THRESHOLD): New constants.
10580 1.1 christos (arm_adjust_breakpoint_address): New function.
10581 1.1 christos (arm_gdbarch_init): Register arm_adjust_breakpoint_address.
10582 1.1 christos
10583 1.1 christos 2010-02-01 Daniel Jacobowitz <dan (a] codesourcery.com>
10584 1.1 christos
10585 1.1 christos * arm-linux-tdep.c (arm_linux_thumb2_be_breakpoint)
10586 1.1 christos (arm_linux_thumb2_le_breakpoint): New constants.
10587 1.1 christos (arm_linux_init_abi): Set thumb2_breakpoint and
10588 1.1 christos thumb2_breakpoint_size.
10589 1.1 christos * arm-tdep.c (thumb_insn_size, thumb_advance_itstate): New functions.
10590 1.1 christos (thumb_get_next_pc): Add a comment. Rename IT to ITSTATE.
10591 1.1 christos Implement support for single stepping through IT blocks if
10592 1.1 christos a 32-bit Thumb breakpoint instruction is available.
10593 1.1 christos (arm_breakpoint_from_pc): If a 32-bit Thumb breakpoint instruction
10594 1.1 christos is available, use it when needed.
10595 1.1 christos (arm_remote_breakpoint_from_pc): New function.
10596 1.1 christos (arm_gdbarch_init): Register arm_remote_breakpoint_from_pc.
10597 1.1 christos * arm-tdep.h (struct gdbarch_tdep): Correct thumb_breakpoint
10598 1.1 christos comment. Add thumb2_breakpoint and thumb2_breakpoint_size.
10599 1.1 christos
10600 1.1 christos 2010-02-01 Daniel Jacobowitz <dan (a] codesourcery.com>
10601 1.1 christos
10602 1.1 christos * arch-utils.c (default_remote_breakpoint_from_pc): New function.
10603 1.1 christos * arch-utils.h (default_remote_breakpoint_from_pc): Declare.
10604 1.1 christos * gdbarch.c, gdbarch.h: Regenerated.
10605 1.1 christos * gdbarch.sh (remote_breakpoint_from_pc): New architecture method.
10606 1.1 christos * remote.c (remote_insert_breakpoint, remote_insert_hw_breakpoint): Use
10607 1.1 christos gdbarch_remote_breakpoint_from_pc.
10608 1.1 christos
10609 1.1 christos 2010-01-29 Daniel Jacobowitz <dan (a] codesourcery.com>
10610 1.1 christos
10611 1.1 christos * infrun.c (prepare_to_proceed): Handle other signals which might
10612 1.1 christos match a breakpoint.
10613 1.1 christos (handle_inferior_event): Move the check for unusual breakpoint
10614 1.1 christos signals earlier.
10615 1.1 christos
10616 1.1 christos 2010-01-29 Paul Hilfinger <hilfinger (a] adacore.com>
10617 1.1 christos
10618 1.1 christos amd64 - function returning record with field straddling 2 registers.
10619 1.1 christos * amd64-tdep.c (amd_classify_aggregate): Handle the case of
10620 1.1 christos a record of length <= 16 in which a field straddles the two
10621 1.1 christos eightbytes.
10622 1.1 christos
10623 1.1 christos 2010-01-29 Joel Brobecker <brobecker (a] adacore.com>
10624 1.1 christos
10625 1.1 christos Implement return values on amd64-windows.
10626 1.1 christos * amd64-windows-tdep.c: #include gdbcore.h and regcache.h.
10627 1.1 christos (amd64_windows_return_value): New function.
10628 1.1 christos (amd64_windows_init_abi): Call set_gdbarch_return_value with
10629 1.1 christos amd64_windows_return_value.
10630 1.1 christos
10631 1.1 christos 2010-01-29 Joel Brobecker <brobecker (a] adacore.com>
10632 1.1 christos
10633 1.1 christos amd64-windows: 32 bytes allocated on stack by caller for integer
10634 1.1 christos parameter registers.
10635 1.1 christos * i386-tdep.h (struct gdbarch_tdep): Add new field
10636 1.1 christos integer_param_regs_saved_in_caller_frame.
10637 1.1 christos * amd64-windows-tdep.c (amd64_windows_init_abi): Set
10638 1.1 christos tdep->integer_param_regs_saved_in_caller_frame to 1.
10639 1.1 christos * amd64-tdep.c (amd64_push_dummy_call): Allocate some memory on
10640 1.1 christos stack if tdep->integer_param_regs_saved_in_caller_frame is set.
10641 1.1 christos
10642 1.1 christos 2010-01-29 Joel Brobecker <brobecker (a] adacore.com>
10643 1.1 christos
10644 1.1 christos amd64-windows: memory args passed by pointer during function calls.
10645 1.1 christos * i386-tdep.h (gdbarch_tdep): Add field memory_args_by_pointer.
10646 1.1 christos * amd64-tdep.c (amd64_push_arguments): Add handling of architectures
10647 1.1 christos where tdep->memory_args_by_pointer is non-zero.
10648 1.1 christos * amd64-windows-tdep.c (amd64_windows_init_abi): Set
10649 1.1 christos tdep->memory_args_by_pointer to 1.
10650 1.1 christos
10651 1.1 christos 2010-01-29 Joel Brobecker <brobecker (a] adacore.com>
10652 1.1 christos
10653 1.1 christos amd64-windows: Integer parameters in function calls.
10654 1.1 christos * i386-tdep.h (enum amd64_reg_class): New, moved here from
10655 1.1 christos amd64-tdep.c.
10656 1.1 christos (struct gdbarch_tdep): Add fields call_dummy_num_integer_regs,
10657 1.1 christos call_dummy_integer_regs, and classify.
10658 1.1 christos * amd64-tdep.h (amd64_classify): Add declaration.
10659 1.1 christos * amd64-tdep.c (amd64_dummy_call_integer_regs): New static constant.
10660 1.1 christos (amd64_reg_class): Delete, moved to i386-tdep.h.
10661 1.1 christos (amd64_classify): Make non-static. Move declaration to amd64-tdep.h.
10662 1.1 christos Replace call to amd64_classify by call to tdep->classify.
10663 1.1 christos (amd64_push_arguments): Get the list of registers to use for
10664 1.1 christos passing integer parameters from the gdbarch tdep structure,
10665 1.1 christos rather than using a hardcoded one. Replace calls to amd64_classify
10666 1.1 christos by calls to tdep->classify.
10667 1.1 christos (amd64_push_dummy_call): Get the register number used for
10668 1.1 christos the "hidden" argument from tdep->call_dummy_integer_regs.
10669 1.1 christos (amd64_init_abi): Initialize tdep->call_dummy_num_integer_regs
10670 1.1 christos and tdep->call_dummy_integer_regs. Set tdep->classify.
10671 1.1 christos * amd64-windows-tdep.c: Add include of gdbtypes.h.
10672 1.1 christos (amd64_windows_dummy_call_integer_regs): New static global.
10673 1.1 christos (amd64_windows_classify): New function.
10674 1.1 christos (amd64_windows_init_abi): Initialize tdep->call_dummy_num_integer_regs
10675 1.1 christos tdep->call_dummy_integer_regs and tdep->classify.
10676 1.1 christos
10677 1.1 christos 2010-01-28 Daniel Jacobowitz <dan (a] codesourcery.com>
10678 1.1 christos
10679 1.1 christos * regcache.c (regcache_xmalloc): Add aspace argument. Use it
10680 1.1 christos for the new regcache. All callers updated.
10681 1.1 christos (regcache_cpy, regcache_cpy_no_passthrough): Do not set aspace here.
10682 1.1 christos (get_thread_arch_regcache): Do not set aspace here.
10683 1.1 christos * regcache.h (regcache_xmalloc): Update declaration.
10684 1.1 christos
10685 1.1 christos * frame.c, infcall.c, ppc-linux-tdep.c: Calls to
10686 1.1 christos regcache_xmalloc updated.
10687 1.1 christos
10688 1.1 christos 2010-01-28 Joel Brobecker <brobecker (a] adacore.com>
10689 1.1 christos
10690 1.1 christos Another -Wunused-function error in procfs.c (sparc-solaris)
10691 1.1 christos * procfs.c (insert_dbx_link_breakpoint): Delete declaration. Move up.
10692 1.1 christos Only define if SYS_syssgi is defined.
10693 1.1 christos (remove_dbx_link_breakpoint): Delete declaration. Move up.
10694 1.1 christos (dbx_link_addr, insert_dbx_link_bpt_in_file)
10695 1.1 christos (insert_dbx_link_bpt_in_region): Move up. Only define if SYS_syssgi
10696 1.1 christos is itself defined.
10697 1.1 christos
10698 1.1 christos 2010-01-27 Christopher Faylor <me+cygwin (a] cgf.cx>
10699 1.1 christos
10700 1.1 christos * windows-nat.c (windows_initialization_done): New variable.
10701 1.1 christos (get_windows_debug_event): Issue error when process dies before
10702 1.1 christos completely initializing.
10703 1.1 christos (do_initial_windows_stuff): Set flag to indicate when we are done with
10704 1.1 christos the initial steps of attaching to the child.
10705 1.1 christos
10706 1.1 christos 2010-01-27 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10707 1.1 christos
10708 1.1 christos * symtab.h (struct symbol <symtab>): New comment on NULL values.
10709 1.1 christos
10710 1.1 christos 2010-01-27 Doug Evans <dje (a] google.com>
10711 1.1 christos
10712 1.1 christos * solib-svr4.c (solib_break_names): Add __dl_rtld_db_dlactivity.
10713 1.1 christos
10714 1.1 christos * breakpoint.c (bpstat_stop_status): Delete useless code.
10715 1.1 christos
10716 1.1 christos 2010-01-27 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10717 1.1 christos
10718 1.1 christos * printcmd.c (display_uses_solib_p): Remove variable section. Access
10719 1.1 christos objfile via SYMBOL_SYMTAB.
10720 1.1 christos
10721 1.1 christos 2010-01-26 Tom Tromey <tromey (a] redhat.com>
10722 1.1 christos
10723 1.1 christos PR exp/7643:
10724 1.1 christos * eval.c (evaluate_subexp_for_address) <UNOP_IND>: Call
10725 1.1 christos coerce_array on result.
10726 1.1 christos
10727 1.1 christos 2010-01-26 Sami Wagiaalla <swagiaal (a] redhat.com>
10728 1.1 christos
10729 1.1 christos * cp-namespace.c (cp_lookup_symbol_namespace): Added
10730 1.1 christos search_parent argument.
10731 1.1 christos (cp_add_using): Initialize 'searched' field.
10732 1.1 christos (reset_directive_searched): New function.
10733 1.1 christos * cp-support.h: Add 'searched' field to using_direct struct.
10734 1.1 christos (cp_lookup_symbol_imports): Ditto.
10735 1.1 christos * cp-namespace.c (cp_lookup_symbol_imports): Ditto.
10736 1.1 christos Perform recursive search.
10737 1.1 christos Implement non parent search.
10738 1.1 christos * valops.c (value_maybe_namespace_elt): Updated.
10739 1.1 christos
10740 1.1 christos 2010-01-26 Sami Wagiaalla <swagiaal (a] redhat.com>
10741 1.1 christos
10742 1.1 christos PR gdb/10929:
10743 1.1 christos * dwarf2read.c (read_lexical_block_scope): Create blocks for
10744 1.1 christos scopes which contain using directives even if they contain no
10745 1.1 christos declarations.
10746 1.1 christos * symtab.c (lookup_symbol_aux): Pass lowest level block to
10747 1.1 christos la_lookup_symbol_nonlocal.
10748 1.1 christos * cp-namespace.c (cp_lookup_symbol_nonlocal): call
10749 1.1 christos cp_lookup_symbol_namespace.
10750 1.1 christos (cp_lookup_symbol_namespace): Perform an import lookup at every
10751 1.1 christos block level.
10752 1.1 christos (cp_lookup_symbol_imports): New function.
10753 1.1 christos (cp_lookup_symbol_in_namespace): New function.
10754 1.1 christos
10755 1.1 christos 2010-01-25 Tom Tromey <tromey (a] redhat.com>
10756 1.1 christos
10757 1.1 christos PR gdb/11049:
10758 1.1 christos * c-valprint.c (c_val_print): Fix test of extract_unsigned_integer
10759 1.1 christos result.
10760 1.1 christos
10761 1.1 christos 2010-01-25 Rainer Orth <ro (a] CeBiTec.Uni-Bielefeld.DE>
10762 1.1 christos
10763 1.1 christos * configure.ac: Only use host_os part when disabling TUI on osf.
10764 1.1 christos Use test to check variables, prefix strings with x.
10765 1.1 christos * configure: Regenerate.
10766 1.1 christos
10767 1.1 christos * solib-osf.c (osf_current_sos): Initialize tail.
10768 1.1 christos
10769 1.1 christos 2010-01-25 gingold <gingold (a] adacore.com>
10770 1.1 christos
10771 1.1 christos * windows-nat.c (windows_continue): Use %x to print thread id.
10772 1.1 christos (get_windows_debug_event): Ditto.
10773 1.1 christos
10774 1.1 christos 2010-01-22 Tom Tromey <tromey (a] redhat.com>
10775 1.1 christos
10776 1.1 christos PR symtab/11199:
10777 1.1 christos * dwarf2read.c (quirk_gcc_member_function_pointer): Change return
10778 1.1 christos type and arguments. Use smash_to_methodptr_type.
10779 1.1 christos (read_structure_type): Call quirk_gcc_member_function_pointer
10780 1.1 christos later.
10781 1.1 christos * gdbtypes.h (smash_to_methodptr_type): Declare.
10782 1.1 christos * gdbtypes.c (smash_to_methodptr_type): New function.
10783 1.1 christos (lookup_methodptr_type): Use it.
10784 1.1 christos
10785 1.1 christos 2010-01-21 Tom Tromey <tromey (a] redhat.com>
10786 1.1 christos
10787 1.1 christos PR symtab/11198:
10788 1.1 christos * symtab.h (lookup_minimal_symbol_and_objfile): Declare.
10789 1.1 christos * minsyms.c (lookup_minimal_symbol_and_objfile): New function.
10790 1.1 christos * glibc-tdep.c (find_minsym_and_objfile): Remove.
10791 1.1 christos (glibc_skip_solib_resolver): Use
10792 1.1 christos lookup_minimal_symbol_and_objfile.
10793 1.1 christos
10794 1.1 christos 2010-01-21 Kai Tietz <kai.tietz (a] onevision.com>
10795 1.1 christos
10796 1.1 christos * inflow.c (check_syscall): Guard by #if clause for GO32 and
10797 1.1 christos WIN32 targets.
10798 1.1 christos
10799 1.1 christos 2010-01-20 Tom Tromey <tromey (a] redhat.com>
10800 1.1 christos
10801 1.1 christos PR backtrace/10770:
10802 1.1 christos * valarith.c (value_binop): Handle BINOP_GTR, BINOP_LEQ, and
10803 1.1 christos BINOP_GEQ. Handle BINOP_NOTEQUAL in the signed case.
10804 1.1 christos * dwarf2expr.c (new_dwarf_expr_context): Allocate
10805 1.1 christos dwarf_stack_values, not CORE_ADDRs.
10806 1.1 christos (execute_stack_op): Change DW_OP_div and comparison operators to
10807 1.1 christos use signed operands.
10808 1.1 christos
10809 1.1 christos 2010-01-20 Vladimir Prus <vladimir (a] codesourcery.com>
10810 1.1 christos
10811 1.1 christos Per-inferior args and tty and environment.
10812 1.1 christos
10813 1.1 christos * infcmd.c (inferior_args): Rename to ...
10814 1.1 christos (inferior_args_scratch): ... this.
10815 1.1 christos (inferior_io_terminal): Rename to ...
10816 1.1 christos (inferior_io_terminal_scratch): ... this.
10817 1.1 christos (inferior_argc, inferior_argv): Remove.
10818 1.1 christos (set_inferior_io_terminal, get_inferior_io_terminal): Store
10819 1.1 christos inside current_inferior().
10820 1.1 christos (set_inferior_tty_command, show_inferior_tty_command): New.
10821 1.1 christos (get_inferior_args, set_inferior_args): Store inside
10822 1.1 christos current_inferior().
10823 1.1 christos (notice_args_set): Likewise and rename to...
10824 1.1 christos (set_args_command): ... this.
10825 1.1 christos (set_inferior_args_vector): Likewise.
10826 1.1 christos (notice_args_read): Rename to...
10827 1.1 christos (show_args_command): ...new.
10828 1.1 christos (tty_command): Remove.
10829 1.1 christos (run_command_1): Don't free old args, as they are freed by
10830 1.1 christos set_inferior_arg now.
10831 1.1 christos (run_no_args_command): Likewise.
10832 1.1 christos (inferior_environ): Remove.
10833 1.1 christos (run_command_1): Use environment of the current inferior.
10834 1.1 christos (environment_info, set_environment_command)
10835 1.1 christos (unset_environment_command, path_info, path_command): Likewise.
10836 1.1 christos (_initialize_infcmd): Adjust for function and variable renames.
10837 1.1 christos Do not init inferior_environ.
10838 1.1 christos * inferior.h (set_inferior_arg): Adjust prototype.
10839 1.1 christos (struct inferior): New fields args, argc, argv, terminal, environment.
10840 1.1 christos (inferior_environ): Remove declaration.
10841 1.1 christos * inferior.c (free_inferior): Free new fields.
10842 1.1 christos (add_inferior_silent): Initialize 'environment' field.
10843 1.1 christos * main.c (captured_main): Set arguments only after the initial
10844 1.1 christos inferior has been created. Set set_inferior_io_terminal,
10845 1.1 christos not tty_command.
10846 1.1 christos * mi/mi-main.c (mi_cmd_env_path): Use environment of the current
10847 1.1 christos inferior.
10848 1.1 christos (_initialize_mi_cmd_env): Adjust for disappearance of global
10849 1.1 christos inferior_environ.
10850 1.1 christos * solib.c (solib_find): Use environment of the current inferior.
10851 1.1 christos
10852 1.1 christos 2010-01-20 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10853 1.1 christos
10854 1.1 christos * varobj.c (varobj_add_child, install_dynamic_child): Wrap into #if
10855 1.1 christos HAVE_PYTHON.
10856 1.1 christos (instantiate_pretty_printer): Move HAVE_PYTHON outside of the function.
10857 1.1 christos
10858 1.1 christos 2010-01-20 Joel Brobecker <brobecker (a] adacore.com>
10859 1.1 christos
10860 1.1 christos Get rid of ada-lang.c:function_name_from_pc.
10861 1.1 christos * ada-lang.c: Add "stack.h" #include.
10862 1.1 christos (function_name_from_pc): Delete.
10863 1.1 christos (is_known_support_routine): Replace call to function_name_from_pc
10864 1.1 christos by call to find_frame_funname.
10865 1.1 christos (ada_unhandled_exception_name_addr_from_raise): Likewise.
10866 1.1 christos
10867 1.1 christos 2010-01-19 Tom Tromey <tromey (a] redhat.com>
10868 1.1 christos
10869 1.1 christos PR c++/11026:
10870 1.1 christos * dwarf2read.c (read_partial_die): Allocate partial DIE's name on
10871 1.1 christos objfile obstack.
10872 1.1 christos
10873 1.1 christos 2010-01-19 Tom Tromey <tromey (a] redhat.com>
10874 1.1 christos
10875 1.1 christos * top.c (stop_sig, float_handler, do_nothing): Remove.
10876 1.1 christos
10877 1.1 christos 2010-01-19 Jan Kratochvil <jan.kratochvil (a] redhat.com>
10878 1.1 christos
10879 1.1 christos * breakpoint.c (watchpoint_check): Check the call
10880 1.1 christos gdbarch_in_function_epilogue_p before calling frame_find_by_id.
10881 1.1 christos Extend the comment.
10882 1.1 christos * config/djgpp/fnchange.lst: Add translations for
10883 1.1 christos watchpoint-cond-gone.exp, watchpoint-cond-gone.c and
10884 1.1 christos watchpoint-cond-gone-stripped.c.
10885 1.1 christos
10886 1.1 christos 2010-01-19 Tom Tromey <tromey (a] redhat.com>
10887 1.1 christos
10888 1.1 christos PR c++/8000:
10889 1.1 christos * dwarf2read.c (partial_die_parent_scope): Put enumeration type
10890 1.1 christos into parent scope, and enumerator into grandparent scope.
10891 1.1 christos
10892 1.1 christos 2010-01-19 Joel Brobecker <brobecker (a] adacore.com>
10893 1.1 christos
10894 1.1 christos * NEWS: Add entry for "set/show ada trust-PAD-over-XVS" commands.
10895 1.1 christos
10896 1.1 christos 2010-01-19 Joel Brobecker <brobecker (a] adacore.com>
10897 1.1 christos
10898 1.1 christos * configure.host: Make x86_64-*-solaris2.1[0-9]* an alias of
10899 1.1 christos i[34567]86-*-solaris2.1[0-9]*.
10900 1.1 christos * configure.tgt: Likewise.
10901 1.1 christos
10902 1.1 christos 2010-01-19 Joel Brobecker <brobecker (a] adacore.com>
10903 1.1 christos
10904 1.1 christos * NEWS: Document the source command enhancement allowing it
10905 1.1 christos to load Python scripts. Document the "set/show script-extension"
10906 1.1 christos commands.
10907 1.1 christos
10908 1.1 christos 2010-01-19 Joel Brobecker <brobecker (a] adacore.com>
10909 1.1 christos
10910 1.1 christos Add -Wunused-function to compile flags.
10911 1.1 christos * configure.ac: Add -Wunused-function to build_warnings.
10912 1.1 christos * configure: Regenerate.
10913 1.1 christos
10914 1.1 christos 2010-01-19 Joel Brobecker <brobecker (a] adacore.com>
10915 1.1 christos
10916 1.1 christos "delete" ada-lex.c:input function, not used.
10917 1.1 christos * ada-lex.l: #define YY_NO_INPUT.
10918 1.1 christos
10919 1.1 christos 2010-01-19 Joel Brobecker <brobecker (a] adacore.com>
10920 1.1 christos
10921 1.1 christos Delete free_named_symtabs and associated cleanup.
10922 1.1 christos * symfile.h (free_named_symtabs): Delete declaration.
10923 1.1 christos * symfile.c: Remove some commented out code (clear_symtab_users_once).
10924 1.1 christos (cashier_psymtab): Comment function out.
10925 1.1 christos Delete declaration.
10926 1.1 christos (free_named_symtabs): Delete.
10927 1.1 christos * coffread.c (coff_end_symtab): Remove call to free_named_symtabs.
10928 1.1 christos * dbxread.c (end_psymtab): Likewise.
10929 1.1 christos * dwarf2read.c (process_psymtab_comp_unit): Ditto.
10930 1.1 christos * exec.c (exec_close_1): Ditto.
10931 1.1 christos * xcoffread.c (xcoff_end_psymtab): Likewise.
10932 1.1 christos
10933 1.1 christos 2010-01-19 Joel Brobecker <brobecker (a] adacore.com>
10934 1.1 christos
10935 1.1 christos * stack.c (print_block_frame_labels): Comment function out.
10936 1.1 christos
10937 1.1 christos 2010-01-19 Joel Brobecker <brobecker (a] adacore.com>
10938 1.1 christos
10939 1.1 christos Delete unused or undefined functions.
10940 1.1 christos * breakpoint.c (ep_parse_optional_filename): Delete.
10941 1.1 christos * dcache.c (dcache_write_line): Remove declaration.
10942 1.1 christos * infrun.c (build_infrun): Remove declaration.
10943 1.1 christos * tracepoint.c (tracepoint_save_command): Remove declaration.
10944 1.1 christos * linux-nat.c (init_lwp_list): Delete. No longer used.
10945 1.1 christos * event-loop.c (check_async_signal_handlers): Delete declaration.
10946 1.1 christos * infrun.c (init_execution_control_state): Delete.
10947 1.1 christos (proceed): Update comment to avoid mentioning
10948 1.1 christos init_execution_control_state.
10949 1.1 christos * target.c (kill_or_be_killed, nosupport_runtime): Delete.
10950 1.1 christos * ada-lang.c (ada_to_static_fixed_value): Delete.
10951 1.1 christos * scm-lang.c (evaluate_subexp_scm): Delete declaration.
10952 1.1 christos * cp-namespace.c (cp_copy_usings): Delete.
10953 1.1 christos * xml-syscall.c (xml_number_of_syscalls): Delete.
10954 1.1 christos * progspace.c (find_program_space_by_num): Delete.
10955 1.1 christos * inflow.c (handle_sigio): Delete declaration.
10956 1.1 christos * hppa-tdep.c (hppa_alignof): Delete.
10957 1.1 christos * mipsnbsd-tdep.c (mipsnbsd_sigtramp_offset)
10958 1.1 christos (mipsnbsd_core_osabi_sniffer): Delete.
10959 1.1 christos
10960 1.1 christos 2010-01-18 Tom Tromey <tromey (a] redhat.com>
10961 1.1 christos
10962 1.1 christos PR c++/9680:
10963 1.1 christos * c-exp.y (REINTERPRET_CAST, DYNAMIC_CAST, STATIC_CAST)
10964 1.1 christos (CONST_CAST): New tokens.
10965 1.1 christos (exp): Add new productions.
10966 1.1 christos (ident_tokens): Add const_cast, dynamic_cast, static_cast, and
10967 1.1 christos reinterpret_cast.
10968 1.1 christos (is_cast_operator): New function.
10969 1.1 christos (yylex): Handle cast operators specially.
10970 1.1 christos * eval.c (evaluate_subexp_standard) <UNOP_DYNAMIC_CAST,
10971 1.1 christos UNOP_REINTERPRET_CAST>: New cases.
10972 1.1 christos * expprint.c (print_subexp_standard): Likewise.
10973 1.1 christos (op_name_standard): Likewise.
10974 1.1 christos (dump_subexp_body_standard): Likewise.
10975 1.1 christos * parse.c (operator_length_standard): Likewise.
10976 1.1 christos * expression.h (enum exp_opcode): New constants UNOP_DYNAMIC_CAST,
10977 1.1 christos UNOP_REINTERPRET_CAST.
10978 1.1 christos * gdbtypes.c (class_types_same_p): New function.
10979 1.1 christos (is_ancestor): Use it.
10980 1.1 christos (is_public_ancestor): New function.
10981 1.1 christos (is_unique_ancestor_worker): Likewise.
10982 1.1 christos (is_unique_ancestor): Likewise.
10983 1.1 christos * gdbtypes.h (class_types_same_p, is_public_ancestor)
10984 1.1 christos (is_unique_ancestor): Declare.
10985 1.1 christos * valops.c (value_reinterpret_cast): New function.
10986 1.1 christos (dynamic_cast_check_1): Likewise.
10987 1.1 christos (dynamic_cast_check_2): Likewise.
10988 1.1 christos (value_dynamic_cast): Likewise.
10989 1.1 christos * value.h (value_reinterpret_cast, value_dynamic_cast): Declare.
10990 1.1 christos
10991 1.1 christos 2010-01-18 Joel Brobecker <brobecker (a] adacore.com>
10992 1.1 christos
10993 1.1 christos Fix build failure when building without Python support.
10994 1.1 christos * python/python.c: Always include exceptions.h, even when HAVE_PYTHON
10995 1.1 christos is not defined.
10996 1.1 christos
10997 1.1 christos 2010-01-18 Joel Brobecker <brobecker (a] adacore.com>
10998 1.1 christos
10999 1.1 christos Use XVS field type instead of doing a parallel lookup.
11000 1.1 christos * ada-lang.c (ada_get_base_type): Follow the XVS field type
11001 1.1 christos if it is a reference type instead of doing a type lookup using
11002 1.1 christos the XVS field name.
11003 1.1 christos
11004 1.1 christos 2010-01-18 Joel Brobecker <brobecker (a] adacore.com>
11005 1.1 christos
11006 1.1 christos Trust PAD types instead of using PAD___XVS.
11007 1.1 christos * ada-lang.c (trust_pad_over_xvs): New static variable.
11008 1.1 christos (ada_is_aligner_type): If !trust_pad_over_xvs and there is a
11009 1.1 christos parallel XVS type, follow the XVS type instead of the PAD type.
11010 1.1 christos (unwrap_value): Make sure that there is no parallel XVE type
11011 1.1 christos before returning the value as is.
11012 1.1 christos (set_ada_list, show_ada_list): New static variables.
11013 1.1 christos (set_ada_command, show_ada_command): New functions.
11014 1.1 christos (_initialize_ada_language): Add new "set/show ada" prefix commands.
11015 1.1 christos Add new "set/show ada trust-PAD-over-XVS" setting.
11016 1.1 christos
11017 1.1 christos 2010-01-18 Tom Tromey <tromey (a] redhat.com>
11018 1.1 christos Thiago Jung Bauermann <bauerman (a] br.ibm.com>
11019 1.1 christos
11020 1.1 christos Allow "source" to load python scripts.
11021 1.1 christos * exceptions.h (enum errors): Add UNSUPPORTED_ERROR.
11022 1.1 christos * python/python.c (source_python_script): New function.
11023 1.1 christos * python/python.h (source_python_script): Add declaration.
11024 1.1 christos * cli/cli-cmds.c: #include exceptions.h and python/python.h.
11025 1.1 christos (script_ext_off, script_ext_soft, script_ext_strict)
11026 1.1 christos (script_ext_enums, script_ext_mode): New static constants.
11027 1.1 christos (show_script_ext_mode, find_and_open_script): New functions.
11028 1.1 christos (source_script): Enhance to handle Python scripts.
11029 1.1 christos (init_cli_cmds): Add set/show script-extension commands.
11030 1.1 christos
11031 1.1 christos 2010-01-16 Stan Shebs <stan (a] codesourcery.com>
11032 1.1 christos
11033 1.1 christos * tracepoint.h (struct trace_status): Use unsigned long long
11034 1.1 christos instead of size_t.
11035 1.1 christos * tracepoint.c (trace_status_command): Fix printf directive.
11036 1.1 christos (trace_save_command): Check fwrite returns, fix printf directive.
11037 1.1 christos (trace_filename): New global.
11038 1.1 christos (tfile_open): Set it, check read returns.
11039 1.1 christos (tfile_close): Free trace_filename.
11040 1.1 christos (tfile_get_traceframe_address): Check read returns.
11041 1.1 christos (tfile_trace_find): Ditto.
11042 1.1 christos (tfile_fetch_registers): Ditto.
11043 1.1 christos (tfile_xfer_partial): Ditto.
11044 1.1 christos (tfile_get_trace_state_variable_value): Ditto.
11045 1.1 christos
11046 1.1 christos 2010-01-15 Stan Shebs <stan (a] codesourcery.com>
11047 1.1 christos
11048 1.1 christos Add trace file support.
11049 1.1 christos * tracepoint.h (enum trace_stop_reason): New enum.
11050 1.1 christos (struct trace_status): New struct.
11051 1.1 christos (parse_trace_status): Declare.
11052 1.1 christos (struct uploaded_tp): Move here from remote.c,
11053 1.1 christos add fields for actions.
11054 1.1 christos (struct uploaded_tsv): New struct.
11055 1.1 christos * tracepoint.c (tfile_ops): New target vector.
11056 1.1 christos (trace_fd): New global.
11057 1.1 christos (tfile_open): New function.
11058 1.1 christos (tfile_close): New function.
11059 1.1 christos (tfile_files_info): New function.
11060 1.1 christos (tfile_get_trace_status): New function.
11061 1.1 christos (tfile_get_traceframe_address): New function.
11062 1.1 christos (tfile_trace_find): New function.
11063 1.1 christos (tfile_fetch_registers): New function.
11064 1.1 christos (tfile_xfer_partial): New function.
11065 1.1 christos (tfile_get_trace_state_variable_value): New function.
11066 1.1 christos (init_tfile_ops): New function.
11067 1.1 christos (_initialize_tracepoint): Call it, add tfile target.
11068 1.1 christos (trace_status): New global.
11069 1.1 christos (current_trace_status): New function.
11070 1.1 christos (trace_running_p): Remove, change all users to get from
11071 1.1 christos current_trace_status()->running.
11072 1.1 christos (get_trace_status): Remove.
11073 1.1 christos (trace_status_command): Call target_get_trace_status directly,
11074 1.1 christos report more detail including tracing stop reasons.
11075 1.1 christos (trace_find_command): Always allow tfind on a file.
11076 1.1 christos (trace_find_pc_command): Ditto.
11077 1.1 christos (trace_find_tracepoint_command): Ditto.
11078 1.1 christos (trace_find_line_command): Ditto.
11079 1.1 christos (trace_find_range_command): Ditto.
11080 1.1 christos (trace_find_outside_command): Ditto.
11081 1.1 christos (trace_frames_offset, cur_offset): Declare as off_t.
11082 1.1 christos (trace_regblock_size): Rename from reg_size, update users.
11083 1.1 christos (parse_trace_status): New function.
11084 1.1 christos (tfile_interp_line): New function.
11085 1.1 christos (disconnect_or_stop_tracing): Ensure current trace
11086 1.1 christos status before asking what to do.
11087 1.1 christos (stop_reason_names): New global.
11088 1.1 christos (trace_save_command): New command.
11089 1.1 christos (get_uploaded_tp): Move here from remote.c.
11090 1.1 christos (find_matching_tracepoint): Ditto.
11091 1.1 christos (merge_uploaded_tracepoints): New function.
11092 1.1 christos (parse_trace_status): Use stop_reason_names.
11093 1.1 christos (_initialize_tracepoint): Define tsave command.
11094 1.1 christos * target.h (target_ops): New fields to_save_trace_data,
11095 1.1 christos to_upload_tracepoints, to_upload_trace_state_variables,
11096 1.1 christos to_get_raw_trace_data, change to_get_trace_status
11097 1.1 christos to take a pointer to a status struct.
11098 1.1 christos (target_save_trace_data): New macro.
11099 1.1 christos (target_upload_tracepoints): New macro.
11100 1.1 christos (target_upload_trace_state_variables): New macro.
11101 1.1 christos (target_get_raw_trace_data): New macro.
11102 1.1 christos * target.c (update_current_target): Add new methods, change
11103 1.1 christos signature of to_get_trace_status.
11104 1.1 christos * remote.c (hex2bin): Make globally visible.
11105 1.1 christos (bin2hex): Ditto.
11106 1.1 christos (remote_download_trace_state_variable): Download name also.
11107 1.1 christos (remote_get_trace_status): Update parameter, use
11108 1.1 christos parse_trace_status.
11109 1.1 christos (remote_save_trace_data): New function.
11110 1.1 christos (remote_upload_tracepoints): New function.
11111 1.1 christos (remote_upload_trace_state_variables): New function.
11112 1.1 christos (remote_get_raw_trace_data): New function.
11113 1.1 christos (remote_start_remote): Use them.
11114 1.1 christos (_initialize_remote_ops): Add operations.
11115 1.1 christos * ax-gdb.c: Include breakpoint.h.
11116 1.1 christos * breakpoint.c (create_tracepoint_from_upload): Use
11117 1.1 christos break_command_really, return tracepoint, warn about unimplemented
11118 1.1 christos parts.
11119 1.1 christos * NEWS: Mention trace file addition.
11120 1.1 christos
11121 1.1 christos 2010-01-15 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11122 1.1 christos
11123 1.1 christos Fix compilation warning on gcc-3.4.
11124 1.1 christos * exec.c (print_section_info): Move the `displacement' variable
11125 1.1 christos initialization to its declaration.
11126 1.1 christos
11127 1.1 christos 2010-01-15 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11128 1.1 christos
11129 1.1 christos * gdb-gdb.py (StructMainTypePrettyPrinter): Fix TYPE_CODE_RANGE
11130 1.1 christos comparison.
11131 1.1 christos
11132 1.1 christos 2010-01-15 Eric Botcazou <botcazou (a] adacore.com>
11133 1.1 christos
11134 1.1 christos "info tasks" broken by typedefs in ATCB type definitions.
11135 1.1 christos * ada-lang.c (ada_template_to_fixed_record_type_1): Add call to
11136 1.1 christos ada_check_typedef before retrieving the length of the type for
11137 1.1 christos regular fields.
11138 1.1 christos
11139 1.1 christos 2010-01-15 Joel Brobecker <brobecker (a] adacore.com>
11140 1.1 christos
11141 1.1 christos Do not use name-based lookup for unconstrained packed arrays.
11142 1.1 christos * ada-lang.c (find_parallel_type_by_descriptive_type):
11143 1.1 christos Limit the fallback to name-based lookups to the case where
11144 1.1 christos the type is a constrained packed array.
11145 1.1 christos
11146 1.1 christos 2010-01-15 Joel Brobecker <brobecker (a] adacore.com>
11147 1.1 christos
11148 1.1 christos Enhance gdb-gdb.py to handle main_type.type_specific.
11149 1.1 christos * gdb-gdb.py: Print the type-specific part of struct main_type.
11150 1.1 christos
11151 1.1 christos 2010-01-15 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11152 1.1 christos
11153 1.1 christos * configure.ac (AC_CHECK_FUNCS): Check for setrlimit and getrlimit.
11154 1.1 christos * configure: Regenerate.
11155 1.1 christos * config.in: Regenerate.
11156 1.1 christos * utils.c: Include sys/resource.h.
11157 1.1 christos (dump_core, can_dump_core): New.
11158 1.1 christos (internal_vproblem): Update the comment. Check can_dump_core while
11159 1.1 christos setting dump_core_p. Replace two abort calls by dump_core calls.
11160 1.1 christos
11161 1.1 christos 2010-01-14 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11162 1.1 christos Eli Zaretskii <eliz (a] gnu.org>
11163 1.1 christos
11164 1.1 christos * NEWS: Document the PIE support.
11165 1.1 christos
11166 1.1 christos 2010-01-14 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11167 1.1 christos
11168 1.1 christos * linux-tdep.c: Remove includes gdbcore.h, observer.h and elf-bfd.h.
11169 1.1 christos (check_is_pie_binary, _initialize_linux_tdep): Remove.
11170 1.1 christos
11171 1.1 christos 2010-01-14 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11172 1.1 christos
11173 1.1 christos * solib-svr4.c (svr4_exec_displacement): New comment for entry_point.
11174 1.1 christos Replace exec_entry_point call by bfd_get_start_address.
11175 1.1 christos
11176 1.1 christos 2010-01-14 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11177 1.1 christos
11178 1.1 christos Support Valgrind attachments broken by the PIE support.
11179 1.1 christos * auxv.c: Include gdbcore.h.
11180 1.1 christos (procfs_xfer_auxv): Make static. Reduce its comment. Drop its
11181 1.1 christos parameters ops, object and annex. Remove their assertions.
11182 1.1 christos (ld_so_xfer_auxv, memory_xfer_auxv): New function.
11183 1.1 christos * auxv.h (procfs_xfer_auxv): Remove comment. Rename to ...
11184 1.1 christos (memory_xfer_auxv): ... here.
11185 1.1 christos * linux-nat.c (linux_xfer_partial): Rename procfs_xfer_auxv to
11186 1.1 christos memory_xfer_auxv.
11187 1.1 christos * procfs.c (procfs_xfer_partial): Likewise.
11188 1.1 christos * solib-svr4.c (svr4_relocate_main_executable): New prototype.
11189 1.1 christos (svr4_special_symbol_handling): Call svr4_relocate_main_executable.
11190 1.1 christos (svr4_solib_create_inferior_hook): Conditionalize the
11191 1.1 christos svr4_relocate_main_executable call.
11192 1.1 christos
11193 1.1 christos 2010-01-14 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11194 1.1 christos
11195 1.1 christos * solib-svr4.c (scan_dyntag): Remove variable dyn_addr. New variable
11196 1.1 christos target_section. Find SECT in current_target_sections, gdb_assert it.
11197 1.1 christos (elf_lookup_lib_symbol): Pass the binary file if given symfile_objfile.
11198 1.1 christos New variable abfd.
11199 1.1 christos * symtab.c (lookup_objfile_from_block): Return the binary file instead
11200 1.1 christos of separate debug info file.
11201 1.1 christos
11202 1.1 christos 2010-01-14 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11203 1.1 christos
11204 1.1 christos Support PIEs with no symfile_objfile.
11205 1.1 christos * exec.c (print_section_info <abfd == exec_bfd>): Relocate Entry point.
11206 1.1 christos * solib-svr4.c (svr4_relocate_main_executable <exec_bfd>): New block.
11207 1.1 christos
11208 1.1 christos 2010-01-14 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11209 1.1 christos
11210 1.1 christos * solib-svr4.c (svr4_relocate_main_executable): Move the static exec
11211 1.1 christos code part to ...
11212 1.1 christos (svr4_static_exec_displacement): ... a new function.
11213 1.1 christos (svr4_exec_displacement): New function.
11214 1.1 christos (svr4_relocate_main_executable): Call svr4_exec_displacement. Allocate
11215 1.1 christos new_offsets using alloca now. Remove variable old_chain and changed.
11216 1.1 christos Call objfile_relocate unconditionally now.
11217 1.1 christos
11218 1.1 christos 2010-01-14 Doug Evans <dje (a] google.com>
11219 1.1 christos
11220 1.1 christos * gdbtypes.c (arch_flags_type): Fix comment.
11221 1.1 christos * gdbtypes.h (arch_composite_type): Fix comment.
11222 1.1 christos
11223 1.1 christos 2009-01-14 Tristan Gingold <gingold (a] adacore.com>
11224 1.1 christos
11225 1.1 christos * machoread.c (macho_add_oso_symfile): Add symfile_flags parameter.
11226 1.1 christos Call xstrdup for abfd->filename. Pass symfile_flags and objfile flags
11227 1.1 christos to symbol_file_add_from_bfd. Add OSO as separate objfile.
11228 1.1 christos (macho_oso_symfile): Add symfile_flags parameter. Pass it to
11229 1.1 christos macho_add_oso_symfile.
11230 1.1 christos (macho_symfile_read): Pass symfile_flags to macho_oso_symfile.
11231 1.1 christos
11232 1.1 christos 2010-01-14 Joel Brobecker <brobecker (a] adacore.com>
11233 1.1 christos
11234 1.1 christos Tru64: Dead threads are never deleted.
11235 1.1 christos * dec-thread.c (dec_thread_ptid_is_alive): New function.
11236 1.1 christos (dec_thread_count_gdb_threads): Fix counter increment.
11237 1.1 christos (dec_thread_add_gdb_thread): Fix *listp increment.
11238 1.1 christos (resync_thread_list): Fix bug in deletion of dead threads that
11239 1.1 christos caused all threads to be deleted, instead of just the dead ones.
11240 1.1 christos
11241 1.1 christos 2010-01-13 Phil Muldoon <pmuldoon (a] redhat.com>
11242 1.1 christos
11243 1.1 christos PR python/10705
11244 1.1 christos
11245 1.1 christos * python/python-internal.h: Add lazy_string_object_type
11246 1.1 christos definition.
11247 1.1 christos (create_lazy_string_object, gdbpy_initialize_lazy_string)
11248 1.1 christos (gdbpy_is_lazystring, gdbpy_extract_lazy_string): Define.
11249 1.1 christos * python/py-value.c (valpy_lazy_string): New function.
11250 1.1 christos (convert_value_from_python): Add lazy string conversion.
11251 1.1 christos * python/py-prettyprint.c (pretty_print_one_value): Check if
11252 1.1 christos return is also a lazy string.
11253 1.1 christos (print_string_repr): Add lazy string printing branch.
11254 1.1 christos (print_children): Likewise.
11255 1.1 christos * python/py-lazy-string.c: New file. Implement lazy strings.
11256 1.1 christos * python/python.c (_initialize_python): Call
11257 1.1 christos gdbpy_initialize_lazy_string.
11258 1.1 christos * varobj.c (value_get_print_value): Add lazy string printing
11259 1.1 christos branch. Account for encoding.
11260 1.1 christos * c-lang.c (c_printstr): Account for new encoding argument. If
11261 1.1 christos encoding is NULL, find encoding suited for type, otherwise use
11262 1.1 christos user encoding.
11263 1.1 christos * language.h (language_defn): Add encoding argument.
11264 1.1 christos (LA_PRINT_STRING): Likewise.
11265 1.1 christos * language.c (unk_lang_printstr): Update to reflect new encoding
11266 1.1 christos argument to language_defn.
11267 1.1 christos * ada-lang.h (ada_printstr): Likewise.
11268 1.1 christos * c-lang.h (c_printstr): Likewise.
11269 1.1 christos * p-lang.h (pascal_printstr);
11270 1.1 christos * f-lang.c (f_printstr): Likewise.
11271 1.1 christos * m2-lang.c (m2_printstr): Likewise.
11272 1.1 christos * objc-lang.c (objc_printstr): Likewise.
11273 1.1 christos * p-lang.c (pascal_printstr): Likewise.
11274 1.1 christos * scm-lang.c (scm_printstr): Likewise.
11275 1.1 christos * c-valprint.c (c_val_print): Update LA_PRINT_STRING call for
11276 1.1 christos encoding argument.
11277 1.1 christos * ada-valprint.c (ada_printstr): Likewise.
11278 1.1 christos * f-valprint.c (f_val_print): Likewise
11279 1.1 christos * m2-valprint.c (m2_val_print): Likewise.
11280 1.1 christos * p-valprint.c (pascal_val_print): Likewise.
11281 1.1 christos * expprint.c (print_subexp_standard): Likewise.
11282 1.1 christos * valprint.c (val_print_string): Likewise.
11283 1.1 christos * Makefile.in (SUBDIR_PYTHON_OBS): Add py-lazy-string.
11284 1.1 christos (SUBDIR_PYTHON_SRCS): Likewise.
11285 1.1 christos (py-lazy-string.o): New rule.
11286 1.1 christos
11287 1.1 christos 2010-01-13 Doug Evans <dje (a] google.com>
11288 1.1 christos
11289 1.1 christos * mi/mi-main.c (list_available_thread_groups): Avoid "may be used
11290 1.1 christos uninitialized" warning from gcc on local `tree'.
11291 1.1 christos
11292 1.1 christos 2010-01-13 Vladimir Prus <vladimir (a] codesourcery.com>
11293 1.1 christos
11294 1.1 christos Implement core awareness.
11295 1.1 christos
11296 1.1 christos * bcache.c (compare_ints): Remove
11297 1.1 christos (print_percentage): Use compare_positive_ints.
11298 1.1 christos * defs.h (compare_positive_ints): Declare.
11299 1.1 christos * linux-nat.h (struct lin_lwp): New field core.
11300 1.1 christos (linux_nat_core_of_thread_1): Declare.
11301 1.1 christos * linux-nat.c (add_lwp): Init the 'core' field.
11302 1.1 christos (linux_nat_wait_1): Record the core.
11303 1.1 christos (linux_nat_core_of_thread_1, linux_nat_core_of_thread): New.
11304 1.1 christos (linux_nat_add_target): Register the above.
11305 1.1 christos * linux-thread-db.c (update_thread_core): New.
11306 1.1 christos (thread_db_find_new_threads): Update core information for
11307 1.1 christos every thread.
11308 1.1 christos * remote.c (struct private_thread_info): New.
11309 1.1 christos (free_private_thread_info, demand_private_info): New.
11310 1.1 christos (PACKET_qXfer_threads, use_osdata_threads): New.
11311 1.1 christos (struct thread_item, threads_parsing_context
11312 1.1 christos (start_thread, end_thread, thread_attributes)
11313 1.1 christos (thread_children, threads_children, threads_elements): New.
11314 1.1 christos (remote_threads_info): Try qXfer:threads before anything
11315 1.1 christos else.
11316 1.1 christos (remote_protocol_packets): Register qXfer:threads.
11317 1.1 christos (remote_open_1): Init use_osdata_threads.
11318 1.1 christos (struct stop_reply): New field 'core'.
11319 1.1 christos (remote_parse_stop_reply): Parse core number.
11320 1.1 christos (process_stop_reply): Record core number.
11321 1.1 christos (remote_xfer_partial): Handle qXfer:threads.
11322 1.1 christos (remote_core_of_thread): New.
11323 1.1 christos (init_remote_ops): Register remote_core_of_thread.
11324 1.1 christos (_initialize_remote): Register qXfer:read.
11325 1.1 christos * target.c (target_core_of_thread): New
11326 1.1 christos * target.h (enum target_object): New value TARGET_OBJECT_THREADS.
11327 1.1 christos (struct target_ops): New field to_core_of_threads.
11328 1.1 christos (target_core_of_thread): Declare.
11329 1.1 christos * gdbthread.h (struct thread_info): New field private_dtor.
11330 1.1 christos * thread.c (print_thread_info): Report the core.
11331 1.1 christos * ui-out.c (MAX_UI_OUT_LEVELS): Increase.
11332 1.1 christos * utils.c (compare_positive_ints): New.
11333 1.1 christos * features/threads.dtd: New.
11334 1.1 christos * mi/mi-interp.c (mi_on_normal_stop): Report the core.
11335 1.1 christos * mi/mi-main.c (struct collect_cores_data, collect_cores)
11336 1.1 christos (do_nothing, free_vector_of_osdata_items)
11337 1.1 christos (splay_tree_int_comparator, free_splay_tree): New.
11338 1.1 christos (print_one_inferior_data): Implemented printing of selected
11339 1.1 christos inferiors. Collect and print cores.
11340 1.1 christos (output_cores): New.
11341 1.1 christos (mi_cmd_list_thread_groups): Support --recurse. Permit specifying
11342 1.1 christos thread groups together with --available.
11343 1.1 christos
11344 1.1 christos 2010-01-12 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11345 1.1 christos
11346 1.1 christos * configure: Regenerate (for _STRUCTURED_PROC).
11347 1.1 christos
11348 1.1 christos 2010-01-12 Joel Brobecker <brobecker (a] adacore.com>
11349 1.1 christos
11350 1.1 christos Delete dead function.
11351 1.1 christos * ada-lang.c (extract_string): Delete. No longer used.
11352 1.1 christos
11353 1.1 christos 2010-01-12 Joel Brobecker <brobecker (a] adacore.com>
11354 1.1 christos
11355 1.1 christos Fix -Wunused warning in dec-thread.c.
11356 1.1 christos * dec-thread.c (dec_thread_count_gdb_threads)
11357 1.1 christos (dec_thread_add_gdb_thread): Prevent -Wunused warning.
11358 1.1 christos
11359 1.1 christos 2010-01-12 Joel Brobecker <brobecker (a] adacore.com>
11360 1.1 christos
11361 1.1 christos * ada-valprint.c (ada_print_floating): Remove trailing space.
11362 1.1 christos
11363 1.1 christos 2010-01-12 Joel Brobecker <brobecker (a] adacore.com>
11364 1.1 christos
11365 1.1 christos Add support for DW_AT_GNAT_descriptive_type.
11366 1.1 christos * gdbtypes.h (enum type_specific_kind): New enum.
11367 1.1 christos (struct main_type) [type_specific_field]: New component.
11368 1.1 christos [type_specific]: Add new component "gnat_stuff".
11369 1.1 christos (struct gnat_aux_type): New type.
11370 1.1 christos (INIT_CPLUS_SPECIFIC): Also set TYPE_SPECIFIC_FIELD (type).
11371 1.1 christos (HAVE_CPLUS_STRUCT): Also check TYPE_SPECIFIC_FIELD (type).
11372 1.1 christos (gnat_aux_default, allocate_gnat_aux_type): Add declaration.
11373 1.1 christos (INIT_GNAT_SPECIFIC, ALLOCATE_GNAT_AUX_TYPE, HAVE_GNAT_AUX_INFO)
11374 1.1 christos (TYPE_SPECIFIC_FIELD): New macros.
11375 1.1 christos (TYPE_CPLUS_SPECIFIC): Return cplus_struct_default if the given
11376 1.1 christos type does not hold any cplus-specific data.
11377 1.1 christos (TYPE_RAW_CPLUS_SPECIFIC): New macro.
11378 1.1 christos (TYPE_GNAT_SPECIFIC, TYPE_DESCRIPTIVE_TYPE): New macros.
11379 1.1 christos (TYPE_IS_OPAQUE): Use HAVE_CPLUS_STRUCT to check if type has
11380 1.1 christos cplus-specific data.
11381 1.1 christos * gdbtypes.c (allocate_cplus_struct_type): Minor stylistic rewrite.
11382 1.1 christos Set new component TYPE_SPECIFIC_FIELD (type).
11383 1.1 christos (gnat_aux_default): New constant.
11384 1.1 christos (allocate_gnat_aux_type): New function.
11385 1.1 christos (init_type): Add initialization the type-specific stuff for
11386 1.1 christos TYPE_CODE_FLT and TYPE_CODE_FUNC types.
11387 1.1 christos (print_gnat_stuff): New function.
11388 1.1 christos (recursive_dump_type): Use HAVE_CPLUS_STRUCT to check for cplus-
11389 1.1 christos specific data. Adjust code that prints the contents of the
11390 1.1 christos type-specific union using the TYPE_SPECIFIC_FIELD value.
11391 1.1 christos * dwarf2read.c (dwarf2_attach_fields_to_type): Do not allocate
11392 1.1 christos the type cplus stuff for Ada types.
11393 1.1 christos (dwarf2_add_member_fn, dwarf2_attach_fn_fields_to_type):
11394 1.1 christos Error out if these routines are called with an Ada type.
11395 1.1 christos (read_structure_type, read_array_type, read_subrange_type):
11396 1.1 christos Add call to set_descriptive_type.
11397 1.1 christos (set_die_type): Initialize the gnat-specific data if necessary.
11398 1.1 christos (need_gnat_info, die_descriptive_type, set_descriptive_type):
11399 1.1 christos New functions.
11400 1.1 christos * ada-lang.c (decode_constrained_packed_array_type): Use
11401 1.1 christos decode_constrained_packed_array_type instead of doing a standard
11402 1.1 christos lookup to locate a parallel type.
11403 1.1 christos (find_parallel_type_by_descriptive_type): New function.
11404 1.1 christos (ada_find_parallel_type_with_name): New function.
11405 1.1 christos (ada_find_parallel_type): Reimplement using
11406 1.1 christos ada_find_parallel_type_with_name.
11407 1.1 christos * ada-valprint.c (print_field_values): Use HAVE_CPLUS_STRUCT
11408 1.1 christos to check if type has a cplus stuff.
11409 1.1 christos * linespec.c (total_number_of_methods): Likewise.
11410 1.1 christos * mdebugread.c (new_type): Likewise.
11411 1.1 christos
11412 1.1 christos 2010-01-11 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11413 1.1 christos
11414 1.1 christos * NEWS: Document the 0b binary number prefix parsing.
11415 1.1 christos
11416 1.1 christos 2010-01-11 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11417 1.1 christos
11418 1.1 christos * objfiles.c (objfile_relocate1): Change the return type to int.
11419 1.1 christos Describe the new return value. Return non-zero if data changed.
11420 1.1 christos (objfile_relocate): New variable changed. Set it. Call
11421 1.1 christos breakpoint_re_set depending on CHANGED.
11422 1.1 christos
11423 1.1 christos 2010-01-11 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11424 1.1 christos
11425 1.1 christos Implement binary numbers parsing.
11426 1.1 christos * c-exp.y (parse_number): New case 'b' and 'B'.
11427 1.1 christos
11428 1.1 christos 2010-01-11 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11429 1.1 christos Tristan Gingold <gingold (a] adacore.com>
11430 1.1 christos
11431 1.1 christos * solib.c (info_sharedlibrary_command): Replace
11432 1.1 christos objfile_has_partial_symbols and objfile_has_full_symbols calls by
11433 1.1 christos objfile_has_symbols.
11434 1.1 christos
11435 1.1 christos 2010-01-10 Joel Brobecker <brobecker (a] adacore.com>
11436 1.1 christos
11437 1.1 christos * NEWS: Document the improvements made to the mips-irix port.
11438 1.1 christos
11439 1.1 christos 2010-01-09 Joel Brobecker <brobecker (a] adacore.com>
11440 1.1 christos
11441 1.1 christos Fix the documentation of valprint.c:value_print.
11442 1.1 christos * valprint.c (value_print): Update the function description to
11443 1.1 christos mention that the syntax of the output follows the current_language,
11444 1.1 christos not necessarily C.
11445 1.1 christos
11446 1.1 christos 2010-01-09 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11447 1.1 christos
11448 1.1 christos Fix displacement of separate debug info files.
11449 1.1 christos * objfiles.c (objfile_relocate): Rename to ...
11450 1.1 christos (objfile_relocate1): ... here and make it static. Extend the comment.
11451 1.1 christos (objfile_relocate): New function.
11452 1.1 christos * solib-spu.c (spu_relocate_main_executable): Explicitly check if
11453 1.1 christos SYMFILE_OBJFILE is NULL. Remove variables objfile and old_chain.
11454 1.1 christos Remove following of SEPARATE_DEBUG_OBJFILE. new_offsets is now
11455 1.1 christos allocated using alloca.
11456 1.1 christos * symfile.c (copy_section_addr_info): Remove.
11457 1.1 christos (build_section_addr_info_from_objfile): Make it global. New variables
11458 1.1 christos addr_bit and mask, use them.
11459 1.1 christos * symfile.h (build_section_addr_info_from_objfile): New prototype.
11460 1.1 christos (copy_section_addr_info): Remove.
11461 1.1 christos
11462 1.1 christos 2010-01-09 Joel Brobecker <brobecker (a] adacore.com>
11463 1.1 christos
11464 1.1 christos Signal unwinder for mips-irix N32.
11465 1.1 christos * mips-irix-tdep.c: #include mips-tdep.h, trad-frame.h, and
11466 1.1 christos tramp-frame.h.
11467 1.1 christos (SIGTRAMP_FRAME_SIZE, SIGCONTEXT_PC_OFF, SIGCONTEXT_REGS_OFF)
11468 1.1 christos (SIGCONTEXT_FPREGS_OFF, SIGCONTEXT_FPCSR_OFF, SIGCONTEXT_HI_OFF)
11469 1.1 christos (SIGCONTEXT_LO_OFF): New macros.
11470 1.1 christos (mips_irix_n32_tramp_frame_init): New function.
11471 1.1 christos (mips_irix_n32_tramp_frame): New static constant.
11472 1.1 christos (mips_irix_init_abi): Prepend the mips_irix_n32_tramp_frame unwinder.
11473 1.1 christos
11474 1.1 christos 2010-01-09 Joel Brobecker <brobecker (a] adacore.com>
11475 1.1 christos
11476 1.1 christos Breakpoint in shared library does not work on mips-irix.
11477 1.1 christos * procfs.c: #include "observer.h".
11478 1.1 christos (procfs_inferior_created): New function, moving here the code
11479 1.1 christos which unsets the syssgi syscall-exit notifications.
11480 1.1 christos (procfs_create_inferior): Remove the code which unsets the syssgi
11481 1.1 christos syscall-exit notifications. It is too early to do this here.
11482 1.1 christos (_initialize_procfs): Attach the procfs_inferior_created observer.
11483 1.1 christos
11484 1.1 christos 2010-01-09 Joel Brobecker <brobecker (a] adacore.com>
11485 1.1 christos
11486 1.1 christos Wrong return convention for arrays (mips-irix).
11487 1.1 christos * mips-tdep.c (mips_n32n64_return_value): Arrays whose size is
11488 1.1 christos 128 bits or smaller are returned the same way as structs
11489 1.1 christos and unions of the the same size.
11490 1.1 christos
11491 1.1 christos 2010-01-09 Joel Brobecker <brobecker (a] adacore.com>
11492 1.1 christos
11493 1.1 christos Cannot set the PC on mips-irix.
11494 1.1 christos * irix5-nat.c (fill_gregset): Check regno against the raw PC
11495 1.1 christos register number, no the cooked one.
11496 1.1 christos
11497 1.1 christos 2010-01-09 Joel Brobecker <brobecker (a] adacore.com>
11498 1.1 christos
11499 1.1 christos Error while loading core file on mips-irix.
11500 1.1 christos * solib-irix.c (irix_solib_create_inferior_hook): Do nothing
11501 1.1 christos if debugging from a core file.
11502 1.1 christos
11503 1.1 christos 2010-01-09 Joel Brobecker <brobecker (a] adacore.com>
11504 1.1 christos
11505 1.1 christos GDB hangs when attaching to process on mips-irix.
11506 1.1 christos * solib-irix.c (irix_solib_create_inferior_hook): Do nothing if
11507 1.1 christos attaching to a process.
11508 1.1 christos
11509 1.1 christos 2010-01-09 Joel Brobecker <brobecker (a] adacore.com>
11510 1.1 christos
11511 1.1 christos Use the correct breakpoint instruction on mips-irix.
11512 1.1 christos * mips-tdep.c (mips_breakpoint_from_pc): Add new static variable
11513 1.1 christos containing the correct breakpoint instruction to use on mips-irix.
11514 1.1 christos Use it when the osabi is GDB_OSABI_IRIX.
11515 1.1 christos
11516 1.1 christos 2010-01-09 Joel Brobecker <brobecker (a] adacore.com>
11517 1.1 christos
11518 1.1 christos -Wunused warning in procfs.c (mips-irix only).
11519 1.1 christos * procfs.c (gdb_praddset, gdb_prdelset): New macros. Use them
11520 1.1 christos throughout instead of using praddset and prdelset respectively.
11521 1.1 christos
11522 1.1 christos 2010-01-09 Joel Brobecker <brobecker (a] adacore.com>
11523 1.1 christos
11524 1.1 christos GDB crash while stepping into function.
11525 1.1 christos * infrun.c (handle_inferior_event): Refetch the current frame
11526 1.1 christos after handling what.main_action, in case that pointer became
11527 1.1 christos dangling.
11528 1.1 christos
11529 1.1 christos 2010-01-09 Joel Brobecker <brobecker (a] adacore.com>
11530 1.1 christos
11531 1.1 christos Fix build failure of solaris-hosted cross debuggers.
11532 1.1 christos * ada-valprint.c, parse.c: Include defs.h before including ctype.h.
11533 1.1 christos
11534 1.1 christos 2010-01-09 Daniel Gutson <dgutson (a] codesourcery.com>
11535 1.1 christos
11536 1.1 christos Fix build failure on sparc-solaris.
11537 1.1 christos * procfs.c: (procfs_do_thread_registers) Use elfcore_write_lwpstatus.
11538 1.1 christos
11539 1.1 christos 2010-01-08 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11540 1.1 christos
11541 1.1 christos Move some symfile code into subroutines.
11542 1.1 christos * symfile.h (relative_addr_info_to_section_offsets)
11543 1.1 christos (addr_info_make_relative): New prototypes.
11544 1.1 christos * symfile.c (default_symfile_offsets): Move a part to ...
11545 1.1 christos (relative_addr_info_to_section_offsets): ... this new function.
11546 1.1 christos (default_symfile_offsets): Call it.
11547 1.1 christos (syms_from_objfile <!mainline && addrs && addrs->other[0].name>): Move
11548 1.1 christos this part to ...
11549 1.1 christos (addr_info_make_relative): ... this new function.
11550 1.1 christos
11551 1.1 christos 2010-01-08 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11552 1.1 christos
11553 1.1 christos Add from_tty to solib_create_inferior_hook.
11554 1.1 christos * infcmd.c (post_create_inferior): Move solib_add after
11555 1.1 christos solib_create_inferior_hook. Pass from_tty to
11556 1.1 christos solib_create_inferior_hook. Call solib_add and SOLIB_ADD with
11557 1.1 christos 0 from_tty and comment why.
11558 1.1 christos * infrun.c (follow_exec): Pass from_tty solib_create_inferior_hook as 0.
11559 1.1 christos * linux-nat.c (linux_child_follow_fork): Likewise.
11560 1.1 christos * nto-procfs.c (procfs_post_attach, procfs_create_inferior): Likewise.
11561 1.1 christos * solib-darwin.c (darwin_solib_create_inferior_hook): New parameter
11562 1.1 christos from_tty.
11563 1.1 christos * solib-frv.c (frv_solib_create_inferior_hook): Likewise.
11564 1.1 christos * solib-irix.c (irix_solib_create_inferior_hook): Likewise.
11565 1.1 christos * solib-null.c (null_solib_create_inferior_hook): Likewise.
11566 1.1 christos * solib-osf.c (osf_solib_create_inferior_hook): Likewise.
11567 1.1 christos * solib-pa64.c (pa64_solib_create_inferior_hook): Likewise.
11568 1.1 christos * solib-som.c (som_solib_create_inferior_hook): Likewise.
11569 1.1 christos * solib-spu.c (spu_solib_create_inferior_hook): New parameter from_tty.
11570 1.1 christos Pass it to svr4_so_ops.solib_create_inferior_hook.
11571 1.1 christos * solib-sunos.c (sunos_solib_create_inferior_hook): New parameter
11572 1.1 christos from_tty.
11573 1.1 christos * solib-svr4.c (enable_break): New parameter from_tty. Pass it to
11574 1.1 christos solib_add.
11575 1.1 christos (svr4_solib_create_inferior_hook): New parameter from_tty. Pass it to
11576 1.1 christos enable_break.
11577 1.1 christos * solib-target.c (solib_target_solib_create_inferior_hook): New
11578 1.1 christos parameter from_tty.
11579 1.1 christos * solib.c (solib_create_inferior_hook): New parameter from_tty. Pass
11580 1.1 christos it to ops->solib_create_inferior_hook.
11581 1.1 christos (reload_shared_libraries): Pass from_tty to solib_create_inferior_hook.
11582 1.1 christos Move solib_add after solib_create_inferior_hook, call it now with
11583 1.1 christos from_tty as 0. New comment there.
11584 1.1 christos * solib.h (solib_create_inferior_hook): New parameter from_tty.
11585 1.1 christos * solist.h (struct target_so_ops <solib_create_inferior_hook>):
11586 1.1 christos Likewise.
11587 1.1 christos
11588 1.1 christos 2010-01-08 Vladimir Prus <vladimir (a] codesourcery.com>
11589 1.1 christos
11590 1.1 christos Fix multiexec race.
11591 1.1 christos * infrun.c (handle_inferior_event): Use get_thread_regcache
11592 1.1 christos with events ptid, not get_current_regcache.
11593 1.1 christos
11594 1.1 christos 2009-01-08 Joel Brobecker <brobecker (a] adacore.com>
11595 1.1 christos
11596 1.1 christos GDB crash with empty executable name (MinGW).
11597 1.1 christos * source.c (openp): Add assert that parameter string is not NULL.
11598 1.1 christos if parameter string is an empty string, then return with a failure
11599 1.1 christos immediately.
11600 1.1 christos
11601 1.1 christos 2009-01-08 Joel Brobecker <brobecker (a] adacore.com>
11602 1.1 christos
11603 1.1 christos Get rid of support for VAX Floats.
11604 1.1 christos * ada-lang.h (ada_is_vax_floating_type, ada_vax_float_type_suffix)
11605 1.1 christos (ada_vax_float_print_function): Delete.
11606 1.1 christos * ada-lang.c (ada_is_vax_floating_type, ada_vax_float_type_suffix)
11607 1.1 christos (ada_vax_float_print_function): Delete.
11608 1.1 christos * ada-typeprint.c (print_vax_floating_point_type): Delete.
11609 1.1 christos (ada_print_type): Remove support for VAX floats.
11610 1.1 christos * ada-valprint.c (ada_val_print_1): Remove support for VAX floats.
11611 1.1 christos
11612 1.1 christos 2010-01-08 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11613 1.1 christos
11614 1.1 christos * stabsread.c (read_args): Handle zero arguments.
11615 1.1 christos
11616 1.1 christos 2009-01-08 Joel Brobecker <brobecker (a] adacore.com>
11617 1.1 christos
11618 1.1 christos Cannot find in-tree libiconv.a after reconfigure.
11619 1.1 christos * acinclude.m4 (AM_ICONV): If we find an in-tree libiconv.a
11620 1.1 christos that we can use, then cache the path to this archive.
11621 1.1 christos * configure: Regenerate.
11622 1.1 christos
11623 1.1 christos 2010-01-07 Stan Shebs <stan (a] codesourcery.com>
11624 1.1 christos
11625 1.1 christos Make tracepoint operations go through target vector.
11626 1.1 christos * target.h (enum trace_find_type): New enum.
11627 1.1 christos (struct target_ops): New fields to_trace_init,
11628 1.1 christos to_download_tracepoint, to_download_trace_state_variable,
11629 1.1 christos to_trace_set_readonly_regions, to_trace_start, to_get_trace_status,
11630 1.1 christos to_trace_stop, to_trace_find, to_get_trace_state_variable_value,
11631 1.1 christos to_set_disconnected_tracing.
11632 1.1 christos (target_trace_init): New macro.
11633 1.1 christos (target_download_tracepoint): New macro.
11634 1.1 christos (target_download_trace_state_variable): New macro.
11635 1.1 christos (target_trace_start): New macro.
11636 1.1 christos (target_trace_set_readonly_regions): New macro.
11637 1.1 christos (target_get_trace_status): New macro.
11638 1.1 christos (target_trace_stop): New macro.
11639 1.1 christos (target_trace_find): New macro.
11640 1.1 christos (target_get_trace_state_variable_value): New macro.
11641 1.1 christos (target_set_disconnected_tracing): New macro.
11642 1.1 christos * target.c (update_current_target): Inherit and set defaults for
11643 1.1 christos tracepoint operations.
11644 1.1 christos * tracepoint.c (default_collect): Make globally visible.
11645 1.1 christos (target_is_remote): Remove, along with all calls.
11646 1.1 christos (tvariables_info): Call target_get_trace_state_variable_value.
11647 1.1 christos (remote_set_transparent_ranges): Remove.
11648 1.1 christos (trace_start_command): Call target_trace_init,
11649 1.1 christos target_download_tracepoint, etc.
11650 1.1 christos (download_tracepoint): Remove.
11651 1.1 christos (trace_stop_command): Simplify.
11652 1.1 christos (stop_tracing): Call target_trace_stop.
11653 1.1 christos (get_trace_status): Call target_get_trace_status.
11654 1.1 christos (trace_status_command): Add case for targets that cannot trace.
11655 1.1 christos (finish_tfind_command): Change to take numerical arguments, call
11656 1.1 christos target_trace_find.
11657 1.1 christos (trace_find_command): Update call to finish_tfind_command.
11658 1.1 christos (trace_find_pc_command): Ditto.
11659 1.1 christos (trace_find_tracepoint_command): Ditto.
11660 1.1 christos (trace_find_line_command): Ditto.
11661 1.1 christos (trace_find_range_command): Ditto.
11662 1.1 christos (trace_find_outside_command): Ditto.
11663 1.1 christos (set_disconnected_tracing_value): Call
11664 1.1 christos target_set_disconnected_tracing.
11665 1.1 christos * remote.c: Add protocol encoding bits from tracepoint.c.
11666 1.1 christos (trace_error): Move from tracepoint.c.
11667 1.1 christos (remote_get_noisy_reply): Ditto.
11668 1.1 christos (free_actions_list_cleanup_wrapper): Ditto.
11669 1.1 christos (free_actions_list): Ditto.
11670 1.1 christos (remote_trace_init): New function.
11671 1.1 christos (remote_download_tracepoint): New function.
11672 1.1 christos (remote_download_trace_state_variable): New function.
11673 1.1 christos (remote_trace_set_readonly_regions): New function.
11674 1.1 christos (remote_trace_start): New function.
11675 1.1 christos (remote_get_trace_status): New function.
11676 1.1 christos (remote_trace_stop): New function.
11677 1.1 christos (remote_trace_find): New function.
11678 1.1 christos (remote_download_trace_state_variable): New function.
11679 1.1 christos (remote_set_disconnected_tracing): New function.
11680 1.1 christos (init_remote_ops): Add tracepoint operations.
11681 1.1 christos
11682 1.1 christos * tracepoint.c (trace_dump_command): Don't decr_pc_after_break.
11683 1.1 christos
11684 1.1 christos 2010-01-07 Tristan Gingold <gingold (a] adacore.com>
11685 1.1 christos
11686 1.1 christos * symfile.c (build_section_addr_info_from_objfile): New function.
11687 1.1 christos (symbol_file_add_separate): Don't use offsets from objfile but
11688 1.1 christos built an addr info.
11689 1.1 christos
11690 1.1 christos 2010-01-06 Stan Shebs <stan (a] codesourcery.com>
11691 1.1 christos
11692 1.1 christos Support disconnected tracing.
11693 1.1 christos * infcmd.c (detach_command): Ask whether to stop tracing.
11694 1.1 christos * cli/cli-cmds.c (quit_command): Ditto.
11695 1.1 christos * breakpoint.h (struct breakpoint): New field number_on_target.
11696 1.1 christos * breakpoint.c (create_tracepoint_from_upload): New function.
11697 1.1 christos (get_tracepoint_by_number_on_target): New function.
11698 1.1 christos * remote.c (struct remote): New field disconnected_tracing.
11699 1.1 christos (remote_disconnected_tracing_feature): New function.
11700 1.1 christos (remote_protocol_features): Add DisconnectedTracing.
11701 1.1 christos (struct uploaded_tp): New struct.
11702 1.1 christos (uploaded_tps): New global.
11703 1.1 christos (get_uploaded_tp): New function.
11704 1.1 christos (find_matching_tracepoint): New function.
11705 1.1 christos (remote_get_tracing_state): New function.
11706 1.1 christos (remote_start_remote): Call it.
11707 1.1 christos * tracepoint.c (disconnected_tracing): New global.
11708 1.1 christos (trace_start_command): Initialize number_on_target.
11709 1.1 christos (stop_tracing): New function, split out from...
11710 1.1 christos (trace_stop_command): Call stop_tracing.
11711 1.1 christos (get_trace_status): New function, split out from...
11712 1.1 christos (trace_status_command): Call get_trace_status, add info on
11713 1.1 christos disconnection behavior.
11714 1.1 christos (disconnect_or_stop_tracing): New function.
11715 1.1 christos (finish_tfind_command): Translate from number on target.
11716 1.1 christos (trace_find_tracepoint_command): Translate to number on target.
11717 1.1 christos (send_disconnected_tracing_value): New function.
11718 1.1 christos (set_disconnected_tracing): New function.
11719 1.1 christos (_initialize_tracepoint): Add disconnected-tracing variable.
11720 1.1 christos * NEWS: Mention disconnected tracing.
11721 1.1 christos
11722 1.1 christos 2010-01-06 Tristan Gingold <gingold (a] adacore.com>
11723 1.1 christos
11724 1.1 christos * symtab.c (lookup_global_symbol_from_objfile): Rename objfile
11725 1.1 christos parameter to main_objfile. Iterate on all separate debug objfiles.
11726 1.1 christos * symfile.h (symbol_file_add_separate)
11727 1.1 christos (find_separate_debug_file_by_debuglink): Remove parameter names.
11728 1.1 christos * symfile.c (symbol_file_add_separate): Use add_separate_objfile.
11729 1.1 christos (reread_symbols): Use free_objfile_separate_debug.
11730 1.1 christos * objfiles.h (struct objfile): Add separate_debug_objfile_link.
11731 1.1 christos Adjust comment.
11732 1.1 christos (objfile_separate_debug_iterate, add_separate_debug_objfile)
11733 1.1 christos (free_objfile_separate_debug): New prototypes.
11734 1.1 christos * objfiles.c (objfile_separate_debug_iterate): New function.
11735 1.1 christos (add_separate_debug_objfile, free_objfile_separate_debug): New
11736 1.1 christos functions.
11737 1.1 christos (free_objfile): Use free_objfile_separate_debug. Adjust for
11738 1.1 christos multiple separate debug objfile.
11739 1.1 christos (objfile_has_symbols): Adjust comment. Iterate on all separate
11740 1.1 christos debug objfiles.
11741 1.1 christos * minsyms.c (lookup_minimal_symbol): Adjust for multiple separate
11742 1.1 christos debug objfile.
11743 1.1 christos (lookup_minimal_symbol_text): Ditto.
11744 1.1 christos (lookup_minimal_symbol_by_pc_name): Ditto.
11745 1.1 christos (lookup_minimal_symbol_solib_trampoline): Ditto.
11746 1.1 christos (lookup_minimal_symbol_by_pc_section_1): Iterate on all separate
11747 1.1 christos debug objfiles.
11748 1.1 christos
11749 1.1 christos 2010-01-05 Stan Shebs <stan (a] codesourcery.com>
11750 1.1 christos
11751 1.1 christos Add fast tracepoints.
11752 1.1 christos * arch-utils.h (default_fast_tracepoint_valid_at): Declare.
11753 1.1 christos * arch-utils.c (default_fast_tracepoint_valid_at): New function.
11754 1.1 christos * breakpoint.h (enum bptype): Add bp_fast_tracepoint.
11755 1.1 christos * breakpoint.c (tracepoint_type): New function.
11756 1.1 christos (ALL_TRACEPOINTS): Use it.
11757 1.1 christos (should_be_inserted): Ditto.
11758 1.1 christos (bpstat_check_location): Ditto.
11759 1.1 christos (print_one_breakpoint_location): Ditto.
11760 1.1 christos (user_settable_breakpoint): Ditto.
11761 1.1 christos (set_breakpoint_location_function): Ditto.
11762 1.1 christos (disable_breakpoints_in_shlibs): Ditto.
11763 1.1 christos (delete_trace_command): Ditto.
11764 1.1 christos (print_it_typical): Add bp_fast_tracepoint case.
11765 1.1 christos (bpstat_what): Ditto.
11766 1.1 christos (print_one_breakpoint_location): Ditto.
11767 1.1 christos (allocate_bp_location): Ditto.
11768 1.1 christos (mention): Ditto.
11769 1.1 christos (breakpoint_re_set_one): Ditto.
11770 1.1 christos (disable_command): Ditto.
11771 1.1 christos (enable_command): Ditto.
11772 1.1 christos (check_fast_tracepoint_sals): New function.
11773 1.1 christos (break_command_really): Call it.
11774 1.1 christos (ftrace_command): New function.
11775 1.1 christos (_initialize_breakpoint): Add ftrace command.
11776 1.1 christos * gdbarch.sh (fast_tracepoint_valid_at): New.
11777 1.1 christos * gdbarch.h, gdbarch.c: Regenerate.
11778 1.1 christos * i386-tdep.c (i386_fast_tracepoint_valid_at): New function.
11779 1.1 christos (i386_gdbarch_init): Use it.
11780 1.1 christos * remote.c (struct remote_state): New field fast_tracepoints.
11781 1.1 christos (PACKET_FastTracepoints): New packet config type.
11782 1.1 christos (remote_fast_tracepoint_feature): New function.
11783 1.1 christos (remote_protocol_features): Add FastTracepoints.
11784 1.1 christos (remote_supports_fast_tracepoints): New function.
11785 1.1 christos (_initialize_remote): Add FastTracepoints.
11786 1.1 christos * tracepoint.c (download_tracepoint): Add fast tracepoint option.
11787 1.1 christos * NEWS: Mention fast tracepoints.
11788 1.1 christos
11789 1.1 christos 2010-01-06 Joel Brobecker <brobecker (a] adacore.com>
11790 1.1 christos
11791 1.1 christos * gdb-gdb.py: New file.
11792 1.1 christos
11793 1.1 christos 2010-01-05 Michael Snyder <msnyder (a] vmware.com>
11794 1.1 christos
11795 1.1 christos * infrun.c (handle_inferior_event): Fix typo in comment.
11796 1.1 christos
11797 1.1 christos 2010-01-05 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11798 1.1 christos
11799 1.1 christos * symfile.c (syms_from_objfile): Remove the !MAINLINE conditional.
11800 1.1 christos
11801 1.1 christos 2010-01-04 Ulrich Weigand <uweigand (a] de.ibm.com>
11802 1.1 christos
11803 1.1 christos * features/Makefile (WHICH): Add s390-linux32, s390-linux64,
11804 1.1 christos and s390x-linux64.
11805 1.1 christos (s390-linux32-expedite): Define.
11806 1.1 christos (s390-linux64-expedite): Define.
11807 1.1 christos (s390x-linux64-expedite): Define.
11808 1.1 christos * features/s390-acr.xml: New file.
11809 1.1 christos * features/s390-fpr.xml: New file.
11810 1.1 christos * features/s390-core32.xml: New file.
11811 1.1 christos * features/s390-core64.xml: New file.
11812 1.1 christos * features/s390x-core64.xml: New file.
11813 1.1 christos * features/s390-linux32.xml: New file.
11814 1.1 christos * features/s390-linux64.xml: New file.
11815 1.1 christos * features/s390x-linux64.xml: New file.
11816 1.1 christos * features/s390-linux32.c: New generated file.
11817 1.1 christos * features/s390-linux64.c: New generated file.
11818 1.1 christos * features/s390x-linux64.c: New generated file.
11819 1.1 christos
11820 1.1 christos * regformats/s390-linux32.dat: New generated file.
11821 1.1 christos * regformats/s390-linux64.dat: New generated file.
11822 1.1 christos * regformats/s390x-linux64.dat: New generated file.
11823 1.1 christos * regformats/reg-s390.dat: Remove.
11824 1.1 christos * regformats/reg-s390x.dat: Remove.
11825 1.1 christos
11826 1.1 christos * s390-nat.c: Include "auxv.h" and <elf.h>.
11827 1.1 christos (HWCAP_S390_HIGH_GPRS): Define if undefined.
11828 1.1 christos (s390_target_wordsize): New function.
11829 1.1 christos (s390_auxv_parse): Likewise.
11830 1.1 christos (s390_get_hwcap): Likewise.
11831 1.1 christos (s390_read_description): Likewise.
11832 1.1 christos (_initialize_s390_nat): Install s390_auxv_parse and
11833 1.1 christos s390_read_description.
11834 1.1 christos
11835 1.1 christos * s390-tdep.c: Include "features/s390-linux32.c",
11836 1.1 christos "features/s390-linux64.c", and "features/s390x-linux64.c".
11837 1.1 christos (struct gdbarch_tdep): Add gpr_full_regnum, pc_regnum, and cc_regnum.
11838 1.1 christos (s390_register_call_saved): New function.
11839 1.1 christos (s390_register_name): Remove.
11840 1.1 christos (s390_register_type): Remove.
11841 1.1 christos (s390_dwarf_regmap): Add lower half GPR pseudo DWARF CFI regnums.
11842 1.1 christos (s390_dwarf_reg_to_regnum): Remap GPR regnums to full GPRs.
11843 1.1 christos (s390_adjust_frame_regnum): Remap GPR regnums to lower halves for CFI.
11844 1.1 christos (s390_pseudo_register_name): New function.
11845 1.1 christos (s390_pseudo_register_type): New function.
11846 1.1 christos (s390_pseudo_register_read): Handle both 32-bit and 64-bit cases.
11847 1.1 christos Handle full GPR pesudos and varying pseudo register numbers.
11848 1.1 christos (s390_pseudo_register_write): Likewise
11849 1.1 christos (s390x_pseudo_register_read): Remove.
11850 1.1 christos (s390x_pseudo_register_write): Likewise.
11851 1.1 christos (s390_register_group): Remove.
11852 1.1 christos (s390_pseudo_register_group): New function.
11853 1.1 christos (s390_regmap_gregset): Add GPR upper halves.
11854 1.1 christos (s390x_regmap_gregset): Likewise.
11855 1.1 christos (s390_regmap_fpregset): Likewise.
11856 1.1 christos (s390_regmap_upper): New global variable.
11857 1.1 christos (s390_upper_regset): New global variable.
11858 1.1 christos (s390_upper_regset_sections): New global variable.
11859 1.1 christos (s390_regset_from_core_section): Handle GPR upper halves.
11860 1.1 christos (s390_core_read_description): New function.
11861 1.1 christos (s390_prologue_frame_unwind_cache): Set up ABI call-saved/clobbered
11862 1.1 christos register information. Handle varying pseudo register numbers.
11863 1.1 christos (s390_backchain_frame_unwind_cache): Likewise.
11864 1.1 christos (s390_frame_prev_register): Unwind full GPRs to show lower halves.
11865 1.1 christos (s390_stub_frame_unwind_cache): Handle varying pseudo register numbers.
11866 1.1 christos (s390_sigtramp_frame_unwind_cache): Unwind PSWM and PSWA as well as
11867 1.1 christos PC and CC pseudos. Unwind upper halves and full GPRs as appropriate.
11868 1.1 christos Handle varying pseudo register numbers.
11869 1.1 christos (s390_unwind_pc): Handle varying pseudo register numbers.
11870 1.1 christos (s390_dwarf2_prev_register): New function.
11871 1.1 christos (s390_dwarf2_frame_init_reg): Set up ABI call-saved/clobbered
11872 1.1 christos register information. Handle varying pseudo register numbers.
11873 1.1 christos Install s390_dwarf2_prev_register to unwind full GPRs.
11874 1.1 christos (s390_gdbarch_init): Handle target descriptions. Assign varying
11875 1.1 christos pseudo register numbers. Install s390_adjust_frame_regnum.
11876 1.1 christos (_initialize_s390_tdep): Initialize target descriptions.
11877 1.1 christos
11878 1.1 christos * s390-tdep.h (S390_R0_UPPER_REGNUM .. S390_R15_UPPER_REGNUM): Define.
11879 1.1 christos (S390_NUM_REGS): Redefine to include upper half registers.
11880 1.1 christos (S390_PC_REGNUM, S390_CC_REGNUM): Remove.
11881 1.1 christos (S390_NUM_PSEUDO_REGS, S390_NUM_TOTAL_REGS): Likewise.
11882 1.1 christos (tdesc_s390_linux32): Add declaration.
11883 1.1 christos (tdesc_s390_linux64): Likewise.
11884 1.1 christos (tdesc_s390x_linux64): Likewise.
11885 1.1 christos
11886 1.1 christos 2010-01-04 Ulrich Weigand <uweigand (a] de.ibm.com>
11887 1.1 christos
11888 1.1 christos * regset.h (struct core_regset_section): Add HUMAN_NAME.
11889 1.1 christos * i386-linux-tdep.c (i386_linux_regset_sections): Fill in HUMAN_NAME.
11890 1.1 christos * ppc-linux-tdep.c (ppc_linux_vsx_regset_sections): Likewise.
11891 1.1 christos (ppc_linux_vmx_regset_sections): Likewise.
11892 1.1 christos (ppc_linux_fp_regset_sections): Likewise.
11893 1.1 christos
11894 1.1 christos * corelow.c (get_core_register_section): Constify arguments.
11895 1.1 christos (get_core_registers): Use gdbarch_core_regset_sections instead
11896 1.1 christos of hard-coded platform-specific register section names.
11897 1.1 christos
11898 1.1 christos 2010-01-04 Ulrich Weigand <uweigand (a] de.ibm.com>
11899 1.1 christos
11900 1.1 christos * dwarf2loc.c (read_pieced_value): If a piece occupies part of
11901 1.1 christos a register, assume the least-significant part is used.
11902 1.1 christos (write_pieced_value): Likewise.
11903 1.1 christos
11904 1.1 christos 2010-01-04 Ulrich Weigand <uweigand (a] de.ibm.com>
11905 1.1 christos
11906 1.1 christos * printcmd.c: Include "arch-utils.h".
11907 1.1 christos (do_one_display): Re-parse expression if current architecture changed.
11908 1.1 christos
11909 1.1 christos 2010-01-03 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11910 1.1 christos Joel Brobecker <brobecker (a] adacore.com>
11911 1.1 christos
11912 1.1 christos * gdbtypes.c (check_typedef): New comment on type length.
11913 1.1 christos * value.c (allocate_value_lazy): Remove the unused atype variable. New
11914 1.1 christos comment on type length.
11915 1.1 christos (value_primitive_field): Keep the original TYPE value, new comment.
11916 1.1 christos
11917 1.1 christos 2010-01-01 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11918 1.1 christos
11919 1.1 christos * cli/cli-script.c (process_next_line): Rename p1 as p_end and p2 as
11920 1.1 christos p_start. Change != comparisons to > and < comparisons.
11921 1.1 christos
11922 1.1 christos 2010-01-01 Jan Kratochvil <jan.kratochvil (a] redhat.com>
11923 1.1 christos
11924 1.1 christos * cli/cli-script.c (process_next_line): Check P2 overrun.
11925 1.1 christos
11926 1.1 christos 2009-01-01 Joel Brobecker <brobecker (a] adacore.com>
11927 1.1 christos
11928 1.1 christos Update the copyright hearder to add year 2010 for most GDB files.
11929 1.1 christos
11930 1.1 christos 2009-01-01 Joel Brobecker <brobecker (a] adacore.com>
11931 1.1 christos
11932 1.1 christos Fix build failure in inf-ptrace.c.
11933 1.1 christos * inf-ptrace.c (inf_ptrace_follow_fork): Fix typo.
11934 1.1 christos
11935 1.1 christos 2010-01-01 Joel Brobecker <brobecker (a] adacore.com>
11936 1.1 christos
11937 1.1 christos * top.c (print_gdb_version): Update copyright year.
11938 1.1 christos
11939 1.1 christos 2010-01-01, 10 Joel Brobecker <brobecker (a] adacore.com>
11940 1.1 christos
11941 1.1 christos Fix break *FUN'address thread NUM.
11942 1.1 christos * ada-lex.l (task): Expand rule to also match the thread keyword.
11943 1.1 christos
11944 1.1 christos 2010-01-01 Joel Brobecker <brobecker (a] adacore.com>
11945 1.1 christos
11946 1.1 christos Fix break *FUN'address task NUM.
11947 1.1 christos * ada-lex.l (task): New rule.
11948 1.1 christos * ada-lang.c (valid_task_id): Make sure the Ada task list has
11949 1.1 christos been built before using it.
11950 1.1 christos
11951 1.1 christos For older changes see ChangeLog-2009.
11952 1.1 christos
11954 1.1 christos Local Variables:
11955 1.1 christos mode: change-log
11956 1.1 christos left-margin: 8
11957 1.1 christos fill-column: 74
11958 1.1 christos version-control: never
11959 1.1 christos coding: utf-8
11960 End:
11961