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