OpenCores
URL https://opencores.org/ocsvn/or1k/or1k/trunk

Subversion Repositories or1k

[/] [or1k/] [trunk/] [gdb-6.8/] [gdb/] [ChangeLog] - Blame information for rev 1765

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 1754 jeremybenn
2008-11-08  Jeremy Bennett  
2
        * or1k-tdep.c (or1k_read_spr, or1k_write_spr): Moved here from
3
        remote-or1k.c and made local to this file. Rewritten to use
4
        commands via the target remote command (to_rcmd) function.
5
        * or1k-tdep.c (or1k_spr_command). Invalidates register cache when
6
        SPR is written.
7
        * or1k-tdep.h: or1k_read_spr and Or1k_write_spr are removed as
8
        global functions.
9
        * or1k-tdep.c (or1k_read_spr, or1k_write_spr). Functions removed
10
        and made local to or1k-tdep.c. All or1k-tdep.c references to these
11
        functions changed to use or1k_jtag_read_spr and
12
        or1k_jtag_write_spr (for which these were only wrappers).
13
        * or1k-tdep.c (or1k_rcmd): Function added to process SPR access
14
        requests.
15
 
16
2008-10-23
17
        * or1k-tdep.h, or1k-tdep.c: Extend the number of registers to
18
        include the PPC as well as the NPC
19
 
20 1739 jeremybenn
2008-08-13  Jeremy Bennett  
21
 
22
        * or1k-tdep.c, or1k-tdep.h, remote-or1k.c: Numerous bug fixes
23
        * or1k-jtag.c (or1k_jtag_read_mem, or1k_jtag_write_mem): Problems
24
        with small data without alignment fixed.
25
        * doc/or1k.texinfo: Small changes to bring in to line with bug
26
        fixes.
27
        * doc/gdb.texinfo: Sections relating to OpenRISC 1000 rewritten
28
        * opcodes/or32-dis.c: Signed offsets reinstated. Symbolic branch
29
        targets added.
30
        * opcodes/or32-opc.c: l.nop immediate arg made unsigned
31
        * gdb/breakpoint.c (bpstat_stop_status): The test to disallow a
32
        read watchpoint if the value had changed was unreliable and has
33
        been deleted. Trust the HW on this one.
34
 
35
2008-07-30  Jeremy Bennett  
36
 
37
        * NEWS: Details of OpenRISC 1000 port
38
        * or1k-tdep.c: New file, based on the OpenCores 5.3 port
39
        * or1k-tdep.h: New file, based on the OpenCores 5.3 port
40
        * or1k-jtag.c: New file, based on the OpenCores 5.3 port
41
        * or1k-jtag.h: New file, based on the OpenCores 5.3 port
42
        * remote-or1k.c: New file, based on the OpenCores 5.3 port
43
        * configure.tgt: Updated description of OpenRISC 1000 files
44
        * bfd/config.bfd: or32-*-*linux* added as match for
45
        targ_defvec=bfd_elf32_or32_big_vec
46
        * doc/or1k.texinfo: New file: Documentation of the OpenRISC 1000
47
        * doc/Makefile.in: Added OpenRISC 1000 document
48
 
49
2008-03-27  Joel Brobecker  
50
 
51
        * NEWS: Replace "Changes since GDB 6.7" into changes in GDB 6.8".
52
 
53
2008-03-27  Joel Brobecker  
54
 
55
        * README: Update GDB version number to 6.8.
56
        * version.in: Likewise.
57
 
58
2008-03-21  Thomas Mittelstaedt    (tiny change)
59
 
60
        * aix-thread.c (pdc_read_regs): Fix compiler warning.
61
        (pdc_write_regs, aix_thread_resume, fetch_regs_kernel_thread)
62
        (store_regs_kernel_thread): Likewise.
63
 
64
2008-03-17  Daniel Jacobowitz  
65
 
66
        * stack.c (print_stack_frame, print_frame): Use RETURN_MASK_ERROR.
67
        * symmisc.c (dump_symtab_1): Likewise.
68
        * wrapper.c (gdb_value_struct_elt): Likewise.
69
 
70
2008-03-17  Nick Hudson  
71
 
72
        * Makefile.in (amd64nbsd-nat.o): New dependency.
73
        * amd64nbsd-nat.c: Include "nbsd-nat.h".
74
        (_initialize_amd64nbsd_nat): Update target vector to use
75
        nbsd_pid_to_exec_file.
76
        * config/i386/nbsd64.mh (NATDEPFILES): Add nbsd-nat.o.
77
 
78
2008-03-13  Joel Brobecker  
79
 
80
        * version.in: Set version to 6.7.90.20080313-cvs.
81
 
82
2008-03-13  Joel Brobecker  
83
 
84
        GDB 6.7.90 released.
85
 
86
2008-03-13  Joel Brobecker  
87
 
88
        * version.in: Set version to 6.7.90.
89
 
90
2008-03-13  Joel Brobecker  
91
 
92
        * README: Update GDB version number to 6.7.90.
93
 
94
2008-03-12  Pedro Alves  
95
 
96
        * thread.c (add_thread): Use printf_unfiltered to print.
97
 
98
2008-03-12  Joel Brobecker  
99
 
100
        * sol-thread.c: Replace use of TM_I386SOL2_H by an expression
101
        that is true only on x86-solaris and x86_64-solaris.
102
        * procfs.c: Likewise. Move procfs_find_LDT_entry up together
103
        with proc_get_LDT_entry.
104
 
105
2008-03-10  Matt Rice  
106
 
107
        * dwarf2read.c (set_cu_language): Add DW_LANG_ObjC.
108
 
109
2008-03-04  Daniel Jacobowitz  
110
 
111
        * frame.c (reinit_frame_cache): Only annotate if frames were
112
        previously valid.
113
 
114
2008-03-04  Greg Law  
115
 
116
        * regcache.c (registers_changed): Call reinit_frame_cache.
117
 
118
2008-03-04  Thiago Jung Bauermann  
119
 
120
        * amd64-tdep.c (amd64_classify): Add support for decimal float
121
        types.
122
        * i386-tdep.c (i386_return_value): Make 128-bit decimal float
123
        use the struct return convention.
124
 
125
2008-02-29  Joel Brobecker  
126
 
127
        GDB 6.8 branch created (branch timestamp: 2008-02-26 10:00 UTC)
128
        * version.in: Bump version to 6.7.90.20080226-cvs.
129
 
130
2008-02-26  Nick Roberts  
131
 
132
        * breakpoint.c (print_one_breakpoint_location): Revert Enb field
133
        to old format.  Discard breakpoint address if shared library is
134
        unloaded.
135
        (breakpoint_1): Adjust formatting of table header accordingly.
136
 
137
2008-02-25  Vladimir Prus  
138
 
139
       * remote.c (remote_get_threadlist): If the response
140
       is empty, don't try to parse it.
141
 
142
2008-02-23  Vladimir Prus  
143
 
144
        Unbreak 'target async'.
145
        * serial.c (serial_async): Set the
146
        handler function before enabling async
147
        mode.
148
 
149
2008-02-22  Daniel Jacobowitz  
150
 
151
        * solib-svr4.c (enable_break): Convert r_brk to a code address.
152
 
153
2008-02-21  Pedro Alves  
154
 
155
        * remote.c (extended_remote_attach_1): Set attach_flag.
156
        (extended_remote_create_inferior_1): Clear attach_flag.
157
 
158
2008-02-20  Daniel Jacobowitz  
159
 
160
        * mipsnbsd-tdep.c (mipsnbsd_ilp32_fetch_link_map_offsets): Set
161
        r_brk_offset.
162
        (mipsnbsd_lp64_fetch_link_map_offsets): Likewise.
163
        * solib-svr4.c (solib_svr4_r_brk): New.
164
        (open_symbol_file_object, svr4_current_sos): Always check the
165
        debug base.
166
        (svr4_fetch_objfile_link_map): Do not set debug_base.
167
        (enable_break): Use r_brk if it is set.
168
        (svr4_ilp32_fetch_link_map_offsets): Set r_brk_offset.
169
        (svr4_lp64_fetch_link_map_offsets): Likewise.
170
        * solib-svr4.h (struct link_map_offsets): Add r_brk_offset.
171
 
172
2008-02-20  Markus Deuling  
173
            Mark Kettenis  
174
 
175
        * alpha-tdep.c (alpha_heuristic_unwind_cache): Replace saved_regs by
176
        trad_frame_saved_reg.
177
        (trad-frame.h): New include.
178
 
179
        (alpha_heuristic_frame_unwind_cache): Use trad_frame_alloc_saved_regs
180
        instead of frame_obstack_zalloc.
181
        (alpha_heuristic_frame_prev_register): Use trad_frame_get_prev_register.
182
 
183
        * Makefile.in (alpha-tdep.o): Add dependency to trad_frame_h.
184
 
185
2008-02-20  Markus Deuling  
186
 
187
        * rs6000-tdep.c (gdb_print_insn_powerpc): Get the current endianess
