Commit | Line | Data |
---|---|---|
77a458b3 NR |
1 | 2006-08-23 Nick Roberts <nickrob@snap.net.nz> |
2 | ||
3 | * mi/gdb-mi.el (gdbmi): Remove gdb-force-update, initialize | |
4 | other variables. | |
5 | (gdbmi-send): Ensure any text properties can be removed. | |
6 | (gdbmi-prompt1): Update to gdb-ui.el | |
7 | (gud-gdbmi-marker-filter): Defer setting of gud-running. | |
8 | Keep gdb-done-regexp for partial-output-buffer. | |
9 | (gdb-stack-list-frames-handler): Add face to function names. | |
10 | ||
76b7178d MK |
11 | 2006-08-22 Mark Kettenis <kettenis@gnu.org> |
12 | ||
316703b9 MK |
13 | * valprint.c (val_print_type_code_flags): Fix GNU coding standards |
14 | violation. | |
15 | ||
2a1ce6ec MK |
16 | * alpha-tdep.c (alpha_register_to_value, alpha_value_to_register) |
17 | (alpha_push_dummy_call, alpha_extract_return_value) | |
18 | (alpha_breakpoint_from_pc, alpha_read_insn) | |
19 | (alpha_get_longjmp_target, alpha_supply_int_regs) | |
20 | (alpha_fill_int_regs, alpha_supply_fp_regs, alpha_fill_fp_regs) | |
21 | (alpha_next_pc): Use gdb_byte instead of (unsigned) char where | |
22 | appropriate. | |
23 | ||
fd936806 MK |
24 | * sparc64-tdep.c (sparc64_pstate_type, sparc64_fsr_type) |
25 | (sparc64_fprs_type): New variables. | |
26 | (sparc64_init_types): New function.: | |
27 | (sparc64_register_info): Use appropriate flag types for %fsr and | |
28 | %fprs. | |
29 | (sparc64_pseudo_register_info): Use appropriate type for %pstate. | |
30 | (_initialize_sparc64_tdep): New function. | |
31 | ||
befae759 MK |
32 | * valprint.c (val_print_type_code_flags): Fix for bitfields larger |
33 | than 32 bits. | |
34 | ||
76b7178d MK |
35 | * gdbtypes.c (init_flags_type): Set all fields to zero instead of |
36 | just the first one. | |
37 | ||
d3f4f91a DJ |
38 | 2006-08-22 Daniel Jacobowitz <dan@codesourcery.com> |
39 | ||
40 | * Makefile.in (INTERNAL_CPPFLAGS): New. | |
41 | (INTERNAL_CFLAGS_BASE): Use it. | |
42 | ||
a98b27f2 MS |
43 | 2006-08-22 Michael Snyder <Michael.Snyder@PalmSource.com> |
44 | ||
45 | * MAINTAINERS: Update my email address. | |
46 | ||
8695c747 DJ |
47 | 2006-08-19 Daniel Jacobowitz <dan@codesourcery.com> |
48 | ||
49 | * Makefile.in (amd64_linux_tdep_h): New. | |
50 | (amd64-linux-nat.o, amd64-linux-tdep.o): Update. | |
51 | * amd64-linux-nat.c (amd64_linux_gregset64_reg_offset): Add | |
52 | ORIG_RAX. | |
53 | (_initialize_amd64_linux_nat): Set amd64_native_gregset64_num_regs. | |
54 | * amd64-linux-tdep.c (amd64_linux_register_name) | |
55 | (amd64_linux_register_type, amd64_linux_register_reggroup_p) | |
56 | (amd64_linux_write_pc): New. | |
57 | (amd64_linux_init_abi): Use them, and update num_regs. | |
58 | * amd64-linux-tdep.h: New file. | |
59 | * amd64-tdep.c (amd64_register_name, amd64_register_type): Make | |
60 | public. | |
61 | * amd64-tdep.h (amd64_register_name, amd64_register_type): New | |
62 | prototypes. | |
63 | ||
64 | * regformats/reg-x86-64-linux.dat: New file. | |
65 | ||
c17eaafe DJ |
66 | 2006-08-18 Daniel Jacobowitz <dan@codesourcery.com> |
67 | ||
68 | * infrun.c (handle_inferior_event): Check the current frame ID | |
69 | before unwinding to the previous frame. | |
70 | ||
61049d3b DJ |
71 | 2006-08-18 Daniel Jacobowitz <dan@codesourcery.com> |
72 | ||
73 | * dwarf2read.c (quirk_gcc_member_function_pointer): Add GCC PR | |
74 | number in a comment. | |
75 | ||
2c9771d3 MK |
76 | 2006-08-18 Mark Kettenis <kettenis@gnu.org> |
77 | ||
78 | * sparc-nat.c (sparc_xfer_wcookie): Signal EOF. Tweak comment. | |
79 | ||
c0dd20ea DJ |
80 | 2006-08-18 Daniel Jacobowitz <dan@codesourcery.com> |
81 | ||
82 | * dwarf2read.c (quirk_gcc_member_function_pointer): New. | |
83 | (read_structure_type): Call it. | |
84 | ||
17218d91 DJ |
85 | 2006-08-16 Daniel Jacobowitz <dan@codesourcery.com> |
86 | ||
87 | * NEWS: Mention "set trust-readonly-sections" fix. | |
88 | ||
2bc416ba DJ |
89 | 2006-08-16 Daniel Jacobowitz <dan@codesourcery.com> |
90 | ||
91 | * remote.c, target.c: Strip trailing whitespace. | |
92 | ||
cf7a04e8 DJ |
93 | 2006-08-15 Daniel Jacobowitz <dan@codesourcery.com> |
94 | ||
95 | PR remote/1966 | |
96 | * dcache.c (dcache_write_line): Use target_write. | |
97 | (dcache_read_line): Use target_read. | |
98 | * mi/mi-main.c (mi_cmd_data_read_memory): Use target_read. | |
99 | * symfile.c (struct load_section_data): Add new per-section | |
100 | members. | |
101 | (load_progress): New function. | |
102 | (load_section_callback): Pass load_progress to the new | |
103 | target_write_with_progress. | |
104 | * target.c (current_xfer_partial, memory_xfer_partial): New. | |
105 | (target_xfer_partial): New prototype. | |
106 | (target_xfer_memory, target_xfer_partial_p, xfer_using_stratum) | |
107 | (do_xfer_memory, target_xfer_memory_partial) | |
108 | (target_read_memory_partial, target_write_memory_partial): Delete. | |
109 | (trust_readonly): Move higher in the file. | |
110 | (update_current_target): Use current_xer_partial. | |
111 | (target_xfer_partial): Use memory_xfer_partial. Handle | |
112 | TARGET_OBJECT_RAW_MEMORY specially. | |
113 | (target_read_memory): Use target_read. | |
114 | (target_write_memory): Use target_write. | |
115 | (default_xfer_partial): Call to_xfer_partial directly. | |
116 | (target_write_with_progress): New function, based on target_write. | |
117 | (target_write): Call it. | |
118 | * target.h (enum target_object): Add TARGET_OBJECT_RAW_MEMORY. | |
119 | (target_write_with_progress): New prototype. | |
120 | (do_xfer_memory, target_read_memory_partial) | |
121 | (target_write_memory_partial): Delete prototypes. | |
122 | ||
b2182ed2 DJ |
123 | 2006-08-15 Daniel Jacobowitz <dan@codesourcery.com> |
124 | ||
125 | * remote.c (remote_write_bytes): Take a const buffer argument. | |
126 | Do the checks from remote_xfer_memory. | |
127 | (remote_read_bytes): Do the checks from remote_xfer_memory. | |
128 | (remote_xfer_memory): Remove checks pushed into lower level | |
129 | functions. | |
130 | (remote_xfer_partial): Call remote_write_bytes and remote_read_bytes | |
131 | directly. | |
132 | * remote.h (remote_write_bytes): Update prototype. | |
133 | ||
9fa66fd7 AS |
134 | 2006-08-11 Andrew Stubbs <andrew.stubbs@st.com> |
135 | ||
136 | * NEWS: Add 'set trace-commands' command. | |
137 | ||
8625200f AS |
138 | 2006-08-10 Andrew Stubbs <andrew.stubbs@st.com> |
139 | ||
140 | * cli/cli-script.c (execute_user_command): Update command_next_depth | |
141 | on user-command call. | |
142 | ||
4f8253f3 JB |
143 | 2006-08-09 Joel Brobecker <brobecker@adacore.com> |
144 | ||
145 | * NEWS: Add entry for new substitute-path commands. | |
146 | ||
2f61ca93 JB |
147 | 2006-08-08 Joel Brobecker <brobecker@adacore.com> |
148 | ||
149 | * source.c: #include gdb_assert.h. | |
150 | (substitute_path_rule): New struct. | |
151 | (substitute_path_rules): New static global variable. | |
152 | (substitute_path_rule_matches): New function. | |
153 | (get_substitute_path_rule): New function. | |
154 | (rewrite_source_path): New function. | |
155 | (find_and_open_source): Add source path rewriting support. | |
156 | (strip_trailing_directory_separator): New function. | |
157 | (find_substitute_path_rule): New function. | |
158 | (add_substitute_path_rule): New function. | |
159 | (delete_substitute_path_rule): New function. | |
160 | (show_substitute_path_command): New function. | |
161 | (unset_substitute_path_command): New function. | |
162 | (set_substitute_path_command): New function. | |
163 | (_initialize_source): Add new substitute-path commands. | |
164 | * Makefile.in (source.o): Add dependency on gdb_assert.h. | |
165 | ||
24a2a654 JB |
166 | 2006-08-08 Joel Brobecker <brobecker@adacore.com> |
167 | ||
168 | * i386-tdep.c (i386_follow_jump): Use read_memory_nobpt to read | |
169 | instructions. | |
170 | (i386_analyze_struct_return): Likewise. | |
171 | (i386_skip_probe): Likewise. | |
172 | (i386_match_insn): Likewise. | |
173 | (i386_analyze_frame_setup): Likewise. | |
174 | (i386_analyze_register_saves): Likewise. | |
175 | (i386_skip_prologue): Likewise. | |
176 | ||
359a9262 JB |
177 | 2006-08-08 Joel Brobecker <brobecker@adacore.com> |
178 | ||
179 | * gdbcore.h (read_memory_nobpt): New function name instead of | |
180 | deprecated_read_memory_nobpt. | |
181 | * breakpoint.c (read_memory_nobpt): New function name instead | |
182 | of deprecated_read_memory_nobpt. | |
183 | Adjust calls to old deprecated_read_memory_nobpt accordingly. | |
184 | * alpha-tdep.c: Adjust calls to deprecated_read_memory_nobpt | |
185 | accordingly. | |
186 | * alphanbsd-tdep.c: Likewise. | |
187 | * frame.c: Likewise. | |
188 | * frv-tdep.c: Likewise. | |
189 | * hppa-linux-tdep.c: Likewise. | |
190 | * hppa-tdep.c: Likewise. | |
191 | * i386-linux-nat.c: Likewise. | |
192 | * m68klinux-tdep.c: Likewise. | |
193 | * mips-tdep.c: Likewise. | |
194 | * s390-tdep.c: Likewise. | |
195 | ||
7fa2210b DJ |
196 | 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com> |
197 | ||
198 | * configure.ac: Check for expat. | |
199 | * acinclude.m4: Include AC_LIB_HAVE_LINKFLAGS dependencies. | |
200 | * Makefile.in (LIBEXPAT): New. | |
201 | (CLIBS): Include $(LIBEXPAT). | |
202 | * README: Mention expat. | |
203 | * configure, config.in: Regenerated. | |
204 | ||
ce928021 DJ |
205 | 2006-08-08 Joel Sherrill <joel.sherrill@oarcorp.com> |
206 | ||
207 | * config/sparc/embed.mt: New file. | |
208 | * configure.tgt (sparc-*-rtems*): Use embed.mt. | |
209 | ||
9bdcbae7 DJ |
210 | 2006-08-08 Daniel Jacobowitz <dan@codesourcery.com> |
211 | ||
212 | * Makefile.in (objfiles.o, symfile.o): Update. | |
213 | * objfiles.c: Include "expression.h" and "parser-defs.h". | |
214 | (free_objfile): Clear global blocks. | |
215 | * symfile.c: Include "parser-defs.h". | |
216 | (clear_symtab_users): Clear global blocks. | |
217 | ||
67985547 TS |
218 | 2006-08-08 Thiemo Seufer <ths@mips.com> |
219 | ||
220 | * breakpoint.c (update_breakpoints_after_exec): Fix type mismatch. | |
221 | ||
3d00d119 DJ |
222 | 2006-08-08 Vladimir Prus <vladimir@codesourcery.com> |
223 | ||
224 | * symfile.c (download_write_size): Remove. | |
225 | (show_download_write_size): Remove. | |
226 | (load_section_callback): Don't use download_write_size. | |
227 | (_initialize_symfile): Don't register download_write_size. | |
228 | * NEWS: Mention 'download-write-size' removal. | |
229 | ||
0534816d DJ |
230 | 2006-08-06 Daniel Jacobowitz <dan@codesourcery.com> |
231 | ||
232 | * expprint.c (print_subexp_standard, dump_subexp_body_standard): Add | |
233 | support for member pointers. | |
234 | ||
47ccd048 MK |
235 | 2006-08-02 Mark Kettenis <kettenis@gnu.org> |
236 | ||
237 | * arm-tdep.h: Add multiple inclusion protection. | |
238 | (struct gdbarch): Add forward declaration. | |
239 | (armobsd_regset_from_core_section): New prototype. | |
240 | * armbsd-tdep.c: New file. | |
241 | * armobsd-tdep.c: Include "gdb_string.h". | |
242 | (armobsd_init_abi): Set regset_from_core_section. | |
243 | (armobsd_core_osabi_sniffer): New function. | |
244 | (_initialize_armobsd_tdep): Register armobsd_core_osabi_sniffer. | |
245 | * Makefile.in (ALLDEPFILES): Add armbsd-tdep.c. | |
246 | (armbsd-tdep.o): New dependency. | |
247 | (armnbsd-tdep.o): Update dependencies. | |
248 | * config/arm/obsd.mt (TDEPFILES): Add armbsd-tdep.o and corelow.o. | |
249 | ||
87177905 TS |
250 | 2006-08-02 Thiemo Seufer <ths@mips.com> |
251 | ||
252 | * linux-thread-db.c (thread_db_get_thread_local_address): Fix type | |
253 | mismatch. | |
254 | * tui/tui-stack.c (tui_show_frame_info): Likewise. | |
255 | ||
a22229c4 DJ |
256 | 2006-08-01 Daniel Jacobowitz <dan@codesourcery.com> |
257 | ||
258 | * c-exp.y (type): Remove incorrect pointer to member case. | |
259 | * objc-exp.y (type): Likewise. | |
260 | * p-exp.y (type): Likewise. | |
261 | ||
7c00367c MK |
262 | 2006-08-01 Mark Kettenis <kettenis@gnu.org> |
263 | ||
264 | * arm-tdep.h (enum struct_return): New. | |
265 | (struct gdbarch_tdep): Add struct_return member. | |
266 | * arm-tdep.c (arm_return_value): Return | |
267 | RETURN_VALUE_STRUCT_CONVENTION for aggregates when the ABI uses | |
268 | pcc_struct_return. | |
269 | (arm_gdbarch_init): Default to reg_struct_return. | |
270 | * armobsd-tdep.c (armobsd_init_abi): Set pcc_struct_return. | |
271 | ||
4816ec69 MK |
272 | 2006-07-31 Mark Kettenis <kettenis@gnu.org> |
273 | ||
274 | * alpha-tdep.h (ALPHA_S0_REGNUM): New define. | |
275 | * alphabsd-nat.c: Include <sys/types.h>, <sys/signal.h>, | |
276 | <machine/pcb.h> and "bsd-kvm.h". | |
277 | (alphabsd_supply_pcb): New function. | |
278 | (_initialize_alphabsd_nat): Enable libkvm interface. | |
279 | * Makefile.in (alphabsd-nat.o): Update dependencies. | |
280 | * config/alpha/fbsd.mh (NATDEPFILES): Add bsd-kvm.o. | |
281 | (LOADLIBES): New variable. | |
282 | * config/alpha/nbsd.mh (NATDEPFILES): Add bsd-kvm.o. | |
283 | (LOADLIBES): New variable. | |
284 | ||
35d5d4ee FF |
285 | 2006-07-31 Fred Fish <fnf@specifix.com> |
286 | ||
287 | * arm-tdep.c (arm_make_prologue_cache): Use FRAME_OBSTACK_ZALLOC | |
288 | instead of calling frame_obstack_zalloc directly. | |
289 | (arm_make_stub_cache): Ditto. | |
290 | * frame-unwind.h: Ditto. | |
291 | * frame.c (create_new_frame): Ditto. | |
292 | ||
0f9e5f32 BW |
293 | 2006-07-27 Bob Wilson <bob.wilson@acm.org> |
294 | ||
295 | * MAINTAINERS (Write After Approval): Add myself. | |
296 | ||
e896d70e DJ |
297 | 2006-07-27 Bob Wilson <bob.wilson@acm.org> |
298 | ||
299 | * main.c (captured_main): Print a newline after calling | |
300 | print_gdb_version instead of waiting until after the symbol file | |
301 | has been read. Adjust error_pre_print, quit_pre_print, and | |
302 | warning_pre_print values. | |
303 | ||
f58b68aa DJ |
304 | 2006-07-27 Roger Sayle <roger@eyesopen.com> |
305 | Daniel Jacobowitz <dan@codesourcery.com> | |
306 | ||
307 | * irix5-nat.c (fetch_core_registers): Simplify and correct logic. | |
308 | ||
159f81f3 DJ |
309 | 2006-07-27 Daniel Jacobowitz <dan@codesourcery.com> |
310 | ||
311 | * target.h (target_read_stralloc): New prototype. | |
312 | * target.c (target_read_alloc_1): Renamed from target_read_alloc. | |
313 | Take new PADDING argument. | |
314 | (target_read_alloc): Use it. | |
315 | (target_read_stralloc): New function. | |
316 | ||
40e57cf2 DJ |
317 | 2006-07-26 Daniel Jacobowitz <dan@codesourcery.com> |
318 | ||
319 | * remote.c (remote_protocol_features): Correct qPart to qXfer. | |
320 | ||
ab5c9f60 DJ |
321 | 2006-07-25 Daniel Jacobowitz <dan@codesourcery.com> |
322 | ||
323 | * eval.c (evaluate_subexp_for_address): Don't incorrectly discard | |
324 | calls to C++ operator*. | |
325 | ||
725a826f DJ |
326 | 2006-07-24 Roger Sayle <roger@eyesopen.com> |
327 | Daniel Jacobowitz <dan@codesourcery.com> | |
328 | ||
329 | * solib-irix.c (gdb_int32_bytes): Use gdb_byte instead of char. | |
330 | (gdb_int64_bytes): Likewise. | |
331 | (fetch_lm_info): Use .b fields of gdb_int32_bytes and gdb_int64_bytes | |
332 | as first argument to extract_unsigned_integer to silence compiler | |
333 | warnings. | |
334 | ||
72dca2f5 FR |
335 | 2006-07-24 Frederic Riss <frederic.riss@st.com> |
336 | ||
337 | * dwarf2read.c (struct dwarf2_per_objfile): Add has_section_at_zero | |
338 | field. | |
339 | (dwarf2_locate_sections): Initialize | |
340 | dwarf2_per_objfile->has_section_at_zero. | |
341 | (dwarf2_get_pc_bounds): Use dwarf2_per_objfile->has_section_at_zero | |
342 | instead of HAS_RELOC test. | |
343 | (read_partial_die): Ditto. | |
344 | ||
4c42eaff DJ |
345 | 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com> |
346 | ||
347 | * corefile.c (reopen_exec_file): Only check for an open exec file. | |
348 | Use exec_file_attach. | |
349 | * exec.c (exec_open): Make static. | |
350 | (exec_file_command): Don't use target_preopen. Query directly about | |
351 | changing the file. | |
352 | * gdbcore.h (exec_open): Remove prototype. | |
353 | ||
354 | 2006-07-24 Frederic Riss <frederic.riss@st.com> | |
b05e64e5 FR |
355 | |
356 | * regcache.c (struct regcache): Make register_valid_p a signed char | |
357 | array. | |
358 | ||
3f64f7b1 DJ |
359 | 2006-07-24 Jan Kratochvil <jan.kratochvil@redhat.com> |
360 | Daniel Jacobowitz <dan@codesourcery.com> | |
361 | ||
362 | * linux-thread-db.c (thread_db_wait): Remove libthread_db | |
363 | after exec events. | |
364 | ||
6aec2e11 DJ |
365 | 2006-07-24 Daniel Jacobowitz <dan@codesourcery.com> |
366 | ||
367 | * NEWS: Mention Windows cross debugging support. | |
368 | ||
83eba059 DJ |
369 | 2006-07-23 Daniel Jacobowitz <dan@codesourcery.com> |
370 | ||
371 | * linux-nat.c (linux_nat_add_target): Remove extern. | |
372 | * linux-nat.h (thread_db_init): New prototype. | |
373 | ||
b80864fb DJ |
374 | 2006-07-22 Daniel Jacobowitz <dan@codesourcery.com> |
375 | ||
376 | * configure.tgt: Build gdbserver for Cygwin and mingw32. | |
377 | ||
66a79c16 DJ |
378 | 2006-07-22 Daniel Jacobowitz <dan@codesourcery.com> |
379 | ||
380 | * config/i386/cygwin.mt (DEPRECATED_TM_FILE): Delete. | |
381 | * config/i386/nm-cygwin.h: Add contents of tm-cygwin.h. | |
382 | * config/i386/tm-cygwin.h: Delete file. | |
383 | ||
fc5261f2 MK |
384 | 2006-07-22 Jan Kratochvil <jan.kratochvil@redhat.com> |
385 | ||
386 | * infrun.c (handle_inferior_event): Typo. | |
387 | ||
16026cd7 AS |
388 | 2006-07-21 Andrew Stubbs <andrew.stubbs@st.com> |
389 | ||
390 | * cli/cli-cmds.c (source_verbose, trace_commands): New variables. | |
391 | (source_script): New function. | |
392 | (source_verbose_cleanup): New function. | |
393 | (source_command): Move old contents to source_script. | |
394 | Make function static. Parse -v option and call source_script. | |
395 | (init_cli_cmds): Update source command help. | |
396 | Add 'set trace-commands' command. | |
397 | * cli/cli-script.c (command_next_depth): New static variable. | |
398 | (suppress_next_print_command_trace): New static variable. | |
399 | (reset_command_nest_depth): New function. | |
400 | (print_command_trace): New function. | |
401 | (execute_control_command): Split the continue_control and break_control | |
402 | cases, add calls to print_command_trace and count the nest depth. | |
403 | (while_command): Set suppress_next_print_command_trace. | |
404 | (if_command): Likewise. | |
405 | * top.c (execute_command): Call print_command_trace. | |
406 | * cli/cli-cmds.h (source_verbose, trace_commands): New extern variables. | |
407 | (source_command): Change to source_script. | |
408 | * main.c (captued_main): Use source_script instead of source_command. | |
409 | * top.h (source_command): Change to source_script. | |
410 | * event-top.c (display_gdb_prompt): Call reset_command_nest_depth. | |
411 | * cli/cli-script.h (print_command_trace): Export. | |
412 | (reset_command_nest_depth): Likewise. | |
413 | ||
16963cb6 DJ |
414 | 2006-07-20 Daniel Jacobowitz <dan@codesourcery.com> |
415 | ||
416 | * eval.c (evaluate_struct_tuple): Skip static fields. | |
417 | ||
6b26d61a MK |
418 | 2006-07-19 Mark Kettenis <kettenis@gnu.org> |
419 | ||
6ea0ec3f MK |
420 | * alphaobsd-tdep.c: Include "obsd-tdep.h". |
421 | (alphaobsd_init_abi): Set skip_solib_resolver. | |
422 | * Makefile.in (alphaobsd-tdep.o): Update dependencies. | |
423 | * config/alpha/obsd.mt (TDEPFILES): Add obsd-tdep.o. | |
424 | ||
6b26d61a MK |
425 | * arm-tdep.c (arm_gdbarch_init): Get default floating-point model |
426 | from ELF flags for binaries produced by the GNU toolchain. | |
427 | ||
86cc68a8 NS |
428 | 2006-07-18 Nathan Sidwell <nathan@codesourcery.com> |
429 | ||
430 | * remote-fileio.c (remote_fileio_func_rename): Reorder to process | |
431 | input buffer before reading memory. | |
432 | (remote_fileio_func_stat): Likewise. | |
433 | ||
29e8a844 DJ |
434 | 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com> |
435 | ||
436 | * blockframe.c (find_pc_partial_function): Use the minimal symbol | |
437 | size to control the cache entry, if available. | |
438 | * minsyms.c (lookup_minimal_symbol_by_pc_section): Handle minimal | |
439 | symbols with zero and non-zero sizes differently. | |
440 | ||
28b17333 DJ |
441 | 2006-07-18 Daniel Jacobowitz <dan@codesourcery.com> |
442 | ||
443 | * linux-thread-db.c (td_thr_getfpregs_p, td_thr_getgregs_p) | |
444 | (td_thr_setfpregs_p, td_thr_setgregs_p, thread_db_get_info) | |
445 | (thread_db_fetch_registers, thread_db_store_registers) | |
446 | (thread_db_thread_alive, thread_db_state_str): Delete. | |
447 | (thread_db_load): Don't look up regset functions. | |
448 | (thread_db_pid_to_str): Simplify. | |
449 | (thread_db_extra_thread_info): New. | |
450 | (init_thread_db_ops): Do not set to_fetch_registers, | |
451 | to_store_registers, or to_thread_alive. Set to_extra_thread_info. | |
452 | * Makefile.in: Remove linux-thread-db.o rule. | |
453 | ||
e3ac4a1e MK |
454 | 2006-07-18 Mark Kettenis <kettenis@gnu.org> |
455 | ||
456 | * armobsd-tdep.c: Include "trad-frame.h" and "tramp-frame.h". | |
457 | (armobsd_sigframe_init): New function. | |
458 | (armobsd_sigframe): New variable. | |
459 | (armobsd_init_abi): Prepend armobsd_sigframe unwinder. | |
460 | * Makefile.in (armobsd-tdep.o): Update dependencies. | |
461 | ||
08ae6d95 DJ |
462 | 2006-07-18 Denis PILAT <denis.pilat@st.com> |
463 | ||
464 | * monitor.c: Remove unused prototypes. | |
465 | ||
6962ad99 VP |
466 | 2006-07-18 Vladimir Prus <vladimir@codesourcery.com> |
467 | ||
468 | * target.c (tcomplain): Mark with ATTR_NORETURN. | |
469 | ||
0152ebd7 VP |
470 | * defs.h (print_transfer_performance): Improve comments. |
471 | ||
aa88762a MK |
472 | 2006-07-17 Mark Kettenis <kettenis@gnu.org> |
473 | ||
675dcf4f MK |
474 | * printcmd.c: Coding style fixes: add missing spaces in comments |
475 | and wrapping long lines. | |
476 | (delete_display, enable_display_command, disable_display_command) | |
477 | (printf_command, display_info, undisplay_command, free_display) | |
478 | (display_command, x_command, address_info, set_command) | |
479 | (inspect_command, call_command, print_command, print_command_1) | |
480 | (validate_format, print_formatted, decode_format, sym_format): | |
481 | Remove prototypes. | |
482 | (x_command): Make static. | |
483 | (printf_command): Convert error into internal consistency check. | |
484 | (address_info): Avoid assignment within function call. | |
485 | (printf_command): Avoid redundant cast. | |
486 | * tracepoint.c (x_command): Remove extern prototype. | |
487 | ||
aa88762a MK |
488 | * armobsd-tdep.c (armobsd_init_abi): Set skip_solib_resolver. |
489 | * Makefile.in (armobsd-tdep.o): Update dependencies. | |
490 | * config/arm/obsd.mt (TDEPFILES): Add obsd-tdep.o. | |
491 | ||
1cd566a4 MK |
492 | 2006-07-16 Mark Kettenis <kettenis@gnu.org> |
493 | ||
a58dc200 MK |
494 | * armobsd-tdep.c: New file. |
495 | * Makefile.in (ALLDEPFILES): Add armobsd-tdep.c. | |
496 | (armobsd-tdep.o): New dependency. | |
497 | * config/arm/obsd.mt: New file. | |
498 | * configure.tgt: (arm*-*-openbsd*): Set gdb_target to obsd. | |
499 | ||
d7b7af6f | 500 | * gdbarch.sh (deprecated_saved_pc_after_call): Delete. |
a4bc5cf9 | 501 | * gdbarch.h, gdbarch.c: Re-generate. |
d7b7af6f | 502 | |
1cd566a4 MK |
503 | * arm-tdep.c (arm_saved_pc_after_call): Delete. |
504 | (arm_gdbarch_init): Do not set deprecated_saved_pc_after_call. | |
505 | ||
96ffcb62 AS |
506 | 2006-07-16 Alfred M. Szmidt <ams@gnu.org> |
507 | ||
508 | * gnu-nat.c: Undefine _process_user_ before including | |
509 | <hurd/process_request.h>. | |
510 | (gnu_resume): Supply missing argument to error(). | |
511 | (gnu_read_inferior): Add extra parenthesis around arithmetic | |
512 | expression to silence warnings from GCC. | |
513 | (gnu_write_inferior): Likewise. | |
514 | (gnu_xfer_memory): Changed type of MYADDR to `gdb_byte *'. | |
515 | ||
424f3115 MK |
516 | 2006-07-16 Mark Kettenis <kettenis@gnu.org> |
517 | ||
518 | * armnbsd-tdep.c (arm_netbsd_elf_init_abi): Use | |
519 | svr4_ilp_fetch_link_map_offsets. | |
520 | ||
a4ab4a25 MK |
521 | 2006-07-15 Mark Kettenis <kettenis@gnu.org> |
522 | ||
523 | * armnbsd-tdep.c: Don't include "nbsd-tdep.h". | |
524 | * config/arm/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o. | |
525 | (DEPRECATED_TM_FILE): Remove. | |
526 | * Makefile.in (armnbsd-tdep.o): Update dependencies. | |
527 | ||
cd24f626 JB |
528 | 2006-07-14 Joel Brobecker <brobecker@adacore.com> |
529 | ||
530 | * PROBLEMS: Document threads/2137. | |
531 | ||
06d65a1d MK |
532 | 2006-07-13 Mark Kettenis <kettenis@gnu.org> |
533 | ||
534 | * config/alpha/tm-nbsd.h: Remove file. | |
535 | * config/alpha/nbsd.mt (DEPRECATED_TM_FILE): Remove. | |
536 | ||
4844f454 CV |
537 | 2006-07-13 Corinna Vinschen <vinschen@redhat.com> |
538 | ||
539 | * mips-tdep.c (mips_integer_to_address): Simplify be calling | |
540 | extract_signed_integer directly. Fix comment. | |
541 | ||
7830cb4f CV |
542 | 2006-07-13 Corinna Vinschen <vinschen@redhat.com> |
543 | ||
544 | * m32c-tdep.c (m32c_banked_register): New function. | |
545 | (m32c_banked_read): Use m32c_banked_register function to evaluate | |
546 | real register number. | |
547 | (m32c_banked_write): Ditto. | |
548 | (m32c_virtual_frame_pointer): New function. | |
549 | (m32c_gdbarch_init): Add set_gdbarch_virtual_frame_pointer call. | |
550 | ||
9bb47d95 NS |
551 | 2006-07-13 Nathan Sidwell <nathan@codesourcery.com> |
552 | ||
553 | * m68k-tdep.c (m68k_frame_align): New. | |
554 | (m68k_gdbarch_init): Set frame_align here. | |
555 | ||
9af2a054 AS |
556 | 2006-07-13 Denis PILAT <denis.pilat@st.com> |
557 | ||
558 | * interps.c (interpreter_completer): Allocate one more item to the | |
559 | 'matches' list and set them all to 0 with a xcalloc. | |
560 | ||
79ee37bc NR |
561 | 2006-07-13 Nick Roberts <nickrob@snap.net.nz> |
562 | ||
563 | * annotate.c (annotate_frame_begin): Re-instate frame-begin | |
564 | annotation for level 3 annotations. | |
565 | ||
fb933624 DJ |
566 | 2006-07-13 Paul N. Hilfinger <Hilfinger@adacore.com> |
567 | Daniel Jacobowitz <dan@codesourcery.com> | |
568 | ||
569 | * infcall.c (value_arg_coerce): Use value_cast_pointers for | |
570 | references. Avoid value_cast to a reference type. Don't silently | |
571 | convert pointers to references. | |
572 | * valops.c (value_cast_pointers): New, based on value_cast. | |
573 | (value_cast): Use it. Reject reference types. | |
574 | (value_ref): New. | |
575 | (typecmp): Use it. | |
576 | * value.h (value_cast_pointers, value_ref): New prototypes. | |
577 | ||
d49c44d5 DJ |
578 | 2006-07-12 Daniel Jacobowitz <dan@codesourcery.com> |
579 | ||
580 | * remote.c (unpack_varlen_hex): Correct type of retval. | |
581 | Reported by Zhigang Gong <zhigang.gong@gmail.com>. | |
582 | ||
99bcc461 DJ |
583 | 2006-07-12 Daniel Jacobowitz <dan@codesourcery.com> |
584 | ||
585 | * dwarf2read.c (dwarf2_symbol_mark_computed): Handle corrupted | |
586 | or missing location list information. Suggested by Jan | |
587 | Kratochvil <lace@jankratochvil.net>. | |
588 | ||
cb587d83 DJ |
589 | 2006-07-12 Daniel Jacobowitz <dan@codesourcery.com> |
590 | ||
591 | * Makefile.in (arm_linux_tdep_h): New variable. | |
592 | (arm-linux-nat.o, arm-linux-tdep.o): Update. | |
593 | * arm-linux-nat.c: Include "arm-linux-tdep.h". | |
594 | (typeNone, typeSingle, typeDouble, typeExtended) | |
595 | (FPWORDS, ARM_CPSR_REGNUM, FPREG, FPA11) | |
596 | (fetch_nwfpe_single, fetch_nwfpe_double, fetch_nwfpe_none) | |
597 | (fetch_nwfpe_extended, fetch_nwfpe_register, store_nwfpe_single) | |
598 | (store_nwfpe_double, store_nwfpe_extended, store_nwfpe_register): | |
599 | Delete. | |
600 | (fetch_fpregister, fetch_fpregs, store_fpregister, store_fpregs): | |
601 | Use gdb_byte buffers, NWFPE_FPSR_OFFSET, supply_nwfpe_register, | |
602 | and collect_nwfpe_register. | |
603 | (fill_gregset, supply_gregset, fill_fpregset, supply_fpregset): Use | |
604 | new regset functions. | |
605 | * arm-linux-tdep.c: Include "regset.h" and "arm-linux-tdep.h". | |
606 | (arm_apcs_32): New declaration. | |
607 | (ARM_LINUX_SIZEOF_GREGSET, arm_linux_supply_gregset) | |
608 | (arm_linux_collect_gregset, typeNone, typeSingle, typeDouble) | |
609 | (typeExtended, supply_nwfpe_register, collect_nwfpe_register) | |
610 | (arm_linux_supply_nwfpe, arm_linux_collect_nwfpe) | |
611 | (arm_linux_regset_from_core_section): New. | |
612 | (arm_linux_init_abi): Register arm_linux_regset_from_core_section. | |
613 | * arm-linux-tdep.h: New file. | |
614 | * arm-tdep.h (struct regset): Declare. | |
615 | (struct gdbarch_tdep): Add gregset, fpregset members. | |
616 | * config/arm/linux.mh (NATDEPFILES): Remove corelow.o and | |
617 | core-regset.o. | |
618 | * config/arm/linux.mt (TDEPFILES): Add corelow.o. | |
619 | ||
8802d8ed DJ |
620 | 2006-07-12 Jan Kratochvil <lace@jankratochvil.net> |
621 | ||
622 | * infrun.c (handle_inferior_event): Fixed typos in printf. | |
623 | ||
6765f3e5 DJ |
624 | 2006-07-12 Daniel Jacobowitz <dan@codesourcery.com> |
625 | Nathan Sidwell <nathan@codesourcery.com> | |
626 | ||
627 | * remote.c (REMOTE_ALIGN_WRITES): New. | |
628 | (remote_write_bytes): Align large write packets. Remove unused | |
629 | payload_start variable. | |
630 | ||
0876f84a DJ |
631 | 2006-07-12 Daniel Jacobowitz <dan@codesourcery.com> |
632 | ||
633 | * remote.c (PACKET_qXfer_auxv): New, renamed from PACKET_qPart_auxv. | |
634 | (remote_supported_packet): Remove #if 0. | |
635 | (remote_protocol_features): Add qPart:auxv:read. | |
636 | (remote_unescape_input): New function. | |
637 | (readchar): Don't mask off the high bit. | |
638 | (read_frame): Use fputstrn_filtered for packet data. | |
639 | (getpkt_sane): Return the number of bytes read or -1. Use | |
640 | fputstrn_unfiltered. | |
641 | (remote_read_qxfer): New. | |
642 | (remote_xfer_partial): Use it for TARGET_OBJECT_AUXV. | |
643 | (_initialize_remote): Update packet registration. | |
644 | * defs.h (fputstrn_filtered): New prototype. | |
645 | * utils.c (fputstrn_filtered): New. | |
646 | * NEWS: Mention qXfer. | |
647 | ||
13547ab6 DJ |
648 | 2006-07-12 Daniel Jacobowitz <dan@codesourcery.com> |
649 | ||
650 | * target.c (target_read): Stop if target_read_partial returns 0 | |
651 | when some bytes have already been read. | |
652 | (target_write): Likewise for target_write_partial. | |
653 | (target_read_partial, target_write_partial): Make static. | |
654 | (target_read_alloc): New. | |
655 | * target.h: Doc fixes. | |
656 | (target_read_partial, target_write_partial): Delete prototypes. | |
657 | (target_read_alloc): New prototype. | |
658 | ||
659 | * auxv.c (target_auxv_read): Delete. | |
660 | (target_auxv_search, fprint_target_auxv): Use target_read_alloc. | |
661 | * auxv.h (target_auxv_read): Delete prototype. | |
662 | * avr-tdep.c (avr_io_reg_read_command): Use target_read_alloc. | |
663 | * ia64-tdep.c (getunwind_table, get_kernel_table): Likewise. | |
664 | * linux-nat.c (linux_nat_make_corefile_notes): Likewise. | |
665 | * procfs.c (procfs_make_note_section): Likewise. | |
666 | * remote.c (remote_xfer_partial): Don't loop here. | |
667 | * sparc-tdep.c (sparc_fetch_wcookie): Use target_read. | |
668 | ||
edfb1a26 DJ |
669 | 2006-07-12 Daniel Jacobowitz <dan@codesourcery.com> |
670 | ||
671 | * arm-linux-tdep.c: Doc fixes. | |
672 | (ARM_SIGCONTEXT_R0, ARM_UCONTEXT_SIGCONTEXT) | |
673 | (ARM_OLD_RT_SIGFRAME_SIGINFO, ARM_OLD_RT_SIGFRAME_UCONTEXT) | |
674 | (ARM_NEW_RT_SIGFRAME_UCONTEXT, ARM_NEW_SIGFRAME_MAGIC): New | |
675 | constants. | |
676 | (arm_linux_sigreturn_init, arm_linux_rt_sigreturn_init): Support | |
677 | the new signal frame layouts. | |
678 | ||
6e2c7fa1 DJ |
679 | 2006-07-12 Mike Frysinger <vapier@gentoo.org>: |
680 | Daniel Jacobowitz <dan@codesourcery.com> | |
681 | ||
682 | * Makefile.in (init.c) [LANG, LC_ALL]: Set to `c'. | |
683 | * gdb_indent.sh, gdb_mbuild.sh, observer.sh: Likewise. | |
684 | * gdbarch.sh: Correct comment. | |
685 | ||
e0f2823e DJ |
686 | 2006-07-12 Daniel Jacobowitz <dan@codesourcery.com> |
687 | ||
688 | * MAINTAINERS: Add Alfred Szmidt for the Hurd. | |
689 | ||
24c41760 MK |
690 | 2006-07-11 Mark Kettenis <kettenis@gnu.org> |
691 | ||
692 | * alpha-tdep.h (ALPHA_INSN_SIZE): New define. | |
693 | ||
8a112c90 MK |
694 | 2006-07-10 Mark Kettenis <kettenis@gnu.org> |
695 | ||
696 | * alphaobsd-tdep.c: New file. | |
697 | * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Do not register a | |
698 | handler for GDB_OSABI_OPENBSD_ELF. | |
699 | * Makefile.in (ALLDEPFILES): Add alphaobsd-tdep.c. | |
700 | (alphaobsd-tdep.o): New target. | |
701 | * config/alpha/obsd.mt: New file. | |
702 | * configure.tgt (alpha*-*-openbsd*): Set gdb_target to obsd. | |
703 | ||
9823e921 RH |
704 | 2006-07-10 Richard Henderson <rth@redhat.com> |
705 | ||
706 | * alpha-tdep.h (struct gdbarch_tdep): Add return_in_memory. | |
707 | * alpha-tdep.c (alpha_register_byte): Remove. | |
708 | (alpha_extract_struct_value_address): Remove. | |
709 | (alpha_return_value): New. | |
710 | (alpha_return_in_memory_always): New. | |
711 | (alpha_gdbarch_init): Set tdep->return_in_memory. Don't call | |
712 | set_gdbarch_deprecated_register_byte. Do call set_gdbarch_return_value | |
713 | instead of set_gdbarch_deprecated_use_struct_convention, | |
714 | set_gdbarch_extract_return_value, set_gdbarch_store_return_value, | |
715 | or set_gdbarch_deprecated_extract_struct_value_address. | |
716 | * alphafbsd-tdep.c (alphafbsd_return_in_memory): Rename from | |
717 | alphafbsd_use_struct_convention, remove gcc_p argument. | |
718 | (alphafbsd_init_abi): Set tdep->return_in_memory instead of | |
719 | set_gdbarch_deprecated_use_struct_convention. | |
720 | ||
789f3b5f MK |
721 | 2006-07-09 Mark Kettenis <kettenis@gnu.org> |
722 | ||
b0ca8573 MK |
723 | * alphabsd-tdep.h (alphanbsd_regset_from_core_section): New |
724 | prototype. | |
725 | * alphanbsd-tdep.c (alphanbsd_regset_from_core_section): Handle | |
726 | a.out-style core file format here. Make global. | |
727 | (alphanbsd_regset_from_core_section): Remove. | |
728 | (alphanbsd_sigtramp_offset): Make static. | |
729 | (alphanbsd_aout_init_abi): Remove. | |
730 | (alphanbsd_core_osabi_sniffer): Return GDB_OSABI_NETBSD_ELF for | |
731 | a.out style core files. | |
732 | (_initialize_alphanbsd_tdep): Do not register a handler for | |
733 | GDB_OSABI_NETBSD_AOUT. | |
734 | ||
3beabdb2 | 735 | * alphabsd-tdep.h: Tweak comments. |
3b03cc43 | 736 | (SIZEOF_STRUCT_REG, SIZEOF_STRUCT_FPREG): Remove. |
3beabdb2 MK |
737 | * alphanbsd-tdep.c: Reorder includes. Include "regset.h". |
738 | (ALPHANBSD_SIZEOF_GREGS, ALPHANBSD_SIZEOF_FPREGS): New defines. | |
739 | (alphanbsd_supply_fpregset, alphanbsd_supply_gregset) | |
740 | (alphanbsd_aout_supply_gregset): New functions. | |
741 | (alphanbsd_gregset, alphanbsd_fpregset, alphanbsd_aout_gregset): | |
742 | New variables. | |
743 | (alphanbsd_regset_from_core_section) | |
744 | (alphanbsd_aout_regset_from_core_section): New functions. | |
745 | (fetch_core_registers, fetch_elfcore_registers): Remove functions. | |
746 | (alphanbsd_core_fns, alphanbsd_elf_fns): Remove variables. | |
747 | (alphanbsd_init_abi): Set regset_from_core_section. | |
748 | (alphanbsd_aout_init_abi, alphanbsd_core_osabi_sniffer): New | |
749 | functions. | |
750 | (_initialize_alphanbsd_tdep): Register NetBSD core file sniffer. | |
751 | Use alphanbsd_aout_init_abi whre appropriate. Don't call | |
752 | deprecated_add_core_fns. | |
753 | * Makefile.in (alphanbsd-tdep.o): Update dependencies. | |
754 | ||
8fe7c54b MK |
755 | * alphabsd-tdep.c (alphabsd_supply_reg, alphabsd_fill_reg) |
756 | (alphabsd_supply_fpreg, alphabsd_fill_fpreg): Add missing spaces. | |
757 | ||
789f3b5f MK |
758 | * alphanbsd-tdep.c (alphanbsd_init_abi): Use |
759 | svr4_lp64_fetch_link_map_offsets instead of | |
760 | nbsd_lp64_solib_svr4_fetch_link_map_offsets. | |
761 | ||
09153d55 AS |
762 | 2006-07-06 Andrew Stubbs <andrew.stubbs@st.com> |
763 | ||
764 | * parse.c (write_exp_elt_opcode, write_exp_elt_sym, write_exp_elt_block | |
765 | write_exp_elt_longcst, write_exp_elt_dblcst, write_exp_elt_type, | |
766 | write_exp_elt_intern): Zero initialize tmp. | |
767 | ||
2ec3381a DJ |
768 | 2006-07-05 Daniel Jacobowitz <dan@codesourcery.com> |
769 | ||
770 | * remote.c (remote_xfer_partial): Remove KOD support. | |
771 | * target.h (enum target_object): Remove TARGET_OBJECT_KOD. | |
772 | * MAINTAINERS: Move Kernel Object Display entry to past maintainers. | |
071d802b MK |
773 | * Makefile.in (SFILES, kod_h, COMMON_OBS, kod.o, kod-cisco.o): |
774 | Remove KOD support. | |
2ec3381a DJ |
775 | * mi/mi-cmds.c (mi_cmds): Remove dummy KOD commands. |
776 | * NEWS: Mention KOD. | |
777 | * kod.h, kod.c, kod-cisco.c: Delete files. | |
778 | ||
7fca722e DJ |
779 | 2006-07-04 Daniel Jacobowitz <dan@codesourcery.com> |
780 | ||
781 | * remote.c (init_remote_state): Use xrealloc instead of xmalloc. | |
782 | ||
4a35b02a NW |
783 | 2006-07-03 Nathan J. Williams <nathanw@wasabisystems.com> |
784 | ||
785 | * bsd-kvm.c (bsd_kvm_open): Open the KVM interface read-write if | |
786 | write_files is set. | |
787 | ||
a6f0780a EZ |
788 | 2006-06-24 Eli Zaretskii <eliz@gnu.org> |
789 | ||
790 | * defs.h (DIRNAME_SEPARATOR) [!__CYGWIN__ && _WIN32]: Define to `;'. | |
791 | ||
e4c16157 DJ |
792 | 2006-06-23 Daniel Jacobowitz <dan@codesourcery.com> |
793 | ||
794 | * arm-tdep.c (arm_register_type): Use unsigned types for registers. | |
795 | Add special types for sp and pc. | |
796 | * Makefile.in (arm-tdep.o): Update. | |
797 | ||
a31ea83d DJ |
798 | 2006-06-22 Daniel Jacobowitz <dan@codesourcery.com> |
799 | ||
800 | * remote.c (remote_escape_output): New function. | |
801 | (remote_write_bytes): Use remote_escape_output. | |
802 | ||
be2a5f71 DJ |
803 | 2006-06-21 Daniel Jacobowitz <dan@codesourcery.com> |
804 | ||
805 | * NEWS: Mention qSupported. | |
806 | * remote.c (struct remote_state): Add explicit_packet_size. | |
807 | (get_remote_packet_size): Check explicit_packet_size. | |
808 | (get_memory_packet_size): Likewise. | |
809 | (PACKET_qSupported): New enum value. | |
810 | (struct protocol_feature, remote_supported_packet) | |
811 | (remote_packet_size, remote_protocol_features) | |
812 | (remote_query_supported): New. | |
813 | (remote_open_1): Reset explicit_packet_size. Call | |
814 | remote_query_supported. | |
815 | (_initialize_remote): Register qSupported. | |
816 | ||
42b575e5 AS |
817 | 2006-06-21 Andrew Stubbs <andrew.stubbs@st.com> |
818 | ||
819 | * cli/cli-script.c (realloc_body_list): Zero new parts of body_list. | |
820 | ||
9ae03986 JB |
821 | 2006-06-20 Joel Brobecker <brobecker@adacore.com> |
822 | ||
823 | * GDB 6.5 released from GDB 6.5 branch. | |
824 | ||
8b07f6d8 MS |
825 | 2006-06-19 Michael Snyder <msnyder@redhat.com> |
826 | ||
827 | * mips-tdep.c (mips_eabi_push_dummy_call): For 32 bit ABI, to | |
828 | decide how many registers it takes to pass a floating point | |
829 | argument, what matters is the size of a floating point register | |
830 | (not the size of a general purpose register). | |
831 | (mips_o32_push_dummy_call): Ditto. | |
832 | ||
ec5a4d75 KI |
833 | 2006-06-19 Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com> |
834 | ||
835 | * configure.tgt: Add gdbserver support for m32r-linux. | |
836 | ||
8d3239d5 MK |
837 | 2006-06-18 Mark Kettenis <kettenis@gnu.org> |
838 | ||
839 | * m68klinux-tdep.c (m68k_linux_init_abi): Fix typo in comment. | |
840 | ||
14e60db5 DJ |
841 | 2006-06-15 Daniel Jacobowitz <dan@codesourcery.com> |
842 | ||
843 | * infrun.c (insert_step_resume_breakpoint_at_caller): New function, | |
844 | based on insert_step_resume_breakpoint_at_frame. | |
845 | (handle_inferior_event): Update comments. Use | |
846 | insert_step_resume_breakpoint_at_caller. | |
847 | (insert_step_resume_breakpoint_at_frame): Revise comments. | |
848 | ||
81a17f79 JB |
849 | 2006-06-14 Daniel Jacobowitz <dan@codesourcery.com> |
850 | ||
851 | * dwarf2read.c (read_unspecified_type): New function. | |
852 | (read_type_die): Handle DW_TAG_unspecified_type. | |
853 | (Committed by Julian Brown.) | |
854 | ||
6490cafe DJ |
855 | 2006-06-13 Daniel Jacobowitz <dan@codesourcery.com> |
856 | ||
857 | * symfile.c (load_command): Check for a changed executable before | |
858 | "load". | |
859 | ||
22e47e37 FF |
860 | 2006-06-13 Fred Fish <fnf@specifix.com> |
861 | ||
862 | * mips-tdep.c (mips_find_long_section): New function. | |
863 | (mips_gdbarch_init): Use it to set long and pointer sizes. | |
864 | ||
5600ea19 NS |
865 | 2006-06-13 Nathan Sidwell <nathan@codesourcery.com> |
866 | ||
867 | * remote-file.io.c (remote_fileio_func_system): Treat zero length | |
868 | string as NULL. Adjust for NULL pointer argument. | |
869 | * doc/gdb.texinfo (system): Document behaviour with zero length | |
870 | string. | |
871 | ||
bb572ddd DJ |
872 | 2006-06-12 Daniel Jacobowitz <dan@codesourcery.com> |
873 | ||
874 | * remote.c (set_remote_protocol_packet_cmd) | |
875 | (show_remote_protocol_packet_cmd): New prototypes. | |
876 | (remote_set_cmdlist, remote_show_cmdlist): Move higher. | |
877 | (struct packet_config): Make name and title const. | |
878 | (add_packet_config_cmd): Remove unnecessary arguments. | |
879 | (_initialize_remote): Update calls. | |
880 | ||
98739726 DJ |
881 | 2006-06-10 Daniel Jacobowitz <dan@codesourcery.com> |
882 | ||
883 | * mingw-hdep.c (gdb_select): Always check for NULL fd sets | |
884 | before calling FD_ISSET. Correct check for exceptfds which | |
885 | previously tested writefds. | |
886 | ||
2b949cb6 JB |
887 | 2006-06-09 Daniel Jacobowitz <dan@codesourcery.com> |
888 | Julian Brown <julian@codesourcery.com> | |
889 | ||
4a9d57ab | 890 | * dwarf2read.c (partial_read_comp_unit_head): Accept version 3. |
2b949cb6 | 891 | |
5b031165 JB |
892 | 2006-06-09 Julian Brown <julian@codesourcery.com> |
893 | ||
894 | * MAINTAINERS (Write After Approval): Add myself. | |
895 | ||
b2d6f210 MS |
896 | 2006-06-08 Michael Snyder <msnyder@redhat.com> |
897 | ||
898 | * mips-tdep.c (fp_register_arg_p): Recognize floating point typedefs. | |
899 | ||
1dd41f16 NS |
900 | 2006-06-08 Nathan Sidwell <nathan@codesourcery.com> |
901 | ||
6dd0fba6 NS |
902 | * m68k-tdep.c (m68k_dwarf_reg_to_regnum): New. |
903 | (m68k_gdbarch_init): Set it for dwarf & dwarf2 reg number | |
904 | conversion. Use M68K_NUM_REGS for number of regs. | |
905 | ||
ad9a8f3f NS |
906 | * remote-fileio.c (remote_fileio_reset): New. |
907 | * remote-fileio.h (remote_fileio_reset): Prototype. | |
908 | * remote.c (extended_remote_restart, remote_open_1): Call it. | |
909 | ||
910 | * remote.c (remote_open_1): Do preopen tasks before | |
1dd41f16 NS |
911 | irreversably destroying state. |
912 | ||
ea9c271d DJ |
913 | 2006-06-08 Daniel Jacobowitz <dan@codesourcery.com> |
914 | ||
719abd53 | 915 | * remote.c (struct remote_state): New type, only containing |
ea9c271d DJ |
916 | buf and buf_size. |
917 | (remote_state): New variable. | |
918 | (get_remote_state): New function. | |
919 | (struct remote_arch_state): Renamed from struct remote_state. | |
920 | Removed buf and buf_size. | |
921 | (get_remote_arch_state): Renamed from get_remote_state. All | |
922 | necessary callers updated to call this function. | |
923 | (init_remote_state): Initialize the architecture-specific state. | |
924 | Update the target-specific state if necessary. | |
925 | (get_remote_packet_size): New function. All previous references | |
926 | changed to use this accessor function. | |
927 | (packet_reg_from_regnum, packet_reg_from_pnum): Take a | |
928 | remote_arch_state instead of a remote_state. All callers changed. | |
929 | (_initialize_remote): Initialize the packet buffer here. | |
930 | ||
5cffb350 NS |
931 | 2006-06-06 Nathan Sidwell <nathan@codesourcery.com> |
932 | ||
ea9c271d | 933 | * remote.c (remote_insert_watchpoint): Return -1, rather than |
5cffb350 NS |
934 | fatal error if packet is disabled. |
935 | (remote_remove_watchpoint, remote_insert_hw_breakpoint, | |
936 | remote_remove_hw_breakpoint): Likewise. | |
937 | ||
8a786d82 NR |
938 | 2006-06-02 Nick Roberts <nickrob@snap.net.nz> |
939 | ||
940 | * breakpoint.c (print_it_typical): Use EXEC_ASYNC_LOCATION_REACHED. | |
941 | ||
f49e4e6d MS |
942 | 2006-05-31 Michael Snyder <msnyder@redhat.com> |
943 | ||
944 | * mips-tdep.c: Comment tweaks. | |
945 | ||
20e95c23 DJ |
946 | 2006-05-31 Daniel Jacobowitz <dan@codesourcery.com> |
947 | ||
948 | * Makefile.in (top_builddir): Update comments. | |
949 | (INTL_DIR, INTL_SRC): Delete. | |
950 | (INTL, INTL_DEPS, INTL_CFLAGS): Update. | |
951 | * acinclude.m4: Include new gettext macros. | |
952 | * configure.ac: Use ZW_GNU_GETTEXT_SISTER_DIR. Remove copied | |
953 | CATALOGS code. | |
954 | * aclocal.m4, configure: Regenerated. | |
955 | ||
9308fc88 DJ |
956 | 2006-05-30 Daniel Jacobowitz <dan@codesourcery.com> |
957 | ||
958 | * Makefile.in (arm-linux-nat.o): Update dependencies. | |
959 | * arm-linux-nat.c: Include "gdb_proc_service.h". | |
960 | (PTRACE_GET_THREAD_AREA): Define. | |
961 | (ps_get_thread_area): New function. | |
962 | ||
46ea248b AO |
963 | 2006-05-28 Alexandre Oliva <aoliva@redhat.com> |
964 | ||
965 | * dwarf2-frame.h (enum dwarf2_frame_reg_rule): Add | |
966 | DWARF2_FRAME_REG_SAVED_VAL_OFFSET and | |
967 | DWARF2_FRAME_REG_SAVED_VAL_EXP. | |
968 | * dwarf2-frame.c (execute_cfa_program): Handle val_offset, | |
969 | val_offset_sf and val_expression. | |
970 | (dwarf2_frame_prev_register): Handle the new reg rules. | |
971 | (dwarf2_frame_this_id): Use pc instead of function entry point. | |
972 | ||
56c987f6 AO |
973 | 2006-05-28 Alexandre Oliva <aoliva@redhat.com> |
974 | ||
975 | * dwarf2-frame.c (struct dwarf2_cie): Add signal_frame field. | |
976 | (dwarf2_frame_sniffer): Use it. | |
977 | (decode_frame_entry_1): Set it according to augmentation "S". | |
978 | ||
5648af48 JB |
979 | 2006-05-27 Joel Brobecker <brobecker@adacore.com> |
980 | ||
981 | From Peter Schauer <peterschauer@gmx.net> | |
982 | * m2-typeprint.c (m2_record_fields): Move variable declarations | |
983 | to the begining of the block. | |
984 | ||
03a73f77 MM |
985 | 2006-05-23 Mark Mitchell <mark@codesourcery.com> |
986 | ||
987 | * mt-tdep.c (mt_register_name): Correct out-of-range logic to | |
988 | include additional registers. | |
989 | ||
990 | * mt-tdep.c (mt_gdb_regnums): Add ZI2, ZQ2, Ichannel2, | |
991 | Iscramb2, Qscramb2, Qchannel2. | |
992 | (mt_register_name): Likewise. | |
993 | (mt_copro_register_type): Describe ZI2 and ZQ2. | |
994 | ||
995 | * mt-tdep.c (mt_gdb_regnums): Define | |
996 | MT_COPRO_PSEUDOREG_MAC_REGNUM. | |
997 | (mt_register_name): Use it. | |
998 | (mt_copro_register_type): Likewise. | |
999 | (mt_register_type): Likewise. | |
1000 | (mt_pseudo_register_read): Likewise. Read the MAC register, not | |
1001 | the coprocessor register. | |
1002 | (mt_pseudo_register_write): Likewise. | |
1003 | ||
2b3c8945 CF |
1004 | 2006-05-21 Christopher Faylor <cgf@timesys.com> |
1005 | ||
1006 | * win32-nat.c (cygwin_exceptions): New variable. | |
1007 | (handle_exception): Treat a cygwin exception like a normal exception if | |
1008 | cygwin_exceptions is true. | |
1009 | (_initialize_win32_nat): Add "set cygwin-exceptions" handler. | |
1010 | ||
f79daebb GM |
1011 | 2006-05-20 Gaius Mulley <gaius@glam.ac.uk> |
1012 | ||
1013 | * NEWS: (Improved Modula-2 language support): New section. | |
1014 | ||
b4e70030 JB |
1015 | 2006-05-19 Joel Brobecker <brobecker@adacore.com> |
1016 | ||
1017 | * configure: Regenerate using proper version of autoconf. | |
1018 | ||
a1f5b845 FF |
1019 | 2006-05-19 Fred Fish <fnf@specifix.com> |
1020 | ||
1021 | * Makefile.in: Fix spelling of 'explicitly' and 'explicit'. | |
1022 | * dwarfread.c: Fix spelling of 'unexpected'. | |
1023 | * mips-tdep.c: Fix spelling of 'possible' and 'Determine'. | |
1024 | * stack.c: Fix spelling of 'RETURN_VALUE'. | |
1025 | ||
82d03102 PG |
1026 | 2006-05-18 Paul Gilliam <pgilliam@us.ibm.com |
1027 | ||
1028 | * solib-svr4.c (enable_break): Breakup a long line into 3 shorter ones. | |
1029 | ||
f2da6b3a DJ |
1030 | 2006-05-17 Daniel Jacobowitz <dan@codesourcery.com> |
1031 | ||
1032 | * dwarf2-frame.c: Include "value.h". | |
1033 | (read_reg): Use unpack_long and register_type. | |
1034 | * Makefile.in (dwarf2-frame.o): Update. | |
1035 | ||
1f5befc1 DJ |
1036 | 2006-05-17 Daniel Jacobowitz <dan@codesourcery.com> |
1037 | ||
1038 | * remote-rdp.c: Deleted. | |
1039 | * NEWS: Mention removal of remote-rdp.c. | |
1040 | ||
1041 | * Makefile.in (ALLDEPFILES): Remove remote-rdp.c. | |
1042 | (remote-rdp.o): Delete. | |
1043 | * README: Remove description of remote-rdp.c. | |
1044 | * arm-tdep.c (arm_breakpoint_from_pc): Remove obsolete comment. | |
1045 | * config/arm/embed.mt (TDEPFILES): Remove remote-rdp.o. | |
1046 | ||
cd96dfc9 DJ |
1047 | 2006-05-16 Daniel Jacobowitz <dan@codesourcery.com> |
1048 | ||
1049 | * ser-e7kpc.c: Include <time.h> if it is available. | |
1050 | ||
1051 | 2006-05-16 Joel Brobecker <brobecker@adacore.com> | |
e374b601 JB |
1052 | |
1053 | * version.in (version.in): Bump version number to 6.5.50 now | |
1054 | that the gdb-6.5 branch has been created. | |
1055 | * NEWS: Create a new section for changes that are included | |
1056 | since gdb-6.5. Name the "since gdb-6.4" section as the "in gdb-6.5" | |
1057 | section. | |
1058 | ||
13942a42 JB |
1059 | 2006-05-16 Jim Blandy <jimb@codesourcery.com> |
1060 | ||
1061 | * MAINTAINERS (Authorized Committers): Gaius Mulley has accepted | |
1062 | the Global Maintainers' invitation to be an authorized committer | |
1063 | for the Modula-2 support. | |
1064 | ||
8599da2d MK |
1065 | 2006-05-15 Mark Kettenis <kettenis@gnu.org> |
1066 | ||
1067 | * ppcobsd-nat.c: Include "gdb_assert.h". | |
1068 | [PT_GETFPREGS] (getfpregs_supplies): New function. | |
1069 | (ppcobsd_fetch_registers, ppcobsd_fetch_registers): Hanlde OS | |
1070 | versions that have PT_GETFPREGS. | |
1071 | (_initialize_ppcobsd_nat) [PT_GETFPREGS]: Initialize | |
1072 | ppcobsd_fpreg_offsets. | |
1073 | * ppcobsd-tdep.h (ppcobsd_fpreg_offsets, ppcobsd_fpregset): | |
1074 | Declare. | |
1075 | * ppcobsd-tdep.c (ppcobsd_fpreg_offsets, ppcobsd_fpregset): New | |
1076 | variables. | |
1077 | (_initialize_ppcobsd_tdep): Initialize ppcobsd_fpreg_offsets. | |
1078 | * Makefile.in (ppcobsd-nat.o): Update dependencies. | |
1079 | ||
4e8d927d DJ |
1080 | 2006-05-15 Daniel Jacobowitz <dan@codesourcery.com> |
1081 | ||
1082 | * configure.ac: Use GCC_HEADER_STDINT. | |
1083 | * acinclude.m4: Include stdint.m4. | |
1084 | * Makefile.in (gdb_stdint_h): Define. | |
1085 | (distclean): Remove gdb_stdint.h. | |
1086 | (Makefile, stamp-h): Update rules to generate only the correct | |
1087 | files. | |
1088 | (gdb_stdint.h, stamp-int): New rules. | |
1089 | * config.in, configure: Regenerated. | |
1090 | ||
19ca80ba DJ |
1091 | 2006-05-15 Daniel Jacobowitz <dan@codesourcery.com> |
1092 | ||
1093 | * valprint.c: Include "exceptions.h". | |
1094 | (val_print): If something goes wrong while printing, supply an | |
1095 | error message. | |
1096 | ||
245c7f48 DJ |
1097 | 2006-05-15 Peter O'Gorman <gdb-patches@mlists.thewrittenword.com> |
1098 | ||
1099 | * source.c (get_current_source_symtab_and_line) | |
1100 | (set_current_source_symtab_and_line): Use { 0 }. | |
1101 | * cli/cli-cmds.c (list_command): Likewise. | |
1102 | ||
53b33aeb NR |
1103 | 2006-05-14 Nick Roberts <nickrob@snap.net.nz> |
1104 | ||
1105 | * mi/gdb-mi.el (gdbmi-send): Correct regexp for repeat commands. | |
1106 | (gdbmi): Use new variable name gdb-pc-address. | |
1107 | (gdbmi-frame-handler): Use new variable name gdb-pc-address. | |
1108 | Check that a match has been found. | |
1109 | ||
d3d3c7e6 | 1110 | 2006-05-13 Gaius Mulley <gaius@glam.ac.uk> |
72019c9c | 1111 | |
d3d3c7e6 | 1112 | * m2-lang.h: Added function extern prototypes for |
229582b7 | 1113 | m2_is_long_set and get_long_set_bounds. |
d3d3c7e6 GM |
1114 | * m2-typeprint.c: Complete replacement. |
1115 | (m2_print_type): Walk the Modula-2 type tree. | |
1116 | (m2_type_name): New function. | |
1117 | (m2_range): New function. | |
1118 | (m2_typedef): New function. | |
1119 | (m2_array): New function. | |
1120 | (m2_pointer): New function. | |
1121 | (m2_ref): New function. | |
1122 | (m2_unknown): New function. | |
1123 | (m2_union): New function. | |
1124 | (m2_procedure): New function. | |
1125 | (m2_print_bounds): New function. | |
1126 | (m2_short_set): New function. | |
1127 | (m2_is_long_set): New function. | |
1128 | (m2_get_discrete_bounds): New function. | |
1129 | (m2_is_long_set_of_type): New function. | |
1130 | (m2_long_set): New function. | |
1131 | (m2_record_fields): New function. | |
1132 | (m2_enum): New function. | |
1c547afb | 1133 | * dwarf2read.c: Modified. |
d3d3c7e6 GM |
1134 | (read_set_type): New function. |
1135 | (process_die): Call read_set_type. | |
1c547afb | 1136 | (read_base_type): Modifed. |
d3d3c7e6 | 1137 | (set_cu_language): Added Modula-2 case clause. |
1c547afb | 1138 | * m2-valprint.c: Complete replacement. |
d3d3c7e6 GM |
1139 | (print_function_pointer_address): New function. |
1140 | (get_long_set_bounds): New function. | |
1141 | (m2_print_long_set): New function. | |
1142 | (print_unpacked_pointer): New function. | |
1143 | (print_variable_at_address): New function. | |
1144 | (m2_val_print): Replaced. | |
1145 | * gdb/MAINTAINERS (Write After Approval): Added | |
1146 | Gaius Mulley <gaius@glam.ac.uk> | |
72019c9c | 1147 | |
def18405 MK |
1148 | 2006-05-12 Mark Kettenis <kettenis@gnu.org> |
1149 | ||
1150 | * ppcnbsd-tdep.h: Update copyright year. Include <stddef.h> | |
1151 | (ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg) | |
1152 | (ppcnbsd_fill_fpreg): Remove prototypes. | |
1153 | (struct regset): Add forward declaration. | |
1154 | (ppcnbsd_gregset, ppcnbsd_fpregset): Extern declarations. | |
1155 | * ppcnbsd-tdep.c: Update copyright year. Include "gdbtypes.h", | |
1156 | "regset.h" and "gdb_string.h". Don't include "breakpoint.h", | |
1157 | "value.h", target.h and nbsd-tdep.h". Reorder includes. | |
1158 | (REG_FIXREG_OFFSET, REG_LR_OFFSET, REG_CR_OFFSET, REG_XER_OFFSET) | |
1159 | (REG_CTR_OFFSET, REG_PC_OFFSET, SIZEOF_STRUCT_REG) | |
1160 | (FPREG_FPR_OFFSET, FPREG_FPSCR_OFFSET, SIZEOF_STRUCT_FPREG): | |
1161 | Remove macros. | |
1162 | (ppcnbsd_supply_reg, ppcnbsd_fill_reg, ppcnbsd_supply_fpreg) | |
1163 | (ppcnbsd_fill_fpreg): Remove functions. | |
1164 | (fetch_core_registers, fetch_elfcore_registers): Remove functions. | |
1165 | (ppcnbsd_core_fns, ppcnbsd_elfcore_fns): Remove variables. | |
1166 | (ppcnbsd_reg_offsets): New variable. | |
1167 | (ppcnbsd_gregset, ppcnbsd_fpregset): New variables. | |
1168 | (ppcnbsd_sigtramp_cache_init): Deal with new signal trampoline | |
1169 | introduced in NetBSD 2.0. | |
1170 | (ppcnbsd_sigtramp): Provide complete signal trampoline. | |
1171 | (ppcnbsd2_sigtramp): New variable. | |
1172 | (ppcnbsd_init_abi): Set svr4_fetch_link_map_offsets to | |
1173 | svr4_ilp32_fetch_link_map_offsets. Set regset_from_core_section. | |
1174 | Add ppcnbs2_sigtramp unwinder. | |
1175 | (_initialize_ppcnbsd_tdep): Don't use deprecated_add_core_fns. | |
1176 | Initialize ppcnbsd_reg_offsets. | |
1177 | * ppcnbsd-nat.c: Update copyright year. Reorder includes. | |
1178 | (getregs_supplies): Use regnum instead of regno. | |
1179 | (getfpregs_supplies): Likewise. | |
1180 | (ppcnbsd_fetch_inferior_registers): Likewise. Call | |
1181 | ppc_supply_gregset and ppc_suppply_fpregset instead of | |
1182 | ppcnbsd_supply_reg and ppcnbsd_supply_fpreg | |
1183 | (ppcnbsd_store_inferior_registers): Likewise. Call | |
1184 | ppc_collect_gregset and ppc_collect_fpregset instead of | |
1185 | ppcnbsd_fill_reg and ppcnbsd_fill_fpreg. | |
1186 | (ppcnbsd_supply_pcb): Use `gdb_byte *' instead of `char *'. | |
1187 | (_initialize_ppcnbsd_nat): Add some whitespace. | |
1188 | * Makefile.in (ppcnbsd-nat.o, ppcnbsd-tdep.o): Update dependencies. | |
1189 | * config/powerpc/nbsd.mh (NATDEPFILES): Remove infptrace.o. | |
1190 | (NAT_FILE): Remove. | |
1191 | * config/powerpc/nbsd.mt (TDEPFILES): Remove nbsd-tdep.o. | |
1192 | ||
c4c50d37 DJ |
1193 | 2006-05-11 Alfred M. Szmidt <ams@gnu.org> |
1194 | ||
1195 | * gnu-nat.c (inf_validate_procs): Don't use lvalue in assignments. | |
1196 | ||
576c2025 FF |
1197 | 2006-05-11 Fred Fish <fnf@specifix.com> |
1198 | ||
1199 | * symtab.c (skip_prologue_using_sal): Handle single line functions | |
1200 | like "foo(){}", which may optimize down to a single return inst. | |
1201 | ||
ba906c08 SE |
1202 | 2006-05-10 Steve Ellcey <sje@cup.hp.com> |
1203 | ||
1204 | * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Remove | |
1205 | message. | |
1206 | ||
4bf8967c AS |
1207 | 2006-05-09 Andreas Schwab <schwab@suse.de> |
1208 | ||
1209 | * dwarf2-frame.c (struct dwarf2_fde): Add eh_frame_p. | |
1210 | (execute_cfa_program): Add parameter eh_frame_p. Call | |
1211 | dwarf2_frame_eh_frame_regnum when true. | |
1212 | (dwarf2_frame_cache): Pass eh_frame_p from fde to | |
1213 | execute_cfa_program. | |
1214 | (decode_frame_entry_1): Call dwarf2_frame_eh_frame_regnum when | |
1215 | processing .eh_frame. Copy eh_frame_p to the new fde. | |
1216 | (struct dwarf2_frame_ops): Add eh_frame_regnum. | |
1217 | (dwarf2_frame_set_eh_frame_regnum): Define. | |
1218 | (dwarf2_frame_eh_frame_regnum): Define. | |
1219 | ||
1220 | * dwarf2-frame.h (dwarf2_frame_set_eh_frame_regnum): Declare. | |
1221 | (dwarf2_frame_eh_frame_regnum): Declare. | |
1222 | ||
55e969c1 DM |
1223 | 2006-05-06 David S. Miller <davem@sunset.davemloft.net> |
1224 | ||
1225 | * linux-nat.c (linux_nat_do_thread_registers): Check for | |
1226 | NULL collect_regset method. | |
1227 | ||
92f38ec2 UW |
1228 | 2006-05-06 Ulrich Weigand <uweigand@de.ibm.com> |
1229 | ||
1230 | * s390-tdep.c (s390_collect_regset): New function. | |
1231 | (s390_gregset, s390x_gregset, s390_fpregset): Add it. | |
1232 | ||
6fed56b4 NR |
1233 | 2006-05-06 Nick Roberts <nickrob@snap.net.nz> |
1234 | ||
1235 | * dwarf2read.c: Make LOC_OPTIMIZED_OUT the default value for a | |
1236 | symbol. | |
1237 | ||
6fc19103 UW |
1238 | 2006-05-05 Ulrich Weigand <uweigand@de.ibm.com> |
1239 | ||
1240 | * linux-nat.c (exit_lwp): Fix NULL pointer access. | |
1241 | (linux_nat_handle_extended): New parameter STOPPING. | |
1242 | (wait_lwp): Call it with STOPPING equals 1. | |
1243 | (linux_nat_wait): Call it with STOPPING equals 0. | |
1244 | ||
d539ed7e UW |
1245 | 2006-05-05 Ulrich Weigand <uweigand@de.ibm.com> |
1246 | ||
1247 | * linux-nat.c (linux_nat_wait): Do not short-cut reporting | |
1248 | of 'uninteresting' signals when single-stepping. | |
1249 | ||
49101e1c DJ |
1250 | 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com> |
1251 | ||
1252 | * MAINTAINERS: Move NEWS to the documentation entry. | |
1253 | ||
4f844a66 DM |
1254 | 2006-05-05 David S. Miller <davem@sunset.davemloft.net> |
1255 | ||
1256 | * linux-nat.c (linux_nat_do_thread_registers): Use the | |
1257 | regset_from_core_section infrastructure if the target | |
1258 | supports it. | |
1259 | * Makefile.in: Update dependencies. | |
bcc98f88 DM |
1260 | * linux-thread-db.c (thread_db_store_registers): Use |
1261 | regcache_raw_collect. | |
4f844a66 | 1262 | |
411cb3f9 PG |
1263 | 2006-05-05: Paul Gilliam <pgilliam@us.ibm.com> |
1264 | ||
1265 | * ppc-linux-nat.c: Clean up types for ptrace. | |
1266 | Replace (CORE_ADDR) with (uintptr_t) to avoid the size difference | |
1267 | between a CORE_ADDR and a void* on ppc64 systems compiled for 32-bits. | |
1268 | ||
597320e7 DJ |
1269 | 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com> |
1270 | ||
1271 | * remote.c (remote_disconnect): Add TARGET argument. | |
1272 | * target.c (debug_to_disconnect): Delete. | |
1273 | (update_current_target): Do not inherit to_disconnect. | |
1274 | (target_disconnect): Search for a target to implement to_disconnect. | |
1275 | (setup_target_debug): Do not reference to_disconnect. | |
1276 | * target.h (struct target_ops): Add target argument to | |
1277 | to_disconnect. | |
1278 | ||
401835eb FF |
1279 | 2006-05-06 Fred Fish <fnf@specifix.com> |
1280 | ||
1281 | * mips-tdep.c (mips_o64_push_dummy_call): Left shift big endian | |
1282 | structs or unions independent of ABI register size. | |
1283 | ||
7a076fd2 FF |
1284 | 2006-05-06 Fred Fish <fnf@specifix.com> |
1285 | ||
1286 | * mips-tdep.c (mips_o64_return_value): Replace stub that always | |
1287 | returned RETURN_VALUE_STRUCT_CONVENTION with a real function. | |
1288 | ||
eec01795 DJ |
1289 | 2006-05-05 Daniel Jacobowitz <dan@codesourcery.com> |
1290 | ||
1291 | * mi/mi-main.c (captured_mi_execute_command): Check the return | |
1292 | value of -interpreter-exec. | |
1293 | ||
14b3d9c9 JB |
1294 | 2006-05-03 Vladimir Prus <ghost@cs.msu.su> |
1295 | ||
411cb3f9 PG |
1296 | * varobj.c (c_value_of_variable): Ignore top-level references. |
1297 | (Committed by Jim Blandy.) | |
14b3d9c9 | 1298 | |
1893a4c0 MK |
1299 | 2006-04-30 Mark Kettenis <kettenis@gnu.org> |
1300 | ||
1301 | * breakpoint.c (insert_single_step_breakpoint): Make a failure to | |
1302 | insert a single-step breakpoint an error instead of a warning. | |
1303 | ||
21f79b33 NW |
1304 | 2006-05-01 Nathan J. Williams <nathanw@wasabisystems.com> |
1305 | ||
1306 | * ppcnbsd-tdep.c (ppcnbsd_return_value): Change type of last two | |
1307 | arguments from void * to gdb_byte *. | |
1308 | ||
b8db102d MS |
1309 | 2006-04-26 Michael Snyder <msnyder@redhat.com> |
1310 | ||
1311 | * linux-fork.c (_initialize_linux_fork): Rename "delete-fork" | |
1312 | command to "delete fork" (no hyphen), compatible with other | |
1313 | "delete" commands. | |
1314 | (info_forks_command): Accept a fork ID argument, for info | |
1315 | on a single fork. Report if no matching forks. | |
1316 | ||
bc0c849e MK |
1317 | 2006-04-25 Mark Kettenis <kettenis@gnu.org> |
1318 | ||
1893a4c0 MK |
1319 | * breakpoint.c (remove_single_step_breakpoints): Bail out early if |
1320 | no breakpoints are inserted. | |
1321 | ||
bc0c849e MK |
1322 | From Masaki MURANAKA <monaka@monami-software.com>: |
1323 | * mips-mdebug-tdep.c (mips_mdebug_frame_prev_register): Change | |
1324 | type of last argument to `gdb_byte *' | |
1325 | ||
5f1fb6dc JB |
1326 | 2006-04-25 Jim Blandy <jimb@codesourcery.com> |
1327 | ||
1328 | Add support for 'target remote |' on MinGW. | |
1329 | * ser-mingw.c (struct pipe_state): New structure. | |
1330 | (make_pipe_state, free_pipe_state, cleanup_pipe_state) | |
1331 | (pipe_windows_open, pipe_windows_close, pipe_windows_read) | |
1332 | (pipe_windows_write, pipe_wait_handle): New functions. | |
1333 | (_initialize_ser_windows): Register a "pipe" interface based on | |
1334 | them. | |
1335 | ||
c3e2b812 DJ |
1336 | 2006-04-24 Daniel Jacobowitz <dan@codesourcery.com> |
1337 | ||
1338 | * ser-mingw.c: Include <conio.h>. | |
1339 | (struct ser_console_state, struct net_windows_state): Add exit_select, | |
1340 | have_stopped, thread. | |
1341 | (pipe_select_thread, console_select_thread) | |
1342 | (net_windows_select_thread): Don't create a local state copy or | |
1343 | close stop_select. Exit on exit_select instead of stop_select. Set | |
1344 | have_stopped. | |
1345 | (console_select_thread): Don't report control keypresses as pending | |
1346 | input. | |
1347 | (pipe_select_thread): Allow stop_select to interrupt sleeping. | |
1348 | (set_console_wait_handle): Create exit_select and have_stopped. | |
1349 | Save the thread handle. Check _kbhit before starting a thread. | |
1350 | (ser_console_done_wait_handle): New. | |
1351 | (ser_console_close): Close new handles. Wait for the thread to | |
1352 | exit. | |
1353 | (new_windows_select_thread): Assert that an event occurred. | |
1354 | (net_windows_wait_handle): Check for pending input before starting | |
1355 | a thread. | |
1356 | (net_windows_done_wait_handle): New. | |
1357 | (net_windows_open): Create exit_select and have_stopped. | |
1358 | Save the thread handle. | |
1359 | (net_windows_close): Close new handles. Wait for the thread to | |
1360 | exit. | |
1361 | (_intiialize_ser_windows): Register done_wait_handle methods. | |
1362 | ||
1363 | * serial.c [USE_WIN32API] (serial_done_wait_handle): New. | |
1364 | * serial.h [USE_WIN32API] (struct serial_ops): Add done_wait_handle. | |
1365 | [USE_WIN32API] (serial_done_wait_handle): New prototype. | |
1366 | * mingw-hdep.c (gdb_select): Use serial_done_wait_handle. | |
1367 | ||
b8eb021a AS |
1368 | 2006-04-23 Andreas Schwab <schwab@suse.de> |
1369 | ||
1370 | * rs6000-tdep.c: Include "reggroups.h" only once. | |
1371 | * Makefile.in (rs6000-tdep.o): Update dependencies. | |
1372 | ||
4f1520fb FR |
1373 | 2006-04-21 Frederic Riss <frederic.riss@st.com> |
1374 | ||
1375 | * dwarf2read.c (dwarf2_start_subfile): Change prototype to accept | |
1376 | compilation directory as last argument. | |
1377 | Always pass comp_dir as second argument to start_subfile and prepend | |
1378 | dirname to the filename when necessary. | |
1379 | Remove now superfluous search for pre-existing subfile. | |
1380 | (dwarf_decode_lines): Pass the compilation directory to | |
1381 | dwarf2_start_subfile. | |
1382 | ||
0271fba4 MS |
1383 | 2006-04-20 Michael Snyder <msnyder@redhat.com> |
1384 | ||
1385 | * 2006-03-22 Jim Blandy <jimb@redhat.com> | |
1386 | Add support for the Renesas M32C and M16C. | |
1387 | ||
1388 | * configure.tgt (m32c-*-*): New entry. | |
1389 | * config/m32c/m32c.mt: New file. | |
1390 | * m32c-tdep.c: New file. | |
1391 | * Makefile.in (elf_m32c_h): New variable. | |
1392 | (m32c-tdep.o): New rule. | |
1393 | * NEWS: Mention new target. | |
1394 | * MAINTAINERS: Designate Jim Blandy as responsible maintainer. | |
1395 | ||
cfde0993 MS |
1396 | 2006-04-20 Michael Snyder <msnyder@redhat.com> |
1397 | ||
1398 | * remote.c: Fix spelling error in comment. | |
1399 | ||
cba5fab9 DJ |
1400 | 2006-04-20 Daniel Jacobowitz <dan@codesourcery.com> |
1401 | ||
1402 | * m68klinux-tdep.c (m68k_linux_sigtramp_frame_prev_register): | |
1403 | Correct type of VALUEP. Reported by Jean-Rene Peulve | |
1404 | <jr.peulve@wanadoo.fr>. | |
1405 | ||
cbba9205 KI |
1406 | 2006-04-19 Masaki Muranaka <monaka@monami-software.com> |
1407 | ||
1408 | * m32r-rom.c: On MinGW, include winsock.h instead of sys/types.h, | |
1409 | netdb.h, netinet/in.h. | |
1410 | (m32r_upload_command); Add calls WSAStartup(). | |
1411 | * remote-m32r-sdi.c: On MinGW, include winsock.h instead of | |
1412 | netinet/in.h. | |
1413 | ||
8181d85f DJ |
1414 | 2006-04-18 Daniel Jacobowitz <dan@codesourcery.com> |
1415 | ||
1416 | * breakpoint.c (deprecated_read_memory_nobpt): Update to use | |
1417 | shadow_len. | |
1418 | (insert_bp_location, reattach_breakpoints, remove_breakpoint) | |
1419 | (delete_breakpoint): Update calls to changed methods. | |
1420 | (deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint) | |
1421 | (single_step_breakpoints, insert_single_step_breakpoint) | |
1422 | (remove_single_step_breakpoints): New. | |
1423 | * breakpoint.h (struct bp_target_info): New. | |
1424 | (struct bp_location): Replace shadow_contents with | |
1425 | target_info and overlay_target_info. | |
1426 | (deprecated_insert_raw_breakpoint, deprecated_remove_raw_breakpoint) | |
1427 | (insert_single_step_breakpoint, remove_single_step_breakpoints): New | |
1428 | prototypes. | |
1429 | * gdbarch.sh: Forward declare struct bp_target_info in gdbarch.h. | |
1430 | (memory_insert_breakpoint, memory_remove_breakpoint): Update second | |
1431 | argument. | |
1432 | * mem-break.c (default_memory_insert_breakpoint): Update. Set | |
1433 | placed_address, placed_size, and shadow_len. | |
1434 | (default_memory_remove_breakpoint): Update. Don't use | |
1435 | BREAKPOINT_FROM_PC. | |
1436 | (memory_insert_breakpoint, memory_remove_breakpoint): Update. | |
1437 | * target.c (update_current_target): Update prototypes for changed | |
1438 | functions. | |
1439 | (debug_to_insert_breakpoint, debug_to_remove_breakpoint) | |
1440 | (debug_to_insert_hw_breakpoint, debug_to_remove_hw_breakpoint): | |
1441 | Update. | |
1442 | * target.h: Forward declare struct bp_target_info. | |
1443 | (struct target_ops): Use a bp_target_info argument for | |
1444 | to_insert_breakpoint, to_remove_breakpoint, | |
1445 | to_insert_hw_breakpoint, and to_remove_hw_breakpoint. | |
1446 | (target_insert_breakpoint, target_remove_breakpoint) | |
1447 | (target_insert_hw_breakpoint, target_remove_hw_breakpoint) | |
1448 | (memory_insert_breakpoint, memory_remove_breakpoint) | |
1449 | (default_memory_insert_breakpoint, default_memory_remove_breakpoint): | |
1450 | Update. | |
1451 | * config/i386/nm-i386.h: Forward declare struct bp_target_info. | |
1452 | (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): Update. | |
1453 | (target_insert_hw_breakpoint, target_remove_hw_breakpoint): Likewise. | |
1454 | ||
1455 | * gdbarch.c, gdbarch.h: Regenerated. | |
1456 | ||
1457 | * alpha-tdep.c (alpha_software_single_step): Use | |
1458 | insert_single_step_breakpoint and remove_single_step_breakpoints. | |
1459 | Remove unused statics. | |
1460 | * arm-tdep.c (arm_software_single_step): Likewise. Add a note. | |
1461 | * cris-tdep.c (cris_software_single_step): Likewise. | |
1462 | * mips-tdep.c (mips_software_single_step): Likewise. | |
1463 | * rs6000-tdep.c (rs6000_software_single_step): Likewise. | |
1464 | * sparc-tdep.c (sparc_software_single_step): Likewise. | |
1465 | * wince.c (struct thread_info_struct): Remove step_prev. | |
1466 | (undoSStep): Use remove_single_step_breakpoints. | |
1467 | (wince_software_single_step): Use insert_single_step_breakpoint. | |
1468 | ||
1469 | * corelow.c (ignore): Remove unneeded prototype. Update arguments. | |
1470 | * exec.c (ignore): Likewise. | |
1471 | * sol-thread.c (ignore): Likewise. | |
1472 | ||
1473 | * procfs.c (dbx_link_shadow_contents): Delete. | |
1474 | (dbx_link_bpt): New. | |
1475 | (procfs_mourn_inferior): Remove it if necessary. | |
1476 | (remove_dbx_link_breakpoint): Use it. | |
1477 | (insert_dbx_link_bpt_in_file): Set it. | |
1478 | (procfs_init_inferior): Don't update dbx_link_bpt_addr. | |
1479 | * rs6000-nat.c (exec_one_dummy_insn): Use | |
1480 | deprecated_insert_raw_breakpoint and | |
1481 | deprecated_remove_raw_breakpoint. | |
1482 | * solib-irix.c (shadow_contents, breakpoint_addr): Delete. | |
1483 | (base_breakpoint): New. | |
1484 | (disable_break): Use it. | |
1485 | (enable_break): Set it. | |
1486 | ||
1487 | * i386-nat.c (i386_insert_hw_breakpoint, i386_remove_hw_breakpoint): | |
1488 | Update. | |
1489 | * ia64-tdep.c (ia64_memory_insert_breakpoint) | |
1490 | (ia64_memory_remove_breakpoint): Likewise. | |
1491 | * m32r-tdep.c (m32r_memory_insert_breakpoint) | |
1492 | (m32r_memory_remove_breakpoint): Likewise. | |
1493 | * monitor.c (monitor_insert_breakpoint, monitor_remove_breakpoint): | |
1494 | Likewise. Remove unnecessary prototypes. Use placed_address | |
1495 | and placed_size. Removed useless read from memory. | |
1496 | * nto-procfs.c (procfs_insert_breakpoint) | |
1497 | (procfs_remove_breakpoint, procfs_insert_hw_breakpoint) | |
1498 | (procfs_remove_hw_breakpoint): Update. | |
1499 | * ocd.c (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise. | |
1500 | * ocd.h (ocd_insert_breakpoint, ocd_remove_breakpoint): Likewise. | |
1501 | * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Likewise. | |
1502 | * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Likewise. | |
1503 | * remote-e7000.c (e7000_insert_breakpoint) | |
1504 | (e7000_remove_breakpoint): Likewise. | |
1505 | * remote-m32r-sdi.c (m32r_insert_breakpoint) | |
1506 | (m32r_remove_breakpoint): Likewise. | |
1507 | * remote-mips.c (mips_insert_breakpoint) | |
1508 | (mips_remove_breakpoint): Likewise. | |
1509 | * remote-rdp.c (remote_rdp_insert_breakpoint) | |
1510 | (remote_rdp_remove_breakpoint): Likewise. | |
1511 | (rdp_step): Use deprecated_insert_raw_breakpoint and | |
1512 | deprecated_remove_raw_breakpoint. | |
1513 | * remote-sds.c (sds_insert_breakpoint, sds_remove_breakpoint): | |
1514 | Update. | |
1515 | * remote-sim.c (gdbsim_insert_breakpoint, gdbsim_remove_breakpoint): | |
1516 | Delete. | |
1517 | (init_gdbsim_ops): Use memory_insert_breakpoint and | |
1518 | memory_remove_breakpoint. | |
1519 | * remote-st.c (st2000_insert_breakpoint) | |
1520 | (st2000_remove_breakpoint): Update. Remove unused | |
1521 | BREAKPOINT_FROM_PC. | |
1522 | * remote.c (remote_insert_breakpoint, remote_remove_breakpoint): | |
1523 | Update. Use placed_address and placed_size. | |
1524 | (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Likewise. | |
1525 | ||
01d3a6ce DJ |
1526 | 2006-04-12 Daniel Jacobowitz <dan@codesourcery.com> |
1527 | ||
1528 | * remote.c (extended_remote_restart): Pass the correct length | |
1529 | to getpkt. | |
1530 | ||
2821caf1 JB |
1531 | 2006-04-11 Jim Blandy <jimb@codesourcery.com> |
1532 | ||
1533 | * serial.c (serial_open): Check for special cases at the front of | |
1534 | the "device" name before scanning for the ':' that would indicate | |
1535 | an IP-based connection. | |
1536 | ||
02c5aecd CF |
1537 | 2006-04-10 Christopher Faylor <cgf@timesys.com> |
1538 | ||
1539 | * win32-nat.c (open_symbol_file_object): New function. | |
1540 | (in_dynsym_resolve_code): Ditto. | |
1541 | (init_win32_ops): Fill in fields which ought not to be NULL. | |
1542 | ||
cb832706 CF |
1543 | 2006-04-10 Christopher Faylor <cgf@timesys.com> |
1544 | ||
1545 | * win32-nat.c (do_win32_fetch_inferior_registers): Don't do anything | |
1546 | with saved context if __COPY_CONTEXT_SIZE is not defined. | |
1547 | (handle_output_debug_string): Ditto. | |
1548 | ||
03926e1f DJ |
1549 | 2006-04-10 Daniel Jacobowitz <dan@codesourcery.com> |
1550 | ||
1551 | * arm-linux-tdep.c (arm_linux_extract_return_value): Use gdb_byte. | |
1552 | ||
b2a0b9b2 DM |
1553 | 2006-04-09 David S. Miller <davem@sunset.davemloft.net> |
1554 | ||
1555 | * sparc64-linux-tdep.c (sparc64_linux_init_abi): Append dwarf2 | |
1556 | frame sniffer. | |
1557 | * sparc-tdep.c (sparc32_gdbarch_init): Make sure to call | |
1558 | dwarf2_frame_set_init_reg() before gdbarch_init_osabi() so | |
1559 | that the latter can override. | |
1560 | * Makefile.in (sparc64-linux-tdep.o): Update dependencies. | |
1561 | ||
ee1b3323 UW |
1562 | 2006-04-09 Ulrich Weigand <uweigand@de.ibm.com> |
1563 | ||
1564 | * s390-tdep.c (struct s390_prologue_data): New field 'stack'. | |
1565 | (s390_store): Call pv_area_store to track stack slots. | |
1566 | (s390_load): Call pv_area_fetch to track stack slots. | |
1567 | (s390_check_for_saved): New function. | |
1568 | (s390_analyze_prologue): Call pv_area_scan. Allocate and free stack. | |
1569 | ||
3fc46200 UW |
1570 | 2006-04-09 Ulrich Weigand <uweigand@de.ibm.com> |
1571 | ||
1572 | * Makefile.in (s390-tdep.o): Add dependency on $(prologue_value_h). | |
1573 | * s390-tdep.c: Include "prologue-value.h". | |
1574 | (struct prologue_value): Remove. | |
1575 | (pv_set_to_unknown, pv_set_to_constant, pv_set_to_register, | |
1576 | pv_constant_last, pv_add, pv_add_constant, pv_subtract, | |
1577 | pv_logical_and, pv_is_identical, pv_is_register): Remove. | |
1578 | (compute_x_addr): Remove, replace by ... | |
1579 | (s390_addr): ... this new function. | |
1580 | (struct s390_prologue_data): Use pv_t instead of prologue_value. | |
1581 | (s390_store, s390_load): Likewise. | |
1582 | (s390_prologue_frame_unwind_cache): Likewise. | |
1583 | (s390_analyze_prologue): Likewise. Also, simplify and combine | |
1584 | several conditional statements. | |
1585 | ||
d750b939 JB |
1586 | 2006-04-08 Jim Blandy <jimb@codesourcery.com> |
1587 | ||
1588 | * Makefile.in (COMMON_OBS): List prologue-value.o. (Omitted from | |
1589 | last patch.) | |
1590 | ||
0b4294d3 DM |
1591 | 2006-04-08 David S. Miller <davem@sunset.davemloft.net> |
1592 | ||
1593 | * sparc-linux-tdep.c (sparc32_linux_step_trap): New. | |
1594 | (sparc32_linux_init_abi): Hook it into tdep->step_trap. | |
07c5f590 DM |
1595 | (sparc32_linux_core_gregset, |
1596 | sparc32_linux_supply_core_gregset, | |
1597 | sparc32_linux_collect_core_gregset, | |
1598 | sparc32_linux_supply_core_fpregset, | |
1599 | sparc32_linux_collect_core_fpregset): New. | |
1600 | (sparc32_linux_init_abi): Register them with generic sparc | |
1601 | core regset infrastructure. | |
0b4294d3 DM |
1602 | * sparc64-linux-tdep.c (sparc64_linux_step_trap): New. |
1603 | (sparc64_linux_init_abi): Hook it into tdep->step_trap. | |
07c5f590 DM |
1604 | (sparc64_linux_core_gregset, |
1605 | sparc64_linux_supply_core_gregset, | |
1606 | sparc64_linux_collect_core_gregset, | |
1607 | sparc64_linux_supply_core_fpregset, | |
1608 | sparc64_linux_collect_core_fpregset): New. | |
1609 | (sparc64_linux_init_abi): Register them with generic sparc | |
1610 | core regset infrastructure. | |
0b4294d3 DM |
1611 | * Makefile.in: Update dependencies. |
1612 | ||
9c0dd46b DM |
1613 | 2006-04-07 David S. Miller <davem@sunset.davemloft.net> |
1614 | ||
1615 | * linux-nat.c (linux_nat_thread_alive): Handle targets that | |
1616 | do not implement PTRACE_PEEKUSER. | |
1617 | ||
670aa98f DJ |
1618 | 2006-04-07 Daniel Jacobowitz <dan@codesourcery.com> |
1619 | ||
1620 | * remote.c (remote_wait): Convert warning to error before | |
1621 | parsing corrupt packets. | |
1622 | ||
e28493f2 AS |
1623 | 2006-04-07 Andrew Stubbs <andrew.stubbs@st.com> |
1624 | ||
1625 | * cli/cli-script.c (struct user_args): Add command field. | |
1626 | (arg_cleanup): Free command string. | |
1627 | (setup_user_args): Copy the command line before relying on it. | |
1628 | ||
7f198e01 JB |
1629 | 2006-04-06 Joel Brobecker <brobecker@adacore.com> |
1630 | ||
1631 | * breakpoint.c (_initialize_breakpoint): Add "del" as an alias | |
1632 | of the "delete" command. | |
1633 | ||
c9f7217e RC |
1634 | 2006-04-06 Randolph Chung <tausq@debian.org> |
1635 | ||
1636 | * MAINTAINERS (Patch champions): Add myself. | |
1637 | ||
d993720d AS |
1638 | 2006-04-05 Andreas Schwab <schwab@suse.de> |
1639 | ||
1640 | * Makefile.in: Update dependencies. | |
1641 | ||
f5a9b87d DM |
1642 | 2006-04-05 David S. Miller <davem@sunset.davemloft.net> |
1643 | ||
1644 | * sparc-tdep.c (sparc32_dwarf2_frame_init_reg): New. | |
1645 | (sparc32_gdbarch_init): Pass it to dwarf2_frame_set_init_reg. | |
1646 | * Makefile.in (sparc-tdep.o): Update dependencies. | |
80f9e3aa DM |
1647 | * sparc-linux-tdep.c (sparc32_linux_sigframe_init): Pull register |
1648 | window out of the correct stack frame. | |
1649 | * sparc64-linux-tdep.c (sparc64_linux_sigframe_init): Likewise. | |
aff37fc1 DM |
1650 | * dwarf2-frame.c (dwarf2_frame_ops init_reg): Add "next_frame" |
1651 | argument. | |
1652 | (dwarf2_frame_default_init_reg): Likewise. | |
1653 | (dwarf2_frame_set_init_reg): Update init_reg arg. | |
1654 | (dwarf2_frame_init_reg): Take "next_frame" and pass it to | |
1655 | ops->init_reg(). | |
1656 | (dwarf2_frame_cache): Pass next_frame to dwarf2_frame_init_reg. | |
1657 | * dwarf2-frame.h (dwarf2-frame_set_init_reg): Update declaration. | |
1658 | * cris-tdep.c (cris_dwarf2_frame_init_reg): Add next_frame arg. | |
1659 | * s390-tdep.c (s390_dwarf2_frame_init_reg): Likewise. | |
1660 | * sh-tdep.c (sh_dwarf2_frame_init_reg): Likewise. | |
1661 | * sparc64-tdep.c (sparc64_dwarf2_frame_init_reg): Likewise. | |
1662 | * sparc-tdep.c (sparc32_struct_return_from_sym): New function. | |
1663 | (sparc32_frame_cache): Call it. | |
1664 | (sparc32_dwarf2_struct_return_p): New function. | |
1665 | (sparc_dwarf2_frame_init_reg): Use it to determine if the function | |
1666 | returns a structure and thus we have to indicate the return PC and | |
1667 | NPC are 4 bytes later than usual. | |
faea95b1 DM |
1668 | * sparc-linux-tdep.c (sparc32_linux_init_abi): Append |
1669 | dwarf2 frame sniffer. | |
1670 | * Makefile.in (sparc-linux-tdep.o): Update dependencies. | |
f5a9b87d | 1671 | |
75e192e6 DM |
1672 | 2006-04-04 David S. Miller <davem@davemloft.net> |
1673 | ||
1674 | * config/linux.mh (NATDEPFILES): Remove sparc-sol2-nat.o | |
1675 | * config/linux64.h (NATDEPFILES): Likewise | |
1676 | * sparc-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset, | |
1677 | fill_fpregset): New. | |
1678 | * sparc64-linux-nat.c (supply_gregset, supply_fpregset, fill_gregset, | |
1679 | fill_fpregset): New. | |
0a59b3af DM |
1680 | * Makefile.in (sparc-linux-nat.o, sparc64-linux-nat.o): Update for |
1681 | new includes. | |
1682 | ||
dbcd679b AS |
1683 | 2006-04-04 Andreas Schwab <schwab@suse.de> |
1684 | ||
1685 | * Makefile.in (elf_common_h): Define. | |
1686 | ||
357d3800 AS |
1687 | 2006-04-03 Andrew Stubbs <andrew.stubbs@st.com> |
1688 | ||
1689 | * sh-tdep.c (sh_dwarf2_frame_init_reg): New function. | |
1690 | (sh_gdbarch_init): Call dwarf2_frame_set_init_reg(). | |
1691 | ||
d3c139e9 AS |
1692 | 2006-03-31 Andrew Stubbs <andrew.stubbs@st.com> |
1693 | ||
1694 | * value.h (struct internalvar): Add field 'endian'. | |
1695 | * value.c (lookup_internalvar): Initialise endian. | |
1696 | (value_of_internalvar): Flip the endian of built-in types if required. | |
1697 | (set_internalvar): Set the endian. | |
1698 | (show_convenience): Access the value through value_of_internalvar(). | |
1699 | ||
bb858e6a DJ |
1700 | 2006-03-30 Vladimir Prus <ghost@cs.msu.su> |
1701 | ||
1702 | * remote.c (watchpoint_to_Z_packet): Use values of Z_packet_type enum | |
1703 | instead of hardcoded integer literals. | |
1704 | ||
61d9b92f DJ |
1705 | 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
1706 | ||
1707 | * cli/cli-script.c (insert_args): Handle NULL user_args. | |
1708 | ||
f7060f85 DJ |
1709 | 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
1710 | ||
1711 | * arm-tdep.c (thumb_scan_prologue): Don't try to analyze | |
1712 | the function at zero if we have no symbols. | |
1713 | ||
295bf0ff DJ |
1714 | 2006-03-30 Adrien Kunysz <a_kunysz@yahoo.com> |
1715 | ||
1716 | * i386-stub.c (getpacket): Fix array overflow. | |
1717 | * m32r-stub.c (getpacket): Likewise. | |
1718 | * m68k-stub.c (getpacket): Likewise. | |
1719 | * sh-stub.c (getpacket): Likewise. | |
1720 | * sparc-stub.c (getpacket): Likewise. | |
1721 | ||
7abfe014 DJ |
1722 | 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
1723 | ||
1724 | * frame.h (set_current_sal_from_frame): New prototype. | |
1725 | * stack.c (set_current_sal_from_frame): Make global. | |
1726 | * infrun.c (normal_stop): Call set_current_sal_from_frame. | |
1727 | ||
0ec9a092 DJ |
1728 | 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
1729 | ||
1730 | * linux-thread-db.c: Include "linux-nat.h". | |
1731 | (check_for_thread_db): New function, split out from | |
1732 | thread_db_new_objfile. Remove dead check for active | |
1733 | thread_db on inapplicable targets. | |
1734 | (thread_db_new_objfile): Call check_for_thread_db. | |
1735 | * Makefile.in (linux-thread-db.o): Update. | |
1736 | * linux-nat.c (child_post_attach): Call check_for_thread_db. | |
1737 | (linux_child_post_startup_inferior): Likewise. | |
1738 | (lin_lwp_attach_lwp): Call target_post_attach instead of | |
1739 | child_post_attach. | |
1740 | * linux-nat.h (check_for_thread_db): New prototype. | |
1741 | ||
6d820c5c DJ |
1742 | 2006-03-30 Daniel Jacobowitz <dan@codesourcery.com> |
1743 | ||
1744 | * remote.c (struct remote_state): Add BUF and BUF_SIZE. | |
1745 | (init_remote_state): Initialize the new fields. | |
1746 | (get_memory_packet_size): Update BUF and BUF_SIZE if necessary. | |
1747 | (set_thread, remote_thread_alive, remote_unpack_thread_info_response) | |
1748 | (remote_get_threadinfo, parse_threadlist_response) | |
1749 | (remote_get_threadlist, remote_current_thread, remote_threads_info) | |
1750 | (remote_threads_extra_info, extended_remote_restart, get_offsets) | |
1751 | (remote_check_symbols, remote_open_1, remote_detach) | |
1752 | (remove_vcont_probe, remote_vcont_resume, remote_resume) | |
1753 | (remote_wait, remote_async_wait, fetch_register_using_p) | |
1754 | (remote_fetch_registers, store_register_using_P) | |
1755 | (remote_store_registers, check_binary_download, remote_write_bytes) | |
1756 | (remote_read_bytes, remote_insert_breakpoint) | |
1757 | (remote_remove_breakpoint, remote_insert_watchpoint) | |
1758 | (remote_remove_watchpoint, remote_insert_hw_breakpoint) | |
1759 | (remote_remove_hw_breakpoint, compare_sections_command) | |
1760 | (remote_xfer_partial, remote_rcmd, packet_command) | |
1761 | (remote_get_thread_local_address): Use the global incoming buffer | |
1762 | instead of alloca or xmalloc. Limit outgoing packets to | |
1763 | rs->remote_packet_size and incoming packets to rs->buf_size. | |
1764 | Update calls to getpkt and remote_send. | |
1765 | (remote_send): Take arguments by reference. | |
1766 | (putpkt_binary): Eliminate junkbuf. Use skip_frame. | |
1767 | (skip_frame): New function. | |
1768 | (read_frame): Take arguments by reference. Expand the packet | |
1769 | buffer instead of issuing an error. | |
1770 | (getpkt, getpkt_sane): Take arguments by reference. | |
1771 | * remote.h (getpkt): Update prototype and doc. | |
1772 | * tracepoint.c (remote_get_noisy_reply): Take arguments by | |
1773 | reference. | |
1774 | (target_buf): Change from array to pointer. | |
1775 | (target_buf_size): New variable. | |
1776 | (remote_set_transparent_ranges): Update call to getpkt. | |
1777 | (trace_start_command, trace_stop_command, trace_status_command): | |
1778 | Update calls to remote_get_noisy_reply. | |
1779 | (finish_tfind_command): Take arguments by reference. | |
1780 | (trace_find_command, trace_find_pc_command) | |
1781 | (trace_find_tracepoint_command, trace_find_line_command): | |
1782 | (trace_find_range_command, trace_find_outside_command): Update | |
1783 | calls to finish_tfind_command. | |
1784 | (_initialize_tracepoint): Initialize target_buf_size and target_buf. | |
1785 | ||
3d8dcac6 RC |
1786 | 2005-03-30 Randolph Chung <tausq@debian.org> |
1787 | ||
1788 | * hppa-linux-tdep.c: Include regset.h. | |
1789 | (GR_REGNUM, TR_REGNUM, greg_map): New. | |
1790 | (hppa_linux_supply_regset, hppa_linux_supply_fpregset): New. | |
1791 | (hppa_linux_regset, hppa_linux_fpregset): New. | |
1792 | (hppa_linux_regset_from_core_section): New. | |
1793 | (hppa_linux_init_abi): Set regset_from_core_section. | |
1794 | (_initialize_hppa_linux_tdep): Register osabi handler for | |
1795 | 64-bit Linux. | |
1796 | * Makefile.in (hppa-linux-tdep.o): Update dependencies. | |
1797 | * config/pa/linux.mh: Stop using core-regset.o | |
1798 | ||
29d375ac RC |
1799 | 2006-03-30 Randolph Chung <tausq@debian.org> |
1800 | ||
1801 | * hppa-tdep.c (hppa_find_unwind_entry_in_block): New. | |
1802 | (hppa_frame_cache): Use new function to find unwind entry. | |
1803 | (hppa_frame_this_id): Likewise. | |
1804 | (hppa_frame_unwind_sniffer): Likewise. | |
1805 | ||
f4267320 DJ |
1806 | 2006-03-29 Daniel Jacobowitz <dan@codesourcery.com> |
1807 | ||
1808 | * NEWS: Mention the removal of NLM. | |
1809 | ||
1810 | 2006-03-29 Steve Ellcey <sje@cup.hp.com> | |
1811 | ||
1812 | * Makefile.in (nlm): Remove target. | |
1813 | * configure.tgt (i[34567]86-*-netware*): Do not set build_nlm. | |
1814 | * configure.ac: Remove AC_CONFIG_SUBDIRS of nlm. | |
1815 | * configure: Regenerate. | |
1816 | * doc/gdb.texinfo: Remove gdbserve.nlm documentation. | |
1817 | * nlm: Remove directory. | |
1818 | ||
698ba934 DJ |
1819 | 2006-03-29 Daniel Jacobowitz <dan@codesourcery.com> |
1820 | ||
1821 | * Makefile.in (utils.o): Update. | |
1822 | * top.c (in_user_command): New. | |
1823 | (command_line_input): Use input_from_terminal_p. | |
1824 | (input_from_terminal_p): Don't check caution. Handle | |
1825 | stdin == NULL for Insight. | |
1826 | * top.h (in_user_command, caution): New declarations. | |
1827 | * utils.c: Include "top.h". | |
1828 | (query, defaulted_query): Check caution here. Move the call | |
1829 | to input_from_terminal_p higher. | |
1830 | * cli/cli-script.c (do_restore_user_call_depth): Only decrement | |
1831 | the depth. Update in_user_command if necessary. | |
1832 | (execute_user_command): Don't clobber old_chain. Set | |
1833 | in_user_command. Let do_restore_user_call_depth handle | |
1834 | user_call_depth. | |
1835 | (read_command_lines): Check whether to prompt before calling | |
1836 | Insight hooks. | |
1837 | * tui/tui-hooks.c (tui_query_hook): Remove newly unnecessary | |
1838 | input_from_terminal_p check. | |
1839 | ||
2f00de94 UW |
1840 | 2006-03-29 Ulrich Weigand <uweigand@de.ibm.com> |
1841 | ||
1842 | * s390-nat.c (s390_insert_watchpoint): Add missing argument. | |
1843 | (s390_remove_watchpoint): Likewise. | |
1844 | ||
7d30c22d JB |
1845 | 2006-03-28 Jim Blandy <jimb@codesourcery.com> |
1846 | ||
1847 | * prologue-value.c, prologue-value.h: New files. | |
1848 | * Makefile.in (prologue_value_h): New variable. | |
1849 | (HFILES_NO_SRCDIR): List prologue-value.h. | |
1850 | (SFILES): List prologue-value.c. | |
1851 | (COMMON_OBS): List prologue-value.o. | |
1852 | (prologue-value.o): New rule. | |
1853 | ||
05c6a9a1 MS |
1854 | 2006-03-27 Michael Snyder <msnyder@redhat.com> |
1855 | ||
1856 | * xstormy16-tdep.c (xstormy16_return_value, xstormy16_push_dummy_call, | |
1857 | xstormy16_pointer_to_address, xstormy16_address_to_pointer, | |
1858 | xstormy16_frame_prev_register): Change void* to gdb_byte*. | |
1859 | (xstormy16_push_dummy_call): Add block-local char* val, | |
1860 | to avoid type conflict with outer scope variable. | |
1861 | ||
4e6cbc38 AS |
1862 | 2006-03-27 Andrew Stubbs <andrew.stubbs@st.com> |
1863 | ||
1864 | * sh-tdep.c (sh_gdbarch_init): Add missing architectures. | |
1865 | ||
75483fbe NR |
1866 | 2006-03-27 Nick Roberts <nickrob@snap.net.nz> |
1867 | ||
1868 | * varobj.c (c_name_of_child, c_value_of_child): Allow non-zero | |
1869 | offsets for languages like Fortran. | |
1870 | ||
97ce3a05 RC |
1871 | 2006-03-26 Randolph Chung <tausq@debian.org> |
1872 | ||
1873 | * config/pa/hppa64.mt: Use HPUX version of the tm file. | |
1874 | ||
be85b69f NR |
1875 | 2006-03-25 Nick Roberts <nickrob@snap.net.nz> |
1876 | ||
1877 | * mi/gdb-mi.el (gdbmi-send): Improve regexp to repeat commands. | |
1878 | Try to deal with continuation line. | |
1879 | (gdbmi, gdbmi-prompt1, gud-gdbmi-marker-filter): Update to new | |
1880 | variable names. | |
1881 | (gdb-break-list-regexp, gdb-stack-list-frames-regexp): | |
1882 | Future proof against new fields being added to MI output. | |
1883 | (gdbmi-prompt2, gdb-break-list-handler,gdb-get-source-file) | |
1884 | (gdbmi-frame-handler): Update to new variable name | |
1885 | gdb-get-buffer-create. | |
1886 | (gdbmi-frame-handler): Use hollow-right-triangle for all selected | |
1887 | frames which except the innermost (where execution has stopped). | |
1888 | ||
7fc4b1a1 RC |
1889 | 2006-03-24 Randolph Chung <tausq@debian.org> |
1890 | ||
1891 | * solib-som.c (link_map_start): Don't error out if there is | |
1892 | not yet a link map. | |
1893 | ||
f973ed9c DJ |
1894 | 2006-03-24 Daniel Jacobowitz <dan@codesourcery.com> |
1895 | ||
1896 | * linux-nat.c (linux_ops_saved): New. | |
1897 | (super_mourn_inferior, kill_inferior, threaded, linux_nat_ops) | |
1898 | (child_mourn_inferior, child_wait, linux_nat_create_inferior) | |
1899 | (linux_nat_fetch_registers, linux_nat_store_registers) | |
1900 | (linux_nat_child_post_startup_inferior, init_linux_nat_ops): Delete. | |
1901 | (init_lwp_list): Don't set threaded. | |
1902 | (add_lwp): Don't modify threaded. | |
1903 | (delete_lwp): Don't mention non-threaded mode. | |
1904 | (linux_nat_switch_fork): New. | |
1905 | (linux_nat_attach): Update inferior_ptid. | |
1906 | (linux_nat_wait): Handle num_lwps == 0 at entry. Don't check | |
1907 | threaded flag. | |
1908 | (linux_nat_kill): Handle pending forks and saved forks. | |
1909 | (linux_nat_mourn_inferior): Handle saved forks. | |
1910 | (linux_nat_pid_to_str): Don't use the LWP form when there is | |
1911 | only one thread. | |
1912 | (linux_target): Don't set to_wait, to_kill, or to_mourn_inferior. | |
1913 | (linux_nat_add_target): New. | |
1914 | (_initialize_linux_nat): Don't initialize the linux native target | |
1915 | here. | |
1916 | * linux-nat.h (linux_nat_add_target, linux_nat_switch_fork): New | |
1917 | prototypes. | |
1918 | * linux-fork.c: Include "linux-nat.h". | |
1919 | (add_fork): Update initial PID. | |
1920 | (fork_load_infrun_state): Call linux_nat_switch_fork. | |
1921 | * Makefile.in (linux-fork.o): Update. | |
1922 | ||
1923 | * alpha-linux-nat.c (_initialize_alpha_linux_nat): Use | |
1924 | linux_nat_add_target instead of add_target. | |
1925 | * amd64-linux-nat.c (_initialize_amd64_linux_nat): Likewise. | |
1926 | * arm-linux-nat.c (_initialize_arm_linux_nat): Likewise. | |
1927 | * hppa-linux-nat.c (_initialize_hppa_linux_nat): Likewise. | |
1928 | * ia64-linux-nat.c (_initialize_ia64_linux_nat): Likewise. | |
1929 | * i386-linux-nat.c (_initialize_i386_linux_nat): Likewise. | |
1930 | * m32r-linux-nat.c (_initialize_m32r_linux_nat): Likewise. | |
1931 | * m68klinux-nat.c (_initialize_m68k_linux_nat): Likewise. | |
1932 | * mips-linux-nat.c (_initialize_mips_linux_nat): Likewise. | |
1933 | * ppc-linux-nat.c (_initialize_ppc_linux_nat): Likewise. | |
1934 | * s390-nat.c (_initialize_s390_nat): Likewise. | |
1935 | * sparc-linux-nat.c (_initialize_sparc_linux_nat): Likewise. | |
1936 | * sparc64-linux-nat.c (_initialize_sparc64_linux_nat): Likewise. | |
1937 | ||
791b663b DJ |
1938 | 2006-03-24 Daniel Jacobowitz <dan@codesourcery.com> |
1939 | ||
1940 | * linux-fork.c: Include "gdb_assert.h". | |
1941 | (fork_load_infrun_state): Set inferior_ptid and stop_pc here. | |
1942 | Update the register cache and selected frame also. | |
1943 | (linux_fork_mourn_inferior): Use fork_load_infrun_state. Return | |
1944 | to single fork mode if necessary. | |
1945 | (linux_fork_context): Remove bits handled by fork_load_infrun_state. | |
1946 | * Makefile.in (linux_fork_h): New. | |
1947 | (linux-fork.o, linux-nat.o): Update. | |
1948 | ||
d311d956 AS |
1949 | 2006-03-23 Andreas Schwab <schwab@suse.de> |
1950 | ||
1951 | * config/s390/s390.mh (NATDEPFILES): Add linux-fork.o. | |
1952 | ||
a849c9ab JB |
1953 | 2006-03-18 Jim Blandy <jimb@codesourcery.com> |
1954 | ||
1955 | * symtab.h (enum address_class): Doc fix. | |
1956 | ||
cf913f37 MS |
1957 | 2006-03-16 Michael Snyder <msnyder@redhat.com> |
1958 | ||
712e3020 | 1959 | * tracepoint.c (tracepoint_save_command): Fix typo in error msg. |
88c231eb | 1960 | * target.c (push_target): Fix typo in comment. |
94e08568 | 1961 | * remote.c (remote_watch_data_address): Fix typo in comment. |
cf913f37 MS |
1962 | * i386-tdep.c (i386_push_dummy_call): Fix typo in comment. |
1963 | ||
7c699b81 KB |
1964 | 2006-03-15 Kevin Buettner <kevinb@redhat.com> |
1965 | ||
1966 | * frv-linux-tdep.c (gdbcore.h, regcache.h, regset.h, gdb_string.h): | |
1967 | Include. | |
1968 | (FRV_ELF_NGREG, FRV_PT_PSR, FRV_PT_ISR, FRV_PT_CCR, FRV_PT_CCCR) | |
1969 | (FRV_PT_LR, FRV_PT_LCR, FRV_PT_PC, FRV_PT_GNER0, FRV_PT_GNER1) | |
1970 | (FRV_PT_IACC0H, FRV_PT_IACC0L, FRV_PT_GR, FRV_PT_TBR) | |
1971 | (FRV_PT_EXEC_FDPIC_LOADMAP, FRV_PT_INTERP_FDPIC_LOADMAP): Define. | |
1972 | (frv_elf_greg_t, frv_elf_gregset_t, frv_elf_fpreg_t) | |
1973 | (frv_elf_fpregset_t): Define types. | |
1974 | (frv_linux_supply_gregset, frv_linux_supply_fpregset) | |
1975 | (frv_linux_regset_from_core_section: New functions. | |
1976 | (frv_linux_gregset, frv_linux_fpregset): New static globals. | |
1977 | (frv_linux_init_abi): Register the `regset_from_core_section' method. | |
1978 | * Makefile.in (frv-linux-tdep.o): Update dependencies. | |
1979 | * solib-frv.c (frv_current_sos): Relocate main executable after | |
1980 | loading core file. | |
1981 | (frv_clear_solib): Clean up space associated with | |
1982 | `main_executable_lm_info'. | |
1983 | * config/frv/frv.mt (TDEPFILES): Add corelow.o to this list. | |
1984 | ||
d37eb719 DJ |
1985 | 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
1986 | ||
1987 | * Makefile.in (mips_linux_tdep_h): New. | |
1988 | (mpis-linux-nat.o, mips-linux-tdep.o): Update. | |
1989 | * mips-linux-nat.c: Include "inferior.h", "mips-linux-tdep.h", and | |
1990 | <sys/ptrace.h>. | |
1991 | (have_ptrace_regsets, super_fetch_registers, super_store_registers) | |
1992 | (mips64_linux_regsets_fetch_registers) | |
1993 | (mips64_linux_regsets_store_registers, mips64_linux_fetch_registers) | |
1994 | (mips64_linux_store_registers): New. | |
1995 | (_initialize_mips_linux_nat): Override to_fetch_registers and | |
1996 | to_store_registers. | |
1997 | * mips-linux-tdep.h: New file. | |
1998 | * mips-linux-tdep.c: Include "mips-linux-tdep.c". | |
1999 | (ELF_NGREG, ELF_NFPREG, elf_greg_t, elf_gregset_t, elf_fpreg_t) | |
2000 | (elf_fpregset_t, FPR_BASE, PC, CAUSE, BADVADDR, MMHI, MMLO) | |
2001 | (FPC_CSR, FPC_EIR, EF_REG0, EF_REG31, EF_LO, EF_HI, EF_CP0_EPC) | |
2002 | (EF_CP0_BADVADDR, EF_CP0_STATUS, EF_CP0_CAUSE, EF_SIZE) | |
2003 | (MIPS64_ELF_NGREG, MIPS64_ELF_NFPREG, mips64_elf_greg_t) | |
2004 | (mips64_elf_gregset_t, mips64_elf_fpreg_t, mips64_elf_fpregset_t) | |
2005 | (MIPS64_FPR_BASE, MIPS64_PC, MIPS64_CAUSE, MIPS64_BADVADDR) | |
2006 | (MIPS64_MMHI, MIPS64_MMLO, MIPS64_FPC_CSR, MIPS64_FPC_EIR) | |
2007 | (MIPS64_EF_REG0, MIPS64_EF_REG31, MIPS64_EF_LO, MIPS64_EF_HI) | |
2008 | (MIPS64_EF_CP0_EPC, MIPS64_EF_CP0_BADVADDR, MIPS64_EF_CP0_STATUS) | |
2009 | (MIPS64_EF_CP0_CAUSE, MIPS64_EF_SIZE): Delete. | |
2010 | (supply_32bit_reg): Use gdb_byte. | |
2011 | (supply_64bit_reg): New. | |
2012 | (mips_supply_gregset, mips_fill_gregset, mips_supply_fpregset) | |
2013 | (mips_fill_fpregset, fetch_core_registers, supply_gregset) | |
2014 | (fill_gregset, supply_fpregset): Update for renamed types. | |
2015 | (mips64_supply_gregset): Use gdb_byte and supply_64bit_reg. | |
2016 | (mips64_fill_gregset): Make global. Handle 32-bit register | |
2017 | sizes. | |
2018 | (mips64_fill_fpregset): Make global. Use gdb_byte. Handle | |
2019 | FP regsets properly. | |
2020 | ||
9f62d0e2 DJ |
2021 | 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
2022 | ||
2023 | * mips-linux-tdep.c (mips_supply_gregset): Renamed from supply_gregset. | |
2024 | (mips_fill_gregset): Renamed from fill_gregset. | |
2025 | (mips_supply_fpregset): Renamed from supply_fpregset. | |
2026 | (mips_fill_fpregset): Renamed from fill_fpregset. | |
2027 | (fetch_core_registers): Update calls. | |
2028 | (supply_gregset, fill_gregset, supply_fpregset, fill_fpregset): New | |
2029 | functions. | |
2030 | ||
26c53e50 DJ |
2031 | 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
2032 | ||
2033 | * mips-tdep.c (mips_gdbarch_init): Default 64-bit ELF files to N64. | |
2034 | ||
5b652102 DJ |
2035 | 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
2036 | ||
2037 | * mips-tdep.c (is_mips16_addr, mips32_next_pc, add_offset_16): | |
2038 | Correct arithmetic for 64-bit CORE_ADDR. | |
2039 | ||
d05f6826 DJ |
2040 | 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
2041 | ||
2042 | * mips-linux-tdep.c: Include "floatformat.h". | |
2043 | (mips_linux_init_abi): Use 128-bit long double for N32 and N64. | |
0a407ead DJ |
2044 | * mips-tdep.c (mips_n32n64_return_value): Support 128-bit long |
2045 | double. | |
d05f6826 DJ |
2046 | (print_gp_register_row): Don't print spaces before ignored |
2047 | or floating point registers. | |
6367c6b1 | 2048 | * Makefile.in (mips-linux-tdep.o): Update. |
d05f6826 | 2049 | |
3e5af19e DJ |
2050 | 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
2051 | ||
2052 | * mips-mdebug-tdep.c (compare_pdr_entries): Use bfd_get_signed_32 | |
2053 | for code addresses. | |
2054 | (non_heuristic_proc_desc): Likewise. | |
2055 | ||
dc60ece8 DJ |
2056 | 2006-03-15 Daniel Jacobowitz <dan@codesourcery.com> |
2057 | ||
2058 | * mips-linux-nat.c: Include "gdb_proc_service.h". | |
2059 | (PTRACE_GET_THREAD_AREA): Define. | |
2060 | (ps_get_thread_area): New. | |
2061 | * Makefile.in (mips-linux-nat.o): Update. | |
2062 | ||
2f83030f JB |
2063 | 2006-03-13 Jim Blandy <jimb@codesourcery.com> |
2064 | ||
2065 | * MAINTAINERS: Use my work address. | |
2066 | ||
56aac7e8 | 2067 | 2006-03-09 Michael Snyder <msnyder@redhat.com> |
a9877905 | 2068 | |
56aac7e8 MS |
2069 | * linux-nat.c (kill_inferior): Just call target_mourn_inferior |
2070 | instead of getting tricky for the multi-fork case. | |
2071 | * linux-fork.c (linux_fork_killall): Call PT_KILL and waitpid | |
2072 | for each fork, and then use init_fork_list to delete them. | |
a9877905 | 2073 | |
831004b7 AO |
2074 | 2006-03-08 Alexandre Oliva <aoliva@redhat.com> |
2075 | ||
2076 | * solib-svr4.c (svr4_current_sos): Move up initialization of | |
2077 | l_addr, such that it clearly covers all cases. | |
2078 | ||
f1b4b38e AS |
2079 | 2006-03-08 Andreas Schwab <schwab@suse.de> |
2080 | ||
2081 | * ia64-tdep.c (ia64_libunwind_frame_this_id): Adapt use of | |
2082 | libunwind_frame_prev_register to use a gdb_byte buffer and | |
2083 | extract_unsigned_integer. | |
2084 | (ia64_libunwind_sigtramp_frame_prev_register): Likewise. | |
2085 | ||
2086 | * libunwind-frame.c (libunwind_frame_prev_register): Change type | |
2087 | of last argument to `gdb_byte *' | |
2088 | * libunwind-frame.h: Adjust declaration. | |
2089 | ||
f53f0d0b PB |
2090 | 2006-03-08 Paul Brook <paul@codesourcery.com> |
2091 | ||
2092 | * arm-tdep.c (arm_push_dummy_call): Remove stack alignment. | |
2093 | (arm_frame_align): New function. | |
2094 | (arm_gdbarch_init): Use it. | |
2095 | ||
b67fd56f AC |
2096 | 2006-03-03 Khem Raj <khem@mvista.com> |
2097 | ||
2098 | * remote-rdp.c (remote_rdp_xfer_inferior_memory): Use gdb_byte. | |
2099 | Committed by Andrew Cagney. | |
2100 | ||
a64ae7e0 CV |
2101 | 2006-03-02 Corinna Vinschen <vinschen@redhat.com> |
2102 | ||
2103 | * mn10300-tdep.c (mn10300_push_dummy_call): Write breakpoint | |
2104 | address to MDR register. | |
2105 | ||
9733fc94 DJ |
2106 | 2006-03-01 Daniel Jacobowitz <dan@codesourcery.com> |
2107 | ||
2108 | * gdbtypes.c (lookup_struct_elt_type): Correct noerr for recursive | |
2109 | calls. | |
2110 | ||
4897bfb9 RC |
2111 | 2006-03-01 Randolph Chung <tausq@debian.org> |
2112 | ||
2113 | * somread.c (som_symfile_read): Update comment and remove unneeded | |
2114 | use of a deprecated variable. | |
2115 | ||
6fcecea0 RC |
2116 | 2006-03-01 Randolph Chung <tausq@debian.org> |
2117 | ||
2118 | * hppa-tdep.h (unwind_table_entry): Update field names to match HP | |
2119 | runtime specification. | |
2120 | * hppa-tdep.c (internalize_unwinds, hppa_frame_cache): Likewise. | |
2121 | (unwind_command): Likewise. | |
2122 | ||
46acf081 RC |
2123 | 2006-03-01 Randolph Chung <tausq@debian.org> |
2124 | ||
2125 | * hppa-tdep.c (hppa_frame_cache): Handle Region_Description and | |
2126 | Pseudo_SP_Set in unwind record. | |
2127 | ||
477e69e8 RC |
2128 | 2006-03-01 Randolph Chung <tausq@debian.org> |
2129 | ||
2130 | * hppa-hpux-tdep.c (initialize_hp_cxx_exception_support): Use | |
2131 | TDEP->is_elf to determine if we are working with a SOM binary. | |
2132 | (null_symtab_and_line): Remove unused variable. | |
2133 | * config/pa/hppa64.mt: Use tm-hppa.h. | |
2134 | * config/pa/tm-hppa64.h: Remove file. | |
2135 | ||
848359ac WZ |
2136 | 2006-03-01 Wu Zhou <woodzltc@cn.ibm.com> |
2137 | ||
2138 | * f-typeprint.c (f_type_print_base): Delete the redundant space. | |
2139 | ||
f9ec92b6 KB |
2140 | 2006-02-28 Kevin Buettner <kevinb@redhat.com> |
2141 | ||
2142 | * Makefile.in (mn10300-linux-tdep.o): Update dependencies. | |
2143 | * mn10300-linux-tdep.c (frame.h, trad-frame.h, tramp-frame.h): | |
2144 | Include. | |
2145 | (am33_linux_sigframe_cache_init): New function. | |
2146 | (am33_linux_sigframe, am33_linux_rt_sigframe): New signal frame | |
2147 | descriptions. | |
2148 | (AM33_SIGCONTEXT_D0, AM33_SIGCONTEXT_D1, AM33_SIGCONTEXT_D2) | |
2149 | (AM33_SIGCONTEXT_D3, AM33_SIGCONTEXT_A0, AM33_SIGCONTEXT_A1) | |
2150 | (AM33_SIGCONTEXT_A2, AM33_SIGCONTEXT_A3, AM33_SIGCONTEXT_E0) | |
2151 | (AM33_SIGCONTEXT_E1, AM33_SIGCONTEXT_E2, AM33_SIGCONTEXT_E3) | |
2152 | (AM33_SIGCONTEXT_E4, AM33_SIGCONTEXT_E5, AM33_SIGCONTEXT_E6) | |
2153 | (AM33_SIGCONTEXT_E7, AM33_SIGCONTEXT_LAR, AM33_SIGCONTEXT_LIR) | |
2154 | (AM33_SIGCONTEXT_MDR, AM33_SIGCONTEXT_MCVF, AM33_SIGCONTEXT_MCRL) | |
2155 | (AM33_SIGCONTEXT_MCRH, AM33_SIGCONTEXT_MDRQ, AM33_SIGCONTEXT_SP) | |
2156 | (AM33_SIGCONTEXT_EPSW, AM33_SIGCONTEXT_PC, AM33_SIGCONTEXT_FPUCONTEXT): | |
2157 | New constants. | |
2158 | (am33_linux_init_osabi): Register signal frame unwinders. | |
2159 | ||
e92e42f5 KB |
2160 | 2006-02-28 Kevin Buettner <kevinb@redhat.com> |
2161 | ||
2162 | * mn10300-tdep.c (mn10300_analyze_prologue): Implement backtrack | |
2163 | out of pattern match by saving relevant state. Fix stack size | |
2164 | adjustment bug. | |
2165 | ||
cc10cae3 AO |
2166 | 2006-02-28 Alexandre Oliva <aoliva@redhat.com> |
2167 | ||
2168 | * solib-svr4.h (struct link_map_offsets): Add l_ld_offset and | |
2169 | l_ld_size fields. | |
2170 | * solib-svr4.c (struct lm_info): Add l_addr field. | |
2171 | (LM_ADDR_FROM_LINK_MAP): Renamed from LM_ADDR. | |
2172 | (HAS_LM_DYNAMIC_FROM_LINK_MAP): New. | |
2173 | (LM_DYNAMIC_FROM_LINK_MAP): New. | |
2174 | (LM_ADDR_CHECK): New. Use it instead of LM_ADDR. | |
2175 | (svr4_current_sos): Initialize l_addr. Adjust. | |
2176 | (svr4_relocate_section_addresses): Adjust. | |
2177 | (svr4_ilp32_fetch_link_map_offsets): Define new members. | |
2178 | (svr4_lp64_fetch_link_map_offsets): Likewise. | |
2179 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Likewise. | |
2180 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Likewise. | |
2181 | (mipsnbsd_lp64_fetch_link_map_offsets): Likewise. | |
2182 | * Makefile.in (solib-svr4.o): Depend on $(elf_bfd_h). | |
2183 | ||
691342f9 DM |
2184 | 2006-02-26 David S. Miller <davem@sunset.davemloft.net> |
2185 | ||
2186 | * config/sparc/linux.mt (TDEPFILES): Add sol2-tdep.o. | |
2187 | * config/sparc/linux64.mt (TDEPFILES): Likewise. | |
2188 | ||
2c387241 AM |
2189 | 2006-02-27 Alan Modra <amodra@bigpond.net.au> |
2190 | ||
2191 | * ppc-linux-nat.c (ppc_linux_insert_watchpoint): Correct return type. | |
2192 | (ppc_linux_remove_watchpoint): Likewise, and args. | |
2193 | ||
3597fb82 MK |
2194 | 2006-02-26 Mark Kettenis <kettenis@gnu.org> |
2195 | ||
2196 | * i386obsd-tdep.c (i386obsd_trapframe_sniffer): Also recognize | |
2197 | "soft" interrupts. | |
2198 | ||
637d6690 CW |
2199 | 2006-02-24 Charles Wilson <cygwin@cwilson.fastmail.fm> |
2200 | ||
2201 | * gdb/defs.h: unconditionally include <fcntl.h>, and | |
2202 | ensure that O_BINARY is defined. | |
2203 | * gdb/solib.c(solib_open): ensure solib files are opened in | |
2204 | binary mode. | |
2205 | * gdb/corelow.c: Remove O_BINARY macro definition. | |
2206 | * gdb/exec.c: Remove O_BINARY macro definition | |
2207 | * gdb/remote-rdp.c: Remove O_BINARY macro definition | |
2208 | * gdb/source.c: Remove O_BINARY macro definition | |
2209 | * gdb/symfile.c: Remove O_BINARY macro definition | |
2210 | ||
9846e541 RC |
2211 | 2006-02-24 Randolph Chung <tausq@debian.org> |
2212 | ||
2213 | * hppa-hpux-tdep.c (hppa_hpux_push_dummy_code): Initialize | |
2214 | argreg. | |
2215 | * solib-som.c (som_solib_remove_inferior_hook): Remove unused | |
2216 | function. | |
2217 | ||
2a5e440c WZ |
2218 | 2006-02-24 Wu Zhou <woodzltc@cn.ibm.com> |
2219 | ||
2220 | * f-exp.y: Symbol '%' is not used as the modulus operator in | |
2221 | Fortran. Delete this from Fortran expression. | |
2222 | It is now used by Fortran 90 and later to access the member | |
2223 | of derived type. Add this into Fortran expression. | |
2224 | * f-valprint.c (f_val_print): Add code to handle TYPE_CODE_STRUCT. | |
2225 | Print each elements in the derived type. | |
2226 | * f-typeprint.c (print_equivalent_f77_float_type): Add a parameter | |
2227 | level into the function definition to do indented printing. And | |
2228 | call fprintfi_filtered instead to do indented printing. | |
2229 | (f_type_print_base): Replace fprintf_filtered with the indented | |
2230 | version (fprintfi_filtered). | |
2231 | (f_type_print_base): Call indented print_equivalent_f77_float_type. | |
2232 | (f_type_print_base): Add code to handle TYPE_CODE_STRUCT. Print | |
2233 | the definition of the derived type. | |
2234 | ||
92128691 DJ |
2235 | 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com> |
2236 | ||
2237 | * gdb_curses.h: Provide a fallback prototype for tgetnum. | |
2238 | ||
a6205f53 DJ |
2239 | 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com> |
2240 | ||
2241 | * doublest.h: Conditionalize DOUBLEST on PRINTF_HAS_LONG_DOUBLE | |
2242 | also. | |
2243 | (DOUBLEST_FORMAT): Rename to DOUBLEST_PRINT_FORMAT. | |
2244 | (DOUBLEST_SCAN_FORMAT): New. | |
2245 | * ada-lex.l (PRINTF_HAS_LONG_DOUBLE): Remove redefinitions. | |
2246 | (processReal): Use DOUBLEST_SCAN_FORMAT. | |
2247 | * c-exp.y (parse_number): Likewise. | |
2248 | * jv-exp.y (parse_number): Likewise. | |
2249 | * objc-exp.y (parse_number): Likewise. | |
2250 | * p-exp.y (parse_number): Likewise. | |
2251 | ||
0f0b8dcd DJ |
2252 | 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com> |
2253 | ||
2254 | * event-top.c (async_do_nothing, async_disconnect) | |
2255 | (async_stop_sig, async_float_handler): Remove duplicated | |
2256 | prototypes. | |
2257 | (handle_sighup): Guard prototype with SIGHUP. | |
2258 | (async_do_nothing): Guard function and prototype with | |
2259 | SIGQUIT || SIGHUP. | |
2260 | (async_disconnect): Guard prototype with SIGHUP. | |
2261 | (async_stop_sig): Guard prototype with STOP_SIGNAL. | |
2262 | ||
4e91d01c DJ |
2263 | 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com> |
2264 | ||
2265 | * maint.c (maintenance_dump_me): Remove unnecessary prototype. | |
2266 | ||
1e0600be DJ |
2267 | 2006-02-23 Daniel Jacobowitz <dan@codesourcery.com> |
2268 | ||
2269 | * win32-termcap.c (tputs): Return 0. | |
2270 | ||
094a342e MK |
2271 | 2006-02-21 Mark Kettenis <kettenis@gnu.org> |
2272 | ||
2273 | * configure.ac: Introduce ---enable-werror, which adds -Werror to | |
2274 | the compiler command line. Enabled by default. Disable with | |
2275 | --disable-werror. | |
2276 | * configure regenerate. | |
2277 | ||
74763737 DJ |
2278 | 2006-02-21 Daniel Jacobowitz <dan@codesourcery.com> |
2279 | ||
2280 | * elfread.c (elf_symtab_read): Skip symbols which BFD considers | |
2281 | special. | |
2282 | ||
13d35ae5 AS |
2283 | 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com> |
2284 | ||
2285 | * defs.h (directory_switch): Add prototype. | |
2286 | * main.c (captured_main): Use directory_switch() instead of | |
2287 | directory_command() to add directories from the -d switch. | |
2288 | * source.c (directory_switch): New function. | |
2289 | (add_path): Use buildargv() to parse spaces in filenames properly. | |
2290 | Strip multiple trailing '/' rather than just one. | |
2291 | ||
5b96932b AS |
2292 | 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com> |
2293 | ||
2294 | * symfile.c (add_symbol_file_command): Use buildargv(), instead of | |
2295 | hand decoding the command line, to allow use of quotes and spaces. | |
2296 | (_initialize_symfile): Reorganize the help message for add-symbol-file | |
2297 | such that 'help files' shows a better message. | |
2298 | ||
a6b0a3f3 AS |
2299 | 2006-02-21 Andrew Stubbs <andrew.stubbs@st.com> |
2300 | ||
2301 | * sh-tdep.c (sh_generic_show_regs): Reformat both code and output. | |
2302 | (sh3_show_regs, sh2e_show_regs, sh2a_show_regs): Likewise. | |
2303 | (sh2a_nofpu_show_regs, sh3e_show_regs, sh3_dsp_show_regs): Likewise. | |
2304 | (sh4_show_regs, sh4_nofpu_show_regs, sh_dsp_show_regs): Likewise. | |
2305 | ||
17fbb0bd DJ |
2306 | 2006-02-20 Daniel Jacobowitz <dan@codesourcery.com> |
2307 | ||
2308 | * linux-nat.c (lin_thread_get_thread_signals): Default to __SIGRTMIN | |
2309 | and __SIGRTMIN + 1. | |
2310 | ||
444abaca DJ |
2311 | 2006-02-20 Daniel Jacobowitz <dan@codesourcery.com> |
2312 | ||
2313 | * remote.c: Add an enumeration for configurable remote | |
2314 | packets. | |
2315 | (remote_protocol_packets, set_remote_protocol_packet_cmd) | |
2316 | (show_remote_protocol_packet_cmd): New. | |
2317 | (remote_protocol_vcont) | |
2318 | (set_remote_protocol_vcont_packet_cmd) | |
2319 | (show_remote_protocol_vcont_packet_cmd) | |
2320 | (remote_protocol_qSymbol) | |
2321 | (set_remote_protocol_qSymbol_packet_cmd) | |
2322 | (show_remote_protocol_qSymbol_packet_cmd) | |
2323 | (remote_protocol_P, set_remote_protocol_P_packet_cmd) | |
2324 | (show_remote_protocol_P_packet_cmd) | |
2325 | (remote_protocol_Z) | |
2326 | (set_remote_protocol_Z_software_bp_packet_cmd) | |
2327 | (show_remote_protocol_Z_software_bp_packet_cmd) | |
2328 | (set_remote_protocol_Z_hardware_bp_packet_cmd) | |
2329 | (show_remote_protocol_Z_hardware_bp_packet_cmd) | |
2330 | (set_remote_protocol_Z_write_wp_packet_cmd) | |
2331 | (show_remote_protocol_Z_write_wp_packet_cmd) | |
2332 | (set_remote_protocol_Z_read_wp_packet_cmd) | |
2333 | (show_remote_protocol_Z_read_wp_packet_cmd) | |
2334 | (set_remote_protocol_Z_access_wp_packet_cmd) | |
2335 | (show_remote_protocol_Z_access_wp_packet_cmd) | |
2336 | (remote_protocol_binary_download) | |
2337 | (set_remote_protocol_binary_download_cmd) | |
2338 | (show_remote_protocol_binary_download_cmd) | |
2339 | (remote_protocol_qPart_auxv) | |
2340 | (set_remote_protocol_qPart_auxv_packet_cmd) | |
2341 | (show_remote_protocol_qPart_auxv_packet_cmd) | |
2342 | (remote_protocol_qGetTLSAddr) | |
2343 | (set_remote_protocol_qGetTLSAddr_packet_cmd) | |
2344 | (show_remote_protocol_qGetTLSAddr_packet_cmd) | |
2345 | (remote_protocol_p) | |
2346 | (set_remote_protocol_p_packet_cmd) | |
2347 | (show_remote_protocol_p_packet_cmd): Delete. | |
2348 | ||
2349 | (init_all_packet_configs): Simplify. | |
2350 | (set_remote_protocol_Z_packet_cmd) | |
2351 | (show_remote_protocol_Z_packet_cmd) | |
2352 | (remote_check_symbols, remote_vcont_probe, remote_vcont_resume) | |
2353 | (remote_fetch_registers, remote_prepare_to_store) | |
2354 | (remote_store_registers, check_binary_download) | |
2355 | (remote_write_bytes, remote_insert_breakpoint) | |
2356 | (remote_remove_breakpoint, remote_insert_watchpoint) | |
2357 | (remote_remove_watchpoint, remote_insert_hw_breakpoint) | |
2358 | (remote_remove_hw_breakpoint, remote_xfer_partial) | |
2359 | (remote_get_thread_local_address): Update for packet array. | |
2360 | (_initialize_remote): Likewise; also update for common | |
2361 | set/show commands. | |
2362 | ||
3bd72c6f DJ |
2363 | 2006-02-20 Daniel Jacobowitz <dan@codesourcery.com> |
2364 | ||
2365 | * symfile.c (place_section): Correct retry logic. | |
2366 | ||
a244bdca CF |
2367 | 2006-02-19 Christopher Faylor <cgf@timesys.com> |
2368 | ||
2369 | * win32_nat.c (cygwin_load_start): New variable. | |
2370 | (cygwin_load_end): Ditto. | |
2371 | (have_saved_context): Ditto. | |
2372 | (saved_context): Ditto. | |
2373 | (max_dll_name_len): Delete obsolete variable. | |
2374 | (do_win32_fetch_inferior_registers): Use context saved from cygwin1.dll | |
2375 | if we are in a cygwin signal rather than a windows signal. | |
2376 | (solib_symbols_add): Detect and store beginning and end of cygwin DLL | |
2377 | if dll being loaded is the cygwin DLL. | |
2378 | (register_loaded_dll): Remove calculation of max_dll_name_len. | |
2379 | (win32_clear_solib): Ditto. | |
2380 | (handle_load_dll): Delete obsolete variable. Remove unneeded call to | |
2381 | solib_add. | |
2382 | (handle_output_debug_string): Detect and store signal information sent | |
2383 | by Cygwin here. | |
2384 | (handle_exception): Silently pass on errors in the cygwin DLL. Return | |
2385 | -1 on first pass exception. | |
2386 | (win32_continue): Remove spurious clearing of continue_status. | |
2387 | (get_win32_debug_event): Deal differently first chance exception. | |
2388 | ||
806e23c0 RC |
2389 | 2006-02-19 Randolph Chung <tausq@debian.org> |
2390 | ||
2391 | * hppa-tdep.c (hppa_in_solib_call_trampoline): Only use if no | |
2392 | unwind entry. | |
2393 | ||
d843c49c FF |
2394 | 2006-02-16 Fred Fish <fnf@specifix.com> |
2395 | ||
2396 | * eval.c (evaluate_subexp_standard): For OP_TYPE, return | |
2397 | a non lval value zero, of the appropriate type, when avoiding | |
2398 | side effects. | |
2399 | * typeprint.c (ptype_eval): Remove function and declaration. | |
2400 | (ptype_command): Simplify to just a call to whatis_exp. | |
2401 | ||
1c5bada0 PB |
2402 | 2006-02-15 Paul Brook <paul@codesourcery.com> |
2403 | ||
2404 | * arm-tdep.c (arm_skip_prologue, thumb_get_next_pc, arm_get_next_pc): | |
2405 | Load insn opcodes as unsigned values. | |
2406 | ||
96c1eda2 AO |
2407 | 2006-02-14 Alexandre Oliva <aoliva@redhat.com> |
2408 | ||
2409 | * doublest.h (DOUBLEST): Use long double only if we can scan | |
2410 | it in. Undefine HAVE_LONG_DOUBLE otherwise. | |
2411 | (DOUBLEST_FORMAT): New. | |
2412 | * c-exp.y (parse_number): Use it. | |
2413 | * jv-exp.y (parse_number): Likewise. | |
2414 | * objc-exp.y (parse_number): Likewise. | |
2415 | * p-exp.y (parse_number): Likewise. | |
2416 | * varobj.c (free_variable): Silence type-punning warnings. | |
2417 | * tui/tui-data.h (struct tui_list): Change type of list member. | |
2418 | * tui/tui-data.c: Remove no-longer-needed type casts. | |
2419 | (source_windows): Silence type-punning warnings. | |
2420 | * tui/tui-stack.c, tui/tui-win.c, tui/tui-winsource.c: Likewise. | |
2421 | ||
92dd43fa MK |
2422 | 2006-02-13 Mark Kettenis <kettenis@gnu.org> |
2423 | ||
2424 | Fix PR breakpoints/2080. | |
2425 | * i386-tdep.c (struct i386_frame_cache): Add stack_align member. | |
2426 | (i386_analyze_stack_align): New function. | |
2427 | (i386_analyze_prologue): Use i386_analyze_stack_align. | |
2428 | (i386_frame_cache): Deal with stack realignment. | |
2429 | ||
7314787a NR |
2430 | 2006-02-14 Nick Roberts <nickrob@snap.net.nz> |
2431 | ||
2432 | * mi/gdb-mi.el: Use more functions from gdb-ui.el. | |
2433 | (gdb-break-list-regexp): Match "what" field if present. | |
be85b69f | 2434 | (gdb-stack-list-frames-regexp): Match "from" field if present. |
7314787a NR |
2435 | (gdb-stack-list-frames-handler): Present output like "info |
2436 | breakpoints" so regexps can be shared with gdb-ui | |
2437 | ||
0ea3f30e DJ |
2438 | 2006-02-10 Daniel Jacobowitz <dan@codesourcery.com> |
2439 | ||
2440 | * NEWS: Mention native Windows support. | |
2441 | * Makefile.in (gdb_select_h, ser_tcp_h): New. | |
2442 | (ALLDEPFILES): Add ser-mingw.c. | |
2443 | (event-loop.o, inflow.o, mingw-hdep.o, posix-hdep.o, ser-base.o) | |
2444 | (ser-tcp.o, ser-unix.o): Update. | |
2445 | (ser-mingw.o): New rule. | |
2446 | * configure: Regenerated. | |
2447 | * configure.ac: Add ser-mingw.o for mingw32. | |
2448 | * ser-mingw.c: New file. | |
2449 | * event-loop.c: Include "gdb_select.h". | |
2450 | (gdb_select): Remove, moved to mingw-hdep.c and posix-hdep.c. | |
2451 | * ser-base.c: Include "gdb_select.h". | |
2452 | (ser_base_wait_for): Use gdb_select. | |
2453 | * serial.c (serial_for_fd): New function. | |
2454 | (serial_fdopen): Try "terminal" before "hardwire". Initialize | |
2455 | the allocated struct serial. | |
2456 | (serial_wait_handle): New function. | |
2457 | * serial.h (serial_for_fd, serial_wait_handle): New prototypes. | |
2458 | (struct serial_ops) [USE_WIN32API]: Add wait_handle. | |
2459 | * gdb_select.h: New file. | |
2460 | * ser-tcp.c: Include "ser-tcp.h". Remove unused "ser-unix.h" include. | |
2461 | (net_close, net_read_prim, net_write_prim): Make global. | |
2462 | (net_open): Likewise. Pass an exception set to select. Whitespace fix. | |
2463 | Document why we can not use gdb_select. | |
2464 | (_initialize_ser_tcp) [USE_WIN32API]: Do not register TCP support here. | |
2465 | * ser-tcp.h: New file. | |
2466 | * inflow.c (gdb_has_a_terminal): Don't initialize stdin_serial here. | |
2467 | (handle_sigio): Use gdb_select. | |
2468 | (initialize_stdin_serial): New function. | |
2469 | * terminal.h (initialize_stdin_serial): New prototype. | |
2470 | * top.c (gdb_init): Call initialize_stdin_serial. | |
2471 | * mingw-hdep.c (gdb_select): New function, moved from gdb_select in | |
2472 | event-loop.c. Add exception condition support. Use serial_for_fd | |
2473 | and serial_wait_handle. Fix timeout handling. | |
2474 | * posix-hdep.c: Include "gdb_select.h". | |
2475 | (gdb_select): New function. | |
2476 | * remote-st.c (connect_command): Use gdb_select. | |
2477 | * ser-unix.c: Include "gdb_select.h". | |
2478 | (hardwire_send_break, wait_for): Use gdb_select. | |
2479 | ||
121ce6e5 DJ |
2480 | 2006-02-10 Daniel Jacobowitz <dan@codesourcery.com> |
2481 | ||
2482 | * Makefile.in (mingw-hdep.o, posix-hdep.o): New dependencies. | |
2483 | (ALLDEPFILES): Add mingw-hdep.c and posix-hdep.c. | |
2484 | * configure.ac: Add gdb_host_obs to CONFIG_OBS. Set gdb_host_obs | |
2485 | to posix-hdep.o by default. | |
2486 | * configure: Regenerated. | |
2487 | * configure.host: Document gdb_host_obs. Add an entry for | |
2488 | i[34567]86-*-mingw32*. | |
2489 | * mingw-hdep.c, posix-hdep.c: New files. | |
2490 | * utils.c (safe_strerror): Remove, moved to posix-hdep.o. | |
2491 | ||
1f82754b JB |
2492 | 2006-02-10 Joel Brobecker <brobecker@adacore.com> |
2493 | ||
2494 | * defs.h (gdb_osabi): New enum value GDB_OSABI_AIX. | |
2495 | * osabi.c (gdb_osabi_name): Add name of new value GDB_OSABI_AIX. | |
2496 | * rs6000-tdep.h: New file. | |
2497 | * rs6000-tdep.c: Include "rs6000-tdep.h". | |
2498 | (rs6000_gdbarch_init): Remove enabling of software single step. | |
2499 | Will be done in the AIX-specific initialization routine. | |
2500 | * rs6000-aix-tdep.c: New file. | |
2501 | * config/powerpc/aix.mt (TDEPFILES): Add rs6000-aix-tdep.o. | |
2502 | * Makefile.in (rs6000_tdep_h): New variable. | |
2503 | (rs6000-tdep.o): Update dependencies. | |
2504 | (rs6000-aix-tdep.o): New rule. | |
2505 | ||
577b7047 JB |
2506 | 2006-02-10 Joel Brobecker <brobecker@adacore.com> |
2507 | ||
2508 | * aix-thread.c (_initialize_aix_thread): Use add_setshow_boolean_cmd | |
2509 | instead of add_setshow_zinteger_cmd to defined the aix-thread | |
2510 | boolean setting. | |
2511 | ||
ff800d76 NR |
2512 | 2006-02-10 Nick Roberts <nickrob@snap.net.nz> |
2513 | ||
2514 | * mi/gdb-mi.el: Update to reflect changes in Emacs 22.0.50. | |
2515 | ||
5afb4e99 DJ |
2516 | 2006-02-09 Daniel Jacobowitz <dan@codesourcery.com> |
2517 | ||
2518 | * dwarf2read.c (struct dwarf2_per_cu_data): Reduce length to | |
2519 | 30 bits. Add load_all_dies flag. | |
2520 | (load_partial_dies): Load all DIEs if per_cu->load_all_dies is set. | |
2521 | Load DW_TAG_member by default. Remove internal_error call. | |
2522 | (find_partial_die): Reload the compilation unit if we can not find | |
2523 | a DIE in the cache. Call internal_error here if we still can not | |
2524 | find the DIE. | |
2525 | ||
a832795c NR |
2526 | 2006-02-10 Nick Roberts <nickrob@snap.net.nz> |
2527 | ||
2528 | * breakpoint.c (print_one_breakpoint): Add break to case | |
2529 | bp_catch_vfork in switch statement. | |
2530 | ||
c9dd6fef WZ |
2531 | 2006-02-08 Wu Zhou <woodzltc@cn.ibm.com> |
2532 | ||
2533 | * config/i386/nm-i386sol2.h: Update copyright year. | |
2534 | * config/mips/nm-irix5.h: Ditto. | |
2535 | * config/sparc/nm-sol2.h: Ditto. | |
2536 | * s390-nat.c: Ditto. | |
2537 | * ppc-linux-nat.c: Ditto. | |
2538 | ||
2a3cdf79 WZ |
2539 | 2006-02-08 Wu Zhou <woodzltc@cn.ibm.com> |
2540 | ||
2541 | * breakpoint.c (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Delete. | |
2542 | * config/i386/nm-i386sol2.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New. | |
2543 | (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete. | |
2544 | * config/mips/nm-irix5.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New. | |
2545 | (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete. | |
2546 | * config/sparc/nm-sol2.h (TARGET_REGION_OK_FOR_HW_WATCHPOINT): New. | |
2547 | (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete. | |
2548 | * inf-ttrace.c (inf_ttrace_region_ok_for_hw_watchpoint): New. | |
2549 | (inf_ttrace_region_size_ok_for_hw_watchpoint): Delete. | |
2550 | (inf_ttrace_target): Delete to_region_size_ok_for_hw_watchpoint and | |
2551 | add to_region_ok_for_hw_watchpoint. | |
2552 | * s390-nat.c (s390_region_size_ok_for_hw_watchpoint): Delete. | |
2553 | (s390_region_ok_for_hw_watchpoint): New. | |
2554 | (_initialize_s390_nat): Delete to_region_size_ok_for_hw_watchpoint | |
2555 | and add to_region_ok_for_hw_watchpoint. | |
2556 | * target.c (default_region_size_ok_for_hw_watchpoint, | |
2557 | debug_to_region_size_ok_for_hw_watchpoint): Delete prototype. | |
2558 | (update_current_target): Delete to_region_size_ok_for_hw_watchpoint | |
2559 | inheritance and default_region_size_ok_for_hw_watchpoint. | |
2560 | (default_region_ok_for_hw_watchpoint): If len is less than or equal | |
2561 | the length of void pointer, return ok. | |
2562 | (default_region_size_ok_for_hw_watchpoint): Delete. | |
2563 | (debug_to_region_size_ok_for_hw_watchpoint): Delete. | |
2564 | (setup_target_debug): Delete to_region_size_ok_for_hw_watchpoint. | |
2565 | * target.h (struct target_ops): Delete | |
2566 | to_region_size_ok_for_hw_watchpoint. | |
2567 | (TARGET_REGION_SIZE_OK_FOR_HW_WATCHPOINT): Delete. | |
2568 | ||
e0d24f8d WZ |
2569 | 2006-02-08 Ben Elliston <bje@au1.ibm.com> |
2570 | Wu Zhou <woodzltc@cn.ibm.com> | |
2571 | ||
2572 | * ppc-linux-nat.c (PTRACE_GET_DEBUGREG, PTRACE_SET_DEBUGREG, | |
2573 | PTRACE_GETSIGINFO): Define. | |
2574 | (last_stopped_data_address): New. | |
2575 | (ppc_linux_check_watch_resources): New function. | |
2576 | (ppc_linux_region_ok_for_hw_watchpoint): New function. | |
2577 | (ppc_linux_insert_watchpoint): New function. | |
2578 | (ppc_linux_remove_watchpoint): New function. | |
2579 | (ppc_linux_stopped_data_address): New function. | |
2580 | (ppc_linux_stopped_by_watchpoint): New function. | |
2581 | (_initialize_ppc_linux_nat): Set the above hardware watchpoint | |
2582 | related target vectors. | |
2583 | * rs6000-tdep.c (rs6000_gdbarch_init): Set PPC architectures | |
2584 | to have nonsteppable watchpoint. | |
2585 | * target.c (default_region_ok_for_hw_watchpoint, | |
2586 | debug_to_region_ok_for_hw_watchpoint): New prototypes. | |
2587 | (update_current_target): Inherit to_region_ok_for_hw_watchpoint | |
2588 | and set default to_region_ok_for_hw_watchpoint. | |
2589 | (default_region_ok_for_hw_watchpoint): New function. | |
2590 | (debug_to_region_ok_for_hw_watchpoint): New function. | |
2591 | (setup_target_debug): Set to_region_ok_for_hw_watchpoint of | |
2592 | debug_target. | |
2593 | * target.h (struct target_ops): Add a new target vector | |
2594 | to_region_ok_for_hw_watchpoint. | |
2595 | (TARGET_REGION_OK_FOR_HW_WATCHPOINT): Define this if it is not | |
2596 | defined anyplace else. | |
927890d0 | 2597 | |
e0d24f8d | 2598 | 2005-02-07 Joel Brobecker <brobecker@adacore.com> |
927890d0 JB |
2599 | * symfile.c (add_symbol_file_command): Abort if the user forgot |
2600 | to provide the address when the file has been loaded. | |
2601 | ||
f4d408c6 DJ |
2602 | 2006-02-07 Daniel Jacobowitz <dan@codesourcery.com> |
2603 | ||
2604 | * MAINTAINERS: Update file based on maintainers survey. Add | |
2605 | a note to Past Maintainers. Move unresponsive or inactive | |
2606 | maintainers to Authorized Committers or Past Maintainers as | |
2607 | appropriate. Correct Jim Kingdon's email address. Remove | |
2608 | vacant areas of responsibility. | |
2609 | ||
38fcd64c DJ |
2610 | 2006-02-06 Vladimir Prus <ghost@cs.msu.su> |
2611 | ||
2612 | * breakpoint.c (print_one_breakpoint): For MI-like UI, output | |
2613 | fullname field. | |
2614 | ||
7b871fab DJ |
2615 | 2006-02-03 Daniel Jacobowitz <dan@codesourcery.com> |
2616 | ||
2617 | * exceptions.h (enum errors): Rename NO_ERROR to GDB_NO_ERROR. | |
2618 | * exceptions.c (exception_none, exceptions_state_mc_init) | |
2619 | (throw_vfatal): Use GDB_NO_ERROR. | |
2620 | ||
e4cd0d6a MK |
2621 | 2006-02-02 Mark Kettenis <kettenis@gnu.org> |
2622 | ||
2623 | * solib-svr4.h (struct link_map_offsets): Remove r_debug_size and | |
2624 | r_map_size members. Add r_version_offset, r_version_size and | |
2625 | r_ldsomap_offset members. | |
2626 | * solib-svr4.c (solib_svr4_r_map): Renamed from | |
2627 | fetch_link_map_member. Simplify using read_memory_typed_address. | |
2628 | (solib_svr4_r_ldsomap): New function. | |
2629 | (open_symbol_file_object): Use solib_svr_r_map. | |
2630 | (svr4_current_sos): Use solib_svr4_r_map and look for the dynamic | |
2631 | linker by using solib_svr4_r_ldsomap. | |
2632 | (svr4_ilp32_fetch_link_map_offsets) | |
2633 | (svr4_lp64_fetch_link_map_offsets): Adjust for changes to `struct | |
2634 | link_map_offsets'. | |
2635 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): Adjust for | |
2636 | changes to `struct link_map_offsets'. | |
2637 | * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets) | |
2638 | (mipsnbsd_lp64_fetch_link_map_offsets): Adjust for changes to | |
2639 | `struct link_map_offsets'. | |
2640 | ||
e26af52f DJ |
2641 | 2006-02-01 Daniel Jacobowitz <dan@codesourcery.com> |
2642 | ||
2643 | * linux-nat.c (struct saved_ptids, threads_to_delete) | |
2644 | (record_dead_thread, prune_lwps, find_thread_from_lwp) | |
2645 | (exit_lwp): New. | |
2646 | (linux_nat_resume): Call prune_lwps. | |
2647 | (wait_lwp, linux_nat_wait): Call exit_lwp. | |
2648 | ||
46e9880c DJ |
2649 | 2006-02-01 Daniel Jacobowitz <dan@codesourcery.com> |
2650 | ||
2651 | * printcmd.c (printf_command): Make format string checking | |
2652 | stricter. Add separate cases for long_arg, ptr_arg, and | |
2653 | long_double_arg. | |
2654 | * utils.c (xstrvprintf): Improve the error message issued | |
2655 | for a bad format string. | |
2656 | * Makefile.in (GDB_WARN_CFLAGS_NO_FORMAT, INTERNAL_CFLAGS_BASE): | |
2657 | New variables. | |
2658 | (gnu-v3-abi.o, monitor.o, procfs.o, linux-thread-db.o): Remove | |
2659 | $(NO_WERROR_CFLAGS). | |
2660 | (printcmd.o): Likewise. Use $(GDB_WARN_CFLAGS_NO_FORMAT) and | |
2661 | enable -Werror. | |
2662 | ||
37a105a1 DJ |
2663 | 2006-02-01 Daniel Jacobowitz <dan@codesourcery.com> |
2664 | ||
2665 | * Makefile.in (remote.o): Update. | |
2666 | * remote.c (show_packet_config_cmd): Shorten messages. | |
2667 | (remote_set_cmdlist, remote_show_cmdlist): Make file-static. | |
2668 | (show_remote_cmd): Iterate. | |
2669 | (_initialize_remote): Remove remote_set_cmdlist, | |
2670 | remote_show_cmdlist. | |
2671 | ||
ae5a43e0 DJ |
2672 | 2006-02-01 Daniel Jacobowitz <dan@codesourcery.com> |
2673 | ||
2674 | * Makefile.in (gdbtypes_h, gdbtypes.o, utils.o): Update. | |
2675 | * defs.h (hashtab_obstack_allocate, dummy_obstack_deallocate): Add | |
2676 | prototypes. | |
2677 | * dwarf2read.c (read_subroutine_type): Use TYPE_ZALLOC. | |
2678 | (hashtab_obstack_allocate, dummy_obstack_deallocate): Moved to... | |
2679 | * utils.c (hashtab_obstack_allocate, dummy_obstack_deallocate): | |
2680 | ...here. | |
2681 | * gdbtypes.c: Include "hashtab.h". | |
2682 | (build_gdbtypes): Remove extra prototype. | |
2683 | (struct type_pair, type_pair_hash, type_pair_eq) | |
2684 | (create_copied_types_hash, copy_type_recursive): New. | |
2685 | * gdbtypes.h: Include "hashtab.h". | |
2686 | (TYPE_ZALLOC): New. | |
2687 | (create_copied_types_hash, copy_type_recursive): New prototypes. | |
2688 | * objfiles.c (free_objfile): Call preserve_values. | |
2689 | * symfile.c (reread_symbols): Likewise. | |
2690 | (clear_symtab_users): Remove calls to clear_value_history and | |
2691 | clear_internalvars. | |
2692 | * value.c (clear_value_history, clear_internalvars): Removed. | |
2693 | (preserve_one_value, preserve_values): New functions. | |
2694 | * value.h (clear_value_history, clear_internalvars): Removed. | |
2695 | (preserve_values): New prototype. | |
2696 | ||
2697 | * tracepoint.c (_initialize_tracepoint): Do not initialize convenience | |
2698 | variables here. | |
2699 | ||
b929c77f MK |
2700 | 2006-01-29 Mark Kettenis <kettenis@gnu.org> |
2701 | ||
2702 | * amd64-tdep.c (amd64_classify): Handle TYPE_CODE_BOOL. | |
2703 | Fixes PR tdep/2075. | |
2704 | ||
1581f359 JB |
2705 | 2006-01-27 Joel Brobecker <brobecker@adacore.com> |
2706 | ||
2707 | * MAINTAINERS: Use a consistent email address for brobecker. | |
2708 | ||
37706b70 JB |
2709 | 2006-01-27 Joel Brobecker <brobecker@adacore.com> |
2710 | ||
2711 | * infcmd.c (post_create_inferior): Fix copy/paste error introduced | |
2712 | in the previous change. | |
2713 | ||
9353355f DJ |
2714 | 2006-01-24 Daniel Jacobowitz <dan@codesourcery.com> |
2715 | ||
2716 | PR gdb/1914 | |
2717 | * fork-child.c (fork_inferior): Don't call | |
2718 | solib_create_inferior_hook. | |
2719 | * infcmd.c (post_create_inferior): Call solib_add, | |
2720 | solib_create_inferior_hook, and re_enable_breakpoints_in_shlibs. | |
2721 | (attach_command): Don't call solib_add or | |
2722 | re_enable_breakpoints_in_shlibs. Call post_create_inferior | |
2723 | instead. | |
2724 | * remote.c (remote_open_1): Don't call solib_create_inferior_hook | |
2725 | or observer_notify_inferior_created. Call post_create_inferior | |
2726 | instead. | |
2727 | * corelow.c: Don't include "observer.h". | |
2728 | (solib_add_stub): Deleted. | |
2729 | (core_open): Don't call observer_notify_inferior_created or | |
2730 | solib_add_stub. Call post_create_inferior instead. | |
2731 | * inf-ptrace.c: Don't include "observer.h". | |
2732 | (inf_ptrace_attach): Don't call observer_notify_inferior_created. | |
2733 | * inf-ttrace.c: Don't include "observer.h". | |
2734 | (inf_ttrace_attach): Don't call observer_notify_inferior_created. | |
2735 | * inferior.h (solib_create_inferior_hook): Remove redundant | |
2736 | prototype. | |
2737 | * inftarg.c: Don't include "observer.h". | |
2738 | (child_attach): Don't call observer_notify_inferior_created. | |
2739 | * Makefile.in: Update dependencies. | |
2740 | ||
281b533b DJ |
2741 | 2006-01-24 Daniel Jacobowitz <dan@codesourcery.com> |
2742 | ||
2743 | * infcmd.c: Include "observer.h". | |
2744 | (post_create_inferior): New function. | |
2745 | (run_command_1): Call it. Also call proceed. | |
2746 | * inferior.h (post_create_inferior): New prototype. | |
2747 | * Makefile.in (infcmd.o): Update. | |
2748 | ||
2749 | * gnu-nat.c (gnu_create_inferior): Don't call proceed. | |
2750 | * go32-nat.c (go32_create_inferior): Likewise. | |
2751 | * nto-procfs.c (procfs_create_inferior): Likewise. | |
2752 | * procfs.c (procfs_create_inferior): Likewise. | |
2753 | * remote-sim.c (gdbsim_create_inferior): Likewise. | |
2754 | * remote.c (extended_remote_create_inferior) | |
2755 | (extended_remote_async_create_inferior): Likewise. | |
2756 | * win32-nat.c (win32_create_inferior): Likewise. | |
2757 | * wince.c (child_create_inferior): Likewise. | |
2758 | ||
2759 | * monitor.c (monitor_create_inferior): Don't call proceed. | |
2760 | Set the PC manually. | |
2761 | * ocd.c (ocd_create_inferior): Likewise. | |
2762 | * remote-e7000.c (e7000_create_inferior): Likewise. | |
2763 | * remote-m32r-sdi.c (m32r_create_inferior): Likewise. | |
2764 | * remote-mips.c (mips_create_inferior): Likewise. | |
2765 | * remote-rdp.c (remote_rdp_create_inferior): Likewise. | |
2766 | * remote-sds.c (sds_create_inferior): Likewise. | |
2767 | * remote-st.c (st2000_create_inferior): Likewise. | |
2768 | ||
2769 | * inf-ptrace.c (inf_ptrace_create_inferior): Don't call | |
2770 | proceed or observer_notify_inferior_created. | |
2771 | * inf-ttrace.c (inf_ttrace_create_inferior): Likewise. | |
2772 | * inftarg.c (child_create_inferior): Likewise. | |
2773 | ||
e23fc6de DJ |
2774 | 2006-01-24 Daniel Jacobowitz <dan@codesourcery.com> |
2775 | ||
2776 | * linux-thread-db.c (thread_db_mourn_inferior): Remove breakpoints | |
2777 | after mourning the inferior. | |
2778 | ||
13d6656b JB |
2779 | 2006-01-24 Jim Blandy <jimb@redhat.com> |
2780 | ||
2781 | * valarith.c (binop_user_defined_p): Handle refs to typedefs. | |
2782 | ||
59f92a09 FF |
2783 | 2006-01-24 Fred Fish <fnf@specifix.com> |
2784 | ||
2785 | * parse.c (source.h): Include. | |
2786 | (parse_exp_in_context): Use static source context if no | |
2787 | other context found. | |
2788 | ||
dda63807 AS |
2789 | 2006-01-23 Andrew Stubbs <andrew.stubbs@st.com> |
2790 | ||
2791 | * sh-tdep.c: Include reggroups.h. | |
2792 | (sh_register_reggroup_p): New function. | |
2793 | (sh_gdbarch_init): Add call to set_gdbarch_register_reggroup_p. | |
2794 | * Makefile.in (sh-tdep.o): Add dependency on reggroups.h. | |
2795 | ||
4b505b12 AS |
2796 | 2006-01-23 Andrew Stubbs <andrew.stubbs@st.com> |
2797 | ||
2798 | * cli/cli-cmds.c: Include fcntl.h. | |
2799 | (source_command): Use the GDB search path to find script files. | |
2800 | ||
721d14ba DJ |
2801 | 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com> |
2802 | ||
2803 | PR tdep/2029 | |
2804 | Suggested by Till Straumann <strauman@slac.stanford.edu>: | |
2805 | * rs6000-tdep.c (skip_prologue): Update check for later mtlr | |
2806 | instructions. Handle PIC bcl. | |
2807 | ||
3d64d617 DJ |
2808 | 2006-01-22 Daniel Jacobowitz <dan@codesourcery.com> |
2809 | ||
2810 | * config/djgpp/README: Typo fix. | |
2811 | * config/djgpp/fnchange.lst: Update. | |
2812 | ||
0a8f48b9 MK |
2813 | 2006-01-22 Mark Kettenis <kettenis@gnu.org> |
2814 | ||
c893be75 MK |
2815 | * sparc-tdep.h (struct gdbarch_tdep): Add step_trap member. |
2816 | (sparc_address_from_register): New prototype. | |
2817 | (sparcnbsd_step_trap): New prototype. | |
2818 | * sparc-tdep.c (sparc_address_from_register): Make globally | |
2819 | visible. | |
2820 | (sparc_analyze_control_transfer): Change prototype to accept | |
2821 | `struct gdbarch *' as first argument. Allow for optional hnadling | |
2822 | for trap instructions. | |
2823 | (sparc_step_trap): New function. | |
2824 | (sparc_software_single_step): Adjust call to | |
2825 | sparc_analyze_control_trabsfer. | |
2826 | (sparc32_gdbarch_init): Initialize TDEP->step_trap. | |
2827 | * sparcnbsd-tdep.c (sparcnbsd_step_trap): New function. | |
2828 | (sparc32nbsd_init_abi): Set TDEP->step_trap. | |
2829 | * sparc64obsd-tdep.c (sparc64obsd_init_abi): Set TDEP->step_trap. | |
2830 | * sparc64nbsd-tdep.c (sparc64nbsd_init_abi): Set TDEP->step_trap. | |
2831 | ||
0a8f48b9 MK |
2832 | * sparc-tdep.c (sparc32_return_value): Convert to use |
2833 | RETURN_VALUE_ABI_PRESERVES_ADDRESS instead of | |
2834 | RETURN_VALUE_STRUCT_CONVENTION. | |
2835 | (sparc32_extract_struct_value_address): Remove. | |
2836 | ||
1f3a99d5 DJ |
2837 | 2006-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
2838 | ||
2839 | * avr-tdep.c (avr_address_to_pointer, avr_pointer_to_address) | |
2840 | (avr_extract_return_value, avr_frame_prev_register): Use gdb_byte. | |
2841 | ||
84eb3c4f DJ |
2842 | 2006-01-21 Daniel Jacobowitz <dan@codesourcery.com> |
2843 | ||
2844 | * solib.c (info_sharedlibrary_command): Avoid internal_error. | |
2845 | ||
878d9193 MK |
2846 | 2006-01-21 Mark Kettenis <kettenis@gnu.org> |
2847 | ||
2848 | * i386-tdep.c (i386_mxcsr_type): New variable. | |
2849 | (i386_init_types): Initialize i386_mxcsr_type. | |
2850 | (i386_register_type): Return i386_mxcsr_type for %mxcsr. | |
2851 | * i386-tdep.c (i386_mxcsr_type): New extern. | |
2852 | * amd64-tdep.c (amd64_register_info): Return i386_mxcsr_type for | |
2853 | %mxcsr. | |
2854 | ||
acab6ab2 MM |
2855 | 2006-01-20 Mark Mitchell <mark@codesourcery.com> |
2856 | ||
2857 | * Makefile.in (remote-rdi.o): Remove. | |
2858 | (rdi-share/libangsd.a): Likewise. | |
2859 | * README: Don't mention remote-rdi.c. | |
2860 | * NEWS: Mention removal of rdi-share. | |
2861 | * configure.ac: Don't configure rdi-share subdirectory. | |
2862 | * remote-rdi.c: Remove. | |
2863 | * config/arm/embed.mt (TDEPFILES): Remove remote-rdi.o. | |
2864 | (TDEPLIBS): Remove rdi-share/libangsd.a. | |
2865 | * rdi-share/Makefile.am: Remove. | |
2866 | * rdi-share/Makefile.in: Likewise. | |
2867 | * rdi-share/README.CYGNUS: Likewise. | |
2868 | * rdi-share/aclocal.m4: Likewise. | |
2869 | * rdi-share/adp.h: Likewise. | |
2870 | * rdi-share/adperr.h: Likewise. | |
2871 | * rdi-share/angel.h: Likewise. | |
2872 | * rdi-share/angel_bytesex.c: Likewise. | |
2873 | * rdi-share/angel_bytesex.h: Likewise. | |
2874 | * rdi-share/angel_endian.h: Likewise. | |
2875 | * rdi-share/ardi.c: Likewise. | |
2876 | * rdi-share/ardi.h: Likewise. | |
2877 | * rdi-share/armdbg.h: Likewise. | |
2878 | * rdi-share/buffers.h: Likewise. | |
2879 | * rdi-share/chandefs.h: Likewise. | |
2880 | * rdi-share/channels.h: Likewise. | |
2881 | * rdi-share/chanpriv.h: Likewise. | |
2882 | * rdi-share/configure: Likewise. | |
2883 | * rdi-share/configure.in: Likewise. | |
2884 | * rdi-share/crc.c: Likewise. | |
2885 | * rdi-share/crc.h: Likewise. | |
2886 | * rdi-share/dbg_conf.h: Likewise. | |
2887 | * rdi-share/dbg_cp.h: Likewise. | |
2888 | * rdi-share/dbg_hif.h: Likewise. | |
2889 | * rdi-share/dbg_rdi.h: Likewise. | |
2890 | * rdi-share/devclnt.h: Likewise. | |
2891 | * rdi-share/devices.h: Likewise. | |
2892 | * rdi-share/devsw.c: Likewise. | |
2893 | * rdi-share/devsw.h: Likewise. | |
2894 | * rdi-share/drivers.c: Likewise. | |
2895 | * rdi-share/drivers.h: Likewise. | |
2896 | * rdi-share/etherdrv.c: Likewise. | |
2897 | * rdi-share/ethernet.h: Likewise. | |
2898 | * rdi-share/host.h: Likewise. | |
2899 | * rdi-share/hostchan.c: Likewise. | |
2900 | * rdi-share/hostchan.h: Likewise. | |
2901 | * rdi-share/hsys.c: Likewise. | |
2902 | * rdi-share/hsys.h: Likewise. | |
2903 | * rdi-share/logging.c: Likewise. | |
2904 | * rdi-share/logging.h: Likewise. | |
2905 | * rdi-share/msgbuild.c: Likewise. | |
2906 | * rdi-share/msgbuild.h: Likewise. | |
2907 | * rdi-share/params.c: Likewise. | |
2908 | * rdi-share/params.h: Likewise. | |
2909 | * rdi-share/rx.c: Likewise. | |
2910 | * rdi-share/rxtx.h: Likewise. | |
2911 | * rdi-share/serdrv.c: Likewise. | |
2912 | * rdi-share/serpardr.c: Likewise. | |
2913 | * rdi-share/sys.h: Likewise. | |
2914 | * rdi-share/tx.c: Likewise. | |
2915 | * rdi-share/unixcomm.c: Likewise. | |
2916 | * rdi-share/unixcomm.h: Likewise. | |
2917 | ||
4577207e MK |
2918 | 2006-01-21 Mark Kettenis <kettenis@gnu.org> |
2919 | ||
2920 | * hppa-linux-tdep.c (hppa_linux_sigtramp_frame_prev_register): | |
2921 | Change type of last argument to `gdb_byte *'. | |
2922 | ||
34f55018 MK |
2923 | 2006-01-20 Mark Kettenis <kettenis@gnu.org> |
2924 | ||
2925 | * hppa-tdep.h (hppa_in_solib_call_trampoline) | |
2926 | (hppa_skip_trampoline_code): New prototypes. | |
2927 | * hppa-tdep.c (struct insn_pattern): New. | |
2928 | (hppa_long_branch_stub, hppa_long_branch_pic_stub) | |
2929 | (hppa_import_stub, hppa_import_pic_stub, hppa_plt_stub): Moved | |
2930 | here from hppa-linux-tdep.c | |
2931 | (HPPA_MAX_INSN_PATTERN_LEN): New define. | |
2932 | (hppa_match_insns, hppa_match_insns_relaxed, hppa_in_dyncall) | |
2933 | (hppa_in_solib_call_trampoline, hppa_skip_trampoline_code): New | |
2934 | functions based on functions removed from hppa-linux-tdep.c. | |
2935 | * hppa-linux-tdep.c (hppa_long_branch_stub) | |
2936 | (hppa_long_branch_pic_stub, hppa_import_stub) | |
2937 | (hppa_import_pic_stub, hppa_plt_stub): Moved to hppa-tdep.c. | |
2938 | (insns_match_pattern_relaxed, hppa_linux_in_dyncall) | |
2939 | (hppa_linux_in_solib_call_trampoline) | |
2940 | (hppa_linux_skip_trampoline_code): Removed. | |
2941 | (hppa_linux_init_abi): Set TDEP->in_solib_call_tranpoline to | |
2942 | hppa_in_solib_call_trampoline and skip_trampoline_code to | |
2943 | hppa_skip_trampoline_code. | |
2944 | * hppabsd-tdep.c (hppabsd_init_abi): Set | |
2945 | TDEP->in_solib_call_trampoline and skip_trampoline_code. | |
2946 | ||
7be93b9e JB |
2947 | 2006-01-20 Jim Blandy <jimb@redhat.com> |
2948 | ||
f408839d JB |
2949 | * MAINTAINERS: Change my E-mail address. |
2950 | ||
7be93b9e JB |
2951 | * configure.ac: Add -Wno-pointer-sign to list of build warnings. |
2952 | * configure: Regenerated. | |
2953 | ||
b2a74f99 DJ |
2954 | 2006-01-20 Daniel Jacobowitz <dan@codesourcery.com> |
2955 | ||
2956 | * MAINTAINERS: Overhaul. | |
2957 | ||
4f2aea11 MK |
2958 | 2006-01-18 Mark Kettenis <kettenis@gnu.org> |
2959 | ||
5ae96ec1 MK |
2960 | Based on a previous patch form Michal Ludvig: |
2961 | * amd64-tdep.c (amd64_sse_type): Remove. | |
2962 | (amd64_register_info): Use i386_eflags_type and i386_sse_type | |
2963 | where appropriate. | |
2964 | (AMD64_NUM_REGS): Use ARRAY_SIZE. | |
2965 | (amd64_register_type): Remove code to build amd_sse_type. | |
2966 | * i386-tdep.c (i386_eflag_type): New variable. | |
2967 | (i386_mmx_type, i386_sse_type): Make global. | |
2968 | (i386_init_types): New function. | |
2969 | (i386_build_mmx_type, i386_build_sse_type): Remove functions. | |
2970 | (i386_register_type): Return i386_eflag_type, i386_sse_type and | |
2971 | i386_mmx_type when appropriate. | |
2972 | (_initialize_i386_tdep): Call i386_init_types. | |
2973 | * i386-tdep.h (i386_eflags_type, i386_mmx_type, i386_sse_type): | |
2974 | Declare extern. | |
2975 | ||
4f2aea11 MK |
2976 | Based on a previous patch form Michal Ludvig: |
2977 | * gdbtypes.c (append_flags_type_flag, init_flags_type): New | |
2978 | functions. | |
2979 | (is_integral_type, rank_one_type, recursive_dump_type): Add | |
2980 | support for TYPE_CODE_FLAGS. | |
2981 | * gdbtypes.h (enum type_code): Add TYPE_CODE_FLAGS. | |
2982 | (append_flags_type_field, init_flags_type): New prototypes. | |
2983 | * ada-valprint.c (ada_val_print_1): Add support for | |
2984 | TYPE_CODE_FLAGS. | |
2985 | * c-valprint.c (c_val_print): Likewise. | |
2986 | * f-valprint.c (f_val_print): Likewise. | |
2987 | * p-valprint.c (pascal_val_print): Likewise. | |
2988 | * valprint.c (val_print_type_code_flags): New function. | |
2989 | * valprint.h (val_print_type_code_flags): New prototype. | |
2990 | * value.c (unpack_long, value_from_longest): Add support for | |
2991 | TYPE_CODE_FLAGS. | |
2992 | ||
4cdb5adf CF |
2993 | 2006-01-17 Christopher Faylor <cgf@timesys.com> |
2994 | ||
2995 | * MAINTAINERS: Very belatedly remove myself from from the list of | |
2996 | people caught up in the paper trail. | |
2997 | ||
1193688d JB |
2998 | 2006-01-17 Jim Blandy <jimb@redhat.com> |
2999 | ||
4e38b386 JB |
3000 | * symtab.h (struct general_symbol_info): Use gdb_byte for |
3001 | value.bytes. | |
3002 | * stabsread.c (define_symbol): Use gdb_byte for the buffer holding | |
3003 | a floating-point constant's value. | |
3004 | * dwarf2read.c (dwarf2_const_value): Remove casts of value buffer | |
3005 | to char *. | |
3006 | * findvar.c (read_var_value): Eliminate needless temporary. | |
3007 | ||
1193688d JB |
3008 | * dwarf2-frame.c (dwarf2_read_section): Update forward declaration |
3009 | to match prior change to dwarf2_read_section's type. | |
3010 | ||
0d1243d9 PG |
3011 | 2006-01-16 Paul Gilliam <pgilliam@us.ibm.com> |
3012 | ||
3013 | * ppc-tdep.h (PPC_MAX_EPILOGUE_INSTRUCTIONS): New define. | |
3014 | * rs6000-tdep.c (insn_changes_sp_or_jumps) | |
3015 | (rs6000_in_function_epilogue_p): New functions. | |
3016 | (rs6000_gdbarch_init): Set in_function_epilogue_p. | |
3017 | ||
fe1b8b76 JB |
3018 | 2006-01-17 Jim Blandy <jimb@redhat.com> |
3019 | ||
3020 | * dwarf2read.c (struct dwarf2_per_objfile, struct comp_unit_head) | |
3021 | (struct line_header, struct partial_die_info, struct dwarf_block): | |
3022 | Use gdb_byte for members that refer to Dwarf section contents. | |
3023 | (dwarf2_read_abbrevs, dwarf2_read_section, dwarf_decode_lines, | |
3024 | dwarf_decode_macros, load_comp_unit, load_partial_dies, | |
3025 | locate_pdi_sibling, partial_read_comp_unit_head, peek_die_abbrev, | |
3026 | read_1_byte, read_1_signed_byte, read_2_bytes, read_4_bytes, | |
3027 | read_8_bytes, read_address, read_attribute, read_attribute_value, | |
3028 | read_comp_unit, read_comp_unit_head, read_die_and_children, | |
3029 | read_die_and_siblings, read_full_die, read_indirect_string, | |
3030 | read_initial_length, read_n_bytes, read_offset, read_partial_die, | |
3031 | read_signed_leb128, read_string, read_unsigned_leb128, | |
3032 | skip_children, skip_leb128, skip_one_die): Same. | |
3033 | ||
a0841d7a DJ |
3034 | 2006-01-17 Daniel Jacobowitz <dan@codesourcery.com> |
3035 | ||
3036 | * complaints.c (stop_whining): Make signed. | |
3037 | * linux-thread-db.c (thread_db_store_registers): Use gdb_byte. | |
3038 | ||
939b2b42 DJ |
3039 | 2006-01-17 Daniel Jacobowitz <dan@codesourcery.com> |
3040 | ||
3041 | * dwarf2read.c, remote-fileio.c, remote.h: Update copyright | |
3042 | notices. | |
3043 | ||
891d2f0b DJ |
3044 | 2006-01-17 Daniel Jacobowitz <dan@codesourcery.com> |
3045 | ||
3046 | * dwarf2read.c (peek_die_abbrev, read_address, read_initial_length) | |
3047 | (read_offset): Change BYTES_READ argument to unsigned int. | |
3048 | (dwarf2_build_psymtabs_easy, read_comp_unit_head) | |
3049 | (create_all_comp_units, dwarf2_get_pc_bounds) | |
3050 | (dwarf_decode_line_header, var_decode_location) | |
3051 | (dwarf_decode_macros): Change local BYTES_READ variables to | |
3052 | unsigned int. | |
3053 | (read_indirect_string): Remove obsolete cast. | |
3054 | ||
cfd77fa1 DJ |
3055 | 2006-01-17 Daniel Jacobowitz <dan@codesourcery.com> |
3056 | ||
3057 | * remote-fileio.c (remote_fileio_return_success): Take a gdb_byte | |
3058 | argument. | |
3059 | (remote_fileio_func_open, remote_fileio_func_rename) | |
3060 | (remote_fileio_func_unlink, remote_fileio_func_stat) | |
3061 | (remote_fileio_func_fstat, remote_fileio_func_gettimeofday) | |
3062 | (remote_fileio_func_system): Cast the arguments to | |
3063 | remote_read_bytes and remote_write_bytes. | |
3064 | (remote_fileio_func_read, remote_fileio_func_write): Use a | |
3065 | gdb_byte buffer. | |
3066 | * remote.h (remote_read_bytes, remote_write_bytes): Update | |
3067 | prototypes. | |
3068 | * remote.c (hex2bin, bin2hex): Use gdb_byte for the BIN argument. | |
3069 | (threadref_to_int): Replace bogus char * cast. | |
3070 | (remote_unpack_thread_info_response): Use int for tag. | |
3071 | (remote_threads_extra_info, remote_check_symbols): Cast string | |
3072 | arguments to hex2bin. | |
3073 | (remote_wait): Use a char buffer for packets and a gdb_byte | |
3074 | buffer for registers. | |
3075 | (remote_async_wait): Likewise. | |
3076 | (remote_prepare_to_store, store_register_using_P) | |
3077 | (remote_store_registers): Use gdb_byte buffers. | |
3078 | (remote_write_bytes, remote_read_bytes): Use a gdb_byte pointer | |
3079 | for MYADDR and char buffers for strings. | |
3080 | (remote_xfer_partial): Add casts for string operations on READBUF. | |
3081 | (remote_rcmd): Cast strings passed to bin2hex. | |
3082 | ||
60bf0650 MM |
3083 | 2006-01-16 Mark Mitchell <mark@codesourcery.com> |
3084 | ||
3085 | * aclocal.m4: Regenerate. | |
3086 | ||
60e81fcc NS |
3087 | 2006-01-16 Nathan Sidwell <nathan@codesourcery.com> |
3088 | ||
3089 | * mt-tdep.c (enum mt_gdb_regnums): Add MT_COPRO_PSEUDOREG_ARRAY, | |
3090 | MT_COPRO_PSEUDOREG_DIM_1, MT_COPRO_PSEUDOREG_DIM_2, | |
3091 | MT_COPRO_PSEUDOREG_REGS members. Adjust MT_NUM_PSEUDO_REGS. | |
3092 | (mt_register_name): Lazily synthesize name for coprocessor pseudo | |
3093 | array registers. | |
3094 | (mt_copro_register_type): New. Broken out of ... | |
3095 | (mt_register_type): ... here. Use it. Deal with coprocessor | |
3096 | pseudo array. | |
3097 | (mt_select_coprocessor): New. | |
3098 | (mt_pseudo_register_read, mt_pseudo_register_write): Deal with | |
3099 | coprocessor pseudo array. | |
3100 | ||
f365de73 AS |
3101 | 2006-01-16 Andrew Stubbs <andrew.stubbs@st.com> |
3102 | ||
3103 | * breakpoint.c (insert_breakpoints): Check that a thread exists | |
3104 | before inserting thread specific breakpoints. | |
3105 | ||
9d519230 MK |
3106 | 2006-01-15 Mark Kettenis <kettenis@gnu.org> |
3107 | ||
6062517a MK |
3108 | * osabi.c (generic_elf_osabi_sniffer): Fix typo in previous |
3109 | commit. | |
3110 | ||
9d519230 MK |
3111 | * alpha-tdep.c (alpha_gdbarch_init): Set cannot_step_breakpoint. |
3112 | * config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Remove. | |
3113 | * config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Remove. | |
3114 | * config/alpha/nm-nbsd.h: Remove file. | |
3115 | * config/alpha/nm-fbsd.h: Remove file | |
3116 | * config/alpha/nbsd.mh (NAT_FILE): Remove. | |
3117 | * config/alpha/fbsd.mh (NAT_FILE): Remove. | |
3118 | ||
0a029df5 DJ |
3119 | 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com> |
3120 | ||
3121 | * macroexp.c (expand): Initialize argc. | |
3122 | * stabsread.c (read_type): Handle errors from read_args. | |
3123 | (read_args): Return NULL for errors. | |
3124 | ||
1731e543 MK |
3125 | 2006-01-15 Mark Kettenis <kettenis@gnu.org> |
3126 | ||
3127 | * osabi.c (generic_elf_osabi_sniffer): Use memcmp instead of | |
3128 | strcmp to compare string to a byte buffer. | |
3129 | ||
777ea8f1 DJ |
3130 | 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com> |
3131 | ||
3132 | * printcmd.c (output_command): Always initialize fmt.size. | |
3133 | (printf_command): Use gdb_byte. | |
3134 | * symfile.c (separate_debug_file_exists): Use gdb_byte. | |
3135 | (load_section_callback, read_target_long_array): Likewise. | |
3136 | (simple_read_overlay_table, simple_read_overlay_region_table) | |
3137 | (simple_overlay_update_1): Correct calls to read_target_long_array. | |
3138 | * valprint.c (partial_memory_read): Change MYADDR to a gdb_byte *. | |
3139 | Also change local pointers. | |
3140 | (val_print_string): Use gdb_byte. | |
3141 | ||
4b17b389 MK |
3142 | 2006-01-15 Mark Kettenis <kettenis@gnu.org> |
3143 | ||
3144 | * alphafbsd-tdep.c: Include "solib-svr4.h". | |
3145 | (alphafbsd_init_abi): Set solib_svr4_fetch_link_map_offsets to | |
3146 | svr4_lp64_fetch_link_map_offsets. | |
3147 | * Makefile.in (alphafbsd-tdep.o): Update dependencies. | |
3148 | * config/alpha/fbsd.mt (TDEPFILES): Add corelow.o, solib.o and | |
3149 | solib-svr4.o. | |
3150 | * config/alpha/fbsd.mh (NATDEPFILES): Remove solib.o, solib-svr4.o | |
3151 | and solib-legacy.o. | |
3152 | * config/alpha/nm-fbsd.h: Don't include "solib.h". | |
3153 | ||
bd4109fb DJ |
3154 | 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com> |
3155 | ||
3156 | * source.c (_initialize_source): Use add_setshow_integer_cmd. | |
3157 | ||
1dce6535 DJ |
3158 | 2006-01-15 Daniel Jacobowitz <dan@codesourcery.com> |
3159 | ||
3160 | * linux-fork.c (delete_fork_command, detach_fork_command): Use | |
3161 | PIDGET. | |
3162 | ||
76a9d10f MK |
3163 | 2006-01-15 Mark Kettenis <kettenis@gnu.org> |
3164 | ||
3165 | * arm-linux-tdep.c (arm_linux_svr4_fetch_link_map_offsets): | |
3166 | Remove. | |
3167 | (arm_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to | |
3168 | svr4_ilp32_fetch_link_map_offsets. | |
3169 | * cris-tdep.c (cris_linux_svr4_fetch_link_map_offsets): Remove | |
3170 | function. | |
3171 | (cris_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to | |
3172 | svr4_ilp32_fetch_link_map_offsets. | |
3173 | * mips-linux-tdep.c (mips_linux_svr4_fetch_link_map_offsets) | |
3174 | (mips64_linux_svr4_fetch_link_map_offsets): Remove functions. | |
3175 | (mips_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to | |
3176 | svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets | |
3177 | where appropriate. | |
3178 | * nbsd-tdep.c (nbsd_ilp32_solib_svr4_fetch_link_map_offsets): | |
3179 | Simply call svr4_ilp32_fetch_link_map_offsets. | |
3180 | (nbsd_lp64_solib_svr4_fetch_link_map_offsets): Simply call | |
3181 | svr4_lp64_fetch_link_map_offsets. | |
3182 | * ppc-linux-tdep.c (ppc_linux_svr4_fetch_link_map_offsets): Remove | |
3183 | function. | |
3184 | (ppc_linux_init_abi): Set solib_svr4_fetch_link_map_offsets to | |
3185 | svr4_ilp32_fetch_link_map_offsets. | |
3186 | * s390-tdep.c (s390_svr4_fetch_link_map_offsets) | |
3187 | (s390x_svr4_fetch_link_map_offsets): Remove functions. | |
3188 | (s390_gdbarch_init): Set solib_svr4_fetch_link_map_offsets to | |
3189 | svr4_ilp32_fetch_link_map_offsets or svr4_lp64_fetch_link_map_offsets | |
3190 | where appropriate. | |
3191 | ||
469db033 MK |
3192 | 2006-01-15 Mark Kettenis <kettenis@gnu.org> |
3193 | ||
25224166 MK |
3194 | * arm-tdep.c (arm_return_value): Change type of readbuf and |
3195 | writebuf arguments to `gdb_byte *'. | |
3196 | ||
469db033 MK |
3197 | * s390-tdep.c: Do not include "tm.h" and "../bfd/bfd.h". |
3198 | * Makefile.in (s390-tdep.o): Update dependencies. | |
3199 | ||
4dd7c9f6 MK |
3200 | 2006-01-14 Mark Kettenis <kettenis@gnu.org> |
3201 | ||
081bf9da MK |
3202 | * sol2-tdep.h. sol2-tdep.c: New files. |
3203 | * amd64-sol2-tdep.c: Include "sol2-tdep.h". | |
3204 | (amd64_sol2_init_abi): Set skip_solib_resolver. | |
3205 | * i386-sol2-tdep.c: Include "sol2-tdep.h". | |
3206 | (i386_sol2_init_abi): Set skip_solib_resolver. | |
3207 | * sparc-sol2-tdep.c: Include "sol2-tdep.h". | |
3208 | (sparc32_sol2_init_abi): Set skip_solib_resolver. | |
3209 | * sparc64-sol2-tdep.c: Include "sol2-tdep.h". | |
3210 | (sparc64_sol2_init_abi): Set skip_solib_resolver. | |
3211 | * Makefile.in (sol2_tdep_h): New variable. | |
3212 | (ALLDEPFILES): Add sol2-tdep.c. | |
3213 | (sol2-tdep.o): New target. | |
3214 | (amd64-sol2-tdep.o, i386-sol2-tdep.o, sparc-sol2-tdep.o) | |
3215 | (sparc64-sol2-tdep.o): Update dependencies | |
3216 | * config/i386/i386sol2.mt (TDEPFILES): Add sol2-tdep.o. | |
3217 | * config/i386/sol2-64.mt (TDEPFILES): Add sol2-tdep.o. | |
3218 | * config/sparc/sol2.mt (TDEPFILES): Add sol2-tdep.o. | |
3219 | * config/sparc/sol2-64.mt (TDEPFILES): Add sol2-tdep.o. | |
3220 | ||
c0f96416 MK |
3221 | * hppa-linux-tdep.c: Fix copyright indentation. |
3222 | ||
4dd7c9f6 MK |
3223 | * hppa-tdep.h (enum hppa_regnum): Add HPPA_FP31R_REGNUM. |
3224 | * hppabsd-nat.c (hppabsd_fpregset_supplies_p) | |
3225 | (hppabsd_supply_fpregset, hppabsd_collect_fpregset): New | |
3226 | functions. | |
3227 | (hppabsd_fetch_registers, hppabsd_store_registers): Handle | |
3228 | floating-point registers. | |
3229 | ||
6da86618 MM |
3230 | 2006-01-13 Mark Mitchell <mark@codesourcery.com> |
3231 | ||
3232 | * event-loop.c (gdb_select): Detect file descriptors that have | |
3233 | been closed. | |
3234 | ||
ed944ce7 MK |
3235 | 2006-01-13 Mark Kettenis <kettenis@gnu.org> |
3236 | ||
3237 | * hppabsd-tdep.c (hppabsd_init_abi): Set long_double_bit to 64, | |
3238 | and long_double_format accordingly. | |
3239 | ||
03ee6b2e PH |
3240 | 2006-01-12 Paul N. Hilfinger <hilfinger@adacore.com> |
3241 | ||
3242 | * ada-exp.y (yyerror): Change message to ignore the argument, avoiding | |
3243 | translation problems. | |
3244 | * ada-lang.c (ada_value_struct_elt): Change interface and handling | |
3245 | of errors to avoid translation problem (and less than optimal error | |
3246 | messages). | |
3247 | (ada_value_tag, ada_tag_name_1, ada_tag_name_2, ada_evaluate_subexp): | |
3248 | Use new interface to ada_value_struct_elt. | |
3249 | * ada_lang.h (ada_value_struct_elt): Update declaration to new | |
3250 | interface. | |
3251 | ||
3252 | * ChangeLog: remove reference to ada-tasks.c from entry of | |
3253 | 2006-01-07. | |
3254 | ||
24b06219 MK |
3255 | 2006-01-11 Mark Kettenis <kettenis@gnu.org> |
3256 | ||
3257 | * remote.c (get_memory_packet_size, set_thread) | |
3258 | (remote_unpack_thread_info_response, remote_get_threadinfo) | |
3259 | (parse_threadlist_response, remote_get_threadlist) | |
3260 | (remote_current_thread, remote_threads_info) | |
3261 | (remote_threads_extra_info, extended_remote_restart, get_offsets) | |
3262 | (remote_check_symbols, remote_open_1, remote_detach) | |
3263 | (remote_async_wait, remote_fetch_registers) | |
3264 | (remote_store_registers, check_binary_download, putpkt_binary) | |
3265 | (remote_insert_breakpoint, remote_insert_watchpoint) | |
3266 | (remote_remove_watchpoint, remote_insert_hw_breakpoint) | |
3267 | (remote_remove_hw_breakpoint, remote_xfer_partial, remote_rcmd) | |
3268 | (packet_command): Remove redundant parenthesis. | |
3269 | ||
15550d6b MK |
3270 | 2006-01-10 Mark Kettenis <kettenis@gnu.org> |
3271 | ||
dfb65433 MK |
3272 | * corefile.c (read_memory_integer, read_memory_unsigned_integer) |
3273 | (read_memory_typed_address, write_memory) | |
3274 | (write_memory_unsigned_integer, write_memory_signed_integer): Use | |
3275 | gdb_byte where appropriate. | |
3276 | ||
508416a1 MK |
3277 | * mi/mi-main.c (mi_cmd_data_read_memory): Change type of mbus into |
3278 | 'gdb_byte *'. | |
3279 | ||
f6519ebc MK |
3280 | * target.h (target_read_memory_partial, target_write_memory_partial): |
3281 | Change second argument to 'gdb_byte *'. | |
3282 | * target.c (target_xfer_memory_partial): Change third argument to | |
3283 | 'gdb_byte *'. | |
3284 | (target_read_memory_partial, target_write_memory_partial): Change | |
3285 | second argument to 'gdb_byte *'. | |
3286 | ||
15550d6b MK |
3287 | * linespec.c (decode_objc): Make i1 and i2 unsigned. |
3288 | (find_method): Set values.sals to NULL. | |
3289 | ||
d7a30af7 MK |
3290 | 2006-01-09 Mark Kettenis <kettenis@gnu.org> |
3291 | ||
3292 | * amd64obsd-nat.c (amd64obsd_supply_pcb): Use 'gdb_byte *' instead | |
3293 | of 'char *' in cast. | |
3294 | ||
e1d5a0d2 PH |
3295 | 2006-01-07 Paul N. Hilfinger <hilfinger@adacore.com> |
3296 | ||
3297 | * ada-exp.y, ada-lex.l, ada-typeprint.c: I18n markup. | |
03ee6b2e | 3298 | * ada-lang.c: I18n markup. |
e1d5a0d2 PH |
3299 | Editorial: change "can not" => "cannot" throughout. |
3300 | ||
790124be MK |
3301 | 2006-01-07 Mark Kettenis <kettenis@gnu.org> |
3302 | ||
3303 | * Makefile.in: Sort dependencies. | |
3304 | ||
3c481fdc EZ |
3305 | 2006-01-07 Eli Zaretskii <eliz@gnu.org> |
3306 | ||
3307 | * top.c (control_level): Remove unused variable. | |
3308 | ||
cb5d864f FF |
3309 | 2006-01-06 Fred Fish <fnf@specifix.com> |
3310 | ||
3311 | * objfiles.c (source.h): Include. | |
3312 | (free_objfile): Update comment about clear_symtab_users(). | |
3313 | (free_objfile): Check all symtabs of objfile being freed and if | |
3314 | one of them is the current source symtab, call | |
3315 | clear_current_source_symtab_and_line(). | |
3316 | ||
ac264b3b MS |
3317 | 2006-01-04 Michael Snyder <msnyder@redhat.com> |
3318 | ||
3319 | Checkpoint/Restart for Linux. | |
3320 | * linux-nat.c: Add support for debugging multiple forks. | |
3321 | Add #include for linux-fork.h (interface spec). | |
3322 | (super_mourn_inferior): New function pointer. | |
3323 | (child_mourn_inferior): New function / target method. | |
3324 | (linux_target): Claim to_mourn_inferior method pointer. | |
3325 | (child_follow_fork): Call interface to linux-fork, conditionally | |
3326 | add new fork processes to list of debugged processes. | |
3327 | (kill_inferior): Use interface to linux-fork to kill | |
3328 | multiple processes. | |
3329 | ||
3330 | * linux-fork.h: New file. | |
3331 | * linux-fork.c: New file. Support for debugging multiple forks | |
3332 | of the same program. Support for checkpoint and restart commands. | |
3333 | ||
3334 | * infrun.c (nullify_last_target_wait_ptid): New function. | |
3335 | ||
3336 | * Makefile.in: Add linux-fork. | |
3337 | * config/*/linux.mh: Add linux-fork. | |
3338 | * NEWS: Mention new functionality. | |
3339 | ||
f98ce7c2 PH |
3340 | 2006-01-02 Paul Hilfinger <hilfingr@nile.gnat.com> |
3341 | ||
3342 | * ada-exp.y (syntax definitions,write_var_or_type,write_name_assoc): | |
3343 | Change uses of "illegal" to "invalid". | |
3344 | ||
52ce6436 PH |
3345 | 2006-01-02 Paul N. Hilfinger <hilfinger@adacore.com> |
3346 | ||
3347 | * ada-exp.y: Considerable reorganization to move functionality | |
3348 | from ada-lex.l to here, where it is logically more appropriate. | |
3349 | The original reason, however, was to prevent premature name | |
3350 | lookups for selector names in record aggregates. | |
3351 | (BLOCKNAME, TYPENAME, OBJECT_RENAMING): Remove; lexer now returns | |
3352 | NAME for all of these. | |
3353 | (VAR): New artificial token to clarify precedence rules. | |
3354 | (OTHERS): New lexeme. | |
3355 | (empty_stoken): New symbol. | |
3356 | (%union): Remove ssym, voidval. | |
3357 | (%type): Remove <voidval> type declarations. | |
3358 | (syntax definitions): Add aggregates. | |
3359 | Remove distinction between NAME, TYPENAME, BLOCKNAME, OBJECT_RENAMING. | |
3360 | Rename some non-terminals to be closer to reference manual usage. | |
3361 | Tighten up expression syntax to disallow certain non-Ada | |
3362 | constructions such as X and then Y or else Z. | |
3363 | (ada_parse): Remove initialization of left_block_context. | |
3364 | (write_var_from_name): Remove. | |
3365 | (write_var_or_type): New function, containing previous code from | |
3366 | defunct write_var_from_name and name_lookup. | |
3367 | (block_lookup): New function, moved from ada-lex.l | |
3368 | (select_possible_type_sym): New function, factored out of | |
3369 | name_lookup, which used to be in ada-lex.l. | |
3370 | (find_primitive_type): Ditto. | |
3371 | (chop_selector): Ditto. | |
3372 | (write_ambiguous_var): New function, factored out of defunct | |
3373 | write_var_from_name. | |
3374 | (write_selectors): New function. | |
3375 | (write_name_assoc): New function. | |
3376 | (write_exp_op_with_string): New function. | |
3377 | ||
3378 | * ada-lex.l (processId): Change interface to return stoken. | |
3379 | (tempbuf, resize_tempbuf, tempbuf_size, tempbuf_len): Remove. | |
3380 | (block_lookup, name_lookup): Remove. Functionality moved to | |
3381 | ada-exp.y. | |
3382 | (state IN_STRING): Remove. | |
3383 | (rules): Handle string escapes in processString. | |
3384 | Add 'others' token. | |
3385 | Return all NAMEs, BLOCKNAMEs, OBJECT_RENAMINGs, TYPENAMEs in | |
3386 | yylval.sval (as simple strings). | |
3387 | All name look-ups now handled in ada-exp.y. | |
3388 | Introduce "::" (COLONCOLON) token and return as separate token. | |
3389 | (processId): Change return convention. Comment. | |
3390 | Leave leading "'" in place. | |
3391 | (processString): New function. | |
3392 | (find_dot_all): Add note to comment. | |
3393 | Fix problem that allowed match only at the end. | |
3394 | ||
3395 | * ada-lang.c: Introduce aggregates. | |
3396 | (find_struct_field): Add new parameter to count fields skipped, and | |
3397 | allow other output parameters to be NULL. | |
3398 | (value_tag_from_contents_and_address, ada_value_struct_elt): Use | |
3399 | new find_struct_field. | |
3400 | (ada_index_struct_field, assign_aggregate, ada_is_array_type) | |
3401 | (num_visible_fields, ada_index_struct_field_1, ada_index_struct_field) | |
3402 | (num_component_specs, assign_component, assign_aggregate): | |
3403 | (aggregate_assign_from_choices,aggregate_assign_positional) | |
3404 | (aggregate_assign_others,add_component_interval): | |
3405 | New functions. | |
3406 | (ada_evaluate_subexp): Declare. | |
3407 | Add aggregate-related operators. | |
3408 | (ada_forward_operator_length): Declare. | |
3409 | (resolve_subexp): Add cases for new aggregate operators and OP_NAME. | |
3410 | Consolidate Ada operators, using ada_forward_operator_length. | |
3411 | (ada_search_struct_field): Search in forward order. | |
3412 | (ADA_OPERATORS): Add new aggregate operators. | |
3413 | (ada_operator_length, ada_op_name, ada_forward_operator_length) | |
3414 | (ada_dump_subexp_body, ada_print_subexp): Handle new aggregate | |
3415 | operators and OP_NAME. | |
3416 | (ada_type_of_array): Use longest_to_int. | |
3417 | (value_assign_to_component): New function. | |
3418 | (ada_forward_operator_length, ada_op_name, ada_dump_subexp_body): | |
3419 | Add OP_NAME case. | |
3420 | (ada_forward_operator_length, ada_dump_subexp_body): | |
3421 | Add OP_STRING case. | |
3422 | ||
3423 | * ada-lang.h (enum ada_operator): Add OP_AGGREGATE, OP_OTHERS, | |
3424 | OP_CHOICES, OP_DISCRETE_RANGE, OP_POSITIONAL. | |
3425 | ||
529cad9c PH |
3426 | 2006-01-02 Paul N. Hilfinger <hilfinger@adacore.com> |
3427 | ||
3428 | * ada-lang.c (process_raise_exception_name): Remove extraneous | |
3429 | definition from unsubmitted code. | |
3430 | ||
3431 | (is_lower_alphanum): New function. | |
3432 | (ada_decode): Add support for decoding protected object subprograms | |
3433 | and entries, and of entities declared inside protected object | |
3434 | subprograms. | |
3435 | Also add missing handling for__{DIGITS}+ suffixes. | |
3436 | Allow '$<digits>' as valid overloading suffix. | |
3437 | (is_name_suffix): Add handling for protected type entriy suffixes. | |
3438 | Also add support for protected type subprogram suffixes, but keep | |
3439 | it commented out for now, as there is an ambiguity between these | |
3440 | entities and other internally generated entities. | |
3441 | Allow '$<digits>' as valid overloading suffix. | |
3442 | (is_valid_name_for_wild_match): New function. | |
3443 | (wild_match): Add an exra level of verification of the entity name | |
3444 | before declaring it a match for the given pattern. | |
3445 | ||
3446 | (ada_type_of_array, ada_evaluate_subexp): Use more proper | |
3447 | longest_to_int rather than cast. | |
3448 | ||
3449 | (ada_evaluate_subexp): Use "invalid" rather than "illegal" in comment. | |
3450 | ||
3451 | (ada_coerce_to_simple_array): Call check_size to make sure | |
3452 | that the object size is reasonable. | |
3453 | ||
3454 | (ada_value_primitive_packed_val): Use correct location in target | |
3455 | buffer for extracting packed record fields that are themselves records. | |
3456 | ||
3457 | (add_defn_to_vec): Do not try to replace a stub type by its full | |
3458 | type. Avoids a potential infinite loop. | |
3459 | ||
3460 | (ada_lookup_symbol): Move return incorrectly placed return statement, | |
3461 | causing a loop that should be scanning all object files to only | |
3462 | scan the first one. | |
3463 | ||
3464 | (ada_tag_name_2): New function. | |
3465 | (ada_tag_name_1): If no 'tsd' field found in the dispatching table, | |
3466 | use alternative representation. | |
3467 | ||
3468 | (ada_find_renaming_symbol): Strip the function name suffix when | |
3469 | computing the XR type name. | |
3470 | ||
3471 | (ada_to_fixed_type): Try determining the tag only if we have the | |
3472 | object's address. | |
3473 | (to_fixed_array_type): Add comments. | |
3474 | ||
3475 | (ada_check_typedef): Replace expression checking whether the given | |
3476 | type is a stub or not by a "call" to TYPE_STUB. Clearer and more | |
3477 | consistent. | |
3478 | ||
3479 | * ada-lang.h (ADA_KNOWN_AUXILIARY_FUNCTION_NAME_PATTERNS): Allow | |
3480 | '$' in addition to '.' for runtime auxiliary function name suffixes. | |
3481 | See changes to ada_decode above. | |
3482 | ||
3483 | (struct task_control_block): Add field called_task. (This change is | |
3484 | to keep synchronized with our local sources; it does not affect the | |
3485 | public version yet.) | |
3486 | ||
3487 | * ada-typeprint.c (ada_print_type): Use int_string for printing | |
3488 | modulus of modular type. | |
3489 | ||
3490 | (print_range): Trivial editorial comment fix. | |
3491 | ||
3492 | * ada-valprint.c (ada_emit_char): Use normal Ada syntax for | |
3493 | double quote in string. | |
3494 | ||
9b799fe6 JB |
3495 | 2006-01-01 Joel Brobecker <brobecker@adacore.com> |
3496 | ||
3497 | * top.c: Add 2006 to list of copyright years in file header. | |
3498 | ||
0bee0712 JB |
3499 | 2006-01-01 Joel Brobecker <brobecker@adacore.com> |
3500 | ||
3501 | * top.c (print_gdb_version): Update copyright year to 2006. | |
3502 | ||
13c763f4 JB |
3503 | 2006-01-01 Roger Sayle <roger@eyesopen.com> |
3504 | Elena Zannoni <ezannoni@redhat.com> | |
3505 | ||
3506 | PR symtab/1651 | |
3507 | * xcoffread.c (xcoff_next_symbol_text): Check this_symtab_psymtab | |
3508 | for NULL before assigning this_symtab_psymtab->objfile to objfile. | |
3509 | (scan_xcoff_symtab): Initialize next_symbol_text_func. | |
3510 | (Committed by Jim Blandy) | |
3511 | ||
e50f0da1 | 3512 | For older changes see ChangeLog-2005. |
c906108c SS |
3513 | \f |
3514 | Local Variables: | |
3515 | mode: change-log | |
3516 | left-margin: 8 | |
3517 | fill-column: 74 | |
3518 | version-control: never | |
3519 | End: |