| 1 | 2002-11-08 Andrew Cagney <ac131313@redhat.com> |
| 2 | |
| 3 | * frame.c (set_unwind_by_pc): Use dummy_frame_register_unwind. |
| 4 | * dummy-frame.c (find_dummy_frame): Rename |
| 5 | generic_find_dummy_frame, make static. Return the dummy frame |
| 6 | instead of the regcache. |
| 7 | (generic_find_dummy_frame): Re-implement using find_dummy_frame, |
| 8 | (cached_find_dummy_frame): New function. Use find_dummy_frame. |
| 9 | (dummy_frame_register_unwind): Rename |
| 10 | generic_call_dummy_register_unwind. Use cached_find_dummy_frame. |
| 11 | * dummy-frame.h (dummy_frame_register_unwind): Rename |
| 12 | generic_call_dummy_register_unwind. |
| 13 | |
| 14 | 2002-11-08 Mark Kettenis <kettenis@gnu.org> |
| 15 | |
| 16 | * config/i386/tm-i386v42mp.h: Remove file. Move its contents, |
| 17 | except the inclusion of "i386/tm-i386.h", to... |
| 18 | * config/i386/nm-i386v42mp.h: ...here. |
| 19 | * config/i386/i386v42mp.mt (TM_FILE): Set to tm-i386.h. |
| 20 | |
| 21 | 2002-11-08 Andrew Cagney <ac131313@redhat.com> |
| 22 | |
| 23 | * Makefile.in (frame.o): Update dependencies. |
| 24 | * blockframe.c (current_frame, frame_obstack_alloc) |
| 25 | (frame_saved_regs_zalloc, get_current_frame) |
| 26 | (set_current_frame, create_new_frame) |
| 27 | (set_unwind_by_pc, get_next_frame) |
| 28 | (flush_cached_frames, reinit_frame_cache) |
| 29 | (frame_saved_regs_register_unwind) |
| 30 | (deprecated_generic_get_saved_register) |
| 31 | (get_prev_frame, get_frame_pc, get_frame_saved_regs) |
| 32 | (_initialize_blockframe): Move frame code from here... |
| 33 | * frame.c: ...to here. Include "gdb_obstack.h", "gdbcore.h", |
| 34 | "annotate.h" and "dummy-frame.h". |
| 35 | (_initialize_frame): New function. |
| 36 | |
| 37 | 2002-11-08 Jim Blandy <jimb@redhat.com> |
| 38 | |
| 39 | * dwarf2read.c (read_func_scope): Restore list_in_scope properly |
| 40 | when we finish a function a context. |
| 41 | * buildsym.h (outermost_context_p): New macro. |
| 42 | (Bug analyzed by David Edelsohn.) |
| 43 | |
| 44 | 2002-11-08 Andrew Cagney <ac131313@redhat.com> |
| 45 | |
| 46 | * blockframe.c: Include "dummy-frame.h". |
| 47 | (struct dummy_frame, dummy_frame_stack) |
| 48 | (generic_find_dummy_frame, deprecated_generic_find_dummy_frame) |
| 49 | (generic_pc_in_call_dummy, deprecated_read_register_dummy) |
| 50 | (generic_push_dummy_frame, generic_save_dummy_frame_tos) |
| 51 | (generic_save_call_dummy_addr, generic_pop_current_frame) |
| 52 | (generic_pop_dummy_frame, generic_fix_call_dummy) |
| 53 | (generic_fix_call_dummy, generic_call_dummy_register_unwind): Move |
| 54 | dummy frame code from here... |
| 55 | * dummy-frame.c: ...to here. New file. |
| 56 | * dummy-frame.h: New file. |
| 57 | (generic_call_dummy_register_unwind): Declare. |
| 58 | (generic_find_dummy_frame): Declare. |
| 59 | * Makefile.in (SFILES): Add dummy-frame.c. |
| 60 | (dummy-frame.o): Specify dependencies. |
| 61 | (dummy_frame_h): Define. |
| 62 | (COMMON_OBS): Add dummy-frame.o. |
| 63 | (blockframe.o): Update dependencies. |
| 64 | |
| 65 | 2002-11-08 Jim Blandy <jimb@redhat.com> |
| 66 | |
| 67 | * dwarf2read.c (read_func_scope): Restore local_symbols and |
| 68 | param_symbols after we finish the function context. (Based on a |
| 69 | patch from David Edelsohn.) |
| 70 | |
| 71 | 2002-11-08 David Carlton <carlton@math.stanford.edu> |
| 72 | |
| 73 | * linespec.c (symbol_found): New function. |
| 74 | (minsym_found): New function. |
| 75 | (decode_line_1): Separate out some code into separate functions. |
| 76 | |
| 77 | 2002-11-08 Joel Brobecker <brobecker@gnat.com> |
| 78 | |
| 79 | * i386-tdep.c (i386_frameless_signal_p): Make non static for |
| 80 | the benefit of the interix target. |
| 81 | * i386-tdep.h (i386_frameless_signal_p): Declare. |
| 82 | |
| 83 | 2002-11-08 Andrew Cagney <ac131313@redhat.com> |
| 84 | |
| 85 | * i386-tdep.h (i386_linux_orig_eax_regnum_p): Delete stray |
| 86 | declaration that snuck in from change below. |
| 87 | |
| 88 | 2002-11-06 Andrew Cagney <cagney@redhat.com> |
| 89 | |
| 90 | * i386-tdep.c (i386_mmx_regnum_p): Rename mmx_regnum_p. Update |
| 91 | all callers. |
| 92 | (i386_fp_regnum_p): New function. Use instead of FP_REGNUM_P. |
| 93 | (i386_fpc_regnum_p): New function. Use instead of FPC_REGNUM_P. |
| 94 | (i386_sse_regnum_p): New function. Use instead of SSE_REGNUM_P. |
| 95 | (i386_mxcsr_regnum_p): new function. Use instead of |
| 96 | MXCSR_REGNUM_P. |
| 97 | * i386-tdep.h (SSE_REGNUM_P): Delete macro. |
| 98 | (i386_sse_regnum_p): Declare. |
| 99 | (i386_mxcsr_regnum_p): Declare. |
| 100 | (FP_REGNUM_P, FPC_REGNUM_P): Delete macros. |
| 101 | (i386_fp_regnum_p, i386_fpc_regnum_p): Declare. |
| 102 | (IS_FP_REGNUM): Update definition. |
| 103 | (IS_FPU_CTRL_REGNUM): Update definition.. |
| 104 | (IS_SSE_REGNUM): Update definition.. |
| 105 | * i386v-nat.c (register_u_addr): Update. |
| 106 | * go32-nat.c (fetch_register): Update. |
| 107 | (store_register): Update. |
| 108 | |
| 109 | 2002-11-07 Joel Brobecker <brobecker@gnat.com> |
| 110 | |
| 111 | Preparation work to convert the hppa targets to multiarch partial. |
| 112 | |
| 113 | * hppa-tdep.c: Add new functions replacing macro bodies from |
| 114 | config/pa/tm-hppa.h. These function will be used to initialize |
| 115 | the gdbarch structure. Import some comments from tm-hppa.h, |
| 116 | and place them where appropriate, to avoid loosing them when |
| 117 | we cleanup this file. |
| 118 | (hppa_reg_struct_has_addr): New function. |
| 119 | (hppa_inner_than): New function. |
| 120 | (hppa_stack_align): New function. |
| 121 | (hppa_pc_requires_run_before_use): New function. |
| 122 | (hppa_instruction_nullified): New function. |
| 123 | (hppa_register_byte): New function. |
| 124 | (hppa_register_virtual_type): New function. |
| 125 | (hppa_store_struct_return): New function. |
| 126 | (hppa_cannot_store_register): New function. |
| 127 | (hppa_frame_args_address): New function. |
| 128 | (hppa_frame_locals_address): New function. |
| 129 | (hppa_smash_text_address): New function. |
| 130 | (hppa_coerce_float_to_double): New function. Requires the inclusion |
| 131 | of "language.h". |
| 132 | |
| 133 | * Makefile.in (hppa-tdep.o): Add dependency on language.h. |
| 134 | |
| 135 | * tm-hppa.h (REG_STRUCT_HAS_ADDR): Change the definition of this |
| 136 | gdbarch-eligible macro to a call to the new associated function |
| 137 | created in hppa-tdep.c. |
| 138 | (INNER_THAN): Likewise. |
| 139 | (STACK_ALIGN): Likewise. |
| 140 | (PC_REQUIRES_RUN_BEFORE_USE): Likewise. |
| 141 | (INSTRUCTION_NULLIFIED): Likewise. |
| 142 | (REGISTER_BYTE): Likewise. |
| 143 | (REGISTER_VIRTUAL_TYPE): Likewise. |
| 144 | (STORE_STRUCT_RETURN): Likewise. |
| 145 | (CANNOT_STORE_REGISTER): Likewise. |
| 146 | (FRAME_ARGS_ADDRESS): Likewise. |
| 147 | (FRAME_LOCALS_ADDRESS): Likewise. |
| 148 | (SMASH_TEXT_ADDRESS): Likewise. |
| 149 | (COERCE_FLOAT_TO_DOUBLE): Likewise. |
| 150 | (ABOUT_TO_RETURN): Delete, as no longer used. |
| 151 | |
| 152 | 2002-11-07 Fernando Nasser <fnasser@redhat.com> |
| 153 | |
| 154 | * printcmd.c (disassemble_command): Remove obsolete function. |
| 155 | (_initialize_printcmd): Do not create disassemble command here. |
| 156 | * cli/cli-cmds.c (disassemble_command): New function. Implements |
| 157 | disassemble command. |
| 158 | (init_cli_cmds): Create disassemble command here instead. |
| 159 | |
| 160 | 2002-11-07 Andrew Cagney <ac131313@redhat.com> |
| 161 | |
| 162 | * MAINTAINERS: Add Daniel Jacobowitz to global maintainers list. |
| 163 | |
| 164 | 2002-11-07 Andrew Cagney <ac131313@redhat.com> |
| 165 | |
| 166 | * regcache.h (regcache_cooked_read_using_offset_hack) |
| 167 | (regcache_cooked_write_using_offset_hack): Delete declarations. |
| 168 | (register_changed): Delete declaration. |
| 169 | * regcache.c (regcache_cooked_read_using_offset_hack) |
| 170 | (regcache_cooked_write_using_offset_hack): Delete functions. |
| 171 | (cooked_xfer_using_offset_hack): Delete function. |
| 172 | (register_changed): Delete function. |
| 173 | |
| 174 | 2002-11-07 Jim Blandy <jimb@redhat.com> |
| 175 | |
| 176 | * macroscope.c: #include "complaints.h". |
| 177 | (sal_macro_scope): Cope with filenames that appear in the symtabs, |
| 178 | but not in the macro table. |
| 179 | * Makefile.in (macroscope.o): Record dependency. |
| 180 | |
| 181 | 2002-11-07 Joel Brobecker <brobecker@gnat.com> |
| 182 | |
| 183 | * PROBLEMS: Document gdb/816 (unable to read core file on alpha-osf). |
| 184 | |
| 185 | 2002-11-07 Andrew Cagney <ac131313@redhat.com> |
| 186 | |
| 187 | * regcache.c (deprecated_registers_fetched): Update. |
| 188 | * regcache.h (deprecated_registers_fetched): Rename |
| 189 | registers_fetched. |
| 190 | * remote-vxsparc.c (vx_read_register): Update. |
| 191 | * remote-vxmips.c (vx_read_register): Update. |
| 192 | * remote-vx68.c (vx_read_register): Update. |
| 193 | * irix5-nat.c (fetch_core_registers): Update. |
| 194 | * mipsm3-nat.c (fetch_inferior_registers): Update. |
| 195 | * sun3-nat.c (fetch_inferior_registers): Update. |
| 196 | * symm-nat.c (fetch_inferior_registers): Update. |
| 197 | * ns32knbsd-nat.c (fetch_inferior_registers): Update. |
| 198 | (fetch_core_registers): Update. |
| 199 | (fetch_kcore_registers): Update. |
| 200 | * mips-nat.c (fetch_inferior_registers): Update. |
| 201 | * corelow.c (get_core_registers): Update. |
| 202 | * a68v-nat.c (fetch_inferior_registers): Update. |
| 203 | |
| 204 | 2002-11-06 Joel Brobecker <brobecker@gnat.com> |
| 205 | |
| 206 | Put in place the framework necessary for multiarching the hppa targets. |
| 207 | * hppa-tdep.c (hppa_gdbarch_init): New function. |
| 208 | (hppa_dump_tdep): New function. |
| 209 | (_initialize_hppa_tdep): Register the hppa gdbarch init function and |
| 210 | tdep structure dumper. |
| 211 | * config/pa/tm-hppa.h (GDB_MULTI_ARCH): New macro, defined to 0 |
| 212 | until the multi-arching conversion has partially been completed. |
| 213 | |
| 214 | 2002-11-06 Andrew Cagney <ac131313@redhat.com> |
| 215 | |
| 216 | * valops.c (value_assign): Merge lval_register case into |
| 217 | lval_reg_frame_relative. Use frame_register and |
| 218 | regcache_cooked_write instead of get_saved_register and |
| 219 | write_register_bytes. After flushing the register cache, try to |
| 220 | re-select the selected frame. |
| 221 | |
| 222 | 2002-11-06 Andrew Cagney <ac131313@redhat.com> |
| 223 | |
| 224 | * regcache.h (deprecated_register_valid): Rename register_valid. |
| 225 | * regcache.c: Update. |
| 226 | * ia64-aix-nat.c: Update. |
| 227 | * i386gnu-nat.c: Update. |
| 228 | * alpha-nat.c: Update. |
| 229 | * sparc-nat.c: Update. |
| 230 | * lynx-nat.c: Update. |
| 231 | * remote-mips.c: Update. |
| 232 | |
| 233 | 2002-11-06 Joel Brobecker <brobecker@gnat.com> |
| 234 | |
| 235 | * hppa-tdep.c (_initialize_hppa_tdep): Move function body |
| 236 | to end of file, to be more consistent with the pratice followed |
| 237 | by other targets. |
| 238 | |
| 239 | 2002-11-06 Andrew Cagney <ac131313@redhat.com> |
| 240 | |
| 241 | * infcmd.c: Include "reggroups.h" and <ctype.h>. |
| 242 | (print_float_info): Print registers in float_reggroup. |
| 243 | (print_vector_info): Print registers in vector_reggroup. |
| 244 | (default_print_registers_info): When all, print registers in |
| 245 | all_reggroup. Otherwize, print registers in general_reggroup. |
| 246 | (registers_info): Rewrite. Add support for register groups. |
| 247 | Eliminate a goto. |
| 248 | |
| 249 | 2002-11-06 Elena Zannoni <ezannoni@redhat.com> |
| 250 | |
| 251 | * symtab.c (methods_info): Delete. It has been ifdeffed out for |
| 252 | ages. |
| 253 | (symtab_symbol_info): Remove eons old ifdeffed out code. |
| 254 | (_initialize_symtab): Remove prehistoric disabled 'info methods' |
| 255 | command. |
| 256 | |
| 257 | 2002-11-06 Theodore A. Roth <troth@openavr.org> |
| 258 | |
| 259 | * c-exp.y: Add missing semi-colons. |
| 260 | * f-exp.y: Add missing semi-colons. |
| 261 | * m2-exp.y: Add missing semi-colons. |
| 262 | * p-exp.y: Add missing semi-colons. |
| 263 | Add empty action to start rule to avoid a type clash error when |
| 264 | building with bison >= 1.50. |
| 265 | |
| 266 | 2002-11-06 Jim Blandy <jimb@redhat.com> |
| 267 | |
| 268 | * macrotab.h (struct macro_source_file): Doc fix. |
| 269 | |
| 270 | 2002-11-05 Jeff Johnston <jjohnstn@redhat.com> |
| 271 | |
| 272 | * varobj.c (child_exists, cplus_number_of_children): Change |
| 273 | STREQ macro references to strcmp. |
| 274 | (cplus_name_of_child): Change code to handle the fact that |
| 275 | fields are not necessarily contiguous with regards to their |
| 276 | access control. This is a fix for PR gdb/792. |
| 277 | |
| 278 | 2002-11-05 Andrew Cagney <ac131313@redhat.com> |
| 279 | |
| 280 | * gdbarch.sh (GET_SAVED_REGISTER): Change to a predicate function. |
| 281 | * gdbarch.h, gdbarch.c: Regnerate. |
| 282 | * frame.h (frame_register): Declare. |
| 283 | * frame.c (frame_register): New function. |
| 284 | (get_saved_register): Test GET_SAVED_REGISTER_P before calling |
| 285 | GET_SAVED_REGISTER, otherwize call |
| 286 | generic_unwind_get_saved_register. |
| 287 | (frame_register_read): Use frame_register instead of |
| 288 | get_saved_register. |
| 289 | |
| 290 | 2002-11-05 Elena Zannoni <ezannoni@redhat.com> |
| 291 | |
| 292 | From Jim Ingham <jingham@apple.com>: |
| 293 | * event-top.c (gdb_disable_readline): New function. |
| 294 | (_initialize_event_loop): Move comment. |
| 295 | |
| 296 | 2002-11-05 Elena Zannoni <ezannoni@redhat.com> |
| 297 | |
| 298 | * event-loop.c (start_event_loop): Add comment. |
| 299 | Update copyright. |
| 300 | |
| 301 | 2002-11-05 Andrew Cagney <ac131313@redhat.com> |
| 302 | |
| 303 | * infcmd.c (default_print_registers_info): Do not call |
| 304 | PRINT_REGISTER_HOOK. |
| 305 | |
| 306 | 2002-11-05 Andrew Cagney <ac131313@redhat.com> |
| 307 | |
| 308 | * sparc-tdep.c (sparc_print_register_hook): Make static. |
| 309 | (sparc_print_registers_info): New function. |
| 310 | (sparc_do_registers_info): New function. |
| 311 | (sparclet_print_registers_info): New function. |
| 312 | (sparclet_do_registers_info): New function. |
| 313 | (do_sparc_print_registers_info): New function. |
| 314 | (sparc_print_registers): New static function, clone of infcmd.c's |
| 315 | default_print_registers_info. |
| 316 | * config/sparc/tm-sparclet.h (PRINT_REGISTER_HOOK): Delete macro. |
| 317 | (sparclet_do_registers_info): Declare. |
| 318 | (DEPRECATED_DO_REGISTERS_INFO): Re-define. |
| 319 | * config/sparc/tm-sparc.h (DEPRECATED_DO_REGISTERS_INFO): |
| 320 | Re-define. |
| 321 | (sparc_do_registers_info): Declare. |
| 322 | (PRINT_REGISTER_HOOK): Delete macro. |
| 323 | (sparc_print_register_hook): Delete declaration. |
| 324 | |
| 325 | 2002-11-05 David Carlton <carlton@math.stanford.edu> |
| 326 | |
| 327 | * symtab.c (lookup_symbol_aux): Move chunks of code into separate |
| 328 | functions. |
| 329 | (lookup_symbol_aux_local): New function. |
| 330 | (lookup_symbol_aux_symtabs): New function. |
| 331 | (lookup_symbol_aux_psymtabs): New function. |
| 332 | |
| 333 | 2002-11-05 David Carlton <carlton@math.stanford.edu> |
| 334 | |
| 335 | * symtab.c (lookup_symbol_aux): In minsym sections, don't use the |
| 336 | previous values of 'objfile' and 'block'. |
| 337 | |
| 338 | 2002-11-05 Pierre Muller <muller@ics.u-strasbg.fr> |
| 339 | |
| 340 | * values.c (value_change_enclosing_type): Set |
| 341 | enclosing_type field correctly also for the case where |
| 342 | more memory needs to be allocated. |
| 343 | |
| 344 | 2002-11-03 Mark Kettenis <kettenis@gnu.org> |
| 345 | |
| 346 | * i387-tdep.c (i387_print_float_info): Call fputs_filtered instead |
| 347 | of puts_filtered. |
| 348 | |
| 349 | * i387-tdep.c (i387_print_float_info): Replace calls to |
| 350 | register_read and deprecated_read_register_gen with calls to |
| 351 | frame_register_read, and make the necessary adjustments to the |
| 352 | surrounding code. |
| 353 | |
| 354 | 2002-11-02 Andrew Cagney <ac131313@redhat.com> |
| 355 | |
| 356 | * gdbarch.sh (register_reggroup_p): Allow default value. |
| 357 | * gdbarch.h, gdbarch.c: Regenerate. |
| 358 | |
| 359 | 2002-11-02 Andrew Cagney <ac131313@redhat.com> |
| 360 | |
| 361 | * regcache.h: Add coment indicating replacements for deprecated |
| 362 | functions. |
| 363 | |
| 364 | 2002-11-02 Andrew Cagney <cagney@redhat.com> |
| 365 | |
| 366 | * reggroups.h, reggroups.c: New files. |
| 367 | * regcache.c: Include "reggroups.h". |
| 368 | (enum regcache_dump_what): Add `regcache_dump_groups'. |
| 369 | (regcache_dump): Contract size of the "Type" column. When |
| 370 | specified, dump the register's groups. |
| 371 | (maintenance_print_register_groups): New function. |
| 372 | (_initialize_regcache): Add command `maint print register-groups'. |
| 373 | * Makefile.in (COMMON_OBS): Add reggroups.o |
| 374 | (SFILES): Add reggroups.c. |
| 375 | (reggroups_h): Define. |
| 376 | (regcache.o, gdbarch.o): Update dependencies. |
| 377 | (reggroups.o): Specify dependencies. |
| 378 | * gdbarch.sh (register_reggroup_p): Add pure multi-arch method. |
| 379 | Add opaque declaration for `struct reggroup' in generated .h file. |
| 380 | Include "reggroups.h" in generated .c file. |
| 381 | gdbarch.h, gdbarch.c: Re-generate. |
| 382 | |
| 383 | 2002-11-02 Andrew Cagney <cagney@redhat.com> |
| 384 | |
| 385 | * regcache.h (deprecated_read_register_gen): Rename |
| 386 | read_register_gen. |
| 387 | (deprecated_write_register_gen): Rename write_register_gen. |
| 388 | * i387-tdep.c: Update. |
| 389 | * x86-64-linux-nat.c: Update |
| 390 | * wince.c: Update. |
| 391 | * thread-db.c: Update. |
| 392 | * win32-nat.c: Update. |
| 393 | * mips-tdep.c: Update. |
| 394 | * d10v-tdep.c: Update. |
| 395 | * cris-tdep.c: Update. |
| 396 | * remote-sim.c: Update. |
| 397 | * remote-rdi.c: Update. |
| 398 | * remote-rdp.c: Update. |
| 399 | * frame.c: Update. |
| 400 | * target.c: Update. |
| 401 | * blockframe.c: Update. |
| 402 | * x86-64-tdep.c: Update. |
| 403 | * xstormy16-tdep.c: Update. |
| 404 | * sh-tdep.c: Update. |
| 405 | * s390-tdep.c: Update. |
| 406 | * rs6000-tdep.c: Update. |
| 407 | * sparc-tdep.c: Update. |
| 408 | * i386-tdep.c: Update. |
| 409 | * dwarf2cfi.c: Update. |
| 410 | * regcache.c: Update. |
| 411 | |
| 412 | 2002-11-01 Joel Brobecker <brobecker@gnat.com> |
| 413 | |
| 414 | New interix-specific files: |
| 415 | * config/i386/nm-interix.h: New file. |
| 416 | * config/i386/interix.mh: New file. |
| 417 | * config/i386/interix.mt: New file. |
| 418 | * i386-interix-nat.c: New file. |
| 419 | * i386-interix-tdep.c: New file. |
| 420 | |
| 421 | 2002-11-01 Andrew Cagney <cagney@redhat.com> |
| 422 | |
| 423 | * frame.h (deprecated_generic_get_saved_register): Rename |
| 424 | generic_get_saved_register. |
| 425 | * blockframe.c (deprecated_generic_get_saved_register): Update. |
| 426 | * xstormy16-tdep.c (xstormy16_get_saved_register): Update. |
| 427 | (xstormy16_frame_saved_register): Update. |
| 428 | * sh-tdep.c (sh_gdbarch_init): Update. |
| 429 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. |
| 430 | * ia64-tdep.c (ia64_get_saved_register): Update. |
| 431 | * cris-tdep.c (cris_gdbarch_init): Update. |
| 432 | * config/m32r/tm-m32r.h (GET_SAVED_REGISTER): Update. |
| 433 | * arm-tdep.c (arm_gdbarch_init): Update. |
| 434 | |
| 435 | 2002-10-31 Daniel Jacobowitz <drow@mvista.com> |
| 436 | |
| 437 | * lin-lwp.c (lin_lwp_resume): Remove resume_all test for !step. |
| 438 | |
| 439 | 2002-10-31 Daniel Jacobowitz <drow@mvista.com> |
| 440 | |
| 441 | * i386-linux-tdep.c (i386_linux_pc_in_sigtramp): Check for |
| 442 | trampolines in sigaction. |
| 443 | |
| 444 | 2002-10-31 Andrew Cagney <cagney@redhat.com> |
| 445 | |
| 446 | * h8300-tdep.c: Include "gdb_assert.h". |
| 447 | (h8300_print_register): Add gdbarch, file and frame parameters. |
| 448 | Use frame_read_unsigned_register to read the register's value. |
| 449 | Use fprintf_filtered to display output. |
| 450 | (h8300_print_registers_info): Replace h8300_do_registers_info. |
| 451 | (h8300_gdbarch_init): Set print_registers_info. |
| 452 | |
| 453 | 2002-10-31 Andrew Cagney <cagney@redhat.com> |
| 454 | |
| 455 | * frame.c (frame_read_unsigned_register): New function. |
| 456 | (frame_read_signed_register): New function. |
| 457 | * frame.h (frame_read_unsigned_register): Declare. |
| 458 | (frame_read_signed_register): Declare. |
| 459 | |
| 460 | 2002-10-31 Andrew Cagney <cagney@redhat.com> |
| 461 | |
| 462 | * h8500-tdep.c (h8500_print_registers_info): New static function, |
| 463 | clone of infcmd.c's default_print_registers_info. |
| 464 | (h8500_do_registers_info): New funtion. |
| 465 | (h8500_print_register_hook): Rename print_register_hook, make |
| 466 | static. |
| 467 | |
| 468 | * config/h8500/tm-h8500.h: Update copyright. |
| 469 | (DEPRECATED_DO_REGISTERS_INFO): Define. |
| 470 | (h8500_do_registers_info: Declare. |
| 471 | (PRINT_REGISTER_HOOK): Delete macro. |
| 472 | (print_register_hook): Delete function. |
| 473 | |
| 474 | 2002-10-31 Andrew Cagney <cagney@redhat.com> |
| 475 | |
| 476 | * z8k-tdep.c (z8k_print_register_hook): Make static. |
| 477 | (z8k_print_registers_info): New static function, clone of |
| 478 | infcmd.c's default_print_registers_info. |
| 479 | (z8k_do_registers_info): New function. Wrap |
| 480 | z8k_print_registers_info. |
| 481 | * config/z8k/tm-z8k.h: Update copyright. |
| 482 | (PRINT_REGISTER_HOOK): Delete macro. |
| 483 | (z8k_print_register_hook): Delete declaration. |
| 484 | (DEPRECATED_DO_REGISTERS_INFO): Define. |
| 485 | (z8k_do_registers_info): Declare. |
| 486 | |
| 487 | 2002-10-30 Joel Brobecker <brobecker@gnat.com> |
| 488 | |
| 489 | * hppa-tdep.c (find_function_in_inferior): Remove this extern, |
| 490 | as this is already provided by value.h, and was actually causing |
| 491 | a compilation error because of a conflict in parameter type |
| 492 | declaration due to a missing const keyword. |
| 493 | (low_text_segment_addres): Fix a compilation warning. |
| 494 | |
| 495 | 2002-10-29 Daniel Jacobowitz <drow@mvista.com> |
| 496 | |
| 497 | * mips-linux-nat.c (mips_linux_cannot_fetch_register): Don't fetch |
| 498 | registers without a name. |
| 499 | (mips_linux_cannot_store_register): Don't store registers without |
| 500 | a name. |
| 501 | |
| 502 | 2002-10-28 David Carlton <carlton@math.stanford.edu> |
| 503 | |
| 504 | * symtab.c (find_addr_symbol): Delete. (It was already commented |
| 505 | out.) |
| 506 | * symtab.h: Delete prototype for find_addr_symbol. |
| 507 | |
| 508 | 2002-10-26 Andrew Cagney <cagney@redhat.com> |
| 509 | |
| 510 | * gdbarch.sh (DEPRECATED_DO_REGISTERS_INFO): Rename |
| 511 | DO_REGISTERS_INFO. |
| 512 | gdbarch.h, gdbarch.c: Re-generate. |
| 513 | * infcmd.c (default_print_registers_info): Update reference. |
| 514 | * mips-tdep.c (mips_gdbarch_init): Set deprecated_do_registers_info. |
| 515 | (mips_dump_tdep): Do not print DO_REGISTERS_INFO. |
| 516 | * sh-tdep.c (sh_gdbarch_init): Ditto. |
| 517 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. |
| 518 | * h8300-tdep.c (h8300_gdbarch_init): Ditto. |
| 519 | |
| 520 | 2002-10-26 Mark Kettenis <kettenis@gnu.org> |
| 521 | |
| 522 | * x86-64-tdep.c (x86_64_init_abi): Set init_extra_frame_info to |
| 523 | cfi_init_extra_frame_info. |
| 524 | * x86-64-tdep.h (x86_64_init_extra_frame_info): Remove prototype. |
| 525 | * x86-64-linux-tdep.c (x86_64_init_extra_frame_info): Remove function. |
| 526 | |
| 527 | * x86-64-tdep.c (x86_64_init_abi): Add calls to override the i386 |
| 528 | target where necessary. Add more comments and remove the ones |
| 529 | that don't provide any useful information. |
| 530 | |
| 531 | * i386-tdep.c (i386_frame_saved_pc): Replace call to |
| 532 | deprecated_read_register_dummy with |
| 533 | frame_unwind_unsigned_register. |
| 534 | |
| 535 | * i386-tdep.c (i386_extract_struct_value_address): Use |
| 536 | regcache_raw_read_unsigned instead of |
| 537 | regcache_cooked_read_unsigned since we know that the register |
| 538 | we're reading isn't a pseudo register. Rename variable 'val' into |
| 539 | the more descriptive 'addr'. |
| 540 | |
| 541 | * x86-64-tdep.c: Fix some formatting problems, mostly in comments. |
| 542 | (x86_64_push_return_address): Add comment. |
| 543 | (x86_64_pop_frame): Make static. |
| 544 | (examine_argument): Clarify comment. |
| 545 | (x86_64_skip_prologue): Make prolog_expact variable static. |
| 546 | |
| 547 | * dwarf2cfi.c: Fix some formatting problems. |
| 548 | (context_cpy, read_encoded_pointer): Clarify comments. |
| 549 | |
| 550 | * x86-64-tdep.c (x86_64_breakpoint_from_pc): Constify. |
| 551 | (x86_64_init_abi): Move set_gdbarch_* calls that overlap with the |
| 552 | i386 target back into x86_64_gdbarch_init. Add some comments and |
| 553 | remove meaningless ones. |
| 554 | |
| 555 | 2002-10-25 Andrew Cagney <cagney@redhat.com> |
| 556 | |
| 557 | * complaints.h (struct deprecated_complaint): Rename `struct |
| 558 | complaint'. |
| 559 | * complaints.c (complain): Update. |
| 560 | * remote-vx68.c, remote-vxmips.c, remote-vxsparc.c: Delete |
| 561 | incorrect comment indicating that "symfile.h" was being included |
| 562 | for the `struct complaint' definition. |
| 563 | * remote-vx.c: Update. |
| 564 | * objc-lang.c: Update. |
| 565 | * xcoffread.c: Update. |
| 566 | * hpread.c: Update. |
| 567 | * mdebugread.c: Update. |
| 568 | * stabsread.c: Update. |
| 569 | * dwarf2read.c: Update. |
| 570 | * dwarfread.c: Update. |
| 571 | * elfread.c: Update. |
| 572 | * coffread.c: Update. |
| 573 | * stabsread.h: Update. |
| 574 | * dbxread.c: Update. |
| 575 | * buildsym.c: Update. |
| 576 | * gdbtypes.c: Update. |
| 577 | * macrotab.c: Update. |
| 578 | |
| 579 | 2002-10-25 Mark Kettenis <kettenis@gnu.org> |
| 580 | |
| 581 | * x86-64-tdep.c (x86_64_gdbarch_init): Make a bit more similar to |
| 582 | the version in i386-tdep.c. Move set_gdbarch_* calls out into... |
| 583 | (x86_64_init_abi): ...new function. |
| 584 | |
| 585 | * Makefile.in (i386v-nat.o): Add $(i386_tdep_h). |
| 586 | * i386v-nat.c: Include "i386-tdep.h". |
| 587 | |
| 588 | 2002-10-25 Andrew Cagney <cagney@redhat.com> |
| 589 | |
| 590 | * gdbtypes.c (address_space_name_to_int): Update. |
| 591 | (address_space_int_to_name): Update. |
| 592 | * gdbarch.sh (address_class_type_flags_to_name): Change to a pure |
| 593 | multi-arch predicate. |
| 594 | (address_class_name_to_type_flags): Ditto. |
| 595 | * gdbarch.h, gdbarch.c: Re-generate. |
| 596 | |
| 597 | * MAINTAINERS: Check all warnings when h8300hms and alpha-elf. |
| 598 | |
| 599 | 2002-10-24 Martin M. Hunt <hunt@redhat.com> |
| 600 | |
| 601 | * utils.c (string_to_core_addr): Revert patch from 11 Oct. |
| 602 | |
| 603 | 2002-10-24 Elena Zannoni <ezannoni@redhat.com> |
| 604 | |
| 605 | * symtab.h (INIT_SAL): Delete macro. |
| 606 | (init_sal): Export. |
| 607 | * symtab.c (init_sal): New function. |
| 608 | |
| 609 | * ada-lang.c (ada_finish_decode_line_1): Change INIT_SAL macro |
| 610 | to init_sal function call. |
| 611 | (find_sal_from_funcs_and_line): Ditto. |
| 612 | (all_sals_for_line): Ditto. |
| 613 | * breakpoint.c (create_internal_breakpoint): Ditto. |
| 614 | (create_fork_vfork_event_catchpoint): Ditto. |
| 615 | (create_exec_event_catchpoint): Ditto. |
| 616 | (parse_breakpoint_sals): Ditto. |
| 617 | (watch_command_1): Ditto. |
| 618 | (handle_gnu_4_16_catch_command): Ditto. |
| 619 | (clear_command): Ditto. |
| 620 | * hppa-tdep.c (child_enable_exception_callback): Ditto. |
| 621 | * infcmd.c (run_stack_dummy): Ditto. |
| 622 | * infrun.c (process_event_stop_test): Ditto. |
| 623 | (check_sigtramp2): Ditto. |
| 624 | (step_over_function): Ditto. |
| 625 | * linespec.c (decode_line_2): Ditto. |
| 626 | (decode_line_1): Ditto. |
| 627 | * source.c (line_info): Ditto. |
| 628 | * symtab.c (find_pc_sect_line): Ditto. |
| 629 | |
| 630 | 2002-10-24 Michal Ludvig <mludvig@suse.cz> |
| 631 | |
| 632 | * dwarf2cfi.c (struct context) |
| 633 | (struct context_reg): Moved to dwarf2cfi.h |
| 634 | (context_alloc, frame_state_alloc, context_cpy): |
| 635 | Made extern instead of static, removed prototypes. |
| 636 | * dwarf2cfi.h (struct context) |
| 637 | (struct context_reg): New, moved from dwarf2cfi.c |
| 638 | (context_alloc, frame_state_alloc, context_cpy): |
| 639 | New prototypes. |
| 640 | * x86-64-linux-tdep.c (x86_64_linux_sigtramp_saved_pc): |
| 641 | Changed from static to extern. |
| 642 | (LINUX_SIGINFO_SIZE, LINUX_SIGCONTEXT_PC_OFFSET) |
| 643 | (LINUX_SIGCONTEXT_FP_OFFSET) |
| 644 | (LINUX_UCONTEXT_SIGCONTEXT_OFFSET): Adjusted. |
| 645 | (x86_64_linux_in_sigtramp, x86_64_linux_frame_chain) |
| 646 | (x86_64_init_frame_pc, x86_64_init_extra_frame_info): New. |
| 647 | * x86-64-tdep.c (x86_64_gdbarch_init): Several |
| 648 | set_gdbarch_*() calls now use x86-64 specific functions |
| 649 | instead of DWARF2 CFI ones. |
| 650 | * x86-64-tdep.h (x86_64_linux_in_sigtramp) |
| 651 | (x86_64_linux_frame_chain, x86_64_init_frame_pc) |
| 652 | (x86_64_init_extra_frame_info): New prototypes. |
| 653 | |
| 654 | 2002-10-23 David Carlton <carlton@math.stanford.edu> |
| 655 | |
| 656 | * linespec.c: #include "parser-defs.h". |
| 657 | Delete prototype for find_template_name_end. |
| 658 | * Makefile.in (linespec.o): Depend on $(parser_defs_h). |
| 659 | |
| 660 | 2002-10-23 Jeff Johnston <jjohnstn@redhat.com> |
| 661 | |
| 662 | * NEWS: add recent mi fixes. |
| 663 | * varobj.c (struct varobj): Add new "updated" flag. |
| 664 | (new_variable): Default "updated" flag to 0. |
| 665 | (varobj_set_value): Set "updated" flag to 1 if value |
| 666 | changes. |
| 667 | (varobj_update): Check varobj "updated" flag before |
| 668 | comparing old and refreshed values. Fix for |
| 669 | PR gdb/702. |
| 670 | |
| 671 | 2002-10-23 David Carlton <carlton@math.stanford.edu> |
| 672 | |
| 673 | * parse.c (parse_exp_1): Use BLOCK_START. |
| 674 | * x86-64-tdep.c (x86_64_skip_prologue): Use BLOCK_END, |
| 675 | SYMBOL_BLOCK_VALUE. |
| 676 | * objc-lang.c (find_methods): Use BLOCK_START, BLOCK_END. |
| 677 | |
| 678 | 2002-10-23 David Carlton <carlton@math.stanford.edu> |
| 679 | |
| 680 | * symtab.c: Delete cplusplus_hint. |
| 681 | Delete prototype for find_template_name_end. |
| 682 | |
| 683 | 2002-10-23 Elena Zannoni <ezannoni@redhat.com> |
| 684 | |
| 685 | * symtab.h: Update comment. |
| 686 | |
| 687 | 2002-10-23 Michael Snyder <msnyder@redhat.com> |
| 688 | |
| 689 | * printcmd.c (address_info): Restore quotes in output. |
| 690 | * valops.c (value_of_local): Restore quotes in error message. |
| 691 | |
| 692 | 2002-10-23 Elena Zannoni <ezannoni@redhat.com> |
| 693 | |
| 694 | * symtab.c (symbol_demangled_name): New function. |
| 695 | * symtab.h (SYMBOL_DEMANGLED_NAME): Simplify macro, by |
| 696 | turning most of it into a function. |
| 697 | (symbol_demangled_name): Export. |
| 698 | |
| 699 | 2002-10-23 Michael Snyder <msnyder@redhat.com> |
| 700 | |
| 701 | * valops.c (value_of_local): Restore quotes in error message. |
| 702 | |
| 703 | 2002-10-23 Elena Zannoni <ezannoni@redhat.com> |
| 704 | |
| 705 | * symtab.c (symbol_init_language_specific): New function. |
| 706 | * symtab.h (SYMBOL_INIT_LANGUAGE_SPECIFIC): Simplify macro, by |
| 707 | turning most of it into a function. |
| 708 | (symbol_init_language_specific): Export. |
| 709 | |
| 710 | 2002-10-23 David Carlton <carlton@math.stanford.edu> |
| 711 | |
| 712 | * dwarf2read.c (dwarf_tag_name): Add DWARF 3 names. |
| 713 | (dwarf_attr_name): Ditto. |
| 714 | (dwarf_type_encoding_name): Ditto. |
| 715 | (scan_partial_symbols): Descend into DW_TAG_namespace entries. |
| 716 | (process_die): Handle DW_TAG_namespace, |
| 717 | DW_TAG_imported_declaration, DW_TAG_imported_module. |
| 718 | (read_namespace): New function. |
| 719 | |
| 720 | 2002-10-22 Joel Brobecker <brobecker@gnat.com> |
| 721 | |
| 722 | * configure.in: Define NEW_PROC_API on Interix too. |
| 723 | * configure: Regenerate. |
| 724 | |
| 725 | 2002-10-21 Joel Brobecker <brobecker@gnat.com> |
| 726 | |
| 727 | * configure: Regenerate using the proper version of autoconf. |
| 728 | |
| 729 | 2002-10-21 Elena Zannoni <ezannoni@redhat.com> |
| 730 | |
| 731 | * findvar.c (read_var_value): Temporarily disable TLS code, until |
| 732 | complete TLS support is added. |
| 733 | |
| 734 | 2002-10-21 Jim Blandy <jimb@redhat.com> |
| 735 | Elena Zannoni <ezannoni@redhat.com> |
| 736 | |
| 737 | * symtab.h (address_class): Re-add LOC_THREAD_LOCAL_STATIC |
| 738 | for thread local storage locations. |
| 739 | (struct symbol): Add objfile field. |
| 740 | (SYMBOL_OBJFILE): Define. |
| 741 | * dwarf2read.c (is_thread_local): New static variable. |
| 742 | (new_symbol): If variable is in thread local fill in address class |
| 743 | and objfile appropriately. |
| 744 | (decode_locdesc): Recognize and handle DW_OP_GNU_push_tls_address |
| 745 | stack operation. |
| 746 | * printcmd.c (address_info): Print the information for thread |
| 747 | local storage variable. |
| 748 | * findvar.c (read_var_value): In case of thread local variable, |
| 749 | defer to the target vector code to compute address. |
| 750 | |
| 751 | 2002-10-21 Elena Zannoni <ezannoni@redhat.com> |
| 752 | |
| 753 | * solib-svr4.c (svr4_fetch_objfile_link_map): New function. |
| 754 | * solib-svr4.h (svr4_fetch_objfile_link_map): Export. |
| 755 | |
| 756 | 2002-10-21 Elena Zannoni <ezannoni@redhat.com> |
| 757 | |
| 758 | * symtab.h (address_class): Rename |
| 759 | LOC_THREAD_LOCAL_STATIC to LOC_HP_THREAD_LOCAL_STATIC. |
| 760 | * hpread.c (hpread_process_one_debug_symbol): Ditto. |
| 761 | * printcmd.c (address_info): Ditto. |
| 762 | * findvar.c (symbol_read_needs_frame, read_var_value): Ditto. |
| 763 | |
| 764 | 2002-10-20 Mark Kettenis <kettenis@gnu.org> |
| 765 | |
| 766 | * i386bsd-nat.c (i386bsd_dr_set, i386bsd_dr_get_status): Use |
| 767 | DBREG_DRX macro to acces debug registers. |
| 768 | |
| 769 | * Makefile.in (i386obsd-tdep.o): New target. |
| 770 | |
| 771 | * solib-sunos.c: Include "bcache.h" and "regcache.h". |
| 772 | * Makefile.in (solib-sunos.o): Add $(bcache_h) and $(regcache_h). |
| 773 | |
| 774 | * configure.tgt (i[3456]86-*-openbsd*): Set gdb_target to obds. |
| 775 | * config/i386/obsd.mt: New file. |
| 776 | * i386bsd-nat.c (_initialize_i386bsd_nat): Introduce |
| 777 | i386obsd_sc_pc_offset and i386obsd_sc_sp_offset; |
| 778 | * i386obsd-nat.c (_initialize_i386obsd_nat): Set |
| 779 | i386obsd_sigtramp_start and i386obsd_sigtramp_end instead of |
| 780 | i386nbsd_sigtramp_start and i386nbsd_sigtramp_end. |
| 781 | * i386obsd-tdep.c: New file. |
| 782 | |
| 783 | 2002-10-19 Adam Fedor <fedor@gnu.org> |
| 784 | |
| 785 | * objc-exp.y (name_not_typename): Fix invalid comment. |
| 786 | |
| 787 | 2002-10-20 Mark Kettenis <kettenis@gnu.org> |
| 788 | |
| 789 | * solib-sunos.c (allocate_rt_common_objfile): Use bcache_xmalloc |
| 790 | to allocate partial syms and macro byte caches. |
| 791 | |
| 792 | 2002-10-18 David Carlton <carlton@math.stanford.edu> |
| 793 | |
| 794 | * symtab.h: Delete 'struct source' and 'struct sourcevector'. |
| 795 | |
| 796 | 2002-10-18 Adam Fedor <fedor@gnu.org> |
| 797 | |
| 798 | * stabsread.c (find_name_end): New function. |
| 799 | (define_symbol): Use it. |
| 800 | |
| 801 | 2002-10-18 Daniel Jacobowitz <drow@mvista.com> |
| 802 | |
| 803 | * config/alpha/nm-fbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1. |
| 804 | * config/alpha/nm-linux.h (CANNOT_STEP_BREAKPOINT): Define to 1. |
| 805 | * config/alpha/nm-nbsd.h (CANNOT_STEP_BREAKPOINT): Define to 1. |
| 806 | * config/alpha/nm-osf.h (CANNOT_STEP_BREAKPOINT): Define to 1. |
| 807 | |
| 808 | 2002-10-17 David Carlton <carlton@math.stanford.edu> |
| 809 | |
| 810 | * symfile.h: Add opaque declaration for struct obstack. |
| 811 | Declare obsavestring to take a const char *. |
| 812 | * symfile.c (obsavestring): Make first argument a const char *. |
| 813 | |
| 814 | 2002-10-16 Adam Fedor <fedor@gnu.org> |
| 815 | |
| 816 | * breakpoint.c (parse_breakpoint_sals): Ignore ObjC method |
| 817 | names when matching breakpoints in current file. |
| 818 | |
| 819 | 2002-10-16 Kevin Buettner <kevinb@redhat.com> |
| 820 | |
| 821 | * dwarf2read.c (dwarf2_invalid_pointer_size): New complaint. |
| 822 | (read_tag_pointer_type): Add address class support. |
| 823 | * gdbarch.sh (ADDRESS_CLASS_TYPE_FLAGS) |
| 824 | (ADDRESS_CLASS_TYPE_FLAGS_TO_NAME, ADDRESS_CLASS_NAME_TO_TYPE_FLAGS): |
| 825 | New methods. |
| 826 | * gdbarch.h, gdbarch.c: Regenerate. |
| 827 | * gdbtypes.c (address_space_name_to_int, address_space_int_to_name) |
| 828 | (make_type_with_address_space, recursive_type_dump): Add address |
| 829 | class support. |
| 830 | * gdbtypes.h (TYPE_FLAG_ADDRESS_CLASS_1, TYPE_FLAG_ADDRESS_CLASS_2) |
| 831 | (TYPE_FLAG_ADDRESS_CLASS_ALL, TYPE_ADDRESS_CLASS_1) |
| 832 | (TYPE_ADDRESS_CLASS_2, TYPE_ADDRESS_CLASS_ALL): New defines |
| 833 | |
| 834 | 2002-10-16 Klee Dienes <kdienes@apple.com> |
| 835 | |
| 836 | * stabsread.c (read_tilde_fields): Use name[sizeof(vptr_name)-2] |
| 837 | to get the last character of a char[] buffer, not |
| 838 | name[sizeof(vptr_name)-1]. |
| 839 | |
| 840 | 2002-10-14 Adam Fedor <fedor@gnu.org> |
| 841 | |
| 842 | * symtab.h: New objc_specific struct. |
| 843 | (SYMBOL_INIT_LANGUAGE_SPECIFIC): Handle ObjC. |
| 844 | (SYMBOL_DEMANGLED_NAME): Likewise. |
| 845 | |
| 846 | 2002-10-14 Adam Fedor <fedor@gnu.org> |
| 847 | |
| 848 | * symfile.c (init_filename_language_table): Add ObjC file extension. |
| 849 | |
| 850 | 2002-10-14 Adam Fedor <fedor@gnu.org> |
| 851 | |
| 852 | * utils.c (puts_filtered_tabular): New function. |
| 853 | (fprintf_symbol_filtered): Get ObjC demangled name. |
| 854 | * defs.h (puts_filtered_tabular): Declared. |
| 855 | |
| 856 | 2002-10-14 Kevin Buettner <kevinb@redhat.com> |
| 857 | |
| 858 | * c-lang.h (c_type_print_varspec_prefix): Delete. |
| 859 | * c-typeprint.c (c_type_print_varspec_prefix): Make static. Add |
| 860 | ``need_post_space'' parameter. Adjust all callers. |
| 861 | |
| 862 | 2002-10-14 Daniel Jacobowitz <drow@mvista.com> |
| 863 | |
| 864 | * config/mips/nm-irix4.h (HAVE_NONSTEPPABLE_WATCHPOINT): Define to 1. |
| 865 | * config/mips/nm-irix5.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise. |
| 866 | * config/mips/tm-embed.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise. |
| 867 | * config/pa/nm-hppah.h (HAVE_NONSTEPPABLE_WATCHPOINT): Likewise. |
| 868 | |
| 869 | 2002-10-13 Adam Fedor <fedor@gnu.org> |
| 870 | |
| 871 | * source.c (print_source_lines): Update comments. |
| 872 | |
| 873 | 2002-10-13 Adam Fedor <fedor@gnu.org> |
| 874 | |
| 875 | * valops.c (value_of_local): New function. |
| 876 | (value_of_this): Use it. |
| 877 | * value.h (value_of_local): Declared. |
| 878 | |
| 879 | 2002-10-13 Adam Fedor <fedor@gnu.org> |
| 880 | |
| 881 | * parse.c: (length_of_subexp, prefixify_subexp): Handle |
| 882 | OP_MSGCALL, OP_SELECTOR, OP_NSSTRING, and OP_SELF. |
| 883 | |
| 884 | 2002-10-12 Adam Fedor <fedor@gnu.org> |
| 885 | |
| 886 | * language.c (binop_result_type): Add language_objc to case. |
| 887 | (integral_type): Likewise. |
| 888 | (character_type): Likewise. |
| 889 | (string_type): Likewise. |
| 890 | (boolean_type): Likewise. |
| 891 | (structured_type): Likewise. |
| 892 | (binop_type_check): Likewise. |
| 893 | |
| 894 | 2002-10-11 Adam Fedor <fedor@gnu.org> |
| 895 | |
| 896 | * printcmd.c (address_info): Print 'self' for ObjC. |
| 897 | |
| 898 | 2002-10-11 Adam Fedor <fedor@gnu.org> |
| 899 | |
| 900 | * expression.h: New ops OP_NSSTRING, OP_SELECTOR, OP_MSGCALL, and |
| 901 | OP_SELF. |
| 902 | |
| 903 | 2002-10-11 Adam Fedor <fedor@gnu.org> |
| 904 | |
| 905 | * language.h (CAST_IS_CONVERSION): Add language_objc. |
| 906 | |
| 907 | 2002-10-11 Adam Fedor <fedor@gnu.org> |
| 908 | |
| 909 | * defs.h (enum language): Add language_objc. |
| 910 | |
| 911 | 2002-10-11 Klee Dienes <kdienes@apple.com> |
| 912 | |
| 913 | * corefile.c (read_memory_typed_address): New function. |
| 914 | * gdbcore.h (read_memory_typed_address): Add prototype. |
| 915 | * blockframe.c (sigtramp_saved_pc): Use read_memory_typed_address |
| 916 | to read a value destined for a CORE_ADDR, not read_memory_integer. |
| 917 | * f-valprint.c (f77_get_dynamic_upperbound): Ditto. |
| 918 | (f77_get_dynamic_lowerbound): Ditto. |
| 919 | |
| 920 | 2002-10-11 Martin M. Hunt <hunt@redhat.com> |
| 921 | |
| 922 | * utils.c (string_to_core_addr): After turning string into |
| 923 | a number, convert to a CORE_ADDR using INTEGER_TO_ADDRESS |
| 924 | which will do necessary sign-extension, etc. |
| 925 | |
| 926 | 2002-10-11 Daniel Jacobowitz <drow@mvista.com> |
| 927 | |
| 928 | * c-exp.y (THIS): Delete token and grammar rule. |
| 929 | (yylex): Don't return THIS. |
| 930 | * cp-valprint.c (vtbl_ptr_name_old): Delete. |
| 931 | (cp_is_vtbl_ptr_type): Don't check vtbl_ptr_name_old. |
| 932 | * demangle.c (cplus_markers): Update comment. Put '$' |
| 933 | first. Remove CPLUS_MARKER. |
| 934 | (_initialize_demangler): Don't call set_cplus_marker_for_demangling. |
| 935 | * jv-exp.y (THIS): Delete token and grammar rule. |
| 936 | (yylex): Don't return THIS. |
| 937 | * mips-tdep.c (mips_dump_tdep): Don't dump CPLUS_MARKER. |
| 938 | * objc-exp.y (THIS): Delete token and grammar rule. |
| 939 | (yylex): Don't return THIS. |
| 940 | * p-exp.y (yylex): Remove reference to CPLUS_MARKER. |
| 941 | * stabsread.c (vptr_name, vb_name): Replace CPLUS_MARKER with '$'. |
| 942 | (read_member_functions): Likewise for opname. |
| 943 | (read_tilde_fields): Use is_cplus_marker. |
| 944 | |
| 945 | * defs.h (CPLUS_MARKER): Don't define. |
| 946 | * config/tm-sysv4.h (CPLUS_MARKER): Likewise. |
| 947 | * config/i386/xm-i386sco.h (CPLUS_MARKER): Likewise. |
| 948 | * config/mips/tm-irix3.h (CPLUS_MARKER): Likewise. |
| 949 | * config/mips/tm-irix6.h (CPLUS_MARKER): Likewise. |
| 950 | * config/rs6000/tm-rs6000.h (CPLUS_MARKER): Likewise. |
| 951 | |
| 952 | * config/i386/tm-i386v4.h: Delete file. |
| 953 | * config/djgpp/fnchange.lst: Delete tm-i386v4.h. |
| 954 | * config/i386/tm-i386sol2.h: Include "i386/tm-i386.h" instead. |
| 955 | * config/i386/tm-i386v42mp.h: Include "i386/tm-i386.h" instead. |
| 956 | * config/i386/tm-ptx.h: Include "i386/tm-i386.h" instead. |
| 957 | * config/i386/i386gnu.mt (TM_FILE): Use tm-i386.h. |
| 958 | * config/i386/i386sco5.mt (TM_FILE): Likewise. |
| 959 | * config/i386/i386v4.mt (TM_FILE): Likewise. |
| 960 | * config/i386/ncr3000.mt (TM_FILE): Likewise. |
| 961 | |
| 962 | 2002-10-10 Marko Mlinar <markom@opencores.org> |
| 963 | |
| 964 | * infrun.c (resume): Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C, |
| 965 | accidentially not commited 2002-10-09 |
| 966 | * gdbarch.h, gdbarch.c: Re-generate. |
| 967 | |
| 968 | 2002-10-09 Marko Mlinar <markom@opencores.org> |
| 969 | |
| 970 | * infrun.c (resume): Convert #ifdef HAVE_NONSTEPPABLE_WATCHPOINT into C. |
| 971 | * gdbarch.sh (HAVE_NONSTEPPABLE_WATCHPOINT): Add. |
| 972 | * gdbarch.h, gdbarch.c: Re-generate. |
| 973 | |
| 974 | 2002-10-08 Petr Sorfa <petrs@caldera.com> |
| 975 | |
| 976 | Revised and re-submitted by John Wolfe <jlw@caldera.com> |
| 977 | |
| 978 | Move the Dwarf 2 abbrev table to a per-compilation-unit structure, |
| 979 | so we can work on more than one compilation unit at a time. This |
| 980 | helps prepare GDB to handle inter-CU die references. |
| 981 | * dwarf2read.c (ABBREV_HASH_SIZE): moved definition forward in |
| 982 | the code to be defined before struct comp_unit_head. |
| 983 | (comp_unit_head): Added new members - offset, cu_head, |
| 984 | begin_die, next and dwarf2_abbrevs. |
| 985 | (dwarf2_abbrevs): Removed single static var; now member of |
| 986 | struct comp_unit_head. |
| 987 | dwarf2_build_psymtabs_hard): Complete new struct comp_unit_head |
| 988 | members. |
| 989 | (psymtab_to_symtab_1): Changed to work with the new |
| 990 | struct comp_unit_head. |
| 991 | (dwarf2_read_abbrevs): Now accepts a cu_header parameter and |
| 992 | constructs the dwarf2_abbrevs[] inside the cu_header. |
| 993 | (dwarf2_empty_abbrev_table): Now expects a ptr to a |
| 994 | dwarf2_abbrev table to clean up. |
| 995 | (dwarf2_lookup_abbrev): Now accepts a cu_header parameter and |
| 996 | handling of dwarf2_abbrevs inside the cu_header. |
| 997 | (read_partial_die): Now supports the call to the new |
| 998 | dwarf2_lookup_abbrev. |
| 999 | (read_full_die): Now supports the call to the new |
| 1000 | dwarf2_lookup_abbrev. |
| 1001 | |
| 1002 | 2002-10-06 Christopher Faylor <cgf@redhat.com> |
| 1003 | |
| 1004 | * Makefile.in (install-gdbtk): Add missing continuation backslash to |
| 1005 | insure that shell variables, such as "transformed_name" are propagated |
| 1006 | to later shell statements in rule. |
| 1007 | |
| 1008 | 2002-10-06 Mark Kettenis <kettenis@gnu.org> |
| 1009 | |
| 1010 | * config/i386/nm-i386sco.h: Add protection against |
| 1011 | multiple-inclusion. Include "i386/nm-i386v.h". |
| 1012 | (REGISTER_U_ADDR): Remove define. |
| 1013 | (i386_register_u_addr): Remove prototype. |
| 1014 | |
| 1015 | 2002-10-04 Michael Snyder <msnyder@redhat.com> |
| 1016 | |
| 1017 | * m32r-stub.c (handle_exception): Make sure exception is "trap" |
| 1018 | before treating it as a single-step event. |
| 1019 | |
| 1020 | 2002-10-03 Adam Fedor <fedor@gnu.org> |
| 1021 | |
| 1022 | * objc-lang.c: ARI fixes. Change string.h to gdb_string.h. |
| 1023 | (objc_demangle): Remove assignment in if statements, Replace |
| 1024 | free with xfree. |
| 1025 | (add_msglist): Likewise. |
| 1026 | (end_msglist): Likewise. |
| 1027 | (complare_selectors): Likewise. |
| 1028 | (selectors_info): Likewise. |
| 1029 | (compare_classes): Likewise. |
| 1030 | (classes_info): Likewise. |
| 1031 | (print_object_command): Likewise. |
| 1032 | (find_objc_msgcall_submethod): Replace PTR with void *. |
| 1033 | * objc-lang.h: Remove check for __STDC__. |
| 1034 | |
| 1035 | 2002-10-03 Jeff Johnston <jjohnstn@redhat.com> |
| 1036 | |
| 1037 | * ui-out.h (ui_out_field_fmt_int): New prototype. |
| 1038 | * ui-out.c (ui_out_field_fmt_int): New function allowing specification |
| 1039 | of field width and alignment. |
| 1040 | * stack.c (print_frame_info_base): When printing frame level, use |
| 1041 | ui_out_field_fmt_int with a width of 2 and left alignment. Fix for |
| 1042 | PR gdb/192 |
| 1043 | |
| 1044 | 2002-10-03 Jeff Johnston <jjohnstn@redhat.com> |
| 1045 | |
| 1046 | * MAINTAINERS: Add self to Write After Approval list. |
| 1047 | |
| 1048 | 2002-10-02 Elena Zannoni <ezannoni@redhat.com> |
| 1049 | |
| 1050 | * infcmd.c (interrupt_target_command_wrapper): Delete. |
| 1051 | (interrupt_target_command): Make non static. |
| 1052 | (nofp_registers_info): Make static. |
| 1053 | * stack.c (return_command_wrapper): Delete. |
| 1054 | (return_command): Make non static. |
| 1055 | |
| 1056 | 2002-10-02 Elena Zannoni <ezannoni@redhat.com> |
| 1057 | |
| 1058 | * event-top.c (gdb_setup_readline): New function. Code moved from |
| 1059 | _initialize_event_loop(). |
| 1060 | (_initialize_event_loop): Call gdb_setup_readline(). |
| 1061 | |
| 1062 | 2002-10-02 Andrew Cagney <ac131313@redhat.com> |
| 1063 | |
| 1064 | * infrun.c (resume): Convert #ifdef CANNOT_STEP_BREAKPOINT into C. |
| 1065 | * gdbarch.sh (CANNOT_STEP_BREAKPOINT): Add. |
| 1066 | * gdbarch.h, gdbarch.c: Re-generate. |
| 1067 | |
| 1068 | 2002-10-02 Daniel Jacobowitz <drow@mvista.com> |
| 1069 | |
| 1070 | Fix PR gdb/778 |
| 1071 | * gdbtypes.c (fill_in_vptr_fieldno): Call check_typedef |
| 1072 | before recursing. |
| 1073 | * gnu-v3-abi.c (gnuv3_virtual_fn_field): Check return value |
| 1074 | of fill_in_vptr_fieldno. |
| 1075 | |
| 1076 | 2002-10-02 Elena Zannoni <ezannoni@redhat.com> |
| 1077 | |
| 1078 | * inferior.h (registers_info, stepi_command, nexti_command, |
| 1079 | continue_command, interrupt_target_command): Export from infcmd.c. |
| 1080 | * frame.h (args_info, selected_frame_level_changed_hook, |
| 1081 | return_command): Export from stack.c. |
| 1082 | * v850ice.c (stepi_command, nexti_command, continue_command): use |
| 1083 | prototypes from inferior.h. |
| 1084 | * tracepoint.c (registers_info, args_info, locals_info): Use |
| 1085 | prototypes from frame.h and inferior.h. |
| 1086 | * Makefile.in (mi-main.o): Add dependency on frame.h. |
| 1087 | |
| 1088 | 2002-10-02 Andrew Cagney <ac131313@redhat.com> |
| 1089 | |
| 1090 | * rs6000-tdep.c (rs6000_store_struct_return): Store struct_return |
| 1091 | value in register 3 adjusted by ppc_gp0_regnum. |
| 1092 | |
| 1093 | * rs6000-tdep.c (skip_prologue): Bias alloca_reg by ppc_gp0_regnum. |
| 1094 | |
| 1095 | 2002-10-02 Marko Mlinar <markom@opencores.org> |
| 1096 | |
| 1097 | * MAINTAINERS: Add myself to the Write After Approval list. |
| 1098 | |
| 1099 | 2002-10-01 Alexandre Oliva <aoliva@redhat.com> |
| 1100 | |
| 1101 | * mips-tdep.c (mips_find_abi_section): .mdebug.abi64 is the name |
| 1102 | of the section for the N64 ABI, fixed. |
| 1103 | |
| 1104 | * config/mips/tm-irix6.h: Include solib.h. |
| 1105 | |
| 1106 | 2002-10-01 Elena Zannoni <ezannoni@redhat.com> |
| 1107 | |
| 1108 | * dwarf2read.c (dwarf_stack_op_name): Recognize more dwarf3 and |
| 1109 | GNU operators. |
| 1110 | |
| 1111 | 2002-10-01 Andrew Cagney <ac131313@redhat.com> |
| 1112 | |
| 1113 | * NEWS: Mention that MI syntax, selected by "mi" changed to "mi2" |
| 1114 | and that "mi0" syntax has been removed. |
| 1115 | |
| 1116 | 2002-09-30 David Carlton <carlton@math.stanford.edu> |
| 1117 | |
| 1118 | * Makefile.in (ppc-sysv-tdep.o): Depend on gdb_string_h. |
| 1119 | * ppc-sysv-tdep.c: #include "gdb_string.h". |
| 1120 | * remote-sds.c (getmessage): Add semicolon after 'retry' label to |
| 1121 | pacify GCC. |
| 1122 | |
| 1123 | 2002-10-01 Andrew Cagney <ac131313@redhat.com> |
| 1124 | |
| 1125 | * rs6000-tdep.c (rs6000_gdbarch_init): For powerpc:7400, fix |
| 1126 | "vrsave"'s register number. |
| 1127 | |
| 1128 | 2002-09-30 Andrew Cagney <ac131313@redhat.com> |
| 1129 | |
| 1130 | * mips-tdep.c (mips_frame_saved_pc): When a generic dummy frame, |
| 1131 | use frame_unwind_signed_register to obtain the PC. |
| 1132 | (mips_frame_chain): Handle a generic dummy frame. |
| 1133 | (mips_init_extra_frame_info): When a generic dummy frame, don't |
| 1134 | re-compute the frame base. |
| 1135 | (mips_pop_frame): Handle generic dummy frames. |
| 1136 | (mips_gdbarch_init): When generic dummy frames, set |
| 1137 | use_generic_dummy_frames, push_dummy_frame to |
| 1138 | generic_push_dummy_frame, pc_in_call_dummy to |
| 1139 | generic_pc_in_call_dummy, and save_dummy_frame_top_of_stack to |
| 1140 | generic_save_dummy_frame_tos. |
| 1141 | |
| 1142 | 2002-09-30 Andrew Cagney <ac131313@redhat.com> |
| 1143 | |
| 1144 | * blockframe.c (generic_find_dummy_frame): Rewrite. Only test |
| 1145 | against TOP when TOP was explictly set. |
| 1146 | (generic_push_dummy_frame): Set TOP to zero. |
| 1147 | |
| 1148 | 2002-09-30 Elena Zannoni <ezannoni@redhat.com> |
| 1149 | |
| 1150 | * event-loop.c (start_event_loop): Rename variable 'result' to |
| 1151 | 'gdb_result', to avoid conflicts with upcoming intepreters changes. |
| 1152 | |
| 1153 | 2002-09-30 Keith Seitz <keiths@redhat.com> |
| 1154 | |
| 1155 | * gdb-events.sh (selected_thread_changed): New event. |
| 1156 | * gdb-events.c: Regenerated. |
| 1157 | * gdb-events.h: Regenerated. |
| 1158 | |
| 1159 | 2002-09-30 Hans-Peter Nilsson <hp@bitrange.com> |
| 1160 | |
| 1161 | * MAINTAINERS: Add self to Write After Approval list. |
| 1162 | |
| 1163 | 2002-09-30 Fernando Nasser <fnasser@redhat.com> |
| 1164 | |
| 1165 | * disasm.c: New file. |
| 1166 | * disasm.h: New file. |
| 1167 | * mi/mi-cmd-disas.c (gdb_dis_asm_read_memory): Moved to disasm.c. |
| 1168 | (compare_lines): Ditto. |
| 1169 | (dump_insns): Ditto. |
| 1170 | (do_mixed_source_and_assembly): Moved to disasm.c. Added uiout |
| 1171 | argument. |
| 1172 | (do_assembly_only): Ditto. |
| 1173 | (do_disassembly): Renamed to gdb_disassembly and moved to |
| 1174 | disasm.c. Sdded uiout argument. |
| 1175 | * Makefile.in: Add new files. Reorder SFILES list. Update |
| 1176 | dependencies. Include libgdb.a later in the insight executable. |
| 1177 | |
| 1178 | 2002-09-29 Andrew Cagney <ac131313@redhat.com> |
| 1179 | |
| 1180 | * config/djgpp/fnchange.lst: Rename bfd/elf64-alpha.c and |
| 1181 | bfd/elf64-alpha-fbsd.c. |
| 1182 | |
| 1183 | 2002-09-29 Andrew Cagney <ac131313@redhat.com> |
| 1184 | |
| 1185 | * config/djgpp/fnchange.lst: Rename i386gnu-nat.c and |
| 1186 | i386gnu-tdep.c. |
| 1187 | |
| 1188 | 2002-09-29 Andrew Cagney <ac131313@redhat.com> |
| 1189 | |
| 1190 | * gnu-nat.h (debug): Use __FILE__ and __LINE__ instead of |
| 1191 | __FUNCTION__. |
| 1192 | * gnu-nat.c (do_mach_notify_no_senders): Replace __FUNCTION__ with |
| 1193 | function name. |
| 1194 | (do_mach_notify_port_deleted, do_mach_notify_msg_accepted): Ditto. |
| 1195 | (do_mach_notify_port_destroyed, do_mach_notify_send_once): Ditto. |
| 1196 | (S_proc_setmsgport_reply, S_proc_getmsgport_reply): Ditto. |
| 1197 | (S_msg_sig_post_reply): Ditto. |
| 1198 | |
| 1199 | 2002-09-28 Corinna Vinschen <vinschen@redhat.com> |
| 1200 | |
| 1201 | * sh-tdep.c (sh_use_struct_convention): Use definition according |
| 1202 | to ABI. |
| 1203 | (sh_push_arguments): Store in register with correct endianess. |
| 1204 | (sh_default_store_return_value): Ditto. |
| 1205 | (sh_gdbarch_init): Set sizeof long double to 8. |
| 1206 | |
| 1207 | 2002-09-27 Mark Kettenis <kettenis@gnu.org> |
| 1208 | |
| 1209 | * defs.h: Move inclusion of "ansidecl.h" before "gdb_locale.h". |
| 1210 | Fix some whitespace problems. |
| 1211 | |
| 1212 | 2002-09-27 David Carlton <carlton@math.stanford.edu> |
| 1213 | |
| 1214 | * Makefile.in (cris-tdep.o): Depend on gdb_string_h. |
| 1215 | (mcore-tdep.o): Ditto. |
| 1216 | (ns32k-tdep.o): Ditto. |
| 1217 | (ns32knbsd-tdep.o): Ditto. |
| 1218 | (sh3-rom.o): Ditto. |
| 1219 | (vax-tdep.o): Ditto. |
| 1220 | * cris-tdep.c: #include "gdb_string.h" |
| 1221 | * mcore-tdep.c: Ditto. |
| 1222 | * ns32k-tdep.c: Ditto. |
| 1223 | * ns32knbsd-tdep.c: Ditto. |
| 1224 | * sh3-rom.c: Ditto. |
| 1225 | * vax-tdep.c: Ditto. |
| 1226 | |
| 1227 | 2002-09-27 David Carlton <carlton@math.stanford.edu> |
| 1228 | |
| 1229 | * config/djgpp/fnchange.lst: Add entries for |
| 1230 | gdb/testsuite/gdb.c++/m-static files. |
| 1231 | |
| 1232 | 2002-09-27 Jim Wilson <wilson@redhat.com> |
| 1233 | |
| 1234 | * MAINTAINERS: Add myself to the Write After Approval list. |
| 1235 | |
| 1236 | 2002-09-26 Martin M. Hunt <hunt@redhat.com> |
| 1237 | |
| 1238 | * mips-tdep.c (find_proc_desc): Initialize startaddr. |
| 1239 | |
| 1240 | |
| 1241 | 2002-09-26 Andrew Cagney <ac131313@redhat.com> |
| 1242 | |
| 1243 | * rs6000-tdep.c (rs6000_frame_chain): Don't chain past the dummy |
| 1244 | frame. |
| 1245 | |
| 1246 | 2002-09-26 Andrew Cagney <ac131313@redhat.com> |
| 1247 | |
| 1248 | * rs6000-tdep.c (rs6000_extract_struct_value_address): Return 0. |
| 1249 | (rs6000_struct_return_address): Delete variable. |
| 1250 | (rs6000_store_struct_return): Update. |
| 1251 | (rs6000_gdbarch_init): Set extract_struct_value_address instead of |
| 1252 | deprecated_extract_struct_value_address. |
| 1253 | (rs6000_frame_align): New function. |
| 1254 | (rs6000_gdbarch_init): Set frame_align. |
| 1255 | |
| 1256 | 2002-09-26 Andrew Cagney <ac131313@redhat.com> |
| 1257 | |
| 1258 | From Grace Sainsbury <graces@redhat.com>: |
| 1259 | * Makefile.in (gdbtk-main.o): New target. |
| 1260 | (gdb.o): New target. |
| 1261 | (main_h): Define. |
| 1262 | (main.o): Update dependencies. |
| 1263 | (gdb$(EXEEXT)): Add gdb.o. |
| 1264 | (SUBDIR_GDBTK_SRCS): Add gdbtk-main.c. |
| 1265 | (SUBDIR_GDBTK_ALL, SUBDIR_GDBTK_UNINSTALL): Set. |
| 1266 | (SUBDIR_GDBTK_CLEAN): Set. |
| 1267 | (install-gdbtk): Install the insight binary. |
| 1268 | (uninstall-gdbtk): New target. |
| 1269 | (all-gdbtk, clean-gdbtk): New rule. |
| 1270 | * top.c (use_windows): Default to zero. |
| 1271 | * main.c: Include "main.h". |
| 1272 | (main): Delete. |
| 1273 | (struct captured_main_args): Delete. |
| 1274 | (gdb_main): New function. |
| 1275 | * main.h: New file. |
| 1276 | * gdb.c: New File. |
| 1277 | |
| 1278 | 2002-09-25 Andrew Cagney <cagney@redhat.com> |
| 1279 | |
| 1280 | * frame.c: Include "gdb_string.h" and "builtin-regs.h". |
| 1281 | (frame_map_regnum_to_name): New function. |
| 1282 | (frame_map_name_to_regnum): New function. |
| 1283 | * frame.h (frame_map_name_to_regnum): Declare. |
| 1284 | (frame_map_regnum_to_name): Declare. |
| 1285 | * builtin-regs.c (builtin_reg_map_regnum_to_name): New function. |
| 1286 | * builtin-regs.h (builtin_reg_map_regnum_to_name): Declare. |
| 1287 | * parse.c: Do not include "builtin-regs.h". |
| 1288 | (target_map_name_to_register): Delete function. |
| 1289 | (write_dollar_variable): Use frame_map_name_to_regnum. |
| 1290 | * parser-defs.h (target_map_name_to_register): Delete declaration. |
| 1291 | * expprint.c: Include "frame.h". |
| 1292 | (print_subexp): Use frame_map_regnum_to_name. |
| 1293 | * eval.c (evaluate_subexp_standard): Use frame_map_regnum_to_name. |
| 1294 | * infcmd.c (registers_info): Use frame_map_name_to_regnum. |
| 1295 | |
| 1296 | 2002-09-25 Andrew Cagney <ac131313@redhat.com> |
| 1297 | |
| 1298 | * rs6000-tdep.c (rs6000_frame_saved_pc): If the link register |
| 1299 | wasn't saved, and the next innermost frame is a dummy, return the |
| 1300 | dummy frame's link register. |
| 1301 | |
| 1302 | 2002-09-24 Jim Blandy <jimb@redhat.com> |
| 1303 | |
| 1304 | Fix from Paul Breed: |
| 1305 | * main.c (captured_main): Add a `break' after the case for 'b'. |
| 1306 | |
| 1307 | 2002-09-24 Keith Seitz <keiths@redhat.com> |
| 1308 | |
| 1309 | * varobj.c (c_type_of_child): Use get_target_type instead |
| 1310 | of TYPE_TARGET_TYPE. |
| 1311 | |
| 1312 | 2002-09-22 Fernando Nasser <fnasser@redhat.com> |
| 1313 | |
| 1314 | * source.c (get_current_or_default_source_symtab_and_line): Remove |
| 1315 | function. |
| 1316 | (set_default_source_symtab_and_line): New function. Attempts to |
| 1317 | determine a source file to list lines from if one is not currently |
| 1318 | defined. |
| 1319 | (get_current_source_symtab_and_line): Initialize sal.pc and |
| 1320 | sal.end fields. |
| 1321 | (set_current_source_symtab_and_line): Mark argument as const. |
| 1322 | * source.h: Update declarations and comments. |
| 1323 | * linespec.c (decode_line_1): Replace call to removed routine above. |
| 1324 | * stack.c (print_frame_info_base): Ditto. |
| 1325 | * cli/cli-cmds.c (edit_command): Ditto. |
| 1326 | (list_command): Ditto. |
| 1327 | |
| 1328 | 2002-09-22 Fernando Nasser <fnasser@redhat.com> |
| 1329 | |
| 1330 | * source.c (get_current_or_default_source_symtab_and_line): Initialize |
| 1331 | sal.pc and sal.end fields. |
| 1332 | (get_current_or_default_source_symtab_and_line): Ditto. |
| 1333 | * breakpoint.c (parse_breakpoint_sals): Use correct accessor function |
| 1334 | so we do not cause a new source symtab to be searched for (reverting an |
| 1335 | unintentional change from the 2002-09-20 patch). |
| 1336 | * scm-lang.c (scm_unpac): Ditto. |
| 1337 | |
| 1338 | 2002-09-21 Andrew Cagney <cagney@redhat.com> |
| 1339 | |
| 1340 | * complaints.c (symfile_explanations): Remove new-line from |
| 1341 | ``isolated_message''. |
| 1342 | (vcomplaint): When ISOLATED_MESSAGE, force a line break. |
| 1343 | (clear_complaints): When a SUBSEQUENT_MESSAGE, force a line break. |
| 1344 | |
| 1345 | 2002-09-20 Nick Clifton <nickc@redhat.com> |
| 1346 | |
| 1347 | * NEWS: Announce that V850EA ISA is no longer supported. |
| 1348 | * v850-tdep.c: Remove reference to bfd_mach_v850ea. |
| 1349 | |
| 1350 | 2002-09-20 David Carlton <carlton@math.stanford.edu> |
| 1351 | |
| 1352 | * Makefile.in (c-lang.o): Correct dependencies. |
| 1353 | (utils.o): Gather dependencies. |
| 1354 | (charset.o): Move. |
| 1355 | * c-lang.c: #include "gdb_string.h" |
| 1356 | |
| 1357 | 2002-09-20 Fernando Nasser <fnasser@redhat.com> |
| 1358 | |
| 1359 | From 2002-07-02 George Helffrich <george@gly.bris.ac.uk> |
| 1360 | * cli/cli-cmds.c (list_command): New function. Implements the new |
| 1361 | cli edit command. |
| 1362 | (_init_cli_cmds): Add new command definition. |
| 1363 | * gdb.1: Document edit command. |
| 1364 | * doc/gdb.texinfo: Document edit command. |
| 1365 | |
| 1366 | 2002-09-20 Fernando Nasser <fnasser@redhat.com> |
| 1367 | |
| 1368 | * source.c: Make global variables current_source_symtab and |
| 1369 | current_source_line static. |
| 1370 | (list_command): Moved to cli/cli-cmds.c. |
| 1371 | (ambiguous_line_spec): Moved to cli/cli-cmds.c. |
| 1372 | (get_first_line_listed): New accessor function. |
| 1373 | (get_lines_to_list): New accessor function. |
| 1374 | (get_current_source_symtab_and_line): New function. Retrieves the |
| 1375 | position in the source code that we consider current. |
| 1376 | (get_current_or_default_source_symtab_and_line): New function. |
| 1377 | Like the above but attempts to determine a default position if one |
| 1378 | is not currently defined. |
| 1379 | (set_current_source_symtab_and_line): New function. Sets the source |
| 1380 | code position considered current and returns the previously set one. |
| 1381 | (clear_current_source_symtab_and_line): Reset stored information about |
| 1382 | a current source line. |
| 1383 | (_initialize_source): Remove registration for the "list" command and |
| 1384 | its alias. |
| 1385 | * source.h: Add declarations for the new functions above. |
| 1386 | * symtab.h: Remove declarations for the global variables mentioned |
| 1387 | above. |
| 1388 | * breakpoint.c (parse_breakpoint_sals): Use accessor functions to |
| 1389 | obtain current source line. |
| 1390 | * linespec.c (decode_line_1): Ditto. |
| 1391 | * macroscope.c (default_macro_scope): Ditto. |
| 1392 | * scm-lang.c (scm_unpac): Ditto. |
| 1393 | * stack.c (print_frame_info_base): Ditto. |
| 1394 | * symfile.c (clear_symtab_users): Ditto. |
| 1395 | * symtab.c (decode_line_spec): Ditto. |
| 1396 | * cli/cli-cmds.c (list_command): Moved here from source.c. |
| 1397 | (ambiguous_line_spec): Moved here from source.c. |
| 1398 | (_init_cli_cmds): Add definition for "list" and its alias. |
| 1399 | * Makefile.in: Update dependencies. |
| 1400 | |
| 1401 | 2002-09-20 Corinna Vinschen <vinschen@redhat.com> |
| 1402 | |
| 1403 | * h8300-tdep.c (h8300_examine_prologue): Match saved regs location |
| 1404 | with what gcc thinks is correct. |
| 1405 | |
| 1406 | 2002-09-20 Corinna Vinschen <vinschen@redhat.com> |
| 1407 | |
| 1408 | * h8300-tdep.c (h8300_examine_prologue): Fix loop for saved regs in |
| 1409 | multiple register push instruction. |
| 1410 | |
| 1411 | 2002-09-19 Jim Blandy <jimb@redhat.com> |
| 1412 | |
| 1413 | Add support for distinct host and target character sets. |
| 1414 | * charset.c, charset.h: New files. |
| 1415 | * c-exp.y: #include "charset.h". |
| 1416 | (yylex): Convert character and string literals to the target |
| 1417 | character set, before returning them as the semantic value of the |
| 1418 | token. |
| 1419 | * c-lang.c: #include "charset.h". |
| 1420 | (c_emit_char): Use charset-specific methods to recognize |
| 1421 | characters with backslash escape forms, to decide which characters |
| 1422 | to print literally and which to print using numeric escape |
| 1423 | sequences, and to convert target characters to host characters |
| 1424 | before printing. |
| 1425 | * utils.c: #include "charset.h". |
| 1426 | (no_control_char_error): New function. |
| 1427 | (parse_escape): Use charset-specific methods to recognize |
| 1428 | backslash escapes, parse `control character' notation, and convert |
| 1429 | characters from the host character set to the target character set. |
| 1430 | * configure.in: Set the default host character set. |
| 1431 | Check where to find iconv, and what its argument types might be. |
| 1432 | * acinclude.m4 (AM_ICONV): New macro, borrowed from GCC. |
| 1433 | * Makefile.in (SFILES): List charset.c. |
| 1434 | (COMMON_OBS): List charset.o. |
| 1435 | (charset.o): New rule. |
| 1436 | (charset_h): New header dependency variable. |
| 1437 | (c-lang.o, utils.o, c-exp.tab.o): Note dependency on $(charset_h). |
| 1438 | (LIBICONV): New variable, set by configure. |
| 1439 | (CLIBS): Include $(LIBICONV) here. |
| 1440 | * aclocal.m4, config.in, configure: Regenerated. |
| 1441 | |
| 1442 | 2002-09-19 Joel Brobecker <brobecker@gnat.com> |
| 1443 | |
| 1444 | * ada-exp.y: Add missing semicolons to end rules. Fixes a |
| 1445 | bison 1.35 warning. |
| 1446 | |
| 1447 | 2002-09-19 Richard Earnshaw <rearnsha@arm.com> |
| 1448 | |
| 1449 | * gdb_mbuild.sh: New file. |
| 1450 | |
| 1451 | 2002-09-19 Andrew Cagney <ac131313@redhat.com> |
| 1452 | |
| 1453 | * objc-exp.y, objc-lang.h, objc-lang.c: Fix copyright notice. |
| 1454 | |
| 1455 | 2002-09-18 Andrew Cagney <ac131313@redhat.com> |
| 1456 | |
| 1457 | * breakpoint.c, c-exp.y, defs.h, elfread.c, expression.h, |
| 1458 | jv-exp.y, language.c, language.h, p-exp.y, parse.c, parser-defs.h, |
| 1459 | printcmd.c, source.c, stabsread.c, symfile.c, symtab.h, utils.c, |
| 1460 | valops.c, value.h: Revert previous change. |
| 1461 | |
| 1462 | 2002-09-18 Michael Snyder <msnyder@redhat.com> |
| 1463 | |
| 1464 | Preliminary support for Objective-C: |
| 1465 | * defs.h (language_objc): New enum value. |
| 1466 | (puts_filtered_tabular): Declaration only, exported from utils.c. |
| 1467 | (skip_quoted): Delete, declared in completer.h. |
| 1468 | * c-exp.y: Include completer.h. |
| 1469 | * p-exp.y: Ditto. |
| 1470 | * jv-exp.y: Ditto. |
| 1471 | * expression.h (OP_MSGCALL, OP_SELECTOR, OP_SELF, OP_NSSTRING): |
| 1472 | New operator enum values. |
| 1473 | * language.h (CAST_IS_CONVERSION): Test for language_objc. |
| 1474 | * language.c (binop_result_type): Handle language_objc case. |
| 1475 | (integral_type, character_type, string_type, boolean_type, |
| 1476 | structured_type, binop_type_check): Ditto. |
| 1477 | * symtab.h (SYMBOL_OBJC_DEMANGLED_NAME): Define. |
| 1478 | (struct objc_specific): Add to general_symbol_info. |
| 1479 | (SYMBOL_INIT_LANGUAGE_SPECIFIC): Add objc initialization. |
| 1480 | (SYMBOL_DEMANGLED_NAME): Handle objc case. |
| 1481 | * parser-defs.h (struct objc_class_str): New struct type. |
| 1482 | (start_msglist, end_msglist, add_msglist): Declaration only, |
| 1483 | exported from objc-lang.c. |
| 1484 | * value.h (value_of_local, value_nsstring, |
| 1485 | call_function_by_hand_expecting_type): Exported from valops.c. |
| 1486 | * valops.c (find_function_addr): Export. |
| 1487 | (call_function_by_hand_expecting_type): New function. |
| 1488 | (value_of_local): New function. |
| 1489 | * symfile.c (init_filename_language_table): Add ".m" extension |
| 1490 | for Objective-C. |
| 1491 | * utils.c (puts_filtered_tabular): New function. |
| 1492 | (fprintf_symbol_filtered): Add objc demangling support (disabled). |
| 1493 | (set/show demangle): Extend help-string to refer to ObjC. |
| 1494 | * elfread.c (elf_symtab_read): Skip Objective-C special symbols. |
| 1495 | * stabsread.c (symbol_reference_defined): Objective-C symbols |
| 1496 | may contain colons: make allowances when scanning stabs strings |
| 1497 | for colons. |
| 1498 | (objc_find_colon): New function. |
| 1499 | * printcmd.c (address_info): If language == objc then print |
| 1500 | "self" instead of "this". |
| 1501 | * parse.c (length_of_subexp): Handle new operators OP_MSGCALL, |
| 1502 | OP_NSSTRING, and OP_SELF. |
| 1503 | (prefixify_subexp): Ditto. |
| 1504 | * source.c (print_source_lines): Mention objc in comment. |
| 1505 | * breakpoint.c (parse_breakpoint_sals): Recognize Objective-C |
| 1506 | method names. |
| 1507 | |
| 1508 | 2002-09-18 Andrew Cagney <ac131313@redhat.com> |
| 1509 | |
| 1510 | * complaints.h: Update copyright. |
| 1511 | (struct complaints): Declare. |
| 1512 | (struct complaint): Make `message' constant. |
| 1513 | (internal_complaint): Declare. |
| 1514 | (complaint): Declare. |
| 1515 | (complaint_root): Delete declaration. |
| 1516 | (symfile_complaints): Delete declaration. |
| 1517 | (struct complaints): Add opaque declaration. |
| 1518 | (clear_complaints): Add a complaints parameter. |
| 1519 | * complaints.c: Update copyright. |
| 1520 | (enum complaint_series): Define. |
| 1521 | (complaint_root): Delete. |
| 1522 | (struct complaints): Define. |
| 1523 | (complaint_sentinel, symfile_complaint_book): New variables. |
| 1524 | (symfile_explanations, symfile_complaints): New variables. |
| 1525 | New variables. |
| 1526 | (get_complaints): New function. |
| 1527 | (vcomplaint): New function. |
| 1528 | (complaint): New function. |
| 1529 | (internal_complaint): New function. |
| 1530 | (complain): Call vcomplain with symfile_complaint. |
| 1531 | (clear_complaints): Rewrite. |
| 1532 | (_initialize_complaints): Use add_setshow_command. |
| 1533 | * Makefile.in (complaints.o): Update dependencies. |
| 1534 | * symfile.c (syms_from_objfile): Add symfile_complaints parameter |
| 1535 | to call to clear_complaints. |
| 1536 | (new_symfile_objfile, reread_symbols): Ditto. |
| 1537 | (oldsyms_complaint): Delete. |
| 1538 | (empty_symtab_complaint, unknown_option_complaint): Delete. |
| 1539 | (free_named_symtabs): Use complaint instead of complain. |
| 1540 | |
| 1541 | 2002-09-18 Michael Snyder <msnyder@redhat.com> |
| 1542 | |
| 1543 | Contributed by Apple Computer, Inc. Merged with current sources |
| 1544 | by Adam Fedor <fedor@doc.com> [cagney]. |
| 1545 | |
| 1546 | * objc-lang.c: First clean-up round: comments, indentation. |
| 1547 | * objc-lang.h: Ditto. |
| 1548 | * objc-lang.y: Ditto. |
| 1549 | |
| 1550 | 2002-09-18 Andrew Cagney <ac131313@redhat.com> |
| 1551 | |
| 1552 | * maint.c (maintenance_internal_error): Print the parameter as the |
| 1553 | error message. |
| 1554 | (maintenance_internal_warning): New function. |
| 1555 | (_initialize_maint_cmds): Add command `maint internal-warning'. |
| 1556 | |
| 1557 | * defs.h (internal_warning, internal_vwarning): Declare. |
| 1558 | * utils.c (struct internal_problem): Define. |
| 1559 | (internal_vproblem): New function. |
| 1560 | (internal_warning): New function. |
| 1561 | (internal_vwarning): New function. |
| 1562 | (internal_warning_problem, internal_error_problem): New variables. |
| 1563 | (internal_verror): Just call internal_vproblem. |
| 1564 | |
| 1565 | 2002-09-18 Michael Snyder <msnyder@redhat.com> |
| 1566 | |
| 1567 | * objc-lang.c: New file, support for Objective-C. |
| 1568 | Preliminary check-in, not yet integrated into gdb. |
| 1569 | * objc-lang.h: New file. |
| 1570 | * objc-exp.y: New file. |
| 1571 | |
| 1572 | 2002-09-18 Andrew Cagney <ac131313@redhat.com> |
| 1573 | |
| 1574 | * infrun.c (signal_stop_update): Convert definition to ISO C. |
| 1575 | (signal_print_update): Ditto. |
| 1576 | (signal_pass_update): Ditto. |
| 1577 | * inflow.c (terminal_save_ours): Ditto. |
| 1578 | |
| 1579 | * h8300-tdep.c (h8300_gdbarch_init): Use C instead of C++ |
| 1580 | comments. |
| 1581 | |
| 1582 | * config/djgpp/fnchange.lst: Handle name clashes between |
| 1583 | bfd/coff-tic30.c, bfd/coff-tic4x.c, bfd/coff-tic54x.c and |
| 1584 | bfd/coff-tic80.c. |
| 1585 | |
| 1586 | * i386-linux-tdep.h: Fix tipo. |
| 1587 | |
| 1588 | 2002-09-18 Adam Fedor <fedor@gnu.org> |
| 1589 | |
| 1590 | * MAINTAINERS: Add myself to the Write After Approval list. |
| 1591 | |
| 1592 | 2002-09-18 Jim Blandy <jimb@redhat.com> |
| 1593 | |
| 1594 | * dbxread.c, mdebugread.c: Revert my change of 2001-10-23. Moving |
| 1595 | texthigh and textlow to reader-specific structs caused |
| 1596 | objfile_relocate to miss them. This is fixable, but the work that |
| 1597 | the change was supposed to prepare GDB for never got done anyway. |
| 1598 | |
| 1599 | 2002-09-18 David Carlton <carlton@math.stanford.edu> |
| 1600 | |
| 1601 | * MAINTAINERS: Alphabetize Write After Approval list. |
| 1602 | |
| 1603 | 2002-09-18 Daniel Jacobowitz <drow@mvista.com> |
| 1604 | |
| 1605 | Fix PR gdb/709 |
| 1606 | * values.c (value_static_field): Call read_var_value. |
| 1607 | |
| 1608 | 2002-09-18 Andrew Cagney <ac131313@redhat.com> |
| 1609 | |
| 1610 | * valops.c (hand_function_call): Align the initial stack pointer |
| 1611 | and STRUCT_ADDR using frame_align. When STRUCT_RETURN and |
| 1612 | FRAME_ALIGN_P, use STRUCT_ADDR to obtain the called function's |
| 1613 | return value. |
| 1614 | * mips-tdep.c (mips_frame_align): New function. |
| 1615 | (mips_gdbarch_init): Set frame_align. |
| 1616 | * gdbarch.sh (FRAME_ALIGN): New method. |
| 1617 | * gdbarch.h, gdbarch.c: Re-generate. |
| 1618 | |
| 1619 | 2002-09-18 Michal Ludvig <mludvig@suse.cz> |
| 1620 | |
| 1621 | * x86-64-linux-nat.c (x86_64_regmap): Added CS and SS |
| 1622 | registers. |
| 1623 | |
| 1624 | 2002-09-17 Andrew Cagney <ac131313@redhat.com> |
| 1625 | |
| 1626 | * NEWS: Mention that MIPS $fp behavior changed. |
| 1627 | * mipsnbsd-tdep.c (mipsnbsd_cannot_fetch_register): Delete |
| 1628 | reference to FP_REGNUM. |
| 1629 | (mipsnbsd_cannot_store_register): Ditto. |
| 1630 | * mips-linux-nat.c: Update copyright. |
| 1631 | (mips_linux_cannot_fetch_register): Delete reference to FP_REGNUM. |
| 1632 | (mips_linux_cannot_store_register): Ditto. |
| 1633 | * mips-linux-tdep.c (supply_gregset): Ditto. Update copyright. |
| 1634 | * config/mips/tm-mips.h: Update copyright. |
| 1635 | (FP_REGNUM): Delete macro. |
| 1636 | (MIPS_REGISTER_NAMES): Replace "fp" with "". |
| 1637 | * config/mips/tm-irix6.h (FP_REGNUM): Delete macro. |
| 1638 | * mips-tdep.c (mips_gdbarch_init): Set read_fp to mips_read_sp. |
| 1639 | (mips_r3041_reg_names, mips_r3051_reg_names) |
| 1640 | (mips_r3081_reg_names): Replace "fp" with "". |
| 1641 | Fix PR gdb/480. |
| 1642 | |
| 1643 | 2002-09-17 Theodore A. Roth <troth@verinet.com> |
| 1644 | |
| 1645 | * gdb/avr-tdep.c(avr_scan_prologue): Fix bad call to |
| 1646 | generic_read_register_dummy() (PR gdb/703). |
| 1647 | (avr_push_return_address): #if 0 out unused vars. |
| 1648 | (avr_gdbarch_init): Enable use of avr_push_return_address(). |
| 1649 | |
| 1650 | 2002-09-17 Michael Snyder <msnyder@redhat.com> |
| 1651 | |
| 1652 | * m32r-stub.c (restore_and_return): Postpone restoring of PSW. |
| 1653 | RTE will take care of it. |
| 1654 | |
| 1655 | 2002-09-17 Andrew Cagney <ac131313@redhat.com> |
| 1656 | |
| 1657 | * arch-utils.c (legacy_virtual_frame_pointer): If FP_REGNUM is |
| 1658 | invalid, return SP_REGNUM. |
| 1659 | |
| 1660 | 2002-09-17 Michael Snyder <msnyder@redhat.com> |
| 1661 | |
| 1662 | * mips-tdep.c (mips_pop_frame): Read saved values of floating |
| 1663 | point registers without sign extension. |
| 1664 | |
| 1665 | 2002-09-17 Andrew Cagney <cagney@redhat.com> |
| 1666 | |
| 1667 | * blockframe.c (deprecated_read_register_dummy): Rename |
| 1668 | generic_read_register_dummy. |
| 1669 | * frame.c (frame_unwind_signed_register): New function. |
| 1670 | (frame_unwind_unsigned_register): New function. |
| 1671 | * frame.h (frame_unwind_signed_register): Declare. |
| 1672 | (frame_unwind_unsigned_register): Declare. |
| 1673 | (deprecated_read_register_dummy): Rename |
| 1674 | generic_read_register_dummy. |
| 1675 | |
| 1676 | * h8300-tdep.c (h8300_frame_chain): Update. |
| 1677 | (h8300_frame_saved_pc): Update. |
| 1678 | * xstormy16-tdep.c (xstormy16_frame_saved_pc): Update. |
| 1679 | * rs6000-tdep.c (rs6000_frame_saved_pc): Update. |
| 1680 | * s390-tdep.c (s390_frame_saved_pc_nofix): Update. |
| 1681 | (s390_frame_chain): Update. |
| 1682 | * v850-tdep.c (v850_find_callers_reg): Update. |
| 1683 | (v850_frame_saved_pc): Update. |
| 1684 | * m32r-tdep.c (m32r_init_extra_frame_info): Update. |
| 1685 | (m32r_find_callers_reg): Update. |
| 1686 | (m32r_frame_saved_pc): Update. |
| 1687 | * sh-tdep.c (sh_find_callers_reg): Update. |
| 1688 | (sh64_get_saved_pr): Update. |
| 1689 | (sh_init_extra_frame_info): Update. |
| 1690 | (sh_init_extra_frame_info): Update. |
| 1691 | (sh64_init_extra_frame_info): Update. |
| 1692 | (sh64_init_extra_frame_info): Update. |
| 1693 | * mcore-tdep.c (mcore_find_callers_reg): Update. |
| 1694 | (mcore_frame_saved_pc): Update. |
| 1695 | (mcore_init_extra_frame_info): Update. |
| 1696 | * i386-tdep.c (i386_frame_saved_pc): Update. |
| 1697 | * ia64-tdep.c (ia64_frame_saved_pc): Update. |
| 1698 | (ia64_init_extra_frame_info): Update. |
| 1699 | (ia64_init_extra_frame_info): Update. |
| 1700 | * d10v-tdep.c (d10v_frame_saved_pc): Update. |
| 1701 | * cris-tdep.c (cris_init_extra_frame_info): Update. |
| 1702 | * avr-tdep.c (avr_frame_chain): Update. |
| 1703 | (avr_init_extra_frame_info): Update. |
| 1704 | (avr_frame_saved_pc): Update. |
| 1705 | * arm-tdep.c (arm_find_callers_reg): Update. |
| 1706 | (arm_init_extra_frame_info): Update. |
| 1707 | (arm_frame_saved_pc): Update. |
| 1708 | |
| 1709 | 2002-09-17 Tom Tromey <tromey@redhat.com> |
| 1710 | |
| 1711 | * c-lang.c (c_emit_char): Don't treat \0 specially unless quoter |
| 1712 | is "'". |
| 1713 | |
| 1714 | 2002-09-17 Corinna Vinschen <vinschen@redhat.com> |
| 1715 | |
| 1716 | * MAINTAINERS: Remove "non multi-arched" text from h8300. |
| 1717 | * h8300-tdep.c (h8300_next_prologue_insn) Renamed from |
| 1718 | NEXT_PROLOGUE_INSN. |
| 1719 | (h8300_examine_prologue): Call h8300_next_prologue_insn instead of |
| 1720 | NEXT_PROLOGUE_INSN. |
| 1721 | |
| 1722 | 2002-09-16 Joel Brobecker <brobecker@gnat.com> |
| 1723 | |
| 1724 | * osfsolib.c: Remove file, replaced by solib-osf.c. |
| 1725 | * Makefile.in: Remove compilation rules for osfsolib.c. |
| 1726 | |
| 1727 | 2002-09-16 David Carlton <carlton@math.stanford.edu> |
| 1728 | |
| 1729 | * cp-valprint.c (cp_print_class_method): Correct args to |
| 1730 | check_stub_method_group. |
| 1731 | |
| 1732 | 2002-09-16 Corinna Vinschen <vinschen@redhat.com> |
| 1733 | |
| 1734 | * h8300-tdep.c: Multiarch. Drop `set machine' command in favor of |
| 1735 | `set architecture'. Unify naming convention of functions. |
| 1736 | (h8300_skip_prologue): Improve prologue analysis. |
| 1737 | (h8300_push_arguments): Rewritten to more closely match GCC's |
| 1738 | bizarre argument-passing behavior, along with the comment describing |
| 1739 | said behavior. |
| 1740 | * remote-hms.c (hms_regnames): Don't use NUM_REGS in definition. |
| 1741 | * config/h8300/tm-h8300.h: Multiarch. Just keep stuff needed by |
| 1742 | sim, remote-e7000.c, remote-hms.c and remote.c |
| 1743 | |
| 1744 | 2002-09-15 Mark Kettenis <kettenis@gnu.org> |
| 1745 | |
| 1746 | * i386-tdep.c (gdb_print_insn_i386): Removed. |
| 1747 | (i386_print_insn): New function. |
| 1748 | (i386_gdbarch_init): Set print_insn to i386_print_insns. |
| 1749 | (_initialize_i386_tdep): Don't initialize tm_print_insn and |
| 1750 | tm_print_insn_info. |
| 1751 | |
| 1752 | 2002-09-14 Mark Kettenis <kettenis@gnu.org> |
| 1753 | |
| 1754 | * gdbtypes.c (check_stub_method_group): Initialize found_stub to |
| 1755 | zero. |
| 1756 | |
| 1757 | 2002-09-14 Corinna Vinschen <vinschen@redhat.com> |
| 1758 | |
| 1759 | * arch-utils.c (legacy_pc_in_sigtramp): Move preprocessor expression |
| 1760 | for IN_SIGTRAMP to here. Use IN_SIGTRAMP only if it's defined. |
| 1761 | Guard usage of SIGTRAMP_START() by using SIGTRAMP_START_P. |
| 1762 | |
| 1763 | 2002-09-13 Christopher Faylor <cgf@redhat.com> |
| 1764 | |
| 1765 | * win32-nat.c (child_create_inferior): Honor 'tty' command. |
| 1766 | |
| 1767 | 2002-09-13 Daniel Jacobowitz <drow@mvista.com> |
| 1768 | |
| 1769 | * gdbtypes.c (check_stub_method): Make static. |
| 1770 | (check_stub_method_group): New function. |
| 1771 | * gdbtypes.h: Update prototypes. |
| 1772 | * cp-support.c: New file. |
| 1773 | * cp-support.h: New file. |
| 1774 | |
| 1775 | * stabsread.c: Include "cp-abi.h" and "cp-support.h". |
| 1776 | (update_method_name_from_physname): New function. |
| 1777 | (read_member_functions): Correct method names for operators |
| 1778 | and v3 constructors/destructors. Separate v2 constructors and |
| 1779 | destructors. |
| 1780 | * Makefile.in (stabsread.o): Update dependencies. |
| 1781 | (SFILES): Add cp-support.c. |
| 1782 | (COMMON_OBS): Add cp-support.o. |
| 1783 | (cp_support_h, cp-support.o): Add. |
| 1784 | |
| 1785 | * cp-valprint.c (cp_print_class_method): Call |
| 1786 | check_stub_method_group instead of check_stub_method. Remove |
| 1787 | extraneous QUITs. |
| 1788 | * p-valprint.c (pascal_object_print_class_method): Likewise. |
| 1789 | * valops.c (search_struct_method): Likewise. |
| 1790 | (find_method_list, value_struct_elt_for_reference): Likewise. |
| 1791 | |
| 1792 | 2002-09-13 Andrew Cagney <cagney@redhat.com> |
| 1793 | |
| 1794 | * gdbarch.sh (SIGTRAMP_END): Change to a predicate function. |
| 1795 | * gdbarch.h, gdbarch.c: Regenerate. |
| 1796 | |
| 1797 | 2002-09-13 Andrew Cagney <ac131313@redhat.com> |
| 1798 | |
| 1799 | * frame.c (find_saved_register): Delete function. |
| 1800 | * frame.h (find_saved_register): Delete declaration. |
| 1801 | Fix PR gdb/631. |
| 1802 | |
| 1803 | Fri Sep 13 14:59:55 2002 Andrew Cagney <cagney@redhat.com> |
| 1804 | |
| 1805 | * mips-tdep.c (read_next_frame_reg): Re-hack using |
| 1806 | frame_register_unwind. |
| 1807 | |
| 1808 | Fri Sep 13 07:42:09 2002 Andrew Cagney <cagney@redhat.com> |
| 1809 | |
| 1810 | * mips-tdep.c (mips_get_saved_register): Re-hack using |
| 1811 | frame_register_unwind. |
| 1812 | |
| 1813 | 2002-09-12 Joel Brobecker <brobecker@gnat.com> |
| 1814 | |
| 1815 | * gdbarch.sh (NAME_OF_MALLOC): New variable in the architecture |
| 1816 | vector. Will be useful for Interix. |
| 1817 | * gdbarch.h, gdbarch.c: Regenerate. |
| 1818 | |
| 1819 | * valops.c (value_allocate_space_in_inferior): Replace hard-coded |
| 1820 | name of the malloc function by NAME_OF_MALLOC. |
| 1821 | |
| 1822 | 2002-09-12 Joel Brobecker <brobecker@gnat.com> |
| 1823 | |
| 1824 | * value.h (find_function_in_inferior): Add const keyword to |
| 1825 | one of the parameters. Allows us to invoke this function with |
| 1826 | a const char *. |
| 1827 | * valops.c (find_function_in_inferior): Likewise. |
| 1828 | |
| 1829 | 2002-09-12 Joel Brobecker <brobecker@gnat.com> |
| 1830 | |
| 1831 | * exec.c (xfer_memory): Fix compilation warning with old versions |
| 1832 | of GCC. |
| 1833 | * tracepoint.c (trace_find_tracepoint_command): Likewise. |
| 1834 | |
| 1835 | 2002-09-12 David Carlton <carlton@math.stanford.edu> |
| 1836 | |
| 1837 | * symtab.h: Run through gdb_indent.h. |
| 1838 | Add 2002 to Copyright year list. |
| 1839 | |
| 1840 | 2002-09-12 Alan Modra <amodra@bigpond.net.au> |
| 1841 | |
| 1842 | * x86-64-tdep.c (_initialize_x86_64_tdep): Don't use hard-coded |
| 1843 | mach constants. |
| 1844 | * MAINTAINERS: Add myself to write after approval list. |
| 1845 | |
| 1846 | 2002-09-11 J. Brobecker <brobecker@gnat.com> |
| 1847 | |
| 1848 | * osabi.c (gdb_osabi_name): Add entry for GDB_OSABI_INTERIX. |
| 1849 | |
| 1850 | 2002-09-11 J. Brobecker <brobecker@gnat.com> |
| 1851 | |
| 1852 | * osabi.h (gdb_osabi): Add new GDB_OSABI_INTERIX enum value for |
| 1853 | Interix. |
| 1854 | |
| 1855 | 2002-06-05 Paul N. Hilfinger <hilfingr@otisco.mckusick.com> |
| 1856 | |
| 1857 | * procfs.c (do_detach): Clear current signal, not just fault. |
| 1858 | Corrects problem with breakpoint trap signal leaking to detached |
| 1859 | process on Tru64. |
| 1860 | |
| 1861 | 2002-09-10 Michael Snyder <msnyder@redhat.com> |
| 1862 | |
| 1863 | * buildsym.c (finish_block): Protect against null pointer. |
| 1864 | |
| 1865 | 2002-09-10 Andrew Cagney <cagney@redhat.com> |
| 1866 | |
| 1867 | * infcmd.c (default_print_registers_info): Send all output to |
| 1868 | ``file'' instead of ``gdb_stdout''. |
| 1869 | |
| 1870 | 2002-09-10 Michael Snyder <msnyder@redhat.com> |
| 1871 | |
| 1872 | * mips-tdep.c (mips_extract_struct_value_address): Make val a |
| 1873 | LONGEST, and use signed register read (addresses are sign- |
| 1874 | extended for mips). |
| 1875 | |
| 1876 | 2002-09-10 Stephane Carrez <stcarrez@nerim.fr> |
| 1877 | |
| 1878 | * event-loop.c (gdb_do_one_event): Make public. |
| 1879 | * event-loop.h (gdb_do_one_event): Declare. |
| 1880 | |
| 1881 | 2002-09-10 Jeff Law <law@redhat.com> |
| 1882 | |
| 1883 | * infttrace.c (child_resume): Simplify and rework to avoid |
| 1884 | TT_PROC_CONTINUE. |
| 1885 | |
| 1886 | 2002-09-09 Fred Fish <fnf@intrinsity.com> |
| 1887 | |
| 1888 | * printcmd.c (print_scalar_formatted): "len" is the number of |
| 1889 | target bytes, NOT the number of target bits. |
| 1890 | |
| 1891 | 2002-09-09 Elena Zannoni <ezannoni@redhat.com> |
| 1892 | |
| 1893 | From: Emmanuel Thome' <thome@lix.polytechnique.fr> |
| 1894 | * top.c (init_main): Set rl_terminal_name. |
| 1895 | |
| 1896 | 2002-09-08 Aidan Skinner <aidan@velvet.net> |
| 1897 | |
| 1898 | * ada-lang.c (ada_array_bound, ada_type_match, |
| 1899 | _initialize_ada_language): Fix K&R definitions. |
| 1900 | * ada-tasks.c (get_current_task): Fix K&R definitions. |
| 1901 | * ada-valprint.c (adjust_type_signedness): Fix K&R definitions. |
| 1902 | |
| 1903 | 2002-09-07 Christopher Faylor <cgf@redhat.com> |
| 1904 | |
| 1905 | * MAINTAINERS: Remove CE from list of maintainership responsibilities. |
| 1906 | Add XP. |
| 1907 | |
| 1908 | 2002-09-06 Mark Kettenis <kettenis@gnu.org> |
| 1909 | |
| 1910 | * i386-tdep.c (i386_register_virtual_type, |
| 1911 | i386_register_convertible, i386_register_convert_to_virtual, |
| 1912 | i386_register_comvert_to_raw): Use FP_REGNUM_P and SSE_REGNUM_P |
| 1913 | instead of IS_FP_REGNUM and IS_SSE_REGNUM. |
| 1914 | (i386_gdbarch_init): Fix comment. Add comments on calls that set |
| 1915 | sp_regnum, fp_regnum, pc_regnum, ps_regnum and fp0_regnum. |
| 1916 | Don't set push_arguments twice. |
| 1917 | |
| 1918 | * i386bsd-tdep.c (i386bsd_init_abi): Set sigtramp_start and |
| 1919 | sigtramp_end to i386bsd_sigtramp_start and i386bsd_sigtramp_end. |
| 1920 | * i386nbsd-tdep.c (i386nbsd_init_abi): Set sigtramp_start and |
| 1921 | sigtramp_end to NULL. |
| 1922 | * config/i386/tm-fbsd.h (SIGTRAMP_START, SIGTRAMP_END): Remove |
| 1923 | defines. |
| 1924 | (i386bsd_sigtramp_start, i386_sigtramp_end): Remove prototypes. |
| 1925 | |
| 1926 | * i386nbsd-tdep.c (i386nbsd_pc_in_sigtramp): Remove spurious |
| 1927 | whitespace. |
| 1928 | |
| 1929 | * gdbarch.sh (SIGTRAMP_START, SIGTRAMP_END): New methods. |
| 1930 | * gdbarch.h, gdbarch.c: Re-generate. |
| 1931 | * blockframe.c (find_pc_sect_partial_function): Convert to use |
| 1932 | SIGTRAMP_START_P predicate. |
| 1933 | |
| 1934 | 2002-09-05 Michael Snyder <msnyder@redhat.com> |
| 1935 | |
| 1936 | * arm-tdep.c (arm_init_extra_frame_info): Distinguish between |
| 1937 | generic_dummy_frame method and old method. Also distinguish |
| 1938 | between ARM_FP_REGNUM and THUMB_FP_REGNUM. |
| 1939 | (arm_extract_return_value): Use new regcache method. |
| 1940 | |
| 1941 | * mips-tdep.c (mips_n32n64_push_arguments): Remove alignment |
| 1942 | adjustment that doesn't conform to the ABI. |
| 1943 | (mips_extract_struct_value_address): Retrieve V0_REGNUM from |
| 1944 | saved regcache, not from current regcache. |
| 1945 | |
| 1946 | 2002-09-05 Andrew Cagney <ac131313@redhat.com> |
| 1947 | |
| 1948 | * NEWS: Update for 5.3. Add new section ``Changes since 5.3''. |
| 1949 | * README: Update. |
| 1950 | |
| 1951 | 2002-09-04 Jason Thorpe <thorpej@wasabisystems.com> |
| 1952 | |
| 1953 | * arm-tdep.c (arm_addr_bits_remove): Don't check for Thumb mode |
| 1954 | if arm_apcs_32 is false. |
| 1955 | |
| 1956 | 2002-09-04 Andrew Cagney <ac131313@redhat.com> |
| 1957 | |
| 1958 | GDB 5.3 branch created. |
| 1959 | |
| 1960 | 2002-09-03 Theodore A. Roth <troth@verinet.com> |
| 1961 | |
| 1962 | * gdb/avr-tdep.c (avr_gdbarch_init): Use |
| 1963 | generic_unwind_get_saved_register. |
| 1964 | |
| 1965 | 2002-09-03 David Carlton <carlton@math.stanford.edu> |
| 1966 | |
| 1967 | * dwarf2read.c (dwarf2_add_member_fn): Add the 'type' |
| 1968 | argument (PR gdb/653). Update call to smash_to_method_type. |
| 1969 | (read_structure_scope): Update call to dwarf2_add_member_fn. |
| 1970 | |
| 1971 | 2002-09-03 Michal Ludvig <mludvig@suse.cz> |
| 1972 | |
| 1973 | * x86-64-linux-tdep.c: Include gdb_string.h |
| 1974 | * x86-64-linux-nat.c: Ditto. |
| 1975 | |
| 1976 | 2002-09-02 Jason Thorpe <thorpej@wasabisystems.com> |
| 1977 | |
| 1978 | * ada-exp.y (yyname, yyrule): Remap global variables that appear |
| 1979 | when YYDEBUG is set to 1. |
| 1980 | * c-exp.y: Likewise. |
| 1981 | * f-exp.y: Likewise. |
| 1982 | * jv-exp.y: Likewise. |
| 1983 | * m2-exp.y: Likewise. |
| 1984 | * p-exp.y: Likewise. |
| 1985 | |
| 1986 | 2002-09-02 Jason Thorpe <thorpej@wasabisystems.com> |
| 1987 | |
| 1988 | * Makefile.in (i386nbsd-tdep.o): Add $(solib_svr4_h) to |
| 1989 | dependency list. |
| 1990 | * i386nbsd-tdep.c (i386nbsdelf_init_abi): Set |
| 1991 | solib_svr4_fetch_link_map_offsets to |
| 1992 | nbsd_ilp32_solib_svr4_fetch_link_map_offsets. |
| 1993 | * config/i386/nbsd.mt (TDEPFILES): Add solib.o and solib-svr4.o. |
| 1994 | * config/i386/nbsdaout.mh (NATDEPFILES): Remove solib.o. |
| 1995 | * config/i386/nbsdelf.mh (NATDEPFILES): Remove solib.o, |
| 1996 | solib-svr4.o, and solib-legacy.o. |
| 1997 | * config/i386/tm-nbsd.h: Include solib.h. |
| 1998 | |
| 1999 | 2002-09-02 Jason Thorpe <thorpej@wasabisystems.com> |
| 2000 | |
| 2001 | * configure.tgt (i[3456]86-*-netbsdelf*): Merge with... |
| 2002 | (i[3456]86-*-netbsd*): ...this. Set gdb_target to nbsd. |
| 2003 | (i[3456]86-*-openbsd*): Make this a separate entry. Add a |
| 2004 | comment noting that this needs its own target configuration. |
| 2005 | * config/i386/nbsd.mt: New file. |
| 2006 | * config/i386/nbsdaout.mt: Remove. |
| 2007 | * config/i386/nbsdelf.mt: Ditto. |
| 2008 | * config/i386/tm-nbsdaout.h: Ditto. |
| 2009 | |
| 2010 | 2002-09-02 Jason Thorpe <thorpej@wasabisystems.com> |
| 2011 | |
| 2012 | * i386nbsd-tdep.c (i386nbsd_sigtramp_offset): New function. |
| 2013 | (i386nbsd_pc_in_sigtramp): Rewrite to use i386nbsd_sigtramp_offset. |
| 2014 | (i386nbsd_init_abi): Don't initialize tdep->sigtramp_start or |
| 2015 | tdep->sigtramp_end. |
| 2016 | (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end): Remove. |
| 2017 | * config/i386/tm-nbsd.h (SIGTRAMP_START, SIGTRAMP_END) |
| 2018 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Remove. |
| 2019 | |
| 2020 | 2002-09-02 Jason Thorpe <thorpej@wasabisystems.com> |
| 2021 | |
| 2022 | * Makefile.in (i386nbsd-tdep.o): Add $(arch_utils_h), |
| 2023 | $(i386_tdep_h), and $(nbsd_tdep_h) to dependency list. |
| 2024 | * i386-tdep.h (i386bsd_init_abi): New prototype. |
| 2025 | * i386bsd-tdep.c (i386bsd_init_abi): Remove "static" from |
| 2026 | function declaration. |
| 2027 | (_initialize_i386bsd_tdep): Don't register OS ABI handlers |
| 2028 | for NetBSD-a.out or NetBSD-ELF. |
| 2029 | (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end) |
| 2030 | (i386nbsd_sc_pc_offset, i386nbsd_sc_sp_offset) |
| 2031 | (i386nbsd_init_abi, i386nbsdelf_init_abi): Move to... |
| 2032 | * i386nbsd-tdep.c: ...here. Include arch-utils.h, i386-tdep.h, |
| 2033 | and nbsd-tdep.h. |
| 2034 | (i386nbsd_pc_in_sigtramp): New function. |
| 2035 | (i386nbsd_init_abi): Set gdbarch_pc_in_sigtramp to |
| 2036 | i386nbsd_pc_in_sigtramp. |
| 2037 | (_initialize_i386nbsd_tdep): Register i386nbsd_init_abi |
| 2038 | and i386nbsdelf_init_abi OS ABI handlers. |
| 2039 | * config/i386/nbsdaout.mt (TDEPFILES): Add nbsd-tdep.o. |
| 2040 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. |
| 2041 | |
| 2042 | 2002-09-02 Mark Kettenis <kettenis@gnu.org> |
| 2043 | |
| 2044 | * i386-linux-nat.c (dummy_sse_values): Only try to fill in the SSE |
| 2045 | registers if the target really has them. |
| 2046 | |
| 2047 | 2002-08-31 Jason Thorpe <thorpej@wasabisystems.com> |
| 2048 | |
| 2049 | * Makefile.in (mipsnbsd-tdep.o): Use $(nbsd_tdep_h) rather |
| 2050 | than nbsd-tdep.h. |
| 2051 | |
| 2052 | 2002-08-31 Jason Thorpe <thorpej@wasabisystems.com> |
| 2053 | |
| 2054 | * Makefile.in (alphanbsd-tdep.o): Add $(frame_h) to dependency |
| 2055 | list. |
| 2056 | * alphanbsd-tdep.c (alphanbsd_sigcontext_addr) |
| 2057 | (alphanbsd_skip_sigtramp_frame): New functions. |
| 2058 | (alphanbsd_init_abi): Set tdep->skip_sigtramp_frame to |
| 2059 | alphanbsd_skip_sigtramp_frame. Set tdep->sigcontext_addr |
| 2060 | to alphanbsd_sigcontext_addr. |
| 2061 | |
| 2062 | 2002-08-31 Jason Thorpe <thorpej@wasabisystems.com> |
| 2063 | |
| 2064 | * Makefile.in (mipsnbsd-tdep.o): Add nbsd-tdep.h to dependency |
| 2065 | list. |
| 2066 | (nbsd-tdep.o): Add $(gdb_string_h) to dependency list. |
| 2067 | * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): Use |
| 2068 | nbsd_pc_in_sigtramp. |
| 2069 | * mipsnbsd-tdep.c: Include nbsd-tdep.h. |
| 2070 | (mipsnbsd_pc_in_sigtramp): Use nbsd_pc_in_sigtramp. |
| 2071 | * nbsd-tdep.c: Include gdb_string.h. |
| 2072 | (nbsd_pc_in_sigtramp): New function. |
| 2073 | * nbsd-tdep.h (nbsd_pc_in_sigtramp): New prototype. |
| 2074 | * ppcnbsd-tdep.c (ppcnbsd_pc_in_sigtramp): New function. |
| 2075 | (ppcnbsd_init_abi): Set gdbarch_pc_in_sigtramp to |
| 2076 | ppcnbsd_pc_in_sigtramp. |
| 2077 | * shnbsd-tdep.c (shnbsd_pc_in_sigtramp): New function. |
| 2078 | (shnbsd_init_abi): Set gdbarch_pc_in_sigtramp to |
| 2079 | shnbsd_pc_in_sigtramp. |
| 2080 | * sparcnbsd-tdep.c (sparcnbsd_init_abi_elf): Set |
| 2081 | gdbarch_pc_in_sigtramp to nbsd_pc_in_sigtramp. |
| 2082 | * config/mips/nbsd.mt (TDEPFILES): Add nbsd-tdep.o. |
| 2083 | |
| 2084 | 2002-08-30 Pierre Muller <muller@ics.u-strasbg.fr> |
| 2085 | |
| 2086 | * breakpoint.c (breakpoint_init_inferior): Reset the val field of |
| 2087 | watchpoints to NULL. |
| 2088 | (insert_breakpoints): set val field of watchpoints if NULL. |
| 2089 | |
| 2090 | |
| 2091 | 2002-08-29 Jim Blandy <jimb@redhat.com> |
| 2092 | |
| 2093 | * symtab.c (lookup_symbol_aux): In the cases where we find a |
| 2094 | minimal symbol of an appropriate name and use its address to |
| 2095 | select a symtab to read and search, use `name' (as passed to us) |
| 2096 | as the demangled name when searching the symtab's global and |
| 2097 | static blocks, not the minsym's name. |
| 2098 | |
| 2099 | 2002-08-29 Keith Seitz <keiths@redhat.com> |
| 2100 | |
| 2101 | * stack.c (print_frame_info_base): Always set current_source_symtab |
| 2102 | and current_source_line. |
| 2103 | |
| 2104 | 2002-08-29 Donn Terry <donnte@microsoft.com> |
| 2105 | |
| 2106 | * proc-api.c (rw_table): Fix typo in #ifdef PCSHOLD (missing S). |
| 2107 | |
| 2108 | 2002-08-28 Keith Seitz <keiths@redhat.com> |
| 2109 | |
| 2110 | * stack.c (select_frame): Add FIXME concerning selected-frame |
| 2111 | events. |
| 2112 | (select_frame_command): Send selected-frame-level-changed |
| 2113 | event notification, but only if the level actually changed. |
| 2114 | (up_silently_base): Add selected-frame-level-changed event |
| 2115 | notification. |
| 2116 | (down_silently_base): Likewise. |
| 2117 | |
| 2118 | 2002-08-28 Andrew Cagney <ac131313@redhat.com> |
| 2119 | |
| 2120 | * Makefile.in: Update dependencies for all gdb/*.c files. |
| 2121 | |
| 2122 | 2002-08-27 Tom Tromey <tromey@redhat.com> |
| 2123 | |
| 2124 | * Makefile.in (osabi.o, i387-tdep.o, i386-linux-nat.o, lin-lwp.o, |
| 2125 | ax-gdb.o, signals.o, jv-valprint.o, c-valprint.o, cp-abi.o): |
| 2126 | Update dependencies. |
| 2127 | * i387-tdep.c: Include gdb_string.h. |
| 2128 | * osabi.c: Likewise. |
| 2129 | * i386-linux-nat.c: Likewise. |
| 2130 | * lin-lwp.c: Likewise. |
| 2131 | * ax-gdb.c: Likewise. |
| 2132 | * signals/signals.c: Likewise. |
| 2133 | * jv-valprint.c: Likewise. |
| 2134 | * p-lang.c: Likewise. |
| 2135 | * c-valprint.c: Likewise. |
| 2136 | * cp-abi.c: Likewise. |
| 2137 | |
| 2138 | 2002-08-27 Elena Zannoni <ezannoni@redhat.com> |
| 2139 | |
| 2140 | * cli/cli-script.h (copy_command_lines): Export. |
| 2141 | * breakpoint.c: Include cli/cli-script.h. |
| 2142 | * Makefile.in (breakpoint.o): Update dependencies. |
| 2143 | |
| 2144 | 2002-08-26 Michael Snyder <msnyder@redhat.com> |
| 2145 | |
| 2146 | * breakpoint.c (insert_breakpoints): Protect all references |
| 2147 | to 'process_warning'. Shorten long lines. |
| 2148 | |
| 2149 | 2002-08-26 Joel Brobecker <brobecker@gnat.com> |
| 2150 | |
| 2151 | * cli/cli-script.c (copy_command_lines): New function. |
| 2152 | * defs.h (copy_command_lines): Export. |
| 2153 | * testsuite/gdb.base/commands.exp: New tests for commands |
| 2154 | attached to a temporary breakpoint, and for commands that |
| 2155 | delete the breakpoint they are attached to. |
| 2156 | |
| 2157 | 2002-08-26 Michael Snyder <msnyder@redhat.com> |
| 2158 | |
| 2159 | * breakpoint.c (bpstat_stop_status): Instead of copying the |
| 2160 | pointer to the breakpoint commands struct, make a new copy |
| 2161 | of the struct and point to that. |
| 2162 | (bpstat_clear): Free the commands struct. |
| 2163 | (bpstat_clear_actions): Free the commands struct. |
| 2164 | (bpstat_do_actions): Free the command actions. Also execute |
| 2165 | the local cleanups, instead of deleting them. |
| 2166 | (delete_breakpoint): Leave the commands field of the bpstat |
| 2167 | chain alone -- it will be freed later. |
| 2168 | |
| 2169 | 2002-08-26 Kevin Buettner <kevinb@redhat.com> |
| 2170 | |
| 2171 | * rs6000-tdep.c (altivec_register_p): Restore function inadvertently |
| 2172 | deleted in 2002-08-20 commit. This function is still used by |
| 2173 | ppc-linux-nat.c. |
| 2174 | |
| 2175 | 2002-08-26 Keith Seitz <keiths@redhat.com> |
| 2176 | |
| 2177 | * gdb-events.sh: Add selected-frame-level-changed event. |
| 2178 | * gdb-events.c: Regenerated. |
| 2179 | * gdb-events.h: Regenerated. |
| 2180 | |
| 2181 | 2002-08-26 Stephane Carrez <stcarrez@nerim.fr> |
| 2182 | |
| 2183 | Fix PR gdb/393: |
| 2184 | * inflow.c (terminal_save_ours): New function to save terminal |
| 2185 | settings. |
| 2186 | * inferior.h (terminal_save_ours): Declare. |
| 2187 | * target.c (debug_to_terminal_save_ours): New function. |
| 2188 | (cleanup_target): Defaults to_terminal_save_ours. |
| 2189 | (update_current_target): Inherit to_terminal_save_ours. |
| 2190 | (setup_target_debug): Set to_terminal_save_ours. |
| 2191 | * target.h (target_terminal_save_ours): New to save terminal settings. |
| 2192 | (target_ops): New member to_terminal_save_ours. |
| 2193 | * gnu-nat.c (init_gnu_ops): Set to_terminal_save_ours. |
| 2194 | * hpux-thread.c (init_hpux_thread_ops): Likewise. |
| 2195 | * inftarg.c (init_child_ops): Likewise. |
| 2196 | * m3-nat.c (init_m3_ops): Likewise. |
| 2197 | * procfs.c (init_procfs_ops): Likewise. |
| 2198 | * wince.c (init_child_ops): Likewise. |
| 2199 | * win32-nat.c (init_child_ops): Likewise. |
| 2200 | * sol-thread.c (init_sol_thread_ops): Likewise. |
| 2201 | |
| 2202 | 2002-08-26 Mark Kettenis <kettenis@gnu.org> |
| 2203 | |
| 2204 | * i386-tdep.c (i386_store_return_value): Undeprecate. Convert to |
| 2205 | use regcache_* functions. |
| 2206 | (i386_gdbarch_init): Set store_return_value instead of |
| 2207 | deprecated_store_return_value. |
| 2208 | |
| 2209 | * regcache.c (regcache_raw_write_signed, |
| 2210 | regcache_raw_write_unsigned): New functions. |
| 2211 | * regcache.h (regcache_raw_write_signed, |
| 2212 | regcache_raw_write_unsigned): New prototypes. |
| 2213 | |
| 2214 | 2002-08-25 Andrew Cagney <ac131313@redhat.com> |
| 2215 | |
| 2216 | * Makefile.in (c-exp.tab.o, jv-exp.tab.o, f-exp.tab.o) |
| 2217 | (m2-exp.tab.o, p-exp.tab.o, ada-exp.tab.o): Move to before the |
| 2218 | source file dependencies. Cleanup corresponding generator rules. |
| 2219 | |
| 2220 | 2002-08-25 Andrew Cagney <ac131313@redhat.com> |
| 2221 | |
| 2222 | * regcache.h (register_offset_hack): Declare. |
| 2223 | (regcache_cooked_read_using_offset_hack): Declare. |
| 2224 | (regcache_cooked_write_using_offset_hack): Declare. |
| 2225 | |
| 2226 | * regcache.c (register_offset_hack): New function. |
| 2227 | (regcache_cooked_read_using_offset_hack): New function. |
| 2228 | (regcache_cooked_write_using_offset_hack): New function. |
| 2229 | (regcache_dump): Check that the registers, according to their |
| 2230 | offset, are packed hard against each other. |
| 2231 | (cooked_xfer_using_offset_hack): New function. |
| 2232 | |
| 2233 | 2002-08-25 Andrew Cagney <ac131313@redhat.com> |
| 2234 | |
| 2235 | * regcache.c (struct regcache_descr): Add field register_type. |
| 2236 | (init_legacy_regcache_descr): Pass a pre-allocated regcache_descr |
| 2237 | in as a parameter |
| 2238 | (init_regcache_descr): Initialize register_type. Pass the descr |
| 2239 | to init_legacy_regcache_descr. Use register_type instead of |
| 2240 | REGISTER_VIRTUAL_TYPE. |
| 2241 | (register_type): New function. |
| 2242 | (regcache_dump): Replace REGISTER_VIRTUAL_TYPE with register_type. |
| 2243 | * regcache.h (register_type): Declare. |
| 2244 | |
| 2245 | 2002-08-25 Andrew Cagney <ac131313@redhat.com> |
| 2246 | |
| 2247 | * rs6000-tdep.c (rs6000_gdbarch_init): Set store_struct_return |
| 2248 | instead of deprecated_store_return_value. Fix fallout from |
| 2249 | 2002-08-23 Andrew Cagney <cagney@redhat.com>. |
| 2250 | |
| 2251 | 2002-08-25 Andrew Cagney <ac131313@redhat.com> |
| 2252 | |
| 2253 | * regcache.c (max_register_size): New function. |
| 2254 | (init_legacy_regcache_descr): Ensure that max_register_size is |
| 2255 | large enough for REGISTER_VIRTUAL_SIZE. |
| 2256 | * regcache.h (max_register_size): Declare. |
| 2257 | |
| 2258 | 2002-08-24 Andrew Cagney <ac131313@redhat.com> |
| 2259 | |
| 2260 | * rs6000-tdep.c (rs6000_gdbarch_init): Use deprecated version of |
| 2261 | store_return_value. |
| 2262 | (e500_extract_return_value): Change type of valbuf pointer to |
| 2263 | void. |
| 2264 | |
| 2265 | 2002-08-24 Mark Kettenis <kettenis@gnu.org> |
| 2266 | |
| 2267 | * PROBLEMS: Clarify problems with FreeBSD's compiler and suggest |
| 2268 | workaround. |
| 2269 | |
| 2270 | * valprint.c (print_longest) [CC_HAS_LONG_LONG && |
| 2271 | PRINTF_HAS_LONG_LONG]: Cast val_long to (long long) or (unsigned |
| 2272 | long long) to prevent compiler warning on 64-bit systems. |
| 2273 | |
| 2274 | 2002-08-23 Andrew Cagney <cagney@redhat.com> |
| 2275 | |
| 2276 | * gdbarch.sh (STORE_RETURN_VALUE): Add regcache parameter. |
| 2277 | (DEPRECATED_STORE_RETURN_VALUE): New method. |
| 2278 | (EXTRACT_RETURN_VALUE): Make buffer parameter a void pointer. |
| 2279 | * gdbarch.h, gdbarch.c: Re-generate. |
| 2280 | |
| 2281 | * values.c (set_return_value): Pass current_regcache to |
| 2282 | STORE_RETURN_VALUE. |
| 2283 | * arch-utils.h (legacy_store_return_value): Declare. |
| 2284 | * arch-utils.c (legacy_store_return_value): New function. |
| 2285 | (legacy_extract_return_value): Update parameters. |
| 2286 | |
| 2287 | * config/pa/tm-hppa.h (DEPRECATED_STORE_RETURN_VALUE): Rename |
| 2288 | STORE_RETURN_VALUE. |
| 2289 | * config/pa/tm-hppa64.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. |
| 2290 | * config/sparc/tm-sparc.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. |
| 2291 | * config/z8k/tm-z8k.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. |
| 2292 | * config/sparc/tm-sparclet.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. |
| 2293 | * config/mn10200/tm-mn10200.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. |
| 2294 | * config/m68k/tm-linux.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. |
| 2295 | * config/m68k/tm-delta68.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. |
| 2296 | * config/m32r/tm-m32r.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. |
| 2297 | * config/h8500/tm-h8500.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. |
| 2298 | * config/h8300/tm-h8300.h (DEPRECATED_STORE_RETURN_VALUE): Ditto. |
| 2299 | |
| 2300 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. |
| 2301 | * i386-tdep.c (i386_extract_return_value): Update. |
| 2302 | * arch-utils.c (legacy_extract_return_value): Update. |
| 2303 | * frv-tdep.c (frv_gdbarch_init): Update. |
| 2304 | * cris-tdep.c (cris_gdbarch_init): Update. |
| 2305 | * d10v-tdep.c (d10v_gdbarch_init): Update. |
| 2306 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. |
| 2307 | * m68k-tdep.c (m68k_gdbarch_init): Update. |
| 2308 | * mcore-tdep.c (mcore_gdbarch_init): Update. |
| 2309 | * mn10300-tdep.c (mn10300_gdbarch_init): Update. |
| 2310 | * s390-tdep.c (s390_gdbarch_init): Update. |
| 2311 | * sparc-tdep.c (sparc_gdbarch_init): Update. |
| 2312 | * sh-tdep.c (sh_gdbarch_init): Update. |
| 2313 | * x86-64-tdep.c (x86_64_gdbarch_init): Update. |
| 2314 | * v850-tdep.c (v850_gdbarch_init): Update. |
| 2315 | * avr-tdep.c (avr_gdbarch_init): Update. |
| 2316 | * ia64-tdep.c (ia64_gdbarch_init): Update. |
| 2317 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. |
| 2318 | * vax-tdep.c (vax_gdbarch_init): Update. |
| 2319 | * alpha-tdep.c (alpha_gdbarch_init): Update. |
| 2320 | * arm-tdep.c (arm_gdbarch_init): Update. |
| 2321 | * mips-tdep.c (mips_gdbarch_init): Update. |
| 2322 | * i386-tdep.c (i386_gdbarch_init): Update. |
| 2323 | |
| 2324 | 2002-08-23 Andrew Cagney <ac131313@redhat.com> |
| 2325 | |
| 2326 | * config/djgpp/fnchange.lst: Add entries for bfd/elf32-ppcqnx.c, |
| 2327 | bfd/elf32-ppc.c, bfd/elf32-sh.c and bfd/elf32-shqnx.c. |
| 2328 | |
| 2329 | 2002-08-24 Mark Kettenis <kettenis@gnu.org> |
| 2330 | |
| 2331 | * PROBLEMS: Refer to GDB 5.3 instead of 5.2. Mention FreeBSD |
| 2332 | problems. |
| 2333 | |
| 2334 | 2002-08-23 Joel Brobecker <brobecker@gnat.com> |
| 2335 | |
| 2336 | * infrun.c (handle_inferior_event): Move a comment outside of a |
| 2337 | function call, in order to avoid indent reformatting this part |
| 2338 | of the code in an unreadable way. |
| 2339 | |
| 2340 | 2002-08-23 Grace Sainsbury <graces@redhat.com> |
| 2341 | |
| 2342 | * infrun.c (normal_stop, proceed): Remove call to print_sys_errmsg |
| 2343 | when breakpoints fail. Move general breakpoint error messages to |
| 2344 | insert_breakpoints. |
| 2345 | * breakpoint.c (insert_breakpoints): Change warnings when |
| 2346 | breakpoints are nto inserted to specify the type. Remove call to |
| 2347 | memory_error when hardware breakpoints can't be inserted. Remove |
| 2348 | multiple calls to warning so all messages are sent to the user at |
| 2349 | once. |
| 2350 | (delete_breakpoints): Make insert error messsages more explicit. |
| 2351 | |
| 2352 | 2002-08-23 Daniel Jacobowitz <drow@mvista.com> |
| 2353 | |
| 2354 | * ChangeLog: Move gdbserver entries after GDB 5.2 to |
| 2355 | gdbserver/ChangeLog. |
| 2356 | |
| 2357 | 2002-08-23 Mark Kettenis <kettenis@gnu.org> |
| 2358 | |
| 2359 | * i386-tdep.c: Include "objfiles.h". |
| 2360 | (i386_svr4_init_abi): Set in_solib_call_trampoline and |
| 2361 | skip_trampoline_code. |
| 2362 | * config/i386/tm-i386v4.h: Don't include "config/tm-sysv4.h". |
| 2363 | (CPLUS_MARKER): Define to '.'. |
| 2364 | |
| 2365 | * linux-proc.c (struct linux_corefile_thread_data): Add num_notes |
| 2366 | member. |
| 2367 | (linux_corefile_thread_callback): Increase args->num_notes. |
| 2368 | (linux_make_note_section): Initialize thread_args.num_notes, and |
| 2369 | use it to determine whether notes for any threads were created. |
| 2370 | |
| 2371 | 2002-08-23 Donn Terry <donnte@microsoft.com> |
| 2372 | |
| 2373 | * proc-api.c (rw_table): Do not include a row for PCDSTOP if the |
| 2374 | corresponding macro is not defined. Likewise for PCNICE, PCSHOLD |
| 2375 | and PCUNKILL. |
| 2376 | (write_with_trace): Conditionalize out the switch branch handling |
| 2377 | PCSHOLD if the corresponding macro is not defined. Likewise for |
| 2378 | PRSABORT and PRSTOP. |
| 2379 | This change will be needed by the Interix port. |
| 2380 | |
| 2381 | 2002-08-22 Elena Zannoni <ezannoni@redhat.com> |
| 2382 | |
| 2383 | * ppc-sysv-tdep.c (ppc_sysv_abi_push_arguments): use |
| 2384 | write_register wherever possible instead of manipulating the |
| 2385 | register bytes directly. |
| 2386 | Assign VALUE_CONTENTS to a variable and use that. |
| 2387 | The GPR numbers are now dependent on the architecture. |
| 2388 | |
| 2389 | 2002-08-22 Elena Zannoni <ezannoni@redhat.com> |
| 2390 | |
| 2391 | * rs6000-tdep.c (struct rs6000_framedata): Add saved_ev and |
| 2392 | ev_offset fields. |
| 2393 | (skip_prologue): Add support for BookE/e500 instructions. |
| 2394 | (e500_extract_return_value): New function. |
| 2395 | (frame_get_saved_regs): Add support for saving ev registers and |
| 2396 | pseudo gpr's. |
| 2397 | (e500_store_return_value): New function. |
| 2398 | (rs6000_gdbarch_init): Move up default intializations of |
| 2399 | deprecated_extract_return_value and store_return_value. Overwrite |
| 2400 | init of store_return_value with e500 specific version. |
| 2401 | Set extract_return_value for e500. |
| 2402 | |
| 2403 | 2002-08-22 Elena Zannoni <ezannoni@redhat.com> |
| 2404 | |
| 2405 | * blockframe.c (generic_call_dummy_register_unwind): Use |
| 2406 | regcache_cooked_read to catch cases in which the variable is |
| 2407 | stored in a pseudo register. |
| 2408 | |
| 2409 | 2002-08-22 Andrew Cagney <cagney@redhat.com> |
| 2410 | |
| 2411 | * NEWS: Mention that the i960 has been made obsolete. |
| 2412 | * Makefile.in (SFILES): Delete remote-nrom.c, remote-nindy.c and |
| 2413 | i960-tdep.c |
| 2414 | (remote-nrom.o): Obsolete target. |
| 2415 | (remote-nindy.o, i960-tdep.o): Ditto. |
| 2416 | * remote-nrom.c: Make file obsolete. |
| 2417 | * remote-nindy.c, remote-vx960.c: Ditto. |
| 2418 | * config/i960/vxworks960.mt, config/i960/nindy960.mt: Ditto. |
| 2419 | * config/i960/mon960.mt, config/i960/tm-i960.h: Ditto. |
| 2420 | * config/i960/tm-vx960.h, config/i960/tm-nindy960.h: Ditto. |
| 2421 | * config/i960/tm-mon960.h, i960-tdep.c: Ditto. |
| 2422 | * configure.tgt: Make i960-*-bout*, i960-nindy-coff*, |
| 2423 | i960-*-coff*, i960-nindy-elf*, i960-*-elf*, i960-*-nindy* and |
| 2424 | i960-*-vxworks* obsolete. |
| 2425 | * MAINTAINERS: Note that the i960 is obsolete. |
| 2426 | |
| 2427 | 2002-08-21 Corinna Vinschen <vinschen@redhat.com |
| 2428 | |
| 2429 | * aix-thread.c (aix_thread_detach): Disable thread debugging on |
| 2430 | detach to allow reinitialization. |
| 2431 | |
| 2432 | 2002-08-22 Andrew Cagney <ac131313@redhat.com> |
| 2433 | |
| 2434 | * MAINTAINERS: Change the s390 target to s390-linux-gnu (second |
| 2435 | attempt). |
| 2436 | |
| 2437 | 2002-08-22 Jim Blandy <jimb@redhat.com> |
| 2438 | |
| 2439 | * coffread.c (coff_symfile_read): Don't try to read the line |
| 2440 | number table from disk if the image file doesn't have a symbol |
| 2441 | table; we'll never actually look at the info anyway, and Windows |
| 2442 | ships DLL's with bogus file offsets for the line number data. |
| 2443 | |
| 2444 | 2002-08-21 Elena Zannoni <ezannoni@redhat.com> |
| 2445 | |
| 2446 | * rs6000-tdep.c (rs6000_gdbarch_init): Figure out whether we have |
| 2447 | an e500 executable. |
| 2448 | |
| 2449 | 2002-08-21 Michael Snyder <msnyder@redhat.com> |
| 2450 | |
| 2451 | * mips-tdep.c (MSYMBOL_IS_SPECIAL): Replace macro with function. |
| 2452 | (MSYMBOL_SIZE): Replace macro with function. |
| 2453 | (DEFAULT_MIPS_TYPE): Delete unused macro. |
| 2454 | * config/mips/tm-mips.h (DEFAULT_MIPS_TYPE): Delete unused macro. |
| 2455 | * config/mips/tm-embed.h (DEFAULT_MIPS_TYPE): Delete unused macro. |
| 2456 | |
| 2457 | 2002-08-21 Jim Blandy <jimb@redhat.com> |
| 2458 | |
| 2459 | * valops.c (value_cast): Simplify and correct logic for doing a |
| 2460 | static cast from a pointer to a base class to a pointer to a |
| 2461 | derived class. |
| 2462 | |
| 2463 | 2002-08-21 Andrew Cagney <ac131313@redhat.com> |
| 2464 | |
| 2465 | * infcmd.c (default_print_registers_info): Replace |
| 2466 | do_registers_info. |
| 2467 | (registers_info): Use gdbarch_print_registers_info instead of |
| 2468 | DO_REGISTERS_INFO. |
| 2469 | * inferior.h (default_print_registers_info): Replace |
| 2470 | do_registers_info. |
| 2471 | * gdbarch.sh (PRINT_REGISTERS_INFO): New method. |
| 2472 | (DO_REGISTERS_INFO): Change to a predicate function. |
| 2473 | * gdbarch.h, gdbarch.c: Regenerate. |
| 2474 | |
| 2475 | 2002-08-21 Keith Seitz <keiths@redhat.com> |
| 2476 | |
| 2477 | * gdb-events.sh: Add target-changed event. |
| 2478 | * gdb-events.c: Regenerated. |
| 2479 | * gdb-events.c: Regenerated. |
| 2480 | * valops.c (value_assign): Add target-changed event notification |
| 2481 | to inlval_register, lval_memory, and lval_reg_frame_relative. |
| 2482 | |
| 2483 | 2002-08-21 Joel Brobecker <brobecker@gnat.com> |
| 2484 | |
| 2485 | * NEWS: Add an entry regarding the improvement of the next/step |
| 2486 | operation on Alpha Tru64 multi-processor machines. |
| 2487 | |
| 2488 | 2002-08-21 Andrew Cagney <ac131313@redhat.com> |
| 2489 | |
| 2490 | * Makefile.in: Update dependencies for mi/ cli/ and tui/ |
| 2491 | directores. |
| 2492 | * Makefile.in: Update all _h macro definitions. |
| 2493 | * Makefile.in (install-gdbtk): Move to install section. |
| 2494 | (rdi-share/libangsd.a): Move to end of file. |
| 2495 | |
| 2496 | 2002-08-19 Andrew Cagney <ac131313@redhat.com> |
| 2497 | |
| 2498 | * frame.c (frame_register_unwind): When a register, set addrp to |
| 2499 | the register's byte. |
| 2500 | |
| 2501 | 2002-08-20 Michael Snyder <msnyder@redhat.com> |
| 2502 | |
| 2503 | * mips-tdep.c (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): These are only |
| 2504 | used locally, so move them from the target machine header to here. |
| 2505 | (mips_set_processor_type, mips_register_name, mips32_next_pc, |
| 2506 | mips16_next_pc, cached_proc_desc, mips_set_processor_type): |
| 2507 | Make static. |
| 2508 | * config/mips/tm-mips.h (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Delete. |
| 2509 | |
| 2510 | 2002-08-20 Andrew Cagney <cagney@redhat.com> |
| 2511 | |
| 2512 | * NEWS: Mention that the Apollo line was made obsolete. |
| 2513 | * configure.tgt: Make m68*-apollo*-bsd*, m68*-hp-bsd*, and |
| 2514 | m68*-hp-hpux* obsolete. |
| 2515 | * configure.host: Make m68*-apollo*-sysv*, m68*-apollo*-bsd*, |
| 2516 | m68*-hp-bsd* and m68*-hp-hpux* obsolete. |
| 2517 | * buildsym.c (make_blockvector): Make static. |
| 2518 | * buildsym.h (make_blockvector): Make extern declaration obsolete. |
| 2519 | * Makefile.in (HFILES_NO_SRCDIR): Remove dst.h |
| 2520 | (ALLDEPFILES): Remove dstread.c. |
| 2521 | (dstread.o): Obsolete make rule. |
| 2522 | * dstread.c: Makefile obsolete. |
| 2523 | * dst.h: Ditto. |
| 2524 | * config/m68k/hp300hpux.mt: Ditto. |
| 2525 | * config/m68k/hp300hpux.mh: Ditto. |
| 2526 | * config/m68k/hp300bsd.mt: Ditto. |
| 2527 | * config/m68k/hp300bsd.mh: Ditto. |
| 2528 | * config/m68k/apollo68b.mt: Ditto. |
| 2529 | * config/m68k/apollo68v.mh: Ditto. |
| 2530 | * config/m68k/apollo68b.mh: Ditto. |
| 2531 | |
| 2532 | 2002-08-20 Michael Snyder <msnyder@redhat.com> |
| 2533 | |
| 2534 | * mips-tdep.c (mips_in_return_stub): Make static. |
| 2535 | (mips_gdbarch_init): Set in_solib_return_trampoline. |
| 2536 | * config/mips/tm-mips.h (IN_SOLIB_RETURN_TRAMPOLINE): Delete. |
| 2537 | |
| 2538 | 2002-08-20 Michael Snyder <msnyder@redhat.com> |
| 2539 | |
| 2540 | * gdbarch.sh (IN_SOLIB_RETURN_TRAMPOLINE): Add. |
| 2541 | * gdbarch.c, gdbarch.h: Regenerate. |
| 2542 | * arch-utils.c, arch-utils.h (generic_in_solib_return_trampoline): |
| 2543 | Add. |
| 2544 | * infrun.c (IN_SOLIB_RETURN_TRAMPOLINE): Delete default definition. |
| 2545 | |
| 2546 | 2002-08-20 Michael Snyder <msnyder@redhat.com> |
| 2547 | |
| 2548 | * mips-tdep.c (mips_skip_stub, mips_in_call_stub): Make static. |
| 2549 | (mips_gdbarch_init): Set skip_trampoline_code, |
| 2550 | in_solib_call_trampoline. |
| 2551 | * config/mips/tm-mips.h (REGISTER_NAME): Delete. |
| 2552 | (IN_SOLIB_CALL_TRAMPOLINE, SKIP_TRAMPOLINE_CODE): Delete. |
| 2553 | |
| 2554 | 2002-08-20 Elena Zannoni <ezannoni@redhat.com> |
| 2555 | |
| 2556 | * ppc-tdep.h (struct gdbarch_tdep): Add ev registers. |
| 2557 | |
| 2558 | * rs6000-tdep.c (rs6000_register_virtual_type): Return 64 bit |
| 2559 | vector type for ev registers. |
| 2560 | (e500_pseudo_register_read): New function. |
| 2561 | (e500_pseudo_register_write): New function. |
| 2562 | (e500_dwarf2_reg_to_regnum): New function. |
| 2563 | (PPC_UISA_NOFP_SPRS): New macro. |
| 2564 | (PPC_EV_REGS): New macro. |
| 2565 | (PPC_GPRS_PSEUDO_REGS): New macro. |
| 2566 | (registers_e500): New register set for e500. |
| 2567 | (variants): Add e500 variant. |
| 2568 | (rs6000_gdbarch_init): Move setting of pc, sp, fp regnums to |
| 2569 | before setting architectural dependent variations. Initialize ev |
| 2570 | registers numbers. Add case for e500 architecture. Set the |
| 2571 | number of pseudo registers. |
| 2572 | |
| 2573 | 2002-08-20 Elena Zannoni <ezannoni@redhat.com> |
| 2574 | |
| 2575 | * rs6000-tdep.c: Clean up comments. |
| 2576 | |
| 2577 | 2002-08-20 Andrew Cagney <cagney@redhat.com> |
| 2578 | |
| 2579 | * h8300-tdep.c: Re-indent file. |
| 2580 | |
| 2581 | 2002-08-20 Jim Blandy <jimb@redhat.com> |
| 2582 | |
| 2583 | * Makefile.in (LDFLAGS): Allow the configure script to establish a |
| 2584 | default for this. |
| 2585 | |
| 2586 | 2002-08-20 Keith Seitz <keiths@redhat.com> |
| 2587 | |
| 2588 | * breakpoints.c (watch_command_1): Use internal breakpoint |
| 2589 | when setting a watchpoint_scope breakpoint. |
| 2590 | |
| 2591 | 2002-08-20 Elena Zannoni <ezannoni@redhat.com> |
| 2592 | |
| 2593 | * gdbtypes.c (build_builtin_type_vec64): Add name to type. |
| 2594 | (build_builtin_type_vec64i): Ditto. |
| 2595 | (build_builtin_type_vec128): Ditto. |
| 2596 | (build_builtin_type_vec128i): Ditto. |
| 2597 | |
| 2598 | 2002-08-19 Michael Snyder <msnyder@redhat.com> |
| 2599 | |
| 2600 | * config/mips/tm-mips.h (ELF_MAKE_MSYMBOL_SPECIAL): Delete. |
| 2601 | (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Change into functions. |
| 2602 | (FIX_CALL_DUMMY, PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME, |
| 2603 | POP_FRAME, INIT_EXTRA_FRAME_INFO): Delete. |
| 2604 | (CALL_DUMMY_START_OFFSET, CALL_DUMMY_BREAKPOINT_OFFSET, |
| 2605 | CALL_DUMMY_ADDRESS): Delete. |
| 2606 | * mips-tdep.c (mips_elf_make_msymbol_special, mips_msymbol_size, |
| 2607 | mips_msymbol_is_special, mips_fix_call_dummy): New functions. |
| 2608 | (mips_gdbarch_init): Set elf_make_msymbol_special, pop_frame, |
| 2609 | push_dummy_frame, fix_call_dummy, init_extra_frame_info, |
| 2610 | push_return_address. |
| 2611 | (mips_register_raw_size, mips_eabi_use_struct_convention, |
| 2612 | mips_n32n64_use_struct_convention, mips_o32_use_struct_convention, |
| 2613 | mips_o32_reg_struct_has_addr, mips_frame_saved_pc, mips_frame_chain, |
| 2614 | mips_init_extra_frame_info, mips_eabi_push_arguments, |
| 2615 | mips_n32n64_push_arguments, mips_push_return_address, |
| 2616 | mips_push_dummy_frame, mips_pop_frame, mips_skip_prologue, |
| 2617 | mips_breakpoint_from_pc, mips_call_dummy_address): Make static. |
| 2618 | |
| 2619 | 2002-08-19 Michael Snyder <msnyder@redhat.com> |
| 2620 | |
| 2621 | * mips-tdep.c (mips_frame_num_args): New function. |
| 2622 | (mips_gdbarch_init): Set frame_chain, frameless_function_invocation, |
| 2623 | frame_saved_pc, frame_args_address, frame_locals_address, |
| 2624 | frame_num_args, and frame_args_skip. |
| 2625 | * config/mips/tm-mips.h (FRAME_CHAIN, FRAMELESS_FUNCTION_INVOCATION, |
| 2626 | FRAME_SAVED_PC, FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS, |
| 2627 | FRAME_NUM_ARGS, FRAME_ARGS_SKIP): Delete. |
| 2628 | * config/mips/tm-mipsv4.h (FRAME_CHAIN_VALID): Delete. |
| 2629 | |
| 2630 | 2002-08-20 Michael Snyder <msnyder@redhat.com> |
| 2631 | |
| 2632 | * config/mips/tm-mips.h (STORE_STRUCT_RETURN): Delete. |
| 2633 | (EXTRACT_STRUCT_VALUE_ADDRESS): Delete. |
| 2634 | * mips-tdep.c (mips_store_struct_return): New function. |
| 2635 | (mips_extract_struct_value_address): New function. |
| 2636 | (mips_gdbarch_init): Set store_struct_return and |
| 2637 | extract_struct_value_address. |
| 2638 | |
| 2639 | 2002-08-20 David Carlton <carlton@math.stanford.edu> |
| 2640 | |
| 2641 | * dwarf2read.c (dwarf2_build_psymtabs): Check that |
| 2642 | dwarf_line_offset is nonzero before creating dwarf_line_buffer. |
| 2643 | (read_file_scope): Check that line_header is nonzero before |
| 2644 | decoding macro information. |
| 2645 | |
| 2646 | 2002-08-20 Mark Kettenis <kettenis@gnu.org> |
| 2647 | |
| 2648 | * i386-tdep.h (FP_REGNUM_P): Change such that we don't incorrectly |
| 2649 | flag the general-purpose registers as floating-point on targets |
| 2650 | that don't support the floating-point registers. |
| 2651 | |
| 2652 | 2002-08-20 Elena Zannoni <ezannoni@redhat.com> |
| 2653 | |
| 2654 | * rs6000-tdep.c (altivec_register_p): Delete. |
| 2655 | (rs6000_do_altivec_registers): Delete. |
| 2656 | (rs6000_altivec_registers_info): Delete. |
| 2657 | (rs6000_do_registers_info): Delete. |
| 2658 | (_initialize_rs6000_tdep): Remove command 'info powerpc altivec'. |
| 2659 | (rs6000_gdbarch_init): Remove setting of do_registers_info. |
| 2660 | |
| 2661 | 2002-08-20 Elena Zannoni <ezannoni@redhat.com> |
| 2662 | |
| 2663 | * infcmd.c (do_registers_info): Print vector registers in hex |
| 2664 | format only. |
| 2665 | (print_vector_info): Check that printing registers |
| 2666 | makes sense. |
| 2667 | (print_float_info): Ditto. |
| 2668 | |
| 2669 | 2002-08-20 Andrew Cagney <ac131313@redhat.com> |
| 2670 | |
| 2671 | * mips-tdep.c (mips_gdbarch_init): Update. |
| 2672 | (mips_o32_extract_return_value): Rewrite. |
| 2673 | (mips_o32_store_return_value): Rewrite. |
| 2674 | (mips_o32_xfer_return_value): New function. |
| 2675 | (mips_xfer_register): Tweak debug print message. Allow for |
| 2676 | buf_offset when dumping the value transfered. |
| 2677 | |
| 2678 | 2002-08-20 Andrew Cagney <ac131313@redhat.com> |
| 2679 | |
| 2680 | * config/mips/tm-nbsd.h (MIPS_DEFAULT_ABI): Delete. |
| 2681 | * config/mips/tm-linux.h (MIPS_DEFAULT_ABI): Delete. |
| 2682 | * config/mips/tm-irix5.h (MIPS_DEFAULT_ABI): Delete. |
| 2683 | * config/mips/tm-irix6.h (MIPS_DEFAULT_ABI): Delete. |
| 2684 | * mips-tdep.c (mips_gdbarch_init) [MIPS_DEFAULT_ABI]: Delete code. |
| 2685 | |
| 2686 | 2002-08-14 Michael Snyder <msnyder@redhat.com> |
| 2687 | |
| 2688 | * mips-tdep.c (mips_frame_chain): Check for call-dummy frames. |
| 2689 | |
| 2690 | 2002-08-19 Elena Zannoni <ezannoni@redhat.com> |
| 2691 | |
| 2692 | * rs6000-tdep.c (struct reg): Add field to indicate a pseudo |
| 2693 | register. |
| 2694 | (P): New macro to define a register as a pseudo register. |
| 2695 | (R, R4, R8, R16, FR32, R64, R0): Updated. |
| 2696 | (struct variant): Add new fields for number of pseudo registers |
| 2697 | and number of total registers. |
| 2698 | (tot_num_registers): New macro replacing.... |
| 2699 | (num_registers): ...deleted macro. |
| 2700 | (num_registers): New function. |
| 2701 | (num_pseudo_registers): New function. |
| 2702 | (variants): Update all variants to intialize new fields correctly. |
| 2703 | Postpone initialization of number of pseudo regs and real regs. |
| 2704 | (init_variants): New function. |
| 2705 | (rs6000_gdbarch_init): Initialize variants. Update calculation of |
| 2706 | registers offsets. |
| 2707 | |
| 2708 | 2002-08-19 David Carlton <carlton@math.stanford.edu> |
| 2709 | |
| 2710 | * valops.c (search_struct_field): Change error message to treat |
| 2711 | return value of 0 from value_static_field as meaning that field is |
| 2712 | optimized out. |
| 2713 | (value_struct_elt_for_reference): Ditto. |
| 2714 | * values.c (value_static_field): Treat an unresolved location the |
| 2715 | same as a nonexistent symbol. Fix PR gdb/635. |
| 2716 | * gnu-v2-abi.c (gnuv2_value_rtti_type): Eliminate test for being |
| 2717 | enclosed. Fix PR gdb/574. |
| 2718 | * MAINTAINERS: Add self to Write After Approval list. |
| 2719 | |
| 2720 | 2002-08-19 Andrew Cagney <ac131313@redhat.com> |
| 2721 | |
| 2722 | * mips-tdep.c (mips_xfer_register): New function. |
| 2723 | (mips_n32n64_extract_return_value): Rewrite. |
| 2724 | (mips_gdbarch_init): For N32 and N64, set extract_return_value |
| 2725 | instead of deprecated_extract_return_value. |
| 2726 | |
| 2727 | 2002-08-19 Elena Zannoni <ezannoni@redhat.com> |
| 2728 | |
| 2729 | * rs6000-tdep.c (TDEP): Delete macro. |
| 2730 | (branch_dest): Replace use of TDEP macro with its body. |
| 2731 | (rs6000_pop_frame): Ditto. |
| 2732 | (rs6000_push_arguments): Ditto. |
| 2733 | (rs6000_skip_trampoline_code): Ditto. |
| 2734 | (rs6000_frame_saved_pc): Ditto. |
| 2735 | (rs6000_frame_chain): Ditto. |
| 2736 | (rs6000_register_name): Ditto. |
| 2737 | (rs6000_register_byte): Ditto. |
| 2738 | (rs6000_register_raw_size): Ditto. |
| 2739 | (rs6000_register_virtual_type): Ditto. |
| 2740 | (rs6000_register_convertible): Ditto. |
| 2741 | (rs6000_convert_from_func_ptr_addr): Ditto. |
| 2742 | |
| 2743 | 2002-08-19 Daniel Jacobowitz <drow@mvista.com> |
| 2744 | |
| 2745 | * config/mips/tm-linux.h (REALTIME_LO, REALTIME_HI): Define |
| 2746 | conditionally. |
| 2747 | (JB_PC, JB_ELEMENT_SIZE): Rename to MIPS_LINUX_JB_PC and |
| 2748 | MIPS_LINUX_JB_ELEMENT_SIZE. |
| 2749 | * mips-linux-tdep.c (supply_gregset, fill_gregset): Use alloca |
| 2750 | for MAX_REGISTER_RAW_SIZE arrays. |
| 2751 | (mips_linux_get_longjmp_target): Use MIPS_LINUX_JB_PC and |
| 2752 | MIPS_LINUX_JB_ELEMENT_SIZE. |
| 2753 | |
| 2754 | 2002-08-19 Pierre Muller <muller@ics.u-strasbg.fr> |
| 2755 | |
| 2756 | * i387-tdep.c (i387_print_float_info): Fix typo in comment. |
| 2757 | |
| 2758 | 2002-08-19 Aidan Skinner <aidan@velvet.net> |
| 2759 | |
| 2760 | * Makefile.in (SFILES): Add ada-exp.y ada-lang.c ada-typeprint.c |
| 2761 | ada-valprint.c ada-tasks.c. |
| 2762 | (YYFILES): Add ada-exp.y. |
| 2763 | (ada-exp.tab.c ada-lex.c ada-lang.o): New target. |
| 2764 | (ada-tasks.o ada-typeprint.o ada-valprint.o): New target. |
| 2765 | (ada-exp.tab.o): New target. |
| 2766 | |
| 2767 | 2002-08-18 Andrew Cagney <ac131313@redhat.com> |
| 2768 | |
| 2769 | * regcache.c (regcache_xfer_part): New function. |
| 2770 | (regcache_raw_read_part): New function. |
| 2771 | (regcache_raw_write_part): New function. |
| 2772 | (regcache_cooked_read_part): New function. |
| 2773 | (regcache_cooked_write_part): New function. |
| 2774 | * regcache.h (regcache_raw_read_part): Declare. |
| 2775 | (regcache_raw_write_part): Declare. |
| 2776 | (regcache_cooked_read_part): Declare. |
| 2777 | (regcache_cooked_write_part): Declare. |
| 2778 | |
| 2779 | 2002-08-18 Daniel Jacobowitz <drow@mvista.com> |
| 2780 | |
| 2781 | * remote.c (remote_open_1): Add async_p. |
| 2782 | (remote_async_open_1): Delete. |
| 2783 | (open_remote_target): Delete. |
| 2784 | (remote_open, extended_remote_open): Update calls to remote_open_1. |
| 2785 | (remote_async_open, extended_remote_async_open): Call |
| 2786 | remote_open_1 instead of remote_async_open_1. |
| 2787 | |
| 2788 | 2002-08-19 Mark Kettenis <kettenis@gnu.org> |
| 2789 | |
| 2790 | * blockframe.c: Fix a few coding standard violations. |
| 2791 | |
| 2792 | 2002-08-19 Mark Kettenis <kettenis@gnu.org> |
| 2793 | |
| 2794 | * config/i386/nm-i386sco5.h (START_INFERIOR_TRAPS_EXPECTED): Moved |
| 2795 | here from ... |
| 2796 | * config/i386/tm-i386sco5.h: ... here. File removed. |
| 2797 | * config/i386/i386sco5.mt (TM_FILE): Set to tm-i386v4.h. |
| 2798 | |
| 2799 | * config/i386/nm-i386v.h (START_INFERIOR_TRAPS_EXPECTED): New define. |
| 2800 | * config/i386/i386aout.mt (TDEPFILES): Add i387-tdep.o |
| 2801 | (TM_FILE): Set to tm-i386.h. |
| 2802 | * config/i386/i386v.mt (TM_FILE): Set to tm-i386.h. |
| 2803 | * config/i386/tm-i386v.h: Remove file. |
| 2804 | * config/i386/tm-ptx.h [!SEQUENT_PTX4]: Include "i386/tm-i386.h" |
| 2805 | instead of "i386/tm-i386v.h". |
| 2806 | (START_INFERIOR_TRAPS_EXPECTED): Remove define. |
| 2807 | * config/i386/tm-symmetry: Include "i386/tm-i386.h" instead of |
| 2808 | "i386/tm-i386v.h". |
| 2809 | (START_INFERIOR_TRAPS_EXPECTED): Remove define. |
| 2810 | * config/i386/tm-vxworks.h: Include "i386/tm-i386.h" instead of |
| 2811 | "i386/tm-i386.h". |
| 2812 | |
| 2813 | 2002-08-18 Mark Kettenis <kettenis@gnu.org> |
| 2814 | |
| 2815 | * config/i386/nm-i386v.h: Add protection against |
| 2816 | multiple-inclusion. |
| 2817 | (i386_register_u_addr): Remove prototype. |
| 2818 | (register_u_addr): New prototype. |
| 2819 | (REGISTER_U_ADDR): Redefine accordingly. |
| 2820 | * i386v-nat.c: Improve several comments. |
| 2821 | (i386_register_u_addr): Change signature and rename to |
| 2822 | register_u_addr. Use FP_REGNUM_P. Rewrite slightly to get rid of |
| 2823 | ubase variable. |
| 2824 | |
| 2825 | 2002-08-18 Andrew Cagney <ac131313@redhat.com> |
| 2826 | |
| 2827 | * config/mips/tm-mips.h (STORE_RETURN_VALUE): Delete macro. |
| 2828 | (DEPRECATED_EXTRACT_RETURN_VALUE): Delete macro. |
| 2829 | * mips-tdep.c (mips_gdbarch_init): Set store_return_value and |
| 2830 | deprecated_extract_return_value. |
| 2831 | (mips_o32_push_arguments, mips_o64_push_arguments): Clone and |
| 2832 | rename mips_o32o64_push_arguments. |
| 2833 | (mips_gdbarch_init): Update. |
| 2834 | (mips_extract_return_value): Delete. |
| 2835 | (mips_o32_extract_return_value): Clone mips_extract_return_value. |
| 2836 | (mips_o64_extract_return_value): Clone mips_extract_return_value. |
| 2837 | (mips_eabi_extract_return_value): Clone mips_extract_return_value. |
| 2838 | (mips_n32n64_extract_return_value): Clone |
| 2839 | mips_extract_return_value. |
| 2840 | (mips_store_return_value): Delete. |
| 2841 | (mips_o32_store_return_value): Clone mips_store_return_value. |
| 2842 | (mips_o64_store_return_value): Clone mips_store_return_value. |
| 2843 | (mips_eabi_store_return_value): Clone mips_store_return_value. |
| 2844 | (mips_n32n64_store_return_value): Clone mips_store_return_value. |
| 2845 | |
| 2846 | 2002-08-18 Aidan Skinner <aidan@velvet.net> |
| 2847 | |
| 2848 | * ada-lang.c: Use gdb_string.h instead of <string.h>. |
| 2849 | * ada-typeprint.c: Use gdb_string.h instead of <string.h>. |
| 2850 | |
| 2851 | 2002-08-18 Aidan Skinner <aidan@velvet.net> |
| 2852 | |
| 2853 | * ada-lang.c: Run through gdb_indent.sh. |
| 2854 | * ada-lang.h: Run through gdb_indent.sh. |
| 2855 | * ada-tasks.c: Run through gdb_indent.sh. |
| 2856 | * ada-typeprint.c: Run through gdb_indent.sh. |
| 2857 | * ada-valprint.c: Run through gdb_indent.sh. |
| 2858 | |
| 2859 | 2002-08-18 Andrew Cagney <ac131313@redhat.com> |
| 2860 | |
| 2861 | * osabi.c (gdbarch_init_osabi): Don't complain about an unknown |
| 2862 | ABI. |
| 2863 | |
| 2864 | 2002-08-18 Mark Kettenis <kettenis@gnu.org> |
| 2865 | |
| 2866 | * i386b-nat.c [FETCH_INFERIOR_REGISTERS]: Remove dead code. |
| 2867 | |
| 2868 | * config/i386/nm-i386bsd.h (FLOAT_INFO): Remove redundant #undef. |
| 2869 | * i386b-nat.c [FLOAT_INFO]: Remove dead code. |
| 2870 | |
| 2871 | * i386-tdep.c (i386_do_pop_frame, i386_store_return_value): Call |
| 2872 | write_register_gen instead of write_register_bytes. |
| 2873 | |
| 2874 | * NEWS: Mention that the i[3456]-*mach3*, i[3456]-*-mach* and |
| 2875 | i[3456]-*-osf1mk* configurations have been made obsolete. |
| 2876 | * configure.host: Make i[3456]86-*-mach3*, i[3456]86-*mach* and |
| 2877 | i[3456]86-*-osf1mk* hosts obsolete. |
| 2878 | * confighure.tgt: Make i[3456]86-*-mach3*, i[3456]86-*-osf1mk* |
| 2879 | targets obsolete. |
| 2880 | * config/i386/i386mach.mh, config/i386/nm-i386mach.h, |
| 2881 | config/i386/xm-i386mach.h, config/i386/i386m3.mh, |
| 2882 | config/i386/i386m3.mt, config/i386/nm-m3.h, |
| 2883 | config/i386/tm-i386m3.h, config/i386/xm-i386m3.h, |
| 2884 | config/i386/i386mk.mh, config/i386/i386mk.mt, |
| 2885 | config/i386/tm-i386mk.h, config/i386/xm-i386mk.h: Make files |
| 2886 | obsolete. |
| 2887 | * i386mach-nat.c, i386m3-nat.c: Make files obsolete. |
| 2888 | * Makefile.in (ALLDEPFILES): Remove i386mach.c i386m3-nat.c |
| 2889 | (i386mach-nat.o, i386m3-nat.o):Make targets obsolete. |
| 2890 | |
| 2891 | 2002-08-18 Andrew Cagney <ac131313@redhat.com> |
| 2892 | |
| 2893 | * config/pa/tm-hppa.h (hppa_store_return_value): Declare. |
| 2894 | (hppa_value_returned_from_stack): Declare. |
| 2895 | (hppa_extract_return_value): Declare. |
| 2896 | * config/pa/hppa.mt: New file. |
| 2897 | * configure.tgt: Recognize hppa*-*-*. |
| 2898 | * MAINTAINERS: Change HPPA target to hppa-elf. Still broken. |
| 2899 | |
| 2900 | 2002-08-18 Mark Kettenis <kettenis@gnu.org> |
| 2901 | |
| 2902 | * i386-sol2-tdep.c (_initialize_i386_sol2_tdep): Fix typo in |
| 2903 | comment. |
| 2904 | |
| 2905 | 2002-08-17 Mark Kettenis <kettenis@gnu.org> |
| 2906 | |
| 2907 | * top.c (gdb_rl_operate_and_get_next): Make sure |
| 2908 | operate-and-get-next functions correctly even when the history |
| 2909 | list is completely filled. |
| 2910 | |
| 2911 | 2002-08-18 Andrew Cagney <ac131313@redhat.com> |
| 2912 | |
| 2913 | * MAINTAINERS (Target Instruction Set Architectures): Rename |
| 2914 | Target/Architectures. Replace vax-dec-vms5.5 with vax-netbsd. |
| 2915 | Replace s390-linux with s390-linux-gnu. Remove i386-aout, |
| 2916 | mcore-pe, mips64-elf, sparc64-elf. Remove i586-pc-msdosdjgpp, |
| 2917 | already listed under Host/Native. |
| 2918 | |
| 2919 | * configure.tgt: Combine i[3456]86-*-coff*, i[3456]86-*-elf*, |
| 2920 | i[3456]86-*-pe*, and i[3456]86-*-aout* into i[3456]86-*-*. Add |
| 2921 | mips*-*-*. |
| 2922 | |
| 2923 | 2002-08-17 Andrew Cagney <ac131313@redhat.com> |
| 2924 | |
| 2925 | * config/ia64/ia64.mt: New file. |
| 2926 | * config/alpha/alpha.mt: New file. |
| 2927 | * MAINTAINERS: Change the alpha target to alpha-elf and IA-64 to |
| 2928 | ia64-linux-gnu. Mention that ia64-elf is broken. |
| 2929 | * configure.tgt: Add alpha*-*-* and ia64*-*-* patterns. |
| 2930 | |
| 2931 | 2002-08-17 Mark Kettenis <kettenis@elgar.kettenis.dyndns.org> |
| 2932 | |
| 2933 | * i386-tdep.c (i386_svr4_init_abi, i386_nw_init_abi): Use |
| 2934 | generic_func_frame_valid instead of func_frame_valid. |
| 2935 | |
| 2936 | 2002-08-16 Joel Brobecker <brobecker@gnat.com> |
| 2937 | |
| 2938 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Unfortunately, |
| 2939 | procfs appears to be broken when debugging on multi-processor |
| 2940 | machines. So enable software single stepping in order to avoid |
| 2941 | using the procfs interface to do next/step operations, using |
| 2942 | internal breakpoints instead. |
| 2943 | |
| 2944 | * infrun.c (handle_inferior_event): Readjust the stop_pc by |
| 2945 | DECR_PC_AFTER_BREAK when hitting a single step breakpoint, to |
| 2946 | make this pc address equal to the value it would have if the |
| 2947 | system stepping capability was used. Also set a new flag used |
| 2948 | to ensure that we don't readjust the PC one more time later. |
| 2949 | |
| 2950 | * breakpoint.c (bpstat_stop_status): Do not adjust the PC |
| 2951 | address by DECR_PC_AFTER_BREAK when software single step is |
| 2952 | in use for this architecture, as this has already been taken |
| 2953 | care of in handle_inferior_event(). |
| 2954 | |
| 2955 | 2002-08-16 Joel Brobecker <brobecker@gnat.com> |
| 2956 | |
| 2957 | * infrun.c (handle_inferior_event): Minor reformatting, to make |
| 2958 | a rather long condition expression easier to read. |
| 2959 | |
| 2960 | 2002-08-16 Andrew Cagney <ac131313@redhat.com> |
| 2961 | |
| 2962 | * Makefile.in (gdbtk.o): Move to end of file. |
| 2963 | (gdbtk-bp.o, gdbtk-cmds.o): Ditto. |
| 2964 | (gdbtk-hooks.o, gdbtk-register.o): Ditto. |
| 2965 | (gdbtk-stack.o, gdbtk-varobj.o): Ditto. |
| 2966 | (gdbtk-wrapper.o, gdbres.o): Ditto. |
| 2967 | |
| 2968 | 2002-08-16 Andrew Cagney <ac131313@redhat.com> |
| 2969 | |
| 2970 | * Makefile.in (copying.o): Separate out compile rule. |
| 2971 | (hpux-thread.o, procfs.o, signals.o): Ditto. |
| 2972 | (v850ice.o, z8k-tdep.o): Ditto. |
| 2973 | (tui-file.o): Move to TUI section. |
| 2974 | (xdr_ptrace.o, xdr_rdb.o, xdr_ld.o): Move to separate section. |
| 2975 | (nindy.o, Onindy.o, ttyflush.o): Move to separate section. |
| 2976 | |
| 2977 | 2002-08-16 Joel Brobecker <brobecker@gnat.com> |
| 2978 | |
| 2979 | * i386-tdep.c (i386_pe_skip_trampoline_code): renamed from |
| 2980 | skip_trampoline_code, for better namespace-proofing. |
| 2981 | |
| 2982 | * i386-tdep.h (i386_pe_skip_trampoline_code): Add declaration. |
| 2983 | |
| 2984 | 2002-08-16 Joel Brobecker <brobecker@gnat.com> |
| 2985 | |
| 2986 | * config/i386/tm-cygwin.h: Remove some "#if 0"'ed macros. |
| 2987 | |
| 2988 | 2002-08-16 Joel Brobecker <brobecker@gnat.com> |
| 2989 | |
| 2990 | * infrun.c (handle_inferior_event): When receiving a SIGTRAP |
| 2991 | signal, check whether we hit a breakpoint before checking for a |
| 2992 | single step breakpoint. Otherwise, GDB fails to notice that a |
| 2993 | breakpoint has been hit when stepping onto a breakpoint. |
| 2994 | |
| 2995 | 2002-08-16 Keith Seitz <keiths@redhat.com> |
| 2996 | |
| 2997 | * gdb-events.sh (clear_gdb_event_hooks): New function. |
| 2998 | * gdb-events.c: Regenerate. |
| 2999 | * gdb-events.h: Regenerate. |
| 3000 | |
| 3001 | 2002-08-16 Andrew Cagney <ac131313@redhat.com> |
| 3002 | |
| 3003 | * breakpoint.c (bpstat_stop_status): Rename not_a_breakpoint to |
| 3004 | not_a_sw_breakpoint. |
| 3005 | * breakpoint.h (bpstat_stop_status): Add parameter names. |
| 3006 | |
| 3007 | 2002-08-16 Grace Sainsbury <graces@redhat.com> |
| 3008 | |
| 3009 | * remote.c (remote_insert_hw_breakpoint) |
| 3010 | (remote_remove_hw_breakpoint): Fix calculation of length field |
| 3011 | for Z-packet. |
| 3012 | |
| 3013 | 2002-08-15 Michael Snyder <msnyder@redhat.com> |
| 3014 | |
| 3015 | * irix5-nat.c (supply_gregset): Allocate plenty-big buffer |
| 3016 | (32 bytes) instead of using MAX_REGISTER_RAW_SIZE. |
| 3017 | (supply_fpregset): Ditto. |
| 3018 | |
| 3019 | * config/mips/tm-mips.h (REGISTER_CONVERT_TO_VIRTUAL, |
| 3020 | REGISTER_CONVERT_TO_RAW, REGISTER_CONVERTIBLE, |
| 3021 | MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE): Delete. |
| 3022 | (TARGET_READ_SP): Delete. |
| 3023 | (DO_REGISTERS_INFO): Delete. |
| 3024 | (FUNCTION_START_OFFSET, IN_SIGTRAMP, REGISTER_VIRTUAL_SIZE): |
| 3025 | Delete. |
| 3026 | (REGISTER_CONVERT_FROM_TYPE, REGISTER_CONVERT_TO_TYPE): Convert |
| 3027 | from macros to functions. |
| 3028 | |
| 3029 | * mips-tdep.c (mips_gdbarch_init): Set the above in the gdbarch. |
| 3030 | (mips_register_convertible, mips_register_convert_to_virtual, |
| 3031 | mips_register_convert_to_raw): Make static. |
| 3032 | (mips_read_sp): New function. |
| 3033 | (mips_gdbarch_init): Set gdbarch read_sp to mips_read_sp. |
| 3034 | (mips_do_registers_info): Make static. |
| 3035 | (mips_gdbarch_init): Insert mips_do_registers_info into gdbarch. |
| 3036 | (in_sigtramp): Make static, rename to mips_pc_in_sigtramp. |
| 3037 | (mips_register_convert_from_type, mips_register_convert_to_type): |
| 3038 | New functions. |
| 3039 | (mips_gdbarch_init): Set up function_start_offset, |
| 3040 | register_virtual_size, pc_in_sigtramp. |
| 3041 | |
| 3042 | 2002-08-15 Andrew Cagney <ac131313@redhat.com> |
| 3043 | |
| 3044 | * infcmd.c (vector_info): New function. |
| 3045 | (_initialize_infcmd): Add command "info vector". |
| 3046 | (print_vector_info): New function. |
| 3047 | |
| 3048 | * gdbarch.sh (PRINT_VECTOR_INFO): New method |
| 3049 | * gdbarch.h, gdbarch.c: Regenerate. |
| 3050 | |
| 3051 | 2002-08-15 Andrew Cagney <ac131313@redhat.com> |
| 3052 | |
| 3053 | * infcmd.c (do_registers_info): Rename parameter ``fpregs'' to |
| 3054 | ``print_all''. Only print vector registers when ``print_all''. |
| 3055 | |
| 3056 | 2002-08-15 Andrew Cagney <ac131313@redhat.com> |
| 3057 | |
| 3058 | * i387-tdep.h (i387_print_float_info): Add `args' parameter. |
| 3059 | * i387-tdep.c (i387_print_float_info): Add `args' parameter. |
| 3060 | |
| 3061 | * gdbarch.sh (PRINT_FLOAT_INFO): Change to a predicate method. |
| 3062 | Add `args' parameter. |
| 3063 | * gdbarch.h, gdbarch.c: Regenerate. |
| 3064 | |
| 3065 | * arm-tdep.c (arm_print_float_info): Add the parameter `args'. |
| 3066 | |
| 3067 | * infcmd.c (float_info): Call print_float_info. |
| 3068 | (print_float_info): New function. By default, print the |
| 3069 | floating-point registers. |
| 3070 | |
| 3071 | * arch-utils.h (default_print_float_info): Delete declaration. |
| 3072 | * arch-utils.c (default_print_float_info): Delete function. |
| 3073 | |
| 3074 | 2002-08-16 Mark Kettenis <kettenis@gnu.org> |
| 3075 | |
| 3076 | * config/i386/nm-i386v.h (FLOAT_INFO): Remove already commented |
| 3077 | out define. |
| 3078 | |
| 3079 | * i387-tdep.c (i387_print_float_info): Add comment about ignoring |
| 3080 | FRAME. |
| 3081 | |
| 3082 | * NEWS: Mention that the i[3456]-*-aix target has been made obsolete. |
| 3083 | * configure.host: Make i[3456]86-*-aix host obsolete. |
| 3084 | * configure.tgt: Make i[3456]86-*-aix target obsolete. |
| 3085 | * config/i386/i386aix.mh, config/i386/i386aix.mt, |
| 3086 | config/i386/nm-i386aix.h, condig/i386/tm-i386aix.h, |
| 3087 | config/i386/xm-i386aix.h: Make files obsolete. |
| 3088 | * i386aix-nat.c: Make file obsolete. |
| 3089 | * Makefile.in (ALLDEPFILES): Remove i386aix-nat.c. |
| 3090 | (i386aix-nat.o): Make target obsolete. |
| 3091 | |
| 3092 | * config/i386/nm-gnu.h: Removed. |
| 3093 | * config/i386/nm-i386gnu.h: New file. |
| 3094 | (THREAD_STATE_FLAVOR, THREAD_STATE_SIZE, |
| 3095 | THREAD_STATE_SET_TRACED, THREAD_STATE_CLEAR_STATE, ATTACH_DETACH): |
| 3096 | Moved here from ... |
| 3097 | * config/i386/tm-i386gnu.h: ... here. Removed. |
| 3098 | * config/i386/xm-i386gnu.h: Removed. |
| 3099 | * config/i386/i386gnu.mh (XM_FILE): Set to xm-i386.h. |
| 3100 | (NAT_FILE): Set to nm-i386gnu.h. |
| 3101 | * config/i386/i386gnu.mt (TDEPFILES): Add i386gnu-tdep.o. |
| 3102 | * i386-tdep.c: New file. |
| 3103 | * Makefile.in (ALLDEPFILES): Add i386gnu-nat.c and i386gnu-tdep.c. |
| 3104 | (i386gnu-tdep.o): Specify dependencies. |
| 3105 | |
| 3106 | 2002-08-15 Mark Kettenis <kettenis@gnu.org> |
| 3107 | |
| 3108 | * config/i386/tm-i386sco5.h: Include "i386/tm-i386v4.h" instead of |
| 3109 | "i386/tm-i386.h", "i386/tm-i386v.h" and "config/tm-sysv.h". |
| 3110 | Adjust a few comments to reflect reality a bit closer. |
| 3111 | (KERNEL_U_SIZE, TARGET_HAS_HARDWARE_WATCHPOINTS, |
| 3112 | TARGET_CAN_USE_HARDWARE_WATCHPOINT, HAVE_CONTINUEABLE_WATCHPOINT, |
| 3113 | HAVE_STEPPABLE_WATCHPOINT, STOPPED_BY_WATCHPOINT, |
| 3114 | target_insert_watchpoint, target_remove_watchpoint): |
| 3115 | Move defines to ... |
| 3116 | * config/i386/nm-i386sco5.h: ... here. |
| 3117 | (kernel_u_size): Add prototype. Improve a few comments and add |
| 3118 | protection against multiple inclusion. |
| 3119 | |
| 3120 | * config/i386/nm-i386sco.h (FLOAT_INFO): Remove already commented |
| 3121 | out define. |
| 3122 | |
| 3123 | * uw-thread.c (SP_ARG0): Define if not already defined. |
| 3124 | * config/i386/tm-i386.h (SO_ARG0): Remove define. |
| 3125 | |
| 3126 | * config/i386/tm-i386v4.h (HAVE_I387_REGS): Remove define. |
| 3127 | |
| 3128 | * config/i386/tm-i386.h: Don't include "regcache.h". |
| 3129 | |
| 3130 | * i387-tdep.h (i387_print_float_info): New prototype. |
| 3131 | * i387-tdep.c (print_i387_value, print_i387_ext, |
| 3132 | print_i387_status_word, print_i387_control_word): Add `struct |
| 3133 | ui_file *' argument and use it for output. |
| 3134 | (i387_print_float_info): Renamed from i387_float_info. Add |
| 3135 | `struct gdbarch *' and `struct ui_file *' arguments and use the |
| 3136 | latter for output. |
| 3137 | * i386-tdep.c: Include "i387-tdep.h". |
| 3138 | (i386_gdbarch_init): Set print_float_info. |
| 3139 | * config/i386/tm-i386.h (i387_float_info): Remove prototype. |
| 3140 | (FLOAT_INFO): Remove define. |
| 3141 | |
| 3142 | 2002-08-13 Michael Snyder <msnyder@redhat.com> |
| 3143 | |
| 3144 | * mips-tdep.c (mips_push_arguments): Rename to |
| 3145 | mips_eabi_push_arguments, and tune for EABI. |
| 3146 | (MIPS_REGS_HAVE_HOME_P): Delete. |
| 3147 | (struct gdbarch_tdep): Remove mips_regs_have_home_p field. |
| 3148 | (mips_gdbarch_init): Set gdbarch push_arguments for eabi. |
| 3149 | Delete references to mips_regs_have_home_p. |
| 3150 | |
| 3151 | 2002-08-14 Keith Seitz <keiths@redhat.com> |
| 3152 | |
| 3153 | * Makefile.in (install-gdbtk): Create insight plugin directory. |
| 3154 | Install plugins.tcl file. |
| 3155 | |
| 3156 | 2002-08-14 Keith Seitz <keiths@redhat.com> |
| 3157 | |
| 3158 | * configure.in: Move SUBDIRS to near top of the file so that |
| 3159 | --enable options may add things to it. |
| 3160 | If gdbtk is enabled, add gdbtk directory to SUBDIRS and configdirs. |
| 3161 | * configure: Regenerate. |
| 3162 | |
| 3163 | 2002-08-13 Michael Snyder <msnyder@redhat.com> |
| 3164 | |
| 3165 | * mips-tdep.c (mips_o32o64_push_arguments): New function, |
| 3166 | cloned from mips_push_arguments, tuned for o32/o64 ABI. |
| 3167 | (mips_gdbarch_init): Set gdbarch_push_arguments to new func. |
| 3168 | |
| 3169 | 2002-08-13 Andrew Cagney <ac131313@redhat.com> |
| 3170 | |
| 3171 | * vax-tdep.c (vax_get_saved_register): Delete function. |
| 3172 | (vax_gdbarch_init): Update. |
| 3173 | * ns32k-tdep.c (ns32k_get_saved_register): Delete function. |
| 3174 | (ns32k_gdbarch_init): Update. |
| 3175 | * alpha-tdep.c (alpha_get_saved_register): Delete function. |
| 3176 | (alpha_gdbarch_init): Update. |
| 3177 | |
| 3178 | 2002-08-13 Andrew Cagney <cagney@redhat.com> |
| 3179 | |
| 3180 | * regcache.c (init_regcache_descr): Overallocate the |
| 3181 | raw_register_valid_p array including space for NUM_PSEUDO_REGS. |
| 3182 | (registers_changed): Replace NUM_REGS+NUM_PSEUDO_REGS with |
| 3183 | nr_raw_registers. |
| 3184 | (set_register_cached): Add range checking assertions. Use |
| 3185 | current_regcache. |
| 3186 | |
| 3187 | 2002-08-13 Mark Kettenis <kettenis@gnu.org> |
| 3188 | |
| 3189 | * i386-tdep.c (i386_stab_reg_to_regnum): Return correct register |
| 3190 | numbers for MMX registers. |
| 3191 | |
| 3192 | 2002-08-13 Andrew Cagney <cagney@redhat.com> |
| 3193 | |
| 3194 | * i386-tdep.c (i386_gdbarch_init): Use |
| 3195 | generic_unwind_get_saved_register. |
| 3196 | |
| 3197 | 2002-08-13 Kevin Buettner <kevinb@redhat.com> |
| 3198 | |
| 3199 | * procfs.c (procfs_can_use_hw_breakpoint): New function. |
| 3200 | (init_procfs_ops): Define ``to_can_use_hw_breakpoint'' for procfs |
| 3201 | target vector. |
| 3202 | * config/mips/nm-irix5.h (TARGET_CAN_USE_HARDWARE_WATCHPOINT): |
| 3203 | Delete. Add comment regarding this now-deleted target method. |
| 3204 | |
| 3205 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
| 3206 | |
| 3207 | * m68hc11-tdep.c (M68HC12_NUM_PSEUDO_REGS): New define. |
| 3208 | (M68HC12_HARD_PC_REGNUM): Define specific PC for 68HC12 (pseudo reg). |
| 3209 | (m68hc11_pseudo_register_read): Compute the 68HC12 PC using the |
| 3210 | real PC and the page number (if it's within the memory bank window). |
| 3211 | (m68hc11_pseudo_register_write): Likewise when saving. |
| 3212 | (m68hc11_register_name): Name the virtual pc 'pc' and the real one ppc. |
| 3213 | (m68hc11_register_virtual_type): Return uint32 for virtual pc. |
| 3214 | (m68hc11_register_raw_size): And use 32-bit for it. |
| 3215 | (m68hc11_gdbarch_init): Use 32-bit address for 68HC12 if the |
| 3216 | 16K memory bank is used by the prog; also use the virtual pc. |
| 3217 | |
| 3218 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
| 3219 | |
| 3220 | * m68hc11-tdep.c (m68hc11_elf_make_msymbol_special): New function. |
| 3221 | (m68hc11_gdbarch_init): Install it in gdbarch. |
| 3222 | (MSYMBOL_SET_RTC, MSYMBOL_SET_RTI): New to set symbol specific flags. |
| 3223 | (MSYMBOL_IS_RTC, MSYMBOL_IS_RTI): New to test these flags. |
| 3224 | (MSYMBOL_SIZE): New for documentation. |
| 3225 | (insn_return_kind): Enum to specify how a function returns. |
| 3226 | (frame_extra_info): Cleanup and record the return mode. |
| 3227 | (gdbarch_tdep, USE_PAGE_REGISTER): New to control the use of page |
| 3228 | register in address computation. |
| 3229 | (m68hc11_get_return_insn): New to obtain the return instruction used |
| 3230 | by the function. |
| 3231 | (m68hc11_frame_init_saved_regs): Take into account the return |
| 3232 | instruction used by the function for far and interrupt functions. |
| 3233 | (m68hc11_init_extra_frame_info): Take into account page register. |
| 3234 | (m68hc11_frame_args_address): Adjust according to the return mode. |
| 3235 | (show_regs): Print page register only when it's used. |
| 3236 | |
| 3237 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
| 3238 | |
| 3239 | * m68hc11-tdep.c (HARD_PAGE_REGNUM): Define for 68HC12 page register. |
| 3240 | (M68HC11_LAST_HARD_REG, m68hc11_register_names): Update. |
| 3241 | (m68hc11_register_virtual_type): Return a 8-bit type for 8-bit |
| 3242 | registers. |
| 3243 | (m68hc11_register_raw_size): Likewise. |
| 3244 | |
| 3245 | 2002-08-13 Andrew Cagney <cagney@redhat.com> |
| 3246 | |
| 3247 | * i386-tdep.c (i386_register_name): Handle mmx registers. |
| 3248 | (mmx_regnum_p): New function. |
| 3249 | (i386_mmx_names): New array. |
| 3250 | (mmx_num_regs): New variable. |
| 3251 | (i386_pseudo_register_read): New function. |
| 3252 | (i386_pseudo_register_write): New function. |
| 3253 | (mmx_regnum_to_fp_regnum): New function. Code from Fernando Nasser. |
| 3254 | |
| 3255 | * regcache.c (regcache_raw_read_unsigned): New function. |
| 3256 | (regcache_raw_read_signed): New function. |
| 3257 | * regcache.h (regcache_raw_read_unsigned): Declare. |
| 3258 | (regcache_raw_read_signed): Declare. |
| 3259 | |
| 3260 | 2002-08-13 Andrew Cagney <cagney@redhat.com> |
| 3261 | |
| 3262 | * regcache.c (regcache_raw_read_as_address): Delete function. |
| 3263 | (regcache_cooked_read_signed): New function. |
| 3264 | (regcache_cooked_read_unsigned): New function. |
| 3265 | * regcache.h (regcache_cooked_read_signed): Declare. |
| 3266 | (regcache_cooked_read_unsigned): Declare. |
| 3267 | (regcache_raw_read_as_address): Delete declaration. |
| 3268 | |
| 3269 | * blockframe.c (generic_read_register_dummy): Use |
| 3270 | regcache_cooked_read_unsigned. |
| 3271 | * i386-tdep.c (i386_extract_struct_value_address): Use |
| 3272 | regcache_cooked_read_unsigned. |
| 3273 | |
| 3274 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
| 3275 | |
| 3276 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Set int, double and long |
| 3277 | double sizes according to ELF ABI flags. |
| 3278 | (gdbarch_tdep): Record elf_flags. |
| 3279 | |
| 3280 | 2002-08-13 Stephane Carrez <stcarrez@nerim.fr> |
| 3281 | |
| 3282 | * m68hc11-tdep.c (M6812_OP_PSHX, M6812_OP_PSHY): New defines. |
| 3283 | (m6812_prolog): They can appear in 68HC12 function prologue. |
| 3284 | (m68hc11_frame_chain): Cleanup. |
| 3285 | |
| 3286 | 2002-08-12 Andrew Cagney <cagney@redhat.com> |
| 3287 | |
| 3288 | * i386-tdep.h (i386_register_byte, i386_register_raw_size): Delete |
| 3289 | declarations. |
| 3290 | * i386-linux-tdep.c (i386_linux_register_byte): Delete function. |
| 3291 | (i386_linux_register_raw_size): Delete function. |
| 3292 | (i386_linux_init_abi): Update. |
| 3293 | * i386-tdep.c (i386_register_raw_size): Delete function. |
| 3294 | (i386_register_byte): Delete function. |
| 3295 | (i386_gdbarch_init): Update. |
| 3296 | (i386_register_size): Delete array. |
| 3297 | (i386_register_offset): Delete array. |
| 3298 | |
| 3299 | * config/i386/tm-symmetry.h (REGISTER_BYTE): Delete macro. |
| 3300 | (REGISTER_RAW_SIZE): Delete macro. |
| 3301 | * config/i386/tm-ptx.h (REGISTER_RAW_SIZE): Delete macro. |
| 3302 | (REGISTER_BYTE): Delete macro. |
| 3303 | |
| 3304 | 2002-08-11 Aidan Skinner <aidan@velvet.net> |
| 3305 | |
| 3306 | * ada-lang.c (ada_lookup_partial_symbol) |
| 3307 | (to_fixed_variant_branch_type) (find_line_in_linetable): Fix |
| 3308 | prototype names so that grep ^func works properly. |
| 3309 | |
| 3310 | * ada-lang.c (ada_array_element_type) |
| 3311 | (ada_lookup_partial_symbol): Fix typos in parameter list. |
| 3312 | |
| 3313 | * ada-valprint.c (val_print_packed_array_elements) (ada_val_print_1): |
| 3314 | Fix prototype names so that grep ^func works properly. |
| 3315 | |
| 3316 | 2002-08-10 Andrew Cagney <cagney@redhat.com> |
| 3317 | Elena Zannoni <ezannoni@redhat.com> |
| 3318 | Martin M. Hunt <hunt@redhat.com> |
| 3319 | |
| 3320 | * gdbtypes.c (build_builtin_type_vec128): Set the vector bit. |
| 3321 | (build_builtin_type_vec128i): Set the vector bit. |
| 3322 | * gdbtypes.h (builtin_type_vec64, builtin_type_vec64i): Declare. |
| 3323 | * gdbtypes.c (builtin_type_vec64, builtin_type_vec64i): Define. |
| 3324 | (build_builtin_type_vec64): New function. |
| 3325 | (build_builtin_type_vec64i): New function. |
| 3326 | (build_gdbtypes): Initialize builtin_type_vec64 and |
| 3327 | builtin_type_vec64i. |
| 3328 | |
| 3329 | 2002-08-09 Andrew Cagney <cagney@redhat.com> |
| 3330 | |
| 3331 | * regcache.c (regcache_dump): Compare the register offset |
| 3332 | with REGISTER_BYTE. |
| 3333 | * arch-utils.c (generic_register_byte): New function. |
| 3334 | * arch-utils.h (generic_register_byte): Declare. |
| 3335 | * gdbarch.sh (REGISTER_BYTE): Default to generic_register_byte. |
| 3336 | * gdbarch.h, gdbarch.c: Regenerate. |
| 3337 | |
| 3338 | 2002-08-09 Andrew Cagney <cagney@redhat.com> |
| 3339 | |
| 3340 | * regcache.c: Include "gdbcmd.h" |
| 3341 | (_initialize_regcache): Add commands "maintenance print |
| 3342 | registers", "maintenance print raw-registers" and "maintenance |
| 3343 | print cooked-registers". |
| 3344 | (enum regcache_dump_what): Define. |
| 3345 | (dump_endian_bytes): New function. |
| 3346 | (regcache_dump): New function. |
| 3347 | (regcache_print): New function. |
| 3348 | (maintenance_print_registers): New function. |
| 3349 | (maintenance_print_raw_registers): New function. |
| 3350 | (maintenance_print_cooked_registers): New function. |
| 3351 | * Makefile.in (regcache.o): Update dependencies. |
| 3352 | |
| 3353 | 2002-08-09 Michael Snyder <msnyder@redhat.com> |
| 3354 | |
| 3355 | * mips-tdep.c (ROUND_DOWN, ROUND_UP): Move to global scope. |
| 3356 | (mips_push_arguments): Correct some comments. Use paddr_nz |
| 3357 | for printing addresses in debug output. Replace static |
| 3358 | allocation using MAX_REGISTER_RAW_SIZE with alloca. |
| 3359 | (mips_n32n64_push_arguments): New function, cloned from |
| 3360 | mips_push_arguments and tuned for the n32/n64 ABI. |
| 3361 | (mips_push_register): Buffer needs dynamic allocation. |
| 3362 | (mips_print_register): Ditto. |
| 3363 | (do_gp_register_row): Ditto. |
| 3364 | (mips_store_return_value): Ditto. |
| 3365 | (mips_gdbarch_init): Set gdbarch_push_arguments per ABI. |
| 3366 | |
| 3367 | 2002-08-09 Don Howard <dhoward@redhat.com> |
| 3368 | |
| 3369 | * memattr.c (mem_info_command): Print special case of upper bound |
| 3370 | as max CORE_ADDR + 1. |
| 3371 | |
| 3372 | 2002-08-08 Michael Snyder <msnyder@redhat.com> |
| 3373 | |
| 3374 | * mips-tdep.c (mips_n32n64_use_struct_convention): N32 only |
| 3375 | returns structs by ref if they're too big to fit in two registers. |
| 3376 | |
| 3377 | 2002-08-09 Kevin Buettner <kevinb@redhat.com> |
| 3378 | |
| 3379 | * mips-tdep.c (mips_init_extra_frame_info): Initialize SP_REGNUM's |
| 3380 | saved regs value. |
| 3381 | (read_next_frame_reg): Call FRAME_INIT_SAVED_REGS instead of |
| 3382 | mips_find_saved_regs(). |
| 3383 | (mips_pop_frame): Likewise. |
| 3384 | |
| 3385 | 2002-08-09 Kevin Buettner <kevinb@redhat.com> |
| 3386 | |
| 3387 | * blockframe.c (frame_saved_regs_register_unwind): Revise |
| 3388 | PC_IN_CALL_DUMMY assertion to only apply when generic dummy |
| 3389 | frames are in use. |
| 3390 | |
| 3391 | 2002-08-09 Grace Sainsbury <graces@redhat.com> |
| 3392 | |
| 3393 | * remote.c: (remote_wait, remote_async_wait): Add check for awatch |
| 3394 | T-packets; the 'a' is not taken as a register number. |
| 3395 | (remote_check_watch_resources, remote_stopped_by_watchpoint) |
| 3396 | (remote_stopped_data_address): New functions; add to target |
| 3397 | vector. |
| 3398 | (remote_insert_hw_breakpoint, remote_remove_hw_breakpoint): Change |
| 3399 | prototypes to match other implementations of this |
| 3400 | function. replace integer argument with pointer -- the length |
| 3401 | field in the Z-packet is the length of what is pointed to or 1 if |
| 3402 | pointer is null. Add to target vector. |
| 3403 | (remote_insert_watchpoint, remote_remove_watchpoint): Add to |
| 3404 | target vector. |
| 3405 | |
| 3406 | From Mark Salter: |
| 3407 | * remote.c (remote_wait): Add support to extract optional |
| 3408 | watchpoint information from T-packet. Ignore unrecognized |
| 3409 | optional info in T-packet. |
| 3410 | (remote_async_wait): Ditto. |
| 3411 | |
| 3412 | 2002-08-09 Corinna Vinschen <vinschen@redhat.com> |
| 3413 | |
| 3414 | * cli/cli-dump.c: Change fopen modes to use binary open modes |
| 3415 | as defined in include/fopen-bin.h throughout. |
| 3416 | |
| 3417 | 2002-08-08 Michael Snyder <msnyder@redhat.com> |
| 3418 | |
| 3419 | * mips-tdep.c: Minor whitespace and indentation clean-ups. |
| 3420 | |
| 3421 | 2002-08-08 Kevin Buettner <kevinb@redhat.com> |
| 3422 | |
| 3423 | * doublest.c (store_floating): Avoid floatformat_from_doublest() |
| 3424 | assertion failure by returning early after a warning. |
| 3425 | |
| 3426 | 2002-08-08 Kevin Buettner <kevinb@redhat.com> |
| 3427 | |
| 3428 | * mips-tdep.c (mips_find_saved_regs): Make static. |
| 3429 | (mips_frame_init_saved_regs): New function. |
| 3430 | (mips_gdbarch_init): Setup FRAME_INIT_SAVED_REGS method. |
| 3431 | * config/mips/tm-mips.h (FRAME_INIT_SAVED_REGS): Delete macro. |
| 3432 | (mips_find_saved_regs): Delete declaration. |
| 3433 | |
| 3434 | 2002-08-08 Grace Sainsbury <graces@redhat.com> |
| 3435 | |
| 3436 | * remote.c (remote_wait, remote_async_wait): Change |
| 3437 | thread_num from int to ULONGEST. |
| 3438 | (unpack_varlen_hex): Change result parameter from |
| 3439 | int * to ULONGEST *. |
| 3440 | |
| 3441 | 2002-08-08 Andrew Cagney <ac131313@redhat.com> |
| 3442 | |
| 3443 | * configure.tgt: Replace powerpc-*-sysv*, powerpc-*-elf*, |
| 3444 | powerpcle-*-eabi*, powerpcle-*-sysv* and powerpcle-*-elf* with |
| 3445 | powerpc*-*-*. |
| 3446 | * MAINTAINERS: Remove redundant rs6000-ibm-aix4.1 target. |
| 3447 | |
| 3448 | 2002-08-08 Andrew Cagney <cagney@redhat.com> |
| 3449 | |
| 3450 | * gcore.c (override_derive_stack_segment): Delete variable. |
| 3451 | (preempt_derive_stack_segment): Delete function. |
| 3452 | (derive_stack_segment): Delete function. |
| 3453 | (default_derive_stack_segment): Renamed to derive_stack_segment. |
| 3454 | (override_derive_heap_segment): Delete variable. |
| 3455 | (preempt_derive_heap_segment): Delete function. |
| 3456 | (derive_heap_segment): Delete function. |
| 3457 | (default_derive_heap_segment): Rename to derive_heap_segment. |
| 3458 | |
| 3459 | 2002-08-06 Michael Snyder <msnyder@redhat.com> |
| 3460 | |
| 3461 | * config/mips/tm-mips.h: Remove #define USE_STRUCT_CONVENTION. |
| 3462 | * mips-tdep.c (mips_EABI_use_struct_convention, |
| 3463 | mips_OABI_use_struct_convention, mips_NABI_use_struct_convention): |
| 3464 | New functions. (mips_use_struct_convention): Delete. |
| 3465 | (mips_gdbarch_init): set use_gdbarch_convention. |
| 3466 | |
| 3467 | 2002-08-06 Michael Snyder <msnyder@redhat.com> |
| 3468 | |
| 3469 | * mips-tdep.c: gdbarch-ify reg_struct_has_addr. |
| 3470 | (mips_eabi_reg_struct_has_addr, mips_n32n64_reg_struct_has_addr, |
| 3471 | mips_o32_reg_struct_has_addr): New functions. |
| 3472 | (mips_gdbarch_init): Set gdbarch reg_struct_has_addr. |
| 3473 | |
| 3474 | 2002-08-07 Andrew Cagney <ac131313@redhat.com> |
| 3475 | |
| 3476 | * regcache.c (pseudo_register): Delete function. |
| 3477 | (fetch_register): Delete function. |
| 3478 | (store_register): Delete function. |
| 3479 | (regcache_raw_read, legacy_read_register_gen): Use |
| 3480 | target_fetch_registers instead of fetch_register. |
| 3481 | (legacy_write_register_gen, regcache_raw_write): Use |
| 3482 | target_store_register instead of store_register. |
| 3483 | (write_register_bytes): Ditto. |
| 3484 | |
| 3485 | * gdbarch.sh (FETCH_PSEUDO_REGISTER): Delete. |
| 3486 | (STORE_PSEUDO_REGISTER): Delete. |
| 3487 | * gdbarch.h, gdbarch.c: Regenerate. |
| 3488 | |
| 3489 | 2002-08-06 Corinna Vinschen <vinschen@redhat.com> |
| 3490 | |
| 3491 | * cli/cli-dump.c (add_dump_command): Explicitely use "b" flag to |
| 3492 | write dump file binary. |
| 3493 | |
| 3494 | 2002-08-05 Michael Snyder <msnyder@redhat.com> |
| 3495 | |
| 3496 | * mips-tdep.c (mips_find_saved_regs): Adjust stack according |
| 3497 | to MIPS_SAVED_REGSIZE, not GDB_TARGET_IS_MIPS64. Enhance comment. |
| 3498 | (mips_gdbarch_init): Set N32 target to be mips64. |
| 3499 | |
| 3500 | 2002-08-06 Kevin Buettner <kevinb@redhat.com> |
| 3501 | |
| 3502 | * frame.c (find_saved_register): Break out of loop once saved |
| 3503 | register address is found. Don't mention sparc in loop comment |
| 3504 | anymore. |
| 3505 | |
| 3506 | 2002-08-06 Kevin Buettner <kevinb@redhat.com> |
| 3507 | |
| 3508 | * mips-tdep.c (mips_gdbarch_init): For the N32 ABI, set |
| 3509 | mips_default_saved_regsize to 8. |
| 3510 | |
| 3511 | 2002-08-06 Andrew Cagney <ac131313@redhat.com> |
| 3512 | |
| 3513 | * gcore.c: Do not include <sys/procfs.h>. |
| 3514 | * Makefile.in (gcore.o): Update dependencies. |
| 3515 | |
| 3516 | 2002-08-06 Andrew Cagney <cagney@redhat.com> |
| 3517 | |
| 3518 | * configure.tgt: Make arc-*-* obsolete. |
| 3519 | * NEWS: Mention that arc-*-* has been identifed as obsolete. |
| 3520 | * MAINTAINERS: Make arc-elf obsolete. |
| 3521 | * arc-tdep.c: Make file obsolete. |
| 3522 | * config/arc/arc.mt: Ditto. |
| 3523 | * config/arc/tm-arc.h: Ditto. |
| 3524 | |
| 3525 | 2002-08-05 Theodore A. Roth <troth@verinet.com> |
| 3526 | |
| 3527 | * avr-tdep.c (avr_skip_prologue): Fix to return the correct pc. |
| 3528 | |
| 3529 | 2002-08-05 Andrew Cagney <ac131313@redhat.com> |
| 3530 | |
| 3531 | * mcore-tdep.c (mcore_gdbarch_init): Use |
| 3532 | generic_unwind_get_saved_register instead of |
| 3533 | generic_get_saved_register. |
| 3534 | * v850-tdep.c (v850_gdbarch_init): Ditto. |
| 3535 | * frv-tdep.c (frv_gdbarch_init): Ditto. |
| 3536 | * mn10300-tdep.c (mn10300_gdbarch_init): Ditto. |
| 3537 | * s390-tdep.c (s390_gdbarch_init): Ditto. |
| 3538 | * d10v-tdep.c (d10v_gdbarch_init): Ditto. |
| 3539 | * config/mn10200/tm-mn10200.h (GET_SAVED_REGISTER): Ditto. |
| 3540 | * config/h8300/tm-h8300.h (GET_SAVED_REGISTER): Ditto. |
| 3541 | |
| 3542 | 2002-08-05 Joel Brobecker <brobecker@gnat.com> |
| 3543 | |
| 3544 | * objfiles.h: Add missing #include "symfile.h" |
| 3545 | |
| 3546 | * Makefile.in (objfiles_h): Add dependency on symfile.h and dependents. |
| 3547 | |
| 3548 | 2002-08-04 Andrew Cagney <ac131313@redhat.com> |
| 3549 | |
| 3550 | From 2002-08-01 david carlton <carlton@math.stanford.edu>: |
| 3551 | * hpread.c (hpread_read_struct_type): Deleted superfluous setting |
| 3552 | of FIELD_BITSIZE. |
| 3553 | |
| 3554 | 2002-08-04 Daniel Jacobowitz <drow@mvista.com> |
| 3555 | |
| 3556 | * NEWS: Cleanup and nitpick. |
| 3557 | |
| 3558 | 2002-08-03 Andrew Cagney <ac131313@redhat.com> |
| 3559 | |
| 3560 | * NEWS: Cleanup. Use *-linux*-gnu*. Only use `*' for headings. |
| 3561 | |
| 3562 | 2002-08-03 Andrew Cagney <ac131313@redhat.com> |
| 3563 | |
| 3564 | * Makefile.in (gdbtk-bp.o): Update dependencies. |
| 3565 | (gdbtk-register.o): Ditto. |
| 3566 | (gdbtk-varobj.o): Ditto. |
| 3567 | |
| 3568 | 2002-08-03 Andrew Cagney <cagney@redhat.com> |
| 3569 | |
| 3570 | * m68hc11-tdep.c (m68hc11_pseudo_register_read): Replace |
| 3571 | m68hc11_fetch_pseudo_register. |
| 3572 | (m68hc11_pseudo_register_write): Replace |
| 3573 | m68hc11_store_pseudo_register. |
| 3574 | (m68hc11_gdbarch_init): Update. |
| 3575 | |
| 3576 | Fri Aug 2 15:53:50 2002 Andrew Cagney <cagney@redhat.com> |
| 3577 | |
| 3578 | * gdbarch.sh: Include "gdb_string.h". |
| 3579 | * gdbarch.c: Regenerate. |
| 3580 | |
| 3581 | * regcache.c: Include "gdb_string.h". |
| 3582 | * ax-general.c: Ditto. |
| 3583 | * varobj.c: Ditto. |
| 3584 | * std-regs.c: Ditto. |
| 3585 | * fbsd-proc.c: Ditto. |
| 3586 | * thread.c: Ditto. |
| 3587 | |
| 3588 | * Makefile.in (regcache.o): Update dependencies. |
| 3589 | (thread.o, gdbarch.o): Ditto. |
| 3590 | (ax-general.o, gdbarch.o): Ditto. |
| 3591 | (varobj.o, std-regs.o): Ditto. |
| 3592 | (fbsd-proc.o): Specify dependencies. |
| 3593 | |
| 3594 | 2002-08-02 Andrew Cagney <cagney@redhat.com> |
| 3595 | |
| 3596 | * regcache.c (regcache_cooked_read): Rename rawnum parameter to |
| 3597 | regnum. |
| 3598 | (regcache_cooked_write): Ditto. |
| 3599 | |
| 3600 | 2002-08-02 Andrew Cagney <ac131313@redhat.com> |
| 3601 | |
| 3602 | * regcache.c (regcache_cooked_read): New function. |
| 3603 | (regcache_cooked_write): New function. |
| 3604 | (read_register_gen): Rewrite using regcache_cooked_read. |
| 3605 | (write_register_gen): Rewrite using regcache_cooked_write. |
| 3606 | |
| 3607 | * regcache.h (regcache_cooked_read, regcache_cooked_write): |
| 3608 | Declare. |
| 3609 | |
| 3610 | 2002-08-02 Andrew Cagney <cagney@redhat.com> |
| 3611 | |
| 3612 | * gdbarch.sh (pseudo_register_read, pseudo_register_write): |
| 3613 | Replace the architecture methods register_read and register_write. |
| 3614 | * gdbarch.h, gdbarch.c: Regenerate. |
| 3615 | * regcache.c (init_regcache_descr): Update. |
| 3616 | (read_register_gen): Update. |
| 3617 | (write_register_gen): Update. |
| 3618 | (supply_register): Update comment. |
| 3619 | |
| 3620 | * sh-tdep.c (sh_gdbarch_init): Update. |
| 3621 | (sh_pseudo_register_read, sh64_pseudo_register_read): Add |
| 3622 | `regcache' and `gdbarch' parameters. Make `buffer' a void |
| 3623 | pointer. Update code. |
| 3624 | (sh_pseudo_register_write, sh64_pseudo_register_write): Add |
| 3625 | `regcache' and `gdbarch' parameters. Make `buffer' a constant |
| 3626 | void pointer. Update code. |
| 3627 | (sh64_register_write): Delete. |
| 3628 | (sh4_register_read): Delete. |
| 3629 | (sh64_register_read): Delete. |
| 3630 | (sh4_register_write): Delete. |
| 3631 | (sh_sh4_register_convert_to_raw): Make `from' parameter a constant |
| 3632 | void pointer, `to' parameter a void pointer. |
| 3633 | (sh_sh64_register_convert_to_raw): Ditto. |
| 3634 | |
| 3635 | 2002-08-01 Kevin Buettner <kevinb@redhat.com> |
| 3636 | |
| 3637 | * mips-tdep.c (mips_register_virtual_type): Use architecture |
| 3638 | invariant return values. |
| 3639 | |
| 3640 | 2002-08-01 Andrew Cagney <cagney@redhat.com> |
| 3641 | |
| 3642 | * linux-proc.c: Include "gdb_string.h". |
| 3643 | * Makefile.in (linux-proc.o): Update dependency list. |
| 3644 | |
| 3645 | 2002-08-01 Kevin Buettner <kevinb@redhat.com> |
| 3646 | |
| 3647 | * mips-tdep.c (mips_gdbarch_init): Add comments. Fix typo in |
| 3648 | comment. |
| 3649 | |
| 3650 | 2002-08-01 Grace Sainsbury <graces@redhat.com> |
| 3651 | |
| 3652 | * target.h: Add to_insert_hw_breakpoint, to_remove_hw_breakpoint, |
| 3653 | to_insert_watchpoint, to_remove_watchpoint, |
| 3654 | to_stopped_by_watchpoint, to_stopped_data_address, |
| 3655 | to_region_size_ok_for_hw_watchpoint, to_can_use_hw_breakpoint to |
| 3656 | target vecctor. Define their corresponding macros so they call |
| 3657 | them. |
| 3658 | |
| 3659 | * target.c: Add default and debug versions of for |
| 3660 | to_insert_hw_breakpoint, to_remove_hw_breakpoint, |
| 3661 | to_insert_watchpoint, to_remove_watchpoint, |
| 3662 | to_stopped_by_watchpoint, to_stopped_data_address, |
| 3663 | to_region_size_ok_for_hw_watchpoint, to_can_use_hw_breakpoint. |
| 3664 | |
| 3665 | 2002-08-01 Kevin Buettner <kevinb@redhat.com> |
| 3666 | |
| 3667 | * mips-tdep.c (mips_register_virtual_type): New function. |
| 3668 | (mips_gdbarch_init): Register mips_register_virtual_type() |
| 3669 | with gdbarch machinery. |
| 3670 | * config/mips/tm-irix6.h (mips/tm-bigmips64.h): Include |
| 3671 | this file instead of tm-bigmips.h. |
| 3672 | (MIPS_REGSIZE): Delete this macro. |
| 3673 | (REGISTER_VIRTUAL_TYPE): Delete macro. Undef macro so that |
| 3674 | multiarch version in mips-tdep.c will be found. |
| 3675 | |
| 3676 | 2002-08-01 Andrew Cagney <cagney@redhat.com> |
| 3677 | |
| 3678 | * NEWS: Menion that CHILL has been made obsolete. |
| 3679 | |
| 3680 | * gdbtypes.c (chill_varying_type): Make chill references obsolete. |
| 3681 | * stabsread.c (read_range_type): Ditto. |
| 3682 | * gdbtypes.h: Ditto. |
| 3683 | * language.c (binop_type_check): Ditto. |
| 3684 | (binop_result_type): Ditto. |
| 3685 | (integral_type): Ditto. |
| 3686 | (character_type): Ditto. |
| 3687 | (string_type): Ditto. |
| 3688 | (boolean_type): Ditto. |
| 3689 | (structured_type): Ditto. |
| 3690 | (lang_bool_type): Ditto. |
| 3691 | (binop_type_check): Ditto. |
| 3692 | * language.h (_LANG_chill): Ditto. |
| 3693 | * dwarfread.c (set_cu_language): Ditto. |
| 3694 | * dwarfread.c (CHILL_PRODUCER): Ditto. |
| 3695 | * dwarfread.c (handle_producer): Ditto. |
| 3696 | * expression.h (enum exp_opcode): Ditto. |
| 3697 | * eval.c: Ditto for comments. |
| 3698 | * typeprint.c (typedef_print) [_LANG_chill]: Ditto. |
| 3699 | * expprint.c (print_subexp): Ditto. |
| 3700 | (print_subexp): Ditto. |
| 3701 | * valops.c (value_cast): Ditto. |
| 3702 | (search_struct_field): Ditto. |
| 3703 | * value.h (COERCE_VARYING_ARRAY): Ditto. |
| 3704 | * symfile.c (init_filename_language_table): Ditto. |
| 3705 | (add_psymbol_with_dem_name_to_list): Ditto. |
| 3706 | * valarith.c (value_binop): Ditto. |
| 3707 | (value_neg): Ditto. |
| 3708 | * valops.c (value_slice): Ditto. |
| 3709 | * symtab.h (union language_specific): Ditto. |
| 3710 | (SYMBOL_INIT_LANGUAGE_SPECIFIC): Ditto. |
| 3711 | (SYMBOL_DEMANGLED_NAME): Ditto. |
| 3712 | (SYMBOL_CHILL_DEMANGLED_NAME): Ditto. |
| 3713 | * defs.h (enum language): Ditto. |
| 3714 | * symtab.c (got_symtab): Ditto. |
| 3715 | * utils.c (fprintf_symbol_filtered): Ditto. |
| 3716 | |
| 3717 | * ch-typeprint.c: Make file obsolete. |
| 3718 | * ch-valprint.c: Make file obsolete. |
| 3719 | * ch-lang.h: Make file obsolete. |
| 3720 | * ch-exp.c: Make file obsolete. |
| 3721 | * ch-lang.c: Make file obsolete. |
| 3722 | |
| 3723 | * Makefile.in (FLAGS_TO_PASS): Do not pass CHILL or CHILLFLAGS or |
| 3724 | CHILL_LIB. |
| 3725 | (TARGET_FLAGS_TO_PASS): Ditto. |
| 3726 | (CHILLFLAGS): Obsolete. |
| 3727 | (CHILL): Obsolete. |
| 3728 | (CHILL_FOR_TARGET): Obsolete. |
| 3729 | (CHILL_LIB): Obsolete. |
| 3730 | (SFILES): Remove ch-exp.c, ch-lang.c, ch-typeprint.c and |
| 3731 | ch-valprint.c. |
| 3732 | (HFILES_NO_SRCDIR): Remove ch-lang.h. |
| 3733 | (COMMON_OBS): Remove ch-valprint.o, ch-typeprint.o, ch-exp.o and |
| 3734 | ch-lang.o. |
| 3735 | (ch-exp.o, ch-lang.o, ch-typeprint.o, ch-valprint.o): Delete |
| 3736 | targets. |
| 3737 | |
| 3738 | 2002-07-31 Joel Brobecker <brobecker@gnat.com> |
| 3739 | |
| 3740 | * dwarf2read.c (set_cu_language): Add handler for LANG_Ada95. |
| 3741 | This does not change anything at the moment, but will be helpful |
| 3742 | later when full Ada support is integrated. |
| 3743 | |
| 3744 | 2002-07-31 Kevin Buettner <kevinb@redhat.com> |
| 3745 | |
| 3746 | * mips-tdep.c (_initialize_mips_tdep): Add "n64" to "set mips abi" |
| 3747 | help message. |
| 3748 | |
| 3749 | 2002-07-31 Kevin Buettner <kevinb@redhat.com> |
| 3750 | |
| 3751 | * mips-tdep.c (mips_push_arguments): Fetch gdbarch_tdep struct |
| 3752 | and save it in a local variable. Use variable in later test. |
| 3753 | |
| 3754 | 2002-07-31 Kevin Buettner <kevinb@redhat.com> |
| 3755 | |
| 3756 | * mips-tdep.c (mips_find_abi_section): Add N64 ABI recognition |
| 3757 | test. (Thanks to Daniel Jacobowitz.) |
| 3758 | |
| 3759 | 2002-07-31 Kevin Buettner <kevinb@redhat.com> |
| 3760 | |
| 3761 | * mips-tdep.c (enum mips_abi): Add MIPS_ABI_N64. |
| 3762 | (mips_abi_strings): Add "n64". |
| 3763 | (mips_gdbarch_init): Add test for n64 abi. Add MIPS_ABI_N64 case. |
| 3764 | |
| 3765 | 2002-07-31 Kevin Buettner <kevinb@redhat.com> |
| 3766 | |
| 3767 | * config/mips/tm-irix6.h (MIPS_REGSIZE): Define to be 8. |
| 3768 | (REGISTER_VIRTUAL_TYPE): Some registers are now 64 bits wide. |
| 3769 | |
| 3770 | 2002-07-31 Kevin Buettner <kevinb@redhat.com> |
| 3771 | |
| 3772 | * utils.c (host_pointer_to_address, address_to_host_pointer): |
| 3773 | Use gdb_assert() instead of explicit call to internal_error(). |
| 3774 | |
| 3775 | 2002-07-30 Kevin Buettner <kevinb@redhat.com> |
| 3776 | |
| 3777 | * Makefile.in (rs6000-nat.o): Update dependencies. |
| 3778 | |
| 3779 | From Nicholas Duffek: |
| 3780 | * Makefile.in (ALLDEPFILES): Add aix-thread.c. |
| 3781 | (aix-thread.o): New rule. |
| 3782 | * configure.host (gdb_host): Set to aix432 on AIX 4.3.2+. |
| 3783 | * config/powerpc/aix432.mh: New file. |
| 3784 | |
| 3785 | 2002-07-30 Daniel Jacobowitz <drow@mvista.com> |
| 3786 | |
| 3787 | * ppc-linux-tdep.c (ELF_NGREG, ELF_NFPREG, ELF_NVRREG) |
| 3788 | (ELF_FPREGSET_SIZE, ELF_GREGSET_SIZE): New enums. |
| 3789 | (fetch_core_registers, ppc_linux_supply_gregset) |
| 3790 | (ppc_linux_supply_fpregset): New functions. |
| 3791 | (ppc_linux_regset_core_fns): New. |
| 3792 | (_initialize_ppc_linux_tdep): Call add_core_fns. |
| 3793 | * ppc-tdep.h: Add prototypes for ppc_linux_supply_fpregset |
| 3794 | and ppc_linux_supply_gregset. |
| 3795 | * ppc-linux-nat.c (supply_gregset): Call ppc_linux_supply_gregset. |
| 3796 | (supply_fpregset): Call ppc_linux_supply_fpregset. |
| 3797 | * config/powerpc/linux.mh (NATDEPFILES): Remove core-regset.o and |
| 3798 | corelow.o. |
| 3799 | * config/powerpc/linux.mt (TDEPFILES): Add corelow.o. |
| 3800 | |
| 3801 | 2002-07-30 Daniel Jacobowitz <drow@mvista.com> |
| 3802 | |
| 3803 | * symtab.c (lookup_symbol): Demangle before lowercasing. |
| 3804 | |
| 3805 | 2002-07-30 Andrew Cagney <ac131313@redhat.com> |
| 3806 | |
| 3807 | * symtab.h: Replace #include "gdb_obstack.h" with opaque |
| 3808 | declaration. |
| 3809 | * cli/cli-cmds.c, cli/cli-script.c: Include "gdb_string.h". |
| 3810 | * gnu-v3-abi.c, arc-tdep.c, cli/cli-decode.c: Ditto. |
| 3811 | * avr-tdep.c, mon960-rom.c, i960-tdep.c: Ditto. |
| 3812 | * arch-utils.c, cli/cli-setshow.c: Unconditionally include |
| 3813 | "gdb_string.h". |
| 3814 | * Makefile.in (cli-script.o, cli-cmds.o): Update dependencies. |
| 3815 | (gnu-v3-abi.o, cli-setshow.o, i960-tdep.o): Ditto. |
| 3816 | (cli-decode.o, mi-cmd-var.o, mi-cmd-disas.o): Ditto. |
| 3817 | (avr-tdep.o, mon960-rom.o): Ditto. |
| 3818 | (aout_stabs_gnu_h): Define. |
| 3819 | (symtab_h): Remove $(gdb_obstack_h). |
| 3820 | |
| 3821 | 2002-07-30 Jim Blandy <jimb@redhat.com> |
| 3822 | |
| 3823 | Patch from David Carlton <carlton@math.stanford.edu>: |
| 3824 | * gdbinit.in: Move the `dir' commands that add GDB's own source |
| 3825 | directory to the search path to the end, so that the `gdb' source |
| 3826 | directory will be searched first. |
| 3827 | |
| 3828 | 2002-07-29 Andrew Cagney <ac131313@redhat.com> |
| 3829 | |
| 3830 | * gdb_obstack.h: New file. |
| 3831 | * symtab.h: Include "gdb_obstack.h" instead of "obstack.h". |
| 3832 | (obstack_chunk_alloc, obstack_chunk_free): Delete macros. |
| 3833 | * objfiles.h: Include "gdb_obstack.h". |
| 3834 | * Makefile.in (gdb_obstack_h): Define. |
| 3835 | (symtab_h): Add $(gdb_obstack_h). |
| 3836 | (objfiles_h): Add $(gdb_obstack_h). |
| 3837 | |
| 3838 | * objfiles.c: Include "gdb_obstack.h" instead of "obstack.h". |
| 3839 | * macrotab.c, cp-valprint.c, dbxread.c: Ditto. |
| 3840 | * ch-typeprint.c, ch-valprint.c, dstread.c: Ditto. |
| 3841 | * macroexp.c, p-typeprint.c, stabsread.c: Ditto. |
| 3842 | * symtab.c, f-typeprint.c, mdebugread.c: Ditto. |
| 3843 | * p-valprint.c, symmisc.c, typeprint.c: Ditto. |
| 3844 | * symfile.c, coffread.c, c-typeprint.c: Ditto. |
| 3845 | * buildsym.c, bcache.c, ada-typeprint.c: Ditto. |
| 3846 | |
| 3847 | * Makefile.in (bcache.o): Update dependencies. |
| 3848 | (buildsym.o, c-typeprint.o, ch-typeprint.o): Ditto. |
| 3849 | (ch-valprint.o, coffread.o, cp-valprint.o): Ditto. |
| 3850 | (dbxread.o, dstread.o, f-typeprint.o): Ditto. |
| 3851 | (objfiles.o, p-typeprint.o, p-valprint.o): Ditto. |
| 3852 | (stabsread.o, symfile.o, symmisc.o): Ditto. |
| 3853 | (symtab.o, typeprint.o, macroexp.o): Ditto. |
| 3854 | (macrotab.o, mdebugread.o): Ditto. |
| 3855 | (f_lang_h, coff_sym_h, coff_symconst_h): Define. |
| 3856 | (coff_ecoff_h, aout_aout64_h): Define. |
| 3857 | (aout_stabs_gnu_h, libaout_h): Define. |
| 3858 | |
| 3859 | 2002-07-29 Andrew Cagney <cagney@redhat.com> |
| 3860 | |
| 3861 | * regcache.c (struct regcache_descr): Rename nr_registers to |
| 3862 | nr_cooked_registers. Revise comments describing the structure |
| 3863 | member fields. |
| 3864 | (init_regcache_descr): Update. |
| 3865 | (init_legacy_regcache_descr): Update. |
| 3866 | (read_register_gen, write_register_gen): When a cooked register in |
| 3867 | the raw register range, directly access the value from the raw |
| 3868 | register cache. |
| 3869 | |
| 3870 | 2002-07-29 Andrew Cagney <ac131313@redhat.com> |
| 3871 | |
| 3872 | * z8k-tdep.c: Do not include "obstack.h". |
| 3873 | * h8300-tdep.c, h8500-tdep.c: Ditto. |
| 3874 | * m68hc11-tdep.c, sh-tdep.c: Ditto. |
| 3875 | * valprint.c, v850-tdep.c: Ditto. |
| 3876 | * d10v-tdep.c, mn10300-tdep.c: Ditto. |
| 3877 | * mn10200-tdep.c: Ditto. |
| 3878 | |
| 3879 | * Makefile.in (z8k-tdep.o): Update dependencies. |
| 3880 | (m68hc11-tdep.o, valprint.o): Ditto. |
| 3881 | (v850-tdep.o, d10v-tdep.o): Ditto. |
| 3882 | (mn10300-tdep.o, sparc-tdep.o): Ditto. |
| 3883 | (sh-tdep.o, h8500-tdep.o, h8300-tdep.o): Ditto. |
| 3884 | (m32r-tdep.o, mn10200-tdep.o): Specify dependencies. |
| 3885 | (sh_opc_h, gdb_sim_sh_h): Define. |
| 3886 | (elf_sh_h, elf_bfd_h): Define. |
| 3887 | (opcode_m68hc11_h): Define. |
| 3888 | (OPCODES_SRC, OPCODES_DIR): define. |
| 3889 | (OPCODES): Use $(OPCODES_DIR). |
| 3890 | (gdb_sim_d10v_h): Rename sim_d10v_h. |
| 3891 | (gdb_sim_arm_h): Rename sim_arm_h. |
| 3892 | |
| 3893 | 2002-07-26 Kevin Buettner <kevinb@redhat.com> |
| 3894 | |
| 3895 | * utils.c (host_pointer_to_address, address_to_host_pointer): |
| 3896 | Change internal_error() message to indicate function responsible |
| 3897 | for the error. |
| 3898 | |
| 3899 | 2002-07-26 Kevin Buettner <kevinb@redhat.com> |
| 3900 | |
| 3901 | * ui-out.c (ui_out_field_core_addr): Remove unnecessary cast in |
| 3902 | calls to local_hex_string_custom(). |
| 3903 | |
| 3904 | 2002-07-26 Kevin Buettner <kevinb@redhat.com> |
| 3905 | |
| 3906 | * irix5-nat.c: Move IRIX shared library support from here... |
| 3907 | * solib-irix.c: ...to here. Revised substantially to work with |
| 3908 | generic solib framework. |
| 3909 | |
| 3910 | * osabi.h (gdb_osabi): Add new enum constant GDB_OSABI_IRIX. |
| 3911 | * osabi.c (gdb_osabi_names): Add corresponding string for Irix. |
| 3912 | * mips-irix-tdep.c: New file. |
| 3913 | |
| 3914 | * Makefile.in (ALLDEPFILES): Add mips-irix-tdep.c and solib-irix.c. |
| 3915 | (mips-irix-tdep.o, solib-irix.o): New rules. |
| 3916 | * config/mips/irix5.mt (TDEPFILES): Add mips-irix-tdep.o, solib.o, |
| 3917 | solib-irix.o. |
| 3918 | * config/mips/irix6.mt (TDEPFILES): Likewise. |
| 3919 | * config/mips/irix6.mh (NATDEPFILES): Remove solib.o. |
| 3920 | |
| 3921 | 2002-07-26 Kevin Buettner <kevinb@redhat.com> |
| 3922 | |
| 3923 | * aix-thread.c (coff/internal.h, bfd/libcoff.h, pthread.h): Remove |
| 3924 | disabled (via ``#if 0'') includes. |
| 3925 | |
| 3926 | 2002-07-26 Kevin Buettner <kevinb@redhat.com> |
| 3927 | |
| 3928 | * aix-thread.c (special_register_p, supply_sprs64, supply_sprs32) |
| 3929 | (fetch_regs_user_thread, fetch_regs_kernel_thread, fill_sprs64) |
| 3930 | (fill_sprs32, store_regs_user_thread, store_regs_kernel_thread): |
| 3931 | Add support for the fpscr register. |
| 3932 | * rs6000-nat.c (regmap, fetch_inferior_registers) |
| 3933 | (store_inferior_registers, fetch_core_registers): Likewise. |
| 3934 | |
| 3935 | 2002-07-26 Kevin Buettner <kevinb@redhat.com> |
| 3936 | |
| 3937 | * rs6000-nat.c (language.h): Include. |
| 3938 | (special_regs): Delete this array. |
| 3939 | (regmap): New function. |
| 3940 | (fetch_register, store_register): Use regmap() to map gdb |
| 3941 | register numbers to ptrace register numbers. Also, use |
| 3942 | outputs from regmap() to make decisions regarding type of |
| 3943 | ptrace() call to make. In particular, don't compare against |
| 3944 | FIRST_UISA_SP_REGNUM or LAST_UISA_SP_REGNUM. |
| 3945 | (fetch_inferior_registers, store_inferior_registers): Where |
| 3946 | possible, obtain register numbers from tdep struct. Don't |
| 3947 | refer to FIRST_UISA_SP_REGNUM or LAST_UISA_SP_REGNUM. |
| 3948 | * config/rs6000/tm-rs6000.h (FIRST_UISA_SP_REGNUM) |
| 3949 | (LAST_UISA_SP_REGNUM): Delete. |
| 3950 | |
| 3951 | 2002-07-25 Kevin Buettner <kevinb@redhat.com> |
| 3952 | |
| 3953 | * rs6000-nat.c (ppc-tdep.h): Include. |
| 3954 | (fetch_registers, store_register, fetch_core_registers): Don't |
| 3955 | access registers[] directly. Instead, use supply_register() or |
| 3956 | regcache_collect() as appropriate. |
| 3957 | (find_toc_address): Format hex address with local_hex_string(). |
| 3958 | |
| 3959 | 2002-07-25 Andrew Cagney <ac131313@redhat.com> |
| 3960 | |
| 3961 | * config/djgpp/fnchange.lst: Rename bfd/elf32-fr30.c and |
| 3962 | bfd/elf32-frv.c. |
| 3963 | |
| 3964 | 2002-07-24 Tom Tromey <tromey@redhat.com> |
| 3965 | |
| 3966 | * jv-exp.y: Marked all strings with _(). |
| 3967 | (ClassInstanceCreationExpression, ArrayCreationExpression): Use |
| 3968 | internal_error. |
| 3969 | (MethodInvocation, CastExpression, parse_number, yyerror, |
| 3970 | java_type_from_name, push_expression_name, yylex): Typo fixes. |
| 3971 | |
| 3972 | 2002-07-24 Daniel Jacobowitz <drow@mvista.com> |
| 3973 | |
| 3974 | * ui-file.c (struct tee_file, tee_file_new, tee_file_delete) |
| 3975 | (tee_file_flush, tee_file_write, tee_file_fputs) |
| 3976 | (tee_file_isatty): New. |
| 3977 | * ui-file.h (tee_file_new): Add prototype. |
| 3978 | |
| 3979 | 2002-07-24 Aidan Skinner <aidan@velvet.net> |
| 3980 | |
| 3981 | * ada-lang.c: Change k&r style function definitions to prototyped |
| 3982 | form. |
| 3983 | * ada-typeprint.c: Change k&r style function definitions to prototyped |
| 3984 | form. |
| 3985 | * ada-valprint.c: Change k&r style function definitions to prototyped |
| 3986 | form. |
| 3987 | |
| 3988 | 2002-07-24 Andrew Cagney <cagney@redhat.com> |
| 3989 | |
| 3990 | * README: Remove reference to remote-bug. |
| 3991 | * Makefile.in (ALLDEPFILES): Remove m88k-nat.c, m88k-tdep.c and |
| 3992 | remote-bug.c. |
| 3993 | (m88k-nat.o): Delete rule. |
| 3994 | (m88k-tdep.o): Delete rule. |
| 3995 | (remote-bug.o): Delete rule. |
| 3996 | * MAINTAINERS: Mark as obsolete. |
| 3997 | * elfread.c (elf_symtab_read): Mention that m88k is obsolete. |
| 3998 | * m88k-tdep.c: Make file obsolete. |
| 3999 | * config/m88k/m88k.mh: Ditto. |
| 4000 | * config/m88k/delta88v4.mh: Ditto. |
| 4001 | * config/m88k/delta88v4.mt: Ditto. |
| 4002 | * config/m88k/delta88.mt: Ditto. |
| 4003 | * config/m88k/delta88.mh: Ditto. |
| 4004 | * remote-bug.c: Ditto. |
| 4005 | * config/m88k/tm-delta88.h: Ditto. |
| 4006 | * config/m88k/nm-delta88v4.h: Ditto. |
| 4007 | * config/m88k/xm-delta88.h: Ditto. |
| 4008 | * config/m88k/xm-dgux.h: Ditto. |
| 4009 | * config/m88k/tm-m88k.h: Ditto. |
| 4010 | * config/m88k/nm-m88k.h: Ditto. |
| 4011 | * config/m88k/tm-delta88v4.h: Ditto. |
| 4012 | * m88k-nat.c: Ditto. |
| 4013 | * cxux-nat.c: Ditto. |
| 4014 | * configure.host: Make m88*-motorola-sysv4*, m88*-motorola-sysv* |
| 4015 | and m88*-*-* obsolete. |
| 4016 | * configure.tgt: Make m88*-motorola-sysv4*, m88*-motorola-* and |
| 4017 | m88*-*-* obsolete. |
| 4018 | |
| 4019 | 2002-07-24 Andrew Cagney <cagney@redhat.com> |
| 4020 | |
| 4021 | * findvar.c (extract_unsigned_integer): Make `addr' parameter |
| 4022 | constant. Same for local pointer variables. |
| 4023 | (extract_signed_integer): Ditto. |
| 4024 | * defs.h (extract_unsigned_integer): Update. |
| 4025 | (extract_signed_integer): Update. |
| 4026 | |
| 4027 | 2002-07-24 Andrew Cagney <cagney@redhat.com> |
| 4028 | |
| 4029 | * regcache.c (regcache_raw_write): Change buf parameter to a |
| 4030 | constant void pointer. |
| 4031 | (regcache_raw_read): Change buf parameter to a void pointer. |
| 4032 | (legacy_write_register_gen): Change myaddr parameter a constant |
| 4033 | void pointer. |
| 4034 | (supply_register): Change val parameter to a const void pointer. |
| 4035 | * regcache.h (regcache_raw_write): Update declaration. |
| 4036 | (regcache_raw_read): Update declaration. |
| 4037 | (supply_register): Update declaration. |
| 4038 | |
| 4039 | 2002-07-24 Tom Tromey <tromey@redhat.com> |
| 4040 | |
| 4041 | * defs.h (gdb_readline_wrapper): Declare. |
| 4042 | * utils.c (prompt_for_continue): Use gdb_readline_wrapper. |
| 4043 | * tracepoint.c (read_actions): Use gdb_readline_wrapper. |
| 4044 | * top.c (gdb_readline_wrapper): New function. |
| 4045 | (command_line_input): Use it. |
| 4046 | |
| 4047 | 2002-07-24 Andrew Cagney <cagney@redhat.com> |
| 4048 | |
| 4049 | * regcache.h (regcache_raw_read, regcache_raw_write): Replace |
| 4050 | regcache_read and regcache_write. |
| 4051 | (regcache_raw_read_as_address): Replace regcache_read_as_address. |
| 4052 | * regcache.c: Update. |
| 4053 | * sh-tdep.c (sh64_push_arguments): Update comment. |
| 4054 | (sh_pseudo_register_read): Update. |
| 4055 | (sh_pseudo_register_write): Update. |
| 4056 | (sh4_register_read): Update. |
| 4057 | (sh4_register_write): Update. |
| 4058 | (sh64_pseudo_register_read): Update. |
| 4059 | (sh64_pseudo_register_write): Update. |
| 4060 | (sh64_register_read): Update. |
| 4061 | (sh64_register_write): Update. |
| 4062 | * i386-tdep.c (i386_extract_return_value): Update. |
| 4063 | (i386_extract_struct_value_address): Update. |
| 4064 | (i386_extract_return_value): Update. |
| 4065 | * blockframe.c (generic_read_register_dummy): Update. |
| 4066 | (generic_call_dummy_register_unwind): Update |
| 4067 | * infrun.c (write_inferior_status_register): Update. |
| 4068 | |
| 4069 | 2002-07-23 Jim Blandy <jimb@redhat.com> |
| 4070 | |
| 4071 | * parser-defs.h (expression_context_pc): Make this extern. |
| 4072 | (Thanks to Michael Snyder.) |
| 4073 | |
| 4074 | 2002-07-23 Andrew Cagney <ac131313@redhat.com> |
| 4075 | |
| 4076 | GDB 5.2.1 released from 5.2 branch. |
| 4077 | * NEWS: Mention changes in 5.2.1 including addition of AVR target. |
| 4078 | * README: Update to mention 5.2.1. |
| 4079 | |
| 4080 | 2002-07-23 Mark Salter <msalter@redhat.com> |
| 4081 | |
| 4082 | * remote.c (remote_read_bytes): Fix check for error. |
| 4083 | |
| 4084 | 2002-07-22 Kevin Buettner <kevinb@redhat.com> |
| 4085 | |
| 4086 | * aix-thread.c (language.h): Include. |
| 4087 | (ptrace_check, pdc_symbol_addrs, pdc_read_regs, pdc_write_regs) |
| 4088 | (pdc_read_data, pdc_write_data, pdc_alloc, pdc_realloc, pdc_dealloc): |
| 4089 | Print newlines at end of debug messages. |
| 4090 | (pdc_symbol_addrs, pdc_read_regs, pdc_write_regs, pdc_read_data) |
| 4091 | (pdc_write_data): Use local_hex_string() instead of %llx formats. |
| 4092 | |
| 4093 | 2002-07-22 Kevin Buettner <kevinb@redhat.com> |
| 4094 | |
| 4095 | * aix-thread.c (ppc-tdep.h): Include. |
| 4096 | (special_register_p): New function. |
| 4097 | (supply_sprs64, supply_sprs32, fill_sprs64, fill_sprs32) |
| 4098 | (store_regs_user_thread): Use register number information from |
| 4099 | gdbarch_tdep struct instead of hardcoded offsets relative to |
| 4100 | FIRST_UISA_SP_REGNUM. |
| 4101 | (fetch_regs_kernel_thread, store_regs_kernel_thread): Call |
| 4102 | special_register_p() instead of using FPLAST_REGNUM and |
| 4103 | LAST_UISA_SP_REGNUM as lower and upper bounds on the special |
| 4104 | register numbers. Also, don't assume that LAST_UISA_SP_REGNUM |
| 4105 | will be MQ's register number. |
| 4106 | |
| 4107 | 2002-07-22 Michael Snyder <msnyder@redhat.com> |
| 4108 | |
| 4109 | * aix-thread.c (ops): Rename to aix_thread_ops. |
| 4110 | (base_ops): Rename to base_target. |
| 4111 | (ops_attach): Rename to aix_thread_attach. |
| 4112 | (ops_detach): Rename to aix_thread_detach. |
| 4113 | (ops_resume): Rename to aix_thread_detach. |
| 4114 | (ops_wait): Rename to aix_thread_wait. |
| 4115 | (ops_kill): Rename to aix_thread_kill. |
| 4116 | (init_ops): Rename to init_aix_thread_ops. |
| 4117 | (ops_fetch_register): Rename to aix_thread_fetch_register. |
| 4118 | (ops_store_register): Rename to aix_thread_store_register. |
| 4119 | (ops_mourn_inferior): Rename to aix_thread_mourn_inferior. |
| 4120 | (ops_thread_alive): Rename to aix_thread_thread_alive. |
| 4121 | (ops_extra_thread_info: Rename to aix_thread_extra_thread_info. |
| 4122 | (ops_pid_to_str): Rename to aix_thread_pid_to_str. |
| 4123 | (ops_xfer_memory): Rename to aix_thread_xfer_memory. |
| 4124 | (fetch_regs_lib): Rename to fetch_regs_user_thread. |
| 4125 | (fetch_regs_kern): Rename to fetch_regs_kernel_thread. |
| 4126 | (store_regs_lib): Rename to store_regs_user_thread. |
| 4127 | (store_regs_kern): Rename to store_regs_kernel_thread. |
| 4128 | |
| 4129 | 2002-07-22 Michael Snyder <msnyder@redhat.com> |
| 4130 | |
| 4131 | * aix-thread.c (ops_prepare_to_store): Eliminate. |
| 4132 | (init_ops): Don't initialize ops.prepare_to_store. |
| 4133 | (store_regs_kern): Pre-fetch register buffers from child, |
| 4134 | because some registers may not be in the cache. Copy |
| 4135 | regs from register cache only if they are cached. |
| 4136 | (store_regs_lib): Copy regs from register cache only |
| 4137 | if they are cached. |
| 4138 | (fill_sprs32, (fill_sprs64, fill_fprs, fill_gprs32, |
| 4139 | fill_gprs64): Ditto. |
| 4140 | |
| 4141 | 2002-07-22 Kevin Buettner <kevinb@redhat.com> |
| 4142 | |
| 4143 | * aix-thread.c (gdb_assert.h): Include. |
| 4144 | (fill_sprs64, fill_sprs32): Add selected asserts to make sure that |
| 4145 | register sizes (from register cache) match size of buffer holding |
| 4146 | register data. |
| 4147 | (fill_sprs32): Change parameter types to match those in the ptrace() |
| 4148 | buffer. |
| 4149 | (store_regs_lib): Likewise, but for 32-bit temporary variables. |
| 4150 | (ops_prepare_to_store): Rename loop variable ``i'' to ``regno''. |
| 4151 | |
| 4152 | 2002-07-22 Michael Snyder <msnyder@redhat.com> |
| 4153 | |
| 4154 | * aix-thread.c (supply_sprs64): Cosmetic change. |
| 4155 | (supply_sprs32): Cosmetic change. |
| 4156 | (fill_gprs64, fill_gprs32, fill_fprs, fill_sprs32): New funcs. |
| 4157 | (fill_sprs64): Use regcache_collect instead of read_register. |
| 4158 | (store_regs_lib): Use regcache_collect instead of |
| 4159 | read_register. Use fill_sprs32 instead of fill_sprs64, |
| 4160 | if debugging a 32-bit architecture. |
| 4161 | (store_regs_kern): Use fill_gprs64 etc. to pull the values |
| 4162 | out of the register cache, instead of passing a pointer into |
| 4163 | the register cache directly to ptrace. Use regcache_collect |
| 4164 | insteaad of read_register. |
| 4165 | (ops_prepare_to_store): Use target_read_registers instead |
| 4166 | of read_register_bytes. |
| 4167 | |
| 4168 | 2002-07-20 Aidan Skinner <aidan@velvet.net> |
| 4169 | |
| 4170 | * MAINTAINERS: Add self under write after approval. |
| 4171 | |
| 4172 | 2002-07-20 Aidan Skinner <aidan@velvet.net> |
| 4173 | |
| 4174 | * ada-tasks.c: Change k&r style function definitions to prototyped |
| 4175 | form. |
| 4176 | |
| 4177 | 2002-07-19 Andrew Cagney <ac131313@redhat.com> |
| 4178 | |
| 4179 | * Makefile.in (x86-64-tdep.o): Add $(objfiles_h). |
| 4180 | * x86-64-tdep.c: Include "objfiles.h". |
| 4181 | (x86_64_gdbarch_init): Set in_solib_call_trampoline to |
| 4182 | in_plt_section. From 2002-07-18 Michal Ludvig <mludvig@suse.cz>. |
| 4183 | |
| 4184 | 2002-07-17 Michal Ludvig <michal@suse.cz> |
| 4185 | |
| 4186 | * dwarf2cfi.c (execute_stack_op): Complain on unknown DW_OP_ value. |
| 4187 | (update_context): Initialise cfa variable. |
| 4188 | |
| 4189 | 2002-07-17 Michael Snyder <msnyder@redhat.com> |
| 4190 | |
| 4191 | * aix-thread.c: Shorten some long lines. |
| 4192 | Bring comments into line with code spec. |
| 4193 | |
| 4194 | 2002-07-18 Joel Brobecker <brobecker@gnat.com> |
| 4195 | |
| 4196 | * infrun.c: Re-indent using gdb_indent.sh. |
| 4197 | |
| 4198 | 2002-07-18 Joel Brobecker <brobecker@gnat.com> |
| 4199 | |
| 4200 | * infrun.c (handle_inferior_event): Remove unneeded extra brace. |
| 4201 | Leave the indentation temporarily untouched, to minimize the diffs. |
| 4202 | |
| 4203 | 2002-07-18 Elena Zannoni <ezannoni@redhat.com> |
| 4204 | |
| 4205 | * stabsread.c: Make os9k sections of the code obsolete, |
| 4206 | for real this time. |
| 4207 | * stabsread.h: Make os9k sections of the code obsolete. |
| 4208 | |
| 4209 | 2002-07-18 Michal Ludvig <mludvig@suse.cz> |
| 4210 | |
| 4211 | * linux-low.c (regsets_store_inferior_registers): Add free() |
| 4212 | at the end of a loop to prevent memory leak. |
| 4213 | * linux-x86-64-low.c (x86_64_regmap): Add CS, SS registers. |
| 4214 | (X86_64_NUM_GREGS): Count it from the size of x86_64_regmap. |
| 4215 | * config/sparc/tm-sp64linux.h: Make the rest of #endif |
| 4216 | line a comment. |
| 4217 | * Makefile.in (x86-64-linux-nat.o): Remove dependency on i387-tdep.h |
| 4218 | |
| 4219 | 2002-07-17 Jim Blandy <jimb@redhat.com> |
| 4220 | |
| 4221 | * macrocmd.c (info_macro_command): Remove newline from error |
| 4222 | message. |
| 4223 | |
| 4224 | 2002-07-17 J"orn Rennecke <joern.rennecke@superh.com> |
| 4225 | |
| 4226 | * sh-tdep.c (sh_dsp_register_sim_regno): New function. |
| 4227 | (sh_gdbarch_init): Use it for sh-dsp. |
| 4228 | |
| 4229 | 2002-07-16 Kevin Buettner <kevinb@redhat.com> |
| 4230 | |
| 4231 | * dwarf2read.c (read_initial_length): Handle older, non-standard, |
| 4232 | 64-bit DWARF2 format. |
| 4233 | |
| 4234 | 2002-07-16 Joel Brobecker <brobecker@gnat.com> |
| 4235 | |
| 4236 | * proc-api.c: use HAVE_SYS_PROC_H macro to avoid including |
| 4237 | <sys/proc.h> when not available. |
| 4238 | |
| 4239 | 2002-07-16 Andrew Cagney <ac131313@redhat.com> |
| 4240 | |
| 4241 | * NEWS: Mention that the i[34]86-*-os9k has been made obsolete. |
| 4242 | * stabsread.c: Make os9k sections of the code obsolete. |
| 4243 | * configure.tgt: Make i[3456]86-*-os9k target obsolete. |
| 4244 | * config/i386/i386os9k.mt: Make file obsolete. |
| 4245 | * Makefile.in (ALLDEPFILES): Remove remote-os9k.c. |
| 4246 | (COMMON_OBS): Remove os9kread.o |
| 4247 | (SFILES): Remove os9kread.c. |
| 4248 | (os9kread.o, remote-os9k.o): Make target obsolete. |
| 4249 | * remote-os9k.c: Make file obsolete. |
| 4250 | * os9kread.c: Make file obsolete. |
| 4251 | * Makefile.in |
| 4252 | |
| 4253 | 2002-07-16 Andrew Cagney <ac131313@redhat.com> |
| 4254 | |
| 4255 | * NEWS: Mention that the FR30 has been made obsolete. |
| 4256 | * fr30-tdep.c: Make file obsolete. |
| 4257 | * config/fr30/tm-fr30.h: Ditto. |
| 4258 | * config/fr30/fr30.mt: Ditto. |
| 4259 | * configure.tgt: Make fr30-*-elf obsolete. |
| 4260 | * MAINTAINERS: Make fr30-elf obsolete. |
| 4261 | |
| 4262 | 2002-07-16 Pierre Muller <muller@ics.u-strasbg.fr> |
| 4263 | |
| 4264 | * blockframe.c (get_pc_function_start): return 0 if the minimal symbol |
| 4265 | found is not inside a section. |
| 4266 | |
| 4267 | 2002-07-15 Kevin Buettner <kevinb@redhat.com> |
| 4268 | |
| 4269 | * aix-thread.c (ptrace_check): Use safe_strerror() instead of |
| 4270 | strerror(). |
| 4271 | (pdc_realloc): Use xrealloc() instead of realloc(). |
| 4272 | |
| 4273 | 2002-07-15 Kevin Buettner <kevinb@redhat.com> |
| 4274 | |
| 4275 | * aix-thread.c (PD_ERROR, CALL_BASE): Delete. |
| 4276 | (ops_resume, ops_wait, fetch_regs_lib, store_regs_lib) |
| 4277 | (ops_xfer_memory, ops_kill): Don't use PD_ERROR or CALL_BASE |
| 4278 | macros. |
| 4279 | |
| 4280 | 2002-07-15 Kevin Buettner <kevinb@redhat.com> |
| 4281 | |
| 4282 | * aix-thread.c (ptrace_check): Eliminate goto. |
| 4283 | (sync_threadlists): Eliminate gotos. Also, fix array overrun |
| 4284 | problem. |
| 4285 | |
| 4286 | 2002-07-15 Kevin Buettner <kevinb@redhat.com> |
| 4287 | |
| 4288 | * aix-thread.c (gdbcmd.h): Include. |
| 4289 | (DEBUG, DBG, DBG2, dbg): Eliminate. |
| 4290 | (debug_aix_thread): New static global. |
| 4291 | (ptrace_check, pdc_symbol_addrs, pdc_read_regs, pdc_write_regs) |
| 4292 | (pdc_read_data, pdc_write_data, pdc_alloc, pdc_realloc, pdc_dealloc) |
| 4293 | (fetch_regs_lib, store_regs_lib, store_regs_kern): Rewrite |
| 4294 | invocations to DBG and DBG2 macros to test against |
| 4295 | ``debug_aix_thread'' and call fprintf_unfiltered(). |
| 4296 | (_initialize_aix_thread): Add new command "set debug aix-thread". |
| 4297 | |
| 4298 | 2002-07-15 Andrew Cagney <ac131313@redhat.com> |
| 4299 | |
| 4300 | From Gerhard Tonn <TON@de.ibm.com>: |
| 4301 | * s390-nat.c (fill_fpregset, fill_gregset): Use regcache_collect |
| 4302 | instead of supply_register. |
| 4303 | |
| 4304 | 2002-07-15 Andrew Cagney <ac131313@redhat.com> |
| 4305 | |
| 4306 | * dwarf2cfi.c: Include "gdb_assert.h". |
| 4307 | (frame_state_for): Use gdb_assert to check that fde->cie_ptr is |
| 4308 | non-NULL. |
| 4309 | (update_context): Do not use __func__. Add missing ``break''. |
| 4310 | (update_context): Do not use __func__. |
| 4311 | |
| 4312 | 2002-07-15 Elena Zannoni <ezannoni@redhat.com> |
| 4313 | |
| 4314 | * rs6000-tdep.c (rs6000_gdbarch_init): Remove variable print_insn |
| 4315 | and its setting. Set gdbarch instruction printing functions |
| 4316 | directly. For non-rs6000 case use new function |
| 4317 | gdb_print_insn_powerpc. |
| 4318 | (gdb_print_insn_powerpc): New function. |
| 4319 | |
| 4320 | 2002-07-13 Andrew Cagney <ac131313@redhat.com> |
| 4321 | |
| 4322 | * NEWS: Mention that the d30v has been marked obsolete. |
| 4323 | * MAINTAINERS: Note that d30v / d30v-elf has been made obsolete. |
| 4324 | * configure.tgt: Mark d30v-*-* as obsolete. |
| 4325 | * d30v-tdep.c: Mark file as obsolete. |
| 4326 | * config/d30v/d30v.mt: Ditto. |
| 4327 | * config/d30v/tm-d30v.h: Ditto. |
| 4328 | |
| 4329 | 2002-07-13 Aidan Skinner <aidan@velvet.net> |
| 4330 | |
| 4331 | * ada-tasks.c (add_task_entry): replace calls to |
| 4332 | malloc() with xmalloc |
| 4333 | * ada-tasks.c (init_task_list): replace calls to free with xfree() |
| 4334 | |
| 4335 | * ada-lang.c (replace_operator_with_call, fill_in_ada_prototype, |
| 4336 | ada_finish_decode_line_1, all_sals_for_line |
| 4337 | ada_breakpoint_rewrite): replace calls to free() with xfree() |
| 4338 | |
| 4339 | 2002-07-12 Kevin Buettner <kevinb@redhat.com> |
| 4340 | |
| 4341 | From Nicholas Duffek (with minor changes by Martin Hunt, |
| 4342 | Louis Hamilton, and Kevin Buettner): |
| 4343 | * aix-thread.c: New file. |
| 4344 | |
| 4345 | 2002-07-12 Petr Sorfa <petrs@caldera.com> |
| 4346 | |
| 4347 | * dwarf2read.c (dwarf2_invalid_attrib_class): New |
| 4348 | complaint for invalid attribute class or form. |
| 4349 | (read_func_scope): DW_AT_frame_base |
| 4350 | better handling of DW_AT_block*. |
| 4351 | (dwarf2_add_member_fn): DW_AT_vtable_elem_location |
| 4352 | better handling of DW_AT_block*. |
| 4353 | (read_common_block): DW_AT_location |
| 4354 | better handling of DW_AT_block*. |
| 4355 | (read_partial_die): DW_AT_location better handling |
| 4356 | of DW_AT_block*. |
| 4357 | (new_symbol): DW_AT_external better handling of |
| 4358 | DW_AT_block*. Proper initialization of variable |
| 4359 | "addr". |
| 4360 | (attr_form_is_block): New function that returns true |
| 4361 | if the attribute's form is of DW_FORM_block*. |
| 4362 | |
| 4363 | 2002-07-12 Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE> |
| 4364 | |
| 4365 | * valops.c (find_method_list): Remove comment about |
| 4366 | removed STATIC_MEMFUNCP argument. |
| 4367 | (value_find_oload_method_list): Likewise. |
| 4368 | |
| 4369 | 2002-07-12 Kevin Buettner <kevinb@redhat.com> |
| 4370 | |
| 4371 | From Nicholas Duffek: |
| 4372 | * rs6000-nat.c (vmap_ldinfo, xcoff_relocate_core): Call |
| 4373 | target_new_objfile_hook. |
| 4374 | |
| 4375 | 2002-07-12 Kevin Buettner <kevinb@redhat.com> |
| 4376 | |
| 4377 | From Nicholas Duffek: |
| 4378 | * xcoffread.c (scan_xcoff_symtab): Recognize XMC_TD as a data storage |
| 4379 | csect. |
| 4380 | |
| 4381 | 2002-07-12 Andrew Cagney <cagney@redhat.com> |
| 4382 | |
| 4383 | * MAINTAINERS: Mention --enable-sim-build-warnings. |
| 4384 | (m68hc11-elf): Disable sim build warnings. |
| 4385 | (m32r-elf): Mark as broken obsolete candidate. |
| 4386 | (x86_64-linux-gnu): Mark as buildable with -Werror. |
| 4387 | (arm-elf): Change -w to ``,'' which enables warnings but not |
| 4388 | -Werror. |
| 4389 | |
| 4390 | 2002-07-12 Andrew Cagney <ac131313@redhat.com> |
| 4391 | |
| 4392 | * bcache.h: Update copyright. |
| 4393 | (struct bstring, struct bcache): Move definition to "bcache.c". |
| 4394 | Replaced by opaque declaration. |
| 4395 | (bcache_xfree): Replace free_bcache. |
| 4396 | (bcache_xmalloc, bcache_memory_used): Declare. |
| 4397 | |
| 4398 | * bcache.c: Update copyright. |
| 4399 | (struct bstring, struct bcache): Moved to here from "bcache.h". |
| 4400 | Update comments. |
| 4401 | (bcache_xmalloc, bcache_memory_used): New functions. |
| 4402 | (bcache_xfree): Replace function free_bcache. |
| 4403 | |
| 4404 | * Makefile.in (objfiles.o): Add $(bcache_h). |
| 4405 | (objfiles_h): Remove $(bcache_h). |
| 4406 | (symfile.o): Add $(bcache_h). |
| 4407 | |
| 4408 | * symmisc.c: Update copyright. |
| 4409 | (print_symbol_bcache_statistics): Pass psymbol_cache by value. |
| 4410 | (print_objfile_statistics): Use bcache_memory_used. |
| 4411 | |
| 4412 | * symfile.c: Include "bcache.h". |
| 4413 | (reread_symbols): Use bcache_xfree. |
| 4414 | (reread_symbols): Use bcache_xmalloc and bcache_xfree. |
| 4415 | (add_psymbol_to_list): Pass psymbol_cache by value. |
| 4416 | (add_psymbol_with_dem_name_to_list): Ditto. |
| 4417 | |
| 4418 | * objfiles.h: Update copyright. |
| 4419 | (struct bcache): Declare opaque. Do not include "bcache.h". |
| 4420 | (struct objfile): Change psymbol_cache and macro_cache to ``struct |
| 4421 | bcache'' pointers. |
| 4422 | * dwarf2read.c (macro_start_file): Pass macro_cache by value. |
| 4423 | |
| 4424 | * objfiles.c: Include "bcache.h". Update copyright. |
| 4425 | (allocate_objfile): Use bcache_xmalloc to create psymbol_cache and |
| 4426 | macro_cache. |
| 4427 | (free_objfile): Use bcache_xfree. |
| 4428 | |
| 4429 | 2002-07-11 Grace Sainsbury <graces@redhat.com> |
| 4430 | |
| 4431 | * monitor.c (monitor_fetch_register): Make name a constant. |
| 4432 | (monitor_store_register): Same. |
| 4433 | |
| 4434 | 2002-07-11 Daniel Jacobowitz <drow@mvista.com> |
| 4435 | |
| 4436 | Based on patch from Daniel Berlin <dberlin@dberlin.org>. |
| 4437 | * buildsym.c: Include "demangle.h" for SYMBOL_INIT_DEMANGLED_NAME. |
| 4438 | (finish_block) For non-function blocks, hash the symbol table. For |
| 4439 | function blocks, mark the symbol table as unhashed. |
| 4440 | * minsyms.c (msymbol_hash): Return hash value without taking modulus. |
| 4441 | (msymbol_hash_iw): Likewise. |
| 4442 | (add_minsym_to_hash_table): Take modulus of msymbol_hash's return |
| 4443 | value. |
| 4444 | (add_minsym_to_demangled_hash_table): Likewise for msymbol_hash_iw. |
| 4445 | (lookup_minimal_symbol): Likewise for both. |
| 4446 | * symtab.h (struct block): Add `hashtable' flag. Comment the |
| 4447 | hashtable. |
| 4448 | (BLOCK_HASHTABLE, BLOCK_BUCKETS, BLOCK_BUCKET): New macro. |
| 4449 | (ALL_BLOCK_SYMBOLS): Update. |
| 4450 | (BLOCK_SHOULD_SORT): Do not sort hashed blocks. |
| 4451 | (struct symbol): Add `hash_next' pointer. |
| 4452 | * symtab.c (lookup_block_symbol): Search using the hash table when |
| 4453 | possible. |
| 4454 | (find_pc_sect_symtab): Use ALL_BLOCK_SYMBOLS. |
| 4455 | (search_symbols, find_addr_symbol): Likewise. |
| 4456 | |
| 4457 | * dstread.c (process_dst_block): Clear hashtable bit for new block. |
| 4458 | (read_dst_symtab): Likewise. |
| 4459 | * jv-lang.c (get_java_class_symtab): Likewise. |
| 4460 | * mdebugread.c: Include "gdb_assert.h". |
| 4461 | (shrink_block): Assert that the block being modified is not hashed. |
| 4462 | * coffread.c (patch_opaque_types): Use ALL_BLOCK_SYMBOLS. |
| 4463 | * symmisc.c (free_symtab_block): Walk the hash table when freeing |
| 4464 | symbols. |
| 4465 | (dump_symtab): Recognize hashed blocks. |
| 4466 | * printcmd.c (print_frame_args): Assert that function blocks do not |
| 4467 | have hashed symbol tables. |
| 4468 | * ada-lang.c (symtab_for_sym): Use ALL_BLOCK_SYMBOLS. |
| 4469 | (fill_in_ada_prototype, debug_print_block): Likewise. |
| 4470 | (ada_add_block_symbols): Use ALL_BLOCK_SYMBOLS. Handle hash tables. |
| 4471 | |
| 4472 | 2002-07-11 Corinna Vinschen <vinschen@redhat.com> |
| 4473 | |
| 4474 | * stack.c (print_frame): Use result of frame_address_in_block() |
| 4475 | instead of fi->pc when evaluating symbols. |
| 4476 | (backtrace_command_1): Ditto. |
| 4477 | |
| 4478 | 2002-07-11 Andrew Cagney <cagney@redhat.com> |
| 4479 | |
| 4480 | * cris-tdep.c (cris_saved_pc_after_call): Fix parameter type. |
| 4481 | Make static. |
| 4482 | |
| 4483 | * arm-tdep.c (arm_register_name): Make return type constant. |
| 4484 | |
| 4485 | 2002-07-10 Andrew Cagney <ac131313@redhat.com> |
| 4486 | |
| 4487 | * win32-nat.c (has_detach_ability): Convert to strict ISO C |
| 4488 | prototype. |
| 4489 | * top.c (gdb_rl_operate_and_get_next_completion): Ditto. |
| 4490 | * s390-tdep.c (s390_fp_regnum): Ditto. |
| 4491 | (s390_read_fp): Ditto. |
| 4492 | (s390_pop_frame): Ditto. |
| 4493 | (_initialize_s390_tdep): Ditto. |
| 4494 | * remote.c (get_remote_state): Ditto. |
| 4495 | * procfs.c (mappingflags): Ditto. |
| 4496 | * memattr.c (_initialize_mem): Ditto. |
| 4497 | * mcore-tdep.c (mcore_pop_frame): Ditto. |
| 4498 | * m68klinux-nat.c (_initialize_m68k_linux_nat): Ditto. |
| 4499 | * m68k-tdep.c (m68k_register_bytes_ok): Ditto. |
| 4500 | * language.c (set_case_str): Ditto. |
| 4501 | * gnu-v3-abi.c (vtable_address_point_offset): Ditto. |
| 4502 | * frv-tdep.c (new_variant): Ditto. |
| 4503 | (frv_stopped_data_address): Ditto. |
| 4504 | * dwarf2cfi.c (fde_chunks_need_space): Ditto. |
| 4505 | (context_alloc): Ditto. |
| 4506 | (frame_state_alloc): Ditto. |
| 4507 | (unwind_tmp_obstack_init): Ditto. |
| 4508 | (unwind_tmp_obstack_free): Ditto. |
| 4509 | (cfi_read_fp): Ditto. |
| 4510 | * cris-tdep.c (cris_saved_pc_after_call): Ditto. |
| 4511 | (cris_pop_frame): Ditto. |
| 4512 | * c-lang.c (scanning_macro_expansion): Ditto. |
| 4513 | (finished_macro_expansion): Ditto. |
| 4514 | (c_preprocess_and_parse): Ditto. |
| 4515 | * gdbarch.sh: Ditto. |
| 4516 | * gdbarch.h, gdbarch.c: Regenerate. |
| 4517 | * config/mn10200/tm-mn10200.h: Adjust indentation. |
| 4518 | * target.c: Adjust indentation. |
| 4519 | * symtab.h: Adjust indentation. |
| 4520 | * stabsread.h: Adjust indentation. |
| 4521 | * remote-es.c: Adjust indentation. |
| 4522 | * os9kread.c: Adjust indentation. |
| 4523 | |
| 4524 | 2002-07-10 Andrew Cagney <ac131313@redhat.com> |
| 4525 | |
| 4526 | * wince.c (_initialize_wince): Rename _initialize_inftarg. |
| 4527 | * win32-nat.c (_initialize_win32_nat): Rename _initialize_inftarg. |
| 4528 | |
| 4529 | 2002-07-10 Grace Sainsbury <graces@redhat.com> |
| 4530 | |
| 4531 | * NEWS: Mention m68k, mcore multi-arching. |
| 4532 | * MAINTAINERS: Change status of m68k, mcore to reflect |
| 4533 | multi-arching. |
| 4534 | |
| 4535 | 2002-07-10 Daniel Jacobowitz <drow@mvista.com> |
| 4536 | |
| 4537 | * valops.c (find_overload_match): Free oload_syms. |
| 4538 | |
| 4539 | 2002-07-09 Joel Brobecker <brobecker@gnat.com> |
| 4540 | |
| 4541 | Define HAVE_SYS_PROC_H if sys/proc.h exists |
| 4542 | * configure.in: Add check for sys/proc.h |
| 4543 | * config.in: Regenerate. |
| 4544 | * configure: Regenerate. |
| 4545 | |
| 4546 | 2002-07-09 Grace Sainsbury <graces@redhat.com> |
| 4547 | |
| 4548 | * config/m68k/tm-m68k.h: Remove macros wrapped in |
| 4549 | #if !GDB_MULTI_ARCH. |
| 4550 | |
| 4551 | 2002-07-08 Andrew Cagney <ac131313@redhat.com> |
| 4552 | |
| 4553 | * config.in, configure: Regenerate. |
| 4554 | |
| 4555 | 2002-07-08 Mark Kettenis <kettenis@gnu.org> |
| 4556 | |
| 4557 | * dwarf2cfi.c: Include "gcore.h". |
| 4558 | (execute_stack_op): Fix implementation of the |
| 4559 | DW_OP_deref and DW_OP_deref_size operators by letting do their |
| 4560 | lookup in the target. |
| 4561 | |
| 4562 | 2002-07-07 Mark Kettenis <kettenis@gnu.org> |
| 4563 | |
| 4564 | From Peter Schauer <Peter.Schauer@regent.e-technik.tu-muenchen.de>: |
| 4565 | * i386-sol2-tdep.c (i386_sol2_init_abi): Correct value for |
| 4566 | tdep->sc_sp_offset. |
| 4567 | |
| 4568 | 2002-07-05 Daniel Jacobowitz <drow@mvista.com> |
| 4569 | |
| 4570 | Fix PR gdb/595, gdb/602 |
| 4571 | * gnu-v3-abi.c (gnuv3_baseclass_offset): Remove unused variables. |
| 4572 | Don't call value_cast, just read the vtable pointer; update comments |
| 4573 | to match. |
| 4574 | |
| 4575 | 2002-07-05 Grace Sainsbury <graces@redhat.com> |
| 4576 | |
| 4577 | * config/mcore/tm-mcore.h: Remove file. |
| 4578 | * config/mcore/mcore.mt: Remove definition of TM_FILE |
| 4579 | * configure.tgt: Set gdb_multi_arch to yes for the mcore target. |
| 4580 | |
| 4581 | 2002-07-05 Mark Kettenis <kettenis@gnu.org> |
| 4582 | |
| 4583 | * i386bsd-tdep.c: Include "gdb_string.h". |
| 4584 | |
| 4585 | 2002-07-04 Grace Sainsbury <graces@redhat.com> |
| 4586 | |
| 4587 | * config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Set to 2. |
| 4588 | (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG,RETVAL_REGNUM): Move to |
| 4589 | mcore-tdep. |
| 4590 | (REG_STRUCT_HAS_ADDR, USE_STRUCT_CONVENTION, GET_SAVED_REGISTER) |
| 4591 | (TARGET_VIRTUAL_FRAME_POINTER, BELIEVE_PCC_PROMOTION): Remove. |
| 4592 | * mcore-tdep.c (PR_REGNUM, FIRST_ARGREG, LAST_ARGREG) |
| 4593 | (RETVAL_REGNUM): Move macros from tm-mcore.h |
| 4594 | (mcore_reg_struct_has_addr): New function. |
| 4595 | (mcore_gdbarch_init): Added initializations for the macros removed |
| 4596 | from tm-mcore.h. |
| 4597 | |
| 4598 | 2002-07-04 Mark Kettenis <kettenis@gnu.org> |
| 4599 | |
| 4600 | * osabi.c (generic_elf_osabi_sniffer): Add check for FreeBSD 3.x's |
| 4601 | traditonal string branding within the ELF header. |
| 4602 | |
| 4603 | 2002-07-04 Daniel Jacobowitz <drow@mvista.com> |
| 4604 | |
| 4605 | * symtab.c (remove_params): New function. |
| 4606 | (make_symbol_overload_list): Use it instead of cplus_demangle. |
| 4607 | (overload_list_add_symbol): Likewise. Reorder. Fix memory leak. |
| 4608 | |
| 4609 | 2002-07-04 Mark Kettenis <kettenis@gnu.org> |
| 4610 | |
| 4611 | * i386obsd-nat.c (_initialize_i386obsd_nat): Fix typo in prototype. |
| 4612 | |
| 4613 | * i386bsd-tdep.c (i386nbsd_sigtramp_start, i386nbsd_sigtramp_end): |
| 4614 | New variables. |
| 4615 | (i386nbsd_init_abi): Use these to initialize tdep->sigtramp_start |
| 4616 | and tdep->sigtramp_end. |
| 4617 | * i386obsd-nat.c: New file. |
| 4618 | * config/i386/obsd.mh (NATDEPFILES): Add i386obsd-nat.o. |
| 4619 | |
| 4620 | * dwarf2cfi.c (cfi_pop_frame): Use alloca() for regbuf. |
| 4621 | Don't call get_current_frame(). |
| 4622 | |
| 4623 | 2002-07-04 Pierre Muller <muller@ics.u-strasbg.fr> |
| 4624 | |
| 4625 | * i386-nat.c (child_post_startup_inferior): New function |
| 4626 | calling i386_cleanup_dregs if |
| 4627 | I386_USE_GENERIC_WATCHPOINTS is defined. |
| 4628 | * config/i386/nm-i386.h: define CHILD_POST_STARTUP_INFERIOR |
| 4629 | conditional to acknowledge that i386-nat.c has its |
| 4630 | own child_post_startup_inferior function. |
| 4631 | |
| 4632 | 2002-07-04 Mark Kettenis <kettenis@gnu.org> |
| 4633 | |
| 4634 | * i386-tdep.h (I386_MAX_REGISTER_SIZE): New define. |
| 4635 | * i386-tdep.c (i386_do_pop_frame): Use I386_MAX_REGISTER_SIZE |
| 4636 | instead of MAX_REGISTER_RAW_SIZE. |
| 4637 | (i386_extract_return_value, i386_extract_struct_value_address): |
| 4638 | Convert to use regcache. |
| 4639 | (i386_gdbarch_init): Set max_register_raw_size and |
| 4640 | max_register_virtual_size to I386_MAX_REGISTER_SIZE. |
| 4641 | Set extract_return_value and extract_struct_value_address instead |
| 4642 | of their deprecated variants. |
| 4643 | |
| 4644 | Convert i386 target to generic dummy frames. |
| 4645 | * i386-tdep.c: Include "symfile.h". |
| 4646 | (i386_frameless_signal_p): Consider a function to be frameless if |
| 4647 | the pc points at the first instruction of the function. |
| 4648 | (i386_frame_chain): Handle (generic) call dummies. |
| 4649 | (i386_frame_saved_pc): Likewise. |
| 4650 | (i386_frame_init_saved_regs): Remove code dealing with call |
| 4651 | dummies on the stack. |
| 4652 | (i386_push_dummy_frame): Removed. |
| 4653 | (i386_call_dummy_words): Removed. |
| 4654 | (i386_fix_call_dummy): Removed. |
| 4655 | (i386_push_return_address): New function. |
| 4656 | (i386_do_pop_frame): Renamed from i386_pop_frame. Add FRAME |
| 4657 | parameter, and don't call get_current_frame. |
| 4658 | (i386_pop_frame): New function. |
| 4659 | (i386_gdbarch_init): Set use_generic_dummy_frames to 1, set |
| 4660 | call_dummy_location to AT_ENTRY_POINT, set call_dummy_address to |
| 4661 | entry_point_address, set call_dummy_breakpoint_offset to 0, set |
| 4662 | call_dummy_length to 0, set call_dummy_words to NULL, set |
| 4663 | sizeof_call_dummy_words to 0, set fix_call_dummy to |
| 4664 | generic_fix_call_dummy, set pc_in_call_dummy to |
| 4665 | pc_in_call_dummy_at_entry_point, set push_dummy_frame to |
| 4666 | generic_push_dummy_frame, set push_return_address to |
| 4667 | i386_push_return_address and set frame_chain_valid to |
| 4668 | generic_file_frame_chain_valid. |
| 4669 | |
| 4670 | 2002-07-03 Andrew Cagney <ac131313@redhat.com> |
| 4671 | |
| 4672 | * gdbarch.sh (struct regcache): Add opaque declaration. |
| 4673 | (EXTRACT_RETURN_VALUE): New architecture method. |
| 4674 | (EXTRACT_STRUCT_VALUE_ADDRESS): Ditto. |
| 4675 | * gdbarch.h, gdbarch.c: Regenerate. |
| 4676 | * arch-utils.c (legacy_extract_return_value): New function. |
| 4677 | * arch-utils.h (legacy_extract_return_value): Declare. |
| 4678 | * values.c (value_being_returned): Re-enable code handling |
| 4679 | EXTRACT_STRUCT_VALUE_ADDRESS. Move |
| 4680 | deprecated_grub_regcache_for_registers call to block handling |
| 4681 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. |
| 4682 | (EXTRACT_RETURN_VALUE): Do not define. |
| 4683 | |
| 4684 | 2002-07-03 Grace Sainsbury <graces@redhat.com> |
| 4685 | |
| 4686 | * config/mcore/tm-mcore.h (REGISTER_BYTES, NUM_REGS, PC_REGNUM) |
| 4687 | (SP_REGNUM, FP_REGNUM, FUNCTION_START_OFFSET, DECR_PC_AFTER_BREAK) |
| 4688 | (BREAKPOINT_FROM_PC, INNER_THAN, SAVED_PC_AFTER_CALL) |
| 4689 | (INIT_EXTRA_FRAME_INFO, FRAME_INIT_SAVED_REGS, INIT_FRAME_PC) |
| 4690 | (FRAME_CHAIN, FRAME_CHAIN_VALID, FRAME_SAVED_PC) |
| 4691 | (STORE_RETURN_VALUE, DEPRECATED_EXTRACT_RETURN_VALUE) |
| 4692 | (STORE_STRUCT_RETURN, DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS) |
| 4693 | (SKIP_PROLOGUE, FRAME_ARGS_SKIP, FRAME_ARGS_ADDRESS) |
| 4694 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, POP_FRAME) |
| 4695 | (PUSH_RETURN_ADDRESS, PUSH_DUMMY_FRAME, PUSH_ARGUMENTS): Remove. |
| 4696 | * mcore-tdep.c (mcore_init_extra_frame_info): Add fromleaf |
| 4697 | argument so the function fits the prototype in the architecture |
| 4698 | vector. |
| 4699 | (mcore_pop_frame): Remove argument so the function fits the |
| 4700 | prototype. Use get_current_frame instead of the argument. |
| 4701 | (mcore_push_arguments): Change type of struct_return so the |
| 4702 | function can be used in the architecture vector. |
| 4703 | (mcore_store_struct_return): Add. |
| 4704 | (mcore_frame_init_saved_regs): Add. |
| 4705 | (mcore_gdbarch_init): Add function calls to replace the macros |
| 4706 | removed from tm-mcore.h |
| 4707 | |
| 4708 | 2002-07-03 Andrew Cagney <ac131313@redhat.com> |
| 4709 | |
| 4710 | * infcmd.c (print_return_value): Remove compatibility code calling |
| 4711 | deprecated_grub_regcache_for_registers. |
| 4712 | |
| 4713 | * values.c: Include "regcache.h". |
| 4714 | (value_being_returned): Update. Use |
| 4715 | deprecated_grub_regcache_for_registers to extract the register |
| 4716 | buffer address. |
| 4717 | * value.h (value_being_returned): Change ``retbuf'' parameter to a |
| 4718 | ``struct regcache''. |
| 4719 | * Makefile.in (values.o): Add dependency on $(regcache_h). |
| 4720 | |
| 4721 | * inferior.h (run_stack_dummy): Change type of second parameter to |
| 4722 | a ``struct regcache''. |
| 4723 | * valops.c (hand_function_call): Change type of retbuf to ``struct |
| 4724 | regcache''. Allocate using regcache_xmalloc, clean using |
| 4725 | make_cleanup_regcache_xfree. |
| 4726 | * infcmd.c (run_stack_dummy): Update. Use |
| 4727 | regcache_cpu_no_passthrough instead of memcpy to copy the buffer. |
| 4728 | |
| 4729 | * regcache.c (do_regcache_xfree): New function. |
| 4730 | (make_cleanup_regcache_xfree): New function. |
| 4731 | * regcache.h (make_cleanup_regcache_xfree): Declare. |
| 4732 | |
| 4733 | 2002-07-03 Martin M. Hunt <hunt@redhat.com> |
| 4734 | |
| 4735 | * event-top.c (command_line_handler): Don't read past |
| 4736 | beginning of buffer. |
| 4737 | |
| 4738 | 2002-07-03 Martin M. Hunt <hunt@redhat.com> |
| 4739 | |
| 4740 | * varobj.c (struct varobj_root): Change frame from CORE_ADDR to |
| 4741 | struct frame_id. |
| 4742 | (varobj_create): Store frame_id for root. |
| 4743 | (varobj_gen_name): Use xasprintf. |
| 4744 | (varobj_update): Save and restore frame using get_frame_id() and |
| 4745 | frame_find_by_id(). |
| 4746 | (create_child): Use xasprintf. |
| 4747 | (new_root_variable): Initialize frame_id. |
| 4748 | (c_name_of_child): Use xasprintf. Call find_frame_by_id(). |
| 4749 | (c_value_of_variable): Use xasprintf. Move mem_fileopen call |
| 4750 | to prevent memory leak. |
| 4751 | |
| 4752 | 2002-07-03 Andrew Cagney <ac131313@redhat.com> |
| 4753 | |
| 4754 | * valops.c (hand_function_call): Move declaration of retbuf to |
| 4755 | start of function, allocate using malloc, add a cleanup but before |
| 4756 | the inf_status cleanup, cleanup the buffer. Rename local variable |
| 4757 | old_chain to inf_status_cleanup. |
| 4758 | |
| 4759 | 2002-07-03 Martin M. Hunt <hunt@redhat.com> |
| 4760 | |
| 4761 | * top.c (execute_command): Use cmd_func() and cmd_func_p(). |
| 4762 | |
| 4763 | * cli/cli-decode.c (cmd_func_p): New function. |
| 4764 | (cmd_func): New function. |
| 4765 | |
| 4766 | * command.h: Add cmd_func() and cmd_func_p(). |
| 4767 | |
| 4768 | 2002-07-03 Grace Sainsbury <graces@redhat.com> |
| 4769 | |
| 4770 | * config/mcore/tm-mcore.h (GDB_MULTI_ARCH): Add macro. Set to 0. |
| 4771 | (REGISTER_SIZE): Remove. |
| 4772 | (MAX_REGISTER_RAW_SIZE): Remove. |
| 4773 | (REGISTER_VIRTUAL_TYPE): Remove. |
| 4774 | (MAX_REGISTER_VIRTUAL_SIZE): Remove. |
| 4775 | (REGISTER_NAME): Remove. |
| 4776 | (USE_GENERIC_DUMMY_FRAMES): Remove. |
| 4777 | (CALL_DUMMY): Remove. |
| 4778 | (CALL_DUMMY_START_OFFSET): Remove. |
| 4779 | (CALL_DUMMY_BREAKPOINT_OFFSET): Remove. |
| 4780 | (CALL_DUMMY_LOCATION): Remove. |
| 4781 | (FIX_CALL_DUMMY): Remove. |
| 4782 | (CALL_DUMMY_ADDRESS): Remove. |
| 4783 | (SIZEOF_CALL_DUMMY_WORDS): Remove. |
| 4784 | (SAVE_DUMMY_FRAME_TOS): Remove. |
| 4785 | * mcore-tdep.c (MCORE_REG_SIZE, MCORE_NUM_REGS): Add macros. |
| 4786 | (mcore_register_virtual_type): New function. |
| 4787 | (mcore_register_byte): New function. |
| 4788 | (mcore_register_size): New function. |
| 4789 | (mcore_register_name): New function. |
| 4790 | (mcore_gdbarch_init): New function. Add set_gdbarch calls for |
| 4791 | macros removed from tm-mcore.h. |
| 4792 | (mcore_dump_tdep): Add. |
| 4793 | (_initialize_mcore_tdep): Add gdbarch_register call. |
| 4794 | |
| 4795 | 2002-07-03 Mark Kettenis <kettenis@gnu.org> |
| 4796 | |
| 4797 | * i386-tdep.c (i386_frameless_signal_p): Provide an argument in to |
| 4798 | frameless_look_for_prologue, such that we actually call this |
| 4799 | function. |
| 4800 | |
| 4801 | 2002-07-02 Joel Brobecker <brobecker@gnat.com> |
| 4802 | |
| 4803 | * frame.h (frame_address_in_block): New function. |
| 4804 | |
| 4805 | * blockframe.c (frame_address_in_block): New function extracted |
| 4806 | from get_frame_block(). |
| 4807 | (get_frame_block): Use frame_address_in_block(). |
| 4808 | (block_innermost_frame): Use frame_address_in_block() to match |
| 4809 | the frame pc address against the block boundaries rather than |
| 4810 | the frame pc directly. This prevents a failure when a frame pc |
| 4811 | is actually a return-address pointing immediately after the end |
| 4812 | of the given block. |
| 4813 | |
| 4814 | 2002-07-02 Grace Sainsbury <graces@redhat.com> |
| 4815 | |
| 4816 | * MAINTAINERS: Add self under write after approval. |
| 4817 | |
| 4818 | 2002-07-02 Grace Sainsbury <graces@redhat.com> |
| 4819 | |
| 4820 | * m68k-tdep.c (m68k_remote_breakpoint_from_pc): Add. Currently not |
| 4821 | used in architecture vector. The default is |
| 4822 | m68k_local_breakpoint_from_pc. |
| 4823 | (m68k_local_breakpoint_from_pc): Add. |
| 4824 | (enum): Add register numbers from tm-m68k.h. |
| 4825 | (m68k_gdbarch_init): Add breakpoint_from_pc to architecture |
| 4826 | vector. |
| 4827 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Set to |
| 4828 | GDB_MULTI_ARCH_PARTIAL. |
| 4829 | (BPT_VECTOR, REGISTER_BYTES_FP, REGISTER_BYTES_NOFP) |
| 4830 | (NUM_FREGS, SIG_PC_FP_OFFSET, SP_ARG0, REMOTE_BPT_VECTOR): Move to |
| 4831 | m68k-tdep.c. |
| 4832 | (BREAKPOINT, REMOTE_BREAKPOINT): Remove. |
| 4833 | (A1_REGNUM, FP0_REGNUM, FPC_REGNUM, FPS_REGNUM, FPI_REGNUM): Move |
| 4834 | to enum in m68k-tdep.c |
| 4835 | |
| 4836 | 2002-07-02 Joel Brobecker <brobecker@gnat.com> |
| 4837 | |
| 4838 | * solib-osf.c (open_map): Compute the list of shared libraries |
| 4839 | loaded by the inferior, rather than the list of libraries loaded |
| 4840 | by GDB itself. Otherwise, GDB ends up reading the symbols from |
| 4841 | the wrong shared libraries... |
| 4842 | |
| 4843 | 2002-07-02 Mark Kettenis <kettenis@gnu.org> |
| 4844 | |
| 4845 | * i386-linux-tdep.c (i386_linux_sigcontext_addr): Make static. |
| 4846 | (LINUX_SIGCONTEXT_PC_OFFSET, LINUX_SIGCONEXT_SP_OFFSET): Remove |
| 4847 | macros. |
| 4848 | (i386_linux_sigtramp_saved_pc, i386_linux_sigtramp_saved_sp): |
| 4849 | Remove functions. |
| 4850 | (FRAMELESS_SIGNAL): Remove function. |
| 4851 | (i386_linux_frame_chain, i386_linux_frame_saved_pc, |
| 4852 | i386_linux_saved_pc_after_call): Removed. |
| 4853 | (i386_linux_init_abi): Initialize tdep->sigcontext_addr, |
| 4854 | tdep->sc_pc_offset and tdep->sc_sp_offset. Don't override |
| 4855 | frame_chain, frame_saved_pc and saved_pc_after_call any longer. |
| 4856 | |
| 4857 | * i386-tdep.c (i386_frameless_signal_p): New function. |
| 4858 | (i386_frame_chain): Deal with frameless signals. |
| 4859 | (i386_sigtramp_saved_sp): New function. |
| 4860 | (i386_frame_saved_pc): Deal with frameless signals. |
| 4861 | (i386_saved_pc_after_call): Make sure the correct value is |
| 4862 | returned just after entry into a sigtramp. |
| 4863 | * i386bsd-tdep.c (i386bsd_sc_sp_offset, i386nbsd_sc_sp_offset, |
| 4864 | i386fbsd4_sc_sp_offset): New variables. |
| 4865 | (i386bsd_init_abi, i386nbsd_init_abi, i386fbsd4_init_abi): Use |
| 4866 | these variables to initialize tdep->sc_sp_offset. * i386bsd-nat.c |
| 4867 | (_initialize_i386bsd_nat): Add sanity check for sc_sp_offset |
| 4868 | similiar to what we already did for sc_pc_offset. |
| 4869 | * i386-sol2-tdep.c (i386_sol2_init_abi): Initialize |
| 4870 | tdep->sc_sp_offset. |
| 4871 | |
| 4872 | * i386nbsd-tdep.c (fetch_elfcore_registers): Wrap long line. |
| 4873 | |
| 4874 | 2002-07-02 Michal Ludvig <mludvig@suse.cz> |
| 4875 | |
| 4876 | * config/i386/tm-x86-64linux.h: New. |
| 4877 | * config/i386/x86-64linux.mt: Add GDB_MULTI_ARCH and TM_FILE |
| 4878 | definitions. |
| 4879 | * config/i386/nm-x86-64.h: Rename to ... |
| 4880 | * config/i386/nm-x86-64linux.h: ... this one. |
| 4881 | * config/i386/x86-64linux.mh: Reflect the above change. |
| 4882 | |
| 4883 | 2002-07-01 Mark Kettenis <kettenis@gnu.org> |
| 4884 | |
| 4885 | * i386-tdep.h (struct gdbarch_tdep): Replace sigtramp_saved_pc |
| 4886 | with sigcontext_addr. Add sc_sp_offset. |
| 4887 | (i386bsd_sigtramp_saved_pc): Remove prototype. |
| 4888 | (i386bsd_sicontext_addr): Add prototype. |
| 4889 | * i386-tdep.c (i386_sigtramp_saved_pc): New function. |
| 4890 | (i386_frame_saved_pc): Rewrite to call i386_sigtramp_saved_pc. |
| 4891 | (i386_svr4_sigtramp_saved_pc): Removed. |
| 4892 | (i386_svr4_sigcontext_addr): New function. |
| 4893 | (i386_svr4_init_abi): Don't initialize tdep->sigtramp_saved_pc. |
| 4894 | Initialize tdep->sigcontext_addr instead. Initialize |
| 4895 | tdep->sc_pc_offset and tdep->sc_sp_offset. |
| 4896 | (i386_gdbarch_init): Likewise. |
| 4897 | * i386bsd-tdep.c (i386bsd_sigcontext_addr): Don't make it static |
| 4898 | any more. |
| 4899 | (i386bsd_sigtramp_saved_pc): Remove function. |
| 4900 | (i386bsd_init_abi): Don't initialize tdep->sigtramp_saved_pc. |
| 4901 | Initialize tdep->sigcontext_addr instead. Initialize |
| 4902 | tdep->sc_pc_offset. |
| 4903 | * i386-linux-tdep.c (i386_linux_init_abi): Remove initialization |
| 4904 | of tdep->sigtramp_saved_pc. |
| 4905 | * i386-sol2-tdep.c (i386_sol2_init_abi): Don't initialize |
| 4906 | tdep->sigtramp_saved_pc. Initialize tdep->sigcontext_addr |
| 4907 | instead. |
| 4908 | |
| 4909 | * i386-tdep.c (i386_frameless_function_invocation, |
| 4910 | i386_frame_num_args, i386_frame_init_saved_regs, |
| 4911 | i386_skip_prologue, i386_push_dummy_frame, i386_fix_call_dummy, |
| 4912 | i386_pop_frame, i386_push_arguments, i386_store_struct_return, |
| 4913 | i386_extract_return_value, i386_store_return_value, |
| 4914 | i386_extract_struct_value_address, i386_register_virtual_type, |
| 4915 | i386_register_convertible, i386_register_convert_to_virtual, |
| 4916 | i386_register_convert_to_raw, i386_svr4_sigtramp_saved_pc, |
| 4917 | i386_go32_init_abi, i386_nw_init_abi, i386_gdbarch_init): Make |
| 4918 | static. |
| 4919 | |
| 4920 | 2002-07-01 Mark Kettenis <kettenis@gnu.org> |
| 4921 | |
| 4922 | * i386bsd-tdep.c (i386bsd_frame_saved_pc): Removed. |
| 4923 | |
| 4924 | * config/i386/tm-i386sol2.h (COERCE_FLOAT_TO_DOUBLE): Removed. |
| 4925 | * i386-sol2-tdep.c (i386_sol2_init_abi): Adjust for the removal of |
| 4926 | this macro. Include "value.h". |
| 4927 | |
| 4928 | 2002-06-30 Aidan Skinner <aidan@velvet.net> |
| 4929 | |
| 4930 | * ada-exp.tab.c: remove as it's a generated file |
| 4931 | * ada-lex.c: remove as it's a generated file |
| 4932 | |
| 4933 | 2002-06-30 Mark Kettenis <kettenis@gnu.org> |
| 4934 | |
| 4935 | * config/i386/tm-i386.h (struct frame_info, struct |
| 4936 | frame_saved_regs, struct value, struct type): Remove forward |
| 4937 | declarations. |
| 4938 | |
| 4939 | * config/i386/tm-linux.h [HAVE_PTRACE_GETFPXREGS] |
| 4940 | (FILL_FPXREGSET, HAVE_SSE_REGS): Remove define. |
| 4941 | * config/i386/nm-linux.h [HAVE_PTRACE_GETFPXREGS] |
| 4942 | (FILL_FPXREGSET): Define. |
| 4943 | |
| 4944 | * config/i386/tm-nbsd.h (HAVE_SSE_REGS): Remove define. |
| 4945 | |
| 4946 | * configure.tgt (i[3456]86-*-openbsd*): Fold into |
| 4947 | i[3456]86-*-netbsd* case. |
| 4948 | * config/i386/tm-obsd.h: Removed. |
| 4949 | * config/i386/obsd.mt: Removed. |
| 4950 | * config/i386/obsd.mh (NATDEPFILES): Remove corelow.o and |
| 4951 | core-aout.o. |
| 4952 | (MH_CFLAGS): Add -DYYDEBUG=0. |
| 4953 | |
| 4954 | * i386bsd-nat.c (_initialize_i386bsd_nat): Define SC_PC_OFFSET to |
| 4955 | i386nbsd_sc_pc_offset on OpenBSD too. |
| 4956 | |
| 4957 | * config/i386/tm-fbsd.h [!SVR4_SHARED_LIBS] |
| 4958 | (IN_SOLIB_CALL_TRAMPOLINE): Remove define. |
| 4959 | * config/i386/tm-nbsdaout.h (IN_SOLIB_CALL_TRAMPOLINE): Remove |
| 4960 | define. |
| 4961 | * i386bsd-tdep.c: Include "arch-utils.h". |
| 4962 | (i386bsd_aout_in_solib_call_trampoline): New function. |
| 4963 | (i386bsd_init_abi): Set in_solib_call_trampoline to |
| 4964 | i386bsd_aout_in_solib_call_trampoline. |
| 4965 | (i386nbsdelf_init_abi, i386fbsd_init_abi): Set |
| 4966 | in_solib_call_trampoline to generic_in_solib_call_trampoline. |
| 4967 | |
| 4968 | 2002-06-28 Andrew Cagney <ac131313@redhat.com> |
| 4969 | |
| 4970 | * macrotab.h: Do not include "obstack.h" or "bcache.h". |
| 4971 | (struct obstack, struct bcache): Add opaque declarations. |
| 4972 | * Makefile.in (macrotab_h): Update |
| 4973 | |
| 4974 | 2002-06-28 Andrew Cagney <ac131313@redhat.com> |
| 4975 | |
| 4976 | * blockframe.c (generic_find_dummy_frame): Change return type to |
| 4977 | ``struct regcache''. |
| 4978 | (struct dummy_frame): Replace field ``registers'' with regcache, a |
| 4979 | struct regcache object. |
| 4980 | (generic_find_dummy_frame): Update. |
| 4981 | (generic_push_dummy_frame): Update. Use regcache_xfree, |
| 4982 | regcache_xmalloc and regcache_cpy. |
| 4983 | (generic_pop_dummy_frame): Update. Use regcache_cpy and |
| 4984 | regcache_xfree. |
| 4985 | (deprecated_generic_find_dummy_frame): Update. |
| 4986 | (generic_read_register_dummy): Update. Use |
| 4987 | regcache_read_as_address. |
| 4988 | (generic_call_dummy_register_unwind): Update. Use regcache_read. |
| 4989 | (generic_get_saved_register): Update. Use regcache_read. |
| 4990 | |
| 4991 | 2002-06-28 Andrew Cagney <ac131313@redhat.com> |
| 4992 | |
| 4993 | * Makefile.in (objfiles_h): Add $(bcache_h). |
| 4994 | * objfiles.h: Include "bcache.h". |
| 4995 | |
| 4996 | * Makefile.in (symtab_h): Remove $(bcache_h). |
| 4997 | * symtab.h: Do not include "bcache.h". |
| 4998 | |
| 4999 | 2002-06-28 Andrew Cagney <ac131313@redhat.com> |
| 5000 | |
| 5001 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Set frame_chain_valid to |
| 5002 | generic_func_frame_chain_valid. |
| 5003 | |
| 5004 | 2002-06-28 David O'Brien <obrien@FreeBSD.org> |
| 5005 | |
| 5006 | * config/i386/nm-fbsd.h: Include <sys/param.h>. |
| 5007 | * config/i386/tm-fbsd.h: Likewise. |
| 5008 | |
| 5009 | 2002-06-28 Andrew Cagney <ac131313@redhat.com> |
| 5010 | |
| 5011 | * rs6000-tdep.c (rs6000_gdbarch_init): Use |
| 5012 | generic_unwind_get_saved_register. |
| 5013 | |
| 5014 | 2002-06-27 Andrew Cagney <ac131313@redhat.com> |
| 5015 | |
| 5016 | From 2002-06-27 John David Anglin <dave@hiauly1.hia.nrc.ca>: |
| 5017 | * regcache.c (supply_register): Add missing argument to |
| 5018 | register_buffer call. |
| 5019 | |
| 5020 | 2002-06-27 Andrew Cagney <ac131313@redhat.com> |
| 5021 | |
| 5022 | * Makefile.in (init.c): Drop -e option to grep. Not necessary and |
| 5023 | Solaris /bin/grep does not not like it. From Peter Schauer. |
| 5024 | |
| 5025 | 2002-06-26 Tom Tromey <tromey@redhat.com> |
| 5026 | |
| 5027 | * command.h (add_setshow_cmd): Declare. |
| 5028 | (add_setshow_cmd_full): Declare. |
| 5029 | * cli/cli-decode.c (add_setshow_cmd): No longer static. Now |
| 5030 | returns void. Use add_setshow_cmd_full. |
| 5031 | (add_setshow_cmd_full): New function. |
| 5032 | (add_setshow_auto_boolean_cmd): Use add_setshow_cmd_full. |
| 5033 | (add_setshow_boolean_cmd): Likewise. |
| 5034 | |
| 5035 | 2002-06-26 Jason Thorpe <thorpej@wasabisystems.com> |
| 5036 | |
| 5037 | * config/vax/tm-vax.h: Protect from multiple inclusion. |
| 5038 | (TARGET_UPAGES, TARGET_NBPG, STACK_END_ADDR) |
| 5039 | (SIGTRAMP_START, SIGTRAMP_END, SIGCONTEXT_PC_OFFSET): Move to... |
| 5040 | * config/vax/tm-vaxbsd.h: ...here. New file. |
| 5041 | * config/vax/vax.mt (TM_FILE): Set to tm-vaxbsd.h. |
| 5042 | |
| 5043 | 2002-06-26 Jason Thorpe <thorpej@wasabisystems.com> |
| 5044 | |
| 5045 | * config/vax/tm-vax.h (BREAKPOINT): Remove. |
| 5046 | (BELIEVE_PCC_PROMOTION): Remove. |
| 5047 | (AP_REGNUM): Move to... |
| 5048 | * config/vax/nm-vax.h: ...here. |
| 5049 | * vax-tdep.c: Use VAX_AP_REGNUM instead of AP_REGNUM. |
| 5050 | (vax_breakpoint_from_pc): New function. |
| 5051 | (vax_gdbarch_init): Initialize gdbarch_breakpoint_from_pc |
| 5052 | and gdbarch_believe_pcc_promotion. |
| 5053 | |
| 5054 | 2002-06-26 Jason Thorpe <thorpej@wasabisystems.com> |
| 5055 | |
| 5056 | * Makefile.in (vax_tdep_h): Define. |
| 5057 | (vax-tdep.o): Use $(vax_tdep_h). |
| 5058 | * vax-tdep.c (vax_gdbarch_init): Use generic OS ABI framework. |
| 5059 | (vax_dump_tdep): New function. |
| 5060 | (_initialize_vax_tdep): Register vax_dump_tdep. |
| 5061 | * vax-tdep.h: Include osabi.h. |
| 5062 | (struct gdbarch_tdep): New. |
| 5063 | |
| 5064 | 2002-06-26 Andrew Cagney <cagney@redhat.com> |
| 5065 | |
| 5066 | * frame.h (deprecated_generic_find_dummy_frame): Rename |
| 5067 | generic_find_dummy_frame. |
| 5068 | * blockframe.c (generic_find_dummy_frame): Make static. |
| 5069 | (deprecated_generic_find_dummy_frame): New function. |
| 5070 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Replace |
| 5071 | generic_find_dummy_frame with deprecated_find_dummy_frame. |
| 5072 | (sh64_nofp_frame_init_saved_regs): Ditto. |
| 5073 | (sh_fp_frame_init_saved_regs): Ditto. |
| 5074 | * s390-tdep.c (s390_frame_saved_pc_nofix): Ditto. |
| 5075 | (s390_frame_chain): Ditto. |
| 5076 | * cris-tdep.c (cris_frame_init_saved_regs): Ditto. |
| 5077 | |
| 5078 | 2002-06-26 Grace Sainsbury <graces@redhat.com> |
| 5079 | |
| 5080 | * config/m68k/tm-m68k.h: Rearrange code so macros not in the |
| 5081 | gdbarch vector are at the top. |
| 5082 | (NUM_REGS): Remove. |
| 5083 | (FP_REGNUM, SP_REGNUM, PS_REGNUM, PC_REGNUM, FP0_REGNUM): Remove. |
| 5084 | (FRAME_ARGS_ADDRESS): Remove. |
| 5085 | (FRAME_LOCALS_ADDRESS): Remove. |
| 5086 | (FRAME_NUM_ARGS): Remove. |
| 5087 | (FRAME_ARGS_SKIP): Remove. |
| 5088 | * m68k-tdep.c (enum): Add eumeration of special register numbers. |
| 5089 | (m68k_gdbarch_init): Add gdbarch initializations for macros |
| 5090 | undefined in tm-m68k.h |
| 5091 | |
| 5092 | 2002-06-26 Grace Sainsbury <graces@redhat.com> |
| 5093 | |
| 5094 | * monitor.h: Add the function regname to monitor_ops |
| 5095 | structure. This way NUM_REGS does not have to be a constant. |
| 5096 | * monitor.c (monitor_fetch_register): Added support for regname |
| 5097 | function. The function is called if the array regnames is NULL. |
| 5098 | (monitor_store_register): Same. |
| 5099 | * cpu32bug-rom.c (cpu32bug_regname): Add function. Replaces |
| 5100 | regnames array. |
| 5101 | (init_cpu32bug_cmds): set cpu32bug_cmds.regnames to NULL, |
| 5102 | cpu32bug_cmds.regname to point to new function. |
| 5103 | * abug-rom.c (abug_regname): Same as above. |
| 5104 | (init_abug_cmds): Same. |
| 5105 | * dbug-rom.c (dbug_regname): Same as above. |
| 5106 | (init_dbug_cmds): Same. |
| 5107 | * remote-est.c (est_regname): Same. |
| 5108 | (init_est_cmds): Same. |
| 5109 | * rom68k-rom.c (rom68k_regname): Same. |
| 5110 | (init_rom68k_cmds): Same. |
| 5111 | |
| 5112 | 2002-06-25 Tom Tromey <tromey@redhat.com> |
| 5113 | |
| 5114 | * breakpoint.c (delete_command): Don't repeat `delete' commands. |
| 5115 | |
| 5116 | 2002-06-25 Andrew Cagney <cagney@redhat.com> |
| 5117 | |
| 5118 | * infrun.c (stop_registers): Change variable's type to ``struct |
| 5119 | regcache'''. |
| 5120 | (xmalloc_inferior_status): Delete function. |
| 5121 | (free_inferior_status): Delete function. |
| 5122 | (normal_stop): Use regcache_cpy. |
| 5123 | (struct inferior_status): Change type of fields ``stop_registers'' |
| 5124 | and ``registers'' to ``struct regcache''. |
| 5125 | (write_inferior_status_register): Use regcache_write. |
| 5126 | (save_inferior_status): Instead of calling |
| 5127 | xmalloc_inferior_status, allocate the inf_status buffer directly. |
| 5128 | Use regcache_dup_no_passthrough and regcache_dup to save the |
| 5129 | buffers. |
| 5130 | (restore_inferior_status): Use regcache_xfree and regcache_cpy. |
| 5131 | Replace the stop_registers regcache instead of overriding it. Use |
| 5132 | regcache_xfree. Instead of calling free_inferior_status, xfree |
| 5133 | the buffer directly. |
| 5134 | (discard_inferior_status): Use regcache_xfree. Instead of calling |
| 5135 | free_inferior_status, xfree the buffer directly. |
| 5136 | (build_infrun): Use regcache_xmalloc. |
| 5137 | (_initialize_infrun): Delete redundant call to build_infrun. |
| 5138 | |
| 5139 | * Makefile.in (infcmd.o): Add $(regcache_h). |
| 5140 | |
| 5141 | * infcmd.c: Include "regcache.h". |
| 5142 | (run_stack_dummy): Use deprecated_grub_regcache_for_registers to |
| 5143 | obtain the address of `stop_registers' register buffer. |
| 5144 | (print_return_value): Ditto. |
| 5145 | |
| 5146 | * inferior.h (struct regcache): Add opaque declaration. |
| 5147 | (stop_registers): Change variable's declared type to ``struct |
| 5148 | regcache''. |
| 5149 | |
| 5150 | 2002-06-24 Tom Tromey <tromey@redhat.com> |
| 5151 | |
| 5152 | * cli/cli-decode.c (add_show_from_set): Fixed typo in comment. |
| 5153 | * target.c (initialize_targets): Fixed typo in |
| 5154 | trust-readonly-sections `show' documentation. |
| 5155 | |
| 5156 | * main.c: Marked all strings with _(). |
| 5157 | |
| 5158 | 2002-06-24 Don Howard <dhoward@redhat.com> |
| 5159 | |
| 5160 | * memattr.c (create_mem_region): Treat hi == 0 as a special case |
| 5161 | that means max CORE_ADDR+1. |
| 5162 | (lookup_mem_region): Ditto. |
| 5163 | (mem_info_command): Ditto. |
| 5164 | |
| 5165 | 2002-06-24 Grace Sainsbury <graces@redhat.com> |
| 5166 | |
| 5167 | * config/m68k/tm-m68k.h (DECR_PC_AFTER_BREAK): Remove. |
| 5168 | (REGISTER_BYTES_OK): Remove. |
| 5169 | (REGISTER_BYTES): Remove. |
| 5170 | (STORE_STRUCT_RETURN): Remove. |
| 5171 | (DEPRECATED_EXTRACT_RETURN_VALUE): Remove. |
| 5172 | (STORE_RETURN_VALUE): Remove. |
| 5173 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Remove. |
| 5174 | (FRAME_CHAIN): Remove. |
| 5175 | (FRAMELESS_FUNCTION_INVOCATION): Remove. |
| 5176 | (FRAME_SAVED_PC): Remove. |
| 5177 | * m68k-tdep.c (m68k_register_bytes_ok):Add. |
| 5178 | (m68k_store_struct_return): Add. |
| 5179 | (m68k_deprecated_extract_return_value): Add. |
| 5180 | (m68k_deprecated_extract_struct_value_address): Add. |
| 5181 | (m68k_store_return_value): Add. |
| 5182 | (m68k_frame_chain): Add. |
| 5183 | (m68k_frameless_function_invocation): Add. |
| 5184 | (m68k_frame_saved_pc): Add. |
| 5185 | (m68k_gdbarch_init): added set_gdbarch calls for new |
| 5186 | functions and deleted macros. |
| 5187 | |
| 5188 | 2002-06-23 Tom Tromey <tromey@redhat.com> |
| 5189 | |
| 5190 | * Makefile.in (HFILES_NO_SRCDIR): Remove old files. |
| 5191 | (ALLDEPFILES): Likewise. |
| 5192 | (udiheaders): Removed. |
| 5193 | (udip2soc.o): Likewise. |
| 5194 | (udi2go32.o): Likewise. |
| 5195 | (udr.o): Likewise. |
| 5196 | (HFILES_WITH_SRCDIR): Don't mention udiheaders. |
| 5197 | |
| 5198 | 2002-06-22 Andrew Cagney <ac131313@redhat.com> |
| 5199 | |
| 5200 | * infrun.c (_initialize_infrun): Delete unnecessary call to |
| 5201 | build_infrun. |
| 5202 | |
| 5203 | * regcache.h: Update comments describing the regcache_cpy family |
| 5204 | of functions. |
| 5205 | (regcache_save, regcache_restore): Delete declaration. |
| 5206 | (regcache_save_no_passthrough): Delete declaration. |
| 5207 | (regcache_restore_no_passthrough): Delete declaration. |
| 5208 | * regcache.c (regcache_save): Delete function. |
| 5209 | (regcache_save_no_passthrough): Delete function. |
| 5210 | (regcache_restore): Delete function. |
| 5211 | (regcache_restore_no_passthrough): Delete function. |
| 5212 | |
| 5213 | 2002-06-21 Andrew Cagney <ac131313@redhat.com> |
| 5214 | |
| 5215 | * config/m68k/tm-m68k.h: Fix typo. |
| 5216 | (FRAME_INIT_SAVED_REGS): Define when non-multi-arch. |
| 5217 | (m68k_frame_init_saved_regs): Declare. |
| 5218 | |
| 5219 | 2002-06-21 Jim Blandy <jimb@redhat.com> |
| 5220 | |
| 5221 | Remove some vestiges of Harris 88k support. |
| 5222 | * dwarf2read.c (decode_locdesc): Remove `#if' block for Harris 88k |
| 5223 | register numbering quirk. |
| 5224 | * elfread.c (elf_symtab_read): Remove `#if' block for skipping |
| 5225 | odd symbols occurring in Harris 88k ELF targets. |
| 5226 | |
| 5227 | 2002-06-21 Tom Tromey <tromey@redhat.com> |
| 5228 | |
| 5229 | * gdb_locale.h: New file. |
| 5230 | * Makefile.in (GDB_CFLAGS): Define LOCALEDIR. |
| 5231 | (defs_h): Added gdb_locale.h. |
| 5232 | * configure, config.in: Rebuilt. |
| 5233 | * configure.in (PACKAGE): Define. |
| 5234 | * defs.h: Include gdb_locale.h. |
| 5235 | * main.c (captured_main): Call setlocale, bindtextdomain, |
| 5236 | textdomain. |
| 5237 | |
| 5238 | 2002-06-21 Dave Brolley <brolley@redhat.com> |
| 5239 | |
| 5240 | From Stan Shebs, Jim Blandy, Mark Salter, Kevin Buettner: |
| 5241 | * config/frv/frv.mt: New file. |
| 5242 | * config/frv/tm-frv.h: New file. |
| 5243 | * configure.tgt: Support frv-*-*. |
| 5244 | * Makefile.in (frv-tdep.o): New target. |
| 5245 | * frv-tdep.c: New file. |
| 5246 | * NEWS: Mention frv. |
| 5247 | |
| 5248 | 2002-06-21 Dave Brolley <brolley@redhat.com> |
| 5249 | |
| 5250 | * MAINTAINERS: Add self to "Write After Approval" list. |
| 5251 | |
| 5252 | 2002-06-21 Grace Sainsbury <graces@redhat.com> |
| 5253 | |
| 5254 | * config/m68k/tm-m68k.h (REGISTER_BYTE, REGISTER_RAW_SIZE) |
| 5255 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) |
| 5256 | (REGISTER_VIRTUAL_TYPE, REGISTER_NAMES, TARGET_LONG_DOUBLE_FORMAT) |
| 5257 | (FUNCTION_START_OFFSET, SKIP_PROLOGUE, SAVED_PC_AFTER_CALL) |
| 5258 | (INNER_THAN, STACK_ALIGN, REGISTER_SIZE): Remove macros. |
| 5259 | |
| 5260 | * m68k-tdep.c: Include arch-utils.h |
| 5261 | (m68k_register_raw_size): Add. |
| 5262 | (m68k_register_virtual_size): Add. |
| 5263 | (m68k_register_virtual_type): Add. |
| 5264 | (m68k_register_name): Add. |
| 5265 | (m68k_stack_align): Add. |
| 5266 | (m68k_register_byte): Add. |
| 5267 | (m68k_gdbarch_init): Add set_gdbarch calls for macros removed in |
| 5268 | tm-m68k.h. |
| 5269 | |
| 5270 | 2002-06-21 Grace Sainsbury <graces@redhat.com> |
| 5271 | |
| 5272 | * m68k-tdep.c (m68k_frame_init_saved_regs): Replace |
| 5273 | m68k_find_saved_regs. |
| 5274 | (m68k_pop_frame): Removed saved_regs structure, and replaced |
| 5275 | references to it with frame->saved_regs. |
| 5276 | (m68k_gdbarch_init): Added function calls to initialize the |
| 5277 | gdbarch structure. |
| 5278 | (m68k_fix_call_dummy): Add. |
| 5279 | * config/m68k/tm-m68k.h: (FRAME_FIND_SAVED_REGS): Remove. |
| 5280 | (CALL_DUMMY): Remove. |
| 5281 | (CALL_DUMMY_LENGTH): Remove. |
| 5282 | (CALL_DUMMY_START_OFFSET): Remove. |
| 5283 | (CALL_DUMMY_BREAKPOINT_OFFSET): Remove. |
| 5284 | (FIX_CALL_DUMMY): Remove. |
| 5285 | (PUSH_DUMMY_FRAME): Remove. |
| 5286 | (POP_FRAME): Remove. |
| 5287 | |
| 5288 | 2002-06-19 Pierre Muller <muller@ics.u-strasbg.fr> |
| 5289 | |
| 5290 | * parse.c (parse_fprintf): New function used to avoid calls to |
| 5291 | fprintf in bison parser generated debug code. |
| 5292 | * parser-defs.h: Declaration of new parse_fprintf function. |
| 5293 | * ada-exp.y, c-exp.y, f-exp.y, jv-exp.y, m2-exp.y, p-exp.y: |
| 5294 | Set YYDEBUG to 1 by default. |
| 5295 | Set YYFPRINTF as parse_fprintf. |
| 5296 | |
| 5297 | 2002-06-21 Michal Ludvig <mludvig@suse.cz> |
| 5298 | |
| 5299 | * dwarf2cfi.c (read_encoded_pointer): Don't handle pointer |
| 5300 | encoding anymore. |
| 5301 | (pointer_encoding, enum ptr_encoding): New. |
| 5302 | (execute_cfa_program): Take care about pointer encoding. |
| 5303 | (dwarf2_build_frame_info): Only call parse_frame_info for |
| 5304 | .debug_frame and .eh_frame. |
| 5305 | (parse_frame_info): New, derived from former dwarf2_build_frame_info. |
| 5306 | fixed augmentation handling, added relative addressing, |
| 5307 | ignore duplicate FDEs. Added comments. |
| 5308 | * dwarf2cfi.c: Reindented. |
| 5309 | |
| 5310 | 2002-06-20 Elena Zannoni <ezannoni@redhat.com> |
| 5311 | |
| 5312 | * event-top.c (command_handler): Don't use space_at_cmd_start |
| 5313 | unless there is sbrk() on the host. Assign time and space data |
| 5314 | to union fields of the appropriate length. |
| 5315 | |
| 5316 | 2002-06-20 Michal Ludvig <mludvig@suse.cz> |
| 5317 | |
| 5318 | * x86-64-tdep.c (x86_64_register_nr2name): Rename to |
| 5319 | x86_64_register_name. Return type changed to 'const char *'. |
| 5320 | (x86_64_register_name2nr): Rename to x86_64_register_number. |
| 5321 | (x86_64_gdbarch_init): Update to reflect the change. |
| 5322 | * x86-64-tdep.h: Ditto. |
| 5323 | * x86-64-linux-nat.c (x86_64_fxsave_offset) |
| 5324 | (supply_fpregset): Ditto. |
| 5325 | |
| 5326 | 2002-06-19 Andrew Cagney <cagney@redhat.com> |
| 5327 | |
| 5328 | * regcache.h: Update copyright. |
| 5329 | (struct regcache, struct gdbarch): Add opaque declarations. |
| 5330 | (current_regcache): Declare global variable. |
| 5331 | (regcache_read, regcache_write): Add gdbarch parameter. |
| 5332 | (regcache_save, regcache_save_no_passthrough) |
| 5333 | (regcache_restore, regcache_restore_no_passthrough) |
| 5334 | (regcache_dup, regcache_dup_no_passthrough) |
| 5335 | (regcache_cpy, regcache_cpy_no_passthrough) |
| 5336 | (deprecated_grub_regcache_for_registers) |
| 5337 | (deprecated_grub_regcache_for_register_valid) |
| 5338 | (regcache_valid_p): Add function declarations. |
| 5339 | |
| 5340 | * regcache.c: Update copyright. |
| 5341 | (regcache_descr_handle): New global variable. |
| 5342 | (struct regcache_descr): Define. |
| 5343 | (init_legacy_regcache_descr, init_regcache_descr): New functions. |
| 5344 | (regcache_descr, xfree_regcache_descr): New functions. |
| 5345 | (struct regcache): Define. |
| 5346 | (regcache_xmalloc, regcache_xfree): New functions. |
| 5347 | (regcache_cpy, regcache_cpy_no_passthrough): New functions. |
| 5348 | (regcache_dup, regcache_dup_no_passthrough): New functions. |
| 5349 | (regcache_valid_p, regcache_read_as_address): New functions. |
| 5350 | (deprecated_grub_regcache_for_registers): New function. |
| 5351 | (deprecated_grub_regcache_for_register_valid): New function. |
| 5352 | (current_regcache): New global variable. |
| 5353 | (register_buffer): Add regcache parameter. Update calls. |
| 5354 | (regcache_read, regcache_write): Add regcache parameter. Rewrite. |
| 5355 | (read_register_gen, write_register_gen): Update register_buffer |
| 5356 | call. Test for legacy_p instead of gdbarch_register_read_p or |
| 5357 | gdbarch_register_write_p. |
| 5358 | (regcache_collect): Update register_buffer call. |
| 5359 | (build_regcache): Rewrite. Use deprecated grub functions. |
| 5360 | (regcache_save, regcache_save_no_passthrough): New functions. |
| 5361 | (regcache_restore, regcache_restore_no_passthrough): New |
| 5362 | functions. |
| 5363 | (_initialize_regcache): Create the regcache_data_handle. Swap |
| 5364 | current_regcache global variable. |
| 5365 | |
| 5366 | * sh-tdep.c (sh_pseudo_register_read): Add current_regcache |
| 5367 | parameter to regcache_read and regcache_write calls. |
| 5368 | (sh4_register_read): Ditto. |
| 5369 | (sh64_pseudo_register_read): Ditto. |
| 5370 | (sh64_register_read): Ditto. |
| 5371 | (sh_pseudo_register_write): Ditto. |
| 5372 | (sh4_register_write): Ditto. |
| 5373 | (sh64_pseudo_register_write): Ditto. |
| 5374 | (sh64_register_write): Ditto. |
| 5375 | |
| 5376 | * defs.h (XCALLOC): Define. |
| 5377 | |
| 5378 | 2002-06-19 Grace Sainsbury <graces@redhat.com> |
| 5379 | |
| 5380 | * config/m68k/tm-m68k.h (GDB_MULTI_ARCH): Added (set to 0). |
| 5381 | * m68k-tdep.c (m68k_gdbarch_init): Added. |
| 5382 | (m68k_dump_tdep): Added. |
| 5383 | |
| 5384 | 2002-06-19 Daniel Jacobowitz <drow@mvista.com> |
| 5385 | |
| 5386 | * ada-lang.c (fill_in_ada_prototype): Update comment. |
| 5387 | |
| 5388 | 2002-06-19 Daniel Jacobowitz <drow@mvista.com> |
| 5389 | |
| 5390 | * mips-tdep.c (enum mips_abi): Explicitly start at 0. Add |
| 5391 | MIPS_ABI_LAST. |
| 5392 | (mips_abi_string, mips_abi_strings): New. |
| 5393 | (struct gdbarch_tdep): Remove mips_abi_string, add found_abi. |
| 5394 | (mips_gdbarch_init): Set tdep->found_abi. Don't set |
| 5395 | tdep->mips_abi_string. Honor mips_abi_string. Default to |
| 5396 | O32 if no ABI is found. |
| 5397 | (mips_dump_tdep): Use mips_abi_strings. |
| 5398 | (mips_abi_update): New function. |
| 5399 | (_initialize_mips_tdep): Initialize mips_abi_string. Add |
| 5400 | ``set mips abi'' and ``show mips abi''. Check the size of |
| 5401 | mips_abi_strings. |
| 5402 | |
| 5403 | 2002-06-19 Andrew Cagney <cagney@redhat.com> |
| 5404 | |
| 5405 | * i386-linux-tdep.c (i386_linux_register_name): Make return type |
| 5406 | constant. |
| 5407 | |
| 5408 | 2002-06-18 Joel Brobecker <brobecker@gnat.com> |
| 5409 | |
| 5410 | * alpha-tdep.c (heuristic_proc_desc): Compute the size of the |
| 5411 | current frame using only the first stack size adjustment. All |
| 5412 | subsequent size adjustments are not considered to be part of |
| 5413 | the "static" part of the current frame. |
| 5414 | Compute the address of the saved registers relative to the |
| 5415 | Frame Pointer ($fp) instead of the Stack Pointer if $fp is |
| 5416 | in use in this frame. |
| 5417 | |
| 5418 | 2002-06-18 Don Howard <dhoward@redhat.com> |
| 5419 | |
| 5420 | * valops.c (value_ind): Use value_at_lazy() when dereferencing |
| 5421 | type int expressions. Thanks to Jim Blandy <jimb@redhat.com> for |
| 5422 | suggesting this solution. |
| 5423 | |
| 5424 | 2002-06-18 Andrew Cagney <ac131313@redhat.com> |
| 5425 | |
| 5426 | * config/romp/xm-rtbsd.h: Delete file. |
| 5427 | * config/romp/rtbsd.mh: Delete file. |
| 5428 | |
| 5429 | 2002-06-18 Keith Seitz <keiths@redhat.com> |
| 5430 | |
| 5431 | * breakpoint.c (condition_command): Post breakpoint_modify |
| 5432 | when a condition is added to an existing breakpoint. |
| 5433 | (commands_command): Likewise for commands. |
| 5434 | (set_ignore_count): Likewise for ignore counts. |
| 5435 | If no tty, do not simply return, still need to send event |
| 5436 | notification. |
| 5437 | (ignore_command): Only print a newline if the command came |
| 5438 | from a tty. |
| 5439 | Don't call breakpoints_changed, since this is now properly |
| 5440 | handled by set_ignore_count. |
| 5441 | |
| 5442 | 2002-06-18 Andrew Cagney <cagney@redhat.com> |
| 5443 | |
| 5444 | * MAINTAINERS: Note that cris-elf target can be compiled with |
| 5445 | -Werror. |
| 5446 | * cris-tdep.c (cris_register_name): Make return type constant. |
| 5447 | (cris_breakpoint_from_pc): Ditto. |
| 5448 | |
| 5449 | 2002-06-18 Michal Ludvig <mludvig@suse.cz> |
| 5450 | |
| 5451 | * frame.h (struct frame_info): Change type of context to |
| 5452 | 'struct context'. |
| 5453 | |
| 5454 | 2002-06-17 Andrew Cagney <cagney@redhat.com> |
| 5455 | |
| 5456 | * gdbarch.sh (REGISTER_NAME): Change return type a constant string |
| 5457 | pointer. |
| 5458 | * gdbarch.h, gdbarch.c: Regenerate. |
| 5459 | * config/mips/tm-mips.h (mips_register_name): Update. |
| 5460 | * i386-tdep.h (i386_register_name): Update. |
| 5461 | * mips-tdep.c (mips_register_name): Update |
| 5462 | * alpha-tdep.c (alpha_register_name): Update. |
| 5463 | * arch-utils.c (legacy_register_name): Update. |
| 5464 | * arch-utils.h (legacy_register_name): Update. |
| 5465 | * avr-tdep.c (avr_register_name): Update. |
| 5466 | * ia64-tdep.c (ia64_register_name): Update. |
| 5467 | * i386-tdep.c (i386_register_name): Update. |
| 5468 | * sparc-tdep.c (sparc32_register_name): Update. |
| 5469 | (sparc64_register_name): Update. |
| 5470 | (sparclite_register_name): Update. |
| 5471 | (sparclet_register_name): Update. |
| 5472 | * sh-tdep.c (sh_generic_register_name): Update. |
| 5473 | (sh_sh_register_name): Update. |
| 5474 | (sh_sh3_register_name): Update. |
| 5475 | (sh_sh3e_register_name): Update. |
| 5476 | (sh_sh_dsp_register_name): Update. |
| 5477 | (sh_sh3_dsp_register_name): Update. |
| 5478 | (sh_sh4_register_name): Update. |
| 5479 | (sh_sh64_register_name): Update. |
| 5480 | * s390-tdep.c (s390_register_name): Update. |
| 5481 | * rs6000-tdep.c (rs6000_register_name): Update. |
| 5482 | * ns32k-tdep.c (ns32k_register_name_32082): Update. |
| 5483 | (ns32k_register_name_32382): Update. |
| 5484 | * d10v-tdep.c (d10v_ts2_register_name): Update. |
| 5485 | (d10v_ts3_register_name): Update. |
| 5486 | * xstormy16-tdep.c (xstormy16_register_name): Update. |
| 5487 | * vax-tdep.c (vax_register_name): Update. |
| 5488 | * v850-tdep.c (v850_register_name): Update. |
| 5489 | * m68hc11-tdep.c (m68hc11_register_name): Update. |
| 5490 | * mn10300-tdep.c (mn10300_generic_register_name): Update. |
| 5491 | (am33_register_name): Update. |
| 5492 | |
| 5493 | 2002-06-17 Grace Sainsbury <graces@redhat.com> |
| 5494 | |
| 5495 | * m68k-tdep.c: Reindented. |
| 5496 | |
| 5497 | 2002-06-17 Andrew Cagney <ac131313@redhat.com> |
| 5498 | |
| 5499 | * gdb_indent.sh: Add prgregset_t, fpregset_t, and gregset_t to the |
| 5500 | list of predefined types. |
| 5501 | |
| 5502 | 2002-06-16 Mark Kettenis <kettenis@gnu.org> |
| 5503 | |
| 5504 | * config/i386/tm-i386.h (REGISTER_VIRTUAL_TYPE, |
| 5505 | REGISTER_CONVERTIBLE, REGISTER_CONVERT_TO_VIRTUAL, |
| 5506 | REGISTER_CONVERT_TO_RAW): Remove defines. |
| 5507 | (i386_register_virtual_type, i386_register_convertible, |
| 5508 | i386_register_convert_to_virtual, i386_register_convert_to_raw): |
| 5509 | Remove prototypes. |
| 5510 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the |
| 5511 | macros mentioned above. |
| 5512 | |
| 5513 | * config/i386/tm-i386lynx.h (SAVED_PC_AFTER_CALL): Remove define. |
| 5514 | (i386lynx_saved_pc_after_call): Remove prototype. |
| 5515 | * i386ly-tdep.c: Include "i386-tdep.h". |
| 5516 | (i386lynx_saved_pc_after_call): Make static. Use |
| 5517 | read_memory_nobpt instead of read_memory. Use |
| 5518 | read_memory_unsigned_integer instead of read_memory_integer. |
| 5519 | (i386lynx_init_abi): New function. |
| 5520 | (i386lynx_coff_osabi_sniffer): New function. |
| 5521 | (_initialize_i386bsd_tdep): New function. |
| 5522 | |
| 5523 | * config/i386/tm-i386.h (PARM_BOUNDARY, CALL_DUMMY, |
| 5524 | CALL_DUMMY_LENGTH, CALL_DUMMY_START_OFFSET, |
| 5525 | CALL_DUMMY_BREAKPOINT_OFFSET, FIX_CALL_DUMMY): Remove defines. |
| 5526 | (i386_fix_call_dummy): Remove prototype. |
| 5527 | * i386-tdep.c (i386_call_dummy_words): New variable. |
| 5528 | (i386_gdbarch_init): Adjust for removal of the |
| 5529 | macros mentioned above. |
| 5530 | |
| 5531 | 2002-06-15 Andrew Cagney <ac131313@redhat.com> |
| 5532 | |
| 5533 | * command.h (add_setshow_auto_boolean_cmd): Replace |
| 5534 | add_set_auto_boolean_cmd. |
| 5535 | * cli/cli-decode.c (add_setshow_auto_boolean_cmd): Replace |
| 5536 | add_set_auto_boolean_cmd. |
| 5537 | * cli/cli-decode.h (add_set_auto_boolean_cmd): Delete declaration. |
| 5538 | * mips-tdep.c (_initialize_mips_tdep): Update ``set mips |
| 5539 | mask-address'' command. |
| 5540 | (show_mask_address): Add cmd parameter. |
| 5541 | * remote.c (add_packet_config_cmd): Update. Change type of |
| 5542 | set_func and show_func to cmd_sfunc_ftype. |
| 5543 | (_initialize_remote): Update `set remote Z-packet' |
| 5544 | (show_remote_protocol_qSymbol_packet_cmd): Add cmd parameter. |
| 5545 | (show_remote_protocol_e_packet_cmd): Ditto. |
| 5546 | (show_remote_protocol_E_packet_cmd): Ditto. |
| 5547 | (show_remote_protocol_P_packet_cmd): Ditto. |
| 5548 | (show_remote_protocol_Z_software_bp_packet_cmd): Ditto. |
| 5549 | (show_remote_protocol_Z_hardware_bp_packet_cmd): Ditto. |
| 5550 | (show_remote_protocol_Z_write_wp_packet_cmd): Ditto. |
| 5551 | (show_remote_protocol_Z_read_wp_packet_cmd): Ditto. |
| 5552 | (show_remote_protocol_Z_access_wp_packet_cmd): Ditto. |
| 5553 | (show_remote_protocol_Z_packet_cmd): Ditto. |
| 5554 | (show_remote_protocol_binary_download_cmd): Ditto. |
| 5555 | (show_remote_cmd): Pass NULL to all of above. |
| 5556 | |
| 5557 | 2002-06-15 Mark Kettenis <kettenis@gnu.org> |
| 5558 | |
| 5559 | * config/i386/tm-i386.h (PUSH_ARGUMENTS, STORE_STRUCT_RETURN, |
| 5560 | DEPRECATED_EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, |
| 5561 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS, PUSH_DUMMY_FRAME, |
| 5562 | POP_FRAME): Remove defines. |
| 5563 | (i386_push_arguments, i386_store_struct_return, |
| 5564 | i386_extract_return_value, i386_store_return_value, |
| 5565 | i386_extract_struct_value_address, i386_push_dummy_frame, |
| 5566 | i386_pop_frame): Renove prototypes. |
| 5567 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the |
| 5568 | macros mentioned above. |
| 5569 | |
| 5570 | 2002-06-15 Andrew Cagney <ac131313@redhat.com> |
| 5571 | |
| 5572 | * cli/cli-decode.c (add_setshow_boolean_cmd): Replace |
| 5573 | add_set_boolean_cmd. |
| 5574 | (add_setshow_cmd): New function. |
| 5575 | * command.h (add_setshow_boolean_cmd): Replace |
| 5576 | add_set_boolean_cmd. |
| 5577 | * remote-rdi.c (_initialize_remote_rdi): Update ``set rdiheartbeat'' |
| 5578 | and ``set rdiromatzero''. |
| 5579 | * maint.c (_initialize_maint_cmds): Update commented out code. |
| 5580 | * cli/cli-decode.h (add_set_boolean_cmd): Delete declaration. |
| 5581 | * target.c (initialize_targets): Update `set |
| 5582 | trust-readonly-sections'. |
| 5583 | * remote.c (_initialize_remote): Update `set remotebreak'. |
| 5584 | |
| 5585 | 2002-06-15 Mark Kettenis <kettenis@gnu.org> |
| 5586 | |
| 5587 | * config/i386/tm-i386.h (FUNCTION_START_OFFSET, INNER_THAN, |
| 5588 | BREAKPOINT, DECR_PC_AFTER_BREAK): Removed. |
| 5589 | * i386-tdep.c (i386_skip_prologue): Adjust function signature to |
| 5590 | fit into multi-arch framework. |
| 5591 | (i386_breakpoint_from_pc): New function. |
| 5592 | (i386_gdbarch_init): Adjust for removal of the macros mentioned |
| 5593 | above. |
| 5594 | |
| 5595 | * config/i386/tm-i386.h (FRAMELESS_FUNCTION_INVOCATION, |
| 5596 | FRAME_ARGS_ADDRESS, FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, |
| 5597 | FRAME_ARGS_SKIP, FRAME_INIT_SAVED_REGS): Remove defines. |
| 5598 | (i386_frameless_function_invocation, i386_frame_num_args, |
| 5599 | i386_frame_init_saved_regs): Remove prototypes. |
| 5600 | * i386-tdep.c (i386_gdbarch_init): Adjust for removal of the |
| 5601 | macros mentioned above. |
| 5602 | |
| 5603 | 2002-06-15 Andrew Cagney <ac131313@redhat.com> |
| 5604 | |
| 5605 | * cli/cli-decode.c (set_cmd_cfunc): Update. |
| 5606 | (set_cmd_sfunc): Update. |
| 5607 | * command.h (cmd_cfunc_ftype, cmd_sfunc_ftype): Declare. |
| 5608 | (set_cmd_sfunc, set_cmd_cfunc): Update. |
| 5609 | * cli/cli-decode.h: Update. |
| 5610 | |
| 5611 | 2002-06-15 Mark Kettenis <kettenis@gnu.org> |
| 5612 | |
| 5613 | * i386-sol2-tdep.c (i386_sol2_osabi_sniffer): New function. |
| 5614 | (_initialize_i386_sol2_tdep): Register i386_sol2_osabi_sniffer. |
| 5615 | |
| 5616 | 2002-06-15 Andrew Cagney <ac131313@redhat.com> |
| 5617 | |
| 5618 | * defs.h (auto_boolean): Declare enum. |
| 5619 | * command.h (cmd_auto_boolean): Delete enum. |
| 5620 | * mips-tdep.c (mask_address_var): Update. |
| 5621 | (mips_mask_address_p): Update. |
| 5622 | (show_mask_address): Update. |
| 5623 | * remote.c (struct packet_config): Update. |
| 5624 | (update_packet_config): Update. |
| 5625 | (show_packet_config_cmd): Update. |
| 5626 | (packet_ok): Update. |
| 5627 | (add_packet_config_cmd): Update. |
| 5628 | (_initialize_remote): |
| 5629 | * command.h: Update. |
| 5630 | * cli/cli-setshow.c (parse_auto_binary_operation): Update. |
| 5631 | (do_setshow_command): Update. |
| 5632 | * cli/cli-decode.c (add_set_auto_boolean_cmd): Update. |
| 5633 | * cli/cli-decode.h: Update. |
| 5634 | |
| 5635 | 2002-06-15 Mark Kettenis <kettenis@gnu.org> |
| 5636 | |
| 5637 | * config/i386/tm-cygwin.h, config/i386/tm-fbsd.h, |
| 5638 | config/i386/tm-go32.h, config/i386/tm-i386gnu.h, |
| 5639 | config/i386/tm-i386sol2.h, config/i386/tm-i386v4.h, |
| 5640 | config/i386/tm-linux.h, config/i386/tm-nbsd.h, |
| 5641 | config/i386/tm-obsd.h (HAVE_I387_REGS): Remove define. |
| 5642 | * config/i386/tm-i386.h: Unconditionally define FLOAT_INFO. |
| 5643 | |
| 5644 | * i386-tdep.c (i386_coff_osabi_sniffer): Add "coff-go32" to the |
| 5645 | list of DJGPP COFF targets. |
| 5646 | |
| 5647 | * config/i386/tm-i386.h (REGISTER_SIZE): Remove define. |
| 5648 | (NUM_GREGS, NUM_FREGS, NUM_SSE_REGS): Remove defines. |
| 5649 | (FP_REGNUM, SP_REGNUM, PC_REGNUM, PS_REGNUM): Remove defines. |
| 5650 | (FP0_REGNUM): Remove define. |
| 5651 | (MAX_REGISTER_RAW_SIZE, MAX_REGISTER_VIRTUAL_SIZE, |
| 5652 | MAX_REGISTER_VIRTUAL_SIZE): Remove define. |
| 5653 | (i386_register_virtual_size): Remove protoype. |
| 5654 | * i386-tdep.c (i386_register_virtual_size): Removed. |
| 5655 | (i386_extract_return_value, i386_store_return_value): Use |
| 5656 | FP0_REGNUM instead of NUM_FREGS to determine whether the |
| 5657 | floating-point registers are available. |
| 5658 | (i386_gdbarch_init): Tweak FIXME about FPU registers. |
| 5659 | Adjust for removal of macros mentioned above. |
| 5660 | |
| 5661 | 2002-06-15 Mark Kettenis <kettenis@gnu.org> |
| 5662 | |
| 5663 | * i386v4-nat.c: Include "i386-tdep.h". Reformat and tweak various |
| 5664 | comments. |
| 5665 | (fill_gregset, supply_gregset, supply_fpregset, fill_fpregset): |
| 5666 | Remove prototypes. |
| 5667 | (supply_gregset, fill_gregset): Remove use of register keyword and |
| 5668 | remove declaration for regmap. Use I386_NUM_GREGS instead of |
| 5669 | NUM_REGS and NUM_FREGS. |
| 5670 | (FPREGSET_FSAVE_OFFSET): Remove. |
| 5671 | (supply_fpregset, fill_fpregset): Use FPO_REGNUM instead of |
| 5672 | NUM_FREGS to determine whether the floating-point registers are |
| 5673 | available. |
| 5674 | |
| 5675 | * i386gnu-nat.c (supply_gregset, gnu_fetch_registers, |
| 5676 | gnu_store_registers): Replace usage of NUM_GREGS with |
| 5677 | I386_NUM_GREGS. |
| 5678 | |
| 5679 | * i386-linux-nat.c (OLD_CANNOT_FETCH_REGISTER, |
| 5680 | OLD_CANNOT_STORE_REGISTER, supply_gregset, fill_gregset): Replace |
| 5681 | usage of NUM_GREGS with I386_NUM_GREGS. |
| 5682 | |
| 5683 | * i386-linux-nat.c (fill_gregset): Remove redundant parentheses. |
| 5684 | |
| 5685 | * i386bsd-nat.c: Include "i386-tdep.h". |
| 5686 | (supply_gregset, fill_gregset): Replace usage of NUM_GREGS with |
| 5687 | I386_NUM_GREGS. |
| 5688 | |
| 5689 | * i386v-nat.c: Remove copnditional inclusion of <asm/debugreg.h>, |
| 5690 | and associated comment. They no longer make any sense, since we |
| 5691 | don't use this file anymore on Linux. |
| 5692 | |
| 5693 | * config/i386/tm-i386.h (MAX_NUM_REGS): Removed. |
| 5694 | * i386-tdep.c (i386_register_offset, i386_register_size): Use |
| 5695 | I386_SSE_NUM_REGS instead of MAX_NUM_REGS for the number of |
| 5696 | elements in these arrays. |
| 5697 | (_initialize_i386_tdep): Use I386_SSE_NUM_REGS instead of |
| 5698 | MAX_NUM_REGS. |
| 5699 | |
| 5700 | 2002-06-15 Mark Kettenis <kettenis@gnu.org> |
| 5701 | |
| 5702 | * osabi.h (gdb_osabi): Add GDB_OSABI_LYNXOS. |
| 5703 | * osabi.c (gdb_osabi_names): Add entry for "LynxOS". |
| 5704 | |
| 5705 | 2002-06-14 Andrew Cagney <cagney@redhat.com> |
| 5706 | |
| 5707 | * gdbarch.sh (DEPRECATED_EXTRACT_RETURN_VALUE): Rename |
| 5708 | EXTRACT_RETURN_VALUE. |
| 5709 | (DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS): Rename |
| 5710 | EXTRACT_STRUCT_VALUE_ADDRESS. |
| 5711 | * gdbarch.h, gdbarch.c: Regenerate. |
| 5712 | |
| 5713 | * values.c (value_being_returned): Handle |
| 5714 | DEPRECATED_EXTRACT_STRUCT_VALUE_ADDRESS. |
| 5715 | (EXTRACT_RETURN_VALUE): Define as DEPRECATED_EXTRACT_RETURN_VALUE. |
| 5716 | |
| 5717 | * arm-linux-tdep.c (arm_linux_init_abi): Update. |
| 5718 | * arm-tdep.c (arm_gdbarch_init): Update. |
| 5719 | * avr-tdep.c (avr_gdbarch_init): Update. |
| 5720 | * cris-tdep.c (cris_gdbarch_init): Update. |
| 5721 | * d10v-tdep.c (d10v_gdbarch_init): Update. |
| 5722 | * ia64-tdep.c (ia64_gdbarch_init): Update. |
| 5723 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Update. |
| 5724 | * rs6000-tdep.c (rs6000_gdbarch_init): Update. |
| 5725 | * s390-tdep.c (s390_gdbarch_init): Update. |
| 5726 | * sh-tdep.c (sh_gdbarch_init): Update. |
| 5727 | * s390-tdep.c (s390_gdbarch_init): Update. |
| 5728 | * sparc-tdep.c (sparc_gdbarch_init): Update. |
| 5729 | * ns32k-tdep.c (ns32k_gdbarch_init): Update. |
| 5730 | * v850-tdep.c (v850_gdbarch_init): Update. |
| 5731 | * vax-tdep.c (vax_gdbarch_init): Update. |
| 5732 | * x86-64-tdep.c (x86_64_gdbarch_init): Update. |
| 5733 | * xstormy16-tdep.c (xstormy16_gdbarch_init): Update. |
| 5734 | |
| 5735 | * config/arc/tm-arc.h: Update. |
| 5736 | * config/d30v/tm-d30v.h: Update. |
| 5737 | * config/fr30/tm-fr30.h: Update. |
| 5738 | * config/h8300/tm-h8300.h: Update. |
| 5739 | * config/h8500/tm-h8500.h: Update. |
| 5740 | * config/i386/tm-i386.h: Update. |
| 5741 | * config/i386/tm-ptx.h: Update. |
| 5742 | * config/i386/tm-symmetry.h: Update. |
| 5743 | * config/i960/tm-i960.h: Update. |
| 5744 | * config/m32r/tm-m32r.h: Update. |
| 5745 | * config/m68k/tm-delta68.h: Update. |
| 5746 | * config/m68k/tm-linux.h: Update. |
| 5747 | * config/m68k/tm-m68k.h: Update. |
| 5748 | * config/m88k/tm-m88k.h: Update. |
| 5749 | * config/mcore/tm-mcore.h: Update. |
| 5750 | * config/mips/tm-mips.h: Update. |
| 5751 | * config/mn10200/tm-mn10200.h: Update. |
| 5752 | * config/pa/tm-hppa.h: Update. |
| 5753 | * config/pa/tm-hppa64.h: Update. |
| 5754 | * config/sparc/tm-sp64.h: Update. |
| 5755 | * config/sparc/tm-sparc.h: Update. |
| 5756 | * config/sparc/tm-sparclet.h: Update. |
| 5757 | * config/z8k/tm-z8k.h: Update. |
| 5758 | |
| 5759 | 2002-06-14 Andrew Cagney <cagney@redhat.com> |
| 5760 | |
| 5761 | * Makefile.in (i386_linux_tdep_h): Define. |
| 5762 | (i386_tdep_h, i387_tdep_h): Define. |
| 5763 | (i386-linux-nat.o): Add $(i386_linux_tdep_h), |
| 5764 | $(i386_tdep_h) and $(i387_tdep_h). |
| 5765 | * i386-linux-nat.c: Include "i386-linux-tdep.h". |
| 5766 | |
| 5767 | 2002-06-14 Mark Kettenis <kettenis@gnu.org> |
| 5768 | |
| 5769 | * config/i386/tm-i386.h (START_INFERIOR_TRAPS_EXPECTED): Removed. |
| 5770 | Already covered by the default. |
| 5771 | |
| 5772 | * config/i386/tm-i386.h (TARGET_LONG_DOUBLE_FORMAT, |
| 5773 | TARGET_LONG_DOUBLE_BIT): Remove. * i386-tdep.c |
| 5774 | (i386_gdbarch_init): Initialize long_double_format and long_double |
| 5775 | bit. |
| 5776 | |
| 5777 | * config/i386/i386sol2.mt (TDEPFILES): Add i386-sol2-tdep.o and |
| 5778 | i386bsd-tdep.o. Remove solib.o, solib-svr4.o and solib-legacy.o. |
| 5779 | Move these to ... |
| 5780 | * config/i386/i386sol2.mh: ... here. |
| 5781 | * config/i386/tm-i386sol2.h (STAB_REG_TO_REGNUM): Remove define. |
| 5782 | (sigtramp_saved_pc, I386V4_SIGTRAMP_SAVED_PC): Don't #undef. |
| 5783 | (SIGCONTEXT_PC_OFFSET): Remove define. |
| 5784 | (IN_SIGTRAMP): Remove define. |
| 5785 | * i386-sol2-tdep.c: New file. |
| 5786 | |
| 5787 | * config/i386/i386nw.mt (TM_FILE): Change to tm-i386.h. |
| 5788 | * config/i386/tm-i386nw.h: Removed. |
| 5789 | |
| 5790 | * config/i386/tm-fbsd.h (STAB_REG_TO_REGNUM, |
| 5791 | USE_STRUCT_CONVENTION): Remove defines. |
| 5792 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. |
| 5793 | (get_longjmp_target): Remove prototype. |
| 5794 | (IN_SIGTRAMP): Remove define. |
| 5795 | (i386bsd_in_sigtramp): Remove prototype. |
| 5796 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Turn into a |
| 5797 | function. Update comment accordingly |
| 5798 | (SIGTRAMP_START, SIGTRAMP): Adjust definition accordingly. |
| 5799 | (FRAME_SAVED_PC): Remove define. |
| 5800 | (i386bsd_frame_saved_pc): Remove prototype. |
| 5801 | * config/i386/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC, |
| 5802 | GET_LONGJMP_TARGET): Remove defines. |
| 5803 | (get_longjmp_target): Remove prototype. |
| 5804 | (IN_SIGTRAMP): Remove define. |
| 5805 | (i386bsd_in_sigtramp): Remove prototype. |
| 5806 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): Turn into a |
| 5807 | function. Update comment accordingly |
| 5808 | (SIGTRAMP_START, SIGTRAMP): Adjust definition accordingly. |
| 5809 | (FRAME_SAVED_PC): Remove define. |
| 5810 | (i386bsd_frame_saved_pc): Remove prototype. |
| 5811 | * config/i386/tm-nbsdaout.h (i386nbsd_aout_use_struct_convention): |
| 5812 | Remove prototype. |
| 5813 | (USE_STRUCT_CONVENTION): Remove prototype. |
| 5814 | * i386bsd-nat.c (i386bsd_sigcontext_pc_offset): Remove |
| 5815 | declaration. |
| 5816 | (_initialize_i386bsd_nat): Revise logic to determine some |
| 5817 | constants at compile time when compiling a native GDB. Warn if |
| 5818 | things don't match up with what we expect. |
| 5819 | * i386bsd-tdep.c (i386bsd_sigtramp_start, i386bsd_sigtramp_end): |
| 5820 | Remove variables. |
| 5821 | (i386bsd_in_sigtramp): Rename tp i386bsd_pc_in_sigtramp. Rewrite |
| 5822 | to use date stored in `struct gdbarch_tdep'. |
| 5823 | (i386bsd_sigcontext_offset): Remove varaible. |
| 5824 | (i386bsd_sigtramp_saved_pc): Make public. Rewrite to use data |
| 5825 | stored in `struct gdbarch_tdep'. |
| 5826 | (i386bsd_frame_saved_pc): Make static. |
| 5827 | (i386bsd_sigtramp_start, i386bsd_sigtramp_end): New functions. |
| 5828 | (i386bsd_sc_pc_offset, i386nbsd_sc_pc_offset, |
| 5829 | i386fbsd_sigtramp_start, i386fbsd_sigtramp_end, |
| 5830 | i386fbsd4_sc_pc_offset): New variables. |
| 5831 | (i386bsd_init_abi, i386nbsd_init_abi, i386nbsdelf_init_abi, |
| 5832 | i386fbsdaout_init_abi, i386fbsd_init_abi, i386fbsd4_init_abi): New |
| 5833 | functions. |
| 5834 | (i386bsd_aout_osabi_sniffer, _initialize_i386bsd_tdep): New |
| 5835 | functions. |
| 5836 | * i386fbsd-nat.c (_initialize_i386fbsd_nat): Fix type in comment. |
| 5837 | Modify the value of i386fbsd_sigtramp_start and |
| 5838 | i386fbsd_sigtramp_end instead of i386bsd_sigtramp_start and |
| 5839 | i386fbsd_sigtramp_end. |
| 5840 | * i386nbsd-tdep.c: (i386nbsd_aout_use_struct_convention): Remove |
| 5841 | function. |
| 5842 | |
| 5843 | * config/i386/tm-linux.h (I386_LINUX_ORIG_EAX_REGNUM): Move |
| 5844 | define to i386-linux-tdep.h. |
| 5845 | (NUM_REGS, MAX_NUM_REGS, REGISTER_BYTES, REGISTER_NAME, |
| 5846 | REGISTER_BYTE, REGISTER_RAW_SIZE, STAB_REG_TO_REGNUM): Remove |
| 5847 | defines. |
| 5848 | (i386_linux_register_name, i386_linux_register_byte, |
| 5849 | i386_linux_register_raw_size): Remove prototypes. |
| 5850 | (i386_linux_svr4_fetch_link_map_offsets): Remove prototype. |
| 5851 | (SVR4_FETCH_LINK_MAP_OFFSETS): Remove define. |
| 5852 | (IN_SIGTRAMP, FRAME_CHAIN, FRAME_SAVED_PC, SAVED_PC_AFTER_CALL, |
| 5853 | TARGET_WRITE_PC): Remove defines. |
| 5854 | (i386_linux_in_sigtramp, i386_linux_frame_chain, |
| 5855 | i386_linux_frame_saved_pc, i386_linux_saved_pc_after_call, |
| 5856 | i386_linux_write_pc): Remove prototypes. |
| 5857 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. |
| 5858 | (get_longjmp_target): Remove prototype. |
| 5859 | * i386-linux-tdep.h: New file. |
| 5860 | * i386-linux-nat.c: Include "i386-linux-tdep.h". |
| 5861 | * i386-linux-tdep.c: Include "i386-tdep.h" and |
| 5862 | "i386-linux-tdep.h". |
| 5863 | (i386_linux_register_name, i386_linux_register_byte, |
| 5864 | i386_linux_register_raw_size, i386_linux_in_sigtramp, |
| 5865 | i386_linux_write_pc, i386_linux_svr4_fetch_link_map_offsets): |
| 5866 | Make static. |
| 5867 | (i386_linux_init_abi): New function. |
| 5868 | (_initialize_i386_linux_tdep): New function. |
| 5869 | |
| 5870 | * config/i386/tm-i386.h (SAVED_PC_AFTER_CALL): Remove define. |
| 5871 | (i386_saved_pc_after_call): Remove prototype. |
| 5872 | (MAX_NUM_REGS): Increase to deal with Linux's orig_eax "register". |
| 5873 | (REGISTER_NAME, STAB_REG_TO_REGNUM, SDB_REG_TO_REGNUM, |
| 5874 | DWARF_REG_TO_REGNUM, DWARF2_REG_TO_REGNUM): Remove defines. |
| 5875 | (i386_register_name, i386_stab_reg_to_regnum, |
| 5876 | i386_dwarf_reg_to_regnum): Remove prototypes. |
| 5877 | (SIZEOF_GREGS, SIZEOF_FPU_REGS, SIZEOF_FPU_CTL_REGS, |
| 5878 | SIZEOF_SSE_REGS): Remove defines. |
| 5879 | (REGISTER_BYTES): Remove define. |
| 5880 | (REGISTER_BYTE, REGISTER_RAW_SIZE): Remove defines. |
| 5881 | (i386_register_byte, i386_register_raw_size): Remove prototypes. |
| 5882 | (FRAME_CHAIN, FRAME_SAVED_PC): Remove defines. |
| 5883 | (i386_frame_chain, i386_frame_saved_pc): Remove prototypes. |
| 5884 | * config/i386/tm-i386v4.h (FRAME_CHAIN_VALID): Remove define. |
| 5885 | (JB_ELEMENT_SIZE, JB_PC, JB_EBX, JB_ESI, JB_EDI, JB_EBP, JB_ESP, |
| 5886 | JB_EDX, GET_LONGJMP_TARGET): Remove defines. |
| 5887 | (get_longjmp_target): Remove prototype. |
| 5888 | (I386V4_SIGTRAMP_SAVED_PC, IN_SIGTRAMP): Remove defines. |
| 5889 | (sigtramp_saved_pc): Remove define. |
| 5890 | (i386v4_sigtramp_saved_pc): Remove prototype. |
| 5891 | * config/i386/tm-go32.h (FRAME_CHAIN, |
| 5892 | FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC): Remove defines. |
| 5893 | (i386go32_frame_saved_pc): Remove prototype. |
| 5894 | (JB_ELEMENT_SIZE, JB_PC, GET_LONGJMP_TARGET): Remove defines. |
| 5895 | (get_longjmp_target): Remove prototype. |
| 5896 | * i386-tdep.h: Include "osabi.h". |
| 5897 | (enum i386_abi): Removed. |
| 5898 | (enum struct_return): New enum. |
| 5899 | (struct gdbarch_tdep): Remove abi member, add osabi, jb_pc_offset, |
| 5900 | struct_return, sigtramp_saved_pc, sigtramp_start, sigtramp_end and |
| 5901 | sc_pc_offset members. |
| 5902 | (i386_gdbarch_register_os_abi): Remove prototype. |
| 5903 | (I386_NUM_GREGS, I386_NUM_FREGS, I386_NUM_XREGS, |
| 5904 | I386_SSE_NUM_REGS): New defines. |
| 5905 | (I386_SIZEOF_GREGS, I386_SIZEOF_FREGS, I386_SIZEOF_XREGS, |
| 5906 | I386_SSE_SIZEOF_REGS): New defines. |
| 5907 | (i386_register_name, i386_register_byte, i386_register_raw_size): |
| 5908 | New prototypes. |
| 5909 | (i386_elf_init_abi, i386_svr4_init_abi): New prototypes. |
| 5910 | (i386bsd_sigtramp_saved_pc): New prototype. |
| 5911 | * i386-tdep.c: Don't include "elf-bfd.h". |
| 5912 | (i386_stab_reg_to_regnum, i386_dwarf_reg_to_regnum, |
| 5913 | i386_frame_chain, i386_saved_pc_after_call): Make static. |
| 5914 | (i386_frame_saved_pc): Rewrite to call architecture dependent |
| 5915 | function to deal with signal handlers. Make static. |
| 5916 | (i386go32_frame_saved_pc): Removed. |
| 5917 | [GET_LONGJMP_TARGET] (JB_PC, JB_ELEMENT_SIZE, get_longjmp_target): |
| 5918 | Removed. |
| 5919 | (i386_get_longjmp_target): New function. |
| 5920 | (default_struct_convention, pcc_struct_convention, |
| 5921 | reg_struct_convention, valid_conventions, struct_convention): New |
| 5922 | variables. |
| 5923 | (i386_use_struct_convention): New function. |
| 5924 | (i386v4_sigtramp_saved_pc): Renamed to |
| 5925 | i386_svr4_sigtramp_saved_pc. Made static. Moved. |
| 5926 | (i386_pc_in_sigtramp): New function. |
| 5927 | (i386_abi_names): Removed. |
| 5928 | (ABI_TAG_OS_GNU_LINUX, ABI_TAG_OS_GNU_HURD, |
| 5929 | ABI_TAG_OS_GNU_SOLARIS, ABI_TAG_OS_FREEBSD, ABI_TAG_OS_NETBSD): |
| 5930 | Removed. |
| 5931 | (process_note_sections, i386_elf_abi_from_note, i386_elf_abi, |
| 5932 | i386_gdbarch_register_os_abi): Removed. |
| 5933 | (struct i386_abi_handler): Removed. |
| 5934 | (i386_abi_handler_list): Removed. |
| 5935 | (i386_svr4_pc_in_sigtramp, i386_go32_pc_in_sigtramp): New |
| 5936 | functions. |
| 5937 | (i386_elf_init_abi, i386_svr4_init_abi, i386_go32_init_abi, |
| 5938 | i386_nw_init_abi): New functions. |
| 5939 | (i386_gdbarch_init): Rewritten to use generic OS ABI framework. |
| 5940 | Use set_gdbarch_xxx() calls instead of relying on macros for a |
| 5941 | number of calls. |
| 5942 | (i386_coff_osabi_sniffer, i386_nlm_osabi_sniffer): New functions. |
| 5943 | (_initialize_i386_tdep): Add new 'struct-convcention' command. |
| 5944 | Register the various architecture variants defined in this file. |
| 5945 | |
| 5946 | 2002-06-14 Daniel Jacobowitz <drow@mvista.com> |
| 5947 | |
| 5948 | * gdbtypes.h (TYPE_FLAG_VARARGS): Update comment. |
| 5949 | (struct main_type): Remove arg_types member. Update comments for |
| 5950 | struct field. |
| 5951 | (TYPE_ARG_TYPES): Remove. |
| 5952 | (TYPE_FN_FIELD_ARGS): Update. |
| 5953 | (smash_to_method_type): Update prototype. |
| 5954 | |
| 5955 | * c-typeprint.c (cp_type_print_method_args): Take method type |
| 5956 | instead of argument list. Use new argument layout. Simplify. |
| 5957 | (c_type_print_args): Use new argument layout. Simplify. |
| 5958 | (c_type_print_base): Update call to cp_type_print_method_args. |
| 5959 | * dwarf2read.c (dwarf2_add_member_fn): Remove unneeded type |
| 5960 | argument; use die->type instead. Update call to |
| 5961 | smash_to_method_type. |
| 5962 | (read_structure_scope): Update call to dwarf2_add_member_fn. |
| 5963 | * gdbtypes.c (allocate_stub_method): Update comment. |
| 5964 | (smash_to_method_type): Take new NARGS and VARARGS arguments. |
| 5965 | Use new argument layout. |
| 5966 | (check_stub_method): Use new argument layout. Don't count |
| 5967 | void as an argument. |
| 5968 | (print_arg_types): Update comments. Use new argument layout. |
| 5969 | (recursive_dump_type): Don't print arg_types member. |
| 5970 | * hpread.c (hpread_read_struct_type): Use new argument layout. |
| 5971 | (fixup_class_method_type): Likewise. |
| 5972 | (hpread_type_lookup): Likewise. |
| 5973 | * stabsread.c (read_type): Update calls to read_args and |
| 5974 | smash_to_method_type. |
| 5975 | (read_args): Use new argument layout. Simplify. |
| 5976 | * valops.c (typecmp): Use new argument layout. Update parameters |
| 5977 | and comments. Simplify. |
| 5978 | (hand_function_call): Use new argument layout. |
| 5979 | (search_struct_method): Update call to typecmp. |
| 5980 | (find_overload_match): Use new argument layout. |
| 5981 | |
| 5982 | 2002-06-13 Daniel Jacobowitz <drow@mvista.com> |
| 5983 | |
| 5984 | * NEWS: Mention multithreaded debug support for gdbserver. |
| 5985 | |
| 5986 | 2002-06-13 Daniel Jacobowitz <drow@mvista.com> |
| 5987 | |
| 5988 | * MAINTAINERS: Mention NEWS. |
| 5989 | |
| 5990 | 2002-06-13 Daniel Jacobowitz <drow@mvista.com> |
| 5991 | |
| 5992 | * mips-tdep.c (PROC_SYMBOL): Add warning comment. |
| 5993 | (struct mips_objfile_private, compare_pdr_entries): New. |
| 5994 | (non_heuristic_proc_desc): Read the ".pdr" section if it |
| 5995 | is present. |
| 5996 | |
| 5997 | 2002-06-12 Andrew Cagney <ac131313@redhat.com> |
| 5998 | |
| 5999 | * arm-tdep.c (arm_push_arguments): Rewrite using a two-pass loop. |
| 6000 | (arm_debug): New static variable. |
| 6001 | (_initialize_arm_tdep): Add ``set debug arm'' command. |
| 6002 | |
| 6003 | 2002-06-12 Andrew Cagney <ac131313@redhat.com> |
| 6004 | |
| 6005 | * Makefile.in (sim_arm_h): Define. |
| 6006 | (arm-tdep.o): Add $(sim_arm_h) and $(gdb_assert_h). |
| 6007 | * arm-tdep.c: Include "gdb/sim-arm.h" and "gdb_assert.h". |
| 6008 | (arm_register_sim_regno): New function, map an internal REGNUM |
| 6009 | onto a simulator register number. |
| 6010 | (arm_gdbarch_init): Set register_sim_regno. |
| 6011 | |
| 6012 | 2002-06-09 Aldy Hernandez <aldyh@redhat.com> |
| 6013 | |
| 6014 | * MAINTAINERS: Add self. |
| 6015 | |
| 6016 | 2002-06-11 Jim Blandy <jimb@redhat.com> |
| 6017 | |
| 6018 | * source.c (source_info): Mention whether the symtab has |
| 6019 | information about preprocessor macros. |
| 6020 | |
| 6021 | Call the command `info macro', not `show macro'. |
| 6022 | * macrocmd.c (info_macro_command): Renamed from `show_macro_command'. |
| 6023 | Fix error message. |
| 6024 | (_initialize_macrocmd): Register `info_macro_command' in |
| 6025 | `infolist', not `showlist'. |
| 6026 | |
| 6027 | 2002-06-11 Daniel Jacobowitz <drow@mvista.com> |
| 6028 | |
| 6029 | * mips-tdep.c (MIPS_FPU_TYPE, FP_REGISTER_DOUBLE, MIPS_EABI) |
| 6030 | (MIPS_LAST_FP_ARG_REGNUM, MIPS_LAST_ARG_REGNUM) |
| 6031 | (MIPS_DEFAULT_SAVED_REGSIZE, MIPS_REGS_HAVE_HOME_P) |
| 6032 | (MIPS_DEFAULT_STACK_ARGSIZE, GDB_TARGET_IS_MIPS64) |
| 6033 | (MIPS_DEFAULT_MASK_ADDRESS_P): Remove obsolete definitions. Define |
| 6034 | unconditionally. |
| 6035 | (set_mipsfpu_single_command, set_mipsfpu_double_command) |
| 6036 | (set_mipsfpu_none_command): Remove if (GDB_MULTI_ARCH). |
| 6037 | (_initialize_mips_tdep): Remove dead code. |
| 6038 | * config/mips/tm-irix5.h (MIPS_LAST_ARG_REGNUM) |
| 6039 | (MIPS_DEFAULT_STACK_ARGSIZE, MIPS_REGS_HAVE_HOME_P): Remove. |
| 6040 | * config/mips/tm-irix6.h (MIPS_LAST_ARG_REGNUM) |
| 6041 | (MIPS_DEFAULT_STACK_ARGSIZE, MIPS_REGS_HAVE_HOME_P): Remove. |
| 6042 | * config/mips/tm-mips.h (MIPS_EABI, MIPS_LAST_ARG_REGNUM, |
| 6043 | MIPS_LAST_FP_ARG_REGNUM): Remove. |
| 6044 | |
| 6045 | 2002-06-11 Michal Ludvig <mludvig@suse.cz> |
| 6046 | |
| 6047 | * dwarf2cfi.c (unwind_tmp_obstack_init): New. |
| 6048 | (unwind_tmp_obstack_free, parse_frame_info) |
| 6049 | (update_context, cfi_read_fp, cfi_write_fp) |
| 6050 | (cfi_frame_chain, cfi_init_extra_frame_info) |
| 6051 | (cfi_virtual_frame_pointer): Use the above function. |
| 6052 | * dwarf2cfi.c: Reindented (using 'indent dwarf2cfi.c'). |
| 6053 | |
| 6054 | 2002-06-11 Corinna Vinschen <vinschen@redhat.com> |
| 6055 | |
| 6056 | * v850-tdep.c (v850_type_is_scalar): New function. |
| 6057 | (v850_use_struct_convention): Match current gcc implementation |
| 6058 | as close as possible. |
| 6059 | (v850_push_arguments): Fix stack_offset handling. Don't write |
| 6060 | struct_addr into register. This is done by v850_store_struct_return. |
| 6061 | (v850_extract_return_value): Care for structs. |
| 6062 | (v850_store_return_value): Ditto. |
| 6063 | (v850_store_struct_return): Actually write address. |
| 6064 | |
| 6065 | 2002-06-11 Michal Ludvig <mludvig@suse.cz> |
| 6066 | |
| 6067 | * x86-64-tdep.c (x86_64_skip_prologue): Fix to work on functions |
| 6068 | without debug information too. |
| 6069 | |
| 6070 | 2002-06-10 Andrew Cagney <ac131313@redhat.com> |
| 6071 | |
| 6072 | * gdbarch.sh (PRINT_FLOAT_INFO): Add frame and ui_file parameters. |
| 6073 | Make multi-arch pure. |
| 6074 | * gdbarch.h, gdbarch.c: Re-generate. |
| 6075 | * arm-tdep.c (arm_print_float_info): Update. |
| 6076 | * arch-utils.h (default_print_float_info): Update. |
| 6077 | * arch-utils.c (default_print_float_info): Update. |
| 6078 | * infcmd.c (float_info): Update call. |
| 6079 | |
| 6080 | 2002-06-10 Andrew Cagney <ac131313@redhat.com> |
| 6081 | |
| 6082 | * Makefile.in (init.c): Move the call to _initialize_gdbtypes to |
| 6083 | the front of the initialize list. |
| 6084 | |
| 6085 | 2002-06-10 Andrew Cagney <ac131313@redhat.com> |
| 6086 | |
| 6087 | * infrun.c (struct inferior_status): Replace fields |
| 6088 | selected_frame_address and selected_level with field |
| 6089 | selected_frame_id. |
| 6090 | (save_inferior_status): Update. Use get_frame_id. |
| 6091 | (struct restore_selected_frame_args): Delete. |
| 6092 | (restore_selected_frame): Update. Use frame_find_by_id. |
| 6093 | (restore_inferior_status): Update. |
| 6094 | |
| 6095 | * breakpoint.h (struct breakpoint): Change type of |
| 6096 | watchpoint_frame to frame_id. |
| 6097 | * breakpoint.c (insert_breakpoints): Use frame_find_by_id. Remove |
| 6098 | call to get_current_frame. |
| 6099 | (do_enable_breakpoint): Use frame_find_by_id. Remove call to |
| 6100 | get_current_frame. |
| 6101 | (watchpoint_check): Use frame_find_by_id. |
| 6102 | |
| 6103 | * frame.h (record_selected_frame): Delete declaration. |
| 6104 | * stack.c (record_selected_frame): Delete function. |
| 6105 | |
| 6106 | * frame.h (struct frame_id): Define. |
| 6107 | (get_frame_id): Declare. |
| 6108 | (frame_find_by_id): Declare. |
| 6109 | * frame.c (frame_find_by_id): New function. |
| 6110 | (get_frame_id): New function. |
| 6111 | |
| 6112 | 2002-06-10 Andrey Volkov <avolkov@transas.com> |
| 6113 | |
| 6114 | * ser-e7kpc.c: Fix duplicated define and call of |
| 6115 | _initialize_ser_e7000pc |
| 6116 | |
| 6117 | 2002-06-09 Daniel Jacobowitz <drow@mvista.com> |
| 6118 | |
| 6119 | * signals/signals.c (target_signal_from_host): Fix #ifdef |
| 6120 | SIGRTMIN case. |
| 6121 | (do_target_signal_to_host): Likewise. |
| 6122 | |
| 6123 | 2002-06-09 Daniel Jacobowitz <drow@mvista.com> |
| 6124 | |
| 6125 | * mips-tdep.c (mips_find_abi_section): New function. |
| 6126 | (mips_gdbarch_init): Call it. |
| 6127 | |
| 6128 | 2002-06-09 Mark Kettenis <kettenis@gnu.org> |
| 6129 | |
| 6130 | * solib-svr4.c (init_fetch_link_map_offsets): Simply return |
| 6131 | legacy_fetch_link_map_offsets. Adjust comment to reflect reality |
| 6132 | after Andrew's 2002-06-08 gdbarch change. |
| 6133 | |
| 6134 | 2002-06-09 Mark Kettenis <kettenis@gnu.org> |
| 6135 | |
| 6136 | * i386-linux-nat.c (suppy_gregset): Don't supply |
| 6137 | I386_LINUX_ORIG_EAX_REGNUM if there isn't room for it in GDB's |
| 6138 | register cache. |
| 6139 | (fill_gregset): Don't fetch it under the same circumstances. |
| 6140 | |
| 6141 | 2002-06-09 Andrew Cagney <cagney@redhat.com> |
| 6142 | |
| 6143 | * Makefile.in (callback_h): Define. |
| 6144 | (remote_sim_h): Update path to remote-sim.h. |
| 6145 | (remote-rdp.o): Add $(callback_h). |
| 6146 | (remote-sim.o): Use $(callback_h). |
| 6147 | * remote-sim.c: Include "gdb/callback.h" and "gdb/remote-sim.h". |
| 6148 | * remote-rdp.c: Include "gdb/callback.h". |
| 6149 | |
| 6150 | 2002-06-09 Mark Kettenis <kettenis@gnu.org> |
| 6151 | |
| 6152 | * osabi.h (gdb_osabi): Add GDB_OSABI_GO32 and GDB_OSABI_NETWARE. |
| 6153 | * osabi.c (gdb_osabi_names): Add "DJGPP" and "NetWare". |
| 6154 | |
| 6155 | 2002-06-08 Andrew Cagney <ac131313@redhat.com> |
| 6156 | |
| 6157 | * sparcl-tdep.c: Use __CYGWIN__ instead of __CYGWIN32__. |
| 6158 | * rdi-share/serpardr.c: Ditto. |
| 6159 | * rdi-share/unixcomm.c: Ditto. |
| 6160 | * rdi-share/serdrv.c: Ditto. |
| 6161 | * rdi-share/hostchan.h: Ditto. |
| 6162 | * rdi-share/hostchan.c: Ditto. |
| 6163 | * rdi-share/host.h: Ditto. |
| 6164 | * rdi-share/devsw.c: Ditto. |
| 6165 | |
| 6166 | * objfiles.h: Change type of obj_private to void pointer. |
| 6167 | * pa64solib.c: Update copyright. Don't include "assert.h", use |
| 6168 | strcmp instead of STREQ, use LONGEST, do not use PTR |
| 6169 | * somsolib.c: Ditto. |
| 6170 | |
| 6171 | * config/djgpp/fnchange.lst: Fix problems with bfd/elf32-i386.c, |
| 6172 | bfd/elf32-i386qnx.c, bfd/elf32-sh.c, bfd/elf32-sh64-nbsd.c, |
| 6173 | bfd/elf64-sh64-nbsd.c bfd/elf64-sh64.c. |
| 6174 | |
| 6175 | 2002-06-08 Andrew Cagney <ac131313@redhat.com> |
| 6176 | |
| 6177 | * frame.c (GET_SAVED_REGISTER): Delete macro definition. |
| 6178 | (default_get_saved_register): Delete function. |
| 6179 | * gdbarch.sh (GET_SAVED_REGISTER): Set default to |
| 6180 | generic_unwind_get_saved_register. |
| 6181 | * gdbarch.h, gdbarch.c: Re-generate. |
| 6182 | |
| 6183 | 2002-06-08 Andrew Cagney <ac131313@redhat.com> |
| 6184 | |
| 6185 | * gdbarch.sh (FRAME_CHAIN_VALID): Set default to |
| 6186 | generic_func_frame_chain_valid. |
| 6187 | * gdbarch.h, gdbarch.c: Re-generate. |
| 6188 | * blockframe.c (generic_func_frame_chain_valid): Only check |
| 6189 | PC_IN_CALL_DUMMY when generic dummy frames. Don't worry about |
| 6190 | passing FP to PC_IN_CALL_DUMMY. |
| 6191 | Fix PR gdb/360. |
| 6192 | |
| 6193 | 2002-06-08 Andrew Cagney <ac131313@redhat.com> |
| 6194 | |
| 6195 | * gdbarch.sh (struct gdbarch_data): Add field init_p. |
| 6196 | (register_gdbarch_data): Initialize init_p. |
| 6197 | (gdbarch_data): Initialize data pointer using the init function. |
| 6198 | (init_gdbarch_data): Delete function. |
| 6199 | (gdbarch_update_p): Update. |
| 6200 | (initialize_non_multiarch): Update. |
| 6201 | (struct gdbarch): Add field initialized_p. |
| 6202 | * gdbarch.h, gdbarch.c: Re-generate. |
| 6203 | |
| 6204 | 2002-06-07 Michal Ludvig <mludvig@suse.cz> |
| 6205 | |
| 6206 | * x86-64-linux-nat.c (x86_64_fxsave_offset): New. |
| 6207 | (supply_fpregset, fill_fpregset): Don't call i387_*_fxsave, |
| 6208 | better do the things actually here. |
| 6209 | * x86-64-tdep.c (x86_64_register_name2nr): New. |
| 6210 | (x86_64_register_name): Renamed to x86_64_register_nr2name. |
| 6211 | (x86_64_gdbarch_init): Respect the above change. |
| 6212 | * x86-64-tdep.h (x86_64_register_name2nr) |
| 6213 | (x86_64_register_nr2name): Add prototypes. |
| 6214 | * config/i386/x86-64linux.mt (TDEPFILES): Remove i387-tdep.o. |
| 6215 | |
| 6216 | 2002-06-06 Michael Snyder <msnyder@redhat.com> |
| 6217 | |
| 6218 | * d10v-tdep.c (d10v_push_arguments): Handle struct_return. |
| 6219 | Delete extra braces and re-indent. |
| 6220 | (d10v_store_return_value): Char return values |
| 6221 | must be shifted over by one byte in R0. |
| 6222 | (d10v_extract_return_value): Delete extra braces, re-indent. |
| 6223 | |
| 6224 | 2002-06-06 Elena Zannoni <ezannoni@redhat.com> |
| 6225 | |
| 6226 | * d10v-tdep.c (d10v_read_sp, d10v_read_fp): Add prototype. |
| 6227 | (d10v_register_virtual_type): Make $fp and $sp be pointer to data. |
| 6228 | (d10v_integer_to_address): Rewrite. |
| 6229 | (d10v_frame_init_saved_regs): When reading fp and sp registers use |
| 6230 | the d10v specific functions which take care of converting to the |
| 6231 | correct space. |
| 6232 | |
| 6233 | 2002-06-06 Elena Zannoni <ezannoni@redhat.com> |
| 6234 | |
| 6235 | * config/djgpp/fnchange.lst: Add testsuite files altivec-abi.c, |
| 6236 | altivec-abi.exp, altivec-regs.c, altivec-regs.exp. |
| 6237 | |
| 6238 | 2002-06-02 Andrew Cagney <ac131313@redhat.com> |
| 6239 | |
| 6240 | * config/alpha/nm-linux.h: Add "config/" prefix to tm, nm and xm |
| 6241 | includes. |
| 6242 | * config/tm-linux.h: Ditto. |
| 6243 | * config/alpha/tm-alphalinux.h: Ditto. |
| 6244 | * config/arm/nm-linux.h, config/arm/tm-linux.h: Ditto. |
| 6245 | * config/arm/xm-nbsd.h, config/i386/nm-gnu.h: Ditto. |
| 6246 | * config/i386/nm-i386lynx.h, config/i386/nm-i386sol2.h: Ditto. |
| 6247 | * config/i386/nm-i386v4.h, config/i386/nm-i386v42mp.h: Ditto. |
| 6248 | * config/i386/nm-linux.h, config/i386/nm-m3.h: Ditto. |
| 6249 | * config/i386/nm-ptx4.h, config/i386/nm-x86-64.h: Ditto. |
| 6250 | * config/i386/tm-i386gnu.h, config/i386/tm-i386lynx.h: Ditto. |
| 6251 | * config/i386/tm-i386m3.h, config/i386/tm-i386sco5.h: Ditto. |
| 6252 | * config/i386/tm-i386v4.h, config/i386/tm-linux.h: Ditto. |
| 6253 | * config/i386/tm-ptx4.h, config/i386/tm-vxworks.h: Ditto. |
| 6254 | * config/i386/xm-i386v4.h, config/i386/xm-nbsd.h: Ditto. |
| 6255 | * config/i386/xm-ptx.h, config/i386/xm-ptx4.h: Ditto. |
| 6256 | * config/i960/tm-vx960.h, config/ia64/nm-aix.h: Ditto. |
| 6257 | * config/ia64/nm-linux.h, config/ia64/tm-aix.h: Ditto. |
| 6258 | * config/ia64/tm-linux.h, config/ia64/xm-aix.h: Ditto. |
| 6259 | * config/m68k/nm-linux.h, config/m68k/nm-m68klynx.h: Ditto. |
| 6260 | * config/m68k/nm-sysv4.h, config/m68k/tm-linux.h: Ditto. |
| 6261 | * config/m68k/tm-m68klynx.h, config/m68k/tm-m68kv4.h: Ditto. |
| 6262 | * config/m68k/tm-sun2os4.h, config/m68k/tm-sun3os4.h: Ditto. |
| 6263 | * config/m68k/tm-vx68.h, config/m68k/xm-m68kv4.h: Ditto. |
| 6264 | * config/m68k/xm-nbsd.h, config/m88k/nm-delta88v4.h: Ditto. |
| 6265 | * config/m88k/tm-delta88v4.h, config/m88k/xm-delta88v4.h: Ditto. |
| 6266 | * config/mips/nm-irix5.h, config/mips/nm-linux.h: Ditto. |
| 6267 | * config/mips/tm-linux.h, config/mips/tm-mips64.h: Ditto. |
| 6268 | * config/mips/tm-mipsm3.h, config/mips/tm-mipsv4.h: Ditto. |
| 6269 | * config/mips/tm-vxmips.h, config/mips/xm-irix5.h: Ditto. |
| 6270 | * config/mips/xm-mipsv4.h, config/ns32k/xm-nbsd.h: Ditto. |
| 6271 | * config/pa/nm-hppao.h, config/powerpc/nm-linux.h: Ditto. |
| 6272 | * config/powerpc/tm-linux.h, config/powerpc/tm-vxworks.h: Ditto. |
| 6273 | * config/powerpc/xm-aix.h, config/rs6000/nm-rs6000ly.h: Ditto. |
| 6274 | * config/rs6000/tm-rs6000ly.h, config/rs6000/xm-aix4.h: Ditto. |
| 6275 | * config/sh/tm-linux.h, config/sparc/nm-linux.h: Ditto. |
| 6276 | * config/sparc/nm-sparclynx.h, config/sparc/nm-sun4sol2.h: Ditto. |
| 6277 | * config/sparc/tm-linux.h, config/sparc/tm-sp64linux.h: Ditto. |
| 6278 | * config/sparc/tm-sp64sim.h, config/sparc/tm-sparclynx.h: Ditto. |
| 6279 | * config/sparc/tm-sun4os4.h, config/sparc/tm-sun4sol2.h: Ditto. |
| 6280 | * config/sparc/tm-vxsparc.h, config/sparc/xm-sun4sol2.h: Ditto. |
| 6281 | |
| 6282 | 2002-05-04 Aidan Skinner <aidan@velvet.net> |
| 6283 | |
| 6284 | * ada-exp.tab.c: New file |
| 6285 | * ada-exp.y: New file |
| 6286 | * ada-lang.c: New file |
| 6287 | * ada-lang.h: New file |
| 6288 | * ada-lex.c: New file |
| 6289 | * ada-lex.l: New file |
| 6290 | * ada-tasks.c: New file |
| 6291 | * ada-typeprint.c: New file |
| 6292 | * ada-valprint.c: New file |
| 6293 | |
| 6294 | 2002-06-02 Jason Thorpe <thorpej@wasabisystems.com> |
| 6295 | |
| 6296 | * ppcnbsd-tdep.c (ppcnbsd_init_abi): Don't set |
| 6297 | use_struct_convention to ppc_sysv_abi_broken_use_struct_convention. |
| 6298 | |
| 6299 | 2002-06-02 Jason Thorpe <thorpej@wasabisystems.com> |
| 6300 | |
| 6301 | * config/rs6000/aix4.mt (TDEPFILES): Use ppc-sysv-tdep.o |
| 6302 | insetead of ppc-linux-tdep.o. |
| 6303 | * config/rs6000/rs6000.mt (TDEPFILES): Likewise. |
| 6304 | * config/rs6000/rs6000lynx.mt (TDEPFILES): Likewise. |
| 6305 | |
| 6306 | 2002-06-02 Andrew Cagney <ac131313@redhat.com> |
| 6307 | |
| 6308 | 2002-05-07 Christian Groessler <chris@groessler.org> |
| 6309 | * z8k-tdep.c (z8k_print_register_hook): Fix display of 32 and 64 |
| 6310 | bit register contents for little endian hosts. |
| 6311 | |
| 6312 | 2002-06-01 Andrew Cagney <ac131313@redhat.com> |
| 6313 | |
| 6314 | * MAINTAINERS: Mention that any `HP/UX reader' can be changed by |
| 6315 | any maintainer. |
| 6316 | |
| 6317 | 2002-06-01 Andrew Cagney <ac131313@redhat.com> |
| 6318 | |
| 6319 | * gdbarch.h: Regenerate. |
| 6320 | |
| 6321 | 2002-06-01 Andrew Cagney <ac131313@redhat.com> |
| 6322 | |
| 6323 | * MAINTAINERS: Add everyone to write-after-approval list. |
| 6324 | |
| 6325 | 2002-06-01 Andrew Cagney <ac131313@redhat.com> |
| 6326 | |
| 6327 | * stack.c (frame_info): Use frame_register_unwind instead of |
| 6328 | saved_regs. Mention when the SP is on the stack or in a register. |
| 6329 | |
| 6330 | * frame.h (frame_register_unwind_ftype): Define. Document. |
| 6331 | (struct frame_info): Add field register_unwind and |
| 6332 | register_unwind_cache. |
| 6333 | (frame_register_unwind): Declare. |
| 6334 | (generic_unwind_get_saved_register): Declare. |
| 6335 | |
| 6336 | * frame.c (frame_register_unwind): New function. |
| 6337 | (generic_unwind_get_saved_register): New function. |
| 6338 | |
| 6339 | * blockframe.c (generic_call_dummy_register_unwind): New function. |
| 6340 | (frame_saved_regs_register_unwind): New function. |
| 6341 | (set_unwind_by_pc): New function. |
| 6342 | (create_new_frame): New function. |
| 6343 | (get_prev_frame): New function. |
| 6344 | |
| 6345 | 2002-05-30 Andrew Cagney <ac131313@redhat.com> |
| 6346 | |
| 6347 | * a29k-share/: Delete directory. |
| 6348 | * remote-vx29k.c: Delete file. |
| 6349 | |
| 6350 | 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com> |
| 6351 | |
| 6352 | * config/djgpp/fnchange.lst: Add ns32knbsd-nat.c, ns32knbsd-tdep.c, |
| 6353 | ppcnbsd-nat.c, ppcnbsd-tdep.c, sparcnbsd-nat.c, and sparcnbsd-tdep.c. |
| 6354 | |
| 6355 | 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com> |
| 6356 | |
| 6357 | * Makefile.in (ALLDEPFILES): Add sparc64nbsd-nat.c, |
| 6358 | sparcnbsd-nat.c, and sparcnbsd-tdep.c. |
| 6359 | (sparc64nbsd-nat.o) |
| 6360 | (sparcnbsd-nat.o) |
| 6361 | (sparcnbsd-tdep.o): New dependency lists. |
| 6362 | * NEWS: Note new UltraSPARC NetBSD native configuration. |
| 6363 | * configure.host (sparc64-*-netbsd*): New host. |
| 6364 | * configure.tgt (sparc-*-netbsdelf*) |
| 6365 | (sparc-*-netbsd*): Set gdb_target to nbsd. |
| 6366 | (sparc64-*-netbsd*): New target. |
| 6367 | * sparc64nbsd-nat.c: New file. |
| 6368 | * sparcnbsd-nat.c: New file. |
| 6369 | * sparcnbsd-tdep.c: New file. |
| 6370 | * sparcnbsd-tdep.h: New file. |
| 6371 | * config/sparc/nbsd.mt: New file. |
| 6372 | * config/sparc/nbsd64.mh: New file. |
| 6373 | * config/sparc/nbsd64.mt: New file. |
| 6374 | * config/sparc/nbsdaout.mh (NATDEPFILES): Remove corelow.o, |
| 6375 | sparc-nat.o, and solib.o. Add sparcnbsd-nat.o. |
| 6376 | (HOST_IPC): Remove. |
| 6377 | * config/sparc/nbsdaout.mt: Remove. |
| 6378 | * config/sparc/nbsdelf.mh (NATDEPFILES): Remove corelow.o, |
| 6379 | sparc-nat.o, and solib.o. Add sparcnbsd-nat.o. |
| 6380 | (HOST_IPC): Remove. |
| 6381 | * config/sparc/nbsdelf.mt: Remove. |
| 6382 | * config/sparc/nm-nbsd.h: Update copyright years. Remove all |
| 6383 | sparc-nat.c compatiblity defines. |
| 6384 | * config/sparc/tm-nbsd.h: Update copyright years. Include solib.h. |
| 6385 | (GDB_MULTI_ARCH): Set to GDB_MULTI_ARCH_PARTIAL. |
| 6386 | * config/sparc/tm-nbsd64.h: New file. |
| 6387 | * config/sparc/tm-nbsdaout.h: Remove. |
| 6388 | * config/sparc/xm-nbsd.h: Remove. |
| 6389 | |
| 6390 | 2002-05-30 Jason Thorpe <thorpej@wasabisystems.com> |
| 6391 | |
| 6392 | * Makefile.in (sparc-tdep.o): Add osabi.h to dependency list. |
| 6393 | * sparc-tdep.c: Include osabi.h. |
| 6394 | (gdbarch_tdep): Add osabi member. |
| 6395 | (_initialize_sparc_tdep): Use gdbarch_register. |
| 6396 | (sparc_gdbarch_init): Use generic OS ABI framework. |
| 6397 | (sparc_dump_tdep): New function. |
| 6398 | |
| 6399 | 2002-05-30 Kevin Buettner <kevinb@redhat.com> |
| 6400 | |
| 6401 | * corefile.c (do_captured_read_memory_integer): Return non-zero |
| 6402 | result. |
| 6403 | (safe_read_memory_integer): Copy result of memory read when |
| 6404 | status is non-zero. Also, add comments. |
| 6405 | |
| 6406 | 2002-05-20 Jason Thorpe <thorpej@wasabisystems.com> |
| 6407 | |
| 6408 | * Makefile.in (ppc_tdep_h): Define. |
| 6409 | (ppc-linux-nat.o) |
| 6410 | (ppc-linux-tdep.o) |
| 6411 | (rs6000-tdep.o): Use $(ppc_tdep_h). |
| 6412 | (ppc-sysv-tdep.o) |
| 6413 | (ppcnbsd-nat.o) |
| 6414 | (ppcnbsd-tdep.o): New dependency lists. |
| 6415 | * ppc-tdep.h: Use generic OS ABI framework. |
| 6416 | * ppc-linux-tdep.c (_initialize_ppc_linux_tdep) |
| 6417 | (ppc_linux_init_abi): New functions. |
| 6418 | (ppc_sysv_abi_broken_use_struct_convention) |
| 6419 | (ppc_sysv_abi_use_struct_convention) |
| 6420 | (ppc_sysv_abi_push_arguments): Move to... |
| 6421 | * ppc-sysv-tdep.c: ...here. |
| 6422 | * ppcnbsd-nat.c: Don't include gdbcore.h and regcache.h. |
| 6423 | * rs6000-tdep.c (process_note_abi_tag_sections) |
| 6424 | (get_elfosabi): Remove. |
| 6425 | (rs6000_gdbarch_init): Use generic OS ABI framework. |
| 6426 | (rs6000_dump_tdep): New function. |
| 6427 | (_initialize_rs6000_tdep): Use gdbarch_register. |
| 6428 | * config/powerpc/linux.mt (TDEPFILES): Add ppc-sysv-tdep.o. |
| 6429 | * config/powerpc/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. |
| 6430 | * config/powerpc/aix.mt (TDEPFILES): Use ppc-sysv-tdep.o instead |
| 6431 | of ppc-linux-tdep.o. |
| 6432 | * config/powerpc/nbsd.mt (TDEPFILES): Likewise. |
| 6433 | * config/powerpc/ppc-eabi.mt (TDEPFILES): Likewise. |
| 6434 | * config/powerpc/ppc-sim.mt (TDEPFILES): Likewise. |
| 6435 | * config/powerpc/ppcle-eabi.mt (TDEPFILES): Likewise. |
| 6436 | * config/powerpc/ppcle-sim.mt (TDEPFILES): Likewise. |
| 6437 | * config/powerpc/vxworks.mt (TDEPFILES): Likewise. |
| 6438 | |
| 6439 | 2002-05-29 Jim Blandy <jimb@redhat.com> |
| 6440 | |
| 6441 | * macroscope.c (default_macro_scope): Put `void' in empty argument |
| 6442 | list. |
| 6443 | |
| 6444 | 2002-05-29 Andrew Cagney <ac131313@redhat.com> |
| 6445 | |
| 6446 | * Makefile.in (arch-utils.o): Add $(sim_regno_h). |
| 6447 | * arch-utils.c: Include "sim-regno.h". |
| 6448 | * gdbarch.sh: Don't include "sim-regno.h". |
| 6449 | * gdbarch.h, gdbarch.c: Regenerate. |
| 6450 | * sim-regno.h (legacy_register_sim_regno): Move declaration from |
| 6451 | here. |
| 6452 | * arch-utils.h (legacy_register_sim_regno): To here. |
| 6453 | * remote-sim.c (legacy_register_sim_regno): Move function from |
| 6454 | here. |
| 6455 | * arch-utils.c (legacy_register_sim_regno): To here. |
| 6456 | |
| 6457 | 2002-05-28 Andrew Cagney <ac131313@redhat.com> |
| 6458 | |
| 6459 | * sim-regno.h: New file. |
| 6460 | * Makefile.in (sim_regno_h): Define. |
| 6461 | (d10v-tdep.o, remote-sim.o): Add dependency on $(sim_regno_h). |
| 6462 | * remote-sim.c: Include "sim-regno.h" and "gdb_assert.h". |
| 6463 | (legacy_register_sim_regno): New function. |
| 6464 | (one2one_register_sim_regno): New function. |
| 6465 | (gdbsim_fetch_register): Rewrite. |
| 6466 | (gdbsim_store_register): Only store a register when |
| 6467 | REGISTER_SIM_REGNO is valid. |
| 6468 | * d10v-tdep.c: Include "sim-regno.h". |
| 6469 | (d10v_ts2_register_sim_regno): Add legacy_regiter_sim_regno check. |
| 6470 | (d10v_ts3_register_sim_regno): Ditto. |
| 6471 | * gdbarch.sh: Include "sim-regno.h". |
| 6472 | (REGISTER_SIM_REGNO): Set default to legacy_register_sim_regno. |
| 6473 | * gdbarch.h, gdbarch.c: Regenerate. |
| 6474 | * arch-utils.h (default_register_sim_regno): Delete declaration. |
| 6475 | * arch-utils.c (default_register_sim_regno): Delete function. |
| 6476 | |
| 6477 | 2002-05-28 Jason Thorpe <thorpej@wasabisystems.com> |
| 6478 | |
| 6479 | * ppcnbsd-nat.c: Rewrite. |
| 6480 | * ppcnbsd-tdep.c: New file. |
| 6481 | * ppcnbsd-tdep.h: New file. |
| 6482 | * config/powerpc/nbsd.mh (NATDEPFILES): Remove corelow.o, |
| 6483 | solib.o, and solib-svr4.o. |
| 6484 | * config/powerpc/nbsd.mt (TDEPFILES): Add ppcnbsd-tdep.o, |
| 6485 | nbsd-tdep.o, and corelow.o. |
| 6486 | |
| 6487 | 2002-05-28 Andrew Cagney <ac131313@redhat.com> |
| 6488 | |
| 6489 | * MAINTAINERS (--enable-gdb-build-warnings): Rewrite script to use |
| 6490 | `tr' and `sed'. Mention that `broken' targets are not expected to |
| 6491 | build. |
| 6492 | |
| 6493 | 2002-05-27 Michal Ludvig <mludvig@suse.cz> |
| 6494 | |
| 6495 | * x86-64-tdep.c (x86_64_skip_prologue): Remove obsolete note. |
| 6496 | Let PC point right after the prologue before looking up symbols. |
| 6497 | |
| 6498 | 2002-05-27 Martin M. Hunt <hunt@redhat.com> |
| 6499 | |
| 6500 | * i386-tdep.c (i386_register_virtual_type): Return |
| 6501 | builtin_type_vec128i for SSE registers. |
| 6502 | |
| 6503 | * gdbtypes.h (builtin_type_vec128i): Declare. |
| 6504 | |
| 6505 | * gdbtypes.c (build_builtin_type_vec128i): New function. |
| 6506 | (builtin_type_v2_double, builtin_type_v4_int64): New types. |
| 6507 | (builtin_type_vec128i): New type for SSE2 128-bit registers. |
| 6508 | (build_gdbtypes): Initialize new builtin vector types. |
| 6509 | (_initialize_gdbtypes): Register new vector types with gdbarch. |
| 6510 | |
| 6511 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
| 6512 | |
| 6513 | * MAINTAINERS: ns32k is not longer an obsolete candidate, |
| 6514 | since it has been multi-arch'd. |
| 6515 | * NEWS: Note that ns32k-*-* is now partial multi-arch. |
| 6516 | Move Alpha and VAX multi-arch news entries to same section |
| 6517 | as other multi-arch news. |
| 6518 | |
| 6519 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
| 6520 | |
| 6521 | * ns32k-tdep.c: include gdbtypes.h, inferior.h, regcache.h, |
| 6522 | target.s, arch-utils.h, ns32k-tdep.h. Make many functions |
| 6523 | static. Rename some register numbers to put them in ns32k-tdep |
| 6524 | private namespace. |
| 6525 | (ns32k_get_saved_register, ns32k_gdbarch_init_32082, |
| 6526 | ns32k_gdbarch_init_32382, ns32k_gdbarch_init, ns32k_dump_tdep): New |
| 6527 | functions. |
| 6528 | (_initialize_ns32k_tdep): Use gdbarch_register. |
| 6529 | * ns32k-tdep.h: New file. |
| 6530 | * ns32knbsd-tdep.c: New file. |
| 6531 | * config/ns32k/nbsdaout.mt (TDEPFILES): Add ns32knbsd-tdep.o. |
| 6532 | * config/ns32k/tm-nbsd.h: Include "ns32k/tm-ns32k.h". |
| 6533 | (IN_SOLIB_CALL_TRAMPOLINE, REGISTER_NAME, NUM_REGS, |
| 6534 | REGISTER_BYTES, REGISTER_BYTE): Remove. |
| 6535 | * config/ns32k/tm-ns32k.h: New file. |
| 6536 | * config/ns32k/tm-umax.h: Remove. |
| 6537 | |
| 6538 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
| 6539 | |
| 6540 | * ns32k-tdep.c (ns32k_saved_pc_after_call, |
| 6541 | ns32k_store_struct_return, ns32k_extract_return_value, |
| 6542 | ns32k_store_return_value, ns32k_extract_struct_value_address): New |
| 6543 | functions. |
| 6544 | * config/ns32k/tm-umax.h (SAVED_PC_AFTER_CALL): Define as |
| 6545 | ns32k_saved_pc_after_call. |
| 6546 | (STORE_STRUCT_RETURN): Define as ns32k_store_struct_return. |
| 6547 | (EXTRACT_RETURN_VALUE): Define as ns32k_extract_return_value. |
| 6548 | (STORE_RETURN_VALUE): Define as ns32k_store_return_value. |
| 6549 | (EXTRACT_STRUCT_VALUE_ADDRESS): Define as |
| 6550 | ns32k_extract_struct_value_address. |
| 6551 | |
| 6552 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
| 6553 | |
| 6554 | * ns32k-tdep.c (ns32k_call_dummy_words, sizeof_ns32k_call_dummy_words, |
| 6555 | ns32k_fix_call_dummy): New. |
| 6556 | * config/ns32k/tm-umax.h (CALL_DUMMY_WORDS): Define as |
| 6557 | ns32k_call_dummy_words. |
| 6558 | (SIZEOF_CALL_DUMMY_WORDS): Define as sizeof_ns32k_call_dummy_words. |
| 6559 | (CALL_DUMMY, CALL_DUMMY_LENGTH, CALL_DUMMY_ADDR, |
| 6560 | CALL_DUMMY_NARGS): Remove. |
| 6561 | (FIX_CALL_DUMMY): Define as ns32k_fix_call_dummy. |
| 6562 | |
| 6563 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
| 6564 | |
| 6565 | * ns32k-tdep.c (ns32k_breakpoint_from_pc, ns32k_frame_chain, |
| 6566 | ns32k_frame_saved_pc, ns32k_frame_args_address, |
| 6567 | ns32k_frame_locals_address, ns32k_frame_init_saved_regs, |
| 6568 | ns32k_push_dummy_frame, ns32k_pop_frame): New functions. |
| 6569 | * config/ns32k/tm-nbsd.h (FRAME_SAVED_PC): Remove. |
| 6570 | * config/ns32k/tm-umax.h (INNER_THAN): Define as core_addr_lessthan. |
| 6571 | (BREAKPOINT_FROM_PC): Define as ns32k_breakpoint_from_pc. |
| 6572 | (BREAKPOINT): Remove.. |
| 6573 | (FRAME_CHAIN): Define as ns32k_frame_chain. |
| 6574 | (FRAME_SAVED_PC): Define as ns32k_frame_saved_pc. |
| 6575 | (FRAME_ARGS_ADDRESS): Define as ns32k_frame_args_address. |
| 6576 | (FRAME_LOCALS_ADDRESS): Define as ns32k_frame_locals_address. |
| 6577 | (FRAME_FIND_SAVED_REGS): Remove. |
| 6578 | (FRAME_INIT_SAVED_REGS): Define as ns32k_frame_init_saved_regs. |
| 6579 | (PUSH_DUMMY_FRAME): Define as ns32k_push_dummy_frame. |
| 6580 | (POP_FRAME): Define as ns32k_pop_frame. |
| 6581 | |
| 6582 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
| 6583 | |
| 6584 | * ns32k-tdep.c (ns32k_register_byte_32082, |
| 6585 | ns32k_register_byte_32382, ns32k_register_raw_size, |
| 6586 | ns32k_register_virtual_size, ns32k_register_virtual_type): New |
| 6587 | functions. |
| 6588 | * config/ns32k/tm-nbsd.h (REGISTER_BYTE): Define as |
| 6589 | ns32k_register_byte_32382. |
| 6590 | * config/ns32k/tm-umax.h: Update copyright years. |
| 6591 | (REGISTER_BYTE): Define as ns32k_register_byte_32082. |
| 6592 | (REGISTER_RAW_SIZE): Define as ns32k_register_raw_size. |
| 6593 | (REGISTER_VIRTUAL_SIZE): Define as ns32k_register_virtual_size. |
| 6594 | (REGISTER_VIRTUAL_TYPE): Define as ns32k_register_virtual_type. |
| 6595 | (ns32k_get_enter_addr): Fix prototype. |
| 6596 | |
| 6597 | 2002-05-26 Jason Thorpe <thorpej@wasabisystems.com> |
| 6598 | |
| 6599 | * ns32k-tdep.c: Update copyright years. |
| 6600 | (ns32k_register_name_32082): New function. |
| 6601 | (ns32k_register_name_32382): Ditto. |
| 6602 | * config/ns32k/tm-nbsd.h (REGISTER_NAMES): Remove. |
| 6603 | (REGISTER_NAME): Define as ns32k_register_name_32382. |
| 6604 | * config/ns32k/tm-umax.h (REGISTER_NAMES): Remove. |
| 6605 | (REGISTER_NAME): Define as ns32k_register_name_32082. |
| 6606 | |
| 6607 | 2002-05-24 Jim Blandy <jimb@redhat.com> |
| 6608 | |
| 6609 | * dwarf2read.c (free_line_header): Use xfree, not free. |
| 6610 | |
| 6611 | 2002-05-24 Jason Thorpe <thorpej@wasabisystems.com> |
| 6612 | |
| 6613 | * config/djgpp/fnchange.lst: Add alphabsd-nat.c, |
| 6614 | alphabsd-tdep.c, mipsnbsd-nat.c, and mipsnbsd-tdep.c |
| 6615 | |
| 6616 | 2002-05-23 Andrew Cagney <ac131313@redhat.com> |
| 6617 | |
| 6618 | * PROBLEMS: Mention s390 and FreeBSD 4.4 build problems. |
| 6619 | |
| 6620 | 2002-05-23 Andrew Cagney <ac131313@redhat.com> |
| 6621 | |
| 6622 | From Ross Alexander at NEC Europe: |
| 6623 | * config/pa/hpux11w.mh (NATDEPFILES): Add solib.o. |
| 6624 | |
| 6625 | 2002-05-23 Michael Snyder <msnyder@redhat.com> |
| 6626 | |
| 6627 | * cli/cli-dump.c (restore_command): Use parse_and_eval_long |
| 6628 | for input, rather than parse_and_eval_address. |
| 6629 | |
| 6630 | 2002-05-23 Andrew Cagney <ac131313@redhat.com> |
| 6631 | |
| 6632 | * d10v-tdep.c: Include "gdb/sim-d10v.h" instead of "sim-d10v.h". |
| 6633 | * Makefile.in (sim_d10v_h): Update definition. |
| 6634 | |
| 6635 | 2002-05-24 Andrew Cagney <cagney@redhat.com> |
| 6636 | |
| 6637 | * d10v-tdep.c (d10v_gdbarch_init): Revert old code included in |
| 6638 | change `2002-05-22 Michael Snyder' below. |
| 6639 | (d10v_push_arguments): Ditto. |
| 6640 | (d10v_extract_return_value): Ditto. |
| 6641 | |
| 6642 | 2002-05-23 Jim Blandy <jimb@redhat.com> |
| 6643 | |
| 6644 | * macrotab.c (check_for_redefinition): Don't complain if the new |
| 6645 | definition is the same as the previous one. Take more arguments |
| 6646 | to allow the comparison. |
| 6647 | (macro_define_object, macro_define_function): Pass more arguments |
| 6648 | to check_for_redefinition. |
| 6649 | |
| 6650 | 2002-05-22 Michael Snyder <msnyder@redhat.com> |
| 6651 | |
| 6652 | * d10v-tdep.c: Change a few macros to enums for ease of debugging. |
| 6653 | (d10v_frame_chain_valid): Add PC_IN_CALL_DUMMY clause. |
| 6654 | (d10v_frame_saved_pc): Add PC_IN_CALL_DUMMY clause. |
| 6655 | (d10v_frame_chain): Bail immediately if PC_IN_CALL_DUMMY. |
| 6656 | Don't bail if return_pc is PC_IN_CALL_DUMMY. |
| 6657 | Add a temp variable to save a call (and a memory read). |
| 6658 | (d10v_init_extra_frame_info): Get fi->pc from callee's return_pc |
| 6659 | if possible (so that PC_IN_CALL_DUMMY will work). |
| 6660 | |
| 6661 | 2002-05-22 Corinna Vinschen <vinschen@redhat.com> |
| 6662 | |
| 6663 | * MAINTAINERS: Remove status `OBSOLETE' from v850. |
| 6664 | |
| 6665 | 2002-05-22 Michal Ludvig <mludvig@suse.cz> |
| 6666 | |
| 6667 | * dwarf2cfi.c (frame_state_for): Added safety check for a valid |
| 6668 | fde->cie_ptr. |
| 6669 | (dwarf2_build_frame_info): Corrected handling of eh_frame. |
| 6670 | (dwarf2_build_frame_info): Add offset to fde->initial_location |
| 6671 | so that frames of shared libraries are mapped correctly. |
| 6672 | (execute_stack_op): Change type of 'result' from ULONGEST to |
| 6673 | CORE_ADDR. |
| 6674 | |
| 6675 | 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com> |
| 6676 | |
| 6677 | * config/alpha/tm-nbsd.h: Include solib.h. |
| 6678 | |
| 6679 | 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com> |
| 6680 | |
| 6681 | * alphanbsd-tdep.c (alphanbsd_sigtramp_offset): Don't make |
| 6682 | assumptions about the host's byte order. |
| 6683 | |
| 6684 | 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com> |
| 6685 | |
| 6686 | * Makefile.in (alphanbsd-tdep.o, shnbsd-tdep.o): Add solib-svr4.h |
| 6687 | to dependency list. |
| 6688 | * alphanbsd-tdep.c: Include solib-svr4.h. |
| 6689 | * shnbsd-tdep.c: Ditto. |
| 6690 | |
| 6691 | 2002-05-22 Jason Thorpe <thorpej@wasabisystems.com> |
| 6692 | |
| 6693 | * Makefile.in (armnbsd-tdep.o): Add solib-svr4.h and |
| 6694 | nbsd-tdep.h to dependency list. |
| 6695 | * configure.host (arm*-*-netbsdelf*, arm*-*-netbsd*, |
| 6696 | i[3456]86-*-netbsdaout*, i[3456]86-*-netbsd*, m68*-*-netbsd*, |
| 6697 | ns32k-*-netbsd*, sparc-*-netbsdaout*, sparc-*-netbsd*): Use |
| 6698 | nbsdaout.mh and nbsdelf.mh consistently. |
| 6699 | * configure.tgt (i[3456]86-*-netbsd*, m68*-*-netbsd*, |
| 6700 | ns32k-*-netbsd*, sparc-*-netbsdelf*, sparc-*-netbsd*) Use |
| 6701 | nbsdaout.mt and nbsdelf.mh consistently. |
| 6702 | * armnbsd-tdep.c: Include nbsd-tdep.h and solib-svr4.h. |
| 6703 | (arm_netbsd_elf_init_abi): Use set_solib_svr4_fetch_link_map_offsets |
| 6704 | to set nbsd_ilp32_solib_svr4_fetch_link_map_offsets. |
| 6705 | * config/nm-nbsd.h: Garbage-collect SVR4_SHARED_LIBS. Move |
| 6706 | a.out shared library stuff from here... |
| 6707 | * config/nm-nbsdaout.h: ...to here. |
| 6708 | * config/tm-nbsd.h: Remove. |
| 6709 | * config/alpha/nm-nbsd.h (SVR4_SHARED_LIBS): Remove. |
| 6710 | * config/arm/nbsd.mh: Remove. |
| 6711 | * config/arm/nbsd.mt (TDEPFILES): Remove solib-sunos.o, add |
| 6712 | nbsd-tdep.o. |
| 6713 | * config/arm/nbsdaout.mh: New file. |
| 6714 | * config/arm/nbsdelf.mh: New file. |
| 6715 | * config/arm/nm-nbsdaout.h: New file. |
| 6716 | * config/i386/nbsd.mh: Remove. |
| 6717 | * config/i386/nbsd.mt: Remove. |
| 6718 | * config/i386/nbsdaout.mh: New file. |
| 6719 | * config/i386/nbsdaout.mt: New file. |
| 6720 | * config/i386/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. |
| 6721 | * config/i386/nbsdelf.mt (TM_FILE): Use tm-nbsd.h. |
| 6722 | * config/i386/nm-nbsd.h (REGISTER_U_ADDR, |
| 6723 | i386_register_u_addr): Remove. |
| 6724 | * config/i386/nm-nbsdaout.h: New file. |
| 6725 | * config/i386/nm-nbsdelf.h: Remove. |
| 6726 | * config/i386/tm-nbsd.h: Don't include config/tm-nbsd.h. |
| 6727 | (USE_STRUCT_CONVENTION): Remove. |
| 6728 | * config/i386/tm-nbsdaout.h: New file. |
| 6729 | * config/i386/tm-nbsdelf.h: Remove. |
| 6730 | * config/m68k/nbsd.mh: Remove. |
| 6731 | * config/m68k/nbsd.mt: Remove. |
| 6732 | * config/m68k/nbsdaout.mh: New file. |
| 6733 | * config/m68k/nbsdaout.mt: New file. |
| 6734 | * config/m68k/nm-nbsd.h: Use config/nm-nbsd.h. |
| 6735 | * config/m68k/nm-nbsdaout.h: New file. |
| 6736 | * config/m68k/tm-nbsd.h: Don't include config/tm-nbsd.h. |
| 6737 | (IN_SOLIB_CALL_TRAMPOLINE): Define. |
| 6738 | * config/ns32k/nbsd.mh: Remove. |
| 6739 | * config/ns32k/nbsd.mt: Remove. |
| 6740 | * config/ns32k/nbsdaout.mh: New file. |
| 6741 | * config/ns32k/nbsdaout.mt: New file. |
| 6742 | * config/ns32k/nm-nbsd.h: Include config/nm-nbsd.h. |
| 6743 | * config/ns32k/nm-nbsdaout.h: New file. |
| 6744 | * config/ns32k/tm-nbsd.h: Don't include config/tm-nbsd.h. |
| 6745 | (IN_SOLIB_CALL_TRAMPOLINE): Define. |
| 6746 | * config/powerpc/nm-nbsd.h: Include config/nm-nbsd.h. |
| 6747 | (SVR4_SHARED_LIBS): Remove. |
| 6748 | * config/powerpc/tm-nbsd.h: Dont' include config/tm-nbsd.h. |
| 6749 | * config/sparc/nbsd.mh: Remove. |
| 6750 | * config/sparc/nbsd.mt: Remove. |
| 6751 | * config/sparc/nbsdaout.mh: New file. |
| 6752 | * config/sparc/nbsdaout.mt: New file. |
| 6753 | * config/sparc/nbsdelf.mh (NAT_FILE): Use nm-nbsd.h. |
| 6754 | * config/sparc/nbsdelf.mt: New file. |
| 6755 | * config/sparc/nm-nbsdaout.h: New file. |
| 6756 | * config/sparc/nm-nbsdelf.h: Remove. |
| 6757 | * config/sparc/tm-nbsd.h: Don't include config/tm-nbsd.h. |
| 6758 | * config/sparc/tm-nbsdaout.h: New file. |
| 6759 | |
| 6760 | 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
| 6761 | |
| 6762 | * Makefile.in (ALLDEPFILES): Add mipsnbsd-nat.c and |
| 6763 | mipsnbsd-tdep.c |
| 6764 | (mipsnbsd-nat.o, mipsnbsd-tdep.o): New dependency lists. |
| 6765 | |
| 6766 | 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
| 6767 | |
| 6768 | * Makefile.in (ALLDEPFILES): Add shnbsd-tdep.c and |
| 6769 | shnbsd-nat.c. |
| 6770 | (shnbsd-tdep.o, shnbsd-nat.o): New dependency lists. |
| 6771 | |
| 6772 | 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
| 6773 | |
| 6774 | * NEWS: Note new MIPS NetBSD native configuration. |
| 6775 | * configure.host (mips*-*-netbsd*): New host. |
| 6776 | * configure.tgt (mips*-*-netbsd*): New target. |
| 6777 | * mipsnbsd-nat.c: New file. |
| 6778 | * mipsnbsd-tdep.c: New file. |
| 6779 | * mipsnbsd-tdep.h: New file. |
| 6780 | * config/mips/nbsd.mh: New file. |
| 6781 | * config/mips/nbsd.mt: New file. |
| 6782 | * config/mips/nm-nbsd.h: New file. |
| 6783 | * config/mips/tm-nbsd.h: New file. |
| 6784 | |
| 6785 | 2002-05-21 Jason Thorpe <thorpej@wasabisystems.com> |
| 6786 | |
| 6787 | * Makefile.in (SFILES): Add osabi.c. |
| 6788 | (COMMON_OBS): Add osabi.o. |
| 6789 | (osabi.o): New dependency list. |
| 6790 | * osabi.c: New file. |
| 6791 | * osabi.h: New file. |
| 6792 | * doc/gdbint.texinfo: Document new generic OS ABI framework. |
| 6793 | |
| 6794 | * Makefile.in (alpha_tdep_h): Define and use instead of |
| 6795 | alpha-tdep.h. |
| 6796 | * alpha-tdep.c (alpha_abi_names, process_note_abi_tag_sections, |
| 6797 | get_elfosabi, alpha_abi_handler_list, alpha_gdbarch_register_os_abi): |
| 6798 | Remove. |
| 6799 | (alpha_gdbarch_init, alpha_dump_tdep): Use generic OS ABI framework. |
| 6800 | * alpha-tdep.h: Include osabi.h. |
| 6801 | (alpha_abi): Remove. |
| 6802 | (gdbarch_tdep): Use generic OS ABI framework. |
| 6803 | * alpha-linux-tdep.c (_initialize_alpha_linux_tdep): Use |
| 6804 | gdbarch_register_osabi. |
| 6805 | * alpha-osf1-tdep.c (_initialize_alpha_osf1_tdep): Likewise. |
| 6806 | * alphafbsd-tdep.c (_initialize_alphafbsd_tdep): Likewise. |
| 6807 | * alphanbsd-tdep.c (_initialize_alphanbsd_tdep): Likewise. |
| 6808 | |
| 6809 | * Makefile.in (sh_tdep_h): Add osabi.h. |
| 6810 | * sh-tdep.h (sh_osabi): Remove. |
| 6811 | (gdbarch_tdep): Use generic OS ABI framework. |
| 6812 | * sh-tdep.c (sh_osabi_names, process_note_abi_tag_sections, |
| 6813 | sh_osabi_handler_list, sh_gdbarch_register_os_abi): Remove. |
| 6814 | (sh_gdbarch_init, sh_dump_tdep): Use generic OS ABI framework. |
| 6815 | * shnbsd-tdep.c (_initialize_shnbsd_tdep): Use gdbarch_register_osabi. |
| 6816 | |
| 6817 | * Makefile.in (arm_tdep_h): Define and use instead of arm-tdep.h. |
| 6818 | * arm-linux-tdep.c (_initialize_arm_linux_tdep): Use |
| 6819 | gdbarch_register_osabi. |
| 6820 | * arm-tdep.c (arm_abi_names, process_note_abi_tag_sections, |
| 6821 | arm_abi_handler_list, arm_gdbarch_register_os_abi): Remove. |
| 6822 | (get_elfosabi): Rename to... |
| 6823 | (arm_elf_osabi_sniffer): ...this. Adjust to use generic OS |
| 6824 | ABI framework support routines. |
| 6825 | (arm_gdbarch_init): Use generic OS ABI framework. |
| 6826 | (arm_dump_tdep): Likewise. |
| 6827 | (_initialize_arm_tdep): Likewise. |
| 6828 | * arm-tdep.h: Include osabi.h. |
| 6829 | (arm_abi): Remove. |
| 6830 | (gdbarch_tdep): Remove arm_abi and abi_name members. Add |
| 6831 | osabi member. |
| 6832 | (arm_gdbarch_register_os_abi): Remove prototype. |
| 6833 | * armnbsd-tdep.c (arm_netbsd_aout_osabi_sniffer): New function. |
| 6834 | (_initialize_arm_netbsd_tdep): Use gdbarch_register_osabi. |
| 6835 | |
| 6836 | * Makefile.in (mips-tdep.o): Add osabi.h to dependency list. |
| 6837 | * mips-tdep.c: Include osabi.h. |
| 6838 | (gdbarch_tdep, mips_gdbarch_init, mips_dump_tdep): Use generic |
| 6839 | OS ABI framework. |
| 6840 | |
| 6841 | 2002-05-20 Kazu Hirata <kazu@cs.umass.edu> |
| 6842 | |
| 6843 | * h8300-tdep.c: Fix formatting. |
| 6844 | |
| 6845 | 2002-05-20 Elena Zannoni <ezannoni@redhat.com> |
| 6846 | |
| 6847 | * rs6000-tdep.c (rs6000_do_registers_info): Simplify code for |
| 6848 | printing vector registers. |
| 6849 | |
| 6850 | 2002-05-19 Andrew Cagney <ac131313@redhat.com> |
| 6851 | |
| 6852 | From Fernando Nasser: |
| 6853 | * remote.c (remote_async_open_1): Re-throw the exception when the |
| 6854 | connection fails. |
| 6855 | (remote_cisco_open): Ditto. |
| 6856 | (remote_open_1): Ditto. |
| 6857 | |
| 6858 | 2002-05-19 Andrew Cagney <ac131313@redhat.com> |
| 6859 | |
| 6860 | * remote.c (remote_start_remote_dummy): Add uiout parameter. |
| 6861 | (remote_start_remote): Add uiout parameter. Pass through to |
| 6862 | remote_start_remote_dummy. |
| 6863 | (remote_open_1): Use catch_exception instead of catch_errors. |
| 6864 | (remote_async_open_1): Ditto. |
| 6865 | (remote_cisco_open): Ditto. |
| 6866 | |
| 6867 | 2002-05-19 Andrew Cagney <ac131313@redhat.com> |
| 6868 | |
| 6869 | * remote.c (remote_start_remote): Replace PTR with void pointer. |
| 6870 | (sigint_remote_twice_token, sigint_remote_token): Ditto. Make |
| 6871 | static. |
| 6872 | |
| 6873 | 2002-05-18 Andrew Cagney <ac131313@redhat.com> |
| 6874 | |
| 6875 | * gdb_indent.sh: Allow the script to be run in the sim directory. |
| 6876 | |
| 6877 | 2002-05-18 Mark Kettenis <kettenis@gnu.org> |
| 6878 | |
| 6879 | * config/i386/nm-cygwin.h (NO_PTRACE_H): Remove define. |
| 6880 | * config/i386/nm-go32.h (NO_PTRACE_H): Remove define. |
| 6881 | |
| 6882 | * corelow.c (core_open): Only call set_gdbarch_from_file if |
| 6883 | exec_bfd is NULL. |
| 6884 | |
| 6885 | 2002-05-17 Andrey Volkov <avolkov@transas.com> |
| 6886 | |
| 6887 | * h8300-tdep.c: Add support of EXR register |
| 6888 | * config/h8300/tm-h8300.h: Ditto. |
| 6889 | |
| 6890 | 2002-05-17 Andrey Volkov <avolkov@transas.com> |
| 6891 | |
| 6892 | * h8300-tdep.c: Add additional CCR flags (I,UI,H,U) |
| 6893 | |
| 6894 | 2002-05-17 Andrey Volkov <avolkov@transas.com> |
| 6895 | |
| 6896 | * h8300-tdep.c: Change literal regnums to REGNO. |
| 6897 | |
| 6898 | 2002-05-17 Jim Blandy <jimb@redhat.com> |
| 6899 | |
| 6900 | * NEWS: Note addition of macro support. |
| 6901 | |
| 6902 | Expand preprocessor macros in C expressions. |
| 6903 | * c-lang.h: #include "macroexp.h", for macro_lookup_ftype. |
| 6904 | (scan_macro_expansion, scanning_macro_expansion, |
| 6905 | finished_macro_expansion): New function declarations. |
| 6906 | (expression_macro_lookup_func, expression_macro_lookup_baton): New |
| 6907 | variable declarations. |
| 6908 | * parser-defs.h (expression_context_pc): New declaration. |
| 6909 | * parse.c (expression_context_pc): New variable. |
| 6910 | (parse_exp_1): Set expression_context_pc, as well as |
| 6911 | expression_context_block. |
| 6912 | * c-exp.y (yylex): If we're not already reading the result of a |
| 6913 | macro expansion, try to macro-expand the next token. When we're |
| 6914 | done scanning a macro expansion, switch back to the mainline text. |
| 6915 | Commas and `if's in a macro's expansion don't terminate the input. |
| 6916 | * c-lang.c: #include "macroscope.h" and "gdb_assert.h". |
| 6917 | (macro_original_text, macro_expanded_text, |
| 6918 | expression_macro_lookup_func, expression_macro_lookup_baton): New |
| 6919 | variables. |
| 6920 | (scan_macro_expansion, scanning_macro_expansion, |
| 6921 | finished_macro_expansion, scan_macro_cleanup, null_macro_lookup, |
| 6922 | c_preprocess_and_parse): New functions. |
| 6923 | (c_language_defn, cplus_language_defn, asm_language_defn): Call |
| 6924 | c_preprocess_and_parse, instead of c_parse. |
| 6925 | * Makefile.in (c_lang_h): Note that this #includes macroexp.h. |
| 6926 | (c-lang.o): Note dependency on macroscope.h and gdb_assert.h. |
| 6927 | |
| 6928 | Fri May 17 14:26:19 2002 J"orn Rennecke <joern.rennecke@superh.com> |
| 6929 | |
| 6930 | * sh-tdep.c (gdb_print_insn_sh64): Delete. |
| 6931 | (gdb_print_insn_sh): Just set info->endian and use print_insn_sh. |
| 6932 | (sh_gdbarch_init): Always use gdb_print_insn_sh. |
| 6933 | |
| 6934 | 2002-05-17 Corinna Vinschen <vinschen@redhat.com> |
| 6935 | |
| 6936 | * NEWS: Add section for multi-arched targets. Add v850 to that section. |
| 6937 | |
| 6938 | 2002-05-17 Jason Thorpe <thorpej@wasabisystems.com> |
| 6939 | |
| 6940 | * Makefile.in (sh_tdep_h): Define and use. |
| 6941 | * config/sh/tm-sh.h (sh_osabi, sh_abi, gdbarch_tdep, |
| 6942 | register enum): Move to... |
| 6943 | * * sh-tdep.h: ...here. |
| 6944 | * sh-tdep.c: Include sh-tdep.h. |
| 6945 | * sh3-rom.c: Likewise. |
| 6946 | * shnbsd-tdep.c: Likewise. |
| 6947 | |
| 6948 | 2002-05-16 Michael Snyder <msnyder@redhat.com> |
| 6949 | |
| 6950 | * arm-tdep.c: Spelling fix in comment. |
| 6951 | |
| 6952 | 2002-05-16 Jim Blandy <jimb@redhat.com> |
| 6953 | |
| 6954 | Add commands for manually expanding macros and showing their |
| 6955 | definitions. |
| 6956 | * macrocmd.c, macroscope.c, macroscope.h: New files. |
| 6957 | * Makefile.in (SFILES): Add macrocmd.c, macroscope.c. |
| 6958 | (macroscope_h): New variable. |
| 6959 | (HFILES_NO_SRCDIR): Add macroscope.h. |
| 6960 | (COMMON_OBS): Add macrocmd.o, macroscope.o. |
| 6961 | (macroscope.o, macrocmd.o): New rules. |
| 6962 | |
| 6963 | Teach the Dwarf 2 reader to read macro information. |
| 6964 | * dwarf2read.c: #include "macrotab.h". |
| 6965 | (dwarf_macinfo_buffer): New variable. |
| 6966 | (struct dwarf2_pinfo): New members: dwarf_macinfo_buffer, and |
| 6967 | dwarf_macinfo_size. |
| 6968 | (DWARF_MACINFO_BUFFER, DWARF_MACINFO_SIZE): New macros. |
| 6969 | (dwarf2_missing_macinfo_section, dwarf2_macros_too_long, |
| 6970 | dwarf2_macros_not_terminated, dwarf2_macro_outside_file, |
| 6971 | dwarf2_macro_unmatched_end_file, dwarf2_macro_malformed_definition, |
| 6972 | dwarf2_macro_spaces_in_definition): New complaints. |
| 6973 | (dwarf2_has_info): Initialize dwarf_macinfo_offset. |
| 6974 | (dwarf2_build_psymtabs): Read the .dwarf_macinfo section. |
| 6975 | (dwarf2_build_psymtabs_hard): Record the buffer and its size in |
| 6976 | the partial symbol table. |
| 6977 | (psymtab_to_symtab_1): Set the macinfo buffer and size globals |
| 6978 | from what's recorded in the partial symbol table. |
| 6979 | (read_file_scope): If the compilation unit has a |
| 6980 | `DW_AT_macro_info' attribute, read its macro information. |
| 6981 | * Makefile.in (dwarf2read.o): Depend on macrotab.h. |
| 6982 | |
| 6983 | 2002-05-16 Daniel Jacobowitz <drow@mvista.com> |
| 6984 | |
| 6985 | Fix PR gdb/546 |
| 6986 | * ser-tcp.c: Don't include <netinet/udp.h>. |
| 6987 | |
| 6988 | 2002-05-16 Stephane Carrez <stcarrez@nerim.fr> |
| 6989 | |
| 6990 | * MAINTAINERS: Update my email address. |
| 6991 | |
| 6992 | 2002-05-16 Richard Earnshaw <rearnsha@arm.com> |
| 6993 | |
| 6994 | * config/arm/nm-nbsd.h: Use "config/nm-nbsd.h" to include generic |
| 6995 | include file of the same name. |
| 6996 | |
| 6997 | 2002-05-16 Corinna Vinschen <vinschen@redhat.com> |
| 6998 | |
| 6999 | * configure.tgt: Mark v850 as multi-arched. |
| 7000 | * config/v850/tm-v850.h: Remove file. |
| 7001 | * config/v850/v850.mt: Eliminate TM_FILE. |
| 7002 | |
| 7003 | 2002-05-16 Corinna Vinschen <vinschen@redhat.com> |
| 7004 | |
| 7005 | * v850-tdep.c: Full multi-arch. |
| 7006 | * config/v850/tm-v850.h: Eliminate or move to v850-tdep.c everything. |
| 7007 | Define GDB_MULTI_ARCH to 2. |
| 7008 | |
| 7009 | 2002-05-16 Pierre Muller <muller@ics.u-strasbg.fr> |
| 7010 | |
| 7011 | * p-exp.y (current_type): New static variable. |
| 7012 | Carries the type of the expression at the position that is parsed. |
| 7013 | (push_current_type, pop_current_type): Two new functions. Used |
| 7014 | to store/restore current_type in expression on specific tokens. |
| 7015 | (search_field): New static variable. Set to one after parsing a point |
| 7016 | as at that point only a FIELDNAME token should be searched. |
| 7017 | (FIELDNAME): New token. After a point only a token belonging to |
| 7018 | current_type type definition is allowed. |
| 7019 | (all over token rules): reset and change current_type according |
| 7020 | to rules. |
| 7021 | (exp '[' rule): insert implicit array index field if |
| 7022 | exp is a pascal string type. |
| 7023 | |
| 7024 | 2002-05-16 Corinna Vinschen <vinschen@redhat.com> |
| 7025 | |
| 7026 | * v850-tdep.c: Fix comment for v850_scan_prologue. Remove extra |
| 7027 | frame info. Use frame_info's saved_regs instead of matching member |
| 7028 | in extra_frame_info throughout. |
| 7029 | (v850_frame_init_saved_regs): New function. |
| 7030 | (v850_init_extra_frame_info): Move most functionality into |
| 7031 | v850_frame_init_saved_regs(). |
| 7032 | * config/v850/tm-v850.h (EXTRA_FRAME_INFO): Remove definition. |
| 7033 | (v850_frame_find_saved_regs): Remove declaration. |
| 7034 | (FRAME_FIND_SAVED_REGS): Remove definition. |
| 7035 | (v850_frame_init_saved_regs): Add declaration. |
| 7036 | (FRAME_INIT_SAVED_REGS): Add definition. |
| 7037 | |
| 7038 | 2002-05-16 Corinna Vinschen <vinschen@redhat.com> |
| 7039 | |
| 7040 | * v850-tdep.c: Begin multi-arch'ing v850. |
| 7041 | (v850_target_architecture_hook): Remove function. |
| 7042 | (v850_gdbarch_init): New function. Add code previously in |
| 7043 | v850_target_architecture_hook(). |
| 7044 | (_initialize_v850_tdep): Don't set target_architecture_hook. |
| 7045 | Call register_gdbarch_init() instead. |
| 7046 | |
| 7047 | 2002-05-16 Daniel Jacobowitz <drow@mvista.com> |
| 7048 | |
| 7049 | * gdbtypes.h (struct cplus_struct_type): Remove args field. |
| 7050 | * hpread.c (hpread_read_struct_type): Remove assignments to args. |
| 7051 | (fixup_class_method_type): Likewise. |
| 7052 | |
| 7053 | 2002-05-15 Jim Blandy <jimb@redhat.com> |
| 7054 | |
| 7055 | Add macro structures to GDB's symbol tables. Nobody puts anything |
| 7056 | in them yet. |
| 7057 | * symtab.h (struct symtab): New member: `macro_table'. |
| 7058 | * buildsym.h (pending_macros): New global variable. |
| 7059 | * buildsym.c: #include "macrotab.h". |
| 7060 | (buildsym_init): Initialize `pending_macros'. |
| 7061 | (end_symtab): If we found macro information while reading a CU's |
| 7062 | debugging info, do build a symtab structure for it. Make the |
| 7063 | symtab point to the macro information, and clear the |
| 7064 | `pending_macros' pointer which held it while we were reading the |
| 7065 | debug info. |
| 7066 | (really_free_pendings): Free any pending macro table. |
| 7067 | * objfiles.h (struct objfile): New member: `macro_cache'. |
| 7068 | * objfiles.c (allocate_objfile): Set allocate and free functions |
| 7069 | for the macro cache's objstack. |
| 7070 | (free_objfile): Empty the macro cache's obstack. |
| 7071 | * symfile.c (reread_symbols): Empty the macro cache's obstack, and |
| 7072 | set new allocate and free functions for it. |
| 7073 | * solib-sunos.c (allocate_rt_common_objfile): Set allocate and |
| 7074 | free functions for the macro cache's objstack. (Why is this |
| 7075 | function building its own objfile?) |
| 7076 | * symmisc.c (print_objfile_statistics): Print statistics on the |
| 7077 | macro bcache. |
| 7078 | * Makefile.in: Note that buildsym.o depends on macrotab.h. |
| 7079 | |
| 7080 | 2002-05-15 Richard Earnshaw <rearnsha@arm.com> |
| 7081 | |
| 7082 | * config/arm/nm-nbsd.h: Use <> for include of config/nm-nbsd.h. |
| 7083 | (REGISTER_U_ADDR): Delete definition. |
| 7084 | (arm_register_u_addr): Delete declaration. |
| 7085 | |
| 7086 | 2002-05-15 Richard Earnshaw <rearnsha@arm.com> |
| 7087 | |
| 7088 | * arm-linux-tdep.c (ARM_LINUX_JB_PC): Renamed from JB_PC. |
| 7089 | (ARM_LINUX_JB_ELEMENT_SIZE): Likewise. |
| 7090 | |
| 7091 | 2002-05-14 Andrew Cagney <ac131313@redhat.com> |
| 7092 | |
| 7093 | * regcache.c (register_valid): Revise comments refering to "Not |
| 7094 | available" and "unavailable". |
| 7095 | * frame.c (frame_register_read): Ditto. |
| 7096 | * findvar.c (value_of_register): Ditto. |
| 7097 | |
| 7098 | 2002-05-15 Andrew Cagney <cagney@redhat.com> |
| 7099 | |
| 7100 | * Makefile.in (remote_sim_h): Replace remote-sim_h. |
| 7101 | (remote-sim.o): Update dependencies. |
| 7102 | (d10v-tdep.o): Specify dependencies. |
| 7103 | (sim_d10v_h): Define. |
| 7104 | |
| 7105 | 2002-05-14 Jim Blandy <jimb@redhat.com> |
| 7106 | |
| 7107 | * macroexp.c (init_buffer, gather_arguments, expand): Use NULL, not 0. |
| 7108 | * macrotab.c (macro_lookup_inclusion, find_definition, |
| 7109 | new_macro_table): Same. |
| 7110 | |
| 7111 | * macroexp.c (currently_rescanning, expand): Use `strcmp () == 0', |
| 7112 | not `! strcmp ()'. This is a dubious improvement. |
| 7113 | * macrotab.c (macro_lookup_inclusion, find_definition): Same. |
| 7114 | |
| 7115 | * macrotab.c (macro_lookup_inclusion): Initialize `best_depth', |
| 7116 | although it's not necessary, to avoid a warning. |
| 7117 | |
| 7118 | 2002-05-14 Daniel Jacobowitz <drow@mvista.com> |
| 7119 | |
| 7120 | * gdbtypes.h: Update accessor macros to use TYPE_MAIN_TYPE. |
| 7121 | (TYPE_CONST, TYPE_VOLATILE, TYPE_CODE_SPACE, TYPE_DATA_SPACE): Use |
| 7122 | TYPE_INSTANCE_FLAGS. |
| 7123 | (struct main_type): New. |
| 7124 | (struct type): Move most members to struct main_type. Change |
| 7125 | cv_type and as_type to new type_chain member. Add instance_flags. |
| 7126 | (TYPE_MAIN_TYPE, TYPE_CHAIN, TYPE_INSTANCE_FLAGS): New macros. |
| 7127 | (TYPE_CV_TYPE, TYPE_AS_TYPE): Remove. |
| 7128 | (finish_cv_type): Remove prototype. |
| 7129 | * gdbtypes.c (alloc_type): Update comment. Allocate TYPE_MAIN_TYPE. |
| 7130 | Set TYPE_CHAIN. |
| 7131 | (alloc_type_instance): New function. |
| 7132 | (smash_type): New function. |
| 7133 | (make_pointer_type, make_reference_type, make_function_type) |
| 7134 | (smash_to_member_type, smash_to_method_type): Call smash_type. |
| 7135 | (make_qualified_type): New function. |
| 7136 | (make_type_with_address_space): Call make_qualified_type. |
| 7137 | (make_cv_type): Likewise. |
| 7138 | (finish_cv_type): Remove unnecessary function. |
| 7139 | (replace_type): Update comment. Copy TYPE_MAIN_TYPE. |
| 7140 | (recursive_dump_type): Dump TYPE_CHAIN and TYPE_INSTANCE_FLAGS; |
| 7141 | remove TYPE_CV_TYPE and TYPE_AS_TYPE. |
| 7142 | * c-typeprint.c (c_type_print_modifier): Use TYPE_INSTANCE_FLAGS. |
| 7143 | * dwarf2read.c (read_structure_scope): Don't call finish_cv_type. |
| 7144 | * hpread.c (hpread_read_struct_type): Likewise. |
| 7145 | * stabsread.c (read_struct_type): Likewise. |
| 7146 | |
| 7147 | 2002-05-14 Elena Zannoni <ezannoni@redhat.com> |
| 7148 | |
| 7149 | * configure.tgt: Add a catch all sh* target, for cases like |
| 7150 | sh[2,3,4]-elf and sh-hms. |
| 7151 | |
| 7152 | 2002-05-14 Keith Seitz <keiths@redhat.com> |
| 7153 | |
| 7154 | * event-loop.c (create_file_handler): Don't do anything but |
| 7155 | update data when we are given a fd which we are already |
| 7156 | monitoring. |
| 7157 | |
| 7158 | 2002-05-14 Michal Ludvig <mludvig@suse.cz> |
| 7159 | |
| 7160 | * dwarf2cfi.c (context_cpy): Copy registers correctly. |
| 7161 | (update_context): Use __func__ in warnings. |
| 7162 | |
| 7163 | 2002-05-14 Daniel Jacobowitz <drow@mvista.com> |
| 7164 | |
| 7165 | * ser-tcp.c: Include <netinet/udp.h>. Rename tcp_open |
| 7166 | and tcp_close to net_open and net_close. |
| 7167 | (net_open): Accept "udp:" and "tcp:" specifications. Connect |
| 7168 | using UDP if requested. Don't try to disable Nagle on UDP |
| 7169 | sockets. |
| 7170 | * remote.c (remote_serial_open): New function. Warn about UDP. |
| 7171 | (remote_open_1, remote_async_open_1, remote_cisco_open): Call it. |
| 7172 | |
| 7173 | 2002-05-13 Elena Zannoni <ezannoni@redhat.com> |
| 7174 | |
| 7175 | * MAINTAINERS: List sh-elf as buildable with ,-Werror. |
| 7176 | |
| 7177 | 2002-05-13 Elena Zannoni <ezannoni@redhat.com> |
| 7178 | |
| 7179 | * configure.tgt: Remove sh-hms target. |
| 7180 | * MAINTAINERS: Don't list sh-hms as a separate target. |
| 7181 | |
| 7182 | 2002-05-13 Jim Blandy <jimb@redhat.com> |
| 7183 | |
| 7184 | Add first preprocessor macro-expansion files. |
| 7185 | * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files. |
| 7186 | * Makefile.in (SFILES): Add macrotab.c, macroexp.c. |
| 7187 | (splay_tree_h, macroexp_h, macrotab_h): New variable. |
| 7188 | (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h. |
| 7189 | (COMMON_OBS): Add macrotab.o, macroexp.o. |
| 7190 | (macroexp.o, macrotab.o): New rules. |
| 7191 | |
| 7192 | 2002-05-13 Andrew Cagney <ac131313@redhat.com> |
| 7193 | |
| 7194 | * config/m88k/tm-m88k.h: Update copyright. |
| 7195 | (m88k_target_write_pc): Declare |
| 7196 | (TARGET_WRITE_PC): Redefine using m88k_target_write_pc. |
| 7197 | (M88K_NNPC_REGNUM): Rename NNPC_REGNUM. |
| 7198 | (SHIFT_INST_REGS): Update definition. |
| 7199 | * m88k-tdep.c (m88k_target_write_pc): New function. Implement |
| 7200 | using old definition of TARGET_WRITE_PC. |
| 7201 | * regcache.c (generic_target_write_pc): Delete code handling |
| 7202 | NNPC_REGNUM. |
| 7203 | * gdbarch.sh (NNPC_REGNUM): Delete. |
| 7204 | * gdbarch.h, gdbarch.c: Regenerate. |
| 7205 | |
| 7206 | 2002-05-13 Richard Earnshaw <rearnsha@arm.com> |
| 7207 | |
| 7208 | * builtin-regs.c (value_of_builtin_reg): Correctly calculate the |
| 7209 | builtin reg number. |
| 7210 | |
| 7211 | 2002-05-13 Daniel Jacobowitz <drow@mvista.com> |
| 7212 | |
| 7213 | * ax-gdb.c (gen_sign_extend, gen_fetch, gen_usual_unary) |
| 7214 | (gen_cast, gen_scale, gen_add, gen_sub, gen_binop, gen_deref) |
| 7215 | (gen_address_of, gen_struct_ref, gen_repeat): Use type |
| 7216 | access macros. |
| 7217 | * c-typeprint.c (cp_type_print_method_args): Likewise. |
| 7218 | (c_type_print_args): Likewise. |
| 7219 | * d10v-tdep.c (d10v_push_arguments): Likewise. |
| 7220 | (d10v_extract_return_value): Likewise. |
| 7221 | * expprint.c (print_subexp): Likewise. |
| 7222 | * gdbtypes.c (lookup_primitive_typename): Likewise. |
| 7223 | (lookup_template_type, add_mangled_type, print_arg_types): Likewise. |
| 7224 | * gdbtypes.h (TYPE_UNSIGNED, TYPE_NOSIGN, TYPE_STUB) |
| 7225 | (TYPE_TARGET_STUB, TYPE_STATIC, TYPE_CONST, TYPE_VOLATILE) |
| 7226 | (TYPE_PROTOTYPED, TYPE_INCOMPLETE, TYPE_CODE_SPACE, TYPE_VARARGS) |
| 7227 | (TYPE_VECTOR): Likewise. |
| 7228 | * hpread.c (hpread_read_struct_type) |
| 7229 | (fix_static_member_physnames, fixup_class_method_type) |
| 7230 | (hpread_type_lookup): Likewise. |
| 7231 | * mdebugread.c (parse_symbol, parse_type): Likewise. |
| 7232 | * p-lang.c (is_pascal_string_type): Likewise. |
| 7233 | * valops.c (hand_function_call): Likewise. |
| 7234 | * x86-64-tdep.c (classify_argument): Likewise. |
| 7235 | |
| 7236 | * hpread.c (hpread_read_function_type) |
| 7237 | (hpread_read_doc_function_type): Call replace_type. |
| 7238 | * dstread.c (create_new_type): Delete. |
| 7239 | (decode_dst_structure, process_dst_function): Call alloc_type. |
| 7240 | Use type access macros. |
| 7241 | |
| 7242 | 2002-05-12 Mark Kettenis <kettenis@gnu.org> |
| 7243 | |
| 7244 | * i387-tdep.c (i387_supply_fxsave): Skip the SSE registers if |
| 7245 | the're not supported by the current architecture. |
| 7246 | (i387_fill_fxsave): Likewise. |
| 7247 | |
| 7248 | 2002-05-12 Fred Fish <fnf@redhat.com> |
| 7249 | |
| 7250 | * symfile.c (default_symfile_offsets): Arrange for uninitialized |
| 7251 | sect_index_xxx members to index the first slot in section_offsets |
| 7252 | if all of the section_offsets are zero. |
| 7253 | |
| 7254 | 2002-05-12 Mark Kettenis <kettenis@gnu.org> |
| 7255 | |
| 7256 | * configure.tgt (sparc-*openbsd): Remove entry accidentially |
| 7257 | checked in with last change. |
| 7258 | |
| 7259 | 2002-05-12 Mark Kettenis <kettenis@gnu.org> |
| 7260 | |
| 7261 | * configure.tgt (i[3456]86-*-unixware*, i[3456]86-*-unixware2*): |
| 7262 | Remove targets. These are canonicalized to i386-*-sysv4.2uw by |
| 7263 | config.sub. |
| 7264 | |
| 7265 | 2002-05-12 Daniel Jacobowitz <drow@mvista.com> |
| 7266 | |
| 7267 | * Makefile.in: Update dependencies. |
| 7268 | |
| 7269 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
| 7270 | |
| 7271 | * language.c (local_hex_string_custom): Simplify. Do not depend |
| 7272 | on PRINTF_HAS_LONG_LONG or CC_HAS_LONG_LONG. |
| 7273 | |
| 7274 | * memattr.c (mem_info_command): Replace calls to |
| 7275 | longest_local_hex_string and longest_local_hex_string_custom. |
| 7276 | * buildsym.c (make_blockvector): Ditto. |
| 7277 | * solib.c (info_sharedlibrary_command): Ditto. |
| 7278 | * tracepoint.c (tracepoints_info): Ditto. |
| 7279 | * symtab.c (print_msymbol_info): Ditto. |
| 7280 | |
| 7281 | * language.c (local_hex_string): Delete. |
| 7282 | (local_hex_string_custom): Delete. |
| 7283 | (longest_local_hex_string): Rename to local_hex_string. |
| 7284 | (longest_local_hex_string_custom): Rename to |
| 7285 | local_hex_string_custom. |
| 7286 | * language.h (local_hex_string): Change parameter type to LONGEST. |
| 7287 | (local_hex_string_custom): Ditto. |
| 7288 | (longest_local_hex_string): Delete declaration. |
| 7289 | (longest_local_hex_string_custom): Ditto. |
| 7290 | |
| 7291 | * solib.c: Update copyright. |
| 7292 | * memattr.c: Update copyright. |
| 7293 | |
| 7294 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
| 7295 | |
| 7296 | * arch-utils.h (legacy_register_to_value): Declare. |
| 7297 | (legacy_value_to_register): Declare. |
| 7298 | (legacy_convert_register_p): Declare. |
| 7299 | * arch-utils.c (legacy_register_to_value): New function. |
| 7300 | (legacy_value_to_register): New function. |
| 7301 | (legacy_convert_register_p): New function. |
| 7302 | |
| 7303 | * gdbarch.sh (REGISTER_TO_VALUE): Define. |
| 7304 | (VALUE_TO_REGISTER): Define. |
| 7305 | (CONVERT_REGISTER_P): Define. |
| 7306 | * gdbarch.h, gdbarch.c: Regenerate. |
| 7307 | |
| 7308 | * valops.c (value_assign): Use CONVERT_REGISTER_P and |
| 7309 | VALUE_TO_REGISTER. |
| 7310 | * findvar.c (value_from_register): Use REGISTER_TO_VALUE and |
| 7311 | CONVERT_REGISTER_P. |
| 7312 | |
| 7313 | 2005-05-11 Daniel Jacobowitz <drow@mvista.com> |
| 7314 | Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
| 7315 | |
| 7316 | * Makefile.in: Update dependencies for valops.c. |
| 7317 | * valops.c: Include "gdb_assert.h". |
| 7318 | (typecmp): Skip THIS parameter to methods. |
| 7319 | (find_method_list): Remove static_memfuncp argument, |
| 7320 | update callers. Check for stub methods. |
| 7321 | (find_value_oload_method_list): Don't set *static_memfuncp. |
| 7322 | (find_overload_match): Don't check for stub methods. Assert |
| 7323 | that methods are not stubbed. Handle static methods. |
| 7324 | (value_find_oload_method_list): Remove static_memfuncp argument. |
| 7325 | * gdbtypes.c (check_stub_method): Do not add THIS pointer |
| 7326 | to the argument list for static stub methods. |
| 7327 | * value.h (value_find_oload_method_list): Update prototype. |
| 7328 | |
| 7329 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
| 7330 | |
| 7331 | * arch-utils.h (generic_register_size): Declare. |
| 7332 | (generic_register_raw_size, generic_register_virtual_size): Delete |
| 7333 | declarations. |
| 7334 | * arch-utils.c (generic_register_raw_size): Delete. |
| 7335 | (generic_register_size): New function. |
| 7336 | (generic_register_virtual_size): Delete. |
| 7337 | |
| 7338 | * gdbarch.sh (REGISTER_RAW_SIZE, REGISTER_VIRTUAL_SIZE): Make |
| 7339 | default generic_register_size. |
| 7340 | * gdbarch.h, gdbarch.c: Re-generate. |
| 7341 | |
| 7342 | * d10v-tdep.c (d10v_gdbarch_init): Use generic_register_size for |
| 7343 | register_virtual_size. |
| 7344 | * x86-64-tdep.c (x86_64_gdbarch_init): Ditto. |
| 7345 | * rs6000-tdep.c (rs6000_gdbarch_init): Ditto. |
| 7346 | |
| 7347 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
| 7348 | |
| 7349 | * gdbarch.sh (gdbarch_data): Add gdbarch parameter. |
| 7350 | * gdbarch.h, gdbarch.c: Regenerate. |
| 7351 | * gnu-v3-abi.c: Update copyright. |
| 7352 | (vtable_address_point_offset): Update. |
| 7353 | (gnuv3_rtti_type): Update. |
| 7354 | (gnuv3_baseclass_offset): Update. |
| 7355 | * solib-svr4.c (svr4_fetch_link_map_offsets): Update. |
| 7356 | (init_fetch_link_map_offsets): Update. |
| 7357 | * remote.c (get_remote_state): Update. |
| 7358 | |
| 7359 | 2002-05-11 Daniel Jacobowitz <drow@mvista.com> |
| 7360 | |
| 7361 | * TODO: Remove value_headof/value_from_vtable_info comment. |
| 7362 | * printcmd.c (print_command_1): Don't call value_from_vtable_info. |
| 7363 | * values.c (value_headof, value_from_vtable_info): Delete. |
| 7364 | * value.h (value_from_vtable_info): Delete prototype. |
| 7365 | |
| 7366 | 2002-05-11 Andrew Cagney <ac131313@redhat.com> |
| 7367 | |
| 7368 | * Makefile.in: Replace gdb_assert.h with $(gdb_assert_h), |
| 7369 | gdb_string.h with $(gdb_string_h) and gdb_regex.h with |
| 7370 | $(gdb_regex_h). |
| 7371 | (gdb_assert_h): Define. |
| 7372 | (gdb_wait_h): Define. |
| 7373 | (gdb_regex_h): Define. |
| 7374 | |
| 7375 | 2002-05-11 Daniel Jacobowitz <drow@mvista.com> |
| 7376 | |
| 7377 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>: |
| 7378 | * linespec.c (find_methods): Handle GCC 3.x template constructors. |
| 7379 | |
| 7380 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
| 7381 | |
| 7382 | * nbsd-tdep.c: Fix comment. |
| 7383 | |
| 7384 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
| 7385 | |
| 7386 | * Makefile.in (ALLDEPFILES): Add nbsd-tdep.c. |
| 7387 | (alphanbsd-tdep.o): Add nbsd-tdep.h to dependency list. |
| 7388 | (nbsd-tdep.o): New dependency list. |
| 7389 | * alphanbsd-tdep.c: Don't include solib-svr4.h. Include |
| 7390 | nbsd-tdep.h. |
| 7391 | (alphanbsd_solib_svr4_fetch_link_map_offsets): Remove. |
| 7392 | (alphanbsd_init_abi): Use nbsd_lp64_solib_svr4_fetch_link_map_offsets. |
| 7393 | * nbsd-tdep.c: New file. |
| 7394 | * nbsd-tdep.h: New file. |
| 7395 | * shnbsd-tdep.c: Don't include solib-svr4.h. Include |
| 7396 | nbsd-tdep.h. |
| 7397 | (shnbsd_solib_svr4_fetch_link_map_offsets): Remove. |
| 7398 | (shnbsd_init_abi): Use nbsd_ilp32_solib_svr4_fetch_link_map_offsets. |
| 7399 | * config/alpha/nbsd.mt (TDEPFILES): Add nbsd-tdep.o. |
| 7400 | * config/sh/nbsd.mt (TDEPFILES): Ditto. |
| 7401 | |
| 7402 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
| 7403 | |
| 7404 | * config/alpha/nbsd.mh (NATDEPFILES): Remove corelow.o. |
| 7405 | * config/alpha/nbsd.mt (TDEPFILES): Add corelow.o. |
| 7406 | * config/i386/nbsd.mh (NATDEPFILES): Remove corelow.o. |
| 7407 | * config/i386/nbsd.mt (TDEPFILES): Add corelow.o. |
| 7408 | * config/i386/nbsdelf.mh (NATDEPFILES): Remove corelow.o. |
| 7409 | * config/i386/nbsdelf.mt (TDEPFILES): Add corelow.o. |
| 7410 | |
| 7411 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
| 7412 | |
| 7413 | * config/i386/nbsd.mh (NATDEPFILES): Use line continuations. |
| 7414 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. |
| 7415 | * config/m68k/nbsd.mh (NATDEPFILES): Likewise. |
| 7416 | * config/ns32k/nbsd.mh (NATDEPFILES): Likewise. |
| 7417 | * config/powerpc/nbsd.mh (NATDEPFILES): Likewise. |
| 7418 | * config/sparc/nbsd.mh (NATDEPFILES): Likewise. |
| 7419 | * config/sparc/nbsdelf.mh (NATDEPFILES): Likewise. |
| 7420 | |
| 7421 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
| 7422 | |
| 7423 | * i386nbsd-nat.c: Delete file. Move fetch_core_registers and |
| 7424 | fetch_elfcore_registers to... |
| 7425 | * i386nbsd-tdep.c: ...here. |
| 7426 | (i386nbsd_use_struct_convention): Rename to... |
| 7427 | (i386nbsd_aout_use_struct_convention): ...this. |
| 7428 | (i386nbsd_supply_reg): New function. |
| 7429 | (i386nbsd_fill_reg): New function. |
| 7430 | (fetch_core_registers): Use i386nbsd_supply_reg. |
| 7431 | (fetch_elfcore_registers): Likewise. |
| 7432 | (_initialize_i386nbsd_tdep): New function. |
| 7433 | * config/i386/nbsd.mh (NATDEPFILES): Remove i386nbsd-nat.o. |
| 7434 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. |
| 7435 | * config/i386/nbsdelf.mt (TDEPFILES): Add i386nbsd-tdep.o. |
| 7436 | * config/i386/tm-nbsd.h (i386nbsd_use_struct_convention): Rename to... |
| 7437 | (i386nbsd_aout_use_struct_convention): ...this. |
| 7438 | |
| 7439 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
| 7440 | |
| 7441 | * shnbsd-nat.c (fetch_inferior_registers): Use shnbsd_supply_reg. |
| 7442 | (store_inferior_registers): Use shnbsd_fill_reg. |
| 7443 | * shnbsd-tdep.c (sh_nbsd_supply_registers, |
| 7444 | sh_nbsd_supply_register): Collapse into... |
| 7445 | (shnbsd_supply_reg): ...this. |
| 7446 | (sh_nbsd_fill_registers, sh_nbsd_fill_register): Collapse into... |
| 7447 | (shnbsd_fill_reg): ...this. |
| 7448 | (sh_nbsd_solib_svr4_fetch_link_map_offsets): Rename to... |
| 7449 | (shnbsd_solib_svr4_fetch_link_map_offsets): ...this. |
| 7450 | (fetch_core_registers): Use shnbsd_supply_reg. |
| 7451 | (fetch_elfcore_registers): Use shnbsd_supply_reg. |
| 7452 | (sh_nbsd_core_fns): Rename to... |
| 7453 | (shnbsd_core_fns): ...this. |
| 7454 | (sh_nbsd_elfcore_fns): Rename to... |
| 7455 | (shnbsd_elfcore_fns): ...this. |
| 7456 | (sh_nbsd_init_abi): Rename to... |
| 7457 | (shnbsd_init_abi): ...this. |
| 7458 | (_initialize_sh_nbsd_tdep): Rename to... |
| 7459 | (_initialize_shnbsd_tdep): ...this. |
| 7460 | * shnbsd-tdep.h (sh_nbsd_supply_registers, |
| 7461 | sh_nbsd_supply_register, sh_nbsd_fill_registers, |
| 7462 | sh_nbsd_fill_register): Remove prototypes. |
| 7463 | (shnbsd_supply_reg, shnbsd_fill_reg): Add prototypes. |
| 7464 | |
| 7465 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
| 7466 | |
| 7467 | * Makefile.in (ALLDEPFILES): Remove i387-nat.c. |
| 7468 | (i387-nat.o): Delete dependency list. |
| 7469 | (go32-nat.o): Change i387-nat.h to i387-tdep.h. |
| 7470 | (x86-64-linux-nat.o): Likewise. |
| 7471 | * i387-nat.c: Delete file, moving contents to... |
| 7472 | * i387-tdep.c: ...here. |
| 7473 | * i387-nat.h: Rename... |
| 7474 | * i387-tdep.h: ...to this. |
| 7475 | * go32-nat.c: Include i387-tdep.h instead of i387-nat.h. |
| 7476 | * i386-linux-nat.c: Likewise. |
| 7477 | * i386bsd-nat.c: Likewise. |
| 7478 | * i386gnu-nat.c: Likewise. |
| 7479 | * i386nbsd-nat.c: Likewise. |
| 7480 | * i386v4-nat.c: Likewise. |
| 7481 | * x86-64-linux-nat.c: Likewise. |
| 7482 | * config/i386/fbsd.mh (NATDEPFILES): Remove i387-nat.o. |
| 7483 | * config/i386/go32.mh (NATDEPFILES): Likewise. |
| 7484 | * config/i386/i386gnu.mh (NATDEPFILES): Likewise. |
| 7485 | * config/i386/i386sol2.mh (NATDEPFILES): Likewise. |
| 7486 | * config/i386/i386v42mp.mh (NATDEPFILES): Likewise. |
| 7487 | * config/i386/linux.mh (NATDEPFILES): Likewise. |
| 7488 | * config/i386/nbsd.mh (NATDEPFILES): Likewise. |
| 7489 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. |
| 7490 | * config/i386/obsd.mh (NATDEPFILES): Likewise. |
| 7491 | * config/i386/x86-64linux.mh (NATDEPFILES): Likewise. |
| 7492 | |
| 7493 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
| 7494 | |
| 7495 | * Makefile.in (ALLDEPFILES): Remove alphanbsd-nat.c. |
| 7496 | (alphanbsd-nat.o): Remove dependency list. |
| 7497 | (alphanbsd-tdep.o): Add $(regcache_h) to dependency list. |
| 7498 | * alphanbsd-nat.c: Delete. Contents moved to... |
| 7499 | * alphanbsd-tdep.c: ...here. |
| 7500 | (_initialize_alphanbsd_tdep): Register core functions. |
| 7501 | * config/alpha/nbsd.mh (NATDEPFILES): Remove alphanbsd-nat.o. |
| 7502 | |
| 7503 | 2002-05-11 Jason Thorpe <thorpej@wasabisystems.com> |
| 7504 | |
| 7505 | * Makefile.in (ALLDEPFILES): Add alphabsd-tdep.c. |
| 7506 | (alphabsd-nat.o): Depend on alphabsd-tdep.h. |
| 7507 | (alphanbsd-nat.o): Likewise. |
| 7508 | (alphabsd-tdep.o): New dependency list. |
| 7509 | * alphabsd-nat.c (supply_gregset): Use alphabsd_supply_reg. |
| 7510 | (fill_gregset): Use alphabsd_fill_reg. |
| 7511 | (supply_fpregset): Use alphabsd_supply_fpreg. |
| 7512 | (fill_fpregset): Use alphabsd_fill_fpreg. |
| 7513 | (fetch_inferior_registers): Use struct reg and struct fpreg |
| 7514 | rather than gregset_t and fpregset_t. Use alphabsd_supply_reg |
| 7515 | and alphabsd_supply_fpreg. |
| 7516 | (store_inferior_registers): Use struct reg and struct fpreg |
| 7517 | rather than gregset_t and fpregset_t. Use alphabsd_fill_reg |
| 7518 | and alphabsd_fill_fpreg. |
| 7519 | * alphabsd-tdep.c: New file. |
| 7520 | * alphabsd-tdep.h: New file. |
| 7521 | * alphanbsd-nat.c (fetch_core_registers): Use alphabsd_supply_fpreg. |
| 7522 | (fetch_elfcore_registers): Use alphabsd_supply_reg and |
| 7523 | alphabsd_supply_fpreg. |
| 7524 | * config/alpha/fbsd.mt (TDEPFILES): Add alphabsd-tdep.o. |
| 7525 | * config/alpha/nbsd.mt (TDEPFILES): Likewise. |
| 7526 | |
| 7527 | 2002-05-11 Eric Christopher <echristo@redhat.com> |
| 7528 | |
| 7529 | * mips-tdep.c (mips_double_register_type): Fix thinko. |
| 7530 | (mips_single_register_type): Ditto. |
| 7531 | * MAINTAINERS: Add self. |
| 7532 | |
| 7533 | 2002-05-11 Mark Kettenis <kettenis@gnu.org> |
| 7534 | |
| 7535 | * i387-nat.c (i387_supply_register, i387_fill_fsave, |
| 7536 | i387_supply_fxsave, i387_fill_fxsave): Rewrite in order to do the |
| 7537 | right thing on architectures with different endianness and/or |
| 7538 | integer sizes. |
| 7539 | |
| 7540 | 2002-05-10 Jason Thorpe <thorpej@wasabisystems.com> |
| 7541 | |
| 7542 | From Christian Limpach <chris@Pin.LU> |
| 7543 | * configure.in: Change sed expression which comments out |
| 7544 | NATDEPFILES to also comment out continuation lines. |
| 7545 | * configure: Regenerate. |
| 7546 | |
| 7547 | 2002-05-10 Elena Zannoni <ezannoni@redhat.com> |
| 7548 | |
| 7549 | * sh-tdep.c: Clean up code erroneously reintroduced by previous |
| 7550 | big patch. |
| 7551 | |
| 7552 | 2002-05-10 Elena Zannoni <ezannoni@redhat.com> |
| 7553 | |
| 7554 | * sh-tdep.c: Include correct file. |
| 7555 | |
| 7556 | 2002-05-10 Elena Zannoni <ezannoni@redhat.com> |
| 7557 | |
| 7558 | New support for sh64-elf (sh5) target. |
| 7559 | |
| 7560 | * configure.tgt: For sh64-elf target, default to sh-elf. |
| 7561 | |
| 7562 | * config/sh/tm-sh.h (enum sh-abi): Possible ABI's. |
| 7563 | (struct gdbarch_tdep): Add new fields for new registers and ABI |
| 7564 | info. |
| 7565 | |
| 7566 | * sh-tdep.c: Include elf-bfd.h, elf/sh.h, gdb/sim-sh.h. |
| 7567 | (NUM_PSEUDO_REGS_SH_MEDIA, NUM_PSEUDO_REGS_SH_COMPACT, |
| 7568 | MSYMBOL_IS_SPECIAL, IS_ISA32_ADDR, MAKE_ISA32_ADDR, |
| 7569 | UNMAKE_ISA32_ADDR, IS_PTABSL_R18, IS_STS_R0, IS_STS_PR, |
| 7570 | IS_MOV_TO_R15, IS_MOV_R14, IS_STQ_R18_R14, IS_STQ_R18_R15, |
| 7571 | IS_STL_R18_R15, IS_STQ_R14_R15, IS_STL_R14_R15, IS_ADDIL_SP_MEDIA, |
| 7572 | IS_ADDI_SP_MEDIA, IS_ADDL_SP_FP_MEDIA, IS_ADD_SP_FP_MEDIA, |
| 7573 | IS_MOV_SP_FP_MEDIA, IS_MOV_R0, IS_MOVL_R0, IS_ADD_SP_R0, |
| 7574 | IS_MOV_R14_R0, IS_MEDIA_IND_ARG_MOV, IS_MEDIA_ARG_MOV, |
| 7575 | IS_MEDIA_MOV_TO_R14, IS_COMPACT_IND_ARG_MOV, IS_COMPACT_ARG_MOV, |
| 7576 | IS_COMPACT_MOV_TO_R14, IS_JSR_R0, IS_NOP): New macros. |
| 7577 | (sh_sh64_register_name, sh64_elf_make_msymbol_special, |
| 7578 | pc_is_isa32, sh_sh64_breakpoint_from_pc, look_for_args_moves, |
| 7579 | sh64_skip_prologue_hard_way, sh64_use_struct_convention, |
| 7580 | gdb_print_insn_sh64, translate_insn_rn, sh64_frame_chain, |
| 7581 | sh64_get_saved_pr, fpp_reg_base_num, is_media_pseudo, |
| 7582 | sh64_get_gdb_regnum, sh64_media_reg_base_num, |
| 7583 | sh64_compact_reg_base_num, translate_rn_to_arch_reg_num, |
| 7584 | sign_extend, sh64_nofp_frame_init_saved_regs, |
| 7585 | sh64_init_extra_frame_info, sh64_get_saved_register, |
| 7586 | sh64_extract_struct_value_address, sh64_pop_frame, |
| 7587 | sh64_push_arguments, sh64_extract_return_value, |
| 7588 | sh64_store_return_value, sh64_show_media_regs, |
| 7589 | sh64_show_compact_regs, sh64_show_regs, sh_sh64_register_byte, |
| 7590 | sh_sh64_register_raw_size, sh_sh64_register_virtual_size, |
| 7591 | sh_sh64_register_virtual_type, |
| 7592 | sh_sh64_register_convert_to_virtual, |
| 7593 | sh_sh64_register_convert_to_raw, sh64_pseudo_register_read, |
| 7594 | sh64_register_read, sh64_pseudo_register_write, |
| 7595 | sh64_register_write, do_fv_c_register_info, do_dr_c_register_info, |
| 7596 | do_r_c_register_info, do_fpp_register_info, do_cr_c_register_info, |
| 7597 | sh64_do_pseudo_register, sh_compact_do_registers_info, |
| 7598 | sh64_do_registers_info, sh_gdbarch_init): New functions. |
| 7599 | |
| 7600 | 2002-05-10 Elena Zannoni <ezannoni@redhat.com> |
| 7601 | |
| 7602 | * sh-tdep.c (sh_breakpoint_from_pc): Add 'const' to return type. |
| 7603 | |
| 7604 | 2002-05-10 Daniel Jacobowitz <drow@mvista.com> |
| 7605 | |
| 7606 | * linespec.c (decode_line_1): Check for a double quote after |
| 7607 | a filename correctly. |
| 7608 | |
| 7609 | 2002-05-10 Jim Blandy <jimb@redhat.com> |
| 7610 | |
| 7611 | Properly track the size of the current objfile's .debug_line section. |
| 7612 | * dwarf2read.c (struct dwarf2_pinfo): New member: dwarf_line_size. |
| 7613 | (DWARF_LINE_SIZE): New macro. |
| 7614 | (dwarf2_build_psymtabs_hard): Record the line section's size in |
| 7615 | the partial symbol table. |
| 7616 | (psymtab_to_symtab_1): Restore dwarf_line_size from the partial |
| 7617 | symbol table. |
| 7618 | |
| 7619 | 2002-05-10 Petr Sorfa <petrs@caldera.com> |
| 7620 | |
| 7621 | * ia64-tdep.c: Handle breakpoints on L instruction type |
| 7622 | in MLX instruction bundle by moving the breakpoint to |
| 7623 | the third slot (X instruction type) as L holds only data. |
| 7624 | |
| 7625 | 2002-05-10 Kevin Buettner <kevinb@redhat.com> |
| 7626 | |
| 7627 | * dbxread.c (discarding_local_symbols_complaint): New complaint. |
| 7628 | (process_one_symbol): Complain about discarding local symbols |
| 7629 | due to a misplaced N_LBRAC entry. |
| 7630 | |
| 7631 | 2002-05-09 Elena Zannoni <ezannoni@redhat.com> |
| 7632 | |
| 7633 | From Daniel Berlin <dan@cgsoftware.com> |
| 7634 | * linespec.c (find_toplevel_char): '<' and '>' also increase and |
| 7635 | decrease the depth we are at, in the case of templates. |
| 7636 | |
| 7637 | 2002-05-09 Daniel Jacobowitz <drow@mvista.com> |
| 7638 | |
| 7639 | * mips-tdep.c (mips_float_register_type): New function. |
| 7640 | (mips_double_register_type): New function. |
| 7641 | (mips_print_register): Use them. |
| 7642 | (do_fp_register_row): Likewise. |
| 7643 | |
| 7644 | 2002-05-09 Daniel Jacobowitz <drow@mvista.com> |
| 7645 | |
| 7646 | * signals/signals.c (signals): Remove conditional compilation around |
| 7647 | Mach-specific signals. Move them to after TARGET_SIGNAL_DEFAULT. |
| 7648 | (target_signal_from_name): Loop until TARGET_SIGNAL_LAST. |
| 7649 | |
| 7650 | 2002-05-09 Michael Snyder <msnyder@redhat.com> |
| 7651 | |
| 7652 | * remote-rdp.c (remote_rdp_can_run): Remove. |
| 7653 | |
| 7654 | 2002-05-09 Tom Tromey <tromey@redhat.com> |
| 7655 | |
| 7656 | * jv-valprint.c (java_val_print): Handle `char' as a special case |
| 7657 | of TYPE_CODE_INT. |
| 7658 | |
| 7659 | 2002-05-09 Michael Snyder <msnyder@redhat.com> |
| 7660 | |
| 7661 | * arm-tdep.c (arm_scan_prologue): Accept strb r(0123),[r11,#-nn], |
| 7662 | strh r(0123),[r11,#-nn], str r(0123),[r11,#-nn], as well as |
| 7663 | strb r(0123),[sp,#nn], strh r(0123),[sp,#nn] and |
| 7664 | str r(0123),[sp,#nn]. |
| 7665 | (arm_skip_prologue): Ditto. Also make disassembly |
| 7666 | order-independent by placing it in a loop. |
| 7667 | |
| 7668 | 2002-05-06 Michael Snyder <msnyder@redhat.com> |
| 7669 | |
| 7670 | * stabsread.c (read_type): Add recognition for new attribute: |
| 7671 | "@V;" means that an array type is actually a vector. |
| 7672 | This is analogous to the vector flag that's been added to dwarf2. |
| 7673 | |
| 7674 | 2002-05-09 Mark Kettenis <kettenis@gnu.org> |
| 7675 | |
| 7676 | * i386-tdep.h (i386_abi): New enum. |
| 7677 | (struct gdbarch_tdep): Replace os_ident member with abi. |
| 7678 | (i386_gdbarch_register_os_abi): New prototype. |
| 7679 | * i386-tdep.c (i386_abi_names): New array. |
| 7680 | (process_note_abi_tag_sections): Removed. |
| 7681 | (process_note_sections): New function. |
| 7682 | (i386_elf_abi_from_note, i386_elf_abi): New functions. |
| 7683 | (struct i386_abi_handler): New struct. |
| 7684 | (i386_abi_handler_list): New variable. |
| 7685 | (i386_gdbarch_register_os_abi): New function. |
| 7686 | (i386_gdbarch_init): Adapt for the changes given above. |
| 7687 | |
| 7688 | 2002-05-08 Daniel Jacobowitz <drow@mvista.com> |
| 7689 | |
| 7690 | * gregset.h: Say "GNU/Linux". |
| 7691 | |
| 7692 | 2002-05-08 Elena Zannoni <ezannoni@redhat.com> |
| 7693 | |
| 7694 | * gdbtypes.c : Add new builtin type for 64 bit vectors. |
| 7695 | (build_gdbtypes): Build builtin_type_v2_float. |
| 7696 | (_initialize_gdbtypes): Register new builtin type. |
| 7697 | |
| 7698 | 2002-05-08 Andrew Cagney <ac131313@redhat.com> |
| 7699 | |
| 7700 | * gdbarch.sh (init_gdbarch_swap): Do not clear the swap section. |
| 7701 | (clear_gdbarch_swap): New function. |
| 7702 | (initialize_non_multiarch): Call. |
| 7703 | (gdbarch_update_p): Before calling init(), swap out and clear the |
| 7704 | existing architecture. |
| 7705 | * gdbarch.c: Regenerate. |
| 7706 | |
| 7707 | 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com> |
| 7708 | |
| 7709 | * config/djgpp/fnchange.lst: Add alphanbsd-nat.c and |
| 7710 | alphanbsd-tdep.c. |
| 7711 | |
| 7712 | 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com> |
| 7713 | |
| 7714 | * sh-nbsd-nat.c: Rename to... |
| 7715 | * shnbsd-nat.c: ...this. |
| 7716 | * sh-nbsd-tdep.c: Rename to... |
| 7717 | * shnbsd-tdep.c: ...this. |
| 7718 | * sh-nbsd-tdep.h: Rename to... |
| 7719 | * shnbsd-tdep.h: ...this. |
| 7720 | * config/sh/nbsd.mh: Use shnbsd-nat.o. |
| 7721 | * config/sh/nbsd.mt: Use shnbsd-tdep.o. |
| 7722 | |
| 7723 | 2002-05-08 Richard Earnshaw <rearnsha@arm.com> |
| 7724 | |
| 7725 | * remote-rdi.c (_initializie_remote_rdi): Use ANSI-style string |
| 7726 | concatenation for command help messages. |
| 7727 | |
| 7728 | 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com> |
| 7729 | |
| 7730 | * NEWS: Note new sh*-*-netbsdelf* configuration. |
| 7731 | * configure.host: Set gdb_host_cpu to sh for all sh*. |
| 7732 | (sh*-*-netbsdelf*): New host. |
| 7733 | * configure.tgt: Set gdb_target_cpu to sh for all sh*. |
| 7734 | (sh*-*-netbsdelf*): New target. |
| 7735 | * sh-nbsd-nat.c: New file. |
| 7736 | * sh-nbsd-tdep.c: New file. |
| 7737 | * sh-nbsd-tdep.h: New file. |
| 7738 | * config/sh/nbsd.mh: New file. |
| 7739 | * config/sh/nbsd.mt: New file. |
| 7740 | * config/sh/nm-nbsd.h: New file. |
| 7741 | * config/sh/tm-nbsd.h: New file. |
| 7742 | |
| 7743 | 2002-05-08 Jason Thorpe <thorpej@wasabisystems.com> |
| 7744 | |
| 7745 | * sh-tdep.c (sh_osabi_names): Declare. |
| 7746 | (process_note_abi_tag_sections): New function. |
| 7747 | (get_elfosabi): Ditto. |
| 7748 | (sh_gdbarch_register_os_abi): Ditto. |
| 7749 | (sh_dump_tdep): Ditto. |
| 7750 | _initialize_sh_tdep): Use gdbarch_register to register |
| 7751 | sh_gdbarch_init and sh_dump_tdep. |
| 7752 | * config/sh/tm-sh.h (sh_osabi): Declare. |
| 7753 | (gdbarch_tdep): Add sh_osabi and osabi_name members. |
| 7754 | |
| 7755 | 2002-05-07 Andrew Cagney <ac131313@redhat.com> |
| 7756 | |
| 7757 | * arm-tdep.c (arm_skip_prologue): Handle generic dummy frames. |
| 7758 | (thumb_scan_prologue): Ditto. |
| 7759 | (arm_find_callers_reg): Ditto. |
| 7760 | (arm_frame_chain): Ditto. |
| 7761 | (arm_init_extra_frame_info): Ditto. |
| 7762 | (arm_frame_saved_pc): Ditto. |
| 7763 | (arm_pop_frame): Ditto. |
| 7764 | (arm_push_return_address): New function. |
| 7765 | (arm_gdbarch_init): Initialize use_generic_dummy_frames, |
| 7766 | call_dummy_location, call_dummy_breakpoint_offset_p, |
| 7767 | call_dummy_breakpoint_offset, call_dummy_p, |
| 7768 | call_dummy_stack_adjust_p, call_dummy_words, |
| 7769 | sizeof_call_dummy_words, call_dummy_start_offset, |
| 7770 | call_dummy_length, fix_call_dummy, pc_in_call_dummy, |
| 7771 | call_dummy_address, push_return_address and push_dummy_frame for |
| 7772 | generic dummy frames. |
| 7773 | |
| 7774 | 2002-05-07 Jason Thorpe <thorpej@wasabisystems.com> |
| 7775 | |
| 7776 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Fix error in |
| 7777 | size computation for alloca. |
| 7778 | (sh_fp_frame_init_saved_regs): Likewise. |
| 7779 | |
| 7780 | 2002-05-07 Richard Earnshaw <rearnsha@arm.com> |
| 7781 | |
| 7782 | * arm-tdep.h (ARM_MAX_REGISTER_RAW_SIZE): Define. |
| 7783 | (ARM_MAX_REGISTER_VIRTUAL_SIZE): Define. |
| 7784 | * arm-tdep.c (arm_store_return_value): Use them. |
| 7785 | Use FP_REGISTER_RAW_SIZE when setting the FPA return value. |
| 7786 | * remote-rdp.c (remote_rdp_fetch_register): Use |
| 7787 | ARM_MAX_REGISTER_RAW_SIZE. |
| 7788 | (remote_rdp_store_register): Likewise. |
| 7789 | |
| 7790 | 2002-05-07 Michal Ludvig <mludvig@suse.cz> |
| 7791 | |
| 7792 | * dwarf2cfi.c: Code cleanup, removed unused variables, |
| 7793 | added default labels to switch {} statements. |
| 7794 | * x86-64-tdep.c: Ditto. |
| 7795 | * x86-64-linux-nat.c: Ditto. |
| 7796 | |
| 7797 | 2002-05-07 Jason Thorpe <thorpej@wasabisystems.com> |
| 7798 | |
| 7799 | * solib.h: Protect against multiple inclusion. |
| 7800 | |
| 7801 | 2002-05-06 Jim Blandy <jimb@redhat.com> |
| 7802 | |
| 7803 | Add first preprocessor macro-expansion files. |
| 7804 | * macroexp.c, macroexp.h, macrotab.c, macrotab.h: New files. |
| 7805 | * Makefile.in (SFILES): Add macrotab.c, macroexp.c. |
| 7806 | (splay_tree_h, macroexp_h, macrotab_h): New variable. |
| 7807 | (HFILES_NO_SRCDIR): Add macrotab.h, macroexp.h. |
| 7808 | (COMMON_OBS): Add macrotab.o, macroexp.o. |
| 7809 | (macroexp.o, macrotab.o): New rules. |
| 7810 | |
| 7811 | Separate the job of reading the line number info statement program |
| 7812 | header (...expialidocious) out into its own function. |
| 7813 | * dwarf2read.c (struct line_head, struct filenames, struct |
| 7814 | directories): Replace with... |
| 7815 | (struct line_header): New structure, containing the full |
| 7816 | contents of the statement program header, including the |
| 7817 | include directory and file name tables. |
| 7818 | (read_file_scope): If we have line number info, instead of just |
| 7819 | calling dwarf_decode_lines to do all the work, call |
| 7820 | dwarf_decode_line_header first to get a `struct line_header' |
| 7821 | containing the data in the statement program header, and then |
| 7822 | pass that to dwarf_decode_lines, which will pick up where that |
| 7823 | left off. Be sure to clean up the `struct line_header' object. |
| 7824 | (dwarf_decode_line_header, free_line_header, add_include_dir, |
| 7825 | add_file_name): New functions. |
| 7826 | (dwarf_decode_lines): Move all the code to read the statement |
| 7827 | program header into dwarf_decode_line_header. Take the line |
| 7828 | header it built as the first argument, instead of the offset to |
| 7829 | the compilation unit's line number info. Use the new `struct |
| 7830 | line_header' type instead of the old structures. No need to do |
| 7831 | cleanups here now, since we don't allocate anything. |
| 7832 | (dwarf2_statement_list_fits_in_line_number_section, |
| 7833 | dwarf2_line_header_too_long): New complaints. |
| 7834 | |
| 7835 | 2002-05-06 Elena Zannoni <ezannoni@redhat.com> |
| 7836 | |
| 7837 | * gdbtypes.c (init_vector_type): New function. |
| 7838 | (build_builtin_type_vec128): Simplify the representation of SIMD |
| 7839 | registers. |
| 7840 | (build_gdbtypes): Initialize new builtin vector types. |
| 7841 | (_initialize_gdbtypes): Register new vector types with gdbarch. |
| 7842 | (builtin_type_v4_float, builtin_type_v4_int32, |
| 7843 | builtin_type_v8_int16, builtin_type_v16_int8, |
| 7844 | builtin_type_v2_int32, builtin_type_v4_int16, |
| 7845 | builtin_type_v8_int8): New (renamed) SIMD types. |
| 7846 | |
| 7847 | 2002-05-06 Mark Kettenis <kettenis@gnu.org> |
| 7848 | |
| 7849 | * i387-nat.c (i387_fill_fsave): Use regcache_collect. |
| 7850 | (i387_fill_fxsave): Likewise. |
| 7851 | |
| 7852 | 2002-05-05 Alexandre Oliva <aoliva@redhat.com> |
| 7853 | |
| 7854 | * alpha-tdep.c (alpha_extract_return_value): Don't use |
| 7855 | non-constant array size in prototype. |
| 7856 | |
| 7857 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
| 7858 | |
| 7859 | From Brian Taylor <briant at model dot com>: |
| 7860 | * ui-out.c (ui_out_field_core_addr): Use the function |
| 7861 | longest_local_hex_string_custom'to format addresses > 32 bits |
| 7862 | wide. |
| 7863 | |
| 7864 | * ui-out.c (ui_out_field_core_addr): Update comment. |
| 7865 | |
| 7866 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
| 7867 | |
| 7868 | * stack.c (select_and_print_frame): Make static. Delete the |
| 7869 | parameter `level'. |
| 7870 | (func_command): Update call. |
| 7871 | (select_frame_command): Delete code computing the frame level. |
| 7872 | * frame.h (select_and_print_frame): Delete declaration. |
| 7873 | |
| 7874 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
| 7875 | |
| 7876 | * sparc-tdep.c (sparc_get_saved_register): Comment why |
| 7877 | get_prev_frame call is safe. |
| 7878 | |
| 7879 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
| 7880 | |
| 7881 | * frame.h (select_frame): Delete level parameter. |
| 7882 | * stack.c (select_frame): Update. Use frame_relative_level to |
| 7883 | obtain the frame's level. |
| 7884 | (select_and_print_frame): Update call. |
| 7885 | (select_frame_command): Ditto. |
| 7886 | (up_silently_base): Ditto. |
| 7887 | (down_silently_base): Ditto. |
| 7888 | * ocd.c (ocd_start_remote): Ditto. |
| 7889 | * remote-rdp.c (remote_rdp_open): Ditto. |
| 7890 | * remote-mips.c (mips_initialize): Ditto. |
| 7891 | (common_open): Ditto. |
| 7892 | * remote-e7000.c (e7000_start_remote): Ditto. |
| 7893 | * m3-nat.c (select_thread): Ditto. |
| 7894 | * hppa-tdep.c (child_get_current_exception_event): Ditto. |
| 7895 | (child_get_current_exception_event): Ditto. |
| 7896 | * varobj.c (varobj_create): Ditto. |
| 7897 | (varobj_update): Ditto. |
| 7898 | (c_value_of_root): Ditto. |
| 7899 | * tracepoint.c (finish_tfind_command): Ditto. |
| 7900 | * corelow.c (core_open): Ditto. |
| 7901 | * arch-utils.c (generic_prepare_to_proceed): Ditto. |
| 7902 | * thread.c (info_threads_command): Ditto. |
| 7903 | (switch_to_thread): Ditto. |
| 7904 | * infrun.c (normal_stop): Ditto. |
| 7905 | (restore_selected_frame): Ditto. |
| 7906 | (restore_inferior_status): Ditto. |
| 7907 | * breakpoint.c (insert_breakpoints): Ditto. |
| 7908 | (watchpoint_check): Ditto. |
| 7909 | (bpstat_stop_status): Ditto. |
| 7910 | (do_enable_breakpoint): Ditto. |
| 7911 | * blockframe.c (flush_cached_frames): Ditto. |
| 7912 | (reinit_frame_cache): Ditto. |
| 7913 | |
| 7914 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
| 7915 | |
| 7916 | * MAINTAINERS (Host/Native): Add Jason Thorpe as NetBSD |
| 7917 | maintainer. |
| 7918 | |
| 7919 | 2002-05-04 Jim Blandy <jimb@redhat.com> |
| 7920 | |
| 7921 | * gdbtypes.c (replace_type): Doc fix. |
| 7922 | |
| 7923 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
| 7924 | |
| 7925 | * valprint.c (strcat_longest): Delete commented out function. |
| 7926 | Update copyright. |
| 7927 | |
| 7928 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
| 7929 | |
| 7930 | * MAINTAINERS: Mark a29k as deleted. |
| 7931 | * NEWS: Mention that a29k was removed. Add OBSOLETE section. |
| 7932 | Move new configurations to the top. |
| 7933 | * configure.tgt: Remove a29k. |
| 7934 | * config/a29k/tm-vx29k.h: Delete. |
| 7935 | * config/a29k/vx29k.mt: Delete. |
| 7936 | * config/a29k/tm-a29k.h: Delete. |
| 7937 | * config/a29k/a29k-udi.mt: Delete. |
| 7938 | * config/a29k/a29k.mt: Delete. |
| 7939 | * a29k-tdep.c: Delete. |
| 7940 | * remote-udi.c: Delete. |
| 7941 | * remote-mm.c: Delete. |
| 7942 | * remote-eb.c: Delete. |
| 7943 | * remote-adapt.c: Delete. |
| 7944 | * Makefile.in: Remove obsolete code. |
| 7945 | * config/s390/s390x.mt: Ditto. |
| 7946 | * config/s390/s390.mt: Ditto. |
| 7947 | * config/sparc/sparclynx.mh: Ditto. |
| 7948 | * config/sparc/linux.mh: Ditto. |
| 7949 | * config/pa/hppaosf.mh: Ditto. |
| 7950 | * config/pa/hppabsd.mh: Ditto. |
| 7951 | * config/ns32k/nbsd.mt: Ditto. |
| 7952 | * config/mips/vr5000.mt: Ditto. |
| 7953 | * config/m68k/sun3os4.mh: Ditto. |
| 7954 | * config/m68k/nbsd.mt: Ditto. |
| 7955 | * config/m68k/m68klynx.mh: Ditto. |
| 7956 | * config/m32r/m32r.mt: Ditto. |
| 7957 | * config/i386/x86-64linux.mt: Ditto. |
| 7958 | * config/i386/nbsdelf.mt: Ditto. |
| 7959 | * config/i386/nbsd.mt: Ditto. |
| 7960 | * config/i386/i386lynx.mh: Ditto. |
| 7961 | |
| 7962 | 2002-05-04 Andrew Cagney <ac131313@redhat.com> |
| 7963 | |
| 7964 | * target.c (debug_print_register): New function. Handle oversize |
| 7965 | registers. |
| 7966 | (debug_to_fetch_registers): Call. |
| 7967 | (debug_to_store_registers): Call. |
| 7968 | |
| 7969 | 2002-05-03 Jim Blandy <jimb@redhat.com> |
| 7970 | |
| 7971 | * stabsread.c (cleanup_undefined_types): Use replace_type, not memcpy. |
| 7972 | (read_type): Doc fix. |
| 7973 | * gdbtypes.c (replace_type): Doc fix. |
| 7974 | |
| 7975 | * stabsread.c (multiply_defined_struct): New complaint. |
| 7976 | (read_struct_type): If the type we were passed isn't empty, or |
| 7977 | incomplete, don't read the new struct type into it; complain, |
| 7978 | and return the original type unchanged. Take a new `type_code' |
| 7979 | argument, which is the type code for the new type. |
| 7980 | (read_type): Rather than storing the type's type code here, pass |
| 7981 | it as an argument to read_struct_type, and let that take care of |
| 7982 | storing it. That way, we don't overwrite the original type code, |
| 7983 | so read_struct_type can use it to decide whether we're overwriting |
| 7984 | something we shouldn't. |
| 7985 | (complain_about_struct_wipeout): New function. |
| 7986 | |
| 7987 | 2002-05-03 Andrew Cagney <ac131313@redhat.com> |
| 7988 | |
| 7989 | * gdbarch.sh: Assert that gdbarch is non-NULL. |
| 7990 | * gdbarch.c: Regenerate. |
| 7991 | |
| 7992 | 2002-05-03 Jason Merrill <jason@redhat.com> |
| 7993 | |
| 7994 | * gnu-v3-abi.c (gnuv3_rtti_type): If we get confused, just warn |
| 7995 | and return NULL. |
| 7996 | |
| 7997 | 2002-05-03 Michal Ludvig <mludvig@suse.cz> |
| 7998 | |
| 7999 | * x86-64-tdep.c (x86_64_dwarf2gdb_regno_map), |
| 8000 | (x86_64_dwarf2gdb_regno_map_length), |
| 8001 | (x86_64_dwarf2_reg_to_regnum): Added. |
| 8002 | (x86_64_gdbarch_init): Added registration of x86_64_dwarf2_reg_to_regnum. |
| 8003 | (x86_64_gdbarch_init): Renamed from i386_gdbarch_init. |
| 8004 | (_initialize_x86_64_tdep): Synced with the change above. |
| 8005 | (x86_64_skip_prologue): Reformulated message. |
| 8006 | |
| 8007 | 2002-05-03 Pierre Muller <muller@ics.u-strasbg.fr> |
| 8008 | |
| 8009 | * f-exp.y: Also use new prev_lexptr variable |
| 8010 | to improve error reporting. Based on Michael Snyder |
| 8011 | 2002-04-24 dated patch to c-exp.y. |
| 8012 | * jv-exp.y: Likewise. |
| 8013 | * m2-exp.y: Likewise. |
| 8014 | |
| 8015 | 2002-05-02 Elena Zannoni <ezannoni@redhat.com> |
| 8016 | |
| 8017 | * valops.c (value_arg_coerce): Don't coerce arrays to pointers if |
| 8018 | we are dealing with vectors. |
| 8019 | |
| 8020 | 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr> |
| 8021 | |
| 8022 | * config/m68k/tm-nbsd.h: Obvious fix, |
| 8023 | correct machine name. |
| 8024 | |
| 8025 | 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr> |
| 8026 | |
| 8027 | * p-typeprint.c (pascal_type_print_base): Add support |
| 8028 | for TYPE_CODE_STRING and TYPE_CODE_BITSTRING. |
| 8029 | |
| 8030 | 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr> |
| 8031 | |
| 8032 | * p-lang.c (pascal_create_fundamental_type): Use TYPE_CODE_CHAR |
| 8033 | for fondamental pascal 'char' type. |
| 8034 | |
| 8035 | 2002-05-02 Pierre Muller <muller@ics.u-strasbg.fr> |
| 8036 | |
| 8037 | * p-lang.h (is_pascal_string_type): Declaration changed, |
| 8038 | new sixth argument of type char ** added. |
| 8039 | * p-lang.c (is_pascal_string_type): Implementation |
| 8040 | changed. Args length_pos, length_size, string_pos, char_size |
| 8041 | can now be NULL. New argument arrayname set to the field |
| 8042 | name of the char array. Return value set to char array |
| 8043 | field index plus one. |
| 8044 | * p-valprint.c (pascal_val_print): Adapt to new declaration of |
| 8045 | is_pascal_string_type function. |
| 8046 | |
| 8047 | 2002-05-02 Andrew Cagney <cagney@redhat.com> |
| 8048 | |
| 8049 | * gdbarch.sh (gdbarch_update_p): Revert 2002-05-02 Andrew Cagney |
| 8050 | <cagney@redhat.com> change. |
| 8051 | * gdbarch.c: Regenerate. |
| 8052 | |
| 8053 | 2002-05-02 Andrew Cagney <cagney@redhat.com> |
| 8054 | |
| 8055 | * gdbarch.sh (gdbarch_update_p): Swap out the old architecture |
| 8056 | before probing for a new one. Detect errorenous gdbarch_init |
| 8057 | functions. |
| 8058 | * gdbarch.c: Regenerate. |
| 8059 | |
| 8060 | 2002-05-01 Andrew Cagney <cagney@redhat.com> |
| 8061 | |
| 8062 | * config/mn10200/tm-mn10200.h: Include "symfile.h" and "symtab.h". |
| 8063 | * config/mcore/tm-mcore.h: Ditto. Update copyright. |
| 8064 | * config/v850/tm-v850.h: Ditto. Update copyright. |
| 8065 | |
| 8066 | 2002-04-30 Andrew Cagney <ac131313@redhat.com> |
| 8067 | |
| 8068 | * cris-tdep.c (cris_gdbarch_init): Use arches instead of |
| 8069 | current_gdbarch. |
| 8070 | |
| 8071 | 2002-04-30 Michael Snyder <msnyder@redhat.com> |
| 8072 | |
| 8073 | * arm-tdep.c: Whitespace clean-ups. |
| 8074 | (arm_skip_prologue): Fix thinko; two lines |
| 8075 | should have been removed as part of 4/24 change. |
| 8076 | |
| 8077 | 2002-04-30 Kevin Buettner <kevinb@redhat.com> |
| 8078 | |
| 8079 | * rs6000-tdep.c: Added comment describing how fpscr register |
| 8080 | numbers were chosen. |
| 8081 | |
| 8082 | 2002-04-30 Michael Snyder <msnyder@redhat.com> |
| 8083 | |
| 8084 | * gnu-nat.c (gnu_find_memory_regions): Fix merge botch. |
| 8085 | |
| 8086 | 2002-04-29 Elena Zannoni <ezannoni@redhat.com> |
| 8087 | |
| 8088 | * hpread.c (DNTT_TYPE_VECTOR): Rename from TYPE_VECTOR. |
| 8089 | (DNTT_TYPE_VECTOR_LENGTH): Rename from TYPE_VECTOR_LENGTH. |
| 8090 | (hpread_symfile_init, hpread_lookup_type): Substitute throughout. |
| 8091 | |
| 8092 | 2002-04-29 Kevin Buettner <kevinb@redhat.com> |
| 8093 | |
| 8094 | From Louis Hamilton <hamilton@redhat.com>: |
| 8095 | * rs6000-tdep.c (coff/xcoff.h, libxcoff.h): Include. |
| 8096 | * xcoffread.c (coff/xcoff.h, libxcoff.h): Likewise. |
| 8097 | * rs6000-tdep.c (rs6000_gdbarch_init): Use bfd_xcoff_is_xcoff64(), |
| 8098 | not bfd-private xcoff data, to determine wordsize. |
| 8099 | * xcoffread.c (read_xcoff_xymtab, read_symbol_lineno): Likewise. |
| 8100 | |
| 8101 | 2002-04-29 Andrew Cagney <ac131313@redhat.com> |
| 8102 | |
| 8103 | GDB 5.2 released from 5.2 branch. |
| 8104 | |
| 8105 | 2002-04-29 Michal Ludvig <mludvig@suse.cz> |
| 8106 | |
| 8107 | * x86-64-linux-nat.c (fill_gregset): Explicit cast to avoid warning. |
| 8108 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. |
| 8109 | (x86_64_register_info_table): Added comments with register numbers. |
| 8110 | |
| 8111 | 2002-04-29 Elena Zannoni <ezannoni@redhat.com> |
| 8112 | |
| 8113 | * rs6000-tdep.c (rs6000_extract_return_value, |
| 8114 | rs6000_store_return_value): Handle returning vectors. |
| 8115 | (rs6000_gdbarch_init): Use |
| 8116 | ppc_sysv_abi_broken_use_struct_convention for native sysv cases. |
| 8117 | * ppc-linux-tdep.c (ppc_sysv_abi_broken_use_struct_convention): |
| 8118 | New function. |
| 8119 | (ppc_sysv_abi_use_struct_convention): Deal with functions returning |
| 8120 | vectors. |
| 8121 | (ppc_sysv_abi_push_arguments): Handle vector parameters. |
| 8122 | * ppc-tdep.h (ppc_sysv_abi_broken_use_struct_convention): Export. |
| 8123 | |
| 8124 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
| 8125 | |
| 8126 | * hpread.c (hpread_psymtab_to_symtab_1, |
| 8127 | hpread_psymtab_to_symtab): Replace fprintf tab_to_s...) |
| 8128 | with fprintf_unfiltered (gdb_stderr,...). |
| 8129 | |
| 8130 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
| 8131 | |
| 8132 | * remote-array.c (printf_monitor, write_monitor, |
| 8133 | array_insert_breakpoint, array_remove_breakpoint ): |
| 8134 | Replace fprintf (stderr,... |
| 8135 | with fprintf_unfiltered (gdb_stderr,.... |
| 8136 | * remote-es.c: Likewise. |
| 8137 | * remote-os9k.c: Likewise. |
| 8138 | * remote-st.c: Likewise. |
| 8139 | |
| 8140 | 2002-04-28 Andreas Schwab <schwab@suse.de> |
| 8141 | |
| 8142 | * config/s390/s390.mh (NATDEPFILES): Remove solib.o, add |
| 8143 | linux-proc.o and gcore.o. |
| 8144 | |
| 8145 | 2002-04-26 Michal Ludvig <mludvig@suse.cz> |
| 8146 | |
| 8147 | * x86-64-tdep.c (x86_64_skip_prologue): Print note when debugging |
| 8148 | code without frame pointers. |
| 8149 | |
| 8150 | 2002-04-26 Andrew Cagney <ac131313@redhat.com> |
| 8151 | |
| 8152 | * sparc-tdep.c (sparc_gdbarch_init): Add comment explaining why |
| 8153 | ON_STACK is needed. |
| 8154 | |
| 8155 | 2002-04-26 Ben Elliston <bje@redhat.com> |
| 8156 | |
| 8157 | * target.c (do_xfer_memory): Correct reference to the new option |
| 8158 | "trust-readonly-sections". |
| 8159 | |
| 8160 | 2002-04-26 Elena Zannoni <ezannoni@redhat.com> |
| 8161 | |
| 8162 | * gdbtypes.h (TYPE_FLAG_VECTOR, TYPE_VECTOR): Define. |
| 8163 | * gdbtypes.c (recursive_dump_type): Output the vector flag. |
| 8164 | * dwarf2read.c (dwarf_attr_name): Handle new attribute for |
| 8165 | vectors. |
| 8166 | (read_array_type): Record the fact that this array type is really a |
| 8167 | vector (i.e. are passed in by value). |
| 8168 | |
| 8169 | 2002-04-26 Jason Thorpe <thorpej@wasabisystems.com> |
| 8170 | |
| 8171 | * alpha-tdep.h (gdbarch_tdep): Add sigcontext_addr member. |
| 8172 | * alpha-tdep.c (alpha_sigcontext_addr): New function. |
| 8173 | (alpha_find_saved_regs): Use alpha_sigcontext_addr. |
| 8174 | (alpha_gdbarch_init): Initialize tdep->sigcontext_addr. |
| 8175 | * alpha-linux-tdep.c: Include frame.h. |
| 8176 | (alpha_linux_sigcontext_addr): New function. |
| 8177 | (alpha_linux_init_abi): Set tdep->sigcontext_addr to |
| 8178 | alpha_linux_sigcontext_addr. |
| 8179 | * alpha-osf1-tdep.c: Include gdbcore.h. |
| 8180 | (alpha_osf1_sigcontext_addr): New function. |
| 8181 | (alpha_osf1_init_abi): Set tdep->sigcontext_addr to |
| 8182 | alpha_osf1_sigcontext_addr. |
| 8183 | * config/alpha/tm-alpha.h (SIGCONTEXT_ADDR): Remove. |
| 8184 | * config/alpha/tm-alphalinux.h (SIGCONTEXT_ADDR): Remove. |
| 8185 | |
| 8186 | 2002-04-26 Andrew Cagney <ac131313@redhat.com> |
| 8187 | |
| 8188 | * stack.c (selected_frame_level): |
| 8189 | (select_frame): Do not set selected_frame_level. |
| 8190 | * frame.h (selected_frame_level): Delete declaration. |
| 8191 | |
| 8192 | 2002-04-26 Andrew Cagney <ac131313@redhat.com> |
| 8193 | |
| 8194 | * rs6000-tdep.c (rs6000_gdbarch_init): Only set |
| 8195 | convert_from_func_ptr-addr when AIX / PowerOpen. |
| 8196 | |
| 8197 | 2002-04-25 Andrew Cagney <ac131313@redhat.com> |
| 8198 | |
| 8199 | * valops.c (hand_function_call): Call |
| 8200 | generic_save_call_dummy_addr. |
| 8201 | * frame.h (generic_save_call_dummy_addr): Declare. |
| 8202 | * blockframe.c (struct dummy_frame): Add fields call_lo and |
| 8203 | call_hi. |
| 8204 | (generic_find_dummy_frame): Check for PC in range call_lo to |
| 8205 | call_hi instead of entry_point_address. |
| 8206 | (generic_pc_in_call_dummy): Search the dummy frames for a PC in |
| 8207 | the call_lo to call_hi range. Allow for DECR_PC_AFTER_BREAK. |
| 8208 | (generic_save_call_dummy_addr): New function. |
| 8209 | |
| 8210 | 2002-04-24 David S. Miller <davem@redhat.com> |
| 8211 | |
| 8212 | * sparc-tdep.c (sparc_gdbarch_skip_prologue): Kill, duplicates |
| 8213 | sparc_skip_prologue. |
| 8214 | (sparc_skip_prologue): Kill frameless_p arg, and use line number |
| 8215 | information to find prologue when possible. |
| 8216 | (sparc_prologue_frameless_p): Call examine_prologue directly. |
| 8217 | (sparc_gdbarch_init): Update set_gdbarch_skip_prologue call. |
| 8218 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Update for killed |
| 8219 | second argument. |
| 8220 | (SKIP_PROLOGUE): Likewise. |
| 8221 | |
| 8222 | 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com> |
| 8223 | |
| 8224 | * alpha-tdep.c (alpha_skip_prologue_internal): Remove |
| 8225 | GDB_TARGET_HAS_SHARED_LIBS #ifdef and update comment to |
| 8226 | indicate that the condition it was testing is always true. |
| 8227 | * config/alpha/nm-linux.h (GDB_TARGET_HAS_SHARED_LIBS): Remove. |
| 8228 | * config/alpha/nm-nbsd.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. |
| 8229 | * config/alpha/nm-osf.h (GDB_TARGET_HAS_SHARED_LIBS): Ditto. |
| 8230 | |
| 8231 | 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com> |
| 8232 | |
| 8233 | * alpha-tdep.h (gdbarch_tdep): Add jb_pc and jb_elt_size members. |
| 8234 | * alpha-linux-tdep.c (alpha_linux_init_abi): Initialize |
| 8235 | tdep->jb_pc and tdep->jb_elt_size. |
| 8236 | * alpha-osf1-tdep.c (alpha_osf1_init_abi): Likewise. |
| 8237 | * alphafbsd-tdep.c (alphafbsd_init_abi): Likewise. |
| 8238 | * alphanbsd-tdep.c (alphanbsd_init_abi): Likewise. |
| 8239 | * alpha-nat.c (get_longjmp_target): Remove. |
| 8240 | (JB_ELEMENT_SIZE): Ditto. |
| 8241 | (JB_PC): Ditto. |
| 8242 | * alpha-tdep.c (alpha_get_longjmp_target): New function. |
| 8243 | (alpha_gdbarch_init): Default tdep->jb_pc to -1. If the |
| 8244 | OS ABI sets jb_pc to a valid value, set gdbarch_get_longjmp_target |
| 8245 | to alpha_get_longjmp_target. |
| 8246 | (alpha_dump_tdep): Report tdep->jb_pc and tdep->jb_elt_size. |
| 8247 | * config/alpha/nm-linux.h (GET_LONGJMP_TARGET): Remove. |
| 8248 | * config/alpha/nm-osf.h (GET_LONGJMP_TARGET): Remove. |
| 8249 | |
| 8250 | 2002-04-25 Andrew Cagney <ac131313@redhat.com> |
| 8251 | |
| 8252 | * README: Update to GDB 5.2. |
| 8253 | |
| 8254 | 2002-04-25 Andrew Cagney <ac131313@redhat.com> |
| 8255 | |
| 8256 | * gdbarch.sh (LC_ALL): Set to `c'. |
| 8257 | |
| 8258 | 2002-04-25 Theodore A. Roth <troth@verinet.com> |
| 8259 | |
| 8260 | * avr-tdep.c: Ran through gdb_indent.sh. |
| 8261 | |
| 8262 | 2002-04-25 Theodore A. Roth <troth@verinet.com> |
| 8263 | |
| 8264 | * MAINTAINERS: Add myself as AVR maintainer. |
| 8265 | * NEWS: Note new target avr. |
| 8266 | |
| 8267 | 2002-04-25 Theodore A. Roth <troth@verinet.com> |
| 8268 | |
| 8269 | * Makefile.in: Add support for AVR target. |
| 8270 | * configure.tgt: Add support for AVR target. |
| 8271 | * avr-tdep.c: New file |
| 8272 | * config/avr/avr.mt: New file. |
| 8273 | |
| 8274 | 2002-04-25 Theodore A. Roth <troth@verinet.com> |
| 8275 | |
| 8276 | * MAINTAINERS: Add myself to write-after-approval. |
| 8277 | |
| 8278 | 2002-04-24 Pierre Muller <ics.u-strasbg.fr> |
| 8279 | |
| 8280 | * f-lang.c (get_bf_for_fcn): Replace fprintf (stderr,... |
| 8281 | with fprintf_unfiltered (gdb_stderr,.... |
| 8282 | |
| 8283 | 2002-04-25 Pierre Muller <muller@ics.u-strasbg.fr> |
| 8284 | |
| 8285 | Fix PR gdb/508. |
| 8286 | * symfile.c (add_filename_language): Fix wrong xrealloc size argument. |
| 8287 | |
| 8288 | 2002-04-25 Pierre Muller <muller@ics.u-strasbg.fr> |
| 8289 | |
| 8290 | * p-exp.y: Also use new prev_lexptr variable |
| 8291 | to improve error reporting. Based on Michael Snyder |
| 8292 | 2002-04-24 dated patch to c-exp.y. |
| 8293 | |
| 8294 | 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com> |
| 8295 | |
| 8296 | * alpha-tdep.c (alpha_breakpoint_from_pc): New function. |
| 8297 | (alpha_gdbarch_init): Set gdbarch_breakpoint_from_pc to |
| 8298 | alpha_breakpoint_from_pc. Set gdbarch_function_start_offset |
| 8299 | to 0. |
| 8300 | * config/alpha/tm-alpha.h: Remove forward decls of struct type |
| 8301 | and struct value. |
| 8302 | (FUNCTION_START_OFFSET): Remove. |
| 8303 | (BREAKPOINT): Ditto. |
| 8304 | |
| 8305 | 2002-04-25 Jason Thorpe <thorpej@wasabisystems.com> |
| 8306 | |
| 8307 | * MAINTAINERS: Reflect that multi-arch is enabled for VAX. |
| 8308 | * NEWS: Ditto. |
| 8309 | |
| 8310 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
| 8311 | |
| 8312 | * alpha-linux-tdep.c (alpha_linux_pc_in_sigtramp): New function. |
| 8313 | (alpha_linux_init_abi): Set gdbarch_pc_in_sigtramp to |
| 8314 | alpha_linux_pc_in_sigtramp. |
| 8315 | * alpha-osf1-tdep.c (alpha_osf1_pc_in_sigtramp): New function. |
| 8316 | (alpha_osf1_init_abi): Set gdbarch_pc_in_sigtramp to |
| 8317 | alpha_osf1_pc_in_sigtramp. |
| 8318 | * alpha-tdep.c (alpha_osf_in_sigtramp): Remove. |
| 8319 | * alphafbsd-tdep.c (alphafbsd_pc_in_sigtramp): New function. |
| 8320 | (alphafbsd_init_abi): Set gdbarch_pc_in_sigtramp to |
| 8321 | alphafbsd_pc_in_sigtramp. |
| 8322 | * alphanbsd-tdep.c (alphanbsd_pc_in_sigtramp): New function. |
| 8323 | (alphanbsd_init_abi): Set gdbarch_pc_in_sigtramp to |
| 8324 | alphanbsd_pc_in_sigtramp. |
| 8325 | * config/alpha/tm-alpha.h (IN_SIGTRAMP): Remove. |
| 8326 | * config/alpha/tm-alphalinux.h (IN_SIGTRAMP): Remove. |
| 8327 | |
| 8328 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
| 8329 | |
| 8330 | * config/alpha/nbsd.mh (NATDEPFILES): Remove solib-legacy.o. |
| 8331 | |
| 8332 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
| 8333 | |
| 8334 | * Makefile.in (ALLDEPFILES): Add alphanbsd-nat.c and |
| 8335 | alphanbsd-tdep.c. |
| 8336 | (alphanbsd-nat.o): New dependency list. |
| 8337 | (alphanbsd-tdep.o): Ditto. |
| 8338 | * NEWS: Note new native NetBSD/alpha configuration. |
| 8339 | * alphanbsd-nat.c: New file. |
| 8340 | * alphanbsd-tdep.c: Ditto. |
| 8341 | * configure.host (alpha*-*-netbsd*): New host. |
| 8342 | * configure.tgt (alpha*-*-netbsd*): New target. |
| 8343 | * config/alpha/nbsd.mh: New file. |
| 8344 | * config/alpha/nbsd.mt: Ditto. |
| 8345 | * config/alpha/nm-nbsd.h: Ditto. |
| 8346 | * config/alpha/tm-nbsd.h: Ditto. |
| 8347 | |
| 8348 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
| 8349 | |
| 8350 | * Makefile.in (ALLDEPFILES): Add alpha-osf1-tdep.c. |
| 8351 | (alpha-osf1-tdep.o): New dependency list. |
| 8352 | * alpha-tdep.h (gdbarch_tdep): Add dynamic_sigtramp_offset |
| 8353 | and skip_sigtramp_frame members. |
| 8354 | * alpha-linux-tdep.c: Include gdbcore.h. |
| 8355 | (alpha_linux_sigtramp_offset): Change return type to LONGEST. |
| 8356 | (alpha_linux_init_abi): Initialize tdep->dynamic_sigtramp_offset. |
| 8357 | * alpha-osf1-tdep.c: New file. |
| 8358 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Moved to |
| 8359 | alpha-osf1-dep.c. |
| 8360 | (alpha_frame_past_sigtramp_frame): New function. |
| 8361 | (alpha_dynamic_sigtramp_offset): Ditto. |
| 8362 | (alpha_proc_desc_is_dyn_sigtramp): Ditto. |
| 8363 | (alpha_set_proc_desc_is_dyn_sigtramp): Ditto. |
| 8364 | (ALPHA_PROC_SIGTRAMP_MAGIC): Define. |
| 8365 | (push_sigtramp_desc): Use alpha_set_proc_desc_is_dyn_sigtramp. |
| 8366 | (after_prologue): Use alpha_proc_desc_is_dyn_sigtramp. |
| 8367 | (find_proc_desc): Use alpha_dynamic_sigtramp_offset. |
| 8368 | (alpha_frame_chain): Use alpha_frame_past_sigtramp_frame. |
| 8369 | (alpha_init_extra_frame_info): Use alpha_proc_desc_is_dyn_sigtramp. |
| 8370 | (alpha_pop_frame): Use alpha_proc_desc_is_dyn_sigtramp. |
| 8371 | (alpha_gdbarch_init): Initialize tdep->dynamic_sigtramp_offset |
| 8372 | and tdep->skip_sigtramp_frame. Set gdbarch_skip_trampoline_code |
| 8373 | to find_solib_trampoline_target. |
| 8374 | * config/alpha/alpha-osf1.mt (TDEPFILES): Add alpha-osf1-tdep.o. |
| 8375 | * config/alpha/tm-alpha.h: Remove inclusion of regcache.h. |
| 8376 | (SKIP_TRAMPOLINE_CODE): Remove. |
| 8377 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. |
| 8378 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. |
| 8379 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. |
| 8380 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. |
| 8381 | * config/alpha/tm-alphalinux.h (PROC_DESC_IS_DYN_SIGTRAMP): Remove. |
| 8382 | (PROC_SIGTRAMP_MAGIC): Ditto. |
| 8383 | (PROC_DESC_IS_DYN_SIGTRAMP): Ditto. |
| 8384 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. |
| 8385 | (SET_PROC_DESC_IS_DYN_SIGTRAMP): Ditto. |
| 8386 | (DYNAMIC_SIGTRAMP_OFFSET): Ditto. |
| 8387 | (FRAME_PAST_SIGTRAMP_FRAME): Ditto. |
| 8388 | |
| 8389 | 2002-04-24 Jason Thorpe <thorpej@wasabisystems.com> |
| 8390 | |
| 8391 | * NEWS: Note that Alpha targets are now multi-arch. |
| 8392 | |
| 8393 | 2002-04-24 Michael Snyder <msnyder@redhat.com> |
| 8394 | |
| 8395 | * parser-defs.h (prev_lexptr): New external variable. |
| 8396 | * parse.c (parse_exp_1): Set prev_lexptr to null before |
| 8397 | calling the language-specific parser. |
| 8398 | * c-exp.y (yylex): Set prev_lexptr to start of current token. |
| 8399 | (yyerror): Use prev_lexptr in error reporting. |
| 8400 | |
| 8401 | 2002-04-24 Daniel Jacobowitz <drow@mvista.com> |
| 8402 | |
| 8403 | * config/i386/tm-linux.h: Define FILL_FPXREGSET. |
| 8404 | * gregset.h: If FILL_FPXREGSET is defined, provide |
| 8405 | gdb_fpxregset_t, supply_fpxregset, and fill_fpxregset. |
| 8406 | * linux-proc.c (linux_do_thread_registers): If FILL_FPXREGSET |
| 8407 | is defined, call fill_fpxregset. |
| 8408 | |
| 8409 | 2002-04-24 Roland McGrath <roland@frob.com> |
| 8410 | |
| 8411 | * config/i386/i386gnu.mh (NATDEPFILES): Add core-regset.o here. |
| 8412 | * i386gnu-nat.c [HAVE_SYS_PROCFS_H] |
| 8413 | (supply_gregset, supply_fpregset): New functions. |
| 8414 | |
| 8415 | * gnu-nat.c (gnu_find_memory_regions): New function. |
| 8416 | (init_gnu_ops): Set `to_find_memory_regions' hook to that. |
| 8417 | (gnu_xfer_memory): Add a cast. |
| 8418 | |
| 8419 | 2002-04-24 Michael Snyder <msnyder@redhat.com> |
| 8420 | |
| 8421 | * arm-tdep.c (arm_scan_prologue): Move "mov ip, sp" into the |
| 8422 | loop. Add handling for "str lr, [sp, #-4]!" and for saves |
| 8423 | of argument regs ("str r(0123), [r11, #-nn"]). |
| 8424 | (arm_skip_prologue): Better handling for frameless functions. |
| 8425 | Treat "mov ip, sp" as optional. Recognize "str lr, [sp, #-4]". |
| 8426 | (arm_skip_prologue): Recognize str r(0123), [r11, #-nn]. |
| 8427 | |
| 8428 | Wed Apr 24 14:22:21 2002 Andrew Cagney <cagney@redhat.com> |
| 8429 | |
| 8430 | * arm-tdep.c (arm_gdbarch_init): Add comment that NUM_REGS nor |
| 8431 | NUM_PSEUDO_REGS can be used. |
| 8432 | |
| 8433 | 2002-04-24 Andrew Cagney <ac131313@redhat.com> |
| 8434 | |
| 8435 | * arch-utils.h: Update copyright. |
| 8436 | |
| 8437 | * gdbarch.sh (PC_IN_SIGTRAMP): Add. |
| 8438 | * gdbarch.h, gdbarch.c: Re-generate. |
| 8439 | |
| 8440 | * inferior.h (IN_SIGTRAMP): Delete definition. |
| 8441 | * arch-utils.c (legacy_pc_in_sigtramp): New function. |
| 8442 | * arch-utils.h (legacy_pc_in_sigtramp): Declare. |
| 8443 | |
| 8444 | * mips-tdep.c (mips_init_extra_frame_info): Use PC_IN_SIGTRAMP. |
| 8445 | (mips_dump_tdep): Do not print value of IN_SIGTRAMP. |
| 8446 | * hppa-tdep.c (pc_in_interrupt_handler): Use PC_IN_SIGTRAMP. |
| 8447 | (find_proc_framesize): Ditto. |
| 8448 | * alpha-tdep.c (alpha_osf_skip_sigtramp_frame): Ditto. |
| 8449 | (alpha_init_extra_frame_info): Ditto. |
| 8450 | * infrun.c (handle_inferior_event): Ditto. |
| 8451 | (handle_inferior_event): Ditto. |
| 8452 | (check_sigtramp2): Ditto. |
| 8453 | * blockframe.c (create_new_frame): Ditto. |
| 8454 | (get_prev_frame): Ditto. |
| 8455 | * ppc-linux-tdep.c: Update comments. |
| 8456 | * i386-linux-tdep.c: Update comments. |
| 8457 | * breakpoint.c (bpstat_what): Update comment. |
| 8458 | |
| 8459 | 2002-04-24 David S. Miller <davem@redhat.com> |
| 8460 | |
| 8461 | * i960-tdep.c (register_in_window_p): New function. |
| 8462 | (i960_find_saved_register): Use it instead of |
| 8463 | REGISTER_IN_WINDOW_P. |
| 8464 | * config/i960/tm-i960.h (REGISTER_IN_WINDOW): Delete. |
| 8465 | |
| 8466 | * symtab.h (find_stab_function_addr): Kill extern. |
| 8467 | * minsyms.c (find_stab_function_addr): Remove from here... |
| 8468 | * dbxread.c: ... to here, and mark it static. |
| 8469 | |
| 8470 | 2002-04-20 David S. Miller <davem@redhat.com> |
| 8471 | |
| 8472 | * sparc-tdep.c (sparc_pop_frame): Only need to allocate |
| 8473 | SPARC_INTREG_SIZE * 16 bytes for reg_temp. |
| 8474 | |
| 8475 | 2002-04-21 David S. Miller <davem@redhat.com> |
| 8476 | |
| 8477 | * remote-vxsparc.c (vx_read_register): Fix typo, we want |
| 8478 | REGISTER_RAW_SIZE of SP_REGNUM not CORE_ADDR. |
| 8479 | (vx_write_register): Likewise. |
| 8480 | |
| 8481 | 2002-04-23 J. Brobecker <brobecker@gnat.com> |
| 8482 | |
| 8483 | * source.c (is_regular_file): New function. |
| 8484 | (openp): Check wether file to open is a regular file |
| 8485 | to avoid opening directories. |
| 8486 | |
| 8487 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
| 8488 | |
| 8489 | * findvar.c (extract_signed_integer): Cast printf argument |
| 8490 | to suppress format warning. |
| 8491 | (extract_unsigned_integer): Likewise. |
| 8492 | * infcmd.c (registers_info): Likewise. |
| 8493 | * top.c (get_prompt_1): Likewise. |
| 8494 | * valops.c (value_assign): Likewise. |
| 8495 | * valprint.c (print_decimal): Likewise. |
| 8496 | |
| 8497 | 2002-04-22 H.J. Lu (hjl@gnu.org) |
| 8498 | |
| 8499 | * c-exp.y (typebase): Support |
| 8500 | |
| 8501 | [long|long long|short] [signed|unsigned] [int|] |
| 8502 | |
| 8503 | and |
| 8504 | |
| 8505 | signed [long|long long|short] int |
| 8506 | |
| 8507 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
| 8508 | |
| 8509 | * Makefile.in (vax-tdep.o): Add $(arch_utils_h), $(inferior_h), |
| 8510 | and vax-tdep.h. |
| 8511 | * vax-tdep.h: New file. |
| 8512 | * vax-tdep.c: Include inferior.h, arch-utils.h, and vax-tdep.h. |
| 8513 | Make several routines static. |
| 8514 | (vax_get_saved_register): New function. |
| 8515 | (vax_gdbarch_init): New function. |
| 8516 | (_initialize_vax_tdep): Register vax_gdbarch_init. |
| 8517 | * config/vax/tm-vax.h: Set GDB_MULTI_ARCH to GDB_MULTI_ARCH_PARTIAL. |
| 8518 | Remove macros now under the control of gdbarch. |
| 8519 | |
| 8520 | 2002-04-22 Michael Snyder <msnyder@redhat.com> |
| 8521 | |
| 8522 | * arm-tdep.c (arm_skip_prologue): Recognize "sub sp, sp, #nn". |
| 8523 | Some whitespace and coding standards tweaks. |
| 8524 | |
| 8525 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
| 8526 | |
| 8527 | * vax-tdep.c: Include regcache.h. |
| 8528 | (vax_call_dummy_words): New. |
| 8529 | (sizeof_vax_call_dummy_words): New. |
| 8530 | (vax_fix_call_dummy): New function. |
| 8531 | (vax_saved_pc_after_call): Ditto. |
| 8532 | * config/vax/tm-vax.h: Don't include regcache.h. |
| 8533 | (SAVED_PC_AFTER_CALL): Use vax_saved_pc_after_call. |
| 8534 | (CALL_DUMMY): Remove. |
| 8535 | (CALL_DUMMY_WORDS): Define. |
| 8536 | (SIZEOF_CALL_DUMMY_WORDS): Define. |
| 8537 | (FIX_CALL_DUMMY): Use vax_fix_call_dummy. |
| 8538 | |
| 8539 | 2002-04-18 Michael Snyder <msnyder@redhat.com> |
| 8540 | |
| 8541 | * arm-tdep.h: Change regnum defines to enums for ease of debugging. |
| 8542 | |
| 8543 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
| 8544 | |
| 8545 | * vax-tdep.c (vax_frame_chain): New function. |
| 8546 | (vax_push_dummy_frame): Ditto. |
| 8547 | (vax_pop_frame): Ditto. |
| 8548 | * config/vax/tm-vax.h (FRAME_CHAIN): vax_frame_chain. |
| 8549 | (FRAMELESS_FUNCTION_INVOCATION): Use |
| 8550 | generic_frameless_function_invocation_not. |
| 8551 | (PUSH_DUMMY_FRAME): Use vax_push_dummy_frame. |
| 8552 | (POP_FRAME): Use vax_pop_frame. |
| 8553 | |
| 8554 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
| 8555 | |
| 8556 | * vax-tdep.c (vax_store_struct_return): New function. |
| 8557 | (vax_extract_return_value): Ditto. |
| 8558 | (vax_store_return_value): Ditto. |
| 8559 | (vax_extract_struct_value_address): Ditto. |
| 8560 | * config/vax/tm-vax.h (STORE_STRUCT_RETURN): Use |
| 8561 | vax_store_struct_return. |
| 8562 | (EXTRACT_RETURN_VALUE): Use vax_extract_return_value. |
| 8563 | (STORE_RETURN_VALUE): Use vax_store_return_value. |
| 8564 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use vax_extract_struct_value_address. |
| 8565 | |
| 8566 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
| 8567 | |
| 8568 | * vax-tdep.c (vax_frame_saved_pc): New function. |
| 8569 | (vax_frame_args_address_correct): Ditto. |
| 8570 | (vax_frame_args_address): Ditto. |
| 8571 | (vax_frame_locals_address): Ditto. |
| 8572 | (vax_frame_num_args): Move code to be in proximity to |
| 8573 | other frame-related functions. |
| 8574 | * config/vax/tm-vax.h (INNER_THAN): Use core_addr_lessthan. |
| 8575 | (FRAME_SAVED_PC): Use vax_frame_saved_pc. |
| 8576 | (FRAME_ARGS_ADDRESS_CORRECT): Use vax_frame_args_address_correct. |
| 8577 | (FRAME_ARGS_ADDRESS): Use vax_frame_args_address. |
| 8578 | (FRAME_LOCALS_ADDRESS): Use vax_frame_locals_address. |
| 8579 | |
| 8580 | 2002-04-22 H.J. Lu (hjl@gnu.org) |
| 8581 | |
| 8582 | * Makefile.in (FLAGS_TO_PASS): Add libdir, mandir, datadir and |
| 8583 | includedir. |
| 8584 | |
| 8585 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
| 8586 | |
| 8587 | * vax-tdep.c (vax_frame_init_saved_regs): New function. |
| 8588 | * config/vax/tm-vax.h (FRAME_FIND_SAVED_REGS): Remove. |
| 8589 | (FRAME_INIT_SAVED_REGS): New macro. |
| 8590 | |
| 8591 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
| 8592 | |
| 8593 | * MAINTAINERS: Reflect that the Alpha target has been multi-arch'd. |
| 8594 | |
| 8595 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
| 8596 | |
| 8597 | * alpha-nat.c (get_longjmp_target): Use ALPHA_* constants |
| 8598 | where needed. |
| 8599 | (fetch_osf_core_registers): Likewise. |
| 8600 | (supply_gregset): Likewise. |
| 8601 | |
| 8602 | 2002-04-22 J. Brobecker <brobecker@gnat.com> |
| 8603 | |
| 8604 | * symfile.h (get_section_index): Define. |
| 8605 | * symfile.c (get_section_index): New function. |
| 8606 | * mdebugread.c (SC_IS_SBSS): New macro. |
| 8607 | (SC_IS_BSS): Return true for the scBss storage class only, as |
| 8608 | the scSBss storage class refers to the .sbss section. |
| 8609 | (parse_partial_symbols): Discard the symbols which associated |
| 8610 | section does not exist. |
| 8611 | Make sure to use the .sbss section index for symbols which |
| 8612 | storage class is scBss, rather than using the .bss section index. |
| 8613 | |
| 8614 | 2002-04-22 Jason Thorpe <thorpej@wasabisystems.com> |
| 8615 | |
| 8616 | * vax-tdep.c: Update copyright years. |
| 8617 | (vax_register_name): New function. |
| 8618 | (vax_register_byte): Ditto. |
| 8619 | (vax_register_raw_size): Ditto. |
| 8620 | (vax_register_virtual_size): Ditto. |
| 8621 | (vax_register_virtual_type): Ditto. |
| 8622 | * config/vax/tm-vax.h: Update copyright years. |
| 8623 | (REGISTER_NAMES): Remove. |
| 8624 | (REGISTER_NAME): Define. |
| 8625 | (REGISTER_BYTE): Use vax_register_byte. |
| 8626 | (REGISTER_RAW_SIZE): Use vax_register_raw_size. |
| 8627 | (REGISTER_VIRTUAL_SIZE): Use vax_register_virtual_size. |
| 8628 | (REGISTER_VIRTUAL_TYPE): Use vax_register_virtual_type. |
| 8629 | |
| 8630 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
| 8631 | |
| 8632 | * config/sparc/tm-sparc.h (sparc_skip_prologue): Restore |
| 8633 | declaration |
| 8634 | * arc-tdep.c (arc_prologue_frameless_p): Fix syntax error. |
| 8635 | |
| 8636 | 2002-04-21 David S. Miller <davem@redhat.com> |
| 8637 | |
| 8638 | * arch-utils.c (generic_prologue_frameless_p): Kill |
| 8639 | SKIP_PROLOGUE_FRAMELESS_P code. |
| 8640 | * config/arc/tm-arc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete |
| 8641 | references. |
| 8642 | (PROLOGUE_FRAMELESS_P, arc_prologue_frameless_p): New. |
| 8643 | * arc-tdep.c (arc_prologue_frameless_p): Implement. |
| 8644 | * config/arc/tm-sparc.h (SKIP_PROLOGUE_FRAMELESS_P): Delete |
| 8645 | references. |
| 8646 | (PROLOGUE_FRAMELESS_P, sparc_prologue_frameless_p): New. |
| 8647 | * sparc-tdep.c (sparc_prologue_frameless_p): Implement. |
| 8648 | (sparc_gdbarch_init): Pass it to |
| 8649 | set_gdbarch_prologue_frameless_p. |
| 8650 | |
| 8651 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
| 8652 | |
| 8653 | * Makefile.in (ALLDEPFILES): Add alphabsd-nat.c. |
| 8654 | (alphabsd-nat.o): New dependency list. |
| 8655 | |
| 8656 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
| 8657 | |
| 8658 | * Makefile.in (ALLDEPFILES): Add alpha-linux-tdep.c and |
| 8659 | alphafbsd-tdep.c. |
| 8660 | (alpha-linux-tdep.o): New dependency list. |
| 8661 | (alphafbsd-tdep.o): Likewise. |
| 8662 | |
| 8663 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
| 8664 | |
| 8665 | * alpha-linux-tdep.c: New file. Move alpha_linux_sigtramp_offset |
| 8666 | to here... |
| 8667 | * alpha-tdep.c: ...from here. |
| 8668 | * config/alpha/alpha-linux.mt (TDEPFILES): Add alpha-linux-tdep.o. |
| 8669 | |
| 8670 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
| 8671 | |
| 8672 | * config/alpha/tm-alpha.h: Move alpha_software_single_step |
| 8673 | prototype from here... |
| 8674 | * alpha-tdep.h: ...to here. |
| 8675 | |
| 8676 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
| 8677 | |
| 8678 | * frame.h (selected_frame_level): Document as deprecated. |
| 8679 | (frame_relative_level): Declare. |
| 8680 | * stack.c (frame_relative_level): New function. |
| 8681 | (selected_frame_level): Document as deprecated. |
| 8682 | (select_frame): Do not set the selected_frame_level. |
| 8683 | |
| 8684 | * stack.c (frame_info, record_selected_frame): Update. |
| 8685 | (frame_command, current_frame_command): Update. |
| 8686 | (up_silently_base, up_command, down_silently_base): Update. |
| 8687 | (down_command): Update. |
| 8688 | * inflow.c (kill_command): Update. |
| 8689 | * tracepoint.c (finish_tfind_command): Update. |
| 8690 | * corelow.c (core_open): Update. |
| 8691 | * thread.c (info_threads_command): Update. |
| 8692 | (do_captured_thread_select): Update. |
| 8693 | * infcmd.c (finish_command): Update. |
| 8694 | * breakpoint.c (insert_breakpoints, do_enable_breakpoint): Update. |
| 8695 | |
| 8696 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
| 8697 | |
| 8698 | * config/alpha/tm-fbsd.h (FRAME_CHAIN_VALID): Remove. |
| 8699 | |
| 8700 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
| 8701 | |
| 8702 | * arm-tdep.c (arm_breakpoint_from_pc): Make static. Make return |
| 8703 | type const. |
| 8704 | |
| 8705 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
| 8706 | |
| 8707 | * alphafbsd-tdep.c: Update copyright years. Include |
| 8708 | alpha-tdep.h. |
| 8709 | (alphafbsd_use_struct_convention): Make static. |
| 8710 | (alphafbsd_init_abi): New function. |
| 8711 | (_initialize_alphafbsd_tdep): New function. |
| 8712 | * config/alpha/tm-fbsd.h: Update copyright years. |
| 8713 | (USE_STRUCT_CONVENTION): Remove. |
| 8714 | |
| 8715 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
| 8716 | |
| 8717 | * alpha-tdep.c (alpha_abi_handler): New structure to describe |
| 8718 | an Alpha ABI variant. |
| 8719 | (alpha_abi_handler_list): Declare. |
| 8720 | (alpha_gdbarch_register_os_abi): New function. |
| 8721 | (alpha_gdbarch_init): Give registered ABI variant handlers a |
| 8722 | chance to tweak the gdbarch once we have set up defaults. |
| 8723 | * alpha-tdep.h: Prototype alpha_gdbarch_register_os_abi. |
| 8724 | |
| 8725 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
| 8726 | |
| 8727 | * alpha-tdep.c (alpha_gdbarch_init): Set coerce_float_to_double |
| 8728 | to standard_coerce_float_to_double. |
| 8729 | * config/alpha/tm-alpha.h (COERCE_FLOAT_TO_DOUBLE): Remove. |
| 8730 | |
| 8731 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
| 8732 | |
| 8733 | * alpha-tdep.h (gdbarch_tdep): Add vm_min_address member. |
| 8734 | * alpha-tdep.c (heuristic_proc_start): Use vm_min_address |
| 8735 | from gdbarch_tdep rather than a constant. |
| 8736 | (alpha_gdbarch_init): Initialize tdep->vm_min_address to |
| 8737 | the default text address for all Alpha Unix ABIs. |
| 8738 | (alpha_dump_tdep): Report the value of tdep->vm_min_address. |
| 8739 | * config/alpha/tm-alpha.h (VM_MIN_ADDRESS): Delete. |
| 8740 | |
| 8741 | 2002-04-21 Jason Thorpe <thorpej@wasabisystems.com> |
| 8742 | |
| 8743 | * alpha-tdep.h: New file. Includes several Alpha target constants |
| 8744 | taken from... |
| 8745 | * config/alpha/tm-alpha.h: ...here. Remove macros that we now |
| 8746 | let gdbarch deal with. |
| 8747 | (GDB_MULTI_ARCH): Define as GDB_MULTI_ARCH_PARTIAL. |
| 8748 | * Makefile.in (alpha-nat.o): Add alpha-tdep.h and $(BFD_SRC)/elf-bfd |
| 8749 | to dependency list. |
| 8750 | * alpha-nat.c: Include alpha-tdep.h. Update for adjusted |
| 8751 | Alpha target register names. |
| 8752 | * alphabsd-nat.c: Likewise. |
| 8753 | * alpha-tdep.c: Include alpha-tdep.h. Update for adjusted |
| 8754 | Alpha target register names. Make serveral routines static. |
| 8755 | (alpha_get_saved_register): New function. |
| 8756 | (alpha_abi_names): New. |
| 8757 | (process_note_abi_tag_sections): New function. |
| 8758 | (get_elfosabi): New function. |
| 8759 | (alpha_gdbarch_init): New function. |
| 8760 | (alpha_dump_tdep): New function. |
| 8761 | (_initialize_alpha_tdep): Register alpha_gdbarch_init. |
| 8762 | |
| 8763 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
| 8764 | |
| 8765 | * frame.c (find_saved_register): Delete #ifdef |
| 8766 | HAVE_REGISTER_WINDOWS code. |
| 8767 | * config/sparc/tm-sparc.h: Update comments. |
| 8768 | * config/i960/tm-i960.h (HAVE_REGISTER_WINDOWS): Delete macro. |
| 8769 | |
| 8770 | 2002-04-21 Andrew Cagney <ac131313@redhat.com> |
| 8771 | |
| 8772 | * i960-tdep.c (i960_find_saved_register): New function. |
| 8773 | (i960_get_saved_register): New function. |
| 8774 | * config/i960/tm-i960.h (GET_SAVED_REGISTER): Define. |
| 8775 | (i960_get_saved_register): Declare. |
| 8776 | * config/i960/tm-i960.h, i960-tdep.c: Update copyright. |
| 8777 | |
| 8778 | 2002-04-20 David S. Miller <davem@redhat.com> |
| 8779 | |
| 8780 | * sparc-nat.c (store-inferior_registers): Fix ambiguous else. |
| 8781 | |
| 8782 | 2002-04-20 Andrew Cagney <ac131313@redhat.com> |
| 8783 | |
| 8784 | * arm-tdep.c (arm_gdbarch_init): Use gdbarch_num_pseudo_regs |
| 8785 | instead of NUM_PSEUDO_REGS. |
| 8786 | |
| 8787 | 2002-04-20 David S. Miller <davem@redhat.com> |
| 8788 | |
| 8789 | * config/sparc/tm-linux.h (GDB_MULTI_ARCH): Define to |
| 8790 | GDB_MULTI_ARCH_PARTIAL |
| 8791 | * config/sparc/tm-sp64linux.h (GDB_MULTI_ARCH): Do not |
| 8792 | define, let tm-sp64.h do it. |
| 8793 | |
| 8794 | 2002-04-20 Jason Thorpe <thorpej@wasabisystems.com> |
| 8795 | |
| 8796 | * frame.c (find_saved_register): Avoid a NULL pointer |
| 8797 | dereference and actually walk the frame list. |
| 8798 | |
| 8799 | 2002-04-20 Andrew Cagney <ac131313@redhat.com> |
| 8800 | |
| 8801 | * gdbarch.sh (gdbarch_update_p): Keep the list of architectures |
| 8802 | sorted in most most-recent-used order. Document. |
| 8803 | * gdbarch.h, gdbarch.c: Regenerate. |
| 8804 | |
| 8805 | 2002-04-19 Andrew Cagney <ac131313@redhat.com> |
| 8806 | |
| 8807 | * sparc-tdep.c (sparc_get_saved_register): Use get_prev_frame |
| 8808 | instead of ->prev. |
| 8809 | * z8k-tdep.c (z8k_frame_chain): Do not use ->prev. |
| 8810 | * s390-tdep.c (s390_frame_chain): Do not use ->prev. |
| 8811 | * rs6000-tdep.c (frame_get_saved_regs): Use rs6000_frame_chain() |
| 8812 | instead of ->prev. |
| 8813 | |
| 8814 | 2002-04-19 Elena Zannoni <ezannoni@redhat.com> |
| 8815 | |
| 8816 | Fix PR gdb/471. |
| 8817 | * gdbtypes.c (init_simd_type): Rewrite using new functions. |
| 8818 | (build_builtin_type_vec128): Ditto. |
| 8819 | (append_composite_type_field): Fix calculation of type length in |
| 8820 | union case. |
| 8821 | |
| 8822 | 2002-04-19 Eli Zaretskii <eliz@is.elta.co.il> |
| 8823 | |
| 8824 | * config/djgpp/README: Update. |
| 8825 | |
| 8826 | * go32-nat.c (store_register): Cast &a_tss to `char *' to avoid a |
| 8827 | compiler warnings. |
| 8828 | |
| 8829 | 2002-04-19 Jason Thorpe <thorpej@wasabisystems.com> |
| 8830 | |
| 8831 | * alpha-tdep.c (setup_arbitrary_frame): Rename... |
| 8832 | (alpha_setup_arbitrary_frame): ...to this. |
| 8833 | * config/alpha/tm-alpha.h (SETUP_ARBITRARY_FRAME): Update |
| 8834 | for alpha_setup_arbitrary_frame. |
| 8835 | |
| 8836 | 2002-04-18 Andrew Cagney <cagney@redhat.com> |
| 8837 | |
| 8838 | * gdbarch.sh (BREAKPOINT_FROM_PC): Return a const buffer. |
| 8839 | * gdbarch.h, gdbarch.c: Regenerate. |
| 8840 | |
| 8841 | * defs.h (breakpoint_from_pc_fn): Delete type definition. |
| 8842 | * target.h (memory_breakpoint_from_pc): Update declaration. |
| 8843 | * config/mcore/tm-mcore.h (mcore_breakpoint_from_p): Ditto. |
| 8844 | |
| 8845 | * arch-utils.c (legacy_breakpoint_from_pc): Update return type. |
| 8846 | * mcore-tdep.c (mcore_breakpoint_from_pc): Ditto. |
| 8847 | * mem-break.c (memory_breakpoint_from_pc): Ditto. |
| 8848 | * rs6000-tdep.c (rs6000_breakpoint_from_pc): Ditto. |
| 8849 | * s390-tdep.c (s390_breakpoint_from_pc): Ditto |
| 8850 | * xstormy16-tdep.c (xstormy16_breakpoint_from_pc): Ditto. |
| 8851 | * mn10300-tdep.c (mn10300_breakpoint_from_pc): Ditto. |
| 8852 | * mips-tdep.c (mips_breakpoint_from_pc): Ditto. |
| 8853 | * m68hc11-tdep.c (m68hc11_breakpoint_from_pc): Ditto. |
| 8854 | * ia64-tdep.c (ia64_breakpoint_from_pc): Ditto. |
| 8855 | * d10v-tdep.c (d10v_breakpoint_from_pc): Ditto. |
| 8856 | * arch-utils.c (legacy_breakpoint_from_pc): Ditto.. |
| 8857 | |
| 8858 | * mem-break.c (default_memory_insert_breakpoint): Make `bp' a |
| 8859 | const pointer. |
| 8860 | * monitor.c (monitor_insert_breakpoint): Ditto. |
| 8861 | * rs6000-tdep.c (rs6000_software_single_step): Ditto for `breakp'. |
| 8862 | |
| 8863 | * config/mcore/tm-mcore.h: Update copyright. |
| 8864 | * mem-break.c: Ditto. |
| 8865 | * xstormy16-tdep.c: Ditto. |
| 8866 | |
| 8867 | 2002-04-18 Pierre Muller <muller@ics.u-strasbg.fr> |
| 8868 | |
| 8869 | * p-exp.y: Add precedence rule for '^' token. |
| 8870 | This removes the shift/reduce conflicts. |
| 8871 | Remove the comment concerning these shift/reduce conflicts. |
| 8872 | |
| 8873 | 2002-04-18 Elena Zannoni <ezannoni@redhat.com> |
| 8874 | |
| 8875 | * rs6000-tdep.c (COMMON_UISA_NOFP_REGS): New macro. |
| 8876 | (registers_powerpc_nofp): New register set for processors |
| 8877 | without floating point unit. |
| 8878 | |
| 8879 | 2002-04-18 David S. Miller <davem@redhat.com> |
| 8880 | |
| 8881 | * MAINTAINERS: Add myself to write-after-approval. |
| 8882 | |
| 8883 | 2002-04-17 Michael Snyder <msnyder@redhat.com> |
| 8884 | |
| 8885 | * MAINTAINERS: Add myself as co-maintainer of testsuite/gdb.asm. |
| 8886 | |
| 8887 | 2002-04-17 Andrew Cagney <ac131313@redhat.com> |
| 8888 | |
| 8889 | * rs6000-tdep.c (frame_initial_stack_address): Use |
| 8890 | frame_register_read to read the alloca_reg. |
| 8891 | |
| 8892 | 2002-04-17 Andrew Cagney <ac131313@redhat.com> |
| 8893 | |
| 8894 | * frame.c (find_saved_register): Find saved registers in the next |
| 8895 | not prev frame. |
| 8896 | Fix PR gdb/365. |
| 8897 | |
| 8898 | 2002-04-17 Andrew Cagney <ac131313@redhat.com> |
| 8899 | |
| 8900 | * gdbarch.sh (LANG): Set to ``c''. |
| 8901 | |
| 8902 | 2002-04-15 Andrew Cagney <ac131313@redhat.com> |
| 8903 | |
| 8904 | * PROBLEMS: Mention hppa2.0-hp-hpux10.20 compile problems. |
| 8905 | |
| 8906 | 2002-04-15 Andrew Cagney <ac131313@redhat.com> |
| 8907 | |
| 8908 | * bcache.c: Include <stddef.h> and <stdlib.h> after "defs.h". |
| 8909 | Update copyright. |
| 8910 | |
| 8911 | * hpread.c (hpread_get_lntt): Add declaration. |
| 8912 | Also fix PR gdb/391. |
| 8913 | |
| 8914 | 2002-04-14 Andrew Cagney <ac131313@redhat.com> |
| 8915 | |
| 8916 | * acinclude.m4 (AM_PROG_CC_STDC): Import from automake 1.6. |
| 8917 | * aclocal.m4, configure: Re-generate. |
| 8918 | Fix PR gdb/391. |
| 8919 | |
| 8920 | 2002-04-14 Elena Zannoni <ezannoni@redhat.com> |
| 8921 | |
| 8922 | * mi/mi-cmd-disas.c (dump_insns): Use TARGET_PRINT_INSN |
| 8923 | instead of tm_print_insn. |
| 8924 | |
| 8925 | 2002-04-14 Elena Zannoni <ezannoni@redhat.com> |
| 8926 | |
| 8927 | * ppc-bdm.c (bdm_ppc_fetch_registers): Fix typo. |
| 8928 | |
| 8929 | 2002-04-14 Andrew Cagney <ac131313@redhat.com> |
| 8930 | |
| 8931 | * config/pa/tm-hppa.h (FRAME_CHAIN_COMBINE): Delete macro. |
| 8932 | * blockframe.c (FRAME_CHAIN_COMBINE): Delete macro. |
| 8933 | (get_prev_frame): Do not call FRAME_CHAIN_COMBINE. |
| 8934 | |
| 8935 | 2002-04-12 Don Howard <dhoward@redhat.com> |
| 8936 | |
| 8937 | * cli/cli-cmds.c (init_cli_cmds): Add new user settable value: |
| 8938 | max_user_call_depth. |
| 8939 | (init_cmd_lists): Initialize the new value; |
| 8940 | * cli/cli-script.c (execute_user_command): Limit the call depth of |
| 8941 | user defined commands. This avoids a core-dump when user commands |
| 8942 | are infinitly recursive. |
| 8943 | |
| 8944 | 2002-04-12 Kevin Buettner <kevinb@redhat.com> |
| 8945 | |
| 8946 | * ppc-tdep.h (struct gdbarch_tdep): Add new member ``lr_frame_offset''. |
| 8947 | * rs6000-tdep.c (rs6000_frame_saved_pc): Use ``lr_frame_offset'' |
| 8948 | from tdep struct instead of DEFAULT_LR_SAVE. |
| 8949 | (rs6000_gdbarch_init): Initialize ``lr_frame_offset''. |
| 8950 | * config/powerpc/tm-ppc-eabi.h (DEFAULT_LR_SAVE): Delete. |
| 8951 | * config/rs6000/tm-rs6000.h (DEFAULT_LR_SAVE): Delete. |
| 8952 | |
| 8953 | 2002-04-12 Michael Snyder <msnyder@redhat.com> |
| 8954 | |
| 8955 | * Remote.c: Spelling fix. |
| 8956 | * gcore.c (default_derive_heap_segment): Use bfd_section_name. |
| 8957 | If no symbol found for "sbrk", try "_sbrk". |
| 8958 | (make_output_phdrs): Use bfd_section_name. |
| 8959 | (gcore_copy_callback): Use bfd_section_name. |
| 8960 | * eval.c: Indentation fix-ups. |
| 8961 | * d10v-tdep.c (d10v_make_iaddr): Make it idempotent, |
| 8962 | in case it gets applied to an address that is already |
| 8963 | in the instruction space. |
| 8964 | * cli/cli-decode.c (help_list): Allow long lines to wrap. |
| 8965 | * symfile.c: Fix indentation, long lines. |
| 8966 | * source.c: White space fix-up. |
| 8967 | |
| 8968 | 2002-04-12 Andrew Cagney <cagney@redhat.com> |
| 8969 | |
| 8970 | * defs.h (read_relative_register_raw_bytes): Delete declaration. |
| 8971 | * frame.c (frame_register_read): New function. Return non-zero on |
| 8972 | success. |
| 8973 | (read_relative_register_raw_bytes_for_frame): Delete. |
| 8974 | (read_relative_register_raw_bytes): Delete. |
| 8975 | * frame.h (frame_register_read): Declare. |
| 8976 | * d30v-tdep.c: Update Copyright. Use frame_register_read. |
| 8977 | * sh-tdep.c: Ditto. |
| 8978 | * infcmd.c (do_registers_info): Ditto. |
| 8979 | * hppa-tdep.c: Ditto. |
| 8980 | * rs6000-tdep.c: Ditto. |
| 8981 | * h8500-tdep.c: Ditto. |
| 8982 | * mips-tdep.c: Ditto. |
| 8983 | * h8300-tdep.c: Ditto. |
| 8984 | * z8k-tdep.c: Ditto. |
| 8985 | |
| 8986 | 2002-04-12 Kevin Buettner <kevinb@redhat.com> |
| 8987 | |
| 8988 | From Jimi X <jimix@watson.ibm.com>: |
| 8989 | * rs6000-tdep.c (rs6000_gdbarch_init): Use rs6000_* methods for |
| 8990 | 64-bit SysV ABI. |
| 8991 | |
| 8992 | 2002-04-12 Kevin Buettner <kevinb@redhat.com> |
| 8993 | |
| 8994 | From Jimi X <jimix@watson.ibm.com>: |
| 8995 | * rs6000-tdep.c (rs6000_gdbarch_init): Compute ``wordsize'' from |
| 8996 | bfd info. |
| 8997 | |
| 8998 | 2002-04-12 Kevin Buettner <kevinb@redhat.com> |
| 8999 | |
| 9000 | From Jimi X <jimix@watson.ibm.com>: |
| 9001 | * rs6000-tdep.c (powerpc64, 630, rs64ii, rs64iii): Define |
| 9002 | register sets for these processor variants. |
| 9003 | |
| 9004 | 2002-04-11 Daniel Jacobowitz <drow@mvista.com> |
| 9005 | |
| 9006 | * regformats/reg-ppc.dat: Support FPSCR. |
| 9007 | |
| 9008 | 2002-04-11 Kevin Buettner <kevinb@redhat.com> |
| 9009 | |
| 9010 | * ppc-tdep.h (struct gdbarch_tdep): Add new field ``ppc_fpscr_regnum''. |
| 9011 | * ppc-bdm.c (bdm_ppc_fetch_registers, bdm_ppc_store_registers): |
| 9012 | Add fpscr as an invalid/unfetchable register. |
| 9013 | * ppc-linux-nat.c (ppc_register_u_addr, store_register) |
| 9014 | (fetch_ppc_registers, store_ppc_registers, supply_fpregset) |
| 9015 | (fill_fpregset): Add support for register fpscr. |
| 9016 | (fetch_ppc_registers, store_ppc_registers, supply_gregset) |
| 9017 | (fill_gregset): Account for the fact that register ``mq'' might |
| 9018 | not exist. |
| 9019 | * rs6000-tdep.c (PPC_UISA_SPRS): Use (unused) slot 70 for fpscr. |
| 9020 | (registers_power): Add fpscr to register set at slot 71. |
| 9021 | (rs6000_gdbarch_init): Account for the fact that ``mq'' doesn't |
| 9022 | exist on most PPC architectures. Initialize ppc_fpscr_regnum. |
| 9023 | |
| 9024 | 2002-04-11 Michael Snyder <msnyder@redhat.com> |
| 9025 | |
| 9026 | * configure.in: Autoconfiscate _SYSCALL32 define for solaris. |
| 9027 | * configure: Regenerate. |
| 9028 | * config.in: Regenerate. |
| 9029 | * acconfig.h: Add define for _SYSCALL32. |
| 9030 | * core-sol2.c: Remove #define _SYSCALL32. |
| 9031 | * solib-legacy.c: Remove #define _SYSCALL32. |
| 9032 | |
| 9033 | 2002-04-10 Andrew Cagney <ac131313@redhat.com> |
| 9034 | |
| 9035 | * stack.c (select_frame): Cleanup internal error message, do not |
| 9036 | use %p. |
| 9037 | |
| 9038 | 2002-04-10 Andrew Cagney <ac131313@redhat.com> |
| 9039 | |
| 9040 | * stack.c (select_frame): Check that selected_frame and the |
| 9041 | specified level are as expected. |
| 9042 | * blockframe.c (get_prev_frame): Set the `level' from next_frame. |
| 9043 | Update copyright. |
| 9044 | * frame.h (struct frame_info): Add field `level'. Update |
| 9045 | copyright. |
| 9046 | Work-in-progress PR gdb/464. |
| 9047 | |
| 9048 | 2002-04-10 Andrew Cagney <ac131313@redhat.com> |
| 9049 | |
| 9050 | * maint.c (maint_print_section_info): Rename print_section_info. |
| 9051 | (print_bfd_section_info, print_objfile_section_info): Update. |
| 9052 | * inferior.h (struct gdbarch): Add opaque declaration. |
| 9053 | * gdbarch.sh: Add include of "inferior.h" to gdbarch.sh. |
| 9054 | * gdbarch.h: Regenerate. |
| 9055 | |
| 9056 | 2002-04-10 Michal Ludvig <mludvig@suse.cz> |
| 9057 | |
| 9058 | * x86-64-linux-nat.c (child_resume, child_xfer_memory): Delete. |
| 9059 | (PTRACE_XFER_TYPE): Moved to config/i386/nm-x86-64.h. |
| 9060 | (kernel_u_size): Added. |
| 9061 | * config/i386/nm-x86-64.h (CHILD_XFER_MEMORY, CHILD_RESUME): Delete. |
| 9062 | (PTRACE_XFER_TYPE): Moved here from config/i386/nm-x86-64.h. |
| 9063 | |
| 9064 | 2002-04-04 Jim Ingham <jingham@apple.com> |
| 9065 | |
| 9066 | * valarith.c (find_size_for_pointer_math): New function, either returns |
| 9067 | the size for a pointer's target, returns 1 for void *, or errors for |
| 9068 | incomplete types. |
| 9069 | (value_add, value_sub): use find_size_for_pointer_math. |
| 9070 | |
| 9071 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
| 9072 | |
| 9073 | * linux-low.c (linux_look_up_symbols): New hook. |
| 9074 | (linux_target_ops): Add linux_look_up_symbols. |
| 9075 | * remote-utils.c (decode_address): New function. |
| 9076 | (look_up_one_symbol): New function. |
| 9077 | * server.c (handle_query): Call target look_up_symbols hook. |
| 9078 | * server.h (look_up_one_symbol): Add prototype. |
| 9079 | * target.h (struct target_ops): Add look_up_symbols hook. |
| 9080 | |
| 9081 | 2002-04-09 Andrew Cagney <ac131313@redhat.com> |
| 9082 | |
| 9083 | * frame.c (read_relative_register_raw_bytes_for_frame): Do not |
| 9084 | override FP_REGNUM with frame->fp. Update copyright. |
| 9085 | * parse.c (num_std_regs, std_regs): Delete. |
| 9086 | (target_map_name_to_register): Do not search std_regs. Update |
| 9087 | function description. |
| 9088 | * parser-defs.h (num_std_regs, std_regs, struct std_regs): Delete |
| 9089 | declarations. Update copyright. |
| 9090 | Fix PR gdb/251. |
| 9091 | |
| 9092 | 2002-04-09 Daniel Jacobowitz <drow@mvista.com> |
| 9093 | |
| 9094 | * symtab.h (ALL_BLOCK_SYMBOLS): Don't dereference the pointer |
| 9095 | after the last symbol in a block. |
| 9096 | |
| 9097 | 2002-04-09 Pierre Muller <muller@ics.u-strasbg.fr> |
| 9098 | |
| 9099 | * p-exp.y (yylex): Handle also the fact that is_a_field_of_this |
| 9100 | is non zero as a found symbol. |
| 9101 | |
| 9102 | 2002-04-08 Andrew Cagney <ac131313@redhat.com> |
| 9103 | |
| 9104 | * findvar.c: Include "builtin-regs.h". |
| 9105 | (value_of_register): Call value_of_builtin_reg when applicable. |
| 9106 | * parse.c: Include "builtin-regs.h" and "gdb_assert.h". |
| 9107 | (target_map_name_to_register): Call |
| 9108 | builtin_reg_map_name_to_regnum. |
| 9109 | * Makefile.in (SFILES): Add builtin-regs.c and std-regs.c. |
| 9110 | (COMMON_OBS): Add builtin-regs.o and std-regs.o. |
| 9111 | (builtin_regs_h): Define. |
| 9112 | (builtin-regs.o): New target. |
| 9113 | (findvar.o): Add $(builtin_regs_h). |
| 9114 | * builtin-regs.c, builtin-regs.h: New files. |
| 9115 | * std-regs.c: New file. |
| 9116 | Partial fix for PR gdb/251. |
| 9117 | |
| 9118 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
| 9119 | |
| 9120 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't set tm_print_insn; |
| 9121 | it's no longer required. |
| 9122 | |
| 9123 | 2002-04-08 Andrew Cagney <ac131313@redhat.com> |
| 9124 | |
| 9125 | * Makefile.in (gdbtk-wrapper.o): Add missing dependencies. |
| 9126 | |
| 9127 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
| 9128 | |
| 9129 | From Jimi X <jimix@watson.ibm.com>: |
| 9130 | * rs6000-tdep.c (rs6000_software_single_step): Use |
| 9131 | rs6000_breakpoint_from_pc() to fetch breakpoint instruction |
| 9132 | and size. Use target_insert_breakpoint() and |
| 9133 | target_remove_breakpoint() to insert and remove breakpoints |
| 9134 | instead of explicit memory reads and writes. |
| 9135 | |
| 9136 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
| 9137 | |
| 9138 | * config/powerpc/tm-ppc-eabi.h (ELF_OBJECT_FORMAT): Delete. |
| 9139 | * rs6000-tdep.c (rs6000_push_arguments): Eliminate |
| 9140 | ELF_OBJECT_FORMAT ifdef. |
| 9141 | |
| 9142 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
| 9143 | |
| 9144 | From Jimi X <jimix@watson.ibm.com>: |
| 9145 | * rs6000-tdep.c (rs6000_gdbarch_init): Use set_gdbarch_print_insn(). |
| 9146 | |
| 9147 | 2002-04-08 Kevin Buettner <kevinb@redhat.com> |
| 9148 | |
| 9149 | From Jimi X <jimix@watson.ibm.com>: |
| 9150 | * rs6000-tdep.c (rs6000_fix_call_dummy): Delete unused macro |
| 9151 | definitions for TOC_ADDR_OFFSET and TARGET_ADDR_OFFSET. |
| 9152 | |
| 9153 | 2002-04-07 Mark Kettenis <kettenis@gnu.org> |
| 9154 | |
| 9155 | * fbsd-proc.c (child_pid_to_exec_file, fbsd_find_memory_regions): |
| 9156 | s/asprintf/xasprintf/. |
| 9157 | (fbsd_make_corefile_notes): s/strdup/xstrdup/. |
| 9158 | |
| 9159 | 2002-04-07 Andrew Cagney <ac131313@redhat.com> |
| 9160 | |
| 9161 | I believe Jeff Law denies responsability for this one: |
| 9162 | * config/pa/hpux11w.mh (MH_CFLAGS): Add -Dvfork=fork. |
| 9163 | * config/pa/hpux11.mh (MH_CFLAGS): Add -Dvfork=fork. |
| 9164 | * config/pa/hpux1020.mh (MH_CFLAGS): Add -Dvfork=fork. |
| 9165 | Work-around for PR gdb/366. |
| 9166 | |
| 9167 | 2002-04-07 Elena Zannoni <ezannoni@redhat.com> |
| 9168 | |
| 9169 | * remote-e7000.c (write_small, e7000_read_inferior_memory, |
| 9170 | e7000_read_inferior_memory_large, e7000_insert_breakpoint, |
| 9171 | e7000_remove_breakpoint): Use paddr_nz() to print addresses. |
| 9172 | |
| 9173 | 2002-04-07 Elena Zannoni <ezannoni@redhat.com> |
| 9174 | |
| 9175 | * sh-tdep.c (sh_fp_frame_init_saved_regs, |
| 9176 | sh_nofp_frame_init_saved_regs): Use alloca() for 'where' |
| 9177 | information. |
| 9178 | |
| 9179 | 2002-04-07 Andrew Cagney <ac131313@redhat.com> |
| 9180 | |
| 9181 | * MAINTAINERS (Misc): List Daniel Jacobowitz as the GDBSERVER |
| 9182 | maintainer. |
| 9183 | |
| 9184 | 2002-04-07 Andrew Cagney <ac131313@redhat.com> |
| 9185 | |
| 9186 | * README (Reporting Bugs in GDB): Document the bug web page as the |
| 9187 | prefered way of submitting bugs. |
| 9188 | Fix PR gdb/402. |
| 9189 | |
| 9190 | 2002-04-06 Andrew Cagney <ac131313@redhat.com> |
| 9191 | |
| 9192 | * gdbarch.sh (FP_REGNUM, PC_REGNUM, SP_REGNUM): Allow default of |
| 9193 | -1. Update comment. |
| 9194 | * gdbarch.h, gdbarch.c: Re-generate. |
| 9195 | |
| 9196 | 2002-04-07 Andreas Schwab <schwab@suse.de> |
| 9197 | |
| 9198 | * m68klinux-nat.c (fill_fpregset): Properly pass address of |
| 9199 | buffer to regcache_collect. |
| 9200 | |
| 9201 | 2002-04-06 Andrew Cagney <ac131313@redhat.com> |
| 9202 | |
| 9203 | * gdbarch.sh (PS_REGNUM): Add. Document. Default to -1. |
| 9204 | * gdbarch.c, gdbarch.h: Re-generate. |
| 9205 | |
| 9206 | 2002-04-06 Andrew Cagney <ac131313@redhat.com> |
| 9207 | |
| 9208 | * symtab.c (lookup_symtab): Remove ``const'' from ``rp'' |
| 9209 | declaration. Fix -Werror. |
| 9210 | |
| 9211 | 2002-04-05 Daniel Jacobowitz <drow@mvista.com> |
| 9212 | |
| 9213 | * gdbarch.sh (initialize_non_multiarch): Call init_gdbarch_swap. |
| 9214 | * gdbarch.c: Regenerate. |
| 9215 | |
| 9216 | 2002-04-05 Michael Snyder <msnyder@redhat.com> |
| 9217 | |
| 9218 | * breakpoint.c (clear_command): Rewrite middle section to |
| 9219 | combine two loops with identical control conditions. |
| 9220 | Add a cleanup to eliminate a memory leak. |
| 9221 | * cli/cli-dump.c (restore_section_callback): Use paddr_nz. |
| 9222 | |
| 9223 | 2002-04-05 H.J. Lu (hjl@gnu.org) |
| 9224 | |
| 9225 | * solib-svr4.c (bkpt_names): Add "__start". |
| 9226 | |
| 9227 | 2002-04-04 Andrew Cagney <ac131313@redhat.com> |
| 9228 | |
| 9229 | * sparc-tdep.c (sparc_push_dummy_frame): Use GDB_TARGET_IS_SPARC64 |
| 9230 | as test for 64 bit target. |
| 9231 | |
| 9232 | 2002-04-05 Andrew Cagney <ac131313@redhat.com> |
| 9233 | |
| 9234 | * h8500-tdep.c (h8500_write_fp): Delete function. |
| 9235 | * dwarf2cfi.c (cfi_write_fp): Document as not used. |
| 9236 | * mips-tdep.c (mips_gdbarch_init): Do not set write_fp. |
| 9237 | * ia64-tdep.c (ia64_gdbarch_init): Do not set write_fp. |
| 9238 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Do not set write_fp. |
| 9239 | * rs6000-tdep.c (rs6000_gdbarch_init): Do not set write_fp. |
| 9240 | * s390-tdep.c (s390_gdbarch_init): Do not set write_fp. |
| 9241 | (s390_write_fp): |
| 9242 | * sh-tdep.c (sh_gdbarch_init): Do not set write_fp. |
| 9243 | * x86-64-tdep.c (i386_gdbarch_init): Do not set write_fp. |
| 9244 | * d10v-tdep.c (d10v_gdbarch_init): Do not set write_fp. |
| 9245 | (d10v_write_fp): Delete function. |
| 9246 | * inferior.h (write_fp, generic_target_write_fp): Delete |
| 9247 | declarations. |
| 9248 | * regcache.c (generic_target_write_fp): Delete function. |
| 9249 | (write_fp): Delete function. |
| 9250 | * gdbarch.sh (TARGET_WRITE_FP): Delete. |
| 9251 | * gdbarch.h, gdbarch.c: Regenerate. |
| 9252 | * config/v850/tm-v850.h (TARGET_WRITE_FP): Delete macro. |
| 9253 | * config/sparc/tm-sp64.h (TARGET_WRITE_FP): Delete macro. |
| 9254 | (sparc64_write_fp): Delete declaration. |
| 9255 | * config/h8500/tm-h8500.h (TARGET_WRITE_FP): Delete macro. |
| 9256 | (h8500_write_fp): Delete declaration. |
| 9257 | |
| 9258 | 2002-04-04 Andrew Cagney <ac131313@redhat.com> |
| 9259 | |
| 9260 | * sparc-tdep.c (sparc64_write_fp): Delete. |
| 9261 | (sparc_push_dummy_frame): Replace write_fp call with code to store |
| 9262 | the FP directly. |
| 9263 | (sparc_gdbarch_init): Do not initialize write_fp. |
| 9264 | |
| 9265 | 2002-04-05 Kevin Buettner <kevinb@redhat.com> |
| 9266 | |
| 9267 | * rs6000-tdep.c (skip_prologue): Eliminate unused/unreachable |
| 9268 | clause. |
| 9269 | |
| 9270 | 2002-03-29 Jim Blandy <jimb@redhat.com> |
| 9271 | |
| 9272 | * stack.c (get_selected_block): Add new argument `addr_in_block', |
| 9273 | used to return the exact code address we used to select the block, |
| 9274 | not just the block. |
| 9275 | * blockframe.c (get_frame_block, get_current_block): Same. |
| 9276 | * frame.h (get_frame_block, get_current_block, |
| 9277 | get_selected_block): Update declarations. |
| 9278 | * linespec.c, stack.c, blockframe.c, breakpoint.c, findvar.c, |
| 9279 | linespec.c, varobj.c, printcmd.c, symtab.c: Callers changed. |
| 9280 | |
| 9281 | 2002-04-05 Michael Snyder <msnyder@redhat.com> |
| 9282 | |
| 9283 | * breakpoint.c (insert_breakpoints): Change 'hw' to 'hardware in |
| 9284 | warning message. |
| 9285 | |
| 9286 | 2002-04-05 J. Brobecker <brobecker@gnat.com> |
| 9287 | |
| 9288 | * utils.c (xfullpath): New function. |
| 9289 | * defs.h (xfullpath): Add declaration. |
| 9290 | * source.c (openp): Use xfullpath in place of gdb_realpath to |
| 9291 | avoid resolving the basename part of filenames when the |
| 9292 | associated file is a symbolic link. This fixes a potential |
| 9293 | inconsistency between the filenames known to GDB and the |
| 9294 | filenames it prints in the annotations. |
| 9295 | * symtab.c (lookup_symtab): Use the new xfullpath function, in order |
| 9296 | to be able to match a filename with either the real filename, or |
| 9297 | the name of any symbolic link to this file. |
| 9298 | (lookup_partial_symtab): Ditto. |
| 9299 | |
| 9300 | 2002-04-04 Michael Snyder <msnyder@redhat.com> |
| 9301 | |
| 9302 | * breakpoint.c: Add support for hardware breakpoints in overlays. |
| 9303 | (overlay_events_enabled): New state variable. |
| 9304 | (insert_breakpoints): Use overlay_events_enabled to decide |
| 9305 | whether to attempt to set a breakpoint at the overlay load addr. |
| 9306 | Handle bp_hardware_breakpoint as well as bp_breakpoint. |
| 9307 | (remove_breakpoint): Use overlay_events_enabled to decide |
| 9308 | whether breakpoints need to be removed from overlay load addr. |
| 9309 | Handle bp_hardware_breakpoint as well as bp_breakpoint. |
| 9310 | (bpstat_stop_status): Handle bp_hardware_breakpoint in overlays. |
| 9311 | (create_overlay_event_breakpoint, enable_overlay_breakpoints, |
| 9312 | disable_overlay_breakpoints): Update overlay_events_enabled. |
| 9313 | |
| 9314 | 2002-04-04 Daniel Jacobowitz <drow@mvista.com> |
| 9315 | |
| 9316 | * dwarf2read.c (struct function_range): New. |
| 9317 | (cu_first_fn, cu_last_fn, cu_cached_fn): New. |
| 9318 | (check_cu_functions): New. |
| 9319 | (read_file_scope): Initialize global function lists. |
| 9320 | Call dwarf_decode_line after processing children. |
| 9321 | (read_func_scope): Add to global function list. |
| 9322 | (dwarf_decode_lines): Call check_cu_functions everywhere |
| 9323 | record_line is called. Call record_line with a linenumber |
| 9324 | of 0 to mark sequence ends. |
| 9325 | |
| 9326 | 2002-04-04 Michal Ludvig <mludvig@suse.cz> |
| 9327 | |
| 9328 | * x86-64-linux-nat.c (child_xfer_memory): x86-64 ptrace() ABI |
| 9329 | change sync with glibc. |
| 9330 | |
| 9331 | 2002-04-03 Jim Blandy <jimb@redhat.com> |
| 9332 | |
| 9333 | * configure.in: Call AC_C_INLINE. |
| 9334 | * configure: Regenerated. |
| 9335 | |
| 9336 | 2002-04-01 Daniel Jacobowitz <drow@mvista.com> |
| 9337 | |
| 9338 | * rs6000-tdep.c: Change #include of "bfd/libcoff.h" |
| 9339 | and "bfd/libbfd.h" to "libcoff.h" and "libbfd.h". |
| 9340 | |
| 9341 | 2002-03-31 Mark Kettenis <kettenis@gnu.org> |
| 9342 | |
| 9343 | * NEWS: Mention gcore support on FreeBSD/i386. |
| 9344 | |
| 9345 | * fbsd-proc.c: New file. |
| 9346 | * config/i386/nm-fbsd.h (CHILD_PID_TO_EXEC_FILE): Define. |
| 9347 | * config/i386/fbsd.mh (NATDEPFILES): Add gcore.o and fbsd-proc.o. |
| 9348 | |
| 9349 | * lin-lwp.c (child_wait): Check SAVE_ERRNO instead of ERRNO in |
| 9350 | while statement. |
| 9351 | |
| 9352 | 2002-03-29 Jim Blandy <jimb@redhat.com> |
| 9353 | |
| 9354 | * cli/cli-dump.c (_initialize_cli_dump): Older GCC's tolerate |
| 9355 | unescaped newlines in string literals, but newer ones don't. So |
| 9356 | escape them. |
| 9357 | |
| 9358 | 2002-03-26 Michael Snyder <msnyder@redhat.com> |
| 9359 | Andrew Cagney <cagney@redhat.com> |
| 9360 | |
| 9361 | * cli/cli-dump.c: New file. Dump memory to file, |
| 9362 | restore file to memory. |
| 9363 | * cli/cli-dump.h: New file. |
| 9364 | * Makefile.in: Add rules, dependencies for cli-dump.o. |
| 9365 | * NEWS: Mention new commands. |
| 9366 | |
| 9367 | 2002-03-28 Michael Snyder <msnyder@redhat.com> |
| 9368 | |
| 9369 | * symfile.c (symbol_file_add): Move test for null symbols to later. |
| 9370 | |
| 9371 | 2002-03-27 Andrew Cagney <ac131313@redhat.com> |
| 9372 | |
| 9373 | From veksler at il.ibm.com: |
| 9374 | * utils.c (gdb_realpath): If canonicalize_file_name fails, return |
| 9375 | the xstrduped original path. |
| 9376 | Fix PR gdb/417. |
| 9377 | |
| 9378 | 2002-03-27 Michael Snyder <msnyder@redhat.com> |
| 9379 | |
| 9380 | * breakpoint.c (_initialize_breakpoint): Clean up help string. |
| 9381 | * infcmd.c (_initialize_infcmd): Ditto. |
| 9382 | * language.c (_initialize_language): Ditto. |
| 9383 | * symfile.c (_initialize_symfile): Ditto. |
| 9384 | * top.c (_init_main): Ditto. |
| 9385 | * cli/cli-cmds.c (init_cli_cmds): Ditto. |
| 9386 | |
| 9387 | 2002-03-27 Elena Zannoni <ezannoni@redhat.com> |
| 9388 | |
| 9389 | * rs6000-tdep.c (struct rs6000_framedata): Add fields for AltiVec |
| 9390 | vector registers handling. |
| 9391 | (skip_prologue): Handle new AltiVec instructions. Fill in new |
| 9392 | fields of frame data. |
| 9393 | (frame_get_saved_regs): Fill in information for AltiVec registers. |
| 9394 | |
| 9395 | 2002-03-27 Jim Blandy <jimb@redhat.com> |
| 9396 | |
| 9397 | * symtab.h (SYMBOL_INIT_MANGLED_NAME): Turn this macro's body into |
| 9398 | a function; leave this macro here to invoke that function. |
| 9399 | (symbol_init_mangled_name): Declaration for that function. |
| 9400 | * symtab.c (symbol_init_mangled_name): New function. |
| 9401 | |
| 9402 | 2002-03-27 Andrew Cagney <ac131313@redhat.com> |
| 9403 | |
| 9404 | * valarith.c: Replace strerror with safe_strerror. |
| 9405 | * tracepoint.c: Ditto. |
| 9406 | * lin-lwp.c: Ditto. |
| 9407 | * go32-nat.c: Ditto. |
| 9408 | * inflow.c: Ditto. |
| 9409 | * gnu-nat.c: Ditto. |
| 9410 | |
| 9411 | 2002-03-27 Andreas Schwab <schwab@suse.de> |
| 9412 | |
| 9413 | * event-top.c (command_line_handler): Remove useless if. |
| 9414 | |
| 9415 | 2002-03-27 Andreas Jaeger <aj@suse.de> |
| 9416 | |
| 9417 | * dwarf2cfi.c: Give credit to Daniel Berlin, reformat copyright |
| 9418 | comment. |
| 9419 | |
| 9420 | 2002-03-27 Michal Ludvig <mludvig@suse.cz> |
| 9421 | |
| 9422 | * x86-64-tdep.h (X86_64_NUM_REGS, X86_64_NUM_GREGS): Delete #defines. |
| 9423 | (x86_64_num_regs, x86_64_num_gregs): Added extern variables. |
| 9424 | * x86-64-linux-nat.c (x86_64_regmap): Swapped RBX <> RDX, added DS, ES, FS, GS. |
| 9425 | (x86_64_linux_dr_get_status, supply_gregset), |
| 9426 | (fill_gregset): Changed X86_64_NUM_GREGS to x86_64_num_gregs. |
| 9427 | * x86-64-tdep.c (x86_64_register_raw_size_table): Delete. |
| 9428 | (x86_64_register_info_table): Add. |
| 9429 | (X86_64_NUM_REGS, X86_64_NUM_GREGS): Add. |
| 9430 | (x86_64_register_raw_size, x86_64_register_virtual_type), |
| 9431 | (x86_64_register_name, _initialize_x86_64_tdep): Changed to reflect new |
| 9432 | general x86_64_register_info_table. |
| 9433 | (i386_gdbarch_init): gdbarch_register_bytes is now set |
| 9434 | dynamicaly during initialization. |
| 9435 | * regformats/reg-x86-64.dat: Synced with changes to registers above. |
| 9436 | * gdbserver/linux-x86-64-low.c: Ditto. |
| 9437 | |
| 9438 | 2002-03-27 Daniel Jacobowitz <drow@mvista.com> |
| 9439 | |
| 9440 | * gdbserver/server.c (main): Call target_signal_to_host_p |
| 9441 | and target_signal_to_host on signals received from the remote. |
| 9442 | * gdbserver/remote-utils.c (prepare_resume_reply): Call |
| 9443 | target_signal_from_host on signals sent to the remote. |
| 9444 | * gdbserver/server.h: Add prototypes. Include "gdb/signals.h". |
| 9445 | * gdbserver/Makefile.in: Add signals.o. Add -I${INCLUDE_DIR}. |
| 9446 | |
| 9447 | 2002-03-27 Daniel Jacobowitz <drow@mvista.com> |
| 9448 | |
| 9449 | * signals/signals.c: Include "server.h" in gdbserver build. |
| 9450 | (target_signal_from_name): Don't use STREQ. |
| 9451 | (_initialize_signals): Likewise. Don't include function in |
| 9452 | gdbserver build. |
| 9453 | |
| 9454 | 2002-03-27 Daniel Jacobowitz <drow@mvista.com> |
| 9455 | |
| 9456 | * signals.c: Moved to... |
| 9457 | * signals/signals.c: Here. |
| 9458 | * Makefile (signals.o): Update. |
| 9459 | |
| 9460 | 2002-03-26 Jeff Law (law@redhat.com) |
| 9461 | |
| 9462 | * somread.c (som_symtab_read): Remove some commented out code and |
| 9463 | updated related comments. Do not set the minimal symbol table to |
| 9464 | mst_solib_trampoline for ST_ENTRY symbols with SS_LOCAL scope |
| 9465 | in a dynamic executable. |
| 9466 | * hppa-tdep.c (find_proc_framesize): Sanely handle the case |
| 9467 | where we are unable to find the minimal symbol for the given |
| 9468 | PC value. |
| 9469 | |
| 9470 | 2002-03-25 Jeff Law (law@redhat.com) |
| 9471 | |
| 9472 | * linux-proc.c (read_mapping): Scan up to end of line for filename. |
| 9473 | |
| 9474 | 2002-03-25 Michal Ludvig <mludvig@suse.cz> |
| 9475 | |
| 9476 | * x86-64-tdep.c (x86_64_skip_prologue): Rewritten from scratch. |
| 9477 | |
| 9478 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
| 9479 | |
| 9480 | * command.h: Update copyright. |
| 9481 | (struct cmd_list_element): Replace definition with opaque |
| 9482 | declaration. |
| 9483 | (enum cmd_types): Document that it will eventually be moved to |
| 9484 | cli/cli-decode.h |
| 9485 | (CMD_DEPRECATED, DEPRECATED_WARN_USER): Delete macros. |
| 9486 | (MALLOCED_REPLACEMENT): Delete macro. |
| 9487 | * Makefile.in (cli_decode_h): Add $(command_h). |
| 9488 | (top.o, completer.o, maint.o): Add dependency on $(cli_decode_h). |
| 9489 | * top.c: Include "cli/cli-decode.h". |
| 9490 | * completer.c: Include "cli/cli-decode.h". |
| 9491 | * maint.c: Include "cli/cli-decode.h". |
| 9492 | * cli/cli-decode.h: Include "command.h". |
| 9493 | (enum command_class): Delete. |
| 9494 | (enum cmd_types): Comment out. |
| 9495 | (enum cmd_auto_boolean): Delete. |
| 9496 | (enum var_types): Delete. |
| 9497 | |
| 9498 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
| 9499 | |
| 9500 | * cli/cli-decode.c: Include "gdb_assert.h". |
| 9501 | (add_set_or_show_cmd): New static function. |
| 9502 | (add_set_cmd): Rewrite. Use add_set_or_show_cmd. |
| 9503 | (add_show_from_set): Rewrite. Use add_set_or_show_cmd. Don't copy |
| 9504 | all fields, such as func, from the set command. |
| 9505 | |
| 9506 | 2002-03-23 Andrew Cagney <ac131313@redhat.com> |
| 9507 | |
| 9508 | * MAINTAINERS (sh-elf): Change warning flag to -w. |
| 9509 | |
| 9510 | 2002-03-23 Andrew Cagney <cagney@redhat.com> |
| 9511 | |
| 9512 | * defs.h (error): Add printf format attribute. |
| 9513 | * thread-db.c (thread_from_lwp): Fix error format string. |
| 9514 | * stack.c (parse_frame_specification): Ditto. |
| 9515 | * cli/cli-decode.c (undef_cmd_error): Ditto. |
| 9516 | * scm-lang.c (scm_lookup_name): Ditto. |
| 9517 | * tracepoint.c (trace_error): Ditto. |
| 9518 | * remote-utils.c (usage): Ditto. |
| 9519 | * remote.c (compare_sections_command): Ditto. |
| 9520 | Fix PR gdb/328. |
| 9521 | |
| 9522 | 2002-03-22 Andrew Cagney <ac131313@redhat.com> |
| 9523 | |
| 9524 | * gdbtypes.c (append_composite_type_field): New function. |
| 9525 | (init_composite_type): New function. |
| 9526 | * gdbtypes.h (append_composite_type_field): Declare. |
| 9527 | (init_composite_type): Ditto. |
| 9528 | |
| 9529 | 2002-03-22 Elena Zannoni <ezannoni@redhat.com> |
| 9530 | |
| 9531 | * ppc-linux-tdep.c (ppc_sysv_abi_use_struct_convention): New |
| 9532 | function. |
| 9533 | * ppc-tdep.h (ppc_sysv_abi_use_struct_convention): Export. |
| 9534 | * rs6000-tdep.c (rs6000_gdbarch_init): Use different |
| 9535 | structure returning convention for SYSV ABI case, but not |
| 9536 | for GNU/Linux, FreeBSD, or NetBSD. |
| 9537 | |
| 9538 | 2002-03-22 Daniel Jacobowitz <drow@mvista.com> |
| 9539 | |
| 9540 | * symtab.h (lookup_block_symbol): Add mangled_name argument |
| 9541 | to prototype. |
| 9542 | |
| 9543 | * symmisc.c (maintenance_check_symtabs): Call lookup_block_symbol |
| 9544 | with new mangled_name argument. |
| 9545 | * linespec.c (decode_line_1): Likewise. |
| 9546 | * valops (value_of_this): Likewise. |
| 9547 | * symtab.c (lookup_transparent_type): Likewise. |
| 9548 | (lookup_symbol_aux): Likewise. Accept new mangled_name argument. |
| 9549 | (lookup_symbol): If we are given a mangled name, pass it down |
| 9550 | to lookup_symbol_aux. |
| 9551 | (lookup_block_symbol): If we are given a mangled name to check |
| 9552 | against, only return symbols which match it. |
| 9553 | |
| 9554 | 2002-03-22 Christopher Faylor <cgf@redhat.com> |
| 9555 | |
| 9556 | * win32-nat.c (child_create_inferior): Check for proper shell to use |
| 9557 | here, in case the user changes it on the fly. |
| 9558 | (_initialize_inftarg): Remove shell path considerations. |
| 9559 | |
| 9560 | 2002-03-21 Elena Zannoni <ezannoni@redhat.com> |
| 9561 | |
| 9562 | * rs6000-tdep.c (rs6000_gdbarch_init): Use correct max size value |
| 9563 | for gdbarch_max_register_raw_size and max_register_virtual_size. |
| 9564 | Adjust copyright year. |
| 9565 | |
| 9566 | 2002-03-21 Daniel Jacobowitz <drow@mvista.com> |
| 9567 | |
| 9568 | * dbxread.c (process_one_symbol): Extend the first N_SLINE |
| 9569 | in a function to cover the entire beginning of the function |
| 9570 | as well if it does not already. |
| 9571 | |
| 9572 | 2002-03-21 Tom Rix <trix@redhat.com> |
| 9573 | |
| 9574 | * rs6000-nat.c (rs6000_ptrace32): Renamed from ptrace32. |
| 9575 | (rs6000_ptrace64): Renamed from ptrace64. |
| 9576 | |
| 9577 | 2002-03-20 Martin M. Hunt <hunt@redhat.com> |
| 9578 | |
| 9579 | * gdbserver/remote-utils.c (remote_open): Don't call |
| 9580 | getprotobyname, we're all using TCP here so just use |
| 9581 | IPPROTO_TCP. |
| 9582 | * gdbserver/gdbreplay.c (remote_open): Ditto. |
| 9583 | |
| 9584 | 2002-03-20 Martin M. Hunt <hunt@redhat.com> |
| 9585 | |
| 9586 | * regcache.c (_initialize_regcache): No need to call |
| 9587 | build_regcache() at this time; it gets called whenever |
| 9588 | the gdbarch changes. |
| 9589 | |
| 9590 | 2002-03-20 David O'Brien <obrien@FreeBSD.org> |
| 9591 | |
| 9592 | * sparc-nat.c: Include sys/param.h where possible. |
| 9593 | |
| 9594 | 2002-03-20 Daniel Jacobowitz <drow@mvista.com> |
| 9595 | |
| 9596 | Fix PR gdb/422. |
| 9597 | * c-lang.c (c_create_fundamental_type): Handle FT_COMPLEX, |
| 9598 | FT_DBL_PREC_COMPLEX, and FT_EXT_PREC_COMPLEX. |
| 9599 | * dwarf2read.c (read_base_type): Set TYPE_TARGET_TYPE for |
| 9600 | complex types. |
| 9601 | * stabsread.c (rs6000_builtin_type): Likewise. |
| 9602 | (read_sun_floating_type): Likewise. |
| 9603 | |
| 9604 | 2002-03-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
| 9605 | |
| 9606 | * stabsread.c (read_member_functions): Remove skip code for duplicate |
| 9607 | constructor/destructor methods. Use standard parsing for these |
| 9608 | methods and just do not chain them to the list of methods after |
| 9609 | parsing. |
| 9610 | |
| 9611 | 2002-03-19 Alexandre Oliva <aoliva@redhat.com> |
| 9612 | |
| 9613 | * coffread.c: Remove redundant static declarations. Replace |
| 9614 | occurrences of `PTR' with `void *'. |
| 9615 | * elfread.c, mdebugread.c, minsyms.c, mipsread.c: Likewise. |
| 9616 | * top.h (quit_cover): Likewise. |
| 9617 | * defs.h (catch_errors): Likewise. |
| 9618 | |
| 9619 | 2002-03-18 Andrew Cagney <ac131313@redhat.com> |
| 9620 | |
| 9621 | * defs.h (XMALLOC): Define. |
| 9622 | * gdb-events.sh (XMALLOC): Delete macro. |
| 9623 | * gdb-events.c, gdb-events.h: Regenerate. |
| 9624 | * gdbarch.sh (XMALLOC): Delete macro. |
| 9625 | * gdbarch.c: Regenerate. |
| 9626 | * serial.c (XMALLOC): Delete macro. |
| 9627 | * ui-file.c (XMALLOC): Ditto. |
| 9628 | * ser-unix.h (XMALLOC): Ditto. |
| 9629 | * sh-tdep.c (XMALLOC): Ditto. |
| 9630 | * ui-out.c (XMALLOC): Ditto. |
| 9631 | * utils.c (XMALLOC): Ditto. |
| 9632 | * i386-tdep.c (XMALLOC): Ditto. |
| 9633 | * gdb-events.c (XMALLOC): Ditto. |
| 9634 | * d10v-tdep.c (XMALLOC): Ditto. |
| 9635 | * cli-out.c (XMALLOC): Ditto. |
| 9636 | |
| 9637 | * cli-out.c, d10v-tdep.c, gdb-events.c: Update copyright. |
| 9638 | * gdb-events.sh, i386-tdep.c, ser-unix.h, serial.c: Ditto. |
| 9639 | * ui-file.c, ui-out.c: Ditto. |
| 9640 | |
| 9641 | 2002-03-18 Andrew Cagney <ac131313@redhat.com> |
| 9642 | |
| 9643 | * command.h (struct cmd_list_element): Add field context. |
| 9644 | (set_cmd_context, get_cmd_context): Declare. |
| 9645 | * cli/cli-decode.h: Ditto. |
| 9646 | * cli/cli-decode.c (get_cmd_context): New function. |
| 9647 | (set_cmd_context): New function. |
| 9648 | (add_cmd): Initialize context. |
| 9649 | Part of fixing PR gdb/145 and PR gdb/146. |
| 9650 | |
| 9651 | 2002-03-17 Andrew Cagney <ac131313@redhat.com> |
| 9652 | |
| 9653 | * cli/cli-decode.c (cmd_type): New function. |
| 9654 | * command.h (cmd_type): Declare. |
| 9655 | * infrun.c (set_schedlock_func): Call function cmd_type. |
| 9656 | * kod.c (kod_set_os): Call cmd_type. |
| 9657 | * cris-tdep.c (cris_version_update): Use function cmd_type. |
| 9658 | (cris_mode_update, cris_abi_update): Ditto. |
| 9659 | |
| 9660 | * command.h: (execute_cmd_post_hook): Declare. |
| 9661 | (execute_cmd_pre_hook): Declare. |
| 9662 | * cli/cli-script.c (clear_hook_in_cleanup): New function. |
| 9663 | (execute_cmd_post_hook, execute_cmd_pre_hook): New |
| 9664 | functions. Execute pre/post hook while ensuring that afterwords |
| 9665 | hook_in is cleared. |
| 9666 | * top.c (execute_command): Use execute_cmd_post_hook, and |
| 9667 | execute_cmd_pre_hook to execute pre/post commands. |
| 9668 | * infrun.c (normal_stop): Pass stop_command and not pre_hook to |
| 9669 | hook_stop_stub. |
| 9670 | (hook_stop_stub): Call execute_cmd_pre_hook. |
| 9671 | |
| 9672 | 2002-03-17 Andrew Cagney <ac131313@redhat.com> |
| 9673 | |
| 9674 | * kod.c (kod_set_os): Revert previous change. Is called by ``info |
| 9675 | set'' and this leads to a core dump. Move xstrdup of |
| 9676 | operating_system to after check that it is not NULL. |
| 9677 | |
| 9678 | 2002-03-17 Andrew Cagney <ac131313@redhat.com> |
| 9679 | |
| 9680 | * kod.c (kod_set_os): Remove unnecessary check that |
| 9681 | ``command->type'' is set_cmd. |
| 9682 | |
| 9683 | * valprint.c (set_input_radix): Use input_radix. |
| 9684 | (set_output_radix): Use output_radix. |
| 9685 | (set_input_radix_1, set_output_radix_1): Add FIXME - bad radix |
| 9686 | isn't reverted. |
| 9687 | |
| 9688 | 2002-03-16 Andrew Cagney <ac131313@redhat.com> |
| 9689 | |
| 9690 | * value.h (struct value): Delete field ``substring_addr''. Change |
| 9691 | aligner fields to force_doublest_align, force_longest_align, |
| 9692 | force_core_addr_align and force_pointer_aligh. |
| 9693 | |
| 9694 | * value.h (struct value): Fix typo in above change. |
| 9695 | |
| 9696 | 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
| 9697 | |
| 9698 | * ia64-tdep.c (ia64_gdbarch_init): Call set_gdbarch_frame_args_skip, |
| 9699 | to fix internal_error from ``maintenance print architecture''. |
| 9700 | |
| 9701 | 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
| 9702 | |
| 9703 | * cp-valprint.c (cp_is_vtbl_ptr_type): Handle vtbl field type |
| 9704 | for gcc versions after gcc-2.8.1. |
| 9705 | |
| 9706 | 2002-03-16 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
| 9707 | |
| 9708 | * eval.c (evaluate_subexp_standard): Fix setup of ``this'' pointer |
| 9709 | for method resolution. Restore adjustment of ``this'' pointer after |
| 9710 | calling value_struct_elt, which was accidentally removed during the |
| 9711 | HP merge. |
| 9712 | |
| 9713 | 2002-03-15 Andrew Cagney <ac131313@redhat.com> |
| 9714 | |
| 9715 | * eval.c (evaluate_subexp_standard): Pass ``selected_frame'' to |
| 9716 | value_of_register. |
| 9717 | * findvar.c (value_of_register): Add ``frame'' parameter. Pass to |
| 9718 | get_saved_register. |
| 9719 | * value.h (value_of_register): Update. |
| 9720 | |
| 9721 | 2002-03-14 Richard Henderson <rth@redhat.com> |
| 9722 | |
| 9723 | * configure.in: Detect declaration for canonicalize_file_name. |
| 9724 | * utils.c (canonicalize_file_name): Declare, if needed. |
| 9725 | (gdb_realpath): Prefer realpath if available and usable. |
| 9726 | * config.in, configure: Rebuild. |
| 9727 | |
| 9728 | 2002-03-14 Richard Henderson <rth@redhat.com> |
| 9729 | |
| 9730 | * dwarf2read.c (read_array_type): Accept DW_FORM_data8 as |
| 9731 | a constant array bound. |
| 9732 | |
| 9733 | * MAINTAINERS: Add myself to write-after-approval. |
| 9734 | |
| 9735 | 2002-03-14 Michael Snyder <msnyder@redhat.com> |
| 9736 | |
| 9737 | * symfile.c (syms_from_objfile): Return immediately if no syms. |
| 9738 | (symbol_file_add): Return immediately if no syms. |
| 9739 | (find_sym_fns): Return immediately if no syms. |
| 9740 | |
| 9741 | 2002-03-13 Michal Ludvig <mludvig@suse.cz> |
| 9742 | |
| 9743 | * gdbserver/remote-util.c (remote_open): Print remote-side's |
| 9744 | IP address when remote debugging over the network. |
| 9745 | |
| 9746 | 2002-03-12 David O'Brien <obrien@FreeBSD.org> |
| 9747 | |
| 9748 | * config/sparc/fbsd.mh: Fix copyright. |
| 9749 | * config/sparc/fbsd.mt: Likewise. |
| 9750 | |
| 9751 | 2002-03-11 Richard Earnshaw <rearnsha@arm.com> |
| 9752 | |
| 9753 | * MAINTAINERS: Fix typo in name of gdb warnings option. |
| 9754 | (x86-64): Fix formating so that this can be parsed by awk. |
| 9755 | |
| 9756 | 2002-03-10 Daniel Jacobowitz <drow@mvista.com> |
| 9757 | |
| 9758 | * Makefile.in (defs_h): Add $(INCLUDE_DIR)/gdb/signals.h. |
| 9759 | * defs.h: Include "gdb/signals.h". |
| 9760 | (enum target_signal): Move to $(INCLUDE_DIR)/gdb/signals.h. |
| 9761 | |
| 9762 | 2002-03-10 Michal Ludvig <mludvig@suse.cz> |
| 9763 | |
| 9764 | * x86-64-tdep.h (sys/reg.h, x86_64_regmap): Moved to x86-64-linux-nat.c |
| 9765 | * x86-64-linux-nat.c (sys/reg.h, x86_64_regmap): Moved here |
| 9766 | from x86-64-tdep.h |
| 9767 | |
| 9768 | 2002-03-10 Daniel Jacobowitz <drow@mvista.com> |
| 9769 | Don Howard <dhoward@redhat.com> |
| 9770 | |
| 9771 | * mips-tdep.c (ST0_FR): Define. |
| 9772 | (mips2_fp_compat): New function, temporarily disabled. |
| 9773 | (mips_read_fp_register_single): New function. |
| 9774 | (mips_read_fp_register_double): New function. |
| 9775 | (mips_print_register): Use them. |
| 9776 | (do_fp_register_row): Likewise. |
| 9777 | |
| 9778 | 2002-03-09 Andrew Cagney <ac131313@redhat.com> |
| 9779 | |
| 9780 | * MAINTAINERS: Add Jim Ingham and Klee Dienes to ``write after |
| 9781 | approval''. |
| 9782 | |
| 9783 | 2002-03-08 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
| 9784 | |
| 9785 | * stabsread.c (read_member_functions): Fix is_stub test for |
| 9786 | static member functions, improve comment. |
| 9787 | |
| 9788 | 2002-03-07 Richard Earnshaw <rearnsha@arm.com> |
| 9789 | |
| 9790 | * remote-rdi.c (myprint): Replace 'PTR' with 'void *'. |
| 9791 | (mywrite, mywritec, mypause, myreadc, mygets): Likewise. |
| 9792 | (_initialize_remote_rdi): Use add_set_boolean_cmd to register |
| 9793 | commands that set boolean values. |
| 9794 | (arm_rdi_remove_breakpoint): Rewrite to avoid uninitialized warning. |
| 9795 | (arm_rdi_resume): Always initialize PC. |
| 9796 | (arm_rdi_open): Don't use rslt as a boolean. |
| 9797 | (arm_rdi_create_inferior, arm_rdi_close, arm_rdi_resume) |
| 9798 | (arm_rdi_fetch_registers, arm_rdi_store_registers) |
| 9799 | (arm_rdi_xfer_memory, arm_rdi_files_info, arm_rdi_kill) |
| 9800 | (arm_rdi_insert_breakpoint, arm_rdi_remove_breakpoint): Likewise. |
| 9801 | |
| 9802 | 2002-03-06 Alexandre Oliva <aoliva@redhat.com> |
| 9803 | |
| 9804 | * configure.in (gdb_cv_bigtoc): Check for -bbigtoc on AIX. |
| 9805 | * configure: Rebuilt. |
| 9806 | |
| 9807 | 2002-03-06 Stephane Carrez <Stephane.Carrez@worldnet.fr> |
| 9808 | |
| 9809 | * m68hc11-tdep.c (_initialize_m68hc11_tdep): Don't set tm_print_insn. |
| 9810 | (m68hc11_gdbarch_init): But use set_gdbarch_print_insn instead. |
| 9811 | |
| 9812 | 2002-03-06 Andrew Cagney <ac131313@redhat.com> |
| 9813 | |
| 9814 | * cli/cli-decode.c (set_cmd_completer): New function. |
| 9815 | * command.h (set_cmd_completer): Declare. |
| 9816 | * cli/cli-decode.h (set_cmd_completer): Ditto. |
| 9817 | |
| 9818 | * breakpoint.c (_initialize_breakpoint): Use set_cmd_completer. |
| 9819 | * cli/cli-cmds.c (init_cli_cmds): Ditto. |
| 9820 | * win32-nat.c (_initialize_inftarg): Ditto. |
| 9821 | * remote-rdi.c (_initialize_remote_rdi): Ditto. |
| 9822 | * proc-api.c (_initialize_proc_api): Ditto. |
| 9823 | * hppa-tdep.c (_initialize_hppa_tdep): Ditto. |
| 9824 | * source.c (_initialize_source): Ditto. |
| 9825 | * exec.c (_initialize_exec): Ditto. |
| 9826 | * solib.c (_initialize_solib): Ditto. |
| 9827 | * top.c (init_main): Ditto. |
| 9828 | * tracepoint.c (_initialize_tracepoint): Ditto. |
| 9829 | * symfile.c (_initialize_symfile): Ditto. |
| 9830 | * printcmd.c (_initialize_printcmd): Ditto. |
| 9831 | * infcmd.c (_initialize_infcmd): Ditto. |
| 9832 | * corefile.c (_initialize_core): Ditto. |
| 9833 | |
| 9834 | 2002-03-05 Andrew Cagney <ac131313@redhat.com> |
| 9835 | |
| 9836 | * MAINTAINERS (Past Maintainers): Add Frank Ch. Eigler. |
| 9837 | |
| 9838 | 2002-03-05 Andrew Cagney <ac131313@redhat.com> |
| 9839 | |
| 9840 | * MAINTAINERS: Fix Mac OS X and Objective-C/C++. |
| 9841 | |
| 9842 | 2002-03-05 Andrew Cagney <ac131313@redhat.com> |
| 9843 | |
| 9844 | * NEWS: Update headings, 5.2 has branched. |
| 9845 | |
| 9846 | 2002-03-04 Daniel Jacobowitz <drow@mvista.com> |
| 9847 | |
| 9848 | * gdbserver/linux-low.c (PTRACE_XFER_TYPE): Change to long. |
| 9849 | (num_regs, regmap): Move inside HAVE_LINUX_USRREGS. |
| 9850 | (register_addr, REGISTER_RAW_SIZE): Likewise. |
| 9851 | (usr_store_inferior_registers): Use PTRACE_XFER_TYPE. |
| 9852 | * gdbserver/linux-x86-64-low.c: Remove extra #endif. |
| 9853 | |
| 9854 | 2002-03-03 Michal Ludvig <mludvig@suse.cz> |
| 9855 | |
| 9856 | * MAINTAINERS (x86-64): Add myself. |
| 9857 | * x86-64-tdep.c (x86_64_push_arguments): Fixed typo naregs->nregs, |
| 9858 | changed value_ptr -> struct value * |
| 9859 | |
| 9860 | 2002-03-01 David O'Brien <obrien@FreeBSD.org> |
| 9861 | |
| 9862 | * configure.host (sparc64-*-freebsd): Add. |
| 9863 | * configure.tgt: Likewise. |
| 9864 | * config/sparc/fbsd.mh: New file. |
| 9865 | * config/sparc/fbsd.mt: Likewise. |
| 9866 | * config/sparc/nm-fbsd.h: Likewise. |
| 9867 | * config/sparc/tm-fbsd.h: Likewise. |
| 9868 | |
| 9869 | 2002-03-01 Daniel Jacobowitz <drow@mvista.com> |
| 9870 | |
| 9871 | * config/djgpp/fnchange.lst: Add regformats/reg-i386-linux.dat and |
| 9872 | regformats/reg-s390x.dat. |
| 9873 | |
| 9874 | 2002-03-01 Andrew Cagney <ac131313@redhat.com> |
| 9875 | |
| 9876 | * utils.c: Add FIXME explaining true/false problem. |
| 9877 | |
| 9878 | 2002-02-28 Andrew Cagney <ac131313@redhat.com> |
| 9879 | |
| 9880 | * MAINTAINERS (Past Maintainers): Add J.T. Conklin. |
| 9881 | |
| 9882 | 2002-02-28 Michael Chastain <mec@shout.net> |
| 9883 | |
| 9884 | * MAINTAINERS: Fix typo: gdb.satbs -> gdb.stabs . |
| 9885 | |
| 9886 | 2002-02-28 Daniel Jacobowitz <drow@mvista.com> |
| 9887 | |
| 9888 | * gdbserver/linux-s390-low.c: New file. |
| 9889 | * regformats/reg-s390.dat: New file. |
| 9890 | * regformats/reg-s390x.dat: New file. |
| 9891 | * gdbserver/configure.srv: Add S/390. |
| 9892 | * gdbserver/Makefile.in: Add S/390. |
| 9893 | * configure.tgt: Enable gdbserver for S/390. |
| 9894 | |
| 9895 | 2002-02-28 Eli Zaretskii <eliz@is.elta.co.il> |
| 9896 | |
| 9897 | * go32-nat.c (_initialize_go32_nat): Don't use periods in the |
| 9898 | first line of the doc string for "info dos", except at the end of |
| 9899 | the sentence, since the short help stops at the first period. |
| 9900 | |
| 9901 | 2002-02-28 Jason Merrill <jason@redhat.com> |
| 9902 | |
| 9903 | * dwarf2read.c (dwarf_cfi_name): Add new codes. |
| 9904 | |
| 9905 | 2002-02-27 Fred Fish <fnf@redhat.com> |
| 9906 | |
| 9907 | * blockframe.c (generic_fix_call_dummy): Fix obvious typo in |
| 9908 | comment (dumy -> dummy). |
| 9909 | |
| 9910 | 2002-02-27 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
| 9911 | |
| 9912 | * symtab.c (gdb_mangle_name): Handle fully mangled v3 abi physnames. |
| 9913 | |
| 9914 | 2002-02-27 Rodney Brown <rbrown64@csc.com.au> |
| 9915 | |
| 9916 | * utils.c (gdb_realpath): Add pathconf fallback for sco3.2v5. |
| 9917 | |
| 9918 | 2002-02-27 Daniel Jacobowitz <drow@mvista.com> |
| 9919 | |
| 9920 | * gdbserver/acconfig.h: New file. |
| 9921 | * gdbserver/i387-fp.c: New file. |
| 9922 | * gdbserver/i387-fp.h: New file. |
| 9923 | * gdbserver/linux-x86-64.c: New file. |
| 9924 | * regformats/reg-x86-64.dat: New file. |
| 9925 | * configure.tgt: Add x86_64-*-linux* gdbserver support. |
| 9926 | * gdbserver/configure.srv: Add x86_64-*-linux* and regset support. |
| 9927 | * gdbserver/configure.in: Add support for regsets. |
| 9928 | * gdbserver/config.in: Regenerate. |
| 9929 | * gdbserver/configure: Regenerate. |
| 9930 | * gdbserver/Makefile.in: Likewise. Add $(linux_low_h). |
| 9931 | * gdbserver/linux-low.h: New file. |
| 9932 | * gdbserver/linux-low.c: Include "linux-low.h". Add support |
| 9933 | for regsets. |
| 9934 | * gdbserver/linux-arm-low.c: Include "linux-low.h". |
| 9935 | * gdbserver/linux-ia64-low.c: Include "linux-low.h". |
| 9936 | * gdbserver/linux-m68k-low.c: Include "linux-low.h". |
| 9937 | * gdbserver/linux-mips-low.c: Include "linux-low.h". |
| 9938 | * gdbserver/linux-ppc-low.c: Include "linux-low.h". |
| 9939 | * gdbserver/linux-sh-low.c: Include "linux-low.h". |
| 9940 | * gdbserver/linux-i386-low.c: Include "linux-low.h". Include |
| 9941 | "i387-fp.h". Add PTRACE_GETREGS and friends. |
| 9942 | * gdbserver/regcache.c (supply_register): New function. |
| 9943 | (supply_register_by_name): New function. |
| 9944 | (collect_register): New function. |
| 9945 | (collect_register_by_name): New function. |
| 9946 | |
| 9947 | 2002-02-27 Daniel Jacobowitz <drow@mvista.com> |
| 9948 | |
| 9949 | * gdbserver/Makefile.in (INTERNAL_CFLAGS): Remove -DGDBSERVER. |
| 9950 | (config.status): Add configure.srv dependency. |
| 9951 | (server_h): Add config.h dependency. |
| 9952 | |
| 9953 | 2002-02-27 Daniel Jacobowitz <drow@mvista.com> |
| 9954 | |
| 9955 | * regformats/reg-i386-linux.dat: New file, with $orig_eax. |
| 9956 | * gdbserver/Makefile.in: Add rules for reg-i386-linux.o. |
| 9957 | * gdbserver/configure.srv: Change i386-*-linux* to use |
| 9958 | reg-i386-linux.o. |
| 9959 | |
| 9960 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
| 9961 | |
| 9962 | * x86-64-tdep.c: Re-indent. Update copyright date. |
| 9963 | |
| 9964 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
| 9965 | |
| 9966 | From Michal Ludvig <mludvig@suse.cz>: |
| 9967 | * x86-64-tdep.c (value.h): Delete. |
| 9968 | (gdb_assert.h): Include. |
| 9969 | (x86_64_register_convert_to_virtual, |
| 9970 | x86_64_register_convert_to_raw ): Add check which lets only |
| 9971 | floating-point values to be converted. |
| 9972 | (value_push): Delete. |
| 9973 | (x86_64_push_arguments): Order of arguments pushed on stack fixed. |
| 9974 | (i386_gdbarch_init): Number of register_bytes fixed. |
| 9975 | |
| 9976 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
| 9977 | |
| 9978 | * MAINTAINERS: Add x86-64 target. |
| 9979 | |
| 9980 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
| 9981 | |
| 9982 | * memattr.c (mem_command): Eliminate ``true'' and ``false''. |
| 9983 | * osfsolib.c (solib_map_sections): Ditto. |
| 9984 | * irix5-nat.c (solib_map_sections): Ditto. |
| 9985 | * corelow.c (gdb_check_format): Ditto. |
| 9986 | * symfile.c (symfile_bfd_open): Ditto. |
| 9987 | * solib.c (solib_map_sections): Ditto. |
| 9988 | Fix PR gdb/354. |
| 9989 | |
| 9990 | 2002-02-26 Andrew Cagney <ac131313@redhat.com> |
| 9991 | |
| 9992 | * remote.c (_initialize_remote): By default, disable ``e'' and |
| 9993 | ``E'' step out-of-range packets. |
| 9994 | |
| 9995 | 2002-02-26 Andreas Schwab <schwab@suse.de> |
| 9996 | |
| 9997 | * config/m68k/tm-linux.h (FRAME_SAVED_PC): Define as |
| 9998 | m68k_linux_frame_saved_pc. |
| 9999 | (IN_SIGTRAMP): Define as m68k_linux_in_sigtramp instead of |
| 10000 | in_sigtramp. |
| 10001 | (SIGCONTEXT_PC_OFFSET): Remove. |
| 10002 | * m68klinux-nat.c (m68k_linux_frame_saved_pc, |
| 10003 | m68k_linux_sigtramp_saved_pc): New functions. |
| 10004 | (IS_SIGTRAMP, IS_RT_SIGTRAMP): Define. |
| 10005 | (SIGCONTEXT_PC_OFFSET): Moved here from config/m68k/tm-linux.h. |
| 10006 | (UCONTEXT_PC_OFFSET): Define. |
| 10007 | (m68k_linux_in_sigtramp): Renamed from in_sigtramp, handle both |
| 10008 | non-RT and RT signal trampolines. |
| 10009 | |
| 10010 | 2002-02-26 Richard Earnshaw <rearnsha@arm.com> |
| 10011 | |
| 10012 | * config/arm/tm-embed.h (TARGET_UPAGES): Delete. |
| 10013 | (TARGET_NBPG, STACK_END_ADDR): Delete |
| 10014 | (VARIABLES_INSIDE_BLOCK): Delete. |
| 10015 | |
| 10016 | 2002-02-25 Andrew Cagney <ac131313@redhat.com> |
| 10017 | |
| 10018 | * utils.c (perror_with_name): Make string parameter constant. |
| 10019 | (print_sys_errmsg): Ditto. |
| 10020 | (query): Ditto. |
| 10021 | * defs.h (perror_with_name): Update. |
| 10022 | (print_sys_errmsg): Update. |
| 10023 | (query): Update. |
| 10024 | |
| 10025 | 2002-02-25 Daniel Jacobowitz <drow@mvista.com> |
| 10026 | |
| 10027 | From Eliot Dresselhaus <eliot@ayrnetworks.com>: |
| 10028 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Fix typo. |
| 10029 | |
| 10030 | 2002-02-25 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
| 10031 | |
| 10032 | * rs6000-nat.c (set_host_arch): Do not switch to a new architecture |
| 10033 | if it already matches the current architecture from the exec file. |
| 10034 | Include arch-utils.h for gdbarch_info_init prototype. |
| 10035 | * Makefile.in (rs6000-nat.o): Update dependencies. |
| 10036 | |
| 10037 | 2002-02-25 Eli Zaretskii <eliz@is.elta.co.il> |
| 10038 | |
| 10039 | * config/djgpp/djconfig.sh: Set NM=nm and CFLAGS="-g -O2" in the |
| 10040 | list of exported variables. |
| 10041 | |
| 10042 | 2002-02-24 Daniel Jacobowitz <drow@mvista.com> |
| 10043 | |
| 10044 | * gdbserver/configure.srv: New file. |
| 10045 | * gdbserver/configure.in: Use configure.srv instead |
| 10046 | of the host/target makefile fragments. Set GDBSERVER_DEPFILES |
| 10047 | from it. |
| 10048 | * gdbserver/configure: Regenerated. |
| 10049 | * gdbserver/terminal.h: New file. |
| 10050 | * gdbserver/Makefile.in: Update for configure changes. Remove |
| 10051 | more unneeded include paths. |
| 10052 | |
| 10053 | 2002-02-24 Andrew Cagney <ac131313@redhat.com> |
| 10054 | |
| 10055 | From wiz at danbala: |
| 10056 | * config/sparc/tm-sp64.h: Fix grammar and typos. |
| 10057 | Fix PR gdb/287. |
| 10058 | |
| 10059 | 2002-02-24 Andrew Cagney <ac131313@redhat.com> |
| 10060 | |
| 10061 | * lin-lwp.c, thread-db.c, defs.h, cris-tdep.c: Replace ``Linux'' |
| 10062 | with either ``GNU/Linux'' or ``Linux kernel''. Update copyright. |
| 10063 | * m68klinux-nat.c, sparc-linux-nat.c, x86-64-linux-nat.c: Ditto. |
| 10064 | * x86-64-linux-tdep.c, gregset.h, gdb_wait.h: Ditto. |
| 10065 | * ia64-linux-nat.c, infrun.c, linux-proc.c: Ditto. |
| 10066 | * proc-service.c, i386-linux-tdep.c, ppc-linux-tdep.c: Ditto. |
| 10067 | * s390-tdep.c: Ditto. |
| 10068 | * config/nm-linux.h, config/alpha/nm-linux.h: Ditto. |
| 10069 | * config/alpha/tm-alpha.h, config/alpha/tm-alphalinux.h: |
| 10070 | * config/alpha/xm-alphalinux.h, config/i386/nm-linux.h: Ditto. |
| 10071 | * config/i386/nm-x86-64.h, config/i386/tm-linux.h: Ditto. |
| 10072 | * config/m68k/tm-linux.h, config/mips/nm-linux.h: Ditto. |
| 10073 | * config/mips/tm-linux.h, config/mips/xm-linux.h: Ditto. |
| 10074 | * config/powerpc/tm-linux.h, config/s390/nm-linux.h: Ditto. |
| 10075 | * config/s390/tm-linux.h, config/sh/tm-linux.h: Ditto. |
| 10076 | * config/sparc/nm-linux.h, config/sparc/tm-linux.h: Ditto. |
| 10077 | * config/sparc/tm-sp64linux.h, config/sparc/xm-linux.h: Ditto. |
| 10078 | Fix PR gdb/378. |
| 10079 | |
| 10080 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
| 10081 | |
| 10082 | * lin-thread.c: Delete file. |
| 10083 | * configure.in (gdb_cv_struct_reg_r_gs): Update comment to refer |
| 10084 | to gdb_proc_service.h. |
| 10085 | * configure: Re-generate. |
| 10086 | |
| 10087 | * ocd.c (ocd_open): Do not try to open the "ocd" device. |
| 10088 | * serial.c (serial_open): Delete check for "ocd". |
| 10089 | Fix PR gdb/349. |
| 10090 | |
| 10091 | * Makefile.in (linux-thread.o): Delete target. |
| 10092 | * linux-thread.c: Delete file. |
| 10093 | |
| 10094 | * config/djgpp/fnchange.lst: Rename bfd/elf32-sh64.c. Tweak other |
| 10095 | renamed SH files to be consistent. |
| 10096 | |
| 10097 | * symtab.c (sort_search_symbols): Use xfree. |
| 10098 | |
| 10099 | 2002-02-23 Richard Earnshaw <rearnsha@arm.com> |
| 10100 | |
| 10101 | * arm-linux-tdep.c (arm_linux_init_abi): Register |
| 10102 | IN_SOLIB_CALL_TRAMPOLINE and SKIP_TRAMPOLINE_CODE |
| 10103 | * config/arm/tm-linux.h (IN_SOLIB_CALL_TRAMPOLINE): Replace old |
| 10104 | definition with undef, since we don't want the sysvr4 definition. |
| 10105 | (SKIP_TRAMPOLINE_CODE): Likewise. |
| 10106 | |
| 10107 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
| 10108 | |
| 10109 | From 2002-02-22 Alfred M. Szmidt <ams@kemisten.nu>: |
| 10110 | |
| 10111 | * configure.in: (AC_CHECK_FUNCS) Added test for |
| 10112 | canonicalize_file_name Regenerated. |
| 10113 | * config.in, configure: Regenerated. |
| 10114 | * utils.c: (gdb_realpath) If HAVE_CANONICALIZE_FILE_NAME is |
| 10115 | defined use canonicalize_file_name. |
| 10116 | |
| 10117 | 2002-02-23 Michael Chastain <mec@shout.net> |
| 10118 | |
| 10119 | * MAINTAINERS: Remove Michael Chastain from "paper trail" list. |
| 10120 | |
| 10121 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
| 10122 | |
| 10123 | * README: Remove references to cygnus.com. |
| 10124 | * MAINTAINERS: Change Past Maintainer addresses to ``foo at bar |
| 10125 | dot com'' form. Remove references to cygnus.com and sourceware. |
| 10126 | |
| 10127 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
| 10128 | |
| 10129 | From 2002-02-19 Paul Eggert <eggert@twinsun.com>: |
| 10130 | * Makefile.in (VER): Change "head -1" to "sed q", since POSIX |
| 10131 | 1003.1-2001 no longer allows "head -1". |
| 10132 | * gdb/Makefile.in (version.c): Likewise. |
| 10133 | * gdb/doc/Makefile.in (GDBvn.texi): Likewise. |
| 10134 | * gdb/CONTRIBUTE: Change "diff -c3" to "diff -c", which is |
| 10135 | equivalent. POSIX 1003.1-2001 no longer allows "diff -c3". |
| 10136 | |
| 10137 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
| 10138 | |
| 10139 | * cli/cli-decode.c (cmd_cfunc_eq): New function. |
| 10140 | * command.h (cmd_cfunc_eq): Declare. |
| 10141 | * cli/cli-decode.h (cmd_cfunc_eq): Ditto. |
| 10142 | |
| 10143 | * cli/cli-cmds.h (is_complete_command): Change parameter to a |
| 10144 | ``struct cmd_list_element *''. |
| 10145 | * cli/cli-cmds.c (is_complete_command): Update. Use |
| 10146 | cmd_cfunc_eq. |
| 10147 | * top.c (execute_command): Pass the command to |
| 10148 | is_complete_command. |
| 10149 | * tracepoint.c: Replace function.cfunc with cmd_cfunc_eq. |
| 10150 | |
| 10151 | 2002-02-23 Andrew Cagney <ac131313@redhat.com> |
| 10152 | |
| 10153 | From 2002-02-20 Martin Schwidefsky <schwidefsky@de.ibm.com>: |
| 10154 | * config/s390/tm-s390.h (GDB_TARGET_IS_ESAME): Use renamed |
| 10155 | architecture defines. |
| 10156 | * s390-tdep.c (s390_gdbarch_init): Likewise. |
| 10157 | |
| 10158 | 2002-02-23 Richard Earnshaw <rearnsha@arm.com> |
| 10159 | |
| 10160 | * arm-linux-tdep.c (arm_linux_extract_return_value): Make static. |
| 10161 | (arm_linux_push_arguments): Likewise. |
| 10162 | (arm_linux_init_abi): Register them. Also register linux-specific |
| 10163 | call_dummy_words. |
| 10164 | (find_minsym_and_objfile): Use strcmp, not STREQ. |
| 10165 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Delete. |
| 10166 | (arm_linux_call_dummy_words): Delete declaration. |
| 10167 | (EXTRACT_RETURN_VALUE, PUSH_ARGUMENTS): Delete. |
| 10168 | (arm_linux_extract_return_value, arm_linux_push_arguments): Delete |
| 10169 | declarations. |
| 10170 | (LOWEST_PC): Delete. |
| 10171 | |
| 10172 | 2002-02-23 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
| 10173 | |
| 10174 | * maint.c (print_section_info): Do not prepend `0x' to filepos |
| 10175 | output, it will be handled by local_hex_string_custom. |
| 10176 | |
| 10177 | 2002-02-23 Richard Earnshaw <rearnsha@arm.com> |
| 10178 | |
| 10179 | * arm-linux-nat.c (store_newfpe_single): Use regcache_collect. |
| 10180 | (store_newfpe_double, store_newfpe_extended, store_fpregister) |
| 10181 | (store_register, store_regs, fill_gregset, fill_fpregset): Likewise. |
| 10182 | |
| 10183 | 2002-02-22 Jim Blandy <jimb@redhat.com> |
| 10184 | |
| 10185 | Indicate that the bcache functions don't change the strings |
| 10186 | they're passed. |
| 10187 | * bcache.h (bcache, hash): Add `const' keywords to declarations. |
| 10188 | * bcache.c (bcache, hash): Add `const' keywords to definitions. |
| 10189 | |
| 10190 | 2002-02-22 Pierre Muller <muller@ics.u-strasbg.fr> |
| 10191 | |
| 10192 | * win32-nat.c (child_create_inferior): Fix create flags setting bug. |
| 10193 | |
| 10194 | 2002-02-21 Christopher Faylor <cgf@redhat.com> |
| 10195 | |
| 10196 | * win32-nat.c (register_loaded_dll): Just use raw name when we can't |
| 10197 | find the complete path to a loaded DLL. |
| 10198 | |
| 10199 | 2002-02-21 Fred Fish <fnf@redhat.com> |
| 10200 | |
| 10201 | * dbxread.c (process_one_symbol): When finding an N_FUN symbol |
| 10202 | that marks the end of the range of a function, enter a line number |
| 10203 | entry that has a line number of zero and a PC offset that matches |
| 10204 | the end of the function. This starts a range of PC's for which no |
| 10205 | line number information is known. |
| 10206 | * symtab.c (find_pc_sect_line): If our best fit is in a range of |
| 10207 | PC's for which no line number info is found (line number is zero) |
| 10208 | then we didn't find any valid line information. |
| 10209 | * symtab.h: Document use of zero line number entry. |
| 10210 | |
| 10211 | 2002-02-21 Elena Zannoni <ezannoni@redhat.com> |
| 10212 | |
| 10213 | * ppc-linux-nat.c (PTRACE_GETVRREGS, PTRACE_SETVRREGS): Define. |
| 10214 | (have_ptrace_getvrregs): Define for run time checks. |
| 10215 | (gdb_vrregset_t): New type for Altivec register handling. |
| 10216 | (fetch_register, store_register): Fetch/store altivec register |
| 10217 | when needed. |
| 10218 | (fetch_altivec_register, store_altivec_register): New functions. |
| 10219 | (supply_vrregset, fill_vrregset): New functions. |
| 10220 | (fetch_altivec_registers, store_altivec_registers): New functions. |
| 10221 | (fetch_ppc_registers, store_ppc_registers): Fetch/store altivec |
| 10222 | registers as well. |
| 10223 | |
| 10224 | 2002-02-21 Jiri Smid <smid@suse.cz> |
| 10225 | |
| 10226 | * config/i386/x86-64linux.mh (NATDEPFILES): Remove x86-64-nat.o. |
| 10227 | |
| 10228 | 2002-02-21 Richard Earnshaw <rearnsha@arm.com> |
| 10229 | |
| 10230 | * Makefile.in (armnbsd-nat.o): Update dependencies. |
| 10231 | * armnbsd-nat.c (supply_gregset): New function. Common code to |
| 10232 | supply the integer register set. |
| 10233 | (supply_fparegset): New function. Similar for FPA registers. |
| 10234 | (fetch_regs, fetch_fp_regs): Use them. |
| 10235 | (fetch_core_registers): Likewise. |
| 10236 | (fetch_elfcore_registers): New function. |
| 10237 | (arm_netbsd_elfcore_fns): New core-file type specification. |
| 10238 | (_initialize_arm_netbsd_nat): Register it. |
| 10239 | |
| 10240 | 2002-02-21 Richard Earnshaw <rearnsha@arm.com> |
| 10241 | |
| 10242 | * armnbsd-nat.c: Include gdbcore.h. |
| 10243 | (FETCH_INFERIOR_REGISTERS): Just error if this isn't defined. |
| 10244 | (fetch_regs, fetch_fp_regs, store_regs, store_fp_regs): Add explicit |
| 10245 | 'void' to declaration, to shut up ARI. |
| 10246 | (fetch_core_registers): Make static. Rewrite using supply_register. |
| 10247 | (arm_netbsd_core_fns): New core-file type specification. |
| 10248 | (_initialize_arm_netbsd_nat): New function. |
| 10249 | |
| 10250 | 2002-02-21 Christopher Faylor <cgf@redhat.com> |
| 10251 | |
| 10252 | * win32-nat.c (register_loaded_dll): Correctly check for invalid handle |
| 10253 | value. |
| 10254 | |
| 10255 | 2002-02-20 Christopher Faylor <cgf@redhat.com> |
| 10256 | |
| 10257 | * win32-nat.c (register_loaded_dll): Handle case where FindFirstFile |
| 10258 | fails. |
| 10259 | |
| 10260 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
| 10261 | |
| 10262 | * jv-exp.y (parse_number): Change type of implicit longs |
| 10263 | to builtin_type_uint64. |
| 10264 | |
| 10265 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
| 10266 | |
| 10267 | * gdbserver/linux-low.c (mywait): Change argument to waitpid |
| 10268 | to be an integer instead of a `union wait'. |
| 10269 | |
| 10270 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
| 10271 | |
| 10272 | * mips-linux-nat.c: Call the operating system GNU/Linux. |
| 10273 | * mips-linux-tdep.c: Likewise. |
| 10274 | * mips-tdep.c: Likewise. |
| 10275 | |
| 10276 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
| 10277 | |
| 10278 | Fix PR gdb/265. |
| 10279 | * jv-exp.y (parse_number): Handle 64-bit integers. |
| 10280 | |
| 10281 | 2002-02-20 Daniel Jacobowitz <drow@mvista.com> |
| 10282 | |
| 10283 | * gdbserver/configure.in: Remove AM_PROC_CC_STDC. Change |
| 10284 | AC_STDC_HEADERS to AC_HEADER_STDC. |
| 10285 | * gdbserver/configure: Regenerated. |
| 10286 | |
| 10287 | 2002-02-20 Richard Earnshaw <rearnsha@arm.com> |
| 10288 | |
| 10289 | * arc-tdep.c (get_longjmp_target): Only compile this function if JB_PC |
| 10290 | is defined. |
| 10291 | * sparc-tdep.c (get_longjmp_target): Likewise. |
| 10292 | |
| 10293 | 2002-02-20 Richard Earnshaw <rearnsha@arm.com> |
| 10294 | |
| 10295 | * News: Add news about ARM and Multi-arch. Mention the new target |
| 10296 | arm*-*-netbsd*. |
| 10297 | |
| 10298 | 2002-02-19 Jim Blandy <jimb@redhat.com> |
| 10299 | |
| 10300 | * stabsread.c (error_type_complaint): Improve error message. |
| 10301 | |
| 10302 | 2002-02-19 Daniel Jacobowitz <drow@mvista.com> |
| 10303 | |
| 10304 | * gdbserver/README: Update documentation. |
| 10305 | * gdbserver/configure.in: Update configury to match documentation. |
| 10306 | * gdbserver/Makefile.in: Likewise. |
| 10307 | * gdbserver/configure: Regenerated. |
| 10308 | * gdbserver/aclocal.m4: New file, generated by aclocal. |
| 10309 | * gdbserver/config.in: New file, generated by autoheader. |
| 10310 | |
| 10311 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
| 10312 | |
| 10313 | * config/djgpp/fnchange.lst: Add change rules for armnbsd-tdep.c and |
| 10314 | armnbsd-nat.c. |
| 10315 | |
| 10316 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
| 10317 | |
| 10318 | * arm-tdep.h (enum arm_float_model): New enum. |
| 10319 | (struct gdbarch_tdep): Add fp_model. |
| 10320 | * arm-tdep.c (arm_gdbarch_init): Set fp_model in tdep. Defer setting |
| 10321 | up floating-point conversions until we know the floating-point model |
| 10322 | in use by the inferior. Don't complain about being unable to |
| 10323 | determine the ABI of the inferior when we don't have one. |
| 10324 | (arm_extract_return_value): Support different floating-point models. |
| 10325 | (arm_store_return_value): Likewise. |
| 10326 | * armnbsd-tdep.c (arm_netbsd_aout_init_abi): Set fp_model in tdep to |
| 10327 | ARM_FLOAT_SOFT. |
| 10328 | (arm_netbsd_elf_init_abi): Set fp_model to ARM_FLOAT_SOFT_VFP. |
| 10329 | |
| 10330 | 2002-02-19 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
| 10331 | |
| 10332 | * i386-tdep.c (i386_gdbarch_init): Eliminate incorrect use |
| 10333 | of ``current_gdbarch''. |
| 10334 | |
| 10335 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
| 10336 | |
| 10337 | * armnbsd-nat.c : ANSIfy all function declarations. |
| 10338 | (fetch_register, fetch_regs, fetch_fp_register, fetch_fp_regs): New. |
| 10339 | (fetch_inferior_registers): Re-implement in terms of above. |
| 10340 | (store_register, store_regs, store_fp_register, store_fp_regs): New. |
| 10341 | (store_inferior_registers): Re-implement in terms of above. |
| 10342 | |
| 10343 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
| 10344 | |
| 10345 | * arm-linux-nat.c: Linux -> GNU/Linux when not talking about the |
| 10346 | kernel. |
| 10347 | * arm-linux-tdep.c: Likewise. |
| 10348 | * config/arm/tm-linux.h: Likewise. |
| 10349 | |
| 10350 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
| 10351 | |
| 10352 | * configure.tgt (arm*-*-netbsd*): This variant is now fully multi-arch. |
| 10353 | * config/arm/nbsd.mt (TM_FILE): Delete. |
| 10354 | * config/arm/tm-nbsd.h: Delete. |
| 10355 | |
| 10356 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
| 10357 | |
| 10358 | * arm-tdep.c (arm_gdbarch_init): Initialize TARGET_CHAR_SIGNED. |
| 10359 | Initialize CALL_DUMMY_LENGTH. |
| 10360 | |
| 10361 | 2002-02-19 Richard Earnshaw <rearnsha@arm.com> |
| 10362 | |
| 10363 | * armnbsd-tdep.c (arm_netbsd_aout_in_solib_call_trampoline): New |
| 10364 | function. |
| 10365 | (arm_netbsd_aout_init_abi): Initialize IN_SOLIB_CALL_TRAMPOLINE. |
| 10366 | * config/arm/tm-nbsd.h: Don't include config/tm-nbsd.h, it only |
| 10367 | defines one thing and that is incorrect for this port. |
| 10368 | (IN_SOLIB_CALL_TRAMPOLINE): Delete. |
| 10369 | |
| 10370 | 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
| 10371 | |
| 10372 | * go32-nat.c: add i386-tdep.h include to import FP_REGNUM_P macro. |
| 10373 | |
| 10374 | 2002-02-18 Pierre Muller <muller@ics.u-strasbg.fr> |
| 10375 | |
| 10376 | * win32-nat.c (display_selector): New function. Displays information |
| 10377 | about the information returned by GetThreadSelectorEntry API function. |
| 10378 | (display_selectors): New function. Displays the infomation of |
| 10379 | the selector given as argument, or of CS, DS ans FS selectors |
| 10380 | if no argument is given. |
| 10381 | ( _initialize_inftarg): Add "w32" as info prefix command. |
| 10382 | Add "info w32 selector" as command calling display_selectors. |
| 10383 | |
| 10384 | 2002-02-19 Pierre Muller <muller@ics.u-strasbg.fr> |
| 10385 | |
| 10386 | * i386-tdep.c (get_longjmp_target): Fix compilation failure |
| 10387 | by setting dummy values to JB_PC and JB_ELEMENT_SIZE |
| 10388 | if not defined. |
| 10389 | |
| 10390 | 2002-02-18 Richard Earnshaw <rearnsha@arm.com> |
| 10391 | |
| 10392 | * config/arm/nbsd.mt (TDEPFILES): Add solib-sunos.o. |
| 10393 | |
| 10394 | 2002-02-18 Richard Earnshaw <rearnsha@arm.com> |
| 10395 | |
| 10396 | * arm-tdep.c (arm_set_call_dummy_breakpoint_offset): New function. |
| 10397 | (arm_fix_call_dummy): Call it. |
| 10398 | (arm_call_dummy_breakpoint_offset): Delete. |
| 10399 | (arm_gdbarch_init): Initialize call_dummy_breakpoint_offset. |
| 10400 | * config/arm/tm-arm.h (CALL_DUMMY_BREAKPOINT_OFFSET): Delete. |
| 10401 | |
| 10402 | 2002-02-18 Andrew Cagney <ac131313@redhat.com> |
| 10403 | |
| 10404 | * gdbarch.sh (FRAME_CHAIN_VALID): Only require at level 2. |
| 10405 | Default to func_frame_chain_valid. |
| 10406 | * gdbarch.h, gdbarch.c: Re-generate. |
| 10407 | * frame.h (FRAME_CHAIN_VALID): Delete definition. |
| 10408 | |
| 10409 | 2002-02-18 Elena Zannoni <ezannoni@redhat.com> |
| 10410 | |
| 10411 | * ppc-linux-nat.c: Update copyright. |
| 10412 | (fetch_register, store_register): Add tid parameter, don't compute |
| 10413 | tid here. |
| 10414 | (fetch_ppc_registers, store_ppc_registers): Add tid |
| 10415 | parameter. Pass it along to callees. |
| 10416 | (fetch_inferior_registers, store_inferior_registers): Compute tid |
| 10417 | here, and pass it to calleed functions. |
| 10418 | (fill_gregset, supply_fpregset): Clean up formatting. |
| 10419 | |
| 10420 | 2002-02-18 Richard Earnshaw <rearnsha@arm.com> |
| 10421 | |
| 10422 | * arm-tdep.c (arm_gdbarch_init): Initialize coerce_float_to_double. |
| 10423 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Delete. |
| 10424 | |
| 10425 | 2002-02-18 Richard Earnshaw <rearnsha@arm.com> |
| 10426 | |
| 10427 | * gdbarch.sh (GET_LONGJMP_TARGET): Add rule. |
| 10428 | * gdbarch.c gdbarch.h: Regenerate. |
| 10429 | * breakpoint.c (create_longjmp_breakpoint): Always compile this |
| 10430 | function. |
| 10431 | (breakpoint_reset): Test GET_LONGJMP_TARGET_P(). |
| 10432 | * infrun.c (GET_LONGJMP_TARGET): Delete default definition. |
| 10433 | (handle_inferior_event): Test GET_LONGJMP_TARGET_P(). |
| 10434 | |
| 10435 | * arm-tdep.h (struct gdbarch_tdep): Add jb_pc and jb_elt_size fields. |
| 10436 | * arm-tdep.c (arm_get_longjmp_target): New function. |
| 10437 | (arm_gdbarch_init): Initialize jb_pc to -1. If ABI handler changes |
| 10438 | this to a positive value register arm_get_longjmp_target as the |
| 10439 | longjmp handler. |
| 10440 | * arm-linux-tdep.c (arm_get_longjmp_target): Delete. |
| 10441 | (arm_linux_init_abi): Set up longjmp description in tdep. |
| 10442 | * armnbsd-nat.c (get_longjmp_target): Delete. |
| 10443 | * armnbsd-tdep.c (arm_netbsd_init_abi_common): Set up longjmp |
| 10444 | description in tdep. |
| 10445 | * config/arm/tm-nbsd.h (JB_ELEMENT_SIZE, JB_PC): Delete. |
| 10446 | (get_longjmp_target): Delete declaration. |
| 10447 | (GET_LONGJMP_TARGET): Delete. |
| 10448 | * config/arm/tm-linux.h (arm_get_longjmp_target): Delete declaration. |
| 10449 | (GET_LONGJMP_TARGET): Delete. |
| 10450 | |
| 10451 | 2002-02-17 Kevin Buettner <kevinb@redhat.com> |
| 10452 | |
| 10453 | From Peter Schauer <pes@regent.e-technik.tu-muenchen.de>: |
| 10454 | * ia64-tdep.c (ia64_gdbarch_init): Eliminate incorrect use |
| 10455 | of ``current_gdbarch''. |
| 10456 | |
| 10457 | 2002-02-17 Tom Tromey <tromey@redhat.com> |
| 10458 | |
| 10459 | * cli/cli-cmds.c (compare_strings): New function. |
| 10460 | (complete_command): Only print each unique item once. |
| 10461 | * completer.h (complete_line): Declare. |
| 10462 | * completer.c (complete_line): New function. |
| 10463 | (line_completion_function): Use it. |
| 10464 | |
| 10465 | 2002-02-16 Andrew Cagney <ac131313@redhat.com> |
| 10466 | |
| 10467 | * gdbarch.sh (TARGET_LONG_DOUBLE_BIT): Default to 64. |
| 10468 | * gdbarch.h, gdbarch.c: Re-generate. |
| 10469 | |
| 10470 | 2002-02-16 Daniel Jacobowitz <drow@mvista.com> |
| 10471 | |
| 10472 | * valarith.c (value_x_unop): Fix decrement; support post-decrement. |
| 10473 | |
| 10474 | 2002-02-16 Daniel Jacobowitz <drow@mvista.com> |
| 10475 | |
| 10476 | From Peter Schauer <Peter.Schauer@Regent.E-Technik.TU-Muenchen.DE>: |
| 10477 | * valops.c (value_arg_coerce): Don't take the address of a reference |
| 10478 | to convert an argument to a reference. |
| 10479 | |
| 10480 | 2002-02-15 Christopher Faylor <cgf@redhat.com> |
| 10481 | |
| 10482 | * win32-nat.c (get_image_name): New function. |
| 10483 | (handle_load_dll): Use get_image_name function. |
| 10484 | (get_child_debug_event): Avoid registering debug events until possibly |
| 10485 | execed process is started. |
| 10486 | (child_create_inferior): Allow invocation via shell so that command |
| 10487 | line redirection, etc. works ok. |
| 10488 | (_initialize_inftarg): Add new command: "set shell" to control whether |
| 10489 | a shell is used to start a process. |
| 10490 | |
| 10491 | 2002-02-15 Daniel Jacobowitz <drow@mvista.com> |
| 10492 | |
| 10493 | * gdbserver/linux-mips-low.c (cannot_fetch_register): Use find_regno |
| 10494 | instead of find_register_by_number. |
| 10495 | (cannot_store_register): Likewise. |
| 10496 | |
| 10497 | 2002-02-14 Pierre Muller <muller@ics.u-strasbg.fr> |
| 10498 | |
| 10499 | * dwarf2read.c: Replace fprintf (stderr, ...) by |
| 10500 | fprintf_unfiltered (gdb_stderr, ...). |
| 10501 | |
| 10502 | 2002-02-15 Daniel Jacobowitz <drow@mvista.com> |
| 10503 | |
| 10504 | * gdbserver/gdbserver.1: Document --attach. |
| 10505 | |
| 10506 | 2002-02-15 Richard Earnshaw <rearnsha@arm.com> |
| 10507 | |
| 10508 | * arm-tdep.h (struct gdbarch_tdep): Add fields for breakpoint |
| 10509 | descriptions. |
| 10510 | * arm-tdep.c (arm_default_arm_le_breakpoint) |
| 10511 | (arm_default_arm_be_breakpoint, arm_default_thumb_le_breakpoint) |
| 10512 | (arm_default_thumb_be_breakpoint): New. Initialize them from |
| 10513 | traditional breakpoint defines. |
| 10514 | (arm_breakpoint_from_pc): Use new gdbarch_tdep entries. |
| 10515 | (arm_gdbarch_init): Initialize new breakpoint variables. |
| 10516 | * arm-linux-tdep.c (arm_linux_arm_le_breakpoint): New. |
| 10517 | (arm_linux_init_abi): Initialize linux-specific breakpoint. |
| 10518 | * armnbsd-tdep.c (arm_nbsd_arm_le_breakpoint): New. |
| 10519 | (arm_netbsd_aout_init_abi, arm_netbsd_elf_init_abi): Split common |
| 10520 | code out to ... |
| 10521 | (arm_netbsd_init_abi_common): ... here; new function. |
| 10522 | * config/arm/tm-arm.h (ARM_LE_BREAKPOINT, ARM_BE_BREAKPOINT) |
| 10523 | (THUMB_LE_BREAKPOINT, THUMB_BE_BREAKPOINT): Delete. |
| 10524 | * config/arm/tm-linux.h (ARM_LE_BREAKPOINT): Delete. |
| 10525 | * config/arm/tm-nbsd.h (ARM_LE_BREAKPOINT): Delete. |
| 10526 | |
| 10527 | 2002-02-15 Richard Earnshaw <rearnsha@arm.com> |
| 10528 | |
| 10529 | * arm-tdep.h (enum arm_abi): New enum. |
| 10530 | (struct gdbarch_tdep): New structure. |
| 10531 | (LOWEST_PC): Provide a default. |
| 10532 | (arm_gdbarch_register_os_abi): Declare new function. |
| 10533 | * arm-tdep.c (arm_abi_names): New array. |
| 10534 | (process_note_abi_tag_sections): New function. |
| 10535 | (get_elfosabi): New function. |
| 10536 | (arm_gdbarch_register_os_abi): New function. |
| 10537 | (arm_gdbarch_init): Try to determine the ABI of the inferior. If |
| 10538 | support for that ABI has been built in, then call the appropriate |
| 10539 | configuration routine. Use gdbarch_num_regs() to get the number |
| 10540 | of registers. |
| 10541 | (arm_dump_tdep): New function. |
| 10542 | (arm_init_abi_eabi_v1, arm_init_abi_eabi_v2, arm_init_abi_apcs): New |
| 10543 | place-holder functions. |
| 10544 | (_initialize_arm_tdep): Register them. |
| 10545 | * config/arm/tm-arm.h (LOWEST_PC): Delete. |
| 10546 | |
| 10547 | * armnbsd-tdep.c: New file. |
| 10548 | * Makefile.in (armnbsd-tdep.o): Add dependencies. |
| 10549 | * config/arm/nbsd.mt (TDEPFILES): Add it. |
| 10550 | * config/arm/tm-nbsd.h (LOWEST_PC): Delete. |
| 10551 | |
| 10552 | * armnbsd-nat.c: Include regcache.h. |
| 10553 | * Makefile.in (armnbsd-nat.o): Update dependency list. |
| 10554 | |
| 10555 | * arm-tdep.c (arm_get_next_pc): Use printf_filtered for error message. |
| 10556 | |
| 10557 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
| 10558 | |
| 10559 | * gdbserver/Makefile.in: Fix typos in target rules. |
| 10560 | |
| 10561 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
| 10562 | |
| 10563 | Fix part of PR gdb/267. |
| 10564 | * linespec.c (find_methods): Handle constructors specially for now. |
| 10565 | |
| 10566 | 2002-02-14 Corinna Vinschen <vinschen@redhat.com> |
| 10567 | |
| 10568 | * arm-tdep.c (arm_push_arguments): Eliminate special float type |
| 10569 | handling. |
| 10570 | * config/arm/tm-arm.h (COERCE_FLOAT_TO_DOUBLE): Define to call |
| 10571 | standard_coerce_float_to_double(). |
| 10572 | |
| 10573 | 2002-02-14 Christopher Faylor <cgf@redhat.com> |
| 10574 | |
| 10575 | * config/i386/xm-cygwin.h: Revert inadvertent reinclusion of |
| 10576 | GDBINIT_FILENAME. |
| 10577 | |
| 10578 | 2002-02-14 Elena Zannoni <ezannoni@redhat.com> |
| 10579 | |
| 10580 | * rs6000-tdep.c (rs6000_gdbarch_init): Don't call |
| 10581 | find_variant_by_name, because it confuses the multiarch |
| 10582 | framework. Return NULL if there isn't an architecture with the |
| 10583 | user supplied name, instead of forcing a different one without |
| 10584 | recording the change with the multiarch machinery. |
| 10585 | (find_variant_by_name): Delete. |
| 10586 | |
| 10587 | 2002-02-14 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
| 10588 | |
| 10589 | * config/i386/i386sol2.mh (NATDEPFILES): Add i387-nat.o, needed by |
| 10590 | i386v4-nat.o now. Add gcore.o, Solaris x86 supports gcore. |
| 10591 | |
| 10592 | 2002-02-13 Martin M. Hunt <hunt@redhat.com> |
| 10593 | |
| 10594 | * stack.c (print_frame_info_base): When calling |
| 10595 | print_frame_info_listing_hook, set current_source_symtab. |
| 10596 | |
| 10597 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
| 10598 | |
| 10599 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS, |
| 10600 | and remove unused $(INCLUDE_DIR). |
| 10601 | Add regcache.c to OBS. |
| 10602 | Add generated register protocol files to clean target. |
| 10603 | Update dependencies for new objects, obsolete old target code. |
| 10604 | |
| 10605 | * gdbserver/linux-low.c: Remove all platform-specific code to |
| 10606 | new files. Remove various dead code. Update to use regcache |
| 10607 | functionality. |
| 10608 | * gdbserver/remote-utils.c (fromhex): Add return statement |
| 10609 | to quiet warning. |
| 10610 | (putpkt): Dynamically allocate buf2 because PBUFSIZ is no longer |
| 10611 | constant. |
| 10612 | (input_interrupt): Add integer parameter to match prototype |
| 10613 | of a signal handler. |
| 10614 | (outreg): Use register_data (). |
| 10615 | (prepare_resume_reply): Use gdbserver_expedite_regs. |
| 10616 | * gdbserver/server.c (main): Dynamically allocate own_buf because |
| 10617 | PBUFSIZ is no longer constant. Use registers_to_string () and |
| 10618 | registers_from_string (). |
| 10619 | * gdbserver/server.h: No longer include "defs.h". Add prototypes |
| 10620 | for error (), fatal (), and warning (). Update definition of |
| 10621 | PBUFSIZ to use regcache functionality. Add include guard. |
| 10622 | * gdbserver/utils.c (fatal): Add missing ``const''. |
| 10623 | (warning): New function. |
| 10624 | |
| 10625 | * regformats/regdat.sh: Include "regcache.h" in generated files. |
| 10626 | Provide init_registers () function. |
| 10627 | * regformats/regdef.h: Add prototype for set_register_cache (). |
| 10628 | Add include guard. |
| 10629 | |
| 10630 | * gdbserver/linux-arm-low.c: New file. |
| 10631 | * gdbserver/linux-i386-low.c: New file. |
| 10632 | * gdbserver/linux-ia64-low.c: New file. |
| 10633 | * gdbserver/linux-m68k-low.c: New file. |
| 10634 | * gdbserver/linux-mips-low.c: New file. |
| 10635 | * gdbserver/linux-ppc-low.c: New file. |
| 10636 | * gdbserver/linux-sh-low.c: New file. |
| 10637 | |
| 10638 | * gdbserver/regcache.c: New file. |
| 10639 | * gdbserver/regcache.h: New file. |
| 10640 | |
| 10641 | * gdbserver/low-linux.c: Removed obsolete file. |
| 10642 | |
| 10643 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
| 10644 | |
| 10645 | * config/arm/linux.mt: Update GDBSERVER_DEPFILES. |
| 10646 | * config/i386/linux.mt: Likewise. |
| 10647 | * config/ia64/linux.mt: Likewise. |
| 10648 | * config/m68k/linux.mh: Likewise. |
| 10649 | * config/powerpc/linux.mh: Likewise. |
| 10650 | * config/mips/linux.mt: Likewise. |
| 10651 | |
| 10652 | * config/sh/linux.mt: Add GDBSERVER_DEPFILES. |
| 10653 | |
| 10654 | * config/i386/i386lynx.mh: Mark gdbserver variables |
| 10655 | as (currently) obsolete for this target. |
| 10656 | * config/i386/nbsd.mt: Likewise. |
| 10657 | * config/i386/nbsdelf.mt: Likewise. |
| 10658 | * config/m32r/m32r.mt: Likewise. |
| 10659 | * config/m68k/m68klynx.mh: Likewise. |
| 10660 | * config/m68k/nbsd.mt: Likewise. |
| 10661 | * config/m68k/sun3os4.mh: Likewise. |
| 10662 | * config/mips/vr5000.mt: Likewise. |
| 10663 | * config/ns32k/nbsd.mt: Likewise. |
| 10664 | * config/pa/hppabsd.mh: Likewise. |
| 10665 | * config/pa/hppaosf.mh: Likewise. |
| 10666 | * config/powerpc/nbsd.mt: Likewise. |
| 10667 | * config/rs6000/rs6000lynx.mh: Likewise. |
| 10668 | * config/s390/s390.mt: Likewise. |
| 10669 | * config/s390/s390x.mt: Likewise. |
| 10670 | * config/sparc/sparclynx.mh: Likewise. |
| 10671 | * config/sparc/sun4os4.mh: Likewise. |
| 10672 | * config/i386/x86-64linux.mt: Likewise. |
| 10673 | * config/sparc/linux.mh: Likewise. |
| 10674 | |
| 10675 | 2002-02-14 Daniel Jacobowitz <drow@mvista.com> |
| 10676 | |
| 10677 | * configure.tgt: Configure gdbserver only for known working |
| 10678 | targets. Set ${build_gdbserver} instead of modifying ${configdirs}. |
| 10679 | * configure.in: Check ${build_gdbserver}. Put gdbserver/ into |
| 10680 | SUBDIRS if it is configured. Update comment for ${nativefile}. |
| 10681 | * configure: Regenerated. |
| 10682 | |
| 10683 | 2002-02-13 Michael Snyder <msnyder@redhat.com> |
| 10684 | |
| 10685 | * config/i386/i386v42mp.mh: Add gcore.o to NATDEPFILES. |
| 10686 | |
| 10687 | * gcore.c (gcore_command): Use gcore_default_target instead of NULL. |
| 10688 | (default_gcore_mach): Just return 0, work around a problem in bfd. |
| 10689 | (default_gcore_target): OK to return NULL if exec_bfd is null. |
| 10690 | (make_mem_sec): Use a cast, avoid a warning. |
| 10691 | |
| 10692 | * procfs.c (find_memory_regions_callback): Use a cast instead of |
| 10693 | calling host_pointer_to_address (which complains if |
| 10694 | sizeof (host pointer) != sizeof (target pointer)). |
| 10695 | (procfs_make_note_section): Avoid overflow in psargs string. |
| 10696 | |
| 10697 | * procfs.c (procfs_make_note_section): Make the default |
| 10698 | implementation return an error. |
| 10699 | |
| 10700 | 2002-02-13 Rodney Brown <rbrown64@csc.com.au> |
| 10701 | |
| 10702 | * procfs.c (procfs_make_note_section): Provide a default definition |
| 10703 | (for alpha-dec-osf4.0f). Fix typos. |
| 10704 | |
| 10705 | 2002-02-13 Elena Zannoni <ezannoni@redhat.com> |
| 10706 | |
| 10707 | * linux-proc.c: Add include of regcache.h. |
| 10708 | * Makefile.in (linux-proc.o): Add dependency on regcache.h. |
| 10709 | |
| 10710 | 2002-02-13 Andrew Cagney <ac131313@redhat.com> |
| 10711 | |
| 10712 | From 2002-01-18 Greg McGary <greg@mcgary.org>: |
| 10713 | * memattr.c (create_mem_region): Disallow useless empty region. |
| 10714 | Regions are half-open intervals, so allow [A..B) [B..C) as |
| 10715 | non-overlapping. |
| 10716 | |
| 10717 | 2002-02-13 Michael Chastain <mec@shout.net> |
| 10718 | |
| 10719 | * defs.h: Kill CONST_PTR. |
| 10720 | * c-lang.h (c_builtin_types): Change CONST_PTR to simple "const". |
| 10721 | * c-lang.c (c_builtin_types): Likewise. |
| 10722 | * ch-lang.c (ch_builtin_types): Likewise. |
| 10723 | * f-lang.c (f_builtin_types): Likewise. |
| 10724 | * language.c (unknown_builtin_types): Likewise. |
| 10725 | * m2-lang.c (m2_builtin_types): Likewise. |
| 10726 | * p-lang.c (pascal_builtin_types): Likewise. |
| 10727 | * scm-lang.c (c_builtin_types): Likewise. |
| 10728 | |
| 10729 | 2002-02-13 Keith Seitz <keiths@redhat.com> |
| 10730 | |
| 10731 | * arm-tdep.h (arm_get_next_pc): Add declaration. |
| 10732 | |
| 10733 | 2002-02-13 Richard Earnshaw <rearnsha@arm.com> |
| 10734 | |
| 10735 | * arm-tdep.c (arm_use_struct_convention): Make static. Move to be |
| 10736 | with other related struct-returning functions. |
| 10737 | (arm_extract_struct_value_address): New function. |
| 10738 | (arm_gdbarch_init): Initialize the above in multi-arch vector. Also |
| 10739 | initialize float_format, double_format and long_double_format as |
| 10740 | appropriate to the endianness of the target. |
| 10741 | * config/arm/tm-arm.h (TARGET_DOUBLE_FORMAT): Delete. |
| 10742 | (arm_use_struct_convention): Delete declaration. |
| 10743 | (USE_STRUCT_CONVENTION, EXTRACT_STRUCT_VALUE_ADDRESS): Delete. |
| 10744 | |
| 10745 | 2002-02-13 Keith Seitz <keiths@redhat.com> |
| 10746 | |
| 10747 | * defs.h (core_addr_to_string_nz): New function. |
| 10748 | |
| 10749 | 2002-02-13 Mark Kettenis <kettenis@gnu.org> |
| 10750 | |
| 10751 | Apply missing bits of 2002-01-15 patch. |
| 10752 | * i386v4-nat.c (supply_fpregset): Use i387_supply_fsave. |
| 10753 | (fill_fpregset): Use i387_fill_fsave. |
| 10754 | |
| 10755 | 2002-02-12 Keith Seitz <keiths@redhat.com> |
| 10756 | |
| 10757 | * utils.c (core_addr_to_string): Use phex instead of phex_nz. |
| 10758 | (core_addr_to_string_nz): New function. |
| 10759 | |
| 10760 | 2002-02-11 Richard Earnshaw <rearnsha@arm.com> |
| 10761 | |
| 10762 | * arm-linux-nat.c: Really include arm-tdep.h. |
| 10763 | * config/arm/tm-linux.h (struct type, struct value): Declare. |
| 10764 | |
| 10765 | 2002-02-11 Michael Snyder <msnyder@redhat.com> |
| 10766 | |
| 10767 | * procfs.c: Include elf-bfd.h (for elfcore_write functions). |
| 10768 | (gcore section): Ifdef for Solaris and Unixware only. |
| 10769 | (procfs_do_thread_registers): Unixware needs one lwpstatus |
| 10770 | per thread (not one prstatus or pstatus). |
| 10771 | (procfs_make_note_section): Iterate only over kernel threads (lwps), |
| 10772 | not over all gdb threads. For unixware, call elfcore_write_pstatus |
| 10773 | once before iterating over threads. |
| 10774 | |
| 10775 | 2002-02-11 Richard Earnshaw <rearnsha@arm.com> |
| 10776 | |
| 10777 | * arm-tdep.h: New file. |
| 10778 | * arm-tdep.c: Include arm-tdep.h. |
| 10779 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) |
| 10780 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) |
| 10781 | (arm_print_float_info, arm_register_type, convert_to_extended) |
| 10782 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) |
| 10783 | (arm_extract_return_value, arm_register_name): Make static. |
| 10784 | (arm_software_single_step): Similarly. Fix types in declaration. |
| 10785 | (arm_register_byte, arm_register_raw_size, arm_register_virtual_size) |
| 10786 | (arm_store_return_value, arm_store_struct_return): New functions. |
| 10787 | (arm_gdbarch_init): Register the above functions. Also register |
| 10788 | call_dummy_start_offset, sizeof_call_dummy_words, |
| 10789 | function_start_offset, inner_than, decr_pc_after_break, fp_regnum, |
| 10790 | sp_regnum, pc_regnum, register_bytes, num_regs, max_register_raw_size, |
| 10791 | max_register_virtual_size, register_size. Set up |
| 10792 | prologue_cache.saved_regs here, rather than ... |
| 10793 | (_initialize_arm_tdep): ... here. |
| 10794 | * config/arm/tm-arm.h (struct type, struct value): Delete forward |
| 10795 | declarations. |
| 10796 | (arm_addr_bits_remove, arm_smash_text_address, arm_saved_pc_after_call) |
| 10797 | (arm_skip_prologue, arm_call_dummy_words, arm_fix_call_dummy) |
| 10798 | (arm_print_float_info, arm_register_type, convert_to_extended) |
| 10799 | (arm_elf_make_msymbols_special, arm_coff_make_msymbol_special) |
| 10800 | (arm_extract_return_value, arm_register_name): Delete declarations. |
| 10801 | (SMASH_TEXT_ADDRESS, ADDR_BITS_REMOVE, FUNCTION_START_OFFSET) |
| 10802 | (SKIP_PROLOGUE, SAVED_PC_AFTER_CALL, INNER_THAN, BREAKPOINT_FROM_PC) |
| 10803 | (DECR_PC_AFTER_BREAK, PRINT_FLOAT_INFO, REGISTER_SIZE, NUM_REGS) |
| 10804 | (REGISTER_NAME, REGISTER_BYTES, REGISTER_BYTE, REGISTER_RAW_SIZE) |
| 10805 | (REGISTER_VIRTUAL_SIZE, MAX_REGISTER_RAW_SIZE) |
| 10806 | (MAX_REGISTER_VIRTUAL_SIZE, REGISTER_VIRTUAL_TYPE, STORE_STRUCT_RETURN) |
| 10807 | (EXTRACT_RETURN_VALUE, STORE_RETURN_VALUE, CALL_DUMMY_WORDS) |
| 10808 | (SIZEOF_CALL_DUMMY_WORDS, CALL_DUMMY_START_OFFSET, FIX_CALL_DUMMY) |
| 10809 | (SOFTWARE_SINGLE_STEP_P, SOFTWARE_SINGLE_STEP) |
| 10810 | (ELF_MAKE_MSYMBOL_SPECIAL, COFF_MAKE_MSYMBOL_SPECIAL) Delete. |
| 10811 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy, thumb_get_next_pc) |
| 10812 | (arm_get_next_pc): No-longer static -- these are needed by the RDI |
| 10813 | interface. |
| 10814 | * arm-linux-nat.c arm-linux-tdep.c armnbsd-nat.c: Include arm-tdep.h. |
| 10815 | * remote-rdi.c remote-rdp.c: Likewise. |
| 10816 | * Makefile.in (arm-linux-nat.o, arm-linux-tdep.o arm-tdep.o) |
| 10817 | (armnbsd-nat.o, remote-rdi.o, remote_rdp.o): Update dependencies. |
| 10818 | * config/arm/tm-nbsd.h (SOFTWARE_SINGLE_STEP_P): Delete bogus |
| 10819 | definition. |
| 10820 | |
| 10821 | * arm-tdep.h (ARM_A1_REGNUM, ARM_A4_REGNUM, ARM_AP_REGNUM) |
| 10822 | (ARM_SP_REGNUM, ARM_LR_REGNUM, ARM_PC_REGNUM, ARM_F0_REGNUM) |
| 10823 | (ARM_F3_REGNUM, ARM_F7_REGNUM, ARM_FPS_REGNUM, ARM_PS_REGNUM): Renamed |
| 10824 | from non-ARM_ prefixed definitions. |
| 10825 | * arm-tdep.c armnbsd-nat.c arm-linux-nat.c arm-linux-tdep.c: Update |
| 10826 | all uses of above. |
| 10827 | * remote-rdi.c remote-rdp.c: Likewise. |
| 10828 | * arm-linux-nat.c (ARM_CPSR_REGNUM): Renamed from CPSR_REGNUM. |
| 10829 | |
| 10830 | 2002-02-11 Richard Earnshaw <rearnsha@arm.com> |
| 10831 | |
| 10832 | * arm-tdep.c (arm_frameless_function_invocation) |
| 10833 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) |
| 10834 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) |
| 10835 | (arm_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) |
| 10836 | (arm_pop_frame, arm_get_next_pc): Make static. |
| 10837 | (arm_gdbarch_init): Register above in gdbarch structure. |
| 10838 | (arm_read_fp): Renamed from arm_target_read_fp. |
| 10839 | (arm_pc_is_thumb, arm_pc_is_thumb_dummy): Make static. |
| 10840 | * config/arm/tm-arm.h (arm_frameless_function_invocation) |
| 10841 | (arm_frame_args_address, arm_frame_locals_address, arm_frame_num_args) |
| 10842 | (arm_frame_chain, arm_init_extra_frame_info, arm_frame_saved_pc) |
| 10843 | (arm_target_read_fp, arm_frame_init_saved_regs, arm_push_dummy_frame) |
| 10844 | (arm_pop_frame, arm_get_next_pc, arm_pc_is_thumb) |
| 10845 | (arm_pc_is_thumb_dummy): Delete declarations. |
| 10846 | (INIT_EXTRA_FRAME_INFO, TARGET_READ_FP, FRAME_CHAIN) |
| 10847 | (FRAMELESS_FUNCTION_INVOCATION, FRAME_SAVED_PC, FRAME_ARGS_ADDRESS) |
| 10848 | (FRAME_LOCALS_ADDRESS, FRAME_NUM_ARGS, FRAME_ARGS_SKIP) |
| 10849 | (FRAME_INIT_SAVED_REGS, PUSH_DUMMY_FRAME, POP_FRAME): Delete. |
| 10850 | |
| 10851 | 2002-02-10 Daniel Jacobowitz <drow@mvista.com> |
| 10852 | |
| 10853 | * symtab.c (compare_search_syms): New function. |
| 10854 | (sort_search_symbols): New function. |
| 10855 | (search_symbols): Sort symbols after searching rather than |
| 10856 | before. |
| 10857 | |
| 10858 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
| 10859 | |
| 10860 | * NEWS: Linux -> GNU/Linux. |
| 10861 | |
| 10862 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
| 10863 | |
| 10864 | * gdbarch.sh: For for level one methods, disallow a definition |
| 10865 | when partially multi-arched. Add comments explaining rationale. |
| 10866 | * gdbarch.h: Re-generate. |
| 10867 | |
| 10868 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
| 10869 | |
| 10870 | * gdbarch.sh (EXTRA_STACK_ALIGNMENT_NEEDED): Don't require when |
| 10871 | multi-arch partial. |
| 10872 | |
| 10873 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
| 10874 | |
| 10875 | * gdbarch.sh: Map LEVEL onto a symbolic GT_LEVEL. Exit on bad |
| 10876 | field. Use diff -u. |
| 10877 | * gdbarch.c: Re-generate. |
| 10878 | |
| 10879 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
| 10880 | |
| 10881 | * config/mips/tm-mips.h (CALL_DUMMY_LOCATION): Delete. |
| 10882 | * gdbarch.sh (PUSH_RETURN_ADDRESS): Don't require when multi-arch |
| 10883 | partial. |
| 10884 | |
| 10885 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
| 10886 | |
| 10887 | * gdbarch.sh (REGISTER_CONVERTIBLE): Don't require when |
| 10888 | multi-arch partial. |
| 10889 | (PUSH_ARGUMENTS): Switch to using predefault. |
| 10890 | * gdbarch.c: Regenerate. |
| 10891 | |
| 10892 | 2002-02-10 Andrew Cagney <ac131313@redhat.com> |
| 10893 | |
| 10894 | * valops.c (PUSH_ARGUMENTS): Delete definition. |
| 10895 | * gdbarch.sh (PUSH_ARGUMENTS): Don't require when multi-arch |
| 10896 | partial. Default to default_push_arguments. |
| 10897 | * gdbarch.h, gdbarch.c: Regenerate. |
| 10898 | |
| 10899 | 2002-02-09 Andrew Cagney <ac131313@redhat.com> |
| 10900 | |
| 10901 | * defs.h (throw_exception): Rename return_to_top_level. Update |
| 10902 | comments. |
| 10903 | * utils.c (error_stream, internal_verror, quit): Ditto. |
| 10904 | * top.c (throw_exception, catcher): Ditto. |
| 10905 | * sparclet-rom.c (sparclet_load): Ditto. |
| 10906 | * remote.c (interrupt_query, minitelnet): Ditto. |
| 10907 | * remote-sds.c (interrupt_query): Ditto. |
| 10908 | * remote-mips.c (mips_error, mips_kill): Ditto. |
| 10909 | * ocd.c (interrupt_query): Ditto. |
| 10910 | * monitor.c (monitor_interrupt_query): Ditto. |
| 10911 | * m3-nat.c (suspend_all_threads, thread_resume_command): Ditto. |
| 10912 | * target.h: Update comment. |
| 10913 | |
| 10914 | * m3-nat.c, ocd.c, sparclet-rom.c: Update copyright. |
| 10915 | |
| 10916 | 2002-02-09 Andrew Cagney <ac131313@redhat.com> |
| 10917 | |
| 10918 | * gdbarch.sh (TARGET_LONG_DOUBLE_FORMAT): Default to |
| 10919 | default_double_format. |
| 10920 | * gdbarch.h, gdbarch.c: Re-generate. |
| 10921 | * findvar.c (floatformat_unknown): Delete variable definition. |
| 10922 | * doublest.h (floatformat_unknown): Delete variable declaration. |
| 10923 | |
| 10924 | 2002-02-09 Jim Blandy <jimb@redhat.com> |
| 10925 | |
| 10926 | * stabsread.c (read_type): Add code to parse Sun's syntax for |
| 10927 | prototyped function types. |
| 10928 | |
| 10929 | 2002-02-09 Andrew Cagney <ac131313@redhat.com> |
| 10930 | |
| 10931 | * Makefile.in (SUBDIR_CLI_INITS): Set to SUBDIR_CLI_SRCS. |
| 10932 | (SUBDIR_MI_INITS): Set to SUBDIR_MI_SRCS. |
| 10933 | |
| 10934 | 2002-02-09 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
| 10935 | |
| 10936 | * xcoffsolib.c (_initialize_xcoffsolib): Renamed from |
| 10937 | _initialize_solib. Fixes name clash with solib.c:_initialize_solib, |
| 10938 | now _initialize_xcoffsolib gets called again and overrides the |
| 10939 | commands from solib.c in a native configuration. |
| 10940 | |
| 10941 | 2002-02-09 Mark Kettenis <kettenis@gnu.org> |
| 10942 | |
| 10943 | * doublest.c (store_typed_floating): Don't try to return a value. |
| 10944 | Fixes PR gdb/290. |
| 10945 | |
| 10946 | 2002-02-08 Jim Blandy <jimb@redhat.com> |
| 10947 | |
| 10948 | * c-typeprint.c (c_type_print_varspec_suffix): If a function type |
| 10949 | is prototyped and has no arguments, print its argument list as |
| 10950 | `(void)'. |
| 10951 | |
| 10952 | 2002-02-08 Chris Demetriou <cgd@broadcom.com> |
| 10953 | |
| 10954 | * MAINTAINERS (write-after-approval): Add myself. |
| 10955 | (paper-trail): I've escaped! |
| 10956 | |
| 10957 | 2002-02-08 Christopher Faylor <cgf@redhat.com> |
| 10958 | |
| 10959 | * win32-nat.c (cygwin_pid_to_str): Revert 2002-02-08 change xasprintf |
| 10960 | changes. |
| 10961 | (_initialize_check_for_gdb_ini): Ditto. |
| 10962 | |
| 10963 | 2002-02-08 Martin M. Hunt <hunt@redhat.com> |
| 10964 | |
| 10965 | * win32-nat.c (cygwin_pid_to_str): Fix typo. |
| 10966 | xaprintf -> xasprintf. |
| 10967 | |
| 10968 | 2002-02-08 Pierre Muller <muller@ics.u-strasbg.fr> |
| 10969 | |
| 10970 | * win32-nat.c: Remove use of printf and sprintf functions. |
| 10971 | |
| 10972 | 2002-02-08 Richard Earnshaw <rearnsha@arm.com> |
| 10973 | |
| 10974 | * arm-tdep.c (arm_frame_chain_valid): Make static. |
| 10975 | (arm_push_arguments): Likewise. |
| 10976 | (arm_gdbarch_init): New function. |
| 10977 | (_initialize_arm_tdep): Call it. |
| 10978 | * config/arm/tm-arm.h (GDB_MULTI_ARCH): Set to 1. |
| 10979 | (TARGET_DOUBLE_FORMAT): Test TARGET_BYTE_ORDER, not target_byte_order. |
| 10980 | (FRAME_CHAIN_VALID): Delete. |
| 10981 | (arm_frame_chain_valid): Delete declaration. |
| 10982 | (PUSH_ARGUMENTS): Delete. |
| 10983 | (arm_push_arguments): Delete declaration. |
| 10984 | (CALL_DUMMY_P): Delete. |
| 10985 | |
| 10986 | 2002-02-08 Andrew Cagney <ac131313@redhat.com> |
| 10987 | Corinna Vinschen <vinschen@redhat.com> |
| 10988 | |
| 10989 | * gdbtypes.c (build_gdbtypes): Disable setting a specific float format |
| 10990 | on builtin float types. |
| 10991 | |
| 10992 | 2002-02-08 Daniel Jacobowitz <drow@mvista.com> |
| 10993 | |
| 10994 | * utils.c: Include <curses.h> before "bfd.h". |
| 10995 | * tui/tui-hooks.c: Likewise. |
| 10996 | * tui/tui.c: Likewise. |
| 10997 | * tui/tuiCommand.c: Likewise. |
| 10998 | * tui/tuiData.c: Likewise. |
| 10999 | * tui/tuiDataWin.c: Likewise. |
| 11000 | * tui/tuiDisassem.c: Likewise. |
| 11001 | * tui/tuiGeneralWin.c: Likewise. |
| 11002 | * tui/tuiIO.c: Likewise. |
| 11003 | * tui/tuiLayout.c: Likewise. |
| 11004 | * tui/tuiRegs.c: Likewise. |
| 11005 | * tui/tuiSource.c: Likewise. |
| 11006 | * tui/tuiSourceWin.c: Likewise. |
| 11007 | * tui/tuiStack.c: Likewise. |
| 11008 | * tui/tuiWin.c: Likewise. |
| 11009 | |
| 11010 | 2002-02-07 Elena Zannoni <ezannoni@redhat.com> |
| 11011 | |
| 11012 | * sh-tdep.c (sh_nofp_frame_init_saved_regs): Extend where[] array |
| 11013 | to include space for pseudoregs as well. Update loops accordingly. |
| 11014 | (sh_fp_frame_init_saved_regs): Ditto. |
| 11015 | (sh_init_extra_frame_info, sh_pop_frame): Split long lines. |
| 11016 | |
| 11017 | 2002-02-07 Andrew Cagney <ac131313@redhat.com> |
| 11018 | |
| 11019 | * MAINTAINERS: Andreas Schwab is GNU/Linux m68k maintainer. |
| 11020 | Add Richard Earnshaw to Arm maintainers. |
| 11021 | |
| 11022 | 2002-02-07 Andrew Cagney <ac131313@redhat.com> |
| 11023 | |
| 11024 | * defs.h (warning_begin): Delete declaration. |
| 11025 | |
| 11026 | * config/powerpc/tm-ppcle-eabi.h (TARGET_BYTE_ORDER_DEFAULT): |
| 11027 | Delete macro. |
| 11028 | |
| 11029 | 2002-02-07 Michael Snyder <msnyder@redhat.com> |
| 11030 | |
| 11031 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
| 11032 | Logic bug, remove misplaced else. |
| 11033 | |
| 11034 | 2002-02-07 Klee Dienes <klee@apple.com> |
| 11035 | |
| 11036 | * fork-inferior.c (fork_inferior): Add '!' to the list of |
| 11037 | characters that need to be quoted when building a string for the |
| 11038 | shell. Quote '!' specifically with a backslash, since CSH chokes |
| 11039 | when trying to evaluate "str!str". |
| 11040 | |
| 11041 | 2002-02-06 Nick Clifton <nickc@cambridge.redhat.com> |
| 11042 | |
| 11043 | * rdi-share/host.h: Only provide a typedef for bool if it is not |
| 11044 | defined. |
| 11045 | |
| 11046 | 2002-02-04 Michael Snyder <msnyder@redhat.com> |
| 11047 | |
| 11048 | * breakpoint.h (enum bptype): Add new overlay event bp type. |
| 11049 | (enable_overlay_breakpoints, disable_overlay_breakpoints): Export. |
| 11050 | |
| 11051 | * breakpoint.c (create_internal_breakpoint): New function. |
| 11052 | (internal_breakpoint_number): Moved into create_internal_breakpoint. |
| 11053 | (create_longjmp_breakpoint): Use create_internal_breakpoint. |
| 11054 | (create_thread_event_breakpoint): Ditto. |
| 11055 | (create_solib_event_breakpoint): Ditto. |
| 11056 | (create_overlay_event_breakpoint): New function. |
| 11057 | (enable_overlay_breakpoints, disable_overlay_breakpoints): New funcs. |
| 11058 | (update_breakpoints_after_exec): Delete and re-initialize |
| 11059 | overlay event breakpoints after an exec. Add FIXME comment |
| 11060 | about longjmp breakpoint. |
| 11061 | (print_it_typical): Ignore overlay event breakpoints. |
| 11062 | (print_one_breakpoint): Ditto. |
| 11063 | (mention): Ditto. |
| 11064 | (bpstat_what): Do not stop for overlay event breakpoints. |
| 11065 | (delete_breakpoint): Don't delete overlay event breakpoints. |
| 11066 | (breakpoint_re_set_one): Delete the overlay event breakpoint. |
| 11067 | (breakpoint_re_set): Re-create overlay event breakpoint. |
| 11068 | |
| 11069 | * symfile.c (overlay_auto_command): Enable overlay breakpoints. |
| 11070 | (overlay_manual_command): Disable overlay breakpoints. |
| 11071 | (overlay_off_command): Disable overlay breakpoints. |
| 11072 | |
| 11073 | 2002-02-06 Richard Earnshaw <rearnsha@arm.com> |
| 11074 | |
| 11075 | * arm-tdep.c: Include elf-bfd.h and coff/internal.h. |
| 11076 | (MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Move defines |
| 11077 | to here from config/tm-arm.h. |
| 11078 | (coff_sym_is_thumb): Make static. |
| 11079 | (arm_elf_make_msymbol_special): New function. |
| 11080 | (arm_coff_make_msymbol_special): New function. |
| 11081 | * config/arm/tm-arm.h (MSYMBOL_SET_SPECIAL): Delete definition. |
| 11082 | (MSYMBOL_IS_SPECIAL, MSYMBOL_SIZE): Likewise. |
| 11083 | (coff_sym_is_thumb): Delete declaration. |
| 11084 | (arm_elf_make_msymbol_special): Declare. |
| 11085 | (arm_coff_make_msymbol_special): Declare. |
| 11086 | (ELF_MAKE_MSYMBOL_SPECIAL): Call arm_elf_make_msymbol_special. |
| 11087 | (COFF_MAKE_MSYMBOL_SPECIAL): Call arm_coff_make_msymbol_special. |
| 11088 | |
| 11089 | 2002-02-06 Richard Earnshaw <rearnsha@arm.com> |
| 11090 | |
| 11091 | * arm-tdep.c (arm_software_single_step): ANSIfy function declaration. |
| 11092 | |
| 11093 | 2002-02-06 Richard Earnshaw <rearnsha@arm.com> |
| 11094 | |
| 11095 | * gdbarch.sh (PRINT_FLOAT_INFO): Add rule. |
| 11096 | * gdbarch.c gdbarch.h: Regenerate. |
| 11097 | * arch-utils.c (default_print_float_info): New function. |
| 11098 | * arch-utils.h (default_print_float_info): Prototype it. |
| 11099 | * infcmd.c (float_info): Call PRINT_FLOAT_INFO. |
| 11100 | * doc/gdbint.texinfo (FLOAT_INFO): Mark as deprecated. |
| 11101 | (PRINT_FLOAT_INFO): Document it. |
| 11102 | |
| 11103 | * arm-tdep.c (arm_print_float_info): Renamed from arm_float_info. |
| 11104 | * config/arm/tm-arm.h (FLOAT_INFO): Delete. |
| 11105 | (PRINT_FLOAT_INFO): Define. |
| 11106 | |
| 11107 | 2002-02-06 Pierre Muller <muller@ics.u-strasbg.fr> |
| 11108 | |
| 11109 | * win32-nat.c (_initialize_check_for_gdb_ini): |
| 11110 | Add typecast to sprintf argument to suppress a warning. |
| 11111 | |
| 11112 | 2002-02-05 Pierre Muller <muller@ics.u-strasbg.fr> |
| 11113 | |
| 11114 | * win32-nat.c (last_sig): Changed type of variable to target_signal, |
| 11115 | to allow easier handling of pass state. |
| 11116 | (DEBUG_EXCEPTION_SIMPLE): New macro, used in handle_exception, |
| 11117 | that gives exception name and address. |
| 11118 | (handle_exception): Use DEBUG_EXCEPTION_SIMPLE macro |
| 11119 | and set last_sig value to ourstatus->value.sig. Some missing |
| 11120 | exceptions added. |
| 11121 | (child_continue): Correctly report continue_status. |
| 11122 | (get_child_debug_event,do_initial_child_stuff): Set last_sig to |
| 11123 | TARGET_SIGNAL_0 (new default value). |
| 11124 | (child_resume): consider sig argument passed to decide if |
| 11125 | the exception should be passed to debuggee or not. |
| 11126 | |
| 11127 | 2002-02-05 Michael Snyder <msnyder@redhat.com> |
| 11128 | |
| 11129 | * regcache.c (fetch_register): Call target_fetch_register |
| 11130 | only if we don't call FETCH_PSEUDO_REGISTER. |
| 11131 | (store_register): Call target_store_register only if we |
| 11132 | don't call STORE_PSEUDO_REGISTER. |
| 11133 | |
| 11134 | 2002-02-05 Elena Zannoni <ezannoni@redhat.com> |
| 11135 | |
| 11136 | * gdbarch.sh: Add definitions for COFF_MAKEMSYMBOL_SPECIAL and |
| 11137 | ELF_MAKE_MSYMBOL_SPECIAL. |
| 11138 | * gdbarch.c, gdbarch.h: Regenerate. |
| 11139 | * arch-utils.c (default_make_msymbol_special): New function. |
| 11140 | * arch-utils.h (default_make_msymbol_special): Export. |
| 11141 | * elfread.c (elf_symtab_read): Compile use of |
| 11142 | ELF_MAKE_MSYMBOL_SPECIAL unconditionally because it is now |
| 11143 | multiarched. |
| 11144 | * coffread.c (coff_symtab_read): Ditto, for |
| 11145 | COFF_MAKE_MSYMBOL_SPECIAL. |
| 11146 | |
| 11147 | 2002-02-05 Jim Blandy <jimb@redhat.com> |
| 11148 | |
| 11149 | * solib-svr4.c (svr4_truncate_ptr): New function. |
| 11150 | (svr4_relocate_section_addresses): Do the address arithmetic with |
| 11151 | the appropriate truncation for target addresses, even when |
| 11152 | CORE_ADDR is larger than a target address. |
| 11153 | |
| 11154 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
| 11155 | |
| 11156 | * gdbserver/linux-low.c (mywait): Cast second argument of waitpid |
| 11157 | to (int *). |
| 11158 | |
| 11159 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
| 11160 | |
| 11161 | * gdbserver/linux-low.c (kill_inferior): Remove commented out |
| 11162 | code. |
| 11163 | |
| 11164 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
| 11165 | |
| 11166 | * c-valprint.c (c_val_print): Handle TYPE_CODE_COMPLEX. |
| 11167 | |
| 11168 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
| 11169 | |
| 11170 | * gdbserver/linux-low.c: Remove unused include files. |
| 11171 | |
| 11172 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
| 11173 | |
| 11174 | * gdbserver/linux-low.c: Define PTRACE_ARG3_TYPE. |
| 11175 | (read_inferior_memory): Use it. |
| 11176 | (write_inferior_memory): Likewise. |
| 11177 | |
| 11178 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
| 11179 | |
| 11180 | * gdbserver/linux-low.c (create_inferior): Call strerror instead of |
| 11181 | grubbing through sys_errlist. |
| 11182 | |
| 11183 | 2002-02-05 Daniel Jacobowitz <drow@mvista.com> |
| 11184 | |
| 11185 | * gdbserver/linux-low.c: New file, copied exactly from low-linux.c. |
| 11186 | |
| 11187 | 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr> |
| 11188 | * win32-nat.c (handle_exception): Handle Ctrl-Break exception. |
| 11189 | |
| 11190 | 2002-02-04 Andrew Cagney <ac131313@redhat.com> |
| 11191 | |
| 11192 | * cli/cli-decode.c (do_cfunc, set_cmd_cfunc): New functions. |
| 11193 | (do_sfunc, set_cmd_sfunc): New functions. |
| 11194 | |
| 11195 | * command.h (struct cmd_list_element): Add field func. |
| 11196 | * cli/cli-decode.h (struct cmd_list_element): Ditto. |
| 11197 | * command.h (set_cmd_sfunc, set_cmd_cfunc): Declare. |
| 11198 | * cli/cli-decode.h: Ditto. |
| 11199 | |
| 11200 | * cli/cli-decode.c (help_cmd): Test for func not cfunc/sfunc. |
| 11201 | (help_all, help_cmd_list): Ditto. |
| 11202 | (find_cmd, complete_on_cmdlist): Ditto. |
| 11203 | * top.c (execute_command): Ditto. |
| 11204 | |
| 11205 | * cli/cli-setshow.c (do_setshow_command): Call func instead of |
| 11206 | function.sfunc. |
| 11207 | |
| 11208 | * infcmd.c (notice_args_read): Fix function signature. |
| 11209 | |
| 11210 | * cli/cli-cmds.c (init_cli_cmds): Use set_cmd_sfunc. |
| 11211 | * cli/cli-decode.c (add_set_cmd): Ditto. |
| 11212 | * utils.c (initialize_utils): Ditto. |
| 11213 | * maint.c (_initialize_maint_cmds): Ditto. |
| 11214 | * infrun.c (_initialize_infrun): Ditto. |
| 11215 | * demangle.c (_initialize_demangler): Ditto. |
| 11216 | * remote.c (add_packet_config_cmd): Ditto. |
| 11217 | * mips-tdep.c (_initialize_mips_tdep): Ditto. |
| 11218 | * cris-tdep.c (_initialize_cris_tdep): Ditto. |
| 11219 | * proc-api.c (_initialize_proc_api): Ditto. |
| 11220 | * kod.c (_initialize_kod): Ditto. |
| 11221 | * valprint.c (_initialize_valprint): Ditto. |
| 11222 | * top.c (init_main): Ditto. |
| 11223 | * infcmd.c (_initialize_infcmd): Ditto. |
| 11224 | * corefile.c (_initialize_core): Ditto. |
| 11225 | * arm-tdep.c (_initialize_arm_tdep): Ditto. |
| 11226 | * arch-utils.c (initialize_current_architecture): Ditto. |
| 11227 | (_initialize_gdbarch_utils): Ditto. |
| 11228 | * alpha-tdep.c (_initialize_alpha_tdep): Ditto. |
| 11229 | |
| 11230 | * cli/cli-decode.c (add_cmd): Use set_cmd_cfunc. |
| 11231 | * wince.c (_initialize_inftarg): Ditto. |
| 11232 | * symfile.c (_initialize_symfile): Ditto. |
| 11233 | * mips-tdep.c (_initialize_mips_tdep): Ditto. |
| 11234 | * language.c (_initialize_language): Ditto. |
| 11235 | * arc-tdep.c (_initialize_arc_tdep): Ditto. |
| 11236 | |
| 11237 | 2002-02-04 Michael Snyder <msnyder@redhat.com> |
| 11238 | |
| 11239 | * memattr.c (_initialize_mem): Elaborate the help for 'mem' command. |
| 11240 | |
| 11241 | 2002-02-04 Daniel Jacobowitz <drow@mvista.com> |
| 11242 | |
| 11243 | * gdbserver/Makefile.in: Add regformats directory to INCLUDE_CFLAGS. |
| 11244 | Add rules for building the register data files. |
| 11245 | |
| 11246 | 2002-02-04 Daniel Jacobowitz <drow@mvista.com> |
| 11247 | |
| 11248 | * regformats/regdat.sh: Add braces to the definition of |
| 11249 | expedite_regs_${arch}. |
| 11250 | |
| 11251 | 2002-02-04 Daniel Jacobowitz <drow@mvista.com> |
| 11252 | |
| 11253 | * regformats/regdef.h (struct reg): Add comment describing the |
| 11254 | requirements for offset and size fields. |
| 11255 | |
| 11256 | 2002-02-04 Andreas Schwab <schwab@suse.de> |
| 11257 | |
| 11258 | * config/ia64/linux.mh: Don't set NAT_CLIBS and REGEX. |
| 11259 | * config/ia64/linux.mt: Don't set GDBSERVER_LIBS. |
| 11260 | |
| 11261 | 2002-02-04 Richard Earnshaw <rearnsha@arm.com> |
| 11262 | |
| 11263 | * gdbarch.sh (copyright): Update years in generated header. |
| 11264 | (SMASH_TEXT_ADDRESS): Add rule. |
| 11265 | * gdbarch.h, gdbarch.c: Re-generate. |
| 11266 | * coffread.c: Multi-arch uses of SMASH_TEXT_ADDRESS. |
| 11267 | * dbxread.c: Likewise. |
| 11268 | * dwarfread.c: Likewise. |
| 11269 | * elfread.c: Likewise. |
| 11270 | * somread.c: Likewise. |
| 11271 | |
| 11272 | * arm-tdep.c (arm_smash_text_address): New function. |
| 11273 | * config/arm/tm-arm.h (SMASH_TEXT_ADDRESS): Define in terms of above. |
| 11274 | |
| 11275 | 2002-02-04 Pierre Muller <muller@ics.u-strasbg.fr> |
| 11276 | |
| 11277 | Add support for hardware watchpoints on win32 native. |
| 11278 | * win32-nat.c (CONTEXT_DEBUG_DR macro): Add use of |
| 11279 | CONTEXT_DEBUG_REGISTERS. |
| 11280 | (dr variable): New variable. Static array containing a local copy |
| 11281 | of debug registers. |
| 11282 | (debug_registers_changed): New variable. Reflects when debug registers |
| 11283 | are changed and need to be written to inferior. |
| 11284 | (debug_registers_used): New variable. Reflects when any debug register |
| 11285 | was set, used when new threads are created. |
| 11286 | (cygwin_set_dr, cygwin_set_dr7, cygwin_get_dr6): New functions used by |
| 11287 | i386-nat code. |
| 11288 | (thread_rec): Set dr array if id is the thread of current_event . |
| 11289 | (child_continue, child_resume): Change the debug registers for all |
| 11290 | threads if debug_registers_changed. |
| 11291 | (child_add_thread): Change the debug registers if debug_registers_used. |
| 11292 | * config/i386/cygwin.mh: Add use of i386-nat.o file. |
| 11293 | Link nm.h to new nm-cygwin.h file. |
| 11294 | + config/i386/nm-cygwin.h: New file. Contains the macros used for use |
| 11295 | of hardware registers. |
| 11296 | |
| 11297 | 2002-02-03 Andrew Cagney <ac131313@redhat.com> |
| 11298 | |
| 11299 | * valprint.c (print_floating): Allow non TYPE_CODE_FLT types. |
| 11300 | Restore behavour broken by 2002-01-20 Andrew Cagney |
| 11301 | <ac131313@redhat.com> IEEE_FLOAT removal. |
| 11302 | |
| 11303 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
| 11304 | |
| 11305 | * c-valprint.c (c_val_print): Pass a proper valaddr to |
| 11306 | cp_print_class_method. |
| 11307 | * valops.c (search_struct_method): If there is only one method |
| 11308 | and args is NULL, return that method. |
| 11309 | |
| 11310 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
| 11311 | |
| 11312 | * gdbtypes.c (init_simd_type): Use TYPE_TAG_NAME instead of |
| 11313 | accessing tag_name directly. |
| 11314 | |
| 11315 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
| 11316 | |
| 11317 | * ax-gdb.c (find_field): Use TYPE_TAG_NAME instead |
| 11318 | of accessing tag_name directly. |
| 11319 | |
| 11320 | 2002-02-03 Daniel Jacobowitz <drow@mvista.com> |
| 11321 | |
| 11322 | PR gdb/280 |
| 11323 | * gdbtypes.c (replace_type): New function. |
| 11324 | * gdbtypes.h (replace_type): Add prototype. |
| 11325 | * stabsread.c (read_type): Use replace_type. |
| 11326 | |
| 11327 | 2002-02-03 Richard Earnshaw <rearnsha@arm.com> |
| 11328 | |
| 11329 | * Makefile.in (memattr.o): Add missing dependencies rule. |
| 11330 | |
| 11331 | 2002-02-03 Peter Schauer <pes@regent.e-technik.tu-muenchen.de> |
| 11332 | |
| 11333 | * breakpoint.c (break_at_finish_command): Really export. |
| 11334 | (break_at_finish_at_depth_command): Ditto. |
| 11335 | (tbreak_at_finish_command): Ditto. |
| 11336 | * hppa-tdep.c: Include completer.h. |
| 11337 | * Makefile.in (hppa-tdep.o): Add dependency on $(completer_h). |
| 11338 | (COMMON_OBS): Remove duplicate ui-file.o, frame.o, doublest.o. |
| 11339 | |
| 11340 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
| 11341 | |
| 11342 | * utils.c (do_write): New function. |
| 11343 | (error_stream): Rewrite combining the code from error_begin and |
| 11344 | verror. |
| 11345 | (verror): Rewrite using error_stream. |
| 11346 | (error_begin): Delete function. |
| 11347 | |
| 11348 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
| 11349 | |
| 11350 | * utils.c (error_begin): Make static. |
| 11351 | * defs.h (error_begin): Delete declaration. |
| 11352 | |
| 11353 | * linespec.c (cplusplus_error): Replace cplusplus_hint. |
| 11354 | (decode_line_1): Use cplusplus_error instead of error_begin, |
| 11355 | cplusplus_hint and return_to_top_level. |
| 11356 | * coffread.c (coff_symfile_read): Use error instead of error_begin |
| 11357 | and return_to_top_level. |
| 11358 | * infrun.c (default_skip_permanent_breakpoint): Ditto. |
| 11359 | |
| 11360 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
| 11361 | |
| 11362 | * language.h (type_error, range_error): Make string parameter |
| 11363 | constant. |
| 11364 | * language.c (warning_pre_print): Delete extern declaration. |
| 11365 | * dwarfread.c (warning_pre_print): Ditto. |
| 11366 | * language.c (type_error, range_error): Rewrite to use verror and |
| 11367 | vwarning instead of warning_begin. |
| 11368 | |
| 11369 | 2002-02-01 Michael Snyder <msnyder@redhat.com> |
| 11370 | |
| 11371 | * breakpoint.c (breakpoint_re_set): Delete ancient #if 0 code. |
| 11372 | (set_ignore_count): Move misplaced comment back where it belongs. |
| 11373 | |
| 11374 | 2002-02-01 Andrew Cagney <ac131313@redhat.com> |
| 11375 | |
| 11376 | * command.h (NO_FUNCTION): Delete macro. |
| 11377 | * cli/cli-decode.h (NO_FUNCTION): Ditto. |
| 11378 | * top.c (execute_command): Replace NO_FUNCTION with NULL. |
| 11379 | * tracepoint.c (_initialize_tracepoint): Ditto. |
| 11380 | * cli/cli-decode.c (add_set_cmd): Ditto. |
| 11381 | * cli/cli-cmds.c (init_cli_cmds): Ditto. |
| 11382 | |
| 11383 | 2002-02-01 Daniel Jacobowitz <drow@mvista.com> |
| 11384 | |
| 11385 | * gnu-v3-abi.c (gnuv3_virtual_fn_field): Update comments. |
| 11386 | Update ``this'' pointer when calling virtual functions. |
| 11387 | |
| 11388 | 2002-02-01 Michael Snyder <msnyder@redhat.com> |
| 11389 | |
| 11390 | * breakpoint.c (create_temp_exception_breakpoint): Delete. |
| 11391 | * hppa-tdep.c: Deprecate xbreak, txbreak and bx commands. |
| 11392 | |
| 11393 | 2002-02-01 Daniel Jacobowitz <drow@mvista.com> |
| 11394 | |
| 11395 | * regformats/reg-arm.dat: New file. |
| 11396 | * regformats/reg-i386.dat: New file. |
| 11397 | * regformats/reg-ia64.dat: New file. |
| 11398 | * regformats/reg-m68k.dat: New file. |
| 11399 | * regformats/reg-mips.dat: New file. |
| 11400 | * regformats/reg-ppc.dat: New file. |
| 11401 | * regformats/reg-sh.dat: New file. |
| 11402 | * regformats/regdef.h: New file. |
| 11403 | * regformats/regdat.sh: New file. |
| 11404 | |
| 11405 | 2002-02-01 Richard Earnshaw <reanrsha@arm.com> |
| 11406 | |
| 11407 | * arm-tdep.c (arm_frameless_function_invocation): Add some comments. |
| 11408 | (arm_frame_args_address, arm_frame_locals_address): New functions. |
| 11409 | (arm_frame_num_args): New function. |
| 11410 | * config/tm-arm.h (FRAME_ARGS_ADDRESS): Call arm_frame_args_address. |
| 11411 | (FRAME_LOCALS_ADDRESS): Call arm_frame_locals_address. |
| 11412 | (FRMA_NUM_ARGS): Call arm_frame_num_args. |
| 11413 | |
| 11414 | 2002-01-31 Michael Snyder <msnyder@redhat.com> |
| 11415 | |
| 11416 | * breakpoint.c (break_at_finish_command): Export. |
| 11417 | (break_at_finish_at_depth_command): Export. |
| 11418 | (tbreak_at_finish_command): Export. |
| 11419 | (_initialize_breakpoint): Delete "xbreak" and "txbreak" commands. |
| 11420 | * hppa-tdep.c (_initialize_hppa_tdep): Add "xbreak" and |
| 11421 | "txbreak" commands, which are HPPA specific. |
| 11422 | |
| 11423 | * printcmd.c (disassemble_command): Remove an ancient |
| 11424 | artifact of an old merge. |
| 11425 | |
| 11426 | * symfile.h (enum overlay_debugging_state): |
| 11427 | Define enum constant values for overlay mode. |
| 11428 | * symfile.c (overlay_debugging): Use enums instead of literals. |
| 11429 | (overlay_is_mapped, overlay_auto_command, |
| 11430 | overlay_manual_command): Ditto. |
| 11431 | |
| 11432 | * breakpoint.c (insert_breakpoints, remove_breakpoint, |
| 11433 | breakpoint_here_p, breakpoint_inserted_here_p, |
| 11434 | breakpoint_thread_match, bpstat_stop_status, |
| 11435 | describe_other_breakpoints, check_duplicates, clear_command): |
| 11436 | Coding standard fixes. |
| 11437 | |
| 11438 | * target.c (target_xfer_memory): Add spaces, coding standard. |
| 11439 | (do_xfer_memory): Add missing line to trust-readonly |
| 11440 | code: check bfd SEC_READONLY flag for section. |
| 11441 | |
| 11442 | 2002-01-31 Andrew Cagney <ac131313@redhat.com> |
| 11443 | |
| 11444 | * PROBLEMS: Fix typo, 5.1->5.1.1. |
| 11445 | |
| 11446 | 2002-01-30 Daniel Jacobowitz <drow@mvista.com> |
| 11447 | |
| 11448 | * symtab.c (find_pc_sect_psymtab): Do not search psymtabs for |
| 11449 | data symbols, since we search based on textlow and texthigh. |
| 11450 | (find_pc_sect_symtab): Likewise. |
| 11451 | |
| 11452 | 2002-01-30 Andrew Cagney <ac131313@redhat.com> |
| 11453 | |
| 11454 | * defs.h (vwarning): Declare. |
| 11455 | * utils.c (vwarning): New function. |
| 11456 | (warning): Call vwarning. |
| 11457 | (warning_begin): Delete function. |
| 11458 | |
| 11459 | * rs6000-nat.c (vmap_ldinfo): Use the function warning to print |
| 11460 | the warning message. |
| 11461 | * d10v-tdep.c (d10v_address_to_pointer) [0]: Delete call to |
| 11462 | warning_begin. |
| 11463 | |
| 11464 | 2002-01-30 Michael Snyder <msnyder@redhat.com> |
| 11465 | |
| 11466 | * NEWS: Mention "set trust-readonly-sections" command. |
| 11467 | Mention generate-core-file command. |
| 11468 | |
| 11469 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
| 11470 | |
| 11471 | * target.c: New command, "set trust-readonly-sections on". |
| 11472 | (do_xfer_memory): Honor the suggestion to trust readonly sections |
| 11473 | by reading them from the object file instead of from the target. |
| 11474 | (initialize_targets): Register command "set trust-readonly-sections". |
| 11475 | |
| 11476 | 2002-01-29 Andrew Cagney <ac131313@redhat.com> |
| 11477 | |
| 11478 | * parse.c (target_map_name_to_register): Simplify, search regs and |
| 11479 | pseudo-regs using a single loop. |
| 11480 | |
| 11481 | 2002-01-30 Andrew Cagney <ac131313@redhat.com> |
| 11482 | |
| 11483 | * PROBLEMS: Note that the i386 fix was missing from 5.1.1. |
| 11484 | |
| 11485 | 2002-01-15 Rodney Brown <rbrown64@csc.com.au> |
| 11486 | |
| 11487 | * config/i386/tm-i386v4.h: Define HAVE_I387_REGS. |
| 11488 | * config/i386/i386v42mp.mh: Add i387-nat.o . |
| 11489 | * i386v4-nat.c: Include i387-nat.h. |
| 11490 | (supply_fpregset): Use i387_supply_fsave. |
| 11491 | (fill_fpregset): Use i387_fill_fsave. |
| 11492 | |
| 11493 | 2002-01-30 Richard Earnshaw <rearnsha@arm.com> |
| 11494 | |
| 11495 | * arm-tdep.c (arm_call_dummy_words): Define. |
| 11496 | * arm-linux-tdep.c (arm_linux_call_dummy_words): Define. |
| 11497 | * config/arm/tm-arm.h (CALL_DUMMY_P): Define. |
| 11498 | (CALL_DUMMY_WORDS): Define. |
| 11499 | (arm_call_dummy_words): Declare. |
| 11500 | * config/arm/tm-linux.h (CALL_DUMMY_WORDS): Define. |
| 11501 | (arm_linux_call_dummy_words): Declare. |
| 11502 | |
| 11503 | 2002-01-30 Andreas Schwab <schwab@suse.de> |
| 11504 | |
| 11505 | * m68klinux-nat.c: Fix last change to use regcache_collect |
| 11506 | instead of referencing registers[] directly. |
| 11507 | |
| 11508 | 2002-01-29 Andrew Cagney <ac131313@redhat.com> |
| 11509 | |
| 11510 | * parse.c (target_map_name_to_register): Delete code wrapped in |
| 11511 | #ifdef REGISTER_NAME_ALIAS_HOOK. |
| 11512 | |
| 11513 | 2002-01-28 Michael Snyder <msnyder@redhat.com> |
| 11514 | |
| 11515 | * regcache.c (legacy_read_register_gen): Need to be able to |
| 11516 | read pseudo-register as well as real register. |
| 11517 | (legacy_write_register_gen): Ditto. |
| 11518 | |
| 11519 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
| 11520 | |
| 11521 | * config/mips/tm-wince.h (TARGET_BYTE_ORDER): Delete. |
| 11522 | * config/sparc/tm-sparc.h (TARGET_BYTE_ORDER): Delete. |
| 11523 | * config/ns32k/tm-umax.h (TARGET_BYTE_ORDER): Delete. |
| 11524 | * config/ia64/tm-ia64.h (TARGET_BYTE_ORDER): Delete. |
| 11525 | * config/m32r/tm-m32r.h (TARGET_BYTE_ORDER): Delete. |
| 11526 | * config/m68k/tm-m68k.h (TARGET_BYTE_ORDER): Delete. |
| 11527 | * config/m88k/tm-m88k.h (TARGET_BYTE_ORDER): Delete. |
| 11528 | * config/mn10200/tm-mn10200.h (TARGET_BYTE_ORDER): Delete. |
| 11529 | * config/pa/tm-hppa.h (TARGET_BYTE_ORDER): Delete. |
| 11530 | * config/sh/tm-wince.h (TARGET_BYTE_ORDER): Delete. |
| 11531 | * config/v850/tm-v850.h (TARGET_BYTE_ORDER): Delete. |
| 11532 | * config/vax/tm-vax.h (TARGET_BYTE_ORDER): Delete. |
| 11533 | * config/z8k/tm-z8k.h (TARGET_BYTE_ORDER): Delete. |
| 11534 | * config/i960/tm-i960.h (TARGET_BYTE_ORDER): Delete. |
| 11535 | * config/i386/tm-i386.h (TARGET_BYTE_ORDER): Delete. |
| 11536 | * config/h8500/tm-h8500.h (TARGET_BYTE_ORDER): Delete. |
| 11537 | * config/h8300/tm-h8300.h (TARGET_BYTE_ORDER): Delete. |
| 11538 | * config/fr30/tm-fr30.h (TARGET_BYTE_ORDER): Delete. |
| 11539 | * config/d30v/tm-d30v.h (TARGET_BYTE_ORDER): Delete. |
| 11540 | * config/alpha/tm-alpha.h (TARGET_BYTE_ORDER): Delete. |
| 11541 | |
| 11542 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
| 11543 | |
| 11544 | * arch-utils.c (TARGET_BYTE_ORDER_DEFAULT): Delete macro. |
| 11545 | (target_byte_order): Initialize to BFD_ENDIAN_BIG. |
| 11546 | (initialize_current_architecture): Update target_byte_order using |
| 11547 | information from BFD. |
| 11548 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_DEFAULT): |
| 11549 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_DEFAULT): Delete. |
| 11550 | |
| 11551 | 2002-01-28 Andrew Cagney <ac131313@redhat.com> |
| 11552 | |
| 11553 | * config/vax/tm-vax.h (INVALID_FLOAT): Move macro from here... |
| 11554 | * vax-tdep.c (INVALID_FLOAT): To here. Document why it is broken. |
| 11555 | |
| 11556 | * rs6000-tdep.c (rs6000_do_registers_info): Delete code wrapped in |
| 11557 | #ifdef INVALID_FLOAT. |
| 11558 | * infcmd.c (do_registers_info): Ditto. |
| 11559 | * values.c (unpack_double): Ditto. Add comment. |
| 11560 | |
| 11561 | * config/ns32k/tm-umax.h (INVALID_FLOAT): Delete macro that was |
| 11562 | already commented out. |
| 11563 | |
| 11564 | 2002-01-26 Andreas Schwab <schwab@suse.de> |
| 11565 | |
| 11566 | * config/m68k/nm-linux.h (FETCH_INFERIOR_REGISTERS): Define. |
| 11567 | * m68klinux-nat.c: Update ptrace interface for fetching/storing |
| 11568 | registers and add support for PTRACE_GETREGS. |
| 11569 | |
| 11570 | 2002-01-24 Andrew Cagney <ac131313@redhat.com> |
| 11571 | |
| 11572 | GDB 5.1.1 released from 5.1 branch. |
| 11573 | * NEWS: Add 5.1.1 news. |
| 11574 | * README: Sync with 5.1 branch. |
| 11575 | |
| 11576 | 2002-01-23 Fred Fish <fnf@redhat.com> |
| 11577 | |
| 11578 | * mdebugread.c (parse_partial_symbols): Only copy stabstring1 to |
| 11579 | stabstring on initial malloc. Reallocing will copy it for us, |
| 11580 | if necessary. |
| 11581 | |
| 11582 | 2002-01-23 Elena Zannoni <ezannoni@redhat.com> |
| 11583 | |
| 11584 | * Makefile.in (hpread_h): Delete. |
| 11585 | (HFILES_NO_SRCDIR): Remove hpread.h. |
| 11586 | (ALLDEPFILES): Remove hp-psymtab-read.c and hp-symtab-read.c. |
| 11587 | (hpread.o): Update dependencies. |
| 11588 | (hp-psymtab-read.o, hp-symtab-read.o): Remove. |
| 11589 | |
| 11590 | * hp-psymtab-read.c: Remove file. |
| 11591 | * hp-symtab-read.c: Remove file. |
| 11592 | * hpread.h: Remove file. |
| 11593 | |
| 11594 | * hpread.c: Merge all contents of hp-psymtab-read.c, |
| 11595 | hp-symtab-read.c and hpread.h into this file, as it was prior to |
| 11596 | January 1999. |
| 11597 | |
| 11598 | * config/pa/hpux11w.mh, config/pa/hpux11.mh, |
| 11599 | config/pa/hpux1020.mh, config/pa/hppaosf.mh, |
| 11600 | config/pa/hppahpux.mh, config/pa/hppabsd.mh (NATDEPFILES): |
| 11601 | Remove hp-psymtab-read.o and hp-symtab-read.o, add hpread.o. |
| 11602 | |
| 11603 | 2002-01-23 Elena Zannoni <ezannoni@redhat.com> |
| 11604 | |
| 11605 | * ppc-linux-nat.c (ppc_register_u_addr, supply_gregset, |
| 11606 | fill_gregset): Call gdbarch_tdep() just once, assign result to |
| 11607 | variable and use that, instead of calling the function several |
| 11608 | times. |
| 11609 | |
| 11610 | 2002-01-24 Alexandre Oliva <aoliva@redhat.com> |
| 11611 | |
| 11612 | * configure.host: Accept sparcv9 as alias for sparc64. |
| 11613 | * configure.tgt: Likewise. |
| 11614 | |
| 11615 | 2002-01-22 Kevin Buettner <kevinb@redhat.com> |
| 11616 | |
| 11617 | * solib-aix5.c (build_so_list_from_mapfile) |
| 11618 | (aix5_relocate_main_executable): Fix xcalloc() calls so order of |
| 11619 | arguments is not reversed. |
| 11620 | * solib-sunos.c (sunos_relocate_main_executable): Likewise. |
| 11621 | * solib-svr4.c (svr4_relocate_main_executable): Likewise. |
| 11622 | |
| 11623 | 2002-01-22 Elena Zannoni <ezannoni@redhat.com> |
| 11624 | |
| 11625 | * sh-tdep.c (sh_pseudo_register_read): New function. Renamed and |
| 11626 | modified version of obsolete sh_fetch_pseudo_register. |
| 11627 | (sh_fetch_pseudo_register): Rename to sh_pseudo_register_read. |
| 11628 | (sh4_register_read): New function. |
| 11629 | (sh_pseudo_register_write): New function. Renamed and modified |
| 11630 | version of obsolete sh_store_pseudo_register. |
| 11631 | (sh_store_pseudo_register): Rename to sh_pseudo_register_write. |
| 11632 | (sh4_register_write): New function. |
| 11633 | (sh_gdbarch_init): Remove setting of gdbarch function |
| 11634 | fetch_pseudo_register and store_pseudo_register. Remove setting of |
| 11635 | register_convert_to_raw, register_convert_to_virtual, |
| 11636 | register_convertible. |
| 11637 | (sh_sh4_register_convertible): Delete. No longer needed. All is |
| 11638 | taken care by architecture specific functions |
| 11639 | register_read/register_write. |
| 11640 | (sh_sh4_register_convert_to_virtual): Make static. |
| 11641 | (sh_sh4_register_convert_to_raw): Ditto. |
| 11642 | |
| 11643 | 2002-01-22 Andrew Cagney <ac131313@redhat.com> |
| 11644 | |
| 11645 | * doublest.c (floatformat_is_negative): Assert FMT is non NULL. |
| 11646 | (floatformat_is_nan, floatformat_mantissa): Ditto. |
| 11647 | |
| 11648 | * gdbtypes.c (_initialize_gdbtypes): Initialize TYPE_FLOATFORMAT |
| 11649 | for builtin_type_ieee_single_little, builtin_type_ieee_double_big, |
| 11650 | builtin_type_ieee_double_little, |
| 11651 | builtin_type_ieee_double_littlebyte_bigword, |
| 11652 | builtin_type_m68881_ext, builtin_type_i960_ext, |
| 11653 | builtin_type_m88110_ext, builtin_type_m88110_harris_ext, |
| 11654 | builtin_type_arm_ext_big, builtin_type_arm_ext_littlebyte_bigword, |
| 11655 | builtin_type_ia64_spill_big, builtin_type_ia64_spill_little and |
| 11656 | builtin_type_ia64_quad_big, builtin_type_ia64_quad_little. |
| 11657 | |
| 11658 | 2002-01-22 Corinna Vinschen <vinschen@redhat.com> |
| 11659 | |
| 11660 | * xstormy16-tdep.c (xstormy16_scan_prologue): Add frameless |
| 11661 | parameter. Set frameless flag if it exists and depended of |
| 11662 | whether the scanned function is frameless or not. |
| 11663 | (xstormy16_skip_prologue): If function is frameless, return |
| 11664 | result of xstormy16_scan_prologue(). |
| 11665 | (xstormy16_frame_init_saved_regs): Adjust xstormy16_scan_prologue() |
| 11666 | call. |
| 11667 | |
| 11668 | 2002-01-21 Elena Zannoni <ezannoni@redhat.com> |
| 11669 | |
| 11670 | * sh-tdep.c (sh_fp_frame_init_saved_regs, sh_push_arguments, |
| 11671 | sh_generic_show_regs, sh3_show_regs, sh3e_show_regs, |
| 11672 | sh3_dsp_show_regs, sh4_show_regs, sh_dsp_show_regs, |
| 11673 | sh_sh4_register_byte, sh_sh4_register_raw_size, |
| 11674 | sh_sh3e_register_virtual_type, sh_sh4_register_virtual_type, |
| 11675 | sh_sh4_register_convertible, sh_sh4_register_convert_to_virtual, |
| 11676 | sh_sh4_register_convert_to_raw, sh_fetch_pseudo_register, |
| 11677 | sh_store_pseudo_register, sh_do_pseudo_register): Call |
| 11678 | gdbarch_tdep() just once, assign result to variable and use that, |
| 11679 | instead of calling the function several times. |
| 11680 | |
| 11681 | 2002-01-20 Mark Kettenis <kettenis@gnu.org> |
| 11682 | |
| 11683 | * go32-nat.c (fetch_register): Use FP_REGNUM_P and FPC_REGNUM_P |
| 11684 | macros instead of LAST_FPU_CTRL_REGNUM. |
| 11685 | (store_register): Likewise. |
| 11686 | |
| 11687 | 2002-01-21 Jim Blandy <jimb@redhat.com> |
| 11688 | |
| 11689 | * infcmd.c (run_command): Check that the `exec' target layer's BFD |
| 11690 | is up-to-date before running the program, not just when a program |
| 11691 | exits. |
| 11692 | |
| 11693 | 2002-01-21 Fred Fish <fnf@redhat.com> |
| 11694 | |
| 11695 | * arm-tdep.c (thumb_skip_prologue): Quit scanning prologue |
| 11696 | when we have found all instructions we are looking for. |
| 11697 | |
| 11698 | 2002-01-21 Richard Earnshaw <rearnsha@arm.com> |
| 11699 | |
| 11700 | * arm-tdep.c (arm_register_name): New function. |
| 11701 | (arm_registers_names): Make static. |
| 11702 | * config/arm/tm-arm.h (arm_register_names): Delete declaration. |
| 11703 | (arm_register_name): Declare. |
| 11704 | (REGISTER_NAME): Use it. |
| 11705 | |
| 11706 | 2002-01-21 Richard Earnshaw <rearnsha@arm.com> |
| 11707 | Kevin Buettner <kevinb@redhat.com> |
| 11708 | |
| 11709 | Convert arm targets to new FRAME interface. |
| 11710 | * arm-tdep.c (struct frame_extra_info): Remove fsr. |
| 11711 | (arm_frame_find_save_regs): Delete. |
| 11712 | (arm_frame_init_saved_regs): New. |
| 11713 | (arm_init_extra_frame_info): Alloacte saved_regs as required. |
| 11714 | Allocate extra_info as required. Convert all uses of fsr.regs |
| 11715 | to use saved_regs, similarly all uses of EXTRA_FRAME_INFO fields |
| 11716 | to use extra_info. |
| 11717 | (thumb_scan_prologue, arm_scan_prologue, arm_find_callers_reg) |
| 11718 | (arm_frame_chain, arm_frame_saved_pc, arm_pop_frame): Likewise. |
| 11719 | (check_prologue_cache, save_prologue_cache): Likewise. |
| 11720 | (_initialize_arm_tdep): Ensure prologue_cache is correctly set up. |
| 11721 | * config/arm/tm-arm.h (EXTRA_FRAME_INFO): Delete. |
| 11722 | (FRAME_FIND_SAVED_REGS): Delete. |
| 11723 | (arm_frame_find_saved_regs): Delete prototype. |
| 11724 | (arm_frame_init_saved_regs): New prototype. |
| 11725 | (FRAME_INIT_SAVED_REGS): Define. |
| 11726 | |
| 11727 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
| 11728 | |
| 11729 | * config/arc/tm-arc.h (IEEE_FLOAT): Delete. |
| 11730 | |
| 11731 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
| 11732 | |
| 11733 | From Jeff Law <law@redhat.com>: |
| 11734 | * infttrace.c: Include <sys/pstat.h>. |
| 11735 | (child_pid_to_exec_file): Revamp. Use pstat call to get the |
| 11736 | exec file if the ttrace equivalent fails. |
| 11737 | |
| 11738 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
| 11739 | |
| 11740 | * rdi-share/devsw.c (openLogFile): Delete unused ``struct tm lt''. |
| 11741 | (closeLogFile): Ditto. |
| 11742 | |
| 11743 | 2002-01-20 Michael Chastain <mec@shout.net> |
| 11744 | |
| 11745 | * top.c (print_gdb_version): Bump copyright year to 2002. |
| 11746 | |
| 11747 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
| 11748 | |
| 11749 | * MAINTAINERS (Blanket Write Privs): Add Kevin Buettner, Elena |
| 11750 | Zannoni and Eli Zaretskii. |
| 11751 | |
| 11752 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
| 11753 | |
| 11754 | * buildsym.c: Update copyright years. |
| 11755 | * c-typeprint.c: Likewise. |
| 11756 | * dwarf2read.c: Likewise. |
| 11757 | * f-typeprint.c: Likewise. |
| 11758 | * gdbtypes.c: Likewise. |
| 11759 | * gdbtypes.h: Likewise. |
| 11760 | * hp-symtab-read.c: Likewise. |
| 11761 | * hpread.c: Likewise. |
| 11762 | * mdebugread.c: Likewise. |
| 11763 | * p-typeprint.c: Likewise. |
| 11764 | |
| 11765 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
| 11766 | |
| 11767 | * remote-sim.c (gdbsim_open): Simplify code testing the macro |
| 11768 | TARGET_BYTE_ORDER_SELECTABLE_P. Assume the target is always |
| 11769 | byte-order selectable. |
| 11770 | * sparc-tdep.c (sparc_target_architecture_hook): Ditto. |
| 11771 | * arch-utils.c: Ditto. |
| 11772 | (set_endian): Ditto. |
| 11773 | (set_endian_from_file): Ditto. |
| 11774 | * gdbserver/low-sim.c (create_inferior): Ditto. |
| 11775 | * gdbarch.sh: Ditto. |
| 11776 | * gdbarch.h: Re-generate. |
| 11777 | * config/powerpc/tm-ppc-eabi.h (TARGET_BYTE_ORDER_SELECTABLE_P): |
| 11778 | * config/sparc/tm-sparclite.h (TARGET_BYTE_ORDER_SELECTABLE): |
| 11779 | * config/sparc/tm-sparclet.h (TARGET_BYTE_ORDER_SELECTABLE): |
| 11780 | * config/mcore/tm-mcore.h (TARGET_BYTE_ORDER_SELECTABLE_P): |
| 11781 | * config/arm/tm-wince.h (TARGET_BYTE_ORDER_SELECTABLE_P): |
| 11782 | * config/arm/tm-linux.h (TARGET_BYTE_ORDER_SELECTABLE_P): |
| 11783 | * config/arc/tm-arc.h (TARGET_BYTE_ORDER_SELECTABLE): |
| 11784 | * config/arm/tm-arm.h (TARGET_BYTE_ORDER_SELECTABLE_P): Delete |
| 11785 | macro definition. |
| 11786 | * config/mips/tm-wince.h: Remove #undef of macro |
| 11787 | TARGET_BYTE_ORDER_SELECTABLE. |
| 11788 | * config/sh/tm-wince.h: Ditto. |
| 11789 | |
| 11790 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
| 11791 | |
| 11792 | * gdbtypes.h (struct cplus_struct_type): Add is_artificial to |
| 11793 | member function fields. Add accessor macro |
| 11794 | TYPE_FN_FIELD_ARTIFICIAL. |
| 11795 | * dwarf2read.c (dwarf2_add_member_fn): Check for artificial methods. |
| 11796 | * c-typeprint.c (c_type_print_base): Skip artificial member |
| 11797 | functions. |
| 11798 | |
| 11799 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
| 11800 | |
| 11801 | * f-typeprint.c: Delete unused function f_type_print_args. |
| 11802 | * p-typeprint.c: Delete unused function pascal_type_print_args. |
| 11803 | |
| 11804 | 2002-01-20 Daniel Jacobowitz <drow@mvista.com> |
| 11805 | |
| 11806 | * gdbtypes.h (struct type): Fix whitespace. Remove obsolete |
| 11807 | comment. Add ``artificial'' to ``union field_location''. |
| 11808 | |
| 11809 | * dwarf2read.c: Remove ad-hoc TYPE_FIELD_ARTIFICIAL. |
| 11810 | |
| 11811 | * buildsym.c (finish_block): Initialize TYPE_FIELD_ARTIFICIAL to 0. |
| 11812 | * mdebugread.c (parse_symbol): Likewise. |
| 11813 | * stabsread.c (define_symbol): Likewise. |
| 11814 | * hp-symtab-read.c (hpread_function_type): Likewise, instead of |
| 11815 | initializing TYPE_FIELD_BITPOS to n (obsolete). |
| 11816 | (hpread_doc_function_type): Likewise. |
| 11817 | * hpread.c (hpread_function_type): Likewise. |
| 11818 | |
| 11819 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
| 11820 | |
| 11821 | * configure.in (host_makefile_frag): Only require a host makefile |
| 11822 | fragment when a native build. |
| 11823 | * configure: Re-generate. |
| 11824 | |
| 11825 | 2002-01-20 Andrew Cagney <ac131313@redhat.com> |
| 11826 | |
| 11827 | * doublest.h (floatformat_from_type): Declare. |
| 11828 | * doublest.c (floatformat_from_type): New function. |
| 11829 | (convert_typed_floating): Use. |
| 11830 | |
| 11831 | * valprint.c (print_floating): Replace checks for IEEE_FLOAT with |
| 11832 | call to function floatformat_from_type. |
| 11833 | |
| 11834 | * gdbarch.sh (IEEE_FLOAT): Delete. |
| 11835 | * gdbarch.h, gdbarch.c: Re-generate. |
| 11836 | * config/i960/tm-i960.h (IEEE_FLOAT): Delete macro. |
| 11837 | * config/i386/tm-i386.h (IEEE_FLOAT): Ditto. |
| 11838 | * config/z8k/tm-z8k.h (IEEE_FLOAT): Ditto. |
| 11839 | * config/sparc/tm-sparc.h (IEEE_FLOAT): Ditto. |
| 11840 | * config/pa/tm-hppa.h (IEEE_FLOAT): Ditto. |
| 11841 | * config/m88k/tm-m88k.h (IEEE_FLOAT): Ditto. |
| 11842 | * config/m68k/tm-m68k.h (IEEE_FLOAT): Ditto. |
| 11843 | * config/h8500/tm-h8500.h (IEEE_FLOAT): Ditto. |
| 11844 | * config/h8300/tm-h8300.h (IEEE_FLOAT): Ditto. |
| 11845 | * config/fr30/tm-fr30.h (IEEE_FLOAT): Ditto. |
| 11846 | * config/arm/tm-arm.h (IEEE_FLOAT): Ditto. |
| 11847 | * config/alpha/tm-alpha.h (IEEE_FLOAT): Ditto. |
| 11848 | |
| 11849 | * s390-tdep.c (s390_gdbarch_init): Do not set ieee_float. |
| 11850 | * x86-64-tdep.c (i386_gdbarch_init): Ditto. |
| 11851 | * sparc-tdep.c (sparc_gdbarch_init): Ditto. |
| 11852 | * sh-tdep.c (sh_gdbarch_init): Ditto. |
| 11853 | * mips-tdep.c (mips_gdbarch_init): Ditto. |
| 11854 | * m68hc11-tdep.c (m68hc11_gdbarch_init): Ditto. |
| 11855 | * cris-tdep.c (cris_gdbarch_init): Ditto. |
| 11856 | |
| 11857 | 2002-01-20 Jiri Smid <smid@suse.cz> |
| 11858 | |
| 11859 | * configure.host, configure.tgt: Support x86-64. |
| 11860 | * NEWS: Note new target x86-64. |
| 11861 | |
| 11862 | * config/i386/x86-64linux.mh (NATDEPFILES): x86-64-nat.o removed. |
| 11863 | * x86-64-linux-nat.c (x86_64_register_u_addr): New function. |
| 11864 | * config/i386/nm-x86-64.h (ATTACH_LWP): Removed. |
| 11865 | * Makefile.in (x86-64-tdep.o, x86-64-linux-tdep.o, |
| 11866 | x86-64-linux-nat.o): Fix dependencies. |
| 11867 | |
| 11868 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
| 11869 | |
| 11870 | * utils.c: Remove #ifndef MALLOC_INCOMPATIBLE. |
| 11871 | * config/sparc/xm-sun4os4.h (PTRACE_ARG3_TYPE): Move macro .... |
| 11872 | * config/sparc/nm-sun4os4.h (PTRACE_ARG3_TYPE): ... to here. |
| 11873 | * config/sparc/xm-sun4os4.h: Delete file. |
| 11874 | * config/sparc/sun4os4.mh (XM_FILE): Delete makefile variable. |
| 11875 | |
| 11876 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
| 11877 | |
| 11878 | * config/sparc/sparclynx.mh (XM_FILE): Delete. |
| 11879 | * config/rs6000/rs6000lynx.mh (XM_FILE): Delete. |
| 11880 | * config/m68k/m68klynx.mh (XM_FILE): Delete. |
| 11881 | * config/i386/i386lynx.mh (XM_FILE): Delete. |
| 11882 | * config/rs6000/xm-rs6000ly.h: Delete file. |
| 11883 | * config/sparc/xm-sparclynx.h: Delete file. |
| 11884 | * config/m68k/xm-m68klynx.h: Delete file. |
| 11885 | * config/i386/xm-i386lynx.h: Delete file. |
| 11886 | * config/xm-lynx.h: Delete file. |
| 11887 | * config/djgpp/fnchange.lst: Update. |
| 11888 | |
| 11889 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
| 11890 | |
| 11891 | * alpha-tdep.c (alpha_register_byte): New function. |
| 11892 | (alpha_register_raw_size): Ditto. |
| 11893 | (alpha_register_virtual_size): Ditto. |
| 11894 | (alpha_skip_prologue_internal): Renamed from |
| 11895 | alpha_skip_prologue. |
| 11896 | (alpha_skip_prologue): New version that calls |
| 11897 | alpha_skip_prologue_internal. |
| 11898 | (alpha_in_lenient_prologue): Use alpha_skip_prologue_internal. |
| 11899 | * config/alpha/tm-alpha.h (SKIP_PROLOGUE): Remove |
| 11900 | second argument from alpha_skip_prologue. |
| 11901 | (REGISTER_BYTE): Use alpha_register_byte. |
| 11902 | (REGISTER_RAW_SIZE): Use alpha_register_raw_size. |
| 11903 | (REGISTER_VIRTUAL_SIZE): Use alpha_register_virtual_size. |
| 11904 | (FRAMELESS_FUNCTION_INVOCATION): Use |
| 11905 | generic_frameless_function_invocation_not. |
| 11906 | (FRAME_NUM_ARGS): Use frame_num_args_unknown. |
| 11907 | (COERCE_FLOAT_TO_DOUBLE): Use standard_coerce_float_to_double. |
| 11908 | |
| 11909 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
| 11910 | |
| 11911 | * config/mips/xm-news-mips.h: Delete file. |
| 11912 | * config/mips/news-mips.mh (XM_FILE): Delete makefile variable. |
| 11913 | |
| 11914 | * config/m88k/xm-m88k.h: Delete file. |
| 11915 | * config/m88k/xm-dgux.h: Do not include xm-m88k.h. |
| 11916 | * config/m88k/xm-delta88v4.h: Ditto. |
| 11917 | * config/m88k/xm-delta88.h: Ditto. |
| 11918 | |
| 11919 | * config/alpha/xm-fbsd.h: Delete file. |
| 11920 | * config/alpha/fbsd.mh (XM_FILE): Delete makefile variable. |
| 11921 | |
| 11922 | * config/sparc/xm-sparc.h: Delete file. |
| 11923 | * Makefile.in (xm-sun4os4.h): Delete dependency. |
| 11924 | * config/sparc/xm-sun4sol2.h: Do not include xm-sparc.h. |
| 11925 | * config/sparc/xm-sun4os4.h: Ditto. |
| 11926 | * config/sparc/xm-linux.h: Ditto. |
| 11927 | |
| 11928 | * config/i386/xm-windows.h: Delete file. |
| 11929 | |
| 11930 | 2002-01-19 Andrew Cagney <ac131313@redhat.com> |
| 11931 | |
| 11932 | * utils.c: Include <sys/param.h> for MAXPATHLEN. |
| 11933 | (gdb_realpath): Use MAXPATHLEN when PATH_MAX is not defined. |
| 11934 | |
| 11935 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
| 11936 | |
| 11937 | * alpha-tdep.c (alpha_call_dummy_words): New. |
| 11938 | * config/alpha/tm-alpha.h (CALL_DUMMY): Remove. |
| 11939 | (CALL_DUMMY_P): Define. |
| 11940 | (CALL_DUMMY_WORDS): Define. |
| 11941 | (SIZEOF_CALL_DUMMY_WORDS): Define. |
| 11942 | |
| 11943 | 2002-01-19 Per Bothner <per@bothner.com> |
| 11944 | |
| 11945 | * gnu-v3-abi.c (gnuv3_rtti_type): Guard that vtable_symbol_name |
| 11946 | isn't NULL, which can happen with some gcj-3.x-produced code. |
| 11947 | |
| 11948 | 2002-01-19 Jason Thorpe <thorpej@wasabisystems.com> |
| 11949 | |
| 11950 | * alpha-tdep.c (alpha_register_virtual_type): New function. |
| 11951 | (alpha_init_frame_pc_first): Ditto. |
| 11952 | (alpha_fix_call_dummy): Ditto. |
| 11953 | (alpha_store_struct_return): Ditto. |
| 11954 | (alpha_extract_struct_value_address): Ditto. |
| 11955 | * config/alpha/tm-alpha.h (REGISTER_VIRTUAL_TYPE): Use |
| 11956 | alpha_register_virtual_type. |
| 11957 | (STORE_STRUCT_RETURN): Use alpha_store_struct_return. |
| 11958 | (EXTRACT_STRUCT_VALUE_ADDRESS): Use |
| 11959 | alpha_extract_struct_value_address. |
| 11960 | (FIX_CALL_DUMMY): Use alpha_fix_call_dummy. |
| 11961 | (INIT_FRAME_PC): Use init_frame_pc_noop. |
| 11962 | (INIT_FRAME_PC_FIRST): Use alpha_init_frame_pc_first. |
| 11963 | |
| 11964 | 2002-01-19 Mark Kettenis <kettenis@gnu.org> |
| 11965 | |
| 11966 | * i386gnu-nat.c: Include "i386-tdep.h". |
| 11967 | (fetch_fpregs): Simplify code dealing with uninitialized floating |
| 11968 | point states such that it doesn't require FP7_REGNUM. |
| 11969 | |
| 11970 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
| 11971 | |
| 11972 | * alpha-tdep.c (frame_extra_info): New. |
| 11973 | (alpha_find_saved_regs): Make static. Use |
| 11974 | frame->extra_info. |
| 11975 | (alpha_frame_init_saved_regs): New function. |
| 11976 | (alpha_frame_saved_pc): Use frame->extra_info. |
| 11977 | (temp_saved_regs): Don't declare as struct frame_saved_regs. |
| 11978 | (heuristic_proc_desc): Adjust for temp_saved_regs changes. |
| 11979 | (init_extra_frame_info): Rename to... |
| 11980 | (alpha_init_extra_frame_info): ...this. Use frame->extra_info. |
| 11981 | (alpha_print_extra_frame_info): New function. |
| 11982 | (alpha_frame_locals_address): Ditto. |
| 11983 | (alpha_frame_args_address): Ditto. |
| 11984 | (alpha_pop_frame): Use frame->extra_info. |
| 11985 | * config/alpha/tm-alpha.h (FRAME_ARGS_ADDRESS): Use |
| 11986 | alpha_frame_args_address. |
| 11987 | (FRAME_LOCALS_ADDRESS): Use alpha_frame_locals_address. |
| 11988 | (alpha_find_saved_regs): Remove prototype. |
| 11989 | (FRAME_INIT_SAVED_REGS): Use alpha_frame_init_saved_regs. |
| 11990 | (EXTRA_FRAME_INFO): Remove. |
| 11991 | (INIT_EXTRA_FRAME_INFO): Use alpha_init_extra_frame_info. |
| 11992 | (PRINT_EXTRA_FRAME_INFO): Use alpha_print_extra_frame_info. |
| 11993 | |
| 11994 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
| 11995 | |
| 11996 | * alpha-tdep.c (alpha_osf_in_sigtramp): New function. |
| 11997 | (alpha_cannot_fetch_register): Ditto. |
| 11998 | (alpha_cannot_store_register): Ditto. |
| 11999 | (alpha_register_convertible): Ditto. |
| 12000 | (alpha_use_struct_convention): Ditto. |
| 12001 | * config/alpha/tm-alpha.h: Update copyright years. |
| 12002 | (IN_SIGTRAMP): Use alpha_osf_in_sigtramp. |
| 12003 | (INNER_THAN): Use core_addr_lessthan. |
| 12004 | (CANNOT_FETCH_REGISTER): Use alpha_cannot_fetch_register. |
| 12005 | (CANNOT_STORE_REGISTER): Use alpha_cannot_store_register. |
| 12006 | (REGISTER_CONVERTIBLE): Use alpha_register_convertible. |
| 12007 | (USE_STRUCT_CONVENTION): Use alpha_use_struct_convention. |
| 12008 | (FRAME_CHAIN): Remove unnecessary cast. |
| 12009 | |
| 12010 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
| 12011 | |
| 12012 | * NEWS: Document that testsuite/gdb.hp/gdb.threads-hp/ is |
| 12013 | obsolete. |
| 12014 | |
| 12015 | 2002-01-18 Andrew Cagney <ac131313@redhat.com> |
| 12016 | |
| 12017 | * infptrace.c: Remove ATTRIBUTE_UNUSED. Update copyright. |
| 12018 | * monitor.c, remote-array.c, remote-bug.c: Ditto. |
| 12019 | * remote-e7000.c, remote-es.c, remote-mips.c: Ditto. |
| 12020 | * remote-nindy.c, remote-os9k.c, remote-rdi.c: Ditto. |
| 12021 | * remote-rdp.c, remote-sds.c, remote-sim.c: Ditto. |
| 12022 | * remote-st.c, remote-vx.c, remote.c, win32-nat.c: Ditto. |
| 12023 | * x86-64-linux-nat.c: Ditto. |
| 12024 | |
| 12025 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
| 12026 | |
| 12027 | * alpha-tdep.c (alpha_register_name): New function. |
| 12028 | * config/alpha/tm-alpha.h (REGISTER_NAMES): Remove. |
| 12029 | (REGISTER_NAME): Define. |
| 12030 | |
| 12031 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
| 12032 | |
| 12033 | * config/nm-nbsd.h (KERNEL_U_ADDR): Remove. |
| 12034 | |
| 12035 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
| 12036 | |
| 12037 | * alpha-tdep.c: Update copyright years. |
| 12038 | (alpha_next_pc): New function. |
| 12039 | (alpha_software_single_step): Ditto. |
| 12040 | * config/alpha/tm-alpha.h: Add prototype for |
| 12041 | alpha_software_single_step. |
| 12042 | |
| 12043 | 2002-01-18 Jason Thorpe <thorpej@wasabisystems.com> |
| 12044 | |
| 12045 | * alphabsd-nat.c: Update copyright years. |
| 12046 | (fill_gregset): Use regcache_collect. |
| 12047 | (fill_fpregset): Likewise. |
| 12048 | (fetch_inferior_registers): Only fetch integer registers |
| 12049 | if requested to do so. |
| 12050 | (store_inferior_registers): Only store integer registers |
| 12051 | if requested to do so. |
| 12052 | |
| 12053 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
| 12054 | |
| 12055 | * config/alpha/alpha-osf3.mh (XDEPFILES): Delete. |
| 12056 | * config/alpha/alpha-osf2.mh (XDEPFILES): Delete. |
| 12057 | * config/alpha/alpha-osf1.mh (XDEPFILES): Delete. |
| 12058 | * config/alpha/alpha-linux.mh (XDEPFILES): Delete. |
| 12059 | * config/alpha/fbsd.mh (XDEPFILES): Delete. |
| 12060 | * config/arm/linux.mh (XDEPFILES): Delete. |
| 12061 | * config/arm/nbsd.mh (XDEPFILES): Delete. |
| 12062 | * config/i386/i386dgux.mh (XDEPFILES): Delete. |
| 12063 | * config/i386/i386sol2.mh (XDEPFILES): Delete. |
| 12064 | * config/i386/i386m3.mh (XDEPFILES): Delete. |
| 12065 | (NATDEPFILES): Move i387-tdep.o and core-aout.o to here. |
| 12066 | * config/i386/i386gnu.mh (XDEPFILES): Delete. |
| 12067 | * config/i386/fbsd.mh (XDEPFILES): Delete. |
| 12068 | * config/i386/i386bsd.mh (XDEPFILES): Delete. |
| 12069 | * config/i386/i386sco5.mh (XDEPFILES): Delete. |
| 12070 | * config/i386/i386v4.mh (XDEPFILES): Delete. |
| 12071 | * config/i386/i386v42mp.mh (XDEPFILES): Delete. |
| 12072 | * config/i386/i386sco4.mh (XDEPFILES): Delete. |
| 12073 | * config/i386/i386aix.mh (XDEPFILES): Delete. |
| 12074 | * config/i386/go32.mh (XDEPFILES): Delete. |
| 12075 | * config/i386/cygwin.mh (XDEPFILES): Delete. |
| 12076 | * config/i386/i386lynx.mh (XDEPFILES): Delete. |
| 12077 | * config/i386/i386mach.mh (XDEPFILES): Delete. |
| 12078 | * config/i386/i386v32.mh (XDEPFILES): Delete. |
| 12079 | * config/i386/linux.mh (XDEPFILES): Delete. |
| 12080 | * config/i386/nbsdelf.mh (XDEPFILES): Delete. |
| 12081 | * config/i386/ncr3000.mh (XDEPFILES): Delete. |
| 12082 | * config/i386/i386mk.mh (NATDEPFILES): Rename XDEPFILES. |
| 12083 | * config/i386/i386sco.mh (XDEPFILES): Delete. |
| 12084 | * config/i386/i386v.mh (XDEPFILES): Delete. |
| 12085 | * config/i386/nbsd.mh (XDEPFILES): Delete. |
| 12086 | * config/i386/ptx.mh (NATDEPFILES): Rename XDEPFILES. |
| 12087 | * config/i386/ptx4.mh (NATDEPFILES): Rename XDEPFILES. |
| 12088 | * config/i386/symmetry.mh (XDEPFILES): Delete. |
| 12089 | * config/i386/obsd.mh (XDEPFILES): Delete. |
| 12090 | * config/i386/x86-64linux.mh (XDEPFILES): Delete. |
| 12091 | * config/ia64/linux.mh (XDEPFILES): Delete. |
| 12092 | * config/ia64/aix.mh (XDEPFILES): Delete. |
| 12093 | * config/m68k/apollo68b.mh (XDEPFILES): Delete. |
| 12094 | * config/m68k/dpx2.mh (XDEPFILES): Delete. |
| 12095 | * config/m68k/3b1.mh (NATDEPFILES): Rename XDEPFILES. |
| 12096 | * config/m68k/apollo68v.mh (XDEPFILES): Delete. |
| 12097 | * config/m68k/hp300bsd.mh (XDEPFILES): Delete. |
| 12098 | * config/m68k/linux.mh (XDEPFILES): Delete. |
| 12099 | * config/m68k/m68klynx.mh (XDEPFILES): Delete. |
| 12100 | * config/m68k/m68kv4.mh (XDEPFILES): Delete. |
| 12101 | * config/m68k/nbsd.mh (XDEPFILES): Delete. |
| 12102 | * config/m68k/sun2os3.mh (XDEPFILES): Delete. |
| 12103 | * config/m68k/sun2os4.mh (XDEPFILES): Delete. |
| 12104 | * config/m68k/sun3os3.mh (XDEPFILES): Delete. |
| 12105 | * config/m68k/sun3os4.mh (XDEPFILES): Delete. |
| 12106 | * config/m88k/delta88.mh (XDEPFILES): Delete. |
| 12107 | * config/m88k/delta88v4.mh (XDEPFILES): Delete. |
| 12108 | * config/m88k/m88k.mh (XDEPFILES): Delete. |
| 12109 | * config/mips/littlemips.mh (NATDEPFILES): Rename XDEPFILES. |
| 12110 | * config/mips/linux.mh (XDEPFILES): Delete. |
| 12111 | * config/mips/irix6.mh (XDEPFILES): Delete. |
| 12112 | * config/mips/irix5.mh (XDEPFILES): Delete. |
| 12113 | * config/mips/irix4.mh (XDEPFILES): Delete. |
| 12114 | * config/mips/irix3.mh (XDEPFILES): Delete. |
| 12115 | * config/mips/decstation.mh (XDEPFILES): Delete. |
| 12116 | * config/mips/mipsm3.mh (XDEPFILES): Delete. |
| 12117 | (NATDEPFILES): Move core-aout.o to here. |
| 12118 | * config/ns32k/nbsd.mh (XDEPFILES): Delete. |
| 12119 | * config/pa/hpux1020.mh (XDEPFILES): Delete. |
| 12120 | * config/pa/hppabsd.mh (XDEPFILES): Delete. |
| 12121 | * config/pa/hppahpux.mh (XDEPFILES): Delete. |
| 12122 | * config/pa/hpux11w.mh (XDEPFILES): Delete. |
| 12123 | * config/pa/hppaosf.mh (XDEPFILES): Delete. |
| 12124 | * config/pa/hpux11.mh (XDEPFILES): Delete. |
| 12125 | * config/powerpc/aix.mh (XDEPFILES): Delete. |
| 12126 | * config/powerpc/nbsd.mh (XDEPFILES): Delete. |
| 12127 | * config/powerpc/linux.mh (XDEPFILES): Delete. |
| 12128 | * config/romp/rtbsd.mh: Rename XDEPFILES. |
| 12129 | * config/rs6000/rs6000lynx.mh (XDEPFILES): Delete. |
| 12130 | * config/rs6000/aix4.mh (XDEPFILES): Delete. |
| 12131 | * config/rs6000/rs6000.mh (XDEPFILES): Delete. |
| 12132 | * config/s390/s390.mh (XDEPFILES): Delete. |
| 12133 | * config/vax/vaxbsd.mh (NATDEPFILES): Rename XDEPFILES. |
| 12134 | * config/sparc/sun4sol2.mh (XDEPFILES): Delete. |
| 12135 | * config/sparc/sun4os4.mh (XDEPFILES): Delete. |
| 12136 | * config/sparc/sparclynx.mh (XDEPFILES): Delete. |
| 12137 | * config/sparc/nbsdelf.mh (XDEPFILES): Delete. |
| 12138 | * config/sparc/nbsd.mh (XDEPFILES): Delete. |
| 12139 | * config/sparc/linux.mh (XDEPFILES): Delete. |
| 12140 | * config/vax/vaxult.mh (XDEPFILES): Delete. |
| 12141 | * config/vax/vaxult2.mh (XDEPFILES): Delete. |
| 12142 | * Makefile.in (DEPFILES): Remove XDEPFILES. |
| 12143 | |
| 12144 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
| 12145 | |
| 12146 | * utils.c (internal_verror): Fix comments, default is yes not no. |
| 12147 | Update queries to match. Default to quit and dump core. |
| 12148 | |
| 12149 | 2002-01-17 Andrew Cagney <ac131313@redhat.com> |
| 12150 | |
| 12151 | * breakpoint.c: Update assuming #if UI_OUT is always true. Update |
| 12152 | copyright. |
| 12153 | * defs.h, event-top.c, gdbcmd.h: Ditto. |
| 12154 | * infcmd.c, infrun.c, main.c, printcmd.c, remote.c: Ditto. |
| 12155 | * source.c, stack.c, symfile.c, symtab.c, thread.c: Ditto. |
| 12156 | * top.c, cli/cli-cmds.c, cli/cli-decode.c: Ditto. |
| 12157 | * cli/cli-script.c, cli/cli-script.h, cli/cli-setshow.c: Ditto. |
| 12158 | * mi/ChangeLog, mi/mi-cmd-break.c, mi/mi-cmd-stack.c: Ditto. |
| 12159 | * mi/mi-main.c:Ditto. |
| 12160 | |
| 12161 | * stack.c, symfile.c: Update copyright. |
| 12162 | |
| 12163 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
| 12164 | |
| 12165 | * gdbserver/low-hppabsd.c, gdbserver/low-lynx.c, |
| 12166 | gdbserver/low-nbsd.c, gdbserver/low-sim.c, |
| 12167 | gdbserver/low-sparc.c, gdbserver/low-sun3.c, |
| 12168 | gdbserver/low-linux.c, gdbserver/server.c: Correct copyright notices. |
| 12169 | |
| 12170 | 2002-01-17 Daniel Jacobowitz <drow@mvista.com> |
| 12171 | |
| 12172 | * gdbserver/low-hppabsd.c (myattach): New function, returning -1. |
| 12173 | * gdbserver/low-lynx.c (myattach): Likewise. |
| 12174 | * gdbserver/low-nbsd.c (myattach): Likewise. |
| 12175 | * gdbserver/low-sim.c (myattach): Likewise. |
| 12176 | * gdbserver/low-sparc.c (myattach): Likewise. |
| 12177 | * gdbserver/low-sun3.c (myattach): Likewise. |
| 12178 | |
| 12179 | * gdbserver/low-linux.c (myattach): New function. |
| 12180 | |
| 12181 | * gdbserver/server.c (attach_inferior): New function. |
| 12182 | (main): Handle "--attach". |
| 12183 | |
| 12184 | 2002-01-16 Andrew Cagney <ac131313@redhat.com> |
| 12185 | |
| 12186 | * MAINTAINERS (language support): Daniel Jacobwitz is C++ |
| 12187 | maintainer. |
| 12188 | |
| 12189 | 2002-01-15 Daniel Jacobowitz <drow@mvista.com> |
| 12190 | |
| 12191 | * c-typeprint.c (is_type_conversion_operator): Add additional |
| 12192 | check for non-conversion operators. |
| 12193 | |
| 12194 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
| 12195 | |
| 12196 | * linux-proc.c: Add "info proc" command, a la procfs.c. |
| 12197 | (read_mapping): New function, abstract and re-use code. |
| 12198 | (linux_find_memory_regions): Use new func read_mapping. |
| 12199 | (linux_info_proc_cmd): New function, implement "info proc". |
| 12200 | (_initialize_linux_proc): Add new command "info proc". |
| 12201 | |
| 12202 | 2002-01-15 Michael Snyder <msnyder@redhat.com> |
| 12203 | |
| 12204 | * symfile.c (generic_load): Use bfd_map_over_sections method |
| 12205 | instead of manipulating bfd structure members directly. |
| 12206 | (add_section_size_callback): New function, bfd sections callback |
| 12207 | used by generic_load. |
| 12208 | (load_sections_callback): New function, bfd sections callback |
| 12209 | used by generic_load. |
| 12210 | |
| 12211 | 2002-01-15 Elena Zannoni <ezannoni@redhat.com> |
| 12212 | |
| 12213 | [Based on work by Jim Blandy] |
| 12214 | * gdbtypes.h (builtin_type_v16qi, builtin_type_v8hi): Export. |
| 12215 | (builtin_type_vec128): Export. |
| 12216 | * gdbtypes.c (builtin_type_v16qi, builtin_type_v8hi): New SIMD |
| 12217 | types. |
| 12218 | (builtin_type_vec128): New builtin type for 128 bit vector |
| 12219 | registers. |
| 12220 | (build_gdbtypes): Initialize builtin_type_v16qi and |
| 12221 | builtin_type_v8hi. Create the vec128 register builtin type |
| 12222 | structure. |
| 12223 | (build_builtin_type_vec128): New function. |
| 12224 | (_initialize_gdbtypes): Register builtin_type_v16qi and |
| 12225 | builtin_type_v8hi with gdbarch. Same for builtin_type_vec128. |
| 12226 | * rs6000-tdep.c (rs6000_register_virtual_type): Change type of |
| 12227 | AltiVec register to new builtin type. |
| 12228 | |
| 12229 | 2001-01-15 Daniel Jacobowitz <drow@mvista.com> |
| 12230 | |
| 12231 | * stabsread.c (read_type): Pass dbx_lookup_type (typenums) |
| 12232 | to make_cv_type. |
| 12233 | |
| 12234 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
| 12235 | |
| 12236 | * config/pa/tm-hppa.h (DEPRECATED_CLEAN_UP_REGISTER_VALUE): Rename |
| 12237 | CLEAN_UP_REGISTER_VALUE. |
| 12238 | * regcache.c (supply_register): Update only call. |
| 12239 | |
| 12240 | 2002-01-14 Andrew Cagney <ac131313@redhat.com> |
| 12241 | |
| 12242 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, |
| 12243 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and |
| 12244 | a29k-*-vxworks* targets as obsolete. |
| 12245 | |
| 12246 | 2002-01-14 Michael Snyder <msnyder@redhat.com> |
| 12247 | |
| 12248 | * linux-proc.c (linux_do_thread_registers): Ignore fpxregs |
| 12249 | until we can resolve portability issues. |
| 12250 | * gregset.h: Remove references to fpxregs. |
| 12251 | * gcore.c (gcore_command): Initialize note_sec to NULL. |
| 12252 | |
| 12253 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
| 12254 | |
| 12255 | * signals.c (target_signal_to_name): Rewrite. Only use |
| 12256 | signals[].name when in bounds and non-NULL. |
| 12257 | |
| 12258 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
| 12259 | |
| 12260 | From Petr Ledvina <ledvinap@kae.zcu.cz>: |
| 12261 | * signals.c (target_signal_to_name): Verify that SIG is within the |
| 12262 | bounds of the signals array. |
| 12263 | |
| 12264 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
| 12265 | |
| 12266 | * MAINTAINERS: Remove arm-coff and arm-pe from target list. |
| 12267 | |
| 12268 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
| 12269 | |
| 12270 | * stack.c (print_frame_info_base): Print the frame's pc |
| 12271 | only if when print_frame_info_listing_hook is not defined. |
| 12272 | |
| 12273 | 2002-01-13 Keith Seitz <keiths@redhat.com> |
| 12274 | |
| 12275 | * varobj.c (varobj_set_value): Make sure that there were no |
| 12276 | errors evaluating the object before attempting to set its |
| 12277 | value. |
| 12278 | value_cast now properly adjusts VALUE_ADDRESS for baseclasses, |
| 12279 | so this offset adjustment is no longer necessary. |
| 12280 | (create_child): Don't set the error flag if the child is |
| 12281 | a CPLUS_FAKE_CHILD. |
| 12282 | (value_of_child): If value_fetch_lazy fails, return NULL |
| 12283 | so that callers will be notified that an error occurred. |
| 12284 | (c_value_of_variable): Delay check of variable's validity |
| 12285 | until later. We actually want all structs and unions to have |
| 12286 | the value "{...}". |
| 12287 | Do not return "???" for variables which could not be evaluated. |
| 12288 | This error condition must be returned to the caller so that it |
| 12289 | can get the error condition from gdb. |
| 12290 | (cplus_name_of_child): Adjust index for vptr before figuring |
| 12291 | out the name of the child. |
| 12292 | (cplus_value_of_child): If a child's (real) parent is not valid, |
| 12293 | don't even bother trying to give a value for it. Just return |
| 12294 | an error. Change all instances in this function. |
| 12295 | (cplus_type_of_child): If our parent is one of the "fake" |
| 12296 | parents, we need to get at the type of the real parent, and |
| 12297 | derive the child's true type using this information. |
| 12298 | |
| 12299 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
| 12300 | |
| 12301 | From 2002-01-09 John Marshall <johnm@falch.net>: |
| 12302 | * CONTRIBUTE, README, TODO: Change sourceware.cygnus.com to |
| 12303 | sources.redhat.com, and tweak some related URLs which had |
| 12304 | suffered from linkrot. |
| 12305 | |
| 12306 | 2002-01-13 Andrew Cagney <ac131313@redhat.com> |
| 12307 | |
| 12308 | From Jeff law: |
| 12309 | * hppa-tdep.c (hppa_push_arguments): Correct handling of 5-7 byte |
| 12310 | structures passed in registers. |
| 12311 | |
| 12312 | 2002-01-13 Eli Zaretskii <eliz@is.elta.co.il> |
| 12313 | |
| 12314 | * go32-nat.c (save_npx) [__DJGPP_MINOR__ < 3]: Remove extraneous |
| 12315 | white space which prevented compilation. Reported by DSK |
| 12316 | <dsk@student.unsw.edu.au>. |
| 12317 | |
| 12318 | 2002-01-11 Michael Snyder <msnyder@redhat.com> |
| 12319 | |
| 12320 | * symfile.c (build_section_addr_info_from_section_tab): |
| 12321 | Use bfd access method instead of manipulating bfd directly. |
| 12322 | (syms_from_objfile): Ditto. |
| 12323 | (simple_overlay_update_1): Ditto. |
| 12324 | (simple_overlay_update): Ditto. |
| 12325 | (generic_load): Ditto. |
| 12326 | (overlay_unmapped_address): FIXME comment, bfd access methods. |
| 12327 | (sections_overlap): FIXME comment, bfd access methods. |
| 12328 | (pc_in_mapped_range): FIXME comment, bfd access methods. |
| 12329 | (pc_in_unmapped_range): FIXME comment, bfd access methods. |
| 12330 | (section_is_mapped): FIXME comment, bfd access methods. |
| 12331 | (section_is_overlay): FIXME comment, bfd access methods. |
| 12332 | |
| 12333 | * symfile.c (generic_load): Whitespace and long line cleanups. |
| 12334 | Remove duplicate variable, change several local variables to |
| 12335 | more appropriate data types. |
| 12336 | (print_transfer_performance): Use %lu instead of %ld for ulongs. |
| 12337 | |
| 12338 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
| 12339 | |
| 12340 | From Peter Schauer: |
| 12341 | * language.c (longest_local_hex_string_custom): Use phex_nz to |
| 12342 | convert NUM to a hex string. |
| 12343 | |
| 12344 | 2002-01-12 Elena Zannoni <ezannoni@redhat.com> |
| 12345 | |
| 12346 | * sh-tdep.c (sh_gdbarch_init): Move setting of long_bit earlier in |
| 12347 | the function. |
| 12348 | Update Copyright year. |
| 12349 | |
| 12350 | 2002-01-12 Andrew Cagney <ac131313@redhat.com> |
| 12351 | |
| 12352 | * language.c (longest_raw_hex_string): Delete unused function. |
| 12353 | |
| 12354 | 2002-01-11 Petr Sorfa <petrs@caldera.com> |
| 12355 | |
| 12356 | * MAINTAINERS (write-after-approval): Add myself. |
| 12357 | * dwarf2read.c (read_tag_string_type): Handling of |
| 12358 | DW_AT_byte_size. |
| 12359 | (read_tag_string_type): FORTRAN fix to prevent propagation of |
| 12360 | first string size. |
| 12361 | (set_cu_language): Handling of DW_LANG_Fortran95 |
| 12362 | |
| 12363 | 2002-01-11 Richard Earnshaw <rearnsha@arm.com> |
| 12364 | |
| 12365 | * armnbsd-nat.c (fetch_inferior_registers): Change inferior_pid -> |
| 12366 | GETPID(inferior_ptid). |
| 12367 | (store_inferior_registers): Likewise. |
| 12368 | |
| 12369 | 2002-01-10 Jason Merrill <jason@redhat.com> |
| 12370 | |
| 12371 | * dwarf2read.c (decode_locdesc): Implement DW_OP_litn, DW_OP_dup. |
| 12372 | Fix DW_OP_minus. |
| 12373 | |
| 12374 | 2002-01-10 Andrew Cagney <ac131313@redhat.com> |
| 12375 | |
| 12376 | * config/djgpp/fnchange.lst: Add renames for bfd/ChangeLog-0001 |
| 12377 | and bfd/elf32-sh-nbsd.c. |
| 12378 | |
| 12379 | 2002-01-10 Michael Snyder <msnyder@redhat.com> |
| 12380 | |
| 12381 | * NEWS: Mention --pid and corefile/proc-id behavior change. |
| 12382 | |
| 12383 | * Makefile.in: Add rules for gcore.o and linux-proc.o. |
| 12384 | * gcore.c: Include cli/cli-decode.h instead of command.h. |
| 12385 | |
| 12386 | * main.c (captured_main): Add new command line option "--pid". |
| 12387 | If the second command line argument (following the symbol-file) |
| 12388 | begins with a digit, try to attach to it before trying to open |
| 12389 | it as a corefile. |
| 12390 | (print_gdb_help): Document the "--pid" argument. |
| 12391 | |
| 12392 | 2002-01-10 Eli Zaretskii <eliz@is.elta.co.il> |
| 12393 | |
| 12394 | * completer.c (command_completer): New function. |
| 12395 | |
| 12396 | * completer.h <command_completer>: Add prototype. |
| 12397 | |
| 12398 | * cli/cli-cmds.c (init_cli_cmds): Make command_completer be the |
| 12399 | completer for the "help" command. |
| 12400 | |
| 12401 | 2002-01-09 Jason Merrill <jason@redhat.com> |
| 12402 | |
| 12403 | * c-typeprint.c (is_type_conversion_operator): Fix thinko. |
| 12404 | |
| 12405 | 2002-01-09 Michael Snyder <msnyder@redhat.com> |
| 12406 | |
| 12407 | * i386-linux-nat.c (fill_fpxregset): Make global. |
| 12408 | (store_fpxregset): Ditto. |
| 12409 | |
| 12410 | * gregset.h (gdb_fpxregset_t): Define. |
| 12411 | (supply_fpxregset): Prototype. |
| 12412 | (fill_fpxregset): Prototype. |
| 12413 | |
| 12414 | * exec.c (exec_make_note_section): Don't call elfcore_write_prpsinfo. |
| 12415 | |
| 12416 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
| 12417 | |
| 12418 | * config/arm/arm-tdep.h (arm_software_single_step): Remove PARAMS. |
| 12419 | * config/arm/nm-nbsd.h (arm_register_u_addr): Likewise. |
| 12420 | * config/arm/tm-nbsd.h (get_longjmp_target): Likewise. |
| 12421 | |
| 12422 | 2002-01-09 Andrew Cagney <ac131313@redhat.com> |
| 12423 | |
| 12424 | * MAINTAINERS: Update target maintainer rules so that any |
| 12425 | Maintainer can approve a tested patch for a maintenance-only |
| 12426 | target. |
| 12427 | |
| 12428 | 2002-01-09 Richard Earnshaw <rearnsha@arm.com> |
| 12429 | |
| 12430 | * MAINTAINERS (write-after-approval): Add myself. |
| 12431 | |
| 12432 | * arm-tdep.c (arm_init_extra_frame_info): Cast NULL argument to |
| 12433 | IN_SIGTRAMP. |
| 12434 | |
| 12435 | 2002-01-08 Michael Snyder <msnyder@redhat.com> |
| 12436 | |
| 12437 | * linux-proc.c (child_pid_to_exec_file): Use readlink to get the |
| 12438 | real name of the executable, rather than the /proc name. |
| 12439 | |
| 12440 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
| 12441 | |
| 12442 | Implement a "generate-core-file" command in gdb, save target state. |
| 12443 | * gcore.c: New file. Implement new command 'generate-core-file'. |
| 12444 | Save a corefile image of the current state of the inferior. |
| 12445 | * linux-proc.c: Add linux-specific code for saving corefiles. |
| 12446 | * target.h (struct target_ops): Add new target vectors for saving |
| 12447 | corefiles; to_find_memory_regions and to_make_corefile_notes. |
| 12448 | (target_find_memory_regions): New macro. |
| 12449 | (target_make_corefile_notes): New macro. |
| 12450 | * target.c (update_current_target): Inherit new target methods. |
| 12451 | (dummy_find_memory_regions): New place-holder method. |
| 12452 | (dummy_make_corefile_notes): New place-holder method. |
| 12453 | (init_dummy_target): Initialize new dummy target vectors. |
| 12454 | * exec.c (exec_set_find_memory_regions): New function. |
| 12455 | Allow the exec_ops vector for memory regions to be taken over. |
| 12456 | (exec_make_note_section): New function, target vector method. |
| 12457 | * defs.h (exec_set_find_memory_regions): Export prototype. |
| 12458 | * procfs.c (proc_find_memory_regions): New function, corefile method. |
| 12459 | (procfs_make_note_section): New function, corefile method. |
| 12460 | (init_procfs_ops): Set new target vector pointers. |
| 12461 | (find_memory_regions_callback): New function. |
| 12462 | (procfs_do_thread_registers): New function. |
| 12463 | (procfs_corefile_thread_callback): New function. |
| 12464 | * sol-thread.c (sol_find_memory_regions): New function. |
| 12465 | (sol_make_note_section): New function. |
| 12466 | (init_sol_thread_ops): Initialize new target vectors. |
| 12467 | * inftarg.c (inftarg_set_find_memory_regions): New function. |
| 12468 | Allow to_find_memory_regions vector to be taken over. |
| 12469 | (inftarg_set_make_corefile_notes): New function. |
| 12470 | Allow to_make_corefile_notes vector to be taken over. |
| 12471 | * thread-db.c (thread_db_new_objfile): Don't activate thread-db |
| 12472 | interface layer if not target_has_execution (may be a corefile). |
| 12473 | * config/i386/linux.mh: Add gcore.o to NATDEPFILES. |
| 12474 | * config/sparc/sun4sol2.mh: Ditto. |
| 12475 | * config/alpha/alpha-linux.mh: Ditto. |
| 12476 | * config/arm/linux.mh: Ditto. |
| 12477 | * config/i386/x86-64linux.mh: Ditto. |
| 12478 | * config/ia64/linux.mh: Ditto. |
| 12479 | * config/m68k/linux.mh: Ditto. |
| 12480 | * config/mips/linux.mh: Ditto. |
| 12481 | * config/powerpc/linux.mh: Ditto. |
| 12482 | * config/sparc/linux.mh: Ditto. |
| 12483 | |
| 12484 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
| 12485 | |
| 12486 | * arm-linux-nat.c: Remove references to regcache.c internal data |
| 12487 | (registers[] and register_valid[]). |
| 12488 | |
| 12489 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
| 12490 | |
| 12491 | * linux-proc.c: New file. Implement child_pid_to_exec_file, |
| 12492 | so that attaching to a pid will automatically read the process's |
| 12493 | symbol file and shlibs. |
| 12494 | * Makefile.in: Add rule for linux-proc.o. |
| 12495 | * config/nm-linux.h: Define CHILD_PID_TO_EXEC_FILE. |
| 12496 | * config/alpha/alpha-linux.mh: Add linux-proc.o to NATDEPFILES. |
| 12497 | * config/arm/linux.mh: Ditto. |
| 12498 | * config/i386/linux.mh: Ditto. |
| 12499 | * config/i386/x86-64linux.mh: Ditto. |
| 12500 | * config/ia64/linux.mh: Ditto. |
| 12501 | * config/m68k/linux.mh: Ditto. |
| 12502 | * config/mips/linux.mh: Ditto. |
| 12503 | * config/powerpc/linux.mh: Ditto. |
| 12504 | * config/sparc/linux.mh: Ditto. |
| 12505 | |
| 12506 | 2002-01-06 Pierre Muller <muller@ics.u-strasbg.fr> |
| 12507 | |
| 12508 | * win32-nat.c: Add i386-tdep.h dependency. |
| 12509 | |
| 12510 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
| 12511 | |
| 12512 | * solib.c (info_sharedlibrary_command): Use TARGET_PTR_BIT |
| 12513 | instead of bfd_get_arch_size. Don't bail out just because |
| 12514 | there's no exec_bfd. |
| 12515 | |
| 12516 | * cp-valprint.c (cp_print_value): FIXME comment, alloca size. |
| 12517 | * p-valprint.c (pascal_object_print_value): Ditto. |
| 12518 | * somread.c (som_symtab_read): Ditto. |
| 12519 | * symfile.c (simple_free_overlay_region_table): Ditto. |
| 12520 | * valops.c (value_assign): Ditto. |
| 12521 | |
| 12522 | * tracepoint.c (tracepoint_save_command): From Klee Dienes -- |
| 12523 | use tilde_expand and strerror for opening save-tracepoints file. |
| 12524 | |
| 12525 | * thread-db.c (thread_db_new_objfile): Indendation fix. |
| 12526 | |
| 12527 | * infptrace.c (GDB_MAX_ALLOCA): New define. |
| 12528 | (child_xfer_memory): Use xmalloc/xfree instead of alloca if the |
| 12529 | size of the buffer exceeds GDB_MAX_ALLOCA (default 1 megabyte, |
| 12530 | can be overridden with whatever value is appropriate to the host). |
| 12531 | * infttrace.c (child_xfer_memory): Add FIXME warning about use of |
| 12532 | alloca to allocate potentially large buffer. |
| 12533 | * rs6000-nat.c (child_xfer_memory): Ditto. |
| 12534 | * symm-nat.c (child_xfer_memory): Ditto. |
| 12535 | * x86-64-linux-nat.c (child_xfer_memory): Ditto. |
| 12536 | |
| 12537 | 2002-01-07 Jackie Smith Cashion <jsmith@redhat.com> |
| 12538 | |
| 12539 | From Nick Clifton <nickc@redhat.com> |
| 12540 | * d10v-tdep.c: Set STACK_START to 0x200bffe. |
| 12541 | |
| 12542 | 2002-01-07 Michael Snyder <msnyder@redhat.com> |
| 12543 | |
| 12544 | * solib-legacy.c (legacy_svr4_fetch_link_map_offsets): |
| 12545 | Don't use exec_bfd if it's NULL. |
| 12546 | |
| 12547 | 2002-01-06 Mark Kettenis <kettenis@gnu.org> |
| 12548 | |
| 12549 | * valops.c (value_arg_coerce): Fix formatting. |
| 12550 | |
| 12551 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
| 12552 | |
| 12553 | * hp-psymtab-read.c: Include "gdb_string.h" instead of <string.h>. |
| 12554 | * gnu-nat.c: Ditto. |
| 12555 | |
| 12556 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
| 12557 | |
| 12558 | * MAINTAINERS: Note that alpha-dec-osf4.0a, arc-elf, arm-coff, |
| 12559 | arm-elf, arm-pe, d30v-elf, fr30-elf, h8300hms, h8500hms, |
| 12560 | i960-coff, m32r-elf, m68k-elf, m88k, mcore-elf, mn10200-elf, |
| 12561 | ns32k-netbsd, hppa1.1-hp-proelf, v850-elf, vax-dec-vms5.5 and |
| 12562 | z8k-coff have not been multi-arched. Update z8k-coff build |
| 12563 | status. |
| 12564 | |
| 12565 | 2002-01-06 Andrew Cagney <ac131313@redhat.com> |
| 12566 | |
| 12567 | * MAINTAINERS: Mark a29k target as obsolete. |
| 12568 | * Makefile.in (a29k-tdep.o, remote-adapt.o, remote-eb.o) |
| 12569 | (remote-mm.o, remote-udi.o): Obsolete. Remove references in |
| 12570 | comments. |
| 12571 | * NEWS: Note that a29k targets are obsolete. |
| 12572 | * a29k-tdep.c: Mark as obsolete. |
| 12573 | * configure.tgt: Mark a29k-*-aout*, a29k-*-coff*, a29k-*-elf*, |
| 12574 | a29k-*-ebmon*, a29k-*-kern*, a29k-*-none*, a29k-*-udi* and |
| 12575 | a29k-*-vxworks* targets as obsolete. |
| 12576 | * remote-adapt.c: Obsolete. |
| 12577 | * remote-eb.c: Obsolete. |
| 12578 | * remote-mm.c: Obsolete. |
| 12579 | * remote-udi.c: Obsolete. |
| 12580 | * config/a29k/a29k-udi.mt: Obsolete. |
| 12581 | * config/a29k/a29k.mt: Obsolete. |
| 12582 | * config/a29k/tm-a29k.h: Obsolete. |
| 12583 | * config/a29k/tm-vx29k.h: Obsolete. |
| 12584 | * config/a29k/vx29k.mt: Obsolete. |
| 12585 | |
| 12586 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
| 12587 | |
| 12588 | * rs6000-tdep.c (rs6000_do_registers_info): Replace BIG_ENDIAN |
| 12589 | with BFD_ENDIAN_BIG. |
| 12590 | |
| 12591 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
| 12592 | |
| 12593 | * configure.in (AC_CHECK_HEADERS): Do not check for <endian.h>. |
| 12594 | * configure, config.in: Re-generate. |
| 12595 | * config/vax/xm-vaxbsd.h: Do not include <machine/endian.h>. |
| 12596 | * defs.h: Do not include <endian.h>. |
| 12597 | |
| 12598 | 2002-01-05 Jason Thorpe <thorpej@wasabisystems.com> |
| 12599 | |
| 12600 | * acconfig.h (HAVE_PT_GETXMMREGS): New. |
| 12601 | * config.in: Regenerate. |
| 12602 | * configure.in: Update copyright years. |
| 12603 | Add test for PT_GETXMMREGS supplied by <sys/ptrace.h>. |
| 12604 | * configure: Regenerate. |
| 12605 | * i386bsd-nat.c: Update copyright years. |
| 12606 | (fill_gregset): Use regcache_collect. |
| 12607 | (fetch_inferior_registers): Only fetch integer registers |
| 12608 | if requested to do so. Add support for XMM registers |
| 12609 | using PT_GETXMMREGS. |
| 12610 | (store_inferior_registers): Only store integer registers |
| 12611 | if requested to do so. Add support for XMM registers |
| 12612 | using PT_SETXMMREGS. |
| 12613 | * i386nbsd-nat.c (fetch_inferior_registers): Remove. |
| 12614 | (store_inferior_registers): Remove. |
| 12615 | (fetch_core_registers): Use supply_gregset and i387_supply_fsave. |
| 12616 | (fetch_elfcore_registers): New function. |
| 12617 | (i386nbsd_elfcore_fns): New. |
| 12618 | (_initialize_i386nbsd_nat): Register i386nbsd_elfcore_fns. |
| 12619 | * config/i386/nbsd.mh (NATDEPFILES): Add i387-nat.o and |
| 12620 | i386bsd-nat.o. |
| 12621 | * config/i386/nbsdelf.mh (NATDEPFILES): Likewise. |
| 12622 | * config/i386/nbsd.mt (TDEPFILES): Add i386bsd-nat.o. |
| 12623 | * config/i386/nbsdelf.mt (TDEPFILES): Likewise. |
| 12624 | * config/i386/tm-nbsd.h: Update copyright years. |
| 12625 | (HAVE_SSE_REGS): Define. |
| 12626 | (IN_SIGTRAMP): Define as i386bsd_in_sigtramp. |
| 12627 | (SIGTRAMP_START): Redefine as i386bsd_sigtramp_start. |
| 12628 | (SIGTRAMP_END): Redefine as i386bsd_sigtramp_end. |
| 12629 | (SIGCONTEXT_PC_OFFSET): Remove. |
| 12630 | (FRAME_SAVED_PC): Define as i386bsd_frame_saved_pc. |
| 12631 | |
| 12632 | 2002-01-05 Andrew Cagney <ac131313@redhat.com> |
| 12633 | |
| 12634 | * configure.tgt: Remove powerpc-*-macos* target. |
| 12635 | * config/m68k/xm-mpw.h: Delete file. |
| 12636 | * config/xm-mpw.h: Delete file. |
| 12637 | * ser-mac.c: Delete file. |
| 12638 | * mpw-make.sed: Delete file. |
| 12639 | * mpw-config.in: Delete file. |
| 12640 | * mac-xdep.c: Delete file. |
| 12641 | * mac-gdb.r: Delete file. |
| 12642 | * mac-defs.h: Delete file. |
| 12643 | * mac-nat.c: Delete file. |
| 12644 | * config/powerpc/macos.mh: Delete file. |
| 12645 | * config/powerpc/macos.mt: Delete file. |
| 12646 | * config/powerpc/nm-macos.h: Delete file. |
| 12647 | * config/powerpc/tm-macos.h: Delete file. |
| 12648 | * source.c (openp, open_source_file): Remove obsolete code. |
| 12649 | * top.c (gdb_readline): Ditto. |
| 12650 | * utils.c (query): Ditto. |
| 12651 | * event-top.c (display_gdb_prompt): Ditto. |
| 12652 | * Makefile.in (ser-mac.o): Delete obsolete target. |
| 12653 | * NEWS: Update. |
| 12654 | |
| 12655 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
| 12656 | |
| 12657 | * defs.h (BIG_ENDIAN): Delete macro definition. |
| 12658 | * a29k-tdep.c, arch-utils.c, arm-tdep.c, ax-gdb.c, ch-exp.c, |
| 12659 | coffread.c, cris-tdep.c, d10v-tdep.c, d30v-tdep.c, defs.h, |
| 12660 | findvar.c, infcmd.c, mem-break.c, mips-tdep.c, mn10300-tdep.c, |
| 12661 | printcmd.c, remote-os9k.c, remote-rdi.c, remote-rdp.c, |
| 12662 | remote-sim.c, remote.c, rs6000-tdep.c, sh-tdep.c, sparcl-tdep.c, |
| 12663 | stabsread.c, valops.c, valprint.c, config/a29k/tm-a29k.h, |
| 12664 | config/a29k/tm-vx29k.h, config/arm/tm-arm.h, |
| 12665 | config/d30v/tm-d30v.h, config/fr30/tm-fr30.h, |
| 12666 | config/h8300/tm-h8300.h, config/h8500/tm-h8500.h, |
| 12667 | config/m32r/tm-m32r.h, config/m68k/tm-m68k.h, |
| 12668 | config/m88k/tm-m88k.h, config/mips/tm-mips.h, config/pa/tm-hppa.h, |
| 12669 | config/sparc/tm-sparc.h, config/z8k/tm-z8k.h, mi/mi-cmd-disas.c, |
| 12670 | mi/mi-main.c: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. |
| 12671 | * gdbarch.sh: Replace BIG_ENDIAN with BFD_ENDIAN_BIG. |
| 12672 | * gdbarch.c: Re-generate. |
| 12673 | |
| 12674 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
| 12675 | |
| 12676 | * thread-db.c (thread_db_new_objfile): Do not enable thread_db |
| 12677 | for core files. |
| 12678 | |
| 12679 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
| 12680 | |
| 12681 | * config/arm/nbsd.mh (XDEPFILES): Remove ser-tcp.o. |
| 12682 | |
| 12683 | 2002-01-04 Andrew Cagney <ac131313@redhat.com> |
| 12684 | |
| 12685 | * value.h (value_ptr): Delete typedef. |
| 12686 | |
| 12687 | 2002-01-04 Jason Thorpe <thorpej@wasabisystems.com> |
| 12688 | |
| 12689 | * i386nbsd-nat.c: Update copyright years. |
| 12690 | Include i386-tdep.h. |
| 12691 | |
| 12692 | 2002-01-04 Elena Zannoni <ezannoni@redhat.com> |
| 12693 | |
| 12694 | * stabsread.c: Update copyright years. |
| 12695 | |
| 12696 | From Debashis Mahata <debashis.mahata@wipro.com>: |
| 12697 | (read_struct_fields): Deal with Sun C compiler erroneous stab |
| 12698 | output for structs and unions. |
| 12699 | Fix PR gdb/269. |
| 12700 | |
| 12701 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
| 12702 | |
| 12703 | * p-valprint.c: Include "cp-abi.h" for baseclass_offset |
| 12704 | prototype. |
| 12705 | |
| 12706 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
| 12707 | |
| 12708 | * cp-abi.c: Fix whitespace. |
| 12709 | (baseclass_offset): New wrapper function. |
| 12710 | * cp-abi.h (baseclass_offset): Add prototype. |
| 12711 | (struct cp_abi_ops): Add baseclass_offset pointer. |
| 12712 | |
| 12713 | * valops.c (vb_match): Move to... |
| 12714 | * gnu-v2-abi.c (vb_match): here. |
| 12715 | * valops.c (baseclass_offset): Move to... |
| 12716 | * gnu-v2-abi.c (gnuv2_baseclass_offset): here, and rename. |
| 12717 | |
| 12718 | * gnu-v3-abi.c (gnuv3_baseclass_offset): New function. |
| 12719 | |
| 12720 | * gnu-v2-abi.c (init_gnuv2_ops): Initialize baseclass_offset. |
| 12721 | * gnu-v3-abi.c (init_gnuv3_ops): Likewise. |
| 12722 | * hpacc-abi.c (init_hpacc_ops): Likewise. |
| 12723 | |
| 12724 | 2002-01-04 Daniel Jacobowitz <drow@mvista.com> |
| 12725 | |
| 12726 | * valops.c (find_overload_match): Accept obj as a |
| 12727 | reference parameter. Update it before returning. |
| 12728 | * value.h (find_overload_match): Update prototype. |
| 12729 | * eval.c (evaluate_subexp_standard): Pass object to |
| 12730 | find_overload_match by reference. |
| 12731 | |
| 12732 | 2002-01-03 Andrew Cagney <ac131313@redhat.com> |
| 12733 | |
| 12734 | * valarith.c: Replace value_ptr with struct value pointer. Remove |
| 12735 | register attribute from value declarations. |
| 12736 | * valops.c: Ditto. |
| 12737 | * value.h: Ditto. |
| 12738 | * scm-lang.c (scm_lookup_name): Ditto. |
| 12739 | |
| 12740 | 2002-01-03 Michael Snyder <msnyder@redhat.com> |
| 12741 | |
| 12742 | Abstract the functionality of iterating over mapped memory |
| 12743 | regions into a general purpose iterator function. |
| 12744 | * procfs.c (iterate_over_mappings): New function, general purpose |
| 12745 | iterator for memory sections. |
| 12746 | (proc_iterate_over_mappings): Reimplement using iterate_over_mappings. |
| 12747 | (solib_mappings_callback): New function, callback for above. |
| 12748 | (info_proc_mappings): Reimpliment using iterate_over_mappings. |
| 12749 | (info_mappings_callback): New function, callback for above. |
| 12750 | |
| 12751 | * procfs.c (proc_set_watchpoint): Add cast to suppress warning. |
| 12752 | |
| 12753 | 2002-01-01 Mark Kettenis <kettenis@gnu.org> |
| 12754 | |
| 12755 | * i386-tdep.h (struct gdbarch_tdep): Add `os_ident' member. |
| 12756 | * i386-tdep.c: Include "elf-bfd.h". |
| 12757 | (process_note_abi_tag_sections): New function. |
| 12758 | (i386_gdbarch_init): Add code to recognize various OS/ABI |
| 12759 | combinations. |
| 12760 | |
| 12761 | * maint.c (_initialize_maint_cmds): Add missing \ in |
| 12762 | string-literal. |
| 12763 | |
| 12764 | For older changes see ChangeLog-2001 |
| 12765 | \f |
| 12766 | Local Variables: |
| 12767 | mode: change-log |
| 12768 | left-margin: 8 |
| 12769 | fill-column: 74 |
| 12770 | version-control: never |
| 12771 | End: |