188
        from disassemble_info instead of gdbarch_byte_order.
189
 
190
        * mips-tdep.c (gdb_print_insn_mips): Likewise.
191
        * arm-tdep.c (gdb_print_insn_arm): Likewise.
192
 
193
2008-02-20  Markus Deuling  
194
 
195
        * gdbarch.sh (memory_insert_breakpoint, memory_remove_breakpoint): Add
196
        gdbarch as parameter.
197
 
198
        * gdbarch.{c,h}: Regenerate.
199
 
200
        * ppc-tdep.h (ppc_linux_memory_remove_breakpoint): Add gdbarch as
201
        parameter.
202
        * mem-break.c (default_memory_insert_breakpoint)
203
        (default_memory_remove_breakpoint): Likewise.
204
        * target.h (default_memory_remove_breakpoint)
205
        (default_memory_insert_breakpoint): Likewise.
206
 
207
        * ppc-linux-tdep.c (ppc_linux_memory_remove_breakpoint): Add gdbarch as
208
        parameter. Replace current_gdbarch by gdbarch.
209
        * m32r-tdep.c (m32r_memory_insert_breakpoint)
210
        (m32r_memory_remove_breakpoint): Likewise.
211
 
212
2008-02-19  Daniel Jacobowitz  
213
 
214
        * MAINTAINERS: Add Vladimir Prus as MI maintainer.
215
 
216
2008-02-19  Joel Brobecker  
217
 
218
        * NEWS: Add entry describing Add support improvements.
219
 
220
2008-02-18  Markus Deuling  
221
 
222
        * m68klinux-nat.c (getfpregs_supplies): Replace gdbarch_fp0_regnum by
223
        M68K_FP0_REGNUM.
224
 
225
2008-02-18  Markus Deuling  
226
 
227
        * sentinel-frame.c (sentinel_frame_prev_register): Do not call
228
        register_offset_hack anymore.
229
 
230
        * regcache.{c,h} (register_offset_hack): Remove.
231
 
232
2008-02-18  Markus Deuling  
233
 
234
        * hppa-tdep.h (find_global_pointer): Add gdbarch as parameter.
235
 
236
        * hppa-hpux-tdep.c (hppa32_hpux_find_global_pointer): Likewise. Replace
237
        current_gdbarch by gdbarch.
238
        (hppa64_hpux_find_global_pointer): Likewise.
239
        * hppa-tdep.c (hppa_find_global_pointer): Likewise.
240
        (hppa32_push_dummy_call, hppa64_push_dummy_call): Update call for
241
        find_global_pointer.
242
 
243
        * hppabsd-tdep.c (hppabsd_find_global_pointer): Add gdbarch as
244
        parameter.
245
        * hppa-linux-tdep.c (hppa_linux_find_global_pointer): Likewise.
246
 
247
        * hppa-linux-nat.c (hppa_linux_register_addr): Use ARRAY_SIZE instead
248
        of gdbarch_num_regs.
249
 
250
        * hppa-hpux-tdep.c (hppa_hpux_sr_for_addr): Add gdbarch as parameter and
251
        replace current_gdbarch by gdbarch.
252
        (hppa_hpux_push_dummy_code): Update call for hppa_hpux_sr_for_addr.
253
 
254
2008-02-18  Markus Deuling  
255
 
256
        * rs6000-nat.c (exec_one_dummy_insn, regmap): Add gdbarch as parameter
257
        and replace current_gdbarch by gdbarch.
258
 
259
        (store_register): Update call for exec_one_dummy_insn.
260
        (fetch_register, store_register): Update call of regmap.
261
 
262
        * ppcnbsd-nat.c (getregs_supplies, getfpregs_supplies): Add gdbarch as
263
        parameter and replace current_gdbarch by gdbarch.
264
 
265
        (ppcnbsd_store_inferior_registers): Use get_regcache_arch to get at
266
        the current architecture. Update call for getregs_supplies and
267
        getfpregs_supplies.
268
        (ppcnbsd_fetch_inferior_registers): Likewise.
269
 
270
        * ppcobsd-nat.c (getfpregs_supplies): Add gdbarch as parameter and
271
        replace current_gdbarch by gdbarch.
272
        (ppcobsd_fetch_registers, ppcobsd_store_registers): Use
273
        get_regcache_arch to get at the current architecture. Update call for
274
        getfpregs_supplies.
275
 
276
2008-02-18  Markus Deuling  
277
 
278
        * arch-utils.c (gdbarch_from_bfd): Remove unnecessary {old,new}_gdbarch
279
        variables.
280
 
281
2008-02-15  Markus Deuling  
282
 
283
        * mips-linux-tdep.c (mips_linux_init_abi): Remove internal error.
284
 
285
2008-02-14  Vladimir Prus  
286
 
287
        * NEWS: Mention pending breakpints in MI.
288
 
289
2008-02-14  Markus Deuling  
290
 
291
        * Makefile.in (ALL_TARGET_OBS): Remove dependency to xtensa-linux-nat.o.
292
 
293
2008-02-13  Markus Deuling  
294
 
295
        Add script to build and test GDB using enable-targets=all.
296
 
297
        * gdb_buildall.sh: New file.
298
 
299
2008-02-11  Maxim Grigoriev  
300
 
301
        * NEWS (New native configurations): Xtensa GNU/Linux.
302
        (New targets): Xtensa GNU/Linux.
303
        * Makefile.in (ALL_TARGET_OBS): Add xtensa-linux-nat.o and
304
        xtensa-linux-tdep.o
305
        (ALLDEPFILES): Add xtensa-linux-tdep.c and xtensa-linux-nat.c
306
        (xtensa-linux-nat.o, xtensa-linux-tdep.o): New dependencies.
307
        * configure.tgt (xtensa*-*-linux*): New entry.
308
        * xtensa-config.c (xtensa_tdep): New variable.
309
        (xtensa_config_byte_order, xtensa_config_tdep): Removed.
310
        (rmap): Change format based on new macro XTREG.
311
        (XTENSA_CONFIG_INSTANTIATE): Use new macro defined in xtensa-tdep.h.
312
        * xtensa-linux-nat.c: New.
313
        * xtensa-linux-tdep.c: New.
314
        * xtensa-xtregs.c: New.
315
        * xtensa-tdep.h (xtensa_elf_gregset_t): Update.
316
        (XTENSA_ELF_NGREG, XTREG, XTREG_END, XTENSA_GDBARCH_TDEP_INSTANTIATE)
317
        (XCHAL_NUM_CONTEXTS, XCHAL_HAVE_EXCEPTIONS): New macros.
318
        (xtensa_register_t): New field coprocessor.
319
        (XTENSA_REGISTER_FLAGS_PRIVILEGED): Name spelling corrected.
320
        * xtensa-tdep.c (xtensa_config_tdep, xtensa_config_byte_order): Removed.
321
        (xtensa_pseudo_register_read, xtensa_pseudo_register_write):
322
        Update to handle privileged registers.
323
        (xtensa_supply_gregset) Remove exccause and excvaddr registers.
324
        (xtensa_push_dummy_call): Set windowstart register correctly.
325
        (call0_analyze_prologue): Initialize xtensa_default_isa.
326
        (xtensa_derive_tdep): New.
327
        (xtensa_gdbarch_init): Get rid of xtensa_config_byte_order and
328
        xtensa_config_tdep, use XCHAL_HAVE_BE and xtensa_tdep instead.
329
        Call xtensa_derive_tdep().
330
        * config/xtensa/linux.mh: New.
331
        * regformats/reg-xtensa.dat: New.
332
 
333
2008-02-09  Aleksandar Ristovski    (tiny change)
334
 
335
        * corelow.c (core_open): Use IS_ABSOLUTE_PATH.
336
        (filenames.h): New include.
337
        * Makefile.in (corelow.o): Add dependency for filenames.h.
338
 
339
2008-02-08  Doug Evans  
340
 
341
        * source.c (find_and_open_source): Always rewrite absolute filenames.
342
 
343
2008-02-07  Doug Evans  
344
 
345
        * breakpoint.c: #include "hashtab.h".
346
        (ambiguous_names_p): New fn.
347
        (update_breakpoint_locations): When restoring bp enable status, don't
348
        compare function names if any functions have same name.
349
        * Makefile.in (breakpoint.o): Add hashtab.h dependency.
350
 
351
2008-02-07  Joel Brobecker  
352
 
353
        * ada-lang.c (symbol_completion_add): Make SV parameter a VEC**
354
        instead of just a VEC*. Update use of SV.
355
        (ada_make_symbol_completion_list): Update symbol_completion_add calls.
356
 
357
2007-02-07  Joel Brobecker  
358
 
359
        * NEWS: Put all new commands since gdb-6.7 together.
360
 
361
2007-02-07  Joel Brobecker  
362
 
363
        * ada-lang.c: #include "vec.h".
364
        (struct string_vector, new_string_vector, string_vector_append):
365
        Delete.
366
        (char_ptr): New typedef.
367
        (DEF_VEC_P (char_ptr)): New VEC type.
368
        (symbol_completion_add): Update profile to take the new VEC type
369
        instead of the old string_vector structure. Update code accordingly.
370
        (ada_make_symbol_completion_list): Use the new VEC type instead of
371
        the old string_vector structure, and update the code accordingly.
372
        * Makefile.in (ada-lang.o): Add dependency on vec.h.
373
 
374
2008-02-06  Pierre Muller  
375
 
376
        * p-exp.y: Set current_type in missing places.
377
        (leftdiv_is_integer): New static variable.
378
        Typecast right operand of BINOP_DIV to long_double if both operands
379
        are integers.
380
 
381
2008-02-06  Maciej W. Rozycki  
382
 
383
        * remote-mips.c (set_breakpoint): Rename to...
384
        (mips_set_breakpoint): ... this.
385
        (clear_breakpoint): Rename to...
386
        (mips_clear_breakpoint): ... this.
387
        (common_breakpoint): Rename to...
388
        (mips_common_breakpoint): ... this.
389
        (check_lsi_error): Rename to...
390
        (mips_check_lsi_error): ... this.
391
 
392
2007-02-05  Joel Brobecker  
393
 
394
        * language.h (struct language_defn): Add new field
395
        la_make_symbol_completion_list.
396
        * symtab.c (default_make_symbol_completion_list): Renames
397
        make_symbol_completion_list.
398
        (make_symbol_completion_list): New function.
399
        * symtab.h (default_make_symbol_completion_list): Add declaration.
400
        * langauge.c (unknown_language): Set la_make_symbol_completion_list.
401
        (auto_language, local_language): Likewise.
402
        * objc-lang.c (objc_language_defn): Likewise.
403
        * scm-lang.c (scm_language_defn): Likewise.
404
        * m2-lang.c (m2_language_defn): Likewise.
405
        * f-lang.c (f_language_defn): Likewise.
406
        * jv-lang.c (java_language_defn): Likewise.
407
        * p-lang.c (pascal_language_defn): Likewise.
408
        * c-lang.c (c_language_defn, cplus_language_defn, asm_language_defn)
409
        (minimal_language_defn): Likewise.
410
        * ada-lang.c (struct string_vector): New structure.
411
        (new_string_vector, string_vector_append, ada_unqualified_name)
412
        (add_angle_brackets, symbol_completion_match, symbol_completion_add)
413
        (ada_make_symbol_completion_list): New functions.
414
        (ada_language_defn): Set la_make_symbol_completion_list.
415
        * ada-lang.h (ada_make_symbol_completion_list): Remove declaration,
416
        this function is static.
417
 
418
2008-02-05  Kevin Buettner  
419
 
420
        * mn10300-tdep.c (mn10300_push_dummy_call): Adjust stack pointer
421
        to account for call site optimizations.
422
 
423
2008-02-05  Andrzej Zaborowski  
424
 
425
        * tracepoint.c (read_actions): Handle end-of-text indicator
426
        in action list properly.  (Committed by Jim Blandy)
427
 
428
2008-02-05  Jim Blandy  
429
 
430
        * ax-gdb.c (gen_expr): Yield ordinary error if asked to trace a
431
        pseudoregister, not an internal error.
432
        Reported by: Andrzej Zaborowski
433
 
434
2008-02-04  Vladimir Prus  
435
 
436
        * varobj.c (c_value_of_variable): Use xstrdup.
437
 
438
2008-02-04  Vladimir Prus  
439
 
440
        Update stored rendition of varobj value when format changes.
441
        * varobj.c (varobj_set_display_format): Recomputed
442
        print_value.
443
        (c_value_of_variable): Return print_value.
444
 
445
2008-02-03  Doug Evans  
446
 
447
        * eval.c (evaluate_subexp_standard): Fix type of result of mixed
448
        integer/float division operations when EVAL_AVOID_SIDE_EFFECTS.
449
        * valops.c (value_one): New function.
450
        * value.h (value_one): Declare.
451
 
452
        Fix argument promotion for binary arithmetic ops for C.
453
        * valarith.c (unop_result_type): New fn.
454
        (binop_result_type): New fn.
455
        (value_binop): Move result type computation to binop_result_type.
456
        (value_pos, value_neg, value_complement): Move result type
457
        computation to unop_result_type.
458
 
459
        PR 2384
460
        * gdbtypes.c (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
461
        Return basetype, fieldno if found.  All callers updated.
462
        Don't cache TYPE_VPTR_FIELDNO, TYPE_VPTR_BASETYPE if from different
463
        objfile.
464
        * gdbtypes.h (get_vptr_fieldno): Renamed from fill_in_vptr_fieldno.
465
        * symfile.h (fill_in_vptr_fieldno): Delete.
466
 
467
2008-02-02  Doug Evans  
468
 
469
        * valarith.c (value_binop): Handle unsigned BINOP_REM division by zero.
470
 
471
        * typeprint.c (*): Whitespace cleanup.
472
 
473
2008-02-02  Mark Kettenis  
474
            Luis Machado  
475
            Thiago Jung Bauermann  
476
 
477
        * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Pass floats that
478
        don't fit into registerson the stack the way GCC does.
479
 
480
2008-02-01  Joel Brobecker  
481
 
482
        * symtab.c (symbol_set_names): Do not add an entry in the demangling
483
        hash table for Ada symbols. Just store the linkage name as is,
484
        and leave the demangled_name as NULL.
485
 
486
2007-02-01  Joel Brobecker  
487
 
488
        * dwarf2read.c (add_partial_symbol): Always store all Ada subprograms
489
        in the global scope.
490
        (new_symbol): Likewise.
491
 
492
2008-02-01  Vladimir Prus  
493
 
494
        * breakpoint.c (break_command_1): Return void.
495
        (break_command_really): Return void.  Rethrow
496
        exceptions instead of returning.
497
        (gdb_breakpoint): Remove the error_message parameter.
498
        Return void.  Rename to set_breakpoint.
499
        * gdb.h (gdb_breakpoint): Rename and move to...
500
        * breakpoint.h (set_breakpoint): ...here.
501
        * mi/mi-cmb-break.c (mi_cmd_break_insert): Restore
502
        event hooks even if exception is thrown.  Adjust to
503
        gdb_breakpoint interface changes.
504
 
505
 
506
2008-02-01  Thiago Jung Bauermann  
507
 
508
        * ppc-sysv-tdep.c (ppc64_sysv_abi_push_dummy_call): Write 32-bit
509
        float in both first and second word in the doubleword, to support
510
        old and new ABIs.
511
 
512
2008-02-01  Vladimir Prus  
513
 
514
        Properly rethrow exception.  This fixes errors
515
        about non-existent functions for -break-insert.
516
        * breakpoint.c (break_command_really): Use throw_exception
517
        for rethrowing.  If rethrowing, don't print the exception.
518
 
519
2008-01-31  Thiago Jung Bauermann  
520
 
521
        * NEWS: Mention Decimal Floating Point support.
522
 
523
2008-01-31  Joel Brobecker  
524
 
525
        * std-regs.c (value_of_builtin_frame_pc_reg): Change the returned
526
        value type to builtin_type_void_func_ptr.
527
 
528
2008-01-31  Andreas Krebbel  
529
 
530
        * s390-tdep.c (is_float_singleton, is_float_like,
531
        alignment_of, s390_return_value): Make checks for
532
        TYPE_CODE_FLT to match TYPE_CODE_DECFLOAT as well.
533
 
534
2008-01-31  Luis Machado  
535
            Thiago Jung Bauermann  
536
 
537
        * infcmd.c (default_print_registers_info): Also print hex
538
        raw contents for TYPE_CODE_DECFLOAT registers.
539
        * ppc-tdep.h (gdbarch_tdep): Add ppc_dl0_regnum member.
540
        * rs6000-tdep.c (IS_DFP_PSEUDOREG): New macro.
541
        (rs6000_register_name): Add support for DFP pseudo-registers.
542
        (rs6000_pseudo_register_type): Likewise.
543
        rs6000_pseudo_register_reggroup_p): Likewise.
544
        (ppc_pseudo_register_read): New function.
545
        (ppc_pseudo_register_write): Likewise.
546
        (rs6000_pseudo_register_read): Likewise.
547
        (rs6000_pseudo_register_write): Likewise.
548
        (e500_pseudo_register_read): Move checks to
549
        rs6000_pseudo_register_read.
550
        (e500_pseudo_register_write): Move checks to
551
        rs6000_pseudo_register_write.
552
        (rs6000_gdbarch_init): Initialize tdep->ppc_dl0_regnum.  Install
553
        rs6000_pseudo_register_read and rs6000_pseudo_register_write
554
        in gdbarch if SPE or DFP is available.  Adjust gdbarch's
555
        num_pseudo_regs to account for DFP pseudo regs.
556
 
557
2008-01-31  Thiago Jung Bauermann  
558
 
559
        * ppc-tdep.h (struct gdbarch_tdep): Remove ppc_ev31_regnum member.
560
        * rs6000-tdep.c (IS_SPE_PSEUDOREG): New macro.
561
        (spe_register_p, rs6000_register_name, rs6000_pseudo_register_type,
562
        rs6000_pseudo_register_reggroup_p, e500_move_ev_register,
563
        e500_pseudo_register_read, e500_pseudo_register_write): Use
564
        IS_SPE_PSEUDOREG macro.
565
        (rs6000_frame_cache): Remove use of tdep->ppc_ev31_regnum.
566
        (rs6000_gdbarch_init): Remove unnecessary num_sprs local variable.
567
        Remove initialization of tdep->ppc_ev31_regnum.
568
 
569
2008-01-08  Paul Hilfinger  
570
 
571
        * printcmd.c (print_formatted): Handle references as for unformatted
572
        prints.
573
 
574
2008-01-30  Joel Brobecker  
575
 
576
        * eval.c (evaluate_subexp_standard): Add handling of user
577
        registers when in EVAL_AVOID_SIDE_EFFECTS mode.
578
 
579
2008-01-30  Pierre Muller  
580
 
581
        * eval.c (evaluate_subexp_standard): Support
582
        BINOP_INTDIV opcode.
583
 
584
2008-01-30  Paul N. Hilfinger  
585
 
586
        * valarith.c (value_binop): Add floating-point BINOP_MIN and
587
        BINOP_MAX cases.
588
        For BINOP_EXP, use length and signedness of left operand only for
589
        result, as for shifts.
590
        For integral operands to BINOP_EXP, use new integer_pow and
591
        uinteger_pow functions so as to get full range of results.
592
        (integer_pow): New function.
593
        (uinteger_pow): New function.
594
 
595
2008-01-30  Vladimir Prus  
596
 
597
        Use vector for varobj_list_children interface.
598
        * gdb/varobj.c (varobj_list_children): Return vector
599
        of varobjs.
600
        * gdb/varobj.h (varobj_list_children): Adjust
601
        prototype.
602
        (varobj_p): Declare.  Declare vector thereof.
603
        * mi/mi-cmd-var.c (mi_cmd_var_list_children): Adjust
604
        for varobj_list_children change.
605
        * Makefile.in (varobj_h): Update dependencies.
606
 
607
2008-01-30  Thiago Jung Bauermann  
608
 
609
        * ppc-sysv-tdep.c (ppc_sysv_abi_push_dummy_call): Add support for
610
        TYPE_CODE_DECFLOAT arguments.
611
        (ppc64_sysv_abi_push_dummy_call) Likewise.
612
        (get_decimal_float_return_value): New function.
613
        (do_ppc_sysv_return_value): Add support for TYPE_CODE_DECFLOAT return
614
        values by calling get_decimal_float_return_value.
615
        (ppc64_sysv_abi_return_value): Likewise.
616
 
617
2008-01-30  Nick Roberts  
618
 
619
        * mi/mi-cmd-file.c (mi_cmd_file_list_exec_source_file):  Add field
620
        for preprocessor macro information.  Formatting changes.
621
 
622
2008-01-29  Daniel Jacobowitz  
623
 
624
        * remote.c (struct remote_state): Add cached_wait_status.
625
        (remote_exec_file): New variable.
626
        (PACKET_vAttach, PACKET_vRun): New constants.
627
        (extended_remote_restart): Do not query for status.
628
        (struct start_remote_args): New.
629
        (remote_start_remote): Take it as a second argument.  Check
630
        whether the target is running.  Issue an error for non-running
631
        non-extended targets.  Cache the wait status.  Set inferior_ptid
632
        here.
633
        (remote_open_1): Prompt to disconnect non-running targets.  Make
634
        sure the target is marked running.  Do not set inferior_ptid here.
635
        Update call to remote_start_remote.  Do not call remote_check_symbols
636
        if the target is not running.
637
        (remote_detach_1): Rename from remote_detach.  Take an EXTENDED
638
        argument.  Handle a non-running target.
639
        (remote_detach): Use it.
640
        (extended_remote_detach): New.
641
        (remote_disconnect): Fix typo.  Use remoute_mourn_1.
642
        (extended_remote_attach_1, extended_remote_attach)
643
        (extended_async_remote_attach): New.
644
        (remote_vcont_resume): Remove unused variable.
645
        (remote_wait, remote_async_wait): Use any cached wait status.
646
        (putpkt_binary, getpkt): Clear any cached wait status.
647
        (extended_remoute_mourn_1): New.
648
        (extended_remote_mourn): Use it.
649
        (extended_async_remote_mourn, extended_remote_run): New.
650
        (extended_remote_create_inferior_1): New.
651
        (extended_remote_create_inferior): Use it.
652
        (extended_remote_async_create_inferior): Likewise.
653
        (remote_xfer_partial): Skip for non-executing targets.
654
        (init_extended_remote_ops): Set to_detach and to_attach.
655
        (init_extended_async_remote_ops): Likewise.  Use
656
        extended_async_remote_mourn.
657
        (_initialize_remote): Register vAttach, vRun, and
658
        set remote exec-file.
659
        * NEWS: Mention vAttach, vRun, and gdbserver extended-remote support.
660
 
661
2008-01-29  Daniel Jacobowitz  
662
 
663
        * Makefile.in (symfile.o): Update.
664
        * NEWS: Mention exec tracing support.
665
        * inf-ttrace.c (inf_ttrace_wait): Return TARGET_WAITKIND_EXECD for
666
        exec events.
667
        * infcmd.c (kill_if_already_running, detach_command)
668
        (disconnect_command): Replace SOLIB_RESTART with no_shared_libraries.
669
        * infrun.c (MAY_FOLLOW_EXEC, may_follow_exec): Delete.
670
        (follow_exec): Do not check may_follow_exec.  Do not mourn and push
671
        targets.  Apply the sysroot path to the loaded executable.  Use
672
        no_shared_libraries.
673
        * linux-nat.c (linux_child_follow_fork): Print fork following
674
        messages if verbose.
675
        (kill_wait_callback): Kill again before waiting a second time.
676
        * symfile.c (symbol_file_clear): Replace SOLIB_RESTART with
677
        no_shared_libraries.
678
 
679
2008-01-29  Joel Brobecker  
680
 
681
        * amd64-tdep.c (amd64_classify): Add handling of TYPE_CODE_CHAR.
682
 
683
2008-01-29  Joel Brobecker  
684
 
685
        * nto-tdep.h: Remove #include "defs.h".
686
        * nto-tdep.c: Add #include "defs.h".
687
        * Makefile.in (nto_tdep_h): Update dependencies.
688
        (nto-tdep.o): Likewise.
689
 
690
2008-01-29  Joel Brobecker  
691
 
692
        * infrun.c (wait_for_inferior): Add treat_exec_as_sigtrap parameter
693
        and use it.
694
        (proceed, start_remote): Update call to wait_for_inferior.
695
        * inferior.h (wait_for_inferior): Update declaration.
696
        * fork-child.c, infcmd.c, solib-irix.c, solib-osf.c, solib-sunos.c,
697
        solib-svr4.c, win32-nat.c: Update calls to wait_for_inferior.
698
        * inf-ttrace.c (inf_ttrace_wait): Report TTEVT_EXEC events as
699
        TARGET_WAITKIND_EXECD instead of TARGET_WAITKIND_STOPPED.
700
 
701
2008-01-29  Aleksandar Ristovski  
702
 
703
        * varobj (adjust_value_for_child_access): Added checking for
704
        returned value from gdb_value_ind.
705
        (c_describe_child): Likewise.
706
        (cplus_describe_child): Fixed a typo.
707
 
708
2008-01-29  Jim Blandy  
709
 
710
        * MAINTAINERS: Update my info.
711
 
712
2008-01-29  Vladimir Prus  
713
 
714
        Use multiple locations for hardware watchpoints.
715
        This eliminates the need to traverse value chain, doing
716
        various checks, in three different places.
717
 
718
        * breakpoint.h (struct bp_location): New fields
719
        lengths and watchpoint_type.
720
        (struct breakpoint): Remove the val_chain field.
721
        * breakpoint.c (is_hardware_watchpoint): New.
722
        (free_valchain): Remove.
723
        (update_watchpoint): New.
724
        (insert_bp_location): For hardware watchpoint, just
725
        directly insert it.
726
        (insert_breakpoints): Call update_watchpoint_locations
727
        on all watchpoints.  If we have failed to insert
728
        any location of a hardware watchpoint, remove all inserted
729
        locations.
730
        (remove_breakpoint): For hardware watchpoints, directly
731
        remove location.
732
        (watchpoints_triggered): Iterate over locations.
733
        (bpstat_stop_status): Use only first location of
734
        a resource watchpoint.
735
        (delete_breakpoint): Don't call free_valchain.
736
        (print_one_breakpoint): Don't print all
737
        locations for watchpoints.
738
        (breakpoint_re_set_one): Use update_watchpoint for
739
        watchpoints.
740
 
741
2008-01-29  Vladimir Prus  
742
 
743
        Don't reset watchpoint block on solib load.
744
 
745
        * breakpoint.c (insert_bp_location): For watchpoints,
746
        recompute condition.
747
        (breakpoint_re_set_one): Instead of recomputing value
748
        and condition for watchpoints, just reset value and
749
        let insert_breakpoints/insert_bp_location recompute it.
750
        Don't do anything about disabled watchpoint.
751
 
752
2008-01-29  Pierre Muller  
753
 
754
        * valarith.c (value_binop): Handle unsigned integer
755
        division by zero.
756
 
757
2008-01-28  Kevin Buettner  
758
 
759
        * mn10300-tdep.c (mn10300_analyze_prologue): Check for an
760
        instruction pattern that appears frequently in position
761
        independent code.  Fix bug in code which looks for "fmov" and
762
        backtracks if no "fmov" is found.
763
 
764
2008-01-28  Doug Evans  
765
 
766
        * dbxread.c (read_dbx_symtab): Fix indentation.
767
        Reformat comments to 80 columns.
768
        Move local var def closer to only use.
769
 
770
2008-01-28  Daniel Jacobowitz  
771
 
772
        * fork-child.c (SHELL_FILE): Remove #ifndef.
773
        (fork_inferior): Remove SHELL_COMMAND_CONCAT.
774
 
775
2008-01-25  Pierre Muller  
776
 
777
        * i386-tdep.c (i386_skip_noop): New function.
778
        (i386_analyze_prologue): Call i386_skip_noop function.
779
 
780
2008-01-24  Michael Snyder  
781
 
782
        * procfs.c (procfs_xfer_partial): Comment, cut/paste error.
783
        * win32-nat.c (win32_xfer_partial): Ditto.
784
        * target.c (default_xfer_partial): Minor whitespace adjustment.
785
 
786
2008-01-24  Pedro Alves  
787
 
788
        * arm-tdep.c (arm_addr_bits_remove): In non 26-bit mode, don't
789
        strip bit 1 even if pc doesn't point to thumb code.
790
 
791
2008-01-23  Daniel Jacobowitz  
792
 
793
        * remote.c (remote_wait): Handle SIGINT between packets.
794
        (remote_async_wait): Likewise.
795
 
796
2008-01-23  Vladimir Prus  
797
            Chris Demetriou  
798
 
799
        * thread.c (add_thread_silent): Renamed
800
        from add_thread.
801
        (print_thread_events): New variable definition.
802
        (show_print_thread_events): New function.
803
        (_initialize_thread): Add "set print thread-events" and
804
        "show print thread-events" commands.
805
        (add_thread): Announce new thread.
806
        * gdbthread.h (add_thread_silent): Declare.
807
        (print_thread_events): New variable declaration.
808
        * inf-ttrace.c (inf_ttrace_wait): Don't
809
        inform about new thread, as add_thread is always
810
        called too, and will take care of that.
811
        * infrun.c (handle_inferior_event): Likewise.
812
        * procfs.c (procfs_wait): Likewise.
813
        * remote.c (remote_currthread): Likewise.
814
        * sol-thread.c (sol_thread_wait): Likewise.
815
        * win32-nat.c (get_win32_debug_event): Likewise.
816
        * linux-thread-db.c (attach_thread): Likewise.
817
        Remove the verbose parameter.
818
        (check_event): Make detach_thread be verbose
819
        only if print_thread_events is set.
820
        * linux-nat.c (lin_lwp_attach_lwp): Don't inform
821
        about new thread.  This is called only from
822
        linux-thread-db.c:attach_thread, which will take care.
823
        Remove the verbose parameter.
824
        * linux-nat.h (lin_lwp_attach_lwp): Adjust prototype.
825
 
826
2008-01-23  Nick Roberts  
827
 
828
        * mi/mi-cmd-var.c (mi_cmd_var_set_format): Add value field to output.
829
 
830
2008-01-22  Vladimir Prus  
831
 
832
        * breakpoint.c (break_command_really): New parameter
833
        ignore_count.
834
        (break_command_1): Pass 0 as
835
        ignore_count to break_command_really.
836
        (gdb_breakpoint): Pass ignore_count to
837
        break_command_really.
838
 
839
2008-01-21  Kevin Buettner  
840
 
841
        * mn10300-linux-tdep.c (am33_linux_sigframe_cache_init): Find
842
        sigcontext struct via pointer.
843
        (struct sigframe comment): Update to show new field `psc'.
844
 
845
2008-01-21  Vladimir Prus  
846
 
847
        * infrun.c (handle_inferior_event): If
848
        we failed to remove breakpoints, error,
849
        don't try to increment PC by hand.
850
 
851
2008-01-18  Nick Hudson  
852
 
853
        Add NetBSD/hppa target and host support.
854
 
855
        * hppabsd-tdep.c (hppabsd_supply_gregset): Move to ...
856
        (hppabsd_gregset): Move to ...
857
        (hppabsd_regset_from_core_section): Rename
858
        hppaobsd_regset_from_core_section and move to ...
859
        (hppabsd_find_global_pointer): Update comment.
860
        (hppabsd_init_abi): Make global. Do not register
861
        hppabsd_regset_from_core_section.
862
        (hppabsd_core_osabi_sniffer): Rename hppaobsd_core_osabi_sniffer and
863
        move to ...
864
        (_initialize_hppabsd_tdep): Move to ...
865
        * hppaobsd-tdep.c: ... here. New file.
866
        * hppnbsd-tdep.c: New file.
867
        * hppnbsd-nat.c: New file.
868
        * Makefile.in (ALL_TARGET_OBS): Add hppanbsd-tdep.o and hppaobsd-tdep.o.
869
        (ALLDEPFILES): Add hppabsd-nat.c and hppabsd-tdep.c.
870
        (hppabsd-nat.o, hppabsd-tdep.o): New dependencies.
871
        (hppabsd-tdep.o, hppaobsd-tdep.o): Update dependencies.
872
        * configure.host (hppa*-*-netbsd*): New entry.
873
        * configure.tgt (hppa*-*-netbsd*): New entry.
874
        (hppa*-*-openbsd*): Update.
875
        * NEWS (New native configuration): Mention NetBSD/hppa.
876
        (New targets): Mention NetBSD/hppa.
877
 
878
2008-01-18  Markus Deuling  
879
 
880
        * gdbarch.sh (function_list): Add new property bits_big_endian to
881
        gdbarch structure.
882
        * gdbarch.{c,h}: Regenerate.
883
 
884
        * value.c (struct value): Replace BITS_BIG_ENDIAN by
885
        gdbarch_bits_big_endian (comment).
886
        (unpack_field_as_long, modify_field): Likewise.
887
        * value.h: Likewise (comment).
888
        * valops.c (value_slice): Likewise.
889
        * valarith.c (value_subscript, value_bit_index): Likewise.
890
        * gdbtypes.h (field): Likewise (comment).
891
        * eval.c (evaluate_subexp_standard): Likewise.
892
        * dwarf2read.c (dwarf2_add_field): Likewise.
893
        * ada-lang.c (decode_packed_array, ada_value_primitive_packed_val)
894
        (move_bits, ada_value_assign, value_assign_to_component): Likewise.
895
 
896
        * defs.h (BITS_BIG_ENDIAN): Remove.
897
 
898
2008-01-18  Markus Deuling  
899
 
900
        * jv-exp.y (yylex): Replace DEPRECATED_STREQN with the appropriate
901
        function calls.
902
        * m2-exp.y (yylex): Likewise.
903
        * objc-exp.y (yylex): Likewise.
904
 
905
        * defs.h (DEPRECATED_STREQN): Remove.
906
 
907
2008-01-17  H.J. Lu  
908
 
909
        * MAINTAINERS: Update my email address.
910
 
911
2008-01-17  Jim Blandy  
912
 
913
        * README: Mention gdbserver/README.
914
 
915
2008-01-17  Pierre Muller  
916
 
917
        * valarith.c (value_binop): Handle BINOP_INTDIV
918
        for unsigned and signed integers.
919
 
920
2008-01-17  Ulrich Weigand  
921
 
922
        * s390-tdep.c (s390_gdbarch_init): Set default long double
923
        type to 128-bit IEEE quad.
924
 
925
2008-01-17  Joel Brobecker  
926
 
927
        * hpux-thread.c (hpux_thread_resume): Delete commented-out code.
928
 
929
2008-01-16  Mark Kettenis  
930
 
931
        * auxv.c (fprint_target_auxv): Add support for AT_SUN_AUXFLAGS.
932
 
933
        * dfp.c, dfp.h: Rename decimal_to_double to decimal_to_doublest.
934
        * value.c: All callers changed.
935
 
936
2008-01-16  Markus Deuling  
937
 
938
        * rs6000-nat.c (add_vmap, vmap_ldinfo, vmap_exec): Replace
939
        DEPRECATED_STREQ by its expression.
940
        * coffread.c (coff_locate_sections, coff_symtab_read): Likewise.
941
        * xcoffread.c (read_xcoff_symtab, read_symbol_lineno, find_linenos)
942
        (scan_xcoff_symtab): Likewise.
943
        * hppa-hpux-tdep.c (hppa_hpux_skip_trampoline_code): Likewise.
944
        * f-lang.c (find_common_for_function): Likewise.
945
        * objc-exp.y (parse_number): Likewise.
946
 
947
        * defs.h (DEPRECATED_STREQ): Remove.
948
 
949
2008-01-16  Markus Deuling  
950
 
951
        * mn10300-tdep.h (AM33_MODE): Add gdbarch as parameter.
952
        * mn10300-tdep.c (set_reg_offsets, mn10300_analyze_prologue): Use
953
        get_frame_arch to get at the current_architecture. Update AM33_MODE
954
        call.
955
        (mn10300_analyze_prologue): Add gdbarch as parameter. Update caller.
956
        (mn10300_frame_unwind_cache): Use get_frame_arch to get at the current
957
        architecture.
958
        (set_reg_offsets, mn10300_analyze_prologue): Fix indentation.
959
 
960
2008-01-16  Markus Deuling  
961
 
962
        * amd64-nat.h (amd64_native_gregset_supplies_p): Add gdbarch as
963
        parameter.
964
        * amd64-nat.c (amd64_native_gregset_supplies_p): Likewise.
965
 
966
        (amd64_native_gregset_reg_offset): Add gdbarch as parameter. Replace
967
        current_gdbarch by gdbarch. Update caller.
968
 
969
        * amd64-linux-nat.c (amd64_linux_fetch_inferior_registers)
970
        (amd64_linux_store_inferior_registers): Use get_regcache_arch to get at
971
        the current architecture. Update calls of
972
        amd64_native_gregset_supplies_p.
973
        * amd64bsd-nat.c (amd64bsd_fetch_inferior_registers)
974
        (amd64bsd_store_inferior_registers): Likewise.
975
 
976
2008-01-16  Markus Deuling  
977
 
978
        * ppc-linux-nat.c (ppc_register_u_addr): Add gdbarch as parameter.
979
        Replace current_gdbarch by gdbarch. Update caller.
980
 
981
2008-01-16  Markus Deuling  
982
 
983
        * dbxread.c (repeated_header_complaint, dbx_symfile_init)
984
        (read_dbx_dynamic_symtab, function_outside_compilation_unit_complaint)
985
        (read_dbx_symtab, end_psymtab, dbx_psymtab_to_symtab_1)
986
        (dbx_psymtab_to_symtab, read_ofile_symtab, process_one_symbol)
987
        (stabsect_build_psymtabs): Fix indentation.
988
 
989
2008-01-15  Michael Snyder  
990
 
991
        * corelow.c (core_xfer_partial): Comment, cut/paste error.
992
 
993
2008-01-14  Pierre Muller  
994
 
995
        * win32-nat.c (win32_create_inferior): Restore code calling
996
        CloseHandle on ProcessInformation structure.
997
 
998
2008-01-13  Nick Hudson  
999
 
1000
        * configure.ac: Check for void * as 3 argument of ptrace.
1001
        * configure: regenerate.
1002
 
1003
2008-01-11  Markus Deuling  
1004
 
1005
        * alpha-tdep.c (alpha_heuristic_proc_start)
1006
        (alpha_sigtramp_register_address): Add gdbarch as parameter. Replace
1007
        current_gdbarch by gdbarch.
1008
 
1009
        (alpha_heuristic_frame_unwind_cache): Use get_frame_arch to get at the
1010
        current architecture by frame_info. Update alpha_heuristic_proc_start
1011
        call.
1012
 
1013
        (alpha_sigtramp_frame_this_id, alpha_sigtramp_frame_prev_register): Use
1014
        get_frame_arch to get at the current architecture by frame_info. Update
1015
        alpha_sigtramp_register_address call.
1016
 
1017
        * arm-tdep.c (thumb_scan_prologue): Add gdbarch as parameter and replace
1018
        current_gdbarch by gdbarch. Update caller.
1019
        (convert_to_extended, convert_from_extended): Add endianess parameter
1020
        for comparison. Update caller.
1021
        (arm_extract_return_value, arm_store_return_value): Use
1022
        get_regcache_arch to get at the current architecture.
1023
 
1024
        * cris-tdep.c (cris_register_size): Add gdbarch as parameter. Replace
1025
        current_gdbarch by gdbarch. Update caller.
1026
        (cris_gdb_func, move_to_preg_op, none_reg_mode_move_from_preg_op): Add
1027
        gdbarch as parameter. Update caller. Replace current_gdbarch by gdbarch.
1028
 
1029
        * h8300-tdep.c (E_PSEUDO_CCR_REGNUM, E_PSEUDO_EXR_REGNUM, BINWORD): Add
1030
        gdbarch as parameter. Update caller.
1031
        (h8300_init_frame_cache): Add gdbarch as parameter. Replace
1032
        current_gdbarch by gdbarch. Update caller.
1033
 
1034
        * hppa-tdep.c (skip_prologue_hard_way): Add gdbarch as parameter and
1035
        update caller. Replace current_gdbarch by gdbarch.
1036
 
1037
        * m32c-tdep.c (m32c_skip_trampoline_code): Use get_frame_arch to get at
1038
        the current architecture. Replace current_gdbarch by gdbarch.
1039
        * m68hc11-tdep.c (m68hc11_frame_unwind_cache): Likewise.
1040
        (STACK_CORRECTION, USE_PAGE_REGISTER): Replace M6811_TDEP by its
1041
        expression. Add gdbarch as parameter and replace current_gdbarch with
1042
        it. Update caller.
1043
        (M6811_TDEP): Remove.
1044
        (m68hc11_frame_prev_register): Use get_frame_arch to get at the current
1045
        architecture.
1046
        (m68hc11_scan_prologue): Add gdbarch as parameter. Replace
1047
        current_gdbarch by gdbarch. Update caller.
1048
 
1049
        * m68k-tdep.c (m68k_analyze_prologue): Add gdbarch as parameter and
1050
        update caller.
1051
        (m68k_analyze_register_saves): Likewise. Also replace current_gdbarch
1052
        by gdbarch.
1053
 
1054
        * rs6000-tdep.c (skip_prologue): Add gdbarch as parameter and update
1055
        caller. Relace current_gdbarch by gdbarch.
1056
        (altivec_register_p, spe_register_p): Likewise.
1057
        * ppc-tdep.h (altivec_register_p, spe_register_p): Add gdbarch as
1058
        parameter.
1059
        * ppc-linux-nat.c (fetch_register, store_register): Update caller of
1060
        altivec_register_p and spe_register_p.
1061
 
1062
        * score-tdep.c (score_fetch_inst): Add gdbarch as parameter. Update
1063
        caller. Replace current_gdbarch by gdbarch.
1064
        (score_analyze_prologue): use get_frame_arch to get at the current
1065
        architecture.
1066
 
1067
        * sparc-tdep.h (sparc_analyze_prologue): Add gdbarch as parameter.
1068
        * sparc-tdep.c (sparc_analyze_prologue): Likewise. Replace
1069
        current_gdbarch by gdbarch. Update caller.
1070
        (sparc_frame_cache): Use get_frame_arch to get at the current
1071
        architecture.
1072
        * sparce64-tdep.c (sparc64_skip_prologue): Update call of
1073
        sparc_analyze_prologue.
1074
 
1075
        * mn10300-tdep.c (mn10300_dwarf2_reg_to_regnum): Add gdbarch as
1076
        parameter.
1077
 
1078
2008-01-11  Markus Deuling  
1079
 
1080
        * exec.c: #include "arch-utils.h"
1081
         (print_section_info): Use gdbarch_from_bfd to get at the
1082
        current architecture. Replace current_gdbarch. Fix indention. Replace
1083
        deprecated_print_address_numeric by paddress.
1084
        * Makefile.in (exec.o) Add dependency to arch-utils.h.
1085
 
1086
        * valprint.c (val_print_string): Replace
1087
        deprecated_print_address_numeric.
1088
        * tracepoint.c (trace_mention, scope_info): Likewise.
1089
        * symmisc.c (dump_msymbols, dump_psymtab, dump_symtab_1, print_symbol)
1090
        (print_symbol, print_partial_symbols, maintenance_info_psymtabs)
1091
        (maintenance_check_symtabs): Likewise.
1092
        * symfile.c (list_overlays_command): Likewise.
1093
        * stack.c (frame_info, print_block_frame_labels): Likewise.
1094
        * printcmd.c (print_address, print_address_demangle)
1095
        (address_info): Likewise.
1096
        * corefile.c (memory_error): Likewise.
1097
        * infcmd.c (jump_command): Likewise.
1098
        * breakpoint.c (insert_bp_location, describe_other_breakpoints)
1099
        (mention, delete_breakpoint): Likewise.
1100
        * c-valprint.c (print_function_pointer_address, c_val_print): Likewise.
1101
        * dwarf2read.c (dump_die): Likewise.
1102
        * ada-valprint.c (ada_val_print_1): Likewise.
1103
        * f-valprint.c (f_val_print): Likewise.
1104
        * linux-fork.c (info_forks_command): Likewise.
1105
        * m32r-com.c (m32r_load_section, m32r_load)
1106
        (m32r_upload_command): Likewise.
1107
 
1108
        * ui-out.c (ui_out_field_core_addr): Remove unnecessary comment.
1109
 
1110
2008-01-11  Markus Deuling  
1111
 
1112
        * gdbarch.sh (skip_prologue): Add gdbarch
1113
        as parameter.
1114
        * gdbarch.{c,h}: Regenerate.
1115
 
1116
        * alpha-tdep.c (alpha_skip_prologue): Add gdbarch as parameter.
1117
        * amd64-tdep.c (amd64_skip_prologue): Likewise.
1118
        * avr-tdep.c (avr_skip_prologue): Likewise.
1119
        * cris-tdep.c (cris_skip_prologue): Likewise.
1120
        * frv-tdep.c (frv_skip_prologue): Likewise.
1121
        * h8300-tdep.c (h8300_skip_prologue): Likewise.
1122
        * hppa-tdep.c (hppa_skip_prologue): Likewise.
1123
        * i386-tdep.c (i386_skip_prologue): Likewise.
1124
        * ia64-tdep.c (ia64_skip_prologue): Likewise.
1125
        * iq2000-tdep.c (iq2000_skip_prologue): Likewise.
1126
        * m32r-tdep.c (m32r_skip_prologue): Likewise.
1127
        * m68hc11-tdep.c (m68hc11_skip_prologue): Likewise.
1128
        * m68k-tdep.c (m68k_skip_prologue): Likewise.
1129
        * m88k-tdep.c (m88k_skip_prologue): Likewise.
1130
        * mep-tdep.c (mep_skip_prologue): Likewise.
1131
        * mips-tdep.c (mips_skip_prologue): Likewise.
1132
        * mn10300-tdep.c (mn10300_skip_prologue): Likewise.
1133
        * mt-tdep.c (mt_skip_prologue): Likewise.
1134
        * rs6000-tdep.c (rs6000_skip_prologue): Likewise.
1135
        * score-tdep.c (score_skip_prologue): Likewise.
1136
        * sh64-tdep.c (sh64_skip_prologue): Likewise.
1137
        * sh-tdep.c (sh_skip_prologue): Likewise.
1138
        * sparc64-tdep.c (sparc64_skip_prologue): Likewise.
1139
        * sparc-tdep.c (sparc32_skip_prologue): Likewise.
1140
        * spu-tdep.c (spu_skip_prologue): Likewise.
1141
        * v850-tdep.c (v850_skip_prologue): Likewise.
1142
        * vax-tdep.c (vax_skip_prologue): Likewise.
1143
        * xstormy16-tdep.c (xstormy16_skip_prologue): Likewise.
1144
        * xtensa-tdep.c (xtensa_skip_prologue): Likewise.
1145
 
1146
        * arm-tdep.c (arm_skip_prologue): Add gdbarch as parameter. Replace
1147
        current_gdbarch by gdbarch.
1148
        * m32c-tdep.c (m32c_skip_prologue): Likewise.
1149
        * s390-tdep.c (s390_skip_prologue): Likewise.
1150
 
1151
2008-01-10  Doug Evans  
1152
 
1153
        * defs.h (struct continuation_arg): Fix typo in comment.
1154
        * target.c (target_translate_tls_address): Fix comment spelling error.
1155
 
1156
2008-01-09  Thiago Jung Bauermann  
1157
 
1158
        * doublest.h (DOUBLEST_PRINT_FORMAT): Remove % from string.
1159
        (DOUBLEST_SCAN_FORMAT): Likewise.
1160
        * dfp.c (decimal_from_floating): Use DOUBLEST_PRINT_FORMAT.
1161
        * ada-lex.l (processReal): Prepend "%" to use of DOUBLEST_SCAN_FORMAT.
1162
        * c-exp.y (parse_number): Likewise.
1163
        * jv-exp.y (parse_number): Likewise.
1164
        * objc-exp.y (parse_number): Likewise.
1165
        * p-exp.y (parse_number): Likewise.
1166
 
1167
2008-01-09  Joel Brobecker  
1168
 
1169
        * gdbtypes.c (create_array_type): Add handling of null Ada arrays.
1170
        (check_typedef): Likewise.
1171
 
1172
2008-01-09  Luis Machado  
1173
 
1174
        * printcmd.c (printf_command): Add seen_big_h, seen_big_d and
1175
        seen_double_big_d, treat the new H, D, and DD modifiers as length
1176
        modifiers.
1177
 
1178
2008-01-08  Joel Brobecker  
1179
 
1180
        * dwarf2read.c (read_enumeration_type): Add comment.
1181
 
1182
2008-01-08  Thiago Jung Bauermann  
1183
 
1184
        * config.in: Regenerate.
1185
 
1186
2008-01-08  Joel Brobecker  
1187
 
1188
        * ada-lang.c (ada_convert_actual): Renames convert_actual.
1189
        Make non-static.
1190
        (ada_convert_actuals): Delete.
1191
        * ada-lang.h (ada_convert_actual): Add declaration.
1192
        (ada_convert_actuals): Remove declaration.
1193
        * infcall.c: #include "ada-lang.h".
1194
        (value_arg_coerce): Add new parameter sp.  Update function
1195
        documetnation.  Add handling of Ada function call parameters.
1196
        * Makefile.in (infcall.o): Update dependencies.
1197
 
1198
2008-01-08  Paul Hilfinger  
1199
 
1200
        * ada-lang.c (ensure_lval): Fix value lval kind.
1201
        (convert_actual): Add handling for arguments passed by reference.
1202
 
1203
2008-01-08  Doug Evans  
1204
 
1205
        * dbxread.c (read_dbx_symtab): Fix indentation.
1206
 
1207
2008-01-07  Thiago Jung Bauermann  
1208
 
1209
        * Makefile.in (dfp.o): Depend on expression.h, gdbtypes.h and value.h.
1210
        (valarith.o): Depend on dfp.h.
1211
        (valops.o): Likewise.
1212
        * dfp.c: Include expression.h, gdbtypes.h, value.h and dfp.h.
1213
        (set_decnumber_context): New function.
1214
        (decimal_check_errors): Likewise.
1215
        (decimal_from_number): Likewise.
1216
        (decimal_to_number): Likewise.
1217
        (decimal_from_string): Use set_decnumber_context and
1218
        decimal_check_errors.
1219
        (decimal_from_integral): New function.
1220
        (decimal_from_floating): Likewise.
1221
        (decimal_to_double): Likewise.
1222
        (promote_decimal): Likewise.
1223
        (decimal_binop): Likewise.
1224
        (decimal_is_zero): Likewise.
1225
        (decimal_compare): Likewise.
1226
        (decimal_convert): Likewise.
1227
        * dfp.h (decimal_from_integral): New prototype.
1228
        (decimal_from_floating): Likewise.
1229
        (decimal_to_double): Likewise.
1230
        (decimal_binop): Likewise.
1231
        (decimal_is_zero): Likewise.
1232
        (decimal_compare): Likewise.
1233
        (decimal_convert): Likewise.
1234
        * eval.c (evaluate_subexp_standard): Remove expect_type argument from
1235
        call to value_from_decfloat.
1236
        * valarith.c: Include dfp.h.
1237
        (value_args_as_decimal): New function.
1238
        (value_binop): Add if block to handle TYPE_CODE_DECFLOAT values.
1239
        (value_logical_not): Likewise.
1240
        (value_equal): Likewise.
1241
        (value_less): Likewise.
1242
        (value_pos): Likewise.
1243
        (value_neg): Formatting fix.
1244
        * valops.c: Include dfp.h.
1245
        (value_cast): Add if block to handle TYPE_CODE_DECFLOAT values.
1246
        * value.c (unpack_long): Add case to handle TYPE_CODE_DECFLOAT.
1247
        (unpack_double): Add if block to handle TYPE_CODE_DECFLOAT.
1248
        (value_from_decfloat): Remove expect_type argument.
1249
        * value.h (value_from_decfloat): Update prototype.
1250
 
1251
2008-01-07  Vladimir Prus  
1252
 
1253
        Ignore change in name of dynamic linker during
1254
        execution on Solaris.  This also unbreaks pending breakpoints.
1255
 
1256
        * solist.h (struct target_so_ops): New field same.
1257
        * solib-svr4.c (svr4_same): New.
1258
        (_initialize_svr4_solib): Register svr4_same.
1259
        * solib.c (update_solib_list): Use ops->same, if available.
1260
 
1261
2008-01-06  Christopher Faylor  
1262
 
1263
        * win32-nat.c (win32_make_so): Use cygwin-style path to avoid warnings
1264
        when using MS-DOS paths.
1265
 
1266
2008-01-05  Pedro Alves  
1267
 
1268
        * NEWS: Mention --pid and --core command line behaviour changes.
1269
 
1270
2008-01-05  Pedro Alves  
1271
 
1272
        * main.c (captured_main): Remove 'count' varible and the
1273
        ALIGN_STACK_ON_ENTRY block that used it.  Error out if --core and
1274
        --pid options were issued simultaneously.  If an explicit pid
1275
        option was passed, don't fallback to core file.  Detect extra
1276
        arguments better in the presence of explicit pid or core
1277
        arguments.
1278
 
1279
2008-01-05  Joel Brobecker  
1280
 
1281
        * ada-lang.c (ada_which_variant_applies): Correctly compute
1282
        the value of the discriminant when the variant record is packed.
1283
 
1284
2008-01-04  Joel Brobecker  
1285
 
1286
        * ada-lang.c (is_name_suffix): Handle middle-name numeric suffixes
1287
        that are used to differentiate homonyms.
1288
 
1289
2008-01-04  Jerome Guitton  
1290
 
1291
        * ada-lang.c (decode_packed_array_type): Avoid a seg fault
1292
        when the type is an anonymous pointer type.
1293
        (ada_check_typedef): Avoid a seg fault when the type is null.
1294
        * ada-typeprint.c (print_array_type): Add support for pointer
1295
        to packed arrays.
1296
 
1297
2008-01-04  Paul N. Hilfinger  
1298
 
1299
        * ada-exp.y: Allow '{type} ADDRESS' notation on left of assignment.
1300
 
1301
2008-01-04  Joel Brobecker  
1302
 
1303
        * ada-lang.c (ada_evaluate_subexp): Evaluate tagged types in
1304
        EVAL_NORMAL mode when noside is EVAL_AVOID_SIDE_EFFECTS.
1305
 
1306
2008-01-04  Joel Brobecker  
1307
 
1308
        * ada-exp.y (chop_separator): New function.
1309
        (write_selectors): Rewrite to re-use chop_separator.
1310
        (ada_nget_field_index, get_symbol_field_type): New functions.
1311
        (write_var_or_type): Add support for "ptype TYPENAME.FIELD"
1312
        expressions.
1313
 
1314
2008-01-03  Thiago Jung Bauermann  
1315
 
1316
        * symtab.c (find_pc_sect_line): Use SYMBOL_VALUE_ADDRESS instead
1317
        of SYMBOL_VALUE when working with function symbols.
1318
 
1319
2008-01-03  Joel Brobecker  
1320
 
1321
        * ada-lang.c (resolve_subexp): Add handling of OP_REGISTER
1322
        expressions.  These expressions do not need to be rewriten.
1323
 
1324
2008-01-03  Joel Brobecker  
1325
 
1326
        * dwarf2read.c (read_enumeration_type): Flag type as stub if
1327
        the given die is a declaration.
1328
 
1329
2008-01-03  Joel Brobecker  
1330
 
1331
        * ada-lang.c (ada_array_bound_from_type): Make non-static.
1332
        Handle properly the case when the index type is an enumerated type.
1333
        Do not return the subtype of the bounds type, just return the
1334
        bounds type directly - this is not needed and is more consistent
1335
        with what we do for arrays when no XA parallel type exists.
1336
 
1337
2008-01-03  Joel Brobecker  
1338
 
1339
        * ada-lang.c (static_unwrap_type): Add forward declaration.
1340
        (template_to_static_fixed_type): Fields of dynamic types sometimes
1341
        also need to be unwrapped. Take this into account.
1342
        (ada_to_fixed_type_1): Renamed from ada_to_fixed_type.
1343
        (ada_to_fixed_type): New wrapper around ada_to_fixed_type_1.
1344
        * ada-typeprint.c (ada_print_type): Get the typename from
1345
        the original type, not the base type.
1346
 
1347
2008-01-03  Jerome Guitton  
1348
 
1349
        * ada-lang.c (ada_value_struct_elt, to_fixed_array_type)
1350
        (to_fixed_array_type, ada_to_fixed_value_create, unwrap_value):
1351
        Update calls to ada_to_fixed_type.
1352
        (ada_template_to_fixed_record_type_1): Ditto, but without looking
1353
        for the tag.
1354
        (ada_to_fixed_type): Add check_tag parameter; do not look for
1355
        tag if null.  When looking for a tag, use a fixed record type.
1356
        * ada-lang.h (ada_to_fixed_type): Add check_tag parameter.
1357
        * ada-valprint.c (printable_val_type, ada_value_print): Update
1358
        calls to ada_to_fixed_type.
1359
 
1360
2008-01-03  Luis Machado  
1361
 
1362
        * doublest.c (convert_floatformat_to_doublest): Call
1363
        floatformat_to_doublest instead of floatformat_to_double and use
1364
        DOUBLEST variables.
1365
        (convert_doublest_to_floatformat): Call floatformat_from_doublest
1366
        instead of floatformat_from_double and use DOUBLEST variables.
1367
 
1368
2008-01-03  Nick Hudson  
1369
 
1370
        * MAINTAINERS (Write After Approval): Add self.
1371
 
1372
2008-01-03  Joel Brobecker  
1373
 
1374
        * symfile.c (set_initial_language): Make non-static.
1375
        * symfile.h (set_initial_language): Add declaration.
1376
        * language.c: #include "symfile.h".
1377
        (set_language): Call set_initial_language if the frame language
1378
        could not be determined.
1379
 
1380
2008-01-03  Paul N. Hilfinger  
1381
 
1382
        * eval.c (evaluate_subexp_for_address): Provide frame address to
1383
        locate_var_value only if it will be needed.
1384
 
1385
2008-01-02  Jan Kratochvil  
1386
 
1387
        * linux-nat.c (linux_child_follow_fork): Call also CHECK_FOR_THREAD_DB.
1388
 
1389
2008-01-02  Joel Brobecker  
1390
 
1391
        * ada-lang.c (ada_evaluate_subexp): Modify the value returned
1392
        when noside is EVAL_AVOID_SIDE_EFFECTS to be an lval_memory.
1393
        This is needed to make sure that any other treatment applied
1394
        to the resulting value does not fail for spurious reason,
1395
        such as trying to take the address of this value.
1396
 
1397
2008-01-02  Joel Brobecker  
1398
 
1399
        * ada-lang.c (ada_value_equal): Dereference reference types when
1400
        comparing arrays.
1401
 
1402
2008-01-01  Daniel Jacobowitz  
1403
 
1404
        Updated copyright notices for most files.
1405
 
1406
2008-01-01  Christopher Faylor  
1407
 
1408
        * win32-nat.c (psapi_module_handle): Remove static.
1409
        (get_module_name): Rename from psapi_get_dll_name.  Revamp slightly to
1410
        return first module found if base_address is zero.  Don't initialize
1411
        psapi function pointers here.  Convert to cygwin paths when
1412
        appropriate.
1413
        (win32_pid_to_exec_file): Use Cygwin's /proc interface to determine
1414
        executable name.  Use get_module_name when that fails or when
1415
        !__CYGWIN__.
1416
        (_initialize_psapi): New function.  Initialize psapi stuff before it is
1417
        needed or issue a warning if it is not found.  Move psapi_module_handle
1418
        here.
1419
 
1420
2008-01-01  Joel Brobecker  
1421
 
1422
        * ada-lang.c (ada_remove_trailing_digits): New function.
1423
        (ada_remove_po_subprogram_suffix): New function.
1424
        (ada_decode): Improve. Move the description of the algorithm
1425
        directly inside the code, instead of in the function global
1426
        description.
1427
 
1428
2008-01-01  Joel Brobecker  
1429
 
1430
        * ada-valprint.c (ada_val_print_1) [TYPE_CODE_REF]: Ignore deref_ref
1431
        and always print the dereferenced value.
1432
 
1433
2008-01-01  Joel Brobecker  
1434
 
1435
        * ada-lang.c (ada_evaluate_subexp, case BINOP_SUB): Add handling
1436
        of the case where the first argument is a reference.
1437
        (ada_evaluate_subexp, case BINOP_ADD): Likewise.
1438
 
1439
2008-01-01  Joel Brobecker  
1440
 
1441
        Implement support for Ada interface types.
1442
 
1443
        * ada-lang.c (ada_is_dispatch_table_ptr_type): New function.
1444
        (ada_is_ignored_field): Ignore fields that are a dispatch table
1445
        of a tagged type.
1446
 
1447
2008-01-01  Joel Brobecker  
1448
 
1449
        * top.c (print_gdb_version): Update copyright year.
1450
 
1451
2008-01-01  Joel Brobecker  
1452
 
1453
        * ChangeLog-2007: New ChangeLog rotation.
1454
        * ChangeLog: Reset for 2008.
1455
        * config/djgpp/fnchange.lst: Add entries for ChangeLog-2006 and
1456
        ChangeLog-2007.
1457
 
1458
For older changes see ChangeLog-2007.
1459
 
1460
Local Variables:
1461
mode: change-log
1462
left-margin: 8
1463
fill-column: 74
1464
version-control: never
1465
coding: utf-8
1466
End:

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.